eve 0.52.4 → 0.53.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 (149) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/src/cli/commands/init-agent-workspace.d.ts +2 -0
  3. package/dist/src/cli/commands/init-agent-workspace.js +1 -1
  4. package/dist/src/cli/commands/init-install.d.ts +8 -0
  5. package/dist/src/cli/commands/init-install.js +1 -0
  6. package/dist/src/cli/commands/init.d.ts +3 -4
  7. package/dist/src/cli/commands/init.js +1 -1
  8. package/dist/src/cli/dev/tui/message-queue.js +1 -1
  9. package/dist/src/cli/dev/tui/terminal-renderer.js +12 -12
  10. package/dist/src/cli/run.js +2 -2
  11. package/dist/src/cli/telemetry/index.d.ts +3 -0
  12. package/dist/src/cli/telemetry/index.js +1 -1
  13. package/dist/src/compiled/.vendor-stamp.json +17 -16
  14. package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +23 -2
  15. package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -4
  16. package/dist/src/compiled/@ai-sdk/google/index.d.ts +145 -33
  17. package/dist/src/compiled/@ai-sdk/google/index.js +10 -7
  18. package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +176 -7
  19. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  20. package/dist/src/compiled/@ai-sdk/openai/index.d.ts +71 -40
  21. package/dist/src/compiled/@ai-sdk/openai/index.js +8 -8
  22. package/dist/src/compiled/@ai-sdk/otel/index.js +1 -1
  23. package/dist/src/compiled/@ai-sdk/provider/index.d.ts +225 -3
  24. package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +220 -151
  25. package/dist/src/compiled/@workflow/core/create-hook.d.ts +3 -0
  26. package/dist/src/compiled/@workflow/core/index.js +2 -2
  27. package/dist/src/compiled/@workflow/core/private.js +1 -1
  28. package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +59 -7
  29. package/dist/src/compiled/@workflow/core/runtime/run.d.ts +42 -0
  30. package/dist/src/compiled/@workflow/core/runtime/start.d.ts +31 -1
  31. package/dist/src/compiled/@workflow/core/runtime.d.ts +2 -2
  32. package/dist/src/compiled/@workflow/core/runtime.js +2 -2
  33. package/dist/src/compiled/@workflow/core/serialization.d.ts +22 -0
  34. package/dist/src/compiled/@workflow/core/version.d.ts +1 -1
  35. package/dist/src/compiled/@workflow/core/workflow.js +1 -1
  36. package/dist/src/compiled/@workflow/errors/index.d.ts +37 -3
  37. package/dist/src/compiled/@workflow/errors/index.js +1 -1
  38. package/dist/src/compiled/@workflow/world/attributes-validation.d.ts +68 -0
  39. package/dist/src/compiled/@workflow/world/index.d.ts +1 -1
  40. package/dist/src/compiled/@workflow/world/interfaces.d.ts +21 -0
  41. package/dist/src/compiled/@workflow/world-local/index.js +5 -5
  42. package/dist/src/compiled/@workflow/world-vercel/index.js +3 -3
  43. package/dist/src/compiled/_chunks/workflow/attribute-changes-C6H-fRVP.js +20 -0
  44. package/dist/src/compiled/_chunks/workflow/dist-DDeH-1ER.js +40 -0
  45. package/dist/src/compiled/_chunks/workflow/dist-DhncQSl7.js +74 -0
  46. package/dist/src/compiled/_chunks/workflow/{dist-BIO9Inoc.js → dist-xTushGCp.js} +1 -1
  47. package/dist/src/compiled/_chunks/workflow/frames-DsEqSDes.js +3 -0
  48. package/dist/src/compiled/_chunks/workflow/{private-aXEeo0fU.js → private-CFJkQA7R.js} +1 -1
  49. package/dist/src/compiled/_chunks/workflow/resume-hook-BRDLAb67.js +1 -0
  50. package/dist/src/compiled/_chunks/workflow/run-BM2OFphk.js +1 -0
  51. package/dist/src/compiled/_chunks/workflow/sleep-6cG0F99-.js +1 -0
  52. package/dist/src/compiled/_chunks/workflow/{ws-transport-M7uk8HV8.js → ws-transport-DuK82LLz.js} +1 -1
  53. package/dist/src/compiler/extension-compatibility.d.ts +7 -6
  54. package/dist/src/compiler/extension-compatibility.js +1 -1
  55. package/dist/src/compiler/manifest.js +1 -1
  56. package/dist/src/compiler/normalize-agent-config.js +1 -1
  57. package/dist/src/compiler/normalize-manifest-helpers.js +1 -1
  58. package/dist/src/context/dynamic-model-lifecycle.js +1 -1
  59. package/dist/src/context/keys.d.ts +11 -2
  60. package/dist/src/context/keys.js +1 -1
  61. package/dist/src/evals/mock-model.js +1 -1
  62. package/dist/src/evals/runner/run-evals.d.ts +1 -1
  63. package/dist/src/evals/runner/run-evals.js +1 -1
  64. package/dist/src/execution/activity-cohort.d.ts +20 -0
  65. package/dist/src/execution/activity-cohort.js +1 -0
  66. package/dist/src/execution/authorization-callback-match.d.ts +1 -0
  67. package/dist/src/execution/authorization-callback-match.js +1 -1
  68. package/dist/src/execution/cancelled-model-call-batch.d.ts +15 -0
  69. package/dist/src/execution/cancelled-model-call-batch.js +1 -0
  70. package/dist/src/execution/coordination-dispatch-shared.js +1 -1
  71. package/dist/src/execution/model-call-batching.d.ts +11 -0
  72. package/dist/src/execution/model-call-batching.js +1 -0
  73. package/dist/src/execution/parked-delivery-wait.js +1 -1
  74. package/dist/src/execution/session-activity-projection.d.ts +2 -0
  75. package/dist/src/execution/session-activity-projection.js +1 -1
  76. package/dist/src/execution/skills/instructions.js +1 -1
  77. package/dist/src/execution/tools/sleep-workflow.js +1 -1
  78. package/dist/src/execution/tools/subagent/invoke-agent.d.ts +5 -5
  79. package/dist/src/execution/tools/subagent/invoke-agent.js +1 -1
  80. package/dist/src/execution/tools/subagent/start.js +1 -1
  81. package/dist/src/execution/tools/workflow/body.js +1 -1
  82. package/dist/src/execution/turn-workflow.js +1 -1
  83. package/dist/src/execution/wire/session-inbox-resume.js +1 -1
  84. package/dist/src/execution/workflow-steps.d.ts +1 -1
  85. package/dist/src/execution/workflow-steps.js +1 -1
  86. package/dist/src/harness/approval-delivery-coordinator.js +1 -1
  87. package/dist/src/harness/authorization.d.ts +1 -0
  88. package/dist/src/harness/authorization.js +1 -1
  89. package/dist/src/harness/compaction.js +1 -1
  90. package/dist/src/harness/current-messages.d.ts +8 -2
  91. package/dist/src/harness/current-messages.js +1 -1
  92. package/dist/src/harness/hitl/approval-input-requests.js +1 -1
  93. package/dist/src/harness/input-requests.js +1 -1
  94. package/dist/src/harness/pending-input-batches.d.ts +4 -0
  95. package/dist/src/harness/pending-input-batches.js +1 -1
  96. package/dist/src/harness/tool-loop.js +2 -2
  97. package/dist/src/harness/turn-client-context.d.ts +1 -1
  98. package/dist/src/internal/application/package.js +1 -1
  99. package/dist/src/internal/authored-definition/core.js +1 -1
  100. package/dist/src/internal/authored-package-boundary.js +1 -1
  101. package/dist/src/internal/mock-model-identity.d.ts +2 -0
  102. package/dist/src/internal/mock-model-identity.js +1 -0
  103. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +1 -1
  104. package/dist/src/internal/workflow-bundle/authored-workflow-directives.js +1 -1
  105. package/dist/src/public/tools/index.d.ts +1 -0
  106. package/dist/src/public/tools/index.js +1 -1
  107. package/dist/src/runtime/resolve-agent.js +1 -1
  108. package/dist/src/self-modification/agent.d.ts +2 -2
  109. package/dist/src/self-modification/agent.js +1 -1
  110. package/dist/src/self-modification/config.d.ts +15 -0
  111. package/dist/src/self-modification/config.js +1 -1
  112. package/dist/src/self-modification/extension/extension.d.ts +3 -0
  113. package/dist/src/self-modification/extension/extension.js +1 -1
  114. package/dist/src/self-modification/setup.d.ts +3 -0
  115. package/dist/src/self-modification/setup.js +25 -4
  116. package/dist/src/setup/integrations/self-modification/setup.js +1 -1
  117. package/dist/src/setup/scaffold/create/add-to-project.js +1 -1
  118. package/dist/src/setup/scaffold/create/project.js +2 -2
  119. package/dist/src/setup/scaffold/update/web-options.js +1 -1
  120. package/dist/src/shared/agent-definition.d.ts +11 -2
  121. package/dist/src/tasks/delivery-context.d.ts +2 -2
  122. package/dist/src/tasks/delivery-context.js +2 -18
  123. package/dist/src/tasks/delivery-policy.js +1 -1
  124. package/dist/src/tools/durable-callbacks.d.ts +18 -1
  125. package/dist/src/tools/durable-callbacks.js +1 -1
  126. package/dist/src/tools/workflow-definition.d.ts +38 -4
  127. package/docs/agent-config.md +44 -8
  128. package/docs/channels/overview.mdx +2 -0
  129. package/docs/channels/slack.mdx +2 -0
  130. package/docs/concepts/execution-model-and-durability.mdx +20 -2
  131. package/docs/evals/running.mdx +3 -1
  132. package/docs/guides/dev-tui.md +11 -11
  133. package/docs/guides/dynamic-capabilities.md +36 -1
  134. package/docs/guides/instrumentation.md +3 -2
  135. package/docs/instructions.mdx +1 -1
  136. package/docs/reference/cli.md +1 -1
  137. package/docs/reference/telemetry.md +1 -1
  138. package/docs/reference/typescript-api.md +36 -35
  139. package/docs/subagents/index.mdx +1 -1
  140. package/docs/tools/overview.mdx +4 -2
  141. package/docs/tools/workflows.mdx +15 -10
  142. package/package.json +17 -17
  143. package/dist/src/compiled/_chunks/workflow/attribute-changes-DpruylJZ.js +0 -20
  144. package/dist/src/compiled/_chunks/workflow/dist-ChzQSWQA.js +0 -65
  145. package/dist/src/compiled/_chunks/workflow/dist-veFIAdWV.js +0 -40
  146. package/dist/src/compiled/_chunks/workflow/frames-DKxlMf3X.js +0 -3
  147. package/dist/src/compiled/_chunks/workflow/resume-hook-DWDi_wCN.js +0 -1
  148. package/dist/src/compiled/_chunks/workflow/run-vsAdI41O.js +0 -1
  149. package/dist/src/compiled/_chunks/workflow/sleep-BKxoNDRv.js +0 -1
