veryfront 0.1.501 → 0.1.503

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 (699) hide show
  1. package/esm/cli/commands/analyze-chunks/handler.d.ts +4 -4
  2. package/esm/cli/commands/analyze-chunks/handler.d.ts.map +1 -1
  3. package/esm/cli/commands/analyze-chunks/handler.js +6 -5
  4. package/esm/cli/commands/build/handler.d.ts +39 -27
  5. package/esm/cli/commands/build/handler.d.ts.map +1 -1
  6. package/esm/cli/commands/build/handler.js +15 -14
  7. package/esm/cli/commands/clean/command.js +1 -1
  8. package/esm/cli/commands/clean/handler.d.ts.map +1 -1
  9. package/esm/cli/commands/clean/handler.js +9 -8
  10. package/esm/cli/commands/demo/handler.d.ts +5 -5
  11. package/esm/cli/commands/demo/handler.d.ts.map +1 -1
  12. package/esm/cli/commands/demo/handler.js +7 -6
  13. package/esm/cli/commands/deploy/command.d.ts +30 -19
  14. package/esm/cli/commands/deploy/command.d.ts.map +1 -1
  15. package/esm/cli/commands/deploy/command.js +11 -10
  16. package/esm/cli/commands/dev/handler.d.ts +6 -6
  17. package/esm/cli/commands/dev/handler.d.ts.map +1 -1
  18. package/esm/cli/commands/dev/handler.js +8 -7
  19. package/esm/cli/commands/doctor/handler.d.ts +3 -3
  20. package/esm/cli/commands/doctor/handler.d.ts.map +1 -1
  21. package/esm/cli/commands/doctor/handler.js +5 -4
  22. package/esm/cli/commands/files/command.d.ts +38 -36
  23. package/esm/cli/commands/files/command.d.ts.map +1 -1
  24. package/esm/cli/commands/files/command.js +35 -31
  25. package/esm/cli/commands/generate/handler.d.ts +4 -4
  26. package/esm/cli/commands/generate/handler.d.ts.map +1 -1
  27. package/esm/cli/commands/generate/handler.js +6 -5
  28. package/esm/cli/commands/generate/integration-generator-helpers.js +4 -4
  29. package/esm/cli/commands/generate/integration-generator.js +8 -4
  30. package/esm/cli/commands/install/handler.d.ts +5 -5
  31. package/esm/cli/commands/install/handler.d.ts.map +1 -1
  32. package/esm/cli/commands/install/handler.js +7 -6
  33. package/esm/cli/commands/install/install.d.ts.map +1 -1
  34. package/esm/cli/commands/install/install.js +7 -4
  35. package/esm/cli/commands/install/types.d.ts +52 -43
  36. package/esm/cli/commands/install/types.d.ts.map +1 -1
  37. package/esm/cli/commands/install/types.js +26 -21
  38. package/esm/cli/commands/install/uninstall.d.ts.map +1 -1
  39. package/esm/cli/commands/install/uninstall.js +4 -2
  40. package/esm/cli/commands/knowledge/command.d.ts +19 -17
  41. package/esm/cli/commands/knowledge/command.d.ts.map +1 -1
  42. package/esm/cli/commands/knowledge/command.js +21 -20
  43. package/esm/cli/commands/lock/handler.d.ts.map +1 -1
  44. package/esm/cli/commands/lock/handler.js +10 -9
  45. package/esm/cli/commands/mcp/handler.d.ts +3 -3
  46. package/esm/cli/commands/mcp/handler.d.ts.map +1 -1
  47. package/esm/cli/commands/mcp/handler.js +5 -4
  48. package/esm/cli/commands/merge/command.d.ts +21 -15
  49. package/esm/cli/commands/merge/command.d.ts.map +1 -1
  50. package/esm/cli/commands/merge/command.js +9 -8
  51. package/esm/cli/commands/open/command.d.ts +17 -12
  52. package/esm/cli/commands/open/command.d.ts.map +1 -1
  53. package/esm/cli/commands/open/command.js +7 -6
  54. package/esm/cli/commands/pull/command.d.ts +36 -25
  55. package/esm/cli/commands/pull/command.d.ts.map +1 -1
  56. package/esm/cli/commands/pull/command.js +14 -13
  57. package/esm/cli/commands/push/command.d.ts +27 -19
  58. package/esm/cli/commands/push/command.d.ts.map +1 -1
  59. package/esm/cli/commands/push/command.js +11 -10
  60. package/esm/cli/commands/routes/handler.d.ts +4 -4
  61. package/esm/cli/commands/routes/handler.d.ts.map +1 -1
  62. package/esm/cli/commands/routes/handler.js +6 -5
  63. package/esm/cli/commands/schema/handler.d.ts.map +1 -1
  64. package/esm/cli/commands/schema/handler.js +5 -4
  65. package/esm/cli/commands/serve/handler.d.ts +9 -9
  66. package/esm/cli/commands/serve/handler.d.ts.map +1 -1
  67. package/esm/cli/commands/serve/handler.js +10 -9
  68. package/esm/cli/commands/start/handler.d.ts +6 -6
  69. package/esm/cli/commands/start/handler.d.ts.map +1 -1
  70. package/esm/cli/commands/start/handler.js +8 -7
  71. package/esm/cli/commands/studio/handler.d.ts +5 -5
  72. package/esm/cli/commands/studio/handler.d.ts.map +1 -1
  73. package/esm/cli/commands/studio/handler.js +7 -6
  74. package/esm/cli/commands/styles/command.d.ts.map +1 -1
  75. package/esm/cli/commands/styles/command.js +9 -8
  76. package/esm/cli/commands/styles/handler.d.ts +12 -12
  77. package/esm/cli/commands/styles/handler.d.ts.map +1 -1
  78. package/esm/cli/commands/styles/handler.js +7 -6
  79. package/esm/cli/commands/task/handler.d.ts +12 -12
  80. package/esm/cli/commands/task/handler.d.ts.map +1 -1
  81. package/esm/cli/commands/task/handler.js +7 -6
  82. package/esm/cli/commands/test/handler.d.ts.map +1 -1
  83. package/esm/cli/commands/test/handler.js +6 -5
  84. package/esm/cli/commands/up/command.d.ts +14 -10
  85. package/esm/cli/commands/up/command.d.ts.map +1 -1
  86. package/esm/cli/commands/up/command.js +6 -5
  87. package/esm/cli/commands/uploads/command.d.ts +43 -41
  88. package/esm/cli/commands/uploads/command.d.ts.map +1 -1
  89. package/esm/cli/commands/uploads/command.js +40 -36
  90. package/esm/cli/commands/worker/handler.d.ts +20 -23
  91. package/esm/cli/commands/worker/handler.d.ts.map +1 -1
  92. package/esm/cli/commands/worker/handler.js +11 -10
  93. package/esm/cli/commands/workflow/handler.d.ts +14 -16
  94. package/esm/cli/commands/workflow/handler.d.ts.map +1 -1
  95. package/esm/cli/commands/workflow/handler.js +8 -7
  96. package/esm/cli/mcp/jsonrpc.d.ts +34 -18
  97. package/esm/cli/mcp/jsonrpc.d.ts.map +1 -1
  98. package/esm/cli/mcp/jsonrpc.js +21 -17
  99. package/esm/cli/mcp/remote-file-tools.d.ts +79 -83
  100. package/esm/cli/mcp/remote-file-tools.d.ts.map +1 -1
  101. package/esm/cli/mcp/remote-file-tools.js +79 -67
  102. package/esm/cli/mcp/server.d.ts +0 -1
  103. package/esm/cli/mcp/server.d.ts.map +1 -1
  104. package/esm/cli/mcp/server.js +2 -60
  105. package/esm/cli/mcp/tools/bootstrap-tool.d.ts +5 -5
  106. package/esm/cli/mcp/tools/bootstrap-tool.d.ts.map +1 -1
  107. package/esm/cli/mcp/tools/bootstrap-tool.js +5 -4
  108. package/esm/cli/mcp/tools/build-tool.d.ts +9 -9
  109. package/esm/cli/mcp/tools/build-tool.d.ts.map +1 -1
  110. package/esm/cli/mcp/tools/build-tool.js +9 -8
  111. package/esm/cli/mcp/tools/catalog-tools.d.ts +18 -33
  112. package/esm/cli/mcp/tools/catalog-tools.d.ts.map +1 -1
  113. package/esm/cli/mcp/tools/catalog-tools.js +19 -14
  114. package/esm/cli/mcp/tools/context7-tools.d.ts.map +1 -1
  115. package/esm/cli/mcp/tools/context7-tools.js +9 -9
  116. package/esm/cli/mcp/tools/deploy-tool.d.ts +7 -7
  117. package/esm/cli/mcp/tools/deploy-tool.d.ts.map +1 -1
  118. package/esm/cli/mcp/tools/deploy-tool.js +7 -6
  119. package/esm/cli/mcp/tools/dev-tools.d.ts +31 -35
  120. package/esm/cli/mcp/tools/dev-tools.d.ts.map +1 -1
  121. package/esm/cli/mcp/tools/dev-tools.js +31 -25
  122. package/esm/cli/mcp/tools/introspection-tools.d.ts.map +1 -1
  123. package/esm/cli/mcp/tools/introspection-tools.js +6 -6
  124. package/esm/cli/mcp/tools/project-tools.d.ts +20 -25
  125. package/esm/cli/mcp/tools/project-tools.d.ts.map +1 -1
  126. package/esm/cli/mcp/tools/project-tools.js +20 -16
  127. package/esm/cli/mcp/tools/run-lint-tool.d.ts +5 -5
  128. package/esm/cli/mcp/tools/run-lint-tool.d.ts.map +1 -1
  129. package/esm/cli/mcp/tools/run-lint-tool.js +5 -4
  130. package/esm/cli/mcp/tools/run-tests-tool.d.ts +7 -7
  131. package/esm/cli/mcp/tools/run-tests-tool.d.ts.map +1 -1
  132. package/esm/cli/mcp/tools/run-tests-tool.js +7 -6
  133. package/esm/cli/mcp/tools/scaffold-tools.d.ts +12 -33
  134. package/esm/cli/mcp/tools/scaffold-tools.d.ts.map +1 -1
  135. package/esm/cli/mcp/tools/scaffold-tools.js +23 -21
  136. package/esm/cli/mcp/tools/skill-tools.d.ts +10 -10
  137. package/esm/cli/mcp/tools/skill-tools.d.ts.map +1 -1
  138. package/esm/cli/mcp/tools/skill-tools.js +8 -8
  139. package/esm/cli/mcp/tools.d.ts +27 -48
  140. package/esm/cli/mcp/tools.d.ts.map +1 -1
  141. package/esm/cli/mcp/tools.js +26 -21
  142. package/esm/cli/shared/args.d.ts +11 -8
  143. package/esm/cli/shared/args.d.ts.map +1 -1
  144. package/esm/cli/shared/args.js +9 -6
  145. package/esm/cli/shared/config.d.ts +38 -20
  146. package/esm/cli/shared/config.d.ts.map +1 -1
  147. package/esm/cli/shared/config.js +20 -17
  148. package/esm/cli/shared/types.d.ts +4 -7
  149. package/esm/cli/shared/types.d.ts.map +1 -1
  150. package/esm/cli/shared/types.js +3 -2
  151. package/esm/cli/skills/types.d.ts +30 -16
  152. package/esm/cli/skills/types.d.ts.map +1 -1
  153. package/esm/cli/skills/types.js +17 -15
  154. package/esm/cli/templates/manifest.js +211 -211
  155. package/esm/deno.d.ts +5 -0
  156. package/esm/deno.js +10 -4
  157. package/esm/extensions/ext-zod/src/adapter.d.ts +22 -0
  158. package/esm/extensions/ext-zod/src/adapter.d.ts.map +1 -0
  159. package/esm/extensions/ext-zod/src/adapter.js +159 -0
  160. package/esm/extensions/ext-zod/src/index.d.ts +19 -0
  161. package/esm/extensions/ext-zod/src/index.d.ts.map +1 -0
  162. package/esm/extensions/ext-zod/src/index.js +32 -0
  163. package/esm/extensions/ext-zod/src/json-schema.d.ts +15 -0
  164. package/esm/extensions/ext-zod/src/json-schema.d.ts.map +1 -0
  165. package/esm/extensions/ext-zod/src/json-schema.js +247 -0
  166. package/esm/src/agent/ag-ui-detached-start.d.ts +97 -50
  167. package/esm/src/agent/ag-ui-detached-start.d.ts.map +1 -1
  168. package/esm/src/agent/ag-ui-detached-start.js +26 -17
  169. package/esm/src/agent/ag-ui-forwarded-context.d.ts +3 -3
  170. package/esm/src/agent/ag-ui-forwarded-context.d.ts.map +1 -1
  171. package/esm/src/agent/ag-ui-forwarded-context.js +3 -2
  172. package/esm/src/agent/ag-ui-handler.d.ts.map +1 -1
  173. package/esm/src/agent/ag-ui-handler.js +5 -3
  174. package/esm/src/agent/ag-ui-host-support.d.ts +119 -65
  175. package/esm/src/agent/ag-ui-host-support.d.ts.map +1 -1
  176. package/esm/src/agent/ag-ui-host-support.js +48 -42
  177. package/esm/src/agent/ag-ui-request-shared.d.ts.map +1 -1
  178. package/esm/src/agent/ag-ui-request-shared.js +11 -2
  179. package/esm/src/agent/ag-ui-run-control.d.ts +15 -8
  180. package/esm/src/agent/ag-ui-run-control.d.ts.map +1 -1
  181. package/esm/src/agent/ag-ui-run-control.js +18 -13
  182. package/esm/src/agent/ag-ui-runtime-handler.d.ts.map +1 -1
  183. package/esm/src/agent/ag-ui-runtime-handler.js +5 -3
  184. package/esm/src/agent/ag-ui-sse-parser.d.ts +57 -0
  185. package/esm/src/agent/ag-ui-sse-parser.d.ts.map +1 -0
  186. package/esm/src/agent/ag-ui-sse-parser.js +227 -0
  187. package/esm/src/agent/ag-ui-tool-shared.d.ts.map +1 -1
  188. package/esm/src/agent/ag-ui-tool-shared.js +3 -2
  189. package/esm/src/agent/chat-handler.d.ts.map +1 -1
  190. package/esm/src/agent/chat-handler.js +58 -57
  191. package/esm/src/agent/composition/composition.js +2 -2
  192. package/esm/src/agent/conversation-bootstrap.d.ts +13 -16
  193. package/esm/src/agent/conversation-bootstrap.d.ts.map +1 -1
  194. package/esm/src/agent/conversation-bootstrap.js +19 -12
  195. package/esm/src/agent/conversation-hosted-lifecycle.d.ts.map +1 -1
  196. package/esm/src/agent/conversation-run-context.d.ts +1 -10
  197. package/esm/src/agent/conversation-run-context.d.ts.map +1 -1
  198. package/esm/src/agent/conversation-run-events.d.ts +9 -5
  199. package/esm/src/agent/conversation-run-events.d.ts.map +1 -1
  200. package/esm/src/agent/conversation-run-events.js +6 -4
  201. package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts +37 -16
  202. package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts.map +1 -1
  203. package/esm/src/agent/default-hosted-invoke-agent-tool.js +10 -5
  204. package/esm/src/agent/durable.d.ts +70 -129
  205. package/esm/src/agent/durable.d.ts.map +1 -1
  206. package/esm/src/agent/durable.js +107 -109
  207. package/esm/src/agent/hosted-ag-ui-chat-request.d.ts +29 -11
  208. package/esm/src/agent/hosted-ag-ui-chat-request.d.ts.map +1 -1
  209. package/esm/src/agent/hosted-ag-ui-chat-request.js +16 -15
  210. package/esm/src/agent/hosted-agent-service-config.d.ts +6 -6
  211. package/esm/src/agent/hosted-agent-service-routes.d.ts.map +1 -1
  212. package/esm/src/agent/hosted-agent-service-routes.js +4 -3
  213. package/esm/src/agent/hosted-chat-request-parser.d.ts.map +1 -1
  214. package/esm/src/agent/hosted-chat-request-parser.js +7 -4
  215. package/esm/src/agent/hosted-chat-request.d.ts +291 -20
  216. package/esm/src/agent/hosted-chat-request.d.ts.map +1 -1
  217. package/esm/src/agent/hosted-chat-request.js +33 -31
  218. package/esm/src/agent/hosted-child-fork-step-message-preparation.d.ts.map +1 -1
  219. package/esm/src/agent/hosted-child-status.d.ts.map +1 -1
  220. package/esm/src/agent/hosted-child-status.js +2 -0
  221. package/esm/src/agent/hosted-child-tool-input.d.ts +21 -11
  222. package/esm/src/agent/hosted-child-tool-input.d.ts.map +1 -1
  223. package/esm/src/agent/hosted-child-tool-input.js +12 -10
  224. package/esm/src/agent/hosted-form-input-tool.d.ts +78 -86
  225. package/esm/src/agent/hosted-form-input-tool.d.ts.map +1 -1
  226. package/esm/src/agent/hosted-form-input-tool.js +10 -3
  227. package/esm/src/agent/human-input.d.ts +337 -277
  228. package/esm/src/agent/human-input.d.ts.map +1 -1
  229. package/esm/src/agent/human-input.js +88 -72
  230. package/esm/src/agent/index.d.ts +8 -7
  231. package/esm/src/agent/index.d.ts.map +1 -1
  232. package/esm/src/agent/index.js +8 -7
  233. package/esm/src/agent/input-request-protocol.d.ts +461 -1611
  234. package/esm/src/agent/input-request-protocol.d.ts.map +1 -1
  235. package/esm/src/agent/input-request-protocol.js +120 -107
  236. package/esm/src/agent/invoke-agent-child-runs.d.ts +109 -107
  237. package/esm/src/agent/invoke-agent-child-runs.d.ts.map +1 -1
  238. package/esm/src/agent/invoke-agent-child-runs.js +36 -29
  239. package/esm/src/agent/runtime-ag-ui-contract.d.ts +206 -206
  240. package/esm/src/agent/runtime-ag-ui-contract.d.ts.map +1 -1
  241. package/esm/src/agent/runtime-ag-ui-contract.js +96 -91
  242. package/esm/src/agent/runtime-agent-definition.d.ts +47 -24
  243. package/esm/src/agent/runtime-agent-definition.d.ts.map +1 -1
  244. package/esm/src/agent/runtime-agent-definition.js +26 -20
  245. package/esm/src/agent/runtime-agent-invocation-contract.d.ts +306 -168
  246. package/esm/src/agent/runtime-agent-invocation-contract.d.ts.map +1 -1
  247. package/esm/src/agent/runtime-agent-invocation-contract.js +116 -101
  248. package/esm/src/agent/runtime-builtin-skill-files.d.ts.map +1 -1
  249. package/esm/src/agent/runtime-builtin-skill-files.js +3 -2
  250. package/esm/src/agent/runtime-client-profile.d.ts +23 -32
  251. package/esm/src/agent/runtime-client-profile.d.ts.map +1 -1
  252. package/esm/src/agent/runtime-client-profile.js +29 -27
  253. package/esm/src/agent/runtime-load-skill-tool.d.ts +6 -7
  254. package/esm/src/agent/runtime-load-skill-tool.d.ts.map +1 -1
  255. package/esm/src/agent/runtime-load-skill-tool.js +7 -6
  256. package/esm/src/agent/runtime-project-files-client.d.ts +19 -10
  257. package/esm/src/agent/runtime-project-files-client.d.ts.map +1 -1
  258. package/esm/src/agent/runtime-project-files-client.js +33 -35
  259. package/esm/src/agent/runtime-skill-metadata.d.ts +6 -20
  260. package/esm/src/agent/runtime-skill-metadata.d.ts.map +1 -1
  261. package/esm/src/agent/runtime-skill-metadata.js +24 -18
  262. package/esm/src/agent/runtime-upload-url-client.d.ts.map +1 -1
  263. package/esm/src/agent/runtime-upload-url-client.js +19 -25
  264. package/esm/src/agent/schemas/agent.schema.d.ts +258 -307
  265. package/esm/src/agent/schemas/agent.schema.d.ts.map +1 -1
  266. package/esm/src/agent/schemas/agent.schema.js +105 -101
  267. package/esm/src/agent/schemas/index.d.ts +2 -2
  268. package/esm/src/agent/schemas/index.d.ts.map +1 -1
  269. package/esm/src/agent/schemas/index.js +2 -2
  270. package/esm/src/agent/schemas/tool.schema.d.ts +5 -5
  271. package/esm/src/agent/schemas/tool.schema.d.ts.map +1 -1
  272. package/esm/src/agent/schemas/tool.schema.js +4 -4
  273. package/esm/src/cache/schemas/cache-backend.schema.d.ts +15 -14
  274. package/esm/src/cache/schemas/cache-backend.schema.d.ts.map +1 -1
  275. package/esm/src/cache/schemas/cache-backend.schema.js +10 -7
  276. package/esm/src/cache/schemas/cache-key.schema.d.ts +12 -10
  277. package/esm/src/cache/schemas/cache-key.schema.d.ts.map +1 -1
  278. package/esm/src/cache/schemas/cache-key.schema.js +8 -6
  279. package/esm/src/channels/control-plane.d.ts +246 -156
  280. package/esm/src/channels/control-plane.d.ts.map +1 -1
  281. package/esm/src/channels/control-plane.js +80 -73
  282. package/esm/src/channels/invoke.d.ts +220 -134
  283. package/esm/src/channels/invoke.d.ts.map +1 -1
  284. package/esm/src/channels/invoke.js +105 -93
  285. package/esm/src/chat/ag-ui.d.ts +494 -273
  286. package/esm/src/chat/ag-ui.d.ts.map +1 -1
  287. package/esm/src/chat/ag-ui.js +164 -180
  288. package/esm/src/chat/conversation.d.ts +273 -183
  289. package/esm/src/chat/conversation.d.ts.map +1 -1
  290. package/esm/src/chat/conversation.js +97 -111
  291. package/esm/src/chat/types.d.ts +635 -14
  292. package/esm/src/chat/types.d.ts.map +1 -1
  293. package/esm/src/chat/types.js +146 -174
  294. package/esm/src/config/schemas/config.schema.d.ts +799 -395
  295. package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
  296. package/esm/src/config/schemas/config.schema.js +300 -268
  297. package/esm/src/data/schemas/data.schema.d.ts +89 -48
  298. package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
  299. package/esm/src/data/schemas/data.schema.js +36 -29
  300. package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
  301. package/esm/src/extensions/builtin-extensions.js +9 -0
  302. package/esm/src/extensions/schema/index.d.ts +1 -1
  303. package/esm/src/extensions/schema/index.d.ts.map +1 -1
  304. package/esm/src/extensions/schema/json-schema.d.ts +23 -0
  305. package/esm/src/extensions/schema/json-schema.d.ts.map +1 -0
  306. package/esm/src/extensions/schema/json-schema.js +8 -0
  307. package/esm/src/extensions/schema/schema-validator.d.ts +97 -4
  308. package/esm/src/extensions/schema/schema-validator.d.ts.map +1 -1
  309. package/esm/src/html/hydration-script-builder/hydration-data-generator.js +1 -1
  310. package/esm/src/html/schemas/html.schema.d.ts +107 -90
  311. package/esm/src/html/schemas/html.schema.d.ts.map +1 -1
  312. package/esm/src/html/schemas/html.schema.js +60 -52
  313. package/esm/src/html/utils.d.ts.map +1 -1
  314. package/esm/src/html/utils.js +1 -1
  315. package/esm/src/integrations/schema.d.ts +455 -433
  316. package/esm/src/integrations/schema.d.ts.map +1 -1
  317. package/esm/src/integrations/schema.js +105 -95
  318. package/esm/src/internal-agents/ag-ui-sse.d.ts.map +1 -1
  319. package/esm/src/internal-agents/ag-ui-sse.js +60 -82
  320. package/esm/src/internal-agents/control-plane-auth.d.ts +10 -10
  321. package/esm/src/internal-agents/control-plane-auth.d.ts.map +1 -1
  322. package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
  323. package/esm/src/internal-agents/run-stream.js +3 -2
  324. package/esm/src/internal-agents/schema.d.ts +272 -281
  325. package/esm/src/internal-agents/schema.d.ts.map +1 -1
  326. package/esm/src/internal-agents/schema.js +55 -47
  327. package/esm/src/issues/core.d.ts.map +1 -1
  328. package/esm/src/issues/mcp.d.ts.map +1 -1
  329. package/esm/src/issues/mcp.js +47 -41
  330. package/esm/src/issues/schemas/index.d.ts +1 -1
  331. package/esm/src/issues/schemas/index.d.ts.map +1 -1
  332. package/esm/src/issues/schemas/index.js +1 -1
  333. package/esm/src/issues/schemas/issue.schema.d.ts +151 -116
  334. package/esm/src/issues/schemas/issue.schema.d.ts.map +1 -1
  335. package/esm/src/issues/schemas/issue.schema.js +64 -55
  336. package/esm/src/jobs/schemas.d.ts +1087 -658
  337. package/esm/src/jobs/schemas.d.ts.map +1 -1
  338. package/esm/src/jobs/schemas.js +244 -214
  339. package/esm/src/mcp/index.d.ts +6 -2
  340. package/esm/src/mcp/index.d.ts.map +1 -1
  341. package/esm/src/mcp/index.js +6 -2
  342. package/esm/src/mcp/schemas/index.d.ts +1 -1
  343. package/esm/src/mcp/schemas/index.d.ts.map +1 -1
  344. package/esm/src/mcp/schemas/index.js +1 -1
  345. package/esm/src/mcp/schemas/mcp.schema.d.ts +59 -31
  346. package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
  347. package/esm/src/mcp/schemas/mcp.schema.js +28 -24
  348. package/esm/src/mcp/types.d.ts +2 -2
  349. package/esm/src/mcp/types.d.ts.map +1 -1
  350. package/esm/src/oauth/providers/atlassian.d.ts +36 -30
  351. package/esm/src/oauth/providers/atlassian.d.ts.map +1 -1
  352. package/esm/src/oauth/providers/common.d.ts +312 -260
  353. package/esm/src/oauth/providers/common.d.ts.map +1 -1
  354. package/esm/src/oauth/providers/google.d.ts +48 -40
  355. package/esm/src/oauth/providers/google.d.ts.map +1 -1
  356. package/esm/src/oauth/providers/microsoft.d.ts +48 -40
  357. package/esm/src/oauth/providers/microsoft.d.ts.map +1 -1
  358. package/esm/src/oauth/schemas/oauth.schema.d.ts +180 -92
  359. package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
  360. package/esm/src/oauth/schemas/oauth.schema.js +67 -59
  361. package/esm/src/platform/adapters/fs/github/github-api-client.d.ts.map +1 -1
  362. package/esm/src/platform/adapters/fs/github/github-api-client.js +4 -4
  363. package/esm/src/platform/adapters/fs/github/index.d.ts +1 -1
  364. package/esm/src/platform/adapters/fs/github/index.d.ts.map +1 -1
  365. package/esm/src/platform/adapters/fs/github/index.js +1 -1
  366. package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.d.ts +97 -140
  367. package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.d.ts.map +1 -1
  368. package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.js +40 -37
  369. package/esm/src/platform/adapters/fs/github/schemas/index.d.ts +1 -1
  370. package/esm/src/platform/adapters/fs/github/schemas/index.d.ts.map +1 -1
  371. package/esm/src/platform/adapters/fs/github/schemas/index.js +1 -1
  372. package/esm/src/platform/adapters/fs/veryfront/proxy-manager.d.ts.map +1 -1
  373. package/esm/src/platform/adapters/fs/veryfront/proxy-manager.js +7 -4
  374. package/esm/src/platform/adapters/fs/veryfront/schemas/index.d.ts +1 -1
  375. package/esm/src/platform/adapters/fs/veryfront/schemas/index.d.ts.map +1 -1
  376. package/esm/src/platform/adapters/fs/veryfront/schemas/index.js +1 -1
  377. package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.d.ts +11 -11
  378. package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.d.ts.map +1 -1
  379. package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.js +10 -10
  380. package/esm/src/platform/adapters/fs/veryfront/stat-operations.d.ts.map +1 -1
  381. package/esm/src/platform/adapters/fs/veryfront/stat-operations.js +1 -0
  382. package/esm/src/platform/adapters/veryfront-api-client/client.d.ts +63 -63
  383. package/esm/src/platform/adapters/veryfront-api-client/index.d.ts +1 -1
  384. package/esm/src/platform/adapters/veryfront-api-client/index.d.ts.map +1 -1
  385. package/esm/src/platform/adapters/veryfront-api-client/index.js +1 -1
  386. package/esm/src/platform/adapters/veryfront-api-client/operations.d.ts.map +1 -1
  387. package/esm/src/platform/adapters/veryfront-api-client/operations.js +11 -21
  388. package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.d.ts +444 -471
  389. package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.d.ts.map +1 -1
  390. package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.js +150 -122
  391. package/esm/src/platform/adapters/veryfront-api-client/schemas/index.d.ts +1 -1
  392. package/esm/src/platform/adapters/veryfront-api-client/schemas/index.d.ts.map +1 -1
  393. package/esm/src/platform/adapters/veryfront-api-client/schemas/index.js +1 -1
  394. package/esm/src/prompt/schemas/prompt.schema.d.ts +10 -9
  395. package/esm/src/prompt/schemas/prompt.schema.d.ts.map +1 -1
  396. package/esm/src/prompt/schemas/prompt.schema.js +8 -8
  397. package/esm/src/proxy/handler.d.ts.map +1 -1
  398. package/esm/src/proxy/handler.js +0 -1
  399. package/esm/src/repositories/schemas/repository.schema.d.ts +40 -25
  400. package/esm/src/repositories/schemas/repository.schema.d.ts.map +1 -1
  401. package/esm/src/repositories/schemas/repository.schema.js +23 -19
  402. package/esm/src/resource/index.d.ts +6 -2
  403. package/esm/src/resource/index.d.ts.map +1 -1
  404. package/esm/src/resource/index.js +6 -2
  405. package/esm/src/resource/schemas/index.d.ts +1 -1
  406. package/esm/src/resource/schemas/index.d.ts.map +1 -1
  407. package/esm/src/resource/schemas/index.js +1 -1
  408. package/esm/src/resource/schemas/resource.schema.d.ts +13 -16
  409. package/esm/src/resource/schemas/resource.schema.d.ts.map +1 -1
  410. package/esm/src/resource/schemas/resource.schema.js +9 -6
  411. package/esm/src/resource/types.d.ts +3 -3
  412. package/esm/src/resource/types.d.ts.map +1 -1
  413. package/esm/src/routing/api/openapi/types.d.ts +4 -4
  414. package/esm/src/routing/api/openapi/types.d.ts.map +1 -1
  415. package/esm/src/sandbox/hosted-tools.d.ts.map +1 -1
  416. package/esm/src/sandbox/hosted-tools.js +11 -13
  417. package/esm/src/schemas/common.d.ts +48 -28
  418. package/esm/src/schemas/common.d.ts.map +1 -1
  419. package/esm/src/schemas/common.js +67 -28
  420. package/esm/src/schemas/define.d.ts +3 -2
  421. package/esm/src/schemas/define.d.ts.map +1 -1
  422. package/esm/src/schemas/define.js +12 -6
  423. package/esm/src/schemas/index.d.ts +8 -4
  424. package/esm/src/schemas/index.d.ts.map +1 -1
  425. package/esm/src/schemas/index.js +8 -7
  426. package/esm/src/schemas/json-schema.d.ts +25 -0
  427. package/esm/src/schemas/json-schema.d.ts.map +1 -0
  428. package/esm/src/schemas/json-schema.js +27 -0
  429. package/esm/src/schemas/primitives.d.ts +34 -23
  430. package/esm/src/schemas/primitives.d.ts.map +1 -1
  431. package/esm/src/schemas/primitives.js +25 -18
  432. package/esm/src/security/input-validation/handler.d.ts +3 -3
  433. package/esm/src/security/input-validation/handler.d.ts.map +1 -1
  434. package/esm/src/security/input-validation/parsers.d.ts +4 -4
  435. package/esm/src/security/input-validation/parsers.d.ts.map +1 -1
  436. package/esm/src/security/input-validation/parsers.js +35 -45
  437. package/esm/src/server/bootstrap.js +2 -2
  438. package/esm/src/server/dev-ui/manifest.js +1 -1
  439. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  440. package/esm/src/server/handlers/dev/framework-candidates.generated.js +1 -0
  441. package/esm/src/server/handlers/request/agent-run-cancel.handler.d.ts.map +1 -1
  442. package/esm/src/server/handlers/request/agent-run-cancel.handler.js +2 -3
  443. package/esm/src/server/handlers/request/agent-run-resume.handler.d.ts.map +1 -1
  444. package/esm/src/server/handlers/request/agent-run-resume.handler.js +4 -5
  445. package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
  446. package/esm/src/server/handlers/request/agent-stream.handler.js +3 -4
  447. package/esm/src/server/handlers/request/internal-agents-list.handler.d.ts.map +1 -1
  448. package/esm/src/server/handlers/request/internal-agents-list.handler.js +2 -4
  449. package/esm/src/server/runtime-handler/environment-resolution.d.ts.map +1 -1
  450. package/esm/src/server/runtime-handler/environment-resolution.js +4 -5
  451. package/esm/src/server/runtime-handler/request-utils.d.ts.map +1 -1
  452. package/esm/src/server/runtime-handler/request-utils.js +1 -2
  453. package/esm/src/server/schemas/action.schema.d.ts +10 -6
  454. package/esm/src/server/schemas/action.schema.d.ts.map +1 -1
  455. package/esm/src/server/schemas/action.schema.js +7 -5
  456. package/esm/src/skill/tools.d.ts.map +1 -1
  457. package/esm/src/skill/tools.js +24 -21
  458. package/esm/src/tool/factory.d.ts +1 -1
  459. package/esm/src/tool/factory.d.ts.map +1 -1
  460. package/esm/src/tool/factory.js +12 -1
  461. package/esm/src/tool/host-tools.d.ts +1 -1
  462. package/esm/src/tool/host-tools.d.ts.map +1 -1
  463. package/esm/src/tool/host-tools.js +17 -3
  464. package/esm/src/tool/index.d.ts +9 -5
  465. package/esm/src/tool/index.d.ts.map +1 -1
  466. package/esm/src/tool/index.js +9 -5
  467. package/esm/src/tool/remote-source-tools.d.ts.map +1 -1
  468. package/esm/src/tool/remote-source-tools.js +9 -2
  469. package/esm/src/tool/schema/json-schema.d.ts +8 -15
  470. package/esm/src/tool/schema/json-schema.d.ts.map +1 -1
  471. package/esm/src/tool/schema/json-schema.js +7 -0
  472. package/esm/src/tool/schema/zod-json-schema.d.ts +33 -4
  473. package/esm/src/tool/schema/zod-json-schema.d.ts.map +1 -1
  474. package/esm/src/tool/schema/zod-json-schema.js +70 -159
  475. package/esm/src/tool/sleep.d.ts +21 -11
  476. package/esm/src/tool/sleep.d.ts.map +1 -1
  477. package/esm/src/tool/sleep.js +42 -4
  478. package/esm/src/tool/types.d.ts +12 -8
  479. package/esm/src/tool/types.d.ts.map +1 -1
  480. package/esm/src/transforms/npm-import-rewrites.d.ts +1 -1
  481. package/esm/src/transforms/npm-import-rewrites.d.ts.map +1 -1
  482. package/esm/src/transforms/npm-import-rewrites.js +1 -3
  483. package/esm/src/utils/version-constant.d.ts +1 -1
  484. package/esm/src/utils/version-constant.js +1 -1
  485. package/esm/src/workflow/api.d.ts +22 -22
  486. package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts.map +1 -1
  487. package/esm/src/workflow/blob/veryfront-cloud-storage.js +37 -33
  488. package/esm/src/workflow/claude-code/tool.d.ts +37 -44
  489. package/esm/src/workflow/claude-code/tool.d.ts.map +1 -1
  490. package/esm/src/workflow/claude-code/tool.js +11 -19
  491. package/esm/src/workflow/dsl/workflow.d.ts +3 -3
  492. package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
  493. package/esm/src/workflow/schemas/index.d.ts +1 -1
  494. package/esm/src/workflow/schemas/index.d.ts.map +1 -1
  495. package/esm/src/workflow/schemas/index.js +1 -1
  496. package/esm/src/workflow/schemas/workflow.schema.d.ts +194 -177
  497. package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
  498. package/esm/src/workflow/schemas/workflow.schema.js +101 -83
  499. package/esm/src/workflow/types.d.ts +3 -3
  500. package/esm/src/workflow/types.d.ts.map +1 -1
  501. package/package.json +4 -1
  502. package/src/cli/commands/analyze-chunks/handler.ts +9 -5
  503. package/src/cli/commands/build/handler.ts +20 -15
  504. package/src/cli/commands/clean/command.ts +1 -1
  505. package/src/cli/commands/clean/handler.ts +12 -8
  506. package/src/cli/commands/demo/handler.ts +12 -7
  507. package/src/cli/commands/deploy/command.ts +17 -12
  508. package/src/cli/commands/dev/handler.ts +11 -7
  509. package/src/cli/commands/doctor/handler.ts +8 -4
  510. package/src/cli/commands/files/command.ts +64 -44
  511. package/src/cli/commands/generate/handler.ts +9 -5
  512. package/src/cli/commands/generate/integration-generator-helpers.ts +4 -4
  513. package/src/cli/commands/generate/integration-generator.ts +8 -4
  514. package/src/cli/commands/install/detect.ts +1 -1
  515. package/src/cli/commands/install/handler.ts +10 -6
  516. package/src/cli/commands/install/install.ts +20 -12
  517. package/src/cli/commands/install/types.ts +58 -41
  518. package/src/cli/commands/install/uninstall.ts +6 -2
  519. package/src/cli/commands/knowledge/command.ts +60 -52
  520. package/src/cli/commands/lock/handler.ts +13 -9
  521. package/src/cli/commands/mcp/handler.ts +8 -4
  522. package/src/cli/commands/merge/command.ts +14 -9
  523. package/src/cli/commands/open/command.ts +12 -7
  524. package/src/cli/commands/pull/command.ts +20 -15
  525. package/src/cli/commands/push/command.ts +17 -12
  526. package/src/cli/commands/routes/handler.ts +9 -5
  527. package/src/cli/commands/schema/handler.ts +8 -4
  528. package/src/cli/commands/serve/handler.ts +15 -11
  529. package/src/cli/commands/start/handler.ts +11 -7
  530. package/src/cli/commands/studio/handler.ts +10 -6
  531. package/src/cli/commands/styles/command.ts +22 -17
  532. package/src/cli/commands/styles/handler.ts +12 -7
  533. package/src/cli/commands/task/handler.ts +12 -7
  534. package/src/cli/commands/test/handler.ts +9 -5
  535. package/src/cli/commands/up/command.ts +11 -6
  536. package/src/cli/commands/uploads/command.ts +72 -52
  537. package/src/cli/commands/worker/handler.ts +16 -11
  538. package/src/cli/commands/workflow/handler.ts +13 -8
  539. package/src/cli/mcp/jsonrpc.ts +32 -19
  540. package/src/cli/mcp/remote-file-tools.ts +134 -97
  541. package/src/cli/mcp/server.ts +2 -80
  542. package/src/cli/mcp/tools/bootstrap-tool.ts +11 -7
  543. package/src/cli/mcp/tools/build-tool.ts +32 -28
  544. package/src/cli/mcp/tools/catalog-tools.ts +53 -42
  545. package/src/cli/mcp/tools/context7-tools.ts +29 -25
  546. package/src/cli/mcp/tools/deploy-tool.ts +17 -13
  547. package/src/cli/mcp/tools/dev-tools.ts +90 -66
  548. package/src/cli/mcp/tools/introspection-tools.ts +8 -6
  549. package/src/cli/mcp/tools/project-tools.ts +45 -32
  550. package/src/cli/mcp/tools/run-lint-tool.ts +11 -7
  551. package/src/cli/mcp/tools/run-tests-tool.ts +17 -13
  552. package/src/cli/mcp/tools/scaffold-tools.ts +43 -36
  553. package/src/cli/mcp/tools/skill-tools.ts +17 -12
  554. package/src/cli/mcp/tools.ts +65 -51
  555. package/src/cli/shared/args.ts +12 -9
  556. package/src/cli/shared/config.ts +32 -22
  557. package/src/cli/shared/project-source-context.ts +1 -1
  558. package/src/cli/shared/types.ts +5 -3
  559. package/src/cli/skills/types.ts +29 -24
  560. package/src/cli/templates/manifest.js +211 -211
  561. package/src/deno.js +10 -4
  562. package/src/extensions/ext-zod/src/adapter.ts +238 -0
  563. package/src/extensions/ext-zod/src/index.ts +36 -0
  564. package/src/extensions/ext-zod/src/json-schema.ts +311 -0
  565. package/src/src/agent/ag-ui-detached-start.ts +44 -21
  566. package/src/src/agent/ag-ui-forwarded-context.ts +6 -4
  567. package/src/src/agent/ag-ui-handler.ts +7 -3
  568. package/src/src/agent/ag-ui-host-support.ts +84 -66
  569. package/src/src/agent/ag-ui-request-shared.ts +16 -2
  570. package/src/src/agent/ag-ui-run-control.ts +26 -15
  571. package/src/src/agent/ag-ui-runtime-handler.ts +7 -3
  572. package/src/src/agent/ag-ui-sse-parser.ts +306 -0
  573. package/src/src/agent/ag-ui-tool-shared.ts +5 -2
  574. package/src/src/agent/chat-handler.ts +89 -67
  575. package/src/src/agent/composition/composition.ts +2 -2
  576. package/src/src/agent/conversation-bootstrap.ts +38 -17
  577. package/src/src/agent/conversation-hosted-lifecycle.ts +12 -10
  578. package/src/src/agent/conversation-run-events.ts +13 -5
  579. package/src/src/agent/default-hosted-invoke-agent-tool.ts +19 -8
  580. package/src/src/agent/durable.ts +186 -144
  581. package/src/src/agent/hosted-ag-ui-chat-request.ts +26 -16
  582. package/src/src/agent/hosted-agent-service-routes.ts +4 -3
  583. package/src/src/agent/hosted-chat-request-parser.ts +8 -4
  584. package/src/src/agent/hosted-chat-request.ts +46 -32
  585. package/src/src/agent/hosted-child-fork-step-message-preparation.ts +3 -1
  586. package/src/src/agent/hosted-child-status.ts +8 -1
  587. package/src/src/agent/hosted-child-tool-input.ts +27 -19
  588. package/src/src/agent/hosted-durable-child-fork-execution.ts +3 -3
  589. package/src/src/agent/hosted-form-input-tool.ts +15 -5
  590. package/src/src/agent/human-input.ts +129 -92
  591. package/src/src/agent/index.ts +38 -20
  592. package/src/src/agent/input-request-protocol.ts +193 -124
  593. package/src/src/agent/invoke-agent-child-runs.ts +64 -44
  594. package/src/src/agent/runtime-ag-ui-contract.ts +159 -123
  595. package/src/src/agent/runtime-agent-definition.ts +45 -24
  596. package/src/src/agent/runtime-agent-invocation-contract.ts +241 -174
  597. package/src/src/agent/runtime-builtin-skill-files.ts +3 -2
  598. package/src/src/agent/runtime-client-profile.ts +51 -34
  599. package/src/src/agent/runtime-load-skill-tool.ts +19 -12
  600. package/src/src/agent/runtime-project-files-client.ts +51 -39
  601. package/src/src/agent/runtime-skill-metadata.ts +41 -24
  602. package/src/src/agent/runtime-upload-url-client.ts +24 -24
  603. package/src/src/agent/schemas/agent.schema.ts +179 -142
  604. package/src/src/agent/schemas/index.ts +15 -15
  605. package/src/src/agent/schemas/tool.schema.ts +8 -5
  606. package/src/src/cache/schemas/cache-backend.schema.ts +18 -9
  607. package/src/src/cache/schemas/cache-key.schema.ts +13 -7
  608. package/src/src/channels/control-plane.ts +132 -96
  609. package/src/src/channels/invoke.ts +165 -120
  610. package/src/src/chat/ag-ui.ts +229 -225
  611. package/src/src/chat/conversation.ts +121 -124
  612. package/src/src/chat/types.ts +230 -205
  613. package/src/src/config/schemas/config.schema.ts +653 -610
  614. package/src/src/data/schemas/data.schema.ts +62 -39
  615. package/src/src/extensions/builtin-extensions.ts +9 -0
  616. package/src/src/extensions/schema/index.ts +3 -0
  617. package/src/src/extensions/schema/json-schema.ts +23 -0
  618. package/src/src/extensions/schema/schema-validator.ts +105 -6
  619. package/src/src/html/html-shell-generator.ts +1 -1
  620. package/src/src/html/hydration-script-builder/hydration-data-generator.ts +2 -2
  621. package/src/src/html/schemas/html.schema.ts +81 -65
  622. package/src/src/html/utils.ts +4 -1
  623. package/src/src/integrations/schema.ts +140 -111
  624. package/src/src/internal-agents/ag-ui-sse.ts +85 -83
  625. package/src/src/internal-agents/run-stream.ts +4 -2
  626. package/src/src/internal-agents/schema.ts +120 -89
  627. package/src/src/issues/core.ts +3 -1
  628. package/src/src/issues/mcp.ts +81 -58
  629. package/src/src/issues/schemas/index.ts +11 -0
  630. package/src/src/issues/schemas/issue.schema.ts +99 -73
  631. package/src/src/jobs/jobs-client.ts +4 -4
  632. package/src/src/jobs/schemas.ts +414 -297
  633. package/src/src/mcp/index.ts +6 -2
  634. package/src/src/mcp/schemas/index.ts +3 -0
  635. package/src/src/mcp/schemas/mcp.schema.ts +45 -29
  636. package/src/src/mcp/types.ts +2 -3
  637. package/src/src/oauth/schemas/oauth.schema.ts +96 -70
  638. package/src/src/platform/adapters/fs/github/github-api-client.ts +6 -6
  639. package/src/src/platform/adapters/fs/github/index.ts +5 -5
  640. package/src/src/platform/adapters/fs/github/schemas/github-api.schema.ts +58 -42
  641. package/src/src/platform/adapters/fs/github/schemas/index.ts +5 -5
  642. package/src/src/platform/adapters/fs/veryfront/proxy-manager.ts +9 -5
  643. package/src/src/platform/adapters/fs/veryfront/schemas/index.ts +1 -1
  644. package/src/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.ts +14 -11
  645. package/src/src/platform/adapters/fs/veryfront/stat-operations.ts +1 -0
  646. package/src/src/platform/adapters/veryfront-api-client/index.ts +17 -16
  647. package/src/src/platform/adapters/veryfront-api-client/operations.ts +20 -31
  648. package/src/src/platform/adapters/veryfront-api-client/schemas/api.schema.ts +231 -150
  649. package/src/src/platform/adapters/veryfront-api-client/schemas/index.ts +17 -16
  650. package/src/src/prompt/schemas/prompt.schema.ts +13 -10
  651. package/src/src/proxy/handler.ts +0 -1
  652. package/src/src/rendering/orchestrator/html-project-css.ts +1 -1
  653. package/src/src/rendering/renderer.ts +2 -2
  654. package/src/src/repositories/schemas/repository.schema.ts +36 -22
  655. package/src/src/resource/index.ts +6 -2
  656. package/src/src/resource/schemas/index.ts +2 -0
  657. package/src/src/resource/schemas/resource.schema.ts +17 -8
  658. package/src/src/resource/types.ts +3 -3
  659. package/src/src/routing/api/openapi/types.ts +5 -5
  660. package/src/src/sandbox/hosted-tools.ts +17 -13
  661. package/src/src/schemas/common.ts +83 -31
  662. package/src/src/schemas/define.ts +13 -6
  663. package/src/src/schemas/index.ts +29 -17
  664. package/src/src/schemas/json-schema.ts +33 -0
  665. package/src/src/schemas/primitives.ts +71 -35
  666. package/src/src/security/http/config.ts +1 -1
  667. package/src/src/security/input-validation/handler.ts +3 -3
  668. package/src/src/security/input-validation/parsers.ts +40 -45
  669. package/src/src/server/bootstrap.ts +3 -3
  670. package/src/src/server/dev-ui/manifest.js +1 -1
  671. package/src/src/server/handlers/dev/framework-candidates.generated.ts +1 -0
  672. package/src/src/server/handlers/request/agent-run-cancel.handler.ts +2 -6
  673. package/src/src/server/handlers/request/agent-run-resume.handler.ts +4 -9
  674. package/src/src/server/handlers/request/agent-stream.handler.ts +2 -4
  675. package/src/src/server/handlers/request/internal-agents-list.handler.ts +2 -5
  676. package/src/src/server/runtime-handler/environment-resolution.ts +4 -5
  677. package/src/src/server/runtime-handler/request-utils.ts +1 -2
  678. package/src/src/server/schemas/action.schema.ts +12 -6
  679. package/src/src/skill/tools.ts +37 -25
  680. package/src/src/tool/factory.ts +23 -5
  681. package/src/src/tool/host-tools.ts +16 -6
  682. package/src/src/tool/index.ts +9 -5
  683. package/src/src/tool/remote-source-tools.ts +10 -2
  684. package/src/src/tool/schema/json-schema.ts +9 -15
  685. package/src/src/tool/schema/zod-json-schema.ts +75 -209
  686. package/src/src/tool/sleep.ts +55 -7
  687. package/src/src/tool/types.ts +12 -8
  688. package/src/src/transforms/npm-import-rewrites.ts +1 -3
  689. package/src/src/utils/version-constant.ts +1 -1
  690. package/src/src/workflow/blob/veryfront-cloud-storage.ts +53 -39
  691. package/src/src/workflow/claude-code/tool.ts +29 -38
  692. package/src/src/workflow/dsl/workflow.ts +3 -3
  693. package/src/src/workflow/schemas/index.ts +17 -0
  694. package/src/src/workflow/schemas/workflow.schema.ts +183 -123
  695. package/src/src/workflow/types.ts +3 -3
  696. package/esm/src/schemas/zod-adapter.d.ts +0 -25
  697. package/esm/src/schemas/zod-adapter.d.ts.map +0 -1
  698. package/esm/src/schemas/zod-adapter.js +0 -120
  699. package/src/src/schemas/zod-adapter.ts +0 -180
