hoomanjs 1.35.3 → 1.37.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.
Files changed (137) hide show
  1. package/README.md +17 -13
  2. package/dist/acp/acp-agent.d.ts +40 -66
  3. package/dist/acp/acp-agent.js +786 -398
  4. package/dist/acp/acp-agent.js.map +1 -1
  5. package/dist/acp/approvals.d.ts +2 -2
  6. package/dist/acp/approvals.js +66 -58
  7. package/dist/acp/approvals.js.map +1 -1
  8. package/dist/acp/commands.d.ts +20 -0
  9. package/dist/acp/commands.js +66 -0
  10. package/dist/acp/commands.js.map +1 -0
  11. package/dist/acp/index.d.ts +1 -1
  12. package/dist/acp/index.js +1 -1
  13. package/dist/acp/index.js.map +1 -1
  14. package/dist/acp/mcp-servers.js +14 -8
  15. package/dist/acp/mcp-servers.js.map +1 -1
  16. package/dist/acp/prompt-invoke.js +103 -49
  17. package/dist/acp/prompt-invoke.js.map +1 -1
  18. package/dist/acp/session-config.d.ts +18 -0
  19. package/dist/acp/session-config.js +52 -0
  20. package/dist/acp/session-config.js.map +1 -0
  21. package/dist/acp/sessions/replay.d.ts +2 -2
  22. package/dist/acp/sessions/replay.js +28 -44
  23. package/dist/acp/sessions/replay.js.map +1 -1
  24. package/dist/acp/sessions/store.d.ts +4 -0
  25. package/dist/acp/sessions/store.js +5 -1
  26. package/dist/acp/sessions/store.js.map +1 -1
  27. package/dist/acp/utils/tool-kind.js +2 -2
  28. package/dist/acp/utils/tool-kind.js.map +1 -1
  29. package/dist/acp/utils/tool-result-content.d.ts +7 -0
  30. package/dist/acp/utils/tool-result-content.js +18 -0
  31. package/dist/acp/utils/tool-result-content.js.map +1 -1
  32. package/dist/chat/app.js +117 -1
  33. package/dist/chat/app.js.map +1 -1
  34. package/dist/chat/components/BottomChrome.d.ts +2 -1
  35. package/dist/chat/components/BottomChrome.js +2 -2
  36. package/dist/chat/components/BottomChrome.js.map +1 -1
  37. package/dist/chat/components/ReasoningStrip.js +3 -1
  38. package/dist/chat/components/ReasoningStrip.js.map +1 -1
  39. package/dist/chat/components/StatusBar.d.ts +2 -1
  40. package/dist/chat/components/StatusBar.js +18 -3
  41. package/dist/chat/components/StatusBar.js.map +1 -1
  42. package/dist/chat/components/ThoughtEvent.d.ts +3 -1
  43. package/dist/chat/components/ThoughtEvent.js +6 -2
  44. package/dist/chat/components/ThoughtEvent.js.map +1 -1
  45. package/dist/chat/components/Transcript.d.ts +5 -2
  46. package/dist/chat/components/Transcript.js +4 -4
  47. package/dist/chat/components/Transcript.js.map +1 -1
  48. package/dist/chat/components/markdown/CodeBlock.js.map +1 -1
  49. package/dist/cli.js +24 -1
  50. package/dist/cli.js.map +1 -1
  51. package/dist/configure/app.js +287 -64
  52. package/dist/configure/app.js.map +1 -1
  53. package/dist/configure/components/MenuScreen.js +29 -5
  54. package/dist/configure/components/MenuScreen.js.map +1 -1
  55. package/dist/configure/types.d.ts +8 -2
  56. package/dist/core/agent/index.js +17 -4
  57. package/dist/core/agent/index.js.map +1 -1
  58. package/dist/core/approvals/allowlist.d.ts +52 -0
  59. package/dist/core/approvals/allowlist.js +265 -0
  60. package/dist/core/approvals/allowlist.js.map +1 -0
  61. package/dist/core/approvals/bash-arity.d.ts +10 -0
  62. package/dist/core/approvals/bash-arity.js +178 -0
  63. package/dist/core/approvals/bash-arity.js.map +1 -0
  64. package/dist/core/approvals/intervention.d.ts +1 -2
  65. package/dist/core/approvals/intervention.js +5 -20
  66. package/dist/core/approvals/intervention.js.map +1 -1
  67. package/dist/core/approvals/wildcard.d.ts +14 -0
  68. package/dist/core/approvals/wildcard.js +27 -0
  69. package/dist/core/approvals/wildcard.js.map +1 -0
  70. package/dist/core/config.d.ts +352 -22
  71. package/dist/core/config.js +40 -0
  72. package/dist/core/config.js.map +1 -1
  73. package/dist/core/models/anthropic.d.ts +7 -1
  74. package/dist/core/models/anthropic.js +36 -7
  75. package/dist/core/models/anthropic.js.map +1 -1
  76. package/dist/core/models/azure.js +13 -0
  77. package/dist/core/models/azure.js.map +1 -1
  78. package/dist/core/models/bedrock.js +33 -0
  79. package/dist/core/models/bedrock.js.map +1 -1
  80. package/dist/core/models/google.js +5 -0
  81. package/dist/core/models/google.js.map +1 -1
  82. package/dist/core/models/groq.js +14 -0
  83. package/dist/core/models/groq.js.map +1 -1
  84. package/dist/core/models/minimax.js +2 -2
  85. package/dist/core/models/minimax.js.map +1 -1
  86. package/dist/core/models/moonshot.js +5 -0
  87. package/dist/core/models/moonshot.js.map +1 -1
  88. package/dist/core/models/ollama/index.js +5 -3
  89. package/dist/core/models/ollama/index.js.map +1 -1
  90. package/dist/core/models/openai.js +21 -1
  91. package/dist/core/models/openai.js.map +1 -1
  92. package/dist/core/models/openrouter.d.ts +2 -2
  93. package/dist/core/models/openrouter.js +28 -10
  94. package/dist/core/models/openrouter.js.map +1 -1
  95. package/dist/core/models/types.d.ts +759 -51
  96. package/dist/core/models/types.js +43 -7
  97. package/dist/core/models/types.js.map +1 -1
  98. package/dist/core/models/xai.js +12 -0
  99. package/dist/core/models/xai.js.map +1 -1
  100. package/dist/core/session-config.d.ts +10 -1
  101. package/dist/core/session-config.js +16 -0
  102. package/dist/core/session-config.js.map +1 -1
  103. package/dist/core/skills/built-in/hooman-config/SKILL.md +20 -12
  104. package/dist/core/state/file-tool-display.d.ts +6 -0
  105. package/dist/core/state/file-tool-display.js.map +1 -1
  106. package/dist/core/state/todos.d.ts +11 -0
  107. package/dist/core/state/todos.js +2 -0
  108. package/dist/core/state/todos.js.map +1 -1
  109. package/dist/core/state/tool-approvals.d.ts +6 -7
  110. package/dist/core/state/tool-approvals.js +7 -50
  111. package/dist/core/state/tool-approvals.js.map +1 -1
  112. package/dist/core/tools/filesystem.js +83 -27
  113. package/dist/core/tools/filesystem.js.map +1 -1
  114. package/dist/core/tools/shell.js +39 -0
  115. package/dist/core/tools/shell.js.map +1 -1
  116. package/dist/core/tools/terminal-backend.d.ts +41 -0
  117. package/dist/core/tools/terminal-backend.js +9 -0
  118. package/dist/core/tools/terminal-backend.js.map +1 -0
  119. package/dist/core/tools/text-fs-backend.d.ts +25 -0
  120. package/dist/core/tools/text-fs-backend.js +9 -0
  121. package/dist/core/tools/text-fs-backend.js.map +1 -0
  122. package/dist/core/tools/todo.d.ts +1 -0
  123. package/dist/core/tools/todo.js +2 -1
  124. package/dist/core/tools/todo.js.map +1 -1
  125. package/dist/core/tools/web-search.js +56 -1
  126. package/dist/core/tools/web-search.js.map +1 -1
  127. package/dist/core/utils/attachments.js.map +1 -1
  128. package/dist/core/utils/paths.d.ts +1 -0
  129. package/dist/core/utils/paths.js +1 -0
  130. package/dist/core/utils/paths.js.map +1 -1
  131. package/dist/index.d.ts +2 -1
  132. package/dist/index.js +2 -1
  133. package/dist/index.js.map +1 -1
  134. package/package.json +3 -2
  135. package/dist/acp/sessions/options.d.ts +0 -10
  136. package/dist/acp/sessions/options.js +0 -89
  137. package/dist/acp/sessions/options.js.map +0 -1
