opencode-matrixx-v2 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -21
- package/dist/agents/agent-config.d.ts +3 -3
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -1
- package/dist/agents/oracle/system-prompt.d.ts +1 -1
- package/dist/cli.js +123 -105
- package/dist/config/schema/agent-names.d.ts +31 -13
- package/dist/config/schema/browser-automation.d.ts +2 -2
- package/dist/config/schema/context-mode.d.ts +1 -1
- package/dist/config/schema/hooks.d.ts +1 -2
- package/dist/config/schema/matrixx-config.d.ts +34 -17
- package/dist/features/background-agent/handle-index.d.ts +3 -3
- package/dist/features/background-agent/index.d.ts +6 -0
- package/dist/features/background-agent/manager/index.d.ts +5 -0
- package/dist/features/background-agent/manager/lifecycle.d.ts +29 -0
- package/dist/features/background-agent/{manager.d.ts → manager/manager.d.ts} +27 -97
- package/dist/features/background-agent/manager/reconcile.d.ts +20 -0
- package/dist/features/background-agent/manager/store.d.ts +33 -0
- package/dist/features/background-agent/manager/types.d.ts +42 -0
- package/dist/features/background-agent/message-dir.d.ts +1 -1
- package/dist/features/background-agent/notification-builder.d.ts +1 -1
- package/dist/features/background-agent/session-output.d.ts +2 -2
- package/dist/features/bdd/index.d.ts +2 -0
- package/dist/features/builtin-commands/index.d.ts +4 -0
- package/dist/features/builtin-commands/templates/stop-continuation.d.ts +1 -1
- package/dist/features/{hook-message-injector → context-injection/hook-bridge}/constants.d.ts +1 -1
- package/dist/features/{hook-message-injector → context-injection/hook-bridge}/index.d.ts +1 -1
- package/dist/features/{hook-message-injector → context-injection/hook-bridge}/injector.d.ts +1 -1
- package/dist/features/context-injection/index.d.ts +6 -0
- package/dist/features/context-injection/routing/index.d.ts +3 -0
- package/dist/features/{context-mode-routing → context-injection/routing}/system-transform.d.ts +3 -3
- package/dist/features/evolution/index.d.ts +6 -0
- package/dist/features/plan-contract/schema.d.ts +1 -1
- package/dist/features/preset-state/index.d.ts +2 -0
- package/dist/features/rtk-routing/index.d.ts +3 -0
- package/dist/features/rtk-routing/system-transform.d.ts +2 -2
- package/dist/features/session-state/index.d.ts +2 -0
- package/dist/{hooks/task-continuation-enforcer → features/task-session-scope}/staleness.d.ts +3 -3
- package/dist/{hooks/task-continuation-enforcer → features/task-session-scope}/todo.d.ts +1 -1
- package/dist/features/task-storage/index.d.ts +3 -0
- package/dist/features/task-storage/types.d.ts +2 -2
- package/dist/features/task-toast-manager/types.d.ts +1 -1
- package/dist/hooks/agent-usage-reminder/hook.d.ts +1 -1
- package/dist/hooks/agent-usage-reminder/index.d.ts +5 -0
- package/dist/hooks/anthropic-effort/index.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/background-update-check.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/config-errors-toast.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/connected-providers-status.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/model-cache-warning.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/spinner-toast.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/startup-toasts.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook/update-toasts.d.ts +1 -1
- package/dist/hooks/auto-update-checker/hook.d.ts +1 -1
- package/dist/hooks/background-notification/hook.d.ts +1 -1
- package/dist/hooks/background-notification/index.d.ts +9 -0
- package/dist/hooks/background-task-blocker/index.d.ts +8 -0
- package/dist/hooks/bash-file-read-guard.d.ts +1 -1
- package/dist/hooks/category-skill-reminder/hook.d.ts +2 -2
- package/dist/hooks/category-skill-reminder/index.d.ts +4 -0
- package/dist/hooks/comment-checker/index.d.ts +7 -0
- package/dist/hooks/compaction-context-injector/index.d.ts +2 -0
- package/dist/hooks/context-mode-enforcer/constants.d.ts +1 -1
- package/dist/hooks/context-mode-enforcer/hook.d.ts +1 -1
- package/dist/hooks/context-mode-enforcer/index.d.ts +4 -0
- package/dist/hooks/context-window-limit-recovery/client.d.ts +1 -1
- package/dist/hooks/context-window-limit-recovery/message-builder.d.ts +1 -1
- package/dist/hooks/context-window-limit-recovery/recovery-hook.d.ts +2 -2
- package/dist/hooks/context-window-monitor.d.ts +2 -2
- package/dist/hooks/dcp-nudge-sanitizer/hook.d.ts +1 -1
- package/dist/hooks/dcp-nudge-sanitizer/index.d.ts +3 -0
- package/dist/hooks/delegate-task-retry/hook.d.ts +1 -1
- package/dist/hooks/delegate-task-retry/index.d.ts +4 -0
- package/dist/hooks/design-intent-preserver/hook.d.ts +1 -1
- package/dist/hooks/design-intent-preserver/index.d.ts +4 -0
- package/dist/hooks/directory-agents-injector/hook.d.ts +2 -2
- package/dist/hooks/directory-agents-injector/index.d.ts +5 -0
- package/dist/hooks/directory-agents-injector/injector.d.ts +2 -2
- package/dist/hooks/directory-injector/factory.d.ts +2 -2
- package/dist/hooks/docs-lookup-guard/hook.d.ts +2 -2
- package/dist/hooks/docs-lookup-guard/index.d.ts +3 -0
- package/dist/hooks/document-reader-guard/hook.d.ts +2 -2
- package/dist/hooks/document-reader-guard/index.d.ts +3 -0
- package/dist/hooks/domain-keyword-detector/hook.d.ts +1 -1
- package/dist/hooks/edit-error-recovery/hook.d.ts +1 -1
- package/dist/hooks/edit-error-recovery/index.d.ts +2 -0
- package/dist/hooks/empty-task-response-detector.d.ts +1 -1
- package/dist/hooks/env-context-injector/flat.d.ts +1 -1
- package/dist/hooks/env-context-injector/index.d.ts +1 -1
- package/dist/hooks/env-file-write-guard/index.d.ts +3 -0
- package/dist/hooks/evolution-compressor/host-llm-call.d.ts +1 -1
- package/dist/hooks/evolution-compressor/index.d.ts +8 -0
- package/dist/hooks/evolution-hitl/index.d.ts +6 -0
- package/dist/hooks/evolution-quality-gate/index.d.ts +6 -0
- package/dist/hooks/evolution-watcher/index.d.ts +7 -1
- package/dist/hooks/hashline-read-enhancer/hook.d.ts +1 -1
- package/dist/hooks/hashline-read-enhancer/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/input-secret-guard/hook.d.ts +1 -1
- package/dist/hooks/input-secret-guard/index.d.ts +5 -0
- package/dist/hooks/interactive-bash-session/hook.d.ts +2 -2
- package/dist/hooks/interactive-bash-session/index.d.ts +7 -0
- package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
- package/dist/hooks/keyword-detector/constants.d.ts +1 -1
- package/dist/hooks/keyword-detector/hook.d.ts +2 -2
- package/dist/hooks/keyword-detector/index.d.ts +4 -0
- package/dist/hooks/knowledge-hub-guard/hook.d.ts +1 -1
- package/dist/hooks/knowledge-hub-guard/index.d.ts +3 -0
- package/dist/hooks/knowledge-hub-injector/hook.d.ts +3 -3
- package/dist/hooks/knowledge-hub-injector/index.d.ts +2 -0
- package/dist/hooks/knowledge-hub-search-nudge/hook.d.ts +1 -1
- package/dist/hooks/knowledge-hub-search-nudge/index.d.ts +2 -0
- package/dist/hooks/matrix-loop/completion-promise-detector.d.ts +2 -2
- package/dist/hooks/matrix-loop/completion-verifier.d.ts +1 -1
- package/dist/hooks/matrix-loop/continuation-prompt-injector.d.ts +1 -1
- package/dist/hooks/matrix-loop/index.d.ts +12 -0
- package/dist/hooks/matrix-loop/matrix-loop-event-handler.d.ts +2 -2
- package/dist/hooks/matrix-loop/matrix-loop-hook.d.ts +2 -2
- package/dist/hooks/mouse-notepad/hook.d.ts +1 -1
- package/dist/hooks/mouse-notepad/index.d.ts +3 -0
- package/dist/hooks/niobe/event-handler.d.ts +2 -2
- package/dist/hooks/niobe/index.d.ts +16 -0
- package/dist/hooks/niobe/mission-continuation-injector.d.ts +1 -1
- package/dist/hooks/niobe/niobe-hook.d.ts +2 -2
- package/dist/hooks/niobe/recent-model-resolver.d.ts +1 -1
- package/dist/hooks/niobe/session-last-agent.d.ts +1 -1
- package/dist/hooks/niobe/tool-execute-after.d.ts +1 -1
- package/dist/hooks/niobe/tool-execute-before.d.ts +1 -1
- package/dist/hooks/non-interactive-env/index.d.ts +4 -0
- package/dist/hooks/non-interactive-env/non-interactive-env-hook.d.ts +1 -1
- package/dist/hooks/nudge-loop-breaker/hook.d.ts +2 -2
- package/dist/hooks/nudge-loop-breaker/index.d.ts +4 -0
- package/dist/hooks/oracle-md-only/agent-resolution.d.ts +1 -1
- package/dist/hooks/oracle-md-only/hook.d.ts +1 -1
- package/dist/hooks/oracle-md-only/index.d.ts +6 -0
- package/dist/hooks/plan-persister/hook.d.ts +2 -2
- package/dist/hooks/post-read-injector/hook.d.ts +2 -2
- package/dist/hooks/post-read-injector/injector.d.ts +1 -1
- package/dist/hooks/quality-gate/index.d.ts +2 -0
- package/dist/hooks/read-image-resizer/hook.d.ts +1 -1
- package/dist/hooks/read-image-resizer/index.d.ts +6 -0
- package/dist/hooks/rtk-bash-rewriter/hook.d.ts +1 -1
- package/dist/hooks/rtk-bash-rewriter/index.d.ts +4 -0
- package/dist/hooks/rules-injector/hook.d.ts +2 -2
- package/dist/hooks/rules-injector/index.d.ts +14 -0
- package/dist/hooks/runtime-fallback/event-handler.d.ts +1 -1
- package/dist/hooks/runtime-fallback/session-messages.d.ts +2 -2
- package/dist/hooks/runtime-fallback/types.d.ts +2 -2
- package/dist/hooks/secret-leak-guard/hook.d.ts +1 -1
- package/dist/hooks/secret-leak-guard/index.d.ts +5 -0
- package/dist/hooks/session-memory/hook.d.ts +1 -1
- package/dist/hooks/session-notification-scheduler.d.ts +1 -1
- package/dist/hooks/session-notification-sender.d.ts +1 -1
- package/dist/hooks/session-notification.d.ts +2 -2
- package/dist/hooks/session-recovery/hook.d.ts +1 -1
- package/dist/hooks/session-recovery/recover-thinking-block-order.d.ts +1 -1
- package/dist/hooks/session-recovery/recover-thinking-disabled-violation.d.ts +1 -1
- package/dist/hooks/session-recovery/recover-tool-result-missing.d.ts +1 -1
- package/dist/hooks/session-recovery/resume.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/empty-text.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/messages-reader.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/parts-reader.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/text-part-injector.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/thinking-prepend.d.ts +1 -1
- package/dist/hooks/session-recovery/storage/thinking-strip.d.ts +1 -1
- package/dist/hooks/session-recovery/storage.d.ts +1 -1
- package/dist/hooks/session-recovery/types.d.ts +2 -2
- package/dist/hooks/silent-failure-guard/hook.d.ts +1 -1
- package/dist/hooks/software-dev-enforcement/index.d.ts +3 -0
- package/dist/hooks/start-work/index.d.ts +3 -0
- package/dist/hooks/start-work/start-work-hook.d.ts +1 -1
- package/dist/hooks/stop-continuation-guard/hook.d.ts +2 -2
- package/dist/hooks/stop-continuation-guard/index.d.ts +2 -0
- package/dist/hooks/subagent-block/hook.d.ts +2 -2
- package/dist/hooks/subagent-block/index.d.ts +3 -0
- package/dist/hooks/task-edit-guard/hook.d.ts +2 -2
- package/dist/hooks/task-edit-guard/index.d.ts +3 -0
- package/dist/hooks/task-notepad-writer/index.d.ts +4 -0
- package/dist/hooks/task-notepad-writer/notepad-path.d.ts +1 -1
- package/dist/hooks/task-resume-info/index.d.ts +2 -0
- package/dist/hooks/think-mode/hook.d.ts +1 -1
- package/dist/hooks/thinking-block-validator/index.d.ts +3 -0
- package/dist/hooks/tool-output-truncator.d.ts +1 -1
- package/dist/hooks/tool-pair-validator/index.d.ts +2 -0
- package/dist/hooks/unstable-agent-babysitter/unstable-agent-babysitter-hook.d.ts +2 -2
- package/dist/hooks/webfetch-redirect-guard/hook.d.ts +1 -1
- package/dist/hooks/webfetch-redirect-guard/index.d.ts +4 -0
- package/dist/hooks/write-existing-file-guard/hook.d.ts +2 -2
- package/dist/hooks/write-existing-file-guard/index.d.ts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +45129 -45699
- package/dist/matrixx.schema.json +29 -8
- package/dist/{plugin-handlers → plugin/handlers}/agent-config-handler.d.ts +2 -2
- package/dist/{plugin-handlers → plugin/handlers}/category-config-resolver.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/command-config-handler.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/config-handler.d.ts +2 -2
- package/dist/{plugin-handlers → plugin/handlers}/mcp-config-handler.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/oracle-agent-config-builder.d.ts +3 -3
- package/dist/{plugin-handlers → plugin/handlers}/plugin-components-loader.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/provider-config-handler.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/task-permissions.d.ts +1 -1
- package/dist/{plugin-handlers → plugin/handlers}/tool-config-handler.d.ts +1 -1
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +3 -4
- package/dist/plugin/hooks/create-session-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-skill-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-transform-hooks.d.ts +3 -3
- package/dist/plugin/index.d.ts +43 -0
- package/dist/plugin/message-hooks/context-injector.d.ts +3 -3
- package/dist/plugin/message-hooks/dcp-nudge-sanitizer.d.ts +1 -1
- package/dist/plugin/message-hooks/domain-keyword-detector.d.ts +2 -2
- package/dist/plugin/message-hooks/env-context-injector.d.ts +1 -1
- package/dist/plugin/message-hooks/evolution-hitl.d.ts +1 -1
- package/dist/plugin/message-hooks/index.d.ts +2 -2
- package/dist/plugin/message-hooks/knowledge-hub-injector.d.ts +3 -3
- package/dist/plugin/message-hooks/thinking-block-validator.d.ts +1 -1
- package/dist/plugin/message-hooks/tool-pair-validator.d.ts +1 -1
- package/dist/plugin/setup-domains/assemble.d.ts +28 -0
- package/dist/plugin/setup-domains/hooks.d.ts +33 -0
- package/dist/plugin/setup-domains/index.d.ts +5 -0
- package/dist/plugin/setup-domains/managers.d.ts +15 -0
- package/dist/plugin/setup-domains/tools.d.ts +23 -0
- package/dist/plugin/setup-domains.d.ts +10 -86
- package/dist/plugin/tool/available-categories.d.ts +3 -0
- package/dist/plugin/{chat-message.d.ts → tool/chat-message.d.ts} +2 -2
- package/dist/plugin/{context.d.ts → tool/context.d.ts} +2 -2
- package/dist/plugin/{event.d.ts → tool/event.d.ts} +3 -3
- package/dist/plugin/tool/index.d.ts +22 -0
- package/dist/plugin/{legacy-hooks.d.ts → tool/legacy-hooks.d.ts} +1 -1
- package/dist/plugin/{native-context.d.ts → tool/native-context.d.ts} +1 -1
- package/dist/plugin/{session-agent-resolver.d.ts → tool/session-agent-resolver.d.ts} +1 -1
- package/dist/plugin/{skill-context.d.ts → tool/skill-context.d.ts} +4 -4
- package/dist/plugin/{tool-catalog.d.ts → tool/tool-catalog.d.ts} +4 -4
- package/dist/plugin/{tool-definition.d.ts → tool/tool-definition.d.ts} +2 -2
- package/dist/plugin/{tool-execute-after.d.ts → tool/tool-execute-after.d.ts} +1 -1
- package/dist/plugin/{tool-execute-before.d.ts → tool/tool-execute-before.d.ts} +2 -2
- package/dist/plugin/{unstable-agent-babysitter.d.ts → tool/unstable-agent-babysitter.d.ts} +3 -3
- package/dist/shared/{agent-variant.d.ts → agent/agent-variant.d.ts} +1 -1
- package/dist/shared/agent/index.d.ts +5 -0
- package/dist/shared/{context-limits.d.ts → compaction/context-limits.d.ts} +1 -1
- package/dist/shared/{dynamic-truncator.d.ts → compaction/dynamic-truncator.d.ts} +2 -2
- package/dist/shared/compaction/index.d.ts +7 -0
- package/dist/shared/config/index.d.ts +8 -0
- package/dist/shared/{task-system-gating.d.ts → config/task-system-gating.d.ts} +2 -2
- package/dist/shared/index.d.ts +63 -61
- package/dist/shared/io/index.d.ts +8 -0
- package/dist/shared/model/index.d.ts +7 -0
- package/dist/shared/{model-requirements.d.ts → model/model-requirements.d.ts} +1 -1
- package/dist/shared/{model-suggestion-retry.d.ts → model/model-suggestion-retry.d.ts} +1 -1
- package/dist/shared/opencode/index.d.ts +5 -0
- package/dist/shared/{memory-backend-detect.d.ts → opencode/memory-backend-detect.d.ts} +1 -1
- package/dist/shared/outcome/index.d.ts +5 -0
- package/dist/shared/{dcp-switch-profile.d.ts → policy/dcp-switch-profile.d.ts} +1 -1
- package/dist/shared/policy/index.d.ts +7 -0
- package/dist/shared/{injection-notifier.d.ts → policy/injection-notifier.d.ts} +1 -1
- package/dist/shared/{rtk-enforcement.d.ts → policy/rtk-enforcement.d.ts} +1 -1
- package/dist/shared/runtime/index.d.ts +7 -0
- package/dist/shared/session/index.d.ts +14 -0
- package/dist/shared/{session-context-source.d.ts → session/session-context-source.d.ts} +1 -1
- package/dist/shared/text/index.d.ts +7 -0
- package/dist/{tools/shared → shared/tool}/define-tool.d.ts +1 -1
- package/dist/shared/{disabled-tools.d.ts → tool/disabled-tools.d.ts} +1 -1
- package/dist/shared/tool/index.d.ts +6 -0
- package/dist/shared/{merge-categories.d.ts → tool/merge-categories.d.ts} +1 -1
- package/dist/skills/{skills → builtin/bdd}/bdd-backend.d.ts +1 -1
- package/dist/skills/{skills → builtin/bdd}/bdd-contract.d.ts +1 -1
- package/dist/skills/{skills → builtin/bdd}/bdd-frontend.d.ts +1 -1
- package/dist/skills/{skills → builtin/bdd}/bdd-tests.d.ts +1 -1
- package/dist/skills/builtin/bdd/index.d.ts +4 -0
- package/dist/skills/builtin/core/dev-browser.d.ts +2 -0
- package/dist/skills/builtin/core/docker-master/build.d.ts +1 -0
- package/dist/skills/builtin/core/docker-master/compose.d.ts +1 -0
- package/dist/skills/builtin/core/docker-master/delivery.d.ts +1 -0
- package/dist/skills/builtin/core/docker-master/index.d.ts +2 -0
- package/dist/skills/builtin/core/docker-master/reference.d.ts +1 -0
- package/dist/skills/{skills → builtin/core}/document-reader.d.ts +1 -1
- package/dist/skills/builtin/core/git-master/commit.d.ts +1 -0
- package/dist/skills/builtin/core/git-master/execution.d.ts +1 -0
- package/dist/skills/builtin/core/git-master/history.d.ts +1 -0
- package/dist/skills/builtin/core/git-master/index.d.ts +2 -0
- package/dist/skills/builtin/core/git-master/rebase.d.ts +1 -0
- package/dist/skills/builtin/core/index.d.ts +19 -0
- package/dist/skills/{skills → builtin/core}/matrixx-self-config.d.ts +1 -1
- package/dist/skills/{skills → builtin/core}/playwright-cli.d.ts +1 -1
- package/dist/skills/{skills → builtin/core}/playwright.d.ts +1 -1
- package/dist/skills/{skills → builtin/core}/python-asyncio.d.ts +1 -1
- package/dist/skills/builtin/core/quality-gate.d.ts +2 -0
- package/dist/skills/builtin/core/remove-ai-slops.d.ts +2 -0
- package/dist/skills/{skills → builtin/core}/resilience-error-taxonomy.d.ts +1 -1
- package/dist/skills/{skills → builtin/core}/resilience-failure-hunting.d.ts +1 -1
- package/dist/skills/builtin/core/review-work.d.ts +2 -0
- package/dist/skills/{skills → builtin/core}/silent-failure-detection.d.ts +1 -1
- package/dist/skills/builtin/core/software-dev.d.ts +2 -0
- package/dist/skills/{skills → builtin/core}/systematic-debugging.d.ts +1 -1
- package/dist/skills/builtin/core/tdd-enforcer.d.ts +2 -0
- package/dist/skills/{skills → builtin/core}/telegram-bot.d.ts +1 -1
- package/dist/skills/builtin/core/ulw-research.d.ts +2 -0
- package/dist/skills/{skills → builtin/dsl}/dsl-codegen.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-composition.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-core.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-grammar.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-metamodel.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-model-transformation.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-pyecore-advanced.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-testing.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-textx-ecosystem.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-tooling.d.ts +1 -1
- package/dist/skills/{skills → builtin/dsl}/dsl-validation.d.ts +1 -1
- package/dist/skills/builtin/dsl/index.d.ts +11 -0
- package/dist/skills/{skills → builtin/frontend}/frontend-a11y.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-build-tooling.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-perf.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-react-nextjs.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-state-data.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-svelte-sveltekit.d.ts +1 -1
- package/dist/skills/{skills → builtin/frontend}/frontend-testing.d.ts +1 -1
- package/dist/skills/builtin/frontend/frontend-ui-ux.d.ts +2 -0
- package/dist/skills/builtin/frontend/index.d.ts +8 -0
- package/dist/skills/builtin/index.d.ts +7 -0
- package/dist/skills/{skills → builtin/market-data}/ccxt-pro-websockets.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/ccxt-rest.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/crypto-market-structure.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/data-quality-observability.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/grafana-dashboards.d.ts +1 -1
- package/dist/skills/builtin/market-data/index.d.ts +10 -0
- package/dist/skills/{skills → builtin/market-data}/influxdb-timeseries.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/market-data-architecture.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/market-data-bus.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/market-data-robustness-review.d.ts +1 -1
- package/dist/skills/{skills → builtin/market-data}/time-series-fundamentals.d.ts +1 -1
- package/dist/skills/builtin/security/index.d.ts +10 -0
- package/dist/skills/{skills → builtin/security}/security-api.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-audit.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-core.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-crypto.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-dast.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-dependencies.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-infra.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-review.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-sast.d.ts +1 -1
- package/dist/skills/{skills → builtin/security}/security-secrets.d.ts +1 -1
- package/dist/skills/builtin/zeromq/index.d.ts +7 -0
- package/dist/skills/{skills → builtin/zeromq}/zeromq-advanced-reqrep.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-architecture.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-core.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-frameworks.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-pubsub.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-reliability.d.ts +1 -1
- package/dist/skills/{skills → builtin/zeromq}/zeromq-sockets-patterns.d.ts +1 -1
- package/dist/skills/index.d.ts +10 -4
- package/dist/skills/{skills.d.ts → loader/factories.d.ts} +1 -1
- package/dist/skills/loader/index.d.ts +4 -0
- package/dist/tools/assembly/index.d.ts +9 -0
- package/dist/tools/assembly/tools.d.ts +1 -1
- package/dist/tools/ast-grep/index.d.ts +14 -0
- package/dist/tools/ast-grep/tools.d.ts +2 -2
- package/dist/tools/background-task/clients.d.ts +1 -1
- package/dist/tools/background-task/create-background-cancel.d.ts +1 -1
- package/dist/tools/background-task/create-background-output.d.ts +2 -2
- package/dist/tools/background-task/create-background-revive.d.ts +1 -1
- package/dist/tools/background-task/create-background-wait-all.d.ts +1 -1
- package/dist/tools/background-task/full-session-format.d.ts +1 -1
- package/dist/tools/background-task/index.d.ts +6 -0
- package/dist/tools/background-task/message-dir.d.ts +1 -1
- package/dist/tools/background-task/task-result-format.d.ts +1 -1
- package/dist/tools/bdd-create-contract/index.d.ts +4 -0
- package/dist/tools/bdd-create-contract/tools.d.ts +1 -1
- package/dist/tools/bdd-parse-gherkin/index.d.ts +4 -0
- package/dist/tools/bdd-parse-gherkin/tools.d.ts +1 -1
- package/dist/tools/bdd-pipeline/index.d.ts +9 -0
- package/dist/tools/bdd-pipeline/tools.d.ts +1 -1
- package/dist/tools/bdd-validate-contract/index.d.ts +2 -0
- package/dist/tools/bdd-validate-contract/tools.d.ts +1 -1
- package/dist/tools/dashboard-flux-validator/index.d.ts +5 -0
- package/dist/tools/dashboard-flux-validator/tools.d.ts +2 -2
- package/dist/tools/delegate-task/diagnostic-shape.d.ts +1 -1
- package/dist/tools/delegate-task/error-formatting.d.ts +2 -2
- package/dist/tools/delegate-task/executor-types.d.ts +1 -1
- package/dist/tools/delegate-task/model-selection.d.ts +1 -1
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +1 -1
- package/dist/tools/delegate-task/sync-session-poller.d.ts +1 -1
- package/dist/tools/delegate-task/tools.d.ts +1 -1
- package/dist/tools/delegate-task/types.d.ts +1 -1
- package/dist/tools/evolution/index.d.ts +6 -0
- package/dist/tools/evolution/tools.d.ts +2 -2
- package/dist/tools/github-search/index.d.ts +6 -0
- package/dist/tools/github-search/tools.d.ts +2 -2
- package/dist/tools/glob/index.d.ts +6 -0
- package/dist/tools/glob/tools.d.ts +2 -2
- package/dist/tools/grep/index.d.ts +7 -0
- package/dist/tools/grep/tools.d.ts +2 -2
- package/dist/tools/handoff/create-handler.d.ts +1 -1
- package/dist/tools/handoff/index.d.ts +9 -0
- package/dist/tools/handoff/tools.d.ts +2 -2
- package/dist/tools/hashline-edit/hashline-edit-executor.d.ts +1 -1
- package/dist/tools/hashline-edit/tools.d.ts +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/interactive-bash/tools.d.ts +1 -1
- package/dist/tools/knowledge-hub-confirm/index.d.ts +2 -0
- package/dist/tools/knowledge-hub-confirm/tools.d.ts +2 -2
- package/dist/tools/look-at/index.d.ts +8 -0
- package/dist/tools/look-at/multimodal-agent-metadata.d.ts +1 -1
- package/dist/tools/look-at/tools.d.ts +2 -2
- package/dist/tools/lsp/diagnostics-tool.d.ts +1 -1
- package/dist/tools/lsp/find-references-tool.d.ts +1 -1
- package/dist/tools/lsp/goto-definition-tool.d.ts +1 -1
- package/dist/tools/lsp/rename-tools.d.ts +1 -1
- package/dist/tools/lsp/symbols-tool.d.ts +1 -1
- package/dist/tools/market-symbol-validator/index.d.ts +5 -0
- package/dist/tools/market-symbol-validator/tools.d.ts +2 -2
- package/dist/tools/notepad/notepad-append.d.ts +2 -2
- package/dist/tools/notepad/notepad-create.d.ts +2 -2
- package/dist/tools/notepad/notepad-list.d.ts +2 -2
- package/dist/tools/notepad/notepad-read.d.ts +2 -2
- package/dist/tools/pdf-extract-figures/index.d.ts +2 -0
- package/dist/tools/pdf-extract-figures/tools.d.ts +1 -1
- package/dist/tools/plan/plan-create.d.ts +2 -2
- package/dist/tools/plan/plan-delete.d.ts +2 -2
- package/dist/tools/plan/plan-list.d.ts +2 -2
- package/dist/tools/plan/plan-read.d.ts +2 -2
- package/dist/tools/plan/plan-tasks.d.ts +2 -2
- package/dist/tools/plan/plan-update.d.ts +2 -2
- package/dist/tools/preset/index.d.ts +2 -0
- package/dist/tools/preset/tools.d.ts +1 -1
- package/dist/tools/session-cleanup/index.d.ts +2 -2
- package/dist/tools/session-manager/index.d.ts +7 -0
- package/dist/tools/session-manager/storage.d.ts +3 -3
- package/dist/tools/session-manager/tools.d.ts +2 -2
- package/dist/tools/silent-failure-scanner/tools.d.ts +2 -2
- package/dist/tools/skill/index.d.ts +4 -0
- package/dist/tools/skill/tools.d.ts +1 -1
- package/dist/tools/slashcommand/index.d.ts +7 -0
- package/dist/tools/slashcommand/slashcommand-tool.d.ts +1 -1
- package/dist/tools/staleness-gap-checker/tools.d.ts +2 -2
- package/dist/tools/task/task-cleanup.d.ts +2 -2
- package/dist/tools/task/task-create.d.ts +2 -2
- package/dist/tools/task/task-get.d.ts +2 -2
- package/dist/tools/task/task-list.d.ts +2 -2
- package/dist/tools/task/task-update.d.ts +2 -2
- package/dist/tools/task/types.d.ts +10 -10
- package/dist/tools.js +154 -155
- package/package.json +1 -1
- package/dist/hooks/task-continuation-enforcer/abort-detection.d.ts +0 -2
- package/dist/hooks/task-continuation-enforcer/constants.d.ts +0 -9
- package/dist/hooks/task-continuation-enforcer/continuation-injection.d.ts +0 -14
- package/dist/hooks/task-continuation-enforcer/countdown.d.ts +0 -16
- package/dist/hooks/task-continuation-enforcer/handler.d.ts +0 -13
- package/dist/hooks/task-continuation-enforcer/idle-event.d.ts +0 -13
- package/dist/hooks/task-continuation-enforcer/index.d.ts +0 -5
- package/dist/hooks/task-continuation-enforcer/non-idle-events.d.ts +0 -6
- package/dist/hooks/task-continuation-enforcer/session-state.d.ts +0 -10
- package/dist/hooks/task-continuation-enforcer/types.d.ts +0 -54
- package/dist/plugin/available-categories.d.ts +0 -3
- package/dist/skills/skills/dev-browser.d.ts +0 -2
- package/dist/skills/skills/docker-master.d.ts +0 -2
- package/dist/skills/skills/frontend-ui-ux.d.ts +0 -2
- package/dist/skills/skills/git-master.d.ts +0 -2
- package/dist/skills/skills/index.d.ts +0 -69
- package/dist/skills/skills/quality-gate.d.ts +0 -2
- package/dist/skills/skills/remove-ai-slops.d.ts +0 -2
- package/dist/skills/skills/review-work.d.ts +0 -2
- package/dist/skills/skills/software-dev.d.ts +0 -2
- package/dist/skills/skills/tdd-enforcer.d.ts +0 -2
- package/dist/skills/skills/ulw-research.d.ts +0 -2
- package/dist/features/{hook-message-injector → context-injection/hook-bridge}/sdk-message-cache.d.ts +0 -0
- package/dist/features/{hook-message-injector → context-injection/hook-bridge}/types.d.ts +0 -0
- package/dist/features/{context-injector → context-injection/injector}/collector.d.ts +0 -0
- package/dist/features/{context-injector → context-injection/injector}/index.d.ts +0 -0
- package/dist/features/{context-injector → context-injection/injector}/injector.d.ts +0 -0
- package/dist/features/{context-injector → context-injection/injector}/types.d.ts +0 -0
- package/dist/features/{context-mode-routing → context-injection/routing}/routing-block.d.ts +0 -0
- package/dist/{plugin-handlers → plugin/handlers}/agent-priority-order.d.ts +0 -0
- package/dist/{plugin-handlers → plugin/handlers}/agent-tool-allowlist.d.ts +0 -0
- package/dist/{plugin-handlers → plugin/handlers}/formatter-config-handler.d.ts +0 -0
- package/dist/{plugin-handlers → plugin/handlers}/index.d.ts +0 -0
- package/dist/{plugin-handlers → plugin/handlers}/plan-model-inheritance.d.ts +0 -0
- package/dist/plugin/{chat-params.d.ts → tool/chat-params.d.ts} +0 -0
- package/dist/plugin/{event-dispatch.d.ts → tool/event-dispatch.d.ts} +0 -0
- package/dist/plugin/{recent-synthetic-idles.d.ts → tool/recent-synthetic-idles.d.ts} +0 -0
- package/dist/plugin/{session-status-normalizer.d.ts → tool/session-status-normalizer.d.ts} +0 -0
- package/dist/plugin/{tool-execute-before.bench.d.ts → tool/tool-execute-before.bench.d.ts} +0 -0
- package/dist/plugin/{tool-policy.d.ts → tool/tool-policy.d.ts} +0 -0
- package/dist/shared/{agent-display-names.d.ts → agent/agent-display-names.d.ts} +0 -0
- package/dist/shared/{agent-label.d.ts → agent/agent-label.d.ts} +0 -0
- package/dist/shared/{permission-compat.d.ts → agent/permission-compat.d.ts} +0 -0
- package/dist/shared/{safe-create-hook.d.ts → agent/safe-create-hook.d.ts} +0 -0
- package/dist/shared/{compaction-log.d.ts → compaction/compaction-log.d.ts} +0 -0
- package/dist/{hooks/shared → shared/compaction}/compaction-model-resolver.d.ts +0 -0
- package/dist/shared/{context-limit-resolver.d.ts → compaction/context-limit-resolver.d.ts} +0 -0
- package/dist/shared/{token-cache.d.ts → compaction/token-cache.d.ts} +0 -0
- package/dist/shared/{truncate-description.d.ts → compaction/truncate-description.d.ts} +0 -0
- package/dist/shared/{config-errors.d.ts → config/config-errors.d.ts} +0 -0
- package/dist/shared/{data-path.d.ts → config/data-path.d.ts} +0 -0
- package/dist/shared/{deep-merge.d.ts → config/deep-merge.d.ts} +0 -0
- package/dist/shared/{opencode-config-dir.d.ts → config/opencode-config-dir.d.ts} +0 -0
- package/dist/shared/{opencode-storage-detection.d.ts → config/opencode-storage-detection.d.ts} +0 -0
- package/dist/shared/{opencode-storage-paths.d.ts → config/opencode-storage-paths.d.ts} +0 -0
- package/dist/shared/{opencode-version.d.ts → config/opencode-version.d.ts} +0 -0
- package/dist/shared/{binary-downloader.d.ts → io/binary-downloader.d.ts} +0 -0
- package/dist/shared/{file-reference-resolver.d.ts → io/file-reference-resolver.d.ts} +0 -0
- package/dist/shared/{file-utils.d.ts → io/file-utils.d.ts} +0 -0
- package/dist/shared/{frontmatter.d.ts → io/frontmatter.d.ts} +0 -0
- package/dist/shared/{port-utils.d.ts → io/port-utils.d.ts} +0 -0
- package/dist/shared/{shell-env.d.ts → io/shell-env.d.ts} +0 -0
- package/dist/shared/{shell-tool-name.d.ts → io/shell-tool-name.d.ts} +0 -0
- package/dist/shared/{zip-extractor.d.ts → io/zip-extractor.d.ts} +0 -0
- package/dist/shared/{connected-providers-cache.d.ts → model/connected-providers-cache.d.ts} +0 -0
- package/dist/shared/{model-availability.d.ts → model/model-availability.d.ts} +0 -0
- package/dist/shared/{model-resolution-pipeline.d.ts → model/model-resolution-pipeline.d.ts} +0 -0
- package/dist/shared/{model-sanitizer.d.ts → model/model-sanitizer.d.ts} +0 -0
- package/dist/shared/{normalize-sdk-response.d.ts → model/normalize-sdk-response.d.ts} +0 -0
- package/dist/shared/{external-plugin-detector.d.ts → opencode/external-plugin-detector.d.ts} +0 -0
- package/dist/shared/{opencode-http-api.d.ts → opencode/opencode-http-api.d.ts} +0 -0
- package/dist/shared/{opencode-message-dir.d.ts → opencode/opencode-message-dir.d.ts} +0 -0
- package/dist/shared/{opencode-server-auth.d.ts → opencode/opencode-server-auth.d.ts} +0 -0
- package/dist/shared/{poll-timeout-outcome.d.ts → outcome/poll-timeout-outcome.d.ts} +0 -0
- package/dist/shared/{revive-outcome.d.ts → outcome/revive-outcome.d.ts} +0 -0
- package/dist/shared/{saturated-outcome.d.ts → outcome/saturated-outcome.d.ts} +0 -0
- package/dist/shared/{sentinels.d.ts → outcome/sentinels.d.ts} +0 -0
- package/dist/shared/{wallclock-outcome.d.ts → outcome/wallclock-outcome.d.ts} +0 -0
- package/dist/shared/{code-patterns.d.ts → policy/code-patterns.d.ts} +0 -0
- package/dist/shared/{context-mode-enforcement.d.ts → policy/context-mode-enforcement.d.ts} +0 -0
- package/dist/shared/{dcp-guidance.d.ts → policy/dcp-guidance.d.ts} +0 -0
- package/dist/shared/{status-types.d.ts → policy/status-types.d.ts} +0 -0
- package/dist/shared/{delay.d.ts → runtime/delay.d.ts} +0 -0
- package/dist/shared/{is-abort-error.d.ts → runtime/is-abort-error.d.ts} +0 -0
- package/dist/shared/{logger.d.ts → runtime/logger.d.ts} +0 -0
- package/dist/shared/{notify.d.ts → runtime/notify.d.ts} +0 -0
- package/dist/shared/{record-type-guard.d.ts → runtime/record-type-guard.d.ts} +0 -0
- package/dist/shared/{unwrap-list.d.ts → runtime/unwrap-list.d.ts} +0 -0
- package/dist/shared/{with-timeout.d.ts → runtime/with-timeout.d.ts} +0 -0
- package/dist/shared/{awaiting-user.d.ts → session/awaiting-user.d.ts} +0 -0
- package/dist/shared/{first-message-variant.d.ts → session/first-message-variant.d.ts} +0 -0
- package/dist/shared/{session-cursor.d.ts → session/session-cursor.d.ts} +0 -0
- package/dist/shared/{session-directory-resolver.d.ts → session/session-directory-resolver.d.ts} +0 -0
- package/dist/shared/{session-facade.d.ts → session/session-facade.d.ts} +0 -0
- package/dist/shared/{session-id.d.ts → session/session-id.d.ts} +0 -0
- package/dist/shared/{session-injected-paths.d.ts → session/session-injected-paths.d.ts} +0 -0
- package/dist/shared/{session-message.d.ts → session/session-message.d.ts} +0 -0
- package/dist/shared/{session-state.d.ts → session/session-state.d.ts} +0 -0
- package/dist/shared/{session-utils.d.ts → session/session-utils.d.ts} +0 -0
- package/dist/shared/{state-root.d.ts → session/state-root.d.ts} +0 -0
- package/dist/shared/{transcript-path.d.ts → session/transcript-path.d.ts} +0 -0
- package/dist/shared/{with-ephemeral-session.d.ts → session/with-ephemeral-session.d.ts} +0 -0
- package/dist/shared/{error-formatting.d.ts → text/error-formatting.d.ts} +0 -0
- package/dist/shared/{escape-regexp.d.ts → text/escape-regexp.d.ts} +0 -0
- package/dist/shared/{format-bytes.d.ts → text/format-bytes.d.ts} +0 -0
- package/dist/shared/{format-duration.d.ts → text/format-duration.d.ts} +0 -0
- package/dist/shared/{json-safe-metadata.d.ts → text/json-safe-metadata.d.ts} +0 -0
- package/dist/shared/{jsonc-parser.d.ts → text/jsonc-parser.d.ts} +0 -0
- package/dist/shared/{system-directive.d.ts → text/system-directive.d.ts} +0 -0
- package/dist/shared/{agent-tool-restrictions.d.ts → tool/agent-tool-restrictions.d.ts} +0 -0
- package/dist/shared/{skill-path-resolver.d.ts → tool/skill-path-resolver.d.ts} +0 -0
- package/dist/shared/{tool-guards.d.ts → tool/tool-guards.d.ts} +0 -0
- package/dist/skills/{lazy-skill-helper.d.ts → loader/lazy-skill-helper.d.ts} +0 -0
- package/dist/skills/{schemas → loader/schemas}/audits-store.d.ts +1 -1
- package/dist/skills/{schemas → loader/schemas}/security-audit.d.ts +2 -2
- /package/dist/skills/{skills.transform.d.ts → loader/skills.transform.d.ts} +0 -0
- /package/dist/skills/{types.d.ts → loader/types.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const TaskStatusSchema: z.ZodEnum<{
|
|
3
|
+
completed: "completed";
|
|
3
4
|
deleted: "deleted";
|
|
4
5
|
pending: "pending";
|
|
5
|
-
completed: "completed";
|
|
6
6
|
in_progress: "in_progress";
|
|
7
7
|
}>;
|
|
8
8
|
export type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
@@ -11,9 +11,9 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
11
11
|
subject: z.ZodString;
|
|
12
12
|
description: z.ZodString;
|
|
13
13
|
status: z.ZodEnum<{
|
|
14
|
+
completed: "completed";
|
|
14
15
|
deleted: "deleted";
|
|
15
16
|
pending: "pending";
|
|
16
|
-
completed: "completed";
|
|
17
17
|
in_progress: "in_progress";
|
|
18
18
|
}>;
|
|
19
19
|
activeForm: z.ZodOptional<z.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ModelResolutionProvenance } from "../../shared/model-resolution-pipeline";
|
|
1
|
+
import type { ModelResolutionProvenance } from "../../shared/model/model-resolution-pipeline";
|
|
2
2
|
export type TaskStatus = "running" | "queued" | "completed" | "error";
|
|
3
3
|
export interface ModelFallbackInfo {
|
|
4
4
|
model: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** agent-usage-reminder barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { AGENT_TOOLS, AGENT_USAGE_REMINDER_STORAGE, MAX_AGENT_USAGE_REMINDERS, REMINDER_MESSAGE, TARGET_TOOLS, } from "./constants";
|
|
3
|
+
export { createAgentUsageReminderHook, } from "./hook";
|
|
4
|
+
export { clearAgentUsageState, loadAgentUsageState, saveAgentUsageState, } from "./storage";
|
|
5
|
+
export type { AgentUsageState, } from "./types";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function runBackgroundUpdateCheck(ctx: MatrixxContext, autoUpdate: boolean, getToastMessage: (isUpdate: boolean, latestVersion?: string) => string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function showConfigErrorsIfAny(_ctx: MatrixxContext): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function updateAndShowConnectedProvidersCacheStatus(_ctx: MatrixxContext): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function showModelCacheWarningIfNeeded(_ctx: MatrixxContext): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function showSpinnerToast(_ctx: MatrixxContext, version: string, message: string): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function showVersionToast(ctx: MatrixxContext, version: string | null, message: string): Promise<void>;
|
|
3
3
|
export declare function showLocalDevToast(ctx: MatrixxContext, version: string | null, isMorpheusEnabled: boolean): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../../plugin/tool/context";
|
|
2
2
|
export declare function showUpdateAvailableToast(_ctx: MatrixxContext, latestVersion: string, getToastMessage: (isUpdate: boolean, latestVersion?: string) => string): Promise<void>;
|
|
3
3
|
export declare function showAutoUpdatedToast(_ctx: MatrixxContext, oldVersion: string, newVersion: string): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MatrixxContext, V2Event } from "../../plugin/context";
|
|
1
|
+
import type { MatrixxContext, V2Event } from "../../plugin/tool/context";
|
|
2
2
|
import type { AutoUpdateCheckerOptions } from "./types";
|
|
3
3
|
export declare function createAutoUpdateCheckerHook(ctx: MatrixxContext, options?: AutoUpdateCheckerOptions): {
|
|
4
4
|
event: (event: V2Event) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BackgroundManager } from "../../features/background-agent";
|
|
2
|
-
import type { V2Event } from "../../plugin/context";
|
|
2
|
+
import type { V2Event } from "../../plugin/tool/context";
|
|
3
3
|
/**
|
|
4
4
|
* Background notification hook - handles event routing to BackgroundManager.
|
|
5
5
|
*
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Background-execution cross-link (separate layers, not moved in Phase 4):
|
|
2
|
+
* - `features/background-agent/` owns agent handle files and lifecycle management.
|
|
3
|
+
* - `hooks/background-notification/` observes session events and emits notifications.
|
|
4
|
+
* - `hooks/background-task-blocker/` guards tool execution while background tasks run.
|
|
5
|
+
* - `tools/background-task/` exposes agent-callable task controls (cancel/output/revive).
|
|
6
|
+
*/
|
|
7
|
+
/** background-notification barrel: explicit named re-exports of local modules only. */
|
|
8
|
+
export { createBackgroundNotificationHook, } from "./hook";
|
|
9
|
+
export type { BackgroundNotificationHookConfig, } from "./types";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Background-execution cross-link (separate layers, not moved in Phase 4):
|
|
2
|
+
* - `features/background-agent/` owns agent handle files and lifecycle management.
|
|
3
|
+
* - `hooks/background-notification/` observes session events and emits notifications.
|
|
4
|
+
* - `hooks/background-task-blocker/` guards tool execution while background tasks run.
|
|
5
|
+
* - `tools/background-task/` exposes agent-callable task controls (cancel/output/revive).
|
|
6
|
+
*/
|
|
7
|
+
/** background-task-blocker barrel: explicit named re-exports of local modules only. */
|
|
8
|
+
export { createBackgroundTaskBlockerHook, } from "./hook";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from "../plugin/legacy-hooks";
|
|
1
|
+
import type { Hooks } from "../plugin/tool/legacy-hooks";
|
|
2
2
|
export declare function createBashFileReadGuardHook(): Hooks;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AvailableSkill } from "../../agents/dynamic-agent-prompt-builder";
|
|
2
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
3
3
|
export type { NudgeEvent, NudgeInput } from "./detector";
|
|
4
4
|
export { detectNudge } from "./detector";
|
|
5
5
|
interface ToolExecuteInput {
|
|
@@ -16,7 +16,7 @@ interface ToolExecuteOutput {
|
|
|
16
16
|
export interface CategorySkillReminderOptions {
|
|
17
17
|
now?: () => number;
|
|
18
18
|
}
|
|
19
|
-
import type { V2Event } from "../../plugin/context";
|
|
19
|
+
import type { V2Event } from "../../plugin/tool/context";
|
|
20
20
|
export declare function createCategorySkillReminderHook(ctx: MatrixxContext, availableSkills?: AvailableSkill[], options?: CategorySkillReminderOptions): {
|
|
21
21
|
"tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteOutput) => Promise<void>;
|
|
22
22
|
event: (event: V2Event) => Promise<void>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** category-skill-reminder barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { detectNudge, type NudgeEvent, type NudgeInput, } from "./detector";
|
|
3
|
+
export { buildNudgeMessage, buildReminderMessage, type NudgeMessageEvent, } from "./formatter";
|
|
4
|
+
export { type CategorySkillReminderOptions, createCategorySkillReminderHook, } from "./hook";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** comment-checker barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { type CheckResult, ensureCliAvailable, getCommentCheckerPath, getCommentCheckerPathSync, type HookInput, isCliAvailable, runCommentChecker, startBackgroundInit, } from "./cli";
|
|
3
|
+
export { getCommentCheckerCliPathPromise, initializeCommentCheckerCli, isCliPathUsable, processApplyPatchEditsWithCli, processWithCli, } from "./cli-runner";
|
|
4
|
+
export { ensureCommentCheckerBinary, getBinaryName, getCacheDir, getCachedBinaryPath, } from "./downloader";
|
|
5
|
+
export { createCommentCheckerHooks, } from "./hook";
|
|
6
|
+
export { registerPendingCall, startPendingCallCleanup, takePendingCall, } from "./pending-calls";
|
|
7
|
+
export type { PendingCall, } from "./types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CONTEXT_MODE_DEFAULT_BLOCKED_TOOLS } from "../../shared/context-mode-enforcement";
|
|
1
|
+
import { CONTEXT_MODE_DEFAULT_BLOCKED_TOOLS } from "../../shared/policy/context-mode-enforcement";
|
|
2
2
|
export declare const HOOK_NAME = "context-mode-enforcer";
|
|
3
3
|
export declare const WARN_MESSAGE_READ: string;
|
|
4
4
|
export declare const BLOCK_MESSAGE_GREP_GLOB: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** context-mode-enforcer barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { BASH_ROUTED_MESSAGE, BLOCK_MESSAGE_GREP_GLOB, DEFAULT_BLOCKED_TOOLS, HOOK_NAME, WARN_MESSAGE_BASH_READ, WARN_MESSAGE_READ, WARN_ONLY_TOOLS, WEBFETCH_BLOCK_MESSAGE, } from "./constants";
|
|
3
|
+
export { _resetGuidanceThrottleForTesting, shouldShowGuidance, } from "./guidance-throttle";
|
|
4
|
+
export { createContextModeEnforcerHook, } from "./hook";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
1
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
2
2
|
export type Client = NativePluginContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SessionContextCarrier } from "../../shared/session-context-source";
|
|
1
|
+
import type { SessionContextCarrier } from "../../shared/session/session-context-source";
|
|
2
2
|
export declare const PLACEHOLDER_TEXT = "[user interrupted]";
|
|
3
3
|
export declare function sanitizeEmptyMessagesBeforeSummarize(sessionID: string, client?: SessionContextCarrier): Promise<number>;
|
|
4
4
|
export declare function getLastAssistant(sessionID: string, client: SessionContextCarrier): Promise<Record<string, unknown> | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExperimentalConfig } from "../../config";
|
|
2
|
-
import type { V2Event } from "../../plugin/context";
|
|
3
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
2
|
+
import type { V2Event } from "../../plugin/tool/context";
|
|
3
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
4
4
|
export interface AnthropicContextWindowLimitRecoveryOptions {
|
|
5
5
|
experimental?: ExperimentalConfig;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MatrixxConfig } from "../config";
|
|
2
2
|
import type { ExperimentalConfig } from "../config/schema/experimental";
|
|
3
|
-
import type { MatrixxContext } from "../plugin/context";
|
|
4
|
-
import type { V2Event } from "../plugin/context";
|
|
3
|
+
import type { MatrixxContext } from "../plugin/tool/context";
|
|
4
|
+
import type { V2Event } from "../plugin/tool/context";
|
|
5
5
|
export declare function createContextWindowMonitorHook(_ctx: MatrixxContext, pluginConfig?: MatrixxConfig | {
|
|
6
6
|
experimental?: ExperimentalConfig;
|
|
7
7
|
}): {
|
|
@@ -19,7 +19,7 @@ type Part = {
|
|
|
19
19
|
text?: string;
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
};
|
|
22
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
22
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
23
23
|
interface MessageWithParts {
|
|
24
24
|
info: unknown;
|
|
25
25
|
parts: Part[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** dcp-nudge-sanitizer barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { COMPRESS_AVAILABILITY_GUARD, COMPRESS_TOOL_REFERENCE, guardCompressDirective, NUDGE_MARKERS, normalizeNudgeText, } from "./constants";
|
|
3
|
+
export { createDcpNudgeSanitizerHook, sanitizeNudgeParts, } from "./hook";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** delegate-task-retry barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { buildRetryGuidance, } from "./guidance";
|
|
3
|
+
export { createDelegateTaskRetryHook, } from "./hook";
|
|
4
|
+
export { DELEGATE_TASK_ERROR_PATTERNS, type DelegateTaskErrorPattern, type DetectedError, detectDelegateTaskError, } from "./patterns";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** design-intent-preserver barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { CONSTRUCT_INDICATORS, HOOK_NAME, IDEMPOTENCY_MARKER, INTENT_PRESERVATION_BLOCK, PHASE_TRANSITION_PATTERN, PLANS_DIR, } from "./constants";
|
|
3
|
+
export { createDesignIntentPreserverHook, } from "./hook";
|
|
4
|
+
export { extractPromptText, findMostRecentPlanFile, hasPhaseTransition, type MessagePart, planHasConstruct, } from "./phase-detector";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
2
2
|
export declare function createDirectoryAgentsInjectorHook(ctx: MatrixxContext): {
|
|
3
3
|
"tool.execute.before": (input: {
|
|
4
4
|
tool: string;
|
|
@@ -16,5 +16,5 @@ export declare function createDirectoryAgentsInjectorHook(ctx: MatrixxContext):
|
|
|
16
16
|
output: string;
|
|
17
17
|
metadata: unknown;
|
|
18
18
|
}) => Promise<void>;
|
|
19
|
-
event: (event: import("../../plugin
|
|
19
|
+
event: (event: import("../../plugin").V2Event) => Promise<void>;
|
|
20
20
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** directory-agents-injector barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { AGENTS_FILENAME, AGENTS_INJECTOR_STORAGE, } from "./constants";
|
|
3
|
+
export { findAgentsMdUp, resolveFilePath, } from "./finder";
|
|
4
|
+
export { createDirectoryAgentsInjectorHook, } from "./hook";
|
|
5
|
+
export { processFilePathForAgentsInjection, } from "./injector";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
-
import type { createDynamicTruncator } from "../../shared/dynamic-truncator";
|
|
1
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
2
|
+
import type { createDynamicTruncator } from "../../shared/compaction/dynamic-truncator";
|
|
3
3
|
type DynamicTruncator = ReturnType<typeof createDynamicTruncator>;
|
|
4
4
|
export declare function processFilePathForAgentsInjection(input: {
|
|
5
5
|
ctx: MatrixxContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MatrixxContext, V2Event } from "../../plugin/context";
|
|
2
|
-
import { createDynamicTruncator } from "../../shared/dynamic-truncator";
|
|
1
|
+
import type { MatrixxContext, V2Event } from "../../plugin/tool/context";
|
|
2
|
+
import { createDynamicTruncator } from "../../shared/compaction/dynamic-truncator";
|
|
3
3
|
export interface ToolExecuteInput {
|
|
4
4
|
tool: string;
|
|
5
5
|
sessionID: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
-
import type { Hooks } from "../../plugin/legacy-hooks";
|
|
1
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
2
|
+
import type { Hooks } from "../../plugin/tool/legacy-hooks";
|
|
3
3
|
export declare function createDocsLookupGuardHook(ctx: MatrixxContext): Hooks;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
-
import type { Hooks } from "../../plugin/legacy-hooks";
|
|
1
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
2
|
+
import type { Hooks } from "../../plugin/tool/legacy-hooks";
|
|
3
3
|
export declare function createDocumentReaderGuardHook(ctx: MatrixxContext): Hooks;
|
|
@@ -14,7 +14,7 @@ type Part = {
|
|
|
14
14
|
text?: string;
|
|
15
15
|
[key: string]: unknown;
|
|
16
16
|
};
|
|
17
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
17
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
18
18
|
interface MessageWithParts {
|
|
19
19
|
info: Message;
|
|
20
20
|
parts: Part[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LlmUsage } from "../../features/evolution/compressor/interface";
|
|
2
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
2
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
3
3
|
export declare function parseModelOverride(model: string | undefined): {
|
|
4
4
|
providerID: string;
|
|
5
5
|
modelID: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Evolution layer cross-link (orchestration vs triggers vs actions):
|
|
2
|
+
* - Triggers: this hook (`hooks/evolution-compressor`, with `hooks/evolution-hitl`, `hooks/evolution-watcher`, `hooks/evolution-quality-gate`) observes session/tool events
|
|
3
|
+
* and feeds the evolution pipeline.
|
|
4
|
+
* - Orchestration: `features/evolution/` owns the pipeline, store, and writer.
|
|
5
|
+
* - Actions: `tools/evolution` exposes agent-callable tools (propose/approve/query) on the store.
|
|
6
|
+
*/
|
|
7
|
+
/** evolution-compressor barrel: explicit named re-exports of local modules only. */
|
|
8
|
+
export { createHostLlmCall, parseModelOverride, } from "./host-llm-call";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Evolution layer cross-link (orchestration vs triggers vs actions):
|
|
2
|
+
* - Triggers: this hook (`hooks/evolution-hitl`, with `hooks/evolution-watcher`, `hooks/evolution-compressor`, `hooks/evolution-quality-gate`) observes session/tool events
|
|
3
|
+
* and feeds the evolution pipeline.
|
|
4
|
+
* - Orchestration: `features/evolution/` owns the pipeline, store, and writer.
|
|
5
|
+
* - Actions: `tools/evolution` exposes agent-callable tools (propose/approve/query) on the store.
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Local legacy `{info, parts}` shapes (Task 27: the V1 `experimental.chat.messages.transform`
|
|
3
9
|
* fan-out is deleted, so `legacy V1 SDK` message types are no longer imported).
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Evolution layer cross-link (orchestration vs triggers vs actions):
|
|
2
|
+
* - Triggers: this hook (`hooks/evolution-quality-gate`, with `hooks/evolution-hitl`, `hooks/evolution-watcher`, `hooks/evolution-compressor`) observes session/tool events
|
|
3
|
+
* and feeds the evolution pipeline.
|
|
4
|
+
* - Orchestration: `features/evolution/` owns the pipeline, store, and writer.
|
|
5
|
+
* - Actions: `tools/evolution` exposes agent-callable tools (propose/approve/query) on the store.
|
|
6
|
+
*/
|
|
1
7
|
import type { EvolutionGovernanceConfig } from "../../config/schema/evolution";
|
|
2
8
|
import type { DistilledKnowledge } from "../../features/evolution/types";
|
|
3
9
|
export declare function passesQualityGate(knowledge: DistilledKnowledge, config: EvolutionGovernanceConfig): {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
/** Evolution layer cross-link (orchestration vs triggers vs actions):
|
|
2
|
+
* - Triggers: this hook (`hooks/evolution-watcher`, with `hooks/evolution-hitl`, `hooks/evolution-compressor`, `hooks/evolution-quality-gate`) observes session/tool events
|
|
3
|
+
* and feeds the evolution pipeline.
|
|
4
|
+
* - Orchestration: `features/evolution/` owns the pipeline, store, and writer.
|
|
5
|
+
* - Actions: `tools/evolution` exposes agent-callable tools (propose/approve/query) on the store.
|
|
6
|
+
*/
|
|
1
7
|
import type { EvolutionConfig } from "../../config/schema/evolution";
|
|
2
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
8
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
3
9
|
export { classifySuccess, truncate } from "./utils";
|
|
4
10
|
export declare function createEvolutionWatcherHook(a?: MatrixxContext | EvolutionConfig, b?: EvolutionConfig): {
|
|
5
11
|
"tool.execute.before": (input: {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ export { createSoftwareDevEnforcementHook } from "./software-dev-enforcement/hoo
|
|
|
55
55
|
export { createStartWorkHook } from "./start-work/start-work-hook";
|
|
56
56
|
export { createStopContinuationGuardHook, type StopContinuationGuard } from "./stop-continuation-guard/hook";
|
|
57
57
|
export { createSubagentBlockHook } from "./subagent-block/hook";
|
|
58
|
-
export { createTaskContinuationEnforcer, type TaskContinuationEnforcer } from "./task-continuation-enforcer";
|
|
59
58
|
export { createTaskEditGuardHook } from "./task-edit-guard/hook";
|
|
60
59
|
export { createTaskNotepadWriterHook } from "./task-notepad-writer/hook";
|
|
61
60
|
export { createTaskResumeInfoHook } from "./task-resume-info/hook";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InputSecretGuardConfig } from "../../config/schema/security";
|
|
2
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
2
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
3
3
|
export declare function createInputSecretGuardHook(_ctx: NativePluginContext, cfg?: InputSecretGuardConfig): {
|
|
4
4
|
"chat.message": (input: {
|
|
5
5
|
sessionID: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** input-secret-guard barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { BLOCKLIST_RULES, type DetectionRule, type Rule, type RuleSeverity, WARNLIST_HEURISTICS, } from "./detection-rules";
|
|
3
|
+
export { type CompiledRule, detectSecrets, type Finding, hashFinding, redactMatch, shannonEntropy, } from "./detector";
|
|
4
|
+
export { createInputSecretGuardHook, } from "./hook";
|
|
5
|
+
export { allowOnce, allowSession, clearAll, clearSession, consumeOneShot, isSessionAllowed, } from "./session-allow-cache";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { V2Event } from "../../plugin/context";
|
|
2
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
1
|
+
import type { V2Event } from "../../plugin/tool/context";
|
|
2
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
3
3
|
interface ToolExecuteInput {
|
|
4
4
|
tool: string;
|
|
5
5
|
sessionID: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** interactive-bash-session barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { buildSessionReminderMessage, INTERACTIVE_BASH_SESSION_STORAGE, MATRIXX_SESSION_PREFIX, } from "./constants";
|
|
3
|
+
export { createInteractiveBashSessionHook, } from "./hook";
|
|
4
|
+
export { extractSessionNameFromTokens, findSubcommand, tokenizeCommand, } from "./parser";
|
|
5
|
+
export { getOrCreateState, isOmoSession, killAllTrackedSessions, } from "./state-manager";
|
|
6
|
+
export { clearInteractiveBashSessionState, loadInteractiveBashSessionState, saveInteractiveBashSessionState, } from "./storage";
|
|
7
|
+
export type { InteractiveBashSessionState, SerializedInteractiveBashSessionState, } from "./types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
1
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
2
2
|
export declare const JSON_ERROR_TOOL_EXCLUDE_LIST: readonly ["bash", "shell", "read", "glob", "grep", "webfetch", "look_at", "github_search", "websearch"];
|
|
3
3
|
export declare const JSON_ERROR_PATTERNS: readonly RegExp[];
|
|
4
4
|
export declare const JSON_ERROR_REMINDER = "\n[JSON PARSE ERROR - IMMEDIATE ACTION REQUIRED]\n\nYou sent invalid JSON arguments to a tool. STOP and do this NOW:\n\n1. DO NOT retry with the same malformed JSON\n2. CORRECT the JSON syntax \u2014 check for: missing quotes, trailing commas, unmatched braces\n3. RETRY the tool call with valid JSON arguments\n\nThis usually means you garbled a string parameter or forgot to escape a character.\n";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CODE_BLOCK_PATTERN, INLINE_CODE_PATTERN } from "../../shared/code-patterns";
|
|
1
|
+
export { CODE_BLOCK_PATTERN, INLINE_CODE_PATTERN } from "../../shared/policy/code-patterns";
|
|
2
2
|
export { ANALYZE_MESSAGE, ANALYZE_PATTERN } from "./analyze/default";
|
|
3
3
|
export { DOCS_MESSAGE, DOCS_PATTERN } from "./docs/default";
|
|
4
4
|
export { SEARCH_MESSAGE, SEARCH_PATTERN } from "./search/default";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ContextCollector } from "../../features/context-injector";
|
|
2
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
1
|
+
import type { ContextCollector } from "../../features/context-injection/injector";
|
|
2
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
3
3
|
export declare function createKeywordDetectorHook(_ctx: NativePluginContext, _collector?: ContextCollector): {
|
|
4
4
|
"chat.message": (input: {
|
|
5
5
|
sessionID: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** keyword-detector barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { KEYWORD_DETECTORS, } from "./constants";
|
|
3
|
+
export { detectKeywordsWithType, extractPromptText, removeCodeBlocks, } from "./detector";
|
|
4
|
+
export { createKeywordDetectorHook, } from "./hook";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoadedHub } from "../../features/knowledge-hub/loader";
|
|
2
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
3
3
|
export interface KnowledgeHubGuardOptions {
|
|
4
4
|
hubs?: LoadedHub[];
|
|
5
5
|
getHubs?: () => LoadedHub[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** knowledge-hub-guard barrel: explicit named re-exports of local modules only. */
|
|
2
|
+
export { approveHubWrite, clearHubWriteApprovals, HUB_WRITE_APPROVAL_TTL_MS, isHubWriteApproved, normalizeApprovedPath, } from "./approvals";
|
|
3
|
+
export { createKnowledgeHubGuardHook, type KnowledgeHubGuardOptions, } from "./hook";
|
|
@@ -15,9 +15,9 @@ type Part = {
|
|
|
15
15
|
[key: string]: unknown;
|
|
16
16
|
};
|
|
17
17
|
import type { KnowledgeHub } from "../../config/schema/knowledge";
|
|
18
|
-
import { type ContextCollector } from "../../features/context-injector";
|
|
19
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
20
|
-
import type { V2Event } from "../../plugin/context";
|
|
18
|
+
import { type ContextCollector } from "../../features/context-injection/injector";
|
|
19
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
20
|
+
import type { V2Event } from "../../plugin/tool/context";
|
|
21
21
|
export interface KnowledgeHubInjectorOptions {
|
|
22
22
|
hubs?: KnowledgeHub[];
|
|
23
23
|
getHubs?: () => KnowledgeHub[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoadedHub } from "../../features/knowledge-hub/loader";
|
|
2
|
-
import type { MatrixxContext } from "../../plugin/context";
|
|
2
|
+
import type { MatrixxContext } from "../../plugin/tool/context";
|
|
3
3
|
export interface KnowledgeHubSearchNudgeOptions {
|
|
4
4
|
hubs?: LoadedHub[];
|
|
5
5
|
getHubs?: () => LoadedHub[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
2
|
-
import type { SessionMessage } from "../../shared/session-message";
|
|
1
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
2
|
+
import type { SessionMessage } from "../../shared/session/session-message";
|
|
3
3
|
export type OpenCodeSessionMessage = SessionMessage;
|
|
4
4
|
export declare function detectCompletionInTranscript(transcriptPath: string | undefined, promise: string): boolean;
|
|
5
5
|
export declare function detectCompletionInSessionMessages(ctx: NativePluginContext, options: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
1
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
2
2
|
import type { OpenCodeSessionMessage } from "./completion-promise-detector";
|
|
3
3
|
interface VerificationResult {
|
|
4
4
|
verified: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NativePluginContext } from "../../shared/session-context-source";
|
|
1
|
+
import type { NativePluginContext } from "../../shared/session/session-context-source";
|
|
2
2
|
export declare function injectContinuationPrompt(ctx: NativePluginContext, options: {
|
|
3
3
|
sessionID: string;
|
|
4
4
|
prompt: string;
|