@@ -1,189 +1,168 @@
1
- import { z } from "zod";
1
+ import type { InferSchema } from "../extensions/schema/index.js";
2
2
  import type { ToolExecutionDataEvent } from "../tool/types.js";
3
- export declare const formInputToolInputSchema: z.ZodObject<{
4
- title: z.ZodString;
5
- description: z.ZodOptional<z.ZodString>;
6
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
- name: z.ZodString;
8
- label: z.ZodString;
9
- description: z.ZodOptional<z.ZodString>;
10
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
- type: z.ZodEnum<{
13
- number: "number";
14
- password: "password";
15
- url: "url";
16
- text: "text";
17
- email: "email";
18
- }>;
19
- placeholder: z.ZodOptional<z.ZodString>;
20
- defaultValue: z.ZodOptional<z.ZodString>;
21
- pattern: z.ZodOptional<z.ZodString>;
22
- minLength: z.ZodOptional<z.ZodNumber>;
23
- maxLength: z.ZodOptional<z.ZodNumber>;
24
- min: z.ZodOptional<z.ZodNumber>;
25
- max: z.ZodOptional<z.ZodNumber>;
26
- }, z.core.$strip>, z.ZodObject<{
27
- name: z.ZodString;
28
- label: z.ZodString;
29
- description: z.ZodOptional<z.ZodString>;
30
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
32
- type: z.ZodLiteral<"textarea">;
33
- placeholder: z.ZodOptional<z.ZodString>;
34
- defaultValue: z.ZodOptional<z.ZodString>;
35
- minLength: z.ZodOptional<z.ZodNumber>;
36
- maxLength: z.ZodOptional<z.ZodNumber>;
37
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
38
- }, z.core.$strip>, z.ZodObject<{
39
- name: z.ZodString;
40
- label: z.ZodString;
41
- description: z.ZodOptional<z.ZodString>;
42
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
43
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
44
- type: z.ZodLiteral<"select">;
45
- options: z.ZodArray<z.ZodObject<{
46
- value: z.ZodString;
47
- label: z.ZodString;
48
- description: z.ZodOptional<z.ZodString>;
49
- recommended: z.ZodOptional<z.ZodBoolean>;
50
- }, z.core.$strip>>;
51
- defaultValue: z.ZodOptional<z.ZodString>;
52
- placeholder: z.ZodOptional<z.ZodString>;
53
- }, z.core.$strip>, z.ZodObject<{
54
- name: z.ZodString;
55
- label: z.ZodString;
56
- description: z.ZodOptional<z.ZodString>;
57
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
58
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
59
- type: z.ZodLiteral<"checkbox">;
60
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
61
- }, z.core.$strip>, z.ZodObject<{
62
- name: z.ZodString;
63
- label: z.ZodString;
64
- description: z.ZodOptional<z.ZodString>;
65
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
66
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
- type: z.ZodLiteral<"radio">;
68
- options: z.ZodArray<z.ZodObject<{
69
- value: z.ZodString;
70
- label: z.ZodString;
71
- description: z.ZodOptional<z.ZodString>;
72
- recommended: z.ZodOptional<z.ZodBoolean>;
73
- }, z.core.$strip>>;
74
- defaultValue: z.ZodOptional<z.ZodString>;
75
- }, z.core.$strip>, z.ZodObject<{
76
- name: z.ZodString;
77
- label: z.ZodString;
78
- description: z.ZodOptional<z.ZodString>;
79
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
80
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
81
- type: z.ZodLiteral<"confirm">;
82
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
83
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
84
- }, z.core.$strip>], "type">>;
85
- submitLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
- }, z.core.$strip>;
87
- export declare const inputResponseValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
88
- export declare const createInputRequestRequestSchema: z.ZodObject<{
89
- run_id: z.ZodString;
90
- tool_call_id: z.ZodString;
91
- kind: z.ZodLiteral<"form">;
92
- requested_responder_type: z.ZodLiteral<"human">;
93
- title: z.ZodString;
94
- description: z.ZodOptional<z.ZodString>;
95
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
96
- name: z.ZodString;
97
- label: z.ZodString;
98
- description: z.ZodOptional<z.ZodString>;
99
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
100
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
101
- type: z.ZodEnum<{
102
- number: "number";
103
- password: "password";
104
- url: "url";
105
- text: "text";
106
- email: "email";
107
- }>;
108
- placeholder: z.ZodOptional<z.ZodString>;
109
- defaultValue: z.ZodOptional<z.ZodString>;
110
- pattern: z.ZodOptional<z.ZodString>;
111
- minLength: z.ZodOptional<z.ZodNumber>;
112
- maxLength: z.ZodOptional<z.ZodNumber>;
113
- min: z.ZodOptional<z.ZodNumber>;
114
- max: z.ZodOptional<z.ZodNumber>;
115
- }, z.core.$strip>, z.ZodObject<{
116
- name: z.ZodString;
117
- label: z.ZodString;
118
- description: z.ZodOptional<z.ZodString>;
119
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
120
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
121
- type: z.ZodLiteral<"textarea">;
122
- placeholder: z.ZodOptional<z.ZodString>;
123
- defaultValue: z.ZodOptional<z.ZodString>;
124
- minLength: z.ZodOptional<z.ZodNumber>;
125
- maxLength: z.ZodOptional<z.ZodNumber>;
126
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
127
- }, z.core.$strip>, z.ZodObject<{
128
- name: z.ZodString;
129
- label: z.ZodString;
130
- description: z.ZodOptional<z.ZodString>;
131
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
132
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
133
- type: z.ZodLiteral<"select">;
134
- options: z.ZodArray<z.ZodObject<{
135
- value: z.ZodString;
136
- label: z.ZodString;
137
- description: z.ZodOptional<z.ZodString>;
138
- recommended: z.ZodOptional<z.ZodBoolean>;
139
- }, z.core.$strip>>;
140
- defaultValue: z.ZodOptional<z.ZodString>;
141
- placeholder: z.ZodOptional<z.ZodString>;
142
- }, z.core.$strip>, z.ZodObject<{
143
- name: z.ZodString;
144
- label: z.ZodString;
145
- description: z.ZodOptional<z.ZodString>;
146
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
147
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
148
- type: z.ZodLiteral<"checkbox">;
149
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
150
- }, z.core.$strip>, z.ZodObject<{
151
- name: z.ZodString;
152
- label: z.ZodString;
153
- description: z.ZodOptional<z.ZodString>;
154
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
155
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
156
- type: z.ZodLiteral<"radio">;
157
- options: z.ZodArray<z.ZodObject<{
158
- value: z.ZodString;
159
- label: z.ZodString;
160
- description: z.ZodOptional<z.ZodString>;
161
- recommended: z.ZodOptional<z.ZodBoolean>;
162
- }, z.core.$strip>>;
163
- defaultValue: z.ZodOptional<z.ZodString>;
164
- }, z.core.$strip>, z.ZodObject<{
165
- name: z.ZodString;
166
- label: z.ZodString;
167
- description: z.ZodOptional<z.ZodString>;
168
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
169
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
170
- type: z.ZodLiteral<"confirm">;
171
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
172
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
173
- }, z.core.$strip>], "type">>;
174
- expires_at: z.ZodString;
175
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
176
- }, z.core.$strip>;
177
- export declare const inputResponseRestSchema: z.ZodPipe<z.ZodObject<{
178
- id: z.ZodString;
179
- input_request_id: z.ZodString;
180
- conversation_id: z.ZodString;
181
- run_id: z.ZodString;
182
- actor_type: z.ZodString;
183
- actor_id: z.ZodString;
184
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
185
- created_at: z.ZodString;
186
- }, z.core.$loose>, z.ZodTransform<{
3
+ export declare const getFormInputToolInputSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
4
+ title: import("../internal-agents/schema.js").Schema<string>;
5
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
6
+ fields: import("../internal-agents/schema.js").Schema<(import("../extensions/schema/schema-validator.js").InferShape<{
7
+ type: import("../internal-agents/schema.js").Schema<"number" | "password" | "text" | "url" | "email">;
8
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
9
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
10
+ pattern: import("../internal-agents/schema.js").Schema<string | undefined>;
11
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
12
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
13
+ min: import("../internal-agents/schema.js").Schema<number | undefined>;
14
+ max: import("../internal-agents/schema.js").Schema<number | undefined>;
15
+ name: import("../internal-agents/schema.js").Schema<string>;
16
+ label: import("../internal-agents/schema.js").Schema<string>;
17
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
18
+ required: import("../internal-agents/schema.js").Schema<boolean>;
19
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
20
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
21
+ type: import("../internal-agents/schema.js").Schema<"textarea">;
22
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
23
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
24
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
25
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
26
+ rows: import("../internal-agents/schema.js").Schema<number>;
27
+ name: import("../internal-agents/schema.js").Schema<string>;
28
+ label: import("../internal-agents/schema.js").Schema<string>;
29
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
30
+ required: import("../internal-agents/schema.js").Schema<boolean>;
31
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
32
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
33
+ type: import("../internal-agents/schema.js").Schema<"select">;
34
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
35
+ value: import("../internal-agents/schema.js").Schema<string>;
36
+ label: import("../internal-agents/schema.js").Schema<string>;
37
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
38
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
39
+ }>[]>;
40
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
41
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
42
+ name: import("../internal-agents/schema.js").Schema<string>;
43
+ label: import("../internal-agents/schema.js").Schema<string>;
44
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
45
+ required: import("../internal-agents/schema.js").Schema<boolean>;
46
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
47
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
48
+ type: import("../internal-agents/schema.js").Schema<"checkbox">;
49
+ defaultValue: import("../internal-agents/schema.js").Schema<boolean>;
50
+ name: import("../internal-agents/schema.js").Schema<string>;
51
+ label: import("../internal-agents/schema.js").Schema<string>;
52
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
53
+ required: import("../internal-agents/schema.js").Schema<boolean>;
54
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
55
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
56
+ type: import("../internal-agents/schema.js").Schema<"radio">;
57
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
58
+ value: import("../internal-agents/schema.js").Schema<string>;
59
+ label: import("../internal-agents/schema.js").Schema<string>;
60
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
61
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
62
+ }>[]>;
63
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
64
+ name: import("../internal-agents/schema.js").Schema<string>;
65
+ label: import("../internal-agents/schema.js").Schema<string>;
66
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
67
+ required: import("../internal-agents/schema.js").Schema<boolean>;
68
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
69
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
70
+ type: import("../internal-agents/schema.js").Schema<"confirm">;
71
+ confirmLabel: import("../internal-agents/schema.js").Schema<string>;
72
+ denyLabel: import("../internal-agents/schema.js").Schema<string>;
73
+ name: import("../internal-agents/schema.js").Schema<string>;
74
+ label: import("../internal-agents/schema.js").Schema<string>;
75
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
76
+ required: import("../internal-agents/schema.js").Schema<boolean>;
77
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
78
+ }>)[]>;
79
+ submitLabel: import("../internal-agents/schema.js").Schema<string>;
80
+ }>>;
81
+ export declare const getInputResponseValuesSchema: () => import("../internal-agents/schema.js").Schema<Record<string, string | number | boolean | null>>;
82
+ export declare const getCreateInputRequestRequestSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
83
+ run_id: import("../internal-agents/schema.js").Schema<string>;
84
+ tool_call_id: import("../internal-agents/schema.js").Schema<string>;
85
+ kind: import("../internal-agents/schema.js").Schema<"form">;
86
+ requested_responder_type: import("../internal-agents/schema.js").Schema<"human">;
87
+ title: import("../internal-agents/schema.js").Schema<string>;
88
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
89
+ fields: import("../internal-agents/schema.js").Schema<(import("../extensions/schema/schema-validator.js").InferShape<{
90
+ type: import("../internal-agents/schema.js").Schema<"number" | "password" | "text" | "url" | "email">;
91
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
92
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
93
+ pattern: import("../internal-agents/schema.js").Schema<string | undefined>;
94
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
95
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
96
+ min: import("../internal-agents/schema.js").Schema<number | undefined>;
97
+ max: import("../internal-agents/schema.js").Schema<number | undefined>;
98
+ name: import("../internal-agents/schema.js").Schema<string>;
99
+ label: import("../internal-agents/schema.js").Schema<string>;
100
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
101
+ required: import("../internal-agents/schema.js").Schema<boolean>;
102
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
103
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
104
+ type: import("../internal-agents/schema.js").Schema<"textarea">;
105
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
106
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
107
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
108
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
109
+ rows: import("../internal-agents/schema.js").Schema<number>;
110
+ name: import("../internal-agents/schema.js").Schema<string>;
111
+ label: import("../internal-agents/schema.js").Schema<string>;
112
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
113
+ required: import("../internal-agents/schema.js").Schema<boolean>;
114
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
115
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
116
+ type: import("../internal-agents/schema.js").Schema<"select">;
117
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
118
+ value: import("../internal-agents/schema.js").Schema<string>;
119
+ label: import("../internal-agents/schema.js").Schema<string>;
120
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
121
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
122
+ }>[]>;
123
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
124
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
125
+ name: import("../internal-agents/schema.js").Schema<string>;
126
+ label: import("../internal-agents/schema.js").Schema<string>;
127
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
128
+ required: import("../internal-agents/schema.js").Schema<boolean>;
129
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
130
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
131
+ type: import("../internal-agents/schema.js").Schema<"checkbox">;
132
+ defaultValue: import("../internal-agents/schema.js").Schema<boolean>;
133
+ name: import("../internal-agents/schema.js").Schema<string>;
134
+ label: import("../internal-agents/schema.js").Schema<string>;
135
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
136
+ required: import("../internal-agents/schema.js").Schema<boolean>;
137
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
138
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
139
+ type: import("../internal-agents/schema.js").Schema<"radio">;
140
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
141
+ value: import("../internal-agents/schema.js").Schema<string>;
142
+ label: import("../internal-agents/schema.js").Schema<string>;
143
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
144
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
145
+ }>[]>;
146
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
147
+ name: import("../internal-agents/schema.js").Schema<string>;
148
+ label: import("../internal-agents/schema.js").Schema<string>;
149
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
150
+ required: import("../internal-agents/schema.js").Schema<boolean>;
151
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
152
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
153
+ type: import("../internal-agents/schema.js").Schema<"confirm">;
154
+ confirmLabel: import("../internal-agents/schema.js").Schema<string>;
155
+ denyLabel: import("../internal-agents/schema.js").Schema<string>;
156
+ name: import("../internal-agents/schema.js").Schema<string>;
157
+ label: import("../internal-agents/schema.js").Schema<string>;
158
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
159
+ required: import("../internal-agents/schema.js").Schema<boolean>;
160
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
161
+ }>)[]>;
162
+ expires_at: import("../internal-agents/schema.js").Schema<string>;
163
+ metadata: import("../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
164
+ }>>;
165
+ export interface InputResponseRestOutput {
187
166
  id: string;
188
167
  inputRequestId: string;
189
168
  conversationId: string;
@@ -192,570 +171,19 @@ export declare const inputResponseRestSchema: z.ZodPipe<z.ZodObject<{
192
171
  actorId: string;
193
172
  values: Record<string, string | number | boolean | null>;
194
173
  createdAt: string;
195
- }, {
196
- [x: string]: unknown;
197
- id: string;
198
- input_request_id: string;
199
- conversation_id: string;
200
- run_id: string;
201
- actor_type: string;
202
- actor_id: string;
203
- values: Record<string, string | number | boolean | null>;
204
- created_at: string;
205
- }>>;
206
- export declare const inputRequestRestSchema: z.ZodPipe<z.ZodObject<{
207
- id: z.ZodString;
208
- conversation_id: z.ZodString;
209
- run_id: z.ZodString;
210
- tool_call_id: z.ZodString;
211
- kind: z.ZodLiteral<"form">;
212
- status: z.ZodEnum<{
213
- open: "open";
214
- expired: "expired";
215
- cancelled: "cancelled";
216
- submitted: "submitted";
217
- }>;
218
- requested_responder_type: z.ZodEnum<{
219
- agent: "agent";
220
- system: "system";
221
- human: "human";
222
- }>;
223
- title: z.ZodString;
224
- description: z.ZodNullable<z.ZodString>;
225
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
226
- name: z.ZodString;
227
- label: z.ZodString;
228
- description: z.ZodOptional<z.ZodString>;
229
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
230
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
231
- type: z.ZodEnum<{
232
- number: "number";
233
- password: "password";
234
- url: "url";
235
- text: "text";
236
- email: "email";
237
- }>;
238
- placeholder: z.ZodOptional<z.ZodString>;
239
- defaultValue: z.ZodOptional<z.ZodString>;
240
- pattern: z.ZodOptional<z.ZodString>;
241
- minLength: z.ZodOptional<z.ZodNumber>;
242
- maxLength: z.ZodOptional<z.ZodNumber>;
243
- min: z.ZodOptional<z.ZodNumber>;
244
- max: z.ZodOptional<z.ZodNumber>;
245
- }, z.core.$strip>, z.ZodObject<{
246
- name: z.ZodString;
247
- label: z.ZodString;
248
- description: z.ZodOptional<z.ZodString>;
249
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
250
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
251
- type: z.ZodLiteral<"textarea">;
252
- placeholder: z.ZodOptional<z.ZodString>;
253
- defaultValue: z.ZodOptional<z.ZodString>;
254
- minLength: z.ZodOptional<z.ZodNumber>;
255
- maxLength: z.ZodOptional<z.ZodNumber>;
256
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
257
- }, z.core.$strip>, z.ZodObject<{
258
- name: z.ZodString;
259
- label: z.ZodString;
260
- description: z.ZodOptional<z.ZodString>;
261
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
262
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
263
- type: z.ZodLiteral<"select">;
264
- options: z.ZodArray<z.ZodObject<{
265
- value: z.ZodString;
266
- label: z.ZodString;
267
- description: z.ZodOptional<z.ZodString>;
268
- recommended: z.ZodOptional<z.ZodBoolean>;
269
- }, z.core.$strip>>;
270
- defaultValue: z.ZodOptional<z.ZodString>;
271
- placeholder: z.ZodOptional<z.ZodString>;
272
- }, z.core.$strip>, z.ZodObject<{
273
- name: z.ZodString;
274
- label: z.ZodString;
275
- description: z.ZodOptional<z.ZodString>;
276
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
277
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
278
- type: z.ZodLiteral<"checkbox">;
279
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
280
- }, z.core.$strip>, z.ZodObject<{
281
- name: z.ZodString;
282
- label: z.ZodString;
283
- description: z.ZodOptional<z.ZodString>;
284
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
285
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
286
- type: z.ZodLiteral<"radio">;
287
- options: z.ZodArray<z.ZodObject<{
288
- value: z.ZodString;
289
- label: z.ZodString;
290
- description: z.ZodOptional<z.ZodString>;
291
- recommended: z.ZodOptional<z.ZodBoolean>;
292
- }, z.core.$strip>>;
293
- defaultValue: z.ZodOptional<z.ZodString>;
294
- }, z.core.$strip>, z.ZodObject<{
295
- name: z.ZodString;
296
- label: z.ZodString;
297
- description: z.ZodOptional<z.ZodString>;
298
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
299
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
300
- type: z.ZodLiteral<"confirm">;
301
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
302
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
303
- }, z.core.$strip>], "type">>;
304
- recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
305
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
306
- created_at: z.ZodString;
307
- expires_at: z.ZodNullable<z.ZodString>;
308
- submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
- cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
- expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
- latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
312
- id: z.ZodString;
313
- input_request_id: z.ZodString;
314
- conversation_id: z.ZodString;
315
- run_id: z.ZodString;
316
- actor_type: z.ZodString;
317
- actor_id: z.ZodString;
318
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
319
- created_at: z.ZodString;
320
- }, z.core.$loose>, z.ZodTransform<{
321
- id: string;
322
- inputRequestId: string;
323
- conversationId: string;
324
- runId: string;
325
- actorType: string;
326
- actorId: string;
327
- values: Record<string, string | number | boolean | null>;
328
- createdAt: string;
329
- }, {
330
- [x: string]: unknown;
331
- id: string;
332
- input_request_id: string;
333
- conversation_id: string;
334
- run_id: string;
335
- actor_type: string;
336
- actor_id: string;
337
- values: Record<string, string | number | boolean | null>;
338
- created_at: string;
339
- }>>>>;
340
- }, z.core.$loose>, z.ZodTransform<{
341
- id: string;
342
- conversationId: string;
343
- runId: string;
344
- toolCallId: string;
345
- kind: "form";
346
- status: "open" | "expired" | "cancelled" | "submitted";
347
- requestedResponderType: "agent" | "system" | "human";
348
- title: string;
349
- description: string | null;
350
- fields: ({
351
- name: string;
352
- label: string;
353
- required: boolean;
354
- secret: boolean;
355
- type: "number" | "password" | "url" | "text" | "email";
356
- description?: string | undefined;
357
- placeholder?: string | undefined;
358
- defaultValue?: string | undefined;
359
- pattern?: string | undefined;
360
- minLength?: number | undefined;
361
- maxLength?: number | undefined;
362
- min?: number | undefined;
363
- max?: number | undefined;
364
- } | {
365
- name: string;
366
- label: string;
367
- required: boolean;
368
- secret: boolean;
369
- type: "textarea";
370
- rows: number;
371
- description?: string | undefined;
372
- placeholder?: string | undefined;
373
- defaultValue?: string | undefined;
374
- minLength?: number | undefined;
375
- maxLength?: number | undefined;
376
- } | {
377
- name: string;
378
- label: string;
379
- required: boolean;
380
- secret: boolean;
381
- type: "select";
382
- options: {
383
- value: string;
384
- label: string;
385
- description?: string | undefined;
386
- recommended?: boolean | undefined;
387
- }[];
388
- description?: string | undefined;
389
- defaultValue?: string | undefined;
390
- placeholder?: string | undefined;
391
- } | {
392
- name: string;
393
- label: string;
394
- required: boolean;
395
- secret: boolean;
396
- type: "checkbox";
397
- defaultValue: boolean;
398
- description?: string | undefined;
399
- } | {
400
- name: string;
401
- label: string;
402
- required: boolean;
403
- secret: boolean;
404
- type: "radio";
405
- options: {
406
- value: string;
407
- label: string;
408
- description?: string | undefined;
409
- recommended?: boolean | undefined;
410
- }[];
411
- description?: string | undefined;
412
- defaultValue?: string | undefined;
413
- } | {
414
- name: string;
415
- label: string;
416
- required: boolean;
417
- secret: boolean;
418
- type: "confirm";
419
- confirmLabel: string;
420
- denyLabel: string;
421
- description?: string | undefined;
422
- })[];
423
- recommendations: Record<string, unknown> | null;
424
- metadata: Record<string, unknown> | null;
425
- createdAt: string;
426
- expiresAt: string | null;
427
- submittedAt: string | null;
428
- cancelledAt: string | null;
429
- expiredAt: string | null;
430
- latestResponse: {
431
- id: string;
432
- inputRequestId: string;
433
- conversationId: string;
434
- runId: string;
435
- actorType: string;
436
- actorId: string;
437
- values: Record<string, string | number | boolean | null>;
438
- createdAt: string;
439
- } | null;
440
- }, {
441
- [x: string]: unknown;
442
- id: string;
443
- conversation_id: string;
444
- run_id: string;
445
- tool_call_id: string;
446
- kind: "form";
447
- status: "open" | "expired" | "cancelled" | "submitted";
448
- requested_responder_type: "agent" | "system" | "human";
449
- title: string;
450
- description: string | null;
451
- fields: ({
452
- name: string;
453
- label: string;
454
- required: boolean;
455
- secret: boolean;
456
- type: "number" | "password" | "url" | "text" | "email";
457
- description?: string | undefined;
458
- placeholder?: string | undefined;
459
- defaultValue?: string | undefined;
460
- pattern?: string | undefined;
461
- minLength?: number | undefined;
462
- maxLength?: number | undefined;
463
- min?: number | undefined;
464
- max?: number | undefined;
465
- } | {
466
- name: string;
467
- label: string;
468
- required: boolean;
469
- secret: boolean;
470
- type: "textarea";
471
- rows: number;
472
- description?: string | undefined;
473
- placeholder?: string | undefined;
474
- defaultValue?: string | undefined;
475
- minLength?: number | undefined;
476
- maxLength?: number | undefined;
477
- } | {
478
- name: string;
479
- label: string;
480
- required: boolean;
481
- secret: boolean;
482
- type: "select";
483
- options: {
484
- value: string;
485
- label: string;
486
- description?: string | undefined;
487
- recommended?: boolean | undefined;
488
- }[];
489
- description?: string | undefined;
490
- defaultValue?: string | undefined;
491
- placeholder?: string | undefined;
492
- } | {
493
- name: string;
494
- label: string;
495
- required: boolean;
496
- secret: boolean;
497
- type: "checkbox";
498
- defaultValue: boolean;
499
- description?: string | undefined;
500
- } | {
501
- name: string;
502
- label: string;
503
- required: boolean;
504
- secret: boolean;
505
- type: "radio";
506
- options: {
507
- value: string;
508
- label: string;
509
- description?: string | undefined;
510
- recommended?: boolean | undefined;
511
- }[];
512
- description?: string | undefined;
513
- defaultValue?: string | undefined;
514
- } | {
515
- name: string;
516
- label: string;
517
- required: boolean;
518
- secret: boolean;
519
- type: "confirm";
520
- confirmLabel: string;
521
- denyLabel: string;
522
- description?: string | undefined;
523
- })[];
524
- created_at: string;
525
- expires_at: string | null;
526
- recommendations?: Record<string, unknown> | null | undefined;
527
- metadata?: Record<string, unknown> | null | undefined;
528
- submitted_at?: string | null | undefined;
529
- cancelled_at?: string | null | undefined;
530
- expired_at?: string | null | undefined;
531
- latest_response?: {
532
- id: string;
533
- inputRequestId: string;
534
- conversationId: string;
535
- runId: string;
536
- actorType: string;
537
- actorId: string;
538
- values: Record<string, string | number | boolean | null>;
539
- createdAt: string;
540
- } | null | undefined;
541
- }>>;
542
- export declare const createInputRequestResponseSchema: z.ZodPipe<z.ZodObject<{
543
- id: z.ZodString;
544
- conversation_id: z.ZodString;
545
- run_id: z.ZodString;
546
- tool_call_id: z.ZodString;
547
- kind: z.ZodLiteral<"form">;
548
- status: z.ZodEnum<{
549
- open: "open";
550
- expired: "expired";
551
- cancelled: "cancelled";
552
- submitted: "submitted";
553
- }>;
554
- requested_responder_type: z.ZodEnum<{
555
- agent: "agent";
556
- system: "system";
557
- human: "human";
558
- }>;
559
- title: z.ZodString;
560
- description: z.ZodNullable<z.ZodString>;
561
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
562
- name: z.ZodString;
563
- label: z.ZodString;
564
- description: z.ZodOptional<z.ZodString>;
565
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
566
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
567
- type: z.ZodEnum<{
568
- number: "number";
569
- password: "password";
570
- url: "url";
571
- text: "text";
572
- email: "email";
573
- }>;
574
- placeholder: z.ZodOptional<z.ZodString>;
575
- defaultValue: z.ZodOptional<z.ZodString>;
576
- pattern: z.ZodOptional<z.ZodString>;
577
- minLength: z.ZodOptional<z.ZodNumber>;
578
- maxLength: z.ZodOptional<z.ZodNumber>;
579
- min: z.ZodOptional<z.ZodNumber>;
580
- max: z.ZodOptional<z.ZodNumber>;
581
- }, z.core.$strip>, z.ZodObject<{
582
- name: z.ZodString;
583
- label: z.ZodString;
584
- description: z.ZodOptional<z.ZodString>;
585
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
586
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
587
- type: z.ZodLiteral<"textarea">;
588
- placeholder: z.ZodOptional<z.ZodString>;
589
- defaultValue: z.ZodOptional<z.ZodString>;
590
- minLength: z.ZodOptional<z.ZodNumber>;
591
- maxLength: z.ZodOptional<z.ZodNumber>;
592
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
593
- }, z.core.$strip>, z.ZodObject<{
594
- name: z.ZodString;
595
- label: z.ZodString;
596
- description: z.ZodOptional<z.ZodString>;
597
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
598
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
599
- type: z.ZodLiteral<"select">;
600
- options: z.ZodArray<z.ZodObject<{
601
- value: z.ZodString;
602
- label: z.ZodString;
603
- description: z.ZodOptional<z.ZodString>;
604
- recommended: z.ZodOptional<z.ZodBoolean>;
605
- }, z.core.$strip>>;
606
- defaultValue: z.ZodOptional<z.ZodString>;
607
- placeholder: z.ZodOptional<z.ZodString>;
608
- }, z.core.$strip>, z.ZodObject<{
609
- name: z.ZodString;
610
- label: z.ZodString;
611
- description: z.ZodOptional<z.ZodString>;
612
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
613
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
614
- type: z.ZodLiteral<"checkbox">;
615
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
616
- }, z.core.$strip>, z.ZodObject<{
617
- name: z.ZodString;
618
- label: z.ZodString;
619
- description: z.ZodOptional<z.ZodString>;
620
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
621
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
622
- type: z.ZodLiteral<"radio">;
623
- options: z.ZodArray<z.ZodObject<{
624
- value: z.ZodString;
625
- label: z.ZodString;
626
- description: z.ZodOptional<z.ZodString>;
627
- recommended: z.ZodOptional<z.ZodBoolean>;
628
- }, z.core.$strip>>;
629
- defaultValue: z.ZodOptional<z.ZodString>;
630
- }, z.core.$strip>, z.ZodObject<{
631
- name: z.ZodString;
632
- label: z.ZodString;
633
- description: z.ZodOptional<z.ZodString>;
634
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
635
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
636
- type: z.ZodLiteral<"confirm">;
637
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
638
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
639
- }, z.core.$strip>], "type">>;
640
- recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
641
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
642
- created_at: z.ZodString;
643
- expires_at: z.ZodNullable<z.ZodString>;
644
- submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
- cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
- expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
- latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
648
- id: z.ZodString;
649
- input_request_id: z.ZodString;
650
- conversation_id: z.ZodString;
651
- run_id: z.ZodString;
652
- actor_type: z.ZodString;
653
- actor_id: z.ZodString;
654
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
655
- created_at: z.ZodString;
656
- }, z.core.$loose>, z.ZodTransform<{
657
- id: string;
658
- inputRequestId: string;
659
- conversationId: string;
660
- runId: string;
661
- actorType: string;
662
- actorId: string;
663
- values: Record<string, string | number | boolean | null>;
664
- createdAt: string;
665
- }, {
666
- [x: string]: unknown;
667
- id: string;
668
- input_request_id: string;
669
- conversation_id: string;
670
- run_id: string;
671
- actor_type: string;
672
- actor_id: string;
673
- values: Record<string, string | number | boolean | null>;
674
- created_at: string;
675
- }>>>>;
676
- }, z.core.$loose>, z.ZodTransform<{
174
+ }
175
+ export declare const getInputResponseRestSchema: () => import("../internal-agents/schema.js").Schema<InputResponseRestOutput>;
176
+ export interface InputRequestRestOutput {
677
177
  id: string;
678
178
  conversationId: string;
679
179
  runId: string;
680
180
  toolCallId: string;
681
181
  kind: "form";
682
- status: "open" | "expired" | "cancelled" | "submitted";
683
- requestedResponderType: "agent" | "system" | "human";
182
+ status: "open" | "submitted" | "cancelled" | "expired";
183
+ requestedResponderType: "human" | "agent" | "system";
684
184
  title: string;
685
185
  description: string | null;
686
- fields: ({
687
- name: string;
688
- label: string;
689
- required: boolean;
690
- secret: boolean;
691
- type: "number" | "password" | "url" | "text" | "email";
692
- description?: string | undefined;
693
- placeholder?: string | undefined;
694
- defaultValue?: string | undefined;
695
- pattern?: string | undefined;
696
- minLength?: number | undefined;
697
- maxLength?: number | undefined;
698
- min?: number | undefined;
699
- max?: number | undefined;
700
- } | {
701
- name: string;
702
- label: string;
703
- required: boolean;
704
- secret: boolean;
705
- type: "textarea";
706
- rows: number;
707
- description?: string | undefined;
708
- placeholder?: string | undefined;
709
- defaultValue?: string | undefined;
710
- minLength?: number | undefined;
711
- maxLength?: number | undefined;
712
- } | {
713
- name: string;
714
- label: string;
715
- required: boolean;
716
- secret: boolean;
717
- type: "select";
718
- options: {
719
- value: string;
720
- label: string;
721
- description?: string | undefined;
722
- recommended?: boolean | undefined;
723
- }[];
724
- description?: string | undefined;
725
- defaultValue?: string | undefined;
726
- placeholder?: string | undefined;
727
- } | {
728
- name: string;
729
- label: string;
730
- required: boolean;
731
- secret: boolean;
732
- type: "checkbox";
733
- defaultValue: boolean;
734
- description?: string | undefined;
735
- } | {
736
- name: string;
737
- label: string;
738
- required: boolean;
739
- secret: boolean;
740
- type: "radio";
741
- options: {
742
- value: string;
743
- label: string;
744
- description?: string | undefined;
745
- recommended?: boolean | undefined;
746
- }[];
747
- description?: string | undefined;
748
- defaultValue?: string | undefined;
749
- } | {
750
- name: string;
751
- label: string;
752
- required: boolean;
753
- secret: boolean;
754
- type: "confirm";
755
- confirmLabel: string;
756
- denyLabel: string;
757
- description?: string | undefined;
758
- })[];
186
+ fields: unknown[];
759
187
  recommendations: Record<string, unknown> | null;
760
188
  metadata: Record<string, unknown> | null;
761
189
  createdAt: string;
@@ -763,877 +191,299 @@ export declare const createInputRequestResponseSchema: z.ZodPipe<z.ZodObject<{
763
191
  submittedAt: string | null;
764
192
  cancelledAt: string | null;
765
193
  expiredAt: string | null;
766
- latestResponse: {
767
- id: string;
768
- inputRequestId: string;
769
- conversationId: string;
770
- runId: string;
771
- actorType: string;
772
- actorId: string;
773
- values: Record<string, string | number | boolean | null>;
774
- createdAt: string;
775
- } | null;
776
- }, {
777
- [x: string]: unknown;
778
- id: string;
779
- conversation_id: string;
780
- run_id: string;
781
- tool_call_id: string;
782
- kind: "form";
783
- status: "open" | "expired" | "cancelled" | "submitted";
784
- requested_responder_type: "agent" | "system" | "human";
785
- title: string;
786
- description: string | null;
787
- fields: ({
788
- name: string;
789
- label: string;
790
- required: boolean;
791
- secret: boolean;
792
- type: "number" | "password" | "url" | "text" | "email";
793
- description?: string | undefined;
794
- placeholder?: string | undefined;
795
- defaultValue?: string | undefined;
796
- pattern?: string | undefined;
797
- minLength?: number | undefined;
798
- maxLength?: number | undefined;
799
- min?: number | undefined;
800
- max?: number | undefined;
801
- } | {
802
- name: string;
803
- label: string;
804
- required: boolean;
805
- secret: boolean;
806
- type: "textarea";
807
- rows: number;
808
- description?: string | undefined;
809
- placeholder?: string | undefined;
810
- defaultValue?: string | undefined;
811
- minLength?: number | undefined;
812
- maxLength?: number | undefined;
813
- } | {
814
- name: string;
815
- label: string;
816
- required: boolean;
817
- secret: boolean;
818
- type: "select";
819
- options: {
820
- value: string;
821
- label: string;
822
- description?: string | undefined;
823
- recommended?: boolean | undefined;
824
- }[];
825
- description?: string | undefined;
826
- defaultValue?: string | undefined;
827
- placeholder?: string | undefined;
828
- } | {
829
- name: string;
830
- label: string;
831
- required: boolean;
832
- secret: boolean;
833
- type: "checkbox";
834
- defaultValue: boolean;
835
- description?: string | undefined;
836
- } | {
837
- name: string;
838
- label: string;
839
- required: boolean;
840
- secret: boolean;
841
- type: "radio";
842
- options: {
843
- value: string;
844
- label: string;
845
- description?: string | undefined;
846
- recommended?: boolean | undefined;
847
- }[];
848
- description?: string | undefined;
849
- defaultValue?: string | undefined;
850
- } | {
851
- name: string;
852
- label: string;
853
- required: boolean;
854
- secret: boolean;
855
- type: "confirm";
856
- confirmLabel: string;
857
- denyLabel: string;
858
- description?: string | undefined;
859
- })[];
860
- created_at: string;
861
- expires_at: string | null;
862
- recommendations?: Record<string, unknown> | null | undefined;
863
- metadata?: Record<string, unknown> | null | undefined;
864
- submitted_at?: string | null | undefined;
865
- cancelled_at?: string | null | undefined;
866
- expired_at?: string | null | undefined;
867
- latest_response?: {
868
- id: string;
869
- inputRequestId: string;
870
- conversationId: string;
871
- runId: string;
872
- actorType: string;
873
- actorId: string;
874
- values: Record<string, string | number | boolean | null>;
875
- createdAt: string;
876
- } | null | undefined;
194
+ latestResponse: InputResponseRestOutput | null;
195
+ }
196
+ export declare const getInputRequestRestSchema: () => import("../internal-agents/schema.js").Schema<InputRequestRestOutput>;
197
+ export declare const getCreateInputRequestResponseSchema: () => import("../internal-agents/schema.js").Schema<InputRequestRestOutput>;
198
+ export declare const getGetInputRequestResponseSchema: () => import("../internal-agents/schema.js").Schema<InputRequestRestOutput>;
199
+ export declare const getInputRequestOutputSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
200
+ id: import("../internal-agents/schema.js").Schema<string>;
201
+ conversationId: import("../internal-agents/schema.js").Schema<string>;
202
+ runId: import("../internal-agents/schema.js").Schema<string>;
203
+ toolCallId: import("../internal-agents/schema.js").Schema<string>;
204
+ kind: import("../internal-agents/schema.js").Schema<"form">;
205
+ status: import("../internal-agents/schema.js").Schema<"open" | "expired" | "cancelled" | "submitted">;
206
+ requestedResponderType: import("../internal-agents/schema.js").Schema<"agent" | "system" | "human">;
207
+ title: import("../internal-agents/schema.js").Schema<string>;
208
+ description: import("../internal-agents/schema.js").Schema<string | null>;
209
+ fields: import("../internal-agents/schema.js").Schema<(import("../extensions/schema/schema-validator.js").InferShape<{
210
+ type: import("../internal-agents/schema.js").Schema<"number" | "password" | "text" | "url" | "email">;
211
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
212
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
213
+ pattern: import("../internal-agents/schema.js").Schema<string | undefined>;
214
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
215
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
216
+ min: import("../internal-agents/schema.js").Schema<number | undefined>;
217
+ max: import("../internal-agents/schema.js").Schema<number | undefined>;
218
+ name: import("../internal-agents/schema.js").Schema<string>;
219
+ label: import("../internal-agents/schema.js").Schema<string>;
220
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
221
+ required: import("../internal-agents/schema.js").Schema<boolean>;
222
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
223
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
224
+ type: import("../internal-agents/schema.js").Schema<"textarea">;
225
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
226
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
227
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
228
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
229
+ rows: import("../internal-agents/schema.js").Schema<number>;
230
+ name: import("../internal-agents/schema.js").Schema<string>;
231
+ label: import("../internal-agents/schema.js").Schema<string>;
232
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
233
+ required: import("../internal-agents/schema.js").Schema<boolean>;
234
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
235
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
236
+ type: import("../internal-agents/schema.js").Schema<"select">;
237
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
238
+ value: import("../internal-agents/schema.js").Schema<string>;
239
+ label: import("../internal-agents/schema.js").Schema<string>;
240
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
241
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
242
+ }>[]>;
243
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
244
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
245
+ name: import("../internal-agents/schema.js").Schema<string>;
246
+ label: import("../internal-agents/schema.js").Schema<string>;
247
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
248
+ required: import("../internal-agents/schema.js").Schema<boolean>;
249
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
250
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
251
+ type: import("../internal-agents/schema.js").Schema<"checkbox">;
252
+ defaultValue: import("../internal-agents/schema.js").Schema<boolean>;
253
+ name: import("../internal-agents/schema.js").Schema<string>;
254
+ label: import("../internal-agents/schema.js").Schema<string>;
255
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
256
+ required: import("../internal-agents/schema.js").Schema<boolean>;
257
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
258
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
259
+ type: import("../internal-agents/schema.js").Schema<"radio">;
260
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
261
+ value: import("../internal-agents/schema.js").Schema<string>;
262
+ label: import("../internal-agents/schema.js").Schema<string>;
263
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
264
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
265
+ }>[]>;
266
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
267
+ name: import("../internal-agents/schema.js").Schema<string>;
268
+ label: import("../internal-agents/schema.js").Schema<string>;
269
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
270
+ required: import("../internal-agents/schema.js").Schema<boolean>;
271
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
272
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
273
+ type: import("../internal-agents/schema.js").Schema<"confirm">;
274
+ confirmLabel: import("../internal-agents/schema.js").Schema<string>;
275
+ denyLabel: import("../internal-agents/schema.js").Schema<string>;
276
+ name: import("../internal-agents/schema.js").Schema<string>;
277
+ label: import("../internal-agents/schema.js").Schema<string>;
278
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
279
+ required: import("../internal-agents/schema.js").Schema<boolean>;
280
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
281
+ }>)[]>;
282
+ recommendations: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
283
+ metadata: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
284
+ createdAt: import("../internal-agents/schema.js").Schema<string>;
285
+ expiresAt: import("../internal-agents/schema.js").Schema<string | null>;
286
+ submittedAt: import("../internal-agents/schema.js").Schema<string | null>;
287
+ cancelledAt: import("../internal-agents/schema.js").Schema<string | null>;
288
+ expiredAt: import("../internal-agents/schema.js").Schema<string | null>;
289
+ latestResponse: import("../internal-agents/schema.js").Schema<InputResponseRestOutput | null>;
877
290
  }>>;
