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

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 (92) hide show
  1. package/COMPATIBILITY.json +7 -7
  2. package/README.md +45 -4
  3. package/components/runtime.json +3 -3
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  6. package/dist/_chunks/chunk-CA54SKBO.js +1 -0
  7. package/dist/_chunks/chunk-D533YC7J.js +1 -0
  8. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-DXJQWTLG.js} +1 -1
  9. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  10. package/dist/_chunks/chunk-JLOHTDP6.js +1 -0
  11. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  12. package/dist/_chunks/{chunk-RUMDDTON.js → chunk-KNFUMWDY.js} +1 -1
  13. package/dist/_chunks/chunk-PBEHCYR7.js +1 -0
  14. package/dist/_chunks/chunk-RNOIRNC3.js +1 -0
  15. package/dist/_chunks/chunk-VDQOSVZY.js +1 -0
  16. package/dist/_chunks/chunk-XZP6RNGC.js +1 -0
  17. package/dist/_chunks/chunk-YKOJPJZR.js +1 -0
  18. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  19. package/dist/_chunks/local-main-GSL2FQOG.js +1 -0
  20. package/dist/_chunks/local-mcp-VYHO4ZE3.js +1 -0
  21. package/dist/_chunks/{main-4SNF5EKE.js → main-KLXOK7QK.js} +2 -2
  22. package/dist/_chunks/mcp-P7W623FE.js +1 -0
  23. package/dist/_chunks/oauth-WJ36KWAC.js +1 -0
  24. package/dist/_chunks/project-connect-W7V3OALV.js +1 -0
  25. package/dist/_chunks/render-main-ZW6UJHGN.js +1 -0
  26. package/dist/_chunks/src-BXLFLNRG.js +1 -0
  27. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-4Z2JVCMO.js} +1 -1
  28. package/dist/_types/cli/local/desktop-contract.d.ts +1455 -0
  29. package/dist/_types/cli/local/desktop-device-contract.d.ts +1165 -0
  30. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  31. package/dist/_types/cli/local/desktop-device-owner.d.ts +275 -0
  32. package/dist/_types/cli/local/desktop-device-state.d.ts +230 -0
  33. package/dist/_types/cli/local/desktop-owner.d.ts +554 -1
  34. package/dist/_types/cli/local/ledger.d.ts +62 -10
  35. package/dist/_types/cli/local/manager.d.ts +515 -22
  36. package/dist/_types/cli/local/mcp-tools.d.ts +77 -14
  37. package/dist/_types/cli/local/project-render-tools.d.ts +522 -0
  38. package/dist/_types/cli/local/releases.d.ts +11 -2
  39. package/dist/_types/cli/local-management.d.ts +4 -0
  40. package/dist/_types/cli/local-navigation.d.ts +1 -0
  41. package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
  42. package/dist/_types/contracts/delivery-operations.d.ts +21 -9
  43. package/dist/_types/contracts/device-render.d.ts +10 -0
  44. package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
  45. package/dist/_types/contracts/final-render.d.ts +9 -0
  46. package/dist/_types/contracts/index.d.ts +1 -0
  47. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  48. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  49. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  50. package/dist/_types/contracts/local-execution/agent-review.d.ts +733 -46
  51. package/dist/_types/contracts/local-execution/device.d.ts +10 -2
  52. package/dist/_types/contracts/local-execution/index.d.ts +6 -0
  53. package/dist/_types/contracts/local-execution/ipc.d.ts +1762 -40
  54. package/dist/_types/contracts/local-execution/lifecycle.d.ts +76 -6
  55. package/dist/_types/contracts/local-execution/local-navigation.d.ts +115 -13
  56. package/dist/_types/contracts/local-execution/management.d.ts +394 -0
  57. package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
  58. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  59. package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
  60. package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
  61. package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
  62. package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
  63. package/dist/_types/contracts/repair-strategy.d.ts +42 -18
  64. package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
  65. package/dist/_types/contracts/review-intelligence.d.ts +84 -36
  66. package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
  67. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  68. package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
  69. package/dist/_types/contracts/rough-cut.d.ts +85 -32
  70. package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
  71. package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
  72. package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
  73. package/dist/_types/sdk/local-runtime-client.d.ts +1298 -60
  74. package/dist/entry.js +1 -1
  75. package/dist/local-management.js +1 -1
  76. package/dist/local-navigation.js +1 -1
  77. package/dist/native/JobNative.cs +10 -0
  78. package/dist/native/JobRunner.cs +24 -3
  79. package/dist/native/NativeMain.cs +15 -0
  80. package/package.json +1 -1
  81. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  82. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  83. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  84. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  85. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  86. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  87. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  88. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  89. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  90. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  91. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  92. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -0,0 +1,522 @@
