veryfront 0.1.558 → 0.1.560

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 (1153) hide show
  1. package/esm/cli/commands/doctor/version-checks.d.ts.map +1 -1
  2. package/esm/cli/commands/doctor/version-checks.js +3 -1
  3. package/esm/deno.d.ts +1 -0
  4. package/esm/deno.js +5 -4
  5. package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts +3 -0
  6. package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts.map +1 -1
  7. package/esm/src/agent/ag-ui/browser-chunk-encoder.js +1 -0
  8. package/esm/src/agent/ag-ui/browser-encoder.d.ts +8 -0
  9. package/esm/src/agent/ag-ui/browser-encoder.d.ts.map +1 -1
  10. package/esm/src/agent/ag-ui/browser-encoder.js +4 -0
  11. package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts +3 -0
  12. package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts.map +1 -1
  13. package/esm/src/agent/ag-ui/browser-finalize-tracker.js +1 -0
  14. package/esm/src/agent/ag-ui/browser-response-stream.d.ts +5 -0
  15. package/esm/src/agent/ag-ui/browser-response-stream.d.ts.map +1 -1
  16. package/esm/src/agent/ag-ui/browser-response-stream.js +1 -0
  17. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts +9 -0
  18. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts.map +1 -1
  19. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.js +6 -0
  20. package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts +3 -0
  21. package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts.map +1 -1
  22. package/esm/src/agent/ag-ui/chunk-encoder-bridge.js +1 -0
  23. package/esm/src/agent/ag-ui/detached-start.d.ts +13 -2
  24. package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
  25. package/esm/src/agent/ag-ui/detached-start.js +9 -2
  26. package/esm/src/agent/ag-ui/forwarded-context.d.ts +8 -0
  27. package/esm/src/agent/ag-ui/forwarded-context.d.ts.map +1 -1
  28. package/esm/src/agent/ag-ui/forwarded-context.js +7 -0
  29. package/esm/src/agent/ag-ui/handler.d.ts +4 -0
  30. package/esm/src/agent/ag-ui/handler.d.ts.map +1 -1
  31. package/esm/src/agent/ag-ui/handler.js +1 -0
  32. package/esm/src/agent/ag-ui/host-support.d.ts +13 -1
  33. package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
  34. package/esm/src/agent/ag-ui/host-support.js +11 -3
  35. package/esm/src/agent/ag-ui/run-control.d.ts +8 -1
  36. package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
  37. package/esm/src/agent/ag-ui/run-control.js +5 -1
  38. package/esm/src/agent/ag-ui/runtime-browser-response.d.ts +2 -0
  39. package/esm/src/agent/ag-ui/runtime-browser-response.d.ts.map +1 -1
  40. package/esm/src/agent/ag-ui/runtime-browser-response.js +1 -0
  41. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts +4 -0
  42. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts.map +1 -1
  43. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.js +1 -0
  44. package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts +3 -0
  45. package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts.map +1 -1
  46. package/esm/src/agent/ag-ui/runtime-event-encoder.js +1 -0
  47. package/esm/src/agent/ag-ui/runtime-handler.d.ts +7 -0
  48. package/esm/src/agent/ag-ui/runtime-handler.d.ts.map +1 -1
  49. package/esm/src/agent/ag-ui/runtime-handler.js +1 -0
  50. package/esm/src/agent/ag-ui/runtime-support.d.ts +1 -0
  51. package/esm/src/agent/ag-ui/runtime-support.d.ts.map +1 -1
  52. package/esm/src/agent/ag-ui/runtime-support.js +1 -0
  53. package/esm/src/agent/ag-ui/tool-shared.d.ts +1 -0
  54. package/esm/src/agent/ag-ui/tool-shared.d.ts.map +1 -1
  55. package/esm/src/agent/ag-ui/tracked-browser-response.d.ts +2 -0
  56. package/esm/src/agent/ag-ui/tracked-browser-response.d.ts.map +1 -1
  57. package/esm/src/agent/ag-ui/tracked-browser-response.js +1 -0
  58. package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts +5 -0
  59. package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts.map +1 -1
  60. package/esm/src/agent/artifacts/default-research-artifact-policy.js +4 -0
  61. package/esm/src/agent/artifacts/default-research-artifact-support.d.ts +10 -0
  62. package/esm/src/agent/artifacts/default-research-artifact-support.d.ts.map +1 -1
  63. package/esm/src/agent/artifacts/default-research-artifact-support.js +7 -0
  64. package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts +4 -0
  65. package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts.map +1 -1
  66. package/esm/src/agent/artifacts/slash-command-artifact-policy.js +2 -0
  67. package/esm/src/agent/child-run/execution-cleanup.d.ts +4 -0
  68. package/esm/src/agent/child-run/execution-cleanup.d.ts.map +1 -1
  69. package/esm/src/agent/child-run/execution-cleanup.js +2 -0
  70. package/esm/src/agent/child-run/execution-snapshot.d.ts +13 -0
  71. package/esm/src/agent/child-run/execution-snapshot.d.ts.map +1 -1
  72. package/esm/src/agent/child-run/execution-snapshot.js +7 -0
  73. package/esm/src/agent/child-run/execution-support.d.ts +4 -0
  74. package/esm/src/agent/child-run/execution-support.d.ts.map +1 -1
  75. package/esm/src/agent/child-run/execution-support.js +4 -0
  76. package/esm/src/agent/child-run/final-step-support.d.ts +3 -0
  77. package/esm/src/agent/child-run/final-step-support.d.ts.map +1 -1
  78. package/esm/src/agent/child-run/final-step-support.js +3 -0
  79. package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts +21 -3
  80. package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts.map +1 -1
  81. package/esm/src/agent/child-run/invoke-agent-child-runs.js +16 -3
  82. package/esm/src/agent/child-run/result-summary.d.ts +5 -0
  83. package/esm/src/agent/child-run/result-summary.d.ts.map +1 -1
  84. package/esm/src/agent/child-run/result-summary.js +5 -0
  85. package/esm/src/agent/composition/composition.d.ts +9 -0
  86. package/esm/src/agent/composition/composition.d.ts.map +1 -1
  87. package/esm/src/agent/composition/composition.js +6 -0
  88. package/esm/src/agent/conversation/bootstrap.d.ts +21 -2
  89. package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
  90. package/esm/src/agent/conversation/bootstrap.js +16 -2
  91. package/esm/src/agent/conversation/delegation-policy.d.ts +32 -0
  92. package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
  93. package/esm/src/agent/conversation/delegation-policy.js +30 -0
  94. package/esm/src/agent/conversation/durable.d.ts +59 -6
  95. package/esm/src/agent/conversation/durable.d.ts.map +1 -1
  96. package/esm/src/agent/conversation/durable.js +44 -6
  97. package/esm/src/agent/conversation/hosted-lifecycle.d.ts +6 -0
  98. package/esm/src/agent/conversation/hosted-lifecycle.d.ts.map +1 -1
  99. package/esm/src/agent/conversation/hosted-lifecycle.js +3 -0
  100. package/esm/src/agent/conversation/hosted-terminal.d.ts +15 -0
  101. package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
  102. package/esm/src/agent/conversation/hosted-terminal.js +9 -0
  103. package/esm/src/agent/conversation/root-run-context.d.ts +6 -0
  104. package/esm/src/agent/conversation/root-run-context.d.ts.map +1 -1
  105. package/esm/src/agent/conversation/root-run-context.js +4 -0
  106. package/esm/src/agent/conversation/root-run-lifecycle.d.ts +7 -0
  107. package/esm/src/agent/conversation/root-run-lifecycle.d.ts.map +1 -1
  108. package/esm/src/agent/conversation/root-run-lifecycle.js +2 -0
  109. package/esm/src/agent/conversation/run-chunk-mirror.d.ts +13 -0
  110. package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
  111. package/esm/src/agent/conversation/run-chunk-mirror.js +2 -0
  112. package/esm/src/agent/conversation/run-context.d.ts +2 -0
  113. package/esm/src/agent/conversation/run-context.d.ts.map +1 -1
  114. package/esm/src/agent/conversation/run-context.js +1 -0
  115. package/esm/src/agent/conversation/run-event-normalization.d.ts +3 -0
  116. package/esm/src/agent/conversation/run-event-normalization.d.ts.map +1 -1
  117. package/esm/src/agent/conversation/run-event-normalization.js +3 -0
  118. package/esm/src/agent/conversation/run-event-preparation.d.ts +4 -0
  119. package/esm/src/agent/conversation/run-event-preparation.d.ts.map +1 -1
  120. package/esm/src/agent/conversation/run-event-preparation.js +4 -0
  121. package/esm/src/agent/conversation/run-events.d.ts +8 -1
  122. package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
  123. package/esm/src/agent/conversation/run-events.js +7 -1
  124. package/esm/src/agent/conversation/run-mirror.d.ts +5 -0
  125. package/esm/src/agent/conversation/run-mirror.d.ts.map +1 -1
  126. package/esm/src/agent/conversation/run-mirror.js +1 -0
  127. package/esm/src/agent/conversation/run-stream-mirror.d.ts +2 -0
  128. package/esm/src/agent/conversation/run-stream-mirror.d.ts.map +1 -1
  129. package/esm/src/agent/conversation/run-stream-mirror.js +1 -0
  130. package/esm/src/agent/factory.d.ts +1 -0
  131. package/esm/src/agent/factory.d.ts.map +1 -1
  132. package/esm/src/agent/factory.js +1 -0
  133. package/esm/src/agent/hosted/ag-ui-chat-request.d.ts +11 -1
  134. package/esm/src/agent/hosted/ag-ui-chat-request.d.ts.map +1 -1
  135. package/esm/src/agent/hosted/ag-ui-chat-request.js +7 -1
  136. package/esm/src/agent/hosted/agent-project-steering.d.ts +6 -0
  137. package/esm/src/agent/hosted/agent-project-steering.d.ts.map +1 -1
  138. package/esm/src/agent/hosted/agent-project-steering.js +2 -0
  139. package/esm/src/agent/hosted/agent-run-lifecycle.d.ts +9 -0
  140. package/esm/src/agent/hosted/agent-run-lifecycle.d.ts.map +1 -1
  141. package/esm/src/agent/hosted/agent-run-lifecycle.js +2 -0
  142. package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts +1 -0
  143. package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts.map +1 -1
  144. package/esm/src/agent/hosted/chat-execution-runtime.d.ts +17 -0
  145. package/esm/src/agent/hosted/chat-execution-runtime.d.ts.map +1 -1
  146. package/esm/src/agent/hosted/chat-execution-runtime.js +8 -0
  147. package/esm/src/agent/hosted/chat-preparation.d.ts +14 -0
  148. package/esm/src/agent/hosted/chat-preparation.d.ts.map +1 -1
  149. package/esm/src/agent/hosted/chat-preparation.js +4 -0
  150. package/esm/src/agent/hosted/chat-request-parser.d.ts +8 -0
  151. package/esm/src/agent/hosted/chat-request-parser.d.ts.map +1 -1
  152. package/esm/src/agent/hosted/chat-request-parser.js +3 -0
  153. package/esm/src/agent/hosted/chat-request.d.ts +14 -3
  154. package/esm/src/agent/hosted/chat-request.d.ts.map +1 -1
  155. package/esm/src/agent/hosted/chat-request.js +12 -3
  156. package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts +4 -0
  157. package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts.map +1 -1
  158. package/esm/src/agent/hosted/chat-runtime-agent-adapter.js +1 -0
  159. package/esm/src/agent/hosted/chat-runtime-contract.d.ts +9 -0
  160. package/esm/src/agent/hosted/chat-runtime-contract.d.ts.map +1 -1
  161. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +6 -0
  162. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
  163. package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +2 -0
  164. package/esm/src/agent/hosted/child-artifact-support.d.ts +9 -0
  165. package/esm/src/agent/hosted/child-artifact-support.d.ts.map +1 -1
  166. package/esm/src/agent/hosted/child-artifact-support.js +5 -0
  167. package/esm/src/agent/hosted/child-bootstrap.d.ts +5 -0
  168. package/esm/src/agent/hosted/child-bootstrap.d.ts.map +1 -1
  169. package/esm/src/agent/hosted/child-bootstrap.js +2 -0
  170. package/esm/src/agent/hosted/child-execution-logging.d.ts +8 -0
  171. package/esm/src/agent/hosted/child-execution-logging.d.ts.map +1 -1
  172. package/esm/src/agent/hosted/child-execution-logging.js +5 -0
  173. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +10 -0
  174. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
  175. package/esm/src/agent/hosted/child-fork-execution-runner.js +7 -0
  176. package/esm/src/agent/hosted/child-fork-instructions.d.ts +3 -0
  177. package/esm/src/agent/hosted/child-fork-instructions.d.ts.map +1 -1
  178. package/esm/src/agent/hosted/child-fork-instructions.js +2 -0
  179. package/esm/src/agent/hosted/child-fork-run-context.d.ts +16 -0
  180. package/esm/src/agent/hosted/child-fork-run-context.d.ts.map +1 -1
  181. package/esm/src/agent/hosted/child-fork-run-context.js +5 -0
  182. package/esm/src/agent/hosted/child-fork-runtime-start.d.ts +4 -0
  183. package/esm/src/agent/hosted/child-fork-runtime-start.d.ts.map +1 -1
  184. package/esm/src/agent/hosted/child-fork-runtime-start.js +1 -0
  185. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +5 -0
  186. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
  187. package/esm/src/agent/hosted/child-fork-step-message-preparation.js +2 -0
  188. package/esm/src/agent/hosted/child-fork-stream-execution.d.ts +10 -0
  189. package/esm/src/agent/hosted/child-fork-stream-execution.d.ts.map +1 -1
  190. package/esm/src/agent/hosted/child-fork-stream-execution.js +4 -0
  191. package/esm/src/agent/hosted/child-fork-tool-sources.d.ts +6 -0
  192. package/esm/src/agent/hosted/child-fork-tool-sources.d.ts.map +1 -1
  193. package/esm/src/agent/hosted/child-fork-tool-sources.js +2 -0
  194. package/esm/src/agent/hosted/child-invoke-tool.d.ts +3 -0
  195. package/esm/src/agent/hosted/child-invoke-tool.d.ts.map +1 -1
  196. package/esm/src/agent/hosted/child-invoke-tool.js +1 -0
  197. package/esm/src/agent/hosted/child-lifecycle.d.ts +9 -0
  198. package/esm/src/agent/hosted/child-lifecycle.d.ts.map +1 -1
  199. package/esm/src/agent/hosted/child-lifecycle.js +3 -0
  200. package/esm/src/agent/hosted/child-mirror.d.ts +10 -0
  201. package/esm/src/agent/hosted/child-mirror.d.ts.map +1 -1
  202. package/esm/src/agent/hosted/child-mirror.js +6 -0
  203. package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts +11 -0
  204. package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts.map +1 -1
  205. package/esm/src/agent/hosted/child-pending-tool-lifecycle.js +2 -0
  206. package/esm/src/agent/hosted/child-requested-tools.d.ts +18 -0
  207. package/esm/src/agent/hosted/child-requested-tools.d.ts.map +1 -1
  208. package/esm/src/agent/hosted/child-requested-tools.js +13 -0
  209. package/esm/src/agent/hosted/child-status.d.ts +11 -0
  210. package/esm/src/agent/hosted/child-status.d.ts.map +1 -1
  211. package/esm/src/agent/hosted/child-status.js +6 -0
  212. package/esm/src/agent/hosted/child-steering-tools.d.ts +6 -0
  213. package/esm/src/agent/hosted/child-steering-tools.d.ts.map +1 -1
  214. package/esm/src/agent/hosted/child-steering-tools.js +2 -0
  215. package/esm/src/agent/hosted/child-stream-watchdog.d.ts +8 -0
  216. package/esm/src/agent/hosted/child-stream-watchdog.d.ts.map +1 -1
  217. package/esm/src/agent/hosted/child-stream-watchdog.js +6 -0
  218. package/esm/src/agent/hosted/child-tool-input.d.ts +9 -1
  219. package/esm/src/agent/hosted/child-tool-input.d.ts.map +1 -1
  220. package/esm/src/agent/hosted/child-tool-input.js +6 -1
  221. package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts +4 -0
  222. package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts.map +1 -1
  223. package/esm/src/agent/hosted/cloud-chat-execution-preparation.js +2 -0
  224. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts +2 -0
  225. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts.map +1 -1
  226. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.js +1 -0
  227. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +3 -0
  228. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
  229. package/esm/src/agent/hosted/cloud-runtime-system-messages.js +2 -0
  230. package/esm/src/agent/hosted/default-chat-runtime.d.ts +10 -0
  231. package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
  232. package/esm/src/agent/hosted/default-chat-runtime.js +1 -0
  233. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +17 -2
  234. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
  235. package/esm/src/agent/hosted/default-invoke-agent-tool.js +8 -2
  236. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +7 -0
  237. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
  238. package/esm/src/agent/hosted/default-project-steering-refresh.js +2 -0
  239. package/esm/src/agent/hosted/durable-chat-run-start.d.ts +9 -0
  240. package/esm/src/agent/hosted/durable-chat-run-start.d.ts.map +1 -1
  241. package/esm/src/agent/hosted/durable-chat-run-start.js +2 -0
  242. package/esm/src/agent/hosted/durable-child-fork-execution.d.ts +22 -0
  243. package/esm/src/agent/hosted/durable-child-fork-execution.d.ts.map +1 -1
  244. package/esm/src/agent/hosted/durable-child-fork-execution.js +6 -0
  245. package/esm/src/agent/hosted/finalized-message.d.ts +10 -0
  246. package/esm/src/agent/hosted/finalized-message.d.ts.map +1 -1
  247. package/esm/src/agent/hosted/finalized-message.js +4 -0
  248. package/esm/src/agent/hosted/form-input-tool.d.ts +2 -0
  249. package/esm/src/agent/hosted/form-input-tool.d.ts.map +1 -1
  250. package/esm/src/agent/hosted/form-input-tool.js +1 -0
  251. package/esm/src/agent/hosted/lifecycle.d.ts +6 -0
  252. package/esm/src/agent/hosted/lifecycle.d.ts.map +1 -1
  253. package/esm/src/agent/hosted/lifecycle.js +1 -0
  254. package/esm/src/agent/hosted/prepared-chat-execution.d.ts +6 -0
  255. package/esm/src/agent/hosted/prepared-chat-execution.d.ts.map +1 -1
  256. package/esm/src/agent/hosted/prepared-chat-execution.js +2 -0
  257. package/esm/src/agent/hosted/project-remote-tool-source.d.ts +8 -0
  258. package/esm/src/agent/hosted/project-remote-tool-source.d.ts.map +1 -1
  259. package/esm/src/agent/hosted/project-remote-tool-source.js +2 -0
  260. package/esm/src/agent/hosted/project-steering-adapter.d.ts +5 -0
  261. package/esm/src/agent/hosted/project-steering-adapter.d.ts.map +1 -1
  262. package/esm/src/agent/hosted/project-steering-adapter.js +1 -0
  263. package/esm/src/agent/hosted/response-stream.d.ts +4 -0
  264. package/esm/src/agent/hosted/response-stream.d.ts.map +1 -1
  265. package/esm/src/agent/hosted/response-stream.js +1 -0
  266. package/esm/src/agent/hosted/runtime-request-config.d.ts +8 -0
  267. package/esm/src/agent/hosted/runtime-request-config.d.ts.map +1 -1
  268. package/esm/src/agent/hosted/runtime-request-config.js +4 -0
  269. package/esm/src/agent/hosted/runtime-state-resolver.d.ts +7 -0
  270. package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
  271. package/esm/src/agent/hosted/runtime-state-resolver.js +1 -0
  272. package/esm/src/agent/hosted/stream-finalization.d.ts +7 -0
  273. package/esm/src/agent/hosted/stream-finalization.d.ts.map +1 -1
  274. package/esm/src/agent/hosted/stream-finalization.js +2 -0
  275. package/esm/src/agent/hosted/stream-terminal-error.d.ts +4 -0
  276. package/esm/src/agent/hosted/stream-terminal-error.d.ts.map +1 -1
  277. package/esm/src/agent/hosted/stream-terminal-error.js +3 -0
  278. package/esm/src/agent/hosted/trace-attributes.d.ts +9 -0
  279. package/esm/src/agent/hosted/trace-attributes.d.ts.map +1 -1
  280. package/esm/src/agent/hosted/trace-attributes.js +6 -0
  281. package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts +13 -0
  282. package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
  283. package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +4 -0
  284. package/esm/src/agent/input/human-input.d.ts +22 -0
  285. package/esm/src/agent/input/human-input.d.ts.map +1 -1
  286. package/esm/src/agent/input/human-input.js +10 -0
  287. package/esm/src/agent/input/request-protocol.d.ts +14 -0
  288. package/esm/src/agent/input/request-protocol.d.ts.map +1 -1
  289. package/esm/src/agent/input/request-protocol.js +12 -0
  290. package/esm/src/agent/memory/memory-interface.d.ts +3 -0
  291. package/esm/src/agent/memory/memory-interface.d.ts.map +1 -1
  292. package/esm/src/agent/memory/memory.d.ts +4 -0
  293. package/esm/src/agent/memory/memory.d.ts.map +1 -1
  294. package/esm/src/agent/memory/memory.js +4 -0
  295. package/esm/src/agent/memory/redis.d.ts +2 -0
  296. package/esm/src/agent/memory/redis.d.ts.map +1 -1
  297. package/esm/src/agent/memory/redis.js +2 -0
  298. package/esm/src/agent/project/agent-runtime.d.ts +10 -0
  299. package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
  300. package/esm/src/agent/project/agent-runtime.js +7 -0
  301. package/esm/src/agent/project/context.d.ts +3 -0
  302. package/esm/src/agent/project/context.d.ts.map +1 -1
  303. package/esm/src/agent/project/context.js +2 -0
  304. package/esm/src/agent/project/live-studio-mcp-tools.d.ts +3 -0
  305. package/esm/src/agent/project/live-studio-mcp-tools.d.ts.map +1 -1
  306. package/esm/src/agent/project/live-studio-mcp-tools.js +2 -0
  307. package/esm/src/agent/project/steering-mutation.d.ts +7 -0
  308. package/esm/src/agent/project/steering-mutation.d.ts.map +1 -1
  309. package/esm/src/agent/project/steering-mutation.js +4 -0
  310. package/esm/src/agent/react/use-agent.d.ts +3 -0
  311. package/esm/src/agent/react/use-agent.d.ts.map +1 -1
  312. package/esm/src/agent/react/use-agent.js +1 -0
  313. package/esm/src/agent/react/use-chat/types.d.ts +7 -2
  314. package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
  315. package/esm/src/agent/react/use-completion.d.ts +2 -0
  316. package/esm/src/agent/react/use-completion.d.ts.map +1 -1
  317. package/esm/src/agent/react/use-streaming.d.ts +3 -0
  318. package/esm/src/agent/react/use-streaming.d.ts.map +1 -1
  319. package/esm/src/agent/react/use-streaming.js +1 -0
  320. package/esm/src/agent/react/use-voice-input.d.ts +3 -0
  321. package/esm/src/agent/react/use-voice-input.d.ts.map +1 -1
  322. package/esm/src/agent/react/use-voice-input.js +1 -0
  323. package/esm/src/agent/runtime/ag-ui-contract.d.ts +11 -0
  324. package/esm/src/agent/runtime/ag-ui-contract.d.ts.map +1 -1
  325. package/esm/src/agent/runtime/ag-ui-contract.js +9 -2
  326. package/esm/src/agent/runtime/agent-definition-files.d.ts +7 -0
  327. package/esm/src/agent/runtime/agent-definition-files.d.ts.map +1 -1
  328. package/esm/src/agent/runtime/agent-definition-files.js +5 -0
  329. package/esm/src/agent/runtime/agent-definition.d.ts +19 -3
  330. package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
  331. package/esm/src/agent/runtime/agent-definition.js +15 -3
  332. package/esm/src/agent/runtime/agent-invocation-contract.d.ts +52 -13
  333. package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
  334. package/esm/src/agent/runtime/agent-invocation-contract.js +45 -15
  335. package/esm/src/agent/runtime/agent-markdown-adapter.d.ts +3 -0
  336. package/esm/src/agent/runtime/agent-markdown-adapter.d.ts.map +1 -1
  337. package/esm/src/agent/runtime/agent-markdown-adapter.js +3 -0
  338. package/esm/src/agent/runtime/builtin-skill-files.d.ts +10 -0
  339. package/esm/src/agent/runtime/builtin-skill-files.d.ts.map +1 -1
  340. package/esm/src/agent/runtime/builtin-skill-files.js +9 -0
  341. package/esm/src/agent/runtime/client-profile.d.ts +17 -3
  342. package/esm/src/agent/runtime/client-profile.d.ts.map +1 -1
  343. package/esm/src/agent/runtime/client-profile.js +14 -3
  344. package/esm/src/agent/runtime/index.d.ts +1 -0
  345. package/esm/src/agent/runtime/index.d.ts.map +1 -1
  346. package/esm/src/agent/runtime/index.js +1 -0
  347. package/esm/src/agent/runtime/load-skill-tool.d.ts +11 -0
  348. package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
  349. package/esm/src/agent/runtime/load-skill-tool.js +3 -0
  350. package/esm/src/agent/runtime/message-adapter.d.ts +9 -0
  351. package/esm/src/agent/runtime/message-adapter.d.ts.map +1 -1
  352. package/esm/src/agent/runtime/message-adapter.js +7 -0
  353. package/esm/src/agent/runtime/message-file-url-refresh.d.ts +3 -0
  354. package/esm/src/agent/runtime/message-file-url-refresh.d.ts.map +1 -1
  355. package/esm/src/agent/runtime/message-file-url-refresh.js +1 -0
  356. package/esm/src/agent/runtime/message-preparation.d.ts +2 -0
  357. package/esm/src/agent/runtime/message-preparation.d.ts.map +1 -1
  358. package/esm/src/agent/runtime/message-preparation.js +1 -0
  359. package/esm/src/agent/runtime/project-files-client.d.ts +18 -2
  360. package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
  361. package/esm/src/agent/runtime/project-files-client.js +10 -2
  362. package/esm/src/agent/runtime/project-skill-catalog.d.ts +6 -0
  363. package/esm/src/agent/runtime/project-skill-catalog.d.ts.map +1 -1
  364. package/esm/src/agent/runtime/project-skill-catalog.js +3 -0
  365. package/esm/src/agent/runtime/project-skill-loader.d.ts +6 -0
  366. package/esm/src/agent/runtime/project-skill-loader.d.ts.map +1 -1
  367. package/esm/src/agent/runtime/project-skill-loader.js +1 -0
  368. package/esm/src/agent/runtime/prompt-block.d.ts +2 -0
  369. package/esm/src/agent/runtime/prompt-block.d.ts.map +1 -1
  370. package/esm/src/agent/runtime/prompt-block.js +1 -0
  371. package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts +4 -0
  372. package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts.map +1 -1
  373. package/esm/src/agent/runtime/provider-native-tool-inventory.js +3 -0
  374. package/esm/src/agent/runtime/provider-tool-compat.d.ts +7 -0
  375. package/esm/src/agent/runtime/provider-tool-compat.d.ts.map +1 -1
  376. package/esm/src/agent/runtime/provider-tool-compat.js +4 -0
  377. package/esm/src/agent/runtime/resume-session.d.ts +9 -0
  378. package/esm/src/agent/runtime/resume-session.d.ts.map +1 -1
  379. package/esm/src/agent/runtime/resume-session.js +7 -0
  380. package/esm/src/agent/runtime/skill-metadata.d.ts +14 -1
  381. package/esm/src/agent/runtime/skill-metadata.d.ts.map +1 -1
  382. package/esm/src/agent/runtime/skill-metadata.js +8 -1
  383. package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
  384. package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
  385. package/esm/src/agent/runtime/skill-prompt.js +3 -0
  386. package/esm/src/agent/runtime/tool-inventory.d.ts +2 -0
  387. package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
  388. package/esm/src/agent/runtime/tool-inventory.js +2 -0
  389. package/esm/src/agent/runtime/upload-url-client.d.ts +4 -0
  390. package/esm/src/agent/runtime/upload-url-client.d.ts.map +1 -1
  391. package/esm/src/agent/runtime/upload-url-client.js +1 -0
  392. package/esm/src/agent/schemas/agent.schema.d.ts +14 -0
  393. package/esm/src/agent/schemas/agent.schema.d.ts.map +1 -1
  394. package/esm/src/agent/service/abort-rejection-guard.d.ts +8 -0
  395. package/esm/src/agent/service/abort-rejection-guard.d.ts.map +1 -1
  396. package/esm/src/agent/service/abort-rejection-guard.js +2 -0
  397. package/esm/src/agent/service/auth.d.ts +16 -0
  398. package/esm/src/agent/service/auth.d.ts.map +1 -1
  399. package/esm/src/agent/service/auth.js +4 -0
  400. package/esm/src/agent/service/before-stream.d.ts +4 -0
  401. package/esm/src/agent/service/before-stream.d.ts.map +1 -1
  402. package/esm/src/agent/service/bootstrap.d.ts +7 -0
  403. package/esm/src/agent/service/bootstrap.d.ts.map +1 -1
  404. package/esm/src/agent/service/bootstrap.js +2 -0
  405. package/esm/src/agent/service/config.d.ts +11 -0
  406. package/esm/src/agent/service/config.d.ts.map +1 -1
  407. package/esm/src/agent/service/config.js +10 -0
  408. package/esm/src/agent/service/definition.d.ts +5 -0
  409. package/esm/src/agent/service/definition.d.ts.map +1 -1
  410. package/esm/src/agent/service/detached-run-tracker.d.ts +8 -0
  411. package/esm/src/agent/service/detached-run-tracker.d.ts.map +1 -1
  412. package/esm/src/agent/service/detached-run-tracker.js +2 -0
  413. package/esm/src/agent/service/env-files.d.ts +6 -0
  414. package/esm/src/agent/service/env-files.d.ts.map +1 -1
  415. package/esm/src/agent/service/env-files.js +2 -0
  416. package/esm/src/agent/service/external-worker-client.d.ts +16 -0
  417. package/esm/src/agent/service/external-worker-client.d.ts.map +1 -1
  418. package/esm/src/agent/service/external-worker-client.js +5 -0
  419. package/esm/src/agent/service/node-runtime-infrastructure.d.ts +6 -0
  420. package/esm/src/agent/service/node-runtime-infrastructure.d.ts.map +1 -1
  421. package/esm/src/agent/service/node-runtime-infrastructure.js +2 -0
  422. package/esm/src/agent/service/node-telemetry.d.ts +18 -0
  423. package/esm/src/agent/service/node-telemetry.d.ts.map +1 -1
  424. package/esm/src/agent/service/node-telemetry.js +4 -0
  425. package/esm/src/agent/service/registration.d.ts +16 -0
  426. package/esm/src/agent/service/registration.d.ts.map +1 -1
  427. package/esm/src/agent/service/registration.js +10 -0
  428. package/esm/src/agent/service/request-auth-cache.d.ts +4 -0
  429. package/esm/src/agent/service/request-auth-cache.d.ts.map +1 -1
  430. package/esm/src/agent/service/request-auth-cache.js +1 -0
  431. package/esm/src/agent/service/response-like.d.ts +1 -0
  432. package/esm/src/agent/service/response-like.d.ts.map +1 -1
  433. package/esm/src/agent/service/response-like.js +1 -0
  434. package/esm/src/agent/service/routes.d.ts +15 -0
  435. package/esm/src/agent/service/routes.d.ts.map +1 -1
  436. package/esm/src/agent/service/routes.js +1 -0
  437. package/esm/src/agent/service/runtime.d.ts +21 -0
  438. package/esm/src/agent/service/runtime.d.ts.map +1 -1
  439. package/esm/src/agent/service/runtime.js +5 -0
  440. package/esm/src/agent/service/server.d.ts +9 -0
  441. package/esm/src/agent/service/server.d.ts.map +1 -1
  442. package/esm/src/agent/service/server.js +3 -0
  443. package/esm/src/agent/streaming/chat-ui-message-stream.d.ts +4 -0
  444. package/esm/src/agent/streaming/chat-ui-message-stream.d.ts.map +1 -1
  445. package/esm/src/agent/streaming/chat-ui-message-stream.js +1 -0
  446. package/esm/src/agent/streaming/data-stream.d.ts +6 -0
  447. package/esm/src/agent/streaming/data-stream.d.ts.map +1 -1
  448. package/esm/src/agent/streaming/data-stream.js +6 -0
  449. package/esm/src/agent/streaming/fork-runtime-stream.d.ts +41 -4
  450. package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
  451. package/esm/src/agent/streaming/fork-runtime-stream.js +25 -3
  452. package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts +15 -0
  453. package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts.map +1 -1
  454. package/esm/src/agent/streaming/mirrored-tool-chunk-state.js +8 -0
  455. package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts +3 -0
  456. package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts.map +1 -1
  457. package/esm/src/agent/streaming/tool-execution-data-event-bridge.js +1 -0
  458. package/esm/src/agent/testing/agent-tester.d.ts +8 -0
  459. package/esm/src/agent/testing/agent-tester.d.ts.map +1 -1
  460. package/esm/src/agent/testing/agent-tester.js +5 -0
  461. package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts +3 -0
  462. package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts.map +1 -1
  463. package/esm/src/agent/testing/durable-run-canaries/cli-runner.js +1 -0
  464. package/esm/src/agent/testing/durable-run-canaries/environment.d.ts +3 -0
  465. package/esm/src/agent/testing/durable-run-canaries/environment.d.ts.map +1 -1
  466. package/esm/src/agent/testing/durable-run-canaries/environment.js +2 -0
  467. package/esm/src/agent/testing/durable-run-canaries/runner.d.ts +16 -0
  468. package/esm/src/agent/testing/durable-run-canaries/runner.d.ts.map +1 -1
  469. package/esm/src/agent/testing/durable-run-canaries/runner.js +5 -0
  470. package/esm/src/agent/testing/durable-run-canaries/validation.d.ts +5 -0
  471. package/esm/src/agent/testing/durable-run-canaries/validation.d.ts.map +1 -1
  472. package/esm/src/agent/testing/durable-run-canaries/validation.js +5 -0
  473. package/esm/src/agent/testing/live-evals/api-client.d.ts +24 -0
  474. package/esm/src/agent/testing/live-evals/api-client.d.ts.map +1 -1
  475. package/esm/src/agent/testing/live-evals/api-client.js +11 -0
  476. package/esm/src/agent/testing/live-evals/cli-runner.d.ts +4 -0
  477. package/esm/src/agent/testing/live-evals/cli-runner.d.ts.map +1 -1
  478. package/esm/src/agent/testing/live-evals/cli-runner.js +1 -0
  479. package/esm/src/agent/testing/live-evals/environment.d.ts +3 -0
  480. package/esm/src/agent/testing/live-evals/environment.d.ts.map +1 -1
  481. package/esm/src/agent/testing/live-evals/environment.js +2 -0
  482. package/esm/src/agent/testing/live-evals/formatting.d.ts +4 -0
  483. package/esm/src/agent/testing/live-evals/formatting.d.ts.map +1 -1
  484. package/esm/src/agent/testing/live-evals/formatting.js +4 -0
  485. package/esm/src/agent/testing/live-evals/metadata.d.ts +8 -0
  486. package/esm/src/agent/testing/live-evals/metadata.d.ts.map +1 -1
  487. package/esm/src/agent/testing/live-evals/metadata.js +4 -0
  488. package/esm/src/agent/testing/live-evals/performance.d.ts +4 -0
  489. package/esm/src/agent/testing/live-evals/performance.d.ts.map +1 -1
  490. package/esm/src/agent/testing/live-evals/performance.js +1 -0
  491. package/esm/src/agent/testing/live-evals/preflight.d.ts +3 -0
  492. package/esm/src/agent/testing/live-evals/preflight.d.ts.map +1 -1
  493. package/esm/src/agent/testing/live-evals/preflight.js +2 -0
  494. package/esm/src/agent/testing/live-evals/report.d.ts +9 -0
  495. package/esm/src/agent/testing/live-evals/report.d.ts.map +1 -1
  496. package/esm/src/agent/testing/live-evals/report.js +6 -0
  497. package/esm/src/agent/testing/live-evals/request.d.ts +2 -0
  498. package/esm/src/agent/testing/live-evals/request.d.ts.map +1 -1
  499. package/esm/src/agent/testing/live-evals/request.js +2 -0
  500. package/esm/src/agent/testing/live-evals/result.d.ts +4 -0
  501. package/esm/src/agent/testing/live-evals/result.d.ts.map +1 -1
  502. package/esm/src/agent/testing/live-evals/result.js +3 -0
  503. package/esm/src/agent/testing/live-evals/runner.d.ts +11 -0
  504. package/esm/src/agent/testing/live-evals/runner.d.ts.map +1 -1
  505. package/esm/src/agent/testing/live-evals/runner.js +5 -0
  506. package/esm/src/agent/types.d.ts +18 -0
  507. package/esm/src/agent/types.d.ts.map +1 -1
  508. package/esm/src/agent/types.js +4 -0
  509. package/esm/src/channels/control-plane.d.ts +32 -0
  510. package/esm/src/channels/control-plane.d.ts.map +1 -1
  511. package/esm/src/channels/control-plane.js +22 -0
  512. package/esm/src/channels/invoke.d.ts +24 -0
  513. package/esm/src/channels/invoke.d.ts.map +1 -1
  514. package/esm/src/channels/invoke.js +18 -0
  515. package/esm/src/chat/ag-ui.d.ts +37 -5
  516. package/esm/src/chat/ag-ui.d.ts.map +1 -1
  517. package/esm/src/chat/ag-ui.js +25 -5
  518. package/esm/src/chat/chat-ui-message-helpers.d.ts +7 -0
  519. package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
  520. package/esm/src/chat/chat-ui-message-helpers.js +6 -0
  521. package/esm/src/chat/conversation.d.ts +52 -5
  522. package/esm/src/chat/conversation.d.ts.map +1 -1
  523. package/esm/src/chat/conversation.js +42 -5
  524. package/esm/src/chat/final-step-fallback.d.ts +20 -0
  525. package/esm/src/chat/final-step-fallback.d.ts.map +1 -1
  526. package/esm/src/chat/final-step-fallback.js +14 -0
  527. package/esm/src/chat/hosted-ui-chunk-mapping.d.ts +3 -0
  528. package/esm/src/chat/hosted-ui-chunk-mapping.d.ts.map +1 -1
  529. package/esm/src/chat/hosted-ui-chunk-mapping.js +1 -0
  530. package/esm/src/chat/message-prep.d.ts +18 -0
  531. package/esm/src/chat/message-prep.d.ts.map +1 -1
  532. package/esm/src/chat/message-prep.js +18 -0
  533. package/esm/src/chat/protocol.d.ts +25 -0
  534. package/esm/src/chat/protocol.d.ts.map +1 -1
  535. package/esm/src/chat/provider-errors.d.ts +6 -0
  536. package/esm/src/chat/provider-errors.d.ts.map +1 -1
  537. package/esm/src/chat/provider-errors.js +5 -0
  538. package/esm/src/chat/stream-watchdog.d.ts +11 -0
  539. package/esm/src/chat/stream-watchdog.d.ts.map +1 -1
  540. package/esm/src/chat/stream-watchdog.js +8 -0
  541. package/esm/src/chat/types.d.ts +71 -7
  542. package/esm/src/chat/types.d.ts.map +1 -1
  543. package/esm/src/chat/types.js +35 -7
  544. package/esm/src/config/define-config.d.ts +1 -0
  545. package/esm/src/config/define-config.d.ts.map +1 -1
  546. package/esm/src/config/define-config.js +1 -0
  547. package/esm/src/data/helpers.d.ts +2 -0
  548. package/esm/src/data/helpers.d.ts.map +1 -1
  549. package/esm/src/data/helpers.js +2 -0
  550. package/esm/src/data/schemas/data.schema.d.ts +2 -0
  551. package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
  552. package/esm/src/embedding/react/use-uploads.d.ts +3 -1
  553. package/esm/src/embedding/react/use-uploads.d.ts.map +1 -1
  554. package/esm/src/embedding/types.d.ts +15 -0
  555. package/esm/src/embedding/types.d.ts.map +1 -1
  556. package/esm/src/extensions/contracts.d.ts +5 -0
  557. package/esm/src/extensions/contracts.d.ts.map +1 -1
  558. package/esm/src/extensions/contracts.js +5 -0
  559. package/esm/src/extensions/errors.d.ts +4 -0
  560. package/esm/src/extensions/errors.d.ts.map +1 -1
  561. package/esm/src/extensions/errors.js +4 -0
  562. package/esm/src/extensions/llm/llm-provider-registry.d.ts +1 -0
  563. package/esm/src/extensions/llm/llm-provider-registry.d.ts.map +1 -1
  564. package/esm/src/extensions/llm/llm-provider-registry.js +1 -0
  565. package/esm/src/extensions/loader.d.ts +1 -0
  566. package/esm/src/extensions/loader.d.ts.map +1 -1
  567. package/esm/src/extensions/loader.js +1 -0
  568. package/esm/src/extensions/observability/node-telemetry-provider.d.ts +4 -0
  569. package/esm/src/extensions/observability/node-telemetry-provider.d.ts.map +1 -1
  570. package/esm/src/extensions/parser/code-parser.d.ts +2 -1
  571. package/esm/src/extensions/parser/code-parser.d.ts.map +1 -1
  572. package/esm/src/extensions/recommendations.d.ts +1 -0
  573. package/esm/src/extensions/recommendations.d.ts.map +1 -1
  574. package/esm/src/extensions/recommendations.js +1 -0
  575. package/esm/src/extensions/sandbox/shell-tools.d.ts +7 -0
  576. package/esm/src/extensions/sandbox/shell-tools.d.ts.map +1 -1
  577. package/esm/src/extensions/sandbox/shell-tools.js +1 -0
  578. package/esm/src/extensions/types.d.ts +8 -0
  579. package/esm/src/extensions/types.d.ts.map +1 -1
  580. package/esm/src/html/hydration-script-builder/prod-scripts.d.ts.map +1 -1
  581. package/esm/src/html/hydration-script-builder/prod-scripts.js +1 -0
  582. package/esm/src/html/hydration-script-builder/templates/renderer.d.ts.map +1 -1
  583. package/esm/src/html/hydration-script-builder/templates/renderer.js +26 -14
  584. package/esm/src/integrations/index.d.ts +4 -0
  585. package/esm/src/integrations/index.d.ts.map +1 -1
  586. package/esm/src/integrations/index.js +4 -0
  587. package/esm/src/integrations/schema.d.ts +14 -0
  588. package/esm/src/integrations/schema.d.ts.map +1 -1
  589. package/esm/src/integrations/schema.js +7 -0
  590. package/esm/src/integrations/types.d.ts +4 -0
  591. package/esm/src/integrations/types.d.ts.map +1 -1
  592. package/esm/src/internal-agents/schema.js +2 -2
  593. package/esm/src/jobs/jobs-client.d.ts +15 -0
  594. package/esm/src/jobs/jobs-client.d.ts.map +1 -1
  595. package/esm/src/jobs/jobs-client.js +2 -0
  596. package/esm/src/jobs/schemas.d.ts +53 -0
  597. package/esm/src/jobs/schemas.d.ts.map +1 -1
  598. package/esm/src/jobs/schemas.js +28 -0
  599. package/esm/src/mcp/elicitation.d.ts +5 -0
  600. package/esm/src/mcp/elicitation.d.ts.map +1 -1
  601. package/esm/src/mcp/elicitation.js +2 -0
  602. package/esm/src/mcp/registry.d.ts +6 -0
  603. package/esm/src/mcp/registry.d.ts.map +1 -1
  604. package/esm/src/mcp/registry.js +6 -0
  605. package/esm/src/mcp/schemas/mcp.schema.d.ts +2 -0
  606. package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
  607. package/esm/src/mcp/server.d.ts +3 -0
  608. package/esm/src/mcp/server.d.ts.map +1 -1
  609. package/esm/src/mcp/server.js +2 -0
  610. package/esm/src/mcp/sse.d.ts +2 -0
  611. package/esm/src/mcp/sse.d.ts.map +1 -1
  612. package/esm/src/mcp/sse.js +2 -0
  613. package/esm/src/mcp/task-store.d.ts +1 -0
  614. package/esm/src/mcp/task-store.d.ts.map +1 -1
  615. package/esm/src/mcp/task-store.js +2 -0
  616. package/esm/src/middleware/builtin/logger.d.ts +5 -0
  617. package/esm/src/middleware/builtin/logger.d.ts.map +1 -1
  618. package/esm/src/middleware/builtin/logger.js +3 -0
  619. package/esm/src/middleware/builtin/security/rate-limit.d.ts +3 -0
  620. package/esm/src/middleware/builtin/security/rate-limit.d.ts.map +1 -1
  621. package/esm/src/middleware/builtin/security/rate-limit.js +2 -0
  622. package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts +2 -0
  623. package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts.map +1 -1
  624. package/esm/src/middleware/builtin/security/redis-rate-limit.js +1 -0
  625. package/esm/src/middleware/builtin/security/types.d.ts +1 -0
  626. package/esm/src/middleware/builtin/security/types.d.ts.map +1 -1
  627. package/esm/src/middleware/builtin/timeout.d.ts +1 -0
  628. package/esm/src/middleware/builtin/timeout.d.ts.map +1 -1
  629. package/esm/src/middleware/builtin/types.d.ts +1 -0
  630. package/esm/src/middleware/builtin/types.d.ts.map +1 -1
  631. package/esm/src/middleware/core/context.d.ts +1 -0
  632. package/esm/src/middleware/core/context.d.ts.map +1 -1
  633. package/esm/src/middleware/core/context.js +1 -0
  634. package/esm/src/middleware/core/pipeline/pipeline.d.ts +1 -0
  635. package/esm/src/middleware/core/pipeline/pipeline.d.ts.map +1 -1
  636. package/esm/src/middleware/core/pipeline/pipeline.js +1 -0
  637. package/esm/src/middleware/core/pipeline/types.d.ts +1 -0
  638. package/esm/src/middleware/core/pipeline/types.d.ts.map +1 -1
  639. package/esm/src/middleware/core/types.d.ts +5 -0
  640. package/esm/src/middleware/core/types.d.ts.map +1 -1
  641. package/esm/src/oauth/handlers/callback-handler.d.ts +3 -1
  642. package/esm/src/oauth/handlers/callback-handler.d.ts.map +1 -1
  643. package/esm/src/oauth/handlers/callback-handler.js +1 -0
  644. package/esm/src/oauth/handlers/init-handler.d.ts +7 -3
  645. package/esm/src/oauth/handlers/init-handler.d.ts.map +1 -1
  646. package/esm/src/oauth/handlers/init-handler.js +3 -0
  647. package/esm/src/oauth/providers/atlassian.d.ts +3 -0
  648. package/esm/src/oauth/providers/atlassian.d.ts.map +1 -1
  649. package/esm/src/oauth/providers/atlassian.js +3 -0
  650. package/esm/src/oauth/providers/base.d.ts +2 -0
  651. package/esm/src/oauth/providers/base.d.ts.map +1 -1
  652. package/esm/src/oauth/providers/base.js +2 -0
  653. package/esm/src/oauth/providers/common.d.ts +26 -0
  654. package/esm/src/oauth/providers/common.d.ts.map +1 -1
  655. package/esm/src/oauth/providers/common.js +26 -0
  656. package/esm/src/oauth/providers/google.d.ts +4 -0
  657. package/esm/src/oauth/providers/google.d.ts.map +1 -1
  658. package/esm/src/oauth/providers/google.js +4 -0
  659. package/esm/src/oauth/providers/microsoft.d.ts +4 -0
  660. package/esm/src/oauth/providers/microsoft.d.ts.map +1 -1
  661. package/esm/src/oauth/providers/microsoft.js +4 -0
  662. package/esm/src/oauth/schemas/oauth.schema.d.ts +7 -0
  663. package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
  664. package/esm/src/observability/auto-instrument/http-instrumentation.d.ts +2 -0
  665. package/esm/src/observability/auto-instrument/http-instrumentation.d.ts.map +1 -1
  666. package/esm/src/observability/auto-instrument/http-instrumentation.js +2 -0
  667. package/esm/src/observability/auto-instrument/orchestrator.d.ts +2 -0
  668. package/esm/src/observability/auto-instrument/orchestrator.d.ts.map +1 -1
  669. package/esm/src/observability/auto-instrument/orchestrator.js +2 -0
  670. package/esm/src/observability/auto-instrument/react-instrumentation.d.ts +2 -0
  671. package/esm/src/observability/auto-instrument/react-instrumentation.d.ts.map +1 -1
  672. package/esm/src/observability/auto-instrument/react-instrumentation.js +2 -0
  673. package/esm/src/observability/auto-instrument/types.d.ts +1 -0
  674. package/esm/src/observability/auto-instrument/types.d.ts.map +1 -1
  675. package/esm/src/observability/auto-instrument/wrappers.d.ts +3 -0
  676. package/esm/src/observability/auto-instrument/wrappers.d.ts.map +1 -1
  677. package/esm/src/observability/auto-instrument/wrappers.js +3 -0
  678. package/esm/src/observability/error-collector.d.ts +8 -0
  679. package/esm/src/observability/error-collector.d.ts.map +1 -1
  680. package/esm/src/observability/error-collector.js +4 -0
  681. package/esm/src/observability/file-log-subscriber.d.ts +4 -0
  682. package/esm/src/observability/file-log-subscriber.d.ts.map +1 -1
  683. package/esm/src/observability/file-log-subscriber.js +3 -0
  684. package/esm/src/observability/log-buffer.d.ts +8 -0
  685. package/esm/src/observability/log-buffer.d.ts.map +1 -1
  686. package/esm/src/observability/log-buffer.js +4 -0
  687. package/esm/src/observability/metrics/index.d.ts +22 -0
  688. package/esm/src/observability/metrics/index.d.ts.map +1 -1
  689. package/esm/src/observability/metrics/index.js +22 -0
  690. package/esm/src/observability/metrics/types.d.ts +1 -0
  691. package/esm/src/observability/metrics/types.d.ts.map +1 -1
  692. package/esm/src/observability/tracing/index.d.ts +14 -0
  693. package/esm/src/observability/tracing/index.d.ts.map +1 -1
  694. package/esm/src/observability/tracing/index.js +14 -0
  695. package/esm/src/observability/tracing/otlp-setup.d.ts +15 -0
  696. package/esm/src/observability/tracing/otlp-setup.d.ts.map +1 -1
  697. package/esm/src/observability/tracing/otlp-setup.js +14 -0
  698. package/esm/src/observability/tracing/service-tracer.d.ts +15 -0
  699. package/esm/src/observability/tracing/service-tracer.d.ts.map +1 -1
  700. package/esm/src/observability/tracing/service-tracer.js +1 -0
  701. package/esm/src/observability/tracing/span-names.d.ts +1 -0
  702. package/esm/src/observability/tracing/span-names.d.ts.map +1 -1
  703. package/esm/src/observability/tracing/span-names.js +1 -0
  704. package/esm/src/observability/tracing/types.d.ts +2 -0
  705. package/esm/src/observability/tracing/types.d.ts.map +1 -1
  706. package/esm/src/platform/compat/fs.d.ts +15 -0
  707. package/esm/src/platform/compat/fs.d.ts.map +1 -1
  708. package/esm/src/platform/compat/fs.js +14 -0
  709. package/esm/src/platform/compat/http/responses.d.ts +7 -0
  710. package/esm/src/platform/compat/http/responses.d.ts.map +1 -1
  711. package/esm/src/platform/compat/http/responses.js +7 -0
  712. package/esm/src/platform/compat/path/basic-operations.d.ts +4 -0
  713. package/esm/src/platform/compat/path/basic-operations.d.ts.map +1 -1
  714. package/esm/src/platform/compat/path/basic-operations.js +4 -0
  715. package/esm/src/platform/compat/path/resolution.d.ts +1 -0
  716. package/esm/src/platform/compat/path/resolution.d.ts.map +1 -1
  717. package/esm/src/platform/compat/path/resolution.js +1 -0
  718. package/esm/src/platform/compat/process/env.d.ts +4 -0
  719. package/esm/src/platform/compat/process/env.d.ts.map +1 -1
  720. package/esm/src/platform/compat/process/env.js +4 -0
  721. package/esm/src/platform/compat/process/lifecycle.d.ts +1 -0
  722. package/esm/src/platform/compat/process/lifecycle.d.ts.map +1 -1
  723. package/esm/src/platform/compat/process/lifecycle.js +1 -0
  724. package/esm/src/prompt/factory.d.ts +1 -0
  725. package/esm/src/prompt/factory.d.ts.map +1 -1
  726. package/esm/src/prompt/factory.js +1 -0
  727. package/esm/src/prompt/registry.d.ts +1 -0
  728. package/esm/src/prompt/registry.d.ts.map +1 -1
  729. package/esm/src/prompt/registry.js +1 -0
  730. package/esm/src/prompt/schemas/prompt.schema.d.ts +1 -0
  731. package/esm/src/prompt/schemas/prompt.schema.d.ts.map +1 -1
  732. package/esm/src/prompt/types.d.ts +1 -0
  733. package/esm/src/prompt/types.d.ts.map +1 -1
  734. package/esm/src/provider/model-registry.d.ts +1 -0
  735. package/esm/src/provider/model-registry.d.ts.map +1 -1
  736. package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts +1 -0
  737. package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts.map +1 -1
  738. package/esm/src/provider/runtime-loader/provider-embedding-responses.js +1 -0
  739. package/esm/src/provider/runtime-loader/provider-endpoints.d.ts +7 -0
  740. package/esm/src/provider/runtime-loader/provider-endpoints.d.ts.map +1 -1
  741. package/esm/src/provider/runtime-loader/provider-endpoints.js +7 -0
  742. package/esm/src/provider/runtime-loader/provider-http.d.ts +3 -0
  743. package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
  744. package/esm/src/provider/runtime-loader/provider-http.js +3 -0
  745. package/esm/src/provider/runtime-loader/provider-records.d.ts +1 -0
  746. package/esm/src/provider/runtime-loader/provider-records.d.ts.map +1 -1
  747. package/esm/src/provider/runtime-loader/provider-records.js +1 -0
  748. package/esm/src/provider/runtime-loader/provider-request-init.d.ts +3 -0
  749. package/esm/src/provider/runtime-loader/provider-request-init.d.ts.map +1 -1
  750. package/esm/src/provider/runtime-loader/provider-request-init.js +3 -0
  751. package/esm/src/provider/runtime-loader/provider-sse.d.ts +1 -0
  752. package/esm/src/provider/runtime-loader/provider-sse.d.ts.map +1 -1
  753. package/esm/src/provider/runtime-loader/provider-sse.js +1 -0
  754. package/esm/src/provider/runtime-loader/provider-usage.d.ts +2 -0
  755. package/esm/src/provider/runtime-loader/provider-usage.d.ts.map +1 -1
  756. package/esm/src/provider/runtime-loader/provider-usage.js +1 -0
  757. package/esm/src/provider/runtime-loader/tool-input-status.d.ts +1 -0
  758. package/esm/src/provider/runtime-loader/tool-input-status.d.ts.map +1 -1
  759. package/esm/src/provider/runtime-loader/tool-input-status.js +2 -0
  760. package/esm/src/provider/runtime-loader.d.ts +10 -0
  761. package/esm/src/provider/runtime-loader.d.ts.map +1 -1
  762. package/esm/src/provider/runtime-loader.js +7 -0
  763. package/esm/src/provider/types.d.ts +1 -0
  764. package/esm/src/provider/types.d.ts.map +1 -1
  765. package/esm/src/provider/veryfront-cloud/context.d.ts +3 -0
  766. package/esm/src/provider/veryfront-cloud/context.d.ts.map +1 -1
  767. package/esm/src/provider/veryfront-cloud/context.js +2 -0
  768. package/esm/src/provider/veryfront-cloud/model-catalog.d.ts +16 -0
  769. package/esm/src/provider/veryfront-cloud/model-catalog.d.ts.map +1 -1
  770. package/esm/src/provider/veryfront-cloud/model-catalog.js +14 -0
  771. package/esm/src/provider/veryfront-cloud/shared.d.ts +1 -0
  772. package/esm/src/provider/veryfront-cloud/shared.d.ts.map +1 -1
  773. package/esm/src/react/compat/ssr-adapter/string-renderer.d.ts.map +1 -1
  774. package/esm/src/react/compat/ssr-adapter/string-renderer.js +3 -2
  775. package/esm/src/react/components/MDXProvider.d.ts +3 -0
  776. package/esm/src/react/components/MDXProvider.d.ts.map +1 -1
  777. package/esm/src/react/components/MDXProvider.js +2 -0
  778. package/esm/src/react/components/chat/agent-card.d.ts +2 -0
  779. package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
  780. package/esm/src/react/components/chat/agent-card.js +1 -0
  781. package/esm/src/react/components/chat/chat/components/animations.d.ts +3 -0
  782. package/esm/src/react/components/chat/chat/components/animations.d.ts.map +1 -1
  783. package/esm/src/react/components/chat/chat/components/animations.js +3 -0
  784. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +3 -0
  785. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
  786. package/esm/src/react/components/chat/chat/components/attachment-pill.js +1 -0
  787. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +2 -0
  788. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
  789. package/esm/src/react/components/chat/chat/components/branch-picker.js +1 -0
  790. package/esm/src/react/components/chat/chat/components/code-block.d.ts +2 -0
  791. package/esm/src/react/components/chat/chat/components/code-block.d.ts.map +1 -1
  792. package/esm/src/react/components/chat/chat/components/code-block.js +1 -0
  793. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +2 -0
  794. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts.map +1 -1
  795. package/esm/src/react/components/chat/chat/components/drop-zone.js +1 -0
  796. package/esm/src/react/components/chat/chat/components/empty-state.d.ts +8 -0
  797. package/esm/src/react/components/chat/chat/components/empty-state.d.ts.map +1 -1
  798. package/esm/src/react/components/chat/chat/components/empty-state.js +4 -0
  799. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +2 -0
  800. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts.map +1 -1
  801. package/esm/src/react/components/chat/chat/components/inference-badge.js +1 -0
  802. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +2 -0
  803. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
  804. package/esm/src/react/components/chat/chat/components/inline-citation.js +1 -0
  805. package/esm/src/react/components/chat/chat/components/message-actions.d.ts +2 -0
  806. package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
  807. package/esm/src/react/components/chat/chat/components/message-actions.js +1 -0
  808. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +2 -0
  809. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts.map +1 -1
  810. package/esm/src/react/components/chat/chat/components/message-edit-form.js +1 -0
  811. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +3 -0
  812. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
  813. package/esm/src/react/components/chat/chat/components/message-feedback.js +1 -0
  814. package/esm/src/react/components/chat/chat/components/quick-actions.d.ts +3 -0
  815. package/esm/src/react/components/chat/chat/components/quick-actions.d.ts.map +1 -1
  816. package/esm/src/react/components/chat/chat/components/quick-actions.js +1 -0
  817. package/esm/src/react/components/chat/chat/components/reasoning.d.ts +1 -0
  818. package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
  819. package/esm/src/react/components/chat/chat/components/reasoning.js +1 -0
  820. package/esm/src/react/components/chat/chat/components/sidebar.d.ts +2 -0
  821. package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
  822. package/esm/src/react/components/chat/chat/components/sidebar.js +1 -0
  823. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +2 -0
  824. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts.map +1 -1
  825. package/esm/src/react/components/chat/chat/components/skill-badge.js +1 -0
  826. package/esm/src/react/components/chat/chat/components/sources.d.ts +3 -0
  827. package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
  828. package/esm/src/react/components/chat/chat/components/sources.js +1 -0
  829. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +2 -0
  830. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
  831. package/esm/src/react/components/chat/chat/components/step-indicator.js +1 -0
  832. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts +3 -0
  833. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts.map +1 -1
  834. package/esm/src/react/components/chat/chat/components/tab-switcher.js +1 -0
  835. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +1 -0
  836. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
  837. package/esm/src/react/components/chat/chat/components/tool-ui.js +1 -0
  838. package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts +2 -0
  839. package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts.map +1 -1
  840. package/esm/src/react/components/chat/chat/components/upgrade-cta.js +1 -0
  841. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts +3 -0
  842. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts.map +1 -1
  843. package/esm/src/react/components/chat/chat/components/uploads-panel.js +1 -0
  844. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +2 -0
  845. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
  846. package/esm/src/react/components/chat/chat/composition/chat-composer.js +1 -0
  847. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +2 -0
  848. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts.map +1 -1
  849. package/esm/src/react/components/chat/chat/composition/chat-empty.js +1 -0
  850. package/esm/src/react/components/chat/chat/composition/chat-if.d.ts +2 -0
  851. package/esm/src/react/components/chat/chat/composition/chat-if.d.ts.map +1 -1
  852. package/esm/src/react/components/chat/chat/composition/chat-if.js +1 -0
  853. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +2 -0
  854. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
  855. package/esm/src/react/components/chat/chat/composition/chat-message-list.js +1 -0
  856. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +2 -0
  857. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
  858. package/esm/src/react/components/chat/chat/composition/chat-root.js +1 -0
  859. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +2 -0
  860. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts.map +1 -1
  861. package/esm/src/react/components/chat/chat/composition/error-banner.js +1 -0
  862. package/esm/src/react/components/chat/chat/composition/message.d.ts +2 -0
  863. package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
  864. package/esm/src/react/components/chat/chat/composition/message.js +1 -0
  865. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +2 -0
  866. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts.map +1 -1
  867. package/esm/src/react/components/chat/chat/composition/model-avatar.js +1 -0
  868. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +4 -0
  869. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
  870. package/esm/src/react/components/chat/chat/contexts/chat-context.js +3 -0
  871. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +4 -0
  872. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
  873. package/esm/src/react/components/chat/chat/contexts/composer-context.js +3 -0
  874. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +4 -0
  875. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
  876. package/esm/src/react/components/chat/chat/contexts/message-context.js +3 -0
  877. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts +4 -0
  878. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts.map +1 -1
  879. package/esm/src/react/components/chat/chat/contexts/thread-list-context.js +3 -0
  880. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts +4 -0
  881. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts.map +1 -1
  882. package/esm/src/react/components/chat/chat/hooks/use-threads.js +1 -0
  883. package/esm/src/react/components/chat/chat/index.d.ts +3 -0
  884. package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
  885. package/esm/src/react/components/chat/chat/index.js +2 -0
  886. package/esm/src/react/components/chat/chat-with-sidebar.d.ts +12 -0
  887. package/esm/src/react/components/chat/chat-with-sidebar.d.ts.map +1 -1
  888. package/esm/src/react/components/chat/chat-with-sidebar.js +1 -0
  889. package/esm/src/react/components/chat/error-boundary.d.ts +3 -0
  890. package/esm/src/react/components/chat/error-boundary.d.ts.map +1 -1
  891. package/esm/src/react/components/chat/error-boundary.js +2 -0
  892. package/esm/src/react/components/chat/markdown.d.ts +3 -0
  893. package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
  894. package/esm/src/react/components/chat/markdown.js +1 -0
  895. package/esm/src/react/components/chat/message.d.ts +4 -0
  896. package/esm/src/react/components/chat/message.d.ts.map +1 -1
  897. package/esm/src/react/components/chat/message.js +2 -0
  898. package/esm/src/react/components/chat/model-selector.d.ts +2 -1
  899. package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
  900. package/esm/src/react/components/chat/model-selector.js +1 -0
  901. package/esm/src/react/components/chat/theme.d.ts +2 -0
  902. package/esm/src/react/components/chat/theme.d.ts.map +1 -1
  903. package/esm/src/react/fonts/index.d.ts +3 -0
  904. package/esm/src/react/fonts/index.d.ts.map +1 -1
  905. package/esm/src/react/fonts/index.js +1 -0
  906. package/esm/src/react/runtime/core.d.ts +38 -0
  907. package/esm/src/react/runtime/core.d.ts.map +1 -1
  908. package/esm/src/react/runtime/core.js +6 -0
  909. package/esm/src/rendering/rsc/client-boot.ts +50 -5
  910. package/esm/src/resource/factory.d.ts +1 -0
  911. package/esm/src/resource/factory.d.ts.map +1 -1
  912. package/esm/src/resource/factory.js +1 -0
  913. package/esm/src/resource/registry.d.ts +1 -0
  914. package/esm/src/resource/registry.d.ts.map +1 -1
  915. package/esm/src/resource/registry.js +1 -0
  916. package/esm/src/resource/types.d.ts +2 -0
  917. package/esm/src/resource/types.d.ts.map +1 -1
  918. package/esm/src/routing/api/context-builder.d.ts +1 -0
  919. package/esm/src/routing/api/context-builder.d.ts.map +1 -1
  920. package/esm/src/routing/api/handler.d.ts +2 -0
  921. package/esm/src/routing/api/handler.d.ts.map +1 -1
  922. package/esm/src/routing/api/module-loader/types.d.ts +1 -0
  923. package/esm/src/routing/api/module-loader/types.d.ts.map +1 -1
  924. package/esm/src/runtime/runtime-bridge.d.ts +1 -0
  925. package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
  926. package/esm/src/runtime/runtime-bridge.js +1 -0
  927. package/esm/src/sandbox/agent-service-tools.d.ts +16 -0
  928. package/esm/src/sandbox/agent-service-tools.d.ts.map +1 -1
  929. package/esm/src/sandbox/agent-service-tools.js +6 -0
  930. package/esm/src/sandbox/lazy-sandbox.d.ts +2 -0
  931. package/esm/src/sandbox/lazy-sandbox.d.ts.map +1 -1
  932. package/esm/src/sandbox/lazy-sandbox.js +1 -0
  933. package/esm/src/sandbox/shell-tools.d.ts +3 -0
  934. package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
  935. package/esm/src/sandbox/shell-tools.js +3 -0
  936. package/esm/src/security/http/cors/middleware.d.ts +1 -0
  937. package/esm/src/security/http/cors/middleware.d.ts.map +1 -1
  938. package/esm/src/security/http/cors/middleware.js +1 -0
  939. package/esm/src/security/input-validation/handler.d.ts +2 -0
  940. package/esm/src/security/input-validation/handler.d.ts.map +1 -1
  941. package/esm/src/security/input-validation/parsers.d.ts +3 -0
  942. package/esm/src/security/input-validation/parsers.d.ts.map +1 -1
  943. package/esm/src/security/input-validation/parsers.js +3 -0
  944. package/esm/src/server/build-types.d.ts +1 -0
  945. package/esm/src/server/build-types.d.ts.map +1 -1
  946. package/esm/src/server/dev-server/index.d.ts +1 -0
  947. package/esm/src/server/dev-server/index.d.ts.map +1 -1
  948. package/esm/src/server/dev-server/index.js +1 -0
  949. package/esm/src/server/dev-server/server.d.ts +2 -1
  950. package/esm/src/server/dev-server/server.d.ts.map +1 -1
  951. package/esm/src/server/dev-server/server.js +2 -1
  952. package/esm/src/server/dev-server/types.d.ts +3 -0
  953. package/esm/src/server/dev-server/types.d.ts.map +1 -1
  954. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  955. package/esm/src/server/handlers/dev/framework-candidates.generated.js +75 -0
  956. package/esm/src/server/index.d.ts +3 -0
  957. package/esm/src/server/index.d.ts.map +1 -1
  958. package/esm/src/server/index.js +1 -0
  959. package/esm/src/server/node-handler.d.ts +1 -0
  960. package/esm/src/server/node-handler.d.ts.map +1 -1
  961. package/esm/src/server/node-handler.js +1 -0
  962. package/esm/src/server/production-server.d.ts +3 -0
  963. package/esm/src/server/production-server.d.ts.map +1 -1
  964. package/esm/src/server/production-server.js +1 -0
  965. package/esm/src/server/reload-notifier.d.ts +1 -0
  966. package/esm/src/server/reload-notifier.d.ts.map +1 -1
  967. package/esm/src/server/reload-notifier.js +1 -0
  968. package/esm/src/server/service-server.d.ts +14 -0
  969. package/esm/src/server/service-server.d.ts.map +1 -1
  970. package/esm/src/server/service-server.js +3 -0
  971. package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
  972. package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +1 -1
  973. package/esm/src/testing/assert.d.ts +18 -0
  974. package/esm/src/testing/assert.d.ts.map +1 -1
  975. package/esm/src/testing/assert.js +17 -0
  976. package/esm/src/testing/bdd.d.ts +8 -0
  977. package/esm/src/testing/bdd.d.ts.map +1 -1
  978. package/esm/src/testing/bdd.js +8 -0
  979. package/esm/src/testing/deno-compat.d.ts +8 -0
  980. package/esm/src/testing/deno-compat.d.ts.map +1 -1
  981. package/esm/src/testing/deno-compat.js +8 -0
  982. package/esm/src/testing/isolation.d.ts +1 -0
  983. package/esm/src/testing/isolation.d.ts.map +1 -1
  984. package/esm/src/testing/isolation.js +1 -0
  985. package/esm/src/testing/timing.d.ts +3 -0
  986. package/esm/src/testing/timing.d.ts.map +1 -1
  987. package/esm/src/testing/timing.js +3 -0
  988. package/esm/src/testing/utils.d.ts +1 -0
  989. package/esm/src/testing/utils.d.ts.map +1 -1
  990. package/esm/src/testing/utils.js +1 -0
  991. package/esm/src/tool/context7.d.ts +2 -0
  992. package/esm/src/tool/context7.d.ts.map +1 -1
  993. package/esm/src/tool/context7.js +1 -0
  994. package/esm/src/tool/executor.d.ts +1 -0
  995. package/esm/src/tool/executor.d.ts.map +1 -1
  996. package/esm/src/tool/executor.js +1 -0
  997. package/esm/src/tool/factory.d.ts +3 -0
  998. package/esm/src/tool/factory.d.ts.map +1 -1
  999. package/esm/src/tool/factory.js +2 -0
  1000. package/esm/src/tool/host-tools.d.ts +5 -0
  1001. package/esm/src/tool/host-tools.d.ts.map +1 -1
  1002. package/esm/src/tool/host-tools.js +1 -0
  1003. package/esm/src/tool/project-scoped-remote-tools.d.ts +15 -0
  1004. package/esm/src/tool/project-scoped-remote-tools.d.ts.map +1 -1
  1005. package/esm/src/tool/project-scoped-remote-tools.js +7 -0
  1006. package/esm/src/tool/registry.d.ts +1 -0
  1007. package/esm/src/tool/registry.d.ts.map +1 -1
  1008. package/esm/src/tool/registry.js +1 -0
  1009. package/esm/src/tool/remote-mcp.d.ts +2 -0
  1010. package/esm/src/tool/remote-mcp.d.ts.map +1 -1
  1011. package/esm/src/tool/remote-mcp.js +1 -0
  1012. package/esm/src/tool/remote-source-tools.d.ts +3 -0
  1013. package/esm/src/tool/remote-source-tools.d.ts.map +1 -1
  1014. package/esm/src/tool/remote-source-tools.js +2 -0
  1015. package/esm/src/tool/result.d.ts +2 -0
  1016. package/esm/src/tool/result.d.ts.map +1 -1
  1017. package/esm/src/tool/result.js +2 -0
  1018. package/esm/src/tool/sleep.d.ts +6 -0
  1019. package/esm/src/tool/sleep.d.ts.map +1 -1
  1020. package/esm/src/tool/sleep.js +2 -0
  1021. package/esm/src/tool/tracing.d.ts +5 -0
  1022. package/esm/src/tool/tracing.d.ts.map +1 -1
  1023. package/esm/src/tool/tracing.js +1 -0
  1024. package/esm/src/tool/types.d.ts +2 -1
  1025. package/esm/src/tool/types.d.ts.map +1 -1
  1026. package/esm/src/types/index.d.ts +2 -0
  1027. package/esm/src/types/index.d.ts.map +1 -1
  1028. package/esm/src/utils/bundle-manifest.d.ts +3 -0
  1029. package/esm/src/utils/bundle-manifest.d.ts.map +1 -1
  1030. package/esm/src/utils/bundle-manifest.js +1 -0
  1031. package/esm/src/utils/constants/build.d.ts +2 -0
  1032. package/esm/src/utils/constants/build.d.ts.map +1 -1
  1033. package/esm/src/utils/constants/build.js +2 -0
  1034. package/esm/src/utils/constants/cache.d.ts +4 -0
  1035. package/esm/src/utils/constants/cache.d.ts.map +1 -1
  1036. package/esm/src/utils/constants/cache.js +4 -0
  1037. package/esm/src/utils/constants/cdn.d.ts +4 -0
  1038. package/esm/src/utils/constants/cdn.d.ts.map +1 -1
  1039. package/esm/src/utils/constants/cdn.js +4 -0
  1040. package/esm/src/utils/constants/hash.d.ts +2 -0
  1041. package/esm/src/utils/constants/hash.d.ts.map +1 -1
  1042. package/esm/src/utils/constants/hash.js +2 -0
  1043. package/esm/src/utils/constants/hmr.d.ts +7 -0
  1044. package/esm/src/utils/constants/hmr.d.ts.map +1 -1
  1045. package/esm/src/utils/constants/hmr.js +7 -0
  1046. package/esm/src/utils/constants/html.d.ts +6 -0
  1047. package/esm/src/utils/constants/html.d.ts.map +1 -1
  1048. package/esm/src/utils/constants/html.js +6 -0
  1049. package/esm/src/utils/constants/http.d.ts +23 -0
  1050. package/esm/src/utils/constants/http.d.ts.map +1 -1
  1051. package/esm/src/utils/constants/http.js +23 -0
  1052. package/esm/src/utils/constants/network.d.ts +3 -0
  1053. package/esm/src/utils/constants/network.d.ts.map +1 -1
  1054. package/esm/src/utils/constants/network.js +3 -0
  1055. package/esm/src/utils/constants/security.d.ts +3 -0
  1056. package/esm/src/utils/constants/security.d.ts.map +1 -1
  1057. package/esm/src/utils/constants/security.js +3 -0
  1058. package/esm/src/utils/constants/server.d.ts +1 -0
  1059. package/esm/src/utils/constants/server.d.ts.map +1 -1
  1060. package/esm/src/utils/constants/server.js +1 -0
  1061. package/esm/src/utils/feature-flags.d.ts +1 -0
  1062. package/esm/src/utils/feature-flags.d.ts.map +1 -1
  1063. package/esm/src/utils/feature-flags.js +1 -0
  1064. package/esm/src/utils/hash-utils.d.ts +5 -0
  1065. package/esm/src/utils/hash-utils.d.ts.map +1 -1
  1066. package/esm/src/utils/hash-utils.js +4 -0
  1067. package/esm/src/utils/import-lockfile.d.ts +3 -0
  1068. package/esm/src/utils/import-lockfile.d.ts.map +1 -1
  1069. package/esm/src/utils/import-lockfile.js +2 -0
  1070. package/esm/src/utils/logger/logger.d.ts +7 -0
  1071. package/esm/src/utils/logger/logger.d.ts.map +1 -1
  1072. package/esm/src/utils/logger/logger.js +6 -0
  1073. package/esm/src/utils/logger/request-context.d.ts +2 -0
  1074. package/esm/src/utils/logger/request-context.d.ts.map +1 -1
  1075. package/esm/src/utils/logger/request-context.js +1 -0
  1076. package/esm/src/utils/memoize.d.ts +3 -0
  1077. package/esm/src/utils/memoize.d.ts.map +1 -1
  1078. package/esm/src/utils/memoize.js +3 -0
  1079. package/esm/src/utils/parallel.d.ts +1 -0
  1080. package/esm/src/utils/parallel.d.ts.map +1 -1
  1081. package/esm/src/utils/parallel.js +1 -0
  1082. package/esm/src/utils/path-utils.d.ts +1 -0
  1083. package/esm/src/utils/path-utils.d.ts.map +1 -1
  1084. package/esm/src/utils/path-utils.js +1 -0
  1085. package/esm/src/utils/perf-timer.d.ts +5 -0
  1086. package/esm/src/utils/perf-timer.d.ts.map +1 -1
  1087. package/esm/src/utils/perf-timer.js +5 -0
  1088. package/esm/src/utils/runtime-guards.d.ts +6 -0
  1089. package/esm/src/utils/runtime-guards.d.ts.map +1 -1
  1090. package/esm/src/utils/runtime-guards.js +3 -0
  1091. package/esm/src/utils/version-constant.d.ts +2 -1
  1092. package/esm/src/utils/version-constant.d.ts.map +1 -1
  1093. package/esm/src/utils/version-constant.js +2 -1
  1094. package/esm/src/workflow/api/workflow-client.d.ts +3 -0
  1095. package/esm/src/workflow/api/workflow-client.d.ts.map +1 -1
  1096. package/esm/src/workflow/api/workflow-client.js +2 -0
  1097. package/esm/src/workflow/backends/memory.d.ts +1 -0
  1098. package/esm/src/workflow/backends/memory.d.ts.map +1 -1
  1099. package/esm/src/workflow/backends/memory.js +1 -0
  1100. package/esm/src/workflow/backends/redis/index.d.ts +1 -0
  1101. package/esm/src/workflow/backends/redis/index.d.ts.map +1 -1
  1102. package/esm/src/workflow/backends/redis/index.js +1 -0
  1103. package/esm/src/workflow/backends/types.d.ts +3 -0
  1104. package/esm/src/workflow/backends/types.d.ts.map +1 -1
  1105. package/esm/src/workflow/backends/types.js +1 -0
  1106. package/esm/src/workflow/claude-code/event-publisher.d.ts +1 -0
  1107. package/esm/src/workflow/claude-code/event-publisher.d.ts.map +1 -1
  1108. package/esm/src/workflow/claude-code/event-publisher.js +1 -0
  1109. package/esm/src/workflow/dsl/branch.d.ts +1 -0
  1110. package/esm/src/workflow/dsl/branch.d.ts.map +1 -1
  1111. package/esm/src/workflow/dsl/loop.d.ts +4 -0
  1112. package/esm/src/workflow/dsl/loop.d.ts.map +1 -1
  1113. package/esm/src/workflow/dsl/loop.js +3 -0
  1114. package/esm/src/workflow/dsl/map.d.ts +2 -0
  1115. package/esm/src/workflow/dsl/map.d.ts.map +1 -1
  1116. package/esm/src/workflow/dsl/map.js +1 -0
  1117. package/esm/src/workflow/dsl/parallel.d.ts +1 -0
  1118. package/esm/src/workflow/dsl/parallel.d.ts.map +1 -1
  1119. package/esm/src/workflow/dsl/step.d.ts +4 -0
  1120. package/esm/src/workflow/dsl/step.d.ts.map +1 -1
  1121. package/esm/src/workflow/dsl/step.js +3 -0
  1122. package/esm/src/workflow/dsl/sub-workflow.d.ts +1 -0
  1123. package/esm/src/workflow/dsl/sub-workflow.d.ts.map +1 -1
  1124. package/esm/src/workflow/dsl/wait.d.ts +2 -0
  1125. package/esm/src/workflow/dsl/wait.d.ts.map +1 -1
  1126. package/esm/src/workflow/dsl/workflow.d.ts +5 -0
  1127. package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
  1128. package/esm/src/workflow/dsl/workflow.js +4 -0
  1129. package/esm/src/workflow/executor/workflow-executor.d.ts +1 -3
  1130. package/esm/src/workflow/executor/workflow-executor.d.ts.map +1 -1
  1131. package/esm/src/workflow/react/use-approval.d.ts +3 -3
  1132. package/esm/src/workflow/react/use-approval.d.ts.map +1 -1
  1133. package/esm/src/workflow/react/use-approval.js +1 -3
  1134. package/esm/src/workflow/react/use-workflow-list.d.ts +2 -0
  1135. package/esm/src/workflow/react/use-workflow-list.d.ts.map +1 -1
  1136. package/esm/src/workflow/react/use-workflow-start.d.ts +3 -0
  1137. package/esm/src/workflow/react/use-workflow-start.d.ts.map +1 -1
  1138. package/esm/src/workflow/react/use-workflow-start.js +1 -0
  1139. package/esm/src/workflow/react/use-workflow.d.ts +3 -0
  1140. package/esm/src/workflow/react/use-workflow.d.ts.map +1 -1
  1141. package/esm/src/workflow/react/use-workflow.js +1 -0
  1142. package/esm/src/workflow/schemas/workflow.schema.d.ts +1 -0
  1143. package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
  1144. package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts +1 -0
  1145. package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts.map +1 -1
  1146. package/esm/src/workflow/worker/dynamic-job-entrypoint.js +1 -0
  1147. package/esm/src/workflow/worker/job-entrypoint.d.ts +1 -0
  1148. package/esm/src/workflow/worker/job-entrypoint.d.ts.map +1 -1
  1149. package/esm/src/workflow/worker/job-entrypoint.js +1 -0
  1150. package/esm/src/workflow/worker/workflow-worker.d.ts +1 -0
  1151. package/esm/src/workflow/worker/workflow-worker.d.ts.map +1 -1
  1152. package/esm/src/workflow/worker/workflow-worker.js +1 -0
  1153. package/package.json +1 -1