878
- export declare const getInputRequestResponseSchema: z.ZodPipe<z.ZodObject<{
879
- id: z.ZodString;
880
- conversation_id: z.ZodString;
881
- run_id: z.ZodString;
882
- tool_call_id: z.ZodString;
883
- kind: z.ZodLiteral<"form">;
884
- status: z.ZodEnum<{
885
- open: "open";
886
- expired: "expired";
887
- cancelled: "cancelled";
888
- submitted: "submitted";
889
- }>;
890
- requested_responder_type: z.ZodEnum<{
891
- agent: "agent";
892
- system: "system";
893
- human: "human";
894
- }>;
895
- title: z.ZodString;
896
- description: z.ZodNullable<z.ZodString>;
897
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
898
- name: z.ZodString;
899
- label: z.ZodString;
900
- description: z.ZodOptional<z.ZodString>;
901
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
902
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
903
- type: z.ZodEnum<{
904
- number: "number";
905
- password: "password";
906
- url: "url";
907
- text: "text";
908
- email: "email";
909
- }>;
910
- placeholder: z.ZodOptional<z.ZodString>;
911
- defaultValue: z.ZodOptional<z.ZodString>;
912
- pattern: z.ZodOptional<z.ZodString>;
913
- minLength: z.ZodOptional<z.ZodNumber>;
914
- maxLength: z.ZodOptional<z.ZodNumber>;
915
- min: z.ZodOptional<z.ZodNumber>;
916
- max: z.ZodOptional<z.ZodNumber>;
917
- }, z.core.$strip>, z.ZodObject<{
918
- name: z.ZodString;
919
- label: z.ZodString;
920
- description: z.ZodOptional<z.ZodString>;
921
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
922
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
923
- type: z.ZodLiteral<"textarea">;
924
- placeholder: z.ZodOptional<z.ZodString>;
925
- defaultValue: z.ZodOptional<z.ZodString>;
926
- minLength: z.ZodOptional<z.ZodNumber>;
927
- maxLength: z.ZodOptional<z.ZodNumber>;
928
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
929
- }, z.core.$strip>, z.ZodObject<{
930
- name: z.ZodString;
931
- label: z.ZodString;
932
- description: z.ZodOptional<z.ZodString>;
933
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
934
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
935
- type: z.ZodLiteral<"select">;
936
- options: z.ZodArray<z.ZodObject<{
937
- value: z.ZodString;
938
- label: z.ZodString;
939
- description: z.ZodOptional<z.ZodString>;
940
- recommended: z.ZodOptional<z.ZodBoolean>;
941
- }, z.core.$strip>>;
942
- defaultValue: z.ZodOptional<z.ZodString>;
943
- placeholder: z.ZodOptional<z.ZodString>;
944
- }, z.core.$strip>, z.ZodObject<{
945
- name: z.ZodString;
946
- label: z.ZodString;
947
- description: z.ZodOptional<z.ZodString>;
948
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
949
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
950
- type: z.ZodLiteral<"checkbox">;
951
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
952
- }, z.core.$strip>, z.ZodObject<{
953
- name: z.ZodString;
954
- label: z.ZodString;
955
- description: z.ZodOptional<z.ZodString>;
956
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
957
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
958
- type: z.ZodLiteral<"radio">;
959
- options: z.ZodArray<z.ZodObject<{
960
- value: z.ZodString;
961
- label: z.ZodString;
962
- description: z.ZodOptional<z.ZodString>;
963
- recommended: z.ZodOptional<z.ZodBoolean>;
964
- }, z.core.$strip>>;
965
- defaultValue: z.ZodOptional<z.ZodString>;
966
- }, z.core.$strip>, z.ZodObject<{
967
- name: z.ZodString;
968
- label: z.ZodString;
969
- description: z.ZodOptional<z.ZodString>;
970
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
971
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
972
- type: z.ZodLiteral<"confirm">;
973
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
974
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
975
- }, z.core.$strip>], "type">>;
976
- recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
977
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
978
- created_at: z.ZodString;
979
- expires_at: z.ZodNullable<z.ZodString>;
980
- submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
981
- cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
982
- expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
- latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
984
- id: z.ZodString;
985
- input_request_id: z.ZodString;
986
- conversation_id: z.ZodString;
987
- run_id: z.ZodString;
988
- actor_type: z.ZodString;
989
- actor_id: z.ZodString;
990
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
991
- created_at: z.ZodString;
992
- }, z.core.$loose>, z.ZodTransform<{
993
- id: string;
994
- inputRequestId: string;
995
- conversationId: string;
996
- runId: string;
997
- actorType: string;
998
- actorId: string;
999
- values: Record<string, string | number | boolean | null>;
1000
- createdAt: string;
1001
- }, {
1002
- [x: string]: unknown;
1003
- id: string;
1004
- input_request_id: string;
1005
- conversation_id: string;
1006
- run_id: string;
1007
- actor_type: string;
1008
- actor_id: string;
1009
- values: Record<string, string | number | boolean | null>;
1010
- created_at: string;
1011
- }>>>>;
1012
- }, z.core.$loose>, z.ZodTransform<{
1013
- id: string;
1014
- conversationId: string;
1015
- runId: string;
1016
- toolCallId: string;
1017
- kind: "form";
1018
- status: "open" | "expired" | "cancelled" | "submitted";
1019
- requestedResponderType: "agent" | "system" | "human";
1020
- title: string;
1021
- description: string | null;
1022
- fields: ({
1023
- name: string;
1024
- label: string;
1025
- required: boolean;
1026
- secret: boolean;
1027
- type: "number" | "password" | "url" | "text" | "email";
1028
- description?: string | undefined;
1029
- placeholder?: string | undefined;
1030
- defaultValue?: string | undefined;
1031
- pattern?: string | undefined;
1032
- minLength?: number | undefined;
1033
- maxLength?: number | undefined;
1034
- min?: number | undefined;
1035
- max?: number | undefined;
1036
- } | {
1037
- name: string;
1038
- label: string;
1039
- required: boolean;
1040
- secret: boolean;
1041
- type: "textarea";
1042
- rows: number;
1043
- description?: string | undefined;
1044
- placeholder?: string | undefined;
1045
- defaultValue?: string | undefined;
1046
- minLength?: number | undefined;
1047
- maxLength?: number | undefined;
1048
- } | {
1049
- name: string;
1050
- label: string;
1051
- required: boolean;
1052
- secret: boolean;
1053
- type: "select";
1054
- options: {
1055
- value: string;
1056
- label: string;
1057
- description?: string | undefined;
1058
- recommended?: boolean | undefined;
1059
- }[];
1060
- description?: string | undefined;
1061
- defaultValue?: string | undefined;
1062
- placeholder?: string | undefined;
1063
- } | {
1064
- name: string;
1065
- label: string;
1066
- required: boolean;
1067
- secret: boolean;
1068
- type: "checkbox";
1069
- defaultValue: boolean;
1070
- description?: string | undefined;
1071
- } | {
1072
- name: string;
1073
- label: string;
1074
- required: boolean;
1075
- secret: boolean;
1076
- type: "radio";
1077
- options: {
1078
- value: string;
1079
- label: string;
1080
- description?: string | undefined;
1081
- recommended?: boolean | undefined;
1082
- }[];
1083
- description?: string | undefined;
1084
- defaultValue?: string | undefined;
1085
- } | {
1086
- name: string;
1087
- label: string;
1088
- required: boolean;
1089
- secret: boolean;
1090
- type: "confirm";
1091
- confirmLabel: string;
1092
- denyLabel: string;
1093
- description?: string | undefined;
1094
- })[];
1095
- recommendations: Record<string, unknown> | null;
1096
- metadata: Record<string, unknown> | null;
1097
- createdAt: string;
1098
- expiresAt: string | null;
1099
- submittedAt: string | null;
1100
- cancelledAt: string | null;
1101
- expiredAt: string | null;
1102
- latestResponse: {
1103
- id: string;
1104
- inputRequestId: string;
1105
- conversationId: string;
1106
- runId: string;
1107
- actorType: string;
1108
- actorId: string;
1109
- values: Record<string, string | number | boolean | null>;
1110
- createdAt: string;
1111
- } | null;
1112
- }, {
1113
- [x: string]: unknown;
1114
- id: string;
1115
- conversation_id: string;
1116
- run_id: string;
1117
- tool_call_id: string;
1118
- kind: "form";
1119
- status: "open" | "expired" | "cancelled" | "submitted";
1120
- requested_responder_type: "agent" | "system" | "human";
1121
- title: string;
1122
- description: string | null;
1123
- fields: ({
1124
- name: string;
1125
- label: string;
1126
- required: boolean;
1127
- secret: boolean;
1128
- type: "number" | "password" | "url" | "text" | "email";
1129
- description?: string | undefined;
1130
- placeholder?: string | undefined;
1131
- defaultValue?: string | undefined;
1132
- pattern?: string | undefined;
1133
- minLength?: number | undefined;
1134
- maxLength?: number | undefined;
1135
- min?: number | undefined;
1136
- max?: number | undefined;
1137
- } | {
1138
- name: string;
1139
- label: string;
1140
- required: boolean;
1141
- secret: boolean;
1142
- type: "textarea";
1143
- rows: number;
1144
- description?: string | undefined;
1145
- placeholder?: string | undefined;
1146
- defaultValue?: string | undefined;
1147
- minLength?: number | undefined;
1148
- maxLength?: number | undefined;
1149
- } | {
1150
- name: string;
1151
- label: string;
1152
- required: boolean;
1153
- secret: boolean;
1154
- type: "select";
1155
- options: {
1156
- value: string;
1157
- label: string;
1158
- description?: string | undefined;
1159
- recommended?: boolean | undefined;
1160
- }[];
1161
- description?: string | undefined;
1162
- defaultValue?: string | undefined;
1163
- placeholder?: string | undefined;
1164
- } | {
1165
- name: string;
1166
- label: string;
1167
- required: boolean;
1168
- secret: boolean;
1169
- type: "checkbox";
1170
- defaultValue: boolean;
1171
- description?: string | undefined;
1172
- } | {
1173
- name: string;
1174
- label: string;
1175
- required: boolean;
1176
- secret: boolean;
1177
- type: "radio";
1178
- options: {
1179
- value: string;
1180
- label: string;
1181
- description?: string | undefined;
1182
- recommended?: boolean | undefined;
1183
- }[];
1184
- description?: string | undefined;
1185
- defaultValue?: string | undefined;
1186
- } | {
1187
- name: string;
1188
- label: string;
1189
- required: boolean;
1190
- secret: boolean;
1191
- type: "confirm";
1192
- confirmLabel: string;
1193
- denyLabel: string;
1194
- description?: string | undefined;
1195
- })[];
1196
- created_at: string;
1197
- expires_at: string | null;
1198
- recommendations?: Record<string, unknown> | null | undefined;
1199
- metadata?: Record<string, unknown> | null | undefined;
1200
- submitted_at?: string | null | undefined;
1201
- cancelled_at?: string | null | undefined;
1202
- expired_at?: string | null | undefined;
1203
- latest_response?: {
1204
- id: string;
1205
- inputRequestId: string;
1206
- conversationId: string;
1207
- runId: string;
1208
- actorType: string;
1209
- actorId: string;
1210
- values: Record<string, string | number | boolean | null>;
1211
- createdAt: string;
1212
- } | null | undefined;
291
+ export declare const getInputRequestLifecycleDataEventSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
292
+ type: import("../internal-agents/schema.js").Schema<"veryfront.input_request.lifecycle">;
293
+ data: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
294
+ action: import("../internal-agents/schema.js").Schema<"created" | "updated">;
295
+ inputRequest: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
296
+ id: import("../internal-agents/schema.js").Schema<string>;
297
+ conversationId: import("../internal-agents/schema.js").Schema<string>;
298
+ runId: import("../internal-agents/schema.js").Schema<string>;
299
+ toolCallId: import("../internal-agents/schema.js").Schema<string>;
300
+ kind: import("../internal-agents/schema.js").Schema<"form">;
301
+ status: import("../internal-agents/schema.js").Schema<"open" | "expired" | "cancelled" | "submitted">;
302
+ requestedResponderType: import("../internal-agents/schema.js").Schema<"agent" | "system" | "human">;
303
+ title: import("../internal-agents/schema.js").Schema<string>;
304
+ description: import("../internal-agents/schema.js").Schema<string | null>;
305
+ fields: import("../internal-agents/schema.js").Schema<(import("../extensions/schema/schema-validator.js").InferShape<{
306
+ type: import("../internal-agents/schema.js").Schema<"number" | "password" | "text" | "url" | "email">;
307
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
308
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
309
+ pattern: import("../internal-agents/schema.js").Schema<string | undefined>;
310
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
311
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
312
+ min: import("../internal-agents/schema.js").Schema<number | undefined>;
313
+ max: import("../internal-agents/schema.js").Schema<number | undefined>;
314
+ name: import("../internal-agents/schema.js").Schema<string>;
315
+ label: import("../internal-agents/schema.js").Schema<string>;
316
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
317
+ required: import("../internal-agents/schema.js").Schema<boolean>;
318
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
319
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
320
+ type: import("../internal-agents/schema.js").Schema<"textarea">;
321
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
322
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
323
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
324
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
325
+ rows: import("../internal-agents/schema.js").Schema<number>;
326
+ name: import("../internal-agents/schema.js").Schema<string>;
327
+ label: import("../internal-agents/schema.js").Schema<string>;
328
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
329
+ required: import("../internal-agents/schema.js").Schema<boolean>;
330
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
331
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
332
+ type: import("../internal-agents/schema.js").Schema<"select">;
333
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
334
+ value: import("../internal-agents/schema.js").Schema<string>;
335
+ label: import("../internal-agents/schema.js").Schema<string>;
336
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
337
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
338
+ }>[]>;
339
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
340
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
341
+ name: import("../internal-agents/schema.js").Schema<string>;
342
+ label: import("../internal-agents/schema.js").Schema<string>;
343
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
344
+ required: import("../internal-agents/schema.js").Schema<boolean>;
345
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
346
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
347
+ type: import("../internal-agents/schema.js").Schema<"checkbox">;
348
+ defaultValue: import("../internal-agents/schema.js").Schema<boolean>;
349
+ name: import("../internal-agents/schema.js").Schema<string>;
350
+ label: import("../internal-agents/schema.js").Schema<string>;
351
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
352
+ required: import("../internal-agents/schema.js").Schema<boolean>;
353
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
354
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
355
+ type: import("../internal-agents/schema.js").Schema<"radio">;
356
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
357
+ value: import("../internal-agents/schema.js").Schema<string>;
358
+ label: import("../internal-agents/schema.js").Schema<string>;
359
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
360
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
361
+ }>[]>;
362
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
363
+ name: import("../internal-agents/schema.js").Schema<string>;
364
+ label: import("../internal-agents/schema.js").Schema<string>;
365
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
366
+ required: import("../internal-agents/schema.js").Schema<boolean>;
367
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
368
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
369
+ type: import("../internal-agents/schema.js").Schema<"confirm">;
370
+ confirmLabel: import("../internal-agents/schema.js").Schema<string>;
371
+ denyLabel: import("../internal-agents/schema.js").Schema<string>;
372
+ name: import("../internal-agents/schema.js").Schema<string>;
373
+ label: import("../internal-agents/schema.js").Schema<string>;
374
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
375
+ required: import("../internal-agents/schema.js").Schema<boolean>;
376
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
377
+ }>)[]>;
378
+ recommendations: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
379
+ metadata: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
380
+ createdAt: import("../internal-agents/schema.js").Schema<string>;
381
+ expiresAt: import("../internal-agents/schema.js").Schema<string | null>;
382
+ submittedAt: import("../internal-agents/schema.js").Schema<string | null>;
383
+ cancelledAt: import("../internal-agents/schema.js").Schema<string | null>;
384
+ expiredAt: import("../internal-agents/schema.js").Schema<string | null>;
385
+ latestResponse: import("../internal-agents/schema.js").Schema<InputResponseRestOutput | null>;
386
+ }>>;
387
+ }>>;
388
+ name: import("../internal-agents/schema.js").Schema<"veryfront.input_request.lifecycle">;
389
+ value: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
390
+ action: import("../internal-agents/schema.js").Schema<"created" | "updated">;
391
+ inputRequest: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
392
+ id: import("../internal-agents/schema.js").Schema<string>;
393
+ conversationId: import("../internal-agents/schema.js").Schema<string>;
394
+ runId: import("../internal-agents/schema.js").Schema<string>;
395
+ toolCallId: import("../internal-agents/schema.js").Schema<string>;
396
+ kind: import("../internal-agents/schema.js").Schema<"form">;
397
+ status: import("../internal-agents/schema.js").Schema<"open" | "expired" | "cancelled" | "submitted">;
398
+ requestedResponderType: import("../internal-agents/schema.js").Schema<"agent" | "system" | "human">;
399
+ title: import("../internal-agents/schema.js").Schema<string>;
400
+ description: import("../internal-agents/schema.js").Schema<string | null>;
401
+ fields: import("../internal-agents/schema.js").Schema<(import("../extensions/schema/schema-validator.js").InferShape<{
402
+ type: import("../internal-agents/schema.js").Schema<"number" | "password" | "text" | "url" | "email">;
403
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
404
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
405
+ pattern: import("../internal-agents/schema.js").Schema<string | undefined>;
406
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
407
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
408
+ min: import("../internal-agents/schema.js").Schema<number | undefined>;
409
+ max: import("../internal-agents/schema.js").Schema<number | undefined>;
410
+ name: import("../internal-agents/schema.js").Schema<string>;
411
+ label: import("../internal-agents/schema.js").Schema<string>;
412
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
413
+ required: import("../internal-agents/schema.js").Schema<boolean>;
414
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
415
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
416
+ type: import("../internal-agents/schema.js").Schema<"textarea">;
417
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
418
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
419
+ minLength: import("../internal-agents/schema.js").Schema<number | undefined>;
420
+ maxLength: import("../internal-agents/schema.js").Schema<number | undefined>;
421
+ rows: import("../internal-agents/schema.js").Schema<number>;
422
+ name: import("../internal-agents/schema.js").Schema<string>;
423
+ label: import("../internal-agents/schema.js").Schema<string>;
424
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
425
+ required: import("../internal-agents/schema.js").Schema<boolean>;
426
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
427
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
428
+ type: import("../internal-agents/schema.js").Schema<"select">;
429
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
430
+ value: import("../internal-agents/schema.js").Schema<string>;
431
+ label: import("../internal-agents/schema.js").Schema<string>;
432
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
433
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
434
+ }>[]>;
435
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
436
+ placeholder: import("../internal-agents/schema.js").Schema<string | undefined>;
437
+ name: import("../internal-agents/schema.js").Schema<string>;
438
+ label: import("../internal-agents/schema.js").Schema<string>;
439
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
440
+ required: import("../internal-agents/schema.js").Schema<boolean>;
441
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
442
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
443
+ type: import("../internal-agents/schema.js").Schema<"checkbox">;
444
+ defaultValue: import("../internal-agents/schema.js").Schema<boolean>;
445
+ name: import("../internal-agents/schema.js").Schema<string>;
446
+ label: import("../internal-agents/schema.js").Schema<string>;
447
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
448
+ required: import("../internal-agents/schema.js").Schema<boolean>;
449
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
450
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
451
+ type: import("../internal-agents/schema.js").Schema<"radio">;
452
+ options: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
453
+ value: import("../internal-agents/schema.js").Schema<string>;
454
+ label: import("../internal-agents/schema.js").Schema<string>;
455
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
456
+ recommended: import("../internal-agents/schema.js").Schema<boolean | undefined>;
457
+ }>[]>;
458
+ defaultValue: import("../internal-agents/schema.js").Schema<string | undefined>;
459
+ name: import("../internal-agents/schema.js").Schema<string>;
460
+ label: import("../internal-agents/schema.js").Schema<string>;
461
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
462
+ required: import("../internal-agents/schema.js").Schema<boolean>;
463
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
464
+ }> | import("../extensions/schema/schema-validator.js").InferShape<{
465
+ type: import("../internal-agents/schema.js").Schema<"confirm">;
466
+ confirmLabel: import("../internal-agents/schema.js").Schema<string>;
467
+ denyLabel: import("../internal-agents/schema.js").Schema<string>;
468
+ name: import("../internal-agents/schema.js").Schema<string>;
469
+ label: import("../internal-agents/schema.js").Schema<string>;
470
+ description: import("../internal-agents/schema.js").Schema<string | undefined>;
471
+ required: import("../internal-agents/schema.js").Schema<boolean>;
472
+ secret: import("../internal-agents/schema.js").Schema<boolean>;
473
+ }>)[]>;
474
+ recommendations: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
475
+ metadata: import("../internal-agents/schema.js").Schema<Record<string, unknown> | null>;
476
+ createdAt: import("../internal-agents/schema.js").Schema<string>;
477
+ expiresAt: import("../internal-agents/schema.js").Schema<string | null>;
478
+ submittedAt: import("../internal-agents/schema.js").Schema<string | null>;
479
+ cancelledAt: import("../internal-agents/schema.js").Schema<string | null>;
480
+ expiredAt: import("../internal-agents/schema.js").Schema<string | null>;
481
+ latestResponse: import("../internal-agents/schema.js").Schema<InputResponseRestOutput | null>;
482
+ }>>;
483
+ }>>;
1213
484
  }>>;
