refactor: kilo compat for v1.4.7

This commit is contained in:
Imanol Maiztegui
2026-04-20 13:49:07 +02:00
parent 9f201d6370
commit bf6f499b24
369 changed files with 1444 additions and 1381 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import path from "path"
import { pathToFileURL } from "bun"
import { createOpencode } from "@opencode-ai/sdk"
import { createKilo } from "@kilocode/sdk"
import { parseArgs } from "util"
async function main() {
@@ -35,7 +35,7 @@ Examples:
process.exit(1)
}
const opencode = await createOpencode({ port: 0 })
const opencode = await createKilo({ port: 0 })
try {
const parts: Array<{ type: "text"; text: string } | { type: "file"; url: string; filename: string; mime: string }> =