@monoes/monomindcli 2.9.22 → 2.9.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.
- 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/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +8 -9
- package/dist/src/agents/registry-builder.js.map +1 -1
- 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 +6 -21
- package/dist/src/autopilot-state.js.map +1 -1
- package/dist/src/browser/action-builder/analyzer.d.ts.map +1 -1
- package/dist/src/browser/action-builder/analyzer.js +6 -6
- package/dist/src/browser/action-builder/analyzer.js.map +1 -1
- package/dist/src/browser/action-builder/types.d.ts.map +1 -1
- package/dist/src/browser/adapters/gemini.d.ts.map +1 -1
- package/dist/src/browser/adapters/index.d.ts.map +1 -1
- package/dist/src/browser/adapters/index.js +2 -2
- package/dist/src/browser/adapters/index.js.map +1 -1
- package/dist/src/browser/adapters/instagram.d.ts.map +1 -1
- package/dist/src/browser/adapters/linkedin.d.ts.map +1 -1
- package/dist/src/browser/adapters/linkedin.js +9 -1
- package/dist/src/browser/adapters/linkedin.js.map +1 -1
- package/dist/src/browser/adapters/x.d.ts.map +1 -1
- package/dist/src/browser/adapters/x.js +14 -2
- package/dist/src/browser/adapters/x.js.map +1 -1
- package/dist/src/browser/dashboard/server.d.ts.map +1 -1
- package/dist/src/browser/dashboard/server.js +23 -13
- package/dist/src/browser/dashboard/server.js.map +1 -1
- package/dist/src/browser/dashboard/ui.html +5 -5
- package/dist/src/browser/workflow/engine.d.ts +1 -1
- package/dist/src/browser/workflow/engine.d.ts.map +1 -1
- package/dist/src/browser/workflow/engine.js +74 -25
- package/dist/src/browser/workflow/engine.js.map +1 -1
- package/dist/src/browser/workflow/store.d.ts +1 -1
- package/dist/src/browser/workflow/store.d.ts.map +1 -1
- package/dist/src/browser/workflow/store.js +54 -26
- package/dist/src/browser/workflow/store.js.map +1 -1
- package/dist/src/browser/workflow/types.d.ts.map +1 -1
- package/dist/src/capabilities/cap-code.d.ts.map +1 -1
- package/dist/src/capabilities/cap-code.js.map +1 -1
- package/dist/src/capabilities/cap-data.d.ts.map +1 -1
- package/dist/src/capabilities/cap-data.js +28 -8
- package/dist/src/capabilities/cap-data.js.map +1 -1
- package/dist/src/capabilities/cap-documents.d.ts.map +1 -1
- package/dist/src/capabilities/cap-documents.js +136 -54
- package/dist/src/capabilities/cap-documents.js.map +1 -1
- package/dist/src/capabilities/cap-graph.d.ts.map +1 -1
- package/dist/src/capabilities/cap-graph.js +3 -3
- package/dist/src/capabilities/cap-graph.js.map +1 -1
- package/dist/src/capabilities/cap-media.d.ts.map +1 -1
- package/dist/src/capabilities/cap-media.js +1 -1
- package/dist/src/capabilities/cap-media.js.map +1 -1
- package/dist/src/capabilities/cap-timeline.d.ts.map +1 -1
- package/dist/src/capabilities/cap-timeline.js +33 -7
- package/dist/src/capabilities/cap-timeline.js.map +1 -1
- package/dist/src/capabilities/index.d.ts +5 -5
- package/dist/src/capabilities/index.d.ts.map +1 -1
- package/dist/src/capabilities/index.js +5 -5
- package/dist/src/capabilities/index.js.map +1 -1
- package/dist/src/capabilities/manager.d.ts.map +1 -1
- package/dist/src/capabilities/manager.js +6 -6
- package/dist/src/capabilities/manager.js.map +1 -1
- package/dist/src/capabilities/scanner.d.ts.map +1 -1
- package/dist/src/capabilities/scanner.js +103 -14
- package/dist/src/capabilities/scanner.js.map +1 -1
- package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
- package/dist/src/commands/agent-lifecycle.js +120 -41
- 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 +107 -41
- package/dist/src/commands/agent-ops.js.map +1 -1
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +11 -3
- package/dist/src/commands/agent.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 +47 -41
- package/dist/src/commands/analyze-ast.js.map +1 -1
- package/dist/src/commands/analyze-diff.d.ts.map +1 -1
- package/dist/src/commands/analyze-diff.js +147 -35
- package/dist/src/commands/analyze-diff.js.map +1 -1
- package/dist/src/commands/analyze-imports.d.ts.map +1 -1
- package/dist/src/commands/analyze-imports.js +74 -30
- 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 +55 -41
- 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 +90 -28
- 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 +5 -90
- package/dist/src/commands/autopilot.js.map +1 -1
- package/dist/src/commands/browse-action.d.ts.map +1 -1
- package/dist/src/commands/browse-action.js +65 -17
- package/dist/src/commands/browse-action.js.map +1 -1
- package/dist/src/commands/browse-platform.d.ts.map +1 -1
- package/dist/src/commands/browse-platform.js +13 -10
- package/dist/src/commands/browse-platform.js.map +1 -1
- package/dist/src/commands/browse-workflow.d.ts.map +1 -1
- package/dist/src/commands/browse-workflow.js +54 -20
- package/dist/src/commands/browse-workflow.js.map +1 -1
- package/dist/src/commands/browse.d.ts +1 -1
- package/dist/src/commands/browse.js +2 -2
- package/dist/src/commands/browse.js.map +1 -1
- package/dist/src/commands/cleanup.d.ts.map +1 -1
- package/dist/src/commands/cleanup.js +115 -49
- 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 +34 -21
- package/dist/src/commands/completions.js.map +1 -1
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +95 -54
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/crash-reporting.d.ts.map +1 -1
- package/dist/src/commands/crash-reporting.js +10 -4
- package/dist/src/commands/crash-reporting.js.map +1 -1
- package/dist/src/commands/design-detect.d.ts.map +1 -1
- package/dist/src/commands/design-detect.js +33 -12
- package/dist/src/commands/design-detect.js.map +1 -1
- package/dist/src/commands/design-palette.d.ts.map +1 -1
- package/dist/src/commands/design-palette.js +770 -380
- package/dist/src/commands/design-palette.js.map +1 -1
- package/dist/src/commands/doc.d.ts.map +1 -1
- package/dist/src/commands/doc.js +272 -60
- package/dist/src/commands/doc.js.map +1 -1
- package/dist/src/commands/doctor-env-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-env-checks.js +130 -31
- package/dist/src/commands/doctor-env-checks.js.map +1 -1
- package/dist/src/commands/doctor-monoes-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-monoes-checks.js +20 -7
- package/dist/src/commands/doctor-monoes-checks.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 +476 -114
- 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 +139 -60
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/download-embeddings.d.ts.map +1 -1
- package/dist/src/commands/download-embeddings.js +1 -1
- package/dist/src/commands/download-embeddings.js.map +1 -1
- package/dist/src/commands/events.d.ts.map +1 -1
- package/dist/src/commands/events.js +5 -2
- package/dist/src/commands/events.js.map +1 -1
- package/dist/src/commands/guidance.d.ts.map +1 -1
- package/dist/src/commands/guidance.js +38 -14
- package/dist/src/commands/guidance.js.map +1 -1
- package/dist/src/commands/hooks-core-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-core-commands.js +71 -44
- package/dist/src/commands/hooks-core-commands.js.map +1 -1
- package/dist/src/commands/hooks-coverage-commands.d.ts +1 -2
- package/dist/src/commands/hooks-coverage-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-coverage-commands.js +140 -58
- package/dist/src/commands/hooks-coverage-commands.js.map +1 -1
- package/dist/src/commands/hooks-coverage-gaps.d.ts.map +1 -1
- package/dist/src/commands/hooks-coverage-gaps.js +74 -36
- package/dist/src/commands/hooks-coverage-gaps.js.map +1 -1
- package/dist/src/commands/hooks-coverage-routing.d.ts.map +1 -1
- package/dist/src/commands/hooks-coverage-routing.js +139 -66
- package/dist/src/commands/hooks-coverage-routing.js.map +1 -1
- package/dist/src/commands/hooks-coverage-utils.d.ts.map +1 -1
- package/dist/src/commands/hooks-coverage-utils.js +27 -8
- package/dist/src/commands/hooks-coverage-utils.js.map +1 -1
- package/dist/src/commands/hooks-extended-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-extended-commands.js +86 -21
- package/dist/src/commands/hooks-extended-commands.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 +175 -183
- 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 +111 -128
- 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 +9 -12
- 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 +16 -5
- package/dist/src/commands/init-subcommands.js.map +1 -1
- package/dist/src/commands/init-upgrade.d.ts.map +1 -1
- package/dist/src/commands/init-upgrade.js +46 -23
- package/dist/src/commands/init-upgrade.js.map +1 -1
- package/dist/src/commands/init-wizard.d.ts.map +1 -1
- package/dist/src/commands/init-wizard.js +161 -44
- 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 +179 -64
- 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 +229 -134
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/memory-admin.d.ts.map +1 -1
- package/dist/src/commands/memory-admin.js +67 -48
- package/dist/src/commands/memory-admin.js.map +1 -1
- package/dist/src/commands/memory-crud.d.ts.map +1 -1
- package/dist/src/commands/memory-crud.js +97 -60
- package/dist/src/commands/memory-crud.js.map +1 -1
- package/dist/src/commands/memory-list.d.ts.map +1 -1
- package/dist/src/commands/memory-list.js +6 -6
- package/dist/src/commands/memory-list.js.map +1 -1
- package/dist/src/commands/memory-transfer.d.ts.map +1 -1
- package/dist/src/commands/memory-transfer.js +46 -23
- package/dist/src/commands/memory-transfer.js.map +1 -1
- package/dist/src/commands/memory.d.ts.map +1 -1
- package/dist/src/commands/memory.js +63 -35
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +170 -57
- package/dist/src/commands/monograph.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} +93 -315
- 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 +123 -32
- 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 +95 -130
- 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 +70 -181
- 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 +308 -131
- package/dist/src/commands/org-observe.js.map +1 -1
- package/dist/src/commands/org-visualize.d.ts.map +1 -1
- package/dist/src/commands/org-visualize.js +10 -5
- package/dist/src/commands/org-visualize.js.map +1 -1
- package/dist/src/commands/org.d.ts +15 -1
- package/dist/src/commands/org.d.ts.map +1 -1
- package/dist/src/commands/org.js +663 -193
- 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 +232 -79
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/platforms.d.ts +1 -1
- package/dist/src/commands/platforms.d.ts.map +1 -1
- package/dist/src/commands/platforms.js +89 -49
- package/dist/src/commands/platforms.js.map +1 -1
- package/dist/src/commands/providers.d.ts.map +1 -1
- package/dist/src/commands/providers.js +31 -18
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/report-crash.d.ts.map +1 -1
- package/dist/src/commands/report-crash.js +17 -5
- package/dist/src/commands/report-crash.js.map +1 -1
- package/dist/src/commands/route.d.ts.map +1 -1
- package/dist/src/commands/route.js +123 -41
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/search-universal.d.ts +1 -1
- package/dist/src/commands/search-universal.d.ts.map +1 -1
- package/dist/src/commands/search-universal.js +29 -14
- package/dist/src/commands/search-universal.js.map +1 -1
- package/dist/src/commands/security-cve.d.ts.map +1 -1
- package/dist/src/commands/security-cve.js +75 -34
- package/dist/src/commands/security-cve.js.map +1 -1
- package/dist/src/commands/security-misc.d.ts.map +1 -1
- package/dist/src/commands/security-misc.js +362 -102
- 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 +222 -57
- package/dist/src/commands/security-scan.js.map +1 -1
- package/dist/src/commands/security.d.ts.map +1 -1
- package/dist/src/commands/security.js +10 -3
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/commands/session.d.ts.map +1 -1
- package/dist/src/commands/session.js +81 -75
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/commands/start.d.ts.map +1 -1
- package/dist/src/commands/start.js +59 -129
- 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 +151 -130
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/task.d.ts.map +1 -1
- package/dist/src/commands/task.js +115 -84
- package/dist/src/commands/task.js.map +1 -1
- package/dist/src/commands/tokens.d.ts.map +1 -1
- package/dist/src/commands/tokens.js +67 -32
- package/dist/src/commands/tokens.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +3 -5
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts +7 -2
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js +19 -11
- package/dist/src/consensus/audit-writer.js.map +1 -1
- package/dist/src/consensus/tally.d.ts.map +1 -1
- package/dist/src/consensus/tally.js +2 -2
- package/dist/src/consensus/tally.js.map +1 -1
- package/dist/src/index.d.ts +7 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +51 -43
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +52 -36
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/codex-generator.d.ts +16 -0
- package/dist/src/init/codex-generator.d.ts.map +1 -0
- package/dist/src/init/codex-generator.js +180 -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 +17 -20
- package/dist/src/init/copy-assets.js.map +1 -1
- package/dist/src/init/executor.d.ts +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +56 -29
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/geminimd-generator.d.ts +1 -1
- package/dist/src/init/geminimd-generator.d.ts.map +1 -1
- package/dist/src/init/geminimd-generator.js +2 -2
- package/dist/src/init/geminimd-generator.js.map +1 -1
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +7 -7
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/index.d.ts +8 -7
- package/dist/src/init/index.d.ts.map +1 -1
- package/dist/src/init/index.js +9 -8
- package/dist/src/init/index.js.map +1 -1
- package/dist/src/init/kimi-generator.d.ts +1 -1
- package/dist/src/init/kimi-generator.d.ts.map +1 -1
- package/dist/src/init/kimi-generator.js +34 -28
- package/dist/src/init/kimi-generator.js.map +1 -1
- package/dist/src/init/mcp-generator.d.ts.map +1 -1
- package/dist/src/init/mcp-generator.js +3 -11
- package/dist/src/init/mcp-generator.js.map +1 -1
- package/dist/src/init/opencode-generator.d.ts.map +1 -1
- package/dist/src/init/opencode-generator.js +35 -22
- 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 +3 -7
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared-instructions-generator.d.ts.map +1 -1
- package/dist/src/init/shared-instructions-generator.js +124 -76
- package/dist/src/init/shared-instructions-generator.js.map +1 -1
- package/dist/src/init/shared.d.ts.map +1 -1
- package/dist/src/init/shared.js +26 -25
- 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 +10 -8
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/init/upgrade.d.ts.map +1 -1
- package/dist/src/init/upgrade.js +24 -22
- package/dist/src/init/upgrade.js.map +1 -1
- package/dist/src/init/write-antigravity.d.ts.map +1 -1
- package/dist/src/init/write-antigravity.js +15 -7
- package/dist/src/init/write-antigravity.js.map +1 -1
- package/dist/src/init/write-capabilities.d.ts.map +1 -1
- package/dist/src/init/write-capabilities.js +39 -52
- package/dist/src/init/write-capabilities.js.map +1 -1
- package/dist/src/init/write-claude.d.ts.map +1 -1
- package/dist/src/init/write-claude.js +19 -15
- 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 +122 -0
- package/dist/src/init/write-codex.js.map +1 -0
- package/dist/src/init/write-kimicode.d.ts.map +1 -1
- package/dist/src/init/write-kimicode.js +10 -6
- package/dist/src/init/write-kimicode.js.map +1 -1
- package/dist/src/init/write-opencode.d.ts.map +1 -1
- package/dist/src/init/write-opencode.js +4 -4
- package/dist/src/init/write-opencode.js.map +1 -1
- package/dist/src/init/write-runtime-config.d.ts.map +1 -1
- package/dist/src/init/write-runtime-config.js +24 -24
- package/dist/src/init/write-runtime-config.js.map +1 -1
- package/dist/src/init/write-sample-org.js +1 -1
- package/dist/src/init/write-sample-org.js.map +1 -1
- package/dist/src/knowledge/document-pipeline.d.ts.map +1 -1
- package/dist/src/knowledge/document-pipeline.js +144 -48
- package/dist/src/knowledge/document-pipeline.js.map +1 -1
- package/dist/src/knowledge/eval/corpus.d.ts.map +1 -1
- package/dist/src/knowledge/eval/corpus.js +18 -9
- package/dist/src/knowledge/eval/corpus.js.map +1 -1
- package/dist/src/knowledge/eval/golden-set.d.ts.map +1 -1
- package/dist/src/knowledge/eval/golden-set.js +4286 -136
- package/dist/src/knowledge/eval/golden-set.js.map +1 -1
- package/dist/src/knowledge/eval/harness.d.ts +2 -2
- package/dist/src/knowledge/eval/harness.d.ts.map +1 -1
- package/dist/src/knowledge/eval/harness.js +163 -70
- package/dist/src/knowledge/eval/harness.js.map +1 -1
- package/dist/src/knowledge/eval/metrics.d.ts.map +1 -1
- package/dist/src/knowledge/eval/metrics.js +25 -18
- package/dist/src/knowledge/eval/metrics.js.map +1 -1
- package/dist/src/knowledge/eval/model-presence.d.ts.map +1 -1
- package/dist/src/knowledge/eval/model-presence.js +40 -14
- package/dist/src/knowledge/eval/model-presence.js.map +1 -1
- package/dist/src/knowledge/eval/network-guard.d.ts.map +1 -1
- package/dist/src/knowledge/eval/network-guard.js +22 -10
- package/dist/src/knowledge/eval/network-guard.js.map +1 -1
- package/dist/src/knowledge/eval/retrievers.d.ts.map +1 -1
- package/dist/src/knowledge/eval/retrievers.js +14 -10
- package/dist/src/knowledge/eval/retrievers.js.map +1 -1
- package/dist/src/knowledge/eval/signals.d.ts.map +1 -1
- package/dist/src/knowledge/eval/signals.js +54 -18
- package/dist/src/knowledge/eval/signals.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +70 -35
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.d.ts +1 -9
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +20 -43
- 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 +87 -52
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.js +34 -17
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/auto-install.d.ts.map +1 -1
- package/dist/src/mcp-tools/auto-install.js +3 -3
- package/dist/src/mcp-tools/auto-install.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 +32 -70
- package/dist/src/mcp-tools/autopilot-tools.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +119 -37
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/claims-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/claims-tools.js +100 -44
- package/dist/src/mcp-tools/claims-tools.js.map +1 -1
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/config-tools.js +36 -15
- package/dist/src/mcp-tools/config-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +34 -23
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/github-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/github-tools.js +200 -43
- package/dist/src/mcp-tools/github-tools.js.map +1 -1
- package/dist/src/mcp-tools/graphify-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/graphify-tools.js +2 -2
- package/dist/src/mcp-tools/graphify-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 +461 -115
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-embedding.d.ts +0 -6
- package/dist/src/mcp-tools/hooks-embedding.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-embedding.js +170 -59
- package/dist/src/mcp-tools/hooks-embedding.js.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.d.ts +0 -9
- package/dist/src/mcp-tools/hooks-intelligence.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.js +64 -119
- 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 +92 -165
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts +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 +18 -19
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +18 -19
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/knowledge-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/knowledge-tools.js +88 -28
- package/dist/src/mcp-tools/knowledge-tools.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +157 -40
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/monodesign-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monodesign-tools.js +63 -22
- package/dist/src/mcp-tools/monodesign-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/agent-history-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/agent-history-tools.js +22 -9
- package/dist/src/mcp-tools/monograph/agent-history-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.js +37 -16
- package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/group-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/group-tools.js +57 -20
- package/dist/src/mcp-tools/monograph/group-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/health-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/health-tools.js +13 -7
- package/dist/src/mcp-tools/monograph/health-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/impact-tools.js +6 -6
- package/dist/src/mcp-tools/monograph/impact-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/index.js +8 -8
- package/dist/src/mcp-tools/monograph/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph/query-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/query-tools.js +140 -65
- package/dist/src/mcp-tools/monograph/query-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph/shared.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/shared.js +42 -22
- package/dist/src/mcp-tools/monograph/shared.js.map +1 -1
- package/dist/src/mcp-tools/monograph/visualize-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/visualize-tools.js +87 -36
- package/dist/src/mcp-tools/monograph/visualize-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.js +25 -14
- package/dist/src/mcp-tools/monograph-compat.js.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +1 -1
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/monomind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monomind-tools.js +1 -1
- package/dist/src/mcp-tools/monomind-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 +1289 -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 +305 -101
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/mcp-tools/quality/coverage-analysis/prioritize-gaps.d.ts.map +1 -1
- package/dist/src/mcp-tools/quality/coverage-analysis/prioritize-gaps.js +9 -4
- package/dist/src/mcp-tools/quality/coverage-analysis/prioritize-gaps.js.map +1 -1
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.d.ts +1 -1
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.d.ts.map +1 -1
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.js +36 -14
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.js.map +1 -1
- package/dist/src/mcp-tools/quality-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/quality-tools.js.map +1 -1
- package/dist/src/mcp-tools/request-tracker.d.ts.map +1 -1
- package/dist/src/mcp-tools/request-tracker.js +2 -1
- package/dist/src/mcp-tools/request-tracker.js.map +1 -1
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/security-tools.js +117 -53
- package/dist/src/mcp-tools/security-tools.js.map +1 -1
- package/dist/src/mcp-tools/session-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/session-tools.js +22 -13
- package/dist/src/mcp-tools/session-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 +37 -20
- package/dist/src/mcp-tools/system-tools.js.map +1 -1
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/task-tools.js +59 -22
- package/dist/src/mcp-tools/task-tools.js.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +43 -16
- package/dist/src/mcp-tools/terminal-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 +11 -14
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/mcp-tools/types.d.ts +1 -1
- package/dist/src/mcp-tools/types.d.ts.map +1 -1
- package/dist/src/mcp-tools/types.js +1 -1
- package/dist/src/mcp-tools/types.js.map +1 -1
- package/dist/src/memory/bm25-index.d.ts.map +1 -1
- package/dist/src/memory/bm25-index.js.map +1 -1
- package/dist/src/memory/embedding-operations.d.ts.map +1 -1
- package/dist/src/memory/embedding-operations.js +23 -56
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/ewc-consolidation.d.ts.map +1 -1
- package/dist/src/memory/ewc-consolidation.js +31 -27
- package/dist/src/memory/ewc-consolidation.js.map +1 -1
- package/dist/src/memory/hnsw-operations.d.ts +15 -75
- package/dist/src/memory/hnsw-operations.d.ts.map +1 -1
- package/dist/src/memory/hnsw-operations.js +27 -268
- 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 +130 -91
- 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 +40 -41
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-crud.d.ts +1 -1
- package/dist/src/memory/memory-crud.d.ts.map +1 -1
- package/dist/src/memory/memory-crud.js +82 -67
- package/dist/src/memory/memory-crud.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts +7 -8
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +38 -35
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/memory-kg.d.ts.map +1 -1
- package/dist/src/memory/memory-kg.js +173 -41
- package/dist/src/memory/memory-kg.js.map +1 -1
- package/dist/src/memory/memory-migrations.d.ts.map +1 -1
- package/dist/src/memory/memory-migrations.js +11 -7
- package/dist/src/memory/memory-migrations.js.map +1 -1
- package/dist/src/memory/memory-read.d.ts.map +1 -1
- package/dist/src/memory/memory-read.js +50 -35
- package/dist/src/memory/memory-read.js.map +1 -1
- package/dist/src/memory/query-router.d.ts.map +1 -1
- package/dist/src/memory/query-router.js +29 -12
- package/dist/src/memory/query-router.js.map +1 -1
- package/dist/src/memory/sona-optimizer.d.ts +1 -1
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
- package/dist/src/memory/sona-optimizer.js +164 -42
- package/dist/src/memory/sona-optimizer.js.map +1 -1
- package/dist/src/memory/text-tokens.d.ts.map +1 -1
- package/dist/src/memory/text-tokens.js +78 -8
- package/dist/src/memory/text-tokens.js.map +1 -1
- package/dist/src/monovector/command-outcomes.d.ts.map +1 -1
- package/dist/src/monovector/command-outcomes.js +23 -8
- package/dist/src/monovector/command-outcomes.js.map +1 -1
- package/dist/src/monovector/coverage-router.d.ts.map +1 -1
- package/dist/src/monovector/coverage-router.js +29 -14
- package/dist/src/monovector/coverage-router.js.map +1 -1
- package/dist/src/monovector/coverage-tools.d.ts.map +1 -1
- package/dist/src/monovector/coverage-tools.js +21 -6
- package/dist/src/monovector/coverage-tools.js.map +1 -1
- package/dist/src/monovector/diff-classifier.d.ts +1 -1
- package/dist/src/monovector/diff-classifier.d.ts.map +1 -1
- package/dist/src/monovector/diff-classifier.js +100 -45
- package/dist/src/monovector/diff-classifier.js.map +1 -1
- package/dist/src/monovector/index.d.ts +3 -4
- package/dist/src/monovector/index.d.ts.map +1 -1
- package/dist/src/monovector/index.js +18 -6
- package/dist/src/monovector/index.js.map +1 -1
- package/dist/src/monovector/init-state.d.ts.map +1 -1
- package/dist/src/monovector/init-state.js +15 -5
- package/dist/src/monovector/init-state.js.map +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/monovector/route-outcomes.d.ts.map +1 -1
- package/dist/src/monovector/route-outcomes.js +40 -21
- package/dist/src/monovector/route-outcomes.js.map +1 -1
- package/dist/src/observability/replay-reader.d.ts.map +1 -1
- package/dist/src/observability/replay-reader.js +6 -8
- package/dist/src/observability/replay-reader.js.map +1 -1
- package/dist/src/orgrt/agent-runner.d.ts +9 -3
- package/dist/src/orgrt/agent-runner.d.ts.map +1 -1
- package/dist/src/orgrt/agent-runner.js +1 -1
- package/dist/src/orgrt/agent-runner.js.map +1 -1
- package/dist/src/orgrt/antigravity-runner.d.ts +26 -3
- package/dist/src/orgrt/antigravity-runner.d.ts.map +1 -1
- package/dist/src/orgrt/antigravity-runner.js +295 -125
- 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 +32 -8
- package/dist/src/orgrt/approvals.js.map +1 -1
- package/dist/src/orgrt/broker.d.ts.map +1 -1
- package/dist/src/orgrt/broker.js +11 -4
- package/dist/src/orgrt/broker.js.map +1 -1
- package/dist/src/orgrt/bus.d.ts.map +1 -1
- package/dist/src/orgrt/bus.js +28 -15
- package/dist/src/orgrt/bus.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 +47 -36
- 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 +22 -4
- package/dist/src/orgrt/checkpoint.js.map +1 -1
- package/dist/src/orgrt/codex-runner.d.ts +27 -3
- package/dist/src/orgrt/codex-runner.d.ts.map +1 -1
- package/dist/src/orgrt/codex-runner.js +387 -129
- package/dist/src/orgrt/codex-runner.js.map +1 -1
- package/dist/src/orgrt/copilot-runner.d.ts +1 -1
- package/dist/src/orgrt/copilot-runner.d.ts.map +1 -1
- package/dist/src/orgrt/copilot-runner.js +60 -18
- 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 +224 -41
- package/dist/src/orgrt/cross-org.js.map +1 -1
- package/dist/src/orgrt/crush-runner.d.ts +5 -2
- package/dist/src/orgrt/crush-runner.d.ts.map +1 -1
- package/dist/src/orgrt/crush-runner.js +93 -47
- package/dist/src/orgrt/crush-runner.js.map +1 -1
- package/dist/src/orgrt/daemon.d.ts +42 -30
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +199 -69
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/decisions.d.ts +3 -2
- package/dist/src/orgrt/decisions.d.ts.map +1 -1
- package/dist/src/orgrt/decisions.js +101 -32
- package/dist/src/orgrt/decisions.js.map +1 -1
- package/dist/src/orgrt/fence.d.ts +2 -2
- package/dist/src/orgrt/fence.d.ts.map +1 -1
- package/dist/src/orgrt/fence.js +13 -5
- package/dist/src/orgrt/fence.js.map +1 -1
- package/dist/src/orgrt/forwarder.js +1 -1
- package/dist/src/orgrt/forwarder.js.map +1 -1
- package/dist/src/orgrt/grok-runner.d.ts +1 -1
- package/dist/src/orgrt/grok-runner.d.ts.map +1 -1
- package/dist/src/orgrt/grok-runner.js +75 -30
- package/dist/src/orgrt/grok-runner.js.map +1 -1
- package/dist/src/orgrt/inbox.d.ts.map +1 -1
- package/dist/src/orgrt/inbox.js +5 -3
- package/dist/src/orgrt/inbox.js.map +1 -1
- package/dist/src/orgrt/kimicode-runner.d.ts +54 -8
- package/dist/src/orgrt/kimicode-runner.d.ts.map +1 -1
- package/dist/src/orgrt/kimicode-runner.js +278 -151
- 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 +88 -6
- package/dist/src/orgrt/mailbox.js.map +1 -1
- package/dist/src/orgrt/migrate.d.ts.map +1 -1
- package/dist/src/orgrt/migrate.js +38 -25
- package/dist/src/orgrt/migrate.js.map +1 -1
- package/dist/src/orgrt/opencode-runner.d.ts +1 -1
- package/dist/src/orgrt/opencode-runner.d.ts.map +1 -1
- package/dist/src/orgrt/opencode-runner.js +16 -5
- package/dist/src/orgrt/opencode-runner.js.map +1 -1
- package/dist/src/orgrt/org-memory.d.ts +2 -2
- package/dist/src/orgrt/org-memory.d.ts.map +1 -1
- package/dist/src/orgrt/org-memory.js +66 -26
- package/dist/src/orgrt/org-memory.js.map +1 -1
- package/dist/src/orgrt/pi-rpc-runner.d.ts +1 -1
- package/dist/src/orgrt/pi-rpc-runner.d.ts.map +1 -1
- package/dist/src/orgrt/pi-rpc-runner.js +134 -114
- package/dist/src/orgrt/pi-rpc-runner.js.map +1 -1
- package/dist/src/orgrt/pi-runner.d.ts +1 -1
- package/dist/src/orgrt/pi-runner.d.ts.map +1 -1
- package/dist/src/orgrt/pi-runner.js +35 -16
- package/dist/src/orgrt/pi-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 +86 -18
- package/dist/src/orgrt/policy.js.map +1 -1
- package/dist/src/orgrt/prechecks.d.ts.map +1 -1
- package/dist/src/orgrt/prechecks.js +9 -4
- package/dist/src/orgrt/prechecks.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/questions.d.ts.map +1 -1
- package/dist/src/orgrt/questions.js +34 -10
- package/dist/src/orgrt/questions.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 +381 -0
- package/dist/src/orgrt/qwen-rpc-runner.js.map +1 -0
- package/dist/src/orgrt/qwen-runner.d.ts +1 -1
- package/dist/src/orgrt/qwen-runner.d.ts.map +1 -1
- package/dist/src/orgrt/qwen-runner.js +42 -23
- package/dist/src/orgrt/qwen-runner.js.map +1 -1
- package/dist/src/orgrt/remote.js +1 -1
- package/dist/src/orgrt/remote.js.map +1 -1
- package/dist/src/orgrt/reporting.d.ts.map +1 -1
- package/dist/src/orgrt/reporting.js +61 -27
- package/dist/src/orgrt/reporting.js.map +1 -1
- package/dist/src/orgrt/scheduler-integration.d.ts.map +1 -1
- package/dist/src/orgrt/scheduler-integration.js +63 -19
- package/dist/src/orgrt/scheduler-integration.js.map +1 -1
- package/dist/src/orgrt/scheduler.d.ts.map +1 -1
- package/dist/src/orgrt/scheduler.js +7 -3
- package/dist/src/orgrt/scheduler.js.map +1 -1
- package/dist/src/orgrt/server.js +1 -1
- package/dist/src/orgrt/server.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +32 -4
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +242 -74
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/state-detector.d.ts.map +1 -1
- package/dist/src/orgrt/state-detector.js +6 -2
- package/dist/src/orgrt/state-detector.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 +76 -12
- package/dist/src/orgrt/task-dag.js.map +1 -1
- package/dist/src/orgrt/templates.d.ts.map +1 -1
- package/dist/src/orgrt/templates.js +198 -36
- package/dist/src/orgrt/templates.js.map +1 -1
- package/dist/src/orgrt/test-loop.d.ts.map +1 -1
- package/dist/src/orgrt/test-loop.js +139 -35
- 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 +21 -3
- 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 +192 -39
- package/dist/src/orgrt/types.js.map +1 -1
- package/dist/src/orgrt/usage-proxy.d.ts +20 -0
- package/dist/src/orgrt/usage-proxy.d.ts.map +1 -1
- package/dist/src/orgrt/usage-proxy.js +25 -15
- package/dist/src/orgrt/usage-proxy.js.map +1 -1
- package/dist/src/orgrt/vercel-providers.d.ts.map +1 -1
- package/dist/src/orgrt/vercel-providers.js +11 -1
- package/dist/src/orgrt/vercel-providers.js.map +1 -1
- package/dist/src/orgrt/vercel-runner.d.ts +1 -1
- package/dist/src/orgrt/vercel-runner.d.ts.map +1 -1
- package/dist/src/orgrt/vercel-runner.js +3 -5
- package/dist/src/orgrt/vercel-runner.js.map +1 -1
- package/dist/src/orgrt/vercel-session-store.d.ts +14 -0
- package/dist/src/orgrt/vercel-session-store.d.ts.map +1 -1
- package/dist/src/orgrt/vercel-session-store.js +3 -3
- package/dist/src/orgrt/vercel-session-store.js.map +1 -1
- package/dist/src/orgrt/visualization.js +3 -4
- package/dist/src/orgrt/visualization.js.map +1 -1
- package/dist/src/output.d.ts +1 -1
- package/dist/src/output.d.ts.map +1 -1
- package/dist/src/output.js +68 -39
- package/dist/src/output.js.map +1 -1
- package/dist/src/parser.d.ts.map +1 -1
- package/dist/src/parser.js +35 -24
- package/dist/src/parser.js.map +1 -1
- package/dist/src/pricing/model-pricing.d.ts.map +1 -1
- package/dist/src/pricing/model-pricing.js +3 -7
- package/dist/src/pricing/model-pricing.js.map +1 -1
- package/dist/src/prompt.d.ts +2 -2
- package/dist/src/prompt.d.ts.map +1 -1
- package/dist/src/prompt.js +49 -41
- package/dist/src/prompt.js.map +1 -1
- package/dist/src/routing/embedder.d.ts.map +1 -1
- package/dist/src/routing/embedder.js +0 -0
- package/dist/src/routing/embedder.js.map +1 -1
- package/dist/src/routing/llm-caller.d.ts.map +1 -1
- package/dist/src/routing/llm-caller.js +27 -8
- package/dist/src/routing/llm-caller.js.map +1 -1
- package/dist/src/routing/model-download.d.ts.map +1 -1
- package/dist/src/routing/model-download.js +3 -3
- package/dist/src/routing/model-download.js.map +1 -1
- package/dist/src/routing/route-layer-factory.d.ts.map +1 -1
- package/dist/src/routing/route-layer-factory.js +22 -14
- package/dist/src/routing/route-layer-factory.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 +88 -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 +44 -20
- package/dist/src/services/config-file-manager.js.map +1 -1
- package/dist/src/services/crash-reporter.d.ts.map +1 -1
- package/dist/src/services/crash-reporter.js +44 -16
- package/dist/src/services/crash-reporter.js.map +1 -1
- package/dist/src/suggest.d.ts +1 -1
- package/dist/src/suggest.d.ts.map +1 -1
- package/dist/src/suggest.js +57 -57
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/sync/checker.d.ts.map +1 -1
- package/dist/src/sync/checker.js +7 -8
- package/dist/src/sync/checker.js.map +1 -1
- package/dist/src/transfer/anonymization/index.d.ts +1 -1
- package/dist/src/transfer/anonymization/index.js +3 -3
- package/dist/src/transfer/anonymization/index.js.map +1 -1
- package/dist/src/types.d.ts +4 -4
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/ui/collector.mjs +275 -159
- package/dist/src/ui/dashboard.html +761 -742
- package/dist/src/ui/data/agent-avatars.html +3 -15
- package/dist/src/ui/data/agent-avatars.json +11 -27
- package/dist/src/ui/markdown.js +243 -62
- package/dist/src/ui/mastermind-diagram-fallback.html +29 -29
- package/dist/src/ui/orgs-files.js +99 -46
- package/dist/src/ui/orgs.html +54 -54
- package/dist/src/ui/routes-monograph.mjs +918 -246
- package/dist/src/ui/routes-org.mjs +4234 -2369
- package/dist/src/ui/server.mjs +142 -106
- package/dist/src/update/checker.d.ts.map +1 -1
- package/dist/src/update/checker.js +17 -12
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/update/executor.d.ts +2 -2
- package/dist/src/update/executor.d.ts.map +1 -1
- package/dist/src/update/executor.js +21 -11
- package/dist/src/update/executor.js.map +1 -1
- package/dist/src/update/index.d.ts +6 -6
- package/dist/src/update/index.d.ts.map +1 -1
- package/dist/src/update/index.js +9 -9
- package/dist/src/update/index.js.map +1 -1
- package/dist/src/update/rate-limiter.d.ts.map +1 -1
- package/dist/src/update/rate-limiter.js +11 -7
- package/dist/src/update/rate-limiter.js.map +1 -1
- package/dist/src/update/validator.d.ts.map +1 -1
- package/dist/src/update/validator.js +8 -12
- package/dist/src/update/validator.js.map +1 -1
- package/dist/src/utils/cosine-similarity.d.ts.map +1 -1
- package/dist/src/utils/cosine-similarity.js.map +1 -1
- package/dist/src/utils/input-guards.d.ts +1 -1
- package/dist/src/utils/input-guards.d.ts.map +1 -1
- package/dist/src/utils/input-guards.js +24 -9
- package/dist/src/utils/input-guards.js.map +1 -1
- 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 +14 -3
- package/dist/src/utils/json-file.js.map +1 -1
- package/dist/src/utils/parse-jsonl.d.ts.map +1 -1
- package/dist/src/utils/parse-jsonl.js +1 -3
- package/dist/src/utils/parse-jsonl.js.map +1 -1
- package/dist/src/utils/paths.d.ts.map +1 -1
- package/dist/src/utils/paths.js +2 -2
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/redaction.d.ts.map +1 -1
- package/dist/src/utils/redaction.js +1 -1
- package/dist/src/utils/redaction.js.map +1 -1
- package/dist/src/utils/resource-governor.d.ts.map +1 -1
- package/dist/src/utils/resource-governor.js +38 -14
- package/dist/src/utils/resource-governor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- 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
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @monomind/cli/mcp-tools/guidance
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { join, dirname } from 'node:path';
|
|
9
|
+
import { existsSync, readdirSync, readFileSync, statSync } from 'node:fs';
|
|
10
|
+
import { dirname, join } from 'node:path';
|
|
12
11
|
import { fileURLToPath } from 'node:url';
|
|
12
|
+
import { getProjectCwd } from './types.js';
|
|
13
13
|
const __filename = fileURLToPath(import.meta.url);
|
|
14
14
|
const __dirname = dirname(__filename);
|
|
15
15
|
const CLI_ROOT = join(__dirname, '../../..');
|
|
@@ -59,34 +59,90 @@ const CAPABILITY_CATALOG = {
|
|
|
59
59
|
'agent-management': {
|
|
60
60
|
name: 'Agent Management',
|
|
61
61
|
description: 'Spawn, manage, and monitor individual AI agents with lifecycle control.',
|
|
62
|
-
tools: [
|
|
63
|
-
|
|
62
|
+
tools: [
|
|
63
|
+
'agent_spawn',
|
|
64
|
+
'agent_list',
|
|
65
|
+
'agent_status',
|
|
66
|
+
'agent_stop',
|
|
67
|
+
'agent_metrics',
|
|
68
|
+
'agent_pool',
|
|
69
|
+
'agent_health',
|
|
70
|
+
'agent_logs',
|
|
71
|
+
],
|
|
72
|
+
commands: [
|
|
73
|
+
'agent spawn',
|
|
74
|
+
'agent list',
|
|
75
|
+
'agent status',
|
|
76
|
+
'agent stop',
|
|
77
|
+
'agent metrics',
|
|
78
|
+
'agent pool',
|
|
79
|
+
'agent health',
|
|
80
|
+
'agent logs',
|
|
81
|
+
],
|
|
64
82
|
agents: ['coder', 'tester', 'reviewer', 'researcher', 'planner'],
|
|
65
83
|
skills: [],
|
|
66
84
|
whenToUse: 'When you need to create or manage individual agents for specific tasks.',
|
|
67
85
|
},
|
|
68
|
-
|
|
69
|
-
name: '
|
|
70
|
-
description: 'Multi-agent coordination
|
|
71
|
-
tools: [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
monoswarm: {
|
|
87
|
+
name: 'Monoswarm Coordination',
|
|
88
|
+
description: 'Multi-agent coordination and vote arbitration: topology/roster bookkeeping in a JSON state file, threshold-based voting (majority/supermajority/unanimous/threshold).',
|
|
89
|
+
tools: [
|
|
90
|
+
'monoswarm_init',
|
|
91
|
+
'monoswarm_status',
|
|
92
|
+
'monoswarm_scale',
|
|
93
|
+
'monoswarm_health',
|
|
94
|
+
'monoswarm_shutdown',
|
|
95
|
+
'monoswarm_agent_add',
|
|
96
|
+
'monoswarm_vote',
|
|
97
|
+
],
|
|
98
|
+
commands: ['monoswarm init', 'monoswarm status', 'monoswarm scale', 'monoswarm stop'],
|
|
99
|
+
agents: [
|
|
100
|
+
'coordinator',
|
|
101
|
+
'mesh-coordinator',
|
|
102
|
+
'collective-intelligence-coordinator',
|
|
103
|
+
'quorum-manager',
|
|
104
|
+
],
|
|
105
|
+
skills: ['monoswarm'],
|
|
106
|
+
whenToUse: 'When a task requires multiple agents working together (3+ files, features, refactoring), or agents need to vote on a decision.',
|
|
76
107
|
},
|
|
77
108
|
'memory-knowledge': {
|
|
78
109
|
name: 'Memory & Knowledge',
|
|
79
110
|
description: 'Persistent memory with ANN vector search, SQLite storage, and embeddings.',
|
|
80
|
-
tools: [
|
|
81
|
-
|
|
82
|
-
|
|
111
|
+
tools: [
|
|
112
|
+
'memory_pattern-store',
|
|
113
|
+
'memory_hierarchical-store',
|
|
114
|
+
'memory_pattern-search',
|
|
115
|
+
'memory_hierarchical-recall',
|
|
116
|
+
'memory_kg_ingest',
|
|
117
|
+
'memory_kg_search',
|
|
118
|
+
'memory_kg_stats',
|
|
119
|
+
'memory_kg_consolidate',
|
|
120
|
+
'memory_kg_rollback',
|
|
121
|
+
'memory_batch',
|
|
122
|
+
'memory_health',
|
|
123
|
+
],
|
|
124
|
+
commands: [
|
|
125
|
+
'memory store',
|
|
126
|
+
'memory retrieve',
|
|
127
|
+
'memory search',
|
|
128
|
+
'memory list',
|
|
129
|
+
'memory delete',
|
|
130
|
+
'memory init',
|
|
131
|
+
],
|
|
132
|
+
agents: ['monoswarm-memory-manager'],
|
|
83
133
|
skills: ['memory-advanced', 'memory-vector-search', 'memory-patterns', 'memory-learning'],
|
|
84
134
|
whenToUse: 'When you need to persist, search, or retrieve knowledge across sessions.',
|
|
85
135
|
},
|
|
86
136
|
'intelligence-learning': {
|
|
87
137
|
name: 'Intelligence & Learning',
|
|
88
138
|
description: 'Pattern storage and cosine-similarity search (SONA/ReasoningBank) backed by real embeddings.',
|
|
89
|
-
tools: [
|
|
139
|
+
tools: [
|
|
140
|
+
'neural_train',
|
|
141
|
+
'neural_predict',
|
|
142
|
+
'neural_status',
|
|
143
|
+
'neural_patterns',
|
|
144
|
+
'neural_optimize',
|
|
145
|
+
],
|
|
90
146
|
commands: [],
|
|
91
147
|
agents: [],
|
|
92
148
|
skills: ['reasoningbank-intelligence', 'memory-reasoningbank'],
|
|
@@ -95,41 +151,80 @@ const CAPABILITY_CATALOG = {
|
|
|
95
151
|
'hooks-automation': {
|
|
96
152
|
name: 'Hooks & Automation',
|
|
97
153
|
description: '17 lifecycle hooks + 12 background workers for automated learning and coordination.',
|
|
98
|
-
tools: [
|
|
154
|
+
tools: [
|
|
155
|
+
'hooks_pre_task',
|
|
156
|
+
'hooks_post_task',
|
|
157
|
+
'hooks_pre_edit',
|
|
158
|
+
'hooks_post_edit',
|
|
159
|
+
'hooks_route',
|
|
160
|
+
'hooks_explain',
|
|
161
|
+
],
|
|
99
162
|
commands: [
|
|
100
|
-
'hooks pre-task',
|
|
101
|
-
'hooks
|
|
102
|
-
'hooks
|
|
103
|
-
'hooks
|
|
104
|
-
'hooks
|
|
163
|
+
'hooks pre-task',
|
|
164
|
+
'hooks post-task',
|
|
165
|
+
'hooks pre-edit',
|
|
166
|
+
'hooks post-edit',
|
|
167
|
+
'hooks session-start',
|
|
168
|
+
'hooks session-end',
|
|
169
|
+
'hooks route',
|
|
170
|
+
'hooks explain',
|
|
171
|
+
'hooks pretrain',
|
|
172
|
+
'hooks intelligence',
|
|
173
|
+
'hooks worker',
|
|
174
|
+
'hooks coverage-gaps',
|
|
175
|
+
'hooks coverage-route',
|
|
176
|
+
'hooks coverage-suggest',
|
|
177
|
+
'hooks statusline',
|
|
178
|
+
'hooks progress',
|
|
105
179
|
],
|
|
106
180
|
agents: [],
|
|
107
181
|
skills: ['hooks-automation'],
|
|
108
182
|
whenToUse: 'When you need pre/post task hooks, background workers, coverage routing, or intelligence.',
|
|
109
183
|
},
|
|
110
|
-
|
|
111
|
-
name: 'Hive Mind Consensus',
|
|
112
|
-
description: 'Queen-led Byzantine fault-tolerant distributed consensus with multiple strategies.',
|
|
113
|
-
tools: ['hive_mind_init', 'hive_mind_status', 'hive_mind_propose', 'hive_mind_vote', 'hive_mind_consensus', 'hive_mind_metrics'],
|
|
114
|
-
commands: ['hive-mind init', 'hive-mind status', 'hive-mind consensus', 'hive-mind sessions', 'hive-mind spawn', 'hive-mind stop'],
|
|
115
|
-
agents: ['crdt-synchronizer', 'quorum-manager'],
|
|
116
|
-
skills: ['hive-mind-advanced'],
|
|
117
|
-
whenToUse: 'When multiple agents need to reach agreement on decisions using BFT, Raft, or CRDT.',
|
|
118
|
-
},
|
|
119
|
-
'security': {
|
|
184
|
+
security: {
|
|
120
185
|
name: 'Security & Compliance',
|
|
121
186
|
description: 'Security scanning, CVE remediation, input validation, claims-based authorization.',
|
|
122
|
-
tools: [
|
|
123
|
-
|
|
187
|
+
tools: [
|
|
188
|
+
'security_scan',
|
|
189
|
+
'security_audit',
|
|
190
|
+
'security_cve',
|
|
191
|
+
'security_threats',
|
|
192
|
+
'security_validate',
|
|
193
|
+
'security_report',
|
|
194
|
+
'claims_check',
|
|
195
|
+
'claims_grant',
|
|
196
|
+
'claims_revoke',
|
|
197
|
+
'claims_list',
|
|
198
|
+
],
|
|
199
|
+
commands: [
|
|
200
|
+
'security scan',
|
|
201
|
+
'security audit',
|
|
202
|
+
'security cve',
|
|
203
|
+
'security threats',
|
|
204
|
+
'claims check',
|
|
205
|
+
'claims grant',
|
|
206
|
+
],
|
|
124
207
|
agents: ['security-manager'],
|
|
125
208
|
skills: [],
|
|
126
209
|
whenToUse: 'When auditing code for vulnerabilities, managing permissions, or security reviews.',
|
|
127
210
|
},
|
|
128
|
-
|
|
211
|
+
performance: {
|
|
129
212
|
name: 'Performance & Profiling',
|
|
130
213
|
description: 'Benchmarking, profiling, metrics collection, and optimization recommendations.',
|
|
131
|
-
tools: [
|
|
132
|
-
|
|
214
|
+
tools: [
|
|
215
|
+
'performance_benchmark',
|
|
216
|
+
'performance_profile',
|
|
217
|
+
'performance_metrics',
|
|
218
|
+
'performance_optimize',
|
|
219
|
+
'performance_report',
|
|
220
|
+
],
|
|
221
|
+
commands: [
|
|
222
|
+
'performance benchmark',
|
|
223
|
+
'performance profile',
|
|
224
|
+
'performance metrics',
|
|
225
|
+
'performance optimize',
|
|
226
|
+
'performance report',
|
|
227
|
+
],
|
|
133
228
|
agents: [],
|
|
134
229
|
skills: ['performance-analysis'],
|
|
135
230
|
whenToUse: 'When measuring, profiling, or optimizing system performance.',
|
|
@@ -137,16 +232,50 @@ const CAPABILITY_CATALOG = {
|
|
|
137
232
|
'github-integration': {
|
|
138
233
|
name: 'GitHub Integration',
|
|
139
234
|
description: 'PR management, code review, issue tracking, release automation, multi-repo coordination.',
|
|
140
|
-
tools: [
|
|
235
|
+
tools: [
|
|
236
|
+
'github_pr_manage',
|
|
237
|
+
'github_code_review',
|
|
238
|
+
'github_issue_track',
|
|
239
|
+
'github_repo_analyze',
|
|
240
|
+
'github_sync_coord',
|
|
241
|
+
'github_metrics',
|
|
242
|
+
],
|
|
141
243
|
commands: [],
|
|
142
|
-
agents: [
|
|
143
|
-
|
|
244
|
+
agents: [
|
|
245
|
+
'pr-manager',
|
|
246
|
+
'code-review-swarm',
|
|
247
|
+
'issue-tracker',
|
|
248
|
+
'release-manager',
|
|
249
|
+
'repo-architect',
|
|
250
|
+
'workflow-automation',
|
|
251
|
+
'multi-repo-swarm',
|
|
252
|
+
'project-board-sync',
|
|
253
|
+
'swarm-pr',
|
|
254
|
+
'swarm-issue',
|
|
255
|
+
'sync-coordinator',
|
|
256
|
+
'github-modes',
|
|
257
|
+
],
|
|
258
|
+
skills: [
|
|
259
|
+
'github-release-management',
|
|
260
|
+
'github-workflow-automation',
|
|
261
|
+
'github-code-review',
|
|
262
|
+
'github-project-management',
|
|
263
|
+
'github-multi-repo',
|
|
264
|
+
],
|
|
144
265
|
whenToUse: 'When working with GitHub repos, PRs, issues, releases, or CI/CD pipelines.',
|
|
145
266
|
},
|
|
146
267
|
'session-workflow': {
|
|
147
268
|
name: 'Session & Tasks',
|
|
148
269
|
description: 'Session state management and task lifecycle.',
|
|
149
|
-
tools: [
|
|
270
|
+
tools: [
|
|
271
|
+
'session_start',
|
|
272
|
+
'session_end',
|
|
273
|
+
'session_restore',
|
|
274
|
+
'session_list',
|
|
275
|
+
'task_create',
|
|
276
|
+
'task_assign',
|
|
277
|
+
'task_status',
|
|
278
|
+
],
|
|
150
279
|
commands: ['session start', 'session end', 'session restore', 'task create'],
|
|
151
280
|
agents: [],
|
|
152
281
|
skills: [],
|
|
@@ -174,45 +303,128 @@ const CAPABILITY_CATALOG = {
|
|
|
174
303
|
name: 'Configuration & System',
|
|
175
304
|
description: 'Configuration management, provider setup, system diagnostics, shell completions.',
|
|
176
305
|
tools: ['config_get', 'config_set', 'config_list', 'config_provider'],
|
|
177
|
-
commands: [
|
|
306
|
+
commands: [
|
|
307
|
+
'config get',
|
|
308
|
+
'config set',
|
|
309
|
+
'config list',
|
|
310
|
+
'config provider',
|
|
311
|
+
'doctor',
|
|
312
|
+
'status',
|
|
313
|
+
'providers list',
|
|
314
|
+
'completions',
|
|
315
|
+
],
|
|
178
316
|
agents: [],
|
|
179
317
|
skills: [],
|
|
180
318
|
whenToUse: 'When managing configuration, providers, or running diagnostics.',
|
|
181
319
|
},
|
|
182
320
|
};
|
|
183
321
|
const TASK_ROUTES = [
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
{
|
|
195
|
-
|
|
196
|
-
|
|
322
|
+
{
|
|
323
|
+
pattern: /\b(bug|fix|debug|error|issue|crash|broken)\b/i,
|
|
324
|
+
areas: ['agent-management', 'hooks-automation'],
|
|
325
|
+
workflow: 'bugfix',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
pattern: /\b(feature|implement|create|build|add)\b/i,
|
|
329
|
+
areas: ['monoswarm', 'agent-management', 'hooks-automation'],
|
|
330
|
+
workflow: 'feature',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
pattern: /\b(refactor|restructure|reorganize|clean\s*up|modernize)\b/i,
|
|
334
|
+
areas: ['monoswarm', 'code-analysis'],
|
|
335
|
+
workflow: 'refactor',
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
pattern: /\b(test|coverage|tdd|spec|assert)\b/i,
|
|
339
|
+
areas: ['agent-management', 'hooks-automation', 'code-analysis'],
|
|
340
|
+
workflow: 'testing',
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
pattern: /\b(security|vulnerab|cve|audit|threat|auth)\b/i,
|
|
344
|
+
areas: ['security'],
|
|
345
|
+
workflow: 'security',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
pattern: /\b(perf|benchmark|profil|slow|optimi|latency|speed)\b/i,
|
|
349
|
+
areas: ['performance'],
|
|
350
|
+
workflow: 'performance',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
pattern: /\b(memory|embed|vector|search|hnsw|semantic)\b/i,
|
|
354
|
+
areas: ['memory-knowledge', 'embeddings-vectors'],
|
|
355
|
+
workflow: 'memory',
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
pattern: /\b(pr|pull\s*request|review|merge|branch)\b/i,
|
|
359
|
+
areas: ['github-integration'],
|
|
360
|
+
workflow: 'github-pr',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
pattern: /\b(release|deploy|publish|version|changelog)\b/i,
|
|
364
|
+
areas: ['github-integration', 'session-workflow'],
|
|
365
|
+
workflow: 'release',
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
pattern: /\b(swarm|multi.agent|coordin|hive|consensus)\b/i,
|
|
369
|
+
areas: ['monoswarm'],
|
|
370
|
+
workflow: 'swarm',
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
pattern: /\b(learn|train|neural|pattern|sona|lora)\b/i,
|
|
374
|
+
areas: ['intelligence-learning'],
|
|
375
|
+
workflow: 'learning',
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
pattern: /\b(hook|pre.task|post.task|worker)\b/i,
|
|
379
|
+
areas: ['hooks-automation', 'session-workflow'],
|
|
380
|
+
workflow: 'automation',
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
pattern: /\b(config|setup|init|provider|doctor)\b/i,
|
|
384
|
+
areas: ['config-system'],
|
|
385
|
+
workflow: 'setup',
|
|
386
|
+
},
|
|
197
387
|
];
|
|
198
388
|
const WORKFLOW_TEMPLATES = {
|
|
199
389
|
bugfix: {
|
|
200
|
-
steps: [
|
|
390
|
+
steps: [
|
|
391
|
+
'Research the bug (hooks route)',
|
|
392
|
+
'Reproduce with tests',
|
|
393
|
+
'Fix the code',
|
|
394
|
+
'Verify fix passes',
|
|
395
|
+
'Record outcome (hooks post-task)',
|
|
396
|
+
],
|
|
201
397
|
agents: ['researcher', 'coder', 'tester'],
|
|
202
398
|
topology: 'hierarchical',
|
|
203
399
|
},
|
|
204
400
|
feature: {
|
|
205
|
-
steps: [
|
|
401
|
+
steps: [
|
|
402
|
+
'Design architecture',
|
|
403
|
+
'Implement solution',
|
|
404
|
+
'Write tests',
|
|
405
|
+
'Review code',
|
|
406
|
+
'Record patterns (hooks post-task)',
|
|
407
|
+
],
|
|
206
408
|
agents: ['planner', 'coder', 'tester', 'reviewer'],
|
|
207
409
|
topology: 'hierarchical',
|
|
208
410
|
},
|
|
209
411
|
refactor: {
|
|
210
|
-
steps: [
|
|
412
|
+
steps: [
|
|
413
|
+
'Analyze code structure',
|
|
414
|
+
'Plan refactor approach',
|
|
415
|
+
'Implement changes',
|
|
416
|
+
'Verify no regressions',
|
|
417
|
+
],
|
|
211
418
|
agents: ['coder', 'reviewer'],
|
|
212
419
|
topology: 'hierarchical',
|
|
213
420
|
},
|
|
214
421
|
testing: {
|
|
215
|
-
steps: [
|
|
422
|
+
steps: [
|
|
423
|
+
'Analyze coverage gaps',
|
|
424
|
+
'Generate test plan',
|
|
425
|
+
'Write tests',
|
|
426
|
+
'Verify coverage improvement',
|
|
427
|
+
],
|
|
216
428
|
agents: ['tester', 'coder'],
|
|
217
429
|
topology: 'hierarchical',
|
|
218
430
|
},
|
|
@@ -227,32 +439,64 @@ const WORKFLOW_TEMPLATES = {
|
|
|
227
439
|
topology: 'hierarchical',
|
|
228
440
|
},
|
|
229
441
|
memory: {
|
|
230
|
-
steps: [
|
|
231
|
-
|
|
442
|
+
steps: [
|
|
443
|
+
'Initialize memory store',
|
|
444
|
+
'Store/retrieve patterns',
|
|
445
|
+
'Search with HNSW',
|
|
446
|
+
'Compact and optimize',
|
|
447
|
+
],
|
|
448
|
+
agents: ['monoswarm-memory-manager'],
|
|
232
449
|
topology: 'hierarchical',
|
|
233
450
|
},
|
|
234
451
|
'github-pr': {
|
|
235
|
-
steps: [
|
|
452
|
+
steps: [
|
|
453
|
+
'Analyze changes',
|
|
454
|
+
'Run code review swarm',
|
|
455
|
+
'Check CI status',
|
|
456
|
+
'Merge or request changes',
|
|
457
|
+
],
|
|
236
458
|
agents: ['pr-manager', 'code-review-swarm', 'reviewer'],
|
|
237
459
|
topology: 'hierarchical',
|
|
238
460
|
},
|
|
239
461
|
release: {
|
|
240
|
-
steps: [
|
|
462
|
+
steps: [
|
|
463
|
+
'Verify all tests pass',
|
|
464
|
+
'Generate changelog',
|
|
465
|
+
'Bump version',
|
|
466
|
+
'Publish packages',
|
|
467
|
+
'Create GitHub release',
|
|
468
|
+
],
|
|
241
469
|
agents: ['release-manager', 'tester'],
|
|
242
470
|
topology: 'hierarchical',
|
|
243
471
|
},
|
|
244
472
|
swarm: {
|
|
245
|
-
steps: [
|
|
473
|
+
steps: [
|
|
474
|
+
'Initialize swarm topology',
|
|
475
|
+
'Spawn specialized agents',
|
|
476
|
+
'Coordinate via memory',
|
|
477
|
+
'Collect and synthesize results',
|
|
478
|
+
],
|
|
246
479
|
agents: ['mesh-coordinator', 'coder', 'tester', 'reviewer'],
|
|
247
480
|
topology: 'hierarchical',
|
|
248
481
|
},
|
|
249
482
|
learning: {
|
|
250
|
-
steps: [
|
|
483
|
+
steps: [
|
|
484
|
+
'Pretrain on codebase',
|
|
485
|
+
'Record trajectories',
|
|
486
|
+
'Compute rewards',
|
|
487
|
+
'Distill learning',
|
|
488
|
+
'Consolidate (EWC++)',
|
|
489
|
+
],
|
|
251
490
|
agents: [],
|
|
252
491
|
topology: 'hierarchical',
|
|
253
492
|
},
|
|
254
493
|
automation: {
|
|
255
|
-
steps: [
|
|
494
|
+
steps: [
|
|
495
|
+
'List available hooks/workers',
|
|
496
|
+
'Configure hook handlers',
|
|
497
|
+
'Dispatch workers',
|
|
498
|
+
'Monitor outcomes',
|
|
499
|
+
],
|
|
256
500
|
agents: [],
|
|
257
501
|
topology: 'hierarchical',
|
|
258
502
|
},
|
|
@@ -288,7 +532,9 @@ function discoverAgents() {
|
|
|
288
532
|
if (entry.isDirectory()) {
|
|
289
533
|
walk(full, depth + 1);
|
|
290
534
|
}
|
|
291
|
-
else if (entry.isFile() &&
|
|
535
|
+
else if (entry.isFile() &&
|
|
536
|
+
entry.name.endsWith('.md') &&
|
|
537
|
+
entry.name !== 'MIGRATION_SUMMARY.md') {
|
|
292
538
|
if (statSync(full).size > 512 * 1024)
|
|
293
539
|
continue; // skip files > 512 KB
|
|
294
540
|
const content = readFileSync(full, 'utf-8');
|
|
@@ -298,7 +544,9 @@ function discoverAgents() {
|
|
|
298
544
|
}
|
|
299
545
|
}
|
|
300
546
|
}
|
|
301
|
-
catch {
|
|
547
|
+
catch {
|
|
548
|
+
/* ignore */
|
|
549
|
+
}
|
|
302
550
|
}
|
|
303
551
|
walk(agentsDir, 0);
|
|
304
552
|
return [...new Set(agents)].sort();
|
|
@@ -321,7 +569,9 @@ function discoverSkills() {
|
|
|
321
569
|
}
|
|
322
570
|
}
|
|
323
571
|
}
|
|
324
|
-
catch {
|
|
572
|
+
catch {
|
|
573
|
+
/* ignore */
|
|
574
|
+
}
|
|
325
575
|
return skills.sort();
|
|
326
576
|
}
|
|
327
577
|
// ── MCP Tool Definitions ────────────────────────────────────
|
|
@@ -333,7 +583,7 @@ const guidanceCapabilities = {
|
|
|
333
583
|
properties: {
|
|
334
584
|
area: {
|
|
335
585
|
type: 'string',
|
|
336
|
-
description: 'Filter to a specific area (e.g., "
|
|
586
|
+
description: 'Filter to a specific area (e.g., "monoswarm", "memory-knowledge"). Omit to list all areas.',
|
|
337
587
|
},
|
|
338
588
|
format: {
|
|
339
589
|
type: 'string',
|
|
@@ -354,7 +604,15 @@ const guidanceCapabilities = {
|
|
|
354
604
|
const cap = CAPABILITY_CATALOG[area];
|
|
355
605
|
if (!cap) {
|
|
356
606
|
const available = Object.keys(CAPABILITY_CATALOG).join(', ');
|
|
357
|
-
return {
|
|
607
|
+
return {
|
|
608
|
+
content: [
|
|
609
|
+
{
|
|
610
|
+
type: 'text',
|
|
611
|
+
text: JSON.stringify({ error: 'Unknown capability area', available }, null, 2),
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
isError: true,
|
|
615
|
+
};
|
|
358
616
|
}
|
|
359
617
|
return { content: [{ type: 'text', text: JSON.stringify(cap, null, 2) }] };
|
|
360
618
|
}
|
|
@@ -370,7 +628,14 @@ const guidanceCapabilities = {
|
|
|
370
628
|
skillCount: val.skills.length,
|
|
371
629
|
whenToUse: val.whenToUse,
|
|
372
630
|
}));
|
|
373
|
-
return {
|
|
631
|
+
return {
|
|
632
|
+
content: [
|
|
633
|
+
{
|
|
634
|
+
type: 'text',
|
|
635
|
+
text: JSON.stringify({ areas: summary, totalAreas: summary.length }, null, 2),
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
};
|
|
374
639
|
},
|
|
375
640
|
};
|
|
376
641
|
const guidanceRecommend = {
|
|
@@ -417,29 +682,32 @@ const guidanceRecommend = {
|
|
|
417
682
|
const recommendations = [...seen.values()];
|
|
418
683
|
if (recommendations.length === 0) {
|
|
419
684
|
return {
|
|
420
|
-
content: [
|
|
685
|
+
content: [
|
|
686
|
+
{
|
|
421
687
|
type: 'text',
|
|
422
688
|
text: JSON.stringify({
|
|
423
689
|
task,
|
|
424
690
|
message: 'No specific pattern matched. Here are general-purpose capabilities:',
|
|
425
691
|
suggestions: [
|
|
426
692
|
{ area: 'agent-management', reason: 'Spawn individual agents for targeted work' },
|
|
427
|
-
{ area: '
|
|
693
|
+
{ area: 'monoswarm', reason: 'Use swarms for multi-file or complex tasks' },
|
|
428
694
|
{ area: 'hooks-automation', reason: 'Use hooks for task routing and learning' },
|
|
429
695
|
],
|
|
430
696
|
tip: 'Use guidance_capabilities for a full list of all capability areas.',
|
|
431
697
|
}, null, 2),
|
|
432
|
-
}
|
|
698
|
+
},
|
|
699
|
+
],
|
|
433
700
|
};
|
|
434
701
|
}
|
|
435
702
|
const primaryWorkflow = recommendations[0]?.workflow;
|
|
436
703
|
const template = primaryWorkflow ? WORKFLOW_TEMPLATES[primaryWorkflow] : undefined;
|
|
437
704
|
return {
|
|
438
|
-
content: [
|
|
705
|
+
content: [
|
|
706
|
+
{
|
|
439
707
|
type: 'text',
|
|
440
708
|
text: JSON.stringify({
|
|
441
709
|
task,
|
|
442
|
-
recommendations: recommendations.map(r => ({
|
|
710
|
+
recommendations: recommendations.map((r) => ({
|
|
443
711
|
area: r.area,
|
|
444
712
|
name: r.capability.name,
|
|
445
713
|
description: r.capability.description,
|
|
@@ -447,14 +715,17 @@ const guidanceRecommend = {
|
|
|
447
715
|
agents: r.capability.agents,
|
|
448
716
|
skills: r.capability.skills,
|
|
449
717
|
})),
|
|
450
|
-
workflow: template
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
718
|
+
workflow: template
|
|
719
|
+
? {
|
|
720
|
+
name: primaryWorkflow,
|
|
721
|
+
steps: template.steps,
|
|
722
|
+
agents: template.agents,
|
|
723
|
+
topology: template.topology,
|
|
724
|
+
}
|
|
725
|
+
: undefined,
|
|
456
726
|
}, null, 2),
|
|
457
|
-
}
|
|
727
|
+
},
|
|
728
|
+
],
|
|
458
729
|
};
|
|
459
730
|
},
|
|
460
731
|
};
|
|
@@ -494,7 +765,7 @@ const guidanceWorkflow = {
|
|
|
494
765
|
type: {
|
|
495
766
|
type: 'string',
|
|
496
767
|
enum: Object.keys(WORKFLOW_TEMPLATES),
|
|
497
|
-
description:
|
|
768
|
+
description: `Workflow type. Options: ${Object.keys(WORKFLOW_TEMPLATES).join(', ')}`,
|
|
498
769
|
},
|
|
499
770
|
},
|
|
500
771
|
required: ['type'],
|
|
@@ -508,18 +779,21 @@ const guidanceWorkflow = {
|
|
|
508
779
|
const template = type ? WORKFLOW_TEMPLATES[type] : undefined;
|
|
509
780
|
if (!template) {
|
|
510
781
|
return {
|
|
511
|
-
content: [
|
|
782
|
+
content: [
|
|
783
|
+
{
|
|
512
784
|
type: 'text',
|
|
513
785
|
text: JSON.stringify({
|
|
514
786
|
error: 'Unknown workflow type',
|
|
515
787
|
available: Object.keys(WORKFLOW_TEMPLATES),
|
|
516
788
|
}, null, 2),
|
|
517
|
-
}
|
|
789
|
+
},
|
|
790
|
+
],
|
|
518
791
|
isError: true,
|
|
519
792
|
};
|
|
520
793
|
}
|
|
521
794
|
return {
|
|
522
|
-
content: [
|
|
795
|
+
content: [
|
|
796
|
+
{
|
|
523
797
|
type: 'text',
|
|
524
798
|
text: JSON.stringify({
|
|
525
799
|
workflow: type,
|
|
@@ -528,10 +802,11 @@ const guidanceWorkflow = {
|
|
|
528
802
|
topology: template.topology,
|
|
529
803
|
maxAgents: Math.max(template.agents.length + 1, 4),
|
|
530
804
|
strategy: 'specialized',
|
|
531
|
-
consensus: '
|
|
805
|
+
consensus: 'majority',
|
|
532
806
|
},
|
|
533
807
|
}, null, 2),
|
|
534
|
-
}
|
|
808
|
+
},
|
|
809
|
+
],
|
|
535
810
|
};
|
|
536
811
|
},
|
|
537
812
|
};
|
|
@@ -543,7 +818,14 @@ const guidanceQuickRef = {
|
|
|
543
818
|
properties: {
|
|
544
819
|
domain: {
|
|
545
820
|
type: 'string',
|
|
546
|
-
enum: [
|
|
821
|
+
enum: [
|
|
822
|
+
'getting-started',
|
|
823
|
+
'daily-dev',
|
|
824
|
+
'swarm-ops',
|
|
825
|
+
'memory-ops',
|
|
826
|
+
'github-ops',
|
|
827
|
+
'diagnostics',
|
|
828
|
+
],
|
|
547
829
|
description: 'Domain to get quick reference for.',
|
|
548
830
|
},
|
|
549
831
|
},
|
|
@@ -559,63 +841,127 @@ const guidanceQuickRef = {
|
|
|
559
841
|
'getting-started': {
|
|
560
842
|
title: 'Getting Started',
|
|
561
843
|
commands: [
|
|
562
|
-
{
|
|
563
|
-
|
|
844
|
+
{
|
|
845
|
+
cmd: 'npx monomind@latest init --wizard',
|
|
846
|
+
desc: 'Initialize project with interactive setup',
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
cmd: 'npx monomind@latest doctor --fix',
|
|
850
|
+
desc: 'Run diagnostics and auto-fix issues',
|
|
851
|
+
},
|
|
564
852
|
{ cmd: 'npx monomind@latest status', desc: 'Check system status' },
|
|
565
853
|
],
|
|
566
854
|
},
|
|
567
855
|
'daily-dev': {
|
|
568
856
|
title: 'Daily Development',
|
|
569
857
|
commands: [
|
|
570
|
-
{
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
{
|
|
858
|
+
{
|
|
859
|
+
cmd: 'npx monomind@latest hooks pre-task --description "..."',
|
|
860
|
+
desc: 'Get routing recommendation before task',
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
cmd: 'npx monomind@latest hooks post-task --task-id "..." --success true',
|
|
864
|
+
desc: 'Record task outcome for learning',
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
cmd: 'npx monomind@latest hooks post-edit --file "..." --train-neural true',
|
|
868
|
+
desc: 'Train patterns from edits',
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
cmd: 'npx monomind@latest memory search --query "..."',
|
|
872
|
+
desc: 'Search memory for relevant patterns',
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
cmd: 'npx monomind@latest hooks route --task "..."',
|
|
876
|
+
desc: 'Route task to optimal agent',
|
|
877
|
+
},
|
|
575
878
|
],
|
|
576
879
|
},
|
|
577
880
|
'swarm-ops': {
|
|
578
|
-
title: '
|
|
881
|
+
title: 'Monoswarm Operations',
|
|
579
882
|
commands: [
|
|
580
|
-
{
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
883
|
+
{
|
|
884
|
+
cmd: 'npx monomind@latest monoswarm init --topology hierarchical --max-agents 8',
|
|
885
|
+
desc: 'Initialize anti-drift monoswarm',
|
|
886
|
+
},
|
|
887
|
+
{ cmd: 'npx monomind@latest monoswarm status', desc: 'Check monoswarm status' },
|
|
888
|
+
{
|
|
889
|
+
cmd: 'npx monomind@latest agent spawn -t coder --name my-coder',
|
|
890
|
+
desc: 'Spawn a specific agent',
|
|
891
|
+
},
|
|
584
892
|
],
|
|
585
893
|
},
|
|
586
894
|
'memory-ops': {
|
|
587
895
|
title: 'Memory Operations',
|
|
588
896
|
commands: [
|
|
589
897
|
{ cmd: 'npx monomind@latest memory init --force', desc: 'Initialize memory database' },
|
|
590
|
-
{
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
898
|
+
{
|
|
899
|
+
cmd: 'npx monomind@latest memory store --key "k" --value "v" --namespace patterns',
|
|
900
|
+
desc: 'Store a value',
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
cmd: 'npx monomind@latest memory search --query "auth patterns"',
|
|
904
|
+
desc: 'Semantic vector search',
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
cmd: 'npx monomind@latest memory list --namespace patterns',
|
|
908
|
+
desc: 'List entries in namespace',
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
cmd: 'npx monomind@latest memory retrieve --key "k" --namespace patterns',
|
|
912
|
+
desc: 'Get a specific entry',
|
|
913
|
+
},
|
|
594
914
|
],
|
|
595
915
|
},
|
|
596
916
|
'github-ops': {
|
|
597
917
|
title: 'GitHub Operations',
|
|
598
918
|
commands: [
|
|
599
|
-
{
|
|
600
|
-
|
|
601
|
-
|
|
919
|
+
{
|
|
920
|
+
cmd: 'Use pr-manager agent for PR lifecycle',
|
|
921
|
+
desc: 'Spawn pr-manager for automated PR management',
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
cmd: 'Use code-review-swarm agent for reviews',
|
|
925
|
+
desc: 'Deploy multi-agent code review',
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
cmd: 'Use release-manager agent for releases',
|
|
929
|
+
desc: 'Automated release with changelog',
|
|
930
|
+
},
|
|
602
931
|
{ cmd: 'Use issue-tracker agent for triage', desc: 'Intelligent issue management' },
|
|
603
932
|
],
|
|
604
933
|
},
|
|
605
934
|
diagnostics: {
|
|
606
935
|
title: 'Diagnostics & Troubleshooting',
|
|
607
936
|
commands: [
|
|
608
|
-
{
|
|
937
|
+
{
|
|
938
|
+
cmd: 'npx monomind@latest doctor --fix',
|
|
939
|
+
desc: 'Full system diagnostics with auto-fix',
|
|
940
|
+
},
|
|
609
941
|
{ cmd: 'npx monomind@latest status --watch', desc: 'Live system monitoring' },
|
|
610
942
|
{ cmd: 'npx monomind@latest hooks worker status', desc: 'Background worker health' },
|
|
611
|
-
{
|
|
612
|
-
|
|
943
|
+
{
|
|
944
|
+
cmd: 'npx monomind@latest performance benchmark --suite all',
|
|
945
|
+
desc: 'Run all benchmarks',
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
cmd: 'npx monomind@latest hooks progress --detailed',
|
|
949
|
+
desc: 'V1 implementation progress',
|
|
950
|
+
},
|
|
613
951
|
],
|
|
614
952
|
},
|
|
615
953
|
};
|
|
616
954
|
const ref = domain ? refs[domain] : undefined;
|
|
617
955
|
if (!ref) {
|
|
618
|
-
return {
|
|
956
|
+
return {
|
|
957
|
+
content: [
|
|
958
|
+
{
|
|
959
|
+
type: 'text',
|
|
960
|
+
text: JSON.stringify({ error: 'Unknown quick-ref domain', available: Object.keys(refs) }, null, 2),
|
|
961
|
+
},
|
|
962
|
+
],
|
|
963
|
+
isError: true,
|
|
964
|
+
};
|
|
619
965
|
}
|
|
620
966
|
return { content: [{ type: 'text', text: JSON.stringify(ref, null, 2) }] };
|
|
621
967
|
},
|