moflo 4.10.23 → 4.10.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/src/cli/commands/agent.js +14 -14
  2. package/dist/src/cli/commands/analyze.js +52 -52
  3. package/dist/src/cli/commands/benchmark.js +14 -14
  4. package/dist/src/cli/commands/claims.js +15 -15
  5. package/dist/src/cli/commands/completions.js +40 -40
  6. package/dist/src/cli/commands/config.js +8 -8
  7. package/dist/src/cli/commands/daemon.js +24 -24
  8. package/dist/src/cli/commands/deployment.js +15 -15
  9. package/dist/src/cli/commands/doctor-checks-config.js +6 -6
  10. package/dist/src/cli/commands/doctor.js +10 -10
  11. package/dist/src/cli/commands/embeddings.js +49 -49
  12. package/dist/src/cli/commands/guidance.js +22 -22
  13. package/dist/src/cli/commands/hive-mind.js +21 -21
  14. package/dist/src/cli/commands/hooks.js +95 -95
  15. package/dist/src/cli/commands/init.js +17 -17
  16. package/dist/src/cli/commands/issues.js +6 -6
  17. package/dist/src/cli/commands/mcp.js +10 -10
  18. package/dist/src/cli/commands/memory.js +56 -47
  19. package/dist/src/cli/commands/migrate.js +5 -5
  20. package/dist/src/cli/commands/neural.js +31 -31
  21. package/dist/src/cli/commands/performance.js +13 -13
  22. package/dist/src/cli/commands/plugins.js +26 -26
  23. package/dist/src/cli/commands/process.js +32 -32
  24. package/dist/src/cli/commands/progress.js +5 -5
  25. package/dist/src/cli/commands/providers.js +13 -13
  26. package/dist/src/cli/commands/route.js +26 -26
  27. package/dist/src/cli/commands/security.js +19 -19
  28. package/dist/src/cli/commands/session.js +13 -13
  29. package/dist/src/cli/commands/start.js +11 -11
  30. package/dist/src/cli/commands/status.js +8 -8
  31. package/dist/src/cli/commands/swarm.js +7 -7
  32. package/dist/src/cli/commands/task.js +9 -9
  33. package/dist/src/cli/commands/transfer-store.js +16 -16
  34. package/dist/src/cli/commands/update.js +2 -2
  35. package/dist/src/cli/hooks/statusline/index.js +3 -3
  36. package/dist/src/cli/init/executor.js +6 -6
  37. package/dist/src/cli/init/helpers-generator.js +4 -4
  38. package/dist/src/cli/mcp-tools/hooks-tools.js +1 -1
  39. package/dist/src/cli/memory/auto-memory-bridge.js +1 -1
  40. package/dist/src/cli/memory/memory-initializer.js +1 -1
  41. package/dist/src/cli/plugins/tests/demo-plugin-store.js +6 -6
  42. package/dist/src/cli/version.js +1 -1
  43. package/package.json +2 -2
@@ -15,9 +15,9 @@ const compileCommand = {
15
15
  { name: 'json', type: 'boolean', description: 'Output as JSON', default: 'false' },
16
16
  ],
17
17
  examples: [
18
- { command: 'claude-flow guidance compile', description: 'Compile default CLAUDE.md' },
19
- { command: 'claude-flow guidance compile -r ./CLAUDE.md -l ./CLAUDE.local.md', description: 'Compile with local overlay' },
20
- { command: 'claude-flow guidance compile --json', description: 'Output compiled bundle as JSON' },
18
+ { command: 'flo guidance compile', description: 'Compile default CLAUDE.md' },
19
+ { command: 'flo guidance compile -r ./CLAUDE.md -l ./CLAUDE.local.md', description: 'Compile with local overlay' },
20
+ { command: 'flo guidance compile --json', description: 'Output compiled bundle as JSON' },
21
21
  ],
