veryfront 0.1.558 → 0.1.559

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 (1150) hide show
  1. package/esm/deno.js +4 -4
  2. package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts +3 -0
  3. package/esm/src/agent/ag-ui/browser-chunk-encoder.d.ts.map +1 -1
  4. package/esm/src/agent/ag-ui/browser-chunk-encoder.js +1 -0
  5. package/esm/src/agent/ag-ui/browser-encoder.d.ts +8 -0
  6. package/esm/src/agent/ag-ui/browser-encoder.d.ts.map +1 -1
  7. package/esm/src/agent/ag-ui/browser-encoder.js +4 -0
  8. package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts +3 -0
  9. package/esm/src/agent/ag-ui/browser-finalize-tracker.d.ts.map +1 -1
  10. package/esm/src/agent/ag-ui/browser-finalize-tracker.js +1 -0
  11. package/esm/src/agent/ag-ui/browser-response-stream.d.ts +5 -0
  12. package/esm/src/agent/ag-ui/browser-response-stream.d.ts.map +1 -1
  13. package/esm/src/agent/ag-ui/browser-response-stream.js +1 -0
  14. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts +9 -0
  15. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.d.ts.map +1 -1
  16. package/esm/src/agent/ag-ui/chat-ui-chunk-browser-encoder.js +6 -0
  17. package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts +3 -0
  18. package/esm/src/agent/ag-ui/chunk-encoder-bridge.d.ts.map +1 -1
  19. package/esm/src/agent/ag-ui/chunk-encoder-bridge.js +1 -0
  20. package/esm/src/agent/ag-ui/detached-start.d.ts +13 -2
  21. package/esm/src/agent/ag-ui/detached-start.d.ts.map +1 -1
  22. package/esm/src/agent/ag-ui/detached-start.js +9 -2
  23. package/esm/src/agent/ag-ui/forwarded-context.d.ts +8 -0
  24. package/esm/src/agent/ag-ui/forwarded-context.d.ts.map +1 -1
  25. package/esm/src/agent/ag-ui/forwarded-context.js +7 -0
  26. package/esm/src/agent/ag-ui/handler.d.ts +4 -0
  27. package/esm/src/agent/ag-ui/handler.d.ts.map +1 -1
  28. package/esm/src/agent/ag-ui/handler.js +1 -0
  29. package/esm/src/agent/ag-ui/host-support.d.ts +13 -1
  30. package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
  31. package/esm/src/agent/ag-ui/host-support.js +11 -3
  32. package/esm/src/agent/ag-ui/run-control.d.ts +8 -1
  33. package/esm/src/agent/ag-ui/run-control.d.ts.map +1 -1
  34. package/esm/src/agent/ag-ui/run-control.js +5 -1
  35. package/esm/src/agent/ag-ui/runtime-browser-response.d.ts +2 -0
  36. package/esm/src/agent/ag-ui/runtime-browser-response.d.ts.map +1 -1
  37. package/esm/src/agent/ag-ui/runtime-browser-response.js +1 -0
  38. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts +4 -0
  39. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.d.ts.map +1 -1
  40. package/esm/src/agent/ag-ui/runtime-chat-stream-encoder.js +1 -0
  41. package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts +3 -0
  42. package/esm/src/agent/ag-ui/runtime-event-encoder.d.ts.map +1 -1
  43. package/esm/src/agent/ag-ui/runtime-event-encoder.js +1 -0
  44. package/esm/src/agent/ag-ui/runtime-handler.d.ts +7 -0
  45. package/esm/src/agent/ag-ui/runtime-handler.d.ts.map +1 -1
  46. package/esm/src/agent/ag-ui/runtime-handler.js +1 -0
  47. package/esm/src/agent/ag-ui/runtime-support.d.ts +1 -0
  48. package/esm/src/agent/ag-ui/runtime-support.d.ts.map +1 -1
  49. package/esm/src/agent/ag-ui/runtime-support.js +1 -0
  50. package/esm/src/agent/ag-ui/tool-shared.d.ts +1 -0
  51. package/esm/src/agent/ag-ui/tool-shared.d.ts.map +1 -1
  52. package/esm/src/agent/ag-ui/tracked-browser-response.d.ts +2 -0
  53. package/esm/src/agent/ag-ui/tracked-browser-response.d.ts.map +1 -1
  54. package/esm/src/agent/ag-ui/tracked-browser-response.js +1 -0
  55. package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts +5 -0
  56. package/esm/src/agent/artifacts/default-research-artifact-policy.d.ts.map +1 -1
  57. package/esm/src/agent/artifacts/default-research-artifact-policy.js +4 -0
  58. package/esm/src/agent/artifacts/default-research-artifact-support.d.ts +10 -0
  59. package/esm/src/agent/artifacts/default-research-artifact-support.d.ts.map +1 -1
  60. package/esm/src/agent/artifacts/default-research-artifact-support.js +7 -0
  61. package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts +4 -0
  62. package/esm/src/agent/artifacts/slash-command-artifact-policy.d.ts.map +1 -1
  63. package/esm/src/agent/artifacts/slash-command-artifact-policy.js +2 -0
  64. package/esm/src/agent/child-run/execution-cleanup.d.ts +4 -0
  65. package/esm/src/agent/child-run/execution-cleanup.d.ts.map +1 -1
  66. package/esm/src/agent/child-run/execution-cleanup.js +2 -0
  67. package/esm/src/agent/child-run/execution-snapshot.d.ts +13 -0
  68. package/esm/src/agent/child-run/execution-snapshot.d.ts.map +1 -1
  69. package/esm/src/agent/child-run/execution-snapshot.js +7 -0
  70. package/esm/src/agent/child-run/execution-support.d.ts +4 -0
  71. package/esm/src/agent/child-run/execution-support.d.ts.map +1 -1
  72. package/esm/src/agent/child-run/execution-support.js +4 -0
  73. package/esm/src/agent/child-run/final-step-support.d.ts +3 -0
  74. package/esm/src/agent/child-run/final-step-support.d.ts.map +1 -1
  75. package/esm/src/agent/child-run/final-step-support.js +3 -0
  76. package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts +21 -3
  77. package/esm/src/agent/child-run/invoke-agent-child-runs.d.ts.map +1 -1
  78. package/esm/src/agent/child-run/invoke-agent-child-runs.js +16 -3
  79. package/esm/src/agent/child-run/result-summary.d.ts +5 -0
  80. package/esm/src/agent/child-run/result-summary.d.ts.map +1 -1
  81. package/esm/src/agent/child-run/result-summary.js +5 -0
  82. package/esm/src/agent/composition/composition.d.ts +9 -0
  83. package/esm/src/agent/composition/composition.d.ts.map +1 -1
  84. package/esm/src/agent/composition/composition.js +6 -0
  85. package/esm/src/agent/conversation/bootstrap.d.ts +21 -2
  86. package/esm/src/agent/conversation/bootstrap.d.ts.map +1 -1
  87. package/esm/src/agent/conversation/bootstrap.js +16 -2
  88. package/esm/src/agent/conversation/delegation-policy.d.ts +32 -0
  89. package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
  90. package/esm/src/agent/conversation/delegation-policy.js +30 -0
  91. package/esm/src/agent/conversation/durable.d.ts +59 -6
  92. package/esm/src/agent/conversation/durable.d.ts.map +1 -1
  93. package/esm/src/agent/conversation/durable.js +44 -6
  94. package/esm/src/agent/conversation/hosted-lifecycle.d.ts +6 -0
  95. package/esm/src/agent/conversation/hosted-lifecycle.d.ts.map +1 -1
  96. package/esm/src/agent/conversation/hosted-lifecycle.js +3 -0
  97. package/esm/src/agent/conversation/hosted-terminal.d.ts +15 -0
  98. package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
  99. package/esm/src/agent/conversation/hosted-terminal.js +9 -0
  100. package/esm/src/agent/conversation/root-run-context.d.ts +6 -0
  101. package/esm/src/agent/conversation/root-run-context.d.ts.map +1 -1
  102. package/esm/src/agent/conversation/root-run-context.js +4 -0
  103. package/esm/src/agent/conversation/root-run-lifecycle.d.ts +7 -0
  104. package/esm/src/agent/conversation/root-run-lifecycle.d.ts.map +1 -1
  105. package/esm/src/agent/conversation/root-run-lifecycle.js +2 -0
  106. package/esm/src/agent/conversation/run-chunk-mirror.d.ts +13 -0
  107. package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
  108. package/esm/src/agent/conversation/run-chunk-mirror.js +2 -0
  109. package/esm/src/agent/conversation/run-context.d.ts +2 -0
  110. package/esm/src/agent/conversation/run-context.d.ts.map +1 -1
  111. package/esm/src/agent/conversation/run-context.js +1 -0
  112. package/esm/src/agent/conversation/run-event-normalization.d.ts +3 -0
  113. package/esm/src/agent/conversation/run-event-normalization.d.ts.map +1 -1
  114. package/esm/src/agent/conversation/run-event-normalization.js +3 -0
  115. package/esm/src/agent/conversation/run-event-preparation.d.ts +4 -0
  116. package/esm/src/agent/conversation/run-event-preparation.d.ts.map +1 -1
  117. package/esm/src/agent/conversation/run-event-preparation.js +4 -0
  118. package/esm/src/agent/conversation/run-events.d.ts +8 -1
  119. package/esm/src/agent/conversation/run-events.d.ts.map +1 -1
  120. package/esm/src/agent/conversation/run-events.js +7 -1
  121. package/esm/src/agent/conversation/run-mirror.d.ts +5 -0
  122. package/esm/src/agent/conversation/run-mirror.d.ts.map +1 -1
  123. package/esm/src/agent/conversation/run-mirror.js +1 -0
  124. package/esm/src/agent/conversation/run-stream-mirror.d.ts +2 -0
  125. package/esm/src/agent/conversation/run-stream-mirror.d.ts.map +1 -1
  126. package/esm/src/agent/conversation/run-stream-mirror.js +1 -0
  127. package/esm/src/agent/factory.d.ts +1 -0
  128. package/esm/src/agent/factory.d.ts.map +1 -1
  129. package/esm/src/agent/factory.js +1 -0
  130. package/esm/src/agent/hosted/ag-ui-chat-request.d.ts +11 -1
  131. package/esm/src/agent/hosted/ag-ui-chat-request.d.ts.map +1 -1
  132. package/esm/src/agent/hosted/ag-ui-chat-request.js +7 -1
  133. package/esm/src/agent/hosted/agent-project-steering.d.ts +6 -0
  134. package/esm/src/agent/hosted/agent-project-steering.d.ts.map +1 -1
  135. package/esm/src/agent/hosted/agent-project-steering.js +2 -0
  136. package/esm/src/agent/hosted/agent-run-lifecycle.d.ts +9 -0
  137. package/esm/src/agent/hosted/agent-run-lifecycle.d.ts.map +1 -1
  138. package/esm/src/agent/hosted/agent-run-lifecycle.js +2 -0
  139. package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts +1 -0
  140. package/esm/src/agent/hosted/chat-execution-lifecycle-types.d.ts.map +1 -1
  141. package/esm/src/agent/hosted/chat-execution-runtime.d.ts +17 -0
  142. package/esm/src/agent/hosted/chat-execution-runtime.d.ts.map +1 -1
  143. package/esm/src/agent/hosted/chat-execution-runtime.js +8 -0
  144. package/esm/src/agent/hosted/chat-preparation.d.ts +14 -0
  145. package/esm/src/agent/hosted/chat-preparation.d.ts.map +1 -1
  146. package/esm/src/agent/hosted/chat-preparation.js +4 -0
  147. package/esm/src/agent/hosted/chat-request-parser.d.ts +8 -0
  148. package/esm/src/agent/hosted/chat-request-parser.d.ts.map +1 -1
  149. package/esm/src/agent/hosted/chat-request-parser.js +3 -0
  150. package/esm/src/agent/hosted/chat-request.d.ts +14 -3
  151. package/esm/src/agent/hosted/chat-request.d.ts.map +1 -1
  152. package/esm/src/agent/hosted/chat-request.js +12 -3
  153. package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts +4 -0
  154. package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts.map +1 -1
  155. package/esm/src/agent/hosted/chat-runtime-agent-adapter.js +1 -0
  156. package/esm/src/agent/hosted/chat-runtime-contract.d.ts +9 -0
  157. package/esm/src/agent/hosted/chat-runtime-contract.d.ts.map +1 -1
  158. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +6 -0
  159. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
  160. package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +2 -0
  161. package/esm/src/agent/hosted/child-artifact-support.d.ts +9 -0
  162. package/esm/src/agent/hosted/child-artifact-support.d.ts.map +1 -1
  163. package/esm/src/agent/hosted/child-artifact-support.js +5 -0
  164. package/esm/src/agent/hosted/child-bootstrap.d.ts +5 -0
  165. package/esm/src/agent/hosted/child-bootstrap.d.ts.map +1 -1
  166. package/esm/src/agent/hosted/child-bootstrap.js +2 -0
  167. package/esm/src/agent/hosted/child-execution-logging.d.ts +8 -0
  168. package/esm/src/agent/hosted/child-execution-logging.d.ts.map +1 -1
  169. package/esm/src/agent/hosted/child-execution-logging.js +5 -0
  170. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +10 -0
  171. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
  172. package/esm/src/agent/hosted/child-fork-execution-runner.js +7 -0
  173. package/esm/src/agent/hosted/child-fork-instructions.d.ts +3 -0
  174. package/esm/src/agent/hosted/child-fork-instructions.d.ts.map +1 -1
  175. package/esm/src/agent/hosted/child-fork-instructions.js +2 -0
  176. package/esm/src/agent/hosted/child-fork-run-context.d.ts +16 -0
  177. package/esm/src/agent/hosted/child-fork-run-context.d.ts.map +1 -1
  178. package/esm/src/agent/hosted/child-fork-run-context.js +5 -0
  179. package/esm/src/agent/hosted/child-fork-runtime-start.d.ts +4 -0
  180. package/esm/src/agent/hosted/child-fork-runtime-start.d.ts.map +1 -1
  181. package/esm/src/agent/hosted/child-fork-runtime-start.js +1 -0
  182. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +5 -0
  183. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
  184. package/esm/src/agent/hosted/child-fork-step-message-preparation.js +2 -0
  185. package/esm/src/agent/hosted/child-fork-stream-execution.d.ts +10 -0
  186. package/esm/src/agent/hosted/child-fork-stream-execution.d.ts.map +1 -1
  187. package/esm/src/agent/hosted/child-fork-stream-execution.js +4 -0
  188. package/esm/src/agent/hosted/child-fork-tool-sources.d.ts +6 -0
  189. package/esm/src/agent/hosted/child-fork-tool-sources.d.ts.map +1 -1
  190. package/esm/src/agent/hosted/child-fork-tool-sources.js +2 -0
  191. package/esm/src/agent/hosted/child-invoke-tool.d.ts +3 -0
  192. package/esm/src/agent/hosted/child-invoke-tool.d.ts.map +1 -1
  193. package/esm/src/agent/hosted/child-invoke-tool.js +1 -0
  194. package/esm/src/agent/hosted/child-lifecycle.d.ts +9 -0
  195. package/esm/src/agent/hosted/child-lifecycle.d.ts.map +1 -1
  196. package/esm/src/agent/hosted/child-lifecycle.js +3 -0
  197. package/esm/src/agent/hosted/child-mirror.d.ts +10 -0
  198. package/esm/src/agent/hosted/child-mirror.d.ts.map +1 -1
  199. package/esm/src/agent/hosted/child-mirror.js +6 -0
  200. package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts +11 -0
  201. package/esm/src/agent/hosted/child-pending-tool-lifecycle.d.ts.map +1 -1
  202. package/esm/src/agent/hosted/child-pending-tool-lifecycle.js +2 -0
  203. package/esm/src/agent/hosted/child-requested-tools.d.ts +18 -0
  204. package/esm/src/agent/hosted/child-requested-tools.d.ts.map +1 -1
  205. package/esm/src/agent/hosted/child-requested-tools.js +13 -0
  206. package/esm/src/agent/hosted/child-status.d.ts +11 -0
  207. package/esm/src/agent/hosted/child-status.d.ts.map +1 -1
  208. package/esm/src/agent/hosted/child-status.js +6 -0
  209. package/esm/src/agent/hosted/child-steering-tools.d.ts +6 -0
  210. package/esm/src/agent/hosted/child-steering-tools.d.ts.map +1 -1
  211. package/esm/src/agent/hosted/child-steering-tools.js +2 -0
  212. package/esm/src/agent/hosted/child-stream-watchdog.d.ts +8 -0
  213. package/esm/src/agent/hosted/child-stream-watchdog.d.ts.map +1 -1
  214. package/esm/src/agent/hosted/child-stream-watchdog.js +6 -0
  215. package/esm/src/agent/hosted/child-tool-input.d.ts +9 -1
  216. package/esm/src/agent/hosted/child-tool-input.d.ts.map +1 -1
  217. package/esm/src/agent/hosted/child-tool-input.js +6 -1
  218. package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts +4 -0
  219. package/esm/src/agent/hosted/cloud-chat-execution-preparation.d.ts.map +1 -1
  220. package/esm/src/agent/hosted/cloud-chat-execution-preparation.js +2 -0
  221. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts +2 -0
  222. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.d.ts.map +1 -1
  223. package/esm/src/agent/hosted/cloud-prepared-chat-execution-runtime.js +1 -0
  224. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +3 -0
  225. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
  226. package/esm/src/agent/hosted/cloud-runtime-system-messages.js +2 -0
  227. package/esm/src/agent/hosted/default-chat-runtime.d.ts +10 -0
  228. package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
  229. package/esm/src/agent/hosted/default-chat-runtime.js +1 -0
  230. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +17 -2
  231. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
  232. package/esm/src/agent/hosted/default-invoke-agent-tool.js +8 -2
  233. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +7 -0
  234. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
  235. package/esm/src/agent/hosted/default-project-steering-refresh.js +2 -0
  236. package/esm/src/agent/hosted/durable-chat-run-start.d.ts +9 -0
  237. package/esm/src/agent/hosted/durable-chat-run-start.d.ts.map +1 -1
  238. package/esm/src/agent/hosted/durable-chat-run-start.js +2 -0
  239. package/esm/src/agent/hosted/durable-child-fork-execution.d.ts +22 -0
  240. package/esm/src/agent/hosted/durable-child-fork-execution.d.ts.map +1 -1
  241. package/esm/src/agent/hosted/durable-child-fork-execution.js +6 -0
  242. package/esm/src/agent/hosted/finalized-message.d.ts +10 -0
  243. package/esm/src/agent/hosted/finalized-message.d.ts.map +1 -1
  244. package/esm/src/agent/hosted/finalized-message.js +4 -0
  245. package/esm/src/agent/hosted/form-input-tool.d.ts +2 -0
  246. package/esm/src/agent/hosted/form-input-tool.d.ts.map +1 -1
  247. package/esm/src/agent/hosted/form-input-tool.js +1 -0
  248. package/esm/src/agent/hosted/lifecycle.d.ts +6 -0
  249. package/esm/src/agent/hosted/lifecycle.d.ts.map +1 -1
  250. package/esm/src/agent/hosted/lifecycle.js +1 -0
  251. package/esm/src/agent/hosted/prepared-chat-execution.d.ts +6 -0
  252. package/esm/src/agent/hosted/prepared-chat-execution.d.ts.map +1 -1
  253. package/esm/src/agent/hosted/prepared-chat-execution.js +2 -0
  254. package/esm/src/agent/hosted/project-remote-tool-source.d.ts +8 -0
  255. package/esm/src/agent/hosted/project-remote-tool-source.d.ts.map +1 -1
  256. package/esm/src/agent/hosted/project-remote-tool-source.js +2 -0
  257. package/esm/src/agent/hosted/project-steering-adapter.d.ts +5 -0
  258. package/esm/src/agent/hosted/project-steering-adapter.d.ts.map +1 -1
  259. package/esm/src/agent/hosted/project-steering-adapter.js +1 -0
  260. package/esm/src/agent/hosted/response-stream.d.ts +4 -0
  261. package/esm/src/agent/hosted/response-stream.d.ts.map +1 -1
  262. package/esm/src/agent/hosted/response-stream.js +1 -0
  263. package/esm/src/agent/hosted/runtime-request-config.d.ts +8 -0
  264. package/esm/src/agent/hosted/runtime-request-config.d.ts.map +1 -1
  265. package/esm/src/agent/hosted/runtime-request-config.js +4 -0
  266. package/esm/src/agent/hosted/runtime-state-resolver.d.ts +7 -0
  267. package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
  268. package/esm/src/agent/hosted/runtime-state-resolver.js +1 -0
  269. package/esm/src/agent/hosted/stream-finalization.d.ts +7 -0
  270. package/esm/src/agent/hosted/stream-finalization.d.ts.map +1 -1
  271. package/esm/src/agent/hosted/stream-finalization.js +2 -0
  272. package/esm/src/agent/hosted/stream-terminal-error.d.ts +4 -0
  273. package/esm/src/agent/hosted/stream-terminal-error.d.ts.map +1 -1
  274. package/esm/src/agent/hosted/stream-terminal-error.js +3 -0
  275. package/esm/src/agent/hosted/trace-attributes.d.ts +9 -0
  276. package/esm/src/agent/hosted/trace-attributes.d.ts.map +1 -1
  277. package/esm/src/agent/hosted/trace-attributes.js +6 -0
  278. package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts +13 -0
  279. package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
  280. package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +4 -0
  281. package/esm/src/agent/input/human-input.d.ts +22 -0
  282. package/esm/src/agent/input/human-input.d.ts.map +1 -1
  283. package/esm/src/agent/input/human-input.js +10 -0
  284. package/esm/src/agent/input/request-protocol.d.ts +14 -0
  285. package/esm/src/agent/input/request-protocol.d.ts.map +1 -1
  286. package/esm/src/agent/input/request-protocol.js +12 -0
  287. package/esm/src/agent/memory/memory-interface.d.ts +3 -0
  288. package/esm/src/agent/memory/memory-interface.d.ts.map +1 -1
  289. package/esm/src/agent/memory/memory.d.ts +4 -0
  290. package/esm/src/agent/memory/memory.d.ts.map +1 -1
  291. package/esm/src/agent/memory/memory.js +4 -0
  292. package/esm/src/agent/memory/redis.d.ts +2 -0
  293. package/esm/src/agent/memory/redis.d.ts.map +1 -1
  294. package/esm/src/agent/memory/redis.js +2 -0
  295. package/esm/src/agent/project/agent-runtime.d.ts +10 -0
  296. package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
  297. package/esm/src/agent/project/agent-runtime.js +7 -0
  298. package/esm/src/agent/project/context.d.ts +3 -0
  299. package/esm/src/agent/project/context.d.ts.map +1 -1
  300. package/esm/src/agent/project/context.js +2 -0
  301. package/esm/src/agent/project/live-studio-mcp-tools.d.ts +3 -0
  302. package/esm/src/agent/project/live-studio-mcp-tools.d.ts.map +1 -1
  303. package/esm/src/agent/project/live-studio-mcp-tools.js +2 -0
  304. package/esm/src/agent/project/steering-mutation.d.ts +7 -0
  305. package/esm/src/agent/project/steering-mutation.d.ts.map +1 -1
  306. package/esm/src/agent/project/steering-mutation.js +4 -0
  307. package/esm/src/agent/react/use-agent.d.ts +3 -0
  308. package/esm/src/agent/react/use-agent.d.ts.map +1 -1
  309. package/esm/src/agent/react/use-agent.js +1 -0
  310. package/esm/src/agent/react/use-chat/types.d.ts +7 -2
  311. package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
  312. package/esm/src/agent/react/use-completion.d.ts +2 -0
  313. package/esm/src/agent/react/use-completion.d.ts.map +1 -1
  314. package/esm/src/agent/react/use-streaming.d.ts +3 -0
  315. package/esm/src/agent/react/use-streaming.d.ts.map +1 -1
  316. package/esm/src/agent/react/use-streaming.js +1 -0
  317. package/esm/src/agent/react/use-voice-input.d.ts +3 -0
  318. package/esm/src/agent/react/use-voice-input.d.ts.map +1 -1
  319. package/esm/src/agent/react/use-voice-input.js +1 -0
  320. package/esm/src/agent/runtime/ag-ui-contract.d.ts +11 -0
  321. package/esm/src/agent/runtime/ag-ui-contract.d.ts.map +1 -1
  322. package/esm/src/agent/runtime/ag-ui-contract.js +9 -2
  323. package/esm/src/agent/runtime/agent-definition-files.d.ts +7 -0
  324. package/esm/src/agent/runtime/agent-definition-files.d.ts.map +1 -1
  325. package/esm/src/agent/runtime/agent-definition-files.js +5 -0
  326. package/esm/src/agent/runtime/agent-definition.d.ts +19 -3
  327. package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
  328. package/esm/src/agent/runtime/agent-definition.js +15 -3
  329. package/esm/src/agent/runtime/agent-invocation-contract.d.ts +52 -13
  330. package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
  331. package/esm/src/agent/runtime/agent-invocation-contract.js +45 -15
  332. package/esm/src/agent/runtime/agent-markdown-adapter.d.ts +3 -0
  333. package/esm/src/agent/runtime/agent-markdown-adapter.d.ts.map +1 -1
  334. package/esm/src/agent/runtime/agent-markdown-adapter.js +3 -0
  335. package/esm/src/agent/runtime/builtin-skill-files.d.ts +10 -0
  336. package/esm/src/agent/runtime/builtin-skill-files.d.ts.map +1 -1
  337. package/esm/src/agent/runtime/builtin-skill-files.js +9 -0
  338. package/esm/src/agent/runtime/client-profile.d.ts +17 -3
  339. package/esm/src/agent/runtime/client-profile.d.ts.map +1 -1
  340. package/esm/src/agent/runtime/client-profile.js +14 -3
  341. package/esm/src/agent/runtime/index.d.ts +1 -0
  342. package/esm/src/agent/runtime/index.d.ts.map +1 -1
  343. package/esm/src/agent/runtime/index.js +1 -0
  344. package/esm/src/agent/runtime/load-skill-tool.d.ts +11 -0
  345. package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
  346. package/esm/src/agent/runtime/load-skill-tool.js +3 -0
  347. package/esm/src/agent/runtime/message-adapter.d.ts +9 -0
  348. package/esm/src/agent/runtime/message-adapter.d.ts.map +1 -1
  349. package/esm/src/agent/runtime/message-adapter.js +7 -0
  350. package/esm/src/agent/runtime/message-file-url-refresh.d.ts +3 -0
  351. package/esm/src/agent/runtime/message-file-url-refresh.d.ts.map +1 -1
  352. package/esm/src/agent/runtime/message-file-url-refresh.js +1 -0
  353. package/esm/src/agent/runtime/message-preparation.d.ts +2 -0
  354. package/esm/src/agent/runtime/message-preparation.d.ts.map +1 -1
  355. package/esm/src/agent/runtime/message-preparation.js +1 -0
  356. package/esm/src/agent/runtime/project-files-client.d.ts +18 -2
  357. package/esm/src/agent/runtime/project-files-client.d.ts.map +1 -1
  358. package/esm/src/agent/runtime/project-files-client.js +10 -2
  359. package/esm/src/agent/runtime/project-skill-catalog.d.ts +6 -0
  360. package/esm/src/agent/runtime/project-skill-catalog.d.ts.map +1 -1
  361. package/esm/src/agent/runtime/project-skill-catalog.js +3 -0
  362. package/esm/src/agent/runtime/project-skill-loader.d.ts +6 -0
  363. package/esm/src/agent/runtime/project-skill-loader.d.ts.map +1 -1
  364. package/esm/src/agent/runtime/project-skill-loader.js +1 -0
  365. package/esm/src/agent/runtime/prompt-block.d.ts +2 -0
  366. package/esm/src/agent/runtime/prompt-block.d.ts.map +1 -1
  367. package/esm/src/agent/runtime/prompt-block.js +1 -0
  368. package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts +4 -0
  369. package/esm/src/agent/runtime/provider-native-tool-inventory.d.ts.map +1 -1
  370. package/esm/src/agent/runtime/provider-native-tool-inventory.js +3 -0
  371. package/esm/src/agent/runtime/provider-tool-compat.d.ts +7 -0
  372. package/esm/src/agent/runtime/provider-tool-compat.d.ts.map +1 -1
  373. package/esm/src/agent/runtime/provider-tool-compat.js +4 -0
  374. package/esm/src/agent/runtime/resume-session.d.ts +9 -0
  375. package/esm/src/agent/runtime/resume-session.d.ts.map +1 -1
  376. package/esm/src/agent/runtime/resume-session.js +7 -0
  377. package/esm/src/agent/runtime/skill-metadata.d.ts +14 -1
  378. package/esm/src/agent/runtime/skill-metadata.d.ts.map +1 -1
  379. package/esm/src/agent/runtime/skill-metadata.js +8 -1
  380. package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
  381. package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
  382. package/esm/src/agent/runtime/skill-prompt.js +3 -0
  383. package/esm/src/agent/runtime/tool-inventory.d.ts +2 -0
  384. package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
  385. package/esm/src/agent/runtime/tool-inventory.js +2 -0
  386. package/esm/src/agent/runtime/upload-url-client.d.ts +4 -0
  387. package/esm/src/agent/runtime/upload-url-client.d.ts.map +1 -1
  388. package/esm/src/agent/runtime/upload-url-client.js +1 -0
  389. package/esm/src/agent/schemas/agent.schema.d.ts +14 -0
  390. package/esm/src/agent/schemas/agent.schema.d.ts.map +1 -1
  391. package/esm/src/agent/service/abort-rejection-guard.d.ts +8 -0
  392. package/esm/src/agent/service/abort-rejection-guard.d.ts.map +1 -1
  393. package/esm/src/agent/service/abort-rejection-guard.js +2 -0
  394. package/esm/src/agent/service/auth.d.ts +16 -0
  395. package/esm/src/agent/service/auth.d.ts.map +1 -1
  396. package/esm/src/agent/service/auth.js +4 -0
  397. package/esm/src/agent/service/before-stream.d.ts +4 -0
  398. package/esm/src/agent/service/before-stream.d.ts.map +1 -1
  399. package/esm/src/agent/service/bootstrap.d.ts +7 -0
  400. package/esm/src/agent/service/bootstrap.d.ts.map +1 -1
  401. package/esm/src/agent/service/bootstrap.js +2 -0
  402. package/esm/src/agent/service/config.d.ts +8 -0
  403. package/esm/src/agent/service/config.d.ts.map +1 -1
  404. package/esm/src/agent/service/config.js +4 -0
  405. package/esm/src/agent/service/definition.d.ts +5 -0
  406. package/esm/src/agent/service/definition.d.ts.map +1 -1
  407. package/esm/src/agent/service/detached-run-tracker.d.ts +8 -0
  408. package/esm/src/agent/service/detached-run-tracker.d.ts.map +1 -1
  409. package/esm/src/agent/service/detached-run-tracker.js +2 -0
  410. package/esm/src/agent/service/env-files.d.ts +6 -0
  411. package/esm/src/agent/service/env-files.d.ts.map +1 -1
  412. package/esm/src/agent/service/env-files.js +2 -0
  413. package/esm/src/agent/service/external-worker-client.d.ts +16 -0
  414. package/esm/src/agent/service/external-worker-client.d.ts.map +1 -1
  415. package/esm/src/agent/service/external-worker-client.js +5 -0
  416. package/esm/src/agent/service/node-runtime-infrastructure.d.ts +6 -0
  417. package/esm/src/agent/service/node-runtime-infrastructure.d.ts.map +1 -1
  418. package/esm/src/agent/service/node-runtime-infrastructure.js +2 -0
  419. package/esm/src/agent/service/node-telemetry.d.ts +18 -0
  420. package/esm/src/agent/service/node-telemetry.d.ts.map +1 -1
  421. package/esm/src/agent/service/node-telemetry.js +4 -0
  422. package/esm/src/agent/service/registration.d.ts +13 -0
  423. package/esm/src/agent/service/registration.d.ts.map +1 -1
  424. package/esm/src/agent/service/registration.js +4 -0
  425. package/esm/src/agent/service/request-auth-cache.d.ts +4 -0
  426. package/esm/src/agent/service/request-auth-cache.d.ts.map +1 -1
  427. package/esm/src/agent/service/request-auth-cache.js +1 -0
  428. package/esm/src/agent/service/response-like.d.ts +1 -0
  429. package/esm/src/agent/service/response-like.d.ts.map +1 -1
  430. package/esm/src/agent/service/response-like.js +1 -0
  431. package/esm/src/agent/service/routes.d.ts +15 -0
  432. package/esm/src/agent/service/routes.d.ts.map +1 -1
  433. package/esm/src/agent/service/routes.js +1 -0
  434. package/esm/src/agent/service/runtime.d.ts +21 -0
  435. package/esm/src/agent/service/runtime.d.ts.map +1 -1
  436. package/esm/src/agent/service/runtime.js +5 -0
  437. package/esm/src/agent/service/server.d.ts +9 -0
  438. package/esm/src/agent/service/server.d.ts.map +1 -1
  439. package/esm/src/agent/service/server.js +3 -0
  440. package/esm/src/agent/streaming/chat-ui-message-stream.d.ts +4 -0
  441. package/esm/src/agent/streaming/chat-ui-message-stream.d.ts.map +1 -1
  442. package/esm/src/agent/streaming/chat-ui-message-stream.js +1 -0
  443. package/esm/src/agent/streaming/data-stream.d.ts +6 -0
  444. package/esm/src/agent/streaming/data-stream.d.ts.map +1 -1
  445. package/esm/src/agent/streaming/data-stream.js +6 -0
  446. package/esm/src/agent/streaming/fork-runtime-stream.d.ts +41 -4
  447. package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
  448. package/esm/src/agent/streaming/fork-runtime-stream.js +25 -3
  449. package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts +15 -0
  450. package/esm/src/agent/streaming/mirrored-tool-chunk-state.d.ts.map +1 -1
  451. package/esm/src/agent/streaming/mirrored-tool-chunk-state.js +8 -0
  452. package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts +3 -0
  453. package/esm/src/agent/streaming/tool-execution-data-event-bridge.d.ts.map +1 -1
  454. package/esm/src/agent/streaming/tool-execution-data-event-bridge.js +1 -0
  455. package/esm/src/agent/testing/agent-tester.d.ts +8 -0
  456. package/esm/src/agent/testing/agent-tester.d.ts.map +1 -1
  457. package/esm/src/agent/testing/agent-tester.js +5 -0
  458. package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts +3 -0
  459. package/esm/src/agent/testing/durable-run-canaries/cli-runner.d.ts.map +1 -1
  460. package/esm/src/agent/testing/durable-run-canaries/cli-runner.js +1 -0
  461. package/esm/src/agent/testing/durable-run-canaries/environment.d.ts +3 -0
  462. package/esm/src/agent/testing/durable-run-canaries/environment.d.ts.map +1 -1
  463. package/esm/src/agent/testing/durable-run-canaries/environment.js +2 -0
  464. package/esm/src/agent/testing/durable-run-canaries/runner.d.ts +16 -0
  465. package/esm/src/agent/testing/durable-run-canaries/runner.d.ts.map +1 -1
  466. package/esm/src/agent/testing/durable-run-canaries/runner.js +5 -0
  467. package/esm/src/agent/testing/durable-run-canaries/validation.d.ts +5 -0
  468. package/esm/src/agent/testing/durable-run-canaries/validation.d.ts.map +1 -1
  469. package/esm/src/agent/testing/durable-run-canaries/validation.js +5 -0
  470. package/esm/src/agent/testing/live-evals/api-client.d.ts +24 -0
  471. package/esm/src/agent/testing/live-evals/api-client.d.ts.map +1 -1
  472. package/esm/src/agent/testing/live-evals/api-client.js +11 -0
  473. package/esm/src/agent/testing/live-evals/cli-runner.d.ts +4 -0
  474. package/esm/src/agent/testing/live-evals/cli-runner.d.ts.map +1 -1
  475. package/esm/src/agent/testing/live-evals/cli-runner.js +1 -0
  476. package/esm/src/agent/testing/live-evals/environment.d.ts +3 -0
  477. package/esm/src/agent/testing/live-evals/environment.d.ts.map +1 -1
  478. package/esm/src/agent/testing/live-evals/environment.js +2 -0
  479. package/esm/src/agent/testing/live-evals/formatting.d.ts +4 -0
  480. package/esm/src/agent/testing/live-evals/formatting.d.ts.map +1 -1
  481. package/esm/src/agent/testing/live-evals/formatting.js +4 -0
  482. package/esm/src/agent/testing/live-evals/metadata.d.ts +8 -0
  483. package/esm/src/agent/testing/live-evals/metadata.d.ts.map +1 -1
  484. package/esm/src/agent/testing/live-evals/metadata.js +4 -0
  485. package/esm/src/agent/testing/live-evals/performance.d.ts +4 -0
  486. package/esm/src/agent/testing/live-evals/performance.d.ts.map +1 -1
  487. package/esm/src/agent/testing/live-evals/performance.js +1 -0
  488. package/esm/src/agent/testing/live-evals/preflight.d.ts +3 -0
  489. package/esm/src/agent/testing/live-evals/preflight.d.ts.map +1 -1
  490. package/esm/src/agent/testing/live-evals/preflight.js +2 -0
  491. package/esm/src/agent/testing/live-evals/report.d.ts +9 -0
  492. package/esm/src/agent/testing/live-evals/report.d.ts.map +1 -1
  493. package/esm/src/agent/testing/live-evals/report.js +6 -0
  494. package/esm/src/agent/testing/live-evals/request.d.ts +2 -0
  495. package/esm/src/agent/testing/live-evals/request.d.ts.map +1 -1
  496. package/esm/src/agent/testing/live-evals/request.js +2 -0
  497. package/esm/src/agent/testing/live-evals/result.d.ts +4 -0
  498. package/esm/src/agent/testing/live-evals/result.d.ts.map +1 -1
  499. package/esm/src/agent/testing/live-evals/result.js +3 -0
  500. package/esm/src/agent/testing/live-evals/runner.d.ts +11 -0
  501. package/esm/src/agent/testing/live-evals/runner.d.ts.map +1 -1
  502. package/esm/src/agent/testing/live-evals/runner.js +5 -0
  503. package/esm/src/agent/types.d.ts +18 -0
  504. package/esm/src/agent/types.d.ts.map +1 -1
  505. package/esm/src/agent/types.js +4 -0
  506. package/esm/src/channels/control-plane.d.ts +32 -0
  507. package/esm/src/channels/control-plane.d.ts.map +1 -1
  508. package/esm/src/channels/control-plane.js +22 -0
  509. package/esm/src/channels/invoke.d.ts +24 -0
  510. package/esm/src/channels/invoke.d.ts.map +1 -1
  511. package/esm/src/channels/invoke.js +18 -0
  512. package/esm/src/chat/ag-ui.d.ts +37 -5
  513. package/esm/src/chat/ag-ui.d.ts.map +1 -1
  514. package/esm/src/chat/ag-ui.js +25 -5
  515. package/esm/src/chat/chat-ui-message-helpers.d.ts +7 -0
  516. package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
  517. package/esm/src/chat/chat-ui-message-helpers.js +6 -0
  518. package/esm/src/chat/conversation.d.ts +52 -5
  519. package/esm/src/chat/conversation.d.ts.map +1 -1
  520. package/esm/src/chat/conversation.js +42 -5
  521. package/esm/src/chat/final-step-fallback.d.ts +20 -0
  522. package/esm/src/chat/final-step-fallback.d.ts.map +1 -1
  523. package/esm/src/chat/final-step-fallback.js +14 -0
  524. package/esm/src/chat/hosted-ui-chunk-mapping.d.ts +3 -0
  525. package/esm/src/chat/hosted-ui-chunk-mapping.d.ts.map +1 -1
  526. package/esm/src/chat/hosted-ui-chunk-mapping.js +1 -0
  527. package/esm/src/chat/message-prep.d.ts +18 -0
  528. package/esm/src/chat/message-prep.d.ts.map +1 -1
  529. package/esm/src/chat/message-prep.js +18 -0
  530. package/esm/src/chat/protocol.d.ts +25 -0
  531. package/esm/src/chat/protocol.d.ts.map +1 -1
  532. package/esm/src/chat/provider-errors.d.ts +6 -0
  533. package/esm/src/chat/provider-errors.d.ts.map +1 -1
  534. package/esm/src/chat/provider-errors.js +5 -0
  535. package/esm/src/chat/stream-watchdog.d.ts +11 -0
  536. package/esm/src/chat/stream-watchdog.d.ts.map +1 -1
  537. package/esm/src/chat/stream-watchdog.js +8 -0
  538. package/esm/src/chat/types.d.ts +71 -7
  539. package/esm/src/chat/types.d.ts.map +1 -1
  540. package/esm/src/chat/types.js +35 -7
  541. package/esm/src/config/define-config.d.ts +1 -0
  542. package/esm/src/config/define-config.d.ts.map +1 -1
  543. package/esm/src/config/define-config.js +1 -0
  544. package/esm/src/data/helpers.d.ts +2 -0
  545. package/esm/src/data/helpers.d.ts.map +1 -1
  546. package/esm/src/data/helpers.js +2 -0
  547. package/esm/src/data/schemas/data.schema.d.ts +2 -0
  548. package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
  549. package/esm/src/embedding/react/use-uploads.d.ts +3 -1
  550. package/esm/src/embedding/react/use-uploads.d.ts.map +1 -1
  551. package/esm/src/embedding/types.d.ts +15 -0
  552. package/esm/src/embedding/types.d.ts.map +1 -1
  553. package/esm/src/extensions/contracts.d.ts +5 -0
  554. package/esm/src/extensions/contracts.d.ts.map +1 -1
  555. package/esm/src/extensions/contracts.js +5 -0
  556. package/esm/src/extensions/errors.d.ts +4 -0
  557. package/esm/src/extensions/errors.d.ts.map +1 -1
  558. package/esm/src/extensions/errors.js +4 -0
  559. package/esm/src/extensions/llm/llm-provider-registry.d.ts +1 -0
  560. package/esm/src/extensions/llm/llm-provider-registry.d.ts.map +1 -1
  561. package/esm/src/extensions/llm/llm-provider-registry.js +1 -0
  562. package/esm/src/extensions/loader.d.ts +1 -0
  563. package/esm/src/extensions/loader.d.ts.map +1 -1
  564. package/esm/src/extensions/loader.js +1 -0
  565. package/esm/src/extensions/observability/node-telemetry-provider.d.ts +4 -0
  566. package/esm/src/extensions/observability/node-telemetry-provider.d.ts.map +1 -1
  567. package/esm/src/extensions/parser/code-parser.d.ts +2 -1
  568. package/esm/src/extensions/parser/code-parser.d.ts.map +1 -1
  569. package/esm/src/extensions/recommendations.d.ts +1 -0
  570. package/esm/src/extensions/recommendations.d.ts.map +1 -1
  571. package/esm/src/extensions/recommendations.js +1 -0
  572. package/esm/src/extensions/sandbox/shell-tools.d.ts +7 -0
  573. package/esm/src/extensions/sandbox/shell-tools.d.ts.map +1 -1
  574. package/esm/src/extensions/sandbox/shell-tools.js +1 -0
  575. package/esm/src/extensions/types.d.ts +8 -0
  576. package/esm/src/extensions/types.d.ts.map +1 -1
  577. package/esm/src/html/hydration-script-builder/prod-scripts.d.ts.map +1 -1
  578. package/esm/src/html/hydration-script-builder/prod-scripts.js +1 -0
  579. package/esm/src/html/hydration-script-builder/templates/renderer.d.ts.map +1 -1
  580. package/esm/src/html/hydration-script-builder/templates/renderer.js +26 -14
  581. package/esm/src/integrations/index.d.ts +4 -0
  582. package/esm/src/integrations/index.d.ts.map +1 -1
  583. package/esm/src/integrations/index.js +4 -0
  584. package/esm/src/integrations/schema.d.ts +14 -0
  585. package/esm/src/integrations/schema.d.ts.map +1 -1
  586. package/esm/src/integrations/schema.js +7 -0
  587. package/esm/src/integrations/types.d.ts +4 -0
  588. package/esm/src/integrations/types.d.ts.map +1 -1
  589. package/esm/src/internal-agents/schema.js +2 -2
  590. package/esm/src/jobs/jobs-client.d.ts +15 -0
  591. package/esm/src/jobs/jobs-client.d.ts.map +1 -1
  592. package/esm/src/jobs/jobs-client.js +2 -0
  593. package/esm/src/jobs/schemas.d.ts +53 -0
  594. package/esm/src/jobs/schemas.d.ts.map +1 -1
  595. package/esm/src/jobs/schemas.js +28 -0
  596. package/esm/src/mcp/elicitation.d.ts +5 -0
  597. package/esm/src/mcp/elicitation.d.ts.map +1 -1
  598. package/esm/src/mcp/elicitation.js +2 -0
  599. package/esm/src/mcp/registry.d.ts +6 -0
  600. package/esm/src/mcp/registry.d.ts.map +1 -1
  601. package/esm/src/mcp/registry.js +6 -0
  602. package/esm/src/mcp/schemas/mcp.schema.d.ts +2 -0
  603. package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
  604. package/esm/src/mcp/server.d.ts +3 -0
  605. package/esm/src/mcp/server.d.ts.map +1 -1
  606. package/esm/src/mcp/server.js +2 -0
  607. package/esm/src/mcp/sse.d.ts +2 -0
  608. package/esm/src/mcp/sse.d.ts.map +1 -1
  609. package/esm/src/mcp/sse.js +2 -0
  610. package/esm/src/mcp/task-store.d.ts +1 -0
  611. package/esm/src/mcp/task-store.d.ts.map +1 -1
  612. package/esm/src/mcp/task-store.js +2 -0
  613. package/esm/src/middleware/builtin/logger.d.ts +5 -0
  614. package/esm/src/middleware/builtin/logger.d.ts.map +1 -1
  615. package/esm/src/middleware/builtin/logger.js +3 -0
  616. package/esm/src/middleware/builtin/security/rate-limit.d.ts +3 -0
  617. package/esm/src/middleware/builtin/security/rate-limit.d.ts.map +1 -1
  618. package/esm/src/middleware/builtin/security/rate-limit.js +2 -0
  619. package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts +2 -0
  620. package/esm/src/middleware/builtin/security/redis-rate-limit.d.ts.map +1 -1
  621. package/esm/src/middleware/builtin/security/redis-rate-limit.js +1 -0
  622. package/esm/src/middleware/builtin/security/types.d.ts +1 -0
  623. package/esm/src/middleware/builtin/security/types.d.ts.map +1 -1
  624. package/esm/src/middleware/builtin/timeout.d.ts +1 -0
  625. package/esm/src/middleware/builtin/timeout.d.ts.map +1 -1
  626. package/esm/src/middleware/builtin/types.d.ts +1 -0
  627. package/esm/src/middleware/builtin/types.d.ts.map +1 -1
  628. package/esm/src/middleware/core/context.d.ts +1 -0
  629. package/esm/src/middleware/core/context.d.ts.map +1 -1
  630. package/esm/src/middleware/core/context.js +1 -0
  631. package/esm/src/middleware/core/pipeline/pipeline.d.ts +1 -0
  632. package/esm/src/middleware/core/pipeline/pipeline.d.ts.map +1 -1
  633. package/esm/src/middleware/core/pipeline/pipeline.js +1 -0
  634. package/esm/src/middleware/core/pipeline/types.d.ts +1 -0
  635. package/esm/src/middleware/core/pipeline/types.d.ts.map +1 -1
  636. package/esm/src/middleware/core/types.d.ts +5 -0
  637. package/esm/src/middleware/core/types.d.ts.map +1 -1
  638. package/esm/src/oauth/handlers/callback-handler.d.ts +3 -1
  639. package/esm/src/oauth/handlers/callback-handler.d.ts.map +1 -1
  640. package/esm/src/oauth/handlers/callback-handler.js +1 -0
  641. package/esm/src/oauth/handlers/init-handler.d.ts +7 -3
  642. package/esm/src/oauth/handlers/init-handler.d.ts.map +1 -1
  643. package/esm/src/oauth/handlers/init-handler.js +3 -0
  644. package/esm/src/oauth/providers/atlassian.d.ts +3 -0
  645. package/esm/src/oauth/providers/atlassian.d.ts.map +1 -1
  646. package/esm/src/oauth/providers/atlassian.js +3 -0
  647. package/esm/src/oauth/providers/base.d.ts +2 -0
  648. package/esm/src/oauth/providers/base.d.ts.map +1 -1
  649. package/esm/src/oauth/providers/base.js +2 -0
  650. package/esm/src/oauth/providers/common.d.ts +26 -0
  651. package/esm/src/oauth/providers/common.d.ts.map +1 -1
  652. package/esm/src/oauth/providers/common.js +26 -0
  653. package/esm/src/oauth/providers/google.d.ts +4 -0
  654. package/esm/src/oauth/providers/google.d.ts.map +1 -1
  655. package/esm/src/oauth/providers/google.js +4 -0
  656. package/esm/src/oauth/providers/microsoft.d.ts +4 -0
  657. package/esm/src/oauth/providers/microsoft.d.ts.map +1 -1
  658. package/esm/src/oauth/providers/microsoft.js +4 -0
  659. package/esm/src/oauth/schemas/oauth.schema.d.ts +7 -0
  660. package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
  661. package/esm/src/observability/auto-instrument/http-instrumentation.d.ts +2 -0
  662. package/esm/src/observability/auto-instrument/http-instrumentation.d.ts.map +1 -1
  663. package/esm/src/observability/auto-instrument/http-instrumentation.js +2 -0
  664. package/esm/src/observability/auto-instrument/orchestrator.d.ts +2 -0
  665. package/esm/src/observability/auto-instrument/orchestrator.d.ts.map +1 -1
  666. package/esm/src/observability/auto-instrument/orchestrator.js +2 -0
  667. package/esm/src/observability/auto-instrument/react-instrumentation.d.ts +2 -0
  668. package/esm/src/observability/auto-instrument/react-instrumentation.d.ts.map +1 -1
  669. package/esm/src/observability/auto-instrument/react-instrumentation.js +2 -0
  670. package/esm/src/observability/auto-instrument/types.d.ts +1 -0
  671. package/esm/src/observability/auto-instrument/types.d.ts.map +1 -1
  672. package/esm/src/observability/auto-instrument/wrappers.d.ts +3 -0
  673. package/esm/src/observability/auto-instrument/wrappers.d.ts.map +1 -1
  674. package/esm/src/observability/auto-instrument/wrappers.js +3 -0
  675. package/esm/src/observability/error-collector.d.ts +8 -0
  676. package/esm/src/observability/error-collector.d.ts.map +1 -1
  677. package/esm/src/observability/error-collector.js +4 -0
  678. package/esm/src/observability/file-log-subscriber.d.ts +4 -0
  679. package/esm/src/observability/file-log-subscriber.d.ts.map +1 -1
  680. package/esm/src/observability/file-log-subscriber.js +3 -0
  681. package/esm/src/observability/log-buffer.d.ts +8 -0
  682. package/esm/src/observability/log-buffer.d.ts.map +1 -1
  683. package/esm/src/observability/log-buffer.js +4 -0
  684. package/esm/src/observability/metrics/index.d.ts +22 -0
  685. package/esm/src/observability/metrics/index.d.ts.map +1 -1
  686. package/esm/src/observability/metrics/index.js +22 -0
  687. package/esm/src/observability/metrics/types.d.ts +1 -0
  688. package/esm/src/observability/metrics/types.d.ts.map +1 -1
  689. package/esm/src/observability/tracing/index.d.ts +14 -0
  690. package/esm/src/observability/tracing/index.d.ts.map +1 -1
  691. package/esm/src/observability/tracing/index.js +14 -0
  692. package/esm/src/observability/tracing/otlp-setup.d.ts +15 -0
  693. package/esm/src/observability/tracing/otlp-setup.d.ts.map +1 -1
  694. package/esm/src/observability/tracing/otlp-setup.js +14 -0
  695. package/esm/src/observability/tracing/service-tracer.d.ts +15 -0
  696. package/esm/src/observability/tracing/service-tracer.d.ts.map +1 -1
  697. package/esm/src/observability/tracing/service-tracer.js +1 -0
  698. package/esm/src/observability/tracing/span-names.d.ts +1 -0
  699. package/esm/src/observability/tracing/span-names.d.ts.map +1 -1
  700. package/esm/src/observability/tracing/span-names.js +1 -0
  701. package/esm/src/observability/tracing/types.d.ts +2 -0
  702. package/esm/src/observability/tracing/types.d.ts.map +1 -1
  703. package/esm/src/platform/compat/fs.d.ts +15 -0
  704. package/esm/src/platform/compat/fs.d.ts.map +1 -1
  705. package/esm/src/platform/compat/fs.js +14 -0
  706. package/esm/src/platform/compat/http/responses.d.ts +7 -0
  707. package/esm/src/platform/compat/http/responses.d.ts.map +1 -1
  708. package/esm/src/platform/compat/http/responses.js +7 -0
  709. package/esm/src/platform/compat/path/basic-operations.d.ts +4 -0
  710. package/esm/src/platform/compat/path/basic-operations.d.ts.map +1 -1
  711. package/esm/src/platform/compat/path/basic-operations.js +4 -0
  712. package/esm/src/platform/compat/path/resolution.d.ts +1 -0
  713. package/esm/src/platform/compat/path/resolution.d.ts.map +1 -1
  714. package/esm/src/platform/compat/path/resolution.js +1 -0
  715. package/esm/src/platform/compat/process/env.d.ts +4 -0
  716. package/esm/src/platform/compat/process/env.d.ts.map +1 -1
  717. package/esm/src/platform/compat/process/env.js +4 -0
  718. package/esm/src/platform/compat/process/lifecycle.d.ts +1 -0
  719. package/esm/src/platform/compat/process/lifecycle.d.ts.map +1 -1
  720. package/esm/src/platform/compat/process/lifecycle.js +1 -0
  721. package/esm/src/prompt/factory.d.ts +1 -0
  722. package/esm/src/prompt/factory.d.ts.map +1 -1
  723. package/esm/src/prompt/factory.js +1 -0
  724. package/esm/src/prompt/registry.d.ts +1 -0
  725. package/esm/src/prompt/registry.d.ts.map +1 -1
  726. package/esm/src/prompt/registry.js +1 -0
  727. package/esm/src/prompt/schemas/prompt.schema.d.ts +1 -0
  728. package/esm/src/prompt/schemas/prompt.schema.d.ts.map +1 -1
  729. package/esm/src/prompt/types.d.ts +1 -0
  730. package/esm/src/prompt/types.d.ts.map +1 -1
  731. package/esm/src/provider/model-registry.d.ts +1 -0
  732. package/esm/src/provider/model-registry.d.ts.map +1 -1
  733. package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts +1 -0
  734. package/esm/src/provider/runtime-loader/provider-embedding-responses.d.ts.map +1 -1
  735. package/esm/src/provider/runtime-loader/provider-embedding-responses.js +1 -0
  736. package/esm/src/provider/runtime-loader/provider-endpoints.d.ts +7 -0
  737. package/esm/src/provider/runtime-loader/provider-endpoints.d.ts.map +1 -1
  738. package/esm/src/provider/runtime-loader/provider-endpoints.js +7 -0
  739. package/esm/src/provider/runtime-loader/provider-http.d.ts +3 -0
  740. package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
  741. package/esm/src/provider/runtime-loader/provider-http.js +3 -0
  742. package/esm/src/provider/runtime-loader/provider-records.d.ts +1 -0
  743. package/esm/src/provider/runtime-loader/provider-records.d.ts.map +1 -1
  744. package/esm/src/provider/runtime-loader/provider-records.js +1 -0
  745. package/esm/src/provider/runtime-loader/provider-request-init.d.ts +3 -0
  746. package/esm/src/provider/runtime-loader/provider-request-init.d.ts.map +1 -1
  747. package/esm/src/provider/runtime-loader/provider-request-init.js +3 -0
  748. package/esm/src/provider/runtime-loader/provider-sse.d.ts +1 -0
  749. package/esm/src/provider/runtime-loader/provider-sse.d.ts.map +1 -1
  750. package/esm/src/provider/runtime-loader/provider-sse.js +1 -0
  751. package/esm/src/provider/runtime-loader/provider-usage.d.ts +2 -0
  752. package/esm/src/provider/runtime-loader/provider-usage.d.ts.map +1 -1
  753. package/esm/src/provider/runtime-loader/provider-usage.js +1 -0
  754. package/esm/src/provider/runtime-loader/tool-input-status.d.ts +1 -0
  755. package/esm/src/provider/runtime-loader/tool-input-status.d.ts.map +1 -1
  756. package/esm/src/provider/runtime-loader/tool-input-status.js +2 -0
  757. package/esm/src/provider/runtime-loader.d.ts +10 -0
  758. package/esm/src/provider/runtime-loader.d.ts.map +1 -1
  759. package/esm/src/provider/runtime-loader.js +7 -0
  760. package/esm/src/provider/types.d.ts +1 -0
  761. package/esm/src/provider/types.d.ts.map +1 -1
  762. package/esm/src/provider/veryfront-cloud/context.d.ts +3 -0
  763. package/esm/src/provider/veryfront-cloud/context.d.ts.map +1 -1
  764. package/esm/src/provider/veryfront-cloud/context.js +2 -0
  765. package/esm/src/provider/veryfront-cloud/model-catalog.d.ts +16 -0
  766. package/esm/src/provider/veryfront-cloud/model-catalog.d.ts.map +1 -1
  767. package/esm/src/provider/veryfront-cloud/model-catalog.js +14 -0
  768. package/esm/src/provider/veryfront-cloud/shared.d.ts +1 -0
  769. package/esm/src/provider/veryfront-cloud/shared.d.ts.map +1 -1
  770. package/esm/src/react/compat/ssr-adapter/string-renderer.d.ts.map +1 -1
  771. package/esm/src/react/compat/ssr-adapter/string-renderer.js +3 -2
  772. package/esm/src/react/components/MDXProvider.d.ts +3 -0
  773. package/esm/src/react/components/MDXProvider.d.ts.map +1 -1
  774. package/esm/src/react/components/MDXProvider.js +2 -0
  775. package/esm/src/react/components/chat/agent-card.d.ts +2 -0
  776. package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
  777. package/esm/src/react/components/chat/agent-card.js +1 -0
  778. package/esm/src/react/components/chat/chat/components/animations.d.ts +3 -0
  779. package/esm/src/react/components/chat/chat/components/animations.d.ts.map +1 -1
  780. package/esm/src/react/components/chat/chat/components/animations.js +3 -0
  781. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +3 -0
  782. package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
  783. package/esm/src/react/components/chat/chat/components/attachment-pill.js +1 -0
  784. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +2 -0
  785. package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
  786. package/esm/src/react/components/chat/chat/components/branch-picker.js +1 -0
  787. package/esm/src/react/components/chat/chat/components/code-block.d.ts +2 -0
  788. package/esm/src/react/components/chat/chat/components/code-block.d.ts.map +1 -1
  789. package/esm/src/react/components/chat/chat/components/code-block.js +1 -0
  790. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +2 -0
  791. package/esm/src/react/components/chat/chat/components/drop-zone.d.ts.map +1 -1
  792. package/esm/src/react/components/chat/chat/components/drop-zone.js +1 -0
  793. package/esm/src/react/components/chat/chat/components/empty-state.d.ts +8 -0
  794. package/esm/src/react/components/chat/chat/components/empty-state.d.ts.map +1 -1
  795. package/esm/src/react/components/chat/chat/components/empty-state.js +4 -0
  796. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +2 -0
  797. package/esm/src/react/components/chat/chat/components/inference-badge.d.ts.map +1 -1
  798. package/esm/src/react/components/chat/chat/components/inference-badge.js +1 -0
  799. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +2 -0
  800. package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
  801. package/esm/src/react/components/chat/chat/components/inline-citation.js +1 -0
  802. package/esm/src/react/components/chat/chat/components/message-actions.d.ts +2 -0
  803. package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
  804. package/esm/src/react/components/chat/chat/components/message-actions.js +1 -0
  805. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +2 -0
  806. package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts.map +1 -1
  807. package/esm/src/react/components/chat/chat/components/message-edit-form.js +1 -0
  808. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +3 -0
  809. package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
  810. package/esm/src/react/components/chat/chat/components/message-feedback.js +1 -0
  811. package/esm/src/react/components/chat/chat/components/quick-actions.d.ts +3 -0
  812. package/esm/src/react/components/chat/chat/components/quick-actions.d.ts.map +1 -1
  813. package/esm/src/react/components/chat/chat/components/quick-actions.js +1 -0
  814. package/esm/src/react/components/chat/chat/components/reasoning.d.ts +1 -0
  815. package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
  816. package/esm/src/react/components/chat/chat/components/reasoning.js +1 -0
  817. package/esm/src/react/components/chat/chat/components/sidebar.d.ts +2 -0
  818. package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
  819. package/esm/src/react/components/chat/chat/components/sidebar.js +1 -0
  820. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +2 -0
  821. package/esm/src/react/components/chat/chat/components/skill-badge.d.ts.map +1 -1
  822. package/esm/src/react/components/chat/chat/components/skill-badge.js +1 -0
  823. package/esm/src/react/components/chat/chat/components/sources.d.ts +3 -0
  824. package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
  825. package/esm/src/react/components/chat/chat/components/sources.js +1 -0
  826. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +2 -0
  827. package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
  828. package/esm/src/react/components/chat/chat/components/step-indicator.js +1 -0
  829. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts +3 -0
  830. package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts.map +1 -1
  831. package/esm/src/react/components/chat/chat/components/tab-switcher.js +1 -0
  832. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +1 -0
  833. package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
  834. package/esm/src/react/components/chat/chat/components/tool-ui.js +1 -0
  835. package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts +2 -0
  836. package/esm/src/react/components/chat/chat/components/upgrade-cta.d.ts.map +1 -1
  837. package/esm/src/react/components/chat/chat/components/upgrade-cta.js +1 -0
  838. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts +3 -0
  839. package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts.map +1 -1
  840. package/esm/src/react/components/chat/chat/components/uploads-panel.js +1 -0
  841. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +2 -0
  842. package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
  843. package/esm/src/react/components/chat/chat/composition/chat-composer.js +1 -0
  844. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +2 -0
  845. package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts.map +1 -1
  846. package/esm/src/react/components/chat/chat/composition/chat-empty.js +1 -0
  847. package/esm/src/react/components/chat/chat/composition/chat-if.d.ts +2 -0
  848. package/esm/src/react/components/chat/chat/composition/chat-if.d.ts.map +1 -1
  849. package/esm/src/react/components/chat/chat/composition/chat-if.js +1 -0
  850. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +2 -0
  851. package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
  852. package/esm/src/react/components/chat/chat/composition/chat-message-list.js +1 -0
  853. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +2 -0
  854. package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
  855. package/esm/src/react/components/chat/chat/composition/chat-root.js +1 -0
  856. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +2 -0
  857. package/esm/src/react/components/chat/chat/composition/error-banner.d.ts.map +1 -1
  858. package/esm/src/react/components/chat/chat/composition/error-banner.js +1 -0
  859. package/esm/src/react/components/chat/chat/composition/message.d.ts +2 -0
  860. package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
  861. package/esm/src/react/components/chat/chat/composition/message.js +1 -0
  862. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +2 -0
  863. package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts.map +1 -1
  864. package/esm/src/react/components/chat/chat/composition/model-avatar.js +1 -0
  865. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +4 -0
  866. package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
  867. package/esm/src/react/components/chat/chat/contexts/chat-context.js +3 -0
  868. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +4 -0
  869. package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
  870. package/esm/src/react/components/chat/chat/contexts/composer-context.js +3 -0
  871. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +4 -0
  872. package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
  873. package/esm/src/react/components/chat/chat/contexts/message-context.js +3 -0
  874. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts +4 -0
  875. package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts.map +1 -1
  876. package/esm/src/react/components/chat/chat/contexts/thread-list-context.js +3 -0
  877. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts +4 -0
  878. package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts.map +1 -1
  879. package/esm/src/react/components/chat/chat/hooks/use-threads.js +1 -0
  880. package/esm/src/react/components/chat/chat/index.d.ts +3 -0
  881. package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
  882. package/esm/src/react/components/chat/chat/index.js +2 -0
  883. package/esm/src/react/components/chat/chat-with-sidebar.d.ts +12 -0
  884. package/esm/src/react/components/chat/chat-with-sidebar.d.ts.map +1 -1
  885. package/esm/src/react/components/chat/chat-with-sidebar.js +1 -0
  886. package/esm/src/react/components/chat/error-boundary.d.ts +3 -0
  887. package/esm/src/react/components/chat/error-boundary.d.ts.map +1 -1
  888. package/esm/src/react/components/chat/error-boundary.js +2 -0
  889. package/esm/src/react/components/chat/markdown.d.ts +3 -0
  890. package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
  891. package/esm/src/react/components/chat/markdown.js +1 -0
  892. package/esm/src/react/components/chat/message.d.ts +4 -0
  893. package/esm/src/react/components/chat/message.d.ts.map +1 -1
  894. package/esm/src/react/components/chat/message.js +2 -0
  895. package/esm/src/react/components/chat/model-selector.d.ts +2 -1
  896. package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
  897. package/esm/src/react/components/chat/model-selector.js +1 -0
  898. package/esm/src/react/components/chat/theme.d.ts +2 -0
  899. package/esm/src/react/components/chat/theme.d.ts.map +1 -1
  900. package/esm/src/react/fonts/index.d.ts +3 -0
  901. package/esm/src/react/fonts/index.d.ts.map +1 -1
  902. package/esm/src/react/fonts/index.js +1 -0
  903. package/esm/src/react/runtime/core.d.ts +38 -0
  904. package/esm/src/react/runtime/core.d.ts.map +1 -1
  905. package/esm/src/react/runtime/core.js +6 -0
  906. package/esm/src/rendering/rsc/client-boot.ts +50 -5
  907. package/esm/src/resource/factory.d.ts +1 -0
  908. package/esm/src/resource/factory.d.ts.map +1 -1
  909. package/esm/src/resource/factory.js +1 -0
  910. package/esm/src/resource/registry.d.ts +1 -0
  911. package/esm/src/resource/registry.d.ts.map +1 -1
  912. package/esm/src/resource/registry.js +1 -0
  913. package/esm/src/resource/types.d.ts +2 -0
  914. package/esm/src/resource/types.d.ts.map +1 -1
  915. package/esm/src/routing/api/context-builder.d.ts +1 -0
  916. package/esm/src/routing/api/context-builder.d.ts.map +1 -1
  917. package/esm/src/routing/api/handler.d.ts +2 -0
  918. package/esm/src/routing/api/handler.d.ts.map +1 -1
  919. package/esm/src/routing/api/module-loader/types.d.ts +1 -0
  920. package/esm/src/routing/api/module-loader/types.d.ts.map +1 -1
  921. package/esm/src/runtime/runtime-bridge.d.ts +1 -0
  922. package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
  923. package/esm/src/runtime/runtime-bridge.js +1 -0
  924. package/esm/src/sandbox/agent-service-tools.d.ts +16 -0
  925. package/esm/src/sandbox/agent-service-tools.d.ts.map +1 -1
  926. package/esm/src/sandbox/agent-service-tools.js +6 -0
  927. package/esm/src/sandbox/lazy-sandbox.d.ts +2 -0
  928. package/esm/src/sandbox/lazy-sandbox.d.ts.map +1 -1
  929. package/esm/src/sandbox/lazy-sandbox.js +1 -0
  930. package/esm/src/sandbox/shell-tools.d.ts +3 -0
  931. package/esm/src/sandbox/shell-tools.d.ts.map +1 -1
  932. package/esm/src/sandbox/shell-tools.js +3 -0
  933. package/esm/src/security/http/cors/middleware.d.ts +1 -0
  934. package/esm/src/security/http/cors/middleware.d.ts.map +1 -1
  935. package/esm/src/security/http/cors/middleware.js +1 -0
  936. package/esm/src/security/input-validation/handler.d.ts +2 -0
  937. package/esm/src/security/input-validation/handler.d.ts.map +1 -1
  938. package/esm/src/security/input-validation/parsers.d.ts +3 -0
  939. package/esm/src/security/input-validation/parsers.d.ts.map +1 -1
  940. package/esm/src/security/input-validation/parsers.js +3 -0
  941. package/esm/src/server/build-types.d.ts +1 -0
  942. package/esm/src/server/build-types.d.ts.map +1 -1
  943. package/esm/src/server/dev-server/index.d.ts +1 -0
  944. package/esm/src/server/dev-server/index.d.ts.map +1 -1
  945. package/esm/src/server/dev-server/index.js +1 -0
  946. package/esm/src/server/dev-server/server.d.ts +2 -1
  947. package/esm/src/server/dev-server/server.d.ts.map +1 -1
  948. package/esm/src/server/dev-server/server.js +2 -1
  949. package/esm/src/server/dev-server/types.d.ts +3 -0
  950. package/esm/src/server/dev-server/types.d.ts.map +1 -1
  951. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  952. package/esm/src/server/handlers/dev/framework-candidates.generated.js +75 -0
  953. package/esm/src/server/index.d.ts +3 -0
  954. package/esm/src/server/index.d.ts.map +1 -1
  955. package/esm/src/server/index.js +1 -0
  956. package/esm/src/server/node-handler.d.ts +1 -0
  957. package/esm/src/server/node-handler.d.ts.map +1 -1
  958. package/esm/src/server/node-handler.js +1 -0
  959. package/esm/src/server/production-server.d.ts +3 -0
  960. package/esm/src/server/production-server.d.ts.map +1 -1
  961. package/esm/src/server/production-server.js +1 -0
  962. package/esm/src/server/reload-notifier.d.ts +1 -0
  963. package/esm/src/server/reload-notifier.d.ts.map +1 -1
  964. package/esm/src/server/reload-notifier.js +1 -0
  965. package/esm/src/server/service-server.d.ts +14 -0
  966. package/esm/src/server/service-server.d.ts.map +1 -1
  967. package/esm/src/server/service-server.js +3 -0
  968. package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
  969. package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +1 -1
  970. package/esm/src/testing/assert.d.ts +18 -0
  971. package/esm/src/testing/assert.d.ts.map +1 -1
  972. package/esm/src/testing/assert.js +17 -0
  973. package/esm/src/testing/bdd.d.ts +8 -0
  974. package/esm/src/testing/bdd.d.ts.map +1 -1
  975. package/esm/src/testing/bdd.js +8 -0
  976. package/esm/src/testing/deno-compat.d.ts +8 -0
  977. package/esm/src/testing/deno-compat.d.ts.map +1 -1
  978. package/esm/src/testing/deno-compat.js +8 -0
  979. package/esm/src/testing/isolation.d.ts +1 -0
  980. package/esm/src/testing/isolation.d.ts.map +1 -1
  981. package/esm/src/testing/isolation.js +1 -0
  982. package/esm/src/testing/timing.d.ts +3 -0
  983. package/esm/src/testing/timing.d.ts.map +1 -1
  984. package/esm/src/testing/timing.js +3 -0
  985. package/esm/src/testing/utils.d.ts +1 -0
  986. package/esm/src/testing/utils.d.ts.map +1 -1
  987. package/esm/src/testing/utils.js +1 -0
  988. package/esm/src/tool/context7.d.ts +2 -0
  989. package/esm/src/tool/context7.d.ts.map +1 -1
  990. package/esm/src/tool/context7.js +1 -0
  991. package/esm/src/tool/executor.d.ts +1 -0
  992. package/esm/src/tool/executor.d.ts.map +1 -1
  993. package/esm/src/tool/executor.js +1 -0
  994. package/esm/src/tool/factory.d.ts +3 -0
  995. package/esm/src/tool/factory.d.ts.map +1 -1
  996. package/esm/src/tool/factory.js +2 -0
  997. package/esm/src/tool/host-tools.d.ts +5 -0
  998. package/esm/src/tool/host-tools.d.ts.map +1 -1
  999. package/esm/src/tool/host-tools.js +1 -0
  1000. package/esm/src/tool/project-scoped-remote-tools.d.ts +15 -0
  1001. package/esm/src/tool/project-scoped-remote-tools.d.ts.map +1 -1
  1002. package/esm/src/tool/project-scoped-remote-tools.js +7 -0
  1003. package/esm/src/tool/registry.d.ts +1 -0
  1004. package/esm/src/tool/registry.d.ts.map +1 -1
  1005. package/esm/src/tool/registry.js +1 -0
  1006. package/esm/src/tool/remote-mcp.d.ts +2 -0
  1007. package/esm/src/tool/remote-mcp.d.ts.map +1 -1
  1008. package/esm/src/tool/remote-mcp.js +1 -0
  1009. package/esm/src/tool/remote-source-tools.d.ts +3 -0
  1010. package/esm/src/tool/remote-source-tools.d.ts.map +1 -1
  1011. package/esm/src/tool/remote-source-tools.js +2 -0
  1012. package/esm/src/tool/result.d.ts +2 -0
  1013. package/esm/src/tool/result.d.ts.map +1 -1
  1014. package/esm/src/tool/result.js +2 -0
  1015. package/esm/src/tool/sleep.d.ts +6 -0
  1016. package/esm/src/tool/sleep.d.ts.map +1 -1
  1017. package/esm/src/tool/sleep.js +2 -0
  1018. package/esm/src/tool/tracing.d.ts +5 -0
  1019. package/esm/src/tool/tracing.d.ts.map +1 -1
  1020. package/esm/src/tool/tracing.js +1 -0
  1021. package/esm/src/tool/types.d.ts +2 -1
  1022. package/esm/src/tool/types.d.ts.map +1 -1
  1023. package/esm/src/types/index.d.ts +2 -0
  1024. package/esm/src/types/index.d.ts.map +1 -1
  1025. package/esm/src/utils/bundle-manifest.d.ts +3 -0
  1026. package/esm/src/utils/bundle-manifest.d.ts.map +1 -1
  1027. package/esm/src/utils/bundle-manifest.js +1 -0
  1028. package/esm/src/utils/constants/build.d.ts +2 -0
  1029. package/esm/src/utils/constants/build.d.ts.map +1 -1
  1030. package/esm/src/utils/constants/build.js +2 -0
  1031. package/esm/src/utils/constants/cache.d.ts +4 -0
  1032. package/esm/src/utils/constants/cache.d.ts.map +1 -1
  1033. package/esm/src/utils/constants/cache.js +4 -0
  1034. package/esm/src/utils/constants/cdn.d.ts +4 -0
  1035. package/esm/src/utils/constants/cdn.d.ts.map +1 -1
  1036. package/esm/src/utils/constants/cdn.js +4 -0
  1037. package/esm/src/utils/constants/hash.d.ts +2 -0
  1038. package/esm/src/utils/constants/hash.d.ts.map +1 -1
  1039. package/esm/src/utils/constants/hash.js +2 -0
  1040. package/esm/src/utils/constants/hmr.d.ts +7 -0
  1041. package/esm/src/utils/constants/hmr.d.ts.map +1 -1
  1042. package/esm/src/utils/constants/hmr.js +7 -0
  1043. package/esm/src/utils/constants/html.d.ts +6 -0
  1044. package/esm/src/utils/constants/html.d.ts.map +1 -1
  1045. package/esm/src/utils/constants/html.js +6 -0
  1046. package/esm/src/utils/constants/http.d.ts +23 -0
  1047. package/esm/src/utils/constants/http.d.ts.map +1 -1
  1048. package/esm/src/utils/constants/http.js +23 -0
  1049. package/esm/src/utils/constants/network.d.ts +3 -0
  1050. package/esm/src/utils/constants/network.d.ts.map +1 -1
  1051. package/esm/src/utils/constants/network.js +3 -0
  1052. package/esm/src/utils/constants/security.d.ts +3 -0
  1053. package/esm/src/utils/constants/security.d.ts.map +1 -1
  1054. package/esm/src/utils/constants/security.js +3 -0
  1055. package/esm/src/utils/constants/server.d.ts +1 -0
  1056. package/esm/src/utils/constants/server.d.ts.map +1 -1
  1057. package/esm/src/utils/constants/server.js +1 -0
  1058. package/esm/src/utils/feature-flags.d.ts +1 -0
  1059. package/esm/src/utils/feature-flags.d.ts.map +1 -1
  1060. package/esm/src/utils/feature-flags.js +1 -0
  1061. package/esm/src/utils/hash-utils.d.ts +5 -0
  1062. package/esm/src/utils/hash-utils.d.ts.map +1 -1
  1063. package/esm/src/utils/hash-utils.js +4 -0
  1064. package/esm/src/utils/import-lockfile.d.ts +3 -0
  1065. package/esm/src/utils/import-lockfile.d.ts.map +1 -1
  1066. package/esm/src/utils/import-lockfile.js +2 -0
  1067. package/esm/src/utils/logger/logger.d.ts +7 -0
  1068. package/esm/src/utils/logger/logger.d.ts.map +1 -1
  1069. package/esm/src/utils/logger/logger.js +6 -0
  1070. package/esm/src/utils/logger/request-context.d.ts +2 -0
  1071. package/esm/src/utils/logger/request-context.d.ts.map +1 -1
  1072. package/esm/src/utils/logger/request-context.js +1 -0
  1073. package/esm/src/utils/memoize.d.ts +3 -0
  1074. package/esm/src/utils/memoize.d.ts.map +1 -1
  1075. package/esm/src/utils/memoize.js +3 -0
  1076. package/esm/src/utils/parallel.d.ts +1 -0
  1077. package/esm/src/utils/parallel.d.ts.map +1 -1
  1078. package/esm/src/utils/parallel.js +1 -0
  1079. package/esm/src/utils/path-utils.d.ts +1 -0
  1080. package/esm/src/utils/path-utils.d.ts.map +1 -1
  1081. package/esm/src/utils/path-utils.js +1 -0
  1082. package/esm/src/utils/perf-timer.d.ts +5 -0
  1083. package/esm/src/utils/perf-timer.d.ts.map +1 -1
  1084. package/esm/src/utils/perf-timer.js +5 -0
  1085. package/esm/src/utils/runtime-guards.d.ts +6 -0
  1086. package/esm/src/utils/runtime-guards.d.ts.map +1 -1
  1087. package/esm/src/utils/runtime-guards.js +3 -0
  1088. package/esm/src/utils/version-constant.d.ts +2 -1
  1089. package/esm/src/utils/version-constant.d.ts.map +1 -1
  1090. package/esm/src/utils/version-constant.js +2 -1
  1091. package/esm/src/workflow/api/workflow-client.d.ts +3 -0
  1092. package/esm/src/workflow/api/workflow-client.d.ts.map +1 -1
  1093. package/esm/src/workflow/api/workflow-client.js +2 -0
  1094. package/esm/src/workflow/backends/memory.d.ts +1 -0
  1095. package/esm/src/workflow/backends/memory.d.ts.map +1 -1
  1096. package/esm/src/workflow/backends/memory.js +1 -0
  1097. package/esm/src/workflow/backends/redis/index.d.ts +1 -0
  1098. package/esm/src/workflow/backends/redis/index.d.ts.map +1 -1
  1099. package/esm/src/workflow/backends/redis/index.js +1 -0
  1100. package/esm/src/workflow/backends/types.d.ts +3 -0
  1101. package/esm/src/workflow/backends/types.d.ts.map +1 -1
  1102. package/esm/src/workflow/backends/types.js +1 -0
  1103. package/esm/src/workflow/claude-code/event-publisher.d.ts +1 -0
  1104. package/esm/src/workflow/claude-code/event-publisher.d.ts.map +1 -1
  1105. package/esm/src/workflow/claude-code/event-publisher.js +1 -0
  1106. package/esm/src/workflow/dsl/branch.d.ts +1 -0
  1107. package/esm/src/workflow/dsl/branch.d.ts.map +1 -1
  1108. package/esm/src/workflow/dsl/loop.d.ts +4 -0
  1109. package/esm/src/workflow/dsl/loop.d.ts.map +1 -1
  1110. package/esm/src/workflow/dsl/loop.js +3 -0
  1111. package/esm/src/workflow/dsl/map.d.ts +2 -0
  1112. package/esm/src/workflow/dsl/map.d.ts.map +1 -1
  1113. package/esm/src/workflow/dsl/map.js +1 -0
  1114. package/esm/src/workflow/dsl/parallel.d.ts +1 -0
  1115. package/esm/src/workflow/dsl/parallel.d.ts.map +1 -1
  1116. package/esm/src/workflow/dsl/step.d.ts +4 -0
  1117. package/esm/src/workflow/dsl/step.d.ts.map +1 -1
  1118. package/esm/src/workflow/dsl/step.js +3 -0
  1119. package/esm/src/workflow/dsl/sub-workflow.d.ts +1 -0
  1120. package/esm/src/workflow/dsl/sub-workflow.d.ts.map +1 -1
  1121. package/esm/src/workflow/dsl/wait.d.ts +2 -0
  1122. package/esm/src/workflow/dsl/wait.d.ts.map +1 -1
  1123. package/esm/src/workflow/dsl/workflow.d.ts +5 -0
  1124. package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
  1125. package/esm/src/workflow/dsl/workflow.js +4 -0
  1126. package/esm/src/workflow/executor/workflow-executor.d.ts +1 -3
  1127. package/esm/src/workflow/executor/workflow-executor.d.ts.map +1 -1
  1128. package/esm/src/workflow/react/use-approval.d.ts +3 -3
  1129. package/esm/src/workflow/react/use-approval.d.ts.map +1 -1
  1130. package/esm/src/workflow/react/use-approval.js +1 -3
  1131. package/esm/src/workflow/react/use-workflow-list.d.ts +2 -0
  1132. package/esm/src/workflow/react/use-workflow-list.d.ts.map +1 -1
  1133. package/esm/src/workflow/react/use-workflow-start.d.ts +3 -0
  1134. package/esm/src/workflow/react/use-workflow-start.d.ts.map +1 -1
  1135. package/esm/src/workflow/react/use-workflow-start.js +1 -0
  1136. package/esm/src/workflow/react/use-workflow.d.ts +3 -0
  1137. package/esm/src/workflow/react/use-workflow.d.ts.map +1 -1
  1138. package/esm/src/workflow/react/use-workflow.js +1 -0
  1139. package/esm/src/workflow/schemas/workflow.schema.d.ts +1 -0
  1140. package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
  1141. package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts +1 -0
  1142. package/esm/src/workflow/worker/dynamic-job-entrypoint.d.ts.map +1 -1
  1143. package/esm/src/workflow/worker/dynamic-job-entrypoint.js +1 -0
  1144. package/esm/src/workflow/worker/job-entrypoint.d.ts +1 -0
  1145. package/esm/src/workflow/worker/job-entrypoint.d.ts.map +1 -1
  1146. package/esm/src/workflow/worker/job-entrypoint.js +1 -0
  1147. package/esm/src/workflow/worker/workflow-worker.d.ts +1 -0
  1148. package/esm/src/workflow/worker/workflow-worker.d.ts.map +1 -1
  1149. package/esm/src/workflow/worker/workflow-worker.js +1 -0
  1150. package/package.json +1 -1
