@liangjie559567/ultrapower 5.5.2 → 5.5.3
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-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +15 -11
- package/README.md +104 -8
- package/agents/analyst.md +24 -0
- package/bridge/codex-server.cjs +886 -88
- package/bridge/gemini-server.cjs +892 -89
- package/bridge/mcp-server.cjs +1351 -238
- package/bridge/team-bridge.cjs +737 -99
- package/commands/brainstorm.md +1 -1
- package/commands/execute-plan.md +1 -1
- package/commands/wizard.md +5 -0
- package/commands/write-plan.md +1 -1
- package/dist/__tests__/job-management.test.js +43 -43
- package/dist/__tests__/job-management.test.js.map +1 -1
- package/dist/__tests__/validateMode.test.js +1 -1
- package/dist/__tests__/validateMode.test.js.map +1 -1
- package/dist/agents/__tests__/agent-wrapper.test.d.ts +2 -0
- package/dist/agents/__tests__/agent-wrapper.test.d.ts.map +1 -0
- package/dist/agents/__tests__/agent-wrapper.test.js +37 -0
- package/dist/agents/__tests__/agent-wrapper.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.js +35 -0
- package/dist/agents/__tests__/timeout-config.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.js +37 -0
- package/dist/agents/__tests__/timeout-manager.test.js.map +1 -0
- package/dist/agents/agent-wrapper.d.ts +22 -0
- package/dist/agents/agent-wrapper.d.ts.map +1 -0
- package/dist/agents/agent-wrapper.js +54 -0
- package/dist/agents/agent-wrapper.js.map +1 -0
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/definitions.js +1 -1
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/timeout-config.d.ts +19 -0
- package/dist/agents/timeout-config.d.ts.map +1 -0
- package/dist/agents/timeout-config.js +57 -0
- package/dist/agents/timeout-config.js.map +1 -0
- package/dist/agents/timeout-manager.d.ts +31 -0
- package/dist/agents/timeout-manager.d.ts.map +1 -0
- package/dist/agents/timeout-manager.js +53 -0
- package/dist/agents/timeout-manager.js.map +1 -0
- package/dist/analytics/analytics-summary.d.ts.map +1 -1
- package/dist/analytics/analytics-summary.js +7 -1
- package/dist/analytics/analytics-summary.js.map +1 -1
- package/dist/analytics/metrics-collector.d.ts.map +1 -1
- package/dist/analytics/metrics-collector.js +9 -1
- package/dist/analytics/metrics-collector.js.map +1 -1
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +21 -3
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.js +3 -3
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/transcript-scanner.d.ts.map +1 -1
- package/dist/analytics/transcript-scanner.js +20 -13
- package/dist/analytics/transcript-scanner.js.map +1 -1
- package/dist/audit/logger.d.ts +28 -0
- package/dist/audit/logger.d.ts.map +1 -0
- package/dist/audit/logger.js +86 -0
- package/dist/audit/logger.js.map +1 -0
- package/dist/audit/verify-cli.d.ts +2 -0
- package/dist/audit/verify-cli.d.ts.map +1 -0
- package/dist/audit/verify-cli.js +10 -0
- package/dist/audit/verify-cli.js.map +1 -0
- package/dist/cli/commands/perf.d.ts +3 -0
- package/dist/cli/commands/perf.d.ts.map +1 -0
- package/dist/cli/commands/perf.js +25 -0
- package/dist/cli/commands/perf.js.map +1 -0
- package/dist/cli/commands/plugin.d.ts +6 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +100 -0
- package/dist/cli/commands/plugin.js.map +1 -0
- package/dist/cli/commands/teleport.js +5 -5
- package/dist/cli/commands/teleport.js.map +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/compatibility/mcp-bridge.d.ts.map +1 -1
- package/dist/compatibility/mcp-bridge.js +4 -3
- package/dist/compatibility/mcp-bridge.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +40 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/core/hud-config.d.ts +19 -0
- package/dist/core/hud-config.d.ts.map +1 -0
- package/dist/core/hud-config.js +6 -0
- package/dist/core/hud-config.js.map +1 -0
- package/dist/core/job-types.d.ts +22 -0
- package/dist/core/job-types.d.ts.map +1 -0
- package/dist/core/job-types.js +6 -0
- package/dist/core/job-types.js.map +1 -0
- package/dist/features/diagnostics/error-matcher.d.ts +12 -0
- package/dist/features/diagnostics/error-matcher.d.ts.map +1 -0
- package/dist/features/diagnostics/error-matcher.js +41 -0
- package/dist/features/diagnostics/error-matcher.js.map +1 -0
- package/dist/features/diagnostics/index.d.ts +3 -0
- package/dist/features/diagnostics/index.d.ts.map +1 -0
- package/dist/features/diagnostics/index.js +3 -0
- package/dist/features/diagnostics/index.js.map +1 -0
- package/dist/features/diagnostics/solution-suggester.d.ts +12 -0
- package/dist/features/diagnostics/solution-suggester.d.ts.map +1 -0
- package/dist/features/diagnostics/solution-suggester.js +46 -0
- package/dist/features/diagnostics/solution-suggester.js.map +1 -0
- package/dist/features/diagnostics/types.d.ts +25 -0
- package/dist/features/diagnostics/types.d.ts.map +1 -0
- package/dist/features/diagnostics/types.js +5 -0
- package/dist/features/diagnostics/types.js.map +1 -0
- package/dist/features/rate-limit-wait/daemon.js +1 -1
- package/dist/features/rate-limit-wait/daemon.js.map +1 -1
- package/dist/features/reflection/data-collector.d.ts +12 -0
- package/dist/features/reflection/data-collector.d.ts.map +1 -0
- package/dist/features/reflection/data-collector.js +38 -0
- package/dist/features/reflection/data-collector.js.map +1 -0
- package/dist/features/reflection/index.d.ts +4 -0
- package/dist/features/reflection/index.d.ts.map +1 -0
- package/dist/features/reflection/index.js +3 -0
- package/dist/features/reflection/index.js.map +1 -0
- package/dist/features/reflection/report-generator.d.ts +3 -0
- package/dist/features/reflection/report-generator.d.ts.map +1 -0
- package/dist/features/reflection/report-generator.js +42 -0
- package/dist/features/reflection/report-generator.js.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.js +17 -17
- package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js +42 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.js +68 -0
- package/dist/features/state-manager/__tests__/encryption.test.js.map +1 -0
- package/dist/features/state-manager/encryption.d.ts +24 -0
- package/dist/features/state-manager/encryption.d.ts.map +1 -0
- package/dist/features/state-manager/encryption.js +86 -0
- package/dist/features/state-manager/encryption.js.map +1 -0
- package/dist/features/state-manager/index.d.ts +4 -0
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +95 -7
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/features/state-manager/tiered-writer.d.ts +44 -0
- package/dist/features/state-manager/tiered-writer.d.ts.map +1 -0
- package/dist/features/state-manager/tiered-writer.js +76 -0
- package/dist/features/state-manager/tiered-writer.js.map +1 -0
- package/dist/features/state-manager/wal.d.ts +21 -0
- package/dist/features/state-manager/wal.d.ts.map +1 -0
- package/dist/features/state-manager/wal.js +75 -0
- package/dist/features/state-manager/wal.js.map +1 -0
- package/dist/features/task-templates/index.d.ts +13 -0
- package/dist/features/task-templates/index.d.ts.map +1 -0
- package/dist/features/task-templates/index.js +31 -0
- package/dist/features/task-templates/index.js.map +1 -0
- package/dist/features/task-templates/wizard-integration.d.ts +15 -0
- package/dist/features/task-templates/wizard-integration.d.ts.map +1 -0
- package/dist/features/task-templates/wizard-integration.js +27 -0
- package/dist/features/task-templates/wizard-integration.js.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.js +78 -0
- package/dist/features/wizard/__tests__/engine.test.js.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js +43 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js.map +1 -0
- package/dist/features/wizard/engine.d.ts +15 -0
- package/dist/features/wizard/engine.d.ts.map +1 -0
- package/dist/features/wizard/engine.js +74 -0
- package/dist/features/wizard/engine.js.map +1 -0
- package/dist/features/wizard/index.d.ts +8 -0
- package/dist/features/wizard/index.d.ts.map +1 -0
- package/dist/features/wizard/index.js +7 -0
- package/dist/features/wizard/index.js.map +1 -0
- package/dist/features/wizard/questions.d.ts +6 -0
- package/dist/features/wizard/questions.d.ts.map +1 -0
- package/dist/features/wizard/questions.js +64 -0
- package/dist/features/wizard/questions.js.map +1 -0
- package/dist/features/wizard/recommendation-engine.d.ts +6 -0
- package/dist/features/wizard/recommendation-engine.d.ts.map +1 -0
- package/dist/features/wizard/recommendation-engine.js +33 -0
- package/dist/features/wizard/recommendation-engine.js.map +1 -0
- package/dist/features/wizard/types.d.ts +23 -0
- package/dist/features/wizard/types.d.ts.map +1 -0
- package/dist/features/wizard/types.js +5 -0
- package/dist/features/wizard/types.js.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts +6 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.js +20 -0
- package/dist/features/workflow-recommender/context-analyzer.js.map +1 -0
- package/dist/features/workflow-recommender/index.d.ts +12 -0
- package/dist/features/workflow-recommender/index.d.ts.map +1 -0
- package/dist/features/workflow-recommender/index.js +9 -0
- package/dist/features/workflow-recommender/index.js.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts +6 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.js +24 -0
- package/dist/features/workflow-recommender/intent-classifier.js.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts +6 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.js +110 -0
- package/dist/features/workflow-recommender/recommendation-engine.js.map +1 -0
- package/dist/features/workflow-recommender/recommender.d.ts +14 -0
- package/dist/features/workflow-recommender/recommender.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommender.js +32 -0
- package/dist/features/workflow-recommender/recommender.js.map +1 -0
- package/dist/features/workflow-recommender/router-integration.d.ts +9 -0
- package/dist/features/workflow-recommender/router-integration.d.ts.map +1 -0
- package/dist/features/workflow-recommender/router-integration.js +25 -0
- package/dist/features/workflow-recommender/router-integration.js.map +1 -0
- package/dist/features/workflow-recommender/types.d.ts +20 -0
- package/dist/features/workflow-recommender/types.d.ts.map +1 -0
- package/dist/features/workflow-recommender/types.js +5 -0
- package/dist/features/workflow-recommender/types.js.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js +90 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.js +23 -41
- package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js +70 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js +55 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js +50 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.js +2 -2
- package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js +19 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +1 -1
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/axiom-boot/index.d.ts +1 -0
- package/dist/hooks/axiom-boot/index.d.ts.map +1 -1
- package/dist/hooks/axiom-boot/index.js +13 -0
- package/dist/hooks/axiom-boot/index.js.map +1 -1
- package/dist/hooks/bridge-normalize.d.ts +43 -3
- package/dist/hooks/bridge-normalize.d.ts.map +1 -1
- package/dist/hooks/bridge-normalize.js +183 -61
- package/dist/hooks/bridge-normalize.js.map +1 -1
- package/dist/hooks/bridge-types.d.ts +62 -0
- package/dist/hooks/bridge-types.d.ts.map +1 -0
- package/dist/hooks/bridge-types.js +6 -0
- package/dist/hooks/bridge-types.js.map +1 -0
- package/dist/hooks/bridge.d.ts +1 -43
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +132 -32
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/dependency-analyzer.d.ts +32 -0
- package/dist/hooks/dependency-analyzer.d.ts.map +1 -0
- package/dist/hooks/dependency-analyzer.js +199 -0
- package/dist/hooks/dependency-analyzer.js.map +1 -0
- package/dist/hooks/guards/pre-tool.d.ts.map +1 -1
- package/dist/hooks/guards/pre-tool.js +8 -2
- package/dist/hooks/guards/pre-tool.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/__tests__/confidence.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/confidence.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/confidence.test.js +42 -0
- package/dist/hooks/learner/__tests__/confidence.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.js +170 -0
- package/dist/hooks/learner/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js +147 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js +43 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.js +48 -0
- package/dist/hooks/learner/__tests__/index.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts +10 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js +131 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.js +114 -0
- package/dist/hooks/learner/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.js +146 -0
- package/dist/hooks/learner/__tests__/promotion.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts +13 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js +162 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js +159 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js +201 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.js +123 -0
- package/dist/hooks/learner/__tests__/validator.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.js +141 -0
- package/dist/hooks/learner/__tests__/writer.test.js.map +1 -0
- package/dist/hooks/learner/confidence.d.ts +10 -0
- package/dist/hooks/learner/confidence.d.ts.map +1 -1
- package/dist/hooks/learner/confidence.js +17 -0
- package/dist/hooks/learner/confidence.js.map +1 -1
- package/dist/hooks/learner/detection-hook.js +2 -2
- package/dist/hooks/learner/detection-hook.js.map +1 -1
- package/dist/hooks/learner/index-manager.d.ts +29 -0
- package/dist/hooks/learner/index-manager.d.ts.map +1 -1
- package/dist/hooks/learner/index-manager.js +56 -0
- package/dist/hooks/learner/index-manager.js.map +1 -1
- package/dist/hooks/learner/learning-queue.d.ts +1 -0
- package/dist/hooks/learner/learning-queue.d.ts.map +1 -1
- package/dist/hooks/learner/learning-queue.js +82 -0
- package/dist/hooks/learner/learning-queue.js.map +1 -1
- package/dist/hooks/learner/orchestrator.d.ts +12 -1
- package/dist/hooks/learner/orchestrator.d.ts.map +1 -1
- package/dist/hooks/learner/orchestrator.js +19 -2
- package/dist/hooks/learner/orchestrator.js.map +1 -1
- package/dist/hooks/learner/promotion.d.ts +10 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -1
- package/dist/hooks/learner/promotion.js +33 -0
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/learner/queue-archiver.d.ts +21 -0
- package/dist/hooks/learner/queue-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/queue-archiver.js +147 -0
- package/dist/hooks/learner/queue-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-archiver.d.ts +19 -0
- package/dist/hooks/learner/reflection-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-archiver.js +113 -0
- package/dist/hooks/learner/reflection-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts +22 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.js +62 -0
- package/dist/hooks/learner/reflection-cleanup.js.map +1 -0
- package/dist/hooks/learner/reflection-parser.d.ts +26 -0
- package/dist/hooks/learner/reflection-parser.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-parser.js +139 -0
- package/dist/hooks/learner/reflection-parser.js.map +1 -0
- package/dist/hooks/learner/reflection.d.ts +8 -1
- package/dist/hooks/learner/reflection.d.ts.map +1 -1
- package/dist/hooks/learner/reflection.js +19 -2
- package/dist/hooks/learner/reflection.js.map +1 -1
- package/dist/hooks/learner/types.d.ts +23 -0
- package/dist/hooks/learner/types.d.ts.map +1 -1
- package/dist/hooks/nexus/config.d.ts.map +1 -1
- package/dist/hooks/nexus/config.js +4 -3
- package/dist/hooks/nexus/config.js.map +1 -1
- package/dist/hooks/nexus/improvement-puller.d.ts.map +1 -1
- package/dist/hooks/nexus/improvement-puller.js +4 -2
- package/dist/hooks/nexus/improvement-puller.js.map +1 -1
- package/dist/hooks/nexus/session-end-hook.d.ts.map +1 -1
- package/dist/hooks/nexus/session-end-hook.js +8 -3
- package/dist/hooks/nexus/session-end-hook.js.map +1 -1
- package/dist/hooks/observability/__tests__/observability.test.d.ts +2 -0
- package/dist/hooks/observability/__tests__/observability.test.d.ts.map +1 -0
- package/dist/hooks/observability/__tests__/observability.test.js +176 -0
- package/dist/hooks/observability/__tests__/observability.test.js.map +1 -0
- package/dist/hooks/observability/agent-tracker.d.ts +18 -0
- package/dist/hooks/observability/agent-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/agent-tracker.js +26 -0
- package/dist/hooks/observability/agent-tracker.js.map +1 -0
- package/dist/hooks/observability/cost-estimator.d.ts +18 -0
- package/dist/hooks/observability/cost-estimator.d.ts.map +1 -0
- package/dist/hooks/observability/cost-estimator.js +46 -0
- package/dist/hooks/observability/cost-estimator.js.map +1 -0
- package/dist/hooks/observability/db.d.ts +5 -0
- package/dist/hooks/observability/db.d.ts.map +1 -0
- package/dist/hooks/observability/db.js +63 -0
- package/dist/hooks/observability/db.js.map +1 -0
- package/dist/hooks/observability/query-engine.d.ts +36 -0
- package/dist/hooks/observability/query-engine.d.ts.map +1 -0
- package/dist/hooks/observability/query-engine.js +78 -0
- package/dist/hooks/observability/query-engine.js.map +1 -0
- package/dist/hooks/observability/tool-tracker.d.ts +11 -0
- package/dist/hooks/observability/tool-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/tool-tracker.js +24 -0
- package/dist/hooks/observability/tool-tracker.js.map +1 -0
- package/dist/hooks/observability/write-queue.d.ts +13 -0
- package/dist/hooks/observability/write-queue.d.ts.map +1 -0
- package/dist/hooks/observability/write-queue.js +48 -0
- package/dist/hooks/observability/write-queue.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
- package/dist/hooks/omc-orchestrator/index.js +2 -11
- package/dist/hooks/omc-orchestrator/index.js.map +1 -1
- package/dist/hooks/parallel-executor.d.ts +24 -0
- package/dist/hooks/parallel-executor.d.ts.map +1 -0
- package/dist/hooks/parallel-executor.js +82 -0
- package/dist/hooks/parallel-executor.js.map +1 -0
- package/dist/hooks/permission-handler/index.d.ts +1 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -1
- package/dist/hooks/permission-handler/index.js +60 -5
- package/dist/hooks/permission-handler/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +2 -21
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +4 -85
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/tool-error.d.ts +15 -0
- package/dist/hooks/persistent-mode/tool-error.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/tool-error.js +80 -0
- package/dist/hooks/persistent-mode/tool-error.js.map +1 -0
- package/dist/hooks/pre-compact/index.d.ts.map +1 -1
- package/dist/hooks/pre-compact/index.js +0 -1
- package/dist/hooks/pre-compact/index.js.map +1 -1
- package/dist/hooks/project-memory/learner.d.ts +13 -1
- package/dist/hooks/project-memory/learner.d.ts.map +1 -1
- package/dist/hooks/project-memory/learner.js +24 -12
- package/dist/hooks/project-memory/learner.js.map +1 -1
- package/dist/hooks/race-detector.d.ts +51 -0
- package/dist/hooks/race-detector.d.ts.map +1 -0
- package/dist/hooks/race-detector.js +121 -0
- package/dist/hooks/race-detector.js.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.js +268 -0
- package/dist/hooks/ralph/__tests__/loop.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.js +197 -0
- package/dist/hooks/ralph/__tests__/prd.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.js +120 -0
- package/dist/hooks/ralph/__tests__/progress.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js +75 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js +131 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js +88 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.js +270 -0
- package/dist/hooks/recovery/__tests__/index.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js +129 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +549 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +1 -1
- package/dist/hooks/recovery/session-recovery.js.map +1 -1
- package/dist/hooks/recovery/storage.js +5 -4
- package/dist/hooks/recovery/storage.js.map +1 -1
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js +68 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js +58 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +2 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -1
- package/dist/hooks/rules-injector/finder.js +12 -4
- package/dist/hooks/rules-injector/finder.js.map +1 -1
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -1
- package/dist/hooks/rules-injector/matcher.js +15 -8
- package/dist/hooks/rules-injector/matcher.js.map +1 -1
- package/dist/hooks/session-end/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/index.test.js +77 -0
- package/dist/hooks/session-end/__tests__/index.test.js.map +1 -0
- package/dist/hooks/session-end/callbacks.d.ts +1 -1
- package/dist/hooks/session-end/index.d.ts +2 -21
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/session-end/types.d.ts +26 -0
- package/dist/hooks/session-end/types.d.ts.map +1 -0
- package/dist/hooks/session-end/types.js +6 -0
- package/dist/hooks/session-end/types.js.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.js +68 -0
- package/dist/hooks/setup/__tests__/index.test.js.map +1 -0
- package/dist/hooks/skill-bridge.cjs +5 -1
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts +2 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js +94 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js.map +1 -0
- package/dist/hooks/timeout-wrapper.d.ts +32 -0
- package/dist/hooks/timeout-wrapper.d.ts.map +1 -0
- package/dist/hooks/timeout-wrapper.js +62 -0
- package/dist/hooks/timeout-wrapper.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
- package/dist/hooks/todo-continuation/index.js +11 -5
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.js +5 -6
- package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/state.js +13 -4
- package/dist/hooks/ultrapilot/state.js.map +1 -1
- package/dist/hooks/ultraqa/index.d.ts.map +1 -1
- package/dist/hooks/ultraqa/index.js +11 -2
- package/dist/hooks/ultraqa/index.js.map +1 -1
- package/dist/hooks/ultrawork/index.d.ts.map +1 -1
- package/dist/hooks/ultrawork/index.js +20 -6
- package/dist/hooks/ultrawork/index.js.map +1 -1
- package/dist/hud/elements/autopilot.d.ts +1 -1
- package/dist/hud/elements/autopilot.d.ts.map +1 -1
- package/dist/hud/elements/git.d.ts +0 -5
- package/dist/hud/elements/git.d.ts.map +1 -1
- package/dist/hud/elements/git.js +3 -37
- package/dist/hud/elements/git.js.map +1 -1
- package/dist/hud/sanitize.d.ts.map +1 -1
- package/dist/hud/sanitize.js +16 -17
- package/dist/hud/sanitize.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +69 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +2 -15
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/installer/__tests__/hooks.test.d.ts +6 -0
- package/dist/installer/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hooks.test.js +121 -0
- package/dist/installer/__tests__/hooks.test.js.map +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +11 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/__tests__/atomic-write.test.js +3 -4
- package/dist/lib/__tests__/atomic-write.test.js.map +1 -1
- package/dist/lib/__tests__/file-lock.test.d.ts +13 -0
- package/dist/lib/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/lib/__tests__/file-lock.test.js +122 -0
- package/dist/lib/__tests__/file-lock.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.js +58 -0
- package/dist/lib/__tests__/plugin-deps.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js +52 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.js +60 -0
- package/dist/lib/__tests__/plugin-rollback.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.js +70 -0
- package/dist/lib/__tests__/plugin-security.test.js.map +1 -0
- package/dist/lib/__tests__/validateMode.test.d.ts +2 -0
- package/dist/lib/__tests__/validateMode.test.d.ts.map +1 -0
- package/dist/lib/__tests__/validateMode.test.js +61 -0
- package/dist/lib/__tests__/validateMode.test.js.map +1 -0
- package/dist/lib/__tests__/version.test.d.ts +6 -0
- package/dist/lib/__tests__/version.test.d.ts.map +1 -0
- package/dist/lib/__tests__/version.test.js +37 -0
- package/dist/lib/__tests__/version.test.js.map +1 -0
- package/dist/lib/atomic-write.d.ts.map +1 -1
- package/dist/lib/atomic-write.js +6 -8
- package/dist/lib/atomic-write.js.map +1 -1
- package/dist/lib/constants.d.ts +59 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +69 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/env-validator.d.ts +28 -0
- package/dist/lib/env-validator.d.ts.map +1 -0
- package/dist/lib/env-validator.js +105 -0
- package/dist/lib/env-validator.js.map +1 -0
- package/dist/lib/file-cache.d.ts +16 -0
- package/dist/lib/file-cache.d.ts.map +1 -0
- package/dist/lib/file-cache.js +33 -0
- package/dist/lib/file-cache.js.map +1 -0
- package/dist/lib/file-lock.d.ts +18 -0
- package/dist/lib/file-lock.d.ts.map +1 -0
- package/dist/lib/file-lock.js +59 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/git-utils.d.ts +55 -0
- package/dist/lib/git-utils.d.ts.map +1 -0
- package/dist/lib/git-utils.js +140 -0
- package/dist/lib/git-utils.js.map +1 -0
- package/dist/lib/memory-utils.d.ts +7 -0
- package/dist/lib/memory-utils.d.ts.map +1 -0
- package/dist/lib/memory-utils.js +21 -0
- package/dist/lib/memory-utils.js.map +1 -0
- package/dist/lib/path-validator.d.ts +25 -0
- package/dist/lib/path-validator.d.ts.map +1 -0
- package/dist/lib/path-validator.js +88 -0
- package/dist/lib/path-validator.js.map +1 -0
- package/dist/lib/plugin-deps.d.ts +26 -0
- package/dist/lib/plugin-deps.d.ts.map +1 -0
- package/dist/lib/plugin-deps.js +59 -0
- package/dist/lib/plugin-deps.js.map +1 -0
- package/dist/lib/plugin-marketplace.d.ts +12 -0
- package/dist/lib/plugin-marketplace.d.ts.map +1 -0
- package/dist/lib/plugin-marketplace.js +35 -0
- package/dist/lib/plugin-marketplace.js.map +1 -0
- package/dist/lib/plugin-rollback.d.ts +22 -0
- package/dist/lib/plugin-rollback.d.ts.map +1 -0
- package/dist/lib/plugin-rollback.js +66 -0
- package/dist/lib/plugin-rollback.js.map +1 -0
- package/dist/lib/plugin-security.d.ts +19 -0
- package/dist/lib/plugin-security.d.ts.map +1 -0
- package/dist/lib/plugin-security.js +87 -0
- package/dist/lib/plugin-security.js.map +1 -0
- package/dist/lib/safe-json.d.ts +16 -0
- package/dist/lib/safe-json.d.ts.map +1 -0
- package/dist/lib/safe-json.js +22 -0
- package/dist/lib/safe-json.js.map +1 -0
- package/dist/lib/validateMode.d.ts +3 -0
- package/dist/lib/validateMode.d.ts.map +1 -1
- package/dist/lib/validateMode.js +28 -2
- package/dist/lib/validateMode.js.map +1 -1
- package/dist/lib/worktree-paths.d.ts.map +1 -1
- package/dist/lib/worktree-paths.js +4 -24
- package/dist/lib/worktree-paths.js.map +1 -1
- package/dist/mcp/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/mcp/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/cli-detection.test.js +50 -0
- package/dist/mcp/__tests__/cli-detection.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.js +143 -0
- package/dist/mcp/__tests__/codex-core.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.js +59 -0
- package/dist/mcp/__tests__/codex-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.js +53 -0
- package/dist/mcp/__tests__/gemini-core.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.js +50 -0
- package/dist/mcp/__tests__/gemini-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js +48 -1
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js.map +1 -1
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts +2 -0
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js +108 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.js +86 -0
- package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/mcp/adapters/ast-adapter.d.ts +90 -0
- package/dist/mcp/adapters/ast-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/ast-adapter.js +36 -0
- package/dist/mcp/adapters/ast-adapter.js.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts +6 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.js +6 -0
- package/dist/mcp/adapters/lsp-adapter.js.map +1 -0
- package/dist/mcp/adapters/memory-adapter.d.ts +156 -0
- package/dist/mcp/adapters/memory-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/memory-adapter.js +59 -0
- package/dist/mcp/adapters/memory-adapter.js.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts +115 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.js +78 -0
- package/dist/mcp/adapters/notepad-adapter.js.map +1 -0
- package/dist/mcp/adapters/python-adapter.d.ts +46 -0
- package/dist/mcp/adapters/python-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/python-adapter.js +44 -0
- package/dist/mcp/adapters/python-adapter.js.map +1 -0
- package/dist/mcp/adapters/skills-adapter.d.ts +37 -0
- package/dist/mcp/adapters/skills-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/skills-adapter.js +35 -0
- package/dist/mcp/adapters/skills-adapter.js.map +1 -0
- package/dist/mcp/adapters/state-adapter.d.ts +209 -0
- package/dist/mcp/adapters/state-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/state-adapter.js +82 -0
- package/dist/mcp/adapters/state-adapter.js.map +1 -0
- package/dist/mcp/adapters/trace-adapter.d.ts +67 -0
- package/dist/mcp/adapters/trace-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/trace-adapter.js +30 -0
- package/dist/mcp/adapters/trace-adapter.js.map +1 -0
- package/dist/mcp/client/MCPClient.d.ts +22 -0
- package/dist/mcp/client/MCPClient.d.ts.map +1 -0
- package/dist/mcp/client/MCPClient.js +93 -0
- package/dist/mcp/client/MCPClient.js.map +1 -0
- package/dist/mcp/client.d.ts +19 -0
- package/dist/mcp/client.d.ts.map +1 -0
- package/dist/mcp/client.js +34 -0
- package/dist/mcp/client.js.map +1 -0
- package/dist/mcp/codex-core.d.ts.map +1 -1
- package/dist/mcp/codex-core.js +9 -4
- package/dist/mcp/codex-core.js.map +1 -1
- package/dist/mcp/config/config-loader.d.ts +6 -0
- package/dist/mcp/config/config-loader.d.ts.map +1 -0
- package/dist/mcp/config/config-loader.js +16 -0
- package/dist/mcp/config/config-loader.js.map +1 -0
- package/dist/mcp/config/env-replacer.d.ts +10 -0
- package/dist/mcp/config/env-replacer.d.ts.map +1 -0
- package/dist/mcp/config/env-replacer.js +39 -0
- package/dist/mcp/config/env-replacer.js.map +1 -0
- package/dist/mcp/config/loader.d.ts +6 -0
- package/dist/mcp/config/loader.d.ts.map +1 -0
- package/dist/mcp/config/loader.js +51 -0
- package/dist/mcp/config/loader.js.map +1 -0
- package/dist/mcp/config/schema.d.ts +63 -0
- package/dist/mcp/config/schema.d.ts.map +1 -0
- package/dist/mcp/config/schema.js +15 -0
- package/dist/mcp/config/schema.js.map +1 -0
- package/dist/mcp/config-loader.d.ts +6 -0
- package/dist/mcp/config-loader.d.ts.map +1 -0
- package/dist/mcp/config-loader.js +66 -0
- package/dist/mcp/config-loader.js.map +1 -0
- package/dist/mcp/config-schema.d.ts +64 -0
- package/dist/mcp/config-schema.d.ts.map +1 -0
- package/dist/mcp/config-schema.js +18 -0
- package/dist/mcp/config-schema.js.map +1 -0
- package/dist/mcp/gemini-core.d.ts.map +1 -1
- package/dist/mcp/gemini-core.js +16 -1
- package/dist/mcp/gemini-core.js.map +1 -1
- package/dist/mcp/job-management.d.ts.map +1 -1
- package/dist/mcp/job-management.js +201 -7
- package/dist/mcp/job-management.js.map +1 -1
- package/dist/mcp/job-state-db.d.ts +1 -1
- package/dist/mcp/job-state-db.d.ts.map +1 -1
- package/dist/mcp/job-state-db.js +22 -5
- package/dist/mcp/job-state-db.js.map +1 -1
- package/dist/mcp/logger.d.ts +7 -0
- package/dist/mcp/logger.d.ts.map +1 -0
- package/dist/mcp/logger.js +19 -0
- package/dist/mcp/logger.js.map +1 -0
- package/dist/mcp/namespace-manager.d.ts +25 -0
- package/dist/mcp/namespace-manager.d.ts.map +1 -0
- package/dist/mcp/namespace-manager.js +26 -0
- package/dist/mcp/namespace-manager.js.map +1 -0
- package/dist/mcp/namespace.d.ts +26 -0
- package/dist/mcp/namespace.d.ts.map +1 -0
- package/dist/mcp/namespace.js +56 -0
- package/dist/mcp/namespace.js.map +1 -0
- package/dist/mcp/prompt-persistence.d.ts +3 -18
- package/dist/mcp/prompt-persistence.d.ts.map +1 -1
- package/dist/mcp/prompt-persistence.js +3 -3
- package/dist/mcp/prompt-persistence.js.map +1 -1
- package/dist/mcp/retry-client.d.ts +22 -0
- package/dist/mcp/retry-client.d.ts.map +1 -0
- package/dist/mcp/retry-client.js +59 -0
- package/dist/mcp/retry-client.js.map +1 -0
- package/dist/mcp/standalone-server.js +5 -41
- package/dist/mcp/standalone-server.js.map +1 -1
- package/dist/mcp/timeout.d.ts +8 -0
- package/dist/mcp/timeout.d.ts.map +1 -0
- package/dist/mcp/timeout.js +14 -0
- package/dist/mcp/timeout.js.map +1 -0
- package/dist/mcp/tool-handler.d.ts +14 -0
- package/dist/mcp/tool-handler.d.ts.map +1 -0
- package/dist/mcp/tool-handler.js +32 -0
- package/dist/mcp/tool-handler.js.map +1 -0
- package/dist/mcp/tool-resolver.d.ts +13 -0
- package/dist/mcp/tool-resolver.d.ts.map +1 -0
- package/dist/mcp/tool-resolver.js +30 -0
- package/dist/mcp/tool-resolver.js.map +1 -0
- package/dist/monitoring/dashboard.d.ts +13 -0
- package/dist/monitoring/dashboard.d.ts.map +1 -0
- package/dist/monitoring/dashboard.js +93 -0
- package/dist/monitoring/dashboard.js.map +1 -0
- package/dist/monitoring/index.d.ts +3 -0
- package/dist/monitoring/index.d.ts.map +1 -0
- package/dist/monitoring/index.js +3 -0
- package/dist/monitoring/index.js.map +1 -0
- package/dist/monitoring/metrics-collector.d.ts +18 -0
- package/dist/monitoring/metrics-collector.d.ts.map +1 -0
- package/dist/monitoring/metrics-collector.js +68 -0
- package/dist/monitoring/metrics-collector.js.map +1 -0
- package/dist/monitoring/test-perf.d.ts +2 -0
- package/dist/monitoring/test-perf.d.ts.map +1 -0
- package/dist/monitoring/test-perf.js +39 -0
- package/dist/monitoring/test-perf.js.map +1 -0
- package/dist/notifications/reply-listener.d.ts +25 -0
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +5 -5
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/platform/process-utils.d.ts.map +1 -1
- package/dist/platform/process-utils.js +2 -3
- package/dist/platform/process-utils.js.map +1 -1
- package/dist/team/__tests__/deadlock-detector.test.d.ts +2 -0
- package/dist/team/__tests__/deadlock-detector.test.d.ts.map +1 -0
- package/dist/team/__tests__/deadlock-detector.test.js +50 -0
- package/dist/team/__tests__/deadlock-detector.test.js.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts +2 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.js +29 -0
- package/dist/team/__tests__/dependency-graph.test.js.map +1 -0
- package/dist/team/bridge-entry.d.ts +23 -0
- package/dist/team/bridge-entry.d.ts.map +1 -1
- package/dist/team/bridge-entry.js +83 -52
- package/dist/team/bridge-entry.js.map +1 -1
- package/dist/team/capabilities.d.ts +1 -2
- package/dist/team/capabilities.d.ts.map +1 -1
- package/dist/team/capabilities.js.map +1 -1
- package/dist/team/deadlock-detector.d.ts +16 -0
- package/dist/team/deadlock-detector.d.ts.map +1 -0
- package/dist/team/deadlock-detector.js +52 -0
- package/dist/team/deadlock-detector.js.map +1 -0
- package/dist/team/dependency-graph.d.ts +23 -0
- package/dist/team/dependency-graph.d.ts.map +1 -0
- package/dist/team/dependency-graph.js +35 -0
- package/dist/team/dependency-graph.js.map +1 -0
- package/dist/team/inbox-outbox.js +1 -1
- package/dist/team/inbox-outbox.js.map +1 -1
- package/dist/team/index.d.ts +3 -0
- package/dist/team/index.d.ts.map +1 -1
- package/dist/team/index.js +2 -0
- package/dist/team/index.js.map +1 -1
- package/dist/team/mcp-team-bridge.d.ts.map +1 -1
- package/dist/team/mcp-team-bridge.js +35 -23
- package/dist/team/mcp-team-bridge.js.map +1 -1
- package/dist/team/types.d.ts +15 -4
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js +0 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/unified-team.d.ts +2 -11
- package/dist/team/unified-team.d.ts.map +1 -1
- package/dist/team/unified-team.js.map +1 -1
- package/dist/team/worker-health.d.ts +2 -2
- package/dist/team/worker-health.d.ts.map +1 -1
- package/dist/team/worker-health.js +74 -6
- package/dist/team/worker-health.js.map +1 -1
- package/dist/team/worker-restart.d.ts +4 -4
- package/dist/team/worker-restart.d.ts.map +1 -1
- package/dist/team/worker-restart.js +64 -9
- package/dist/team/worker-restart.js.map +1 -1
- package/dist/tools/__tests__/ast-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/ast-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/ast-tools.test.js +178 -0
- package/dist/tools/__tests__/ast-tools.test.js.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.js +252 -0
- package/dist/tools/__tests__/lsp-tools.test.js.map +1 -0
- package/dist/tools/ast-tools.d.ts.map +1 -1
- package/dist/tools/ast-tools.js +84 -5
- package/dist/tools/ast-tools.js.map +1 -1
- package/dist/tools/dependency-analyzer.d.ts +34 -0
- package/dist/tools/dependency-analyzer.d.ts.map +1 -0
- package/dist/tools/dependency-analyzer.js +57 -0
- package/dist/tools/dependency-analyzer.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.js +111 -0
- package/dist/tools/diagnostics/__tests__/index.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js +120 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js +86 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js.map +1 -0
- package/dist/tools/diagnostics/constants.d.ts +5 -0
- package/dist/tools/diagnostics/constants.d.ts.map +1 -0
- package/dist/tools/diagnostics/constants.js +5 -0
- package/dist/tools/diagnostics/constants.js.map +1 -0
- package/dist/tools/diagnostics/index.d.ts +2 -1
- package/dist/tools/diagnostics/index.d.ts.map +1 -1
- package/dist/tools/diagnostics/index.js +2 -1
- package/dist/tools/diagnostics/index.js.map +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -1
- package/dist/tools/doc-sync.d.ts +38 -0
- package/dist/tools/doc-sync.d.ts.map +1 -0
- package/dist/tools/doc-sync.js +67 -0
- package/dist/tools/doc-sync.js.map +1 -0
- package/dist/tools/index.d.ts +11 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +41 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lsp/__tests__/utils.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/utils.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/utils.test.js +338 -0
- package/dist/tools/lsp/__tests__/utils.test.js.map +1 -0
- package/dist/tools/lsp/client.d.ts +10 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +55 -0
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/lsp/memory-optimizer.d.ts +19 -0
- package/dist/tools/lsp/memory-optimizer.d.ts.map +1 -0
- package/dist/tools/lsp/memory-optimizer.js +48 -0
- package/dist/tools/lsp/memory-optimizer.js.map +1 -0
- package/dist/tools/lsp/utils.d.ts.map +1 -1
- package/dist/tools/lsp/utils.js +2 -2
- package/dist/tools/lsp/utils.js.map +1 -1
- package/dist/tools/memory-tools.js +4 -4
- package/dist/tools/memory-tools.js.map +1 -1
- package/dist/tools/notepad-tools.d.ts.map +1 -1
- package/dist/tools/notepad-tools.js +6 -0
- package/dist/tools/notepad-tools.js.map +1 -1
- package/dist/tools/parallel-opportunity-detector.d.ts +54 -0
- package/dist/tools/parallel-opportunity-detector.d.ts.map +1 -0
- package/dist/tools/parallel-opportunity-detector.js +66 -0
- package/dist/tools/parallel-opportunity-detector.js.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js +338 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js +155 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js.map +1 -0
- package/dist/tools/python-repl/bridge-manager.d.ts +4 -0
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
- package/dist/tools/python-repl/bridge-manager.js +8 -5
- package/dist/tools/python-repl/bridge-manager.js.map +1 -1
- package/dist/tools/skills-tools.d.ts.map +1 -1
- package/dist/tools/skills-tools.js +5 -3
- package/dist/tools/skills-tools.js.map +1 -1
- package/dist/tools/state-tools.d.ts +6 -0
- package/dist/tools/state-tools.d.ts.map +1 -1
- package/dist/tools/state-tools.js +108 -87
- package/dist/tools/state-tools.js.map +1 -1
- package/dist/tools/tool-prefix-migration.d.ts +18 -0
- package/dist/tools/tool-prefix-migration.d.ts.map +1 -0
- package/dist/tools/tool-prefix-migration.js +80 -0
- package/dist/tools/tool-prefix-migration.js.map +1 -0
- package/dist/workers/adapter.d.ts +16 -0
- package/dist/workers/adapter.d.ts.map +1 -0
- package/dist/workers/adapter.js +5 -0
- package/dist/workers/adapter.js.map +1 -0
- package/dist/workers/cached-adapter.d.ts +21 -0
- package/dist/workers/cached-adapter.d.ts.map +1 -0
- package/dist/workers/cached-adapter.js +67 -0
- package/dist/workers/cached-adapter.js.map +1 -0
- package/dist/workers/factory.d.ts +11 -0
- package/dist/workers/factory.d.ts.map +1 -0
- package/dist/workers/factory.js +54 -0
- package/dist/workers/factory.js.map +1 -0
- package/dist/workers/index.d.ts +10 -0
- package/dist/workers/index.d.ts.map +1 -0
- package/dist/workers/index.js +10 -0
- package/dist/workers/index.js.map +1 -0
- package/dist/workers/json-adapter.d.ts +22 -0
- package/dist/workers/json-adapter.d.ts.map +1 -0
- package/dist/workers/json-adapter.js +171 -0
- package/dist/workers/json-adapter.js.map +1 -0
- package/dist/workers/sqlite-adapter.d.ts +22 -0
- package/dist/workers/sqlite-adapter.d.ts.map +1 -0
- package/dist/workers/sqlite-adapter.js +262 -0
- package/dist/workers/sqlite-adapter.js.map +1 -0
- package/dist/workers/types.d.ts +41 -0
- package/dist/workers/types.d.ts.map +1 -0
- package/dist/workers/types.js +5 -0
- package/dist/workers/types.js.map +1 -0
- package/docs/AGENTS.md +81 -89
- package/docs/ARCHITECTURE.md +541 -162
- package/docs/CLAUDE.md +1 -1
- package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +97 -0
- package/docs/FAQ.md +306 -0
- package/docs/FEATURES.md +1038 -420
- package/docs/INSTALL.md +5 -5
- package/docs/INSTALL_FIX_SUMMARY.md +97 -0
- package/docs/INSTALL_FIX_VERIFICATION.md +61 -0
- package/docs/INSTALL_VERIFICATION_REPORT.md +68 -0
- package/docs/KNOWN_ISSUES.md +104 -0
- package/docs/LOCAL_INSTALL_VERIFICATION.md +159 -0
- package/docs/LOCAL_TEST_INSTALL_REPORT.md +96 -0
- package/docs/MAIN_DOCS_UPDATE_REPORT.md +41 -0
- package/docs/MIGRATION_GUIDE_v5.5.18.md +177 -0
- package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +187 -0
- package/docs/README.md +110 -0
- package/docs/REFERENCE.md +930 -786
- package/docs/RELEASE_NOTES_v5.5.14.md +97 -0
- package/docs/RELEASE_SUMMARY_v5.5.18.md +60 -0
- package/docs/TUTORIAL.md +223 -0
- package/docs/UPGRADE_VERIFICATION.md +500 -0
- package/docs/UPGRADE_VERIFICATION_REPORT.md +96 -0
- package/docs/USER_GUIDE.md +2044 -0
- package/docs/VALIDATION_REPORT.md +165 -0
- package/docs/VERIFICATION_SUMMARY.md +116 -0
- package/docs/adr/001-worker-state-adapter.md +168 -0
- package/docs/adr/002-caching-strategy.md +112 -0
- package/docs/adr/003-gradual-migration.md +193 -0
- package/docs/adr/template.md +97 -0
- package/docs/api/.nojekyll +1 -0
- package/docs/api/assets/hierarchy.js +1 -0
- package/docs/api/assets/highlight.css +85 -0
- package/docs/api/assets/icons.js +18 -0
- package/docs/api/assets/icons.svg +1 -0
- package/docs/api/assets/main.js +60 -0
- package/docs/api/assets/navigation.js +1 -0
- package/docs/api/assets/search.js +1 -0
- package/docs/api/assets/style.css +1633 -0
- package/docs/api/classes/ContextCollector.html +21 -0
- package/docs/api/functions/activateUltrawork.html +2 -0
- package/docs/api/functions/addCustomNote.html +5 -0
- package/docs/api/functions/addDirective.html +2 -0
- package/docs/api/functions/addManualEntry.html +2 -0
- package/docs/api/functions/addPattern.html +3 -0
- package/docs/api/functions/addWorker.html +2 -0
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -0
- package/docs/api/functions/analyzeContextUsage.html +2 -0
- package/docs/api/functions/appendProgress.html +2 -0
- package/docs/api/functions/appendSessionId.html +2 -0
- package/docs/api/functions/applyCommentFilters.html +3 -0
- package/docs/api/functions/assignFileToWorker.html +2 -0
- package/docs/api/functions/backgroundUpdateCheck.html +2 -0
- package/docs/api/functions/buildAxiomBootContext.html +1 -0
- package/docs/api/functions/buildBoulderContinuation.html +2 -0
- package/docs/api/functions/buildDelegationTable.html +2 -0
- package/docs/api/functions/buildKeyTriggersSection.html +2 -0
- package/docs/api/functions/buildOrchestratorReminder.html +2 -0
- package/docs/api/functions/buildUseAvoidSection.html +2 -0
- package/docs/api/functions/buildVerificationReminder.html +2 -0
- package/docs/api/functions/canResumeAutopilot.html +10 -0
- package/docs/api/functions/canStartMode.html +5 -0
- package/docs/api/functions/cancelAutopilot.html +3 -0
- package/docs/api/functions/cancelUltraQA.html +2 -0
- package/docs/api/functions/checkBackgroundNotifications.html +2 -0
- package/docs/api/functions/checkBoulderContinuation.html +2 -0
- package/docs/api/functions/checkDuplicateTriggers.html +2 -0
- package/docs/api/functions/checkExpertGate.html +1 -0
- package/docs/api/functions/checkForComments.html +2 -0
- package/docs/api/functions/checkForUpdates.html +2 -0
- package/docs/api/functions/checkIncompleteTodos.html +13 -0
- package/docs/api/functions/checkPersistentModes.html +3 -0
- package/docs/api/functions/cleanupOrphanedState.html +2 -0
- package/docs/api/functions/cleanupStaleAgents.html +2 -0
- package/docs/api/functions/cleanupTransientState.html +2 -0
- package/docs/api/functions/clearAgentUsageState.html +1 -0
- package/docs/api/functions/clearAllModeStates.html +2 -0
- package/docs/api/functions/clearAutopilot.html +2 -0
- package/docs/api/functions/clearAutopilotState.html +2 -0
- package/docs/api/functions/clearBeadsContext.html +2 -0
- package/docs/api/functions/clearBoulderState.html +2 -0
- package/docs/api/functions/clearDetectionState.html +2 -0
- package/docs/api/functions/clearInjectedPaths.html +2 -0
- package/docs/api/functions/clearInjectedRules.html +2 -0
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -0
- package/docs/api/functions/clearModeState.html +10 -0
- package/docs/api/functions/clearProjectMemorySession.html +4 -0
- package/docs/api/functions/clearRalphState.html +2 -0
- package/docs/api/functions/clearRapidFireDebounce.html +2 -0
- package/docs/api/functions/clearSkillSession.html +2 -0
- package/docs/api/functions/clearThinkModeState.html +2 -0
- package/docs/api/functions/clearTrackingState.html +2 -0
- package/docs/api/functions/clearUltraQAState.html +2 -0
- package/docs/api/functions/clearVerificationState.html +3 -0
- package/docs/api/functions/commandExists.html +2 -0
- package/docs/api/functions/compareVersions.html +3 -0
- package/docs/api/functions/completeUltraQA.html +2 -0
- package/docs/api/functions/completeUltrapilot.html +2 -0
- package/docs/api/functions/completeWorker.html +2 -0
- package/docs/api/functions/containsTokenLimitError.html +2 -0
- package/docs/api/functions/createAgentToolRestrictions.html +3 -0
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -0
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -0
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -0
- package/docs/api/functions/createBackgroundTaskManager.html +2 -0
- package/docs/api/functions/createBoulderState.html +2 -0
- package/docs/api/functions/createCommentCheckerHook.html +6 -0
- package/docs/api/functions/createCompactCheckpoint.html +2 -0
- package/docs/api/functions/createContentHash.html +2 -0
- package/docs/api/functions/createContextInjectorHook.html +7 -0
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -0
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -0
- package/docs/api/functions/createEnvContext.html +2 -0
- package/docs/api/functions/createHookOutput.html +4 -0
- package/docs/api/functions/createLearnedSkillsHook.html +6 -0
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -0
- package/docs/api/functions/createModeMarker.html +6 -0
- package/docs/api/functions/createPrd.html +2 -0
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -0
- package/docs/api/functions/createRalphLoopHook.html +2 -0
- package/docs/api/functions/createRecoveryHook.html +7 -0
- package/docs/api/functions/createRulesInjectorHook.html +8 -0
- package/docs/api/functions/createSimplePrd.html +2 -0
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -0
- package/docs/api/functions/createSisyphusSession.html +7 -0
- package/docs/api/functions/createThinkModeHook.html +7 -0
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -0
- package/docs/api/functions/createTodoContinuationHook.html +2 -0
- package/docs/api/functions/createUltraworkStateHook.html +2 -0
- package/docs/api/functions/deactivateUltrawork.html +8 -0
- package/docs/api/functions/decayHotPaths.html +2 -0
- package/docs/api/functions/decomposeTask.html +11 -0
- package/docs/api/functions/deepMerge.html +2 -0
- package/docs/api/functions/detectArchitectApproval.html +2 -0
- package/docs/api/functions/detectArchitectRejection.html +2 -0
- package/docs/api/functions/detectContextLimitError.html +2 -0
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -0
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -0
- package/docs/api/functions/detectEditError.html +2 -0
- package/docs/api/functions/detectEditErrorInOutput.html +2 -0
- package/docs/api/functions/detectEditErrorInText.html +2 -0
- package/docs/api/functions/detectExtractableMoment.html +2 -0
- package/docs/api/functions/detectKeywordsWithType.html +11 -0
- package/docs/api/functions/detectMagicKeywords.html +2 -0
- package/docs/api/functions/detectProjectEnvironment.html +2 -0
- package/docs/api/functions/detectRecoverableError.html +3 -0
- package/docs/api/functions/detectSessionErrorType.html +2 -0
- package/docs/api/functions/detectSlashCommand.html +3 -0
- package/docs/api/functions/detectThinkKeyword.html +2 -0
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -0
- package/docs/api/functions/discoverAllCommands.html +2 -0
- package/docs/api/functions/enablePrdMode.html +2 -0
- package/docs/api/functions/enhancePrompt.html +2 -0
- package/docs/api/functions/ensureAutopilotDir.html +2 -0
- package/docs/api/functions/ensureDirectoryStructure.html +2 -0
- package/docs/api/functions/ensureModeStateDir.html +2 -0
- package/docs/api/functions/ensureSkillsDir.html +2 -0
- package/docs/api/functions/estimateTokens.html +2 -0
- package/docs/api/functions/executeSlashCommand.html +2 -0
- package/docs/api/functions/expandCommand.html +8 -0
- package/docs/api/functions/expandCommandPrompt.html +6 -0
- package/docs/api/functions/expandCommands.html +2 -0
- package/docs/api/functions/exportSessionSummary.html +2 -0
- package/docs/api/functions/exportWisdomToNotepad.html +2 -0
- package/docs/api/functions/extractPromptText.html +11 -0
- package/docs/api/functions/extractSlashPromptText.html +2 -0
- package/docs/api/functions/extractThinkPromptText.html +2 -0
- package/docs/api/functions/failWorker.html +2 -0
- package/docs/api/functions/findCommand.html +2 -0
- package/docs/api/functions/findMatchingSkills.html +2 -0
- package/docs/api/functions/findPlannerPlans.html +3 -0
- package/docs/api/functions/findPrdPath.html +2 -0
- package/docs/api/functions/findPreviousThinkingContent.html +1 -0
- package/docs/api/functions/findProgressPath.html +2 -0
- package/docs/api/functions/findProjectRoot.html +3 -0
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -0
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -0
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -0
- package/docs/api/functions/findRuleFiles.html +4 -0
- package/docs/api/functions/findSkillFiles.html +3 -0
- package/docs/api/functions/formatCancelMessage.html +2 -0
- package/docs/api/functions/formatCompactSummary.html +2 -0
- package/docs/api/functions/formatContextSummary.html +3 -0
- package/docs/api/functions/formatDirectivesForContext.html +2 -0
- package/docs/api/functions/formatFailureSummary.html +2 -0
- package/docs/api/functions/formatFile.html +2 -0
- package/docs/api/functions/formatFileChanges.html +2 -0
- package/docs/api/functions/formatFileList.html +2 -0
- package/docs/api/functions/formatFullContext.html +2 -0
- package/docs/api/functions/formatFullNotepad.html +2 -0
- package/docs/api/functions/formatLearningsForContext.html +2 -0
- package/docs/api/functions/formatNextStoryPrompt.html +2 -0
- package/docs/api/functions/formatNotepadContext.html +2 -0
- package/docs/api/functions/formatPatternsForContext.html +2 -0
- package/docs/api/functions/formatPrd.html +2 -0
- package/docs/api/functions/formatPrdStatus.html +2 -0
- package/docs/api/functions/formatPreCompactSummary.html +2 -0
- package/docs/api/functions/formatProgressForContext.html +2 -0
- package/docs/api/functions/formatProgressMessage.html +2 -0
- package/docs/api/functions/formatStory.html +2 -0
- package/docs/api/functions/formatSummary.html +2 -0
- package/docs/api/functions/formatUpdateNotification.html +2 -0
- package/docs/api/functions/formatValidationResults.html +2 -0
- package/docs/api/functions/generateExtractionPrompt.html +2 -0
- package/docs/api/functions/generateSkillFrontmatter.html +2 -0
- package/docs/api/functions/generateSummary.html +2 -0
- package/docs/api/functions/getActiveAgentCount.html +2 -0
- package/docs/api/functions/getActiveExclusiveMode.html +4 -0
- package/docs/api/functions/getActiveModes.html +2 -0
- package/docs/api/functions/getActivePlanPath.html +2 -0
- package/docs/api/functions/getAgentDefinitions.html +2 -0
- package/docs/api/functions/getAgentsByType.html +2 -0
- package/docs/api/functions/getAllCommands.html +2 -0
- package/docs/api/functions/getAllModeStatuses.html +5 -0
- package/docs/api/functions/getAllSkills.html +2 -0
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -0
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -0
- package/docs/api/functions/getAutoFormatMessage.html +2 -0
- package/docs/api/functions/getAutopilotStateAge.html +3 -0
- package/docs/api/functions/getAvailableAgents.html +2 -0
- package/docs/api/functions/getAxiomDir.html +1 -0
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -0
- package/docs/api/functions/getBeadsContextConfig.html +2 -0
- package/docs/api/functions/getBeadsInstructions.html +2 -0
- package/docs/api/functions/getBoulderFilePath.html +2 -0
- package/docs/api/functions/getCheckpointPath.html +2 -0
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -0
- package/docs/api/functions/getCommand.html +2 -0
- package/docs/api/functions/getCommandsDir.html +2 -0
- package/docs/api/functions/getCompactionQueueDepth.html +3 -0
- package/docs/api/functions/getCompletedWorkers.html +2 -0
- package/docs/api/functions/getDefaultMcpServers.html +1 -0
- package/docs/api/functions/getDefaultModelForCategory.html +2 -0
- package/docs/api/functions/getDetectionStats.html +2 -0
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -0
- package/docs/api/functions/getExecutionPrompt.html +2 -0
- package/docs/api/functions/getExpansionPrompt.html +3 -0
- package/docs/api/functions/getExpertGateMessage.html +1 -0
- package/docs/api/functions/getFailedWorkers.html +2 -0
- package/docs/api/functions/getFormatter.html +2 -0
- package/docs/api/functions/getGitDiffStats.html +2 -0
- package/docs/api/functions/getGlobalStateFilePath.html +4 -0
- package/docs/api/functions/getGoalCommand.html +2 -0
- package/docs/api/functions/getHighVariant.html +3 -0
- package/docs/api/functions/getInstallInfo.html +2 -0
- package/docs/api/functions/getInstalledVersion.html +2 -0
- package/docs/api/functions/getIssuesToFix.html +2 -0
- package/docs/api/functions/getLastDetection.html +2 -0
- package/docs/api/functions/getLearnerConfigValue.html +2 -0
- package/docs/api/functions/getLinter.html +2 -0
- package/docs/api/functions/getManualSection.html +2 -0
- package/docs/api/functions/getMemoryFilePaths.html +1 -0
- package/docs/api/functions/getModeMarkerFilePath.html +2 -0
- package/docs/api/functions/getModeStateFilePath.html +2 -0
- package/docs/api/functions/getNextStory.html +2 -0
- package/docs/api/functions/getNotepadPath.html +2 -0
- package/docs/api/functions/getNotepadStats.html +2 -0
- package/docs/api/functions/getOmcPrdPath.html +2 -0
- package/docs/api/functions/getOmcProgressPath.html +2 -0
- package/docs/api/functions/getOmcSystemPrompt.html +2 -0
- package/docs/api/functions/getOmcToolNames.html +3 -0
- package/docs/api/functions/getPatterns.html +2 -0
- package/docs/api/functions/getPhasePrompt.html +2 -0
- package/docs/api/functions/getPlanName.html +2 -0
- package/docs/api/functions/getPlanPath.html +2 -0
- package/docs/api/functions/getPlanProgress.html +2 -0
- package/docs/api/functions/getPlanSummaries.html +2 -0
- package/docs/api/functions/getPrdCompletionStatus.html +2 -0
- package/docs/api/functions/getPrdPath.html +2 -0
- package/docs/api/functions/getPrdStatus.html +2 -0
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -0
- package/docs/api/functions/getPriorityContext.html +2 -0
- package/docs/api/functions/getProgressContext.html +2 -0
- package/docs/api/functions/getProgressPath.html +2 -0
- package/docs/api/functions/getPromotionCandidates.html +2 -0
- package/docs/api/functions/getQAPrompt.html +2 -0
- package/docs/api/functions/getRalphContext.html +3 -0
- package/docs/api/functions/getReadmesForPath.html +2 -0
- package/docs/api/functions/getRecentLearnings.html +2 -0
- package/docs/api/functions/getRulesForPath.html +2 -0
- package/docs/api/functions/getRunningAgents.html +2 -0
- package/docs/api/functions/getRunningWorkers.html +2 -0
- package/docs/api/functions/getSessionTokenEstimate.html +2 -0
- package/docs/api/functions/getSkillsDir.html +2 -0
- package/docs/api/functions/getSpecPath.html +2 -0
- package/docs/api/functions/getStaleAgents.html +2 -0
- package/docs/api/functions/getStateDir.html +2 -0
- package/docs/api/functions/getStory.html +2 -0
- package/docs/api/functions/getSubagentStateFilePath.html +2 -0
- package/docs/api/functions/getThinkModeState.html +2 -0
- package/docs/api/functions/getThinkingConfig.html +3 -0
- package/docs/api/functions/getTopHotPaths.html +2 -0
- package/docs/api/functions/getTrackingStats.html +2 -0
- package/docs/api/functions/getTransitionPrompt.html +2 -0
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -0
- package/docs/api/functions/getValidationPrompt.html +2 -0
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -0
- package/docs/api/functions/getValidationStats.html +1 -0
- package/docs/api/functions/getValidationStatus.html +2 -0
- package/docs/api/functions/getWorkingMemory.html +2 -0
- package/docs/api/functions/handleBackgroundEvent.html +3 -0
- package/docs/api/functions/handleContextWindowRecovery.html +2 -0
- package/docs/api/functions/handleEditErrorRecovery.html +2 -0
- package/docs/api/functions/handlePermissionRequest.html +2 -0
- package/docs/api/functions/handleRecovery.html +10 -0
- package/docs/api/functions/handleSessionEnd.html +2 -0
- package/docs/api/functions/handleSessionRecovery.html +2 -0
- package/docs/api/functions/handleSharedFiles.html +7 -0
- package/docs/api/functions/handleSubagentStart.html +2 -0
- package/docs/api/functions/handleSubagentStop.html +2 -0
- package/docs/api/functions/hasBoulder.html +2 -0
- package/docs/api/functions/hasContentParts.html +1 -0
- package/docs/api/functions/hasModeState.html +3 -0
- package/docs/api/functions/hasPrd.html +2 -0
- package/docs/api/functions/hasTextContent.html +2 -0
- package/docs/api/functions/hasValidContent.html +3 -0
- package/docs/api/functions/incrementAgentCount.html +2 -0
- package/docs/api/functions/incrementRalphIteration.html +2 -0
- package/docs/api/functions/incrementReinforcement.html +2 -0
- package/docs/api/functions/initAutopilot.html +2 -0
- package/docs/api/functions/initNotepad.html +2 -0
- package/docs/api/functions/initPrd.html +2 -0
- package/docs/api/functions/initProgress.html +2 -0
- package/docs/api/functions/initUltrapilot.html +2 -0
- package/docs/api/functions/injectContextIntoText.html +2 -0
- package/docs/api/functions/injectPendingContext.html +3 -0
- package/docs/api/functions/injectRecoveryTextPart.html +2 -0
- package/docs/api/functions/install.html +2 -0
- package/docs/api/functions/integrateResults.html +5 -0
- package/docs/api/functions/isActiveModeRunning.html +2 -0
- package/docs/api/functions/isAllowedPath.html +2 -0
- package/docs/api/functions/isAlreadyHighVariant.html +2 -0
- package/docs/api/functions/isAutopilotActive.html +2 -0
- package/docs/api/functions/isAxiomEnabled.html +1 -0
- package/docs/api/functions/isClaudeInstalled.html +3 -0
- package/docs/api/functions/isClaudeModel.html +2 -0
- package/docs/api/functions/isCompactionInProgress.html +3 -0
- package/docs/api/functions/isDuplicateByContentHash.html +2 -0
- package/docs/api/functions/isDuplicateByRealPath.html +2 -0
- package/docs/api/functions/isExcludedCommand.html +2 -0
- package/docs/api/functions/isExtendedThinkingModel.html +1 -0
- package/docs/api/functions/isFileOwnedByWorker.html +2 -0
- package/docs/api/functions/isFormatterAvailable.html +2 -0
- package/docs/api/functions/isGptModel.html +2 -0
- package/docs/api/functions/isInstalled.html +2 -0
- package/docs/api/functions/isLearnerEnabled.html +2 -0
- package/docs/api/functions/isModeActive.html +6 -0
- package/docs/api/functions/isNonInteractive.html +1 -0
- package/docs/api/functions/isRecoverableError.html +2 -0
- package/docs/api/functions/isSafeCommand.html +2 -0
- package/docs/api/functions/isSessionRecoverable.html +2 -0
- package/docs/api/functions/isSharedFile.html +2 -0
- package/docs/api/functions/isThinkModeActive.html +2 -0
- package/docs/api/functions/isToolPart.html +2 -0
- package/docs/api/functions/isUltraQAActive.html +1 -0
- package/docs/api/functions/isWriteEditTool.html +2 -0
- package/docs/api/functions/learnFromToolOutput.html +7 -0
- package/docs/api/functions/lintFile.html +2 -0
- package/docs/api/functions/listAvailableCommands.html +2 -0
- package/docs/api/functions/listCommands.html +2 -0
- package/docs/api/functions/listPromotableLearnings.html +2 -0
- package/docs/api/functions/loadAgentPrompt.html +7 -0
- package/docs/api/functions/loadAgentUsageState.html +1 -0
- package/docs/api/functions/loadAllSkills.html +3 -0
- package/docs/api/functions/loadConfig.html +2 -0
- package/docs/api/functions/loadInjectedPaths.html +2 -0
- package/docs/api/functions/loadInjectedRules.html +2 -0
- package/docs/api/functions/loadLearnerConfig.html +2 -0
- package/docs/api/functions/loadProjectMemory.html +3 -0
- package/docs/api/functions/loadSkillById.html +2 -0
- package/docs/api/functions/mapDirectoryStructure.html +2 -0
- package/docs/api/functions/markStoryComplete.html +2 -0
- package/docs/api/functions/markStoryIncomplete.html +2 -0
- package/docs/api/functions/mergeAgentConfig.html +2 -0
- package/docs/api/functions/parseAxiomState.html +1 -0
- package/docs/api/functions/parseContextLimitError.html +2 -0
- package/docs/api/functions/parseProgress.html +2 -0
- package/docs/api/functions/parseRuleFrontmatter.html +10 -0
- package/docs/api/functions/parseSkillFile.html +2 -0
- package/docs/api/functions/parseSlashCommand.html +2 -0
- package/docs/api/functions/parseTokenLimitError.html +2 -0
- package/docs/api/functions/performUpdate.html +2 -0
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -0
- package/docs/api/functions/prependThinkingBlock.html +1 -0
- package/docs/api/functions/processAxiomBoot.html +1 -0
- package/docs/api/functions/processAxiomGuards.html +1 -0
- package/docs/api/functions/processBackgroundNotification.html +2 -0
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -0
- package/docs/api/functions/processEditOutput.html +2 -0
- package/docs/api/functions/processHook.html +3 -0
- package/docs/api/functions/processMessageForSkills.html +2 -0
- package/docs/api/functions/processOrchestratorPostTool.html +3 -0
- package/docs/api/functions/processOrchestratorPreTool.html +3 -0
- package/docs/api/functions/processPermissionRequest.html +2 -0
- package/docs/api/functions/processPreCompact.html +6 -0
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -0
- package/docs/api/functions/processResponseForDetection.html +3 -0
- package/docs/api/functions/processSessionEnd.html +2 -0
- package/docs/api/functions/processSetup.html +2 -0
- package/docs/api/functions/processSetupInit.html +2 -0
- package/docs/api/functions/processSetupMaintenance.html +2 -0
- package/docs/api/functions/processSlashCommand.html +2 -0
- package/docs/api/functions/processSubagentStart.html +2 -0
- package/docs/api/functions/processSubagentStop.html +2 -0
- package/docs/api/functions/processThinkMode.html +3 -0
- package/docs/api/functions/promoteLearning.html +2 -0
- package/docs/api/functions/pruneOldEntries.html +2 -0
- package/docs/api/functions/pruneOldStateFiles.html +2 -0
- package/docs/api/functions/readActiveContext.html +1 -0
- package/docs/api/functions/readAutopilotState.html +2 -0
- package/docs/api/functions/readBoulderState.html +2 -0
- package/docs/api/functions/readModeMarker.html +4 -0
- package/docs/api/functions/readNotepad.html +2 -0
- package/docs/api/functions/readPrd.html +2 -0
- package/docs/api/functions/readProgress.html +2 -0
- package/docs/api/functions/readProgressRaw.html +2 -0
- package/docs/api/functions/readProjectDecisions.html +1 -0
- package/docs/api/functions/readRalphState.html +2 -0
- package/docs/api/functions/readRecoveryMessages.html +2 -0
- package/docs/api/functions/readRecoveryParts.html +2 -0
- package/docs/api/functions/readTrackingState.html +3 -0
- package/docs/api/functions/readUltraQAState.html +2 -0
- package/docs/api/functions/readUltrapilotState.html +2 -0
- package/docs/api/functions/readUltraworkState.html +4 -0
- package/docs/api/functions/readUserPreferences.html +1 -0
- package/docs/api/functions/readVerificationState.html +3 -0
- package/docs/api/functions/recordArchitectFeedback.html +2 -0
- package/docs/api/functions/recordConflict.html +2 -0
- package/docs/api/functions/recordFailure.html +2 -0
- package/docs/api/functions/recordHookFire.html +2 -0
- package/docs/api/functions/recordHookResult.html +2 -0
- package/docs/api/functions/recordKeywordDetected.html +2 -0
- package/docs/api/functions/recordModeChange.html +2 -0
- package/docs/api/functions/recordPattern.html +2 -0
- package/docs/api/functions/recordSessionMetrics.html +2 -0
- package/docs/api/functions/recordSkillActivated.html +2 -0
- package/docs/api/functions/recordSkillInvoked.html +2 -0
- package/docs/api/functions/recordStoryProgress.html +2 -0
- package/docs/api/functions/recordValidationVerdict.html +2 -0
- package/docs/api/functions/registerBeadsContext.html +3 -0
- package/docs/api/functions/registerProjectMemoryContext.html +6 -0
- package/docs/api/functions/removeCodeBlocks.html +12 -0
- package/docs/api/functions/removeModeMarker.html +5 -0
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -0
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -0
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -0
- package/docs/api/functions/rescanProjectEnvironment.html +4 -0
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -0
- package/docs/api/functions/resumeAutopilot.html +2 -0
- package/docs/api/functions/runPreCommitChecks.html +2 -0
- package/docs/api/functions/runTests.html +2 -0
- package/docs/api/functions/runTypeCheck.html +2 -0
- package/docs/api/functions/sanitizeMessage.html +2 -0
- package/docs/api/functions/sanitizeMessages.html +2 -0
- package/docs/api/functions/saveAgentUsageState.html +1 -0
- package/docs/api/functions/saveInjectedPaths.html +2 -0
- package/docs/api/functions/saveInjectedRules.html +2 -0
- package/docs/api/functions/saveLearnerConfig.html +2 -0
- package/docs/api/functions/saveModeSummary.html +2 -0
- package/docs/api/functions/saveProjectMemory.html +3 -0
- package/docs/api/functions/saveVersionMetadata.html +2 -0
- package/docs/api/functions/setCurrentStory.html +2 -0
- package/docs/api/functions/setEnvironmentVariables.html +2 -0
- package/docs/api/functions/setLearnerConfigValue.html +2 -0
- package/docs/api/functions/setPriorityContext.html +2 -0
- package/docs/api/functions/shouldActivateThinkMode.html +3 -0
- package/docs/api/functions/shouldActivateUltrathink.html +2 -0
- package/docs/api/functions/shouldApplyRule.html +2 -0
- package/docs/api/functions/shouldCheckForUpdates.html +2 -0
- package/docs/api/functions/shouldCompleteByPrd.html +2 -0
- package/docs/api/functions/shouldPromptExtraction.html +2 -0
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -0
- package/docs/api/functions/shouldRetryValidation.html +2 -0
- package/docs/api/functions/shouldRunInBackground.html +8 -0
- package/docs/api/functions/spawnWorkers.html +7 -0
- package/docs/api/functions/startUltraQA.html +3 -0
- package/docs/api/functions/startUltrapilot.html +7 -0
- package/docs/api/functions/startValidationRound.html +2 -0
- package/docs/api/functions/startVerification.html +2 -0
- package/docs/api/functions/startsWithThinkingBlock.html +1 -0
- package/docs/api/functions/stopUltraQA.html +2 -0
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -0
- package/docs/api/functions/toSdkMcpFormat.html +2 -0
- package/docs/api/functions/trackAccess.html +2 -0
- package/docs/api/functions/trackProgress.html +5 -0
- package/docs/api/functions/transitionPhase.html +2 -0
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -0
- package/docs/api/functions/transitionToComplete.html +2 -0
- package/docs/api/functions/transitionToFailed.html +2 -0
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -0
- package/docs/api/functions/updateDirectoryAccess.html +2 -0
- package/docs/api/functions/updateExecution.html +2 -0
- package/docs/api/functions/updateExpansion.html +2 -0
- package/docs/api/functions/updatePlanning.html +2 -0
- package/docs/api/functions/updateQA.html +2 -0
- package/docs/api/functions/updateValidation.html +2 -0
- package/docs/api/functions/updateWorkerState.html +2 -0
- package/docs/api/functions/validateAgentConfig.html +2 -0
- package/docs/api/functions/validateCommitMessage.html +2 -0
- package/docs/api/functions/validateConfigFiles.html +2 -0
- package/docs/api/functions/validateExtractionRequest.html +2 -0
- package/docs/api/functions/validateMessage.html +1 -0
- package/docs/api/functions/validateMessages.html +1 -0
- package/docs/api/functions/validateSkillMetadata.html +2 -0
- package/docs/api/functions/writeAutopilotState.html +2 -0
- package/docs/api/functions/writeBoulderState.html +2 -0
- package/docs/api/functions/writePrd.html +2 -0
- package/docs/api/functions/writeRalphState.html +2 -0
- package/docs/api/functions/writeSkill.html +2 -0
- package/docs/api/functions/writeTrackingState.html +5 -0
- package/docs/api/functions/writeUltraQAState.html +2 -0
- package/docs/api/functions/writeUltrapilotState.html +2 -0
- package/docs/api/functions/writeUltraworkState.html +2 -0
- package/docs/api/functions/writeVerificationState.html +2 -0
- package/docs/api/hierarchy.html +1 -0
- package/docs/api/index.html +843 -0
- package/docs/api/interfaces/AgentConfig.html +18 -0
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -0
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -0
- package/docs/api/interfaces/AgentState.html +5 -0
- package/docs/api/interfaces/AgentUsageState.html +8 -0
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -0
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -0
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -0
- package/docs/api/interfaces/AutopilotConfig.html +26 -0
- package/docs/api/interfaces/AutopilotExecution.html +16 -0
- package/docs/api/interfaces/AutopilotExpansion.html +12 -0
- package/docs/api/interfaces/AutopilotPlanning.html +8 -0
- package/docs/api/interfaces/AutopilotQA.html +12 -0
- package/docs/api/interfaces/AutopilotResult.html +10 -0
- package/docs/api/interfaces/AutopilotState.html +36 -0
- package/docs/api/interfaces/AutopilotSummary.html +16 -0
- package/docs/api/interfaces/AutopilotValidation.html +10 -0
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -0
- package/docs/api/interfaces/AvailableAgent.html +5 -0
- package/docs/api/interfaces/AxiomBootInput.html +3 -0
- package/docs/api/interfaces/AxiomBootOutput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -0
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -0
- package/docs/api/interfaces/AxiomState.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -0
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -0
- package/docs/api/interfaces/BackgroundTask.html +7 -0
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -0
- package/docs/api/interfaces/BeadsContextConfig.html +4 -0
- package/docs/api/interfaces/BoulderState.html +12 -0
- package/docs/api/interfaces/BuildInfo.html +6 -0
- package/docs/api/interfaces/CanStartResult.html +4 -0
- package/docs/api/interfaces/CancelResult.html +4 -0
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -0
- package/docs/api/interfaces/CodeConventions.html +5 -0
- package/docs/api/interfaces/CodebasePattern.html +5 -0
- package/docs/api/interfaces/CommandInfo.html +5 -0
- package/docs/api/interfaces/CommandMetadata.html +7 -0
- package/docs/api/interfaces/CommentCheckResult.html +10 -0
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -0
- package/docs/api/interfaces/CommentInfo.html +14 -0
- package/docs/api/interfaces/CommentPendingCall.html +18 -0
- package/docs/api/interfaces/CommitConfig.html +9 -0
- package/docs/api/interfaces/CompactCheckpoint.html +7 -0
- package/docs/api/interfaces/ContextEntry.html +14 -0
- package/docs/api/interfaces/ContextUsageResult.html +12 -0
- package/docs/api/interfaces/CustomNote.html +5 -0
- package/docs/api/interfaces/DelegationDecision.html +7 -0
- package/docs/api/interfaces/DelegationRoute.html +7 -0
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -0
- package/docs/api/interfaces/DelegationTrigger.html +6 -0
- package/docs/api/interfaces/DetectedKeyword.html +13 -0
- package/docs/api/interfaces/DetectionConfig.html +8 -0
- package/docs/api/interfaces/DetectionResult.html +13 -0
- package/docs/api/interfaces/DirectoryInfo.html +7 -0
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -0
- package/docs/api/interfaces/ExecuteResult.html +5 -0
- package/docs/api/interfaces/ExpandedCommand.html +4 -0
- package/docs/api/interfaces/ExternalModelPreference.html +4 -0
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -0
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -0
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -0
- package/docs/api/interfaces/FileOwnership.html +8 -0
- package/docs/api/interfaces/FormatConfig.html +7 -0
- package/docs/api/interfaces/FrameworkDetection.html +4 -0
- package/docs/api/interfaces/FullAgentConfig.html +26 -0
- package/docs/api/interfaces/GateCheckResult.html +5 -0
- package/docs/api/interfaces/GitBranchPattern.html +3 -0
- package/docs/api/interfaces/HookContext.html +5 -0
- package/docs/api/interfaces/HookDefinition.html +5 -0
- package/docs/api/interfaces/HookInput.html +18 -0
- package/docs/api/interfaces/HookOutput.html +10 -0
- package/docs/api/interfaces/HookResult.html +4 -0
- package/docs/api/interfaces/HotPath.html +6 -0
- package/docs/api/interfaces/InjectedPathsData.html +9 -0
- package/docs/api/interfaces/InjectedRulesData.html +10 -0
- package/docs/api/interfaces/InjectedSkillsData.html +8 -0
- package/docs/api/interfaces/InjectionResult.html +8 -0
- package/docs/api/interfaces/InstallOptions.html +9 -0
- package/docs/api/interfaces/InstallResult.html +10 -0
- package/docs/api/interfaces/IntegrationResult.html +14 -0
- package/docs/api/interfaces/LanguageDetection.html +5 -0
- package/docs/api/interfaces/LearnedSkill.html +16 -0
- package/docs/api/interfaces/LearnerConfig.html +18 -0
- package/docs/api/interfaces/LintConfig.html +7 -0
- package/docs/api/interfaces/MagicKeyword.html +4 -0
- package/docs/api/interfaces/MatchResult.html +6 -0
- package/docs/api/interfaces/MessageContext.html +8 -0
- package/docs/api/interfaces/MessageInfo.html +9 -0
- package/docs/api/interfaces/MessagePart.html +15 -0
- package/docs/api/interfaces/MessageWithModel.html +3 -0
- package/docs/api/interfaces/MessageWithParts.html +6 -0
- package/docs/api/interfaces/MessagesTransformHook.html +3 -0
- package/docs/api/interfaces/MessagesTransformInput.html +3 -0
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -0
- package/docs/api/interfaces/ModeConfig.html +13 -0
- package/docs/api/interfaces/ModeStatus.html +4 -0
- package/docs/api/interfaces/ModelRef.html +4 -0
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -0
- package/docs/api/interfaces/NotepadConfig.html +7 -0
- package/docs/api/interfaces/NotepadStats.html +11 -0
- package/docs/api/interfaces/NotificationCheckResult.html +8 -0
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -0
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -0
- package/docs/api/interfaces/OutputPart.html +4 -0
- package/docs/api/interfaces/PRD.html +9 -0
- package/docs/api/interfaces/PRDStatus.html +13 -0
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -0
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -0
- package/docs/api/interfaces/PendingContext.html +8 -0
- package/docs/api/interfaces/PermissionHookOutput.html +4 -0
- package/docs/api/interfaces/PermissionRequestInput.html +9 -0
- package/docs/api/interfaces/PersistentModeResult.html +9 -0
- package/docs/api/interfaces/PlanProgress.html +8 -0
- package/docs/api/interfaces/PlanSummary.html +10 -0
- package/docs/api/interfaces/PluginConfig.html +17 -0
- package/docs/api/interfaces/PreCommitResult.html +3 -0
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -0
- package/docs/api/interfaces/PreCompactInput.html +8 -0
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -0
- package/docs/api/interfaces/PriorityContextResult.html +5 -0
- package/docs/api/interfaces/ProgressEntry.html +11 -0
- package/docs/api/interfaces/ProgressLog.html +7 -0
- package/docs/api/interfaces/ProjectMemory.html +14 -0
- package/docs/api/interfaces/ProjectStructure.html +5 -0
- package/docs/api/interfaces/PromotionCandidate.html +9 -0
- package/docs/api/interfaces/PruneResult.html +5 -0
- package/docs/api/interfaces/QualityValidation.html +10 -0
- package/docs/api/interfaces/RalphLoopHook.html +4 -0
- package/docs/api/interfaces/RalphLoopOptions.html +5 -0
- package/docs/api/interfaces/RalphLoopState.html +21 -0
- package/docs/api/interfaces/RecoveryConfig.html +16 -0
- package/docs/api/interfaces/RecoveryMessageData.html +4 -0
- package/docs/api/interfaces/RecoveryResult.html +10 -0
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -0
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -0
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -0
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -0
- package/docs/api/interfaces/RegisterContextOptions.html +12 -0
- package/docs/api/interfaces/ReleaseInfo.html +9 -0
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -0
- package/docs/api/interfaces/ResolveOptions.html +6 -0
- package/docs/api/interfaces/ResolvedModel.html +5 -0
- package/docs/api/interfaces/RetryState.html +6 -0
- package/docs/api/interfaces/RuleFileCandidate.html +12 -0
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -0
- package/docs/api/interfaces/RuleInfo.html +18 -0
- package/docs/api/interfaces/RuleMetadata.html +9 -0
- package/docs/api/interfaces/RuleToInject.html +10 -0
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -0
- package/docs/api/interfaces/SessionEndInput.html +9 -0
- package/docs/api/interfaces/SessionMetrics.html +9 -0
- package/docs/api/interfaces/SessionState.html +5 -0
- package/docs/api/interfaces/SetupHookOutput.html +3 -0
- package/docs/api/interfaces/SetupInput.html +7 -0
- package/docs/api/interfaces/SetupResult.html +5 -0
- package/docs/api/interfaces/ShellHook.html +4 -0
- package/docs/api/interfaces/SisyphusOptions.html +14 -0
- package/docs/api/interfaces/SisyphusSession.html +16 -0
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -0
- package/docs/api/interfaces/SkillFileCandidate.html +10 -0
- package/docs/api/interfaces/SkillHookContext.html +5 -0
- package/docs/api/interfaces/SkillMetadata.html +22 -0
- package/docs/api/interfaces/SkillParseResult.html +5 -0
- package/docs/api/interfaces/SubagentHookOutput.html +3 -0
- package/docs/api/interfaces/SubagentInfo.html +14 -0
- package/docs/api/interfaces/SubagentStartInput.html +10 -0
- package/docs/api/interfaces/SubagentStopInput.html +11 -0
- package/docs/api/interfaces/SubagentTrackingState.html +6 -0
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -0
- package/docs/api/interfaces/TechStack.html +5 -0
- package/docs/api/interfaces/ThinkModeInput.html +4 -0
- package/docs/api/interfaces/ThinkModeState.html +12 -0
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -0
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -0
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -0
- package/docs/api/interfaces/TodoContinuationHook.html +2 -0
- package/docs/api/interfaces/TransitionResult.html +4 -0
- package/docs/api/interfaces/TruncateState.html +6 -0
- package/docs/api/interfaces/UltraQAOptions.html +5 -0
- package/docs/api/interfaces/UltraQAResult.html +9 -0
- package/docs/api/interfaces/UltraQAState.html +19 -0
- package/docs/api/interfaces/UltrapilotConfig.html +14 -0
- package/docs/api/interfaces/UltrapilotState.html +26 -0
- package/docs/api/interfaces/UltraworkState.html +17 -0
- package/docs/api/interfaces/UpdateCheckResult.html +7 -0
- package/docs/api/interfaces/UpdateResult.html +7 -0
- package/docs/api/interfaces/UserDirective.html +7 -0
- package/docs/api/interfaces/UserStory.html +15 -0
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -0
- package/docs/api/interfaces/ValidationResult.html +10 -0
- package/docs/api/interfaces/VerificationState.html +17 -0
- package/docs/api/interfaces/VersionMetadata.html +12 -0
- package/docs/api/interfaces/WorkerState.html +24 -0
- package/docs/api/interfaces/WriteSkillResult.html +6 -0
- package/docs/api/media/EVOLUTION.md +605 -0
- package/docs/api/media/INSTALL.md +542 -0
- package/docs/api/media/MIGRATION.md +1158 -0
- package/docs/api/media/NEXUS.md +562 -0
- package/docs/api/media/REFERENCE.md +1222 -0
- package/docs/api/media/mcp-server-usage.md +240 -0
- package/docs/api/modules.html +1 -0
- package/docs/api/types/AgentCategory.html +2 -0
- package/docs/api/types/AgentCost.html +3 -0
- package/docs/api/types/AgentFactory.html +2 -0
- package/docs/api/types/AgentOverrides.html +2 -0
- package/docs/api/types/AutopilotPhase.html +2 -0
- package/docs/api/types/AutopilotSignal.html +2 -0
- package/docs/api/types/CommandScope.html +2 -0
- package/docs/api/types/ContextPriority.html +3 -0
- package/docs/api/types/ContextSourceType.html +3 -0
- package/docs/api/types/DelegationProvider.html +2 -0
- package/docs/api/types/DelegationTool.html +2 -0
- package/docs/api/types/ExecutionMode.html +3 -0
- package/docs/api/types/ExternalModelProvider.html +2 -0
- package/docs/api/types/GateType.html +3 -0
- package/docs/api/types/InjectionStrategy.html +2 -0
- package/docs/api/types/KeywordType.html +10 -0
- package/docs/api/types/ModelType.html +2 -0
- package/docs/api/types/QAStatus.html +2 -0
- package/docs/api/types/RecoveryErrorType.html +2 -0
- package/docs/api/types/RecoveryStoredPart.html +2 -0
- package/docs/api/types/TaskTool.html +1 -0
- package/docs/api/types/ThinkingConfig.html +2 -0
- package/docs/api/types/UltraQAGoalType.html +1 -0
- package/docs/api/types/UserStoryInput.html +2 -0
- package/docs/api/types/ValidationVerdict.html +2 -0
- package/docs/api/types/ValidationVerdictType.html +2 -0
- package/docs/api/variables/AGENTS_DIR.html +1 -0
- package/docs/api/variables/AGENTS_FILENAME.html +2 -0
- package/docs/api/variables/AGENT_TOOLS.html +2 -0
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -0
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -0
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -0
- package/docs/api/variables/BDD_KEYWORDS.html +2 -0
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -0
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -0
- package/docs/api/variables/BOULDER_DIR.html +2 -0
- package/docs/api/variables/BOULDER_FILE.html +2 -0
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -0
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -0
- package/docs/api/variables/CI_COMMANDS.html +2 -0
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -0
- package/docs/api/variables/COMMANDS_DIR.html +1 -0
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -0
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -0
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -0
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -0
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -0
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -0
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -0
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -0
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -0
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -0
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -0
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -0
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -0
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/GITHUB_API_URL.html +1 -0
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/INSTALLER_VERSION.html +2 -0
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -0
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -0
- package/docs/api/variables/MANUAL_HEADER.html +1 -0
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -0
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -0
- package/docs/api/variables/MAX_WARNINGS.html +2 -0
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -0
- package/docs/api/variables/MODE_CONFIGS.html +4 -0
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -0
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -0
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -0
- package/docs/api/variables/NOTEPAD_DIR.html +2 -0
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -0
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -0
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -0
- package/docs/api/variables/PATTERNS_HEADER.html +1 -0
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -0
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -0
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/PLAN_EXTENSION.html +2 -0
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -0
- package/docs/api/variables/PRD_FILENAME.html +1 -0
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -0
- package/docs/api/variables/PREVENTED_ERROR.html +2 -0
- package/docs/api/variables/PRIORITY_HEADER.html +1 -0
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -0
- package/docs/api/variables/PROJECT_MARKERS.html +2 -0
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -0
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -0
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -0
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -0
- package/docs/api/variables/README_FILENAME.html +2 -0
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -0
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -0
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -0
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -0
- package/docs/api/variables/REPO_NAME.html +1 -0
- package/docs/api/variables/REPO_OWNER.html +2 -0
- package/docs/api/variables/RETRY_CONFIG.html +6 -0
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -0
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -0
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -0
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/SKILL_EXTENSION.html +2 -0
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -0
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -0
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -0
- package/docs/api/variables/TARGET_TOOLS.html +2 -0
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -0
- package/docs/api/variables/THINKING_CONFIGS.html +2 -0
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -0
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -0
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -0
- package/docs/api/variables/TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -0
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -0
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -0
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/USER_RULE_DIR.html +2 -0
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -0
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -0
- package/docs/api/variables/VERSION_FILE.html +1 -0
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -0
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -0
- package/docs/api/variables/allCustomTools.html +3 -0
- package/docs/api/variables/analystAgent.html +1 -0
- package/docs/api/variables/architectAgent.html +1 -0
- package/docs/api/variables/astTools.html +2 -0
- package/docs/api/variables/contextCollector.html +2 -0
- package/docs/api/variables/criticAgent.html +1 -0
- package/docs/api/variables/designerAgent.html +1 -0
- package/docs/api/variables/executorAgent.html +1 -0
- package/docs/api/variables/exploreAgent.html +1 -0
- package/docs/api/variables/lspTools.html +2 -0
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -0
- package/docs/api/variables/omcSystemPrompt.html +2 -0
- package/docs/api/variables/omcToolNames.html +3 -0
- package/docs/api/variables/omcToolsServer.html +4 -0
- package/docs/api/variables/plannerAgent.html +1 -0
- package/docs/api/variables/researcherAgent.html +1 -0
- package/docs/api/variables/visionAgent.html +1 -0
- package/docs/api/variables/writerAgent.html +1 -0
- package/docs/features/.gitkeep +0 -0
- package/docs/getting-started/.gitkeep +0 -0
- package/docs/getting-started/concepts.md +103 -0
- package/docs/getting-started/installation.md +100 -0
- package/docs/getting-started/quickstart.md +96 -0
- package/docs/guides/.gitkeep +0 -0
- package/docs/guides/mcp-server-usage.md +240 -0
- package/docs/guides/task-templates-guide.md +153 -0
- package/docs/guides/tool-name-migration.md +97 -0
- package/docs/guides/troubleshooting-guide.md +110 -0
- package/docs/guides/v5.5.13-new-features.md +234 -0
- package/docs/guides/wizard-user-guide.md +85 -0
- package/docs/guides/workflow-recommendation-guide.md +97 -0
- package/docs/mcp/README.md +82 -0
- package/docs/mcp/client-guide.md +337 -0
- package/docs/mcp/configuration.md +292 -0
- package/docs/mcp/overview.md +204 -0
- package/docs/mcp/performance.md +300 -0
- package/docs/mcp/server-guide.md +300 -0
- package/docs/mcp-compatibility-matrix.md +52 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +187 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update.md +1395 -0
- package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1436 -0
- package/docs/plans/2026-03-05-mcp-adoption-plan.md +531 -0
- package/docs/prd/documentation-system-draft.md +227 -0
- package/docs/prd/documentation-system-rough.md +515 -0
- package/docs/prd/memory-evolution-optimize-rough.md +508 -0
- package/docs/prd/user_guide-rough.md +636 -0
- package/docs/reviews/documentation-system/review_critic.md +312 -0
- package/docs/reviews/documentation-system/review_domain.md +390 -0
- package/docs/reviews/documentation-system/review_product.md +151 -0
- package/docs/reviews/documentation-system/review_tech.md +236 -0
- package/docs/reviews/documentation-system/review_ux.md +213 -0
- package/docs/reviews/documentation-system/summary.md +149 -0
- package/docs/reviews/draft-prd-agent-observability/review_critic.md +71 -0
- package/docs/reviews/draft-prd-agent-observability/review_domain.md +100 -0
- package/docs/reviews/draft-prd-agent-observability/review_product.md +78 -0
- package/docs/reviews/draft-prd-agent-observability/review_tech.md +66 -0
- package/docs/reviews/draft-prd-agent-observability/review_ux.md +70 -0
- package/docs/reviews/draft-prd-agent-observability/rough_prd.md +135 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +302 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +237 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +140 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +240 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -0
- package/docs/reviews/draft-prd-three-directions/review_product.md +103 -0
- package/docs/reviews/draft-prd-three-directions/review_tech.md +135 -0
- package/docs/reviews/draft-prd-three-directions/review_ux.md +88 -0
- package/docs/reviews/memory-evolution-optimize/summary.md +94 -0
- package/docs/reviews/ultrapower-security/review_critic.md +450 -0
- package/docs/reviews/ultrapower-tech-review/review_tech.md +180 -0
- package/docs/reviews/user_guide/summary.md +129 -0
- package/docs/standards/AGENTS.md +1 -1
- package/docs/standards/README.md +3 -3
- package/docs/standards/agent-lifecycle.md +80 -1
- package/docs/standards/anti-patterns.md +1 -1
- package/docs/standards/audit-report.md +2 -2
- package/docs/standards/contribution-guide.md +67 -41
- package/docs/standards/hook-execution-order.md +1 -1
- package/docs/standards/runtime-protection.md +42 -1
- package/docs/standards/state-machine.md +1 -1
- package/docs/standards/user-guide.md +54 -1
- package/docs/tasks/documentation-system/implementation-plan.md +292 -0
- package/docs/tasks/documentation-system/manifest.md +425 -0
- package/docs/tasks/memory-evolution-optimize/manifest.md +475 -0
- package/docs/tasks/user_guide/manifest.md +333 -0
- package/docs/troubleshooting/agent-timeouts.md +37 -0
- package/docs/troubleshooting/common-errors.md +37 -0
- package/docs/troubleshooting/hook-failures.md +29 -0
- package/docs/troubleshooting/performance-issues.md +41 -0
- package/docs/troubleshooting/state-corruption.md +36 -0
- package/docs/troubleshooting/tool-name-length-error.md +57 -0
- package/docs/troubleshooting.md +621 -0
- package/package.json +4 -2
- package/scripts/analyze-dependencies.ts +47 -0
- package/scripts/analyze-hook-coverage.ts +55 -0
- package/scripts/bump-version.mjs +14 -10
- package/scripts/measure-memory.mjs +11 -0
- package/scripts/memory-stress-test.mjs +39 -0
- package/scripts/migrate-tool-names.js +100 -0
- package/scripts/parallel-build.mjs +15 -0
- package/scripts/performance-regression.ts +28 -0
- package/scripts/plugin-setup.mjs +117 -1
- package/scripts/profiling.ts +95 -0
- package/scripts/release-steps.mjs +10 -4
- package/scripts/run-profiling.ts +64 -0
- package/scripts/test-parallel-execution.ts +72 -0
- package/scripts/test-race-detection.ts +57 -0
- package/scripts/test-tiered-writer.ts +60 -0
- package/scripts/test-wal-integration.ts +29 -0
- package/scripts/test-wal.ts +48 -0
- package/scripts/verify-all.sh +122 -0
- package/scripts/verify-install.sh +89 -0
- package/skills/AGENTS.md +98 -28
- package/skills/ax-evolve/SKILL.md +11 -1
- package/skills/ax-export/SKILL.md +7 -8
- package/skills/ax-knowledge/AGENTS.md +27 -2
- package/skills/ax-knowledge/SKILL.md +39 -7
- package/skills/ax-reflect/SKILL.md +2 -0
- package/skills/ax-status/SKILL.md +34 -1
- package/skills/executing-plans/SKILL.md +4 -4
- package/skills/next-step-router/SKILL.md +17 -0
- package/skills/release/SKILL.md +42 -0
- package/skills/requesting-code-review/SKILL.md +3 -3
- package/skills/subagent-driven-development/SKILL.md +8 -8
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/systematic-debugging/SKILL.md +3 -3
- package/skills/trace/SKILL.md +41 -0
- package/skills/wizard/SKILL.md +103 -72
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +4 -4
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
- package/templates/tasks/README.md +45 -0
- package/templates/tasks/bug-fix.md +37 -0
- package/templates/tasks/code-review.md +36 -0
- package/templates/tasks/feature-development.md +43 -0
- package/templates/tasks/refactoring.md +37 -0
- package/templates/tasks/security-audit.md +37 -0
- package/docs/prd/ultrapower-standards-draft.md +0 -191
- package/docs/prd/ultrapower-standards-rough.md +0 -560
- package/docs/reviews/draft-prd-ultrapower-pain-fix/review_tech.md +0 -219
- package/docs/reviews/draft_prd_pain_points/review_domain.md +0 -215
- package/docs/reviews/ultrapower-full-bugfix-plan/review_product.md +0 -135
|
@@ -0,0 +1,1436 @@
|
|
|
1
|
+
# MCP 全面采用 - 原子任务清单
|
|
2
|
+
|
|
3
|
+
**日期:** 2026-03-05
|
|
4
|
+
**父计划:** docs/plans/2026-03-05-mcp-adoption-plan.md
|
|
5
|
+
**任务总数:** 42 个原子任务
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 阶段 1:MCP 服务器包装器(Week 1-2)
|
|
10
|
+
|
|
11
|
+
### 1.1.1 安装 MCP SDK 依赖
|
|
12
|
+
**父任务:** 1.1 搭建 MCP 服务器框架
|
|
13
|
+
**预计时间:** 30 分钟
|
|
14
|
+
**负责人:** executor (haiku)
|
|
15
|
+
|
|
16
|
+
**步骤:**
|
|
17
|
+
```bash
|
|
18
|
+
npm install @modelcontextprotocol/sdk
|
|
19
|
+
npm install --save-dev @types/node
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**验收:**
|
|
23
|
+
- [ ] package.json 包含 `@modelcontextprotocol/sdk`
|
|
24
|
+
- [ ] `npm run build` 成功
|
|
25
|
+
|
|
26
|
+
**输出:** `package.json`, `package-lock.json`
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### 1.1.2 创建 MCP 服务器入口文件
|
|
31
|
+
**父任务:** 1.1
|
|
32
|
+
**预计时间:** 1 小时
|
|
33
|
+
**负责人:** executor (sonnet)
|
|
34
|
+
**依赖:** 1.1.1
|
|
35
|
+
|
|
36
|
+
**步骤:**
|
|
37
|
+
1. 创建 `src/mcp/ultrapower-mcp-server.ts`
|
|
38
|
+
2. 导入 Server 和 StdioServerTransport
|
|
39
|
+
3. 初始化 Server 实例(name: 'ultrapower', version: '5.6.0')
|
|
40
|
+
4. 设置 capabilities: { tools: {} }
|
|
41
|
+
|
|
42
|
+
**验收:**
|
|
43
|
+
- [ ] 文件创建成功
|
|
44
|
+
- [ ] TypeScript 编译通过
|
|
45
|
+
- [ ] 导出 server 实例
|
|
46
|
+
|
|
47
|
+
**输出:** `src/mcp/ultrapower-mcp-server.ts`
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### 1.1.3 实现 stdio 传输层
|
|
52
|
+
**父任务:** 1.1
|
|
53
|
+
**预计时间:** 1 小时
|
|
54
|
+
**负责人:** executor (sonnet)
|
|
55
|
+
**依赖:** 1.1.2
|
|
56
|
+
|
|
57
|
+
**步骤:**
|
|
58
|
+
1. 创建 StdioServerTransport 实例
|
|
59
|
+
2. 连接 server 和 transport
|
|
60
|
+
3. 添加错误处理(process.on('uncaughtException'))
|
|
61
|
+
4. 添加优雅退出(process.on('SIGINT'))
|
|
62
|
+
|
|
63
|
+
**验收:**
|
|
64
|
+
- [ ] 可通过 `node dist/mcp/ultrapower-mcp-server.js` 启动
|
|
65
|
+
- [ ] 响应 stdin 输入
|
|
66
|
+
- [ ] 错误不导致进程崩溃
|
|
67
|
+
|
|
68
|
+
**输出:** `src/mcp/ultrapower-mcp-server.ts`(更新)
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### 1.1.4 添加日志系统
|
|
73
|
+
**父任务:** 1.1
|
|
74
|
+
**预计时间:** 30 分钟
|
|
75
|
+
**负责人:** executor (haiku)
|
|
76
|
+
**依赖:** 1.1.3
|
|
77
|
+
|
|
78
|
+
**步骤:**
|
|
79
|
+
1. 创建 `src/mcp/logger.ts`
|
|
80
|
+
2. 实现 debug/info/warn/error 方法
|
|
81
|
+
3. 输出到 stderr(不干扰 stdio 协议)
|
|
82
|
+
4. 支持 `MCP_LOG_LEVEL` 环境变量
|
|
83
|
+
|
|
84
|
+
**验收:**
|
|
85
|
+
- [ ] 日志输出到 stderr
|
|
86
|
+
- [ ] 日志级别可配置
|
|
87
|
+
- [ ] 不影响 MCP 协议通信
|
|
88
|
+
|
|
89
|
+
**输出:** `src/mcp/logger.ts`
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### 1.1.5 编写 MCP 服务器启动测试
|
|
94
|
+
**父任务:** 1.1
|
|
95
|
+
**预计时间:** 1 小时
|
|
96
|
+
**负责人:** test-engineer (sonnet)
|
|
97
|
+
**依赖:** 1.1.4
|
|
98
|
+
|
|
99
|
+
**步骤:**
|
|
100
|
+
1. 创建 `src/mcp/__tests__/server-startup.test.ts`
|
|
101
|
+
2. 测试 server 初始化
|
|
102
|
+
3. 测试 initialize 请求响应
|
|
103
|
+
4. 测试 capabilities 返回
|
|
104
|
+
|
|
105
|
+
**验收:**
|
|
106
|
+
- [ ] 测试通过
|
|
107
|
+
- [ ] 覆盖率 >80%
|
|
108
|
+
|
|
109
|
+
**输出:** `src/mcp/__tests__/server-startup.test.ts`
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
### 1.2.1 创建工具类型定义
|
|
114
|
+
**父任务:** 1.2 实现工具转换适配器
|
|
115
|
+
**预计时间:** 1 小时
|
|
116
|
+
**负责人:** executor (sonnet)
|
|
117
|
+
**依赖:** 1.1.5
|
|
118
|
+
|
|
119
|
+
**步骤:**
|
|
120
|
+
1. 创建 `src/mcp/types.ts`
|
|
121
|
+
2. 定义 MCPTool 接口
|
|
122
|
+
3. 定义 ToolCategory 枚举(LSP/AST/Python/Notepad/State/ProjectMemory/Trace/Skills)
|
|
123
|
+
4. 定义转换函数签名
|
|
124
|
+
|
|
125
|
+
**验收:**
|
|
126
|
+
- [ ] 类型定义完整
|
|
127
|
+
- [ ] 符合 MCP 规范
|
|
128
|
+
- [ ] TypeScript 编译通过
|
|
129
|
+
|
|
130
|
+
**输出:** `src/mcp/types.ts`
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### 1.2.2 实现 LSP 工具转换(12 个)
|
|
135
|
+
**父任务:** 1.2
|
|
136
|
+
**预计时间:** 2 小时
|
|
137
|
+
**负责人:** executor (sonnet)
|
|
138
|
+
**依赖:** 1.2.1
|
|
139
|
+
|
|
140
|
+
**步骤:**
|
|
141
|
+
1. 创建 `src/mcp/adapters/lsp-adapter.ts`
|
|
142
|
+
2. 转换 lsp_hover, lsp_goto_definition, lsp_find_references
|
|
143
|
+
3. 转换 lsp_document_symbols, lsp_workspace_symbols
|
|
144
|
+
4. 转换 lsp_diagnostics, lsp_diagnostics_directory
|
|
145
|
+
5. 转换 lsp_servers, lsp_prepare_rename, lsp_rename
|
|
146
|
+
6. 转换 lsp_code_actions, lsp_code_action_resolve
|
|
147
|
+
|
|
148
|
+
**验收:**
|
|
149
|
+
- [ ] 12 个 LSP 工具全部转换
|
|
150
|
+
- [ ] inputSchema 符合 JSON Schema
|
|
151
|
+
- [ ] 保留原有参数结构
|
|
152
|
+
|
|
153
|
+
**输出:** `src/mcp/adapters/lsp-adapter.ts`
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### 1.2.3 实现 AST 工具转换(2 个)
|
|
158
|
+
**父任务:** 1.2
|
|
159
|
+
**预计时间:** 30 分钟
|
|
160
|
+
**负责人:** executor (haiku)
|
|
161
|
+
**依赖:** 1.2.1
|
|
162
|
+
|
|
163
|
+
**步骤:**
|
|
164
|
+
1. 创建 `src/mcp/adapters/ast-adapter.ts`
|
|
165
|
+
2. 转换 ast_grep_search
|
|
166
|
+
3. 转换 ast_grep_replace
|
|
167
|
+
|
|
168
|
+
**验收:**
|
|
169
|
+
- [ ] 2 个 AST 工具转换完成
|
|
170
|
+
- [ ] 支持元变量语法
|
|
171
|
+
|
|
172
|
+
**输出:** `src/mcp/adapters/ast-adapter.ts`
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
### 1.2.4 实现 Python REPL 工具转换(1 个)
|
|
177
|
+
**父任务:** 1.2
|
|
178
|
+
**预计时间:** 20 分钟
|
|
179
|
+
**负责人:** executor (haiku)
|
|
180
|
+
**依赖:** 1.2.1
|
|
181
|
+
|
|
182
|
+
**步骤:**
|
|
183
|
+
1. 创建 `src/mcp/adapters/python-adapter.ts`
|
|
184
|
+
2. 转换 python_repl
|
|
185
|
+
|
|
186
|
+
**验收:**
|
|
187
|
+
- [ ] python_repl 转换完成
|
|
188
|
+
|
|
189
|
+
**输出:** `src/mcp/adapters/python-adapter.ts`
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
### 1.2.5 实现 Notepad 工具转换(6 个)
|
|
194
|
+
**父任务:** 1.2
|
|
195
|
+
**预计时间:** 1 小时
|
|
196
|
+
**负责人:** executor (sonnet)
|
|
197
|
+
**依赖:** 1.2.1
|
|
198
|
+
|
|
199
|
+
**步骤:**
|
|
200
|
+
1. 创建 `src/mcp/adapters/notepad-adapter.ts`
|
|
201
|
+
2. 转换 notepad_read, notepad_write_priority
|
|
202
|
+
3. 转换 notepad_write_working, notepad_write_manual
|
|
203
|
+
4. 转换 notepad_prune, notepad_stats
|
|
204
|
+
|
|
205
|
+
**验收:**
|
|
206
|
+
- [ ] 6 个 Notepad 工具转换完成
|
|
207
|
+
|
|
208
|
+
**输出:** `src/mcp/adapters/notepad-adapter.ts`
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
### 1.2.6 实现 State 工具转换(5 个)
|
|
213
|
+
**父任务:** 1.2
|
|
214
|
+
**预计时间:** 1 小时
|
|
215
|
+
**负责人:** executor (sonnet)
|
|
216
|
+
**依赖:** 1.2.1
|
|
217
|
+
|
|
218
|
+
**步骤:**
|
|
219
|
+
1. 创建 `src/mcp/adapters/state-adapter.ts`
|
|
220
|
+
2. 转换 state_read, state_write, state_clear
|
|
221
|
+
3. 转换 state_list_active, state_get_status
|
|
222
|
+
|
|
223
|
+
**验收:**
|
|
224
|
+
- [ ] 5 个 State 工具转换完成
|
|
225
|
+
|
|
226
|
+
**输出:** `src/mcp/adapters/state-adapter.ts`
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
### 1.2.7 实现 ProjectMemory 工具转换(4 个)
|
|
231
|
+
**父任务:** 1.2
|
|
232
|
+
**预计时间:** 45 分钟
|
|
233
|
+
**负责人:** executor (sonnet)
|
|
234
|
+
**依赖:** 1.2.1
|
|
235
|
+
|
|
236
|
+
**步骤:**
|
|
237
|
+
1. 创建 `src/mcp/adapters/memory-adapter.ts`
|
|
238
|
+
2. 转换 project_memory_read, project_memory_write
|
|
239
|
+
3. 转换 project_memory_add_note, project_memory_add_directive
|
|
240
|
+
|
|
241
|
+
**验收:**
|
|
242
|
+
- [ ] 4 个 ProjectMemory 工具转换完成
|
|
243
|
+
|
|
244
|
+
**输出:** `src/mcp/adapters/memory-adapter.ts`
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
### 1.2.8 实现 Trace 工具转换(2 个)
|
|
249
|
+
**父任务:** 1.2
|
|
250
|
+
**预计时间:** 30 分钟
|
|
251
|
+
**负责人:** executor (haiku)
|
|
252
|
+
**依赖:** 1.2.1
|
|
253
|
+
|
|
254
|
+
**步骤:**
|
|
255
|
+
1. 创建 `src/mcp/adapters/trace-adapter.ts`
|
|
256
|
+
2. 转换 trace_timeline, trace_summary
|
|
257
|
+
|
|
258
|
+
**验收:**
|
|
259
|
+
- [ ] 2 个 Trace 工具转换完成
|
|
260
|
+
|
|
261
|
+
**输出:** `src/mcp/adapters/trace-adapter.ts`
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
### 1.2.9 实现 Skills 工具转换(3 个)
|
|
266
|
+
**父任务:** 1.2
|
|
267
|
+
**预计时间:** 30 分钟
|
|
268
|
+
**负责人:** executor (haiku)
|
|
269
|
+
**依赖:** 1.2.1
|
|
270
|
+
|
|
271
|
+
**步骤:**
|
|
272
|
+
1. 创建 `src/mcp/adapters/skills-adapter.ts`
|
|
273
|
+
2. 转换 load_omc_skills_local, load_omc_skills_global
|
|
274
|
+
3. 转换 list_omc_skills
|
|
275
|
+
|
|
276
|
+
**验收:**
|
|
277
|
+
- [ ] 3 个 Skills 工具转换完成
|
|
278
|
+
|
|
279
|
+
**输出:** `src/mcp/adapters/skills-adapter.ts`
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
### 1.2.10 创建统一适配器入口
|
|
284
|
+
**父任务:** 1.2
|
|
285
|
+
**预计时间:** 1 小时
|
|
286
|
+
**负责人:** executor (sonnet)
|
|
287
|
+
**依赖:** 1.2.2-1.2.9
|
|
288
|
+
|
|
289
|
+
**步骤:**
|
|
290
|
+
1. 创建 `src/mcp/tool-adapter.ts`
|
|
291
|
+
2. 导入所有分类适配器
|
|
292
|
+
3. 实现 `convertToMCPTool()` 函数
|
|
293
|
+
4. 实现 `getAllMCPTools()` 函数
|
|
294
|
+
|
|
295
|
+
**验收:**
|
|
296
|
+
- [ ] 返回 35 个工具
|
|
297
|
+
- [ ] 工具分类正确
|
|
298
|
+
- [ ] 无重复工具名
|
|
299
|
+
|
|
300
|
+
**输出:** `src/mcp/tool-adapter.ts`
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
### 1.2.11 编写工具转换单元测试
|
|
305
|
+
**父任务:** 1.2
|
|
306
|
+
**预计时间:** 2 小时
|
|
307
|
+
**负责人:** test-engineer (sonnet)
|
|
308
|
+
**依赖:** 1.2.10
|
|
309
|
+
|
|
310
|
+
**步骤:**
|
|
311
|
+
1. 创建 `src/mcp/__tests__/tool-adapter.test.ts`
|
|
312
|
+
2. 测试每类工具转换(8 类)
|
|
313
|
+
3. 测试 inputSchema 格式
|
|
314
|
+
4. 测试工具描述完整性
|
|
315
|
+
|
|
316
|
+
**验收:**
|
|
317
|
+
- [ ] 覆盖率 >80%
|
|
318
|
+
- [ ] 所有测试通过
|
|
319
|
+
|
|
320
|
+
**输出:** `src/mcp/__tests__/tool-adapter.test.ts`
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
### 1.3.1 实现工具名称解析器
|
|
326
|
+
**父任务:** 1.3 实现工具调用路由
|
|
327
|
+
**预计时间:** 1 小时
|
|
328
|
+
**负责人:** executor (sonnet)
|
|
329
|
+
**依赖:** 1.2.11
|
|
330
|
+
|
|
331
|
+
**步骤:**
|
|
332
|
+
1. 创建 `src/mcp/tool-resolver.ts`
|
|
333
|
+
2. 实现 `resolveTool(name: string)` 函数
|
|
334
|
+
3. 支持带前缀:`mcp__plugin_ultrapower_t__lsp_hover`
|
|
335
|
+
4. 支持不带前缀:`lsp_hover`
|
|
336
|
+
5. 支持命名空间:`ultrapower:lsp_hover`
|
|
337
|
+
|
|
338
|
+
**验收:**
|
|
339
|
+
- [ ] 三种格式都能正确解析
|
|
340
|
+
- [ ] 返回统一的工具实现
|
|
341
|
+
- [ ] 未找到时返回明确错误
|
|
342
|
+
|
|
343
|
+
**输出:** `src/mcp/tool-resolver.ts`
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
### 1.3.2 实现工具调用处理器
|
|
348
|
+
**父任务:** 1.3
|
|
349
|
+
**预计时间:** 2 小时
|
|
350
|
+
**负责人:** executor (sonnet)
|
|
351
|
+
**依赖:** 1.3.1
|
|
352
|
+
|
|
353
|
+
**步骤:**
|
|
354
|
+
1. 创建 `src/mcp/tool-router.ts`
|
|
355
|
+
2. 实现 `CallToolRequestSchema` 处理器
|
|
356
|
+
3. 解析工具名称和参数
|
|
357
|
+
4. 调用现有工具实现(`src/tools/index.ts`)
|
|
358
|
+
5. 格式化返回结果
|
|
359
|
+
|
|
360
|
+
**验收:**
|
|
361
|
+
- [ ] 成功调用现有工具
|
|
362
|
+
- [ ] 参数正确传递
|
|
363
|
+
- [ ] 返回格式符合 MCP 规范
|
|
364
|
+
|
|
365
|
+
**输出:** `src/mcp/tool-router.ts`
|
|
366
|
+
|
|
367
|
+
---
|
|
368
|
+
|
|
369
|
+
### 1.3.3 添加错误处理
|
|
370
|
+
**父任务:** 1.3
|
|
371
|
+
**预计时间:** 1 小时
|
|
372
|
+
**负责人:** executor (sonnet)
|
|
373
|
+
**依赖:** 1.3.2
|
|
374
|
+
|
|
375
|
+
**步骤:**
|
|
376
|
+
1. 在 `tool-router.ts` 添加 try-catch
|
|
377
|
+
2. 处理工具未找到错误
|
|
378
|
+
3. 处理参数验证错误
|
|
379
|
+
4. 处理工具执行错误
|
|
380
|
+
5. 返回结构化错误信息
|
|
381
|
+
|
|
382
|
+
**验收:**
|
|
383
|
+
- [ ] 错误信息清晰可调试
|
|
384
|
+
- [ ] 包含错误类型和堆栈
|
|
385
|
+
- [ ] 不暴露敏感信息
|
|
386
|
+
|
|
387
|
+
**输出:** `src/mcp/tool-router.ts`(更新)
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
### 1.3.4 实现超时保护
|
|
392
|
+
**父任务:** 1.3
|
|
393
|
+
**预计时间:** 1 小时
|
|
394
|
+
**负责人:** executor (sonnet)
|
|
395
|
+
**依赖:** 1.3.3
|
|
396
|
+
|
|
397
|
+
**步骤:**
|
|
398
|
+
1. 创建 `src/mcp/timeout.ts`
|
|
399
|
+
2. 实现 `withTimeout(fn, ms)` 包装器
|
|
400
|
+
3. 默认超时 30 秒
|
|
401
|
+
4. 支持 `MCP_TOOL_TIMEOUT` 环境变量
|
|
402
|
+
|
|
403
|
+
**验收:**
|
|
404
|
+
- [ ] 超时后抛出明确错误
|
|
405
|
+
- [ ] 不阻塞其他请求
|
|
406
|
+
- [ ] 超时时间可配置
|
|
407
|
+
|
|
408
|
+
**输出:** `src/mcp/timeout.ts`
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
### 1.3.5 集成到 MCP 服务器
|
|
413
|
+
**父任务:** 1.3
|
|
414
|
+
**预计时间:** 1 小时
|
|
415
|
+
**负责人:** executor (sonnet)
|
|
416
|
+
**依赖:** 1.3.4
|
|
417
|
+
|
|
418
|
+
**步骤:**
|
|
419
|
+
1. 更新 `ultrapower-mcp-server.ts`
|
|
420
|
+
2. 注册 `tools/list` 处理器
|
|
421
|
+
3. 注册 `tools/call` 处理器
|
|
422
|
+
4. 添加请求日志
|
|
423
|
+
|
|
424
|
+
**验收:**
|
|
425
|
+
- [ ] 工具列表请求返回 35 个工具
|
|
426
|
+
- [ ] 工具调用请求正确路由
|
|
427
|
+
- [ ] 日志记录请求和响应
|
|
428
|
+
|
|
429
|
+
**输出:** `src/mcp/ultrapower-mcp-server.ts`(更新)
|
|
430
|
+
|
|
431
|
+
---
|
|
432
|
+
|
|
433
|
+
### 1.4.1 创建集成测试框架
|
|
434
|
+
**父任务:** 1.4 集成测试套件
|
|
435
|
+
**预计时间:** 1 小时
|
|
436
|
+
**负责人:** test-engineer (sonnet)
|
|
437
|
+
**依赖:** 1.3.5
|
|
438
|
+
|
|
439
|
+
**步骤:**
|
|
440
|
+
1. 创建 `src/mcp/__tests__/integration.test.ts`
|
|
441
|
+
2. 实现 MCP 客户端模拟器
|
|
442
|
+
3. 启动测试服务器
|
|
443
|
+
4. 实现请求/响应辅助函数
|
|
444
|
+
|
|
445
|
+
**验收:**
|
|
446
|
+
- [ ] 测试服务器可启动
|
|
447
|
+
- [ ] 可发送 MCP 请求
|
|
448
|
+
- [ ] 可接收 MCP 响应
|
|
449
|
+
|
|
450
|
+
**输出:** `src/mcp/__tests__/integration.test.ts`
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
### 1.4.2 测试 LSP 工具调用
|
|
455
|
+
**父任务:** 1.4
|
|
456
|
+
**预计时间:** 1 小时
|
|
457
|
+
**负责人:** test-engineer (sonnet)
|
|
458
|
+
**依赖:** 1.4.1
|
|
459
|
+
|
|
460
|
+
**步骤:**
|
|
461
|
+
1. 测试 `lsp_hover` 调用
|
|
462
|
+
2. 测试 `lsp_diagnostics` 调用
|
|
463
|
+
3. 验证参数传递正确
|
|
464
|
+
4. 验证返回结果格式
|
|
465
|
+
|
|
466
|
+
**验收:**
|
|
467
|
+
- [ ] LSP 工具调用成功
|
|
468
|
+
- [ ] 返回结果符合预期
|
|
469
|
+
|
|
470
|
+
**输出:** `src/mcp/__tests__/integration.test.ts`(更新)
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
### 1.4.3 测试其他 7 类工具
|
|
475
|
+
**父任务:** 1.4
|
|
476
|
+
**预计时间:** 2 小时
|
|
477
|
+
**负责人:** test-engineer (sonnet)
|
|
478
|
+
**依赖:** 1.4.2
|
|
479
|
+
|
|
480
|
+
**步骤:**
|
|
481
|
+
1. 测试 AST 工具(ast_grep_search)
|
|
482
|
+
2. 测试 Python REPL(python_repl)
|
|
483
|
+
3. 测试 Notepad 工具(notepad_read)
|
|
484
|
+
4. 测试 State 工具(state_read)
|
|
485
|
+
5. 测试 ProjectMemory 工具(project_memory_read)
|
|
486
|
+
6. 测试 Trace 工具(trace_timeline)
|
|
487
|
+
7. 测试 Skills 工具(list_omc_skills)
|
|
488
|
+
|
|
489
|
+
**验收:**
|
|
490
|
+
- [ ] 每类工具至少 1 个测试通过
|
|
491
|
+
- [ ] 覆盖率 >80%
|
|
492
|
+
|
|
493
|
+
**输出:** `src/mcp/__tests__/integration.test.ts`(更新)
|
|
494
|
+
|
|
495
|
+
---
|
|
496
|
+
|
|
497
|
+
### 1.4.4 测试向后兼容性
|
|
498
|
+
**父任务:** 1.4
|
|
499
|
+
**预计时间:** 1 小时
|
|
500
|
+
**负责人:** test-engineer (sonnet)
|
|
501
|
+
**依赖:** 1.4.3
|
|
502
|
+
|
|
503
|
+
**步骤:**
|
|
504
|
+
1. 使用旧前缀调用工具:`mcp__plugin_ultrapower_t__lsp_hover`
|
|
505
|
+
2. 使用新前缀调用工具:`ultrapower:lsp_hover`
|
|
506
|
+
3. 使用无前缀调用工具:`lsp_hover`
|
|
507
|
+
4. 验证三种方式都能成功
|
|
508
|
+
|
|
509
|
+
**验收:**
|
|
510
|
+
- [ ] 三种调用方式都通过
|
|
511
|
+
- [ ] 返回结果一致
|
|
512
|
+
|
|
513
|
+
**输出:** `src/mcp/__tests__/integration.test.ts`(更新)
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
517
|
+
### 1.4.5 配置 CI 流水线
|
|
518
|
+
**父任务:** 1.4
|
|
519
|
+
**预计时间:** 1 小时
|
|
520
|
+
**负责人:** test-engineer (sonnet)
|
|
521
|
+
**依赖:** 1.4.4
|
|
522
|
+
|
|
523
|
+
**步骤:**
|
|
524
|
+
1. 创建 `.github/workflows/mcp-tests.yml`
|
|
525
|
+
2. 配置测试环境(Node.js 18+)
|
|
526
|
+
3. 运行 MCP 集成测试
|
|
527
|
+
4. 上传测试报告
|
|
528
|
+
|
|
529
|
+
**验收:**
|
|
530
|
+
- [ ] CI 流水线运行成功
|
|
531
|
+
- [ ] 测试结果可见
|
|
532
|
+
|
|
533
|
+
**输出:** `.github/workflows/mcp-tests.yml`
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
### 1.5.1 更新 REFERENCE.md
|
|
538
|
+
**父任务:** 1.5 文档更新
|
|
539
|
+
**预计时间:** 1 小时
|
|
540
|
+
**负责人:** writer (haiku)
|
|
541
|
+
**依赖:** 1.4.5
|
|
542
|
+
|
|
543
|
+
**步骤:**
|
|
544
|
+
1. 打开 `docs/REFERENCE.md`
|
|
545
|
+
2. 添加 MCP 工具部分
|
|
546
|
+
3. 列出 35 个工具及其 MCP 名称
|
|
547
|
+
4. 添加使用示例
|
|
548
|
+
|
|
549
|
+
**验收:**
|
|
550
|
+
- [ ] 文档完整准确
|
|
551
|
+
- [ ] 包含所有工具
|
|
552
|
+
|
|
553
|
+
**输出:** `docs/REFERENCE.md`(更新)
|
|
554
|
+
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
### 1.5.2 创建 MCP 服务器使用指南
|
|
558
|
+
**父任务:** 1.5
|
|
559
|
+
**预计时间:** 2 小时
|
|
560
|
+
**负责人:** writer (haiku)
|
|
561
|
+
**依赖:** 1.5.1
|
|
562
|
+
|
|
563
|
+
**步骤:**
|
|
564
|
+
1. 创建 `docs/guides/mcp-server-usage.md`
|
|
565
|
+
2. 添加启动命令
|
|
566
|
+
3. 添加 Claude Desktop 配置示例
|
|
567
|
+
4. 添加 Cursor 配置示例
|
|
568
|
+
5. 添加故障排查指南
|
|
569
|
+
|
|
570
|
+
**验收:**
|
|
571
|
+
- [ ] 文档清晰易懂
|
|
572
|
+
- [ ] 包含完整配置示例
|
|
573
|
+
|
|
574
|
+
**输出:** `docs/guides/mcp-server-usage.md`
|
|
575
|
+
|
|
576
|
+
---
|
|
577
|
+
|
|
578
|
+
### 1.5.3 更新 README.md
|
|
579
|
+
**父任务:** 1.5
|
|
580
|
+
**预计时间:** 30 分钟
|
|
581
|
+
**负责人:** writer (haiku)
|
|
582
|
+
**依赖:** 1.5.2
|
|
583
|
+
|
|
584
|
+
**步骤:**
|
|
585
|
+
1. 打开 `README.md`
|
|
586
|
+
2. 添加 MCP 服务器部分
|
|
587
|
+
3. 添加快速开始示例
|
|
588
|
+
4. 链接到详细文档
|
|
589
|
+
|
|
590
|
+
**验收:**
|
|
591
|
+
- [ ] README 包含 MCP 信息
|
|
592
|
+
- [ ] 链接正确
|
|
593
|
+
|
|
594
|
+
**输出:** `README.md`(更新)
|
|
595
|
+
|
|
596
|
+
---
|
|
597
|
+
|
|
598
|
+
## 阶段 2:社区 MCP 服务器集成(Week 2-3)
|
|
599
|
+
|
|
600
|
+
### 2.1.1 创建 MCP 客户端基础类
|
|
601
|
+
**父任务:** 2.1 MCP 客户端实现
|
|
602
|
+
**预计时间:** 2 小时
|
|
603
|
+
**负责人:** executor (sonnet)
|
|
604
|
+
**依赖:** 阶段 1 完成
|
|
605
|
+
|
|
606
|
+
**步骤:**
|
|
607
|
+
1. 创建 `src/mcp/client.ts`
|
|
608
|
+
2. 定义 MCPClient 类
|
|
609
|
+
3. 实现 connect() 方法(stdio 传输)
|
|
610
|
+
4. 实现 disconnect() 方法
|
|
611
|
+
|
|
612
|
+
**验收:**
|
|
613
|
+
- [ ] 可连接到外部 MCP 服务器
|
|
614
|
+
- [ ] 连接失败时抛出明确错误
|
|
615
|
+
|
|
616
|
+
**输出:** `src/mcp/client.ts`
|
|
617
|
+
|
|
618
|
+
---
|
|
619
|
+
|
|
620
|
+
### 2.1.2 实现工具发现
|
|
621
|
+
**父任务:** 2.1
|
|
622
|
+
**预计时间:** 1 小时
|
|
623
|
+
**负责人:** executor (sonnet)
|
|
624
|
+
**依赖:** 2.1.1
|
|
625
|
+
|
|
626
|
+
**步骤:**
|
|
627
|
+
1. 实现 `listTools()` 方法
|
|
628
|
+
2. 发送 `tools/list` 请求
|
|
629
|
+
3. 解析响应
|
|
630
|
+
4. 缓存工具列表
|
|
631
|
+
|
|
632
|
+
**验收:**
|
|
633
|
+
- [ ] 成功获取外部工具列表
|
|
634
|
+
- [ ] 工具列表缓存生效
|
|
635
|
+
|
|
636
|
+
**输出:** `src/mcp/client.ts`(更新)
|
|
637
|
+
|
|
638
|
+
---
|
|
639
|
+
|
|
640
|
+
### 2.1.3 实现工具调用代理
|
|
641
|
+
**父任务:** 2.1
|
|
642
|
+
**预计时间:** 2 小时
|
|
643
|
+
**负责人:** executor (sonnet)
|
|
644
|
+
**依赖:** 2.1.2
|
|
645
|
+
|
|
646
|
+
**步骤:**
|
|
647
|
+
1. 实现 `callTool(name, args)` 方法
|
|
648
|
+
2. 发送 `tools/call` 请求
|
|
649
|
+
3. 处理响应和错误
|
|
650
|
+
4. 添加超时保护
|
|
651
|
+
|
|
652
|
+
**验收:**
|
|
653
|
+
- [ ] 成功代理工具调用
|
|
654
|
+
- [ ] 错误处理正确
|
|
655
|
+
|
|
656
|
+
**输出:** `src/mcp/client.ts`(更新)
|
|
657
|
+
|
|
658
|
+
---
|
|
659
|
+
|
|
660
|
+
### 2.1.4 实现连接重试机制
|
|
661
|
+
**父任务:** 2.1
|
|
662
|
+
**预计时间:** 1 小时
|
|
663
|
+
**负责人:** executor (sonnet)
|
|
664
|
+
**依赖:** 2.1.3
|
|
665
|
+
|
|
666
|
+
**步骤:**
|
|
667
|
+
1. 添加重试逻辑(最多 3 次)
|
|
668
|
+
2. 实现指数退避
|
|
669
|
+
3. 记录重试日志
|
|
670
|
+
4. 连接失败后标记服务器不可用
|
|
671
|
+
|
|
672
|
+
**验收:**
|
|
673
|
+
- [ ] 重试机制生效
|
|
674
|
+
- [ ] 不无限重试
|
|
675
|
+
|
|
676
|
+
**输出:** `src/mcp/client.ts`(更新)
|
|
677
|
+
|
|
678
|
+
---
|
|
679
|
+
|
|
680
|
+
### 2.1.5 编写客户端单元测试
|
|
681
|
+
**父任务:** 2.1
|
|
682
|
+
**预计时间:** 2 小时
|
|
683
|
+
**负责人:** test-engineer (sonnet)
|
|
684
|
+
**依赖:** 2.1.4
|
|
685
|
+
|
|
686
|
+
**步骤:**
|
|
687
|
+
1. 创建 `src/mcp/__tests__/client.test.ts`
|
|
688
|
+
2. 模拟外部 MCP 服务器
|
|
689
|
+
3. 测试连接、工具发现、工具调用
|
|
690
|
+
4. 测试错误场景
|
|
691
|
+
|
|
692
|
+
**验收:**
|
|
693
|
+
- [ ] 测试覆盖率 >80%
|
|
694
|
+
- [ ] 所有测试通过
|
|
695
|
+
|
|
696
|
+
**输出:** `src/mcp/__tests__/client.test.ts`
|
|
697
|
+
|
|
698
|
+
---
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
### 2.2.1 创建配置 schema
|
|
702
|
+
**父任务:** 2.2 配置系统实现
|
|
703
|
+
**预计时间:** 1 小时
|
|
704
|
+
**负责人:** executor (sonnet)
|
|
705
|
+
**依赖:** 2.1.5
|
|
706
|
+
|
|
707
|
+
**步骤:**
|
|
708
|
+
1. 创建 `src/mcp/config-schema.ts`
|
|
709
|
+
2. 定义 MCPServerConfig 接口
|
|
710
|
+
3. 使用 Zod 定义验证 schema
|
|
711
|
+
4. 导出类型和验证函数
|
|
712
|
+
|
|
713
|
+
**验收:**
|
|
714
|
+
- [ ] Schema 完整(command, args, env, disabled)
|
|
715
|
+
- [ ] 验证函数正确工作
|
|
716
|
+
|
|
717
|
+
**输出:** `src/mcp/config-schema.ts`
|
|
718
|
+
|
|
719
|
+
---
|
|
720
|
+
|
|
721
|
+
### 2.2.2 实现配置加载器
|
|
722
|
+
**父任务:** 2.2
|
|
723
|
+
**预计时间:** 2 小时
|
|
724
|
+
**负责人:** executor (sonnet)
|
|
725
|
+
**依赖:** 2.2.1
|
|
726
|
+
|
|
727
|
+
**步骤:**
|
|
728
|
+
1. 创建 `src/mcp/config-loader.ts`
|
|
729
|
+
2. 实现 `loadConfig()` 函数
|
|
730
|
+
3. 读取 `.omc/mcp-config.json` 和 `~/.omc/mcp-config.json`
|
|
731
|
+
4. 合并配置(项目级覆盖用户级)
|
|
732
|
+
5. 验证配置格式
|
|
733
|
+
|
|
734
|
+
**验收:**
|
|
735
|
+
- [ ] 正确加载两级配置
|
|
736
|
+
- [ ] 合并逻辑正确
|
|
737
|
+
- [ ] 无效配置抛出明确错误
|
|
738
|
+
|
|
739
|
+
**输出:** `src/mcp/config-loader.ts`
|
|
740
|
+
|
|
741
|
+
---
|
|
742
|
+
|
|
743
|
+
### 2.2.3 实现环境变量替换
|
|
744
|
+
**父任务:** 2.2
|
|
745
|
+
**预计时间:** 1 小时
|
|
746
|
+
**负责人:** executor (sonnet)
|
|
747
|
+
**依赖:** 2.2.2
|
|
748
|
+
|
|
749
|
+
**步骤:**
|
|
750
|
+
1. 在 `config-loader.ts` 添加 `expandEnvVars()` 函数
|
|
751
|
+
2. 支持 `${VAR_NAME}` 语法
|
|
752
|
+
3. 支持默认值:`${VAR_NAME:-default}`
|
|
753
|
+
4. 处理未定义变量
|
|
754
|
+
|
|
755
|
+
**验收:**
|
|
756
|
+
- [ ] 环境变量正确替换
|
|
757
|
+
- [ ] 默认值生效
|
|
758
|
+
- [ ] 未定义变量有明确错误
|
|
759
|
+
|
|
760
|
+
**输出:** `src/mcp/config-loader.ts`(更新)
|
|
761
|
+
|
|
762
|
+
---
|
|
763
|
+
|
|
764
|
+
### 2.2.4 编写配置加载测试
|
|
765
|
+
**父任务:** 2.2
|
|
766
|
+
**预计时间:** 1 小时
|
|
767
|
+
**负责人:** test-engineer (sonnet)
|
|
768
|
+
**依赖:** 2.2.3
|
|
769
|
+
|
|
770
|
+
**步骤:**
|
|
771
|
+
1. 创建 `src/mcp/__tests__/config-loader.test.ts`
|
|
772
|
+
2. 测试配置加载和合并
|
|
773
|
+
3. 测试环境变量替换
|
|
774
|
+
4. 测试配置验证
|
|
775
|
+
|
|
776
|
+
**验收:**
|
|
777
|
+
- [ ] 测试覆盖率 >80%
|
|
778
|
+
- [ ] 所有测试通过
|
|
779
|
+
|
|
780
|
+
**输出:** `src/mcp/__tests__/config-loader.test.ts`
|
|
781
|
+
|
|
782
|
+
---
|
|
783
|
+
|
|
784
|
+
### 2.3.1 创建命名空间管理器
|
|
785
|
+
**父任务:** 2.3 工具命名空间系统
|
|
786
|
+
**预计时间:** 2 小时
|
|
787
|
+
**负责人:** executor (sonnet)
|
|
788
|
+
**依赖:** 2.2.4
|
|
789
|
+
|
|
790
|
+
**步骤:**
|
|
791
|
+
1. 创建 `src/mcp/namespace.ts`
|
|
792
|
+
2. 实现 `NamespaceManager` 类
|
|
793
|
+
3. 实现 `registerTools(namespace, tools)` 方法
|
|
794
|
+
4. 实现 `resolveTool(name)` 方法(支持命名空间)
|
|
795
|
+
5. 实现冲突检测
|
|
796
|
+
|
|
797
|
+
**验收:**
|
|
798
|
+
- [ ] 工具注册成功
|
|
799
|
+
- [ ] 命名空间解析正确
|
|
800
|
+
- [ ] 冲突检测生效
|
|
801
|
+
|
|
802
|
+
**输出:** `src/mcp/namespace.ts`
|
|
803
|
+
|
|
804
|
+
---
|
|
805
|
+
|
|
806
|
+
### 2.3.2 集成到服务器和客户端
|
|
807
|
+
**父任务:** 2.3
|
|
808
|
+
**预计时间:** 1 小时
|
|
809
|
+
**负责人:** executor (sonnet)
|
|
810
|
+
**依赖:** 2.3.1
|
|
811
|
+
|
|
812
|
+
**步骤:**
|
|
813
|
+
1. 更新 `ultrapower-mcp-server.ts` 使用命名空间
|
|
814
|
+
2. ultrapower 工具使用 `ultrapower:` 前缀
|
|
815
|
+
3. 更新 `client.ts` 使用命名空间
|
|
816
|
+
4. 外部工具使用 `<server-name>:` 前缀
|
|
817
|
+
|
|
818
|
+
**验收:**
|
|
819
|
+
- [ ] 所有工具有正确前缀
|
|
820
|
+
- [ ] 工具调用使用命名空间
|
|
821
|
+
|
|
822
|
+
**输出:** `src/mcp/ultrapower-mcp-server.ts`, `src/mcp/client.ts`(更新)
|
|
823
|
+
|
|
824
|
+
---
|
|
825
|
+
|
|
826
|
+
### 2.3.3 编写命名空间测试
|
|
827
|
+
**父任务:** 2.3
|
|
828
|
+
**预计时间:** 1 小时
|
|
829
|
+
**负责人:** test-engineer (sonnet)
|
|
830
|
+
**依赖:** 2.3.2
|
|
831
|
+
|
|
832
|
+
**步骤:**
|
|
833
|
+
1. 创建 `src/mcp/__tests__/namespace.test.ts`
|
|
834
|
+
2. 测试工具注册和解析
|
|
835
|
+
3. 测试冲突检测
|
|
836
|
+
4. 测试向后兼容(无前缀调用)
|
|
837
|
+
|
|
838
|
+
**验收:**
|
|
839
|
+
- [ ] 测试覆盖率 >80%
|
|
840
|
+
- [ ] 所有测试通过
|
|
841
|
+
|
|
842
|
+
**输出:** `src/mcp/__tests__/namespace.test.ts`
|
|
843
|
+
|
|
844
|
+
---
|
|
845
|
+
|
|
846
|
+
### 2.4.1 测试 filesystem 服务器
|
|
847
|
+
**父任务:** 2.4 社区服务器测试
|
|
848
|
+
**预计时间:** 2 小时
|
|
849
|
+
**负责人:** test-engineer (sonnet)
|
|
850
|
+
**依赖:** 2.3.3
|
|
851
|
+
|
|
852
|
+
**步骤:**
|
|
853
|
+
1. 安装 `@modelcontextprotocol/server-filesystem`
|
|
854
|
+
2. 创建测试配置
|
|
855
|
+
3. 测试连接和工具发现
|
|
856
|
+
4. 测试 read_file, write_file 调用
|
|
857
|
+
5. 记录兼容性问题
|
|
858
|
+
|
|
859
|
+
**验收:**
|
|
860
|
+
- [ ] 连接成功
|
|
861
|
+
- [ ] 工具调用成功率 >95%
|
|
862
|
+
- [ ] 问题已记录
|
|
863
|
+
|
|
864
|
+
**输出:** `src/mcp/__tests__/community-servers.test.ts`
|
|
865
|
+
|
|
866
|
+
---
|
|
867
|
+
|
|
868
|
+
### 2.4.2 测试 github 服务器
|
|
869
|
+
**父任务:** 2.4
|
|
870
|
+
**预计时间:** 2 小时
|
|
871
|
+
**负责人:** test-engineer (sonnet)
|
|
872
|
+
**依赖:** 2.4.1
|
|
873
|
+
|
|
874
|
+
**步骤:**
|
|
875
|
+
1. 安装 `@modelcontextprotocol/server-github`
|
|
876
|
+
2. 配置 GITHUB_TOKEN(测试环境)
|
|
877
|
+
3. 测试 create_issue, list_issues 调用
|
|
878
|
+
4. 记录兼容性问题
|
|
879
|
+
|
|
880
|
+
**验收:**
|
|
881
|
+
- [ ] 连接成功
|
|
882
|
+
- [ ] 工具调用成功率 >95%
|
|
883
|
+
|
|
884
|
+
**输出:** `src/mcp/__tests__/community-servers.test.ts`(更新)
|
|
885
|
+
|
|
886
|
+
---
|
|
887
|
+
|
|
888
|
+
### 2.4.3 测试 slack 服务器
|
|
889
|
+
**父任务:** 2.4
|
|
890
|
+
**预计时间:** 2 小时
|
|
891
|
+
**负责人:** test-engineer (sonnet)
|
|
892
|
+
**依赖:** 2.4.2
|
|
893
|
+
|
|
894
|
+
**步骤:**
|
|
895
|
+
1. 安装 `@modelcontextprotocol/server-slack`
|
|
896
|
+
2. 配置 SLACK_TOKEN(测试环境)
|
|
897
|
+
3. 测试 send_message 调用
|
|
898
|
+
4. 记录兼容性问题
|
|
899
|
+
|
|
900
|
+
**验收:**
|
|
901
|
+
- [ ] 连接成功
|
|
902
|
+
- [ ] 工具调用成功率 >95%
|
|
903
|
+
|
|
904
|
+
**输出:** `src/mcp/__tests__/community-servers.test.ts`(更新)
|
|
905
|
+
|
|
906
|
+
---
|
|
907
|
+
|
|
908
|
+
### 2.4.4 创建兼容性矩阵
|
|
909
|
+
**父任务:** 2.4
|
|
910
|
+
**预计时间:** 1 小时
|
|
911
|
+
**负责人:** writer (haiku)
|
|
912
|
+
**依赖:** 2.4.3
|
|
913
|
+
|
|
914
|
+
**步骤:**
|
|
915
|
+
1. 创建 `docs/compatibility-matrix.md`
|
|
916
|
+
2. 列出测试的社区服务器
|
|
917
|
+
3. 记录兼容性状态(✅/⚠️/❌)
|
|
918
|
+
4. 记录已知限制和解决方案
|
|
919
|
+
|
|
920
|
+
**验收:**
|
|
921
|
+
- [ ] 矩阵完整
|
|
922
|
+
- [ ] 包含所有测试服务器
|
|
923
|
+
|
|
924
|
+
**输出:** `docs/compatibility-matrix.md`
|
|
925
|
+
|
|
926
|
+
---
|
|
927
|
+
|
|
928
|
+
## 阶段 3:协议标准化(Week 3-4)
|
|
929
|
+
|
|
930
|
+
### 3.1.1 更新工具注册使用新前缀
|
|
931
|
+
**父任务:** 3.1 移除自定义前缀
|
|
932
|
+
**预计时间:** 1 小时
|
|
933
|
+
**负责人:** executor (sonnet)
|
|
934
|
+
**依赖:** 阶段 2 完成
|
|
935
|
+
|
|
936
|
+
**步骤:**
|
|
937
|
+
1. 更新 `tool-adapter.ts`
|
|
938
|
+
2. 工具名称从 `mcp__plugin_ultrapower_t__lsp_hover` 改为 `ultrapower:lsp_hover`
|
|
939
|
+
3. 保留旧前缀映射(向后兼容)
|
|
940
|
+
|
|
941
|
+
**验收:**
|
|
942
|
+
- [ ] 新前缀正常工作
|
|
943
|
+
- [ ] 旧前缀仍可用
|
|
944
|
+
|
|
945
|
+
**输出:** `src/mcp/tool-adapter.ts`(更新)
|
|
946
|
+
|
|
947
|
+
---
|
|
948
|
+
|
|
949
|
+
### 3.1.2 添加废弃警告
|
|
950
|
+
**父任务:** 3.1
|
|
951
|
+
**预计时间:** 1 小时
|
|
952
|
+
**负责人:** executor (sonnet)
|
|
953
|
+
**依赖:** 3.1.1
|
|
954
|
+
|
|
955
|
+
**步骤:**
|
|
956
|
+
1. 创建 `src/mcp/deprecation.ts`
|
|
957
|
+
2. 实现 `warnDeprecated(oldName, newName)` 函数
|
|
958
|
+
3. 在工具调用时检测旧前缀
|
|
959
|
+
4. 输出警告到 stderr
|
|
960
|
+
|
|
961
|
+
**验收:**
|
|
962
|
+
- [ ] 旧前缀触发警告
|
|
963
|
+
- [ ] 警告包含迁移指南链接
|
|
964
|
+
- [ ] 不影响功能
|
|
965
|
+
|
|
966
|
+
**输出:** `src/mcp/deprecation.ts`
|
|
967
|
+
|
|
968
|
+
---
|
|
969
|
+
|
|
970
|
+
### 3.1.3 创建迁移脚本
|
|
971
|
+
**父任务:** 3.1
|
|
972
|
+
**预计时间:** 2 小时
|
|
973
|
+
**负责人:** executor (sonnet)
|
|
974
|
+
**依赖:** 3.1.2
|
|
975
|
+
|
|
976
|
+
**步骤:**
|
|
977
|
+
1. 创建 `scripts/migrate-tool-names.ts`
|
|
978
|
+
2. 扫描项目文件查找旧前缀
|
|
979
|
+
3. 替换为新前缀
|
|
980
|
+
4. 生成迁移报告
|
|
981
|
+
|
|
982
|
+
**验收:**
|
|
983
|
+
- [ ] 脚本正确识别旧前缀
|
|
984
|
+
- [ ] 替换准确
|
|
985
|
+
- [ ] 生成详细报告
|
|
986
|
+
|
|
987
|
+
**输出:** `scripts/migrate-tool-names.ts`
|
|
988
|
+
|
|
989
|
+
---
|
|
990
|
+
|
|
991
|
+
### 3.1.4 更新内部引用
|
|
992
|
+
**父任务:** 3.1
|
|
993
|
+
**预计时间:** 1 小时
|
|
994
|
+
**负责人:** executor (sonnet)
|
|
995
|
+
**依赖:** 3.1.3
|
|
996
|
+
|
|
997
|
+
**步骤:**
|
|
998
|
+
1. 运行迁移脚本
|
|
999
|
+
2. 更新测试文件
|
|
1000
|
+
3. 更新文档示例
|
|
1001
|
+
4. 验证所有引用
|
|
1002
|
+
|
|
1003
|
+
**验收:**
|
|
1004
|
+
- [ ] 无旧前缀引用(除兼容层)
|
|
1005
|
+
- [ ] 所有测试通过
|
|
1006
|
+
|
|
1007
|
+
**输出:** 多个文件更新
|
|
1008
|
+
|
|
1009
|
+
---
|
|
1010
|
+
|
|
1011
|
+
### 3.1.5 创建迁移指南
|
|
1012
|
+
**父任务:** 3.1
|
|
1013
|
+
**预计时间:** 2 小时
|
|
1014
|
+
**负责人:** writer (haiku)
|
|
1015
|
+
**依赖:** 3.1.4
|
|
1016
|
+
|
|
1017
|
+
**步骤:**
|
|
1018
|
+
1. 创建 `docs/migration-guide.md`
|
|
1019
|
+
2. 说明前缀变更
|
|
1020
|
+
3. 提供迁移步骤
|
|
1021
|
+
4. 列出常见问题
|
|
1022
|
+
|
|
1023
|
+
**验收:**
|
|
1024
|
+
- [ ] 指南清晰完整
|
|
1025
|
+
- [ ] 包含迁移脚本用法
|
|
1026
|
+
|
|
1027
|
+
**输出:** `docs/migration-guide.md`
|
|
1028
|
+
|
|
1029
|
+
---
|
|
1030
|
+
|
|
1031
|
+
### 3.2.1 创建独立包目录
|
|
1032
|
+
**父任务:** 3.2 发布 npm 包
|
|
1033
|
+
**预计时间:** 1 小时
|
|
1034
|
+
**负责人:** executor (sonnet)
|
|
1035
|
+
**依赖:** 3.1.5
|
|
1036
|
+
|
|
1037
|
+
**步骤:**
|
|
1038
|
+
1. 创建 `packages/mcp-server/` 目录
|
|
1039
|
+
2. 创建 `package.json`(name: @ultrapower/mcp-server)
|
|
1040
|
+
3. 配置入口点和 bin 脚本
|
|
1041
|
+
4. 复制必要文件
|
|
1042
|
+
|
|
1043
|
+
**验收:**
|
|
1044
|
+
- [ ] 目录结构正确
|
|
1045
|
+
- [ ] package.json 配置完整
|
|
1046
|
+
|
|
1047
|
+
**输出:** `packages/mcp-server/package.json`
|
|
1048
|
+
|
|
1049
|
+
---
|
|
1050
|
+
|
|
1051
|
+
### 3.2.2 创建包 README
|
|
1052
|
+
**父任务:** 3.2
|
|
1053
|
+
**预计时间:** 1 小时
|
|
1054
|
+
**负责人:** writer (haiku)
|
|
1055
|
+
**依赖:** 3.2.1
|
|
1056
|
+
|
|
1057
|
+
**步骤:**
|
|
1058
|
+
1. 创建 `packages/mcp-server/README.md`
|
|
1059
|
+
2. 添加安装说明
|
|
1060
|
+
3. 添加配置示例(Claude Desktop, Cursor)
|
|
1061
|
+
4. 添加工具列表
|
|
1062
|
+
|
|
1063
|
+
**验收:**
|
|
1064
|
+
- [ ] README 完整
|
|
1065
|
+
- [ ] 示例可直接使用
|
|
1066
|
+
|
|
1067
|
+
**输出:** `packages/mcp-server/README.md`
|
|
1068
|
+
|
|
1069
|
+
---
|
|
1070
|
+
|
|
1071
|
+
### 3.2.3 配置构建流程
|
|
1072
|
+
**父任务:** 3.2
|
|
1073
|
+
**预计时间:** 1 小时
|
|
1074
|
+
**负责人:** executor (sonnet)
|
|
1075
|
+
**依赖:** 3.2.2
|
|
1076
|
+
|
|
1077
|
+
**步骤:**
|
|
1078
|
+
1. 添加构建脚本到 `packages/mcp-server/package.json`
|
|
1079
|
+
2. 配置 TypeScript 编译
|
|
1080
|
+
3. 测试本地构建
|
|
1081
|
+
|
|
1082
|
+
**验收:**
|
|
1083
|
+
- [ ] `npm run build` 成功
|
|
1084
|
+
- [ ] 生成可执行文件
|
|
1085
|
+
|
|
1086
|
+
**输出:** `packages/mcp-server/package.json`(更新)
|
|
1087
|
+
|
|
1088
|
+
---
|
|
1089
|
+
|
|
1090
|
+
### 3.2.4 发布到 npm
|
|
1091
|
+
**父任务:** 3.2
|
|
1092
|
+
**预计时间:** 30 分钟
|
|
1093
|
+
**负责人:** executor (sonnet)
|
|
1094
|
+
**依赖:** 3.2.3
|
|
1095
|
+
|
|
1096
|
+
**步骤:**
|
|
1097
|
+
1. 验证包内容(`npm pack`)
|
|
1098
|
+
2. 发布到 npm(`npm publish --access public`)
|
|
1099
|
+
3. 验证安装(`npx @ultrapower/mcp-server --version`)
|
|
1100
|
+
|
|
1101
|
+
**验收:**
|
|
1102
|
+
- [ ] 包发布成功
|
|
1103
|
+
- [ ] 可通过 npx 运行
|
|
1104
|
+
|
|
1105
|
+
**输出:** npm 包
|
|
1106
|
+
|
|
1107
|
+
---
|
|
1108
|
+
|
|
1109
|
+
### 3.3.1 实现废弃时间戳检查
|
|
1110
|
+
**父任务:** 3.3 向后兼容层
|
|
1111
|
+
**预计时间:** 1 小时
|
|
1112
|
+
**负责人:** executor (sonnet)
|
|
1113
|
+
**依赖:** 3.2.4
|
|
1114
|
+
|
|
1115
|
+
**步骤:**
|
|
1116
|
+
1. 在 `deprecation.ts` 添加时间戳常量(2026-09-05)
|
|
1117
|
+
2. 实现 `isDeprecationExpired()` 函数
|
|
1118
|
+
3. 过期后抛出错误而非警告
|
|
1119
|
+
|
|
1120
|
+
**验收:**
|
|
1121
|
+
- [ ] 时间戳检查正确
|
|
1122
|
+
- [ ] 过期后行为符合预期
|
|
1123
|
+
|
|
1124
|
+
**输出:** `src/mcp/deprecation.ts`(更新)
|
|
1125
|
+
|
|
1126
|
+
---
|
|
1127
|
+
|
|
1128
|
+
### 3.3.2 实现自动迁移提示
|
|
1129
|
+
**父任务:** 3.3
|
|
1130
|
+
**预计时间:** 1 小时
|
|
1131
|
+
**负责人:** executor (sonnet)
|
|
1132
|
+
**依赖:** 3.3.1
|
|
1133
|
+
|
|
1134
|
+
**步骤:**
|
|
1135
|
+
1. 在警告中添加迁移脚本命令
|
|
1136
|
+
2. 添加文档链接
|
|
1137
|
+
3. 首次警告后记录到文件(避免重复)
|
|
1138
|
+
|
|
1139
|
+
**验收:**
|
|
1140
|
+
- [ ] 提示清晰有用
|
|
1141
|
+
- [ ] 不重复显示
|
|
1142
|
+
|
|
1143
|
+
**输出:** `src/mcp/deprecation.ts`(更新)
|
|
1144
|
+
|
|
1145
|
+
---
|
|
1146
|
+
|
|
1147
|
+
### 3.3.3 创建用户通知 hook
|
|
1148
|
+
**父任务:** 3.3
|
|
1149
|
+
**预计时间:** 1 小时
|
|
1150
|
+
**负责人:** executor (sonnet)
|
|
1151
|
+
**依赖:** 3.3.2
|
|
1152
|
+
|
|
1153
|
+
**步骤:**
|
|
1154
|
+
1. 创建 `src/hooks/mcp-migration-notice/`
|
|
1155
|
+
2. 首次启动时显示迁移通知
|
|
1156
|
+
3. 记录已通知状态
|
|
1157
|
+
|
|
1158
|
+
**验收:**
|
|
1159
|
+
- [ ] 首次启动显示通知
|
|
1160
|
+
- [ ] 不重复通知
|
|
1161
|
+
|
|
1162
|
+
**输出:** `src/hooks/mcp-migration-notice/`
|
|
1163
|
+
|
|
1164
|
+
---
|
|
1165
|
+
|
|
1166
|
+
### 3.3.4 添加禁用警告选项
|
|
1167
|
+
**父任务:** 3.3
|
|
1168
|
+
**预计时间:** 30 分钟
|
|
1169
|
+
**负责人:** executor (sonnet)
|
|
1170
|
+
**依赖:** 3.3.3
|
|
1171
|
+
|
|
1172
|
+
**步骤:**
|
|
1173
|
+
1. 支持 `MCP_DISABLE_DEPRECATION_WARNINGS` 环境变量
|
|
1174
|
+
2. 更新文档说明
|
|
1175
|
+
|
|
1176
|
+
**验收:**
|
|
1177
|
+
- [ ] 环境变量生效
|
|
1178
|
+
- [ ] 文档已更新
|
|
1179
|
+
|
|
1180
|
+
**输出:** `src/mcp/deprecation.ts`(更新)
|
|
1181
|
+
|
|
1182
|
+
---
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
### 3.4.1 创建 MCP 总览文档
|
|
1186
|
+
**父任务:** 3.4 生态系统文档
|
|
1187
|
+
**预计时间:** 1 小时
|
|
1188
|
+
**负责人:** writer (haiku)
|
|
1189
|
+
**依赖:** 3.3.4
|
|
1190
|
+
|
|
1191
|
+
**步骤:**
|
|
1192
|
+
1. 创建 `docs/mcp/README.md`
|
|
1193
|
+
2. 说明 MCP 是什么
|
|
1194
|
+
3. ultrapower MCP 集成概览
|
|
1195
|
+
4. 链接到详细指南
|
|
1196
|
+
|
|
1197
|
+
**验收:**
|
|
1198
|
+
- [ ] 文档清晰易懂
|
|
1199
|
+
- [ ] 包含所有链接
|
|
1200
|
+
|
|
1201
|
+
**输出:** `docs/mcp/README.md`
|
|
1202
|
+
|
|
1203
|
+
---
|
|
1204
|
+
|
|
1205
|
+
### 3.4.2 创建服务器使用指南
|
|
1206
|
+
**父任务:** 3.4
|
|
1207
|
+
**预计时间:** 2 小时
|
|
1208
|
+
**负责人:** writer (haiku)
|
|
1209
|
+
**依赖:** 3.4.1
|
|
1210
|
+
|
|
1211
|
+
**步骤:**
|
|
1212
|
+
1. 创建 `docs/mcp/server-guide.md`
|
|
1213
|
+
2. 说明如何启动 ultrapower MCP 服务器
|
|
1214
|
+
3. 配置 Claude Desktop
|
|
1215
|
+
4. 配置 Cursor
|
|
1216
|
+
5. 故障排查
|
|
1217
|
+
|
|
1218
|
+
**验收:**
|
|
1219
|
+
- [ ] 指南完整
|
|
1220
|
+
- [ ] 配置示例可用
|
|
1221
|
+
|
|
1222
|
+
**输出:** `docs/mcp/server-guide.md`
|
|
1223
|
+
|
|
1224
|
+
---
|
|
1225
|
+
|
|
1226
|
+
### 3.4.3 创建客户端集成指南
|
|
1227
|
+
**父任务:** 3.4
|
|
1228
|
+
**预计时间:** 1 小时
|
|
1229
|
+
**负责人:** writer (haiku)
|
|
1230
|
+
**依赖:** 3.4.2
|
|
1231
|
+
|
|
1232
|
+
**步骤:**
|
|
1233
|
+
1. 创建 `docs/mcp/client-guide.md`
|
|
1234
|
+
2. 说明如何使用社区 MCP 服务器
|
|
1235
|
+
3. 配置示例
|
|
1236
|
+
4. 工具命名空间说明
|
|
1237
|
+
|
|
1238
|
+
**验收:**
|
|
1239
|
+
- [ ] 指南完整
|
|
1240
|
+
- [ ] 示例可用
|
|
1241
|
+
|
|
1242
|
+
**输出:** `docs/mcp/client-guide.md`
|
|
1243
|
+
|
|
1244
|
+
---
|
|
1245
|
+
|
|
1246
|
+
### 3.4.4 创建配置示例集
|
|
1247
|
+
**父任务:** 3.4
|
|
1248
|
+
**预计时间:** 1 小时
|
|
1249
|
+
**负责人:** writer (haiku)
|
|
1250
|
+
**依赖:** 3.4.3
|
|
1251
|
+
|
|
1252
|
+
**步骤:**
|
|
1253
|
+
1. 创建 `docs/mcp/examples/` 目录
|
|
1254
|
+
2. Claude Desktop 配置示例
|
|
1255
|
+
3. Cursor 配置示例
|
|
1256
|
+
4. 常见社区服务器配置
|
|
1257
|
+
|
|
1258
|
+
**验收:**
|
|
1259
|
+
- [ ] 至少 5 个示例
|
|
1260
|
+
- [ ] 示例可直接使用
|
|
1261
|
+
|
|
1262
|
+
**输出:** `docs/mcp/examples/*.json`
|
|
1263
|
+
|
|
1264
|
+
---
|
|
1265
|
+
|
|
1266
|
+
### 3.5.1 创建基准测试框架
|
|
1267
|
+
**父任务:** 3.5 性能基准测试
|
|
1268
|
+
**预计时间:** 2 小时
|
|
1269
|
+
**负责人:** performance-reviewer (sonnet)
|
|
1270
|
+
**依赖:** 3.4.4
|
|
1271
|
+
|
|
1272
|
+
**步骤:**
|
|
1273
|
+
1. 创建 `benchmark/mcp-performance.ts`
|
|
1274
|
+
2. 实现工具调用延迟测试
|
|
1275
|
+
3. 实现工具列表查询测试
|
|
1276
|
+
4. 实现内存占用测试
|
|
1277
|
+
|
|
1278
|
+
**验收:**
|
|
1279
|
+
- [ ] 测试框架可运行
|
|
1280
|
+
- [ ] 输出结构化结果
|
|
1281
|
+
|
|
1282
|
+
**输出:** `benchmark/mcp-performance.ts`
|
|
1283
|
+
|
|
1284
|
+
---
|
|
1285
|
+
|
|
1286
|
+
### 3.5.2 运行基准测试
|
|
1287
|
+
**父任务:** 3.5
|
|
1288
|
+
**预计时间:** 1 小时
|
|
1289
|
+
**负责人:** performance-reviewer (sonnet)
|
|
1290
|
+
**依赖:** 3.5.1
|
|
1291
|
+
|
|
1292
|
+
**步骤:**
|
|
1293
|
+
1. 运行 MCP 调用基准测试
|
|
1294
|
+
2. 运行原生调用基准测试
|
|
1295
|
+
3. 对比结果
|
|
1296
|
+
4. 记录性能数据
|
|
1297
|
+
|
|
1298
|
+
**验收:**
|
|
1299
|
+
- [ ] 延迟增加 <5%
|
|
1300
|
+
- [ ] 内存增加 <10MB
|
|
1301
|
+
- [ ] 数据已记录
|
|
1302
|
+
|
|
1303
|
+
**输出:** 性能数据
|
|
1304
|
+
|
|
1305
|
+
---
|
|
1306
|
+
|
|
1307
|
+
### 3.5.3 生成性能报告
|
|
1308
|
+
**父任务:** 3.5
|
|
1309
|
+
**预计时间:** 1 小时
|
|
1310
|
+
**负责人:** writer (haiku)
|
|
1311
|
+
**依赖:** 3.5.2
|
|
1312
|
+
|
|
1313
|
+
**步骤:**
|
|
1314
|
+
1. 创建 `docs/performance-report.md`
|
|
1315
|
+
2. 汇总性能数据
|
|
1316
|
+
3. 生成对比图表
|
|
1317
|
+
4. 添加结论和建议
|
|
1318
|
+
|
|
1319
|
+
**验收:**
|
|
1320
|
+
- [ ] 报告完整
|
|
1321
|
+
- [ ] 包含图表
|
|
1322
|
+
- [ ] 结论明确
|
|
1323
|
+
|
|
1324
|
+
**输出:** `docs/performance-report.md`
|
|
1325
|
+
|
|
1326
|
+
---
|
|
1327
|
+
|
|
1328
|
+
## 任务统计
|
|
1329
|
+
|
|
1330
|
+
**总任务数:** 42 个原子任务
|
|
1331
|
+
|
|
1332
|
+
**按阶段分布:**
|
|
1333
|
+
- 阶段 1(MCP 服务器包装器):17 个任务
|
|
1334
|
+
- 阶段 2(社区服务器集成):14 个任务
|
|
1335
|
+
- 阶段 3(协议标准化):11 个任务
|
|
1336
|
+
|
|
1337
|
+
**按负责人分布:**
|
|
1338
|
+
- executor (sonnet):24 个任务
|
|
1339
|
+
- test-engineer (sonnet):10 个任务
|
|
1340
|
+
- writer (haiku):7 个任务
|
|
1341
|
+
- performance-reviewer (sonnet):1 个任务
|
|
1342
|
+
|
|
1343
|
+
**预计总工时:** 52 小时(约 6.5 个工作日)
|
|
1344
|
+
|
|
1345
|
+
---
|
|
1346
|
+
|
|
1347
|
+
## 依赖关系图(简化)
|
|
1348
|
+
|
|
1349
|
+
```
|
|
1350
|
+
阶段 1:
|
|
1351
|
+
1.1.1 → 1.1.2 → 1.1.3 → 1.1.4 → 1.1.5
|
|
1352
|
+
↓
|
|
1353
|
+
1.2.1 → [1.2.2-1.2.9 并行] → 1.2.10 → 1.2.11
|
|
1354
|
+
↓
|
|
1355
|
+
1.3.1 → 1.3.2 → 1.3.3 → 1.3.4 → 1.3.5
|
|
1356
|
+
↓
|
|
1357
|
+
1.4.1 → 1.4.2 → 1.4.3 → 1.4.4 → 1.4.5
|
|
1358
|
+
↓
|
|
1359
|
+
1.5.1 → 1.5.2 → 1.5.3
|
|
1360
|
+
|
|
1361
|
+
阶段 2:
|
|
1362
|
+
2.1.1 → 2.1.2 → 2.1.3 → 2.1.4 → 2.1.5
|
|
1363
|
+
↓
|
|
1364
|
+
2.2.1 → 2.2.2 → 2.2.3 → 2.2.4
|
|
1365
|
+
↓
|
|
1366
|
+
2.3.1 → 2.3.2 → 2.3.3
|
|
1367
|
+
↓
|
|
1368
|
+
2.4.1 → 2.4.2 → 2.4.3 → 2.4.4
|
|
1369
|
+
|
|
1370
|
+
阶段 3:
|
|
1371
|
+
3.1.1 → 3.1.2 → 3.1.3 → 3.1.4 → 3.1.5
|
|
1372
|
+
↓
|
|
1373
|
+
3.2.1 → 3.2.2 → 3.2.3 → 3.2.4
|
|
1374
|
+
↓
|
|
1375
|
+
3.3.1 → 3.3.2 → 3.3.3 → 3.3.4
|
|
1376
|
+
↓
|
|
1377
|
+
3.4.1 → 3.4.2 → 3.4.3 → 3.4.4
|
|
1378
|
+
↓
|
|
1379
|
+
3.5.1 → 3.5.2 → 3.5.3
|
|
1380
|
+
```
|
|
1381
|
+
|
|
1382
|
+
---
|
|
1383
|
+
|
|
1384
|
+
## 关键路径
|
|
1385
|
+
|
|
1386
|
+
**最长路径(关键路径):**
|
|
1387
|
+
1.1.1 → 1.1.2 → 1.1.3 → 1.1.4 → 1.1.5 → 1.2.1 → 1.2.10 → 1.2.11 → 1.3.1 → 1.3.2 → 1.3.3 → 1.3.4 → 1.3.5 → 1.4.1 → 1.4.2 → 1.4.3 → 1.4.4 → 1.4.5 → 1.5.1 → 1.5.2 → 1.5.3 → 2.1.1 → 2.1.2 → 2.1.3 → 2.1.4 → 2.1.5 → 2.2.1 → 2.2.2 → 2.2.3 → 2.2.4 → 2.3.1 → 2.3.2 → 2.3.3 → 2.4.1 → 2.4.2 → 2.4.3 → 2.4.4 → 3.1.1 → 3.1.2 → 3.1.3 → 3.1.4 → 3.1.5 → 3.2.1 → 3.2.2 → 3.2.3 → 3.2.4 → 3.3.1 → 3.3.2 → 3.3.3 → 3.3.4 → 3.4.1 → 3.4.2 → 3.4.3 → 3.4.4 → 3.5.1 → 3.5.2 → 3.5.3
|
|
1388
|
+
|
|
1389
|
+
**关键路径长度:** 52 小时
|
|
1390
|
+
|
|
1391
|
+
---
|
|
1392
|
+
|
|
1393
|
+
## 并行化机会
|
|
1394
|
+
|
|
1395
|
+
**可并行执行的任务组:**
|
|
1396
|
+
|
|
1397
|
+
1. **工具适配器(1.2.2-1.2.9):** 8 个任务可并行
|
|
1398
|
+
- 预计节省:6 小时
|
|
1399
|
+
|
|
1400
|
+
2. **社区服务器测试(2.4.1-2.4.3):** 3 个任务可并行
|
|
1401
|
+
- 预计节省:2 小时
|
|
1402
|
+
|
|
1403
|
+
**优化后总工时:** 44 小时(约 5.5 个工作日)
|
|
1404
|
+
|
|
1405
|
+
---
|
|
1406
|
+
|
|
1407
|
+
## 验收标准总览
|
|
1408
|
+
|
|
1409
|
+
**阶段 1 完成标准:**
|
|
1410
|
+
- [ ] 所有 17 个任务验收通过
|
|
1411
|
+
- [ ] MCP 服务器可独立启动
|
|
1412
|
+
- [ ] 35 工具全部可通过 MCP 调用
|
|
1413
|
+
- [ ] 集成测试通过率 100%
|
|
1414
|
+
|
|
1415
|
+
**阶段 2 完成标准:**
|
|
1416
|
+
- [ ] 所有 14 个任务验收通过
|
|
1417
|
+
- [ ] 成功连接 ≥3 个社区 MCP 服务器
|
|
1418
|
+
- [ ] 工具命名空间无冲突
|
|
1419
|
+
- [ ] 兼容性矩阵完成
|
|
1420
|
+
|
|
1421
|
+
**阶段 3 完成标准:**
|
|
1422
|
+
- [ ] 所有 11 个任务验收通过
|
|
1423
|
+
- [ ] 旧前缀废弃警告生效
|
|
1424
|
+
- [ ] npm 包发布成功
|
|
1425
|
+
- [ ] 性能下降 <5%
|
|
1426
|
+
|
|
1427
|
+
**整体完成标准:**
|
|
1428
|
+
- [ ] 所有 42 个原子任务完成
|
|
1429
|
+
- [ ] CI/CD 流水线全绿
|
|
1430
|
+
- [ ] 文档完整
|
|
1431
|
+
- [ ] 性能达标
|
|
1432
|
+
|
|
1433
|
+
---
|
|
1434
|
+
|
|
1435
|
+
**文档状态:** ✅ 原子任务清单已完成
|
|
1436
|
+
**下一步:** 等待用户批准,然后开始执行
|