stitchkit 0.135.0 → 0.136.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 (380) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/README.md +25 -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/image-input.d.ts +10 -3
  20. package/dist/agent-executor/image-input.d.ts.map +1 -1
  21. package/dist/agent-executor/testing/replay-scenarios.d.ts.map +1 -1
  22. package/dist/agent-executor/testing/replay-transcript.d.ts.map +1 -1
  23. package/dist/agent-runtime/browser/browser-control-contract.d.ts +4 -0
  24. package/dist/agent-runtime/browser/browser-control-contract.d.ts.map +1 -1
  25. package/dist/agent-runtime/browser/control-schema.d.ts +4 -0
  26. package/dist/agent-runtime/browser/control-schema.d.ts.map +1 -1
  27. package/dist/agent-runtime/browser/control-view.d.ts.map +1 -1
  28. package/dist/agent-runtime/event-schema.d.ts +16 -3
  29. package/dist/agent-runtime/event-schema.d.ts.map +1 -1
  30. package/dist/agent-runtime/loop/deferred-tools.d.ts.map +1 -1
  31. package/dist/agent-runtime/loop/invocation-payload.d.ts.map +1 -1
  32. package/dist/agent-runtime/loop/invocation-stream.d.ts +9 -1
  33. package/dist/agent-runtime/loop/invocation-stream.d.ts.map +1 -1
  34. package/dist/agent-runtime/loop/provider-stream-parts.d.ts +6 -0
  35. package/dist/agent-runtime/loop/provider-stream-parts.d.ts.map +1 -1
  36. package/dist/agent-runtime/loop/provider-stream-segments.d.ts +1 -1
  37. package/dist/agent-runtime/loop/provider-stream-segments.d.ts.map +1 -1
  38. package/dist/agent-runtime/loop/run-acquisition.d.ts.map +1 -1
  39. package/dist/agent-runtime/loop/run-approval-signature.d.ts +34 -0
  40. package/dist/agent-runtime/loop/run-approval-signature.d.ts.map +1 -0
  41. package/dist/agent-runtime/loop/run-approval.d.ts +0 -28
  42. package/dist/agent-runtime/loop/run-approval.d.ts.map +1 -1
  43. package/dist/agent-runtime/loop/run-complete-port.d.ts +24 -0
  44. package/dist/agent-runtime/loop/run-complete-port.d.ts.map +1 -0
  45. package/dist/agent-runtime/loop/run-complete-stream.d.ts +7 -2
  46. package/dist/agent-runtime/loop/run-complete-stream.d.ts.map +1 -1
  47. package/dist/agent-runtime/loop/run-complete-types.d.ts +14 -1
  48. package/dist/agent-runtime/loop/run-complete-types.d.ts.map +1 -1
  49. package/dist/agent-runtime/loop/run-complete.d.ts +2 -2
  50. package/dist/agent-runtime/loop/run-complete.d.ts.map +1 -1
  51. package/dist/agent-runtime/loop/run-execution-state.d.ts +8 -0
  52. package/dist/agent-runtime/loop/run-execution-state.d.ts.map +1 -1
  53. package/dist/agent-runtime/loop/run-model-call.d.ts +44 -0
  54. package/dist/agent-runtime/loop/run-model-call.d.ts.map +1 -0
  55. package/dist/agent-runtime/loop/run-model-step.d.ts +25 -28
  56. package/dist/agent-runtime/loop/run-model-step.d.ts.map +1 -1
  57. package/dist/agent-runtime/loop/run-model-steps.d.ts +6 -0
  58. package/dist/agent-runtime/loop/run-model-steps.d.ts.map +1 -0
  59. package/dist/agent-runtime/loop/run-model-stream.d.ts +3 -1
  60. package/dist/agent-runtime/loop/run-model-stream.d.ts.map +1 -1
  61. package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts +0 -2
  62. package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts.map +1 -1
  63. package/dist/agent-runtime/loop/run-step-loop.d.ts +19 -0
  64. package/dist/agent-runtime/loop/run-step-loop.d.ts.map +1 -0
  65. package/dist/agent-runtime/loop/run-step-port.d.ts +175 -0
  66. package/dist/agent-runtime/loop/run-step-port.d.ts.map +1 -0
  67. package/dist/agent-runtime/loop/run-stream-parts.d.ts.map +1 -1
  68. package/dist/agent-runtime/loop/run-stream-step-text.d.ts.map +1 -1
  69. package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts +2 -1
  70. package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts.map +1 -1
  71. package/dist/agent-runtime/loop/run-tool-call-input.d.ts +39 -0
  72. package/dist/agent-runtime/loop/run-tool-call-input.d.ts.map +1 -0
  73. package/dist/agent-runtime/loop/run-tool-call.d.ts +2 -31
  74. package/dist/agent-runtime/loop/run-tool-call.d.ts.map +1 -1
  75. package/dist/agent-runtime/loop/run-tool-errors.d.ts +5 -0
  76. package/dist/agent-runtime/loop/run-tool-errors.d.ts.map +1 -1
  77. package/dist/agent-runtime/loop/run-tool-executor.d.ts +1 -1
  78. package/dist/agent-runtime/loop/run-tool-executor.d.ts.map +1 -1
  79. package/dist/agent-runtime/loop/run-tool-slots.d.ts +2 -1
  80. package/dist/agent-runtime/loop/run-tool-slots.d.ts.map +1 -1
  81. package/dist/agent-runtime/loop/runtime-state.d.ts.map +1 -1
  82. package/dist/agent-runtime/loop/runtime.d.ts +0 -5
  83. package/dist/agent-runtime/loop/runtime.d.ts.map +1 -1
  84. package/dist/agent-runtime/providers/ai-sdk-convert.d.ts +1 -5
  85. package/dist/agent-runtime/providers/ai-sdk-convert.d.ts.map +1 -1
  86. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts +11 -0
  87. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts.map +1 -0
  88. package/dist/agent-runtime/providers/ai-sdk-tools.d.ts +11 -0
  89. package/dist/agent-runtime/providers/ai-sdk-tools.d.ts.map +1 -0
  90. package/dist/agent-runtime/providers/ai-sdk.d.ts +1 -9
  91. package/dist/agent-runtime/providers/ai-sdk.d.ts.map +1 -1
  92. package/dist/agent-runtime/providers/anthropic-sse.d.ts.map +1 -1
  93. package/dist/agent-runtime/providers/openrouter-admission.d.ts.map +1 -1
  94. package/dist/agent-runtime/providers/openrouter-audio.d.ts +164 -0
  95. package/dist/agent-runtime/providers/openrouter-audio.d.ts.map +1 -0
  96. package/dist/agent-runtime/providers/openrouter-catalog-cache.d.ts.map +1 -1
  97. package/dist/agent-runtime/providers/openrouter-catalog-query.d.ts.map +1 -1
  98. package/dist/agent-runtime/providers/openrouter-catalog.d.ts +4 -2
  99. package/dist/agent-runtime/providers/openrouter-catalog.d.ts.map +1 -1
  100. package/dist/agent-runtime/providers/openrouter-client.d.ts +37 -0
  101. package/dist/agent-runtime/providers/openrouter-client.d.ts.map +1 -0
  102. package/dist/agent-runtime/providers/openrouter-http.d.ts +120 -0
  103. package/dist/agent-runtime/providers/openrouter-http.d.ts.map +1 -0
  104. package/dist/agent-runtime/providers/openrouter-media.d.ts +174 -0
  105. package/dist/agent-runtime/providers/openrouter-media.d.ts.map +1 -0
  106. package/dist/agent-runtime/providers/openrouter-models.d.ts +2 -23
  107. package/dist/agent-runtime/providers/openrouter-models.d.ts.map +1 -1
  108. package/dist/agent-runtime/providers/openrouter-options.d.ts +4 -0
  109. package/dist/agent-runtime/providers/openrouter-options.d.ts.map +1 -1
  110. package/dist/agent-runtime/providers/openrouter-request.d.ts +23 -0
  111. package/dist/agent-runtime/providers/openrouter-request.d.ts.map +1 -0
  112. package/dist/agent-runtime/providers/openrouter-response.d.ts.map +1 -1
  113. package/dist/agent-runtime/providers/openrouter-retrieval.d.ts +145 -0
  114. package/dist/agent-runtime/providers/openrouter-retrieval.d.ts.map +1 -0
  115. package/dist/agent-runtime/providers/openrouter-speech.d.ts +90 -0
  116. package/dist/agent-runtime/providers/openrouter-speech.d.ts.map +1 -0
  117. package/dist/agent-runtime/providers/openrouter-spend.d.ts +7 -3
  118. package/dist/agent-runtime/providers/openrouter-spend.d.ts.map +1 -1
  119. package/dist/agent-runtime/providers/openrouter-stream.d.ts +29 -0
  120. package/dist/agent-runtime/providers/openrouter-stream.d.ts.map +1 -0
  121. package/dist/agent-runtime/providers/openrouter-systemone.d.ts +137 -0
  122. package/dist/agent-runtime/providers/openrouter-systemone.d.ts.map +1 -0
  123. package/dist/agent-runtime/providers/openrouter-url.d.ts +19 -0
  124. package/dist/agent-runtime/providers/openrouter-url.d.ts.map +1 -0
  125. package/dist/agent-runtime/providers/openrouter-wire.d.ts +45 -0
  126. package/dist/agent-runtime/providers/openrouter-wire.d.ts.map +1 -0
  127. package/dist/agent-runtime/providers/openrouter.d.ts +5 -4
  128. package/dist/agent-runtime/providers/openrouter.d.ts.map +1 -1
  129. package/dist/agent-runtime/providers/provider-http.d.ts +29 -3
  130. package/dist/agent-runtime/providers/provider-http.d.ts.map +1 -1
  131. package/dist/agent-runtime/providers/provider-json-schema-strip.d.ts.map +1 -1
  132. package/dist/agent-runtime/providers/provider-json-schema.d.ts.map +1 -1
  133. package/dist/agent-runtime/providers/provider-openai-chat-sse.d.ts.map +1 -1
  134. package/dist/agent-runtime/providers/provider-openai-chat-state.d.ts +42 -0
  135. package/dist/agent-runtime/providers/provider-openai-chat-state.d.ts.map +1 -0
  136. package/dist/agent-runtime/providers/provider-usage.d.ts +9 -0
  137. package/dist/agent-runtime/providers/provider-usage.d.ts.map +1 -1
  138. package/dist/agent-runtime/sandbox/sandbox-bubblewrap-args.d.ts +9 -0
  139. package/dist/agent-runtime/sandbox/sandbox-bubblewrap-args.d.ts.map +1 -1
  140. package/dist/agent-runtime/sandbox/sandbox-bubblewrap.d.ts +6 -0
  141. package/dist/agent-runtime/sandbox/sandbox-bubblewrap.d.ts.map +1 -1
  142. package/dist/agent-runtime/sandbox/sandbox-contract.d.ts.map +1 -1
  143. package/dist/agent-runtime/sandbox/sandbox-process-linux.d.ts.map +1 -1
  144. package/dist/agent-runtime/sandbox/sandbox-process-spec.d.ts +5 -1
  145. package/dist/agent-runtime/sandbox/sandbox-process-spec.d.ts.map +1 -1
  146. package/dist/agent-runtime/sandbox/sandbox-process-wrapper.d.ts.map +1 -1
  147. package/dist/agent-runtime/stores/branch-messages.d.ts.map +1 -1
  148. package/dist/agent-runtime/stores/sql-rows.d.ts +10 -10
  149. package/dist/agent-runtime/terminal-commit.d.ts +10 -10
  150. package/dist/agent-runtime/testing/fault-bench.d.ts +5 -1
  151. package/dist/agent-runtime/testing/fault-bench.d.ts.map +1 -1
  152. package/dist/application/diagnostic-journal-contract.d.ts.map +1 -1
  153. package/dist/browser/client-executors.d.ts.map +1 -1
  154. package/dist/browser/client-url.d.ts.map +1 -1
  155. package/dist/contract/define.d.ts +3 -7
  156. package/dist/contract/define.d.ts.map +1 -1
  157. package/dist/contract/normalize.d.ts +17 -5
  158. package/dist/contract/normalize.d.ts.map +1 -1
  159. package/dist/entrypoints/agent-executor/acp.js +4 -2
  160. package/dist/entrypoints/agent-executor/claude-sdk.js +20 -20
  161. package/dist/entrypoints/agent-executor/claude.js +7 -7
  162. package/dist/entrypoints/agent-executor/codex.d.ts +2 -1
  163. package/dist/entrypoints/agent-executor/codex.d.ts.map +1 -1
  164. package/dist/entrypoints/agent-executor/codex.js +129 -35
  165. package/dist/entrypoints/agent-executor/testing/claude-sdk.js +2 -2
  166. package/dist/entrypoints/agent-executor/testing.js +17 -13
  167. package/dist/entrypoints/agent-executor.js +1 -1
  168. package/dist/entrypoints/agent-runtime/ai-sdk.d.ts +2 -1
  169. package/dist/entrypoints/agent-runtime/ai-sdk.d.ts.map +1 -1
  170. package/dist/entrypoints/agent-runtime/ai-sdk.js +10 -12
  171. package/dist/entrypoints/agent-runtime/anthropic.js +13 -10
  172. package/dist/entrypoints/agent-runtime/browser.js +8 -4
  173. package/dist/entrypoints/agent-runtime/harness.js +18 -19
  174. package/dist/entrypoints/agent-runtime/openai.js +5 -5
  175. package/dist/entrypoints/agent-runtime/openrouter.d.ts +11 -2
  176. package/dist/entrypoints/agent-runtime/openrouter.d.ts.map +1 -1
  177. package/dist/entrypoints/agent-runtime/openrouter.js +1940 -496
  178. package/dist/entrypoints/agent-runtime/postgres.js +2 -2
  179. package/dist/entrypoints/agent-runtime/realtime.js +5 -5
  180. package/dist/entrypoints/agent-runtime/sandbox.js +167 -139
  181. package/dist/entrypoints/agent-runtime/sqlite/bun.js +3 -3
  182. package/dist/entrypoints/agent-runtime/sqlite/node.js +3 -3
  183. package/dist/entrypoints/agent-runtime/testing.js +3 -3
  184. package/dist/entrypoints/agent-runtime.js +246 -360
  185. package/dist/entrypoints/application.js +2 -2
  186. package/dist/entrypoints/cli.js +36 -15
  187. package/dist/entrypoints/contract.js +12 -10
  188. package/dist/entrypoints/geo.js +1 -1
  189. package/dist/entrypoints/handler.js +5 -6
  190. package/dist/entrypoints/http.d.ts +2 -0
  191. package/dist/entrypoints/http.d.ts.map +1 -1
  192. package/dist/entrypoints/http.js +16 -4
  193. package/dist/entrypoints/index.js +26 -35
  194. package/dist/entrypoints/live.js +3 -3
  195. package/dist/entrypoints/node.js +7 -7
  196. package/dist/entrypoints/observability.js +9 -7
  197. package/dist/entrypoints/process.js +3 -3
  198. package/dist/entrypoints/remote.js +5 -5
  199. package/dist/entrypoints/server.js +29 -16
  200. package/dist/entrypoints/telegram/grammy.d.ts +1 -1
  201. package/dist/entrypoints/telegram/grammy.d.ts.map +1 -1
  202. package/dist/entrypoints/telegram/grammy.js +39 -5
  203. package/dist/entrypoints/telegram/screens.js +3 -0
  204. package/dist/entrypoints/telegram.d.ts +1 -1
  205. package/dist/entrypoints/telegram.d.ts.map +1 -1
  206. package/dist/entrypoints/telegram.js +19 -6
  207. package/dist/entrypoints/testing.js +10 -11
  208. package/dist/entrypoints/tools/agent.js +8 -9
  209. package/dist/entrypoints/tools/connections.js +27 -57
  210. package/dist/entrypoints/tools/contract.js +4 -4
  211. package/dist/entrypoints/tools/invoker.js +7 -8
  212. package/dist/entrypoints/tools/mcp.js +9 -10
  213. package/dist/entrypoints/tools/toolkit.js +11 -12
  214. package/dist/entrypoints/tools.js +20 -20
  215. package/dist/entrypoints/tracking/contract.js +1 -1
  216. package/dist/entrypoints/tracking/performance.js +1 -1
  217. package/dist/entrypoints/tracking.js +1 -1
  218. package/dist/{index-3czc3ykr.js → index-08a3qfr8.js} +1 -1
  219. package/dist/{index-grhhsrd5.js → index-1en7k3q5.js} +2 -1
  220. package/dist/{index-pdcbjd6a.js → index-1yky29qg.js} +6 -3
  221. package/dist/{index-b4c9dpzm.js → index-252den5a.js} +10 -11
  222. package/dist/{index-xtby8rj3.js → index-28kbdn63.js} +5 -47
  223. package/dist/{index-57sbckhv.js → index-36mtj8xm.js} +2 -2
  224. package/dist/{index-dm84tsd5.js → index-3kb8dw48.js} +1 -1
  225. package/dist/index-3tb82xr7.js +11 -0
  226. package/dist/{index-c24bj2r1.js → index-4243301z.js} +2 -2
  227. package/dist/{index-nr4fhfn4.js → index-4p2zx593.js} +2 -0
  228. package/dist/{index-q86qnzzf.js → index-54wp467c.js} +4 -4
  229. package/dist/{index-mcv7b2n0.js → index-63ctzjp4.js} +497 -495
  230. package/dist/{index-y0a4gt1s.js → index-65p8v81y.js} +3 -2
  231. package/dist/{index-z72vazf5.js → index-6y3eae97.js} +27 -83
  232. package/dist/{index-5awtbyns.js → index-9vj869rx.js} +1 -1
  233. package/dist/{index-5q0qpw3v.js → index-aqm7e864.js} +23 -8
  234. package/dist/{index-d4at0q09.js → index-b9mj31q7.js} +90 -88
  235. package/dist/{index-baba8ehy.js → index-bjrcbcn2.js} +2 -2
  236. package/dist/{index-fsw9wxk9.js → index-c9j8441q.js} +1 -103
  237. package/dist/{index-wdb5jhas.js → index-d1pdv8qc.js} +1 -1
  238. package/dist/{index-73wq9abg.js → index-df5xr2f9.js} +13 -59
  239. package/dist/{index-n9358ydy.js → index-dm50x3by.js} +1 -1
  240. package/dist/{index-zyyerdny.js → index-dmrx8xma.js} +3 -0
  241. package/dist/{index-78da4g74.js → index-dwq6a6sq.js} +17 -13
  242. package/dist/{index-9be3tf6r.js → index-e413q2cj.js} +49 -22
  243. package/dist/{index-g4gstmp1.js → index-ednf2cxs.js} +1 -1
  244. package/dist/{index-84tp547a.js → index-edpkm3k7.js} +29 -97
  245. package/dist/{index-gs0jw0hy.js → index-efbzm2se.js} +3 -3
  246. package/dist/{index-de7b0kvz.js → index-epwvp88y.js} +1 -1
  247. package/dist/{index-asnd4h2k.js → index-f0dzyskg.js} +27 -4
  248. package/dist/{index-xbb8ysmq.js → index-fatke81t.js} +2 -2
  249. package/dist/{index-6nzzj7qr.js → index-gq35s3bm.js} +1 -1
  250. package/dist/index-gvgtmt7a.js +102 -0
  251. package/dist/{index-m2b49tvc.js → index-h08xqfw9.js} +20 -21
  252. package/dist/{index-gk6dq9ay.js → index-ha1tv70k.js} +3 -26
  253. package/dist/{index-wsv11dhg.js → index-hberxns4.js} +1 -1
  254. package/dist/{index-rkphknhx.js → index-hpzhz1vm.js} +1 -1
  255. package/dist/{index-npfdymav.js → index-j5vzhj3d.js} +1 -1
  256. package/dist/{index-d3s070eh.js → index-jperyn0c.js} +1 -1
  257. package/dist/{index-yhwx4fwk.js → index-kzsetgh9.js} +1 -1
  258. package/dist/{index-x6sp5vpa.js → index-q4tr9vnf.js} +1 -1
  259. package/dist/{index-hce3hbdg.js → index-qj0sq69b.js} +6 -2
  260. package/dist/{index-v0j22shs.js → index-rg08syp1.js} +9 -6
  261. package/dist/{index-8vzh5wpv.js → index-rw1caff2.js} +14 -26
  262. package/dist/index-s8af9jqw.js +6 -0
  263. package/dist/{index-bgj9hbm3.js → index-sdppfbrh.js} +30 -16
  264. package/dist/{index-y0mwkgkf.js → index-shte29pg.js} +1086 -1055
  265. package/dist/{index-fec05c9k.js → index-ta0e2daw.js} +9 -7
  266. package/dist/{index-zfrysr1e.js → index-tb36xawm.js} +110 -75
  267. package/dist/{index-c0yym4a0.js → index-w7e402wx.js} +11 -105
  268. package/dist/{index-bvpevwt6.js → index-xnqab06h.js} +207 -202
  269. package/dist/index-xrbrvn15.js +147 -0
  270. package/dist/{index-ac3rfec5.js → index-y6wzzk2e.js} +21 -1
  271. package/dist/{index-3d2c45jn.js → index-yjx5jna7.js} +2 -2
  272. package/dist/internal/loopback-host.d.ts +8 -0
  273. package/dist/internal/loopback-host.d.ts.map +1 -0
  274. package/dist/internal/own-member.d.ts +7 -0
  275. package/dist/internal/own-member.d.ts.map +1 -0
  276. package/dist/internal/request.d.ts +17 -8
  277. package/dist/internal/request.d.ts.map +1 -1
  278. package/dist/internal/secret-shapes.d.ts +33 -4
  279. package/dist/internal/secret-shapes.d.ts.map +1 -1
  280. package/dist/json-schema/dialect.d.ts.map +1 -1
  281. package/dist/json-schema/keywords.d.ts +25 -6
  282. package/dist/json-schema/keywords.d.ts.map +1 -1
  283. package/dist/json-schema/string-format.d.ts.map +1 -1
  284. package/dist/live/events.d.ts.map +1 -1
  285. package/dist/live/watch-client.d.ts.map +1 -1
  286. package/dist/live/watch-delta.d.ts.map +1 -1
  287. package/dist/observability/context.d.ts +4 -3
  288. package/dist/observability/context.d.ts.map +1 -1
  289. package/dist/observability/sanitize.d.ts.map +1 -1
  290. package/dist/observability/secret-values.d.ts +0 -9
  291. package/dist/observability/secret-values.d.ts.map +1 -1
  292. package/dist/server/context.d.ts +3 -2
  293. package/dist/server/context.d.ts.map +1 -1
  294. package/dist/server/error-hook.d.ts +4 -3
  295. package/dist/server/error-hook.d.ts.map +1 -1
  296. package/dist/server/event-bus.d.ts.map +1 -1
  297. package/dist/server/file.d.ts +11 -3
  298. package/dist/server/file.d.ts.map +1 -1
  299. package/dist/server/handler-state.d.ts +2 -2
  300. package/dist/server/handler-state.d.ts.map +1 -1
  301. package/dist/server/middleware/jwt.d.ts +12 -1
  302. package/dist/server/middleware/jwt.d.ts.map +1 -1
  303. package/dist/server/middleware/trust-fence.d.ts +4 -0
  304. package/dist/server/middleware/trust-fence.d.ts.map +1 -1
  305. package/dist/server/multipart.d.ts +2 -3
  306. package/dist/server/multipart.d.ts.map +1 -1
  307. package/dist/server/raw.d.ts.map +1 -1
  308. package/dist/server/request-body.d.ts +12 -1
  309. package/dist/server/request-body.d.ts.map +1 -1
  310. package/dist/server/request-completion.d.ts.map +1 -1
  311. package/dist/server/types.d.ts +14 -9
  312. package/dist/server/types.d.ts.map +1 -1
  313. package/dist/telegram/crypto.d.ts.map +1 -1
  314. package/dist/telegram/init-data.d.ts +4 -4
  315. package/dist/telegram/init-data.d.ts.map +1 -1
  316. package/dist/telegram/outbound-cost.d.ts.map +1 -1
  317. package/dist/telegram/screens/test-chat.d.ts.map +1 -1
  318. package/dist/telegram/widget-api.d.ts +85 -13
  319. package/dist/telegram/widget-api.d.ts.map +1 -1
  320. package/dist/telegram/widget.d.ts +46 -2
  321. package/dist/telegram/widget.d.ts.map +1 -1
  322. package/dist/tools/cli/args-classify.d.ts +4 -74
  323. package/dist/tools/cli/args-classify.d.ts.map +1 -1
  324. package/dist/tools/cli/args-framework.d.ts +79 -0
  325. package/dist/tools/cli/args-framework.d.ts.map +1 -0
  326. package/dist/tools/cli/args-scan.d.ts.map +1 -1
  327. package/dist/tools/cli/args-tokens.d.ts.map +1 -1
  328. package/dist/tools/cli/checkpoint.d.ts +5 -0
  329. package/dist/tools/cli/checkpoint.d.ts.map +1 -1
  330. package/dist/tools/cli/stream.d.ts.map +1 -1
  331. package/dist/tools/connections/foreign-schema-join.d.ts.map +1 -1
  332. package/dist/tools/connections/openapi.d.ts.map +1 -1
  333. package/dist/tools/connections/runtime.d.ts.map +1 -1
  334. package/dist/tools/execute-handler.d.ts +24 -0
  335. package/dist/tools/execute-handler.d.ts.map +1 -0
  336. package/dist/tools/execute.d.ts.map +1 -1
  337. package/dist/tools/mcp/round.d.ts.map +1 -1
  338. package/dist/tools/schema/coerce.d.ts.map +1 -1
  339. package/dist/tools/schema/flatten.d.ts.map +1 -1
  340. package/dist/tools/schema/inline-references.d.ts.map +1 -1
  341. package/dist/tools/schema/nesting-limit.d.ts.map +1 -1
  342. package/dist/tools/schema/presentation.d.ts.map +1 -1
  343. package/dist/tracking/privacy.d.ts.map +1 -1
  344. package/llms/agent-runtime-openrouter.txt +14 -5
  345. package/llms/agent-runtime-sandbox.txt +50 -11
  346. package/llms/agent-runtime-testing.txt +1 -1
  347. package/llms/agent-runtime.2.txt +342 -230
  348. package/llms/agent-runtime.3.txt +225 -380
  349. package/llms/agent-runtime.4.txt +387 -158
  350. package/llms/agent-runtime.5.txt +157 -152
  351. package/llms/agent-runtime.6.txt +164 -0
  352. package/llms/agent-runtime.txt +307 -362
  353. package/llms/application.txt +3 -1
  354. package/llms/http.txt +1 -1
  355. package/llms/live.txt +3 -1
  356. package/llms/observability.txt +16 -9
  357. package/llms/server.2.txt +13 -8
  358. package/llms/server.4.txt +23 -11
  359. package/llms/server.5.txt +5 -5
  360. package/llms/server.txt +54 -1
  361. package/llms/spend.txt +18 -1
  362. package/llms/stitchkit.2.txt +4 -2
  363. package/llms/stitchkit.txt +113 -93
  364. package/llms/telegram-grammy.txt +3 -2
  365. package/llms/telegram.2.txt +3 -1
  366. package/llms/telegram.txt +35 -10
  367. package/llms/upgrading-0.128.0-0.129.0.txt +175 -0
  368. package/llms/{upgrading-0.128.0-0.135.0.txt → upgrading-0.130.0-0.136.0.txt} +353 -169
  369. package/llms/upgrading.txt +2 -1
  370. package/llms-full.txt +1035 -208
  371. package/llms.txt +14 -13
  372. package/package.json +6 -6
  373. package/dist/agent-runtime/loop/deferred-tools-internal.d.ts +0 -19
  374. package/dist/agent-runtime/loop/deferred-tools-internal.d.ts.map +0 -1
  375. package/dist/agent-runtime/loop/run-complete-retry.d.ts +0 -24
  376. package/dist/agent-runtime/loop/run-complete-retry.d.ts.map +0 -1
  377. package/dist/agent-runtime/loop/run-model-attempts.d.ts +0 -6
  378. package/dist/agent-runtime/loop/run-model-attempts.d.ts.map +0 -1
  379. package/dist/index-sznqf8fx.js +0 -20
  380. /package/dist/{index-fthw8dwa.js → index-4gbybjg6.js} +0 -0
