@liangjie559567/ultrapower 6.0.0 → 7.0.2
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 +1 -1
- package/LICENSE +21 -21
- package/README.md +2 -2
- package/agents/executor.md +10 -5
- package/bridge/codex-server.cjs +1 -1
- package/bridge/gemini-server.cjs +1 -1
- package/bridge/gyoshu_bridge.py +846 -846
- package/dist/agents/status.d.ts +28 -0
- package/dist/agents/status.d.ts.map +1 -0
- package/dist/agents/status.js +44 -0
- package/dist/agents/status.js.map +1 -0
- package/dist/cache/result-cache.d.ts +20 -0
- package/dist/cache/result-cache.d.ts.map +1 -0
- package/dist/cache/result-cache.js +64 -0
- package/dist/cache/result-cache.js.map +1 -0
- package/dist/cache/security.d.ts +21 -0
- package/dist/cache/security.d.ts.map +1 -0
- package/dist/cache/security.js +39 -0
- package/dist/cache/security.js.map +1 -0
- package/dist/cli/autocomplete.d.ts +25 -0
- package/dist/cli/autocomplete.d.ts.map +1 -0
- package/dist/cli/autocomplete.js +99 -0
- package/dist/cli/autocomplete.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +8 -0
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/backfill.d.ts +2 -0
- package/dist/cli/commands/backfill.d.ts.map +1 -1
- package/dist/cli/commands/backfill.js +13 -0
- package/dist/cli/commands/backfill.js.map +1 -1
- package/dist/cli/commands/cleanup.d.ts +2 -0
- package/dist/cli/commands/cleanup.d.ts.map +1 -1
- package/dist/cli/commands/cleanup.js +7 -0
- package/dist/cli/commands/cleanup.js.map +1 -1
- package/dist/cli/commands/config-notify-profile.d.ts +3 -0
- package/dist/cli/commands/config-notify-profile.d.ts.map +1 -0
- package/dist/cli/commands/config-notify-profile.js +58 -0
- package/dist/cli/commands/config-notify-profile.js.map +1 -0
- package/dist/cli/commands/config-stop-callback.d.ts +3 -0
- package/dist/cli/commands/config-stop-callback.d.ts.map +1 -0
- package/dist/cli/commands/config-stop-callback.js +97 -0
- package/dist/cli/commands/config-stop-callback.js.map +1 -0
- package/dist/cli/commands/config.d.ts +3 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +10 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/cost.d.ts +2 -0
- package/dist/cli/commands/cost.d.ts.map +1 -1
- package/dist/cli/commands/cost.js +8 -0
- package/dist/cli/commands/cost.js.map +1 -1
- package/dist/cli/commands/dashboard.d.ts +3 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.js +13 -0
- package/dist/cli/commands/dashboard.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +3 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +11 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/export.d.ts +2 -0
- package/dist/cli/commands/export.d.ts.map +1 -1
- package/dist/cli/commands/export.js +10 -0
- package/dist/cli/commands/export.js.map +1 -1
- package/dist/cli/commands/info.d.ts +3 -0
- package/dist/cli/commands/info.d.ts.map +1 -0
- package/dist/cli/commands/info.js +10 -0
- package/dist/cli/commands/info.js.map +1 -0
- package/dist/cli/commands/init.d.ts +3 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +10 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/interop.d.ts +3 -0
- package/dist/cli/commands/interop.d.ts.map +1 -0
- package/dist/cli/commands/interop.js +10 -0
- package/dist/cli/commands/interop.js.map +1 -0
- package/dist/cli/commands/launch.d.ts +3 -0
- package/dist/cli/commands/launch.d.ts.map +1 -0
- package/dist/cli/commands/launch.js +20 -0
- package/dist/cli/commands/launch.js.map +1 -0
- package/dist/cli/commands/perf-wrapper.d.ts +2 -0
- package/dist/cli/commands/perf-wrapper.d.ts.map +1 -0
- package/dist/cli/commands/perf-wrapper.js +4 -0
- package/dist/cli/commands/perf-wrapper.js.map +1 -0
- package/dist/cli/commands/registry.d.ts +9 -0
- package/dist/cli/commands/registry.d.ts.map +1 -0
- package/dist/cli/commands/registry.js +29 -0
- package/dist/cli/commands/registry.js.map +1 -0
- package/dist/cli/commands/sessions.d.ts +2 -0
- package/dist/cli/commands/sessions.d.ts.map +1 -1
- package/dist/cli/commands/sessions.js +8 -0
- package/dist/cli/commands/sessions.js.map +1 -1
- package/dist/cli/commands/setup.d.ts +3 -0
- package/dist/cli/commands/setup.d.ts.map +1 -0
- package/dist/cli/commands/setup.js +10 -0
- package/dist/cli/commands/setup.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +2 -0
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +8 -0
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/teleport-wrapper.d.ts +3 -0
- package/dist/cli/commands/teleport-wrapper.d.ts.map +1 -0
- package/dist/cli/commands/teleport-wrapper.js +12 -0
- package/dist/cli/commands/teleport-wrapper.js.map +1 -0
- package/dist/cli/commands/test-prompt.d.ts +3 -0
- package/dist/cli/commands/test-prompt.d.ts.map +1 -0
- package/dist/cli/commands/test-prompt.js +11 -0
- package/dist/cli/commands/test-prompt.js.map +1 -0
- package/dist/cli/commands/tui.d.ts +3 -0
- package/dist/cli/commands/tui.d.ts.map +1 -0
- package/dist/cli/commands/tui.js +10 -0
- package/dist/cli/commands/tui.js.map +1 -0
- package/dist/cli/commands/tutorial.d.ts +8 -0
- package/dist/cli/commands/tutorial.d.ts.map +1 -0
- package/dist/cli/commands/tutorial.js +31 -0
- package/dist/cli/commands/tutorial.js.map +1 -0
- package/dist/cli/commands/update.d.ts +3 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +10 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/version.d.ts +3 -0
- package/dist/cli/commands/version.d.ts.map +1 -0
- package/dist/cli/commands/version.js +10 -0
- package/dist/cli/commands/version.js.map +1 -0
- package/dist/cli/commands/wait-wrapper.d.ts +3 -0
- package/dist/cli/commands/wait-wrapper.d.ts.map +1 -0
- package/dist/cli/commands/wait-wrapper.js +12 -0
- package/dist/cli/commands/wait-wrapper.js.map +1 -0
- package/dist/cli/error-handler.d.ts +7 -0
- package/dist/cli/error-handler.d.ts.map +1 -0
- package/dist/cli/error-handler.js +30 -0
- package/dist/cli/error-handler.js.map +1 -0
- package/dist/cli/index.d.ts +1 -7
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +44 -1474
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/loader.d.ts +24 -0
- package/dist/cli/loader.d.ts.map +1 -0
- package/dist/cli/loader.js +27 -0
- package/dist/cli/loader.js.map +1 -0
- package/dist/cli/progress/agent-status.d.ts +22 -0
- package/dist/cli/progress/agent-status.d.ts.map +1 -0
- package/dist/cli/progress/agent-status.js +44 -0
- package/dist/cli/progress/agent-status.js.map +1 -0
- package/dist/cli/progress/examples.d.ts +7 -0
- package/dist/cli/progress/examples.d.ts.map +1 -0
- package/dist/cli/progress/examples.js +50 -0
- package/dist/cli/progress/examples.js.map +1 -0
- package/dist/cli/progress/index.d.ts +7 -0
- package/dist/cli/progress/index.d.ts.map +1 -0
- package/dist/cli/progress/index.js +7 -0
- package/dist/cli/progress/index.js.map +1 -0
- package/dist/cli/progress/progress-bar.d.ts +17 -0
- package/dist/cli/progress/progress-bar.d.ts.map +1 -0
- package/dist/cli/progress/progress-bar.js +28 -0
- package/dist/cli/progress/progress-bar.js.map +1 -0
- package/dist/cli/progress/spinner.d.ts +14 -0
- package/dist/cli/progress/spinner.d.ts.map +1 -0
- package/dist/cli/progress/spinner.js +34 -0
- package/dist/cli/progress/spinner.js.map +1 -0
- package/dist/cli/tutorial/index.d.ts +15 -0
- package/dist/cli/tutorial/index.d.ts.map +1 -0
- package/dist/cli/tutorial/index.js +89 -0
- package/dist/cli/tutorial/index.js.map +1 -0
- package/dist/cli/utils/config.d.ts +2 -0
- package/dist/cli/utils/config.d.ts.map +1 -0
- package/dist/cli/utils/config.js +4 -0
- package/dist/cli/utils/config.js.map +1 -0
- package/dist/cli/utils/dashboard.d.ts +2 -0
- package/dist/cli/utils/dashboard.d.ts.map +1 -0
- package/dist/cli/utils/dashboard.js +74 -0
- package/dist/cli/utils/dashboard.js.map +1 -0
- package/dist/cli/utils/info.d.ts +2 -0
- package/dist/cli/utils/info.d.ts.map +1 -0
- package/dist/cli/utils/info.js +4 -0
- package/dist/cli/utils/info.js.map +1 -0
- package/dist/cli/utils/init.d.ts +2 -0
- package/dist/cli/utils/init.d.ts.map +1 -0
- package/dist/cli/utils/init.js +4 -0
- package/dist/cli/utils/init.js.map +1 -0
- package/dist/cli/utils/interop.d.ts +2 -0
- package/dist/cli/utils/interop.d.ts.map +1 -0
- package/dist/cli/utils/interop.js +4 -0
- package/dist/cli/utils/interop.js.map +1 -0
- package/dist/cli/utils/setup.d.ts +2 -0
- package/dist/cli/utils/setup.d.ts.map +1 -0
- package/dist/cli/utils/setup.js +4 -0
- package/dist/cli/utils/setup.js.map +1 -0
- package/dist/cli/utils/test-prompt.d.ts +2 -0
- package/dist/cli/utils/test-prompt.d.ts.map +1 -0
- package/dist/cli/utils/test-prompt.js +4 -0
- package/dist/cli/utils/test-prompt.js.map +1 -0
- package/dist/cli/utils/update.d.ts +2 -0
- package/dist/cli/utils/update.d.ts.map +1 -0
- package/dist/cli/utils/update.js +4 -0
- package/dist/cli/utils/update.js.map +1 -0
- package/dist/cli/utils/version-info.d.ts +2 -0
- package/dist/cli/utils/version-info.d.ts.map +1 -0
- package/dist/cli/utils/version-info.js +4 -0
- package/dist/cli/utils/version-info.js.map +1 -0
- package/dist/errors/classifier.d.ts +10 -0
- package/dist/errors/classifier.d.ts.map +1 -0
- package/dist/errors/classifier.js +119 -0
- package/dist/errors/classifier.js.map +1 -0
- package/dist/errors/index.d.ts +7 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +7 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/spelling.d.ts +5 -0
- package/dist/errors/spelling.d.ts.map +1 -0
- package/dist/errors/spelling.js +36 -0
- package/dist/errors/spelling.js.map +1 -0
- package/dist/errors/types.d.ts +25 -0
- package/dist/errors/types.d.ts.map +1 -0
- package/dist/errors/types.js +13 -0
- package/dist/errors/types.js.map +1 -0
- package/dist/features/ccg/incremental-processor.d.ts +3 -3
- package/dist/features/ccg/incremental-processor.d.ts.map +1 -1
- package/dist/features/ccg/incremental-processor.js +7 -7
- package/dist/features/ccg/incremental-processor.js.map +1 -1
- package/dist/features/state-manager/index.d.ts +5 -0
- package/dist/features/state-manager/index.d.ts.map +1 -1
- package/dist/features/state-manager/index.js +7 -0
- package/dist/features/state-manager/index.js.map +1 -1
- package/dist/hooks/bridge-converter.d.ts +10 -0
- package/dist/hooks/bridge-converter.d.ts.map +1 -0
- package/dist/hooks/bridge-converter.js +43 -0
- package/dist/hooks/bridge-converter.js.map +1 -0
- package/dist/hooks/bridge.d.ts +2 -31
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +24 -1066
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/cache.d.ts +2 -0
- package/dist/hooks/cache.d.ts.map +1 -0
- package/dist/hooks/cache.js +78 -0
- package/dist/hooks/cache.js.map +1 -0
- package/dist/hooks/handlers/autopilot.d.ts +3 -0
- package/dist/hooks/handlers/autopilot.d.ts.map +1 -0
- package/dist/hooks/handlers/autopilot.js +23 -0
- package/dist/hooks/handlers/autopilot.js.map +1 -0
- package/dist/hooks/handlers/index.d.ts +5 -0
- package/dist/hooks/handlers/index.d.ts.map +1 -0
- package/dist/hooks/handlers/index.js +18 -0
- package/dist/hooks/handlers/index.js.map +1 -0
- package/dist/hooks/handlers/keyword-detector.d.ts +3 -0
- package/dist/hooks/handlers/keyword-detector.d.ts.map +1 -0
- package/dist/hooks/handlers/keyword-detector.js +66 -0
- package/dist/hooks/handlers/keyword-detector.js.map +1 -0
- package/dist/hooks/handlers/persistent-mode.d.ts +3 -0
- package/dist/hooks/handlers/persistent-mode.d.ts.map +1 -0
- package/dist/hooks/handlers/persistent-mode.js +82 -0
- package/dist/hooks/handlers/persistent-mode.js.map +1 -0
- package/dist/hooks/handlers/post-tool-use.d.ts +3 -0
- package/dist/hooks/handlers/post-tool-use.d.ts.map +1 -0
- package/dist/hooks/handlers/post-tool-use.js +74 -0
- package/dist/hooks/handlers/post-tool-use.js.map +1 -0
- package/dist/hooks/handlers/pre-tool-use.d.ts +7 -0
- package/dist/hooks/handlers/pre-tool-use.d.ts.map +1 -0
- package/dist/hooks/handlers/pre-tool-use.js +120 -0
- package/dist/hooks/handlers/pre-tool-use.js.map +1 -0
- package/dist/hooks/handlers/ralph.d.ts +3 -0
- package/dist/hooks/handlers/ralph.d.ts.map +1 -0
- package/dist/hooks/handlers/ralph.js +53 -0
- package/dist/hooks/handlers/ralph.js.map +1 -0
- package/dist/hooks/handlers/route-map.d.ts +8 -0
- package/dist/hooks/handlers/route-map.d.ts.map +1 -0
- package/dist/hooks/handlers/route-map.js +64 -0
- package/dist/hooks/handlers/route-map.js.map +1 -0
- package/dist/hooks/handlers/session-start.d.ts +3 -0
- package/dist/hooks/handlers/session-start.d.ts.map +1 -0
- package/dist/hooks/handlers/session-start.js +186 -0
- package/dist/hooks/handlers/session-start.js.map +1 -0
- package/dist/hooks/handlers/stop-continuation.d.ts +3 -0
- package/dist/hooks/handlers/stop-continuation.d.ts.map +1 -0
- package/dist/hooks/handlers/stop-continuation.js +50 -0
- package/dist/hooks/handlers/stop-continuation.js.map +1 -0
- package/dist/hooks/team-state-reader.d.ts +24 -0
- package/dist/hooks/team-state-reader.d.ts.map +1 -0
- package/dist/hooks/team-state-reader.js +88 -0
- package/dist/hooks/team-state-reader.js.map +1 -0
- package/dist/hooks/validation.d.ts +5 -0
- package/dist/hooks/validation.d.ts.map +1 -0
- package/dist/hooks/validation.js +48 -0
- package/dist/hooks/validation.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/unified-logger.d.ts +15 -0
- package/dist/lib/unified-logger.d.ts.map +1 -0
- package/dist/lib/unified-logger.js +23 -0
- package/dist/lib/unified-logger.js.map +1 -0
- package/dist/mcp/adapters/memory-adapter.d.ts +2 -2
- package/dist/mcp/adapters/state-adapter.d.ts +5 -5
- package/dist/mcp/adapters/trace-adapter.d.ts +3 -3
- package/dist/mcp/codex-server.d.ts.map +1 -1
- package/dist/mcp/codex-server.js +22 -27
- package/dist/mcp/codex-server.js.map +1 -1
- package/dist/mcp/config/schema.d.ts +6 -6
- package/dist/mcp/config-schema.d.ts +6 -6
- package/dist/mcp/gemini-server.d.ts.map +1 -1
- package/dist/mcp/gemini-server.js +21 -26
- package/dist/mcp/gemini-server.js.map +1 -1
- package/dist/mcp/logger.d.ts.map +1 -1
- package/dist/mcp/logger.js +3 -1
- package/dist/mcp/logger.js.map +1 -1
- package/dist/mcp/tool-types.d.ts +50 -0
- package/dist/mcp/tool-types.d.ts.map +1 -0
- package/dist/mcp/tool-types.js +6 -0
- package/dist/mcp/tool-types.js.map +1 -0
- package/dist/observability/masker.d.ts +3 -0
- package/dist/observability/masker.d.ts.map +1 -0
- package/dist/observability/masker.js +23 -0
- package/dist/observability/masker.js.map +1 -0
- package/dist/observability/monitor.d.ts +17 -0
- package/dist/observability/monitor.d.ts.map +1 -0
- package/dist/observability/monitor.js +30 -0
- package/dist/observability/monitor.js.map +1 -0
- package/dist/observability/tracer.d.ts +6 -0
- package/dist/observability/tracer.d.ts.map +1 -0
- package/dist/observability/tracer.js +36 -0
- package/dist/observability/tracer.js.map +1 -0
- package/dist/reliability/circuit-breaker.d.ts +24 -0
- package/dist/reliability/circuit-breaker.d.ts.map +1 -0
- package/dist/reliability/circuit-breaker.js +59 -0
- package/dist/reliability/circuit-breaker.js.map +1 -0
- package/dist/reliability/model-fallback.d.ts +21 -0
- package/dist/reliability/model-fallback.d.ts.map +1 -0
- package/dist/reliability/model-fallback.js +47 -0
- package/dist/reliability/model-fallback.js.map +1 -0
- package/dist/reliability/retry-classifier.d.ts +17 -0
- package/dist/reliability/retry-classifier.d.ts.map +1 -0
- package/dist/reliability/retry-classifier.js +59 -0
- package/dist/reliability/retry-classifier.js.map +1 -0
- package/dist/reliability/retry-manager.d.ts +20 -0
- package/dist/reliability/retry-manager.d.ts.map +1 -0
- package/dist/reliability/retry-manager.js +45 -0
- package/dist/reliability/retry-manager.js.map +1 -0
- package/dist/security/audit-logger.d.ts +21 -0
- package/dist/security/audit-logger.d.ts.map +1 -0
- package/dist/security/audit-logger.js +58 -0
- package/dist/security/audit-logger.js.map +1 -0
- package/dist/security/budget-controller.d.ts +23 -0
- package/dist/security/budget-controller.d.ts.map +1 -0
- package/dist/security/budget-controller.js +31 -0
- package/dist/security/budget-controller.js.map +1 -0
- package/dist/security/concurrency-control.d.ts +42 -0
- package/dist/security/concurrency-control.d.ts.map +1 -0
- package/dist/security/concurrency-control.js +87 -0
- package/dist/security/concurrency-control.js.map +1 -0
- package/dist/security/resource-guard.d.ts +25 -0
- package/dist/security/resource-guard.d.ts.map +1 -0
- package/dist/security/resource-guard.js +57 -0
- package/dist/security/resource-guard.js.map +1 -0
- package/dist/security/tenant-isolator.d.ts +27 -0
- package/dist/security/tenant-isolator.d.ts.map +1 -0
- package/dist/security/tenant-isolator.js +52 -0
- package/dist/security/tenant-isolator.js.map +1 -0
- package/dist/state/backup-manager.d.ts +56 -0
- package/dist/state/backup-manager.d.ts.map +1 -0
- package/dist/state/backup-manager.js +174 -0
- package/dist/state/backup-manager.js.map +1 -0
- package/dist/state/index.d.ts +26 -0
- package/dist/state/index.d.ts.map +1 -0
- package/dist/state/index.js +40 -0
- package/dist/state/index.js.map +1 -0
- package/dist/state/migration/index.d.ts +25 -0
- package/dist/state/migration/index.d.ts.map +1 -0
- package/dist/state/migration/index.js +61 -0
- package/dist/state/migration/index.js.map +1 -0
- package/dist/state/migration/integrity.d.ts +30 -0
- package/dist/state/migration/integrity.d.ts.map +1 -0
- package/dist/state/migration/integrity.js +109 -0
- package/dist/state/migration/integrity.js.map +1 -0
- package/dist/tools/python-repl/index.d.ts +2 -2
- package/dist/tools/python-repl/tool.d.ts +2 -2
- package/docs/CLAUDE.md +1 -1
- package/docs/INSTALL.md +2 -2
- package/docs/REFERENCE.md +1 -1
- package/docs/api/assets/highlight.css +85 -85
- package/docs/api/assets/style.css +1633 -1633
- package/docs/api/classes/ContextCollector.html +21 -21
- package/docs/api/functions/activateUltrawork.html +2 -2
- package/docs/api/functions/addCustomNote.html +5 -5
- package/docs/api/functions/addDirective.html +2 -2
- package/docs/api/functions/addManualEntry.html +2 -2
- package/docs/api/functions/addPattern.html +3 -3
- package/docs/api/functions/addWorker.html +2 -2
- package/docs/api/functions/addWorkingMemoryEntry.html +2 -2
- package/docs/api/functions/analyzeContextUsage.html +2 -2
- package/docs/api/functions/appendProgress.html +2 -2
- package/docs/api/functions/appendSessionId.html +2 -2
- package/docs/api/functions/applyCommentFilters.html +3 -3
- package/docs/api/functions/assignFileToWorker.html +2 -2
- package/docs/api/functions/backgroundUpdateCheck.html +2 -2
- package/docs/api/functions/buildAxiomBootContext.html +1 -1
- package/docs/api/functions/buildBoulderContinuation.html +2 -2
- package/docs/api/functions/buildDelegationTable.html +2 -2
- package/docs/api/functions/buildKeyTriggersSection.html +2 -2
- package/docs/api/functions/buildOrchestratorReminder.html +2 -2
- package/docs/api/functions/buildUseAvoidSection.html +2 -2
- package/docs/api/functions/buildVerificationReminder.html +2 -2
- package/docs/api/functions/canResumeAutopilot.html +10 -10
- package/docs/api/functions/canStartMode.html +5 -5
- package/docs/api/functions/cancelAutopilot.html +3 -3
- package/docs/api/functions/cancelUltraQA.html +2 -2
- package/docs/api/functions/checkBackgroundNotifications.html +2 -2
- package/docs/api/functions/checkBoulderContinuation.html +2 -2
- package/docs/api/functions/checkDuplicateTriggers.html +2 -2
- package/docs/api/functions/checkExpertGate.html +1 -1
- package/docs/api/functions/checkForComments.html +2 -2
- package/docs/api/functions/checkForUpdates.html +2 -2
- package/docs/api/functions/checkIncompleteTodos.html +13 -13
- package/docs/api/functions/checkPersistentModes.html +3 -3
- package/docs/api/functions/cleanupOrphanedState.html +2 -2
- package/docs/api/functions/cleanupStaleAgents.html +2 -2
- package/docs/api/functions/cleanupTransientState.html +2 -2
- package/docs/api/functions/clearAgentUsageState.html +1 -1
- package/docs/api/functions/clearAllModeStates.html +2 -2
- package/docs/api/functions/clearAutopilot.html +2 -2
- package/docs/api/functions/clearAutopilotState.html +2 -2
- package/docs/api/functions/clearBeadsContext.html +2 -2
- package/docs/api/functions/clearBoulderState.html +2 -2
- package/docs/api/functions/clearDetectionState.html +2 -2
- package/docs/api/functions/clearInjectedPaths.html +2 -2
- package/docs/api/functions/clearInjectedRules.html +2 -2
- package/docs/api/functions/clearLinkedUltraworkState.html +2 -2
- package/docs/api/functions/clearModeState.html +10 -10
- package/docs/api/functions/clearProjectMemorySession.html +4 -4
- package/docs/api/functions/clearRalphState.html +2 -2
- package/docs/api/functions/clearRapidFireDebounce.html +2 -2
- package/docs/api/functions/clearSkillSession.html +2 -2
- package/docs/api/functions/clearThinkModeState.html +2 -2
- package/docs/api/functions/clearTrackingState.html +2 -2
- package/docs/api/functions/clearUltraQAState.html +2 -2
- package/docs/api/functions/clearVerificationState.html +3 -3
- package/docs/api/functions/commandExists.html +2 -2
- package/docs/api/functions/compareVersions.html +3 -3
- package/docs/api/functions/completeUltraQA.html +2 -2
- package/docs/api/functions/completeUltrapilot.html +2 -2
- package/docs/api/functions/completeWorker.html +2 -2
- package/docs/api/functions/containsTokenLimitError.html +2 -2
- package/docs/api/functions/createAgentToolRestrictions.html +3 -3
- package/docs/api/functions/createAgentUsageReminderHook.html +1 -1
- package/docs/api/functions/createAutoSlashCommandHook.html +7 -7
- package/docs/api/functions/createBackgroundNotificationHook.html +7 -7
- package/docs/api/functions/createBackgroundTaskManager.html +2 -2
- package/docs/api/functions/createBoulderState.html +2 -2
- package/docs/api/functions/createCommentCheckerHook.html +6 -6
- package/docs/api/functions/createCompactCheckpoint.html +2 -2
- package/docs/api/functions/createContentHash.html +2 -2
- package/docs/api/functions/createContextInjectorHook.html +7 -7
- package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -9
- package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -6
- package/docs/api/functions/createEnvContext.html +2 -2
- package/docs/api/functions/createHookOutput.html +4 -4
- package/docs/api/functions/createLearnedSkillsHook.html +6 -6
- package/docs/api/functions/createMagicKeywordProcessor.html +2 -2
- package/docs/api/functions/createModeMarker.html +6 -6
- package/docs/api/functions/createPrd.html +2 -2
- package/docs/api/functions/createPreemptiveCompactionHook.html +6 -6
- package/docs/api/functions/createRalphLoopHook.html +2 -2
- package/docs/api/functions/createRecoveryHook.html +7 -7
- package/docs/api/functions/createRulesInjectorHook.html +8 -8
- package/docs/api/functions/createSimplePrd.html +2 -2
- package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -7
- package/docs/api/functions/createSisyphusSession.html +7 -7
- package/docs/api/functions/createThinkModeHook.html +7 -7
- package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -1
- package/docs/api/functions/createTodoContinuationHook.html +2 -2
- package/docs/api/functions/createUltraworkStateHook.html +2 -2
- package/docs/api/functions/deactivateUltrawork.html +8 -8
- package/docs/api/functions/decayHotPaths.html +2 -2
- package/docs/api/functions/decomposeTask.html +11 -11
- package/docs/api/functions/deepMerge.html +2 -2
- package/docs/api/functions/detectArchitectApproval.html +2 -2
- package/docs/api/functions/detectArchitectRejection.html +2 -2
- package/docs/api/functions/detectContextLimitError.html +2 -2
- package/docs/api/functions/detectContextLimitErrorInText.html +2 -2
- package/docs/api/functions/detectDirectivesFromMessage.html +2 -2
- package/docs/api/functions/detectEditError.html +2 -2
- package/docs/api/functions/detectEditErrorInOutput.html +2 -2
- package/docs/api/functions/detectEditErrorInText.html +2 -2
- package/docs/api/functions/detectExtractableMoment.html +2 -2
- package/docs/api/functions/detectKeywordsWithType.html +11 -11
- package/docs/api/functions/detectMagicKeywords.html +2 -2
- package/docs/api/functions/detectProjectEnvironment.html +2 -2
- package/docs/api/functions/detectRecoverableError.html +3 -3
- package/docs/api/functions/detectSessionErrorType.html +2 -2
- package/docs/api/functions/detectSlashCommand.html +3 -3
- package/docs/api/functions/detectThinkKeyword.html +2 -2
- package/docs/api/functions/detectUltrathinkKeyword.html +2 -2
- package/docs/api/functions/discoverAllCommands.html +2 -2
- package/docs/api/functions/enablePrdMode.html +2 -2
- package/docs/api/functions/enhancePrompt.html +2 -2
- package/docs/api/functions/ensureAutopilotDir.html +2 -2
- package/docs/api/functions/ensureDirectoryStructure.html +2 -2
- package/docs/api/functions/ensureModeStateDir.html +2 -2
- package/docs/api/functions/ensureSkillsDir.html +2 -2
- package/docs/api/functions/estimateTokens.html +2 -2
- package/docs/api/functions/executeSlashCommand.html +2 -2
- package/docs/api/functions/expandCommand.html +8 -8
- package/docs/api/functions/expandCommandPrompt.html +6 -6
- package/docs/api/functions/expandCommands.html +2 -2
- package/docs/api/functions/exportSessionSummary.html +2 -2
- package/docs/api/functions/exportWisdomToNotepad.html +2 -2
- package/docs/api/functions/extractPromptText.html +11 -11
- package/docs/api/functions/extractSlashPromptText.html +2 -2
- package/docs/api/functions/extractThinkPromptText.html +2 -2
- package/docs/api/functions/failWorker.html +2 -2
- package/docs/api/functions/findCommand.html +2 -2
- package/docs/api/functions/findMatchingSkills.html +2 -2
- package/docs/api/functions/findPlannerPlans.html +3 -3
- package/docs/api/functions/findPrdPath.html +2 -2
- package/docs/api/functions/findPreviousThinkingContent.html +1 -1
- package/docs/api/functions/findProgressPath.html +2 -2
- package/docs/api/functions/findProjectRoot.html +3 -3
- package/docs/api/functions/findRecoveryEmptyMessages.html +2 -2
- package/docs/api/functions/findRecoveryOrphanThinking.html +2 -2
- package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -2
- package/docs/api/functions/findRuleFiles.html +4 -4
- package/docs/api/functions/findSkillFiles.html +3 -3
- package/docs/api/functions/formatCancelMessage.html +2 -2
- package/docs/api/functions/formatCompactSummary.html +2 -2
- package/docs/api/functions/formatContextSummary.html +3 -3
- package/docs/api/functions/formatDirectivesForContext.html +2 -2
- package/docs/api/functions/formatFailureSummary.html +2 -2
- package/docs/api/functions/formatFile.html +2 -2
- package/docs/api/functions/formatFileChanges.html +2 -2
- package/docs/api/functions/formatFileList.html +2 -2
- package/docs/api/functions/formatFullContext.html +2 -2
- package/docs/api/functions/formatFullNotepad.html +2 -2
- package/docs/api/functions/formatLearningsForContext.html +2 -2
- package/docs/api/functions/formatNextStoryPrompt.html +2 -2
- package/docs/api/functions/formatNotepadContext.html +2 -2
- package/docs/api/functions/formatPatternsForContext.html +2 -2
- package/docs/api/functions/formatPrd.html +2 -2
- package/docs/api/functions/formatPrdStatus.html +2 -2
- package/docs/api/functions/formatPreCompactSummary.html +2 -2
- package/docs/api/functions/formatProgressForContext.html +2 -2
- package/docs/api/functions/formatProgressMessage.html +2 -2
- package/docs/api/functions/formatStory.html +2 -2
- package/docs/api/functions/formatSummary.html +2 -2
- package/docs/api/functions/formatUpdateNotification.html +2 -2
- package/docs/api/functions/formatValidationResults.html +2 -2
- package/docs/api/functions/generateExtractionPrompt.html +2 -2
- package/docs/api/functions/generateSkillFrontmatter.html +2 -2
- package/docs/api/functions/generateSummary.html +2 -2
- package/docs/api/functions/getActiveAgentCount.html +2 -2
- package/docs/api/functions/getActiveExclusiveMode.html +4 -4
- package/docs/api/functions/getActiveModes.html +2 -2
- package/docs/api/functions/getActivePlanPath.html +2 -2
- package/docs/api/functions/getAgentDefinitions.html +2 -2
- package/docs/api/functions/getAgentsByType.html +2 -2
- package/docs/api/functions/getAllCommands.html +2 -2
- package/docs/api/functions/getAllModeStatuses.html +5 -5
- package/docs/api/functions/getAllSkills.html +2 -2
- package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -2
- package/docs/api/functions/getArchitectVerificationPrompt.html +2 -2
- package/docs/api/functions/getAutoFormatMessage.html +2 -2
- package/docs/api/functions/getAutopilotStateAge.html +3 -3
- package/docs/api/functions/getAvailableAgents.html +2 -2
- package/docs/api/functions/getAxiomDir.html +1 -1
- package/docs/api/functions/getBackgroundTaskGuidance.html +4 -4
- package/docs/api/functions/getBeadsContextConfig.html +2 -2
- package/docs/api/functions/getBeadsInstructions.html +2 -2
- package/docs/api/functions/getBoulderFilePath.html +2 -2
- package/docs/api/functions/getCheckpointPath.html +2 -2
- package/docs/api/functions/getClaudeThinkingConfig.html +3 -3
- package/docs/api/functions/getCommand.html +2 -2
- package/docs/api/functions/getCommandsDir.html +2 -2
- package/docs/api/functions/getCompactionQueueDepth.html +3 -3
- package/docs/api/functions/getCompletedWorkers.html +2 -2
- package/docs/api/functions/getDefaultMcpServers.html +1 -1
- package/docs/api/functions/getDefaultModelForCategory.html +2 -2
- package/docs/api/functions/getDetectionStats.html +2 -2
- package/docs/api/functions/getDirectPlanningPrompt.html +3 -3
- package/docs/api/functions/getExecutionPrompt.html +2 -2
- package/docs/api/functions/getExpansionPrompt.html +3 -3
- package/docs/api/functions/getExpertGateMessage.html +1 -1
- package/docs/api/functions/getFailedWorkers.html +2 -2
- package/docs/api/functions/getFormatter.html +2 -2
- package/docs/api/functions/getGitDiffStats.html +2 -2
- package/docs/api/functions/getGlobalStateFilePath.html +4 -4
- package/docs/api/functions/getGoalCommand.html +2 -2
- package/docs/api/functions/getHighVariant.html +3 -3
- package/docs/api/functions/getInstallInfo.html +2 -2
- package/docs/api/functions/getInstalledVersion.html +2 -2
- package/docs/api/functions/getIssuesToFix.html +2 -2
- package/docs/api/functions/getLastDetection.html +2 -2
- package/docs/api/functions/getLearnerConfigValue.html +2 -2
- package/docs/api/functions/getLinter.html +2 -2
- package/docs/api/functions/getManualSection.html +2 -2
- package/docs/api/functions/getMemoryFilePaths.html +1 -1
- package/docs/api/functions/getModeMarkerFilePath.html +2 -2
- package/docs/api/functions/getModeStateFilePath.html +2 -2
- package/docs/api/functions/getNextStory.html +2 -2
- package/docs/api/functions/getNotepadPath.html +2 -2
- package/docs/api/functions/getNotepadStats.html +2 -2
- package/docs/api/functions/getOmcPrdPath.html +2 -2
- package/docs/api/functions/getOmcProgressPath.html +2 -2
- package/docs/api/functions/getOmcSystemPrompt.html +2 -2
- package/docs/api/functions/getOmcToolNames.html +3 -3
- package/docs/api/functions/getPatterns.html +2 -2
- package/docs/api/functions/getPhasePrompt.html +2 -2
- package/docs/api/functions/getPlanName.html +2 -2
- package/docs/api/functions/getPlanPath.html +2 -2
- package/docs/api/functions/getPlanProgress.html +2 -2
- package/docs/api/functions/getPlanSummaries.html +2 -2
- package/docs/api/functions/getPrdCompletionStatus.html +2 -2
- package/docs/api/functions/getPrdPath.html +2 -2
- package/docs/api/functions/getPrdStatus.html +2 -2
- package/docs/api/functions/getPreCommitReminderMessage.html +2 -2
- package/docs/api/functions/getPriorityContext.html +2 -2
- package/docs/api/functions/getProgressContext.html +2 -2
- package/docs/api/functions/getProgressPath.html +2 -2
- package/docs/api/functions/getPromotionCandidates.html +2 -2
- package/docs/api/functions/getQAPrompt.html +2 -2
- package/docs/api/functions/getRalphContext.html +3 -3
- package/docs/api/functions/getReadmesForPath.html +2 -2
- package/docs/api/functions/getRecentLearnings.html +2 -2
- package/docs/api/functions/getRulesForPath.html +2 -2
- package/docs/api/functions/getRunningAgents.html +2 -2
- package/docs/api/functions/getRunningWorkers.html +2 -2
- package/docs/api/functions/getSessionTokenEstimate.html +2 -2
- package/docs/api/functions/getSkillsDir.html +2 -2
- package/docs/api/functions/getSpecPath.html +2 -2
- package/docs/api/functions/getStaleAgents.html +2 -2
- package/docs/api/functions/getStateDir.html +2 -2
- package/docs/api/functions/getStory.html +2 -2
- package/docs/api/functions/getSubagentStateFilePath.html +2 -2
- package/docs/api/functions/getThinkModeState.html +2 -2
- package/docs/api/functions/getThinkingConfig.html +3 -3
- package/docs/api/functions/getTopHotPaths.html +2 -2
- package/docs/api/functions/getTrackingStats.html +2 -2
- package/docs/api/functions/getTransitionPrompt.html +2 -2
- package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -2
- package/docs/api/functions/getValidationPrompt.html +2 -2
- package/docs/api/functions/getValidationSpawnPrompt.html +2 -2
- package/docs/api/functions/getValidationStats.html +1 -1
- package/docs/api/functions/getValidationStatus.html +2 -2
- package/docs/api/functions/getWorkingMemory.html +2 -2
- package/docs/api/functions/handleBackgroundEvent.html +3 -3
- package/docs/api/functions/handleContextWindowRecovery.html +2 -2
- package/docs/api/functions/handleEditErrorRecovery.html +2 -2
- package/docs/api/functions/handlePermissionRequest.html +2 -2
- package/docs/api/functions/handleRecovery.html +10 -10
- package/docs/api/functions/handleSessionEnd.html +2 -2
- package/docs/api/functions/handleSessionRecovery.html +2 -2
- package/docs/api/functions/handleSharedFiles.html +7 -7
- package/docs/api/functions/handleSubagentStart.html +2 -2
- package/docs/api/functions/handleSubagentStop.html +2 -2
- package/docs/api/functions/hasBoulder.html +2 -2
- package/docs/api/functions/hasContentParts.html +1 -1
- package/docs/api/functions/hasModeState.html +3 -3
- package/docs/api/functions/hasPrd.html +2 -2
- package/docs/api/functions/hasTextContent.html +2 -2
- package/docs/api/functions/hasValidContent.html +3 -3
- package/docs/api/functions/incrementAgentCount.html +2 -2
- package/docs/api/functions/incrementRalphIteration.html +2 -2
- package/docs/api/functions/incrementReinforcement.html +2 -2
- package/docs/api/functions/initAutopilot.html +2 -2
- package/docs/api/functions/initNotepad.html +2 -2
- package/docs/api/functions/initPrd.html +2 -2
- package/docs/api/functions/initProgress.html +2 -2
- package/docs/api/functions/initUltrapilot.html +2 -2
- package/docs/api/functions/injectContextIntoText.html +2 -2
- package/docs/api/functions/injectPendingContext.html +3 -3
- package/docs/api/functions/injectRecoveryTextPart.html +2 -2
- package/docs/api/functions/install.html +2 -2
- package/docs/api/functions/integrateResults.html +5 -5
- package/docs/api/functions/isActiveModeRunning.html +2 -2
- package/docs/api/functions/isAllowedPath.html +2 -2
- package/docs/api/functions/isAlreadyHighVariant.html +2 -2
- package/docs/api/functions/isAutopilotActive.html +2 -2
- package/docs/api/functions/isAxiomEnabled.html +1 -1
- package/docs/api/functions/isClaudeInstalled.html +3 -3
- package/docs/api/functions/isClaudeModel.html +2 -2
- package/docs/api/functions/isCompactionInProgress.html +3 -3
- package/docs/api/functions/isDuplicateByContentHash.html +2 -2
- package/docs/api/functions/isDuplicateByRealPath.html +2 -2
- package/docs/api/functions/isExcludedCommand.html +2 -2
- package/docs/api/functions/isExtendedThinkingModel.html +1 -1
- package/docs/api/functions/isFileOwnedByWorker.html +2 -2
- package/docs/api/functions/isFormatterAvailable.html +2 -2
- package/docs/api/functions/isGptModel.html +2 -2
- package/docs/api/functions/isInstalled.html +2 -2
- package/docs/api/functions/isLearnerEnabled.html +2 -2
- package/docs/api/functions/isModeActive.html +6 -6
- package/docs/api/functions/isNonInteractive.html +1 -1
- package/docs/api/functions/isRecoverableError.html +2 -2
- package/docs/api/functions/isSafeCommand.html +2 -2
- package/docs/api/functions/isSessionRecoverable.html +2 -2
- package/docs/api/functions/isSharedFile.html +2 -2
- package/docs/api/functions/isThinkModeActive.html +2 -2
- package/docs/api/functions/isToolPart.html +2 -2
- package/docs/api/functions/isUltraQAActive.html +1 -1
- package/docs/api/functions/isWriteEditTool.html +2 -2
- package/docs/api/functions/learnFromToolOutput.html +7 -7
- package/docs/api/functions/lintFile.html +2 -2
- package/docs/api/functions/listAvailableCommands.html +2 -2
- package/docs/api/functions/listCommands.html +2 -2
- package/docs/api/functions/listPromotableLearnings.html +2 -2
- package/docs/api/functions/loadAgentPrompt.html +7 -7
- package/docs/api/functions/loadAgentUsageState.html +1 -1
- package/docs/api/functions/loadAllSkills.html +3 -3
- package/docs/api/functions/loadConfig.html +2 -2
- package/docs/api/functions/loadInjectedPaths.html +2 -2
- package/docs/api/functions/loadInjectedRules.html +2 -2
- package/docs/api/functions/loadLearnerConfig.html +2 -2
- package/docs/api/functions/loadProjectMemory.html +3 -3
- package/docs/api/functions/loadSkillById.html +2 -2
- package/docs/api/functions/mapDirectoryStructure.html +2 -2
- package/docs/api/functions/markStoryComplete.html +2 -2
- package/docs/api/functions/markStoryIncomplete.html +2 -2
- package/docs/api/functions/mergeAgentConfig.html +2 -2
- package/docs/api/functions/parseAxiomState.html +1 -1
- package/docs/api/functions/parseContextLimitError.html +2 -2
- package/docs/api/functions/parseProgress.html +2 -2
- package/docs/api/functions/parseRuleFrontmatter.html +10 -10
- package/docs/api/functions/parseSkillFile.html +2 -2
- package/docs/api/functions/parseSlashCommand.html +2 -2
- package/docs/api/functions/parseTokenLimitError.html +2 -2
- package/docs/api/functions/performUpdate.html +2 -2
- package/docs/api/functions/prependRecoveryThinkingPart.html +2 -2
- package/docs/api/functions/prependThinkingBlock.html +1 -1
- package/docs/api/functions/processAxiomBoot.html +1 -1
- package/docs/api/functions/processAxiomGuards.html +1 -1
- package/docs/api/functions/processBackgroundNotification.html +2 -2
- package/docs/api/functions/processBackgroundNotificationHook.html +2 -2
- package/docs/api/functions/processEditOutput.html +2 -2
- package/docs/api/functions/processHook.html +3 -3
- package/docs/api/functions/processMessageForSkills.html +2 -2
- package/docs/api/functions/processOrchestratorPostTool.html +3 -3
- package/docs/api/functions/processOrchestratorPreTool.html +3 -3
- package/docs/api/functions/processPermissionRequest.html +2 -2
- package/docs/api/functions/processPreCompact.html +6 -6
- package/docs/api/functions/processProjectMemoryPreCompact.html +3 -3
- package/docs/api/functions/processResponseForDetection.html +3 -3
- package/docs/api/functions/processSessionEnd.html +2 -2
- package/docs/api/functions/processSetup.html +2 -2
- package/docs/api/functions/processSetupInit.html +2 -2
- package/docs/api/functions/processSetupMaintenance.html +2 -2
- package/docs/api/functions/processSlashCommand.html +2 -2
- package/docs/api/functions/processSubagentStart.html +2 -2
- package/docs/api/functions/processSubagentStop.html +2 -2
- package/docs/api/functions/processThinkMode.html +3 -3
- package/docs/api/functions/promoteLearning.html +2 -2
- package/docs/api/functions/pruneOldEntries.html +2 -2
- package/docs/api/functions/pruneOldStateFiles.html +2 -2
- package/docs/api/functions/readActiveContext.html +1 -1
- package/docs/api/functions/readAutopilotState.html +2 -2
- package/docs/api/functions/readBoulderState.html +2 -2
- package/docs/api/functions/readModeMarker.html +4 -4
- package/docs/api/functions/readNotepad.html +2 -2
- package/docs/api/functions/readPrd.html +2 -2
- package/docs/api/functions/readProgress.html +2 -2
- package/docs/api/functions/readProgressRaw.html +2 -2
- package/docs/api/functions/readProjectDecisions.html +1 -1
- package/docs/api/functions/readRalphState.html +2 -2
- package/docs/api/functions/readRecoveryMessages.html +2 -2
- package/docs/api/functions/readRecoveryParts.html +2 -2
- package/docs/api/functions/readTrackingState.html +3 -3
- package/docs/api/functions/readUltraQAState.html +2 -2
- package/docs/api/functions/readUltrapilotState.html +2 -2
- package/docs/api/functions/readUltraworkState.html +4 -4
- package/docs/api/functions/readUserPreferences.html +1 -1
- package/docs/api/functions/readVerificationState.html +3 -3
- package/docs/api/functions/recordArchitectFeedback.html +2 -2
- package/docs/api/functions/recordConflict.html +2 -2
- package/docs/api/functions/recordFailure.html +2 -2
- package/docs/api/functions/recordHookFire.html +2 -2
- package/docs/api/functions/recordHookResult.html +2 -2
- package/docs/api/functions/recordKeywordDetected.html +2 -2
- package/docs/api/functions/recordModeChange.html +2 -2
- package/docs/api/functions/recordPattern.html +2 -2
- package/docs/api/functions/recordSessionMetrics.html +2 -2
- package/docs/api/functions/recordSkillActivated.html +2 -2
- package/docs/api/functions/recordSkillInvoked.html +2 -2
- package/docs/api/functions/recordStoryProgress.html +2 -2
- package/docs/api/functions/recordValidationVerdict.html +2 -2
- package/docs/api/functions/registerBeadsContext.html +3 -3
- package/docs/api/functions/registerProjectMemoryContext.html +6 -6
- package/docs/api/functions/removeCodeBlocks.html +12 -12
- package/docs/api/functions/removeModeMarker.html +5 -5
- package/docs/api/functions/removeSlashCodeBlocks.html +2 -2
- package/docs/api/functions/removeThinkCodeBlocks.html +2 -2
- package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -2
- package/docs/api/functions/rescanProjectEnvironment.html +4 -4
- package/docs/api/functions/resetSessionTokenEstimate.html +2 -2
- package/docs/api/functions/resumeAutopilot.html +2 -2
- package/docs/api/functions/runPreCommitChecks.html +2 -2
- package/docs/api/functions/runTests.html +2 -2
- package/docs/api/functions/runTypeCheck.html +2 -2
- package/docs/api/functions/sanitizeMessage.html +2 -2
- package/docs/api/functions/sanitizeMessages.html +2 -2
- package/docs/api/functions/saveAgentUsageState.html +1 -1
- package/docs/api/functions/saveInjectedPaths.html +2 -2
- package/docs/api/functions/saveInjectedRules.html +2 -2
- package/docs/api/functions/saveLearnerConfig.html +2 -2
- package/docs/api/functions/saveModeSummary.html +2 -2
- package/docs/api/functions/saveProjectMemory.html +3 -3
- package/docs/api/functions/saveVersionMetadata.html +2 -2
- package/docs/api/functions/setCurrentStory.html +2 -2
- package/docs/api/functions/setEnvironmentVariables.html +2 -2
- package/docs/api/functions/setLearnerConfigValue.html +2 -2
- package/docs/api/functions/setPriorityContext.html +2 -2
- package/docs/api/functions/shouldActivateThinkMode.html +3 -3
- package/docs/api/functions/shouldActivateUltrathink.html +2 -2
- package/docs/api/functions/shouldApplyRule.html +2 -2
- package/docs/api/functions/shouldCheckForUpdates.html +2 -2
- package/docs/api/functions/shouldCompleteByPrd.html +2 -2
- package/docs/api/functions/shouldPromptExtraction.html +2 -2
- package/docs/api/functions/shouldReinforceUltrawork.html +2 -2
- package/docs/api/functions/shouldRetryValidation.html +2 -2
- package/docs/api/functions/shouldRunInBackground.html +8 -8
- package/docs/api/functions/spawnWorkers.html +7 -7
- package/docs/api/functions/startUltraQA.html +3 -3
- package/docs/api/functions/startUltrapilot.html +7 -7
- package/docs/api/functions/startValidationRound.html +2 -2
- package/docs/api/functions/startVerification.html +2 -2
- package/docs/api/functions/startsWithThinkingBlock.html +1 -1
- package/docs/api/functions/stopUltraQA.html +2 -2
- package/docs/api/functions/stripRecoveryThinkingParts.html +2 -2
- package/docs/api/functions/toSdkMcpFormat.html +2 -2
- package/docs/api/functions/trackAccess.html +2 -2
- package/docs/api/functions/trackProgress.html +5 -5
- package/docs/api/functions/transitionPhase.html +2 -2
- package/docs/api/functions/transitionRalphToUltraQA.html +9 -9
- package/docs/api/functions/transitionToComplete.html +2 -2
- package/docs/api/functions/transitionToFailed.html +2 -2
- package/docs/api/functions/transitionUltraQAToValidation.html +2 -2
- package/docs/api/functions/updateDirectoryAccess.html +2 -2
- package/docs/api/functions/updateExecution.html +2 -2
- package/docs/api/functions/updateExpansion.html +2 -2
- package/docs/api/functions/updatePlanning.html +2 -2
- package/docs/api/functions/updateQA.html +2 -2
- package/docs/api/functions/updateValidation.html +2 -2
- package/docs/api/functions/updateWorkerState.html +2 -2
- package/docs/api/functions/validateAgentConfig.html +2 -2
- package/docs/api/functions/validateCommitMessage.html +2 -2
- package/docs/api/functions/validateConfigFiles.html +2 -2
- package/docs/api/functions/validateExtractionRequest.html +2 -2
- package/docs/api/functions/validateMessage.html +1 -1
- package/docs/api/functions/validateMessages.html +1 -1
- package/docs/api/functions/validateSkillMetadata.html +2 -2
- package/docs/api/functions/writeAutopilotState.html +2 -2
- package/docs/api/functions/writeBoulderState.html +2 -2
- package/docs/api/functions/writePrd.html +2 -2
- package/docs/api/functions/writeRalphState.html +2 -2
- package/docs/api/functions/writeSkill.html +2 -2
- package/docs/api/functions/writeTrackingState.html +5 -5
- package/docs/api/functions/writeUltraQAState.html +2 -2
- package/docs/api/functions/writeUltrapilotState.html +2 -2
- package/docs/api/functions/writeUltraworkState.html +2 -2
- package/docs/api/functions/writeVerificationState.html +2 -2
- package/docs/api/hierarchy.html +1 -1
- package/docs/api/index.html +843 -843
- package/docs/api/interfaces/AgentConfig.html +18 -18
- package/docs/api/interfaces/AgentOverrideConfig.html +10 -10
- package/docs/api/interfaces/AgentPromptMetadata.html +19 -19
- package/docs/api/interfaces/AgentState.html +5 -5
- package/docs/api/interfaces/AgentUsageState.html +8 -8
- package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -5
- package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -3
- package/docs/api/interfaces/AutoSlashCommandResult.html +5 -5
- package/docs/api/interfaces/AutopilotConfig.html +26 -26
- package/docs/api/interfaces/AutopilotExecution.html +16 -16
- package/docs/api/interfaces/AutopilotExpansion.html +12 -12
- package/docs/api/interfaces/AutopilotPlanning.html +8 -8
- package/docs/api/interfaces/AutopilotQA.html +12 -12
- package/docs/api/interfaces/AutopilotResult.html +10 -10
- package/docs/api/interfaces/AutopilotState.html +36 -36
- package/docs/api/interfaces/AutopilotSummary.html +16 -16
- package/docs/api/interfaces/AutopilotValidation.html +10 -10
- package/docs/api/interfaces/AutopilotValidationResult.html +8 -8
- package/docs/api/interfaces/AvailableAgent.html +5 -5
- package/docs/api/interfaces/AxiomBootInput.html +3 -3
- package/docs/api/interfaces/AxiomBootOutput.html +4 -4
- package/docs/api/interfaces/AxiomGuardsInput.html +4 -4
- package/docs/api/interfaces/AxiomGuardsOutput.html +4 -4
- package/docs/api/interfaces/AxiomMemoryFiles.html +5 -5
- package/docs/api/interfaces/AxiomState.html +8 -8
- package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -11
- package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -8
- package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -8
- package/docs/api/interfaces/BackgroundTask.html +7 -7
- package/docs/api/interfaces/BackgroundTaskManager.html +26 -26
- package/docs/api/interfaces/BeadsContextConfig.html +4 -4
- package/docs/api/interfaces/BoulderState.html +12 -12
- package/docs/api/interfaces/BuildInfo.html +6 -6
- package/docs/api/interfaces/CanStartResult.html +4 -4
- package/docs/api/interfaces/CancelResult.html +4 -4
- package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -4
- package/docs/api/interfaces/CodeConventions.html +5 -5
- package/docs/api/interfaces/CodebasePattern.html +5 -5
- package/docs/api/interfaces/CommandInfo.html +5 -5
- package/docs/api/interfaces/CommandMetadata.html +7 -7
- package/docs/api/interfaces/CommentCheckResult.html +10 -10
- package/docs/api/interfaces/CommentCheckerConfig.html +6 -6
- package/docs/api/interfaces/CommentInfo.html +14 -14
- package/docs/api/interfaces/CommentPendingCall.html +18 -18
- package/docs/api/interfaces/CommitConfig.html +9 -9
- package/docs/api/interfaces/CompactCheckpoint.html +7 -7
- package/docs/api/interfaces/ContextEntry.html +14 -14
- package/docs/api/interfaces/ContextUsageResult.html +12 -12
- package/docs/api/interfaces/CustomNote.html +5 -5
- package/docs/api/interfaces/DelegationDecision.html +7 -7
- package/docs/api/interfaces/DelegationRoute.html +7 -7
- package/docs/api/interfaces/DelegationRoutingConfig.html +5 -5
- package/docs/api/interfaces/DelegationTrigger.html +6 -6
- package/docs/api/interfaces/DetectedKeyword.html +13 -13
- package/docs/api/interfaces/DetectionConfig.html +8 -8
- package/docs/api/interfaces/DetectionResult.html +13 -13
- package/docs/api/interfaces/DirectoryInfo.html +7 -7
- package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -6
- package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -6
- package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -8
- package/docs/api/interfaces/ExecuteResult.html +5 -5
- package/docs/api/interfaces/ExpandedCommand.html +4 -4
- package/docs/api/interfaces/ExternalModelPreference.html +4 -4
- package/docs/api/interfaces/ExternalModelsConfig.html +6 -6
- package/docs/api/interfaces/ExternalModelsDefaults.html +5 -5
- package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -5
- package/docs/api/interfaces/FileOwnership.html +8 -8
- package/docs/api/interfaces/FormatConfig.html +7 -7
- package/docs/api/interfaces/FrameworkDetection.html +4 -4
- package/docs/api/interfaces/FullAgentConfig.html +26 -26
- package/docs/api/interfaces/GateCheckResult.html +5 -5
- package/docs/api/interfaces/GitBranchPattern.html +3 -3
- package/docs/api/interfaces/HookContext.html +5 -5
- package/docs/api/interfaces/HookDefinition.html +5 -5
- package/docs/api/interfaces/HookInput.html +18 -18
- package/docs/api/interfaces/HookOutput.html +10 -10
- package/docs/api/interfaces/HookResult.html +4 -4
- package/docs/api/interfaces/HotPath.html +6 -6
- package/docs/api/interfaces/InjectedPathsData.html +9 -9
- package/docs/api/interfaces/InjectedRulesData.html +10 -10
- package/docs/api/interfaces/InjectedSkillsData.html +8 -8
- package/docs/api/interfaces/InjectionResult.html +8 -8
- package/docs/api/interfaces/InstallOptions.html +9 -9
- package/docs/api/interfaces/InstallResult.html +10 -10
- package/docs/api/interfaces/IntegrationResult.html +14 -14
- package/docs/api/interfaces/LanguageDetection.html +5 -5
- package/docs/api/interfaces/LearnedSkill.html +16 -16
- package/docs/api/interfaces/LearnerConfig.html +18 -18
- package/docs/api/interfaces/LintConfig.html +7 -7
- package/docs/api/interfaces/MagicKeyword.html +4 -4
- package/docs/api/interfaces/MatchResult.html +6 -6
- package/docs/api/interfaces/MessageContext.html +8 -8
- package/docs/api/interfaces/MessageInfo.html +9 -9
- package/docs/api/interfaces/MessagePart.html +15 -15
- package/docs/api/interfaces/MessageWithModel.html +3 -3
- package/docs/api/interfaces/MessageWithParts.html +6 -6
- package/docs/api/interfaces/MessagesTransformHook.html +3 -3
- package/docs/api/interfaces/MessagesTransformInput.html +3 -3
- package/docs/api/interfaces/MessagesTransformOutput.html +3 -3
- package/docs/api/interfaces/ModeConfig.html +13 -13
- package/docs/api/interfaces/ModeStatus.html +4 -4
- package/docs/api/interfaces/ModelRef.html +4 -4
- package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -2
- package/docs/api/interfaces/NotepadConfig.html +7 -7
- package/docs/api/interfaces/NotepadStats.html +11 -11
- package/docs/api/interfaces/NotificationCheckResult.html +8 -8
- package/docs/api/interfaces/OrchestratorToolInput.html +6 -6
- package/docs/api/interfaces/OrchestratorToolOutput.html +6 -6
- package/docs/api/interfaces/OutputPart.html +4 -4
- package/docs/api/interfaces/PRD.html +9 -9
- package/docs/api/interfaces/PRDStatus.html +13 -13
- package/docs/api/interfaces/ParsedSlashCommand.html +8 -8
- package/docs/api/interfaces/ParsedTokenLimitError.html +16 -16
- package/docs/api/interfaces/PendingContext.html +8 -8
- package/docs/api/interfaces/PermissionHookOutput.html +4 -4
- package/docs/api/interfaces/PermissionRequestInput.html +9 -9
- package/docs/api/interfaces/PersistentModeResult.html +9 -9
- package/docs/api/interfaces/PlanProgress.html +8 -8
- package/docs/api/interfaces/PlanSummary.html +10 -10
- package/docs/api/interfaces/PluginConfig.html +17 -17
- package/docs/api/interfaces/PreCommitResult.html +3 -3
- package/docs/api/interfaces/PreCompactHookOutput.html +4 -4
- package/docs/api/interfaces/PreCompactInput.html +8 -8
- package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -14
- package/docs/api/interfaces/PriorityContextResult.html +5 -5
- package/docs/api/interfaces/ProgressEntry.html +11 -11
- package/docs/api/interfaces/ProgressLog.html +7 -7
- package/docs/api/interfaces/ProjectMemory.html +14 -14
- package/docs/api/interfaces/ProjectStructure.html +5 -5
- package/docs/api/interfaces/PromotionCandidate.html +9 -9
- package/docs/api/interfaces/PruneResult.html +5 -5
- package/docs/api/interfaces/QualityValidation.html +10 -10
- package/docs/api/interfaces/RalphLoopHook.html +4 -4
- package/docs/api/interfaces/RalphLoopOptions.html +5 -5
- package/docs/api/interfaces/RalphLoopState.html +21 -21
- package/docs/api/interfaces/RecoveryConfig.html +16 -16
- package/docs/api/interfaces/RecoveryMessageData.html +4 -4
- package/docs/api/interfaces/RecoveryResult.html +10 -10
- package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -8
- package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -7
- package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -9
- package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -9
- package/docs/api/interfaces/RegisterContextOptions.html +12 -12
- package/docs/api/interfaces/ReleaseInfo.html +9 -9
- package/docs/api/interfaces/ResolveDelegationOptions.html +7 -7
- package/docs/api/interfaces/ResolveOptions.html +6 -6
- package/docs/api/interfaces/ResolvedModel.html +5 -5
- package/docs/api/interfaces/RetryState.html +6 -6
- package/docs/api/interfaces/RuleFileCandidate.html +12 -12
- package/docs/api/interfaces/RuleFrontmatterResult.html +6 -6
- package/docs/api/interfaces/RuleInfo.html +18 -18
- package/docs/api/interfaces/RuleMetadata.html +9 -9
- package/docs/api/interfaces/RuleToInject.html +10 -10
- package/docs/api/interfaces/SessionEndHookOutput.html +2 -2
- package/docs/api/interfaces/SessionEndInput.html +9 -9
- package/docs/api/interfaces/SessionMetrics.html +9 -9
- package/docs/api/interfaces/SessionState.html +5 -5
- package/docs/api/interfaces/SetupHookOutput.html +3 -3
- package/docs/api/interfaces/SetupInput.html +7 -7
- package/docs/api/interfaces/SetupResult.html +5 -5
- package/docs/api/interfaces/ShellHook.html +4 -4
- package/docs/api/interfaces/SisyphusOptions.html +14 -14
- package/docs/api/interfaces/SisyphusSession.html +16 -16
- package/docs/api/interfaces/SkillExtractionRequest.html +12 -12
- package/docs/api/interfaces/SkillFileCandidate.html +10 -10
- package/docs/api/interfaces/SkillHookContext.html +5 -5
- package/docs/api/interfaces/SkillMetadata.html +22 -22
- package/docs/api/interfaces/SkillParseResult.html +5 -5
- package/docs/api/interfaces/SubagentHookOutput.html +3 -3
- package/docs/api/interfaces/SubagentInfo.html +14 -14
- package/docs/api/interfaces/SubagentStartInput.html +10 -10
- package/docs/api/interfaces/SubagentStopInput.html +11 -11
- package/docs/api/interfaces/SubagentTrackingState.html +6 -6
- package/docs/api/interfaces/TaskExecutionDecision.html +10 -10
- package/docs/api/interfaces/TechStack.html +5 -5
- package/docs/api/interfaces/ThinkModeInput.html +4 -4
- package/docs/api/interfaces/ThinkModeState.html +12 -12
- package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -6
- package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -9
- package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -4
- package/docs/api/interfaces/TodoContinuationHook.html +2 -2
- package/docs/api/interfaces/TransitionResult.html +4 -4
- package/docs/api/interfaces/TruncateState.html +6 -6
- package/docs/api/interfaces/UltraQAOptions.html +5 -5
- package/docs/api/interfaces/UltraQAResult.html +9 -9
- package/docs/api/interfaces/UltraQAState.html +19 -19
- package/docs/api/interfaces/UltrapilotConfig.html +14 -14
- package/docs/api/interfaces/UltrapilotState.html +26 -26
- package/docs/api/interfaces/UltraworkState.html +17 -17
- package/docs/api/interfaces/UpdateCheckResult.html +7 -7
- package/docs/api/interfaces/UpdateResult.html +7 -7
- package/docs/api/interfaces/UserDirective.html +7 -7
- package/docs/api/interfaces/UserStory.html +15 -15
- package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -6
- package/docs/api/interfaces/ValidationResult.html +10 -10
- package/docs/api/interfaces/VerificationState.html +17 -17
- package/docs/api/interfaces/VersionMetadata.html +12 -12
- package/docs/api/interfaces/WorkerState.html +24 -24
- package/docs/api/interfaces/WriteSkillResult.html +6 -6
- package/docs/api/modules.html +1 -1
- package/docs/api/types/AgentCategory.html +2 -2
- package/docs/api/types/AgentCost.html +3 -3
- package/docs/api/types/AgentFactory.html +2 -2
- package/docs/api/types/AgentOverrides.html +2 -2
- package/docs/api/types/AutopilotPhase.html +2 -2
- package/docs/api/types/AutopilotSignal.html +2 -2
- package/docs/api/types/CommandScope.html +2 -2
- package/docs/api/types/ContextPriority.html +3 -3
- package/docs/api/types/ContextSourceType.html +3 -3
- package/docs/api/types/DelegationProvider.html +2 -2
- package/docs/api/types/DelegationTool.html +2 -2
- package/docs/api/types/ExecutionMode.html +3 -3
- package/docs/api/types/ExternalModelProvider.html +2 -2
- package/docs/api/types/GateType.html +3 -3
- package/docs/api/types/InjectionStrategy.html +2 -2
- package/docs/api/types/KeywordType.html +10 -10
- package/docs/api/types/ModelType.html +2 -2
- package/docs/api/types/QAStatus.html +2 -2
- package/docs/api/types/RecoveryErrorType.html +2 -2
- package/docs/api/types/RecoveryStoredPart.html +2 -2
- package/docs/api/types/TaskTool.html +1 -1
- package/docs/api/types/ThinkingConfig.html +2 -2
- package/docs/api/types/UltraQAGoalType.html +1 -1
- package/docs/api/types/UserStoryInput.html +2 -2
- package/docs/api/types/ValidationVerdict.html +2 -2
- package/docs/api/types/ValidationVerdictType.html +2 -2
- package/docs/api/variables/AGENTS_DIR.html +1 -1
- package/docs/api/variables/AGENTS_FILENAME.html +2 -2
- package/docs/api/variables/AGENT_TOOLS.html +2 -2
- package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -2
- package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -4
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -1
- package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -2
- package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -2
- package/docs/api/variables/BDD_KEYWORDS.html +2 -2
- package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -1
- package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -1
- package/docs/api/variables/BLOCKING_PATTERNS.html +3 -3
- package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -2
- package/docs/api/variables/BOULDER_DIR.html +2 -2
- package/docs/api/variables/BOULDER_FILE.html +2 -2
- package/docs/api/variables/BOULDER_STATE_PATH.html +2 -2
- package/docs/api/variables/CHARS_PER_TOKEN.html +2 -2
- package/docs/api/variables/CI_COMMANDS.html +2 -2
- package/docs/api/variables/CI_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -2
- package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -2
- package/docs/api/variables/COMMANDS_DIR.html +1 -1
- package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -2
- package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -2
- package/docs/api/variables/CONTENT_PART_TYPES.html +2 -2
- package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_FILENAMES.html +2 -2
- package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -2
- package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -2
- package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -2
- package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/DEFAULT_CONFIG.html +2 -2
- package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -2
- package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -2
- package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -2
- package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -2
- package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -3
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -2
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -2
- package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -2
- package/docs/api/variables/ENTRY_SEPARATOR.html +1 -1
- package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -3
- package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -2
- package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -2
- package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/GITHUB_API_URL.html +1 -1
- package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -2
- package/docs/api/variables/INSTALLER_VERSION.html +2 -2
- package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -2
- package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -3
- package/docs/api/variables/MANUAL_HEADER.html +1 -1
- package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -2
- package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -2
- package/docs/api/variables/MAX_WARNINGS.html +2 -2
- package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -2
- package/docs/api/variables/MODE_CONFIGS.html +4 -4
- package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -2
- package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -1
- package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -1
- package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -2
- package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -1
- package/docs/api/variables/NOTEPAD_DIR.html +2 -2
- package/docs/api/variables/NOTEPAD_FILENAME.html +1 -1
- package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -4
- package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -2
- package/docs/api/variables/PATTERNS_HEADER.html +1 -1
- package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -3
- package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -2
- package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/PLAN_EXTENSION.html +2 -2
- package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -1
- package/docs/api/variables/PRD_FILENAME.html +1 -1
- package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -2
- package/docs/api/variables/PREVENTED_ERROR.html +2 -2
- package/docs/api/variables/PRIORITY_HEADER.html +1 -1
- package/docs/api/variables/PROGRESS_FILENAME.html +1 -1
- package/docs/api/variables/PROJECT_MARKERS.html +2 -2
- package/docs/api/variables/PROJECT_RULE_FILES.html +2 -2
- package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -2
- package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -2
- package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -7
- package/docs/api/variables/README_FILENAME.html +2 -2
- package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -1
- package/docs/api/variables/README_TRACKED_TOOLS.html +2 -2
- package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -2
- package/docs/api/variables/RECOVERY_MESSAGES.html +2 -2
- package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -2
- package/docs/api/variables/REMINDER_MESSAGE.html +2 -2
- package/docs/api/variables/REPO_NAME.html +1 -1
- package/docs/api/variables/REPO_OWNER.html +2 -2
- package/docs/api/variables/RETRY_CONFIG.html +6 -6
- package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -1
- package/docs/api/variables/RULE_EXTENSIONS.html +2 -2
- package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -3
- package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -2
- package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -1
- package/docs/api/variables/SKILL_EXTENSION.html +2 -2
- package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -2
- package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -2
- package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -2
- package/docs/api/variables/TARGET_TOOLS.html +2 -2
- package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -2
- package/docs/api/variables/THINKING_CONFIGS.html +2 -2
- package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -3
- package/docs/api/variables/THINKING_PART_TYPES.html +2 -2
- package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -2
- package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -2
- package/docs/api/variables/TOOL_PART_TYPES.html +2 -2
- package/docs/api/variables/TRACKED_TOOLS.html +2 -2
- package/docs/api/variables/TRUNCATE_CONFIG.html +6 -6
- package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -2
- package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -2
- package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -2
- package/docs/api/variables/USER_GATE_MESSAGE.html +1 -1
- package/docs/api/variables/USER_RULE_DIR.html +2 -2
- package/docs/api/variables/USER_SKILLS_DIR.html +2 -2
- package/docs/api/variables/VERIFICATION_REMINDER.html +2 -2
- package/docs/api/variables/VERSION_FILE.html +1 -1
- package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -1
- package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -2
- package/docs/api/variables/allCustomTools.html +3 -3
- package/docs/api/variables/analystAgent.html +1 -1
- package/docs/api/variables/architectAgent.html +1 -1
- package/docs/api/variables/astTools.html +2 -2
- package/docs/api/variables/contextCollector.html +2 -2
- package/docs/api/variables/criticAgent.html +1 -1
- package/docs/api/variables/designerAgent.html +1 -1
- package/docs/api/variables/executorAgent.html +1 -1
- package/docs/api/variables/exploreAgent.html +1 -1
- package/docs/api/variables/lspTools.html +2 -2
- package/docs/api/variables/nonInteractiveEnvHook.html +8 -8
- package/docs/api/variables/omcSystemPrompt.html +2 -2
- package/docs/api/variables/omcToolNames.html +3 -3
- package/docs/api/variables/omcToolsServer.html +4 -4
- package/docs/api/variables/plannerAgent.html +1 -1
- package/docs/api/variables/researcherAgent.html +1 -1
- package/docs/api/variables/visionAgent.html +1 -1
- package/docs/api/variables/writerAgent.html +1 -1
- package/docs/concepts/README.md +63 -0
- package/docs/concepts/agent-selection.md +83 -0
- package/docs/concepts/agents.md +63 -0
- package/docs/concepts/error-handling.md +121 -0
- package/docs/concepts/modes.md +70 -0
- package/docs/concepts/skills.md +68 -0
- package/docs/getting-started/concepts.md +127 -63
- package/docs/getting-started/quick-reference.md +135 -0
- package/docs/getting-started/quickstart.md +101 -17
- package/docs/quick-start.md +169 -0
- package/docs/reviews/autoresearch-integration/review_domain.md +295 -295
- package/docs/reviews/autoresearch-integration/review_product.md +287 -287
- package/docs/standards/README.md +1 -1
- package/docs/state-migration.md +98 -0
- package/docs/tasks/v7.0.1/sub_prds/T-001-test-optimization.md +66 -0
- package/hooks/run-hook.cmd +0 -0
- package/hooks/session-start +0 -0
- package/package.json +5 -1
- package/scripts/check-version-sync.mjs +33 -0
- package/scripts/fix-agent-headers.py +58 -58
- package/scripts/fix-blank-lines.py +19 -19
- package/scripts/fix-long-lines.py +41 -41
- package/scripts/migrate-console-to-logger.ts +91 -0
- package/scripts/persistent-mode.cjs +605 -605
- package/skills/release/SKILL.md +126 -0
- package/skills/systematic-debugging/find-polluter.sh +0 -0
- package/skills/writing-skills/graphviz-conventions.dot +171 -171
- package/skills/writing-skills/render-graphs.js +0 -0
- package/templates/axiom/scripts/Check-Memory.ps1 +68 -68
- package/templates/axiom/scripts/Poll-Memory.ps1 +36 -36
- package/templates/axiom/scripts/Watch-Memory.ps1 +149 -149
- package/templates/axiom/scripts/agent-runner.ps1 +101 -101
- package/templates/axiom/scripts/start-reviews.ps1 +19 -19
- package/templates/demo/README.md +39 -0
- package/templates/example-project/README.md +34 -0
- package/templates/example-project/dist/index.js +5 -0
- package/templates/example-project/package-lock.json +47 -0
- package/templates/example-project/package.json +13 -0
- package/templates/example-project/src/index.ts +5 -0
- package/templates/example-project/tsconfig.json +11 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import { homedir } from 'os';
|
|
3
|
+
import { join } from 'path';
|
|
4
|
+
import * as fs from 'fs/promises';
|
|
5
|
+
async function checkIfBackfillNeeded() {
|
|
6
|
+
const tokenLogPath = join(homedir(), '.omc', 'state', 'token-tracking.jsonl');
|
|
7
|
+
try {
|
|
8
|
+
await fs.access(tokenLogPath);
|
|
9
|
+
const stats = await fs.stat(tokenLogPath);
|
|
10
|
+
const ageMs = Date.now() - stats.mtimeMs;
|
|
11
|
+
return stats.size < 100 || ageMs > 3600000;
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
async function runQuickBackfill(silent = false) {
|
|
18
|
+
const { BackfillEngine } = await import('../../analytics/backfill-engine.js');
|
|
19
|
+
const engine = new BackfillEngine();
|
|
20
|
+
const result = await engine.run({ verbose: false });
|
|
21
|
+
if (result.entriesAdded > 0 && !silent) {
|
|
22
|
+
console.log(chalk.green(`Backfilled ${result.entriesAdded} entries in ${result.timeElapsed}ms`));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
async function displayAnalyticsBanner() {
|
|
26
|
+
try {
|
|
27
|
+
// @ts-expect-error - gradient-string will be installed during setup
|
|
28
|
+
const gradient = await import('gradient-string');
|
|
29
|
+
const banner = gradient.default.pastel.multiline([
|
|
30
|
+
'╔═══════════════════════════════════════╗',
|
|
31
|
+
'║ Oh-My-ClaudeCode - Analytics Dashboard ║',
|
|
32
|
+
'╚═══════════════════════════════════════╝'
|
|
33
|
+
].join('\n'));
|
|
34
|
+
console.log(banner);
|
|
35
|
+
console.log('');
|
|
36
|
+
}
|
|
37
|
+
catch (_error) {
|
|
38
|
+
console.log('╔═══════════════════════════════════════╗');
|
|
39
|
+
console.log('║ Oh-My-ClaudeCode - Analytics Dashboard ║');
|
|
40
|
+
console.log('╚═══════════════════════════════════════╝');
|
|
41
|
+
console.log('');
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export async function displayAnalyticsDashboard() {
|
|
45
|
+
await displayAnalyticsBanner();
|
|
46
|
+
const shouldAutoBackfill = await checkIfBackfillNeeded();
|
|
47
|
+
if (shouldAutoBackfill) {
|
|
48
|
+
console.log(chalk.yellow('First run detected - backfilling agent data...'));
|
|
49
|
+
await runQuickBackfill();
|
|
50
|
+
}
|
|
51
|
+
console.log(chalk.bold('📊 Aggregate Session Statistics'));
|
|
52
|
+
console.log(chalk.gray('─'.repeat(50)));
|
|
53
|
+
const { statsCommand } = await import('../commands/stats.js');
|
|
54
|
+
await statsCommand({ json: false });
|
|
55
|
+
console.log('\n');
|
|
56
|
+
console.log(chalk.bold('💰 Cost Analysis (Monthly)'));
|
|
57
|
+
console.log(chalk.gray('─'.repeat(50)));
|
|
58
|
+
const { costCommand } = await import('../commands/cost.js');
|
|
59
|
+
await costCommand('monthly', { json: false });
|
|
60
|
+
console.log('\n');
|
|
61
|
+
console.log(chalk.bold('🤖 Top Agents'));
|
|
62
|
+
console.log(chalk.gray('─'.repeat(50)));
|
|
63
|
+
const { agentsCommand } = await import('../commands/agents.js');
|
|
64
|
+
await agentsCommand({ json: false, limit: 10 });
|
|
65
|
+
console.log('\n');
|
|
66
|
+
console.log(chalk.dim('Run with --help to see all available commands'));
|
|
67
|
+
const { isTokscaleCLIAvailable } = await import('./tokscale-launcher.js');
|
|
68
|
+
const tuiAvailable = await isTokscaleCLIAvailable();
|
|
69
|
+
if (tuiAvailable) {
|
|
70
|
+
console.log('');
|
|
71
|
+
console.log(chalk.dim('Tip: Run `omc tui` for an interactive token visualization dashboard'));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=dashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../../src/cli/utils/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,I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,CAAC,IAAI,CAAC,CAEjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../../src/cli/utils/info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,WAAW;IAC/B,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;AACvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/init.ts"],"names":[],"mappings":"AAAA,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAEjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../src/cli/utils/init.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,WAAW;IAC/B,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;AACvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interop.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/interop.ts"],"names":[],"mappings":"AAAA,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interop.js","sourceRoot":"","sources":["../../../src/cli/utils/interop.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/setup.ts"],"names":[],"mappings":"AAAA,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAElD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../src/cli/utils/setup.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,YAAY;IAChC,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-prompt.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/test-prompt.ts"],"names":[],"mappings":"AAAA,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAErE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-prompt.js","sourceRoot":"","sources":["../../../src/cli/utils/test-prompt.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAc;IACpD,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/update.ts"],"names":[],"mappings":"AAAA,wBAAsB,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAEnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/cli/utils/update.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,aAAa;IACjC,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-info.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/version-info.ts"],"names":[],"mappings":"AAAA,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-info.js","sourceRoot":"","sources":["../../../src/cli/utils/version-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error classification logic
|
|
3
|
+
*/
|
|
4
|
+
import { ErrorCategory, type FriendlyError } from './types.js';
|
|
5
|
+
export declare function classifyError(error: Error | string): ErrorCategory;
|
|
6
|
+
export declare function createFriendlyError(error: Error | string, context?: {
|
|
7
|
+
command?: string;
|
|
8
|
+
availableCommands?: string[];
|
|
9
|
+
}): FriendlyError;
|
|
10
|
+
//# sourceMappingURL=classifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classifier.d.ts","sourceRoot":"","sources":["../../src/errors/classifier.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAsC/D,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,aAAa,CAUlE;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,KAAK,GAAG,MAAM,EACrB,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAC3D,aAAa,CA+Ef"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error classification logic
|
|
3
|
+
*/
|
|
4
|
+
import { ErrorCategory } from './types.js';
|
|
5
|
+
import { suggestSpellingCorrection } from './spelling.js';
|
|
6
|
+
const ERROR_PATTERNS = {
|
|
7
|
+
[ErrorCategory.NOT_FOUND]: [
|
|
8
|
+
/enoent/i,
|
|
9
|
+
/not found/i,
|
|
10
|
+
/no such file/i,
|
|
11
|
+
/cannot find/i,
|
|
12
|
+
],
|
|
13
|
+
[ErrorCategory.PERMISSION]: [
|
|
14
|
+
/eacces/i,
|
|
15
|
+
/eperm/i,
|
|
16
|
+
/permission denied/i,
|
|
17
|
+
/access denied/i,
|
|
18
|
+
],
|
|
19
|
+
[ErrorCategory.NETWORK]: [
|
|
20
|
+
/econnrefused/i,
|
|
21
|
+
/etimedout/i,
|
|
22
|
+
/network error/i,
|
|
23
|
+
/fetch failed/i,
|
|
24
|
+
],
|
|
25
|
+
[ErrorCategory.USER_INPUT]: [
|
|
26
|
+
/unknown command/i,
|
|
27
|
+
/invalid argument/i,
|
|
28
|
+
/unexpected argument/i,
|
|
29
|
+
/missing required/i,
|
|
30
|
+
],
|
|
31
|
+
[ErrorCategory.VALIDATION]: [
|
|
32
|
+
/invalid/i,
|
|
33
|
+
/validation failed/i,
|
|
34
|
+
/schema error/i,
|
|
35
|
+
],
|
|
36
|
+
[ErrorCategory.SYSTEM]: [
|
|
37
|
+
/cannot find module/i,
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
export function classifyError(error) {
|
|
41
|
+
const message = typeof error === 'string' ? error : error.message;
|
|
42
|
+
for (const [category, patterns] of Object.entries(ERROR_PATTERNS)) {
|
|
43
|
+
if (patterns.some(p => p.test(message))) {
|
|
44
|
+
return category;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return ErrorCategory.SYSTEM;
|
|
48
|
+
}
|
|
49
|
+
export function createFriendlyError(error, context) {
|
|
50
|
+
const message = typeof error === 'string' ? error : error.message;
|
|
51
|
+
const category = classifyError(error);
|
|
52
|
+
const base = {
|
|
53
|
+
category,
|
|
54
|
+
message: '',
|
|
55
|
+
technicalDetails: message,
|
|
56
|
+
recoverySteps: [],
|
|
57
|
+
};
|
|
58
|
+
switch (category) {
|
|
59
|
+
case ErrorCategory.USER_INPUT:
|
|
60
|
+
if (context?.command && context?.availableCommands) {
|
|
61
|
+
const suggestion = suggestSpellingCorrection(context.command, context.availableCommands);
|
|
62
|
+
base.message = `Unknown command: ${context.command}`;
|
|
63
|
+
base.recoverySteps = [
|
|
64
|
+
'Check the command spelling',
|
|
65
|
+
'Run "omc --help" to see available commands',
|
|
66
|
+
];
|
|
67
|
+
if (suggestion) {
|
|
68
|
+
base.suggestedCommand = suggestion;
|
|
69
|
+
base.recoverySteps.unshift(`Did you mean: ${suggestion}?`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
base.message = 'Invalid input provided';
|
|
74
|
+
base.recoverySteps = ['Check command syntax', 'Run with --help flag'];
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
case ErrorCategory.NOT_FOUND:
|
|
78
|
+
base.message = 'File or resource not found';
|
|
79
|
+
base.recoverySteps = [
|
|
80
|
+
'Verify the path is correct',
|
|
81
|
+
'Check if the file exists',
|
|
82
|
+
'Ensure you are in the correct directory',
|
|
83
|
+
];
|
|
84
|
+
break;
|
|
85
|
+
case ErrorCategory.PERMISSION:
|
|
86
|
+
base.message = 'Permission denied';
|
|
87
|
+
base.recoverySteps = [
|
|
88
|
+
'Check file permissions',
|
|
89
|
+
'Try running with appropriate privileges',
|
|
90
|
+
'Verify you have access to the directory',
|
|
91
|
+
];
|
|
92
|
+
break;
|
|
93
|
+
case ErrorCategory.NETWORK:
|
|
94
|
+
base.message = 'Network connection failed';
|
|
95
|
+
base.recoverySteps = [
|
|
96
|
+
'Check your internet connection',
|
|
97
|
+
'Verify the service is available',
|
|
98
|
+
'Try again in a few moments',
|
|
99
|
+
];
|
|
100
|
+
break;
|
|
101
|
+
case ErrorCategory.VALIDATION:
|
|
102
|
+
base.message = 'Validation error';
|
|
103
|
+
base.recoverySteps = [
|
|
104
|
+
'Check the input format',
|
|
105
|
+
'Verify all required fields are provided',
|
|
106
|
+
'Review the documentation for correct usage',
|
|
107
|
+
];
|
|
108
|
+
break;
|
|
109
|
+
default:
|
|
110
|
+
base.message = 'An unexpected error occurred';
|
|
111
|
+
base.recoverySteps = [
|
|
112
|
+
'Try the operation again',
|
|
113
|
+
'Check the logs for more details',
|
|
114
|
+
'Report this issue if it persists',
|
|
115
|
+
];
|
|
116
|
+
}
|
|
117
|
+
return base;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=classifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classifier.js","sourceRoot":"","sources":["../../src/errors/classifier.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAsB,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,cAAc,GAAoC;IACtD,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE;QACzB,SAAS;QACT,YAAY;QACZ,eAAe;QACf,cAAc;KACf;IACD,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE;QAC1B,SAAS;QACT,QAAQ;QACR,oBAAoB;QACpB,gBAAgB;KACjB;IACD,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACvB,eAAe;QACf,YAAY;QACZ,gBAAgB;QAChB,eAAe;KAChB;IACD,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE;QAC1B,kBAAkB;QAClB,mBAAmB;QACnB,sBAAsB;QACtB,mBAAmB;KACpB;IACD,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE;QAC1B,UAAU;QACV,oBAAoB;QACpB,eAAe;KAChB;IACD,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE;QACtB,qBAAqB;KACtB;CACF,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,KAAqB;IACjD,MAAM,OAAO,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;IAElE,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC;QAClE,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,E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AC;YAC5C,IAAI,CAAC,aAAa,GAAG;gBACnB,4BAA4B;gBAC5B,0BAA0B;gBAC1B,yCAAyC;aAC1C,CAAC;YACF,MAAM;QAER,KAAK,aAAa,CAAC,UAAU;YAC3B,IAAI,CAAC,OAAO,GAAG,mBAAmB,CAAC;YACnC,IAAI,CAAC,aAAa,GAAG;gBACnB,wBAAwB;gBACxB,yCAAyC;gBACzC,yCAAyC;aAC1C,CAAC;YACF,MAAM;QAER,KAAK,aAAa,CAAC,OAAO;YACxB,IAAI,CAAC,OAAO,GAAG,2BAA2B,CAAC;YAC3C,IAAI,CAAC,aAAa,GAAG;gBACnB,gCAAgC;gBAChC,iCAAiC;gBACjC,4BAA4B;aAC7B,CAAC;YACF,MAAM;QAER,KAAK,aAAa,CAAC,UAAU;YAC3B,IAAI,CAAC,OAAO,GAAG,kBAAkB,CAAC;YAClC,IAAI,CAAC,aAAa,GAAG;gBACnB,wBAAwB;gBACxB,yCAAyC;gBACzC,4CAA4C;aAC7C,CAAC;YACF,MAAM;QAER;YACE,IAAI,CAAC,OAAO,GAAG,8BAA8B,CAAC;YAC9C,IAAI,CAAC,aAAa,GAAG;gBACnB,yBAAyB;gBACzB,iCAAiC;gBACjC,kCAAkC;aACnC,CAAC;IACN,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-friendly error system
|
|
3
|
+
*/
|
|
4
|
+
export { ErrorCategory, type FriendlyError, type ErrorContext } from './types.js';
|
|
5
|
+
export { classifyError, createFriendlyError } from './classifier.js';
|
|
6
|
+
export { suggestSpellingCorrection } from './spelling.js';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAyC,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spelling.d.ts","sourceRoot":"","sources":["../../src/errors/spelling.ts"],"names":[],"mappings":"AAAA;;GAEG;AA8BH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,SAAI,GACZ,MAAM,GAAG,IAAI,CAaf"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spelling correction using Levenshtein distance
|
|
3
|
+
*/
|
|
4
|
+
function levenshteinDistance(a, b) {
|
|
5
|
+
const matrix = [];
|
|
6
|
+
for (let i = 0; i <= b.length; i++) {
|
|
7
|
+
matrix[i] = [i];
|
|
8
|
+
}
|
|
9
|
+
for (let j = 0; j <= a.length; j++) {
|
|
10
|
+
matrix[0][j] = j;
|
|
11
|
+
}
|
|
12
|
+
for (let i = 1; i <= b.length; i++) {
|
|
13
|
+
for (let j = 1; j <= a.length; j++) {
|
|
14
|
+
if (b.charAt(i - 1) === a.charAt(j - 1)) {
|
|
15
|
+
matrix[i][j] = matrix[i - 1][j - 1];
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
matrix[i][j] = Math.min(matrix[i - 1][j - 1] + 1, matrix[i][j - 1] + 1, matrix[i - 1][j] + 1);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return matrix[b.length][a.length];
|
|
23
|
+
}
|
|
24
|
+
export function suggestSpellingCorrection(input, candidates, threshold = 2) {
|
|
25
|
+
let bestMatch = null;
|
|
26
|
+
let bestDistance = Infinity;
|
|
27
|
+
for (const candidate of candidates) {
|
|
28
|
+
const distance = levenshteinDistance(input.toLowerCase(), candidate.toLowerCase());
|
|
29
|
+
if (distance < bestDistance && distance <= threshold) {
|
|
30
|
+
bestDistance = distance;
|
|
31
|
+
bestMatch = candidate;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return bestMatch;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=spelling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spelling.js","sourceRoot":"","sources":["../../src/errors/spelling.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS,mBAAmB,CAAC,CAAS,EAAE,CAAS;IAC/C,MAAM,MAAM,GAAe,EAAE,CAAC;IAE9B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACnC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACnC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACn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@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error classification and types
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ErrorCategory {
|
|
5
|
+
USER_INPUT = "user_input",
|
|
6
|
+
SYSTEM = "system",
|
|
7
|
+
NETWORK = "network",
|
|
8
|
+
PERMISSION = "permission",
|
|
9
|
+
NOT_FOUND = "not_found",
|
|
10
|
+
VALIDATION = "validation"
|
|
11
|
+
}
|
|
12
|
+
export interface FriendlyError {
|
|
13
|
+
category: ErrorCategory;
|
|
14
|
+
message: string;
|
|
15
|
+
technicalDetails?: string;
|
|
16
|
+
recoverySteps: string[];
|
|
17
|
+
suggestedCommand?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ErrorContext {
|
|
20
|
+
command?: string;
|
|
21
|
+
args?: string[];
|
|
22
|
+
cwd?: string;
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/errors/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oBAAY,aAAa;IACvB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error classification and types
|
|
3
|
+
*/
|
|
4
|
+
export var ErrorCategory;
|
|
5
|
+
(function (ErrorCategory) {
|
|
6
|
+
ErrorCategory["USER_INPUT"] = "user_input";
|
|
7
|
+
ErrorCategory["SYSTEM"] = "system";
|
|
8
|
+
ErrorCategory["NETWORK"] = "network";
|
|
9
|
+
ErrorCategory["PERMISSION"] = "permission";
|
|
10
|
+
ErrorCategory["NOT_FOUND"] = "not_found";
|
|
11
|
+
ErrorCategory["VALIDATION"] = "validation";
|
|
12
|
+
})(ErrorCategory || (ErrorCategory = {}));
|
|
13
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/errors/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,0CAAyB,CAAA;IACzB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;AAC3B,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function getChangedFiles(baseBranch?: string): Promise<string[]>;
|
|
2
|
-
export declare function getUntrackedFiles(): Promise<string[]>;
|
|
3
|
-
export declare function getAllChangedFiles(baseBranch?: string): Promise<string[]>;
|
|
1
|
+
export declare function getChangedFiles(baseBranch?: string, cwd?: string): Promise<string[]>;
|
|
2
|
+
export declare function getUntrackedFiles(cwd?: string): Promise<string[]>;
|
|
3
|
+
export declare function getAllChangedFiles(baseBranch?: string, cwd?: string): Promise<string[]>;
|
|
4
4
|
//# sourceMappingURL=incremental-processor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incremental-processor.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/incremental-processor.ts"],"names":[],"mappings":"AAKA,wBAAsB,eAAe,CAAC,UAAU,SAAS,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"incremental-processor.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/incremental-processor.ts"],"names":[],"mappings":"AAKA,wBAAsB,eAAe,CAAC,UAAU,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAO1F;AAED,wBAAsB,iBAAiB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAOvE;AAED,wBAAsB,kBAAkB,CAAC,UAAU,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAM7F"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { exec } from 'child_process';
|
|
2
2
|
import { promisify } from 'util';
|
|
3
3
|
const execAsync = promisify(exec);
|
|
4
|
-
export async function getChangedFiles(baseBranch = 'main') {
|
|
4
|
+
export async function getChangedFiles(baseBranch = 'main', cwd) {
|
|
5
5
|
try {
|
|
6
|
-
const { stdout } = await execAsync(`git diff --name-only --cached
|
|
6
|
+
const { stdout } = await execAsync(`git diff --name-only --cached`, { cwd });
|
|
7
7
|
return stdout.trim().split('\n').filter(Boolean);
|
|
8
8
|
}
|
|
9
9
|
catch {
|
|
10
10
|
return [];
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
export async function getUntrackedFiles() {
|
|
13
|
+
export async function getUntrackedFiles(cwd) {
|
|
14
14
|
try {
|
|
15
|
-
const { stdout } = await execAsync('git ls-files --others --exclude-standard');
|
|
15
|
+
const { stdout } = await execAsync('git ls-files --others --exclude-standard', { cwd });
|
|
16
16
|
return stdout.trim().split('\n').filter(Boolean);
|
|
17
17
|
}
|
|
18
18
|
catch {
|
|
19
19
|
return [];
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
export async function getAllChangedFiles(baseBranch = 'main') {
|
|
22
|
+
export async function getAllChangedFiles(baseBranch = 'main', cwd) {
|
|
23
23
|
const [changed, untracked] = await Promise.all([
|
|
24
|
-
getChangedFiles(baseBranch),
|
|
25
|
-
getUntrackedFiles()
|
|
24
|
+
getChangedFiles(baseBranch, cwd),
|
|
25
|
+
getUntrackedFiles(cwd)
|
|
26
26
|
]);
|
|
27
27
|
return [...new Set([...changed, ...untracked])];
|
|
28
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incremental-processor.js","sourceRoot":"","sources":["../../../src/features/ccg/incremental-processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAElC,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAAU,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"incremental-processor.js","sourceRoot":"","sources":["../../../src/features/ccg/incremental-processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAElC,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAAU,GAAG,MAAM,EAAE,GAAY;IACrE,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,CAAC,+BAA+B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7E,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,GAAY;IAClD,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,CAAC,0CAA0C,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QACxF,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,UAAU,GAAG,MAAM,EAAE,GAAY;IACxE,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC7C,eAAe,CAAC,UAAU,EAAE,GAAG,CAAC;QAChC,iBAAiB,CAAC,GAAG,CAAC;KACvB,CAAC,CAAC;IACH,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -17,6 +17,11 @@ import { StateLocation, StateConfig, StateReadResult, StateWriteResult, StateCle
|
|
|
17
17
|
* Exported for testing and for write/clear operations to invalidate stale entries.
|
|
18
18
|
*/
|
|
19
19
|
export declare function clearStateCache(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Reset WAL instance (for testing only).
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare function resetWAL(): void;
|
|
20
25
|
/**
|
|
21
26
|
* Get the standard path for a state file
|
|
22
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/state-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAWH,OAAO,EACL,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EA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pB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,GACV,CAAC;AAEF;;GAEG;AACH,wBAAgB,UAAU,IAAI,IAAI,CAGjC;AA6BD;;GAEG;AACH,wBAAsB,cAAc,CAAC,CAAC,GAAG,SAAS,EAChD,IAAI,EAAE,MAAM,EACZ,QAAQ,GAAE,aAAmC,EAC7C,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAClC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAyF7B;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,CAAC,GAAG,SAAS,EACjD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,EACP,QAAQ,GAAE,aAAmC,EAC7C,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GACjC,OAAO,CAAC,gBAAgB,CAAC,CA+B3B;AAGD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/state-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAWH,OAAO,EACL,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EAEV,MAAM,YAAY,CAAC;AAsDpB;;;GAGG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;GAGG;AACH,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAkBD;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,MAAM,CAM1E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAErD;A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7B;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,CAAC,GAAG,SAAS,EACjD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,EACP,QAAQ,GAAE,aAAmC,EAC7C,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GACjC,OAAO,CAAC,gBAAgB,CAAC,CA+B3B;AAGD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC"}
|
|
@@ -69,6 +69,13 @@ const stateCache = new Map();
|
|
|
69
69
|
export function clearStateCache() {
|
|
70
70
|
stateCache.clear();
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Reset WAL instance (for testing only).
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
export function resetWAL() {
|
|
77
|
+
walInstance = null;
|
|
78
|
+
}
|
|
72
79
|
// Legacy state locations (for backward compatibility)
|
|
73
80
|
const LEGACY_LOCATIONS = {
|
|
74
81
|
boulder: [".omc/boulder.json"],
|