@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
package/docs/FEATURES.md
CHANGED
|
@@ -1,620 +1,1238 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- ultrapower v5.5.5 | updated: 2026-03-02 -->
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# ultrapower Features — v5.5.5
|
|
4
|
+
|
|
5
|
+
> 完整功能参考文档,面向 ultrapower 开发者与高级用户。
|
|
4
6
|
|
|
5
7
|
## 目录
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
|
|
9
|
+
1. [Notepad System(6 个工具)](#notepad-system)
|
|
10
|
+
2. [State Management(5 个工具)](#state-management)
|
|
11
|
+
3. [Project Memory(4 个工具)](#project-memory)
|
|
12
|
+
4. [LSP / AST / Python REPL](#lsp--ast--python-repl)
|
|
13
|
+
5. [Delegation Enforcer(v5.5.2 新增)](#delegation-enforcer)
|
|
14
|
+
6. [Axiom Integration(14 agents,14 skills,2 hooks)](#axiom-integration)
|
|
15
|
+
7. [Execution Modes Deep Dive](#execution-modes-deep-dive)
|
|
16
|
+
8. [Hook System](#hook-system)
|
|
17
|
+
9. [Windows Support(v5.5.x 修复)](#windows-support)
|
|
18
|
+
10. [MCP Routing](#mcp-routing)
|
|
14
19
|
|
|
15
20
|
---
|
|
16
21
|
|
|
17
|
-
## Notepad
|
|
22
|
+
## Notepad System
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
**会话记忆系统**,提供跨工具调用的上下文持久化。所有内容存储在 `{worktree}/.omc/notepad.md`,按章节组织,支持自动清理。
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
- **decisions.md**:架构选择及其理由
|
|
23
|
-
- **issues.md**:问题和阻塞项
|
|
24
|
-
- **problems.md**:技术债务和注意事项
|
|
26
|
+
### 工具列表(共 6 个)
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
#### `notepad_read`
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
读取 notepad 内容,支持按章节过滤。
|
|
29
31
|
|
|
30
32
|
```typescript
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
notepad_read(section?: 'all' | 'priority' | 'working' | 'manual'): string
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
| 章节 | 描述 |
|
|
37
|
+
|------|------|
|
|
38
|
+
| `all` | 读取全部内容(默认) |
|
|
39
|
+
| `priority` | 仅读取优先上下文(会话启动时自动加载) |
|
|
40
|
+
| `working` | 读取工作记忆(带时间戳,7 天后自动清理) |
|
|
41
|
+
| `manual` | 读取手动记录(永久保存) |
|
|
42
|
+
|
|
43
|
+
#### `notepad_write_priority`
|
|
33
44
|
|
|
34
|
-
|
|
35
|
-
addLearning(planName: string, content: string, directory?: string): boolean
|
|
36
|
-
addDecision(planName: string, content: string, directory?: string): boolean
|
|
37
|
-
addIssue(planName: string, content: string, directory?: string): boolean
|
|
38
|
-
addProblem(planName: string, content: string, directory?: string): boolean
|
|
45
|
+
写入优先上下文,限制 500 字符,会话启动时自动注入系统提示词。
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
```typescript
|
|
48
|
+
notepad_write_priority(content: string): void
|
|
49
|
+
// 注意:content 最多 500 字符
|
|
50
|
+
// 超出限制时自动截断,并给出警告
|
|
43
51
|
```
|
|
44
52
|
|
|
45
|
-
|
|
53
|
+
**适用场景**:记录当前任务状态、关键约束、用户偏好等需要跨会话持久化的关键信息。
|
|
54
|
+
|
|
55
|
+
#### `notepad_write_working`
|
|
56
|
+
|
|
57
|
+
写入工作记忆,自动附加时间戳,7 天后由 `notepad_prune` 自动清理。
|
|
46
58
|
|
|
47
59
|
```typescript
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
60
|
+
notepad_write_working(content: string): void
|
|
61
|
+
// 内容格式:自动附加 <!-- ts: ISO8601 --> 标记
|
|
62
|
+
```
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
**适用场景**:记录执行中间结果、调试信息、临时决策等短期信息。
|
|
54
65
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
66
|
+
#### `notepad_write_manual`
|
|
67
|
+
|
|
68
|
+
写入手动记录,永久保存,不受自动清理影响。
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
notepad_write_manual(content: string): void
|
|
62
72
|
```
|
|
63
73
|
|
|
64
|
-
|
|
74
|
+
**适用场景**:记录重要决策、架构约束、用户明确要求保留的信息。
|
|
75
|
+
|
|
76
|
+
#### `notepad_prune`
|
|
77
|
+
|
|
78
|
+
清理 N 天前的工作记忆条目,释放空间。
|
|
65
79
|
|
|
66
80
|
```typescript
|
|
67
|
-
|
|
81
|
+
notepad_prune(olderThanDays?: number): { pruned: number }
|
|
82
|
+
// olderThanDays 默认为 7
|
|
83
|
+
```
|
|
68
84
|
|
|
69
|
-
|
|
70
|
-
initPlanNotepad('api-v2-migration');
|
|
71
|
-
addLearning('api-v2-migration', 'API routes use Express Router pattern in src/routes/');
|
|
85
|
+
#### `notepad_stats`
|
|
72
86
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
87
|
+
获取 notepad 统计信息,包括条目数、字符数、各章节分布。
|
|
88
|
+
|
|
89
|
+
```typescript
|
|
90
|
+
notepad_stats(): {
|
|
91
|
+
totalChars: number;
|
|
92
|
+
priorityChars: number;
|
|
93
|
+
workingEntries: number;
|
|
94
|
+
manualEntries: number;
|
|
95
|
+
oldestWorkingEntry?: string;
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### 存储格式
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
<!-- .omc/notepad.md -->
|
|
103
|
+
## priority
|
|
104
|
+
[最多 500 字符的优先上下文]
|
|
105
|
+
|
|
106
|
+
## working
|
|
107
|
+
<!-- ts: 2026-03-02T10:00:00Z -->
|
|
108
|
+
[工作记忆条目]
|
|
109
|
+
|
|
110
|
+
## manual
|
|
111
|
+
[永久手动记录]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### 禁用方式
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
OMC_DISABLE_TOOLS=notepad # 禁用全部 notepad 工具
|
|
76
118
|
```
|
|
77
119
|
|
|
78
120
|
---
|
|
79
121
|
|
|
80
|
-
##
|
|
122
|
+
## State Management
|
|
81
123
|
|
|
82
|
-
|
|
124
|
+
**执行模式状态管理系统**,追踪各执行模式的运行状态和进度。所有状态文件存储在 `{worktree}/.omc/state/` 目录下。
|
|
83
125
|
|
|
84
|
-
###
|
|
126
|
+
### 工具列表(共 5 个)
|
|
85
127
|
|
|
86
|
-
|
|
87
|
-
|----------|------|------|----------|---------|
|
|
88
|
-
| `visual-engineering` | HIGH | 0.7 | high | UI/UX、前端、设计系统 |
|
|
89
|
-
| `ultrabrain` | HIGH | 0.3 | max | 复杂推理、架构、调试 |
|
|
90
|
-
| `artistry` | MEDIUM | 0.9 | medium | 创意方案、头脑风暴 |
|
|
91
|
-
| `quick` | LOW | 0.1 | low | 简单查询、基本操作 |
|
|
92
|
-
| `writing` | MEDIUM | 0.5 | medium | 文档、技术写作 |
|
|
93
|
-
| `unspecified-low` | LOW | 0.1 | low | 简单任务的默认值 |
|
|
94
|
-
| `unspecified-high` | HIGH | 0.5 | high | 复杂任务的默认值 |
|
|
128
|
+
#### `state_read`
|
|
95
129
|
|
|
96
|
-
|
|
130
|
+
读取指定执行模式的当前状态。
|
|
97
131
|
|
|
98
132
|
```typescript
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// 从提示词自动检测
|
|
103
|
-
detectCategoryFromPrompt(taskPrompt: string): DelegationCategory | null
|
|
133
|
+
state_read(mode: ExecutionMode): ModeState | null
|
|
134
|
+
```
|
|
104
135
|
|
|
105
|
-
|
|
106
|
-
getCategoryForTask(context: CategoryContext): ResolvedCategory
|
|
136
|
+
#### `state_write`
|
|
107
137
|
|
|
108
|
-
|
|
109
|
-
enhancePromptWithCategory(taskPrompt: string, category: DelegationCategory): string
|
|
138
|
+
写入或更新执行模式状态,支持深度合并。
|
|
110
139
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
getCategoryTemperature(category: DelegationCategory): number
|
|
114
|
-
getCategoryThinkingBudget(category: DelegationCategory): ThinkingBudget
|
|
115
|
-
getCategoryThinkingBudgetTokens(category: DelegationCategory): number
|
|
116
|
-
getCategoryPromptAppend(category: DelegationCategory): string
|
|
140
|
+
```typescript
|
|
141
|
+
state_write(mode: ExecutionMode, data: Partial<ModeState>): boolean
|
|
117
142
|
```
|
|
118
143
|
|
|
119
|
-
|
|
144
|
+
#### `state_clear`
|
|
145
|
+
|
|
146
|
+
清除指定模式的状态文件,重置到初始状态。
|
|
120
147
|
|
|
121
148
|
```typescript
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
| 'ultrabrain'
|
|
125
|
-
| 'artistry'
|
|
126
|
-
| 'quick'
|
|
127
|
-
| 'writing'
|
|
128
|
-
| 'unspecified-low'
|
|
129
|
-
| 'unspecified-high';
|
|
149
|
+
state_clear(mode: ExecutionMode): boolean
|
|
150
|
+
```
|
|
130
151
|
|
|
131
|
-
|
|
152
|
+
#### `state_list_active`
|
|
132
153
|
|
|
133
|
-
|
|
134
|
-
category: DelegationCategory;
|
|
135
|
-
tier: ComplexityTier;
|
|
136
|
-
temperature: number;
|
|
137
|
-
thinkingBudget: ThinkingBudget;
|
|
138
|
-
description: string;
|
|
139
|
-
promptAppend?: string;
|
|
140
|
-
}
|
|
154
|
+
列出所有当前活跃(`active: true`)的执行模式。
|
|
141
155
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
agentType?: string;
|
|
145
|
-
explicitCategory?: DelegationCategory;
|
|
146
|
-
explicitTier?: ComplexityTier;
|
|
147
|
-
}
|
|
156
|
+
```typescript
|
|
157
|
+
state_list_active(): ExecutionMode[]
|
|
148
158
|
```
|
|
149
159
|
|
|
150
|
-
|
|
160
|
+
#### `state_get_status`
|
|
161
|
+
|
|
162
|
+
获取指定模式或所有模式的详细状态汇总。
|
|
151
163
|
|
|
152
164
|
```typescript
|
|
153
|
-
|
|
165
|
+
state_get_status(mode?: ExecutionMode): StatusSummary | Record<ExecutionMode, StatusSummary>
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### 支持的执行模式
|
|
169
|
+
|
|
170
|
+
| 模式 | 状态文件路径 | 描述 |
|
|
171
|
+
|------|------------|------|
|
|
172
|
+
| `autopilot` | `.omc/state/autopilot-state.json` | 全自主执行状态 |
|
|
173
|
+
| `ultrapilot` | `.omc/state/ultrapilot-state.json` | 并行 autopilot 状态 |
|
|
174
|
+
| `team` | `.omc/state/team-state.json` | 团队协调状态 |
|
|
175
|
+
| `pipeline` | `.omc/state/pipeline-state.json` | 流水线状态 |
|
|
176
|
+
| `ralph` | `.omc/state/ralph-state.json` | 持续执行状态 |
|
|
177
|
+
| `ultrawork` | `.omc/state/ultrawork-state.json` | 并行工作状态 |
|
|
178
|
+
| `ultraqa` | `.omc/state/ultraqa-state.json` | QA 循环状态 |
|
|
179
|
+
| `ralplan` | `.omc/state/ralplan-state.json` | 共识规划状态 |
|
|
180
|
+
|
|
181
|
+
### 会话级状态
|
|
182
|
+
|
|
183
|
+
当有 session ID 时,状态额外存储到会话专属目录:
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
{worktree}/.omc/state/sessions/{sessionId}/{mode}-state.json
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### 安全规则
|
|
154
190
|
|
|
155
|
-
|
|
191
|
+
`mode` 参数必须通过 `assertValidMode()` 校验后才能拼接路径,防止路径遍历攻击:
|
|
156
192
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
193
|
+
```typescript
|
|
194
|
+
import { assertValidMode } from './src/lib/validateMode';
|
|
195
|
+
const validMode = assertValidMode(mode);
|
|
196
|
+
const path = `.omc/state/${validMode}-state.json`;
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### 禁用方式
|
|
160
200
|
|
|
161
|
-
|
|
162
|
-
|
|
201
|
+
```bash
|
|
202
|
+
OMC_DISABLE_TOOLS=state # 禁用全部 state 工具
|
|
163
203
|
```
|
|
164
204
|
|
|
165
205
|
---
|
|
166
206
|
|
|
167
|
-
##
|
|
207
|
+
## Project Memory
|
|
168
208
|
|
|
169
|
-
|
|
209
|
+
**项目级持久记忆系统**,跨会话保存项目关键信息。存储在 `{worktree}/.omc/project-memory.json`,按章节组织,支持合并写入。
|
|
170
210
|
|
|
171
|
-
###
|
|
211
|
+
### 工具列表(共 4 个)
|
|
172
212
|
|
|
173
|
-
|
|
174
|
-
- **`lsp`**:逐文件 Language Server Protocol 诊断
|
|
175
|
-
- **`auto`**:自动选择最佳策略(默认,有 tsc 时优先使用)
|
|
213
|
+
#### `project_memory_read`
|
|
176
214
|
|
|
177
|
-
|
|
215
|
+
读取项目记忆,支持按章节过滤。
|
|
178
216
|
|
|
179
217
|
```typescript
|
|
180
|
-
|
|
218
|
+
project_memory_read(section?: MemorySection): ProjectMemory | SectionData
|
|
181
219
|
```
|
|
182
220
|
|
|
183
|
-
|
|
221
|
+
| 章节 | 描述 |
|
|
222
|
+
|------|------|
|
|
223
|
+
| `techStack` | 技术栈信息(语言、框架、工具版本) |
|
|
224
|
+
| `build` | 构建命令和配置 |
|
|
225
|
+
| `conventions` | 代码规范和命名约定 |
|
|
226
|
+
| `structure` | 项目目录结构说明 |
|
|
227
|
+
| `notes` | 项目级自由记录 |
|
|
228
|
+
| `directives` | 用户明确指令(跨会话持久化,抗压缩) |
|
|
229
|
+
|
|
230
|
+
#### `project_memory_write`
|
|
231
|
+
|
|
232
|
+
写入或更新项目记忆,支持深度合并,不覆盖未指定的字段。
|
|
184
233
|
|
|
185
234
|
```typescript
|
|
186
|
-
|
|
235
|
+
project_memory_write(data: Partial<ProjectMemory>): boolean
|
|
236
|
+
```
|
|
187
237
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
238
|
+
**示例:**
|
|
239
|
+
|
|
240
|
+
```typescript
|
|
241
|
+
project_memory_write({
|
|
242
|
+
techStack: {
|
|
243
|
+
language: 'TypeScript 5.4',
|
|
244
|
+
framework: 'Node.js 22',
|
|
245
|
+
testRunner: 'Vitest'
|
|
246
|
+
},
|
|
247
|
+
build: {
|
|
248
|
+
commands: {
|
|
249
|
+
build: 'npm run build',
|
|
250
|
+
test: 'npm test',
|
|
251
|
+
lint: 'npm run lint'
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
})
|
|
196
255
|
```
|
|
197
256
|
|
|
198
|
-
|
|
257
|
+
#### `project_memory_add_note`
|
|
258
|
+
|
|
259
|
+
向 `notes` 章节追加一条分类笔记,自动附加时间戳。
|
|
199
260
|
|
|
200
261
|
```typescript
|
|
201
|
-
|
|
262
|
+
project_memory_add_note(category: string, content: string): boolean
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
#### `project_memory_add_directive`
|
|
202
266
|
|
|
203
|
-
|
|
267
|
+
向 `directives` 章节追加用户指令,永久保存,抗上下文压缩。
|
|
204
268
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
269
|
+
```typescript
|
|
270
|
+
project_memory_add_directive(directive: string): boolean
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**适用场景**:用户明确要求"始终"或"永远不要"做某件事时,记录为 directive。
|
|
274
|
+
|
|
275
|
+
### 存储格式
|
|
276
|
+
|
|
277
|
+
```json
|
|
278
|
+
{
|
|
279
|
+
"techStack": { "language": "TypeScript", "framework": "Node.js" },
|
|
280
|
+
"build": { "commands": { "build": "npm run build" } },
|
|
281
|
+
"conventions": { "commitStyle": "conventional commits" },
|
|
282
|
+
"structure": { "src": "TypeScript 源代码", "docs": "用户文档" },
|
|
283
|
+
"notes": [
|
|
284
|
+
{ "category": "architecture", "content": "...", "timestamp": "2026-03-02" }
|
|
285
|
+
],
|
|
286
|
+
"directives": [
|
|
287
|
+
"始终在修改文件前运行 lsp_diagnostics",
|
|
288
|
+
"禁止直接修改 main 分支"
|
|
289
|
+
]
|
|
209
290
|
}
|
|
291
|
+
```
|
|
210
292
|
|
|
211
|
-
|
|
293
|
+
### 禁用方式
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
OMC_DISABLE_TOOLS=memory # 禁用 project-memory 工具
|
|
297
|
+
OMC_DISABLE_TOOLS=project-memory # 等效别名
|
|
212
298
|
```
|
|
213
299
|
|
|
214
300
|
---
|
|
215
301
|
|
|
216
|
-
##
|
|
302
|
+
## LSP / AST / Python REPL
|
|
217
303
|
|
|
218
|
-
|
|
304
|
+
ultrapower 通过 Language Server Protocol、AST-grep 和 Python REPL 提供类 IDE 的代码智能能力。
|
|
219
305
|
|
|
220
|
-
###
|
|
306
|
+
### LSP 工具(共 12 个)
|
|
221
307
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
308
|
+
通过语言服务器协议实现跨语言代码分析。
|
|
309
|
+
|
|
310
|
+
| 工具 | 描述 |
|
|
311
|
+
|------|------|
|
|
312
|
+
| `lsp_hover` | 获取光标位置的类型信息和文档注释 |
|
|
313
|
+
| `lsp_goto_definition` | 跳转到符号的定义位置 |
|
|
314
|
+
| `lsp_find_references` | 查找符号在整个代码库中的所有引用 |
|
|
315
|
+
| `lsp_document_symbols` | 获取文件的符号大纲(函数、类、变量) |
|
|
316
|
+
| `lsp_workspace_symbols` | 跨工作区搜索符号 |
|
|
317
|
+
| `lsp_diagnostics` | 获取单个文件的错误和警告 |
|
|
318
|
+
| `lsp_diagnostics_directory` | 项目级类型检查(优先使用 `tsc --noEmit`,回退到 LSP) |
|
|
319
|
+
| `lsp_servers` | 列出当前可用的语言服务器 |
|
|
320
|
+
| `lsp_prepare_rename` | 检查符号是否可安全重命名 |
|
|
321
|
+
| `lsp_rename` | 预览并执行跨文件重命名重构 |
|
|
322
|
+
| `lsp_code_actions` | 获取可用的快速修复和重构操作 |
|
|
323
|
+
| `lsp_code_action_resolve` | 获取特定代码操作的详细信息 |
|
|
324
|
+
|
|
325
|
+
**支持语言:** TypeScript、JavaScript、Python、Rust、Go、C/C++、Java、JSON、HTML、CSS、YAML
|
|
326
|
+
|
|
327
|
+
#### 诊断策略
|
|
225
328
|
|
|
226
|
-
|
|
227
|
-
convertDefinitionsToConfigs(definitions: Record<string, {...}>): AgentConfig[]
|
|
329
|
+
`lsp_diagnostics_directory` 使用双策略方法:
|
|
228
330
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
buildDelegationMatrix(agents: AgentConfig[]): string
|
|
235
|
-
buildOrchestrationPrinciples(): string
|
|
236
|
-
buildWorkflow(): string
|
|
237
|
-
buildCriticalRules(): string
|
|
238
|
-
buildCompletionChecklist(): string
|
|
331
|
+
```typescript
|
|
332
|
+
type DiagnosticsStrategy = 'tsc' | 'lsp' | 'auto';
|
|
333
|
+
// auto(默认):有 tsc 时使用 tsc --noEmit,否则回退到 LSP
|
|
334
|
+
// tsc:强制使用 TypeScript 编译器检查
|
|
335
|
+
// lsp:强制使用逐文件 LSP 诊断
|
|
239
336
|
```
|
|
240
337
|
|
|
241
|
-
|
|
338
|
+
#### 使用模式
|
|
242
339
|
|
|
243
340
|
```typescript
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
includePrinciples?: boolean;
|
|
250
|
-
includeWorkflow?: boolean;
|
|
251
|
-
includeRules?: boolean;
|
|
252
|
-
includeChecklist?: boolean;
|
|
341
|
+
// 在修改文件后立即验证
|
|
342
|
+
const diagnostics = await lsp_diagnostics({ file: 'src/foo.ts' });
|
|
343
|
+
if (diagnostics.errorCount > 0) {
|
|
344
|
+
// 在生产代码中修复,而非测试 hack
|
|
345
|
+
console.error(diagnostics.messages);
|
|
253
346
|
}
|
|
347
|
+
|
|
348
|
+
// 项目级检查
|
|
349
|
+
const result = await lsp_diagnostics_directory({ directory: process.cwd() });
|
|
350
|
+
console.log(`${result.errorCount} errors, ${result.warningCount} warnings`);
|
|
254
351
|
```
|
|
255
352
|
|
|
256
|
-
###
|
|
353
|
+
### AST 工具(共 2 个)
|
|
354
|
+
|
|
355
|
+
通过 `ast-grep` 进行结构化代码搜索和 AST 感知的代码转换。
|
|
356
|
+
|
|
357
|
+
#### `ast_grep_search`
|
|
358
|
+
|
|
359
|
+
使用模式匹配在代码中搜索语法结构。
|
|
257
360
|
|
|
258
361
|
```typescript
|
|
259
|
-
|
|
260
|
-
|
|
362
|
+
ast_grep_search(pattern: string, language: SupportedLanguage, path?: string): Match[]
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
**元变量语法:**
|
|
366
|
+
|
|
367
|
+
- `$NAME`:匹配单个语法节点(标识符、表达式等)
|
|
368
|
+
- `$$$ARGS`:匹配多个节点(函数参数列表等)
|
|
369
|
+
- `$_`:匹配任意节点(不捕获)
|
|
370
|
+
|
|
371
|
+
**示例:**
|
|
261
372
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
373
|
+
```typescript
|
|
374
|
+
// 查找所有 console.log 调用
|
|
375
|
+
ast_grep_search('console.log($$$ARGS)', 'TypeScript', 'src/')
|
|
376
|
+
|
|
377
|
+
// 查找所有 async 函数
|
|
378
|
+
ast_grep_search('async function $NAME($$$PARAMS) { $$$BODY }', 'TypeScript')
|
|
265
379
|
```
|
|
266
380
|
|
|
267
|
-
|
|
381
|
+
#### `ast_grep_replace`
|
|
382
|
+
|
|
383
|
+
AST 感知的代码转换,默认为 dry-run 模式。
|
|
268
384
|
|
|
269
|
-
|
|
385
|
+
```typescript
|
|
386
|
+
ast_grep_replace(
|
|
387
|
+
pattern: string,
|
|
388
|
+
replacement: string,
|
|
389
|
+
language: SupportedLanguage,
|
|
390
|
+
path?: string,
|
|
391
|
+
dryRun?: boolean // 默认 true
|
|
392
|
+
): { matches: number; preview: string }
|
|
393
|
+
```
|
|
270
394
|
|
|
271
|
-
|
|
395
|
+
**示例:**
|
|
272
396
|
|
|
273
|
-
|
|
397
|
+
```typescript
|
|
398
|
+
// 将 var 替换为 const(预览模式)
|
|
399
|
+
ast_grep_replace('var $NAME = $VALUE', 'const $NAME = $VALUE', 'JavaScript')
|
|
400
|
+
|
|
401
|
+
// 确认后实际执行
|
|
402
|
+
ast_grep_replace('var $NAME = $VALUE', 'const $NAME = $VALUE', 'JavaScript', 'src/', false)
|
|
403
|
+
```
|
|
274
404
|
|
|
275
|
-
|
|
405
|
+
**支持语言:** JavaScript、TypeScript、TSX、Python、Ruby、Go、Rust、Java、Kotlin、Swift、C、C++、C#、HTML、CSS、JSON、YAML
|
|
276
406
|
|
|
277
|
-
|
|
278
|
-
- **TASK**:需要探索的内容
|
|
279
|
-
- **EXPECTED OUTCOME**:编排器期望的返回结果
|
|
280
|
-
- **CONTEXT**:背景信息
|
|
281
|
-
- **MUST DO**:必须执行的操作
|
|
282
|
-
- **MUST NOT DO**:约束条件
|
|
283
|
-
- **REQUIRED SKILLS**:所需 skill
|
|
284
|
-
- **REQUIRED TOOLS**:所需工具
|
|
407
|
+
### Python REPL(共 1 个)
|
|
285
408
|
|
|
286
|
-
|
|
409
|
+
持久化 Python REPL,支持状态跨调用保留。
|
|
410
|
+
|
|
411
|
+
#### `python_repl`
|
|
412
|
+
|
|
413
|
+
```typescript
|
|
414
|
+
python_repl(code: string): { stdout: string; stderr: string; result: any }
|
|
415
|
+
```
|
|
287
416
|
|
|
288
|
-
|
|
417
|
+
**内置可用库:** `pandas`、`numpy`、`matplotlib`、`json`、`os`、`sys`、`re`
|
|
289
418
|
|
|
290
|
-
|
|
419
|
+
**适用场景:**
|
|
420
|
+
- CSV/JSON 数据分析
|
|
421
|
+
- 统计计算
|
|
422
|
+
- 文件内容转换
|
|
423
|
+
- 快速原型验证
|
|
291
424
|
|
|
292
|
-
|
|
293
|
-
- **TASK**:实现目标
|
|
294
|
-
- **EXPECTED OUTCOME**:交付物
|
|
295
|
-
- **CONTEXT**:项目背景
|
|
296
|
-
- **MUST DO**:必须执行的操作
|
|
297
|
-
- **MUST NOT DO**:约束条件
|
|
298
|
-
- **REQUIRED SKILLS**:所需 skill
|
|
299
|
-
- **REQUIRED TOOLS**:所需工具
|
|
300
|
-
- **VERIFICATION CHECKLIST**:完成前检查项
|
|
425
|
+
### 工具禁用
|
|
301
426
|
|
|
302
|
-
|
|
427
|
+
```bash
|
|
428
|
+
OMC_DISABLE_TOOLS=lsp # 禁用全部 LSP 工具
|
|
429
|
+
OMC_DISABLE_TOOLS=ast # 禁用全部 AST 工具
|
|
430
|
+
OMC_DISABLE_TOOLS=python # 禁用 Python REPL
|
|
431
|
+
OMC_DISABLE_TOOLS=python-repl # 等效别名
|
|
432
|
+
```
|
|
303
433
|
|
|
304
434
|
---
|
|
305
435
|
|
|
306
|
-
##
|
|
436
|
+
## Delegation Enforcer
|
|
437
|
+
|
|
438
|
+
**v5.5.2 新增功能。** 自动为 Task 委派注入合适的模型层级,无需手动指定 `model` 参数,确保 agent 与模型的最优匹配。
|
|
307
439
|
|
|
308
|
-
|
|
440
|
+
### 工作原理
|
|
309
441
|
|
|
310
|
-
|
|
442
|
+
Delegation Enforcer 通过 `processPreToolUse` 钩子集成在 `bridge.ts` 中,拦截所有 Task 工具调用,根据 `subagent_type` 自动注入 `model` 字段。
|
|
311
443
|
|
|
312
444
|
```typescript
|
|
313
|
-
|
|
445
|
+
// bridge.ts 中的集成点
|
|
446
|
+
async function processPreToolUse(input: ToolInput): Promise<ToolInput> {
|
|
447
|
+
if (input.tool_name === 'Task' && input.tool_input.subagent_type) {
|
|
448
|
+
const agentType = extractAgentType(input.tool_input.subagent_type);
|
|
449
|
+
const model = resolveModelForAgent(agentType);
|
|
450
|
+
if (model && !input.tool_input.model) {
|
|
451
|
+
input.tool_input.model = model;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
return input;
|
|
455
|
+
}
|
|
314
456
|
```
|
|
315
457
|
|
|
316
|
-
###
|
|
458
|
+
### 模型路由规则
|
|
459
|
+
|
|
460
|
+
| Agent 类型 | 自动注入模型 | 说明 |
|
|
461
|
+
|-----------|------------|------|
|
|
462
|
+
| `explore` | `haiku` | 代码库发现,轻量扫描 |
|
|
463
|
+
| `style-reviewer` | `haiku` | 格式检查,低复杂度 |
|
|
464
|
+
| `writer` | `haiku` | 文档生成,简单任务 |
|
|
465
|
+
| `executor` | `sonnet` | 标准代码实现 |
|
|
466
|
+
| `debugger` | `sonnet` | 根因分析,中等复杂度 |
|
|
467
|
+
| `verifier` | `sonnet` | 完成验证 |
|
|
468
|
+
| `security-reviewer` | `sonnet` | 安全审查 |
|
|
469
|
+
| `quality-reviewer` | `sonnet` | 质量检查 |
|
|
470
|
+
| `test-engineer` | `sonnet` | 测试策略 |
|
|
471
|
+
| `build-fixer` | `sonnet` | 构建修复 |
|
|
472
|
+
| `designer` | `sonnet` | UI/UX 设计 |
|
|
473
|
+
| `analyst` | `opus` | 需求分析,高复杂度 |
|
|
474
|
+
| `planner` | `opus` | 执行规划 |
|
|
475
|
+
| `architect` | `opus` | 系统架构设计 |
|
|
476
|
+
| `deep-executor` | `opus` | 复杂自主执行 |
|
|
477
|
+
| `critic` | `opus` | 批判性审查 |
|
|
478
|
+
| `code-reviewer` | `opus` | 综合代码审查 |
|
|
479
|
+
|
|
480
|
+
### 覆盖规则
|
|
481
|
+
|
|
482
|
+
手动指定的 `model` 参数优先级高于自动注入:
|
|
317
483
|
|
|
318
484
|
```typescript
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
485
|
+
// 手动指定时,Delegation Enforcer 不会覆盖
|
|
486
|
+
Task({
|
|
487
|
+
subagent_type: "ultrapower:executor",
|
|
488
|
+
model: "opus", // 强制使用 opus,Enforcer 不干预
|
|
489
|
+
prompt: "Complex refactoring task..."
|
|
490
|
+
})
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
### 配置
|
|
494
|
+
|
|
495
|
+
通过 `~/.claude/.omc-config.json` 可自定义路由规则:
|
|
322
496
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
}
|
|
332
|
-
error?: string;
|
|
497
|
+
```json
|
|
498
|
+
{
|
|
499
|
+
"delegationEnforcer": {
|
|
500
|
+
"enabled": true,
|
|
501
|
+
"overrides": {
|
|
502
|
+
"executor": "opus",
|
|
503
|
+
"explore": "sonnet"
|
|
504
|
+
}
|
|
505
|
+
}
|
|
333
506
|
}
|
|
334
507
|
```
|
|
335
508
|
|
|
336
|
-
|
|
509
|
+
---
|
|
337
510
|
|
|
338
|
-
|
|
339
|
-
import { resumeSession } from '@/tools/resume-session';
|
|
511
|
+
## Axiom Integration
|
|
340
512
|
|
|
341
|
-
|
|
513
|
+
ultrapower 深度融合 Axiom 智能体编排框架,提供从需求起草到自动进化的完整工作流,涵盖 14 个专用 agents、14 个 skills 和 2 个 hooks。
|
|
342
514
|
|
|
343
|
-
|
|
344
|
-
|
|
515
|
+
### Axiom Agents(14 个)
|
|
516
|
+
|
|
517
|
+
#### 需求与设计通道(5 个)
|
|
518
|
+
|
|
519
|
+
| Agent | 模型 | 职责 |
|
|
520
|
+
|-------|------|------|
|
|
521
|
+
| `axiom-requirement-analyst` | sonnet | 需求三态门:PASS(直接进入 PRD)/ CLARIFY(提问澄清)/ REJECT(拒绝) |
|
|
522
|
+
| `axiom-product-designer` | sonnet | 生成 Draft PRD,含 Mermaid 流程图和用户旅程 |
|
|
523
|
+
| `axiom-review-aggregator` | sonnet | 聚合 5 个专家并行评审结果,执行冲突仲裁 |
|
|
524
|
+
| `axiom-prd-crafter` | sonnet | 生成工程级 PRD,含门控验证和接受标准 |
|
|
525
|
+
| `axiom-system-architect` | sonnet | 生成原子任务 DAG(有向无环图)和 Manifest 文件 |
|
|
526
|
+
|
|
527
|
+
#### 进化与记忆通道(3 个)
|
|
528
|
+
|
|
529
|
+
| Agent | 模型 | 职责 |
|
|
530
|
+
|-------|------|------|
|
|
531
|
+
| `axiom-evolution-engine` | sonnet | 知识收割、模式检测(出现 ≥3 次提升)、工作流优化 |
|
|
532
|
+
| `axiom-context-manager` | sonnet | 7 种记忆操作:读/写/状态/检查点/恢复/清除/压缩 |
|
|
533
|
+
| `axiom-worker` | sonnet | 接收 PM 分配的原子任务,输出三态结果 |
|
|
534
|
+
|
|
535
|
+
#### 评审专家通道(5 个)
|
|
536
|
+
|
|
537
|
+
| Agent | 模型 | 职责 | 输出文件 |
|
|
538
|
+
|-------|------|------|---------|
|
|
539
|
+
| `axiom-ux-director` | sonnet | UX/体验专家评审 | `review_ux.md` |
|
|
540
|
+
| `axiom-product-director` | sonnet | 产品战略专家评审 | `review_product.md` |
|
|
541
|
+
| `axiom-domain-expert` | sonnet | 领域知识专家评审 | `review_domain.md` |
|
|
542
|
+
| `axiom-tech-lead` | sonnet | 技术可行性评审 | `review_tech.md` |
|
|
543
|
+
| `axiom-critic` | sonnet | 安全/质量/逻辑评审 | `review_critic.md` |
|
|
544
|
+
|
|
545
|
+
#### 任务拆解通道(1 个)
|
|
546
|
+
|
|
547
|
+
| Agent | 模型 | 职责 |
|
|
548
|
+
|-------|------|------|
|
|
549
|
+
| `axiom-sub-prd-writer` | sonnet | 将 Manifest 任务拆解为可执行的 Sub-PRD 文件 |
|
|
550
|
+
|
|
551
|
+
### Axiom Worker 规范
|
|
552
|
+
|
|
553
|
+
Worker agent 采用 PM→Worker 协议,执行原子任务后输出三种格式之一:
|
|
554
|
+
|
|
555
|
+
```markdown
|
|
556
|
+
## QUESTION
|
|
557
|
+
问题: [具体需要澄清的内容]
|
|
558
|
+
原因: [为什么需要这个信息才能继续]
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
```markdown
|
|
562
|
+
## COMPLETE
|
|
563
|
+
完成: [任务描述]
|
|
564
|
+
变更: [修改的文件列表]
|
|
565
|
+
验证: [CI 命令输出,例如 tsc --noEmit 结果]
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
```markdown
|
|
569
|
+
## BLOCKED
|
|
570
|
+
原因: [阻塞原因详述]
|
|
571
|
+
已尝试: [已经尝试过的方法,最多 3 次]
|
|
572
|
+
需要: [需要什么外部帮助]
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
**自修复策略:** 最多自动重试 3 次,每次失败后运行 `tsc --noEmit && npm run build && npm test`,3 次均失败后输出 BLOCKED。
|
|
576
|
+
|
|
577
|
+
### Axiom Skills(14 个)
|
|
578
|
+
|
|
579
|
+
#### 核心工作流 Skills
|
|
580
|
+
|
|
581
|
+
| Skill | 命令 | 用途 |
|
|
582
|
+
|-------|------|------|
|
|
583
|
+
| `ax-draft` | `/ax-draft` | 需求澄清 → Draft PRD → 用户确认(触发 User Gate) |
|
|
584
|
+
| `ax-review` | `/ax-review` | 5 专家并行评审 → 聚合仲裁 → Rough PRD |
|
|
585
|
+
| `ax-decompose` | `/ax-decompose` | Rough PRD → 系统架构设计 → 原子任务 DAG |
|
|
586
|
+
| `ax-implement` | `/ax-implement` | 按 Manifest 执行任务,通过 CI 门禁,自动修复 |
|
|
587
|
+
| `ax-analyze-error` | `/ax-analyze-error` | 根因诊断 → 自动修复 → 加入学习队列 |
|
|
588
|
+
|
|
589
|
+
#### 进化与管理 Skills
|
|
590
|
+
|
|
591
|
+
| Skill | 命令 | 用途 |
|
|
592
|
+
|-------|------|------|
|
|
593
|
+
| `ax-reflect` | `/ax-reflect` | 会话反思 → 经验提取 → Action Items |
|
|
594
|
+
| `ax-evolve` | `/ax-evolve` | 处理学习队列 → 更新知识库 → 模式检测 |
|
|
595
|
+
| `ax-rollback` | `/ax-rollback` | 回滚到最近检查点(需用户明确确认) |
|
|
596
|
+
| `ax-suspend` | `/ax-suspend` | 保存会话状态,安全退出 |
|
|
597
|
+
| `ax-status` | `/ax-status` | 完整系统状态仪表盘 |
|
|
598
|
+
|
|
599
|
+
#### 高级工具 Skills
|
|
600
|
+
|
|
601
|
+
| Skill | 命令 | 用途 |
|
|
602
|
+
|-------|------|------|
|
|
603
|
+
| `ax-context` | `/ax-context` | 直接操作 Axiom 记忆系统(读/写/状态/检查点) |
|
|
604
|
+
| `ax-evolution` | `/ax-evolution [subcommand]` | 进化引擎统一入口(evolve/reflect/knowledge/patterns) |
|
|
605
|
+
| `ax-knowledge` | `/ax-knowledge [query]` | 语义查询 Axiom 知识库 |
|
|
606
|
+
| `ax-export` | `/ax-export` | 导出 Axiom 工作流产物(PRD、Manifest、Sub-PRD) |
|
|
607
|
+
|
|
608
|
+
### Axiom Hooks(2 个)
|
|
609
|
+
|
|
610
|
+
#### `axiom-boot`
|
|
611
|
+
|
|
612
|
+
位置:`src/hooks/axiom-boot/`
|
|
613
|
+
|
|
614
|
+
**触发时机:** 会话启动时(PreToolUse,首次工具调用前)
|
|
615
|
+
|
|
616
|
+
**功能:**
|
|
617
|
+
- 检测 `.omc/axiom/` 目录是否存在
|
|
618
|
+
- 读取 `active_context.md` 恢复当前任务状态
|
|
619
|
+
- 读取 `project_decisions.md` 加载架构约束
|
|
620
|
+
- 读取 `user_preferences.md` 加载用户偏好
|
|
621
|
+
- 根据状态决定行为:
|
|
622
|
+
- `IDLE`:系统就绪,等待指令
|
|
623
|
+
- `EXECUTING`:检测到中断任务,询问用户是否继续
|
|
624
|
+
- `BLOCKED`:上次任务遇到问题,提示需要人工介入
|
|
625
|
+
|
|
626
|
+
#### `axiom-guards`
|
|
627
|
+
|
|
628
|
+
位置:`src/hooks/axiom-guards/`
|
|
629
|
+
|
|
630
|
+
**触发时机:** PreToolUse,每次工具调用前
|
|
631
|
+
|
|
632
|
+
**门禁规则:**
|
|
633
|
+
|
|
634
|
+
| 门禁 | 触发条件 | 强制动作 |
|
|
635
|
+
|------|---------|---------|
|
|
636
|
+
| Expert Gate | 所有新功能需求 | 必须经过 `/ax-draft` → `/ax-review` 流程 |
|
|
637
|
+
| User Gate | PRD 终稿生成完成 | 必须显示确认提示,等待用户 Yes/No |
|
|
638
|
+
| CI Gate | 代码修改完成 | 必须执行 `tsc --noEmit && npm run build && npm test` |
|
|
639
|
+
| Scope Gate | 修改文件时 | 检查是否在 Manifest 定义的 Impact Scope 内 |
|
|
640
|
+
|
|
641
|
+
### Axiom 记忆系统
|
|
345
642
|
|
|
346
|
-
// 继续 Task 委派
|
|
347
|
-
Task({
|
|
348
|
-
subagent_type: "ultrapower:executor",
|
|
349
|
-
model: "sonnet",
|
|
350
|
-
prompt: result.context.continuationPrompt
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
643
|
```
|
|
644
|
+
{worktree}/.omc/axiom/
|
|
645
|
+
├── active_context.md # 当前任务状态(短期记忆)
|
|
646
|
+
├── project_decisions.md # 架构决策记录 ADR(长期记忆)
|
|
647
|
+
├── user_preferences.md # 用户偏好设置
|
|
648
|
+
├── state_machine.md # 状态机定义(可视化)
|
|
649
|
+
├── reflection_log.md # 历次反思日志
|
|
650
|
+
└── evolution/
|
|
651
|
+
├── knowledge_base.md # 知识图谱,含置信度系统(0.0-1.0)
|
|
652
|
+
├── pattern_library.md # 代码模式库(出现次数 ≥3 时从 pending 提升)
|
|
653
|
+
├── learning_queue.md # 待处理学习素材(P0-P3 优先级排队)
|
|
654
|
+
└── workflow_metrics.md # 工作流执行指标和效率追踪
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
### Axiom 状态机
|
|
658
|
+
|
|
659
|
+
```
|
|
660
|
+
IDLE → PLANNING → CONFIRMING → EXECUTING → AUTO_FIX → BLOCKED → ARCHIVING → IDLE
|
|
661
|
+
```
|
|
662
|
+
|
|
663
|
+
| 状态 | 描述 | 可转换到 |
|
|
664
|
+
|------|------|---------|
|
|
665
|
+
| `IDLE` | 系统就绪,等待指令 | `PLANNING` |
|
|
666
|
+
| `PLANNING` | 正在生成 PRD 或任务计划 | `CONFIRMING`, `IDLE` |
|
|
667
|
+
| `CONFIRMING` | 等待用户确认 PRD | `EXECUTING`, `PLANNING` |
|
|
668
|
+
| `EXECUTING` | 正在执行原子任务 | `AUTO_FIX`, `BLOCKED`, `ARCHIVING` |
|
|
669
|
+
| `AUTO_FIX` | 自动修复失败(最多 3 次) | `EXECUTING`, `BLOCKED` |
|
|
670
|
+
| `BLOCKED` | 需要人工介入 | `EXECUTING`(人工解锁后) |
|
|
671
|
+
| `ARCHIVING` | 自动触发 `/ax-reflect` | `IDLE` |
|
|
672
|
+
|
|
673
|
+
### 进化引擎自动行为
|
|
674
|
+
|
|
675
|
+
| 触发事件 | 自动行为 |
|
|
676
|
+
|---------|---------|
|
|
677
|
+
| 任务完成 | 将代码变更加入 `learning_queue.md` |
|
|
678
|
+
| 错误修复成功 | 将修复模式加入学习队列(P1 优先级) |
|
|
679
|
+
| 工作流完成 | 更新 `workflow_metrics.md` |
|
|
680
|
+
| 状态 → ARCHIVING | 自动触发 `/ax-reflect` |
|
|
681
|
+
| 状态 → IDLE | 处理 P0/P1 优先级的学习队列条目 |
|
|
682
|
+
|
|
683
|
+
### 多工具适配器
|
|
684
|
+
|
|
685
|
+
Axiom 配置可跨多个 AI 工具复用:
|
|
686
|
+
|
|
687
|
+
| 适配器文件 | 目标工具 |
|
|
688
|
+
|-----------|---------|
|
|
689
|
+
| `.kiro/steering/axiom.md` | Kiro |
|
|
690
|
+
| `.cursorrules` | Cursor |
|
|
691
|
+
| `.gemini/GEMINI.md` | Gemini |
|
|
692
|
+
| `.gemini/GEMINI-CLI.md` | Gemini CLI |
|
|
693
|
+
| `.opencode/OPENCODE.md` | OpenCode CLI |
|
|
694
|
+
| `.github/copilot-instructions.md` | GitHub Copilot |
|
|
354
695
|
|
|
355
696
|
---
|
|
356
697
|
|
|
357
|
-
##
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
###
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
5
|
|
368
|
-
|
|
369
|
-
### 核心类型
|
|
370
|
-
|
|
371
|
-
```typescript
|
|
372
|
-
export type AutopilotPhase =
|
|
373
|
-
| 'expansion'
|
|
374
|
-
| 'planning'
|
|
375
|
-
| 'execution'
|
|
376
|
-
| 'qa'
|
|
377
|
-
| 'validation'
|
|
378
|
-
| 'complete'
|
|
379
|
-
| 'failed';
|
|
380
|
-
|
|
381
|
-
export interface AutopilotState {
|
|
382
|
-
active: boolean;
|
|
383
|
-
phase: AutopilotPhase;
|
|
384
|
-
iteration: number;
|
|
385
|
-
max_iterations: number;
|
|
386
|
-
originalIdea: string;
|
|
387
|
-
|
|
388
|
-
expansion: AutopilotExpansion;
|
|
389
|
-
planning: AutopilotPlanning;
|
|
390
|
-
execution: AutopilotExecution;
|
|
391
|
-
qa: AutopilotQA;
|
|
392
|
-
validation: AutopilotValidation;
|
|
393
|
-
|
|
394
|
-
started_at: string;
|
|
395
|
-
completed_at: string | null;
|
|
396
|
-
phase_durations: Record<string, number>;
|
|
397
|
-
total_agents_spawned: number;
|
|
398
|
-
wisdom_entries: number;
|
|
399
|
-
session_id?: string;
|
|
400
|
-
}
|
|
698
|
+
## Execution Modes Deep Dive
|
|
699
|
+
|
|
700
|
+
ultrapower 提供 6 种执行模式,覆盖从单任务自动化到大规模并行开发的所有场景。
|
|
701
|
+
|
|
702
|
+
### autopilot
|
|
703
|
+
|
|
704
|
+
**触发词:** "autopilot"、"build me"、"I want a"
|
|
705
|
+
|
|
706
|
+
**描述:** 从想法到经过验证的可运行代码的全自主 5 阶段执行流水线。
|
|
707
|
+
|
|
708
|
+
**5 阶段工作流:**
|
|
401
709
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
710
|
+
```
|
|
711
|
+
想法输入
|
|
712
|
+
↓
|
|
713
|
+
[1] Expansion(analyst + architect)
|
|
714
|
+
- 需求澄清和技术规格生成
|
|
715
|
+
- 输出:.omc/autopilot/spec.md
|
|
716
|
+
↓
|
|
717
|
+
[2] Planning(architect + critic 验证)
|
|
718
|
+
- 生成带依赖图的执行计划
|
|
719
|
+
- 输出:.omc/plans/autopilot-impl.md
|
|
720
|
+
↓
|
|
721
|
+
[3] Execution(ralph + ultrawork 并行)
|
|
722
|
+
- 并行执行计划任务(最多 5 个并发)
|
|
723
|
+
- 输出:实际代码变更
|
|
724
|
+
↓
|
|
725
|
+
[4] QA(ultraQA 循环)
|
|
726
|
+
- 测试、修复,最多 5 个修复循环
|
|
727
|
+
- 通过条件:build + lint + test 全部通过
|
|
728
|
+
↓
|
|
729
|
+
[5] Validation(functional + security + quality 三重验证)
|
|
730
|
+
- 专业 architect 角色执行
|
|
731
|
+
- 裁决:APPROVED / REJECTED / NEEDS_FIX
|
|
416
732
|
```
|
|
417
733
|
|
|
418
|
-
|
|
734
|
+
**配置选项:**
|
|
419
735
|
|
|
420
736
|
```typescript
|
|
421
|
-
|
|
422
|
-
|
|
737
|
+
interface AutopilotConfig {
|
|
738
|
+
maxIterations?: number; // 默认:10
|
|
739
|
+
maxExpansionIterations?: number; // 默认:2
|
|
740
|
+
maxArchitectIterations?: number; // 默认:5
|
|
741
|
+
maxQaCycles?: number; // 默认:5
|
|
742
|
+
maxValidationRounds?: number; // 默认:3
|
|
743
|
+
parallelExecutors?: number; // 默认:5
|
|
744
|
+
pauseAfterExpansion?: boolean; // 默认:false
|
|
745
|
+
pauseAfterPlanning?: boolean; // 默认:false
|
|
746
|
+
skipQa?: boolean; // 默认:false
|
|
747
|
+
skipValidation?: boolean; // 默认:false
|
|
748
|
+
autoCommit?: boolean; // 默认:false
|
|
749
|
+
}
|
|
750
|
+
```
|
|
423
751
|
|
|
424
|
-
|
|
425
|
-
readAutopilotState(directory: string): AutopilotState | null
|
|
426
|
-
writeAutopilotState(directory: string, state: AutopilotState): boolean
|
|
427
|
-
clearAutopilotState(directory: string): boolean
|
|
752
|
+
**状态持久化:** `.omc/state/autopilot-state.json`
|
|
428
753
|
|
|
429
|
-
|
|
430
|
-
|
|
754
|
+
**恢复方式:** 中断后自动检测并提示是否从上次阶段继续。
|
|
755
|
+
|
|
756
|
+
---
|
|
757
|
+
|
|
758
|
+
### ultrawork
|
|
759
|
+
|
|
760
|
+
**触发词:** "ulw"、"ultrawork"
|
|
761
|
+
|
|
762
|
+
**描述:** 最大并行度的 agent 编排,适用于可并行分解的大型任务。
|
|
763
|
+
|
|
764
|
+
**核心机制:**
|
|
765
|
+
- 将任务分解为独立子任务,最大化并行执行
|
|
766
|
+
- 使用 `run_in_background: true` 实现非阻塞并发(最多 20 个并发)
|
|
767
|
+
- 子任务完成后自动聚合结果
|
|
768
|
+
- 冲突检测:避免多个 agent 同时修改同一文件
|
|
769
|
+
|
|
770
|
+
**适用场景:**
|
|
771
|
+
- 多模块重构(每个模块由独立 executor 处理)
|
|
772
|
+
- 批量文件转换
|
|
773
|
+
- 并行测试生成
|
|
774
|
+
- 多服务代码审查
|
|
431
775
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
transitionToFailed(directory: string, error: string): TransitionResult
|
|
776
|
+
---
|
|
777
|
+
|
|
778
|
+
### ralph
|
|
779
|
+
|
|
780
|
+
**触发词:** "ralph"、"don't stop"、"must complete"、"don't stop until"
|
|
438
781
|
|
|
439
|
-
|
|
440
|
-
updateExpansion(directory: string, updates: Partial<AutopilotExpansion>): boolean
|
|
441
|
-
updatePlanning(directory: string, updates: Partial<AutopilotPlanning>): boolean
|
|
442
|
-
updateExecution(directory: string, updates: Partial<AutopilotExecution>): boolean
|
|
443
|
-
updateQA(directory: string, updates: Partial<AutopilotQA>): boolean
|
|
444
|
-
updateValidation(directory: string, updates: Partial<AutopilotValidation>): boolean
|
|
782
|
+
**描述:** 带 verifier 验证的自引用持续执行循环,"不完成不停止"。
|
|
445
783
|
|
|
446
|
-
|
|
447
|
-
incrementAgentCount(directory: string, count?: number): boolean
|
|
784
|
+
**执行逻辑:**
|
|
448
785
|
|
|
449
|
-
// 路径
|
|
450
|
-
getSpecPath(directory: string): string // .omc/autopilot/spec.md
|
|
451
|
-
getPlanPath(directory: string): string // .omc/plans/autopilot-impl.md
|
|
452
786
|
```
|
|
787
|
+
执行任务
|
|
788
|
+
↓
|
|
789
|
+
verifier 评估
|
|
790
|
+
├── APPROVED → 停止,报告完成
|
|
791
|
+
├── NEEDS_FIX → 修复 → 重新执行(返回顶部)
|
|
792
|
+
└── FAILED(超过最大尝试次数)→ 报告阻塞
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
**包含 ultrawork:** ralph 内部使用 ultrawork 实现并行执行,是 ultrawork 的持久性包装器。
|
|
796
|
+
|
|
797
|
+
**与 team 组合:** `team ralph "task"` 同时激活团队协调和持续执行,两者状态文件相互关联(`linked_team`/`linked_ralph`)。
|
|
798
|
+
|
|
799
|
+
**状态持久化:** `.omc/state/ralph-state.json`
|
|
800
|
+
|
|
801
|
+
---
|
|
802
|
+
|
|
803
|
+
### ultrapilot
|
|
804
|
+
|
|
805
|
+
**触发词:** "ultrapilot"、"parallel build"
|
|
806
|
+
|
|
807
|
+
**描述:** Team 的兼容性外观,映射到 Team 的分阶段运行时,支持文件所有权管理的并行 autopilot。
|
|
808
|
+
|
|
809
|
+
**与 autopilot 的区别:** ultrapilot 通过文件所有权追踪(file ownership tracking)防止多个 executor 同时修改同一文件,适合大型功能开发。
|
|
810
|
+
|
|
811
|
+
**注意:** autopilot 和 ultrapilot 互斥,同时只能运行一个。
|
|
812
|
+
|
|
813
|
+
**状态持久化:** `.omc/state/ultrapilot-state.json`
|
|
814
|
+
|
|
815
|
+
---
|
|
816
|
+
|
|
817
|
+
### swarm
|
|
453
818
|
|
|
454
|
-
|
|
819
|
+
**触发词:** "swarm"、"swarm N agents"
|
|
820
|
+
|
|
821
|
+
**描述:** Team 的兼容性外观,保留 `/swarm` 语法,路由到 Team 分阶段流水线。
|
|
822
|
+
|
|
823
|
+
**任务协调机制:**
|
|
824
|
+
- 使用 `better-sqlite3` 实现 SQLite 任务认领
|
|
825
|
+
- N 个并发 executor 竞争认领任务队列中的任务
|
|
826
|
+
- 通过数据库锁防止重复执行
|
|
827
|
+
- 每个 executor 独立处理已认领任务
|
|
828
|
+
|
|
829
|
+
**适用场景:** 大量同质化任务(如批量代码审查、批量测试生成)。
|
|
830
|
+
|
|
831
|
+
---
|
|
832
|
+
|
|
833
|
+
### pipeline
|
|
834
|
+
|
|
835
|
+
**触发词:** "pipeline"、"chain agents"
|
|
836
|
+
|
|
837
|
+
**描述:** 带结构化数据传递的顺序 agent 链式执行,前一个 agent 的输出作为后一个的输入。
|
|
838
|
+
|
|
839
|
+
**数据传递格式:**
|
|
455
840
|
|
|
456
841
|
```typescript
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
842
|
+
interface PipelineStage {
|
|
843
|
+
agent: string;
|
|
844
|
+
model?: string;
|
|
845
|
+
input: string | PipelineOutput; // 来自上一阶段的输出
|
|
846
|
+
output?: PipelineOutput;
|
|
847
|
+
}
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
**适用场景:** 有明确依赖顺序的多步骤工作流(如:explore → analyze → plan → execute → verify)。
|
|
851
|
+
|
|
852
|
+
**状态持久化:** `.omc/state/pipeline-state.json`
|
|
853
|
+
|
|
854
|
+
---
|
|
855
|
+
|
|
856
|
+
### 模式优先级与冲突解决
|
|
857
|
+
|
|
858
|
+
| 情况 | 行为 |
|
|
859
|
+
|------|------|
|
|
860
|
+
| 同时检测到 `ulw` 和 `ultrawork` | 显式模式关键词覆盖通用词 |
|
|
861
|
+
| 通用词 "fast"/"parallel" | 读取 `~/.claude/.omc-config.json` → `defaultExecutionMode` |
|
|
862
|
+
| `team` + `ralph` 同时触发 | 两者都激活,状态文件相互关联 |
|
|
863
|
+
| `autopilot` + `ultrapilot` | 互斥,后触发的覆盖前者(给出警告) |
|
|
864
|
+
| ralph 已激活 | 包含 ultrawork,不需要额外触发 |
|
|
865
|
+
|
|
866
|
+
### Team Pipeline(所有模式的底层基础)
|
|
463
867
|
|
|
464
|
-
|
|
465
|
-
getPhasePrompt(phase: string, context: object): string
|
|
868
|
+
所有协调模式最终都路由到 Team 的分阶段流水线:
|
|
466
869
|
|
|
467
|
-
// 转换提示词
|
|
468
|
-
getTransitionPrompt(fromPhase: string, toPhase: string): string
|
|
469
870
|
```
|
|
871
|
+
team-plan → team-prd → team-exec → team-verify → team-fix(循环)
|
|
872
|
+
```
|
|
873
|
+
|
|
874
|
+
| 阶段 | 主要 Agent | 可选 Agent |
|
|
875
|
+
|------|-----------|-----------|
|
|
876
|
+
| `team-plan` | explore (haiku) + planner (opus) | analyst, architect |
|
|
877
|
+
| `team-prd` | analyst (opus) | product-manager, critic |
|
|
878
|
+
| `team-exec` | executor (sonnet) | designer, build-fixer, writer, test-engineer, deep-executor |
|
|
879
|
+
| `team-verify` | verifier (sonnet) | security-reviewer, code-reviewer, quality-reviewer, performance-reviewer |
|
|
880
|
+
| `team-fix` | 按缺陷类型 | executor / build-fixer / debugger |
|
|
881
|
+
|
|
882
|
+
---
|
|
883
|
+
|
|
884
|
+
## Hook System
|
|
885
|
+
|
|
886
|
+
ultrapower 通过 hooks 在工具调用的生命周期各节点插入自定义逻辑,实现事件驱动的增强功能。
|
|
887
|
+
|
|
888
|
+
### Hook 事件类型
|
|
889
|
+
|
|
890
|
+
hooks 监听以下 15 类事件:
|
|
891
|
+
|
|
892
|
+
| 事件 | 时机 | 常见用途 |
|
|
893
|
+
|------|------|---------|
|
|
894
|
+
| `PreToolUse` | 工具调用前 | 输入验证、模型注入、门禁检查 |
|
|
895
|
+
| `PostToolUse` | 工具调用后 | 结果记录、状态更新、学习触发 |
|
|
896
|
+
| `SessionStart` | 会话启动 | 记忆加载、上下文恢复 |
|
|
897
|
+
| `SessionEnd` | 会话结束 | 状态保存、知识收割 |
|
|
898
|
+
| `ToolError` | 工具调用失败 | 错误记录、自动恢复 |
|
|
899
|
+
| `SubagentStart` | 子 agent 启动 | 委派追踪、开销记录 |
|
|
900
|
+
| `SubagentStop` | 子 agent 完成 | 结果聚合、成本统计 |
|
|
901
|
+
| `TaskCreate` | 任务创建 | 任务注册、依赖检查 |
|
|
902
|
+
| `TaskUpdate` | 任务状态变更 | 进度追踪、阶段转换 |
|
|
903
|
+
| `MessageReceive` | 收到消息 | 意图识别、skill 触发 |
|
|
904
|
+
| `PermissionRequest` | 权限请求 | 权限过滤、安全审查 |
|
|
905
|
+
| `Setup` | 初始化配置 | 环境检查、工具注册 |
|
|
906
|
+
| `ModeChange` | 执行模式切换 | 状态文件切换、清理 |
|
|
907
|
+
| `ToolSearch` | 工具发现 | MCP 工具延迟加载 |
|
|
908
|
+
| `Stop` | 执行停止 | 清理、最终状态写入 |
|
|
470
909
|
|
|
471
|
-
###
|
|
910
|
+
### Hook 输入格式
|
|
911
|
+
|
|
912
|
+
所有 hook 输入使用 snake_case 字段:
|
|
472
913
|
|
|
473
914
|
```typescript
|
|
474
|
-
|
|
475
|
-
|
|
915
|
+
interface HookInput {
|
|
916
|
+
tool_name: string;
|
|
917
|
+
tool_input: Record<string, unknown>;
|
|
918
|
+
tool_response?: Record<string, unknown>;
|
|
919
|
+
session_id: string;
|
|
920
|
+
cwd: string;
|
|
921
|
+
hook_event_name: HookEventType;
|
|
922
|
+
}
|
|
923
|
+
```
|
|
476
924
|
|
|
477
|
-
|
|
478
|
-
recordValidationVerdict(directory: string, type: ValidationVerdictType, verdict: ValidationVerdict, issues?: string[]): boolean
|
|
925
|
+
**重要:** `session-end` hook 必须包含 `sessionId` 和 `directory` 字段,否则验证失败。
|
|
479
926
|
|
|
480
|
-
|
|
481
|
-
getValidationStatus(directory: string): ValidationCoordinatorResult | null
|
|
927
|
+
### 安全规则
|
|
482
928
|
|
|
483
|
-
|
|
484
|
-
startValidationRound(directory: string): boolean
|
|
485
|
-
shouldRetryValidation(directory: string, maxRounds?: number): boolean
|
|
486
|
-
getIssuesToFix(directory: string): string[]
|
|
929
|
+
**Hook 输入消毒:** 所有 hook 输入经 `bridge-normalize.ts` 白名单过滤,未知字段被丢弃:
|
|
487
930
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
931
|
+
```typescript
|
|
932
|
+
// bridge-normalize.ts 中的严格白名单
|
|
933
|
+
const ALLOWED_FIELDS = {
|
|
934
|
+
'permission-request': ['tool_name', 'session_id', 'cwd'],
|
|
935
|
+
'setup': ['session_id', 'cwd', 'version'],
|
|
936
|
+
'session-end': ['sessionId', 'directory', 'duration_ms']
|
|
937
|
+
};
|
|
491
938
|
```
|
|
492
939
|
|
|
493
|
-
|
|
940
|
+
**SubagentStop 推断:** 禁止直接读取 `input.success`,必须使用 `input.success !== false`:
|
|
494
941
|
|
|
495
942
|
```typescript
|
|
496
|
-
//
|
|
497
|
-
|
|
943
|
+
// 错误方式
|
|
944
|
+
const succeeded = input.success; // 可能为 undefined,被误判为 false
|
|
945
|
+
|
|
946
|
+
// 正确方式
|
|
947
|
+
const succeeded = input.success !== false; // undefined 视为成功
|
|
948
|
+
```
|
|
949
|
+
|
|
950
|
+
### 终止开关
|
|
951
|
+
|
|
952
|
+
```bash
|
|
953
|
+
DISABLE_OMC=true # 禁用所有 hooks
|
|
954
|
+
OMC_SKIP_HOOKS=axiom-boot,ralph # 按名称跳过特定 hooks
|
|
955
|
+
```
|
|
498
956
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
957
|
+
### 关键 Hook 列表
|
|
958
|
+
|
|
959
|
+
| Hook | 位置 | 功能 |
|
|
960
|
+
|------|------|------|
|
|
961
|
+
| `autopilot` | `src/hooks/autopilot/` | 全自主执行阶段管理 |
|
|
962
|
+
| `ralph` | `src/hooks/ralph/` | 持续执行循环控制 |
|
|
963
|
+
| `ultrawork` | `src/hooks/ultrawork/` | 并行执行协调 |
|
|
964
|
+
| `ultrapilot` | `src/hooks/ultrapilot/` | 文件所有权追踪 |
|
|
965
|
+
| `learner` | `src/hooks/learner/` | Skill 提取和学习 |
|
|
966
|
+
| `recovery` | `src/hooks/recovery/` | 错误恢复和重试 |
|
|
967
|
+
| `rules-injector` | `src/hooks/rules-injector/` | 规则文件自动注入 |
|
|
968
|
+
| `think-mode` | `src/hooks/think-mode/` | 增强推理模式激活 |
|
|
969
|
+
| `axiom-boot` | `src/hooks/axiom-boot/` | Axiom 记忆上下文加载 |
|
|
970
|
+
| `axiom-guards` | `src/hooks/axiom-guards/` | Axiom 门禁规则执行 |
|
|
971
|
+
| `bridge-normalize` | `src/hooks/bridge-normalize.ts` | Hook 输入白名单消毒 |
|
|
972
|
+
| `subagent-tracker` | `src/hooks/subagent-tracker/` | 子 agent 生命周期追踪 |
|
|
973
|
+
| `delegation-enforcer` | `src/hooks/bridge.ts` | 自动模型注入(v5.5.2 新增) |
|
|
974
|
+
|
|
975
|
+
### Hook 上下文注入
|
|
976
|
+
|
|
977
|
+
Hooks 通过 `<system-reminder>` 标签向对话注入上下文。识别模式:
|
|
978
|
+
|
|
979
|
+
```
|
|
980
|
+
hook success: Success → 正常继续
|
|
981
|
+
hook additional context: ... → 读取相关上下文
|
|
982
|
+
[MAGIC KEYWORD: skill-name] → 立即调用指定 skill
|
|
983
|
+
The boulder never stops → 处于 ralph/ultrawork 模式,继续工作
|
|
504
984
|
```
|
|
505
985
|
|
|
506
|
-
|
|
986
|
+
---
|
|
987
|
+
|
|
988
|
+
## Windows Support
|
|
989
|
+
|
|
990
|
+
v5.5.x 系列修复了在 Windows 平台上的多个兼容性问题,确保 ultrapower 在 Windows 11 / PowerShell 环境下稳定运行。
|
|
991
|
+
|
|
992
|
+
### v5.5.1 修复项
|
|
993
|
+
|
|
994
|
+
#### `which` / `where` 分支
|
|
995
|
+
|
|
996
|
+
**问题:** `which` 命令在 Windows 上不存在,导致工具检测失败。
|
|
997
|
+
|
|
998
|
+
**修复:** 检测系统平台,Windows 上使用 `where` 命令替代 `which`:
|
|
507
999
|
|
|
508
1000
|
```typescript
|
|
509
|
-
//
|
|
510
|
-
|
|
511
|
-
|
|
1001
|
+
// 修复前
|
|
1002
|
+
const toolPath = execSync(`which ${toolName}`).toString().trim();
|
|
1003
|
+
|
|
1004
|
+
// 修复后
|
|
1005
|
+
const isWindows = process.platform === 'win32';
|
|
1006
|
+
const cmd = isWindows ? `where ${toolName}` : `which ${toolName}`;
|
|
1007
|
+
const toolPath = execSync(cmd).toString().trim().split('\n')[0];
|
|
1008
|
+
```
|
|
512
1009
|
|
|
513
|
-
|
|
514
|
-
canResumeAutopilot(directory: string): { canResume: boolean; state?: AutopilotState; resumePhase?: string }
|
|
515
|
-
resumeAutopilot(directory: string): { success: boolean; message: string; state?: AutopilotState }
|
|
1010
|
+
**影响文件:** `src/tools/lsp/servers.ts`、`src/tools/lsp/client.ts`
|
|
516
1011
|
|
|
517
|
-
|
|
518
|
-
|
|
1012
|
+
#### `path.relative()` 路径分隔符
|
|
1013
|
+
|
|
1014
|
+
**问题:** Windows 上 `path.relative()` 返回反斜杠 `\`,导致 URI 和模式匹配失败。
|
|
1015
|
+
|
|
1016
|
+
**修复:** 统一将路径分隔符转换为正斜杠:
|
|
1017
|
+
|
|
1018
|
+
```typescript
|
|
1019
|
+
// 修复后
|
|
1020
|
+
const relativePath = path.relative(root, filePath).replace(/\\/g, '/');
|
|
519
1021
|
```
|
|
520
1022
|
|
|
521
|
-
|
|
1023
|
+
**影响文件:** `src/hooks/bridge-normalize.ts`、`src/tools/lsp/client.ts`
|
|
1024
|
+
|
|
1025
|
+
#### `os.tmpdir()` 临时目录
|
|
1026
|
+
|
|
1027
|
+
**问题:** 硬编码 `/tmp/` 路径在 Windows 上不存在。
|
|
1028
|
+
|
|
1029
|
+
**修复:** 使用 `os.tmpdir()` 获取平台无关的临时目录:
|
|
522
1030
|
|
|
523
1031
|
```typescript
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
getPhasePrompt,
|
|
527
|
-
readAutopilotState,
|
|
528
|
-
transitionRalphToUltraQA,
|
|
529
|
-
getValidationStatus,
|
|
530
|
-
generateSummary,
|
|
531
|
-
formatSummary
|
|
532
|
-
} from '@/hooks/autopilot';
|
|
1032
|
+
// 修复前
|
|
1033
|
+
const tmpPath = `/tmp/omc-${sessionId}.json`;
|
|
533
1034
|
|
|
534
|
-
//
|
|
535
|
-
|
|
536
|
-
const
|
|
1035
|
+
// 修复后
|
|
1036
|
+
import os from 'os';
|
|
1037
|
+
const tmpPath = path.join(os.tmpdir(), `omc-${sessionId}.json`);
|
|
1038
|
+
```
|
|
537
1039
|
|
|
538
|
-
|
|
539
|
-
const prompt = getPhasePrompt('expansion', { idea });
|
|
1040
|
+
**影响文件:** `src/notifications/session-registry.ts`、`src/team/mcp-team-bridge.ts`
|
|
540
1041
|
|
|
541
|
-
|
|
542
|
-
const currentState = readAutopilotState(process.cwd());
|
|
543
|
-
console.log(`Phase: ${currentState?.phase}`);
|
|
544
|
-
console.log(`Agents spawned: ${currentState?.total_agents_spawned}`);
|
|
1042
|
+
#### `pathToFileURL()` 文件 URI
|
|
545
1043
|
|
|
546
|
-
|
|
547
|
-
if (currentState?.phase === 'execution' && currentState.execution.ralph_completed_at) {
|
|
548
|
-
const result = transitionRalphToUltraQA(process.cwd(), 'ses_abc123');
|
|
549
|
-
if (result.success) {
|
|
550
|
-
console.log('Transitioned to QA phase');
|
|
551
|
-
}
|
|
552
|
-
}
|
|
1044
|
+
**问题:** Windows 路径(如 `C:\Users\...`)直接拼接为 `file:///C:\Users\...` 格式不正确,LSP 服务器无法识别。
|
|
553
1045
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
}
|
|
1046
|
+
**修复:** 使用 `url.pathToFileURL()` 生成正确的文件 URI:
|
|
1047
|
+
|
|
1048
|
+
```typescript
|
|
1049
|
+
// 修复前
|
|
1050
|
+
const uri = `file://${filePath}`;
|
|
1051
|
+
|
|
1052
|
+
// 修复后
|
|
1053
|
+
import { pathToFileURL } from 'url';
|
|
1054
|
+
const uri = pathToFileURL(filePath).toString();
|
|
1055
|
+
// 输出:file:///C:/Users/...(正确格式)
|
|
562
1056
|
```
|
|
563
1057
|
|
|
564
|
-
|
|
1058
|
+
**影响文件:** `src/tools/lsp/client.ts`
|
|
1059
|
+
|
|
1060
|
+
### v5.5.x 其他改进
|
|
565
1061
|
|
|
566
|
-
|
|
1062
|
+
| 版本 | 改进项 |
|
|
1063
|
+
|------|-------|
|
|
1064
|
+
| v5.5.1 | PowerShell 默认 shell 检测 |
|
|
1065
|
+
| v5.5.1 | Windows 行尾符(CRLF)处理 |
|
|
1066
|
+
| v5.5.2 | 文件路径比较使用 `path.normalize()` 确保一致性 |
|
|
1067
|
+
| v5.5.3 | LSP 服务器 Windows 可执行文件后缀处理(`.cmd`、`.exe`) |
|
|
1068
|
+
| v5.5.4 | Git worktree 路径在 Windows 上的规范化 |
|
|
1069
|
+
| v5.5.5 | 子进程 `shell: true` 选项确保 Windows 命令可执行 |
|
|
567
1070
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
1071
|
+
### 环境检测
|
|
1072
|
+
|
|
1073
|
+
ultrapower 在运行时检测操作系统并调整行为:
|
|
1074
|
+
|
|
1075
|
+
```typescript
|
|
1076
|
+
const isWindows = process.platform === 'win32';
|
|
1077
|
+
const isMac = process.platform === 'darwin';
|
|
1078
|
+
const isLinux = process.platform === 'linux';
|
|
1079
|
+
|
|
1080
|
+
// Shell 选择
|
|
1081
|
+
const defaultShell = isWindows ? 'powershell.exe' : '/bin/bash';
|
|
1082
|
+
```
|
|
575
1083
|
|
|
576
1084
|
---
|
|
577
1085
|
|
|
578
|
-
## MCP
|
|
1086
|
+
## MCP Routing
|
|
1087
|
+
|
|
1088
|
+
ultrapower 通过 MCP(Model Context Protocol)集成外部 AI 提供商,实现专业化任务委派,同时支持延迟工具发现。
|
|
579
1089
|
|
|
580
|
-
|
|
1090
|
+
### 提供商概览
|
|
581
1091
|
|
|
582
|
-
|
|
1092
|
+
| 提供商 | 工具前缀 | 模型 | 特长 |
|
|
1093
|
+
|--------|---------|------|------|
|
|
1094
|
+
| Codex (GPT) | `mcp__x__ask_codex` | gpt-5.3-codex | 代码分析、架构审查、批判性分析 |
|
|
1095
|
+
| Gemini | `mcp__g__ask_gemini` | gemini-3-pro-preview | 大上下文(1M token)、UI/UX、视觉分析 |
|
|
583
1096
|
|
|
584
|
-
|
|
585
|
-
|-----------|------|------|
|
|
586
|
-
| `bridge/codex-server.cjs` | gpt-5.3-codex | 代码分析、规划验证、架构审查 |
|
|
587
|
-
| `bridge/gemini-server.cjs` | gemini-3-pro-preview | 大上下文任务(1M tokens)、UI/UX 设计 |
|
|
588
|
-
| `bridge/mcp-server.cjs` | - | 通用 MCP 工具服务 |
|
|
589
|
-
| `bridge/team-bridge.cjs` | - | 团队协调桥接 |
|
|
1097
|
+
### 延迟工具发现
|
|
590
1098
|
|
|
591
|
-
|
|
1099
|
+
**重要机制:** MCP 工具是延迟加载的,在会话开始时不在工具列表中。使用前必须通过 `ToolSearch` 触发发现:
|
|
592
1100
|
|
|
593
1101
|
```typescript
|
|
594
|
-
//
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
1102
|
+
// 推荐:一次性发现所有 MCP 工具
|
|
1103
|
+
ToolSearch("mcp")
|
|
1104
|
+
|
|
1105
|
+
// 按需发现
|
|
1106
|
+
ToolSearch("ask_codex") // 发现 Codex 工具
|
|
1107
|
+
ToolSearch("ask_gemini") // 发现 Gemini 工具
|
|
1108
|
+
```
|
|
1109
|
+
|
|
1110
|
+
**如果 ToolSearch 返回无结果:** MCP 服务器未配置,回退到等效的 Claude agent,不阻塞工作流。
|
|
1111
|
+
|
|
1112
|
+
### Codex(GPT)路由
|
|
1113
|
+
|
|
1114
|
+
**工具:** `mcp__x__ask_codex`
|
|
1115
|
+
|
|
1116
|
+
**最适合角色:**
|
|
1117
|
+
|
|
1118
|
+
| 角色 | 适用场景 |
|
|
1119
|
+
|------|---------|
|
|
1120
|
+
| `architect` | 系统设计评审、接口设计建议 |
|
|
1121
|
+
| `planner` | 执行计划验证、任务排序 |
|
|
1122
|
+
| `critic` | 批判性分析、计划缺陷发现 |
|
|
1123
|
+
| `analyst` | 需求澄清、验收标准制定 |
|
|
1124
|
+
| `code-reviewer` | 代码质量综合审查 |
|
|
1125
|
+
| `security-reviewer` | 漏洞分析、信任边界审查 |
|
|
1126
|
+
| `tdd-guide` | 测试策略、覆盖率分析 |
|
|
1127
|
+
|
|
1128
|
+
**调用示例:**
|
|
1129
|
+
|
|
1130
|
+
```typescript
|
|
1131
|
+
mcp__x__ask_codex({
|
|
1132
|
+
agent_role: 'security-reviewer',
|
|
1133
|
+
prompt: '审查以下认证代码,识别潜在的安全漏洞...',
|
|
1134
|
+
context_files: ['src/auth/login.ts', 'src/auth/session.ts']
|
|
599
1135
|
})
|
|
1136
|
+
```
|
|
1137
|
+
|
|
1138
|
+
### Gemini 路由
|
|
1139
|
+
|
|
1140
|
+
**工具:** `mcp__g__ask_gemini`
|
|
1141
|
+
|
|
1142
|
+
**最适合角色:**
|
|
600
1143
|
|
|
601
|
-
|
|
602
|
-
|
|
1144
|
+
| 角色 | 适用场景 |
|
|
1145
|
+
|------|---------|
|
|
1146
|
+
| `designer` | UI/UX 设计审查、组件设计建议 |
|
|
1147
|
+
| `writer` | 文档生成、迁移指南、用户手册 |
|
|
1148
|
+
| `vision` | 截图分析、图表解读、UI 元素识别 |
|
|
1149
|
+
|
|
1150
|
+
**大上下文优势:** Gemini 支持 1M token 上下文,适合整个代码库级别的分析。
|
|
1151
|
+
|
|
1152
|
+
**调用示例:**
|
|
1153
|
+
|
|
1154
|
+
```typescript
|
|
1155
|
+
mcp__g__ask_gemini({
|
|
603
1156
|
agent_role: 'designer',
|
|
604
|
-
prompt: '
|
|
605
|
-
files: ['src/components/
|
|
1157
|
+
prompt: '分析这个组件的 UX 问题并提供改进建议...',
|
|
1158
|
+
files: ['src/components/Dashboard.tsx', 'src/styles/dashboard.css']
|
|
606
1159
|
})
|
|
607
1160
|
```
|
|
608
1161
|
|
|
609
|
-
###
|
|
1162
|
+
### 后台模式
|
|
1163
|
+
|
|
1164
|
+
使用 `background: true` 提交后台任务,最多等待 1 小时:
|
|
1165
|
+
|
|
1166
|
+
```typescript
|
|
1167
|
+
// 提交后台任务
|
|
1168
|
+
const jobId = await mcp__x__ask_codex({
|
|
1169
|
+
background: true,
|
|
1170
|
+
agent_role: 'code-reviewer',
|
|
1171
|
+
prompt: '全量代码审查...',
|
|
1172
|
+
context_files: ['src/']
|
|
1173
|
+
})
|
|
1174
|
+
|
|
1175
|
+
// 检查状态
|
|
1176
|
+
const status = await check_job_status(jobId)
|
|
1177
|
+
|
|
1178
|
+
// 等待完成(最多 1 小时)
|
|
1179
|
+
const result = await wait_for_job(jobId)
|
|
1180
|
+
```
|
|
1181
|
+
|
|
1182
|
+
### 路由决策准则
|
|
1183
|
+
|
|
1184
|
+
| 任务类型 | 推荐路由 | 原因 |
|
|
1185
|
+
|---------|---------|------|
|
|
1186
|
+
| 架构审查 | Codex (`architect`) | 代码分析能力强 |
|
|
1187
|
+
| 规划验证 | Codex (`planner`) | 批判性分析准确 |
|
|
1188
|
+
| 安全审查 | Codex (`security-reviewer`) | 漏洞识别专项优化 |
|
|
1189
|
+
| UI 设计审查 | Gemini (`designer`) | 视觉理解能力强 |
|
|
1190
|
+
| 文档生成 | Gemini (`writer`) | 大上下文,全库感知 |
|
|
1191
|
+
| 图表分析 | Gemini (`vision`) | 多模态原生支持 |
|
|
1192
|
+
| 实现/调试 | Claude agent(executor/debugger) | 需要工具访问权限 |
|
|
1193
|
+
| 代码编辑 | Claude agent(executor) | 只有 Claude 可以直接修改文件 |
|
|
1194
|
+
|
|
1195
|
+
### 无 MCP 替代品的 Agent
|
|
1196
|
+
|
|
1197
|
+
以下 agents 需要 Claude 的工具访问权限,无法通过 MCP 提供商替代:
|
|
1198
|
+
|
|
1199
|
+
- `executor`、`deep-executor`:需要文件编辑工具
|
|
1200
|
+
- `explore`:需要 Glob/Grep/Read 工具
|
|
1201
|
+
- `debugger`、`verifier`:需要运行构建和测试命令
|
|
1202
|
+
- `dependency-expert`:需要联网工具
|
|
1203
|
+
- `scientist`:需要 Python REPL 工具
|
|
1204
|
+
- `build-fixer`:需要文件编辑和构建工具
|
|
1205
|
+
- `qa-tester`:需要进程启动工具
|
|
1206
|
+
- `git-master`:需要 git 命令执行
|
|
1207
|
+
- 所有审查通道 agents(review lane)
|
|
1208
|
+
- 所有产品通道 agents(product lane)
|
|
1209
|
+
|
|
1210
|
+
### 本地 MCP 工具
|
|
1211
|
+
|
|
1212
|
+
通过 `claude mcp add` 配置的本地工具,无需 API key:
|
|
1213
|
+
|
|
1214
|
+
| 工具 | 适用场景 |
|
|
1215
|
+
|------|---------|
|
|
1216
|
+
| `sequential-thinking` | 架构决策分析、根因排查、多步骤规划 |
|
|
1217
|
+
| `software-planning-tool` | 需求拆解、sprint 规划、技术方案评估 |
|
|
1218
|
+
|
|
1219
|
+
### 安全约束
|
|
1220
|
+
|
|
1221
|
+
MCP 输出被包装为不可信内容,应用以下约束:
|
|
610
1222
|
|
|
611
|
-
`prompt_file` 和 `output_file`
|
|
1223
|
+
- `prompt_file` 和 `output_file` 路径相对于 `working_directory` 解析
|
|
1224
|
+
- 受 `OMC_MCP_OUTPUT_PATH_POLICY` 控制:`strict`(默认)或 `redirect_output`
|
|
1225
|
+
- MCP 输出是建议性的,验证(测试、类型检查)必须由 Claude agent 执行
|
|
1226
|
+
- 未配置的 MCP 服务器静默失败,回退到等效 Claude agent
|
|
612
1227
|
|
|
613
1228
|
---
|
|
614
1229
|
|
|
615
1230
|
## 参见
|
|
616
1231
|
|
|
617
|
-
- [CHANGELOG.md](../CHANGELOG.md)
|
|
618
|
-
- [ARCHITECTURE.md](./ARCHITECTURE.md)
|
|
619
|
-
- [
|
|
620
|
-
- [
|
|
1232
|
+
- [CHANGELOG.md](../CHANGELOG.md) — 版本历史和发布说明
|
|
1233
|
+
- [ARCHITECTURE.md](./ARCHITECTURE.md) — 系统架构设计
|
|
1234
|
+
- [REFERENCE.md](./REFERENCE.md) — 完整 API 参考(agents/skills/hooks 列表)
|
|
1235
|
+
- [MIGRATION.md](./MIGRATION.md) — 版本迁移指南
|
|
1236
|
+
- [COMPATIBILITY.md](./COMPATIBILITY.md) — 兼容性要求
|
|
1237
|
+
- [Agent Definitions](../src/agents/definitions.ts) — Agent 规范配置
|
|
1238
|
+
- [Hook Bridge](../src/hooks/bridge.ts) — Delegation Enforcer 实现
|