F3 SLICE-5: live claude-code turn via applyAgentEdit seam + manual smoke (INV-8) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+17
-2
@@ -17,11 +17,26 @@ const options = {
|
||||
logLevel: "info",
|
||||
};
|
||||
|
||||
/** @type {import('esbuild').BuildOptions} */
|
||||
const liveTurnOptions = {
|
||||
entryPoints: ["src/liveTurn.ts"],
|
||||
outfile: "out/liveTurn.mjs",
|
||||
bundle: true,
|
||||
platform: "node",
|
||||
format: "esm",
|
||||
target: "node22",
|
||||
sourcemap: true,
|
||||
external: ["vscode", "@cline/sdk"],
|
||||
logLevel: "info",
|
||||
};
|
||||
|
||||
if (watch) {
|
||||
const ctx = await context(options);
|
||||
await ctx.watch();
|
||||
const ctxLive = await context(liveTurnOptions);
|
||||
await Promise.all([ctx.watch(), ctxLive.watch()]);
|
||||
console.log("esbuild: watching…");
|
||||
} else {
|
||||
await build(options);
|
||||
console.log("esbuild: build complete → out/extension.cjs");
|
||||
await build(liveTurnOptions);
|
||||
console.log("esbuild: build complete → out/extension.cjs + out/liveTurn.mjs");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user