@liangjie559567/ultrapower 5.5.2 → 5.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +15 -11
- package/README.md +104 -8
- package/agents/analyst.md +24 -0
- package/bridge/codex-server.cjs +886 -88
- package/bridge/gemini-server.cjs +892 -89
- package/bridge/mcp-server.cjs +1351 -238
- package/bridge/team-bridge.cjs +737 -99
- package/commands/brainstorm.md +1 -1
- package/commands/execute-plan.md +1 -1
- package/commands/wizard.md +5 -0
- package/commands/write-plan.md +1 -1
- package/dist/__tests__/job-management.test.js +43 -43
- package/dist/__tests__/job-management.test.js.map +1 -1
- package/dist/__tests__/validateMode.test.js +1 -1
- package/dist/__tests__/validateMode.test.js.map +1 -1
- package/dist/agents/__tests__/agent-wrapper.test.d.ts +2 -0
- package/dist/agents/__tests__/agent-wrapper.test.d.ts.map +1 -0
- package/dist/agents/__tests__/agent-wrapper.test.js +37 -0
- package/dist/agents/__tests__/agent-wrapper.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-config.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-config.test.js +35 -0
- package/dist/agents/__tests__/timeout-config.test.js.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts +2 -0
- package/dist/agents/__tests__/timeout-manager.test.d.ts.map +1 -0
- package/dist/agents/__tests__/timeout-manager.test.js +37 -0
- package/dist/agents/__tests__/timeout-manager.test.js.map +1 -0
- package/dist/agents/agent-wrapper.d.ts +22 -0
- package/dist/agents/agent-wrapper.d.ts.map +1 -0
- package/dist/agents/agent-wrapper.js +54 -0
- package/dist/agents/agent-wrapper.js.map +1 -0
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/definitions.js +1 -1
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/timeout-config.d.ts +19 -0
- package/dist/agents/timeout-config.d.ts.map +1 -0
- package/dist/agents/timeout-config.js +57 -0
- package/dist/agents/timeout-config.js.map +1 -0
- package/dist/agents/timeout-manager.d.ts +31 -0
- package/dist/agents/timeout-manager.d.ts.map +1 -0
- package/dist/agents/timeout-manager.js +53 -0
- package/dist/agents/timeout-manager.js.map +1 -0
- package/dist/analytics/analytics-summary.d.ts.map +1 -1
- package/dist/analytics/analytics-summary.js +7 -1
- package/dist/analytics/analytics-summary.js.map +1 -1
- package/dist/analytics/metrics-collector.d.ts.map +1 -1
- package/dist/analytics/metrics-collector.js +9 -1
- package/dist/analytics/metrics-collector.js.map +1 -1
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +21 -3
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.js +3 -3
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/transcript-scanner.d.ts.map +1 -1
- package/dist/analytics/transcript-scanner.js +20 -13
- package/dist/analytics/transcript-scanner.js.map +1 -1
- package/dist/audit/logger.d.ts +28 -0
- package/dist/audit/logger.d.ts.map +1 -0
- package/dist/audit/logger.js +86 -0
- package/dist/audit/logger.js.map +1 -0
- package/dist/audit/verify-cli.d.ts +2 -0
- package/dist/audit/verify-cli.d.ts.map +1 -0
- package/dist/audit/verify-cli.js +10 -0
- package/dist/audit/verify-cli.js.map +1 -0
- package/dist/cli/commands/perf.d.ts +3 -0
- package/dist/cli/commands/perf.d.ts.map +1 -0
- package/dist/cli/commands/perf.js +25 -0
- package/dist/cli/commands/perf.js.map +1 -0
- package/dist/cli/commands/plugin.d.ts +6 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +100 -0
- package/dist/cli/commands/plugin.js.map +1 -0
- package/dist/cli/commands/teleport.js +5 -5
- package/dist/cli/commands/teleport.js.map +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/compatibility/mcp-bridge.d.ts.map +1 -1
- package/dist/compatibility/mcp-bridge.js +4 -3
- package/dist/compatibility/mcp-bridge.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +40 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/core/hud-config.d.ts +19 -0
- package/dist/core/hud-config.d.ts.map +1 -0
- package/dist/core/hud-config.js +6 -0
- package/dist/core/hud-config.js.map +1 -0
- package/dist/core/job-types.d.ts +22 -0
- package/dist/core/job-types.d.ts.map +1 -0
- package/dist/core/job-types.js +6 -0
- package/dist/core/job-types.js.map +1 -0
- package/dist/features/diagnostics/error-matcher.d.ts +12 -0
- package/dist/features/diagnostics/error-matcher.d.ts.map +1 -0
- package/dist/features/diagnostics/error-matcher.js +41 -0
- package/dist/features/diagnostics/error-matcher.js.map +1 -0
- package/dist/features/diagnostics/index.d.ts +3 -0
- package/dist/features/diagnostics/index.d.ts.map +1 -0
- package/dist/features/diagnostics/index.js +3 -0
- package/dist/features/diagnostics/index.js.map +1 -0
- package/dist/features/diagnostics/solution-suggester.d.ts +12 -0
- package/dist/features/diagnostics/solution-suggester.d.ts.map +1 -0
- package/dist/features/diagnostics/solution-suggester.js +46 -0
- package/dist/features/diagnostics/solution-suggester.js.map +1 -0
- package/dist/features/diagnostics/types.d.ts +25 -0
- package/dist/features/diagnostics/types.d.ts.map +1 -0
- package/dist/features/diagnostics/types.js +5 -0
- package/dist/features/diagnostics/types.js.map +1 -0
- package/dist/features/rate-limit-wait/daemon.js +1 -1
- package/dist/features/rate-limit-wait/daemon.js.map +1 -1
- package/dist/features/reflection/data-collector.d.ts +12 -0
- package/dist/features/reflection/data-collector.d.ts.map +1 -0
- package/dist/features/reflection/data-collector.js +38 -0
- package/dist/features/reflection/data-collector.js.map +1 -0
- package/dist/features/reflection/index.d.ts +4 -0
- package/dist/features/reflection/index.d.ts.map +1 -0
- package/dist/features/reflection/index.js +3 -0
- package/dist/features/reflection/index.js.map +1 -0
- package/dist/features/reflection/report-generator.d.ts +3 -0
- package/dist/features/reflection/report-generator.d.ts.map +1 -0
- package/dist/features/reflection/report-generator.js +42 -0
- package/dist/features/reflection/report-generator.js.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.js +17 -17
- package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js +42 -0
- package/dist/features/state-manager/__tests__/encryption-performance.test.js.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/encryption.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/encryption.test.js +68 -0
- package/dist/features/state-manager/__tests__/encryption.test.js.map +1 -0
- package/dist/features/state-manager/encryption.d.ts +24 -0
- package/dist/features/state-manager/encryption.d.ts.map +1 -0
- package/dist/features/state-manager/encryption.js +86 -0
- package/dist/features/state-manager/encryption.js.map +1 -0
- package/dist/features/state-manager/index.d.ts +4 -0
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +95 -7
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/features/state-manager/tiered-writer.d.ts +44 -0
- package/dist/features/state-manager/tiered-writer.d.ts.map +1 -0
- package/dist/features/state-manager/tiered-writer.js +76 -0
- package/dist/features/state-manager/tiered-writer.js.map +1 -0
- package/dist/features/state-manager/wal.d.ts +21 -0
- package/dist/features/state-manager/wal.d.ts.map +1 -0
- package/dist/features/state-manager/wal.js +75 -0
- package/dist/features/state-manager/wal.js.map +1 -0
- package/dist/features/task-templates/index.d.ts +13 -0
- package/dist/features/task-templates/index.d.ts.map +1 -0
- package/dist/features/task-templates/index.js +31 -0
- package/dist/features/task-templates/index.js.map +1 -0
- package/dist/features/task-templates/wizard-integration.d.ts +15 -0
- package/dist/features/task-templates/wizard-integration.d.ts.map +1 -0
- package/dist/features/task-templates/wizard-integration.js +27 -0
- package/dist/features/task-templates/wizard-integration.js.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/engine.test.js +78 -0
- package/dist/features/wizard/__tests__/engine.test.js.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts +2 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts.map +1 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js +43 -0
- package/dist/features/wizard/__tests__/recommendation-engine.test.js.map +1 -0
- package/dist/features/wizard/engine.d.ts +15 -0
- package/dist/features/wizard/engine.d.ts.map +1 -0
- package/dist/features/wizard/engine.js +74 -0
- package/dist/features/wizard/engine.js.map +1 -0
- package/dist/features/wizard/index.d.ts +8 -0
- package/dist/features/wizard/index.d.ts.map +1 -0
- package/dist/features/wizard/index.js +7 -0
- package/dist/features/wizard/index.js.map +1 -0
- package/dist/features/wizard/questions.d.ts +6 -0
- package/dist/features/wizard/questions.d.ts.map +1 -0
- package/dist/features/wizard/questions.js +64 -0
- package/dist/features/wizard/questions.js.map +1 -0
- package/dist/features/wizard/recommendation-engine.d.ts +6 -0
- package/dist/features/wizard/recommendation-engine.d.ts.map +1 -0
- package/dist/features/wizard/recommendation-engine.js +33 -0
- package/dist/features/wizard/recommendation-engine.js.map +1 -0
- package/dist/features/wizard/types.d.ts +23 -0
- package/dist/features/wizard/types.d.ts.map +1 -0
- package/dist/features/wizard/types.js +5 -0
- package/dist/features/wizard/types.js.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts +6 -0
- package/dist/features/workflow-recommender/context-analyzer.d.ts.map +1 -0
- package/dist/features/workflow-recommender/context-analyzer.js +20 -0
- package/dist/features/workflow-recommender/context-analyzer.js.map +1 -0
- package/dist/features/workflow-recommender/index.d.ts +12 -0
- package/dist/features/workflow-recommender/index.d.ts.map +1 -0
- package/dist/features/workflow-recommender/index.js +9 -0
- package/dist/features/workflow-recommender/index.js.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts +6 -0
- package/dist/features/workflow-recommender/intent-classifier.d.ts.map +1 -0
- package/dist/features/workflow-recommender/intent-classifier.js +24 -0
- package/dist/features/workflow-recommender/intent-classifier.js.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts +6 -0
- package/dist/features/workflow-recommender/recommendation-engine.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommendation-engine.js +110 -0
- package/dist/features/workflow-recommender/recommendation-engine.js.map +1 -0
- package/dist/features/workflow-recommender/recommender.d.ts +14 -0
- package/dist/features/workflow-recommender/recommender.d.ts.map +1 -0
- package/dist/features/workflow-recommender/recommender.js +32 -0
- package/dist/features/workflow-recommender/recommender.js.map +1 -0
- package/dist/features/workflow-recommender/router-integration.d.ts +9 -0
- package/dist/features/workflow-recommender/router-integration.d.ts.map +1 -0
- package/dist/features/workflow-recommender/router-integration.js +25 -0
- package/dist/features/workflow-recommender/router-integration.js.map +1 -0
- package/dist/features/workflow-recommender/types.d.ts +20 -0
- package/dist/features/workflow-recommender/types.d.ts.map +1 -0
- package/dist/features/workflow-recommender/types.js +5 -0
- package/dist/features/workflow-recommender/types.js.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-normalize.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js +90 -0
- package/dist/hooks/__tests__/bridge-normalize.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.js +23 -41
- package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js +70 -0
- package/dist/hooks/auto-slash-command/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js +55 -0
- package/dist/hooks/auto-slash-command/__tests__/executor.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js +50 -0
- package/dist/hooks/auto-slash-command/__tests__/index.test.js.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.js +2 -2
- package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js +19 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +1 -1
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/axiom-boot/index.d.ts +1 -0
- package/dist/hooks/axiom-boot/index.d.ts.map +1 -1
- package/dist/hooks/axiom-boot/index.js +13 -0
- package/dist/hooks/axiom-boot/index.js.map +1 -1
- package/dist/hooks/bridge-normalize.d.ts +43 -3
- package/dist/hooks/bridge-normalize.d.ts.map +1 -1
- package/dist/hooks/bridge-normalize.js +183 -61
- package/dist/hooks/bridge-normalize.js.map +1 -1
- package/dist/hooks/bridge-types.d.ts +62 -0
- package/dist/hooks/bridge-types.d.ts.map +1 -0
- package/dist/hooks/bridge-types.js +6 -0
- package/dist/hooks/bridge-types.js.map +1 -0
- package/dist/hooks/bridge.d.ts +1 -43
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +132 -32
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/dependency-analyzer.d.ts +32 -0
- package/dist/hooks/dependency-analyzer.d.ts.map +1 -0
- package/dist/hooks/dependency-analyzer.js +199 -0
- package/dist/hooks/dependency-analyzer.js.map +1 -0
- package/dist/hooks/guards/pre-tool.d.ts.map +1 -1
- package/dist/hooks/guards/pre-tool.js +8 -2
- package/dist/hooks/guards/pre-tool.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/__tests__/confidence.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/confidence.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/confidence.test.js +42 -0
- package/dist/hooks/learner/__tests__/confidence.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/detector.test.js +170 -0
- package/dist/hooks/learner/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js +147 -0
- package/dist/hooks/learner/__tests__/index-manager-filter.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js +43 -0
- package/dist/hooks/learner/__tests__/index-manager-import.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/index.test.js +48 -0
- package/dist/hooks/learner/__tests__/index.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts +10 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js +131 -0
- package/dist/hooks/learner/__tests__/learning-queue-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/matcher.test.js +114 -0
- package/dist/hooks/learner/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/promotion.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/promotion.test.js +146 -0
- package/dist/hooks/learner/__tests__/promotion.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts +13 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js +162 -0
- package/dist/hooks/learner/__tests__/queue-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js +159 -0
- package/dist/hooks/learner/__tests__/reflection-archiver.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts +14 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js +201 -0
- package/dist/hooks/learner/__tests__/reflection-parser.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/validator.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/validator.test.js +123 -0
- package/dist/hooks/learner/__tests__/validator.test.js.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts +2 -0
- package/dist/hooks/learner/__tests__/writer.test.d.ts.map +1 -0
- package/dist/hooks/learner/__tests__/writer.test.js +141 -0
- package/dist/hooks/learner/__tests__/writer.test.js.map +1 -0
- package/dist/hooks/learner/confidence.d.ts +10 -0
- package/dist/hooks/learner/confidence.d.ts.map +1 -1
- package/dist/hooks/learner/confidence.js +17 -0
- package/dist/hooks/learner/confidence.js.map +1 -1
- package/dist/hooks/learner/detection-hook.js +2 -2
- package/dist/hooks/learner/detection-hook.js.map +1 -1
- package/dist/hooks/learner/index-manager.d.ts +29 -0
- package/dist/hooks/learner/index-manager.d.ts.map +1 -1
- package/dist/hooks/learner/index-manager.js +56 -0
- package/dist/hooks/learner/index-manager.js.map +1 -1
- package/dist/hooks/learner/learning-queue.d.ts +1 -0
- package/dist/hooks/learner/learning-queue.d.ts.map +1 -1
- package/dist/hooks/learner/learning-queue.js +82 -0
- package/dist/hooks/learner/learning-queue.js.map +1 -1
- package/dist/hooks/learner/orchestrator.d.ts +12 -1
- package/dist/hooks/learner/orchestrator.d.ts.map +1 -1
- package/dist/hooks/learner/orchestrator.js +19 -2
- package/dist/hooks/learner/orchestrator.js.map +1 -1
- package/dist/hooks/learner/promotion.d.ts +10 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -1
- package/dist/hooks/learner/promotion.js +33 -0
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/learner/queue-archiver.d.ts +21 -0
- package/dist/hooks/learner/queue-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/queue-archiver.js +147 -0
- package/dist/hooks/learner/queue-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-archiver.d.ts +19 -0
- package/dist/hooks/learner/reflection-archiver.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-archiver.js +113 -0
- package/dist/hooks/learner/reflection-archiver.js.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts +22 -0
- package/dist/hooks/learner/reflection-cleanup.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-cleanup.js +62 -0
- package/dist/hooks/learner/reflection-cleanup.js.map +1 -0
- package/dist/hooks/learner/reflection-parser.d.ts +26 -0
- package/dist/hooks/learner/reflection-parser.d.ts.map +1 -0
- package/dist/hooks/learner/reflection-parser.js +139 -0
- package/dist/hooks/learner/reflection-parser.js.map +1 -0
- package/dist/hooks/learner/reflection.d.ts +8 -1
- package/dist/hooks/learner/reflection.d.ts.map +1 -1
- package/dist/hooks/learner/reflection.js +19 -2
- package/dist/hooks/learner/reflection.js.map +1 -1
- package/dist/hooks/learner/types.d.ts +23 -0
- package/dist/hooks/learner/types.d.ts.map +1 -1
- package/dist/hooks/nexus/config.d.ts.map +1 -1
- package/dist/hooks/nexus/config.js +4 -3
- package/dist/hooks/nexus/config.js.map +1 -1
- package/dist/hooks/nexus/improvement-puller.d.ts.map +1 -1
- package/dist/hooks/nexus/improvement-puller.js +4 -2
- package/dist/hooks/nexus/improvement-puller.js.map +1 -1
- package/dist/hooks/nexus/session-end-hook.d.ts.map +1 -1
- package/dist/hooks/nexus/session-end-hook.js +8 -3
- package/dist/hooks/nexus/session-end-hook.js.map +1 -1
- package/dist/hooks/observability/__tests__/observability.test.d.ts +2 -0
- package/dist/hooks/observability/__tests__/observability.test.d.ts.map +1 -0
- package/dist/hooks/observability/__tests__/observability.test.js +176 -0
- package/dist/hooks/observability/__tests__/observability.test.js.map +1 -0
- package/dist/hooks/observability/agent-tracker.d.ts +18 -0
- package/dist/hooks/observability/agent-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/agent-tracker.js +26 -0
- package/dist/hooks/observability/agent-tracker.js.map +1 -0
- package/dist/hooks/observability/cost-estimator.d.ts +18 -0
- package/dist/hooks/observability/cost-estimator.d.ts.map +1 -0
- package/dist/hooks/observability/cost-estimator.js +46 -0
- package/dist/hooks/observability/cost-estimator.js.map +1 -0
- package/dist/hooks/observability/db.d.ts +5 -0
- package/dist/hooks/observability/db.d.ts.map +1 -0
- package/dist/hooks/observability/db.js +63 -0
- package/dist/hooks/observability/db.js.map +1 -0
- package/dist/hooks/observability/query-engine.d.ts +36 -0
- package/dist/hooks/observability/query-engine.d.ts.map +1 -0
- package/dist/hooks/observability/query-engine.js +78 -0
- package/dist/hooks/observability/query-engine.js.map +1 -0
- package/dist/hooks/observability/tool-tracker.d.ts +11 -0
- package/dist/hooks/observability/tool-tracker.d.ts.map +1 -0
- package/dist/hooks/observability/tool-tracker.js +24 -0
- package/dist/hooks/observability/tool-tracker.js.map +1 -0
- package/dist/hooks/observability/write-queue.d.ts +13 -0
- package/dist/hooks/observability/write-queue.d.ts.map +1 -0
- package/dist/hooks/observability/write-queue.js +48 -0
- package/dist/hooks/observability/write-queue.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
- package/dist/hooks/omc-orchestrator/index.js +2 -11
- package/dist/hooks/omc-orchestrator/index.js.map +1 -1
- package/dist/hooks/parallel-executor.d.ts +24 -0
- package/dist/hooks/parallel-executor.d.ts.map +1 -0
- package/dist/hooks/parallel-executor.js +82 -0
- package/dist/hooks/parallel-executor.js.map +1 -0
- package/dist/hooks/permission-handler/index.d.ts +1 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -1
- package/dist/hooks/permission-handler/index.js +60 -5
- package/dist/hooks/permission-handler/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +2 -21
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +4 -85
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/tool-error.d.ts +15 -0
- package/dist/hooks/persistent-mode/tool-error.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/tool-error.js +80 -0
- package/dist/hooks/persistent-mode/tool-error.js.map +1 -0
- package/dist/hooks/pre-compact/index.d.ts.map +1 -1
- package/dist/hooks/pre-compact/index.js +0 -1
- package/dist/hooks/pre-compact/index.js.map +1 -1
- package/dist/hooks/project-memory/learner.d.ts +13 -1
- package/dist/hooks/project-memory/learner.d.ts.map +1 -1
- package/dist/hooks/project-memory/learner.js +24 -12
- package/dist/hooks/project-memory/learner.js.map +1 -1
- package/dist/hooks/race-detector.d.ts +51 -0
- package/dist/hooks/race-detector.d.ts.map +1 -0
- package/dist/hooks/race-detector.js +121 -0
- package/dist/hooks/race-detector.js.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/loop.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/loop.test.js +268 -0
- package/dist/hooks/ralph/__tests__/loop.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/prd.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/prd.test.js +197 -0
- package/dist/hooks/ralph/__tests__/prd.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/progress.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/progress.test.js +120 -0
- package/dist/hooks/ralph/__tests__/progress.test.js.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts +2 -0
- package/dist/hooks/ralph/__tests__/verifier.test.d.ts.map +1 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js +75 -0
- package/dist/hooks/ralph/__tests__/verifier.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/context-window.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js +131 -0
- package/dist/hooks/recovery/__tests__/context-window.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js +88 -0
- package/dist/hooks/recovery/__tests__/edit-error.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/index.test.js +270 -0
- package/dist/hooks/recovery/__tests__/index.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js +129 -0
- package/dist/hooks/recovery/__tests__/session-recovery.test.js.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +549 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +1 -1
- package/dist/hooks/recovery/session-recovery.js.map +1 -1
- package/dist/hooks/recovery/storage.js +5 -4
- package/dist/hooks/recovery/storage.js.map +1 -1
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js +68 -0
- package/dist/hooks/rules-injector/__tests__/finder.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js +58 -0
- package/dist/hooks/rules-injector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/matcher.test.js.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts +2 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.d.ts.map +1 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js +86 -0
- package/dist/hooks/rules-injector/__tests__/parser.test.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +2 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -1
- package/dist/hooks/rules-injector/finder.js +12 -4
- package/dist/hooks/rules-injector/finder.js.map +1 -1
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -1
- package/dist/hooks/rules-injector/matcher.js +15 -8
- package/dist/hooks/rules-injector/matcher.js.map +1 -1
- package/dist/hooks/session-end/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/index.test.js +77 -0
- package/dist/hooks/session-end/__tests__/index.test.js.map +1 -0
- package/dist/hooks/session-end/callbacks.d.ts +1 -1
- package/dist/hooks/session-end/index.d.ts +2 -21
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/session-end/types.d.ts +26 -0
- package/dist/hooks/session-end/types.d.ts.map +1 -0
- package/dist/hooks/session-end/types.js +6 -0
- package/dist/hooks/session-end/types.js.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/index.test.js +68 -0
- package/dist/hooks/setup/__tests__/index.test.js.map +1 -0
- package/dist/hooks/skill-bridge.cjs +5 -1
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts +2 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js +94 -0
- package/dist/hooks/team-pipeline/__tests__/state.test.js.map +1 -0
- package/dist/hooks/timeout-wrapper.d.ts +32 -0
- package/dist/hooks/timeout-wrapper.d.ts.map +1 -0
- package/dist/hooks/timeout-wrapper.js +62 -0
- package/dist/hooks/timeout-wrapper.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
- package/dist/hooks/todo-continuation/index.js +11 -5
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/decomposer.js +5 -6
- package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
- package/dist/hooks/ultrapilot/state.js +13 -4
- package/dist/hooks/ultrapilot/state.js.map +1 -1
- package/dist/hooks/ultraqa/index.d.ts.map +1 -1
- package/dist/hooks/ultraqa/index.js +11 -2
- package/dist/hooks/ultraqa/index.js.map +1 -1
- package/dist/hooks/ultrawork/index.d.ts.map +1 -1
- package/dist/hooks/ultrawork/index.js +20 -6
- package/dist/hooks/ultrawork/index.js.map +1 -1
- package/dist/hud/elements/autopilot.d.ts +1 -1
- package/dist/hud/elements/autopilot.d.ts.map +1 -1
- package/dist/hud/elements/git.d.ts +0 -5
- package/dist/hud/elements/git.d.ts.map +1 -1
- package/dist/hud/elements/git.js +3 -37
- package/dist/hud/elements/git.js.map +1 -1
- package/dist/hud/sanitize.d.ts.map +1 -1
- package/dist/hud/sanitize.js +16 -17
- package/dist/hud/sanitize.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +69 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +2 -15
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/installer/__tests__/hooks.test.d.ts +6 -0
- package/dist/installer/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hooks.test.js +121 -0
- package/dist/installer/__tests__/hooks.test.js.map +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +11 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/__tests__/atomic-write.test.js +3 -4
- package/dist/lib/__tests__/atomic-write.test.js.map +1 -1
- package/dist/lib/__tests__/file-lock.test.d.ts +13 -0
- package/dist/lib/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/lib/__tests__/file-lock.test.js +122 -0
- package/dist/lib/__tests__/file-lock.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-deps.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-deps.test.js +58 -0
- package/dist/lib/__tests__/plugin-deps.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-marketplace.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js +52 -0
- package/dist/lib/__tests__/plugin-marketplace.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-rollback.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-rollback.test.js +60 -0
- package/dist/lib/__tests__/plugin-rollback.test.js.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts +2 -0
- package/dist/lib/__tests__/plugin-security.test.d.ts.map +1 -0
- package/dist/lib/__tests__/plugin-security.test.js +70 -0
- package/dist/lib/__tests__/plugin-security.test.js.map +1 -0
- package/dist/lib/__tests__/validateMode.test.d.ts +2 -0
- package/dist/lib/__tests__/validateMode.test.d.ts.map +1 -0
- package/dist/lib/__tests__/validateMode.test.js +61 -0
- package/dist/lib/__tests__/validateMode.test.js.map +1 -0
- package/dist/lib/__tests__/version.test.d.ts +6 -0
- package/dist/lib/__tests__/version.test.d.ts.map +1 -0
- package/dist/lib/__tests__/version.test.js +37 -0
- package/dist/lib/__tests__/version.test.js.map +1 -0
- package/dist/lib/atomic-write.d.ts.map +1 -1
- package/dist/lib/atomic-write.js +6 -8
- package/dist/lib/atomic-write.js.map +1 -1
- package/dist/lib/constants.d.ts +59 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +69 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/env-validator.d.ts +28 -0
- package/dist/lib/env-validator.d.ts.map +1 -0
- package/dist/lib/env-validator.js +105 -0
- package/dist/lib/env-validator.js.map +1 -0
- package/dist/lib/file-cache.d.ts +16 -0
- package/dist/lib/file-cache.d.ts.map +1 -0
- package/dist/lib/file-cache.js +33 -0
- package/dist/lib/file-cache.js.map +1 -0
- package/dist/lib/file-lock.d.ts +18 -0
- package/dist/lib/file-lock.d.ts.map +1 -0
- package/dist/lib/file-lock.js +59 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/git-utils.d.ts +55 -0
- package/dist/lib/git-utils.d.ts.map +1 -0
- package/dist/lib/git-utils.js +140 -0
- package/dist/lib/git-utils.js.map +1 -0
- package/dist/lib/memory-utils.d.ts +7 -0
- package/dist/lib/memory-utils.d.ts.map +1 -0
- package/dist/lib/memory-utils.js +21 -0
- package/dist/lib/memory-utils.js.map +1 -0
- package/dist/lib/path-validator.d.ts +25 -0
- package/dist/lib/path-validator.d.ts.map +1 -0
- package/dist/lib/path-validator.js +88 -0
- package/dist/lib/path-validator.js.map +1 -0
- package/dist/lib/plugin-deps.d.ts +26 -0
- package/dist/lib/plugin-deps.d.ts.map +1 -0
- package/dist/lib/plugin-deps.js +59 -0
- package/dist/lib/plugin-deps.js.map +1 -0
- package/dist/lib/plugin-marketplace.d.ts +12 -0
- package/dist/lib/plugin-marketplace.d.ts.map +1 -0
- package/dist/lib/plugin-marketplace.js +35 -0
- package/dist/lib/plugin-marketplace.js.map +1 -0
- package/dist/lib/plugin-rollback.d.ts +22 -0
- package/dist/lib/plugin-rollback.d.ts.map +1 -0
- package/dist/lib/plugin-rollback.js +66 -0
- package/dist/lib/plugin-rollback.js.map +1 -0
- package/dist/lib/plugin-security.d.ts +19 -0
- package/dist/lib/plugin-security.d.ts.map +1 -0
- package/dist/lib/plugin-security.js +87 -0
- package/dist/lib/plugin-security.js.map +1 -0
- package/dist/lib/safe-json.d.ts +16 -0
- package/dist/lib/safe-json.d.ts.map +1 -0
- package/dist/lib/safe-json.js +22 -0
- package/dist/lib/safe-json.js.map +1 -0
- package/dist/lib/validateMode.d.ts +3 -0
- package/dist/lib/validateMode.d.ts.map +1 -1
- package/dist/lib/validateMode.js +28 -2
- package/dist/lib/validateMode.js.map +1 -1
- package/dist/lib/worktree-paths.d.ts.map +1 -1
- package/dist/lib/worktree-paths.js +4 -24
- package/dist/lib/worktree-paths.js.map +1 -1
- package/dist/mcp/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/mcp/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/cli-detection.test.js +50 -0
- package/dist/mcp/__tests__/cli-detection.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-core.test.js +143 -0
- package/dist/mcp/__tests__/codex-core.test.js.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/codex-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/codex-integration.test.js +59 -0
- package/dist/mcp/__tests__/codex-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-core.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-core.test.js +53 -0
- package/dist/mcp/__tests__/gemini-core.test.js.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts +2 -0
- package/dist/mcp/__tests__/gemini-integration.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/gemini-integration.test.js +50 -0
- package/dist/mcp/__tests__/gemini-integration.test.js.map +1 -0
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js +48 -1
- package/dist/mcp/__tests__/job-state-db-deprecation.test.js.map +1 -1
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts +2 -0
- package/dist/mcp/__tests__/omc-tools-server.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js +108 -0
- package/dist/mcp/__tests__/omc-tools-server.test.js.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.js +86 -0
- package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/mcp/adapters/ast-adapter.d.ts +90 -0
- package/dist/mcp/adapters/ast-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/ast-adapter.js +36 -0
- package/dist/mcp/adapters/ast-adapter.js.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts +6 -0
- package/dist/mcp/adapters/lsp-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/lsp-adapter.js +6 -0
- package/dist/mcp/adapters/lsp-adapter.js.map +1 -0
- package/dist/mcp/adapters/memory-adapter.d.ts +156 -0
- package/dist/mcp/adapters/memory-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/memory-adapter.js +59 -0
- package/dist/mcp/adapters/memory-adapter.js.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts +115 -0
- package/dist/mcp/adapters/notepad-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/notepad-adapter.js +78 -0
- package/dist/mcp/adapters/notepad-adapter.js.map +1 -0
- package/dist/mcp/adapters/python-adapter.d.ts +46 -0
- package/dist/mcp/adapters/python-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/python-adapter.js +44 -0
- package/dist/mcp/adapters/python-adapter.js.map +1 -0
- package/dist/mcp/adapters/skills-adapter.d.ts +37 -0
- package/dist/mcp/adapters/skills-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/skills-adapter.js +35 -0
- package/dist/mcp/adapters/skills-adapter.js.map +1 -0
- package/dist/mcp/adapters/state-adapter.d.ts +209 -0
- package/dist/mcp/adapters/state-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/state-adapter.js +82 -0
- package/dist/mcp/adapters/state-adapter.js.map +1 -0
- package/dist/mcp/adapters/trace-adapter.d.ts +67 -0
- package/dist/mcp/adapters/trace-adapter.d.ts.map +1 -0
- package/dist/mcp/adapters/trace-adapter.js +30 -0
- package/dist/mcp/adapters/trace-adapter.js.map +1 -0
- package/dist/mcp/client/MCPClient.d.ts +22 -0
- package/dist/mcp/client/MCPClient.d.ts.map +1 -0
- package/dist/mcp/client/MCPClient.js +93 -0
- package/dist/mcp/client/MCPClient.js.map +1 -0
- package/dist/mcp/client.d.ts +19 -0
- package/dist/mcp/client.d.ts.map +1 -0
- package/dist/mcp/client.js +34 -0
- package/dist/mcp/client.js.map +1 -0
- package/dist/mcp/codex-core.d.ts.map +1 -1
- package/dist/mcp/codex-core.js +9 -4
- package/dist/mcp/codex-core.js.map +1 -1
- package/dist/mcp/config/config-loader.d.ts +6 -0
- package/dist/mcp/config/config-loader.d.ts.map +1 -0
- package/dist/mcp/config/config-loader.js +16 -0
- package/dist/mcp/config/config-loader.js.map +1 -0
- package/dist/mcp/config/env-replacer.d.ts +10 -0
- package/dist/mcp/config/env-replacer.d.ts.map +1 -0
- package/dist/mcp/config/env-replacer.js +39 -0
- package/dist/mcp/config/env-replacer.js.map +1 -0
- package/dist/mcp/config/loader.d.ts +6 -0
- package/dist/mcp/config/loader.d.ts.map +1 -0
- package/dist/mcp/config/loader.js +51 -0
- package/dist/mcp/config/loader.js.map +1 -0
- package/dist/mcp/config/schema.d.ts +63 -0
- package/dist/mcp/config/schema.d.ts.map +1 -0
- package/dist/mcp/config/schema.js +15 -0
- package/dist/mcp/config/schema.js.map +1 -0
- package/dist/mcp/config-loader.d.ts +6 -0
- package/dist/mcp/config-loader.d.ts.map +1 -0
- package/dist/mcp/config-loader.js +66 -0
- package/dist/mcp/config-loader.js.map +1 -0
- package/dist/mcp/config-schema.d.ts +64 -0
- package/dist/mcp/config-schema.d.ts.map +1 -0
- package/dist/mcp/config-schema.js +18 -0
- package/dist/mcp/config-schema.js.map +1 -0
- package/dist/mcp/gemini-core.d.ts.map +1 -1
- package/dist/mcp/gemini-core.js +16 -1
- package/dist/mcp/gemini-core.js.map +1 -1
- package/dist/mcp/job-management.d.ts.map +1 -1
- package/dist/mcp/job-management.js +201 -7
- package/dist/mcp/job-management.js.map +1 -1
- package/dist/mcp/job-state-db.d.ts +1 -1
- package/dist/mcp/job-state-db.d.ts.map +1 -1
- package/dist/mcp/job-state-db.js +22 -5
- package/dist/mcp/job-state-db.js.map +1 -1
- package/dist/mcp/logger.d.ts +7 -0
- package/dist/mcp/logger.d.ts.map +1 -0
- package/dist/mcp/logger.js +19 -0
- package/dist/mcp/logger.js.map +1 -0
- package/dist/mcp/namespace-manager.d.ts +25 -0
- package/dist/mcp/namespace-manager.d.ts.map +1 -0
- package/dist/mcp/namespace-manager.js +26 -0
- package/dist/mcp/namespace-manager.js.map +1 -0
- package/dist/mcp/namespace.d.ts +26 -0
- package/dist/mcp/namespace.d.ts.map +1 -0
- package/dist/mcp/namespace.js +56 -0
- package/dist/mcp/namespace.js.map +1 -0
- package/dist/mcp/prompt-persistence.d.ts +3 -18
- package/dist/mcp/prompt-persistence.d.ts.map +1 -1
- package/dist/mcp/prompt-persistence.js +3 -3
- package/dist/mcp/prompt-persistence.js.map +1 -1
- package/dist/mcp/retry-client.d.ts +22 -0
- package/dist/mcp/retry-client.d.ts.map +1 -0
- package/dist/mcp/retry-client.js +59 -0
- package/dist/mcp/retry-client.js.map +1 -0
- package/dist/mcp/standalone-server.js +5 -41
- package/dist/mcp/standalone-server.js.map +1 -1
- package/dist/mcp/timeout.d.ts +8 -0
- package/dist/mcp/timeout.d.ts.map +1 -0
- package/dist/mcp/timeout.js +14 -0
- package/dist/mcp/timeout.js.map +1 -0
- package/dist/mcp/tool-handler.d.ts +14 -0
- package/dist/mcp/tool-handler.d.ts.map +1 -0
- package/dist/mcp/tool-handler.js +32 -0
- package/dist/mcp/tool-handler.js.map +1 -0
- package/dist/mcp/tool-resolver.d.ts +13 -0
- package/dist/mcp/tool-resolver.d.ts.map +1 -0
- package/dist/mcp/tool-resolver.js +30 -0
- package/dist/mcp/tool-resolver.js.map +1 -0
- package/dist/monitoring/dashboard.d.ts +13 -0
- package/dist/monitoring/dashboard.d.ts.map +1 -0
- package/dist/monitoring/dashboard.js +93 -0
- package/dist/monitoring/dashboard.js.map +1 -0
- package/dist/monitoring/index.d.ts +3 -0
- package/dist/monitoring/index.d.ts.map +1 -0
- package/dist/monitoring/index.js +3 -0
- package/dist/monitoring/index.js.map +1 -0
- package/dist/monitoring/metrics-collector.d.ts +18 -0
- package/dist/monitoring/metrics-collector.d.ts.map +1 -0
- package/dist/monitoring/metrics-collector.js +68 -0
- package/dist/monitoring/metrics-collector.js.map +1 -0
- package/dist/monitoring/test-perf.d.ts +2 -0
- package/dist/monitoring/test-perf.d.ts.map +1 -0
- package/dist/monitoring/test-perf.js +39 -0
- package/dist/monitoring/test-perf.js.map +1 -0
- package/dist/notifications/reply-listener.d.ts +25 -0
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js +5 -5
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/platform/process-utils.d.ts.map +1 -1
- package/dist/platform/process-utils.js +2 -3
- package/dist/platform/process-utils.js.map +1 -1
- package/dist/team/__tests__/deadlock-detector.test.d.ts +2 -0
- package/dist/team/__tests__/deadlock-detector.test.d.ts.map +1 -0
- package/dist/team/__tests__/deadlock-detector.test.js +50 -0
- package/dist/team/__tests__/deadlock-detector.test.js.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts +2 -0
- package/dist/team/__tests__/dependency-graph.test.d.ts.map +1 -0
- package/dist/team/__tests__/dependency-graph.test.js +29 -0
- package/dist/team/__tests__/dependency-graph.test.js.map +1 -0
- package/dist/team/bridge-entry.d.ts +23 -0
- package/dist/team/bridge-entry.d.ts.map +1 -1
- package/dist/team/bridge-entry.js +83 -52
- package/dist/team/bridge-entry.js.map +1 -1
- package/dist/team/capabilities.d.ts +1 -2
- package/dist/team/capabilities.d.ts.map +1 -1
- package/dist/team/capabilities.js.map +1 -1
- package/dist/team/deadlock-detector.d.ts +16 -0
- package/dist/team/deadlock-detector.d.ts.map +1 -0
- package/dist/team/deadlock-detector.js +52 -0
- package/dist/team/deadlock-detector.js.map +1 -0
- package/dist/team/dependency-graph.d.ts +23 -0
- package/dist/team/dependency-graph.d.ts.map +1 -0
- package/dist/team/dependency-graph.js +35 -0
- package/dist/team/dependency-graph.js.map +1 -0
- package/dist/team/inbox-outbox.js +1 -1
- package/dist/team/inbox-outbox.js.map +1 -1
- package/dist/team/index.d.ts +3 -0
- package/dist/team/index.d.ts.map +1 -1
- package/dist/team/index.js +2 -0
- package/dist/team/index.js.map +1 -1
- package/dist/team/mcp-team-bridge.d.ts.map +1 -1
- package/dist/team/mcp-team-bridge.js +35 -23
- package/dist/team/mcp-team-bridge.js.map +1 -1
- package/dist/team/types.d.ts +15 -4
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js +0 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/unified-team.d.ts +2 -11
- package/dist/team/unified-team.d.ts.map +1 -1
- package/dist/team/unified-team.js.map +1 -1
- package/dist/team/worker-health.d.ts +2 -2
- package/dist/team/worker-health.d.ts.map +1 -1
- package/dist/team/worker-health.js +74 -6
- package/dist/team/worker-health.js.map +1 -1
- package/dist/team/worker-restart.d.ts +4 -4
- package/dist/team/worker-restart.d.ts.map +1 -1
- package/dist/team/worker-restart.js +64 -9
- package/dist/team/worker-restart.js.map +1 -1
- package/dist/tools/__tests__/ast-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/ast-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/ast-tools.test.js +178 -0
- package/dist/tools/__tests__/ast-tools.test.js.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/lsp-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/lsp-tools.test.js +252 -0
- package/dist/tools/__tests__/lsp-tools.test.js.map +1 -0
- package/dist/tools/ast-tools.d.ts.map +1 -1
- package/dist/tools/ast-tools.js +84 -5
- package/dist/tools/ast-tools.js.map +1 -1
- package/dist/tools/dependency-analyzer.d.ts +34 -0
- package/dist/tools/dependency-analyzer.d.ts.map +1 -0
- package/dist/tools/dependency-analyzer.js +57 -0
- package/dist/tools/dependency-analyzer.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/index.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/index.test.js +111 -0
- package/dist/tools/diagnostics/__tests__/index.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js +120 -0
- package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts +2 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts.map +1 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js +86 -0
- package/dist/tools/diagnostics/__tests__/tsc-runner.test.js.map +1 -0
- package/dist/tools/diagnostics/constants.d.ts +5 -0
- package/dist/tools/diagnostics/constants.d.ts.map +1 -0
- package/dist/tools/diagnostics/constants.js +5 -0
- package/dist/tools/diagnostics/constants.js.map +1 -0
- package/dist/tools/diagnostics/index.d.ts +2 -1
- package/dist/tools/diagnostics/index.d.ts.map +1 -1
- package/dist/tools/diagnostics/index.js +2 -1
- package/dist/tools/diagnostics/index.js.map +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js +1 -1
- package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -1
- package/dist/tools/doc-sync.d.ts +38 -0
- package/dist/tools/doc-sync.d.ts.map +1 -0
- package/dist/tools/doc-sync.js +67 -0
- package/dist/tools/doc-sync.js.map +1 -0
- package/dist/tools/index.d.ts +11 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +41 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lsp/__tests__/utils.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/utils.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/utils.test.js +338 -0
- package/dist/tools/lsp/__tests__/utils.test.js.map +1 -0
- package/dist/tools/lsp/client.d.ts +10 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +55 -0
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/lsp/memory-optimizer.d.ts +19 -0
- package/dist/tools/lsp/memory-optimizer.d.ts.map +1 -0
- package/dist/tools/lsp/memory-optimizer.js +48 -0
- package/dist/tools/lsp/memory-optimizer.js.map +1 -0
- package/dist/tools/lsp/utils.d.ts.map +1 -1
- package/dist/tools/lsp/utils.js +2 -2
- package/dist/tools/lsp/utils.js.map +1 -1
- package/dist/tools/memory-tools.js +4 -4
- package/dist/tools/memory-tools.js.map +1 -1
- package/dist/tools/notepad-tools.d.ts.map +1 -1
- package/dist/tools/notepad-tools.js +6 -0
- package/dist/tools/notepad-tools.js.map +1 -1
- package/dist/tools/parallel-opportunity-detector.d.ts +54 -0
- package/dist/tools/parallel-opportunity-detector.d.ts.map +1 -0
- package/dist/tools/parallel-opportunity-detector.js +66 -0
- package/dist/tools/parallel-opportunity-detector.js.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js +338 -0
- package/dist/tools/python-repl/__tests__/bridge-manager.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js +155 -0
- package/dist/tools/python-repl/__tests__/socket-client.test.js.map +1 -0
- package/dist/tools/python-repl/bridge-manager.d.ts +4 -0
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
- package/dist/tools/python-repl/bridge-manager.js +8 -5
- package/dist/tools/python-repl/bridge-manager.js.map +1 -1
- package/dist/tools/skills-tools.d.ts.map +1 -1
- package/dist/tools/skills-tools.js +5 -3
- package/dist/tools/skills-tools.js.map +1 -1
- package/dist/tools/state-tools.d.ts +6 -0
- package/dist/tools/state-tools.d.ts.map +1 -1
- package/dist/tools/state-tools.js +108 -87
- package/dist/tools/state-tools.js.map +1 -1
- package/dist/tools/tool-prefix-migration.d.ts +18 -0
- package/dist/tools/tool-prefix-migration.d.ts.map +1 -0
- package/dist/tools/tool-prefix-migration.js +80 -0
- package/dist/tools/tool-prefix-migration.js.map +1 -0
- package/dist/workers/adapter.d.ts +16 -0
- package/dist/workers/adapter.d.ts.map +1 -0
- package/dist/workers/adapter.js +5 -0
- package/dist/workers/adapter.js.map +1 -0
- package/dist/workers/cached-adapter.d.ts +21 -0
- package/dist/workers/cached-adapter.d.ts.map +1 -0
- package/dist/workers/cached-adapter.js +67 -0
- package/dist/workers/cached-adapter.js.map +1 -0
- package/dist/workers/factory.d.ts +11 -0
- package/dist/workers/factory.d.ts.map +1 -0
- package/dist/workers/factory.js +54 -0
- package/dist/workers/factory.js.map +1 -0
- package/dist/workers/index.d.ts +10 -0
- package/dist/workers/index.d.ts.map +1 -0
- package/dist/workers/index.js +10 -0
- package/dist/workers/index.js.map +1 -0
- package/dist/workers/json-adapter.d.ts +22 -0
- package/dist/workers/json-adapter.d.ts.map +1 -0
- package/dist/workers/json-adapter.js +171 -0
- package/dist/workers/json-adapter.js.map +1 -0
- package/dist/workers/sqlite-adapter.d.ts +22 -0
- package/dist/workers/sqlite-adapter.d.ts.map +1 -0
- package/dist/workers/sqlite-adapter.js +262 -0
- package/dist/workers/sqlite-adapter.js.map +1 -0
- package/dist/workers/types.d.ts +41 -0
- package/dist/workers/types.d.ts.map +1 -0
- package/dist/workers/types.js +5 -0
- package/dist/workers/types.js.map +1 -0
- package/docs/AGENTS.md +81 -89
- package/docs/ARCHITECTURE.md +541 -162
- package/docs/CLAUDE.md +1 -1
- package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +97 -0
- package/docs/FAQ.md +306 -0
- package/docs/FEATURES.md +1038 -420
- package/docs/INSTALL.md +5 -5
- package/docs/INSTALL_FIX_SUMMARY.md +97 -0
- package/docs/INSTALL_FIX_VERIFICATION.md +61 -0
- package/docs/INSTALL_VERIFICATION_REPORT.md +68 -0
- package/docs/KNOWN_ISSUES.md +104 -0
- package/docs/LOCAL_INSTALL_VERIFICATION.md +159 -0
- package/docs/LOCAL_TEST_INSTALL_REPORT.md +96 -0
- package/docs/MAIN_DOCS_UPDATE_REPORT.md +41 -0
- package/docs/MIGRATION_GUIDE_v5.5.18.md +177 -0
- package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +187 -0
- package/docs/README.md +110 -0
- package/docs/REFERENCE.md +930 -786
- package/docs/RELEASE_NOTES_v5.5.14.md +97 -0
- package/docs/RELEASE_SUMMARY_v5.5.18.md +60 -0
- package/docs/TUTORIAL.md +223 -0
- package/docs/UPGRADE_VERIFICATION.md +500 -0
- package/docs/UPGRADE_VERIFICATION_REPORT.md +96 -0
- package/docs/USER_GUIDE.md +2044 -0
- package/docs/VALIDATION_REPORT.md +165 -0
- package/docs/VERIFICATION_SUMMARY.md +116 -0
- package/docs/adr/001-worker-state-adapter.md +168 -0
- package/docs/adr/002-caching-strategy.md +112 -0
- package/docs/adr/003-gradual-migration.md +193 -0
- package/docs/adr/template.md +97 -0
- package/docs/api/.nojekyll +1 -0
- package/docs/api/assets/hierarchy.js +1 -0
- package/docs/api/assets/highlight.css +85 -0
- package/docs/api/assets/icons.js +18 -0
- package/docs/api/assets/icons.svg +1 -0
- package/docs/api/assets/main.js +60 -0
- package/docs/api/assets/navigation.js +1 -0
- package/docs/api/assets/search.js +1 -0
- package/docs/api/assets/style.css +1633 -0
- package/docs/api/classes/ContextCollector.html +21 -0
- package/docs/api/functions/activateUltrawork.html +2 -0
- package/docs/api/functions/addCustomNote.html +5 -0
- package/docs/api/functions/addDirective.html +2 -0
- package/docs/api/functions/addManualEntry.html +2 -0
- package/docs/api/functions/addPattern.html +3 -0
- package/docs/api/functions/addWorker.html +2 -0
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -0
- package/docs/api/functions/analyzeContextUsage.html +2 -0
- package/docs/api/functions/appendProgress.html +2 -0
- package/docs/api/functions/appendSessionId.html +2 -0
- package/docs/api/functions/applyCommentFilters.html +3 -0
- package/docs/api/functions/assignFileToWorker.html +2 -0
- package/docs/api/functions/backgroundUpdateCheck.html +2 -0
- package/docs/api/functions/buildAxiomBootContext.html +1 -0
- package/docs/api/functions/buildBoulderContinuation.html +2 -0
- package/docs/api/functions/buildDelegationTable.html +2 -0
- package/docs/api/functions/buildKeyTriggersSection.html +2 -0
- package/docs/api/functions/buildOrchestratorReminder.html +2 -0
- package/docs/api/functions/buildUseAvoidSection.html +2 -0
- package/docs/api/functions/buildVerificationReminder.html +2 -0
- package/docs/api/functions/canResumeAutopilot.html +10 -0
- package/docs/api/functions/canStartMode.html +5 -0
- package/docs/api/functions/cancelAutopilot.html +3 -0
- package/docs/api/functions/cancelUltraQA.html +2 -0
- package/docs/api/functions/checkBackgroundNotifications.html +2 -0
- package/docs/api/functions/checkBoulderContinuation.html +2 -0
- package/docs/api/functions/checkDuplicateTriggers.html +2 -0
- package/docs/api/functions/checkExpertGate.html +1 -0
- package/docs/api/functions/checkForComments.html +2 -0
- package/docs/api/functions/checkForUpdates.html +2 -0
- package/docs/api/functions/checkIncompleteTodos.html +13 -0
- package/docs/api/functions/checkPersistentModes.html +3 -0
- package/docs/api/functions/cleanupOrphanedState.html +2 -0
- package/docs/api/functions/cleanupStaleAgents.html +2 -0
- package/docs/api/functions/cleanupTransientState.html +2 -0
- package/docs/api/functions/clearAgentUsageState.html +1 -0
- package/docs/api/functions/clearAllModeStates.html +2 -0
- package/docs/api/functions/clearAutopilot.html +2 -0
- package/docs/api/functions/clearAutopilotState.html +2 -0
- package/docs/api/functions/clearBeadsContext.html +2 -0
- package/docs/api/functions/clearBoulderState.html +2 -0
- package/docs/api/functions/clearDetectionState.html +2 -0
- package/docs/api/functions/clearInjectedPaths.html +2 -0
- package/docs/api/functions/clearInjectedRules.html +2 -0
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -0
- package/docs/api/functions/clearModeState.html +10 -0
- package/docs/api/functions/clearProjectMemorySession.html +4 -0
- package/docs/api/functions/clearRalphState.html +2 -0
- package/docs/api/functions/clearRapidFireDebounce.html +2 -0
- package/docs/api/functions/clearSkillSession.html +2 -0
- package/docs/api/functions/clearThinkModeState.html +2 -0
- package/docs/api/functions/clearTrackingState.html +2 -0
- package/docs/api/functions/clearUltraQAState.html +2 -0
- package/docs/api/functions/clearVerificationState.html +3 -0
- package/docs/api/functions/commandExists.html +2 -0
- package/docs/api/functions/compareVersions.html +3 -0
- package/docs/api/functions/completeUltraQA.html +2 -0
- package/docs/api/functions/completeUltrapilot.html +2 -0
- package/docs/api/functions/completeWorker.html +2 -0
- package/docs/api/functions/containsTokenLimitError.html +2 -0
- package/docs/api/functions/createAgentToolRestrictions.html +3 -0
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -0
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -0
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -0
- package/docs/api/functions/createBackgroundTaskManager.html +2 -0
- package/docs/api/functions/createBoulderState.html +2 -0
- package/docs/api/functions/createCommentCheckerHook.html +6 -0
- package/docs/api/functions/createCompactCheckpoint.html +2 -0
- package/docs/api/functions/createContentHash.html +2 -0
- package/docs/api/functions/createContextInjectorHook.html +7 -0
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -0
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -0
- package/docs/api/functions/createEnvContext.html +2 -0
- package/docs/api/functions/createHookOutput.html +4 -0
- package/docs/api/functions/createLearnedSkillsHook.html +6 -0
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -0
- package/docs/api/functions/createModeMarker.html +6 -0
- package/docs/api/functions/createPrd.html +2 -0
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -0
- package/docs/api/functions/createRalphLoopHook.html +2 -0
- package/docs/api/functions/createRecoveryHook.html +7 -0
- package/docs/api/functions/createRulesInjectorHook.html +8 -0
- package/docs/api/functions/createSimplePrd.html +2 -0
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -0
- package/docs/api/functions/createSisyphusSession.html +7 -0
- package/docs/api/functions/createThinkModeHook.html +7 -0
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -0
- package/docs/api/functions/createTodoContinuationHook.html +2 -0
- package/docs/api/functions/createUltraworkStateHook.html +2 -0
- package/docs/api/functions/deactivateUltrawork.html +8 -0
- package/docs/api/functions/decayHotPaths.html +2 -0
- package/docs/api/functions/decomposeTask.html +11 -0
- package/docs/api/functions/deepMerge.html +2 -0
- package/docs/api/functions/detectArchitectApproval.html +2 -0
- package/docs/api/functions/detectArchitectRejection.html +2 -0
- package/docs/api/functions/detectContextLimitError.html +2 -0
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -0
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -0
- package/docs/api/functions/detectEditError.html +2 -0
- package/docs/api/functions/detectEditErrorInOutput.html +2 -0
- package/docs/api/functions/detectEditErrorInText.html +2 -0
- package/docs/api/functions/detectExtractableMoment.html +2 -0
- package/docs/api/functions/detectKeywordsWithType.html +11 -0
- package/docs/api/functions/detectMagicKeywords.html +2 -0
- package/docs/api/functions/detectProjectEnvironment.html +2 -0
- package/docs/api/functions/detectRecoverableError.html +3 -0
- package/docs/api/functions/detectSessionErrorType.html +2 -0
- package/docs/api/functions/detectSlashCommand.html +3 -0
- package/docs/api/functions/detectThinkKeyword.html +2 -0
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -0
- package/docs/api/functions/discoverAllCommands.html +2 -0
- package/docs/api/functions/enablePrdMode.html +2 -0
- package/docs/api/functions/enhancePrompt.html +2 -0
- package/docs/api/functions/ensureAutopilotDir.html +2 -0
- package/docs/api/functions/ensureDirectoryStructure.html +2 -0
- package/docs/api/functions/ensureModeStateDir.html +2 -0
- package/docs/api/functions/ensureSkillsDir.html +2 -0
- package/docs/api/functions/estimateTokens.html +2 -0
- package/docs/api/functions/executeSlashCommand.html +2 -0
- package/docs/api/functions/expandCommand.html +8 -0
- package/docs/api/functions/expandCommandPrompt.html +6 -0
- package/docs/api/functions/expandCommands.html +2 -0
- package/docs/api/functions/exportSessionSummary.html +2 -0
- package/docs/api/functions/exportWisdomToNotepad.html +2 -0
- package/docs/api/functions/extractPromptText.html +11 -0
- package/docs/api/functions/extractSlashPromptText.html +2 -0
- package/docs/api/functions/extractThinkPromptText.html +2 -0
- package/docs/api/functions/failWorker.html +2 -0
- package/docs/api/functions/findCommand.html +2 -0
- package/docs/api/functions/findMatchingSkills.html +2 -0
- package/docs/api/functions/findPlannerPlans.html +3 -0
- package/docs/api/functions/findPrdPath.html +2 -0
- package/docs/api/functions/findPreviousThinkingContent.html +1 -0
- package/docs/api/functions/findProgressPath.html +2 -0
- package/docs/api/functions/findProjectRoot.html +3 -0
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -0
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -0
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -0
- package/docs/api/functions/findRuleFiles.html +4 -0
- package/docs/api/functions/findSkillFiles.html +3 -0
- package/docs/api/functions/formatCancelMessage.html +2 -0
- package/docs/api/functions/formatCompactSummary.html +2 -0
- package/docs/api/functions/formatContextSummary.html +3 -0
- package/docs/api/functions/formatDirectivesForContext.html +2 -0
- package/docs/api/functions/formatFailureSummary.html +2 -0
- package/docs/api/functions/formatFile.html +2 -0
- package/docs/api/functions/formatFileChanges.html +2 -0
- package/docs/api/functions/formatFileList.html +2 -0
- package/docs/api/functions/formatFullContext.html +2 -0
- package/docs/api/functions/formatFullNotepad.html +2 -0
- package/docs/api/functions/formatLearningsForContext.html +2 -0
- package/docs/api/functions/formatNextStoryPrompt.html +2 -0
- package/docs/api/functions/formatNotepadContext.html +2 -0
- package/docs/api/functions/formatPatternsForContext.html +2 -0
- package/docs/api/functions/formatPrd.html +2 -0
- package/docs/api/functions/formatPrdStatus.html +2 -0
- package/docs/api/functions/formatPreCompactSummary.html +2 -0
- package/docs/api/functions/formatProgressForContext.html +2 -0
- package/docs/api/functions/formatProgressMessage.html +2 -0
- package/docs/api/functions/formatStory.html +2 -0
- package/docs/api/functions/formatSummary.html +2 -0
- package/docs/api/functions/formatUpdateNotification.html +2 -0
- package/docs/api/functions/formatValidationResults.html +2 -0
- package/docs/api/functions/generateExtractionPrompt.html +2 -0
- package/docs/api/functions/generateSkillFrontmatter.html +2 -0
- package/docs/api/functions/generateSummary.html +2 -0
- package/docs/api/functions/getActiveAgentCount.html +2 -0
- package/docs/api/functions/getActiveExclusiveMode.html +4 -0
- package/docs/api/functions/getActiveModes.html +2 -0
- package/docs/api/functions/getActivePlanPath.html +2 -0
- package/docs/api/functions/getAgentDefinitions.html +2 -0
- package/docs/api/functions/getAgentsByType.html +2 -0
- package/docs/api/functions/getAllCommands.html +2 -0
- package/docs/api/functions/getAllModeStatuses.html +5 -0
- package/docs/api/functions/getAllSkills.html +2 -0
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -0
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -0
- package/docs/api/functions/getAutoFormatMessage.html +2 -0
- package/docs/api/functions/getAutopilotStateAge.html +3 -0
- package/docs/api/functions/getAvailableAgents.html +2 -0
- package/docs/api/functions/getAxiomDir.html +1 -0
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -0
- package/docs/api/functions/getBeadsContextConfig.html +2 -0
- package/docs/api/functions/getBeadsInstructions.html +2 -0
- package/docs/api/functions/getBoulderFilePath.html +2 -0
- package/docs/api/functions/getCheckpointPath.html +2 -0
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -0
- package/docs/api/functions/getCommand.html +2 -0
- package/docs/api/functions/getCommandsDir.html +2 -0
- package/docs/api/functions/getCompactionQueueDepth.html +3 -0
- package/docs/api/functions/getCompletedWorkers.html +2 -0
- package/docs/api/functions/getDefaultMcpServers.html +1 -0
- package/docs/api/functions/getDefaultModelForCategory.html +2 -0
- package/docs/api/functions/getDetectionStats.html +2 -0
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -0
- package/docs/api/functions/getExecutionPrompt.html +2 -0
- package/docs/api/functions/getExpansionPrompt.html +3 -0
- package/docs/api/functions/getExpertGateMessage.html +1 -0
- package/docs/api/functions/getFailedWorkers.html +2 -0
- package/docs/api/functions/getFormatter.html +2 -0
- package/docs/api/functions/getGitDiffStats.html +2 -0
- package/docs/api/functions/getGlobalStateFilePath.html +4 -0
- package/docs/api/functions/getGoalCommand.html +2 -0
- package/docs/api/functions/getHighVariant.html +3 -0
- package/docs/api/functions/getInstallInfo.html +2 -0
- package/docs/api/functions/getInstalledVersion.html +2 -0
- package/docs/api/functions/getIssuesToFix.html +2 -0
- package/docs/api/functions/getLastDetection.html +2 -0
- package/docs/api/functions/getLearnerConfigValue.html +2 -0
- package/docs/api/functions/getLinter.html +2 -0
- package/docs/api/functions/getManualSection.html +2 -0
- package/docs/api/functions/getMemoryFilePaths.html +1 -0
- package/docs/api/functions/getModeMarkerFilePath.html +2 -0
- package/docs/api/functions/getModeStateFilePath.html +2 -0
- package/docs/api/functions/getNextStory.html +2 -0
- package/docs/api/functions/getNotepadPath.html +2 -0
- package/docs/api/functions/getNotepadStats.html +2 -0
- package/docs/api/functions/getOmcPrdPath.html +2 -0
- package/docs/api/functions/getOmcProgressPath.html +2 -0
- package/docs/api/functions/getOmcSystemPrompt.html +2 -0
- package/docs/api/functions/getOmcToolNames.html +3 -0
- package/docs/api/functions/getPatterns.html +2 -0
- package/docs/api/functions/getPhasePrompt.html +2 -0
- package/docs/api/functions/getPlanName.html +2 -0
- package/docs/api/functions/getPlanPath.html +2 -0
- package/docs/api/functions/getPlanProgress.html +2 -0
- package/docs/api/functions/getPlanSummaries.html +2 -0
- package/docs/api/functions/getPrdCompletionStatus.html +2 -0
- package/docs/api/functions/getPrdPath.html +2 -0
- package/docs/api/functions/getPrdStatus.html +2 -0
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -0
- package/docs/api/functions/getPriorityContext.html +2 -0
- package/docs/api/functions/getProgressContext.html +2 -0
- package/docs/api/functions/getProgressPath.html +2 -0
- package/docs/api/functions/getPromotionCandidates.html +2 -0
- package/docs/api/functions/getQAPrompt.html +2 -0
- package/docs/api/functions/getRalphContext.html +3 -0
- package/docs/api/functions/getReadmesForPath.html +2 -0
- package/docs/api/functions/getRecentLearnings.html +2 -0
- package/docs/api/functions/getRulesForPath.html +2 -0
- package/docs/api/functions/getRunningAgents.html +2 -0
- package/docs/api/functions/getRunningWorkers.html +2 -0
- package/docs/api/functions/getSessionTokenEstimate.html +2 -0
- package/docs/api/functions/getSkillsDir.html +2 -0
- package/docs/api/functions/getSpecPath.html +2 -0
- package/docs/api/functions/getStaleAgents.html +2 -0
- package/docs/api/functions/getStateDir.html +2 -0
- package/docs/api/functions/getStory.html +2 -0
- package/docs/api/functions/getSubagentStateFilePath.html +2 -0
- package/docs/api/functions/getThinkModeState.html +2 -0
- package/docs/api/functions/getThinkingConfig.html +3 -0
- package/docs/api/functions/getTopHotPaths.html +2 -0
- package/docs/api/functions/getTrackingStats.html +2 -0
- package/docs/api/functions/getTransitionPrompt.html +2 -0
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -0
- package/docs/api/functions/getValidationPrompt.html +2 -0
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -0
- package/docs/api/functions/getValidationStats.html +1 -0
- package/docs/api/functions/getValidationStatus.html +2 -0
- package/docs/api/functions/getWorkingMemory.html +2 -0
- package/docs/api/functions/handleBackgroundEvent.html +3 -0
- package/docs/api/functions/handleContextWindowRecovery.html +2 -0
- package/docs/api/functions/handleEditErrorRecovery.html +2 -0
- package/docs/api/functions/handlePermissionRequest.html +2 -0
- package/docs/api/functions/handleRecovery.html +10 -0
- package/docs/api/functions/handleSessionEnd.html +2 -0
- package/docs/api/functions/handleSessionRecovery.html +2 -0
- package/docs/api/functions/handleSharedFiles.html +7 -0
- package/docs/api/functions/handleSubagentStart.html +2 -0
- package/docs/api/functions/handleSubagentStop.html +2 -0
- package/docs/api/functions/hasBoulder.html +2 -0
- package/docs/api/functions/hasContentParts.html +1 -0
- package/docs/api/functions/hasModeState.html +3 -0
- package/docs/api/functions/hasPrd.html +2 -0
- package/docs/api/functions/hasTextContent.html +2 -0
- package/docs/api/functions/hasValidContent.html +3 -0
- package/docs/api/functions/incrementAgentCount.html +2 -0
- package/docs/api/functions/incrementRalphIteration.html +2 -0
- package/docs/api/functions/incrementReinforcement.html +2 -0
- package/docs/api/functions/initAutopilot.html +2 -0
- package/docs/api/functions/initNotepad.html +2 -0
- package/docs/api/functions/initPrd.html +2 -0
- package/docs/api/functions/initProgress.html +2 -0
- package/docs/api/functions/initUltrapilot.html +2 -0
- package/docs/api/functions/injectContextIntoText.html +2 -0
- package/docs/api/functions/injectPendingContext.html +3 -0
- package/docs/api/functions/injectRecoveryTextPart.html +2 -0
- package/docs/api/functions/install.html +2 -0
- package/docs/api/functions/integrateResults.html +5 -0
- package/docs/api/functions/isActiveModeRunning.html +2 -0
- package/docs/api/functions/isAllowedPath.html +2 -0
- package/docs/api/functions/isAlreadyHighVariant.html +2 -0
- package/docs/api/functions/isAutopilotActive.html +2 -0
- package/docs/api/functions/isAxiomEnabled.html +1 -0
- package/docs/api/functions/isClaudeInstalled.html +3 -0
- package/docs/api/functions/isClaudeModel.html +2 -0
- package/docs/api/functions/isCompactionInProgress.html +3 -0
- package/docs/api/functions/isDuplicateByContentHash.html +2 -0
- package/docs/api/functions/isDuplicateByRealPath.html +2 -0
- package/docs/api/functions/isExcludedCommand.html +2 -0
- package/docs/api/functions/isExtendedThinkingModel.html +1 -0
- package/docs/api/functions/isFileOwnedByWorker.html +2 -0
- package/docs/api/functions/isFormatterAvailable.html +2 -0
- package/docs/api/functions/isGptModel.html +2 -0
- package/docs/api/functions/isInstalled.html +2 -0
- package/docs/api/functions/isLearnerEnabled.html +2 -0
- package/docs/api/functions/isModeActive.html +6 -0
- package/docs/api/functions/isNonInteractive.html +1 -0
- package/docs/api/functions/isRecoverableError.html +2 -0
- package/docs/api/functions/isSafeCommand.html +2 -0
- package/docs/api/functions/isSessionRecoverable.html +2 -0
- package/docs/api/functions/isSharedFile.html +2 -0
- package/docs/api/functions/isThinkModeActive.html +2 -0
- package/docs/api/functions/isToolPart.html +2 -0
- package/docs/api/functions/isUltraQAActive.html +1 -0
- package/docs/api/functions/isWriteEditTool.html +2 -0
- package/docs/api/functions/learnFromToolOutput.html +7 -0
- package/docs/api/functions/lintFile.html +2 -0
- package/docs/api/functions/listAvailableCommands.html +2 -0
- package/docs/api/functions/listCommands.html +2 -0
- package/docs/api/functions/listPromotableLearnings.html +2 -0
- package/docs/api/functions/loadAgentPrompt.html +7 -0
- package/docs/api/functions/loadAgentUsageState.html +1 -0
- package/docs/api/functions/loadAllSkills.html +3 -0
- package/docs/api/functions/loadConfig.html +2 -0
- package/docs/api/functions/loadInjectedPaths.html +2 -0
- package/docs/api/functions/loadInjectedRules.html +2 -0
- package/docs/api/functions/loadLearnerConfig.html +2 -0
- package/docs/api/functions/loadProjectMemory.html +3 -0
- package/docs/api/functions/loadSkillById.html +2 -0
- package/docs/api/functions/mapDirectoryStructure.html +2 -0
- package/docs/api/functions/markStoryComplete.html +2 -0
- package/docs/api/functions/markStoryIncomplete.html +2 -0
- package/docs/api/functions/mergeAgentConfig.html +2 -0
- package/docs/api/functions/parseAxiomState.html +1 -0
- package/docs/api/functions/parseContextLimitError.html +2 -0
- package/docs/api/functions/parseProgress.html +2 -0
- package/docs/api/functions/parseRuleFrontmatter.html +10 -0
- package/docs/api/functions/parseSkillFile.html +2 -0
- package/docs/api/functions/parseSlashCommand.html +2 -0
- package/docs/api/functions/parseTokenLimitError.html +2 -0
- package/docs/api/functions/performUpdate.html +2 -0
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -0
- package/docs/api/functions/prependThinkingBlock.html +1 -0
- package/docs/api/functions/processAxiomBoot.html +1 -0
- package/docs/api/functions/processAxiomGuards.html +1 -0
- package/docs/api/functions/processBackgroundNotification.html +2 -0
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -0
- package/docs/api/functions/processEditOutput.html +2 -0
- package/docs/api/functions/processHook.html +3 -0
- package/docs/api/functions/processMessageForSkills.html +2 -0
- package/docs/api/functions/processOrchestratorPostTool.html +3 -0
- package/docs/api/functions/processOrchestratorPreTool.html +3 -0
- package/docs/api/functions/processPermissionRequest.html +2 -0
- package/docs/api/functions/processPreCompact.html +6 -0
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -0
- package/docs/api/functions/processResponseForDetection.html +3 -0
- package/docs/api/functions/processSessionEnd.html +2 -0
- package/docs/api/functions/processSetup.html +2 -0
- package/docs/api/functions/processSetupInit.html +2 -0
- package/docs/api/functions/processSetupMaintenance.html +2 -0
- package/docs/api/functions/processSlashCommand.html +2 -0
- package/docs/api/functions/processSubagentStart.html +2 -0
- package/docs/api/functions/processSubagentStop.html +2 -0
- package/docs/api/functions/processThinkMode.html +3 -0
- package/docs/api/functions/promoteLearning.html +2 -0
- package/docs/api/functions/pruneOldEntries.html +2 -0
- package/docs/api/functions/pruneOldStateFiles.html +2 -0
- package/docs/api/functions/readActiveContext.html +1 -0
- package/docs/api/functions/readAutopilotState.html +2 -0
- package/docs/api/functions/readBoulderState.html +2 -0
- package/docs/api/functions/readModeMarker.html +4 -0
- package/docs/api/functions/readNotepad.html +2 -0
- package/docs/api/functions/readPrd.html +2 -0
- package/docs/api/functions/readProgress.html +2 -0
- package/docs/api/functions/readProgressRaw.html +2 -0
- package/docs/api/functions/readProjectDecisions.html +1 -0
- package/docs/api/functions/readRalphState.html +2 -0
- package/docs/api/functions/readRecoveryMessages.html +2 -0
- package/docs/api/functions/readRecoveryParts.html +2 -0
- package/docs/api/functions/readTrackingState.html +3 -0
- package/docs/api/functions/readUltraQAState.html +2 -0
- package/docs/api/functions/readUltrapilotState.html +2 -0
- package/docs/api/functions/readUltraworkState.html +4 -0
- package/docs/api/functions/readUserPreferences.html +1 -0
- package/docs/api/functions/readVerificationState.html +3 -0
- package/docs/api/functions/recordArchitectFeedback.html +2 -0
- package/docs/api/functions/recordConflict.html +2 -0
- package/docs/api/functions/recordFailure.html +2 -0
- package/docs/api/functions/recordHookFire.html +2 -0
- package/docs/api/functions/recordHookResult.html +2 -0
- package/docs/api/functions/recordKeywordDetected.html +2 -0
- package/docs/api/functions/recordModeChange.html +2 -0
- package/docs/api/functions/recordPattern.html +2 -0
- package/docs/api/functions/recordSessionMetrics.html +2 -0
- package/docs/api/functions/recordSkillActivated.html +2 -0
- package/docs/api/functions/recordSkillInvoked.html +2 -0
- package/docs/api/functions/recordStoryProgress.html +2 -0
- package/docs/api/functions/recordValidationVerdict.html +2 -0
- package/docs/api/functions/registerBeadsContext.html +3 -0
- package/docs/api/functions/registerProjectMemoryContext.html +6 -0
- package/docs/api/functions/removeCodeBlocks.html +12 -0
- package/docs/api/functions/removeModeMarker.html +5 -0
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -0
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -0
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -0
- package/docs/api/functions/rescanProjectEnvironment.html +4 -0
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -0
- package/docs/api/functions/resumeAutopilot.html +2 -0
- package/docs/api/functions/runPreCommitChecks.html +2 -0
- package/docs/api/functions/runTests.html +2 -0
- package/docs/api/functions/runTypeCheck.html +2 -0
- package/docs/api/functions/sanitizeMessage.html +2 -0
- package/docs/api/functions/sanitizeMessages.html +2 -0
- package/docs/api/functions/saveAgentUsageState.html +1 -0
- package/docs/api/functions/saveInjectedPaths.html +2 -0
- package/docs/api/functions/saveInjectedRules.html +2 -0
- package/docs/api/functions/saveLearnerConfig.html +2 -0
- package/docs/api/functions/saveModeSummary.html +2 -0
- package/docs/api/functions/saveProjectMemory.html +3 -0
- package/docs/api/functions/saveVersionMetadata.html +2 -0
- package/docs/api/functions/setCurrentStory.html +2 -0
- package/docs/api/functions/setEnvironmentVariables.html +2 -0
- package/docs/api/functions/setLearnerConfigValue.html +2 -0
- package/docs/api/functions/setPriorityContext.html +2 -0
- package/docs/api/functions/shouldActivateThinkMode.html +3 -0
- package/docs/api/functions/shouldActivateUltrathink.html +2 -0
- package/docs/api/functions/shouldApplyRule.html +2 -0
- package/docs/api/functions/shouldCheckForUpdates.html +2 -0
- package/docs/api/functions/shouldCompleteByPrd.html +2 -0
- package/docs/api/functions/shouldPromptExtraction.html +2 -0
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -0
- package/docs/api/functions/shouldRetryValidation.html +2 -0
- package/docs/api/functions/shouldRunInBackground.html +8 -0
- package/docs/api/functions/spawnWorkers.html +7 -0
- package/docs/api/functions/startUltraQA.html +3 -0
- package/docs/api/functions/startUltrapilot.html +7 -0
- package/docs/api/functions/startValidationRound.html +2 -0
- package/docs/api/functions/startVerification.html +2 -0
- package/docs/api/functions/startsWithThinkingBlock.html +1 -0
- package/docs/api/functions/stopUltraQA.html +2 -0
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -0
- package/docs/api/functions/toSdkMcpFormat.html +2 -0
- package/docs/api/functions/trackAccess.html +2 -0
- package/docs/api/functions/trackProgress.html +5 -0
- package/docs/api/functions/transitionPhase.html +2 -0
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -0
- package/docs/api/functions/transitionToComplete.html +2 -0
- package/docs/api/functions/transitionToFailed.html +2 -0
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -0
- package/docs/api/functions/updateDirectoryAccess.html +2 -0
- package/docs/api/functions/updateExecution.html +2 -0
- package/docs/api/functions/updateExpansion.html +2 -0
- package/docs/api/functions/updatePlanning.html +2 -0
- package/docs/api/functions/updateQA.html +2 -0
- package/docs/api/functions/updateValidation.html +2 -0
- package/docs/api/functions/updateWorkerState.html +2 -0
- package/docs/api/functions/validateAgentConfig.html +2 -0
- package/docs/api/functions/validateCommitMessage.html +2 -0
- package/docs/api/functions/validateConfigFiles.html +2 -0
- package/docs/api/functions/validateExtractionRequest.html +2 -0
- package/docs/api/functions/validateMessage.html +1 -0
- package/docs/api/functions/validateMessages.html +1 -0
- package/docs/api/functions/validateSkillMetadata.html +2 -0
- package/docs/api/functions/writeAutopilotState.html +2 -0
- package/docs/api/functions/writeBoulderState.html +2 -0
- package/docs/api/functions/writePrd.html +2 -0
- package/docs/api/functions/writeRalphState.html +2 -0
- package/docs/api/functions/writeSkill.html +2 -0
- package/docs/api/functions/writeTrackingState.html +5 -0
- package/docs/api/functions/writeUltraQAState.html +2 -0
- package/docs/api/functions/writeUltrapilotState.html +2 -0
- package/docs/api/functions/writeUltraworkState.html +2 -0
- package/docs/api/functions/writeVerificationState.html +2 -0
- package/docs/api/hierarchy.html +1 -0
- package/docs/api/index.html +843 -0
- package/docs/api/interfaces/AgentConfig.html +18 -0
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -0
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -0
- package/docs/api/interfaces/AgentState.html +5 -0
- package/docs/api/interfaces/AgentUsageState.html +8 -0
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -0
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -0
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -0
- package/docs/api/interfaces/AutopilotConfig.html +26 -0
- package/docs/api/interfaces/AutopilotExecution.html +16 -0
- package/docs/api/interfaces/AutopilotExpansion.html +12 -0
- package/docs/api/interfaces/AutopilotPlanning.html +8 -0
- package/docs/api/interfaces/AutopilotQA.html +12 -0
- package/docs/api/interfaces/AutopilotResult.html +10 -0
- package/docs/api/interfaces/AutopilotState.html +36 -0
- package/docs/api/interfaces/AutopilotSummary.html +16 -0
- package/docs/api/interfaces/AutopilotValidation.html +10 -0
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -0
- package/docs/api/interfaces/AvailableAgent.html +5 -0
- package/docs/api/interfaces/AxiomBootInput.html +3 -0
- package/docs/api/interfaces/AxiomBootOutput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -0
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -0
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -0
- package/docs/api/interfaces/AxiomState.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -0
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -0
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -0
- package/docs/api/interfaces/BackgroundTask.html +7 -0
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -0
- package/docs/api/interfaces/BeadsContextConfig.html +4 -0
- package/docs/api/interfaces/BoulderState.html +12 -0
- package/docs/api/interfaces/BuildInfo.html +6 -0
- package/docs/api/interfaces/CanStartResult.html +4 -0
- package/docs/api/interfaces/CancelResult.html +4 -0
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -0
- package/docs/api/interfaces/CodeConventions.html +5 -0
- package/docs/api/interfaces/CodebasePattern.html +5 -0
- package/docs/api/interfaces/CommandInfo.html +5 -0
- package/docs/api/interfaces/CommandMetadata.html +7 -0
- package/docs/api/interfaces/CommentCheckResult.html +10 -0
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -0
- package/docs/api/interfaces/CommentInfo.html +14 -0
- package/docs/api/interfaces/CommentPendingCall.html +18 -0
- package/docs/api/interfaces/CommitConfig.html +9 -0
- package/docs/api/interfaces/CompactCheckpoint.html +7 -0
- package/docs/api/interfaces/ContextEntry.html +14 -0
- package/docs/api/interfaces/ContextUsageResult.html +12 -0
- package/docs/api/interfaces/CustomNote.html +5 -0
- package/docs/api/interfaces/DelegationDecision.html +7 -0
- package/docs/api/interfaces/DelegationRoute.html +7 -0
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -0
- package/docs/api/interfaces/DelegationTrigger.html +6 -0
- package/docs/api/interfaces/DetectedKeyword.html +13 -0
- package/docs/api/interfaces/DetectionConfig.html +8 -0
- package/docs/api/interfaces/DetectionResult.html +13 -0
- package/docs/api/interfaces/DirectoryInfo.html +7 -0
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -0
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -0
- package/docs/api/interfaces/ExecuteResult.html +5 -0
- package/docs/api/interfaces/ExpandedCommand.html +4 -0
- package/docs/api/interfaces/ExternalModelPreference.html +4 -0
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -0
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -0
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -0
- package/docs/api/interfaces/FileOwnership.html +8 -0
- package/docs/api/interfaces/FormatConfig.html +7 -0
- package/docs/api/interfaces/FrameworkDetection.html +4 -0
- package/docs/api/interfaces/FullAgentConfig.html +26 -0
- package/docs/api/interfaces/GateCheckResult.html +5 -0
- package/docs/api/interfaces/GitBranchPattern.html +3 -0
- package/docs/api/interfaces/HookContext.html +5 -0
- package/docs/api/interfaces/HookDefinition.html +5 -0
- package/docs/api/interfaces/HookInput.html +18 -0
- package/docs/api/interfaces/HookOutput.html +10 -0
- package/docs/api/interfaces/HookResult.html +4 -0
- package/docs/api/interfaces/HotPath.html +6 -0
- package/docs/api/interfaces/InjectedPathsData.html +9 -0
- package/docs/api/interfaces/InjectedRulesData.html +10 -0
- package/docs/api/interfaces/InjectedSkillsData.html +8 -0
- package/docs/api/interfaces/InjectionResult.html +8 -0
- package/docs/api/interfaces/InstallOptions.html +9 -0
- package/docs/api/interfaces/InstallResult.html +10 -0
- package/docs/api/interfaces/IntegrationResult.html +14 -0
- package/docs/api/interfaces/LanguageDetection.html +5 -0
- package/docs/api/interfaces/LearnedSkill.html +16 -0
- package/docs/api/interfaces/LearnerConfig.html +18 -0
- package/docs/api/interfaces/LintConfig.html +7 -0
- package/docs/api/interfaces/MagicKeyword.html +4 -0
- package/docs/api/interfaces/MatchResult.html +6 -0
- package/docs/api/interfaces/MessageContext.html +8 -0
- package/docs/api/interfaces/MessageInfo.html +9 -0
- package/docs/api/interfaces/MessagePart.html +15 -0
- package/docs/api/interfaces/MessageWithModel.html +3 -0
- package/docs/api/interfaces/MessageWithParts.html +6 -0
- package/docs/api/interfaces/MessagesTransformHook.html +3 -0
- package/docs/api/interfaces/MessagesTransformInput.html +3 -0
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -0
- package/docs/api/interfaces/ModeConfig.html +13 -0
- package/docs/api/interfaces/ModeStatus.html +4 -0
- package/docs/api/interfaces/ModelRef.html +4 -0
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -0
- package/docs/api/interfaces/NotepadConfig.html +7 -0
- package/docs/api/interfaces/NotepadStats.html +11 -0
- package/docs/api/interfaces/NotificationCheckResult.html +8 -0
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -0
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -0
- package/docs/api/interfaces/OutputPart.html +4 -0
- package/docs/api/interfaces/PRD.html +9 -0
- package/docs/api/interfaces/PRDStatus.html +13 -0
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -0
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -0
- package/docs/api/interfaces/PendingContext.html +8 -0
- package/docs/api/interfaces/PermissionHookOutput.html +4 -0
- package/docs/api/interfaces/PermissionRequestInput.html +9 -0
- package/docs/api/interfaces/PersistentModeResult.html +9 -0
- package/docs/api/interfaces/PlanProgress.html +8 -0
- package/docs/api/interfaces/PlanSummary.html +10 -0
- package/docs/api/interfaces/PluginConfig.html +17 -0
- package/docs/api/interfaces/PreCommitResult.html +3 -0
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -0
- package/docs/api/interfaces/PreCompactInput.html +8 -0
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -0
- package/docs/api/interfaces/PriorityContextResult.html +5 -0
- package/docs/api/interfaces/ProgressEntry.html +11 -0
- package/docs/api/interfaces/ProgressLog.html +7 -0
- package/docs/api/interfaces/ProjectMemory.html +14 -0
- package/docs/api/interfaces/ProjectStructure.html +5 -0
- package/docs/api/interfaces/PromotionCandidate.html +9 -0
- package/docs/api/interfaces/PruneResult.html +5 -0
- package/docs/api/interfaces/QualityValidation.html +10 -0
- package/docs/api/interfaces/RalphLoopHook.html +4 -0
- package/docs/api/interfaces/RalphLoopOptions.html +5 -0
- package/docs/api/interfaces/RalphLoopState.html +21 -0
- package/docs/api/interfaces/RecoveryConfig.html +16 -0
- package/docs/api/interfaces/RecoveryMessageData.html +4 -0
- package/docs/api/interfaces/RecoveryResult.html +10 -0
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -0
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -0
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -0
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -0
- package/docs/api/interfaces/RegisterContextOptions.html +12 -0
- package/docs/api/interfaces/ReleaseInfo.html +9 -0
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -0
- package/docs/api/interfaces/ResolveOptions.html +6 -0
- package/docs/api/interfaces/ResolvedModel.html +5 -0
- package/docs/api/interfaces/RetryState.html +6 -0
- package/docs/api/interfaces/RuleFileCandidate.html +12 -0
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -0
- package/docs/api/interfaces/RuleInfo.html +18 -0
- package/docs/api/interfaces/RuleMetadata.html +9 -0
- package/docs/api/interfaces/RuleToInject.html +10 -0
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -0
- package/docs/api/interfaces/SessionEndInput.html +9 -0
- package/docs/api/interfaces/SessionMetrics.html +9 -0
- package/docs/api/interfaces/SessionState.html +5 -0
- package/docs/api/interfaces/SetupHookOutput.html +3 -0
- package/docs/api/interfaces/SetupInput.html +7 -0
- package/docs/api/interfaces/SetupResult.html +5 -0
- package/docs/api/interfaces/ShellHook.html +4 -0
- package/docs/api/interfaces/SisyphusOptions.html +14 -0
- package/docs/api/interfaces/SisyphusSession.html +16 -0
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -0
- package/docs/api/interfaces/SkillFileCandidate.html +10 -0
- package/docs/api/interfaces/SkillHookContext.html +5 -0
- package/docs/api/interfaces/SkillMetadata.html +22 -0
- package/docs/api/interfaces/SkillParseResult.html +5 -0
- package/docs/api/interfaces/SubagentHookOutput.html +3 -0
- package/docs/api/interfaces/SubagentInfo.html +14 -0
- package/docs/api/interfaces/SubagentStartInput.html +10 -0
- package/docs/api/interfaces/SubagentStopInput.html +11 -0
- package/docs/api/interfaces/SubagentTrackingState.html +6 -0
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -0
- package/docs/api/interfaces/TechStack.html +5 -0
- package/docs/api/interfaces/ThinkModeInput.html +4 -0
- package/docs/api/interfaces/ThinkModeState.html +12 -0
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -0
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -0
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -0
- package/docs/api/interfaces/TodoContinuationHook.html +2 -0
- package/docs/api/interfaces/TransitionResult.html +4 -0
- package/docs/api/interfaces/TruncateState.html +6 -0
- package/docs/api/interfaces/UltraQAOptions.html +5 -0
- package/docs/api/interfaces/UltraQAResult.html +9 -0
- package/docs/api/interfaces/UltraQAState.html +19 -0
- package/docs/api/interfaces/UltrapilotConfig.html +14 -0
- package/docs/api/interfaces/UltrapilotState.html +26 -0
- package/docs/api/interfaces/UltraworkState.html +17 -0
- package/docs/api/interfaces/UpdateCheckResult.html +7 -0
- package/docs/api/interfaces/UpdateResult.html +7 -0
- package/docs/api/interfaces/UserDirective.html +7 -0
- package/docs/api/interfaces/UserStory.html +15 -0
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -0
- package/docs/api/interfaces/ValidationResult.html +10 -0
- package/docs/api/interfaces/VerificationState.html +17 -0
- package/docs/api/interfaces/VersionMetadata.html +12 -0
- package/docs/api/interfaces/WorkerState.html +24 -0
- package/docs/api/interfaces/WriteSkillResult.html +6 -0
- package/docs/api/media/EVOLUTION.md +605 -0
- package/docs/api/media/INSTALL.md +542 -0
- package/docs/api/media/MIGRATION.md +1158 -0
- package/docs/api/media/NEXUS.md +562 -0
- package/docs/api/media/REFERENCE.md +1222 -0
- package/docs/api/media/mcp-server-usage.md +240 -0
- package/docs/api/modules.html +1 -0
- package/docs/api/types/AgentCategory.html +2 -0
- package/docs/api/types/AgentCost.html +3 -0
- package/docs/api/types/AgentFactory.html +2 -0
- package/docs/api/types/AgentOverrides.html +2 -0
- package/docs/api/types/AutopilotPhase.html +2 -0
- package/docs/api/types/AutopilotSignal.html +2 -0
- package/docs/api/types/CommandScope.html +2 -0
- package/docs/api/types/ContextPriority.html +3 -0
- package/docs/api/types/ContextSourceType.html +3 -0
- package/docs/api/types/DelegationProvider.html +2 -0
- package/docs/api/types/DelegationTool.html +2 -0
- package/docs/api/types/ExecutionMode.html +3 -0
- package/docs/api/types/ExternalModelProvider.html +2 -0
- package/docs/api/types/GateType.html +3 -0
- package/docs/api/types/InjectionStrategy.html +2 -0
- package/docs/api/types/KeywordType.html +10 -0
- package/docs/api/types/ModelType.html +2 -0
- package/docs/api/types/QAStatus.html +2 -0
- package/docs/api/types/RecoveryErrorType.html +2 -0
- package/docs/api/types/RecoveryStoredPart.html +2 -0
- package/docs/api/types/TaskTool.html +1 -0
- package/docs/api/types/ThinkingConfig.html +2 -0
- package/docs/api/types/UltraQAGoalType.html +1 -0
- package/docs/api/types/UserStoryInput.html +2 -0
- package/docs/api/types/ValidationVerdict.html +2 -0
- package/docs/api/types/ValidationVerdictType.html +2 -0
- package/docs/api/variables/AGENTS_DIR.html +1 -0
- package/docs/api/variables/AGENTS_FILENAME.html +2 -0
- package/docs/api/variables/AGENT_TOOLS.html +2 -0
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -0
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -0
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -0
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -0
- package/docs/api/variables/BDD_KEYWORDS.html +2 -0
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -0
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -0
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -0
- package/docs/api/variables/BOULDER_DIR.html +2 -0
- package/docs/api/variables/BOULDER_FILE.html +2 -0
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -0
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -0
- package/docs/api/variables/CI_COMMANDS.html +2 -0
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -0
- package/docs/api/variables/COMMANDS_DIR.html +1 -0
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -0
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -0
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -0
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -0
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -0
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -0
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -0
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -0
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -0
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -0
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -0
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -0
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -0
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -0
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -0
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/GITHUB_API_URL.html +1 -0
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -0
- package/docs/api/variables/INSTALLER_VERSION.html +2 -0
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -0
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -0
- package/docs/api/variables/MANUAL_HEADER.html +1 -0
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -0
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -0
- package/docs/api/variables/MAX_WARNINGS.html +2 -0
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -0
- package/docs/api/variables/MODE_CONFIGS.html +4 -0
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -0
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -0
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -0
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -0
- package/docs/api/variables/NOTEPAD_DIR.html +2 -0
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -0
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -0
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -0
- package/docs/api/variables/PATTERNS_HEADER.html +1 -0
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -0
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -0
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/PLAN_EXTENSION.html +2 -0
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -0
- package/docs/api/variables/PRD_FILENAME.html +1 -0
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -0
- package/docs/api/variables/PREVENTED_ERROR.html +2 -0
- package/docs/api/variables/PRIORITY_HEADER.html +1 -0
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -0
- package/docs/api/variables/PROJECT_MARKERS.html +2 -0
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -0
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -0
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -0
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -0
- package/docs/api/variables/README_FILENAME.html +2 -0
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -0
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -0
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -0
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -0
- package/docs/api/variables/REPO_NAME.html +1 -0
- package/docs/api/variables/REPO_OWNER.html +2 -0
- package/docs/api/variables/RETRY_CONFIG.html +6 -0
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -0
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -0
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -0
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -0
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -0
- package/docs/api/variables/SKILL_EXTENSION.html +2 -0
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -0
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -0
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -0
- package/docs/api/variables/TARGET_TOOLS.html +2 -0
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -0
- package/docs/api/variables/THINKING_CONFIGS.html +2 -0
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -0
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -0
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -0
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -0
- package/docs/api/variables/TRACKED_TOOLS.html +2 -0
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -0
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -0
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -0
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -0
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -0
- package/docs/api/variables/USER_RULE_DIR.html +2 -0
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -0
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -0
- package/docs/api/variables/VERSION_FILE.html +1 -0
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -0
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -0
- package/docs/api/variables/allCustomTools.html +3 -0
- package/docs/api/variables/analystAgent.html +1 -0
- package/docs/api/variables/architectAgent.html +1 -0
- package/docs/api/variables/astTools.html +2 -0
- package/docs/api/variables/contextCollector.html +2 -0
- package/docs/api/variables/criticAgent.html +1 -0
- package/docs/api/variables/designerAgent.html +1 -0
- package/docs/api/variables/executorAgent.html +1 -0
- package/docs/api/variables/exploreAgent.html +1 -0
- package/docs/api/variables/lspTools.html +2 -0
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -0
- package/docs/api/variables/omcSystemPrompt.html +2 -0
- package/docs/api/variables/omcToolNames.html +3 -0
- package/docs/api/variables/omcToolsServer.html +4 -0
- package/docs/api/variables/plannerAgent.html +1 -0
- package/docs/api/variables/researcherAgent.html +1 -0
- package/docs/api/variables/visionAgent.html +1 -0
- package/docs/api/variables/writerAgent.html +1 -0
- package/docs/features/.gitkeep +0 -0
- package/docs/getting-started/.gitkeep +0 -0
- package/docs/getting-started/concepts.md +103 -0
- package/docs/getting-started/installation.md +100 -0
- package/docs/getting-started/quickstart.md +96 -0
- package/docs/guides/.gitkeep +0 -0
- package/docs/guides/mcp-server-usage.md +240 -0
- package/docs/guides/task-templates-guide.md +153 -0
- package/docs/guides/tool-name-migration.md +97 -0
- package/docs/guides/troubleshooting-guide.md +110 -0
- package/docs/guides/v5.5.13-new-features.md +234 -0
- package/docs/guides/wizard-user-guide.md +85 -0
- package/docs/guides/workflow-recommendation-guide.md +97 -0
- package/docs/mcp/README.md +82 -0
- package/docs/mcp/client-guide.md +337 -0
- package/docs/mcp/configuration.md +292 -0
- package/docs/mcp/overview.md +204 -0
- package/docs/mcp/performance.md +300 -0
- package/docs/mcp/server-guide.md +300 -0
- package/docs/mcp-compatibility-matrix.md +52 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +187 -0
- package/docs/plans/2026-03-02-docs-comprehensive-update.md +1395 -0
- package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1436 -0
- package/docs/plans/2026-03-05-mcp-adoption-plan.md +531 -0
- package/docs/prd/documentation-system-draft.md +227 -0
- package/docs/prd/documentation-system-rough.md +515 -0
- package/docs/prd/memory-evolution-optimize-rough.md +508 -0
- package/docs/prd/user_guide-rough.md +636 -0
- package/docs/reviews/documentation-system/review_critic.md +312 -0
- package/docs/reviews/documentation-system/review_domain.md +390 -0
- package/docs/reviews/documentation-system/review_product.md +151 -0
- package/docs/reviews/documentation-system/review_tech.md +236 -0
- package/docs/reviews/documentation-system/review_ux.md +213 -0
- package/docs/reviews/documentation-system/summary.md +149 -0
- package/docs/reviews/draft-prd-agent-observability/review_critic.md +71 -0
- package/docs/reviews/draft-prd-agent-observability/review_domain.md +100 -0
- package/docs/reviews/draft-prd-agent-observability/review_product.md +78 -0
- package/docs/reviews/draft-prd-agent-observability/review_tech.md +66 -0
- package/docs/reviews/draft-prd-agent-observability/review_ux.md +70 -0
- package/docs/reviews/draft-prd-agent-observability/rough_prd.md +135 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +302 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +237 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +140 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +240 -0
- package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -0
- package/docs/reviews/draft-prd-three-directions/review_product.md +103 -0
- package/docs/reviews/draft-prd-three-directions/review_tech.md +135 -0
- package/docs/reviews/draft-prd-three-directions/review_ux.md +88 -0
- package/docs/reviews/memory-evolution-optimize/summary.md +94 -0
- package/docs/reviews/ultrapower-security/review_critic.md +450 -0
- package/docs/reviews/ultrapower-tech-review/review_tech.md +180 -0
- package/docs/reviews/user_guide/summary.md +129 -0
- package/docs/standards/AGENTS.md +1 -1
- package/docs/standards/README.md +3 -3
- package/docs/standards/agent-lifecycle.md +80 -1
- package/docs/standards/anti-patterns.md +1 -1
- package/docs/standards/audit-report.md +2 -2
- package/docs/standards/contribution-guide.md +67 -41
- package/docs/standards/hook-execution-order.md +1 -1
- package/docs/standards/runtime-protection.md +42 -1
- package/docs/standards/state-machine.md +1 -1
- package/docs/standards/user-guide.md +54 -1
- package/docs/tasks/documentation-system/implementation-plan.md +292 -0
- package/docs/tasks/documentation-system/manifest.md +425 -0
- package/docs/tasks/memory-evolution-optimize/manifest.md +475 -0
- package/docs/tasks/user_guide/manifest.md +333 -0
- package/docs/troubleshooting/agent-timeouts.md +37 -0
- package/docs/troubleshooting/common-errors.md +37 -0
- package/docs/troubleshooting/hook-failures.md +29 -0
- package/docs/troubleshooting/performance-issues.md +41 -0
- package/docs/troubleshooting/state-corruption.md +36 -0
- package/docs/troubleshooting/tool-name-length-error.md +57 -0
- package/docs/troubleshooting.md +621 -0
- package/package.json +4 -2
- package/scripts/analyze-dependencies.ts +47 -0
- package/scripts/analyze-hook-coverage.ts +55 -0
- package/scripts/bump-version.mjs +14 -10
- package/scripts/measure-memory.mjs +11 -0
- package/scripts/memory-stress-test.mjs +39 -0
- package/scripts/migrate-tool-names.js +100 -0
- package/scripts/parallel-build.mjs +15 -0
- package/scripts/performance-regression.ts +28 -0
- package/scripts/plugin-setup.mjs +117 -1
- package/scripts/profiling.ts +95 -0
- package/scripts/release-steps.mjs +10 -4
- package/scripts/run-profiling.ts +64 -0
- package/scripts/test-parallel-execution.ts +72 -0
- package/scripts/test-race-detection.ts +57 -0
- package/scripts/test-tiered-writer.ts +60 -0
- package/scripts/test-wal-integration.ts +29 -0
- package/scripts/test-wal.ts +48 -0
- package/scripts/verify-all.sh +122 -0
- package/scripts/verify-install.sh +89 -0
- package/skills/AGENTS.md +98 -28
- package/skills/ax-evolve/SKILL.md +11 -1
- package/skills/ax-export/SKILL.md +7 -8
- package/skills/ax-knowledge/AGENTS.md +27 -2
- package/skills/ax-knowledge/SKILL.md +39 -7
- package/skills/ax-reflect/SKILL.md +2 -0
- package/skills/ax-status/SKILL.md +34 -1
- package/skills/executing-plans/SKILL.md +4 -4
- package/skills/next-step-router/SKILL.md +17 -0
- package/skills/release/SKILL.md +42 -0
- package/skills/requesting-code-review/SKILL.md +3 -3
- package/skills/subagent-driven-development/SKILL.md +8 -8
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/systematic-debugging/SKILL.md +3 -3
- package/skills/trace/SKILL.md +41 -0
- package/skills/wizard/SKILL.md +103 -72
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +4 -4
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
- package/templates/tasks/README.md +45 -0
- package/templates/tasks/bug-fix.md +37 -0
- package/templates/tasks/code-review.md +36 -0
- package/templates/tasks/feature-development.md +43 -0
- package/templates/tasks/refactoring.md +37 -0
- package/templates/tasks/security-audit.md +37 -0
- package/docs/prd/ultrapower-standards-draft.md +0 -191
- package/docs/prd/ultrapower-standards-rough.md +0 -560
- package/docs/reviews/draft-prd-ultrapower-pain-fix/review_tech.md +0 -219
- package/docs/reviews/draft_prd_pain_points/review_domain.md +0 -215
- package/docs/reviews/ultrapower-full-bugfix-plan/review_product.md +0 -135
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# 评审摘要: ultrapower v5.5.15 文档体系重构
|
|
2
|
+
|
|
3
|
+
**评审完成时间**: 2026-03-05
|
|
4
|
+
**参与专家**: Tech Lead, Product Director, UX Director, Domain Expert, Critic
|
|
5
|
+
**最终文档**: `docs/prd/documentation-system-rough.md`
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 1. 关键决策
|
|
10
|
+
|
|
11
|
+
### 决策 1: 示例数量(技术可行性优先)
|
|
12
|
+
- **冲突**: Draft (71 完整) vs Tech (50 分级) vs Product (30 核心)
|
|
13
|
+
- **仲裁**: Tech Lead 解决 → **50 个分级示例**
|
|
14
|
+
- P0 (20 个): 完整端到端 + 错误处理
|
|
15
|
+
- P1 (30 个): 标准用法
|
|
16
|
+
- P2 (21 个): API 签名
|
|
17
|
+
- **理由**: 技术可行性(硬性约束)> 战略建议
|
|
18
|
+
|
|
19
|
+
### 决策 2: 时间目标(用户体验优先)
|
|
20
|
+
- **冲突**: Draft (15 分钟) vs UX (20 分钟)
|
|
21
|
+
- **仲裁**: UX Director 解决 → **20 分钟**
|
|
22
|
+
- **理由**: 避免用户因无法达成目标产生挫败感
|
|
23
|
+
|
|
24
|
+
### 决策 3: 文档层级(认知负荷优先)
|
|
25
|
+
- **冲突**: Draft (9 层) vs UX (6 层)
|
|
26
|
+
- **仲裁**: UX Director 解决 → **6 层结构**
|
|
27
|
+
- **理由**: 9 层超过认知极限(7±2 原则)
|
|
28
|
+
|
|
29
|
+
### 决策 4: 里程碑规划(战略对齐优先)
|
|
30
|
+
- **冲突**: Draft (4 周) vs Product (3+1 周) vs Tech (3 周)
|
|
31
|
+
- **仲裁**: Product Director 解决 → **3 周 + 1 周 buffer**
|
|
32
|
+
- **理由**: 快速验证 + 风险缓冲
|
|
33
|
+
|
|
34
|
+
### 决策 5: Phase 4 延期(战略聚焦优先)
|
|
35
|
+
- **冲突**: Draft (包含 advanced/) vs Product (延期)
|
|
36
|
+
- **仲裁**: Product Director 解决 → **延期到 v5.5.16**
|
|
37
|
+
- **理由**: 聚焦核心路径(新用户体验 > 高级功能)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 2. 范围变更
|
|
42
|
+
|
|
43
|
+
### 移除项
|
|
44
|
+
- ❌ 71 个完整示例 → 50 个分级示例(降低 30% 工作量)
|
|
45
|
+
- ❌ 9 层文档结构 → 6 层结构(合并 workflows/ 和 scenarios/)
|
|
46
|
+
- ❌ 15 分钟目标 → 20 分钟目标
|
|
47
|
+
- ❌ Phase 4 高级内容 → 延期到 v5.5.16
|
|
48
|
+
|
|
49
|
+
### 新增项(P0 安全/质量修复)
|
|
50
|
+
- ✅ 示例代码安全规范(Critic P0)
|
|
51
|
+
- 禁止泄露 API keys/路径/用户数据
|
|
52
|
+
- CI 正则扫描
|
|
53
|
+
- ✅ 名称一致性校验规则(Critic P0)
|
|
54
|
+
- 处理废弃别名
|
|
55
|
+
- 跨文件引用校验
|
|
56
|
+
- ✅ 示例可运行性三级标准(Critic P0)
|
|
57
|
+
- Level 1: 无依赖
|
|
58
|
+
- Level 2: 环境依赖
|
|
59
|
+
- Level 3: 外部依赖
|
|
60
|
+
- ✅ 文档版本管理策略(Domain P0)
|
|
61
|
+
- Docusaurus 版本功能
|
|
62
|
+
- Front Matter 版本标注
|
|
63
|
+
- ✅ 示例代码测试策略(Domain P0)
|
|
64
|
+
- 提取为 `docs/__tests__/examples.test.ts`
|
|
65
|
+
- CI 自动化测试
|
|
66
|
+
- ✅ API 文档重构(Domain P0)
|
|
67
|
+
- 按模块拆分(agents/skills/tools)
|
|
68
|
+
|
|
69
|
+
### 优化项(P1 建议)
|
|
70
|
+
- ✅ 反馈机制(UX P1)
|
|
71
|
+
- 每个文档底部"👍/👎"按钮
|
|
72
|
+
- ✅ 快速跳转目录(UX P1)
|
|
73
|
+
- features/skills.md 按类别分组
|
|
74
|
+
- ✅ 检查点机制(UX P1)
|
|
75
|
+
- quickstart.md 进度可视化
|
|
76
|
+
- ✅ 资源分配表(Critic P1)
|
|
77
|
+
- Technical Writer: 40h
|
|
78
|
+
- DevOps Engineer: 16h
|
|
79
|
+
- QA Reviewer: 16h
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 3. 冲突仲裁优先级应用
|
|
84
|
+
|
|
85
|
+
按照 **安全 > 技术 > 战略 > 逻辑 > 体验** 层级:
|
|
86
|
+
|
|
87
|
+
| 优先级 | 角色 | 解决的冲突 | 决策结果 |
|
|
88
|
+
|--------|------|-----------|---------|
|
|
89
|
+
| 🔴 安全 | Critic | 示例代码泄露风险 | 新增安全规范 + CI 扫描 |
|
|
90
|
+
| 🔧 技术 | Tech Lead | 示例数量维护成本 | 71 → 50 分级 |
|
|
91
|
+
| 👔 战略 | Product Director | Phase 4 范围 | 延期到 v5.5.16 |
|
|
92
|
+
| 💰 逻辑 | Domain Expert | 文档版本管理 | 补充版本策略 |
|
|
93
|
+
| ✨ 体验 | UX Director | 文档层级过深 | 9 层 → 6 层 |
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## 4. 专家评分汇总
|
|
98
|
+
|
|
99
|
+
| 专家角色 | 评分 | 结论 | 关键贡献 |
|
|
100
|
+
|---------|------|------|---------|
|
|
101
|
+
| Tech Lead | 7.4/10 | Pass with Recommendations | 技术可行性验证、工作量评估 |
|
|
102
|
+
| Product Director | 8.5/10 | Approved with Recommendations | 战略对齐、ROI 分析 |
|
|
103
|
+
| UX Director | 7.5/10 | Optimizable | 用户旅程优化、认知负荷分析 |
|
|
104
|
+
| Domain Expert | 7.8/10 | Modification Required | 行业标准合规、维护策略 |
|
|
105
|
+
| Critic | 6.95/10 | Conditional Pass | 安全审计、边缘场景分析 |
|
|
106
|
+
|
|
107
|
+
**综合评分**: 7.6/10
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 5. 最终交付物
|
|
112
|
+
|
|
113
|
+
### Rough PRD 路径
|
|
114
|
+
`docs/prd/documentation-system-rough.md`
|
|
115
|
+
|
|
116
|
+
### 关键变更
|
|
117
|
+
- 文档结构:9 层 → 6 层
|
|
118
|
+
- 示例数量:71 → 50(分级)
|
|
119
|
+
- 时间目标:15 分钟 → 20 分钟
|
|
120
|
+
- 里程碑:4 周 → 3 周 + 1 周 buffer
|
|
121
|
+
- 新增:6 个 P0 安全/质量修复
|
|
122
|
+
|
|
123
|
+
### 通过条件
|
|
124
|
+
所有 P0 问题已整合到 Rough PRD:
|
|
125
|
+
- ✅ 示例代码安全规范
|
|
126
|
+
- ✅ 名称一致性校验规则
|
|
127
|
+
- ✅ 示例可运行性三级标准
|
|
128
|
+
- ✅ 文档版本管理策略
|
|
129
|
+
- ✅ 示例代码测试策略
|
|
130
|
+
- ✅ API 文档重构
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## 6. 下一步行动
|
|
135
|
+
|
|
136
|
+
**用户确认门禁**:
|
|
137
|
+
> 专家评审已完成。这是最终的粗设 PRD:`docs/prd/documentation-system-rough.md`
|
|
138
|
+
>
|
|
139
|
+
> 是否进入任务拆解阶段?(调用 `axiom-system-architect`)
|
|
140
|
+
|
|
141
|
+
**如果确认**:
|
|
142
|
+
- 调用 `axiom-system-architect` 进行任务拆解
|
|
143
|
+
- 生成 `docs/prd/documentation-system-manifest.md`
|
|
144
|
+
- 创建实施计划
|
|
145
|
+
|
|
146
|
+
**如果需要修改**:
|
|
147
|
+
- 说明需要调整的部分
|
|
148
|
+
- 重新评审相关章节
|
|
149
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Critic Review: Draft PRD — Agent 可观测性平台
|
|
2
|
+
|
|
3
|
+
## 1. Security Audit (安全审计 - **Fail**)
|
|
4
|
+
|
|
5
|
+
- **[P0 - CRITICAL] 路径遍历风险**:`.omc/observability.db` 的路径拼接若依赖外部传入的 `worktree` 参数,必须经过 `assertValidMode()` 或等效的路径白名单校验。PRD 未提及任何路径消毒机制。攻击者可通过构造 `../../etc/passwd` 形式的路径读写任意文件。
|
|
6
|
+
|
|
7
|
+
- **[P0 - CRITICAL] .db 文件未在 .gitignore 中排除**:当前 `.gitignore` 仅排除了 `.omc/state/`、`.omc/logs/`、`.omc/prompts/`,**未覆盖 `.omc/*.db`**。`observability.db` 极可能被意外 `git add` 提交,导致:
|
|
8
|
+
- agent 运行历史、token 消耗、工具调用序列等敏感运营数据泄露到版本库
|
|
9
|
+
- 二进制 SQLite 文件污染 git 历史,无法 diff,难以清除
|
|
10
|
+
|
|
11
|
+
- **[P1] 无访问控制**:SQLite 文件权限未定义。多用户共享机器场景下,其他用户可直接读取 `.omc/observability.db`,获取完整的 agent 执行历史和 cost 数据。
|
|
12
|
+
|
|
13
|
+
- **[P1] cost_records 表的数据敏感性**:token 消耗 + 时间戳 + agent 类型的组合,可反推用户的工作模式和业务内容,属于需要保护的运营元数据。PRD 未定义数据保留策略(retention policy)。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 2. Edge Case Analysis (边缘场景分析)
|
|
18
|
+
|
|
19
|
+
- **[P0] 多 worktree 并发写入**:`better-sqlite3` 是同步 API,但 SQLite 的 WAL 模式下多进程并发写入仍会产生 `SQLITE_BUSY` 错误。PRD 未说明:
|
|
20
|
+
- 是否启用 WAL 模式(默认 journal 模式并发性极差)
|
|
21
|
+
- 写入失败时的重试策略
|
|
22
|
+
- 同一 repo 的两个 worktree 同时运行 agent 时,它们是共享同一个 `.db` 还是各自独立?路径 `.omc/observability.db` 在 worktree 中是相对路径,**每个 worktree 会有独立的 `.omc/` 目录**,数据天然隔离——但这意味着跨 worktree 的聚合查询无法实现,与"可观测性平台"的定位矛盾。
|
|
23
|
+
|
|
24
|
+
- **[P0] token 估算降级策略缺失**:PRD 声称记录 cost,但 Claude API 的真实 token 数只在响应头中返回,agent 内部无法直接获取。PRD 未定义:
|
|
25
|
+
- 降级方案(如字符数 / 4 的粗估)
|
|
26
|
+
- 估算值与真实值的误差范围(实测可达 ±30%)
|
|
27
|
+
- `cost_records` 表是否区分 `estimated` vs `actual` 字段,防止误导性数据
|
|
28
|
+
|
|
29
|
+
- **[P1] 数据库文件损坏场景**:agent 进程被 SIGKILL 中断时,SQLite 写入可能产生损坏的 `.db` 文件。`better-sqlite3` 同步 API 在进程崩溃时无法保证事务完整性。PRD 未定义损坏检测和自动修复(`PRAGMA integrity_check`)流程。
|
|
30
|
+
|
|
31
|
+
- **[P1] 磁盘空间无上限**:长期运行的项目中,`tool_calls` 表会无限增长。PRD 未定义:
|
|
32
|
+
- 自动清理策略(如保留最近 N 天)
|
|
33
|
+
- 文件大小告警阈值
|
|
34
|
+
|
|
35
|
+
- **[P2] 表结构迁移**:PRD 定义了 3 张表的初始结构,但未说明 schema 版本管理机制。未来字段变更时,已有用户的 `.db` 文件如何迁移?
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 3. Logical Consistency (逻辑一致性)
|
|
40
|
+
|
|
41
|
+
- **[P0] worktree 隔离 vs 平台定位矛盾**:PRD 将其定位为"可观测性**平台**",暗示跨 agent、跨会话的聚合视图。但将 `.db` 放在 worktree 根目录下,数据天然按 worktree 分片,无法实现跨 worktree 的统一查询。正确的架构应选择其一:
|
|
42
|
+
- 选项 A:集中存储(`~/.claude/observability.db`),支持全局聚合,但引入跨进程并发问题
|
|
43
|
+
- 选项 B:分散存储(per-worktree),放弃跨 worktree 聚合,定位降级为"本地运行日志"
|
|
44
|
+
|
|
45
|
+
- **[P1] 测试 mock 策略未定义**:PRD 要求 ≥15 个测试用例,但未说明如何隔离测试环境。`better-sqlite3` 同步 API 的常见 mock 方案有两种,各有取舍:
|
|
46
|
+
- 方案 A:使用 `:memory:` 数据库(`new Database(':memory:')`)——无需 mock,但无法测试文件路径相关逻辑
|
|
47
|
+
- 方案 B:`jest.mock('better-sqlite3')`——可测试路径逻辑,但 mock 维护成本高,且容易与真实 API 行为脱节
|
|
48
|
+
PRD 未选择,导致测试策略不明确,15 个用例的质量无法保证。
|
|
49
|
+
|
|
50
|
+
- **[P2] `agent_runs` 与 `tool_calls` 的关联完整性**:PRD 未定义外键约束。若 `agent_runs` 记录被删除,对应的 `tool_calls` 是否级联删除?SQLite 默认不启用外键(需 `PRAGMA foreign_keys = ON`),PRD 未提及。
|
|
51
|
+
|
|
52
|
+
- **[P2] `tsc 0 errors` 验收标准过弱**:类型检查通过不等于运行时正确。`better-sqlite3` 的 TypeScript 类型定义(`@types/better-sqlite3`)对 `prepare().run()` 的返回值类型较宽松,类型检查无法捕获 SQL 语句错误或字段名拼写错误。
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Conclusion (结论)
|
|
57
|
+
|
|
58
|
+
**判定:Reject**
|
|
59
|
+
|
|
60
|
+
**严重阻碍 (Major Blockers):**
|
|
61
|
+
|
|
62
|
+
1. `.omc/*.db` 未加入 `.gitignore`,敏感运营数据面临版本库泄露风险(P0 安全)
|
|
63
|
+
2. 多 worktree 并发写入无保护机制,`SQLITE_BUSY` 会导致数据丢失(P0 可靠性)
|
|
64
|
+
3. worktree 分散存储与"可观测性平台"的跨会话聚合定位根本矛盾,架构方向未决(P0 逻辑)
|
|
65
|
+
4. token 估算降级策略缺失,`cost_records` 数据可信度无法保证(P0 数据质量)
|
|
66
|
+
|
|
67
|
+
**建议在进入实现前明确:**
|
|
68
|
+
- 存储位置:集中(`~/.claude/`)还是分散(per-worktree)
|
|
69
|
+
- `.gitignore` 补充 `.omc/*.db`
|
|
70
|
+
- WAL 模式 + 写入重试策略
|
|
71
|
+
- token 估算字段区分 `estimated` / `actual`
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Domain Expert Review: Draft PRD - Agent 可观测性平台
|
|
2
|
+
|
|
3
|
+
## 1. Logic Validation (逻辑验证)
|
|
4
|
+
|
|
5
|
+
### SQLite 同步写入阻塞问题
|
|
6
|
+
- **结论**: Adjustment Needed
|
|
7
|
+
- better-sqlite3 是同步 API,每次 `INSERT` 会在 Node.js 主线程上阻塞。对于 agent 执行追踪(高频写入),这会直接延迟 agent 响应。
|
|
8
|
+
- 现有 `job-state-db.ts` 已启用 `PRAGMA journal_mode = WAL`,WAL 模式允许并发读,但**写入仍然是串行阻塞的**。
|
|
9
|
+
- 实际影响:单次 SQLite 同步写入约 0.1–2ms,在 agent 热路径上累积可达数十毫秒。
|
|
10
|
+
- 缓解方案(不需要改变技术选型):
|
|
11
|
+
1. 写入操作放入内存队列,用 `setImmediate` 异步 flush,避免阻塞调用方。
|
|
12
|
+
2. 对非关键路径(tool_calls 详情)使用批量写入而非逐条写入。
|
|
13
|
+
3. 加 `PRAGMA synchronous = NORMAL`(WAL 模式下安全,减少 fsync 次数)。
|
|
14
|
+
|
|
15
|
+
### P95 计算在 SQLite 中的实现
|
|
16
|
+
- **结论**: Adjustment Needed
|
|
17
|
+
- SQLite 没有内置 `PERCENTILE_CONT` 函数(PostgreSQL/DuckDB 有)。
|
|
18
|
+
- 正确实现方式:
|
|
19
|
+
```sql
|
|
20
|
+
-- 需要 ORDER BY + LIMIT/OFFSET 模拟
|
|
21
|
+
SELECT duration_ms FROM tool_calls
|
|
22
|
+
WHERE tool_name = ?
|
|
23
|
+
ORDER BY duration_ms
|
|
24
|
+
LIMIT 1 OFFSET (
|
|
25
|
+
SELECT CAST(COUNT(*) * 0.95 AS INTEGER) FROM tool_calls WHERE tool_name = ?
|
|
26
|
+
);
|
|
27
|
+
```
|
|
28
|
+
- 这个查询在数据量大时性能差(全表扫描)。PRD 未说明数据量预期,需要在 `duration_ms` 上建索引,并限制查询窗口(如最近 1000 条)。
|
|
29
|
+
- 替代方案:在应用层用 JavaScript 计算 P95,从 SQLite 取原始数据后排序,更灵活且无 SQL 复杂度。
|
|
30
|
+
|
|
31
|
+
### 成本追踪字段完整性
|
|
32
|
+
- **结论**: Adjustment Needed
|
|
33
|
+
- PRD 仅提到 haiku/sonnet/opus 单价,但现有 `cost-estimator.ts` 已实现四个维度:`inputCost`、`outputCost`、`cacheWriteCost`、`cacheReadCost`。
|
|
34
|
+
- agent_runs 表如果只存 `total_cost`,会丢失 cache 节省信息,无法做成本优化分析。
|
|
35
|
+
- 必须存储:`input_tokens`、`output_tokens`、`cache_creation_tokens`、`cache_read_tokens`,而非仅存金额。
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 2. Industry Standard Check (标准合规)
|
|
40
|
+
|
|
41
|
+
### Token 成本估算准确性
|
|
42
|
+
- **结论**: Pass(有条件)
|
|
43
|
+
- 现有 `types.ts` 中的 PRICING 硬编码值与 Anthropic 官方定价(截至 2026-03)对比:
|
|
44
|
+
| 模型 | PRD/代码 Input/MTok | PRD/代码 Output/MTok | 官方 Input/MTok | 官方 Output/MTok |
|
|
45
|
+
|------|---------------------|----------------------|-----------------|------------------|
|
|
46
|
+
| Haiku 4 | $0.80 | $4.00 | $0.80 | $4.00 |
|
|
47
|
+
| Sonnet 4.x | $3.00 | $15.00 | $3.00 | $15.00 |
|
|
48
|
+
| Opus 4.x | $15.00 | $75.00 | $15.00 | $75.00 |
|
|
49
|
+
- 数值准确。但 `cacheWriteMarkup: 0.25` 表示 cache write 价格 = input × 1.25,实际 Anthropic 定价是 cache write = input × **1.25**(即 +25%),正确。
|
|
50
|
+
- `cacheReadDiscount: 0.90` 表示 cache read = input × 0.10(节省 90%),正确。
|
|
51
|
+
- 风险:硬编码定价会随 Anthropic 调价而过时。代码已有 `tokscale-adapter.ts` 动态定价路径,PRD 应明确优先使用动态路径,硬编码仅作 fallback。
|
|
52
|
+
|
|
53
|
+
### 可观测性行业标准对比
|
|
54
|
+
- **结论**: Adjustment Needed
|
|
55
|
+
- 行业标准可观测性三支柱:Metrics(指标)、Traces(追踪)、Logs(日志)。
|
|
56
|
+
- PRD 当前覆盖:Metrics(P95 耗时、成本)+ 部分 Traces(agent_runs、tool_calls)。
|
|
57
|
+
- 缺失:结构化 Logs(错误详情、agent 决策链)、Span 关联(parent_run_id 将 tool_call 关联到 agent_run)。
|
|
58
|
+
- 不是造轮子:OpenTelemetry 是标准,但对 CLI 工具引入 OTEL SDK 过重。SQLite 方案合理,但 schema 设计应参考 OTEL Span 模型(trace_id、span_id、parent_span_id)。
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 3. Value Proposition (价值主张)
|
|
63
|
+
|
|
64
|
+
### 开发者用户
|
|
65
|
+
- **收益**: 能看到哪个 agent/tool 最慢、最贵,直接指导优化决策。P95 耗时可识别长尾问题。
|
|
66
|
+
- **风险**: 如果同步写入拖慢 agent,用户会关掉这个功能,价值归零。性能影响必须 < 1ms/写入。
|
|
67
|
+
|
|
68
|
+
### 成本敏感用户
|
|
69
|
+
- **收益**: cache token 分解(write vs read)能量化 prompt caching 的实际节省,这是现有工具普遍缺失的。
|
|
70
|
+
- **前提**: 必须存储四维 token 数据,而非仅存总成本。
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 4. 遗漏的可观测性维度
|
|
75
|
+
|
|
76
|
+
以下维度在 PRD 中未提及,但对 agent 系统有实际价值:
|
|
77
|
+
|
|
78
|
+
| 维度 | 说明 | 优先级 |
|
|
79
|
+
|------|------|--------|
|
|
80
|
+
| `parent_run_id` | tool_call 关联到 agent_run,支持调用链追踪 | P0 |
|
|
81
|
+
| `error_type` / `error_message` | 区分超时、API 错误、用户取消 | P0 |
|
|
82
|
+
| `agent_model` | 记录实际使用的模型(含 fallback 后的模型) | P1 |
|
|
83
|
+
| `retry_count` | tool 重试次数,识别不稳定工具 | P1 |
|
|
84
|
+
| `context_window_usage` | input_tokens / max_context,识别接近上限的 agent | P2 |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Conclusion (结论)
|
|
89
|
+
|
|
90
|
+
**Modification Required**
|
|
91
|
+
|
|
92
|
+
### Critical Domain Gaps (关键领域缺陷)
|
|
93
|
+
|
|
94
|
+
1. **同步写入阻塞**:必须在热路径上使用异步队列 flush,否则会降低 agent 执行性能,与可观测性的"零侵入"原则相悖。
|
|
95
|
+
|
|
96
|
+
2. **P95 实现未定义**:SQLite 无原生百分位函数,PRD 需明确实现策略(SQL 模拟 vs 应用层计算),并指定查询窗口大小以保证性能。
|
|
97
|
+
|
|
98
|
+
3. **token 存储粒度不足**:必须存储四维 token 数据(input/output/cache_write/cache_read),仅存总成本会丢失 cache 优化分析能力。
|
|
99
|
+
|
|
100
|
+
4. **缺少 `parent_run_id`**:没有 span 关联,tool_calls 表是孤立数据,无法重建 agent 执行链,可观测性价值大幅降低。
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Product Strategy Review: Agent 可观测性平台
|
|
2
|
+
|
|
3
|
+
**评审日期:** 2026-03-02
|
|
4
|
+
**评审人:** Product Director
|
|
5
|
+
**PRD 状态:** Draft
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 1. Strategic Fit(战略匹配: Med)
|
|
10
|
+
|
|
11
|
+
**Alignment 分析:**
|
|
12
|
+
|
|
13
|
+
现有 trace skill(`trace_timeline` / `trace_summary`)已覆盖会话内的 agent 流程可视化,基于 JSONL 文件的 session-replay 机制。本 PRD 提出的"可观测性平台"本质上是对 trace 的持久化扩展,而非独立方向。
|
|
14
|
+
|
|
15
|
+
差异化评估:
|
|
16
|
+
|
|
17
|
+
| 能力 | 现有 trace skill | 本 PRD 新增 |
|
|
18
|
+
|------|-----------------|------------|
|
|
19
|
+
| 会话内时间线 | 已有 | 无新增 |
|
|
20
|
+
| 跨会话数据保留 | 无(JSONL 临时文件) | SQLite 持久化 |
|
|
21
|
+
| 成本/token 追踪 | 无 | 新增 |
|
|
22
|
+
| P95 工具调用分析 | 无 | 新增 |
|
|
23
|
+
| 独立 skill 入口 | /trace | /ax-observe(重复) |
|
|
24
|
+
|
|
25
|
+
差异化是真实的,但 `/ax-observe` 作为独立 skill 的必要性存疑——现有 `/trace` 完全可以扩展承载这些能力,新增 skill 会造成用户认知分裂。
|
|
26
|
+
|
|
27
|
+
**Roadmap Fit:**
|
|
28
|
+
|
|
29
|
+
当前 Q1 重心是 Axiom 进化引擎完整化(T-01~T-08 刚完成)和 Plugin 生态。可观测性属于"基础设施增强",不在已确认的三个高价值方向主线上,属于支撑性需求。
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 2. Prioritization Matrix(优先级矩阵)
|
|
34
|
+
|
|
35
|
+
- Impact: **3 / 5**
|
|
36
|
+
- 成本追踪对重度用户有价值,但 ultrapower 用户群目前以开发者为主,成本感知需求尚未成为痛点
|
|
37
|
+
- P95 分析是高级运维需求,受众窄
|
|
38
|
+
- 跨会话持久化有实际价值,但紧迫度低
|
|
39
|
+
|
|
40
|
+
- Effort: **4 / 5**
|
|
41
|
+
- SQLite 引入新依赖(better-sqlite3 或 drizzle),需处理 Windows 路径、并发写入、schema 迁移
|
|
42
|
+
- 成本估算需维护 token 定价表,随模型更新需持续维护
|
|
43
|
+
- P95 统计需要足够的数据量才有意义
|
|
44
|
+
|
|
45
|
+
- Score: **3 × (5-4) / 5 = ROI 偏低**,投入产出比不理想。
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 3. Success Metrics(成功指标)
|
|
50
|
+
|
|
51
|
+
- Primary KPI:跨会话 trace 查询使用率(目标:活跃用户中 >20% 每周使用一次)
|
|
52
|
+
- Secondary KPI:成本追踪功能的用户留存影响(难以单独归因)
|
|
53
|
+
- 不做的风险:低。现有 trace skill 已满足核心调试需求,缺失持久化是体验缺口而非功能缺口。
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 4. 范围裁剪建议
|
|
58
|
+
|
|
59
|
+
当前 PRD 范围过大,建议按以下优先级拆分:
|
|
60
|
+
|
|
61
|
+
**保留(MVP):**
|
|
62
|
+
- 跨会话 JSONL 归档(复用现有 file-lock + archiver 模式,无需 SQLite)
|
|
63
|
+
- 在现有 `/trace` skill 上扩展 `--session <id>` 参数支持历史查询
|
|
64
|
+
|
|
65
|
+
**延后(v2):**
|
|
66
|
+
- 成本/token 追踪(需定价表维护机制成熟后再做)
|
|
67
|
+
- P95 工具调用分析(需积累足够数据量)
|
|
68
|
+
|
|
69
|
+
**拒绝:**
|
|
70
|
+
- `/ax-observe` 独立 skill——合并到 `/trace` 扩展,避免认知分裂
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Conclusion(结论)
|
|
75
|
+
|
|
76
|
+
**P2 - Nice to Have**(当前形态)/ **P1 - Should Have**(裁剪后 MVP)
|
|
77
|
+
|
|
78
|
+
**Note:** 本 PRD 的核心价值点(跨会话持久化)值得做,但实现路径应是扩展现有 trace skill,而非新建独立平台。SQLite + 成本追踪的完整方案在当前阶段 effort 过高,建议先用 JSONL 归档方案(与 Axiom 进化引擎的 archiver 模式一致)验证需求,再决定是否引入数据库层。优先级低于 Plugin 生态方向。
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Tech Feasibility Review: Agent 可观测性平台
|
|
2
|
+
|
|
3
|
+
## 1. Architecture Impact (架构影响)
|
|
4
|
+
|
|
5
|
+
- Schema Changes: Yes — 新增 `.omc/observability.db`(SQLite),3 张新表
|
|
6
|
+
- API Changes: Yes — 新增 `src/hooks/observability/` 模块 + `skills/ax-observe/SKILL.md`
|
|
7
|
+
|
|
8
|
+
**关键发现:严重重复风险**
|
|
9
|
+
|
|
10
|
+
PRD 提议的功能与现有代码高度重叠:
|
|
11
|
+
|
|
12
|
+
| PRD 提议 | 已有实现 |
|
|
13
|
+
|---------|---------|
|
|
14
|
+
| `agent_runs` 表(agent_type/model/duration_ms) | `src/hooks/subagent-tracker/index.ts` — `SubagentInfo` 接口已有完整字段 |
|
|
15
|
+
| `tool_calls` 表(tool_name/duration_ms/success) | `recordToolUsageWithTiming()` 已实现,存于 JSON state |
|
|
16
|
+
| `cost_records` 表(token 估算/模型单价) | `src/analytics/cost-estimator.ts` — `calculateCost()` 已支持 haiku/sonnet/opus |
|
|
17
|
+
| tool 聚合统计(avg/p95/failure_rate) | `getAgentPerformance()` 已计算 avg_ms/max_ms/failures |
|
|
18
|
+
| query-engine | `src/analytics/query-engine.ts` 已存在 |
|
|
19
|
+
|
|
20
|
+
**结论:PRD 描述的是对已有 JSON-based 追踪系统的 SQLite 迁移,而非全新功能。**
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 2. Risk Assessment (风险评估)
|
|
25
|
+
|
|
26
|
+
- Complexity Score (1-10): **4**
|
|
27
|
+
- POC Required: No
|
|
28
|
+
|
|
29
|
+
**风险点:**
|
|
30
|
+
|
|
31
|
+
1. **数据迁移**(中风险):现有 `subagent-tracking.json` 数据需要决策——迁移还是并行运行?PRD 未说明。
|
|
32
|
+
2. **并发写入**(低风险):`better-sqlite3` 是同步 API,与现有 debounce+lock 机制兼容,但需要确认 WAL 模式开启以支持并发读。
|
|
33
|
+
3. **Hook 集成点**(低风险):`PreToolUse`/`PostToolUse`/`SubagentStart`/`SubagentStop` 已有 hook 接入点,新模块只需挂载。
|
|
34
|
+
4. **p95 计算**(低风险):SQLite 无内置 percentile 函数,需要应用层排序计算,数据量小时可接受。
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 3. Implementation Plan (大致实现计划)
|
|
39
|
+
|
|
40
|
+
**Backend(约 2 天):**
|
|
41
|
+
- `src/hooks/observability/db.ts`:初始化 3 张表,开启 WAL 模式
|
|
42
|
+
- `src/hooks/observability/agent-tracker.ts`:复用 `SubagentInfo` 类型,写入 `agent_runs`
|
|
43
|
+
- `src/hooks/observability/tool-tracker.ts`:复用 `ToolUsageEntry`,写入 `tool_calls`
|
|
44
|
+
- `src/hooks/observability/cost-estimator.ts`:调用已有 `calculateCost()`,写入 `cost_records`
|
|
45
|
+
- `src/hooks/observability/query-engine.ts`:聚合查询(avg/p95/failure_rate)
|
|
46
|
+
|
|
47
|
+
**Frontend/Skill(约 0.5 天):**
|
|
48
|
+
- `skills/ax-observe/SKILL.md`:调用 query-engine 输出格式化报告
|
|
49
|
+
- `/ax-status` 集成:追加 observability 摘要
|
|
50
|
+
|
|
51
|
+
**测试(约 1 天):**
|
|
52
|
+
- ≥15 个测试用例覆盖:表创建、写入、聚合查询、成本估算
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Conclusion (结论)
|
|
57
|
+
|
|
58
|
+
- **Pass**(条件通过)
|
|
59
|
+
- Estimated Effort: **3~4 天**
|
|
60
|
+
|
|
61
|
+
**前置决策(需 PRD 补充):**
|
|
62
|
+
1. 是否废弃现有 JSON 追踪,完全迁移到 SQLite?还是双轨并行?
|
|
63
|
+
2. `observability.db` 是否纳入 `.gitignore`?
|
|
64
|
+
3. p95 计算的数据窗口定义(最近 N 条 vs 时间窗口)?
|
|
65
|
+
|
|
66
|
+
建议在实现前明确第 1 点,否则会产生数据双写的维护负担。
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# UX Review: Draft PRD - Agent 可观测性平台
|
|
2
|
+
|
|
3
|
+
## 1. Flow Analysis (流程分析)
|
|
4
|
+
|
|
5
|
+
**F1 /ax-observe 命令结构**
|
|
6
|
+
|
|
7
|
+
PRD 设计了四个子命令:`--session`、`--agent`、`--tool`、`--cost`。问题在于这四个维度是正交的,用户实际需求往往是组合查询("这次 session 里哪个 agent 花费最高"),但当前设计无法表达这种组合。
|
|
8
|
+
|
|
9
|
+
- 现状:`/ax-observe --cost` 和 `/ax-observe --agent` 是独立命令,无法组合
|
|
10
|
+
- 建议:改为主命令 + 过滤参数模式:`/ax-observe [--session <id>] [--by agent|tool|cost]`,支持组合
|
|
11
|
+
|
|
12
|
+
**F2 /ax-status 集成**
|
|
13
|
+
|
|
14
|
+
"可观测性摘要"区块的触发时机不明确——是每次执行 `/ax-status` 都显示,还是只在有异常时显示?
|
|
15
|
+
|
|
16
|
+
- 问题:如果默认展示,会增加 `/ax-status` 的输出噪音;如果默认隐藏,用户不知道这个功能存在
|
|
17
|
+
- 建议:默认显示单行摘要 `[observe] last run: 3 agents, 12.4s, ~$0.08`,`--verbose` 展开详情
|
|
18
|
+
|
|
19
|
+
**F3 用户故事与命令的映射断层**
|
|
20
|
+
|
|
21
|
+
用户故事"查看最近一次 ultrawork 执行中每个 agent 的耗时分布"需要几步才能完成:先找到 session id,再用 `--session` 过滤,再用 `--agent` 查看。PRD 没有提供"最近一次执行"的快捷入口。
|
|
22
|
+
|
|
23
|
+
- 建议:增加 `/ax-observe --last` 作为最高频操作的零参数快捷方式
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 2. UI/Visual Feedback (视觉反馈)
|
|
28
|
+
|
|
29
|
+
**耗时分布的 CLI 呈现**
|
|
30
|
+
|
|
31
|
+
PRD 提到"耗时分布"但未定义输出格式。在 CLI 环境下,表格和图表的选择直接影响可读性。
|
|
32
|
+
|
|
33
|
+
- 问题:如果输出原始数字列表,用户无法快速识别瓶颈
|
|
34
|
+
- 建议:使用对齐表格 + 相对比例条,例如:
|
|
35
|
+
```
|
|
36
|
+
agent time share
|
|
37
|
+
executor 8.2s ████████░░ 66%
|
|
38
|
+
verifier 3.1s ███░░░░░░░ 25%
|
|
39
|
+
explore 1.1s █░░░░░░░░░ 9%
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**成本输出的精度问题**
|
|
43
|
+
|
|
44
|
+
`--cost` 输出的数字精度未定义。`$0.001234` 和 `$0.00` 都会让用户困惑。
|
|
45
|
+
|
|
46
|
+
- 建议:统一显示两位小数美元,附带 token 数:`$0.08 (input: 12,400 / output: 3,200 tokens)`
|
|
47
|
+
|
|
48
|
+
**工具调用最慢的识别**
|
|
49
|
+
|
|
50
|
+
用户故事"知道哪个工具调用最慢"需要一个明确的视觉标记,而不是让用户自己从列表中找。
|
|
51
|
+
|
|
52
|
+
- 建议:最慢的条目自动标注 `[slowest]`,超过阈值(如 5s)标注 `[warn]`
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 3. Usability Score (1-10)
|
|
57
|
+
|
|
58
|
+
**评分:5/10**
|
|
59
|
+
|
|
60
|
+
Reasoning:命令结构设计存在根本性的正交维度问题,四个子命令无法组合使用,导致最常见的"跨维度查询"场景需要多次执行命令并手动关联结果。用户故事与实际命令设计之间存在明显的映射断层。输出格式完全未定义,在 CLI 环境下这是高风险遗漏——同样的数据用表格和用 JSON 输出,可用性差距极大。`/ax-status` 集成的触发逻辑不清晰,可能造成输出噪音或功能不可发现两个极端。
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Conclusion (结论)
|
|
65
|
+
|
|
66
|
+
- Optimizable
|
|
67
|
+
- Top 3 Changes Needed (亟待改进):
|
|
68
|
+
1. 重构子命令为组合过滤参数模式,支持 `--by agent|tool|cost` 与 `--session` 组合使用,消除正交维度断层
|
|
69
|
+
2. 明确定义 CLI 输出格式:耗时用对齐表格+比例条,成本用"$X.XX (N tokens)"格式,最慢条目自动标注
|
|
70
|
+
3. 增加 `/ax-observe --last` 零参数快捷入口,覆盖最高频的"查看上次执行"场景
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Agent 可观测性平台 Rough PRD"
|
|
3
|
+
direction: 2
|
|
4
|
+
status: rough
|
|
5
|
+
created: 2026-03-02
|
|
6
|
+
review_verdict: "Pass with modifications (4/5 experts)"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Rough PRD:Agent 可观测性平台
|
|
10
|
+
|
|
11
|
+
## 1. 背景与目标
|
|
12
|
+
|
|
13
|
+
ultrapower 拥有 49 个 agents、71 个 skills、47 个 hooks,缺乏统一可观测性层。
|
|
14
|
+
|
|
15
|
+
**目标**:构建 Agent 可观测性平台,覆盖执行追踪、工具分析、成本追踪三个维度。
|
|
16
|
+
|
|
17
|
+
## 2. 评审仲裁结论
|
|
18
|
+
|
|
19
|
+
### 采纳的修改(来自专家评审)
|
|
20
|
+
|
|
21
|
+
| 修改点 | 来源 | 原因 |
|
|
22
|
+
|--------|------|------|
|
|
23
|
+
| 存储位置改为 `~/.claude/.omc/observability.db` | Critic | 解决 gitignore 问题 + 支持跨 worktree 聚合 |
|
|
24
|
+
| WAL 模式 + 内存队列异步写入 | Critic + Domain Expert | 防 SQLITE_BUSY,不阻塞主线程 |
|
|
25
|
+
| schema 增加 `parent_run_id` | Domain Expert | 重建执行链,可观测性基础字段 |
|
|
26
|
+
| token 四维存储(input/output/cache_write/cache_read) | Domain Expert | 对齐现有 cost-estimator.ts |
|
|
27
|
+
| `/ax-observe` 合并为 `/trace --observe` 扩展 | Product Director | 降低认知分裂,复用现有入口 |
|
|
28
|
+
| P95 用应用层计算(最近 1000 条 + 索引) | Domain Expert | SQLite 无原生百分位函数 |
|
|
29
|
+
| 优先走 tokscale-adapter.ts 动态定价 | Domain Expert | 硬编码仅作 fallback |
|
|
30
|
+
|
|
31
|
+
### 不采纳的建议
|
|
32
|
+
|
|
33
|
+
| 建议 | 来源 | 原因 |
|
|
34
|
+
|------|------|------|
|
|
35
|
+
| 改用 JSONL 轻量路径 | Product Director | 用户已明确选择 SQLite |
|
|
36
|
+
| 延迟到 Q2 实现 | Product Director | 用户已确认方向 |
|
|
37
|
+
|
|
38
|
+
## 3. 功能范围(修订版)
|
|
39
|
+
|
|
40
|
+
### 3.1 Agent 执行追踪
|
|
41
|
+
- 记录每次 agent 调用:`agent_type`、`model`、`start_time`、`end_time`、`duration_ms`、`session_id`、`parent_run_id`
|
|
42
|
+
- 支持按 session / agent_type / 时间范围查询
|
|
43
|
+
|
|
44
|
+
### 3.2 工具调用分析
|
|
45
|
+
- 记录每次工具调用:`tool_name`、`duration_ms`、`success`、`error_msg`、`session_id`、`parent_run_id`
|
|
46
|
+
- 聚合统计:调用次数、平均耗时、P95 耗时(应用层,最近 1000 条)、失败率
|
|
47
|
+
|
|
48
|
+
### 3.3 成本追踪
|
|
49
|
+
- 四维 token 存储:`input_tokens`、`output_tokens`、`cache_write_tokens`、`cache_read_tokens`
|
|
50
|
+
- 优先走 `tokscale-adapter.ts` 动态定价,硬编码作 fallback
|
|
51
|
+
- 按模型计算成本(haiku/sonnet/opus)
|
|
52
|
+
|
|
53
|
+
### 3.4 展示层
|
|
54
|
+
- `/trace --observe [--session <id>] [--agent <type>] [--tool <name>] [--cost] [--last <n>]`:扩展现有 `/trace` skill
|
|
55
|
+
- `/ax-status` 集成:增加「可观测性摘要」区块
|
|
56
|
+
|
|
57
|
+
## 4. 技术方案(修订版)
|
|
58
|
+
|
|
59
|
+
### 存储
|
|
60
|
+
- 路径:`~/.claude/.omc/observability.db`(全局,跨 worktree)
|
|
61
|
+
- WAL 模式:`PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL;`
|
|
62
|
+
- 写入:内存队列 + `setImmediate` 异步 flush,批量写入
|
|
63
|
+
|
|
64
|
+
### Schema
|
|
65
|
+
|
|
66
|
+
```sql
|
|
67
|
+
CREATE TABLE agent_runs (
|
|
68
|
+
id TEXT PRIMARY KEY,
|
|
69
|
+
session_id TEXT NOT NULL,
|
|
70
|
+
parent_run_id TEXT,
|
|
71
|
+
agent_type TEXT NOT NULL,
|
|
72
|
+
model TEXT NOT NULL,
|
|
73
|
+
start_time INTEGER NOT NULL,
|
|
74
|
+
end_time INTEGER,
|
|
75
|
+
duration_ms INTEGER,
|
|
76
|
+
status TEXT DEFAULT 'running'
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
CREATE TABLE tool_calls (
|
|
80
|
+
id TEXT PRIMARY KEY,
|
|
81
|
+
session_id TEXT NOT NULL,
|
|
82
|
+
parent_run_id TEXT,
|
|
83
|
+
tool_name TEXT NOT NULL,
|
|
84
|
+
start_time INTEGER NOT NULL,
|
|
85
|
+
duration_ms INTEGER,
|
|
86
|
+
success INTEGER NOT NULL DEFAULT 1,
|
|
87
|
+
error_msg TEXT
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
CREATE TABLE cost_records (
|
|
91
|
+
id TEXT PRIMARY KEY,
|
|
92
|
+
session_id TEXT NOT NULL,
|
|
93
|
+
agent_run_id TEXT,
|
|
94
|
+
model TEXT NOT NULL,
|
|
95
|
+
input_tokens INTEGER DEFAULT 0,
|
|
96
|
+
output_tokens INTEGER DEFAULT 0,
|
|
97
|
+
cache_write_tokens INTEGER DEFAULT 0,
|
|
98
|
+
cache_read_tokens INTEGER DEFAULT 0,
|
|
99
|
+
cost_usd REAL DEFAULT 0,
|
|
100
|
+
recorded_at INTEGER NOT NULL
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
CREATE INDEX idx_agent_runs_session ON agent_runs(session_id);
|
|
104
|
+
CREATE INDEX idx_tool_calls_session ON tool_calls(session_id);
|
|
105
|
+
CREATE INDEX idx_tool_calls_duration ON tool_calls(duration_ms);
|
|
106
|
+
CREATE INDEX idx_cost_records_session ON cost_records(session_id);
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### 核心模块
|
|
110
|
+
- `src/hooks/observability/db.ts` — SQLite 初始化 + WAL + schema
|
|
111
|
+
- `src/hooks/observability/write-queue.ts` — 内存队列 + 异步 flush
|
|
112
|
+
- `src/hooks/observability/agent-tracker.ts` — agent run 记录
|
|
113
|
+
- `src/hooks/observability/tool-tracker.ts` — tool call 记录
|
|
114
|
+
- `src/hooks/observability/cost-estimator.ts` — token/cost 估算(对齐现有实现)
|
|
115
|
+
- `src/hooks/observability/query-engine.ts` — 查询聚合(含 P95 应用层计算)
|
|
116
|
+
- `skills/trace/SKILL.md` — 扩展 `--observe` 子命令
|
|
117
|
+
- `skills/ax-status/SKILL.md` — 增加可观测性摘要区块
|
|
118
|
+
|
|
119
|
+
## 5. 验收标准
|
|
120
|
+
|
|
121
|
+
- [ ] `~/.claude/.omc/observability.db` 自动创建,WAL 模式,3 张表正确建立
|
|
122
|
+
- [ ] agent_runs 可写入(异步队列)、可按 session 查询
|
|
123
|
+
- [ ] tool_calls 可写入、P95 应用层计算正确(最近 1000 条)
|
|
124
|
+
- [ ] cost_records 四维 token 存储,动态定价优先
|
|
125
|
+
- [ ] `/trace --observe` 输出格式化报告(含 `--last <n>` 快捷参数)
|
|
126
|
+
- [ ] `/ax-status` 显示可观测性摘要
|
|
127
|
+
- [ ] 单元测试 ≥ 15 个测试用例
|
|
128
|
+
- [ ] tsc --noEmit 0 errors,全量测试通过
|
|
129
|
+
|
|
130
|
+
## 6. 不在范围内
|
|
131
|
+
|
|
132
|
+
- 实时流式监控(WebSocket/SSE)
|
|
133
|
+
- 跨项目数据聚合
|
|
134
|
+
- 告警/通知系统
|
|
135
|
+
- 独立 `/ax-observe` skill(合并到 `/trace`)
|