@@ -12,8 +12,38 @@ export declare enum LlmProvider {
12
12
  OpenRouter = "openrouter",
13
13
  Xai = "xai"
14
14
  }
15
- export type AnthropicThinking = "disabled" | "adaptive";
16
- export type OllamaThinking = boolean | "high" | "medium" | "low";
15
+ export type OpenAIApi = "chat" | "responses";
16
+ export type ReasoningEffort = "minimal" | "low" | "medium" | "high";
17
+ export type ReasoningSummary = "auto" | "concise" | "detailed" | "none";
18
+ export type ReasoningDisplay = "summarized" | "omitted";
19
+ /**
20
+ * Common reasoning/thinking controls shared across every reasoning-capable
21
+ * provider. Hooman translates this into each provider's native shape.
22
+ * - `effort`: normalized reasoning effort. Its presence enables thinking; the
23
+ * level is forwarded where the backend supports effort/levels and otherwise
24
+ * used only to turn thinking on (see each provider factory for the exact
25
+ * mapping). Omit to leave thinking off.
26
+ * - `summary`: reasoning-summary verbosity. Only OpenAI/Azure Responses API
27
+ * honor this; other providers ignore it.
28
+ * - `display`: Bedrock Claude / MiniMax only. Newer Bedrock Claude models
29
+ * (Opus 4.7+) default reasoning display to omitted; set `"summarized"` to
30
+ * receive the reasoning trace. Setting it switches the request to `adaptive`
31
+ * thinking with `output_config.effort` (required by Opus, accepted by
32
+ * Sonnet/MiniMax). Do NOT set it for the native Anthropic API
33
+ * (api.anthropic.com), which only supports `thinking: { type: "enabled" }`
34
+ * and rejects `adaptive`/`display`/`output_config`.
35
+ */
36
+ export type ReasoningOptions = {
37
+ effort?: ReasoningEffort;
38
+ summary?: ReasoningSummary;
39
+ display?: ReasoningDisplay;
40
+ };
41
+ /**
42
+ * Effort -> `budget_tokens` for providers that take an explicit thinking budget
43
+ * (Anthropic/MiniMax via the Anthropic API, Bedrock Converse). We always send a
44
+ * budget rather than omitting it; `medium` is the default when no effort is set.
45
+ */
46
+ export declare const REASONING_BUDGET_TOKENS: Record<ReasoningEffort, number>;
17
47
  export type LlmOptions = {
18
48
  model: string;
19
49
  temperature?: number;
@@ -23,7 +53,13 @@ export type AnthropicProviderOptions = {
23
53
  apiKey?: string;
24
54
  baseURL?: string;
25
55
  headers?: Record<string, string>;
26
- thinking?: AnthropicThinking;
56
+ /**
57
+ * Reasoning controls. Providing `reasoning` enables extended thinking
58
+ * (`thinking: { type: "enabled", budget_tokens }`); omit `reasoning` entirely
59
+ * to leave thinking off. `effort` defaults to `medium` and maps to an explicit
60
+ * `budget_tokens` (always sent).
61
+ */
62
+ reasoning?: ReasoningOptions;
27
63
  };
28
64
  export type AzureProviderOptions = {
29
65
  resourceName?: string;
@@ -32,6 +68,11 @@ export type AzureProviderOptions = {
32
68
  headers?: Record<string, string>;
33
69
  apiVersion?: string;
34
70
  useDeploymentBasedUrls?: boolean;
71
+ /**
72
+ * Reasoning controls (Azure OpenAI Responses API). `effort` and `summary` are
73
+ * forwarded to the deployment; only reasoning-capable models honor them.
74
+ */
75
+ reasoning?: ReasoningOptions;
35
76
  };
36
77
  export type BedrockProviderOptions = {
37
78
  region?: string;
@@ -39,54 +80,154 @@ export type BedrockProviderOptions = {
39
80
  secretAccessKey?: string;
40
81
  sessionToken?: string;
41
82
  apiKey?: string;
83
+ /**
84
+ * Reasoning controls. Providing `reasoning` enables extended thinking on
85
+ * supported models (e.g. Claude), sent as `thinking: { type: "enabled",
86
+ * budget_tokens }`. `effort` defaults to `medium` and maps to a `budget_tokens`
87
+ * value (Converse requires an explicit budget); omit `reasoning` to leave
88
+ * thinking off.
89
+ */
90
+ reasoning?: ReasoningOptions;
42
91
  };
43
92
  export type GoogleProviderOptions = {
44
93
  apiKey?: string;
94
+ /**
95
+ * Reasoning controls. Setting `reasoning.effort` enables Gemini thinking
96
+ * (`thinkingConfig: { includeThoughts: true, thinkingBudget: -1 }` — dynamic
97
+ * budget); omit to leave thinking at the model default.
98
+ */
99
+ reasoning?: ReasoningOptions;
45
100
  };
46
101
  export type GroqProviderOptions = {
47
102
  apiKey?: string;
48
103
  baseURL?: string;
49
104
  headers?: Record<string, string>;
105
+ /**
106
+ * Reasoning controls. `reasoning.effort` maps to Groq's `reasoning_effort`
107
+ * (`minimal` is sent as `low`); reasoning is streamed via
108
+ * `reasoning_format: "parsed"`. Omit to leave reasoning at the model default.
109
+ */
110
+ reasoning?: ReasoningOptions;
50
111
  };
51
112
  export type MinimaxProviderOptions = {
52
113
  apiKey?: string;
53
114
  headers?: Record<string, string>;
54
- thinking?: AnthropicThinking;
115
+ /**
116
+ * Reasoning controls. Providing `reasoning` enables thinking, normalized to
117
+ * MiniMax's `thinking: { type: "adaptive", budget_tokens }`; omit `reasoning`
118
+ * to leave thinking off. `effort` defaults to `medium` and maps to an explicit
119
+ * `budget_tokens` (always sent).
120
+ */
121
+ reasoning?: ReasoningOptions;
55
122
  };
56
123
  export type MoonshotProviderOptions = {
57
124
  apiKey?: string;
58
125
  baseURL?: string;
59
126
  headers?: Record<string, string>;
127
+ /**
128
+ * Reasoning controls. Setting `reasoning.effort` enables Kimi thinking
129
+ * (`thinking: { type: "enabled" }`); omit to leave thinking off.
130
+ */
131
+ reasoning?: ReasoningOptions;
60
132
  };
61
133
  export type OllamaProviderOptions = {
62
134
  baseURL?: string;
63
- thinking?: OllamaThinking;
135
+ /**
136
+ * Reasoning controls. Setting `reasoning.effort` enables Ollama thinking,
137
+ * mapped to the `think` level (`minimal`/`low` -> `"low"`, `medium` ->
138
+ * `"medium"`, `high` -> `"high"`); omit to leave thinking off.
139
+ */
140
+ reasoning?: ReasoningOptions;
64
141
  };
65
142
  export type OpenAIProviderOptions = {
66
143
  apiKey?: string;
67
144
  baseURL?: string;
68
145
  headers?: Record<string, string>;
146
+ /**
147
+ * Which OpenAI-compatible API surface to use.
148
+ * - `responses` (default): OpenAI Responses API. Streams reasoning/thinking
149
+ * (`response.reasoning_summary_text.delta`) so it shows up in the UI.
150
+ * - `chat`: Chat Completions. Use for OpenAI-compatible MaaS/proxies that do
151
+ * not implement the Responses API. Reasoning is NOT surfaced in this mode:
152
+ * the SDK's Chat adapter drops `reasoning_content`. For a MaaS/proxy that
153
+ * only exposes thinking via chat `reasoning_content` (e.g. Kimi/Moonshot),
154
+ * route it through the `moonshot` or `openrouter` provider instead, which
155
+ * use the reasoning-aware openai-compatible adapter.
156
+ */
157
+ api?: OpenAIApi;
158
+ /**
159
+ * Reasoning controls for the Responses API (`api: "responses"`). Ignored on
160
+ * the Chat Completions API.
161
+ * - `effort`: reasoning effort. Some models (e.g. GPT-5) only emit a reasoning
162
+ * summary at `medium` or `high`; `low`/`minimal` yield no visible thinking.
163
+ * - `summary`: summary verbosity. Defaults to `auto`. Set to `none` to disable
164
+ * summaries (e.g. for non-reasoning models that reject the `reasoning` param).
165
+ */
166
+ reasoning?: ReasoningOptions;
69
167
  };
70
168
  export type OpenRouterProviderOptions = {
71
169
  apiKey?: string;
72
170
  baseURL?: string;
73
171
  headers?: Record<string, string>;
172
+ /**
173
+ * Reasoning controls. `reasoning.effort` maps to `reasoning_effort`, which
174
+ * OpenRouter normalizes for reasoning models. OpenRouter is served through the
175
+ * openai-compatible adapter (not the OpenAI Chat adapter) so `reasoning`/
176
+ * `reasoning_content` deltas are surfaced as thinking. Omit to leave reasoning
177
+ * at the default.
178
+ */
179
+ reasoning?: ReasoningOptions;
74
180
  };
75
181
  export type XaiProviderOptions = {
76
182
  apiKey?: string;
77
183
  baseURL?: string;
78
184
  headers?: Record<string, string>;
185
+ /**
186
+ * Reasoning controls. `reasoning.effort` maps to xAI's `reasoning_effort`
187
+ * (`low`/`high`; `minimal` -> `low`, `medium` -> `high`). Only reasoning
188
+ * models (e.g. grok-3-mini) support it. Omit to leave reasoning at the default.
189
+ */
190
+ reasoning?: ReasoningOptions;
79
191
  };
80
192
  export type ProviderOptions = AnthropicProviderOptions | AzureProviderOptions | BedrockProviderOptions | GoogleProviderOptions | GroqProviderOptions | MinimaxProviderOptions | MoonshotProviderOptions | OllamaProviderOptions | OpenAIProviderOptions | OpenRouterProviderOptions | XaiProviderOptions;
81
- export declare const AnthropicThinkingSchema: z.ZodEnum<{
82
- disabled: "disabled";
83
- adaptive: "adaptive";
193
+ export declare const OpenAIApiSchema: z.ZodEnum<{
194
+ chat: "chat";
195
+ responses: "responses";
84
196
  }>;
85
- export declare const OllamaThinkingSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
86
- high: "high";
87
- medium: "medium";
197
+ export declare const ReasoningEffortSchema: z.ZodEnum<{
198
+ minimal: "minimal";
88
199
  low: "low";
89
- }>]>;
200
+ medium: "medium";
201
+ high: "high";
202
+ }>;
203
+ export declare const ReasoningSummarySchema: z.ZodEnum<{
204
+ auto: "auto";
205
+ concise: "concise";
206
+ detailed: "detailed";
207
+ none: "none";
208
+ }>;
209
+ export declare const ReasoningDisplaySchema: z.ZodEnum<{
210
+ summarized: "summarized";
211
+ omitted: "omitted";
212
+ }>;
213
+ export declare const ReasoningOptionsSchema: z.ZodObject<{
214
+ effort: z.ZodOptional<z.ZodEnum<{
215
+ minimal: "minimal";
216
+ low: "low";
217
+ medium: "medium";
218
+ high: "high";
219
+ }>>;
220
+ summary: z.ZodOptional<z.ZodEnum<{
221
+ auto: "auto";
222
+ concise: "concise";
223
+ detailed: "detailed";
224
+ none: "none";
225
+ }>>;
226
+ display: z.ZodOptional<z.ZodEnum<{
227
+ summarized: "summarized";
228
+ omitted: "omitted";
229
+ }>>;
230
+ }, z.core.$strict>;
90
231
  export declare const LlmOptionsSchema: z.ZodObject<{
91
232
  model: z.ZodString;
92
233
  temperature: z.ZodOptional<z.ZodNumber>;
@@ -96,10 +237,24 @@ export declare const AnthropicProviderOptionsSchema: z.ZodObject<{
96
237
  apiKey: z.ZodOptional<z.ZodString>;
97
238
  baseURL: z.ZodOptional<z.ZodString>;
98
239
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
99
- thinking: z.ZodOptional<z.ZodEnum<{
100
- disabled: "disabled";
101
- adaptive: "adaptive";
102
- }>>;
240
+ reasoning: z.ZodOptional<z.ZodObject<{
241
+ effort: z.ZodOptional<z.ZodEnum<{
242
+ minimal: "minimal";
243
+ low: "low";
244
+ medium: "medium";
245
+ high: "high";
246
+ }>>;
247
+ summary: z.ZodOptional<z.ZodEnum<{
248
+ auto: "auto";
249
+ concise: "concise";
250
+ detailed: "detailed";
251
+ none: "none";
252
+ }>>;
253
+ display: z.ZodOptional<z.ZodEnum<{
254
+ summarized: "summarized";
255
+ omitted: "omitted";
256
+ }>>;
257
+ }, z.core.$strict>>;
103
258
  }, z.core.$strict>;
104
259
  export declare const AzureProviderOptionsSchema: z.ZodObject<{
105
260
  resourceName: z.ZodOptional<z.ZodString>;
@@ -108,6 +263,24 @@ export declare const AzureProviderOptionsSchema: z.ZodObject<{
108
263
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
109
264
  apiVersion: z.ZodOptional<z.ZodString>;
110
265
  useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
266
+ reasoning: z.ZodOptional<z.ZodObject<{
267
+ effort: z.ZodOptional<z.ZodEnum<{
268
+ minimal: "minimal";
269
+ low: "low";
270
+ medium: "medium";
271
+ high: "high";
272
+ }>>;
273
+ summary: z.ZodOptional<z.ZodEnum<{
274
+ auto: "auto";
275
+ concise: "concise";
276
+ detailed: "detailed";
277
+ none: "none";
278
+ }>>;
279
+ display: z.ZodOptional<z.ZodEnum<{
280
+ summarized: "summarized";
281
+ omitted: "omitted";
282
+ }>>;
283
+ }, z.core.$strict>>;
111
284
  }, z.core.$strict>;
112
285
  export declare const BedrockProviderOptionsSchema: z.ZodObject<{
113
286
  region: z.ZodOptional<z.ZodString>;
@@ -115,60 +288,231 @@ export declare const BedrockProviderOptionsSchema: z.ZodObject<{
115
288
  secretAccessKey: z.ZodOptional<z.ZodString>;
116
289
  sessionToken: z.ZodOptional<z.ZodString>;
117
290
  apiKey: z.ZodOptional<z.ZodString>;
291
+ reasoning: z.ZodOptional<z.ZodObject<{
292
+ effort: z.ZodOptional<z.ZodEnum<{
293
+ minimal: "minimal";
294
+ low: "low";
295
+ medium: "medium";
296
+ high: "high";
297
+ }>>;
298
+ summary: z.ZodOptional<z.ZodEnum<{
299
+ auto: "auto";
300
+ concise: "concise";
301
+ detailed: "detailed";
302
+ none: "none";
303
+ }>>;
304
+ display: z.ZodOptional<z.ZodEnum<{
305
+ summarized: "summarized";
306
+ omitted: "omitted";
307
+ }>>;
308
+ }, z.core.$strict>>;
118
309
  }, z.core.$strict>;
119
310
  export declare const GoogleProviderOptionsSchema: z.ZodObject<{
120
311
  apiKey: z.ZodOptional<z.ZodString>;
312
+ reasoning: z.ZodOptional<z.ZodObject<{
313
+ effort: z.ZodOptional<z.ZodEnum<{
314
+ minimal: "minimal";
315
+ low: "low";
316
+ medium: "medium";
317
+ high: "high";
318
+ }>>;
319
+ summary: z.ZodOptional<z.ZodEnum<{
320
+ auto: "auto";
321
+ concise: "concise";
322
+ detailed: "detailed";
323
+ none: "none";
324
+ }>>;
325
+ display: z.ZodOptional<z.ZodEnum<{
326
+ summarized: "summarized";
327
+ omitted: "omitted";
328
+ }>>;
329
+ }, z.core.$strict>>;
121
330
  }, z.core.$strict>;
122
331
  export declare const GroqProviderOptionsSchema: z.ZodObject<{
123
332
  apiKey: z.ZodOptional<z.ZodString>;
124
333
  baseURL: z.ZodOptional<z.ZodString>;
125
334
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
335
+ reasoning: z.ZodOptional<z.ZodObject<{
336
+ effort: z.ZodOptional<z.ZodEnum<{
337
+ minimal: "minimal";
338
+ low: "low";
339
+ medium: "medium";
340
+ high: "high";
341
+ }>>;
342
+ summary: z.ZodOptional<z.ZodEnum<{
343
+ auto: "auto";
344
+ concise: "concise";
345
+ detailed: "detailed";
346
+ none: "none";
347
+ }>>;
348
+ display: z.ZodOptional<z.ZodEnum<{
349
+ summarized: "summarized";
350
+ omitted: "omitted";
351
+ }>>;
352
+ }, z.core.$strict>>;
126
353
  }, z.core.$strict>;
127
354
  export declare const MinimaxProviderOptionsSchema: z.ZodObject<{
128
355
  apiKey: z.ZodOptional<z.ZodString>;
129
356
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
130
- thinking: z.ZodOptional<z.ZodEnum<{
131
- disabled: "disabled";
132
- adaptive: "adaptive";
133
- }>>;
357
+ reasoning: z.ZodOptional<z.ZodObject<{
358
+ effort: z.ZodOptional<z.ZodEnum<{
359
+ minimal: "minimal";
360
+ low: "low";
361
+ medium: "medium";
362
+ high: "high";
363
+ }>>;
364
+ summary: z.ZodOptional<z.ZodEnum<{
365
+ auto: "auto";
366
+ concise: "concise";
367
+ detailed: "detailed";
368
+ none: "none";
369
+ }>>;
370
+ display: z.ZodOptional<z.ZodEnum<{
371
+ summarized: "summarized";
372
+ omitted: "omitted";
373
+ }>>;
374
+ }, z.core.$strict>>;
134
375
  }, z.core.$strict>;
135
376
  export declare const MoonshotProviderOptionsSchema: z.ZodObject<{
136
377
  apiKey: z.ZodOptional<z.ZodString>;
137
378
  baseURL: z.ZodOptional<z.ZodString>;
138
379
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
380
+ reasoning: z.ZodOptional<z.ZodObject<{
381
+ effort: z.ZodOptional<z.ZodEnum<{
382
+ minimal: "minimal";
383
+ low: "low";
384
+ medium: "medium";
385
+ high: "high";
386
+ }>>;
387
+ summary: z.ZodOptional<z.ZodEnum<{
388
+ auto: "auto";
389
+ concise: "concise";
390
+ detailed: "detailed";
391
+ none: "none";
392
+ }>>;
393
+ display: z.ZodOptional<z.ZodEnum<{
394
+ summarized: "summarized";
395
+ omitted: "omitted";
396
+ }>>;
397
+ }, z.core.$strict>>;
139
398
  }, z.core.$strict>;
140
399
  export declare const OllamaProviderOptionsSchema: z.ZodObject<{
141
400
  baseURL: z.ZodOptional<z.ZodString>;
142
- thinking: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
143
- high: "high";
144
- medium: "medium";
145
- low: "low";
146
- }>]>>;
401
+ reasoning: z.ZodOptional<z.ZodObject<{
402
+ effort: z.ZodOptional<z.ZodEnum<{
403
+ minimal: "minimal";
404
+ low: "low";
405
+ medium: "medium";
406
+ high: "high";
407
+ }>>;
408
+ summary: z.ZodOptional<z.ZodEnum<{
409
+ auto: "auto";
410
+ concise: "concise";
411
+ detailed: "detailed";
412
+ none: "none";
413
+ }>>;
414
+ display: z.ZodOptional<z.ZodEnum<{
415
+ summarized: "summarized";
416
+ omitted: "omitted";
417
+ }>>;
418
+ }, z.core.$strict>>;
147
419
  }, z.core.$strict>;
148
420
  export declare const OpenAIProviderOptionsSchema: z.ZodObject<{
149
421
  apiKey: z.ZodOptional<z.ZodString>;
150
422
  baseURL: z.ZodOptional<z.ZodString>;
151
423
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
424
+ api: z.ZodOptional<z.ZodEnum<{
425
+ chat: "chat";
426
+ responses: "responses";
427
+ }>>;
428
+ reasoning: z.ZodOptional<z.ZodObject<{
429
+ effort: z.ZodOptional<z.ZodEnum<{
430
+ minimal: "minimal";
431
+ low: "low";
432
+ medium: "medium";
433
+ high: "high";
434
+ }>>;
435
+ summary: z.ZodOptional<z.ZodEnum<{
436
+ auto: "auto";
437
+ concise: "concise";
438
+ detailed: "detailed";
439
+ none: "none";
440
+ }>>;
441
+ display: z.ZodOptional<z.ZodEnum<{
442
+ summarized: "summarized";
443
+ omitted: "omitted";
444
+ }>>;
445
+ }, z.core.$strict>>;
152
446
  }, z.core.$strict>;
153
447
  export declare const OpenRouterProviderOptionsSchema: z.ZodObject<{
154
448
  apiKey: z.ZodOptional<z.ZodString>;
155
449
  baseURL: z.ZodOptional<z.ZodString>;
156
450
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
451
+ reasoning: z.ZodOptional<z.ZodObject<{
452
+ effort: z.ZodOptional<z.ZodEnum<{
453
+ minimal: "minimal";
454
+ low: "low";
455
+ medium: "medium";
456
+ high: "high";
457
+ }>>;
458
+ summary: z.ZodOptional<z.ZodEnum<{
459
+ auto: "auto";
460
+ concise: "concise";
461
+ detailed: "detailed";
462
+ none: "none";
463
+ }>>;
464
+ display: z.ZodOptional<z.ZodEnum<{
465
+ summarized: "summarized";
466
+ omitted: "omitted";
467
+ }>>;
468
+ }, z.core.$strict>>;
157
469
  }, z.core.$strict>;
158
470
  export declare const XaiProviderOptionsSchema: z.ZodObject<{
159
471
  apiKey: z.ZodOptional<z.ZodString>;
160
472
  baseURL: z.ZodOptional<z.ZodString>;
161
473
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
474
+ reasoning: z.ZodOptional<z.ZodObject<{
475
+ effort: z.ZodOptional<z.ZodEnum<{
476
+ minimal: "minimal";
477
+ low: "low";
478
+ medium: "medium";
479
+ high: "high";
480
+ }>>;
481
+ summary: z.ZodOptional<z.ZodEnum<{
482
+ auto: "auto";
483
+ concise: "concise";
484
+ detailed: "detailed";
485
+ none: "none";
486
+ }>>;
487
+ display: z.ZodOptional<z.ZodEnum<{
488
+ summarized: "summarized";
489
+ omitted: "omitted";
490
+ }>>;
491
+ }, z.core.$strict>>;
162
492
  }, z.core.$strict>;
163
493
  export declare const ProviderOptionsSchemas: {
164
494
  readonly anthropic: z.ZodObject<{
165
495
  apiKey: z.ZodOptional<z.ZodString>;
166
496
  baseURL: z.ZodOptional<z.ZodString>;
167
497
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
168
- thinking: z.ZodOptional<z.ZodEnum<{
169
- disabled: "disabled";
170
- adaptive: "adaptive";
171
- }>>;
498
+ reasoning: z.ZodOptional<z.ZodObject<{
499
+ effort: z.ZodOptional<z.ZodEnum<{
500
+ minimal: "minimal";
501
+ low: "low";
502
+ medium: "medium";
503
+ high: "high";
504
+ }>>;
505
+ summary: z.ZodOptional<z.ZodEnum<{
506
+ auto: "auto";
507
+ concise: "concise";
508
+ detailed: "detailed";
509
+ none: "none";
510
+ }>>;
511
+ display: z.ZodOptional<z.ZodEnum<{
512
+ summarized: "summarized";
513
+ omitted: "omitted";
514
+ }>>;
515
+ }, z.core.$strict>>;
172
516
  }, z.core.$strict>;
173
517
  readonly azure: z.ZodObject<{
174
518
  resourceName: z.ZodOptional<z.ZodString>;
@@ -177,6 +521,24 @@ export declare const ProviderOptionsSchemas: {
177
521
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
178
522
  apiVersion: z.ZodOptional<z.ZodString>;
179
523
  useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
524
+ reasoning: z.ZodOptional<z.ZodObject<{
525
+ effort: z.ZodOptional<z.ZodEnum<{
526
+ minimal: "minimal";
527
+ low: "low";
528
+ medium: "medium";
529
+ high: "high";
530
+ }>>;
531
+ summary: z.ZodOptional<z.ZodEnum<{
532
+ auto: "auto";
533
+ concise: "concise";
534
+ detailed: "detailed";
535
+ none: "none";
536
+ }>>;
537
+ display: z.ZodOptional<z.ZodEnum<{
538
+ summarized: "summarized";
539
+ omitted: "omitted";
540
+ }>>;
541
+ }, z.core.$strict>>;
180
542
  }, z.core.$strict>;
181
543
  readonly bedrock: z.ZodObject<{
182
544
  region: z.ZodOptional<z.ZodString>;
@@ -184,50 +546,207 @@ export declare const ProviderOptionsSchemas: {
184
546
  secretAccessKey: z.ZodOptional<z.ZodString>;
185
547
  sessionToken: z.ZodOptional<z.ZodString>;
186
548
  apiKey: z.ZodOptional<z.ZodString>;
549
+ reasoning: z.ZodOptional<z.ZodObject<{
550
+ effort: z.ZodOptional<z.ZodEnum<{
551
+ minimal: "minimal";
552
+ low: "low";
553
+ medium: "medium";
554
+ high: "high";
555
+ }>>;
556
+ summary: z.ZodOptional<z.ZodEnum<{
557
+ auto: "auto";
558
+ concise: "concise";
559
+ detailed: "detailed";
560
+ none: "none";
561
+ }>>;
562
+ display: z.ZodOptional<z.ZodEnum<{
563
+ summarized: "summarized";
564
+ omitted: "omitted";
565
+ }>>;
566
+ }, z.core.$strict>>;
187
567
  }, z.core.$strict>;
188
568
  readonly google: z.ZodObject<{
189
569
  apiKey: z.ZodOptional<z.ZodString>;
570
+ reasoning: z.ZodOptional<z.ZodObject<{
571
+ effort: z.ZodOptional<z.ZodEnum<{
572
+ minimal: "minimal";
573
+ low: "low";
574
+ medium: "medium";
575
+ high: "high";
576
+ }>>;
577
+ summary: z.ZodOptional<z.ZodEnum<{
578
+ auto: "auto";
579
+ concise: "concise";
580
+ detailed: "detailed";
581
+ none: "none";
582
+ }>>;
583
+ display: z.ZodOptional<z.ZodEnum<{
584
+ summarized: "summarized";
585
+ omitted: "omitted";
586
+ }>>;
587
+ }, z.core.$strict>>;
190
588
  }, z.core.$strict>;
191
589
  readonly groq: z.ZodObject<{
192
590
  apiKey: z.ZodOptional<z.ZodString>;
193
591
  baseURL: z.ZodOptional<z.ZodString>;
194
592
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
593
+ reasoning: z.ZodOptional<z.ZodObject<{
594
+ effort: z.ZodOptional<z.ZodEnum<{
595
+ minimal: "minimal";
596
+ low: "low";
597
+ medium: "medium";
598
+ high: "high";
599
+ }>>;
600
+ summary: z.ZodOptional<z.ZodEnum<{
601
+ auto: "auto";
602
+ concise: "concise";
603
+ detailed: "detailed";
604
+ none: "none";
605
+ }>>;
606
+ display: z.ZodOptional<z.ZodEnum<{
607
+ summarized: "summarized";
608
+ omitted: "omitted";
609
+ }>>;
610
+ }, z.core.$strict>>;
195
611
  }, z.core.$strict>;
196
612
  readonly minimax: z.ZodObject<{
197
613
  apiKey: z.ZodOptional<z.ZodString>;
198
614
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
199
- thinking: z.ZodOptional<z.ZodEnum<{
200
- disabled: "disabled";
201
- adaptive: "adaptive";
202
- }>>;
615
+ reasoning: z.ZodOptional<z.ZodObject<{
616
+ effort: z.ZodOptional<z.ZodEnum<{
617
+ minimal: "minimal";
618
+ low: "low";
619
+ medium: "medium";
620
+ high: "high";
621
+ }>>;
622
+ summary: z.ZodOptional<z.ZodEnum<{
623
+ auto: "auto";
624
+ concise: "concise";
625
+ detailed: "detailed";
626
+ none: "none";
627
+ }>>;
628
+ display: z.ZodOptional<z.ZodEnum<{
629
+ summarized: "summarized";
630
+ omitted: "omitted";
631
+ }>>;
632
+ }, z.core.$strict>>;
203
633
  }, z.core.$strict>;
204
634
  readonly moonshot: z.ZodObject<{
205
635
  apiKey: z.ZodOptional<z.ZodString>;
206
636
  baseURL: z.ZodOptional<z.ZodString>;
207
637
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
638
+ reasoning: z.ZodOptional<z.ZodObject<{
639
+ effort: z.ZodOptional<z.ZodEnum<{
640
+ minimal: "minimal";
641
+ low: "low";
642
+ medium: "medium";
643
+ high: "high";
644
+ }>>;
645
+ summary: z.ZodOptional<z.ZodEnum<{
646
+ auto: "auto";
647
+ concise: "concise";
648
+ detailed: "detailed";
649
+ none: "none";
650
+ }>>;
651
+ display: z.ZodOptional<z.ZodEnum<{
652
+ summarized: "summarized";
653
+ omitted: "omitted";
654
+ }>>;
655
+ }, z.core.$strict>>;
208
656
  }, z.core.$strict>;
209
657
  readonly ollama: z.ZodObject<{
210
658
  baseURL: z.ZodOptional<z.ZodString>;
211
- thinking: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
212
- high: "high";
213
- medium: "medium";
214
- low: "low";
215
- }>]>>;
659
+ reasoning: z.ZodOptional<z.ZodObject<{
660
+ effort: z.ZodOptional<z.ZodEnum<{
661
+ minimal: "minimal";
662
+ low: "low";
663
+ medium: "medium";
664
+ high: "high";
665
+ }>>;
666
+ summary: z.ZodOptional<z.ZodEnum<{
667
+ auto: "auto";
668
+ concise: "concise";
669
+ detailed: "detailed";
670
+ none: "none";
671
+ }>>;
672
+ display: z.ZodOptional<z.ZodEnum<{
673
+ summarized: "summarized";
674
+ omitted: "omitted";
675
+ }>>;
676
+ }, z.core.$strict>>;
216
677
  }, z.core.$strict>;
217
678
  readonly openai: z.ZodObject<{
218
679
  apiKey: z.ZodOptional<z.ZodString>;
219
680
  baseURL: z.ZodOptional<z.ZodString>;
220
681
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
682
+ api: z.ZodOptional<z.ZodEnum<{
683
+ chat: "chat";
684
+ responses: "responses";
685
+ }>>;
686
+ reasoning: z.ZodOptional<z.ZodObject<{
687
+ effort: z.ZodOptional<z.ZodEnum<{
688
+ minimal: "minimal";
689
+ low: "low";
690
+ medium: "medium";
691
+ high: "high";
692
+ }>>;
693
+ summary: z.ZodOptional<z.ZodEnum<{
694
+ auto: "auto";
695
+ concise: "concise";
696
+ detailed: "detailed";
697
+ none: "none";
698
+ }>>;
699
+ display: z.ZodOptional<z.ZodEnum<{
700
+ summarized: "summarized";
701
+ omitted: "omitted";
702
+ }>>;
703
+ }, z.core.$strict>>;
221
704
  }, z.core.$strict>;
222
705
  readonly openrouter: z.ZodObject<{
223
706
  apiKey: z.ZodOptional<z.ZodString>;
224
707
  baseURL: z.ZodOptional<z.ZodString>;
225
708
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
709
+ reasoning: z.ZodOptional<z.ZodObject<{
710
+ effort: z.ZodOptional<z.ZodEnum<{
711
+ minimal: "minimal";
712
+ low: "low";
713
+ medium: "medium";
714
+ high: "high";
715
+ }>>;
716
+ summary: z.ZodOptional<z.ZodEnum<{
717
+ auto: "auto";
718
+ concise: "concise";
719
+ detailed: "detailed";
720
+ none: "none";
721
+ }>>;
722
+ display: z.ZodOptional<z.ZodEnum<{
723
+ summarized: "summarized";
724
+ omitted: "omitted";
725
+ }>>;
726
+ }, z.core.$strict>>;
226
727
  }, z.core.$strict>;
227
728
  readonly xai: z.ZodObject<{
228
729
  apiKey: z.ZodOptional<z.ZodString>;
229
730
  baseURL: z.ZodOptional<z.ZodString>;
230
731
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
732
+ reasoning: z.ZodOptional<z.ZodObject<{
733
+ effort: z.ZodOptional<z.ZodEnum<{
734
+ minimal: "minimal";
735
+ low: "low";
736
+ medium: "medium";
737
+ high: "high";
738
+ }>>;
739
+ summary: z.ZodOptional<z.ZodEnum<{
740
+ auto: "auto";
741
+ concise: "concise";
742
+ detailed: "detailed";
743
+ none: "none";
744
+ }>>;
745
+ display: z.ZodOptional<z.ZodEnum<{
746
+ summarized: "summarized";
747
+ omitted: "omitted";
748
+ }>>;
749
+ }, z.core.$strict>>;
231
750
  }, z.core.$strict>;
232
751
  };
233
752
  export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -237,10 +756,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
237
756
  apiKey: z.ZodOptional<z.ZodString>;
238
757
  baseURL: z.ZodOptional<z.ZodString>;
239
758
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
240
- thinking: z.ZodOptional<z.ZodEnum<{
241
- disabled: "disabled";
242
- adaptive: "adaptive";
243
- }>>;
759
+ reasoning: z.ZodOptional<z.ZodObject<{
760
+ effort: z.ZodOptional<z.ZodEnum<{
761
+ minimal: "minimal";
762
+ low: "low";
763
+ medium: "medium";
764
+ high: "high";
765
+ }>>;
766
+ summary: z.ZodOptional<z.ZodEnum<{
767
+ auto: "auto";
768
+ concise: "concise";
769
+ detailed: "detailed";
770
+ none: "none";
771
+ }>>;
772
+ display: z.ZodOptional<z.ZodEnum<{
773
+ summarized: "summarized";
774
+ omitted: "omitted";
775
+ }>>;
776
+ }, z.core.$strict>>;
244
777
  }, z.core.$strict>;
245
778
  }, z.core.$strict>, z.ZodObject<{
246
779
  name: z.ZodString;
@@ -252,6 +785,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
252
785
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
253
786
  apiVersion: z.ZodOptional<z.ZodString>;
254
787
  useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
788
+ reasoning: z.ZodOptional<z.ZodObject<{
789
+ effort: z.ZodOptional<z.ZodEnum<{
790
+ minimal: "minimal";
791
+ low: "low";
792
+ medium: "medium";
793
+ high: "high";
794
+ }>>;
795
+ summary: z.ZodOptional<z.ZodEnum<{
796
+ auto: "auto";
797
+ concise: "concise";
798
+ detailed: "detailed";
799
+ none: "none";
800
+ }>>;
801
+ display: z.ZodOptional<z.ZodEnum<{
802
+ summarized: "summarized";
803
+ omitted: "omitted";
804
+ }>>;
805
+ }, z.core.$strict>>;
255
806
  }, z.core.$strict>;
256
807
  }, z.core.$strict>, z.ZodObject<{
257
808
  name: z.ZodString;
@@ -262,12 +813,48 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
262
813
  secretAccessKey: z.ZodOptional<z.ZodString>;
263
814
  sessionToken: z.ZodOptional<z.ZodString>;
264
815
  apiKey: z.ZodOptional<z.ZodString>;
816
+ reasoning: z.ZodOptional<z.ZodObject<{
817
+ effort: z.ZodOptional<z.ZodEnum<{
818
+ minimal: "minimal";
819
+ low: "low";
820
+ medium: "medium";
821
+ high: "high";
822
+ }>>;
823
+ summary: z.ZodOptional<z.ZodEnum<{
824
+ auto: "auto";
825
+ concise: "concise";
826
+ detailed: "detailed";
827
+ none: "none";
828
+ }>>;
829
+ display: z.ZodOptional<z.ZodEnum<{
830
+ summarized: "summarized";
831
+ omitted: "omitted";
832
+ }>>;
833
+ }, z.core.$strict>>;
265
834
  }, z.core.$strict>;
