@heidi-dang/oh-my-opencode 3.12.4 → 3.13.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/README.md +61 -367
- package/dist/agents/atlas/agent.d.ts +1 -1
- package/dist/agents/atlas/default.d.ts +1 -1
- package/dist/agents/atlas/gemini.d.ts +1 -1
- package/dist/agents/atlas/gpt.d.ts +1 -1
- package/dist/agents/atlas/prompt-section-builder.d.ts +1 -1
- package/dist/agents/builtin-agents/atlas-agent.d.ts +4 -1
- package/dist/agents/builtin-agents/available-skills.d.ts +1 -1
- package/dist/agents/builtin-agents/general-agents.d.ts +4 -1
- package/dist/agents/builtin-agents/hephaestus-agent.d.ts +5 -1
- package/dist/agents/builtin-agents/model-resolution.d.ts +2 -0
- package/dist/agents/builtin-agents/resolve-file-uri.test.d.ts +1 -0
- package/dist/agents/builtin-agents/sisyphus-agent.d.ts +4 -1
- package/dist/agents/builtin-agents.d.ts +3 -3
- package/dist/agents/chat.d.ts +7 -0
- package/dist/agents/dynamic-agent-prompt-builder.test.d.ts +1 -0
- package/dist/agents/env-context.test.d.ts +1 -0
- package/dist/agents/hephaestus/agent.d.ts +19 -0
- package/dist/agents/hephaestus/agent.test.d.ts +1 -0
- package/dist/agents/hephaestus/gpt-5-3-codex.d.ts +21 -0
- package/dist/agents/hephaestus/gpt-5-4.d.ts +3 -0
- package/dist/agents/hephaestus/gpt.d.ts +3 -0
- package/dist/agents/hephaestus/index.d.ts +2 -0
- package/dist/agents/hephaestus.d.ts +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/metis.d.ts +1 -1
- package/dist/agents/momus.d.ts +1 -1
- package/dist/agents/momus.test.d.ts +1 -0
- package/dist/agents/prometheus-prompt.test.d.ts +1 -0
- package/dist/agents/prompts/agent-role.d.ts +2 -0
- package/dist/agents/prompts/anti-patterns.d.ts +2 -0
- package/dist/agents/prompts/base-system.d.ts +1 -0
- package/dist/agents/prompts/execution-rules.d.ts +2 -0
- package/dist/agents/prompts/hard-blocks.d.ts +2 -0
- package/dist/agents/prompts/index.d.ts +6 -0
- package/dist/agents/{dynamic-agent-prompt-builder.d.ts → prompts/orchestration.d.ts} +2 -23
- package/dist/agents/prompts/skill-context.d.ts +2 -0
- package/dist/agents/runtime/action-validator.d.ts +31 -0
- package/dist/agents/runtime/agent-logger.d.ts +15 -0
- package/dist/agents/runtime/loop-guard.d.ts +2 -0
- package/dist/agents/runtime/verify-action.d.ts +58 -0
- package/dist/agents/sisyphus/default.d.ts +9 -0
- package/dist/agents/sisyphus/gemini.d.ts +20 -0
- package/dist/agents/sisyphus/gpt-5-4.d.ts +16 -0
- package/dist/agents/sisyphus/index.d.ts +11 -0
- package/dist/agents/sisyphus-junior/index.test.d.ts +1 -0
- package/dist/agents/sisyphus.d.ts +1 -1
- package/dist/agents/tool-restrictions.test.d.ts +1 -0
- package/dist/agents/types.d.ts +24 -6
- package/dist/agents/types.test.d.ts +1 -0
- package/dist/agents/utils.test.d.ts +1 -0
- package/dist/cli/cli-installer.test.d.ts +1 -0
- package/dist/cli/config-manager/write-omo-config.test.d.ts +1 -0
- package/dist/cli/config-manager.test.d.ts +1 -0
- package/dist/cli/doctor/checks/config.test.d.ts +1 -0
- package/dist/cli/doctor/checks/dependencies.test.d.ts +1 -0
- package/dist/cli/doctor/checks/edit-atomicity.d.ts +5 -0
- package/dist/cli/doctor/checks/issue-resolution.d.ts +7 -0
- package/dist/cli/doctor/checks/model-resolution.test.d.ts +1 -0
- package/dist/cli/doctor/checks/plan-compiler.d.ts +8 -0
- package/dist/cli/doctor/checks/progress.d.ts +8 -0
- package/dist/cli/doctor/checks/run-state-watchdog.d.ts +2 -0
- package/dist/cli/doctor/checks/system-loaded-version.test.d.ts +1 -0
- package/dist/cli/doctor/checks/system.test.d.ts +1 -0
- package/dist/cli/doctor/checks/tool-contract.d.ts +8 -0
- package/dist/cli/doctor/checks/tool-metadata.d.ts +2 -0
- package/dist/cli/doctor/constants.d.ts +3 -0
- package/dist/cli/doctor/format-default.test.d.ts +1 -0
- package/dist/cli/doctor/formatter.test.d.ts +1 -0
- package/dist/cli/doctor/runner.test.d.ts +1 -0
- package/dist/cli/doctor/types.d.ts +3 -0
- package/dist/cli/index.js +2542 -214
- package/dist/cli/index.test.d.ts +1 -0
- package/dist/cli/install.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/index.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/login.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/logout.test.d.ts +1 -0
- package/dist/cli/mcp-oauth/status.test.d.ts +1 -0
- package/dist/cli/model-fallback.test.d.ts +1 -0
- package/dist/cli/provider-model-id-transform.test.d.ts +1 -0
- package/dist/cli/run/completion-continuation.test.d.ts +1 -0
- package/dist/cli/run/completion-verbose-logging.test.d.ts +1 -0
- package/dist/cli/run/completion.test.d.ts +1 -0
- package/dist/cli/run/continuation-state-marker.test.d.ts +1 -0
- package/dist/cli/run/event-handlers.test.d.ts +1 -0
- package/dist/cli/run/events.test.d.ts +1 -0
- package/dist/cli/run/integration.test.d.ts +1 -0
- package/dist/cli/run/json-output.test.d.ts +1 -0
- package/dist/cli/run/message-part-delta.test.d.ts +1 -0
- package/dist/cli/run/on-complete-hook.test.d.ts +1 -0
- package/dist/cli/run/opencode-binary-resolver.test.d.ts +1 -0
- package/dist/cli/run/poll-for-completion.test.d.ts +1 -0
- package/dist/cli/run/runner.test.d.ts +1 -0
- package/dist/cli/run/server-connection.test.d.ts +1 -0
- package/dist/cli/run/session-resolver.test.d.ts +1 -0
- package/dist/cli/run/stdin-suppression.test.d.ts +1 -0
- package/dist/cli/run/timestamp-output.test.d.ts +1 -0
- package/dist/config/schema/agent-names.d.ts +6 -3
- package/dist/config/schema/agent-overrides.d.ts +150 -30
- package/dist/config/schema/background-task.test.d.ts +1 -0
- package/dist/config/schema/categories.d.ts +21 -3
- package/dist/config/schema/categories.test.d.ts +1 -0
- package/dist/config/schema/fallback-models.d.ts +11 -1
- package/dist/config/schema/hooks.d.ts +7 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +151 -29
- package/dist/config/schema.test.d.ts +1 -0
- package/dist/create-hooks.d.ts +11 -1
- package/dist/create-managers.d.ts +2 -0
- package/dist/create-tools.d.ts +1 -1
- package/dist/features/background-agent/compaction-aware-message-resolver.test.d.ts +1 -0
- package/dist/features/background-agent/concurrency.test.d.ts +1 -0
- package/dist/features/background-agent/error-classifier.test.d.ts +1 -0
- package/dist/features/background-agent/fallback-retry-handler.test.d.ts +1 -0
- package/dist/features/background-agent/manager.d.ts +13 -0
- package/dist/features/background-agent/manager.polling.test.d.ts +1 -0
- package/dist/features/background-agent/manager.test.d.ts +1 -0
- package/dist/features/background-agent/process-cleanup.test.d.ts +1 -0
- package/dist/features/background-agent/session-idle-event-handler.test.d.ts +1 -0
- package/dist/features/background-agent/spawner/parent-directory-resolver.test.d.ts +1 -0
- package/dist/features/background-agent/spawner.test.d.ts +1 -0
- package/dist/features/background-agent/task-history.test.d.ts +1 -0
- package/dist/features/background-agent/task-poller.test.d.ts +1 -0
- package/dist/features/background-agent/types.d.ts +9 -4
- package/dist/features/boulder-state/storage.test.d.ts +1 -0
- package/dist/features/builtin-commands/commands.test.d.ts +1 -0
- package/dist/features/builtin-commands/templates/stop-continuation.test.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git/git-commit.d.ts +2 -0
- package/dist/features/builtin-skills/skills/git/git-history.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git/git-push-pr.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git/git-rebase.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git/git-shared.d.ts +2 -0
- package/dist/features/builtin-skills/skills.test.d.ts +1 -0
- package/dist/features/claude-code-mcp-loader/loader.test.d.ts +1 -0
- package/dist/features/claude-code-session-state/state.d.ts +4 -0
- package/dist/features/claude-code-session-state/state.test.d.ts +1 -0
- package/dist/features/claude-tasks/session-storage.test.d.ts +1 -0
- package/dist/features/claude-tasks/storage.test.d.ts +1 -0
- package/dist/features/claude-tasks/types.test.d.ts +1 -0
- package/dist/features/context-injector/collector.test.d.ts +1 -0
- package/dist/features/context-injector/injector.test.d.ts +1 -0
- package/dist/features/hook-message-injector/injector.d.ts +2 -0
- package/dist/features/hook-message-injector/injector.test.d.ts +1 -0
- package/dist/features/issue-resolution/state.d.ts +12 -0
- package/dist/features/issue-resolution/tests/integration.test.d.ts +1 -0
- package/dist/features/mcp-oauth/callback-server.test.d.ts +1 -0
- package/dist/features/mcp-oauth/dcr.test.d.ts +1 -0
- package/dist/features/mcp-oauth/discovery.test.d.ts +1 -0
- package/dist/features/mcp-oauth/provider.test.d.ts +1 -0
- package/dist/features/mcp-oauth/resource-indicator.test.d.ts +1 -0
- package/dist/features/mcp-oauth/schema.test.d.ts +1 -0
- package/dist/features/mcp-oauth/step-up.test.d.ts +1 -0
- package/dist/features/mcp-oauth/storage.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/agents-skills-global.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/async-loader.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/blocking.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/config-source-discovery.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/loader.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/merger.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/skill-content.test.d.ts +1 -0
- package/dist/features/pr-state/storage.d.ts +10 -0
- package/dist/features/run-continuation-state/storage.test.d.ts +1 -0
- package/dist/features/run-state-watchdog/index.d.ts +1 -0
- package/dist/features/run-state-watchdog/manager.d.ts +31 -0
- package/dist/features/run-state-watchdog/manager.test.d.ts +1 -0
- package/dist/features/run-state-watchdog/reconnect.test.d.ts +1 -0
- package/dist/features/skill-mcp-manager/env-cleaner.test.d.ts +1 -0
- package/dist/features/skill-mcp-manager/manager.test.d.ts +1 -0
- package/dist/features/task-toast-manager/manager.d.ts +9 -0
- package/dist/features/task-toast-manager/manager.test.d.ts +1 -0
- package/dist/features/task-toast-manager/types.d.ts +5 -0
- package/dist/features/tmux-subagent/action-executor.test.d.ts +1 -0
- package/dist/features/tmux-subagent/decision-engine.test.d.ts +1 -0
- package/dist/features/tmux-subagent/layout-config.test.d.ts +1 -0
- package/dist/features/tmux-subagent/manager.test.d.ts +1 -0
- package/dist/features/tmux-subagent/polling-manager.test.d.ts +1 -0
- package/dist/features/tool-metadata-store/index.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/empty-content-recovery-sdk.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/executor.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/parser.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/recovery-deduplication.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/storage.test.d.ts +1 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.test.d.ts +1 -0
- package/dist/hooks/anthropic-effort/index.test.d.ts +1 -0
- package/dist/hooks/atlas/index.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/constants.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/detector.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/executor.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/index.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/pinned-version-updater.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker/plugin-entry.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/checker.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/hook/background-update-check.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/hook.test.d.ts +1 -0
- package/dist/hooks/auto-update-checker/index.test.d.ts +1 -0
- package/dist/hooks/category-skill-reminder/formatter.d.ts +1 -1
- package/dist/hooks/category-skill-reminder/hook.d.ts +1 -1
- package/dist/hooks/category-skill-reminder/index.test.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/execute-http-hook.test.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/stop.test.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/transcript.test.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/user-prompt-submit.test.d.ts +1 -0
- package/dist/hooks/comment-checker/cli.test.d.ts +1 -0
- package/dist/hooks/comment-checker/hook.apply-patch.test.d.ts +1 -0
- package/dist/hooks/comment-checker/pending-calls.test.d.ts +1 -0
- package/dist/hooks/compaction-context-injector/index.test.d.ts +1 -0
- package/dist/hooks/compaction-todo-preserver/index.test.d.ts +1 -0
- package/dist/hooks/context-window-monitor.test.d.ts +1 -0
- package/dist/hooks/delegate-task-retry/index.test.d.ts +1 -0
- package/dist/hooks/directory-agents-injector/injector.test.d.ts +1 -0
- package/dist/hooks/directory-readme-injector/injector.test.d.ts +1 -0
- package/dist/hooks/edit-error-recovery/hook.d.ts +2 -1
- package/dist/hooks/edit-error-recovery/index.test.d.ts +1 -0
- package/dist/hooks/edit-safeguard/hook.d.ts +2 -0
- package/dist/hooks/execution-journal/hook.d.ts +19 -0
- package/dist/hooks/execution-journal/index.d.ts +1 -0
- package/dist/hooks/hashline-read-enhancer/index.test.d.ts +1 -0
- package/dist/hooks/index.d.ts +11 -3
- package/dist/hooks/json-error-recovery/index.test.d.ts +1 -0
- package/dist/hooks/keyword-detector/constants.d.ts +1 -0
- package/dist/hooks/keyword-detector/detector.d.ts +1 -1
- package/dist/hooks/keyword-detector/index.test.d.ts +1 -0
- package/dist/hooks/keyword-detector/issue.d.ts +2 -0
- package/dist/hooks/model-fallback/hook.test.d.ts +1 -0
- package/dist/hooks/no-hephaestus-non-gpt/index.test.d.ts +1 -0
- package/dist/hooks/no-sisyphus-gpt/index.test.d.ts +1 -0
- package/dist/hooks/non-interactive-env/index.test.d.ts +1 -0
- package/dist/hooks/plan-enforcement/hook.d.ts +29 -0
- package/dist/hooks/plan-enforcement/hook.test.d.ts +1 -0
- package/dist/hooks/plan-enforcement/index.d.ts +1 -0
- package/dist/hooks/preemptive-compaction.test.d.ts +1 -0
- package/dist/hooks/prometheus-md-only/index.test.d.ts +1 -0
- package/dist/hooks/question-label-truncator/index.test.d.ts +1 -0
- package/dist/hooks/ralph-loop/completion-handler.d.ts +14 -0
- package/dist/hooks/ralph-loop/completion-promise-detector.d.ts +1 -1
- package/dist/hooks/ralph-loop/completion-promise-detector.test.d.ts +1 -0
- package/dist/hooks/ralph-loop/constants.d.ts +1 -0
- package/dist/hooks/ralph-loop/index.test.d.ts +1 -0
- package/dist/hooks/ralph-loop/loop-state-controller.d.ts +2 -0
- package/dist/hooks/ralph-loop/ralph-loop-event-handler.d.ts +2 -0
- package/dist/hooks/ralph-loop/reset-strategy-race-condition.test.d.ts +1 -0
- package/dist/hooks/ralph-loop/session-event-handler.d.ts +12 -0
- package/dist/hooks/ralph-loop/types.d.ts +5 -1
- package/dist/hooks/ralph-loop/ulw-loop-verification.test.d.ts +1 -0
- package/dist/hooks/read-image-resizer/hook.test.d.ts +1 -0
- package/dist/hooks/read-image-resizer/image-dimensions.test.d.ts +1 -0
- package/dist/hooks/read-image-resizer/image-resizer.test.d.ts +1 -0
- package/dist/hooks/rules-injector/finder.test.d.ts +1 -0
- package/dist/hooks/rules-injector/injector.test.d.ts +1 -0
- package/dist/hooks/rules-injector/output-path.test.d.ts +1 -0
- package/dist/hooks/rules-injector/parser.test.d.ts +1 -0
- package/dist/hooks/run-state-watchdog/hook.d.ts +5 -0
- package/dist/hooks/run-state-watchdog/index.d.ts +1 -0
- package/dist/hooks/runtime-enforcement/hook.d.ts +10 -0
- package/dist/hooks/runtime-enforcement/hook.test.d.ts +1 -0
- package/dist/hooks/runtime-enforcement/index.d.ts +1 -0
- package/dist/hooks/runtime-enforcement/synthetic-injection.test.d.ts +1 -0
- package/dist/hooks/runtime-fallback/index.test.d.ts +1 -0
- package/dist/hooks/semantic-loop-guard/hook.d.ts +10 -0
- package/dist/hooks/semantic-loop-guard/hook.test.d.ts +1 -0
- package/dist/hooks/semantic-loop-guard/index.d.ts +1 -0
- package/dist/hooks/session-notification-input-needed.test.d.ts +1 -0
- package/dist/hooks/session-notification.test.d.ts +1 -0
- package/dist/hooks/session-recovery/detect-error-type.test.d.ts +1 -0
- package/dist/hooks/session-recovery/index.test.d.ts +1 -0
- package/dist/hooks/session-recovery/recover-empty-content-message-sdk.test.d.ts +1 -0
- package/dist/hooks/session-recovery/resume.test.d.ts +1 -0
- package/dist/hooks/session-recovery/storage/readers-from-sdk.test.d.ts +1 -0
- package/dist/hooks/start-work/index.test.d.ts +1 -0
- package/dist/hooks/start-work/parse-user-request.test.d.ts +1 -0
- package/dist/hooks/start-work/worktree-detector.test.d.ts +1 -0
- package/dist/hooks/stop-continuation-guard/index.test.d.ts +1 -0
- package/dist/hooks/task-reminder/index.test.d.ts +1 -0
- package/dist/hooks/task-resume-info/index.test.d.ts +1 -0
- package/dist/hooks/tasks-todowrite-disabler/index.test.d.ts +1 -0
- package/dist/hooks/think-mode/index.test.d.ts +1 -0
- package/dist/hooks/think-mode/switcher.test.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/continuation-injection.test.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/pending-question-detection.test.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/todo-continuation-enforcer.test.d.ts +1 -0
- package/dist/hooks/tool-contract/hook.d.ts +19 -0
- package/dist/hooks/tool-contract/hook.test.d.ts +1 -0
- package/dist/hooks/tool-contract/index.d.ts +1 -0
- package/dist/hooks/tool-output-truncator.test.d.ts +1 -0
- package/dist/hooks/unstable-agent-babysitter/index.test.d.ts +1 -0
- package/dist/hooks/write-existing-file-guard/index.test.d.ts +1 -0
- package/dist/hooks/xai-usage-patch/hook.d.ts +20 -0
- package/dist/hooks/xai-usage-patch/hook.test.d.ts +1 -0
- package/dist/index.compaction-model-agnostic.static.test.d.ts +1 -0
- package/dist/index.js +4980 -14453
- package/dist/index.test.d.ts +1 -0
- package/dist/mcp/index.test.d.ts +1 -0
- package/dist/mcp/websearch.test.d.ts +1 -0
- package/dist/oh-my-opencode.schema.json +622 -15
- package/dist/plugin/available-categories.d.ts +1 -1
- package/dist/plugin/chat-headers.test.d.ts +1 -0
- package/dist/plugin/chat-message.test.d.ts +1 -0
- package/dist/plugin/chat-params.test.d.ts +1 -0
- package/dist/plugin/event.model-fallback.test.d.ts +1 -0
- package/dist/plugin/event.test.d.ts +1 -0
- package/dist/plugin/hooks/create-core-hooks.d.ts +10 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +4 -1
- package/dist/plugin/hooks/create-skill-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +7 -1
- package/dist/plugin/recent-synthetic-idles.test.d.ts +1 -0
- package/dist/plugin/session-agent-resolver.test.d.ts +1 -0
- package/dist/plugin/session-status-normalizer.test.d.ts +1 -0
- package/dist/plugin/skill-context.d.ts +1 -1
- package/dist/plugin/tool-execute-before-session-notification.test.d.ts +1 -0
- package/dist/plugin/tool-execute-before.test.d.ts +1 -0
- package/dist/plugin/tool-normalization.test.d.ts +1 -0
- package/dist/plugin/tool-registry.d.ts +1 -1
- package/dist/plugin/truth-model-integration.test.d.ts +1 -0
- package/dist/plugin/ultrawork-db-model-override.test.d.ts +1 -0
- package/dist/plugin/ultrawork-model-override.test.d.ts +1 -0
- package/dist/plugin-config.test.d.ts +1 -0
- package/dist/plugin-handlers/agent-key-remapper.test.d.ts +1 -0
- package/dist/plugin-handlers/config-handler-formatter.test.d.ts +1 -0
- package/dist/plugin-handlers/config-handler.test.d.ts +1 -0
- package/dist/plugin-handlers/mcp-config-handler.test.d.ts +1 -0
- package/dist/plugin-handlers/plan-model-inheritance.test.d.ts +1 -0
- package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +3 -2
- package/dist/plugin-handlers/tool-config-handler.test.d.ts +1 -0
- package/dist/runtime/journal.d.ts +33 -0
- package/dist/runtime/plan-compiler.d.ts +20 -0
- package/dist/runtime/plan-compiler.test.d.ts +1 -0
- package/dist/runtime/startup-validation.d.ts +7 -0
- package/dist/runtime/state-ledger.d.ts +52 -0
- package/dist/runtime/tools/complete-task.d.ts +4 -0
- package/dist/runtime/tools/fs-safe.contract.test.d.ts +1 -0
- package/dist/runtime/tools/fs-safe.d.ts +1 -0
- package/dist/runtime/tools/gh-safe.d.ts +1 -0
- package/dist/runtime/tools/git-safe.d.ts +1 -0
- package/dist/runtime/tools/index.d.ts +8 -0
- package/dist/runtime/tools/plan.d.ts +3 -0
- package/dist/runtime/tools/query-ledger.d.ts +3 -0
- package/dist/runtime/tools/registry.d.ts +8 -0
- package/dist/runtime/tools/report-issue-verification.d.ts +1 -0
- package/dist/runtime/tools/verify.d.ts +1 -0
- package/dist/runtime/truth-model.test.d.ts +1 -0
- package/dist/runtime/vcs-detection.test.d.ts +1 -0
- package/dist/shared/active-task-storage.d.ts +15 -0
- package/dist/shared/agent-config-integration.test.d.ts +1 -0
- package/dist/shared/agent-display-names.test.d.ts +1 -0
- package/dist/shared/agent-variant.test.d.ts +1 -0
- package/dist/shared/claude-config-dir.test.d.ts +1 -0
- package/dist/shared/connected-providers-cache.test.d.ts +1 -0
- package/dist/shared/deep-merge.test.d.ts +1 -0
- package/dist/shared/dynamic-truncator.test.d.ts +1 -0
- package/dist/shared/external-plugin-detector.test.d.ts +1 -0
- package/dist/shared/file-utils.test.d.ts +1 -0
- package/dist/shared/first-message-variant.test.d.ts +1 -0
- package/dist/shared/frontmatter.test.d.ts +1 -0
- package/dist/shared/git-worktree/collect-git-diff-stats.test.d.ts +1 -0
- package/dist/shared/git-worktree/git-worktree.test.d.ts +1 -0
- package/dist/shared/git-worktree/parse-status-porcelain-line.test.d.ts +1 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/jsonc-parser.test.d.ts +1 -0
- package/dist/shared/merge-categories.test.d.ts +1 -0
- package/dist/shared/migration.test.d.ts +1 -0
- package/dist/shared/model-availability.d.ts +6 -0
- package/dist/shared/model-availability.test.d.ts +1 -0
- package/dist/shared/model-error-classifier.d.ts +5 -0
- package/dist/shared/model-error-classifier.test.d.ts +1 -0
- package/dist/shared/model-format-normalizer.test.d.ts +1 -0
- package/dist/shared/model-normalization.test.d.ts +1 -0
- package/dist/shared/model-requirements.d.ts +6 -0
- package/dist/shared/model-requirements.test.d.ts +1 -0
- package/dist/shared/model-resolution-acceptance.test.d.ts +1 -0
- package/dist/shared/model-resolution-pipeline.d.ts +5 -1
- package/dist/shared/model-resolution-pipeline.test.d.ts +1 -0
- package/dist/shared/model-resolution-tracker.d.ts +17 -0
- package/dist/shared/model-resolution-types.d.ts +7 -1
- package/dist/shared/model-resolver.d.ts +10 -3
- package/dist/shared/model-resolver.test.d.ts +1 -0
- package/dist/shared/model-suggestion-retry.test.d.ts +1 -0
- package/dist/shared/normalize-sdk-response.test.d.ts +1 -0
- package/dist/shared/opencode-config-dir.test.d.ts +1 -0
- package/dist/shared/opencode-http-api.test.d.ts +1 -0
- package/dist/shared/opencode-message-dir.test.d.ts +1 -0
- package/dist/shared/opencode-server-auth.test.d.ts +1 -0
- package/dist/shared/opencode-storage-detection.test.d.ts +1 -0
- package/dist/shared/opencode-version.test.d.ts +1 -0
- package/dist/shared/pattern-matcher.test.d.ts +1 -0
- package/dist/shared/permission-compat.test.d.ts +1 -0
- package/dist/shared/plugin-command-discovery.test.d.ts +1 -0
- package/dist/shared/port-utils.test.d.ts +1 -0
- package/dist/shared/prompt-tools.test.d.ts +1 -0
- package/dist/shared/read-permission-tracker.d.ts +15 -0
- package/dist/shared/safe-create-hook.test.d.ts +1 -0
- package/dist/shared/session-cursor.test.d.ts +1 -0
- package/dist/shared/session-directory-resolver.test.d.ts +1 -0
- package/dist/shared/session-model-state.test.d.ts +1 -0
- package/dist/shared/session-tools-store.test.d.ts +1 -0
- package/dist/shared/shell-env.test.d.ts +1 -0
- package/dist/shared/skill-path-resolver.test.d.ts +1 -0
- package/dist/shared/system-directive.test.d.ts +1 -0
- package/dist/shared/tmux/tmux-utils/layout.test.d.ts +1 -0
- package/dist/shared/tmux/tmux-utils.test.d.ts +1 -0
- package/dist/shared/tool-name.test.d.ts +1 -0
- package/dist/shared/truncate-description.test.d.ts +1 -0
- package/dist/shared/verify-task-completion.d.ts +1 -0
- package/dist/tools/background-task/create-background-output.blocking.test.d.ts +1 -0
- package/dist/tools/background-task/create-background-task.test.d.ts +1 -0
- package/dist/tools/background-task/tools.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/background-agent-executor.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/background-executor.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/session-creator.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/subagent-session-creator.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/sync-executor.test.d.ts +1 -0
- package/dist/tools/call-omo-agent/tools.test.d.ts +1 -0
- package/dist/tools/delegate-task/background-continuation.test.d.ts +1 -0
- package/dist/tools/delegate-task/background-task.d.ts +1 -1
- package/dist/tools/delegate-task/background-task.test.d.ts +1 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +1 -0
- package/dist/tools/delegate-task/category-resolver.test.d.ts +1 -0
- package/dist/tools/delegate-task/constants.d.ts +1 -1
- package/dist/tools/delegate-task/metadata-await.test.d.ts +1 -0
- package/dist/tools/delegate-task/metadata-model-unification.test.d.ts +1 -0
- package/dist/tools/delegate-task/model-selection.d.ts +2 -0
- package/dist/tools/delegate-task/subagent-resolver.d.ts +2 -1
- package/dist/tools/delegate-task/subagent-resolver.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-continuation.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-poll-timeout.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +1 -0
- package/dist/tools/delegate-task/sync-prompt-sender.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-result-fetcher.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-session-poller.test.d.ts +1 -0
- package/dist/tools/delegate-task/sync-task.d.ts +1 -1
- package/dist/tools/delegate-task/sync-task.test.d.ts +1 -0
- package/dist/tools/delegate-task/timing.test.d.ts +1 -0
- package/dist/tools/delegate-task/token-limiter.test.d.ts +1 -0
- package/dist/tools/delegate-task/tools.test.d.ts +1 -0
- package/dist/tools/delegate-task/types.d.ts +1 -1
- package/dist/tools/delegate-task/unstable-agent-task.test.d.ts +1 -0
- package/dist/tools/delegate-task/unstable-agent-timeout.test.d.ts +1 -0
- package/dist/tools/glob/cli.test.d.ts +1 -0
- package/dist/tools/grep/downloader.test.d.ts +1 -0
- package/dist/tools/grep/result-formatter.test.d.ts +1 -0
- package/dist/tools/hashline-edit/diff-utils.test.d.ts +1 -0
- package/dist/tools/hashline-edit/edit-operations.test.d.ts +1 -0
- package/dist/tools/hashline-edit/edit-text-normalization.test.d.ts +1 -0
- package/dist/tools/hashline-edit/hash-computation.test.d.ts +1 -0
- package/dist/tools/hashline-edit/normalize-edits.test.d.ts +1 -0
- package/dist/tools/hashline-edit/tools.test.d.ts +1 -0
- package/dist/tools/hashline-edit/validation.test.d.ts +1 -0
- package/dist/tools/look-at/create-look-at-error-handling.test.d.ts +1 -0
- package/dist/tools/look-at/create-look-at-image-data.test.d.ts +1 -0
- package/dist/tools/look-at/create-look-at-model-passthrough.test.d.ts +1 -0
- package/dist/tools/look-at/create-look-at-sync-prompt.test.d.ts +1 -0
- package/dist/tools/look-at/create-look-at-unhandled-error.test.d.ts +1 -0
- package/dist/tools/look-at/image-converter.test.d.ts +1 -0
- package/dist/tools/look-at/mime-type-inference.test.d.ts +1 -0
- package/dist/tools/look-at/normalize-args.test.d.ts +1 -0
- package/dist/tools/look-at/session-poller.test.d.ts +1 -0
- package/dist/tools/look-at/tools.test.d.ts +7 -0
- package/dist/tools/look-at/validate-args.test.d.ts +1 -0
- package/dist/tools/lsp/client.test.d.ts +1 -0
- package/dist/tools/lsp/config.test.d.ts +1 -0
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +3 -0
- package/dist/tools/lsp/lsp-process.test.d.ts +1 -0
- package/dist/tools/lsp/server-config-loader.test.d.ts +1 -0
- package/dist/tools/lsp/utils.test.d.ts +1 -0
- package/dist/tools/session-manager/storage.test.d.ts +1 -0
- package/dist/tools/session-manager/tools.test.d.ts +1 -0
- package/dist/tools/session-manager/utils.test.d.ts +1 -0
- package/dist/tools/skill/tools.test.agent-restriction.d.ts +1 -0
- package/dist/tools/skill/tools.test.d.ts +1 -0
- package/dist/tools/skill/tools.test.description.d.ts +1 -0
- package/dist/tools/skill/tools.test.mcp-schema.d.ts +1 -0
- package/dist/tools/skill/tools.test.ordering.d.ts +1 -0
- package/dist/tools/skill/tools.test.utils.d.ts +10 -0
- package/dist/tools/skill-mcp/builtin-mcp-hint.test.d.ts +1 -0
- package/dist/tools/skill-mcp/tools.test.d.ts +1 -0
- package/dist/tools/slashcommand/command-discovery.test.d.ts +1 -0
- package/dist/tools/slashcommand/command-output-formatter.test.d.ts +1 -0
- package/dist/tools/slashcommand/index.test.d.ts +1 -0
- package/dist/tools/task/task-create-input.test.d.ts +1 -0
- package/dist/tools/task/task-create.test.d.ts +1 -0
- package/dist/tools/task/task-delete-input.test.d.ts +1 -0
- package/dist/tools/task/task-get-input.test.d.ts +1 -0
- package/dist/tools/task/task-get.test.d.ts +1 -0
- package/dist/tools/task/task-list-input.test.d.ts +1 -0
- package/dist/tools/task/task-list.test.d.ts +1 -0
- package/dist/tools/task/task-schema-core.test.d.ts +1 -0
- package/dist/tools/task/task-schema-fields.test.d.ts +1 -0
- package/dist/tools/task/task-status.test.d.ts +1 -0
- package/dist/tools/task/task-update-input.test.d.ts +1 -0
- package/dist/tools/task/task-update.test.d.ts +1 -0
- package/dist/tools/task/todo-sync-all-fetch.test.d.ts +1 -0
- package/dist/tools/task/todo-sync-all-write.test.d.ts +1 -0
- package/dist/tools/task/todo-sync-sync.test.d.ts +1 -0
- package/dist/tools/task/todo-sync-update.test.d.ts +1 -0
- package/dist/tools/task/todo-sync.test.d.ts +1 -0
- package/dist/utils/context-trimmer.d.ts +21 -0
- package/dist/utils/safety-tool-result.d.ts +31 -0
- package/dist/utils/tool-contract-wrapper.d.ts +10 -0
- package/package.json +17 -16
|
@@ -2,7 +2,12 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CategoryConfigSchema: z.ZodObject<{
|
|
3
3
|
description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
model: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
5
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
6
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
7
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
model: z.ZodString;
|
|
9
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>]>>]>>;
|
|
6
11
|
variant: z.ZodOptional<z.ZodString>;
|
|
7
12
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
8
13
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -30,11 +35,15 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
30
35
|
max_prompt_tokens: z.ZodOptional<z.ZodNumber>;
|
|
31
36
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
32
37
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
39
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
background_task: z.ZodOptional<z.ZodNever>;
|
|
33
42
|
}, z.core.$strip>;
|
|
34
43
|
export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
35
|
-
deep: "deep";
|
|
36
44
|
"visual-engineering": "visual-engineering";
|
|
37
45
|
ultrabrain: "ultrabrain";
|
|
46
|
+
deep: "deep";
|
|
38
47
|
artistry: "artistry";
|
|
39
48
|
quick: "quick";
|
|
40
49
|
"unspecified-low": "unspecified-low";
|
|
@@ -44,7 +53,12 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
44
53
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
54
|
description: z.ZodOptional<z.ZodString>;
|
|
46
55
|
model: z.ZodOptional<z.ZodString>;
|
|
47
|
-
|
|
56
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
57
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
58
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
+
model: z.ZodString;
|
|
60
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>]>>]>>;
|
|
48
62
|
variant: z.ZodOptional<z.ZodString>;
|
|
49
63
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
50
64
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -72,6 +86,10 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
72
86
|
max_prompt_tokens: z.ZodOptional<z.ZodNumber>;
|
|
73
87
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
74
88
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
90
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
|
+
background_task: z.ZodOptional<z.ZodNever>;
|
|
75
93
|
}, z.core.$strip>>;
|
|
76
94
|
export type CategoryConfig = z.infer<typeof CategoryConfigSchema>;
|
|
77
95
|
export type CategoriesConfig = z.infer<typeof CategoriesConfigSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const FallbackEntrySchema: z.ZodObject<{
|
|
3
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4
|
+
model: z.ZodString;
|
|
5
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const FallbackModelsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
model: z.ZodString;
|
|
10
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>]>>]>;
|
|
12
|
+
export type FallbackEntry = z.infer<typeof FallbackEntrySchema>;
|
|
3
13
|
export type FallbackModels = z.infer<typeof FallbackModelsSchema>;
|
|
@@ -47,5 +47,12 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
47
47
|
"anthropic-effort": "anthropic-effort";
|
|
48
48
|
"hashline-read-enhancer": "hashline-read-enhancer";
|
|
49
49
|
"read-image-resizer": "read-image-resizer";
|
|
50
|
+
"execution-journal": "execution-journal";
|
|
51
|
+
"tool-contract": "tool-contract";
|
|
52
|
+
"runtime-enforcement": "runtime-enforcement";
|
|
53
|
+
"plan-enforcement": "plan-enforcement";
|
|
54
|
+
"semantic-loop-guard": "semantic-loop-guard";
|
|
55
|
+
"edit-safeguard": "edit-safeguard";
|
|
56
|
+
"xai-usage-patch": "xai-usage-patch";
|
|
50
57
|
}>;
|
|
51
58
|
export type HookName = z.infer<typeof HookNameSchema>;
|
|
@@ -25,10 +25,16 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
25
25
|
disabled_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
26
|
hashline_edit: z.ZodOptional<z.ZodBoolean>;
|
|
27
27
|
model_fallback: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
28
29
|
agents: z.ZodOptional<z.ZodObject<{
|
|
29
30
|
build: z.ZodOptional<z.ZodObject<{
|
|
30
31
|
model: z.ZodOptional<z.ZodString>;
|
|
31
|
-
|
|
32
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
33
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
34
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
model: z.ZodString;
|
|
36
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>]>>]>>;
|
|
32
38
|
variant: z.ZodOptional<z.ZodString>;
|
|
33
39
|
category: z.ZodOptional<z.ZodString>;
|
|
34
40
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -40,8 +46,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
40
46
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
41
47
|
description: z.ZodOptional<z.ZodString>;
|
|
42
48
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
43
|
-
primary: "primary";
|
|
44
49
|
subagent: "subagent";
|
|
50
|
+
primary: "primary";
|
|
45
51
|
all: "all";
|
|
46
52
|
}>>;
|
|
47
53
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -101,6 +107,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
101
107
|
high: "high";
|
|
102
108
|
}>>;
|
|
103
109
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
110
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
111
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
113
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
105
114
|
model: z.ZodOptional<z.ZodString>;
|
|
106
115
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -112,7 +121,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
112
121
|
}, z.core.$strip>>;
|
|
113
122
|
plan: z.ZodOptional<z.ZodObject<{
|
|
114
123
|
model: z.ZodOptional<z.ZodString>;
|
|
115
|
-
|
|
124
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
125
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
126
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
|
+
model: z.ZodString;
|
|
128
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
129
|
+
}, z.core.$strip>]>>]>>;
|
|
116
130
|
variant: z.ZodOptional<z.ZodString>;
|
|
117
131
|
category: z.ZodOptional<z.ZodString>;
|
|
118
132
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -124,8 +138,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
124
138
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
125
139
|
description: z.ZodOptional<z.ZodString>;
|
|
126
140
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
127
|
-
primary: "primary";
|
|
128
141
|
subagent: "subagent";
|
|
142
|
+
primary: "primary";
|
|
129
143
|
all: "all";
|
|
130
144
|
}>>;
|
|
131
145
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -185,6 +199,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
185
199
|
high: "high";
|
|
186
200
|
}>>;
|
|
187
201
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
202
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
203
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
188
205
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
189
206
|
model: z.ZodOptional<z.ZodString>;
|
|
190
207
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -196,7 +213,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
196
213
|
}, z.core.$strip>>;
|
|
197
214
|
sisyphus: z.ZodOptional<z.ZodObject<{
|
|
198
215
|
model: z.ZodOptional<z.ZodString>;
|
|
199
|
-
|
|
216
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
217
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
218
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
|
+
model: z.ZodString;
|
|
220
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>]>>]>>;
|
|
200
222
|
variant: z.ZodOptional<z.ZodString>;
|
|
201
223
|
category: z.ZodOptional<z.ZodString>;
|
|
202
224
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -208,8 +230,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
208
230
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
209
231
|
description: z.ZodOptional<z.ZodString>;
|
|
210
232
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
211
|
-
primary: "primary";
|
|
212
233
|
subagent: "subagent";
|
|
234
|
+
primary: "primary";
|
|
213
235
|
all: "all";
|
|
214
236
|
}>>;
|
|
215
237
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -269,6 +291,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
269
291
|
high: "high";
|
|
270
292
|
}>>;
|
|
271
293
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
294
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
295
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
297
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
273
298
|
model: z.ZodOptional<z.ZodString>;
|
|
274
299
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -280,7 +305,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
280
305
|
}, z.core.$strip>>;
|
|
281
306
|
hephaestus: z.ZodOptional<z.ZodObject<{
|
|
282
307
|
model: z.ZodOptional<z.ZodString>;
|
|
283
|
-
|
|
308
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
309
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
310
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
311
|
+
model: z.ZodString;
|
|
312
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
313
|
+
}, z.core.$strip>]>>]>>;
|
|
284
314
|
variant: z.ZodOptional<z.ZodString>;
|
|
285
315
|
category: z.ZodOptional<z.ZodString>;
|
|
286
316
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -292,8 +322,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
292
322
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
293
323
|
description: z.ZodOptional<z.ZodString>;
|
|
294
324
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
295
|
-
primary: "primary";
|
|
296
325
|
subagent: "subagent";
|
|
326
|
+
primary: "primary";
|
|
297
327
|
all: "all";
|
|
298
328
|
}>>;
|
|
299
329
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -353,6 +383,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
353
383
|
high: "high";
|
|
354
384
|
}>>;
|
|
355
385
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
386
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
387
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
389
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
357
390
|
model: z.ZodOptional<z.ZodString>;
|
|
358
391
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -365,7 +398,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
365
398
|
}, z.core.$strip>>;
|
|
366
399
|
"sisyphus-junior": z.ZodOptional<z.ZodObject<{
|
|
367
400
|
model: z.ZodOptional<z.ZodString>;
|
|
368
|
-
|
|
401
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
402
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
403
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
+
model: z.ZodString;
|
|
405
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strip>]>>]>>;
|
|
369
407
|
variant: z.ZodOptional<z.ZodString>;
|
|
370
408
|
category: z.ZodOptional<z.ZodString>;
|
|
371
409
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -377,8 +415,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
377
415
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
378
416
|
description: z.ZodOptional<z.ZodString>;
|
|
379
417
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
380
|
-
primary: "primary";
|
|
381
418
|
subagent: "subagent";
|
|
419
|
+
primary: "primary";
|
|
382
420
|
all: "all";
|
|
383
421
|
}>>;
|
|
384
422
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -438,6 +476,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
438
476
|
high: "high";
|
|
439
477
|
}>>;
|
|
440
478
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
479
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
480
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
481
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
441
482
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
442
483
|
model: z.ZodOptional<z.ZodString>;
|
|
443
484
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -449,7 +490,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
449
490
|
}, z.core.$strip>>;
|
|
450
491
|
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
451
492
|
model: z.ZodOptional<z.ZodString>;
|
|
452
|
-
|
|
493
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
494
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
495
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
496
|
+
model: z.ZodString;
|
|
497
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
498
|
+
}, z.core.$strip>]>>]>>;
|
|
453
499
|
variant: z.ZodOptional<z.ZodString>;
|
|
454
500
|
category: z.ZodOptional<z.ZodString>;
|
|
455
501
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -461,8 +507,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
461
507
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
462
508
|
description: z.ZodOptional<z.ZodString>;
|
|
463
509
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
464
|
-
primary: "primary";
|
|
465
510
|
subagent: "subagent";
|
|
511
|
+
primary: "primary";
|
|
466
512
|
all: "all";
|
|
467
513
|
}>>;
|
|
468
514
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -522,6 +568,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
522
568
|
high: "high";
|
|
523
569
|
}>>;
|
|
524
570
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
571
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
572
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
573
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
525
574
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
526
575
|
model: z.ZodOptional<z.ZodString>;
|
|
527
576
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -533,7 +582,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
533
582
|
}, z.core.$strip>>;
|
|
534
583
|
prometheus: z.ZodOptional<z.ZodObject<{
|
|
535
584
|
model: z.ZodOptional<z.ZodString>;
|
|
536
|
-
|
|
585
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
586
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
587
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
588
|
+
model: z.ZodString;
|
|
589
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
590
|
+
}, z.core.$strip>]>>]>>;
|
|
537
591
|
variant: z.ZodOptional<z.ZodString>;
|
|
538
592
|
category: z.ZodOptional<z.ZodString>;
|
|
539
593
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -545,8 +599,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
545
599
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
546
600
|
description: z.ZodOptional<z.ZodString>;
|
|
547
601
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
548
|
-
primary: "primary";
|
|
549
602
|
subagent: "subagent";
|
|
603
|
+
primary: "primary";
|
|
550
604
|
all: "all";
|
|
551
605
|
}>>;
|
|
552
606
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -606,6 +660,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
606
660
|
high: "high";
|
|
607
661
|
}>>;
|
|
608
662
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
663
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
664
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
609
666
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
610
667
|
model: z.ZodOptional<z.ZodString>;
|
|
611
668
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -617,7 +674,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
617
674
|
}, z.core.$strip>>;
|
|
618
675
|
metis: z.ZodOptional<z.ZodObject<{
|
|
619
676
|
model: z.ZodOptional<z.ZodString>;
|
|
620
|
-
|
|
677
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
678
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
679
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
680
|
+
model: z.ZodString;
|
|
681
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>]>>]>>;
|
|
621
683
|
variant: z.ZodOptional<z.ZodString>;
|
|
622
684
|
category: z.ZodOptional<z.ZodString>;
|
|
623
685
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -629,8 +691,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
629
691
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
630
692
|
description: z.ZodOptional<z.ZodString>;
|
|
631
693
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
632
|
-
primary: "primary";
|
|
633
694
|
subagent: "subagent";
|
|
695
|
+
primary: "primary";
|
|
634
696
|
all: "all";
|
|
635
697
|
}>>;
|
|
636
698
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -690,6 +752,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
690
752
|
high: "high";
|
|
691
753
|
}>>;
|
|
692
754
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
755
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
756
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
757
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
693
758
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
694
759
|
model: z.ZodOptional<z.ZodString>;
|
|
695
760
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -701,7 +766,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
701
766
|
}, z.core.$strip>>;
|
|
702
767
|
momus: z.ZodOptional<z.ZodObject<{
|
|
703
768
|
model: z.ZodOptional<z.ZodString>;
|
|
704
|
-
|
|
769
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
770
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
771
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
772
|
+
model: z.ZodString;
|
|
773
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>]>>]>>;
|
|
705
775
|
variant: z.ZodOptional<z.ZodString>;
|
|
706
776
|
category: z.ZodOptional<z.ZodString>;
|
|
707
777
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -713,8 +783,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
713
783
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
714
784
|
description: z.ZodOptional<z.ZodString>;
|
|
715
785
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
716
|
-
primary: "primary";
|
|
717
786
|
subagent: "subagent";
|
|
787
|
+
primary: "primary";
|
|
718
788
|
all: "all";
|
|
719
789
|
}>>;
|
|
720
790
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -774,6 +844,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
774
844
|
high: "high";
|
|
775
845
|
}>>;
|
|
776
846
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
847
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
848
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
849
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
777
850
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
778
851
|
model: z.ZodOptional<z.ZodString>;
|
|
779
852
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -785,7 +858,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
785
858
|
}, z.core.$strip>>;
|
|
786
859
|
oracle: z.ZodOptional<z.ZodObject<{
|
|
787
860
|
model: z.ZodOptional<z.ZodString>;
|
|
788
|
-
|
|
861
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
862
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
863
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
864
|
+
model: z.ZodString;
|
|
865
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
866
|
+
}, z.core.$strip>]>>]>>;
|
|
789
867
|
variant: z.ZodOptional<z.ZodString>;
|
|
790
868
|
category: z.ZodOptional<z.ZodString>;
|
|
791
869
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -797,8 +875,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
797
875
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
798
876
|
description: z.ZodOptional<z.ZodString>;
|
|
799
877
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
800
|
-
primary: "primary";
|
|
801
878
|
subagent: "subagent";
|
|
879
|
+
primary: "primary";
|
|
802
880
|
all: "all";
|
|
803
881
|
}>>;
|
|
804
882
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -858,6 +936,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
858
936
|
high: "high";
|
|
859
937
|
}>>;
|
|
860
938
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
939
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
940
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
861
942
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
862
943
|
model: z.ZodOptional<z.ZodString>;
|
|
863
944
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -869,7 +950,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
869
950
|
}, z.core.$strip>>;
|
|
870
951
|
librarian: z.ZodOptional<z.ZodObject<{
|
|
871
952
|
model: z.ZodOptional<z.ZodString>;
|
|
872
|
-
|
|
953
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
954
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
955
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
956
|
+
model: z.ZodString;
|
|
957
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
958
|
+
}, z.core.$strip>]>>]>>;
|
|
873
959
|
variant: z.ZodOptional<z.ZodString>;
|
|
874
960
|
category: z.ZodOptional<z.ZodString>;
|
|
875
961
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -881,8 +967,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
881
967
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
882
968
|
description: z.ZodOptional<z.ZodString>;
|
|
883
969
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
884
|
-
primary: "primary";
|
|
885
970
|
subagent: "subagent";
|
|
971
|
+
primary: "primary";
|
|
886
972
|
all: "all";
|
|
887
973
|
}>>;
|
|
888
974
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -942,6 +1028,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
942
1028
|
high: "high";
|
|
943
1029
|
}>>;
|
|
944
1030
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1031
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
1033
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
945
1034
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
946
1035
|
model: z.ZodOptional<z.ZodString>;
|
|
947
1036
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -953,7 +1042,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
953
1042
|
}, z.core.$strip>>;
|
|
954
1043
|
explore: z.ZodOptional<z.ZodObject<{
|
|
955
1044
|
model: z.ZodOptional<z.ZodString>;
|
|
956
|
-
|
|
1045
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1047
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1048
|
+
model: z.ZodString;
|
|
1049
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
}, z.core.$strip>]>>]>>;
|
|
957
1051
|
variant: z.ZodOptional<z.ZodString>;
|
|
958
1052
|
category: z.ZodOptional<z.ZodString>;
|
|
959
1053
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -965,8 +1059,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
965
1059
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
966
1060
|
description: z.ZodOptional<z.ZodString>;
|
|
967
1061
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
968
|
-
primary: "primary";
|
|
969
1062
|
subagent: "subagent";
|
|
1063
|
+
primary: "primary";
|
|
970
1064
|
all: "all";
|
|
971
1065
|
}>>;
|
|
972
1066
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1026,6 +1120,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1026
1120
|
high: "high";
|
|
1027
1121
|
}>>;
|
|
1028
1122
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1123
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
1125
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1029
1126
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
1030
1127
|
model: z.ZodOptional<z.ZodString>;
|
|
1031
1128
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -1037,7 +1134,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1037
1134
|
}, z.core.$strip>>;
|
|
1038
1135
|
"multimodal-looker": z.ZodOptional<z.ZodObject<{
|
|
1039
1136
|
model: z.ZodOptional<z.ZodString>;
|
|
1040
|
-
|
|
1137
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1139
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1140
|
+
model: z.ZodString;
|
|
1141
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
}, z.core.$strip>]>>]>>;
|
|
1041
1143
|
variant: z.ZodOptional<z.ZodString>;
|
|
1042
1144
|
category: z.ZodOptional<z.ZodString>;
|
|
1043
1145
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1049,8 +1151,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1049
1151
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1050
1152
|
description: z.ZodOptional<z.ZodString>;
|
|
1051
1153
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
-
primary: "primary";
|
|
1053
1154
|
subagent: "subagent";
|
|
1155
|
+
primary: "primary";
|
|
1054
1156
|
all: "all";
|
|
1055
1157
|
}>>;
|
|
1056
1158
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,6 +1212,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1110
1212
|
high: "high";
|
|
1111
1213
|
}>>;
|
|
1112
1214
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1215
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
1217
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1113
1218
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
1114
1219
|
model: z.ZodOptional<z.ZodString>;
|
|
1115
1220
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -1121,7 +1226,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1121
1226
|
}, z.core.$strip>>;
|
|
1122
1227
|
atlas: z.ZodOptional<z.ZodObject<{
|
|
1123
1228
|
model: z.ZodOptional<z.ZodString>;
|
|
1124
|
-
|
|
1229
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1231
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1232
|
+
model: z.ZodString;
|
|
1233
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
}, z.core.$strip>]>>]>>;
|
|
1125
1235
|
variant: z.ZodOptional<z.ZodString>;
|
|
1126
1236
|
category: z.ZodOptional<z.ZodString>;
|
|
1127
1237
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1133,8 +1243,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1133
1243
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1134
1244
|
description: z.ZodOptional<z.ZodString>;
|
|
1135
1245
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1136
|
-
primary: "primary";
|
|
1137
1246
|
subagent: "subagent";
|
|
1247
|
+
primary: "primary";
|
|
1138
1248
|
all: "all";
|
|
1139
1249
|
}>>;
|
|
1140
1250
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1194,6 +1304,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1194
1304
|
high: "high";
|
|
1195
1305
|
}>>;
|
|
1196
1306
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1307
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
1309
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1197
1310
|
ultrawork: z.ZodOptional<z.ZodObject<{
|
|
1198
1311
|
model: z.ZodOptional<z.ZodString>;
|
|
1199
1312
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -1207,7 +1320,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1207
1320
|
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1208
1321
|
description: z.ZodOptional<z.ZodString>;
|
|
1209
1322
|
model: z.ZodOptional<z.ZodString>;
|
|
1210
|
-
|
|
1323
|
+
fallback_model: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1325
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1326
|
+
model: z.ZodString;
|
|
1327
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
}, z.core.$strip>]>>]>>;
|
|
1211
1329
|
variant: z.ZodOptional<z.ZodString>;
|
|
1212
1330
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1213
1331
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1235,6 +1353,10 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1235
1353
|
max_prompt_tokens: z.ZodOptional<z.ZodNumber>;
|
|
1236
1354
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
1237
1355
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1356
|
+
requires_model: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
requires_any_model: z.ZodOptional<z.ZodBoolean>;
|
|
1358
|
+
requires_provider: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1359
|
+
background_task: z.ZodOptional<z.ZodNever>;
|
|
1238
1360
|
}, z.core.$strip>>>;
|
|
1239
1361
|
claude_code: z.ZodOptional<z.ZodObject<{
|
|
1240
1362
|
mcp: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/create-hooks.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { AvailableSkill } from "./agents/
|
|
1
|
+
import type { AvailableSkill } from "./agents/types";
|
|
2
2
|
import type { HookName, OhMyOpenCodeConfig } from "./config";
|
|
3
3
|
import type { LoadedSkill } from "./features/opencode-skill-loader/types";
|
|
4
4
|
import type { BackgroundManager } from "./features/background-agent";
|
|
5
|
+
import type { RunStateWatchdogManager } from "./features/run-state-watchdog";
|
|
5
6
|
import type { PluginContext } from "./plugin/types";
|
|
6
7
|
import type { ModelCacheState } from "./plugin-state";
|
|
7
8
|
export type CreatedHooks = ReturnType<typeof createHooks>;
|
|
@@ -10,6 +11,7 @@ export declare function createHooks(args: {
|
|
|
10
11
|
pluginConfig: OhMyOpenCodeConfig;
|
|
11
12
|
modelCacheState: ModelCacheState;
|
|
12
13
|
backgroundManager: BackgroundManager;
|
|
14
|
+
runStateWatchdogManager: RunStateWatchdogManager;
|
|
13
15
|
isHookEnabled: (hookName: HookName) => boolean;
|
|
14
16
|
safeHookEnabled: boolean;
|
|
15
17
|
mergedSkills: LoadedSkill[];
|
|
@@ -39,6 +41,12 @@ export declare function createHooks(args: {
|
|
|
39
41
|
hashlineReadEnhancer: ReturnType<typeof import("./hooks").createHashlineReadEnhancerHook> | null;
|
|
40
42
|
jsonErrorRecovery: ReturnType<typeof import("./hooks").createJsonErrorRecoveryHook> | null;
|
|
41
43
|
readImageResizer: ReturnType<typeof import("./hooks").createReadImageResizerHook> | null;
|
|
44
|
+
executionJournal: ReturnType<typeof import("./hooks").createExecutionJournalHook> | null;
|
|
45
|
+
toolContract: ReturnType<typeof import("./hooks").createToolContractHook> | null;
|
|
46
|
+
runtimeEnforcement: ReturnType<typeof import("./hooks").createRuntimeEnforcementHook> | null;
|
|
47
|
+
planEnforcement: ReturnType<typeof import("./hooks").createPlanEnforcementHook> | null;
|
|
48
|
+
semanticLoopGuard: ReturnType<typeof import("./hooks").createSemanticLoopGuardHook> | null;
|
|
49
|
+
editSafeguard: ReturnType<typeof import("./hooks").createEditSafeguardHook> | null;
|
|
42
50
|
contextWindowMonitor: ReturnType<typeof import("./hooks").createContextWindowMonitorHook> | null;
|
|
43
51
|
preemptiveCompaction: ReturnType<typeof import("./hooks").createPreemptiveCompactionHook> | null;
|
|
44
52
|
sessionRecovery: ReturnType<typeof import("./hooks").createSessionRecoveryHook> | null;
|
|
@@ -62,4 +70,6 @@ export declare function createHooks(args: {
|
|
|
62
70
|
taskResumeInfo: ReturnType<typeof import("./hooks").createTaskResumeInfoHook> | null;
|
|
63
71
|
anthropicEffort: ReturnType<typeof import("./hooks/anthropic-effort").createAnthropicEffortHook> | null;
|
|
64
72
|
runtimeFallback: ReturnType<typeof import("./hooks").createRuntimeFallbackHook> | null;
|
|
73
|
+
xaiUsagePatch: ReturnType<typeof import("./hooks").createXaiUsagePatchHook> | null;
|
|
74
|
+
runStateWatchdog: ReturnType<typeof import("./hooks").createRunStateWatchdogHook> | null;
|
|
65
75
|
};
|
|
@@ -3,12 +3,14 @@ import type { ModelCacheState } from "./plugin-state";
|
|
|
3
3
|
import type { PluginContext, TmuxConfig } from "./plugin/types";
|
|
4
4
|
import { BackgroundManager } from "./features/background-agent";
|
|
5
5
|
import { SkillMcpManager } from "./features/skill-mcp-manager";
|
|
6
|
+
import { RunStateWatchdogManager } from "./features/run-state-watchdog";
|
|
6
7
|
import { TmuxSessionManager } from "./features/tmux-subagent";
|
|
7
8
|
import { createConfigHandler } from "./plugin-handlers";
|
|
8
9
|
export type Managers = {
|
|
9
10
|
tmuxSessionManager: TmuxSessionManager;
|
|
10
11
|
backgroundManager: BackgroundManager;
|
|
11
12
|
skillMcpManager: SkillMcpManager;
|
|
13
|
+
runStateWatchdogManager: RunStateWatchdogManager;
|
|
12
14
|
configHandler: ReturnType<typeof createConfigHandler>;
|
|
13
15
|
};
|
|
14
16
|
export declare function createManagers(args: {
|
package/dist/create-tools.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AvailableCategory, AvailableSkill } from "./agents/
|
|
1
|
+
import type { AvailableCategory, AvailableSkill } from "./agents/types";
|
|
2
2
|
import type { OhMyOpenCodeConfig } from "./config";
|
|
3
3
|
import type { BrowserAutomationProvider } from "./config/schema/browser-automation";
|
|
4
4
|
import type { LoadedSkill } from "./features/opencode-skill-loader/types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|