@nativestudio/cli 0.3.0-rc.21 → 0.3.0-rc.27

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 (200) hide show
  1. package/COMPATIBILITY.json +11 -11
  2. package/components/runtime.json +7 -7
  3. package/components/runtime.tgz +0 -0
  4. package/dist/_chunks/backup-retirement-5OTAYZYN.js +1 -0
  5. package/dist/_chunks/caller-DPHTMOBN.js +1 -0
  6. package/dist/_chunks/{chunk-MZWEFYHE.js → chunk-24ZFLWWU.js} +1 -1
  7. package/dist/_chunks/chunk-25WUWVDK.js +1 -0
  8. package/dist/_chunks/{chunk-QGK6G6YS.js → chunk-4UQRT3ZH.js} +1 -1
  9. package/dist/_chunks/chunk-6MYLFBLH.js +1 -0
  10. package/dist/_chunks/chunk-6YVGVNEH.js +1 -0
  11. package/dist/_chunks/{chunk-7IVAYDU3.js → chunk-7TXIHIZ5.js} +1 -1
  12. package/dist/_chunks/chunk-A3MJERGH.js +1 -0
  13. package/dist/_chunks/{chunk-DLW42PJ6.js → chunk-AZQLZA47.js} +1 -1
  14. package/dist/_chunks/{chunk-ZYXHPTT2.js → chunk-BNGPPUA3.js} +1 -1
  15. package/dist/_chunks/chunk-CBJIFAHD.js +1 -0
  16. package/dist/_chunks/chunk-CUCC4RFF.js +1 -0
  17. package/dist/_chunks/{chunk-76E5R3OC.js → chunk-DBOQPJLY.js} +1 -1
  18. package/dist/_chunks/chunk-DEXSJABJ.js +1 -0
  19. package/dist/_chunks/chunk-EOWXXTEF.js +1 -0
  20. package/dist/_chunks/chunk-EPH3TRYV.js +1 -0
  21. package/dist/_chunks/chunk-EYOGMJW2.js +1 -0
  22. package/dist/_chunks/{chunk-ZMJYBUS3.js → chunk-FRZDYDOP.js} +1 -1
  23. package/dist/_chunks/chunk-IKJ6VNJ6.js +1 -0
  24. package/dist/_chunks/chunk-ISPIV2P6.js +1 -0
  25. package/dist/_chunks/chunk-IYYCCA44.js +1 -0
  26. package/dist/_chunks/chunk-KAW7T5TR.js +1 -0
  27. package/dist/_chunks/chunk-KGS6SI5Y.js +1 -0
  28. package/dist/_chunks/chunk-LNKE3Z3X.js +1 -0
  29. package/dist/_chunks/{chunk-X5PBZTKX.js → chunk-LRIVN74V.js} +1 -1
  30. package/dist/_chunks/chunk-LVVSTKDW.js +1 -0
  31. package/dist/_chunks/chunk-LZAC64FB.js +1 -0
  32. package/dist/_chunks/chunk-M32FI2OA.js +1 -0
  33. package/dist/_chunks/chunk-N4ORSVTY.js +1 -0
  34. package/dist/_chunks/{chunk-KOCUZ3AE.js → chunk-NEZ7IY5E.js} +1 -1
  35. package/dist/_chunks/{chunk-LTNJ45JP.js → chunk-NW3ODW7Y.js} +1 -1
  36. package/dist/_chunks/chunk-NX4JWZWV.js +1 -0
  37. package/dist/_chunks/chunk-PC54RQIE.js +1 -0
  38. package/dist/_chunks/chunk-Q7MTMC6D.js +1 -0
  39. package/dist/_chunks/chunk-QCBLU6D6.js +1 -0
  40. package/dist/_chunks/chunk-QLHMJUBH.js +1 -0
  41. package/dist/_chunks/{chunk-5Y7J2OYL.js → chunk-RASQZMYI.js} +2 -2
  42. package/dist/_chunks/chunk-RRYZZBXN.js +1 -0
  43. package/dist/_chunks/chunk-SCLI4ALP.js +1 -0
  44. package/dist/_chunks/chunk-SCOSFTMM.js +1 -0
  45. package/dist/_chunks/chunk-UFUFQA5U.js +1 -0
  46. package/dist/_chunks/chunk-UOYNCE7I.js +1 -0
  47. package/dist/_chunks/{chunk-OW6R4MAQ.js → chunk-USOV7NK4.js} +1 -1
  48. package/dist/_chunks/chunk-VJ4SCIR5.js +1 -0
  49. package/dist/_chunks/chunk-VKXFHOAR.js +1 -0
  50. package/dist/_chunks/chunk-VXANXYQL.js +1 -0
  51. package/dist/_chunks/chunk-XMZKBILZ.js +1 -0
  52. package/dist/_chunks/chunk-Z44SK6DZ.js +1 -0
  53. package/dist/_chunks/component-contract-B6VKGV2V.js +1 -0
  54. package/dist/_chunks/component-preflight-FYYYXV6C.js +1 -0
  55. package/dist/_chunks/connect-75RAY2SE.js +1 -0
  56. package/dist/_chunks/device-management-JGV4YU7S.js +1 -0
  57. package/dist/_chunks/device-preflight-ZPWOMGHI.js +1 -0
  58. package/dist/_chunks/device-provider-inspection-C4IRVW3V.js +1 -0
  59. package/dist/_chunks/devices-inventory-OAY2HON2.js +1 -0
  60. package/dist/_chunks/devices-main-6PDXFRE2.js +1 -0
  61. package/dist/_chunks/files-G2HINGMA.js +1 -0
  62. package/dist/_chunks/host-component-W5DIBO65.js +1 -0
  63. package/dist/_chunks/host-help-AYTWACIM.js +1 -0
  64. package/dist/_chunks/host-main-E34OH232.js +1 -0
  65. package/dist/_chunks/http-profile-BFWO2A2T.js +1 -0
  66. package/dist/_chunks/library-main-BDS4ANNF.js +1 -0
  67. package/dist/_chunks/local-main-EF3Y6EHU.js +1 -0
  68. package/dist/_chunks/local-mcp-ME7ZQBUT.js +1 -0
  69. package/dist/_chunks/main-7Q5Y5MVK.js +2 -0
  70. package/dist/_chunks/mcp-VEJ6GVUK.js +1 -0
  71. package/dist/_chunks/model-cleanup-22VY6NWS.js +1 -0
  72. package/dist/_chunks/model-management-RZ4LQYMW.js +1 -0
  73. package/dist/_chunks/model-plan-retirement-4V2J3AUA.js +1 -0
  74. package/dist/_chunks/model-retention-F4WNSTJO.js +1 -0
  75. package/dist/_chunks/model-slot-retirement-KL6MVDGL.js +1 -0
  76. package/dist/_chunks/oauth-Z26E4LJQ.js +1 -0
  77. package/dist/_chunks/observe-entry-ZV26WLCP.js +1 -0
  78. package/dist/_chunks/provider-change-U34UP6ER.js +1 -0
  79. package/dist/_chunks/remote-client-6F6KRJA6.js +1 -0
  80. package/dist/_chunks/render-main-ID5JWWKY.js +1 -0
  81. package/dist/_chunks/source-import-YW6YEMEN.js +1 -0
  82. package/dist/_chunks/src-36KAJDK4.js +1 -0
  83. package/dist/_chunks/stdio-main-YR5TITX2.js +1 -0
  84. package/dist/_chunks/workspace-main-ZFR7ZY3R.js +1 -0
  85. package/dist/_types/cli/local/desktop-contract.d.ts +349 -40
  86. package/dist/_types/cli/local/desktop-device-contract.d.ts +89 -78
  87. package/dist/_types/cli/local/desktop-device-owner.d.ts +14 -14
  88. package/dist/_types/cli/local/desktop-device-state.d.ts +13 -8
  89. package/dist/_types/cli/local/desktop-owner.d.ts +130 -30
  90. package/dist/_types/cli/local/ledger.d.ts +285 -0
  91. package/dist/_types/cli/local/lifecycle-gates.d.ts +8 -0
  92. package/dist/_types/cli/local/manager.d.ts +11 -1107
  93. package/dist/_types/cli/local/mcp-tools.d.ts +3 -0
  94. package/dist/_types/contracts/artifact.d.ts +2 -0
  95. package/dist/_types/contracts/component-status.d.ts +9 -0
  96. package/dist/_types/contracts/device-openai-asr.d.ts +479 -0
  97. package/dist/_types/contracts/device-render.d.ts +6 -0
  98. package/dist/_types/contracts/external-agent-access.d.ts +7 -0
  99. package/dist/_types/contracts/index.d.ts +3 -0
  100. package/dist/_types/contracts/interface/media-output.d.ts +4 -1
  101. package/dist/_types/contracts/interface/operation.d.ts +44 -0
  102. package/dist/_types/contracts/interface/production-snapshot.d.ts +39 -0
  103. package/dist/_types/contracts/interface/query.d.ts +38 -0
  104. package/dist/_types/contracts/local-execution/backup-retirement.d.ts +162 -0
  105. package/dist/_types/contracts/local-execution/claim-resolution.d.ts +1470 -0
  106. package/dist/_types/contracts/local-execution/components.d.ts +1 -1
  107. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +23 -0
  108. package/dist/_types/contracts/local-execution/credential-request.d.ts +20 -0
  109. package/dist/_types/contracts/local-execution/external-generation.d.ts +59 -2
  110. package/dist/_types/contracts/local-execution/index.d.ts +12 -0
  111. package/dist/_types/contracts/local-execution/ipc.d.ts +27 -0
  112. package/dist/_types/contracts/local-execution/library-command.d.ts +303 -5
  113. package/dist/_types/contracts/local-execution/library-result.d.ts +217 -3
  114. package/dist/_types/contracts/local-execution/lifecycle.d.ts +35 -0
  115. package/dist/_types/contracts/local-execution/local-navigation.d.ts +3 -0
  116. package/dist/_types/contracts/local-execution/management.d.ts +12 -12
  117. package/dist/_types/contracts/local-execution/model-cleanup.d.ts +60 -0
  118. package/dist/_types/contracts/local-execution/model-inspection.d.ts +365 -0
  119. package/dist/_types/contracts/local-execution/openai-asr.d.ts +105 -0
  120. package/dist/_types/contracts/local-execution/openai-realtime-speech.d.ts +151 -0
  121. package/dist/_types/contracts/local-execution/preview.d.ts +15 -4
  122. package/dist/_types/contracts/local-execution/processor-capability.d.ts +6 -0
  123. package/dist/_types/contracts/local-execution/processor-direct.d.ts +140 -4
  124. package/dist/_types/contracts/local-execution/processor-outcomes.d.ts +145 -0
  125. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +163 -3
  126. package/dist/_types/contracts/local-execution/processor.d.ts +2422 -322
  127. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +1 -0
  128. package/dist/_types/contracts/local-execution/provider-inspection.d.ts +58 -0
  129. package/dist/_types/contracts/local-execution/provider-release.d.ts +53 -0
  130. package/dist/_types/contracts/local-execution/provider-selection.d.ts +58 -0
  131. package/dist/_types/contracts/local-execution/recognition.d.ts +30 -0
  132. package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
  133. package/dist/_types/contracts/local-execution/versions.d.ts +2 -0
  134. package/dist/_types/contracts/media-observation.d.ts +56 -0
  135. package/dist/_types/contracts/native-speech-http.d.ts +15 -0
  136. package/dist/_types/contracts/navigation-context.d.ts +144 -0
  137. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  138. package/dist/_types/contracts/navigation.d.ts +2 -0
  139. package/dist/_types/contracts/observation-profile.d.ts +12 -0
  140. package/dist/_types/contracts/openai-asr.d.ts +55 -0
  141. package/dist/_types/contracts/provider-catalog.d.ts +44 -0
  142. package/dist/_types/contracts/provider-models.d.ts +115 -3
  143. package/dist/_types/contracts/provider.d.ts +93 -7
  144. package/dist/_types/contracts/render-readiness.d.ts +74 -1
  145. package/dist/_types/contracts/repair-strategy.d.ts +1 -1
  146. package/dist/_types/contracts/sound-making-plan.d.ts +41 -0
  147. package/dist/_types/contracts/source-workspace.d.ts +2 -0
  148. package/dist/_types/contracts/speech-cost.d.ts +129 -0
  149. package/dist/_types/contracts/speech.d.ts +50 -0
  150. package/dist/_types/contracts/transcription.d.ts +11 -0
  151. package/dist/_types/sdk/local-runtime/components.d.ts +6 -0
  152. package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
  153. package/dist/entry.js +1 -1
  154. package/dist/local-management.js +1 -1
  155. package/dist/local-navigation.js +1 -1
  156. package/package.json +3 -2
  157. package/dist/_chunks/chunk-27KI24GK.js +0 -1
  158. package/dist/_chunks/chunk-2S7FI3HF.js +0 -1
  159. package/dist/_chunks/chunk-3RNDOAQI.js +0 -1
  160. package/dist/_chunks/chunk-3TOXIJ7K.js +0 -1
  161. package/dist/_chunks/chunk-4AD4PNUX.js +0 -1
  162. package/dist/_chunks/chunk-7I7ARCY7.js +0 -1
  163. package/dist/_chunks/chunk-7P2NA6TH.js +0 -1
  164. package/dist/_chunks/chunk-DMA53YVU.js +0 -1
  165. package/dist/_chunks/chunk-ETK7GYCB.js +0 -1
  166. package/dist/_chunks/chunk-FFXSXE3G.js +0 -1
  167. package/dist/_chunks/chunk-H4FH6STZ.js +0 -1
  168. package/dist/_chunks/chunk-LDBXGRCQ.js +0 -1
  169. package/dist/_chunks/chunk-PQCA4X5H.js +0 -1
  170. package/dist/_chunks/chunk-SM2I7TJ3.js +0 -1
  171. package/dist/_chunks/chunk-VXYZCCCQ.js +0 -1
  172. package/dist/_chunks/chunk-VYCNG6TR.js +0 -1
  173. package/dist/_chunks/chunk-WLQMICJN.js +0 -1
  174. package/dist/_chunks/chunk-WTJVS2VS.js +0 -1
  175. package/dist/_chunks/chunk-X5MVC46N.js +0 -1
  176. package/dist/_chunks/component-contract-2JHTRTOB.js +0 -1
  177. package/dist/_chunks/component-preflight-6OWDQAZT.js +0 -1
  178. package/dist/_chunks/connect-7TJDWXV4.js +0 -1
  179. package/dist/_chunks/device-management-JPS4HG34.js +0 -1
  180. package/dist/_chunks/device-preflight-GTQ67H7C.js +0 -1
  181. package/dist/_chunks/devices-inventory-E6ZLXCVR.js +0 -1
  182. package/dist/_chunks/devices-main-2BMCANKU.js +0 -1
  183. package/dist/_chunks/files-JJ6YOULB.js +0 -1
  184. package/dist/_chunks/host-component-ZYQ5ETVL.js +0 -1
  185. package/dist/_chunks/host-help-VNLA3YOV.js +0 -1
  186. package/dist/_chunks/host-main-KLWW7R47.js +0 -1
  187. package/dist/_chunks/http-profile-3VVSWYA5.js +0 -1
  188. package/dist/_chunks/library-main-3WWH7UYV.js +0 -1
  189. package/dist/_chunks/local-main-5BW63USP.js +0 -1
  190. package/dist/_chunks/local-mcp-AARKBDU5.js +0 -1
  191. package/dist/_chunks/main-LGYJ3ZCN.js +0 -2
  192. package/dist/_chunks/mcp-BLSK636Q.js +0 -1
  193. package/dist/_chunks/oauth-RPME2XYB.js +0 -1
  194. package/dist/_chunks/observe-entry-JVZAMB7N.js +0 -1
  195. package/dist/_chunks/remote-client-25Z65VJU.js +0 -1
  196. package/dist/_chunks/render-main-6Z3DKCWL.js +0 -1
  197. package/dist/_chunks/source-import-PNMCMTK7.js +0 -1
  198. package/dist/_chunks/src-7HSJFRVQ.js +0 -1
  199. package/dist/_chunks/stdio-main-HNLJCG45.js +0 -1
  200. package/dist/_chunks/workspace-main-QX5JGEMR.js +0 -1
