@nodetool-ai/websocket 0.7.0-rc.23 → 0.8.2

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 (1101) hide show
  1. package/README.md +50 -0
  2. package/dist/.nodetool-build-stamp +1 -0
  3. package/dist/agent/run-node-tool.d.ts +39 -0
  4. package/dist/agent/run-node-tool.d.ts.map +1 -0
  5. package/dist/agent/run-node-tool.js +55 -0
  6. package/dist/agent/run-node-tool.js.map +1 -0
  7. package/dist/chat-prediction-forwarder.d.ts +13 -0
  8. package/dist/chat-prediction-forwarder.d.ts.map +1 -0
  9. package/dist/chat-prediction-forwarder.js +22 -0
  10. package/dist/chat-prediction-forwarder.js.map +1 -0
  11. package/dist/chat-tool-call-repair.d.ts +45 -0
  12. package/dist/chat-tool-call-repair.d.ts.map +1 -0
  13. package/dist/chat-tool-call-repair.js +100 -0
  14. package/dist/chat-tool-call-repair.js.map +1 -0
  15. package/dist/chat-turn-registry.d.ts +169 -0
  16. package/dist/chat-turn-registry.d.ts.map +1 -0
  17. package/dist/chat-turn-registry.js +326 -0
  18. package/dist/chat-turn-registry.js.map +1 -0
  19. package/dist/collection-api.d.ts +2 -2
  20. package/dist/collection-api.d.ts.map +1 -1
  21. package/dist/collection-api.js +82 -14
  22. package/dist/collection-api.js.map +1 -1
  23. package/dist/configured-providers.d.ts +52 -0
  24. package/dist/configured-providers.d.ts.map +1 -0
  25. package/dist/configured-providers.js +85 -0
  26. package/dist/configured-providers.js.map +1 -0
  27. package/dist/cors.d.ts +22 -0
  28. package/dist/cors.d.ts.map +1 -0
  29. package/dist/cors.js +91 -0
  30. package/dist/cors.js.map +1 -0
  31. package/dist/credit-gate.d.ts +36 -0
  32. package/dist/credit-gate.d.ts.map +1 -0
  33. package/dist/credit-gate.js +76 -0
  34. package/dist/credit-gate.js.map +1 -0
  35. package/dist/custom-providers.d.ts +40 -0
  36. package/dist/custom-providers.d.ts.map +1 -0
  37. package/dist/custom-providers.js +134 -0
  38. package/dist/custom-providers.js.map +1 -0
  39. package/dist/debug-sessions.d.ts +10 -0
  40. package/dist/debug-sessions.d.ts.map +1 -0
  41. package/dist/debug-sessions.js +9 -0
  42. package/dist/debug-sessions.js.map +1 -0
  43. package/dist/drain.d.ts +34 -0
  44. package/dist/drain.d.ts.map +1 -0
  45. package/dist/drain.js +68 -0
  46. package/dist/drain.js.map +1 -0
  47. package/dist/e2e-server.d.ts +30 -0
  48. package/dist/e2e-server.d.ts.map +1 -0
  49. package/dist/e2e-server.js +111 -0
  50. package/dist/e2e-server.js.map +1 -0
  51. package/dist/error-traces.d.ts +56 -0
  52. package/dist/error-traces.d.ts.map +1 -0
  53. package/dist/error-traces.js +179 -0
  54. package/dist/error-traces.js.map +1 -0
  55. package/dist/example-workflows.d.ts +20 -0
  56. package/dist/example-workflows.d.ts.map +1 -0
  57. package/dist/example-workflows.js +123 -0
  58. package/dist/example-workflows.js.map +1 -0
  59. package/dist/external-mcp.d.ts +58 -0
  60. package/dist/external-mcp.d.ts.map +1 -0
  61. package/dist/external-mcp.js +288 -0
  62. package/dist/external-mcp.js.map +1 -0
  63. package/dist/fake-runtime.d.ts +114 -0
  64. package/dist/fake-runtime.d.ts.map +1 -0
  65. package/dist/fake-runtime.js +307 -0
  66. package/dist/fake-runtime.js.map +1 -0
  67. package/dist/file-api.d.ts +4 -7
  68. package/dist/file-api.d.ts.map +1 -1
  69. package/dist/file-api.js +122 -39
  70. package/dist/file-api.js.map +1 -1
  71. package/dist/frontend-renderer-registry.d.ts +75 -0
  72. package/dist/frontend-renderer-registry.d.ts.map +1 -0
  73. package/dist/frontend-renderer-registry.js +111 -0
  74. package/dist/frontend-renderer-registry.js.map +1 -0
  75. package/dist/generation-recovery.d.ts +13 -0
  76. package/dist/generation-recovery.d.ts.map +1 -0
  77. package/dist/generation-recovery.js +219 -0
  78. package/dist/generation-recovery.js.map +1 -0
  79. package/dist/headless-job-runner.d.ts +71 -0
  80. package/dist/headless-job-runner.d.ts.map +1 -0
  81. package/dist/headless-job-runner.js +198 -0
  82. package/dist/headless-job-runner.js.map +1 -0
  83. package/dist/http-api.d.ts +157 -24
  84. package/dist/http-api.d.ts.map +1 -1
  85. package/dist/http-api.js +628 -646
  86. package/dist/http-api.js.map +1 -1
  87. package/dist/http-body-schemas.d.ts +109 -0
  88. package/dist/http-body-schemas.d.ts.map +1 -0
  89. package/dist/http-body-schemas.js +146 -0
  90. package/dist/http-body-schemas.js.map +1 -0
  91. package/dist/index.d.ts +10 -3
  92. package/dist/index.d.ts.map +1 -1
  93. package/dist/index.js +10 -3
  94. package/dist/index.js.map +1 -1
  95. package/dist/interrupted-jobs.d.ts +14 -0
  96. package/dist/interrupted-jobs.d.ts.map +1 -0
  97. package/dist/interrupted-jobs.js +28 -0
  98. package/dist/interrupted-jobs.js.map +1 -0
  99. package/dist/job-control.d.ts +57 -0
  100. package/dist/job-control.d.ts.map +1 -0
  101. package/dist/job-control.js +134 -0
  102. package/dist/job-control.js.map +1 -0
  103. package/dist/job-queue.d.ts +47 -0
  104. package/dist/job-queue.d.ts.map +1 -0
  105. package/dist/job-queue.js +52 -0
  106. package/dist/job-queue.js.map +1 -0
  107. package/dist/job-run-registry.d.ts +176 -0
  108. package/dist/job-run-registry.d.ts.map +1 -0
  109. package/dist/job-run-registry.js +312 -0
  110. package/dist/job-run-registry.js.map +1 -0
  111. package/dist/lib/app-build-service.d.ts +16 -0
  112. package/dist/lib/app-build-service.d.ts.map +1 -0
  113. package/dist/lib/app-build-service.js +39 -0
  114. package/dist/lib/app-build-service.js.map +1 -0
  115. package/dist/lib/app-debug-service.d.ts +16 -0
  116. package/dist/lib/app-debug-service.d.ts.map +1 -0
  117. package/dist/lib/app-debug-service.js +48 -0
  118. package/dist/lib/app-debug-service.js.map +1 -0
  119. package/dist/lib/app-deployment-service.d.ts +82 -0
  120. package/dist/lib/app-deployment-service.d.ts.map +1 -0
  121. package/dist/lib/app-deployment-service.js +282 -0
  122. package/dist/lib/app-deployment-service.js.map +1 -0
  123. package/dist/lib/app-instances-service.d.ts +1284 -0
  124. package/dist/lib/app-instances-service.d.ts.map +1 -0
  125. package/dist/lib/app-instances-service.js +378 -0
  126. package/dist/lib/app-instances-service.js.map +1 -0
  127. package/dist/lib/app-run-cancellation.d.ts +4 -0
  128. package/dist/lib/app-run-cancellation.d.ts.map +1 -0
  129. package/dist/lib/app-run-cancellation.js +28 -0
  130. package/dist/lib/app-run-cancellation.js.map +1 -0
  131. package/dist/lib/app-run-server.d.ts +7 -0
  132. package/dist/lib/app-run-server.d.ts.map +1 -0
  133. package/dist/lib/app-run-server.js +6 -0
  134. package/dist/lib/app-run-server.js.map +1 -0
  135. package/dist/lib/app-session-scope.d.ts +91 -0
  136. package/dist/lib/app-session-scope.d.ts.map +1 -0
  137. package/dist/lib/app-session-scope.js +91 -0
  138. package/dist/lib/app-session-scope.js.map +1 -0
  139. package/dist/lib/applications-service.d.ts +354 -0
  140. package/dist/lib/applications-service.d.ts.map +1 -0
  141. package/dist/lib/applications-service.js +507 -0
  142. package/dist/lib/applications-service.js.map +1 -0
  143. package/dist/lib/asset-duration.d.ts +7 -0
  144. package/dist/lib/asset-duration.d.ts.map +1 -0
  145. package/dist/lib/asset-duration.js +24 -0
  146. package/dist/lib/asset-duration.js.map +1 -0
  147. package/dist/lib/asset-export.d.ts +34 -0
  148. package/dist/lib/asset-export.d.ts.map +1 -0
  149. package/dist/lib/asset-export.js +113 -0
  150. package/dist/lib/asset-export.js.map +1 -0
  151. package/dist/lib/asset-model-interface.d.ts +41 -0
  152. package/dist/lib/asset-model-interface.d.ts.map +1 -0
  153. package/dist/lib/asset-model-interface.js +74 -0
  154. package/dist/lib/asset-model-interface.js.map +1 -0
  155. package/dist/lib/asset-paths.d.ts +49 -1
  156. package/dist/lib/asset-paths.d.ts.map +1 -1
  157. package/dist/lib/asset-paths.js +127 -31
  158. package/dist/lib/asset-paths.js.map +1 -1
  159. package/dist/lib/asset-response.d.ts +12 -0
  160. package/dist/lib/asset-response.d.ts.map +1 -0
  161. package/dist/lib/asset-response.js +89 -0
  162. package/dist/lib/asset-response.js.map +1 -0
  163. package/dist/lib/audio-peaks.d.ts +23 -0
  164. package/dist/lib/audio-peaks.d.ts.map +1 -0
  165. package/dist/lib/audio-peaks.js +335 -0
  166. package/dist/lib/audio-peaks.js.map +1 -0
  167. package/dist/lib/bridge.d.ts +9 -1
  168. package/dist/lib/bridge.d.ts.map +1 -1
  169. package/dist/lib/bridge.js +27 -4
  170. package/dist/lib/bridge.js.map +1 -1
  171. package/dist/lib/compression.d.ts +3 -0
  172. package/dist/lib/compression.d.ts.map +1 -0
  173. package/dist/lib/compression.js +3 -0
  174. package/dist/lib/compression.js.map +1 -0
  175. package/dist/lib/document-model-interfaces.d.ts +30 -0
  176. package/dist/lib/document-model-interfaces.d.ts.map +1 -0
  177. package/dist/lib/document-model-interfaces.js +296 -0
  178. package/dist/lib/document-model-interfaces.js.map +1 -0
  179. package/dist/lib/env-config.d.ts +9 -0
  180. package/dist/lib/env-config.d.ts.map +1 -0
  181. package/dist/lib/env-config.js +18 -0
  182. package/dist/lib/env-config.js.map +1 -0
  183. package/dist/lib/example-apps.d.ts +52 -0
  184. package/dist/lib/example-apps.d.ts.map +1 -0
  185. package/dist/lib/example-apps.js +192 -0
  186. package/dist/lib/example-apps.js.map +1 -0
  187. package/dist/lib/example-games.d.ts +5 -0
  188. package/dist/lib/example-games.d.ts.map +1 -0
  189. package/dist/lib/example-games.js +13 -0
  190. package/dist/lib/example-games.js.map +1 -0
  191. package/dist/lib/example-recipes.d.ts +33 -0
  192. package/dist/lib/example-recipes.d.ts.map +1 -0
  193. package/dist/lib/example-recipes.js +213 -0
  194. package/dist/lib/example-recipes.js.map +1 -0
  195. package/dist/lib/example-storyboards.d.ts +40 -0
  196. package/dist/lib/example-storyboards.d.ts.map +1 -0
  197. package/dist/lib/example-storyboards.js +131 -0
  198. package/dist/lib/example-storyboards.js.map +1 -0
  199. package/dist/lib/example-thumbnail.d.ts +21 -0
  200. package/dist/lib/example-thumbnail.d.ts.map +1 -0
  201. package/dist/lib/example-thumbnail.js +50 -0
  202. package/dist/lib/example-thumbnail.js.map +1 -0
  203. package/dist/lib/example-timelines.d.ts +9 -0
  204. package/dist/lib/example-timelines.d.ts.map +1 -0
  205. package/dist/lib/example-timelines.js +25 -0
  206. package/dist/lib/example-timelines.js.map +1 -0
  207. package/dist/lib/extension-dist.d.ts +24 -0
  208. package/dist/lib/extension-dist.d.ts.map +1 -0
  209. package/dist/lib/extension-dist.js +67 -0
  210. package/dist/lib/extension-dist.js.map +1 -0
  211. package/dist/lib/external-asset-lookup.d.ts +30 -0
  212. package/dist/lib/external-asset-lookup.d.ts.map +1 -0
  213. package/dist/lib/external-asset-lookup.js +99 -0
  214. package/dist/lib/external-asset-lookup.js.map +1 -0
  215. package/dist/lib/external-assets.d.ts +13 -0
  216. package/dist/lib/external-assets.d.ts.map +1 -0
  217. package/dist/lib/external-assets.js +46 -0
  218. package/dist/lib/external-assets.js.map +1 -0
  219. package/dist/lib/fly-replay.d.ts +34 -0
  220. package/dist/lib/fly-replay.d.ts.map +1 -0
  221. package/dist/lib/fly-replay.js +111 -0
  222. package/dist/lib/fly-replay.js.map +1 -0
  223. package/dist/lib/http-rate-limit.d.ts +32 -0
  224. package/dist/lib/http-rate-limit.d.ts.map +1 -0
  225. package/dist/lib/http-rate-limit.js +47 -0
  226. package/dist/lib/http-rate-limit.js.map +1 -0
  227. package/dist/lib/http-tracing.d.ts +12 -0
  228. package/dist/lib/http-tracing.d.ts.map +1 -0
  229. package/dist/lib/http-tracing.js +81 -0
  230. package/dist/lib/http-tracing.js.map +1 -0
  231. package/dist/lib/instance-id.d.ts +25 -0
  232. package/dist/lib/instance-id.d.ts.map +1 -0
  233. package/dist/lib/instance-id.js +44 -0
  234. package/dist/lib/instance-id.js.map +1 -0
  235. package/dist/lib/link-codes.d.ts +82 -0
  236. package/dist/lib/link-codes.d.ts.map +1 -0
  237. package/dist/lib/link-codes.js +100 -0
  238. package/dist/lib/link-codes.js.map +1 -0
  239. package/dist/lib/local-asset-upload.d.ts +5 -0
  240. package/dist/lib/local-asset-upload.d.ts.map +1 -0
  241. package/dist/lib/local-asset-upload.js +69 -0
  242. package/dist/lib/local-asset-upload.js.map +1 -0
  243. package/dist/lib/local-file-access.d.ts +31 -0
  244. package/dist/lib/local-file-access.d.ts.map +1 -0
  245. package/dist/lib/local-file-access.js +169 -0
  246. package/dist/lib/local-file-access.js.map +1 -0
  247. package/dist/lib/localhost-trust.d.ts +59 -0
  248. package/dist/lib/localhost-trust.d.ts.map +1 -0
  249. package/dist/lib/localhost-trust.js +139 -0
  250. package/dist/lib/localhost-trust.js.map +1 -0
  251. package/dist/lib/mcp-mount.d.ts +25 -0
  252. package/dist/lib/mcp-mount.d.ts.map +1 -0
  253. package/dist/lib/mcp-mount.js +32 -0
  254. package/dist/lib/mcp-mount.js.map +1 -0
  255. package/dist/lib/media-size.d.ts +21 -0
  256. package/dist/lib/media-size.d.ts.map +1 -0
  257. package/dist/lib/media-size.js +48 -0
  258. package/dist/lib/media-size.js.map +1 -0
  259. package/dist/lib/media.d.ts +33 -0
  260. package/dist/lib/media.d.ts.map +1 -0
  261. package/dist/lib/media.js +110 -0
  262. package/dist/lib/media.js.map +1 -0
  263. package/dist/lib/package-asset-export.d.ts +83 -0
  264. package/dist/lib/package-asset-export.d.ts.map +1 -0
  265. package/dist/lib/package-asset-export.js +212 -0
  266. package/dist/lib/package-asset-export.js.map +1 -0
  267. package/dist/lib/package-assets.d.ts +41 -0
  268. package/dist/lib/package-assets.d.ts.map +1 -0
  269. package/dist/lib/package-assets.js +155 -0
  270. package/dist/lib/package-assets.js.map +1 -0
  271. package/dist/lib/project-delete.d.ts +11 -0
  272. package/dist/lib/project-delete.d.ts.map +1 -0
  273. package/dist/lib/project-delete.js +67 -0
  274. package/dist/lib/project-delete.js.map +1 -0
  275. package/dist/lib/project-document-copy.d.ts +31 -0
  276. package/dist/lib/project-document-copy.d.ts.map +1 -0
  277. package/dist/lib/project-document-copy.js +473 -0
  278. package/dist/lib/project-document-copy.js.map +1 -0
  279. package/dist/lib/public-app-assets.d.ts +8 -0
  280. package/dist/lib/public-app-assets.d.ts.map +1 -0
  281. package/dist/lib/public-app-assets.js +77 -0
  282. package/dist/lib/public-app-assets.js.map +1 -0
  283. package/dist/lib/public-routes.d.ts +102 -0
  284. package/dist/lib/public-routes.d.ts.map +1 -0
  285. package/dist/lib/public-routes.js +168 -0
  286. package/dist/lib/public-routes.js.map +1 -0
  287. package/dist/lib/public-workflow-share.d.ts +20 -0
  288. package/dist/lib/public-workflow-share.d.ts.map +1 -0
  289. package/dist/lib/public-workflow-share.js +45 -0
  290. package/dist/lib/public-workflow-share.js.map +1 -0
  291. package/dist/lib/run-trace-live-delivery.d.ts +25 -0
  292. package/dist/lib/run-trace-live-delivery.d.ts.map +1 -0
  293. package/dist/lib/run-trace-live-delivery.js +91 -0
  294. package/dist/lib/run-trace-live-delivery.js.map +1 -0
  295. package/dist/lib/runtime-detection.d.ts +17 -0
  296. package/dist/lib/runtime-detection.d.ts.map +1 -0
  297. package/dist/lib/runtime-detection.js +90 -0
  298. package/dist/lib/runtime-detection.js.map +1 -0
  299. package/dist/lib/storage-access.d.ts +21 -0
  300. package/dist/lib/storage-access.d.ts.map +1 -0
  301. package/dist/lib/storage-access.js +74 -0
  302. package/dist/lib/storage-access.js.map +1 -0
  303. package/dist/lib/storage.d.ts +9 -0
  304. package/dist/lib/storage.d.ts.map +1 -0
  305. package/dist/lib/storage.js +28 -0
  306. package/dist/lib/storage.js.map +1 -0
  307. package/dist/lib/storyboard-export.d.ts +64 -0
  308. package/dist/lib/storyboard-export.d.ts.map +1 -0
  309. package/dist/lib/storyboard-export.js +183 -0
  310. package/dist/lib/storyboard-export.js.map +1 -0
  311. package/dist/lib/style-presets.d.ts +34 -0
  312. package/dist/lib/style-presets.d.ts.map +1 -0
  313. package/dist/lib/style-presets.js +62 -0
  314. package/dist/lib/style-presets.js.map +1 -0
  315. package/dist/lib/temp-url-resolver.d.ts +35 -0
  316. package/dist/lib/temp-url-resolver.d.ts.map +1 -0
  317. package/dist/lib/temp-url-resolver.js +88 -0
  318. package/dist/lib/temp-url-resolver.js.map +1 -0
  319. package/dist/lib/test-ui-run-routes.d.ts +8 -0
  320. package/dist/lib/test-ui-run-routes.d.ts.map +1 -0
  321. package/dist/lib/test-ui-run-routes.js +42 -0
  322. package/dist/lib/test-ui-run-routes.js.map +1 -0
  323. package/dist/lib/thumbnail.d.ts +74 -0
  324. package/dist/lib/thumbnail.d.ts.map +1 -0
  325. package/dist/lib/thumbnail.js +305 -0
  326. package/dist/lib/thumbnail.js.map +1 -0
  327. package/dist/lib/timeline-bundle.d.ts +1821 -0
  328. package/dist/lib/timeline-bundle.d.ts.map +1 -0
  329. package/dist/lib/timeline-bundle.js +342 -0
  330. package/dist/lib/timeline-bundle.js.map +1 -0
  331. package/dist/lib/video-proxy.d.ts +114 -0
  332. package/dist/lib/video-proxy.d.ts.map +1 -0
  333. package/dist/lib/video-proxy.js +546 -0
  334. package/dist/lib/video-proxy.js.map +1 -0
  335. package/dist/lib/wire-values.d.ts +31 -0
  336. package/dist/lib/wire-values.d.ts.map +1 -0
  337. package/dist/lib/wire-values.js +49 -0
  338. package/dist/lib/wire-values.js.map +1 -0
  339. package/dist/lib/workflow-bundle.d.ts +102 -0
  340. package/dist/lib/workflow-bundle.d.ts.map +1 -0
  341. package/dist/lib/workflow-bundle.js +306 -0
  342. package/dist/lib/workflow-bundle.js.map +1 -0
  343. package/dist/lib/workflow-service.d.ts +82 -0
  344. package/dist/lib/workflow-service.d.ts.map +1 -0
  345. package/dist/lib/workflow-service.js +197 -0
  346. package/dist/lib/workflow-service.js.map +1 -0
  347. package/dist/lib/workflow-workspace.d.ts +20 -0
  348. package/dist/lib/workflow-workspace.d.ts.map +1 -0
  349. package/dist/lib/workflow-workspace.js +65 -0
  350. package/dist/lib/workflow-workspace.js.map +1 -0
  351. package/dist/lib/ws-connection-health.d.ts +10 -0
  352. package/dist/lib/ws-connection-health.d.ts.map +1 -0
  353. package/dist/lib/ws-connection-health.js +38 -0
  354. package/dist/lib/ws-connection-health.js.map +1 -0
  355. package/dist/lib/ws-rate-limit.d.ts +22 -0
  356. package/dist/lib/ws-rate-limit.d.ts.map +1 -0
  357. package/dist/lib/ws-rate-limit.js +45 -0
  358. package/dist/lib/ws-rate-limit.js.map +1 -0
  359. package/dist/lib/ws-upgrade.d.ts +40 -0
  360. package/dist/lib/ws-upgrade.d.ts.map +1 -0
  361. package/dist/lib/ws-upgrade.js +66 -0
  362. package/dist/lib/ws-upgrade.js.map +1 -0
  363. package/dist/lib/zip-stream.d.ts +46 -0
  364. package/dist/lib/zip-stream.d.ts.map +1 -0
  365. package/dist/lib/zip-stream.js +140 -0
  366. package/dist/lib/zip-stream.js.map +1 -0
  367. package/dist/mcp-agent-tools.d.ts +56 -0
  368. package/dist/mcp-agent-tools.d.ts.map +1 -0
  369. package/dist/mcp-agent-tools.js +1147 -0
  370. package/dist/mcp-agent-tools.js.map +1 -0
  371. package/dist/mcp-client-config.d.ts +64 -0
  372. package/dist/mcp-client-config.d.ts.map +1 -0
  373. package/dist/mcp-client-config.js +353 -0
  374. package/dist/mcp-client-config.js.map +1 -0
  375. package/dist/mcp-server.d.ts +56 -7
  376. package/dist/mcp-server.d.ts.map +1 -1
  377. package/dist/mcp-server.js +255 -762
  378. package/dist/mcp-server.js.map +1 -1
  379. package/dist/mcp-tool-deps.d.ts +20 -0
  380. package/dist/mcp-tool-deps.d.ts.map +1 -0
  381. package/dist/mcp-tool-deps.js +61 -0
  382. package/dist/mcp-tool-deps.js.map +1 -0
  383. package/dist/messagepack.d.ts +7 -0
  384. package/dist/messagepack.d.ts.map +1 -0
  385. package/dist/messagepack.js +19 -0
  386. package/dist/messagepack.js.map +1 -0
  387. package/dist/model-download-runtime.d.ts +9 -0
  388. package/dist/model-download-runtime.d.ts.map +1 -0
  389. package/dist/model-download-runtime.js +77 -0
  390. package/dist/model-download-runtime.js.map +1 -0
  391. package/dist/model-execution-availability.d.ts +14 -0
  392. package/dist/model-execution-availability.d.ts.map +1 -0
  393. package/dist/model-execution-availability.js +161 -0
  394. package/dist/model-execution-availability.js.map +1 -0
  395. package/dist/models-api.d.ts +61 -5
  396. package/dist/models-api.d.ts.map +1 -1
  397. package/dist/models-api.js +182 -689
  398. package/dist/models-api.js.map +1 -1
  399. package/dist/node-registry-setup.d.ts +84 -0
  400. package/dist/node-registry-setup.d.ts.map +1 -0
  401. package/dist/node-registry-setup.js +163 -0
  402. package/dist/node-registry-setup.js.map +1 -0
  403. package/dist/oauth/cimd.d.ts +28 -0
  404. package/dist/oauth/cimd.d.ts.map +1 -0
  405. package/dist/oauth/cimd.js +177 -0
  406. package/dist/oauth/cimd.js.map +1 -0
  407. package/dist/oauth/gate.d.ts +38 -0
  408. package/dist/oauth/gate.d.ts.map +1 -0
  409. package/dist/oauth/gate.js +77 -0
  410. package/dist/oauth/gate.js.map +1 -0
  411. package/dist/oauth/metadata.d.ts +35 -0
  412. package/dist/oauth/metadata.d.ts.map +1 -0
  413. package/dist/oauth/metadata.js +56 -0
  414. package/dist/oauth/metadata.js.map +1 -0
  415. package/dist/oauth/pending-store.d.ts +79 -0
  416. package/dist/oauth/pending-store.d.ts.map +1 -0
  417. package/dist/oauth/pending-store.js +133 -0
  418. package/dist/oauth/pending-store.js.map +1 -0
  419. package/dist/oauth/pkce.d.ts +16 -0
  420. package/dist/oauth/pkce.d.ts.map +1 -0
  421. package/dist/oauth/pkce.js +29 -0
  422. package/dist/oauth/pkce.js.map +1 -0
  423. package/dist/oauth/validate.d.ts +25 -0
  424. package/dist/oauth/validate.d.ts.map +1 -0
  425. package/dist/oauth/validate.js +62 -0
  426. package/dist/oauth/validate.js.map +1 -0
  427. package/dist/oauth/www-authenticate.d.ts +9 -0
  428. package/dist/oauth/www-authenticate.d.ts.map +1 -0
  429. package/dist/oauth/www-authenticate.js +33 -0
  430. package/dist/oauth/www-authenticate.js.map +1 -0
  431. package/dist/oauth-api.d.ts +19 -0
  432. package/dist/oauth-api.d.ts.map +1 -1
  433. package/dist/oauth-api.js +531 -12
  434. package/dist/oauth-api.js.map +1 -1
  435. package/dist/openai-api.d.ts.map +1 -1
  436. package/dist/openai-api.js +4 -9
  437. package/dist/openai-api.js.map +1 -1
  438. package/dist/pack-snapshot.d.ts +24 -0
  439. package/dist/pack-snapshot.d.ts.map +1 -0
  440. package/dist/pack-snapshot.js +35 -0
  441. package/dist/pack-snapshot.js.map +1 -0
  442. package/dist/plugins/websocket.d.ts +21 -4
  443. package/dist/plugins/websocket.d.ts.map +1 -1
  444. package/dist/plugins/websocket.js +106 -297
  445. package/dist/plugins/websocket.js.map +1 -1
  446. package/dist/python-bridge-gate.d.ts +28 -0
  447. package/dist/python-bridge-gate.d.ts.map +1 -0
  448. package/dist/python-bridge-gate.js +36 -0
  449. package/dist/python-bridge-gate.js.map +1 -0
  450. package/dist/resolve-media-urls.d.ts +17 -3
  451. package/dist/resolve-media-urls.d.ts.map +1 -1
  452. package/dist/resolve-media-urls.js +117 -31
  453. package/dist/resolve-media-urls.js.map +1 -1
  454. package/dist/resource-events.d.ts +28 -0
  455. package/dist/resource-events.d.ts.map +1 -0
  456. package/dist/resource-events.js +20 -0
  457. package/dist/resource-events.js.map +1 -0
  458. package/dist/routes/account.d.ts +100 -0
  459. package/dist/routes/account.d.ts.map +1 -0
  460. package/dist/routes/account.js +197 -0
  461. package/dist/routes/account.js.map +1 -0
  462. package/dist/routes/app-runs.d.ts +4 -0
  463. package/dist/routes/app-runs.d.ts.map +1 -0
  464. package/dist/routes/app-runs.js +173 -0
  465. package/dist/routes/app-runs.js.map +1 -0
  466. package/dist/routes/applications.d.ts +36 -0
  467. package/dist/routes/applications.d.ts.map +1 -0
  468. package/dist/routes/applications.js +183 -0
  469. package/dist/routes/applications.js.map +1 -0
  470. package/dist/routes/assets.d.ts +3 -3
  471. package/dist/routes/assets.d.ts.map +1 -1
  472. package/dist/routes/assets.js +78 -44
  473. package/dist/routes/assets.js.map +1 -1
  474. package/dist/routes/atlascloud-webhook.d.ts +93 -0
  475. package/dist/routes/atlascloud-webhook.d.ts.map +1 -0
  476. package/dist/routes/atlascloud-webhook.js +369 -0
  477. package/dist/routes/atlascloud-webhook.js.map +1 -0
  478. package/dist/routes/collections.d.ts.map +1 -1
  479. package/dist/routes/config.d.ts +26 -0
  480. package/dist/routes/config.d.ts.map +1 -0
  481. package/dist/routes/config.js +64 -0
  482. package/dist/routes/config.js.map +1 -0
  483. package/dist/routes/documents.d.ts +27 -0
  484. package/dist/routes/documents.d.ts.map +1 -0
  485. package/dist/routes/documents.js +155 -0
  486. package/dist/routes/documents.js.map +1 -0
  487. package/dist/routes/fal-credits.d.ts +4 -0
  488. package/dist/routes/fal-credits.d.ts.map +1 -0
  489. package/dist/routes/fal-credits.js +101 -0
  490. package/dist/routes/fal-credits.js.map +1 -0
  491. package/dist/routes/fal-pricing-estimate.d.ts +4 -0
  492. package/dist/routes/fal-pricing-estimate.d.ts.map +1 -0
  493. package/dist/routes/fal-pricing-estimate.js +114 -0
  494. package/dist/routes/fal-pricing-estimate.js.map +1 -0
  495. package/dist/routes/fal-pricing.d.ts +4 -0
  496. package/dist/routes/fal-pricing.d.ts.map +1 -0
  497. package/dist/routes/fal-pricing.js +93 -0
  498. package/dist/routes/fal-pricing.js.map +1 -0
  499. package/dist/routes/fal-webhook.d.ts +102 -0
  500. package/dist/routes/fal-webhook.d.ts.map +1 -0
  501. package/dist/routes/fal-webhook.js +379 -0
  502. package/dist/routes/fal-webhook.js.map +1 -0
  503. package/dist/routes/files.d.ts.map +1 -1
  504. package/dist/routes/files.js +4 -3
  505. package/dist/routes/files.js.map +1 -1
  506. package/dist/routes/health.d.ts +1 -0
  507. package/dist/routes/health.d.ts.map +1 -1
  508. package/dist/routes/health.js +41 -7
  509. package/dist/routes/health.js.map +1 -1
  510. package/dist/routes/integrations.d.ts +39 -0
  511. package/dist/routes/integrations.d.ts.map +1 -0
  512. package/dist/routes/integrations.js +211 -0
  513. package/dist/routes/integrations.js.map +1 -0
  514. package/dist/routes/js-scripts.d.ts +32 -0
  515. package/dist/routes/js-scripts.d.ts.map +1 -0
  516. package/dist/routes/js-scripts.js +498 -0
  517. package/dist/routes/js-scripts.js.map +1 -0
  518. package/dist/routes/kie-credits.d.ts +4 -0
  519. package/dist/routes/kie-credits.d.ts.map +1 -0
  520. package/dist/routes/kie-credits.js +93 -0
  521. package/dist/routes/kie-credits.js.map +1 -0
  522. package/dist/routes/kie-pricing.d.ts +4 -0
  523. package/dist/routes/kie-pricing.d.ts.map +1 -0
  524. package/dist/routes/kie-pricing.js +45 -0
  525. package/dist/routes/kie-pricing.js.map +1 -0
  526. package/dist/routes/kie-webhook.d.ts +4 -0
  527. package/dist/routes/kie-webhook.d.ts.map +1 -0
  528. package/dist/routes/kie-webhook.js +70 -0
  529. package/dist/routes/kie-webhook.js.map +1 -0
  530. package/dist/routes/nodes.d.ts.map +1 -1
  531. package/dist/routes/nodes.js +29 -51
  532. package/dist/routes/nodes.js.map +1 -1
  533. package/dist/routes/oauth-as.d.ts +30 -0
  534. package/dist/routes/oauth-as.d.ts.map +1 -0
  535. package/dist/routes/oauth-as.js +412 -0
  536. package/dist/routes/oauth-as.js.map +1 -0
  537. package/dist/routes/oauth.d.ts.map +1 -1
  538. package/dist/routes/openai.d.ts.map +1 -1
  539. package/dist/routes/public-apps.d.ts +27 -0
  540. package/dist/routes/public-apps.d.ts.map +1 -0
  541. package/dist/routes/public-apps.js +99 -0
  542. package/dist/routes/public-apps.js.map +1 -0
  543. package/dist/routes/public-shared-workflows.d.ts +16 -0
  544. package/dist/routes/public-shared-workflows.d.ts.map +1 -0
  545. package/dist/routes/public-shared-workflows.js +55 -0
  546. package/dist/routes/public-shared-workflows.js.map +1 -0
  547. package/dist/routes/run-spans.d.ts +4 -0
  548. package/dist/routes/run-spans.d.ts.map +1 -0
  549. package/dist/routes/run-spans.js +53 -0
  550. package/dist/routes/run-spans.js.map +1 -0
  551. package/dist/routes/sandbox-modules.d.ts +17 -0
  552. package/dist/routes/sandbox-modules.d.ts.map +1 -0
  553. package/dist/routes/sandbox-modules.js +85 -0
  554. package/dist/routes/sandbox-modules.js.map +1 -0
  555. package/dist/routes/sdk-v1.d.ts +24 -0
  556. package/dist/routes/sdk-v1.d.ts.map +1 -0
  557. package/dist/routes/sdk-v1.js +320 -0
  558. package/dist/routes/sdk-v1.js.map +1 -0
  559. package/dist/routes/storage.d.ts.map +1 -1
  560. package/dist/routes/storyboards.d.ts +16 -0
  561. package/dist/routes/storyboards.d.ts.map +1 -0
  562. package/dist/routes/storyboards.js +97 -0
  563. package/dist/routes/storyboards.js.map +1 -0
  564. package/dist/routes/timeline-animations.d.ts +23 -0
  565. package/dist/routes/timeline-animations.d.ts.map +1 -0
  566. package/dist/routes/timeline-animations.js +99 -0
  567. package/dist/routes/timeline-animations.js.map +1 -0
  568. package/dist/routes/timeline-audio-bake.d.ts +51 -0
  569. package/dist/routes/timeline-audio-bake.d.ts.map +1 -0
  570. package/dist/routes/timeline-audio-bake.js +110 -0
  571. package/dist/routes/timeline-audio-bake.js.map +1 -0
  572. package/dist/routes/timeline-fonts.d.ts +51 -0
  573. package/dist/routes/timeline-fonts.d.ts.map +1 -0
  574. package/dist/routes/timeline-fonts.js +195 -0
  575. package/dist/routes/timeline-fonts.js.map +1 -0
  576. package/dist/routes/timeline-isolate-subject.d.ts +55 -0
  577. package/dist/routes/timeline-isolate-subject.d.ts.map +1 -0
  578. package/dist/routes/timeline-isolate-subject.js +128 -0
  579. package/dist/routes/timeline-isolate-subject.js.map +1 -0
  580. package/dist/routes/timeline-track-object.d.ts +39 -0
  581. package/dist/routes/timeline-track-object.d.ts.map +1 -0
  582. package/dist/routes/timeline-track-object.js +97 -0
  583. package/dist/routes/timeline-track-object.js.map +1 -0
  584. package/dist/routes/timelines.d.ts +18 -0
  585. package/dist/routes/timelines.d.ts.map +1 -0
  586. package/dist/routes/timelines.js +191 -0
  587. package/dist/routes/timelines.js.map +1 -0
  588. package/dist/routes/workflows.d.ts +6 -9
  589. package/dist/routes/workflows.d.ts.map +1 -1
  590. package/dist/routes/workflows.js +100 -11
  591. package/dist/routes/workflows.js.map +1 -1
  592. package/dist/routes/workspace.d.ts.map +1 -1
  593. package/dist/run-supervisor.d.ts +30 -0
  594. package/dist/run-supervisor.d.ts.map +1 -0
  595. package/dist/run-supervisor.js +86 -0
  596. package/dist/run-supervisor.js.map +1 -0
  597. package/dist/sandbox-catalog.d.ts +28 -0
  598. package/dist/sandbox-catalog.d.ts.map +1 -0
  599. package/dist/sandbox-catalog.js +74 -0
  600. package/dist/sandbox-catalog.js.map +1 -0
  601. package/dist/screenshot-projects.d.ts +27 -0
  602. package/dist/screenshot-projects.d.ts.map +1 -0
  603. package/dist/screenshot-projects.js +880 -0
  604. package/dist/screenshot-projects.js.map +1 -0
  605. package/dist/screenshot-server.js +950 -47
  606. package/dist/screenshot-server.js.map +1 -1
  607. package/dist/sdk/sdk-cached-model-inventory.d.ts +21 -0
  608. package/dist/sdk/sdk-cached-model-inventory.d.ts.map +1 -0
  609. package/dist/sdk/sdk-cached-model-inventory.js +51 -0
  610. package/dist/sdk/sdk-cached-model-inventory.js.map +1 -0
  611. package/dist/sdk/sdk-capabilities-service.d.ts +32 -0
  612. package/dist/sdk/sdk-capabilities-service.d.ts.map +1 -0
  613. package/dist/sdk/sdk-capabilities-service.js +47 -0
  614. package/dist/sdk/sdk-capabilities-service.js.map +1 -0
  615. package/dist/sdk/sdk-execution-readiness-probe.d.ts +19 -0
  616. package/dist/sdk/sdk-execution-readiness-probe.d.ts.map +1 -0
  617. package/dist/sdk/sdk-execution-readiness-probe.js +90 -0
  618. package/dist/sdk/sdk-execution-readiness-probe.js.map +1 -0
  619. package/dist/sdk/sdk-execution-target-readiness.d.ts +15 -0
  620. package/dist/sdk/sdk-execution-target-readiness.d.ts.map +1 -0
  621. package/dist/sdk/sdk-execution-target-readiness.js +50 -0
  622. package/dist/sdk/sdk-execution-target-readiness.js.map +1 -0
  623. package/dist/sdk/sdk-feature-flags.d.ts +18 -0
  624. package/dist/sdk/sdk-feature-flags.d.ts.map +1 -0
  625. package/dist/sdk/sdk-feature-flags.js +30 -0
  626. package/dist/sdk/sdk-feature-flags.js.map +1 -0
  627. package/dist/sdk/sdk-huggingface-download-state.d.ts +15 -0
  628. package/dist/sdk/sdk-huggingface-download-state.d.ts.map +1 -0
  629. package/dist/sdk/sdk-huggingface-download-state.js +25 -0
  630. package/dist/sdk/sdk-huggingface-download-state.js.map +1 -0
  631. package/dist/sdk/sdk-live-runner-registry.d.ts +21 -0
  632. package/dist/sdk/sdk-live-runner-registry.d.ts.map +1 -0
  633. package/dist/sdk/sdk-live-runner-registry.js +26 -0
  634. package/dist/sdk/sdk-live-runner-registry.js.map +1 -0
  635. package/dist/sdk/sdk-model-catalog-service.d.ts +20 -0
  636. package/dist/sdk/sdk-model-catalog-service.d.ts.map +1 -0
  637. package/dist/sdk/sdk-model-catalog-service.js +219 -0
  638. package/dist/sdk/sdk-model-catalog-service.js.map +1 -0
  639. package/dist/sdk/sdk-model-download-service.d.ts +39 -0
  640. package/dist/sdk/sdk-model-download-service.d.ts.map +1 -0
  641. package/dist/sdk/sdk-model-download-service.js +277 -0
  642. package/dist/sdk/sdk-model-download-service.js.map +1 -0
  643. package/dist/sdk/sdk-model-requirement-probe.d.ts +30 -0
  644. package/dist/sdk/sdk-model-requirement-probe.d.ts.map +1 -0
  645. package/dist/sdk/sdk-model-requirement-probe.js +120 -0
  646. package/dist/sdk/sdk-model-requirement-probe.js.map +1 -0
  647. package/dist/sdk/sdk-node-package-requirement-probe.d.ts +20 -0
  648. package/dist/sdk/sdk-node-package-requirement-probe.d.ts.map +1 -0
  649. package/dist/sdk/sdk-node-package-requirement-probe.js +44 -0
  650. package/dist/sdk/sdk-node-package-requirement-probe.js.map +1 -0
  651. package/dist/sdk/sdk-node-type-inventory-service.d.ts +11 -0
  652. package/dist/sdk/sdk-node-type-inventory-service.d.ts.map +1 -0
  653. package/dist/sdk/sdk-node-type-inventory-service.js +36 -0
  654. package/dist/sdk/sdk-node-type-inventory-service.js.map +1 -0
  655. package/dist/sdk/sdk-preflight-orchestrator.d.ts +54 -0
  656. package/dist/sdk/sdk-preflight-orchestrator.d.ts.map +1 -0
  657. package/dist/sdk/sdk-preflight-orchestrator.js +63 -0
  658. package/dist/sdk/sdk-preflight-orchestrator.js.map +1 -0
  659. package/dist/sdk/sdk-preflight-requirement-resolver.d.ts +35 -0
  660. package/dist/sdk/sdk-preflight-requirement-resolver.d.ts.map +1 -0
  661. package/dist/sdk/sdk-preflight-requirement-resolver.js +67 -0
  662. package/dist/sdk/sdk-preflight-requirement-resolver.js.map +1 -0
  663. package/dist/sdk/sdk-preflight-service.d.ts +61 -0
  664. package/dist/sdk/sdk-preflight-service.d.ts.map +1 -0
  665. package/dist/sdk/sdk-preflight-service.js +104 -0
  666. package/dist/sdk/sdk-preflight-service.js.map +1 -0
  667. package/dist/sdk/sdk-preflight-workflow-source.d.ts +18 -0
  668. package/dist/sdk/sdk-preflight-workflow-source.d.ts.map +1 -0
  669. package/dist/sdk/sdk-preflight-workflow-source.js +42 -0
  670. package/dist/sdk/sdk-preflight-workflow-source.js.map +1 -0
  671. package/dist/sdk/sdk-route-policy.d.ts +3 -0
  672. package/dist/sdk/sdk-route-policy.d.ts.map +1 -0
  673. package/dist/sdk/sdk-route-policy.js +18 -0
  674. package/dist/sdk/sdk-route-policy.js.map +1 -0
  675. package/dist/sdk/sdk-runtime-capabilities-service.d.ts +60 -0
  676. package/dist/sdk/sdk-runtime-capabilities-service.d.ts.map +1 -0
  677. package/dist/sdk/sdk-runtime-capabilities-service.js +30 -0
  678. package/dist/sdk/sdk-runtime-capabilities-service.js.map +1 -0
  679. package/dist/sdk/sdk-runtime-requirement-probe.d.ts +13 -0
  680. package/dist/sdk/sdk-runtime-requirement-probe.d.ts.map +1 -0
  681. package/dist/sdk/sdk-runtime-requirement-probe.js +55 -0
  682. package/dist/sdk/sdk-runtime-requirement-probe.js.map +1 -0
  683. package/dist/sdk/sdk-static-preflight-service.d.ts +66 -0
  684. package/dist/sdk/sdk-static-preflight-service.d.ts.map +1 -0
  685. package/dist/sdk/sdk-static-preflight-service.js +492 -0
  686. package/dist/sdk/sdk-static-preflight-service.js.map +1 -0
  687. package/dist/sdk/sdk-temporary-asset-service.d.ts +18 -0
  688. package/dist/sdk/sdk-temporary-asset-service.d.ts.map +1 -0
  689. package/dist/sdk/sdk-temporary-asset-service.js +33 -0
  690. package/dist/sdk/sdk-temporary-asset-service.js.map +1 -0
  691. package/dist/sdk/sdk-temporary-asset-upload-http-handler.d.ts +9 -0
  692. package/dist/sdk/sdk-temporary-asset-upload-http-handler.d.ts.map +1 -0
  693. package/dist/sdk/sdk-temporary-asset-upload-http-handler.js +65 -0
  694. package/dist/sdk/sdk-temporary-asset-upload-http-handler.js.map +1 -0
  695. package/dist/sdk/sdk-v1-handler-map.d.ts +44 -0
  696. package/dist/sdk/sdk-v1-handler-map.d.ts.map +1 -0
  697. package/dist/sdk/sdk-v1-handler-map.js +37 -0
  698. package/dist/sdk/sdk-v1-handler-map.js.map +1 -0
  699. package/dist/sdk/sdk-v1-service-error.d.ts +21 -0
  700. package/dist/sdk/sdk-v1-service-error.d.ts.map +1 -0
  701. package/dist/sdk/sdk-v1-service-error.js +62 -0
  702. package/dist/sdk/sdk-v1-service-error.js.map +1 -0
  703. package/dist/sdk/sdk-v1-service.d.ts +74 -0
  704. package/dist/sdk/sdk-v1-service.d.ts.map +1 -0
  705. package/dist/sdk/sdk-v1-service.js +219 -0
  706. package/dist/sdk/sdk-v1-service.js.map +1 -0
  707. package/dist/sdk/sdk-worker-readiness-adapter.d.ts +22 -0
  708. package/dist/sdk/sdk-worker-readiness-adapter.d.ts.map +1 -0
  709. package/dist/sdk/sdk-worker-readiness-adapter.js +29 -0
  710. package/dist/sdk/sdk-worker-readiness-adapter.js.map +1 -0
  711. package/dist/server.js +1091 -206
  712. package/dist/server.js.map +1 -1
  713. package/dist/session/app-run-fold.d.ts +7 -0
  714. package/dist/session/app-run-fold.d.ts.map +1 -0
  715. package/dist/session/app-run-fold.js +45 -0
  716. package/dist/session/app-run-fold.js.map +1 -0
  717. package/dist/session/asset-autosave.d.ts +80 -0
  718. package/dist/session/asset-autosave.d.ts.map +1 -0
  719. package/dist/session/asset-autosave.js +456 -0
  720. package/dist/session/asset-autosave.js.map +1 -0
  721. package/dist/session/chat-compaction.d.ts +107 -0
  722. package/dist/session/chat-compaction.d.ts.map +1 -0
  723. package/dist/session/chat-compaction.js +191 -0
  724. package/dist/session/chat-compaction.js.map +1 -0
  725. package/dist/session/chat-history.d.ts +75 -0
  726. package/dist/session/chat-history.d.ts.map +1 -0
  727. package/dist/session/chat-history.js +194 -0
  728. package/dist/session/chat-history.js.map +1 -0
  729. package/dist/session/chat-prompt.d.ts +45 -0
  730. package/dist/session/chat-prompt.d.ts.map +1 -0
  731. package/dist/session/chat-prompt.js +502 -0
  732. package/dist/session/chat-prompt.js.map +1 -0
  733. package/dist/session/chat-turn.d.ts +337 -0
  734. package/dist/session/chat-turn.d.ts.map +1 -0
  735. package/dist/session/chat-turn.js +3612 -0
  736. package/dist/session/chat-turn.js.map +1 -0
  737. package/dist/session/client-session.d.ts +59 -0
  738. package/dist/session/client-session.d.ts.map +1 -0
  739. package/dist/session/client-session.js +2 -0
  740. package/dist/session/client-session.js.map +1 -0
  741. package/dist/session/commands.d.ts +133 -0
  742. package/dist/session/commands.d.ts.map +1 -0
  743. package/dist/session/commands.js +784 -0
  744. package/dist/session/commands.js.map +1 -0
  745. package/dist/session/inference.d.ts +218 -0
  746. package/dist/session/inference.d.ts.map +1 -0
  747. package/dist/session/inference.js +1143 -0
  748. package/dist/session/inference.js.map +1 -0
  749. package/dist/session/job-execution.d.ts +484 -0
  750. package/dist/session/job-execution.d.ts.map +1 -0
  751. package/dist/session/job-execution.js +2379 -0
  752. package/dist/session/job-execution.js.map +1 -0
  753. package/dist/session/media-generation.d.ts +94 -0
  754. package/dist/session/media-generation.d.ts.map +1 -0
  755. package/dist/session/media-generation.js +234 -0
  756. package/dist/session/media-generation.js.map +1 -0
  757. package/dist/session/model-interfaces.d.ts +28 -0
  758. package/dist/session/model-interfaces.d.ts.map +1 -0
  759. package/dist/session/model-interfaces.js +133 -0
  760. package/dist/session/model-interfaces.js.map +1 -0
  761. package/dist/session/sanitize.d.ts +7 -0
  762. package/dist/session/sanitize.d.ts.map +1 -0
  763. package/dist/session/sanitize.js +64 -0
  764. package/dist/session/sanitize.js.map +1 -0
  765. package/dist/settings-registry.d.ts +6 -15
  766. package/dist/settings-registry.d.ts.map +1 -1
  767. package/dist/settings-registry.js +6 -103
  768. package/dist/settings-registry.js.map +1 -1
  769. package/dist/storage-api.d.ts +20 -0
  770. package/dist/storage-api.d.ts.map +1 -1
  771. package/dist/storage-api.js +260 -77
  772. package/dist/storage-api.js.map +1 -1
  773. package/dist/storage-retention.d.ts +14 -0
  774. package/dist/storage-retention.d.ts.map +1 -0
  775. package/dist/storage-retention.js +95 -0
  776. package/dist/storage-retention.js.map +1 -0
  777. package/dist/system-stats.d.ts +52 -0
  778. package/dist/system-stats.d.ts.map +1 -0
  779. package/dist/system-stats.js +134 -0
  780. package/dist/system-stats.js.map +1 -0
  781. package/dist/test-ui-server.d.ts +46 -0
  782. package/dist/test-ui-server.d.ts.map +1 -1
  783. package/dist/test-ui-server.js +207 -42
  784. package/dist/test-ui-server.js.map +1 -1
  785. package/dist/timeline-generation-recovery.d.ts +4 -0
  786. package/dist/timeline-generation-recovery.d.ts.map +1 -0
  787. package/dist/timeline-generation-recovery.js +72 -0
  788. package/dist/timeline-generation-recovery.js.map +1 -0
  789. package/dist/triggers/boot.d.ts +73 -0
  790. package/dist/triggers/boot.d.ts.map +1 -0
  791. package/dist/triggers/boot.js +149 -0
  792. package/dist/triggers/boot.js.map +1 -0
  793. package/dist/triggers/dispatcher.d.ts +234 -0
  794. package/dist/triggers/dispatcher.d.ts.map +1 -0
  795. package/dist/triggers/dispatcher.js +525 -0
  796. package/dist/triggers/dispatcher.js.map +1 -0
  797. package/dist/triggers/file-watch.d.ts +90 -0
  798. package/dist/triggers/file-watch.d.ts.map +1 -0
  799. package/dist/triggers/file-watch.js +405 -0
  800. package/dist/triggers/file-watch.js.map +1 -0
  801. package/dist/triggers/registration-sync.d.ts +34 -0
  802. package/dist/triggers/registration-sync.d.ts.map +1 -0
  803. package/dist/triggers/registration-sync.js +162 -0
  804. package/dist/triggers/registration-sync.js.map +1 -0
  805. package/dist/triggers/schedule-timing.d.ts +52 -0
  806. package/dist/triggers/schedule-timing.d.ts.map +1 -0
  807. package/dist/triggers/schedule-timing.js +90 -0
  808. package/dist/triggers/schedule-timing.js.map +1 -0
  809. package/dist/triggers/scheduler.d.ts +55 -0
  810. package/dist/triggers/scheduler.d.ts.map +1 -0
  811. package/dist/triggers/scheduler.js +122 -0
  812. package/dist/triggers/scheduler.js.map +1 -0
  813. package/dist/triggers/settle.d.ts +66 -0
  814. package/dist/triggers/settle.d.ts.map +1 -0
  815. package/dist/triggers/settle.js +99 -0
  816. package/dist/triggers/settle.js.map +1 -0
  817. package/dist/triggers/stores.d.ts +38 -0
  818. package/dist/triggers/stores.d.ts.map +1 -0
  819. package/dist/triggers/stores.js +168 -0
  820. package/dist/triggers/stores.js.map +1 -0
  821. package/dist/triggers/webhook-route.d.ts +49 -0
  822. package/dist/triggers/webhook-route.d.ts.map +1 -0
  823. package/dist/triggers/webhook-route.js +148 -0
  824. package/dist/triggers/webhook-route.js.map +1 -0
  825. package/dist/trpc/context.d.ts +52 -5
  826. package/dist/trpc/context.d.ts.map +1 -1
  827. package/dist/trpc/context.js +4 -1
  828. package/dist/trpc/context.js.map +1 -1
  829. package/dist/trpc/error-formatter.d.ts.map +1 -1
  830. package/dist/trpc/error-formatter.js +23 -2
  831. package/dist/trpc/error-formatter.js.map +1 -1
  832. package/dist/trpc/error-logging.d.ts +24 -0
  833. package/dist/trpc/error-logging.d.ts.map +1 -0
  834. package/dist/trpc/error-logging.js +48 -0
  835. package/dist/trpc/error-logging.js.map +1 -0
  836. package/dist/trpc/index.d.ts +2 -2
  837. package/dist/trpc/index.d.ts.map +1 -1
  838. package/dist/trpc/index.js +0 -2
  839. package/dist/trpc/index.js.map +1 -1
  840. package/dist/trpc/middleware.d.ts +6 -3
  841. package/dist/trpc/middleware.d.ts.map +1 -1
  842. package/dist/trpc/router.d.ts +100 -2540
  843. package/dist/trpc/router.d.ts.map +1 -1
  844. package/dist/trpc/router.js +58 -6
  845. package/dist/trpc/router.js.map +1 -1
  846. package/dist/trpc/routers/agent-access.d.ts +149 -0
  847. package/dist/trpc/routers/agent-access.d.ts.map +1 -0
  848. package/dist/trpc/routers/agent-access.js +224 -0
  849. package/dist/trpc/routers/agent-access.js.map +1 -0
  850. package/dist/trpc/routers/app-instances.d.ts +2269 -0
  851. package/dist/trpc/routers/app-instances.d.ts.map +1 -0
  852. package/dist/trpc/routers/app-instances.js +52 -0
  853. package/dist/trpc/routers/app-instances.js.map +1 -0
  854. package/dist/trpc/routers/app-runs.d.ts +1092 -0
  855. package/dist/trpc/routers/app-runs.d.ts.map +1 -0
  856. package/dist/trpc/routers/app-runs.js +28 -0
  857. package/dist/trpc/routers/app-runs.js.map +1 -0
  858. package/dist/trpc/routers/applications.d.ts +2212 -0
  859. package/dist/trpc/routers/applications.d.ts.map +1 -0
  860. package/dist/trpc/routers/applications.js +221 -0
  861. package/dist/trpc/routers/applications.js.map +1 -0
  862. package/dist/trpc/routers/assets.d.ts +194 -42
  863. package/dist/trpc/routers/assets.d.ts.map +1 -1
  864. package/dist/trpc/routers/assets.js +503 -105
  865. package/dist/trpc/routers/assets.js.map +1 -1
  866. package/dist/trpc/routers/bug-reports.d.ts +33 -0
  867. package/dist/trpc/routers/bug-reports.d.ts.map +1 -0
  868. package/dist/trpc/routers/bug-reports.js +69 -0
  869. package/dist/trpc/routers/bug-reports.js.map +1 -0
  870. package/dist/trpc/routers/code-gen.d.ts +99 -0
  871. package/dist/trpc/routers/code-gen.d.ts.map +1 -0
  872. package/dist/trpc/routers/code-gen.js +164 -0
  873. package/dist/trpc/routers/code-gen.js.map +1 -0
  874. package/dist/trpc/routers/collections.d.ts +1 -26
  875. package/dist/trpc/routers/collections.d.ts.map +1 -1
  876. package/dist/trpc/routers/collections.js +145 -78
  877. package/dist/trpc/routers/collections.js.map +1 -1
  878. package/dist/trpc/routers/costs.d.ts +40 -96
  879. package/dist/trpc/routers/costs.d.ts.map +1 -1
  880. package/dist/trpc/routers/costs.js +14 -89
  881. package/dist/trpc/routers/costs.js.map +1 -1
  882. package/dist/trpc/routers/credits.d.ts +110 -0
  883. package/dist/trpc/routers/credits.d.ts.map +1 -0
  884. package/dist/trpc/routers/credits.js +69 -0
  885. package/dist/trpc/routers/credits.js.map +1 -0
  886. package/dist/trpc/routers/custom-providers.d.ts +88 -0
  887. package/dist/trpc/routers/custom-providers.d.ts.map +1 -0
  888. package/dist/trpc/routers/custom-providers.js +140 -0
  889. package/dist/trpc/routers/custom-providers.js.map +1 -0
  890. package/dist/trpc/routers/documents.d.ts +61 -0
  891. package/dist/trpc/routers/documents.d.ts.map +1 -0
  892. package/dist/trpc/routers/documents.js +29 -0
  893. package/dist/trpc/routers/documents.js.map +1 -0
  894. package/dist/trpc/routers/error-traces.d.ts +132 -0
  895. package/dist/trpc/routers/error-traces.d.ts.map +1 -0
  896. package/dist/trpc/routers/error-traces.js +118 -0
  897. package/dist/trpc/routers/error-traces.js.map +1 -0
  898. package/dist/trpc/routers/extension.d.ts +24 -0
  899. package/dist/trpc/routers/extension.d.ts.map +1 -0
  900. package/dist/trpc/routers/extension.js +28 -0
  901. package/dist/trpc/routers/extension.js.map +1 -0
  902. package/dist/trpc/routers/external-mcp.d.ts +108 -0
  903. package/dist/trpc/routers/external-mcp.d.ts.map +1 -0
  904. package/dist/trpc/routers/external-mcp.js +70 -0
  905. package/dist/trpc/routers/external-mcp.js.map +1 -0
  906. package/dist/trpc/routers/files.d.ts +9 -2
  907. package/dist/trpc/routers/files.d.ts.map +1 -1
  908. package/dist/trpc/routers/files.js +67 -37
  909. package/dist/trpc/routers/files.js.map +1 -1
  910. package/dist/trpc/routers/fonts.d.ts +30 -0
  911. package/dist/trpc/routers/fonts.d.ts.map +1 -0
  912. package/dist/trpc/routers/fonts.js +112 -0
  913. package/dist/trpc/routers/fonts.js.map +1 -0
  914. package/dist/trpc/routers/gameDraftHistory.d.ts +8 -0
  915. package/dist/trpc/routers/gameDraftHistory.d.ts.map +1 -0
  916. package/dist/trpc/routers/gameDraftHistory.js +40 -0
  917. package/dist/trpc/routers/gameDraftHistory.js.map +1 -0
  918. package/dist/trpc/routers/games.d.ts +26502 -0
  919. package/dist/trpc/routers/games.d.ts.map +1 -0
  920. package/dist/trpc/routers/games.js +674 -0
  921. package/dist/trpc/routers/games.js.map +1 -0
  922. package/dist/trpc/routers/integrations.d.ts +86 -0
  923. package/dist/trpc/routers/integrations.d.ts.map +1 -0
  924. package/dist/trpc/routers/integrations.js +129 -0
  925. package/dist/trpc/routers/integrations.js.map +1 -0
  926. package/dist/trpc/routers/jobs.d.ts +117 -21
  927. package/dist/trpc/routers/jobs.d.ts.map +1 -1
  928. package/dist/trpc/routers/jobs.js +191 -30
  929. package/dist/trpc/routers/jobs.js.map +1 -1
  930. package/dist/trpc/routers/js-scripts.d.ts +410 -0
  931. package/dist/trpc/routers/js-scripts.d.ts.map +1 -0
  932. package/dist/trpc/routers/js-scripts.js +303 -0
  933. package/dist/trpc/routers/js-scripts.js.map +1 -0
  934. package/dist/trpc/routers/mcp-config.d.ts +4 -2
  935. package/dist/trpc/routers/mcp-config.d.ts.map +1 -1
  936. package/dist/trpc/routers/mcp-config.js +46 -206
  937. package/dist/trpc/routers/mcp-config.js.map +1 -1
  938. package/dist/trpc/routers/memories.d.ts +79 -0
  939. package/dist/trpc/routers/memories.d.ts.map +1 -0
  940. package/dist/trpc/routers/memories.js +66 -0
  941. package/dist/trpc/routers/memories.js.map +1 -0
  942. package/dist/trpc/routers/messages.d.ts +4 -77
  943. package/dist/trpc/routers/messages.d.ts.map +1 -1
  944. package/dist/trpc/routers/messages.js +9 -58
  945. package/dist/trpc/routers/messages.js.map +1 -1
  946. package/dist/trpc/routers/models.d.ts +1544 -249
  947. package/dist/trpc/routers/models.d.ts.map +1 -1
  948. package/dist/trpc/routers/models.js +624 -318
  949. package/dist/trpc/routers/models.js.map +1 -1
  950. package/dist/trpc/routers/nodes.d.ts +32 -16
  951. package/dist/trpc/routers/nodes.d.ts.map +1 -1
  952. package/dist/trpc/routers/nodes.js +70 -31
  953. package/dist/trpc/routers/nodes.js.map +1 -1
  954. package/dist/trpc/routers/packs.d.ts +184 -0
  955. package/dist/trpc/routers/packs.d.ts.map +1 -0
  956. package/dist/trpc/routers/packs.js +259 -0
  957. package/dist/trpc/routers/packs.js.map +1 -0
  958. package/dist/trpc/routers/projects.d.ts +422 -0
  959. package/dist/trpc/routers/projects.d.ts.map +1 -0
  960. package/dist/trpc/routers/projects.js +373 -0
  961. package/dist/trpc/routers/projects.js.map +1 -0
  962. package/dist/trpc/routers/resources.d.ts +120 -0
  963. package/dist/trpc/routers/resources.d.ts.map +1 -0
  964. package/dist/trpc/routers/resources.js +212 -0
  965. package/dist/trpc/routers/resources.js.map +1 -0
  966. package/dist/trpc/routers/runs.d.ts +472 -0
  967. package/dist/trpc/routers/runs.d.ts.map +1 -0
  968. package/dist/trpc/routers/runs.js +40 -0
  969. package/dist/trpc/routers/runs.js.map +1 -0
  970. package/dist/trpc/routers/scripts.d.ts +1116 -0
  971. package/dist/trpc/routers/scripts.d.ts.map +1 -0
  972. package/dist/trpc/routers/scripts.js +131 -0
  973. package/dist/trpc/routers/scripts.js.map +1 -0
  974. package/dist/trpc/routers/segmentation.d.ts +62 -0
  975. package/dist/trpc/routers/segmentation.d.ts.map +1 -0
  976. package/dist/trpc/routers/segmentation.js +146 -0
  977. package/dist/trpc/routers/segmentation.js.map +1 -0
  978. package/dist/trpc/routers/settings.d.ts +180 -10
  979. package/dist/trpc/routers/settings.d.ts.map +1 -1
  980. package/dist/trpc/routers/settings.js +125 -33
  981. package/dist/trpc/routers/settings.js.map +1 -1
  982. package/dist/trpc/routers/sketch.d.ts +868 -0
  983. package/dist/trpc/routers/sketch.d.ts.map +1 -0
  984. package/dist/trpc/routers/sketch.js +617 -0
  985. package/dist/trpc/routers/sketch.js.map +1 -0
  986. package/dist/trpc/routers/skills.d.ts +76 -22
  987. package/dist/trpc/routers/skills.d.ts.map +1 -1
  988. package/dist/trpc/routers/skills.js +195 -170
  989. package/dist/trpc/routers/skills.js.map +1 -1
  990. package/dist/trpc/routers/storage.d.ts +3 -30
  991. package/dist/trpc/routers/storage.d.ts.map +1 -1
  992. package/dist/trpc/routers/storage.js +60 -117
  993. package/dist/trpc/routers/storage.js.map +1 -1
  994. package/dist/trpc/routers/storyboards.d.ts +6639 -0
  995. package/dist/trpc/routers/storyboards.d.ts.map +1 -0
  996. package/dist/trpc/routers/storyboards.js +156 -0
  997. package/dist/trpc/routers/storyboards.js.map +1 -0
  998. package/dist/trpc/routers/threads.d.ts +33 -21
  999. package/dist/trpc/routers/threads.d.ts.map +1 -1
  1000. package/dist/trpc/routers/threads.js +36 -30
  1001. package/dist/trpc/routers/threads.js.map +1 -1
  1002. package/dist/trpc/routers/timeline.d.ts +9085 -0
  1003. package/dist/trpc/routers/timeline.d.ts.map +1 -0
  1004. package/dist/trpc/routers/timeline.js +669 -0
  1005. package/dist/trpc/routers/timeline.js.map +1 -0
  1006. package/dist/trpc/routers/triggers.d.ts +46 -0
  1007. package/dist/trpc/routers/triggers.d.ts.map +1 -0
  1008. package/dist/trpc/routers/triggers.js +117 -0
  1009. package/dist/trpc/routers/triggers.js.map +1 -0
  1010. package/dist/trpc/routers/users.d.ts +1 -14
  1011. package/dist/trpc/routers/users.d.ts.map +1 -1
  1012. package/dist/trpc/routers/users.js +1 -12
  1013. package/dist/trpc/routers/users.js.map +1 -1
  1014. package/dist/trpc/routers/worker.d.ts +243 -0
  1015. package/dist/trpc/routers/worker.d.ts.map +1 -0
  1016. package/dist/trpc/routers/worker.js +221 -0
  1017. package/dist/trpc/routers/worker.js.map +1 -0
  1018. package/dist/trpc/routers/workflows.d.ts +428 -187
  1019. package/dist/trpc/routers/workflows.d.ts.map +1 -1
  1020. package/dist/trpc/routers/workflows.js +347 -345
  1021. package/dist/trpc/routers/workflows.js.map +1 -1
  1022. package/dist/trpc/routers/workspace.d.ts +59 -33
  1023. package/dist/trpc/routers/workspace.d.ts.map +1 -1
  1024. package/dist/trpc/routers/workspace.js +230 -93
  1025. package/dist/trpc/routers/workspace.js.map +1 -1
  1026. package/dist/trpc/sandbox-coverage.d.ts +64 -0
  1027. package/dist/trpc/sandbox-coverage.d.ts.map +1 -0
  1028. package/dist/trpc/sandbox-coverage.js +1139 -0
  1029. package/dist/trpc/sandbox-coverage.js.map +1 -0
  1030. package/dist/websocket-client-session.d.ts +322 -0
  1031. package/dist/websocket-client-session.d.ts.map +1 -0
  1032. package/dist/websocket-client-session.js +1267 -0
  1033. package/dist/websocket-client-session.js.map +1 -0
  1034. package/dist/workflow-interface-service.d.ts +87 -0
  1035. package/dist/workflow-interface-service.d.ts.map +1 -0
  1036. package/dist/workflow-interface-service.js +131 -0
  1037. package/dist/workflow-interface-service.js.map +1 -0
  1038. package/dist/workspace-api.d.ts.map +1 -1
  1039. package/dist/workspace-api.js +33 -23
  1040. package/dist/workspace-api.js.map +1 -1
  1041. package/dist/ws-adapter.d.ts +46 -3
  1042. package/dist/ws-adapter.d.ts.map +1 -1
  1043. package/dist/ws-adapter.js +164 -26
  1044. package/dist/ws-adapter.js.map +1 -1
  1045. package/package.json +97 -36
  1046. package/dist/agent/agent-runtime.d.ts +0 -47
  1047. package/dist/agent/agent-runtime.d.ts.map +0 -1
  1048. package/dist/agent/agent-runtime.js +0 -579
  1049. package/dist/agent/agent-runtime.js.map +0 -1
  1050. package/dist/agent/codex-agent.d.ts +0 -41
  1051. package/dist/agent/codex-agent.d.ts.map +0 -1
  1052. package/dist/agent/codex-agent.js +0 -334
  1053. package/dist/agent/codex-agent.js.map +0 -1
  1054. package/dist/agent/index.d.ts +0 -6
  1055. package/dist/agent/index.d.ts.map +0 -1
  1056. package/dist/agent/index.js +0 -4
  1057. package/dist/agent/index.js.map +0 -1
  1058. package/dist/agent/llm-agent.d.ts +0 -51
  1059. package/dist/agent/llm-agent.d.ts.map +0 -1
  1060. package/dist/agent/llm-agent.js +0 -526
  1061. package/dist/agent/llm-agent.js.map +0 -1
  1062. package/dist/agent/mcp-tool-server.d.ts +0 -33
  1063. package/dist/agent/mcp-tool-server.d.ts.map +0 -1
  1064. package/dist/agent/mcp-tool-server.js +0 -292
  1065. package/dist/agent/mcp-tool-server.js.map +0 -1
  1066. package/dist/agent/opencode-agent.d.ts +0 -32
  1067. package/dist/agent/opencode-agent.d.ts.map +0 -1
  1068. package/dist/agent/opencode-agent.js +0 -332
  1069. package/dist/agent/opencode-agent.js.map +0 -1
  1070. package/dist/agent/pi-agent.d.ts +0 -42
  1071. package/dist/agent/pi-agent.d.ts.map +0 -1
  1072. package/dist/agent/pi-agent.js +0 -429
  1073. package/dist/agent/pi-agent.js.map +0 -1
  1074. package/dist/agent/sdk-provider.d.ts +0 -46
  1075. package/dist/agent/sdk-provider.d.ts.map +0 -1
  1076. package/dist/agent/sdk-provider.js +0 -50
  1077. package/dist/agent/sdk-provider.js.map +0 -1
  1078. package/dist/agent/socket-route.d.ts +0 -11
  1079. package/dist/agent/socket-route.d.ts.map +0 -1
  1080. package/dist/agent/socket-route.js +0 -262
  1081. package/dist/agent/socket-route.js.map +0 -1
  1082. package/dist/agent/transport.d.ts +0 -39
  1083. package/dist/agent/transport.d.ts.map +0 -1
  1084. package/dist/agent/transport.js +0 -17
  1085. package/dist/agent/transport.js.map +0 -1
  1086. package/dist/agent/types.d.ts +0 -11
  1087. package/dist/agent/types.d.ts.map +0 -1
  1088. package/dist/agent/types.js +0 -10
  1089. package/dist/agent/types.js.map +0 -1
  1090. package/dist/routes/jobs.d.ts +0 -16
  1091. package/dist/routes/jobs.d.ts.map +0 -1
  1092. package/dist/routes/jobs.js +0 -25
  1093. package/dist/routes/jobs.js.map +0 -1
  1094. package/dist/trpc/routers/sandboxes.d.ts +0 -64
  1095. package/dist/trpc/routers/sandboxes.d.ts.map +0 -1
  1096. package/dist/trpc/routers/sandboxes.js +0 -327
  1097. package/dist/trpc/routers/sandboxes.js.map +0 -1
  1098. package/dist/unified-websocket-runner.d.ts +0 -280
  1099. package/dist/unified-websocket-runner.d.ts.map +0 -1
  1100. package/dist/unified-websocket-runner.js +0 -3840
  1101. package/dist/unified-websocket-runner.js.map +0 -1
