stitchkit 0.135.1 → 0.136.1

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 (436) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/README.md +37 -11
  3. package/dist/agent-executor/acp/v1-session-build.d.ts +51 -0
  4. package/dist/agent-executor/acp/v1-session-build.d.ts.map +1 -0
  5. package/dist/agent-executor/acp/v1-session.d.ts +1 -1
  6. package/dist/agent-executor/acp/v1-session.d.ts.map +1 -1
  7. package/dist/agent-executor/claude/classify.d.ts +1 -1
  8. package/dist/agent-executor/claude/classify.d.ts.map +1 -1
  9. package/dist/agent-executor/claude/events-wire.d.ts +13 -0
  10. package/dist/agent-executor/claude/events-wire.d.ts.map +1 -0
  11. package/dist/agent-executor/claude/events.d.ts +1 -11
  12. package/dist/agent-executor/claude/events.d.ts.map +1 -1
  13. package/dist/agent-executor/codex/protocol.d.ts +0 -143
  14. package/dist/agent-executor/codex/protocol.d.ts.map +1 -1
  15. package/dist/agent-executor/codex/request-answers.d.ts +1 -1
  16. package/dist/agent-executor/codex/request-answers.d.ts.map +1 -1
  17. package/dist/agent-executor/codex/server-requests.d.ts +150 -0
  18. package/dist/agent-executor/codex/server-requests.d.ts.map +1 -0
  19. package/dist/agent-executor/executor-contract.d.ts.map +1 -1
  20. package/dist/agent-executor/image-input.d.ts +10 -3
  21. package/dist/agent-executor/image-input.d.ts.map +1 -1
  22. package/dist/agent-executor/testing/replay-scenarios.d.ts.map +1 -1
  23. package/dist/agent-executor/testing/replay-transcript.d.ts.map +1 -1
  24. package/dist/agent-executor/vocabulary.d.ts +80 -0
  25. package/dist/agent-executor/vocabulary.d.ts.map +1 -1
  26. package/dist/agent-parts/model.d.ts +94 -0
  27. package/dist/agent-parts/model.d.ts.map +1 -1
  28. package/dist/agent-parts/parts.d.ts +176 -0
  29. package/dist/agent-parts/parts.d.ts.map +1 -1
  30. package/dist/agent-runtime/browser/browser-control-contract.d.ts +444 -0
  31. package/dist/agent-runtime/browser/browser-control-contract.d.ts.map +1 -1
  32. package/dist/agent-runtime/browser/control-schema.d.ts +532 -0
  33. package/dist/agent-runtime/browser/control-schema.d.ts.map +1 -1
  34. package/dist/agent-runtime/browser/control-view.d.ts.map +1 -1
  35. package/dist/agent-runtime/event-schema.d.ts +720 -3
  36. package/dist/agent-runtime/event-schema.d.ts.map +1 -1
  37. package/dist/agent-runtime/history/run-history-parts.d.ts.map +1 -1
  38. package/dist/agent-runtime/loop/deferred-tools.d.ts.map +1 -1
  39. package/dist/agent-runtime/loop/invocation-payload.d.ts.map +1 -1
  40. package/dist/agent-runtime/loop/invocation-stream.d.ts +9 -1
  41. package/dist/agent-runtime/loop/invocation-stream.d.ts.map +1 -1
  42. package/dist/agent-runtime/loop/provider-stream-parts.d.ts +6 -0
  43. package/dist/agent-runtime/loop/provider-stream-parts.d.ts.map +1 -1
  44. package/dist/agent-runtime/loop/provider-stream-segments.d.ts +1 -3
  45. package/dist/agent-runtime/loop/provider-stream-segments.d.ts.map +1 -1
  46. package/dist/agent-runtime/loop/run-acquisition.d.ts.map +1 -1
  47. package/dist/agent-runtime/loop/run-approval-signature.d.ts +38 -0
  48. package/dist/agent-runtime/loop/run-approval-signature.d.ts.map +1 -0
  49. package/dist/agent-runtime/loop/run-approval.d.ts +0 -28
  50. package/dist/agent-runtime/loop/run-approval.d.ts.map +1 -1
  51. package/dist/agent-runtime/loop/run-complete-port.d.ts +24 -0
  52. package/dist/agent-runtime/loop/run-complete-port.d.ts.map +1 -0
  53. package/dist/agent-runtime/loop/run-complete-stream.d.ts +7 -2
  54. package/dist/agent-runtime/loop/run-complete-stream.d.ts.map +1 -1
  55. package/dist/agent-runtime/loop/run-complete-types.d.ts +14 -1
  56. package/dist/agent-runtime/loop/run-complete-types.d.ts.map +1 -1
  57. package/dist/agent-runtime/loop/run-complete.d.ts +2 -2
  58. package/dist/agent-runtime/loop/run-complete.d.ts.map +1 -1
  59. package/dist/agent-runtime/loop/run-execution-state.d.ts +8 -0
  60. package/dist/agent-runtime/loop/run-execution-state.d.ts.map +1 -1
  61. package/dist/agent-runtime/loop/run-loop-events.d.ts +6 -1
  62. package/dist/agent-runtime/loop/run-loop-events.d.ts.map +1 -1
  63. package/dist/agent-runtime/loop/run-model-call.d.ts +44 -0
  64. package/dist/agent-runtime/loop/run-model-call.d.ts.map +1 -0
  65. package/dist/agent-runtime/loop/run-model-step.d.ts +25 -28
  66. package/dist/agent-runtime/loop/run-model-step.d.ts.map +1 -1
  67. package/dist/agent-runtime/loop/run-model-steps.d.ts +6 -0
  68. package/dist/agent-runtime/loop/run-model-steps.d.ts.map +1 -0
  69. package/dist/agent-runtime/loop/run-model-stream.d.ts +3 -1
  70. package/dist/agent-runtime/loop/run-model-stream.d.ts.map +1 -1
  71. package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts +0 -2
  72. package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts.map +1 -1
  73. package/dist/agent-runtime/loop/run-step-loop.d.ts +19 -0
  74. package/dist/agent-runtime/loop/run-step-loop.d.ts.map +1 -0
  75. package/dist/agent-runtime/loop/run-step-port.d.ts +175 -0
  76. package/dist/agent-runtime/loop/run-step-port.d.ts.map +1 -0
  77. package/dist/agent-runtime/loop/run-stream-parts.d.ts.map +1 -1
  78. package/dist/agent-runtime/loop/run-stream-recorded.d.ts.map +1 -1
  79. package/dist/agent-runtime/loop/run-stream-step-text.d.ts.map +1 -1
  80. package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts +2 -1
  81. package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts.map +1 -1
  82. package/dist/agent-runtime/loop/run-tool-call-input.d.ts +39 -0
  83. package/dist/agent-runtime/loop/run-tool-call-input.d.ts.map +1 -0
  84. package/dist/agent-runtime/loop/run-tool-call.d.ts +13 -34
  85. package/dist/agent-runtime/loop/run-tool-call.d.ts.map +1 -1
  86. package/dist/agent-runtime/loop/run-tool-errors.d.ts +5 -0
  87. package/dist/agent-runtime/loop/run-tool-errors.d.ts.map +1 -1
  88. package/dist/agent-runtime/loop/run-tool-executor.d.ts +1 -1
  89. package/dist/agent-runtime/loop/run-tool-executor.d.ts.map +1 -1
  90. package/dist/agent-runtime/loop/run-tool-slots.d.ts +2 -1
  91. package/dist/agent-runtime/loop/run-tool-slots.d.ts.map +1 -1
  92. package/dist/agent-runtime/loop/runtime-state.d.ts.map +1 -1
  93. package/dist/agent-runtime/loop/runtime.d.ts +0 -5
  94. package/dist/agent-runtime/loop/runtime.d.ts.map +1 -1
  95. package/dist/agent-runtime/providers/ai-sdk-convert.d.ts +1 -5
  96. package/dist/agent-runtime/providers/ai-sdk-convert.d.ts.map +1 -1
  97. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts +15 -0
  98. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts.map +1 -0
  99. package/dist/agent-runtime/providers/ai-sdk-tools.d.ts +11 -0
  100. package/dist/agent-runtime/providers/ai-sdk-tools.d.ts.map +1 -0
  101. package/dist/agent-runtime/providers/ai-sdk.d.ts +1 -9
  102. package/dist/agent-runtime/providers/ai-sdk.d.ts.map +1 -1
  103. package/dist/agent-runtime/providers/anthropic-sse.d.ts.map +1 -1
  104. package/dist/agent-runtime/providers/openrouter-admission.d.ts.map +1 -1
  105. package/dist/agent-runtime/providers/openrouter-audio.d.ts +123 -81
  106. package/dist/agent-runtime/providers/openrouter-audio.d.ts.map +1 -1
  107. package/dist/agent-runtime/providers/openrouter-catalog-cache.d.ts.map +1 -1
  108. package/dist/agent-runtime/providers/openrouter-catalog-query.d.ts.map +1 -1
  109. package/dist/agent-runtime/providers/openrouter-catalog.d.ts +2 -2
  110. package/dist/agent-runtime/providers/openrouter-catalog.d.ts.map +1 -1
  111. package/dist/agent-runtime/providers/openrouter-client.d.ts +37 -0
  112. package/dist/agent-runtime/providers/openrouter-client.d.ts.map +1 -0
  113. package/dist/agent-runtime/providers/openrouter-http.d.ts +26 -6
  114. package/dist/agent-runtime/providers/openrouter-http.d.ts.map +1 -1
  115. package/dist/agent-runtime/providers/openrouter-media.d.ts +91 -77
  116. package/dist/agent-runtime/providers/openrouter-media.d.ts.map +1 -1
  117. package/dist/agent-runtime/providers/openrouter-models.d.ts +2 -23
  118. package/dist/agent-runtime/providers/openrouter-models.d.ts.map +1 -1
  119. package/dist/agent-runtime/providers/openrouter-options.d.ts +2 -0
  120. package/dist/agent-runtime/providers/openrouter-options.d.ts.map +1 -1
  121. package/dist/agent-runtime/providers/openrouter-request.d.ts +23 -0
  122. package/dist/agent-runtime/providers/openrouter-request.d.ts.map +1 -0
  123. package/dist/agent-runtime/providers/openrouter-retrieval.d.ts +86 -55
  124. package/dist/agent-runtime/providers/openrouter-retrieval.d.ts.map +1 -1
  125. package/dist/agent-runtime/providers/openrouter-speech.d.ts +90 -0
  126. package/dist/agent-runtime/providers/openrouter-speech.d.ts.map +1 -0
  127. package/dist/agent-runtime/providers/openrouter-spend.d.ts +2 -2
  128. package/dist/agent-runtime/providers/openrouter-spend.d.ts.map +1 -1
  129. package/dist/agent-runtime/providers/openrouter-stream.d.ts.map +1 -1
  130. package/dist/agent-runtime/providers/openrouter-systemone.d.ts +87 -32
  131. package/dist/agent-runtime/providers/openrouter-systemone.d.ts.map +1 -1
  132. package/dist/agent-runtime/providers/openrouter-url.d.ts +7 -1
  133. package/dist/agent-runtime/providers/openrouter-url.d.ts.map +1 -1
  134. package/dist/agent-runtime/providers/openrouter-wire.d.ts +45 -0
  135. package/dist/agent-runtime/providers/openrouter-wire.d.ts.map +1 -0
  136. package/dist/agent-runtime/providers/openrouter.d.ts +1 -3
  137. package/dist/agent-runtime/providers/openrouter.d.ts.map +1 -1
  138. package/dist/agent-runtime/providers/provider-http.d.ts +14 -2
  139. package/dist/agent-runtime/providers/provider-http.d.ts.map +1 -1
  140. package/dist/agent-runtime/providers/provider-json-schema-strip.d.ts.map +1 -1
  141. package/dist/agent-runtime/providers/provider-json-schema.d.ts.map +1 -1
  142. package/dist/agent-runtime/providers/provider-openai-chat-sse.d.ts.map +1 -1
  143. package/dist/agent-runtime/providers/provider-openai-chat-state.d.ts +42 -0
  144. package/dist/agent-runtime/providers/provider-openai-chat-state.d.ts.map +1 -0
  145. package/dist/agent-runtime/providers/provider-usage.d.ts +9 -0
  146. package/dist/agent-runtime/providers/provider-usage.d.ts.map +1 -1
  147. package/dist/agent-runtime/runtime-internals.d.ts +1 -3
  148. package/dist/agent-runtime/runtime-internals.d.ts.map +1 -1
  149. package/dist/agent-runtime/sandbox/sandbox-bubblewrap-args.d.ts +9 -0
  150. package/dist/agent-runtime/sandbox/sandbox-bubblewrap-args.d.ts.map +1 -1
  151. package/dist/agent-runtime/sandbox/sandbox-bubblewrap.d.ts +6 -0
  152. package/dist/agent-runtime/sandbox/sandbox-bubblewrap.d.ts.map +1 -1
  153. package/dist/agent-runtime/sandbox/sandbox-contract.d.ts.map +1 -1
  154. package/dist/agent-runtime/sandbox/sandbox-process-linux.d.ts.map +1 -1
  155. package/dist/agent-runtime/sandbox/sandbox-process-spec.d.ts +5 -1
  156. package/dist/agent-runtime/sandbox/sandbox-process-spec.d.ts.map +1 -1
  157. package/dist/agent-runtime/sandbox/sandbox-process-wrapper.d.ts.map +1 -1
  158. package/dist/agent-runtime/schemas-json-projection.d.ts +29 -0
  159. package/dist/agent-runtime/schemas-json-projection.d.ts.map +1 -0
  160. package/dist/agent-runtime/schemas-message.d.ts +88 -0
  161. package/dist/agent-runtime/schemas-message.d.ts.map +1 -1
  162. package/dist/agent-runtime/schemas-run.d.ts +88 -0
  163. package/dist/agent-runtime/schemas-run.d.ts.map +1 -1
  164. package/dist/agent-runtime/stores/branch-messages.d.ts.map +1 -1
  165. package/dist/agent-runtime/stores/branch-observations.d.ts +42 -42
  166. package/dist/agent-runtime/stores/branch-replay.d.ts +264 -0
  167. package/dist/agent-runtime/stores/branch-replay.d.ts.map +1 -1
  168. package/dist/agent-runtime/stores/conversations.d.ts +88 -0
  169. package/dist/agent-runtime/stores/conversations.d.ts.map +1 -1
  170. package/dist/agent-runtime/stores/sql-rows.d.ts +74 -10
  171. package/dist/agent-runtime/stores/sql-rows.d.ts.map +1 -1
  172. package/dist/agent-runtime/stores/store-driver-contract.d.ts +616 -0
  173. package/dist/agent-runtime/stores/store-driver-contract.d.ts.map +1 -1
  174. package/dist/agent-runtime/stores/store-events.d.ts +1056 -0
  175. package/dist/agent-runtime/stores/store-events.d.ts.map +1 -1
  176. package/dist/agent-runtime/stores/store.d.ts +1232 -0
  177. package/dist/agent-runtime/stores/store.d.ts.map +1 -1
  178. package/dist/agent-runtime/terminal-commit.d.ts +74 -10
  179. package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
  180. package/dist/agent-runtime/testing/fault-bench.d.ts +5 -1
  181. package/dist/agent-runtime/testing/fault-bench.d.ts.map +1 -1
  182. package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts +158 -30
  183. package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts.map +1 -1
  184. package/dist/agent-runtime/testing/store-conformance-support.d.ts +79 -15
  185. package/dist/agent-runtime/testing/store-conformance-support.d.ts.map +1 -1
  186. package/dist/application/diagnostic-journal-contract.d.ts.map +1 -1
  187. package/dist/application/diagnostic-journal-manager.d.ts +1 -1
  188. package/dist/application/diagnostic-journal-manager.d.ts.map +1 -1
  189. package/dist/application/notification-delivery.d.ts.map +1 -1
  190. package/dist/browser/client-executors.d.ts.map +1 -1
  191. package/dist/browser/client-url.d.ts.map +1 -1
  192. package/dist/contract/define.d.ts +3 -7
  193. package/dist/contract/define.d.ts.map +1 -1
  194. package/dist/contract/normalize.d.ts +17 -5
  195. package/dist/contract/normalize.d.ts.map +1 -1
  196. package/dist/entrypoints/agent-executor/acp.js +9 -6
  197. package/dist/entrypoints/agent-executor/claude-sdk.js +26 -25
  198. package/dist/entrypoints/agent-executor/claude.js +13 -12
  199. package/dist/entrypoints/agent-executor/codex.d.ts +2 -1
  200. package/dist/entrypoints/agent-executor/codex.d.ts.map +1 -1
  201. package/dist/entrypoints/agent-executor/codex.js +135 -40
  202. package/dist/entrypoints/agent-executor/testing/claude-sdk.js +5 -4
  203. package/dist/entrypoints/agent-executor/testing.js +23 -18
  204. package/dist/entrypoints/agent-executor.js +8 -8
  205. package/dist/entrypoints/agent-runtime/ai-sdk.d.ts +2 -1
  206. package/dist/entrypoints/agent-runtime/ai-sdk.d.ts.map +1 -1
  207. package/dist/entrypoints/agent-runtime/ai-sdk.js +34 -30
  208. package/dist/entrypoints/agent-runtime/anthropic.js +15 -12
  209. package/dist/entrypoints/agent-runtime/browser.js +13 -8
  210. package/dist/entrypoints/agent-runtime/harness.js +26 -27
  211. package/dist/entrypoints/agent-runtime/openai.js +7 -7
  212. package/dist/entrypoints/agent-runtime/openrouter.d.ts +7 -5
  213. package/dist/entrypoints/agent-runtime/openrouter.d.ts.map +1 -1
  214. package/dist/entrypoints/agent-runtime/openrouter.js +1097 -856
  215. package/dist/entrypoints/agent-runtime/postgres.js +9 -9
  216. package/dist/entrypoints/agent-runtime/realtime.js +9 -8
  217. package/dist/entrypoints/agent-runtime/sandbox.js +167 -139
  218. package/dist/entrypoints/agent-runtime/sqlite/bun.js +10 -10
  219. package/dist/entrypoints/agent-runtime/sqlite/node.js +10 -10
  220. package/dist/entrypoints/agent-runtime/testing.js +9 -9
  221. package/dist/entrypoints/agent-runtime.js +261 -375
  222. package/dist/entrypoints/application/diagnostic-journal.js +14 -10
  223. package/dist/entrypoints/application.js +18 -6
  224. package/dist/entrypoints/cli.js +36 -15
  225. package/dist/entrypoints/contract.js +12 -10
  226. package/dist/entrypoints/geo.js +1 -1
  227. package/dist/entrypoints/handler.js +5 -6
  228. package/dist/entrypoints/http.d.ts +2 -0
  229. package/dist/entrypoints/http.d.ts.map +1 -1
  230. package/dist/entrypoints/http.js +16 -4
  231. package/dist/entrypoints/index.js +26 -35
  232. package/dist/entrypoints/live.js +3 -3
  233. package/dist/entrypoints/node.js +7 -7
  234. package/dist/entrypoints/observability.js +9 -7
  235. package/dist/entrypoints/process.js +3 -3
  236. package/dist/entrypoints/remote.js +5 -5
  237. package/dist/entrypoints/server.js +29 -16
  238. package/dist/entrypoints/telegram/grammy.d.ts +1 -1
  239. package/dist/entrypoints/telegram/grammy.d.ts.map +1 -1
  240. package/dist/entrypoints/telegram/grammy.js +39 -5
  241. package/dist/entrypoints/telegram/screens.js +3 -0
  242. package/dist/entrypoints/telegram.d.ts +1 -1
  243. package/dist/entrypoints/telegram.d.ts.map +1 -1
  244. package/dist/entrypoints/telegram.js +19 -6
  245. package/dist/entrypoints/testing.js +10 -11
  246. package/dist/entrypoints/tools/agent.js +9 -10
  247. package/dist/entrypoints/tools/connections.js +27 -57
  248. package/dist/entrypoints/tools/contract.js +4 -4
  249. package/dist/entrypoints/tools/invoker.js +7 -8
  250. package/dist/entrypoints/tools/mcp.js +9 -10
  251. package/dist/entrypoints/tools/toolkit.js +11 -12
  252. package/dist/entrypoints/tools.js +24 -22
  253. package/dist/entrypoints/tracking/contract.js +1 -1
  254. package/dist/entrypoints/tracking/performance.js +1 -1
  255. package/dist/entrypoints/tracking.js +1 -1
  256. package/dist/{index-3czc3ykr.js → index-08a3qfr8.js} +1 -1
  257. package/dist/index-1psbyyhj.js +21 -0
  258. package/dist/{index-pdcbjd6a.js → index-1yky29qg.js} +6 -3
  259. package/dist/{index-b4c9dpzm.js → index-252den5a.js} +10 -11
  260. package/dist/{index-yhwx4fwk.js → index-26v8hjqm.js} +4 -4
  261. package/dist/{index-xtby8rj3.js → index-28kbdn63.js} +5 -47
  262. package/dist/{index-c24bj2r1.js → index-2wm9b9vs.js} +5 -5
  263. package/dist/{index-ht71v1ag.js → index-32ew02z1.js} +60 -45
  264. package/dist/{index-dm84tsd5.js → index-3kb8dw48.js} +1 -1
  265. package/dist/index-3tb82xr7.js +11 -0
  266. package/dist/{index-nr4fhfn4.js → index-4p2zx593.js} +2 -0
  267. package/dist/{index-grhhsrd5.js → index-4q9tmzea.js} +5 -4
  268. package/dist/{index-mcv7b2n0.js → index-63ctzjp4.js} +497 -495
  269. package/dist/{index-y0a4gt1s.js → index-65p8v81y.js} +3 -2
  270. package/dist/{index-z72vazf5.js → index-6y3eae97.js} +27 -83
  271. package/dist/{index-y0mwkgkf.js → index-8cnfgwg8.js} +1212 -1139
  272. package/dist/{index-mkmep637.js → index-9m1m92rg.js} +1 -1
  273. package/dist/{index-5awtbyns.js → index-9vj869rx.js} +1 -1
  274. package/dist/index-a1rjr381.js +114 -0
  275. package/dist/{index-6kwdfb9m.js → index-akesakvj.js} +23 -4
  276. package/dist/{index-5q0qpw3v.js → index-aqm7e864.js} +23 -8
  277. package/dist/{index-d4at0q09.js → index-b9mj31q7.js} +90 -88
  278. package/dist/{index-baba8ehy.js → index-bjrcbcn2.js} +2 -2
  279. package/dist/{index-fsw9wxk9.js → index-c9j8441q.js} +1 -103
  280. package/dist/{index-wdb5jhas.js → index-d1pdv8qc.js} +1 -1
  281. package/dist/{index-v0j22shs.js → index-d5mhgx72.js} +16 -11
  282. package/dist/{index-73wq9abg.js → index-df5xr2f9.js} +13 -59
  283. package/dist/{index-n9358ydy.js → index-dm50x3by.js} +1 -1
  284. package/dist/{index-zyyerdny.js → index-dmrx8xma.js} +3 -0
  285. package/dist/{index-78da4g74.js → index-dwq6a6sq.js} +17 -13
  286. package/dist/{index-9be3tf6r.js → index-e413q2cj.js} +49 -22
  287. package/dist/{index-57sbckhv.js → index-e4w0sfm1.js} +2 -2
  288. package/dist/{index-g4gstmp1.js → index-ednf2cxs.js} +1 -1
  289. package/dist/{index-84tp547a.js → index-edpkm3k7.js} +29 -97
  290. package/dist/{index-gs0jw0hy.js → index-efbzm2se.js} +3 -3
  291. package/dist/{index-asnd4h2k.js → index-f0dzyskg.js} +27 -4
  292. package/dist/{index-xbb8ysmq.js → index-fatke81t.js} +2 -2
  293. package/dist/{index-d3s070eh.js → index-gj4wdts6.js} +1 -1
  294. package/dist/{index-6nzzj7qr.js → index-gq35s3bm.js} +1 -1
  295. package/dist/index-gvgtmt7a.js +102 -0
  296. package/dist/{index-pd9e8rz4.js → index-gvv7y0s4.js} +1 -1
  297. package/dist/{index-m2b49tvc.js → index-h08xqfw9.js} +20 -21
  298. package/dist/{index-gk6dq9ay.js → index-ha1tv70k.js} +3 -26
  299. package/dist/{index-vebzvse6.js → index-jy907kcs.js} +24 -1
  300. package/dist/{index-q86qnzzf.js → index-k5azb3v3.js} +8 -25
  301. package/dist/{index-qcy8et93.js → index-kaq9nb7h.js} +6 -6
  302. package/dist/{index-vse7x1qt.js → index-knqye3gv.js} +1 -1
  303. package/dist/{index-tav72wz5.js → index-ks4rhtcc.js} +5 -0
  304. package/dist/{index-bvpevwt6.js → index-mtpcax6d.js} +210 -205
  305. package/dist/{index-7qza24g1.js → index-px9r6wv1.js} +1 -1
  306. package/dist/{index-x6sp5vpa.js → index-q4tr9vnf.js} +1 -1
  307. package/dist/{index-hce3hbdg.js → index-qj0sq69b.js} +6 -2
  308. package/dist/{index-de7b0kvz.js → index-r9w7wfgn.js} +2 -2
  309. package/dist/{index-8vzh5wpv.js → index-rw1caff2.js} +14 -26
  310. package/dist/index-s8af9jqw.js +6 -0
  311. package/dist/{index-bgj9hbm3.js → index-sdppfbrh.js} +30 -16
  312. package/dist/{index-aacwkve4.js → index-sjq4akrx.js} +3 -5
  313. package/dist/{index-fec05c9k.js → index-ta0e2daw.js} +9 -7
  314. package/dist/{index-5dxgx3yj.js → index-tcv71frn.js} +1 -1
  315. package/dist/{index-1zy31r3b.js → index-v92djygb.js} +1 -1
  316. package/dist/{index-c0yym4a0.js → index-w7e402wx.js} +11 -105
  317. package/dist/{index-9f60gnfn.js → index-xaa3603f.js} +4 -11
  318. package/dist/index-xrbrvn15.js +147 -0
  319. package/dist/{index-ac3rfec5.js → index-y6wzzk2e.js} +21 -1
  320. package/dist/{index-3d2c45jn.js → index-yjx5jna7.js} +2 -2
  321. package/dist/{index-j3r7r1mh.js → index-yv7d6tav.js} +1 -1
  322. package/dist/{index-wsv11dhg.js → index-zagc12j1.js} +5 -5
  323. package/dist/{index-npfdymav.js → index-zqc64g69.js} +3 -3
  324. package/dist/{index-rkphknhx.js → index-zthekmrt.js} +2 -2
  325. package/dist/internal/json-stringify.d.ts +37 -0
  326. package/dist/internal/json-stringify.d.ts.map +1 -0
  327. package/dist/internal/loopback-host.d.ts +8 -0
  328. package/dist/internal/loopback-host.d.ts.map +1 -0
  329. package/dist/internal/own-member.d.ts +7 -0
  330. package/dist/internal/own-member.d.ts.map +1 -0
  331. package/dist/internal/request.d.ts +17 -8
  332. package/dist/internal/request.d.ts.map +1 -1
  333. package/dist/internal/secret-shapes.d.ts +33 -4
  334. package/dist/internal/secret-shapes.d.ts.map +1 -1
  335. package/dist/json-schema/dialect.d.ts.map +1 -1
  336. package/dist/json-schema/keywords.d.ts +25 -6
  337. package/dist/json-schema/keywords.d.ts.map +1 -1
  338. package/dist/json-schema/string-format.d.ts.map +1 -1
  339. package/dist/live/events.d.ts.map +1 -1
  340. package/dist/live/watch-client.d.ts.map +1 -1
  341. package/dist/live/watch-delta.d.ts.map +1 -1
  342. package/dist/observability/context.d.ts +4 -3
  343. package/dist/observability/context.d.ts.map +1 -1
  344. package/dist/observability/sanitize.d.ts.map +1 -1
  345. package/dist/observability/secret-values.d.ts +0 -9
  346. package/dist/observability/secret-values.d.ts.map +1 -1
  347. package/dist/server/context.d.ts +3 -2
  348. package/dist/server/context.d.ts.map +1 -1
  349. package/dist/server/error-hook.d.ts +4 -3
  350. package/dist/server/error-hook.d.ts.map +1 -1
  351. package/dist/server/event-bus.d.ts.map +1 -1
  352. package/dist/server/file.d.ts +11 -3
  353. package/dist/server/file.d.ts.map +1 -1
  354. package/dist/server/handler-state.d.ts +2 -2
  355. package/dist/server/handler-state.d.ts.map +1 -1
  356. package/dist/server/middleware/jwt.d.ts +12 -1
  357. package/dist/server/middleware/jwt.d.ts.map +1 -1
  358. package/dist/server/middleware/trust-fence.d.ts +4 -0
  359. package/dist/server/middleware/trust-fence.d.ts.map +1 -1
  360. package/dist/server/multipart.d.ts +2 -3
  361. package/dist/server/multipart.d.ts.map +1 -1
  362. package/dist/server/raw.d.ts.map +1 -1
  363. package/dist/server/request-body.d.ts +12 -1
  364. package/dist/server/request-body.d.ts.map +1 -1
  365. package/dist/server/request-completion.d.ts.map +1 -1
  366. package/dist/server/types.d.ts +14 -9
  367. package/dist/server/types.d.ts.map +1 -1
  368. package/dist/telegram/crypto.d.ts.map +1 -1
  369. package/dist/telegram/init-data.d.ts +4 -4
  370. package/dist/telegram/init-data.d.ts.map +1 -1
  371. package/dist/telegram/outbound-cost.d.ts.map +1 -1
  372. package/dist/telegram/screens/test-chat.d.ts.map +1 -1
  373. package/dist/telegram/widget-api.d.ts +85 -13
  374. package/dist/telegram/widget-api.d.ts.map +1 -1
  375. package/dist/telegram/widget.d.ts +46 -2
  376. package/dist/telegram/widget.d.ts.map +1 -1
  377. package/dist/tools/cli/args-classify.d.ts +4 -74
  378. package/dist/tools/cli/args-classify.d.ts.map +1 -1
  379. package/dist/tools/cli/args-framework.d.ts +79 -0
  380. package/dist/tools/cli/args-framework.d.ts.map +1 -0
  381. package/dist/tools/cli/args-scan.d.ts.map +1 -1
  382. package/dist/tools/cli/args-tokens.d.ts.map +1 -1
  383. package/dist/tools/cli/checkpoint.d.ts +5 -0
  384. package/dist/tools/cli/checkpoint.d.ts.map +1 -1
  385. package/dist/tools/cli/stream.d.ts.map +1 -1
  386. package/dist/tools/connections/foreign-schema-join.d.ts.map +1 -1
  387. package/dist/tools/connections/openapi.d.ts.map +1 -1
  388. package/dist/tools/connections/runtime.d.ts.map +1 -1
  389. package/dist/tools/execute-handler.d.ts +24 -0
  390. package/dist/tools/execute-handler.d.ts.map +1 -0
  391. package/dist/tools/execute.d.ts.map +1 -1
  392. package/dist/tools/mcp/round.d.ts.map +1 -1
  393. package/dist/tools/schema/coerce.d.ts.map +1 -1
  394. package/dist/tools/schema/flatten.d.ts.map +1 -1
  395. package/dist/tools/schema/inline-references.d.ts.map +1 -1
  396. package/dist/tools/schema/nesting-limit.d.ts.map +1 -1
  397. package/dist/tools/schema/presentation.d.ts.map +1 -1
  398. package/dist/tracking/privacy.d.ts.map +1 -1
  399. package/llms/agent-runtime-openrouter.txt +10 -9
  400. package/llms/agent-runtime-sandbox.txt +50 -11
  401. package/llms/agent-runtime-testing.txt +1 -1
  402. package/llms/agent-runtime.2.txt +9 -6
  403. package/llms/agent-runtime.3.txt +2 -2
  404. package/llms/agent-runtime.4.txt +11 -5
  405. package/llms/agent-runtime.5.txt +2 -2
  406. package/llms/agent-runtime.txt +297 -36
  407. package/llms/application.2.txt +6 -3
  408. package/llms/application.3.txt +2 -1
  409. package/llms/application.txt +7 -2
  410. package/llms/http.txt +1 -1
  411. package/llms/live.txt +3 -1
  412. package/llms/observability.txt +16 -9
  413. package/llms/server.2.txt +13 -8
  414. package/llms/server.4.txt +23 -11
  415. package/llms/server.5.txt +5 -5
  416. package/llms/server.txt +54 -1
  417. package/llms/spend.txt +1 -0
  418. package/llms/stitchkit.2.txt +4 -2
  419. package/llms/stitchkit.txt +113 -93
  420. package/llms/telegram-grammy.txt +3 -2
  421. package/llms/telegram.2.txt +3 -1
  422. package/llms/telegram.txt +35 -10
  423. package/llms/upgrading-0.128.0-0.129.0.txt +175 -0
  424. package/llms/{upgrading-0.128.0-0.135.0.txt → upgrading-0.130.0-0.136.0.txt} +353 -169
  425. package/llms/upgrading.txt +2 -1
  426. package/llms-full.txt +1021 -223
  427. package/llms.txt +14 -13
  428. package/package.json +6 -6
  429. package/dist/agent-runtime/loop/deferred-tools-internal.d.ts +0 -19
  430. package/dist/agent-runtime/loop/deferred-tools-internal.d.ts.map +0 -1
  431. package/dist/agent-runtime/loop/run-complete-retry.d.ts +0 -24
  432. package/dist/agent-runtime/loop/run-complete-retry.d.ts.map +0 -1
  433. package/dist/agent-runtime/loop/run-model-attempts.d.ts +0 -6
  434. package/dist/agent-runtime/loop/run-model-attempts.d.ts.map +0 -1
  435. package/dist/index-sznqf8fx.js +0 -20
  436. /package/dist/{index-fthw8dwa.js → index-4gbybjg6.js} +0 -0