1
+ import { z } from "zod";
2
+ import type { NativeStudioLocalRuntimeClient } from "../../sdk/local-runtime-client.js";
3
+ declare const templates: {
4
+ readonly local_render_prepare: {
5
+ readonly description: "Read the selected Project's exact current preview/final basis for this computer. Preserve this command for submission and reconciliation.";
6
+ readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ productionId: z.ZodUUID;
8
+ idempotencyKey: z.ZodString;
9
+ deviceId: z.ZodOptional<z.ZodUUID>;
10
+ kind: z.ZodLiteral<"preview">;
11
+ profileId: z.ZodOptional<z.ZodEnum<{
12
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
13
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
14
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
15
+ }>>;
16
+ }, z.core.$strict>, z.ZodObject<{
17
+ productionId: z.ZodUUID;
18
+ idempotencyKey: z.ZodString;
19
+ deviceId: z.ZodOptional<z.ZodUUID>;
20
+ kind: z.ZodLiteral<"final">;
21
+ }, z.core.$strict>], "kind">;
22
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ kind: z.ZodLiteral<"preview">;
24
+ command: z.ZodObject<{
25
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
26
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
27
+ timelineVersionId: z.ZodUUID;
28
+ timelineFingerprint: z.ZodString;
29
+ expectedProductionRevision: z.ZodInt;
30
+ profileId: z.ZodEnum<{
31
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
32
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
33
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
34
+ }>;
35
+ idempotencyKey: z.ZodString;
36
+ deviceExecution: z.ZodObject<{
37
+ mode: z.ZodLiteral<"tenant-device-only">;
38
+ deviceId: z.ZodOptional<z.ZodUUID>;
39
+ }, z.core.$strict>;
40
+ }, z.core.$strict>;
41
+ }, z.core.$strict>, z.ZodObject<{
42
+ kind: z.ZodLiteral<"final">;
43
+ command: z.ZodObject<{
44
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
45
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
46
+ selectionId: z.ZodUUID;
47
+ expectedFinalReadyVersion: z.ZodInt;
48
+ timelineVersionId: z.ZodUUID;
49
+ timelineFingerprint: z.ZodString;
50
+ expectedProductionRevision: z.ZodInt;
51
+ profileId: z.ZodEnum<{
52
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
53
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
54
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
55
+ }>;
56
+ audioPolicy: z.ZodEnum<{
57
+ SILENT: "SILENT";
58
+ MIXED: "MIXED";
59
+ }>;
60
+ captionPolicy: z.ZodEnum<{
61
+ NONE: "NONE";
62
+ BURN_IN: "BURN_IN";
63
+ }>;
64
+ idempotencyKey: z.ZodString;
65
+ deviceExecution: z.ZodObject<{
66
+ mode: z.ZodLiteral<"tenant-device-only">;
67
+ deviceId: z.ZodOptional<z.ZodUUID>;
68
+ }, z.core.$strict>;
69
+ }, z.core.$strict>;
70
+ }, z.core.$strict>], "kind">;
71
+ };
72
+ readonly local_render_start: {
73
+ readonly description: "Submit an exact prepared preview/final to this authorized tenant computer only. Offline means unavailable. Keep the operation and job identities; never resubmit an unknown write.";
74
+ readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
75
+ kind: z.ZodLiteral<"preview">;
76
+ command: z.ZodObject<{
77
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
78
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
79
+ timelineVersionId: z.ZodUUID;
80
+ timelineFingerprint: z.ZodString;
81
+ expectedProductionRevision: z.ZodInt;
82
+ profileId: z.ZodEnum<{
83
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
84
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
85
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
86
+ }>;
87
+ idempotencyKey: z.ZodString;
88
+ deviceExecution: z.ZodObject<{
89
+ mode: z.ZodLiteral<"tenant-device-only">;
90
+ deviceId: z.ZodOptional<z.ZodUUID>;
91
+ }, z.core.$strict>;
92
+ }, z.core.$strict>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ kind: z.ZodLiteral<"final">;
95
+ command: z.ZodObject<{
96
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
97
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
98
+ selectionId: z.ZodUUID;
99
+ expectedFinalReadyVersion: z.ZodInt;
100
+ timelineVersionId: z.ZodUUID;
101
+ timelineFingerprint: z.ZodString;
102
+ expectedProductionRevision: z.ZodInt;
103
+ profileId: z.ZodEnum<{
104
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
105
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
106
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
107
+ }>;
108
+ audioPolicy: z.ZodEnum<{
109
+ SILENT: "SILENT";
110
+ MIXED: "MIXED";
111
+ }>;
112
+ captionPolicy: z.ZodEnum<{
113
+ NONE: "NONE";
114
+ BURN_IN: "BURN_IN";
115
+ }>;
116
+ idempotencyKey: z.ZodString;
117
+ deviceExecution: z.ZodObject<{
118
+ mode: z.ZodLiteral<"tenant-device-only">;
119
+ deviceId: z.ZodOptional<z.ZodUUID>;
120
+ }, z.core.$strict>;
121
+ }, z.core.$strict>;
122
+ }, z.core.$strict>], "kind">;
123
+ readonly output: z.ZodUnion<readonly [z.ZodObject<{
124
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
125
+ renderId: z.ZodUUID;
126
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
127
+ productionId: z.ZodUUID;
128
+ timelineVersionId: z.ZodUUID;
129
+ timelineFingerprint: z.ZodString;
130
+ executionClass: z.ZodEnum<{
131
+ LIVE: "LIVE";
132
+ TEST_ONLY: "TEST_ONLY";
133
+ }>;
134
+ manifestFingerprint: z.ZodString;
135
+ productionRevision: z.ZodInt;
136
+ deviceExecution: z.ZodObject<{
137
+ mode: z.ZodLiteral<"tenant-device-only">;
138
+ deviceId: z.ZodUUID;
139
+ runtimeJobId: z.ZodUUID;
140
+ }, z.core.$strict>;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
143
+ renderId: z.ZodUUID;
144
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
145
+ productionId: z.ZodUUID;
146
+ timelineVersionId: z.ZodUUID;
147
+ timelineFingerprint: z.ZodString;
148
+ executionClass: z.ZodEnum<{
149
+ LIVE: "LIVE";
150
+ TEST_ONLY: "TEST_ONLY";
151
+ }>;
152
+ manifestFingerprint: z.ZodString;
153
+ productionRevision: z.ZodInt;
154
+ selectionId: z.ZodUUID;
155
+ selectionVersion: z.ZodInt;
156
+ profileId: z.ZodEnum<{
157
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
158
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
159
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
160
+ }>;
161
+ deviceExecution: z.ZodObject<{
162
+ mode: z.ZodLiteral<"tenant-device-only">;
163
+ deviceId: z.ZodUUID;
164
+ runtimeJobId: z.ZodUUID;
165
+ }, z.core.$strict>;
166
+ }, z.core.$strict>]>;
167
+ };
168
+ };
169
+ export type RenderTool = keyof typeof templates;
170
+ export declare const renderNames: RenderTool[];
171
+ export declare function selectedConnector(home: string, env: NodeJS.ProcessEnv): Promise<string>;
172
+ export declare class ProjectRenderTools {
173
+ private readonly runtime;
174
+ private readonly env;
175
+ private readonly binding;
176
+ private readonly deviceId;
177
+ private constructor();
178
+ static open(runtime: NativeStudioLocalRuntimeClient, env: NodeJS.ProcessEnv): Promise<ProjectRenderTools>;
179
+ schema(n: RenderTool): {
180
+ name: "local_render_prepare" | "local_render_start";
181
+ description: "Read the selected Project's exact current preview/final basis for this computer. Preserve this command for submission and reconciliation." | "Submit an exact prepared preview/final to this authorized tenant computer only. Offline means unavailable. Keep the operation and job identities; never resubmit an unknown write.";
182
+ inputSchema: {
183
+ type: "object";
184
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodDiscriminatedUnion<[z.ZodObject<{
185
+ productionId: z.ZodUUID;
186
+ idempotencyKey: z.ZodString;
187
+ deviceId: z.ZodOptional<z.ZodUUID>;
188
+ kind: z.ZodLiteral<"preview">;
189
+ profileId: z.ZodOptional<z.ZodEnum<{
190
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
191
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
192
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
193
+ }>>;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ productionId: z.ZodUUID;
196
+ idempotencyKey: z.ZodString;
197
+ deviceId: z.ZodOptional<z.ZodUUID>;
198
+ kind: z.ZodLiteral<"final">;
199
+ }, z.core.$strict>], "kind"> | z.ZodDiscriminatedUnion<[z.ZodObject<{
200
+ kind: z.ZodLiteral<"preview">;
201
+ command: z.ZodObject<{
202
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
203
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
204
+ timelineVersionId: z.ZodUUID;
205
+ timelineFingerprint: z.ZodString;
206
+ expectedProductionRevision: z.ZodInt;
207
+ profileId: z.ZodEnum<{
208
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
209
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
210
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
211
+ }>;
212
+ idempotencyKey: z.ZodString;
213
+ deviceExecution: z.ZodObject<{
214
+ mode: z.ZodLiteral<"tenant-device-only">;
215
+ deviceId: z.ZodOptional<z.ZodUUID>;
216
+ }, z.core.$strict>;
217
+ }, z.core.$strict>;
218
+ }, z.core.$strict>, z.ZodObject<{
219
+ kind: z.ZodLiteral<"final">;
220
+ command: z.ZodObject<{
221
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
222
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
223
+ selectionId: z.ZodUUID;
224
+ expectedFinalReadyVersion: z.ZodInt;
225
+ timelineVersionId: z.ZodUUID;
226
+ timelineFingerprint: z.ZodString;
227
+ expectedProductionRevision: z.ZodInt;
228
+ profileId: z.ZodEnum<{
229
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
230
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
231
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
232
+ }>;
233
+ audioPolicy: z.ZodEnum<{
234
+ SILENT: "SILENT";
235
+ MIXED: "MIXED";
236
+ }>;
237
+ captionPolicy: z.ZodEnum<{
238
+ NONE: "NONE";
239
+ BURN_IN: "BURN_IN";
240
+ }>;
241
+ idempotencyKey: z.ZodString;
242
+ deviceExecution: z.ZodObject<{
243
+ mode: z.ZodLiteral<"tenant-device-only">;
244
+ deviceId: z.ZodOptional<z.ZodUUID>;
245
+ }, z.core.$strict>;
246
+ }, z.core.$strict>;
247
+ }, z.core.$strict>], "kind">>;
248
+ $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
249
+ $id?: string;
250
+ $anchor?: string;
251
+ $ref?: string;
252
+ $dynamicRef?: string;
253
+ $dynamicAnchor?: string;
254
+ $vocabulary?: Record<string, boolean>;
255
+ $comment?: string;
256
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
257
+ additionalItems?: z.core.JSONSchema._JSONSchema;
258
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
259
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
260
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
261
+ contains?: z.core.JSONSchema._JSONSchema;
262
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
263
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
264
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
265
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
266
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
267
+ propertyNames?: z.core.JSONSchema._JSONSchema;
268
+ if?: z.core.JSONSchema._JSONSchema;
269
+ then?: z.core.JSONSchema._JSONSchema;
270
+ else?: z.core.JSONSchema._JSONSchema;
271
+ allOf?: z.core.JSONSchema.JSONSchema[];
272
+ anyOf?: z.core.JSONSchema.JSONSchema[];
273
+ oneOf?: z.core.JSONSchema.JSONSchema[];
274
+ not?: z.core.JSONSchema._JSONSchema;
275
+ multipleOf?: number;
276
+ maximum?: number;
277
+ exclusiveMaximum?: number | boolean;
278
+ minimum?: number;
279
+ exclusiveMinimum?: number | boolean;
280
+ maxLength?: number;
281
+ minLength?: number;
282
+ pattern?: string;
283
+ maxItems?: number;
284
+ minItems?: number;
285
+ uniqueItems?: boolean;
286
+ maxContains?: number;
287
+ minContains?: number;
288
+ maxProperties?: number;
289
+ minProperties?: number;
290
+ required?: string[];
291
+ dependentRequired?: Record<string, string[]>;
292
+ enum?: Array<string | number | boolean | null>;
293
+ const?: string | number | boolean | null;
294
+ id?: string;
295
+ title?: string;
296
+ description?: string;
297
+ default?: unknown;
298
+ deprecated?: boolean;
299
+ readOnly?: boolean;
300
+ writeOnly?: boolean;
301
+ nullable?: boolean;
302
+ examples?: unknown[];
303
+ format?: string;
304
+ contentMediaType?: string;
305
+ contentEncoding?: string;
306
+ contentSchema?: z.core.JSONSchema.JSONSchema;
307
+ _prefault?: unknown;
308
+ };
309
+ outputSchema: {
310
+ type: "object";
311
+ "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodDiscriminatedUnion<[z.ZodObject<{
312
+ kind: z.ZodLiteral<"preview">;
313
+ command: z.ZodObject<{
314
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
315
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
316
+ timelineVersionId: z.ZodUUID;
317
+ timelineFingerprint: z.ZodString;
318
+ expectedProductionRevision: z.ZodInt;
319
+ profileId: z.ZodEnum<{
320
+ PREVIEW_H264_480P_V1: "PREVIEW_H264_480P_V1";
321
+ PREVIEW_H264_720P_V1: "PREVIEW_H264_720P_V1";
322
+ PREVIEW_H264_1080P_V1: "PREVIEW_H264_1080P_V1";
323
+ }>;
324
+ idempotencyKey: z.ZodString;
325
+ deviceExecution: z.ZodObject<{
326
+ mode: z.ZodLiteral<"tenant-device-only">;
327
+ deviceId: z.ZodOptional<z.ZodUUID>;
328
+ }, z.core.$strict>;
329
+ }, z.core.$strict>;
330
+ }, z.core.$strict>, z.ZodObject<{
331
+ kind: z.ZodLiteral<"final">;
332
+ command: z.ZodObject<{
333
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
334
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
335
+ selectionId: z.ZodUUID;
336
+ expectedFinalReadyVersion: z.ZodInt;
337
+ timelineVersionId: z.ZodUUID;
338
+ timelineFingerprint: z.ZodString;
339
+ expectedProductionRevision: z.ZodInt;
340
+ profileId: z.ZodEnum<{
341
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
342
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
343
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
344
+ }>;
345
+ audioPolicy: z.ZodEnum<{
346
+ SILENT: "SILENT";
347
+ MIXED: "MIXED";
348
+ }>;
349
+ captionPolicy: z.ZodEnum<{
350
+ NONE: "NONE";
351
+ BURN_IN: "BURN_IN";
352
+ }>;
353
+ idempotencyKey: z.ZodString;
354
+ deviceExecution: z.ZodObject<{
355
+ mode: z.ZodLiteral<"tenant-device-only">;
356
+ deviceId: z.ZodOptional<z.ZodUUID>;
357
+ }, z.core.$strict>;
358
+ }, z.core.$strict>;
359
+ }, z.core.$strict>], "kind"> | z.ZodUnion<readonly [z.ZodObject<{
360
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
361
+ renderId: z.ZodUUID;
362
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
363
+ productionId: z.ZodUUID;
364
+ timelineVersionId: z.ZodUUID;
365
+ timelineFingerprint: z.ZodString;
366
+ executionClass: z.ZodEnum<{
367
+ LIVE: "LIVE";
368
+ TEST_ONLY: "TEST_ONLY";
369
+ }>;
370
+ manifestFingerprint: z.ZodString;
371
+ productionRevision: z.ZodInt;
372
+ deviceExecution: z.ZodObject<{
373
+ mode: z.ZodLiteral<"tenant-device-only">;
374
+ deviceId: z.ZodUUID;
375
+ runtimeJobId: z.ZodUUID;
376
+ }, z.core.$strict>;
377
+ }, z.core.$strict>, z.ZodObject<{
378
+ semanticStatus: z.ZodLiteral<"ACCEPTED">;
379
+ renderId: z.ZodUUID;
380
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
381
+ productionId: z.ZodUUID;
382
+ timelineVersionId: z.ZodUUID;
383
+ timelineFingerprint: z.ZodString;
384
+ executionClass: z.ZodEnum<{
385
+ LIVE: "LIVE";
386
+ TEST_ONLY: "TEST_ONLY";
387
+ }>;
388
+ manifestFingerprint: z.ZodString;
389
+ productionRevision: z.ZodInt;
390
+ selectionId: z.ZodUUID;
391
+ selectionVersion: z.ZodInt;
392
+ profileId: z.ZodEnum<{
393
+ FINAL_H264_1080P_V1: "FINAL_H264_1080P_V1";
394
+ FINAL_H264_720P_V1: "FINAL_H264_720P_V1";
395
+ FINAL_H264_480P_V1: "FINAL_H264_480P_V1";
396
+ }>;
397
+ deviceExecution: z.ZodObject<{
398
+ mode: z.ZodLiteral<"tenant-device-only">;
399
+ deviceId: z.ZodUUID;
400
+ runtimeJobId: z.ZodUUID;
401
+ }, z.core.$strict>;
402
+ }, z.core.$strict>]>>;
403
+ $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
404
+ $id?: string;
405
+ $anchor?: string;
406
+ $ref?: string;
407
+ $dynamicRef?: string;
408
+ $dynamicAnchor?: string;
409
+ $vocabulary?: Record<string, boolean>;
410
+ $comment?: string;
411
+ $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
412
+ additionalItems?: z.core.JSONSchema._JSONSchema;
413
+ unevaluatedItems?: z.core.JSONSchema._JSONSchema;
414
+ prefixItems?: z.core.JSONSchema._JSONSchema[];
415
+ items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
416
+ contains?: z.core.JSONSchema._JSONSchema;
417
+ additionalProperties?: z.core.JSONSchema._JSONSchema;
418
+ unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
419
+ properties?: Record<string, z.core.JSONSchema._JSONSchema>;
420
+ patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
421
+ dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
422
+ propertyNames?: z.core.JSONSchema._JSONSchema;
423
+ if?: z.core.JSONSchema._JSONSchema;
424
+ then?: z.core.JSONSchema._JSONSchema;
425
+ else?: z.core.JSONSchema._JSONSchema;
426
+ allOf?: z.core.JSONSchema.JSONSchema[];
427
+ anyOf?: z.core.JSONSchema.JSONSchema[];
428
+ oneOf?: z.core.JSONSchema.JSONSchema[];
429
+ not?: z.core.JSONSchema._JSONSchema;
430
+ multipleOf?: number;
431
+ maximum?: number;
432
+ exclusiveMaximum?: number | boolean;
433
+ minimum?: number;
434
+ exclusiveMinimum?: number | boolean;
435
+ maxLength?: number;
436
+ minLength?: number;
437
+ pattern?: string;
438
+ maxItems?: number;
439
+ minItems?: number;
440
+ uniqueItems?: boolean;
441
+ maxContains?: number;
442
+ minContains?: number;
443
+ maxProperties?: number;
444
+ minProperties?: number;
445
+ required?: string[];
446
+ dependentRequired?: Record<string, string[]>;
447
+ enum?: Array<string | number | boolean | null>;
448
+ const?: string | number | boolean | null;
449
+ id?: string;
450
+ title?: string;
451
+ description?: string;
452
+ default?: unknown;
453
+ deprecated?: boolean;
454
+ readOnly?: boolean;
455
+ writeOnly?: boolean;
456
+ nullable?: boolean;
457
+ examples?: unknown[];
458
+ format?: string;
459
+ contentMediaType?: string;
460
+ contentEncoding?: string;
461
+ contentSchema?: z.core.JSONSchema.JSONSchema;
462
+ _prefault?: unknown;
463
+ };
464
+ annotations: {
465
+ readOnlyHint: boolean;
466
+ destructiveHint: boolean;
467
+ idempotentHint: boolean;
468
+ openWorldHint: boolean;
469
+ };
470
+ };
471
+ call(n: RenderTool, raw: unknown, signal: AbortSignal): Promise<{
472
+ kind: "preview";
473
+ command: {
474
+ tenantId: string & z.core.$brand<"TenantId">;
475
+ productionId: string & z.core.$brand<"ProductionId">;
476
+ timelineVersionId: string;
477
+ timelineFingerprint: string;
478
+ expectedProductionRevision: number;
479
+ profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
480
+ idempotencyKey: string;
481
+ deviceExecution: {
482
+ mode: "tenant-device-only";
483
+ deviceId?: string | undefined;
484
+ };
485
+ };
486
+ } | {
487
+ kind: "final";
488
+ command: {
489
+ tenantId: string & z.core.$brand<"TenantId">;
490
+ productionId: string & z.core.$brand<"ProductionId">;
491
+ selectionId: string;
492
+ expectedFinalReadyVersion: number;
493
+ timelineVersionId: string;
494
+ timelineFingerprint: string;
495
+ expectedProductionRevision: number;
496
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
497
+ audioPolicy: "SILENT" | "MIXED";
498
+ captionPolicy: "NONE" | "BURN_IN";
499
+ idempotencyKey: string;
500
+ deviceExecution: {
501
+ mode: "tenant-device-only";
502
+ deviceId?: string | undefined;
503
+ };
504
+ };
505
+ } | {
506
+ semanticStatus: "ACCEPTED";
507
+ renderId: string;
508
+ operationId: string & z.core.$brand<"OperationId">;
509
+ productionId: string;
510
+ timelineVersionId: string;
511
+ timelineFingerprint: string;
512
+ executionClass: "LIVE" | "TEST_ONLY";
513
+ manifestFingerprint: string;
514
+ productionRevision: number;
515
+ deviceExecution: {
516
+ mode: "tenant-device-only";
517
+ deviceId: string;
518
+ runtimeJobId: string;
519
+ };
520
+ }>;
521
+ }
522
+ export {};
@@ -24,10 +24,14 @@ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Pr
24
24
  architecture: "x64" | "arm64";