266
835
  }, z.core.$strict>, z.ZodObject<{
267
836
  name: z.ZodString;
268
837
  provider: z.ZodLiteral<LlmProvider.Google>;
269
838
  options: z.ZodObject<{
270
839
  apiKey: z.ZodOptional<z.ZodString>;
840
+ reasoning: z.ZodOptional<z.ZodObject<{
841
+ effort: z.ZodOptional<z.ZodEnum<{
842
+ minimal: "minimal";
843
+ low: "low";
844
+ medium: "medium";
845
+ high: "high";
846
+ }>>;
847
+ summary: z.ZodOptional<z.ZodEnum<{
848
+ auto: "auto";
849
+ concise: "concise";
850
+ detailed: "detailed";
851
+ none: "none";
852
+ }>>;
853
+ display: z.ZodOptional<z.ZodEnum<{
854
+ summarized: "summarized";
855
+ omitted: "omitted";
856
+ }>>;
857
+ }, z.core.$strict>>;
271
858
  }, z.core.$strict>;
272
859
  }, z.core.$strict>, z.ZodObject<{
273
860
  name: z.ZodString;
@@ -276,6 +863,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
276
863
  apiKey: z.ZodOptional<z.ZodString>;
277
864
  baseURL: z.ZodOptional<z.ZodString>;
278
865
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
866
+ reasoning: z.ZodOptional<z.ZodObject<{
867
+ effort: z.ZodOptional<z.ZodEnum<{
868
+ minimal: "minimal";
869
+ low: "low";
870
+ medium: "medium";
871
+ high: "high";
872
+ }>>;
873
+ summary: z.ZodOptional<z.ZodEnum<{
874
+ auto: "auto";
875
+ concise: "concise";
876
+ detailed: "detailed";
877
+ none: "none";
878
+ }>>;
879
+ display: z.ZodOptional<z.ZodEnum<{
880
+ summarized: "summarized";
881
+ omitted: "omitted";
882
+ }>>;
883
+ }, z.core.$strict>>;
279
884
  }, z.core.$strict>;
