@playcraft/common 0.1.93-test → 0.1.95-test-a

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 (278) hide show
  1. package/dist/agent-memory.d.ts +88 -0
  2. package/dist/agent-memory.d.ts.map +1 -0
  3. package/dist/agent-memory.js +66 -0
  4. package/dist/agent-memory.js.map +1 -0
  5. package/dist/agent-personalization.d.ts +111 -0
  6. package/dist/agent-personalization.d.ts.map +1 -0
  7. package/dist/agent-personalization.js +32 -0
  8. package/dist/agent-personalization.js.map +1 -0
  9. package/dist/agent-tools/replica-validation.d.ts +24 -24
  10. package/dist/audio-library-stream.d.ts +2 -2
  11. package/dist/audio-package-node.d.ts +20 -0
  12. package/dist/audio-package-node.d.ts.map +1 -0
  13. package/dist/audio-package-node.js +77 -0
  14. package/dist/audio-package-node.js.map +1 -0
  15. package/dist/audio-program-package.d.ts +81 -0
  16. package/dist/audio-program-package.d.ts.map +1 -0
  17. package/dist/audio-program-package.js +268 -0
  18. package/dist/audio-program-package.js.map +1 -0
  19. package/dist/cloud-workspace/runtime/agent-background-processes.d.ts +2 -2
  20. package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts +445 -0
  21. package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts.map +1 -0
  22. package/dist/cloud-workspace/runtime/agent-build-delivery.js +215 -0
  23. package/dist/cloud-workspace/runtime/agent-build-delivery.js.map +1 -0
  24. package/dist/cloud-workspace/runtime/agent-command.d.ts +1 -1
  25. package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts +10 -10
  26. package/dist/cloud-workspace/runtime/agent-connection.d.ts +1 -1
  27. package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts +4 -4
  28. package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts +3 -3
  29. package/dist/cloud-workspace/runtime/agent-mutation.d.ts +3 -3
  30. package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts.map +1 -1
  31. package/dist/cloud-workspace/runtime/agent-opencode-gateway.js +1 -0
  32. package/dist/cloud-workspace/runtime/agent-opencode-gateway.js.map +1 -1
  33. package/dist/cloud-workspace/runtime/agent-opencode.d.ts +3 -3
  34. package/dist/cloud-workspace/runtime/agent-read.d.ts +2 -2
  35. package/dist/cloud-workspace/runtime/agent-source-project.d.ts +3 -3
  36. package/dist/cloud-workspace/runtime/agent-variant-git.d.ts +2 -2
  37. package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts +32 -0
  38. package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts.map +1 -0
  39. package/dist/cloud-workspace/runtime/artifact-generation-source.js +46 -0
  40. package/dist/cloud-workspace/runtime/artifact-generation-source.js.map +1 -0
  41. package/dist/cloud-workspace/runtime/artifacts.d.ts +10 -5
  42. package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -1
  43. package/dist/cloud-workspace/runtime/artifacts.js +6 -2
  44. package/dist/cloud-workspace/runtime/artifacts.js.map +1 -1
  45. package/dist/cloud-workspace/runtime/asset-generation.d.ts +4 -4
  46. package/dist/cloud-workspace/runtime/asset-library-import.d.ts.map +1 -1
  47. package/dist/cloud-workspace/runtime/asset-library-import.js +41 -15
  48. package/dist/cloud-workspace/runtime/asset-library-import.js.map +1 -1
  49. package/dist/cloud-workspace/runtime/asset-library-save.d.ts +2 -2
  50. package/dist/cloud-workspace/runtime/asset-transfers.d.ts.map +1 -1
  51. package/dist/cloud-workspace/runtime/asset-transfers.js +100 -43
  52. package/dist/cloud-workspace/runtime/asset-transfers.js.map +1 -1
  53. package/dist/cloud-workspace/runtime/attachment-base64.d.ts +2 -0
  54. package/dist/cloud-workspace/runtime/attachment-base64.d.ts.map +1 -1
  55. package/dist/cloud-workspace/runtime/attachment-base64.js +4 -0
  56. package/dist/cloud-workspace/runtime/attachment-base64.js.map +1 -1
  57. package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts +359 -0
  58. package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts.map +1 -0
  59. package/dist/cloud-workspace/runtime/audio-adoption-receipt.js +39 -0
  60. package/dist/cloud-workspace/runtime/audio-adoption-receipt.js.map +1 -0
  61. package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts +8 -0
  62. package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts.map +1 -0
  63. package/dist/cloud-workspace/runtime/audio-artifact-package.js +102 -0
  64. package/dist/cloud-workspace/runtime/audio-artifact-package.js.map +1 -0
  65. package/dist/cloud-workspace/runtime/audio-asset-protocol.d.ts +2 -2
  66. package/dist/cloud-workspace/runtime/audio-library.d.ts +8 -8
  67. package/dist/cloud-workspace/runtime/batch-generation.d.ts +1 -0
  68. package/dist/cloud-workspace/runtime/batch-generation.d.ts.map +1 -1
  69. package/dist/cloud-workspace/runtime/batch-runs.d.ts +149 -27
  70. package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
  71. package/dist/cloud-workspace/runtime/batch-runs.js +13 -1
  72. package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -1
  73. package/dist/cloud-workspace/runtime/chat-realtime.d.ts +2 -2
  74. package/dist/cloud-workspace/runtime/connectivity.d.ts +7 -7
  75. package/dist/cloud-workspace/runtime/delivery-format.d.ts +2 -0
  76. package/dist/cloud-workspace/runtime/delivery-format.d.ts.map +1 -1
  77. package/dist/cloud-workspace/runtime/delivery-format.js +11 -0
  78. package/dist/cloud-workspace/runtime/delivery-format.js.map +1 -1
  79. package/dist/cloud-workspace/runtime/delivery-preparation.d.ts +74 -0
  80. package/dist/cloud-workspace/runtime/delivery-preparation.d.ts.map +1 -0
  81. package/dist/cloud-workspace/runtime/delivery-preparation.js +45 -0
  82. package/dist/cloud-workspace/runtime/delivery-preparation.js.map +1 -0
  83. package/dist/cloud-workspace/runtime/delivery.d.ts +69 -69
  84. package/dist/cloud-workspace/runtime/draft-claim.d.ts +8 -0
  85. package/dist/cloud-workspace/runtime/draft-claim.d.ts.map +1 -0
  86. package/dist/cloud-workspace/runtime/draft-claim.js +13 -0
  87. package/dist/cloud-workspace/runtime/draft-claim.js.map +1 -0
  88. package/dist/cloud-workspace/runtime/draft-occupancy.d.ts +231 -0
  89. package/dist/cloud-workspace/runtime/draft-occupancy.d.ts.map +1 -0
  90. package/dist/cloud-workspace/runtime/draft-occupancy.js +130 -0
  91. package/dist/cloud-workspace/runtime/draft-occupancy.js.map +1 -0
  92. package/dist/cloud-workspace/runtime/events.d.ts +4 -4
  93. package/dist/cloud-workspace/runtime/execution-admission.d.ts +34 -5
  94. package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -1
  95. package/dist/cloud-workspace/runtime/execution-admission.js +17 -4
  96. package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -1
  97. package/dist/cloud-workspace/runtime/execution-context.d.ts +4 -4
  98. package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +1 -1
  99. package/dist/cloud-workspace/runtime/execution-grant.js +3 -2
  100. package/dist/cloud-workspace/runtime/execution-grant.js.map +1 -1
  101. package/dist/cloud-workspace/runtime/files.d.ts +11 -1
  102. package/dist/cloud-workspace/runtime/files.d.ts.map +1 -1
  103. package/dist/cloud-workspace/runtime/files.js +7 -4
  104. package/dist/cloud-workspace/runtime/files.js.map +1 -1
  105. package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts +260 -0
  106. package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts.map +1 -0
  107. package/dist/cloud-workspace/runtime/frame-animation-consumer.js +255 -0
  108. package/dist/cloud-workspace/runtime/frame-animation-consumer.js.map +1 -0
  109. package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts +57 -0
  110. package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts.map +1 -0
  111. package/dist/cloud-workspace/runtime/generation-selection-audio.js +68 -0
  112. package/dist/cloud-workspace/runtime/generation-selection-audio.js.map +1 -0
  113. package/dist/cloud-workspace/runtime/generation-selection.d.ts +997 -0
  114. package/dist/cloud-workspace/runtime/generation-selection.d.ts.map +1 -0
  115. package/dist/cloud-workspace/runtime/generation-selection.js +212 -0
  116. package/dist/cloud-workspace/runtime/generation-selection.js.map +1 -0
  117. package/dist/cloud-workspace/runtime/generations.d.ts +1 -1
  118. package/dist/cloud-workspace/runtime/generations.d.ts.map +1 -1
  119. package/dist/cloud-workspace/runtime/generations.js +2 -0
  120. package/dist/cloud-workspace/runtime/generations.js.map +1 -1
  121. package/dist/cloud-workspace/runtime/handshake.d.ts +2 -0
  122. package/dist/cloud-workspace/runtime/handshake.d.ts.map +1 -1
  123. package/dist/cloud-workspace/runtime/handshake.js +3 -0
  124. package/dist/cloud-workspace/runtime/handshake.js.map +1 -1
  125. package/dist/cloud-workspace/runtime/index.d.ts +20 -1
  126. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  127. package/dist/cloud-workspace/runtime/index.js +20 -1
  128. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  129. package/dist/cloud-workspace/runtime/level-editor-agent.d.ts +68 -0
  130. package/dist/cloud-workspace/runtime/level-editor-agent.d.ts.map +1 -1
  131. package/dist/cloud-workspace/runtime/level-editor-agent.js +6 -0
  132. package/dist/cloud-workspace/runtime/level-editor-agent.js.map +1 -1
  133. package/dist/cloud-workspace/runtime/level-editor-authoring.d.ts +1 -1
  134. package/dist/cloud-workspace/runtime/level-editor-schema.d.ts +20 -0
  135. package/dist/cloud-workspace/runtime/level-editor-schema.d.ts.map +1 -1
  136. package/dist/cloud-workspace/runtime/level-editor-schema.js +3 -0
  137. package/dist/cloud-workspace/runtime/level-editor-schema.js.map +1 -1
  138. package/dist/cloud-workspace/runtime/model-capture-upload-grant.d.ts.map +1 -1
  139. package/dist/cloud-workspace/runtime/model-capture-upload-grant.js +6 -1
  140. package/dist/cloud-workspace/runtime/model-capture-upload-grant.js.map +1 -1
  141. package/dist/cloud-workspace/runtime/model-production.d.ts +31 -31
  142. package/dist/cloud-workspace/runtime/native-history.d.ts.map +1 -1
  143. package/dist/cloud-workspace/runtime/native-history.js +2 -2
  144. package/dist/cloud-workspace/runtime/native-history.js.map +1 -1
  145. package/dist/cloud-workspace/runtime/operations.d.ts +100 -12
  146. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  147. package/dist/cloud-workspace/runtime/operations.js +7 -2
  148. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  149. package/dist/cloud-workspace/runtime/parameter-agent.d.ts +2 -2
  150. package/dist/cloud-workspace/runtime/parameter-locales.d.ts +2 -2
  151. package/dist/cloud-workspace/runtime/parameters.d.ts +34 -14
  152. package/dist/cloud-workspace/runtime/parameters.d.ts.map +1 -1
  153. package/dist/cloud-workspace/runtime/parameters.js +87 -28
  154. package/dist/cloud-workspace/runtime/parameters.js.map +1 -1
  155. package/dist/cloud-workspace/runtime/preview-runtime.d.ts +2 -2
  156. package/dist/cloud-workspace/runtime/previews.d.ts +8 -7
  157. package/dist/cloud-workspace/runtime/previews.d.ts.map +1 -1
  158. package/dist/cloud-workspace/runtime/production-inputs.d.ts +283 -0
  159. package/dist/cloud-workspace/runtime/production-inputs.d.ts.map +1 -0
  160. package/dist/cloud-workspace/runtime/production-inputs.js +174 -0
  161. package/dist/cloud-workspace/runtime/production-inputs.js.map +1 -0
  162. package/dist/cloud-workspace/runtime/project-preparation.d.ts +307 -0
  163. package/dist/cloud-workspace/runtime/project-preparation.d.ts.map +1 -0
  164. package/dist/cloud-workspace/runtime/project-preparation.js +110 -0
  165. package/dist/cloud-workspace/runtime/project-preparation.js.map +1 -0
  166. package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts +1286 -0
  167. package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts.map +1 -0
  168. package/dist/cloud-workspace/runtime/prompt-enhancement.js +321 -0
  169. package/dist/cloud-workspace/runtime/prompt-enhancement.js.map +1 -0
  170. package/dist/cloud-workspace/runtime/remix-references.d.ts +100 -44
  171. package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -1
  172. package/dist/cloud-workspace/runtime/remix-references.js +71 -21
  173. package/dist/cloud-workspace/runtime/remix-references.js.map +1 -1
  174. package/dist/cloud-workspace/runtime/resource-grant.d.ts +1 -1
  175. package/dist/cloud-workspace/runtime/resource-grant.d.ts.map +1 -1
  176. package/dist/cloud-workspace/runtime/resource-grant.js +2 -2
  177. package/dist/cloud-workspace/runtime/resource-grant.js.map +1 -1
  178. package/dist/cloud-workspace/runtime/runtime-sha256.d.ts +3 -0
  179. package/dist/cloud-workspace/runtime/runtime-sha256.d.ts.map +1 -0
  180. package/dist/cloud-workspace/runtime/runtime-sha256.js +11 -0
  181. package/dist/cloud-workspace/runtime/runtime-sha256.js.map +1 -0
  182. package/dist/cloud-workspace/runtime/scheduled-task-proposals.d.ts +9 -9
  183. package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +6 -5
  184. package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts.map +1 -1
  185. package/dist/cloud-workspace/runtime/scheduled-tasks.js +2 -1
  186. package/dist/cloud-workspace/runtime/scheduled-tasks.js.map +1 -1
  187. package/dist/cloud-workspace/runtime/session-personalization.d.ts +35 -0
  188. package/dist/cloud-workspace/runtime/session-personalization.d.ts.map +1 -0
  189. package/dist/cloud-workspace/runtime/session-personalization.js +9 -0
  190. package/dist/cloud-workspace/runtime/session-personalization.js.map +1 -0
  191. package/dist/cloud-workspace/runtime/session-restore.d.ts +31 -0
  192. package/dist/cloud-workspace/runtime/session-restore.d.ts.map +1 -1
  193. package/dist/cloud-workspace/runtime/session-restore.js +10 -4
  194. package/dist/cloud-workspace/runtime/session-restore.js.map +1 -1
  195. package/dist/cloud-workspace/runtime/skill-activation.d.ts +4 -0
  196. package/dist/cloud-workspace/runtime/skill-activation.d.ts.map +1 -1
  197. package/dist/cloud-workspace/runtime/skill-activation.js +69 -22
  198. package/dist/cloud-workspace/runtime/skill-activation.js.map +1 -1
  199. package/dist/cloud-workspace/runtime/terminal-session.d.ts +1 -1
  200. package/dist/cloud-workspace/runtime/variant-workspace.d.ts +8 -8
  201. package/dist/cloud-workspace/runtime/workspace-binding.d.ts +4 -4
  202. package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts +1956 -0
  203. package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts.map +1 -0
  204. package/dist/cloud-workspace/runtime/workspace-confirmation.js +591 -0
  205. package/dist/cloud-workspace/runtime/workspace-confirmation.js.map +1 -0
  206. package/dist/cloud-workspace/runtime/workspace-directories.d.ts +2 -2
  207. package/dist/cloud-workspace/runtime/workspace-facts.d.ts +3 -2
  208. package/dist/cloud-workspace/runtime/workspace-facts.d.ts.map +1 -1
  209. package/dist/cloud-workspace/runtime/workspace-model-source.d.ts +291 -0
  210. package/dist/cloud-workspace/runtime/workspace-model-source.d.ts.map +1 -0
  211. package/dist/cloud-workspace/runtime/workspace-model-source.js +128 -0
  212. package/dist/cloud-workspace/runtime/workspace-model-source.js.map +1 -0
  213. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +1 -1
  214. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +1 -1
  215. package/dist/cloud-workspace/runtime/workspace-notifications.js +147 -52
  216. package/dist/cloud-workspace/runtime/workspace-notifications.js.map +1 -1
  217. package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts +101 -0
  218. package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts.map +1 -0
  219. package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js +160 -0
  220. package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js.map +1 -0
  221. package/dist/cloud-workspace/runtime/workspace-public-source.d.ts +67 -0
  222. package/dist/cloud-workspace/runtime/workspace-public-source.d.ts.map +1 -0
  223. package/dist/cloud-workspace/runtime/workspace-public-source.js +97 -0
  224. package/dist/cloud-workspace/runtime/workspace-public-source.js.map +1 -0
  225. package/dist/cloud-workspace/runtime/workspace-refs.d.ts +73 -0
  226. package/dist/cloud-workspace/runtime/workspace-refs.d.ts.map +1 -0
  227. package/dist/cloud-workspace/runtime/workspace-refs.js +106 -0
  228. package/dist/cloud-workspace/runtime/workspace-refs.js.map +1 -0
  229. package/dist/cloud-workspace/runtime/workspace-ui.d.ts +269 -13
  230. package/dist/cloud-workspace/runtime/workspace-ui.d.ts.map +1 -1
  231. package/dist/cloud-workspace/runtime/workspace-ui.js +196 -32
  232. package/dist/cloud-workspace/runtime/workspace-ui.js.map +1 -1
  233. package/dist/inspiration/index.d.ts +12 -12
  234. package/dist/model-proxy/captures.d.ts +2 -2
  235. package/dist/model-proxy/index.d.ts +1 -0
  236. package/dist/model-proxy/index.d.ts.map +1 -1
  237. package/dist/model-proxy/index.js +1 -0
  238. package/dist/model-proxy/index.js.map +1 -1
  239. package/dist/model-proxy/provider-stats.d.ts +38 -0
  240. package/dist/model-proxy/provider-stats.d.ts.map +1 -0
  241. package/dist/model-proxy/provider-stats.js +2 -0
  242. package/dist/model-proxy/provider-stats.js.map +1 -0
  243. package/dist/preview/preview-devices.d.ts +20 -0
  244. package/dist/preview/preview-devices.d.ts.map +1 -0
  245. package/dist/preview/preview-devices.js +46 -0
  246. package/dist/preview/preview-devices.js.map +1 -0
  247. package/dist/project-skills/index.d.ts +1 -0
  248. package/dist/project-skills/index.d.ts.map +1 -1
  249. package/dist/project-skills/index.js +1 -0
  250. package/dist/project-skills/index.js.map +1 -1
  251. package/dist/project-skills/inventory.d.ts.map +1 -1
  252. package/dist/project-skills/inventory.js +42 -13
  253. package/dist/project-skills/inventory.js.map +1 -1
  254. package/dist/project-skills/local-snapshot.d.ts.map +1 -1
  255. package/dist/project-skills/local-snapshot.js +36 -11
  256. package/dist/project-skills/local-snapshot.js.map +1 -1
  257. package/dist/project-skills/protocol.d.ts +1 -4
  258. package/dist/project-skills/protocol.d.ts.map +1 -1
  259. package/dist/project-skills/protocol.js +90 -52
  260. package/dist/project-skills/protocol.js.map +1 -1
  261. package/dist/project-skills/remote-discovery.d.ts +2 -2
  262. package/dist/project-skills/source-digest-node.d.ts +5 -0
  263. package/dist/project-skills/source-digest-node.d.ts.map +1 -0
  264. package/dist/project-skills/source-digest-node.js +26 -0
  265. package/dist/project-skills/source-digest-node.js.map +1 -0
  266. package/dist/storage/cos.d.ts +6 -0
  267. package/dist/storage/cos.d.ts.map +1 -1
  268. package/dist/storage/cos.js +38 -10
  269. package/dist/storage/cos.js.map +1 -1
  270. package/dist/storage/upload-build-artifacts.d.ts +12 -0
  271. package/dist/storage/upload-build-artifacts.d.ts.map +1 -1
  272. package/dist/storage/upload-build-artifacts.js +17 -15
  273. package/dist/storage/upload-build-artifacts.js.map +1 -1
  274. package/dist/team-memory.d.ts +33 -0
  275. package/dist/team-memory.d.ts.map +1 -0
  276. package/dist/team-memory.js +39 -0
  277. package/dist/team-memory.js.map +1 -0
  278. package/package.json +21 -1
