@playcraft/common 0.1.50-beta → 0.1.51

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 (433) hide show
  1. package/README.md +1 -1
  2. package/dist/agent/session-title.d.ts +1 -1
  3. package/dist/agent/session-title.js +1 -1
  4. package/dist/agent-messages/db-message-converter.d.ts +0 -10
  5. package/dist/agent-messages/db-message-converter.d.ts.map +1 -1
  6. package/dist/agent-messages/db-message-converter.js +0 -13
  7. package/dist/agent-messages/db-message-converter.js.map +1 -1
  8. package/dist/agent-tools/index.d.ts +0 -5
  9. package/dist/agent-tools/index.d.ts.map +1 -1
  10. package/dist/agent-tools/index.js +0 -5
  11. package/dist/agent-tools/index.js.map +1 -1
  12. package/dist/agent-tools/types.d.ts +24 -9
  13. package/dist/agent-tools/types.d.ts.map +1 -1
  14. package/dist/agent-tools/types.js.map +1 -1
  15. package/dist/database/postgres-adapter.js +1 -1
  16. package/dist/database/postgres-adapter.js.map +1 -1
  17. package/dist/database/schema.d.ts +1 -1
  18. package/dist/database/schema.js +1 -1
  19. package/dist/prefab/image-background.d.ts +10 -0
  20. package/dist/prefab/image-background.d.ts.map +1 -0
  21. package/dist/prefab/image-background.js +19 -0
  22. package/dist/prefab/image-background.js.map +1 -0
  23. package/dist/prefab/image-generation-constraints.d.ts +72 -0
  24. package/dist/prefab/image-generation-constraints.d.ts.map +1 -0
  25. package/dist/prefab/image-generation-constraints.js +112 -0
  26. package/dist/prefab/image-generation-constraints.js.map +1 -0
  27. package/dist/prefab/index.d.ts +2 -0
  28. package/dist/prefab/index.d.ts.map +1 -1
  29. package/dist/prefab/index.js +2 -0
  30. package/dist/prefab/index.js.map +1 -1
  31. package/dist/prefab/mime-type-list.d.ts +1 -0
  32. package/dist/prefab/mime-type-list.d.ts.map +1 -1
  33. package/dist/prefab/mime-type-list.js +5 -1
  34. package/dist/prefab/mime-type-list.js.map +1 -1
  35. package/dist/recommend/types.d.ts +1 -1
  36. package/dist/recommend/types.js +1 -1
  37. package/dist/storage/cos.d.ts +0 -11
  38. package/dist/storage/cos.d.ts.map +1 -1
  39. package/dist/storage/cos.js +0 -29
  40. package/dist/storage/cos.js.map +1 -1
  41. package/package.json +1 -33
  42. package/dist/agent-tools/operation-protocol.d.ts +0 -10
  43. package/dist/agent-tools/operation-protocol.d.ts.map +0 -1
  44. package/dist/agent-tools/operation-protocol.js +0 -13
  45. package/dist/agent-tools/operation-protocol.js.map +0 -1
  46. package/dist/agent-tools/replica-recording.d.ts +0 -283
  47. package/dist/agent-tools/replica-recording.d.ts.map +0 -1
  48. package/dist/agent-tools/replica-recording.js +0 -109
  49. package/dist/agent-tools/replica-recording.js.map +0 -1
  50. package/dist/agent-tools/replica-validation.d.ts +0 -972
  51. package/dist/agent-tools/replica-validation.d.ts.map +0 -1
  52. package/dist/agent-tools/replica-validation.js +0 -254
  53. package/dist/agent-tools/replica-validation.js.map +0 -1
  54. package/dist/agent-tools/video-model-proxy.d.ts +0 -113
  55. package/dist/agent-tools/video-model-proxy.d.ts.map +0 -1
  56. package/dist/agent-tools/video-model-proxy.js +0 -49
  57. package/dist/agent-tools/video-model-proxy.js.map +0 -1
  58. package/dist/agent-tools/video-replication.d.ts +0 -421
  59. package/dist/agent-tools/video-replication.d.ts.map +0 -1
  60. package/dist/agent-tools/video-replication.js +0 -95
  61. package/dist/agent-tools/video-replication.js.map +0 -1
  62. package/dist/cloud-workspace/runtime/agent-background-processes.d.ts +0 -68
  63. package/dist/cloud-workspace/runtime/agent-background-processes.d.ts.map +0 -1
  64. package/dist/cloud-workspace/runtime/agent-background-processes.js +0 -60
  65. package/dist/cloud-workspace/runtime/agent-background-processes.js.map +0 -1
  66. package/dist/cloud-workspace/runtime/agent-chat-flush.d.ts +0 -55
  67. package/dist/cloud-workspace/runtime/agent-chat-flush.d.ts.map +0 -1
  68. package/dist/cloud-workspace/runtime/agent-chat-flush.js +0 -51
  69. package/dist/cloud-workspace/runtime/agent-chat-flush.js.map +0 -1
  70. package/dist/cloud-workspace/runtime/agent-command.d.ts +0 -152
  71. package/dist/cloud-workspace/runtime/agent-command.d.ts.map +0 -1
  72. package/dist/cloud-workspace/runtime/agent-command.js +0 -90
  73. package/dist/cloud-workspace/runtime/agent-command.js.map +0 -1
  74. package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts +0 -143
  75. package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts.map +0 -1
  76. package/dist/cloud-workspace/runtime/agent-competitor-report.js +0 -115
  77. package/dist/cloud-workspace/runtime/agent-competitor-report.js.map +0 -1
  78. package/dist/cloud-workspace/runtime/agent-connection.d.ts +0 -76
  79. package/dist/cloud-workspace/runtime/agent-connection.d.ts.map +0 -1
  80. package/dist/cloud-workspace/runtime/agent-connection.js +0 -59
  81. package/dist/cloud-workspace/runtime/agent-connection.js.map +0 -1
  82. package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts +0 -90
  83. package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts.map +0 -1
  84. package/dist/cloud-workspace/runtime/agent-issue-artifacts.js +0 -60
  85. package/dist/cloud-workspace/runtime/agent-issue-artifacts.js.map +0 -1
  86. package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts +0 -87
  87. package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts.map +0 -1
  88. package/dist/cloud-workspace/runtime/agent-lifecycle.js +0 -75
  89. package/dist/cloud-workspace/runtime/agent-lifecycle.js.map +0 -1
  90. package/dist/cloud-workspace/runtime/agent-mutation.d.ts +0 -197
  91. package/dist/cloud-workspace/runtime/agent-mutation.d.ts.map +0 -1
  92. package/dist/cloud-workspace/runtime/agent-mutation.js +0 -114
  93. package/dist/cloud-workspace/runtime/agent-mutation.js.map +0 -1
  94. package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts +0 -210
  95. package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts.map +0 -1
  96. package/dist/cloud-workspace/runtime/agent-opencode-gateway.js +0 -180
  97. package/dist/cloud-workspace/runtime/agent-opencode-gateway.js.map +0 -1
  98. package/dist/cloud-workspace/runtime/agent-opencode.d.ts +0 -406
  99. package/dist/cloud-workspace/runtime/agent-opencode.d.ts.map +0 -1
  100. package/dist/cloud-workspace/runtime/agent-opencode.js +0 -237
  101. package/dist/cloud-workspace/runtime/agent-opencode.js.map +0 -1
  102. package/dist/cloud-workspace/runtime/agent-promotion.d.ts +0 -21
  103. package/dist/cloud-workspace/runtime/agent-promotion.d.ts.map +0 -1
  104. package/dist/cloud-workspace/runtime/agent-promotion.js +0 -23
  105. package/dist/cloud-workspace/runtime/agent-promotion.js.map +0 -1
  106. package/dist/cloud-workspace/runtime/agent-read.d.ts +0 -343
  107. package/dist/cloud-workspace/runtime/agent-read.d.ts.map +0 -1
  108. package/dist/cloud-workspace/runtime/agent-read.js +0 -159
  109. package/dist/cloud-workspace/runtime/agent-read.js.map +0 -1
  110. package/dist/cloud-workspace/runtime/agent-source-project.d.ts +0 -126
  111. package/dist/cloud-workspace/runtime/agent-source-project.d.ts.map +0 -1
  112. package/dist/cloud-workspace/runtime/agent-source-project.js +0 -95
  113. package/dist/cloud-workspace/runtime/agent-source-project.js.map +0 -1
  114. package/dist/cloud-workspace/runtime/agent-tool-claim.d.ts +0 -18
  115. package/dist/cloud-workspace/runtime/agent-tool-claim.d.ts.map +0 -1
  116. package/dist/cloud-workspace/runtime/agent-tool-claim.js +0 -16
  117. package/dist/cloud-workspace/runtime/agent-tool-claim.js.map +0 -1
  118. package/dist/cloud-workspace/runtime/agent-variant-chat.d.ts +0 -9
  119. package/dist/cloud-workspace/runtime/agent-variant-chat.d.ts.map +0 -1
  120. package/dist/cloud-workspace/runtime/agent-variant-chat.js +0 -23
  121. package/dist/cloud-workspace/runtime/agent-variant-chat.js.map +0 -1
  122. package/dist/cloud-workspace/runtime/agent-variant-git.d.ts +0 -75
  123. package/dist/cloud-workspace/runtime/agent-variant-git.d.ts.map +0 -1
  124. package/dist/cloud-workspace/runtime/agent-variant-git.js +0 -62
  125. package/dist/cloud-workspace/runtime/agent-variant-git.js.map +0 -1
  126. package/dist/cloud-workspace/runtime/animation-editor.d.ts +0 -766
  127. package/dist/cloud-workspace/runtime/animation-editor.d.ts.map +0 -1
  128. package/dist/cloud-workspace/runtime/animation-editor.js +0 -84
  129. package/dist/cloud-workspace/runtime/animation-editor.js.map +0 -1
  130. package/dist/cloud-workspace/runtime/animation-quality.d.ts +0 -33
  131. package/dist/cloud-workspace/runtime/animation-quality.d.ts.map +0 -1
  132. package/dist/cloud-workspace/runtime/animation-quality.js +0 -14
  133. package/dist/cloud-workspace/runtime/animation-quality.js.map +0 -1
  134. package/dist/cloud-workspace/runtime/artifacts.d.ts +0 -239
  135. package/dist/cloud-workspace/runtime/artifacts.d.ts.map +0 -1
  136. package/dist/cloud-workspace/runtime/artifacts.js +0 -105
  137. package/dist/cloud-workspace/runtime/artifacts.js.map +0 -1
  138. package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts +0 -61
  139. package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts.map +0 -1
  140. package/dist/cloud-workspace/runtime/asset-generation-bundle.js +0 -59
  141. package/dist/cloud-workspace/runtime/asset-generation-bundle.js.map +0 -1
  142. package/dist/cloud-workspace/runtime/asset-generation-video-validator.d.ts +0 -15
  143. package/dist/cloud-workspace/runtime/asset-generation-video-validator.d.ts.map +0 -1
  144. package/dist/cloud-workspace/runtime/asset-generation-video-validator.js +0 -63
  145. package/dist/cloud-workspace/runtime/asset-generation-video-validator.js.map +0 -1
  146. package/dist/cloud-workspace/runtime/asset-generation-video.d.ts +0 -92
  147. package/dist/cloud-workspace/runtime/asset-generation-video.d.ts.map +0 -1
  148. package/dist/cloud-workspace/runtime/asset-generation-video.js +0 -63
  149. package/dist/cloud-workspace/runtime/asset-generation-video.js.map +0 -1
  150. package/dist/cloud-workspace/runtime/asset-generation.d.ts +0 -837
  151. package/dist/cloud-workspace/runtime/asset-generation.d.ts.map +0 -1
  152. package/dist/cloud-workspace/runtime/asset-generation.js +0 -175
  153. package/dist/cloud-workspace/runtime/asset-generation.js.map +0 -1
  154. package/dist/cloud-workspace/runtime/asset-library-import.d.ts +0 -73
  155. package/dist/cloud-workspace/runtime/asset-library-import.d.ts.map +0 -1
  156. package/dist/cloud-workspace/runtime/asset-library-import.js +0 -37
  157. package/dist/cloud-workspace/runtime/asset-library-import.js.map +0 -1
  158. package/dist/cloud-workspace/runtime/asset-transfers.d.ts +0 -92
  159. package/dist/cloud-workspace/runtime/asset-transfers.d.ts.map +0 -1
  160. package/dist/cloud-workspace/runtime/asset-transfers.js +0 -119
  161. package/dist/cloud-workspace/runtime/asset-transfers.js.map +0 -1
  162. package/dist/cloud-workspace/runtime/attachment-base64.d.ts +0 -3
  163. package/dist/cloud-workspace/runtime/attachment-base64.d.ts.map +0 -1
  164. package/dist/cloud-workspace/runtime/attachment-base64.js +0 -8
  165. package/dist/cloud-workspace/runtime/attachment-base64.js.map +0 -1
  166. package/dist/cloud-workspace/runtime/attachments.d.ts +0 -33
  167. package/dist/cloud-workspace/runtime/attachments.d.ts.map +0 -1
  168. package/dist/cloud-workspace/runtime/attachments.js +0 -35
  169. package/dist/cloud-workspace/runtime/attachments.js.map +0 -1
  170. package/dist/cloud-workspace/runtime/batch-generation.d.ts +0 -96
  171. package/dist/cloud-workspace/runtime/batch-generation.d.ts.map +0 -1
  172. package/dist/cloud-workspace/runtime/batch-generation.js +0 -77
  173. package/dist/cloud-workspace/runtime/batch-generation.js.map +0 -1
  174. package/dist/cloud-workspace/runtime/batch-production.d.ts +0 -66
  175. package/dist/cloud-workspace/runtime/batch-production.d.ts.map +0 -1
  176. package/dist/cloud-workspace/runtime/batch-production.js +0 -35
  177. package/dist/cloud-workspace/runtime/batch-production.js.map +0 -1
  178. package/dist/cloud-workspace/runtime/batch-runs.d.ts +0 -711
  179. package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +0 -1
  180. package/dist/cloud-workspace/runtime/batch-runs.js +0 -226
  181. package/dist/cloud-workspace/runtime/batch-runs.js.map +0 -1
  182. package/dist/cloud-workspace/runtime/batch-source.d.ts +0 -20
  183. package/dist/cloud-workspace/runtime/batch-source.d.ts.map +0 -1
  184. package/dist/cloud-workspace/runtime/batch-source.js +0 -28
  185. package/dist/cloud-workspace/runtime/batch-source.js.map +0 -1
  186. package/dist/cloud-workspace/runtime/capabilities.d.ts +0 -40
  187. package/dist/cloud-workspace/runtime/capabilities.d.ts.map +0 -1
  188. package/dist/cloud-workspace/runtime/capabilities.js +0 -53
  189. package/dist/cloud-workspace/runtime/capabilities.js.map +0 -1
  190. package/dist/cloud-workspace/runtime/chat-realtime-admission.d.ts +0 -53
  191. package/dist/cloud-workspace/runtime/chat-realtime-admission.d.ts.map +0 -1
  192. package/dist/cloud-workspace/runtime/chat-realtime-admission.js +0 -95
  193. package/dist/cloud-workspace/runtime/chat-realtime-admission.js.map +0 -1
  194. package/dist/cloud-workspace/runtime/chat-realtime.d.ts +0 -197
  195. package/dist/cloud-workspace/runtime/chat-realtime.d.ts.map +0 -1
  196. package/dist/cloud-workspace/runtime/chat-realtime.js +0 -300
  197. package/dist/cloud-workspace/runtime/chat-realtime.js.map +0 -1
  198. package/dist/cloud-workspace/runtime/checkpoints.d.ts +0 -35
  199. package/dist/cloud-workspace/runtime/checkpoints.d.ts.map +0 -1
  200. package/dist/cloud-workspace/runtime/checkpoints.js +0 -35
  201. package/dist/cloud-workspace/runtime/checkpoints.js.map +0 -1
  202. package/dist/cloud-workspace/runtime/composer-context.d.ts +0 -82
  203. package/dist/cloud-workspace/runtime/composer-context.d.ts.map +0 -1
  204. package/dist/cloud-workspace/runtime/composer-context.js +0 -51
  205. package/dist/cloud-workspace/runtime/composer-context.js.map +0 -1
  206. package/dist/cloud-workspace/runtime/config.d.ts +0 -48
  207. package/dist/cloud-workspace/runtime/config.d.ts.map +0 -1
  208. package/dist/cloud-workspace/runtime/config.js +0 -126
  209. package/dist/cloud-workspace/runtime/config.js.map +0 -1
  210. package/dist/cloud-workspace/runtime/connectivity.d.ts +0 -211
  211. package/dist/cloud-workspace/runtime/connectivity.d.ts.map +0 -1
  212. package/dist/cloud-workspace/runtime/connectivity.js +0 -46
  213. package/dist/cloud-workspace/runtime/connectivity.js.map +0 -1
  214. package/dist/cloud-workspace/runtime/delivery.d.ts +0 -1042
  215. package/dist/cloud-workspace/runtime/delivery.d.ts.map +0 -1
  216. package/dist/cloud-workspace/runtime/delivery.js +0 -208
  217. package/dist/cloud-workspace/runtime/delivery.js.map +0 -1
  218. package/dist/cloud-workspace/runtime/directories.d.ts +0 -32
  219. package/dist/cloud-workspace/runtime/directories.d.ts.map +0 -1
  220. package/dist/cloud-workspace/runtime/directories.js +0 -44
  221. package/dist/cloud-workspace/runtime/directories.js.map +0 -1
  222. package/dist/cloud-workspace/runtime/directory-attachments.d.ts +0 -28
  223. package/dist/cloud-workspace/runtime/directory-attachments.d.ts.map +0 -1
  224. package/dist/cloud-workspace/runtime/directory-attachments.js +0 -30
  225. package/dist/cloud-workspace/runtime/directory-attachments.js.map +0 -1
  226. package/dist/cloud-workspace/runtime/errors.d.ts +0 -26
  227. package/dist/cloud-workspace/runtime/errors.d.ts.map +0 -1
  228. package/dist/cloud-workspace/runtime/errors.js +0 -40
  229. package/dist/cloud-workspace/runtime/errors.js.map +0 -1
  230. package/dist/cloud-workspace/runtime/events.d.ts +0 -107
  231. package/dist/cloud-workspace/runtime/events.d.ts.map +0 -1
  232. package/dist/cloud-workspace/runtime/events.js +0 -70
  233. package/dist/cloud-workspace/runtime/events.js.map +0 -1
  234. package/dist/cloud-workspace/runtime/execution-admission.d.ts +0 -181
  235. package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +0 -1
  236. package/dist/cloud-workspace/runtime/execution-admission.js +0 -120
  237. package/dist/cloud-workspace/runtime/execution-admission.js.map +0 -1
  238. package/dist/cloud-workspace/runtime/execution-grant.d.ts +0 -36
  239. package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +0 -1
  240. package/dist/cloud-workspace/runtime/execution-grant.js +0 -102
  241. package/dist/cloud-workspace/runtime/execution-grant.js.map +0 -1
  242. package/dist/cloud-workspace/runtime/files-search.d.ts +0 -17
  243. package/dist/cloud-workspace/runtime/files-search.d.ts.map +0 -1
  244. package/dist/cloud-workspace/runtime/files-search.js +0 -14
  245. package/dist/cloud-workspace/runtime/files-search.js.map +0 -1
  246. package/dist/cloud-workspace/runtime/files.d.ts +0 -132
  247. package/dist/cloud-workspace/runtime/files.d.ts.map +0 -1
  248. package/dist/cloud-workspace/runtime/files.js +0 -129
  249. package/dist/cloud-workspace/runtime/files.js.map +0 -1
  250. package/dist/cloud-workspace/runtime/generations.d.ts +0 -18
  251. package/dist/cloud-workspace/runtime/generations.d.ts.map +0 -1
  252. package/dist/cloud-workspace/runtime/generations.js +0 -39
  253. package/dist/cloud-workspace/runtime/generations.js.map +0 -1
  254. package/dist/cloud-workspace/runtime/git-auth-mode.d.ts +0 -35
  255. package/dist/cloud-workspace/runtime/git-auth-mode.d.ts.map +0 -1
  256. package/dist/cloud-workspace/runtime/git-auth-mode.js +0 -73
  257. package/dist/cloud-workspace/runtime/git-auth-mode.js.map +0 -1
  258. package/dist/cloud-workspace/runtime/git.d.ts +0 -147
  259. package/dist/cloud-workspace/runtime/git.d.ts.map +0 -1
  260. package/dist/cloud-workspace/runtime/git.js +0 -128
  261. package/dist/cloud-workspace/runtime/git.js.map +0 -1
  262. package/dist/cloud-workspace/runtime/handshake.d.ts +0 -47
  263. package/dist/cloud-workspace/runtime/handshake.d.ts.map +0 -1
  264. package/dist/cloud-workspace/runtime/handshake.js +0 -31
  265. package/dist/cloud-workspace/runtime/handshake.js.map +0 -1
  266. package/dist/cloud-workspace/runtime/index.d.ts +0 -77
  267. package/dist/cloud-workspace/runtime/index.d.ts.map +0 -1
  268. package/dist/cloud-workspace/runtime/index.js +0 -77
  269. package/dist/cloud-workspace/runtime/index.js.map +0 -1
  270. package/dist/cloud-workspace/runtime/library-attachments.d.ts +0 -120
  271. package/dist/cloud-workspace/runtime/library-attachments.d.ts.map +0 -1
  272. package/dist/cloud-workspace/runtime/library-attachments.js +0 -75
  273. package/dist/cloud-workspace/runtime/library-attachments.js.map +0 -1
  274. package/dist/cloud-workspace/runtime/mcp.d.ts +0 -82
  275. package/dist/cloud-workspace/runtime/mcp.d.ts.map +0 -1
  276. package/dist/cloud-workspace/runtime/mcp.js +0 -48
  277. package/dist/cloud-workspace/runtime/mcp.js.map +0 -1
  278. package/dist/cloud-workspace/runtime/native-history.d.ts +0 -66
  279. package/dist/cloud-workspace/runtime/native-history.d.ts.map +0 -1
  280. package/dist/cloud-workspace/runtime/native-history.js +0 -132
  281. package/dist/cloud-workspace/runtime/native-history.js.map +0 -1
  282. package/dist/cloud-workspace/runtime/operations.d.ts +0 -504
  283. package/dist/cloud-workspace/runtime/operations.d.ts.map +0 -1
  284. package/dist/cloud-workspace/runtime/operations.js +0 -245
  285. package/dist/cloud-workspace/runtime/operations.js.map +0 -1
  286. package/dist/cloud-workspace/runtime/parameter-agent.d.ts +0 -255
  287. package/dist/cloud-workspace/runtime/parameter-agent.d.ts.map +0 -1
  288. package/dist/cloud-workspace/runtime/parameter-agent.js +0 -82
  289. package/dist/cloud-workspace/runtime/parameter-agent.js.map +0 -1
  290. package/dist/cloud-workspace/runtime/parameter-catalog.d.ts +0 -28
  291. package/dist/cloud-workspace/runtime/parameter-catalog.d.ts.map +0 -1
  292. package/dist/cloud-workspace/runtime/parameter-catalog.js +0 -223
  293. package/dist/cloud-workspace/runtime/parameter-catalog.js.map +0 -1
  294. package/dist/cloud-workspace/runtime/parameters.d.ts +0 -66
  295. package/dist/cloud-workspace/runtime/parameters.d.ts.map +0 -1
  296. package/dist/cloud-workspace/runtime/parameters.js +0 -118
  297. package/dist/cloud-workspace/runtime/parameters.js.map +0 -1
  298. package/dist/cloud-workspace/runtime/permissions.d.ts +0 -24
  299. package/dist/cloud-workspace/runtime/permissions.d.ts.map +0 -1
  300. package/dist/cloud-workspace/runtime/permissions.js +0 -19
  301. package/dist/cloud-workspace/runtime/permissions.js.map +0 -1
  302. package/dist/cloud-workspace/runtime/platform-endpoints.d.ts +0 -25
  303. package/dist/cloud-workspace/runtime/platform-endpoints.d.ts.map +0 -1
  304. package/dist/cloud-workspace/runtime/platform-endpoints.js +0 -37
  305. package/dist/cloud-workspace/runtime/platform-endpoints.js.map +0 -1
  306. package/dist/cloud-workspace/runtime/preview-runtime.d.ts +0 -33
  307. package/dist/cloud-workspace/runtime/preview-runtime.d.ts.map +0 -1
  308. package/dist/cloud-workspace/runtime/preview-runtime.js +0 -51
  309. package/dist/cloud-workspace/runtime/preview-runtime.js.map +0 -1
  310. package/dist/cloud-workspace/runtime/previews.d.ts +0 -109
  311. package/dist/cloud-workspace/runtime/previews.d.ts.map +0 -1
  312. package/dist/cloud-workspace/runtime/previews.js +0 -66
  313. package/dist/cloud-workspace/runtime/previews.js.map +0 -1
  314. package/dist/cloud-workspace/runtime/project-native-skills.d.ts +0 -40
  315. package/dist/cloud-workspace/runtime/project-native-skills.d.ts.map +0 -1
  316. package/dist/cloud-workspace/runtime/project-native-skills.js +0 -45
  317. package/dist/cloud-workspace/runtime/project-native-skills.js.map +0 -1
  318. package/dist/cloud-workspace/runtime/protocol.d.ts +0 -23
  319. package/dist/cloud-workspace/runtime/protocol.d.ts.map +0 -1
  320. package/dist/cloud-workspace/runtime/protocol.js +0 -30
  321. package/dist/cloud-workspace/runtime/protocol.js.map +0 -1
  322. package/dist/cloud-workspace/runtime/remix-references.d.ts +0 -197
  323. package/dist/cloud-workspace/runtime/remix-references.d.ts.map +0 -1
  324. package/dist/cloud-workspace/runtime/remix-references.js +0 -73
  325. package/dist/cloud-workspace/runtime/remix-references.js.map +0 -1
  326. package/dist/cloud-workspace/runtime/resource-grant.d.ts +0 -62
  327. package/dist/cloud-workspace/runtime/resource-grant.d.ts.map +0 -1
  328. package/dist/cloud-workspace/runtime/resource-grant.js +0 -87
  329. package/dist/cloud-workspace/runtime/resource-grant.js.map +0 -1
  330. package/dist/cloud-workspace/runtime/self-contained-glb.d.ts +0 -3
  331. package/dist/cloud-workspace/runtime/self-contained-glb.d.ts.map +0 -1
  332. package/dist/cloud-workspace/runtime/self-contained-glb.js +0 -67
  333. package/dist/cloud-workspace/runtime/self-contained-glb.js.map +0 -1
  334. package/dist/cloud-workspace/runtime/session-restore.d.ts +0 -31
  335. package/dist/cloud-workspace/runtime/session-restore.d.ts.map +0 -1
  336. package/dist/cloud-workspace/runtime/session-restore.js +0 -24
  337. package/dist/cloud-workspace/runtime/session-restore.js.map +0 -1
  338. package/dist/cloud-workspace/runtime/skills.d.ts +0 -39
  339. package/dist/cloud-workspace/runtime/skills.d.ts.map +0 -1
  340. package/dist/cloud-workspace/runtime/skills.js +0 -33
  341. package/dist/cloud-workspace/runtime/skills.js.map +0 -1
  342. package/dist/cloud-workspace/runtime/terminal-session.d.ts +0 -78
  343. package/dist/cloud-workspace/runtime/terminal-session.d.ts.map +0 -1
  344. package/dist/cloud-workspace/runtime/terminal-session.js +0 -178
  345. package/dist/cloud-workspace/runtime/terminal-session.js.map +0 -1
  346. package/dist/cloud-workspace/runtime/terminals.d.ts +0 -90
  347. package/dist/cloud-workspace/runtime/terminals.d.ts.map +0 -1
  348. package/dist/cloud-workspace/runtime/terminals.js +0 -111
  349. package/dist/cloud-workspace/runtime/terminals.js.map +0 -1
  350. package/dist/cloud-workspace/runtime/turn-control.d.ts +0 -27
  351. package/dist/cloud-workspace/runtime/turn-control.d.ts.map +0 -1
  352. package/dist/cloud-workspace/runtime/turn-control.js +0 -18
  353. package/dist/cloud-workspace/runtime/turn-control.js.map +0 -1
  354. package/dist/cloud-workspace/runtime/variant-workspace.d.ts +0 -221
  355. package/dist/cloud-workspace/runtime/variant-workspace.d.ts.map +0 -1
  356. package/dist/cloud-workspace/runtime/variant-workspace.js +0 -75
  357. package/dist/cloud-workspace/runtime/variant-workspace.js.map +0 -1
  358. package/dist/cloud-workspace/runtime/workspace-binding.d.ts +0 -219
  359. package/dist/cloud-workspace/runtime/workspace-binding.d.ts.map +0 -1
  360. package/dist/cloud-workspace/runtime/workspace-binding.js +0 -178
  361. package/dist/cloud-workspace/runtime/workspace-binding.js.map +0 -1
  362. package/dist/cloud-workspace/runtime/workspace-directories.d.ts +0 -44
  363. package/dist/cloud-workspace/runtime/workspace-directories.d.ts.map +0 -1
  364. package/dist/cloud-workspace/runtime/workspace-directories.js +0 -34
  365. package/dist/cloud-workspace/runtime/workspace-directories.js.map +0 -1
  366. package/dist/cloud-workspace/runtime/workspace-models.d.ts +0 -31
  367. package/dist/cloud-workspace/runtime/workspace-models.d.ts.map +0 -1
  368. package/dist/cloud-workspace/runtime/workspace-models.js +0 -63
  369. package/dist/cloud-workspace/runtime/workspace-models.js.map +0 -1
  370. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +0 -37
  371. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +0 -1
  372. package/dist/cloud-workspace/runtime/workspace-notifications.js +0 -90
  373. package/dist/cloud-workspace/runtime/workspace-notifications.js.map +0 -1
  374. package/dist/cloud-workspace/runtime/workspace-ui.d.ts +0 -252
  375. package/dist/cloud-workspace/runtime/workspace-ui.d.ts.map +0 -1
  376. package/dist/cloud-workspace/runtime/workspace-ui.js +0 -94
  377. package/dist/cloud-workspace/runtime/workspace-ui.js.map +0 -1
  378. package/dist/database/operators.d.ts +0 -2
  379. package/dist/database/operators.d.ts.map +0 -1
  380. package/dist/database/operators.js +0 -2
  381. package/dist/database/operators.js.map +0 -1
  382. package/dist/model-proxy/index.d.ts +0 -26
  383. package/dist/model-proxy/index.d.ts.map +0 -1
  384. package/dist/model-proxy/index.js +0 -81
  385. package/dist/model-proxy/index.js.map +0 -1
  386. package/dist/project-skills/bundle-archive.d.ts +0 -21
  387. package/dist/project-skills/bundle-archive.d.ts.map +0 -1
  388. package/dist/project-skills/bundle-archive.js +0 -165
  389. package/dist/project-skills/bundle-archive.js.map +0 -1
  390. package/dist/project-skills/bundle-path.d.ts +0 -3
  391. package/dist/project-skills/bundle-path.d.ts.map +0 -1
  392. package/dist/project-skills/bundle-path.js +0 -17
  393. package/dist/project-skills/bundle-path.js.map +0 -1
  394. package/dist/project-skills/evidence.d.ts +0 -15
  395. package/dist/project-skills/evidence.d.ts.map +0 -1
  396. package/dist/project-skills/evidence.js +0 -33
  397. package/dist/project-skills/evidence.js.map +0 -1
  398. package/dist/project-skills/index.d.ts +0 -7
  399. package/dist/project-skills/index.d.ts.map +0 -1
  400. package/dist/project-skills/index.js +0 -7
  401. package/dist/project-skills/index.js.map +0 -1
  402. package/dist/project-skills/inventory.d.ts +0 -23
  403. package/dist/project-skills/inventory.d.ts.map +0 -1
  404. package/dist/project-skills/inventory.js +0 -150
  405. package/dist/project-skills/inventory.js.map +0 -1
  406. package/dist/project-skills/local-snapshot.d.ts +0 -12
  407. package/dist/project-skills/local-snapshot.d.ts.map +0 -1
  408. package/dist/project-skills/local-snapshot.js +0 -66
  409. package/dist/project-skills/local-snapshot.js.map +0 -1
  410. package/dist/project-skills/protocol.d.ts +0 -31
  411. package/dist/project-skills/protocol.d.ts.map +0 -1
  412. package/dist/project-skills/protocol.js +0 -197
  413. package/dist/project-skills/protocol.js.map +0 -1
  414. package/dist/project-skills/runtime-plugin.d.ts +0 -66
  415. package/dist/project-skills/runtime-plugin.d.ts.map +0 -1
  416. package/dist/project-skills/runtime-plugin.js +0 -102
  417. package/dist/project-skills/runtime-plugin.js.map +0 -1
  418. package/dist/project-skills/types.d.ts +0 -63
  419. package/dist/project-skills/types.d.ts.map +0 -1
  420. package/dist/project-skills/types.js +0 -13
  421. package/dist/project-skills/types.js.map +0 -1
  422. package/dist/remix/auto-name.d.ts +0 -24
  423. package/dist/remix/auto-name.d.ts.map +0 -1
  424. package/dist/remix/auto-name.js +0 -40
  425. package/dist/remix/auto-name.js.map +0 -1
  426. package/dist/remix/index.d.ts +0 -2
  427. package/dist/remix/index.d.ts.map +0 -1
  428. package/dist/remix/index.js +0 -2
  429. package/dist/remix/index.js.map +0 -1
  430. package/dist/skill-evaluation.d.ts +0 -152
  431. package/dist/skill-evaluation.d.ts.map +0 -1
  432. package/dist/skill-evaluation.js +0 -14
  433. package/dist/skill-evaluation.js.map +0 -1
