@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,139 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: monomind:understand
|
|
3
|
-
description: "Monomind — Run semantic enrichment on the current project's monograph knowledge graph. Uses the active Claude Code session for LLM work — no API key needed."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /monomind:understand — Semantic Enrichment
|
|
7
|
-
|
|
8
|
-
Enriches the current project's monograph knowledge graph with summaries, architectural
|
|
9
|
-
layers, and semantic relationships.
|
|
10
|
-
|
|
11
|
-
**Designed to run inside Claude Code** — uses YOUR current session for LLM work via
|
|
12
|
-
the Task tool. No `ANTHROPIC_API_KEY` required. The script handles layer detection
|
|
13
|
-
and DB writes; you (Claude) handle per-file summarization.
|
|
14
|
-
|
|
15
|
-
## Parse Arguments
|
|
16
|
-
|
|
17
|
-
Parse `$ARGUMENTS` for these flags:
|
|
18
|
-
|
|
19
|
-
- `--dir <path>` — project directory (default: cwd)
|
|
20
|
-
- `--db <path>` — monograph.db path (default: `<dir>/.monomind/monograph.db`)
|
|
21
|
-
- `--full` — force full re-analysis
|
|
22
|
-
- `--no-llm` — heuristic-only mode (no per-file summaries)
|
|
23
|
-
- `--layers-only` — skip per-file analysis, only re-detect layers
|
|
24
|
-
- `--max-files <N>` — stop after N files (0 = all)
|
|
25
|
-
- `--dry-run` — show what would happen, don't write
|
|
26
|
-
|
|
27
|
-
Bare path argument → `--dir`.
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Step 1: Locate project, DB, and script
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
DIR="${ARGUMENTS_dir:-$(pwd)}"
|
|
35
|
-
DB="${ARGUMENTS_db:-$DIR/.monomind/monograph.db}"
|
|
36
|
-
|
|
37
|
-
# Find understand-analyze.mjs (ships with monomind globally)
|
|
38
|
-
GLOBAL_ROOT=$(npm root -g 2>/dev/null)
|
|
39
|
-
SCRIPT="$GLOBAL_ROOT/monomind/packages/@monomind/cli/scripts/understand-analyze.mjs"
|
|
40
|
-
[ ! -f "$SCRIPT" ] && SCRIPT="$GLOBAL_ROOT/@monoes/monomindcli/scripts/understand-analyze.mjs"
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
If `$DB` does not exist:
|
|
44
|
-
> monograph.db not found at `$DB`. Build it first: `npx monomind monograph build`
|
|
45
|
-
|
|
46
|
-
If `$SCRIPT` does not exist:
|
|
47
|
-
> understand engine missing. Update: `npm install -g monomind@latest`
|
|
48
|
-
|
|
49
|
-
In either case, STOP.
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Step 2: Run the script in heuristic mode (always — fast and deterministic)
|
|
54
|
-
|
|
55
|
-
This step is non-negotiable. The script handles:
|
|
56
|
-
- File node discovery from monograph.db
|
|
57
|
-
- Heuristic layer detection from file paths
|
|
58
|
-
- DB writes (community_id + properties)
|
|
59
|
-
- graph.json emission to `.understand/knowledge-graph.json`
|
|
60
|
-
- Auto-shadowing the DB to `/tmp` when it lives on a network FS
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
node "$SCRIPT" --dir "$DIR" --db "$DB" --no-llm
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Wait for completion. Capture stdout. Note how many file nodes were found and how
|
|
67
|
-
many layers were detected. Do NOT advise the user about API keys.
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## Step 3: Per-file summarization (ONLY if `--no-llm` and `--layers-only` are both UNSET)
|
|
72
|
-
|
|
73
|
-
This is where YOU (the current Claude session) do the LLM work. The script left
|
|
74
|
-
behind a fresh `.understand/knowledge-graph.json` with placeholder summaries.
|
|
75
|
-
|
|
76
|
-
1. Read `.understand/knowledge-graph.json`. For each node where `properties.fileSummary`
|
|
77
|
-
is empty or marked `[heuristic]`, do the following:
|
|
78
|
-
- Use the `Read` tool on `node.file_path` (relative to `$DIR`).
|
|
79
|
-
- Produce a JSON object: `{ id, fileSummary, tags, complexity, functionSummaries, classSummaries }`
|
|
80
|
-
where:
|
|
81
|
-
- `fileSummary`: 1-2 sentences explaining what the file does
|
|
82
|
-
- `tags`: array of 2-5 short tags
|
|
83
|
-
- `complexity`: "simple" | "moderate" | "complex"
|
|
84
|
-
- `functionSummaries`: top-5 functions → 1-sentence each
|
|
85
|
-
- `classSummaries`: classes → 1-sentence each
|
|
86
|
-
2. Process files in batches of 5 for efficiency. Use `--max-files` to cap if set.
|
|
87
|
-
3. Collect all analyses into an `analyses` array.
|
|
88
|
-
|
|
89
|
-
If `$ARGUMENTS` includes `--no-llm` or `--layers-only`, SKIP this step entirely.
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Step 4: Write analyses back to the DB
|
|
94
|
-
|
|
95
|
-
Pipe the collected analyses to a small re-import:
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
echo "$ANALYSES_JSON" | node "$SCRIPT" --dir "$DIR" --db "$DB" --import-analyses-stdin
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
(If your `analyses` array is empty, skip this step.)
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Step 5: Report
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
╔══════════════════════════════════════════════════╗
|
|
109
|
-
║ /monomind:understand — Enrichment Done ║
|
|
110
|
-
╠══════════════════════════════════════════════════╣
|
|
111
|
-
║ DB: .monomind/monograph.db ║
|
|
112
|
-
║ Files analyzed: <N> ║
|
|
113
|
-
║ LLM summaries: <N> (via active session) ║
|
|
114
|
-
║ Layers: <N> ║
|
|
115
|
-
║ graph.json: .understand/knowledge-graph.json║
|
|
116
|
-
╚══════════════════════════════════════════════════╝
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
If LLM summaries = 0 (because `--no-llm` was set), say "heuristic-only mode — no per-file summaries written".
|
|
120
|
-
|
|
121
|
-
Then:
|
|
122
|
-
> Open the Monomind control panel and click **Monograph → GRAPH** to see layers.
|
|
123
|
-
> Each color = one architectural layer (API, Service, Data, UI, etc.).
|
|
124
|
-
>
|
|
125
|
-
> Follow-ups:
|
|
126
|
-
> - `/monomind:understand --full` — re-run from scratch
|
|
127
|
-
> - `/monomind:understand --layers-only` — refresh only layers
|
|
128
|
-
> - `/monomind:understand --no-llm` — heuristic-only mode
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## Error Handling
|
|
133
|
-
|
|
134
|
-
- Do NOT prompt the user to set `ANTHROPIC_API_KEY`. LLM work happens in this session.
|
|
135
|
-
- If the script exits non-zero: show stderr and suggest `npm install -g monomind@latest`.
|
|
136
|
-
- If monograph.db has no file nodes: tell the user to run `npx monomind monograph build` first.
|
|
137
|
-
- All errors are non-fatal — report and return cleanly.
|
|
138
|
-
|
|
139
|
-
To re-run on a schedule: wrap with `/monomind:repeat`.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: training:README
|
|
3
|
-
description: Training skill index — neural pattern training, model optimization, agent specialization, and pattern learning reference
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Training Skills
|
|
7
|
-
|
|
8
|
-
Neural network training, pattern learning, and agent specialization for Monomind.
|
|
9
|
-
|
|
10
|
-
## Available Skills
|
|
11
|
-
|
|
12
|
-
- [neural-patterns](./neural-patterns.md) — Overview of how automatic and manual neural training works
|
|
13
|
-
- [neural-train](./neural-train.md) — Train neural patterns with WASM acceleration (MicroLoRA + Flash Attention)
|
|
14
|
-
- [pattern-learn](./pattern-learn.md) — Analyze and store patterns from successful operations
|
|
15
|
-
- [model-update](./model-update.md) — Update and optimize trained neural models
|
|
16
|
-
- [specialization](./specialization.md) — Train agents to specialize in specific domains or file types
|
|
17
|
-
|
|
18
|
-
## Quick Start
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
# Train coordination patterns (50 epochs, WASM + Flash Attention)
|
|
22
|
-
npx monomind neural train --pattern coordination --epochs 50
|
|
23
|
-
|
|
24
|
-
# Check neural status
|
|
25
|
-
npx monomind neural status
|
|
26
|
-
|
|
27
|
-
# Analyze stored patterns
|
|
28
|
-
npx monomind neural patterns --action analyze
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## MCP Tools
|
|
32
|
-
|
|
33
|
-
```javascript
|
|
34
|
-
mcp__monomind__neural_train({ patternType: "coordination", epochs: 50 })
|
|
35
|
-
mcp__monomind__neural_status({})
|
|
36
|
-
mcp__monomind__neural_patterns({ action: "list", limit: 10 })
|
|
37
|
-
mcp__monomind__neural_predict({ input: "task description" })
|
|
38
|
-
mcp__monomind__neural_optimize({ method: "quantize" })
|
|
39
|
-
```
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: training:neural-patterns
|
|
3
|
-
description: Neural pattern training overview — automatic learning from operations, manual training, pattern types, and improvement tracking
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Neural Pattern Training
|
|
7
|
-
|
|
8
|
-
How Monomind continuously learns and improves through neural pattern training.
|
|
9
|
-
|
|
10
|
-
## How to Invoke
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
Skill("training:neural-patterns")
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Automatic Learning
|
|
19
|
-
|
|
20
|
-
Every successful operation trains the neural networks automatically:
|
|
21
|
-
- Edit patterns for different file types
|
|
22
|
-
- Search strategies that find results faster
|
|
23
|
-
- Task decomposition approaches
|
|
24
|
-
- Agent coordination patterns
|
|
25
|
-
|
|
26
|
-
The hooks system (`post-edit`, `post-task`) feeds successful operations into training automatically.
|
|
27
|
-
|
|
28
|
-
## Manual Training
|
|
29
|
-
|
|
30
|
-
```javascript
|
|
31
|
-
// Train coordination patterns
|
|
32
|
-
mcp__monomind__neural_train({ patternType: "coordination", epochs: 50 })
|
|
33
|
-
|
|
34
|
-
// Train security patterns with contrastive learning
|
|
35
|
-
mcp__monomind__neural_train({ patternType: "security", epochs: 100 })
|
|
36
|
-
|
|
37
|
-
// Check training status and pattern scores
|
|
38
|
-
mcp__monomind__neural_status({})
|
|
39
|
-
|
|
40
|
-
// Analyze recent patterns
|
|
41
|
-
mcp__monomind__neural_patterns({ action: "analyze", limit: 20 })
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npx monomind neural train --pattern coordination --epochs 50
|
|
46
|
-
npx monomind neural status
|
|
47
|
-
npx monomind neural patterns --action analyze
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Pattern Types
|
|
51
|
-
|
|
52
|
-
| Pattern | Purpose |
|
|
53
|
-
|---------|---------|
|
|
54
|
-
| `coordination` | Multi-agent task coordination (default) |
|
|
55
|
-
| `optimization` | Performance and resource optimization |
|
|
56
|
-
| `prediction` | Task routing and agent selection |
|
|
57
|
-
| `security` | Security scanning and vulnerability detection |
|
|
58
|
-
| `testing` | Test strategy selection and coverage |
|
|
59
|
-
|
|
60
|
-
## Improvement Tracking
|
|
61
|
-
|
|
62
|
-
```javascript
|
|
63
|
-
// View current pattern scores and improvement
|
|
64
|
-
mcp__monomind__neural_status({ verbose: true })
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Output includes pattern confidence scores and improvement percentage since last session.
|
|
68
|
-
|
|
69
|
-
## See Also
|
|
70
|
-
|
|
71
|
-
- `training:neural-train` — Full training options with WASM acceleration
|
|
72
|
-
- `training:pattern-learn` — Manual pattern storage
|
|
73
|
-
- `training:model-update` — Model optimization
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: training:neural-train
|
|
3
|
-
description: Train neural patterns with WASM SIMD acceleration — MicroLoRA, Flash Attention (2.49x-7.47x speedup), MoE routing, contrastive learning
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Neural Train
|
|
7
|
-
|
|
8
|
-
Train neural patterns with WASM acceleration using the real `npx monomind neural train` command.
|
|
9
|
-
|
|
10
|
-
## How to Invoke
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
Skill("training:neural-train")
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## CLI Reference
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
# Train coordination patterns (default, 50 epochs)
|
|
22
|
-
npx monomind neural train --pattern coordination --epochs 50
|
|
23
|
-
|
|
24
|
-
# Train with Flash Attention speedup (2.49x-7.47x)
|
|
25
|
-
npx monomind neural train --pattern optimization --flash --epochs 100
|
|
26
|
-
|
|
27
|
-
# Train security patterns with contrastive learning (InfoNCE)
|
|
28
|
-
npx monomind neural train --pattern security --wasm --contrastive
|
|
29
|
-
|
|
30
|
-
# Train with Mixture of Experts routing
|
|
31
|
-
npx monomind neural train --pattern coordination --moe --epochs 200
|
|
32
|
-
|
|
33
|
-
# Train from a data file
|
|
34
|
-
npx monomind neural train --data ./training-data.json --flash
|
|
35
|
-
|
|
36
|
-
# Curriculum learning (easy → hard)
|
|
37
|
-
npx monomind neural train --pattern prediction --curriculum --epochs 150
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## All Flags
|
|
41
|
-
|
|
42
|
-
| Flag | Default | Description |
|
|
43
|
-
|------|---------|-------------|
|
|
44
|
-
| `--pattern` | `coordination` | Pattern type: coordination, optimization, prediction, security, testing |
|
|
45
|
-
| `--epochs` | `50` | Training epochs |
|
|
46
|
-
| `--data` | — | Training data file path or inline JSON |
|
|
47
|
-
| `--model` | — | Specific model ID to train |
|
|
48
|
-
| `--learning-rate` | `0.01` | Learning rate |
|
|
49
|
-
| `--batch-size` | `32` | Batch size |
|
|
50
|
-
| `--dim` | `256` | Embedding dimension (max 256) |
|
|
51
|
-
| `--wasm` | `true` | Use RuVector WASM SIMD acceleration |
|
|
52
|
-
| `--flash` | `true` | Enable Flash Attention (2.49x-7.47x speedup) |
|
|
53
|
-
| `--moe` | `false` | Enable Mixture of Experts routing (8 experts) |
|
|
54
|
-
| `--hyperbolic` | `false` | Hyperbolic attention for hierarchical patterns |
|
|
55
|
-
| `--contrastive` | `true` | Contrastive learning with InfoNCE loss |
|
|
56
|
-
| `--curriculum` | `false` | Curriculum learning (easy → hard progression) |
|
|
57
|
-
|
|
58
|
-
## MCP Tools
|
|
59
|
-
|
|
60
|
-
```javascript
|
|
61
|
-
// Train via MCP
|
|
62
|
-
mcp__monomind__neural_train({ patternType: "coordination", epochs: 50 })
|
|
63
|
-
|
|
64
|
-
// Check training progress
|
|
65
|
-
mcp__monomind__neural_status({ verbose: true })
|
|
66
|
-
|
|
67
|
-
// MicroLoRA adaptation
|
|
68
|
-
mcp__monomind__ruvllm_microlora_adapt({ modelId: "coordination", data: trainingData })
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## After Training
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
# Verify training improved the model
|
|
75
|
-
npx monomind neural status --verbose
|
|
76
|
-
|
|
77
|
-
# Export the trained model
|
|
78
|
-
npx monomind neural export --model coordination
|
|
79
|
-
```
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI Appliance Advanced Commands (Phase 3-4)
|
|
3
|
-
* Sign, publish, and hot-patch RVFA appliances.
|
|
4
|
-
*/
|
|
5
|
-
import type { Command } from '../types.js';
|
|
6
|
-
export declare const signCommand: Command;
|
|
7
|
-
export declare const publishCommand: Command;
|
|
8
|
-
export declare const updateAppCommand: Command;
|
|
9
|
-
//# sourceMappingURL=appliance-advanced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appliance-advanced.d.ts","sourceRoot":"","sources":["../../../src/commands/appliance-advanced.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAgD1E,eAAO,MAAM,WAAW,EAAE,OA2DzB,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,OAmC5B,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,OAqF9B,CAAC"}
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI Appliance Advanced Commands (Phase 3-4)
|
|
3
|
-
* Sign, publish, and hot-patch RVFA appliances.
|
|
4
|
-
*/
|
|
5
|
-
import { output } from '../output.js';
|
|
6
|
-
import * as path from 'node:path';
|
|
7
|
-
function fmtSize(bytes) {
|
|
8
|
-
if (bytes < 1024)
|
|
9
|
-
return `${bytes} B`;
|
|
10
|
-
if (bytes < 1024 * 1024)
|
|
11
|
-
return `${(bytes / 1024).toFixed(1)} KB`;
|
|
12
|
-
if (bytes < 1024 * 1024 * 1024)
|
|
13
|
-
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
14
|
-
return `${(bytes / (1024 * 1024 * 1024)).toFixed(2)} GB`;
|
|
15
|
-
}
|
|
16
|
-
function errMsg(err) {
|
|
17
|
-
return err instanceof Error ? err.message : String(err);
|
|
18
|
-
}
|
|
19
|
-
function checkRelativePath(userPath) {
|
|
20
|
-
if (!path.isAbsolute(userPath)) {
|
|
21
|
-
const resolved = path.resolve(userPath);
|
|
22
|
-
const rel = path.relative(process.cwd(), resolved);
|
|
23
|
-
if (rel.startsWith('..')) {
|
|
24
|
-
return `Relative path '${userPath}' escapes the working directory.`;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
const fail = (msg, detail) => {
|
|
30
|
-
output.printError(msg, detail);
|
|
31
|
-
return { success: false, exitCode: 1 };
|
|
32
|
-
};
|
|
33
|
-
function hdr(title) {
|
|
34
|
-
output.writeln();
|
|
35
|
-
output.writeln(output.bold(title));
|
|
36
|
-
output.writeln(output.dim('─'.repeat(50)));
|
|
37
|
-
output.writeln();
|
|
38
|
-
}
|
|
39
|
-
async function requireFile(file) {
|
|
40
|
-
const fs = await import('fs');
|
|
41
|
-
if (!fs.existsSync(file)) {
|
|
42
|
-
output.printError(`File not found: ${file}`);
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
return true;
|
|
46
|
-
}
|
|
47
|
-
// SIGN
|
|
48
|
-
export const signCommand = {
|
|
49
|
-
name: 'sign',
|
|
50
|
-
description: 'Sign an RVFA appliance with Ed25519 for tamper detection',
|
|
51
|
-
options: [
|
|
52
|
-
{ name: 'file', short: 'f', type: 'string', description: 'Path to .rvf file', required: true },
|
|
53
|
-
{ name: 'key', short: 'k', type: 'string', description: 'Path to Ed25519 private key (PEM)' },
|
|
54
|
-
{ name: 'generate-keys', type: 'boolean', description: 'Generate a new key pair' },
|
|
55
|
-
{ name: 'key-dir', type: 'string', description: 'Directory for key storage', default: '.rvfa-keys' },
|
|
56
|
-
{ name: 'signer', type: 'string', description: 'Publisher name for signature metadata' },
|
|
57
|
-
],
|
|
58
|
-
action: async (ctx) => {
|
|
59
|
-
const file = ctx.flags.file;
|
|
60
|
-
const keyPath = ctx.flags.key;
|
|
61
|
-
const genKeys = ctx.flags['generate-keys'];
|
|
62
|
-
const keyDir = ctx.flags['key-dir'] || '.rvfa-keys';
|
|
63
|
-
const signer = ctx.flags.signer;
|
|
64
|
-
if (!file)
|
|
65
|
-
return fail('--file is required');
|
|
66
|
-
try {
|
|
67
|
-
const signing = await import('../appliance/rvfa-signing.js');
|
|
68
|
-
if (genKeys) {
|
|
69
|
-
hdr('Generating Ed25519 Key Pair');
|
|
70
|
-
const kp = await signing.generateKeyPair();
|
|
71
|
-
const paths = await signing.saveKeyPair(kp, keyDir);
|
|
72
|
-
output.printSuccess(`Public key: ${paths.publicKeyPath}`);
|
|
73
|
-
output.printSuccess(`Private key: ${paths.privateKeyPath}`);
|
|
74
|
-
output.printInfo(`Fingerprint: ${kp.fingerprint}`);
|
|
75
|
-
output.writeln(output.dim(' Keep the private key secure. Share only the public key.'));
|
|
76
|
-
output.writeln();
|
|
77
|
-
}
|
|
78
|
-
if (!(await requireFile(file)))
|
|
79
|
-
return { success: false, exitCode: 1 };
|
|
80
|
-
hdr('Signing RVFA Appliance');
|
|
81
|
-
let privateKey;
|
|
82
|
-
if (keyPath) {
|
|
83
|
-
const pathErr = checkRelativePath(keyPath);
|
|
84
|
-
if (pathErr)
|
|
85
|
-
return fail(pathErr);
|
|
86
|
-
const fs = await import('fs');
|
|
87
|
-
privateKey = fs.readFileSync(keyPath);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
const kp = await signing.loadKeyPair(keyDir);
|
|
91
|
-
privateKey = kp.privateKey;
|
|
92
|
-
}
|
|
93
|
-
const s = new signing.RvfaSigner(privateKey);
|
|
94
|
-
const meta = await s.signAppliance(file, signer);
|
|
95
|
-
output.printSuccess('Appliance signed successfully');
|
|
96
|
-
output.printInfo(`Algorithm: ${meta.algorithm}`);
|
|
97
|
-
output.printInfo(`Fingerprint: ${meta.publicKeyFingerprint}`);
|
|
98
|
-
output.printInfo(`Signed at: ${meta.signedAt}`);
|
|
99
|
-
if (signer)
|
|
100
|
-
output.printInfo(`Signed by: ${signer}`);
|
|
101
|
-
output.printInfo(`Signature: ${meta.signature.slice(0, 32)}...`);
|
|
102
|
-
return { success: true, data: meta };
|
|
103
|
-
}
|
|
104
|
-
catch (err) {
|
|
105
|
-
return fail('Signing failed', errMsg(err));
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
// PUBLISH
|
|
110
|
-
export const publishCommand = {
|
|
111
|
-
name: 'publish',
|
|
112
|
-
description: 'Publish an RVFA appliance to IPFS via Pinata',
|
|
113
|
-
options: [
|
|
114
|
-
{ name: 'file', short: 'f', type: 'string', description: 'Path to .rvf file', required: true },
|
|
115
|
-
{ name: 'name', short: 'n', type: 'string', description: 'Publication name' },
|
|
116
|
-
{ name: 'description', type: 'string', description: 'Description' },
|
|
117
|
-
],
|
|
118
|
-
action: async (ctx) => {
|
|
119
|
-
const file = ctx.flags.file;
|
|
120
|
-
if (!file)
|
|
121
|
-
return fail('--file is required');
|
|
122
|
-
if (!(await requireFile(file)))
|
|
123
|
-
return { success: false, exitCode: 1 };
|
|
124
|
-
try {
|
|
125
|
-
const dist = await import('../appliance/rvfa-distribution.js');
|
|
126
|
-
hdr('Publishing RVFA to IPFS');
|
|
127
|
-
output.printInfo(`File: ${file}`);
|
|
128
|
-
output.writeln();
|
|
129
|
-
const publisher = dist.createPublisher();
|
|
130
|
-
const result = await publisher.publish(file, {
|
|
131
|
-
name: ctx.flags.name,
|
|
132
|
-
description: ctx.flags.description,
|
|
133
|
-
});
|
|
134
|
-
output.printSuccess('Published successfully');
|
|
135
|
-
output.printInfo(`CID: ${output.bold(result.cid)}`);
|
|
136
|
-
output.printInfo(`Size: ${fmtSize(result.size)}`);
|
|
137
|
-
output.printInfo(`Gateway: ${result.gatewayUrl}`);
|
|
138
|
-
return { success: true, data: result };
|
|
139
|
-
}
|
|
140
|
-
catch (err) {
|
|
141
|
-
return fail('Publishing failed', errMsg(err));
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
};
|
|
145
|
-
// UPDATE (hot-patch)
|
|
146
|
-
export const updateAppCommand = {
|
|
147
|
-
name: 'update',
|
|
148
|
-
description: 'Hot-patch a section in an RVFA appliance',
|
|
149
|
-
options: [
|
|
150
|
-
{ name: 'file', short: 'f', type: 'string', description: 'Path to .rvf file', required: true },
|
|
151
|
-
{ name: 'section', short: 's', type: 'string', description: 'Section to patch (e.g. monomind, models)', required: true },
|
|
152
|
-
{ name: 'patch', short: 'p', type: 'string', description: 'Path to .rvfp patch file' },
|
|
153
|
-
{ name: 'data', short: 'd', type: 'string', description: 'Path to new section data (creates patch automatically)' },
|
|
154
|
-
{ name: 'version', type: 'string', description: 'Patch version', default: '0.0.1' },
|
|
155
|
-
{ name: 'no-backup', type: 'boolean', description: 'Skip backup creation' },
|
|
156
|
-
{ name: 'public-key', type: 'string', description: 'Path to public key for patch verification' },
|
|
157
|
-
],
|
|
158
|
-
action: async (ctx) => {
|
|
159
|
-
const file = ctx.flags.file;
|
|
160
|
-
const section = ctx.flags.section;
|
|
161
|
-
const patchPath = ctx.flags.patch;
|
|
162
|
-
const dataPath = ctx.flags.data;
|
|
163
|
-
if (!file || !section)
|
|
164
|
-
return fail('--file and --section are required');
|
|
165
|
-
if (!patchPath && !dataPath)
|
|
166
|
-
return fail('Provide --patch (RVFP file) or --data (raw section data)');
|
|
167
|
-
if (!(await requireFile(file)))
|
|
168
|
-
return { success: false, exitCode: 1 };
|
|
169
|
-
try {
|
|
170
|
-
const dist = await import('../appliance/rvfa-distribution.js');
|
|
171
|
-
const { RvfaReader } = await import('../appliance/rvfa-format.js');
|
|
172
|
-
const fs = await import('fs');
|
|
173
|
-
hdr('RVFA Hot-Patch Update');
|
|
174
|
-
output.printInfo(`Appliance: ${file}`);
|
|
175
|
-
output.printInfo(`Section: ${section}`);
|
|
176
|
-
output.writeln();
|
|
177
|
-
let patchBuf;
|
|
178
|
-
if (patchPath) {
|
|
179
|
-
const patchPathErr = checkRelativePath(patchPath);
|
|
180
|
-
if (patchPathErr)
|
|
181
|
-
return fail(patchPathErr);
|
|
182
|
-
if (!(await requireFile(patchPath)))
|
|
183
|
-
return { success: false, exitCode: 1 };
|
|
184
|
-
patchBuf = fs.readFileSync(patchPath);
|
|
185
|
-
output.printInfo(`Patch file: ${patchPath} (${fmtSize(patchBuf.length)})`);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
const dataPathErr = checkRelativePath(dataPath);
|
|
189
|
-
if (dataPathErr)
|
|
190
|
-
return fail(dataPathErr);
|
|
191
|
-
if (!(await requireFile(dataPath)))
|
|
192
|
-
return { success: false, exitCode: 1 };
|
|
193
|
-
const newData = fs.readFileSync(dataPath);
|
|
194
|
-
const reader = await RvfaReader.fromFile(file);
|
|
195
|
-
const appHdr = reader.getHeader();
|
|
196
|
-
output.printInfo(`Creating patch for section "${section}" (${fmtSize(newData.length)} new data)`);
|
|
197
|
-
patchBuf = await dist.RvfaPatcher.createPatch({
|
|
198
|
-
targetName: appHdr.name,
|
|
199
|
-
targetVersion: appHdr.appVersion,
|
|
200
|
-
sectionId: section,
|
|
201
|
-
sectionData: newData,
|
|
202
|
-
patchVersion: ctx.flags.version || '0.0.1',
|
|
203
|
-
compression: 'gzip',
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
let pubKey;
|
|
207
|
-
if (ctx.flags['public-key']) {
|
|
208
|
-
const pkPath = ctx.flags['public-key'];
|
|
209
|
-
const pkPathErr = checkRelativePath(pkPath);
|
|
210
|
-
if (pkPathErr)
|
|
211
|
-
return fail(pkPathErr);
|
|
212
|
-
if (!(await requireFile(pkPath)))
|
|
213
|
-
return { success: false, exitCode: 1 };
|
|
214
|
-
pubKey = fs.readFileSync(pkPath);
|
|
215
|
-
}
|
|
216
|
-
const result = await dist.RvfaPatcher.applyPatch(file, patchBuf, {
|
|
217
|
-
backup: !ctx.flags['no-backup'],
|
|
218
|
-
verify: true,
|
|
219
|
-
publicKey: pubKey,
|
|
220
|
-
});
|
|
221
|
-
if (result.success) {
|
|
222
|
-
output.printSuccess(`Section "${result.patchedSection}" updated successfully`);
|
|
223
|
-
output.printInfo(`New size: ${fmtSize(result.newSize)}`);
|
|
224
|
-
if (result.backupPath)
|
|
225
|
-
output.printInfo(`Backup: ${result.backupPath}`);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
output.printError('Patch failed');
|
|
229
|
-
result.errors.forEach(e => output.writeln(` ${output.error('X')} ${e}`));
|
|
230
|
-
}
|
|
231
|
-
return { success: result.success, exitCode: result.success ? 0 : 1, data: result };
|
|
232
|
-
}
|
|
233
|
-
catch (err) {
|
|
234
|
-
return fail('Update failed', errMsg(err));
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
};
|
|
238
|
-
//# sourceMappingURL=appliance-advanced.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appliance-advanced.js","sourceRoot":"","sources":["../../../src/commands/appliance-advanced.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,SAAS,OAAO,CAAC,KAAa;IAC5B,IAAI,KAAK,GAAG,IAAI;QAAE,OAAO,GAAG,KAAK,IAAI,CAAC;IACtC,IAAI,KAAK,GAAG,IAAI,GAAG,IAAI;QAAE,OAAO,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;IAClE,IAAI,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;QAAE,OAAO,GAAG,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;IAClF,OAAO,GAAG,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;AAC3D,CAAC;AAED,SAAS,MAAM,CAAC,GAAY;IAC1B,OAAO,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAgB;IACzC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QACxC,MAAM,GAAG,GAAG,IAAI,CAAC,QA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
4
|
-
*/
|
|
5
|
-
import type { Command } from '../types.js';
|
|
6
|
-
export declare const applianceCommand: Command;
|
|
7
|
-
export default applianceCommand;
|
|
8
|
-
//# sourceMappingURL=appliance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appliance.d.ts","sourceRoot":"","sources":["../../../src/commands/appliance.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AA4Y1E,eAAO,MAAM,gBAAgB,EAAE,OA0C9B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|