@monoes/monomindcli 1.19.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/github/issue-tracker.md +0 -2
- package/.claude/agents/github/pr-manager.md +0 -2
- package/.claude/agents/github/repo-architect.md +3 -11
- package/.claude/agents/goal/goal-planner.md +0 -1
- package/.claude/commands/github/issue-tracker.md +0 -2
- package/.claude/commands/github/pr-manager.md +0 -2
- package/.claude/commands/github/repo-architect.md +3 -10
- package/.claude/commands/mastermind/help.md +3 -3
- package/.claude/commands/workflows/README.md +0 -1
- package/.claude/commands/workflows/workflow-create.md +0 -1
- package/.claude/commands/workflows/workflow-execute.md +1 -3
- package/.claude/commands/workflows/workflow-export.md +0 -2
- package/.claude/helpers/handlers/agent-start-handler.cjs +18 -1
- package/.claude/helpers/handlers/edit-handler.cjs +15 -0
- package/.claude/helpers/handlers/gates-handler.cjs +2 -8
- package/.claude/helpers/handlers/route-handler.cjs +149 -7
- package/.claude/helpers/handlers/session-handler.cjs +47 -25
- package/.claude/helpers/handlers/session-restore-handler.cjs +80 -43
- package/.claude/helpers/handlers/task-handler.cjs +8 -4
- package/.claude/helpers/hook-handler.cjs +69 -16
- package/.claude/helpers/intelligence.cjs +100 -9
- package/.claude/helpers/router.cjs +78 -5
- package/.claude/helpers/skill-registry.json +0 -189
- package/.claude/helpers/token-tracker.cjs +10 -0
- package/.claude/skills/github-toolkit/SKILL.md +60 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +0 -15
- package/.claude/skills/hooks-automation/SKILL.md +0 -1
- package/.claude/skills/mastermind-skills/_protocol.md +1 -1
- package/.claude/skills/mastermind-skills/build.md +1 -2
- package/.claude/skills/memory-toolkit/SKILL.md +75 -0
- package/.claude/skills/specialagent/SKILL.md +2 -4
- package/.claude/skills/swarm-advanced/SKILL.md +0 -1
- package/README.md +13 -17
- package/dist/src/autopilot-state.d.ts.map +1 -1
- package/dist/src/autopilot-state.js +4 -5
- package/dist/src/autopilot-state.js.map +1 -1
- package/dist/src/browser/dashboard/server.d.ts.map +1 -1
- package/dist/src/browser/dashboard/server.js +129 -2
- package/dist/src/browser/dashboard/server.js.map +1 -1
- package/dist/src/browser/dashboard/ui.html +214 -1764
- package/dist/src/capabilities/index.d.ts +0 -2
- package/dist/src/capabilities/index.d.ts.map +1 -1
- package/dist/src/capabilities/index.js +0 -1
- package/dist/src/capabilities/index.js.map +1 -1
- package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
- package/dist/src/commands/agent-lifecycle.js +2 -6
- package/dist/src/commands/agent-lifecycle.js.map +1 -1
- package/dist/src/commands/analyze.d.ts +0 -4
- package/dist/src/commands/analyze.d.ts.map +1 -1
- package/dist/src/commands/analyze.js +1 -29
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/browse-workflow.js +2 -2
- package/dist/src/commands/completions.d.ts.map +1 -1
- package/dist/src/commands/completions.js +3 -22
- package/dist/src/commands/completions.js.map +1 -1
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +0 -6
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/doctor-project-checks.d.ts +12 -2
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +130 -22
- package/dist/src/commands/doctor-project-checks.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +6 -5
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/guidance.d.ts +5 -1
- package/dist/src/commands/guidance.d.ts.map +1 -1
- package/dist/src/commands/guidance.js +11 -556
- package/dist/src/commands/guidance.js.map +1 -1
- package/dist/src/commands/hive-mind-comms.d.ts.map +1 -1
- package/dist/src/commands/hive-mind-comms.js +11 -4
- package/dist/src/commands/hive-mind-comms.js.map +1 -1
- package/dist/src/commands/hive-mind.d.ts +4 -4
- package/dist/src/commands/hive-mind.d.ts.map +1 -1
- package/dist/src/commands/hive-mind.js +9 -6
- package/dist/src/commands/hive-mind.js.map +1 -1
- package/dist/src/commands/hooks-formatting.d.ts +1 -5
- package/dist/src/commands/hooks-formatting.d.ts.map +1 -1
- package/dist/src/commands/hooks-formatting.js +1 -18
- package/dist/src/commands/hooks-formatting.js.map +1 -1
- package/dist/src/commands/hooks-workers.d.ts +1 -1
- package/dist/src/commands/hooks-workers.d.ts.map +1 -1
- package/dist/src/commands/hooks-workers.js +82 -330
- package/dist/src/commands/hooks-workers.js.map +1 -1
- package/dist/src/commands/index.d.ts +0 -5
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +0 -45
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init-wizard.js +1 -1
- package/dist/src/commands/init-wizard.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +4 -24
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/neural-core.js +11 -11
- package/dist/src/commands/neural-core.js.map +1 -1
- package/dist/src/commands/neural-optimize.d.ts.map +1 -1
- package/dist/src/commands/neural-optimize.js +9 -11
- package/dist/src/commands/neural-optimize.js.map +1 -1
- package/dist/src/commands/neural-registry.js +10 -10
- package/dist/src/commands/neural-registry.js.map +1 -1
- package/dist/src/commands/providers.d.ts.map +1 -1
- package/dist/src/commands/providers.js +90 -1
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/search-universal.d.ts +7 -1
- package/dist/src/commands/search-universal.d.ts.map +1 -1
- package/dist/src/commands/search-universal.js +59 -5
- package/dist/src/commands/search-universal.js.map +1 -1
- package/dist/src/commands/security-cve.d.ts.map +1 -1
- package/dist/src/commands/security-cve.js +3 -5
- package/dist/src/commands/security-cve.js.map +1 -1
- package/dist/src/commands/session.d.ts.map +1 -1
- package/dist/src/commands/session.js +143 -3
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/commands/start.d.ts.map +1 -1
- package/dist/src/commands/start.js +0 -18
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/commands/swarm.d.ts.map +1 -1
- package/dist/src/commands/swarm.js +112 -65
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js +43 -1
- package/dist/src/consensus/audit-writer.js.map +1 -1
- package/dist/src/consensus/tally.d.ts +19 -0
- package/dist/src/consensus/tally.d.ts.map +1 -0
- package/dist/src/consensus/tally.js +34 -0
- package/dist/src/consensus/tally.js.map +1 -0
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +9 -12
- 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 +39 -86
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +0 -12
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts.map +1 -1
- package/dist/src/init/statusline-generator.js +62 -0
- package/dist/src/init/statusline-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +2 -6
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +0 -3
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/knowledge/document-pipeline.d.ts.map +1 -1
- package/dist/src/knowledge/document-pipeline.js +18 -8
- package/dist/src/knowledge/document-pipeline.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +0 -2
- 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 +12 -14
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/coherence/coherence-check.d.ts.map +1 -1
- package/dist/src/mcp-tools/coherence/coherence-check.js +1 -19
- package/dist/src/mcp-tools/coherence/coherence-check.js.map +1 -1
- package/dist/src/mcp-tools/coherence/types.d.ts +21 -20
- package/dist/src/mcp-tools/coherence/types.d.ts.map +1 -1
- package/dist/src/mcp-tools/coherence/types.js +3 -18
- package/dist/src/mcp-tools/coherence/types.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +1 -7
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/graphify-tools.js +2 -2
- package/dist/src/mcp-tools/graphify-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +7 -17
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +8 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +174 -38
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-advanced.d.ts +18 -0
- package/dist/src/mcp-tools/hooks-advanced.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-advanced.js +25 -0
- package/dist/src/mcp-tools/hooks-advanced.js.map +1 -0
- package/dist/src/mcp-tools/hooks-intelligence.d.ts +4 -8
- package/dist/src/mcp-tools/hooks-intelligence.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.js +33 -482
- package/dist/src/mcp-tools/hooks-intelligence.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts +1 -0
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +51 -43
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/hooks-synthesis.d.ts +31 -0
- package/dist/src/mcp-tools/hooks-synthesis.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-synthesis.js +196 -0
- package/dist/src/mcp-tools/hooks-synthesis.js.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +10 -8
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +0 -1
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +0 -1
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +20 -29
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts +6 -0
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +78 -220
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts +9 -4
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +242 -506
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/quality/coverage-analysis/prioritize-gaps.d.ts +12 -12
- package/dist/src/mcp-tools/quality/security-compliance/detect-secrets.d.ts +4 -4
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/security-tools.js +103 -0
- package/dist/src/mcp-tools/security-tools.js.map +1 -1
- package/dist/src/memory/intelligence.d.ts +2 -1
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +56 -43
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +14 -9
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-read.d.ts.map +1 -1
- package/dist/src/memory/memory-read.js +1 -19
- package/dist/src/memory/memory-read.js.map +1 -1
- package/dist/src/orgrt/types.d.ts +847 -0
- package/dist/src/orgrt/types.d.ts.map +1 -0
- package/dist/src/orgrt/types.js +51 -0
- package/dist/src/orgrt/types.js.map +1 -0
- package/dist/src/parser.d.ts.map +1 -1
- package/dist/src/parser.js +31 -5
- package/dist/src/parser.js.map +1 -1
- package/dist/src/suggest.d.ts.map +1 -1
- package/dist/src/suggest.js +1 -7
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/transfer/store/discovery.d.ts +3 -2
- package/dist/src/transfer/store/discovery.d.ts.map +1 -1
- package/dist/src/transfer/store/discovery.js +22 -70
- package/dist/src/transfer/store/discovery.js.map +1 -1
- package/dist/src/ui/collector.mjs +69 -44
- package/dist/src/ui/dashboard.html +112 -25
- package/dist/src/ui/orgs.html +54 -0
- package/dist/src/ui/server.mjs +87 -12
- package/dist/src/update/checker.d.ts.map +1 -1
- package/dist/src/update/checker.js +0 -1
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/utils/cosine-similarity.d.ts +22 -0
- package/dist/src/utils/cosine-similarity.d.ts.map +1 -0
- package/dist/src/utils/cosine-similarity.js +38 -0
- package/dist/src/utils/cosine-similarity.js.map +1 -0
- package/dist/src/utils/input-guards.d.ts +51 -0
- package/dist/src/utils/input-guards.d.ts.map +1 -0
- package/dist/src/utils/input-guards.js +223 -0
- package/dist/src/utils/input-guards.js.map +1 -0
- package/dist/src/utils/json-file.d.ts +33 -0
- package/dist/src/utils/json-file.d.ts.map +1 -0
- package/dist/src/utils/json-file.js +57 -0
- package/dist/src/utils/json-file.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -7
- package/scripts/setup-ipfs-registry.md +14 -15
- package/scripts/sync-claude-assets.sh +16 -20
- package/.claude/agents/generated/case-analyst.md +0 -50
- package/.claude/agents/generated/channel-intelligence-director.md +0 -87
- package/.claude/agents/generated/chief-growth-officer.md +0 -88
- package/.claude/agents/generated/churn-analyst.md +0 -53
- package/.claude/agents/generated/code-reviewer.md +0 -55
- package/.claude/agents/generated/code-validator.md +0 -57
- package/.claude/agents/generated/complexity-scanner.md +0 -56
- package/.claude/agents/generated/content-seo-strategist.md +0 -90
- package/.claude/agents/generated/copy-editor.md +0 -45
- package/.claude/agents/generated/court-reporter.md +0 -50
- package/.claude/agents/generated/defender.md +0 -51
- package/.claude/agents/generated/devbot-orchestrator.md +0 -58
- package/.claude/agents/generated/devbot-planner.md +0 -63
- package/.claude/agents/generated/developer-community-strategist.md +0 -91
- package/.claude/agents/generated/editor-in-chief.md +0 -45
- package/.claude/agents/generated/fact-checker.md +0 -45
- package/.claude/agents/generated/impact-assessor.md +0 -54
- package/.claude/agents/generated/judge.md +0 -51
- package/.claude/agents/generated/outreach-partnership-strategist.md +0 -90
- package/.claude/agents/generated/prosecutor.md +0 -51
- package/.claude/agents/generated/reporter.md +0 -45
- package/.claude/agents/generated/social-media-strategist.md +0 -91
- package/.claude/agents/generated/video-visual-strategist.md +0 -90
- package/.claude/agents/reengineer-squad/boss.md +0 -113
- package/.claude/agents/reengineer-squad/critic-architect.md +0 -132
- package/.claude/agents/reengineer-squad/git-manager.md +0 -145
- package/.claude/agents/reengineer-squad/idea-generator.md +0 -95
- package/.claude/agents/reengineer-squad/implementer.md +0 -112
- package/.claude/agents/reengineer-squad/integration-planner.md +0 -112
- package/.claude/agents/reengineer-squad/source-analyst.md +0 -103
- package/.claude/agents/reengineer-squad/target-analyst.md +0 -118
- package/.claude/agents/reengineer-squad/tester.md +0 -105
- package/.claude/agents/sparc/architecture.md +0 -453
- package/.claude/agents/sparc/pseudocode.md +0 -299
- package/.claude/agents/sparc/refinement.md +0 -504
- package/.claude/agents/sparc/specification.md +0 -258
- package/.claude/agents/templates/implementer-sparc-coder.md +0 -231
- package/.claude/commands/sparc/analyzer.md +0 -35
- package/.claude/commands/sparc/architect.md +0 -36
- package/.claude/commands/sparc/ask.md +0 -56
- package/.claude/commands/sparc/batch-executor.md +0 -37
- package/.claude/commands/sparc/code.md +0 -48
- package/.claude/commands/sparc/coder.md +0 -37
- package/.claude/commands/sparc/debug.md +0 -42
- package/.claude/commands/sparc/debugger.md +0 -37
- package/.claude/commands/sparc/designer.md +0 -36
- package/.claude/commands/sparc/devops.md +0 -68
- package/.claude/commands/sparc/docs-writer.md +0 -39
- package/.claude/commands/sparc/documenter.md +0 -37
- package/.claude/commands/sparc/innovator.md +0 -37
- package/.claude/commands/sparc/integration.md +0 -42
- package/.claude/commands/sparc/mcp.md +0 -76
- package/.claude/commands/sparc/memory-manager.md +0 -57
- package/.claude/commands/sparc/optimizer.md +0 -37
- package/.claude/commands/sparc/orchestrator.md +0 -70
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +0 -42
- package/.claude/commands/sparc/refinement-optimization-mode.md +0 -42
- package/.claude/commands/sparc/researcher.md +0 -37
- package/.claude/commands/sparc/reviewer.md +0 -37
- package/.claude/commands/sparc/security-review.md +0 -39
- package/.claude/commands/sparc/sparc-modes.md +0 -120
- package/.claude/commands/sparc/sparc.md +0 -71
- package/.claude/commands/sparc/spec-pseudocode.md +0 -39
- package/.claude/commands/sparc/supabase-admin.md +0 -301
- package/.claude/commands/sparc/swarm-coordinator.md +0 -50
- package/.claude/commands/sparc/tdd.md +0 -37
- package/.claude/commands/sparc/tester.md +0 -37
- package/.claude/commands/sparc/tutorial.md +0 -38
- package/.claude/commands/sparc/workflow-manager.md +0 -37
- package/.claude/commands/sparc.md +0 -112
- package/.claude/skills/sparc-methodology/SKILL.md +0 -950
- package/dist/src/capabilities/enrichment.d.ts +0 -44
- package/dist/src/capabilities/enrichment.d.ts.map +0 -1
- package/dist/src/capabilities/enrichment.js +0 -141
- package/dist/src/capabilities/enrichment.js.map +0 -1
- package/dist/src/commands/analyze-boundaries.d.ts +0 -14
- package/dist/src/commands/analyze-boundaries.d.ts.map +0 -1
- package/dist/src/commands/analyze-boundaries.js +0 -295
- package/dist/src/commands/analyze-boundaries.js.map +0 -1
- package/dist/src/commands/analyze-graph.d.ts +0 -14
- package/dist/src/commands/analyze-graph.d.ts.map +0 -1
- package/dist/src/commands/analyze-graph.js +0 -304
- package/dist/src/commands/analyze-graph.js.map +0 -1
- package/dist/src/commands/claims.d.ts +0 -10
- package/dist/src/commands/claims.d.ts.map +0 -1
- package/dist/src/commands/claims.js +0 -650
- package/dist/src/commands/claims.js.map +0 -1
- package/dist/src/commands/daemon.d.ts +0 -8
- package/dist/src/commands/daemon.d.ts.map +0 -1
- package/dist/src/commands/daemon.js +0 -681
- package/dist/src/commands/daemon.js.map +0 -1
- package/dist/src/commands/enrich.d.ts +0 -10
- package/dist/src/commands/enrich.d.ts.map +0 -1
- package/dist/src/commands/enrich.js +0 -58
- package/dist/src/commands/enrich.js.map +0 -1
- package/dist/src/commands/issues.d.ts +0 -21
- package/dist/src/commands/issues.d.ts.map +0 -1
- package/dist/src/commands/issues.js +0 -575
- package/dist/src/commands/issues.js.map +0 -1
- package/dist/src/commands/workflow.d.ts +0 -8
- package/dist/src/commands/workflow.d.ts.map +0 -1
- package/dist/src/commands/workflow.js +0 -575
- package/dist/src/commands/workflow.js.map +0 -1
- package/dist/src/consensus/vote-signer.d.ts +0 -36
- package/dist/src/consensus/vote-signer.d.ts.map +0 -1
- package/dist/src/consensus/vote-signer.js +0 -88
- package/dist/src/consensus/vote-signer.js.map +0 -1
- package/dist/src/mcp-tools/workflow-tools.d.ts +0 -8
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/workflow-tools.js +0 -717
- package/dist/src/mcp-tools/workflow-tools.js.map +0 -1
- package/dist/src/services/claim-service.d.ts +0 -198
- package/dist/src/services/claim-service.d.ts.map +0 -1
- package/dist/src/services/claim-service.js +0 -890
- package/dist/src/services/claim-service.js.map +0 -1
- package/dist/src/services/headless-worker-executor.d.ts +0 -311
- package/dist/src/services/headless-worker-executor.d.ts.map +0 -1
- package/dist/src/services/headless-worker-executor.js +0 -1183
- package/dist/src/services/headless-worker-executor.js.map +0 -1
- package/dist/src/services/worker-daemon.d.ts +0 -230
- package/dist/src/services/worker-daemon.d.ts.map +0 -1
- package/dist/src/services/worker-daemon.js +0 -1350
- package/dist/src/services/worker-daemon.js.map +0 -1
- package/dist/src/ui/.monomind/capture/active-run.json +0 -1
- package/dist/src/ui/.monomind/orgs/system-trial-qa/runs/real-events-1782290897.convs.jsonl +0 -3
- package/dist/src/ui/.monomind/orgs/system-trial-qa/runs/real-events-1782290897.jsonl +0 -11
- package/dist/src/ui/.monomind/orgs/system-trial-qa/runs/rigid-qa-restart-1782288201.jsonl +0 -540
- package/dist/src/ui/.monomind/orgs/system-trial-qa-threads.jsonl +0 -3
- package/dist/src/ui/.monomind/orgs/test-event-fix/runs/rigid-qa-restart-1782288201.jsonl +0 -2
|
@@ -46,6 +46,13 @@ function getDbPath() {
|
|
|
46
46
|
function text(t) {
|
|
47
47
|
return { content: [{ type: 'text', text: t }] };
|
|
48
48
|
}
|
|
49
|
+
function ensureDbExists() {
|
|
50
|
+
const p = getDbPath();
|
|
51
|
+
if (!_isValidDb(p)) {
|
|
52
|
+
throw new Error(`Monograph index not built yet. Run monograph_build first (path: ${p}).`);
|
|
53
|
+
}
|
|
54
|
+
return p;
|
|
55
|
+
}
|
|
49
56
|
// ── Active watcher registry ──────────────────────────────────────────────────
|
|
50
57
|
const _activeWatchers = new Map();
|
|
51
58
|
function applyPprRerank(db, seedNodes, damping, maxResults) {
|
|
@@ -131,9 +138,12 @@ const monographQueryTool = {
|
|
|
131
138
|
required: ['query'],
|
|
132
139
|
},
|
|
133
140
|
handler: async (input) => {
|
|
141
|
+
const dbPath = getDbPath();
|
|
142
|
+
if (!_isValidDb(dbPath))
|
|
143
|
+
return text('Monograph index not built yet. Run monograph_build first.');
|
|
134
144
|
const { openDb, closeDb, ftsSearch } = await import('@monoes/monograph');
|
|
135
145
|
const { hybridQuery } = await import('@monoes/monograph');
|
|
136
|
-
const db = openDb(
|
|
146
|
+
const db = openDb(dbPath);
|
|
137
147
|
try {
|
|
138
148
|
// Cap limit: passed directly to SQLite queries and hybridQuery; an
|
|
139
149
|
// unlimited value saturates memory with rows.
|
|
@@ -210,8 +220,11 @@ const monographStatsTool = {
|
|
|
210
220
|
description: 'Show node/edge/community counts and index freshness.',
|
|
211
221
|
inputSchema: { type: 'object', properties: {} },
|
|
212
222
|
handler: async () => {
|
|
223
|
+
const dbPath = getDbPath();
|
|
224
|
+
if (!_isValidDb(dbPath))
|
|
225
|
+
return text('Monograph index not built yet. Run monograph_build first.');
|
|
213
226
|
const { openDb, closeDb, countNodes, countEdges } = await import('@monoes/monograph');
|
|
214
|
-
const db = openDb(
|
|
227
|
+
const db = openDb(dbPath);
|
|
215
228
|
try {
|
|
216
229
|
const nodes = countNodes(db);
|
|
217
230
|
const edges = countEdges(db);
|
|
@@ -280,8 +293,11 @@ const monographGodNodesTool = {
|
|
|
280
293
|
properties: { limit: { type: 'number', description: 'Max nodes to return (default 20)' } },
|
|
281
294
|
},
|
|
282
295
|
handler: async (input) => {
|
|
296
|
+
const dbPath = getDbPath();
|
|
297
|
+
if (!_isValidDb(dbPath))
|
|
298
|
+
return text('Monograph index not built yet. Run monograph_build first.');
|
|
283
299
|
const { openDb, closeDb } = await import('@monoes/monograph');
|
|
284
|
-
const db = openDb(
|
|
300
|
+
const db = openDb(dbPath);
|
|
285
301
|
try {
|
|
286
302
|
// Cap limit: passed directly to the SQL LIMIT clause.
|
|
287
303
|
const MAX_GOD_NODES_LIMIT = 1_000;
|
|
@@ -467,12 +483,27 @@ const monographSuggestTool = {
|
|
|
467
483
|
properties: {
|
|
468
484
|
task: { type: 'string', description: 'Optional task description for task-relevance scoring' },
|
|
469
485
|
limit: { type: 'number', description: 'Max questions (default 10)' },
|
|
486
|
+
checkStaleness: { type: 'boolean', description: 'Check index staleness first and trigger a background rebuild when the index is behind HEAD. Appends a _staleness annotation to the result. (default false)' },
|
|
470
487
|
},
|
|
471
488
|
},
|
|
472
489
|
handler: async (input) => {
|
|
490
|
+
// Health-aware mode (formerly monograph_suggest_auto): check staleness and
|
|
491
|
+
// trigger a background rebuild if the index is behind HEAD.
|
|
492
|
+
let stalenessAnnotation = '';
|
|
493
|
+
if (input.checkStaleness === true) {
|
|
494
|
+
const repoPath = getProjectCwd();
|
|
495
|
+
const stalenessResult = await computeCommitsBehind(repoPath);
|
|
496
|
+
const commitsBehind = stalenessResult?.commitsBehind ?? 0;
|
|
497
|
+
const triggered = triggerBackgroundBuildIfNeeded(repoPath, commitsBehind, STALENESS_THRESHOLD + 1);
|
|
498
|
+
const status = triggered ? 'building' : commitsBehind === 0 ? 'fresh' : 'stale';
|
|
499
|
+
stalenessAnnotation = `\n_staleness: ${JSON.stringify({ commitsBehind, status, triggered })}`;
|
|
500
|
+
}
|
|
501
|
+
const dbPath = getDbPath();
|
|
502
|
+
if (!_isValidDb(dbPath))
|
|
503
|
+
return text('Monograph index not built yet. Run monograph_build first.' + stalenessAnnotation);
|
|
473
504
|
const { openDb, closeDb } = await import('@monoes/monograph');
|
|
474
505
|
const { hybridQuery } = await import('@monoes/monograph');
|
|
475
|
-
const db = openDb(
|
|
506
|
+
const db = openDb(dbPath);
|
|
476
507
|
try {
|
|
477
508
|
// Cap limit and task: limit is passed directly to SQL LIMIT clause;
|
|
478
509
|
// task is forwarded to hybridQuery (embedding path) or FTS.
|
|
@@ -500,7 +531,7 @@ const monographSuggestTool = {
|
|
|
500
531
|
const hits = await hybridQuery(db, task, { limit: 20 });
|
|
501
532
|
const hitIds = new Set(hits.map(h => h.id));
|
|
502
533
|
if (hitIds.size === 0) {
|
|
503
|
-
return text('No suggestions for this task. Run monograph_build first or try a different query.');
|
|
534
|
+
return text('No suggestions for this task. Run monograph_build first or try a different query.' + stalenessAnnotation);
|
|
504
535
|
}
|
|
505
536
|
const rows = db.prepare(`
|
|
506
537
|
SELECT e.relation, e.confidence, n1.name as src, n2.name as tgt,
|
|
@@ -515,7 +546,7 @@ const monographSuggestTool = {
|
|
|
515
546
|
LIMIT 100
|
|
516
547
|
`).all(...[...hitIds], ...[...hitIds]);
|
|
517
548
|
const questions = rows.map(formatSuggestion);
|
|
518
|
-
return text(questions.slice(0, limit).join('\n') || 'No suggestions for this task. Run monograph_build first.');
|
|
549
|
+
return text((questions.slice(0, limit).join('\n') || 'No suggestions for this task. Run monograph_build first.') + stalenessAnnotation);
|
|
519
550
|
}
|
|
520
551
|
const rows = db.prepare(`
|
|
521
552
|
SELECT e.relation, e.confidence, n1.name as src, n2.name as tgt,
|
|
@@ -533,7 +564,7 @@ const monographSuggestTool = {
|
|
|
533
564
|
}));
|
|
534
565
|
if (task)
|
|
535
566
|
scored = scored.sort((a, b) => b.relevance - a.relevance);
|
|
536
|
-
return text(scored.slice(0, limit).map(s => s.q).join('\n') || 'No suggestions. Run monograph_build first.');
|
|
567
|
+
return text((scored.slice(0, limit).map(s => s.q).join('\n') || 'No suggestions. Run monograph_build first.') + stalenessAnnotation);
|
|
537
568
|
}
|
|
538
569
|
finally {
|
|
539
570
|
closeDb(db);
|
|
@@ -715,14 +746,14 @@ async function computeCommitsBehind(repoPath) {
|
|
|
715
746
|
}
|
|
716
747
|
}
|
|
717
748
|
/**
|
|
718
|
-
* Shared staleness threshold: both monograph_staleness and
|
|
749
|
+
* Shared staleness threshold: both monograph_staleness and monograph_suggest (checkStaleness)
|
|
719
750
|
* trigger a background rebuild only when the index is more than this many commits behind HEAD.
|
|
720
751
|
* Using a shared constant prevents conflicting rebuild pressure during active dev sessions.
|
|
721
752
|
*/
|
|
722
753
|
const STALENESS_THRESHOLD = 10;
|
|
723
754
|
/**
|
|
724
755
|
* Fire-and-forget background rebuild. Uses a module-level guard so concurrent
|
|
725
|
-
* MCP tool calls (e.g. repeated
|
|
756
|
+
* MCP tool calls (e.g. repeated monograph_suggest checkStaleness) don't pile up builds.
|
|
726
757
|
* threshold: minimum commitsBehind to trigger (default STALENESS_THRESHOLD + 1).
|
|
727
758
|
*/
|
|
728
759
|
function triggerBackgroundBuildIfNeeded(repoPath, commitsBehind, threshold = STALENESS_THRESHOLD + 1) {
|
|
@@ -1284,21 +1315,6 @@ const monographApiImpactTool = {
|
|
|
1284
1315
|
}
|
|
1285
1316
|
},
|
|
1286
1317
|
};
|
|
1287
|
-
// ── monograph_embed ───────────────────────────────────────────────────────────
|
|
1288
|
-
const monographEmbedTool = {
|
|
1289
|
-
name: 'monograph_embed',
|
|
1290
|
-
description: 'DEPRECATED — embeddings are disabled; monograph uses BM25 (FTS5) search. This tool is a no-op kept for backward compatibility.',
|
|
1291
|
-
inputSchema: {
|
|
1292
|
-
type: 'object',
|
|
1293
|
-
properties: {
|
|
1294
|
-
codeOnly: { type: 'boolean', description: 'Ignored (embeddings are disabled)' },
|
|
1295
|
-
force: { type: 'boolean', description: 'Ignored (embeddings are disabled)' },
|
|
1296
|
-
},
|
|
1297
|
-
},
|
|
1298
|
-
handler: async () => {
|
|
1299
|
-
return text('Embeddings are disabled — monograph uses BM25 (FTS5) search; this tool is deprecated and does nothing. Use monograph_query instead.');
|
|
1300
|
-
},
|
|
1301
|
-
};
|
|
1302
1318
|
// ── monograph_cypher ──────────────────────────────────────────────────────────
|
|
1303
1319
|
const monographCypherTool = {
|
|
1304
1320
|
name: 'monograph_cypher',
|
|
@@ -1918,39 +1934,6 @@ const monographNeighborsTool = {
|
|
|
1918
1934
|
}
|
|
1919
1935
|
},
|
|
1920
1936
|
};
|
|
1921
|
-
// ── monograph_suggest_auto ────────────────────────────────────────────────────
|
|
1922
|
-
const monographSuggestAutoTool = {
|
|
1923
|
-
name: 'monograph_suggest_auto',
|
|
1924
|
-
description: 'Like monograph_suggest but health-aware: checks staleness first and triggers a background rebuild when the index is behind HEAD before returning suggestions. Result includes a _staleness annotation.',
|
|
1925
|
-
inputSchema: {
|
|
1926
|
-
type: 'object',
|
|
1927
|
-
properties: {
|
|
1928
|
-
task: { type: 'string', description: 'Optional task description for task-relevance scoring' },
|
|
1929
|
-
limit: { type: 'number', description: 'Max questions (default 10)' },
|
|
1930
|
-
},
|
|
1931
|
-
},
|
|
1932
|
-
handler: async (input) => {
|
|
1933
|
-
const repoPath = getProjectCwd();
|
|
1934
|
-
// Check staleness and trigger rebuild if needed (threshold: STALENESS_THRESHOLD commits).
|
|
1935
|
-
const stalenessResult = await computeCommitsBehind(repoPath);
|
|
1936
|
-
const commitsBehind = stalenessResult?.commitsBehind ?? 0;
|
|
1937
|
-
const triggered = triggerBackgroundBuildIfNeeded(repoPath, commitsBehind, STALENESS_THRESHOLD + 1);
|
|
1938
|
-
const stalenessStatus = triggered ? 'building' : commitsBehind === 0 ? 'fresh' : 'stale';
|
|
1939
|
-
// Delegate to the base suggest tool — no logic duplication.
|
|
1940
|
-
const baseResult = await monographSuggestTool.handler(input);
|
|
1941
|
-
// Append staleness annotation to the text content.
|
|
1942
|
-
const stalenessAnnotation = `\n_staleness: ${JSON.stringify({ commitsBehind, status: stalenessStatus, triggered })}`;
|
|
1943
|
-
if (baseResult && Array.isArray(baseResult.content)) {
|
|
1944
|
-
const content = baseResult.content;
|
|
1945
|
-
if (content.length > 0 && content[0].type === 'text') {
|
|
1946
|
-
content[0].text += stalenessAnnotation;
|
|
1947
|
-
}
|
|
1948
|
-
return baseResult;
|
|
1949
|
-
}
|
|
1950
|
-
return baseResult;
|
|
1951
|
-
},
|
|
1952
|
-
};
|
|
1953
|
-
// ── Export all tools ──────────────────────────────────────────────────────────
|
|
1954
1937
|
// ── monograph_dead_code ──────────────────────────────────────────────────────
|
|
1955
1938
|
const monographDeadCodeTool = {
|
|
1956
1939
|
name: 'monograph_dead_code',
|
|
@@ -2326,190 +2309,65 @@ const monographAgentRecordTool = {
|
|
|
2326
2309
|
}
|
|
2327
2310
|
},
|
|
2328
2311
|
};
|
|
2329
|
-
//
|
|
2330
|
-
const
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
inputSchema: {
|
|
2334
|
-
type: 'object',
|
|
2335
|
-
properties: {
|
|
2336
|
-
query: { type: 'string', description: 'Search query to run through monograph_query first' },
|
|
2337
|
-
alpha: { type: 'number', description: 'Weight for search score vs PageRank (0-1, default 0.7 = 70% search, 30% PageRank)' },
|
|
2338
|
-
limit: { type: 'number', description: 'Max results (default 20)' },
|
|
2339
|
-
},
|
|
2340
|
-
required: ['query'],
|
|
2341
|
-
},
|
|
2342
|
-
handler: async (input) => {
|
|
2343
|
-
const { openDb, closeDb, pageRank } = await import('@monoes/monograph');
|
|
2344
|
-
const db = openDb(getDbPath());
|
|
2345
|
-
try {
|
|
2346
|
-
const alpha = input.alpha ?? 0.7;
|
|
2347
|
-
const limit = input.limit ?? 20;
|
|
2348
|
-
const query = input.query;
|
|
2349
|
-
const searchResults = db.prepare(`
|
|
2350
|
-
SELECT n.id, n.name, n.label, n.file_path, n.start_line, n.community_id,
|
|
2351
|
-
bm25(nodes_fts) AS score
|
|
2352
|
-
FROM nodes_fts
|
|
2353
|
-
JOIN nodes n ON n.id = nodes_fts.rowid
|
|
2354
|
-
WHERE nodes_fts MATCH @query
|
|
2355
|
-
ORDER BY bm25(nodes_fts)
|
|
2356
|
-
LIMIT @limit
|
|
2357
|
-
`).all({ query, limit: limit * 2 });
|
|
2358
|
-
if (searchResults.length === 0)
|
|
2359
|
-
return text('No results found.');
|
|
2360
|
-
const ranks = pageRank(db);
|
|
2361
|
-
const N = ranks.size || 1;
|
|
2362
|
-
const ranked = searchResults.map(r => {
|
|
2363
|
-
const pr = ranks.get(r.id) ?? 0;
|
|
2364
|
-
return {
|
|
2365
|
-
...r,
|
|
2366
|
-
pageRank: pr,
|
|
2367
|
-
combinedScore: alpha * Math.abs(r.score) + (1 - alpha) * (pr * N),
|
|
2368
|
-
};
|
|
2369
|
-
}).sort((a, b) => b.combinedScore - a.combinedScore).slice(0, limit);
|
|
2370
|
-
return text(JSON.stringify(ranked, null, 2));
|
|
2371
|
-
}
|
|
2372
|
-
finally {
|
|
2373
|
-
closeDb(db);
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
};
|
|
2377
|
-
// ── monograph_community_summaries (ported from MemoryGraph) ──────────────────
|
|
2378
|
-
const monographCommunitySummariesTool = {
|
|
2379
|
-
name: 'monograph_community_summaries',
|
|
2380
|
-
description: 'GraphRAG-style community summaries: top-K communities by average PageRank with member counts and top nodes. Ported from MemoryGraph.getCommunitySummaries.',
|
|
2381
|
-
inputSchema: {
|
|
2382
|
-
type: 'object',
|
|
2383
|
-
properties: {
|
|
2384
|
-
top_k: { type: 'number', description: 'Number of top communities to return (default 5)' },
|
|
2385
|
-
},
|
|
2386
|
-
},
|
|
2387
|
-
handler: async (input) => {
|
|
2388
|
-
const { openDb, closeDb, pageRank } = await import('@monoes/monograph');
|
|
2389
|
-
const db = openDb(getDbPath());
|
|
2390
|
-
try {
|
|
2391
|
-
const topK = input.top_k ?? 5;
|
|
2392
|
-
const ranks = pageRank(db);
|
|
2393
|
-
const rows = db.prepare(`SELECT id, community_id FROM nodes WHERE community_id IS NOT NULL`).all();
|
|
2394
|
-
const communityMap = new Map();
|
|
2395
|
-
for (const row of rows) {
|
|
2396
|
-
const rank = ranks.get(row.id) ?? 0;
|
|
2397
|
-
const entry = communityMap.get(row.community_id) ?? { nodeIds: [], rankSum: 0 };
|
|
2398
|
-
entry.nodeIds.push(row.id);
|
|
2399
|
-
entry.rankSum += rank;
|
|
2400
|
-
communityMap.set(row.community_id, entry);
|
|
2401
|
-
}
|
|
2402
|
-
const summaries = [...communityMap.entries()]
|
|
2403
|
-
.map(([communityId, { nodeIds, rankSum }]) => ({
|
|
2404
|
-
communityId,
|
|
2405
|
-
nodeCount: nodeIds.length,
|
|
2406
|
-
topNodeIds: nodeIds.slice(0, 3),
|
|
2407
|
-
avgPageRank: nodeIds.length > 0 ? rankSum / nodeIds.length : 0,
|
|
2408
|
-
}))
|
|
2409
|
-
.sort((a, b) => b.avgPageRank - a.avgPageRank)
|
|
2410
|
-
.slice(0, topK);
|
|
2411
|
-
return text(JSON.stringify(summaries, null, 2));
|
|
2412
|
-
}
|
|
2413
|
-
finally {
|
|
2414
|
-
closeDb(db);
|
|
2415
|
-
}
|
|
2416
|
-
},
|
|
2417
|
-
};
|
|
2418
|
-
// ── monograph_ppr_rerank (ported from MemoryGraph) ───────────────────────────
|
|
2419
|
-
const monographPprRerankTool = {
|
|
2420
|
-
name: 'monograph_ppr_rerank',
|
|
2421
|
-
description: 'HippoRAG-style PPR re-ranking: search, then expand one hop through edges and boost neighbor scores. Ported from MemoryGraph.pprRerank (arXiv:2405.14831).',
|
|
2422
|
-
inputSchema: {
|
|
2423
|
-
type: 'object',
|
|
2424
|
-
properties: {
|
|
2425
|
-
query: { type: 'string', description: 'Search query' },
|
|
2426
|
-
damping: { type: 'number', description: 'Score propagation damping factor (default 0.5)' },
|
|
2427
|
-
limit: { type: 'number', description: 'Max results (default 20)' },
|
|
2428
|
-
},
|
|
2429
|
-
required: ['query'],
|
|
2430
|
-
},
|
|
2431
|
-
handler: async (input) => {
|
|
2432
|
-
const { openDb, closeDb } = await import('@monoes/monograph');
|
|
2433
|
-
const db = openDb(getDbPath());
|
|
2434
|
-
try {
|
|
2435
|
-
const damping = input.damping ?? 0.5;
|
|
2436
|
-
const limit = input.limit ?? 20;
|
|
2437
|
-
const query = input.query;
|
|
2438
|
-
const searchResults = db.prepare(`
|
|
2439
|
-
SELECT n.id, n.name, n.label, n.file_path, n.start_line,
|
|
2440
|
-
bm25(nodes_fts) AS score
|
|
2441
|
-
FROM nodes_fts
|
|
2442
|
-
JOIN nodes n ON n.id = nodes_fts.rowid
|
|
2443
|
-
WHERE nodes_fts MATCH @query
|
|
2444
|
-
ORDER BY bm25(nodes_fts)
|
|
2445
|
-
LIMIT @limit
|
|
2446
|
-
`).all({ query, limit: limit * 2 });
|
|
2447
|
-
if (searchResults.length === 0)
|
|
2448
|
-
return text('No results found.');
|
|
2449
|
-
const seeds = searchResults.map(r => ({
|
|
2450
|
-
id: r.id, name: r.name, label: r.label,
|
|
2451
|
-
filePath: r.file_path, startLine: r.start_line ?? null,
|
|
2452
|
-
score: Math.abs(r.score),
|
|
2453
|
-
}));
|
|
2454
|
-
const reranked = applyPprRerank(db, seeds, damping, limit);
|
|
2455
|
-
return text(JSON.stringify(reranked, null, 2));
|
|
2456
|
-
}
|
|
2457
|
-
finally {
|
|
2458
|
-
closeDb(db);
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
};
|
|
2462
|
-
export const monographTools = [
|
|
2312
|
+
// Advanced tools are only exposed over MCP when MONOGRAPH_MCP_ADVANCED=1.
|
|
2313
|
+
const ADVANCED = process.env['MONOGRAPH_MCP_ADVANCED'] === '1';
|
|
2314
|
+
/** Default-exposed core tools (19). */
|
|
2315
|
+
const coreMonographTools = [
|
|
2463
2316
|
monographBuildTool,
|
|
2464
2317
|
monographQueryTool,
|
|
2318
|
+
monographSuggestTool,
|
|
2319
|
+
monographImpactTool,
|
|
2320
|
+
monographContextTool,
|
|
2321
|
+
monographNeighborsTool,
|
|
2322
|
+
monographDeadCodeTool,
|
|
2465
2323
|
monographStatsTool,
|
|
2466
2324
|
monographHealthTool,
|
|
2325
|
+
monographAugmentTool,
|
|
2467
2326
|
monographGodNodesTool,
|
|
2327
|
+
monographDetectChangesTool,
|
|
2468
2328
|
monographGetNodeTool,
|
|
2329
|
+
monographApiImpactTool,
|
|
2330
|
+
monographRouteMapTool,
|
|
2331
|
+
monographStalenessTool,
|
|
2332
|
+
monographWatchTool,
|
|
2333
|
+
monographWatchStopTool,
|
|
2334
|
+
monographDoctorTool,
|
|
2335
|
+
];
|
|
2336
|
+
/** Advanced tools — gated behind MONOGRAPH_MCP_ADVANCED=1. */
|
|
2337
|
+
const advancedMonographTools = [
|
|
2338
|
+
monographCypherTool,
|
|
2469
2339
|
monographShortestPathTool,
|
|
2470
2340
|
monographCommunityTool,
|
|
2471
2341
|
monographSurprisesTool,
|
|
2472
|
-
|
|
2473
|
-
|
|
2342
|
+
monographShapeCheckTool,
|
|
2343
|
+
monographRenameTool,
|
|
2344
|
+
monographToolMapTool,
|
|
2345
|
+
monographServeTool,
|
|
2474
2346
|
monographVisualizeTool,
|
|
2475
|
-
monographWatchTool,
|
|
2476
|
-
monographWatchStopTool,
|
|
2477
|
-
monographReportTool,
|
|
2478
|
-
monographStalenessTool,
|
|
2479
2347
|
monographSnapshotTool,
|
|
2480
2348
|
monographDiffTool,
|
|
2481
|
-
|
|
2349
|
+
monographReportTool,
|
|
2482
2350
|
monographExportTool,
|
|
2483
|
-
monographContextTool,
|
|
2484
|
-
monographImpactTool,
|
|
2485
|
-
monographDetectChangesTool,
|
|
2486
|
-
monographRenameTool,
|
|
2487
|
-
monographRouteMapTool,
|
|
2488
|
-
monographApiImpactTool,
|
|
2489
|
-
monographCypherTool,
|
|
2490
|
-
monographEmbedTool,
|
|
2491
|
-
monographGroupListTool,
|
|
2492
|
-
monographGroupQueryTool,
|
|
2493
2351
|
monographWikiTool,
|
|
2494
2352
|
monographWikiBuildTool,
|
|
2495
|
-
monographServeTool,
|
|
2496
|
-
monographToolMapTool,
|
|
2497
|
-
monographShapeCheckTool,
|
|
2498
|
-
monographGroupSyncTool,
|
|
2499
|
-
monographAugmentTool,
|
|
2500
|
-
monographInjectContextTool,
|
|
2501
2353
|
monographSkillGenTool,
|
|
2502
2354
|
monographInstallSkillsTool,
|
|
2503
|
-
|
|
2504
|
-
|
|
2355
|
+
monographInjectContextTool,
|
|
2356
|
+
monographGroupListTool,
|
|
2357
|
+
monographGroupQueryTool,
|
|
2358
|
+
monographGroupSyncTool,
|
|
2505
2359
|
monographGroupContractsTool,
|
|
2506
2360
|
monographGroupStatusTool,
|
|
2507
|
-
|
|
2361
|
+
monographListReposTool,
|
|
2508
2362
|
monographAgentHistoryTool,
|
|
2509
2363
|
monographAgentPatternsTool,
|
|
2510
2364
|
monographAgentRecordTool,
|
|
2511
|
-
monographRankWithGraphTool,
|
|
2512
|
-
monographCommunitySummariesTool,
|
|
2513
|
-
monographPprRerankTool,
|
|
2514
2365
|
];
|
|
2366
|
+
/**
|
|
2367
|
+
* Full tool list regardless of gating — used by the graphify compat shims,
|
|
2368
|
+
* which must resolve targets (e.g. monograph_community) even when the
|
|
2369
|
+
* advanced set is not exposed over MCP.
|
|
2370
|
+
*/
|
|
2371
|
+
export const allMonographTools = [...coreMonographTools, ...advancedMonographTools];
|
|
2372
|
+
export const monographTools = ADVANCED ? allMonographTools : coreMonographTools;
|
|
2515
2373
|
//# sourceMappingURL=monograph-tools.js.map
|