oh-my-opencode 4.19.3 → 4.19.4
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/.agents/command/get-unpublished-changes.md +2 -0
- package/.agents/command/omomomo.md +1 -1
- package/.agents/command/publish.md +7 -0
- package/.agents/skills/get-unpublished-changes/SKILL.md +2 -0
- package/.agents/skills/hyperplan/SKILL.md +3 -3
- package/.agents/skills/omomomo/SKILL.md +1 -1
- package/.agents/skills/publish/SKILL.md +7 -0
- package/.opencode/command/get-unpublished-changes.md +2 -0
- package/.opencode/command/omomomo.md +1 -1
- package/.opencode/command/publish.md +7 -0
- package/.opencode/skills/hyperplan/SKILL.md +3 -3
- package/dist/agents/sisyphus-junior/agent.d.ts +1 -1
- package/dist/cli/doctor/checks/deprecated-reasoning-keys.d.ts +2 -0
- package/dist/cli/index.js +1625 -1368
- package/dist/cli-node/index.js +1625 -1368
- package/dist/config/schema/agent-overrides.d.ts +800 -0
- package/dist/config/schema/categories.d.ts +132 -0
- package/dist/config/schema/fallback-models.d.ts +50 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +818 -2
- package/dist/config-migration/index.d.ts +1 -0
- package/dist/config-migration/migration-plans.d.ts +1 -0
- package/dist/config-migration/reasoning-unification.d.ts +3 -0
- package/dist/features/team-mode/tools/lifecycle-test-fixture.d.ts +2 -0
- package/dist/hooks/codegraph-bootstrap/command-runner.d.ts +1 -0
- package/dist/hooks/model-fallback/next-fallback.d.ts +1 -0
- package/dist/hooks/runtime-fallback/constants.d.ts +1 -1
- package/dist/index.js +3558 -3241
- package/dist/oh-my-opencode.schema.json +1672 -8
- package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -0
- package/dist/shared/agent-variant.d.ts +11 -0
- package/dist/shared/session-prompt-params-helpers.d.ts +6 -1
- package/dist/skills/coding-agent-sessions/SKILL.md +4 -3
- package/dist/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +3 -0
- package/dist/skills/data-scientist/SKILL.md +243 -0
- package/dist/skills/data-scientist/references/common-scenarios.md +176 -0
- package/dist/skills/data-scientist/references/execution-templates.md +197 -0
- package/dist/skills/data-scientist/references/integration-patterns.md +153 -0
- package/dist/skills/data-scientist/references/performance-benchmarks.md +37 -0
- package/dist/skills/data-scientist/references/uv-setup.md +78 -0
- package/dist/skills/data-scientist/scripts/quick-query.py +111 -0
- package/dist/skills/data-scientist/scripts/setup-uv.ps1 +53 -0
- package/dist/skills/data-scientist/scripts/setup-uv.sh +60 -0
- package/dist/skills/debugging/SKILL.md +1 -1
- package/dist/skills/programming/SKILL.md +1 -2
- package/dist/skills/ulw-plan/SKILL.md +1 -1
- package/dist/skills/ulw-research/SKILL.md +122 -11
- package/dist/tools/delegate-task/builtin-categories.d.ts +1 -0
- package/dist/tools/delegate-task/builtin-category-definition.d.ts +1 -0
- package/dist/tools/delegate-task/constants.d.ts +1 -1
- package/dist/tui.js +974 -1090
- package/package.json +13 -13
- package/packages/lsp-core/src/lsp/client-diagnostics-freshness.integration.test.ts +2 -2
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +21 -3
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +279 -58
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +230 -41
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +6 -0
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/dist/cli.js +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/src/post-compact-budget.ts +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +13 -13
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/sync-skills.mjs +6 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +4 -3
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +3 -0
- package/packages/omo-codex/plugin/skills/data-scientist/SKILL.md +243 -0
- package/packages/omo-codex/plugin/skills/data-scientist/agents/openai.yaml +2 -0
- package/packages/omo-codex/plugin/skills/data-scientist/references/common-scenarios.md +176 -0
- package/packages/omo-codex/plugin/skills/data-scientist/references/execution-templates.md +197 -0
- package/packages/omo-codex/plugin/skills/data-scientist/references/integration-patterns.md +153 -0
- package/packages/omo-codex/plugin/skills/data-scientist/references/performance-benchmarks.md +37 -0
- package/packages/omo-codex/plugin/skills/data-scientist/references/uv-setup.md +78 -0
- package/packages/omo-codex/plugin/skills/data-scientist/scripts/quick-query.py +111 -0
- package/packages/omo-codex/plugin/skills/data-scientist/scripts/setup-uv.ps1 +53 -0
- package/packages/omo-codex/plugin/skills/data-scientist/scripts/setup-uv.sh +60 -0
- package/packages/omo-codex/plugin/skills/debugging/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +1 -2
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +121 -11
- package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +7 -0
- package/packages/omo-codex/plugin/test/sync-skills.test.mjs +12 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +24 -5
- package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +4 -3
- package/packages/shared-skills/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +3 -0
- package/packages/shared-skills/skills/data-scientist/SKILL.md +243 -0
- package/packages/shared-skills/skills/data-scientist/references/common-scenarios.md +176 -0
- package/packages/shared-skills/skills/data-scientist/references/execution-templates.md +197 -0
- package/packages/shared-skills/skills/data-scientist/references/integration-patterns.md +153 -0
- package/packages/shared-skills/skills/data-scientist/references/performance-benchmarks.md +37 -0
- package/packages/shared-skills/skills/data-scientist/references/uv-setup.md +78 -0
- package/packages/shared-skills/skills/data-scientist/scripts/quick-query.py +111 -0
- package/packages/shared-skills/skills/data-scientist/scripts/setup-uv.ps1 +53 -0
- package/packages/shared-skills/skills/data-scientist/scripts/setup-uv.sh +60 -0
- package/packages/shared-skills/skills/debugging/SKILL.md +1 -1
- package/packages/shared-skills/skills/programming/SKILL.md +1 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-research/SKILL.md +122 -11
|
@@ -2,8 +2,51 @@ 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
|
+
models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6
|
+
model: z.ZodString;
|
|
7
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
|
+
auto: "auto";
|
|
9
|
+
high: "high";
|
|
10
|
+
low: "low";
|
|
11
|
+
max: "max";
|
|
12
|
+
medium: "medium";
|
|
13
|
+
minimal: "minimal";
|
|
14
|
+
off: "off";
|
|
15
|
+
xhigh: "xhigh";
|
|
16
|
+
}>, z.ZodString]>>;
|
|
17
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
18
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
high: "high";
|
|
20
|
+
low: "low";
|
|
21
|
+
max: "max";
|
|
22
|
+
medium: "medium";
|
|
23
|
+
minimal: "minimal";
|
|
24
|
+
none: "none";
|
|
25
|
+
xhigh: "xhigh";
|
|
26
|
+
}>>;
|
|
27
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
type: z.ZodEnum<{
|
|
32
|
+
disabled: "disabled";
|
|
33
|
+
enabled: "enabled";
|
|
34
|
+
}>;
|
|
35
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>]>>>;
|
|
5
38
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
6
39
|
model: z.ZodString;
|
|
40
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
41
|
+
auto: "auto";
|
|
42
|
+
high: "high";
|
|
43
|
+
low: "low";
|
|
44
|
+
max: "max";
|
|
45
|
+
medium: "medium";
|
|
46
|
+
minimal: "minimal";
|
|
47
|
+
off: "off";
|
|
48
|
+
xhigh: "xhigh";
|
|
49
|
+
}>, z.ZodString]>>;
|
|
7
50
|
variant: z.ZodOptional<z.ZodString>;
|
|
8
51
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
9
52
|
high: "high";
|
|
@@ -26,6 +69,16 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
26
69
|
}, z.core.$strip>>;
|
|
27
70
|
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
28
71
|
model: z.ZodString;
|
|
72
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
73
|
+
auto: "auto";
|
|
74
|
+
high: "high";
|
|
75
|
+
low: "low";
|
|
76
|
+
max: "max";
|
|
77
|
+
medium: "medium";
|
|
78
|
+
minimal: "minimal";
|
|
79
|
+
off: "off";
|
|
80
|
+
xhigh: "xhigh";
|
|
81
|
+
}>, z.ZodString]>>;
|
|
29
82
|
variant: z.ZodOptional<z.ZodString>;
|
|
30
83
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
31
84
|
high: "high";
|
|
@@ -47,9 +100,21 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
47
100
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
48
101
|
}, z.core.$strip>>;
|
|
49
102
|
}, z.core.$strip>]>>]>>;
|
|
103
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
104
|
+
auto: "auto";
|
|
105
|
+
high: "high";
|
|
106
|
+
low: "low";
|
|
107
|
+
max: "max";
|
|
108
|
+
medium: "medium";
|
|
109
|
+
minimal: "minimal";
|
|
110
|
+
off: "off";
|
|
111
|
+
xhigh: "xhigh";
|
|
112
|
+
}>, z.ZodString]>>;
|
|
50
113
|
variant: z.ZodOptional<z.ZodString>;
|
|
51
114
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
52
115
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
provider_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
53
118
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
54
119
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
55
120
|
type: z.ZodEnum<{
|
|
@@ -77,6 +142,7 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
77
142
|
max_prompt_tokens: z.ZodOptional<z.ZodNumber>;
|
|
78
143
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
79
144
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
warn_unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
80
146
|
}, z.core.$strip>;
|
|
81
147
|
export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
82
148
|
artistry: "artistry";
|
|
@@ -91,8 +157,51 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
91
157
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
92
158
|
description: z.ZodOptional<z.ZodString>;
|
|
93
159
|
model: z.ZodOptional<z.ZodString>;
|
|
160
|
+
models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
161
|
+
model: z.ZodString;
|
|
162
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
163
|
+
auto: "auto";
|
|
164
|
+
high: "high";
|
|
165
|
+
low: "low";
|
|
166
|
+
max: "max";
|
|
167
|
+
medium: "medium";
|
|
168
|
+
minimal: "minimal";
|
|
169
|
+
off: "off";
|
|
170
|
+
xhigh: "xhigh";
|
|
171
|
+
}>, z.ZodString]>>;
|
|
172
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
173
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
high: "high";
|
|
175
|
+
low: "low";
|
|
176
|
+
max: "max";
|
|
177
|
+
medium: "medium";
|
|
178
|
+
minimal: "minimal";
|
|
179
|
+
none: "none";
|
|
180
|
+
xhigh: "xhigh";
|
|
181
|
+
}>>;
|
|
182
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
type: z.ZodEnum<{
|
|
187
|
+
disabled: "disabled";
|
|
188
|
+
enabled: "enabled";
|
|
189
|
+
}>;
|
|
190
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>]>>>;
|
|
94
193
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
95
194
|
model: z.ZodString;
|
|
195
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
196
|
+
auto: "auto";
|
|
197
|
+
high: "high";
|
|
198
|
+
low: "low";
|
|
199
|
+
max: "max";
|
|
200
|
+
medium: "medium";
|
|
201
|
+
minimal: "minimal";
|
|
202
|
+
off: "off";
|
|
203
|
+
xhigh: "xhigh";
|
|
204
|
+
}>, z.ZodString]>>;
|
|
96
205
|
variant: z.ZodOptional<z.ZodString>;
|
|
97
206
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
98
207
|
high: "high";
|
|
@@ -115,6 +224,16 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
115
224
|
}, z.core.$strip>>;
|
|
116
225
|
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
117
226
|
model: z.ZodString;
|
|
227
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
228
|
+
auto: "auto";
|
|
229
|
+
high: "high";
|
|
230
|
+
low: "low";
|
|
231
|
+
max: "max";
|
|
232
|
+
medium: "medium";
|
|
233
|
+
minimal: "minimal";
|
|
234
|
+
off: "off";
|
|
235
|
+
xhigh: "xhigh";
|
|
236
|
+
}>, z.ZodString]>>;
|
|
118
237
|
variant: z.ZodOptional<z.ZodString>;
|
|
119
238
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
120
239
|
high: "high";
|
|
@@ -136,9 +255,21 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
136
255
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
137
256
|
}, z.core.$strip>>;
|
|
138
257
|
}, z.core.$strip>]>>]>>;
|
|
258
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
259
|
+
auto: "auto";
|
|
260
|
+
high: "high";
|
|
261
|
+
low: "low";
|
|
262
|
+
max: "max";
|
|
263
|
+
medium: "medium";
|
|
264
|
+
minimal: "minimal";
|
|
265
|
+
off: "off";
|
|
266
|
+
xhigh: "xhigh";
|
|
267
|
+
}>, z.ZodString]>>;
|
|
139
268
|
variant: z.ZodOptional<z.ZodString>;
|
|
140
269
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
141
270
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
provider_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
142
273
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
143
274
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
144
275
|
type: z.ZodEnum<{
|
|
@@ -166,6 +297,7 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
166
297
|
max_prompt_tokens: z.ZodOptional<z.ZodNumber>;
|
|
167
298
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
168
299
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
+
warn_unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
169
301
|
}, z.core.$strip>>;
|
|
170
302
|
export type CategoryConfig = z.infer<typeof CategoryConfigSchema>;
|
|
171
303
|
export type CategoriesConfig = z.infer<typeof CategoriesConfigSchema>;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const FallbackModelObjectSchema: z.ZodObject<{
|
|
3
3
|
model: z.ZodString;
|
|
4
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
|
+
auto: "auto";
|
|
6
|
+
high: "high";
|
|
7
|
+
low: "low";
|
|
8
|
+
max: "max";
|
|
9
|
+
medium: "medium";
|
|
10
|
+
minimal: "minimal";
|
|
11
|
+
off: "off";
|
|
12
|
+
xhigh: "xhigh";
|
|
13
|
+
}>, z.ZodString]>>;
|
|
4
14
|
variant: z.ZodOptional<z.ZodString>;
|
|
5
15
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
6
16
|
high: "high";
|
|
@@ -26,6 +36,16 @@ export type FallbackModelObject = z.infer<typeof FallbackModelObjectSchema>;
|
|
|
26
36
|
export declare const FallbackModelStringArraySchema: z.ZodArray<z.ZodString>;
|
|
27
37
|
export declare const FallbackModelObjectArraySchema: z.ZodArray<z.ZodObject<{
|
|
28
38
|
model: z.ZodString;
|
|
39
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
40
|
+
auto: "auto";
|
|
41
|
+
high: "high";
|
|
42
|
+
low: "low";
|
|
43
|
+
max: "max";
|
|
44
|
+
medium: "medium";
|
|
45
|
+
minimal: "minimal";
|
|
46
|
+
off: "off";
|
|
47
|
+
xhigh: "xhigh";
|
|
48
|
+
}>, z.ZodString]>>;
|
|
29
49
|
variant: z.ZodOptional<z.ZodString>;
|
|
30
50
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
31
51
|
high: "high";
|
|
@@ -49,6 +69,16 @@ export declare const FallbackModelObjectArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
49
69
|
}, z.core.$strip>>;
|
|
50
70
|
export declare const FallbackModelMixedArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
51
71
|
model: z.ZodString;
|
|
72
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
73
|
+
auto: "auto";
|
|
74
|
+
high: "high";
|
|
75
|
+
low: "low";
|
|
76
|
+
max: "max";
|
|
77
|
+
medium: "medium";
|
|
78
|
+
minimal: "minimal";
|
|
79
|
+
off: "off";
|
|
80
|
+
xhigh: "xhigh";
|
|
81
|
+
}>, z.ZodString]>>;
|
|
52
82
|
variant: z.ZodOptional<z.ZodString>;
|
|
53
83
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
54
84
|
high: "high";
|
|
@@ -72,6 +102,16 @@ export declare const FallbackModelMixedArraySchema: z.ZodArray<z.ZodUnion<readon
|
|
|
72
102
|
}, z.core.$strip>]>>;
|
|
73
103
|
export declare const FallbackModelsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
74
104
|
model: z.ZodString;
|
|
105
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
106
|
+
auto: "auto";
|
|
107
|
+
high: "high";
|
|
108
|
+
low: "low";
|
|
109
|
+
max: "max";
|
|
110
|
+
medium: "medium";
|
|
111
|
+
minimal: "minimal";
|
|
112
|
+
off: "off";
|
|
113
|
+
xhigh: "xhigh";
|
|
114
|
+
}>, z.ZodString]>>;
|
|
75
115
|
variant: z.ZodOptional<z.ZodString>;
|
|
76
116
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
77
117
|
high: "high";
|
|
@@ -94,6 +134,16 @@ export declare const FallbackModelsSchema: z.ZodUnion<readonly [z.ZodString, z.Z
|
|
|
94
134
|
}, z.core.$strip>>;
|
|
95
135
|
}, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
96
136
|
model: z.ZodString;
|
|
137
|
+
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
138
|
+
auto: "auto";
|
|
139
|
+
high: "high";
|
|
140
|
+
low: "low";
|
|
141
|
+
max: "max";
|
|
142
|
+
medium: "medium";
|
|
143
|
+
minimal: "minimal";
|
|
144
|
+
off: "off";
|
|
145
|
+
xhigh: "xhigh";
|
|
146
|
+
}>, z.ZodString]>>;
|
|
97
147
|
variant: z.ZodOptional<z.ZodString>;
|
|
98
148
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
99
149
|
high: "high";
|