@@ -1,28 +1,35 @@
1
+ /** Public API contract for veryfront service server fetch. */
1
2
  export type VeryfrontServiceServerFetch = (request: Request) => Response | Promise<Response>;
3
+ /** Response payload for veryfront service server module. */
2
4
  export type VeryfrontServiceServerModuleResponse = Response | null | undefined;
5
+ /** Public API contract for veryfront service server module. */
3
6
  export type VeryfrontServiceServerModule = {
4
7
  name: string;
5
8
  handle: (request: Request) => VeryfrontServiceServerModuleResponse | Promise<VeryfrontServiceServerModuleResponse>;
6
9
  setShuttingDown?: () => void;
7
10
  stop?: () => void | Promise<void>;
8
11
  };
12
+ /** Public API contract for veryfront service server logger. */
9
13
  export type VeryfrontServiceServerLogger = {
10
14
  debug?: (message: string, metadata?: Record<string, unknown>) => void;
11
15
  info?: (message: string, metadata?: Record<string, unknown>) => void;
12
16
  warn?: (message: string, metadata?: Record<string, unknown>) => void;
13
17
  error?: (message: string, metadata?: Record<string, unknown>) => void;
14
18
  };
19
+ /** Options accepted by create veryfront server. */
15
20
  export type CreateVeryfrontServerOptions = {
16
21
  modules: readonly VeryfrontServiceServerModule[];
17
22
  notFound?: (request: Request) => Response | Promise<Response>;
18
23
  onError?: (error: unknown, request: Request) => Response | Promise<Response>;
19
24
  logger?: VeryfrontServiceServerLogger;
20
25
  };