@@ -71,6 +71,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
71
71
  success: "success";
72
72
  }>;
73
73
  output: z.ZodOptional<z.ZodJSONSchema>;
74
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
75
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
76
+ cacheControl: z.ZodOptional<z.ZodObject<{
77
+ type: z.ZodLiteral<"ephemeral">;
78
+ ttl: z.ZodOptional<z.ZodEnum<{
79
+ "1h": "1h";
80
+ "5m": "5m";
81
+ }>>;
82
+ }, z.core.$strict>>;
83
+ type: z.ZodLiteral<"text">;
84
+ value: z.ZodString;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
87
+ cacheControl: z.ZodOptional<z.ZodObject<{
88
+ type: z.ZodLiteral<"ephemeral">;
89
+ ttl: z.ZodOptional<z.ZodEnum<{
90
+ "1h": "1h";
91
+ "5m": "5m";
92
+ }>>;
93
+ }, z.core.$strict>>;
94
+ type: z.ZodLiteral<"error-text">;
95
+ value: z.ZodString;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
98
+ cacheControl: z.ZodOptional<z.ZodObject<{
99
+ type: z.ZodLiteral<"ephemeral">;
100
+ ttl: z.ZodOptional<z.ZodEnum<{
101
+ "1h": "1h";
102
+ "5m": "5m";
103
+ }>>;
104
+ }, z.core.$strict>>;
105
+ type: z.ZodLiteral<"json">;
106
+ value: z.ZodJSONSchema;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
109
+ cacheControl: z.ZodOptional<z.ZodObject<{
110
+ type: z.ZodLiteral<"ephemeral">;
111
+ ttl: z.ZodOptional<z.ZodEnum<{
112
+ "1h": "1h";
113
+ "5m": "5m";
114
+ }>>;
115
+ }, z.core.$strict>>;
116
+ type: z.ZodLiteral<"error-json">;
117
+ value: z.ZodJSONSchema;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
120
+ cacheControl: z.ZodOptional<z.ZodObject<{
121
+ type: z.ZodLiteral<"ephemeral">;
122
+ ttl: z.ZodOptional<z.ZodEnum<{
123
+ "1h": "1h";
124
+ "5m": "5m";
125
+ }>>;
126
+ }, z.core.$strict>>;
127
+ type: z.ZodLiteral<"execution-denied">;
128
+ reason: z.ZodOptional<z.ZodString>;
129
+ }, z.core.$strip>, z.ZodObject<{
130
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
131
+ cacheControl: z.ZodOptional<z.ZodObject<{
132
+ type: z.ZodLiteral<"ephemeral">;
133
+ ttl: z.ZodOptional<z.ZodEnum<{
134
+ "1h": "1h";
135
+ "5m": "5m";
136
+ }>>;
137
+ }, z.core.$strict>>;
138
+ type: z.ZodLiteral<"content">;
139
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
140
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
141
+ cacheControl: z.ZodOptional<z.ZodObject<{
142
+ type: z.ZodLiteral<"ephemeral">;
143
+ ttl: z.ZodOptional<z.ZodEnum<{
144
+ "1h": "1h";
145
+ "5m": "5m";
146
+ }>>;
147
+ }, z.core.$strict>>;
148
+ type: z.ZodLiteral<"text">;
149
+ text: z.ZodString;
150
+ }, z.core.$strip>, z.ZodObject<{
151
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
152
+ cacheControl: z.ZodOptional<z.ZodObject<{
153
+ type: z.ZodLiteral<"ephemeral">;
154
+ ttl: z.ZodOptional<z.ZodEnum<{
155
+ "1h": "1h";
156
+ "5m": "5m";
157
+ }>>;
158
+ }, z.core.$strict>>;
159
+ type: z.ZodLiteral<"custom">;
160
+ }, z.core.$strip>], "type">>;
161
+ }, z.core.$strip>], "type">>;
74
162
  provider: z.ZodOptional<z.ZodObject<{
75
163
  schemaVersion: z.ZodInt;
76
164
  provider: z.ZodString;
@@ -310,6 +398,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
310
398
  success: "success";
311
399
  }>;
