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: File edits

rUv633019646483
diff --git a/v3/@claude-flow/cli/README.md b/v3/@claude-flow/cli/README.md
index 3f9a8755cd..e686b34d91 100644
--- a/v3/@claude-flow/cli/README.md
+++ b/v3/@claude-flow/cli/README.md
@@ -566,6 +566,30 @@ wait # Wait for all to complete
| Context Preservation | Shared memory across platforms |
| Best of Both | Interactive + batch processing |
+### Dual-Mode CLI Commands (NEW)
+
+```bash
+# List collaboration templates
+npx claude-flow-codex dual templates
+
+# Run feature development swarm (architect β†’ coder β†’ tester β†’ reviewer)
+npx claude-flow-codex dual run --template feature --task "Add user auth"
+
+# Run security audit swarm (scanner β†’ analyzer β†’ fixer)
+npx claude-flow-codex dual run --template security --task "src/auth/"
+
+# Run refactoring swarm (analyzer β†’ planner β†’ refactorer β†’ validator)
+npx claude-flow-codex dual run --template refactor --task "src/legacy/"
+```
+
+### Pre-Built Collaboration Templates
+
+| Template | Pipeline | Platforms |
+|----------|----------|-----------|
+| **feature** | architect β†’ coder β†’ tester β†’ reviewer | Claude + Codex |
+| **security** | scanner β†’ analyzer β†’ fixer | Codex + Claude |
+| **refactor** | analyzer β†’ planner β†’ refactorer β†’ validator | Claude + Codex |
+
### MCP Integration for Codex
When you run `init --codex`, the MCP server is automatically registered:
diff --git a/v3/@claude-flow/shared/package.json b/v3/@claude-flow/shared/package.json
index 8acbf03411..53bffb280e 100644
--- a/v3/@claude-flow/shared/package.json
+++ b/v3/@claude-flow/shared/package.json
@@ -23,9 +23,14 @@
"sql.js": "^1.10.3"
},
"devDependencies": {
+ "@types/cors": "^2.8.17",
+ "@types/express": "^4.17.21",
+ "@types/helmet": "^4.0.0",
"@types/node": "^20.0.0",
"@types/sql.js": "^1.4.9",
- "vitest": "^4.0.16"
+ "@types/ws": "^8.5.10",
+ "vitest": "^4.0.16",
+ "zod": "^3.22.4"
},
"publishConfig": {
"access": "public",