26
+ /** Public API contract for veryfront service server runtime. */
21
27
  export type VeryfrontServiceServerRuntime = {
22
28
  fetch: VeryfrontServiceServerFetch;
23
29
  setShuttingDown: () => void;
24
30
  stop: () => Promise<void>;
25
31
  };
32
+ /** Options accepted by start node veryfront server. */
26
33
  export type StartNodeVeryfrontServerOptions = {
27
34
  runtime: VeryfrontServiceServerRuntime;
28
35
  port: number;
@@ -31,6 +38,7 @@ export type StartNodeVeryfrontServerOptions = {
31
38
  signals?: readonly NodeJS.Signals[];
32
39
  hardShutdownTimeoutMs?: number;
33
40
  };
41
+ /** Options accepted by start veryfront server. */
34
42
  export type StartVeryfrontServerOptions = {
35
43
  runtime: VeryfrontServiceServerRuntime;
36
44
  port: number;
@@ -39,7 +47,9 @@ export type StartVeryfrontServerOptions = {
39
47
  signals?: readonly NodeJS.Signals[];
40
48
  hardShutdownTimeoutMs?: number;
41
49
  };
50
+ /** Public API contract for veryfront service server runtime kind. */
42
51
  export type VeryfrontServiceServerRuntimeKind = "node" | "deno" | "bun";
52
+ /** Public API contract for veryfront service server. */
43
53
  export type VeryfrontServiceServer = {
44
54
  ready: Promise<void>;
45
55
  stop: () => Promise<void>;
@@ -47,6 +57,7 @@ export type VeryfrontServiceServer = {
47
57
  url: string;
48
58
  runtime: VeryfrontServiceServerRuntimeKind;
49
59
  };
60
+ /** Public API contract for node veryfront service server. */
50
61
  export type NodeVeryfrontServiceServer = {
51
62
  server: import("node:http").Server;
52
63
  ready: Promise<void>;
@@ -55,7 +66,10 @@ export type NodeVeryfrontServiceServer = {
55
66
  url: string;
56
67
  runtime: "node";
57
68
  };
69
+ /** Create veryfront server. */
58
70
  export declare function createVeryfrontServer(options: CreateVeryfrontServerOptions): VeryfrontServiceServerRuntime;
71
+ /** Starts veryfront server. */
59
72
  export declare function startVeryfrontServer(options: StartVeryfrontServerOptions): Promise<VeryfrontServiceServer | NodeVeryfrontServiceServer>;
73
+ /** Starts node veryfront server. */
60
74
  export declare function startNodeVeryfrontServer(options: StartNodeVeryfrontServerOptions): Promise<NodeVeryfrontServiceServer>;
61
75
  //# sourceMappingURL=service-server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-server.d.ts","sourceRoot":"","sources":["../../../src/src/server/service-server.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;A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12
12
  return new Response("Internal Server Error", { status: 500 });
13
13
  }
14
+ /** Create veryfront server. */
14
15
  export function createVeryfrontServer(options) {
15
16
  const logger = options.logger ?? serverLogger.component("service-server");
16
17
  const notFound = options.notFound ?? defaultNotFound;
@@ -355,6 +356,7 @@ async function startBunVeryfrontServer(options, bun) {
355
356
  runtime: "bun",
356
357
  };
357
358
  }
359
+ /** Starts veryfront server. */
358
360
  export async function startVeryfrontServer(options) {
359
361
  const runtimeKind = resolveRuntimeKind();
360
362
  if (runtimeKind === "bun") {
@@ -371,6 +373,7 @@ export async function startVeryfrontServer(options) {
371
373
  }
372
374
  return await startNodeVeryfrontServer(options);
373
375
  }
376
+ /** Starts node veryfront server. */
374
377
  export async function startNodeVeryfrontServer(options) {
375
378
  const { createServer } = await import("node:http");
376
379
  const logger = options.logger ?? serverLogger.component("service-server");
@@ -1 +1 @@
1
- {"version":3,"file":"rsc-bundles.generated.d.ts","sourceRoot":"","sources":["../../../../../../src/src/server/services/rsc/endpoints/rsc-bundles.generated.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,kBAAkB,EAAE,MACu1vB,CAAC;AAEz3vB,eAAO,MAAM,iBAAiB,EAAE,MACmjiB,CAAC"}
1
+ {"version":3,"file":"rsc-bundles.generated.d.ts","sourceRoot":"","sources":["../../../../../../src/src/server/services/rsc/endpoints/rsc-bundles.generated.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,kBAAkB,EAAE,MACq4wB,CAAC;AAEv6wB,eAAO,MAAM,iBAAiB,EAAE,MACmjiB,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * Do not edit manually — run `deno task generate` to regenerate.
6
6
  * @module
7
7
  */
8
- export const CLIENT_BOOT_BUNDLE = 'var q=Object.defineProperty;var W=(t,e,r)=>e in t?q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var p=(t,e,r)=>W(t,typeof e!="symbol"?e+"":e,r);var z="3.2.3";function X(t,e,r,n){let s=[];if(n?.external?.length&&s.push(`external=${n.external.join(",")}`),s.push(`target=${n?.target??"es2022"}`),n?.deps){let d=Object.entries(n.deps).map(([l,R])=>`${l}@${R}`).join(",");s.push(`deps=${d}`)}let u=e?`@${e}`:"",c=r??"",i=s.length?`?${s.join("&")}`:"";return`https://esm.sh/${t}${u}${c}${i}`}function f(t,e,r,n=!1){return X(t,e,r,{external:n?["react"]:void 0,deps:{csstype:z}})}var K="19.1.1",E=K;function U(t=E){return{react:f("react",t),"react-dom":f("react-dom",t,void 0,!0),"react-dom/client":f("react-dom",t,"/client",!0),"react-dom/server":f("react-dom",t,"/server",!0),"react/jsx-runtime":f("react",t,"/jsx-runtime",!0),"react/jsx-dev-runtime":f("react",t,"/jsx-dev-runtime",!0)}}function P(t=E){return U(t).react}function V(t=E){return U(t)["react-dom/client"]}function Z(t){return t.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}function D(t){return Z(btoa(t))}var Pt=Object.freeze({react:"","react-dom":"","react-dom/client":"","react-dom/server":"","react/jsx-runtime":"","react/jsx-dev-runtime":""});function v(t,e){if(!e)return!1;if(Object.prototype.hasOwnProperty.call(e,t))return!0;for(let r of Object.keys(e))if(r.endsWith("/")&&t.startsWith(r))return!0;return!1}function Q(t){try{return JSON.parse(t)?.imports??{}}catch{return{}}}function F(t=document){let e=t.querySelector(\'script[type="importmap"]\');return e?.textContent?Q(e.textContent):{}}var a="/_veryfront",b={RSC:`${a}/rsc/`,FS:`${a}/fs/`,MODULES:`${a}/modules/`,PAGES:`${a}/pages/`,DATA:`${a}/data/`,LIB:`${a}/lib/`,CHUNKS:`${a}/chunks/`,CLIENT:`${a}/client/`},H={HMR_RUNTIME:`${a}/hmr-runtime.js`,HMR:`${a}/hmr.js`,ERROR_OVERLAY:`${a}/error-overlay.js`,DEV_LOADER:`${a}/dev-loader.js`,CLIENT_LOG:`${a}/log`,CLIENT_JS:`${a}/client.js`,ROUTER_JS:`${a}/router.js`,PREFETCH_JS:`${a}/prefetch.js`,MANIFEST_JSON:`${a}/manifest.json`,APP_JS:`${a}/app.js`,RSC_CLIENT:`${a}/rsc/client.js`,RSC_MANIFEST:`${a}/rsc/manifest`,RSC_STREAM:`${a}/rsc/stream`,RSC_PAYLOAD:`${a}/rsc/payload`,RSC_RENDER:`${a}/rsc/render`,RSC_PAGE:`${a}/rsc/page`,RSC_MODULE:`${a}/rsc/module`,RSC_DOM:`${a}/rsc/dom.js`,LIB_CHAT_REACT:`${a}/lib/chat/react.js`,LIB_CHAT_COMPONENTS:`${a}/lib/chat/components.js`,LIB_CHAT_PRIMITIVES:`${a}/lib/chat/primitives.js`};var et={ROOT:".veryfront",CACHE:".veryfront/cache",KV:".veryfront/kv",LOGS:".veryfront/logs",TMP:".veryfront/tmp"},kt=et.CACHE;var $t={HMR_RUNTIME:H.HMR_RUNTIME,ERROR_OVERLAY:H.ERROR_OVERLAY};var y=b.RSC,w=b.FS,k="veryfront-hydration-data",_="rsc-root";function x(t=document){try{let e=t.getElementById(k);return e?JSON.parse(e.textContent||"{}"):null}catch(e){return console.debug?.("[RSC] hydration data parse failed",e),null}}function S(t){return t?.clientModuleStrategy?t.clientModuleStrategy:t?.dev?"fs":"rsc-module"}function rt(t){return`${w}${D(t)}.js`}function ot(t,e){let r=e?`&v=${encodeURIComponent(e)}`:"";return`${y}module?rel=${encodeURIComponent(t)}${r}`}function I(t){if(t.strategy==="fs"){let e=t.absPath??t.rel;return e?rt(e):null}return ot(t.rel,t.version)}function T(t=document,e=E){let r=F(t);return{react:v("react",r)?"react":P(e),reactDomClient:v("react-dom/client",r)?"react-dom/client":V(e)}}function o(t){return{...t,create(e){return new M(e?.message||e?.detail||t.title,{slug:t.slug,category:t.category,status:e?.status??t.status,title:t.title,suggestion:t.suggestion,detail:e?.detail,cause:e?.cause,instance:e?.instance,context:e?.context})}}}var M=class extends Error{constructor(r,n){super(r);p(this,"slug");p(this,"category");p(this,"status");p(this,"title");p(this,"suggestion");p(this,"detail");p(this,"cause");p(this,"instance");p(this,"context");this.name="VeryfrontError",this.slug=n.slug,this.category=n.category,this.status=n.status,this.title=n.title,this.suggestion=n.suggestion,this.detail=n.detail,this.cause=n.cause,this.instance=n.instance,this.context=n.context}toRFC9457(){return{type:`https://veryfront.com/docs/errors/${this.slug}`,title:this.title,status:this.status,detail:this.detail,instance:this.instance,category:this.category,suggestion:this.suggestion,cause:typeof this.cause=="string"?this.cause:void 0}}getDocsUrl(){return`https://veryfront.com/docs/errors/${this.slug}`}};var ie=o({slug:"config-not-found",category:"CONFIG",status:404,title:"Configuration file not found",suggestion:"Run \'vf init\' to create a configuration file"}),ae=o({slug:"config-invalid",category:"CONFIG",status:400,title:"Invalid configuration format",suggestion:"Check your veryfront.config.ts for syntax errors"}),ce=o({slug:"config-parse-error",category:"CONFIG",status:400,title:"Failed to parse configuration",suggestion:"Ensure your configuration file is valid TypeScript/JSON"}),le=o({slug:"config-validation-error",category:"CONFIG",status:422,title:"Configuration validation failed",suggestion:"Check the configuration against the schema requirements"}),ue=o({slug:"config-type-error",category:"CONFIG",status:400,title:"Configuration type mismatch",suggestion:"Ensure configuration values match expected types"}),ge=o({slug:"import-map-invalid",category:"CONFIG",status:400,title:"Invalid import map configuration",suggestion:"Check your import map syntax and paths"}),de=o({slug:"cors-config-invalid",category:"CONFIG",status:400,title:"Invalid CORS configuration",suggestion:"Review CORS settings in your configuration"}),pe=o({slug:"config-validation-failed",category:"CONFIG",status:400,title:"Configuration validation failed",suggestion:"Check configuration values against requirements"}),Re=o({slug:"build-failed",category:"BUILD",status:500,title:"Build process failed",suggestion:"Check the build output for specific errors"}),fe=o({slug:"bundle-error",category:"BUILD",status:500,title:"Bundle generation failed",suggestion:"Review bundler output for details"}),me=o({slug:"typescript-error",category:"BUILD",status:500,title:"TypeScript compilation error",suggestion:"Fix TypeScript errors shown in the output"}),Ee=o({slug:"mdx-compile-error",category:"BUILD",status:500,title:"MDX compilation failed",suggestion:"Check your MDX file syntax"}),ye=o({slug:"asset-optimization-error",category:"BUILD",status:500,title:"Asset optimization failed",suggestion:"Check asset file formats and paths"}),_e=o({slug:"ssg-generation-error",category:"BUILD",status:500,title:"Static site generation failed",suggestion:"Review SSG configuration and data fetching"}),he=o({slug:"sourcemap-error",category:"BUILD",status:500,title:"Source map generation failed",suggestion:"Check source map configuration"}),Ce=o({slug:"compilation-error",category:"BUILD",status:500,title:"Compilation failed",suggestion:"Review compiler output for specific errors"}),Oe=o({slug:"hydration-mismatch",category:"RUNTIME",status:500,title:"Client/server hydration mismatch",suggestion:"Ensure server and client render the same content"}),xe=o({slug:"render-error",category:"RUNTIME",status:500,title:"Component render failed",suggestion:"Check component for runtime errors"}),Se=o({slug:"component-error",category:"RUNTIME",status:500,title:"Component execution error",suggestion:"Review component logic and props"}),Ie=o({slug:"layout-not-found",category:"RUNTIME",status:404,title:"Layout component not found",suggestion:"Ensure layout file exists at the expected path"}),Te=o({slug:"page-not-found",category:"RUNTIME",status:404,title:"Page component not found",suggestion:"Check that the page file exists in the routes directory"}),Ae=o({slug:"api-error",category:"RUNTIME",status:500,title:"API route handler error",suggestion:"Review API route handler for errors"}),Ne=o({slug:"middleware-error",category:"RUNTIME",status:500,title:"Middleware execution error",suggestion:"Check middleware function for errors"}),De=o({slug:"route-conflict",category:"ROUTE",status:409,title:"Conflicting route definitions",suggestion:"Rename or reorganize conflicting route files"}),ve=o({slug:"invalid-route-file",category:"ROUTE",status:400,title:"Invalid route file structure",suggestion:"Ensure route file exports required functions"}),be=o({slug:"route-handler-invalid",category:"ROUTE",status:400,title:"Invalid route handler export",suggestion:"Export a valid handler function from the route file"}),Me=o({slug:"dynamic-route-error",category:"ROUTE",status:500,title:"Dynamic route parsing failed",suggestion:"Check dynamic route segment syntax"}),Le=o({slug:"route-params-error",category:"ROUTE",status:400,title:"Route parameters invalid",suggestion:"Validate route parameter values"}),Ue=o({slug:"api-route-error",category:"ROUTE",status:500,title:"API route definition error",suggestion:"Review API route configuration"}),Pe=o({slug:"module-not-found",category:"MODULE",status:404,title:"Module could not be resolved",suggestion:"Check the import path and ensure the module is installed"}),Ve=o({slug:"import-resolution-error",category:"MODULE",status:500,title:"Import path resolution failed",suggestion:"Verify import paths and module configuration"}),Fe=o({slug:"circular-dependency",category:"MODULE",status:500,title:"Circular dependency detected",suggestion:"Refactor imports to break the circular dependency"}),He=o({slug:"invalid-import",category:"MODULE",status:400,title:"Invalid import statement",suggestion:"Fix import syntax or path"}),we=o({slug:"dependency-missing",category:"MODULE",status:404,title:"Required dependency not installed",suggestion:"Install the missing dependency with your package manager"}),ke=o({slug:"version-mismatch",category:"MODULE",status:409,title:"Dependency version mismatch",suggestion:"Update dependencies to compatible versions"}),$e=o({slug:"port-in-use",category:"SERVER",status:409,title:"Server port already in use",suggestion:"Use a different port or stop the process using this port"}),Ge=o({slug:"server-start-error",category:"SERVER",status:500,title:"Server failed to start",suggestion:"Check server configuration and port availability"}),Be=o({slug:"cache-error",category:"SERVER",status:500,title:"Cache operation failed",suggestion:"Clear the cache and try again"}),je=o({slug:"file-watch-error",category:"SERVER",status:500,title:"File watcher error",suggestion:"Restart the development server"}),Ye=o({slug:"request-error",category:"SERVER",status:500,title:"HTTP request handling error",suggestion:"Check request handler and middleware"}),qe=o({slug:"service-overloaded",category:"SERVER",status:503,title:"Service overloaded",suggestion:"Reduce load or scale up resources"}),We=o({slug:"cache-path-mismatch",category:"SERVER",status:500,title:"Cache path mismatch",suggestion:"Clear the cache directory and rebuild"}),ze=o({slug:"network-error",category:"SERVER",status:502,title:"Network operation failed",suggestion:"Check network connectivity and retry"}),Xe=o({slug:"api-client-error",category:"SERVER",status:500,title:"API client request failed",suggestion:"Check API connectivity and authentication"}),Je=o({slug:"token-storage-error",category:"SERVER",status:500,title:"Token storage operation failed",suggestion:"Check token storage backend and credentials"}),Ke=o({slug:"cache-invariant-violation",category:"SERVER",status:500,title:"Cache path invariant violated",suggestion:"Clear the cache and rebuild"}),Ze=o({slug:"release-not-found",category:"SERVER",status:404,title:"No active release found",suggestion:"Deploy the project to create a release for this environment"}),Qe=o({slug:"fallback-exhausted",category:"SERVER",status:500,title:"Primary and fallback operations both failed",suggestion:"Check service availability and connectivity"}),tr=o({slug:"client-boundary-violation",category:"BOUNDARY",status:400,title:"Client boundary rule violation",suggestion:"Add \'use client\' directive or move code to a client component"}),er=o({slug:"server-only-in-client",category:"BOUNDARY",status:400,title:"Server-only code in client component",suggestion:"Move server-only code to a server component"}),rr=o({slug:"client-only-in-server",category:"BOUNDARY",status:400,title:"Client-only code in server component",suggestion:"Move client-only code to a client component"}),or=o({slug:"invalid-use-client",category:"BOUNDARY",status:400,title:"Invalid \'use client\' directive",suggestion:"Place \'use client\' at the top of the file"}),nr=o({slug:"invalid-use-server",category:"BOUNDARY",status:400,title:"Invalid \'use server\' directive",suggestion:"Place \'use server\' at the top of the file or function"}),sr=o({slug:"rsc-payload-error",category:"BOUNDARY",status:500,title:"RSC payload serialization error",suggestion:"Ensure props are serializable (no functions, symbols, etc.)"}),ir=o({slug:"hmr-error",category:"DEV",status:500,title:"Hot module replacement error",suggestion:"Restart the development server"}),ar=o({slug:"dev-server-error",category:"DEV",status:500,title:"Development server error",suggestion:"Check the dev server logs and restart"}),cr=o({slug:"fast-refresh-error",category:"DEV",status:500,title:"Fast refresh failed",suggestion:"Save the file again or restart the dev server"}),lr=o({slug:"error-overlay-error",category:"DEV",status:500,title:"Error overlay failed",suggestion:"Check browser console for details"}),ur=o({slug:"source-map-error",category:"DEV",status:500,title:"Source map loading error",suggestion:"Rebuild or clear cache"}),gr=o({slug:"deployment-error",category:"DEPLOY",status:500,title:"Deployment process failed",suggestion:"Check deployment logs for details"}),dr=o({slug:"platform-error",category:"DEPLOY",status:500,title:"Platform-specific error",suggestion:"Check platform documentation and requirements"}),pr=o({slug:"env-var-missing",category:"DEPLOY",status:500,title:"Required environment variable missing",suggestion:"Set the required environment variable"}),Rr=o({slug:"production-build-required",category:"DEPLOY",status:400,title:"Production build required",suggestion:"Run \'vf build\' before deploying"}),fr=o({slug:"agent-error",category:"AGENT",status:500,title:"Agent operation error",suggestion:"Check agent configuration and logs"}),mr=o({slug:"agent-not-found",category:"AGENT",status:404,title:"Agent not found",suggestion:"Verify the agent ID exists"}),Er=o({slug:"agent-timeout",category:"AGENT",status:408,title:"Agent operation timed out",suggestion:"Increase timeout or simplify the request"}),yr=o({slug:"agent-intent-error",category:"AGENT",status:400,title:"Agent intent parsing error",suggestion:"Rephrase the request more clearly"}),_r=o({slug:"orchestration-error",category:"AGENT",status:500,title:"Multi-agent orchestration error",suggestion:"Check agent coordination logic"}),hr=o({slug:"cost-limit-exceeded",category:"AGENT",status:429,title:"Cost limit exceeded",suggestion:"Wait for the budget period to reset or increase the limit"}),Cr=o({slug:"unknown-error",category:"GENERAL",status:500,title:"Unknown/unclassified error",suggestion:"Check logs for more details"}),Or=o({slug:"permission-denied",category:"GENERAL",status:403,title:"File/resource permission denied",suggestion:"Check file permissions and access rights"}),xr=o({slug:"file-not-found",category:"GENERAL",status:404,title:"File not found",suggestion:"Verify the file path exists"}),Sr=o({slug:"resource-not-found",category:"GENERAL",status:404,title:"Requested resource not found",suggestion:"Verify the referenced resource ID or name exists"}),Ir=o({slug:"invalid-argument",category:"GENERAL",status:400,title:"Invalid function argument",suggestion:"Check argument types and values"}),Tr=o({slug:"timeout-error",category:"GENERAL",status:408,title:"Operation timed out",suggestion:"Increase timeout or optimize the operation"}),Ar=o({slug:"initialization-error",category:"GENERAL",status:500,title:"Initialization failed",suggestion:"Check initialization requirements and dependencies"}),Nr=o({slug:"not-supported",category:"GENERAL",status:501,title:"Feature not supported",suggestion:"Check documentation for supported features"}),$=o({slug:"security-violation",category:"GENERAL",status:403,title:"Security violation detected",suggestion:"Check for path traversal or unauthorized access attempts"}),Dr=o({slug:"input-validation-failed",category:"GENERAL",status:400,title:"Input validation failed",suggestion:"Check request input against validation rules"});var nt=[{pattern:/<script[^>]*>[\\s\\S]*?<\\/script>/gi,name:"inline script"},{pattern:/javascript:/gi,name:"javascript: URL"},{pattern:/\\bon\\w+\\s*=/gi,name:"event handler attribute"},{pattern:/data:\\s*text\\/html/gi,name:"data: HTML URL"}];function st(){let t=globalThis;return t.__VERYFRONT_DEV__===!0||t.Deno?.env?.get?.("VERYFRONT_ENV")==="development"}function h(t,e={}){let{strict:r=!1,warn:n=!0}=e;for(let{pattern:s,name:u}of nt)if(s.lastIndex=0,!!s.test(t)&&(n&&console.warn(`[Security] Suspicious ${u} detected in server HTML`),r||!st()))throw $.create({detail:`Potentially unsafe HTML: ${u} detected`});return t}var m=class{constructor(e,r){this.prefix=e;this.level=r}log(e,r,n,...s){this.level>e||r?.(n,...s)}debug(e,...r){this.log(0,console.debug,`[${this.prefix}] DEBUG: ${e}`,...r)}info(e,...r){this.log(1,console.log,`[${this.prefix}] ${e}`,...r)}warn(e,...r){this.log(2,console.warn,`[${this.prefix}] WARN: ${e}`,...r)}error(e,...r){this.log(3,console.error,`[${this.prefix}] ERROR: ${e}`,...r)}};function it(){if(typeof window>"u")return 2;let t=globalThis;return t.__VERYFRONT_DEV__||t.__RSC_DEV__?t.__VERYFRONT_DEBUG__||t.__RSC_DEBUG__?0:1:2}var A=it(),g=new m("RSC",A),Pr=new m("PREFETCH",A),Vr=new m("HYDRATE",A),Fr=new m("VERYFRONT",A);function C(t,e){let r=e==="root"?_:`rsc-slot-${e}`,n=t.getElementById(r);if(n)return n;let s=t.createElement("div");return s.id=r,t.body.appendChild(s),s}function at(t,e){if(e.type!=="slot")return;let r=C(t,e.id);r.innerHTML=h(String(e.html??""))}function G(t,e){let r=e.split(`\n`),n=r.pop()??"";for(let s of r){let u=s.trim();if(!u)continue;let c;try{c=JSON.parse(u)}catch(d){g.debug("[client-dom] malformed NDJSON line",{line:u,error:d instanceof Error?d.message:String(d)});continue}if(!c||typeof c!="object")continue;let i=c;if(i.type==="slot"){at(t,i);try{ut(t,i.id||"root")}catch(d){g.debug("[client-dom] hydration optional failed",d)}}}return n}function ct(t){return new Promise((e,r)=>{let n=()=>r(new DOMException("aborted","AbortError"));if(t.aborted){n();return}t.addEventListener("abort",n,{once:!0})})}async function B(t,e=document,r){let n="body"in t?t:null,s=n?.body??t;if(!s)return;let u=s.getReader(),c=new TextDecoder,i="",d=!1;try{for(;;){if(r?.aborted)throw new DOMException("aborted","AbortError");let l=u.read(),{done:R,value:O}=r?await Promise.race([l,ct(r)]):await l;if(R){d=!0;break}i+=c.decode(O,{stream:!0}),i=G(e,i)}i&&G(e,`${i}\n`)}catch(l){throw l instanceof Error&&l.name==="AbortError"||g.debug("[client-dom] consumeNdjsonStream error",l),l}finally{try{await u.cancel()}catch(l){d||g.debug("[client-dom] reader.cancel failed",l)}try{u.releaseLock()}catch(l){g.debug("[client-dom] reader.releaseLock failed",l)}if(typeof s.cancel=="function")try{await s.cancel()}catch(l){g.debug("[client-dom] stream.cancel failed",l)}if(typeof n?.body?.cancel=="function")try{await n.body.cancel()}catch(l){g.debug("[client-dom] response.body.cancel failed",l)}}}function lt(t,e){let r=C(t,e),n=[],s=u=>{let c=u;c.dataset?.clientRef&&n.push(c);for(let i of u.children)s(i)};return s(r),n}function ut(t,e){let r=lt(t,e);for(let n of r){let s=n.dataset?.clientRef;s&&(n.dataset.hydrated="true",g.debug("[client-dom] marked for hydration",s))}}var gt=100;function dt(t,e){if(globalThis.__VF_CLIENT_MOD_CACHE??(globalThis.__VF_CLIENT_MOD_CACHE=new Map),globalThis.__VF_CLIENT_MOD_CACHE.size>=gt){let r=globalThis.__VF_CLIENT_MOD_CACHE.keys().next().value;r&&globalThis.__VF_CLIENT_MOD_CACHE.delete(r)}globalThis.__VF_CLIENT_MOD_CACHE.set(t,e)}function pt(t){let e=t.match(/^\\/app\\/(.+)#([A-Za-z0-9_]+)$/);return e?{rel:`/${e[1]||""}`,exportName:e[2]||"default"}:null}async function Rt(){try{let t=await fetch("/_veryfront/rsc/manifest");return t.ok?await t.json():null}catch{return null}}async function ft(t,e,r){let n=t.graphIds?.client.find(c=>c.rel===e)?.path,s=`${e}#${t.hash??""}`;try{let c=globalThis.__VF_CLIENT_MOD_CACHE?.get(s);if(c)return c}catch(c){g.debug("hydrate: cache get failed",c)}let u=I({strategy:r,rel:e,absPath:n,version:t.hash});if(!u)return null;try{let c=await import(u);try{dt(s,c)}catch(i){g.debug("hydrate: cache set failed",i)}return c}catch(c){return g.debug("hydrate: failed to import module",{moduleUrl:u,error:c}),null}}async function j(t=document){let e=null;try{e=await Rt()}catch(i){g.debug("hydrate: fetch manifest failed",i)}if(!e){g.debug("hydrate: no manifest");return}let r=Array.from(t.querySelectorAll("[data-client-ref]"));try{let i=globalThis.__VF_MANIFEST_HASH;if(!r.some(l=>l.dataset?.hydrated!=="true")&&i&&e.hash&&i===e.hash)return}catch(i){g.debug("hydrate: hmr hash read failed",i)}if(r.length===0){try{globalThis.__VF_MANIFEST_HASH=e.hash??""}catch(i){g.debug("hydrate: set hash failed",i)}return}let n=S(x(t));try{if(globalThis.__VF_TEST_MODE__){globalThis.__VF_HYDRATE_CALLED=!0,globalThis.__VF_MANIFEST_HASH=e.hash??"";return}}catch(i){g.debug("hydrate: test mode flags failed",i)}let s=T(t),[{default:u},{createRoot:c}]=await Promise.all([import(s.react),import(s.reactDomClient)]);for(let i of r){let d=i.dataset?.clientRef??"";if(!d||i.dataset?.hydrated==="true")continue;let l=pt(d);if(!l)continue;let R=await ft(e,l.rel,n);if(!R)continue;let O=R[l.exportName]??R.default;if(typeof O=="function")try{c(i).render(u.createElement(O,{})),i.dataset.hydrated="true"}catch(L){g.warn("hydrate: render failed",L)}}try{globalThis.__VF_MANIFEST_HASH=e.hash??""}catch(i){g.debug("hydrate: set hash failed (post)",i)}}async function mt(){let t=T(document),[e,r]=await Promise.all([import(t.react),import(t.reactDomClient)]);return{React:e,ReactDOM:r}}var Et=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE"]);function Y(t){let e=t.getAttribute("style")??"";return t.hasAttribute("data-veryfront-head")||t.hasAttribute("hidden")||/(?:^|;)\\s*display\\s*:\\s*none(?:\\s*;|$)/i.test(e)||Et.has(t.tagName.toUpperCase())}function yt(t,e){return t.find(r=>r.tagName.toUpperCase()==="DIV"&&!!r.getAttribute("class")?.trim()&&!Y(r))??t.find(r=>!Y(r))??e}function _t(t,e){return e?.pagePath?!1:!!t.getElementById(_)}function ht(t=import.meta.url){try{return new URL(t,"http://veryfront.local").searchParams.get("hydrate")==="1"}catch{return!1}}async function Ct(t){try{let e=await fetch(y+"stream"+t);if(!e.ok||!e.body)return!1;let r=new AbortController;return addEventListener("pagehide",()=>r.abort(),{once:!0}),await B(e,document,r.signal),!0}catch(e){return console.debug?.("[RSC] tryStream failed",e),!1}}async function N(){try{await j(document)}catch(t){console.debug?.("[RSC] hydration failed",t)}}async function Ot(t,e){try{let{React:r,ReactDOM:n}=await mt(),s=I({strategy:e,rel:t});if(!s)return!1;console.debug?.("[RSC] Loading component from:",s);let c=(await import(s)).default;if(typeof c!="function")return console.debug?.("[RSC] Page component is not a function"),!1;let i=yt(Array.from(document.body.children),document.body);return n.hydrateRoot(i,r.createElement(c,{}),{identifierPrefix:"vf",onRecoverableError:()=>{}}),console.debug?.("[RSC] Page component hydrated successfully"),!0}catch(r){return console.error("[RSC] Page hydration failed",r),!1}}async function xt(t){try{let e=await fetch(y+"payload"+t);if(!e.ok)return!1;let r=await e.json();if(r?.slots){for(let[n,s]of Object.entries(r.slots))C(document,n).innerHTML=h(String(s||""));return!0}return C(document,_).innerHTML=h(String(r?.html||"")),!0}catch(e){return console.debug?.("[RSC] payload fetch failed",e),!1}}async function St(){try{let t=globalThis.window?.location.search??"",e=x(document);if(ht()){await N();return}let r=e?.pagePath,n=S(e);if(r){console.debug?.("[RSC] Found page component in hydration data:",r),await Ot(r,n)&&console.debug?.("[RSC] Client component hydrated successfully");return}if(!_t(document,e))return;if(await Ct(t)){await N();return}if(await xt(t)){await N();return}await N()}catch(t){console.error("[RSC] boot failed",t)}}if(typeof document<"u"){let t=()=>{St()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t,{once:!0}):t()}export{St as boot,yt as selectHydrationRoot,_t as shouldAttemptRSCTransport,ht as shouldHydrateOnly};\n';
8
+ export const CLIENT_BOOT_BUNDLE = 'var W=Object.defineProperty;var q=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var p=(t,e,r)=>q(t,typeof e!="symbol"?e+"":e,r);var z="3.2.3";function X(t,e,r,n){let s=[];if(n?.external?.length&&s.push(`external=${n.external.join(",")}`),s.push(`target=${n?.target??"es2022"}`),n?.deps){let d=Object.entries(n.deps).map(([l,R])=>`${l}@${R}`).join(",");s.push(`deps=${d}`)}let u=e?`@${e}`:"",c=r??"",i=s.length?`?${s.join("&")}`:"";return`https://esm.sh/${t}${u}${c}${i}`}function f(t,e,r,n=!1){return X(t,e,r,{external:n?["react"]:void 0,deps:{csstype:z}})}var K="19.1.1",E=K;function P(t=E){return{react:f("react",t),"react-dom":f("react-dom",t,void 0,!0),"react-dom/client":f("react-dom",t,"/client",!0),"react-dom/server":f("react-dom",t,"/server",!0),"react/jsx-runtime":f("react",t,"/jsx-runtime",!0),"react/jsx-dev-runtime":f("react",t,"/jsx-dev-runtime",!0)}}function V(t=E){return P(t).react}function w(t=E){return P(t)["react-dom/client"]}function Z(t){return t.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}function D(t){return Z(btoa(t))}var Ht=Object.freeze({react:"","react-dom":"","react-dom/client":"","react-dom/server":"","react/jsx-runtime":"","react/jsx-dev-runtime":""});function v(t,e){if(!e)return!1;if(Object.prototype.hasOwnProperty.call(e,t))return!0;for(let r of Object.keys(e))if(r.endsWith("/")&&t.startsWith(r))return!0;return!1}function Q(t){try{return JSON.parse(t)?.imports??{}}catch{return{}}}function H(t=document){let e=t.querySelector(\'script[type="importmap"]\');return e?.textContent?Q(e.textContent):{}}var a="/_veryfront",b={RSC:`${a}/rsc/`,FS:`${a}/fs/`,MODULES:`${a}/modules/`,PAGES:`${a}/pages/`,DATA:`${a}/data/`,LIB:`${a}/lib/`,CHUNKS:`${a}/chunks/`,CLIENT:`${a}/client/`},F={HMR_RUNTIME:`${a}/hmr-runtime.js`,HMR:`${a}/hmr.js`,ERROR_OVERLAY:`${a}/error-overlay.js`,DEV_LOADER:`${a}/dev-loader.js`,CLIENT_LOG:`${a}/log`,CLIENT_JS:`${a}/client.js`,ROUTER_JS:`${a}/router.js`,PREFETCH_JS:`${a}/prefetch.js`,MANIFEST_JSON:`${a}/manifest.json`,APP_JS:`${a}/app.js`,RSC_CLIENT:`${a}/rsc/client.js`,RSC_MANIFEST:`${a}/rsc/manifest`,RSC_STREAM:`${a}/rsc/stream`,RSC_PAYLOAD:`${a}/rsc/payload`,RSC_RENDER:`${a}/rsc/render`,RSC_PAGE:`${a}/rsc/page`,RSC_MODULE:`${a}/rsc/module`,RSC_DOM:`${a}/rsc/dom.js`,LIB_CHAT_REACT:`${a}/lib/chat/react.js`,LIB_CHAT_COMPONENTS:`${a}/lib/chat/components.js`,LIB_CHAT_PRIMITIVES:`${a}/lib/chat/primitives.js`};var et={ROOT:".veryfront",CACHE:".veryfront/cache",KV:".veryfront/kv",LOGS:".veryfront/logs",TMP:".veryfront/tmp"},Gt=et.CACHE;var jt={HMR_RUNTIME:F.HMR_RUNTIME,ERROR_OVERLAY:F.ERROR_OVERLAY};var y=b.RSC,$=b.FS,k="veryfront-hydration-data",_="rsc-root";function x(t=document){try{let e=t.getElementById(k);return e?JSON.parse(e.textContent||"{}"):null}catch(e){return console.debug?.("[RSC] hydration data parse failed",e),null}}function S(t){return t?.clientModuleStrategy?t.clientModuleStrategy:t?.dev?"fs":"rsc-module"}function rt(t){return`${$}${D(t)}.js`}function ot(t,e){let r=e?`&v=${encodeURIComponent(e)}`:"";return`${y}module?rel=${encodeURIComponent(t)}${r}`}function T(t){if(t.strategy==="fs"){let e=t.absPath??t.rel;return e?rt(e):null}return ot(t.rel,t.version)}function I(t=document,e=E){let r=H(t);return{react:v("react",r)?"react":V(e),reactDomClient:v("react-dom/client",r)?"react-dom/client":w(e)}}function o(t){return{...t,create(e){return new M(e?.message||e?.detail||t.title,{slug:t.slug,category:t.category,status:e?.status??t.status,title:t.title,suggestion:t.suggestion,detail:e?.detail,cause:e?.cause,instance:e?.instance,context:e?.context})}}}var M=class extends Error{constructor(r,n){super(r);p(this,"slug");p(this,"category");p(this,"status");p(this,"title");p(this,"suggestion");p(this,"detail");p(this,"cause");p(this,"instance");p(this,"context");this.name="VeryfrontError",this.slug=n.slug,this.category=n.category,this.status=n.status,this.title=n.title,this.suggestion=n.suggestion,this.detail=n.detail,this.cause=n.cause,this.instance=n.instance,this.context=n.context}toRFC9457(){return{type:`https://veryfront.com/docs/errors/${this.slug}`,title:this.title,status:this.status,detail:this.detail,instance:this.instance,category:this.category,suggestion:this.suggestion,cause:typeof this.cause=="string"?this.cause:void 0}}getDocsUrl(){return`https://veryfront.com/docs/errors/${this.slug}`}};var le=o({slug:"config-not-found",category:"CONFIG",status:404,title:"Configuration file not found",suggestion:"Run \'vf init\' to create a configuration file"}),ue=o({slug:"config-invalid",category:"CONFIG",status:400,title:"Invalid configuration format",suggestion:"Check your veryfront.config.ts for syntax errors"}),ge=o({slug:"config-parse-error",category:"CONFIG",status:400,title:"Failed to parse configuration",suggestion:"Ensure your configuration file is valid TypeScript/JSON"}),de=o({slug:"config-validation-error",category:"CONFIG",status:422,title:"Configuration validation failed",suggestion:"Check the configuration against the schema requirements"}),pe=o({slug:"config-type-error",category:"CONFIG",status:400,title:"Configuration type mismatch",suggestion:"Ensure configuration values match expected types"}),Re=o({slug:"import-map-invalid",category:"CONFIG",status:400,title:"Invalid import map configuration",suggestion:"Check your import map syntax and paths"}),fe=o({slug:"cors-config-invalid",category:"CONFIG",status:400,title:"Invalid CORS configuration",suggestion:"Review CORS settings in your configuration"}),me=o({slug:"config-validation-failed",category:"CONFIG",status:400,title:"Configuration validation failed",suggestion:"Check configuration values against requirements"}),Ee=o({slug:"build-failed",category:"BUILD",status:500,title:"Build process failed",suggestion:"Check the build output for specific errors"}),ye=o({slug:"bundle-error",category:"BUILD",status:500,title:"Bundle generation failed",suggestion:"Review bundler output for details"}),_e=o({slug:"typescript-error",category:"BUILD",status:500,title:"TypeScript compilation error",suggestion:"Fix TypeScript errors shown in the output"}),he=o({slug:"mdx-compile-error",category:"BUILD",status:500,title:"MDX compilation failed",suggestion:"Check your MDX file syntax"}),Ce=o({slug:"asset-optimization-error",category:"BUILD",status:500,title:"Asset optimization failed",suggestion:"Check asset file formats and paths"}),Oe=o({slug:"ssg-generation-error",category:"BUILD",status:500,title:"Static site generation failed",suggestion:"Review SSG configuration and data fetching"}),xe=o({slug:"sourcemap-error",category:"BUILD",status:500,title:"Source map generation failed",suggestion:"Check source map configuration"}),Se=o({slug:"compilation-error",category:"BUILD",status:500,title:"Compilation failed",suggestion:"Review compiler output for specific errors"}),Te=o({slug:"hydration-mismatch",category:"RUNTIME",status:500,title:"Client/server hydration mismatch",suggestion:"Ensure server and client render the same content"}),Ie=o({slug:"render-error",category:"RUNTIME",status:500,title:"Component render failed",suggestion:"Check component for runtime errors"}),Ae=o({slug:"component-error",category:"RUNTIME",status:500,title:"Component execution error",suggestion:"Review component logic and props"}),Ne=o({slug:"layout-not-found",category:"RUNTIME",status:404,title:"Layout component not found",suggestion:"Ensure layout file exists at the expected path"}),De=o({slug:"page-not-found",category:"RUNTIME",status:404,title:"Page component not found",suggestion:"Check that the page file exists in the routes directory"}),ve=o({slug:"api-error",category:"RUNTIME",status:500,title:"API route handler error",suggestion:"Review API route handler for errors"}),be=o({slug:"middleware-error",category:"RUNTIME",status:500,title:"Middleware execution error",suggestion:"Check middleware function for errors"}),Me=o({slug:"route-conflict",category:"ROUTE",status:409,title:"Conflicting route definitions",suggestion:"Rename or reorganize conflicting route files"}),Le=o({slug:"invalid-route-file",category:"ROUTE",status:400,title:"Invalid route file structure",suggestion:"Ensure route file exports required functions"}),Ue=o({slug:"route-handler-invalid",category:"ROUTE",status:400,title:"Invalid route handler export",suggestion:"Export a valid handler function from the route file"}),Pe=o({slug:"dynamic-route-error",category:"ROUTE",status:500,title:"Dynamic route parsing failed",suggestion:"Check dynamic route segment syntax"}),Ve=o({slug:"route-params-error",category:"ROUTE",status:400,title:"Route parameters invalid",suggestion:"Validate route parameter values"}),we=o({slug:"api-route-error",category:"ROUTE",status:500,title:"API route definition error",suggestion:"Review API route configuration"}),He=o({slug:"module-not-found",category:"MODULE",status:404,title:"Module could not be resolved",suggestion:"Check the import path and ensure the module is installed"}),Fe=o({slug:"import-resolution-error",category:"MODULE",status:500,title:"Import path resolution failed",suggestion:"Verify import paths and module configuration"}),$e=o({slug:"circular-dependency",category:"MODULE",status:500,title:"Circular dependency detected",suggestion:"Refactor imports to break the circular dependency"}),ke=o({slug:"invalid-import",category:"MODULE",status:400,title:"Invalid import statement",suggestion:"Fix import syntax or path"}),Be=o({slug:"dependency-missing",category:"MODULE",status:404,title:"Required dependency not installed",suggestion:"Install the missing dependency with your package manager"}),Ge=o({slug:"version-mismatch",category:"MODULE",status:409,title:"Dependency version mismatch",suggestion:"Update dependencies to compatible versions"}),je=o({slug:"port-in-use",category:"SERVER",status:409,title:"Server port already in use",suggestion:"Use a different port or stop the process using this port"}),Ye=o({slug:"server-start-error",category:"SERVER",status:500,title:"Server failed to start",suggestion:"Check server configuration and port availability"}),We=o({slug:"cache-error",category:"SERVER",status:500,title:"Cache operation failed",suggestion:"Clear the cache and try again"}),qe=o({slug:"file-watch-error",category:"SERVER",status:500,title:"File watcher error",suggestion:"Restart the development server"}),ze=o({slug:"request-error",category:"SERVER",status:500,title:"HTTP request handling error",suggestion:"Check request handler and middleware"}),Xe=o({slug:"service-overloaded",category:"SERVER",status:503,title:"Service overloaded",suggestion:"Reduce load or scale up resources"}),Je=o({slug:"cache-path-mismatch",category:"SERVER",status:500,title:"Cache path mismatch",suggestion:"Clear the cache directory and rebuild"}),Ke=o({slug:"network-error",category:"SERVER",status:502,title:"Network operation failed",suggestion:"Check network connectivity and retry"}),Ze=o({slug:"api-client-error",category:"SERVER",status:500,title:"API client request failed",suggestion:"Check API connectivity and authentication"}),Qe=o({slug:"token-storage-error",category:"SERVER",status:500,title:"Token storage operation failed",suggestion:"Check token storage backend and credentials"}),tr=o({slug:"cache-invariant-violation",category:"SERVER",status:500,title:"Cache path invariant violated",suggestion:"Clear the cache and rebuild"}),er=o({slug:"release-not-found",category:"SERVER",status:404,title:"No active release found",suggestion:"Deploy the project to create a release for this environment"}),rr=o({slug:"fallback-exhausted",category:"SERVER",status:500,title:"Primary and fallback operations both failed",suggestion:"Check service availability and connectivity"}),or=o({slug:"client-boundary-violation",category:"BOUNDARY",status:400,title:"Client boundary rule violation",suggestion:"Add \'use client\' directive or move code to a client component"}),nr=o({slug:"server-only-in-client",category:"BOUNDARY",status:400,title:"Server-only code in client component",suggestion:"Move server-only code to a server component"}),sr=o({slug:"client-only-in-server",category:"BOUNDARY",status:400,title:"Client-only code in server component",suggestion:"Move client-only code to a client component"}),ir=o({slug:"invalid-use-client",category:"BOUNDARY",status:400,title:"Invalid \'use client\' directive",suggestion:"Place \'use client\' at the top of the file"}),ar=o({slug:"invalid-use-server",category:"BOUNDARY",status:400,title:"Invalid \'use server\' directive",suggestion:"Place \'use server\' at the top of the file or function"}),cr=o({slug:"rsc-payload-error",category:"BOUNDARY",status:500,title:"RSC payload serialization error",suggestion:"Ensure props are serializable (no functions, symbols, etc.)"}),lr=o({slug:"hmr-error",category:"DEV",status:500,title:"Hot module replacement error",suggestion:"Restart the development server"}),ur=o({slug:"dev-server-error",category:"DEV",status:500,title:"Development server error",suggestion:"Check the dev server logs and restart"}),gr=o({slug:"fast-refresh-error",category:"DEV",status:500,title:"Fast refresh failed",suggestion:"Save the file again or restart the dev server"}),dr=o({slug:"error-overlay-error",category:"DEV",status:500,title:"Error overlay failed",suggestion:"Check browser console for details"}),pr=o({slug:"source-map-error",category:"DEV",status:500,title:"Source map loading error",suggestion:"Rebuild or clear cache"}),Rr=o({slug:"deployment-error",category:"DEPLOY",status:500,title:"Deployment process failed",suggestion:"Check deployment logs for details"}),fr=o({slug:"platform-error",category:"DEPLOY",status:500,title:"Platform-specific error",suggestion:"Check platform documentation and requirements"}),mr=o({slug:"env-var-missing",category:"DEPLOY",status:500,title:"Required environment variable missing",suggestion:"Set the required environment variable"}),Er=o({slug:"production-build-required",category:"DEPLOY",status:400,title:"Production build required",suggestion:"Run \'vf build\' before deploying"}),yr=o({slug:"agent-error",category:"AGENT",status:500,title:"Agent operation error",suggestion:"Check agent configuration and logs"}),_r=o({slug:"agent-not-found",category:"AGENT",status:404,title:"Agent not found",suggestion:"Verify the agent ID exists"}),hr=o({slug:"agent-timeout",category:"AGENT",status:408,title:"Agent operation timed out",suggestion:"Increase timeout or simplify the request"}),Cr=o({slug:"agent-intent-error",category:"AGENT",status:400,title:"Agent intent parsing error",suggestion:"Rephrase the request more clearly"}),Or=o({slug:"orchestration-error",category:"AGENT",status:500,title:"Multi-agent orchestration error",suggestion:"Check agent coordination logic"}),xr=o({slug:"cost-limit-exceeded",category:"AGENT",status:429,title:"Cost limit exceeded",suggestion:"Wait for the budget period to reset or increase the limit"}),Sr=o({slug:"unknown-error",category:"GENERAL",status:500,title:"Unknown/unclassified error",suggestion:"Check logs for more details"}),Tr=o({slug:"permission-denied",category:"GENERAL",status:403,title:"File/resource permission denied",suggestion:"Check file permissions and access rights"}),Ir=o({slug:"file-not-found",category:"GENERAL",status:404,title:"File not found",suggestion:"Verify the file path exists"}),Ar=o({slug:"resource-not-found",category:"GENERAL",status:404,title:"Requested resource not found",suggestion:"Verify the referenced resource ID or name exists"}),Nr=o({slug:"invalid-argument",category:"GENERAL",status:400,title:"Invalid function argument",suggestion:"Check argument types and values"}),Dr=o({slug:"timeout-error",category:"GENERAL",status:408,title:"Operation timed out",suggestion:"Increase timeout or optimize the operation"}),vr=o({slug:"initialization-error",category:"GENERAL",status:500,title:"Initialization failed",suggestion:"Check initialization requirements and dependencies"}),br=o({slug:"not-supported",category:"GENERAL",status:501,title:"Feature not supported",suggestion:"Check documentation for supported features"}),B=o({slug:"security-violation",category:"GENERAL",status:403,title:"Security violation detected",suggestion:"Check for path traversal or unauthorized access attempts"}),Mr=o({slug:"input-validation-failed",category:"GENERAL",status:400,title:"Input validation failed",suggestion:"Check request input against validation rules"});var nt=[{pattern:/<script[^>]*>[\\s\\S]*?<\\/script>/gi,name:"inline script"},{pattern:/javascript:/gi,name:"javascript: URL"},{pattern:/\\bon\\w+\\s*=/gi,name:"event handler attribute"},{pattern:/data:\\s*text\\/html/gi,name:"data: HTML URL"}];function st(){let t=globalThis;return t.__VERYFRONT_DEV__===!0||t.Deno?.env?.get?.("VERYFRONT_ENV")==="development"}function h(t,e={}){let{strict:r=!1,warn:n=!0}=e;for(let{pattern:s,name:u}of nt)if(s.lastIndex=0,!!s.test(t)&&(n&&console.warn(`[Security] Suspicious ${u} detected in server HTML`),r||!st()))throw B.create({detail:`Potentially unsafe HTML: ${u} detected`});return t}var m=class{constructor(e,r){this.prefix=e;this.level=r}log(e,r,n,...s){this.level>e||r?.(n,...s)}debug(e,...r){this.log(0,console.debug,`[${this.prefix}] DEBUG: ${e}`,...r)}info(e,...r){this.log(1,console.log,`[${this.prefix}] ${e}`,...r)}warn(e,...r){this.log(2,console.warn,`[${this.prefix}] WARN: ${e}`,...r)}error(e,...r){this.log(3,console.error,`[${this.prefix}] ERROR: ${e}`,...r)}};function it(){if(typeof window>"u")return 2;let t=globalThis;return t.__VERYFRONT_DEV__||t.__RSC_DEV__?t.__VERYFRONT_DEBUG__||t.__RSC_DEBUG__?0:1:2}var A=it(),g=new m("RSC",A),Hr=new m("PREFETCH",A),Fr=new m("HYDRATE",A),$r=new m("VERYFRONT",A);function C(t,e){let r=e==="root"?_:`rsc-slot-${e}`,n=t.getElementById(r);if(n)return n;let s=t.createElement("div");return s.id=r,t.body.appendChild(s),s}function at(t,e){if(e.type!=="slot")return;let r=C(t,e.id);r.innerHTML=h(String(e.html??""))}function G(t,e){let r=e.split(`\n`),n=r.pop()??"";for(let s of r){let u=s.trim();if(!u)continue;let c;try{c=JSON.parse(u)}catch(d){g.debug("[client-dom] malformed NDJSON line",{line:u,error:d instanceof Error?d.message:String(d)});continue}if(!c||typeof c!="object")continue;let i=c;if(i.type==="slot"){at(t,i);try{ut(t,i.id||"root")}catch(d){g.debug("[client-dom] hydration optional failed",d)}}}return n}function ct(t){return new Promise((e,r)=>{let n=()=>r(new DOMException("aborted","AbortError"));if(t.aborted){n();return}t.addEventListener("abort",n,{once:!0})})}async function j(t,e=document,r){let n="body"in t?t:null,s=n?.body??t;if(!s)return;let u=s.getReader(),c=new TextDecoder,i="",d=!1;try{for(;;){if(r?.aborted)throw new DOMException("aborted","AbortError");let l=u.read(),{done:R,value:O}=r?await Promise.race([l,ct(r)]):await l;if(R){d=!0;break}i+=c.decode(O,{stream:!0}),i=G(e,i)}i&&G(e,`${i}\n`)}catch(l){throw l instanceof Error&&l.name==="AbortError"||g.debug("[client-dom] consumeNdjsonStream error",l),l}finally{try{await u.cancel()}catch(l){d||g.debug("[client-dom] reader.cancel failed",l)}try{u.releaseLock()}catch(l){g.debug("[client-dom] reader.releaseLock failed",l)}if(typeof s.cancel=="function")try{await s.cancel()}catch(l){g.debug("[client-dom] stream.cancel failed",l)}if(typeof n?.body?.cancel=="function")try{await n.body.cancel()}catch(l){g.debug("[client-dom] response.body.cancel failed",l)}}}function lt(t,e){let r=C(t,e),n=[],s=u=>{let c=u;c.dataset?.clientRef&&n.push(c);for(let i of u.children)s(i)};return s(r),n}function ut(t,e){let r=lt(t,e);for(let n of r){let s=n.dataset?.clientRef;s&&(n.dataset.hydrated="true",g.debug("[client-dom] marked for hydration",s))}}var gt=100;function dt(t,e){if(globalThis.__VF_CLIENT_MOD_CACHE??(globalThis.__VF_CLIENT_MOD_CACHE=new Map),globalThis.__VF_CLIENT_MOD_CACHE.size>=gt){let r=globalThis.__VF_CLIENT_MOD_CACHE.keys().next().value;r&&globalThis.__VF_CLIENT_MOD_CACHE.delete(r)}globalThis.__VF_CLIENT_MOD_CACHE.set(t,e)}function pt(t){let e=t.match(/^\\/app\\/(.+)#([A-Za-z0-9_]+)$/);return e?{rel:`/${e[1]||""}`,exportName:e[2]||"default"}:null}async function Rt(){try{let t=await fetch("/_veryfront/rsc/manifest");return t.ok?await t.json():null}catch{return null}}async function ft(t,e,r){let n=t.graphIds?.client.find(c=>c.rel===e)?.path,s=`${e}#${t.hash??""}`;try{let c=globalThis.__VF_CLIENT_MOD_CACHE?.get(s);if(c)return c}catch(c){g.debug("hydrate: cache get failed",c)}let u=T({strategy:r,rel:e,absPath:n,version:t.hash});if(!u)return null;try{let c=await import(u);try{dt(s,c)}catch(i){g.debug("hydrate: cache set failed",i)}return c}catch(c){return g.debug("hydrate: failed to import module",{moduleUrl:u,error:c}),null}}async function Y(t=document){let e=null;try{e=await Rt()}catch(i){g.debug("hydrate: fetch manifest failed",i)}if(!e){g.debug("hydrate: no manifest");return}let r=Array.from(t.querySelectorAll("[data-client-ref]"));try{let i=globalThis.__VF_MANIFEST_HASH;if(!r.some(l=>l.dataset?.hydrated!=="true")&&i&&e.hash&&i===e.hash)return}catch(i){g.debug("hydrate: hmr hash read failed",i)}if(r.length===0){try{globalThis.__VF_MANIFEST_HASH=e.hash??""}catch(i){g.debug("hydrate: set hash failed",i)}return}let n=S(x(t));try{if(globalThis.__VF_TEST_MODE__){globalThis.__VF_HYDRATE_CALLED=!0,globalThis.__VF_MANIFEST_HASH=e.hash??"";return}}catch(i){g.debug("hydrate: test mode flags failed",i)}let s=I(t),[{default:u},{createRoot:c}]=await Promise.all([import(s.react),import(s.reactDomClient)]);for(let i of r){let d=i.dataset?.clientRef??"";if(!d||i.dataset?.hydrated==="true")continue;let l=pt(d);if(!l)continue;let R=await ft(e,l.rel,n);if(!R)continue;let O=R[l.exportName]??R.default;if(typeof O=="function")try{c(i).render(u.createElement(O,{})),i.dataset.hydrated="true"}catch(U){g.warn("hydrate: render failed",U)}}try{globalThis.__VF_MANIFEST_HASH=e.hash??""}catch(i){g.debug("hydrate: set hash failed (post)",i)}}async function mt(){let t=I(document),[e,r]=await Promise.all([import(t.react),import(t.reactDomClient)]);return{React:e,ReactDOM:r}}var Et=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE"]);function L(t){let e=t.getAttribute("style")??"";return t.hasAttribute("data-veryfront-head")||t.hasAttribute("hidden")||/(?:^|;)\\s*display\\s*:\\s*none(?:\\s*;|$)/i.test(e)||Et.has(t.tagName.toUpperCase())}function yt(t,e){return t.find(r=>r.tagName.toUpperCase()==="DIV"&&!!r.getAttribute("class")?.trim()&&!L(r))??e}function _t(t,e){return t===e}function ht(t,e){let r=document.createElement("div");r.setAttribute("data-veryfront-hydration-root","page");let n=t.find(s=>!L(s));n?.parentNode===e?e.insertBefore(r,n):e.appendChild(r);for(let s of t)!L(s)&&s.parentNode===e&&r.appendChild(s);return r}function Ct(t,e){return!!e?.pagePath&&typeof t?.__veryfrontRenderPage=="function"}function Ot(t,e){return e?.pagePath?!1:!!t.getElementById(_)}function xt(t=import.meta.url){try{return new URL(t,"http://veryfront.local").searchParams.get("hydrate")==="1"}catch{return!1}}async function St(t){try{let e=await fetch(y+"stream"+t);if(!e.ok||!e.body)return!1;let r=new AbortController;return addEventListener("pagehide",()=>r.abort(),{once:!0}),await j(e,document,r.signal),!0}catch(e){return console.debug?.("[RSC] tryStream failed",e),!1}}async function N(){try{await Y(document)}catch(t){console.debug?.("[RSC] hydration failed",t)}}async function Tt(t,e){try{let{React:r,ReactDOM:n}=await mt(),s=T({strategy:e,rel:t});if(!s)return!1;console.debug?.("[RSC] Loading component from:",s);let c=(await import(s)).default;if(typeof c!="function")return console.debug?.("[RSC] Page component is not a function"),!1;let i=Array.from(document.body.children),d=yt(i,document.body),l=_t(d,document.body)?ht(i,document.body):d,R=r.createElement(c,{});return n.hydrateRoot(l,R,{identifierPrefix:"vf",onRecoverableError:()=>{}}),console.debug?.("[RSC] Page component hydrated successfully"),!0}catch(r){return console.error("[RSC] Page hydration failed",r),!1}}async function It(t){try{let e=await fetch(y+"payload"+t);if(!e.ok)return!1;let r=await e.json();if(r?.slots){for(let[n,s]of Object.entries(r.slots))C(document,n).innerHTML=h(String(s||""));return!0}return C(document,_).innerHTML=h(String(r?.html||"")),!0}catch(e){return console.debug?.("[RSC] payload fetch failed",e),!1}}async function At(){try{let t=globalThis.window?.location.search??"",e=x(document);if(xt()){await N();return}let r=e?.pagePath,n=S(e);if(r){if(Ct(globalThis.window,e)){console.debug?.("[RSC] Page renderer owns hydration");return}console.debug?.("[RSC] Found page component in hydration data:",r),await Tt(r,n)&&console.debug?.("[RSC] Client component hydrated successfully");return}if(!Ot(document,e))return;if(await St(t)){await N();return}if(await It(t)){await N();return}await N()}catch(t){console.error("[RSC] boot failed",t)}}if(typeof document<"u"){let t=()=>{At()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t,{once:!0}):t()}export{At as boot,yt as selectHydrationRoot,Ot as shouldAttemptRSCTransport,xt as shouldHydrateOnly,Ct as shouldUsePageRendererHydration,_t as shouldWrapPageHydrationRoot};\n';
9
9
  export const CLIENT_DOM_BUNDLE = 'var N=Object.defineProperty;var A=(r,t,o)=>t in r?N(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o;var l=(r,t,o)=>A(r,typeof t!="symbol"?t+"":t,o);function e(r){return{...r,create(t){return new f(t?.message||t?.detail||r.title,{slug:r.slug,category:r.category,status:t?.status??r.status,title:r.title,suggestion:r.suggestion,detail:t?.detail,cause:t?.cause,instance:t?.instance,context:t?.context})}}}var f=class extends Error{constructor(o,s){super(o);l(this,"slug");l(this,"category");l(this,"status");l(this,"title");l(this,"suggestion");l(this,"detail");l(this,"cause");l(this,"instance");l(this,"context");this.name="VeryfrontError",this.slug=s.slug,this.category=s.category,this.status=s.status,this.title=s.title,this.suggestion=s.suggestion,this.detail=s.detail,this.cause=s.cause,this.instance=s.instance,this.context=s.context}toRFC9457(){return{type:`https://veryfront.com/docs/errors/${this.slug}`,title:this.title,status:this.status,detail:this.detail,instance:this.instance,category:this.category,suggestion:this.suggestion,cause:typeof this.cause=="string"?this.cause:void 0}}getDocsUrl(){return`https://veryfront.com/docs/errors/${this.slug}`}};var z=e({slug:"config-not-found",category:"CONFIG",status:404,title:"Configuration file not found",suggestion:"Run \'vf init\' to create a configuration file"}),W=e({slug:"config-invalid",category:"CONFIG",status:400,title:"Invalid configuration format",suggestion:"Check your veryfront.config.ts for syntax errors"}),X=e({slug:"config-parse-error",category:"CONFIG",status:400,title:"Failed to parse configuration",suggestion:"Ensure your configuration file is valid TypeScript/JSON"}),J=e({slug:"config-validation-error",category:"CONFIG",status:422,title:"Configuration validation failed",suggestion:"Check the configuration against the schema requirements"}),K=e({slug:"config-type-error",category:"CONFIG",status:400,title:"Configuration type mismatch",suggestion:"Ensure configuration values match expected types"}),Z=e({slug:"import-map-invalid",category:"CONFIG",status:400,title:"Invalid import map configuration",suggestion:"Check your import map syntax and paths"}),Q=e({slug:"cors-config-invalid",category:"CONFIG",status:400,title:"Invalid CORS configuration",suggestion:"Review CORS settings in your configuration"}),ee=e({slug:"config-validation-failed",category:"CONFIG",status:400,title:"Configuration validation failed",suggestion:"Check configuration values against requirements"}),te=e({slug:"build-failed",category:"BUILD",status:500,title:"Build process failed",suggestion:"Check the build output for specific errors"}),re=e({slug:"bundle-error",category:"BUILD",status:500,title:"Bundle generation failed",suggestion:"Review bundler output for details"}),oe=e({slug:"typescript-error",category:"BUILD",status:500,title:"TypeScript compilation error",suggestion:"Fix TypeScript errors shown in the output"}),se=e({slug:"mdx-compile-error",category:"BUILD",status:500,title:"MDX compilation failed",suggestion:"Check your MDX file syntax"}),ne=e({slug:"asset-optimization-error",category:"BUILD",status:500,title:"Asset optimization failed",suggestion:"Check asset file formats and paths"}),ie=e({slug:"ssg-generation-error",category:"BUILD",status:500,title:"Static site generation failed",suggestion:"Review SSG configuration and data fetching"}),ae=e({slug:"sourcemap-error",category:"BUILD",status:500,title:"Source map generation failed",suggestion:"Check source map configuration"}),ce=e({slug:"compilation-error",category:"BUILD",status:500,title:"Compilation failed",suggestion:"Review compiler output for specific errors"}),ue=e({slug:"hydration-mismatch",category:"RUNTIME",status:500,title:"Client/server hydration mismatch",suggestion:"Ensure server and client render the same content"}),le=e({slug:"render-error",category:"RUNTIME",status:500,title:"Component render failed",suggestion:"Check component for runtime errors"}),ge=e({slug:"component-error",category:"RUNTIME",status:500,title:"Component execution error",suggestion:"Review component logic and props"}),de=e({slug:"layout-not-found",category:"RUNTIME",status:404,title:"Layout component not found",suggestion:"Ensure layout file exists at the expected path"}),pe=e({slug:"page-not-found",category:"RUNTIME",status:404,title:"Page component not found",suggestion:"Check that the page file exists in the routes directory"}),Ee=e({slug:"api-error",category:"RUNTIME",status:500,title:"API route handler error",suggestion:"Review API route handler for errors"}),Re=e({slug:"middleware-error",category:"RUNTIME",status:500,title:"Middleware execution error",suggestion:"Check middleware function for errors"}),fe=e({slug:"route-conflict",category:"ROUTE",status:409,title:"Conflicting route definitions",suggestion:"Rename or reorganize conflicting route files"}),me=e({slug:"invalid-route-file",category:"ROUTE",status:400,title:"Invalid route file structure",suggestion:"Ensure route file exports required functions"}),ye=e({slug:"route-handler-invalid",category:"ROUTE",status:400,title:"Invalid route handler export",suggestion:"Export a valid handler function from the route file"}),_e=e({slug:"dynamic-route-error",category:"ROUTE",status:500,title:"Dynamic route parsing failed",suggestion:"Check dynamic route segment syntax"}),Oe=e({slug:"route-params-error",category:"ROUTE",status:400,title:"Route parameters invalid",suggestion:"Validate route parameter values"}),he=e({slug:"api-route-error",category:"ROUTE",status:500,title:"API route definition error",suggestion:"Review API route configuration"}),Te=e({slug:"module-not-found",category:"MODULE",status:404,title:"Module could not be resolved",suggestion:"Check the import path and ensure the module is installed"}),Ie=e({slug:"import-resolution-error",category:"MODULE",status:500,title:"Import path resolution failed",suggestion:"Verify import paths and module configuration"}),ve=e({slug:"circular-dependency",category:"MODULE",status:500,title:"Circular dependency detected",suggestion:"Refactor imports to break the circular dependency"}),xe=e({slug:"invalid-import",category:"MODULE",status:400,title:"Invalid import statement",suggestion:"Fix import syntax or path"}),Ne=e({slug:"dependency-missing",category:"MODULE",status:404,title:"Required dependency not installed",suggestion:"Install the missing dependency with your package manager"}),Ae=e({slug:"version-mismatch",category:"MODULE",status:409,title:"Dependency version mismatch",suggestion:"Update dependencies to compatible versions"}),Ce=e({slug:"port-in-use",category:"SERVER",status:409,title:"Server port already in use",suggestion:"Use a different port or stop the process using this port"}),Se=e({slug:"server-start-error",category:"SERVER",status:500,title:"Server failed to start",suggestion:"Check server configuration and port availability"}),De=e({slug:"cache-error",category:"SERVER",status:500,title:"Cache operation failed",suggestion:"Clear the cache and try again"}),Le=e({slug:"file-watch-error",category:"SERVER",status:500,title:"File watcher error",suggestion:"Restart the development server"}),Ue=e({slug:"request-error",category:"SERVER",status:500,title:"HTTP request handling error",suggestion:"Check request handler and middleware"}),be=e({slug:"service-overloaded",category:"SERVER",status:503,title:"Service overloaded",suggestion:"Reduce load or scale up resources"}),Me=e({slug:"cache-path-mismatch",category:"SERVER",status:500,title:"Cache path mismatch",suggestion:"Clear the cache directory and rebuild"}),Pe=e({slug:"network-error",category:"SERVER",status:502,title:"Network operation failed",suggestion:"Check network connectivity and retry"}),Ve=e({slug:"api-client-error",category:"SERVER",status:500,title:"API client request failed",suggestion:"Check API connectivity and authentication"}),Fe=e({slug:"token-storage-error",category:"SERVER",status:500,title:"Token storage operation failed",suggestion:"Check token storage backend and credentials"}),ke=e({slug:"cache-invariant-violation",category:"SERVER",status:500,title:"Cache path invariant violated",suggestion:"Clear the cache and rebuild"}),we=e({slug:"release-not-found",category:"SERVER",status:404,title:"No active release found",suggestion:"Deploy the project to create a release for this environment"}),Ge=e({slug:"fallback-exhausted",category:"SERVER",status:500,title:"Primary and fallback operations both failed",suggestion:"Check service availability and connectivity"}),He=e({slug:"client-boundary-violation",category:"BOUNDARY",status:400,title:"Client boundary rule violation",suggestion:"Add \'use client\' directive or move code to a client component"}),Be=e({slug:"server-only-in-client",category:"BOUNDARY",status:400,title:"Server-only code in client component",suggestion:"Move server-only code to a server component"}),$e=e({slug:"client-only-in-server",category:"BOUNDARY",status:400,title:"Client-only code in server component",suggestion:"Move client-only code to a client component"}),Ye=e({slug:"invalid-use-client",category:"BOUNDARY",status:400,title:"Invalid \'use client\' directive",suggestion:"Place \'use client\' at the top of the file"}),je=e({slug:"invalid-use-server",category:"BOUNDARY",status:400,title:"Invalid \'use server\' directive",suggestion:"Place \'use server\' at the top of the file or function"}),qe=e({slug:"rsc-payload-error",category:"BOUNDARY",status:500,title:"RSC payload serialization error",suggestion:"Ensure props are serializable (no functions, symbols, etc.)"}),ze=e({slug:"hmr-error",category:"DEV",status:500,title:"Hot module replacement error",suggestion:"Restart the development server"}),We=e({slug:"dev-server-error",category:"DEV",status:500,title:"Development server error",suggestion:"Check the dev server logs and restart"}),Xe=e({slug:"fast-refresh-error",category:"DEV",status:500,title:"Fast refresh failed",suggestion:"Save the file again or restart the dev server"}),Je=e({slug:"error-overlay-error",category:"DEV",status:500,title:"Error overlay failed",suggestion:"Check browser console for details"}),Ke=e({slug:"source-map-error",category:"DEV",status:500,title:"Source map loading error",suggestion:"Rebuild or clear cache"}),Ze=e({slug:"deployment-error",category:"DEPLOY",status:500,title:"Deployment process failed",suggestion:"Check deployment logs for details"}),Qe=e({slug:"platform-error",category:"DEPLOY",status:500,title:"Platform-specific error",suggestion:"Check platform documentation and requirements"}),et=e({slug:"env-var-missing",category:"DEPLOY",status:500,title:"Required environment variable missing",suggestion:"Set the required environment variable"}),tt=e({slug:"production-build-required",category:"DEPLOY",status:400,title:"Production build required",suggestion:"Run \'vf build\' before deploying"}),rt=e({slug:"agent-error",category:"AGENT",status:500,title:"Agent operation error",suggestion:"Check agent configuration and logs"}),ot=e({slug:"agent-not-found",category:"AGENT",status:404,title:"Agent not found",suggestion:"Verify the agent ID exists"}),st=e({slug:"agent-timeout",category:"AGENT",status:408,title:"Agent operation timed out",suggestion:"Increase timeout or simplify the request"}),nt=e({slug:"agent-intent-error",category:"AGENT",status:400,title:"Agent intent parsing error",suggestion:"Rephrase the request more clearly"}),it=e({slug:"orchestration-error",category:"AGENT",status:500,title:"Multi-agent orchestration error",suggestion:"Check agent coordination logic"}),at=e({slug:"cost-limit-exceeded",category:"AGENT",status:429,title:"Cost limit exceeded",suggestion:"Wait for the budget period to reset or increase the limit"}),ct=e({slug:"unknown-error",category:"GENERAL",status:500,title:"Unknown/unclassified error",suggestion:"Check logs for more details"}),ut=e({slug:"permission-denied",category:"GENERAL",status:403,title:"File/resource permission denied",suggestion:"Check file permissions and access rights"}),lt=e({slug:"file-not-found",category:"GENERAL",status:404,title:"File not found",suggestion:"Verify the file path exists"}),gt=e({slug:"resource-not-found",category:"GENERAL",status:404,title:"Requested resource not found",suggestion:"Verify the referenced resource ID or name exists"}),dt=e({slug:"invalid-argument",category:"GENERAL",status:400,title:"Invalid function argument",suggestion:"Check argument types and values"}),pt=e({slug:"timeout-error",category:"GENERAL",status:408,title:"Operation timed out",suggestion:"Increase timeout or optimize the operation"}),Et=e({slug:"initialization-error",category:"GENERAL",status:500,title:"Initialization failed",suggestion:"Check initialization requirements and dependencies"}),Rt=e({slug:"not-supported",category:"GENERAL",status:501,title:"Feature not supported",suggestion:"Check documentation for supported features"}),y=e({slug:"security-violation",category:"GENERAL",status:403,title:"Security violation detected",suggestion:"Check for path traversal or unauthorized access attempts"}),ft=e({slug:"input-validation-failed",category:"GENERAL",status:400,title:"Input validation failed",suggestion:"Check request input against validation rules"});var C=[{pattern:/<script[^>]*>[\\s\\S]*?<\\/script>/gi,name:"inline script"},{pattern:/javascript:/gi,name:"javascript: URL"},{pattern:/\\bon\\w+\\s*=/gi,name:"event handler attribute"},{pattern:/data:\\s*text\\/html/gi,name:"data: HTML URL"}];function S(){let r=globalThis;return r.__VERYFRONT_DEV__===!0||r.Deno?.env?.get?.("VERYFRONT_ENV")==="development"}function _(r,t={}){let{strict:o=!1,warn:s=!0}=t;for(let{pattern:i,name:c}of C)if(i.lastIndex=0,!!i.test(r)&&(s&&console.warn(`[Security] Suspicious ${c} detected in server HTML`),o||!S()))throw y.create({detail:`Potentially unsafe HTML: ${c} detected`});return r}var E=class{constructor(t,o){this.prefix=t;this.level=o}log(t,o,s,...i){this.level>t||o?.(s,...i)}debug(t,...o){this.log(0,console.debug,`[${this.prefix}] DEBUG: ${t}`,...o)}info(t,...o){this.log(1,console.log,`[${this.prefix}] ${t}`,...o)}warn(t,...o){this.log(2,console.warn,`[${this.prefix}] WARN: ${t}`,...o)}error(t,...o){this.log(3,console.error,`[${this.prefix}] ERROR: ${t}`,...o)}};function D(){if(typeof window>"u")return 2;let r=globalThis;return r.__VERYFRONT_DEV__||r.__RSC_DEV__?r.__VERYFRONT_DEBUG__||r.__RSC_DEBUG__?0:1:2}var R=D(),d=new E("RSC",R),Tt=new E("PREFETCH",R),It=new E("HYDRATE",R),vt=new E("VERYFRONT",R);var n="/_veryfront",m={RSC:`${n}/rsc/`,FS:`${n}/fs/`,MODULES:`${n}/modules/`,PAGES:`${n}/pages/`,DATA:`${n}/data/`,LIB:`${n}/lib/`,CHUNKS:`${n}/chunks/`,CLIENT:`${n}/client/`},O={HMR_RUNTIME:`${n}/hmr-runtime.js`,HMR:`${n}/hmr.js`,ERROR_OVERLAY:`${n}/error-overlay.js`,DEV_LOADER:`${n}/dev-loader.js`,CLIENT_LOG:`${n}/log`,CLIENT_JS:`${n}/client.js`,ROUTER_JS:`${n}/router.js`,PREFETCH_JS:`${n}/prefetch.js`,MANIFEST_JSON:`${n}/manifest.json`,APP_JS:`${n}/app.js`,RSC_CLIENT:`${n}/rsc/client.js`,RSC_MANIFEST:`${n}/rsc/manifest`,RSC_STREAM:`${n}/rsc/stream`,RSC_PAYLOAD:`${n}/rsc/payload`,RSC_RENDER:`${n}/rsc/render`,RSC_PAGE:`${n}/rsc/page`,RSC_MODULE:`${n}/rsc/module`,RSC_DOM:`${n}/rsc/dom.js`,LIB_CHAT_REACT:`${n}/lib/chat/react.js`,LIB_CHAT_COMPONENTS:`${n}/lib/chat/components.js`,LIB_CHAT_PRIMITIVES:`${n}/lib/chat/primitives.js`};var U={ROOT:".veryfront",CACHE:".veryfront/cache",KV:".veryfront/kv",LOGS:".veryfront/logs",TMP:".veryfront/tmp"},St=U.CACHE;var Dt={HMR_RUNTIME:O.HMR_RUNTIME,ERROR_OVERLAY:O.ERROR_OVERLAY};var Mt=m.RSC,Pt=m.FS;var h="rsc-root";function I(r,t){let o=t==="root"?h:`rsc-slot-${t}`,s=r.getElementById(o);if(s)return s;let i=r.createElement("div");return i.id=o,r.body.appendChild(i),i}function b(r,t){if(t.type!=="slot")return;let o=I(r,t.id);o.innerHTML=_(String(t.html??""))}function T(r,t){let o=t.split(`\n`),s=o.pop()??"";for(let i of o){let c=i.trim();if(!c)continue;let g;try{g=JSON.parse(c)}catch(p){d.debug("[client-dom] malformed NDJSON line",{line:c,error:p instanceof Error?p.message:String(p)});continue}if(!g||typeof g!="object")continue;let u=g;if(u.type==="slot"){b(r,u);try{V(r,u.id||"root")}catch(p){d.debug("[client-dom] hydration optional failed",p)}}}return s}function M(r){return new Promise((t,o)=>{let s=()=>o(new DOMException("aborted","AbortError"));if(r.aborted){s();return}r.addEventListener("abort",s,{once:!0})})}async function Gt(r,t=document,o){let s="body"in r?r:null,i=s?.body??r;if(!i)return;let c=i.getReader(),g=new TextDecoder,u="",p=!1;try{for(;;){if(o?.aborted)throw new DOMException("aborted","AbortError");let a=c.read(),{done:v,value:x}=o?await Promise.race([a,M(o)]):await a;if(v){p=!0;break}u+=g.decode(x,{stream:!0}),u=T(t,u)}u&&T(t,`${u}\n`)}catch(a){throw a instanceof Error&&a.name==="AbortError"||d.debug("[client-dom] consumeNdjsonStream error",a),a}finally{try{await c.cancel()}catch(a){p||d.debug("[client-dom] reader.cancel failed",a)}try{c.releaseLock()}catch(a){d.debug("[client-dom] reader.releaseLock failed",a)}if(typeof i.cancel=="function")try{await i.cancel()}catch(a){d.debug("[client-dom] stream.cancel failed",a)}if(typeof s?.body?.cancel=="function")try{await s.body.cancel()}catch(a){d.debug("[client-dom] response.body.cancel failed",a)}}}function P(r,t){let o=I(r,t),s=[],i=c=>{let g=c;g.dataset?.clientRef&&s.push(g);for(let u of c.children)i(u)};return i(o),s}function V(r,t){let o=P(r,t);for(let s of o){let i=s.dataset?.clientRef;i&&(s.dataset.hydrated="true",d.debug("[client-dom] marked for hydration",i))}}export{Gt as consumeNdjsonStream,I as getContainer};\n';
@@ -1,22 +1,40 @@
1
1
  import "../../_dnt.polyfills.js";
2
2
  import "./init.js";
3
+ /** Public API contract for error class. */
3
4
  type ErrorClass = new (...args: any[]) => Error;
5
+ /** Assert that two values are deeply equal. */
4
6
  export declare function assertEquals<T>(actual: T, expected: T, msg?: string): void;
7
+ /** Assert that two values are not deeply equal. */
5
8
  export declare function assertNotEquals<T>(actual: T, expected: T, msg?: string): void;
9
+ /** Assert that two values are strictly equal. */
6
10
  export declare function assertStrictEquals<T>(actual: T, expected: T, msg?: string): void;
11
+ /** Assert that a value is truthy. */
7
12
  export declare function assert(expr: unknown, msg?: string): asserts expr;
13
+ /** Assert that a value is not null or undefined. */
8
14
  export declare function assertExists<T>(actual: T, msg?: string): asserts actual is NonNullable<T>;
15
+ /** Assert that a synchronous function throws. */
9
16
  export declare function assertThrows(fn: () => unknown, errorClassOrMsg?: ErrorClass | string, msgIncludesOrMsg?: string, msg?: string): void;
17
+ /** Assert that an async function rejects. */
10
18
  export declare function assertRejects(fn: () => Promise<unknown>, errorClassOrMsg?: ErrorClass | string, msgIncludesOrMsg?: string, msg?: string): Promise<unknown>;
19
+ /** Assert that a string contains another string. */
11
20
  export declare function assertStringIncludes(actual: string, expected: string, msg?: string): void;
21
+ /** Assert that a string matches a regular expression. */
12
22
  export declare function assertMatch(actual: string, expected: RegExp, msg?: string): void;
23
+ /** Assert that a value is an instance of a constructor. */
13
24
  export declare function assertInstanceOf<T>(actual: unknown, expectedType: abstract new (...args: any[]) => T, msg?: string): asserts actual is T;
25
+ /** Fail the current assertion immediately. */
14
26
  export declare function fail(msg?: string): never;
27
+ /** Assert that two values are not strictly equal. */
15
28
  export declare function assertNotStrictEquals<T>(actual: T, expected: T, msg?: string): void;
29
+ /** Assert that an object contains matching properties. */
16
30
  export declare function assertObjectMatch(actual: Record<string, unknown>, expected: Record<string, unknown>, msg?: string): void;
31
+ /** Assert that a number is greater than another number. */
17
32
  export declare function assertGreater(actual: number, expected: number, msg?: string): void;
33
+ /** Assert that a number is greater than or equal to another number. */
18
34
  export declare function assertGreaterOrEqual(actual: number, expected: number, msg?: string): void;
35
+ /** Assert that a number is less than another number. */
19
36
  export declare function assertLess(actual: number, expected: number, msg?: string): void;
37
+ /** Assert that a number is less than or equal to another number. */
20
38
  export declare function assertLessOrEqual(actual: number, expected: number, msg?: string): void;
21
39
  export {};
22
40
  //# sourceMappingURL=assert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../src/src/testing/assert.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,WAAW,CAAC;AAKnB,KAAK,UAAU,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC;AAoQhD,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAE1E;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAE7E;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAEhF;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAEhE;AAED,wBAAgB,YA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CAAC,EAAE,MAAM,GAAG,KAAK,CAExC;AAED,qDAAqD;AACrD,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAEnF;AAED,0DAA0D;AAC1D,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAEN;AAED,2DAA2D;AAC3D,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAElF;AAED,uEAAuE;AACvE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAEzF;AAED,wDAAwD;AACxD,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAE/E;AAED,oEAAoE;AACpE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAEtF"}
@@ -162,56 +162,73 @@ if (isDeno) {
162
162
  else {
163
163
  impl = createNodeAssertImpl();
164
164
  }
165
+ /** Assert that two values are deeply equal. */
165
166
  export function assertEquals(actual, expected, msg) {
166
167
  impl.assertEquals(actual, expected, msg);
167
168
  }
169
+ /** Assert that two values are not deeply equal. */
168
170
  export function assertNotEquals(actual, expected, msg) {
169
171
  impl.assertNotEquals(actual, expected, msg);
170
172
  }
173
+ /** Assert that two values are strictly equal. */
171
174
  export function assertStrictEquals(actual, expected, msg) {
172
175
  impl.assertStrictEquals(actual, expected, msg);
173
176
  }
177
+ /** Assert that a value is truthy. */
174
178
  export function assert(expr, msg) {
175
179
  impl.assert(expr, msg);
176
180
  }
181
+ /** Assert that a value is not null or undefined. */
177
182
  export function assertExists(actual, msg) {
178
183
  impl.assertExists(actual, msg);
179
184
  }
185
+ /** Assert that a synchronous function throws. */
180
186
  export function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
181
187
  impl.assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg);
182
188
  }
189
+ /** Assert that an async function rejects. */
183
190
  export function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
184
191
  return impl.assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg);
185
192
  }
193
+ /** Assert that a string contains another string. */
186
194
  export function assertStringIncludes(actual, expected, msg) {
187
195
  impl.assertStringIncludes(actual, expected, msg);
188
196
  }
197
+ /** Assert that a string matches a regular expression. */
189
198
  export function assertMatch(actual, expected, msg) {
190
199
  impl.assertMatch(actual, expected, msg);
191
200
  }
201
+ /** Assert that a value is an instance of a constructor. */
192
202
  export function assertInstanceOf(actual,
193
203
  // deno-lint-ignore no-explicit-any -- any[] required: constructor params are contravariant
194
204
  expectedType, msg) {
195
205
  impl.assertInstanceOf(actual, expectedType, msg);
196
206
  }
207
+ /** Fail the current assertion immediately. */
197
208
  export function fail(msg) {
198
209
  impl.fail(msg);
199
210
  }
211
+ /** Assert that two values are not strictly equal. */
200
212
  export function assertNotStrictEquals(actual, expected, msg) {
201
213
  impl.assertNotStrictEquals(actual, expected, msg);
202
214
  }
215
+ /** Assert that an object contains matching properties. */
203
216
  export function assertObjectMatch(actual, expected, msg) {
204
217
  impl.assertObjectMatch(actual, expected, msg);
205
218
  }
219
+ /** Assert that a number is greater than another number. */
206
220
  export function assertGreater(actual, expected, msg) {
207
221
  impl.assertGreater(actual, expected, msg);
208
222
  }
223
+ /** Assert that a number is greater than or equal to another number. */
209
224
  export function assertGreaterOrEqual(actual, expected, msg) {
210
225
  impl.assertGreaterOrEqual(actual, expected, msg);
211
226
  }
227
+ /** Assert that a number is less than another number. */
212
228
  export function assertLess(actual, expected, msg) {
213
229
  impl.assertLess(actual, expected, msg);
214
230
  }
231
+ /** Assert that a number is less than or equal to another number. */
215
232
  export function assertLessOrEqual(actual, expected, msg) {
216
233
  impl.assertLessOrEqual(actual, expected, msg);
217
234
  }
@@ -30,6 +30,7 @@ export interface BddTestContext {
30
30
  }
31
31
  /** Hook function */
32
32
  type HookFn = (ctx?: BddTestContext) => void | Promise<void>;
33
+ /** Group related BDD tests. */
33
34
  export declare function describe(nameOrOptions: string | (TestOptions & {
34
35
  name: string;
35
36
  }), optionsOrFn?: TestOptions | (() => void), fn?: () => void): void;
@@ -44,6 +45,7 @@ export declare namespace describe {
44
45
  name: string;
45
46
  }), optionsOrFn?: TestOptions | (() => void), fn?: () => void) => void;
46
47
  }
48
+ /** Define a BDD test case. */
47
49
  export declare function it(nameOrOptions: string | (TestOptions & {
48
50
  name: string;
49
51
  }), optionsOrFn?: TestOptions | TestFn, fn?: TestFn): void;
@@ -58,11 +60,17 @@ export declare namespace it {
58
60
  name: string;
59
61
  }), optionsOrFn?: TestOptions | TestFn, fn?: TestFn) => void;
