π 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
docs: Update branding from Claude Flow to Ruflo in init executor (#1305)
Sense_wang7bc901cf5e6b
diff --git a/v3/@claude-flow/cli/src/init/executor.ts b/v3/@claude-flow/cli/src/init/executor.tsindex 7bb0c56c41..3406a271f0 100644--- a/v3/@claude-flow/cli/src/init/executor.ts+++ b/v3/@claude-flow/cli/src/init/executor.ts@@ -488,7 +488,7 @@ export async function executeUpgrade(targetDir: string, upgradeSettings = false)ddd: { progress: 0, modules: 0, totalFiles: 0, totalLines: 0 },swarm: { activeAgents: 0, maxAgents: 15, topology: 'hierarchical-mesh' },learning: { status: 'READY', patternsLearned: 0, sessionsCompleted: 0 },- _note: 'Metrics will update as you use Claude Flow'+ _note: 'Metrics will update as you use Ruflo'};fs.writeFileSync(progressPath, JSON.stringify(progress, null, 2), 'utf-8');result.created.push('.claude-flow/metrics/v3-progress.json');@@ -520,7 +520,7 @@ export async function executeUpgrade(targetDir: string, upgradeSettings = false)routing: { accuracy: 0, decisions: 0 },patterns: { shortTerm: 0, longTerm: 0, quality: 0 },sessions: { total: 0, current: null },- _note: 'Intelligence grows as you use Claude Flow'+ _note: 'Intelligence grows as you use Ruflo'};fs.writeFileSync(learningPath, JSON.stringify(learning, null, 2), 'utf-8');result.created.push('.claude-flow/metrics/learning.json');@@ -1272,7 +1272,7 @@ async function writeInitialMetrics(patternsLearned: 0,sessionsCompleted: 0},- _note: 'Metrics will update as you use Claude Flow. Run: npx @claude-flow/cli@latest daemon start'+ _note: 'Metrics will update as you use Ruflo. Run: npx ruflo@latest daemon start'};fs.writeFileSync(progressPath, JSON.stringify(progress, null, 2), 'utf-8');result.created.files.push('.claude-flow/metrics/v3-progress.json');@@ -1321,7 +1321,7 @@ async function writeInitialMetrics(total: 0,current: null},- _note: 'Intelligence grows as you use Claude Flow'+ _note: 'Intelligence grows as you use Ruflo'};fs.writeFileSync(learningPath, JSON.stringify(learning, null, 2), 'utf-8');result.created.files.push('.claude-flow/metrics/learning.json');@@ -1344,7 +1344,7 @@ async function writeInitialMetrics(}/**- * Write CAPABILITIES.md - comprehensive overview of all Claude Flow features+ * Write CAPABILITIES.md - comprehensive overview of all Ruflo features*/async function writeCapabilitiesDoc(targetDir: string,@@ -1709,8 +1709,8 @@ npx @claude-flow/cli@latest hive-mind consensus --propose "task"### MCP Server Setup\`\`\`bash-# Add Claude Flow MCP-claude mcp add claude-flow -- npx -y @claude-flow/cli@latest+# Add Ruflo MCP+claude mcp add ruflo -- npx -y ruflo@latest# Optional serversclaude mcp add ruv-swarm -- npx -y ruv-swarm mcp start@@ -1724,24 +1724,24 @@ claude mcp add flow-nexus -- npx -y flow-nexus@latest mcp start### Essential Commands\`\`\`bash# Setup-npx @claude-flow/cli@latest init --wizard-npx @claude-flow/cli@latest daemon start-npx @claude-flow/cli@latest doctor --fix+npx ruflo@latest init --wizard+npx ruflo@latest daemon start+npx ruflo@latest doctor --fix# Swarm-npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8-npx @claude-flow/cli@latest swarm status+npx ruflo@latest swarm init --topology hierarchical --max-agents 8+npx ruflo@latest swarm status# Agents-npx @claude-flow/cli@latest agent spawn -t coder-npx @claude-flow/cli@latest agent list+npx ruflo@latest agent spawn -t coder+npx ruflo@latest agent list# Memory-npx @claude-flow/cli@latest memory search --query "patterns"+npx ruflo@latest memory search --query "patterns"# Hooks-npx @claude-flow/cli@latest hooks pre-task --description "task"-npx @claude-flow/cli@latest hooks worker dispatch --trigger optimize+npx ruflo@latest hooks pre-task --description "task"+npx ruflo@latest hooks worker dispatch --trigger optimize\`\`\`### File Structurediff --git a/v3/@claude-flow/cli/src/init/helpers-generator.ts b/v3/@claude-flow/cli/src/init/helpers-generator.tsindex 8df07b29c9..4737bd3ebe 100644--- a/v3/@claude-flow/cli/src/init/helpers-generator.ts+++ b/v3/@claude-flow/cli/src/init/helpers-generator.ts@@ -11,12 +11,12 @@ import { generateStatuslineScript, generateStatuslineHook } from './statusline-g*/export function generatePreCommitHook(): string {return `#!/bin/bash-# Claude Flow Pre-Commit Hook+# Ruflo Pre-Commit Hook# Validates code quality before commitset -e-echo "π Running Claude Flow pre-commit checks..."+echo "π Running Ruflo pre-commit checks..."# Get staged filesSTAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM)@@ -44,7 +44,7 @@ echo "β Pre-commit checks complete"*/export function generatePostCommitHook(): string {return `#!/bin/bash-# Claude Flow Post-Commit Hook+# Ruflo Post-Commit Hook# Records commit metrics and trains patternsCOMMIT_HASH=$(git rev-parse HEAD)@@ -52,8 +52,8 @@ COMMIT_MSG=$(git log -1 --pretty=%B)echo "π Recording commit metrics..."-# Notify claude-flow of commit-npx @claude-flow/cli hooks notify \\+# Notify ruflo of commit+npx ruflo@latest hooks notify \\--message "Commit: $COMMIT_MSG" \\--level info \\--metadata '{"hash": "'$COMMIT_HASH'"}' 2>/dev/null || true@@ -68,7 +68,7 @@ echo "β Commit recorded"export function generateSessionManager(): string {return `#!/usr/bin/env node/**- * Claude Flow Session Manager+ * Ruflo Session Manager* Handles session lifecycle: start, restore, end*/@@ -202,7 +202,7 @@ module.exports = commands;export function generateAgentRouter(): string {return `#!/usr/bin/env node/**- * Claude Flow Agent Router+ * Ruflo Agent Router* Routes tasks to optimal agents based on learned patterns*/@@ -275,7 +275,7 @@ module.exports = { routeTask, AGENT_CAPABILITIES, TASK_PATTERNS };export function generateMemoryHelper(): string {return `#!/usr/bin/env node/**- * Claude Flow Memory Helper+ * Ruflo Memory Helper* Simple key-value memory for cross-session context*/@@ -369,7 +369,7 @@ export function generateHookHandler(): string {const lines = ['#!/usr/bin/env node','/**',- ' * Claude Flow Hook Handler (Cross-Platform)',+ ' * Ruflo Hook Handler (Cross-Platform)',' * Dispatches hook events to the appropriate helper modules.',' */','',@@ -1039,7 +1039,7 @@ PowerShell -ExecutionPolicy Bypass -File "%~dp0daemon-manager.ps1" %*export function generateCrossPlatformSessionManager(): string {return `#!/usr/bin/env node/**- * Claude Flow Cross-Platform Session Manager+ * Ruflo Cross-Platform Session Manager* Works on Windows, macOS, and Linux*/