@@ -0,0 +1,997 @@
1
+ import { z } from 'zod';
2
+ export declare const GENERATION_SELECTION_VERSION: 1;
3
+ export declare const GENERATION_SELECTION_MAX_VERSION: 4;
4
+ export declare const GENERATION_SELECTION_STATUSES: readonly ["waiting", "submitted", "cancelled", "expired", "failed", "uncertain"];
5
+ export declare const GENERATION_SELECTION_CONTINUATION_STATUSES: readonly ["pending", "dispatched", "completed", "failed", "cancelled", "uncertain"];
6
+ /** Omitted kind preserves image-v1; explicit video/audio/model use versions two/three/four. */
7
+ export declare const generationSelectionCreateSchema: z.ZodObject<{
8
+ taskId: z.ZodString;
9
+ message: z.ZodString;
10
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
11
+ kind: z.ZodOptional<z.ZodEnum<{
12
+ audio: "audio";
13
+ model: "model";
14
+ video: "video";
15
+ }>>;
16
+ }, z.core.$strict>;
17
+ export type GenerationSelectionCreate = z.infer<typeof generationSelectionCreateSchema>;
18
+ /** Trusted control bindings; browser clients cannot choose the originating execution. */
19
+ export declare const generationSelectionSourceSchema: z.ZodObject<{
20
+ runtimeId: z.ZodString;
21
+ generation: z.ZodNumber;
22
+ runtimeEpoch: z.ZodNumber;
23
+ workspaceId: z.ZodString;
24
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
25
+ sourceOperationId: z.ZodString;
26
+ sessionId: z.ZodString;
27
+ nativeThreadId: z.ZodString;
28
+ nativeTurnId: z.ZodString;
29
+ toolCallId: z.ZodString;
30
+ }, z.core.$strict>;
31
+ export type GenerationSelectionSource = z.infer<typeof generationSelectionSourceSchema>;
32
+ export declare const generationSelectionControlRequestSchema: z.ZodObject<{
33
+ runtimeId: z.ZodString;
34
+ generation: z.ZodNumber;
35
+ runtimeEpoch: z.ZodNumber;
36
+ workspaceId: z.ZodString;
37
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
38
+ sourceOperationId: z.ZodString;
39
+ sessionId: z.ZodString;
40
+ nativeThreadId: z.ZodString;
41
+ nativeTurnId: z.ZodString;
42
+ toolCallId: z.ZodString;
43
+ request: z.ZodObject<{
44
+ taskId: z.ZodString;
45
+ message: z.ZodString;
46
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
47
+ kind: z.ZodOptional<z.ZodEnum<{
48
+ audio: "audio";
49
+ model: "model";
50
+ video: "video";
51
+ }>>;
52
+ }, z.core.$strict>;
53
+ }, z.core.$strict>;
54
+ export type GenerationSelectionControlRequest = z.infer<typeof generationSelectionControlRequestSchema>;
55
+ export declare const generationSelectionCandidateSchema: z.ZodUnion<readonly [z.ZodObject<{
56
+ fileId: z.ZodString;
57
+ contentHash: z.ZodString;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ kind: z.ZodLiteral<"video">;
60
+ contentHash: z.ZodString;
61
+ }, z.core.$strict>, z.ZodObject<{
62
+ kind: z.ZodLiteral<"model">;
63
+ contentHash: z.ZodString;
64
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
65
+ kind: z.ZodLiteral<"audio">;
66
+ representation: z.ZodLiteral<"binary">;
67
+ contentHash: z.ZodString;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ kind: z.ZodLiteral<"audio">;
70
+ representation: z.ZodEnum<{
71
+ "synth-sfx": "synth-sfx";
72
+ score: "score";
73
+ }>;
74
+ candidateId: z.ZodString;
75
+ candidateRevision: z.ZodNumber;
76
+ sourceContentHash: z.ZodString;
77
+ sourceRenderHash: z.ZodString;
78
+ auditionContentHash: z.ZodString;
79
+ renderKey: z.ZodString;
80
+ pcmContentHash: z.ZodString;
81
+ }, z.core.$strict>]>]>;
82
+ export type GenerationSelectionCandidate = z.infer<typeof generationSelectionCandidateSchema>;
83
+ export declare const generationSelectionResultSchema: z.ZodUnion<readonly [z.ZodObject<{
84
+ contentHash: z.ZodString;
85
+ path: z.ZodString;
86
+ operationId: z.ZodString;
87
+ savedAt: z.ZodString;
88
+ fileId: z.ZodString;
89
+ }, z.core.$strict>, z.ZodObject<{
90
+ contentHash: z.ZodString;
91
+ path: z.ZodString;
92
+ operationId: z.ZodString;
93
+ savedAt: z.ZodString;
94
+ kind: z.ZodLiteral<"video">;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ contentHash: z.ZodString;
97
+ path: z.ZodString;
98
+ operationId: z.ZodString;
99
+ savedAt: z.ZodString;
100
+ kind: z.ZodLiteral<"model">;
101
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
102
+ kind: z.ZodLiteral<"audio">;
103
+ representation: z.ZodLiteral<"binary">;
104
+ contentHash: z.ZodString;
105
+ path: z.ZodString;
106
+ operationId: z.ZodString;
107
+ savedAt: z.ZodString;
108
+ }, z.core.$strict>, z.ZodObject<{
109
+ representationSetHash: z.ZodString;
110
+ modulePath: z.ZodString;
111
+ manifestPath: z.ZodString;
112
+ files: z.ZodArray<z.ZodObject<{
113
+ path: z.ZodString;
114
+ contentHash: z.ZodString;
115
+ size: z.ZodNumber;
116
+ }, z.core.$strict>>;
117
+ contentHash: z.ZodString;
118
+ path: z.ZodString;
119
+ operationId: z.ZodString;
120
+ savedAt: z.ZodString;
121
+ kind: z.ZodLiteral<"audio">;
122
+ representation: z.ZodEnum<{
123
+ "synth-sfx": "synth-sfx";
124
+ score: "score";
125
+ }>;
126
+ candidateId: z.ZodString;
127
+ candidateRevision: z.ZodNumber;
128
+ sourceContentHash: z.ZodString;
129
+ sourceRenderHash: z.ZodString;
130
+ auditionContentHash: z.ZodString;
131
+ renderKey: z.ZodString;
132
+ pcmContentHash: z.ZodString;
133
+ }, z.core.$strict>]>]>;
134
+ export type GenerationSelectionResult = z.infer<typeof generationSelectionResultSchema>;
135
+ export declare const generationSelectionRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
136
+ requestId: z.ZodString;
137
+ workspaceId: z.ZodString;
138
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
139
+ taskId: z.ZodString;
140
+ source: z.ZodObject<{
141
+ runtimeId: z.ZodString;
142
+ generation: z.ZodNumber;
143
+ runtimeEpoch: z.ZodNumber;
144
+ workspaceId: z.ZodString;
145
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
146
+ sourceOperationId: z.ZodString;
147
+ sessionId: z.ZodString;
148
+ nativeThreadId: z.ZodString;
149
+ nativeTurnId: z.ZodString;
150
+ toolCallId: z.ZodString;
151
+ }, z.core.$strict>;
152
+ message: z.ZodString;
153
+ createdAt: z.ZodString;
154
+ updatedAt: z.ZodString;
155
+ expiresAt: z.ZodString;
156
+ status: z.ZodEnum<{
157
+ failed: "failed";
158
+ cancelled: "cancelled";
159
+ uncertain: "uncertain";
160
+ expired: "expired";
161
+ waiting: "waiting";
162
+ submitted: "submitted";
163
+ }>;
164
+ continuation: z.ZodOptional<z.ZodObject<{
165
+ status: z.ZodEnum<{
166
+ pending: "pending";
167
+ failed: "failed";
168
+ cancelled: "cancelled";
169
+ completed: "completed";
170
+ uncertain: "uncertain";
171
+ dispatched: "dispatched";
172
+ }>;
173
+ operationId: z.ZodOptional<z.ZodString>;
174
+ error: z.ZodOptional<z.ZodString>;
175
+ }, z.core.$strict>>;
176
+ error: z.ZodOptional<z.ZodString>;
177
+ version: z.ZodLiteral<1>;
178
+ candidates: z.ZodArray<z.ZodObject<{
179
+ fileId: z.ZodString;
180
+ contentHash: z.ZodString;
181
+ }, z.core.$strict>>;
182
+ result: z.ZodOptional<z.ZodObject<{
183
+ contentHash: z.ZodString;
184
+ path: z.ZodString;
185
+ operationId: z.ZodString;
186
+ savedAt: z.ZodString;
187
+ fileId: z.ZodString;
188
+ }, z.core.$strict>>;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ requestId: z.ZodString;
191
+ workspaceId: z.ZodString;
192
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
193
+ taskId: z.ZodString;
194
+ source: z.ZodObject<{
195
+ runtimeId: z.ZodString;
196
+ generation: z.ZodNumber;
197
+ runtimeEpoch: z.ZodNumber;
198
+ workspaceId: z.ZodString;
199
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
200
+ sourceOperationId: z.ZodString;
201
+ sessionId: z.ZodString;
202
+ nativeThreadId: z.ZodString;
203
+ nativeTurnId: z.ZodString;
204
+ toolCallId: z.ZodString;
205
+ }, z.core.$strict>;
206
+ message: z.ZodString;
207
+ createdAt: z.ZodString;
208
+ updatedAt: z.ZodString;
209
+ expiresAt: z.ZodString;
210
+ status: z.ZodEnum<{
211
+ failed: "failed";
212
+ cancelled: "cancelled";
213
+ uncertain: "uncertain";
214
+ expired: "expired";
215
+ waiting: "waiting";
216
+ submitted: "submitted";
217
+ }>;
218
+ continuation: z.ZodOptional<z.ZodObject<{
219
+ status: z.ZodEnum<{
220
+ pending: "pending";
221
+ failed: "failed";
222
+ cancelled: "cancelled";
223
+ completed: "completed";
224
+ uncertain: "uncertain";
225
+ dispatched: "dispatched";
226
+ }>;
227
+ operationId: z.ZodOptional<z.ZodString>;
228
+ error: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strict>>;
230
+ error: z.ZodOptional<z.ZodString>;
231
+ version: z.ZodLiteral<2>;
232
+ candidates: z.ZodArray<z.ZodObject<{
233
+ kind: z.ZodLiteral<"video">;
234
+ contentHash: z.ZodString;
235
+ }, z.core.$strict>>;
236
+ result: z.ZodOptional<z.ZodObject<{
237
+ contentHash: z.ZodString;
238
+ path: z.ZodString;
239
+ operationId: z.ZodString;
240
+ savedAt: z.ZodString;
241
+ kind: z.ZodLiteral<"video">;
242
+ }, z.core.$strict>>;
243
+ }, z.core.$strict>, z.ZodObject<{
244
+ requestId: z.ZodString;
245
+ workspaceId: z.ZodString;
246
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
247
+ taskId: z.ZodString;
248
+ source: z.ZodObject<{
249
+ runtimeId: z.ZodString;
250
+ generation: z.ZodNumber;
251
+ runtimeEpoch: z.ZodNumber;
252
+ workspaceId: z.ZodString;
253
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
254
+ sourceOperationId: z.ZodString;
255
+ sessionId: z.ZodString;
256
+ nativeThreadId: z.ZodString;
257
+ nativeTurnId: z.ZodString;
258
+ toolCallId: z.ZodString;
259
+ }, z.core.$strict>;
260
+ message: z.ZodString;
261
+ createdAt: z.ZodString;
262
+ updatedAt: z.ZodString;
263
+ expiresAt: z.ZodString;
264
+ status: z.ZodEnum<{
265
+ failed: "failed";
266
+ cancelled: "cancelled";
267
+ uncertain: "uncertain";
268
+ expired: "expired";
269
+ waiting: "waiting";
270
+ submitted: "submitted";
271
+ }>;
272
+ continuation: z.ZodOptional<z.ZodObject<{
273
+ status: z.ZodEnum<{
274
+ pending: "pending";
275
+ failed: "failed";
276
+ cancelled: "cancelled";
277
+ completed: "completed";
278
+ uncertain: "uncertain";
279
+ dispatched: "dispatched";
280
+ }>;
281
+ operationId: z.ZodOptional<z.ZodString>;
282
+ error: z.ZodOptional<z.ZodString>;
283
+ }, z.core.$strict>>;
284
+ error: z.ZodOptional<z.ZodString>;
285
+ version: z.ZodLiteral<4>;
286
+ candidates: z.ZodArray<z.ZodObject<{
287
+ kind: z.ZodLiteral<"model">;
288
+ contentHash: z.ZodString;
289
+ }, z.core.$strict>>;
290
+ result: z.ZodOptional<z.ZodObject<{
291
+ contentHash: z.ZodString;
292
+ path: z.ZodString;
293
+ operationId: z.ZodString;
294
+ savedAt: z.ZodString;
295
+ kind: z.ZodLiteral<"model">;
296
+ }, z.core.$strict>>;
297
+ }, z.core.$strict>, z.ZodObject<{
298
+ requestId: z.ZodString;
299
+ workspaceId: z.ZodString;
300
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
301
+ taskId: z.ZodString;
302
+ source: z.ZodObject<{
303
+ runtimeId: z.ZodString;
304
+ generation: z.ZodNumber;
305
+ runtimeEpoch: z.ZodNumber;
306
+ workspaceId: z.ZodString;
307
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
308
+ sourceOperationId: z.ZodString;
309
+ sessionId: z.ZodString;
310
+ nativeThreadId: z.ZodString;
311
+ nativeTurnId: z.ZodString;
312
+ toolCallId: z.ZodString;
313
+ }, z.core.$strict>;
314
+ message: z.ZodString;
315
+ createdAt: z.ZodString;
316
+ updatedAt: z.ZodString;
317
+ expiresAt: z.ZodString;
318
+ status: z.ZodEnum<{
319
+ failed: "failed";
320
+ cancelled: "cancelled";
321
+ uncertain: "uncertain";
322
+ expired: "expired";
323
+ waiting: "waiting";
324
+ submitted: "submitted";
325
+ }>;
326
+ continuation: z.ZodOptional<z.ZodObject<{
327
+ status: z.ZodEnum<{
328
+ pending: "pending";
329
+ failed: "failed";
330
+ cancelled: "cancelled";
331
+ completed: "completed";
332
+ uncertain: "uncertain";
333
+ dispatched: "dispatched";
334
+ }>;
335
+ operationId: z.ZodOptional<z.ZodString>;
336
+ error: z.ZodOptional<z.ZodString>;
337
+ }, z.core.$strict>>;
338
+ error: z.ZodOptional<z.ZodString>;
339
+ version: z.ZodLiteral<3>;
340
+ candidates: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
341
+ kind: z.ZodLiteral<"audio">;
342
+ representation: z.ZodLiteral<"binary">;
343
+ contentHash: z.ZodString;
344
+ }, z.core.$strict>, z.ZodObject<{
345
+ kind: z.ZodLiteral<"audio">;
346
+ representation: z.ZodEnum<{
347
+ "synth-sfx": "synth-sfx";
348
+ score: "score";
349
+ }>;
350
+ candidateId: z.ZodString;
351
+ candidateRevision: z.ZodNumber;
352
+ sourceContentHash: z.ZodString;
353
+ sourceRenderHash: z.ZodString;
354
+ auditionContentHash: z.ZodString;
355
+ renderKey: z.ZodString;
356
+ pcmContentHash: z.ZodString;
357
+ }, z.core.$strict>]>>;
358
+ result: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
359
+ kind: z.ZodLiteral<"audio">;
360
+ representation: z.ZodLiteral<"binary">;
361
+ contentHash: z.ZodString;
362
+ path: z.ZodString;
363
+ operationId: z.ZodString;
364
+ savedAt: z.ZodString;
365
+ }, z.core.$strict>, z.ZodObject<{
366
+ representationSetHash: z.ZodString;
367
+ modulePath: z.ZodString;
368
+ manifestPath: z.ZodString;
369
+ files: z.ZodArray<z.ZodObject<{
370
+ path: z.ZodString;
371
+ contentHash: z.ZodString;
372
+ size: z.ZodNumber;
373
+ }, z.core.$strict>>;
374
+ contentHash: z.ZodString;
375
+ path: z.ZodString;
376
+ operationId: z.ZodString;
377
+ savedAt: z.ZodString;
378
+ kind: z.ZodLiteral<"audio">;
379
+ representation: z.ZodEnum<{
380
+ "synth-sfx": "synth-sfx";
381
+ score: "score";
382
+ }>;
383
+ candidateId: z.ZodString;
384
+ candidateRevision: z.ZodNumber;
385
+ sourceContentHash: z.ZodString;
386
+ sourceRenderHash: z.ZodString;
387
+ auditionContentHash: z.ZodString;
388
+ renderKey: z.ZodString;
389
+ pcmContentHash: z.ZodString;
390
+ }, z.core.$strict>]>>;
391
+ }, z.core.$strict>], "version">;
392
+ export type GenerationSelectionRequest = z.infer<typeof generationSelectionRequestSchema>;
393
+ export declare const generationSelectionRequestListSchema: z.ZodObject<{
394
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
395
+ requestId: z.ZodString;
396
+ workspaceId: z.ZodString;
397
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
398
+ taskId: z.ZodString;
399
+ source: z.ZodObject<{
400
+ runtimeId: z.ZodString;
401
+ generation: z.ZodNumber;
402
+ runtimeEpoch: z.ZodNumber;
403
+ workspaceId: z.ZodString;
404
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
405
+ sourceOperationId: z.ZodString;
406
+ sessionId: z.ZodString;
407
+ nativeThreadId: z.ZodString;
408
+ nativeTurnId: z.ZodString;
409
+ toolCallId: z.ZodString;
410
+ }, z.core.$strict>;
411
+ message: z.ZodString;
412
+ createdAt: z.ZodString;
413
+ updatedAt: z.ZodString;
414
+ expiresAt: z.ZodString;
415
+ status: z.ZodEnum<{
416
+ failed: "failed";
417
+ cancelled: "cancelled";
418
+ uncertain: "uncertain";
419
+ expired: "expired";
420
+ waiting: "waiting";
421
+ submitted: "submitted";
422
+ }>;
423
+ continuation: z.ZodOptional<z.ZodObject<{
424
+ status: z.ZodEnum<{
425
+ pending: "pending";
426
+ failed: "failed";
427
+ cancelled: "cancelled";
428
+ completed: "completed";
429
+ uncertain: "uncertain";
430
+ dispatched: "dispatched";
431
+ }>;
432
+ operationId: z.ZodOptional<z.ZodString>;
433
+ error: z.ZodOptional<z.ZodString>;
434
+ }, z.core.$strict>>;
435
+ error: z.ZodOptional<z.ZodString>;
436
+ version: z.ZodLiteral<1>;
437
+ candidates: z.ZodArray<z.ZodObject<{
438
+ fileId: z.ZodString;
439
+ contentHash: z.ZodString;
440
+ }, z.core.$strict>>;
441
+ result: z.ZodOptional<z.ZodObject<{
442
+ contentHash: z.ZodString;
443
+ path: z.ZodString;
444
+ operationId: z.ZodString;
445
+ savedAt: z.ZodString;
446
+ fileId: z.ZodString;
447
+ }, z.core.$strict>>;
448
+ }, z.core.$strict>, z.ZodObject<{
449
+ requestId: z.ZodString;
450
+ workspaceId: z.ZodString;
451
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
452
+ taskId: z.ZodString;
453
+ source: z.ZodObject<{
454
+ runtimeId: z.ZodString;
455
+ generation: z.ZodNumber;
456
+ runtimeEpoch: z.ZodNumber;
457
+ workspaceId: z.ZodString;
458
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
459
+ sourceOperationId: z.ZodString;
460
+ sessionId: z.ZodString;
461
+ nativeThreadId: z.ZodString;
462
+ nativeTurnId: z.ZodString;
463
+ toolCallId: z.ZodString;
464
+ }, z.core.$strict>;
465
+ message: z.ZodString;
466
+ createdAt: z.ZodString;
467
+ updatedAt: z.ZodString;
468
+ expiresAt: z.ZodString;
469
+ status: z.ZodEnum<{
470
+ failed: "failed";
471
+ cancelled: "cancelled";
472
+ uncertain: "uncertain";
473
+ expired: "expired";
474
+ waiting: "waiting";
475
+ submitted: "submitted";
476
+ }>;
477
+ continuation: z.ZodOptional<z.ZodObject<{
478
+ status: z.ZodEnum<{
479
+ pending: "pending";
480
+ failed: "failed";
481
+ cancelled: "cancelled";
482
+ completed: "completed";
483
+ uncertain: "uncertain";
484
+ dispatched: "dispatched";
485
+ }>;
486
+ operationId: z.ZodOptional<z.ZodString>;
487
+ error: z.ZodOptional<z.ZodString>;
488
+ }, z.core.$strict>>;
489
+ error: z.ZodOptional<z.ZodString>;
490
+ version: z.ZodLiteral<2>;
491
+ candidates: z.ZodArray<z.ZodObject<{
492
+ kind: z.ZodLiteral<"video">;
493
+ contentHash: z.ZodString;
494
+ }, z.core.$strict>>;
495
+ result: z.ZodOptional<z.ZodObject<{
496
+ contentHash: z.ZodString;
497
+ path: z.ZodString;
498
+ operationId: z.ZodString;
499
+ savedAt: z.ZodString;
500
+ kind: z.ZodLiteral<"video">;
501
+ }, z.core.$strict>>;
502
+ }, z.core.$strict>, z.ZodObject<{
503
+ requestId: z.ZodString;
504
+ workspaceId: z.ZodString;
505
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
506
+ taskId: z.ZodString;
507
+ source: z.ZodObject<{
508
+ runtimeId: z.ZodString;
509
+ generation: z.ZodNumber;
510
+ runtimeEpoch: z.ZodNumber;
511
+ workspaceId: z.ZodString;
512
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
513
+ sourceOperationId: z.ZodString;
514
+ sessionId: z.ZodString;
515
+ nativeThreadId: z.ZodString;
516
+ nativeTurnId: z.ZodString;
517
+ toolCallId: z.ZodString;
518
+ }, z.core.$strict>;
519
+ message: z.ZodString;
520
+ createdAt: z.ZodString;
521
+ updatedAt: z.ZodString;
522
+ expiresAt: z.ZodString;
523
+ status: z.ZodEnum<{
524
+ failed: "failed";
525
+ cancelled: "cancelled";
526
+ uncertain: "uncertain";
527
+ expired: "expired";
528
+ waiting: "waiting";
529
+ submitted: "submitted";
530
+ }>;
531
+ continuation: z.ZodOptional<z.ZodObject<{
532
+ status: z.ZodEnum<{
533
+ pending: "pending";
534
+ failed: "failed";
535
+ cancelled: "cancelled";
536
+ completed: "completed";
537
+ uncertain: "uncertain";
538
+ dispatched: "dispatched";
539
+ }>;
540
+ operationId: z.ZodOptional<z.ZodString>;
541
+ error: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strict>>;
543
+ error: z.ZodOptional<z.ZodString>;
544
+ version: z.ZodLiteral<4>;
545
+ candidates: z.ZodArray<z.ZodObject<{
546
+ kind: z.ZodLiteral<"model">;
547
+ contentHash: z.ZodString;
548
+ }, z.core.$strict>>;
549
+ result: z.ZodOptional<z.ZodObject<{
550
+ contentHash: z.ZodString;
551
+ path: z.ZodString;
552
+ operationId: z.ZodString;
553
+ savedAt: z.ZodString;
554
+ kind: z.ZodLiteral<"model">;
555
+ }, z.core.$strict>>;
556
+ }, z.core.$strict>, z.ZodObject<{
557
+ requestId: z.ZodString;
558
+ workspaceId: z.ZodString;
559
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
560
+ taskId: z.ZodString;
561
+ source: z.ZodObject<{
562
+ runtimeId: z.ZodString;
563
+ generation: z.ZodNumber;
564
+ runtimeEpoch: z.ZodNumber;
565
+ workspaceId: z.ZodString;
566
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
567
+ sourceOperationId: z.ZodString;
568
+ sessionId: z.ZodString;
569
+ nativeThreadId: z.ZodString;
570
+ nativeTurnId: z.ZodString;
571
+ toolCallId: z.ZodString;
572
+ }, z.core.$strict>;
573
+ message: z.ZodString;
574
+ createdAt: z.ZodString;
575
+ updatedAt: z.ZodString;
576
+ expiresAt: z.ZodString;
577
+ status: z.ZodEnum<{
578
+ failed: "failed";
579
+ cancelled: "cancelled";
580
+ uncertain: "uncertain";
581
+ expired: "expired";
582
+ waiting: "waiting";
583
+ submitted: "submitted";
584
+ }>;
585
+ continuation: z.ZodOptional<z.ZodObject<{
586
+ status: z.ZodEnum<{
587
+ pending: "pending";
588
+ failed: "failed";
589
+ cancelled: "cancelled";
590
+ completed: "completed";
591
+ uncertain: "uncertain";
592
+ dispatched: "dispatched";
593
+ }>;
594
+ operationId: z.ZodOptional<z.ZodString>;
595
+ error: z.ZodOptional<z.ZodString>;
596
+ }, z.core.$strict>>;
597
+ error: z.ZodOptional<z.ZodString>;
598
+ version: z.ZodLiteral<3>;
599
+ candidates: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
600
+ kind: z.ZodLiteral<"audio">;
601
+ representation: z.ZodLiteral<"binary">;
602
+ contentHash: z.ZodString;
603
+ }, z.core.$strict>, z.ZodObject<{
604
+ kind: z.ZodLiteral<"audio">;
605
+ representation: z.ZodEnum<{
606
+ "synth-sfx": "synth-sfx";
607
+ score: "score";
608
+ }>;
609
+ candidateId: z.ZodString;
610
+ candidateRevision: z.ZodNumber;
611
+ sourceContentHash: z.ZodString;
612
+ sourceRenderHash: z.ZodString;
613
+ auditionContentHash: z.ZodString;
614
+ renderKey: z.ZodString;
615
+ pcmContentHash: z.ZodString;
616
+ }, z.core.$strict>]>>;
617
+ result: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
618
+ kind: z.ZodLiteral<"audio">;
619
+ representation: z.ZodLiteral<"binary">;
620
+ contentHash: z.ZodString;
621
+ path: z.ZodString;
622
+ operationId: z.ZodString;
623
+ savedAt: z.ZodString;
624
+ }, z.core.$strict>, z.ZodObject<{
625
+ representationSetHash: z.ZodString;
626
+ modulePath: z.ZodString;
627
+ manifestPath: z.ZodString;
628
+ files: z.ZodArray<z.ZodObject<{
629
+ path: z.ZodString;
630
+ contentHash: z.ZodString;
631
+ size: z.ZodNumber;
632
+ }, z.core.$strict>>;
633
+ contentHash: z.ZodString;
634
+ path: z.ZodString;
635
+ operationId: z.ZodString;
636
+ savedAt: z.ZodString;
637
+ kind: z.ZodLiteral<"audio">;
638
+ representation: z.ZodEnum<{
639
+ "synth-sfx": "synth-sfx";
640
+ score: "score";
641
+ }>;
642
+ candidateId: z.ZodString;
643
+ candidateRevision: z.ZodNumber;
644
+ sourceContentHash: z.ZodString;
645
+ sourceRenderHash: z.ZodString;
646
+ auditionContentHash: z.ZodString;
647
+ renderKey: z.ZodString;
648
+ pcmContentHash: z.ZodString;
649
+ }, z.core.$strict>]>>;
650
+ }, z.core.$strict>], "version">>;
651
+ }, z.core.$strict>;
652
+ export type GenerationSelectionRequestList = z.infer<typeof generationSelectionRequestListSchema>;
653
+ export declare const generationSelectionListSchema: z.ZodObject<{
654
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
655
+ requestId: z.ZodString;
656
+ workspaceId: z.ZodString;
657
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
658
+ taskId: z.ZodString;
659
+ source: z.ZodObject<{
660
+ runtimeId: z.ZodString;
661
+ generation: z.ZodNumber;
662
+ runtimeEpoch: z.ZodNumber;
663
+ workspaceId: z.ZodString;
664
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
665
+ sourceOperationId: z.ZodString;
666
+ sessionId: z.ZodString;
667
+ nativeThreadId: z.ZodString;
668
+ nativeTurnId: z.ZodString;
669
+ toolCallId: z.ZodString;
670
+ }, z.core.$strict>;
671
+ message: z.ZodString;
672
+ createdAt: z.ZodString;
673
+ updatedAt: z.ZodString;
674
+ expiresAt: z.ZodString;
675
+ status: z.ZodEnum<{
676
+ failed: "failed";
677
+ cancelled: "cancelled";
678
+ uncertain: "uncertain";
679
+ expired: "expired";
680
+ waiting: "waiting";
681
+ submitted: "submitted";
682
+ }>;
683
+ continuation: z.ZodOptional<z.ZodObject<{
684
+ status: z.ZodEnum<{
685
+ pending: "pending";
686
+ failed: "failed";
687
+ cancelled: "cancelled";
688
+ completed: "completed";
689
+ uncertain: "uncertain";
690
+ dispatched: "dispatched";
691
+ }>;
692
+ operationId: z.ZodOptional<z.ZodString>;
693
+ error: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strict>>;
695
+ error: z.ZodOptional<z.ZodString>;
696
+ version: z.ZodLiteral<1>;
697
+ candidates: z.ZodArray<z.ZodObject<{
698
+ fileId: z.ZodString;
699
+ contentHash: z.ZodString;
700
+ }, z.core.$strict>>;
701
+ result: z.ZodOptional<z.ZodObject<{
702
+ contentHash: z.ZodString;
703
+ path: z.ZodString;
704
+ operationId: z.ZodString;
705
+ savedAt: z.ZodString;
706
+ fileId: z.ZodString;
707
+ }, z.core.$strict>>;
708
+ }, z.core.$strict>, z.ZodObject<{
709
+ requestId: z.ZodString;
710
+ workspaceId: z.ZodString;
711
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
712
+ taskId: z.ZodString;
713
+ source: z.ZodObject<{
714
+ runtimeId: z.ZodString;
715
+ generation: z.ZodNumber;
716
+ runtimeEpoch: z.ZodNumber;
717
+ workspaceId: z.ZodString;
718
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
719
+ sourceOperationId: z.ZodString;
720
+ sessionId: z.ZodString;
721
+ nativeThreadId: z.ZodString;
722
+ nativeTurnId: z.ZodString;
723
+ toolCallId: z.ZodString;
724
+ }, z.core.$strict>;
725
+ message: z.ZodString;
726
+ createdAt: z.ZodString;
727
+ updatedAt: z.ZodString;
728
+ expiresAt: z.ZodString;
729
+ status: z.ZodEnum<{
730
+ failed: "failed";
731
+ cancelled: "cancelled";
732
+ uncertain: "uncertain";
733
+ expired: "expired";
734
+ waiting: "waiting";
735
+ submitted: "submitted";
736
+ }>;
737
+ continuation: z.ZodOptional<z.ZodObject<{
738
+ status: z.ZodEnum<{
739
+ pending: "pending";
740
+ failed: "failed";
741
+ cancelled: "cancelled";
742
+ completed: "completed";
743
+ uncertain: "uncertain";
744
+ dispatched: "dispatched";
745
+ }>;
746
+ operationId: z.ZodOptional<z.ZodString>;
747
+ error: z.ZodOptional<z.ZodString>;
748
+ }, z.core.$strict>>;
749
+ error: z.ZodOptional<z.ZodString>;
750
+ version: z.ZodLiteral<2>;
751
+ candidates: z.ZodArray<z.ZodObject<{
752
+ kind: z.ZodLiteral<"video">;
753
+ contentHash: z.ZodString;
754
+ }, z.core.$strict>>;
755
+ result: z.ZodOptional<z.ZodObject<{
756
+ contentHash: z.ZodString;
757
+ path: z.ZodString;
758
+ operationId: z.ZodString;
759
+ savedAt: z.ZodString;
760
+ kind: z.ZodLiteral<"video">;
761
+ }, z.core.$strict>>;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ requestId: z.ZodString;
764
+ workspaceId: z.ZodString;
765
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
766
+ taskId: z.ZodString;
767
+ source: z.ZodObject<{
768
+ runtimeId: z.ZodString;
769
+ generation: z.ZodNumber;
770
+ runtimeEpoch: z.ZodNumber;
771
+ workspaceId: z.ZodString;
772
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
773
+ sourceOperationId: z.ZodString;
774
+ sessionId: z.ZodString;
775
+ nativeThreadId: z.ZodString;
776
+ nativeTurnId: z.ZodString;
777
+ toolCallId: z.ZodString;
778
+ }, z.core.$strict>;
779
+ message: z.ZodString;
780
+ createdAt: z.ZodString;
781
+ updatedAt: z.ZodString;
782
+ expiresAt: z.ZodString;
783
+ status: z.ZodEnum<{
784
+ failed: "failed";
785
+ cancelled: "cancelled";
786
+ uncertain: "uncertain";
787
+ expired: "expired";
788
+ waiting: "waiting";
789
+ submitted: "submitted";
790
+ }>;
791
+ continuation: z.ZodOptional<z.ZodObject<{
792
+ status: z.ZodEnum<{
793
+ pending: "pending";
794
+ failed: "failed";
795
+ cancelled: "cancelled";
796
+ completed: "completed";
797
+ uncertain: "uncertain";
798
+ dispatched: "dispatched";
799
+ }>;
800
+ operationId: z.ZodOptional<z.ZodString>;
801
+ error: z.ZodOptional<z.ZodString>;
802
+ }, z.core.$strict>>;
803
+ error: z.ZodOptional<z.ZodString>;
804
+ version: z.ZodLiteral<4>;
805
+ candidates: z.ZodArray<z.ZodObject<{
806
+ kind: z.ZodLiteral<"model">;
807
+ contentHash: z.ZodString;
808
+ }, z.core.$strict>>;
809
+ result: z.ZodOptional<z.ZodObject<{
810
+ contentHash: z.ZodString;
811
+ path: z.ZodString;
812
+ operationId: z.ZodString;
813
+ savedAt: z.ZodString;
814
+ kind: z.ZodLiteral<"model">;
815
+ }, z.core.$strict>>;
816
+ }, z.core.$strict>, z.ZodObject<{
817
+ requestId: z.ZodString;
818
+ workspaceId: z.ZodString;
819
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
820
+ taskId: z.ZodString;
821
+ source: z.ZodObject<{
822
+ runtimeId: z.ZodString;
823
+ generation: z.ZodNumber;
824
+ runtimeEpoch: z.ZodNumber;
825
+ workspaceId: z.ZodString;
826
+ directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
827
+ sourceOperationId: z.ZodString;
828
+ sessionId: z.ZodString;
829
+ nativeThreadId: z.ZodString;
830
+ nativeTurnId: z.ZodString;
831
+ toolCallId: z.ZodString;
832
+ }, z.core.$strict>;
833
+ message: z.ZodString;
834
+ createdAt: z.ZodString;
835
+ updatedAt: z.ZodString;
836
+ expiresAt: z.ZodString;
837
+ status: z.ZodEnum<{
838
+ failed: "failed";
839
+ cancelled: "cancelled";
840
+ uncertain: "uncertain";
841
+ expired: "expired";
842
+ waiting: "waiting";
843
+ submitted: "submitted";
844
+ }>;
845
+ continuation: z.ZodOptional<z.ZodObject<{
846
+ status: z.ZodEnum<{
847
+ pending: "pending";
848
+ failed: "failed";
849
+ cancelled: "cancelled";
850
+ completed: "completed";
851
+ uncertain: "uncertain";
852
+ dispatched: "dispatched";
853
+ }>;
854
+ operationId: z.ZodOptional<z.ZodString>;
855
+ error: z.ZodOptional<z.ZodString>;
856
+ }, z.core.$strict>>;
857
+ error: z.ZodOptional<z.ZodString>;
858
+ version: z.ZodLiteral<3>;
859
+ candidates: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
860
+ kind: z.ZodLiteral<"audio">;
861
+ representation: z.ZodLiteral<"binary">;
862
+ contentHash: z.ZodString;
863
+ }, z.core.$strict>, z.ZodObject<{
864
+ kind: z.ZodLiteral<"audio">;
865
+ representation: z.ZodEnum<{
866
+ "synth-sfx": "synth-sfx";
867
+ score: "score";
868
+ }>;
869
+ candidateId: z.ZodString;
870
+ candidateRevision: z.ZodNumber;
871
+ sourceContentHash: z.ZodString;
872
+ sourceRenderHash: z.ZodString;
873
+ auditionContentHash: z.ZodString;
874
+ renderKey: z.ZodString;
875
+ pcmContentHash: z.ZodString;
876
+ }, z.core.$strict>]>>;
877
+ result: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
878
+ kind: z.ZodLiteral<"audio">;
879
+ representation: z.ZodLiteral<"binary">;
880
+ contentHash: z.ZodString;
881
+ path: z.ZodString;
882
+ operationId: z.ZodString;
883
+ savedAt: z.ZodString;
884
+ }, z.core.$strict>, z.ZodObject<{
885
+ representationSetHash: z.ZodString;
886
+ modulePath: z.ZodString;
887
+ manifestPath: z.ZodString;
888
+ files: z.ZodArray<z.ZodObject<{
889
+ path: z.ZodString;
890
+ contentHash: z.ZodString;
891
+ size: z.ZodNumber;
892
+ }, z.core.$strict>>;
893
+ contentHash: z.ZodString;
894
+ path: z.ZodString;
895
+ operationId: z.ZodString;
896
+ savedAt: z.ZodString;
897
+ kind: z.ZodLiteral<"audio">;
898
+ representation: z.ZodEnum<{
899
+ "synth-sfx": "synth-sfx";
900
+ score: "score";
901
+ }>;
902
+ candidateId: z.ZodString;
903
+ candidateRevision: z.ZodNumber;
904
+ sourceContentHash: z.ZodString;
905
+ sourceRenderHash: z.ZodString;
906
+ auditionContentHash: z.ZodString;
907
+ renderKey: z.ZodString;
908
+ pcmContentHash: z.ZodString;
909
+ }, z.core.$strict>]>>;
910
+ }, z.core.$strict>], "version">>;
911
+ }, z.core.$strict>;
912
+ export type GenerationSelectionList = z.infer<typeof generationSelectionListSchema>;
913
+ export declare const generationSelectionContinuationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
914
+ requestId: z.ZodString;
915
+ taskId: z.ZodString;
916
+ sourceSessionId: z.ZodString;
917
+ sourceThreadId: z.ZodString;
918
+ sourceTurnId: z.ZodString;
919
+ version: z.ZodLiteral<1>;
920
+ result: z.ZodObject<{
921
+ contentHash: z.ZodString;
922
+ path: z.ZodString;
923
+ operationId: z.ZodString;
924
+ savedAt: z.ZodString;
925
+ fileId: z.ZodString;
926
+ }, z.core.$strict>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ requestId: z.ZodString;
929
+ taskId: z.ZodString;
930
+ sourceSessionId: z.ZodString;
931
+ sourceThreadId: z.ZodString;
932
+ sourceTurnId: z.ZodString;
933
+ version: z.ZodLiteral<2>;
934
+ result: z.ZodObject<{
935
+ contentHash: z.ZodString;
936
+ path: z.ZodString;
937
+ operationId: z.ZodString;
938
+ savedAt: z.ZodString;
939
+ kind: z.ZodLiteral<"video">;
940
+ }, z.core.$strict>;
941
+ }, z.core.$strict>, z.ZodObject<{
942
+ requestId: z.ZodString;
943
+ taskId: z.ZodString;
944
+ sourceSessionId: z.ZodString;
945
+ sourceThreadId: z.ZodString;
946
+ sourceTurnId: z.ZodString;
947
+ version: z.ZodLiteral<3>;
948
+ result: z.ZodUnion<readonly [z.ZodObject<{
949
+ kind: z.ZodLiteral<"audio">;
950
+ representation: z.ZodLiteral<"binary">;
951
+ contentHash: z.ZodString;
952
+ path: z.ZodString;
953
+ operationId: z.ZodString;
954
+ savedAt: z.ZodString;
955
+ }, z.core.$strict>, z.ZodObject<{
956
+ representationSetHash: z.ZodString;
957
+ modulePath: z.ZodString;
958
+ manifestPath: z.ZodString;
959
+ files: z.ZodArray<z.ZodObject<{
960
+ path: z.ZodString;
961
+ contentHash: z.ZodString;
962
+ size: z.ZodNumber;
963
+ }, z.core.$strict>>;
964
+ contentHash: z.ZodString;
965
+ path: z.ZodString;
966
+ operationId: z.ZodString;
967
+ savedAt: z.ZodString;
968
+ kind: z.ZodLiteral<"audio">;
969
+ representation: z.ZodEnum<{
970
+ "synth-sfx": "synth-sfx";
971
+ score: "score";
972
+ }>;
973
+ candidateId: z.ZodString;
974
+ candidateRevision: z.ZodNumber;
975
+ sourceContentHash: z.ZodString;
976
+ sourceRenderHash: z.ZodString;
977
+ auditionContentHash: z.ZodString;
978
+ renderKey: z.ZodString;
979
+ pcmContentHash: z.ZodString;
980
+ }, z.core.$strict>]>;
981
+ }, z.core.$strict>, z.ZodObject<{
982
+ requestId: z.ZodString;
983
+ taskId: z.ZodString;
984
+ sourceSessionId: z.ZodString;
985
+ sourceThreadId: z.ZodString;
986
+ sourceTurnId: z.ZodString;
987
+ version: z.ZodLiteral<4>;
988
+ result: z.ZodObject<{
989
+ contentHash: z.ZodString;
990
+ path: z.ZodString;
991
+ operationId: z.ZodString;
992
+ savedAt: z.ZodString;
993
+ kind: z.ZodLiteral<"model">;
994
+ }, z.core.$strict>;
995
+ }, z.core.$strict>], "version">;
996
+ export type GenerationSelectionContinuation = z.infer<typeof generationSelectionContinuationSchema>;
997
+ //# sourceMappingURL=generation-selection.d.ts.map