@monoes/monomindcli 2.9.22 → 2.9.23
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/.claude/agents/consensus/quorum-manager.md +35 -54
- package/.claude/agents/core/coordinator.md +14 -18
- package/.claude/agents/core/researcher.md +1 -1
- package/.claude/agents/github/issue-tracker.md +3 -3
- package/.claude/agents/github/{code-review-swarm.md → monoswarm-code-review.md} +1 -1
- package/.claude/agents/github/{swarm-issue.md → monoswarm-issue.md} +1 -1
- package/.claude/agents/github/{multi-repo-swarm.md → monoswarm-multi-repo.md} +1 -1
- package/.claude/agents/github/{swarm-pr.md → monoswarm-pr.md} +1 -1
- package/.claude/agents/github/pr-manager.md +1 -1
- package/.claude/agents/github/release-manager.md +1 -1
- package/.claude/agents/github/repo-architect.md +1 -1
- package/.claude/agents/github/sync-coordinator.md +4 -4
- package/.claude/agents/{hive-mind → monoswarm}/collective-intelligence-coordinator.md +9 -16
- package/.claude/agents/{swarm → monoswarm}/mesh-coordinator.md +19 -24
- package/.claude/agents/{hive-mind/swarm-memory-manager.md → monoswarm/monoswarm-memory-manager.md} +1 -1
- package/.claude/agents/templates/{coordinator-swarm-init.md → coordinator-monoswarm-init.md} +1 -1
- package/.claude/agents/testing/{tdd-london-swarm.md → tdd-london-monoswarm.md} +2 -2
- package/.claude/commands/agents/agent-coordination.md +3 -3
- package/.claude/commands/agents/agent-types.md +1 -1
- package/.claude/commands/automation/self-healing.md +1 -1
- package/.claude/commands/automation/smart-spawn.md +1 -1
- package/.claude/commands/coordination/README.md +1 -1
- package/.claude/commands/coordination/{swarm-init.md → monoswarm-init.md} +2 -2
- package/.claude/commands/coordination/task-orchestrate.md +4 -4
- package/.claude/commands/github/README.md +1 -1
- package/.claude/commands/github/issue-tracker.md +2 -2
- package/.claude/commands/github/pr-manager.md +1 -1
- package/.claude/commands/github/release-manager.md +1 -1
- package/.claude/commands/github/repo-architect.md +1 -1
- package/.claude/commands/github/sync-coordinator.md +2 -2
- package/.claude/commands/hooks/README.md +1 -2
- package/.claude/commands/hooks/overview.md +1 -2
- package/.claude/commands/hooks/setup.md +0 -3
- package/.claude/commands/mastermind/createtask.md +2 -2
- package/.claude/commands/mastermind/do.md +3 -3
- package/.claude/commands/mastermind/help.md +2 -2
- package/.claude/commands/mastermind/ideate.md +1 -1
- package/.claude/commands/mastermind/improve.md +1 -1
- package/.claude/commands/mastermind/memory.md +2 -2
- package/.claude/commands/mastermind/{swarm.md → monoswarm.md} +13 -26
- package/.claude/commands/mastermind/topology.md +1 -1
- package/.claude/commands/memory/README.md +2 -2
- package/.claude/commands/memory/memory-search.md +1 -1
- package/.claude/commands/monoswarm/README.md +59 -0
- package/.claude/commands/monoswarm/consensus.md +61 -0
- package/.claude/commands/monoswarm/init.md +68 -0
- package/.claude/commands/monoswarm/memory.md +55 -0
- package/.claude/commands/monoswarm/monoswarm.md +139 -0
- package/.claude/commands/{swarm → monoswarm}/research.md +2 -2
- package/.claude/commands/monoswarm/spawn.md +49 -0
- package/.claude/commands/monoswarm/status.md +48 -0
- package/.claude/commands/monoswarm/stop.md +46 -0
- package/.claude/commands/optimization/auto-topology.md +9 -9
- package/.claude/commands/stream-chain/run.md +1 -1
- package/.claude/commands/workflows/development.md +1 -1
- package/.claude/commands/workflows/research.md +2 -2
- package/.claude/helpers/audit-log-writer.cjs +72 -0
- package/.claude/helpers/control-start.cjs +84 -26
- package/.claude/helpers/handlers/agent-start-handler.cjs +5 -5
- package/.claude/helpers/handlers/gates-handler.cjs +31 -10
- package/.claude/helpers/handlers/session-restore-handler.cjs +1 -1
- package/.claude/helpers/handlers/task-handler.cjs +4 -4
- package/.claude/helpers/skill-registry.json +4718 -3669
- package/.claude/helpers/statusline.cjs +21 -21
- package/.claude/helpers/token-tracker.cjs +0 -6
- package/.claude/settings.json +2 -3
- package/.claude/skills/hooks-automation/SKILL.md +5 -5
- package/.claude/skills/mastermind-protocol/SKILL.md +3 -3
- package/.claude/skills/memory-toolkit/SKILL.md +2 -2
- package/.claude/skills/{swarm-orchestration → monoswarm}/SKILL.md +106 -42
- package/.claude/skills/specialagent/SKILL.md +1 -1
- package/README.md +31 -12
- package/dist/src/autopilot-state.d.ts +0 -16
- package/dist/src/autopilot-state.d.ts.map +1 -1
- package/dist/src/autopilot-state.js +0 -15
- package/dist/src/autopilot-state.js.map +1 -1
- package/dist/src/browser/dashboard/server.js +3 -3
- package/dist/src/browser/dashboard/server.js.map +1 -1
- package/dist/src/browser/dashboard/ui.html +2 -2
- package/dist/src/capabilities/cap-documents.d.ts.map +1 -1
- package/dist/src/capabilities/cap-documents.js +49 -38
- package/dist/src/capabilities/cap-documents.js.map +1 -1
- package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
- package/dist/src/commands/agent-lifecycle.js +4 -9
- package/dist/src/commands/agent-lifecycle.js.map +1 -1
- package/dist/src/commands/agent-ops.d.ts.map +1 -1
- package/dist/src/commands/agent-ops.js +37 -24
- package/dist/src/commands/agent-ops.js.map +1 -1
- package/dist/src/commands/analyze-ast.d.ts +1 -1
- package/dist/src/commands/analyze-ast.d.ts.map +1 -1
- package/dist/src/commands/analyze-ast.js +8 -27
- package/dist/src/commands/analyze-ast.js.map +1 -1
- package/dist/src/commands/analyze-imports.d.ts.map +1 -1
- package/dist/src/commands/analyze-imports.js +18 -17
- package/dist/src/commands/analyze-imports.js.map +1 -1
- package/dist/src/commands/analyze-symbols.d.ts.map +1 -1
- package/dist/src/commands/analyze-symbols.js +10 -24
- package/dist/src/commands/analyze-symbols.js.map +1 -1
- package/dist/src/commands/analyze.d.ts +19 -6
- package/dist/src/commands/analyze.d.ts.map +1 -1
- package/dist/src/commands/analyze.js +61 -15
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/autopilot.d.ts.map +1 -1
- package/dist/src/commands/autopilot.js +4 -89
- package/dist/src/commands/autopilot.js.map +1 -1
- package/dist/src/commands/browse.d.ts +1 -1
- package/dist/src/commands/cleanup.d.ts.map +1 -1
- package/dist/src/commands/cleanup.js +4 -2
- package/dist/src/commands/cleanup.js.map +1 -1
- package/dist/src/commands/completions.d.ts.map +1 -1
- package/dist/src/commands/completions.js +0 -1
- package/dist/src/commands/completions.js.map +1 -1
- package/dist/src/commands/config.js +7 -7
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/doctor-project-checks.d.ts +7 -0
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +37 -5
- package/dist/src/commands/doctor-project-checks.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +9 -3
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/hooks-routing-commands.d.ts +1 -2
- package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-routing-commands.js +1 -101
- package/dist/src/commands/hooks-routing-commands.js.map +1 -1
- package/dist/src/commands/hooks-workers.d.ts.map +1 -1
- package/dist/src/commands/hooks-workers.js +19 -71
- package/dist/src/commands/hooks-workers.js.map +1 -1
- package/dist/src/commands/hooks.d.ts +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +4 -7
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +2 -2
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init-subcommands.d.ts.map +1 -1
- package/dist/src/commands/init-subcommands.js +4 -0
- package/dist/src/commands/init-subcommands.js.map +1 -1
- package/dist/src/commands/init-wizard.d.ts.map +1 -1
- package/dist/src/commands/init-wizard.js +0 -8
- package/dist/src/commands/init-wizard.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +53 -23
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/mcp.d.ts +1 -0
- package/dist/src/commands/mcp.d.ts.map +1 -1
- package/dist/src/commands/mcp.js +111 -60
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/memory-crud.d.ts.map +1 -1
- package/dist/src/commands/memory-crud.js +33 -20
- package/dist/src/commands/memory-crud.js.map +1 -1
- package/dist/src/commands/monoswarm.d.ts +8 -0
- package/dist/src/commands/monoswarm.d.ts.map +1 -0
- package/dist/src/commands/{swarm.js → monoswarm.js} +83 -297
- package/dist/src/commands/monoswarm.js.map +1 -0
- package/dist/src/commands/neural-core.d.ts.map +1 -1
- package/dist/src/commands/neural-core.js +9 -1
- package/dist/src/commands/neural-core.js.map +1 -1
- package/dist/src/commands/neural-optimize.d.ts.map +1 -1
- package/dist/src/commands/neural-optimize.js +30 -110
- package/dist/src/commands/neural-optimize.js.map +1 -1
- package/dist/src/commands/neural-registry.d.ts +1 -2
- package/dist/src/commands/neural-registry.d.ts.map +1 -1
- package/dist/src/commands/neural-registry.js +21 -168
- package/dist/src/commands/neural-registry.js.map +1 -1
- package/dist/src/commands/org-observe.d.ts +13 -3
- package/dist/src/commands/org-observe.d.ts.map +1 -1
- package/dist/src/commands/org-observe.js +134 -45
- package/dist/src/commands/org-observe.js.map +1 -1
- package/dist/src/commands/org.d.ts +14 -0
- package/dist/src/commands/org.d.ts.map +1 -1
- package/dist/src/commands/org.js +98 -20
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/commands/performance.d.ts.map +1 -1
- package/dist/src/commands/performance.js +38 -31
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/security-misc.d.ts.map +1 -1
- package/dist/src/commands/security-misc.js +220 -90
- package/dist/src/commands/security-misc.js.map +1 -1
- package/dist/src/commands/security-scan.d.ts +13 -0
- package/dist/src/commands/security-scan.d.ts.map +1 -1
- package/dist/src/commands/security-scan.js +96 -27
- package/dist/src/commands/security-scan.js.map +1 -1
- package/dist/src/commands/security.js +1 -1
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/commands/start.d.ts.map +1 -1
- package/dist/src/commands/start.js +17 -96
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +72 -64
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/tokens.d.ts.map +1 -1
- package/dist/src/commands/tokens.js +4 -5
- package/dist/src/commands/tokens.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts +2 -2
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +12 -10
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +32 -31
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/codex-generator.d.ts +10 -0
- package/dist/src/init/codex-generator.d.ts.map +1 -0
- package/dist/src/init/codex-generator.js +67 -0
- package/dist/src/init/codex-generator.js.map +1 -0
- package/dist/src/init/copy-assets.d.ts.map +1 -1
- package/dist/src/init/copy-assets.js +4 -8
- package/dist/src/init/copy-assets.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +9 -2
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.js +1 -1
- package/dist/src/init/index.d.ts +1 -0
- package/dist/src/init/index.d.ts.map +1 -1
- package/dist/src/init/index.js +1 -0
- package/dist/src/init/index.js.map +1 -1
- package/dist/src/init/opencode-generator.js +2 -2
- package/dist/src/init/opencode-generator.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +1 -2
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared.d.ts.map +1 -1
- package/dist/src/init/shared.js +3 -7
- package/dist/src/init/shared.js.map +1 -1
- package/dist/src/init/statusline-generator.js +19 -19
- package/dist/src/init/types.d.ts +9 -10
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +8 -6
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/init/upgrade.js +5 -5
- package/dist/src/init/upgrade.js.map +1 -1
- package/dist/src/init/write-capabilities.d.ts.map +1 -1
- package/dist/src/init/write-capabilities.js +36 -49
- package/dist/src/init/write-capabilities.js.map +1 -1
- package/dist/src/init/write-claude.js +1 -1
- package/dist/src/init/write-claude.js.map +1 -1
- package/dist/src/init/write-codex.d.ts +4 -0
- package/dist/src/init/write-codex.d.ts.map +1 -0
- package/dist/src/init/write-codex.js +57 -0
- package/dist/src/init/write-codex.js.map +1 -0
- package/dist/src/init/write-runtime-config.d.ts.map +1 -1
- package/dist/src/init/write-runtime-config.js +4 -5
- package/dist/src/init/write-runtime-config.js.map +1 -1
- package/dist/src/knowledge/eval/golden-set.js +15 -15
- package/dist/src/knowledge/eval/golden-set.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +1 -2
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.js +1 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +3 -3
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/autopilot-tools.d.ts +1 -1
- package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/autopilot-tools.js +4 -62
- package/dist/src/mcp-tools/autopilot-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +21 -31
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.d.ts +0 -1
- package/dist/src/mcp-tools/hooks-intelligence.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.js +56 -103
- package/dist/src/mcp-tools/hooks-intelligence.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts +1 -2
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +78 -152
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +2 -4
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +1 -2
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +1 -2
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +10 -10
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/query-tools.js +9 -9
- package/dist/src/mcp-tools/monograph/query-tools.js.map +1 -1
- package/dist/src/mcp-tools/monoswarm-tools.d.ts +17 -0
- package/dist/src/mcp-tools/monoswarm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monoswarm-tools.js +1153 -0
- package/dist/src/mcp-tools/monoswarm-tools.js.map +1 -0
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/performance-tools.js +32 -25
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/system-tools.js +30 -13
- package/dist/src/mcp-tools/system-tools.js.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.d.ts +8 -12
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.js +9 -13
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/memory/embedding-operations.d.ts.map +1 -1
- package/dist/src/memory/embedding-operations.js +0 -37
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/hnsw-operations.d.ts +14 -74
- package/dist/src/memory/hnsw-operations.d.ts.map +1 -1
- package/dist/src/memory/hnsw-operations.js +22 -262
- package/dist/src/memory/hnsw-operations.js.map +1 -1
- package/dist/src/memory/intelligence.d.ts +2 -2
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +8 -7
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +24 -24
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +33 -34
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-crud.d.ts.map +1 -1
- package/dist/src/memory/memory-crud.js +0 -20
- package/dist/src/memory/memory-crud.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts +2 -3
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +2 -3
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/memory-read.d.ts.map +1 -1
- package/dist/src/memory/memory-read.js +5 -14
- package/dist/src/memory/memory-read.js.map +1 -1
- package/dist/src/memory/sona-optimizer.d.ts +1 -1
- package/dist/src/memory/sona-optimizer.js +1 -1
- package/dist/src/monovector/model-outcomes.d.ts +25 -0
- package/dist/src/monovector/model-outcomes.d.ts.map +1 -0
- package/dist/src/monovector/model-outcomes.js +113 -0
- package/dist/src/monovector/model-outcomes.js.map +1 -0
- package/dist/src/orgrt/agent-runner.d.ts +8 -2
- package/dist/src/orgrt/agent-runner.d.ts.map +1 -1
- package/dist/src/orgrt/agent-runner.js.map +1 -1
- package/dist/src/orgrt/antigravity-runner.d.ts +25 -2
- package/dist/src/orgrt/antigravity-runner.d.ts.map +1 -1
- package/dist/src/orgrt/antigravity-runner.js +265 -124
- package/dist/src/orgrt/antigravity-runner.js.map +1 -1
- package/dist/src/orgrt/approvals.d.ts.map +1 -1
- package/dist/src/orgrt/approvals.js +8 -0
- package/dist/src/orgrt/approvals.js.map +1 -1
- package/dist/src/orgrt/checkpoint-ops.d.ts +10 -16
- package/dist/src/orgrt/checkpoint-ops.d.ts.map +1 -1
- package/dist/src/orgrt/checkpoint-ops.js +12 -18
- package/dist/src/orgrt/checkpoint-ops.js.map +1 -1
- package/dist/src/orgrt/checkpoint.d.ts +12 -1
- package/dist/src/orgrt/checkpoint.d.ts.map +1 -1
- package/dist/src/orgrt/checkpoint.js +19 -3
- package/dist/src/orgrt/checkpoint.js.map +1 -1
- package/dist/src/orgrt/codex-runner.d.ts +26 -2
- package/dist/src/orgrt/codex-runner.d.ts.map +1 -1
- package/dist/src/orgrt/codex-runner.js +359 -128
- package/dist/src/orgrt/codex-runner.js.map +1 -1
- package/dist/src/orgrt/copilot-runner.d.ts.map +1 -1
- package/dist/src/orgrt/copilot-runner.js +12 -2
- package/dist/src/orgrt/copilot-runner.js.map +1 -1
- package/dist/src/orgrt/cross-org.d.ts.map +1 -1
- package/dist/src/orgrt/cross-org.js +11 -0
- package/dist/src/orgrt/cross-org.js.map +1 -1
- package/dist/src/orgrt/crush-runner.d.ts +4 -1
- package/dist/src/orgrt/crush-runner.d.ts.map +1 -1
- package/dist/src/orgrt/crush-runner.js +42 -30
- package/dist/src/orgrt/crush-runner.js.map +1 -1
- package/dist/src/orgrt/daemon.d.ts +38 -25
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +150 -28
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/decisions.d.ts +1 -0
- package/dist/src/orgrt/decisions.d.ts.map +1 -1
- package/dist/src/orgrt/decisions.js +20 -0
- package/dist/src/orgrt/decisions.js.map +1 -1
- package/dist/src/orgrt/grok-runner.d.ts.map +1 -1
- package/dist/src/orgrt/grok-runner.js +39 -14
- package/dist/src/orgrt/grok-runner.js.map +1 -1
- package/dist/src/orgrt/kimicode-runner.d.ts +53 -7
- package/dist/src/orgrt/kimicode-runner.d.ts.map +1 -1
- package/dist/src/orgrt/kimicode-runner.js +246 -144
- package/dist/src/orgrt/kimicode-runner.js.map +1 -1
- package/dist/src/orgrt/mailbox.d.ts +26 -1
- package/dist/src/orgrt/mailbox.d.ts.map +1 -1
- package/dist/src/orgrt/mailbox.js +74 -2
- package/dist/src/orgrt/mailbox.js.map +1 -1
- package/dist/src/orgrt/pi-rpc-runner.d.ts.map +1 -1
- package/dist/src/orgrt/pi-rpc-runner.js +76 -91
- package/dist/src/orgrt/pi-rpc-runner.js.map +1 -1
- package/dist/src/orgrt/policy.d.ts +11 -0
- package/dist/src/orgrt/policy.d.ts.map +1 -1
- package/dist/src/orgrt/policy.js +25 -2
- package/dist/src/orgrt/policy.js.map +1 -1
- package/dist/src/orgrt/provider.d.ts +29 -1
- package/dist/src/orgrt/provider.d.ts.map +1 -1
- package/dist/src/orgrt/provider.js +62 -2
- package/dist/src/orgrt/provider.js.map +1 -1
- package/dist/src/orgrt/qwen-rpc-runner.d.ts +56 -0
- package/dist/src/orgrt/qwen-rpc-runner.d.ts.map +1 -0
- package/dist/src/orgrt/qwen-rpc-runner.js +346 -0
- package/dist/src/orgrt/qwen-rpc-runner.js.map +1 -0
- package/dist/src/orgrt/qwen-runner.d.ts.map +1 -1
- package/dist/src/orgrt/qwen-runner.js +11 -8
- package/dist/src/orgrt/qwen-runner.js.map +1 -1
- package/dist/src/orgrt/scheduler-integration.d.ts.map +1 -1
- package/dist/src/orgrt/scheduler-integration.js +7 -0
- package/dist/src/orgrt/scheduler-integration.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +29 -1
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +87 -18
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/task-dag.d.ts +29 -1
- package/dist/src/orgrt/task-dag.d.ts.map +1 -1
- package/dist/src/orgrt/task-dag.js +54 -0
- package/dist/src/orgrt/task-dag.js.map +1 -1
- package/dist/src/orgrt/test-loop.d.ts.map +1 -1
- package/dist/src/orgrt/test-loop.js +86 -9
- package/dist/src/orgrt/test-loop.js.map +1 -1
- package/dist/src/orgrt/tool-fence.d.ts.map +1 -1
- package/dist/src/orgrt/tool-fence.js +15 -0
- package/dist/src/orgrt/tool-fence.js.map +1 -1
- package/dist/src/orgrt/types.d.ts +32 -1
- package/dist/src/orgrt/types.d.ts.map +1 -1
- package/dist/src/orgrt/types.js +47 -4
- package/dist/src/orgrt/types.js.map +1 -1
- package/dist/src/pricing/model-pricing.d.ts.map +1 -1
- package/dist/src/pricing/model-pricing.js +0 -4
- package/dist/src/pricing/model-pricing.js.map +1 -1
- package/dist/src/security/audit-log.d.ts +47 -0
- package/dist/src/security/audit-log.d.ts.map +1 -0
- package/dist/src/security/audit-log.js +84 -0
- package/dist/src/security/audit-log.js.map +1 -0
- package/dist/src/services/config-file-manager.d.ts +2 -2
- package/dist/src/services/config-file-manager.d.ts.map +1 -1
- package/dist/src/services/config-file-manager.js +6 -7
- package/dist/src/services/config-file-manager.js.map +1 -1
- package/dist/src/suggest.d.ts.map +1 -1
- package/dist/src/suggest.js +4 -5
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/transfer/anonymization/index.d.ts +1 -1
- package/dist/src/transfer/anonymization/index.js +1 -1
- package/dist/src/types.d.ts +3 -3
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/ui/collector.mjs +9 -13
- package/dist/src/ui/dashboard.html +30 -10
- package/dist/src/ui/data/agent-avatars.html +0 -12
- package/dist/src/ui/data/agent-avatars.json +10 -26
- package/dist/src/ui/routes-org.mjs +59 -16
- package/dist/src/ui/server.mjs +50 -23
- package/dist/src/utils/json-file.d.ts +12 -0
- package/dist/src/utils/json-file.d.ts.map +1 -1
- package/dist/src/utils/json-file.js +11 -0
- package/dist/src/utils/json-file.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/.claude/agents/consensus/crdt-synchronizer.md +0 -977
- package/.claude/commands/hive-mind/README.md +0 -42
- package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -72
- package/.claude/commands/hive-mind/hive-mind-init.md +0 -68
- package/.claude/commands/hive-mind/hive-mind-memory.md +0 -73
- package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -82
- package/.claude/commands/hive-mind/hive-mind-status.md +0 -56
- package/.claude/commands/hive-mind/hive-mind-stop.md +0 -55
- package/.claude/commands/hive-mind/hive-mind.md +0 -87
- package/.claude/commands/swarm/README.md +0 -40
- package/.claude/commands/swarm/swarm.md +0 -79
- package/.claude/skills/hive-mind-advanced/SKILL.md +0 -347
- package/.claude/skills/swarm-advanced/SKILL.md +0 -936
- package/dist/src/commands/swarm.d.ts +0 -8
- package/dist/src/commands/swarm.d.ts.map +0 -1
- package/dist/src/commands/swarm.js.map +0 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -17
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +0 -1239
- package/dist/src/mcp-tools/hive-mind-tools.js.map +0 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts +0 -9
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/swarm-tools.js +0 -411
- package/dist/src/mcp-tools/swarm-tools.js.map +0 -1
- package/dist/src/ui/data/avatars/crdt-synchronizer.svg +0 -53
- package/dist/src/ui/data/avatars/gossip-coordinator.svg +0 -54
- package/scripts/deploy-ipfs-node.sh +0 -153
- package/scripts/setup-ipfs-registry.md +0 -365
- /package/.claude/agents/{hive-mind → monoswarm}/scout-explorer.md +0 -0
- /package/.claude/agents/{hive-mind → monoswarm}/worker-specialist.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/analysis.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/development.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/examples.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/maintenance.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/optimization.md +0 -0
- /package/.claude/commands/{swarm → monoswarm}/testing.md +0 -0
- /package/dist/src/ui/data/avatars/{code-review-swarm.svg → monoswarm-code-review.svg} +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:README
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Hive-Mind Commands
|
|
6
|
-
|
|
7
|
-
Queen-led consensus-based multi-agent coordination system. All operations use the `mcp__monomind__hive-mind_*` MCP tools.
|
|
8
|
-
|
|
9
|
-
## Commands (invoke as slash commands)
|
|
10
|
-
|
|
11
|
-
- [hive-mind](./hive-mind.md) — overview of all subcommands, topologies, and quick start
|
|
12
|
-
- [hive-mind-init](./hive-mind-init.md) — initialize hive with topology and consensus settings
|
|
13
|
-
- [hive-mind-spawn](./hive-mind-spawn.md) — spawn workers; `--claude` launches Claude Code as Queen
|
|
14
|
-
- [hive-mind-status](./hive-mind-status.md) — show hive status, workers, and metrics
|
|
15
|
-
- [hive-mind-stop](./hive-mind-stop.md) — shutdown the hive (the `shutdown` subcommand)
|
|
16
|
-
- [hive-mind-consensus](./hive-mind-consensus.md) — manage proposals and voting
|
|
17
|
-
- [hive-mind-memory](./hive-mind-memory.md) — access hive shared memory
|
|
18
|
-
|
|
19
|
-
## Real Subcommands (11 total)
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
init Initialize hive with topology and consensus
|
|
23
|
-
spawn Spawn workers; --claude launches Claude Code as Queen
|
|
24
|
-
status Show status, workers, and metrics
|
|
25
|
-
task Submit a task for distributed execution
|
|
26
|
-
join Add an agent to the hive
|
|
27
|
-
leave Remove an agent from the hive
|
|
28
|
-
consensus Manage consensus proposals and voting
|
|
29
|
-
broadcast Broadcast a message to all workers
|
|
30
|
-
memory Access hive shared memory
|
|
31
|
-
optimize-memory Optimize memory patterns and consolidation
|
|
32
|
-
shutdown Gracefully shutdown the hive
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Real Tools Used
|
|
36
|
-
|
|
37
|
-
- `mcp__monomind__hive-mind_init` / `hive-mind_spawn` / `hive-mind_status` — lifecycle
|
|
38
|
-
- `mcp__monomind__hive-mind_task` / `hive-mind_join` / `hive-mind_leave` — task and agent management
|
|
39
|
-
- `mcp__monomind__hive-mind_consensus` / `hive-mind_broadcast` — coordination
|
|
40
|
-
- `mcp__monomind__hive-mind_memory` / `hive-mind_optimize-memory` / `hive-mind_shutdown` — memory and shutdown
|
|
41
|
-
- `mcp__monomind__coordination_orchestrate` — cross-agent task distribution
|
|
42
|
-
- `mcp__monomind__memory_store` / `memory_retrieve` — global persistent memory
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-consensus
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind consensus
|
|
6
|
-
|
|
7
|
-
Manage consensus proposals and voting within the hive.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind consensus [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--action` | `-a` | string | `list` | Action: `propose`, `vote`, `status`, `list` |
|
|
19
|
-
| `--proposal-id` | `-p` | string | — | Proposal ID (required for `vote` and `status`) |
|
|
20
|
-
| `--type` | `-t` | string | — | Proposal type (used with `propose`) |
|
|
21
|
-
| `--value` | — | string | — | Proposal value (used with `propose`) |
|
|
22
|
-
| `--vote` | `-v` | string | — | Vote to cast: `yes` or `no` (used with `vote`) |
|
|
23
|
-
| `--voter-id` | — | string | — | Voter agent ID (used with `vote`) |
|
|
24
|
-
| `--format` | — | string | — | Output format: `json` |
|
|
25
|
-
|
|
26
|
-
## Examples
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# List all pending proposals
|
|
30
|
-
npx monomind hive-mind consensus
|
|
31
|
-
|
|
32
|
-
# Create a new proposal
|
|
33
|
-
npx monomind hive-mind consensus -a propose -t config-change --value '{"maxAgents":20}'
|
|
34
|
-
|
|
35
|
-
# Vote on a proposal
|
|
36
|
-
npx monomind hive-mind consensus -a vote -p proposal-abc123 -v yes --voter-id agent-1
|
|
37
|
-
|
|
38
|
-
# Check proposal status
|
|
39
|
-
npx monomind hive-mind consensus -a status -p proposal-abc123
|
|
40
|
-
|
|
41
|
-
# List pending proposals as JSON
|
|
42
|
-
npx monomind hive-mind consensus -a list --format json
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Actions
|
|
46
|
-
|
|
47
|
-
- **`list`** — Show all pending proposals (default)
|
|
48
|
-
- **`propose`** — Create a new consensus proposal (requires `--type` and `--value`)
|
|
49
|
-
- **`vote`** — Cast a vote on a proposal (requires `--proposal-id`, `--vote`, and `--voter-id`)
|
|
50
|
-
- **`status`** — Check the current vote tally for a proposal (requires `--proposal-id`)
|
|
51
|
-
|
|
52
|
-
## MCP Tool
|
|
53
|
-
|
|
54
|
-
```javascript
|
|
55
|
-
// List proposals
|
|
56
|
-
mcp__monomind__hive-mind_consensus({ action: "list" })
|
|
57
|
-
|
|
58
|
-
// Create proposal
|
|
59
|
-
mcp__monomind__hive-mind_consensus({
|
|
60
|
-
action: "propose",
|
|
61
|
-
type: "config-change",
|
|
62
|
-
value: '{"maxAgents":20}'
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
// Vote
|
|
66
|
-
mcp__monomind__hive-mind_consensus({
|
|
67
|
-
action: "vote",
|
|
68
|
-
proposalId: "proposal-abc123",
|
|
69
|
-
vote: true,
|
|
70
|
-
voterId: "agent-1"
|
|
71
|
-
})
|
|
72
|
-
```
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-init
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind init
|
|
6
|
-
|
|
7
|
-
Initialize a hive mind with topology and consensus settings.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind init [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--topology` | `-t` | string | `hierarchical-mesh` | Hive topology: `hierarchical`, `mesh`, `hierarchical-mesh`, `adaptive` |
|
|
19
|
-
| `--consensus` | `-c` | string | `byzantine` | Consensus strategy: `byzantine`, `raft`, `gossip`, `crdt`, `quorum` |
|
|
20
|
-
| `--max-agents` | `-m` | number | `15` | Maximum number of agents |
|
|
21
|
-
| `--persist` | `-p` | boolean | `true` | Enable persistent state across sessions |
|
|
22
|
-
| `--memory-backend` | — | string | `hybrid` | Memory backend: `lancedb`, `sqlite`, `hybrid` |
|
|
23
|
-
|
|
24
|
-
## Examples
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# Initialize with recommended settings (interactive topology/consensus selection)
|
|
28
|
-
npx monomind hive-mind init
|
|
29
|
-
|
|
30
|
-
# Initialize hierarchical-mesh with Byzantine consensus
|
|
31
|
-
npx monomind hive-mind init -t hierarchical-mesh -c byzantine
|
|
32
|
-
|
|
33
|
-
# Large hive with 20 agents and CRDT consensus
|
|
34
|
-
npx monomind hive-mind init -t mesh -c crdt -m 20
|
|
35
|
-
|
|
36
|
-
# Minimal hive with no persistence
|
|
37
|
-
npx monomind hive-mind init -t hierarchical -c raft --persist false
|
|
38
|
-
|
|
39
|
-
# Output as JSON
|
|
40
|
-
npx monomind hive-mind init -t hierarchical-mesh --format json
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Topology Guide
|
|
44
|
-
|
|
45
|
-
- **`hierarchical`** — Queen controls workers directly. Best for small teams (< 8 agents). Prevents drift.
|
|
46
|
-
- **`mesh`** — Fully connected peers. Best when all agents are equals.
|
|
47
|
-
- **`hierarchical-mesh`** — Queen + peer communication. Recommended for 10+ agents. Most resilient.
|
|
48
|
-
- **`adaptive`** — Dynamically adjusts topology based on current load and task type.
|
|
49
|
-
|
|
50
|
-
## Consensus Guide
|
|
51
|
-
|
|
52
|
-
- **`byzantine`** — Tolerates up to 1/3 faulty or malicious agents. Most robust. Default.
|
|
53
|
-
- **`raft`** — Leader-based. Tolerates up to 1/2 failures. Faster than byzantine.
|
|
54
|
-
- **`gossip`** — Epidemic propagation. Eventually consistent. Best for very large swarms.
|
|
55
|
-
- **`crdt`** — Conflict-free. No coordination overhead. Best for parallel writes.
|
|
56
|
-
- **`quorum`** — Simple majority. Configurable threshold.
|
|
57
|
-
|
|
58
|
-
## MCP Tool
|
|
59
|
-
|
|
60
|
-
```javascript
|
|
61
|
-
mcp__monomind__hive-mind_init({
|
|
62
|
-
topology: "hierarchical-mesh",
|
|
63
|
-
consensus: "byzantine",
|
|
64
|
-
maxAgents: 15,
|
|
65
|
-
persist: true,
|
|
66
|
-
memoryBackend: "hybrid"
|
|
67
|
-
})
|
|
68
|
-
```
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-memory
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind memory
|
|
6
|
-
|
|
7
|
-
Access and manage hive shared memory — key-value store accessible to all agents in the hive.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind memory [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--action` | `-a` | string | `list` | Action: `get`, `set`, `delete`, `list` |
|
|
19
|
-
| `--key` | `-k` | string | — | Memory key (required for `get`, `set`, `delete`) |
|
|
20
|
-
| `--value` | `-v` | string | — | Value to store (required for `set`) |
|
|
21
|
-
| `--format` | — | string | — | Output format: `json` |
|
|
22
|
-
|
|
23
|
-
## Examples
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
# List all keys in shared memory
|
|
27
|
-
npx monomind hive-mind memory
|
|
28
|
-
|
|
29
|
-
# Store a value
|
|
30
|
-
npx monomind hive-mind memory -a set -k "project-goal" -v "Build auth module"
|
|
31
|
-
|
|
32
|
-
# Retrieve a value
|
|
33
|
-
npx monomind hive-mind memory -a get -k "project-goal"
|
|
34
|
-
|
|
35
|
-
# Delete a key
|
|
36
|
-
npx monomind hive-mind memory -a delete -k "project-goal"
|
|
37
|
-
|
|
38
|
-
# List all keys as JSON
|
|
39
|
-
npx monomind hive-mind memory -a list --format json
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Actions
|
|
43
|
-
|
|
44
|
-
- **`list`** — Show all keys currently in shared memory with count (default)
|
|
45
|
-
- **`get`** — Retrieve the value at a key (requires `--key`)
|
|
46
|
-
- **`set`** — Store a value at a key (requires `--key` and `--value`)
|
|
47
|
-
- **`delete`** — Remove a key from shared memory (requires `--key`)
|
|
48
|
-
|
|
49
|
-
## Relationship to `monomind memory`
|
|
50
|
-
|
|
51
|
-
`hive-mind memory` operates on the **hive's shared memory namespace** — values here are visible to all agents coordinating in the current hive. This is distinct from `npx monomind memory` which operates on the global LanceDB.
|
|
52
|
-
|
|
53
|
-
Use hive memory for transient inter-agent coordination data (task results, intermediate state). Use global memory for patterns and knowledge that should persist across sessions.
|
|
54
|
-
|
|
55
|
-
## MCP Tool
|
|
56
|
-
|
|
57
|
-
```javascript
|
|
58
|
-
// List keys
|
|
59
|
-
mcp__monomind__hive-mind_memory({ action: "list" })
|
|
60
|
-
|
|
61
|
-
// Set a value
|
|
62
|
-
mcp__monomind__hive-mind_memory({
|
|
63
|
-
action: "set",
|
|
64
|
-
key: "project-goal",
|
|
65
|
-
value: "Build auth module"
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
// Get a value
|
|
69
|
-
mcp__monomind__hive-mind_memory({ action: "get", key: "project-goal" })
|
|
70
|
-
|
|
71
|
-
// Delete a key
|
|
72
|
-
mcp__monomind__hive-mind_memory({ action: "delete", key: "project-goal" })
|
|
73
|
-
```
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-spawn
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind spawn
|
|
6
|
-
|
|
7
|
-
Spawn worker agents into the hive, or launch Claude Code as the Queen coordinator.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind spawn [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--count` | `-n` | number | `1` | Number of workers to spawn |
|
|
19
|
-
| `--role` | `-r` | string | `worker` | Worker role: `worker`, `specialist`, `scout` |
|
|
20
|
-
| `--type` | `-t` | string | `worker` | Agent type (matches agent registry types) |
|
|
21
|
-
| `--prefix` | `-p` | string | `hive-worker` | Prefix for generated worker IDs |
|
|
22
|
-
| `--claude` | — | boolean | `false` | Launch Claude Code as the Queen coordinator |
|
|
23
|
-
| `--objective` | `-o` | string | — | Objective for the hive (required with `--claude`) |
|
|
24
|
-
| `--dry-run` | — | boolean | `false` | Preview what would happen without launching |
|
|
25
|
-
| `--non-interactive` | — | boolean | `false` | Run Claude Code in non-interactive (pipe) mode |
|
|
26
|
-
| `--dangerously-skip-permissions` | — | boolean | `true` | Skip Claude Code permission prompts |
|
|
27
|
-
| `--no-auto-permissions` | — | boolean | `false` | Disable automatic permission skipping |
|
|
28
|
-
|
|
29
|
-
## Examples
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
# Spawn 5 default workers
|
|
33
|
-
npx monomind hive-mind spawn -n 5
|
|
34
|
-
|
|
35
|
-
# Spawn 3 specialists
|
|
36
|
-
npx monomind hive-mind spawn -n 3 -r specialist
|
|
37
|
-
|
|
38
|
-
# Spawn a coder agent with custom ID prefix
|
|
39
|
-
npx monomind hive-mind spawn -t coder -p my-coder
|
|
40
|
-
|
|
41
|
-
# Launch Claude Code as Queen with a specific objective
|
|
42
|
-
npx monomind hive-mind spawn --claude -o "Build a REST API with authentication"
|
|
43
|
-
|
|
44
|
-
# Spawn 5 workers AND launch Claude Code as Queen
|
|
45
|
-
npx monomind hive-mind spawn -n 5 --claude -o "Research AI coordination patterns"
|
|
46
|
-
|
|
47
|
-
# Preview what would happen without launching
|
|
48
|
-
npx monomind hive-mind spawn -n 3 --claude -o "Test objective" --dry-run
|
|
49
|
-
|
|
50
|
-
# Non-interactive mode (for CI/scripts)
|
|
51
|
-
npx monomind hive-mind spawn --claude -o "Run security audit" --non-interactive
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## The `--claude` Flag
|
|
55
|
-
|
|
56
|
-
When `--claude` is used, the CLI:
|
|
57
|
-
|
|
58
|
-
1. Spawns the requested worker agents in the hive
|
|
59
|
-
2. Generates a comprehensive Hive Mind coordination prompt that includes:
|
|
60
|
-
- Swarm ID, topology, consensus algorithm
|
|
61
|
-
- All worker IDs and their roles
|
|
62
|
-
- Full list of MCP tools available for coordination
|
|
63
|
-
- The objective and execution protocol
|
|
64
|
-
3. Saves the prompt to `.hive-mind/sessions/hive-mind-prompt-<id>.txt`
|
|
65
|
-
4. Launches `claude --dangerously-skip-permissions <prompt>` so Claude acts as the Queen
|
|
66
|
-
|
|
67
|
-
The Queen Claude instance uses MCP tools (`mcp__monomind__hive-mind_*`, `mcp__monomind__coordination_orchestrate`, etc.) to coordinate all worker agents.
|
|
68
|
-
|
|
69
|
-
**Requirements:**
|
|
70
|
-
- `--objective` / `-o` must be set (the Queen needs a goal)
|
|
71
|
-
- Claude Code CLI must be installed: `npm install -g @anthropic-ai/claude-code`
|
|
72
|
-
|
|
73
|
-
## MCP Tool
|
|
74
|
-
|
|
75
|
-
```javascript
|
|
76
|
-
mcp__monomind__hive-mind_spawn({
|
|
77
|
-
count: 5,
|
|
78
|
-
role: "worker",
|
|
79
|
-
type: "coder",
|
|
80
|
-
prefix: "hive-worker"
|
|
81
|
-
})
|
|
82
|
-
```
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-status
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind status
|
|
6
|
-
|
|
7
|
-
Show hive mind status including queen, workers, and optional detailed metrics.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind status [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--detailed` | `-d` | boolean | `false` | Include metrics (task counts, avg time, consensus rounds, memory) and health breakdown |
|
|
19
|
-
| `--watch` | `-w` | boolean | `false` | Watch for changes and refresh |
|
|
20
|
-
| `--format` | — | string | — | Output format: `json` |
|
|
21
|
-
|
|
22
|
-
## Examples
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
# Basic status
|
|
26
|
-
npx monomind hive-mind status
|
|
27
|
-
|
|
28
|
-
# Full metrics and health breakdown
|
|
29
|
-
npx monomind hive-mind status --detailed
|
|
30
|
-
|
|
31
|
-
# Watch mode (refreshes on change)
|
|
32
|
-
npx monomind hive-mind status --watch
|
|
33
|
-
|
|
34
|
-
# JSON output for scripting
|
|
35
|
-
npx monomind hive-mind status --format json
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Output
|
|
39
|
-
|
|
40
|
-
Basic status shows:
|
|
41
|
-
- Hive ID, status (active / idle / degraded / offline), topology, consensus
|
|
42
|
-
- Queen agent ID, status, load %, and queued task count
|
|
43
|
-
- Worker table: ID, type, status, current task, tasks completed
|
|
44
|
-
|
|
45
|
-
`--detailed` adds:
|
|
46
|
-
- Metrics table: total tasks, completed, failed, avg task time, consensus rounds, memory usage
|
|
47
|
-
- Health breakdown: overall, queen, workers, consensus, memory
|
|
48
|
-
|
|
49
|
-
## MCP Tool
|
|
50
|
-
|
|
51
|
-
```javascript
|
|
52
|
-
mcp__monomind__hive-mind_status({
|
|
53
|
-
includeMetrics: true, // set by --detailed
|
|
54
|
-
includeWorkers: true
|
|
55
|
-
})
|
|
56
|
-
```
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind-stop
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind shutdown
|
|
6
|
-
|
|
7
|
-
Gracefully shutdown the hive mind, terminating all agents.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind shutdown [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Options
|
|
15
|
-
|
|
16
|
-
| Flag | Short | Type | Default | Description |
|
|
17
|
-
|---|---|---|---|---|
|
|
18
|
-
| `--force` | `-f` | boolean | `false` | Force immediate shutdown without confirmation |
|
|
19
|
-
| `--save-state` | `-s` | boolean | `true` | Save hive state before shutdown (default: on) |
|
|
20
|
-
|
|
21
|
-
## Examples
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Graceful shutdown with confirmation prompt
|
|
25
|
-
npx monomind hive-mind shutdown
|
|
26
|
-
|
|
27
|
-
# Force shutdown immediately, no prompt
|
|
28
|
-
npx monomind hive-mind shutdown --force
|
|
29
|
-
|
|
30
|
-
# Shutdown and save state for later recovery
|
|
31
|
-
npx monomind hive-mind shutdown --save-state
|
|
32
|
-
|
|
33
|
-
# Force shutdown without saving state
|
|
34
|
-
npx monomind hive-mind shutdown --force --save-state false
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Behavior
|
|
38
|
-
|
|
39
|
-
Without `--force`, the CLI prompts for confirmation before proceeding.
|
|
40
|
-
|
|
41
|
-
The shutdown report includes:
|
|
42
|
-
- Number of agents terminated
|
|
43
|
-
- Whether state was saved
|
|
44
|
-
- Shutdown timestamp
|
|
45
|
-
|
|
46
|
-
When `--save-state` is enabled (default), hive state is persisted and can be referenced in future sessions via `monomind session list`.
|
|
47
|
-
|
|
48
|
-
## MCP Tool
|
|
49
|
-
|
|
50
|
-
```javascript
|
|
51
|
-
mcp__monomind__hive-mind_shutdown({
|
|
52
|
-
force: false,
|
|
53
|
-
saveState: true
|
|
54
|
-
})
|
|
55
|
-
```
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: hive-mind:hive-mind
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# hive-mind
|
|
6
|
-
|
|
7
|
-
Queen-led consensus-based multi-agent coordination system.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
```bash
|
|
11
|
-
npx monomind hive-mind <subcommand> [options]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Subcommands
|
|
15
|
-
|
|
16
|
-
| Subcommand | Description |
|
|
17
|
-
|---|---|
|
|
18
|
-
| `init` | Initialize hive mind with topology and consensus settings |
|
|
19
|
-
| `spawn` | Spawn worker agents; use `--claude` to launch Claude Code as Queen |
|
|
20
|
-
| `status` | Show hive status, workers, and metrics |
|
|
21
|
-
| `task` | Submit a task to the hive for distributed execution |
|
|
22
|
-
| `join` | Add an existing agent to the hive |
|
|
23
|
-
| `leave` | Remove an agent from the hive |
|
|
24
|
-
| `consensus` | Manage consensus proposals and voting |
|
|
25
|
-
| `broadcast` | Broadcast a message to all workers |
|
|
26
|
-
| `memory` | Access and manage hive shared memory |
|
|
27
|
-
| `optimize-memory` | Optimize hive memory patterns and consolidation |
|
|
28
|
-
| `shutdown` | Gracefully shutdown the hive mind |
|
|
29
|
-
|
|
30
|
-
## Topologies
|
|
31
|
-
|
|
32
|
-
| Topology | Description |
|
|
33
|
-
|---|---|
|
|
34
|
-
| `hierarchical` | Queen controls workers directly — tight coordination for small teams |
|
|
35
|
-
| `mesh` | Peer-to-peer coordination among all agents |
|
|
36
|
-
| `hierarchical-mesh` | Queen + peer communication — recommended for 10+ agents |
|
|
37
|
-
| `adaptive` | Dynamic topology based on task load |
|
|
38
|
-
|
|
39
|
-
## Consensus Strategies
|
|
40
|
-
|
|
41
|
-
| Strategy | Description |
|
|
42
|
-
|---|---|
|
|
43
|
-
| `byzantine` | BFT — tolerates f < n/3 faulty agents (default) |
|
|
44
|
-
| `raft` | Leader-based — tolerates f < n/2 |
|
|
45
|
-
| `gossip` | Eventually consistent, scales well |
|
|
46
|
-
| `crdt` | Conflict-free replicated data types |
|
|
47
|
-
| `quorum` | Simple majority voting |
|
|
48
|
-
|
|
49
|
-
## Quick Start
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
# 1. Initialize hive with recommended topology
|
|
53
|
-
npx monomind hive-mind init -t hierarchical-mesh -c byzantine
|
|
54
|
-
|
|
55
|
-
# 2. Spawn workers
|
|
56
|
-
npx monomind hive-mind spawn -n 5 -r specialist
|
|
57
|
-
|
|
58
|
-
# 3. (Optional) Launch Claude Code as the Queen coordinator
|
|
59
|
-
npx monomind hive-mind spawn --claude -o "Build a REST API with auth"
|
|
60
|
-
|
|
61
|
-
# 4. Check status
|
|
62
|
-
npx monomind hive-mind status --detailed
|
|
63
|
-
|
|
64
|
-
# 5. Submit a task
|
|
65
|
-
npx monomind hive-mind task -d "Implement authentication module" -p high
|
|
66
|
-
|
|
67
|
-
# 6. Shutdown when done
|
|
68
|
-
npx monomind hive-mind shutdown --save-state
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## MCP Tools
|
|
72
|
-
|
|
73
|
-
All subcommands call their corresponding MCP tool:
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
mcp__monomind__hive-mind_init
|
|
77
|
-
mcp__monomind__hive-mind_spawn
|
|
78
|
-
mcp__monomind__hive-mind_status
|
|
79
|
-
mcp__monomind__hive-mind_task
|
|
80
|
-
mcp__monomind__hive-mind_join
|
|
81
|
-
mcp__monomind__hive-mind_leave
|
|
82
|
-
mcp__monomind__hive-mind_consensus
|
|
83
|
-
mcp__monomind__hive-mind_broadcast
|
|
84
|
-
mcp__monomind__hive-mind_memory
|
|
85
|
-
mcp__monomind__hive-mind_optimize-memory
|
|
86
|
-
mcp__monomind__hive-mind_shutdown
|
|
87
|
-
```
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: swarm-README
|
|
3
|
-
description: Swarm skill index — lists all available swarm coordination skills and strategies for multi-agent task execution
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Swarm Skills
|
|
7
|
-
|
|
8
|
-
Multi-agent swarm coordination for Monomind.
|
|
9
|
-
|
|
10
|
-
## Core Skills
|
|
11
|
-
|
|
12
|
-
- [swarm](./swarm.md) — Main swarm skill: how to start and coordinate swarms
|
|
13
|
-
|
|
14
|
-
## Strategy Skills
|
|
15
|
-
|
|
16
|
-
- [analysis](./analysis.md) — Distributed analysis via coordinated agents
|
|
17
|
-
- [development](./development.md) — Coordinated development teams
|
|
18
|
-
- [research](./research.md) — Parallel information gathering
|
|
19
|
-
- [testing](./testing.md) — Distributed test execution
|
|
20
|
-
- [maintenance](./maintenance.md) — System maintenance coordination
|
|
21
|
-
- [optimization](./optimization.md) — Performance optimization swarms
|
|
22
|
-
- [examples](./examples.md) — Common swarm patterns and recipes
|
|
23
|
-
|
|
24
|
-
## Reference Skills
|
|
25
|
-
|
|
26
|
-
- [swarm-status](./swarm-status.md) — Check swarm health and agent progress
|
|
27
|
-
- [swarm-monitor](./swarm-monitor.md) — Monitor running swarms
|
|
28
|
-
- [swarm-modes](./swarm-modes.md) — Topology modes: hierarchical, mesh, star
|
|
29
|
-
- [swarm-strategies](./swarm-strategies.md) — Strategy selection guide
|
|
30
|
-
- [swarm-background](./swarm-background.md) — Running swarms in the background
|
|
31
|
-
- [swarm-analysis](./swarm-analysis.md) — Swarm performance analysis
|
|
32
|
-
|
|
33
|
-
## Quick Start
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
# Initialize and start a swarm via CLI
|
|
37
|
-
npx monomind swarm init --topology hierarchical --max-agents 8
|
|
38
|
-
npx monomind swarm start "Build REST API" --strategy development
|
|
39
|
-
npx monomind swarm status
|
|
40
|
-
```
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: swarm-swarm
|
|
3
|
-
description: Main swarm skill — initializes and starts multi-agent swarms for research, development, analysis, testing, optimization, and maintenance tasks
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Swarm Orchestration
|
|
7
|
-
|
|
8
|
-
Start and coordinate multi-agent swarms for complex tasks.
|
|
9
|
-
|
|
10
|
-
## How to Invoke
|
|
11
|
-
|
|
12
|
-
In Claude Code, load this skill:
|
|
13
|
-
```
|
|
14
|
-
Skill("swarm:swarm")
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Then describe what you want to accomplish:
|
|
18
|
-
> "Start a development swarm to build a REST API with auth endpoints."
|
|
19
|
-
> "Run a research swarm on AI agent coordination patterns."
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## CLI Reference
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
# Initialize a swarm
|
|
27
|
-
npx monomind swarm init --topology hierarchical --max-agents 8 --strategy specialized
|
|
28
|
-
|
|
29
|
-
# Start a swarm with an objective
|
|
30
|
-
npx monomind swarm start "Build REST API" --strategy development --parallel
|
|
31
|
-
|
|
32
|
-
# Check swarm status
|
|
33
|
-
npx monomind swarm status
|
|
34
|
-
|
|
35
|
-
# Stop the swarm
|
|
36
|
-
npx monomind swarm stop
|
|
37
|
-
|
|
38
|
-
# Scale agents
|
|
39
|
-
npx monomind swarm scale <swarm-id> --agents 12
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## MCP Tools
|
|
43
|
-
|
|
44
|
-
```javascript
|
|
45
|
-
// Initialize swarm
|
|
46
|
-
mcp__monomind__swarm_init({
|
|
47
|
-
topology: "hierarchical",
|
|
48
|
-
maxAgents: 8,
|
|
49
|
-
strategy: "specialized"
|
|
50
|
-
})
|
|
51
|
-
|
|
52
|
-
// Check status
|
|
53
|
-
mcp__monomind__swarm_status({ swarmId: "current" })
|
|
54
|
-
|
|
55
|
-
// Coordinate tasks
|
|
56
|
-
mcp__monomind__coordination_orchestrate({ task: "build feature", strategy: "parallel" })
|
|
57
|
-
|
|
58
|
-
// Spawn an agent
|
|
59
|
-
mcp__monomind__agent_spawn({ type: "coder", capabilities: ["typescript", "api"] })
|
|
60
|
-
|
|
61
|
-
// Shut down swarm
|
|
62
|
-
mcp__monomind__swarm_shutdown({ swarmId: "current" })
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Strategy Selection
|
|
66
|
-
|
|
67
|
-
| Strategy | Topology | Use when |
|
|
68
|
-
|----------|----------|----------|
|
|
69
|
-
| research | mesh | Gathering information from multiple sources in parallel |
|
|
70
|
-
| development | hierarchical | Building features with architect → coder → tester flow |
|
|
71
|
-
| analysis | mesh | Distributed codebase or performance analysis |
|
|
72
|
-
| testing | star | Parallel test suite execution |
|
|
73
|
-
| optimization | mesh | Performance profiling and bottleneck resolution |
|
|
74
|
-
| maintenance | star | Sequential dependency updates with checkpoints |
|
|
75
|
-
|
|
76
|
-
## See Also
|
|
77
|
-
- `swarm:examples` — Common swarm patterns with full code
|
|
78
|
-
- `swarm:swarm-modes` — Topology reference
|
|
79
|
-
- `swarm:swarm-strategies` — Strategy selection guide
|