60
62
  }
63
+ /** Register a hook before each BDD test. */
61
64
  export declare function beforeEach(fn: HookFn): void;
65
+ /** Register a hook after each BDD test. */
62
66
  export declare function afterEach(fn: HookFn): void;
67
+ /** Register a hook before all BDD tests in a group. */
63
68
  export declare function beforeAll(fn: HookFn): void;
69
+ /** Register a hook after all BDD tests in a group. */
64
70
  export declare function afterAll(fn: HookFn): void;
71
+ /** Shared test value. */
65
72
  export declare const test: typeof it;
73
+ /** Initialize the BDD test adapter. */
66
74
  export declare function initBdd(): Promise<void>;
67
75
  export {};
68
76
  //# sourceMappingURL=bdd.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bdd.d.ts","sourceRoot":"","sources":["../../../src/src/testing/bdd.ts"],"names":[],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,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAM1C;AAED,sDAAsD;AACtD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAMzC;AAED,yBAAyB;AACzB,eAAO,MAAM,IAAI,WAAK,CAAC;AAEvB,uCAAuC;AACvC,wBAAsB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAG7C"}
@@ -296,6 +296,7 @@ function getNameAndFn(nameOrOptions, optionsOrFn, fn) {
296
296
  throw new Error("Missing test function");
297
297
  return { name, testFn };
298
298
  }