312
400
  output: z.ZodOptional<z.ZodJSONSchema>;
401
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
402
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
403
+ cacheControl: z.ZodOptional<z.ZodObject<{
404
+ type: z.ZodLiteral<"ephemeral">;
405
+ ttl: z.ZodOptional<z.ZodEnum<{
406
+ "1h": "1h";
407
+ "5m": "5m";
408
+ }>>;
409
+ }, z.core.$strict>>;
410
+ type: z.ZodLiteral<"text">;
411
+ value: z.ZodString;
412
+ }, z.core.$strip>, z.ZodObject<{
413
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
414
+ cacheControl: z.ZodOptional<z.ZodObject<{
415
+ type: z.ZodLiteral<"ephemeral">;
416
+ ttl: z.ZodOptional<z.ZodEnum<{
417
+ "1h": "1h";
418
+ "5m": "5m";
419
+ }>>;
420
+ }, z.core.$strict>>;
421
+ type: z.ZodLiteral<"error-text">;
422
+ value: z.ZodString;
423
+ }, z.core.$strip>, z.ZodObject<{
424
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
425
+ cacheControl: z.ZodOptional<z.ZodObject<{
426
+ type: z.ZodLiteral<"ephemeral">;
427
+ ttl: z.ZodOptional<z.ZodEnum<{
428
+ "1h": "1h";
429
+ "5m": "5m";
430
+ }>>;
431
+ }, z.core.$strict>>;
432
+ type: z.ZodLiteral<"json">;
433
+ value: z.ZodJSONSchema;
434
+ }, z.core.$strip>, z.ZodObject<{
435
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
436
+ cacheControl: z.ZodOptional<z.ZodObject<{
437
+ type: z.ZodLiteral<"ephemeral">;
438
+ ttl: z.ZodOptional<z.ZodEnum<{
439
+ "1h": "1h";
440
+ "5m": "5m";
441
+ }>>;
442
+ }, z.core.$strict>>;
443
+ type: z.ZodLiteral<"error-json">;
444
+ value: z.ZodJSONSchema;
445
+ }, z.core.$strip>, z.ZodObject<{
446
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
447
+ cacheControl: z.ZodOptional<z.ZodObject<{
448
+ type: z.ZodLiteral<"ephemeral">;
449
+ ttl: z.ZodOptional<z.ZodEnum<{
450
+ "1h": "1h";
451
+ "5m": "5m";
452
+ }>>;
453
+ }, z.core.$strict>>;
454
+ type: z.ZodLiteral<"execution-denied">;
455
+ reason: z.ZodOptional<z.ZodString>;
456
+ }, z.core.$strip>, z.ZodObject<{
457
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
458
+ cacheControl: z.ZodOptional<z.ZodObject<{
459
+ type: z.ZodLiteral<"ephemeral">;
460
+ ttl: z.ZodOptional<z.ZodEnum<{
461
+ "1h": "1h";
462
+ "5m": "5m";
463
+ }>>;
464
+ }, z.core.$strict>>;
465
+ type: z.ZodLiteral<"content">;
466
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
467
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
468
+ cacheControl: z.ZodOptional<z.ZodObject<{
469
+ type: z.ZodLiteral<"ephemeral">;
470
+ ttl: z.ZodOptional<z.ZodEnum<{
471
+ "1h": "1h";
472
+ "5m": "5m";
473
+ }>>;
474
+ }, z.core.$strict>>;
475
+ type: z.ZodLiteral<"text">;
476
+ text: z.ZodString;
477
+ }, z.core.$strip>, z.ZodObject<{
478
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
479
+ cacheControl: z.ZodOptional<z.ZodObject<{
480
+ type: z.ZodLiteral<"ephemeral">;
481
+ ttl: z.ZodOptional<z.ZodEnum<{
482
+ "1h": "1h";
483
+ "5m": "5m";
484
+ }>>;
485
+ }, z.core.$strict>>;
486
+ type: z.ZodLiteral<"custom">;
487
+ }, z.core.$strip>], "type">>;
488
+ }, z.core.$strip>], "type">>;
313
489
  provider: z.ZodOptional<z.ZodObject<{
314
490
  schemaVersion: z.ZodInt;
315
491
  provider: z.ZodString;
@@ -514,6 +690,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
514
690
  success: "success";
515
691
  }>;