280
885
  }, z.core.$strict>, z.ZodObject<{
281
886
  name: z.ZodString;
@@ -283,10 +888,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
283
888
  options: z.ZodObject<{
284
889
  apiKey: z.ZodOptional<z.ZodString>;
285
890
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
286
- thinking: z.ZodOptional<z.ZodEnum<{
287
- disabled: "disabled";
288
- adaptive: "adaptive";
289
- }>>;
891
+ reasoning: z.ZodOptional<z.ZodObject<{
892
+ effort: z.ZodOptional<z.ZodEnum<{
893
+ minimal: "minimal";
894
+ low: "low";
895
+ medium: "medium";
896
+ high: "high";
897
+ }>>;
898
+ summary: z.ZodOptional<z.ZodEnum<{
899
+ auto: "auto";
900
+ concise: "concise";
901
+ detailed: "detailed";
902
+ none: "none";
903
+ }>>;
904
+ display: z.ZodOptional<z.ZodEnum<{
905
+ summarized: "summarized";
906
+ omitted: "omitted";
907
+ }>>;
908
+ }, z.core.$strict>>;
290
909
  }, z.core.$strict>;
291
910
  }, z.core.$strict>, z.ZodObject<{
292
911
  name: z.ZodString;
@@ -295,17 +914,48 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
295
914
  apiKey: z.ZodOptional<z.ZodString>;
296
915
  baseURL: z.ZodOptional<z.ZodString>;
297
916
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
917
+ reasoning: z.ZodOptional<z.ZodObject<{
918
+ effort: z.ZodOptional<z.ZodEnum<{
919
+ minimal: "minimal";
920
+ low: "low";
921
+ medium: "medium";
922
+ high: "high";
923
+ }>>;
924
+ summary: z.ZodOptional<z.ZodEnum<{
925
+ auto: "auto";
926
+ concise: "concise";
927
+ detailed: "detailed";
928
+ none: "none";
929
+ }>>;
930
+ display: z.ZodOptional<z.ZodEnum<{
931
+ summarized: "summarized";
932
+ omitted: "omitted";
933
+ }>>;
934
+ }, z.core.$strict>>;
298
935
  }, z.core.$strict>;
