oh-my-opencode 3.13.1 → 3.15.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.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +16 -8
- package/README.ru.md +2 -2
- package/README.zh-cn.md +2 -2
- package/bin/oh-my-opencode.js +11 -0
- package/bin/platform.js +13 -13
- package/bin/platform.test.ts +15 -0
- package/dist/agents/atlas/agent.d.ts +1 -1
- package/dist/agents/atlas/default-prompt-sections.d.ts +6 -0
- package/dist/agents/atlas/default.d.ts +0 -9
- package/dist/agents/atlas/gemini-prompt-sections.d.ts +6 -0
- package/dist/agents/atlas/gemini.d.ts +0 -9
- package/dist/agents/atlas/gpt-prompt-sections.d.ts +6 -0
- package/dist/agents/atlas/gpt.d.ts +0 -9
- package/dist/agents/atlas/shared-prompt.d.ts +9 -0
- package/dist/agents/dynamic-agent-category-skills-guide.d.ts +2 -0
- package/dist/agents/dynamic-agent-core-sections.d.ts +10 -0
- package/dist/agents/dynamic-agent-policy-sections.d.ts +6 -0
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +5 -35
- package/dist/agents/dynamic-agent-prompt-types.d.ts +20 -0
- package/dist/agents/dynamic-agent-tool-categorization.d.ts +3 -0
- package/dist/agents/hephaestus/agent.d.ts +1 -1
- package/dist/agents/hephaestus/gpt-5-3-codex.d.ts +1 -1
- package/dist/agents/hephaestus/gpt.d.ts +1 -1
- package/dist/agents/momus.d.ts +2 -2
- package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
- package/dist/agents/prometheus/identity-constraints.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/sisyphus/gpt-5-4.d.ts +14 -14
- package/dist/agents/sisyphus/index.d.ts +1 -1
- package/dist/agents/sisyphus.d.ts +1 -1
- package/dist/agents/types.d.ts +3 -1
- package/dist/cli/doctor/checks/model-resolution-types.d.ts +3 -0
- package/dist/cli/doctor/checks/model-resolution.d.ts +2 -1
- package/dist/cli/doctor/constants.d.ts +1 -1
- package/dist/cli/index.js +42241 -390
- package/dist/cli/mcp-oauth/login.d.ts +6 -1
- package/dist/cli/refresh-model-capabilities.d.ts +15 -0
- package/dist/cli/run/event-state.d.ts +0 -2
- package/dist/cli/run/types.d.ts +0 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/agent-names.d.ts +2 -0
- package/dist/config/schema/agent-overrides.d.ts +675 -15
- package/dist/config/schema/background-task.d.ts +2 -0
- package/dist/config/schema/categories.d.ts +90 -2
- package/dist/config/schema/commands.d.ts +1 -0
- package/dist/config/schema/dynamic-context-pruning.d.ts +1 -1
- package/dist/config/schema/experimental.d.ts +2 -1
- package/dist/config/schema/fallback-models.d.ts +111 -1
- package/dist/config/schema/hooks.d.ts +3 -0
- package/dist/config/schema/model-capabilities.d.ts +8 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +696 -17
- package/dist/config/schema/sisyphus-agent.d.ts +1 -0
- package/dist/config/schema/tmux.d.ts +11 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/create-hooks.d.ts +6 -0
- package/dist/create-runtime-tmux-config.d.ts +9 -0
- package/dist/features/background-agent/abort-with-timeout.d.ts +2 -0
- package/dist/features/background-agent/background-task-notification-template.d.ts +10 -4
- package/dist/features/background-agent/constants.d.ts +1 -0
- package/dist/features/background-agent/fallback-retry-handler.d.ts +1 -1
- package/dist/features/background-agent/manager.d.ts +10 -0
- package/dist/features/background-agent/process-cleanup.d.ts +1 -1
- package/dist/features/background-agent/session-existence.d.ts +3 -0
- package/dist/features/background-agent/task-poller.d.ts +1 -0
- package/dist/features/background-agent/types.d.ts +5 -10
- package/dist/features/builtin-commands/commands.d.ts +4 -1
- package/dist/features/builtin-commands/templates/handoff.d.ts +1 -1
- package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -1
- package/dist/features/builtin-commands/templates/remove-ai-slops.d.ts +1 -0
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/builtin-commands/types.d.ts +1 -1
- package/dist/features/builtin-skills/skills/ai-slop-remover.d.ts +2 -0
- package/dist/features/builtin-skills/skills/git-master-sections/commit-workflow.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git-master-sections/history-search-workflow.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git-master-sections/overview.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git-master-sections/quick-reference.d.ts +1 -0
- package/dist/features/builtin-skills/skills/git-master-sections/rebase-workflow.d.ts +1 -0
- package/dist/features/builtin-skills/skills/index.d.ts +2 -0
- package/dist/features/builtin-skills/skills/playwright-cli.d.ts +1 -1
- package/dist/features/builtin-skills/skills/review-work.d.ts +2 -0
- package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +5 -0
- package/dist/features/claude-code-mcp-loader/index.d.ts +1 -0
- package/dist/features/claude-code-mcp-loader/scope-filter.d.ts +2 -0
- package/dist/features/claude-code-mcp-loader/types.d.ts +8 -4
- package/dist/features/claude-code-session-state/state.d.ts +2 -0
- package/dist/features/context-injector/collector.d.ts +1 -0
- package/dist/features/opencode-skill-loader/async-loader.d.ts +2 -2
- package/dist/features/opencode-skill-loader/loader.d.ts +2 -0
- package/dist/features/skill-mcp-manager/manager.d.ts +4 -1
- package/dist/features/skill-mcp-manager/oauth-handler.d.ts +5 -4
- package/dist/features/skill-mcp-manager/types.d.ts +7 -0
- package/dist/features/tmux-subagent/manager.d.ts +15 -13
- package/dist/features/tmux-subagent/polling-manager.d.ts +5 -0
- package/dist/features/tmux-subagent/types.d.ts +2 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/message-builder.d.ts +4 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.d.ts +10 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.test-support.d.ts +29 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/session-timeout-map.d.ts +2 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/state.d.ts +2 -0
- package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +1 -0
- package/dist/hooks/atlas/subagent-session-id.d.ts +1 -0
- package/dist/hooks/atlas/system-reminder-templates.d.ts +2 -2
- package/dist/hooks/auto-slash-command/executor.d.ts +1 -0
- package/dist/hooks/auto-slash-command/hook.d.ts +1 -0
- package/dist/hooks/auto-update-checker/hook/background-update-check.d.ts +29 -1
- package/dist/hooks/auto-update-checker/hook/model-capabilities-status.d.ts +2 -0
- package/dist/hooks/auto-update-checker/types.d.ts +2 -0
- package/dist/hooks/bash-file-read-guard.d.ts +2 -0
- package/dist/hooks/claude-code-hooks/claude-code-hooks-hook.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/config-loader.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/config.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/handlers/session-event-handler.d.ts +3 -1
- package/dist/hooks/claude-code-hooks/session-hook-state.d.ts +1 -0
- package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +2 -0
- package/dist/hooks/claude-code-hooks/transcript.d.ts +1 -3
- package/dist/hooks/comment-checker/hook.d.ts +1 -0
- package/dist/hooks/comment-checker/pending-calls.d.ts +1 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/keyword-detector/ultrawork/default.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/gpt.d.ts +1 -1
- package/dist/hooks/legacy-plugin-toast/auto-migrate-runner.d.ts +2 -0
- package/dist/hooks/legacy-plugin-toast/auto-migrate.d.ts +7 -0
- package/dist/hooks/legacy-plugin-toast/hook.d.ts +18 -0
- package/dist/hooks/legacy-plugin-toast/index.d.ts +1 -0
- package/dist/hooks/legacy-plugin-toast/plugin-entry-migrator.d.ts +1 -0
- package/dist/hooks/model-fallback/chat-message-fallback-handler.d.ts +23 -0
- package/dist/hooks/model-fallback/hook.d.ts +5 -0
- package/dist/hooks/model-fallback/next-fallback.d.ts +6 -0
- package/dist/hooks/ralph-loop/completion-promise-detector-test-input.d.ts +11 -0
- package/dist/hooks/rules-injector/constants.d.ts +1 -0
- package/dist/hooks/rules-injector/finder.d.ts +1 -1
- package/dist/hooks/rules-injector/hook.d.ts +2 -0
- package/dist/hooks/rules-injector/injector.d.ts +2 -0
- package/dist/hooks/rules-injector/rule-file-finder.d.ts +9 -1
- package/dist/hooks/runtime-fallback/fallback-models.d.ts +12 -0
- package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +5 -1
- package/dist/hooks/start-work/context-info-builder.d.ts +12 -0
- package/dist/hooks/start-work/start-work-hook.d.ts +7 -0
- package/dist/hooks/start-work/worktree-block.d.ts +1 -0
- package/dist/hooks/todo-continuation-enforcer/resolve-message-info.d.ts +2 -2
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +4 -0
- package/dist/hooks/todo-description-override/description.d.ts +1 -1
- package/dist/hooks/tool-pair-validator/hook.d.ts +28 -0
- package/dist/hooks/tool-pair-validator/index.d.ts +1 -0
- package/dist/hooks/write-existing-file-guard/hook.d.ts +12 -0
- package/dist/hooks/write-existing-file-guard/session-read-permissions.d.ts +3 -0
- package/dist/hooks/write-existing-file-guard/tool-execute-before-handler.d.ts +15 -0
- package/dist/index.js +112232 -65637
- package/dist/mcp/websearch.d.ts +2 -2
- package/dist/oh-my-opencode.schema.json +2034 -4
- package/dist/openclaw/dispatcher.d.ts +6 -0
- package/dist/plugin/chat-params.d.ts +1 -0
- package/dist/plugin/command-execute-before.d.ts +17 -0
- package/dist/plugin/hooks/create-core-hooks.d.ts +3 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -1
- package/dist/plugin/tool-registry.d.ts +1 -0
- package/dist/plugin/types.d.ts +1 -0
- package/dist/plugin-dispose.d.ts +3 -0
- package/dist/shared/agent-display-names.d.ts +8 -0
- package/dist/shared/archive-entry-validator.d.ts +6 -0
- package/dist/shared/background-output-consumption.d.ts +5 -0
- package/dist/shared/connected-providers-cache.d.ts +22 -6
- package/dist/shared/contains-path.d.ts +2 -0
- package/dist/shared/external-plugin-detector.d.ts +14 -0
- package/dist/shared/fallback-chain-from-models.d.ts +10 -1
- package/dist/shared/index.d.ts +10 -1
- package/dist/shared/is-abort-error.d.ts +1 -0
- package/dist/shared/json-file-cache-store.d.ts +16 -0
- package/dist/shared/jsonc-parser.d.ts +1 -0
- package/dist/shared/known-variants.d.ts +6 -0
- package/dist/shared/legacy-plugin-warning.d.ts +7 -0
- package/dist/shared/load-opencode-plugins.d.ts +1 -0
- package/dist/shared/log-legacy-plugin-startup-warning.d.ts +10 -0
- package/dist/shared/migrate-legacy-config-file.d.ts +1 -0
- package/dist/shared/migrate-legacy-plugin-entry.d.ts +1 -0
- package/dist/shared/model-capabilities/bundled-snapshot.d.ts +2 -0
- package/dist/shared/model-capabilities/get-model-capabilities.d.ts +2 -0
- package/dist/shared/model-capabilities/index.d.ts +3 -0
- package/dist/shared/model-capabilities/runtime-model-readers.d.ts +11 -0
- package/dist/shared/model-capabilities/types.d.ts +94 -0
- package/dist/shared/model-capabilities-cache.d.ts +20 -0
- package/dist/shared/model-capability-aliases.d.ts +21 -0
- package/dist/shared/model-capability-guardrails.d.ts +38 -0
- package/dist/shared/model-capability-heuristics.d.ts +10 -0
- package/dist/shared/model-requirements.d.ts +8 -0
- package/dist/shared/model-resolution-types.d.ts +13 -0
- package/dist/shared/model-resolver.d.ts +10 -3
- package/dist/shared/model-settings-compatibility.d.ts +40 -0
- package/dist/shared/model-suggestion-retry.d.ts +0 -9
- package/dist/shared/plugin-entry-migrator.d.ts +3 -0
- package/dist/shared/plugin-identity.d.ts +4 -3
- package/dist/shared/project-discovery-dirs.d.ts +4 -0
- package/dist/shared/session-category-registry.d.ts +0 -24
- package/dist/shared/session-cursor.d.ts +6 -0
- package/dist/shared/session-prompt-params-helpers.d.ts +12 -0
- package/dist/shared/session-prompt-params-state.d.ts +9 -0
- package/dist/shared/skill-path-resolver.d.ts +0 -8
- package/dist/shared/task-system-enabled.d.ts +6 -0
- package/dist/shared/tmux/tmux-utils/server-health.d.ts +1 -0
- package/dist/shared/tmux/tmux-utils/session-spawn.d.ts +3 -0
- package/dist/shared/tmux/tmux-utils/window-spawn.d.ts +3 -0
- package/dist/shared/tmux/tmux-utils.d.ts +3 -1
- package/dist/shared/write-file-atomically.d.ts +1 -0
- package/dist/shared/zip-entry-listing/powershell-zip-entry-listing.d.ts +4 -0
- package/dist/shared/zip-entry-listing/python-zip-entry-listing.d.ts +3 -0
- package/dist/shared/zip-entry-listing/read-zip-symlink-target.d.ts +1 -0
- package/dist/shared/zip-entry-listing/tar-zip-entry-listing.d.ts +3 -0
- package/dist/shared/zip-entry-listing/zipinfo-zip-entry-listing.d.ts +4 -0
- package/dist/shared/zip-entry-listing.d.ts +4 -0
- package/dist/tools/call-omo-agent/background-executor.d.ts +2 -1
- package/dist/tools/call-omo-agent/sync-executor.d.ts +2 -1
- package/dist/tools/delegate-task/anthropic-categories.d.ts +2 -0
- package/dist/tools/delegate-task/background-task.d.ts +2 -6
- package/dist/tools/delegate-task/builtin-categories.d.ts +4 -0
- package/dist/tools/delegate-task/builtin-category-definition.d.ts +7 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +2 -5
- package/dist/tools/delegate-task/constants.d.ts +1 -12
- package/dist/tools/delegate-task/executor-types.d.ts +2 -1
- package/dist/tools/delegate-task/google-categories.d.ts +2 -0
- package/dist/tools/delegate-task/kimi-categories.d.ts +2 -0
- package/dist/tools/delegate-task/model-selection.d.ts +2 -0
- package/dist/tools/delegate-task/openai-categories.d.ts +2 -0
- package/dist/tools/delegate-task/prompt-builder.d.ts +1 -1
- package/dist/tools/delegate-task/subagent-resolver.d.ts +3 -6
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +4 -6
- package/dist/tools/delegate-task/sync-session-poller.d.ts +1 -0
- package/dist/tools/delegate-task/sync-task.d.ts +2 -6
- package/dist/tools/delegate-task/types.d.ts +5 -6
- package/dist/tools/delegate-task/unstable-agent-task.d.ts +2 -6
- package/dist/tools/grep/cli.d.ts +3 -2
- package/dist/tools/grep/constants.d.ts +1 -2
- package/dist/tools/hashline-edit/tool-description.d.ts +1 -1
- package/dist/tools/look-at/constants.d.ts +1 -1
- package/dist/tools/lsp/infer-extension.d.ts +1 -0
- package/dist/tools/session-manager/file-storage.d.ts +8 -0
- package/dist/tools/session-manager/sdk-storage.d.ts +8 -0
- package/dist/tools/session-manager/sdk-unavailable.d.ts +1 -0
- package/dist/tools/session-manager/storage.d.ts +1 -1
- package/dist/tools/skill/description-formatter.d.ts +3 -0
- package/dist/tools/skill/mcp-capability-formatter.d.ts +3 -0
- package/dist/tools/skill/native-skills.d.ts +12 -0
- package/dist/tools/skill/scope-priority.d.ts +4 -0
- package/dist/tools/skill/skill-body.d.ts +2 -0
- package/dist/tools/skill/skill-matcher.d.ts +5 -0
- package/dist/tools/skill/types.d.ts +30 -2
- package/dist/tools/skill-mcp/tools.d.ts +1 -1
- package/package.json +16 -14
- package/postinstall.mjs +12 -0
- package/dist/hooks/openclaw.d.ts +0 -11
|
@@ -7,6 +7,8 @@ export declare const BackgroundTaskConfigSchema: z.ZodObject<{
|
|
|
7
7
|
maxDescendants: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
staleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
messageStalenessTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
taskTtlMs: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
sessionGoneTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
10
12
|
syncPollTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
11
13
|
maxToolCalls: z.ZodOptional<z.ZodNumber>;
|
|
12
14
|
circuitBreaker: z.ZodOptional<z.ZodObject<{
|
|
@@ -2,7 +2,49 @@ 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
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString
|
|
5
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
6
|
+
model: z.ZodString;
|
|
7
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
8
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
none: "none";
|
|
10
|
+
minimal: "minimal";
|
|
11
|
+
low: "low";
|
|
12
|
+
medium: "medium";
|
|
13
|
+
high: "high";
|
|
14
|
+
xhigh: "xhigh";
|
|
15
|
+
}>>;
|
|
16
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
type: z.ZodEnum<{
|
|
21
|
+
enabled: "enabled";
|
|
22
|
+
disabled: "disabled";
|
|
23
|
+
}>;
|
|
24
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
27
|
+
model: z.ZodString;
|
|
28
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
29
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
none: "none";
|
|
31
|
+
minimal: "minimal";
|
|
32
|
+
low: "low";
|
|
33
|
+
medium: "medium";
|
|
34
|
+
high: "high";
|
|
35
|
+
xhigh: "xhigh";
|
|
36
|
+
}>>;
|
|
37
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
type: z.ZodEnum<{
|
|
42
|
+
enabled: "enabled";
|
|
43
|
+
disabled: "disabled";
|
|
44
|
+
}>;
|
|
45
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
}, z.core.$strip>]>>]>>;
|
|
6
48
|
variant: z.ZodOptional<z.ZodString>;
|
|
7
49
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
8
50
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15,6 +57,8 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
15
57
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
16
58
|
}, z.core.$strip>>;
|
|
17
59
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
60
|
+
none: "none";
|
|
61
|
+
minimal: "minimal";
|
|
18
62
|
low: "low";
|
|
19
63
|
medium: "medium";
|
|
20
64
|
high: "high";
|
|
@@ -44,7 +88,49 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
44
88
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
89
|
description: z.ZodOptional<z.ZodString>;
|
|
46
90
|
model: z.ZodOptional<z.ZodString>;
|
|
47
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString
|
|
91
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
92
|
+
model: z.ZodString;
|
|
93
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
94
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
95
|
+
none: "none";
|
|
96
|
+
minimal: "minimal";
|
|
97
|
+
low: "low";
|
|
98
|
+
medium: "medium";
|
|
99
|
+
high: "high";
|
|
100
|
+
xhigh: "xhigh";
|
|
101
|
+
}>>;
|
|
102
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
type: z.ZodEnum<{
|
|
107
|
+
enabled: "enabled";
|
|
108
|
+
disabled: "disabled";
|
|
109
|
+
}>;
|
|
110
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
113
|
+
model: z.ZodString;
|
|
114
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
115
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
none: "none";
|
|
117
|
+
minimal: "minimal";
|
|
118
|
+
low: "low";
|
|
119
|
+
medium: "medium";
|
|
120
|
+
high: "high";
|
|
121
|
+
xhigh: "xhigh";
|
|
122
|
+
}>>;
|
|
123
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
type: z.ZodEnum<{
|
|
128
|
+
enabled: "enabled";
|
|
129
|
+
disabled: "disabled";
|
|
130
|
+
}>;
|
|
131
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
}, z.core.$strip>]>>]>>;
|
|
48
134
|
variant: z.ZodOptional<z.ZodString>;
|
|
49
135
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
50
136
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -57,6 +143,8 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
57
143
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
58
144
|
}, z.core.$strip>>;
|
|
59
145
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
146
|
+
none: "none";
|
|
147
|
+
minimal: "minimal";
|
|
60
148
|
low: "low";
|
|
61
149
|
medium: "medium";
|
|
62
150
|
high: "high";
|
|
@@ -7,5 +7,6 @@ export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
|
7
7
|
refactor: "refactor";
|
|
8
8
|
"start-work": "start-work";
|
|
9
9
|
"stop-continuation": "stop-continuation";
|
|
10
|
+
"remove-ai-slops": "remove-ai-slops";
|
|
10
11
|
}>;
|
|
11
12
|
export type BuiltinCommandName = z.infer<typeof BuiltinCommandNameSchema>;
|
|
@@ -2,8 +2,8 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const DynamicContextPruningConfigSchema: z.ZodObject<{
|
|
3
3
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4
4
|
notification: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
off: "off";
|
|
6
5
|
minimal: "minimal";
|
|
6
|
+
off: "off";
|
|
7
7
|
detailed: "detailed";
|
|
8
8
|
}>>;
|
|
9
9
|
turn_protection: z.ZodOptional<z.ZodObject<{
|
|
@@ -7,8 +7,8 @@ export declare const ExperimentalConfigSchema: z.ZodObject<{
|
|
|
7
7
|
dynamic_context_pruning: z.ZodOptional<z.ZodObject<{
|
|
8
8
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
9
9
|
notification: z.ZodDefault<z.ZodEnum<{
|
|
10
|
-
off: "off";
|
|
11
10
|
minimal: "minimal";
|
|
11
|
+
off: "off";
|
|
12
12
|
detailed: "detailed";
|
|
13
13
|
}>>;
|
|
14
14
|
turn_protection: z.ZodOptional<z.ZodObject<{
|
|
@@ -36,5 +36,6 @@ export declare const ExperimentalConfigSchema: z.ZodObject<{
|
|
|
36
36
|
disable_omo_env: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
hashline_edit: z.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
model_fallback_title: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
max_tools: z.ZodOptional<z.ZodNumber>;
|
|
39
40
|
}, z.core.$strip>;
|
|
40
41
|
export type ExperimentalConfig = z.infer<typeof ExperimentalConfigSchema>;
|
|
@@ -1,3 +1,113 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const FallbackModelObjectSchema: z.ZodObject<{
|
|
3
|
+
model: z.ZodString;
|
|
4
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
5
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
none: "none";
|
|
7
|
+
minimal: "minimal";
|
|
8
|
+
low: "low";
|
|
9
|
+
medium: "medium";
|
|
10
|
+
high: "high";
|
|
11
|
+
xhigh: "xhigh";
|
|
12
|
+
}>>;
|
|
13
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
type: z.ZodEnum<{
|
|
18
|
+
enabled: "enabled";
|
|
19
|
+
disabled: "disabled";
|
|
20
|
+
}>;
|
|
21
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type FallbackModelObject = z.infer<typeof FallbackModelObjectSchema>;
|
|
25
|
+
export declare const FallbackModelStringArraySchema: z.ZodArray<z.ZodString>;
|
|
26
|
+
export declare const FallbackModelObjectArraySchema: z.ZodArray<z.ZodObject<{
|
|
27
|
+
model: z.ZodString;
|
|
28
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
29
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
none: "none";
|
|
31
|
+
minimal: "minimal";
|
|
32
|
+
low: "low";
|
|
33
|
+
medium: "medium";
|
|
34
|
+
high: "high";
|
|
35
|
+
xhigh: "xhigh";
|
|
36
|
+
}>>;
|
|
37
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
type: z.ZodEnum<{
|
|
42
|
+
enabled: "enabled";
|
|
43
|
+
disabled: "disabled";
|
|
44
|
+
}>;
|
|
45
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
export declare const FallbackModelMixedArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
49
|
+
model: z.ZodString;
|
|
50
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
51
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
none: "none";
|
|
53
|
+
minimal: "minimal";
|
|
54
|
+
low: "low";
|
|
55
|
+
medium: "medium";
|
|
56
|
+
high: "high";
|
|
57
|
+
xhigh: "xhigh";
|
|
58
|
+
}>>;
|
|
59
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
type: z.ZodEnum<{
|
|
64
|
+
enabled: "enabled";
|
|
65
|
+
disabled: "disabled";
|
|
66
|
+
}>;
|
|
67
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
}, z.core.$strip>]>>;
|
|
70
|
+
export declare const FallbackModelsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
71
|
+
model: z.ZodString;
|
|
72
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
73
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
none: "none";
|
|
75
|
+
minimal: "minimal";
|
|
76
|
+
low: "low";
|
|
77
|
+
medium: "medium";
|
|
78
|
+
high: "high";
|
|
79
|
+
xhigh: "xhigh";
|
|
80
|
+
}>>;
|
|
81
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
type: z.ZodEnum<{
|
|
86
|
+
enabled: "enabled";
|
|
87
|
+
disabled: "disabled";
|
|
88
|
+
}>;
|
|
89
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
92
|
+
model: z.ZodString;
|
|
93
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
94
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
95
|
+
none: "none";
|
|
96
|
+
minimal: "minimal";
|
|
97
|
+
low: "low";
|
|
98
|
+
medium: "medium";
|
|
99
|
+
high: "high";
|
|
100
|
+
xhigh: "xhigh";
|
|
101
|
+
}>>;
|
|
102
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
type: z.ZodEnum<{
|
|
107
|
+
enabled: "enabled";
|
|
108
|
+
disabled: "disabled";
|
|
109
|
+
}>;
|
|
110
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
}, z.core.$strip>]>>]>;
|
|
3
113
|
export type FallbackModels = z.infer<typeof FallbackModelsSchema>;
|
|
@@ -26,6 +26,7 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
26
26
|
"non-interactive-env": "non-interactive-env";
|
|
27
27
|
"interactive-bash-session": "interactive-bash-session";
|
|
28
28
|
"thinking-block-validator": "thinking-block-validator";
|
|
29
|
+
"tool-pair-validator": "tool-pair-validator";
|
|
29
30
|
"category-skill-reminder": "category-skill-reminder";
|
|
30
31
|
"compaction-context-injector": "compaction-context-injector";
|
|
31
32
|
"compaction-todo-preserver": "compaction-todo-preserver";
|
|
@@ -44,10 +45,12 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
44
45
|
"tasks-todowrite-disabler": "tasks-todowrite-disabler";
|
|
45
46
|
"runtime-fallback": "runtime-fallback";
|
|
46
47
|
"write-existing-file-guard": "write-existing-file-guard";
|
|
48
|
+
"bash-file-read-guard": "bash-file-read-guard";
|
|
47
49
|
"anthropic-effort": "anthropic-effort";
|
|
48
50
|
"hashline-read-enhancer": "hashline-read-enhancer";
|
|
49
51
|
"read-image-resizer": "read-image-resizer";
|
|
50
52
|
"todo-description-override": "todo-description-override";
|
|
51
53
|
"webfetch-redirect-guard": "webfetch-redirect-guard";
|
|
54
|
+
"legacy-plugin-toast": "legacy-plugin-toast";
|
|
52
55
|
}>;
|
|
53
56
|
export type HookName = z.infer<typeof HookNameSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ModelCapabilitiesConfigSchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
auto_refresh_on_start: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
refresh_timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type ModelCapabilitiesConfig = z.infer<typeof ModelCapabilitiesConfigSchema>;
|