opencode-matrixx-v2 0.0.0-stage → 1.1.0
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/LICENSE.md +82 -0
- package/README.md +205 -2
- package/dist/agents/agent-builder.d.ts +28 -0
- package/dist/agents/agent-config.d.ts +46 -0
- package/dist/agents/agents.transform.d.ts +67 -0
- package/dist/agents/builtin-agents/agent-overrides.d.ts +12 -0
- package/dist/agents/builtin-agents/available-skills.d.ts +4 -0
- package/dist/agents/builtin-agents/general-agents.d.ts +21 -0
- package/dist/agents/builtin-agents/keymaker-agent.d.ts +20 -0
- package/dist/agents/builtin-agents/model-resolution.d.ts +25 -0
- package/dist/agents/builtin-agents/morpheus-agent.d.ts +22 -0
- package/dist/agents/builtin-agents/niobe-agent.d.ts +19 -0
- package/dist/agents/builtin-agents/resolve-file-uri.d.ts +1 -0
- package/dist/agents/builtin-agents.d.ts +5 -0
- package/dist/agents/cipher.d.ts +7 -0
- package/dist/agents/construct.d.ts +7 -0
- package/dist/agents/custom-agent-summaries.d.ts +8 -0
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +54 -0
- package/dist/agents/env-context.d.ts +7 -0
- package/dist/agents/index.d.ts +14 -0
- package/dist/agents/keymaker.d.ts +6 -0
- package/dist/agents/merovingian.d.ts +8 -0
- package/dist/agents/model-directives.d.ts +7 -0
- package/dist/agents/morpheus.d.ts +6 -0
- package/dist/agents/mouse/agent.d.ts +32 -0
- package/dist/agents/mouse/deepseek.d.ts +16 -0
- package/dist/agents/mouse/default.d.ts +9 -0
- package/dist/agents/mouse/gpt.d.ts +18 -0
- package/dist/agents/mouse/index.d.ts +7 -0
- package/dist/agents/mouse/mimo.d.ts +15 -0
- package/dist/agents/mouse/qwen.d.ts +16 -0
- package/dist/agents/mouse/shared.d.ts +7 -0
- package/dist/agents/niobe/agent.d.ts +34 -0
- package/dist/agents/niobe/default.d.ts +11 -0
- package/dist/agents/niobe/gpt.d.ts +19 -0
- package/dist/agents/niobe/index.d.ts +6 -0
- package/dist/agents/niobe/prompt-section-builder.d.ts +13 -0
- package/dist/agents/operator.d.ts +7 -0
- package/dist/agents/oracle/behavioral-summary.d.ts +6 -0
- package/dist/agents/oracle/high-accuracy-mode.d.ts +25 -0
- package/dist/agents/oracle/identity-constraints.d.ts +7 -0
- package/dist/agents/oracle/index.d.ts +7 -0
- package/dist/agents/oracle/interview-mode.d.ts +7 -0
- package/dist/agents/oracle/plan-generation.d.ts +7 -0
- package/dist/agents/oracle/plan-template.d.ts +1 -0
- package/dist/agents/oracle/system-prompt.d.ts +20 -0
- package/dist/agents/sati.d.ts +7 -0
- package/dist/agents/sentinel.d.ts +7 -0
- package/dist/agents/seraph.d.ts +21 -0
- package/dist/agents/smith.d.ts +17 -0
- package/dist/agents/trinity.d.ts +7 -0
- package/dist/agents/types.d.ts +76 -0
- package/dist/cli/doctor/checks/auth.d.ts +2 -0
- package/dist/cli/doctor/checks/config.d.ts +2 -0
- package/dist/cli/doctor/checks/context-mode.d.ts +30 -0
- package/dist/cli/doctor/checks/dcp.d.ts +8 -0
- package/dist/cli/doctor/checks/docker.d.ts +2 -0
- package/dist/cli/doctor/checks/headroom.d.ts +2 -0
- package/dist/cli/doctor/checks/helpers.d.ts +2 -0
- package/dist/cli/doctor/checks/index.d.ts +16 -0
- package/dist/cli/doctor/checks/mcp.d.ts +2 -0
- package/dist/cli/doctor/checks/optional.d.ts +2 -0
- package/dist/cli/doctor/checks/plugin.d.ts +2 -0
- package/dist/cli/doctor/checks/rtk.d.ts +2 -0
- package/dist/cli/doctor/checks/runtime.d.ts +2 -0
- package/dist/cli/doctor/checks/tmux.d.ts +2 -0
- package/dist/cli/doctor/format.d.ts +3 -0
- package/dist/cli/doctor/index.d.ts +9 -0
- package/dist/cli/doctor/types.d.ts +24 -0
- package/dist/cli/index.d.ts +14 -0
- package/dist/cli/install/index.d.ts +12 -0
- package/dist/cli/setup/config-writer.d.ts +12 -0
- package/dist/cli/setup/constants.d.ts +8 -0
- package/dist/cli/setup/deps.d.ts +8 -0
- package/dist/cli/setup/index.d.ts +9 -0
- package/dist/cli/setup/opencode-sync.d.ts +9 -0
- package/dist/cli/setup/preset-wizard.d.ts +36 -0
- package/dist/cli/setup/prompts.d.ts +4 -0
- package/dist/cli/setup/types.d.ts +31 -0
- package/dist/cli.js +10226 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/migrations/index.d.ts +1 -0
- package/dist/config/migrations/model-migration.d.ts +17 -0
- package/dist/config/preset-applier.d.ts +17 -0
- package/dist/config/schema/agent-definitions.d.ts +3 -0
- package/dist/config/schema/agent-names.d.ts +71 -0
- package/dist/config/schema/agent-overrides.d.ts +653 -0
- package/dist/config/schema/assembly.d.ts +13 -0
- package/dist/config/schema/babysitting.d.ts +5 -0
- package/dist/config/schema/background-task.d.ts +44 -0
- package/dist/config/schema/browser-automation.d.ts +17 -0
- package/dist/config/schema/categories.d.ts +65 -0
- package/dist/config/schema/commands.d.ts +21 -0
- package/dist/config/schema/comment-checker.d.ts +5 -0
- package/dist/config/schema/context-mode.d.ts +14 -0
- package/dist/config/schema/dcp.d.ts +367 -0
- package/dist/config/schema/evolution.d.ts +89 -0
- package/dist/config/schema/experimental.d.ts +14 -0
- package/dist/config/schema/headroom.d.ts +23 -0
- package/dist/config/schema/hooks.d.ts +70 -0
- package/dist/config/schema/internal/permission.d.ts +11 -0
- package/dist/config/schema/internal/request.d.ts +7 -0
- package/dist/config/schema/knowledge.d.ts +34 -0
- package/dist/config/schema/matrix-loop.d.ts +7 -0
- package/dist/config/schema/matrixx-config.d.ts +1290 -0
- package/dist/config/schema/matrixx-self-config.d.ts +6 -0
- package/dist/config/schema/memory.d.ts +191 -0
- package/dist/config/schema/model-config.d.ts +59 -0
- package/dist/config/schema/model-presets.d.ts +40 -0
- package/dist/config/schema/morpheus-agent.d.ts +8 -0
- package/dist/config/schema/morpheus.d.ts +26 -0
- package/dist/config/schema/notification.d.ts +12 -0
- package/dist/config/schema/plans.d.ts +6 -0
- package/dist/config/schema/rtk.d.ts +7 -0
- package/dist/config/schema/runtime-fallback.d.ts +10 -0
- package/dist/config/schema/security.d.ts +86 -0
- package/dist/config/schema/skills.d.ts +40 -0
- package/dist/config/schema/software-dev-enforcement.d.ts +30 -0
- package/dist/config/schema/subagent-block.d.ts +13 -0
- package/dist/config/schema/task.d.ts +6 -0
- package/dist/config/schema/tasks.d.ts +29 -0
- package/dist/config/schema/tdd-enforcer.d.ts +5 -0
- package/dist/config/schema/tmux.d.ts +23 -0
- package/dist/config/schema/tool-policy.d.ts +10 -0
- package/dist/config/schema.d.ts +39 -0
- package/dist/features/assembly-state/index.d.ts +1 -0
- package/dist/features/assembly-state/manager.d.ts +6 -0
- package/dist/features/background-agent/constants.d.ts +51 -0
- package/dist/features/background-agent/error-helpers.d.ts +4 -0
- package/dist/features/background-agent/handle-index.d.ts +79 -0
- package/dist/features/background-agent/index.d.ts +5 -0
- package/dist/features/background-agent/loop-detector.d.ts +16 -0
- package/dist/features/background-agent/manager.bench.d.ts +1 -0
- package/dist/features/background-agent/manager.d.ts +199 -0
- package/dist/features/background-agent/message-dir.d.ts +5 -0
- package/dist/features/background-agent/notification-builder.d.ts +11 -0
- package/dist/features/background-agent/revive.d.ts +39 -0
- package/dist/features/background-agent/session-output.d.ts +26 -0
- package/dist/features/background-agent/state.d.ts +35 -0
- package/dist/features/background-agent/task-history.d.ts +38 -0
- package/dist/features/background-agent/types.d.ts +113 -0
- package/dist/features/background-agent/wallclock.d.ts +37 -0
- package/dist/features/bdd/schema.d.ts +434 -0
- package/dist/features/bdd/types.d.ts +2 -0
- package/dist/features/builtin-commands/commands.d.ts +3 -0
- package/dist/features/builtin-commands/commands.transform.d.ts +57 -0
- package/dist/features/builtin-commands/templates/assembly.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-pipeline.d.ts +1 -0
- package/dist/features/builtin-commands/templates/cleanup-tasks.d.ts +1 -0
- package/dist/features/builtin-commands/templates/end-ultrawork.d.ts +1 -0
- package/dist/features/builtin-commands/templates/evolution.d.ts +1 -0
- package/dist/features/builtin-commands/templates/handoff.d.ts +1 -0
- package/dist/features/builtin-commands/templates/humanize.d.ts +1 -0
- package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -0
- package/dist/features/builtin-commands/templates/matrix-loop.d.ts +2 -0
- package/dist/features/builtin-commands/templates/pickup.d.ts +1 -0
- package/dist/features/builtin-commands/templates/plan-review.d.ts +1 -0
- package/dist/features/builtin-commands/templates/preset.d.ts +1 -0
- package/dist/features/builtin-commands/templates/quality-assurance.d.ts +1 -0
- package/dist/features/builtin-commands/templates/quality-audit.d.ts +1 -0
- package/dist/features/builtin-commands/templates/refactor.d.ts +1 -0
- package/dist/features/builtin-commands/templates/remove-deadcode.d.ts +1 -0
- package/dist/features/builtin-commands/templates/research.d.ts +1 -0
- package/dist/features/builtin-commands/templates/security-audit.d.ts +1 -0
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -0
- package/dist/features/builtin-commands/templates/stop-continuation.d.ts +1 -0
- package/dist/features/builtin-commands/templates/task-list.d.ts +1 -0
- package/dist/features/builtin-commands/templates/ultrawork.d.ts +1 -0
- package/dist/features/builtin-commands/types.d.ts +3 -0
- package/dist/features/command-loader/index.d.ts +1 -0
- package/dist/features/command-loader/types.d.ts +43 -0
- package/dist/features/completion-review/admission-gate.d.ts +84 -0
- package/dist/features/completion-review/calibration-baseline-check.d.ts +10 -0
- package/dist/features/completion-review/calibration-baseline.d.ts +9 -0
- package/dist/features/completion-review/calibration-corpus-aggregate.d.ts +18 -0
- package/dist/features/completion-review/calibration-corpus-scan.d.ts +20 -0
- package/dist/features/completion-review/calibration-corpus-types.d.ts +95 -0
- package/dist/features/completion-review/calibration-corpus.d.ts +5 -0
- package/dist/features/completion-review/calibration-observed.d.ts +16 -0
- package/dist/features/completion-review/calibration-render.d.ts +15 -0
- package/dist/features/completion-review/calibration-types.d.ts +51 -0
- package/dist/features/completion-review/calibration.d.ts +49 -0
- package/dist/features/completion-review/degradation-evaluate.d.ts +17 -0
- package/dist/features/completion-review/degradation-gate.d.ts +44 -0
- package/dist/features/completion-review/degradation-items.d.ts +38 -0
- package/dist/features/completion-review/degradation-model.d.ts +31 -0
- package/dist/features/completion-review/degradation-types.d.ts +99 -0
- package/dist/features/completion-review/degradation-vacuity.d.ts +32 -0
- package/dist/features/completion-review/degradation.d.ts +19 -0
- package/dist/features/completion-review/evidence-capture.d.ts +39 -0
- package/dist/features/completion-review/evidence-notepad.d.ts +15 -0
- package/dist/features/completion-review/evidence-resolve.d.ts +18 -0
- package/dist/features/completion-review/evidence-types.d.ts +34 -0
- package/dist/features/completion-review/gather-attribution.d.ts +36 -0
- package/dist/features/completion-review/gather-drift.d.ts +16 -0
- package/dist/features/completion-review/gather-notepads.d.ts +13 -0
- package/dist/features/completion-review/gather-types.d.ts +109 -0
- package/dist/features/completion-review/gather.d.ts +18 -0
- package/dist/features/completion-review/index.d.ts +35 -0
- package/dist/features/completion-review/report-gate.d.ts +29 -0
- package/dist/features/completion-review/report-sidecar.d.ts +2 -0
- package/dist/features/completion-review/report-summary.d.ts +10 -0
- package/dist/features/completion-review/report-taxonomy.d.ts +21 -0
- package/dist/features/completion-review/report-types.d.ts +142 -0
- package/dist/features/completion-review/report-write.d.ts +22 -0
- package/dist/features/completion-review/report.d.ts +9 -0
- package/dist/features/completion-review/rubric-dimensions.d.ts +11 -0
- package/dist/features/completion-review/rubric-dod.d.ts +10 -0
- package/dist/features/completion-review/rubric-drift.d.ts +6 -0
- package/dist/features/completion-review/rubric-gate.d.ts +1 -0
- package/dist/features/completion-review/rubric-score.d.ts +16 -0
- package/dist/features/completion-review/rubric-test-decision.d.ts +9 -0
- package/dist/features/completion-review/rubric-types.d.ts +87 -0
- package/dist/features/completion-review/rubric.d.ts +42 -0
- package/dist/features/context-injector/collector.d.ts +13 -0
- package/dist/features/context-injector/index.d.ts +3 -0
- package/dist/features/context-injector/injector.d.ts +28 -0
- package/dist/features/context-injector/types.d.ts +83 -0
- package/dist/features/context-mode-routing/routing-block.d.ts +24 -0
- package/dist/features/context-mode-routing/system-transform.d.ts +30 -0
- package/dist/features/evolution/compressor/index.d.ts +5 -0
- package/dist/features/evolution/compressor/interface.d.ts +10 -0
- package/dist/features/evolution/compressor/llm.d.ts +22 -0
- package/dist/features/evolution/evaluator.d.ts +11 -0
- package/dist/features/evolution/index.d.ts +11 -0
- package/dist/features/evolution/pipeline.d.ts +9 -0
- package/dist/features/evolution/schema.d.ts +46 -0
- package/dist/features/evolution/store/budget-ledger.d.ts +46 -0
- package/dist/features/evolution/store/lifecycle.d.ts +52 -0
- package/dist/features/evolution/store/project-identity.d.ts +27 -0
- package/dist/features/evolution/store/query.d.ts +23 -0
- package/dist/features/evolution/store/trace-store.d.ts +22 -0
- package/dist/features/evolution/types.d.ts +84 -0
- package/dist/features/evolution/writer-emit.d.ts +17 -0
- package/dist/features/evolution/writer-frontmatter.d.ts +23 -0
- package/dist/features/evolution/writer-supersede.d.ts +20 -0
- package/dist/features/evolution/writer.d.ts +24 -0
- package/dist/features/handoff/constants.d.ts +8 -0
- package/dist/features/handoff/index.d.ts +4 -0
- package/dist/features/handoff/schema.d.ts +90 -0
- package/dist/features/handoff/storage.d.ts +7 -0
- package/dist/features/handoff/validate.d.ts +22 -0
- package/dist/features/hook-message-injector/constants.d.ts +1 -0
- package/dist/features/hook-message-injector/index.d.ts +5 -0
- package/dist/features/hook-message-injector/injector.d.ts +62 -0
- package/dist/features/hook-message-injector/sdk-message-cache.d.ts +34 -0
- package/dist/features/hook-message-injector/types.d.ts +46 -0
- package/dist/features/knowledge-hub/index.d.ts +3 -0
- package/dist/features/knowledge-hub/loader.d.ts +11 -0
- package/dist/features/knowledge-hub/resolver.d.ts +2 -0
- package/dist/features/mission-state/atomic-write.d.ts +8 -0
- package/dist/features/mission-state/completion.d.ts +58 -0
- package/dist/features/mission-state/constants.d.ts +56 -0
- package/dist/features/mission-state/index.d.ts +7 -0
- package/dist/features/mission-state/plan-file-read.d.ts +15 -0
- package/dist/features/mission-state/plan-storage.d.ts +67 -0
- package/dist/features/mission-state/reconcile.d.ts +96 -0
- package/dist/features/mission-state/rehydrate.d.ts +30 -0
- package/dist/features/mission-state/storage.d.ts +53 -0
- package/dist/features/mission-state/types.d.ts +78 -0
- package/dist/features/plan-contract/appendix.d.ts +11 -0
- package/dist/features/plan-contract/constants.d.ts +18 -0
- package/dist/features/plan-contract/front-matter.d.ts +59 -0
- package/dist/features/plan-contract/index.d.ts +17 -0
- package/dist/features/plan-contract/lifecycle.d.ts +44 -0
- package/dist/features/plan-contract/migration-report.d.ts +50 -0
- package/dist/features/plan-contract/migration.d.ts +62 -0
- package/dist/features/plan-contract/parse.d.ts +38 -0
- package/dist/features/plan-contract/region.d.ts +67 -0
- package/dist/features/plan-contract/schema.d.ts +106 -0
- package/dist/features/plan-contract/section-registry-h3.d.ts +14 -0
- package/dist/features/plan-contract/section-registry.d.ts +87 -0
- package/dist/features/plan-contract/skeleton.d.ts +5 -0
- package/dist/features/plan-contract/types.d.ts +56 -0
- package/dist/features/plan-contract/validate.d.ts +12 -0
- package/dist/features/preset-state/manager.d.ts +5 -0
- package/dist/features/rtk-routing/routing-block.d.ts +19 -0
- package/dist/features/rtk-routing/system-transform.d.ts +43 -0
- package/dist/features/session-memory/compacting.d.ts +9 -0
- package/dist/features/session-memory/constants.d.ts +18 -0
- package/dist/features/session-memory/index.d.ts +13 -0
- package/dist/features/session-memory/recall.d.ts +64 -0
- package/dist/features/session-memory/retention.d.ts +29 -0
- package/dist/features/session-memory/storage.d.ts +21 -0
- package/dist/features/session-memory/summary.d.ts +26 -0
- package/dist/features/session-memory/types.d.ts +43 -0
- package/dist/features/session-state/state.d.ts +34 -0
- package/dist/features/task-session-scope/ancestry.d.ts +23 -0
- package/dist/features/task-session-scope/index.d.ts +2 -0
- package/dist/features/task-session-scope/session-task-pending.d.ts +83 -0
- package/dist/features/task-storage/storage.d.ts +23 -0
- package/dist/features/task-storage/types.d.ts +29 -0
- package/dist/features/task-toast-manager/index.d.ts +2 -0
- package/dist/features/task-toast-manager/manager.d.ts +51 -0
- package/dist/features/task-toast-manager/types.d.ts +24 -0
- package/dist/features/tool-metadata-store/call-id.d.ts +6 -0
- package/dist/features/tool-metadata-store/index.d.ts +4 -0
- package/dist/features/tool-metadata-store/store.d.ts +39 -0
- package/dist/features/ultrawork-state/index.d.ts +1 -0
- package/dist/features/ultrawork-state/manager.d.ts +6 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts +5 -0
- package/dist/hooks/agent-usage-reminder/hook.d.ts +16 -0
- package/dist/hooks/agent-usage-reminder/storage.d.ts +4 -0
- package/dist/hooks/agent-usage-reminder/types.d.ts +6 -0
- package/dist/hooks/anthropic-effort/hook.d.ts +26 -0
- package/dist/hooks/auto-slash-command/constants.d.ts +5 -0
- package/dist/hooks/auto-slash-command/detector.d.ts +13 -0
- package/dist/hooks/auto-slash-command/executor.d.ts +23 -0
- package/dist/hooks/auto-slash-command/hook.d.ts +9 -0
- package/dist/hooks/auto-slash-command/index.d.ts +6 -0
- package/dist/hooks/auto-slash-command/types.d.ts +34 -0
- package/dist/hooks/auto-update-checker/cache.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/cached-version.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/check-for-update.d.ts +2 -0
- package/dist/hooks/auto-update-checker/checker/config-paths.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/jsonc-strip.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/latest-version.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/local-dev-path.d.ts +2 -0
- package/dist/hooks/auto-update-checker/checker/local-dev-version.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/package-json-locator.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/pinned-version-updater.d.ts +2 -0
- package/dist/hooks/auto-update-checker/checker/plugin-entry.d.ts +7 -0
- package/dist/hooks/auto-update-checker/checker.d.ts +8 -0
- package/dist/hooks/auto-update-checker/constants.d.ts +9 -0
- package/dist/hooks/auto-update-checker/hook/background-update-check.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/config-errors-toast.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/connected-providers-status.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/model-cache-warning.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/spinner-toast.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/startup-toasts.d.ts +3 -0
- package/dist/hooks/auto-update-checker/hook/update-toasts.d.ts +3 -0
- package/dist/hooks/auto-update-checker/hook.d.ts +5 -0
- package/dist/hooks/auto-update-checker/index.d.ts +5 -0
- package/dist/hooks/auto-update-checker/types.d.ts +25 -0
- package/dist/hooks/auto-update-checker/version-channel.d.ts +4 -0
- package/dist/hooks/background-notification/hook.d.ts +12 -0
- package/dist/hooks/background-notification/types.d.ts +4 -0
- package/dist/hooks/background-task-blocker/hook.d.ts +10 -0
- package/dist/hooks/bash-file-read-guard.d.ts +2 -0
- package/dist/hooks/category-skill-reminder/formatter.d.ts +2 -0
- package/dist/hooks/category-skill-reminder/hook.d.ts +19 -0
- package/dist/hooks/comment-checker/cli-runner.d.ts +20 -0
- package/dist/hooks/comment-checker/cli.d.ts +52 -0
- package/dist/hooks/comment-checker/downloader.d.ts +20 -0
- package/dist/hooks/comment-checker/hook.d.ts +19 -0
- package/dist/hooks/comment-checker/pending-calls.d.ts +4 -0
- package/dist/hooks/comment-checker/types.d.ts +13 -0
- package/dist/hooks/compaction-context-injector/hook.d.ts +8 -0
- package/dist/hooks/context-mode-enforcer/constants.d.ts +9 -0
- package/dist/hooks/context-mode-enforcer/guidance-throttle.d.ts +7 -0
- package/dist/hooks/context-mode-enforcer/hook.d.ts +3 -0
- package/dist/hooks/context-window-limit-recovery/client.d.ts +2 -0
- package/dist/hooks/context-window-limit-recovery/empty-content-recovery.d.ts +8 -0
- package/dist/hooks/context-window-limit-recovery/executor.d.ts +5 -0
- package/dist/hooks/context-window-limit-recovery/index.d.ts +8 -0
- package/dist/hooks/context-window-limit-recovery/message-builder.d.ts +4 -0
- package/dist/hooks/context-window-limit-recovery/parser-patterns.d.ts +11 -0
- package/dist/hooks/context-window-limit-recovery/parser.d.ts +15 -0
- package/dist/hooks/context-window-limit-recovery/recovery-hook.d.ts +11 -0
- package/dist/hooks/context-window-limit-recovery/state.d.ts +6 -0
- package/dist/hooks/context-window-limit-recovery/summarize-retry-strategy.d.ts +11 -0
- package/dist/hooks/context-window-limit-recovery/types.d.ts +31 -0
- package/dist/hooks/context-window-monitor.d.ts +18 -0
- package/dist/hooks/dcp-nudge-sanitizer/constants.d.ts +5 -0
- package/dist/hooks/dcp-nudge-sanitizer/hook.d.ts +34 -0
- package/dist/hooks/delegate-task-retry/guidance.d.ts +2 -0
- package/dist/hooks/delegate-task-retry/hook.d.ts +12 -0
- package/dist/hooks/delegate-task-retry/patterns.d.ts +11 -0
- package/dist/hooks/design-intent-preserver/constants.d.ts +6 -0
- package/dist/hooks/design-intent-preserver/hook.d.ts +19 -0
- package/dist/hooks/design-intent-preserver/phase-detector.d.ts +8 -0
- package/dist/hooks/directory-agents-injector/constants.d.ts +2 -0
- package/dist/hooks/directory-agents-injector/finder.d.ts +5 -0
- package/dist/hooks/directory-agents-injector/hook.d.ts +20 -0
- package/dist/hooks/directory-agents-injector/injector.d.ts +16 -0
- package/dist/hooks/directory-agents-injector/storage.d.ts +1 -0
- package/dist/hooks/directory-injector/factory.d.ts +34 -0
- package/dist/hooks/directory-injector/index.d.ts +1 -0
- package/dist/hooks/docs-lookup-guard/constants.d.ts +6 -0
- package/dist/hooks/docs-lookup-guard/hook.d.ts +3 -0
- package/dist/hooks/document-reader-guard/constants.d.ts +5 -0
- package/dist/hooks/document-reader-guard/hook.d.ts +3 -0
- package/dist/hooks/domain-keyword-detector/constants.d.ts +18 -0
- package/dist/hooks/domain-keyword-detector/detector.d.ts +16 -0
- package/dist/hooks/domain-keyword-detector/hook.d.ts +26 -0
- package/dist/hooks/domain-keyword-detector/index.d.ts +3 -0
- package/dist/hooks/edit-error-recovery/hook.d.ts +31 -0
- package/dist/hooks/empty-task-response-detector.d.ts +12 -0
- package/dist/hooks/env-context-injector/flat.d.ts +22 -0
- package/dist/hooks/env-context-injector/index.d.ts +39 -0
- package/dist/hooks/env-file-write-guard/hook.d.ts +15 -0
- package/dist/hooks/env-file-write-guard/sensitive-file-matcher.d.ts +1 -0
- package/dist/hooks/evolution-compressor/host-llm-call.d.ts +15 -0
- package/dist/hooks/evolution-hitl/flat.d.ts +29 -0
- package/dist/hooks/evolution-hitl/index.d.ts +27 -0
- package/dist/hooks/evolution-quality-gate/index.d.ts +6 -0
- package/dist/hooks/evolution-watcher/index.d.ts +21 -0
- package/dist/hooks/evolution-watcher/utils.d.ts +5 -0
- package/dist/hooks/hashline-read-enhancer/hook.d.ts +18 -0
- package/dist/hooks/index.d.ts +68 -0
- package/dist/hooks/input-secret-guard/detection-rules.d.ts +10 -0
- package/dist/hooks/input-secret-guard/detector.d.ts +21 -0
- package/dist/hooks/input-secret-guard/hook.d.ts +19 -0
- package/dist/hooks/input-secret-guard/redactor.d.ts +2 -0
- package/dist/hooks/input-secret-guard/session-allow-cache.d.ts +6 -0
- package/dist/hooks/interactive-bash-session/constants.d.ts +3 -0
- package/dist/hooks/interactive-bash-session/hook.d.ts +18 -0
- package/dist/hooks/interactive-bash-session/parser.d.ts +20 -0
- package/dist/hooks/interactive-bash-session/state-manager.d.ts +4 -0
- package/dist/hooks/interactive-bash-session/storage.d.ts +4 -0
- package/dist/hooks/interactive-bash-session/types.d.ts +10 -0
- package/dist/hooks/json-error-recovery/hook.d.ts +15 -0
- package/dist/hooks/json-error-recovery/index.d.ts +1 -0
- package/dist/hooks/keyword-detector/analyze/default.d.ts +12 -0
- package/dist/hooks/keyword-detector/constants.d.ts +10 -0
- package/dist/hooks/keyword-detector/detector.d.ts +11 -0
- package/dist/hooks/keyword-detector/docs/default.d.ts +14 -0
- package/dist/hooks/keyword-detector/hook.d.ts +20 -0
- package/dist/hooks/keyword-detector/search/default.d.ts +12 -0
- package/dist/hooks/keyword-detector/ultrawork/deepseek.d.ts +16 -0
- package/dist/hooks/keyword-detector/ultrawork/default.d.ts +6 -0
- package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +12 -0
- package/dist/hooks/keyword-detector/ultrawork/glm.d.ts +11 -0
- package/dist/hooks/keyword-detector/ultrawork/gpt5.2.d.ts +12 -0
- package/dist/hooks/keyword-detector/ultrawork/index.d.ts +25 -0
- package/dist/hooks/keyword-detector/ultrawork/mimo.d.ts +16 -0
- package/dist/hooks/keyword-detector/ultrawork/planner.d.ts +6 -0
- package/dist/hooks/keyword-detector/ultrawork/source-detector.d.ts +33 -0
- package/dist/hooks/knowledge-hub-guard/approvals.d.ts +5 -0
- package/dist/hooks/knowledge-hub-guard/hook.d.ts +15 -0
- package/dist/hooks/knowledge-hub-injector/hook.d.ts +37 -0
- package/dist/hooks/knowledge-hub-search-nudge/hook.d.ts +16 -0
- package/dist/hooks/matrix-loop/completion-promise-detector.d.ts +11 -0
- package/dist/hooks/matrix-loop/completion-verifier.d.ts +18 -0
- package/dist/hooks/matrix-loop/constants.d.ts +7 -0
- package/dist/hooks/matrix-loop/continuation-prompt-builder.d.ts +2 -0
- package/dist/hooks/matrix-loop/continuation-prompt-injector.d.ts +7 -0
- package/dist/hooks/matrix-loop/loop-session-recovery.d.ts +7 -0
- package/dist/hooks/matrix-loop/loop-state-controller.d.ts +16 -0
- package/dist/hooks/matrix-loop/matrix-loop-event-handler.d.ts +24 -0
- package/dist/hooks/matrix-loop/matrix-loop-hook.d.ts +14 -0
- package/dist/hooks/matrix-loop/storage.d.ts +5 -0
- package/dist/hooks/matrix-loop/types.d.ts +25 -0
- package/dist/hooks/mouse-notepad/constants.d.ts +2 -0
- package/dist/hooks/mouse-notepad/hook.d.ts +11 -0
- package/dist/hooks/niobe/bash-command-policy.d.ts +4 -0
- package/dist/hooks/niobe/event-handler.d.ts +9 -0
- package/dist/hooks/niobe/hook-name.d.ts +1 -0
- package/dist/hooks/niobe/matrix-path.d.ts +1 -0
- package/dist/hooks/niobe/mission-continuation-injector.d.ts +13 -0
- package/dist/hooks/niobe/niobe-hook.d.ts +14 -0
- package/dist/hooks/niobe/recent-model-resolver.d.ts +3 -0
- package/dist/hooks/niobe/session-last-agent.d.ts +2 -0
- package/dist/hooks/niobe/subagent-session-id.d.ts +1 -0
- package/dist/hooks/niobe/system-reminder-templates.d.ts +5 -0
- package/dist/hooks/niobe/tool-execute-after.d.ts +6 -0
- package/dist/hooks/niobe/tool-execute-before.d.ts +12 -0
- package/dist/hooks/niobe/types.d.ts +27 -0
- package/dist/hooks/niobe/verification-reminders.d.ts +5 -0
- package/dist/hooks/niobe/write-edit-tool-policy.d.ts +1 -0
- package/dist/hooks/non-interactive-env/constants.d.ts +34 -0
- package/dist/hooks/non-interactive-env/detector.d.ts +1 -0
- package/dist/hooks/non-interactive-env/non-interactive-env-hook.d.ts +13 -0
- package/dist/hooks/nudge-loop-breaker/constants.d.ts +9 -0
- package/dist/hooks/nudge-loop-breaker/hook.d.ts +12 -0
- package/dist/hooks/nudge-loop-breaker/session-state.d.ts +11 -0
- package/dist/hooks/oracle-md-only/agent-matcher.d.ts +1 -0
- package/dist/hooks/oracle-md-only/agent-resolution.d.ts +14 -0
- package/dist/hooks/oracle-md-only/constants.d.ts +6 -0
- package/dist/hooks/oracle-md-only/hook.d.ts +11 -0
- package/dist/hooks/oracle-md-only/path-policy.d.ts +10 -0
- package/dist/hooks/plan-persister/hook.d.ts +16 -0
- package/dist/hooks/plan-persister/index.d.ts +6 -0
- package/dist/hooks/plan-persister/task-link.d.ts +31 -0
- package/dist/hooks/plan-persister/task-sync.d.ts +39 -0
- package/dist/hooks/post-read-injector/block.d.ts +1 -0
- package/dist/hooks/post-read-injector/constants.d.ts +4 -0
- package/dist/hooks/post-read-injector/hook.d.ts +24 -0
- package/dist/hooks/post-read-injector/index.d.ts +8 -0
- package/dist/hooks/post-read-injector/injector.d.ts +21 -0
- package/dist/hooks/post-read-injector/sections.d.ts +7 -0
- package/dist/hooks/post-read-injector/unified-walk.d.ts +6 -0
- package/dist/hooks/quality-gate/hook.d.ts +31 -0
- package/dist/hooks/read-image-resizer/hook.d.ts +12 -0
- package/dist/hooks/read-image-resizer/image-dimensions.d.ts +2 -0
- package/dist/hooks/read-image-resizer/image-resizer.d.ts +5 -0
- package/dist/hooks/read-image-resizer/png-fallback-resizer.d.ts +2 -0
- package/dist/hooks/read-image-resizer/types.d.ts +14 -0
- package/dist/hooks/rtk-bash-rewriter/constants.d.ts +3 -0
- package/dist/hooks/rtk-bash-rewriter/hook.d.ts +12 -0
- package/dist/hooks/rtk-bash-rewriter/types.d.ts +11 -0
- package/dist/hooks/rules-injector/cache.d.ts +8 -0
- package/dist/hooks/rules-injector/constants.d.ts +6 -0
- package/dist/hooks/rules-injector/finder.d.ts +3 -0
- package/dist/hooks/rules-injector/hook.d.ts +20 -0
- package/dist/hooks/rules-injector/injector.d.ts +21 -0
- package/dist/hooks/rules-injector/matcher.d.ts +22 -0
- package/dist/hooks/rules-injector/output-path.d.ts +6 -0
- package/dist/hooks/rules-injector/parser.d.ts +18 -0
- package/dist/hooks/rules-injector/project-root-finder.d.ts +8 -0
- package/dist/hooks/rules-injector/rule-distance.d.ts +10 -0
- package/dist/hooks/rules-injector/rule-file-finder.d.ts +13 -0
- package/dist/hooks/rules-injector/rule-file-scanner.d.ts +14 -0
- package/dist/hooks/rules-injector/storage.d.ts +9 -0
- package/dist/hooks/rules-injector/types.d.ts +32 -0
- package/dist/hooks/runtime-fallback/agent-resolver.d.ts +4 -0
- package/dist/hooks/runtime-fallback/auto-retry-signal.d.ts +5 -0
- package/dist/hooks/runtime-fallback/auto-retry.d.ts +10 -0
- package/dist/hooks/runtime-fallback/chat-message-handler.d.ts +20 -0
- package/dist/hooks/runtime-fallback/constants.d.ts +4 -0
- package/dist/hooks/runtime-fallback/error-classifier.d.ts +13 -0
- package/dist/hooks/runtime-fallback/event-handler.d.ts +4 -0
- package/dist/hooks/runtime-fallback/fallback-bootstrap-model.d.ts +10 -0
- package/dist/hooks/runtime-fallback/fallback-models.d.ts +2 -0
- package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +11 -0
- package/dist/hooks/runtime-fallback/fallback-state.d.ts +4 -0
- package/dist/hooks/runtime-fallback/hook.d.ts +2 -0
- package/dist/hooks/runtime-fallback/index.d.ts +3 -0
- package/dist/hooks/runtime-fallback/last-user-retry-parts.d.ts +4 -0
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +4 -0
- package/dist/hooks/runtime-fallback/model-utils.d.ts +7 -0
- package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +11 -0
- package/dist/hooks/runtime-fallback/retry-status-utils.d.ts +2 -0
- package/dist/hooks/runtime-fallback/session-category-registry.d.ts +6 -0
- package/dist/hooks/runtime-fallback/session-messages.d.ts +4 -0
- package/dist/hooks/runtime-fallback/session-status-handler.d.ts +3 -0
- package/dist/hooks/runtime-fallback/types.d.ts +65 -0
- package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +3 -0
- package/dist/hooks/secret-leak-guard/git-command-detector.d.ts +2 -0
- package/dist/hooks/secret-leak-guard/gitleaks-runner.d.ts +16 -0
- package/dist/hooks/secret-leak-guard/hook.d.ts +17 -0
- package/dist/hooks/secret-leak-guard/result-formatter.d.ts +3 -0
- package/dist/hooks/session-memory/hook.d.ts +23 -0
- package/dist/hooks/session-memory/index.d.ts +1 -0
- package/dist/hooks/session-notification-formatting.d.ts +3 -0
- package/dist/hooks/session-notification-scheduler.d.ts +24 -0
- package/dist/hooks/session-notification-sender.d.ts +6 -0
- package/dist/hooks/session-notification-utils.d.ts +9 -0
- package/dist/hooks/session-notification.d.ts +23 -0
- package/dist/hooks/session-recovery/constants.d.ts +3 -0
- package/dist/hooks/session-recovery/detect-error-type.d.ts +3 -0
- package/dist/hooks/session-recovery/hook.d.ts +20 -0
- package/dist/hooks/session-recovery/index.d.ts +5 -0
- package/dist/hooks/session-recovery/recover-thinking-block-order.d.ts +7 -0
- package/dist/hooks/session-recovery/recover-thinking-disabled-violation.d.ts +7 -0
- package/dist/hooks/session-recovery/recover-tool-result-missing.d.ts +7 -0
- package/dist/hooks/session-recovery/resume.d.ts +9 -0
- package/dist/hooks/session-recovery/storage/empty-messages.d.ts +3 -0
- package/dist/hooks/session-recovery/storage/empty-text.d.ts +5 -0
- package/dist/hooks/session-recovery/storage/messages-reader.d.ts +4 -0
- package/dist/hooks/session-recovery/storage/orphan-thinking-search.d.ts +2 -0
- package/dist/hooks/session-recovery/storage/part-content.d.ts +3 -0
- package/dist/hooks/session-recovery/storage/part-id.d.ts +1 -0
- package/dist/hooks/session-recovery/storage/parts-reader.d.ts +4 -0
- package/dist/hooks/session-recovery/storage/text-part-injector.d.ts +3 -0
- package/dist/hooks/session-recovery/storage/thinking-block-search.d.ts +2 -0
- package/dist/hooks/session-recovery/storage/thinking-prepend.d.ts +3 -0
- package/dist/hooks/session-recovery/storage/thinking-strip.d.ts +3 -0
- package/dist/hooks/session-recovery/storage.d.ts +12 -0
- package/dist/hooks/session-recovery/types.d.ts +66 -0
- package/dist/hooks/shared/compaction-model-resolver.d.ts +5 -0
- package/dist/hooks/silent-failure-guard/constants.d.ts +14 -0
- package/dist/hooks/silent-failure-guard/hook.d.ts +24 -0
- package/dist/hooks/silent-failure-guard/index.d.ts +2 -0
- package/dist/hooks/software-dev-enforcement/constants.d.ts +5 -0
- package/dist/hooks/software-dev-enforcement/hook.d.ts +11 -0
- package/dist/hooks/start-work/plan-filter.d.ts +61 -0
- package/dist/hooks/start-work/start-work-hook.d.ts +16 -0
- package/dist/hooks/stop-continuation-guard/hook.d.ts +19 -0
- package/dist/hooks/subagent-block/constants.d.ts +3 -0
- package/dist/hooks/subagent-block/hook.d.ts +16 -0
- package/dist/hooks/task-continuation-enforcer/abort-detection.d.ts +2 -0
- package/dist/hooks/task-continuation-enforcer/constants.d.ts +9 -0
- package/dist/hooks/task-continuation-enforcer/continuation-injection.d.ts +14 -0
- package/dist/hooks/task-continuation-enforcer/countdown.d.ts +16 -0
- package/dist/hooks/task-continuation-enforcer/handler.d.ts +13 -0
- package/dist/hooks/task-continuation-enforcer/idle-event.d.ts +13 -0
- package/dist/hooks/task-continuation-enforcer/index.d.ts +5 -0
- package/dist/hooks/task-continuation-enforcer/non-idle-events.d.ts +6 -0
- package/dist/hooks/task-continuation-enforcer/session-state.d.ts +10 -0
- package/dist/hooks/task-continuation-enforcer/staleness.d.ts +32 -0
- package/dist/hooks/task-continuation-enforcer/todo.d.ts +29 -0
- package/dist/hooks/task-continuation-enforcer/types.d.ts +54 -0
- package/dist/hooks/task-edit-guard/constants.d.ts +4 -0
- package/dist/hooks/task-edit-guard/hook.d.ts +3 -0
- package/dist/hooks/task-notepad-writer/constants.d.ts +42 -0
- package/dist/hooks/task-notepad-writer/hook.d.ts +14 -0
- package/dist/hooks/task-notepad-writer/notepad-path.d.ts +36 -0
- package/dist/hooks/task-resume-info/hook.d.ts +11 -0
- package/dist/hooks/think-mode/detector.d.ts +5 -0
- package/dist/hooks/think-mode/hook.d.ts +11 -0
- package/dist/hooks/think-mode/index.d.ts +4 -0
- package/dist/hooks/think-mode/switcher.d.ts +76 -0
- package/dist/hooks/think-mode/types.d.ts +25 -0
- package/dist/hooks/thinking-block-validator/flat.d.ts +24 -0
- package/dist/hooks/thinking-block-validator/hook.d.ts +45 -0
- package/dist/hooks/tool-output-truncator.d.ts +17 -0
- package/dist/hooks/tool-pair-validator/hook.d.ts +43 -0
- package/dist/hooks/unstable-agent-babysitter/index.d.ts +2 -0
- package/dist/hooks/unstable-agent-babysitter/task-message-analyzer.d.ts +23 -0
- package/dist/hooks/unstable-agent-babysitter/unstable-agent-babysitter-hook.d.ts +17 -0
- package/dist/hooks/webfetch-redirect-guard/constants.d.ts +6 -0
- package/dist/hooks/webfetch-redirect-guard/hook.d.ts +19 -0
- package/dist/hooks/webfetch-redirect-guard/redirect-resolution.d.ts +16 -0
- package/dist/hooks/write-existing-file-guard/hook.d.ts +3 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +92767 -0
- package/dist/matrixx.schema.json +4697 -0
- package/dist/mcps/context7.d.ts +9 -0
- package/dist/mcps/document-reader.d.ts +5 -0
- package/dist/mcps/index.d.ts +22 -0
- package/dist/mcps/mcp-startup-state.d.ts +4 -0
- package/dist/mcps/mcp-validator.d.ts +11 -0
- package/dist/mcps/mcp.transform.d.ts +61 -0
- package/dist/mcps/types.d.ts +8 -0
- package/dist/plugin/available-categories.d.ts +3 -0
- package/dist/plugin/chat-message.d.ts +30 -0
- package/dist/plugin/chat-params.d.ts +28 -0
- package/dist/plugin/context.d.ts +298 -0
- package/dist/plugin/event-dispatch.d.ts +29 -0
- package/dist/plugin/event.d.ts +20 -0
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +29 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +32 -0
- package/dist/plugin/hooks/create-skill-hooks.d.ts +16 -0
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +38 -0
- package/dist/plugin/hooks/create-transform-hooks.d.ts +29 -0
- package/dist/plugin/legacy-hooks.d.ts +143 -0
- package/dist/plugin/message-hooks/context-injector.d.ts +12 -0
- package/dist/plugin/message-hooks/dcp-nudge-sanitizer.d.ts +43 -0
- package/dist/plugin/message-hooks/domain-keyword-detector.d.ts +30 -0
- package/dist/plugin/message-hooks/env-context-injector.d.ts +14 -0
- package/dist/plugin/message-hooks/evolution-hitl.d.ts +17 -0
- package/dist/plugin/message-hooks/index.d.ts +54 -0
- package/dist/plugin/message-hooks/knowledge-hub-injector.d.ts +18 -0
- package/dist/plugin/message-hooks/thinking-block-validator.d.ts +15 -0
- package/dist/plugin/message-hooks/tool-pair-validator.d.ts +47 -0
- package/dist/plugin/native-context.d.ts +12 -0
- package/dist/plugin/recent-synthetic-idles.d.ts +6 -0
- package/dist/plugin/session-agent-resolver.d.ts +2 -0
- package/dist/plugin/session-status-normalizer.d.ts +2 -0
- package/dist/plugin/setup-domains.d.ts +112 -0
- package/dist/plugin/skill-context.d.ts +14 -0
- package/dist/plugin/tool-catalog.d.ts +18 -0
- package/dist/plugin/tool-definition.d.ts +11 -0
- package/dist/plugin/tool-execute-after.d.ts +12 -0
- package/dist/plugin/tool-execute-before.bench.d.ts +1 -0
- package/dist/plugin/tool-execute-before.d.ts +14 -0
- package/dist/plugin/tool-policy.d.ts +67 -0
- package/dist/plugin/unstable-agent-babysitter.d.ts +10 -0
- package/dist/plugin-config.d.ts +30 -0
- package/dist/plugin-handlers/agent-config-handler.d.ts +15 -0
- package/dist/plugin-handlers/agent-priority-order.d.ts +1 -0
- package/dist/plugin-handlers/agent-tool-allowlist.d.ts +11 -0
- package/dist/plugin-handlers/category-config-resolver.d.ts +2 -0
- package/dist/plugin-handlers/command-config-handler.d.ts +10 -0
- package/dist/plugin-handlers/config-handler.d.ts +12 -0
- package/dist/plugin-handlers/formatter-config-handler.d.ts +17 -0
- package/dist/plugin-handlers/index.d.ts +11 -0
- package/dist/plugin-handlers/mcp-config-handler.d.ts +7 -0
- package/dist/plugin-handlers/oracle-agent-config-builder.d.ts +19 -0
- package/dist/plugin-handlers/plan-model-inheritance.d.ts +1 -0
- package/dist/plugin-handlers/plugin-components-loader.d.ts +22 -0
- package/dist/plugin-handlers/provider-config-handler.d.ts +5 -0
- package/dist/plugin-handlers/task-permissions.d.ts +41 -0
- package/dist/plugin-handlers/tool-config-handler.d.ts +6 -0
- package/dist/plugin-state.d.ts +5 -0
- package/dist/shared/agent-display-names.d.ts +17 -0
- package/dist/shared/agent-label.d.ts +21 -0
- package/dist/shared/agent-tool-restrictions.d.ts +6 -0
- package/dist/shared/agent-variant.d.ts +9 -0
- package/dist/shared/awaiting-user.d.ts +12 -0
- package/dist/shared/binary-downloader.d.ts +10 -0
- package/dist/shared/code-patterns.d.ts +2 -0
- package/dist/shared/command-executor/embedded-commands.d.ts +8 -0
- package/dist/shared/command-executor/execute-command.d.ts +1 -0
- package/dist/shared/command-executor/resolve-commands-in-text.d.ts +1 -0
- package/dist/shared/command-executor.d.ts +2 -0
- package/dist/shared/compaction-log.d.ts +11 -0
- package/dist/shared/config-errors.d.ts +10 -0
- package/dist/shared/connected-providers-cache.d.ts +55 -0
- package/dist/shared/context-limit-resolver.d.ts +6 -0
- package/dist/shared/context-limits.d.ts +36 -0
- package/dist/shared/context-mode-enforcement.d.ts +59 -0
- package/dist/shared/data-path.d.ts +30 -0
- package/dist/shared/dcp-guidance.d.ts +16 -0
- package/dist/shared/dcp-switch-profile.d.ts +19 -0
- package/dist/shared/deep-merge.d.ts +13 -0
- package/dist/shared/delay.d.ts +1 -0
- package/dist/shared/disabled-tools.d.ts +2 -0
- package/dist/shared/dynamic-truncator.d.ts +23 -0
- package/dist/shared/error-formatting.d.ts +28 -0
- package/dist/shared/escape-regexp.d.ts +1 -0
- package/dist/shared/external-plugin-detector.d.ts +19 -0
- package/dist/shared/file-reference-resolver.d.ts +1 -0
- package/dist/shared/file-utils.d.ts +7 -0
- package/dist/shared/first-message-variant.d.ts +11 -0
- package/dist/shared/format-bytes.d.ts +1 -0
- package/dist/shared/format-duration.d.ts +4 -0
- package/dist/shared/frontmatter.d.ts +8 -0
- package/dist/shared/git-worktree/collect-git-diff-stats.d.ts +2 -0
- package/dist/shared/git-worktree/format-file-changes.d.ts +2 -0
- package/dist/shared/git-worktree/parse-diff-numstat.d.ts +2 -0
- package/dist/shared/git-worktree/parse-status-porcelain.d.ts +2 -0
- package/dist/shared/git-worktree/types.d.ts +7 -0
- package/dist/shared/index.d.ts +70 -0
- package/dist/shared/injection-notifier.d.ts +14 -0
- package/dist/shared/is-abort-error.d.ts +1 -0
- package/dist/shared/json-safe-metadata.d.ts +1 -0
- package/dist/shared/jsonc-parser.d.ts +16 -0
- package/dist/shared/logger.d.ts +2 -0
- package/dist/shared/memory-backend-detect.d.ts +16 -0
- package/dist/shared/merge-categories.d.ts +6 -0
- package/dist/shared/migration/hook-names.d.ts +7 -0
- package/dist/shared/model-availability.d.ts +34 -0
- package/dist/shared/model-requirements.d.ts +23 -0
- package/dist/shared/model-resolution-pipeline.d.ts +27 -0
- package/dist/shared/model-sanitizer.d.ts +3 -0
- package/dist/shared/model-suggestion-retry.d.ts +43 -0
- package/dist/shared/normalize-sdk-response.d.ts +1 -0
- package/dist/shared/notify.d.ts +5 -0
- package/dist/shared/opencode-config-dir.d.ts +18 -0
- package/dist/shared/opencode-http-api.d.ts +3 -0
- package/dist/shared/opencode-message-dir.d.ts +1 -0
- package/dist/shared/opencode-server-auth.d.ts +6 -0
- package/dist/shared/opencode-storage-detection.d.ts +2 -0
- package/dist/shared/opencode-storage-paths.d.ts +4 -0
- package/dist/shared/opencode-version.d.ts +24 -0
- package/dist/shared/permission-compat.d.ts +19 -0
- package/dist/shared/poll-timeout-outcome.d.ts +21 -0
- package/dist/shared/port-utils.d.ts +9 -0
- package/dist/shared/record-type-guard.d.ts +1 -0
- package/dist/shared/revive-outcome.d.ts +15 -0
- package/dist/shared/rtk-enforcement.d.ts +18 -0
- package/dist/shared/safe-create-hook.d.ts +6 -0
- package/dist/shared/saturated-outcome.d.ts +18 -0
- package/dist/shared/sentinels.d.ts +2 -0
- package/dist/shared/session-context-source.d.ts +36 -0
- package/dist/shared/session-cursor.d.ts +9 -0
- package/dist/shared/session-directory-resolver.d.ts +1 -0
- package/dist/shared/session-facade.d.ts +55 -0
- package/dist/shared/session-id.d.ts +8 -0
- package/dist/shared/session-injected-paths.d.ts +5 -0
- package/dist/shared/session-message.d.ts +30 -0
- package/dist/shared/session-state.d.ts +15 -0
- package/dist/shared/session-utils.d.ts +2 -0
- package/dist/shared/shell-env.d.ts +25 -0
- package/dist/shared/shell-tool-name.d.ts +15 -0
- package/dist/shared/skill-path-resolver.d.ts +9 -0
- package/dist/shared/software-dev-enforcement/index.d.ts +2 -0
- package/dist/shared/software-dev-enforcement/payload.d.ts +29 -0
- package/dist/shared/software-dev-enforcement/targets.d.ts +13 -0
- package/dist/shared/state-root.d.ts +26 -0
- package/dist/shared/status-types.d.ts +1 -0
- package/dist/shared/system-directive.d.ts +77 -0
- package/dist/shared/task-system-gating.d.ts +33 -0
- package/dist/shared/tmux/constants.d.ts +5 -0
- package/dist/shared/tmux/tmux-utils/environment.d.ts +3 -0
- package/dist/shared/tmux/tmux-utils/pane-dimensions.d.ts +5 -0
- package/dist/shared/tmux/tmux-utils/server-health.d.ts +2 -0
- package/dist/shared/tmux/tmux-utils.d.ts +4 -0
- package/dist/shared/tmux/types.d.ts +4 -0
- package/dist/shared/token-cache.d.ts +23 -0
- package/dist/shared/tool-guards.d.ts +16 -0
- package/dist/shared/transcript-path.d.ts +1 -0
- package/dist/shared/truncate-description.d.ts +1 -0
- package/dist/shared/unwrap-list.d.ts +1 -0
- package/dist/shared/wallclock-outcome.d.ts +18 -0
- package/dist/shared/with-ephemeral-session.d.ts +16 -0
- package/dist/shared/with-timeout.d.ts +1 -0
- package/dist/shared/zip-extractor.d.ts +1 -0
- package/dist/skills/index.d.ts +4 -0
- package/dist/skills/lazy-skill-helper.d.ts +17 -0
- package/dist/skills/schemas/audits-store.d.ts +90 -0
- package/dist/skills/schemas/security-audit.d.ts +144 -0
- package/dist/skills/skills/bdd-backend.d.ts +3 -0
- package/dist/skills/skills/bdd-contract.d.ts +3 -0
- package/dist/skills/skills/bdd-frontend.d.ts +3 -0
- package/dist/skills/skills/bdd-tests.d.ts +3 -0
- package/dist/skills/skills/ccxt-pro-websockets.d.ts +3 -0
- package/dist/skills/skills/ccxt-rest.d.ts +3 -0
- package/dist/skills/skills/crypto-market-structure.d.ts +3 -0
- package/dist/skills/skills/data-quality-observability.d.ts +3 -0
- package/dist/skills/skills/dev-browser.d.ts +2 -0
- package/dist/skills/skills/docker-master.d.ts +2 -0
- package/dist/skills/skills/document-reader.d.ts +2 -0
- package/dist/skills/skills/dsl-codegen.d.ts +3 -0
- package/dist/skills/skills/dsl-composition.d.ts +3 -0
- package/dist/skills/skills/dsl-core.d.ts +3 -0
- package/dist/skills/skills/dsl-grammar.d.ts +3 -0
- package/dist/skills/skills/dsl-metamodel.d.ts +3 -0
- package/dist/skills/skills/dsl-model-transformation.d.ts +3 -0
- package/dist/skills/skills/dsl-pyecore-advanced.d.ts +3 -0
- package/dist/skills/skills/dsl-testing.d.ts +3 -0
- package/dist/skills/skills/dsl-textx-ecosystem.d.ts +3 -0
- package/dist/skills/skills/dsl-tooling.d.ts +3 -0
- package/dist/skills/skills/dsl-validation.d.ts +3 -0
- package/dist/skills/skills/frontend-a11y.d.ts +3 -0
- package/dist/skills/skills/frontend-build-tooling.d.ts +3 -0
- package/dist/skills/skills/frontend-perf.d.ts +3 -0
- package/dist/skills/skills/frontend-react-nextjs.d.ts +3 -0
- package/dist/skills/skills/frontend-state-data.d.ts +3 -0
- package/dist/skills/skills/frontend-svelte-sveltekit.d.ts +3 -0
- package/dist/skills/skills/frontend-testing.d.ts +3 -0
- package/dist/skills/skills/frontend-ui-ux.d.ts +2 -0
- package/dist/skills/skills/git-master.d.ts +2 -0
- package/dist/skills/skills/grafana-dashboards.d.ts +3 -0
- package/dist/skills/skills/index.d.ts +69 -0
- package/dist/skills/skills/influxdb-timeseries.d.ts +3 -0
- package/dist/skills/skills/market-data-architecture.d.ts +3 -0
- package/dist/skills/skills/market-data-bus.d.ts +3 -0
- package/dist/skills/skills/market-data-robustness-review.d.ts +3 -0
- package/dist/skills/skills/matrixx-self-config.d.ts +3 -0
- package/dist/skills/skills/playwright-cli.d.ts +10 -0
- package/dist/skills/skills/playwright.d.ts +3 -0
- package/dist/skills/skills/python-asyncio.d.ts +3 -0
- package/dist/skills/skills/quality-gate.d.ts +2 -0
- package/dist/skills/skills/remove-ai-slops.d.ts +2 -0
- package/dist/skills/skills/resilience-error-taxonomy.d.ts +3 -0
- package/dist/skills/skills/resilience-failure-hunting.d.ts +3 -0
- package/dist/skills/skills/review-work.d.ts +2 -0
- package/dist/skills/skills/security-api.d.ts +3 -0
- package/dist/skills/skills/security-audit.d.ts +3 -0
- package/dist/skills/skills/security-core.d.ts +3 -0
- package/dist/skills/skills/security-crypto.d.ts +3 -0
- package/dist/skills/skills/security-dast.d.ts +3 -0
- package/dist/skills/skills/security-dependencies.d.ts +3 -0
- package/dist/skills/skills/security-infra.d.ts +3 -0
- package/dist/skills/skills/security-review.d.ts +3 -0
- package/dist/skills/skills/security-sast.d.ts +3 -0
- package/dist/skills/skills/security-secrets.d.ts +3 -0
- package/dist/skills/skills/silent-failure-detection.d.ts +3 -0
- package/dist/skills/skills/software-dev.d.ts +2 -0
- package/dist/skills/skills/systematic-debugging.d.ts +2 -0
- package/dist/skills/skills/tdd-enforcer.d.ts +2 -0
- package/dist/skills/skills/telegram-bot.d.ts +3 -0
- package/dist/skills/skills/time-series-fundamentals.d.ts +3 -0
- package/dist/skills/skills/ulw-research.d.ts +2 -0
- package/dist/skills/skills/zeromq-advanced-reqrep.d.ts +3 -0
- package/dist/skills/skills/zeromq-architecture.d.ts +3 -0
- package/dist/skills/skills/zeromq-core.d.ts +3 -0
- package/dist/skills/skills/zeromq-frameworks.d.ts +3 -0
- package/dist/skills/skills/zeromq-pubsub.d.ts +3 -0
- package/dist/skills/skills/zeromq-reliability.d.ts +3 -0
- package/dist/skills/skills/zeromq-sockets-patterns.d.ts +3 -0
- package/dist/skills/skills.d.ts +7 -0
- package/dist/skills/skills.transform.d.ts +27 -0
- package/dist/skills/types.d.ts +24 -0
- package/dist/tool-entry.d.ts +6 -0
- package/dist/tools/assembly/assembly-executor.d.ts +17 -0
- package/dist/tools/assembly/constants.d.ts +6 -0
- package/dist/tools/assembly/provider-selector.d.ts +3 -0
- package/dist/tools/assembly/synthesizer.d.ts +3 -0
- package/dist/tools/assembly/tool-description.d.ts +2 -0
- package/dist/tools/assembly/tools.d.ts +10 -0
- package/dist/tools/assembly/types.d.ts +25 -0
- package/dist/tools/assembly/voter-spawner.d.ts +3 -0
- package/dist/tools/ast-grep/cli-binary-path-resolution.d.ts +4 -0
- package/dist/tools/ast-grep/cli.d.ts +12 -0
- package/dist/tools/ast-grep/constants.d.ts +4 -0
- package/dist/tools/ast-grep/downloader.d.ts +4 -0
- package/dist/tools/ast-grep/environment-check.d.ts +16 -0
- package/dist/tools/ast-grep/language-support.d.ts +5 -0
- package/dist/tools/ast-grep/pattern-hints.d.ts +4 -0
- package/dist/tools/ast-grep/process-output-timeout.d.ts +12 -0
- package/dist/tools/ast-grep/result-formatter.d.ts +3 -0
- package/dist/tools/ast-grep/sg-cli-path.d.ts +3 -0
- package/dist/tools/ast-grep/sg-compact-json-output.d.ts +2 -0
- package/dist/tools/ast-grep/tool-descriptions.d.ts +3 -0
- package/dist/tools/ast-grep/tools.d.ts +3 -0
- package/dist/tools/ast-grep/types.d.ts +35 -0
- package/dist/tools/background-task/clients.d.ts +26 -0
- package/dist/tools/background-task/constants.d.ts +4 -0
- package/dist/tools/background-task/create-background-cancel.d.ts +4 -0
- package/dist/tools/background-task/create-background-output.d.ts +4 -0
- package/dist/tools/background-task/create-background-revive.d.ts +3 -0
- package/dist/tools/background-task/create-background-wait-all.d.ts +3 -0
- package/dist/tools/background-task/full-session-format.d.ts +9 -0
- package/dist/tools/background-task/index.d.ts +3 -0
- package/dist/tools/background-task/message-dir.d.ts +1 -0
- package/dist/tools/background-task/session-messages.d.ts +3 -0
- package/dist/tools/background-task/task-result-format.d.ts +3 -0
- package/dist/tools/background-task/task-status-format.d.ts +2 -0
- package/dist/tools/background-task/time-format.d.ts +1 -0
- package/dist/tools/background-task/tools.d.ts +5 -0
- package/dist/tools/background-task/truncate-text.d.ts +1 -0
- package/dist/tools/background-task/types.d.ts +79 -0
- package/dist/tools/bdd-create-contract/constants.d.ts +1 -0
- package/dist/tools/bdd-create-contract/tools.d.ts +3 -0
- package/dist/tools/bdd-create-contract/types.d.ts +12 -0
- package/dist/tools/bdd-parse-gherkin/constants.d.ts +1 -0
- package/dist/tools/bdd-parse-gherkin/tools.d.ts +5 -0
- package/dist/tools/bdd-parse-gherkin/types.d.ts +9 -0
- package/dist/tools/bdd-pipeline/analysis-report-sections.d.ts +10 -0
- package/dist/tools/bdd-pipeline/analysis-report.d.ts +9 -0
- package/dist/tools/bdd-pipeline/constants.d.ts +4 -0
- package/dist/tools/bdd-pipeline/feature-resolver.d.ts +5 -0
- package/dist/tools/bdd-pipeline/pipeline-runner.d.ts +6 -0
- package/dist/tools/bdd-pipeline/subagent-runner.d.ts +14 -0
- package/dist/tools/bdd-pipeline/tools.d.ts +5 -0
- package/dist/tools/bdd-pipeline/types.d.ts +74 -0
- package/dist/tools/bdd-validate-contract/tools.d.ts +21 -0
- package/dist/tools/dashboard-flux-validator/constants.d.ts +8 -0
- package/dist/tools/dashboard-flux-validator/tools.d.ts +3 -0
- package/dist/tools/dashboard-flux-validator/types.d.ts +20 -0
- package/dist/tools/dashboard-flux-validator/validator.d.ts +5 -0
- package/dist/tools/delegate-task/available-models.d.ts +2 -0
- package/dist/tools/delegate-task/background-continuation.d.ts +3 -0
- package/dist/tools/delegate-task/background-task.d.ts +8 -0
- package/dist/tools/delegate-task/categories.d.ts +22 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +24 -0
- package/dist/tools/delegate-task/complexity-constants.d.ts +23 -0
- package/dist/tools/delegate-task/complexity-scorer.d.ts +31 -0
- package/dist/tools/delegate-task/complexity-types.d.ts +10 -0
- package/dist/tools/delegate-task/constants.d.ts +37 -0
- package/dist/tools/delegate-task/default-model.d.ts +27 -0
- package/dist/tools/delegate-task/diagnostic-shape.d.ts +4 -0
- package/dist/tools/delegate-task/error-formatting.d.ts +6 -0
- package/dist/tools/delegate-task/executor-types.d.ts +37 -0
- package/dist/tools/delegate-task/executor.d.ts +11 -0
- package/dist/tools/delegate-task/index.d.ts +10 -0
- package/dist/tools/delegate-task/model-selection.d.ts +11 -0
- package/dist/tools/delegate-task/model-string-parser.d.ts +7 -0
- package/dist/tools/delegate-task/mouse-agent.d.ts +1 -0
- package/dist/tools/delegate-task/parent-context-resolver.d.ts +3 -0
- package/dist/tools/delegate-task/prompt-builder.d.ts +7 -0
- package/dist/tools/delegate-task/skill-resolver.d.ts +8 -0
- package/dist/tools/delegate-task/software-dev-enforcement.d.ts +1 -0
- package/dist/tools/delegate-task/software-dev-payload.d.ts +1 -0
- package/dist/tools/delegate-task/subagent-resolver.d.ts +11 -0
- package/dist/tools/delegate-task/sync-continuation-deps.d.ts +7 -0
- package/dist/tools/delegate-task/sync-continuation.d.ts +4 -0
- package/dist/tools/delegate-task/sync-empty-retry.d.ts +8 -0
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +27 -0
- package/dist/tools/delegate-task/sync-result-fetcher.d.ts +13 -0
- package/dist/tools/delegate-task/sync-session-creator.d.ts +21 -0
- package/dist/tools/delegate-task/sync-session-poller.d.ts +18 -0
- package/dist/tools/delegate-task/sync-task-deps.d.ts +11 -0
- package/dist/tools/delegate-task/sync-task.d.ts +10 -0
- package/dist/tools/delegate-task/task-title.d.ts +11 -0
- package/dist/tools/delegate-task/timing.d.ts +16 -0
- package/dist/tools/delegate-task/tool-options.d.ts +12 -0
- package/dist/tools/delegate-task/tools.d.ts +16 -0
- package/dist/tools/delegate-task/types.d.ts +90 -0
- package/dist/tools/delegate-task/unstable-agent-task.d.ts +8 -0
- package/dist/tools/evolution/constants.d.ts +24 -0
- package/dist/tools/evolution/index.d.ts +3 -0
- package/dist/tools/evolution/query-actions.d.ts +3 -0
- package/dist/tools/evolution/tools.d.ts +16 -0
- package/dist/tools/evolution/types.d.ts +20 -0
- package/dist/tools/github-search/cli.d.ts +7 -0
- package/dist/tools/github-search/constants.d.ts +6 -0
- package/dist/tools/github-search/result-formatter.d.ts +2 -0
- package/dist/tools/github-search/tools.d.ts +3 -0
- package/dist/tools/github-search/types.d.ts +20 -0
- package/dist/tools/glob/cli.d.ts +11 -0
- package/dist/tools/glob/constants.d.ts +6 -0
- package/dist/tools/glob/result-formatter.d.ts +2 -0
- package/dist/tools/glob/tools.d.ts +3 -0
- package/dist/tools/glob/types.d.ts +20 -0
- package/dist/tools/grep/cli.d.ts +2 -0
- package/dist/tools/grep/constants.d.ts +16 -0
- package/dist/tools/grep/downloader.d.ts +3 -0
- package/dist/tools/grep/result-formatter.d.ts +2 -0
- package/dist/tools/grep/tools.d.ts +3 -0
- package/dist/tools/grep/types.d.ts +32 -0
- package/dist/tools/handoff/archive-handler.d.ts +9 -0
- package/dist/tools/handoff/body-formatter.d.ts +9 -0
- package/dist/tools/handoff/constants.d.ts +14 -0
- package/dist/tools/handoff/create-handler.d.ts +35 -0
- package/dist/tools/handoff/git.d.ts +12 -0
- package/dist/tools/handoff/list-handler.d.ts +8 -0
- package/dist/tools/handoff/read-handler.d.ts +8 -0
- package/dist/tools/handoff/tools.d.ts +11 -0
- package/dist/tools/hashline-edit/autocorrect-replacement-lines.d.ts +1 -0
- package/dist/tools/hashline-edit/constants.d.ts +34 -0
- package/dist/tools/hashline-edit/diff-utils.d.ts +6 -0
- package/dist/tools/hashline-edit/edit-deduplication.d.ts +5 -0
- package/dist/tools/hashline-edit/edit-operation-primitives.d.ts +10 -0
- package/dist/tools/hashline-edit/edit-operations.d.ts +9 -0
- package/dist/tools/hashline-edit/edit-ordering.d.ts +4 -0
- package/dist/tools/hashline-edit/edit-text-normalization.d.ts +5 -0
- package/dist/tools/hashline-edit/file-text-canonicalization.d.ts +8 -0
- package/dist/tools/hashline-edit/hash-computation.d.ts +17 -0
- package/dist/tools/hashline-edit/hashline-chunk-formatter.d.ts +10 -0
- package/dist/tools/hashline-edit/hashline-edit-executor.d.ts +10 -0
- package/dist/tools/hashline-edit/index.d.ts +6 -0
- package/dist/tools/hashline-edit/normalize-edits.d.ts +10 -0
- package/dist/tools/hashline-edit/tool-description.d.ts +1 -0
- package/dist/tools/hashline-edit/tools.d.ts +2 -0
- package/dist/tools/hashline-edit/types.d.ts +17 -0
- package/dist/tools/hashline-edit/validation.d.ts +18 -0
- package/dist/tools/index.d.ts +42 -0
- package/dist/tools/interactive-bash/constants.d.ts +3 -0
- package/dist/tools/interactive-bash/index.d.ts +3 -0
- package/dist/tools/interactive-bash/tmux-path-resolver.d.ts +3 -0
- package/dist/tools/interactive-bash/tools.d.ts +7 -0
- package/dist/tools/knowledge-hub-confirm/tools.d.ts +12 -0
- package/dist/tools/look-at/assistant-message-extractor.d.ts +1 -0
- package/dist/tools/look-at/constants.d.ts +2 -0
- package/dist/tools/look-at/look-at-arguments.d.ts +6 -0
- package/dist/tools/look-at/mime-type-inference.d.ts +3 -0
- package/dist/tools/look-at/multimodal-agent-metadata.d.ts +11 -0
- package/dist/tools/look-at/tools.d.ts +4 -0
- package/dist/tools/look-at/types.d.ts +5 -0
- package/dist/tools/lsp/client.d.ts +3 -0
- package/dist/tools/lsp/config.d.ts +3 -0
- package/dist/tools/lsp/constants.d.ts +5 -0
- package/dist/tools/lsp/diagnostics-tool.d.ts +2 -0
- package/dist/tools/lsp/find-references-tool.d.ts +2 -0
- package/dist/tools/lsp/goto-definition-tool.d.ts +2 -0
- package/dist/tools/lsp/index.d.ts +8 -0
- package/dist/tools/lsp/language-config.d.ts +1 -0
- package/dist/tools/lsp/language-mappings.d.ts +3 -0
- package/dist/tools/lsp/lsp-client-connection.d.ts +4 -0
- package/dist/tools/lsp/lsp-client-transport.d.ts +20 -0
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +4 -0
- package/dist/tools/lsp/lsp-client.d.ts +17 -0
- package/dist/tools/lsp/lsp-formatters.d.ts +9 -0
- package/dist/tools/lsp/lsp-manager-process-cleanup.d.ts +12 -0
- package/dist/tools/lsp/lsp-manager-temp-directory-cleanup.d.ts +8 -0
- package/dist/tools/lsp/lsp-process.d.ts +29 -0
- package/dist/tools/lsp/lsp-server.d.ts +23 -0
- package/dist/tools/lsp/rename-tools.d.ts +3 -0
- package/dist/tools/lsp/server-config-loader.d.ts +25 -0
- package/dist/tools/lsp/server-definitions.d.ts +3 -0
- package/dist/tools/lsp/server-installation.d.ts +1 -0
- package/dist/tools/lsp/server-resolution.d.ts +15 -0
- package/dist/tools/lsp/symbols-tool.d.ts +2 -0
- package/dist/tools/lsp/tools.d.ts +5 -0
- package/dist/tools/lsp/types.d.ts +124 -0
- package/dist/tools/lsp/workspace-edit.d.ts +8 -0
- package/dist/tools/market-symbol-validator/constants.d.ts +14 -0
- package/dist/tools/market-symbol-validator/tools.d.ts +3 -0
- package/dist/tools/market-symbol-validator/types.d.ts +21 -0
- package/dist/tools/market-symbol-validator/validator.d.ts +9 -0
- package/dist/tools/notepad/constants.d.ts +24 -0
- package/dist/tools/notepad/index.d.ts +20 -0
- package/dist/tools/notepad/notepad-append.d.ts +4 -0
- package/dist/tools/notepad/notepad-create.d.ts +3 -0
- package/dist/tools/notepad/notepad-list.d.ts +3 -0
- package/dist/tools/notepad/notepad-read.d.ts +3 -0
- package/dist/tools/notepad/types.d.ts +14 -0
- package/dist/tools/notepad/validation.d.ts +33 -0
- package/dist/tools/pdf-extract-figures/tools.d.ts +11 -0
- package/dist/tools/plan/constants.d.ts +13 -0
- package/dist/tools/plan/error-codes.d.ts +99 -0
- package/dist/tools/plan/index.d.ts +7 -0
- package/dist/tools/plan/plan-create.d.ts +3 -0
- package/dist/tools/plan/plan-delete.d.ts +3 -0
- package/dist/tools/plan/plan-list.d.ts +3 -0
- package/dist/tools/plan/plan-read-pagination.d.ts +42 -0
- package/dist/tools/plan/plan-read.d.ts +3 -0
- package/dist/tools/plan/plan-tasks-clamp.d.ts +32 -0
- package/dist/tools/plan/plan-tasks.d.ts +3 -0
- package/dist/tools/plan/plan-update.d.ts +4 -0
- package/dist/tools/plan/plan-write-guard.d.ts +38 -0
- package/dist/tools/plan/section-edit.d.ts +24 -0
- package/dist/tools/plan/section-index.d.ts +22 -0
- package/dist/tools/plan/section-locate.d.ts +9 -0
- package/dist/tools/plan/section-read.d.ts +24 -0
- package/dist/tools/plan/status-transition.d.ts +47 -0
- package/dist/tools/plan/types.d.ts +56 -0
- package/dist/tools/preset/tools.d.ts +7 -0
- package/dist/tools/session-cleanup/index.d.ts +13 -0
- package/dist/tools/session-manager/constants.d.ts +9 -0
- package/dist/tools/session-manager/path-normalize.d.ts +7 -0
- package/dist/tools/session-manager/session-formatter.d.ts +11 -0
- package/dist/tools/session-manager/storage.d.ts +61 -0
- package/dist/tools/session-manager/tools.d.ts +4 -0
- package/dist/tools/session-manager/types.d.ts +86 -0
- package/dist/tools/shared/define-tool.d.ts +78 -0
- package/dist/tools/silent-failure-scanner/constants.d.ts +10 -0
- package/dist/tools/silent-failure-scanner/index.d.ts +4 -0
- package/dist/tools/silent-failure-scanner/scanner.d.ts +8 -0
- package/dist/tools/silent-failure-scanner/tools.d.ts +3 -0
- package/dist/tools/silent-failure-scanner/types.d.ts +43 -0
- package/dist/tools/skill/constants.d.ts +2 -0
- package/dist/tools/skill/tools.d.ts +4 -0
- package/dist/tools/skill/types.d.ts +22 -0
- package/dist/tools/slashcommand/command-discovery.d.ts +2 -0
- package/dist/tools/slashcommand/command-output-formatter.d.ts +3 -0
- package/dist/tools/slashcommand/skill-command-converter.d.ts +3 -0
- package/dist/tools/slashcommand/slashcommand-description.d.ts +3 -0
- package/dist/tools/slashcommand/slashcommand-tool.d.ts +4 -0
- package/dist/tools/slashcommand/tools.d.ts +2 -0
- package/dist/tools/slashcommand/types.d.ts +46 -0
- package/dist/tools/staleness-gap-checker/checker.d.ts +15 -0
- package/dist/tools/staleness-gap-checker/constants.d.ts +3 -0
- package/dist/tools/staleness-gap-checker/index.d.ts +4 -0
- package/dist/tools/staleness-gap-checker/tools.d.ts +3 -0
- package/dist/tools/staleness-gap-checker/types.d.ts +42 -0
- package/dist/tools/task/constants.d.ts +7 -0
- package/dist/tools/task/create-one.d.ts +21 -0
- package/dist/tools/task/index.d.ts +6 -0
- package/dist/tools/task/task-cleanup.d.ts +4 -0
- package/dist/tools/task/task-create.d.ts +4 -0
- package/dist/tools/task/task-get.d.ts +4 -0
- package/dist/tools/task/task-list.d.ts +4 -0
- package/dist/tools/task/task-update.d.ts +4 -0
- package/dist/tools/task/types.d.ts +156 -0
- package/dist/tools.js +10856 -0
- package/package.json +115 -4
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mission State Storage
|
|
3
|
+
*
|
|
4
|
+
* Handles reading/writing mission.json for active plan tracking.
|
|
5
|
+
*/
|
|
6
|
+
import type { MissionState, PlanProgress } from "./types";
|
|
7
|
+
export declare function readMissionState(directory: string): MissionState | null;
|
|
8
|
+
/**
|
|
9
|
+
* Normalize a parsed mission.json value in memory (no disk rewrite).
|
|
10
|
+
* Legacy files used a singular `session_id` string; modern files use
|
|
11
|
+
* `session_ids[]`. Missing or non-array values become `[]` unless a
|
|
12
|
+
* legacy `session_id` string is present, which becomes `[session_id]`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function normalizeMissionState(parsed: unknown): MissionState | null;
|
|
15
|
+
/**
|
|
16
|
+
* Rotate the mission when its active plan is complete: clear mission.json
|
|
17
|
+
* so the next start-work run auto-selects instead of zombie-resuming.
|
|
18
|
+
* Returns `{ rotated: true, state: null }` after clearing, otherwise the
|
|
19
|
+
* preserved state. Never rewrites an incomplete or missing mission.
|
|
20
|
+
*/
|
|
21
|
+
export declare function rotateMissionIfComplete(directory: string): {
|
|
22
|
+
rotated: boolean;
|
|
23
|
+
state: MissionState | null;
|
|
24
|
+
};
|
|
25
|
+
export declare function writeMissionState(directory: string, state: MissionState): boolean;
|
|
26
|
+
export declare function appendSessionId(directory: string, sessionId: string): MissionState | null;
|
|
27
|
+
export declare function clearMissionState(directory: string): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Find Oracle plan files for this project.
|
|
30
|
+
* Oracle stores plans at: {project}/.matrixx/plans/{name}.md
|
|
31
|
+
*/
|
|
32
|
+
export declare function findOraclePlans(directory: string): string[];
|
|
33
|
+
/**
|
|
34
|
+
* Count checkbox progress from plan content.
|
|
35
|
+
*
|
|
36
|
+
* Single content-level implementation behind getPlanProgress: numbered
|
|
37
|
+
* task lines (Oracle format) win when present, otherwise all top-level
|
|
38
|
+
* checkboxes count. Indented boxes never count. Do NOT inline checkbox
|
|
39
|
+
* regexes elsewhere — import the Task 2 constants instead.
|
|
40
|
+
*/
|
|
41
|
+
export declare function countPlanProgressFromContent(content: string): PlanProgress;
|
|
42
|
+
/**
|
|
43
|
+
* Parse a plan file and count checkbox progress.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getPlanProgress(planPath: string): PlanProgress;
|
|
46
|
+
/**
|
|
47
|
+
* Extract plan name from file path.
|
|
48
|
+
*/
|
|
49
|
+
export declare function getPlanName(planPath: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* Create a new mission state for a plan.
|
|
52
|
+
*/
|
|
53
|
+
export declare function createMissionState(planPath: string, sessionId: string, agent?: string): MissionState;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mission State Types
|
|
3
|
+
*
|
|
4
|
+
* Manages the active work plan state for Morpheus orchestrator.
|
|
5
|
+
* Named after the Matrix mission - the eternal task that must be rolled.
|
|
6
|
+
*/
|
|
7
|
+
export interface MissionState {
|
|
8
|
+
/** Absolute path to the active plan file */
|
|
9
|
+
active_plan: string;
|
|
10
|
+
/** ISO timestamp when work started */
|
|
11
|
+
started_at: string;
|
|
12
|
+
/** Session IDs that have worked on this plan */
|
|
13
|
+
session_ids: string[];
|
|
14
|
+
/** Plan name derived from filename */
|
|
15
|
+
plan_name: string;
|
|
16
|
+
/** Agent type to use when resuming (e.g., 'niobe') */
|
|
17
|
+
agent?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface PlanProgress {
|
|
20
|
+
/** Total number of checkboxes */
|
|
21
|
+
total: number;
|
|
22
|
+
/** Number of completed checkboxes */
|
|
23
|
+
completed: number;
|
|
24
|
+
/** Whether all tasks are done */
|
|
25
|
+
isComplete: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* True when total is 0 (empty, prose-only, or missing plan).
|
|
28
|
+
* isComplete stays true by vacuity; callers should log/warn and
|
|
29
|
+
* route these plans to human triage instead of treating them as done.
|
|
30
|
+
*/
|
|
31
|
+
needsTriage?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Plan Persistence Types
|
|
35
|
+
* Machine-parseable metadata appended as HTML comment to plan files
|
|
36
|
+
*/
|
|
37
|
+
/** Machine-parseable metadata appended as HTML comment to plan files */
|
|
38
|
+
export interface PlanMeta {
|
|
39
|
+
/** Plan file name without .md extension */
|
|
40
|
+
id: string;
|
|
41
|
+
/** ISO timestamp of last write */
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
/** Session ID that triggered the last write */
|
|
44
|
+
sessionId: string;
|
|
45
|
+
/** Total todo count at time of write */
|
|
46
|
+
todoTotal: number;
|
|
47
|
+
/** Completed todo count at time of write */
|
|
48
|
+
todoCompleted: number;
|
|
49
|
+
/** Git HEAD at time of write (optional) */
|
|
50
|
+
gitHead?: {
|
|
51
|
+
sha: string;
|
|
52
|
+
branch?: string;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/** Events the plan-persister hook listens to */
|
|
56
|
+
export type PlanPersistEvent = {
|
|
57
|
+
type: "session.idle";
|
|
58
|
+
sessionID: string;
|
|
59
|
+
} | {
|
|
60
|
+
type: "session.compacted";
|
|
61
|
+
sessionID: string;
|
|
62
|
+
};
|
|
63
|
+
/** Return value of buildRehydrationContext */
|
|
64
|
+
export interface RehydrationContext {
|
|
65
|
+
planName: string;
|
|
66
|
+
planPath: string;
|
|
67
|
+
content: string;
|
|
68
|
+
progress: {
|
|
69
|
+
total: number;
|
|
70
|
+
completed: number;
|
|
71
|
+
};
|
|
72
|
+
directive: string;
|
|
73
|
+
}
|
|
74
|
+
/** Options for the plan-persister hook */
|
|
75
|
+
export interface PlanPersistenceOptions {
|
|
76
|
+
/** Project root directory */
|
|
77
|
+
directory: string;
|
|
78
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { collectNamedRegions, findNamedRegion, type NamedRegion, type RegionStart, type RegionStartPredicate, } from "./region";
|
|
2
|
+
/**
|
|
3
|
+
* Return the ZERO-BASED line index of the first `## Appendix` H2, or `-1` when
|
|
4
|
+
* the plan has no appendix. "Normalized" means the heading text is trimmed.
|
|
5
|
+
*
|
|
6
|
+
* The value is UNCHANGED from the pre-generalization implementation, and this
|
|
7
|
+
* function is the ONLY place that converts the primitive's 1-based
|
|
8
|
+
* `startIndex` into a 0-based index — every other consumer works in 1-based
|
|
9
|
+
* line numbers, matching `PlanSectionIndexEntry`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function findAppendixStart(content: string): number;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Contract Constants
|
|
3
|
+
*
|
|
4
|
+
* Canonical structure of an Oracle work plan: the ordered H2 sections and the
|
|
5
|
+
* required per-task grammar. Checkbox regexes are the single source of truth in
|
|
6
|
+
* mission-state — re-exported here, never re-declared.
|
|
7
|
+
*/
|
|
8
|
+
export { NUMBERED_CHECKED_RE, NUMBERED_UNCHECKED_RE, TOP_CHECKED_RE, TOP_UNCHECKED_RE, } from "../../features/mission-state/constants";
|
|
9
|
+
/** Ordered H2 section titles, exactly as emitted by the Oracle plan template. */
|
|
10
|
+
export declare const CANONICAL_SECTIONS: readonly ["TL;DR", "Context", "Work Objectives", "Global Constraints", "Verification Strategy (MANDATORY)", "Execution Strategy", "Review Focus", "TODOs", "Commit Strategy", "Success Criteria"];
|
|
11
|
+
/** Ordered labels that every TODO task block must declare. */
|
|
12
|
+
export declare const REQUIRED_TASK_SUBFIELDS: readonly ["What to do", "Must NOT do", "Recommended Agent Profile", "Parallelization", "References", "Consumes", "Produces", "Acceptance Criteria", "Agent-Executed QA Scenarios"];
|
|
13
|
+
/** Subfields the validator treats as optional: absence never warns. */
|
|
14
|
+
export declare const OPTIONAL_TASK_SUBFIELDS: readonly ["Must NOT do", "Parallelization"];
|
|
15
|
+
/** Canonical section title union derived from {@link CANONICAL_SECTIONS}. */
|
|
16
|
+
export type PlanSection = (typeof CANONICAL_SECTIONS)[number];
|
|
17
|
+
/** Canonical task subfield label union derived from {@link REQUIRED_TASK_SUBFIELDS}. */
|
|
18
|
+
export type PlanTaskSubfield = (typeof REQUIRED_TASK_SUBFIELDS)[number];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Front-Matter
|
|
3
|
+
*
|
|
4
|
+
* Structured YAML front-matter (a leading `---` fenced block) for Oracle plan
|
|
5
|
+
* files, parsed with `js-yaml`.
|
|
6
|
+
*
|
|
7
|
+
* PRECEDENCE: when a front-matter block is present it is authoritative for
|
|
8
|
+
* `status` and `revision`. The legacy `<!-- plan-persister: {...} -->` comment
|
|
9
|
+
* (see mission-state `plan-storage.ts`) remains authoritative for `todoTotal`,
|
|
10
|
+
* `todoCompleted`, `updatedAt` and `sessionId`, and is NEVER removed. Front-matter
|
|
11
|
+
* is ADDITIVE over that comment, not a replacement.
|
|
12
|
+
*
|
|
13
|
+
* WRITE PATH: `status` (and all front-matter fields) is written through the
|
|
14
|
+
* `plan_update` tool. Ownership is enforced by TRANSITION ORDER, not caller
|
|
15
|
+
* identity (MatrixxContext carries no caller identity, so ownership by caller
|
|
16
|
+
* identity is unenforceable): forward transitions (pending -> in_progress ->
|
|
17
|
+
* completed) are legal, backward transitions are hard-rejected by
|
|
18
|
+
* `plan_update` with `status_transition_rejected` unless the explicit escape
|
|
19
|
+
* hatch `{ forceCompletion: true }` is passed. A `completed` status with
|
|
20
|
+
* unchecked boxes stays advisory-only (WARN), never a hard rejection, so
|
|
21
|
+
* `status` and checkbox state cannot diverge silently.
|
|
22
|
+
*
|
|
23
|
+
* TRANSITIONS (forward-only, see `schema.ts`):
|
|
24
|
+
* `pending -> in_progress -> completed`. A backward jump (e.g.
|
|
25
|
+
* `completed -> in_progress`) is rejected by `isPlanStatusTransitionAllowed`
|
|
26
|
+
* (via `extractStatusEdit` + `adjudicate` in
|
|
27
|
+
* `src/tools/plan/status-transition.ts`) with `status_transition_rejected`
|
|
28
|
+
* unless the caller passes the explicit `{ forceCompletion: true }` override.
|
|
29
|
+
* Same-status rewrites are idempotent and always allowed.
|
|
30
|
+
*
|
|
31
|
+
* AND-GATE vs OVERRIDE (completion rule): a plan counts as complete ONLY when
|
|
32
|
+
* (every numbered checkbox checked AND `status === \"completed\"`), evaluated
|
|
33
|
+
* by `isPlanComplete`. Any mismatch evaluates to false so the caller surfaces
|
|
34
|
+
* a WARN advisory instead of silently auto-completing. The explicit override
|
|
35
|
+
* flag `forceCompletion: true` overrides the gate (advisory records the
|
|
36
|
+
* override).
|
|
37
|
+
*
|
|
38
|
+
* Serialization is IDEMPOTENT: `parse(serialize(parse(content)))` equals
|
|
39
|
+
* `parse(content)`, and `serialize(parse(serialize(fm)))` equals
|
|
40
|
+
* `serialize(fm)`. On disagreement `status` comes from the front-matter while
|
|
41
|
+
* the legacy comment is left untouched.
|
|
42
|
+
*/
|
|
43
|
+
import type { PlanFrontMatter } from "./types";
|
|
44
|
+
/**
|
|
45
|
+
* Parse the leading YAML front-matter block.
|
|
46
|
+
*
|
|
47
|
+
* Returns `null` when the block is absent, malformed, or fails the
|
|
48
|
+
* {@link PlanFrontMatter} shape (e.g. missing `status`/`revision` or an
|
|
49
|
+
* out-of-vocabulary status).
|
|
50
|
+
*/
|
|
51
|
+
export declare function parsePlanFrontMatter(content: string): PlanFrontMatter | null;
|
|
52
|
+
/**
|
|
53
|
+
* Serialize front-matter to a `---` fenced YAML block.
|
|
54
|
+
*
|
|
55
|
+
* Optional fields are omitted when `undefined`; array fields are emitted even
|
|
56
|
+
* when empty. The returned block ends with a trailing newline so it can be
|
|
57
|
+
* prepended to plan content additively.
|
|
58
|
+
*/
|
|
59
|
+
export declare function serializePlanFrontMatter(fm: PlanFrontMatter): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Contract — barrel
|
|
3
|
+
*
|
|
4
|
+
* Foundation module for the plan contract: canonical sections, task grammar,
|
|
5
|
+
* and the Zod schema for the structured plan view.
|
|
6
|
+
*/
|
|
7
|
+
export { collectNamedRegions, findAppendixStart, findNamedRegion, type NamedRegion, type RegionStart, type RegionStartPredicate, } from "./appendix";
|
|
8
|
+
export { CANONICAL_SECTIONS, NUMBERED_CHECKED_RE, NUMBERED_UNCHECKED_RE, OPTIONAL_TASK_SUBFIELDS, type PlanSection, type PlanTaskSubfield, REQUIRED_TASK_SUBFIELDS, TOP_CHECKED_RE, TOP_UNCHECKED_RE, } from "./constants";
|
|
9
|
+
export { parsePlanFrontMatter, serializePlanFrontMatter } from "./front-matter";
|
|
10
|
+
export { classifyPlanLifecycle, PLAN_LIFECYCLE_CODES, type PlanLifecycleCode, type PlanLifecycleReport, type PlanLifecycleState, type PlanSectionLifecycleResolution, resolveLifecycleSection, } from "./lifecycle";
|
|
11
|
+
export { isGrandfathered, shouldMigrate } from "./migration";
|
|
12
|
+
export { collectHeadings, type HashlineAnchors, type Heading, normalizeSectionTitle, parsePlanContract, parsePlanTasks, } from "./parse";
|
|
13
|
+
export { isPlanComplete, isPlanStatusTransitionAllowed, PLAN_STATUS_ORDER, type PlanCompletionGateInput, type PlanContract, PlanContractSchema, type PlanStatusTransitionOptions } from "./schema";
|
|
14
|
+
export { buildSectionRegistry, CONSENSUS_H3_SEEDS, extractHeadingLevel, extractHeadingText, H3_SECTION_REGISTRY, normalizeSectionKey, PLAN_SECTION_REGISTRY, resolveSectionSelector, SECTION_REGISTRY, type SectionLevel, type SectionRegistryEntry, type SectionRegistrySeed, type SectionResolution, type SectionResolutionKind, } from "./section-registry";
|
|
15
|
+
export { renderPlanSkeleton } from "./skeleton";
|
|
16
|
+
export type { PlanContractResult, PlanContractWarning, PlanFrontMatter, PlanStatus, PlanTask, } from "./types";
|
|
17
|
+
export { validatePlanContract } from "./validate";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type SectionResolution } from "./section-registry";
|
|
2
|
+
import type { PlanContractWarning } from "./types";
|
|
3
|
+
/** Advisory diagnostic codes. NOT `PlanErrorCode` — see the module header. */
|
|
4
|
+
export declare const PLAN_LIFECYCLE_CODES: {
|
|
5
|
+
/** Basename left the allowlist but the body is a legacy plan. Fix the key. */
|
|
6
|
+
readonly legacyPlanRenamed: "legacy_plan_renamed_off_allowlist";
|
|
7
|
+
/** No front-matter, no legacy metadata, not on the allowlist. */
|
|
8
|
+
readonly newPlanMissingFrontMatter: "new_plan_missing_front_matter";
|
|
9
|
+
};
|
|
10
|
+
export type PlanLifecycleCode = (typeof PLAN_LIFECYCLE_CODES)[keyof typeof PLAN_LIFECYCLE_CODES];
|
|
11
|
+
/** Which lifecycle bucket a plan falls into, after the allowlist lookup. */
|
|
12
|
+
export type PlanLifecycleState = "modern" | "grandfathered" | "legacy_renamed" | "new_plan_missing_front_matter";
|
|
13
|
+
/** Advisory outcome of a lifecycle lookup. Never carries errors. */
|
|
14
|
+
export interface PlanLifecycleReport {
|
|
15
|
+
state: PlanLifecycleState;
|
|
16
|
+
/** Plan basename without `.md` — the key the allowlist is matched on. */
|
|
17
|
+
planId: string;
|
|
18
|
+
/** Advisory diagnostics. Empty for `modern` and `grandfathered`. */
|
|
19
|
+
warnings: PlanContractWarning[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Classify a plan's lifecycle and return its ADVISORY diagnostics.
|
|
23
|
+
*
|
|
24
|
+
* Rule 1: a missing front-matter block is a lifecycle fact, never an input to
|
|
25
|
+
* section resolution — this function does not resolve sections.
|
|
26
|
+
* Rule 4: nothing here writes. The allowlist stays frozen; a renamed plan is
|
|
27
|
+
* reported so a human can re-key it, never auto-re-adopted.
|
|
28
|
+
*/
|
|
29
|
+
export declare function classifyPlanLifecycle(filePath: string, content: string): PlanLifecycleReport;
|
|
30
|
+
/** A section resolution paired with the lifecycle it was reached under. */
|
|
31
|
+
export interface PlanSectionLifecycleResolution {
|
|
32
|
+
lifecycle: PlanLifecycleReport;
|
|
33
|
+
resolution: SectionResolution;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Resolve a section selector for a plan, identically for every lifecycle state.
|
|
37
|
+
*
|
|
38
|
+
* `content` never reaches the registry: sections derive from the BODY, so a
|
|
39
|
+
* modern plan and the same plan as a legacy file resolve to the same value
|
|
40
|
+
* (rules 1 and 2). The lifecycle is reported alongside so a caller can attach
|
|
41
|
+
* the ADVISORY without conflating it with the resolution outcome — a rename
|
|
42
|
+
* diagnostic never changes what a selector resolves to.
|
|
43
|
+
*/
|
|
44
|
+
export declare function resolveLifecycleSection(selector: string, filePath: string, content: string): PlanSectionLifecycleResolution;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Contract — Migration Dry-Run Report (Task 4)
|
|
3
|
+
*
|
|
4
|
+
* LOCAL-ONLY SEMANTICS: `.matrixx/` is gitignored. Every path scanned and
|
|
5
|
+
* every recommendation below is local to this clone — nothing here is
|
|
6
|
+
* committed, pushed, or shared. Do not treat this report as a repo-wide
|
|
7
|
+
* migration plan.
|
|
8
|
+
*
|
|
9
|
+
* Explicit migration = apply-on-touch ONLY (lifecycle rule 4
|
|
10
|
+
* "Never auto-migrate"): front-matter is added on the next `plan_update`
|
|
11
|
+
* of a touched plan, never via a batch rewrite. This module performs
|
|
12
|
+
* ZERO writes: no `plan_update`, no `renameSync`, no `mkdirSync`, no
|
|
13
|
+
* metadata-comment stripping. It mirrors the `archiveStalePlans`
|
|
14
|
+
* dry-run + collision-skip + never-delete posture from
|
|
15
|
+
* `mission-state/reconcile.ts` — candidates are reported, never moved.
|
|
16
|
+
*
|
|
17
|
+
* dwfinance-class: a plan with zero numbered tasks (design doc /
|
|
18
|
+
* `tasks: []` divergence, `needsTriage`) routes to `archive-candidate`,
|
|
19
|
+
* NEVER to `complete`. Completion requires the Task 2 AND-gate
|
|
20
|
+
* (`isPlanComplete`); an empty plan cannot satisfy it.
|
|
21
|
+
*/
|
|
22
|
+
import { type PlanLifecycleState } from "./lifecycle";
|
|
23
|
+
/** A recommendation this report is allowed to emit. `complete` is absent by design. */
|
|
24
|
+
export type MigrationRecommendation = "apply-on-touch" | "archive-candidate" | "none";
|
|
25
|
+
export interface PlanMigrationEntry {
|
|
26
|
+
plan: string;
|
|
27
|
+
state: PlanLifecycleState;
|
|
28
|
+
progress: {
|
|
29
|
+
total: number;
|
|
30
|
+
completed: number;
|
|
31
|
+
};
|
|
32
|
+
hasFrontMatter: boolean;
|
|
33
|
+
recommendation: MigrationRecommendation;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Recommend the next step for one scanned plan. Read-only and total.
|
|
37
|
+
* Zero-task plans are `archive-candidate` (dwfinance-class); plans that
|
|
38
|
+
* already carry front-matter need nothing (`none`); everything else waits
|
|
39
|
+
* for apply-on-touch. Never returns `complete`.
|
|
40
|
+
*/
|
|
41
|
+
export declare function recommendPlanMigration(filePath: string, content: string): Omit<PlanMigrationEntry, "plan">;
|
|
42
|
+
/**
|
|
43
|
+
* Scan `<directory>/.matrixx/plans/*.md` (excluding `_archive/`, the
|
|
44
|
+
* designed archival path) and classify each plan via `classifyPlanLifecycle`
|
|
45
|
+
* + `countPlanProgressFromContent` + front-matter parse.
|
|
46
|
+
*
|
|
47
|
+
* DRY-RUN: performs zero writes — files are only read. Returns one entry
|
|
48
|
+
* per plan as a JSON-serializable array.
|
|
49
|
+
*/
|
|
50
|
+
export declare function dryRunMigrationReport(directory?: string): PlanMigrationEntry[];
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Front-Matter Migration & Grandfathering
|
|
3
|
+
*
|
|
4
|
+
* Front-matter is ADDITIVE over the legacy `<!-- plan-persister: {...} -->`
|
|
5
|
+
* comment (`mission-state/plan-storage.ts`) — it does not replace it. Migration
|
|
6
|
+
* is apply-on-next-edit ONLY: no `plan_migrate` tool is shipped and no plan is
|
|
7
|
+
* rewritten automatically.
|
|
8
|
+
*
|
|
9
|
+
* Grandfathering protects the pre-existing plan corpus from retro-breaking: a
|
|
10
|
+
* plan that lacks front-matter is only exempt when its id is on the frozen
|
|
11
|
+
* {@link GRANDFATHER_ALLOWLIST}. A brand-new plan lacking front-matter is NOT
|
|
12
|
+
* grandfathered.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Frozen allowlist of plan ids (filename without `.md`) that predate the
|
|
16
|
+
* front-matter requirement — captured from the live `.matrixx/plans` corpus
|
|
17
|
+
* (23 files) at planning time.
|
|
18
|
+
*
|
|
19
|
+
* Grandfathered plans never emit a front-matter warning and are exempt from any
|
|
20
|
+
* future FAIL-mode front-matter requirement. The exemption clears as soon as
|
|
21
|
+
* the plan gains a front-matter block.
|
|
22
|
+
*
|
|
23
|
+
* WHY THE ARCHIVED `p2.*` ENTRIES STAY (deliberate, not tidiness):
|
|
24
|
+
* `p2.1-trim-hooks`, `p2.2-generic-recovery-refactor` and `p2.3-evolution-gating`
|
|
25
|
+
* were MOVED to `.matrixx/plans/_archive/`, but they are NOT removed. Three
|
|
26
|
+
* code-grounded reasons to keep the keys:
|
|
27
|
+
*
|
|
28
|
+
* 1. The lookup is by BASENAME (`basename(filePath, ".md")` in `isGrandfathered`,
|
|
29
|
+
* and `classifyPlanLifecycle` in `lifecycle.ts`), not by directory. Archival
|
|
30
|
+
* relocates the file but does not change its id, so the key is still the
|
|
31
|
+
* correct key for that plan wherever it lives.
|
|
32
|
+
* 2. The exemption is a property of the plan's HISTORY (it predates the
|
|
33
|
+
* front-matter requirement), not of its current location. Archival is a
|
|
34
|
+
* storage decision; it does not retroactively make a plan "new".
|
|
35
|
+
* 3. `src/tools/plan/types.ts` rejects subdirectory paths, so `_archive/` is
|
|
36
|
+
* outside the plan-tool surface entirely — a key that resolves to an archived
|
|
37
|
+
* file can never be reached through a tool call, and `lifecycle.ts` rule 5
|
|
38
|
+
* states the registry deliberately does NOT special-case `_archive/`. Pruning
|
|
39
|
+
* would therefore change NO reachable lifecycle state: it would only risk a
|
|
40
|
+
* future un-archive (or a `reconcile.ts` archival move that a human later
|
|
41
|
+
* reverses) silently demoting a legacy plan from `grandfathered` to
|
|
42
|
+
* `legacy_renamed`.
|
|
43
|
+
*
|
|
44
|
+
* The list stays at its captured 23 ids. The known hazard is unchanged and
|
|
45
|
+
* documented in `lifecycle.ts`: a RENAME falls off this list silently and is
|
|
46
|
+
* surfaced as the advisory `legacy_plan_renamed_off_allowlist` rather than
|
|
47
|
+
* auto-re-adopted.
|
|
48
|
+
*/
|
|
49
|
+
export declare const GRANDFATHER_ALLOWLIST: readonly string[];
|
|
50
|
+
/**
|
|
51
|
+
* True IFF the plan has no front-matter AND its id is on the frozen allowlist.
|
|
52
|
+
*
|
|
53
|
+
* This is deliberately narrower than "any plan lacking front-matter": a new
|
|
54
|
+
* non-allowlisted plan returns `false`.
|
|
55
|
+
*/
|
|
56
|
+
export declare function isGrandfathered(filePath: string, content: string): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* True IFF front-matter is absent, for ANY plan (grandfathered included),
|
|
59
|
+
* because injection is additive. Idempotent: once front-matter is present this
|
|
60
|
+
* returns `false`.
|
|
61
|
+
*/
|
|
62
|
+
export declare function shouldMigrate(content: string): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { PlanContract } from "./schema";
|
|
2
|
+
import type { PlanTask } from "./types";
|
|
3
|
+
/** Optional caller-supplied LINE#ID anchors keyed by 1-based line number. */
|
|
4
|
+
export type HashlineAnchors = ReadonlyMap<number, string> | Readonly<Record<number, string>>;
|
|
5
|
+
export interface Heading {
|
|
6
|
+
normalized: string;
|
|
7
|
+
line: number;
|
|
8
|
+
index: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function normalizeSectionTitle(title: string): string;
|
|
11
|
+
export declare function parsePlanTasks(content: string, hashlineAnchors?: HashlineAnchors): PlanTask[];
|
|
12
|
+
export declare function collectHeadings(lines: string[]): Heading[];
|
|
13
|
+
/**
|
|
14
|
+
* Assemble the structured view of a plan.
|
|
15
|
+
*
|
|
16
|
+
* `frontMatter` is populated from the leading YAML block via the SINGLE
|
|
17
|
+
* {@link parsePlanFrontMatter} implementation, so the declared
|
|
18
|
+
* {@link PlanContract} type and the runtime shape agree. A plan without a block
|
|
19
|
+
* (or with a malformed one) yields `undefined`, never a synthesized default.
|
|
20
|
+
*/
|
|
21
|
+
export declare function parsePlanContract(content: string): PlanContract;
|
|
22
|
+
/**
|
|
23
|
+
* The largest TOP-LEVEL (H2) region in `content`, by {@link measurePlanBytes},
|
|
24
|
+
* or `null` when the plan has no H2 at all.
|
|
25
|
+
*
|
|
26
|
+
* Reuses `collectNamedRegions` — the same primitive the section index uses — so
|
|
27
|
+
* "where does a section end" cannot drift between the two. Bytes go through the
|
|
28
|
+
* one ruler (`measurePlanBytes`), never a raw `.length`.
|
|
29
|
+
*
|
|
30
|
+
* This is what makes the size-cap advisory ACTIONABLE: the total alone says
|
|
31
|
+
* "too big", the top-level region says "trim THIS one".
|
|
32
|
+
*/
|
|
33
|
+
export declare function largestSection(content: string): {
|
|
34
|
+
text: string;
|
|
35
|
+
bytes: number;
|
|
36
|
+
} | null;
|
|
37
|
+
/** True when `content` is at or beyond the advisory size threshold. */
|
|
38
|
+
export declare function isApproachingSizeCap(content: string, cap?: number): boolean;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Contract — named-region primitive.
|
|
3
|
+
*
|
|
4
|
+
* A "region" is a contiguous run of lines introduced by a heading and closed
|
|
5
|
+
* by the next heading of the SAME OR SHALLOWER level. This is the one place in
|
|
6
|
+
* `src/` that knows how to bound such a run; `validate.ts` (via `appendix.ts`)
|
|
7
|
+
* and `src/tools/plan/section-index.ts` are both consumers of it, so a plan
|
|
8
|
+
* cannot end up with two disagreeing notions of "region".
|
|
9
|
+
*
|
|
10
|
+
* INDEX CONVENTION: `startIndex` is 1-BASED and INCLUSIVE (the heading's own
|
|
11
|
+
* line number). `endIndex` is EXCLUSIVE — the 1-based line number of the next
|
|
12
|
+
* heading at level <= the region's own level, or `lines.length + 1` at EOF.
|
|
13
|
+
* A region therefore owns `[startIndex, endIndex)`. This is deliberately the
|
|
14
|
+
* SAME convention as `PlanSectionIndexEntry.endLine` in `src/tools/plan/types.ts`
|
|
15
|
+
* (documented there as "Exclusive") so the two can be compared without a
|
|
16
|
+
* conversion step; `findAppendixStart` converts to a 0-BASED index at its own
|
|
17
|
+
* boundary, which is the only place that conversion exists.
|
|
18
|
+
*
|
|
19
|
+
* DEPENDENCY DIRECTION IS ONE-WAY: consumers (the section index) import this
|
|
20
|
+
* module; this module imports NOTHING from the section registry. That is
|
|
21
|
+
* load-bearing. The registry exists so a heading miss can degrade to
|
|
22
|
+
* `kind:"custom"`, and a region locator exists so a span can be bounded — if
|
|
23
|
+
* the locator needed registry knowledge, then locating a region could fail the
|
|
24
|
+
* way a registry lookup fails, and the validator would be one registry change
|
|
25
|
+
* away from erroring on a perfectly well-formed plan. The registry must never
|
|
26
|
+
* interact with the validator; the arrow points from the registry's consumers
|
|
27
|
+
* toward the registry, never back into a primitive the validator depends on.
|
|
28
|
+
*
|
|
29
|
+
* Heading text is read from the ORIGINAL line, never from a re-serialized
|
|
30
|
+
* markdown AST: `mdast-util-to-markdown` is lossy (renumbers lists, reflows
|
|
31
|
+
* emphasis, drops entity escaping), so a round-tripped heading would not match
|
|
32
|
+
* the text the user actually wrote.
|
|
33
|
+
*/
|
|
34
|
+
/** Markdown heading depth this primitive can bound. H4+ is not a region root. */
|
|
35
|
+
export type RegionLevel = 2 | 3;
|
|
36
|
+
/**
|
|
37
|
+
* A bounded region of a plan. `startIndex` is inclusive, `endIndex` is
|
|
38
|
+
* exclusive; see the module header for the full convention.
|
|
39
|
+
*/
|
|
40
|
+
export interface NamedRegion {
|
|
41
|
+
/** Heading depth of the region's opening heading. */
|
|
42
|
+
level: RegionLevel;
|
|
43
|
+
/** Heading text exactly as it appears in the plan (trailing space trimmed). */
|
|
44
|
+
text: string;
|
|
45
|
+
/** 1-BASED, INCLUSIVE line number of the opening heading. */
|
|
46
|
+
startIndex: number;
|
|
47
|
+
/** EXCLUSIVE 1-based line number: the closing heading, or lines.length + 1. */
|
|
48
|
+
endIndex: number;
|
|
49
|
+
}
|
|
50
|
+
/** What a caller sees when deciding whether a heading opens the region it wants. */
|
|
51
|
+
export type RegionStart = Omit<NamedRegion, "endIndex">;
|
|
52
|
+
export type RegionStartPredicate = (heading: RegionStart) => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Bound every H2/H3 region in `content`, in document order.
|
|
55
|
+
*
|
|
56
|
+
* This is the shared engine: {@link findNamedRegion} is a filter over it, and
|
|
57
|
+
* `buildSectionIndex` in `src/tools/plan/section-index.ts` maps it onto
|
|
58
|
+
* `PlanSectionIndexEntry`. One scan, one closing rule, no drift.
|
|
59
|
+
*/
|
|
60
|
+
export declare function collectNamedRegions(content: string): NamedRegion[];
|
|
61
|
+
/**
|
|
62
|
+
* The first H2/H3 region whose opening heading satisfies `predicate`, or `null`
|
|
63
|
+
* when no heading matches. The scan is in document order, so a caller that
|
|
64
|
+
* matches a common word can get an earlier region than it expects — make the
|
|
65
|
+
* predicate specific when that matters.
|
|
66
|
+
*/
|
|
67
|
+
export declare function findNamedRegion(content: string, predicate: RegionStartPredicate): NamedRegion | null;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan Contract Schema
|
|
3
|
+
*
|
|
4
|
+
* Zod v4 schema for the STRUCTURED view of an Oracle plan. The Markdown grammar
|
|
5
|
+
* itself is parsed elsewhere; this validates the parsed shape.
|
|
6
|
+
*/
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
/**
|
|
9
|
+
* The contract shape, plus the two invariants the parser guarantees and a bare
|
|
10
|
+
* `z.array(z.string())` could not express.
|
|
11
|
+
*
|
|
12
|
+
* 1. `sections` entries are non-empty. A heading whose title normalizes away to
|
|
13
|
+
* nothing (e.g. a bare `## (MANDATORY)`) is a PARSER artefact, not a
|
|
14
|
+
* section, and silently accepting one would let a malformed heading reach
|
|
15
|
+
* every section-addressed consumer as a nameless target.
|
|
16
|
+
* 2. `tasks` are in ASCENDING document order. `parsePlanTasks` is a single
|
|
17
|
+
* top-down scan, so ordering is a real invariant; enforcing it here catches a
|
|
18
|
+
* future re-implementation that sorts or filters tasks.
|
|
19
|
+
*
|
|
20
|
+
* `title` is deliberately NOT constrained to be non-empty: the live corpus
|
|
21
|
+
* contains real numbered tasks written as `- [x] 11.` with no title text
|
|
22
|
+
* (`plan-section-addressing.md`), and a plan is not wrong just because a task
|
|
23
|
+
* line is terse. Constraining it would be tightening the schema against
|
|
24
|
+
* reality rather than describing it.
|
|
25
|
+
*
|
|
26
|
+
* Both invariants were verified against every plan in `.matrixx/plans/` before
|
|
27
|
+
* being added (0 violations across 36 plans / 289 tasks).
|
|
28
|
+
*/
|
|
29
|
+
export declare const PlanContractSchema: z.ZodObject<{
|
|
30
|
+
frontMatter: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
status: z.ZodEnum<{
|
|
32
|
+
pending: "pending";
|
|
33
|
+
completed: "completed";
|
|
34
|
+
in_progress: "in_progress";
|
|
35
|
+
}>;
|
|
36
|
+
revision: z.ZodNumber;
|
|
37
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
38
|
+
wave: z.ZodOptional<z.ZodString>;
|
|
39
|
+
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
sections: z.ZodArray<z.ZodString>;
|
|
43
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
44
|
+
n: z.ZodNumber;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
checked: z.ZodBoolean;
|
|
47
|
+
line: z.ZodNumber;
|
|
48
|
+
anchor: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
dod: z.ZodArray<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
/** Parsed, validated structured view of a plan. */
|
|
53
|
+
export type PlanContract = z.infer<typeof PlanContractSchema>;
|
|
54
|
+
/**
|
|
55
|
+
* Canonical forward order of {@link PlanStatus}. Frozen: pending (0) ->
|
|
56
|
+
* in_progress (1) -> completed (2). A transition is forward when its target
|
|
57
|
+
* index is >= its source index (identity rewrites are idempotent, not jumps).
|
|
58
|
+
*/
|
|
59
|
+
export declare const PLAN_STATUS_ORDER: readonly ["pending", "in_progress", "completed"];
|
|
60
|
+
/**
|
|
61
|
+
* Transition options for {@link isPlanStatusTransitionAllowed}.
|
|
62
|
+
*
|
|
63
|
+
* Consumed on the `plan_update` write path via
|
|
64
|
+
* `src/tools/plan/status-transition.ts`: `extractStatusEdit` extracts the
|
|
65
|
+
* intended before/after pair and `adjudicate` forwards these options through
|
|
66
|
+
* to this helper. The write-path argument contract is `ForceCompletionOptions`
|
|
67
|
+
* in `status-transition.ts`, structurally identical to this interface, so it
|
|
68
|
+
* passes straight through to `isPlanStatusTransitionAllowed`. A backward jump
|
|
69
|
+
* rejected here surfaces as `status_transition_rejected` (see
|
|
70
|
+
* `PLAN_ERROR_CODES` in `src/tools/plan/error-codes.ts`).
|
|
71
|
+
*/
|
|
72
|
+
export interface PlanStatusTransitionOptions {
|
|
73
|
+
/** When true, a backward jump is honored instead of rejected. */
|
|
74
|
+
forceCompletion?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Forward-only transition rule (enforced on the `plan_update` write path).
|
|
78
|
+
*
|
|
79
|
+
* Consumed by `adjudicate` in `src/tools/plan/status-transition.ts` after
|
|
80
|
+
* `extractStatusEdit` extracts the before/after pair; a rejection surfaces as
|
|
81
|
+
* `status_transition_rejected`. Returns true when moving from `from` to `to`
|
|
82
|
+
* is allowed: same-status or forward steps always pass; a backward step passes
|
|
83
|
+
* ONLY with `{ forceCompletion: true }` (the `ForceCompletionOptions` escape
|
|
84
|
+
* hatch). Unknown statuses (outside the enum) return false — the schema
|
|
85
|
+
* rejects them at parse time and this guard rejects them at transition time.
|
|
86
|
+
*/
|
|
87
|
+
export declare function isPlanStatusTransitionAllowed(from: string, to: string, options?: PlanStatusTransitionOptions): boolean;
|
|
88
|
+
/** Inputs to the completion AND-gate (checkbox state + front-matter status). */
|
|
89
|
+
export interface PlanCompletionGateInput {
|
|
90
|
+
/** True when every numbered checkbox in the plan body is checked. */
|
|
91
|
+
allChecked: boolean;
|
|
92
|
+
/** Authoritative front-matter `status` value. */
|
|
93
|
+
status: string;
|
|
94
|
+
/** Explicit override; when true the gate passes regardless. */
|
|
95
|
+
forceCompletion?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* AND-gate vs override rule for plan completion.
|
|
99
|
+
*
|
|
100
|
+
* A plan counts as complete ONLY when (all checkboxes checked AND
|
|
101
|
+
* `status === \"completed\"`). Any mismatch (checked but status lagging, or
|
|
102
|
+
* status completed while boxes remain open) evaluates to false so the caller
|
|
103
|
+
* can surface a WARN advisory — never silently auto-complete. The explicit
|
|
104
|
+
* override flag `{ forceCompletion: true }` overrides the gate and returns true.
|
|
105
|
+
*/
|
|
106
|
+
export declare function isPlanComplete(input: PlanCompletionGateInput): boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* H3 consensus seeds — the 14 empirically-common H3 headings across the
|
|
3
|
+
* 35-plan corpus. Held in their own module purely for the 200-LOC budget;
|
|
4
|
+
* the ids are DERIVED by `buildSectionRegistry` in `section-registry.ts`,
|
|
5
|
+
* never hand-written here.
|
|
6
|
+
*
|
|
7
|
+
* WHY EXACT SPELLINGS: each string is the canonical text the plan skeleton
|
|
8
|
+
* emits (`skeleton.ts` section bodies), so an id derived here is the same id
|
|
9
|
+
* a real plan produces. Do NOT add aliases for `### If TDD Enabled` or
|
|
10
|
+
* `### Agent-Executed QA Scenarios (MANDATORY — ALL tasks)` — those are
|
|
11
|
+
* deliberately unregistered and land in the `custom` escape hatch.
|
|
12
|
+
*/
|
|
13
|
+
import type { SectionRegistrySeed } from "./section-registry";
|
|
14
|
+
export declare const CONSENSUS_H3_SEEDS: readonly SectionRegistrySeed[];
|