## Problem When `projectApiServer.ts` `handleChatStream()` spawns `fusion-code -p "..." --output-format stream-json`, the CLI immediately exits with error: ``` Error: When using --print, --output-format=stream-json requires --verbose ``` This causes the WebSocket `/ws/chat` endpoint to return `chat_done` immediately with zero `chat_event` tokens. ## Location `src/server/projectApiServer.ts` line 236: ```ts const args = ["-p", message, "--output-format", "stream-json", "--cwd", cwd]; ``` ## Fix Add `--verbose` to the spawn args: ```ts const args = ["-p", message, "--output-format", "stream-json", "--verbose", "--cwd", cwd]; ``` ## Environment - fusion-code v0.4.1 - macOS 15.5, Apple Silicon - MLX running on localhost:11434 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Activity
fix: WS chat binary resolution + Buffer handling + error detail (#19)
fix: add --verbose flag to stream-json subprocess in WS chat handler
refactor(repl): extract setInputValue routing (audit §1.1.1 slice #17) (
refactor(repl): extract setResponseLength pure helper (audit §1.1.1 s…