299
936
  }, z.core.$strict>, z.ZodObject<{
300
937
  name: z.ZodString;
301
938
  provider: z.ZodLiteral<LlmProvider.Ollama>;
302
939
  options: z.ZodObject<{
303
940
  baseURL: z.ZodOptional<z.ZodString>;
304
- thinking: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
305
- high: "high";
306
- medium: "medium";
307
- low: "low";
308
- }>]>>;
941
+ reasoning: z.ZodOptional<z.ZodObject<{
942
+ effort: z.ZodOptional<z.ZodEnum<{
943
+ minimal: "minimal";
944
+ low: "low";
945
+ medium: "medium";
946
+ high: "high";
947
+ }>>;
948
+ summary: z.ZodOptional<z.ZodEnum<{
949
+ auto: "auto";
950
+ concise: "concise";
951
+ detailed: "detailed";
952
+ none: "none";
953
+ }>>;
954
+ display: z.ZodOptional<z.ZodEnum<{
955
+ summarized: "summarized";
956
+ omitted: "omitted";
957
+ }>>;
958
+ }, z.core.$strict>>;
309
959
  }, z.core.$strict>;
310
960
  }, z.core.$strict>, z.ZodObject<{
311
961
  name: z.ZodString;
@@ -314,6 +964,28 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
314
964
  apiKey: z.ZodOptional<z.ZodString>;
315
965
  baseURL: z.ZodOptional<z.ZodString>;
316
966
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
967
+ api: z.ZodOptional<z.ZodEnum<{
968
+ chat: "chat";
969
+ responses: "responses";
970
+ }>>;
971
+ reasoning: z.ZodOptional<z.ZodObject<{
972
+ effort: z.ZodOptional<z.ZodEnum<{
973
+ minimal: "minimal";
974
+ low: "low";
975
+ medium: "medium";
976
+ high: "high";
977
+ }>>;
978
+ summary: z.ZodOptional<z.ZodEnum<{
979
+ auto: "auto";
980
+ concise: "concise";
981
+ detailed: "detailed";
982
+ none: "none";
983
+ }>>;
984
+ display: z.ZodOptional<z.ZodEnum<{
985
+ summarized: "summarized";
986
+ omitted: "omitted";
987
+ }>>;
988
+ }, z.core.$strict>>;
317
989
  }, z.core.$strict>;