1214
- export declare const inputRequestOutputSchema: z.ZodObject<{
1215
- id: z.ZodString;
1216
- conversationId: z.ZodString;
1217
- runId: z.ZodString;
1218
- toolCallId: z.ZodString;
1219
- kind: z.ZodLiteral<"form">;
1220
- status: z.ZodEnum<{
1221
- open: "open";
1222
- expired: "expired";
1223
- cancelled: "cancelled";
1224
- submitted: "submitted";
1225
- }>;
1226
- requestedResponderType: z.ZodEnum<{
1227
- agent: "agent";
1228
- system: "system";
1229
- human: "human";
1230
- }>;
1231
- title: z.ZodString;
1232
- description: z.ZodNullable<z.ZodString>;
1233
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
- name: z.ZodString;
1235
- label: z.ZodString;
1236
- description: z.ZodOptional<z.ZodString>;
1237
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1238
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1239
- type: z.ZodEnum<{
1240
- number: "number";
1241
- password: "password";
1242
- url: "url";
1243
- text: "text";
1244
- email: "email";
1245
- }>;
1246
- placeholder: z.ZodOptional<z.ZodString>;
1247
- defaultValue: z.ZodOptional<z.ZodString>;
1248
- pattern: z.ZodOptional<z.ZodString>;
1249
- minLength: z.ZodOptional<z.ZodNumber>;
1250
- maxLength: z.ZodOptional<z.ZodNumber>;
1251
- min: z.ZodOptional<z.ZodNumber>;
1252
- max: z.ZodOptional<z.ZodNumber>;
1253
- }, z.core.$strip>, z.ZodObject<{
1254
- name: z.ZodString;
1255
- label: z.ZodString;
1256
- description: z.ZodOptional<z.ZodString>;
1257
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1258
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1259
- type: z.ZodLiteral<"textarea">;
1260
- placeholder: z.ZodOptional<z.ZodString>;
1261
- defaultValue: z.ZodOptional<z.ZodString>;
1262
- minLength: z.ZodOptional<z.ZodNumber>;
1263
- maxLength: z.ZodOptional<z.ZodNumber>;
1264
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1265
- }, z.core.$strip>, z.ZodObject<{
1266
- name: z.ZodString;
1267
- label: z.ZodString;
1268
- description: z.ZodOptional<z.ZodString>;
1269
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1270
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1271
- type: z.ZodLiteral<"select">;
1272
- options: z.ZodArray<z.ZodObject<{
1273
- value: z.ZodString;
1274
- label: z.ZodString;
1275
- description: z.ZodOptional<z.ZodString>;
1276
- recommended: z.ZodOptional<z.ZodBoolean>;
1277
- }, z.core.$strip>>;
1278
- defaultValue: z.ZodOptional<z.ZodString>;
1279
- placeholder: z.ZodOptional<z.ZodString>;
1280
- }, z.core.$strip>, z.ZodObject<{
1281
- name: z.ZodString;
1282
- label: z.ZodString;
1283
- description: z.ZodOptional<z.ZodString>;
1284
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1285
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1286
- type: z.ZodLiteral<"checkbox">;
1287
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1288
- }, z.core.$strip>, z.ZodObject<{
1289
- name: z.ZodString;
1290
- label: z.ZodString;
1291
- description: z.ZodOptional<z.ZodString>;
1292
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1293
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1294
- type: z.ZodLiteral<"radio">;
1295
- options: z.ZodArray<z.ZodObject<{
1296
- value: z.ZodString;
1297
- label: z.ZodString;
1298
- description: z.ZodOptional<z.ZodString>;
1299
- recommended: z.ZodOptional<z.ZodBoolean>;
1300
- }, z.core.$strip>>;
1301
- defaultValue: z.ZodOptional<z.ZodString>;
1302
- }, z.core.$strip>, z.ZodObject<{
1303
- name: z.ZodString;
1304
- label: z.ZodString;
1305
- description: z.ZodOptional<z.ZodString>;
1306
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1307
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1308
- type: z.ZodLiteral<"confirm">;
1309
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1310
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1311
- }, z.core.$strip>], "type">>;
1312
- recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1313
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1314
- createdAt: z.ZodString;
1315
- expiresAt: z.ZodNullable<z.ZodString>;
1316
- submittedAt: z.ZodNullable<z.ZodString>;
1317
- cancelledAt: z.ZodNullable<z.ZodString>;
1318
- expiredAt: z.ZodNullable<z.ZodString>;
1319
- latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1320
- id: z.ZodString;
1321
- input_request_id: z.ZodString;
1322
- conversation_id: z.ZodString;
1323
- run_id: z.ZodString;
1324
- actor_type: z.ZodString;
1325
- actor_id: z.ZodString;
1326
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1327
- created_at: z.ZodString;
1328
- }, z.core.$loose>, z.ZodTransform<{
1329
- id: string;
1330
- inputRequestId: string;
1331
- conversationId: string;
1332
- runId: string;
1333
- actorType: string;
1334
- actorId: string;
1335
- values: Record<string, string | number | boolean | null>;
1336
- createdAt: string;
1337
- }, {
1338
- [x: string]: unknown;
1339
- id: string;
1340
- input_request_id: string;
1341
- conversation_id: string;
1342
- run_id: string;
1343
- actor_type: string;
1344
- actor_id: string;
1345
- values: Record<string, string | number | boolean | null>;
1346
- created_at: string;
1347
- }>>>;
1348
- }, z.core.$strip>;
1349
- export declare const inputRequestLifecycleDataEventSchema: z.ZodObject<{
1350
- type: z.ZodLiteral<"veryfront.input_request.lifecycle">;
1351
- data: z.ZodObject<{
1352
- action: z.ZodEnum<{
1353
- created: "created";
1354
- updated: "updated";
1355
- }>;
1356
- inputRequest: z.ZodObject<{
1357
- id: z.ZodString;
1358
- conversationId: z.ZodString;
1359
- runId: z.ZodString;
1360
- toolCallId: z.ZodString;
1361
- kind: z.ZodLiteral<"form">;
1362
- status: z.ZodEnum<{
1363
- open: "open";
1364
- expired: "expired";
1365
- cancelled: "cancelled";
1366
- submitted: "submitted";
1367
- }>;
1368
- requestedResponderType: z.ZodEnum<{
1369
- agent: "agent";
1370
- system: "system";
1371
- human: "human";
1372
- }>;
1373
- title: z.ZodString;
1374
- description: z.ZodNullable<z.ZodString>;
1375
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1376
- name: z.ZodString;
1377
- label: z.ZodString;
1378
- description: z.ZodOptional<z.ZodString>;
1379
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1380
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1381
- type: z.ZodEnum<{
1382
- number: "number";
1383
- password: "password";
1384
- url: "url";
1385
- text: "text";
1386
- email: "email";
1387
- }>;
1388
- placeholder: z.ZodOptional<z.ZodString>;
1389
- defaultValue: z.ZodOptional<z.ZodString>;
1390
- pattern: z.ZodOptional<z.ZodString>;
1391
- minLength: z.ZodOptional<z.ZodNumber>;
1392
- maxLength: z.ZodOptional<z.ZodNumber>;
1393
- min: z.ZodOptional<z.ZodNumber>;
1394
- max: z.ZodOptional<z.ZodNumber>;
1395
- }, z.core.$strip>, z.ZodObject<{
1396
- name: z.ZodString;
1397
- label: z.ZodString;
1398
- description: z.ZodOptional<z.ZodString>;
1399
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1400
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1401
- type: z.ZodLiteral<"textarea">;
1402
- placeholder: z.ZodOptional<z.ZodString>;
1403
- defaultValue: z.ZodOptional<z.ZodString>;
1404
- minLength: z.ZodOptional<z.ZodNumber>;
1405
- maxLength: z.ZodOptional<z.ZodNumber>;
1406
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1407
- }, z.core.$strip>, z.ZodObject<{
1408
- name: z.ZodString;
1409
- label: z.ZodString;
1410
- description: z.ZodOptional<z.ZodString>;
1411
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1412
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1413
- type: z.ZodLiteral<"select">;
1414
- options: z.ZodArray<z.ZodObject<{
1415
- value: z.ZodString;
1416
- label: z.ZodString;
1417
- description: z.ZodOptional<z.ZodString>;
1418
- recommended: z.ZodOptional<z.ZodBoolean>;
1419
- }, z.core.$strip>>;
1420
- defaultValue: z.ZodOptional<z.ZodString>;
1421
- placeholder: z.ZodOptional<z.ZodString>;
1422
- }, z.core.$strip>, z.ZodObject<{
1423
- name: z.ZodString;
1424
- label: z.ZodString;
1425
- description: z.ZodOptional<z.ZodString>;
1426
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1427
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1428
- type: z.ZodLiteral<"checkbox">;
1429
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1430
- }, z.core.$strip>, z.ZodObject<{
1431
- name: z.ZodString;
1432
- label: z.ZodString;
1433
- description: z.ZodOptional<z.ZodString>;
1434
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1435
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1436
- type: z.ZodLiteral<"radio">;
1437
- options: z.ZodArray<z.ZodObject<{
1438
- value: z.ZodString;
1439
- label: z.ZodString;
1440
- description: z.ZodOptional<z.ZodString>;
1441
- recommended: z.ZodOptional<z.ZodBoolean>;
1442
- }, z.core.$strip>>;
1443
- defaultValue: z.ZodOptional<z.ZodString>;
1444
- }, z.core.$strip>, z.ZodObject<{
1445
- name: z.ZodString;
1446
- label: z.ZodString;
1447
- description: z.ZodOptional<z.ZodString>;
1448
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1449
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1450
- type: z.ZodLiteral<"confirm">;
1451
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1452
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1453
- }, z.core.$strip>], "type">>;
1454
- recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1455
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1456
- createdAt: z.ZodString;
1457
- expiresAt: z.ZodNullable<z.ZodString>;
1458
- submittedAt: z.ZodNullable<z.ZodString>;
1459
- cancelledAt: z.ZodNullable<z.ZodString>;
1460
- expiredAt: z.ZodNullable<z.ZodString>;
1461
- latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1462
- id: z.ZodString;
1463
- input_request_id: z.ZodString;
1464
- conversation_id: z.ZodString;
1465
- run_id: z.ZodString;
1466
- actor_type: z.ZodString;
1467
- actor_id: z.ZodString;
1468
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1469
- created_at: z.ZodString;
1470
- }, z.core.$loose>, z.ZodTransform<{
1471
- id: string;
1472
- inputRequestId: string;
1473
- conversationId: string;
1474
- runId: string;
1475
- actorType: string;
1476
- actorId: string;
1477
- values: Record<string, string | number | boolean | null>;
1478
- createdAt: string;
1479
- }, {
1480
- [x: string]: unknown;
1481
- id: string;
1482
- input_request_id: string;
1483
- conversation_id: string;
1484
- run_id: string;
1485
- actor_type: string;
1486
- actor_id: string;
1487
- values: Record<string, string | number | boolean | null>;
1488
- created_at: string;
1489
- }>>>;
1490
- }, z.core.$strip>;
1491
- }, z.core.$strip>;
1492
- name: z.ZodLiteral<"veryfront.input_request.lifecycle">;
1493
- value: z.ZodObject<{
1494
- action: z.ZodEnum<{
1495
- created: "created";
1496
- updated: "updated";
1497
- }>;
1498
- inputRequest: z.ZodObject<{
1499
- id: z.ZodString;
1500
- conversationId: z.ZodString;
1501
- runId: z.ZodString;
1502
- toolCallId: z.ZodString;
1503
- kind: z.ZodLiteral<"form">;
1504
- status: z.ZodEnum<{
1505
- open: "open";
1506
- expired: "expired";
1507
- cancelled: "cancelled";
1508
- submitted: "submitted";
1509
- }>;
1510
- requestedResponderType: z.ZodEnum<{
1511
- agent: "agent";
1512
- system: "system";
1513
- human: "human";
1514
- }>;
1515
- title: z.ZodString;
1516
- description: z.ZodNullable<z.ZodString>;
1517
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1518
- name: z.ZodString;
1519
- label: z.ZodString;
1520
- description: z.ZodOptional<z.ZodString>;
1521
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1522
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1523
- type: z.ZodEnum<{
1524
- number: "number";
1525
- password: "password";
1526
- url: "url";
1527
- text: "text";
1528
- email: "email";
1529
- }>;
1530
- placeholder: z.ZodOptional<z.ZodString>;
1531
- defaultValue: z.ZodOptional<z.ZodString>;
1532
- pattern: z.ZodOptional<z.ZodString>;
1533
- minLength: z.ZodOptional<z.ZodNumber>;
1534
- maxLength: z.ZodOptional<z.ZodNumber>;
1535
- min: z.ZodOptional<z.ZodNumber>;
1536
- max: z.ZodOptional<z.ZodNumber>;
1537
- }, z.core.$strip>, z.ZodObject<{
1538
- name: z.ZodString;
1539
- label: z.ZodString;
1540
- description: z.ZodOptional<z.ZodString>;
1541
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1542
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1543
- type: z.ZodLiteral<"textarea">;
1544
- placeholder: z.ZodOptional<z.ZodString>;
1545
- defaultValue: z.ZodOptional<z.ZodString>;
1546
- minLength: z.ZodOptional<z.ZodNumber>;
1547
- maxLength: z.ZodOptional<z.ZodNumber>;
1548
- rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1549
- }, z.core.$strip>, z.ZodObject<{
1550
- name: z.ZodString;
1551
- label: z.ZodString;
1552
- description: z.ZodOptional<z.ZodString>;
1553
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1554
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1555
- type: z.ZodLiteral<"select">;
1556
- options: z.ZodArray<z.ZodObject<{
1557
- value: z.ZodString;
1558
- label: z.ZodString;
1559
- description: z.ZodOptional<z.ZodString>;
1560
- recommended: z.ZodOptional<z.ZodBoolean>;
1561
- }, z.core.$strip>>;
1562
- defaultValue: z.ZodOptional<z.ZodString>;
1563
- placeholder: z.ZodOptional<z.ZodString>;
1564
- }, z.core.$strip>, z.ZodObject<{
1565
- name: z.ZodString;
1566
- label: z.ZodString;
1567
- description: z.ZodOptional<z.ZodString>;
1568
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1569
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1570
- type: z.ZodLiteral<"checkbox">;
1571
- defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1572
- }, z.core.$strip>, z.ZodObject<{
1573
- name: z.ZodString;
1574
- label: z.ZodString;
1575
- description: z.ZodOptional<z.ZodString>;
1576
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1577
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1578
- type: z.ZodLiteral<"radio">;
1579
- options: z.ZodArray<z.ZodObject<{
1580
- value: z.ZodString;
1581
- label: z.ZodString;
1582
- description: z.ZodOptional<z.ZodString>;
1583
- recommended: z.ZodOptional<z.ZodBoolean>;
1584
- }, z.core.$strip>>;
1585
- defaultValue: z.ZodOptional<z.ZodString>;
1586
- }, z.core.$strip>, z.ZodObject<{
1587
- name: z.ZodString;
1588
- label: z.ZodString;
1589
- description: z.ZodOptional<z.ZodString>;
1590
- required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1591
- secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1592
- type: z.ZodLiteral<"confirm">;
1593
- confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1594
- denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1595
- }, z.core.$strip>], "type">>;
1596
- recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1597
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1598
- createdAt: z.ZodString;
1599
- expiresAt: z.ZodNullable<z.ZodString>;
1600
- submittedAt: z.ZodNullable<z.ZodString>;
1601
- cancelledAt: z.ZodNullable<z.ZodString>;
1602
- expiredAt: z.ZodNullable<z.ZodString>;
1603
- latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1604
- id: z.ZodString;
1605
- input_request_id: z.ZodString;
1606
- conversation_id: z.ZodString;
1607
- run_id: z.ZodString;
1608
- actor_type: z.ZodString;
1609
- actor_id: z.ZodString;
1610
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1611
- created_at: z.ZodString;
1612
- }, z.core.$loose>, z.ZodTransform<{
1613
- id: string;
1614
- inputRequestId: string;
1615
- conversationId: string;
1616
- runId: string;
1617
- actorType: string;
1618
- actorId: string;
1619
- values: Record<string, string | number | boolean | null>;
1620
- createdAt: string;
1621
- }, {
1622
- [x: string]: unknown;
1623
- id: string;
1624
- input_request_id: string;
1625
- conversation_id: string;
1626
- run_id: string;
1627
- actor_type: string;
1628
- actor_id: string;
1629
- values: Record<string, string | number | boolean | null>;
1630
- created_at: string;
1631
- }>>>;
1632
- }, z.core.$strip>;
1633
- }, z.core.$strip>;
1634
- }, z.core.$strip>;
1635
- export type FormInputToolInput = z.infer<typeof formInputToolInputSchema>;
1636
- export type InputRequestOutput = z.infer<typeof inputRequestOutputSchema>;
485
+ export type FormInputToolInput = InferSchema<ReturnType<typeof getFormInputToolInputSchema>>;
486
+ export type InputRequestOutput = InputRequestRestOutput;
1637
487
  export declare function createInputRequest(input: {
1638
488
  authToken: string;
1639
489
  apiUrl: string;