@@ -62,20 +62,14 @@ import {
62
62
  CodexStartedTurnSchema,
63
63
  CodexTurnSteerResponseSchema,
64
64
  CodexThreadRevertResponseSchema,
65
- CodexApprovalParamsSchema,
66
- CodexUserInputParamsSchema,
67
- CodexUserInputAnswersSchema,
68
- CodexPermissionsApprovalParamsSchema,
69
- CodexMcpElicitationParamsSchema,
70
- CodexMcpElicitationAnswerSchema,
71
- CODEX_APPROVAL_REQUESTS,
72
- CODEX_PERMISSIONS_APPROVAL_REQUEST,
73
- CODEX_INPUT_REQUEST,
74
- CODEX_ELICITATION_REQUEST,
75
- CODEX_APPROVAL_DECISION,
76
65
  codexDriverCapabilities,
77
66
  codexSharedServerCapabilities
78
- } from "../../index-fsw9wxk9.js";
67
+ } from "../../index-c9j8441q.js";
68
+ import {
69
+ validateImageOptions,
70
+ inlineOrderedParts,
71
+ guardedTurnStarter
72
+ } from "../../index-65p8v81y.js";
79
73
  import"../../index-673drwkn.js";
80
74
  import"../../index-jwtmw39p.js";
81
75
  import {
@@ -90,11 +84,6 @@ import {
90
84
  import {
91
85
  planLimitsReadFailed2
92
86
  } from "../../index-mkmep637.js";
93
- import {
94
- validateImageOptions,
95
- inlineOrderedParts,
96
- guardedTurnStarter
97
- } from "../../index-y0a4gt1s.js";
98
87
  import {
99
88
  holdEngineRequest,
100
89
  endEngineTurn,
@@ -2106,6 +2095,111 @@ function codexEventTurn(current, params) {
2106
2095
  return current;
2107
2096
  }
2108
2097
 
2098
+ // src/agent-executor/codex/server-requests.ts
2099
+ import { z as z4 } from "zod";
2100
+ var CodexApprovalParamsSchema = z4.looseObject({
2101
+ threadId: z4.string().optional(),
2102
+ turnId: z4.string().optional(),
2103
+ itemId: z4.string(),
2104
+ command: z4.string().nullable().optional(),
2105
+ cwd: z4.string().nullable().optional(),
2106
+ reason: z4.string().nullable().optional(),
2107
+ grantRoot: z4.string().nullable().optional(),
2108
+ kind: z4.string().nullable().optional(),
2109
+ approvalId: z4.string().nullable().optional(),
2110
+ startedAtMs: z4.number().int().nullable().optional(),
2111
+ commandActions: z4.array(JsonRpcValueSchema2).nullable().optional(),
2112
+ availableDecisions: z4.array(JsonRpcValueSchema2).nullable().optional()
2113
+ });
2114
+ var CodexUserInputOptionSchema = z4.looseObject({
2115
+ label: z4.string(),
2116
+ description: z4.string()
2117
+ });
2118
+ var CodexUserInputQuestionSchema = z4.looseObject({
2119
+ id: z4.string(),
2120
+ question: z4.string(),
2121
+ header: z4.string(),
2122
+ isOther: z4.boolean().optional(),
2123
+ isSecret: z4.boolean().optional(),
2124
+ options: z4.array(CodexUserInputOptionSchema).nullable().optional()
2125
+ });
2126
+ var CodexUserInputParamsSchema = z4.looseObject({
2127
+ threadId: z4.string().optional(),
2128
+ turnId: z4.string().optional(),
2129
+ itemId: z4.string(),
2130
+ questions: z4.array(CodexUserInputQuestionSchema)
2131
+ });
2132
+ var CodexUserInputAnswersSchema = z4.record(z4.string(), z4.strictObject({ answers: z4.array(z4.string()) }));
2133
+ var CodexPermissionProfileSchema = z4.looseObject({
2134
+ fileSystem: JsonRpcValueSchema2.nullable().optional(),
2135
+ network: JsonRpcValueSchema2.nullable().optional()
2136
+ });
2137
+ var CodexPermissionsApprovalParamsSchema = z4.looseObject({
2138
+ threadId: z4.string(),
2139
+ turnId: z4.string(),
2140
+ itemId: z4.string(),
2141
+ cwd: z4.string(),
2142
+ permissions: CodexPermissionProfileSchema,
2143
+ startedAtMs: z4.number().int(),
2144
+ reason: z4.string().nullable().optional(),
2145
+ environmentId: z4.string().nullable().optional()
2146
+ });
2147
+ var CodexMcpElicitationBaseFields = {
2148
+ serverName: z4.string(),
2149
+ threadId: z4.string(),
2150
+ turnId: z4.string().nullable().optional(),
2151
+ environmentId: z4.string().nullable().optional(),
2152
+ message: z4.string(),
2153
+ _meta: JsonRpcValueSchema2.optional()
2154
+ };
2155
+ var CodexMcpElicitationFormSchemaSchema = z4.looseObject({
2156
+ type: z4.literal("object"),
2157
+ properties: z4.record(z4.string(), JsonRpcValueSchema2),
2158
+ required: z4.array(z4.string()).nullable().optional(),
2159
+ $schema: z4.string().nullable().optional()
2160
+ });
2161
+ var CodexMcpElicitationParamsSchema = z4.discriminatedUnion("mode", [
2162
+ z4.looseObject({
2163
+ ...CodexMcpElicitationBaseFields,
2164
+ mode: z4.literal("form"),
2165
+ requestedSchema: CodexMcpElicitationFormSchemaSchema
2166
+ }),
2167
+ z4.looseObject({
2168
+ ...CodexMcpElicitationBaseFields,
2169
+ mode: z4.literal("openai/form"),
2170
+ requestedSchema: JsonRpcValueSchema2
2171
+ }),
2172
+ z4.looseObject({
2173
+ ...CodexMcpElicitationBaseFields,
2174
+ mode: z4.literal("openaiForm"),
2175
+ requestedSchema: JsonRpcValueSchema2
2176
+ }),
2177
+ z4.looseObject({
2178
+ ...CodexMcpElicitationBaseFields,
2179
+ mode: z4.literal("url"),
2180
+ elicitationId: z4.string(),
2181
+ url: z4.string()
2182
+ })
2183
+ ]);
2184
+ var CodexMcpElicitationAnswerSchema = z4.strictObject({
2185
+ action: z4.enum(["accept", "decline", "cancel"]),
2186
+ content: JsonRpcValueSchema2.optional(),
2187
+ _meta: JsonRpcValueSchema2.optional()
2188
+ });
2189
+ var CODEX_APPROVAL_REQUESTS = new Set([
2190
+ "item/commandExecution/requestApproval",
2191
+ "item/fileChange/requestApproval"
2192
+ ]);
2193
+ var CODEX_PERMISSIONS_APPROVAL_REQUEST = "item/permissions/requestApproval";
2194
+ var CODEX_INPUT_REQUEST = "item/tool/requestUserInput";
2195
+ var CODEX_ELICITATION_REQUEST = "mcpServer/elicitation/request";
2196
+ var CODEX_APPROVAL_DECISION = {
2197
+ approve: "accept",
2198
+ approveForSession: "acceptForSession",
2199
+ deny: "decline",
2200
+ interrupted: "cancel"
2201
+ };
2202
+
2109
2203
  // src/agent-executor/codex/request-answers.ts
2110
2204
  function isKnownCodexRequestMethod(method) {
2111
2205
  return CODEX_APPROVAL_REQUESTS.has(method) || method === CODEX_PERMISSIONS_APPROVAL_REQUEST || method === CODEX_INPUT_REQUEST || method === CODEX_ELICITATION_REQUEST;
@@ -2616,28 +2710,28 @@ function createCodexControlClient(input) {
2616
2710
  }
2617
2711
 
2618
2712
  // src/agent-executor/codex/limits.ts
2619
- import { z as z4 } from "zod";
2713
+ import { z as z5 } from "zod";
2620
2714
  var MAX_WINDOW_NAME_CHARS = 256;
2621
2715
  var MAX_PLAN_WINDOWS = 32;
2622
2716
  var EPOCH_MS_THRESHOLD = 1000000000000;
2623
- var WindowSchema = z4.looseObject({
2624
- usedPercent: z4.number().min(0).optional(),
2625
- used_percent: z4.number().min(0).optional(),
2626
- windowDurationMins: z4.number().positive().nullable().optional(),
2627
- window_duration_mins: z4.number().positive().nullable().optional(),
2628
- window_minutes: z4.number().positive().nullable().optional(),
2629
- resetsAt: z4.union([z4.number(), z4.string()]).nullable().optional(),
2630
- resets_at: z4.union([z4.number(), z4.string()]).nullable().optional()
2717
+ var WindowSchema = z5.looseObject({
2718
+ usedPercent: z5.number().min(0).optional(),
2719
+ used_percent: z5.number().min(0).optional(),
2720
+ windowDurationMins: z5.number().positive().nullable().optional(),
2721
+ window_duration_mins: z5.number().positive().nullable().optional(),
2722
+ window_minutes: z5.number().positive().nullable().optional(),
2723
+ resetsAt: z5.union([z5.number(), z5.string()]).nullable().optional(),
2724
+ resets_at: z5.union([z5.number(), z5.string()]).nullable().optional()
2631
2725
  });
2632
- var SnapshotSchema = z4.looseObject({
2633
- limitId: z4.string().nullable().optional(),
2634
- limit_id: z4.string().nullable().optional(),
2635
- limitName: z4.string().nullable().optional(),
2636
- limit_name: z4.string().nullable().optional(),
2637
- planType: z4.string().nullable().optional(),
2638
- plan_type: z4.string().nullable().optional(),
2639
- primary: z4.unknown().optional(),
2640
- secondary: z4.unknown().optional()
2726
+ var SnapshotSchema = z5.looseObject({
2727
+ limitId: z5.string().nullable().optional(),
2728
+ limit_id: z5.string().nullable().optional(),
2729
+ limitName: z5.string().nullable().optional(),
2730
+ limit_name: z5.string().nullable().optional(),
2731
+ planType: z5.string().nullable().optional(),
2732
+ plan_type: z5.string().nullable().optional(),
2733
+ primary: z5.unknown().optional(),
2734
+ secondary: z5.unknown().optional()
2641
2735
  });
2642
2736
  function positiveSafeInt(value) {
2643
2737
  return isPositiveSafeInteger(value) ? value : undefined;
@@ -1,12 +1,12 @@
1
1
  import"../../../index-1w69rj9f.js";
2
- import"../../../index-fsw9wxk9.js";
2
+ import"../../../index-c9j8441q.js";
3
3
  import"../../../index-tav72wz5.js";
4
4
  import"../../../index-6kwdfb9m.js";
5
5
  import {
6
6
  unexpected,
7
7
  noopClose,
8
8
  pickOptional
9
- } from "../../../index-de7b0kvz.js";
9
+ } from "../../../index-epwvp88y.js";
10
10
  import {
11
11
  untilAborted,
12
12
  linkAbortSignals
@@ -25,7 +25,7 @@ import {
25
25
  JsonRpcError2,
26
26
  JSON_RPC_METHOD_NOT_FOUND2
27
27
  } from "../../index-1w69rj9f.js";
28
- import"../../index-fsw9wxk9.js";
28
+ import"../../index-c9j8441q.js";
29
29
  import"../../index-6kec3b14.js";
30
30
  import"../../index-673drwkn.js";
31
31
  import"../../index-jwtmw39p.js";
@@ -43,7 +43,7 @@ import {
43
43
  createStubAgentEngineTurn2,
44
44
  createStubCodexTurn2,
45
45
  createStubAcpSession2
46
- } from "../../index-de7b0kvz.js";
46
+ } from "../../index-epwvp88y.js";
47
47
  import {
48
48
  dispatchTurn2,
49
49
  projectExecutorDeltas2
@@ -70,6 +70,9 @@ import {
70
70
  assertPrivateUnixSocketDirectory,
71
71
  bindUnixSocket2
72
72
  } from "../../index-kp1j7cc8.js";
73
+ import {
74
+ setOwnMember
75
+ } from "../../index-3tb82xr7.js";
73
76
  import {
74
77
  assertPositiveSafeInteger
75
78
  } from "../../index-gr0kxymw.js";
@@ -1410,7 +1413,7 @@ function substituteWorkspace(value, workspace) {
1410
1413
  if (typeof value === "object" && value !== null) {
1411
1414
  const out = {};
1412
1415
  for (const [key, entry] of Object.entries(value)) {
1413
- out[key] = substituteWorkspace(entry, workspace);
1416
+ setOwnMember(out, key, substituteWorkspace(entry, workspace));
1414
1417
  }
1415
1418
  return out;
1416
1419
  }
@@ -1739,6 +1742,16 @@ function createReplayGate(labels) {
1739
1742
  };
1740
1743
  }
1741
1744
  // src/agent-executor/testing/replay-scenarios.ts
1745
+ var MULTI_TURN = [
1746
+ formatReplayTranscript([
1747
+ { kind: "emit", block: "text", text: "First turn done.", itemId: "m-1" },
1748
+ { kind: "emit", block: "turn-end", outcome: "completed" }
1749
+ ]),
1750
+ formatReplayTranscript([
1751
+ { kind: "emit", block: "text", text: "Second turn done.", itemId: "m-2" },
1752
+ { kind: "emit", block: "turn-end", outcome: "completed" }
1753
+ ])
1754
+ ];
1742
1755
  var REPLAY_SCENARIOS = {
1743
1756
  "text-stream": formatReplayTranscript([
1744
1757
  { kind: "emit", block: "status", phase: "initializing" },
@@ -1825,16 +1838,7 @@ var REPLAY_SCENARIOS = {
1825
1838
  },
1826
1839
  { kind: "emit", block: "turn-end", outcome: "failed" }
1827
1840
  ]),
1828
- "multi-turn": [
1829
- formatReplayTranscript([
1830
- { kind: "emit", block: "text", text: "First turn done.", itemId: "m-1" },
1831
- { kind: "emit", block: "turn-end", outcome: "completed" }
1832
- ]),
1833
- formatReplayTranscript([
1834
- { kind: "emit", block: "text", text: "Second turn done.", itemId: "m-2" },
1835
- { kind: "emit", block: "turn-end", outcome: "completed" }
1836
- ])
1837
- ],
1841
+ "multi-turn": MULTI_TURN,
1838
1842
  "crash-mid-turn": formatReplayTranscript([
1839
1843
  { kind: "emit", block: "text", text: "Partial output before crash", itemId: "m-1" },
1840
1844
  { kind: "crash", message: "Simulated engine crash mid-turn" }
@@ -3,7 +3,7 @@ import"../index-yt1gg11x.js";
3
3
  import"../index-werjqesf.js";
4
4
  import {
5
5
  defineContract2
6
- } from "../index-zyyerdny.js";
6
+ } from "../index-dmrx8xma.js";
7
7
  import {
8
8
  defineRealtimeContract2
9
9
  } from "../index-814xpr6d.js";
@@ -5,5 +5,6 @@
5
5
  * the single step loop behind `AgentModelDriver`, and this leaf adapts any AI SDK
6
6
  * `LanguageModelV4` (`ai@7`) or `ToolSet` without importing `streamText` or `generateText`. → ADR 0336.
7
7
  */
8
- export { type FromAiSdkModelOptions, fromAiSdkModel, fromAiSdkTools, } from '../../agent-runtime/providers/ai-sdk.js';
8
+ export { type FromAiSdkModelOptions, fromAiSdkModel, } from '../../agent-runtime/providers/ai-sdk.js';
9
+ export { fromAiSdkTools } from '../../agent-runtime/providers/ai-sdk-tools.js';
9
10
  //# sourceMappingURL=ai-sdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-sdk.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/agent-runtime/ai-sdk.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACL,KAAK,qBAAqB,EAC1B,cAAc,EACd,cAAc,GACf,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"ai-sdk.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/agent-runtime/ai-sdk.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACL,KAAK,qBAAqB,EAC1B,cAAc,GACf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC"}
@@ -1,7 +1,3 @@
1
- import {
2
- AgentCacheControlSchema2,
3
- AgentToolModelOutputSchema2
4
- } from "../../index-vebzvse6.js";
5
1
  import"../../index-tav72wz5.js";
6
2
  import"../../index-j3r7r1mh.js";
7
3
  import"../../index-7qza24g1.js";
@@ -9,6 +5,10 @@ import {
9
5
  providerEnvelope,
10
6
  normalizeTokenUsage
11
7
  } from "../../index-9f60gnfn.js";
8
+ import {
9
+ AgentCacheControlSchema2,
10
+ AgentToolModelOutputSchema2
11
+ } from "../../index-vebzvse6.js";
12
12
  import {
13
13
  runWithCompatToolCallContext
14
14
  } from "../../index-125ks2ec.js";
@@ -20,9 +20,6 @@ import {
20
20
  isRecord
21
21
  } from "../../index-ps3djm8d.js";
22
22
 
23
- // src/agent-runtime/providers/ai-sdk.ts
24
- import { asSchema } from "ai";
25
-
26
23
  // src/agent-runtime/providers/ai-sdk-convert.ts
27
24
  function isCustomKind(kind) {
28
25
  return kind.includes(".");
@@ -83,9 +80,6 @@ function toV4FileData(data) {
83
80
  return { type: "text", text: data.text };
84
81
  }
85
82
  }
86
- function toV4JsonSchema(schema) {
87
- return schema;
88
- }
89
83
  function toV4ToolOutput(output) {
90
84
  const providerOptions = toV4ProviderOptions(output.providerOptions);
91
85
  switch (output.type) {
@@ -294,7 +288,7 @@ function toV4CallOptions(request, signal) {
294
288
  const responseFormat = request.responseFormat === undefined ? undefined : request.responseFormat.type === "text" ? { type: "text" } : request.responseFormat.type === "json-object" ? { type: "json" } : {
295
289
  type: "json",
296
290
  name: request.responseFormat.name,
297
- schema: toV4JsonSchema(request.responseFormat.schema),
291
+ schema: request.responseFormat.schema,
298
292
  ...request.responseFormat.description !== undefined && {
299
293
  description: request.responseFormat.description
300
294
  }
@@ -314,7 +308,7 @@ function toV4CallOptions(request, signal) {
314
308
  type: "function",
315
309
  name: spec.name,
316
310
  ...spec.description !== undefined && { description: spec.description },
317
- inputSchema: toV4JsonSchema(spec.inputSchema),
311
+ inputSchema: spec.inputSchema,
318
312
  ...spec.strict !== undefined && { strict: spec.strict },
319
313
  ...specOpts && { providerOptions: specOpts }
320
314
  };
@@ -343,6 +337,8 @@ function toV4CallOptions(request, signal) {
343
337
  abortSignal: signal
344
338
  };
345
339
  }
340
+
341
+ // src/agent-runtime/providers/ai-sdk-normalize.ts
346
342
  function toAgentJsonValue(value) {
347
343
  if (value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value)) {
348
344
  return value;
@@ -663,6 +659,8 @@ function fromAiSdkModel(model, options = {}) {
663
659
  }
664
660
  };
665
661
  }
662
+ // src/agent-runtime/providers/ai-sdk-tools.ts
663
+ import { asSchema } from "ai";
666
664
  function normalizeExternalToolOutput(raw) {
667
665
  const direct = AgentToolModelOutputSchema2.safeParse(raw);
668
666
  if (direct.success)
@@ -2,6 +2,9 @@ import {
2
2
  AgentCacheControlSchema2
3
3
  } from "../../index-vebzvse6.js";
4
4
  import {
5
+ reportedInt,
6
+ computedInt,
7
+ buildProviderUsage,
5
8
  redactProviderFailureText,
6
9
  joinProviderUrl,
7
10
  assertNoExtraBodyClash,
@@ -10,14 +13,11 @@ import {
10
13
  postProviderStream,
11
14
  nonEmptyString2,
12
15
  recordField,
13
- reportedInt,
14
- computedInt,
15
- buildProviderUsage,
16
16
  normalizeProviderHistory,
17
17
  historyHasToolTraffic,
18
18
  parseSseStream,
19
19
  parseSseJson
20
- } from "../../index-zfrysr1e.js";
20
+ } from "../../index-tb36xawm.js";
21
21
  import {
22
22
  MAX_CACHE_BREAKPOINTS,
23
23
  toWireCacheControl,
@@ -26,7 +26,7 @@ import {
26
26
  } from "../../index-ws0awmzq.js";
27
27
  import {
28
28
  prepareAnthropicJsonSchema
29
- } from "../../index-z72vazf5.js";
29
+ } from "../../index-6y3eae97.js";
30
30
  import {
31
31
  sanitizeSurrogates,
32
32
  deterministicJson,
@@ -40,6 +40,9 @@ import {
40
40
  import {
41
41
  base64ToBytes
42
42
  } from "../../index-edtg4tak.js";
43
+ import {
44
+ setOwnMember
45
+ } from "../../index-3tb82xr7.js";
43
46
  import {
44
47
  isRecord
45
48
  } from "../../index-ps3djm8d.js";
@@ -939,17 +942,17 @@ function mergeRawUsage(target, incoming) {
939
942
  if (value === undefined || value === null)
940
943
  continue;
941
944
  if (isRecord(value)) {
942
- const existing = target[key];
945
+ const existing = Object.hasOwn(target, key) ? target[key] : undefined;
943
946
  const mergedNested = isRecord(existing) ? { ...existing } : {};
944
947
  for (const [nestedKey, nestedValue] of Object.entries(value)) {
945
948
  if (nestedValue !== undefined && nestedValue !== null) {
946
- mergedNested[nestedKey] = nestedValue;
949
+ setOwnMember(mergedNested, nestedKey, nestedValue);
947
950
  }
948
951
  }
949
- target[key] = mergedNested;
952
+ setOwnMember(target, key, mergedNested);
950
953
  continue;
951
954
  }
952
- target[key] = value;
955
+ setOwnMember(target, key, value);
953
956
  }
954
957
  }
955
958
  function readBlockIndex(payload) {
@@ -1283,7 +1286,7 @@ function anthropicProvider(settings, access = {}) {
1283
1286
  ...requestExtraHeaders !== undefined && { requestHeaders: requestExtraHeaders },
1284
1287
  body: built.body,
1285
1288
  signal,
1286
- ...settings.fetch !== undefined && { fetcher: settings.fetch },
1289
+ ...settings.fetch !== undefined && { fetch: settings.fetch },
1287
1290
  parseError: parseAnthropicError
1288
1291
  });
1289
1292
  const responseTimestamp = parseHttpDateHeader(response.headers);
@@ -61,7 +61,7 @@ import {
61
61
  AgentRuntimeEventCursorSchema2,
62
62
  advanceAgentRuntimeEventCursor2,
63
63
  agentDurableEventId2
64
- } from "../../index-grhhsrd5.js";
64
+ } from "../../index-1en7k3q5.js";
65
65
  import {
66
66
  AgentPermissionModeSchema2,
67
67
  AgentHostStatusSchema2,
@@ -82,11 +82,11 @@ import {
82
82
  AgentControlDeliverySchema2,
83
83
  AgentMultiSessionCursorSchema2,
84
84
  advanceAgentMultiSessionCursor2
85
- } from "../../index-yhwx4fwk.js";
85
+ } from "../../index-kzsetgh9.js";
86
86
  import {
87
87
  AgentBrowserRequestSchema2,
88
88
  agentControlRealtimeContract2
89
- } from "../../index-rkphknhx.js";
89
+ } from "../../index-hpzhz1vm.js";
90
90
  import"../../index-0k1ba0ss.js";
91
91
  import"../../index-4s0fep5q.js";
92
92
  import {
@@ -165,7 +165,11 @@ function nextRunTransient(transient, event) {
165
165
  case "reasoning-delta":
166
166
  return { ...transient, reasoning: transient.reasoning + event.textDelta };
167
167
  case "attempt-reset":
168
- return EMPTY_TRANSIENT;
168
+ return event.withdrawn === undefined ? EMPTY_TRANSIENT : {
169
+ text: transient.text.slice(0, Math.max(0, transient.text.length - event.withdrawn.text)),
170
+ reasoning: transient.reasoning.slice(0, Math.max(0, transient.reasoning.length - event.withdrawn.reasoning)),
171
+ tools: transient.tools
172
+ };
169
173
  case "tool-progress": {
170
174
  const { toolName, message, progress, total } = event;
171
175
  return {
@@ -3,48 +3,47 @@ import"../../index-j3r7r1mh.js";
3
3
  import"../../index-tav72wz5.js";
4
4
  import"../../index-7qza24g1.js";
5
5
  import"../../index-pd9e8rz4.js";
6
- import"../../index-grhhsrd5.js";
6
+ import"../../index-1en7k3q5.js";
7
7
  import"../../index-9f60gnfn.js";
8
8
  import"../../index-qcy8et93.js";
9
9
  import {
10
10
  createAgentRuntime2,
11
11
  composeAgentPrompt2
12
- } from "../../index-y0mwkgkf.js";
12
+ } from "../../index-shte29pg.js";
13
13
  import"../../index-vebzvse6.js";
14
- import"../../index-78da4g74.js";
15
14
  import"../../index-dsa676h8.js";
16
- import"../../index-gk6dq9ay.js";
17
- import"../../index-wdb5jhas.js";
18
- import"../../index-n9358ydy.js";
19
- import"../../index-hce3hbdg.js";
20
- import"../../index-d4at0q09.js";
15
+ import"../../index-ha1tv70k.js";
16
+ import"../../index-d1pdv8qc.js";
17
+ import"../../index-dm50x3by.js";
18
+ import"../../index-qj0sq69b.js";
19
+ import"../../index-b9mj31q7.js";
21
20
  import"../../index-werjqesf.js";
22
21
  import"../../index-m38ej7e5.js";
23
22
  import"../../index-yt1gg11x.js";
24
- import"../../index-zyyerdny.js";
25
- import"../../index-84tp547a.js";
23
+ import"../../index-dmrx8xma.js";
24
+ import"../../index-edpkm3k7.js";
25
+ import"../../index-brhhaygm.js";
26
26
  import"../../index-snef22zr.js";
27
27
  import"../../index-xrsryvd2.js";
28
- import"../../index-brhhaygm.js";
29
28
  import {
30
29
  AgentModelDescriptorSchema2
31
30
  } from "../../index-refgnzy0.js";
32
31
  import"../../index-6kec3b14.js";
33
- import"../../index-yhwx4fwk.js";
32
+ import"../../index-kzsetgh9.js";
34
33
  import {
35
34
  createAgentHarnessControlServer2
36
- } from "../../index-57sbckhv.js";
35
+ } from "../../index-36mtj8xm.js";
37
36
  import {
38
37
  walkContainedFiles
39
38
  } from "../../index-p9cab61p.js";
40
- import"../../index-d3s070eh.js";
39
+ import"../../index-jperyn0c.js";
41
40
  import"../../index-vse7x1qt.js";
42
- import"../../index-xbb8ysmq.js";
43
- import"../../index-6nzzj7qr.js";
44
- import"../../index-fthw8dwa.js";
45
- import"../../index-q86qnzzf.js";
41
+ import"../../index-fatke81t.js";
42
+ import"../../index-gq35s3bm.js";
43
+ import"../../index-4gbybjg6.js";
44
+ import"../../index-54wp467c.js";
46
45
  import"../../index-xrgn784x.js";
47
- import"../../index-baba8ehy.js";
46
+ import"../../index-bjrcbcn2.js";
48
47
  import {
49
48
  defineRuntimeTool2
50
49
  } from "../../index-7csn6pva.js";
@@ -1,20 +1,20 @@
1
1
  import"../../index-vebzvse6.js";
2
2
  import {
3
+ reportedInt,
4
+ buildProviderUsage,
3
5
  redactProviderFailureText,
4
6
  joinProviderUrl,
5
7
  assertNoExtraBodyClash,
6
8
  resolveProviderApiKey,
7
9
  postProviderStream,
8
10
  nonEmptyString2,
9
- reportedInt,
10
- buildProviderUsage,
11
11
  normalizeProviderHistory,
12
12
  parseSseStream,
13
13
  parseSseJson
14
- } from "../../index-zfrysr1e.js";
14
+ } from "../../index-tb36xawm.js";
15
15
  import {
16
16
  normalizeOpenAiJsonSchema
17
- } from "../../index-z72vazf5.js";
17
+ } from "../../index-6y3eae97.js";
18
18
  import {
19
19
  sanitizeSurrogates,
20
20
  deterministicJson,
@@ -1226,7 +1226,7 @@ function openAiProvider(settings, access = {}) {
1226
1226
  ...request.headers !== undefined && { requestHeaders: request.headers },
1227
1227
  body,
1228
1228
  signal,
1229
- ...settings.fetch !== undefined && { fetcher: settings.fetch },
1229
+ ...settings.fetch !== undefined && { fetch: settings.fetch },
1230
1230
  parseError: parseOpenAiError
1231
1231
  });
1232
1232
  if (response.kind === "json") {
@@ -1,11 +1,20 @@
1
- export { type OpenRouterCatalogFetch, type OpenRouterModelCatalogOptions, type OpenRouterProviderAccess, type OpenRouterProviderSettings, openRouterModelCatalog, openRouterProvider, } from '../../agent-runtime/providers/openrouter.js';
1
+ export { type OpenRouterModelCatalogOptions, type OpenRouterProviderAccess, type OpenRouterProviderSettings, openRouterModelCatalog, openRouterProvider, } from '../../agent-runtime/providers/openrouter.js';
2
2
  export { evaluateOpenRouterModelAdmission, type OpenRouterAdmissionPolicy, OpenRouterAdmissionPolicySchema, type OpenRouterAdmissionReason, OpenRouterAdmissionReasonSchema, type OpenRouterModelAdmission, OpenRouterModelAdmissionSchema, } from '../../agent-runtime/providers/openrouter-admission.js';
3
+ export { type OpenRouterAudioSource, type OpenRouterAudioTranscriptionInput, type OpenRouterAudioTranscriptionResponse, OpenRouterAudioTranscriptionResponseSchema, type OpenRouterAudioTranscriptionResult, type OpenRouterTranscriptionSegment, type OpenRouterTranscriptionWord, openRouterAudioTranscription, } from '../../agent-runtime/providers/openrouter-audio.js';
3
4
  export { fetchOpenRouterModelEndpoints, loadOpenRouterCatalogSnapshot, type OpenRouterCatalogSnapshot, OpenRouterCatalogSnapshotSchema, type OpenRouterEndpoint, OpenRouterEndpointSchema, type OpenRouterModelAliasTarget, OpenRouterModelAliasTargetSchema, type OpenRouterModelReasoningMeta, OpenRouterModelReasoningMetaSchema, type OpenRouterPricingTier, OpenRouterPricingTierSchema, type OpenRouterSnapshotModel, OpenRouterSnapshotModelSchema, type OpenRouterSnapshotOptions, } from '../../agent-runtime/providers/openrouter-catalog.js';
4
5
  export { createOpenRouterCatalogCache, type OpenRouterCatalogCache, type OpenRouterCatalogCacheOptions, type OpenRouterCatalogCacheReadResult, type OpenRouterCatalogStore, } from '../../agent-runtime/providers/openrouter-catalog-cache.js';
5
6
  export { findOpenRouterModel, listOpenRouterModels, type OpenRouterEndpointSummary, OpenRouterEndpointSummarySchema, type OpenRouterModelFilter, type OpenRouterModelPricingCeiling, OpenRouterModelPricingCeilingSchema, resolveOpenRouterModelCeiling, summarizeOpenRouterEndpoints, } from '../../agent-runtime/providers/openrouter-catalog-query.js';
6
- export { OpenRouterHttpError } from '../../agent-runtime/providers/openrouter-models.js';
7
+ export { createOpenRouterClient, type OpenRouterClient, type OpenRouterClientOptions, } from '../../agent-runtime/providers/openrouter-client.js';
8
+ export { type OpenRouterFetch, type OpenRouterHttpMethod, type OpenRouterJsonResponse, type OpenRouterRequestJsonOptions, type OpenRouterTransportOptions, openRouterRequestJson, } from '../../agent-runtime/providers/openrouter-http.js';
9
+ export { type OpenRouterImageGenerationInput, type OpenRouterImageGenerationResponse, OpenRouterImageGenerationResponseSchema, type OpenRouterImageGenerationResult, type OpenRouterVideoJobInput, type OpenRouterVideoStatusResponse, OpenRouterVideoStatusResponseSchema, type OpenRouterVideoStatusResult, type OpenRouterVideoSubmitInput, type OpenRouterVideoSubmitResponse, OpenRouterVideoSubmitResponseSchema, type OpenRouterVideoSubmitResult, openRouterDownloadVideo, openRouterGenerateImages, openRouterGetVideo, openRouterSubmitVideo, } from '../../agent-runtime/providers/openrouter-media.js';
7
10
  export { type OpenRouterMaxPrice, OpenRouterMaxPriceSchema, type OpenRouterProviderRouting, OpenRouterProviderRoutingSchema, type OpenRouterReasoningEffort, OpenRouterReasoningEffortSchema, type OpenRouterRequestPolicy, OpenRouterRequestPolicySchema, } from '../../agent-runtime/providers/openrouter-options.js';
8
11
  export { normalizeOpenRouterUsage } from '../../agent-runtime/providers/openrouter-response.js';
12
+ export { type OpenRouterEmbeddingsInput, type OpenRouterEmbeddingsResponse, OpenRouterEmbeddingsResponseSchema, type OpenRouterEmbeddingsResult, type OpenRouterRerankInput, type OpenRouterRerankResponse, OpenRouterRerankResponseSchema, type OpenRouterRerankResult, openRouterEmbeddings, openRouterRerank, } from '../../agent-runtime/providers/openrouter-retrieval.js';
9
13
  export { createMemoryOpenRouterRouteStore, createOpenRouterRouteResolver, type OpenRouterRoutePin, OpenRouterRoutePinSchema, type OpenRouterRouteResolver, type OpenRouterRouteStore, } from '../../agent-runtime/providers/openrouter-route.js';
14
+ export { type OpenRouterAudioSpeechInput, type OpenRouterAudioSpeechResult, type OpenRouterAudioSpeechUrlResult, type OpenRouterSpeechFormat, type OpenRouterSpeechTurn, type OpenRouterSpeechUrlResponse, OpenRouterSpeechUrlResponseSchema, openRouterAudioSpeech, } from '../../agent-runtime/providers/openrouter-speech.js';
10
15
  export { createOpenRouterSpendReconciler, openRouterSpendProvider, } from '../../agent-runtime/providers/openrouter-spend.js';
16
+ export { type OpenRouterRequestStreamOptions, type OpenRouterStreamResponse, openRouterRequestStream, } from '../../agent-runtime/providers/openrouter-stream.js';
17
+ export { type OpenRouterSystemOneInput, type OpenRouterSystemOneQuestion, type OpenRouterSystemOneResponse, OpenRouterSystemOneResponseSchema, type OpenRouterSystemOneResult, openRouterSystemOne, } from '../../agent-runtime/providers/openrouter-systemone.js';
18
+ export { OPENROUTER_API_BASE_URL, type OpenRouterQueryParams, } from '../../agent-runtime/providers/openrouter-url.js';
19
+ export { type OpenRouterResponseMeta, type OpenRouterUsage, OpenRouterUsageSchema, } from '../../agent-runtime/providers/openrouter-wire.js';
11
20
  //# sourceMappingURL=openrouter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"openrouter.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/agent-runtime/openrouter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,gCAAgC,EAChC,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,wBAAwB,EAC7B,8BAA8B,GAC/B,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