🌊 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
[fix] Statusline script creation - add missing imports and escape bash variables
rUv876f2782e773
diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.jsindex a90012b74c..c9515979ca 100644--- a/src/cli/simple-commands/init/index.js+++ b/src/cli/simple-commands/init/index.js@@ -220,7 +220,7 @@ if [ -d "$FLOW_DIR" ]; thenelseMEM_COLOR="\\033[31m" # Redfi- echo -ne " ${MEM_COLOR}💾 ${MEM_PERCENT}%\\033[0m"+ echo -ne " \${MEM_COLOR}💾 \${MEM_PERCENT}%\\033[0m"fi# CPU load@@ -234,7 +234,7 @@ if [ -d "$FLOW_DIR" ]; thenelseCPU_COLOR="\\033[31m" # Redfi- echo -ne " ${CPU_COLOR}⚙ ${CPU_LOAD}%\\033[0m"+ echo -ne " \${CPU_COLOR}⚙ \${CPU_LOAD}%\\033[0m"fififi@@ -288,7 +288,7 @@ if [ -d "$FLOW_DIR" ]; thenelseSUCCESS_COLOR="\\033[31m" # Redfi- echo -ne " ${SUCCESS_COLOR}🎯 ${SUCCESS_RATE}%\\033[0m"+ echo -ne " \${SUCCESS_COLOR}🎯 \${SUCCESS_RATE}%\\033[0m"fi# Average Time@@ -1332,9 +1332,11 @@ async function enhancedClaudeFlowInit(flags, subArgs = []) {const args = subArgs || [];const options = flags || {};- // Import fs module for Node.js+ // Import fs, path, and os modules for Node.jsconst fs = await import('fs/promises');const { chmod } = fs;+ const path = await import('path');+ const os = await import('os');try {// Check existing files@@ -1418,6 +1420,7 @@ async function enhancedClaudeFlowInit(flags, subArgs = []) {// Not critical, just skipif (!dryRun) {console.log(' ⚠️ Could not create statusline script, skipping...');+ console.log(` ℹ️ Error: ${err.message}`);}}