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

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 +94 -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-2UYKJ6YN.js +1 -0
  8. package/dist/_chunks/chunk-66CUOZVI.js +1 -0
  9. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  10. package/dist/_chunks/chunk-7S3DJ2QE.js +1 -0
  11. package/dist/_chunks/chunk-BVSTJQJI.js +1 -0
  12. package/dist/_chunks/chunk-C33A2DW4.js +1 -0
  13. package/dist/_chunks/chunk-C753RRRA.js +1 -0
  14. package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
  15. package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
  16. package/dist/_chunks/chunk-HLKERZIE.js +1 -0
  17. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  18. package/dist/_chunks/chunk-K6LVS2IN.js +1 -0
  19. package/dist/_chunks/chunk-KHKUJXQX.js +1 -0
  20. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  21. package/dist/_chunks/chunk-VC3ODN3M.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-FZEK2ZZJ.js +1 -0
  25. package/dist/_chunks/local-main-NLFS74Q4.js +1 -0
  26. package/dist/_chunks/local-mcp-OLHBBVNN.js +1 -0
  27. package/dist/_chunks/main-VRIQTI6R.js +2 -0
  28. package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
  29. package/dist/_chunks/oauth-F7EZGVME.js +1 -0
  30. package/dist/_chunks/project-connect-MXM7IY55.js +1 -0
  31. package/dist/_chunks/src-7F6ZEU3U.js +1 -0
  32. package/dist/_chunks/stdio-main-KOGQ5OWF.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 +281 -0
  35. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  36. package/dist/_types/cli/local/desktop-owner.d.ts +34 -0
  37. package/dist/_types/cli/local/ledger.d.ts +309 -0
  38. package/dist/_types/cli/local/manager.d.ts +620 -0
  39. package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
  40. package/dist/_types/cli/local/releases.d.ts +101 -0
  41. package/dist/_types/cli/local-management.d.ts +12 -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 +347 -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,419 @@
