@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.11

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 (185) hide show
  1. package/COMPATIBILITY.json +33 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +29 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  8. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  9. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  10. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  11. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  12. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  15. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  16. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  17. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  18. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  19. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  20. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  21. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  22. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  23. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  24. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  25. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  26. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  27. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  28. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  29. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  30. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  31. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  32. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  33. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  34. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  35. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  36. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  37. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  38. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  39. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  40. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  41. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  42. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  43. package/dist/_chunks/src-R6DNU336.js +1 -0
  44. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
  45. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  46. package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
  47. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  48. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  49. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  50. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  51. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  52. package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
  53. package/dist/_types/cli/local/ledger.d.ts +64 -10
  54. package/dist/_types/cli/local/manager.d.ts +1146 -43
  55. package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
  56. package/dist/_types/cli/local/releases.d.ts +28 -5
  57. package/dist/_types/cli/local-management.d.ts +5 -0
  58. package/dist/_types/cli/local-navigation.d.ts +1 -0
  59. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  60. package/dist/_types/contracts/audio.d.ts +4 -0
  61. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  62. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  63. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  64. package/dist/_types/contracts/composition-render.d.ts +8 -8
  65. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  66. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  67. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  68. package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
  69. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  70. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  71. package/dist/_types/contracts/device-render.d.ts +77 -0
  72. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  73. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  74. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  75. package/dist/_types/contracts/final-ready.d.ts +22 -22
  76. package/dist/_types/contracts/final-render.d.ts +1569 -6940
  77. package/dist/_types/contracts/human-identity.d.ts +13 -0
  78. package/dist/_types/contracts/index.d.ts +4 -0
  79. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  80. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  81. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  82. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  83. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  84. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  85. package/dist/_types/contracts/local-execution/agent-review.d.ts +496 -64
  86. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  87. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  88. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  89. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  90. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  91. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  92. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  93. package/dist/_types/contracts/local-execution/device.d.ts +19 -51
  94. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  95. package/dist/_types/contracts/local-execution/index.d.ts +26 -0
  96. package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
  97. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  98. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  99. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  100. package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
  101. package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
  102. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  103. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  104. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  105. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  106. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  107. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  108. package/dist/_types/contracts/local-execution/preview.d.ts +144 -3564
  109. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  110. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  111. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  112. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  113. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  114. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  115. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  116. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  117. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  118. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  119. package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
  120. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  121. package/dist/_types/contracts/media-category.d.ts +11 -0
  122. package/dist/_types/contracts/media-observation.d.ts +929 -8
  123. package/dist/_types/contracts/navigation.d.ts +25 -15
  124. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  125. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  126. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  127. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  128. package/dist/_types/contracts/provider-models.d.ts +16 -8
  129. package/dist/_types/contracts/provider.d.ts +66 -1
  130. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  131. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  132. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  133. package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
  134. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
  135. package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
  136. package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
  137. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  138. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
  139. package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
  140. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  141. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  142. package/dist/_types/contracts/speech.d.ts +149 -0
  143. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  145. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  146. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  147. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  148. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  149. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  150. package/dist/_types/contracts/timeline.d.ts +50 -4850
  151. package/dist/_types/contracts/transcription.d.ts +1 -1
  152. package/dist/_types/contracts/video-generation.d.ts +33 -0
  153. package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
  154. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  155. package/dist/_types/contracts/workspace.d.ts +32 -0
  156. package/dist/_types/sdk/errors.d.ts +8 -3
  157. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  158. package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
  159. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  160. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  161. package/dist/_types/sdk/local-runtime-client.d.ts +1773 -89
  162. package/dist/entry.js +1 -1
  163. package/dist/local-management.js +1 -1
  164. package/dist/local-navigation.js +1 -1
  165. package/dist/native/JobNative.cs +10 -0
  166. package/dist/native/JobRunner.cs +24 -3
  167. package/dist/native/NativeMain.cs +15 -0
  168. package/package.json +2 -8
  169. package/README.md +0 -78
  170. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  171. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  172. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  173. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  174. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  175. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  176. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  177. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  178. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  179. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  180. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  181. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  182. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  183. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  184. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  185. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -36,6 +36,7 @@ export declare const HumanResetSchema: z.ZodObject<{
36
36
  export declare const HumanLoginSchema: z.ZodObject<{
37
37
  email: z.ZodPipe<z.ZodString, z.ZodEmail>;
38
38
  password: z.ZodString;
39
+ rememberMe: z.ZodOptional<z.ZodBoolean>;
39
40
  }, z.core.$strict>;
40
41
  export declare const HumanTenantSchema: z.ZodObject<{
41
42
  id: z.ZodUUID;
@@ -55,6 +56,7 @@ export declare const HumanDesktopSessionSchema: z.ZodObject<{
55
56
  tenantId: z.ZodUUID;
56
57
  scopeKey: z.ZodString;
57
58
  expiresAt: z.ZodInt;
59
+ sessionExpiresAt: z.ZodOptional<z.ZodInt>;
58
60
  rememberMe: z.ZodBoolean;
59
61
  account: z.ZodObject<{
60
62
  email: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodEmail>>;
@@ -62,6 +64,14 @@ export declare const HumanDesktopSessionSchema: z.ZodObject<{
62
64
  displayName: z.ZodString;
63
65
  }, z.core.$strict>;
64
66
  }, z.core.$strict>;
67
+ /** 刷新凭据与普通 bearer 使用独立前缀,且只在持久会话响应出现。 */
68
+ export declare const HumanRefreshTokenSchema: z.ZodString;
69
+ export declare const HumanRefreshSchema: z.ZodObject<{
70
+ refreshToken: z.ZodString;
71
+ }, z.core.$strict>;
72
+ export declare const HumanRevokeSessionSchema: z.ZodObject<{
73
+ refreshToken: z.ZodString;
74
+ }, z.core.$strict>;
65
75
  export declare const HumanSessionSchema: z.ZodObject<{
66
76
  accessToken: z.ZodString;
67
77
  expiresAt: z.ZodISODateTime;
@@ -74,6 +84,9 @@ export declare const HumanSessionSchema: z.ZodObject<{
74
84
  displayName: z.ZodString;
75
85
  }, z.core.$strict>>;
76
86
  }, z.core.$strict>;
87
+ refreshToken: z.ZodOptional<z.ZodString>;
88
+ sessionId: z.ZodOptional<z.ZodUUID>;
89
+ sessionExpiresAt: z.ZodOptional<z.ZodISODateTime>;
77
90
  }, z.core.$strict>;
78
91
  export declare const HumanIdentityAvailabilitySchema: z.ZodObject<{
79
92
  passwordLogin: z.ZodBoolean;
@@ -11,6 +11,7 @@ export * from "./principal.js";
11
11
  export * from "./production.js";
12
12
  export * from "./project.js";
13
13
  export * from "./project-library.js";
14
+ export * from "./media-category.js";
14
15
  export * from "./tenant.js";
15
16
  export { contractsFoundation } from "./foundation.js";
16
17
  export * from "./shot-preparation-basis.js";
@@ -29,6 +30,7 @@ export * from "./timeline.js";
29
30
  export * from "./clip-framing.js";
30
31
  export * from "./clip-transition.js";
31
32
  export * from "./timeline-graphics.js";
33
+ export * from "./device-render.js";
32
34
  export * from "./rough-cut.js";
33
35
  export * from "./writer-proposal.js";
34
36
  export * from "./rough-cut-review.js";
@@ -104,6 +106,7 @@ export * from "./delivery-output-profile.js";
104
106
  export * from "./media-export.js";
105
107
  export * from "./artifact-discovery.js";
106
108
  export * from "./speech.js";
109
+ export * from "./speech-cost.js";
107
110
  export * from "./provider-models.js";
108
111
  export * from "./timeline-source-sound.js";
109
112
  export * from "./listening-evidence.js";
@@ -111,6 +114,7 @@ export * from "./media-observation.js";
111
114
  export * from "./observation-profile.js";
112
115
  export * from "./human-identity.js";
113
116
  export * from "./external-agent-access.js";
117
+ export * from "./workspace.js";
114
118
  export * from "./transcription.js";
115
119
  export * from "./matrix-parameter-rule.js";
116
120
  export * from "./caption-transcript.js";
@@ -26,6 +26,34 @@ export declare const InterfaceDownloadDescriptorSchema: z.ZodObject<{
26
26
  checksumSha256: z.ZodString;
27
27
  byteSize: z.ZodInt;
28
28
  }, z.core.$strict>;
29
+ export declare const tenantMediaDownloadPath = "/v1/local-execution/tenant-media/download";
30
+ export declare const InterfaceDeliveryDownloadDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31
+ method: z.ZodLiteral<"GET">;
32
+ path: z.ZodString;
33
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
34
+ authentication: z.ZodLiteral<"BEARER_AND_TENANT_HEADER">;
35
+ contentType: z.ZodEnum<{
36
+ "application/json": "application/json";
37
+ "image/png": "image/png";
38
+ "video/mp4": "video/mp4";
39
+ }>;
40
+ checksumSha256: z.ZodString;
41
+ byteSize: z.ZodInt;
42
+ }, z.core.$strict>, z.ZodObject<{
43
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
44
+ authentication: z.ZodLiteral<"BEARER_AND_TENANT_HEADER">;
45
+ checksumSha256: z.ZodString;
46
+ byteSize: z.ZodInt;
47
+ method: z.ZodLiteral<"POST">;
48
+ path: z.ZodLiteral<"/v1/local-execution/tenant-media/download">;
49
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
50
+ contentType: z.ZodLiteral<"video/mp4">;
51
+ body: z.ZodObject<{
52
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
53
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
54
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
55
+ }, z.core.$strict>;
56
+ }, z.core.$strict>], "method">;
29
57
  export declare const SourceReadResultSchema: z.ZodUnion<readonly [z.ZodObject<{
30
58
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
31
59
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { ProductionIdSchema, TenantIdSchema } from "../ids.js";
2
3
  export declare const ProductionBlockerSchema: z.ZodObject<{
3
4
  code: z.ZodString;
4
5
  summary: z.ZodString;
@@ -157,9 +158,9 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
157
158
  roughCut: z.ZodObject<{
158
159
  latestVersion: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
159
160
  reviewState: z.ZodNonOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
161
+ UNREVIEWED: "UNREVIEWED";
160
162
  PASS: "PASS";
161
163
  WARNING: "WARNING";
162
- UNREVIEWED: "UNREVIEWED";
163
164
  FAIL: "FAIL";
164
165
  }>>>>;
165
166
  latestRenderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -199,8 +200,8 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
199
200
  warnings: z.ZodInt;
200
201
  }, z.core.$strict>;
201
202
  finalReady: z.ZodObject<{
202
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
203
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
203
+ tenantId: typeof TenantIdSchema;
204
+ productionId: typeof ProductionIdSchema;
204
205
  version: z.ZodInt;
205
206
  status: z.ZodEnum<{
206
207
  NONE: "NONE";
@@ -208,8 +209,8 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
208
209
  STALE: "STALE";
209
210
  }>;
210
211
  selection: z.ZodNullable<z.ZodObject<{
211
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
212
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
212
+ tenantId: typeof TenantIdSchema;
213
+ productionId: typeof ProductionIdSchema;
213
214
  id: z.ZodUUID;
214
215
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
215
216
  version: z.ZodInt;
@@ -245,8 +246,8 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
245
246
  staleReasons: z.ZodArray<z.ZodString>;
246
247
  }, z.core.$strict>;
247
248
  latestDecision: z.ZodNullable<z.ZodObject<{
248
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
249
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
249
+ tenantId: typeof TenantIdSchema;
250
+ productionId: typeof ProductionIdSchema;
250
251
  id: z.ZodUUID;
251
252
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
252
253
  version: z.ZodInt;
@@ -282,8 +283,8 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
282
283
  }, z.core.$strict>>;
283
284
  final: z.ZodObject<{
284
285
  ready: z.ZodOptional<z.ZodObject<{
285
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
286
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
286
+ tenantId: typeof TenantIdSchema;
287
+ productionId: typeof ProductionIdSchema;
287
288
  version: z.ZodInt;
288
289
  status: z.ZodEnum<{
289
290
  NONE: "NONE";
@@ -291,8 +292,8 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
291
292
  STALE: "STALE";
292
293
  }>;
293
294
  selection: z.ZodNullable<z.ZodObject<{
294
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
295
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
295
+ tenantId: typeof TenantIdSchema;
296
+ productionId: typeof ProductionIdSchema;
296
297
  id: z.ZodUUID;
297
298
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
298
299
  version: z.ZodInt;
@@ -342,192 +343,13 @@ export declare const ProductionSnapshotSchema: z.ZodObject<{
342
343
  currentRenderId: z.ZodNullable<z.ZodUUID>;
343
344
  currentArtifactId: z.ZodNullable<z.ZodUUID>;
344
345
  stale: z.ZodBoolean;
345
- eligibility: z.ZodObject<{
346
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
347
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
348
- productionRevision: z.ZodInt;
349
- finalReady: z.ZodObject<{
350
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
351
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
352
- version: z.ZodInt;
353
- status: z.ZodEnum<{
354
- NONE: "NONE";
355
- CURRENT: "CURRENT";
356
- STALE: "STALE";
357
- }>;
358
- selection: z.ZodNullable<z.ZodObject<{
359
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
360
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
361
- id: z.ZodUUID;
362
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
363
- version: z.ZodInt;
364
- action: z.ZodEnum<{
365
- REJECT: "REJECT";
366
- REVOKE: "REVOKE";
367
- SELECT: "SELECT";
368
- }>;
369
- renderId: z.ZodUUID;
370
- reviewId: z.ZodUUID;
371
- basisFingerprint: z.ZodString;
372
- timelineVersionId: z.ZodUUID;
373
- timelineFingerprint: z.ZodString;
374
- artifactId: z.ZodUUID;
375
- representationId: z.ZodUUID;
376
- checksumSha256: z.ZodString;
377
- outputProfile: z.ZodEnum<{
378
- MP4_H264_1080P: "MP4_H264_1080P";
379
- MP4_H264_720P: "MP4_H264_720P";
380
- MP4_H264_480P: "MP4_H264_480P";
381
- }>;
382
- executionClass: z.ZodEnum<{
383
- LIVE: "LIVE";
384
- TEST_ONLY: "TEST_ONLY";
385
- }>;
386
- previousSelectionId: z.ZodNullable<z.ZodUUID>;
387
- acknowledgeWarnings: z.ZodBoolean;
388
- warningKeys: z.ZodArray<z.ZodString>;
389
- reason: z.ZodString;
390
- createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
391
- createdAt: z.ZodISODateTime;
392
- }, z.core.$strict>>;
393
- staleReasons: z.ZodArray<z.ZodString>;
394
- }, z.core.$strict>;
395
- profile: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
396
- id: z.ZodEnum<{
397
- FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
398
- FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
399
- FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
400
- }>;
401
- algorithm: z.ZodEnum<{
402
- ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
403
- ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
404
- }>;
405
- picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
406
- width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
407
- height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
408
- frameRate: z.ZodLiteral<30>;
409
- codec: z.ZodLiteral<"h264">;
410
- pixelFormat: z.ZodLiteral<"yuv420p">;
411
- fit: z.ZodLiteral<"PAD">;
412
- hasAudio: z.ZodBoolean;
413
- audioMix: z.ZodOptional<z.ZodObject<{
414
- id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
415
- sampleRateHz: z.ZodLiteral<48000>;
416
- audioChannels: z.ZodLiteral<2>;
417
- audioCodec: z.ZodLiteral<"aac">;
418
- bitrate: z.ZodLiteral<192000>;
419
- peakPermille: z.ZodLiteral<950>;
420
- duckingMusicPermille: z.ZodInt;
421
- }, z.core.$strict>>;
422
- framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
423
- encoder: z.ZodLiteral<"libx264">;
424
- crf: z.ZodLiteral<18>;
425
- preset: z.ZodLiteral<"veryfast">;
426
- gopFrames: z.ZodLiteral<30>;
427
- bFrames: z.ZodLiteral<0>;
428
- audioPolicy: z.ZodEnum<{
429
- SILENT: "SILENT";
430
- MIXED: "MIXED";
431
- }>;
432
- captionPolicy: z.ZodEnum<{
433
- NONE: "NONE";
434
- BURN_IN: "BURN_IN";
435
- }>;
436
- sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
437
- captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
438
- id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
439
- fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
440
- framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
441
- }, z.core.$strict>, z.ZodObject<{
442
- id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
443
- fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
444
- framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
445
- }, z.core.$strict>], "id">>;
446
- graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
447
- }, z.core.$strict>, z.ZodObject<{
448
- id: z.ZodEnum<{
449
- FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
450
- FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
451
- FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
452
- }>;
453
- algorithm: z.ZodEnum<{
454
- ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
455
- ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
456
- }>;
457
- picturePolicy: z.ZodOptional<z.ZodLiteral<"CROP_PAD_V1">>;
458
- width: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
459
- height: z.ZodUnion<readonly [z.ZodLiteral<1280>, z.ZodLiteral<720>, z.ZodLiteral<1920>, z.ZodLiteral<1080>, z.ZodLiteral<854>, z.ZodLiteral<480>]>;
460
- frameRate: z.ZodLiteral<30>;
461
- codec: z.ZodLiteral<"h264">;
462
- pixelFormat: z.ZodLiteral<"yuv420p">;
463
- fit: z.ZodLiteral<"PAD">;
464
- hasAudio: z.ZodBoolean;
465
- audioMix: z.ZodOptional<z.ZodObject<{
466
- id: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
467
- sampleRateHz: z.ZodLiteral<48000>;
468
- audioChannels: z.ZodLiteral<2>;
469
- audioCodec: z.ZodLiteral<"aac">;
470
- bitrate: z.ZodLiteral<192000>;
471
- peakPermille: z.ZodLiteral<950>;
472
- duckingMusicPermille: z.ZodInt;
473
- }, z.core.$strict>>;
474
- framePolicy: z.ZodLiteral<"CUMULATIVE_NEAREST_FRAME">;
475
- encoder: z.ZodLiteral<"libx264">;
476
- crf: z.ZodLiteral<18>;
477
- preset: z.ZodLiteral<"veryfast">;
478
- gopFrames: z.ZodLiteral<30>;
479
- bFrames: z.ZodLiteral<0>;
480
- audioPolicy: z.ZodEnum<{
481
- SILENT: "SILENT";
482
- MIXED: "MIXED";
483
- }>;
484
- captionPolicy: z.ZodEnum<{
485
- NONE: "NONE";
486
- BURN_IN: "BURN_IN";
487
- }>;
488
- sourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
489
- captionStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
490
- id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
491
- fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
492
- framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
493
- }, z.core.$strict>, z.ZodObject<{
494
- id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
495
- fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
496
- framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
497
- }, z.core.$strict>], "id">>;
498
- graphicsPolicy: z.ZodOptional<z.ZodLiteral<"OVERLAY_V1">>;
499
- visualLayerPolicy: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
500
- visualLayerSourceQualityPolicy: z.ZodLiteral<"NO_UPSCALE_V1">;
501
- }, z.core.$strict>]>>;
502
- renderable: z.ZodBoolean;
503
- blockers: z.ZodArray<z.ZodString>;
504
- sourceBlockers: z.ZodArray<z.ZodObject<{
505
- code: z.ZodEnum<{
506
- SOURCE_RESOLUTION_INSUFFICIENT: "SOURCE_RESOLUTION_INSUFFICIENT";
507
- SOURCE_MEDIA_UNSUPPORTED: "SOURCE_MEDIA_UNSUPPORTED";
508
- }>;
509
- shotId: z.ZodUUID;
510
- ordinal: z.ZodInt;
511
- actualWidth: z.ZodInt;
512
- actualHeight: z.ZodInt;
513
- requiredWidth: z.ZodInt;
514
- requiredHeight: z.ZodInt;
515
- }, z.core.$strict>>;
516
- supportedAudioPolicy: z.ZodEnum<{
517
- SILENT: "SILENT";
518
- MIXED: "MIXED";
519
- }>;
520
- supportedCaptionPolicy: z.ZodEnum<{
521
- NONE: "NONE";
522
- BURN_IN: "BURN_IN";
523
- }>;
524
- }, z.core.$strict>;
346
+ eligibility: typeof import("../final-render.js").FinalRenderEligibilitySchema;
525
347
  }, z.core.$strict>>;
526
348
  renderState: z.ZodNullable<z.ZodString>;
527
349
  delivery: z.ZodOptional<z.ZodObject<{
528
350
  policy: z.ZodNullable<z.ZodObject<{
529
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
530
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
351
+ tenantId: typeof TenantIdSchema;
352
+ productionId: typeof ProductionIdSchema;
531
353
  id: z.ZodUUID;
532
354
  projectId: z.ZodUUID;
533
355
  version: z.ZodInt;
@@ -46,6 +46,35 @@ export declare const KeyframeStartInputSchema: z.ZodObject<{
46
46
  contractFingerprint: z.ZodString;
47
47
  idempotencyKey: z.ZodString;
48
48
  }, z.core.$strict>;
49
+ /** 设备生成必须显式指定项目设备及已经确认的整单报价。 */
50
+ export declare const KeyframeDeviceStartInputSchema: z.ZodObject<{
51
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
52
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
53
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
54
+ contractFingerprint: z.ZodString;
55
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
56
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
57
+ idempotencyKey: z.ZodString;
58
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
59
+ deviceId: z.ZodUUID;
60
+ approvedQuote: z.ZodObject<{
61
+ currency: z.ZodLiteral<"USD">;
62
+ upperBoundMicros: z.ZodInt;
63
+ selection: z.ZodObject<{
64
+ connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
65
+ modelProfileId: z.ZodString;
66
+ }, z.core.$strict>;
67
+ expectedExecution: z.ZodObject<{
68
+ connectionVersion: z.ZodInt;
69
+ modelProfileVersion: z.ZodInt;
70
+ quoteValidUntil: z.ZodISODateTime;
71
+ }, z.core.$strict>;
72
+ sourceUrl: z.ZodURL;
73
+ ruleIds: z.ZodArray<z.ZodString>;
74
+ preparationId: z.ZodUUID;
75
+ contractFingerprint: z.ZodString;
76
+ }, z.core.$strict>;
77
+ }, z.core.$strict>;
49
78
  export declare const KeyframeGetInputSchema: z.ZodObject<{
50
79
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
51
80
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;