@monoes/monomindcli 2.7.3 → 2.7.5
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/architecture/system-design/arch-system-design.md +0 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +0 -0
- package/.claude/agents/consensus/quorum-manager.md +0 -0
- package/.claude/agents/consensus/security-manager.md +0 -0
- package/.claude/agents/core/coder.md +0 -0
- package/.claude/agents/core/coordinator.md +0 -0
- package/.claude/agents/core/planner.md +0 -0
- package/.claude/agents/core/researcher.md +0 -0
- package/.claude/agents/core/reviewer.md +0 -0
- package/.claude/agents/core/tester.md +0 -0
- package/.claude/agents/design/design-monodesign.md +0 -0
- package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-ai-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +0 -0
- package/.claude/agents/engineering/engineering-backend-architect.md +0 -0
- package/.claude/agents/engineering/engineering-code-reviewer.md +0 -0
- package/.claude/agents/engineering/engineering-data-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-database-optimizer.md +0 -0
- package/.claude/agents/engineering/engineering-devops-automator.md +0 -0
- package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-feishu-integration-developer.md +0 -0
- package/.claude/agents/engineering/engineering-frontend-developer.md +0 -0
- package/.claude/agents/engineering/engineering-git-workflow-master.md +0 -0
- package/.claude/agents/engineering/engineering-incident-response-commander.md +0 -0
- package/.claude/agents/engineering/engineering-mobile-app-builder.md +0 -0
- package/.claude/agents/engineering/engineering-rapid-prototyper.md +0 -0
- package/.claude/agents/engineering/engineering-security-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-senior-developer.md +0 -0
- package/.claude/agents/engineering/engineering-software-architect.md +0 -0
- package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-sre.md +0 -0
- package/.claude/agents/engineering/engineering-technical-writer.md +0 -0
- package/.claude/agents/engineering/engineering-threat-detection-engineer.md +0 -0
- package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +0 -0
- package/.claude/agents/github/code-review-swarm.md +0 -0
- package/.claude/agents/github/github-modes.md +0 -0
- package/.claude/agents/github/issue-tracker.md +0 -0
- package/.claude/agents/github/multi-repo-swarm.md +0 -0
- package/.claude/agents/github/pr-manager.md +0 -0
- package/.claude/agents/github/project-board-sync.md +0 -0
- package/.claude/agents/github/release-manager.md +0 -0
- package/.claude/agents/github/repo-architect.md +0 -0
- package/.claude/agents/github/swarm-issue.md +0 -0
- package/.claude/agents/github/swarm-pr.md +0 -0
- package/.claude/agents/github/sync-coordinator.md +0 -0
- package/.claude/agents/github/workflow-automation.md +0 -0
- package/.claude/agents/goal/goal-planner.md +0 -0
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -0
- package/.claude/agents/hive-mind/queen-coordinator.md +0 -0
- package/.claude/agents/hive-mind/scout-explorer.md +0 -0
- package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -0
- package/.claude/agents/hive-mind/worker-specialist.md +0 -0
- package/.claude/agents/marketing/marketing-competitive-content.md +0 -0
- package/.claude/agents/marketing/marketing-cro-specialist.md +0 -0
- package/.claude/agents/marketing/marketing-email-specialist.md +0 -0
- package/.claude/agents/marketing/marketing-launch-strategist.md +0 -0
- package/.claude/agents/marketing/marketing-pricing-strategist.md +0 -0
- package/.claude/agents/optimization/benchmark-suite.md +0 -0
- package/.claude/agents/optimization/load-balancer.md +0 -0
- package/.claude/agents/optimization/performance-monitor.md +0 -0
- package/.claude/agents/optimization/resource-allocator.md +0 -0
- package/.claude/agents/optimization/topology-optimizer.md +0 -0
- package/.claude/agents/schemas/architecture-output.json +0 -0
- package/.claude/agents/schemas/code-review-output.json +0 -0
- package/.claude/agents/schemas/generic-task-input.json +0 -0
- package/.claude/agents/schemas/implementation-output.json +0 -0
- package/.claude/agents/schemas/research-output.json +0 -0
- package/.claude/agents/schemas/security-audit-output.json +0 -0
- package/.claude/agents/schemas/test-report-output.json +0 -0
- package/.claude/agents/specialists/integration-architect.md +0 -0
- package/.claude/agents/specialized/agentic-identity-trust.md +0 -0
- package/.claude/agents/specialized/agents-orchestrator.md +0 -0
- package/.claude/agents/specialized/automation-governance-architect.md +0 -0
- package/.claude/agents/specialized/blockchain-security-auditor.md +0 -0
- package/.claude/agents/specialized/compliance-auditor.md +0 -0
- package/.claude/agents/specialized/identity-graph-operator.md +0 -0
- package/.claude/agents/specialized/lsp-index-engineer.md +0 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -0
- package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +0 -0
- package/.claude/agents/specialized/specialized-developer-advocate.md +0 -0
- package/.claude/agents/specialized/specialized-document-generator.md +0 -0
- package/.claude/agents/specialized/specialized-mcp-builder.md +0 -0
- package/.claude/agents/specialized/specialized-model-qa.md +0 -0
- package/.claude/agents/specialized/specialized-workflow-architect.md +0 -0
- package/.claude/agents/specialized/zk-steward.md +0 -0
- package/.claude/agents/swarm/mesh-coordinator.md +0 -0
- package/.claude/agents/templates/automation-smart-agent.md +0 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +0 -0
- package/.claude/agents/testing/production-validator.md +0 -0
- package/.claude/agents/testing/tdd-london-swarm.md +0 -0
- package/.claude/agents/testing/testing-accessibility-auditor.md +0 -0
- package/.claude/agents/testing/testing-api-tester.md +0 -0
- package/.claude/agents/testing/testing-evidence-collector.md +0 -0
- package/.claude/agents/testing/testing-performance-benchmarker.md +0 -0
- package/.claude/agents/testing/testing-test-results-analyzer.md +0 -0
- package/.claude/agents/testing/testing-tool-evaluator.md +0 -0
- package/.claude/agents/testing/testing-workflow-optimizer.md +0 -0
- package/.claude/commands/agents/README.md +0 -0
- package/.claude/commands/agents/agent-capabilities.md +0 -0
- package/.claude/commands/agents/agent-coordination.md +0 -0
- package/.claude/commands/agents/agent-spawning.md +0 -0
- package/.claude/commands/agents/agent-types.md +0 -0
- package/.claude/commands/analysis/README.md +0 -0
- package/.claude/commands/analysis/bottleneck-detect.md +0 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +0 -0
- package/.claude/commands/analysis/performance-report.md +0 -0
- package/.claude/commands/analysis/token-usage.md +0 -0
- package/.claude/commands/automation/README.md +0 -0
- package/.claude/commands/automation/auto-agent.md +0 -0
- package/.claude/commands/automation/self-healing.md +0 -0
- package/.claude/commands/automation/session-memory.md +0 -0
- package/.claude/commands/automation/smart-agents.md +0 -0
- package/.claude/commands/automation/smart-spawn.md +0 -0
- package/.claude/commands/automation/workflow-select.md +0 -0
- package/.claude/commands/coordination/README.md +0 -0
- package/.claude/commands/coordination/agent-spawn.md +0 -0
- package/.claude/commands/coordination/swarm-init.md +0 -0
- package/.claude/commands/coordination/task-orchestrate.md +0 -0
- package/.claude/commands/github/README.md +0 -0
- package/.claude/commands/github/github-modes.md +0 -0
- package/.claude/commands/github/issue-tracker.md +0 -0
- package/.claude/commands/github/pr-manager.md +0 -0
- package/.claude/commands/github/release-manager.md +0 -0
- package/.claude/commands/github/repo-architect.md +0 -0
- package/.claude/commands/github/sync-coordinator.md +0 -0
- package/.claude/commands/hive-mind/README.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +0 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +0 -0
- package/.claude/commands/hive-mind/hive-mind.md +0 -0
- package/.claude/commands/hooks/README.md +0 -0
- package/.claude/commands/hooks/overview.md +0 -0
- package/.claude/commands/hooks/post-edit.md +0 -0
- package/.claude/commands/hooks/post-task.md +0 -0
- package/.claude/commands/hooks/pre-edit.md +0 -0
- package/.claude/commands/hooks/pre-task.md +0 -0
- package/.claude/commands/hooks/session-end.md +0 -0
- package/.claude/commands/hooks/setup.md +0 -0
- package/.claude/commands/mastermind/_repeat.md +0 -0
- package/.claude/commands/mastermind/_taskfile.md +0 -0
- package/.claude/commands/mastermind/adr.md +0 -0
- package/.claude/commands/mastermind/approvev1.md +0 -0
- package/.claude/commands/mastermind/architect.md +0 -0
- package/.claude/commands/mastermind/autodev.md +0 -0
- package/.claude/commands/mastermind/brain.md +0 -0
- package/.claude/commands/mastermind/budget.md +0 -0
- package/.claude/commands/mastermind/build.md +0 -0
- package/.claude/commands/mastermind/code-review.md +0 -0
- package/.claude/commands/mastermind/content.md +0 -0
- package/.claude/commands/mastermind/createorg.md +0 -0
- package/.claude/commands/mastermind/createtask.md +0 -0
- package/.claude/commands/mastermind/debug.md +0 -0
- package/.claude/commands/mastermind/design.md +0 -0
- package/.claude/commands/mastermind/do.md +0 -0
- package/.claude/commands/mastermind/execute.md +0 -0
- package/.claude/commands/mastermind/finance.md +0 -0
- package/.claude/commands/mastermind/finish.md +0 -0
- package/.claude/commands/mastermind/graph-status.md +0 -0
- package/.claude/commands/mastermind/help.md +0 -0
- package/.claude/commands/mastermind/idea.md +0 -0
- package/.claude/commands/mastermind/ideate.md +0 -0
- package/.claude/commands/mastermind/improve.md +0 -0
- package/.claude/commands/mastermind/loops.md +0 -0
- package/.claude/commands/mastermind/marketing.md +0 -0
- package/.claude/commands/mastermind/master.md +0 -0
- package/.claude/commands/mastermind/memory.md +0 -0
- package/.claude/commands/mastermind/okf-export.md +0 -0
- package/.claude/commands/mastermind/okf-import.md +0 -0
- package/.claude/commands/mastermind/ops.md +0 -0
- package/.claude/commands/mastermind/orgs.md +0 -0
- package/.claude/commands/mastermind/orgstatus.md +0 -0
- package/.claude/commands/mastermind/plan.md +0 -0
- package/.claude/commands/mastermind/receive-review.md +0 -0
- package/.claude/commands/mastermind/references/antigravity-tools.md +0 -0
- package/.claude/commands/mastermind/references/claude-code-tools.md +0 -0
- package/.claude/commands/mastermind/references/codex-tools.md +0 -0
- package/.claude/commands/mastermind/references/copilot-tools.md +0 -0
- package/.claude/commands/mastermind/references/gemini-tools.md +0 -0
- package/.claude/commands/mastermind/references/pi-tools.md +0 -0
- package/.claude/commands/mastermind/release.md +0 -0
- package/.claude/commands/mastermind/repeat.md +0 -0
- package/.claude/commands/mastermind/research.md +0 -0
- package/.claude/commands/mastermind/review.md +0 -0
- package/.claude/commands/mastermind/runorg.md +0 -0
- package/.claude/commands/mastermind/runorgv1.md +0 -0
- package/.claude/commands/mastermind/sales.md +0 -0
- package/.claude/commands/mastermind/skill-builder.md +0 -0
- package/.claude/commands/mastermind/specialagents.md +0 -0
- package/.claude/commands/mastermind/stoporg.md +0 -0
- package/.claude/commands/mastermind/swarm.md +0 -0
- package/.claude/commands/mastermind/taskdev.md +0 -0
- package/.claude/commands/mastermind/tdd.md +0 -0
- package/.claude/commands/mastermind/techport.md +0 -0
- package/.claude/commands/mastermind/topology.md +0 -0
- package/.claude/commands/mastermind/understand.md +0 -0
- package/.claude/commands/mastermind/verify.md +0 -0
- package/.claude/commands/mastermind/worktree.md +0 -0
- package/.claude/commands/mastermind.md +0 -0
- package/.claude/commands/memory/README.md +0 -0
- package/.claude/commands/memory/memory-search.md +0 -0
- package/.claude/commands/monitoring/README.md +0 -0
- package/.claude/commands/monitoring/agent-metrics.md +0 -0
- package/.claude/commands/monitoring/agents.md +0 -0
- package/.claude/commands/monitoring/status.md +0 -0
- package/.claude/commands/monobrowse.md +0 -0
- package/.claude/commands/monoes/README.md +0 -0
- package/.claude/commands/monoes/install.md +0 -0
- package/.claude/commands/monoes/monoagent.md +0 -0
- package/.claude/commands/monoes/monoclip.md +0 -0
- package/.claude/commands/monoes/monotask.md +0 -0
- package/.claude/commands/monograph/README.md +0 -0
- package/.claude/commands/monograph/monograph-build.md +0 -0
- package/.claude/commands/monograph/monograph-search.md +0 -0
- package/.claude/commands/monograph/monograph-stats.md +0 -0
- package/.claude/commands/monograph/monograph-watch.md +0 -0
- package/.claude/commands/monograph/monograph-wiki.md +0 -0
- package/.claude/commands/optimization/auto-topology.md +0 -0
- package/.claude/commands/optimization/performance-optimize.md +0 -0
- package/.claude/commands/pair/README.md +0 -0
- package/.claude/commands/pair/examples.md +0 -0
- package/.claude/commands/pair/modes.md +0 -0
- package/.claude/commands/pair/session.md +0 -0
- package/.claude/commands/stream-chain/pipeline.md +0 -0
- package/.claude/commands/stream-chain/run.md +0 -0
- package/.claude/commands/swarm/README.md +0 -0
- package/.claude/commands/swarm/analysis.md +0 -0
- package/.claude/commands/swarm/development.md +0 -0
- package/.claude/commands/swarm/examples.md +0 -0
- package/.claude/commands/swarm/maintenance.md +0 -0
- package/.claude/commands/swarm/optimization.md +0 -0
- package/.claude/commands/swarm/research.md +0 -0
- package/.claude/commands/swarm/swarm.md +0 -0
- package/.claude/commands/swarm/testing.md +0 -0
- package/.claude/commands/tokens.md +0 -0
- package/.claude/commands/truth/start.md +0 -0
- package/.claude/commands/ts.md +0 -0
- package/.claude/commands/workflows/README.md +0 -0
- package/.claude/commands/workflows/development.md +0 -0
- package/.claude/commands/workflows/research.md +0 -0
- package/.claude/commands/workflows/workflow-create.md +0 -0
- package/.claude/commands/workflows/workflow-execute.md +0 -0
- package/.claude/commands/workflows/workflow-export.md +0 -0
- package/.claude/helpers/control-start.cjs +0 -0
- package/.claude/helpers/control-stop.cjs +0 -0
- package/.claude/helpers/event-logger.cjs +0 -0
- package/.claude/helpers/extras-registry.json +0 -0
- package/.claude/helpers/graphify-freshen.cjs +0 -0
- package/.claude/helpers/handlers/adr-draft-handler.cjs +0 -0
- package/.claude/helpers/handlers/agent-start-handler.cjs +0 -0
- package/.claude/helpers/handlers/budget-status-handler.cjs +0 -0
- package/.claude/helpers/handlers/capture-handler.cjs +0 -0
- package/.claude/helpers/handlers/compact-handler.cjs +0 -0
- package/.claude/helpers/handlers/edit-handler.cjs +0 -0
- package/.claude/helpers/handlers/gates-handler.cjs +0 -0
- package/.claude/helpers/handlers/graph-status-handler.cjs +0 -0
- package/.claude/helpers/handlers/loops-status-handler.cjs +0 -0
- package/.claude/helpers/handlers/route-handler.cjs +0 -0
- package/.claude/helpers/handlers/session-handler.cjs +0 -0
- package/.claude/helpers/handlers/session-restore-handler.cjs +0 -0
- package/.claude/helpers/handlers/stats-handler.cjs +0 -0
- package/.claude/helpers/handlers/task-handler.cjs +0 -0
- package/.claude/helpers/intelligence.cjs +0 -0
- package/.claude/helpers/learning-service.mjs +0 -0
- package/.claude/helpers/loop-tracker.cjs +0 -0
- package/.claude/helpers/mastermind-activate.cjs +0 -0
- package/.claude/helpers/memory-palace.cjs +0 -0
- package/.claude/helpers/memory.cjs +0 -0
- package/.claude/helpers/metrics-db.mjs +0 -0
- package/.claude/helpers/monolean-activate.cjs +0 -0
- package/.claude/helpers/monolean-config.cjs +0 -0
- package/.claude/helpers/monolean-instructions.cjs +0 -0
- package/.claude/helpers/monolean-propagate.cjs +0 -0
- package/.claude/helpers/monolean-tracker.cjs +0 -0
- package/.claude/helpers/router.cjs +0 -0
- package/.claude/helpers/session.cjs +0 -0
- package/.claude/helpers/skill-registry.json +0 -0
- package/.claude/helpers/statusline.cjs +0 -0
- package/.claude/helpers/toggle-statusline.cjs +0 -0
- package/.claude/helpers/token-tracker.cjs +0 -0
- package/.claude/helpers/utils/agent-registrations.cjs +0 -0
- package/.claude/helpers/utils/fs-helpers.cjs +0 -0
- package/.claude/helpers/utils/micro-agents.cjs +0 -0
- package/.claude/helpers/utils/monograph.cjs +0 -0
- package/.claude/helpers/utils/system-pressure.cjs +0 -0
- package/.claude/helpers/utils/telemetry.cjs +0 -0
- package/.claude/settings.json +0 -0
- package/.claude/skills/agent-browser-testing/SKILL.md +0 -0
- package/.claude/skills/agentic-jujutsu/SKILL.md +0 -0
- package/.claude/skills/github-issue-triage/SKILL.md +0 -0
- package/.claude/skills/github-repo-recap/SKILL.md +0 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +0 -0
- package/.claude/skills/hooks-automation/SKILL.md +0 -0
- package/.claude/skills/mastermind-access/SKILL.md +0 -0
- package/.claude/skills/mastermind-activity/SKILL.md +0 -0
- package/.claude/skills/mastermind-adapter-manager/SKILL.md +0 -0
- package/.claude/skills/mastermind-adapters/SKILL.md +0 -0
- package/.claude/skills/mastermind-agent-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-agent-select/SKILL.md +0 -0
- package/.claude/skills/mastermind-agents/SKILL.md +0 -0
- package/.claude/skills/mastermind-approval-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-approvev1/SKILL.md +0 -0
- package/.claude/skills/mastermind-architect/SKILL.md +0 -0
- package/.claude/skills/mastermind-autodev/SKILL.md +0 -0
- package/.claude/skills/mastermind-backup/SKILL.md +0 -0
- package/.claude/skills/mastermind-bootstrap/SKILL.md +0 -0
- package/.claude/skills/mastermind-budgets/SKILL.md +0 -0
- package/.claude/skills/mastermind-build/SKILL.md +0 -0
- package/.claude/skills/mastermind-companies/SKILL.md +0 -0
- package/.claude/skills/mastermind-content/SKILL.md +0 -0
- package/.claude/skills/mastermind-costs/SKILL.md +0 -0
- package/.claude/skills/mastermind-createorg/SKILL.md +0 -0
- package/.claude/skills/mastermind-debug/SKILL.md +0 -0
- package/.claude/skills/mastermind-delegation/SKILL.md +0 -0
- package/.claude/skills/mastermind-design/SKILL.md +0 -0
- package/.claude/skills/mastermind-diagnose/SKILL.md +0 -0
- package/.claude/skills/mastermind-env/SKILL.md +0 -0
- package/.claude/skills/mastermind-environments/SKILL.md +0 -0
- package/.claude/skills/mastermind-execute/SKILL.md +0 -0
- package/.claude/skills/mastermind-export/SKILL.md +0 -0
- package/.claude/skills/mastermind-finance/SKILL.md +0 -0
- package/.claude/skills/mastermind-finish/SKILL.md +0 -0
- package/.claude/skills/mastermind-goal-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-goals/SKILL.md +0 -0
- package/.claude/skills/mastermind-heartbeatv1/SKILL.md +0 -0
- package/.claude/skills/mastermind-idea/SKILL.md +0 -0
- package/.claude/skills/mastermind-import/SKILL.md +0 -0
- package/.claude/skills/mastermind-inbox/SKILL.md +0 -0
- package/.claude/skills/mastermind-instance/SKILL.md +0 -0
- package/.claude/skills/mastermind-instance-settings/SKILL.md +0 -0
- package/.claude/skills/mastermind-intake/SKILL.md +0 -0
- package/.claude/skills/mastermind-invite-landing/SKILL.md +0 -0
- package/.claude/skills/mastermind-invites/SKILL.md +0 -0
- package/.claude/skills/mastermind-issue-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-issues/SKILL.md +0 -0
- package/.claude/skills/mastermind-join-queue/SKILL.md +0 -0
- package/.claude/skills/mastermind-liveness/SKILL.md +0 -0
- package/.claude/skills/mastermind-marketing/SKILL.md +0 -0
- package/.claude/skills/mastermind-marketing/references/copywriting-frameworks.md +0 -0
- package/.claude/skills/mastermind-marketing/references/persuasion-psychology.md +0 -0
- package/.claude/skills/mastermind-memory/SKILL.md +0 -0
- package/.claude/skills/mastermind-monitor/SKILL.md +0 -0
- package/.claude/skills/mastermind-monotask/SKILL.md +0 -0
- package/.claude/skills/mastermind-my-issues/SKILL.md +0 -0
- package/.claude/skills/mastermind-new-agent/SKILL.md +0 -0
- package/.claude/skills/mastermind-ops/SKILL.md +0 -0
- package/.claude/skills/mastermind-org-chart/SKILL.md +0 -0
- package/.claude/skills/mastermind-org-settings/SKILL.md +0 -0
- package/.claude/skills/mastermind-orgs/SKILL.md +0 -0
- package/.claude/skills/mastermind-orgstatus/SKILL.md +0 -0
- package/.claude/skills/mastermind-plan/SKILL.md +0 -0
- package/.claude/skills/mastermind-plan-to-tasks/SKILL.md +0 -0
- package/.claude/skills/mastermind-plugin-manager/SKILL.md +0 -0
- package/.claude/skills/mastermind-plugin-settings/SKILL.md +0 -0
- package/.claude/skills/mastermind-plugins/SKILL.md +0 -0
- package/.claude/skills/mastermind-profile/SKILL.md +0 -0
- package/.claude/skills/mastermind-project-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-project-workspace/SKILL.md +0 -0
- package/.claude/skills/mastermind-projects/SKILL.md +0 -0
- package/.claude/skills/mastermind-protocol/SKILL.md +0 -0
- package/.claude/skills/mastermind-receive-review/SKILL.md +0 -0
- package/.claude/skills/mastermind-release/SKILL.md +0 -0
- package/.claude/skills/mastermind-repeat/SKILL.md +0 -0
- package/.claude/skills/mastermind-research/SKILL.md +0 -0
- package/.claude/skills/mastermind-review/SKILL.md +0 -0
- package/.claude/skills/mastermind-routine-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-routines/SKILL.md +0 -0
- package/.claude/skills/mastermind-runorg/SKILL.md +0 -0
- package/.claude/skills/mastermind-runorgv1/SKILL.md +0 -0
- package/.claude/skills/mastermind-sales/SKILL.md +0 -0
- package/.claude/skills/mastermind-search/SKILL.md +0 -0
- package/.claude/skills/mastermind-secrets/SKILL.md +0 -0
- package/.claude/skills/mastermind-skill-builder/SKILL.md +0 -0
- package/.claude/skills/mastermind-skills/SKILL.md +0 -0
- package/.claude/skills/mastermind-stoporg/SKILL.md +0 -0
- package/.claude/skills/mastermind-taskdev/SKILL.md +0 -0
- package/.claude/skills/mastermind-taskdev/code-quality-reviewer-prompt.md +0 -0
- package/.claude/skills/mastermind-taskdev/final-reviewer-prompt.md +0 -0
- package/.claude/skills/mastermind-taskdev/implementer-prompt.md +0 -0
- package/.claude/skills/mastermind-taskdev/spec-reviewer-prompt.md +0 -0
- package/.claude/skills/mastermind-tasks/SKILL.md +0 -0
- package/.claude/skills/mastermind-tdd/SKILL.md +0 -0
- package/.claude/skills/mastermind-techport/SKILL.md +0 -0
- package/.claude/skills/mastermind-threads/SKILL.md +0 -0
- package/.claude/skills/mastermind-tree-control/SKILL.md +0 -0
- package/.claude/skills/mastermind-verify/SKILL.md +0 -0
- package/.claude/skills/mastermind-wiki/SKILL.md +0 -0
- package/.claude/skills/mastermind-workspace-detail/SKILL.md +0 -0
- package/.claude/skills/mastermind-workspaces/SKILL.md +0 -0
- package/.claude/skills/mastermind-worktree/SKILL.md +0 -0
- package/.claude/skills/monodesign/SKILL.md +0 -0
- package/.claude/skills/monodesign/adapt.md +0 -0
- package/.claude/skills/monodesign/agents/monodesign-asset-producer.md +0 -0
- package/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +0 -0
- package/.claude/skills/monodesign/animate.md +0 -0
- package/.claude/skills/monodesign/audit.md +0 -0
- package/.claude/skills/monodesign/bolder.md +0 -0
- package/.claude/skills/monodesign/clarify.md +0 -0
- package/.claude/skills/monodesign/colorize.md +0 -0
- package/.claude/skills/monodesign/craft.md +0 -0
- package/.claude/skills/monodesign/critique.md +0 -0
- package/.claude/skills/monodesign/delight.md +0 -0
- package/.claude/skills/monodesign/distill.md +0 -0
- package/.claude/skills/monodesign/document.md +0 -0
- package/.claude/skills/monodesign/extract.md +0 -0
- package/.claude/skills/monodesign/harden.md +0 -0
- package/.claude/skills/monodesign/init.md +0 -0
- package/.claude/skills/monodesign/layout.md +0 -0
- package/.claude/skills/monodesign/live.md +0 -0
- package/.claude/skills/monodesign/onboard.md +0 -0
- package/.claude/skills/monodesign/optimize.md +0 -0
- package/.claude/skills/monodesign/overdrive.md +0 -0
- package/.claude/skills/monodesign/polish.md +0 -0
- package/.claude/skills/monodesign/quieter.md +0 -0
- package/.claude/skills/monodesign/reference/adapt.md +0 -0
- package/.claude/skills/monodesign/reference/adapt.native.md +0 -0
- package/.claude/skills/monodesign/reference/android.md +0 -0
- package/.claude/skills/monodesign/reference/animate.md +0 -0
- package/.claude/skills/monodesign/reference/antipatterns-catalog.md +0 -0
- package/.claude/skills/monodesign/reference/audit.md +0 -0
- package/.claude/skills/monodesign/reference/audit.native.md +0 -0
- package/.claude/skills/monodesign/reference/bolder.md +0 -0
- package/.claude/skills/monodesign/reference/brand-workflow.md +0 -0
- package/.claude/skills/monodesign/reference/brand.md +0 -0
- package/.claude/skills/monodesign/reference/clarify.md +0 -0
- package/.claude/skills/monodesign/reference/codex.md +0 -0
- package/.claude/skills/monodesign/reference/cognitive-load.md +0 -0
- package/.claude/skills/monodesign/reference/color-and-contrast.md +0 -0
- package/.claude/skills/monodesign/reference/colorize.md +0 -0
- package/.claude/skills/monodesign/reference/component-specs.md +0 -0
- package/.claude/skills/monodesign/reference/component-states.md +0 -0
- package/.claude/skills/monodesign/reference/component-system.md +0 -0
- package/.claude/skills/monodesign/reference/copy-formulas.md +0 -0
- package/.claude/skills/monodesign/reference/craft.md +0 -0
- package/.claude/skills/monodesign/reference/critique.md +0 -0
- package/.claude/skills/monodesign/reference/delight.md +0 -0
- package/.claude/skills/monodesign/reference/design-principles.md +0 -0
- package/.claude/skills/monodesign/reference/distill.md +0 -0
- package/.claude/skills/monodesign/reference/document.md +0 -0
- package/.claude/skills/monodesign/reference/extract.md +0 -0
- package/.claude/skills/monodesign/reference/harden.md +0 -0
- package/.claude/skills/monodesign/reference/heuristics-scoring.md +0 -0
- package/.claude/skills/monodesign/reference/hooks.md +0 -0
- package/.claude/skills/monodesign/reference/image-prompts.md +0 -0
- package/.claude/skills/monodesign/reference/init.md +0 -0
- package/.claude/skills/monodesign/reference/interaction-design.md +0 -0
- package/.claude/skills/monodesign/reference/ios.md +0 -0
- package/.claude/skills/monodesign/reference/layout.md +0 -0
- package/.claude/skills/monodesign/reference/live.md +0 -0
- package/.claude/skills/monodesign/reference/motion-design.md +0 -0
- package/.claude/skills/monodesign/reference/onboard.md +0 -0
- package/.claude/skills/monodesign/reference/optimize.md +0 -0
- package/.claude/skills/monodesign/reference/overdrive.md +0 -0
- package/.claude/skills/monodesign/reference/personas.md +0 -0
- package/.claude/skills/monodesign/reference/polish.md +0 -0
- package/.claude/skills/monodesign/reference/pre-delivery-checklist.md +0 -0
- package/.claude/skills/monodesign/reference/product.md +0 -0
- package/.claude/skills/monodesign/reference/quieter.md +0 -0
- package/.claude/skills/monodesign/reference/responsive-design.md +0 -0
- package/.claude/skills/monodesign/reference/shape.md +0 -0
- package/.claude/skills/monodesign/reference/spatial-design.md +0 -0
- package/.claude/skills/monodesign/reference/teach.md +0 -0
- package/.claude/skills/monodesign/reference/token-architecture.md +0 -0
- package/.claude/skills/monodesign/reference/typeset.md +0 -0
- package/.claude/skills/monodesign/reference/typography.md +0 -0
- package/.claude/skills/monodesign/reference/ux-research.md +0 -0
- package/.claude/skills/monodesign/reference/ux-rules.md +0 -0
- package/.claude/skills/monodesign/reference/ux-writing.md +0 -0
- package/.claude/skills/monodesign/scripts/command-metadata.json +0 -0
- package/.claude/skills/monodesign/scripts/context-signals.mjs +0 -0
- package/.claude/skills/monodesign/scripts/context.mjs +0 -0
- package/.claude/skills/monodesign/scripts/critique-storage.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detect-csp.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detect.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/cli/main.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/design-system.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +0 -0
- package/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/findings.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/fix/index.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/shared/color.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +0 -0
- package/.claude/skills/monodesign/scripts/detector/shared/page.mjs +0 -0
- package/.claude/skills/monodesign/scripts/hook-admin.mjs +0 -0
- package/.claude/skills/monodesign/scripts/hook-before-edit.mjs +0 -0
- package/.claude/skills/monodesign/scripts/hook-lib.mjs +0 -0
- package/.claude/skills/monodesign/scripts/hook.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/design-parser.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/is-generated.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/provider.mjs +0 -0
- package/.claude/skills/monodesign/scripts/lib/target-args.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/completion.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/event-validation.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/insert-ui.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/manual-apply.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/session-store.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/svelte-component.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/ui-core.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live/vocabulary.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-accept.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-browser-dom.js +0 -0
- package/.claude/skills/monodesign/scripts/live-browser-session.js +0 -0
- package/.claude/skills/monodesign/scripts/live-browser.js +0 -0
- package/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-complete.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-inject.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-insert.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-poll.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-resume.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-server.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-status.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-target.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live-wrap.mjs +0 -0
- package/.claude/skills/monodesign/scripts/live.mjs +0 -0
- package/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +0 -0
- package/.claude/skills/monodesign/scripts/palette.mjs +0 -0
- package/.claude/skills/monodesign/scripts/pin.mjs +0 -0
- package/.claude/skills/monodesign/shape.md +0 -0
- package/.claude/skills/monodesign/teach.md +0 -0
- package/.claude/skills/monodesign/typeset.md +0 -0
- package/.claude/skills/monolean/SKILL.md +0 -0
- package/.claude/skills/monolean-audit/SKILL.md +0 -0
- package/.claude/skills/monolean-debt/SKILL.md +0 -0
- package/.claude/skills/monolean-help/SKILL.md +0 -0
- package/.claude/skills/monolean-review/SKILL.md +0 -0
- package/.claude/skills/monomind/browse-agentcore.md +0 -0
- package/.claude/skills/monomind/browse-electron.md +0 -0
- package/.claude/skills/monomind/browse-qa.md +0 -0
- package/.claude/skills/monomind/browse-references/authentication.md +0 -0
- package/.claude/skills/monomind/browse-references/trust-boundaries.md +0 -0
- package/.claude/skills/monomind/browse-references/video-recording.md +0 -0
- package/.claude/skills/monomind/browse-slack.md +0 -0
- package/.claude/skills/monomind/browse-vercel.md +0 -0
- package/.claude/skills/monomind/browse.md +0 -0
- package/.claude/skills/monomotion/SKILL.md +0 -0
- package/.claude/skills/monomotion/rules/api-control.md +0 -0
- package/.claude/skills/monomotion/rules/effects.md +0 -0
- package/.claude/skills/monomotion/rules/integration.md +0 -0
- package/.claude/skills/monomotion/rules/scroll.md +0 -0
- package/.claude/skills/monomotion/rules/sequencing.md +0 -0
- package/.claude/skills/monomotion/rules/svg.md +0 -0
- package/.claude/skills/monomotion/rules/text.md +0 -0
- package/.claude/skills/pair-programming/SKILL.md +0 -0
- package/.claude/skills/performance-analysis/SKILL.md +0 -0
- package/.claude/skills/skill-builder/SKILL.md +0 -0
- package/.claude/skills/specialagent/SKILL.md +0 -0
- package/.claude/skills/stop-slop/SKILL.md +0 -0
- package/.claude/skills/stop-slop/references/examples.md +0 -0
- package/.claude/skills/stop-slop/references/phrases.md +0 -0
- package/.claude/skills/stop-slop/references/structures.md +0 -0
- package/.claude/skills/swarm-advanced/SKILL.md +0 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +0 -0
- package/.claude/skills/verification-quality/SKILL.md +0 -0
- package/README.md +0 -0
- package/bin/cli.js +17 -1
- package/bin/preinstall.cjs +0 -0
- package/dist/src/commands/doctor-project-checks.d.ts +3 -0
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +81 -8
- 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 +16 -2
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/memory-crud.d.ts.map +1 -1
- package/dist/src/commands/memory-crud.js +15 -5
- package/dist/src/commands/memory-crud.js.map +1 -1
- package/dist/src/commands/security-misc.d.ts.map +1 -1
- package/dist/src/commands/security-misc.js +7 -2
- package/dist/src/commands/security-misc.js.map +1 -1
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +5 -0
- package/dist/src/init/helpers-generator.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-tools/agent-tools.js +1 -1
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts +2 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +11 -1
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +17 -17
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +2 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +14 -2
- package/dist/src/mcp-tools/hive-mind-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/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +1 -2
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +1 -1
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.js +2 -2
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.d.ts +2 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.js +11 -1
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/ui/dashboard.html +48 -133
- package/dist/src/utils/cosine-similarity.d.ts +2 -2
- package/dist/src/utils/cosine-similarity.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/scripts/deploy-ipfs-node.sh +0 -0
- package/scripts/setup-ipfs-registry.md +0 -0
- package/scripts/understand-analyze.mjs +0 -0
- package/.claude/skills/github-toolkit/SKILL.md +0 -60
- package/.claude/skills/memory-toolkit/SKILL.md +0 -75
- package/dist/src/mcp-tools/coherence/causal-infer.d.ts +0 -15
- package/dist/src/mcp-tools/coherence/causal-infer.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/causal-infer.js +0 -333
- package/dist/src/mcp-tools/coherence/causal-infer.js.map +0 -1
- package/dist/src/mcp-tools/coherence/coherence-check.d.ts +0 -15
- package/dist/src/mcp-tools/coherence/coherence-check.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/coherence-check.js +0 -188
- package/dist/src/mcp-tools/coherence/coherence-check.js.map +0 -1
- package/dist/src/mcp-tools/coherence/consensus-verify.d.ts +0 -14
- package/dist/src/mcp-tools/coherence/consensus-verify.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/consensus-verify.js +0 -305
- package/dist/src/mcp-tools/coherence/consensus-verify.js.map +0 -1
- package/dist/src/mcp-tools/coherence/memory-gate.d.ts +0 -16
- package/dist/src/mcp-tools/coherence/memory-gate.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/memory-gate.js +0 -279
- package/dist/src/mcp-tools/coherence/memory-gate.js.map +0 -1
- package/dist/src/mcp-tools/coherence/quantum-topology.d.ts +0 -15
- package/dist/src/mcp-tools/coherence/quantum-topology.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/quantum-topology.js +0 -400
- package/dist/src/mcp-tools/coherence/quantum-topology.js.map +0 -1
- package/dist/src/mcp-tools/coherence/spectral-analyze.d.ts +0 -14
- package/dist/src/mcp-tools/coherence/spectral-analyze.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/spectral-analyze.js +0 -312
- package/dist/src/mcp-tools/coherence/spectral-analyze.js.map +0 -1
- package/dist/src/mcp-tools/coherence/types.d.ts +0 -430
- package/dist/src/mcp-tools/coherence/types.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence/types.js +0 -144
- package/dist/src/mcp-tools/coherence/types.js.map +0 -1
- package/dist/src/mcp-tools/coherence-tools.d.ts +0 -9
- package/dist/src/mcp-tools/coherence-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/coherence-tools.js +0 -25
- package/dist/src/mcp-tools/coherence-tools.js.map +0 -1
- package/dist/src/mcp-tools/daa-tools.d.ts +0 -13
- package/dist/src/mcp-tools/daa-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/daa-tools.js +0 -553
- package/dist/src/mcp-tools/daa-tools.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI engine for Monomind — an open-source MCP server that extends Claude Code with a codebase knowledge graph (tree-sitter + SQLite), persistent memory, multi-agent task coordination, and session hooks. MIT licensed, fully local.",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: github-toolkit
|
|
3
|
-
description: >
|
|
4
|
-
GitHub workflow guidance for monomind projects — issues, PRs, releases,
|
|
5
|
-
repo structure, and multi-package sync. Trigger on "open a PR", "manage
|
|
6
|
-
issues", "cut a release", "sync packages", or any GitHub Actions/repo
|
|
7
|
-
automation request. All GitHub operations use the `gh` CLI plus monomind's
|
|
8
|
-
MCP GitHub tools — there is no `monomind github` CLI command group.
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# GitHub Toolkit
|
|
12
|
-
|
|
13
|
-
Guidance for GitHub-integrated workflows in monomind projects. All GitHub
|
|
14
|
-
operations go through the `gh` CLI directly (for PRs, issues, releases) or
|
|
15
|
-
through monomind's MCP GitHub tools when running inside a swarm.
|
|
16
|
-
|
|
17
|
-
## Core operations
|
|
18
|
-
|
|
19
|
-
- **Issues** — triage, label, and track via `gh issue` or `mcp__monomind__github_issue_track`.
|
|
20
|
-
See `.claude/commands/github/issue-tracker.md`.
|
|
21
|
-
- **Pull requests** — create, review, and merge via `gh pr` or `mcp__monomind__github_pr_manage`.
|
|
22
|
-
See `.claude/commands/github/pr-manager.md`.
|
|
23
|
-
- **Releases** — version bump, changelog, tag, and publish coordination.
|
|
24
|
-
See `.claude/commands/github/release-manager.md`.
|
|
25
|
-
- **Repo structure** — multi-repo layout and package boundary decisions.
|
|
26
|
-
See `.claude/commands/github/repo-architect.md`.
|
|
27
|
-
- **Multi-package sync** — version alignment and dependency sync across a monorepo.
|
|
28
|
-
See `.claude/commands/github/sync-coordinator.md`.
|
|
29
|
-
- **Integration modes overview** — which mode to use for which workflow.
|
|
30
|
-
See `.claude/commands/github/github-modes.md`.
|
|
31
|
-
|
|
32
|
-
## Quick reference
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
# Issues
|
|
36
|
-
gh issue list --state open
|
|
37
|
-
gh issue create --title "..." --body "..."
|
|
38
|
-
|
|
39
|
-
# Pull requests
|
|
40
|
-
gh pr create --title "..." --body "..."
|
|
41
|
-
gh pr view <number> --json reviews,statusCheckRollup
|
|
42
|
-
|
|
43
|
-
# Releases
|
|
44
|
-
gh release create v1.2.3 --generate-notes
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## MCP tools (when running inside a swarm)
|
|
48
|
-
|
|
49
|
-
```javascript
|
|
50
|
-
mcp__monomind__github_pr_manage({ action: "review", pr: 123 })
|
|
51
|
-
mcp__monomind__github_issue_track({ action: "list", state: "open" })
|
|
52
|
-
mcp__monomind__github_metrics({ repo: "owner/repo" })
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## When to reach for the full docs
|
|
56
|
-
|
|
57
|
-
Each linked command file under `.claude/commands/github/` has the complete
|
|
58
|
-
option/flag reference and swarm-coordination patterns for its area — read
|
|
59
|
-
the relevant one before doing multi-step GitHub automation (e.g. spawning
|
|
60
|
-
a `pr-manager` or `release-manager` agent).
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memory-toolkit
|
|
3
|
-
description: >
|
|
4
|
-
Use monomind's persistent memory store (LanceDB + pure-JS HNSW) to save,
|
|
5
|
-
search, list, and retrieve cross-session knowledge — patterns, solutions,
|
|
6
|
-
decisions. Trigger on "remember this", "store in memory", "search memory",
|
|
7
|
-
"have we solved this before", "recall past decisions", or before starting
|
|
8
|
-
work that benefits from prior context (debugging, refactors, repeated tasks).
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Memory Toolkit
|
|
12
|
-
|
|
13
|
-
Monomind ships a persistent, namespaced memory store backed by LanceDB with
|
|
14
|
-
a pure-JS HNSW index for approximate nearest-neighbor vector search. Use it
|
|
15
|
-
to avoid re-solving the same problem twice across sessions.
|
|
16
|
-
|
|
17
|
-
## Before starting non-trivial work
|
|
18
|
-
|
|
19
|
-
Search for prior art first:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx monomind memory search --query "[task keywords]" --namespace patterns
|
|
23
|
-
npx monomind memory search --query "[task keywords]" --namespace solutions
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Store data
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# REQUIRED: --key and --value. OPTIONAL: --namespace (default: "default"), --ttl, --tags
|
|
30
|
-
npx monomind memory store --key "pattern-auth" --value "JWT with refresh tokens" --namespace patterns
|
|
31
|
-
npx monomind memory store --key "bug-fix-123" --value "Fixed null check in parser" --namespace solutions --tags "bugfix,auth"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Search data (semantic / keyword / hybrid)
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
# REQUIRED: --query. OPTIONAL: --namespace, --limit, --threshold, --type
|
|
38
|
-
npx monomind memory search --query "authentication patterns"
|
|
39
|
-
npx monomind memory search --query "JWT" --type keyword
|
|
40
|
-
npx monomind memory search --query "error handling" --namespace patterns --limit 5
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
| Search type | Description | Best for |
|
|
44
|
-
| ----------- | ----------------------------- | -------------------------- |
|
|
45
|
-
| `semantic` | Vector similarity search | Concept / meaning matching |
|
|
46
|
-
| `keyword` | BM25 full-text search | Exact term matching |
|
|
47
|
-
| `hybrid` | Combined semantic + keyword | General purpose (default) |
|
|
48
|
-
|
|
49
|
-
Use `--build-hnsw` before searching large memory stores (1,000+ entries) —
|
|
50
|
-
it builds a pure-JS HNSW index for O(log n) queries instead of O(n) linear
|
|
51
|
-
scan (one-time build cost).
|
|
52
|
-
|
|
53
|
-
## List and retrieve
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
npx monomind memory list --namespace patterns --limit 10
|
|
57
|
-
npx monomind memory retrieve --key "pattern-auth" --namespace patterns
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## MCP equivalents
|
|
61
|
-
|
|
62
|
-
```javascript
|
|
63
|
-
mcp__monomind__memory_store({ key: "pattern-auth", value: "...", namespace: "patterns" })
|
|
64
|
-
mcp__monomind__memory_search({ query: "authentication patterns", namespace: "default", limit: 10, threshold: 0.7, type: "hybrid" })
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## After completing non-trivial work
|
|
68
|
-
|
|
69
|
-
Store what worked so the next session (or agent) doesn't start from zero:
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
npx monomind memory store --key "[short-name]" --value "[what worked and why]" --namespace patterns
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
See also: `.claude/commands/memory/memory-search.md` for the full flag reference.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Causal Graph Analysis Tool - pr_causal_infer
|
|
3
|
-
*
|
|
4
|
-
* Analyzes causal graph structure to assess identifiability.
|
|
5
|
-
* Identifies confounders, finds backdoor paths, and determines
|
|
6
|
-
* whether a causal effect can be identified from the graph.
|
|
7
|
-
* Does NOT estimate causal effect magnitude (that requires data).
|
|
8
|
-
*/
|
|
9
|
-
import type { MCPTool } from './types.js';
|
|
10
|
-
/**
|
|
11
|
-
* pr_causal_infer MCP Tool Definition
|
|
12
|
-
*/
|
|
13
|
-
export declare const causalInferTool: MCPTool;
|
|
14
|
-
export default causalInferTool;
|
|
15
|
-
//# sourceMappingURL=causal-infer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"causal-infer.d.ts","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/causal-infer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,OAAO,EAKR,MAAM,YAAY,CAAC;AA2WpB;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,OA6C7B,CAAC;eAEa,eAAe"}
|
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Causal Graph Analysis Tool - pr_causal_infer
|
|
3
|
-
*
|
|
4
|
-
* Analyzes causal graph structure to assess identifiability.
|
|
5
|
-
* Identifies confounders, finds backdoor paths, and determines
|
|
6
|
-
* whether a causal effect can be identified from the graph.
|
|
7
|
-
* Does NOT estimate causal effect magnitude (that requires data).
|
|
8
|
-
*/
|
|
9
|
-
import { CausalInputSchema, successResult, errorResult, } from './types.js';
|
|
10
|
-
// Default logger
|
|
11
|
-
const defaultLogger = {
|
|
12
|
-
debug: (msg, meta) => console.debug(`[pr_causal_infer] ${msg}`, meta),
|
|
13
|
-
info: (msg, meta) => console.info(`[pr_causal_infer] ${msg}`, meta),
|
|
14
|
-
warn: (msg, meta) => console.warn(`[pr_causal_infer] ${msg}`, meta),
|
|
15
|
-
error: (msg, meta) => console.error(`[pr_causal_infer] ${msg}`, meta),
|
|
16
|
-
};
|
|
17
|
-
function buildGraphStructure(graph) {
|
|
18
|
-
const nodes = new Map();
|
|
19
|
-
// Initialize nodes
|
|
20
|
-
for (const nodeId of graph.nodes) {
|
|
21
|
-
nodes.set(nodeId, {
|
|
22
|
-
id: nodeId,
|
|
23
|
-
parents: new Set(),
|
|
24
|
-
children: new Set(),
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
// Add edges
|
|
28
|
-
for (const [from, to] of graph.edges) {
|
|
29
|
-
const fromNode = nodes.get(from);
|
|
30
|
-
const toNode = nodes.get(to);
|
|
31
|
-
if (fromNode && toNode) {
|
|
32
|
-
fromNode.children.add(to);
|
|
33
|
-
toNode.parents.add(from);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return nodes;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Find all ancestors of a node (including the node itself)
|
|
40
|
-
*/
|
|
41
|
-
function findAncestors(nodeId, graph) {
|
|
42
|
-
const ancestors = new Set();
|
|
43
|
-
const queue = [nodeId];
|
|
44
|
-
while (queue.length > 0) {
|
|
45
|
-
const current = queue.shift();
|
|
46
|
-
if (ancestors.has(current))
|
|
47
|
-
continue;
|
|
48
|
-
ancestors.add(current);
|
|
49
|
-
const node = graph.get(current);
|
|
50
|
-
if (node) {
|
|
51
|
-
for (const parent of node.parents) {
|
|
52
|
-
queue.push(parent);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return ancestors;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Find all descendants of a node (including the node itself)
|
|
60
|
-
*/
|
|
61
|
-
function findDescendants(nodeId, graph) {
|
|
62
|
-
const descendants = new Set();
|
|
63
|
-
const queue = [nodeId];
|
|
64
|
-
while (queue.length > 0) {
|
|
65
|
-
const current = queue.shift();
|
|
66
|
-
if (descendants.has(current))
|
|
67
|
-
continue;
|
|
68
|
-
descendants.add(current);
|
|
69
|
-
const node = graph.get(current);
|
|
70
|
-
if (node) {
|
|
71
|
-
for (const child of node.children) {
|
|
72
|
-
queue.push(child);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return descendants;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Identify confounders (common causes of treatment and outcome)
|
|
80
|
-
*/
|
|
81
|
-
function identifyConfounders(treatment, outcome, graph) {
|
|
82
|
-
const treatmentAncestors = findAncestors(treatment, graph);
|
|
83
|
-
const outcomeAncestors = findAncestors(outcome, graph);
|
|
84
|
-
// Confounders are ancestors of both treatment and outcome
|
|
85
|
-
// that are not the treatment itself
|
|
86
|
-
const confounders = [];
|
|
87
|
-
for (const ancestor of treatmentAncestors) {
|
|
88
|
-
if (ancestor !== treatment && ancestor !== outcome && outcomeAncestors.has(ancestor)) {
|
|
89
|
-
confounders.push(ancestor);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
return confounders;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Find backdoor paths from treatment to outcome
|
|
96
|
-
* A backdoor path is a path that goes into the treatment node
|
|
97
|
-
*/
|
|
98
|
-
function findBackdoorPaths(treatment, outcome, graph, maxPaths = 10) {
|
|
99
|
-
const backdoorPaths = [];
|
|
100
|
-
const treatmentNode = graph.get(treatment);
|
|
101
|
-
if (!treatmentNode)
|
|
102
|
-
return [];
|
|
103
|
-
// Start from each parent of treatment (backdoor)
|
|
104
|
-
for (const parent of treatmentNode.parents) {
|
|
105
|
-
const paths = findAllPaths(parent, outcome, graph, new Set([treatment]), maxPaths - backdoorPaths.length);
|
|
106
|
-
for (const path of paths) {
|
|
107
|
-
backdoorPaths.push([treatment, ...path]);
|
|
108
|
-
if (backdoorPaths.length >= maxPaths)
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
if (backdoorPaths.length >= maxPaths)
|
|
112
|
-
break;
|
|
113
|
-
}
|
|
114
|
-
return backdoorPaths;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Find all paths from source to target (BFS with path tracking)
|
|
118
|
-
*/
|
|
119
|
-
function findAllPaths(source, target, graph, exclude, maxPaths) {
|
|
120
|
-
const paths = [];
|
|
121
|
-
const queue = [{ node: source, path: [source] }];
|
|
122
|
-
while (queue.length > 0 && paths.length < maxPaths) {
|
|
123
|
-
const { node, path } = queue.shift();
|
|
124
|
-
if (node === target) {
|
|
125
|
-
paths.push(path);
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
const currentNode = graph.get(node);
|
|
129
|
-
if (!currentNode)
|
|
130
|
-
continue;
|
|
131
|
-
// Consider both parents and children for undirected path finding
|
|
132
|
-
const neighbors = new Set([...currentNode.parents, ...currentNode.children]);
|
|
133
|
-
for (const neighbor of neighbors) {
|
|
134
|
-
if (!path.includes(neighbor) && !exclude.has(neighbor)) {
|
|
135
|
-
queue.push({
|
|
136
|
-
node: neighbor,
|
|
137
|
-
path: [...path, neighbor],
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
return paths;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Check if intervention is valid (treatment must exist and have outgoing edges)
|
|
146
|
-
*/
|
|
147
|
-
function validateIntervention(treatment, outcome, graph) {
|
|
148
|
-
const treatmentNode = graph.get(treatment);
|
|
149
|
-
const outcomeNode = graph.get(outcome);
|
|
150
|
-
if (!treatmentNode || !outcomeNode) {
|
|
151
|
-
return false;
|
|
152
|
-
}
|
|
153
|
-
// Check if there's any path from treatment to outcome
|
|
154
|
-
const descendants = findDescendants(treatment, graph);
|
|
155
|
-
return descendants.has(outcome);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Assess identifiability of the causal effect based on graph structure.
|
|
159
|
-
* Does NOT estimate the causal effect magnitude -- that requires
|
|
160
|
-
* observational or experimental data which this tool does not have.
|
|
161
|
-
* Returns an identifiability score reflecting how cleanly the effect
|
|
162
|
-
* can be estimated if data were available (fewer confounders and
|
|
163
|
-
* unblocked backdoor paths = higher identifiability).
|
|
164
|
-
*/
|
|
165
|
-
function assessIdentifiability(confounders, backdoorPaths) {
|
|
166
|
-
// Identifiability decreases with confounders and unblocked backdoor paths
|
|
167
|
-
const confounderPenalty = Math.min(confounders.length * 0.1, 0.3);
|
|
168
|
-
const pathPenalty = Math.min(backdoorPaths.length * 0.05, 0.2);
|
|
169
|
-
const identifiability = Math.max(0.1, 1 - confounderPenalty - pathPenalty);
|
|
170
|
-
return { identifiability };
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Get interpretation of causal graph analysis results
|
|
174
|
-
*/
|
|
175
|
-
function getInterpretation(interventionValid, confounders, backdoorPaths, identifiability) {
|
|
176
|
-
if (!interventionValid) {
|
|
177
|
-
return 'Intervention is not valid - no causal path exists from treatment to outcome';
|
|
178
|
-
}
|
|
179
|
-
if (confounders.length === 0 && backdoorPaths.length === 0) {
|
|
180
|
-
return 'Clean causal identification - no confounding detected. Effect is identifiable with data.';
|
|
181
|
-
}
|
|
182
|
-
if (identifiability > 0.8) {
|
|
183
|
-
return 'Strong identifiability - confounders can be adjusted for with observational data';
|
|
184
|
-
}
|
|
185
|
-
if (identifiability > 0.5) {
|
|
186
|
-
return `Moderate identifiability - ${confounders.length} confounder(s) require adjustment`;
|
|
187
|
-
}
|
|
188
|
-
return `Weak identifiability - multiple confounders (${confounders.length}) and backdoor paths (${backdoorPaths.length}) detected`;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Handler for pr_causal_infer tool
|
|
192
|
-
*/
|
|
193
|
-
async function handler(input, context) {
|
|
194
|
-
const logger = context?.logger ?? defaultLogger;
|
|
195
|
-
const startTime = performance.now();
|
|
196
|
-
try {
|
|
197
|
-
// Validate input
|
|
198
|
-
const validationResult = CausalInputSchema.safeParse(input);
|
|
199
|
-
if (!validationResult.success) {
|
|
200
|
-
logger.error('Input validation failed', { error: validationResult.error.message });
|
|
201
|
-
return errorResult(`Invalid input: ${validationResult.error.message}`);
|
|
202
|
-
}
|
|
203
|
-
const { graph, intervention, outcome } = validationResult.data;
|
|
204
|
-
logger.debug('Processing causal inference', {
|
|
205
|
-
nodes: graph.nodes.length,
|
|
206
|
-
edges: graph.edges.length,
|
|
207
|
-
intervention,
|
|
208
|
-
outcome,
|
|
209
|
-
});
|
|
210
|
-
// Validate nodes exist
|
|
211
|
-
if (!graph.nodes.includes(intervention)) {
|
|
212
|
-
return errorResult(`Intervention variable "${intervention}" not found in graph nodes`);
|
|
213
|
-
}
|
|
214
|
-
if (!graph.nodes.includes(outcome)) {
|
|
215
|
-
return errorResult(`Outcome variable "${outcome}" not found in graph nodes`);
|
|
216
|
-
}
|
|
217
|
-
const maxBackdoorPaths = context?.config?.causal?.maxBackdoorPaths ?? 10;
|
|
218
|
-
let identifiability;
|
|
219
|
-
let confounders;
|
|
220
|
-
let backdoorPaths;
|
|
221
|
-
let interventionValid;
|
|
222
|
-
// Try to use WASM bridge if available
|
|
223
|
-
if (context?.bridge?.initialized) {
|
|
224
|
-
try {
|
|
225
|
-
logger.debug('Using WASM bridge for causal inference');
|
|
226
|
-
const result = await context.bridge.inferCausal(graph, intervention, outcome);
|
|
227
|
-
confounders = result.confounders;
|
|
228
|
-
backdoorPaths = result.backdoorPaths;
|
|
229
|
-
interventionValid = result.interventionValid;
|
|
230
|
-
identifiability = assessIdentifiability(confounders, backdoorPaths).identifiability;
|
|
231
|
-
}
|
|
232
|
-
catch (wasmError) {
|
|
233
|
-
logger.warn('WASM bridge failed, falling back to JS implementation', {
|
|
234
|
-
error: wasmError instanceof Error ? wasmError.message : String(wasmError),
|
|
235
|
-
});
|
|
236
|
-
// Use JavaScript implementation
|
|
237
|
-
const graphStructure = buildGraphStructure(graph);
|
|
238
|
-
interventionValid = validateIntervention(intervention, outcome, graphStructure);
|
|
239
|
-
confounders = identifyConfounders(intervention, outcome, graphStructure);
|
|
240
|
-
backdoorPaths = findBackdoorPaths(intervention, outcome, graphStructure, maxBackdoorPaths);
|
|
241
|
-
identifiability = assessIdentifiability(confounders, backdoorPaths).identifiability;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
// Pure JavaScript fallback
|
|
246
|
-
logger.debug('Using JavaScript fallback for causal inference');
|
|
247
|
-
const graphStructure = buildGraphStructure(graph);
|
|
248
|
-
interventionValid = validateIntervention(intervention, outcome, graphStructure);
|
|
249
|
-
confounders = identifyConfounders(intervention, outcome, graphStructure);
|
|
250
|
-
backdoorPaths = findBackdoorPaths(intervention, outcome, graphStructure, maxBackdoorPaths);
|
|
251
|
-
identifiability = assessIdentifiability(confounders, backdoorPaths).identifiability;
|
|
252
|
-
}
|
|
253
|
-
const output = {
|
|
254
|
-
identifiability,
|
|
255
|
-
backdoorPaths: backdoorPaths.map(p => p.join(' -> ')),
|
|
256
|
-
details: {
|
|
257
|
-
confounders,
|
|
258
|
-
interventionValid,
|
|
259
|
-
interpretation: getInterpretation(interventionValid, confounders, backdoorPaths, identifiability),
|
|
260
|
-
nodeCount: graph.nodes.length,
|
|
261
|
-
edgeCount: graph.edges.length,
|
|
262
|
-
},
|
|
263
|
-
};
|
|
264
|
-
const duration = performance.now() - startTime;
|
|
265
|
-
logger.info('Causal graph analysis completed', {
|
|
266
|
-
identifiability: identifiability.toFixed(4),
|
|
267
|
-
confounders: confounders.length,
|
|
268
|
-
backdoorPaths: backdoorPaths.length,
|
|
269
|
-
interventionValid,
|
|
270
|
-
durationMs: duration.toFixed(2),
|
|
271
|
-
});
|
|
272
|
-
return successResult(output);
|
|
273
|
-
}
|
|
274
|
-
catch (error) {
|
|
275
|
-
const duration = performance.now() - startTime;
|
|
276
|
-
logger.error('Causal inference failed', {
|
|
277
|
-
error: error instanceof Error ? error.message : String(error),
|
|
278
|
-
durationMs: duration.toFixed(2),
|
|
279
|
-
});
|
|
280
|
-
return errorResult(error instanceof Error ? error : new Error(String(error)));
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* pr_causal_infer MCP Tool Definition
|
|
285
|
-
*/
|
|
286
|
-
export const causalInferTool = {
|
|
287
|
-
name: 'pr_causal_infer',
|
|
288
|
-
description: 'Analyze causal graph structure for identifiability. Identifies confounders, finds backdoor paths, and assesses whether a causal effect can be identified. Does not estimate effect magnitude (requires observational data).',
|
|
289
|
-
category: 'causal',
|
|
290
|
-
version: '0.1.3',
|
|
291
|
-
tags: ['causal', 'do-calculus', 'confounders', 'backdoor-paths', 'ai-interpretability'],
|
|
292
|
-
cacheable: true,
|
|
293
|
-
cacheTTL: 60000,
|
|
294
|
-
inputSchema: {
|
|
295
|
-
type: 'object',
|
|
296
|
-
properties: {
|
|
297
|
-
graph: {
|
|
298
|
-
type: 'object',
|
|
299
|
-
properties: {
|
|
300
|
-
nodes: {
|
|
301
|
-
type: 'array',
|
|
302
|
-
items: { type: 'string' },
|
|
303
|
-
description: 'List of variable names',
|
|
304
|
-
},
|
|
305
|
-
edges: {
|
|
306
|
-
type: 'array',
|
|
307
|
-
items: {
|
|
308
|
-
type: 'array',
|
|
309
|
-
items: { type: 'string' },
|
|
310
|
-
minItems: 2,
|
|
311
|
-
maxItems: 2,
|
|
312
|
-
},
|
|
313
|
-
description: 'Directed edges as [from, to] pairs',
|
|
314
|
-
},
|
|
315
|
-
},
|
|
316
|
-
required: ['nodes', 'edges'],
|
|
317
|
-
description: 'Causal graph with nodes and directed edges',
|
|
318
|
-
},
|
|
319
|
-
intervention: {
|
|
320
|
-
type: 'string',
|
|
321
|
-
description: 'Treatment/intervention variable',
|
|
322
|
-
},
|
|
323
|
-
outcome: {
|
|
324
|
-
type: 'string',
|
|
325
|
-
description: 'Outcome variable to measure effect on',
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
required: ['graph', 'intervention', 'outcome'],
|
|
329
|
-
},
|
|
330
|
-
handler,
|
|
331
|
-
};
|
|
332
|
-
export default causalInferTool;
|
|
333
|
-
//# sourceMappingURL=causal-infer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"causal-infer.js","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/causal-infer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,GACZ,MAAM,YAAY,CAAC;AAEpB,iBAAiB;AACjB,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,qBAAqB,GAAG,EAAE,EAAE,IAAI,CAAC;IACvG,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,GAAG,EAAE,EAAE,IAAI,CAAC;IACrG,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,GAAG,EAAE,EAAE,IAAI,CAAC;IACrG,KAAK,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,qBAAqB,GAAG,EAAE,EAAE,IAAI,CAAC;CACxG,CAAC;AAYF,SAAS,mBAAmB,CAAC,KAAkB;IAC7C,MAAM,KAAK,GAAG,IAAI,GAAG,EAAqB,CAAC;IAE3C,mBAAmB;IACnB,KAAK,MAAM,MAAM,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;QACjC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE;YAChB,EAAE,EAAE,MAAM;YACV,OAAO,EAAE,IAAI,GAAG,EAAE;YAClB,QAAQ,EAAE,IAAI,GAAG,EAAE;SACpB,CAAC,CAAC;IACL,CAAC;IAED,YAAY;IACZ,KAAK,MAAM,CAAC,IAAI,EAAE,EAAE,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WAAW,EAAE,6NAA6N;IAC1O,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,qBAAqB,CAAC;IACvF,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,WAAW,EAAE,wBAAwB;qBACtC;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;4BACzB,QAAQ,EAAE,CAAC;4BACX,QAAQ,EAAE,CAAC;yBACZ;wBACD,WAAW,EAAE,oCAAoC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;gBAC5B,WAAW,EAAE,4CAA4C;aAC1D;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iCAAiC;aAC/C;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;SACF;QACD,QAAQ,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC;KAC/C;IACD,OAAO;CACR,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coherence Check Tool - pr_coherence_check
|
|
3
|
-
*
|
|
4
|
-
* Checks coherence of vectors using Sheaf Laplacian energy.
|
|
5
|
-
* Energy 0 = fully coherent, Energy 1 = contradictory
|
|
6
|
-
*
|
|
7
|
-
* Uses CohomologyEngine from prime-radiant-advanced-wasm
|
|
8
|
-
*/
|
|
9
|
-
import type { MCPTool } from './types.js';
|
|
10
|
-
/**
|
|
11
|
-
* pr_coherence_check MCP Tool Definition
|
|
12
|
-
*/
|
|
13
|
-
export declare const coherenceCheckTool: MCPTool;
|
|
14
|
-
export default coherenceCheckTool;
|
|
15
|
-
//# sourceMappingURL=coherence-check.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coherence-check.d.ts","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/coherence-check.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,OAAO,EAIR,MAAM,YAAY,CAAC;AA2KpB;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAyBhC,CAAC;eAEa,kBAAkB"}
|