516
692
  output: z.ZodOptional<z.ZodJSONSchema>;
693
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
694
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
695
+ cacheControl: z.ZodOptional<z.ZodObject<{
696
+ type: z.ZodLiteral<"ephemeral">;
697
+ ttl: z.ZodOptional<z.ZodEnum<{
698
+ "1h": "1h";
699
+ "5m": "5m";
700
+ }>>;
701
+ }, z.core.$strict>>;
702
+ type: z.ZodLiteral<"text">;
703
+ value: z.ZodString;
704
+ }, z.core.$strip>, z.ZodObject<{
705
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
706
+ cacheControl: z.ZodOptional<z.ZodObject<{
707
+ type: z.ZodLiteral<"ephemeral">;
708
+ ttl: z.ZodOptional<z.ZodEnum<{
709
+ "1h": "1h";
710
+ "5m": "5m";
711
+ }>>;
712
+ }, z.core.$strict>>;
713
+ type: z.ZodLiteral<"error-text">;
714
+ value: z.ZodString;
715
+ }, z.core.$strip>, z.ZodObject<{
716
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
717
+ cacheControl: z.ZodOptional<z.ZodObject<{
718
+ type: z.ZodLiteral<"ephemeral">;
719
+ ttl: z.ZodOptional<z.ZodEnum<{
720
+ "1h": "1h";
721
+ "5m": "5m";
722
+ }>>;
723
+ }, z.core.$strict>>;
724
+ type: z.ZodLiteral<"json">;
725
+ value: z.ZodJSONSchema;
726
+ }, z.core.$strip>, z.ZodObject<{
727
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
728
+ cacheControl: z.ZodOptional<z.ZodObject<{
729
+ type: z.ZodLiteral<"ephemeral">;
730
+ ttl: z.ZodOptional<z.ZodEnum<{
731
+ "1h": "1h";
732
+ "5m": "5m";
733
+ }>>;
734
+ }, z.core.$strict>>;
735
+ type: z.ZodLiteral<"error-json">;
736
+ value: z.ZodJSONSchema;
737
+ }, z.core.$strip>, z.ZodObject<{
738
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
739
+ cacheControl: z.ZodOptional<z.ZodObject<{
740
+ type: z.ZodLiteral<"ephemeral">;
741
+ ttl: z.ZodOptional<z.ZodEnum<{
742
+ "1h": "1h";
743
+ "5m": "5m";
744
+ }>>;
745
+ }, z.core.$strict>>;
746
+ type: z.ZodLiteral<"execution-denied">;
747
+ reason: z.ZodOptional<z.ZodString>;
748
+ }, z.core.$strip>, z.ZodObject<{
749
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
750
+ cacheControl: z.ZodOptional<z.ZodObject<{
751
+ type: z.ZodLiteral<"ephemeral">;
752
+ ttl: z.ZodOptional<z.ZodEnum<{
753
+ "1h": "1h";
754
+ "5m": "5m";
755
+ }>>;
756
+ }, z.core.$strict>>;
757
+ type: z.ZodLiteral<"content">;
758
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
759
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
760
+ cacheControl: z.ZodOptional<z.ZodObject<{
761
+ type: z.ZodLiteral<"ephemeral">;
762
+ ttl: z.ZodOptional<z.ZodEnum<{
763
+ "1h": "1h";
764
+ "5m": "5m";
765
+ }>>;
766
+ }, z.core.$strict>>;
767
+ type: z.ZodLiteral<"text">;
768
+ text: z.ZodString;
769
+ }, z.core.$strip>, z.ZodObject<{
770
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
771
+ cacheControl: z.ZodOptional<z.ZodObject<{
772
+ type: z.ZodLiteral<"ephemeral">;
773
+ ttl: z.ZodOptional<z.ZodEnum<{
774
+ "1h": "1h";
775
+ "5m": "5m";
776
+ }>>;
777
+ }, z.core.$strict>>;
778
+ type: z.ZodLiteral<"custom">;
779
+ }, z.core.$strip>], "type">>;
780
+ }, z.core.$strip>], "type">>;
517
781
  provider: z.ZodOptional<z.ZodObject<{
518
782
  schemaVersion: z.ZodInt;
519
783
  provider: z.ZodString;
@@ -679,6 +943,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
679
943
  success: "success";
680
944
  }>;