318
990
  }, z.core.$strict>, z.ZodObject<{
319
991
  name: z.ZodString;
@@ -322,6 +994,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
322
994
  apiKey: z.ZodOptional<z.ZodString>;
323
995
  baseURL: z.ZodOptional<z.ZodString>;
324
996
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
997
+ reasoning: z.ZodOptional<z.ZodObject<{
998
+ effort: z.ZodOptional<z.ZodEnum<{
999
+ minimal: "minimal";
1000
+ low: "low";
1001
+ medium: "medium";
1002
+ high: "high";
1003
+ }>>;
1004
+ summary: z.ZodOptional<z.ZodEnum<{
1005
+ auto: "auto";
1006
+ concise: "concise";
1007
+ detailed: "detailed";
1008
+ none: "none";
1009
+ }>>;
1010
+ display: z.ZodOptional<z.ZodEnum<{
1011
+ summarized: "summarized";
1012
+ omitted: "omitted";
1013
+ }>>;
1014
+ }, z.core.$strict>>;
325
1015
  }, z.core.$strict>;
326
1016
  }, z.core.$strict>, z.ZodObject<{
327
1017
  name: z.ZodString;
@@ -330,6 +1020,24 @@ export declare const NamedProviderConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
330
1020
  apiKey: z.ZodOptional<z.ZodString>;
331
1021
  baseURL: z.ZodOptional<z.ZodString>;
332
1022
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1023
+ reasoning: z.ZodOptional<z.ZodObject<{
1024
+ effort: z.ZodOptional<z.ZodEnum<{
1025
+ minimal: "minimal";
1026
+ low: "low";
1027
+ medium: "medium";
1028
+ high: "high";
1029
+ }>>;
1030
+ summary: z.ZodOptional<z.ZodEnum<{
1031
+ auto: "auto";
1032
+ concise: "concise";
1033
+ detailed: "detailed";
1034
+ none: "none";
1035
+ }>>;
1036
+ display: z.ZodOptional<z.ZodEnum<{
1037
+ summarized: "summarized";
1038
+ omitted: "omitted";
1039
+ }>>;
1040
+ }, z.core.$strict>>;
333
1041
  }, z.core.$strict>;
334
1042
  }, z.core.$strict>], "provider">;
335
1043
  export declare const NamedLlmConfigSchema: z.ZodObject<{