1
+ import { z } from "zod";
2
+ import { LocalMcpOutputSchemas } from "../../sdk/local-runtime-client.js";
3
+ export declare const localTools: {
4
+ readonly local_navigate: {
5
+ readonly description: "Local execution entry. Discover Project-scoped Runtime progress, recovery and updates. Native writes remain with the cloud owner.";
6
+ readonly input: z.ZodObject<{
7
+ intent: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strict>;
9
+ };
10
+ readonly local_capability_describe: {
11
+ readonly description: "Inspect the exact public schema for a local capability. Standard discovery stays stable; each call validates current Runtime authority.";
12
+ readonly input: z.ZodObject<{
13
+ tool: z.ZodEnum<{
14
+ local_runtime_status: "local_runtime_status";
15
+ local_execution_list: "local_execution_list";
16
+ local_execution_inspect: "local_execution_inspect";
17
+ local_update_check: "local_update_check";
18
+ }>;
19
+ }, z.core.$strict>;
20
+ };
21
+ readonly local_runtime_status: {
22
+ readonly description: "Read current authorized local Runtime status. Does not start, stop or mutate native work.";
23
+ readonly input: z.ZodObject<{}, z.core.$strict>;
24
+ };
25
+ readonly local_execution_list: {
26
+ readonly description: "List a bounded page of pending local execution identities in one authorized Project, then inspect an exact native Job.";
27
+ readonly input: z.ZodObject<{
28
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
29
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
30
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31
+ limit: z.ZodDefault<z.ZodInt>;
32
+ }, z.core.$strict>;
33
+ };
34
+ readonly local_execution_inspect: {
35
+ readonly description: "Inspect one exact native Job in the authorized Project. Native Job/Attempt identity remains authoritative.";
36
+ readonly input: z.ZodObject<{
37
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
38
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
39
+ productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
40
+ runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
41
+ }, z.core.$strict>;
42
+ };
43
+ readonly local_update_check: {
44
+ readonly description: "Read signed compatible release metadata only. No executable download, approval, installation or restart.";
45
+ readonly input: z.ZodObject<{}, z.core.$strict>;
46
+ };
47
+ };
48
+ export type LocalToolName = keyof typeof localTools;
49
+ export declare class LocalMcpTools {
50
+ private readonly client;
51
+ private readonly home;
52
+ private constructor();
53
+ static open(connector: string, home: string): Promise<LocalMcpTools>;
54
+ schema(name: LocalToolName): {
55
+ name: "local_navigate" | "local_capability_describe" | "local_runtime_status" | "local_execution_list" | "local_execution_inspect" | "local_update_check";
56
+ description: "Local execution entry. Discover Project-scoped Runtime progress, recovery and updates. Native writes remain with the cloud owner." | "Inspect the exact public schema for a local capability. Standard discovery stays stable; each call validates current Runtime authority." | "Read current authorized local Runtime status. Does not start, stop or mutate native work." | "List a bounded page of pending local execution identities in one authorized Project, then inspect an exact native Job." | "Inspect one exact native Job in the authorized Project. Native Job/Attempt identity remains authoritative." | "Read signed compatible release metadata only. No executable download, approval, installation or restart.";
57
+ inputSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
58
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
59
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
60
+ productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
61
+ runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
62
+ }, z.core.$strict> | z.ZodObject<{
63
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
64
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
65
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66
+ limit: z.ZodDefault<z.ZodInt>;
67
+ }, z.core.$strict> | z.ZodObject<{
68
+ intent: z.ZodOptional<z.ZodString>;
69
+ }, z.core.$strict> | z.ZodObject<{
70
+ tool: z.ZodEnum<{
71
+ local_runtime_status: "local_runtime_status";
72
+ local_execution_list: "local_execution_list";
73
+ local_execution_inspect: "local_execution_inspect";
74
+ local_update_check: "local_update_check";
75
+ }>;
76
+ }, z.core.$strict> | z.ZodObject<{}, z.core.$strict> | z.ZodObject<{}, z.core.$strict>>;
77
+ outputSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
78
+ location: z.ZodLiteral<"LOCAL">;
79
+ state: z.ZodEnum<{
80
+ UNAVAILABLE: "UNAVAILABLE";
81
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
82
+ IDLE: "IDLE";
83
+ EXECUTING: "EXECUTING";
84
+ DRAINING: "DRAINING";
85
+ }>;
86
+ authorizedProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
88
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
89
+ }, z.core.$strict>>>;
90
+ groups: z.ZodArray<z.ZodObject<{
91
+ id: z.ZodString;
92
+ label: z.ZodString;
93
+ tools: z.ZodArray<z.ZodEnum<{
94
+ local_navigate: "local_navigate";
95
+ local_capability_describe: "local_capability_describe";
96
+ local_runtime_status: "local_runtime_status";
97
+ local_execution_list: "local_execution_list";
98
+ local_execution_inspect: "local_execution_inspect";
99
+ local_update_check: "local_update_check";
100
+ }>>;
101
+ }, z.core.$strict>>;
102
+ nextActions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
103
+ tool: z.ZodEnum<{
104
+ local_navigate: "local_navigate";
105
+ local_capability_describe: "local_capability_describe";
106
+ local_runtime_status: "local_runtime_status";
107
+ local_execution_list: "local_execution_list";
108
+ local_execution_inspect: "local_execution_inspect";
109
+ local_update_check: "local_update_check";
110
+ }>;
111
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
112
+ availability: z.ZodOptional<z.ZodEnum<{
113
+ AVAILABLE: "AVAILABLE";
114
+ BLOCKED: "BLOCKED";
115
+ }>>;
116
+ reason: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strict>, z.ZodObject<{
118
+ surface: z.ZodEnum<{
119
+ CLI: "CLI";
120
+ LOCAL_IPC: "LOCAL_IPC";
121
+ REMOTE: "REMOTE";
122
+ }>;
123
+ operation: z.ZodEnum<{
124
+ operation_get: "operation_get";
125
+ "runtime.status": "runtime.status";
126
+ "local.configure": "local.configure";
127
+ "local.install": "local.install";
128
+ "local.start": "local.start";
129
+ "local.connect": "local.connect";
130
+ "local.grant": "local.grant";
131
+ "local.status": "local.status";
132
+ "local.doctor": "local.doctor";
133
+ "local.stop": "local.stop";
134
+ "local.update.check": "local.update.check";
135
+ "local.update.prepare": "local.update.prepare";
136
+ "local.update.apply": "local.update.apply";
137
+ "local.update.reconcile": "local.update.reconcile";
138
+ "execution.inspect": "execution.inspect";
139
+ rough_cut_get: "rough_cut_get";
140
+ }>;
141
+ availability: z.ZodEnum<{
142
+ AVAILABLE: "AVAILABLE";
143
+ BLOCKED: "BLOCKED";
144
+ }>;
145
+ reason: z.ZodEnum<{
146
+ UNAVAILABLE: "UNAVAILABLE";
147
+ READY: "READY";
148
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
149
+ AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
150
+ VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
151
+ UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
152
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
153
+ USER_APPROVAL_REQUIRED: "USER_APPROVAL_REQUIRED";
154
+ TRUST_REQUIRED: "TRUST_REQUIRED";
155
+ }>;
156
+ }, z.core.$strict>]>>;
157
+ }, z.core.$strict> | z.ZodObject<{
158
+ items: z.ZodArray<z.ZodObject<{
159
+ binding: z.ZodObject<{
160
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
161
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
162
+ productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
163
+ runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
164
+ attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
165
+ assignmentRevision: z.ZodInt;
166
+ workerId: z.ZodString;
167
+ workFingerprint: z.ZodString;
168
+ toolchainFingerprint: z.ZodString;
169
+ }, z.core.$strict>;
170
+ revision: z.ZodInt;
171
+ phase: z.ZodEnum<{
172
+ RUNNING: "RUNNING";
173
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
174
+ STAGED: "STAGED";
175
+ OUTPUT_PENDING: "OUTPUT_PENDING";
176
+ RECEIPT_RECORDED: "RECEIPT_RECORDED";
177
+ FENCED: "FENCED";
178
+ }>;
179
+ checkpoint: z.ZodEnum<{
180
+ ADOPTED: "ADOPTED";
181
+ SOURCES_READY: "SOURCES_READY";
182
+ PROCESS_STARTED: "PROCESS_STARTED";
183
+ OUTPUT_STAGED: "OUTPUT_STAGED";
184
+ }>;
185
+ }, z.core.$strict>>;
186
+ nextCursor: z.ZodNullable<z.ZodString>;
187
+ nextActions: z.ZodArray<z.ZodObject<{
188
+ tool: z.ZodEnum<{
189
+ local_navigate: "local_navigate";
190
+ local_capability_describe: "local_capability_describe";
191
+ local_runtime_status: "local_runtime_status";
192
+ local_execution_list: "local_execution_list";
193
+ local_execution_inspect: "local_execution_inspect";
194
+ local_update_check: "local_update_check";
195
+ }>;
196
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
197
+ availability: z.ZodOptional<z.ZodEnum<{
198
+ AVAILABLE: "AVAILABLE";
199
+ BLOCKED: "BLOCKED";
200
+ }>>;
201
+ reason: z.ZodOptional<z.ZodString>;
202
+ }, z.core.$strict>>;
203
+ }, z.core.$strict> | z.ZodObject<{
204
+ location: z.ZodLiteral<"LOCAL">;
205
+ execution: z.ZodNullable<z.ZodObject<{
206
+ binding: z.ZodObject<{
207
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
208
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
209
+ productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
210
+ runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
211
+ attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
212
+ assignmentRevision: z.ZodInt;
213
+ workerId: z.ZodString;
214
+ workFingerprint: z.ZodString;
215
+ toolchainFingerprint: z.ZodString;
216
+ }, z.core.$strict>;
217
+ revision: z.ZodInt;
218
+ phase: z.ZodEnum<{
219
+ RUNNING: "RUNNING";
220
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
221
+ STAGED: "STAGED";
222
+ OUTPUT_PENDING: "OUTPUT_PENDING";
223
+ RECEIPT_RECORDED: "RECEIPT_RECORDED";
224
+ FENCED: "FENCED";
225
+ }>;
226
+ checkpoint: z.ZodEnum<{
227
+ ADOPTED: "ADOPTED";
228
+ SOURCES_READY: "SOURCES_READY";
229
+ PROCESS_STARTED: "PROCESS_STARTED";
230
+ OUTPUT_STAGED: "OUTPUT_STAGED";
231
+ }>;
232
+ }, z.core.$strict>>;
233
+ nextActions: z.ZodArray<z.ZodObject<{
234
+ tool: z.ZodEnum<{
235
+ local_navigate: "local_navigate";
236
+ local_capability_describe: "local_capability_describe";
237
+ local_runtime_status: "local_runtime_status";
238
+ local_execution_list: "local_execution_list";
239
+ local_execution_inspect: "local_execution_inspect";
240
+ local_update_check: "local_update_check";
241
+ }>;
242
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
243
+ availability: z.ZodOptional<z.ZodEnum<{
244
+ AVAILABLE: "AVAILABLE";
245
+ BLOCKED: "BLOCKED";
246
+ }>>;
247
+ reason: z.ZodOptional<z.ZodString>;
248
+ }, z.core.$strict>>;
249
+ }, z.core.$strict> | z.ZodObject<{
250
+ location: z.ZodLiteral<"LOCAL">;
251
+ running: z.ZodArray<z.ZodObject<{
252
+ component: z.ZodEnum<{
253
+ CLI: "CLI";
254
+ SDK: "SDK";
255
+ MCP: "MCP";
256
+ RUNTIME: "RUNTIME";
257
+ MEDIA_TOOLS: "MEDIA_TOOLS";
258
+ }>;
259
+ installedVersion: z.ZodNullable<z.ZodString>;
260
+ runningVersion: z.ZodNullable<z.ZodString>;
261
+ availableVersion: z.ZodNullable<z.ZodString>;
262
+ executablePath: z.ZodNullable<z.ZodString>;
263
+ installOwner: z.ZodEnum<{
264
+ UNKNOWN: "UNKNOWN";
265
+ PROJECT: "PROJECT";
266
+ MANAGED: "MANAGED";
267
+ NPM_GLOBAL: "NPM_GLOBAL";
268
+ NPX: "NPX";
269
+ TARBALL: "TARBALL";
270
+ }>;
271
+ }, z.core.$strict>>;
272
+ available: z.ZodArray<z.ZodObject<{
273
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
274
+ version: z.ZodString;
275
+ node: z.ZodObject<{
276
+ major: z.ZodLiteral<24>;
277
+ minMinor: z.ZodLiteral<12>;
278
+ }, z.core.$strict>;
279
+ platform: z.ZodObject<{
280
+ os: z.ZodEnum<{
281
+ darwin: "darwin";
282
+ linux: "linux";
283
+ win32: "win32";
284
+ }>;
285
+ architecture: z.ZodEnum<{
286
+ x64: "x64";
287
+ arm64: "arm64";
288
+ }>;
289
+ }, z.core.$strict>;
290
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
291
+ workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
292
+ journalSchema: z.ZodLiteral<1>;
293
+ rendererDigest: z.ZodString;
294
+ profileDigest: z.ZodString;
295
+ }, z.core.$strict>>;
296
+ nextActions: z.ZodArray<z.ZodObject<{
297
+ surface: z.ZodEnum<{
298
+ CLI: "CLI";
299
+ LOCAL_IPC: "LOCAL_IPC";
300
+ REMOTE: "REMOTE";
301
+ }>;
302
+ operation: z.ZodEnum<{
303
+ operation_get: "operation_get";
304
+ "runtime.status": "runtime.status";
305
+ "local.configure": "local.configure";
306
+ "local.install": "local.install";
307
+ "local.start": "local.start";
308
+ "local.connect": "local.connect";
309
+ "local.grant": "local.grant";
310
+ "local.status": "local.status";
311
+ "local.doctor": "local.doctor";
312
+ "local.stop": "local.stop";
313
+ "local.update.check": "local.update.check";
314
+ "local.update.prepare": "local.update.prepare";
315
+ "local.update.apply": "local.update.apply";
316
+ "local.update.reconcile": "local.update.reconcile";
317
+ "execution.inspect": "execution.inspect";
318
+ rough_cut_get: "rough_cut_get";
319
+ }>;
320
+ availability: z.ZodEnum<{
321
+ AVAILABLE: "AVAILABLE";
322
+ BLOCKED: "BLOCKED";
323
+ }>;
324
+ reason: z.ZodEnum<{
325
+ UNAVAILABLE: "UNAVAILABLE";
326
+ READY: "READY";
327
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
328
+ AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
329
+ VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
330
+ UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
331
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
332
+ USER_APPROVAL_REQUIRED: "USER_APPROVAL_REQUIRED";
333
+ TRUST_REQUIRED: "TRUST_REQUIRED";
334
+ }>;
335
+ }, z.core.$strict>>;
336
+ }, z.core.$strict> | z.ZodObject<{
337
+ location: z.ZodLiteral<"LOCAL">;
338
+ tool: z.ZodEnum<{
339
+ local_navigate: "local_navigate";
340
+ local_capability_describe: "local_capability_describe";
341
+ local_runtime_status: "local_runtime_status";
342
+ local_execution_list: "local_execution_list";
343
+ local_execution_inspect: "local_execution_inspect";
344
+ local_update_check: "local_update_check";
345
+ }>;
346
+ schema: z.ZodObject<{
347
+ name: z.ZodEnum<{
348
+ local_navigate: "local_navigate";
349
+ local_capability_describe: "local_capability_describe";
350
+ local_runtime_status: "local_runtime_status";
351
+ local_execution_list: "local_execution_list";
352
+ local_execution_inspect: "local_execution_inspect";
353
+ local_update_check: "local_update_check";
354
+ }>;
355
+ description: z.ZodString;
356
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
357
+ }, z.core.$loose>;
358
+ }, z.core.$strict> | z.ZodObject<{
359
+ protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
360
+ state: z.ZodEnum<{
361
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
362
+ IDLE: "IDLE";
363
+ EXECUTING: "EXECUTING";
364
+ DRAINING: "DRAINING";
365
+ }>;
366
+ runtimeRevision: z.ZodInt;
367
+ journalSchemaVersion: z.ZodLiteral<1>;
368
+ workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
369
+ versions: z.ZodArray<z.ZodObject<{
370
+ component: z.ZodEnum<{
371
+ CLI: "CLI";
372
+ SDK: "SDK";
373
+ MCP: "MCP";
374
+ RUNTIME: "RUNTIME";
375
+ MEDIA_TOOLS: "MEDIA_TOOLS";
376
+ }>;
377
+ installedVersion: z.ZodNullable<z.ZodString>;
378
+ runningVersion: z.ZodNullable<z.ZodString>;
379
+ availableVersion: z.ZodNullable<z.ZodString>;
380
+ executablePath: z.ZodNullable<z.ZodString>;
381
+ installOwner: z.ZodEnum<{
382
+ UNKNOWN: "UNKNOWN";
383
+ PROJECT: "PROJECT";
384
+ MANAGED: "MANAGED";
385
+ NPM_GLOBAL: "NPM_GLOBAL";
386
+ NPX: "NPX";
387
+ TARBALL: "TARBALL";
388
+ }>;
389
+ }, z.core.$strict>>;
390
+ authorizedProjects: z.ZodArray<z.ZodObject<{
391
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
392
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
393
+ }, z.core.$strict>>;
394
+ nextActions: z.ZodArray<z.ZodObject<{
395
+ tool: z.ZodEnum<{
396
+ local_navigate: "local_navigate";
397
+ local_capability_describe: "local_capability_describe";
398
+ local_runtime_status: "local_runtime_status";
399
+ local_execution_list: "local_execution_list";
400
+ local_execution_inspect: "local_execution_inspect";
401
+ local_update_check: "local_update_check";
402
+ }>;
403
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
404
+ availability: z.ZodOptional<z.ZodEnum<{
405
+ AVAILABLE: "AVAILABLE";
406
+ BLOCKED: "BLOCKED";
407
+ }>>;
408
+ reason: z.ZodOptional<z.ZodString>;
409
+ }, z.core.$strict>>;
410
+ }, z.core.$strict>>;
411
+ annotations: {
412
+ readOnlyHint: boolean;
413
+ destructiveHint: boolean;
414
+ openWorldHint: boolean;
415
+ };
416
+ };
417
+ call<N extends LocalToolName>(name: N, raw: unknown, signal?: AbortSignal): Promise<z.output<(typeof LocalMcpOutputSchemas)[N]>>;
418
+ private invoke;
419
+ }
@@ -0,0 +1,101 @@
1
+ import { type LocalSignedCatalogue } from "../../sdk/local-runtime-client.js";
2
+ export declare function endpoint(raw: string): import("url").URL;
3
+ export declare function fetchBytes(raw: string, maximum: number, origin: string, signal?: AbortSignal): Promise<Buffer<ArrayBuffer>>;
4
+ export interface ReleaseTrust {
5
+ catalogueUrl: string;
6
+ publicKeyFile: string;
7
+ }
8
+ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Promise<{
9
+ signed: {
10
+ catalogue: {
11
+ protocol: "NVS_LOCAL_RELEASE_CATALOGUE_V1";
12
+ issuedAt: string;
13
+ expiresAt: string;
14
+ releases: {
15
+ descriptor: {
16
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
17
+ version: string;
18
+ node: {
19
+ major: 24;
20
+ minMinor: 12;
21
+ };
22
+ platform: {
23
+ os: "darwin" | "linux" | "win32";
24
+ architecture: "x64" | "arm64";
25
+ };
26
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
27
+ workProtocol: "NVS_LOCAL_WORK_V1";
28
+ journalSchema: 1;
29
+ rendererDigest: string;
30
+ profileDigest: string;
31
+ };
32
+ package: {
33
+ url: string;
34
+ byteSize: number;
35
+ sha512: string;
36
+ };
37
+ tools: {
38
+ ffmpeg: {
39
+ url: string;
40
+ byteSize: number;
41
+ sha512: string;
42
+ sha256: string;
43
+ };
44
+ ffprobe: {
45
+ url: string;
46
+ byteSize: number;
47
+ sha512: string;
48
+ sha256: string;
49
+ };
50
+ } | null;
51
+ }[];
52
+ };
53
+ signature: string;
54
+ };
55
+ fingerprint: string;
56
+ origin: string;
57
+ trustFingerprint: string;
58
+ }>;
59
+ export declare function select(signed: LocalSignedCatalogue, version: string): {
60
+ descriptor: {
61
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
62
+ version: string;
63
+ node: {
64
+ major: 24;
65
+ minMinor: 12;
66
+ };
67
+ platform: {
68
+ os: "darwin" | "linux" | "win32";
69
+ architecture: "x64" | "arm64";
70
+ };
71
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
72
+ workProtocol: "NVS_LOCAL_WORK_V1";
73
+ journalSchema: 1;
74
+ rendererDigest: string;
75
+ profileDigest: string;
76
+ };
77
+ package: {
78
+ url: string;
79
+ byteSize: number;
80
+ sha512: string;
81
+ };
82
+ tools: {
83
+ ffmpeg: {
84
+ url: string;
85
+ byteSize: number;
86
+ sha512: string;
87
+ sha256: string;
88
+ };
89
+ ffprobe: {
90
+ url: string;
91
+ byteSize: number;
92
+ sha512: string;
93
+ sha256: string;
94
+ };
95
+ } | null;
96
+ };
97
+ export declare function asset(a: {
98
+ url: string;
99
+ byteSize: number;
100
+ sha512: string;
101
+ }, origin: string): Promise<Buffer<ArrayBuffer>>;
@@ -0,0 +1,12 @@
1
+ export { runDesktopOwnerRequest } from "./local/desktop-owner.js";
2
+ export { materializeDesktopNode } from "./local/desktop-node.js";
3
+ export { desktopRuntimeChannel } from "./local/desktop-channel.js";
4
+ export { DesktopOwnerRequestSchema, desktopOwnerResponses } from "./local/desktop-contract.js";
5
+ /** Human installation owner surface; never part of scoped MCP discovery. */
6
+ export declare function runLocalManagement(home: string, operation: "status" | "start" | "stop"): Promise<{
7
+ protocol: "NVS_DESKTOP_RUNTIME_STATUS_V1";
8
+ state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
9
+ activeVersion: string | null;
10
+ phase: string;
11
+ toolMode?: "MANAGED" | "INSTALLED" | null | undefined;
12
+ }>;
@@ -0,0 +1,3 @@
1
+ /** Public read-only adapter shared by stdio and isolated desktop shells. */
2
+ export { LocalMcpTools } from "./local/mcp-tools.js";
3
+ export type { LocalToolName } from "./local/mcp-tools.js";
@@ -0,0 +1,27 @@
1
+ import { z } from "zod";
2
+ export declare const AcceptedShotReferenceSchema: z.ZodObject<{
3
+ acceptanceId: z.ZodUUID;
4
+ reviewId: z.ZodUUID;
5
+ generationId: z.ZodUUID;
6
+ candidateId: z.ZodUUID;
7
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
8
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
9
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
10
+ checksumSha256: z.ZodString;
11
+ artifactChecksumSha256: z.ZodString;
12
+ preparationId: z.ZodUUID;
13
+ contractId: z.ZodUUID;
14
+ contractFingerprint: z.ZodString;
15
+ planVersionId: z.core.$ZodBranded<z.ZodUUID, "SceneShotPlanVersionId", "out">;
16
+ planVersion: z.ZodInt;
17
+ shotPlanningRevision: z.ZodInt;
18
+ executionClass: z.ZodEnum<{
19
+ LIVE: "LIVE";
20
+ TEST_ONLY: "TEST_ONLY";
21
+ }>;
22
+ reviewResult: z.ZodEnum<{
23
+ PASS: "PASS";
24
+ WARNING: "WARNING";
25
+ }>;
26
+ }, z.core.$strict>;
27
+ export type AcceptedShotReference = z.infer<typeof AcceptedShotReferenceSchema>;