@@ -1,12 +1,28 @@
1
1
  import { z } from "zod";
2
2
  import type { LocalLibraryReference } from "./library.js";
3
- /** 发布复用既有原片和 Project SOURCE Owner,各自保留原输入预算与业务依据。 */
3
+ /** 发布交给原片、项目素材或生产音轨的既有 Owner。 */
4
4
  export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ kind: z.ZodLiteral<"AUDIO">;
6
+ command: z.ZodObject<{
7
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
8
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
9
+ purpose: z.ZodEnum<{
10
+ VOICEOVER: "VOICEOVER";
11
+ MUSIC: "MUSIC";
12
+ }>;
13
+ expectedProductionRevision: z.ZodInt;
14
+ expectedAudioVersion: z.ZodInt;
15
+ idempotencyKey: z.ZodString;
16
+ contentType: z.ZodLiteral<"audio/wav">;
17
+ originalName: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strict>;
19
+ }, z.core.$strict>, z.ZodObject<{
5
20
  kind: z.ZodLiteral<"ORIGINAL">;
6
21
  command: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
22
  operation: z.ZodLiteral<"REGISTER">;
8
23
  input: z.ZodObject<{
9
24
  deviceId: z.ZodOptional<z.ZodUUID>;
25
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
10
26
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
11
27
  tenantId: z.ZodUUID;
12
28
  projectId: z.ZodUUID;
@@ -33,6 +49,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
33
49
  operation: z.ZodLiteral<"REVISE">;
34
50
  input: z.ZodObject<{
35
51
  deviceId: z.ZodOptional<z.ZodUUID>;
52
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
36
53
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
37
54
  tenantId: z.ZodUUID;
38
55
  projectId: z.ZodUUID;
@@ -68,6 +85,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
68
85
  REFERENCE_VIDEO: "REFERENCE_VIDEO";
69
86
  PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
70
87
  }>;
88
+ videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
71
89
  contentType: z.ZodEnum<{
72
90
  "application/json": "application/json";
73
91
  "text/plain": "text/plain";
@@ -114,6 +132,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
114
132
  }, z.core.$strict>;
115
133
  accessRevision: z.ZodInt;
116
134
  action: z.ZodLiteral<"INSPECT">;
135
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
117
136
  }, z.core.$strict>, z.ZodObject<{
118
137
  tenantId: z.ZodUUID;
119
138
  projectId: z.ZodUUID;
@@ -142,11 +161,27 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
142
161
  accessRevision: z.ZodInt;
143
162
  action: z.ZodLiteral<"PUBLISH">;
144
163
  destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
164
+ kind: z.ZodLiteral<"AUDIO">;
165
+ command: z.ZodObject<{
166
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
167
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
168
+ purpose: z.ZodEnum<{
169
+ VOICEOVER: "VOICEOVER";
170
+ MUSIC: "MUSIC";
171
+ }>;
172
+ expectedProductionRevision: z.ZodInt;
173
+ expectedAudioVersion: z.ZodInt;
174
+ idempotencyKey: z.ZodString;
175
+ contentType: z.ZodLiteral<"audio/wav">;
176
+ originalName: z.ZodOptional<z.ZodString>;
177
+ }, z.core.$strict>;
178
+ }, z.core.$strict>, z.ZodObject<{
145
179
  kind: z.ZodLiteral<"ORIGINAL">;
146
180
  command: z.ZodDiscriminatedUnion<[z.ZodObject<{
147
181
  operation: z.ZodLiteral<"REGISTER">;
148
182
  input: z.ZodObject<{
149
183
  deviceId: z.ZodOptional<z.ZodUUID>;
184
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
150
185
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
151
186
  tenantId: z.ZodUUID;
152
187
  projectId: z.ZodUUID;
@@ -173,6 +208,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
173
208
  operation: z.ZodLiteral<"REVISE">;
174
209
  input: z.ZodObject<{
175
210
  deviceId: z.ZodOptional<z.ZodUUID>;
211
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
176
212
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
177
213
  tenantId: z.ZodUUID;
178
214
  projectId: z.ZodUUID;
@@ -208,6 +244,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
208
244
  REFERENCE_VIDEO: "REFERENCE_VIDEO";
209
245
  PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
210
246
  }>;
247
+ videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
211
248
  contentType: z.ZodEnum<{
212
249
  "application/json": "application/json";
213
250
  "text/plain": "text/plain";
@@ -265,7 +302,7 @@ export declare const LocalLibraryAdmissionSchema: z.ZodObject<{
265
302
  }, z.core.$strict>;
266
303
  export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
267
304
  kind: z.ZodLiteral<"VIDEO">;
268
- metadata: z.ZodObject<{
305
+ metadata: z.ZodUnion<readonly [z.ZodObject<{
269
306
  geometry: z.ZodObject<{
270
307
  width: z.ZodInt;
271
308
  height: z.ZodInt;
@@ -324,6 +361,85 @@ export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.Zo
324
361
  LIVE: "LIVE";
325
362
  TEST_ONLY: "TEST_ONLY";
326
363
  }>;
364
+ }, z.core.$strict>, z.ZodObject<{
365
+ geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
366
+ geometry: z.ZodObject<{
367
+ width: z.ZodInt;
368
+ height: z.ZodInt;
369
+ }, z.core.$strict>;
370
+ sampleAspectRatio: z.ZodEnum<{
371
+ "1:1": "1:1";
372
+ UNSPECIFIED: "UNSPECIFIED";
373
+ }>;
374
+ fieldOrder: z.ZodEnum<{
375
+ UNSPECIFIED: "UNSPECIFIED";
376
+ PROGRESSIVE: "PROGRESSIVE";
377
+ }>;
378
+ videoCodec: z.ZodLiteral<"h264">;
379
+ pixelFormat: z.ZodLiteral<"yuv420p">;
380
+ rotationDegrees: z.ZodLiteral<0>;
381
+ startPts: z.ZodLiteral<0>;
382
+ timeBase: z.ZodObject<{
383
+ numerator: z.ZodInt;
384
+ denominator: z.ZodInt;
385
+ }, z.core.$strict>;
386
+ frameRate: z.ZodObject<{
387
+ numerator: z.ZodInt;
388
+ denominator: z.ZodInt;
389
+ }, z.core.$strict>;
390
+ frameCount: z.ZodInt;
391
+ durationTicks: z.ZodInt;
392
+ availableCfr30Frames: z.ZodInt;
393
+ color: z.ZodObject<{
394
+ range: z.ZodEnum<{
395
+ unknown: "unknown";
396
+ tv: "tv";
397
+ }>;
398
+ space: z.ZodEnum<{
399
+ unknown: "unknown";
400
+ bt709: "bt709";
401
+ }>;
402
+ transfer: z.ZodEnum<{
403
+ unknown: "unknown";
404
+ bt709: "bt709";
405
+ }>;
406
+ primaries: z.ZodEnum<{
407
+ unknown: "unknown";
408
+ bt709: "bt709";
409
+ }>;
410
+ }, z.core.$strict>;
411
+ audio: z.ZodNullable<z.ZodObject<{
412
+ codec: z.ZodLiteral<"aac">;
413
+ sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
414
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
415
+ startPts: z.ZodInt;
416
+ timeBase: z.ZodObject<{
417
+ numerator: z.ZodInt;
418
+ denominator: z.ZodInt;
419
+ }, z.core.$strict>;
420
+ durationTicks: z.ZodInt;
421
+ }, z.core.$strict>>;
422
+ fullDecode: z.ZodLiteral<true>;
423
+ cfrTimestampsVerified: z.ZodLiteral<true>;
424
+ contentType: z.ZodLiteral<"video/mp4">;
425
+ checksumSha256: z.ZodString;
426
+ byteSize: z.ZodInt;
427
+ executionClass: z.ZodEnum<{
428
+ LIVE: "LIVE";
429
+ TEST_ONLY: "TEST_ONLY";
430
+ }>;
431
+ }, z.core.$strict>]>;
432
+ }, z.core.$strict>, z.ZodObject<{
433
+ kind: z.ZodLiteral<"AUDIO">;
434
+ checksumSha256: z.ZodString;
435
+ byteSize: z.ZodInt;
436
+ media: z.ZodObject<{
437
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
438
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
439
+ sampleRateHz: z.ZodLiteral<48000>;
440
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
441
+ sampleCount: z.ZodInt;
442
+ durationMs: z.ZodInt;
327
443
  }, z.core.$strict>;
328
444
  }, z.core.$strict>, z.ZodObject<{
329
445
  kind: z.ZodLiteral<"IMAGE">;
@@ -356,6 +472,7 @@ export declare const LocalLibraryInspectRecipeSchema: z.ZodObject<{
356
472
  }, z.core.$strict>;
357
473
  accessRevision: z.ZodInt;
358
474
  libraryProfileDigest: z.ZodString;
475
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
359
476
  }, z.core.$strict>;
360
477
  export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
361
478
  processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
@@ -382,11 +499,27 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
382
499
  accessRevision: z.ZodInt;
383
500
  libraryProfileDigest: z.ZodString;
384
501
  destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
502
+ kind: z.ZodLiteral<"AUDIO">;
503
+ command: z.ZodObject<{
504
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
505
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
506
+ purpose: z.ZodEnum<{
507
+ VOICEOVER: "VOICEOVER";
508
+ MUSIC: "MUSIC";
509
+ }>;
510
+ expectedProductionRevision: z.ZodInt;
511
+ expectedAudioVersion: z.ZodInt;
512
+ idempotencyKey: z.ZodString;
513
+ contentType: z.ZodLiteral<"audio/wav">;
514
+ originalName: z.ZodOptional<z.ZodString>;
515
+ }, z.core.$strict>;
516
+ }, z.core.$strict>, z.ZodObject<{
385
517
  kind: z.ZodLiteral<"ORIGINAL">;
386
518
  command: z.ZodDiscriminatedUnion<[z.ZodObject<{
387
519
  operation: z.ZodLiteral<"REGISTER">;
388
520
  input: z.ZodObject<{
389
521
  deviceId: z.ZodOptional<z.ZodUUID>;
522
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
390
523
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
391
524
  tenantId: z.ZodUUID;
392
525
  projectId: z.ZodUUID;
@@ -413,6 +546,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
413
546
  operation: z.ZodLiteral<"REVISE">;
414
547
  input: z.ZodObject<{
415
548
  deviceId: z.ZodOptional<z.ZodUUID>;
549
+ geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
416
550
  projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
417
551
  tenantId: z.ZodUUID;
418
552
  projectId: z.ZodUUID;
@@ -448,6 +582,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
448
582
  REFERENCE_VIDEO: "REFERENCE_VIDEO";
449
583
  PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
450
584
  }>;
585
+ videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
451
586
  contentType: z.ZodEnum<{
452
587
  "application/json": "application/json";
453
588
  "text/plain": "text/plain";
@@ -471,14 +606,17 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
471
606
  versionId: z.ZodUUID;
472
607
  byteSize: z.ZodInt;
473
608
  checksumSha256: z.ZodString;
474
- role: z.ZodLiteral<"SOURCE">;
609
+ role: z.ZodEnum<{
610
+ AUDIO: "AUDIO";
611
+ SOURCE: "SOURCE";
612
+ }>;
475
613
  }, z.core.$strict>;
476
614
  }, z.core.$strict>;
477
615
  export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
478
616
  processor: z.ZodLiteral<"LOCAL_MEDIA_INSPECT">;
479
617
  inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
480
618
  kind: z.ZodLiteral<"VIDEO">;
481
- metadata: z.ZodObject<{
619
+ metadata: z.ZodUnion<readonly [z.ZodObject<{
482
620
  geometry: z.ZodObject<{
483
621
  width: z.ZodInt;
484
622
  height: z.ZodInt;
@@ -537,6 +675,85 @@ export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
537
675
  LIVE: "LIVE";
538
676
  TEST_ONLY: "TEST_ONLY";
539
677
  }>;
678
+ }, z.core.$strict>, z.ZodObject<{
679
+ geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
680
+ geometry: z.ZodObject<{
681
+ width: z.ZodInt;
682
+ height: z.ZodInt;
683
+ }, z.core.$strict>;
684
+ sampleAspectRatio: z.ZodEnum<{
685
+ "1:1": "1:1";
686
+ UNSPECIFIED: "UNSPECIFIED";
687
+ }>;
688
+ fieldOrder: z.ZodEnum<{
689
+ UNSPECIFIED: "UNSPECIFIED";
690
+ PROGRESSIVE: "PROGRESSIVE";
691
+ }>;
692
+ videoCodec: z.ZodLiteral<"h264">;
693
+ pixelFormat: z.ZodLiteral<"yuv420p">;
694
+ rotationDegrees: z.ZodLiteral<0>;
695
+ startPts: z.ZodLiteral<0>;
696
+ timeBase: z.ZodObject<{
697
+ numerator: z.ZodInt;
698
+ denominator: z.ZodInt;
699
+ }, z.core.$strict>;
700
+ frameRate: z.ZodObject<{
701
+ numerator: z.ZodInt;
702
+ denominator: z.ZodInt;
703
+ }, z.core.$strict>;
704
+ frameCount: z.ZodInt;
705
+ durationTicks: z.ZodInt;
706
+ availableCfr30Frames: z.ZodInt;
707
+ color: z.ZodObject<{
708
+ range: z.ZodEnum<{
709
+ unknown: "unknown";
710
+ tv: "tv";
711
+ }>;
712
+ space: z.ZodEnum<{
713
+ unknown: "unknown";
714
+ bt709: "bt709";
715
+ }>;
716
+ transfer: z.ZodEnum<{
717
+ unknown: "unknown";
718
+ bt709: "bt709";
719
+ }>;
720
+ primaries: z.ZodEnum<{
721
+ unknown: "unknown";
722
+ bt709: "bt709";
723
+ }>;
724
+ }, z.core.$strict>;
725
+ audio: z.ZodNullable<z.ZodObject<{
726
+ codec: z.ZodLiteral<"aac">;
727
+ sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
728
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
729
+ startPts: z.ZodInt;
730
+ timeBase: z.ZodObject<{
731
+ numerator: z.ZodInt;
732
+ denominator: z.ZodInt;
733
+ }, z.core.$strict>;
734
+ durationTicks: z.ZodInt;
735
+ }, z.core.$strict>>;
736
+ fullDecode: z.ZodLiteral<true>;
737
+ cfrTimestampsVerified: z.ZodLiteral<true>;
738
+ contentType: z.ZodLiteral<"video/mp4">;
739
+ checksumSha256: z.ZodString;
740
+ byteSize: z.ZodInt;
741
+ executionClass: z.ZodEnum<{
742
+ LIVE: "LIVE";
743
+ TEST_ONLY: "TEST_ONLY";
744
+ }>;
745
+ }, z.core.$strict>]>;
746
+ }, z.core.$strict>, z.ZodObject<{
747
+ kind: z.ZodLiteral<"AUDIO">;
748
+ checksumSha256: z.ZodString;
749
+ byteSize: z.ZodInt;
750
+ media: z.ZodObject<{
751
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
752
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
753
+ sampleRateHz: z.ZodLiteral<48000>;
754
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
755
+ sampleCount: z.ZodInt;
756
+ durationMs: z.ZodInt;
540
757
  }, z.core.$strict>;
541
758
  }, z.core.$strict>, z.ZodObject<{
542
759
  kind: z.ZodLiteral<"IMAGE">;
@@ -550,7 +767,7 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
550
767
  processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
551
768
  inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
552
769
  kind: z.ZodLiteral<"VIDEO">;
553
- metadata: z.ZodObject<{
770
+ metadata: z.ZodUnion<readonly [z.ZodObject<{
554
771
  geometry: z.ZodObject<{
555
772
  width: z.ZodInt;
556
773
  height: z.ZodInt;
@@ -609,6 +826,85 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
609
826
  LIVE: "LIVE";
610
827
  TEST_ONLY: "TEST_ONLY";
611
828
  }>;
829
+ }, z.core.$strict>, z.ZodObject<{
830
+ geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
831
+ geometry: z.ZodObject<{
832
+ width: z.ZodInt;
833
+ height: z.ZodInt;
834
+ }, z.core.$strict>;
835
+ sampleAspectRatio: z.ZodEnum<{
836
+ "1:1": "1:1";
837
+ UNSPECIFIED: "UNSPECIFIED";
838
+ }>;
839
+ fieldOrder: z.ZodEnum<{
840
+ UNSPECIFIED: "UNSPECIFIED";
841
+ PROGRESSIVE: "PROGRESSIVE";
842
+ }>;
843
+ videoCodec: z.ZodLiteral<"h264">;
844
+ pixelFormat: z.ZodLiteral<"yuv420p">;
845
+ rotationDegrees: z.ZodLiteral<0>;
846
+ startPts: z.ZodLiteral<0>;
847
+ timeBase: z.ZodObject<{
848
+ numerator: z.ZodInt;
849
+ denominator: z.ZodInt;
850
+ }, z.core.$strict>;
851
+ frameRate: z.ZodObject<{
852
+ numerator: z.ZodInt;
853
+ denominator: z.ZodInt;
854
+ }, z.core.$strict>;
855
+ frameCount: z.ZodInt;
856
+ durationTicks: z.ZodInt;
857
+ availableCfr30Frames: z.ZodInt;
858
+ color: z.ZodObject<{
859
+ range: z.ZodEnum<{
860
+ unknown: "unknown";
861
+ tv: "tv";
862
+ }>;
863
+ space: z.ZodEnum<{
864
+ unknown: "unknown";
865
+ bt709: "bt709";
866
+ }>;
867
+ transfer: z.ZodEnum<{
868
+ unknown: "unknown";
869
+ bt709: "bt709";
870
+ }>;
871
+ primaries: z.ZodEnum<{
872
+ unknown: "unknown";
873
+ bt709: "bt709";
874
+ }>;
875
+ }, z.core.$strict>;
876
+ audio: z.ZodNullable<z.ZodObject<{
877
+ codec: z.ZodLiteral<"aac">;
878
+ sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
879
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
880
+ startPts: z.ZodInt;
881
+ timeBase: z.ZodObject<{
882
+ numerator: z.ZodInt;
883
+ denominator: z.ZodInt;
884
+ }, z.core.$strict>;
885
+ durationTicks: z.ZodInt;
886
+ }, z.core.$strict>>;
887
+ fullDecode: z.ZodLiteral<true>;
888
+ cfrTimestampsVerified: z.ZodLiteral<true>;
889
+ contentType: z.ZodLiteral<"video/mp4">;
890
+ checksumSha256: z.ZodString;
891
+ byteSize: z.ZodInt;
892
+ executionClass: z.ZodEnum<{
893
+ LIVE: "LIVE";
894
+ TEST_ONLY: "TEST_ONLY";
895
+ }>;
896
+ }, z.core.$strict>]>;
897
+ }, z.core.$strict>, z.ZodObject<{
898
+ kind: z.ZodLiteral<"AUDIO">;
899
+ checksumSha256: z.ZodString;
900
+ byteSize: z.ZodInt;
901
+ media: z.ZodObject<{
902
+ profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
903
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
904
+ sampleRateHz: z.ZodLiteral<48000>;
905
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
906
+ sampleCount: z.ZodInt;
907
+ durationMs: z.ZodInt;
612
908
  }, z.core.$strict>;
613
909
  }, z.core.$strict>, z.ZodObject<{
614
910
  kind: z.ZodLiteral<"IMAGE">;
@@ -618,3 +914,5 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
618
914
  height: z.ZodInt;
619
915
  }, z.core.$strict>], "kind">;
620
916
  }, z.core.$strict>;
917
+ /** 检查或发布都从原请求读取几何档,发布时只继承准确目标,不能自行猜测。 */
918
+ export declare function localLibraryVideoGeometry(recipe: Pick<z.infer<typeof LocalLibraryInspectRecipeSchema>, "processor" | "geometryProfile"> | Pick<z.infer<typeof LocalLibraryPublishRecipeSchema>, "processor" | "destination">): "IMPORTED_H264_SDR_CFR30_PRESERVE_V2" | undefined;