299
+ /** Group related BDD tests. */
299
300
  export function describe(nameOrOptions, optionsOrFn, fn) {
300
301
  if (!denoBdd) {
301
302
  requireImpl().describe(nameOrOptions, optionsOrFn, fn);
@@ -328,6 +329,7 @@ describe.only = function only(nameOrOptions, optionsOrFn, fn) {
328
329
  }
329
330
  requireImpl().describe({ name, only: true }, testFn);
330
331
  };
332
+ /** Define a BDD test case. */
331
333
  export function it(nameOrOptions, optionsOrFn, fn) {
332
334
  if (!denoBdd) {
333
335
  requireImpl().it(nameOrOptions, optionsOrFn, fn);
@@ -363,6 +365,7 @@ it.only = function only(nameOrOptions, optionsOrFn, fn) {
363
365
  }
364
366
  requireImpl().it({ name, only: true }, testWithEnv);
365
367
  };
368
+ /** Register a hook before each BDD test. */
366
369
  export function beforeEach(fn) {
367
370
  if (denoBdd) {
368
371
  denoBdd.beforeEach(fn);
@@ -370,6 +373,7 @@ export function beforeEach(fn) {
370
373
  }
371
374
  requireImpl().beforeEach(fn);
372
375
  }
376
+ /** Register a hook after each BDD test. */
373
377
  export function afterEach(fn) {
374
378
  if (denoBdd) {
375
379
  denoBdd.afterEach(fn);
@@ -377,6 +381,7 @@ export function afterEach(fn) {
377
381
  }
378
382
  requireImpl().afterEach(fn);
379
383
  }
384
+ /** Register a hook before all BDD tests in a group. */
380
385
  export function beforeAll(fn) {
381
386
  if (denoBdd) {
382
387
  denoBdd.beforeAll(fn);
@@ -384,6 +389,7 @@ export function beforeAll(fn) {
384
389
  }
385
390
  requireImpl().beforeAll(fn);
386
391
  }
392
+ /** Register a hook after all BDD tests in a group. */
387
393
  export function afterAll(fn) {
388
394
  if (denoBdd) {
389
395
  denoBdd.afterAll(fn);
@@ -391,7 +397,9 @@ export function afterAll(fn) {
391
397
  }
392
398
  requireImpl().afterAll(fn);
393
399
  }
400
+ /** Shared test value. */
394
401
  export const test = it;
402
+ /** Initialize the BDD test adapter. */
395
403
  export async function initBdd() {
396
404
  if (denoBdd)
397
405
  return;
@@ -1,26 +1,34 @@
1
1
  export { chmod, createFileSystem, exists, isAlreadyExistsError, isNotFoundError, makeTempDir, mkdir, readDir, readFile, readTextFile, remove, stat, writeFile, writeTextFile, } from "../platform/compat/fs.js";
2
2
  export { cwd, deleteEnv, env, getArgs, getEnv, setEnv, } from "../platform/compat/process.js";
3
+ /** Create temp file. */
3
4
  export declare function makeTempFile(options?: {
4
5
  prefix?: string;
5
6
  suffix?: string;
6
7
  }): Promise<string>;
8
+ /** Options accepted by make temp dir with. */
7
9
  export declare function makeTempDirWithOptions(options?: {
8
10
  prefix?: string;
9
11
  dir?: string;
10
12
  }): Promise<string>;
13
+ /** Wait until a condition succeeds. */
11
14
  export declare function waitFor(condition: () => boolean | Promise<boolean>, options?: {
12
15
  timeout?: number;
13
16
  interval?: number;
14
17
  message?: string;
15
18
  }): Promise<void>;
19
+ /** Wait for a duration in milliseconds. */
16
20
  export declare function delay(ms: number): Promise<void>;
21
+ /** Exit the current process. */
17
22
  export declare function exit(code: number): never;
23
+ /** Applies temp dir. */
18
24
  export declare function withTempDir<T>(fn: (tempDir: string) => Promise<T>, options?: {
19
25
  prefix?: string;
20
26
  }): Promise<T>;
27
+ /** Applies temp file. */
21
28
  export declare function withTempFile<T>(fn: (tempFile: string) => Promise<T>, options?: {
22
29
  prefix?: string;
23
30
  suffix?: string;
24
31
  }): Promise<T>;
32
+ /** Applies env. */
25
33
  export declare function withEnv<T>(vars: Record<string, string>, fn: () => Promise<T>): Promise<T>;
26
34
  //# sourceMappingURL=deno-compat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deno-compat.d.ts","sourceRoot":"","sources":["../../../src/src/testing/deno-compat.ts"],"names":[],"mappings":"AAsBA,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,MAAM,EACN,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,KAAK,EACL,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,IAAI,EACJ,SAAS,EACT,aAAa,GACd,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,GAAG,EACH,SAAS,EACT,GAAG,EACH,OAAO,EACP,MAAM,EACN,MAAM,GACP,MAAM,+BAA+B,CAAC;AAEvC,wBAAsB,YAAY,CAChC,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7C,OAAO,CAAC,MAAM,CAAC,CAoBjB;AAED,wBAAsB,sBAAsB,CAAC,OAAO,CAAC,EAAE;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBlB;AAED,wBAAsB,OAAO,CAC3B,SAAS,EAAE,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,EAC3C,OAAO,CAAC,EAAE;IACR,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GACA,OAAO,CAAC,IAAI,CAAC,CAaf;AAGD,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/C;AAED,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAOxC;AAED,wBAAsB,WAAW,CAAC,CAAC,EACjC,EAAE,EAAE,CAAC,O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