🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/stream-chain.js
rUvbe26273257fe
diff --git a/.claude/checkpoints/1755025147.json b/.claude/checkpoints/1755025147.jsonnew file mode 100644index 0000000000..b649b8c156--- /dev/null+++ b/.claude/checkpoints/1755025147.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250812-185907", "file": "/workspaces/claude-code-flow/RELEASE_NOTES_20250812-185657.md", "timestamp": "2025-08-12T18:59:07Z", "type": "pre-edit", "original_branch": "alpha-89"}diff --git a/src/cli/simple-commands/stream-chain.js b/src/cli/simple-commands/stream-chain.jsindex d123835ef2..39e301f260 100644--- a/src/cli/simple-commands/stream-chain.js+++ b/src/cli/simple-commands/stream-chain.js@@ -42,7 +42,10 @@ async function executeClaudeCommand(prompt, timeout = 20000, useStreamJson = falargs.push('--output-format', 'stream-json', '--verbose');}- args.push(prompt);+ // Properly quote the prompt to handle spaces and special characters+ const quotedPrompt = `"${prompt.replace(/"/g, '\\"')}"`;+ args.push(quotedPrompt);+const command = `claude ${args.join(' ')}`;console.log(`🔄 Executing: ${command}`);@@ -51,7 +54,8 @@ async function executeClaudeCommand(prompt, timeout = 20000, useStreamJson = falexec(command, {timeout,- maxBuffer: 1024 * 1024 * 10 // 10MB buffer+ maxBuffer: 1024 * 1024 * 10, // 10MB buffer+ env: process.env // Pass through environment variables}, (error, stdout, stderr) => {const duration = Date.now() - startTime;@@ -63,6 +67,9 @@ async function executeClaudeCommand(prompt, timeout = 20000, useStreamJson = falif (error) {console.error('Claude CLI error:', error.message);+ if (stderr) {+ console.error('stderr:', stderr);+ }resolve(mockResponse(prompt));return;}