@@ -1,7 +1,9 @@
1
+ /** Input payload for slash command artifact policy. */
1
2
  export interface SlashCommandArtifactPolicyInput {
2
3
  messages: readonly unknown[];
3
4
  slashCommandArtifactPathSeen?: boolean;
4
5
  }
6
+ /** Public API contract for slash command artifact policy. */
5
7
  export interface SlashCommandArtifactPolicy {
6
8
  hasSlashCommand: boolean;
7
9
  hasExactArtifactPath: boolean;
@@ -9,6 +11,8 @@ export interface SlashCommandArtifactPolicy {
9
11
  hasInvokeAgent: boolean;
10
12
  shouldKeepReminder: boolean;
11
13
  }
14
+ /** Contains exact artifact path value helper. */
12
15
  export declare function containsExactArtifactPathValue(value: unknown): boolean;
16
+ /** Evaluate slash command artifact policy helper. */
13
17
  export declare function evaluateSlashCommandArtifactPolicy(input: SlashCommandArtifactPolicyInput): SlashCommandArtifactPolicy;
14
18
  //# sourceMappingURL=slash-command-artifact-policy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slash-command-artifact-policy.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/artifacts/slash-command-artifact-policy.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,SAAS,OAAO,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AA+KD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEtE;AAED,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,+BAA+B,GACrC,0BAA0B,CAc5B"}
1
+ {"version":3,"file":"slash-command-artifact-policy.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/artifacts/slash-command-artifact-policy.ts"],"names":[],"mappings":"AAKA,uDAAuD;AACvD,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,SAAS,OAAO,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AA+KD,iDAAiD;AACjD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEtE;AAED,qDAAqD;AACrD,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,+BAA+B,GACrC,0BAA0B,CAc5B"}
@@ -119,9 +119,11 @@ function containsExactArtifactPath(messages) {
119
119
  });