681
945
  output: z.ZodOptional<z.ZodJSONSchema>;
946
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
947
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
948
+ cacheControl: z.ZodOptional<z.ZodObject<{
949
+ type: z.ZodLiteral<"ephemeral">;
950
+ ttl: z.ZodOptional<z.ZodEnum<{
951
+ "1h": "1h";
952
+ "5m": "5m";
953
+ }>>;
954
+ }, z.core.$strict>>;
955
+ type: z.ZodLiteral<"text">;
956
+ value: z.ZodString;
957
+ }, z.core.$strip>, z.ZodObject<{
958
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
959
+ cacheControl: z.ZodOptional<z.ZodObject<{
960
+ type: z.ZodLiteral<"ephemeral">;
961
+ ttl: z.ZodOptional<z.ZodEnum<{
962
+ "1h": "1h";
963
+ "5m": "5m";
964
+ }>>;
965
+ }, z.core.$strict>>;
966
+ type: z.ZodLiteral<"error-text">;
967
+ value: z.ZodString;
968
+ }, z.core.$strip>, z.ZodObject<{
969
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
970
+ cacheControl: z.ZodOptional<z.ZodObject<{
971
+ type: z.ZodLiteral<"ephemeral">;
972
+ ttl: z.ZodOptional<z.ZodEnum<{
973
+ "1h": "1h";
974
+ "5m": "5m";
975
+ }>>;
976
+ }, z.core.$strict>>;
977
+ type: z.ZodLiteral<"json">;
978
+ value: z.ZodJSONSchema;
979
+ }, z.core.$strip>, z.ZodObject<{
980
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
981
+ cacheControl: z.ZodOptional<z.ZodObject<{
982
+ type: z.ZodLiteral<"ephemeral">;
983
+ ttl: z.ZodOptional<z.ZodEnum<{
984
+ "1h": "1h";
985
+ "5m": "5m";
986
+ }>>;
987
+ }, z.core.$strict>>;
988
+ type: z.ZodLiteral<"error-json">;
989
+ value: z.ZodJSONSchema;
990
+ }, z.core.$strip>, z.ZodObject<{
991
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
992
+ cacheControl: z.ZodOptional<z.ZodObject<{
993
+ type: z.ZodLiteral<"ephemeral">;
994
+ ttl: z.ZodOptional<z.ZodEnum<{
995
+ "1h": "1h";
996
+ "5m": "5m";
997
+ }>>;
998
+ }, z.core.$strict>>;
999
+ type: z.ZodLiteral<"execution-denied">;
1000
+ reason: z.ZodOptional<z.ZodString>;
1001
+ }, z.core.$strip>, z.ZodObject<{
1002
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1003
+ cacheControl: z.ZodOptional<z.ZodObject<{
1004
+ type: z.ZodLiteral<"ephemeral">;
1005
+ ttl: z.ZodOptional<z.ZodEnum<{
1006
+ "1h": "1h";
1007
+ "5m": "5m";
1008
+ }>>;
1009
+ }, z.core.$strict>>;
1010
+ type: z.ZodLiteral<"content">;
1011
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1013
+ cacheControl: z.ZodOptional<z.ZodObject<{
1014
+ type: z.ZodLiteral<"ephemeral">;
1015
+ ttl: z.ZodOptional<z.ZodEnum<{
1016
+ "1h": "1h";
1017
+ "5m": "5m";
1018
+ }>>;
1019
+ }, z.core.$strict>>;
1020
+ type: z.ZodLiteral<"text">;
1021
+ text: z.ZodString;
1022
+ }, z.core.$strip>, z.ZodObject<{
1023
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1024
+ cacheControl: z.ZodOptional<z.ZodObject<{
1025
+ type: z.ZodLiteral<"ephemeral">;
1026
+ ttl: z.ZodOptional<z.ZodEnum<{
1027
+ "1h": "1h";
1028
+ "5m": "5m";
1029
+ }>>;
1030
+ }, z.core.$strict>>;
1031
+ type: z.ZodLiteral<"custom">;
1032
+ }, z.core.$strip>], "type">>;
1033
+ }, z.core.$strip>], "type">>;
682
1034
  provider: z.ZodOptional<z.ZodObject<{
683
1035
  schemaVersion: z.ZodInt;
684
1036
  provider: z.ZodString;
@@ -865,6 +1217,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
865
1217
  success: "success";
866
1218
  }>;
867
1219
  output: z.ZodOptional<z.ZodJSONSchema>;
