Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

πŸ”– Checkpoint: Edit /workspaces/claude-code-flow/src/cli/commands/index.ts

rUv81fc0b55f1bb
diff --git a/src/cli/commands/index.ts b/src/cli/commands/index.ts
index 3be4794eca..91c024e028 100644
--- a/src/cli/commands/index.ts
+++ b/src/cli/commands/index.ts
@@ -84,7 +84,31 @@ export function setupCommands(cli: CLI): void {
const minimal = (ctx.flags.minimal as boolean) || (ctx.flags.m as boolean);
const flowNexus = ctx.flags['flow-nexus'] as boolean;
- // Check if files already exist
+ // Handle Flow Nexus minimal init
+ if (flowNexus) {
+ success('Initializing Flow Nexus minimal setup...');
+
+ // Create Flow Nexus CLAUDE.md with integrated section
+ const flowNexusClaudeMd = createFlowNexusClaudeMd();
+ const { writeFile, mkdir } = await import('fs/promises');
+ await writeFile('CLAUDE.md', flowNexusClaudeMd);
+ console.log(' βœ“ Created CLAUDE.md with Flow Nexus integration');
+
+ // Create .claude/commands/flow-nexus directory and copy commands
+ await mkdir('.claude/commands/flow-nexus', { recursive: true });
+
+ // Create .claude/agents/flow-nexus directory and copy agents
+ await mkdir('.claude/agents/flow-nexus', { recursive: true });
+
+ success('Flow Nexus initialization complete!');
+ console.log('πŸ“š Created: CLAUDE.md with Flow Nexus documentation');
+ console.log('πŸ“ Created: .claude/commands/flow-nexus/ directory structure');
+ console.log('πŸ€– Created: .claude/agents/flow-nexus/ directory structure');
+ console.log('πŸ’‘ Use MCP Flow Nexus tools in Claude Code for full functionality');
+ return;
+ }
+
+ // Check if files already exist for full init
const files = ['CLAUDE.md', 'memory-bank.md', 'coordination.md'];
const existingFiles = [];
diff --git a/test-final/.claude/checkpoints/1757191900.json b/test-final/.claude/checkpoints/1757191900.json
new file mode 100644
index 0000000000..5ad25db091
--- /dev/null
+++ b/test-final/.claude/checkpoints/1757191900.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250906-205140", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:51:40Z", "type": "pre-edit", "original_branch": "alpha101"}
diff --git a/test-final/.claude/checkpoints/1757191902.json b/test-final/.claude/checkpoints/1757191902.json
new file mode 100644
index 0000000000..9f5ab97101
--- /dev/null
+++ b/test-final/.claude/checkpoints/1757191902.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250906-205142", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:51:42Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/system-metrics.json | 740 +++++++++++++------------ claude-flow-wiki | 0 src/cli/commands/index.ts | 1 + test-final/.claude/checkpoints/1757191897.json | 1 + test-final/.claude/checkpoints/1757191899.json | 1 + 5 files changed, 403 insertions(+), 340 deletions(-) "}