25
25
  };
26
26
  ipcProtocol: "NVS_LOCAL_IPC_V1";
27
- workProtocol: "NVS_LOCAL_WORK_V1";
27
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
28
28
  journalSchema: 1;
29
29
  rendererDigest: string;
30
30
  profileDigest: string;
31
+ compatibleRenderers?: {
32
+ rendererDigest: string;
33
+ profileDigest: string;
34
+ }[] | undefined;
31
35
  };
32
36
  package: {
33
37
  url: string;
@@ -54,6 +58,7 @@ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Pr
54
58
  };
55
59
  fingerprint: string;
56
60
  origin: string;
61
+ trustFingerprint: string;
57
62
  }>;
58
63
  export declare function select(signed: LocalSignedCatalogue, version: string): {
59
64
  descriptor: {
@@ -68,10 +73,14 @@ export declare function select(signed: LocalSignedCatalogue, version: string): {
68
73
  architecture: "x64" | "arm64";
69
74
  };
70
75
  ipcProtocol: "NVS_LOCAL_IPC_V1";
71
- workProtocol: "NVS_LOCAL_WORK_V1";
76
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
72
77
  journalSchema: 1;
73
78
  rendererDigest: string;
74
79
  profileDigest: string;
80
+ compatibleRenderers?: {
81
+ rendererDigest: string;
82
+ profileDigest: string;
83
+ }[] | undefined;
75
84
  };
76
85
  package: {
77
86
  url: string;
@@ -8,4 +8,8 @@ export declare function runLocalManagement(home: string, operation: "status" | "
8
8
  state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
9
9
  activeVersion: string | null;
10
10
  phase: string;
11
+ toolMode?: "MANAGED" | "INSTALLED" | null | undefined;
11
12
  }>;
13
+ export { DesktopDeviceScopeSchema, DesktopDeviceReplySchema, } from "./local/desktop-device-contract.js";
14
+ export { desktopDeviceConnector } from "./local/desktop-device-state.js";
15
+ export { desktopDevicePending } from "./local/desktop-device-owner.js";
@@ -1,3 +1,4 @@
1
1
  /** Public read-only adapter shared by stdio and isolated desktop shells. */
2
2
  export { LocalMcpTools } from "./local/mcp-tools.js";
3
3
  export type { LocalToolName } from "./local/mcp-tools.js";
4
+ export { openDesktopDeviceTools } from "./local/desktop-device-navigation.js";