1220
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1222
+ cacheControl: z.ZodOptional<z.ZodObject<{
1223
+ type: z.ZodLiteral<"ephemeral">;
1224
+ ttl: z.ZodOptional<z.ZodEnum<{
1225
+ "1h": "1h";
1226
+ "5m": "5m";
1227
+ }>>;
1228
+ }, z.core.$strict>>;
1229
+ type: z.ZodLiteral<"text">;
1230
+ value: z.ZodString;
1231
+ }, z.core.$strip>, z.ZodObject<{
1232
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1233
+ cacheControl: z.ZodOptional<z.ZodObject<{
1234
+ type: z.ZodLiteral<"ephemeral">;
1235
+ ttl: z.ZodOptional<z.ZodEnum<{
1236
+ "1h": "1h";
1237
+ "5m": "5m";
1238
+ }>>;
1239
+ }, z.core.$strict>>;
1240
+ type: z.ZodLiteral<"error-text">;
1241
+ value: z.ZodString;
1242
+ }, z.core.$strip>, z.ZodObject<{
1243
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1244
+ cacheControl: z.ZodOptional<z.ZodObject<{
1245
+ type: z.ZodLiteral<"ephemeral">;
1246
+ ttl: z.ZodOptional<z.ZodEnum<{
1247
+ "1h": "1h";
1248
+ "5m": "5m";
1249
+ }>>;
1250
+ }, z.core.$strict>>;
1251
+ type: z.ZodLiteral<"json">;
1252
+ value: z.ZodJSONSchema;
1253
+ }, z.core.$strip>, z.ZodObject<{
1254
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1255
+ cacheControl: z.ZodOptional<z.ZodObject<{
1256
+ type: z.ZodLiteral<"ephemeral">;
1257
+ ttl: z.ZodOptional<z.ZodEnum<{
1258
+ "1h": "1h";
1259
+ "5m": "5m";
1260
+ }>>;
1261
+ }, z.core.$strict>>;
1262
+ type: z.ZodLiteral<"error-json">;
1263
+ value: z.ZodJSONSchema;
1264
+ }, z.core.$strip>, z.ZodObject<{
1265
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1266
+ cacheControl: z.ZodOptional<z.ZodObject<{
1267
+ type: z.ZodLiteral<"ephemeral">;
1268
+ ttl: z.ZodOptional<z.ZodEnum<{
1269
+ "1h": "1h";
1270
+ "5m": "5m";
1271
+ }>>;
1272
+ }, z.core.$strict>>;
1273
+ type: z.ZodLiteral<"execution-denied">;
1274
+ reason: z.ZodOptional<z.ZodString>;
1275
+ }, z.core.$strip>, z.ZodObject<{
1276
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1277
+ cacheControl: z.ZodOptional<z.ZodObject<{
1278
+ type: z.ZodLiteral<"ephemeral">;
1279
+ ttl: z.ZodOptional<z.ZodEnum<{
1280
+ "1h": "1h";
1281
+ "5m": "5m";
1282
+ }>>;
1283
+ }, z.core.$strict>>;
1284
+ type: z.ZodLiteral<"content">;
1285
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1286
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1287
+ cacheControl: z.ZodOptional<z.ZodObject<{
1288
+ type: z.ZodLiteral<"ephemeral">;
1289
+ ttl: z.ZodOptional<z.ZodEnum<{
1290
+ "1h": "1h";
1291
+ "5m": "5m";
1292
+ }>>;
1293
+ }, z.core.$strict>>;
1294
+ type: z.ZodLiteral<"text">;
1295
+ text: z.ZodString;
1296
+ }, z.core.$strip>, z.ZodObject<{
1297
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1298
+ cacheControl: z.ZodOptional<z.ZodObject<{
1299
+ type: z.ZodLiteral<"ephemeral">;
1300
+ ttl: z.ZodOptional<z.ZodEnum<{
1301
+ "1h": "1h";
1302
+ "5m": "5m";
1303
+ }>>;
1304
+ }, z.core.$strict>>;
1305
+ type: z.ZodLiteral<"custom">;
1306
+ }, z.core.$strip>], "type">>;
1307
+ }, z.core.$strip>], "type">>;
868
1308
  provider: z.ZodOptional<z.ZodObject<{
869
1309
  schemaVersion: z.ZodInt;
870
1310
  provider: z.ZodString;
@@ -971,6 +1411,94 @@ export declare const AgentStoreTransitionSchema: z.ZodDiscriminatedUnion<[z.ZodO
971
1411
  success: "success";
972
1412
  }>;
973
1413
  output: z.ZodOptional<z.ZodJSONSchema>;
1414
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1415
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1416
+ cacheControl: z.ZodOptional<z.ZodObject<{
1417
+ type: z.ZodLiteral<"ephemeral">;
1418
+ ttl: z.ZodOptional<z.ZodEnum<{
1419
+ "1h": "1h";
1420
+ "5m": "5m";
1421
+ }>>;
1422
+ }, z.core.$strict>>;
1423
+ type: z.ZodLiteral<"text">;
1424
+ value: z.ZodString;
1425
+ }, z.core.$strip>, z.ZodObject<{
1426
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1427
+ cacheControl: z.ZodOptional<z.ZodObject<{
1428
+ type: z.ZodLiteral<"ephemeral">;
1429
+ ttl: z.ZodOptional<z.ZodEnum<{
1430
+ "1h": "1h";
1431
+ "5m": "5m";
1432
+ }>>;
1433
+ }, z.core.$strict>>;
1434
+ type: z.ZodLiteral<"error-text">;
1435
+ value: z.ZodString;
1436
+ }, z.core.$strip>, z.ZodObject<{
1437
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1438
+ cacheControl: z.ZodOptional<z.ZodObject<{
1439
+ type: z.ZodLiteral<"ephemeral">;
1440
+ ttl: z.ZodOptional<z.ZodEnum<{
1441
+ "1h": "1h";
1442
+ "5m": "5m";
1443
+ }>>;
1444
+ }, z.core.$strict>>;
1445
+ type: z.ZodLiteral<"json">;
1446
+ value: z.ZodJSONSchema;
1447
+ }, z.core.$strip>, z.ZodObject<{
1448
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1449
+ cacheControl: z.ZodOptional<z.ZodObject<{
1450
+ type: z.ZodLiteral<"ephemeral">;
1451
+ ttl: z.ZodOptional<z.ZodEnum<{
1452
+ "1h": "1h";
1453
+ "5m": "5m";
1454
+ }>>;
1455
+ }, z.core.$strict>>;
1456
+ type: z.ZodLiteral<"error-json">;
1457
+ value: z.ZodJSONSchema;
1458
+ }, z.core.$strip>, z.ZodObject<{
1459
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1460
+ cacheControl: z.ZodOptional<z.ZodObject<{
1461
+ type: z.ZodLiteral<"ephemeral">;
1462
+ ttl: z.ZodOptional<z.ZodEnum<{
1463
+ "1h": "1h";
1464
+ "5m": "5m";
1465
+ }>>;
1466
+ }, z.core.$strict>>;
1467
+ type: z.ZodLiteral<"execution-denied">;
1468
+ reason: z.ZodOptional<z.ZodString>;
1469
+ }, z.core.$strip>, z.ZodObject<{
1470
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1471
+ cacheControl: z.ZodOptional<z.ZodObject<{
1472
+ type: z.ZodLiteral<"ephemeral">;
1473
+ ttl: z.ZodOptional<z.ZodEnum<{
1474
+ "1h": "1h";
1475
+ "5m": "5m";
1476
+ }>>;
1477
+ }, z.core.$strict>>;
1478
+ type: z.ZodLiteral<"content">;
1479
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1480
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1481
+ cacheControl: z.ZodOptional<z.ZodObject<{
1482
+ type: z.ZodLiteral<"ephemeral">;
1483
+ ttl: z.ZodOptional<z.ZodEnum<{
1484
+ "1h": "1h";
1485
+ "5m": "5m";
1486
+ }>>;
1487
+ }, z.core.$strict>>;
1488
+ type: z.ZodLiteral<"text">;
1489
+ text: z.ZodString;
1490
+ }, z.core.$strip>, z.ZodObject<{
1491
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1492
+ cacheControl: z.ZodOptional<z.ZodObject<{
1493
+ type: z.ZodLiteral<"ephemeral">;
1494
+ ttl: z.ZodOptional<z.ZodEnum<{
1495
+ "1h": "1h";
1496
+ "5m": "5m";
1497
+ }>>;
1498
+ }, z.core.$strict>>;
1499
+ type: z.ZodLiteral<"custom">;
1500
+ }, z.core.$strip>], "type">>;
1501
+ }, z.core.$strip>], "type">>;
974
1502
  provider: z.ZodOptional<z.ZodObject<{
975
1503
  schemaVersion: z.ZodInt;
976
1504
  provider: z.ZodString;
@@ -1159,6 +1687,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
1159
1687
  success: "success";
1160
1688
  }>;
1161
1689
  output: z.ZodOptional<z.ZodJSONSchema>;
1690
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1691
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1692
+ cacheControl: z.ZodOptional<z.ZodObject<{
1693
+ type: z.ZodLiteral<"ephemeral">;
1694
+ ttl: z.ZodOptional<z.ZodEnum<{
1695
+ "1h": "1h";
1696
+ "5m": "5m";
1697
+ }>>;
1698
+ }, z.core.$strict>>;
1699
+ type: z.ZodLiteral<"text">;
1700
+ value: z.ZodString;
1701
+ }, z.core.$strip>, z.ZodObject<{
1702
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1703
+ cacheControl: z.ZodOptional<z.ZodObject<{
1704
+ type: z.ZodLiteral<"ephemeral">;
1705
+ ttl: z.ZodOptional<z.ZodEnum<{
1706
+ "1h": "1h";
1707
+ "5m": "5m";
1708
+ }>>;
1709
+ }, z.core.$strict>>;
1710
+ type: z.ZodLiteral<"error-text">;
1711
+ value: z.ZodString;
1712
+ }, z.core.$strip>, z.ZodObject<{
1713
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1714
+ cacheControl: z.ZodOptional<z.ZodObject<{
1715
+ type: z.ZodLiteral<"ephemeral">;
1716
+ ttl: z.ZodOptional<z.ZodEnum<{
1717
+ "1h": "1h";
1718
+ "5m": "5m";
1719
+ }>>;
1720
+ }, z.core.$strict>>;
1721
+ type: z.ZodLiteral<"json">;
1722
+ value: z.ZodJSONSchema;
1723
+ }, z.core.$strip>, z.ZodObject<{
1724
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1725
+ cacheControl: z.ZodOptional<z.ZodObject<{
1726
+ type: z.ZodLiteral<"ephemeral">;
1727
+ ttl: z.ZodOptional<z.ZodEnum<{
1728
+ "1h": "1h";
1729
+ "5m": "5m";
1730
+ }>>;
1731
+ }, z.core.$strict>>;
1732
+ type: z.ZodLiteral<"error-json">;
1733
+ value: z.ZodJSONSchema;
1734
+ }, z.core.$strip>, z.ZodObject<{
1735
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1736
+ cacheControl: z.ZodOptional<z.ZodObject<{
1737
+ type: z.ZodLiteral<"ephemeral">;
1738
+ ttl: z.ZodOptional<z.ZodEnum<{
1739
+ "1h": "1h";
1740
+ "5m": "5m";
1741
+ }>>;
1742
+ }, z.core.$strict>>;
1743
+ type: z.ZodLiteral<"execution-denied">;
1744
+ reason: z.ZodOptional<z.ZodString>;
1745
+ }, z.core.$strip>, z.ZodObject<{
1746
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1747
+ cacheControl: z.ZodOptional<z.ZodObject<{
1748
+ type: z.ZodLiteral<"ephemeral">;
1749
+ ttl: z.ZodOptional<z.ZodEnum<{
1750
+ "1h": "1h";
1751
+ "5m": "5m";
1752
+ }>>;
1753
+ }, z.core.$strict>>;
1754
+ type: z.ZodLiteral<"content">;
1755
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1756
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1757
+ cacheControl: z.ZodOptional<z.ZodObject<{
1758
+ type: z.ZodLiteral<"ephemeral">;
1759
+ ttl: z.ZodOptional<z.ZodEnum<{
1760
+ "1h": "1h";
1761
+ "5m": "5m";
1762
+ }>>;
1763
+ }, z.core.$strict>>;
1764
+ type: z.ZodLiteral<"text">;
1765
+ text: z.ZodString;
1766
+ }, z.core.$strip>, z.ZodObject<{
1767
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1768
+ cacheControl: z.ZodOptional<z.ZodObject<{
1769
+ type: z.ZodLiteral<"ephemeral">;
1770
+ ttl: z.ZodOptional<z.ZodEnum<{
1771
+ "1h": "1h";
1772
+ "5m": "5m";
1773
+ }>>;
1774
+ }, z.core.$strict>>;
1775
+ type: z.ZodLiteral<"custom">;
1776
+ }, z.core.$strip>], "type">>;
1777
+ }, z.core.$strip>], "type">>;
1162
1778
  provider: z.ZodOptional<z.ZodObject<{
1163
1779
  schemaVersion: z.ZodInt;
1164
1780
  provider: z.ZodString;
@@ -1398,6 +2014,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
1398
2014
  success: "success";
1399
2015
  }>;
1400
2016
  output: z.ZodOptional<z.ZodJSONSchema>;