22
22
  action: async (ctx) => {
23
23
  const rootPath = ctx.flags.root || './CLAUDE.md';
@@ -89,8 +89,8 @@ const retrieveCommand = {
89
89
  { name: 'json', type: 'boolean', description: 'Output as JSON', default: 'false' },
90
90
  ],
91
91
  examples: [
92
- { command: 'claude-flow guidance retrieve -t "Fix SQL injection in user search"', description: 'Retrieve guidance for a security task' },
93
- { command: 'claude-flow guidance retrieve -t "Add unit tests" -n 3', description: 'Retrieve top 3 shards for testing' },
92
+ { command: 'flo guidance retrieve -t "Fix SQL injection in user search"', description: 'Retrieve guidance for a security task' },
93
+ { command: 'flo guidance retrieve -t "Add unit tests" -n 3', description: 'Retrieve top 3 shards for testing' },
94
94
  ],
95
95
  action: async (ctx) => {
96
96
  const task = ctx.flags.task;
@@ -175,8 +175,8 @@ const gatesCommand = {
175
175
  { name: 'json', type: 'boolean', description: 'Output as JSON', default: 'false' },
176
176
  ],
177
177
  examples: [
178
- { command: 'claude-flow guidance gates -c "rm -rf /tmp"', description: 'Check if a command is destructive' },
179
- { command: 'claude-flow guidance gates --content "api_key=sk-abc123..."', description: 'Check content for secrets' },
178
+ { command: 'flo guidance gates -c "rm -rf /tmp"', description: 'Check if a command is destructive' },
179
+ { command: 'flo guidance gates --content "api_key=sk-abc123..."', description: 'Check content for secrets' },
180
180
  ],
181
181
  action: async (ctx) => {
182
182
  const command = ctx.flags.command;
@@ -316,10 +316,10 @@ const optimizeCommand = {
316
316
  { name: 'json', type: 'boolean', description: 'Output as JSON', default: 'false' },
317
317
  ],
318
318
  examples: [
319
- { command: 'claude-flow guidance optimize', description: 'Analyze current CLAUDE.md and show suggestions' },
320
- { command: 'claude-flow guidance optimize --apply', description: 'Apply optimizations to CLAUDE.md' },
321
- { command: 'claude-flow guidance optimize -s compact --apply', description: 'Optimize for compact context window' },
322
- { command: 'claude-flow guidance optimize --target-score 95', description: 'Optimize until score reaches 95' },
319
+ { command: 'flo guidance optimize', description: 'Analyze current CLAUDE.md and show suggestions' },
320
+ { command: 'flo guidance optimize --apply', description: 'Apply optimizations to CLAUDE.md' },
321
+ { command: 'flo guidance optimize -s compact --apply', description: 'Optimize for compact context window' },
322
+ { command: 'flo guidance optimize --target-score 95', description: 'Optimize until score reaches 95' },
323
323
  ],
324
324
  action: async (ctx) => {
325
325
  const rootPath = ctx.flags.root || './CLAUDE.md';
@@ -419,10 +419,10 @@ const abTestCommand = {
419
419
  { name: 'json', type: 'boolean', description: 'Output as JSON', default: 'false' },
420
420
  ],
421
421
  examples: [
422
- { command: 'claude-flow guidance ab-test', description: 'Run default A/B test (no guidance vs ./CLAUDE.md)' },
423
- { command: 'claude-flow guidance ab-test -a old.md -b new.md', description: 'Compare two CLAUDE.md versions' },
424
- { command: 'claude-flow guidance ab-test --tasks custom-tasks.json', description: 'Run with custom test tasks' },
425
- { command: 'claude-flow guidance ab-test --json', description: 'Output full report as JSON' },
422
+ { command: 'flo guidance ab-test', description: 'Run default A/B test (no guidance vs ./CLAUDE.md)' },
423
+ { command: 'flo guidance ab-test -a old.md -b new.md', description: 'Compare two CLAUDE.md versions' },
424
+ { command: 'flo guidance ab-test --tasks custom-tasks.json', description: 'Run with custom test tasks' },
425
+ { command: 'flo guidance ab-test --json', description: 'Output full report as JSON' },
426
426
  ],
427
427
  action: async (ctx) => {
428
428
  const configAPath = ctx.flags.configA;
@@ -534,12 +534,12 @@ export const guidanceCommand = {
534
534
  ],
535
535
  options: [],
536
536
  examples: [
537
- { command: 'claude-flow guidance compile', description: 'Compile CLAUDE.md into policy bundle' },
538
- { command: 'claude-flow guidance retrieve -t "Fix auth bug"', description: 'Retrieve relevant guidance' },
539
- { command: 'claude-flow guidance gates -c "rm -rf /"', description: 'Check enforcement gates' },
540
- { command: 'claude-flow guidance status', description: 'Show control plane status' },
541
- { command: 'claude-flow guidance optimize', description: 'Analyze and optimize CLAUDE.md' },
542
- { command: 'claude-flow guidance ab-test', description: 'Run A/B behavioral comparison' },
537
+ { command: 'flo guidance compile', description: 'Compile CLAUDE.md into policy bundle' },
538
+ { command: 'flo guidance retrieve -t "Fix auth bug"', description: 'Retrieve relevant guidance' },
539
+ { command: 'flo guidance gates -c "rm -rf /"', description: 'Check enforcement gates' },
540
+ { command: 'flo guidance status', description: 'Show control plane status' },
541
+ { command: 'flo guidance optimize', description: 'Analyze and optimize CLAUDE.md' },
542
+ { command: 'flo guidance ab-test', description: 'Run A/B behavioral comparison' },
543
543
  ],
544
544
  action: async (ctx) => {
545
545
  output.writeln();
@@ -554,7 +554,7 @@ export const guidanceCommand = {
554
554
  output.writeln(` ${output.bold('optimize')} Analyze and optimize CLAUDE.md`);
555
555
  output.writeln(` ${output.bold('ab-test')} Run A/B behavioral comparison`);
556
556
  output.writeln();
557
- output.writeln(output.dim('Use claude-flow guidance <subcommand> --help for details'));
557
+ output.writeln(output.dim('Use flo guidance <subcommand> --help for details'));
558
558
  return { success: true };
559
559
  },
560
560
  };
@@ -182,7 +182,7 @@ async function spawnClaudeCodeInstance(swarmId, swarmName, objective, workers, f
182
182
  `Worker Count: ${output.highlight(String(workers.length))}`,
183
183
  `Worker Types: ${output.highlight(Object.keys(workerGroups).join(', '))}`,
184
184
  `Consensus: ${output.highlight(flags.consensus || 'byzantine')}`,
185
- `MCP Tools: ${output.success('Full Claude-Flow integration enabled')}`
185
+ `MCP Tools: ${output.success('Full moflo integration enabled')}`
186
186
  ]);
187
187
  // Ensure sessions directory exists
188
188
  const sessionsDir = join('.hive-mind', 'sessions');
@@ -361,8 +361,8 @@ const initCommand = {
361
361
  }
362
362
  ],
363
363
  examples: [
364
- { command: 'claude-flow hive-mind init -t hierarchical-mesh', description: 'Init hierarchical mesh' },
365
- { command: 'claude-flow hive-mind init -c byzantine -m 20', description: 'Init with Byzantine consensus' }
364
+ { command: 'flo hive-mind init -t hierarchical-mesh', description: 'Init hierarchical mesh' },
365
+ { command: 'flo hive-mind init -c byzantine -m 20', description: 'Init with Byzantine consensus' }
366
366
  ],
367
367
  action: async (ctx) => {
368
368
  let topology = ctx.flags.topology;
@@ -411,8 +411,8 @@ const initCommand = {
411
411
  ].join('\n'), 'Hive Mind Configuration');
412
412
  output.writeln();
413
413
  output.printInfo('Queen agent is ready to coordinate worker agents');
414
- output.writeln(output.dim(' Use "claude-flow hive-mind spawn" to add workers'));
415
- output.writeln(output.dim(' Use "claude-flow hive-mind spawn --claude" to launch Claude Code'));
414
+ output.writeln(output.dim(' Use "flo hive-mind spawn" to add workers'));
415
+ output.writeln(output.dim(' Use "flo hive-mind spawn --claude" to launch Claude Code'));
416
416
  return { success: true, data: result };
417
417
  }
418
418
  catch (error) {
@@ -500,11 +500,11 @@ const spawnCommand = {
500
500
  }
501
501
  ],
502
502
  examples: [
503
- { command: 'claude-flow hive-mind spawn -n 5', description: 'Spawn 5 workers' },
504
- { command: 'claude-flow hive-mind spawn -n 3 -r specialist', description: 'Spawn 3 specialists' },
505
- { command: 'claude-flow hive-mind spawn -t coder -p my-coder', description: 'Spawn coder with custom prefix' },
506
- { command: 'claude-flow hive-mind spawn --claude -o "Build a REST API"', description: 'Launch Claude Code with objective' },
507
- { command: 'claude-flow hive-mind spawn -n 5 --claude -o "Research AI patterns"', description: 'Spawn workers and launch Claude Code' }
503
+ { command: 'flo hive-mind spawn -n 5', description: 'Spawn 5 workers' },
504
+ { command: 'flo hive-mind spawn -n 3 -r specialist', description: 'Spawn 3 specialists' },
505
+ { command: 'flo hive-mind spawn -t coder -p my-coder', description: 'Spawn coder with custom prefix' },
506
+ { command: 'flo hive-mind spawn --claude -o "Build a REST API"', description: 'Launch Claude Code with objective' },
507
+ { command: 'flo hive-mind spawn -n 5 --claude -o "Research AI patterns"', description: 'Spawn workers and launch Claude Code' }
508
508
  ],
509
509
  action: async (ctx) => {
510
510
  // Parse count with fallback to default
@@ -673,7 +673,7 @@ const statusCommand = {
673
673
  output.writeln();
674
674
  output.writeln(output.bold('Worker Agents'));
675
675
  if (workerData.length === 0) {
676
- output.printInfo('No workers in hive. Use "claude-flow hive-mind spawn" to add workers.');
676
+ output.printInfo('No workers in hive. Use "flo hive-mind spawn" to add workers.');
677
677
  }
678
678
  else {
679
679
  output.printTable({
@@ -763,8 +763,8 @@ const taskCommand = {
763
763
  }
764
764
  ],
765
765
  examples: [
766
- { command: 'claude-flow hive-mind task -d "Implement auth module"', description: 'Submit task' },
767
- { command: 'claude-flow hive-mind task -d "Security review" -p critical -c', description: 'Critical task with consensus' }
766
+ { command: 'flo hive-mind task -d "Implement auth module"', description: 'Submit task' },
767
+ { command: 'flo hive-mind task -d "Security review" -p critical -c', description: 'Critical task with consensus' }
768
768
  ],
769
769
  action: async (ctx) => {
770
770
  let description = ctx.flags.description || ctx.args.join(' ');
@@ -804,7 +804,7 @@ const taskCommand = {
804
804
  ].join('\n'), 'Task Submitted');
805
805
  output.writeln();
806
806
  output.printSuccess('Task submitted to hive');
807
- output.writeln(output.dim(` Track with: claude-flow hive-mind task-status ${result.taskId}`));
807
+ output.writeln(output.dim(` Track with: flo hive-mind task-status ${result.taskId}`));
808
808
  return { success: true, data: result };
809
809
  }
810
810
  catch (error) {
@@ -1135,16 +1135,16 @@ export const hiveMindCommand = {
1135
1135
  subcommands: [initCommand, spawnCommand, statusCommand, taskCommand, joinCommand, leaveCommand, consensusCommand, broadcastCommand, memorySubCommand, optimizeMemoryCommand, shutdownCommand],
1136
1136
  options: [],
1137
1137
  examples: [
1138
- { command: 'claude-flow hive-mind init -t hierarchical-mesh', description: 'Initialize hive' },
1139
- { command: 'claude-flow hive-mind spawn -n 5', description: 'Spawn workers' },
1140
- { command: 'claude-flow hive-mind spawn --claude -o "Build a feature"', description: 'Launch Claude Code with hive mind' },
1141
- { command: 'claude-flow hive-mind task -d "Build feature"', description: 'Submit task' }
1138
+ { command: 'flo hive-mind init -t hierarchical-mesh', description: 'Initialize hive' },
1139
+ { command: 'flo hive-mind spawn -n 5', description: 'Spawn workers' },
1140
+ { command: 'flo hive-mind spawn --claude -o "Build a feature"', description: 'Launch Claude Code with hive mind' },
1141
+ { command: 'flo hive-mind task -d "Build feature"', description: 'Submit task' }
1142
1142
  ],
1143
1143
  action: async () => {
1144
1144
  output.writeln();
1145
1145
  output.writeln(output.bold('Hive Mind - Consensus-Based Multi-Agent Coordination'));
1146
1146
  output.writeln();
1147
- output.writeln('Usage: claude-flow hive-mind <subcommand> [options]');
1147
+ output.writeln('Usage: flo hive-mind <subcommand> [options]');
1148
1148
  output.writeln();
1149
1149
  output.writeln('Subcommands:');
1150
1150
  output.printList([
@@ -1172,8 +1172,8 @@ export const hiveMindCommand = {
1172
1172
  ]);
1173
1173
  output.writeln();
1174
1174
  output.writeln('Quick Start with Claude Code:');
1175
- output.writeln(output.dim(' claude-flow hive-mind init'));
1176
- output.writeln(output.dim(' claude-flow hive-mind spawn -n 5 --claude -o "Your objective here"'));
1175
+ output.writeln(output.dim(' flo hive-mind init'));
1176
+ output.writeln(output.dim(' flo hive-mind spawn -n 5 --claude -o "Your objective here"'));
1177
1177
  return { success: true };
1178
1178
  }
1179
1179
  };