@@ -0,0 +1,2212 @@
1
+ /**
2
+ * Applications router — tRPC.
3
+ *
4
+ * An application is a mini app's own record: a UI document plus typed bindings
5
+ * to workflow operations, resources, and variables. Legacy apps live on
6
+ * `workflow.app_doc`; `create({ fromWorkflowId })` imports one, binding the
7
+ * host workflow as the app's first operation.
8
+ *
9
+ * Procedures:
10
+ * list (query) — ApplicationListItem[]
11
+ * get (query) — ApplicationResponse
12
+ * create (mutation) — ApplicationResponse
13
+ * update (mutation) — ApplicationResponse (CAS via baseUpdatedAt)
14
+ * delete (mutation) — { ok: true }
15
+ * publish (mutation) — ApplicationVersionResponse
16
+ * versions (query) — ApplicationVersionResponse[]
17
+ * release (mutation) — ApplicationVersionResponse (publish or rollback)
18
+ * released (query) — ApplicationVersionResponse | null
19
+ * releasedDocument (query) — ApplicationReleaseResponse | null
20
+ * (the snapshot plus the graphs it is pinned to)
21
+ *
22
+ * Public deployment, for an app shared by URL rather than by account:
23
+ * deployment/deploy/undeploy — the hidden link the release is served from
24
+ *
25
+ * Spend governance, for apps published to people other than their author:
26
+ * budget/setBudget — the app-scoped ceiling
27
+ * usage — spend in the budget's current window
28
+ * beginInvocation — check the budget, then record the run
29
+ * settleInvocation — close the run out at its actual cost
30
+ * invocations — the release telemetry ledger
31
+ */
32
+ export declare const applicationsRouter: import("@trpc/server").TRPCBuiltRouter<{
33
+ ctx: import("../context.js").Context;
34
+ meta: object;
35
+ errorShape: import("../error-formatter.js").ApiErrorShape;
36
+ transformer: false;
37
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
38
+ list: import("@trpc/server").TRPCQueryProcedure<{
39
+ input: {
40
+ projectId?: string | undefined;
41
+ workflowId?: string | undefined;
42
+ };
43
+ output: {
44
+ id: string;
45
+ projectId: string;
46
+ name: string;
47
+ description: string;
48
+ operationCount: number;
49
+ isRecipe: boolean;
50
+ recipeSlug: string | null;
51
+ recipeCategory: string | null;
52
+ updatedAt: string;
53
+ }[];
54
+ meta: object;
55
+ }>;
56
+ get: import("@trpc/server").TRPCQueryProcedure<{
57
+ input: {
58
+ id: string;
59
+ };
60
+ output: {
61
+ id: string;
62
+ projectId: string;
63
+ name: string;
64
+ description: string;
65
+ document: {
66
+ schemaVersion: number;
67
+ ui: {
68
+ [x: string]: unknown;
69
+ root: {
70
+ props?: Record<string, unknown> | undefined;
71
+ };
72
+ content: unknown[];
73
+ zones?: Record<string, unknown[]> | undefined;
74
+ };
75
+ operations: {
76
+ id: string;
77
+ name: string;
78
+ workflowId: string;
79
+ workflowVersion?: number | undefined;
80
+ target?: {
81
+ kind: "workflow";
82
+ workflowId: string;
83
+ workflowVersion?: number | undefined;
84
+ } | {
85
+ kind: "script";
86
+ scriptId: string;
87
+ scriptVersion: number;
88
+ } | undefined;
89
+ inputs: Record<string, {
90
+ from: "widget";
91
+ } | {
92
+ from: "variable";
93
+ variableId: string;
94
+ } | {
95
+ from: "constant";
96
+ value?: unknown;
97
+ } | {
98
+ from: "resource";
99
+ resourceBindingId: string;
100
+ }>;
101
+ outputs: Record<string, {
102
+ to: "display";
103
+ } | {
104
+ to: "variable";
105
+ variableId: string;
106
+ }>;
107
+ policy: "parallel" | "queue" | "replace";
108
+ timeoutMs?: number | undefined;
109
+ }[];
110
+ resources: {
111
+ id: string;
112
+ name: string;
113
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
114
+ scope: {
115
+ projectId?: string | undefined;
116
+ fixedId?: string | undefined;
117
+ };
118
+ operations: ("create" | "delete" | "read" | "update")[];
119
+ }[];
120
+ variables: {
121
+ id: string;
122
+ name: string;
123
+ type?: {
124
+ type: string;
125
+ optional?: boolean | undefined;
126
+ } | null | undefined;
127
+ default?: unknown;
128
+ scope: "instance" | "user";
129
+ persist: boolean;
130
+ }[];
131
+ theme?: {
132
+ id: string;
133
+ } | undefined;
134
+ recipe?: {
135
+ schemaVersion: 1;
136
+ slug: string;
137
+ category?: string | undefined;
138
+ tags?: string[] | undefined;
139
+ inputs: {
140
+ id: string;
141
+ label: string;
142
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
143
+ required: boolean;
144
+ description?: string | undefined;
145
+ choices?: {
146
+ value: string;
147
+ title: string;
148
+ description?: string | undefined;
149
+ image?: string | undefined;
150
+ }[] | undefined;
151
+ }[];
152
+ defaults?: Record<string, unknown> | undefined;
153
+ creativeStrategy?: {
154
+ objective?: string | undefined;
155
+ structure?: string | undefined;
156
+ direction?: string | undefined;
157
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
158
+ shots?: {
159
+ id: string;
160
+ title: string;
161
+ durationSeconds: number;
162
+ elements: {
163
+ id: string;
164
+ inputId?: string | undefined;
165
+ kind: "asset" | "shape" | "text";
166
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
167
+ direction?: string | undefined;
168
+ frame?: {
169
+ box: [number, number, number, number];
170
+ fit?: "contain" | "cover" | undefined;
171
+ align?: {
172
+ x?: "center" | "end" | "start" | undefined;
173
+ y?: "center" | "end" | "start" | undefined;
174
+ } | undefined;
175
+ clip?: boolean | undefined;
176
+ } | undefined;
177
+ typography?: {
178
+ size?: number | undefined;
179
+ weight?: 400 | 500 | 600 | 700 | undefined;
180
+ align?: "center" | "left" | "right" | undefined;
181
+ maxLines?: number | undefined;
182
+ } | undefined;
183
+ lock?: ("crop" | "position" | "scale")[] | undefined;
184
+ limits?: {
185
+ x?: number | undefined;
186
+ y?: number | undefined;
187
+ scale?: number | undefined;
188
+ } | undefined;
189
+ style?: {
190
+ fill?: string | undefined;
191
+ stroke?: string | undefined;
192
+ strokeWidth?: number | undefined;
193
+ cornerRadius?: number | undefined;
194
+ } | undefined;
195
+ fallback?: {
196
+ prompt: string;
197
+ } | undefined;
198
+ }[];
199
+ reviewRules?: string[] | undefined;
200
+ }[] | undefined;
201
+ reviewRules?: string[] | undefined;
202
+ } | undefined;
203
+ preservationRules?: {
204
+ inputId: string;
205
+ policy: "exact_asset" | "exact_color" | "exact_text";
206
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
207
+ }[] | undefined;
208
+ mediaPolicy?: {
209
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
210
+ allowGeneratedVideo?: boolean | undefined;
211
+ } | undefined;
212
+ operations: {
213
+ id: string;
214
+ bindingId: string;
215
+ intent: string;
216
+ version?: number | undefined;
217
+ strategy?: "agentic" | "deterministic" | undefined;
218
+ model?: {
219
+ provider: string;
220
+ id: string;
221
+ } | undefined;
222
+ }[];
223
+ outputs: {
224
+ id: string;
225
+ kind: "asset" | "storyboard" | "timeline" | "value";
226
+ binding?: string | undefined;
227
+ label?: string | undefined;
228
+ }[];
229
+ presentation?: {
230
+ layout?: string | undefined;
231
+ groups?: {
232
+ id: string;
233
+ title: string;
234
+ inputIds: string[];
235
+ }[] | undefined;
236
+ advancedInputs?: string[] | undefined;
237
+ } | undefined;
238
+ marketing?: {
239
+ shortDescription?: string | undefined;
240
+ thumbnailAssetId?: string | undefined;
241
+ } | undefined;
242
+ } | undefined;
243
+ };
244
+ createdAt: string;
245
+ updatedAt: string;
246
+ };
247
+ meta: object;
248
+ }>;
249
+ create: import("@trpc/server").TRPCMutationProcedure<{
250
+ input: {
251
+ id?: string | undefined;
252
+ name?: string | undefined;
253
+ description?: string | undefined;
254
+ projectId?: string | undefined;
255
+ document?: {
256
+ schemaVersion: number;
257
+ ui: {
258
+ [x: string]: unknown;
259
+ root: {
260
+ props?: Record<string, unknown> | undefined;
261
+ };
262
+ content: unknown[];
263
+ zones?: Record<string, unknown[]> | undefined;
264
+ };
265
+ operations?: {
266
+ id: string;
267
+ name: string;
268
+ workflowId: string;
269
+ workflowVersion?: number | undefined;
270
+ target?: {
271
+ kind: "workflow";
272
+ workflowId: string;
273
+ workflowVersion?: number | undefined;
274
+ } | {
275
+ kind: "script";
276
+ scriptId: string;
277
+ scriptVersion: number;
278
+ } | undefined;
279
+ inputs?: Record<string, {
280
+ from: "widget";
281
+ } | {
282
+ from: "variable";
283
+ variableId: string;
284
+ } | {
285
+ from: "constant";
286
+ value?: unknown;
287
+ } | {
288
+ from: "resource";
289
+ resourceBindingId: string;
290
+ }> | undefined;
291
+ outputs?: Record<string, {
292
+ to: "display";
293
+ } | {
294
+ to: "variable";
295
+ variableId: string;
296
+ }> | undefined;
297
+ policy?: "parallel" | "queue" | "replace" | undefined;
298
+ timeoutMs?: number | undefined;
299
+ }[] | undefined;
300
+ resources?: {
301
+ id: string;
302
+ name: string;
303
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
304
+ scope: {
305
+ projectId?: string | undefined;
306
+ fixedId?: string | undefined;
307
+ };
308
+ operations: ("create" | "delete" | "read" | "update")[];
309
+ }[] | undefined;
310
+ variables?: {
311
+ id: string;
312
+ name: string;
313
+ type?: {
314
+ type: string;
315
+ optional?: boolean | undefined;
316
+ } | null | undefined;
317
+ default?: unknown;
318
+ scope: "instance" | "user";
319
+ persist: boolean;
320
+ }[] | undefined;
321
+ theme?: {
322
+ id: string;
323
+ } | undefined;
324
+ recipe?: {
325
+ schemaVersion: 1;
326
+ slug: string;
327
+ category?: string | undefined;
328
+ tags?: string[] | undefined;
329
+ inputs: {
330
+ id: string;
331
+ label: string;
332
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
333
+ required: boolean;
334
+ description?: string | undefined;
335
+ choices?: {
336
+ value: string;
337
+ title: string;
338
+ description?: string | undefined;
339
+ image?: string | undefined;
340
+ }[] | undefined;
341
+ }[];
342
+ defaults?: Record<string, unknown> | undefined;
343
+ creativeStrategy?: {
344
+ objective?: string | undefined;
345
+ structure?: string | undefined;
346
+ direction?: string | undefined;
347
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
348
+ shots?: {
349
+ id: string;
350
+ title: string;
351
+ durationSeconds: number;
352
+ elements: {
353
+ id: string;
354
+ inputId?: string | undefined;
355
+ kind: "asset" | "shape" | "text";
356
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
357
+ direction?: string | undefined;
358
+ frame?: {
359
+ box: [number, number, number, number];
360
+ fit?: "contain" | "cover" | undefined;
361
+ align?: {
362
+ x?: "center" | "end" | "start" | undefined;
363
+ y?: "center" | "end" | "start" | undefined;
364
+ } | undefined;
365
+ clip?: boolean | undefined;
366
+ } | undefined;
367
+ typography?: {
368
+ size?: number | undefined;
369
+ weight?: 400 | 500 | 600 | 700 | undefined;
370
+ align?: "center" | "left" | "right" | undefined;
371
+ maxLines?: number | undefined;
372
+ } | undefined;
373
+ lock?: ("crop" | "position" | "scale")[] | undefined;
374
+ limits?: {
375
+ x?: number | undefined;
376
+ y?: number | undefined;
377
+ scale?: number | undefined;
378
+ } | undefined;
379
+ style?: {
380
+ fill?: string | undefined;
381
+ stroke?: string | undefined;
382
+ strokeWidth?: number | undefined;
383
+ cornerRadius?: number | undefined;
384
+ } | undefined;
385
+ fallback?: {
386
+ prompt: string;
387
+ } | undefined;
388
+ }[];
389
+ reviewRules?: string[] | undefined;
390
+ }[] | undefined;
391
+ reviewRules?: string[] | undefined;
392
+ } | undefined;
393
+ preservationRules?: {
394
+ inputId: string;
395
+ policy: "exact_asset" | "exact_color" | "exact_text";
396
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
397
+ }[] | undefined;
398
+ mediaPolicy?: {
399
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
400
+ allowGeneratedVideo?: boolean | undefined;
401
+ } | undefined;
402
+ operations: {
403
+ id: string;
404
+ bindingId: string;
405
+ intent: string;
406
+ version?: number | undefined;
407
+ strategy?: "agentic" | "deterministic" | undefined;
408
+ model?: {
409
+ provider: string;
410
+ id: string;
411
+ } | undefined;
412
+ }[];
413
+ outputs: {
414
+ id: string;
415
+ kind: "asset" | "storyboard" | "timeline" | "value";
416
+ binding?: string | undefined;
417
+ label?: string | undefined;
418
+ }[];
419
+ presentation?: {
420
+ layout?: string | undefined;
421
+ groups?: {
422
+ id: string;
423
+ title: string;
424
+ inputIds: string[];
425
+ }[] | undefined;
426
+ advancedInputs?: string[] | undefined;
427
+ } | undefined;
428
+ marketing?: {
429
+ shortDescription?: string | undefined;
430
+ thumbnailAssetId?: string | undefined;
431
+ } | undefined;
432
+ } | undefined;
433
+ } | undefined;
434
+ fromWorkflowId?: string | undefined;
435
+ };
436
+ output: {
437
+ id: string;
438
+ projectId: string;
439
+ name: string;
440
+ description: string;
441
+ document: {
442
+ schemaVersion: number;
443
+ ui: {
444
+ [x: string]: unknown;
445
+ root: {
446
+ props?: Record<string, unknown> | undefined;
447
+ };
448
+ content: unknown[];
449
+ zones?: Record<string, unknown[]> | undefined;
450
+ };
451
+ operations: {
452
+ id: string;
453
+ name: string;
454
+ workflowId: string;
455
+ workflowVersion?: number | undefined;
456
+ target?: {
457
+ kind: "workflow";
458
+ workflowId: string;
459
+ workflowVersion?: number | undefined;
460
+ } | {
461
+ kind: "script";
462
+ scriptId: string;
463
+ scriptVersion: number;
464
+ } | undefined;
465
+ inputs: Record<string, {
466
+ from: "widget";
467
+ } | {
468
+ from: "variable";
469
+ variableId: string;
470
+ } | {
471
+ from: "constant";
472
+ value?: unknown;
473
+ } | {
474
+ from: "resource";
475
+ resourceBindingId: string;
476
+ }>;
477
+ outputs: Record<string, {
478
+ to: "display";
479
+ } | {
480
+ to: "variable";
481
+ variableId: string;
482
+ }>;
483
+ policy: "parallel" | "queue" | "replace";
484
+ timeoutMs?: number | undefined;
485
+ }[];
486
+ resources: {
487
+ id: string;
488
+ name: string;
489
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
490
+ scope: {
491
+ projectId?: string | undefined;
492
+ fixedId?: string | undefined;
493
+ };
494
+ operations: ("create" | "delete" | "read" | "update")[];
495
+ }[];
496
+ variables: {
497
+ id: string;
498
+ name: string;
499
+ type?: {
500
+ type: string;
501
+ optional?: boolean | undefined;
502
+ } | null | undefined;
503
+ default?: unknown;
504
+ scope: "instance" | "user";
505
+ persist: boolean;
506
+ }[];
507
+ theme?: {
508
+ id: string;
509
+ } | undefined;
510
+ recipe?: {
511
+ schemaVersion: 1;
512
+ slug: string;
513
+ category?: string | undefined;
514
+ tags?: string[] | undefined;
515
+ inputs: {
516
+ id: string;
517
+ label: string;
518
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
519
+ required: boolean;
520
+ description?: string | undefined;
521
+ choices?: {
522
+ value: string;
523
+ title: string;
524
+ description?: string | undefined;
525
+ image?: string | undefined;
526
+ }[] | undefined;
527
+ }[];
528
+ defaults?: Record<string, unknown> | undefined;
529
+ creativeStrategy?: {
530
+ objective?: string | undefined;
531
+ structure?: string | undefined;
532
+ direction?: string | undefined;
533
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
534
+ shots?: {
535
+ id: string;
536
+ title: string;
537
+ durationSeconds: number;
538
+ elements: {
539
+ id: string;
540
+ inputId?: string | undefined;
541
+ kind: "asset" | "shape" | "text";
542
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
543
+ direction?: string | undefined;
544
+ frame?: {
545
+ box: [number, number, number, number];
546
+ fit?: "contain" | "cover" | undefined;
547
+ align?: {
548
+ x?: "center" | "end" | "start" | undefined;
549
+ y?: "center" | "end" | "start" | undefined;
550
+ } | undefined;
551
+ clip?: boolean | undefined;
552
+ } | undefined;
553
+ typography?: {
554
+ size?: number | undefined;
555
+ weight?: 400 | 500 | 600 | 700 | undefined;
556
+ align?: "center" | "left" | "right" | undefined;
557
+ maxLines?: number | undefined;
558
+ } | undefined;
559
+ lock?: ("crop" | "position" | "scale")[] | undefined;
560
+ limits?: {
561
+ x?: number | undefined;
562
+ y?: number | undefined;
563
+ scale?: number | undefined;
564
+ } | undefined;
565
+ style?: {
566
+ fill?: string | undefined;
567
+ stroke?: string | undefined;
568
+ strokeWidth?: number | undefined;
569
+ cornerRadius?: number | undefined;
570
+ } | undefined;
571
+ fallback?: {
572
+ prompt: string;
573
+ } | undefined;
574
+ }[];
575
+ reviewRules?: string[] | undefined;
576
+ }[] | undefined;
577
+ reviewRules?: string[] | undefined;
578
+ } | undefined;
579
+ preservationRules?: {
580
+ inputId: string;
581
+ policy: "exact_asset" | "exact_color" | "exact_text";
582
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
583
+ }[] | undefined;
584
+ mediaPolicy?: {
585
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
586
+ allowGeneratedVideo?: boolean | undefined;
587
+ } | undefined;
588
+ operations: {
589
+ id: string;
590
+ bindingId: string;
591
+ intent: string;
592
+ version?: number | undefined;
593
+ strategy?: "agentic" | "deterministic" | undefined;
594
+ model?: {
595
+ provider: string;
596
+ id: string;
597
+ } | undefined;
598
+ }[];
599
+ outputs: {
600
+ id: string;
601
+ kind: "asset" | "storyboard" | "timeline" | "value";
602
+ binding?: string | undefined;
603
+ label?: string | undefined;
604
+ }[];
605
+ presentation?: {
606
+ layout?: string | undefined;
607
+ groups?: {
608
+ id: string;
609
+ title: string;
610
+ inputIds: string[];
611
+ }[] | undefined;
612
+ advancedInputs?: string[] | undefined;
613
+ } | undefined;
614
+ marketing?: {
615
+ shortDescription?: string | undefined;
616
+ thumbnailAssetId?: string | undefined;
617
+ } | undefined;
618
+ } | undefined;
619
+ };
620
+ createdAt: string;
621
+ updatedAt: string;
622
+ };
623
+ meta: object;
624
+ }>;
625
+ update: import("@trpc/server").TRPCMutationProcedure<{
626
+ input: {
627
+ name?: string | undefined;
628
+ description?: string | undefined;
629
+ document?: {
630
+ schemaVersion: number;
631
+ ui: {
632
+ [x: string]: unknown;
633
+ root: {
634
+ props?: Record<string, unknown> | undefined;
635
+ };
636
+ content: unknown[];
637
+ zones?: Record<string, unknown[]> | undefined;
638
+ };
639
+ operations?: {
640
+ id: string;
641
+ name: string;
642
+ workflowId: string;
643
+ workflowVersion?: number | undefined;
644
+ target?: {
645
+ kind: "workflow";
646
+ workflowId: string;
647
+ workflowVersion?: number | undefined;
648
+ } | {
649
+ kind: "script";
650
+ scriptId: string;
651
+ scriptVersion: number;
652
+ } | undefined;
653
+ inputs?: Record<string, {
654
+ from: "widget";
655
+ } | {
656
+ from: "variable";
657
+ variableId: string;
658
+ } | {
659
+ from: "constant";
660
+ value?: unknown;
661
+ } | {
662
+ from: "resource";
663
+ resourceBindingId: string;
664
+ }> | undefined;
665
+ outputs?: Record<string, {
666
+ to: "display";
667
+ } | {
668
+ to: "variable";
669
+ variableId: string;
670
+ }> | undefined;
671
+ policy?: "parallel" | "queue" | "replace" | undefined;
672
+ timeoutMs?: number | undefined;
673
+ }[] | undefined;
674
+ resources?: {
675
+ id: string;
676
+ name: string;
677
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
678
+ scope: {
679
+ projectId?: string | undefined;
680
+ fixedId?: string | undefined;
681
+ };
682
+ operations: ("create" | "delete" | "read" | "update")[];
683
+ }[] | undefined;
684
+ variables?: {
685
+ id: string;
686
+ name: string;
687
+ type?: {
688
+ type: string;
689
+ optional?: boolean | undefined;
690
+ } | null | undefined;
691
+ default?: unknown;
692
+ scope: "instance" | "user";
693
+ persist: boolean;
694
+ }[] | undefined;
695
+ theme?: {
696
+ id: string;
697
+ } | undefined;
698
+ recipe?: {
699
+ schemaVersion: 1;
700
+ slug: string;
701
+ category?: string | undefined;
702
+ tags?: string[] | undefined;
703
+ inputs: {
704
+ id: string;
705
+ label: string;
706
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
707
+ required: boolean;
708
+ description?: string | undefined;
709
+ choices?: {
710
+ value: string;
711
+ title: string;
712
+ description?: string | undefined;
713
+ image?: string | undefined;
714
+ }[] | undefined;
715
+ }[];
716
+ defaults?: Record<string, unknown> | undefined;
717
+ creativeStrategy?: {
718
+ objective?: string | undefined;
719
+ structure?: string | undefined;
720
+ direction?: string | undefined;
721
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
722
+ shots?: {
723
+ id: string;
724
+ title: string;
725
+ durationSeconds: number;
726
+ elements: {
727
+ id: string;
728
+ inputId?: string | undefined;
729
+ kind: "asset" | "shape" | "text";
730
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
731
+ direction?: string | undefined;
732
+ frame?: {
733
+ box: [number, number, number, number];
734
+ fit?: "contain" | "cover" | undefined;
735
+ align?: {
736
+ x?: "center" | "end" | "start" | undefined;
737
+ y?: "center" | "end" | "start" | undefined;
738
+ } | undefined;
739
+ clip?: boolean | undefined;
740
+ } | undefined;
741
+ typography?: {
742
+ size?: number | undefined;
743
+ weight?: 400 | 500 | 600 | 700 | undefined;
744
+ align?: "center" | "left" | "right" | undefined;
745
+ maxLines?: number | undefined;
746
+ } | undefined;
747
+ lock?: ("crop" | "position" | "scale")[] | undefined;
748
+ limits?: {
749
+ x?: number | undefined;
750
+ y?: number | undefined;
751
+ scale?: number | undefined;
752
+ } | undefined;
753
+ style?: {
754
+ fill?: string | undefined;
755
+ stroke?: string | undefined;
756
+ strokeWidth?: number | undefined;
757
+ cornerRadius?: number | undefined;
758
+ } | undefined;
759
+ fallback?: {
760
+ prompt: string;
761
+ } | undefined;
762
+ }[];
763
+ reviewRules?: string[] | undefined;
764
+ }[] | undefined;
765
+ reviewRules?: string[] | undefined;
766
+ } | undefined;
767
+ preservationRules?: {
768
+ inputId: string;
769
+ policy: "exact_asset" | "exact_color" | "exact_text";
770
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
771
+ }[] | undefined;
772
+ mediaPolicy?: {
773
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
774
+ allowGeneratedVideo?: boolean | undefined;
775
+ } | undefined;
776
+ operations: {
777
+ id: string;
778
+ bindingId: string;
779
+ intent: string;
780
+ version?: number | undefined;
781
+ strategy?: "agentic" | "deterministic" | undefined;
782
+ model?: {
783
+ provider: string;
784
+ id: string;
785
+ } | undefined;
786
+ }[];
787
+ outputs: {
788
+ id: string;
789
+ kind: "asset" | "storyboard" | "timeline" | "value";
790
+ binding?: string | undefined;
791
+ label?: string | undefined;
792
+ }[];
793
+ presentation?: {
794
+ layout?: string | undefined;
795
+ groups?: {
796
+ id: string;
797
+ title: string;
798
+ inputIds: string[];
799
+ }[] | undefined;
800
+ advancedInputs?: string[] | undefined;
801
+ } | undefined;
802
+ marketing?: {
803
+ shortDescription?: string | undefined;
804
+ thumbnailAssetId?: string | undefined;
805
+ } | undefined;
806
+ } | undefined;
807
+ } | undefined;
808
+ } & {
809
+ id: string;
810
+ baseUpdatedAt?: string | undefined;
811
+ };
812
+ output: {
813
+ id: string;
814
+ projectId: string;
815
+ name: string;
816
+ description: string;
817
+ document: {
818
+ schemaVersion: number;
819
+ ui: {
820
+ [x: string]: unknown;
821
+ root: {
822
+ props?: Record<string, unknown> | undefined;
823
+ };
824
+ content: unknown[];
825
+ zones?: Record<string, unknown[]> | undefined;
826
+ };
827
+ operations: {
828
+ id: string;
829
+ name: string;
830
+ workflowId: string;
831
+ workflowVersion?: number | undefined;
832
+ target?: {
833
+ kind: "workflow";
834
+ workflowId: string;
835
+ workflowVersion?: number | undefined;
836
+ } | {
837
+ kind: "script";
838
+ scriptId: string;
839
+ scriptVersion: number;
840
+ } | undefined;
841
+ inputs: Record<string, {
842
+ from: "widget";
843
+ } | {
844
+ from: "variable";
845
+ variableId: string;
846
+ } | {
847
+ from: "constant";
848
+ value?: unknown;
849
+ } | {
850
+ from: "resource";
851
+ resourceBindingId: string;
852
+ }>;
853
+ outputs: Record<string, {
854
+ to: "display";
855
+ } | {
856
+ to: "variable";
857
+ variableId: string;
858
+ }>;
859
+ policy: "parallel" | "queue" | "replace";
860
+ timeoutMs?: number | undefined;
861
+ }[];
862
+ resources: {
863
+ id: string;
864
+ name: string;
865
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
866
+ scope: {
867
+ projectId?: string | undefined;
868
+ fixedId?: string | undefined;
869
+ };
870
+ operations: ("create" | "delete" | "read" | "update")[];
871
+ }[];
872
+ variables: {
873
+ id: string;
874
+ name: string;
875
+ type?: {
876
+ type: string;
877
+ optional?: boolean | undefined;
878
+ } | null | undefined;
879
+ default?: unknown;
880
+ scope: "instance" | "user";
881
+ persist: boolean;
882
+ }[];
883
+ theme?: {
884
+ id: string;
885
+ } | undefined;
886
+ recipe?: {
887
+ schemaVersion: 1;
888
+ slug: string;
889
+ category?: string | undefined;
890
+ tags?: string[] | undefined;
891
+ inputs: {
892
+ id: string;
893
+ label: string;
894
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
895
+ required: boolean;
896
+ description?: string | undefined;
897
+ choices?: {
898
+ value: string;
899
+ title: string;
900
+ description?: string | undefined;
901
+ image?: string | undefined;
902
+ }[] | undefined;
903
+ }[];
904
+ defaults?: Record<string, unknown> | undefined;
905
+ creativeStrategy?: {
906
+ objective?: string | undefined;
907
+ structure?: string | undefined;
908
+ direction?: string | undefined;
909
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
910
+ shots?: {
911
+ id: string;
912
+ title: string;
913
+ durationSeconds: number;
914
+ elements: {
915
+ id: string;
916
+ inputId?: string | undefined;
917
+ kind: "asset" | "shape" | "text";
918
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
919
+ direction?: string | undefined;
920
+ frame?: {
921
+ box: [number, number, number, number];
922
+ fit?: "contain" | "cover" | undefined;
923
+ align?: {
924
+ x?: "center" | "end" | "start" | undefined;
925
+ y?: "center" | "end" | "start" | undefined;
926
+ } | undefined;
927
+ clip?: boolean | undefined;
928
+ } | undefined;
929
+ typography?: {
930
+ size?: number | undefined;
931
+ weight?: 400 | 500 | 600 | 700 | undefined;
932
+ align?: "center" | "left" | "right" | undefined;
933
+ maxLines?: number | undefined;
934
+ } | undefined;
935
+ lock?: ("crop" | "position" | "scale")[] | undefined;
936
+ limits?: {
937
+ x?: number | undefined;
938
+ y?: number | undefined;
939
+ scale?: number | undefined;
940
+ } | undefined;
941
+ style?: {
942
+ fill?: string | undefined;
943
+ stroke?: string | undefined;
944
+ strokeWidth?: number | undefined;
945
+ cornerRadius?: number | undefined;
946
+ } | undefined;
947
+ fallback?: {
948
+ prompt: string;
949
+ } | undefined;
950
+ }[];
951
+ reviewRules?: string[] | undefined;
952
+ }[] | undefined;
953
+ reviewRules?: string[] | undefined;
954
+ } | undefined;
955
+ preservationRules?: {
956
+ inputId: string;
957
+ policy: "exact_asset" | "exact_color" | "exact_text";
958
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
959
+ }[] | undefined;
960
+ mediaPolicy?: {
961
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
962
+ allowGeneratedVideo?: boolean | undefined;
963
+ } | undefined;
964
+ operations: {
965
+ id: string;
966
+ bindingId: string;
967
+ intent: string;
968
+ version?: number | undefined;
969
+ strategy?: "agentic" | "deterministic" | undefined;
970
+ model?: {
971
+ provider: string;
972
+ id: string;
973
+ } | undefined;
974
+ }[];
975
+ outputs: {
976
+ id: string;
977
+ kind: "asset" | "storyboard" | "timeline" | "value";
978
+ binding?: string | undefined;
979
+ label?: string | undefined;
980
+ }[];
981
+ presentation?: {
982
+ layout?: string | undefined;
983
+ groups?: {
984
+ id: string;
985
+ title: string;
986
+ inputIds: string[];
987
+ }[] | undefined;
988
+ advancedInputs?: string[] | undefined;
989
+ } | undefined;
990
+ marketing?: {
991
+ shortDescription?: string | undefined;
992
+ thumbnailAssetId?: string | undefined;
993
+ } | undefined;
994
+ } | undefined;
995
+ };
996
+ createdAt: string;
997
+ updatedAt: string;
998
+ };
999
+ meta: object;
1000
+ }>;
1001
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1002
+ input: {
1003
+ id: string;
1004
+ };
1005
+ output: {
1006
+ ok: true;
1007
+ };
1008
+ meta: object;
1009
+ }>;
1010
+ publish: import("@trpc/server").TRPCMutationProcedure<{
1011
+ input: {
1012
+ id: string;
1013
+ baseUpdatedAt?: string | undefined;
1014
+ };
1015
+ output: {
1016
+ id: string;
1017
+ applicationId: string;
1018
+ version: number;
1019
+ document: {
1020
+ schemaVersion: number;
1021
+ ui: {
1022
+ [x: string]: unknown;
1023
+ root: {
1024
+ props?: Record<string, unknown> | undefined;
1025
+ };
1026
+ content: unknown[];
1027
+ zones?: Record<string, unknown[]> | undefined;
1028
+ };
1029
+ operations: {
1030
+ id: string;
1031
+ name: string;
1032
+ workflowId: string;
1033
+ workflowVersion?: number | undefined;
1034
+ target?: {
1035
+ kind: "workflow";
1036
+ workflowId: string;
1037
+ workflowVersion?: number | undefined;
1038
+ } | {
1039
+ kind: "script";
1040
+ scriptId: string;
1041
+ scriptVersion: number;
1042
+ } | undefined;
1043
+ inputs: Record<string, {
1044
+ from: "widget";
1045
+ } | {
1046
+ from: "variable";
1047
+ variableId: string;
1048
+ } | {
1049
+ from: "constant";
1050
+ value?: unknown;
1051
+ } | {
1052
+ from: "resource";
1053
+ resourceBindingId: string;
1054
+ }>;
1055
+ outputs: Record<string, {
1056
+ to: "display";
1057
+ } | {
1058
+ to: "variable";
1059
+ variableId: string;
1060
+ }>;
1061
+ policy: "parallel" | "queue" | "replace";
1062
+ timeoutMs?: number | undefined;
1063
+ }[];
1064
+ resources: {
1065
+ id: string;
1066
+ name: string;
1067
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1068
+ scope: {
1069
+ projectId?: string | undefined;
1070
+ fixedId?: string | undefined;
1071
+ };
1072
+ operations: ("create" | "delete" | "read" | "update")[];
1073
+ }[];
1074
+ variables: {
1075
+ id: string;
1076
+ name: string;
1077
+ type?: {
1078
+ type: string;
1079
+ optional?: boolean | undefined;
1080
+ } | null | undefined;
1081
+ default?: unknown;
1082
+ scope: "instance" | "user";
1083
+ persist: boolean;
1084
+ }[];
1085
+ theme?: {
1086
+ id: string;
1087
+ } | undefined;
1088
+ recipe?: {
1089
+ schemaVersion: 1;
1090
+ slug: string;
1091
+ category?: string | undefined;
1092
+ tags?: string[] | undefined;
1093
+ inputs: {
1094
+ id: string;
1095
+ label: string;
1096
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
1097
+ required: boolean;
1098
+ description?: string | undefined;
1099
+ choices?: {
1100
+ value: string;
1101
+ title: string;
1102
+ description?: string | undefined;
1103
+ image?: string | undefined;
1104
+ }[] | undefined;
1105
+ }[];
1106
+ defaults?: Record<string, unknown> | undefined;
1107
+ creativeStrategy?: {
1108
+ objective?: string | undefined;
1109
+ structure?: string | undefined;
1110
+ direction?: string | undefined;
1111
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
1112
+ shots?: {
1113
+ id: string;
1114
+ title: string;
1115
+ durationSeconds: number;
1116
+ elements: {
1117
+ id: string;
1118
+ inputId?: string | undefined;
1119
+ kind: "asset" | "shape" | "text";
1120
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
1121
+ direction?: string | undefined;
1122
+ frame?: {
1123
+ box: [number, number, number, number];
1124
+ fit?: "contain" | "cover" | undefined;
1125
+ align?: {
1126
+ x?: "center" | "end" | "start" | undefined;
1127
+ y?: "center" | "end" | "start" | undefined;
1128
+ } | undefined;
1129
+ clip?: boolean | undefined;
1130
+ } | undefined;
1131
+ typography?: {
1132
+ size?: number | undefined;
1133
+ weight?: 400 | 500 | 600 | 700 | undefined;
1134
+ align?: "center" | "left" | "right" | undefined;
1135
+ maxLines?: number | undefined;
1136
+ } | undefined;
1137
+ lock?: ("crop" | "position" | "scale")[] | undefined;
1138
+ limits?: {
1139
+ x?: number | undefined;
1140
+ y?: number | undefined;
1141
+ scale?: number | undefined;
1142
+ } | undefined;
1143
+ style?: {
1144
+ fill?: string | undefined;
1145
+ stroke?: string | undefined;
1146
+ strokeWidth?: number | undefined;
1147
+ cornerRadius?: number | undefined;
1148
+ } | undefined;
1149
+ fallback?: {
1150
+ prompt: string;
1151
+ } | undefined;
1152
+ }[];
1153
+ reviewRules?: string[] | undefined;
1154
+ }[] | undefined;
1155
+ reviewRules?: string[] | undefined;
1156
+ } | undefined;
1157
+ preservationRules?: {
1158
+ inputId: string;
1159
+ policy: "exact_asset" | "exact_color" | "exact_text";
1160
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
1161
+ }[] | undefined;
1162
+ mediaPolicy?: {
1163
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
1164
+ allowGeneratedVideo?: boolean | undefined;
1165
+ } | undefined;
1166
+ operations: {
1167
+ id: string;
1168
+ bindingId: string;
1169
+ intent: string;
1170
+ version?: number | undefined;
1171
+ strategy?: "agentic" | "deterministic" | undefined;
1172
+ model?: {
1173
+ provider: string;
1174
+ id: string;
1175
+ } | undefined;
1176
+ }[];
1177
+ outputs: {
1178
+ id: string;
1179
+ kind: "asset" | "storyboard" | "timeline" | "value";
1180
+ binding?: string | undefined;
1181
+ label?: string | undefined;
1182
+ }[];
1183
+ presentation?: {
1184
+ layout?: string | undefined;
1185
+ groups?: {
1186
+ id: string;
1187
+ title: string;
1188
+ inputIds: string[];
1189
+ }[] | undefined;
1190
+ advancedInputs?: string[] | undefined;
1191
+ } | undefined;
1192
+ marketing?: {
1193
+ shortDescription?: string | undefined;
1194
+ thumbnailAssetId?: string | undefined;
1195
+ } | undefined;
1196
+ } | undefined;
1197
+ };
1198
+ capabilities: {
1199
+ workflows: {
1200
+ workflowId: string;
1201
+ version?: number | undefined;
1202
+ graphHash?: string | undefined;
1203
+ }[];
1204
+ resources: {
1205
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1206
+ operations: ("create" | "delete" | "read" | "update")[];
1207
+ }[];
1208
+ };
1209
+ released: boolean;
1210
+ createdAt: string;
1211
+ };
1212
+ meta: object;
1213
+ }>;
1214
+ versions: import("@trpc/server").TRPCQueryProcedure<{
1215
+ input: {
1216
+ id: string;
1217
+ };
1218
+ output: {
1219
+ id: string;
1220
+ applicationId: string;
1221
+ version: number;
1222
+ document: {
1223
+ schemaVersion: number;
1224
+ ui: {
1225
+ [x: string]: unknown;
1226
+ root: {
1227
+ props?: Record<string, unknown> | undefined;
1228
+ };
1229
+ content: unknown[];
1230
+ zones?: Record<string, unknown[]> | undefined;
1231
+ };
1232
+ operations: {
1233
+ id: string;
1234
+ name: string;
1235
+ workflowId: string;
1236
+ workflowVersion?: number | undefined;
1237
+ target?: {
1238
+ kind: "workflow";
1239
+ workflowId: string;
1240
+ workflowVersion?: number | undefined;
1241
+ } | {
1242
+ kind: "script";
1243
+ scriptId: string;
1244
+ scriptVersion: number;
1245
+ } | undefined;
1246
+ inputs: Record<string, {
1247
+ from: "widget";
1248
+ } | {
1249
+ from: "variable";
1250
+ variableId: string;
1251
+ } | {
1252
+ from: "constant";
1253
+ value?: unknown;
1254
+ } | {
1255
+ from: "resource";
1256
+ resourceBindingId: string;
1257
+ }>;
1258
+ outputs: Record<string, {
1259
+ to: "display";
1260
+ } | {
1261
+ to: "variable";
1262
+ variableId: string;
1263
+ }>;
1264
+ policy: "parallel" | "queue" | "replace";
1265
+ timeoutMs?: number | undefined;
1266
+ }[];
1267
+ resources: {
1268
+ id: string;
1269
+ name: string;
1270
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1271
+ scope: {
1272
+ projectId?: string | undefined;
1273
+ fixedId?: string | undefined;
1274
+ };
1275
+ operations: ("create" | "delete" | "read" | "update")[];
1276
+ }[];
1277
+ variables: {
1278
+ id: string;
1279
+ name: string;
1280
+ type?: {
1281
+ type: string;
1282
+ optional?: boolean | undefined;
1283
+ } | null | undefined;
1284
+ default?: unknown;
1285
+ scope: "instance" | "user";
1286
+ persist: boolean;
1287
+ }[];
1288
+ theme?: {
1289
+ id: string;
1290
+ } | undefined;
1291
+ recipe?: {
1292
+ schemaVersion: 1;
1293
+ slug: string;
1294
+ category?: string | undefined;
1295
+ tags?: string[] | undefined;
1296
+ inputs: {
1297
+ id: string;
1298
+ label: string;
1299
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
1300
+ required: boolean;
1301
+ description?: string | undefined;
1302
+ choices?: {
1303
+ value: string;
1304
+ title: string;
1305
+ description?: string | undefined;
1306
+ image?: string | undefined;
1307
+ }[] | undefined;
1308
+ }[];
1309
+ defaults?: Record<string, unknown> | undefined;
1310
+ creativeStrategy?: {
1311
+ objective?: string | undefined;
1312
+ structure?: string | undefined;
1313
+ direction?: string | undefined;
1314
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
1315
+ shots?: {
1316
+ id: string;
1317
+ title: string;
1318
+ durationSeconds: number;
1319
+ elements: {
1320
+ id: string;
1321
+ inputId?: string | undefined;
1322
+ kind: "asset" | "shape" | "text";
1323
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
1324
+ direction?: string | undefined;
1325
+ frame?: {
1326
+ box: [number, number, number, number];
1327
+ fit?: "contain" | "cover" | undefined;
1328
+ align?: {
1329
+ x?: "center" | "end" | "start" | undefined;
1330
+ y?: "center" | "end" | "start" | undefined;
1331
+ } | undefined;
1332
+ clip?: boolean | undefined;
1333
+ } | undefined;
1334
+ typography?: {
1335
+ size?: number | undefined;
1336
+ weight?: 400 | 500 | 600 | 700 | undefined;
1337
+ align?: "center" | "left" | "right" | undefined;
1338
+ maxLines?: number | undefined;
1339
+ } | undefined;
1340
+ lock?: ("crop" | "position" | "scale")[] | undefined;
1341
+ limits?: {
1342
+ x?: number | undefined;
1343
+ y?: number | undefined;
1344
+ scale?: number | undefined;
1345
+ } | undefined;
1346
+ style?: {
1347
+ fill?: string | undefined;
1348
+ stroke?: string | undefined;
1349
+ strokeWidth?: number | undefined;
1350
+ cornerRadius?: number | undefined;
1351
+ } | undefined;
1352
+ fallback?: {
1353
+ prompt: string;
1354
+ } | undefined;
1355
+ }[];
1356
+ reviewRules?: string[] | undefined;
1357
+ }[] | undefined;
1358
+ reviewRules?: string[] | undefined;
1359
+ } | undefined;
1360
+ preservationRules?: {
1361
+ inputId: string;
1362
+ policy: "exact_asset" | "exact_color" | "exact_text";
1363
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
1364
+ }[] | undefined;
1365
+ mediaPolicy?: {
1366
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
1367
+ allowGeneratedVideo?: boolean | undefined;
1368
+ } | undefined;
1369
+ operations: {
1370
+ id: string;
1371
+ bindingId: string;
1372
+ intent: string;
1373
+ version?: number | undefined;
1374
+ strategy?: "agentic" | "deterministic" | undefined;
1375
+ model?: {
1376
+ provider: string;
1377
+ id: string;
1378
+ } | undefined;
1379
+ }[];
1380
+ outputs: {
1381
+ id: string;
1382
+ kind: "asset" | "storyboard" | "timeline" | "value";
1383
+ binding?: string | undefined;
1384
+ label?: string | undefined;
1385
+ }[];
1386
+ presentation?: {
1387
+ layout?: string | undefined;
1388
+ groups?: {
1389
+ id: string;
1390
+ title: string;
1391
+ inputIds: string[];
1392
+ }[] | undefined;
1393
+ advancedInputs?: string[] | undefined;
1394
+ } | undefined;
1395
+ marketing?: {
1396
+ shortDescription?: string | undefined;
1397
+ thumbnailAssetId?: string | undefined;
1398
+ } | undefined;
1399
+ } | undefined;
1400
+ };
1401
+ capabilities: {
1402
+ workflows: {
1403
+ workflowId: string;
1404
+ version?: number | undefined;
1405
+ graphHash?: string | undefined;
1406
+ }[];
1407
+ resources: {
1408
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1409
+ operations: ("create" | "delete" | "read" | "update")[];
1410
+ }[];
1411
+ };
1412
+ released: boolean;
1413
+ createdAt: string;
1414
+ }[];
1415
+ meta: object;
1416
+ }>;
1417
+ released: import("@trpc/server").TRPCQueryProcedure<{
1418
+ input: {
1419
+ id: string;
1420
+ };
1421
+ output: {
1422
+ id: string;
1423
+ applicationId: string;
1424
+ version: number;
1425
+ document: {
1426
+ schemaVersion: number;
1427
+ ui: {
1428
+ [x: string]: unknown;
1429
+ root: {
1430
+ props?: Record<string, unknown> | undefined;
1431
+ };
1432
+ content: unknown[];
1433
+ zones?: Record<string, unknown[]> | undefined;
1434
+ };
1435
+ operations: {
1436
+ id: string;
1437
+ name: string;
1438
+ workflowId: string;
1439
+ workflowVersion?: number | undefined;
1440
+ target?: {
1441
+ kind: "workflow";
1442
+ workflowId: string;
1443
+ workflowVersion?: number | undefined;
1444
+ } | {
1445
+ kind: "script";
1446
+ scriptId: string;
1447
+ scriptVersion: number;
1448
+ } | undefined;
1449
+ inputs: Record<string, {
1450
+ from: "widget";
1451
+ } | {
1452
+ from: "variable";
1453
+ variableId: string;
1454
+ } | {
1455
+ from: "constant";
1456
+ value?: unknown;
1457
+ } | {
1458
+ from: "resource";
1459
+ resourceBindingId: string;
1460
+ }>;
1461
+ outputs: Record<string, {
1462
+ to: "display";
1463
+ } | {
1464
+ to: "variable";
1465
+ variableId: string;
1466
+ }>;
1467
+ policy: "parallel" | "queue" | "replace";
1468
+ timeoutMs?: number | undefined;
1469
+ }[];
1470
+ resources: {
1471
+ id: string;
1472
+ name: string;
1473
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1474
+ scope: {
1475
+ projectId?: string | undefined;
1476
+ fixedId?: string | undefined;
1477
+ };
1478
+ operations: ("create" | "delete" | "read" | "update")[];
1479
+ }[];
1480
+ variables: {
1481
+ id: string;
1482
+ name: string;
1483
+ type?: {
1484
+ type: string;
1485
+ optional?: boolean | undefined;
1486
+ } | null | undefined;
1487
+ default?: unknown;
1488
+ scope: "instance" | "user";
1489
+ persist: boolean;
1490
+ }[];
1491
+ theme?: {
1492
+ id: string;
1493
+ } | undefined;
1494
+ recipe?: {
1495
+ schemaVersion: 1;
1496
+ slug: string;
1497
+ category?: string | undefined;
1498
+ tags?: string[] | undefined;
1499
+ inputs: {
1500
+ id: string;
1501
+ label: string;
1502
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
1503
+ required: boolean;
1504
+ description?: string | undefined;
1505
+ choices?: {
1506
+ value: string;
1507
+ title: string;
1508
+ description?: string | undefined;
1509
+ image?: string | undefined;
1510
+ }[] | undefined;
1511
+ }[];
1512
+ defaults?: Record<string, unknown> | undefined;
1513
+ creativeStrategy?: {
1514
+ objective?: string | undefined;
1515
+ structure?: string | undefined;
1516
+ direction?: string | undefined;
1517
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
1518
+ shots?: {
1519
+ id: string;
1520
+ title: string;
1521
+ durationSeconds: number;
1522
+ elements: {
1523
+ id: string;
1524
+ inputId?: string | undefined;
1525
+ kind: "asset" | "shape" | "text";
1526
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
1527
+ direction?: string | undefined;
1528
+ frame?: {
1529
+ box: [number, number, number, number];
1530
+ fit?: "contain" | "cover" | undefined;
1531
+ align?: {
1532
+ x?: "center" | "end" | "start" | undefined;
1533
+ y?: "center" | "end" | "start" | undefined;
1534
+ } | undefined;
1535
+ clip?: boolean | undefined;
1536
+ } | undefined;
1537
+ typography?: {
1538
+ size?: number | undefined;
1539
+ weight?: 400 | 500 | 600 | 700 | undefined;
1540
+ align?: "center" | "left" | "right" | undefined;
1541
+ maxLines?: number | undefined;
1542
+ } | undefined;
1543
+ lock?: ("crop" | "position" | "scale")[] | undefined;
1544
+ limits?: {
1545
+ x?: number | undefined;
1546
+ y?: number | undefined;
1547
+ scale?: number | undefined;
1548
+ } | undefined;
1549
+ style?: {
1550
+ fill?: string | undefined;
1551
+ stroke?: string | undefined;
1552
+ strokeWidth?: number | undefined;
1553
+ cornerRadius?: number | undefined;
1554
+ } | undefined;
1555
+ fallback?: {
1556
+ prompt: string;
1557
+ } | undefined;
1558
+ }[];
1559
+ reviewRules?: string[] | undefined;
1560
+ }[] | undefined;
1561
+ reviewRules?: string[] | undefined;
1562
+ } | undefined;
1563
+ preservationRules?: {
1564
+ inputId: string;
1565
+ policy: "exact_asset" | "exact_color" | "exact_text";
1566
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
1567
+ }[] | undefined;
1568
+ mediaPolicy?: {
1569
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
1570
+ allowGeneratedVideo?: boolean | undefined;
1571
+ } | undefined;
1572
+ operations: {
1573
+ id: string;
1574
+ bindingId: string;
1575
+ intent: string;
1576
+ version?: number | undefined;
1577
+ strategy?: "agentic" | "deterministic" | undefined;
1578
+ model?: {
1579
+ provider: string;
1580
+ id: string;
1581
+ } | undefined;
1582
+ }[];
1583
+ outputs: {
1584
+ id: string;
1585
+ kind: "asset" | "storyboard" | "timeline" | "value";
1586
+ binding?: string | undefined;
1587
+ label?: string | undefined;
1588
+ }[];
1589
+ presentation?: {
1590
+ layout?: string | undefined;
1591
+ groups?: {
1592
+ id: string;
1593
+ title: string;
1594
+ inputIds: string[];
1595
+ }[] | undefined;
1596
+ advancedInputs?: string[] | undefined;
1597
+ } | undefined;
1598
+ marketing?: {
1599
+ shortDescription?: string | undefined;
1600
+ thumbnailAssetId?: string | undefined;
1601
+ } | undefined;
1602
+ } | undefined;
1603
+ };
1604
+ capabilities: {
1605
+ workflows: {
1606
+ workflowId: string;
1607
+ version?: number | undefined;
1608
+ graphHash?: string | undefined;
1609
+ }[];
1610
+ resources: {
1611
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1612
+ operations: ("create" | "delete" | "read" | "update")[];
1613
+ }[];
1614
+ };
1615
+ released: boolean;
1616
+ createdAt: string;
1617
+ } | null;
1618
+ meta: object;
1619
+ }>;
1620
+ /**
1621
+ * What a published app should run: the released snapshot's document, its
1622
+ * version number and capabilities, plus the graph each operation is pinned
1623
+ * to. A client that runs these graphs runs the release; a client that runs
1624
+ * the app's `document` runs the draft.
1625
+ */
1626
+ releasedDocument: import("@trpc/server").TRPCQueryProcedure<{
1627
+ input: {
1628
+ id: string;
1629
+ };
1630
+ output: {
1631
+ id: string;
1632
+ applicationId: string;
1633
+ version: number;
1634
+ document: {
1635
+ schemaVersion: number;
1636
+ ui: {
1637
+ [x: string]: unknown;
1638
+ root: {
1639
+ props?: Record<string, unknown> | undefined;
1640
+ };
1641
+ content: unknown[];
1642
+ zones?: Record<string, unknown[]> | undefined;
1643
+ };
1644
+ operations: {
1645
+ id: string;
1646
+ name: string;
1647
+ workflowId: string;
1648
+ workflowVersion?: number | undefined;
1649
+ target?: {
1650
+ kind: "workflow";
1651
+ workflowId: string;
1652
+ workflowVersion?: number | undefined;
1653
+ } | {
1654
+ kind: "script";
1655
+ scriptId: string;
1656
+ scriptVersion: number;
1657
+ } | undefined;
1658
+ inputs: Record<string, {
1659
+ from: "widget";
1660
+ } | {
1661
+ from: "variable";
1662
+ variableId: string;
1663
+ } | {
1664
+ from: "constant";
1665
+ value?: unknown;
1666
+ } | {
1667
+ from: "resource";
1668
+ resourceBindingId: string;
1669
+ }>;
1670
+ outputs: Record<string, {
1671
+ to: "display";
1672
+ } | {
1673
+ to: "variable";
1674
+ variableId: string;
1675
+ }>;
1676
+ policy: "parallel" | "queue" | "replace";
1677
+ timeoutMs?: number | undefined;
1678
+ }[];
1679
+ resources: {
1680
+ id: string;
1681
+ name: string;
1682
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1683
+ scope: {
1684
+ projectId?: string | undefined;
1685
+ fixedId?: string | undefined;
1686
+ };
1687
+ operations: ("create" | "delete" | "read" | "update")[];
1688
+ }[];
1689
+ variables: {
1690
+ id: string;
1691
+ name: string;
1692
+ type?: {
1693
+ type: string;
1694
+ optional?: boolean | undefined;
1695
+ } | null | undefined;
1696
+ default?: unknown;
1697
+ scope: "instance" | "user";
1698
+ persist: boolean;
1699
+ }[];
1700
+ theme?: {
1701
+ id: string;
1702
+ } | undefined;
1703
+ recipe?: {
1704
+ schemaVersion: 1;
1705
+ slug: string;
1706
+ category?: string | undefined;
1707
+ tags?: string[] | undefined;
1708
+ inputs: {
1709
+ id: string;
1710
+ label: string;
1711
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
1712
+ required: boolean;
1713
+ description?: string | undefined;
1714
+ choices?: {
1715
+ value: string;
1716
+ title: string;
1717
+ description?: string | undefined;
1718
+ image?: string | undefined;
1719
+ }[] | undefined;
1720
+ }[];
1721
+ defaults?: Record<string, unknown> | undefined;
1722
+ creativeStrategy?: {
1723
+ objective?: string | undefined;
1724
+ structure?: string | undefined;
1725
+ direction?: string | undefined;
1726
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
1727
+ shots?: {
1728
+ id: string;
1729
+ title: string;
1730
+ durationSeconds: number;
1731
+ elements: {
1732
+ id: string;
1733
+ inputId?: string | undefined;
1734
+ kind: "asset" | "shape" | "text";
1735
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
1736
+ direction?: string | undefined;
1737
+ frame?: {
1738
+ box: [number, number, number, number];
1739
+ fit?: "contain" | "cover" | undefined;
1740
+ align?: {
1741
+ x?: "center" | "end" | "start" | undefined;
1742
+ y?: "center" | "end" | "start" | undefined;
1743
+ } | undefined;
1744
+ clip?: boolean | undefined;
1745
+ } | undefined;
1746
+ typography?: {
1747
+ size?: number | undefined;
1748
+ weight?: 400 | 500 | 600 | 700 | undefined;
1749
+ align?: "center" | "left" | "right" | undefined;
1750
+ maxLines?: number | undefined;
1751
+ } | undefined;
1752
+ lock?: ("crop" | "position" | "scale")[] | undefined;
1753
+ limits?: {
1754
+ x?: number | undefined;
1755
+ y?: number | undefined;
1756
+ scale?: number | undefined;
1757
+ } | undefined;
1758
+ style?: {
1759
+ fill?: string | undefined;
1760
+ stroke?: string | undefined;
1761
+ strokeWidth?: number | undefined;
1762
+ cornerRadius?: number | undefined;
1763
+ } | undefined;
1764
+ fallback?: {
1765
+ prompt: string;
1766
+ } | undefined;
1767
+ }[];
1768
+ reviewRules?: string[] | undefined;
1769
+ }[] | undefined;
1770
+ reviewRules?: string[] | undefined;
1771
+ } | undefined;
1772
+ preservationRules?: {
1773
+ inputId: string;
1774
+ policy: "exact_asset" | "exact_color" | "exact_text";
1775
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
1776
+ }[] | undefined;
1777
+ mediaPolicy?: {
1778
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
1779
+ allowGeneratedVideo?: boolean | undefined;
1780
+ } | undefined;
1781
+ operations: {
1782
+ id: string;
1783
+ bindingId: string;
1784
+ intent: string;
1785
+ version?: number | undefined;
1786
+ strategy?: "agentic" | "deterministic" | undefined;
1787
+ model?: {
1788
+ provider: string;
1789
+ id: string;
1790
+ } | undefined;
1791
+ }[];
1792
+ outputs: {
1793
+ id: string;
1794
+ kind: "asset" | "storyboard" | "timeline" | "value";
1795
+ binding?: string | undefined;
1796
+ label?: string | undefined;
1797
+ }[];
1798
+ presentation?: {
1799
+ layout?: string | undefined;
1800
+ groups?: {
1801
+ id: string;
1802
+ title: string;
1803
+ inputIds: string[];
1804
+ }[] | undefined;
1805
+ advancedInputs?: string[] | undefined;
1806
+ } | undefined;
1807
+ marketing?: {
1808
+ shortDescription?: string | undefined;
1809
+ thumbnailAssetId?: string | undefined;
1810
+ } | undefined;
1811
+ } | undefined;
1812
+ };
1813
+ capabilities: {
1814
+ workflows: {
1815
+ workflowId: string;
1816
+ version?: number | undefined;
1817
+ graphHash?: string | undefined;
1818
+ }[];
1819
+ resources: {
1820
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
1821
+ operations: ("create" | "delete" | "read" | "update")[];
1822
+ }[];
1823
+ };
1824
+ released: boolean;
1825
+ createdAt: string;
1826
+ workflows: {
1827
+ workflowId: string;
1828
+ version: number | null;
1829
+ graphHash: string | null;
1830
+ graph: {
1831
+ nodes: {
1832
+ [x: string]: unknown;
1833
+ id: string;
1834
+ type: string;
1835
+ parent_id?: string | null | undefined;
1836
+ data?: unknown;
1837
+ ui_properties?: unknown;
1838
+ dynamic_properties?: Record<string, unknown> | undefined;
1839
+ dynamic_outputs?: Record<string, unknown> | undefined;
1840
+ }[];
1841
+ edges: {
1842
+ [x: string]: unknown;
1843
+ id?: string | null | undefined;
1844
+ source: string;
1845
+ sourceHandle: string;
1846
+ target: string;
1847
+ targetHandle: string;
1848
+ ui_properties?: Record<string, string> | null | undefined;
1849
+ edge_type?: string | undefined;
1850
+ }[];
1851
+ } | null;
1852
+ }[];
1853
+ } | null;
1854
+ meta: object;
1855
+ }>;
1856
+ /**
1857
+ * The app's hidden-URL deployment, or null when it has none. Only the owner
1858
+ * ever sees the token; the visitor presents it, and gets back the release.
1859
+ * Production-only, so a local editor asking this gets a refusal rather than
1860
+ * a link that stops working when it matters.
1861
+ */
1862
+ deployment: import("@trpc/server").TRPCQueryProcedure<{
1863
+ input: {
1864
+ id: string;
1865
+ };
1866
+ output: {
1867
+ applicationId: string;
1868
+ token: string;
1869
+ createdAt: string;
1870
+ revokedAt: string | null;
1871
+ blockedReason: string | null;
1872
+ } | null;
1873
+ meta: object;
1874
+ }>;
1875
+ deploy: import("@trpc/server").TRPCMutationProcedure<{
1876
+ input: {
1877
+ id: string;
1878
+ };
1879
+ output: {
1880
+ applicationId: string;
1881
+ token: string;
1882
+ createdAt: string;
1883
+ revokedAt: string | null;
1884
+ blockedReason: string | null;
1885
+ };
1886
+ meta: object;
1887
+ }>;
1888
+ undeploy: import("@trpc/server").TRPCMutationProcedure<{
1889
+ input: {
1890
+ id: string;
1891
+ };
1892
+ output: {
1893
+ ok: true;
1894
+ };
1895
+ meta: object;
1896
+ }>;
1897
+ budget: import("@trpc/server").TRPCQueryProcedure<{
1898
+ input: {
1899
+ id: string;
1900
+ };
1901
+ output: {
1902
+ applicationId: string;
1903
+ period: "day" | "month" | "total";
1904
+ maxUsd: number | null;
1905
+ maxInvocations: number | null;
1906
+ updatedAt: string;
1907
+ } | null;
1908
+ meta: object;
1909
+ }>;
1910
+ setBudget: import("@trpc/server").TRPCMutationProcedure<{
1911
+ input: {
1912
+ id: string;
1913
+ period?: "day" | "month" | "total" | undefined;
1914
+ maxUsd?: number | null | undefined;
1915
+ maxInvocations?: number | null | undefined;
1916
+ };
1917
+ output: {
1918
+ applicationId: string;
1919
+ period: "day" | "month" | "total";
1920
+ maxUsd: number | null;
1921
+ maxInvocations: number | null;
1922
+ updatedAt: string;
1923
+ };
1924
+ meta: object;
1925
+ }>;
1926
+ usage: import("@trpc/server").TRPCQueryProcedure<{
1927
+ input: {
1928
+ id: string;
1929
+ };
1930
+ output: {
1931
+ period: "day" | "month" | "total";
1932
+ since: string | null;
1933
+ spentUsd: number;
1934
+ invocations: number;
1935
+ };
1936
+ meta: object;
1937
+ }>;
1938
+ invocations: import("@trpc/server").TRPCQueryProcedure<{
1939
+ input: {
1940
+ id: string;
1941
+ };
1942
+ output: {
1943
+ id: string;
1944
+ applicationId: string;
1945
+ version: number | null;
1946
+ invocationId: string;
1947
+ operationId: string;
1948
+ estimatedUsd: number;
1949
+ actualUsd: number | null;
1950
+ status: string;
1951
+ createdAt: string;
1952
+ settledAt: string | null;
1953
+ }[];
1954
+ meta: object;
1955
+ }>;
1956
+ /**
1957
+ * Reserve budget for a run. Call this before creating the job: an
1958
+ * over-budget run must fail with a typed error rather than reach a provider.
1959
+ */
1960
+ beginInvocation: import("@trpc/server").TRPCMutationProcedure<{
1961
+ input: {
1962
+ id: string;
1963
+ invocationId: string;
1964
+ operationId?: string | undefined;
1965
+ estimatedUsd?: number | undefined;
1966
+ };
1967
+ output: {
1968
+ id: string;
1969
+ applicationId: string;
1970
+ version: number | null;
1971
+ invocationId: string;
1972
+ operationId: string;
1973
+ estimatedUsd: number;
1974
+ actualUsd: number | null;
1975
+ status: string;
1976
+ createdAt: string;
1977
+ settledAt: string | null;
1978
+ };
1979
+ meta: object;
1980
+ }>;
1981
+ /**
1982
+ * Close a run out with what it actually cost. `loadOwned` authorizes the
1983
+ * application, and the settle itself is scoped to that application, so an
1984
+ * invocation id belonging to someone else's app settles nothing.
1985
+ */
1986
+ settleInvocation: import("@trpc/server").TRPCMutationProcedure<{
1987
+ input: {
1988
+ id: string;
1989
+ invocationId: string;
1990
+ actualUsd: number | null;
1991
+ status?: "cancelled" | "completed" | "failed" | undefined;
1992
+ };
1993
+ output: {
1994
+ id: string;
1995
+ applicationId: string;
1996
+ version: number | null;
1997
+ invocationId: string;
1998
+ operationId: string;
1999
+ estimatedUsd: number;
2000
+ actualUsd: number | null;
2001
+ status: string;
2002
+ createdAt: string;
2003
+ settledAt: string | null;
2004
+ } | null;
2005
+ meta: object;
2006
+ }>;
2007
+ release: import("@trpc/server").TRPCMutationProcedure<{
2008
+ input: {
2009
+ id: string;
2010
+ version: number;
2011
+ };
2012
+ output: {
2013
+ id: string;
2014
+ applicationId: string;
2015
+ version: number;
2016
+ document: {
2017
+ schemaVersion: number;
2018
+ ui: {
2019
+ [x: string]: unknown;
2020
+ root: {
2021
+ props?: Record<string, unknown> | undefined;
2022
+ };
2023
+ content: unknown[];
2024
+ zones?: Record<string, unknown[]> | undefined;
2025
+ };
2026
+ operations: {
2027
+ id: string;
2028
+ name: string;
2029
+ workflowId: string;
2030
+ workflowVersion?: number | undefined;
2031
+ target?: {
2032
+ kind: "workflow";
2033
+ workflowId: string;
2034
+ workflowVersion?: number | undefined;
2035
+ } | {
2036
+ kind: "script";
2037
+ scriptId: string;
2038
+ scriptVersion: number;
2039
+ } | undefined;
2040
+ inputs: Record<string, {
2041
+ from: "widget";
2042
+ } | {
2043
+ from: "variable";
2044
+ variableId: string;
2045
+ } | {
2046
+ from: "constant";
2047
+ value?: unknown;
2048
+ } | {
2049
+ from: "resource";
2050
+ resourceBindingId: string;
2051
+ }>;
2052
+ outputs: Record<string, {
2053
+ to: "display";
2054
+ } | {
2055
+ to: "variable";
2056
+ variableId: string;
2057
+ }>;
2058
+ policy: "parallel" | "queue" | "replace";
2059
+ timeoutMs?: number | undefined;
2060
+ }[];
2061
+ resources: {
2062
+ id: string;
2063
+ name: string;
2064
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
2065
+ scope: {
2066
+ projectId?: string | undefined;
2067
+ fixedId?: string | undefined;
2068
+ };
2069
+ operations: ("create" | "delete" | "read" | "update")[];
2070
+ }[];
2071
+ variables: {
2072
+ id: string;
2073
+ name: string;
2074
+ type?: {
2075
+ type: string;
2076
+ optional?: boolean | undefined;
2077
+ } | null | undefined;
2078
+ default?: unknown;
2079
+ scope: "instance" | "user";
2080
+ persist: boolean;
2081
+ }[];
2082
+ theme?: {
2083
+ id: string;
2084
+ } | undefined;
2085
+ recipe?: {
2086
+ schemaVersion: 1;
2087
+ slug: string;
2088
+ category?: string | undefined;
2089
+ tags?: string[] | undefined;
2090
+ inputs: {
2091
+ id: string;
2092
+ label: string;
2093
+ kind: "asset" | "audio" | "boolean" | "color" | "entity" | "image" | "number" | "storyboard" | "text" | "timeline" | "video";
2094
+ required: boolean;
2095
+ description?: string | undefined;
2096
+ choices?: {
2097
+ value: string;
2098
+ title: string;
2099
+ description?: string | undefined;
2100
+ image?: string | undefined;
2101
+ }[] | undefined;
2102
+ }[];
2103
+ defaults?: Record<string, unknown> | undefined;
2104
+ creativeStrategy?: {
2105
+ objective?: string | undefined;
2106
+ structure?: string | undefined;
2107
+ direction?: string | undefined;
2108
+ aspectRatio?: "16:9" | "1:1" | "4:5" | "9:16" | undefined;
2109
+ shots?: {
2110
+ id: string;
2111
+ title: string;
2112
+ durationSeconds: number;
2113
+ elements: {
2114
+ id: string;
2115
+ inputId?: string | undefined;
2116
+ kind: "asset" | "shape" | "text";
2117
+ role: "cta" | "decorative" | "headline" | "logo" | "price" | "product";
2118
+ direction?: string | undefined;
2119
+ frame?: {
2120
+ box: [number, number, number, number];
2121
+ fit?: "contain" | "cover" | undefined;
2122
+ align?: {
2123
+ x?: "center" | "end" | "start" | undefined;
2124
+ y?: "center" | "end" | "start" | undefined;
2125
+ } | undefined;
2126
+ clip?: boolean | undefined;
2127
+ } | undefined;
2128
+ typography?: {
2129
+ size?: number | undefined;
2130
+ weight?: 400 | 500 | 600 | 700 | undefined;
2131
+ align?: "center" | "left" | "right" | undefined;
2132
+ maxLines?: number | undefined;
2133
+ } | undefined;
2134
+ lock?: ("crop" | "position" | "scale")[] | undefined;
2135
+ limits?: {
2136
+ x?: number | undefined;
2137
+ y?: number | undefined;
2138
+ scale?: number | undefined;
2139
+ } | undefined;
2140
+ style?: {
2141
+ fill?: string | undefined;
2142
+ stroke?: string | undefined;
2143
+ strokeWidth?: number | undefined;
2144
+ cornerRadius?: number | undefined;
2145
+ } | undefined;
2146
+ fallback?: {
2147
+ prompt: string;
2148
+ } | undefined;
2149
+ }[];
2150
+ reviewRules?: string[] | undefined;
2151
+ }[] | undefined;
2152
+ reviewRules?: string[] | undefined;
2153
+ } | undefined;
2154
+ preservationRules?: {
2155
+ inputId: string;
2156
+ policy: "exact_asset" | "exact_color" | "exact_text";
2157
+ allowedTransformations?: ("composite" | "crop" | "mask" | "opacity" | "position" | "rotate" | "scale")[] | undefined;
2158
+ }[] | undefined;
2159
+ mediaPolicy?: {
2160
+ defaultStrategy?: "generated_video" | "hybrid" | "still_motion_graphics" | undefined;
2161
+ allowGeneratedVideo?: boolean | undefined;
2162
+ } | undefined;
2163
+ operations: {
2164
+ id: string;
2165
+ bindingId: string;
2166
+ intent: string;
2167
+ version?: number | undefined;
2168
+ strategy?: "agentic" | "deterministic" | undefined;
2169
+ model?: {
2170
+ provider: string;
2171
+ id: string;
2172
+ } | undefined;
2173
+ }[];
2174
+ outputs: {
2175
+ id: string;
2176
+ kind: "asset" | "storyboard" | "timeline" | "value";
2177
+ binding?: string | undefined;
2178
+ label?: string | undefined;
2179
+ }[];
2180
+ presentation?: {
2181
+ layout?: string | undefined;
2182
+ groups?: {
2183
+ id: string;
2184
+ title: string;
2185
+ inputIds: string[];
2186
+ }[] | undefined;
2187
+ advancedInputs?: string[] | undefined;
2188
+ } | undefined;
2189
+ marketing?: {
2190
+ shortDescription?: string | undefined;
2191
+ thumbnailAssetId?: string | undefined;
2192
+ } | undefined;
2193
+ } | undefined;
2194
+ };
2195
+ capabilities: {
2196
+ workflows: {
2197
+ workflowId: string;
2198
+ version?: number | undefined;
2199
+ graphHash?: string | undefined;
2200
+ }[];
2201
+ resources: {
2202
+ kind: "asset" | "sketch" | "storyboard" | "timeline";
2203
+ operations: ("create" | "delete" | "read" | "update")[];
2204
+ }[];
2205
+ };
2206
+ released: boolean;
2207
+ createdAt: string;
2208
+ };
2209
+ meta: object;
2210
+ }>;
2211
+ }>>;
2212
+ //# sourceMappingURL=applications.d.ts.map