refactor(cli): isolate sandbox mutation support

This commit is contained in:
Marius
2026-06-23 20:58:07 +02:00
parent 10b06b96d7
commit 61c7f971b7
25 changed files with 225 additions and 212 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ console.log(`Loaded ${migrations.length} migrations`)
await Bun.build({
target: "node",
entrypoints: ["./src/node.ts", "../kilo-sandbox/src/mutation-worker.ts"], // kilocode_change
entrypoints: ["./src/node.ts", "../kilo-sandbox/src/kilo-sandbox-mutation-worker.ts"], // kilocode_change
outdir: "./dist/node",
format: "esm",
sourcemap: "linked",
@@ -53,7 +53,7 @@ await Bun.build({
define: {
KILO_MIGRATIONS: JSON.stringify(migrations),
KILO_MODELS_DEV: generated.modelsData,
KILO_SANDBOX_MUTATION_WORKER_PATH: `'./mutation-worker.js'`, // kilocode_change
KILO_SANDBOX_MUTATION_WORKER_PATH: `'./kilo-sandbox-mutation-worker.js'`, // kilocode_change
KILO_CHANNEL: `'${Script.channel}'`,
},
files: {