@sparkleideas/cli 3.1.0-alpha.20 → 3.1.0-alpha.22
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.
- package/dist/src/appliance/rvfa-builder.js +4 -4
- package/dist/src/appliance/rvfa-format.d.ts +1 -1
- package/dist/src/appliance/rvfa-format.js +1 -1
- package/dist/src/appliance/rvfa-runner.js +8 -8
- package/dist/src/commands/agent.js +15 -15
- package/dist/src/commands/analyze.js +52 -52
- package/dist/src/commands/appliance-advanced.js +1 -1
- package/dist/src/commands/appliance.js +16 -16
- package/dist/src/commands/benchmark.js +16 -16
- package/dist/src/commands/categories.js +1 -1
- package/dist/src/commands/claims.js +17 -17
- package/dist/src/commands/completions.js +37 -37
- package/dist/src/commands/config.js +10 -10
- package/dist/src/commands/daemon.js +26 -26
- package/dist/src/commands/deployment.js +20 -20
- package/dist/src/commands/doctor.js +30 -30
- package/dist/src/commands/embeddings.js +51 -51
- package/dist/src/commands/guidance.js +23 -23
- package/dist/src/commands/hive-mind.js +21 -21
- package/dist/src/commands/hooks.js +114 -114
- package/dist/src/commands/init.js +41 -41
- package/dist/src/commands/issues.js +6 -6
- package/dist/src/commands/mcp.js +13 -13
- package/dist/src/commands/memory.js +35 -35
- package/dist/src/commands/migrate.js +13 -13
- package/dist/src/commands/neural.js +34 -34
- package/dist/src/commands/performance.js +13 -13
- package/dist/src/commands/plugins.js +26 -26
- package/dist/src/commands/process.js +36 -36
- package/dist/src/commands/progress.js +6 -6
- package/dist/src/commands/providers.js +13 -13
- package/dist/src/commands/route.js +26 -26
- package/dist/src/commands/ruvector/backup.js +9 -9
- package/dist/src/commands/ruvector/benchmark.js +4 -4
- package/dist/src/commands/ruvector/import.d.ts +3 -3
- package/dist/src/commands/ruvector/import.js +11 -11
- package/dist/src/commands/ruvector/index.js +9 -9
- package/dist/src/commands/ruvector/init.js +7 -7
- package/dist/src/commands/ruvector/migrate.js +5 -5
- package/dist/src/commands/ruvector/optimize.js +7 -7
- package/dist/src/commands/ruvector/setup.d.ts +3 -3
- package/dist/src/commands/ruvector/setup.js +9 -9
- package/dist/src/commands/ruvector/status.js +4 -4
- package/dist/src/commands/security.js +19 -19
- package/dist/src/commands/session.js +13 -13
- package/dist/src/commands/start.js +17 -17
- package/dist/src/commands/status.js +10 -10
- package/dist/src/commands/swarm.js +7 -7
- package/dist/src/commands/task.js +9 -9
- package/dist/src/commands/transfer-store.js +16 -16
- package/dist/src/commands/update.js +2 -2
- package/dist/src/commands/workflow.js +13 -13
- package/dist/src/config-adapter.js +5 -5
- package/dist/src/index.js +1 -1
- package/dist/src/init/claudemd-generator.js +1 -1
- package/dist/src/init/executor.js +47 -47
- package/dist/src/init/helpers-generator.js +14 -14
- package/dist/src/init/mcp-generator.js +6 -6
- package/dist/src/init/settings-generator.js +4 -4
- package/dist/src/init/statusline-generator.js +27 -27
- package/dist/src/init/types.d.ts +6 -6
- package/dist/src/init/types.js +3 -3
- package/dist/src/mcp-server.js +2 -2
- package/dist/src/mcp-tools/agent-tools.js +1 -1
- package/dist/src/mcp-tools/auto-install.js +5 -5
- package/dist/src/mcp-tools/claims-tools.js +1 -1
- package/dist/src/mcp-tools/config-tools.js +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +1 -1
- package/dist/src/mcp-tools/daa-tools.js +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +1 -1
- package/dist/src/mcp-tools/github-tools.js +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +3 -3
- package/dist/src/mcp-tools/hooks-tools.js +2 -2
- package/dist/src/mcp-tools/memory-tools.js +1 -1
- package/dist/src/mcp-tools/neural-tools.js +7 -7
- package/dist/src/mcp-tools/performance-tools.js +1 -1
- package/dist/src/mcp-tools/progress-tools.js +1 -1
- package/dist/src/mcp-tools/security-tools.js +2 -2
- package/dist/src/mcp-tools/session-tools.js +1 -1
- package/dist/src/mcp-tools/system-tools.js +2 -2
- package/dist/src/mcp-tools/task-tools.js +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +1 -1
- package/dist/src/mcp-tools/workflow-tools.js +1 -1
- package/dist/src/memory/intelligence.js +5 -5
- package/dist/src/memory/memory-bridge.d.ts +4 -4
- package/dist/src/memory/memory-bridge.js +17 -17
- package/dist/src/memory/memory-initializer.js +11 -11
- package/dist/src/plugins/manager.js +10 -10
- package/dist/src/plugins/store/discovery.js +1 -1
- package/dist/src/plugins/tests/demo-plugin-store.js +6 -6
- package/dist/src/ruvector/enhanced-model-router.js +3 -3
- package/dist/src/services/agentic-flow-bridge.d.ts +11 -11
- package/dist/src/services/agentic-flow-bridge.js +11 -11
- package/dist/src/services/claim-service.js +1 -1
- package/dist/src/services/container-worker-pool.js +4 -4
- package/dist/src/services/headless-worker-executor.js +2 -2
- package/dist/src/services/worker-daemon.js +14 -14
- package/dist/src/services/worker-queue.js +1 -1
- package/dist/src/suggest.js +1 -1
- package/dist/src/transfer/models/seraphine.js +1 -1
- package/dist/src/transfer/serialization/cfp.js +1 -1
- package/dist/src/transfer/store/discovery.js +1 -1
- package/dist/src/transfer/store/registry.js +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/update/executor.js +1 -1
- package/dist/src/update/rate-limiter.js +1 -1
- package/dist/src/update/validator.js +1 -1
- package/package.json +1 -1
|
@@ -341,14 +341,14 @@ const initCommand = {
|
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
name: 'memory-backend',
|
|
344
|
-
description: 'Memory backend (
|
|
344
|
+
description: 'Memory backend (agentdb, sqlite, hybrid)',
|
|
345
345
|
type: 'string',
|
|
346
346
|
default: 'hybrid'
|
|
347
347
|
}
|
|
348
348
|
],
|
|
349
349
|
examples: [
|
|
350
|
-
{ command: '
|
|
351
|
-
{ command: '
|
|
350
|
+
{ command: 'claude-flow hive-mind init -t hierarchical-mesh', description: 'Init hierarchical mesh' },
|
|
351
|
+
{ command: 'claude-flow hive-mind init -c byzantine -m 20', description: 'Init with Byzantine consensus' }
|
|
352
352
|
],
|
|
353
353
|
action: async (ctx) => {
|
|
354
354
|
let topology = ctx.flags.topology;
|
|
@@ -397,8 +397,8 @@ const initCommand = {
|
|
|
397
397
|
].join('\n'), 'Hive Mind Configuration');
|
|
398
398
|
output.writeln();
|
|
399
399
|
output.printInfo('Queen agent is ready to coordinate worker agents');
|
|
400
|
-
output.writeln(output.dim(' Use "
|
|
401
|
-
output.writeln(output.dim(' Use "
|
|
400
|
+
output.writeln(output.dim(' Use "claude-flow hive-mind spawn" to add workers'));
|
|
401
|
+
output.writeln(output.dim(' Use "claude-flow hive-mind spawn --claude" to launch Claude Code'));
|
|
402
402
|
return { success: true, data: result };
|
|
403
403
|
}
|
|
404
404
|
catch (error) {
|
|
@@ -486,11 +486,11 @@ const spawnCommand = {
|
|
|
486
486
|
}
|
|
487
487
|
],
|
|
488
488
|
examples: [
|
|
489
|
-
{ command: '
|
|
490
|
-
{ command: '
|
|
491
|
-
{ command: '
|
|
492
|
-
{ command: '
|
|
493
|
-
{ command: '
|
|
489
|
+
{ command: 'claude-flow hive-mind spawn -n 5', description: 'Spawn 5 workers' },
|
|
490
|
+
{ command: 'claude-flow hive-mind spawn -n 3 -r specialist', description: 'Spawn 3 specialists' },
|
|
491
|
+
{ command: 'claude-flow hive-mind spawn -t coder -p my-coder', description: 'Spawn coder with custom prefix' },
|
|
492
|
+
{ command: 'claude-flow hive-mind spawn --claude -o "Build a REST API"', description: 'Launch Claude Code with objective' },
|
|
493
|
+
{ command: 'claude-flow hive-mind spawn -n 5 --claude -o "Research AI patterns"', description: 'Spawn workers and launch Claude Code' }
|
|
494
494
|
],
|
|
495
495
|
action: async (ctx) => {
|
|
496
496
|
// Parse count with fallback to default
|
|
@@ -659,7 +659,7 @@ const statusCommand = {
|
|
|
659
659
|
output.writeln();
|
|
660
660
|
output.writeln(output.bold('Worker Agents'));
|
|
661
661
|
if (workerData.length === 0) {
|
|
662
|
-
output.printInfo('No workers in hive. Use "
|
|
662
|
+
output.printInfo('No workers in hive. Use "claude-flow hive-mind spawn" to add workers.');
|
|
663
663
|
}
|
|
664
664
|
else {
|
|
665
665
|
output.printTable({
|
|
@@ -749,8 +749,8 @@ const taskCommand = {
|
|
|
749
749
|
}
|
|
750
750
|
],
|
|
751
751
|
examples: [
|
|
752
|
-
{ command: '
|
|
753
|
-
{ command: '
|
|
752
|
+
{ command: 'claude-flow hive-mind task -d "Implement auth module"', description: 'Submit task' },
|
|
753
|
+
{ command: 'claude-flow hive-mind task -d "Security review" -p critical -c', description: 'Critical task with consensus' }
|
|
754
754
|
],
|
|
755
755
|
action: async (ctx) => {
|
|
756
756
|
let description = ctx.flags.description || ctx.args.join(' ');
|
|
@@ -790,7 +790,7 @@ const taskCommand = {
|
|
|
790
790
|
].join('\n'), 'Task Submitted');
|
|
791
791
|
output.writeln();
|
|
792
792
|
output.printSuccess('Task submitted to hive');
|
|
793
|
-
output.writeln(output.dim(` Track with:
|
|
793
|
+
output.writeln(output.dim(` Track with: claude-flow hive-mind task-status ${result.taskId}`));
|
|
794
794
|
return { success: true, data: result };
|
|
795
795
|
}
|
|
796
796
|
catch (error) {
|
|
@@ -1121,16 +1121,16 @@ export const hiveMindCommand = {
|
|
|
1121
1121
|
subcommands: [initCommand, spawnCommand, statusCommand, taskCommand, joinCommand, leaveCommand, consensusCommand, broadcastCommand, memorySubCommand, optimizeMemoryCommand, shutdownCommand],
|
|
1122
1122
|
options: [],
|
|
1123
1123
|
examples: [
|
|
1124
|
-
{ command: '
|
|
1125
|
-
{ command: '
|
|
1126
|
-
{ command: '
|
|
1127
|
-
{ command: '
|
|
1124
|
+
{ command: 'claude-flow hive-mind init -t hierarchical-mesh', description: 'Initialize hive' },
|
|
1125
|
+
{ command: 'claude-flow hive-mind spawn -n 5', description: 'Spawn workers' },
|
|
1126
|
+
{ command: 'claude-flow hive-mind spawn --claude -o "Build a feature"', description: 'Launch Claude Code with hive mind' },
|
|
1127
|
+
{ command: 'claude-flow hive-mind task -d "Build feature"', description: 'Submit task' }
|
|
1128
1128
|
],
|
|
1129
1129
|
action: async () => {
|
|
1130
1130
|
output.writeln();
|
|
1131
1131
|
output.writeln(output.bold('Hive Mind - Consensus-Based Multi-Agent Coordination'));
|
|
1132
1132
|
output.writeln();
|
|
1133
|
-
output.writeln('Usage:
|
|
1133
|
+
output.writeln('Usage: claude-flow hive-mind <subcommand> [options]');
|
|
1134
1134
|
output.writeln();
|
|
1135
1135
|
output.writeln('Subcommands:');
|
|
1136
1136
|
output.printList([
|
|
@@ -1158,8 +1158,8 @@ export const hiveMindCommand = {
|
|
|
1158
1158
|
]);
|
|
1159
1159
|
output.writeln();
|
|
1160
1160
|
output.writeln('Quick Start with Claude Code:');
|
|
1161
|
-
output.writeln(output.dim('
|
|
1162
|
-
output.writeln(output.dim('
|
|
1161
|
+
output.writeln(output.dim(' claude-flow hive-mind init'));
|
|
1162
|
+
output.writeln(output.dim(' claude-flow hive-mind spawn -n 5 --claude -o "Your objective here"'));
|
|
1163
1163
|
return { success: true };
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|