@monoes/monomindcli 2.8.3 → 2.9.1
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/helpers/auto-memory-hook.mjs +0 -0
- package/.claude/helpers/handlers/route-handler.cjs +12 -0
- package/.claude/helpers/handlers/session-restore-handler.cjs +28 -7
- package/.claude/helpers/hook-handler.cjs +0 -0
- package/.claude/helpers/utils/micro-agents.cjs +22 -0
- package/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +11 -6
- package/.claude/skills/monodesign/scripts/live-inject.mjs +20 -7
- package/.claude/skills/monodesign/scripts/live-server.mjs +38 -2
- package/LICENSE +191 -0
- package/README.md +8 -6
- package/dist/src/browser/dashboard/server.d.ts +5 -0
- package/dist/src/browser/dashboard/server.d.ts.map +1 -1
- package/dist/src/browser/dashboard/server.js +59 -4
- package/dist/src/browser/dashboard/server.js.map +1 -1
- package/dist/src/browser/dashboard/ui.html +18 -8
- package/dist/src/browser/workflow/store.d.ts.map +1 -1
- package/dist/src/browser/workflow/store.js +3 -2
- package/dist/src/browser/workflow/store.js.map +1 -1
- package/dist/src/capabilities/cap-documents.d.ts.map +1 -1
- package/dist/src/capabilities/cap-documents.js +14 -9
- package/dist/src/capabilities/cap-documents.js.map +1 -1
- package/dist/src/commands/design-palette.d.ts +5 -0
- package/dist/src/commands/design-palette.d.ts.map +1 -1
- package/dist/src/commands/design-palette.js +8 -5
- package/dist/src/commands/design-palette.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +22 -18
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/download-embeddings.d.ts +8 -0
- package/dist/src/commands/download-embeddings.d.ts.map +1 -0
- package/dist/src/commands/download-embeddings.js +34 -0
- package/dist/src/commands/download-embeddings.js.map +1 -0
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +14 -0
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +4 -0
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init-wizard.js +1 -1
- 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 +48 -1
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +35 -1
- package/dist/src/commands/monograph.js.map +1 -1
- package/dist/src/commands/org-observe.d.ts +10 -0
- package/dist/src/commands/org-observe.d.ts.map +1 -1
- package/dist/src/commands/org-observe.js +195 -31
- package/dist/src/commands/org-observe.js.map +1 -1
- package/dist/src/commands/org.d.ts +1 -0
- package/dist/src/commands/org.d.ts.map +1 -1
- package/dist/src/commands/org.js +139 -3
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/commands/route.d.ts +1 -9
- package/dist/src/commands/route.d.ts.map +1 -1
- package/dist/src/commands/route.js +42 -65
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/security-cve.d.ts.map +1 -1
- package/dist/src/commands/security-cve.js +2 -1
- package/dist/src/commands/security-cve.js.map +1 -1
- package/dist/src/index.d.ts +0 -10
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -15
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/copy-assets.d.ts +17 -0
- package/dist/src/init/copy-assets.d.ts.map +1 -0
- package/dist/src/init/copy-assets.js +271 -0
- package/dist/src/init/copy-assets.js.map +1 -0
- package/dist/src/init/executor.d.ts +2 -30
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +56 -2493
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/geminimd-generator.js +2 -2
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +9 -0
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/kimi-generator.js +3 -3
- package/dist/src/init/kimi-generator.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +0 -4
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared.d.ts +112 -0
- package/dist/src/init/shared.d.ts.map +1 -0
- package/dist/src/init/shared.js +475 -0
- package/dist/src/init/shared.js.map +1 -0
- package/dist/src/init/statusline-generator.d.ts.map +1 -1
- package/dist/src/init/statusline-generator.js +37 -0
- package/dist/src/init/statusline-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +1 -1
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/upgrade.d.ts +34 -0
- package/dist/src/init/upgrade.d.ts.map +1 -0
- package/dist/src/init/upgrade.js +477 -0
- package/dist/src/init/upgrade.js.map +1 -0
- package/dist/src/init/write-antigravity.d.ts +13 -0
- package/dist/src/init/write-antigravity.d.ts.map +1 -0
- package/dist/src/init/write-antigravity.js +117 -0
- package/dist/src/init/write-antigravity.js.map +1 -0
- package/dist/src/init/write-capabilities.d.ts +9 -0
- package/dist/src/init/write-capabilities.d.ts.map +1 -0
- package/dist/src/init/write-capabilities.js +392 -0
- package/dist/src/init/write-capabilities.js.map +1 -0
- package/dist/src/init/write-claude.d.ts +25 -0
- package/dist/src/init/write-claude.d.ts.map +1 -0
- package/dist/src/init/write-claude.js +279 -0
- package/dist/src/init/write-claude.js.map +1 -0
- package/dist/src/init/write-kimicode.d.ts +19 -0
- package/dist/src/init/write-kimicode.d.ts.map +1 -0
- package/dist/src/init/write-kimicode.js +223 -0
- package/dist/src/init/write-kimicode.js.map +1 -0
- package/dist/src/init/write-opencode.d.ts +14 -0
- package/dist/src/init/write-opencode.d.ts.map +1 -0
- package/dist/src/init/write-opencode.js +130 -0
- package/dist/src/init/write-opencode.js.map +1 -0
- package/dist/src/init/write-runtime-config.d.ts +14 -0
- package/dist/src/init/write-runtime-config.d.ts.map +1 -0
- package/dist/src/init/write-runtime-config.js +214 -0
- package/dist/src/init/write-runtime-config.js.map +1 -0
- package/dist/src/init/write-sample-org.d.ts +9 -0
- package/dist/src/init/write-sample-org.d.ts.map +1 -0
- package/dist/src/init/write-sample-org.js +39 -0
- package/dist/src/init/write-sample-org.js.map +1 -0
- package/dist/src/knowledge/eval/golden-set.js +1 -1
- 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 +7 -3
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.js +2 -25
- 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 +2 -1
- package/dist/src/mcp-tools/auto-install.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +26 -0
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +2 -37
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/monodesign-tools.d.ts +19 -0
- package/dist/src/mcp-tools/monodesign-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monodesign-tools.js +233 -0
- package/dist/src/mcp-tools/monodesign-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/agent-history-tools.d.ts +5 -0
- package/dist/src/mcp-tools/monograph/agent-history-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/agent-history-tools.js +177 -0
- package/dist/src/mcp-tools/monograph/agent-history-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/build-tools.d.ts +9 -0
- package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/build-tools.js +299 -0
- package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/group-tools.d.ts +10 -0
- package/dist/src/mcp-tools/monograph/group-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/group-tools.js +225 -0
- package/dist/src/mcp-tools/monograph/group-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/health-tools.d.ts +6 -0
- package/dist/src/mcp-tools/monograph/health-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/health-tools.js +113 -0
- package/dist/src/mcp-tools/monograph/health-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/impact-tools.d.ts +9 -0
- package/dist/src/mcp-tools/monograph/impact-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/impact-tools.js +532 -0
- package/dist/src/mcp-tools/monograph/impact-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/index.d.ts +10 -0
- package/dist/src/mcp-tools/monograph/index.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/index.js +73 -0
- package/dist/src/mcp-tools/monograph/index.js.map +1 -0
- package/dist/src/mcp-tools/monograph/query-tools.d.ts +11 -0
- package/dist/src/mcp-tools/monograph/query-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/query-tools.js +500 -0
- package/dist/src/mcp-tools/monograph/query-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph/shared.d.ts +64 -0
- package/dist/src/mcp-tools/monograph/shared.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/shared.js +215 -0
- package/dist/src/mcp-tools/monograph/shared.js.map +1 -0
- package/dist/src/mcp-tools/monograph/visualize-tools.d.ts +10 -0
- package/dist/src/mcp-tools/monograph/visualize-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph/visualize-tools.js +382 -0
- package/dist/src/mcp-tools/monograph/visualize-tools.js.map +1 -0
- package/dist/src/mcp-tools/monograph-tools.d.ts +4 -23
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +4 -2439
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/monomind-tools.d.ts +8 -0
- package/dist/src/mcp-tools/monomind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monomind-tools.js +13 -1
- package/dist/src/mcp-tools/monomind-tools.js.map +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 +31 -2
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.js.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +31 -1
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/types.d.ts +8 -27
- package/dist/src/mcp-tools/types.d.ts.map +1 -1
- package/dist/src/mcp-tools/types.js +9 -91
- package/dist/src/mcp-tools/types.js.map +1 -1
- package/dist/src/memory/file-permissions.d.ts +15 -0
- package/dist/src/memory/file-permissions.d.ts.map +1 -0
- package/dist/src/memory/file-permissions.js +25 -0
- package/dist/src/memory/file-permissions.js.map +1 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +94 -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 +298 -275
- package/dist/src/memory/memory-crud.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts +2 -4
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +53 -76
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/memory-migrations.d.ts +1 -14
- package/dist/src/memory/memory-migrations.d.ts.map +1 -1
- package/dist/src/memory/memory-migrations.js +52 -105
- package/dist/src/memory/memory-migrations.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/index.d.ts +16 -19
- package/dist/src/monovector/index.d.ts.map +1 -1
- package/dist/src/monovector/index.js +50 -8
- package/dist/src/monovector/index.js.map +1 -1
- package/dist/src/orgrt/approvals.d.ts +16 -0
- package/dist/src/orgrt/approvals.d.ts.map +1 -0
- package/dist/src/orgrt/approvals.js +72 -0
- package/dist/src/orgrt/approvals.js.map +1 -0
- package/dist/src/orgrt/bus.d.ts.map +1 -1
- package/dist/src/orgrt/bus.js +21 -0
- package/dist/src/orgrt/bus.js.map +1 -1
- package/dist/src/orgrt/checkpoint-ops.d.ts +19 -0
- package/dist/src/orgrt/checkpoint-ops.d.ts.map +1 -0
- package/dist/src/orgrt/checkpoint-ops.js +219 -0
- package/dist/src/orgrt/checkpoint-ops.js.map +1 -0
- package/dist/src/orgrt/checkpoint.d.ts +33 -1
- package/dist/src/orgrt/checkpoint.d.ts.map +1 -1
- package/dist/src/orgrt/checkpoint.js +50 -6
- package/dist/src/orgrt/checkpoint.js.map +1 -1
- package/dist/src/orgrt/cross-org.d.ts +32 -0
- package/dist/src/orgrt/cross-org.d.ts.map +1 -0
- package/dist/src/orgrt/cross-org.js +256 -0
- package/dist/src/orgrt/cross-org.js.map +1 -0
- package/dist/src/orgrt/daemon.d.ts +131 -157
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +356 -966
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/decisions.d.ts +33 -0
- package/dist/src/orgrt/decisions.d.ts.map +1 -0
- package/dist/src/orgrt/decisions.js +169 -0
- package/dist/src/orgrt/decisions.js.map +1 -0
- package/dist/src/orgrt/kimicode-runner.d.ts.map +1 -1
- package/dist/src/orgrt/kimicode-runner.js +5 -1
- package/dist/src/orgrt/kimicode-runner.js.map +1 -1
- package/dist/src/orgrt/opencode-runner.d.ts.map +1 -1
- package/dist/src/orgrt/opencode-runner.js +10 -2
- package/dist/src/orgrt/opencode-runner.js.map +1 -1
- package/dist/src/orgrt/org-memory.d.ts +45 -0
- package/dist/src/orgrt/org-memory.d.ts.map +1 -0
- package/dist/src/orgrt/org-memory.js +220 -0
- package/dist/src/orgrt/org-memory.js.map +1 -0
- package/dist/src/orgrt/policy.d.ts +4 -0
- package/dist/src/orgrt/policy.d.ts.map +1 -1
- package/dist/src/orgrt/policy.js +13 -1
- package/dist/src/orgrt/policy.js.map +1 -1
- package/dist/src/orgrt/prechecks.d.ts +15 -0
- package/dist/src/orgrt/prechecks.d.ts.map +1 -0
- package/dist/src/orgrt/prechecks.js +21 -0
- package/dist/src/orgrt/prechecks.js.map +1 -0
- package/dist/src/orgrt/questions.d.ts +39 -0
- package/dist/src/orgrt/questions.d.ts.map +1 -0
- package/dist/src/orgrt/questions.js +135 -0
- package/dist/src/orgrt/questions.js.map +1 -0
- package/dist/src/orgrt/remote.d.ts +25 -0
- package/dist/src/orgrt/remote.d.ts.map +1 -0
- package/dist/src/orgrt/remote.js +73 -0
- package/dist/src/orgrt/remote.js.map +1 -0
- package/dist/src/orgrt/scheduler-integration.d.ts +19 -0
- package/dist/src/orgrt/scheduler-integration.d.ts.map +1 -0
- package/dist/src/orgrt/scheduler-integration.js +90 -0
- package/dist/src/orgrt/scheduler-integration.js.map +1 -0
- package/dist/src/orgrt/server.d.ts.map +1 -1
- package/dist/src/orgrt/server.js +70 -2
- package/dist/src/orgrt/server.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +30 -1
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +184 -53
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/state-detector.d.ts +19 -0
- package/dist/src/orgrt/state-detector.d.ts.map +1 -0
- package/dist/src/orgrt/state-detector.js +59 -0
- package/dist/src/orgrt/state-detector.js.map +1 -0
- package/dist/src/orgrt/task-dag.d.ts +27 -0
- package/dist/src/orgrt/task-dag.d.ts.map +1 -0
- package/dist/src/orgrt/task-dag.js +100 -0
- package/dist/src/orgrt/task-dag.js.map +1 -0
- package/dist/src/orgrt/tool-fence.d.ts +7 -4
- package/dist/src/orgrt/tool-fence.d.ts.map +1 -1
- package/dist/src/orgrt/tool-fence.js +47 -6
- package/dist/src/orgrt/tool-fence.js.map +1 -1
- package/dist/src/orgrt/types.d.ts +57 -2
- package/dist/src/orgrt/types.d.ts.map +1 -1
- package/dist/src/orgrt/types.js +34 -3
- package/dist/src/orgrt/types.js.map +1 -1
- package/dist/src/routing/model-download.d.ts +49 -0
- package/dist/src/routing/model-download.d.ts.map +1 -0
- package/dist/src/routing/model-download.js +106 -0
- package/dist/src/routing/model-download.js.map +1 -0
- package/dist/src/services/crash-reporter.d.ts +5 -0
- package/dist/src/services/crash-reporter.d.ts.map +1 -1
- package/dist/src/services/crash-reporter.js +49 -0
- package/dist/src/services/crash-reporter.js.map +1 -1
- package/dist/src/transfer/anonymization/index.d.ts +18 -15
- package/dist/src/transfer/anonymization/index.d.ts.map +1 -1
- package/dist/src/transfer/anonymization/index.js +7 -119
- package/dist/src/transfer/anonymization/index.js.map +1 -1
- package/dist/src/ui/dashboard.html +606 -7
- package/dist/src/ui/orgs.html +7 -1
- package/dist/src/ui/routes-monograph.mjs +6 -0
- package/dist/src/ui/server.mjs +327 -7
- package/dist/src/update/checker.d.ts.map +1 -1
- package/dist/src/update/checker.js +2 -1
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/update/executor.d.ts.map +1 -1
- package/dist/src/update/executor.js +7 -3
- package/dist/src/update/executor.js.map +1 -1
- package/dist/src/update/index.d.ts +0 -1
- package/dist/src/update/index.d.ts.map +1 -1
- package/dist/src/update/index.js +5 -24
- package/dist/src/update/index.js.map +1 -1
- package/dist/src/utils/db-mutex.d.ts +11 -0
- package/dist/src/utils/db-mutex.d.ts.map +1 -0
- package/dist/src/utils/db-mutex.js +23 -0
- package/dist/src/utils/db-mutex.js.map +1 -0
- package/dist/src/utils/input-guards.d.ts +23 -0
- package/dist/src/utils/input-guards.d.ts.map +1 -1
- package/dist/src/utils/input-guards.js +72 -0
- package/dist/src/utils/input-guards.js.map +1 -1
- package/dist/src/utils/npm-command.d.ts +10 -0
- package/dist/src/utils/npm-command.d.ts.map +1 -0
- package/dist/src/utils/npm-command.js +12 -0
- package/dist/src/utils/npm-command.js.map +1 -0
- package/dist/src/utils/paths.d.ts +28 -0
- package/dist/src/utils/paths.d.ts.map +1 -0
- package/dist/src/utils/paths.js +108 -0
- package/dist/src/utils/paths.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -17
- package/scripts/download-embedding-model.mjs +97 -0
- package/scripts/publish.sh +0 -0
- package/scripts/sync-claude-assets.sh +0 -0
- package/dist/src/production/circuit-breaker.d.ts +0 -121
- package/dist/src/production/circuit-breaker.d.ts.map +0 -1
- package/dist/src/production/circuit-breaker.js +0 -262
- package/dist/src/production/circuit-breaker.js.map +0 -1
- package/dist/src/production/error-handler.d.ts +0 -119
- package/dist/src/production/error-handler.d.ts.map +0 -1
- package/dist/src/production/error-handler.js +0 -324
- package/dist/src/production/error-handler.js.map +0 -1
- package/dist/src/production/index.d.ts +0 -6
- package/dist/src/production/index.d.ts.map +0 -1
- package/dist/src/production/index.js +0 -6
- package/dist/src/production/index.js.map +0 -1
- package/dist/src/production/monitoring.d.ts +0 -181
- package/dist/src/production/monitoring.d.ts.map +0 -1
- package/dist/src/production/monitoring.js +0 -375
- package/dist/src/production/monitoring.js.map +0 -1
- package/dist/src/production/rate-limiter.d.ts +0 -125
- package/dist/src/production/rate-limiter.d.ts.map +0 -1
- package/dist/src/production/rate-limiter.js +0 -218
- package/dist/src/production/rate-limiter.js.map +0 -1
- package/dist/src/production/retry.d.ts +0 -48
- package/dist/src/production/retry.d.ts.map +0 -1
- package/dist/src/production/retry.js +0 -189
- package/dist/src/production/retry.js.map +0 -1
- package/dist/src/transfer/types.d.ts +0 -245
- package/dist/src/transfer/types.d.ts.map +0 -1
- package/dist/src/transfer/types.js +0 -6
- package/dist/src/transfer/types.js.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CAPABILITIES.md writer — comprehensive overview of all Monomind features.
|
|
3
|
+
*/
|
|
4
|
+
import type { InitOptions, InitResult } from './types.js';
|
|
5
|
+
/**
|
|
6
|
+
* Write CAPABILITIES.md - comprehensive overview of all Monomind features
|
|
7
|
+
*/
|
|
8
|
+
export declare function writeCapabilitiesDoc(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=write-capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-capabilities.d.ts","sourceRoot":"","sources":["../../../src/init/write-capabilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1D;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CAiYf"}
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CAPABILITIES.md writer — comprehensive overview of all Monomind features.
|
|
3
|
+
*/
|
|
4
|
+
import * as fs from 'fs';
|
|
5
|
+
import * as path from 'path';
|
|
6
|
+
import { atomicWriteFile, _isOptionalPackageResolvable } from './shared.js';
|
|
7
|
+
/**
|
|
8
|
+
* Write CAPABILITIES.md - comprehensive overview of all Monomind features
|
|
9
|
+
*/
|
|
10
|
+
export async function writeCapabilitiesDoc(targetDir, options, result) {
|
|
11
|
+
const capabilitiesPath = path.join(targetDir, '.monomind', 'CAPABILITIES.md');
|
|
12
|
+
if (fs.existsSync(capabilitiesPath) && !options.force) {
|
|
13
|
+
result.skipped.push('.monomind/CAPABILITIES.md');
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
const hooksAvailable = _isOptionalPackageResolvable('@monoes/hooks');
|
|
17
|
+
const capabilities = `# Monomind - Complete Capabilities Reference
|
|
18
|
+
> Generated: ${new Date().toISOString()}
|
|
19
|
+
> Full documentation: https://github.com/monoes/monomind
|
|
20
|
+
|
|
21
|
+
## 📋 Table of Contents
|
|
22
|
+
|
|
23
|
+
1. [Overview](#overview)
|
|
24
|
+
2. [Swarm Orchestration](#swarm-orchestration)
|
|
25
|
+
3. [Available Agents (60+)](#available-agents)
|
|
26
|
+
4. [CLI Commands](#cli-commands)
|
|
27
|
+
5. [Hooks System (29 Hook Subcommands + 15 Background Workers)](#hooks-system)
|
|
28
|
+
6. [Memory & Intelligence](#memory--intelligence)
|
|
29
|
+
7. [Hive-Mind Consensus](#hive-mind-consensus)
|
|
30
|
+
8. [Performance Targets](#performance-targets)
|
|
31
|
+
9. [Integration Ecosystem](#integration-ecosystem)
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Overview
|
|
36
|
+
|
|
37
|
+
Monomind is a domain-driven design architecture for multi-agent AI coordination with:
|
|
38
|
+
|
|
39
|
+
- **15-Agent Swarm Coordination** with hierarchical and mesh topologies
|
|
40
|
+
- **ANN Vector Search** - indexed pattern retrieval via SQLite (better-sqlite3, sql.js WASM fallback)
|
|
41
|
+
- **Keyword Routing** - deterministic task→agent routing with outcome measurement
|
|
42
|
+
- **Byzantine Fault Tolerance** - Queen-led consensus mechanisms
|
|
43
|
+
- **MCP Server Integration** - Model Context Protocol support
|
|
44
|
+
|
|
45
|
+
### Current Configuration
|
|
46
|
+
| Setting | Value |
|
|
47
|
+
|---------|-------|
|
|
48
|
+
| Topology | ${options.runtime.topology} |
|
|
49
|
+
| Max Agents | ${options.runtime.maxAgents} |
|
|
50
|
+
| Memory Backend | ${options.runtime.memoryBackend} |
|
|
51
|
+
| HNSW Indexing | ${options.runtime.enableHNSW ? 'Enabled' : 'Disabled'} |
|
|
52
|
+
| Neural Learning | ${options.runtime.enableNeural ? 'Enabled' : 'Disabled'} |
|
|
53
|
+
| Learning | ${options.runtime.enableLearningBridge ? 'Enabled' : 'Disabled'} |
|
|
54
|
+
| Agent Scopes | ${options.runtime.enableAgentScopes ? 'Enabled (project/local/user)' : 'Disabled'} |
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Swarm Orchestration
|
|
59
|
+
|
|
60
|
+
### Topologies
|
|
61
|
+
| Topology | Description | Best For |
|
|
62
|
+
|----------|-------------|----------|
|
|
63
|
+
| \`hierarchical\` | Queen controls workers directly | Anti-drift, tight control |
|
|
64
|
+
| \`mesh\` | Fully connected peer network | Distributed tasks |
|
|
65
|
+
| \`hierarchical-mesh\` | V1 hybrid (recommended) | 10+ agents |
|
|
66
|
+
| \`ring\` | Circular communication | Sequential workflows |
|
|
67
|
+
| \`star\` | Central coordinator | Simple coordination |
|
|
68
|
+
| \`adaptive\` | Dynamic based on load | Variable workloads |
|
|
69
|
+
|
|
70
|
+
### Strategies
|
|
71
|
+
- \`balanced\` - Even distribution across agents
|
|
72
|
+
- \`specialized\` - Clear roles, no overlap (anti-drift)
|
|
73
|
+
- \`adaptive\` - Dynamic task routing
|
|
74
|
+
|
|
75
|
+
### Quick Commands
|
|
76
|
+
\`\`\`bash
|
|
77
|
+
# Initialize swarm
|
|
78
|
+
npx monomind@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized
|
|
79
|
+
|
|
80
|
+
# Check status
|
|
81
|
+
npx monomind@latest swarm status
|
|
82
|
+
|
|
83
|
+
# Monitor activity
|
|
84
|
+
npx monomind@latest swarm monitor
|
|
85
|
+
\`\`\`
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Available Agents
|
|
90
|
+
|
|
91
|
+
### Core Development (5)
|
|
92
|
+
\`coder\`, \`reviewer\`, \`tester\`, \`planner\`, \`researcher\`
|
|
93
|
+
|
|
94
|
+
### V1 Specialized (4)
|
|
95
|
+
\`security-architect\`, \`security-auditor\`, \`memory-specialist\`, \`performance-engineer\`
|
|
96
|
+
|
|
97
|
+
### Swarm Coordination (5)
|
|
98
|
+
\`hierarchical-coordinator\`, \`mesh-coordinator\`, \`adaptive-coordinator\`, \`collective-intelligence-coordinator\`, \`swarm-memory-manager\`
|
|
99
|
+
|
|
100
|
+
### Consensus & Distributed (7)
|
|
101
|
+
\`byzantine-coordinator\`, \`raft-manager\`, \`gossip-coordinator\`, \`consensus-builder\`, \`crdt-synchronizer\`, \`quorum-manager\`, \`security-manager\`
|
|
102
|
+
|
|
103
|
+
### Performance & Optimization (5)
|
|
104
|
+
\`perf-analyzer\`, \`performance-benchmarker\`, \`task-orchestrator\`, \`memory-coordinator\`, \`smart-agent\`
|
|
105
|
+
|
|
106
|
+
### GitHub & Repository (9)
|
|
107
|
+
\`github-modes\`, \`pr-manager\`, \`code-review-swarm\`, \`issue-tracker\`, \`release-manager\`, \`workflow-automation\`, \`project-board-sync\`, \`repo-architect\`, \`multi-repo-swarm\`
|
|
108
|
+
|
|
109
|
+
### Specialized Development (8)
|
|
110
|
+
\`backend-dev\`, \`mobile-dev\`, \`ml-developer\`, \`cicd-engineer\`, \`api-docs\`, \`system-architect\`, \`code-analyzer\`, \`base-template-generator\`
|
|
111
|
+
|
|
112
|
+
### Testing & Validation (2)
|
|
113
|
+
\`tdd-london-swarm\`, \`production-validator\`
|
|
114
|
+
|
|
115
|
+
### Agent Routing by Task
|
|
116
|
+
| Task Type | Recommended Agents | Topology |
|
|
117
|
+
|-----------|-------------------|----------|
|
|
118
|
+
| Bug Fix | researcher, coder, tester | mesh |
|
|
119
|
+
| New Feature | coordinator, architect, coder, tester, reviewer | hierarchical |
|
|
120
|
+
| Refactoring | architect, coder, reviewer | mesh |
|
|
121
|
+
| Performance | researcher, perf-engineer, coder | hierarchical |
|
|
122
|
+
| Security | security-architect, auditor, reviewer | hierarchical |
|
|
123
|
+
| Docs | researcher, api-docs | mesh |
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## CLI Commands
|
|
128
|
+
|
|
129
|
+
### Core Commands
|
|
130
|
+
| Command | Subcommands | Description |
|
|
131
|
+
|---------|-------------|-------------|
|
|
132
|
+
| \`init\` | 5 | Project initialization |
|
|
133
|
+
| \`agent\` | 7 | Agent lifecycle management |
|
|
134
|
+
| \`swarm\` | 6 | Multi-agent coordination |
|
|
135
|
+
| \`memory\` | 12 | SQLite with ANN vector search |
|
|
136
|
+
| \`mcp\` | 9 | MCP server management |
|
|
137
|
+
| \`task\` | 5 | Task assignment |
|
|
138
|
+
| \`session\` | 6 | Session persistence |
|
|
139
|
+
| \`config\` | 7 | Configuration |
|
|
140
|
+
| \`status\` | 3 | System monitoring |
|
|
141
|
+
| \`hooks\` | 29 | Self-learning hooks + 15 background workers${hooksAvailable ? '' : ' (background workers unavailable in this install)'} |
|
|
142
|
+
|
|
143
|
+
> Note: there is no \`hive-mind\`, \`workflow\`, \`neural\`, \`embeddings\`, \`claims\`, \`migrate\`, or \`process\` CLI command.
|
|
144
|
+
> Hive-Mind consensus (byzantine/raft/quorum) is available exclusively via MCP tools, not the CLI.
|
|
145
|
+
> Neural pattern learning was merged into \`hooks intelligence\`.
|
|
146
|
+
|
|
147
|
+
### Advanced Commands
|
|
148
|
+
| Command | Subcommands | Description |
|
|
149
|
+
|---------|-------------|-------------|
|
|
150
|
+
| \`security\` | 6 | Security scanning |
|
|
151
|
+
| \`performance\` | 4 | Profiling & benchmarks |
|
|
152
|
+
| \`providers\` | 4 | AI provider config |
|
|
153
|
+
| \`guidance\` | 1 | Governance gate setup |
|
|
154
|
+
| \`doctor\` | 1 | Health diagnostics |
|
|
155
|
+
| \`completions\` | 4 | Shell completions |
|
|
156
|
+
|
|
157
|
+
### Example Commands
|
|
158
|
+
\`\`\`bash
|
|
159
|
+
# Initialize
|
|
160
|
+
npx monomind@latest init --wizard
|
|
161
|
+
|
|
162
|
+
# Spawn agent
|
|
163
|
+
npx monomind@latest agent spawn -t coder --name my-coder
|
|
164
|
+
|
|
165
|
+
# Memory operations
|
|
166
|
+
npx monomind@latest memory store --key "pattern" --value "data" --namespace patterns
|
|
167
|
+
npx monomind@latest memory search --query "authentication"
|
|
168
|
+
|
|
169
|
+
# Diagnostics
|
|
170
|
+
npx monomind@latest doctor --fix
|
|
171
|
+
\`\`\`
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Hooks System
|
|
176
|
+
|
|
177
|
+
### 29 Available Hook Subcommands${hooksAvailable ? '' : ' — background workers unavailable in this install (@monoes/hooks did not resolve)'}
|
|
178
|
+
|
|
179
|
+
#### Core Hooks (6)
|
|
180
|
+
| Hook | Description |
|
|
181
|
+
|------|-------------|
|
|
182
|
+
| \`pre-edit\` | Context before file edits |
|
|
183
|
+
| \`post-edit\` | Record edit outcomes |
|
|
184
|
+
| \`pre-command\` | Risk assessment |
|
|
185
|
+
| \`post-command\` | Command metrics |
|
|
186
|
+
| \`pre-task\` | Task start + agent suggestions |
|
|
187
|
+
| \`post-task\` | Task completion learning |
|
|
188
|
+
|
|
189
|
+
#### Session Hooks (4)
|
|
190
|
+
| Hook | Description |
|
|
191
|
+
|------|-------------|
|
|
192
|
+
| \`session-start\` | Start/restore session |
|
|
193
|
+
| \`session-end\` | Persist state |
|
|
194
|
+
| \`session-restore\` | Restore previous |
|
|
195
|
+
| \`notify\` | Cross-agent notifications |
|
|
196
|
+
|
|
197
|
+
#### Intelligence Hooks (5)
|
|
198
|
+
| Hook | Description |
|
|
199
|
+
|------|-------------|
|
|
200
|
+
| \`route\` | Optimal agent routing |
|
|
201
|
+
| \`explain\` | Routing decisions |
|
|
202
|
+
| \`pretrain\` | Bootstrap intelligence |
|
|
203
|
+
| \`build-agents\` | Generate configs |
|
|
204
|
+
| \`transfer\` | Pattern transfer |
|
|
205
|
+
|
|
206
|
+
#### Coverage Hooks (3)
|
|
207
|
+
| Hook | Description |
|
|
208
|
+
|------|-------------|
|
|
209
|
+
| \`coverage-route\` | Coverage-based routing |
|
|
210
|
+
| \`coverage-suggest\` | Improvement suggestions |
|
|
211
|
+
| \`coverage-gaps\` | Gap analysis |
|
|
212
|
+
|
|
213
|
+
### 15 Background Workers (@monoes/hooks, run in-process)
|
|
214
|
+
| Worker | Priority | Purpose |
|
|
215
|
+
|--------|----------|---------|
|
|
216
|
+
| \`performance\` | normal | Benchmark performance |
|
|
217
|
+
| \`health\` | high | System health monitoring |
|
|
218
|
+
| \`swarm\` | high | Swarm activity monitoring |
|
|
219
|
+
| \`git\` | normal | Branch/change tracking |
|
|
220
|
+
| \`learning\` | normal | Learning optimization |
|
|
221
|
+
| \`adr\` | low | ADR compliance |
|
|
222
|
+
| \`ddd\` | low | DDD progress |
|
|
223
|
+
| \`security\` | high | Secret/vulnerability scan |
|
|
224
|
+
| \`patterns\` | normal | Pattern consolidation |
|
|
225
|
+
| \`cache\` | background | Cache cleanup |
|
|
226
|
+
| \`progress\` | normal | Progress tracking |
|
|
227
|
+
| \`map\` | normal | Codebase mapping |
|
|
228
|
+
| \`audit\` | high | Security audit metrics |
|
|
229
|
+
| \`optimize\` | normal | Performance snapshot |
|
|
230
|
+
| \`consolidate\` | low | Memory consolidation |
|
|
231
|
+
|
|
232
|
+
Metrics-producing workers (ddd, map, audit, optimize, consolidate) refresh at
|
|
233
|
+
session start when their output is >6h old; run on demand with
|
|
234
|
+
\`monomind hooks worker run <name>\`.
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## Memory & Intelligence
|
|
239
|
+
|
|
240
|
+
### Intelligence System
|
|
241
|
+
- **Keyword routing**: Deterministic task→agent routing with outcome measurement
|
|
242
|
+
- **ANN pattern search**: Indexed vector search via SQLite
|
|
243
|
+
- **ReasoningBank**: Stores learned patterns and trajectories for retrieval
|
|
244
|
+
- **Int8 Quantization**: ~4x memory reduction for stored embeddings
|
|
245
|
+
|
|
246
|
+
Routing and learning are JS-only — no native neural engine is required. Route
|
|
247
|
+
and command outcomes are recorded and scored so routing quality is measured.
|
|
248
|
+
|
|
249
|
+
### Self-Learning Memory (ADR-049)
|
|
250
|
+
|
|
251
|
+
| Component | Status | Description |
|
|
252
|
+
|-----------|--------|-------------|
|
|
253
|
+
| **Learning** | ${options.runtime.enableLearningBridge ? '✅ Enabled' : '⏸ Disabled'} | Connects insights to the pattern store |
|
|
254
|
+
| **AgentMemoryScope** | ${options.runtime.enableAgentScopes ? '✅ Enabled' : '⏸ Disabled'} | 3-scope agent memory (project/local/user) |
|
|
255
|
+
|
|
256
|
+
**Learning** — Insights trigger learning trajectories. Confidence evolves: +0.03 on access, -0.005/hour decay.
|
|
257
|
+
|
|
258
|
+
**AgentMemoryScope** - Maps Claude Code 3-scope directories:
|
|
259
|
+
- \`project\`: \`<gitRoot>/.claude/agent-memory/<agent>/\`
|
|
260
|
+
- \`local\`: \`<gitRoot>/.claude/agent-memory-local/<agent>/\`
|
|
261
|
+
- \`user\`: \`~/.claude/agent-memory/<agent>/\`
|
|
262
|
+
|
|
263
|
+
High-confidence insights (>0.8) can transfer between agents.
|
|
264
|
+
|
|
265
|
+
### Memory Commands
|
|
266
|
+
\`\`\`bash
|
|
267
|
+
# Store pattern
|
|
268
|
+
npx monomind@latest memory store --key "name" --value "data" --namespace patterns
|
|
269
|
+
|
|
270
|
+
# Semantic search
|
|
271
|
+
npx monomind@latest memory search --query "authentication"
|
|
272
|
+
|
|
273
|
+
# List entries
|
|
274
|
+
npx monomind@latest memory list --namespace patterns
|
|
275
|
+
|
|
276
|
+
# Initialize database
|
|
277
|
+
npx monomind@latest memory init --force
|
|
278
|
+
\`\`\`
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Hive-Mind Consensus
|
|
283
|
+
|
|
284
|
+
> **Experimental, MCP-only.** There is no \`hive-mind\` CLI command — this is
|
|
285
|
+
> single-process vote counting exposed exclusively via MCP tools
|
|
286
|
+
> (\`hive-mind-tools.ts\`), not distributed networking. Reach it through the
|
|
287
|
+
> MCP server (\`npx monomind@latest mcp start\`) once connected to an MCP client.
|
|
288
|
+
|
|
289
|
+
### Queen Types
|
|
290
|
+
| Type | Role |
|
|
291
|
+
|------|------|
|
|
292
|
+
| Strategic Queen | Long-term planning |
|
|
293
|
+
| Tactical Queen | Execution coordination |
|
|
294
|
+
| Adaptive Queen | Dynamic optimization |
|
|
295
|
+
|
|
296
|
+
### Worker Types (8)
|
|
297
|
+
\`researcher\`, \`coder\`, \`analyst\`, \`tester\`, \`architect\`, \`reviewer\`, \`optimizer\`, \`documenter\`
|
|
298
|
+
|
|
299
|
+
### Consensus Mechanisms
|
|
300
|
+
| Mechanism | Fault Tolerance | Status |
|
|
301
|
+
|-----------|-----------------|--------|
|
|
302
|
+
| \`byzantine\` / \`bft\` | f < n/3 faulty | Implemented (vote counting) |
|
|
303
|
+
| \`raft\` | f < n/2 failed | Implemented (vote counting) |
|
|
304
|
+
| \`quorum\` | Configurable | Implemented |
|
|
305
|
+
| \`gossip\` | Eventually consistent | Planned — not implemented, rejected by \`hive_mind_init\` |
|
|
306
|
+
| \`crdt\` | Conflict-free | Planned — not implemented, rejected by \`hive_mind_init\` |
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## Performance Targets
|
|
311
|
+
|
|
312
|
+
| Metric | Target | Status |
|
|
313
|
+
|--------|--------|--------|
|
|
314
|
+
| ANN Search | Indexed vector search | ✅ Implemented (SQLite) |
|
|
315
|
+
| Memory Reduction | 50-75% | ✅ Implemented (~4x via Int8 quantization) |
|
|
316
|
+
| Pattern Learning | Recorded + retrievable | ✅ Implemented (ReasoningBank) |
|
|
317
|
+
| MCP Response | <100ms | ✅ Achieved |
|
|
318
|
+
| CLI Startup | <500ms | ✅ Achieved |
|
|
319
|
+
| Graph Build (1k) | <200ms | ✅ 2.78ms (71.9x headroom) |
|
|
320
|
+
| PageRank (1k) | <100ms | ✅ 12.21ms (8.2x headroom) |
|
|
321
|
+
| Insight Recording | <5ms/each | ✅ 0.12ms (41x headroom) |
|
|
322
|
+
| Consolidation | <500ms | ✅ 0.26ms (1,955x headroom) |
|
|
323
|
+
| Knowledge Transfer | <100ms | ✅ 1.25ms (80x headroom) |
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Integration Ecosystem
|
|
328
|
+
|
|
329
|
+
### Integrated Packages
|
|
330
|
+
| Package | Version | Purpose |
|
|
331
|
+
|---------|---------|---------|
|
|
332
|
+
| better-sqlite3 (sql.js WASM fallback) | latest | SQLite vector database (ANN search) |
|
|
333
|
+
|
|
334
|
+
### Optional Integrations
|
|
335
|
+
| Package | Command |
|
|
336
|
+
|---------|---------|
|
|
337
|
+
| agentic-jujutsu | \`npx agentic-jujutsu@latest\` |
|
|
338
|
+
|
|
339
|
+
### MCP Server Setup
|
|
340
|
+
\`\`\`bash
|
|
341
|
+
# Add Monomind MCP
|
|
342
|
+
claude mcp add monomind -- npx -y monomind@latest mcp start
|
|
343
|
+
\`\`\`
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Quick Reference
|
|
348
|
+
|
|
349
|
+
### Essential Commands
|
|
350
|
+
\`\`\`bash
|
|
351
|
+
# Setup
|
|
352
|
+
npx monomind@latest init --wizard
|
|
353
|
+
npx monomind@latest doctor --fix
|
|
354
|
+
|
|
355
|
+
# Swarm
|
|
356
|
+
npx monomind@latest swarm init --topology hierarchical --max-agents 8
|
|
357
|
+
npx monomind@latest swarm status
|
|
358
|
+
|
|
359
|
+
# Agents
|
|
360
|
+
npx monomind@latest agent spawn -t coder
|
|
361
|
+
npx monomind@latest agent list
|
|
362
|
+
|
|
363
|
+
# Memory
|
|
364
|
+
npx monomind@latest memory search --query "patterns"
|
|
365
|
+
|
|
366
|
+
# Hooks
|
|
367
|
+
npx monomind@latest hooks pre-task --description "task"
|
|
368
|
+
npx monomind@latest hooks worker run optimize
|
|
369
|
+
\`\`\`
|
|
370
|
+
|
|
371
|
+
### File Structure
|
|
372
|
+
\`\`\`
|
|
373
|
+
.monomind/
|
|
374
|
+
├── config.yaml # Runtime configuration
|
|
375
|
+
├── CAPABILITIES.md # This file
|
|
376
|
+
├── data/ # Memory storage
|
|
377
|
+
├── logs/ # Operation logs
|
|
378
|
+
├── sessions/ # Session state
|
|
379
|
+
├── hooks/ # Custom hooks
|
|
380
|
+
├── agents/ # Agent configs
|
|
381
|
+
└── workflows/ # Workflow templates
|
|
382
|
+
\`\`\`
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
**Full Documentation**: https://github.com/monoes/monomind
|
|
387
|
+
**Issues**: https://github.com/monoes/monomind/issues
|
|
388
|
+
`;
|
|
389
|
+
atomicWriteFile(capabilitiesPath, capabilities);
|
|
390
|
+
result.created.files.push('.monomind/CAPABILITIES.md');
|
|
391
|
+
}
|
|
392
|
+
//# sourceMappingURL=write-capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-capabilities.js","sourceRoot":"","sources":["../../../src/init/write-capabilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAE5E;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,SAAiB,EACjB,OAAoB,EACpB,MAAkB;IAElB,MAAM,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;IAE9E,IAAI,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACtD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;QACjD,OAAO;IACT,CAAC;IAED,MAAM,cAAc,GAAG,4BAA4B,CAAC,eAAe,CAAC,CAAC;IAErE,MAAM,YAAY,GAAG;eACR,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA8BxB,OAAO,CAAC,OAAO,CAAC,QAAQ;iBACtB,OAAO,CAAC,OAAO,CAAC,SAAS;qBACrB,OAAO,CAAC,OAAO,CAAC,aAAa;oBAC9B,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;sBACjD,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;eAC5D,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;mBACzD,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAuFlC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAoCtG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mFAAmF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA4EzH,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY;2BACzD,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIxF,CAAC;IAEA,eAAe,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;IAChD,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Claude Code file writers: settings.json, .mcp.json, helpers, statusline, CLAUDE.md.
|
|
3
|
+
*/
|
|
4
|
+
import type { InitOptions, InitResult } from './types.js';
|
|
5
|
+
/**
|
|
6
|
+
* Write settings.json
|
|
7
|
+
*/
|
|
8
|
+
export declare function writeSettings(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
9
|
+
/**
|
|
10
|
+
* Write .mcp.json
|
|
11
|
+
*/
|
|
12
|
+
export declare function writeMCPConfig(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Write helper scripts
|
|
15
|
+
*/
|
|
16
|
+
export declare function writeHelpers(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Write statusline configuration
|
|
19
|
+
*/
|
|
20
|
+
export declare function writeStatusline(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Write CLAUDE.md with swarm guidance
|
|
23
|
+
*/
|
|
24
|
+
export declare function writeClaudeMd(targetDir: string, options: InitOptions, result: InitResult): Promise<void>;
|
|
25
|
+
//# sourceMappingURL=write-claude.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-claude.d.ts","sourceRoot":"","sources":["../../../src/init/write-claude.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAe1D;;GAEG;AACH,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CAoDf;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CAWf;AAED;;GAEG;AACH,wBAAsB,YAAY,CAChC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CAuEf;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CA0Cf;AAED;;GAEG;AACH,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,IAAI,CAAC,CA8Ff"}
|