@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,112 @@
1
+ import { z } from "zod";
2
+ export declare const VisualFrameSequenceSchema: z.ZodObject<{
3
+ schemaVersion: z.ZodLiteral<1>;
4
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
5
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
6
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
7
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
8
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
9
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
10
+ checksumSha256: z.ZodString;
11
+ width: z.ZodInt;
12
+ height: z.ZodInt;
13
+ frameRate: z.ZodLiteral<30>;
14
+ frameCount: z.ZodInt;
15
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
16
+ frames: z.ZodArray<z.ZodObject<{
17
+ ordinal: z.ZodInt;
18
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
19
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
20
+ checksumSha256: z.ZodString;
21
+ byteSize: z.ZodInt;
22
+ }, z.core.$strict>>;
23
+ }, z.core.$strict>;
24
+ export declare const VisualLayerPlacementSchema: z.ZodObject<{
25
+ xPermille: z.ZodInt;
26
+ yPermille: z.ZodInt;
27
+ widthPermille: z.ZodInt;
28
+ heightPermille: z.ZodInt;
29
+ }, z.core.$strict>;
30
+ export declare const VisualLayerSchema: z.ZodObject<{
31
+ id: z.ZodUUID;
32
+ source: z.ZodObject<{
33
+ schemaVersion: z.ZodLiteral<1>;
34
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
35
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
36
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
37
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
38
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
39
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
40
+ checksumSha256: z.ZodString;
41
+ width: z.ZodInt;
42
+ height: z.ZodInt;
43
+ frameRate: z.ZodLiteral<30>;
44
+ frameCount: z.ZodInt;
45
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
46
+ frames: z.ZodArray<z.ZodObject<{
47
+ ordinal: z.ZodInt;
48
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
49
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
50
+ checksumSha256: z.ZodString;
51
+ byteSize: z.ZodInt;
52
+ }, z.core.$strict>>;
53
+ }, z.core.$strict>;
54
+ sourceInFrame: z.ZodInt;
55
+ sourceOutFrame: z.ZodInt;
56
+ startFrame: z.ZodInt;
57
+ zIndex: z.ZodInt;
58
+ opacityPermille: z.ZodInt;
59
+ placement: z.ZodObject<{
60
+ xPermille: z.ZodInt;
61
+ yPermille: z.ZodInt;
62
+ widthPermille: z.ZodInt;
63
+ heightPermille: z.ZodInt;
64
+ }, z.core.$strict>;
65
+ }, z.core.$strict>;
66
+ export declare const VisualLayerCompositionSchema: z.ZodObject<{
67
+ schemaVersion: z.ZodLiteral<1>;
68
+ profileId: z.ZodLiteral<"STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1">;
69
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
70
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
71
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
72
+ totalFrames: z.ZodInt;
73
+ layers: z.ZodArray<z.ZodObject<{
74
+ id: z.ZodUUID;
75
+ source: z.ZodObject<{
76
+ schemaVersion: z.ZodLiteral<1>;
77
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
78
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
79
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
80
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
81
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
82
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
83
+ checksumSha256: z.ZodString;
84
+ width: z.ZodInt;
85
+ height: z.ZodInt;
86
+ frameRate: z.ZodLiteral<30>;
87
+ frameCount: z.ZodInt;
88
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
89
+ frames: z.ZodArray<z.ZodObject<{
90
+ ordinal: z.ZodInt;
91
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
92
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
93
+ checksumSha256: z.ZodString;
94
+ byteSize: z.ZodInt;
95
+ }, z.core.$strict>>;
96
+ }, z.core.$strict>;
97
+ sourceInFrame: z.ZodInt;
98
+ sourceOutFrame: z.ZodInt;
99
+ startFrame: z.ZodInt;
100
+ zIndex: z.ZodInt;
101
+ opacityPermille: z.ZodInt;
102
+ placement: z.ZodObject<{
103
+ xPermille: z.ZodInt;
104
+ yPermille: z.ZodInt;
105
+ widthPermille: z.ZodInt;
106
+ heightPermille: z.ZodInt;
107
+ }, z.core.$strict>;
108
+ }, z.core.$strict>>;
109
+ }, z.core.$strict>;
110
+ export type VisualFrameSequence = z.infer<typeof VisualFrameSequenceSchema>;
111
+ export type VisualLayer = z.infer<typeof VisualLayerSchema>;
112
+ export type VisualLayerComposition = z.infer<typeof VisualLayerCompositionSchema>;
@@ -0,0 +1,121 @@
1
+ import { z } from "zod";
2
+ export declare const VisualSequenceScopeSchema: z.ZodObject<{
3
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
4
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
5
+ }, z.core.$strict>;
6
+ export declare const RegisterVisualSequenceSchema: z.ZodObject<{
7
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
8
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
9
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
10
+ idempotencyKey: z.ZodString;
11
+ width: z.ZodInt;
12
+ height: z.ZodInt;
13
+ frameArtifactIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">>;
14
+ }, z.core.$strict>;
15
+ export declare const VisualSequenceGetSchema: z.ZodObject<{
16
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
17
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
18
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
19
+ }, z.core.$strict>;
20
+ export declare const VisualSequenceViewSchema: z.ZodObject<{
21
+ sequence: z.ZodObject<{
22
+ schemaVersion: z.ZodLiteral<1>;
23
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
24
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
25
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
26
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
27
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
28
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
29
+ checksumSha256: z.ZodString;
30
+ width: z.ZodInt;
31
+ height: z.ZodInt;
32
+ frameRate: z.ZodLiteral<30>;
33
+ frameCount: z.ZodInt;
34
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
35
+ frames: z.ZodArray<z.ZodObject<{
36
+ ordinal: z.ZodInt;
37
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
38
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
39
+ checksumSha256: z.ZodString;
40
+ byteSize: z.ZodInt;
41
+ }, z.core.$strict>>;
42
+ }, z.core.$strict>;
43
+ freshness: z.ZodEnum<{
44
+ STALE_BASIS: "STALE_BASIS";
45
+ CURRENT_BASIS: "CURRENT_BASIS";
46
+ }>;
47
+ staleReasons: z.ZodArray<z.ZodEnum<{
48
+ SEQUENCE_UNAVAILABLE: "SEQUENCE_UNAVAILABLE";
49
+ FRAME_UNAVAILABLE: "FRAME_UNAVAILABLE";
50
+ }>>;
51
+ createdAt: z.ZodISODateTime;
52
+ }, z.core.$strict>;
53
+ export declare const VisualSequenceQuerySchema: z.ZodObject<{
54
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
55
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
56
+ limit: z.ZodDefault<z.ZodInt>;
57
+ next: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strict>;
59
+ export declare const VisualSequencePageSchema: z.ZodObject<{
60
+ items: z.ZodArray<z.ZodObject<{
61
+ sequence: z.ZodObject<{
62
+ schemaVersion: z.ZodLiteral<1>;
63
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
64
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
65
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
66
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
67
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
68
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
69
+ checksumSha256: z.ZodString;
70
+ width: z.ZodInt;
71
+ height: z.ZodInt;
72
+ frameRate: z.ZodLiteral<30>;
73
+ frameCount: z.ZodInt;
74
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
75
+ frames: z.ZodArray<z.ZodObject<{
76
+ ordinal: z.ZodInt;
77
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
78
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
79
+ checksumSha256: z.ZodString;
80
+ byteSize: z.ZodInt;
81
+ }, z.core.$strict>>;
82
+ }, z.core.$strict>;
83
+ freshness: z.ZodEnum<{
84
+ STALE_BASIS: "STALE_BASIS";
85
+ CURRENT_BASIS: "CURRENT_BASIS";
86
+ }>;
87
+ staleReasons: z.ZodArray<z.ZodEnum<{
88
+ SEQUENCE_UNAVAILABLE: "SEQUENCE_UNAVAILABLE";
89
+ FRAME_UNAVAILABLE: "FRAME_UNAVAILABLE";
90
+ }>>;
91
+ createdAt: z.ZodISODateTime;
92
+ }, z.core.$strict>>;
93
+ page: z.ZodObject<{
94
+ hasMore: z.ZodBoolean;
95
+ next: z.ZodNullable<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ }, z.core.$strict>;
98
+ export declare const VisualSequenceManifestSchema: z.ZodObject<{
99
+ schemaVersion: z.ZodLiteral<1>;
100
+ profileId: z.ZodLiteral<"RGBA_PNG_SEQUENCE_30_V1">;
101
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
102
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
103
+ productionId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
104
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
105
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
106
+ width: z.ZodInt;
107
+ height: z.ZodInt;
108
+ frameRate: z.ZodLiteral<30>;
109
+ frameCount: z.ZodInt;
110
+ alpha: z.ZodLiteral<"STRAIGHT_RGBA">;
111
+ frames: z.ZodArray<z.ZodObject<{
112
+ ordinal: z.ZodInt;
113
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
114
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
115
+ checksumSha256: z.ZodString;
116
+ byteSize: z.ZodInt;
117
+ }, z.core.$strict>>;
118
+ }, z.core.$strict>;
119
+ export type RegisterVisualSequence = z.infer<typeof RegisterVisualSequenceSchema>;
120
+ export type VisualSequenceView = z.infer<typeof VisualSequenceViewSchema>;
121
+ export type VisualSequenceGet = z.infer<typeof VisualSequenceGetSchema>;
@@ -0,0 +1,268 @@
1
+ import { z } from "zod";
2
+ export declare const WriterScopeSchema: z.ZodObject<{
3
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
4
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
5
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
6
+ }, z.core.$strict>;
7
+ export declare const WriterBasisSchema: z.ZodObject<{
8
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
9
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
10
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
11
+ productionRevision: z.ZodInt;
12
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
13
+ briefVersion: z.ZodInt;
14
+ }, z.core.$strict>;
15
+ export declare const WriterAlternativeSchema: z.ZodObject<{
16
+ alternativeId: z.ZodString;
17
+ title: z.ZodString;
18
+ story: z.ZodObject<{
19
+ narrativeIntent: z.ZodString;
20
+ beats: z.ZodArray<z.ZodObject<{
21
+ summary: z.ZodString;
22
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
23
+ }, z.core.$strict>>;
24
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
25
+ key: z.ZodString;
26
+ value: z.ZodString;
27
+ }, z.core.$strict>>>;
28
+ }, z.core.$strict>;
29
+ rationale: z.ZodObject<{
30
+ coreMessage: z.ZodString;
31
+ hook: z.ZodString;
32
+ audienceFit: z.ZodString;
33
+ pacingIntent: z.ZodString;
34
+ endingIntent: z.ZodString;
35
+ tradeoffs: z.ZodArray<z.ZodString>;
36
+ }, z.core.$strict>;
37
+ beatDurationsSeconds: z.ZodArray<z.ZodInt>;
38
+ }, z.core.$strict>;
39
+ export declare const WriterProposalSchema: z.ZodObject<{
40
+ origin: z.ZodObject<{
41
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
42
+ label: z.ZodString;
43
+ }, z.core.$strict>;
44
+ unknowns: z.ZodArray<z.ZodString>;
45
+ alternatives: z.ZodArray<z.ZodObject<{
46
+ alternativeId: z.ZodString;
47
+ title: z.ZodString;
48
+ story: z.ZodObject<{
49
+ narrativeIntent: z.ZodString;
50
+ beats: z.ZodArray<z.ZodObject<{
51
+ summary: z.ZodString;
52
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
53
+ }, z.core.$strict>>;
54
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
55
+ key: z.ZodString;
56
+ value: z.ZodString;
57
+ }, z.core.$strict>>>;
58
+ }, z.core.$strict>;
59
+ rationale: z.ZodObject<{
60
+ coreMessage: z.ZodString;
61
+ hook: z.ZodString;
62
+ audienceFit: z.ZodString;
63
+ pacingIntent: z.ZodString;
64
+ endingIntent: z.ZodString;
65
+ tradeoffs: z.ZodArray<z.ZodString>;
66
+ }, z.core.$strict>;
67
+ beatDurationsSeconds: z.ZodArray<z.ZodInt>;
68
+ }, z.core.$strict>>;
69
+ }, z.core.$strict>;
70
+ export declare const ValidateWriterProposalSchema: z.ZodObject<{
71
+ basis: z.ZodObject<{
72
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
73
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
74
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
75
+ productionRevision: z.ZodInt;
76
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
77
+ briefVersion: z.ZodInt;
78
+ }, z.core.$strict>;
79
+ revisionReason: z.ZodOptional<z.ZodString>;
80
+ proposal: z.ZodObject<{
81
+ origin: z.ZodObject<{
82
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
83
+ label: z.ZodString;
84
+ }, z.core.$strict>;
85
+ unknowns: z.ZodArray<z.ZodString>;
86
+ alternatives: z.ZodArray<z.ZodObject<{
87
+ alternativeId: z.ZodString;
88
+ title: z.ZodString;
89
+ story: z.ZodObject<{
90
+ narrativeIntent: z.ZodString;
91
+ beats: z.ZodArray<z.ZodObject<{
92
+ summary: z.ZodString;
93
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
94
+ }, z.core.$strict>>;
95
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ key: z.ZodString;
97
+ value: z.ZodString;
98
+ }, z.core.$strict>>>;
99
+ }, z.core.$strict>;
100
+ rationale: z.ZodObject<{
101
+ coreMessage: z.ZodString;
102
+ hook: z.ZodString;
103
+ audienceFit: z.ZodString;
104
+ pacingIntent: z.ZodString;
105
+ endingIntent: z.ZodString;
106
+ tradeoffs: z.ZodArray<z.ZodString>;
107
+ }, z.core.$strict>;
108
+ beatDurationsSeconds: z.ZodArray<z.ZodInt>;
109
+ }, z.core.$strict>>;
110
+ }, z.core.$strict>;
111
+ }, z.core.$strict>;
112
+ export declare const WriterBriefResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
114
+ basis: z.ZodObject<{
115
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
116
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
117
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
118
+ productionRevision: z.ZodInt;
119
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
120
+ briefVersion: z.ZodInt;
121
+ }, z.core.$strict>;
122
+ briefVersion: z.ZodObject<{
123
+ id: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
124
+ briefId: z.core.$ZodBranded<z.ZodUUID, "BriefId", "out">;
125
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
126
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
127
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
128
+ version: z.ZodInt;
129
+ content: z.ZodObject<{
130
+ objective: z.ZodString;
131
+ productPresentationGoal: z.ZodString;
132
+ audience: z.ZodOptional<z.ZodString>;
133
+ styleTone: z.ZodOptional<z.ZodString>;
134
+ callToAction: z.ZodOptional<z.ZodString>;
135
+ targetDurationSeconds: z.ZodInt;
136
+ aspectRatio: z.ZodEnum<{
137
+ "16:9": "16:9";
138
+ "9:16": "9:16";
139
+ }>;
140
+ outputProfile: z.ZodEnum<{
141
+ MP4_H264_1080P: "MP4_H264_1080P";
142
+ MP4_H264_720P: "MP4_H264_720P";
143
+ MP4_H264_480P: "MP4_H264_480P";
144
+ }>;
145
+ canonicalFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
146
+ key: z.ZodString;
147
+ value: z.ZodString;
148
+ sourceArtifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
149
+ evidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ kind: z.ZodLiteral<"JSON_POINTER">;
151
+ pointer: z.ZodString;
152
+ }, z.core.$strict>, z.ZodObject<{
153
+ kind: z.ZodLiteral<"EXACT_TEXT_LINE">;
154
+ }, z.core.$strict>], "kind">;
155
+ }, z.core.$strict>>>;
156
+ }, z.core.$strict>;
157
+ sources: z.ZodArray<z.ZodObject<{
158
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
159
+ checksumSha256: z.ZodString;
160
+ }, z.core.$strict>>;
161
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
162
+ createdAt: z.ZodISODateTime;
163
+ }, z.core.$strict>;
164
+ }, z.core.$strict>, z.ZodObject<{
165
+ semanticStatus: z.ZodLiteral<"NEEDS_INPUT">;
166
+ missingPrerequisites: z.ZodArray<z.ZodLiteral<"ACTIVE_BRIEF">>;
167
+ }, z.core.$strict>], "semanticStatus">;
168
+ export declare const WriterAcceptanceDraftSchema: z.ZodObject<{
169
+ alternativeId: z.ZodString;
170
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
171
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
172
+ request: z.ZodObject<{
173
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
174
+ expectedProductionRevision: z.ZodInt;
175
+ revisionReason: z.ZodOptional<z.ZodString>;
176
+ content: z.ZodObject<{
177
+ narrativeIntent: z.ZodString;
178
+ beats: z.ZodArray<z.ZodObject<{
179
+ summary: z.ZodString;
180
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
181
+ }, z.core.$strict>>;
182
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
183
+ key: z.ZodString;
184
+ value: z.ZodString;
185
+ }, z.core.$strict>>>;
186
+ }, z.core.$strict>;
187
+ expectedBriefVersion: z.ZodInt;
188
+ }, z.core.$strict>;
189
+ }, z.core.$strict>;
190
+ export declare const WriterValidationResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
191
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
192
+ advisory: z.ZodLiteral<true>;
193
+ basis: z.ZodObject<{
194
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
195
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
196
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
197
+ productionRevision: z.ZodInt;
198
+ briefVersionId: z.core.$ZodBranded<z.ZodUUID, "BriefVersionId", "out">;
199
+ briefVersion: z.ZodInt;
200
+ }, z.core.$strict>;
201
+ proposal: z.ZodObject<{
202
+ origin: z.ZodObject<{
203
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
204
+ label: z.ZodString;
205
+ }, z.core.$strict>;
206
+ unknowns: z.ZodArray<z.ZodString>;
207
+ alternatives: z.ZodArray<z.ZodObject<{
208
+ alternativeId: z.ZodString;
209
+ title: z.ZodString;
210
+ story: z.ZodObject<{
211
+ narrativeIntent: z.ZodString;
212
+ beats: z.ZodArray<z.ZodObject<{
213
+ summary: z.ZodString;
214
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
215
+ }, z.core.$strict>>;
216
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
217
+ key: z.ZodString;
218
+ value: z.ZodString;
219
+ }, z.core.$strict>>>;
220
+ }, z.core.$strict>;
221
+ rationale: z.ZodObject<{
222
+ coreMessage: z.ZodString;
223
+ hook: z.ZodString;
224
+ audienceFit: z.ZodString;
225
+ pacingIntent: z.ZodString;
226
+ endingIntent: z.ZodString;
227
+ tradeoffs: z.ZodArray<z.ZodString>;
228
+ }, z.core.$strict>;
229
+ beatDurationsSeconds: z.ZodArray<z.ZodInt>;
230
+ }, z.core.$strict>>;
231
+ }, z.core.$strict>;
232
+ acceptanceDrafts: z.ZodArray<z.ZodObject<{
233
+ alternativeId: z.ZodString;
234
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
235
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
236
+ request: z.ZodObject<{
237
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
238
+ expectedProductionRevision: z.ZodInt;
239
+ revisionReason: z.ZodOptional<z.ZodString>;
240
+ content: z.ZodObject<{
241
+ narrativeIntent: z.ZodString;
242
+ beats: z.ZodArray<z.ZodObject<{
243
+ summary: z.ZodString;
244
+ sceneRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
245
+ }, z.core.$strict>>;
246
+ factualClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
247
+ key: z.ZodString;
248
+ value: z.ZodString;
249
+ }, z.core.$strict>>>;
250
+ }, z.core.$strict>;
251
+ expectedBriefVersion: z.ZodInt;
252
+ }, z.core.$strict>;
253
+ }, z.core.$strict>>;
254
+ limitations: z.ZodArray<z.ZodEnum<{
255
+ PROSE_IS_CREATIVE_INTENT_NOT_FACT_VERIFIED: "PROSE_IS_CREATIVE_INTENT_NOT_FACT_VERIFIED";
256
+ PACING_IS_ADVISORY_NOT_TIMELINE_TRUTH: "PACING_IS_ADVISORY_NOT_TIMELINE_TRUTH";
257
+ ACCEPTANCE_RECHECKS_CURRENT_BASIS: "ACCEPTANCE_RECHECKS_CURRENT_BASIS";
258
+ }>>;
259
+ }, z.core.$strict>, z.ZodObject<{
260
+ semanticStatus: z.ZodLiteral<"NEEDS_INPUT">;
261
+ missingPrerequisites: z.ZodArray<z.ZodLiteral<"ACTIVE_BRIEF">>;
262
+ }, z.core.$strict>], "semanticStatus">;
263
+ export type WriterScope = z.input<typeof WriterScopeSchema>;
264
+ export type WriterBasis = z.infer<typeof WriterBasisSchema>;
265
+ export type WriterProposal = z.infer<typeof WriterProposalSchema>;
266
+ export type ValidateWriterProposal = z.input<typeof ValidateWriterProposalSchema>;
267
+ export type WriterBriefResult = z.infer<typeof WriterBriefResultSchema>;
268
+ export type WriterValidationResult = z.infer<typeof WriterValidationResultSchema>;
@@ -0,0 +1,9 @@
1
+ import type { InterfaceSemanticStatus } from "../contracts/index.js";
2
+ export declare class NativeStudioSdkError extends Error {
3
+ readonly code: string;
4
+ readonly semanticStatus: InterfaceSemanticStatus;
5
+ readonly outcome: "NO_WRITE" | "UNKNOWN" | "REJECTED";
6
+ readonly status: number | null;
7
+ constructor(code: string, semanticStatus: InterfaceSemanticStatus, outcome: "NO_WRITE" | "UNKNOWN" | "REJECTED", status?: number | null);
8
+ }
9
+ export declare function sdkInputError(): never;
@@ -0,0 +1,77 @@
1
+ import { z } from "zod";
2
+ import { EnrollLocalDeviceSchema, GrantLocalDeviceSchema, RevokeLocalDeviceSchema, RevokeLocalDeviceGrantSchema, StartLocalPreviewSchema } from "../../contracts/local-execution/index.js";
3
+ /** Human/member-authorized native management; never composed with an MCP execution connector. */
4
+ export declare class NativeStudioLocalDeviceClient {
5
+ private readonly options;
6
+ private readonly origin;
7
+ constructor(options: {
8
+ baseUrl: string;
9
+ tenantId: string;
10
+ authorization: () => Promise<string> | string;
11
+ });
12
+ private command;
13
+ enroll(input: z.infer<typeof EnrollLocalDeviceSchema>, signal?: AbortSignal): Promise<{
14
+ tenantId: string;
15
+ publicKey: {
16
+ kty: "EC";
17
+ crv: "P-256";
18
+ x: string;
19
+ y: string;
20
+ };
21
+ label: string;
22
+ platform: {
23
+ os: "darwin" | "linux" | "win32";
24
+ architecture: "x64" | "arm64";
25
+ };
26
+ runtimeVersion: string;
27
+ deviceId: string;
28
+ revision: number;
29
+ enrolledByPrincipalId: string;
30
+ createdAt: string;
31
+ verifiedAt: string | null;
32
+ revokedAt: string | null;
33
+ }>;
34
+ grant(input: z.infer<typeof GrantLocalDeviceSchema>, signal?: AbortSignal): Promise<{
35
+ tenantId: string;
36
+ projectId: string;
37
+ capability: "ROUGH_CUT_PREVIEW_V1";
38
+ expiresAt: string;
39
+ deviceId: string;
40
+ deviceRevision: number;
41
+ grantId: string;
42
+ revision: number;
43
+ approvedByPrincipalId: string;
44
+ createdAt: string;
45
+ revokedAt: string | null;
46
+ }>;
47
+ revokeDevice(input: z.infer<typeof RevokeLocalDeviceSchema>, signal?: AbortSignal): Promise<{
48
+ semanticStatus: "SUCCESS";
49
+ }>;
50
+ revokeGrant(input: z.infer<typeof RevokeLocalDeviceGrantSchema>, signal?: AbortSignal): Promise<{
51
+ semanticStatus: "SUCCESS";
52
+ }>;
53
+ startPreview(input: z.infer<typeof StartLocalPreviewSchema>, signal?: AbortSignal): Promise<{
54
+ semanticStatus: "ACCEPTED";
55
+ renderId: string;
56
+ operationId: string & z.core.$brand<"OperationId">;
57
+ productionId: string;
58
+ timelineVersionId: string;
59
+ timelineFingerprint: string;
60
+ executionClass: "LIVE" | "TEST_ONLY";
61
+ manifestFingerprint: string;
62
+ productionRevision: number;
63
+ placement: {
64
+ target: "DEVICE" | "SERVER";
65
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
66
+ policy: {
67
+ mode: "local-only";
68
+ deviceId: string;
69
+ } | {
70
+ mode: "local-preferred";
71
+ deviceId: string;
72
+ } | {
73
+ mode: "cloud-only";
74
+ };
75
+ };
76
+ }>;
77
+ }