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,113 @@
|
|
|
1
|
+
export type BackgroundTaskStatus = "pending" | "running" | "completed" | "error" | "cancelled" | "interrupt" | "stopped" | "statusUncertain";
|
|
2
|
+
/** Why a background task reached a terminal state (persisted on the handle). */
|
|
3
|
+
export type BackgroundTerminalReason = "queue-saturated" | "no-output" | "uncertain" | "aborted" | "stale" | "nested-depth-exceeded" | "wall-clock-timeout" | "expired";
|
|
4
|
+
export interface ToolCallWindow {
|
|
5
|
+
lastSignature: string;
|
|
6
|
+
consecutiveCount: number;
|
|
7
|
+
threshold: number;
|
|
8
|
+
}
|
|
9
|
+
interface TaskProgress {
|
|
10
|
+
toolCalls: number;
|
|
11
|
+
lastTool?: string;
|
|
12
|
+
toolCallWindow?: ToolCallWindow;
|
|
13
|
+
lastUpdate: Date;
|
|
14
|
+
lastMessage?: string;
|
|
15
|
+
lastMessageAt?: Date;
|
|
16
|
+
countedToolPartIDs?: Set<string>;
|
|
17
|
+
}
|
|
18
|
+
export interface BackgroundTask {
|
|
19
|
+
id: string;
|
|
20
|
+
sessionID?: string;
|
|
21
|
+
parentSessionID: string;
|
|
22
|
+
parentMessageID: string;
|
|
23
|
+
description: string;
|
|
24
|
+
prompt: string;
|
|
25
|
+
agent: string;
|
|
26
|
+
status: BackgroundTaskStatus;
|
|
27
|
+
queuedAt?: Date;
|
|
28
|
+
startedAt?: Date;
|
|
29
|
+
completedAt?: Date;
|
|
30
|
+
result?: string;
|
|
31
|
+
error?: string;
|
|
32
|
+
progress?: TaskProgress;
|
|
33
|
+
parentModel?: {
|
|
34
|
+
providerID: string;
|
|
35
|
+
modelID: string;
|
|
36
|
+
};
|
|
37
|
+
model?: {
|
|
38
|
+
providerID: string;
|
|
39
|
+
modelID: string;
|
|
40
|
+
variant?: string;
|
|
41
|
+
temperature?: number;
|
|
42
|
+
};
|
|
43
|
+
/** Active concurrency slot key */
|
|
44
|
+
concurrencyKey?: string;
|
|
45
|
+
/** Persistent key for re-acquiring concurrency on resume */
|
|
46
|
+
concurrencyGroup?: string;
|
|
47
|
+
/** Parent session's agent name for notification */
|
|
48
|
+
parentAgent?: string;
|
|
49
|
+
/** Parent session's tool restrictions for notification prompts */
|
|
50
|
+
parentTools?: Record<string, boolean>;
|
|
51
|
+
/** Marks if the task was launched from an unstable agent/category */
|
|
52
|
+
isUnstableAgent?: boolean;
|
|
53
|
+
/** Category used for this task (e.g., 'quick', 'construct') */
|
|
54
|
+
category?: string;
|
|
55
|
+
/** Last message count for stability detection */
|
|
56
|
+
lastMsgCount?: number;
|
|
57
|
+
/** Number of consecutive polls with stable message count */
|
|
58
|
+
stablePolls?: number;
|
|
59
|
+
/** Why the task reached a terminal state (e.g. stopped/statusUncertain) */
|
|
60
|
+
terminalReason?: BackgroundTerminalReason;
|
|
61
|
+
/** Compressed result payload for handoff to parent session (set by tryCompleteTask) */
|
|
62
|
+
compactedResult?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface LaunchInput {
|
|
65
|
+
description: string;
|
|
66
|
+
prompt: string;
|
|
67
|
+
agent: string;
|
|
68
|
+
parentSessionID: string;
|
|
69
|
+
parentMessageID: string;
|
|
70
|
+
parentModel?: {
|
|
71
|
+
providerID: string;
|
|
72
|
+
modelID: string;
|
|
73
|
+
};
|
|
74
|
+
parentAgent?: string;
|
|
75
|
+
parentTools?: Record<string, boolean>;
|
|
76
|
+
model?: {
|
|
77
|
+
providerID: string;
|
|
78
|
+
modelID: string;
|
|
79
|
+
variant?: string;
|
|
80
|
+
temperature?: number;
|
|
81
|
+
};
|
|
82
|
+
isUnstableAgent?: boolean;
|
|
83
|
+
skills?: string[];
|
|
84
|
+
skillContent?: string;
|
|
85
|
+
category?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface ResumeInput {
|
|
88
|
+
sessionId: string;
|
|
89
|
+
prompt: string;
|
|
90
|
+
parentSessionID: string;
|
|
91
|
+
parentMessageID: string;
|
|
92
|
+
parentModel?: {
|
|
93
|
+
providerID: string;
|
|
94
|
+
modelID: string;
|
|
95
|
+
};
|
|
96
|
+
parentAgent?: string;
|
|
97
|
+
parentTools?: Record<string, boolean>;
|
|
98
|
+
}
|
|
99
|
+
export interface ReviveInput {
|
|
100
|
+
taskId?: string;
|
|
101
|
+
sessionId?: string;
|
|
102
|
+
prompt: string;
|
|
103
|
+
parentSessionID: string;
|
|
104
|
+
parentMessageID: string;
|
|
105
|
+
parentModel?: {
|
|
106
|
+
providerID: string;
|
|
107
|
+
modelID: string;
|
|
108
|
+
};
|
|
109
|
+
parentAgent?: string;
|
|
110
|
+
parentTools?: Record<string, boolean>;
|
|
111
|
+
force?: boolean;
|
|
112
|
+
}
|
|
113
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wall-clock supervisor: fire-once elapsed-time bound for running background tasks.
|
|
3
|
+
*
|
|
4
|
+
* Staleness is activity-based; this module is elapsed-time-based. Each armed entry
|
|
5
|
+
* fires its callback exactly once when `startedAtMs + timeoutMs` passes, no matter
|
|
6
|
+
* how busy or productive the task looks. A timeout of `0` or `undefined` means OFF
|
|
7
|
+
* and arms nothing.
|
|
8
|
+
*
|
|
9
|
+
* Grace contract (manager-owned, pinned here): on fire the manager aborts the
|
|
10
|
+
* session once, waits `wallClockAbortGraceMs`, then marks the task terminal —
|
|
11
|
+
* unless the task completed naturally during grace, in which case the natural
|
|
12
|
+
* outcome wins and the pending mark is cancelled.
|
|
13
|
+
*
|
|
14
|
+
* This module must not import from manager/client/fs — pure timers only. It mirrors
|
|
15
|
+
* the settled-flag lifecycle of `acquireWithDeadline` in `concurrency.ts`.
|
|
16
|
+
*/
|
|
17
|
+
/** Maximum delay accepted by `setTimeout` (2^31-1 ms); enforced by schema max too. */
|
|
18
|
+
export declare const MAX_WALLCLOCK_TIMEOUT_MS = 2147483647;
|
|
19
|
+
/** Context delivered to the fire callback exactly once per armed deadline. */
|
|
20
|
+
export interface WallclockFireContext {
|
|
21
|
+
taskId: string;
|
|
22
|
+
elapsedMs: number;
|
|
23
|
+
limitMs: number;
|
|
24
|
+
}
|
|
25
|
+
export type WallclockFireCallback = (ctx: WallclockFireContext) => void;
|
|
26
|
+
/** Pure remaining-time math: deadline minus now (negative when already expired). */
|
|
27
|
+
export declare function remainingMs(startedAtMs: number, timeoutMs: number, nowMs?: number): number;
|
|
28
|
+
/** OFF (`0`/`undefined`) never arms; any other value is an active elapsed-time bound. */
|
|
29
|
+
export declare function isWallclockEnabled(timeoutMs: number | undefined): timeoutMs is number;
|
|
30
|
+
export declare class WallclockSupervisor {
|
|
31
|
+
private entries;
|
|
32
|
+
arm(taskId: string, startedAtMs: number, timeoutMs: number | undefined, onFire: WallclockFireCallback): void;
|
|
33
|
+
disarm(taskId: string): boolean;
|
|
34
|
+
disarmAll(): void;
|
|
35
|
+
size(): number;
|
|
36
|
+
getDeadlineAt(taskId: string): number | undefined;
|
|
37
|
+
}
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const StepKeywordSchema: z.ZodEnum<{
|
|
3
|
+
Given: "Given";
|
|
4
|
+
When: "When";
|
|
5
|
+
Then: "Then";
|
|
6
|
+
And: "And";
|
|
7
|
+
But: "But";
|
|
8
|
+
}>;
|
|
9
|
+
export declare const StepSchema: z.ZodObject<{
|
|
10
|
+
keyword: z.ZodEnum<{
|
|
11
|
+
Given: "Given";
|
|
12
|
+
When: "When";
|
|
13
|
+
Then: "Then";
|
|
14
|
+
And: "And";
|
|
15
|
+
But: "But";
|
|
16
|
+
}>;
|
|
17
|
+
text: z.ZodString;
|
|
18
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
19
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export declare const ExampleRowSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22
|
+
export declare const ScenarioSchema: z.ZodObject<{
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
tags: z.ZodArray<z.ZodString>;
|
|
25
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
26
|
+
keyword: z.ZodEnum<{
|
|
27
|
+
Given: "Given";
|
|
28
|
+
When: "When";
|
|
29
|
+
Then: "Then";
|
|
30
|
+
And: "And";
|
|
31
|
+
But: "But";
|
|
32
|
+
}>;
|
|
33
|
+
text: z.ZodString;
|
|
34
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
35
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const BackgroundSchema: z.ZodObject<{
|
|
40
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
41
|
+
keyword: z.ZodEnum<{
|
|
42
|
+
Given: "Given";
|
|
43
|
+
When: "When";
|
|
44
|
+
Then: "Then";
|
|
45
|
+
And: "And";
|
|
46
|
+
But: "But";
|
|
47
|
+
}>;
|
|
48
|
+
text: z.ZodString;
|
|
49
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
50
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare const RuleSchema: z.ZodObject<{
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
description: z.ZodOptional<z.ZodString>;
|
|
56
|
+
scenarios: z.ZodArray<z.ZodObject<{
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
tags: z.ZodArray<z.ZodString>;
|
|
59
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
60
|
+
keyword: z.ZodEnum<{
|
|
61
|
+
Given: "Given";
|
|
62
|
+
When: "When";
|
|
63
|
+
Then: "Then";
|
|
64
|
+
And: "And";
|
|
65
|
+
But: "But";
|
|
66
|
+
}>;
|
|
67
|
+
text: z.ZodString;
|
|
68
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
69
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export declare const KebabCaseSchema: z.ZodString;
|
|
75
|
+
export declare const CamelCaseSchema: z.ZodString;
|
|
76
|
+
export declare const DottedKebabSchema: z.ZodString;
|
|
77
|
+
export declare const UrlPathSchema: z.ZodString;
|
|
78
|
+
export declare const HttpMethodSchema: z.ZodEnum<{
|
|
79
|
+
HEAD: "HEAD";
|
|
80
|
+
PATCH: "PATCH";
|
|
81
|
+
DELETE: "DELETE";
|
|
82
|
+
GET: "GET";
|
|
83
|
+
POST: "POST";
|
|
84
|
+
PUT: "PUT";
|
|
85
|
+
OPTIONS: "OPTIONS";
|
|
86
|
+
}>;
|
|
87
|
+
export declare const ResponseFormatSchema: z.ZodEnum<{
|
|
88
|
+
binary: "binary";
|
|
89
|
+
text: "text";
|
|
90
|
+
json: "json";
|
|
91
|
+
html: "html";
|
|
92
|
+
xml: "xml";
|
|
93
|
+
}>;
|
|
94
|
+
export declare const VarTypeSchema: z.ZodEnum<{
|
|
95
|
+
string: "string";
|
|
96
|
+
number: "number";
|
|
97
|
+
boolean: "boolean";
|
|
98
|
+
object: "object";
|
|
99
|
+
null: "null";
|
|
100
|
+
array: "array";
|
|
101
|
+
}>;
|
|
102
|
+
export declare const ApiEndpointSchema: z.ZodObject<{
|
|
103
|
+
method: z.ZodEnum<{
|
|
104
|
+
HEAD: "HEAD";
|
|
105
|
+
PATCH: "PATCH";
|
|
106
|
+
DELETE: "DELETE";
|
|
107
|
+
GET: "GET";
|
|
108
|
+
POST: "POST";
|
|
109
|
+
PUT: "PUT";
|
|
110
|
+
OPTIONS: "OPTIONS";
|
|
111
|
+
}>;
|
|
112
|
+
path: z.ZodString;
|
|
113
|
+
request: z.ZodOptional<z.ZodString>;
|
|
114
|
+
response: z.ZodOptional<z.ZodString>;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
export declare const ApiResponseSchema: z.ZodObject<{
|
|
118
|
+
status: z.ZodNumber;
|
|
119
|
+
format: z.ZodEnum<{
|
|
120
|
+
binary: "binary";
|
|
121
|
+
text: "text";
|
|
122
|
+
json: "json";
|
|
123
|
+
html: "html";
|
|
124
|
+
xml: "xml";
|
|
125
|
+
}>;
|
|
126
|
+
description: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export declare const UiRouteSchema: z.ZodObject<{
|
|
129
|
+
name: z.ZodString;
|
|
130
|
+
path: z.ZodString;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
export declare const UiTestIdSchema: z.ZodObject<{
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
value: z.ZodString;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
export declare const UiStringSchema: z.ZodObject<{
|
|
137
|
+
key: z.ZodString;
|
|
138
|
+
value: z.ZodString;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export declare const StateVariableSchema: z.ZodObject<{
|
|
141
|
+
name: z.ZodString;
|
|
142
|
+
type: z.ZodEnum<{
|
|
143
|
+
string: "string";
|
|
144
|
+
number: "number";
|
|
145
|
+
boolean: "boolean";
|
|
146
|
+
object: "object";
|
|
147
|
+
null: "null";
|
|
148
|
+
array: "array";
|
|
149
|
+
}>;
|
|
150
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
export declare const StateTransitionSchema: z.ZodObject<{
|
|
153
|
+
from: z.ZodString;
|
|
154
|
+
to: z.ZodString;
|
|
155
|
+
trigger: z.ZodString;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
export declare const ApiAnnotationsSchema: z.ZodObject<{
|
|
158
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
method: z.ZodEnum<{
|
|
160
|
+
HEAD: "HEAD";
|
|
161
|
+
PATCH: "PATCH";
|
|
162
|
+
DELETE: "DELETE";
|
|
163
|
+
GET: "GET";
|
|
164
|
+
POST: "POST";
|
|
165
|
+
PUT: "PUT";
|
|
166
|
+
OPTIONS: "OPTIONS";
|
|
167
|
+
}>;
|
|
168
|
+
path: z.ZodString;
|
|
169
|
+
request: z.ZodOptional<z.ZodString>;
|
|
170
|
+
response: z.ZodOptional<z.ZodString>;
|
|
171
|
+
description: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, z.core.$strict>>>;
|
|
173
|
+
responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
+
status: z.ZodNumber;
|
|
175
|
+
format: z.ZodEnum<{
|
|
176
|
+
binary: "binary";
|
|
177
|
+
text: "text";
|
|
178
|
+
json: "json";
|
|
179
|
+
html: "html";
|
|
180
|
+
xml: "xml";
|
|
181
|
+
}>;
|
|
182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strict>>>;
|
|
184
|
+
}, z.core.$strict>;
|
|
185
|
+
export declare const UiAnnotationsSchema: z.ZodObject<{
|
|
186
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
+
name: z.ZodString;
|
|
188
|
+
path: z.ZodString;
|
|
189
|
+
}, z.core.$strict>>>;
|
|
190
|
+
testIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
191
|
+
name: z.ZodString;
|
|
192
|
+
value: z.ZodString;
|
|
193
|
+
}, z.core.$strict>>>;
|
|
194
|
+
strings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
+
key: z.ZodString;
|
|
196
|
+
value: z.ZodString;
|
|
197
|
+
}, z.core.$strict>>>;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
export declare const StateAnnotationsSchema: z.ZodObject<{
|
|
200
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
201
|
+
name: z.ZodString;
|
|
202
|
+
type: z.ZodEnum<{
|
|
203
|
+
string: "string";
|
|
204
|
+
number: "number";
|
|
205
|
+
boolean: "boolean";
|
|
206
|
+
object: "object";
|
|
207
|
+
null: "null";
|
|
208
|
+
array: "array";
|
|
209
|
+
}>;
|
|
210
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
211
|
+
}, z.core.$strict>>>;
|
|
212
|
+
transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
|
+
from: z.ZodString;
|
|
214
|
+
to: z.ZodString;
|
|
215
|
+
trigger: z.ZodString;
|
|
216
|
+
}, z.core.$strict>>>;
|
|
217
|
+
}, z.core.$strict>;
|
|
218
|
+
export declare const ContractAnnotationsSchema: z.ZodObject<{
|
|
219
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
|
+
method: z.ZodEnum<{
|
|
222
|
+
HEAD: "HEAD";
|
|
223
|
+
PATCH: "PATCH";
|
|
224
|
+
DELETE: "DELETE";
|
|
225
|
+
GET: "GET";
|
|
226
|
+
POST: "POST";
|
|
227
|
+
PUT: "PUT";
|
|
228
|
+
OPTIONS: "OPTIONS";
|
|
229
|
+
}>;
|
|
230
|
+
path: z.ZodString;
|
|
231
|
+
request: z.ZodOptional<z.ZodString>;
|
|
232
|
+
response: z.ZodOptional<z.ZodString>;
|
|
233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
234
|
+
}, z.core.$strict>>>;
|
|
235
|
+
responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
|
+
status: z.ZodNumber;
|
|
237
|
+
format: z.ZodEnum<{
|
|
238
|
+
binary: "binary";
|
|
239
|
+
text: "text";
|
|
240
|
+
json: "json";
|
|
241
|
+
html: "html";
|
|
242
|
+
xml: "xml";
|
|
243
|
+
}>;
|
|
244
|
+
description: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strict>>>;
|
|
246
|
+
}, z.core.$strict>>;
|
|
247
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
248
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
249
|
+
name: z.ZodString;
|
|
250
|
+
path: z.ZodString;
|
|
251
|
+
}, z.core.$strict>>>;
|
|
252
|
+
testIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
253
|
+
name: z.ZodString;
|
|
254
|
+
value: z.ZodString;
|
|
255
|
+
}, z.core.$strict>>>;
|
|
256
|
+
strings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
key: z.ZodString;
|
|
258
|
+
value: z.ZodString;
|
|
259
|
+
}, z.core.$strict>>>;
|
|
260
|
+
}, z.core.$strict>>;
|
|
261
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
263
|
+
name: z.ZodString;
|
|
264
|
+
type: z.ZodEnum<{
|
|
265
|
+
string: "string";
|
|
266
|
+
number: "number";
|
|
267
|
+
boolean: "boolean";
|
|
268
|
+
object: "object";
|
|
269
|
+
null: "null";
|
|
270
|
+
array: "array";
|
|
271
|
+
}>;
|
|
272
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
273
|
+
}, z.core.$strict>>>;
|
|
274
|
+
transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
|
+
from: z.ZodString;
|
|
276
|
+
to: z.ZodString;
|
|
277
|
+
trigger: z.ZodString;
|
|
278
|
+
}, z.core.$strict>>>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
assumptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
281
|
+
}, z.core.$strict>;
|
|
282
|
+
export declare const FeatureSchema: z.ZodObject<{
|
|
283
|
+
name: z.ZodString;
|
|
284
|
+
description: z.ZodOptional<z.ZodString>;
|
|
285
|
+
tags: z.ZodArray<z.ZodString>;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
export declare const ContractSchema: z.ZodObject<{
|
|
288
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
289
|
+
generatedAt: z.ZodString;
|
|
290
|
+
sourceFile: z.ZodString;
|
|
291
|
+
feature: z.ZodObject<{
|
|
292
|
+
name: z.ZodString;
|
|
293
|
+
description: z.ZodOptional<z.ZodString>;
|
|
294
|
+
tags: z.ZodArray<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
scenarios: z.ZodArray<z.ZodObject<{
|
|
297
|
+
name: z.ZodString;
|
|
298
|
+
tags: z.ZodArray<z.ZodString>;
|
|
299
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
300
|
+
keyword: z.ZodEnum<{
|
|
301
|
+
Given: "Given";
|
|
302
|
+
When: "When";
|
|
303
|
+
Then: "Then";
|
|
304
|
+
And: "And";
|
|
305
|
+
But: "But";
|
|
306
|
+
}>;
|
|
307
|
+
text: z.ZodString;
|
|
308
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
309
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, z.core.$strip>>;
|
|
311
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
315
|
+
keyword: z.ZodEnum<{
|
|
316
|
+
Given: "Given";
|
|
317
|
+
When: "When";
|
|
318
|
+
Then: "Then";
|
|
319
|
+
And: "And";
|
|
320
|
+
But: "But";
|
|
321
|
+
}>;
|
|
322
|
+
text: z.ZodString;
|
|
323
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
324
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
|
+
name: z.ZodString;
|
|
329
|
+
description: z.ZodOptional<z.ZodString>;
|
|
330
|
+
scenarios: z.ZodArray<z.ZodObject<{
|
|
331
|
+
name: z.ZodString;
|
|
332
|
+
tags: z.ZodArray<z.ZodString>;
|
|
333
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
334
|
+
keyword: z.ZodEnum<{
|
|
335
|
+
Given: "Given";
|
|
336
|
+
When: "When";
|
|
337
|
+
Then: "Then";
|
|
338
|
+
And: "And";
|
|
339
|
+
But: "But";
|
|
340
|
+
}>;
|
|
341
|
+
text: z.ZodString;
|
|
342
|
+
dataTable: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
343
|
+
docString: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
}, z.core.$strip>>>;
|
|
348
|
+
annotations: z.ZodObject<{
|
|
349
|
+
api: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
|
+
method: z.ZodEnum<{
|
|
352
|
+
HEAD: "HEAD";
|
|
353
|
+
PATCH: "PATCH";
|
|
354
|
+
DELETE: "DELETE";
|
|
355
|
+
GET: "GET";
|
|
356
|
+
POST: "POST";
|
|
357
|
+
PUT: "PUT";
|
|
358
|
+
OPTIONS: "OPTIONS";
|
|
359
|
+
}>;
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
request: z.ZodOptional<z.ZodString>;
|
|
362
|
+
response: z.ZodOptional<z.ZodString>;
|
|
363
|
+
description: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, z.core.$strict>>>;
|
|
365
|
+
responses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
366
|
+
status: z.ZodNumber;
|
|
367
|
+
format: z.ZodEnum<{
|
|
368
|
+
binary: "binary";
|
|
369
|
+
text: "text";
|
|
370
|
+
json: "json";
|
|
371
|
+
html: "html";
|
|
372
|
+
xml: "xml";
|
|
373
|
+
}>;
|
|
374
|
+
description: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strict>>>;
|
|
376
|
+
}, z.core.$strict>>;
|
|
377
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
379
|
+
name: z.ZodString;
|
|
380
|
+
path: z.ZodString;
|
|
381
|
+
}, z.core.$strict>>>;
|
|
382
|
+
testIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
383
|
+
name: z.ZodString;
|
|
384
|
+
value: z.ZodString;
|
|
385
|
+
}, z.core.$strict>>>;
|
|
386
|
+
strings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
key: z.ZodString;
|
|
388
|
+
value: z.ZodString;
|
|
389
|
+
}, z.core.$strict>>>;
|
|
390
|
+
}, z.core.$strict>>;
|
|
391
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
|
+
name: z.ZodString;
|
|
394
|
+
type: z.ZodEnum<{
|
|
395
|
+
string: "string";
|
|
396
|
+
number: "number";
|
|
397
|
+
boolean: "boolean";
|
|
398
|
+
object: "object";
|
|
399
|
+
null: "null";
|
|
400
|
+
array: "array";
|
|
401
|
+
}>;
|
|
402
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
403
|
+
}, z.core.$strict>>>;
|
|
404
|
+
transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
405
|
+
from: z.ZodString;
|
|
406
|
+
to: z.ZodString;
|
|
407
|
+
trigger: z.ZodString;
|
|
408
|
+
}, z.core.$strict>>>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
assumptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
|
+
}, z.core.$strict>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
export type Step = z.infer<typeof StepSchema>;
|
|
414
|
+
export type StepKeyword = z.infer<typeof StepKeywordSchema>;
|
|
415
|
+
export type ExampleRow = z.infer<typeof ExampleRowSchema>;
|
|
416
|
+
export type Scenario = z.infer<typeof ScenarioSchema>;
|
|
417
|
+
export type Background = z.infer<typeof BackgroundSchema>;
|
|
418
|
+
export type Rule = z.infer<typeof RuleSchema>;
|
|
419
|
+
export type HttpMethod = z.infer<typeof HttpMethodSchema>;
|
|
420
|
+
export type ResponseFormat = z.infer<typeof ResponseFormatSchema>;
|
|
421
|
+
export type VarType = z.infer<typeof VarTypeSchema>;
|
|
422
|
+
export type ApiEndpoint = z.infer<typeof ApiEndpointSchema>;
|
|
423
|
+
export type ApiResponse = z.infer<typeof ApiResponseSchema>;
|
|
424
|
+
export type UiRoute = z.infer<typeof UiRouteSchema>;
|
|
425
|
+
export type UiTestId = z.infer<typeof UiTestIdSchema>;
|
|
426
|
+
export type UiString = z.infer<typeof UiStringSchema>;
|
|
427
|
+
export type StateVariable = z.infer<typeof StateVariableSchema>;
|
|
428
|
+
export type StateTransition = z.infer<typeof StateTransitionSchema>;
|
|
429
|
+
export type ApiAnnotations = z.infer<typeof ApiAnnotationsSchema>;
|
|
430
|
+
export type UiAnnotations = z.infer<typeof UiAnnotationsSchema>;
|
|
431
|
+
export type StateAnnotations = z.infer<typeof StateAnnotationsSchema>;
|
|
432
|
+
export type ContractAnnotations = z.infer<typeof ContractAnnotationsSchema>;
|
|
433
|
+
export type Feature = z.infer<typeof FeatureSchema>;
|
|
434
|
+
export type Contract = z.infer<typeof ContractSchema>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { ApiAnnotations, ApiEndpoint, ApiResponse, Background, Contract, ContractAnnotations, ExampleRow, Feature, HttpMethod, ResponseFormat, Rule, Scenario, StateAnnotations, StateTransition, StateVariable, Step, StepKeyword, UiAnnotations, UiRoute, UiString, UiTestId, VarType, } from "./schema";
|
|
2
|
+
export { ApiAnnotationsSchema, ApiEndpointSchema, ApiResponseSchema, CamelCaseSchema, ContractAnnotationsSchema, ContractSchema, DottedKebabSchema, FeatureSchema, HttpMethodSchema, KebabCaseSchema, ResponseFormatSchema, ScenarioSchema, StateAnnotationsSchema, StateTransitionSchema, StateVariableSchema, StepSchema, UiAnnotationsSchema, UiRouteSchema, UiStringSchema, UiTestIdSchema, UrlPathSchema, VarTypeSchema, } from "./schema";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* V2-native command domain transform (D4).
|
|
3
|
+
*
|
|
4
|
+
* Owned by `src/features/builtin-commands/`: pure entry builder +
|
|
5
|
+
* single `ctx.command.transform` registration. No filesystem access, no spawn,
|
|
6
|
+
* no network — the definitions record in `./commands` is static data, so
|
|
7
|
+
* repeated runs over the same disabled set replay identically.
|
|
8
|
+
*/
|
|
9
|
+
import type { BuiltinCommandName, BuiltinCommands } from "./types";
|
|
10
|
+
/** Pure: builtin command entries for a given disabled set. */
|
|
11
|
+
export declare function buildBuiltinCommandEntries(disabledCommands?: BuiltinCommandName[]): BuiltinCommands;
|
|
12
|
+
export declare function evaluateCommandTemplate(template: string, input: string): string;
|
|
13
|
+
export interface CommandInvocation {
|
|
14
|
+
sessionID: string;
|
|
15
|
+
prompt?: {
|
|
16
|
+
text?: string;
|
|
17
|
+
};
|
|
18
|
+
text?: string;
|
|
19
|
+
delivery?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface CommandSessionDeps {
|
|
22
|
+
switchAgent?: (input: Record<string, unknown>) => Promise<unknown>;
|
|
23
|
+
switchModel?: (input: Record<string, unknown>) => Promise<unknown>;
|
|
24
|
+
prompt?: (input: Record<string, unknown>) => Promise<unknown>;
|
|
25
|
+
create?: (input: Record<string, unknown>) => Promise<unknown>;
|
|
26
|
+
}
|
|
27
|
+
export interface CommandAgentDeps {
|
|
28
|
+
get?: (input: Record<string, unknown>) => Promise<unknown>;
|
|
29
|
+
}
|
|
30
|
+
export interface RegisterCommandTransformDeps {
|
|
31
|
+
session?: CommandSessionDeps;
|
|
32
|
+
agent?: CommandAgentDeps;
|
|
33
|
+
}
|
|
34
|
+
export interface CommandDefinitionInput {
|
|
35
|
+
name: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
execute: (input: CommandInvocation) => Promise<void>;
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
/** Minimal structural editor: the real V2 command editor satisfies this. */
|
|
41
|
+
export interface CommandTransformEditor {
|
|
42
|
+
add(def: CommandDefinitionInput): void;
|
|
43
|
+
}
|
|
44
|
+
export interface CommandTransformDomain {
|
|
45
|
+
transform(callback: (editor: CommandTransformEditor) => void): Promise<unknown>;
|
|
46
|
+
}
|
|
47
|
+
export interface RegisterCommandTransformResult {
|
|
48
|
+
registration: unknown;
|
|
49
|
+
/** Command names replayed onto the domain. */
|
|
50
|
+
registered: string[];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Pure replay: command entries → `ctx.command.transform`.
|
|
54
|
+
* The only effect is the single `transform` call; the callback only calls
|
|
55
|
+
* `editor.add`, so re-running over the same entries replays identically.
|
|
56
|
+
*/
|
|
57
|
+
export declare function registerCommandTransform(command: CommandTransformDomain, entries: Record<string, unknown> | undefined, deps?: RegisterCommandTransformDeps): Promise<RegisterCommandTransformResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ASSEMBLY_TEMPLATE = "Toggle assembly tool availability for the current session.\n\nThis command will:\n1. Enable the assembly tool \u2014 makes multi-model voting available to the LLM\n2. Disable the assembly tool \u2014 hides it from the LLM for this session\n3. Show current assembly tool status\n\nUsage:\n /assembly enable \u2014 Show assembly tool\n /assembly disable \u2014 Hide assembly tool\n /assembly status \u2014 Show current state\n\nThe change is per-session and clears when the session ends.\nBy default, the assembly tool is enabled and available in every session.";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BDD_PIPELINE_TEMPLATE = "# /bdd-pipeline\n\nFull BDD pipeline: parse one or more .feature files, generate a Contract, run\nthe 3 parallel subagents (tests, frontend, backend), and write a per-feature\nANALYSIS.md. The pipeline is implemented as a tool \u2014 same input produces the\nsame task shape every run.\n\n## Usage\n\n```\n/bdd-pipeline <feature-path|dir|glob> --out <out-dir> [--force]\n```\n\nExamples:\n- Single file: `/bdd-pipeline features/auth/login.feature --out ./generated`\n- Directory: `/bdd-pipeline features/auth --out ./generated`\n- Glob: `/bdd-pipeline \"features/**/*.feature\" --out ./generated`\n\n## What to do\n\n1. Call the `bdd_pipeline_run` tool with the resolved inputs:\n\n ```json\n {\n \"featurePaths\": [\"<absolute path(s) or glob(s)>\"],\n \"outDir\": \"<absolute output dir>\",\n \"force\": false\n }\n ```\n\n The tool returns `{ success, count, passed, failed, results[] }`. Each\n `result` contains `status`, per-stage `tests_passed`/`tests_failed`,\n `filesCreated`, `missingOutputs`, and `error`.\n\n2. Report the aggregated result. PASS means every feature has `status: \"PASS\"`\n (all 3 subagent stages completed + the file-existence gate passed). FAIL\n otherwise \u2014 list the failing features, failing stages, and missing outputs.\n\n3. Do NOT spawn subagents, parse .feature files, generate components, or write\n ANALYSIS.md yourself \u2014 the tool does all of that.\n\n4. Do NOT run any git commands (commit, add, push, rebase, etc.).\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CLEANUP_TASKS_TEMPLATE = "# Cleanup Tasks \u2014 SLASH COMMAND OVERRIDE\n\nSYSTEM OVERRIDE: Ignore any global [search-mode] or [analyze-mode] directive for this command. This is a direct tool call, not a search.\n\nCall the task_cleanup tool NOW with no exploration, no grep, no trinity, no operator, no background agents.\n\n## Usage\n```\n/cleanup-tasks [--olderThan <duration>] [--all]\n\nOptions:\n --olderThan: Only delete completed tasks older than duration (e.g., 7d, 24h, 30d). If omitted, deletes all completed regardless of age.\n --all: Delete all completed tasks (default when no olderThan given).\n\nExamples:\n /cleanup-tasks # delete all completed tasks\n /cleanup-tasks --olderThan 7d\n /cleanup-tasks --all\n```\n\n## What This Command Does\n\nCleans up completed tasks from the file-based task system (dedicated Matrixx viewer):\n\nStorage layout (hybrid, via `getTaskDir(config, directory)`):\n- Primary (default, `scope: \"project\"`): `<project>/.matrixx/tasks/T-*.json`\n- Fallback (`scope: \"global\"` or `storage_path` override): `~/.config/opencode/tasks/{listId}/T-*.json`\n\n1. **Scans** `getTaskDir(config, directory)/*.json` via `readdirSync` \u2192 resolves to `.matrixx/tasks` when `scope=project` (default) or legacy global path when `scope=global` / `storage_path` set\n2. **Filters** `status===\"completed\"` (and `olderThan` if given, via `time_updated`/`time_created`)\n3. **Deletes** matching files via `unlinkSync`\n4. **Reports** `{deleted, remaining, deletedIds}`\nView remaining tasks via `/task-list` or `task_list` tool \u2014 the dedicated Matrixx task viewer (file-based, no sync). Without `/cleanup-tasks`, completed tasks remain on disk for audit.\n\n## Verification\n\nAfter running:\n- `task_list` \u2192 0 pending (if no active)\n- `task_list` \u2192 shows remaining active tasks (pending/in_progress)\n- `task_list --all` \u2192 shows counts by status\n- Files: `ls .matrixx/tasks | wc -l` decreases by `deleted` (project scope, default) or `ls ~/.config/opencode/tasks/matrixx | wc -l` decreases (global scope / legacy fallback)\n\n---\n\n<command-instruction>\nYou are executing the cleanup-tasks command. Use the task_cleanup tool to delete completed tasks.\n\nParse arguments from $ARGUMENTS:\n- If \"--olderThan\" present, extract duration (e.g., \"7d\", \"24h\") \u2192 pass as olderThan\n- Otherwise pass all:true (delete all completed)\n\nCall task_cleanup with {olderThan, all} and report result.\n</command-instruction>\n\n<user-request>\n$ARGUMENTS\n</user-request>\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const END_ULTRAWORK_TEMPLATE = "Deactivate ultrawork mode for the current session.\n\nThis command will:\n1. Remove the <ultrawork-mode> rules block from the active context\n2. Restore default Matrixx behavior (no enforced certainty protocol, no mandatory plan agent, no required acceptance criteria)\n3. Stop ultrawork-specific parallel delegation pressure\n\nAfter running this command:\n- The session continues with normal Matrixx rules\n- Existing todos and plans remain unchanged\n- Already-spawned background tasks continue to completion\n- The deactivation is per-session and clears when the session ends\n\nUse this when you want to exit ultrawork mode explicitly and return to standard behavior. Useful for sub-tasks that should not inherit ultrawork rules, or when switching from heavy-execution to lighter reasoning.";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EVOLUTION_TEMPLATE = "# Evolution Command\n\n## Purpose\n\nManage self-evolution proposals staged in `.matrixx/evolution/pending`.\n\n## Commands\n\n- `/evolution list` \u2014 list pending proposals\n- `/evolution approve <slug>` \u2014 promote pending skill to `.opencode/skills/<slug>/SKILL.md`\n- `/evolution reject <slug>` \u2014 discard pending proposal\n- `/evolution audit` \u2014 show last 20 audit entries\n\n---\n\n# PHASE 1: PARSE ARGUMENTS\n\nArguments: $ARGUMENTS\n\n- If empty or \"list\": list pending\n- If \"approve <slug>\" or \"approve <slug> --global\": promote\n- If \"reject <slug>\": discard\n- If \"audit\" or \"log\": show audit\n- Otherwise: show help and list pending\n\n---\n\n# PHASE 2: EXECUTE\n\nUse the `evolution` tool for every operation below \u2014 never shell out for\nevolution state. Parse $ARGUMENTS into one tool call per user request.\n\n## List\n\nCall `evolution` with `{ \"action\": \"list\" }`.\nFor each slug, call `evolution` with `{ \"action\": \"get\", \"slug\": \"<slug>\" }` to show confidence, version, derived_from.\nIf none: \"No pending evolution proposals.\"\n\n## Approve\n\n1. Call `evolution` with `{ \"action\": \"get\", \"slug\": \"<slug>\" }` \u2014 if not found, error: \"Pending <slug> not found. Run /evolution list to see available.\"\n2. Call `evolution` with `{ \"action\": \"approve\", \"slug\": \"<slug>\" }` to promote the staged skill (audit entry recorded by the tool).\n3. If argument includes --global, call `evolution` with `{ \"action\": \"approve\", \"slug\": \"<slug>\", \"global\": true }` instead to also copy to `~/.agents/skills/<slug>/SKILL.md`.\n4. Confirm: \"Promoted <slug> to .opencode/skills/<slug>/SKILL.md \u2014 will be loaded on next session start.\"\n\n## Reject\n\n1. Call `evolution` with `{ \"action\": \"reject\", \"slug\": \"<slug>\" }` (verifies pending exists, discards it, records the audit entry).\n2. Confirm: \"Rejected <slug>.\"\n\n## Audit\n\nCall `evolution` with `{ \"action\": \"status\" }` and show the audit tail section. If no entries: \"No audit entries.\"\n\n---\n\n# CONSTRAINTS\n\n- Use the `evolution` tool for all state ops \u2014 no bash/rtk for evolution state\n- Never invent slug \u2014 read from the `list` action\n- Keep operations atomic; report errors clearly\n- Do not modify pending content \u2014 promote as-is after human review\n";
|