opencode-matrixx-v2 0.0.0-stage → 1.0.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 +16 -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 +19958 -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 +53 -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 +1299 -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/concurrency.d.ts +36 -0
- package/dist/features/background-agent/constants.d.ts +55 -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 +6 -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 +198 -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 +22 -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 +33 -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 +55 -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 +102004 -0
- package/dist/matrixx.schema.json +4730 -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 +55 -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 +28 -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 +41 -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 +20554 -0
- package/package.json +115 -4
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 2 — data shapes for the deterministic completion-review gatherer.
|
|
3
|
+
*
|
|
4
|
+
* Types only. Every value here is a FACT, never a verdict: the gatherer
|
|
5
|
+
* reports what it read and how soft it is, and the rubric (T5) and the report
|
|
6
|
+
* writer (T6) decide what a fact means.
|
|
7
|
+
*/
|
|
8
|
+
import type { PlanProgress } from "../mission-state/types";
|
|
9
|
+
import type { PlanTask } from "../plan-contract/types";
|
|
10
|
+
/**
|
|
11
|
+
* Why an input is soft.
|
|
12
|
+
*
|
|
13
|
+
* `kind` guarantees the ARITHMETIC is code. It says nothing about whether the
|
|
14
|
+
* INPUTS are grounded. Purity and provenance are orthogonal; `attribution`
|
|
15
|
+
* below is what supplies provenance.
|
|
16
|
+
*/
|
|
17
|
+
export type Provenance = "heuristic" | "measured" | "recorded";
|
|
18
|
+
export interface GatherProvenance {
|
|
19
|
+
/** Task→plan linkage is a convention, not a foreign key. */
|
|
20
|
+
linkage: Provenance;
|
|
21
|
+
/** `checkboxOverlap` reconciliation is best-effort, never ground truth. */
|
|
22
|
+
checkboxSync: Provenance;
|
|
23
|
+
}
|
|
24
|
+
export interface ProgressFacts extends PlanProgress {
|
|
25
|
+
remaining: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Attribution completeness — the REQUIRED provenance check.
|
|
29
|
+
*
|
|
30
|
+
* `linkedTerminal` comes from the 6-rule resolver at
|
|
31
|
+
* `plan-persister/task-link.ts`; `planTasks` is the plan's own numbered task
|
|
32
|
+
* count. When they disagree, the caller DEGRADES the attribution-dependent
|
|
33
|
+
* dimensions to `unscorable`. It never scores them on partial evidence.
|
|
34
|
+
*/
|
|
35
|
+
export interface AttributionFacts {
|
|
36
|
+
linkedTotal: number;
|
|
37
|
+
linkedTerminal: number;
|
|
38
|
+
planTasks: number;
|
|
39
|
+
/** `linkedTerminal / planTasks`, or 0 when the plan has no tasks. */
|
|
40
|
+
ratio: number;
|
|
41
|
+
/** True only when `linkedTerminal` accounts for every plan task. */
|
|
42
|
+
matches: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface LinkedTerminalTask {
|
|
45
|
+
id: string;
|
|
46
|
+
status: string;
|
|
47
|
+
terminal: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface NotepadRecord {
|
|
50
|
+
taskId: string | null;
|
|
51
|
+
file: string;
|
|
52
|
+
hasCompletionStamp: boolean;
|
|
53
|
+
results: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Admission corroboration — two INDEPENDENT inputs for T10's gate, gathered
|
|
57
|
+
* here so the gate is a pure conjunction over collected facts and never a
|
|
58
|
+
* second, divergent gatherer. Never derived from `isComplete`.
|
|
59
|
+
*/
|
|
60
|
+
export interface AdmissionFacts {
|
|
61
|
+
linkedTerminalTasks: LinkedTerminalTask[];
|
|
62
|
+
notepadCompletionStamps: string[];
|
|
63
|
+
notepads: NotepadRecord[];
|
|
64
|
+
corroborationCount: number;
|
|
65
|
+
}
|
|
66
|
+
export interface ChangedFile {
|
|
67
|
+
status: string;
|
|
68
|
+
path: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DriftFacts {
|
|
71
|
+
startCommit: string | null;
|
|
72
|
+
stat: string | null;
|
|
73
|
+
nameStatus: ChangedFile[];
|
|
74
|
+
/** True when the plan records no start commit — dimension 5 is unscorable. */
|
|
75
|
+
unscorable: boolean;
|
|
76
|
+
unscorableReason: string | null;
|
|
77
|
+
}
|
|
78
|
+
export interface DegradationFacts {
|
|
79
|
+
unscorableDimensions: number[];
|
|
80
|
+
reasons: Record<string, string>;
|
|
81
|
+
}
|
|
82
|
+
export interface GatheredReviewInputs {
|
|
83
|
+
planPath: string;
|
|
84
|
+
planName: string;
|
|
85
|
+
bytes: number;
|
|
86
|
+
provenance: GatherProvenance;
|
|
87
|
+
progress: ProgressFacts;
|
|
88
|
+
tasks: PlanTask[];
|
|
89
|
+
dod: string[];
|
|
90
|
+
attribution: AttributionFacts;
|
|
91
|
+
admission: AdmissionFacts;
|
|
92
|
+
drift: DriftFacts;
|
|
93
|
+
degradation: DegradationFacts;
|
|
94
|
+
}
|
|
95
|
+
/** Read-only command runner for `git`. Injected so the gatherer stays pure. */
|
|
96
|
+
export type GitRunner = (args: string[]) => string;
|
|
97
|
+
export interface GatherSources {
|
|
98
|
+
/** Project root. Everything else is resolved beneath it. */
|
|
99
|
+
directory: string;
|
|
100
|
+
/** Defaults to the newest reviewable plan. */
|
|
101
|
+
planPath?: string;
|
|
102
|
+
/** Defaults to `.matrixx/notepads/<planName>`. */
|
|
103
|
+
notepadDir?: string;
|
|
104
|
+
/** Session ids the plan has been worked under; a linkage signal. */
|
|
105
|
+
sessionIds?: string[];
|
|
106
|
+
/** Overrides the recorded start commit (used by tests). */
|
|
107
|
+
startCommit?: string;
|
|
108
|
+
runGit?: GitRunner;
|
|
109
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { GatheredReviewInputs, GatherSources } from "./gather-types";
|
|
2
|
+
export declare const NOTEPADS_DIR = ".matrixx/notepads";
|
|
3
|
+
export { ATTRIBUTION_DEPENDENT_DIMENSIONS, ATTRIBUTION_INCOMPLETE_REASON, computeAttribution, computeDegradation, scanLinkedTasks, } from "./gather-attribution";
|
|
4
|
+
export { defaultGitRunner, gatherDrift, NO_START_COMMIT_REASON, readStartCommit } from "./gather-drift";
|
|
5
|
+
export { gatherNotepads, matchNotepadsByTaskId, readNotepad } from "./gather-notepads";
|
|
6
|
+
export type * from "./gather-types";
|
|
7
|
+
/**
|
|
8
|
+
* Every `.matrixx/plans/*.md` a reviewer may consider. `_archive/` is filtered
|
|
9
|
+
* out by the shared lister, so a stale archived plan can never be scored.
|
|
10
|
+
*/
|
|
11
|
+
export declare function gatherReviewablePlans(directory: string): string[];
|
|
12
|
+
/**
|
|
13
|
+
* Assemble every code-computable input the rubric needs. Library only — this
|
|
14
|
+
* has no hook, idle, or event-handler caller by design.
|
|
15
|
+
*/
|
|
16
|
+
export declare function gatherCompletionReviewInputs(sources: GatherSources): GatheredReviewInputs;
|
|
17
|
+
/** Concatenated comment lines of every `gather*` source file. */
|
|
18
|
+
export declare function readGatherSourceComments(dir: string): string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Completion-review barrel.
|
|
3
|
+
*
|
|
4
|
+
* This file previously claimed "T8 owns the `evidence*` prefix and adds its own
|
|
5
|
+
* re-exports here". T8 did not touch it, so that comment was false and
|
|
6
|
+
* `resolveDoDEvidence`, `EVIDENCE_PROVENANCE` and `DoDEvidence` were unreachable
|
|
7
|
+
* from the barrel. The re-exports are here now, and the comment is corrected
|
|
8
|
+
* rather than left to mislead the next reader.
|
|
9
|
+
*
|
|
10
|
+
* The `report*` and `calibration*` re-exports are now here (T10 added them once
|
|
11
|
+
* both modules had shipped and QA passed).
|
|
12
|
+
*
|
|
13
|
+
* Two things are deliberately named rather than `export *`:
|
|
14
|
+
*
|
|
15
|
+
* 1. `ReviewInput` exists TWICE under two unrelated meanings — T6's evaluator
|
|
16
|
+
* input and T4's renderer input — so forwarding both would make the barrel's
|
|
17
|
+
* `ReviewInput` ambiguous. The evaluator's is the one the barrel exposes.
|
|
18
|
+
* 2. `calibration-corpus` re-exported wholesale: its surface (`readCalibrationCorpus`,
|
|
19
|
+
* `CorpusReport` and friends) collides with nothing else in this barrel, so
|
|
20
|
+
* there is no reason to name it piecemeal.
|
|
21
|
+
*/
|
|
22
|
+
export * from "./calibration";
|
|
23
|
+
export * from "./calibration-corpus";
|
|
24
|
+
export * from "./degradation";
|
|
25
|
+
export * from "./evidence-capture";
|
|
26
|
+
export * from "./evidence-notepad";
|
|
27
|
+
export * from "./evidence-resolve";
|
|
28
|
+
export * from "./evidence-types";
|
|
29
|
+
export * from "./gather";
|
|
30
|
+
export { renderReviewReport } from "./report";
|
|
31
|
+
export { buildReviewSidecar } from "./report-sidecar";
|
|
32
|
+
export { classifyFindings } from "./report-taxonomy";
|
|
33
|
+
export { ADVISORY_NOTICE, type CoverageClass, type DimensionOutcome, type FindingCode, type GateEvidence, type GateState, REVIEW_SIDECAR_VERSION, type ReviewCalibration, type ReviewDimension, type ReviewFinding, type ReviewGate, type ReviewProvenance, type ReviewScoreHeadline, type ReviewSidecar, type ReviewSidecarDimension, } from "./report-types";
|
|
34
|
+
export { buildReviewDirCommand, REVIEWS_DIR, type ReviewWriteResult, reviewReportPath, reviewSidecarPath, writeReviewReport } from "./report-write";
|
|
35
|
+
export * from "./rubric";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 4 — the admission gate, as a PURE function over two gathered facts.
|
|
3
|
+
*
|
|
4
|
+
* LOCKED decision #2 applies to this file most sharply: the gate has NO
|
|
5
|
+
* consumer in code. It is rendered because the DoD mandates it, and it must
|
|
6
|
+
* therefore never become a control-flow branch. `deriveGateState` returns data;
|
|
7
|
+
* nothing branches on it, nothing exits non-zero, nothing blocks.
|
|
8
|
+
*
|
|
9
|
+
* The two independent signals are `progress.isComplete` (the plan's own
|
|
10
|
+
* checkboxes) and `admission.corroborationCount` (task-store terminal records
|
|
11
|
+
* plus machine-written notepad completion stamps). `corroborationCount >= 2`
|
|
12
|
+
* means they were corroborated by both.
|
|
13
|
+
*
|
|
14
|
+
* The two failure modes are kept APART on purpose:
|
|
15
|
+
*
|
|
16
|
+
* - `disagree` — one signal says the work is finished and the other does not.
|
|
17
|
+
* That is a finding about the plan, and it is rendered by name.
|
|
18
|
+
* - `unavailable` — corroboration is STRUCTURALLY absent (0 or 1 of 2 signals),
|
|
19
|
+
* so there is nothing to disagree with. This is the vacuous case T2 calls out:
|
|
20
|
+
* a zero-task plan reports `isComplete: true` with zero corroboration.
|
|
21
|
+
*
|
|
22
|
+
* Collapsing them would be a lie: "unavailable" is not "the signals conflict",
|
|
23
|
+
* it is "the signals were never there".
|
|
24
|
+
*/
|
|
25
|
+
import type { AdmissionFacts, ProgressFacts } from "./gather-types";
|
|
26
|
+
import type { ReviewGate } from "./report-types";
|
|
27
|
+
export declare function deriveGateState(progress: ProgressFacts, admission: AdmissionFacts): ReviewGate;
|
|
28
|
+
/** The vacuous case T2 calls out: a zero-task plan reports complete with nothing to back it. */
|
|
29
|
+
export declare function needsTriageNote(progress: ProgressFacts): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 4 — the Summary section, built from FACTS.
|
|
3
|
+
*
|
|
4
|
+
* 3–5 sentences, no adjectives the facts do not support. The sentences are
|
|
5
|
+
* assembled by concatenation from the gathered counters, which keeps the whole
|
|
6
|
+
* renderer pure: no model call, no clock, no randomness. A wording change is a
|
|
7
|
+
* diff a reviewer can read; a model paraphrase is not.
|
|
8
|
+
*/
|
|
9
|
+
import type { ReviewInput } from "./report-types";
|
|
10
|
+
export declare function renderSummary(input: ReviewInput): string[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 4 — the E1–E6 error taxonomy.
|
|
3
|
+
*
|
|
4
|
+
* Six codes, six DISTINCT causes, each attached to the dimension it belongs to.
|
|
5
|
+
* The point of a code is that a corpus reader can count causes across hundreds
|
|
6
|
+
* of reports without a model reading prose — so the mapping must be a total,
|
|
7
|
+
* deterministic function of the dimension results, not a judgement call.
|
|
8
|
+
*
|
|
9
|
+
* The invariant this file exists to keep: EVERY dimension scored down carries a
|
|
10
|
+
* code. A dimension that scored below 1 with no code would be a silent finding
|
|
11
|
+
* the reader cannot count, which is the failure mode the taxonomy was invented
|
|
12
|
+
* to prevent.
|
|
13
|
+
*
|
|
14
|
+
* Codes are derived, never supplied. `classifyFindings` reads the dimension
|
|
15
|
+
* `signals` T5 already computes, so this file adds no judgement of its own.
|
|
16
|
+
*/
|
|
17
|
+
import type { AttributionFacts } from "./gather-types";
|
|
18
|
+
import type { ReviewDimension, ReviewFinding } from "./report-types";
|
|
19
|
+
export declare function classifyFindings(dimensions: readonly ReviewDimension[]): ReviewFinding[];
|
|
20
|
+
/** Attribution mismatch is a plan-level observation, not a scored dimension. */
|
|
21
|
+
export declare function attributionMismatch(attribution: AttributionFacts): boolean;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 4 — the shapes the report renderer consumes, and the versioned `.json`
|
|
3
|
+
* sidecar contract T9 reads.
|
|
4
|
+
*
|
|
5
|
+
* WHY THE FOUR PARTS EXIST: Summary, Score, Complexity and Required Effort are
|
|
6
|
+
* the USER'S EXPLICIT format requirement (plan step 4). They are not this
|
|
7
|
+
* module's invention and the renderer emits all four unconditionally, each
|
|
8
|
+
* under its own `##` heading. If one is missing the report is wrong regardless
|
|
9
|
+
* of what else it says.
|
|
10
|
+
*
|
|
11
|
+
* WHY THE REPORT IS WRITTEN OUT OF THE PLAN FILE: the plan is a record of
|
|
12
|
+
* INTENT AND PROGRESS. A report appended to it corrupts both — the plan stops
|
|
13
|
+
* describing what was planned, and the progress counters absorb prose they were
|
|
14
|
+
* never meant to count. Every mature precedent splits the two: create-plan /
|
|
15
|
+
* ravdeepss writes `plans/{NAME}_PROGRESS.json`, Goose writes a separate
|
|
16
|
+
* `PROGRESS.md`, precisely to avoid parallel-subagent write conflicts on the
|
|
17
|
+
* file agents edit. Splitting also removes the write-headroom problem that
|
|
18
|
+
* motivated Plan A. Nothing in this feature may open the plan for writing.
|
|
19
|
+
*
|
|
20
|
+
* WHY A `.json` SIDECAR: the corpus reader (T9) must aggregate hundreds of
|
|
21
|
+
* reviews without parsing prose. A regex over markdown is a contract that
|
|
22
|
+
* breaks on the first reworded sentence; a versioned object does not.
|
|
23
|
+
*
|
|
24
|
+
* RECONCILIATION NOTE (T6, concurrent): `not_scorable` rendering is owned by
|
|
25
|
+
* T6's degradation module. The renderer here consumes a *structural* union —
|
|
26
|
+
* `outcome: "scored" | "unscorable" | "unverifiable"` — and renders every arm,
|
|
27
|
+
* emitting no number whenever `outcome !== "scored"`. T6's `not_scorable`
|
|
28
|
+
* result maps onto `outcome: "unscorable"` with its `reason` as the rationale,
|
|
29
|
+
* so the two agree by construction; T10 must pass T6's reasons through as
|
|
30
|
+
* `rationale`, not invent its own.
|
|
31
|
+
*/
|
|
32
|
+
import type { EvidenceProvenance } from "./evidence-types";
|
|
33
|
+
import type { AdmissionFacts, AttributionFacts, GatherProvenance, ProgressFacts } from "./gather-types";
|
|
34
|
+
import type { ApbGrade } from "./rubric-score";
|
|
35
|
+
/** Semver of the `.json` sidecar shape. Bump on ANY breaking field change. */
|
|
36
|
+
export declare const REVIEW_SIDECAR_VERSION = "1.0.0";
|
|
37
|
+
/** Rendered verbatim near the top of every report. See LOCKED decision #2. */
|
|
38
|
+
export declare const ADVISORY_NOTICE = "**A low score is advisory, not a gate.** This report has no exit code, no blocking error and no contract rule; nothing in the pipeline halts, retries or rejects a plan because of the number below.";
|
|
39
|
+
/** `post-capture` plans have machine-written evidence; `legacy` ones predate it. */
|
|
40
|
+
export type CoverageClass = "post-capture" | "legacy";
|
|
41
|
+
/**
|
|
42
|
+
* A dimension's outcome. `unscorable` and `unverifiable` are DISTINCT and both
|
|
43
|
+
* emit no number: the first means the dimension could not be computed, the
|
|
44
|
+
* second means it was computed and the evidence behind it was absent.
|
|
45
|
+
*/
|
|
46
|
+
export type DimensionOutcome = "scored" | "unscorable" | "unverifiable";
|
|
47
|
+
export interface ReviewDimension {
|
|
48
|
+
index: number;
|
|
49
|
+
id: string;
|
|
50
|
+
title: string;
|
|
51
|
+
kind: "DETERMINISTIC" | "MODEL";
|
|
52
|
+
weight: number;
|
|
53
|
+
outcome: DimensionOutcome;
|
|
54
|
+
/** 0..1, or `null` for any non-`scored` outcome. */
|
|
55
|
+
score: number | null;
|
|
56
|
+
/** One line. For a non-`scored` outcome this is the `reason`. */
|
|
57
|
+
rationale: string;
|
|
58
|
+
/** The dimension's own counters (T5's `DimensionSignals`), when it reported any. */
|
|
59
|
+
signals?: Readonly<Record<string, number | boolean | string | undefined>>;
|
|
60
|
+
}
|
|
61
|
+
/** T7 owns the CONTENT of these two; this module only renders them. */
|
|
62
|
+
export interface ReviewCalibration {
|
|
63
|
+
/** Plan-time estimate, verbatim. `null` when the plan recorded none. */
|
|
64
|
+
planned: string | null;
|
|
65
|
+
/** Observed effort, verbatim. `null` when nothing observed it. */
|
|
66
|
+
observed: string | null;
|
|
67
|
+
/** `under` / `over` / `on-target`, or `null` when not comparable. */
|
|
68
|
+
comparison: string | null;
|
|
69
|
+
note: string;
|
|
70
|
+
}
|
|
71
|
+
export type GateState = "agree" | "disagree" | "unavailable";
|
|
72
|
+
export type GateEvidence = "corroborated" | "unavailable";
|
|
73
|
+
export interface ReviewGate {
|
|
74
|
+
state: GateState;
|
|
75
|
+
evidence: GateEvidence;
|
|
76
|
+
corroborationCount: number;
|
|
77
|
+
detail: string;
|
|
78
|
+
}
|
|
79
|
+
export type FindingCode = "E1" | "E2" | "E3" | "E4" | "E5" | "E6";
|
|
80
|
+
export interface ReviewFinding {
|
|
81
|
+
code: FindingCode;
|
|
82
|
+
dimensionId: string;
|
|
83
|
+
detail: string;
|
|
84
|
+
}
|
|
85
|
+
export interface ReviewProvenance {
|
|
86
|
+
gather: GatherProvenance;
|
|
87
|
+
evidence: readonly EvidenceProvenance[];
|
|
88
|
+
}
|
|
89
|
+
export interface ReviewScoreHeadline {
|
|
90
|
+
value: number;
|
|
91
|
+
grade: ApbGrade;
|
|
92
|
+
/** Sum of weights that produced a number; below 1 means partial measurement. */
|
|
93
|
+
scoredWeight: number;
|
|
94
|
+
dimensionCount: number;
|
|
95
|
+
}
|
|
96
|
+
export interface ReviewInput {
|
|
97
|
+
planPath: string;
|
|
98
|
+
planName: string;
|
|
99
|
+
/**
|
|
100
|
+
* ISO-8601, supplied by the caller. NEVER `new Date()` inside the renderer —
|
|
101
|
+
* a clock read in a pure function makes two renders of identical input
|
|
102
|
+
* differ, which is exactly the diff T9 needs to be able to make.
|
|
103
|
+
*/
|
|
104
|
+
generatedAt: string;
|
|
105
|
+
coverageClass: CoverageClass;
|
|
106
|
+
progress: ProgressFacts;
|
|
107
|
+
admission: AdmissionFacts;
|
|
108
|
+
attribution: AttributionFacts;
|
|
109
|
+
provenance: ReviewProvenance;
|
|
110
|
+
score: ReviewScoreHeadline;
|
|
111
|
+
/** ALL 8 dimensions, in index order. A missing row shrinks the rubric. */
|
|
112
|
+
dimensions: readonly ReviewDimension[];
|
|
113
|
+
complexity: ReviewCalibration;
|
|
114
|
+
effort: ReviewCalibration;
|
|
115
|
+
findings: readonly ReviewFinding[];
|
|
116
|
+
}
|
|
117
|
+
/** Per-dimension row of the sidecar. Same discriminants as the markdown table. */
|
|
118
|
+
export interface ReviewSidecarDimension {
|
|
119
|
+
index: number;
|
|
120
|
+
id: string;
|
|
121
|
+
kind: "DETERMINISTIC" | "MODEL";
|
|
122
|
+
weight: number;
|
|
123
|
+
outcome: DimensionOutcome;
|
|
124
|
+
score: number | null;
|
|
125
|
+
rationale: string;
|
|
126
|
+
codes: FindingCode[];
|
|
127
|
+
}
|
|
128
|
+
export interface ReviewSidecar {
|
|
129
|
+
sidecarVersion: typeof REVIEW_SIDECAR_VERSION;
|
|
130
|
+
plan: string;
|
|
131
|
+
planPath: string;
|
|
132
|
+
generatedAt: string;
|
|
133
|
+
coverageClass: CoverageClass;
|
|
134
|
+
advisory: true;
|
|
135
|
+
score: ReviewScoreHeadline;
|
|
136
|
+
dimensions: ReviewSidecarDimension[];
|
|
137
|
+
findings: ReviewFinding[];
|
|
138
|
+
gate: ReviewGate;
|
|
139
|
+
complexity: ReviewCalibration;
|
|
140
|
+
effort: ReviewCalibration;
|
|
141
|
+
provenance: ReviewProvenance;
|
|
142
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ReviewInput } from "./report-types";
|
|
2
|
+
export declare const REVIEWS_DIR = ".matrixx/reviews";
|
|
3
|
+
/** A shell one-liner for the bash tool. Never executed from TypeScript. */
|
|
4
|
+
export declare function buildReviewDirCommand(directory?: string): string;
|
|
5
|
+
export declare function reviewReportPath(planName: string): string;
|
|
6
|
+
export declare function reviewSidecarPath(planName: string): string;
|
|
7
|
+
export interface ReviewWriteResult {
|
|
8
|
+
ok: boolean;
|
|
9
|
+
reportPath: string;
|
|
10
|
+
sidecarPath: string;
|
|
11
|
+
/** The markdown as written, so a caller can log or test it without re-reading. */
|
|
12
|
+
markdown: string;
|
|
13
|
+
sidecarJson: string;
|
|
14
|
+
/** Non-null only when a write failed; the plan is never implicated. */
|
|
15
|
+
error: string | null;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Render and write both artefacts. The markdown and the sidecar are built from
|
|
19
|
+
* the SAME `ReviewInput` in one call, so the two can never disagree about the
|
|
20
|
+
* score — the failure mode of writing them from separate passes.
|
|
21
|
+
*/
|
|
22
|
+
export declare function writeReviewReport(input: ReviewInput): ReviewWriteResult;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ReviewInput } from "./report-types";
|
|
2
|
+
/** Render the full report. Pure: same input, byte-identical output. */
|
|
3
|
+
export declare function renderReviewReport(input: ReviewInput): string;
|
|
4
|
+
export { deriveGateState } from "./report-gate";
|
|
5
|
+
export { buildReviewSidecar } from "./report-sidecar";
|
|
6
|
+
export { renderSummary } from "./report-summary";
|
|
7
|
+
export { classifyFindings } from "./report-taxonomy";
|
|
8
|
+
export type { ReviewInput, ReviewSidecar, ReviewSidecarDimension } from "./report-types";
|
|
9
|
+
export { ADVISORY_NOTICE, REVIEW_SIDECAR_VERSION } from "./report-types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — the eight dimensions, as a tagged table.
|
|
3
|
+
*
|
|
4
|
+
* Weights sum to exactly 1.0 so the weighted mean is a mean. The `kind` on each
|
|
5
|
+
* entry is checked by `checkRubricStructure` and, more importantly, by the type
|
|
6
|
+
* system: a DETERMINISTIC entry here is only expressible WITH a `compute`.
|
|
7
|
+
*/
|
|
8
|
+
import type { RubricDimension } from "./rubric-types";
|
|
9
|
+
export declare const RUBRIC_DIMENSIONS: readonly RubricDimension[];
|
|
10
|
+
/** The `kind` split as declared, for the structure gate and for tests. */
|
|
11
|
+
export declare const RUBRIC_KIND_PATTERN: readonly RubricDimension["kind"][];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — dimension 1, DoD coverage, with the all-pass / avg-pass GAP.
|
|
3
|
+
*
|
|
4
|
+
* PlanningBench's finding is that the two metrics diverge sharply: a plan can
|
|
5
|
+
* pass every check or pass most of them, and only the mean hides how close a
|
|
6
|
+
* plan came to a total miss. The gap is therefore computed and returned here,
|
|
7
|
+
* not left for a caller to re-derive from `allPass` and `avgPass`.
|
|
8
|
+
*/
|
|
9
|
+
import type { DeterministicInputs, DoDCoverageResult } from "./rubric-types";
|
|
10
|
+
export declare function computeDoDCoverage(input: DeterministicInputs): DoDCoverageResult;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — dimension 5, deliverable drift: the plan's Concrete Deliverables
|
|
3
|
+
* H3 against the actual `git diff` the gatherer already collected.
|
|
4
|
+
*/
|
|
5
|
+
import type { DeterministicInputs, DimensionResult } from "./rubric-types";
|
|
6
|
+
export declare function computeDeliverableDrift(input: DeterministicInputs): DimensionResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function checkRubricStructure(dimensions: readonly unknown[]): string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DeterministicInputs, DimensionResult, RubricDimension } from "./rubric-types";
|
|
2
|
+
/** The APB discrete ladder. A grade is always one of these. */
|
|
3
|
+
export type ApbGrade = 0 | 0.2 | 0.4 | 0.6 | 0.8 | 1;
|
|
4
|
+
export interface RubricScore {
|
|
5
|
+
/** Weighted mean over the SCORED dimensions, 0..1. */
|
|
6
|
+
score: number;
|
|
7
|
+
/** Sum of the weights that actually produced a score. Below 1 means partial. */
|
|
8
|
+
scoredWeight: number;
|
|
9
|
+
grade: ApbGrade;
|
|
10
|
+
unscorable: string[];
|
|
11
|
+
results: Record<string, DimensionResult>;
|
|
12
|
+
}
|
|
13
|
+
/** Round UP to the next rung on the ladder, except that 0 stays 0. */
|
|
14
|
+
export declare function apbGrade(score: number): ApbGrade;
|
|
15
|
+
export declare function totalWeight(dimensions?: readonly RubricDimension[]): number;
|
|
16
|
+
export declare function scoreRubric(dimensions: readonly RubricDimension[], input: DeterministicInputs, modelScores?: Partial<Record<string, number>>): RubricScore;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — dimension 7, whether the plan's own Test Decision held in execution.
|
|
3
|
+
*
|
|
4
|
+
* A plan that declared TDD required and produced no test file has broken its
|
|
5
|
+
* own decision. A plan that declared no TDD has nothing to honour, which is a
|
|
6
|
+
* pass on the DECISION, not a pass on quality — the signal records which.
|
|
7
|
+
*/
|
|
8
|
+
import type { DeterministicInputs, DimensionResult } from "./rubric-types";
|
|
9
|
+
export declare function computeTestDecisionHonored(input: DeterministicInputs): DimensionResult;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — rubric types. The `kind` tag is enforced HERE, by the type system.
|
|
3
|
+
*
|
|
4
|
+
* The canonical shape is a discriminated union on `kind`: the DETERMINISTIC
|
|
5
|
+
* variant REQUIRES `compute`, the MODEL variant FORBIDS it. There is therefore
|
|
6
|
+
* no shape that can be tagged deterministic without a code implementation, and
|
|
7
|
+
* no shape that can smuggle a model-informed observed side in under a MODEL
|
|
8
|
+
* tag. Both errors are compile errors, not conventions.
|
|
9
|
+
*
|
|
10
|
+
* Purity is enforced the same way: `compute` accepts `DeterministicInputs`,
|
|
11
|
+
* which is a Pick over the gatherer's FACT types only. No prose field, no
|
|
12
|
+
* judgement callback and no model read is reachable from it. A dimension that
|
|
13
|
+
* wants one is a MODEL dimension — the sanctioned fix is a RE-TAG, never a
|
|
14
|
+
* widened `compute`.
|
|
15
|
+
*/
|
|
16
|
+
import type { DoDEvidence } from "./evidence-types";
|
|
17
|
+
import type { GatheredReviewInputs } from "./gather-types";
|
|
18
|
+
/** The Test Decision H3, reduced to a fact. `null` when the section is absent. */
|
|
19
|
+
export interface TestDecisionFacts {
|
|
20
|
+
plannedTdd: boolean;
|
|
21
|
+
declaredTaskCount: number;
|
|
22
|
+
}
|
|
23
|
+
/** Test files observed in the diff. `null` when the caller gathered nothing. */
|
|
24
|
+
export interface TestObservationFacts {
|
|
25
|
+
testFiles: number;
|
|
26
|
+
tddMarkedTests: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Everything a deterministic dimension is allowed to read.
|
|
30
|
+
*
|
|
31
|
+
* A `Pick` of the gatherer's fact types plus two caller-supplied structural
|
|
32
|
+
* extracts. `tasks` and `admission` are deliberately absent — dimension 1 uses
|
|
33
|
+
* `dod` and `evidence`, and a dimension needing a free-text field cannot be
|
|
34
|
+
* spelled here, which is the point.
|
|
35
|
+
*/
|
|
36
|
+
export type DeterministicInputs = Pick<GatheredReviewInputs, "dod" | "progress" | "attribution" | "drift" | "degradation"> & {
|
|
37
|
+
evidence: readonly DoDEvidence[];
|
|
38
|
+
/** File paths named in the Concrete Deliverables H3; `null` when absent. */
|
|
39
|
+
declaredDeliverables: readonly string[] | null;
|
|
40
|
+
testDecision: TestDecisionFacts | null;
|
|
41
|
+
tests: TestObservationFacts | null;
|
|
42
|
+
};
|
|
43
|
+
/** Extra counters a dimension reports next to its score. Never a verdict. */
|
|
44
|
+
export interface DimensionSignals {
|
|
45
|
+
[key: string]: number | boolean | string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface ScoredResult {
|
|
48
|
+
status: "scored";
|
|
49
|
+
/** 0..1, continuous. */
|
|
50
|
+
score: number;
|
|
51
|
+
signals?: DimensionSignals;
|
|
52
|
+
}
|
|
53
|
+
export interface UnscorableResult {
|
|
54
|
+
status: "unscorable";
|
|
55
|
+
reason: string;
|
|
56
|
+
}
|
|
57
|
+
/** A `compute` never throws; inability to measure is a value, not an exception. */
|
|
58
|
+
export type DimensionResult = ScoredResult | UnscorableResult;
|
|
59
|
+
/** Dimension 1's precise return: the all-pass / avg-pass GAP is a first-class field. */
|
|
60
|
+
export type DoDCoverageResult = UnscorableResult | (ScoredResult & {
|
|
61
|
+
allPass: boolean;
|
|
62
|
+
avgPass: number;
|
|
63
|
+
gap: number;
|
|
64
|
+
dodTotal: number;
|
|
65
|
+
passed: number;
|
|
66
|
+
failed: number;
|
|
67
|
+
unverifiable: number;
|
|
68
|
+
});
|
|
69
|
+
interface DimensionBase {
|
|
70
|
+
/** 1-based plan dimension number. */
|
|
71
|
+
index: number;
|
|
72
|
+
id: string;
|
|
73
|
+
title: string;
|
|
74
|
+
weight: number;
|
|
75
|
+
description: string;
|
|
76
|
+
}
|
|
77
|
+
export interface DeterministicDimension extends DimensionBase {
|
|
78
|
+
kind: "DETERMINISTIC";
|
|
79
|
+
compute: (input: DeterministicInputs) => DimensionResult;
|
|
80
|
+
}
|
|
81
|
+
export interface ModelDimension extends DimensionBase {
|
|
82
|
+
kind: "MODEL";
|
|
83
|
+
/** Forbidden: a model read cannot be code-computed. */
|
|
84
|
+
compute?: undefined;
|
|
85
|
+
}
|
|
86
|
+
export type RubricDimension = DeterministicDimension | ModelDimension;
|
|
87
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task 5 — the 8-dimension completion-review rubric.
|
|
3
|
+
*
|
|
4
|
+
* Three benchmarks shape this rubric, and each owns a different part of it:
|
|
5
|
+
*
|
|
6
|
+
* - **PlanBench** decomposes planning quality PER CAPABILITY rather than into a
|
|
7
|
+
* single verdict, and asks whether acceptance criteria are checkable at all
|
|
8
|
+
* (dimension 6) and whether the plan's own guardrails survived execution
|
|
9
|
+
* (dimension 2). It is the reason this is eight dimensions and not a score.
|
|
10
|
+
* - **PlanningBench** found that **All-pass and Avg-pass diverge sharply**: a
|
|
11
|
+
* plan can pass most checks while failing the one that mattered, and only the
|
|
12
|
+
* mean hides that. Dimension 1 therefore returns `allPass`, `avgPass` and the
|
|
13
|
+
* GAP between them as first-class fields. The gap is the finding, not the mean.
|
|
14
|
+
* - **APB** grades a plan on a DISCRETE ladder. `apbGrade` emits the coarse
|
|
15
|
+
* companion {0, .2, .4, .6, .8, 1} next to the continuous 0..1 score, so a
|
|
16
|
+
* reader who rounds 0.83 by hand still lands on the same rung.
|
|
17
|
+
*
|
|
18
|
+
* The `kind` tag is load-bearing and is enforced by the TYPE SYSTEM, not by
|
|
19
|
+
* convention. `RubricDimension` is a discriminated union: the DETERMINISTIC
|
|
20
|
+
* variant REQUIRES `compute`, the MODEL variant FORBIDS it. A dimension cannot
|
|
21
|
+
* be mis-tagged without a `tsc` error, and a `compute` cannot reach a prose
|
|
22
|
+
* field because its parameter type is a `Pick` over the gatherer's fact types.
|
|
23
|
+
* The sanctioned fix for a dimension that cannot be made pure is a RE-TAG to
|
|
24
|
+
* MODEL — never a widened `compute`, and never an unimplemented deterministic
|
|
25
|
+
* dimension. Dimension 8 was re-tagged that way during the review pass.
|
|
26
|
+
*
|
|
27
|
+
* Degradation is data. `EvidenceOutcome` includes `unverifiable`, so a DoD item
|
|
28
|
+
* with no machine-written evidence is never scored as a failure: dimension 1
|
|
29
|
+
* counts it separately and, when NOTHING is verifiable, returns `unscorable`
|
|
30
|
+
* with a reason instead of a fabricated 0. T6 renders these; T5 declares them.
|
|
31
|
+
*
|
|
32
|
+
* A low score is a finding, never a blocking failure. This module has no
|
|
33
|
+
* process.exit, no threshold that halts anything, and no side effect at all.
|
|
34
|
+
*/
|
|
35
|
+
export { RUBRIC_DIMENSIONS, RUBRIC_KIND_PATTERN } from "./rubric-dimensions";
|
|
36
|
+
export { computeDoDCoverage } from "./rubric-dod";
|
|
37
|
+
export { computeDeliverableDrift } from "./rubric-drift";
|
|
38
|
+
export { checkRubricStructure } from "./rubric-gate";
|
|
39
|
+
export type { ApbGrade, RubricScore } from "./rubric-score";
|
|
40
|
+
export { apbGrade, scoreRubric, totalWeight } from "./rubric-score";
|
|
41
|
+
export { computeTestDecisionHonored } from "./rubric-test-decision";
|
|
42
|
+
export type { DeterministicDimension, DeterministicInputs, DimensionResult, DimensionSignals, DoDCoverageResult, ModelDimension, RubricDimension, ScoredResult, TestDecisionFacts, TestObservationFacts, UnscorableResult, } from "./rubric-types";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PendingContext, RegisterContextOptions } from "./types";
|
|
2
|
+
export declare const MAX_MERGED_CHARS = 6000;
|
|
3
|
+
export declare const MAX_PER_SOURCE_CHARS = 2000;
|
|
4
|
+
export declare class ContextCollector {
|
|
5
|
+
private sessions;
|
|
6
|
+
register(sessionID: string, options: RegisterContextOptions): void;
|
|
7
|
+
getPending(sessionID: string): PendingContext;
|
|
8
|
+
consume(sessionID: string): PendingContext;
|
|
9
|
+
clear(sessionID: string): void;
|
|
10
|
+
hasPending(sessionID: string): boolean;
|
|
11
|
+
private sortEntries;
|
|
12
|
+
}
|
|
13
|
+
export declare const contextCollector: ContextCollector;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ContextCollector, contextCollector, MAX_MERGED_CHARS, MAX_PER_SOURCE_CHARS } from "./collector";
|
|
2
|
+
export { createContextInjectorMessagesTransformHook, } from "./injector";
|
|
3
|
+
export type { ContextEntry, ContextPriority, ContextSourceType, InjectionStrategy, MessageContext, OutputParts, PendingContext, RegisterContextOptions, } from "./types";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Local legacy `{info, parts}` shapes (Task 27: the V1 `experimental.chat.messages.transform`
|
|
3
|
+
* fan-out is deleted, so `legacy V1 SDK` message types are no longer imported).
|
|
4
|
+
* The live native port operates on flat `Message[]` in `src/plugin/message-hooks/`.
|
|
5
|
+
*/
|
|
6
|
+
type Message = {
|
|
7
|
+
id?: string;
|
|
8
|
+
sessionID?: string;
|
|
9
|
+
role?: string;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
type Part = {
|
|
13
|
+
type?: string;
|
|
14
|
+
text?: string;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
import type { ContextCollector } from "./collector";
|
|
18
|
+
interface MessageWithParts {
|
|
19
|
+
info: Message;
|
|
20
|
+
parts: Part[];
|
|
21
|
+
}
|
|
22
|
+
type MessagesTransformHook = {
|
|
23
|
+
"experimental.chat.messages.transform"?: (input: Record<string, never>, output: {
|
|
24
|
+
messages: MessageWithParts[];
|
|
25
|
+
}) => Promise<void>;
|
|
26
|
+
};
|
|
27
|
+
export declare function createContextInjectorMessagesTransformHook(collector: ContextCollector): MessagesTransformHook;
|
|
28
|
+
export {};
|