2017
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2018
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2019
+ cacheControl: z.ZodOptional<z.ZodObject<{
2020
+ type: z.ZodLiteral<"ephemeral">;
2021
+ ttl: z.ZodOptional<z.ZodEnum<{
2022
+ "1h": "1h";
2023
+ "5m": "5m";
2024
+ }>>;
2025
+ }, z.core.$strict>>;
2026
+ type: z.ZodLiteral<"text">;
2027
+ value: z.ZodString;
2028
+ }, z.core.$strip>, z.ZodObject<{
2029
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2030
+ cacheControl: z.ZodOptional<z.ZodObject<{
2031
+ type: z.ZodLiteral<"ephemeral">;
2032
+ ttl: z.ZodOptional<z.ZodEnum<{
2033
+ "1h": "1h";
2034
+ "5m": "5m";
2035
+ }>>;
2036
+ }, z.core.$strict>>;
2037
+ type: z.ZodLiteral<"error-text">;
2038
+ value: z.ZodString;
2039
+ }, z.core.$strip>, z.ZodObject<{
2040
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2041
+ cacheControl: z.ZodOptional<z.ZodObject<{
2042
+ type: z.ZodLiteral<"ephemeral">;
2043
+ ttl: z.ZodOptional<z.ZodEnum<{
2044
+ "1h": "1h";
2045
+ "5m": "5m";
2046
+ }>>;
2047
+ }, z.core.$strict>>;
2048
+ type: z.ZodLiteral<"json">;
2049
+ value: z.ZodJSONSchema;
2050
+ }, z.core.$strip>, z.ZodObject<{
2051
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2052
+ cacheControl: z.ZodOptional<z.ZodObject<{
2053
+ type: z.ZodLiteral<"ephemeral">;
2054
+ ttl: z.ZodOptional<z.ZodEnum<{
2055
+ "1h": "1h";
2056
+ "5m": "5m";
2057
+ }>>;
2058
+ }, z.core.$strict>>;
2059
+ type: z.ZodLiteral<"error-json">;
2060
+ value: z.ZodJSONSchema;
2061
+ }, z.core.$strip>, z.ZodObject<{
2062
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2063
+ cacheControl: z.ZodOptional<z.ZodObject<{
2064
+ type: z.ZodLiteral<"ephemeral">;
2065
+ ttl: z.ZodOptional<z.ZodEnum<{
2066
+ "1h": "1h";
2067
+ "5m": "5m";
2068
+ }>>;
2069
+ }, z.core.$strict>>;
2070
+ type: z.ZodLiteral<"execution-denied">;
2071
+ reason: z.ZodOptional<z.ZodString>;
2072
+ }, z.core.$strip>, z.ZodObject<{
2073
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2074
+ cacheControl: z.ZodOptional<z.ZodObject<{
2075
+ type: z.ZodLiteral<"ephemeral">;
2076
+ ttl: z.ZodOptional<z.ZodEnum<{
2077
+ "1h": "1h";
2078
+ "5m": "5m";
2079
+ }>>;
2080
+ }, z.core.$strict>>;
2081
+ type: z.ZodLiteral<"content">;
2082
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2083
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2084
+ cacheControl: z.ZodOptional<z.ZodObject<{
2085
+ type: z.ZodLiteral<"ephemeral">;
2086
+ ttl: z.ZodOptional<z.ZodEnum<{
2087
+ "1h": "1h";
2088
+ "5m": "5m";
2089
+ }>>;
2090
+ }, z.core.$strict>>;
2091
+ type: z.ZodLiteral<"text">;
2092
+ text: z.ZodString;
2093
+ }, z.core.$strip>, z.ZodObject<{
2094
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2095
+ cacheControl: z.ZodOptional<z.ZodObject<{
2096
+ type: z.ZodLiteral<"ephemeral">;
2097
+ ttl: z.ZodOptional<z.ZodEnum<{
2098
+ "1h": "1h";
2099
+ "5m": "5m";
2100
+ }>>;
2101
+ }, z.core.$strict>>;
2102
+ type: z.ZodLiteral<"custom">;
2103
+ }, z.core.$strip>], "type">>;
2104
+ }, z.core.$strip>], "type">>;
1401
2105
  provider: z.ZodOptional<z.ZodObject<{
1402
2106
  schemaVersion: z.ZodInt;
1403
2107
  provider: z.ZodString;
@@ -1602,6 +2306,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
1602
2306
  success: "success";
1603
2307
  }>;
1604
2308
  output: z.ZodOptional<z.ZodJSONSchema>;
2309
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2310
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2311
+ cacheControl: z.ZodOptional<z.ZodObject<{
2312
+ type: z.ZodLiteral<"ephemeral">;
2313
+ ttl: z.ZodOptional<z.ZodEnum<{
2314
+ "1h": "1h";
2315
+ "5m": "5m";
2316
+ }>>;
2317
+ }, z.core.$strict>>;
2318
+ type: z.ZodLiteral<"text">;
2319
+ value: z.ZodString;
2320
+ }, z.core.$strip>, z.ZodObject<{
2321
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2322
+ cacheControl: z.ZodOptional<z.ZodObject<{
2323
+ type: z.ZodLiteral<"ephemeral">;
2324
+ ttl: z.ZodOptional<z.ZodEnum<{
2325
+ "1h": "1h";
2326
+ "5m": "5m";
2327
+ }>>;
2328
+ }, z.core.$strict>>;
2329
+ type: z.ZodLiteral<"error-text">;
2330
+ value: z.ZodString;
2331
+ }, z.core.$strip>, z.ZodObject<{
2332
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2333
+ cacheControl: z.ZodOptional<z.ZodObject<{
2334
+ type: z.ZodLiteral<"ephemeral">;
2335
+ ttl: z.ZodOptional<z.ZodEnum<{
2336
+ "1h": "1h";
2337
+ "5m": "5m";
2338
+ }>>;
2339
+ }, z.core.$strict>>;
2340
+ type: z.ZodLiteral<"json">;
2341
+ value: z.ZodJSONSchema;
2342
+ }, z.core.$strip>, z.ZodObject<{
2343
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2344
+ cacheControl: z.ZodOptional<z.ZodObject<{
2345
+ type: z.ZodLiteral<"ephemeral">;
2346
+ ttl: z.ZodOptional<z.ZodEnum<{
2347
+ "1h": "1h";
2348
+ "5m": "5m";
2349
+ }>>;
2350
+ }, z.core.$strict>>;
2351
+ type: z.ZodLiteral<"error-json">;
2352
+ value: z.ZodJSONSchema;
2353
+ }, z.core.$strip>, z.ZodObject<{
2354
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2355
+ cacheControl: z.ZodOptional<z.ZodObject<{
2356
+ type: z.ZodLiteral<"ephemeral">;
2357
+ ttl: z.ZodOptional<z.ZodEnum<{
2358
+ "1h": "1h";
2359
+ "5m": "5m";
2360
+ }>>;
2361
+ }, z.core.$strict>>;
2362
+ type: z.ZodLiteral<"execution-denied">;
2363
+ reason: z.ZodOptional<z.ZodString>;
2364
+ }, z.core.$strip>, z.ZodObject<{
2365
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2366
+ cacheControl: z.ZodOptional<z.ZodObject<{
2367
+ type: z.ZodLiteral<"ephemeral">;
2368
+ ttl: z.ZodOptional<z.ZodEnum<{
2369
+ "1h": "1h";
2370
+ "5m": "5m";
2371
+ }>>;
2372
+ }, z.core.$strict>>;
2373
+ type: z.ZodLiteral<"content">;
2374
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2375
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2376
+ cacheControl: z.ZodOptional<z.ZodObject<{
2377
+ type: z.ZodLiteral<"ephemeral">;
2378
+ ttl: z.ZodOptional<z.ZodEnum<{
2379
+ "1h": "1h";
2380
+ "5m": "5m";
2381
+ }>>;
2382
+ }, z.core.$strict>>;
2383
+ type: z.ZodLiteral<"text">;
2384
+ text: z.ZodString;
2385
+ }, z.core.$strip>, z.ZodObject<{
2386
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2387
+ cacheControl: z.ZodOptional<z.ZodObject<{
2388
+ type: z.ZodLiteral<"ephemeral">;
2389
+ ttl: z.ZodOptional<z.ZodEnum<{
2390
+ "1h": "1h";
2391
+ "5m": "5m";
2392
+ }>>;
2393
+ }, z.core.$strict>>;
2394
+ type: z.ZodLiteral<"custom">;
2395
+ }, z.core.$strip>], "type">>;
2396
+ }, z.core.$strip>], "type">>;
1605
2397
  provider: z.ZodOptional<z.ZodObject<{
1606
2398
  schemaVersion: z.ZodInt;
1607
2399
  provider: z.ZodString;
@@ -1767,6 +2559,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
1767
2559
  success: "success";
1768
2560
  }>;
1769
2561
  output: z.ZodOptional<z.ZodJSONSchema>;
2562
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2563
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2564
+ cacheControl: z.ZodOptional<z.ZodObject<{
2565
+ type: z.ZodLiteral<"ephemeral">;
2566
+ ttl: z.ZodOptional<z.ZodEnum<{
2567
+ "1h": "1h";
2568
+ "5m": "5m";
2569
+ }>>;
2570
+ }, z.core.$strict>>;
2571
+ type: z.ZodLiteral<"text">;
2572
+ value: z.ZodString;
2573
+ }, z.core.$strip>, z.ZodObject<{
2574
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2575
+ cacheControl: z.ZodOptional<z.ZodObject<{
2576
+ type: z.ZodLiteral<"ephemeral">;
2577
+ ttl: z.ZodOptional<z.ZodEnum<{
2578
+ "1h": "1h";
2579
+ "5m": "5m";
2580
+ }>>;
2581
+ }, z.core.$strict>>;
2582
+ type: z.ZodLiteral<"error-text">;
2583
+ value: z.ZodString;
2584
+ }, z.core.$strip>, z.ZodObject<{
2585
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2586
+ cacheControl: z.ZodOptional<z.ZodObject<{
2587
+ type: z.ZodLiteral<"ephemeral">;
2588
+ ttl: z.ZodOptional<z.ZodEnum<{
2589
+ "1h": "1h";
2590
+ "5m": "5m";
2591
+ }>>;
2592
+ }, z.core.$strict>>;
2593
+ type: z.ZodLiteral<"json">;
2594
+ value: z.ZodJSONSchema;
2595
+ }, z.core.$strip>, z.ZodObject<{
2596
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2597
+ cacheControl: z.ZodOptional<z.ZodObject<{
2598
+ type: z.ZodLiteral<"ephemeral">;
2599
+ ttl: z.ZodOptional<z.ZodEnum<{
2600
+ "1h": "1h";
2601
+ "5m": "5m";
2602
+ }>>;
2603
+ }, z.core.$strict>>;
2604
+ type: z.ZodLiteral<"error-json">;
2605
+ value: z.ZodJSONSchema;
2606
+ }, z.core.$strip>, z.ZodObject<{
2607
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2608
+ cacheControl: z.ZodOptional<z.ZodObject<{
2609
+ type: z.ZodLiteral<"ephemeral">;
2610
+ ttl: z.ZodOptional<z.ZodEnum<{
2611
+ "1h": "1h";
2612
+ "5m": "5m";
2613
+ }>>;
2614
+ }, z.core.$strict>>;
2615
+ type: z.ZodLiteral<"execution-denied">;
2616
+ reason: z.ZodOptional<z.ZodString>;
2617
+ }, z.core.$strip>, z.ZodObject<{
2618
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2619
+ cacheControl: z.ZodOptional<z.ZodObject<{
2620
+ type: z.ZodLiteral<"ephemeral">;
2621
+ ttl: z.ZodOptional<z.ZodEnum<{
2622
+ "1h": "1h";
2623
+ "5m": "5m";
2624
+ }>>;
2625
+ }, z.core.$strict>>;
2626
+ type: z.ZodLiteral<"content">;
2627
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2628
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2629
+ cacheControl: z.ZodOptional<z.ZodObject<{
2630
+ type: z.ZodLiteral<"ephemeral">;
2631
+ ttl: z.ZodOptional<z.ZodEnum<{
2632
+ "1h": "1h";
2633
+ "5m": "5m";
2634
+ }>>;
2635
+ }, z.core.$strict>>;
2636
+ type: z.ZodLiteral<"text">;
2637
+ text: z.ZodString;
2638
+ }, z.core.$strip>, z.ZodObject<{
2639
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2640
+ cacheControl: z.ZodOptional<z.ZodObject<{
2641
+ type: z.ZodLiteral<"ephemeral">;
2642
+ ttl: z.ZodOptional<z.ZodEnum<{
2643
+ "1h": "1h";
2644
+ "5m": "5m";
2645
+ }>>;
2646
+ }, z.core.$strict>>;
2647
+ type: z.ZodLiteral<"custom">;
2648
+ }, z.core.$strip>], "type">>;
2649
+ }, z.core.$strip>], "type">>;
1770
2650
  provider: z.ZodOptional<z.ZodObject<{
1771
2651
  schemaVersion: z.ZodInt;
1772
2652
  provider: z.ZodString;
@@ -1953,6 +2833,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
1953
2833
  success: "success";
1954
2834
  }>;
