@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
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Computational Topology Tool - pr_quantum_topology
|
|
3
|
-
*
|
|
4
|
-
* Computes topological features including Betti numbers (b0, b1) and
|
|
5
|
-
* persistence diagrams via Vietoris-Rips filtration.
|
|
6
|
-
* Analyzes topological features of point clouds and simplicial complexes.
|
|
7
|
-
* b2 (voids) is not computed -- requires boundary-operator linear algebra.
|
|
8
|
-
*/
|
|
9
|
-
import { TopologyInputSchema, successResult, errorResult, } from './types.js';
|
|
10
|
-
// Default logger
|
|
11
|
-
const defaultLogger = {
|
|
12
|
-
debug: (msg, meta) => console.debug(`[pr_quantum_topology] ${msg}`, meta),
|
|
13
|
-
info: (msg, meta) => console.info(`[pr_quantum_topology] ${msg}`, meta),
|
|
14
|
-
warn: (msg, meta) => console.warn(`[pr_quantum_topology] ${msg}`, meta),
|
|
15
|
-
error: (msg, meta) => console.error(`[pr_quantum_topology] ${msg}`, meta),
|
|
16
|
-
};
|
|
17
|
-
// ============================================================================
|
|
18
|
-
// Topology Helper Functions
|
|
19
|
-
// ============================================================================
|
|
20
|
-
/**
|
|
21
|
-
* Compute Euclidean distance between two points
|
|
22
|
-
*/
|
|
23
|
-
function euclideanDistance(a, b) {
|
|
24
|
-
let sum = 0;
|
|
25
|
-
for (let i = 0; i < a.length; i++) {
|
|
26
|
-
const diff = a[i] - b[i];
|
|
27
|
-
sum += diff * diff;
|
|
28
|
-
}
|
|
29
|
-
return Math.sqrt(sum);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Build distance matrix from vertices
|
|
33
|
-
*/
|
|
34
|
-
function buildDistanceMatrix(vertices) {
|
|
35
|
-
const n = vertices.length;
|
|
36
|
-
const matrix = [];
|
|
37
|
-
for (let i = 0; i < n; i++) {
|
|
38
|
-
matrix[i] = [];
|
|
39
|
-
for (let j = 0; j < n; j++) {
|
|
40
|
-
matrix[i][j] = euclideanDistance(vertices[i], vertices[j]);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return matrix;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Build Vietoris-Rips complex at given epsilon
|
|
47
|
-
* Returns list of simplices (vertex index arrays)
|
|
48
|
-
*/
|
|
49
|
-
function buildRipsComplex(distanceMatrix, epsilon, maxDimension) {
|
|
50
|
-
const n = distanceMatrix.length;
|
|
51
|
-
const simplices = [];
|
|
52
|
-
// Add 0-simplices (vertices)
|
|
53
|
-
for (let i = 0; i < n; i++) {
|
|
54
|
-
simplices.push([i]);
|
|
55
|
-
}
|
|
56
|
-
if (maxDimension < 1)
|
|
57
|
-
return simplices;
|
|
58
|
-
// Add 1-simplices (edges)
|
|
59
|
-
const edges = [];
|
|
60
|
-
for (let i = 0; i < n; i++) {
|
|
61
|
-
for (let j = i + 1; j < n; j++) {
|
|
62
|
-
if (distanceMatrix[i][j] <= epsilon) {
|
|
63
|
-
edges.push([i, j]);
|
|
64
|
-
simplices.push([i, j]);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (maxDimension < 2)
|
|
69
|
-
return simplices;
|
|
70
|
-
// Add 2-simplices (triangles)
|
|
71
|
-
// A triangle exists if all three edges exist
|
|
72
|
-
const edgeSet = new Set(edges.map(e => `${e[0]}-${e[1]}`));
|
|
73
|
-
for (let i = 0; i < n; i++) {
|
|
74
|
-
for (let j = i + 1; j < n; j++) {
|
|
75
|
-
if (!edgeSet.has(`${i}-${j}`))
|
|
76
|
-
continue;
|
|
77
|
-
for (let k = j + 1; k < n; k++) {
|
|
78
|
-
if (edgeSet.has(`${i}-${k}`) && edgeSet.has(`${j}-${k}`)) {
|
|
79
|
-
simplices.push([i, j, k]);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (maxDimension < 3)
|
|
85
|
-
return simplices;
|
|
86
|
-
// Add 3-simplices (tetrahedra)
|
|
87
|
-
// Simplified: only add if all faces exist
|
|
88
|
-
const triangleSet = new Set(simplices
|
|
89
|
-
.filter(s => s.length === 3)
|
|
90
|
-
.map(t => `${t[0]}-${t[1]}-${t[2]}`));
|
|
91
|
-
for (let i = 0; i < n; i++) {
|
|
92
|
-
for (let j = i + 1; j < n; j++) {
|
|
93
|
-
for (let k = j + 1; k < n; k++) {
|
|
94
|
-
for (let l = k + 1; l < n; l++) {
|
|
95
|
-
// Check all 4 triangular faces exist
|
|
96
|
-
const faces = [
|
|
97
|
-
`${i}-${j}-${k}`,
|
|
98
|
-
`${i}-${j}-${l}`,
|
|
99
|
-
`${i}-${k}-${l}`,
|
|
100
|
-
`${j}-${k}-${l}`,
|
|
101
|
-
];
|
|
102
|
-
if (faces.every(f => triangleSet.has(f))) {
|
|
103
|
-
simplices.push([i, j, k, l]);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return simplices;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Compute Betti numbers from simplicial complex
|
|
113
|
-
* Uses simplified computation based on simplex counts
|
|
114
|
-
*
|
|
115
|
-
* Betti numbers:
|
|
116
|
-
* - b0: Number of connected components
|
|
117
|
-
* - b1: Number of loops/cycles
|
|
118
|
-
* - b2: Number of voids/cavities
|
|
119
|
-
*/
|
|
120
|
-
function computeBettiNumbers(vertices, simplices, maxDimension) {
|
|
121
|
-
const n = vertices.length;
|
|
122
|
-
const bettiNumbers = [];
|
|
123
|
-
// Count simplices by dimension
|
|
124
|
-
const simplexCounts = new Array(maxDimension + 1).fill(0);
|
|
125
|
-
for (const simplex of simplices) {
|
|
126
|
-
const dim = simplex.length - 1;
|
|
127
|
-
if (dim <= maxDimension) {
|
|
128
|
-
simplexCounts[dim]++;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
// b0: Connected components (using union-find approximation)
|
|
132
|
-
const parent = new Array(n).fill(-1);
|
|
133
|
-
function find(x) {
|
|
134
|
-
if (parent[x] < 0)
|
|
135
|
-
return x;
|
|
136
|
-
parent[x] = find(parent[x]);
|
|
137
|
-
return parent[x];
|
|
138
|
-
}
|
|
139
|
-
function union(x, y) {
|
|
140
|
-
const px = find(x);
|
|
141
|
-
const py = find(y);
|
|
142
|
-
if (px !== py) {
|
|
143
|
-
parent[px] = py;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
// Connect vertices in edges
|
|
147
|
-
for (const simplex of simplices) {
|
|
148
|
-
if (simplex.length === 2) {
|
|
149
|
-
union(simplex[0], simplex[1]);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
// Count components
|
|
153
|
-
let b0 = 0;
|
|
154
|
-
for (let i = 0; i < n; i++) {
|
|
155
|
-
if (parent[i] < 0)
|
|
156
|
-
b0++;
|
|
157
|
-
}
|
|
158
|
-
bettiNumbers.push(b0);
|
|
159
|
-
// b1: Approximate using Euler characteristic relationship
|
|
160
|
-
// For connected graphs: b1 = edges - vertices + components
|
|
161
|
-
if (maxDimension >= 1) {
|
|
162
|
-
const edges = simplexCounts[1] || 0;
|
|
163
|
-
const b1 = Math.max(0, edges - n + b0);
|
|
164
|
-
bettiNumbers.push(b1);
|
|
165
|
-
}
|
|
166
|
-
// b2 requires computing the rank of the boundary matrices (dim-2 and dim-3),
|
|
167
|
-
// which needs full boundary-operator linear algebra not implemented here.
|
|
168
|
-
// We do NOT fabricate b2 -- only b0 and b1 are reported.
|
|
169
|
-
return bettiNumbers;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Compute persistence diagram using filtration
|
|
173
|
-
* Tracks birth and death of topological features
|
|
174
|
-
*/
|
|
175
|
-
function computePersistenceDiagram(distanceMatrix, maxDimension) {
|
|
176
|
-
const diagram = [];
|
|
177
|
-
// Get all unique distances (filtration values)
|
|
178
|
-
const distances = [];
|
|
179
|
-
const n = distanceMatrix.length;
|
|
180
|
-
for (let i = 0; i < n; i++) {
|
|
181
|
-
for (let j = i + 1; j < n; j++) {
|
|
182
|
-
distances.push(distanceMatrix[i][j]);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
distances.sort((a, b) => a - b);
|
|
186
|
-
const uniqueDistances = [...new Set(distances)];
|
|
187
|
-
// Sample filtration values
|
|
188
|
-
const sampleCount = Math.min(10, uniqueDistances.length);
|
|
189
|
-
const sampleIndices = [];
|
|
190
|
-
for (let i = 0; i < sampleCount; i++) {
|
|
191
|
-
sampleIndices.push(Math.floor(i * uniqueDistances.length / sampleCount));
|
|
192
|
-
}
|
|
193
|
-
const filtrationValues = sampleIndices.map(i => uniqueDistances[i]);
|
|
194
|
-
if (filtrationValues.length === 0)
|
|
195
|
-
return diagram;
|
|
196
|
-
// Track Betti numbers at each filtration value
|
|
197
|
-
let prevBetti = [];
|
|
198
|
-
for (let f = 0; f < filtrationValues.length; f++) {
|
|
199
|
-
const epsilon = filtrationValues[f];
|
|
200
|
-
const simplices = buildRipsComplex(distanceMatrix, epsilon, maxDimension);
|
|
201
|
-
const currentBetti = computeBettiNumbers(new Array(n).fill([]).map((_, i) => [i]), simplices, maxDimension);
|
|
202
|
-
if (f > 0) {
|
|
203
|
-
// Detect births and deaths
|
|
204
|
-
for (let dim = 0; dim <= maxDimension && dim < currentBetti.length; dim++) {
|
|
205
|
-
const prevB = prevBetti[dim] || 0;
|
|
206
|
-
const currB = currentBetti[dim] || 0;
|
|
207
|
-
// New features born
|
|
208
|
-
if (currB > prevB) {
|
|
209
|
-
for (let i = 0; i < currB - prevB; i++) {
|
|
210
|
-
diagram.push({
|
|
211
|
-
birth: filtrationValues[f - 1],
|
|
212
|
-
death: Infinity, // Will be updated when feature dies
|
|
213
|
-
dimension: dim,
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
// Features died
|
|
218
|
-
if (currB < prevB) {
|
|
219
|
-
// Find features to kill (those born earliest)
|
|
220
|
-
const toKill = prevB - currB;
|
|
221
|
-
let killed = 0;
|
|
222
|
-
for (let d = diagram.length - 1; d >= 0 && killed < toKill; d--) {
|
|
223
|
-
if (diagram[d].dimension === dim && diagram[d].death === Infinity) {
|
|
224
|
-
diagram[d].death = epsilon;
|
|
225
|
-
killed++;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
// Initial features (all vertices born at epsilon = 0)
|
|
233
|
-
for (let dim = 0; dim <= maxDimension && dim < currentBetti.length; dim++) {
|
|
234
|
-
for (let i = 0; i < currentBetti[dim]; i++) {
|
|
235
|
-
diagram.push({
|
|
236
|
-
birth: 0,
|
|
237
|
-
death: Infinity,
|
|
238
|
-
dimension: dim,
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
prevBetti = currentBetti;
|
|
244
|
-
}
|
|
245
|
-
return diagram;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Get interpretation of Betti numbers
|
|
249
|
-
*/
|
|
250
|
-
function interpretBettiNumbers(bettiNumbers) {
|
|
251
|
-
return {
|
|
252
|
-
b0: `${bettiNumbers[0] || 0} connected component(s)`,
|
|
253
|
-
b1: `${bettiNumbers[1] || 0} loop(s)/cycle(s)`,
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Handler for pr_quantum_topology tool
|
|
258
|
-
*/
|
|
259
|
-
async function handler(input, context) {
|
|
260
|
-
const logger = context?.logger ?? defaultLogger;
|
|
261
|
-
const startTime = performance.now();
|
|
262
|
-
try {
|
|
263
|
-
// Validate input
|
|
264
|
-
const validationResult = TopologyInputSchema.safeParse(input);
|
|
265
|
-
if (!validationResult.success) {
|
|
266
|
-
logger.error('Input validation failed', { error: validationResult.error.message });
|
|
267
|
-
return errorResult(`Invalid input: ${validationResult.error.message}`);
|
|
268
|
-
}
|
|
269
|
-
const { complex } = validationResult.data;
|
|
270
|
-
const { vertices, maxDimension } = complex;
|
|
271
|
-
logger.debug('Processing computational topology', {
|
|
272
|
-
vertexCount: vertices.length,
|
|
273
|
-
maxDimension,
|
|
274
|
-
});
|
|
275
|
-
if (vertices.length === 0) {
|
|
276
|
-
return errorResult('No vertices provided');
|
|
277
|
-
}
|
|
278
|
-
// Validate vertex dimensions are consistent
|
|
279
|
-
const firstDim = vertices[0].length;
|
|
280
|
-
for (let i = 1; i < vertices.length; i++) {
|
|
281
|
-
if (vertices[i].length !== firstDim) {
|
|
282
|
-
return errorResult(`Vertex dimension mismatch: vertex ${i} has ${vertices[i].length} dimensions, expected ${firstDim}`);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
let bettiNumbers;
|
|
286
|
-
let persistenceDiagram;
|
|
287
|
-
let homologyClasses;
|
|
288
|
-
// Try to use WASM bridge if available
|
|
289
|
-
if (context?.bridge?.initialized) {
|
|
290
|
-
try {
|
|
291
|
-
logger.debug('Using WASM bridge for topology computation');
|
|
292
|
-
const result = await context.bridge.computeTopology(complex);
|
|
293
|
-
bettiNumbers = result.bettiNumbers;
|
|
294
|
-
persistenceDiagram = result.persistenceDiagram.map(([birth, death], i) => ({
|
|
295
|
-
birth,
|
|
296
|
-
death,
|
|
297
|
-
dimension: Math.min(i % (maxDimension + 1), maxDimension),
|
|
298
|
-
}));
|
|
299
|
-
homologyClasses = result.homologyClasses;
|
|
300
|
-
}
|
|
301
|
-
catch (wasmError) {
|
|
302
|
-
logger.warn('WASM bridge failed, falling back to JS implementation', {
|
|
303
|
-
error: wasmError instanceof Error ? wasmError.message : String(wasmError),
|
|
304
|
-
});
|
|
305
|
-
// Use JavaScript implementation
|
|
306
|
-
const distanceMatrix = buildDistanceMatrix(vertices);
|
|
307
|
-
const maxDistance = Math.max(...distanceMatrix.flat().filter(d => d > 0));
|
|
308
|
-
const simplices = buildRipsComplex(distanceMatrix, maxDistance * 0.5, maxDimension);
|
|
309
|
-
bettiNumbers = computeBettiNumbers(vertices, simplices, maxDimension);
|
|
310
|
-
persistenceDiagram = computePersistenceDiagram(distanceMatrix, maxDimension);
|
|
311
|
-
homologyClasses = bettiNumbers.reduce((a, b) => a + b, 0);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
// Pure JavaScript fallback
|
|
316
|
-
logger.debug('Using JavaScript fallback for topology computation');
|
|
317
|
-
const distanceMatrix = buildDistanceMatrix(vertices);
|
|
318
|
-
const maxDistance = Math.max(...distanceMatrix.flat().filter(d => d > 0));
|
|
319
|
-
const simplices = buildRipsComplex(distanceMatrix, maxDistance * 0.5, maxDimension);
|
|
320
|
-
bettiNumbers = computeBettiNumbers(vertices, simplices, maxDimension);
|
|
321
|
-
persistenceDiagram = computePersistenceDiagram(distanceMatrix, maxDimension);
|
|
322
|
-
homologyClasses = bettiNumbers.reduce((a, b) => a + b, 0);
|
|
323
|
-
}
|
|
324
|
-
const output = {
|
|
325
|
-
bettiNumbers,
|
|
326
|
-
persistenceDiagram,
|
|
327
|
-
details: {
|
|
328
|
-
homologyClasses,
|
|
329
|
-
interpretation: interpretBettiNumbers(bettiNumbers),
|
|
330
|
-
vertexCount: vertices.length,
|
|
331
|
-
maxDimension,
|
|
332
|
-
},
|
|
333
|
-
};
|
|
334
|
-
const duration = performance.now() - startTime;
|
|
335
|
-
logger.info('Topology computation completed', {
|
|
336
|
-
bettiNumbers: bettiNumbers.join(', '),
|
|
337
|
-
persistencePoints: persistenceDiagram.length,
|
|
338
|
-
homologyClasses,
|
|
339
|
-
durationMs: duration.toFixed(2),
|
|
340
|
-
});
|
|
341
|
-
return successResult(output);
|
|
342
|
-
}
|
|
343
|
-
catch (error) {
|
|
344
|
-
const duration = performance.now() - startTime;
|
|
345
|
-
logger.error('Topology computation failed', {
|
|
346
|
-
error: error instanceof Error ? error.message : String(error),
|
|
347
|
-
durationMs: duration.toFixed(2),
|
|
348
|
-
});
|
|
349
|
-
return errorResult(error instanceof Error ? error : new Error(String(error)));
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* pr_quantum_topology MCP Tool Definition
|
|
354
|
-
*/
|
|
355
|
-
export const quantumTopologyTool = {
|
|
356
|
-
name: 'pr_quantum_topology',
|
|
357
|
-
description: 'Compute topological features via Vietoris-Rips filtration. Reports Betti numbers b0 (components) and b1 (loops) with persistence diagrams. b2 (voids) is not computed.',
|
|
358
|
-
category: 'topology',
|
|
359
|
-
version: '0.1.3',
|
|
360
|
-
tags: ['topology', 'betti-numbers', 'persistence', 'homology', 'ai-interpretability'],
|
|
361
|
-
cacheable: true,
|
|
362
|
-
cacheTTL: 120000, // 2 minute cache (expensive computation)
|
|
363
|
-
inputSchema: {
|
|
364
|
-
type: 'object',
|
|
365
|
-
properties: {
|
|
366
|
-
complex: {
|
|
367
|
-
type: 'object',
|
|
368
|
-
properties: {
|
|
369
|
-
vertices: {
|
|
370
|
-
type: 'array',
|
|
371
|
-
items: { type: 'array', items: { type: 'number' } },
|
|
372
|
-
description: 'Vertex coordinates (point cloud)',
|
|
373
|
-
},
|
|
374
|
-
simplices: {
|
|
375
|
-
type: 'array',
|
|
376
|
-
items: {
|
|
377
|
-
type: 'object',
|
|
378
|
-
properties: {
|
|
379
|
-
vertices: { type: 'array', items: { type: 'number' } },
|
|
380
|
-
dimension: { type: 'number' },
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
|
-
description: 'Explicit simplices (optional, computed from vertices if not provided)',
|
|
384
|
-
},
|
|
385
|
-
maxDimension: {
|
|
386
|
-
type: 'number',
|
|
387
|
-
default: 2,
|
|
388
|
-
description: 'Maximum homology dimension to compute (0-3)',
|
|
389
|
-
},
|
|
390
|
-
},
|
|
391
|
-
required: ['vertices'],
|
|
392
|
-
description: 'Simplicial complex for topological analysis',
|
|
393
|
-
},
|
|
394
|
-
},
|
|
395
|
-
required: ['complex'],
|
|
396
|
-
},
|
|
397
|
-
handler,
|
|
398
|
-
};
|
|
399
|
-
export default quantumTopologyTool;
|
|
400
|
-
//# sourceMappingURL=quantum-topology.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quantum-topology.js","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/quantum-topology.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,EACL,mBAAmB,EACnB,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,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IAC3G,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IACzG,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IACzG,KAAK,EAAE,CAAC,GA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AAE,MAAM,EAAE,yCAAyC;IAC3D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;wBACnD,WAAW,EAAE,kCAAkC;qBAChD;oBACD,SAAS,EAAE;wBACT,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACV,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;gCACtD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BAC9B;yBACF;wBACD,WAAW,EAAE,uEAAuE;qBACrF;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,CAAC;wBACV,WAAW,EAAE,6CAA6C;qBAC3D;iBACF;gBACD,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,WAAW,EAAE,6CAA6C;aAC3D;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,OAAO;CACR,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Spectral Analysis Tool - pr_spectral_analyze
|
|
3
|
-
*
|
|
4
|
-
* Analyzes stability of systems using spectral graph theory.
|
|
5
|
-
* Computes eigenvalues via power iteration with Hotelling deflation,
|
|
6
|
-
* spectral gap, and stability metrics from the graph Laplacian.
|
|
7
|
-
*/
|
|
8
|
-
import type { MCPTool } from './types.js';
|
|
9
|
-
/**
|
|
10
|
-
* pr_spectral_analyze MCP Tool Definition
|
|
11
|
-
*/
|
|
12
|
-
export declare const spectralAnalyzeTool: MCPTool;
|
|
13
|
-
export default spectralAnalyzeTool;
|
|
14
|
-
//# sourceMappingURL=spectral-analyze.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spectral-analyze.d.ts","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/spectral-analyze.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,OAAO,EAIR,MAAM,YAAY,CAAC;AAwTpB;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OA0BjC,CAAC;eAEa,mBAAmB"}
|