120
120
  });
121
121
  }
122
+ /** Contains exact artifact path value helper. */
122
123
  export function containsExactArtifactPathValue(value) {
123
124
  return extractArtifactPathsFromUnknown(value).length > 0;
124
125
  }
126
+ /** Evaluate slash command artifact policy helper. */
125
127
  export function evaluateSlashCommandArtifactPolicy(input) {
126
128
  const hasSlashCommand = containsSlashCommand(input.messages);
127
129
  const hasExactArtifactPath = containsExactArtifactPath(input.messages) ||
@@ -1,7 +1,9 @@
1
+ /** Input payload for child run execution buffer cleanup. */
1
2
  export interface ChildRunExecutionBufferCleanupInput {
2
3
  closeReasoningBuffer: () => Promise<void>;
3
4
  closeTextBuffer: () => Promise<void>;
4
5
  }
6
+ /** Input payload for child run execution resource finalize. */
5
7
  export interface ChildRunExecutionResourceFinalizeInput extends ChildRunExecutionBufferCleanupInput {
6
8
  durableStepStarted: boolean;
7
9
  appendFinishStepChunk: () => Promise<void>;
@@ -9,6 +11,8 @@ export interface ChildRunExecutionResourceFinalizeInput extends ChildRunExecutio
9
11
  closeTooling?: () => Promise<void>;
10
12
  closeRuntime?: () => Promise<void>;
11
13
  }
14
+ /** Close child run execution buffers helper. */
12
15
  export declare function closeChildRunExecutionBuffers(input: ChildRunExecutionBufferCleanupInput): Promise<void>;
16
+ /** Finalize child run execution resources helper. */
13
17
  export declare function finalizeChildRunExecutionResources(input: ChildRunExecutionResourceFinalizeInput): Promise<void>;
14
18
  //# sourceMappingURL=execution-cleanup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-cleanup.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-cleanup.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mCAAmC;IAClD,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,sCACf,SAAQ,mCAAmC;IAC3C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,mCAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAGf;AAED,wBAAsB,kCAAkC,CACtD,KAAK,EAAE,sCAAsC,GAC5C,OAAO,CAAC,IAAI,CAAC,CASf"}
1
+ {"version":3,"file":"execution-cleanup.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-cleanup.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,MAAM,WAAW,mCAAmC;IAClD,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACtC;AAED,+DAA+D;AAC/D,MAAM,WAAW,sCACf,SAAQ,mCAAmC;IAC3C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED,gDAAgD;AAChD,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,mCAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAGf;AAED,qDAAqD;AACrD,wBAAsB,kCAAkC,CACtD,KAAK,EAAE,sCAAsC,GAC5C,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1,7 +1,9 @@
1
+ /** Close child run execution buffers helper. */
1
2
  export async function closeChildRunExecutionBuffers(input) {
2
3
  await input.closeReasoningBuffer();
3
4
  await input.closeTextBuffer();
4
5
  }
6
+ /** Finalize child run execution resources helper. */
5
7
  export async function finalizeChildRunExecutionResources(input) {
6
8
  await closeChildRunExecutionBuffers(input);
7
9
  if (input.durableStepStarted) {
@@ -1,19 +1,23 @@
1
+ /** Public API contract for child run execution usage. */
1
2
  export interface ChildRunExecutionUsage {
2
3
  inputTokens: number;
3
4
  outputTokens: number;
4
5
  totalTokens: number;
5
6
  }
7
+ /** Public API contract for child run tool call snapshot. */
6
8
  export interface ChildRunToolCallSnapshot {
7
9
  toolName: string;
8
10
  toolCallId: string;
9
11
  input?: unknown;
10
12
  }
13
+ /** Public API contract for child run tool result snapshot. */
11
14
  export interface ChildRunToolResultSnapshot {
12
15
  toolName: string;
13
16
  toolCallId: string;
14
17
  input: unknown;
15
18
  output: unknown;
16
19
  }
20
+ /** Public API contract for child run execution snapshot. */
17
21
  export interface ChildRunExecutionSnapshot {
18
22
  success: boolean;
19
23
  description: string;
@@ -25,6 +29,7 @@ export interface ChildRunExecutionSnapshot {
25
29
  usage?: ChildRunExecutionUsage;
26
30
  durationMs: number;
27
31
  }
32
+ /** Result returned from child run execution. */
28
33
  export type ChildRunExecutionResult = {
29
34
  success: true;
30
35
  description: string;
@@ -46,6 +51,7 @@ export type ChildRunExecutionResult = {
46
51
  usage?: ChildRunExecutionUsage;
47
52
  durationMs: number;
48
53
  };
54
+ /** Public API contract for child run result common. */
49
55
  export interface ChildRunResultCommon {
50
56
  description: string;
51
57
  steps: number;
@@ -54,17 +60,24 @@ export interface ChildRunResultCommon {
54
60
  usage?: ChildRunExecutionUsage;
55
61
  durationMs: number;
56
62
  }
63
+ /** Return child run snapshot usage. */
57
64
  export declare function getChildRunSnapshotUsage(snapshot: ChildRunExecutionSnapshot | null): ChildRunExecutionSnapshot["usage"] | undefined;
65
+ /** Builds child run execution snapshot. */
58
66
  export declare function buildChildRunExecutionSnapshot(result: ChildRunExecutionResult): ChildRunExecutionSnapshot;
67
+ /** Builds child run result common. */
59
68
  export declare function buildChildRunResultCommon(input: ChildRunResultCommon): ChildRunResultCommon;
69
+ /** Result returned from build child run success. */
60
70
  export declare function buildChildRunSuccessResult(common: ChildRunResultCommon, summary: {
61
71
  text: string;
62
72
  }): ChildRunExecutionResult & {
63
73
  success: true;
64
74
  };
75
+ /** Result returned from build child run failure. */
65
76
  export declare function buildChildRunFailureResult(common: ChildRunResultCommon, error: string): ChildRunExecutionResult & {
66
77
  success: false;
67
78
  };
79
+ /** Builds child run failure snapshot. */
68
80
  export declare function buildChildRunFailureSnapshot(common: ChildRunResultCommon, error: string, fullResultText: string | null): ChildRunExecutionSnapshot;
81
+ /** Builds child run success snapshot. */
69
82
  export declare function buildChildRunSuccessSnapshot(common: ChildRunResultCommon, fullResultText: string): ChildRunExecutionSnapshot;
70
83
  //# sourceMappingURL=execution-snapshot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-snapshot.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-snapshot.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC1C,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,uBAAuB,GAC/B;IACA,OAAO,EAAE,IAAI,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,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AA4B,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,GAAG,IAAI,GAC5B,yBAAyB,CAY3B;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,MAAM,GACrB,yBAAyB,CAY3B"}
1
+ {"version":3,"file":"execution-snapshot.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-snapshot.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,4DAA4D;AAC5D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,8DAA8D;AAC9D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC1C,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,gDAAgD;AAChD,MAAM,MAAM,uBAAuB,GAC/B;IACA,OAAO,EAAE,IAAI,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;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AE,IAAI,CAAA;CAAE,CAW7C;AAED,oDAAoD;AACpD,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,oBAAoB,EAC5B,KAAK,EAAE,MAAM,GACZ,uBAAuB,GAAG;IAAE,OAAO,EAAE,KAAK,CAAA;CAAE,CAW9C;AAED,yCAAyC;AACzC,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,GAAG,IAAI,GAC5B,yBAAyB,CAY3B;AAED,yCAAyC;AACzC,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,MAAM,GACrB,yBAAyB,CAY3B"}
@@ -1,6 +1,8 @@
1
+ /** Return child run snapshot usage. */
1
2
  export function getChildRunSnapshotUsage(snapshot) {
2
3
  return snapshot?.usage;
3
4
  }
5
+ /** Builds child run execution snapshot. */
4
6
  export function buildChildRunExecutionSnapshot(result) {
5
7
  return {
6
8
  success: result.success,
@@ -14,9 +16,11 @@ export function buildChildRunExecutionSnapshot(result) {
14
16
  durationMs: result.durationMs ?? 0,
15
17
  };
16
18
  }
19
+ /** Builds child run result common. */
17
20
  export function buildChildRunResultCommon(input) {
18
21
  return input;
19
22
  }
23
+ /** Result returned from build child run success. */
20
24
  export function buildChildRunSuccessResult(common, summary) {
21
25
  return {
22
26
  success: true,
@@ -29,6 +33,7 @@ export function buildChildRunSuccessResult(common, summary) {
29
33
  durationMs: common.durationMs,
30
34
  };
31
35
  }
36
+ /** Result returned from build child run failure. */
32
37
  export function buildChildRunFailureResult(common, error) {
33
38
  return {
34
39
  success: false,
@@ -41,6 +46,7 @@ export function buildChildRunFailureResult(common, error) {
41
46
  durationMs: common.durationMs,
42
47
  };
43
48
  }
49
+ /** Builds child run failure snapshot. */
44
50
  export function buildChildRunFailureSnapshot(common, error, fullResultText) {
45
51
  return {
46
52
  success: false,
@@ -54,6 +60,7 @@ export function buildChildRunFailureSnapshot(common, error, fullResultText) {
54
60
  durationMs: common.durationMs,
55
61
  };
56
62
  }
63
+ /** Builds child run success snapshot. */
57
64
  export function buildChildRunSuccessSnapshot(common, fullResultText) {
58
65
  return {
59
66
  success: true,
@@ -1,5 +1,9 @@
1
+ /** Record shape for to child run tool input. */
1
2
  export declare function toChildRunToolInputRecord(value: unknown): Record<string, unknown>;
3
+ /** Throw if child run aborted helper. */
2
4
  export declare function throwIfChildRunAborted(abortSignal?: AbortSignal): void;
5
+ /** Error shape for is child run abort. */
3
6
  export declare function isChildRunAbortError(error: unknown): boolean;
7
+ /** Error shape for format child run stream part. */
4
8
  export declare function formatChildRunStreamPartError(error: unknown): string;
5
9
  //# sourceMappingURL=execution-support.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-support.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-support.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMjF;AAUD,wBAAgB,sBAAsB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAItE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEpE"}
1
+ {"version":3,"file":"execution-support.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/execution-support.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMjF;AAUD,yCAAyC;AACzC,wBAAgB,sBAAsB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAItE;AAED,0CAA0C;AAC1C,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAED,oDAAoD;AACpD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEpE"}
@@ -1,3 +1,4 @@
1
+ /** Record shape for to child run tool input. */
1
2
  export function toChildRunToolInputRecord(value) {
2
3
  if (typeof value !== "object" || value === null || Array.isArray(value)) {
3
4
  return {};
@@ -10,14 +11,17 @@ function createChildRunAbortError(abortSignal) {
10
11
  }
11
12
  return new DOMException("The operation was aborted.", "AbortError");
12
13
  }
14
+ /** Throw if child run aborted helper. */
13
15
  export function throwIfChildRunAborted(abortSignal) {
14
16
  if (abortSignal?.aborted) {
15
17
  throw createChildRunAbortError(abortSignal);
16
18
  }
17
19
  }
20
+ /** Error shape for is child run abort. */
18
21
  export function isChildRunAbortError(error) {
19
22
  return error instanceof Error && error.name === "AbortError";
20
23
  }
24
+ /** Error shape for format child run stream part. */
21
25
  export function formatChildRunStreamPartError(error) {
22
26
  return error instanceof Error ? error.message : String(error);
23
27
  }
@@ -9,8 +9,11 @@ interface ToolResultLike {
9
9
  input: unknown;
10
10
  output: unknown;
11
11
  }
12
+ /** Append missing child run tool calls. */
12
13
  export declare function appendMissingChildRunToolCalls(toolCalls: ToolCallLike[], fallbackToolCalls: ToolCallLike[]): void;
14
+ /** Append missing child run tool results. */
13
15
  export declare function appendMissingChildRunToolResults(toolResults: ToolResultLike[], fallbackToolResults: ToolResultLike[]): void;
16
+ /** Message shape for build child run exhausted step budget error. */
14
17
  export declare function buildChildRunExhaustedStepBudgetErrorMessage(stepCount: number, toolCalls: Array<{
15
18
  toolName: string;
16
19
  }>): string;
@@ -1 +1 @@
1
- {"version":3,"file":"final-step-support.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/final-step-support.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,YAAY,EAAE,EACzB,iBAAiB,EAAE,YAAY,EAAE,GAChC,IAAI,CAUN;AAED,wBAAgB,gCAAgC,CAC9C,WAAW,EAAE,cAAc,EAAE,EAC7B,mBAAmB,EAAE,cAAc,EAAE,GACpC,IAAI,CAUN;AAED,wBAAgB,4CAA4C,CAC1D,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,KAAK,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,GACrC,MAAM,CAIR"}
1
+ {"version":3,"file":"final-step-support.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/final-step-support.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,2CAA2C;AAC3C,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,YAAY,EAAE,EACzB,iBAAiB,EAAE,YAAY,EAAE,GAChC,IAAI,CAUN;AAED,6CAA6C;AAC7C,wBAAgB,gCAAgC,CAC9C,WAAW,EAAE,cAAc,EAAE,EAC7B,mBAAmB,EAAE,cAAc,EAAE,GACpC,IAAI,CAUN;AAED,qEAAqE;AACrE,wBAAgB,4CAA4C,CAC1D,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,KAAK,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,GACrC,MAAM,CAIR"}
@@ -1,3 +1,4 @@
1
+ /** Append missing child run tool calls. */
1
2
  export function appendMissingChildRunToolCalls(toolCalls, fallbackToolCalls) {
2
3
  const existingToolCallIds = new Set(toolCalls.map((toolCall) => toolCall.toolCallId));
3
4
  for (const toolCall of fallbackToolCalls) {
@@ -8,6 +9,7 @@ export function appendMissingChildRunToolCalls(toolCalls, fallbackToolCalls) {
8
9
  existingToolCallIds.add(toolCall.toolCallId);
9
10
  }
10
11
  }
12
+ /** Append missing child run tool results. */
11
13
  export function appendMissingChildRunToolResults(toolResults, fallbackToolResults) {
12
14
  const existingToolResultIds = new Set(toolResults.map((toolResult) => toolResult.toolCallId));
13
15
  for (const toolResult of fallbackToolResults) {
@@ -18,6 +20,7 @@ export function appendMissingChildRunToolResults(toolResults, fallbackToolResult
18
20
  existingToolResultIds.add(toolResult.toolCallId);
19
21
  }
20
22
  }
23
+ /** Message shape for build child run exhausted step budget error. */
21
24
  export function buildChildRunExhaustedStepBudgetErrorMessage(stepCount, toolCalls) {
22
25
  const calledToolNames = [...new Set(toolCalls.map((toolCall) => toolCall.toolName))];
23
26
  const toolList = calledToolNames.join(", ") || "(none)";
@@ -1,5 +1,6 @@
1
1
  import "../../../_dnt.polyfills.js";
2
2
  import type { InferSchema } from "../../extensions/schema/index.js";
3
+ /** Zod schema for get invoke agent child run lifecycle value. */
3
4
  export declare const getInvokeAgentChildRunLifecycleValueSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
4
5
  toolCallId: import("../../internal-agents/schema.js").Schema<string>;
5
6
  childConversationId: import("../../internal-agents/schema.js").Schema<string>;
@@ -13,7 +14,9 @@ export declare const getInvokeAgentChildRunLifecycleValueSchema: () => import(".
13
14
  targetEnvironmentId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
14
15
  targetBranchId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
15
16
  }>>;
16
- /** @deprecated Use getInvokeAgentChildRunLifecycleValueSchema() */
17
+ /** Schema for invoke agent child run lifecycle value.
18
+ * @deprecated Use getInvokeAgentChildRunLifecycleValueSchema()
19
+ */
17
20
  export declare const InvokeAgentChildRunLifecycleValueSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
18
21
  toolCallId: import("../../internal-agents/schema.js").Schema<string>;
19
22
  childConversationId: import("../../internal-agents/schema.js").Schema<string>;
@@ -27,7 +30,9 @@ export declare const InvokeAgentChildRunLifecycleValueSchema: import("../../inte
27
30
  targetEnvironmentId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
28
31
  targetBranchId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
29
32
  }>>;
33
+ /** Public API contract for invoke agent child run lifecycle value. */
30
34
  export type InvokeAgentChildRunLifecycleValue = InferSchema<ReturnType<typeof getInvokeAgentChildRunLifecycleValueSchema>>;
35
+ /** Zod schema for get invoke agent child run state delta. */
31
36
  export declare const getInvokeAgentChildRunStateDeltaSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
32
37
  type: import("../../internal-agents/schema.js").Schema<"STATE_DELTA">;
33
38
  delta: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
@@ -48,7 +53,9 @@ export declare const getInvokeAgentChildRunStateDeltaSchema: () => import("../..
48
53
  }>>;
49
54
  }>[]>;
50
55
  }>>;
51
- /** @deprecated Use getInvokeAgentChildRunStateDeltaSchema() */
56
+ /** Schema for invoke agent child run state delta.
57
+ * @deprecated Use getInvokeAgentChildRunStateDeltaSchema()
58
+ */
52
59
  export declare const InvokeAgentChildRunStateDeltaSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
53
60
  type: import("../../internal-agents/schema.js").Schema<"STATE_DELTA">;
54
61
  delta: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
@@ -69,7 +76,9 @@ export declare const InvokeAgentChildRunStateDeltaSchema: import("../../internal
69
76
  }>>;
70
77
  }>[]>;
71
78
  }>>;
79
+ /** Public API contract for invoke agent child run state delta. */
72
80
  export type InvokeAgentChildRunStateDelta = InferSchema<ReturnType<typeof getInvokeAgentChildRunStateDeltaSchema>>;
81
+ /** Zod schema for get invoke agent child run lifecycle custom event. */
73
82
  export declare const getInvokeAgentChildRunLifecycleCustomEventSchema: () => import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
74
83
  type: import("../../internal-agents/schema.js").Schema<"CUSTOM">;
75
84
  name: import("../../internal-agents/schema.js").Schema<"veryfront.invoke_agent.lifecycle">;
@@ -87,7 +96,9 @@ export declare const getInvokeAgentChildRunLifecycleCustomEventSchema: () => imp
87
96
  targetBranchId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
88
97
  }>>;
89
98
  }>>;
90
- /** @deprecated Use getInvokeAgentChildRunLifecycleCustomEventSchema() */
99
+ /** Schema for invoke agent child run lifecycle custom event.
100
+ * @deprecated Use getInvokeAgentChildRunLifecycleCustomEventSchema()
101
+ */
91
102
  export declare const InvokeAgentChildRunLifecycleCustomEventSchema: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
92
103
  type: import("../../internal-agents/schema.js").Schema<"CUSTOM">;
93
104
  name: import("../../internal-agents/schema.js").Schema<"veryfront.invoke_agent.lifecycle">;
@@ -105,7 +116,9 @@ export declare const InvokeAgentChildRunLifecycleCustomEventSchema: import("../.
105
116
  targetBranchId: import("../../internal-agents/schema.js").Schema<string | null | undefined>;
106
117
  }>>;
107
118
  }>>;
119
+ /** Event emitted for invoke agent child run lifecycle custom. */
108
120
  export type InvokeAgentChildRunLifecycleCustomEvent = InferSchema<ReturnType<typeof getInvokeAgentChildRunLifecycleCustomEventSchema>>;
121
+ /** Input payload for invoke agent child run progress. */
109
122
  export type InvokeAgentChildRunProgressInput = {
110
123
  toolCallId: string;
111
124
  childConversationId: string;
@@ -119,10 +132,15 @@ export type InvokeAgentChildRunProgressInput = {
119
132
  targetEnvironmentId?: string | null;
120
133
  targetBranchId?: string | null;
121
134
  };
135
+ /** Event emitted for invoke agent child run progress. */
122
136
  export type InvokeAgentChildRunProgressEvent = InvokeAgentChildRunStateDelta | InvokeAgentChildRunLifecycleCustomEvent;
137
+ /** Builds invoke agent child run state delta. */
123
138
  export declare function buildInvokeAgentChildRunStateDelta(input: InvokeAgentChildRunProgressInput): InvokeAgentChildRunStateDelta;
139
+ /** Event emitted for build invoke agent child run lifecycle custom. */
124
140
  export declare function buildInvokeAgentChildRunLifecycleCustomEvent(input: InvokeAgentChildRunProgressInput): InvokeAgentChildRunLifecycleCustomEvent;
141
+ /** Builds invoke agent child run progress events. */
125
142
  export declare function buildInvokeAgentChildRunProgressEvents(input: InvokeAgentChildRunProgressInput): readonly [InvokeAgentChildRunStateDelta, InvokeAgentChildRunLifecycleCustomEvent];
143
+ /** Publish invoke agent child run progress helper. */
126
144
  export declare function publishInvokeAgentChildRunProgress(input: {
127
145
  authToken: string;
128
146
  apiUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"invoke-agent-child-runs.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/invoke-agent-child-runs.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAQpE,eAAO,MAAM,0CAA0C;;;;;;;;;;;;GAgBtD,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;GAEnD,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,WAAW,CACzD,UAAU,CAAC,OAAO,0CAA0C,CAAC,CAC9D,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;GAWlD,CAAC;AAEF,+DAA+D;AAC/D,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;GAE/C,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,WAAW,CACrD,UAAU,CAAC,OAAO,sCAAsC,CAAC,C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js";
2
2
  import { defineSchema, lazySchema } from "../../schemas/index.js";
3
3
  import { appendConversationRunEvents, isIgnorableConversationRunAppendError, } from "../conversation/durable.js";
4
4
  const AG_UI_CUSTOM_EVENT_TYPE = "CUSTOM";
5
+ /** Zod schema for get invoke agent child run lifecycle value. */
5
6
  export const getInvokeAgentChildRunLifecycleValueSchema = defineSchema((v) => v.object({
6
7
  toolCallId: v.string().min(1),
7
8
  childConversationId: v.string().uuid(),
@@ -17,8 +18,11 @@ export const getInvokeAgentChildRunLifecycleValueSchema = defineSchema((v) => v.
17
18
  targetEnvironmentId: v.string().uuid().nullable().optional(),
18
19
  targetBranchId: v.string().uuid().nullable().optional(),
19
20
  }));
20
- /** @deprecated Use getInvokeAgentChildRunLifecycleValueSchema() */
21
+ /** Schema for invoke agent child run lifecycle value.
22
+ * @deprecated Use getInvokeAgentChildRunLifecycleValueSchema()
23
+ */
21
24
  export const InvokeAgentChildRunLifecycleValueSchema = lazySchema(getInvokeAgentChildRunLifecycleValueSchema);
25
+ /** Zod schema for get invoke agent child run state delta. */
22
26
  export const getInvokeAgentChildRunStateDeltaSchema = defineSchema((v) => v.object({
23
27
  type: v.literal("STATE_DELTA"),
24
28
  delta: v.array(v.object({
@@ -27,14 +31,19 @@ export const getInvokeAgentChildRunStateDeltaSchema = defineSchema((v) => v.obje
27
31
  value: getInvokeAgentChildRunLifecycleValueSchema(),
28
32
  })),
29
33
  }));
30
- /** @deprecated Use getInvokeAgentChildRunStateDeltaSchema() */
34
+ /** Schema for invoke agent child run state delta.
35
+ * @deprecated Use getInvokeAgentChildRunStateDeltaSchema()
36
+ */
31
37
  export const InvokeAgentChildRunStateDeltaSchema = lazySchema(getInvokeAgentChildRunStateDeltaSchema);
38
+ /** Zod schema for get invoke agent child run lifecycle custom event. */
32
39
  export const getInvokeAgentChildRunLifecycleCustomEventSchema = defineSchema((v) => v.object({
33
40
  type: v.literal(AG_UI_CUSTOM_EVENT_TYPE),
34
41
  name: v.literal("veryfront.invoke_agent.lifecycle"),
35
42
  value: getInvokeAgentChildRunLifecycleValueSchema(),
36
43
  }));
37
- /** @deprecated Use getInvokeAgentChildRunLifecycleCustomEventSchema() */
44
+ /** Schema for invoke agent child run lifecycle custom event.
45
+ * @deprecated Use getInvokeAgentChildRunLifecycleCustomEventSchema()
46
+ */
38
47
  export const InvokeAgentChildRunLifecycleCustomEventSchema = lazySchema(getInvokeAgentChildRunLifecycleCustomEventSchema);
39
48
  function buildInvokeAgentChildRunLifecycleValue(input) {
40
49
  return getInvokeAgentChildRunLifecycleValueSchema().parse({
@@ -55,6 +64,7 @@ function buildInvokeAgentChildRunLifecycleValue(input) {
55
64
  ...(input.targetBranchId !== undefined ? { targetBranchId: input.targetBranchId } : {}),
56
65
  });
57
66
  }
67
+ /** Builds invoke agent child run state delta. */
58
68
  export function buildInvokeAgentChildRunStateDelta(input) {
59
69
  const escapedToolCallId = input.toolCallId.replaceAll("~", "~0").replaceAll("/", "~1");
60
70
  return getInvokeAgentChildRunStateDeltaSchema().parse({
@@ -68,6 +78,7 @@ export function buildInvokeAgentChildRunStateDelta(input) {
68
78
  ],
69
79
  });
70
80
  }
81
+ /** Event emitted for build invoke agent child run lifecycle custom. */
71
82
  export function buildInvokeAgentChildRunLifecycleCustomEvent(input) {
72
83
  return getInvokeAgentChildRunLifecycleCustomEventSchema().parse({
73
84
  type: AG_UI_CUSTOM_EVENT_TYPE,
@@ -75,12 +86,14 @@ export function buildInvokeAgentChildRunLifecycleCustomEvent(input) {
75
86
  value: buildInvokeAgentChildRunLifecycleValue(input),
76
87
  });
77
88
  }
89
+ /** Builds invoke agent child run progress events. */
78
90
  export function buildInvokeAgentChildRunProgressEvents(input) {
79
91
  return [
80
92
  buildInvokeAgentChildRunStateDelta(input),
81
93
  buildInvokeAgentChildRunLifecycleCustomEvent(input),
82
94
  ];
83
95
  }
96
+ /** Publish invoke agent child run progress helper. */
84
97
  export async function publishInvokeAgentChildRunProgress(input) {
85
98
  const events = [...buildInvokeAgentChildRunProgressEvents(input)];
86
99
  if (input.publishParentRunEvents) {
@@ -1,8 +1,12 @@
1
+ /** Summarize child run result text helper. */
1
2
  export declare function summarizeChildRunResultText(text: string, maxLength?: number): string;
3
+ /** Builds child run result summary. */
2
4
  export declare function buildChildRunResultSummary(text: string): {
3
5
  text: string;
4
6
  };
7
+ /** Builds root owned child run result text. */
5
8
  export declare function buildRootOwnedChildRunResultText(text: string): string;
9
+ /** Builds root owned child run result hint. */
6
10
  export declare function buildRootOwnedChildRunResultHint(input: {
7
11
  text: string;
8
12
  instruction: string;
@@ -10,5 +14,6 @@ export declare function buildRootOwnedChildRunResultHint(input: {
10
14
  instruction: string;
11
15
  suggestedText: string;
12
16
  };
17
+ /** Summarize child run result value helper. */
13
18
  export declare function summarizeChildRunResultValue(output: unknown, depth?: number): unknown;
14
19
  //# sourceMappingURL=result-summary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"result-summary.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/result-summary.ts"],"names":[],"mappings":"AAeA,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,SAAS,SAA8B,GACtC,MAAM,CAMR;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAEzE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYrE;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAKhD;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,SAAI,GAAG,OAAO,CAiFhF"}
1
+ {"version":3,"file":"result-summary.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/child-run/result-summary.ts"],"names":[],"mappings":"AAeA,8CAA8C;AAC9C,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,SAAS,SAA8B,GACtC,MAAM,CAMR;AAED,uCAAuC;AACvC,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAEzE;AAED,+CAA+C;AAC/C,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYrE;AAED,+CAA+C;AAC/C,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAKhD;AAED,+CAA+C;AAC/C,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,SAAI,GAAG,OAAO,CAiFhF"}
@@ -11,15 +11,18 @@ const ROOT_RESPONSE_PROCESS_PREFIX_PATTERNS = [
11
11
  function isPlainRecord(value) {
12
12
  return typeof value === "object" && value !== null && !Array.isArray(value);
13
13
  }
14
+ /** Summarize child run result text helper. */
14
15
  export function summarizeChildRunResultText(text, maxLength = CHILD_RUN_RESULT_TEXT_LIMIT) {
15
16
  if (text.length <= maxLength) {
16
17
  return text;
17
18
  }
18
19
  return `${text.slice(0, maxLength)}… [truncated ${text.length - maxLength} chars]`;
19
20
  }
21
+ /** Builds child run result summary. */
20
22
  export function buildChildRunResultSummary(text) {
21
23
  return { text: summarizeChildRunResultText(text) };
22
24
  }
25
+ /** Builds root owned child run result text. */
23
26
  export function buildRootOwnedChildRunResultText(text) {
24
27
  let normalized = text.trim();
25
28
  for (const pattern of ROOT_RESPONSE_PROCESS_PREFIX_PATTERNS) {
@@ -30,12 +33,14 @@ export function buildRootOwnedChildRunResultText(text) {
30
33
  }
31
34
  return normalized;
32
35
  }
36
+ /** Builds root owned child run result hint. */
33
37
  export function buildRootOwnedChildRunResultHint(input) {
34
38
  return {
35
39
  instruction: input.instruction,
36
40
  suggestedText: summarizeChildRunResultText(buildRootOwnedChildRunResultText(input.text)),
37
41
  };
38
42
  }
43
+ /** Summarize child run result value helper. */
39
44
  export function summarizeChildRunResultValue(output, depth = 0) {
40
45
  if (typeof output === "string") {
41
46
  return summarizeChildRunResultText(output, CHILD_RUN_VALUE_STRING_LIMIT);
@@ -1,17 +1,21 @@
1
1
  import type { Agent } from "../types.js";
2
2
  import type { Tool } from "../../tool/index.js";
3
3
  import { ScopedRegistryFacade } from "../../registry/scoped-registry-facade.js";
4
+ /** Agent as tool helper. */
4
5
  export declare function agentAsTool(agent: Agent, description: string): Tool;
6
+ /** Public API contract for workflow step. */
5
7
  export interface WorkflowStep {
6
8
  agent: Agent;
7
9
  name: string;
8
10
  transform?: (output: string) => string | Promise<string>;
9
11
  skip?: (context: Record<string, unknown>) => boolean | Promise<boolean>;
10
12
  }
13
+ /** Configuration used by workflow. */
11
14
  export interface WorkflowConfig {
12
15
  steps: WorkflowStep[];
13
16
  initialContext?: Record<string, unknown>;
14
17
  }
18
+ /** Result returned from workflow. */
15
19
  export interface WorkflowResult {
16
20
  output: string;
17
21
  steps: Array<{
@@ -21,6 +25,7 @@ export interface WorkflowResult {
21
25
  }>;
22
26
  context: Record<string, unknown>;
23
27
  }
28
+ /** Create workflow. */
24
29
  export declare function createWorkflow(config: WorkflowConfig): {
25
30
  execute(input: string): Promise<WorkflowResult>;
26
31
  };
@@ -28,8 +33,12 @@ declare class AgentRegistryClass extends ScopedRegistryFacade<Agent> {
28
33
  }
29
34
  export declare const agentRegistry: AgentRegistryClass;
30
35
  export { AgentRegistryClass };
36
+ /** Registers agent. */
31
37
  export declare function registerAgent(id: string, agent: Agent): void;
38
+ /** Return agent. */
32
39
  export declare function getAgent(id: string): Agent | undefined;
40
+ /** Return all agent IDs. */
33
41
  export declare function getAllAgentIds(): string[];
42
+ /** Return agents as tools. */
34
43
  export declare function getAgentsAsTools(descriptions?: Record<string, string>): Record<string, Tool>;
35
44
  //# sourceMappingURL=composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"composition.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/composition/composition.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAIhF,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CA2BnE;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACzE;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,wBAAgB,cAAc,CAC5B,MAAM,EAAE,cAAc,GACrB;IAAE,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc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,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C;AAED,qCAAqC;AACrC,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,uBAAuB;AACvB,wBAAgB,cAAc,CAC5B,MAAM,EAAE,cAAc,GACrB;IAAE,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;CAAE,CAsDrD;AAID,cAAM,kBAAmB,SAAQ,oBAAoB,CAAC,KAAK,CAAC;CAAG;AAG/D,eAAO,MAAM,aAAa,oBAAuC,CAAC;AAElE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,uBAAuB;AACvB,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAE5D;AAED,oBAAoB;AACpB,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAEtD;AAED,4BAA4B;AAC5B,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAqBD,8BAA8B;AAC9B,wBAAgB,gBAAgB,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAQ5F"}
@@ -11,6 +11,7 @@ import { setActiveSpanAttributes, withSpan } from "../../observability/tracing/o
11
11
  import { ScopedRegistryFacade } from "../../registry/scoped-registry-facade.js";
12
12
  import { ProjectScopedRegistryManager } from "../../registry/project-scoped-registry-manager.js";
13
13
  import { getAgentToolInputSchema } from "../schemas/index.js";
14
+ /** Agent as tool helper. */
14
15
  export function agentAsTool(agent, description) {
15
16
  return {
16
17
  id: `agent_${agent.id}`,
@@ -33,6 +34,7 @@ export function agentAsTool(agent, description) {
33
34
  },
34
35
  };
35
36
  }
37
+ /** Create workflow. */
36
38
  export function createWorkflow(config) {
37
39
  return {
38
40
  execute(input) {
@@ -79,12 +81,15 @@ class AgentRegistryClass extends ScopedRegistryFacade {
79
81
  // Singleton instance - maintains same interface but now project-scoped internally
80
82
  export const agentRegistry = new AgentRegistryClass(agentManager);
81
83
  export { AgentRegistryClass };
84
+ /** Registers agent. */
82
85
  export function registerAgent(id, agent) {
83
86
  agentRegistry.register(id, agent);
84
87
  }
88
+ /** Return agent. */
85
89
  export function getAgent(id) {
86
90
  return agentRegistry.get(id);
87
91
  }
92
+ /** Return all agent IDs. */
88
93
  export function getAllAgentIds() {
89
94
  return agentRegistry.getAllIds();
90
95
  }
@@ -104,6 +109,7 @@ for (const [key, value] of Object.entries({
104
109
  configurable: false,
105
110
  });
106
111
  }
112
+ /** Return agents as tools. */
107
113
  export function getAgentsAsTools(descriptions) {
108
114
  const tools = {};
109
115
  for (const [id, agent] of agentRegistry.getAll()) {