@nativestudio/cli 0.0.0-stage → 0.3.0-rc.1

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 (206) hide show
  1. package/COMPATIBILITY.json +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +77 -2
  4. package/components/runtime.json +6 -0
  5. package/components/runtime.tgz +0 -0
  6. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  7. package/dist/_chunks/chunk-25EDDZQA.js +1 -0
  8. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  9. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  10. package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
  11. package/dist/_chunks/chunk-EAZKDCLD.js +1 -0
  12. package/dist/_chunks/chunk-G42IS5JF.js +1 -0
  13. package/dist/_chunks/chunk-GIEYSDCG.js +1 -0
  14. package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
  15. package/dist/_chunks/chunk-HLKERZIE.js +1 -0
  16. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  17. package/dist/_chunks/chunk-MSOMVWKN.js +1 -0
  18. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  19. package/dist/_chunks/chunk-QC7RLTGU.js +1 -0
  20. package/dist/_chunks/chunk-RUMDDTON.js +1 -0
  21. package/dist/_chunks/chunk-U2UKGYGF.js +1 -0
  22. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  23. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  24. package/dist/_chunks/files-TBJVDQWU.js +1 -0
  25. package/dist/_chunks/local-main-SOERK22D.js +1 -0
  26. package/dist/_chunks/local-mcp-JLPXXIDW.js +1 -0
  27. package/dist/_chunks/main-4SNF5EKE.js +2 -0
  28. package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
  29. package/dist/_chunks/oauth-257CEUQH.js +1 -0
  30. package/dist/_chunks/project-connect-6MH2QG6G.js +1 -0
  31. package/dist/_chunks/src-7F6ZEU3U.js +1 -0
  32. package/dist/_chunks/stdio-main-JEADWO7U.js +1 -0
  33. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  34. package/dist/_types/cli/local/desktop-contract.d.ts +208 -0
  35. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  36. package/dist/_types/cli/local/desktop-owner.d.ts +32 -0
  37. package/dist/_types/cli/local/ledger.d.ts +309 -0
  38. package/dist/_types/cli/local/manager.d.ts +592 -0
  39. package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
  40. package/dist/_types/cli/local/releases.d.ts +100 -0
  41. package/dist/_types/cli/local-management.d.ts +11 -0
  42. package/dist/_types/cli/local-navigation.d.ts +3 -0
  43. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  44. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  45. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  46. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  47. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  48. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  49. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  50. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  51. package/dist/_types/contracts/agent-host.d.ts +226 -0
  52. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  53. package/dist/_types/contracts/artifact.d.ts +188 -0
  54. package/dist/_types/contracts/audio.d.ts +331 -0
  55. package/dist/_types/contracts/brief.d.ts +178 -0
  56. package/dist/_types/contracts/caption-render.d.ts +20 -0
  57. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  58. package/dist/_types/contracts/captions.d.ts +420 -0
  59. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  60. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  61. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  62. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  63. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  64. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  65. package/dist/_types/contracts/composition-making.d.ts +390 -0
  66. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  67. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  68. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  69. package/dist/_types/contracts/composition-render.d.ts +406 -0
  70. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  71. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  72. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  73. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  74. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  75. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  76. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  77. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  78. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  79. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  80. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  81. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  82. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  83. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  84. package/dist/_types/contracts/final-ready.d.ts +301 -0
  85. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  86. package/dist/_types/contracts/final-render.d.ts +8181 -0
  87. package/dist/_types/contracts/foundation.d.ts +1 -0
  88. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  89. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  90. package/dist/_types/contracts/health.d.ts +6 -0
  91. package/dist/_types/contracts/human-identity.d.ts +149 -0
  92. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  93. package/dist/_types/contracts/ids.d.ts +41 -0
  94. package/dist/_types/contracts/index.d.ts +122 -0
  95. package/dist/_types/contracts/interface/common.d.ts +56 -0
  96. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  97. package/dist/_types/contracts/interface/index.d.ts +7 -0
  98. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  99. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  100. package/dist/_types/contracts/interface/output.d.ts +15 -0
  101. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  102. package/dist/_types/contracts/interface/query.d.ts +315 -0
  103. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  104. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  105. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  106. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  107. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  108. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  109. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  110. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  111. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  112. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  113. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  114. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  115. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  116. package/dist/_types/contracts/local-execution/lifecycle.d.ts +319 -0
  117. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  118. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  119. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  120. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  121. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  122. package/dist/_types/contracts/media-export.d.ts +23 -0
  123. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  124. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  125. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  126. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  127. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  128. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  129. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  130. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  131. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  132. package/dist/_types/contracts/navigation.d.ts +238 -0
  133. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  134. package/dist/_types/contracts/planning-input.d.ts +177 -0
  135. package/dist/_types/contracts/principal.d.ts +26 -0
  136. package/dist/_types/contracts/production-creation.d.ts +66 -0
  137. package/dist/_types/contracts/production-termination.d.ts +51 -0
  138. package/dist/_types/contracts/production.d.ts +111 -0
  139. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  140. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  141. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  142. package/dist/_types/contracts/project-library.d.ts +173 -0
  143. package/dist/_types/contracts/project.d.ts +93 -0
  144. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  145. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  146. package/dist/_types/contracts/provider.d.ts +142 -0
  147. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  148. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  149. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  150. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  151. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  152. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  153. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  154. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  155. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  156. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  159. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  160. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  161. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  162. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  163. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  164. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  165. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  166. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  167. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  168. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  169. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  170. package/dist/_types/contracts/speech.d.ts +424 -0
  171. package/dist/_types/contracts/story.d.ts +98 -0
  172. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  173. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  174. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  175. package/dist/_types/contracts/tenant.d.ts +7 -0
  176. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  177. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  178. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  179. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  180. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  181. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  182. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  183. package/dist/_types/contracts/timeline.d.ts +4942 -0
  184. package/dist/_types/contracts/transcription.d.ts +80 -0
  185. package/dist/_types/contracts/video-generation.d.ts +643 -0
  186. package/dist/_types/contracts/video-review.d.ts +1871 -0
  187. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  188. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  189. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  190. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  191. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  192. package/dist/_types/sdk/errors.d.ts +9 -0
  193. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  194. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  195. package/dist/entry.js +2 -0
  196. package/dist/local-management.d.ts +1 -0
  197. package/dist/local-management.js +1 -0
  198. package/dist/local-navigation.d.ts +1 -0
  199. package/dist/local-navigation.js +1 -0
  200. package/dist/native/Bootstrap.ps1 +90 -0
  201. package/dist/native/JobNative.cs +127 -0
  202. package/dist/native/JobRunner.cs +360 -0
  203. package/dist/native/NativeMain.cs +146 -0
  204. package/dist/native/PipeBridge.cs +260 -0
  205. package/dist/native/PrivateAccess.cs +152 -0
  206. package/package.json +33 -3