@@ -1,711 +0,0 @@
1
- import { z } from 'zod';
2
- import { batchRunSchema } from './execution-admission.js';
3
- export declare const batchSourceFreezeRequestSchema: z.ZodObject<{
4
- batchId: z.ZodString;
5
- workspaceId: z.ZodString;
6
- sourceDirectoryName: z.ZodString;
7
- initiatorDirectoryName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>>;
8
- initiatorOperationId: z.ZodOptional<z.ZodString>;
9
- syncId: z.ZodOptional<z.ZodString>;
10
- }, z.core.$strict>;
11
- export type BatchSourceFreezeRequest = z.infer<typeof batchSourceFreezeRequestSchema>;
12
- /**
13
- * `frozen`: snapshot captured and durable.
14
- * `pending`: source directory busy with another turn — freeze runs after that turn and before the next.
15
- */
16
- export declare const batchSourceFreezeResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17
- status: z.ZodLiteral<"frozen">;
18
- snapshot: z.ZodObject<{
19
- batchId: z.ZodString;
20
- commitHash: z.ZodString;
21
- digest: z.ZodString;
22
- sourceWorkspaceId: z.ZodString;
23
- sourceDirectoryName: z.ZodString;
24
- remoteRef: z.ZodOptional<z.ZodString>;
25
- artifactKey: z.ZodOptional<z.ZodString>;
26
- frozenAt: z.ZodString;
27
- }, z.core.$strict>;
28
- }, z.core.$strict>, z.ZodObject<{
29
- status: z.ZodLiteral<"pending">;
30
- batchId: z.ZodString;
31
- failure: z.ZodOptional<z.ZodObject<{
32
- code: z.ZodString;
33
- stage: z.ZodEnum<{
34
- verify: "verify";
35
- capture: "capture";
36
- publish: "publish";
37
- }>;
38
- retryable: z.ZodBoolean;
39
- outcome: z.ZodEnum<{
40
- unknown: "unknown";
41
- not_published: "not_published";
42
- }>;
43
- diagnosticId: z.ZodOptional<z.ZodString>;
44
- }, z.core.$strict>>;
45
- }, z.core.$strict>, z.ZodObject<{
46
- status: z.ZodLiteral<"failed">;
47
- batchId: z.ZodString;
48
- error: z.ZodString;
49
- failure: z.ZodOptional<z.ZodObject<{
50
- code: z.ZodString;
51
- stage: z.ZodEnum<{
52
- verify: "verify";
53
- capture: "capture";
54
- publish: "publish";
55
- }>;
56
- retryable: z.ZodBoolean;
57
- outcome: z.ZodEnum<{
58
- unknown: "unknown";
59
- not_published: "not_published";
60
- }>;
61
- diagnosticId: z.ZodOptional<z.ZodString>;
62
- }, z.core.$strict>>;
63
- }, z.core.$strict>], "status">;
64
- export type BatchSourceFreezeResult = z.infer<typeof batchSourceFreezeResultSchema>;
65
- /** Sandbox `POST /runtime/batch-sources/freeze`. Synchronous; idempotent per batchId. */
66
- export declare const sandboxBatchSourceFreezeRequestSchema: z.ZodObject<{
67
- batchId: z.ZodString;
68
- workspaceId: z.ZodString;
69
- sourceDirectoryName: z.ZodString;
70
- persist: z.ZodEnum<{
71
- remote_ref: "remote_ref";
72
- artifact: "artifact";
73
- }>;
74
- resumeOnly: z.ZodOptional<z.ZodBoolean>;
75
- }, z.core.$strict>;
76
- export type SandboxBatchSourceFreezeRequest = z.infer<typeof sandboxBatchSourceFreezeRequestSchema>;
77
- /** `POST /runtime/batch-members/prepare` — clone/restore from snapshot (or resume commit), install deps. */
78
- export declare const sandboxBatchMemberPrepareSchema: z.ZodObject<{
79
- snapshot: z.ZodObject<{
80
- batchId: z.ZodString;
81
- commitHash: z.ZodString;
82
- digest: z.ZodString;
83
- sourceWorkspaceId: z.ZodString;
84
- sourceDirectoryName: z.ZodString;
85
- remoteRef: z.ZodOptional<z.ZodString>;
86
- artifactKey: z.ZodOptional<z.ZodString>;
87
- frozenAt: z.ZodString;
88
- }, z.core.$strict>;
89
- remixId: z.ZodNullable<z.ZodString>;
90
- branchName: z.ZodString;
91
- resumeFromCommit: z.ZodOptional<z.ZodString>;
92
- runId: z.ZodString;
93
- ownerFence: z.ZodNumber;
94
- workspaceId: z.ZodString;
95
- directoryName: z.ZodString;
96
- occupancyId: z.ZodString;
97
- }, z.core.$strict>;
98
- export type SandboxBatchMemberPrepare = z.infer<typeof sandboxBatchMemberPrepareSchema>;
99
- /** `POST /runtime/batch-members/generate` — one unattended turn on the shared session base. */
100
- export declare const sandboxBatchMemberGenerateSchema: z.ZodObject<{
101
- prompt: z.ZodString;
102
- model: z.ZodOptional<z.ZodString>;
103
- sessionId: z.ZodOptional<z.ZodString>;
104
- runId: z.ZodString;
105
- ownerFence: z.ZodNumber;
106
- workspaceId: z.ZodString;
107
- directoryName: z.ZodString;
108
- occupancyId: z.ZodString;
109
- }, z.core.$strict>;
110
- export type SandboxBatchMemberGenerate = z.infer<typeof sandboxBatchMemberGenerateSchema>;
111
- /** `POST /runtime/batch-members/deliver` — save exact commit, push, build from it, verify, publish. */
112
- export declare const sandboxBatchMemberDeliverSchema: z.ZodObject<{
113
- pushRemote: z.ZodBoolean;
114
- fromCommit: z.ZodOptional<z.ZodString>;
115
- runId: z.ZodString;
116
- ownerFence: z.ZodNumber;
117
- workspaceId: z.ZodString;
118
- directoryName: z.ZodString;
119
- occupancyId: z.ZodString;
120
- }, z.core.$strict>;
121
- export type SandboxBatchMemberDeliver = z.infer<typeof sandboxBatchMemberDeliverSchema>;
122
- /** `POST /runtime/batch-members/:runId/stop`. */
123
- export declare const sandboxBatchMemberStopSchema: z.ZodObject<{
124
- runId: z.ZodString;
125
- ownerFence: z.ZodNumber;
126
- }, z.core.$strict>;
127
- export declare const sandboxBatchMemberStateSchema: z.ZodEnum<{
128
- unknown: "unknown";
129
- completed: "completed";
130
- running: "running";
131
- failed: "failed";
132
- idle: "idle";
133
- stopped: "stopped";
134
- stopping: "stopping";
135
- needs_user: "needs_user";
136
- }>;
137
- export type SandboxBatchMemberState = z.infer<typeof sandboxBatchMemberStateSchema>;
138
- /** Response of every member command and of `GET /runtime/batch-members/:runId`. Read-only query. */
139
- export declare const sandboxBatchMemberStatusSchema: z.ZodObject<{
140
- runId: z.ZodString;
141
- ownerFence: z.ZodNumber;
142
- phase: z.ZodEnum<{
143
- prepare: "prepare";
144
- generate: "generate";
145
- deliver: "deliver";
146
- }>;
147
- state: z.ZodEnum<{
148
- unknown: "unknown";
149
- completed: "completed";
150
- running: "running";
151
- failed: "failed";
152
- idle: "idle";
153
- stopped: "stopped";
154
- stopping: "stopping";
155
- needs_user: "needs_user";
156
- }>;
157
- writersStopped: z.ZodBoolean;
158
- sessionId: z.ZodOptional<z.ZodString>;
159
- operationId: z.ZodOptional<z.ZodString>;
160
- headCommit: z.ZodOptional<z.ZodString>;
161
- evidence: z.ZodOptional<z.ZodObject<{
162
- savedCommit: z.ZodOptional<z.ZodString>;
163
- pushedCommit: z.ZodOptional<z.ZodString>;
164
- buildDigest: z.ZodOptional<z.ZodString>;
165
- verified: z.ZodOptional<z.ZodBoolean>;
166
- previewRef: z.ZodOptional<z.ZodString>;
167
- }, z.core.$strict>>;
168
- error: z.ZodOptional<z.ZodString>;
169
- updatedAt: z.ZodString;
170
- }, z.core.$strict>;
171
- export type SandboxBatchMemberStatus = z.infer<typeof sandboxBatchMemberStatusSchema>;
172
- export declare const batchRunMemberInputSchema: z.ZodObject<{
173
- resultVersionId: z.ZodString;
174
- workspaceId: z.ZodString;
175
- directoryName: z.ZodString;
176
- remixId: z.ZodNullable<z.ZodString>;
177
- branchName: z.ZodString;
178
- prompt: z.ZodString;
179
- model: z.ZodOptional<z.ZodString>;
180
- resumeFromCommit: z.ZodOptional<z.ZodString>;
181
- syncOfResultVersionId: z.ZodOptional<z.ZodString>;
182
- }, z.core.$strict>;
183
- export type BatchRunMemberInput = z.infer<typeof batchRunMemberInputSchema>;
184
- /** `POST /internal/batch-runs` — idempotent per resultVersionId. */
185
- export declare const submitBatchRunsRequestSchema: z.ZodObject<{
186
- batchId: z.ZodString;
187
- userId: z.ZodString;
188
- snapshot: z.ZodObject<{
189
- batchId: z.ZodString;
190
- commitHash: z.ZodString;
191
- digest: z.ZodString;
192
- sourceWorkspaceId: z.ZodString;
193
- sourceDirectoryName: z.ZodString;
194
- remoteRef: z.ZodOptional<z.ZodString>;
195
- artifactKey: z.ZodOptional<z.ZodString>;
196
- frozenAt: z.ZodString;
197
- }, z.core.$strict>;
198
- members: z.ZodArray<z.ZodObject<{
199
- resultVersionId: z.ZodString;
200
- workspaceId: z.ZodString;
201
- directoryName: z.ZodString;
202
- remixId: z.ZodNullable<z.ZodString>;
203
- branchName: z.ZodString;
204
- prompt: z.ZodString;
205
- model: z.ZodOptional<z.ZodString>;
206
- resumeFromCommit: z.ZodOptional<z.ZodString>;
207
- syncOfResultVersionId: z.ZodOptional<z.ZodString>;
208
- }, z.core.$strict>>;
209
- }, z.core.$strict>;
210
- export type SubmitBatchRunsRequest = z.infer<typeof submitBatchRunsRequestSchema>;
211
- export declare const batchRunViewSchema: z.ZodObject<{
212
- runId: z.ZodString;
213
- batchId: z.ZodString;
214
- resultVersionId: z.ZodString;
215
- runtimeId: z.ZodString;
216
- workspaceId: z.ZodString;
217
- directoryName: z.ZodString;
218
- occupancyId: z.ZodOptional<z.ZodString>;
219
- sessionId: z.ZodOptional<z.ZodString>;
220
- operationId: z.ZodOptional<z.ZodString>;
221
- status: z.ZodEnum<{
222
- running: "running";
223
- failed: "failed";
224
- cancelled: "cancelled";
225
- queued: "queued";
226
- reconciling: "reconciling";
227
- stopping: "stopping";
228
- succeeded: "succeeded";
229
- }>;
230
- phase: z.ZodEnum<{
231
- prepare: "prepare";
232
- generate: "generate";
233
- deliver: "deliver";
234
- }>;
235
- resumeFromCommit: z.ZodOptional<z.ZodString>;
236
- evidence: z.ZodOptional<z.ZodObject<{
237
- savedCommit: z.ZodOptional<z.ZodString>;
238
- pushedCommit: z.ZodOptional<z.ZodString>;
239
- buildDigest: z.ZodOptional<z.ZodString>;
240
- verified: z.ZodOptional<z.ZodBoolean>;
241
- previewRef: z.ZodOptional<z.ZodString>;
242
- }, z.core.$strict>>;
243
- previousRunId: z.ZodOptional<z.ZodString>;
244
- autoRecoveryCount: z.ZodNumber;
245
- cancelRequested: z.ZodBoolean;
246
- ownerFence: z.ZodNumber;
247
- revision: z.ZodNumber;
248
- error: z.ZodOptional<z.ZodString>;
249
- createdAt: z.ZodString;
250
- updatedAt: z.ZodString;
251
- startedAt: z.ZodOptional<z.ZodString>;
252
- finishedAt: z.ZodOptional<z.ZodString>;
253
- queuePosition: z.ZodOptional<z.ZodNumber>;
254
- }, z.core.$strict>;
255
- export type BatchRunView = z.infer<typeof batchRunViewSchema>;
256
- /** `POST /internal/batch-runs/:runId/sync` — replace input of a not-yet-started Run. */
257
- export declare const replaceBatchRunSnapshotSchema: z.ZodObject<{
258
- snapshot: z.ZodObject<{
259
- batchId: z.ZodString;
260
- commitHash: z.ZodString;
261
- digest: z.ZodString;
262
- sourceWorkspaceId: z.ZodString;
263
- sourceDirectoryName: z.ZodString;
264
- remoteRef: z.ZodOptional<z.ZodString>;
265
- artifactKey: z.ZodOptional<z.ZodString>;
266
- frozenAt: z.ZodString;
267
- }, z.core.$strict>;
268
- }, z.core.$strict>;
269
- /**
270
- * Running, stopping, or reconciling members cannot switch snapshot mid-execution.
271
- * The caller stores `pending_sync` and applies it after the Run ends.
272
- */
273
- export declare const replaceBatchRunSnapshotResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
274
- status: z.ZodLiteral<"replaced">;
275
- run: z.ZodObject<{
276
- runId: z.ZodString;
277
- batchId: z.ZodString;
278
- resultVersionId: z.ZodString;
279
- runtimeId: z.ZodString;
280
- workspaceId: z.ZodString;
281
- directoryName: z.ZodString;
282
- occupancyId: z.ZodOptional<z.ZodString>;
283
- sessionId: z.ZodOptional<z.ZodString>;
284
- operationId: z.ZodOptional<z.ZodString>;
285
- status: z.ZodEnum<{
286
- running: "running";
287
- failed: "failed";
288
- cancelled: "cancelled";
289
- queued: "queued";
290
- reconciling: "reconciling";
291
- stopping: "stopping";
292
- succeeded: "succeeded";
293
- }>;
294
- phase: z.ZodEnum<{
295
- prepare: "prepare";
296
- generate: "generate";
297
- deliver: "deliver";
298
- }>;
299
- resumeFromCommit: z.ZodOptional<z.ZodString>;
300
- evidence: z.ZodOptional<z.ZodObject<{
301
- savedCommit: z.ZodOptional<z.ZodString>;
302
- pushedCommit: z.ZodOptional<z.ZodString>;
303
- buildDigest: z.ZodOptional<z.ZodString>;
304
- verified: z.ZodOptional<z.ZodBoolean>;
305
- previewRef: z.ZodOptional<z.ZodString>;
306
- }, z.core.$strict>>;
307
- previousRunId: z.ZodOptional<z.ZodString>;
308
- autoRecoveryCount: z.ZodNumber;
309
- cancelRequested: z.ZodBoolean;
310
- ownerFence: z.ZodNumber;
311
- revision: z.ZodNumber;
312
- error: z.ZodOptional<z.ZodString>;
313
- createdAt: z.ZodString;
314
- updatedAt: z.ZodString;
315
- startedAt: z.ZodOptional<z.ZodString>;
316
- finishedAt: z.ZodOptional<z.ZodString>;
317
- queuePosition: z.ZodOptional<z.ZodNumber>;
318
- }, z.core.$strict>;
319
- }, z.core.$strict>, z.ZodObject<{
320
- status: z.ZodLiteral<"pending_sync">;
321
- runId: z.ZodString;
322
- }, z.core.$strict>], "status">;
323
- export type ReplaceBatchRunSnapshotResult = z.infer<typeof replaceBatchRunSnapshotResultSchema>;
324
- /** Batch-level source fact. Present when the event is not about a member Run. */
325
- export declare const batchSourceEventSubjectSchema: z.ZodObject<{
326
- batchId: z.ZodString;
327
- workspaceId: z.ZodString;
328
- status: z.ZodEnum<{
329
- failed: "failed";
330
- ready: "ready";
331
- lost: "lost";
332
- }>;
333
- snapshot: z.ZodOptional<z.ZodObject<{
334
- batchId: z.ZodString;
335
- commitHash: z.ZodString;
336
- digest: z.ZodString;
337
- sourceWorkspaceId: z.ZodString;
338
- sourceDirectoryName: z.ZodString;
339
- remoteRef: z.ZodOptional<z.ZodString>;
340
- artifactKey: z.ZodOptional<z.ZodString>;
341
- frozenAt: z.ZodString;
342
- }, z.core.$strict>>;
343
- error: z.ZodOptional<z.ZodString>;
344
- failure: z.ZodOptional<z.ZodObject<{
345
- code: z.ZodString;
346
- stage: z.ZodEnum<{
347
- verify: "verify";
348
- capture: "capture";
349
- publish: "publish";
350
- }>;
351
- retryable: z.ZodBoolean;
352
- outcome: z.ZodEnum<{
353
- unknown: "unknown";
354
- not_published: "not_published";
355
- }>;
356
- diagnosticId: z.ZodOptional<z.ZodString>;
357
- }, z.core.$strict>>;
358
- }, z.core.$strict>;
359
- export type BatchSourceEventSubject = z.infer<typeof batchSourceEventSubjectSchema>;
360
- export declare const batchRunEventReasonSchema: z.ZodEnum<{
361
- source_lost: "source_lost";
362
- status_changed: "status_changed";
363
- phase_changed: "phase_changed";
364
- queue_changed: "queue_changed";
365
- recovered: "recovered";
366
- source_ready: "source_ready";
367
- source_failed: "source_failed";
368
- }>;
369
- /**
370
- * Runtime → Business `POST /api/internal/cloud-batches/runs/events`; at-least-once, ordered by revision.
371
- * A member event carries `run`. A source freeze event carries `source` and no run.
372
- * `source_ready` / `source_failed` are additive reason values.
373
- */
374
- export declare const batchRunEventSchema: z.ZodUnion<readonly [z.ZodObject<{
375
- run: z.ZodObject<{
376
- runId: z.ZodString;
377
- batchId: z.ZodString;
378
- resultVersionId: z.ZodString;
379
- runtimeId: z.ZodString;
380
- workspaceId: z.ZodString;
381
- directoryName: z.ZodString;
382
- occupancyId: z.ZodOptional<z.ZodString>;
383
- sessionId: z.ZodOptional<z.ZodString>;
384
- operationId: z.ZodOptional<z.ZodString>;
385
- status: z.ZodEnum<{
386
- running: "running";
387
- failed: "failed";
388
- cancelled: "cancelled";
389
- queued: "queued";
390
- reconciling: "reconciling";
391
- stopping: "stopping";
392
- succeeded: "succeeded";
393
- }>;
394
- phase: z.ZodEnum<{
395
- prepare: "prepare";
396
- generate: "generate";
397
- deliver: "deliver";
398
- }>;
399
- resumeFromCommit: z.ZodOptional<z.ZodString>;
400
- evidence: z.ZodOptional<z.ZodObject<{
401
- savedCommit: z.ZodOptional<z.ZodString>;
402
- pushedCommit: z.ZodOptional<z.ZodString>;
403
- buildDigest: z.ZodOptional<z.ZodString>;
404
- verified: z.ZodOptional<z.ZodBoolean>;
405
- previewRef: z.ZodOptional<z.ZodString>;
406
- }, z.core.$strict>>;
407
- previousRunId: z.ZodOptional<z.ZodString>;
408
- autoRecoveryCount: z.ZodNumber;
409
- cancelRequested: z.ZodBoolean;
410
- ownerFence: z.ZodNumber;
411
- revision: z.ZodNumber;
412
- error: z.ZodOptional<z.ZodString>;
413
- createdAt: z.ZodString;
414
- updatedAt: z.ZodString;
415
- startedAt: z.ZodOptional<z.ZodString>;
416
- finishedAt: z.ZodOptional<z.ZodString>;
417
- queuePosition: z.ZodOptional<z.ZodNumber>;
418
- }, z.core.$strict>;
419
- reason: z.ZodEnum<{
420
- source_lost: "source_lost";
421
- status_changed: "status_changed";
422
- phase_changed: "phase_changed";
423
- queue_changed: "queue_changed";
424
- recovered: "recovered";
425
- source_ready: "source_ready";
426
- source_failed: "source_failed";
427
- }>;
428
- }, z.core.$strict>, z.ZodObject<{
429
- source: z.ZodObject<{
430
- batchId: z.ZodString;
431
- workspaceId: z.ZodString;
432
- status: z.ZodEnum<{
433
- failed: "failed";
434
- ready: "ready";
435
- lost: "lost";
436
- }>;
437
- snapshot: z.ZodOptional<z.ZodObject<{
438
- batchId: z.ZodString;
439
- commitHash: z.ZodString;
440
- digest: z.ZodString;
441
- sourceWorkspaceId: z.ZodString;
442
- sourceDirectoryName: z.ZodString;
443
- remoteRef: z.ZodOptional<z.ZodString>;
444
- artifactKey: z.ZodOptional<z.ZodString>;
445
- frozenAt: z.ZodString;
446
- }, z.core.$strict>>;
447
- error: z.ZodOptional<z.ZodString>;
448
- failure: z.ZodOptional<z.ZodObject<{
449
- code: z.ZodString;
450
- stage: z.ZodEnum<{
451
- verify: "verify";
452
- capture: "capture";
453
- publish: "publish";
454
- }>;
455
- retryable: z.ZodBoolean;
456
- outcome: z.ZodEnum<{
457
- unknown: "unknown";
458
- not_published: "not_published";
459
- }>;
460
- diagnosticId: z.ZodOptional<z.ZodString>;
461
- }, z.core.$strict>>;
462
- }, z.core.$strict>;
463
- reason: z.ZodEnum<{
464
- source_lost: "source_lost";
465
- source_ready: "source_ready";
466
- source_failed: "source_failed";
467
- }>;
468
- }, z.core.$strict>]>;
469
- export type BatchRunEvent = z.infer<typeof batchRunEventSchema>;
470
- export declare const batchSourceStatusSchema: z.ZodEnum<{
471
- failed: "failed";
472
- ready: "ready";
473
- freezing: "freezing";
474
- waiting_source_idle: "waiting_source_idle";
475
- lost: "lost";
476
- }>;
477
- export type BatchSourceStatus = z.infer<typeof batchSourceStatusSchema>;
478
- export declare const batchMemberDisplayStatusSchema: z.ZodEnum<{
479
- failed: "failed";
480
- cancelled: "cancelled";
481
- queued: "queued";
482
- generating: "generating";
483
- preparing: "preparing";
484
- reconciling: "reconciling";
485
- stopping: "stopping";
486
- succeeded: "succeeded";
487
- pending_sync: "pending_sync";
488
- source_failed: "source_failed";
489
- waiting_source: "waiting_source";
490
- delivering: "delivering";
491
- }>;
492
- export type BatchMemberDisplayStatus = z.infer<typeof batchMemberDisplayStatusSchema>;
493
- export declare const batchMemberViewSchema: z.ZodObject<{
494
- resultVersionId: z.ZodString;
495
- ordinal: z.ZodNumber;
496
- prompt: z.ZodString;
497
- status: z.ZodEnum<{
498
- failed: "failed";
499
- cancelled: "cancelled";
500
- queued: "queued";
501
- generating: "generating";
502
- preparing: "preparing";
503
- reconciling: "reconciling";
504
- stopping: "stopping";
505
- succeeded: "succeeded";
506
- pending_sync: "pending_sync";
507
- source_failed: "source_failed";
508
- waiting_source: "waiting_source";
509
- delivering: "delivering";
510
- }>;
511
- queuePosition: z.ZodOptional<z.ZodNumber>;
512
- startedAt: z.ZodOptional<z.ZodString>;
513
- finishedAt: z.ZodOptional<z.ZodString>;
514
- directoryName: z.ZodOptional<z.ZodString>;
515
- remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
- sessionId: z.ZodOptional<z.ZodString>;
517
- runId: z.ZodOptional<z.ZodString>;
518
- previewRef: z.ZodOptional<z.ZodString>;
519
- previewStale: z.ZodOptional<z.ZodBoolean>;
520
- error: z.ZodOptional<z.ZodString>;
521
- }, z.core.$strict>;
522
- export type BatchMemberView = z.infer<typeof batchMemberViewSchema>;
523
- export declare const batchViewSchema: z.ZodObject<{
524
- batchId: z.ZodString;
525
- workspaceId: z.ZodString;
526
- sourceDirectoryName: z.ZodString;
527
- sourceStatus: z.ZodEnum<{
528
- failed: "failed";
529
- ready: "ready";
530
- freezing: "freezing";
531
- waiting_source_idle: "waiting_source_idle";
532
- lost: "lost";
533
- }>;
534
- sourceError: z.ZodOptional<z.ZodObject<{
535
- code: z.ZodString;
536
- stage: z.ZodEnum<{
537
- verify: "verify";
538
- capture: "capture";
539
- publish: "publish";
540
- }>;
541
- retryable: z.ZodBoolean;
542
- outcome: z.ZodEnum<{
543
- unknown: "unknown";
544
- not_published: "not_published";
545
- }>;
546
- diagnosticId: z.ZodOptional<z.ZodString>;
547
- }, z.core.$strict>>;
548
- cancelRequested: z.ZodBoolean;
549
- counts: z.ZodObject<{
550
- queued: z.ZodNumber;
551
- running: z.ZodNumber;
552
- succeeded: z.ZodNumber;
553
- failed: z.ZodNumber;
554
- cancelled: z.ZodNumber;
555
- }, z.core.$strict>;
556
- members: z.ZodArray<z.ZodObject<{
557
- resultVersionId: z.ZodString;
558
- ordinal: z.ZodNumber;
559
- prompt: z.ZodString;
560
- status: z.ZodEnum<{
561
- failed: "failed";
562
- cancelled: "cancelled";
563
- queued: "queued";
564
- generating: "generating";
565
- preparing: "preparing";
566
- reconciling: "reconciling";
567
- stopping: "stopping";
568
- succeeded: "succeeded";
569
- pending_sync: "pending_sync";
570
- source_failed: "source_failed";
571
- waiting_source: "waiting_source";
572
- delivering: "delivering";
573
- }>;
574
- queuePosition: z.ZodOptional<z.ZodNumber>;
575
- startedAt: z.ZodOptional<z.ZodString>;
576
- finishedAt: z.ZodOptional<z.ZodString>;
577
- directoryName: z.ZodOptional<z.ZodString>;
578
- remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
- sessionId: z.ZodOptional<z.ZodString>;
580
- runId: z.ZodOptional<z.ZodString>;
581
- previewRef: z.ZodOptional<z.ZodString>;
582
- previewStale: z.ZodOptional<z.ZodBoolean>;
583
- error: z.ZodOptional<z.ZodString>;
584
- }, z.core.$strict>>;
585
- createdAt: z.ZodString;
586
- }, z.core.$strict>;
587
- export type BatchView = z.infer<typeof batchViewSchema>;
588
- export declare const batchCreateAcceptedSchema: z.ZodObject<{
589
- flowVersion: z.ZodLiteral<"v2">;
590
- accepted: z.ZodLiteral<true>;
591
- batchId: z.ZodString;
592
- sourceStatus: z.ZodEnum<{
593
- failed: "failed";
594
- ready: "ready";
595
- freezing: "freezing";
596
- waiting_source_idle: "waiting_source_idle";
597
- lost: "lost";
598
- }>;
599
- view: z.ZodObject<{
600
- batchId: z.ZodString;
601
- workspaceId: z.ZodString;
602
- sourceDirectoryName: z.ZodString;
603
- sourceStatus: z.ZodEnum<{
604
- failed: "failed";
605
- ready: "ready";
606
- freezing: "freezing";
607
- waiting_source_idle: "waiting_source_idle";
608
- lost: "lost";
609
- }>;
610
- sourceError: z.ZodOptional<z.ZodObject<{
611
- code: z.ZodString;
612
- stage: z.ZodEnum<{
613
- verify: "verify";
614
- capture: "capture";
615
- publish: "publish";
616
- }>;
617
- retryable: z.ZodBoolean;
618
- outcome: z.ZodEnum<{
619
- unknown: "unknown";
620
- not_published: "not_published";
621
- }>;
622
- diagnosticId: z.ZodOptional<z.ZodString>;
623
- }, z.core.$strict>>;
624
- cancelRequested: z.ZodBoolean;
625
- counts: z.ZodObject<{
626
- queued: z.ZodNumber;
627
- running: z.ZodNumber;
628
- succeeded: z.ZodNumber;
629
- failed: z.ZodNumber;
630
- cancelled: z.ZodNumber;
631
- }, z.core.$strict>;
632
- members: z.ZodArray<z.ZodObject<{
633
- resultVersionId: z.ZodString;
634
- ordinal: z.ZodNumber;
635
- prompt: z.ZodString;
636
- status: z.ZodEnum<{
637
- failed: "failed";
638
- cancelled: "cancelled";
639
- queued: "queued";
640
- generating: "generating";
641
- preparing: "preparing";
642
- reconciling: "reconciling";
643
- stopping: "stopping";
644
- succeeded: "succeeded";
645
- pending_sync: "pending_sync";
646
- source_failed: "source_failed";
647
- waiting_source: "waiting_source";
648
- delivering: "delivering";
649
- }>;
650
- queuePosition: z.ZodOptional<z.ZodNumber>;
651
- startedAt: z.ZodOptional<z.ZodString>;
652
- finishedAt: z.ZodOptional<z.ZodString>;
653
- directoryName: z.ZodOptional<z.ZodString>;
654
- remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
- sessionId: z.ZodOptional<z.ZodString>;
656
- runId: z.ZodOptional<z.ZodString>;
657
- previewRef: z.ZodOptional<z.ZodString>;
658
- previewStale: z.ZodOptional<z.ZodBoolean>;
659
- error: z.ZodOptional<z.ZodString>;
660
- }, z.core.$strict>>;
661
- createdAt: z.ZodString;
662
- }, z.core.$strict>;
663
- }, z.core.$strict>;
664
- export type BatchCreateAccepted = z.infer<typeof batchCreateAcceptedSchema>;
665
- export declare function batchMemberDisplayStatus(run: Pick<z.infer<typeof batchRunSchema>, 'status' | 'phase'> | undefined, source: BatchSourceStatus, pendingSync?: boolean): BatchMemberDisplayStatus;
666
- /** `GET /runtime/workspaces/:workspaceId/execution-queue` — open occupancies of the caller's sandbox. */
667
- export declare const executionQueueEntrySchema: z.ZodObject<{
668
- occupancyId: z.ZodString;
669
- workspaceId: z.ZodString;
670
- directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
671
- source: z.ZodEnum<{
672
- session_turn: "session_turn";
673
- preview_build: "preview_build";
674
- batch_run: "batch_run";
675
- }>;
676
- status: z.ZodEnum<{
677
- queued: "queued";
678
- active: "active";
679
- waiting_user: "waiting_user";
680
- reconciling: "reconciling";
681
- }>;
682
- operationId: z.ZodOptional<z.ZodString>;
683
- runId: z.ZodOptional<z.ZodString>;
684
- queuePosition: z.ZodOptional<z.ZodNumber>;
685
- }, z.core.$strict>;
686
- export type ExecutionQueueEntry = z.infer<typeof executionQueueEntrySchema>;
687
- export declare const executionQueueViewSchema: z.ZodObject<{
688
- workspaceMax: z.ZodNumber;
689
- sandboxMax: z.ZodNumber;
690
- entries: z.ZodArray<z.ZodObject<{
691
- occupancyId: z.ZodString;
692
- workspaceId: z.ZodString;
693
- directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
694
- source: z.ZodEnum<{
695
- session_turn: "session_turn";
696
- preview_build: "preview_build";
697
- batch_run: "batch_run";
698
- }>;
699
- status: z.ZodEnum<{
700
- queued: "queued";
701
- active: "active";
702
- waiting_user: "waiting_user";
703
- reconciling: "reconciling";
704
- }>;
705
- operationId: z.ZodOptional<z.ZodString>;
706
- runId: z.ZodOptional<z.ZodString>;
707
- queuePosition: z.ZodOptional<z.ZodNumber>;
708
- }, z.core.$strict>>;
709
- }, z.core.$strict>;
710
- export type ExecutionQueueView = z.infer<typeof executionQueueViewSchema>;
711
- //# sourceMappingURL=batch-runs.d.ts.map