@monoes/monomindcli 1.10.57 → 1.11.0
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/core/coordinator.md +71 -0
- package/.claude/agents/generated/case-analyst.md +50 -0
- package/.claude/agents/generated/copy-editor.md +45 -0
- package/.claude/agents/generated/court-reporter.md +50 -0
- package/.claude/agents/generated/defender.md +51 -0
- package/.claude/agents/generated/editor-in-chief.md +45 -0
- package/.claude/agents/generated/fact-checker.md +45 -0
- package/.claude/agents/generated/judge.md +51 -0
- package/.claude/agents/generated/prosecutor.md +51 -0
- package/.claude/agents/generated/reporter.md +45 -0
- package/.claude/commands/hooks/README.md +1 -1
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/mastermind/_repeat.md +1 -1
- package/.claude/commands/mastermind/do.md +3 -1
- package/.claude/commands/mastermind/help.md +2 -2
- package/.claude/commands/mastermind/master.md +39 -6
- package/.claude/commands/mastermind/memory.md +1 -1
- package/.claude/commands/memory/memory-search.md +2 -2
- package/.claude/commands/monitoring/status.md +1 -1
- package/.claude/commands/{browse.md → monobrowse.md} +2 -2
- package/.claude/commands/sparc.md +1 -1
- package/.claude/helpers/handlers/graph-status-handler.cjs +1 -1
- package/.claude/helpers/loop-tracker.cjs +1 -1
- package/.claude/skills/agent-browser-testing/SKILL.md +1 -1
- package/.claude/skills/hooks-automation/SKILL.md +0 -3
- package/.claude/skills/mastermind/build.md +1 -1
- package/.claude/skills/mastermind/code-quality-reviewer-prompt.md +60 -0
- package/.claude/skills/mastermind/content.md +1 -1
- package/.claude/skills/mastermind/createorg.md +79 -2
- package/.claude/skills/mastermind/design.md +3 -1
- package/.claude/skills/mastermind/finance.md +1 -1
- package/.claude/skills/mastermind/implementer-prompt.md +109 -0
- package/.claude/skills/mastermind/marketing.md +1 -1
- package/.claude/skills/mastermind/ops.md +1 -1
- package/.claude/skills/mastermind/plan.md +20 -2
- package/.claude/skills/mastermind/release.md +1 -1
- package/.claude/skills/mastermind/research.md +1 -1
- package/.claude/skills/mastermind/review.md +1 -1
- package/.claude/skills/mastermind/sales.md +1 -1
- package/.claude/skills/mastermind/spec-reviewer-prompt.md +63 -0
- package/.claude/skills/sparc-methodology/SKILL.md +3 -3
- package/.claude/skills/swarm-advanced/SKILL.md +1 -4
- package/README.md +18 -32
- package/dist/src/agents/registry-builder.d.ts +1 -7
- package/dist/src/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +10 -6
- package/dist/src/agents/registry-builder.js.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.d.ts +59 -12
- package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.js +67 -13
- package/dist/src/benchmarks/benchmark-runner.js.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.js.map +1 -1
- package/dist/src/benchmarks/pretrain/index.d.ts +0 -13
- package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -1
- package/dist/src/benchmarks/pretrain/index.js.map +1 -1
- package/dist/src/commands/agent-wasm.d.ts +2 -2
- package/dist/src/commands/agent-wasm.js +5 -5
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +1 -6
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/analyze.d.ts +1 -1
- package/dist/src/commands/analyze.d.ts.map +1 -1
- package/dist/src/commands/analyze.js +8 -18
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +53 -3
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/embeddings.d.ts.map +1 -1
- package/dist/src/commands/embeddings.js +9 -33
- package/dist/src/commands/embeddings.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +24 -76
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +4 -6
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +8 -15
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.js +2 -2
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/issues.d.ts.map +1 -1
- package/dist/src/commands/issues.js +16 -11
- package/dist/src/commands/issues.js.map +1 -1
- package/dist/src/commands/memory.js +6 -6
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/migrate.d.ts.map +1 -1
- package/dist/src/commands/migrate.js +1 -2
- package/dist/src/commands/migrate.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +18 -11
- package/dist/src/commands/monograph.js.map +1 -1
- package/dist/src/commands/monovector/backup.d.ts +11 -0
- package/dist/src/commands/monovector/backup.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/backup.js +25 -25
- package/dist/src/commands/monovector/backup.js.map +1 -0
- package/dist/src/commands/monovector/benchmark.d.ts +11 -0
- package/dist/src/commands/monovector/benchmark.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/benchmark.js +14 -14
- package/dist/src/commands/monovector/benchmark.js.map +1 -0
- package/dist/src/commands/monovector/import.d.ts +18 -0
- package/dist/src/commands/monovector/import.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/import.js +21 -21
- package/dist/src/commands/monovector/import.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/index.d.ts +6 -6
- package/dist/src/commands/monovector/index.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/index.js +22 -22
- package/dist/src/commands/monovector/index.js.map +1 -0
- package/dist/src/commands/monovector/init.d.ts +11 -0
- package/dist/src/commands/monovector/init.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/init.js +36 -36
- package/dist/src/commands/monovector/init.js.map +1 -0
- package/dist/src/commands/monovector/migrate.d.ts +11 -0
- package/dist/src/commands/monovector/migrate.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/migrate.js +16 -16
- package/dist/src/commands/monovector/migrate.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/optimize.d.ts +2 -2
- package/dist/src/commands/monovector/optimize.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/optimize.js +10 -10
- package/dist/src/commands/monovector/optimize.js.map +1 -0
- package/dist/src/commands/monovector/setup.d.ts +18 -0
- package/dist/src/commands/monovector/setup.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/setup.js +77 -77
- package/dist/src/commands/monovector/setup.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/status.d.ts +2 -2
- package/dist/src/commands/monovector/status.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/status.js +34 -34
- package/dist/src/commands/monovector/status.js.map +1 -0
- package/dist/src/commands/neural.d.ts +1 -1
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +31 -608
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.d.ts.map +1 -1
- package/dist/src/commands/performance.js +7 -10
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/plugins.d.ts.map +1 -1
- package/dist/src/commands/plugins.js +3 -4
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/process.d.ts.map +1 -1
- package/dist/src/commands/process.js +5 -12
- package/dist/src/commands/process.js.map +1 -1
- package/dist/src/commands/progress.d.ts.map +1 -1
- package/dist/src/commands/progress.js +16 -16
- package/dist/src/commands/progress.js.map +1 -1
- package/dist/src/commands/replay.d.ts.map +1 -1
- package/dist/src/commands/replay.js.map +1 -1
- package/dist/src/commands/route.d.ts +2 -2
- package/dist/src/commands/route.js +23 -23
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +0 -3
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/swarm.d.ts.map +1 -1
- package/dist/src/commands/swarm.js +2 -3
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/config-adapter.d.ts.map +1 -1
- package/dist/src/config-adapter.js +27 -0
- package/dist/src/config-adapter.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts +44 -17
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js.map +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -1
- package/dist/src/index.js +5 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +10 -14
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +17 -27
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.js +2 -2
- package/dist/src/init/types.d.ts +1 -1
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +1 -7
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +9 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +1 -52
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.js +5 -5
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +6 -5
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +51 -54
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
- package/dist/src/mcp-tools/daa-tools.d.ts +1 -1
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/daa-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +10 -10
- package/dist/src/mcp-tools/embeddings-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 +0 -24
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +189 -480
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +0 -2
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +0 -2
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.d.ts +334 -0
- package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph-compat.js +1108 -0
- package/dist/src/mcp-tools/monograph-compat.js.map +1 -0
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +76 -34
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts +1 -1
- package/dist/src/mcp-tools/neural-tools.js +2 -2
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +2 -2
- package/dist/src/mcp-tools/ruvllm-tools.js +3 -3
- package/dist/src/mcp-tools/terminal-tools.d.ts +1 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +29 -19
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.js +2 -2
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +14 -8
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +17 -2
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +76 -23
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts +2 -2
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +37 -39
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/monovector/capabilities.d.ts +34 -0
- package/dist/src/monovector/capabilities.d.ts.map +1 -0
- package/dist/src/monovector/capabilities.js +37 -0
- package/dist/src/monovector/capabilities.js.map +1 -0
- package/dist/src/monovector/command-outcomes.d.ts +37 -0
- package/dist/src/monovector/command-outcomes.d.ts.map +1 -0
- package/dist/src/monovector/command-outcomes.js +87 -0
- package/dist/src/monovector/command-outcomes.js.map +1 -0
- package/dist/src/monovector/coverage-router.d.ts +103 -0
- package/dist/src/monovector/coverage-router.d.ts.map +1 -0
- package/dist/src/monovector/coverage-router.js +337 -0
- package/dist/src/monovector/coverage-router.js.map +1 -0
- package/dist/src/monovector/coverage-tools.d.ts +14 -0
- package/dist/src/monovector/coverage-tools.d.ts.map +1 -0
- package/dist/src/monovector/coverage-tools.js +112 -0
- package/dist/src/monovector/coverage-tools.js.map +1 -0
- package/dist/src/{ruvector → monovector}/diff-classifier.d.ts +2 -2
- package/dist/src/monovector/diff-classifier.d.ts.map +1 -0
- package/dist/src/monovector/diff-classifier.js.map +1 -0
- package/dist/src/monovector/index.d.ts +61 -0
- package/dist/src/monovector/index.d.ts.map +1 -0
- package/dist/src/monovector/index.js +67 -0
- package/dist/src/monovector/index.js.map +1 -0
- package/dist/src/monovector/init-state.d.ts +35 -0
- package/dist/src/monovector/init-state.d.ts.map +1 -0
- package/dist/src/monovector/init-state.js +36 -0
- package/dist/src/monovector/init-state.js.map +1 -0
- package/dist/src/monovector/route-outcomes.d.ts +55 -0
- package/dist/src/monovector/route-outcomes.d.ts.map +1 -0
- package/dist/src/monovector/route-outcomes.js +137 -0
- package/dist/src/monovector/route-outcomes.js.map +1 -0
- package/dist/src/parser.js +3 -3
- package/dist/src/parser.js.map +1 -1
- package/dist/src/plugins/store/discovery.d.ts.map +1 -1
- package/dist/src/plugins/store/discovery.js +0 -31
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/production/circuit-breaker.d.ts +26 -6
- package/dist/src/production/circuit-breaker.d.ts.map +1 -1
- package/dist/src/production/circuit-breaker.js.map +1 -1
- package/dist/src/production/error-handler.d.ts +55 -30
- package/dist/src/production/error-handler.d.ts.map +1 -1
- package/dist/src/production/error-handler.js.map +1 -1
- package/dist/src/production/index.d.ts +3 -20
- package/dist/src/production/index.d.ts.map +1 -1
- package/dist/src/production/index.js +3 -15
- package/dist/src/production/index.js.map +1 -1
- package/dist/src/production/monitoring.d.ts +54 -34
- package/dist/src/production/monitoring.d.ts.map +1 -1
- package/dist/src/production/monitoring.js +12 -14
- package/dist/src/production/monitoring.js.map +1 -1
- package/dist/src/production/rate-limiter.d.ts +64 -19
- package/dist/src/production/rate-limiter.d.ts.map +1 -1
- package/dist/src/production/rate-limiter.js +5 -5
- package/dist/src/production/rate-limiter.js.map +1 -1
- package/dist/src/production/retry.d.ts.map +1 -1
- package/dist/src/production/retry.js +4 -2
- package/dist/src/production/retry.js.map +1 -1
- package/dist/src/services/claim-service.d.ts +50 -59
- package/dist/src/services/claim-service.d.ts.map +1 -1
- package/dist/src/services/claim-service.js +83 -50
- package/dist/src/services/claim-service.js.map +1 -1
- package/dist/src/services/config-file-manager.d.ts.map +1 -1
- package/dist/src/services/config-file-manager.js +8 -1
- package/dist/src/services/config-file-manager.js.map +1 -1
- package/dist/src/services/worker-daemon.d.ts.map +1 -1
- package/dist/src/services/worker-daemon.js +4 -0
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/types.d.ts +13 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/ui/collector.mjs +51 -11
- package/dist/src/ui/dashboard.html +313 -88
- package/dist/src/ui/server.mjs +163 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/scripts/publish-registry.ts +0 -1
- package/.claude/commands/monomind/adr.md +0 -11
- package/.claude/commands/monomind/budget.md +0 -7
- package/.claude/commands/monomind/createtask.md +0 -277
- package/.claude/commands/monomind/do.md +0 -498
- package/.claude/commands/monomind/graph-status.md +0 -7
- package/.claude/commands/monomind/help.md +0 -118
- package/.claude/commands/monomind/idea.md +0 -273
- package/.claude/commands/monomind/improve.md +0 -352
- package/.claude/commands/monomind/loops.md +0 -7
- package/.claude/commands/monomind/memory.md +0 -230
- package/.claude/commands/monomind/repeat.md +0 -257
- package/.claude/commands/monomind/review.md +0 -317
- package/.claude/commands/monomind/specialagents.md +0 -125
- package/.claude/commands/monomind/swarm.md +0 -161
- package/.claude/commands/monomind/understand.md +0 -139
- package/.claude/commands/training/README.md +0 -39
- package/.claude/commands/training/neural-patterns.md +0 -73
- package/.claude/commands/training/neural-train.md +0 -79
- package/dist/src/commands/appliance-advanced.d.ts +0 -9
- package/dist/src/commands/appliance-advanced.d.ts.map +0 -1
- package/dist/src/commands/appliance-advanced.js +0 -238
- package/dist/src/commands/appliance-advanced.js.map +0 -1
- package/dist/src/commands/appliance.d.ts +0 -8
- package/dist/src/commands/appliance.d.ts.map +0 -1
- package/dist/src/commands/appliance.js +0 -406
- package/dist/src/commands/appliance.js.map +0 -1
- package/dist/src/commands/ruvector/backup.d.ts +0 -11
- package/dist/src/commands/ruvector/backup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/backup.js.map +0 -1
- package/dist/src/commands/ruvector/benchmark.d.ts +0 -11
- package/dist/src/commands/ruvector/benchmark.d.ts.map +0 -1
- package/dist/src/commands/ruvector/benchmark.js.map +0 -1
- package/dist/src/commands/ruvector/import.d.ts +0 -18
- package/dist/src/commands/ruvector/import.d.ts.map +0 -1
- package/dist/src/commands/ruvector/import.js.map +0 -1
- package/dist/src/commands/ruvector/index.d.ts.map +0 -1
- package/dist/src/commands/ruvector/index.js.map +0 -1
- package/dist/src/commands/ruvector/init.d.ts +0 -11
- package/dist/src/commands/ruvector/init.d.ts.map +0 -1
- package/dist/src/commands/ruvector/init.js.map +0 -1
- package/dist/src/commands/ruvector/migrate.d.ts +0 -11
- package/dist/src/commands/ruvector/migrate.d.ts.map +0 -1
- package/dist/src/commands/ruvector/migrate.js.map +0 -1
- package/dist/src/commands/ruvector/optimize.d.ts.map +0 -1
- package/dist/src/commands/ruvector/optimize.js.map +0 -1
- package/dist/src/commands/ruvector/setup.d.ts +0 -18
- package/dist/src/commands/ruvector/setup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/setup.js.map +0 -1
- package/dist/src/commands/ruvector/status.d.ts.map +0 -1
- package/dist/src/commands/ruvector/status.js.map +0 -1
- package/dist/src/ruvector/agent-wasm.d.ts +0 -182
- package/dist/src/ruvector/agent-wasm.d.ts.map +0 -1
- package/dist/src/ruvector/agent-wasm.js +0 -316
- package/dist/src/ruvector/agent-wasm.js.map +0 -1
- package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/ast-analyzer.js +0 -277
- package/dist/src/ruvector/ast-analyzer.js.map +0 -1
- package/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-router.js +0 -539
- package/dist/src/ruvector/coverage-router.js.map +0 -1
- package/dist/src/ruvector/coverage-tools.d.ts +0 -33
- package/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-tools.js +0 -157
- package/dist/src/ruvector/coverage-tools.js.map +0 -1
- package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/dist/src/ruvector/diff-classifier.js.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.js +0 -551
- package/dist/src/ruvector/enhanced-model-router.js.map +0 -1
- package/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
- package/dist/src/ruvector/flash-attention.js +0 -643
- package/dist/src/ruvector/flash-attention.js.map +0 -1
- package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/graph-analyzer.js +0 -929
- package/dist/src/ruvector/graph-analyzer.js.map +0 -1
- package/dist/src/ruvector/index.d.ts +0 -67
- package/dist/src/ruvector/index.d.ts.map +0 -1
- package/dist/src/ruvector/index.js +0 -88
- package/dist/src/ruvector/index.js.map +0 -1
- package/dist/src/ruvector/lora-adapter.d.ts +0 -218
- package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
- package/dist/src/ruvector/lora-adapter.js +0 -455
- package/dist/src/ruvector/lora-adapter.js.map +0 -1
- package/dist/src/ruvector/model-router.d.ts +0 -222
- package/dist/src/ruvector/model-router.d.ts.map +0 -1
- package/dist/src/ruvector/model-router.js +0 -512
- package/dist/src/ruvector/model-router.js.map +0 -1
- package/dist/src/ruvector/moe-router.d.ts +0 -213
- package/dist/src/ruvector/moe-router.d.ts.map +0 -1
- package/dist/src/ruvector/moe-router.js +0 -649
- package/dist/src/ruvector/moe-router.js.map +0 -1
- package/dist/src/ruvector/q-learning-router.d.ts +0 -217
- package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/dist/src/ruvector/q-learning-router.js +0 -712
- package/dist/src/ruvector/q-learning-router.js.map +0 -1
- package/dist/src/ruvector/ruvllm-wasm.d.ts +0 -179
- package/dist/src/ruvector/ruvllm-wasm.d.ts.map +0 -1
- package/dist/src/ruvector/ruvllm-wasm.js +0 -363
- package/dist/src/ruvector/ruvllm-wasm.js.map +0 -1
- package/dist/src/ruvector/semantic-router.d.ts +0 -77
- package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
- package/dist/src/ruvector/semantic-router.js +0 -178
- package/dist/src/ruvector/semantic-router.js.map +0 -1
- package/dist/src/ruvector/vector-db.d.ts +0 -69
- package/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/dist/src/ruvector/vector-db.js +0 -243
- package/dist/src/ruvector/vector-db.js.map +0 -1
- package/dist/src/services/ruvector-training.d.ts +0 -222
- package/dist/src/services/ruvector-training.d.ts.map +0 -1
- package/dist/src/services/ruvector-training.js +0 -696
- package/dist/src/services/ruvector-training.js.map +0 -1
- package/dist/src/ui/.monomind/loops/loop-1779095996252-mdjpp.json +0 -11
- package/dist/src/ui/data/agent-avatars.html +0 -763
- package/dist/src/ui/data/agent-avatars.json +0 -966
- package/dist/src/ui/data/avatars/account-strategist.svg +0 -58
- package/dist/src/ui/data/avatars/accounts-payable.svg +0 -54
- package/dist/src/ui/data/avatars/adaptive-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/adaptive-coordinator2.svg +0 -54
- package/dist/src/ui/data/avatars/ai-citation.svg +0 -57
- package/dist/src/ui/data/avatars/ai-engineer.svg +0 -61
- package/dist/src/ui/data/avatars/analytics-reporter.svg +0 -53
- package/dist/src/ui/data/avatars/api-tester.svg +0 -53
- package/dist/src/ui/data/avatars/architecture.svg +0 -54
- package/dist/src/ui/data/avatars/automation-governance.svg +0 -55
- package/dist/src/ui/data/avatars/backend-dev.svg +0 -53
- package/dist/src/ui/data/avatars/benchmarker.svg +0 -54
- package/dist/src/ui/data/avatars/blockchain-auditor.svg +0 -53
- package/dist/src/ui/data/avatars/byzantine-coord.svg +0 -57
- package/dist/src/ui/data/avatars/case-analyst.svg +0 -57
- package/dist/src/ui/data/avatars/cicd-engineer.svg +0 -55
- package/dist/src/ui/data/avatars/cloud-architect.svg +0 -54
- package/dist/src/ui/data/avatars/code-review-swarm.svg +0 -57
- package/dist/src/ui/data/avatars/coder-v119.svg +0 -57
- package/dist/src/ui/data/avatars/coder.svg +0 -58
- package/dist/src/ui/data/avatars/collective-coord.svg +0 -54
- package/dist/src/ui/data/avatars/compliance-auditor.svg +0 -58
- package/dist/src/ui/data/avatars/consensus-coordinator.svg +0 -54
- package/dist/src/ui/data/avatars/content-creator.svg +0 -54
- package/dist/src/ui/data/avatars/crdt-synchronizer.svg +0 -53
- package/dist/src/ui/data/avatars/cro-specialist.svg +0 -58
- package/dist/src/ui/data/avatars/data-consolidator.svg +0 -54
- package/dist/src/ui/data/avatars/data-engineer.svg +0 -53
- package/dist/src/ui/data/avatars/database-optimizer.svg +0 -61
- package/dist/src/ui/data/avatars/deal-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/defender.svg +0 -53
- package/dist/src/ui/data/avatars/devops-automator.svg +0 -56
- package/dist/src/ui/data/avatars/discovery-coach.svg +0 -54
- package/dist/src/ui/data/avatars/email-marketing.svg +0 -57
- package/dist/src/ui/data/avatars/embedded-firmware.svg +0 -61
- package/dist/src/ui/data/avatars/evidence-collector.svg +0 -57
- package/dist/src/ui/data/avatars/experiment-tracker.svg +0 -53
- package/dist/src/ui/data/avatars/feedback-synthesizer.svg +0 -54
- package/dist/src/ui/data/avatars/finance-tracker.svg +0 -54
- package/dist/src/ui/data/avatars/frontend-developer.svg +0 -54
- package/dist/src/ui/data/avatars/game-audio-engineer.svg +0 -59
- package/dist/src/ui/data/avatars/game-designer.svg +0 -54
- package/dist/src/ui/data/avatars/gossip-coordinator.svg +0 -54
- package/dist/src/ui/data/avatars/hierarchical-coord.svg +0 -54
- package/dist/src/ui/data/avatars/incident-commander.svg +0 -57
- package/dist/src/ui/data/avatars/infrastructure.svg +0 -54
- package/dist/src/ui/data/avatars/input-validator.svg +0 -53
- package/dist/src/ui/data/avatars/ios-developer.svg +0 -54
- package/dist/src/ui/data/avatars/issue-tracker.svg +0 -53
- package/dist/src/ui/data/avatars/judge.svg +0 -55
- package/dist/src/ui/data/avatars/launch-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/legal-compliance.svg +0 -53
- package/dist/src/ui/data/avatars/level-designer.svg +0 -53
- package/dist/src/ui/data/avatars/load-balancer.svg +0 -57
- package/dist/src/ui/data/avatars/mcp-builder.svg +0 -53
- package/dist/src/ui/data/avatars/memory-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/mesh-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/ml-developer.svg +0 -58
- package/dist/src/ui/data/avatars/mobile-app-builder.svg +0 -53
- package/dist/src/ui/data/avatars/mobile-dev.svg +0 -54
- package/dist/src/ui/data/avatars/model-qa.svg +0 -58
- package/dist/src/ui/data/avatars/narrative-designer.svg +0 -58
- package/dist/src/ui/data/avatars/outbound-strategist.svg +0 -55
- package/dist/src/ui/data/avatars/path-validator.svg +0 -54
- package/dist/src/ui/data/avatars/payment-agent.svg +0 -53
- package/dist/src/ui/data/avatars/perf-analyzer.svg +0 -58
- package/dist/src/ui/data/avatars/pipeline-analyst.svg +0 -54
- package/dist/src/ui/data/avatars/planner.svg +0 -55
- package/dist/src/ui/data/avatars/pr-manager.svg +0 -54
- package/dist/src/ui/data/avatars/pricing-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/product-manager.svg +0 -54
- package/dist/src/ui/data/avatars/production-validator.svg +0 -54
- package/dist/src/ui/data/avatars/project-shepherd.svg +0 -54
- package/dist/src/ui/data/avatars/proposal-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/prosecutor.svg +0 -57
- package/dist/src/ui/data/avatars/pseudocode.svg +0 -53
- package/dist/src/ui/data/avatars/queen-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/quorum-manager.svg +0 -53
- package/dist/src/ui/data/avatars/raft-manager.svg +0 -53
- package/dist/src/ui/data/avatars/reality-checker.svg +0 -58
- package/dist/src/ui/data/avatars/recruitment.svg +0 -58
- package/dist/src/ui/data/avatars/refinement.svg +0 -53
- package/dist/src/ui/data/avatars/release-manager.svg +0 -54
- package/dist/src/ui/data/avatars/repo-architect.svg +0 -54
- package/dist/src/ui/data/avatars/researcher.svg +0 -58
- package/dist/src/ui/data/avatars/resource-allocator.svg +0 -53
- package/dist/src/ui/data/avatars/reviewer.svg +0 -53
- package/dist/src/ui/data/avatars/safe-executor.svg +0 -53
- package/dist/src/ui/data/avatars/sales-coach.svg +0 -53
- package/dist/src/ui/data/avatars/sales-engineer.svg +0 -58
- package/dist/src/ui/data/avatars/scout-explorer.svg +0 -58
- package/dist/src/ui/data/avatars/security-architect.svg +0 -54
- package/dist/src/ui/data/avatars/security-auditor.svg +0 -55
- package/dist/src/ui/data/avatars/senior-developer.svg +0 -58
- package/dist/src/ui/data/avatars/senior-pm.svg +0 -58
- package/dist/src/ui/data/avatars/seo-specialist.svg +0 -57
- package/dist/src/ui/data/avatars/social-media.svg +0 -54
- package/dist/src/ui/data/avatars/solidity-engineer.svg +0 -58
- package/dist/src/ui/data/avatars/sparc-coder.svg +0 -58
- package/dist/src/ui/data/avatars/sparc-coord.svg +0 -56
- package/dist/src/ui/data/avatars/specification.svg +0 -57
- package/dist/src/ui/data/avatars/sprint-prioritizer.svg +0 -53
- package/dist/src/ui/data/avatars/sre.svg +0 -54
- package/dist/src/ui/data/avatars/studio-operations.svg +0 -53
- package/dist/src/ui/data/avatars/studio-producer.svg +0 -55
- package/dist/src/ui/data/avatars/support-responder.svg +0 -56
- package/dist/src/ui/data/avatars/system-architect.svg +0 -54
- package/dist/src/ui/data/avatars/task-orchestrator.svg +0 -56
- package/dist/src/ui/data/avatars/technical-artist.svg +0 -53
- package/dist/src/ui/data/avatars/technical-writer.svg +0 -59
- package/dist/src/ui/data/avatars/tester.svg +0 -53
- package/dist/src/ui/data/avatars/threat-detection.svg +0 -61
- package/dist/src/ui/data/avatars/trend-researcher.svg +0 -54
- package/dist/src/ui/data/avatars/trial-director.svg +0 -55
- package/dist/src/ui/data/avatars/unity-architect.svg +0 -54
- package/dist/src/ui/data/avatars/visionos-engineer.svg +0 -57
- package/dist/src/ui/data/avatars/worker-specialist.svg +0 -55
- package/dist/src/ui/data/avatars/workflow-architect.svg +0 -57
- package/dist/src/ui/data/avatars/workflow-automation.svg +0 -54
- package/dist/src/ui/data/avatars/zk-steward.svg +0 -54
- package/dist/src/ui/data/known-projects.json +0 -1
- /package/dist/src/{ruvector → monovector}/diff-classifier.js +0 -0
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: monomind-memory
|
|
3
|
-
description: AgentDB memory system — store, search, retrieve, list, delete, and manage cross-session persistent memory with vector embeddings
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Monomind Memory System
|
|
7
|
-
|
|
8
|
-
Persistent memory backed by AgentDB with HNSW vector indexing for semantic search (150x-12,500x faster than brute-force). Supports cross-session and cross-agent collaboration.
|
|
9
|
-
|
|
10
|
-
## Subcommands
|
|
11
|
-
|
|
12
|
-
| Subcommand | Alias | Description |
|
|
13
|
-
|---|---|---|
|
|
14
|
-
| `init` | — | Initialize memory database (sql.js + AgentDB) |
|
|
15
|
-
| `store` | — | Store a key/value entry |
|
|
16
|
-
| `edit` | — | Edit an existing entry |
|
|
17
|
-
| `retrieve` | `get` | Retrieve entry by key |
|
|
18
|
-
| `search` | — | Semantic/vector search |
|
|
19
|
-
| `list` | `ls` | List memory entries |
|
|
20
|
-
| `delete` | `rm` | Delete an entry |
|
|
21
|
-
| `templates` | — | Show best-practice entry templates |
|
|
22
|
-
| `stats` | — | Show memory statistics |
|
|
23
|
-
| `configure` | `config` | Configure memory backend |
|
|
24
|
-
| `cleanup` | — | Clean expired/stale entries |
|
|
25
|
-
| `compress` | — | Compress and optimize storage |
|
|
26
|
-
| `export` | — | Export memory to file |
|
|
27
|
-
| `import` | — | Import memory from file |
|
|
28
|
-
|
|
29
|
-
## init — Initialize Database
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx monomind memory init
|
|
33
|
-
npx monomind memory init --backend agentdb --verbose --verify
|
|
34
|
-
npx monomind memory init --force # Overwrite existing
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
**Flags:** `--backend hybrid|sqlite|agentdb` (default: `hybrid`), `--path`, `--force`, `--verbose`, `--verify` (default: true), `--load-embeddings`
|
|
38
|
-
|
|
39
|
-
## store — Store Data
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
# Store with specific namespace
|
|
43
|
-
npx monomind memory store --key "arch/api-design" --value "RESTful microservices" --namespace arch
|
|
44
|
-
|
|
45
|
-
# With tags and TTL
|
|
46
|
-
npx monomind memory store --key "pattern/auth" --value "JWT + refresh tokens" --namespace patterns --tags "auth,security" --ttl 86400
|
|
47
|
-
|
|
48
|
-
# Upsert (update if exists)
|
|
49
|
-
npx monomind memory store --key "bug/null-check" --value "Fixed null check in parser" --upsert
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
**Flags:**
|
|
53
|
-
|
|
54
|
-
| Flag | Short | Default | Description |
|
|
55
|
-
|---|---|---|---|
|
|
56
|
-
| `--key` | `-k` | — | Storage key (required) |
|
|
57
|
-
| `--value` | — | — | Value to store (required) |
|
|
58
|
-
| `--namespace` | `-n` | `default` | Memory namespace |
|
|
59
|
-
| `--ttl` | — | — | Time to live in seconds |
|
|
60
|
-
| `--tags` | — | — | Comma-separated tags |
|
|
61
|
-
| `--vector` | — | `false` | Store as vector embedding |
|
|
62
|
-
| `--upsert` | `-u` | `false` | Update if key exists |
|
|
63
|
-
|
|
64
|
-
## search — Semantic Search
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Semantic search (default)
|
|
68
|
-
npx monomind memory search --query "authentication patterns"
|
|
69
|
-
|
|
70
|
-
# Keyword search
|
|
71
|
-
npx monomind memory search --query "JWT" --type keyword
|
|
72
|
-
|
|
73
|
-
# Hybrid search with namespace filter
|
|
74
|
-
npx monomind memory search --query "error handling" --namespace patterns --limit 5
|
|
75
|
-
|
|
76
|
-
# Build HNSW index first for max speed
|
|
77
|
-
npx monomind memory search --query "API design" --build-hnsw
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
**Flags:**
|
|
81
|
-
|
|
82
|
-
| Flag | Short | Default | Description |
|
|
83
|
-
|---|---|---|---|
|
|
84
|
-
| `--query` | `-q` | — | Search query (required) |
|
|
85
|
-
| `--namespace` | `-n` | all | Filter by namespace |
|
|
86
|
-
| `--limit` | `-l` | `10` | Maximum results |
|
|
87
|
-
| `--threshold` | — | `0.7` | Similarity threshold (0-1) |
|
|
88
|
-
| `--type` | `-t` | `semantic` | `semantic`, `keyword`, `hybrid` |
|
|
89
|
-
| `--build-hnsw` | — | `false` | Rebuild HNSW index before search |
|
|
90
|
-
|
|
91
|
-
## retrieve — Get by Key
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
npx monomind memory retrieve --key "arch/api-design"
|
|
95
|
-
npx monomind memory retrieve --key "pattern/auth" --namespace patterns
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**Flags:** `--key/-k` (required), `--namespace/-n` (default: `default`)
|
|
99
|
-
|
|
100
|
-
## list — Browse Entries
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
npx monomind memory list
|
|
104
|
-
npx monomind memory list --namespace patterns --limit 20
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
**Flags:** `--namespace/-n`, `--limit/-l` (default: `20`)
|
|
108
|
-
|
|
109
|
-
## delete — Remove Entry
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
npx monomind memory delete --key "old-pattern"
|
|
113
|
-
npx monomind memory delete --key "temp-key" --namespace temp --force
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Flags:** `--key/-k` (required), `--namespace/-n` (default: `default`), `--force/-f` (skip confirmation)
|
|
117
|
-
|
|
118
|
-
## templates — Entry Templates
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
npx monomind memory templates
|
|
122
|
-
npx monomind memory templates --type feedback
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
Types: `user`, `feedback`, `project`, `reference` — scaffolds for the auto-memory format.
|
|
126
|
-
|
|
127
|
-
## stats — Storage Overview
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
npx monomind memory stats
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Shows backend, total entries, storage size, oldest/newest entry.
|
|
134
|
-
|
|
135
|
-
## configure — Backend Settings
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
npx monomind memory configure --backend agentdb
|
|
139
|
-
npx monomind memory configure --backend hybrid --cache-size 512 --hnsw-m 16 --hnsw-ef 200
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
**Flags:** `--backend/-b`, `--path`, `--cache-size`, `--hnsw-m`, `--hnsw-ef`
|
|
143
|
-
|
|
144
|
-
## cleanup — Remove Stale Entries
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
# Preview without deleting
|
|
148
|
-
npx monomind memory cleanup --dry-run
|
|
149
|
-
|
|
150
|
-
# Delete entries older than 30 days
|
|
151
|
-
npx monomind memory cleanup --older-than 30d
|
|
152
|
-
|
|
153
|
-
# Remove expired TTL entries only
|
|
154
|
-
npx monomind memory cleanup --expired-only
|
|
155
|
-
|
|
156
|
-
# Clean specific namespace
|
|
157
|
-
npx monomind memory cleanup --namespace temp --older-than 7d --force
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
**Flags:** `--dry-run/-d`, `--older-than/-o` (e.g., `7d`, `30d`), `--expired-only/-e`, `--namespace/-n`, `--force/-f`
|
|
161
|
-
|
|
162
|
-
## compress — Optimize Storage
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
npx monomind memory compress
|
|
166
|
-
npx monomind memory compress --quantize --bits 4 # 32x size reduction
|
|
167
|
-
npx monomind memory compress --level max --target vectors
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
**Flags:** `--level fast|balanced|max` (default: `balanced`), `--target vectors|text|patterns|all`, `--quantize/-z`, `--bits 4|8|16`, `--rebuild-index/-r` (default: true)
|
|
171
|
-
|
|
172
|
-
## export / import
|
|
173
|
-
|
|
174
|
-
```bash
|
|
175
|
-
# Export all to JSON
|
|
176
|
-
npx monomind memory export --output ./backup.json
|
|
177
|
-
|
|
178
|
-
# Export specific namespace to CSV
|
|
179
|
-
npx monomind memory export --output ./patterns.csv --format csv --namespace patterns
|
|
180
|
-
|
|
181
|
-
# Import
|
|
182
|
-
npx monomind memory import --input ./backup.json
|
|
183
|
-
npx monomind memory import --input ./backup.json --namespace archive
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
## Namespaces
|
|
187
|
-
|
|
188
|
-
`default`, `agents`, `tasks`, `sessions`, `swarm`, `project`, `spec`, `arch`, `impl`, `test`, `debug`, `patterns`, `solutions`
|
|
189
|
-
|
|
190
|
-
## MCP Tools
|
|
191
|
-
|
|
192
|
-
```javascript
|
|
193
|
-
// Store
|
|
194
|
-
mcp__monomind__memory_store({ key: "pattern/auth", value: "JWT + refresh", namespace: "patterns" })
|
|
195
|
-
|
|
196
|
-
// Search
|
|
197
|
-
mcp__monomind__memory_search({ query: "authentication", namespace: "patterns" })
|
|
198
|
-
|
|
199
|
-
// Retrieve
|
|
200
|
-
mcp__monomind__memory_retrieve({ key: "pattern/auth", namespace: "patterns" })
|
|
201
|
-
|
|
202
|
-
// List
|
|
203
|
-
mcp__monomind__memory_list({ namespace: "patterns" })
|
|
204
|
-
|
|
205
|
-
// Delete
|
|
206
|
-
mcp__monomind__memory_delete({ key: "pattern/auth", namespace: "patterns" })
|
|
207
|
-
|
|
208
|
-
// Stats
|
|
209
|
-
mcp__monomind__memory_stats({})
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
## Common Workflows
|
|
213
|
-
|
|
214
|
-
### Store successful pattern after completing a task
|
|
215
|
-
|
|
216
|
-
```bash
|
|
217
|
-
npx monomind memory store --key "pattern/oauth-integration" --value "Use PKCE flow, store tokens in httpOnly cookies" --namespace patterns --tags "auth,oauth"
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Search before starting a task
|
|
221
|
-
|
|
222
|
-
```bash
|
|
223
|
-
npx monomind memory search --query "OAuth integration patterns" --namespace patterns --limit 5
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### Backup before major refactor
|
|
227
|
-
|
|
228
|
-
```bash
|
|
229
|
-
npx monomind memory export --output "./backups/memory-$(date +%Y%m%d).json"
|
|
230
|
-
```
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: monomind:repeat
|
|
3
|
-
description: "Monomind — Repeat any prompt or slash command on a schedule — default 15 min interval, 10 repetitions. This is the universal loop wrapper for all commands."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Argument Parsing
|
|
7
|
-
|
|
8
|
-
Parse `$ARGUMENTS` for the following flags. **Everything after the first `--` (double dash) is the prompt — no further flag parsing, even if subsequent `--` tokens appear.** If no `--` is present, extract known flags in any order and treat the remainder as the prompt:
|
|
9
|
-
|
|
10
|
-
- `--every <minutes>` — interval between repetitions in minutes (default: `15`). Minimum 1.
|
|
11
|
-
- `--times <count>` — total number of repetitions (default: `10`). Ignored when `--tillend` is present.
|
|
12
|
-
- `--tillend` — run until a complete round produces no findings and no actions. Overrides `--times`.
|
|
13
|
-
- `--maxruns <N>` — safety cap for `--tillend` (default: `50`). Stops the loop even if the AI hasn't signaled done.
|
|
14
|
-
- `--rep <N>` — (internal continuation flag injected by ScheduleWakeup; do not expose to user). Must be a positive integer ≤ MAX_REPS+1; reject otherwise.
|
|
15
|
-
- `--loop <id>` — (internal continuation flag; preserves loop identity across runs). Must match format `repeat-[digits]-[digits]-[digits]`; reject otherwise.
|
|
16
|
-
- `--` — end of flags; everything after this is the prompt verbatim
|
|
17
|
-
- Everything else (after flag extraction) is the **prompt** to repeat
|
|
18
|
-
|
|
19
|
-
If `INTERVAL` is less than 1, set it to 1 and output: `[monomind:repeat] Interval clamped to 1 minute (minimum).`
|
|
20
|
-
|
|
21
|
-
If `MAX_REPS` is less than 1, set it to 1 and output: `[monomind:repeat] Repetitions clamped to 1 (minimum).`
|
|
22
|
-
|
|
23
|
-
If `MAX_REPS` is greater than 1000, set it to 1000 and output: `[monomind:repeat] Repetitions clamped to 1000 (maximum).`
|
|
24
|
-
|
|
25
|
-
If `--every` is present but its value is missing or not a number, use the default (15).
|
|
26
|
-
|
|
27
|
-
If `--loop` is present but does not match the pattern `repeat-<digits>-<digits>-<digits>`, output `[monomind:repeat] ERROR: invalid loop ID` and STOP.
|
|
28
|
-
|
|
29
|
-
**Examples:**
|
|
30
|
-
```
|
|
31
|
-
/monomind:repeat --every 5 --times 9 /mastermind:architect --iterate 2 review this project
|
|
32
|
-
/monomind:repeat --every 1 --times 20 /mastermind:review check for security issues
|
|
33
|
-
/monomind:repeat --every 30 /monomind:do --space abc --board def
|
|
34
|
-
/monomind:repeat check deployment status
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
If `$ARGUMENTS` is empty or contains only flags with no prompt, output this and STOP:
|
|
38
|
-
> **Usage:** `/monomind:repeat [--every <minutes>] [--times <count>] [--tillend [--maxruns <N>]] <prompt>`
|
|
39
|
-
>
|
|
40
|
-
> Defaults: every 15 minutes, 10 times.
|
|
41
|
-
>
|
|
42
|
-
> **Fixed-count mode** (default): runs the prompt N times, then stops.
|
|
43
|
-
> **Tillend mode** (`--tillend`): runs until a complete round produces no findings and no actions. Safety cap: `--maxruns N` (default 50).
|
|
44
|
-
>
|
|
45
|
-
> This is the universal loop wrapper. Wrap any slash command to repeat it:
|
|
46
|
-
> - `/monomind:repeat --every 5 --times 9 /mastermind:architect review this project`
|
|
47
|
-
> - `/monomind:repeat --every 1 --times 20 /mastermind:review check for security issues`
|
|
48
|
-
> - `/monomind:repeat --tillend /mastermind:review 1` ← runs until clean pass
|
|
49
|
-
> - `/monomind:repeat --every 30 /monomind:do --space abc --board def`
|
|
50
|
-
> - `/monomind:repeat check deployment status`
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Internal Flag: `--rep` and `--loop`
|
|
55
|
-
|
|
56
|
-
When `--rep <N>` is present in arguments, this is a continuation from a previous wake-up:
|
|
57
|
-
- `INTERVAL`, `MAX_REPS`, and `PROMPT` are already set by argument parsing above (they arrive via the ScheduleWakeup prompt)
|
|
58
|
-
- Set `CURRENT_REP` to `N` instead of `1`
|
|
59
|
-
- Set `LOOP_ID` from `--loop <id>`
|
|
60
|
-
- Skip Step 1 initialization entirely
|
|
61
|
-
- Go directly to Step 2 (execute) with output:
|
|
62
|
-
- **If `--tillend` active:** `[monomind:repeat] Tillend run N (cap: MAXRUNS) starting...`
|
|
63
|
-
- **Otherwise:** `[monomind:repeat] Run N/MAX_REPS starting...`
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## Step 1: Initialize
|
|
68
|
-
|
|
69
|
-
Extract:
|
|
70
|
-
- `INTERVAL` — from `--every` flag, default `15` (minutes), minimum 1
|
|
71
|
-
- `MAX_REPS` — from `--times` flag, default `10`
|
|
72
|
-
- `PROMPT` — everything remaining after flags are removed
|
|
73
|
-
- `CURRENT_REP` — starts at `1`
|
|
74
|
-
|
|
75
|
-
Write the initial loop state file so the dashboard can track this run. **You MUST run this bash block now via the Bash tool.** Before running, substitute `<INTERVAL>` and `<MAX_REPS>` with the parsed integer values, `<TILLEND_ACTIVE>` with `true` or `false` based on whether `--tillend` was provided, and `<MAXRUNS>` with the safety cap value. For `<PROMPT>`, substitute the raw prompt text inside the heredoc below — the single-quoted delimiter (`'MONOMIND_PROMPT_7x9k2m'`) prevents all bash expansion, and python3 handles JSON encoding. **If the prompt text contains the literal string `MONOMIND_PROMPT_7x9k2m`, replace that string in the prompt with `MONOMIND_PROMPT` before substitution** (this prevents heredoc delimiter collision):
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
mkdir -p .monomind/loops
|
|
79
|
-
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
80
|
-
LOOP_ID="repeat-${NOW_MS}-${RANDOM}-$$"
|
|
81
|
-
PROMPT_JSON=$(python3 -c "import sys,json; sys.stdout.write(json.dumps(sys.stdin.read().rstrip(chr(10))))" << 'MONOMIND_PROMPT_7x9k2m'
|
|
82
|
-
<PROMPT>
|
|
83
|
-
MONOMIND_PROMPT_7x9k2m
|
|
84
|
-
)
|
|
85
|
-
if [ -z "$PROMPT_JSON" ]; then PROMPT_JSON='"(prompt unavailable)"'; fi
|
|
86
|
-
LOOP_TYPE=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo 'tillend' || echo 'repeat' )
|
|
87
|
-
LOOP_MAXREPS=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo '<MAXRUNS>' || echo '<MAX_REPS>' )
|
|
88
|
-
cat > ".monomind/loops/${LOOP_ID}.json" << EOF
|
|
89
|
-
{
|
|
90
|
-
"id": "${LOOP_ID}",
|
|
91
|
-
"sessionId": "${LOOP_ID}",
|
|
92
|
-
"type": "${LOOP_TYPE}",
|
|
93
|
-
"command": "/monomind:repeat",
|
|
94
|
-
"prompt": ${PROMPT_JSON},
|
|
95
|
-
"interval": <INTERVAL>,
|
|
96
|
-
"currentRep": 1,
|
|
97
|
-
"maxReps": ${LOOP_MAXREPS},
|
|
98
|
-
"startedAt": ${NOW_MS},
|
|
99
|
-
"lastRunAt": ${NOW_MS},
|
|
100
|
-
"nextRunAt": ${NOW_MS},
|
|
101
|
-
"status": "running"
|
|
102
|
-
}
|
|
103
|
-
EOF
|
|
104
|
-
echo "LOOP_ID=${LOOP_ID}"
|
|
105
|
-
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
106
|
-
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
107
|
-
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
108
|
-
-H "Content-Type: application/json" \
|
|
109
|
-
-d "{\"type\":\"loop:start\",\"loopId\":\"${LOOP_ID}\",\"command\":\"/monomind:repeat\",\"mode\":\"${LOOP_TYPE}\",\"maxReps\":${LOOP_MAXREPS},\"interval\":<INTERVAL>,\"ts\":$(date +%s)000}" || true
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
Capture the `LOOP_ID` value echoed by the script — you will need it for all subsequent bash blocks.
|
|
113
|
-
|
|
114
|
-
Output:
|
|
115
|
-
- **If `--tillend` active:**
|
|
116
|
-
```
|
|
117
|
-
[monomind:repeat] Starting tillend loop: "<PROMPT>"
|
|
118
|
-
Interval: every INTERVAL minutes
|
|
119
|
-
Safety cap: MAXRUNS runs
|
|
120
|
-
Run 1 starting now...
|
|
121
|
-
```
|
|
122
|
-
- **Otherwise:**
|
|
123
|
-
```
|
|
124
|
-
[monomind:repeat] Starting: "<PROMPT>"
|
|
125
|
-
Interval: every INTERVAL minutes
|
|
126
|
-
Repetitions: MAX_REPS total
|
|
127
|
-
Run 1/MAX_REPS starting now...
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## Step 2: Execute the Prompt
|
|
133
|
-
|
|
134
|
-
Run the `PROMPT` as if the user typed it directly. This means:
|
|
135
|
-
- If the prompt starts with `/`, invoke it as a slash command via the Skill tool
|
|
136
|
-
- Otherwise, treat it as a normal user message and respond accordingly
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
## Step 3: Report and Schedule Next
|
|
141
|
-
|
|
142
|
-
**IMPORTANT:** In every bash block below, `<LOOP_ID>` must be substituted with the literal LOOP_ID value you captured from Step 1 (or from `--loop` on continuation runs). Shell variables do NOT persist between bash blocks.
|
|
143
|
-
|
|
144
|
-
Before scheduling the next run, check if a stop was requested:
|
|
145
|
-
```bash
|
|
146
|
-
[ -f ".monomind/loops/<LOOP_ID>.stop" ] && echo "STOP_REQUESTED=true" || echo "STOP_REQUESTED=false"
|
|
147
|
-
```
|
|
148
|
-
If `STOP_REQUESTED=true`, output `[monomind:repeat] Stop requested via dashboard. Halting.` and remove the state files:
|
|
149
|
-
```bash
|
|
150
|
-
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
151
|
-
```
|
|
152
|
-
Then STOP.
|
|
153
|
-
|
|
154
|
-
After execution completes, save the current rep as `PREV_REP`, then increment `CURRENT_REP`. Output:
|
|
155
|
-
- **If `--tillend` active:** `[monomind:repeat] Tillend run PREV_REP complete.`
|
|
156
|
-
- **Otherwise:** `[monomind:repeat] Run PREV_REP/MAX_REPS complete.`
|
|
157
|
-
|
|
158
|
-
**If `--tillend` was active:** evaluate whether this round produced **zero findings AND zero actions**. Answer these two questions:
|
|
159
|
-
1. Were any findings produced? (issues, problems, errors, tasks, items flagged, anything detected)
|
|
160
|
-
2. Were any actions taken? (files edited, tasks created, commits made, content written, anything changed)
|
|
161
|
-
|
|
162
|
-
Set `TILLEND_EMPTY=true` only if both answers are "no". **If the round found things and fixed them, `TILLEND_EMPTY=false` — run again to verify.** Only an actually empty round (nothing found, nothing done) stops the loop.
|
|
163
|
-
|
|
164
|
-
If `TILLEND_EMPTY=true`:
|
|
165
|
-
- Output: `[monomind:repeat] Empty round — nothing found and nothing changed. Tillend loop complete after PREV_REP run(s).`
|
|
166
|
-
- Remove state file and emit loop:complete:
|
|
167
|
-
```bash
|
|
168
|
-
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
169
|
-
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
170
|
-
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
171
|
-
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
172
|
-
-H "Content-Type: application/json" \
|
|
173
|
-
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"mode\":\"tillend\",\"ranReps\":<PREV_REP>,\"reason\":\"empty-round\",\"ts\":$(date +%s)000}" || true
|
|
174
|
-
```
|
|
175
|
-
- STOP. Do NOT schedule another wake-up.
|
|
176
|
-
|
|
177
|
-
If `--tillend` is active AND `CURRENT_REP > MAXRUNS` (safety cap reached):
|
|
178
|
-
- Output: `[monomind:repeat] Safety cap reached (MAXRUNS runs). Stopping tillend loop. If work remains, re-run with a higher --maxruns.`
|
|
179
|
-
- Remove state file and emit loop:complete:
|
|
180
|
-
```bash
|
|
181
|
-
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
182
|
-
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
183
|
-
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
184
|
-
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
185
|
-
-H "Content-Type: application/json" \
|
|
186
|
-
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"mode\":\"tillend\",\"ranReps\":<PREV_REP>,\"reason\":\"safety-cap\",\"ts\":$(date +%s)000}" || true
|
|
187
|
-
```
|
|
188
|
-
- STOP.
|
|
189
|
-
|
|
190
|
-
If `CURRENT_REP > MAX_REPS` (fixed-count: all runs done), output:
|
|
191
|
-
```
|
|
192
|
-
[monomind:repeat] All MAX_REPS repetitions complete.
|
|
193
|
-
```
|
|
194
|
-
Remove the state file and emit loop:complete:
|
|
195
|
-
```bash
|
|
196
|
-
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
197
|
-
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
198
|
-
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
199
|
-
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
200
|
-
-H "Content-Type: application/json" \
|
|
201
|
-
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"ranReps\":<MAX_REPS>,\"ts\":$(date +%s)000}" || true
|
|
202
|
-
```
|
|
203
|
-
STOP. Do NOT schedule another wake-up.
|
|
204
|
-
|
|
205
|
-
Otherwise, update the loop state before scheduling. **Run this bash block** (substitute `<LOOP_ID>`, `<INTERVAL>`, `<CURRENT_REP>`, `<MAX_REPS>`, `<PREV_REP>`, `<TILLEND_ACTIVE>`, and `<MAXRUNS>` with their literal values):
|
|
206
|
-
```bash
|
|
207
|
-
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
208
|
-
NEXT_AT=$(( NOW_MS + <INTERVAL> * 60 * 1000 ))
|
|
209
|
-
PROMPT_JSON=$(jq '.prompt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
210
|
-
|| python3 -c "import json,sys; json.dump(json.load(open('.monomind/loops/<LOOP_ID>.json'))['prompt'], sys.stdout)" 2>/dev/null \
|
|
211
|
-
|| echo '"(prompt unavailable)"')
|
|
212
|
-
STARTED_AT=$(jq '.startedAt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
213
|
-
|| python3 -c "import json; print(json.load(open('.monomind/loops/<LOOP_ID>.json'))['startedAt'])" 2>/dev/null \
|
|
214
|
-
|| echo "${NOW_MS}")
|
|
215
|
-
LOOP_TYPE=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo 'tillend' || echo 'repeat' )
|
|
216
|
-
LOOP_MAXREPS=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo '<MAXRUNS>' || echo '<MAX_REPS>' )
|
|
217
|
-
cat > ".monomind/loops/<LOOP_ID>.json" << EOF
|
|
218
|
-
{
|
|
219
|
-
"id": "<LOOP_ID>",
|
|
220
|
-
"sessionId": "<LOOP_ID>",
|
|
221
|
-
"type": "${LOOP_TYPE}",
|
|
222
|
-
"command": "/monomind:repeat",
|
|
223
|
-
"prompt": ${PROMPT_JSON},
|
|
224
|
-
"interval": <INTERVAL>,
|
|
225
|
-
"currentRep": <CURRENT_REP>,
|
|
226
|
-
"maxReps": ${LOOP_MAXREPS},
|
|
227
|
-
"startedAt": ${STARTED_AT},
|
|
228
|
-
"lastRunAt": ${NOW_MS},
|
|
229
|
-
"nextRunAt": ${NEXT_AT},
|
|
230
|
-
"status": "running"
|
|
231
|
-
}
|
|
232
|
-
EOF
|
|
233
|
-
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
234
|
-
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
235
|
-
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
236
|
-
-H "Content-Type: application/json" \
|
|
237
|
-
-d "{\"type\":\"loop:tick\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"mode\":\"${LOOP_TYPE}\",\"completedRep\":<PREV_REP>,\"nextRep\":<CURRENT_REP>,\"nextAt\":${NEXT_AT},\"ts\":$(date +%s)000}" || true
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
Output:
|
|
241
|
-
- **If `--tillend` active:** `[monomind:repeat] Next tillend run in INTERVAL minutes (run CURRENT_REP, cap: MAXRUNS)...`
|
|
242
|
-
- **Otherwise:** `[monomind:repeat] Next run in INTERVAL minutes (run CURRENT_REP/MAX_REPS)...`
|
|
243
|
-
|
|
244
|
-
Use `ScheduleWakeup` with:
|
|
245
|
-
- `delaySeconds`: `INTERVAL * 60`
|
|
246
|
-
- **If `--tillend` active:** `prompt`: `/monomind:repeat --tillend --maxruns <MAXRUNS> --every <INTERVAL> --rep <CURRENT_REP> --loop <LOOP_ID> -- <PROMPT>`; `reason`: `"tillend run <CURRENT_REP> (cap: <MAXRUNS>) of /monomind:repeat"`
|
|
247
|
-
- **Otherwise:** `prompt`: `/monomind:repeat --every <INTERVAL> --times <MAX_REPS> --rep <CURRENT_REP> --loop <LOOP_ID> -- <PROMPT>`; `reason`: `"repeat run <CURRENT_REP>/<MAX_REPS> of /monomind:repeat"`
|
|
248
|
-
|
|
249
|
-
The `--` before `<PROMPT>` ensures the prompt text is never parsed as flags, even if it contains `--every` or `--times`. Substitute all angle-bracket values with their literals.
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
## Interruption
|
|
254
|
-
|
|
255
|
-
The user can stop the loop at any time by:
|
|
256
|
-
- Interrupting the session (the next scheduled wake-up simply won't fire)
|
|
257
|
-
- Creating `.monomind/loops/<LOOP_ID>.stop` (or clicking Stop in the dashboard)
|