@@ -0,0 +1,420 @@
1
+ import { z } from "zod";
2
+ export declare const CaptionContentSchema: z.ZodObject<{
3
+ language: z.ZodString;
4
+ durationMs: z.ZodInt;
5
+ cues: z.ZodArray<z.ZodObject<{
6
+ startMs: z.ZodInt;
7
+ endMs: z.ZodInt;
8
+ text: z.ZodString;
9
+ }, z.core.$strict>>;
10
+ }, z.core.$strict>;
11
+ export declare const CaptionScopeSchema: z.ZodObject<{
12
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
13
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
14
+ }, z.core.$strict>;
15
+ export declare const AuthorCaptionsSchema: z.ZodObject<{
16
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
17
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
18
+ expectedProductionRevision: z.ZodInt;
19
+ expectedCaptionVersion: z.ZodInt;
20
+ idempotencyKey: z.ZodString;
21
+ content: z.ZodObject<{
22
+ language: z.ZodString;
23
+ durationMs: z.ZodInt;
24
+ cues: z.ZodArray<z.ZodObject<{
25
+ startMs: z.ZodInt;
26
+ endMs: z.ZodInt;
27
+ text: z.ZodString;
28
+ }, z.core.$strict>>;
29
+ }, z.core.$strict>;
30
+ }, z.core.$strict>;
31
+ export declare const CaptionGetSchema: z.ZodObject<{
32
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
33
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
34
+ versionId: z.ZodUUID;
35
+ }, z.core.$strict>;
36
+ export declare const CaptionQuerySchema: z.ZodObject<{
37
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
38
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
39
+ limit: z.ZodDefault<z.ZodInt>;
40
+ next: z.ZodOptional<z.ZodString>;
41
+ }, z.core.$strict>;
42
+ export declare const CaptionRepresentationSchema: z.ZodObject<{
43
+ id: z.ZodUUID;
44
+ checksumSha256: z.ZodString;
45
+ byteSize: z.ZodInt;
46
+ }, z.core.$strict>;
47
+ export declare const CaptionVersionSchema: z.ZodObject<{
48
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
49
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
50
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
51
+ schemaVersion: z.ZodLiteral<1>;
52
+ advisory: z.ZodLiteral<true>;
53
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
54
+ timelineVersionId: z.ZodUUID;
55
+ timingFingerprint: z.ZodString;
56
+ sources: z.ZodArray<z.ZodObject<{
57
+ observationId: z.ZodUUID;
58
+ artifactId: z.ZodUUID;
59
+ representationId: z.ZodUUID;
60
+ checksumSha256: z.ZodString;
61
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
62
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
63
+ purpose: z.ZodEnum<{
64
+ VOICEOVER: "VOICEOVER";
65
+ MUSIC: "MUSIC";
66
+ }>;
67
+ }, z.core.$strict>, z.ZodObject<{
68
+ kind: z.ZodLiteral<"SPEECH_CUE">;
69
+ cueId: z.ZodString;
70
+ }, z.core.$strict>, z.ZodObject<{
71
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
72
+ }, z.core.$strict>], "kind">;
73
+ granularity: z.ZodEnum<{
74
+ word: "word";
75
+ segment: "segment";
76
+ }>;
77
+ sourceInMs: z.ZodInt;
78
+ sourceOutMs: z.ZodInt;
79
+ startMs: z.ZodInt;
80
+ spanIndices: z.ZodArray<z.ZodInt>;
81
+ excludedSpans: z.ZodInt;
82
+ }, z.core.$strict>>;
83
+ }, z.core.$strict>>;
84
+ id: z.ZodUUID;
85
+ captionId: z.ZodUUID;
86
+ projectId: z.ZodUUID;
87
+ version: z.ZodInt;
88
+ artifactId: z.ZodUUID;
89
+ content: z.ZodObject<{
90
+ language: z.ZodString;
91
+ durationMs: z.ZodInt;
92
+ cues: z.ZodArray<z.ZodObject<{
93
+ startMs: z.ZodInt;
94
+ endMs: z.ZodInt;
95
+ text: z.ZodString;
96
+ }, z.core.$strict>>;
97
+ }, z.core.$strict>;
98
+ fingerprint: z.ZodString;
99
+ original: z.ZodObject<{
100
+ id: z.ZodUUID;
101
+ checksumSha256: z.ZodString;
102
+ byteSize: z.ZodInt;
103
+ }, z.core.$strict>;
104
+ subtitle: z.ZodObject<{
105
+ id: z.ZodUUID;
106
+ checksumSha256: z.ZodString;
107
+ byteSize: z.ZodInt;
108
+ }, z.core.$strict>;
109
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
110
+ createdByPrincipalId: z.ZodUUID;
111
+ createdAt: z.ZodISODateTime;
112
+ }, z.core.$strict>;
113
+ export declare const CaptionViewSchema: z.ZodObject<{
114
+ version: z.ZodObject<{
115
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
116
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
117
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
118
+ schemaVersion: z.ZodLiteral<1>;
119
+ advisory: z.ZodLiteral<true>;
120
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
121
+ timelineVersionId: z.ZodUUID;
122
+ timingFingerprint: z.ZodString;
123
+ sources: z.ZodArray<z.ZodObject<{
124
+ observationId: z.ZodUUID;
125
+ artifactId: z.ZodUUID;
126
+ representationId: z.ZodUUID;
127
+ checksumSha256: z.ZodString;
128
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
129
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
130
+ purpose: z.ZodEnum<{
131
+ VOICEOVER: "VOICEOVER";
132
+ MUSIC: "MUSIC";
133
+ }>;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ kind: z.ZodLiteral<"SPEECH_CUE">;
136
+ cueId: z.ZodString;
137
+ }, z.core.$strict>, z.ZodObject<{
138
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
139
+ }, z.core.$strict>], "kind">;
140
+ granularity: z.ZodEnum<{
141
+ word: "word";
142
+ segment: "segment";
143
+ }>;
144
+ sourceInMs: z.ZodInt;
145
+ sourceOutMs: z.ZodInt;
146
+ startMs: z.ZodInt;
147
+ spanIndices: z.ZodArray<z.ZodInt>;
148
+ excludedSpans: z.ZodInt;
149
+ }, z.core.$strict>>;
150
+ }, z.core.$strict>>;
151
+ id: z.ZodUUID;
152
+ captionId: z.ZodUUID;
153
+ projectId: z.ZodUUID;
154
+ version: z.ZodInt;
155
+ artifactId: z.ZodUUID;
156
+ content: z.ZodObject<{
157
+ language: z.ZodString;
158
+ durationMs: z.ZodInt;
159
+ cues: z.ZodArray<z.ZodObject<{
160
+ startMs: z.ZodInt;
161
+ endMs: z.ZodInt;
162
+ text: z.ZodString;
163
+ }, z.core.$strict>>;
164
+ }, z.core.$strict>;
165
+ fingerprint: z.ZodString;
166
+ original: z.ZodObject<{
167
+ id: z.ZodUUID;
168
+ checksumSha256: z.ZodString;
169
+ byteSize: z.ZodInt;
170
+ }, z.core.$strict>;
171
+ subtitle: z.ZodObject<{
172
+ id: z.ZodUUID;
173
+ checksumSha256: z.ZodString;
174
+ byteSize: z.ZodInt;
175
+ }, z.core.$strict>;
176
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
177
+ createdByPrincipalId: z.ZodUUID;
178
+ createdAt: z.ZodISODateTime;
179
+ }, z.core.$strict>;
180
+ isCurrent: z.ZodBoolean;
181
+ availability: z.ZodEnum<{
182
+ UNAVAILABLE: "UNAVAILABLE";
183
+ AVAILABLE: "AVAILABLE";
184
+ }>;
185
+ }, z.core.$strict>;
186
+ export declare const CaptionReceiptSchema: z.ZodObject<{
187
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
188
+ version: z.ZodObject<{
189
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
190
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
191
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
192
+ schemaVersion: z.ZodLiteral<1>;
193
+ advisory: z.ZodLiteral<true>;
194
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
195
+ timelineVersionId: z.ZodUUID;
196
+ timingFingerprint: z.ZodString;
197
+ sources: z.ZodArray<z.ZodObject<{
198
+ observationId: z.ZodUUID;
199
+ artifactId: z.ZodUUID;
200
+ representationId: z.ZodUUID;
201
+ checksumSha256: z.ZodString;
202
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
203
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
204
+ purpose: z.ZodEnum<{
205
+ VOICEOVER: "VOICEOVER";
206
+ MUSIC: "MUSIC";
207
+ }>;
208
+ }, z.core.$strict>, z.ZodObject<{
209
+ kind: z.ZodLiteral<"SPEECH_CUE">;
210
+ cueId: z.ZodString;
211
+ }, z.core.$strict>, z.ZodObject<{
212
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
213
+ }, z.core.$strict>], "kind">;
214
+ granularity: z.ZodEnum<{
215
+ word: "word";
216
+ segment: "segment";
217
+ }>;
218
+ sourceInMs: z.ZodInt;
219
+ sourceOutMs: z.ZodInt;
220
+ startMs: z.ZodInt;
221
+ spanIndices: z.ZodArray<z.ZodInt>;
222
+ excludedSpans: z.ZodInt;
223
+ }, z.core.$strict>>;
224
+ }, z.core.$strict>>;
225
+ id: z.ZodUUID;
226
+ captionId: z.ZodUUID;
227
+ projectId: z.ZodUUID;
228
+ version: z.ZodInt;
229
+ artifactId: z.ZodUUID;
230
+ content: z.ZodObject<{
231
+ language: z.ZodString;
232
+ durationMs: z.ZodInt;
233
+ cues: z.ZodArray<z.ZodObject<{
234
+ startMs: z.ZodInt;
235
+ endMs: z.ZodInt;
236
+ text: z.ZodString;
237
+ }, z.core.$strict>>;
238
+ }, z.core.$strict>;
239
+ fingerprint: z.ZodString;
240
+ original: z.ZodObject<{
241
+ id: z.ZodUUID;
242
+ checksumSha256: z.ZodString;
243
+ byteSize: z.ZodInt;
244
+ }, z.core.$strict>;
245
+ subtitle: z.ZodObject<{
246
+ id: z.ZodUUID;
247
+ checksumSha256: z.ZodString;
248
+ byteSize: z.ZodInt;
249
+ }, z.core.$strict>;
250
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
251
+ createdByPrincipalId: z.ZodUUID;
252
+ createdAt: z.ZodISODateTime;
253
+ }, z.core.$strict>;
254
+ productionRevision: z.ZodInt;
255
+ }, z.core.$strict>;
256
+ export declare const CaptionBasisSchema: z.ZodObject<{
257
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
258
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
259
+ productionRevision: z.ZodInt;
260
+ currentVersion: z.ZodInt;
261
+ currentVersionId: z.ZodNullable<z.ZodUUID>;
262
+ authorable: z.ZodBoolean;
263
+ }, z.core.$strict>;
264
+ export declare const CaptionPageSchema: z.ZodObject<{
265
+ items: z.ZodArray<z.ZodObject<{
266
+ version: z.ZodObject<{
267
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
268
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
269
+ transcriptProvenance: z.ZodOptional<z.ZodObject<{
270
+ schemaVersion: z.ZodLiteral<1>;
271
+ advisory: z.ZodLiteral<true>;
272
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
273
+ timelineVersionId: z.ZodUUID;
274
+ timingFingerprint: z.ZodString;
275
+ sources: z.ZodArray<z.ZodObject<{
276
+ observationId: z.ZodUUID;
277
+ artifactId: z.ZodUUID;
278
+ representationId: z.ZodUUID;
279
+ checksumSha256: z.ZodString;
280
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
281
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
282
+ purpose: z.ZodEnum<{
283
+ VOICEOVER: "VOICEOVER";
284
+ MUSIC: "MUSIC";
285
+ }>;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ kind: z.ZodLiteral<"SPEECH_CUE">;
288
+ cueId: z.ZodString;
289
+ }, z.core.$strict>, z.ZodObject<{
290
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
291
+ }, z.core.$strict>], "kind">;
292
+ granularity: z.ZodEnum<{
293
+ word: "word";
294
+ segment: "segment";
295
+ }>;
296
+ sourceInMs: z.ZodInt;
297
+ sourceOutMs: z.ZodInt;
298
+ startMs: z.ZodInt;
299
+ spanIndices: z.ZodArray<z.ZodInt>;
300
+ excludedSpans: z.ZodInt;
301
+ }, z.core.$strict>>;
302
+ }, z.core.$strict>>;
303
+ id: z.ZodUUID;
304
+ captionId: z.ZodUUID;
305
+ projectId: z.ZodUUID;
306
+ version: z.ZodInt;
307
+ artifactId: z.ZodUUID;
308
+ content: z.ZodObject<{
309
+ language: z.ZodString;
310
+ durationMs: z.ZodInt;
311
+ cues: z.ZodArray<z.ZodObject<{
312
+ startMs: z.ZodInt;
313
+ endMs: z.ZodInt;
314
+ text: z.ZodString;
315
+ }, z.core.$strict>>;
316
+ }, z.core.$strict>;
317
+ fingerprint: z.ZodString;
318
+ original: z.ZodObject<{
319
+ id: z.ZodUUID;
320
+ checksumSha256: z.ZodString;
321
+ byteSize: z.ZodInt;
322
+ }, z.core.$strict>;
323
+ subtitle: z.ZodObject<{
324
+ id: z.ZodUUID;
325
+ checksumSha256: z.ZodString;
326
+ byteSize: z.ZodInt;
327
+ }, z.core.$strict>;
328
+ previousVersionId: z.ZodNullable<z.ZodUUID>;
329
+ createdByPrincipalId: z.ZodUUID;
330
+ createdAt: z.ZodISODateTime;
331
+ }, z.core.$strict>;
332
+ isCurrent: z.ZodBoolean;
333
+ availability: z.ZodEnum<{
334
+ UNAVAILABLE: "UNAVAILABLE";
335
+ AVAILABLE: "AVAILABLE";
336
+ }>;
337
+ }, z.core.$strict>>;
338
+ page: z.ZodObject<{
339
+ hasMore: z.ZodBoolean;
340
+ next: z.ZodNullable<z.ZodString>;
341
+ }, z.core.$strip>;
342
+ }, z.core.$strict>;
343
+ export declare const CaptionExportSchema: z.ZodObject<{
344
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
345
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
346
+ versionId: z.ZodUUID;
347
+ format: z.ZodEnum<{
348
+ JSON: "JSON";
349
+ SRT: "SRT";
350
+ }>;
351
+ }, z.core.$strict>;
352
+ export declare const CaptionSnapshotSchema: z.ZodObject<{
353
+ currentVersion: z.ZodNullable<z.ZodInt>;
354
+ currentVersionId: z.ZodNullable<z.ZodUUID>;
355
+ artifactId: z.ZodNullable<z.ZodUUID>;
356
+ availability: z.ZodEnum<{
357
+ UNAVAILABLE: "UNAVAILABLE";
358
+ AVAILABLE: "AVAILABLE";
359
+ NONE: "NONE";
360
+ }>;
361
+ cueCount: z.ZodInt;
362
+ durationMs: z.ZodNullable<z.ZodInt>;
363
+ attachedToTimeline: z.ZodBoolean;
364
+ attachedCaptionVersionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
365
+ attachedTimelineVersionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
366
+ }, z.core.$strict>;
367
+ export type CaptionScope = z.infer<typeof CaptionScopeSchema>;
368
+ export type AuthorCaptions = z.infer<typeof AuthorCaptionsSchema>;
369
+ export type CaptionVersion = z.infer<typeof CaptionVersionSchema>;
370
+ export type CaptionView = z.infer<typeof CaptionViewSchema>;
371
+ export type CaptionReceipt = z.infer<typeof CaptionReceiptSchema>;
372
+ export type CaptionBasis = z.infer<typeof CaptionBasisSchema>;
373
+ export type CaptionExport = z.infer<typeof CaptionExportSchema>;
374
+ export type CaptionSnapshot = z.infer<typeof CaptionSnapshotSchema>;
375
+ export declare const CaptionTranscriptDraftSchema: z.ZodObject<{
376
+ content: z.ZodObject<{
377
+ language: z.ZodString;
378
+ durationMs: z.ZodInt;
379
+ cues: z.ZodArray<z.ZodObject<{
380
+ startMs: z.ZodInt;
381
+ endMs: z.ZodInt;
382
+ text: z.ZodString;
383
+ }, z.core.$strict>>;
384
+ }, z.core.$strict>;
385
+ provenance: z.ZodObject<{
386
+ schemaVersion: z.ZodLiteral<1>;
387
+ advisory: z.ZodLiteral<true>;
388
+ timing: z.ZodLiteral<"PROVIDER_REPORTED">;
389
+ timelineVersionId: z.ZodUUID;
390
+ timingFingerprint: z.ZodString;
391
+ sources: z.ZodArray<z.ZodObject<{
392
+ observationId: z.ZodUUID;
393
+ artifactId: z.ZodUUID;
394
+ representationId: z.ZodUUID;
395
+ checksumSha256: z.ZodString;
396
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
397
+ kind: z.ZodLiteral<"AUDIO_TRACK">;
398
+ purpose: z.ZodEnum<{
399
+ VOICEOVER: "VOICEOVER";
400
+ MUSIC: "MUSIC";
401
+ }>;
402
+ }, z.core.$strict>, z.ZodObject<{
403
+ kind: z.ZodLiteral<"SPEECH_CUE">;
404
+ cueId: z.ZodString;
405
+ }, z.core.$strict>, z.ZodObject<{
406
+ kind: z.ZodLiteral<"TIMELINE_OUTPUT">;
407
+ }, z.core.$strict>], "kind">;
408
+ granularity: z.ZodEnum<{
409
+ word: "word";
410
+ segment: "segment";
411
+ }>;
412
+ sourceInMs: z.ZodInt;
413
+ sourceOutMs: z.ZodInt;
414
+ startMs: z.ZodInt;
415
+ spanIndices: z.ZodArray<z.ZodInt>;
416
+ excludedSpans: z.ZodInt;
417
+ }, z.core.$strict>>;
418
+ }, z.core.$strict>;
419
+ }, z.core.$strict>;
420
+ export type CaptionTranscriptDraft = z.infer<typeof CaptionTranscriptDraftSchema>;
@@ -0,0 +1,14 @@
1
+ import { z } from "zod";
2
+ export declare const ClipFramingSchema: z.ZodObject<{
3
+ algorithm: z.ZodLiteral<"CROP_PAD_V1">;
4
+ crop: z.ZodObject<{
5
+ x: z.ZodInt;
6
+ y: z.ZodInt;
7
+ width: z.ZodInt;
8
+ height: z.ZodInt;
9
+ }, z.core.$strict>;
10
+ anchorXPermille: z.ZodInt;
11
+ anchorYPermille: z.ZodInt;
12
+ }, z.core.$strict>;
13
+ export declare const PicturePolicySchema: z.ZodLiteral<"CROP_PAD_V1">;
14
+ export type ClipFraming = z.infer<typeof ClipFramingSchema>;
@@ -0,0 +1,6 @@
1
+ import { z } from "zod";
2
+ export declare const ClipTransitionSchema: z.ZodUnion<readonly [z.ZodLiteral<"CUT">, z.ZodObject<{
3
+ kind: z.ZodLiteral<"CROSS_DISSOLVE_V1">;
4
+ durationFrames: z.ZodInt;
5
+ }, z.core.$strict>]>;
6
+ export type ClipTransition = z.infer<typeof ClipTransitionSchema>;
@@ -0,0 +1,160 @@
1
+ import { z } from "zod";
2
+ export declare const CompositionAuthoringRequirementsSchema: z.ZodObject<{
3
+ videoFrameCache: z.ZodOptional<z.ZodObject<{
4
+ profileId: z.ZodLiteral<"HYPERFRAME_1080P30_FRAME_CACHE_V2">;
5
+ media: z.ZodLiteral<"MANAGED_MP4_H264_CFR30_SDR_YUV420P">;
6
+ maxVideos: z.ZodLiteral<4>;
7
+ maxDimension: z.ZodLiteral<1920>;
8
+ maxPixels: z.ZodLiteral<2073600>;
9
+ maxSourceSeconds: z.ZodLiteral<60>;
10
+ playbackRate: z.ZodLiteral<1>;
11
+ loop: z.ZodLiteral<false>;
12
+ sourceOffset: z.ZodLiteral<"ZERO_BASED_FRAME_ALIGNED">;
13
+ srcPattern: z.ZodLiteral<"/inputs/{inputName}.mp4">;
14
+ attributes: z.ZodTuple<[z.ZodLiteral<"id">, z.ZodLiteral<"src">, z.ZodLiteral<"data-start">, z.ZodLiteral<"data-duration">], null>;
15
+ dynamicVideoSupported: z.ZodLiteral<false>;
16
+ nativePlaybackAndCanvasSamplingSupported: z.ZodLiteral<false>;
17
+ }, z.core.$strict>>;
18
+ semantics: z.ZodLiteral<"REQUIREMENTS_NOT_RUNTIME_OR_REVIEW_EVIDENCE">;
19
+ dependencies: z.ZodArray<z.ZodObject<{
20
+ name: z.ZodString;
21
+ version: z.ZodString;
22
+ integrity: z.ZodString;
23
+ }, z.core.$strict>>;
24
+ html: z.ZodObject<{
25
+ entrypoint: z.ZodLiteral<"index.html">;
26
+ stageSelector: z.ZodLiteral<"#stage">;
27
+ timelineRegistry: z.ZodLiteral<"window.__timelines">;
28
+ readinessPromise: z.ZodLiteral<"window.__nativeReady">;
29
+ gsapScript: z.ZodLiteral<"/_native/gsap.min.js">;
30
+ managedInputsScript: z.ZodLiteral<"/native-inputs.js">;
31
+ rootAttributes: z.ZodTuple<[z.ZodLiteral<"data-composition-id">, z.ZodLiteral<"data-width">, z.ZodLiteral<"data-height">, z.ZodLiteral<"data-duration">], null>;
32
+ timing: z.ZodLiteral<"PAUSED_GSAP_TIMELINE_WITH_DURATION_MATCHING_LOCAL_CLOCK">;
33
+ }, z.core.$strict>;
34
+ }, z.core.$strict>;
35
+ export declare const CompositionAuthoringGuideSchema: z.ZodObject<{
36
+ inputTool: z.ZodLiteral<"composition_put_input">;
37
+ inputField: z.ZodLiteral<"contentUtf8">;
38
+ encoding: z.ZodLiteral<"UTF8_JSON">;
39
+ schemas: z.ZodObject<{
40
+ SOURCE: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
41
+ DEPENDENCY_MANIFEST: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
42
+ DEPENDENCY_LOCK: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
43
+ }, z.core.$strict>;
44
+ rendererRequirements: z.ZodNullable<z.ZodObject<{
45
+ videoFrameCache: z.ZodOptional<z.ZodObject<{
46
+ profileId: z.ZodLiteral<"HYPERFRAME_1080P30_FRAME_CACHE_V2">;
47
+ media: z.ZodLiteral<"MANAGED_MP4_H264_CFR30_SDR_YUV420P">;
48
+ maxVideos: z.ZodLiteral<4>;
49
+ maxDimension: z.ZodLiteral<1920>;
50
+ maxPixels: z.ZodLiteral<2073600>;
51
+ maxSourceSeconds: z.ZodLiteral<60>;
52
+ playbackRate: z.ZodLiteral<1>;
53
+ loop: z.ZodLiteral<false>;
54
+ sourceOffset: z.ZodLiteral<"ZERO_BASED_FRAME_ALIGNED">;
55
+ srcPattern: z.ZodLiteral<"/inputs/{inputName}.mp4">;
56
+ attributes: z.ZodTuple<[z.ZodLiteral<"id">, z.ZodLiteral<"src">, z.ZodLiteral<"data-start">, z.ZodLiteral<"data-duration">], null>;
57
+ dynamicVideoSupported: z.ZodLiteral<false>;
58
+ nativePlaybackAndCanvasSamplingSupported: z.ZodLiteral<false>;
59
+ }, z.core.$strict>>;
60
+ semantics: z.ZodLiteral<"REQUIREMENTS_NOT_RUNTIME_OR_REVIEW_EVIDENCE">;
61
+ dependencies: z.ZodArray<z.ZodObject<{
62
+ name: z.ZodString;
63
+ version: z.ZodString;
64
+ integrity: z.ZodString;
65
+ }, z.core.$strict>>;
66
+ html: z.ZodObject<{
67
+ entrypoint: z.ZodLiteral<"index.html">;
68
+ stageSelector: z.ZodLiteral<"#stage">;
69
+ timelineRegistry: z.ZodLiteral<"window.__timelines">;
70
+ readinessPromise: z.ZodLiteral<"window.__nativeReady">;
71
+ gsapScript: z.ZodLiteral<"/_native/gsap.min.js">;
72
+ managedInputsScript: z.ZodLiteral<"/native-inputs.js">;
73
+ rootAttributes: z.ZodTuple<[z.ZodLiteral<"data-composition-id">, z.ZodLiteral<"data-width">, z.ZodLiteral<"data-height">, z.ZodLiteral<"data-duration">], null>;
74
+ timing: z.ZodLiteral<"PAUSED_GSAP_TIMELINE_WITH_DURATION_MATCHING_LOCAL_CLOCK">;
75
+ }, z.core.$strict>;
76
+ }, z.core.$strict>>;
77
+ dependencyInputs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78
+ dependencies: z.ZodArray<z.ZodObject<{
79
+ name: z.ZodString;
80
+ version: z.ZodString;
81
+ integrity: z.ZodString;
82
+ }, z.core.$strict>>;
83
+ manifest: z.ZodObject<{
84
+ dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
85
+ }, z.core.$strip>;
86
+ lock: z.ZodObject<{
87
+ lockfileVersion: z.ZodLiteral<3>;
88
+ packages: z.ZodRecord<z.ZodString, z.ZodObject<{
89
+ version: z.ZodOptional<z.ZodString>;
90
+ integrity: z.ZodOptional<z.ZodString>;
91
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
92
+ }, z.core.$strip>>;
93
+ }, z.core.$strip>;
94
+ }, z.core.$strict>>>;
95
+ validation: z.ZodLiteral<"NATIVE_OWNER_RECHECKS_BYTES_BASIS_AND_SEMANTIC_REFINEMENTS">;
96
+ }, z.core.$strict>;
97
+ export type CompositionAuthoringRequirements = z.infer<typeof CompositionAuthoringRequirementsSchema>;
98
+ /** The same owner schemas describe embedded JSON; refinements still run at admission. */
99
+ export declare function compositionAuthoringGuide(requirements?: CompositionAuthoringRequirements): {
100
+ inputTool: "composition_put_input";
101
+ inputField: "contentUtf8";
102
+ encoding: "UTF8_JSON";
103
+ schemas: {
104
+ SOURCE: Record<string, z.core.util.JSONType>;
105
+ DEPENDENCY_MANIFEST: Record<string, z.core.util.JSONType>;
106
+ DEPENDENCY_LOCK: Record<string, z.core.util.JSONType>;
107
+ };
108
+ rendererRequirements: {
109
+ semantics: "REQUIREMENTS_NOT_RUNTIME_OR_REVIEW_EVIDENCE";
110
+ dependencies: {
111
+ name: string;
112
+ version: string;
113
+ integrity: string;
114
+ }[];
115
+ html: {
116
+ entrypoint: "index.html";
117
+ stageSelector: "#stage";
118
+ timelineRegistry: "window.__timelines";
119
+ readinessPromise: "window.__nativeReady";
120
+ gsapScript: "/_native/gsap.min.js";
121
+ managedInputsScript: "/native-inputs.js";
122
+ rootAttributes: ["data-composition-id", "data-width", "data-height", "data-duration"];
123
+ timing: "PAUSED_GSAP_TIMELINE_WITH_DURATION_MATCHING_LOCAL_CLOCK";
124
+ };
125
+ videoFrameCache?: {
126
+ profileId: "HYPERFRAME_1080P30_FRAME_CACHE_V2";
127
+ media: "MANAGED_MP4_H264_CFR30_SDR_YUV420P";
128
+ maxVideos: 4;
129
+ maxDimension: 1920;
130
+ maxPixels: 2073600;
131
+ maxSourceSeconds: 60;
132
+ playbackRate: 1;
133
+ loop: false;
134
+ sourceOffset: "ZERO_BASED_FRAME_ALIGNED";
135
+ srcPattern: "/inputs/{inputName}.mp4";
136
+ attributes: ["id", "src", "data-start", "data-duration"];
137
+ dynamicVideoSupported: false;
138
+ nativePlaybackAndCanvasSamplingSupported: false;
139
+ } | undefined;
140
+ } | null;
141
+ validation: "NATIVE_OWNER_RECHECKS_BYTES_BASIS_AND_SEMANTIC_REFINEMENTS";
142
+ dependencyInputs?: {
143
+ dependencies: {
144
+ name: string;
145
+ version: string;
146
+ integrity: string;
147
+ }[];
148
+ manifest: {
149
+ dependencies: Record<string, string>;
150
+ };
151
+ lock: {
152
+ lockfileVersion: 3;
153
+ packages: Record<string, {
154
+ version?: string | undefined;
155
+ integrity?: string | undefined;
156
+ dependencies?: Record<string, string> | undefined;
157
+ }>;
158
+ };
159
+ } | null | undefined;
160
+ };