Claude CLI v2.1.69 hangs silently when spawned via child_process.spawn() with piped stdio (known bug github.com/anthropics/claude-code/issues/6775). Replace raw CLI spawning in both sidecar runners with the SDK's query() function, which handles subprocess management internally. SDK message format matches CLI stream-json, so the sdk-messages.ts adapter is unchanged. - agent-runner.ts: use SDK query() with AbortController for stop - agent-runner-deno.ts: use npm:@anthropic-ai/claude-agent-sdk import - sidecar.rs: add --allow-write and --allow-net Deno permissions - package.json: add @anthropic-ai/claude-agent-sdk ^0.2.70, build:sidecar script |
||
|---|---|---|
| .. | ||
| agent-runner-deno.ts | ||
| agent-runner.ts | ||
| package-lock.json | ||
| package.json | ||