1955
2835
  output: z.ZodOptional<z.ZodJSONSchema>;
2836
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2837
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2838
+ cacheControl: z.ZodOptional<z.ZodObject<{
2839
+ type: z.ZodLiteral<"ephemeral">;
2840
+ ttl: z.ZodOptional<z.ZodEnum<{
2841
+ "1h": "1h";
2842
+ "5m": "5m";
2843
+ }>>;
2844
+ }, z.core.$strict>>;
2845
+ type: z.ZodLiteral<"text">;
2846
+ value: z.ZodString;
2847
+ }, z.core.$strip>, z.ZodObject<{
2848
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2849
+ cacheControl: z.ZodOptional<z.ZodObject<{
2850
+ type: z.ZodLiteral<"ephemeral">;
2851
+ ttl: z.ZodOptional<z.ZodEnum<{
2852
+ "1h": "1h";
2853
+ "5m": "5m";
2854
+ }>>;
2855
+ }, z.core.$strict>>;
2856
+ type: z.ZodLiteral<"error-text">;
2857
+ value: z.ZodString;
2858
+ }, z.core.$strip>, z.ZodObject<{
2859
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2860
+ cacheControl: z.ZodOptional<z.ZodObject<{
2861
+ type: z.ZodLiteral<"ephemeral">;
2862
+ ttl: z.ZodOptional<z.ZodEnum<{
2863
+ "1h": "1h";
2864
+ "5m": "5m";
2865
+ }>>;
2866
+ }, z.core.$strict>>;
2867
+ type: z.ZodLiteral<"json">;
2868
+ value: z.ZodJSONSchema;
2869
+ }, z.core.$strip>, z.ZodObject<{
2870
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2871
+ cacheControl: z.ZodOptional<z.ZodObject<{
2872
+ type: z.ZodLiteral<"ephemeral">;
2873
+ ttl: z.ZodOptional<z.ZodEnum<{
2874
+ "1h": "1h";
2875
+ "5m": "5m";
2876
+ }>>;
2877
+ }, z.core.$strict>>;
2878
+ type: z.ZodLiteral<"error-json">;
2879
+ value: z.ZodJSONSchema;
2880
+ }, z.core.$strip>, z.ZodObject<{
2881
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2882
+ cacheControl: z.ZodOptional<z.ZodObject<{
2883
+ type: z.ZodLiteral<"ephemeral">;
2884
+ ttl: z.ZodOptional<z.ZodEnum<{
2885
+ "1h": "1h";
2886
+ "5m": "5m";
2887
+ }>>;
2888
+ }, z.core.$strict>>;
2889
+ type: z.ZodLiteral<"execution-denied">;
2890
+ reason: z.ZodOptional<z.ZodString>;
2891
+ }, z.core.$strip>, z.ZodObject<{
2892
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2893
+ cacheControl: z.ZodOptional<z.ZodObject<{
2894
+ type: z.ZodLiteral<"ephemeral">;
2895
+ ttl: z.ZodOptional<z.ZodEnum<{
2896
+ "1h": "1h";
2897
+ "5m": "5m";
2898
+ }>>;
2899
+ }, z.core.$strict>>;
2900
+ type: z.ZodLiteral<"content">;
2901
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2902
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2903
+ cacheControl: z.ZodOptional<z.ZodObject<{
2904
+ type: z.ZodLiteral<"ephemeral">;
2905
+ ttl: z.ZodOptional<z.ZodEnum<{
2906
+ "1h": "1h";
2907
+ "5m": "5m";
2908
+ }>>;
2909
+ }, z.core.$strict>>;
2910
+ type: z.ZodLiteral<"text">;
2911
+ text: z.ZodString;
2912
+ }, z.core.$strip>, z.ZodObject<{
2913
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2914
+ cacheControl: z.ZodOptional<z.ZodObject<{
2915
+ type: z.ZodLiteral<"ephemeral">;
2916
+ ttl: z.ZodOptional<z.ZodEnum<{
2917
+ "1h": "1h";
2918
+ "5m": "5m";
2919
+ }>>;
2920
+ }, z.core.$strict>>;
2921
+ type: z.ZodLiteral<"custom">;
2922
+ }, z.core.$strip>], "type">>;
2923
+ }, z.core.$strip>], "type">>;
1956
2924
  provider: z.ZodOptional<z.ZodObject<{
1957
2925
  schemaVersion: z.ZodInt;
1958
2926
  provider: z.ZodString;
@@ -2059,6 +3027,94 @@ export declare const AgentStoreTransitionRecordSchema: z.ZodUnion<readonly [z.Zo
2059
3027
  success: "success";
2060
3028
  }>;
2061
3029
  output: z.ZodOptional<z.ZodJSONSchema>;
3030
+ modelOutput: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3031
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3032
+ cacheControl: z.ZodOptional<z.ZodObject<{
3033
+ type: z.ZodLiteral<"ephemeral">;
3034
+ ttl: z.ZodOptional<z.ZodEnum<{
3035
+ "1h": "1h";
3036
+ "5m": "5m";
3037
+ }>>;
3038
+ }, z.core.$strict>>;
3039
+ type: z.ZodLiteral<"text">;
3040
+ value: z.ZodString;
3041
+ }, z.core.$strip>, z.ZodObject<{
3042
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3043
+ cacheControl: z.ZodOptional<z.ZodObject<{
3044
+ type: z.ZodLiteral<"ephemeral">;
3045
+ ttl: z.ZodOptional<z.ZodEnum<{
3046
+ "1h": "1h";
3047
+ "5m": "5m";
3048
+ }>>;
3049
+ }, z.core.$strict>>;
3050
+ type: z.ZodLiteral<"error-text">;
3051
+ value: z.ZodString;
3052
+ }, z.core.$strip>, z.ZodObject<{
3053
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3054
+ cacheControl: z.ZodOptional<z.ZodObject<{
3055
+ type: z.ZodLiteral<"ephemeral">;
3056
+ ttl: z.ZodOptional<z.ZodEnum<{
3057
+ "1h": "1h";
3058
+ "5m": "5m";
3059
+ }>>;
3060
+ }, z.core.$strict>>;
3061
+ type: z.ZodLiteral<"json">;
3062
+ value: z.ZodJSONSchema;
3063
+ }, z.core.$strip>, z.ZodObject<{
3064
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3065
+ cacheControl: z.ZodOptional<z.ZodObject<{
3066
+ type: z.ZodLiteral<"ephemeral">;
3067
+ ttl: z.ZodOptional<z.ZodEnum<{
3068
+ "1h": "1h";
3069
+ "5m": "5m";
3070
+ }>>;
3071
+ }, z.core.$strict>>;
3072
+ type: z.ZodLiteral<"error-json">;
3073
+ value: z.ZodJSONSchema;
3074
+ }, z.core.$strip>, z.ZodObject<{
3075
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3076
+ cacheControl: z.ZodOptional<z.ZodObject<{
3077
+ type: z.ZodLiteral<"ephemeral">;
3078
+ ttl: z.ZodOptional<z.ZodEnum<{
3079
+ "1h": "1h";
3080
+ "5m": "5m";
3081
+ }>>;
3082
+ }, z.core.$strict>>;
3083
+ type: z.ZodLiteral<"execution-denied">;
3084
+ reason: z.ZodOptional<z.ZodString>;
3085
+ }, z.core.$strip>, z.ZodObject<{
3086
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3087
+ cacheControl: z.ZodOptional<z.ZodObject<{
3088
+ type: z.ZodLiteral<"ephemeral">;
3089
+ ttl: z.ZodOptional<z.ZodEnum<{
3090
+ "1h": "1h";
3091
+ "5m": "5m";
3092
+ }>>;
3093
+ }, z.core.$strict>>;
3094
+ type: z.ZodLiteral<"content">;
3095
+ value: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3096
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3097
+ cacheControl: z.ZodOptional<z.ZodObject<{
3098
+ type: z.ZodLiteral<"ephemeral">;
3099
+ ttl: z.ZodOptional<z.ZodEnum<{
3100
+ "1h": "1h";
3101
+ "5m": "5m";
3102
+ }>>;
3103
+ }, z.core.$strict>>;
3104
+ type: z.ZodLiteral<"text">;
3105
+ text: z.ZodString;
3106
+ }, z.core.$strip>, z.ZodObject<{
3107
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
3108
+ cacheControl: z.ZodOptional<z.ZodObject<{
3109
+ type: z.ZodLiteral<"ephemeral">;
3110
+ ttl: z.ZodOptional<z.ZodEnum<{
3111
+ "1h": "1h";
3112
+ "5m": "5m";
3113
+ }>>;
3114
+ }, z.core.$strict>>;
3115
+ type: z.ZodLiteral<"custom">;
3116
+ }, z.core.$strip>], "type">>;
3117
+ }, z.core.$strip>], "type">>;
2062
3118
  provider: z.ZodOptional<z.ZodObject<{
2063
3119
  schemaVersion: z.ZodInt;
2064
3120
  provider: z.ZodString;