@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.20

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 (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-3Q24IPBK.js +1 -0
  4. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  5. package/dist/_chunks/chunk-D3KLEDOI.js +1 -0
  6. package/dist/_chunks/chunk-GJULDJSV.js +1 -0
  7. package/dist/_chunks/chunk-O6YL4JVI.js +1 -0
  8. package/dist/_chunks/chunk-OHONXDFL.js +1 -0
  9. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  10. package/dist/_chunks/chunk-S64F3WZK.js +1 -0
  11. package/dist/_chunks/chunk-SXZY76XB.js +1 -0
  12. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VI7HPZJC.js +1 -0
  15. package/dist/_chunks/chunk-XNROPEWC.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  63. package/dist/_types/contracts/interface/query.d.ts +60 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +28 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +78 -25
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +528 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +3981 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +440 -14
  205. package/dist/_types/sdk/catalog/mcp.d.ts +112 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +293 -24
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +58 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +88 -14
  254. package/dist/_types/sdk/observe.d.ts +13 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -0,0 +1,407 @@
1
+ import { z } from "zod";
2
+ /** 持久保存精确成员指令;回执查询不重发写入,也不接受项目设备授予。 */
3
+ export declare const LocalManagementCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ kind: z.ZodLiteral<"ENROLL">;
5
+ input: z.ZodObject<{
6
+ tenantId: z.ZodUUID;
7
+ requestId: z.ZodUUID;
8
+ expectedPrincipalId: z.ZodOptional<z.ZodUUID>;
9
+ label: z.ZodString;
10
+ platform: z.ZodObject<{
11
+ os: z.ZodEnum<{
12
+ darwin: "darwin";
13
+ linux: "linux";
14
+ win32: "win32";
15
+ }>;
16
+ architecture: z.ZodEnum<{
17
+ arm64: "arm64";
18
+ x64: "x64";
19
+ }>;
20
+ }, z.core.$strict>;
21
+ runtimeVersion: z.ZodString;
22
+ publicKey: z.ZodObject<{
23
+ kty: z.ZodLiteral<"EC">;
24
+ crv: z.ZodLiteral<"P-256">;
25
+ x: z.ZodString;
26
+ y: z.ZodString;
27
+ }, z.core.$strict>;
28
+ }, z.core.$strict>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ kind: z.ZodLiteral<"REVOKE_DEVICE">;
31
+ input: z.ZodObject<{
32
+ tenantId: z.ZodUUID;
33
+ deviceId: z.ZodUUID;
34
+ requestId: z.ZodUUID;
35
+ expectedRevision: z.ZodInt;
36
+ }, z.core.$strict>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ kind: z.ZodLiteral<"PREVIEW">;
39
+ input: z.ZodObject<{
40
+ tenantId: typeof import("../ids.js").TenantIdSchema;
41
+ productionId: typeof import("../ids.js").ProductionIdSchema;
42
+ idempotencyKey: z.ZodString;
43
+ expectedProductionRevision: z.ZodInt;
44
+ timelineVersionId: z.ZodUUID;
45
+ profileId: typeof import("../rough-cut-profile.js").RoughCutProfileIdSchema;
46
+ timelineFingerprint: z.ZodString;
47
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
48
+ mode: z.ZodLiteral<"local-only">;
49
+ deviceId: z.ZodUUID;
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ mode: z.ZodLiteral<"local-preferred">;
52
+ deviceId: z.ZodUUID;
53
+ }, z.core.$strict>, z.ZodObject<{
54
+ mode: z.ZodLiteral<"cloud-only">;
55
+ }, z.core.$strict>], "mode">;
56
+ localProfile: z.ZodOptional<z.ZodLiteral<"STUDIO_MEDIA_V2">>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ kind: z.ZodLiteral<"FINAL_RENDER">;
60
+ input: z.ZodObject<{
61
+ tenantId: typeof import("../ids.js").TenantIdSchema;
62
+ productionId: typeof import("../ids.js").ProductionIdSchema;
63
+ idempotencyKey: z.ZodString;
64
+ expectedProductionRevision: z.ZodInt;
65
+ timelineVersionId: z.ZodUUID;
66
+ profileId: typeof import("../final-render-profile.js").FinalRenderProfileIdSchema;
67
+ timelineFingerprint: z.ZodString;
68
+ selectionId: z.ZodUUID;
69
+ audioPolicy: z.ZodEnum<{
70
+ SILENT: "SILENT";
71
+ MIXED: "MIXED";
72
+ }>;
73
+ captionPolicy: z.ZodEnum<{
74
+ NONE: "NONE";
75
+ BURN_IN: "BURN_IN";
76
+ }>;
77
+ expectedFinalReadyVersion: z.ZodInt;
78
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
79
+ mode: z.ZodLiteral<"local-only">;
80
+ deviceId: z.ZodUUID;
81
+ }, z.core.$strict>, z.ZodObject<{
82
+ mode: z.ZodLiteral<"local-preferred">;
83
+ deviceId: z.ZodUUID;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ mode: z.ZodLiteral<"cloud-only">;
86
+ }, z.core.$strict>], "mode">;
87
+ }, z.core.$strict>;
88
+ }, z.core.$strict>], "kind">;
89
+ export declare const LocalManagementResultSchema: z.ZodUnion<readonly [z.ZodObject<{
90
+ tenantId: z.ZodUUID;
91
+ publicKey: z.ZodObject<{
92
+ kty: z.ZodLiteral<"EC">;
93
+ crv: z.ZodLiteral<"P-256">;
94
+ x: z.ZodString;
95
+ y: z.ZodString;
96
+ }, z.core.$strict>;
97
+ runtimeVersion: z.ZodString;
98
+ label: z.ZodString;
99
+ platform: z.ZodObject<{
100
+ os: z.ZodEnum<{
101
+ darwin: "darwin";
102
+ linux: "linux";
103
+ win32: "win32";
104
+ }>;
105
+ architecture: z.ZodEnum<{
106
+ arm64: "arm64";
107
+ x64: "x64";
108
+ }>;
109
+ }, z.core.$strict>;
110
+ deviceId: z.ZodUUID;
111
+ revision: z.ZodInt;
112
+ enrolledByPrincipalId: z.ZodUUID;
113
+ createdAt: z.ZodISODateTime;
114
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
115
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ humanLinks: z.ZodOptional<typeof import("../human-links.js").HumanLinksSchema>;
118
+ deviceExecution: z.ZodOptional<typeof import("../device-render.js").DeviceRenderReceiptSchema>;
119
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
120
+ renderId: z.ZodUUID;
121
+ operationId: typeof import("../ids.js").OperationIdSchema;
122
+ productionId: z.ZodUUID;
123
+ timelineVersionId: z.ZodUUID;
124
+ timelineFingerprint: z.ZodString;
125
+ executionClass: z.ZodEnum<{
126
+ LIVE: "LIVE";
127
+ TEST_ONLY: "TEST_ONLY";
128
+ }>;
129
+ manifestFingerprint: z.ZodString;
130
+ productionRevision: z.ZodInt;
131
+ placement: typeof import("./preview.js").LocalPreviewPlacementViewSchema;
132
+ }, z.core.$strict>, z.ZodObject<{
133
+ humanLinks: z.ZodOptional<typeof import("../human-links.js").HumanLinksSchema>;
134
+ deviceExecution: z.ZodOptional<typeof import("../device-render.js").DeviceRenderReceiptSchema>;
135
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
136
+ renderId: z.ZodUUID;
137
+ operationId: typeof import("../ids.js").OperationIdSchema;
138
+ productionId: z.ZodUUID;
139
+ timelineVersionId: z.ZodUUID;
140
+ timelineFingerprint: z.ZodString;
141
+ executionClass: z.ZodEnum<{
142
+ LIVE: "LIVE";
143
+ TEST_ONLY: "TEST_ONLY";
144
+ }>;
145
+ manifestFingerprint: z.ZodString;
146
+ productionRevision: z.ZodInt;
147
+ selectionId: z.ZodUUID;
148
+ selectionVersion: z.ZodInt;
149
+ profileId: typeof import("../final-render-profile.js").FinalRenderProfileIdSchema;
150
+ placement: typeof import("./preview.js").LocalPreviewPlacementViewSchema;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
153
+ }, z.core.$strict>]>;
154
+ export declare const LocalManagementReceiptSchema: z.ZodObject<{
155
+ fingerprint: z.ZodString;
156
+ result: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
157
+ tenantId: z.ZodUUID;
158
+ publicKey: z.ZodObject<{
159
+ kty: z.ZodLiteral<"EC">;
160
+ crv: z.ZodLiteral<"P-256">;
161
+ x: z.ZodString;
162
+ y: z.ZodString;
163
+ }, z.core.$strict>;
164
+ runtimeVersion: z.ZodString;
165
+ label: z.ZodString;
166
+ platform: z.ZodObject<{
167
+ os: z.ZodEnum<{
168
+ darwin: "darwin";
169
+ linux: "linux";
170
+ win32: "win32";
171
+ }>;
172
+ architecture: z.ZodEnum<{
173
+ arm64: "arm64";
174
+ x64: "x64";
175
+ }>;
176
+ }, z.core.$strict>;
177
+ deviceId: z.ZodUUID;
178
+ revision: z.ZodInt;
179
+ enrolledByPrincipalId: z.ZodUUID;
180
+ createdAt: z.ZodISODateTime;
181
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
182
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
183
+ }, z.core.$strict>, z.ZodObject<{
184
+ humanLinks: z.ZodOptional<typeof import("../human-links.js").HumanLinksSchema>;
185
+ deviceExecution: z.ZodOptional<typeof import("../device-render.js").DeviceRenderReceiptSchema>;
186
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
187
+ renderId: z.ZodUUID;
188
+ operationId: typeof import("../ids.js").OperationIdSchema;
189
+ productionId: z.ZodUUID;
190
+ timelineVersionId: z.ZodUUID;
191
+ timelineFingerprint: z.ZodString;
192
+ executionClass: z.ZodEnum<{
193
+ LIVE: "LIVE";
194
+ TEST_ONLY: "TEST_ONLY";
195
+ }>;
196
+ manifestFingerprint: z.ZodString;
197
+ productionRevision: z.ZodInt;
198
+ placement: typeof import("./preview.js").LocalPreviewPlacementViewSchema;
199
+ }, z.core.$strict>, z.ZodObject<{
200
+ humanLinks: z.ZodOptional<typeof import("../human-links.js").HumanLinksSchema>;
201
+ deviceExecution: z.ZodOptional<typeof import("../device-render.js").DeviceRenderReceiptSchema>;
202
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
203
+ renderId: z.ZodUUID;
204
+ operationId: typeof import("../ids.js").OperationIdSchema;
205
+ productionId: z.ZodUUID;
206
+ timelineVersionId: z.ZodUUID;
207
+ timelineFingerprint: z.ZodString;
208
+ executionClass: z.ZodEnum<{
209
+ LIVE: "LIVE";
210
+ TEST_ONLY: "TEST_ONLY";
211
+ }>;
212
+ manifestFingerprint: z.ZodString;
213
+ productionRevision: z.ZodInt;
214
+ selectionId: z.ZodUUID;
215
+ selectionVersion: z.ZodInt;
216
+ profileId: typeof import("../final-render-profile.js").FinalRenderProfileIdSchema;
217
+ placement: typeof import("./preview.js").LocalPreviewPlacementViewSchema;
218
+ }, z.core.$strict>, z.ZodObject<{
219
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
220
+ }, z.core.$strict>]>>;
221
+ }, z.core.$strict>;
222
+ export type LocalManagementCommand = z.infer<typeof LocalManagementCommandSchema>;
223
+ export type LocalManagementReceipt = z.infer<typeof LocalManagementReceiptSchema>;
224
+ export declare const localManagementRoutes: {
225
+ readonly ENROLL: "devices/enroll";
226
+ readonly REVOKE_DEVICE: "devices/revoke";
227
+ readonly PREVIEW: "previews";
228
+ readonly FINAL_RENDER: "final-renders";
229
+ };
230
+ /** 设备管理与桌面恢复共用唯一命令合同。 */
231
+ export declare const LocalDeviceManagementCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
232
+ kind: z.ZodLiteral<"ENROLL">;
233
+ input: z.ZodObject<{
234
+ tenantId: z.ZodUUID;
235
+ requestId: z.ZodUUID;
236
+ expectedPrincipalId: z.ZodOptional<z.ZodUUID>;
237
+ label: z.ZodString;
238
+ platform: z.ZodObject<{
239
+ os: z.ZodEnum<{
240
+ darwin: "darwin";
241
+ linux: "linux";
242
+ win32: "win32";
243
+ }>;
244
+ architecture: z.ZodEnum<{
245
+ arm64: "arm64";
246
+ x64: "x64";
247
+ }>;
248
+ }, z.core.$strict>;
249
+ runtimeVersion: z.ZodString;
250
+ publicKey: z.ZodObject<{
251
+ kty: z.ZodLiteral<"EC">;
252
+ crv: z.ZodLiteral<"P-256">;
253
+ x: z.ZodString;
254
+ y: z.ZodString;
255
+ }, z.core.$strict>;
256
+ }, z.core.$strict>;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ kind: z.ZodLiteral<"REVOKE_DEVICE">;
259
+ input: z.ZodObject<{
260
+ tenantId: z.ZodUUID;
261
+ deviceId: z.ZodUUID;
262
+ requestId: z.ZodUUID;
263
+ expectedRevision: z.ZodInt;
264
+ }, z.core.$strict>;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ kind: z.ZodLiteral<"PREVIEW">;
267
+ input: z.ZodObject<{
268
+ tenantId: typeof import("../ids.js").TenantIdSchema;
269
+ productionId: typeof import("../ids.js").ProductionIdSchema;
270
+ idempotencyKey: z.ZodString;
271
+ expectedProductionRevision: z.ZodInt;
272
+ timelineVersionId: z.ZodUUID;
273
+ profileId: typeof import("../rough-cut-profile.js").RoughCutProfileIdSchema;
274
+ timelineFingerprint: z.ZodString;
275
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
276
+ mode: z.ZodLiteral<"local-only">;
277
+ deviceId: z.ZodUUID;
278
+ }, z.core.$strict>, z.ZodObject<{
279
+ mode: z.ZodLiteral<"local-preferred">;
280
+ deviceId: z.ZodUUID;
281
+ }, z.core.$strict>, z.ZodObject<{
282
+ mode: z.ZodLiteral<"cloud-only">;
283
+ }, z.core.$strict>], "mode">;
284
+ localProfile: z.ZodOptional<z.ZodLiteral<"STUDIO_MEDIA_V2">>;
285
+ }, z.core.$strict>;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ kind: z.ZodLiteral<"FINAL_RENDER">;
288
+ input: z.ZodObject<{
289
+ tenantId: typeof import("../ids.js").TenantIdSchema;
290
+ productionId: typeof import("../ids.js").ProductionIdSchema;
291
+ idempotencyKey: z.ZodString;
292
+ expectedProductionRevision: z.ZodInt;
293
+ timelineVersionId: z.ZodUUID;
294
+ profileId: typeof import("../final-render-profile.js").FinalRenderProfileIdSchema;
295
+ timelineFingerprint: z.ZodString;
296
+ selectionId: z.ZodUUID;
297
+ audioPolicy: z.ZodEnum<{
298
+ SILENT: "SILENT";
299
+ MIXED: "MIXED";
300
+ }>;
301
+ captionPolicy: z.ZodEnum<{
302
+ NONE: "NONE";
303
+ BURN_IN: "BURN_IN";
304
+ }>;
305
+ expectedFinalReadyVersion: z.ZodInt;
306
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
307
+ mode: z.ZodLiteral<"local-only">;
308
+ deviceId: z.ZodUUID;
309
+ }, z.core.$strict>, z.ZodObject<{
310
+ mode: z.ZodLiteral<"local-preferred">;
311
+ deviceId: z.ZodUUID;
312
+ }, z.core.$strict>, z.ZodObject<{
313
+ mode: z.ZodLiteral<"cloud-only">;
314
+ }, z.core.$strict>], "mode">;
315
+ }, z.core.$strict>;
316
+ }, z.core.$strict>], "kind">;
317
+ export type LocalDeviceManagementCommand = z.infer<typeof LocalDeviceManagementCommandSchema>;
318
+ /** 普通 Agent 回执查询显式绑定 tenant,原指令按精确身份保存和核对。 */
319
+ export declare const ScopedLocalManagementReceiptSchema: z.ZodObject<{
320
+ tenantId: z.ZodUUID;
321
+ command: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
+ kind: z.ZodLiteral<"ENROLL">;
323
+ input: z.ZodObject<{
324
+ tenantId: z.ZodUUID;
325
+ requestId: z.ZodUUID;
326
+ expectedPrincipalId: z.ZodOptional<z.ZodUUID>;
327
+ label: z.ZodString;
328
+ platform: z.ZodObject<{
329
+ os: z.ZodEnum<{
330
+ darwin: "darwin";
331
+ linux: "linux";
332
+ win32: "win32";
333
+ }>;
334
+ architecture: z.ZodEnum<{
335
+ arm64: "arm64";
336
+ x64: "x64";
337
+ }>;
338
+ }, z.core.$strict>;
339
+ runtimeVersion: z.ZodString;
340
+ publicKey: z.ZodObject<{
341
+ kty: z.ZodLiteral<"EC">;
342
+ crv: z.ZodLiteral<"P-256">;
343
+ x: z.ZodString;
344
+ y: z.ZodString;
345
+ }, z.core.$strict>;
346
+ }, z.core.$strict>;
347
+ }, z.core.$strict>, z.ZodObject<{
348
+ kind: z.ZodLiteral<"REVOKE_DEVICE">;
349
+ input: z.ZodObject<{
350
+ tenantId: z.ZodUUID;
351
+ deviceId: z.ZodUUID;
352
+ requestId: z.ZodUUID;
353
+ expectedRevision: z.ZodInt;
354
+ }, z.core.$strict>;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ kind: z.ZodLiteral<"PREVIEW">;
357
+ input: z.ZodObject<{
358
+ tenantId: typeof import("../ids.js").TenantIdSchema;
359
+ productionId: typeof import("../ids.js").ProductionIdSchema;
360
+ idempotencyKey: z.ZodString;
361
+ expectedProductionRevision: z.ZodInt;
362
+ timelineVersionId: z.ZodUUID;
363
+ profileId: typeof import("../rough-cut-profile.js").RoughCutProfileIdSchema;
364
+ timelineFingerprint: z.ZodString;
365
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
366
+ mode: z.ZodLiteral<"local-only">;
367
+ deviceId: z.ZodUUID;
368
+ }, z.core.$strict>, z.ZodObject<{
369
+ mode: z.ZodLiteral<"local-preferred">;
370
+ deviceId: z.ZodUUID;
371
+ }, z.core.$strict>, z.ZodObject<{
372
+ mode: z.ZodLiteral<"cloud-only">;
373
+ }, z.core.$strict>], "mode">;
374
+ localProfile: z.ZodOptional<z.ZodLiteral<"STUDIO_MEDIA_V2">>;
375
+ }, z.core.$strict>;
376
+ }, z.core.$strict>, z.ZodObject<{
377
+ kind: z.ZodLiteral<"FINAL_RENDER">;
378
+ input: z.ZodObject<{
379
+ tenantId: typeof import("../ids.js").TenantIdSchema;
380
+ productionId: typeof import("../ids.js").ProductionIdSchema;
381
+ idempotencyKey: z.ZodString;
382
+ expectedProductionRevision: z.ZodInt;
383
+ timelineVersionId: z.ZodUUID;
384
+ profileId: typeof import("../final-render-profile.js").FinalRenderProfileIdSchema;
385
+ timelineFingerprint: z.ZodString;
386
+ selectionId: z.ZodUUID;
387
+ audioPolicy: z.ZodEnum<{
388
+ SILENT: "SILENT";
389
+ MIXED: "MIXED";
390
+ }>;
391
+ captionPolicy: z.ZodEnum<{
392
+ NONE: "NONE";
393
+ BURN_IN: "BURN_IN";
394
+ }>;
395
+ expectedFinalReadyVersion: z.ZodInt;
396
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
397
+ mode: z.ZodLiteral<"local-only">;
398
+ deviceId: z.ZodUUID;
399
+ }, z.core.$strict>, z.ZodObject<{
400
+ mode: z.ZodLiteral<"local-preferred">;
401
+ deviceId: z.ZodUUID;
402
+ }, z.core.$strict>, z.ZodObject<{
403
+ mode: z.ZodLiteral<"cloud-only">;
404
+ }, z.core.$strict>], "mode">;
405
+ }, z.core.$strict>;
406
+ }, z.core.$strict>], "kind">;
407
+ }, z.core.$strict>;
@@ -0,0 +1,207 @@
1
+ import { z } from "zod";
2
+ export declare const LocalMediaRecipeSchema: z.ZodObject<{
3
+ protocol: z.ZodLiteral<"NVS_RESOLVED_MEDIA_RECIPE_V2">;
4
+ family: z.ZodEnum<{
5
+ ROUGH_CUT_RENDER: "ROUGH_CUT_RENDER";
6
+ FINAL_RENDER: "FINAL_RENDER";
7
+ }>;
8
+ width: z.ZodInt;
9
+ height: z.ZodInt;
10
+ totalFrames: z.ZodInt;
11
+ crf: z.ZodUnion<readonly [z.ZodLiteral<18>, z.ZodLiteral<23>]>;
12
+ algorithm: z.ZodEnum<{
13
+ ORDERED_TRIM_CUT_V1: "ORDERED_TRIM_CUT_V1";
14
+ ORDERED_COMPOSE_V2: "ORDERED_COMPOSE_V2";
15
+ }>;
16
+ clips: z.ZodArray<z.ZodObject<{
17
+ representationId: z.ZodUUID;
18
+ technical: z.ZodObject<{
19
+ contentType: z.ZodLiteral<"video/mp4">;
20
+ checksumSha256: z.ZodString;
21
+ byteSize: z.ZodInt;
22
+ width: z.ZodInt;
23
+ height: z.ZodInt;
24
+ durationMs: z.ZodInt;
25
+ frameRate: z.ZodNumber;
26
+ videoCodec: z.ZodEnum<{
27
+ h264: "h264";
28
+ hevc: "hevc";
29
+ }>;
30
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
31
+ hasAudio: z.ZodBoolean;
32
+ nativeAudio: z.ZodOptional<z.ZodObject<{
33
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
34
+ sourceCodec: z.ZodLiteral<"aac">;
35
+ sourceSampleRateHz: z.ZodInt;
36
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
37
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
38
+ sourceFrameCount: z.ZodInt;
39
+ sourceStartOffsetMs: z.ZodNumber;
40
+ sourceDeclaredDurationMs: z.ZodNumber;
41
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
42
+ media: z.ZodObject<{
43
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
44
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
45
+ sampleRateHz: z.ZodLiteral<48000>;
46
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
47
+ sampleCount: z.ZodInt;
48
+ durationMs: z.ZodNumber;
49
+ }, z.core.$strict>;
50
+ checksumSha256: z.ZodString;
51
+ }, z.core.$strict>>;
52
+ }, z.core.$strict>;
53
+ sourceInMs: z.ZodInt;
54
+ sourceOutMs: z.ZodInt;
55
+ startFrame: z.ZodInt;
56
+ frameCount: z.ZodInt;
57
+ overlapFrames: z.ZodInt;
58
+ crop: z.ZodNullable<z.ZodObject<{
59
+ x: z.ZodInt;
60
+ y: z.ZodInt;
61
+ width: z.ZodInt;
62
+ height: z.ZodInt;
63
+ }, z.core.$strict>>;
64
+ viewport: z.ZodObject<{
65
+ x: z.ZodInt;
66
+ y: z.ZodInt;
67
+ width: z.ZodInt;
68
+ height: z.ZodInt;
69
+ }, z.core.$strict>;
70
+ }, z.core.$strict>>;
71
+ caption: z.ZodNullable<z.ZodObject<{
72
+ style: z.ZodDiscriminatedUnion<[z.ZodObject<{
73
+ id: z.ZodLiteral<"PLAIN_TEXT_NOTO_SANS_SC_V1">;
74
+ fontSha256: z.ZodLiteral<"a3041811a78c361b1de50f953c805e0244951c21c5bd412f7232ef0d899af0da">;
75
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ id: z.ZodLiteral<"PLAIN_TEXT_NATIVE_SC_REGULAR_V2">;
78
+ fontSha256: z.ZodLiteral<"e5a51f41fc1b827da651afee3975e07a182ff4f8e04d9dfc0a3cecd6177a52b6">;
79
+ framePolicy: z.ZodLiteral<"PTS_HALF_OPEN_CEIL_V1">;
80
+ }, z.core.$strict>], "id">;
81
+ references: z.ZodArray<z.ZodObject<{
82
+ representationId: z.ZodUUID;
83
+ expectedUtf8: z.ZodString;
84
+ }, z.core.$strict>>;
85
+ cues: z.ZodArray<z.ZodObject<{
86
+ ordinal: z.ZodInt;
87
+ startFrame: z.ZodInt;
88
+ endFrame: z.ZodInt;
89
+ fontSize: z.ZodInt;
90
+ margin: z.ZodInt;
91
+ text: z.ZodString;
92
+ }, z.core.$strict>>;
93
+ }, z.core.$strict>>;
94
+ audio: z.ZodNullable<z.ZodObject<{
95
+ algorithm: z.ZodLiteral<"PCM_WINDOW_MIX_AAC_V1">;
96
+ tracks: z.ZodArray<z.ZodObject<{
97
+ representationId: z.ZodUUID;
98
+ checksum: z.ZodString;
99
+ byteSize: z.ZodInt;
100
+ channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
101
+ sampleCount: z.ZodInt;
102
+ sourceIn: z.ZodInt;
103
+ sourceOut: z.ZodInt;
104
+ start: z.ZodInt;
105
+ count: z.ZodInt;
106
+ gain: z.ZodInt;
107
+ duck: z.ZodInt;
108
+ duckWindows: z.ZodArray<z.ZodObject<{
109
+ start: z.ZodInt;
110
+ count: z.ZodInt;
111
+ }, z.core.$strict>>;
112
+ }, z.core.$strict>>;
113
+ }, z.core.$strict>>;
114
+ graphics: z.ZodArray<z.ZodObject<{
115
+ representationId: z.ZodUUID;
116
+ checksum: z.ZodString;
117
+ byteSize: z.ZodInt;
118
+ contentType: z.ZodEnum<{
119
+ "image/png": "image/png";
120
+ "image/webp": "image/webp";
121
+ }>;
122
+ sourceWidth: z.ZodInt;
123
+ sourceHeight: z.ZodInt;
124
+ width: z.ZodInt;
125
+ height: z.ZodInt;
126
+ x: z.ZodInt;
127
+ y: z.ZodInt;
128
+ startFrame: z.ZodInt;
129
+ endFrame: z.ZodInt;
130
+ opacity: z.ZodNumber;
131
+ }, z.core.$strict>>;
132
+ visual: z.ZodNullable<z.ZodObject<{
133
+ policy: z.ZodOptional<z.ZodEnum<{
134
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
135
+ STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
136
+ }>>;
137
+ composition: z.ZodObject<{
138
+ schemaVersion: z.ZodLiteral<1>;
139
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
140
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
141
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
142
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
143
+ totalFrames: z.ZodInt;
144
+ layers: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodUUID;
146
+ source: z.ZodObject<{
147
+ schemaVersion: z.ZodLiteral<1>;
148
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
149
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
150
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
151
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
152
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
153
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
154
+ checksumSha256: z.ZodString;
155
+ width: z.ZodInt;
156
+ height: z.ZodInt;
157
+ frameRate: z.ZodLiteral<30>;
158
+ frameCount: z.ZodInt;
159
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
160
+ frames: z.ZodArray<z.ZodObject<{
161
+ ordinal: z.ZodInt;
162
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
163
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
164
+ checksumSha256: z.ZodString;
165
+ byteSize: z.ZodInt;
166
+ }, z.core.$strict>>;
167
+ }, z.core.$strict>;
168
+ sourceInFrame: z.ZodInt;
169
+ sourceOutFrame: z.ZodInt;
170
+ startFrame: z.ZodInt;
171
+ zIndex: z.ZodInt;
172
+ opacityPermille: z.ZodInt;
173
+ placement: z.ZodObject<{
174
+ xPermille: z.ZodInt;
175
+ yPermille: z.ZodInt;
176
+ widthPermille: z.ZodInt;
177
+ heightPermille: z.ZodInt;
178
+ }, z.core.$strict>;
179
+ }, z.core.$strict>>;
180
+ }, z.core.$strict>;
181
+ plans: z.ZodArray<z.ZodObject<{
182
+ id: z.ZodUUID;
183
+ startFrame: z.ZodInt;
184
+ endFrame: z.ZodInt;
185
+ width: z.ZodInt;
186
+ height: z.ZodInt;
187
+ x: z.ZodInt;
188
+ y: z.ZodInt;
189
+ opacityPermille: z.ZodInt;
190
+ }, z.core.$strict>>;
191
+ }, z.core.$strict>>;
192
+ }, z.core.$strict>;
193
+ export type LocalMediaRecipe = z.infer<typeof LocalMediaRecipeSchema>;
194
+ export declare const LOCAL_STUDIO_PROFILE_SPEC: {
195
+ readonly protocol: "NVS_LOCAL_STUDIO_MEDIA_V2";
196
+ readonly algorithm: "RESOLVED_RECIPE_V2";
197
+ readonly profiles: readonly ["PREVIEW_H264_480P_V1", "PREVIEW_H264_720P_V1", "PREVIEW_H264_1080P_V1", "FINAL_H264_480P_V1", "FINAL_H264_720P_V1", "FINAL_H264_1080P_V1"];
198
+ readonly audio: "PCM_WINDOW_MIX_AAC_V1";
199
+ readonly captions: "PINNED_PLAIN_TEXT";
200
+ readonly framing: "CROP_PAD_V1";
201
+ readonly transitions: "CROSS_DISSOLVE_V1";
202
+ readonly graphics: "OVERLAY_V1";
203
+ readonly visual: readonly ["STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1", "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2"];
204
+ readonly maxSourceBytesTotal: 268435456;
205
+ readonly maxOutputBytes: 134217728;
206
+ readonly maxClips: 32;
207
+ };