@@ -4,18 +4,18 @@ import * as _ai_sdk_provider_utils from '#compiled/@ai-sdk/provider-utils/index.
4
4
  import { InferSchema, FetchFunction, WebSocketConstructor, WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '#compiled/@ai-sdk/provider-utils/index.js';
5
5
  import { z } from '#compiled/zod/index.js';
6
6
 
7
- type OpenAIChatModelId = 'o1' | 'o1-2024-12-17' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3' | 'o3-2025-04-16' | 'o4-mini' | 'o4-mini-2025-04-16' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-16k' | 'gpt-5' | 'gpt-5-2025-08-07' | 'gpt-5-mini' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.3-chat-latest' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | (string & {});
7
+ type OpenAIChatModelId = 'o1' | 'o1-2024-12-17' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o3' | 'o3-2025-04-16' | 'o4-mini' | 'o4-mini-2025-04-16' | 'gpt-4.1' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4o' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview' | 'gpt-4o-mini-search-preview-2025-03-11' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-16k' | 'gpt-5' | 'gpt-5-2025-08-07' | 'gpt-5-mini' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.3-chat-latest' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-6-astra' | (string & {});
8
8
  declare const openaiLanguageModelChatOptions: _ai_sdk_provider_utils.LazySchema<{
9
9
  logitBias?: Record<number, number> | undefined;
10
10
  logprobs?: number | boolean | undefined;
11
11
  parallelToolCalls?: boolean | undefined;
12
12
  user?: string | undefined;
13
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
13
+ reasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "none" | "minimal" | undefined;
14
14
  maxCompletionTokens?: number | undefined;
15
15
  store?: boolean | undefined;
16
16
  metadata?: Record<string, string> | undefined;
17
17
  prediction?: Record<string, any> | undefined;
18
- serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | undefined;
18
+ serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
19
19
  strictJsonSchema?: boolean | undefined;
20
20
  textVerbosity?: "low" | "medium" | "high" | undefined;
21
21
  promptCacheKey?: string | undefined;
@@ -49,7 +49,7 @@ type OpenAIEmbeddingModelOptions = InferSchema<typeof openaiEmbeddingModelOption
49
49
 
50
50
  type OpenAIImageModelId = 'dall-e-3' | 'dall-e-2' | 'gpt-image-1' | 'gpt-image-1-mini' | 'gpt-image-1.5' | 'gpt-image-2' | 'chatgpt-image-latest' | (string & {});
51
51
  declare const openaiImageModelOptions: _ai_sdk_provider_utils.LazySchema<{
52
- quality?: "auto" | "low" | "medium" | "high" | "standard" | "hd" | undefined;
52
+ quality?: "low" | "medium" | "high" | "auto" | "standard" | "hd" | undefined;
53
53
  background?: "auto" | "transparent" | "opaque" | undefined;
54
54
  outputFormat?: "png" | "jpeg" | "webp" | undefined;
55
55
  outputCompression?: number | undefined;
@@ -57,17 +57,17 @@ declare const openaiImageModelOptions: _ai_sdk_provider_utils.LazySchema<{
57
57
  }>;
58
58
  type OpenAIImageModelOptions = InferSchema<typeof openaiImageModelOptions>;
59
59
  declare const openaiImageModelGenerationOptions: _ai_sdk_provider_utils.LazySchema<{
60
- quality?: "auto" | "low" | "medium" | "high" | "standard" | "hd" | undefined;
60
+ quality?: "low" | "medium" | "high" | "auto" | "standard" | "hd" | undefined;
61
61
  background?: "auto" | "transparent" | "opaque" | undefined;
62
62
  outputFormat?: "png" | "jpeg" | "webp" | undefined;
63
63
  outputCompression?: number | undefined;
64
64
  user?: string | undefined;
65
65
  style?: "vivid" | "natural" | undefined;
66
- moderation?: "auto" | "low" | undefined;
66
+ moderation?: "low" | "auto" | undefined;
67
67
  }>;
68
68
  type OpenAIImageModelGenerationOptions = InferSchema<typeof openaiImageModelGenerationOptions>;
69
69
  declare const openaiImageModelEditOptions: _ai_sdk_provider_utils.LazySchema<{
70
- quality?: "auto" | "low" | "medium" | "high" | "standard" | "hd" | undefined;
70
+ quality?: "low" | "medium" | "high" | "auto" | "standard" | "hd" | undefined;
71
71
  background?: "auto" | "transparent" | "opaque" | undefined;
72
72
  outputFormat?: "png" | "jpeg" | "webp" | undefined;
73
73
  outputCompression?: number | undefined;
@@ -252,23 +252,24 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
252
252
  } | {
253
253
  type: "response.completed" | "response.incomplete";
254
254
  response: {
255
- usage: {
255
+ incomplete_details?: {
256
+ reason: string;
257
+ } | null | undefined;
258
+ usage?: (Record<string, JSONValue | undefined> & {
256
259
  input_tokens: number;
257
260
  output_tokens: number;
258
- input_tokens_details?: {
261
+ input_tokens_details?: (Record<string, JSONValue | undefined> & {
259
262
  cached_tokens?: number | null | undefined;
260
263
  cache_write_tokens?: number | null | undefined;
261
264
  orchestration_input_tokens?: number | null | undefined;
262
265
  orchestration_input_cached_tokens?: number | null | undefined;
263
- } | null | undefined;
264
- output_tokens_details?: {
266
+ }) | null | undefined;
267
+ output_tokens_details?: (Record<string, JSONValue | undefined> & {
265
268
  reasoning_tokens?: number | null | undefined;
266
269
  orchestration_output_tokens?: number | null | undefined;
267
- } | null | undefined;
268
- };
269
- incomplete_details?: {
270
- reason: string;
271
- } | null | undefined;
270
+ }) | null | undefined;
271
+ total_tokens?: number | undefined;
272
+ }) | null | undefined;
272
273
  reasoning?: {
273
274
  context?: string | null | undefined;
274
275
  } | null | undefined;
@@ -285,20 +286,21 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
285
286
  incomplete_details?: {
286
287
  reason: string;
287
288
  } | null | undefined;
288
- usage?: {
289
+ usage?: (Record<string, JSONValue | undefined> & {
289
290
  input_tokens: number;
290
291
  output_tokens: number;
291
- input_tokens_details?: {
292
+ input_tokens_details?: (Record<string, JSONValue | undefined> & {
292
293
  cached_tokens?: number | null | undefined;
293
294
  cache_write_tokens?: number | null | undefined;
294
295
  orchestration_input_tokens?: number | null | undefined;
295
296
  orchestration_input_cached_tokens?: number | null | undefined;
296
- } | null | undefined;
297
- output_tokens_details?: {
297
+ }) | null | undefined;
298
+ output_tokens_details?: (Record<string, JSONValue | undefined> & {
298
299
  reasoning_tokens?: number | null | undefined;
299
300
  orchestration_output_tokens?: number | null | undefined;
300
- } | null | undefined;
301
- } | null | undefined;
301
+ }) | null | undefined;
302
+ total_tokens?: number | undefined;
303
+ }) | null | undefined;
302
304
  reasoning?: {
303
305
  context?: string | null | undefined;
304
306
  } | null | undefined;
@@ -415,6 +417,18 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
415
417
  code?: string | null | undefined;
416
418
  message?: string | null | undefined;
417
419
  }[] | null | undefined;
420
+ } | {
421
+ type: "local_shell_call";
422
+ id: string;
423
+ call_id: string;
424
+ action: {
425
+ type: "exec";
426
+ command: string[];
427
+ timeout_ms?: number | undefined;
428
+ user?: string | undefined;
429
+ working_directory?: string | undefined;
430
+ env?: Record<string, string> | undefined;
431
+ };
418
432
  } | {
419
433
  type: "message";
420
434
  id: string;
@@ -642,6 +656,18 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
642
656
  code?: string | null | undefined;
643
657
  message?: string | null | undefined;
644
658
  }[] | null | undefined;
659
+ } | {
660
+ type: "local_shell_call";
661
+ id: string;
662
+ call_id: string;
663
+ action: {
664
+ type: "exec";
665
+ command: string[];
666
+ timeout_ms?: number | undefined;
667
+ user?: string | undefined;
668
+ working_directory?: string | undefined;
669
+ env?: Record<string, string> | undefined;
670
+ };
645
671
  } | {
646
672
  type: "program";
647
673
  id: string;
@@ -733,18 +759,6 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
733
759
  score: number;
734
760
  text: string;
735
761
  }[] | null | undefined;
736
- } | {
737
- type: "local_shell_call";
738
- id: string;
739
- call_id: string;
740
- action: {
741
- type: "exec";
742
- command: string[];
743
- timeout_ms?: number | undefined;
744
- user?: string | undefined;
745
- working_directory?: string | undefined;
746
- env?: Record<string, string> | undefined;
747
- };
748
762
  } | {
749
763
  type: "mcp_call";
750
764
  id: string;
@@ -847,6 +861,11 @@ declare const openaiResponsesChunkSchema: _ai_sdk_provider_utils.LazySchema<{
847
861
  item_id: string;
848
862
  output_index: number;
849
863
  delta: string;
864
+ } | {
865
+ type: "response.function_call_arguments.done";
866
+ item_id: string;
867
+ output_index: number;
868
+ arguments: string;
850
869
  } | {
851
870
  type: "response.custom_tool_call_input.delta";
852
871
  item_id: string;
@@ -1109,6 +1128,7 @@ declare const openaiTools: {
1109
1128
  * @param size - The size of the generated image. One of 'auto', '1024x1024', '1024x1536', or '1536x1024'.
1110
1129
  */
1111
1130
  imageGeneration: (args?: {
1131
+ action?: "generate" | "edit" | "auto";
1112
1132
  background?: "auto" | "opaque" | "transparent";
1113
1133
  inputFidelity?: "low" | "high";
1114
1134
  inputImageMask?: {
@@ -1116,12 +1136,12 @@ declare const openaiTools: {
1116
1136
  imageUrl?: string;
1117
1137
  };
1118
1138
  model?: string;
1119
- moderation?: "auto";
1139
+ moderation?: "auto" | "low";
1120
1140
  outputCompression?: number;
1121
1141
  outputFormat?: "png" | "jpeg" | "webp";
1122
1142
  partialImages?: number;
1123
1143
  quality?: "auto" | "low" | "medium" | "high";
1124
- size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024";
1144
+ size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | (string & {});
1125
1145
  }) => _ai_sdk_provider_utils.ProviderExecutedTool<{}, {
1126
1146
  result: string;
1127
1147
  }, {}>;
@@ -1345,7 +1365,7 @@ declare const openaiTools: {
1345
1365
  }, {}>;
1346
1366
  };
1347
1367
 
1348
- type OpenAIResponsesModelId = 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini' | 'gpt-4o' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.1-codex-mini' | 'gpt-5.1-codex' | 'gpt-5.1-codex-max' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.2-codex' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5-codex' | 'gpt-5-mini-2025-08-07' | 'gpt-5-mini' | 'gpt-5-nano-2025-08-07' | 'gpt-5-nano' | 'gpt-5-pro-2025-10-06' | 'gpt-5-pro' | 'gpt-5' | 'o1-2024-12-17' | 'o1' | 'o3-2025-04-16' | 'o3-mini-2025-01-31' | 'o3-mini' | 'o3' | 'o4-mini' | 'o4-mini-2025-04-16' | (string & {});
1368
+ type OpenAIResponsesModelId = 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-mini' | 'gpt-4.1-nano-2025-04-14' | 'gpt-4.1-nano' | 'gpt-4.1' | 'gpt-4o-2024-05-13' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-11-20' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-mini' | 'gpt-4o' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-chat-latest' | 'gpt-5.1-codex-mini' | 'gpt-5.1-codex' | 'gpt-5.1-codex-max' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.2-codex' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.4' | 'gpt-5.4-2026-03-05' | 'gpt-5.4-mini' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.4-pro' | 'gpt-5.4-pro-2026-03-05' | 'gpt-5.5' | 'gpt-5.5-2026-04-23' | 'gpt-5.6' | 'gpt-5.6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-6-astra' | 'gpt-5-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-5-codex' | 'gpt-5-mini-2025-08-07' | 'gpt-5-mini' | 'gpt-5-nano-2025-08-07' | 'gpt-5-nano' | 'gpt-5-pro-2025-10-06' | 'gpt-5-pro' | 'gpt-5' | 'o1-2024-12-17' | 'o1' | 'o3-2025-04-16' | 'o3-mini-2025-01-31' | 'o3-mini' | 'o3' | 'o4-mini' | 'o4-mini-2025-04-16' | (string & {});
1349
1369
  declare const openaiLanguageModelResponsesOptionsSchema: _ai_sdk_provider_utils.LazySchema<{
1350
1370
  conversation?: string | null | undefined;
1351
1371
  include?: ("web_search_call.results" | "file_search_call.results" | "message.output_text.logprobs" | "reasoning.encrypted_content")[] | null | undefined;
@@ -1362,11 +1382,12 @@ declare const openaiLanguageModelResponsesOptionsSchema: _ai_sdk_provider_utils.
1362
1382
  } | undefined;
1363
1383
  promptCacheRetention?: "in_memory" | "24h" | null | undefined;
1364
1384
  reasoningEffort?: string | null | undefined;
1385
+ reasoningEffortUpdate?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1365
1386
  reasoningMode?: "standard" | "pro" | undefined;
1366
1387
  reasoningContext?: "auto" | "current_turn" | "all_turns" | undefined;
1367
1388
  reasoningSummary?: string | null | undefined;
1368
1389
  safetyIdentifier?: string | null | undefined;
1369
- serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | null | undefined;
1390
+ serviceTier?: "default" | "auto" | "flex" | "priority" | "fast" | "ultrafast" | null | undefined;
1370
1391
  store?: boolean | null | undefined;
1371
1392
  passThroughUnsupportedFiles?: boolean | undefined;
1372
1393
  strictJsonSchema?: boolean | null | undefined;
@@ -1379,6 +1400,7 @@ declare const openaiLanguageModelResponsesOptionsSchema: _ai_sdk_provider_utils.
1379
1400
  type: "compaction";
1380
1401
  compactThreshold: number;
1381
1402
  }[] | null | undefined;
1403
+ compactionTrigger?: boolean | undefined;
1382
1404
  allowedTools?: {
1383
1405
  toolNames: string[];
1384
1406
  mode?: "auto" | "required" | undefined;
@@ -1400,8 +1422,15 @@ declare const openAITranscriptionModelOptions: _ai_sdk_provider_utils.LazySchema
1400
1422
  prompt?: string | undefined;
1401
1423
  temperature?: number | undefined;
1402
1424
  timestampGranularities?: ("word" | "segment")[] | undefined;
1425
+ responseFormat?: "json" | "verbose_json" | "diarized_json" | undefined;
1426
+ chunkingStrategy?: "auto" | {
1427
+ type: "server_vad";
1428
+ threshold?: number | undefined;
1429
+ prefixPaddingMs?: number | undefined;
1430
+ silenceDurationMs?: number | undefined;
1431
+ } | undefined;
1403
1432
  streaming?: {
1404
- delay?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1433
+ delay?: "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1405
1434
  include?: string[] | undefined;
1406
1435
  } | undefined;
1407
1436
  }>;
@@ -1567,13 +1596,15 @@ type OpenAIToolOptions = {
1567
1596
  };
1568
1597
  };
1569
1598
 
1599
+ type OpenAIHeaders = Record<string, string | undefined>;
1570
1600
  type OpenAIConfig = {
1571
1601
  provider: string;
1602
+ baseURL?: string;
1572
1603
  url: (options: {
1573
1604
  modelId: string;
1574
1605
  path: string;
1575
1606
  }) => string;
1576
- headers?: () => Record<string, string | undefined>;
1607
+ headers?: () => OpenAIHeaders;
1577
1608
  fetch?: FetchFunction;
1578
1609
  webSocket?: WebSocketConstructor;
1579
1610
  generateId?: () => string;