@nativestudio/cli 0.3.0-rc.16 → 0.3.0-rc.17

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 (56) hide show
  1. package/COMPATIBILITY.json +8 -8
  2. package/components/runtime.json +4 -4
  3. package/components/runtime.tgz +0 -0
  4. package/dist/_chunks/{chunk-VLEWCWYF.js → chunk-3KBIDTXT.js} +1 -1
  5. package/dist/_chunks/{chunk-B7BQERMR.js → chunk-4IFMG2ZS.js} +1 -1
  6. package/dist/_chunks/chunk-4NJIT52T.js +1 -0
  7. package/dist/_chunks/{chunk-5LSB6HDP.js → chunk-53EULX5D.js} +1 -1
  8. package/dist/_chunks/{chunk-RT77PT3A.js → chunk-65X56WAQ.js} +1 -1
  9. package/dist/_chunks/{chunk-U6ZG2G7W.js → chunk-744IEPTK.js} +1 -1
  10. package/dist/_chunks/{chunk-EML7OS3I.js → chunk-BR26X3ZF.js} +1 -1
  11. package/dist/_chunks/chunk-C7CSZFV6.js +1 -0
  12. package/dist/_chunks/{chunk-JLQCUXCT.js → chunk-GKDGSAI5.js} +1 -1
  13. package/dist/_chunks/{chunk-SRB5ZFKO.js → chunk-HI5SIUX7.js} +1 -1
  14. package/dist/_chunks/{chunk-PYUYK3FV.js → chunk-IHTF6VEC.js} +1 -1
  15. package/dist/_chunks/{chunk-LOYAGAAN.js → chunk-K25YVVTT.js} +1 -1
  16. package/dist/_chunks/{chunk-BGH3Y5UX.js → chunk-KYNC2BSW.js} +1 -1
  17. package/dist/_chunks/{chunk-35XQP7RY.js → chunk-ORFGJBJA.js} +1 -1
  18. package/dist/_chunks/{chunk-MT5XZ67U.js → chunk-SDTAJ7FI.js} +1 -1
  19. package/dist/_chunks/{chunk-XVQWVJWD.js → chunk-UGOXJEDU.js} +1 -1
  20. package/dist/_chunks/{device-management-ELAPFWM2.js → device-management-CXSZFF53.js} +1 -1
  21. package/dist/_chunks/{device-preflight-27RDJVBU.js → device-preflight-6HKPPZ5L.js} +1 -1
  22. package/dist/_chunks/{devices-inventory-2XEJPPO5.js → devices-inventory-K553HAF3.js} +1 -1
  23. package/dist/_chunks/{devices-main-UMF3ZBHA.js → devices-main-LBDRDV2M.js} +1 -1
  24. package/dist/_chunks/host-main-ZMBFHY55.js +1 -0
  25. package/dist/_chunks/{library-main-L7SY7V7L.js → library-main-RNDPNKYK.js} +1 -1
  26. package/dist/_chunks/{local-main-7FONRY6F.js → local-main-RC4RM3OB.js} +1 -1
  27. package/dist/_chunks/{local-mcp-ELFJBJG6.js → local-mcp-LQCQ3WLF.js} +1 -1
  28. package/dist/_chunks/{main-XWUYQQ32.js → main-CPIMF4PS.js} +2 -2
  29. package/dist/_chunks/mcp-HQQJCKHS.js +1 -0
  30. package/dist/_chunks/{observe-entry-3CHBX74Y.js → observe-entry-4GPGZ3NJ.js} +1 -1
  31. package/dist/_chunks/remote-client-6XHMNMXK.js +1 -0
  32. package/dist/_chunks/{render-main-ZXYQ7EV5.js → render-main-ATCEBECW.js} +1 -1
  33. package/dist/_chunks/{source-import-ZWR26CMU.js → source-import-HIL7NW3L.js} +1 -1
  34. package/dist/_chunks/src-MRFJOTKK.js +1 -0
  35. package/dist/_chunks/stdio-main-T4ORVLSX.js +1 -0
  36. package/dist/_chunks/{workspace-main-NYDAQGB4.js → workspace-main-44ECTGHC.js} +1 -1
  37. package/dist/_types/contracts/device-onboarding.d.ts +12 -6
  38. package/dist/_types/contracts/device-render.d.ts +12 -6
  39. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  40. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  41. package/dist/_types/contracts/index.d.ts +3 -0
  42. package/dist/_types/contracts/local-execution/device-inventory.d.ts +12 -6
  43. package/dist/_types/contracts/mcp-capabilities.d.ts +15 -0
  44. package/dist/_types/contracts/navigation-context.d.ts +21 -2
  45. package/dist/_types/contracts/navigation.d.ts +12 -0
  46. package/dist/entry.js +1 -1
  47. package/dist/local-management.js +1 -1
  48. package/dist/local-navigation.js +1 -1
  49. package/package.json +1 -1
  50. package/dist/_chunks/chunk-TQIJBUSP.js +0 -1
  51. package/dist/_chunks/chunk-WAADGZEV.js +0 -1
  52. package/dist/_chunks/host-main-WYTVTQ4Z.js +0 -1
  53. package/dist/_chunks/mcp-ACNG635V.js +0 -1
  54. package/dist/_chunks/remote-client-WIZVKP3O.js +0 -1
  55. package/dist/_chunks/src-TR4JNPGI.js +0 -1
  56. package/dist/_chunks/stdio-main-QQLYSRD4.js +0 -1
@@ -0,0 +1,485 @@
1
+ import { z } from "zod";
2
+ export declare const EventLinkScopeSchema: z.ZodObject<{
3
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
4
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
5
+ }, z.core.$strict>;
6
+ export declare const EventLinkContinuationScopeSchema: z.ZodObject<{
7
+ workspace: z.ZodUUID;
8
+ productionId: z.ZodUUID;
9
+ eventLink: z.ZodUUID;
10
+ }, z.core.$strict>;
11
+ /** Public locator plus 256-bit nonce; only the encrypted original state grants correlation. */
12
+ export declare const EventLinkStateLocatorSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<{
13
+ requestId: string;
14
+ productionId: string;
15
+ }, string>>, z.ZodObject<{
16
+ requestId: z.ZodUUID;
17
+ productionId: z.ZodUUID;
18
+ }, z.core.$strict>>;
19
+ export declare const EventLinkRequestInputSchema: z.ZodObject<{
20
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
21
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
22
+ requestId: z.ZodUUID;
23
+ }, z.core.$strict>;
24
+ export declare const EventLinkStartInputSchema: z.ZodObject<{
25
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
26
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
27
+ requestId: z.ZodUUID;
28
+ targetId: z.ZodString;
29
+ eventType: z.ZodEnum<{
30
+ "production.work_changed": "production.work_changed";
31
+ "production.started": "production.started";
32
+ "production.failed": "production.failed";
33
+ "production.cancelled": "production.cancelled";
34
+ "finding.opened": "finding.opened";
35
+ "artifact.created": "artifact.created";
36
+ "shot.candidate_ready": "shot.candidate_ready";
37
+ "shot.accepted": "shot.accepted";
38
+ "review.completed": "review.completed";
39
+ "rough_cut.ready": "rough_cut.ready";
40
+ "final_render.ready": "final_render.ready";
41
+ "approval.required": "approval.required";
42
+ "production.completed": "production.completed";
43
+ "delivery.validation_failed": "delivery.validation_failed";
44
+ }>;
45
+ }, z.core.$strict>;
46
+ export declare const EventLinkConfirmInputSchema: z.ZodObject<{
47
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
48
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
49
+ requestId: z.ZodUUID;
50
+ expiresAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
51
+ publicationMode: z.ZodEnum<{
52
+ FIXED: "FIXED";
53
+ ON_DEMAND: "ON_DEMAND";
54
+ }>;
55
+ }, z.core.$strict>;
56
+ export declare const EventLinkCallbackInputSchema: z.ZodObject<{
57
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
58
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
59
+ requestId: z.ZodUUID;
60
+ callback: z.ZodString;
61
+ }, z.core.$strict>;
62
+ export declare const EventLinkTargetsSchema: z.ZodObject<{
63
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
64
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
65
+ sdkVersion: z.ZodLiteral<"0.4.0">;
66
+ protocol: z.ZodLiteral<"event-link/1">;
67
+ role: z.ZodLiteral<"SENDER">;
68
+ configuration: z.ZodEnum<{
69
+ CONFIGURED: "CONFIGURED";
70
+ UNCONFIGURED: "UNCONFIGURED";
71
+ }>;
72
+ targets: z.ZodArray<z.ZodObject<{
73
+ id: z.ZodString;
74
+ displayName: z.ZodString;
75
+ serviceRef: z.ZodString;
76
+ eventTypes: z.ZodArray<z.ZodEnum<{
77
+ "production.work_changed": "production.work_changed";
78
+ "production.started": "production.started";
79
+ "production.failed": "production.failed";
80
+ "production.cancelled": "production.cancelled";
81
+ "finding.opened": "finding.opened";
82
+ "artifact.created": "artifact.created";
83
+ "shot.candidate_ready": "shot.candidate_ready";
84
+ "shot.accepted": "shot.accepted";
85
+ "review.completed": "review.completed";
86
+ "rough_cut.ready": "rough_cut.ready";
87
+ "final_render.ready": "final_render.ready";
88
+ "approval.required": "approval.required";
89
+ "production.completed": "production.completed";
90
+ "delivery.validation_failed": "delivery.validation_failed";
91
+ }>>;
92
+ }, z.core.$strict>>;
93
+ }, z.core.$strict>;
94
+ export declare const EventLinkViewSchema: z.ZodObject<{
95
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
96
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
97
+ requestId: z.ZodUUID;
98
+ phase: z.ZodEnum<{
99
+ CANCELLED: "CANCELLED";
100
+ UNKNOWN: "UNKNOWN";
101
+ EXPIRED: "EXPIRED";
102
+ DENIED: "DENIED";
103
+ LOGIN: "LOGIN";
104
+ EXCHANGING: "EXCHANGING";
105
+ CONFIRM: "CONFIRM";
106
+ CONFIRMED: "CONFIRMED";
107
+ }>;
108
+ targetId: z.ZodString;
109
+ eventType: z.ZodEnum<{
110
+ "production.work_changed": "production.work_changed";
111
+ "production.started": "production.started";
112
+ "production.failed": "production.failed";
113
+ "production.cancelled": "production.cancelled";
114
+ "finding.opened": "finding.opened";
115
+ "artifact.created": "artifact.created";
116
+ "shot.candidate_ready": "shot.candidate_ready";
117
+ "shot.accepted": "shot.accepted";
118
+ "review.completed": "review.completed";
119
+ "rough_cut.ready": "rough_cut.ready";
120
+ "final_render.ready": "final_render.ready";
121
+ "approval.required": "approval.required";
122
+ "production.completed": "production.completed";
123
+ "delivery.validation_failed": "delivery.validation_failed";
124
+ }>;
125
+ expiresAt: z.ZodISODateTime;
126
+ peer: z.ZodNullable<z.ZodObject<{
127
+ serviceRef: z.ZodString;
128
+ tenantRef: z.ZodString;
129
+ displayName: z.ZodString;
130
+ }, z.core.$strict>>;
131
+ route: z.ZodNullable<z.ZodObject<{
132
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
133
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
134
+ state: z.ZodEnum<{
135
+ ACTIVE: "ACTIVE";
136
+ PAUSED: "PAUSED";
137
+ }>;
138
+ expiresAt: z.ZodISODateTime;
139
+ grantRef: z.ZodString;
140
+ routeId: z.ZodUUID;
141
+ remoteService: z.ZodString;
142
+ remoteTenant: z.ZodString;
143
+ grantVersion: z.ZodInt;
144
+ grantEventTypes: z.ZodArray<z.ZodEnum<{
145
+ "production.work_changed": "production.work_changed";
146
+ "production.started": "production.started";
147
+ "production.failed": "production.failed";
148
+ "production.cancelled": "production.cancelled";
149
+ "finding.opened": "finding.opened";
150
+ "artifact.created": "artifact.created";
151
+ "shot.candidate_ready": "shot.candidate_ready";
152
+ "shot.accepted": "shot.accepted";
153
+ "review.completed": "review.completed";
154
+ "rough_cut.ready": "rough_cut.ready";
155
+ "final_render.ready": "final_render.ready";
156
+ "approval.required": "approval.required";
157
+ "production.completed": "production.completed";
158
+ "delivery.validation_failed": "delivery.validation_failed";
159
+ }>>;
160
+ selectedEventTypes: z.ZodArray<z.ZodEnum<{
161
+ "production.work_changed": "production.work_changed";
162
+ "production.started": "production.started";
163
+ "production.failed": "production.failed";
164
+ "production.cancelled": "production.cancelled";
165
+ "finding.opened": "finding.opened";
166
+ "artifact.created": "artifact.created";
167
+ "shot.candidate_ready": "shot.candidate_ready";
168
+ "shot.accepted": "shot.accepted";
169
+ "review.completed": "review.completed";
170
+ "rough_cut.ready": "rough_cut.ready";
171
+ "final_render.ready": "final_render.ready";
172
+ "approval.required": "approval.required";
173
+ "production.completed": "production.completed";
174
+ "delivery.validation_failed": "delivery.validation_failed";
175
+ }>>;
176
+ notBefore: z.ZodISODateTime;
177
+ connectionRef: z.ZodString;
178
+ source: z.ZodString;
179
+ serviceRef: z.ZodLiteral<"native-video-studio">;
180
+ revision: z.ZodInt;
181
+ epoch: z.ZodUUID;
182
+ position: z.ZodString;
183
+ gap: z.ZodBoolean;
184
+ publicationMode: z.ZodDefault<z.ZodEnum<{
185
+ FIXED: "FIXED";
186
+ ON_DEMAND: "ON_DEMAND";
187
+ }>>;
188
+ }, z.core.$strict>>;
189
+ }, z.core.$strict>;
190
+ export declare const EventLinkStartSchema: z.ZodObject<{
191
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
192
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
193
+ requestId: z.ZodUUID;
194
+ phase: z.ZodEnum<{
195
+ CANCELLED: "CANCELLED";
196
+ UNKNOWN: "UNKNOWN";
197
+ EXPIRED: "EXPIRED";
198
+ DENIED: "DENIED";
199
+ LOGIN: "LOGIN";
200
+ EXCHANGING: "EXCHANGING";
201
+ CONFIRM: "CONFIRM";
202
+ CONFIRMED: "CONFIRMED";
203
+ }>;
204
+ targetId: z.ZodString;
205
+ eventType: z.ZodEnum<{
206
+ "production.work_changed": "production.work_changed";
207
+ "production.started": "production.started";
208
+ "production.failed": "production.failed";
209
+ "production.cancelled": "production.cancelled";
210
+ "finding.opened": "finding.opened";
211
+ "artifact.created": "artifact.created";
212
+ "shot.candidate_ready": "shot.candidate_ready";
213
+ "shot.accepted": "shot.accepted";
214
+ "review.completed": "review.completed";
215
+ "rough_cut.ready": "rough_cut.ready";
216
+ "final_render.ready": "final_render.ready";
217
+ "approval.required": "approval.required";
218
+ "production.completed": "production.completed";
219
+ "delivery.validation_failed": "delivery.validation_failed";
220
+ }>;
221
+ expiresAt: z.ZodISODateTime;
222
+ peer: z.ZodNullable<z.ZodObject<{
223
+ serviceRef: z.ZodString;
224
+ tenantRef: z.ZodString;
225
+ displayName: z.ZodString;
226
+ }, z.core.$strict>>;
227
+ route: z.ZodNullable<z.ZodObject<{
228
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
229
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
230
+ state: z.ZodEnum<{
231
+ ACTIVE: "ACTIVE";
232
+ PAUSED: "PAUSED";
233
+ }>;
234
+ expiresAt: z.ZodISODateTime;
235
+ grantRef: z.ZodString;
236
+ routeId: z.ZodUUID;
237
+ remoteService: z.ZodString;
238
+ remoteTenant: z.ZodString;
239
+ grantVersion: z.ZodInt;
240
+ grantEventTypes: z.ZodArray<z.ZodEnum<{
241
+ "production.work_changed": "production.work_changed";
242
+ "production.started": "production.started";
243
+ "production.failed": "production.failed";
244
+ "production.cancelled": "production.cancelled";
245
+ "finding.opened": "finding.opened";
246
+ "artifact.created": "artifact.created";
247
+ "shot.candidate_ready": "shot.candidate_ready";
248
+ "shot.accepted": "shot.accepted";
249
+ "review.completed": "review.completed";
250
+ "rough_cut.ready": "rough_cut.ready";
251
+ "final_render.ready": "final_render.ready";
252
+ "approval.required": "approval.required";
253
+ "production.completed": "production.completed";
254
+ "delivery.validation_failed": "delivery.validation_failed";
255
+ }>>;
256
+ selectedEventTypes: z.ZodArray<z.ZodEnum<{
257
+ "production.work_changed": "production.work_changed";
258
+ "production.started": "production.started";
259
+ "production.failed": "production.failed";
260
+ "production.cancelled": "production.cancelled";
261
+ "finding.opened": "finding.opened";
262
+ "artifact.created": "artifact.created";
263
+ "shot.candidate_ready": "shot.candidate_ready";
264
+ "shot.accepted": "shot.accepted";
265
+ "review.completed": "review.completed";
266
+ "rough_cut.ready": "rough_cut.ready";
267
+ "final_render.ready": "final_render.ready";
268
+ "approval.required": "approval.required";
269
+ "production.completed": "production.completed";
270
+ "delivery.validation_failed": "delivery.validation_failed";
271
+ }>>;
272
+ notBefore: z.ZodISODateTime;
273
+ connectionRef: z.ZodString;
274
+ source: z.ZodString;
275
+ serviceRef: z.ZodLiteral<"native-video-studio">;
276
+ revision: z.ZodInt;
277
+ epoch: z.ZodUUID;
278
+ position: z.ZodString;
279
+ gap: z.ZodBoolean;
280
+ publicationMode: z.ZodDefault<z.ZodEnum<{
281
+ FIXED: "FIXED";
282
+ ON_DEMAND: "ON_DEMAND";
283
+ }>>;
284
+ }, z.core.$strict>>;
285
+ authorizationUrl: z.ZodNullable<z.ZodURL>;
286
+ continuationUrl: z.ZodURL;
287
+ }, z.core.$strict>;
288
+ export declare const EventLinkConfirmedSchema: z.ZodObject<{
289
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
290
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
291
+ requestId: z.ZodUUID;
292
+ phase: z.ZodEnum<{
293
+ CANCELLED: "CANCELLED";
294
+ UNKNOWN: "UNKNOWN";
295
+ EXPIRED: "EXPIRED";
296
+ DENIED: "DENIED";
297
+ LOGIN: "LOGIN";
298
+ EXCHANGING: "EXCHANGING";
299
+ CONFIRM: "CONFIRM";
300
+ CONFIRMED: "CONFIRMED";
301
+ }>;
302
+ targetId: z.ZodString;
303
+ eventType: z.ZodEnum<{
304
+ "production.work_changed": "production.work_changed";
305
+ "production.started": "production.started";
306
+ "production.failed": "production.failed";
307
+ "production.cancelled": "production.cancelled";
308
+ "finding.opened": "finding.opened";
309
+ "artifact.created": "artifact.created";
310
+ "shot.candidate_ready": "shot.candidate_ready";
311
+ "shot.accepted": "shot.accepted";
312
+ "review.completed": "review.completed";
313
+ "rough_cut.ready": "rough_cut.ready";
314
+ "final_render.ready": "final_render.ready";
315
+ "approval.required": "approval.required";
316
+ "production.completed": "production.completed";
317
+ "delivery.validation_failed": "delivery.validation_failed";
318
+ }>;
319
+ expiresAt: z.ZodISODateTime;
320
+ peer: z.ZodNullable<z.ZodObject<{
321
+ serviceRef: z.ZodString;
322
+ tenantRef: z.ZodString;
323
+ displayName: z.ZodString;
324
+ }, z.core.$strict>>;
325
+ route: z.ZodNullable<z.ZodObject<{
326
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
327
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
328
+ state: z.ZodEnum<{
329
+ ACTIVE: "ACTIVE";
330
+ PAUSED: "PAUSED";
331
+ }>;
332
+ expiresAt: z.ZodISODateTime;
333
+ grantRef: z.ZodString;
334
+ routeId: z.ZodUUID;
335
+ remoteService: z.ZodString;
336
+ remoteTenant: z.ZodString;
337
+ grantVersion: z.ZodInt;
338
+ grantEventTypes: z.ZodArray<z.ZodEnum<{
339
+ "production.work_changed": "production.work_changed";
340
+ "production.started": "production.started";
341
+ "production.failed": "production.failed";
342
+ "production.cancelled": "production.cancelled";
343
+ "finding.opened": "finding.opened";
344
+ "artifact.created": "artifact.created";
345
+ "shot.candidate_ready": "shot.candidate_ready";
346
+ "shot.accepted": "shot.accepted";
347
+ "review.completed": "review.completed";
348
+ "rough_cut.ready": "rough_cut.ready";
349
+ "final_render.ready": "final_render.ready";
350
+ "approval.required": "approval.required";
351
+ "production.completed": "production.completed";
352
+ "delivery.validation_failed": "delivery.validation_failed";
353
+ }>>;
354
+ selectedEventTypes: z.ZodArray<z.ZodEnum<{
355
+ "production.work_changed": "production.work_changed";
356
+ "production.started": "production.started";
357
+ "production.failed": "production.failed";
358
+ "production.cancelled": "production.cancelled";
359
+ "finding.opened": "finding.opened";
360
+ "artifact.created": "artifact.created";
361
+ "shot.candidate_ready": "shot.candidate_ready";
362
+ "shot.accepted": "shot.accepted";
363
+ "review.completed": "review.completed";
364
+ "rough_cut.ready": "rough_cut.ready";
365
+ "final_render.ready": "final_render.ready";
366
+ "approval.required": "approval.required";
367
+ "production.completed": "production.completed";
368
+ "delivery.validation_failed": "delivery.validation_failed";
369
+ }>>;
370
+ notBefore: z.ZodISODateTime;
371
+ connectionRef: z.ZodString;
372
+ source: z.ZodString;
373
+ serviceRef: z.ZodLiteral<"native-video-studio">;
374
+ revision: z.ZodInt;
375
+ epoch: z.ZodUUID;
376
+ position: z.ZodString;
377
+ gap: z.ZodBoolean;
378
+ publicationMode: z.ZodDefault<z.ZodEnum<{
379
+ FIXED: "FIXED";
380
+ ON_DEMAND: "ON_DEMAND";
381
+ }>>;
382
+ }, z.core.$strict>>;
383
+ }, z.core.$strict>;
384
+ export declare const EventLinkCancelledSchema: z.ZodObject<{
385
+ tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
386
+ productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
387
+ requestId: z.ZodUUID;
388
+ phase: z.ZodEnum<{
389
+ CANCELLED: "CANCELLED";
390
+ UNKNOWN: "UNKNOWN";
391
+ EXPIRED: "EXPIRED";
392
+ DENIED: "DENIED";
393
+ LOGIN: "LOGIN";
394
+ EXCHANGING: "EXCHANGING";
395
+ CONFIRM: "CONFIRM";
396
+ CONFIRMED: "CONFIRMED";
397
+ }>;
398
+ targetId: z.ZodString;
399
+ eventType: z.ZodEnum<{
400
+ "production.work_changed": "production.work_changed";
401
+ "production.started": "production.started";
402
+ "production.failed": "production.failed";
403
+ "production.cancelled": "production.cancelled";
404
+ "finding.opened": "finding.opened";
405
+ "artifact.created": "artifact.created";
406
+ "shot.candidate_ready": "shot.candidate_ready";
407
+ "shot.accepted": "shot.accepted";
408
+ "review.completed": "review.completed";
409
+ "rough_cut.ready": "rough_cut.ready";
410
+ "final_render.ready": "final_render.ready";
411
+ "approval.required": "approval.required";
412
+ "production.completed": "production.completed";
413
+ "delivery.validation_failed": "delivery.validation_failed";
414
+ }>;
415
+ expiresAt: z.ZodISODateTime;
416
+ peer: z.ZodNullable<z.ZodObject<{
417
+ serviceRef: z.ZodString;
418
+ tenantRef: z.ZodString;
419
+ displayName: z.ZodString;
420
+ }, z.core.$strict>>;
421
+ route: z.ZodNullable<z.ZodObject<{
422
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
423
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
424
+ state: z.ZodEnum<{
425
+ ACTIVE: "ACTIVE";
426
+ PAUSED: "PAUSED";
427
+ }>;
428
+ expiresAt: z.ZodISODateTime;
429
+ grantRef: z.ZodString;
430
+ routeId: z.ZodUUID;
431
+ remoteService: z.ZodString;
432
+ remoteTenant: z.ZodString;
433
+ grantVersion: z.ZodInt;
434
+ grantEventTypes: z.ZodArray<z.ZodEnum<{
435
+ "production.work_changed": "production.work_changed";
436
+ "production.started": "production.started";
437
+ "production.failed": "production.failed";
438
+ "production.cancelled": "production.cancelled";
439
+ "finding.opened": "finding.opened";
440
+ "artifact.created": "artifact.created";
441
+ "shot.candidate_ready": "shot.candidate_ready";
442
+ "shot.accepted": "shot.accepted";
443
+ "review.completed": "review.completed";
444
+ "rough_cut.ready": "rough_cut.ready";
445
+ "final_render.ready": "final_render.ready";
446
+ "approval.required": "approval.required";
447
+ "production.completed": "production.completed";
448
+ "delivery.validation_failed": "delivery.validation_failed";
449
+ }>>;
450
+ selectedEventTypes: z.ZodArray<z.ZodEnum<{
451
+ "production.work_changed": "production.work_changed";
452
+ "production.started": "production.started";
453
+ "production.failed": "production.failed";
454
+ "production.cancelled": "production.cancelled";
455
+ "finding.opened": "finding.opened";
456
+ "artifact.created": "artifact.created";
457
+ "shot.candidate_ready": "shot.candidate_ready";
458
+ "shot.accepted": "shot.accepted";
459
+ "review.completed": "review.completed";
460
+ "rough_cut.ready": "rough_cut.ready";
461
+ "final_render.ready": "final_render.ready";
462
+ "approval.required": "approval.required";
463
+ "production.completed": "production.completed";
464
+ "delivery.validation_failed": "delivery.validation_failed";
465
+ }>>;
466
+ notBefore: z.ZodISODateTime;
467
+ connectionRef: z.ZodString;
468
+ source: z.ZodString;
469
+ serviceRef: z.ZodLiteral<"native-video-studio">;
470
+ revision: z.ZodInt;
471
+ epoch: z.ZodUUID;
472
+ position: z.ZodString;
473
+ gap: z.ZodBoolean;
474
+ publicationMode: z.ZodDefault<z.ZodEnum<{
475
+ FIXED: "FIXED";
476
+ ON_DEMAND: "ON_DEMAND";
477
+ }>>;
478
+ }, z.core.$strict>>;
479
+ }, z.core.$strict>;
480
+ export type EventLinkRequestInput = z.infer<typeof EventLinkRequestInputSchema>;
481
+ export type EventLinkView = z.infer<typeof EventLinkViewSchema>;
482
+ export type EventLinkStart = z.infer<typeof EventLinkStartSchema>;
483
+ export type EventLinkTargets = z.infer<typeof EventLinkTargetsSchema>;
484
+ export type EventLinkStartInput = z.infer<typeof EventLinkStartInputSchema>;
485
+ export type EventLinkConfirmInput = z.infer<typeof EventLinkConfirmInputSchema>;
@@ -122,6 +122,7 @@ export * from "./generation-cost.js";
122
122
  export * from "./production-termination.js";
123
123
  export * from "./review1-repair-strategy.js";
124
124
  export * from "./navigation.js";
125
+ export * from "./mcp-capabilities.js";
125
126
  export * from "./navigation-groups.js";
126
127
  export * from "./navigation-context.js";
127
128
  export * from "./human-links.js";
@@ -136,3 +137,5 @@ export * from "./agent-host-wire.js";
136
137
  export * from "./agent-host-legacy-release.js";
137
138
  export * from "./agent-host-contract.js";
138
139
  export * from "./device-onboarding.js";
140
+ export * from "./federation-event-link.js";
141
+ export * from "./federation-event-link-receiver.js";
@@ -85,15 +85,21 @@ export declare const WorkspaceDeviceListSchema: z.ZodObject<{
85
85
  WAIT: "WAIT";
86
86
  INSPECT_EXISTING: "INSPECT_EXISTING";
87
87
  }>;
88
- inspect: z.ZodObject<{
89
- tool: z.ZodEnum<{
90
- workspace_caller: "workspace_caller";
91
- workspace_devices_list: "workspace_devices_list";
92
- }>;
88
+ inspect: z.ZodDiscriminatedUnion<[z.ZodObject<{
89
+ tool: z.ZodLiteral<"workspace_caller">;
93
90
  arguments: z.ZodObject<{
94
91
  tenantId: z.ZodUUID;
95
92
  }, z.core.$strict>;
96
- }, z.core.$strict>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ tool: z.ZodLiteral<"studio_capability_query">;
95
+ arguments: z.ZodObject<{
96
+ tenantId: z.ZodUUID;
97
+ tool: z.ZodLiteral<"workspace_devices_list">;
98
+ arguments: z.ZodObject<{
99
+ tenantId: z.ZodUUID;
100
+ }, z.core.$strict>;
101
+ }, z.core.$strict>;
102
+ }, z.core.$strict>], "tool">;
97
103
  guidance: z.ZodString;
98
104
  }, z.core.$strict>>;
99
105
  }, z.core.$strict>;
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+ /** Stable member surface; business definitions remain in the authorized catalogue. */
3
+ export declare const McpEntryToolNames: readonly ["workspace_caller", "studio_capability_groups", "studio_capability_search", "studio_capability_describe", "studio_capability_query", "studio_capability_invoke"];
4
+ export declare const McpCapabilityGatewayNames: readonly ["studio_capability_query", "studio_capability_invoke"];
5
+ export declare const CapabilityInvocationInputSchema: z.ZodObject<{
6
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
7
+ tool: z.ZodString;
8
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strict>;
10
+ /** The selected target's original output is validated before entering this carrier. */
11
+ export declare const CapabilityInvocationOutputSchema: z.ZodObject<{
12
+ tool: z.ZodString;
13
+ result: z.ZodOptional<z.ZodUnknown>;
14
+ }, z.core.$strict>;
15
+ export type CapabilityInvocationInput = z.infer<typeof CapabilityInvocationInputSchema>;
@@ -113,6 +113,10 @@ export declare const StudioNavigationSchema: z.ZodObject<{
113
113
  NOT_ON_SURFACE: "NOT_ON_SURFACE";
114
114
  }>;
115
115
  readOnly: z.ZodNullable<z.ZodBoolean>;
116
+ invocationTool: z.ZodOptional<z.ZodEnum<{
117
+ studio_capability_query: "studio_capability_query";
118
+ studio_capability_invoke: "studio_capability_invoke";
119
+ }>>;
116
120
  purpose: z.ZodNullable<z.ZodString>;
117
121
  group: z.ZodNullable<z.ZodEnum<{
118
122
  local: "local";
@@ -199,14 +203,25 @@ export declare const StudioNavigationSchema: z.ZodObject<{
199
203
  }>;
200
204
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
201
205
  startedAt: z.ZodISODateTime;
202
- inspect: z.ZodNullable<z.ZodObject<{
206
+ inspect: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
203
207
  tool: z.ZodLiteral<"operation_get">;
204
208
  arguments: z.ZodObject<{
205
209
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
206
210
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
207
211
  operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
208
212
  }, z.core.$strict>;
209
- }, z.core.$strict>>;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ tool: z.ZodLiteral<"studio_capability_query">;
215
+ arguments: z.ZodObject<{
216
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
217
+ tool: z.ZodLiteral<"operation_get">;
218
+ arguments: z.ZodObject<{
219
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
220
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
221
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
222
+ }, z.core.$strict>;
223
+ }, z.core.$strict>;
224
+ }, z.core.$strict>], "tool">>;
210
225
  targetCount: z.ZodInt;
211
226
  blockerCount: z.ZodInt;
212
227
  evidence: z.ZodObject<{
@@ -239,6 +254,10 @@ export declare const StudioNavigationSchema: z.ZodObject<{
239
254
  unclassified: "unclassified";
240
255
  }>>;
241
256
  readOnly: z.ZodBoolean;
257
+ invocationTool: z.ZodOptional<z.ZodEnum<{
258
+ studio_capability_query: "studio_capability_query";
259
+ studio_capability_invoke: "studio_capability_invoke";
260
+ }>>;
242
261
  registration: z.ZodLiteral<"REGISTERED">;
243
262
  matchedTerms: z.ZodArray<z.ZodString>;
244
263
  }, z.core.$strict>>;
@@ -116,6 +116,10 @@ export declare const CapabilitySummarySchema: z.ZodObject<{
116
116
  unclassified: "unclassified";
117
117
  }>>;
118
118
  readOnly: z.ZodBoolean;
119
+ invocationTool: z.ZodOptional<z.ZodEnum<{
120
+ studio_capability_query: "studio_capability_query";
121
+ studio_capability_invoke: "studio_capability_invoke";
122
+ }>>;
119
123
  registration: z.ZodLiteral<"REGISTERED">;
120
124
  }, z.core.$strict>;
121
125
  export declare const CapabilitySearchInputSchema: z.ZodObject<{
@@ -162,6 +166,10 @@ export declare const CapabilitySearchSchema: z.ZodObject<{
162
166
  unclassified: "unclassified";
163
167
  }>>;
164
168
  readOnly: z.ZodBoolean;
169
+ invocationTool: z.ZodOptional<z.ZodEnum<{
170
+ studio_capability_query: "studio_capability_query";
171
+ studio_capability_invoke: "studio_capability_invoke";
172
+ }>>;
165
173
  registration: z.ZodLiteral<"REGISTERED">;
166
174
  matchedTerms: z.ZodArray<z.ZodString>;
167
175
  }, z.core.$strict>>;
@@ -242,6 +250,10 @@ export declare const CapabilityDescribeSchema: z.ZodObject<{
242
250
  unclassified: "unclassified";
243
251
  }>>;
244
252
  readOnly: z.ZodBoolean;
253
+ invocationTool: z.ZodOptional<z.ZodEnum<{
254
+ studio_capability_query: "studio_capability_query";
255
+ studio_capability_invoke: "studio_capability_invoke";
256
+ }>>;
245
257
  registration: z.ZodLiteral<"REGISTERED">;
246
258
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
247
259
  catalogVersion: z.ZodString;
package/dist/entry.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- if(process.argv[2]==="observe"){process.exitCode=await(await import("./_chunks/observe-entry-3CHBX74Y.js")).runObservationEntry(process.argv.slice(3))}else if(process.argv[2]==="host"){const{runHostCli}=await import("./_chunks/host-main-WYTVTQ4Z.js");const result=await runHostCli(process.argv.slice(3));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}else if(process.argv[2]==="local"){if(process.argv[3]==="mcp"){const{runLocalMcp}=await import("./_chunks/local-mcp-ELFJBJG6.js");process.exitCode=await runLocalMcp(process.argv.slice(4))}else{const{runLocalCli}=await import("./_chunks/local-main-7FONRY6F.js");const result=await runLocalCli(process.argv.slice(3));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}}else if(process.argv[2]==="mcp"){const{runMcpStdio}=await import("./_chunks/stdio-main-QQLYSRD4.js");process.exitCode=await runMcpStdio(process.argv.slice(3),process.env)}else{const{runRemoteCli}=await import("./_chunks/main-XWUYQQ32.js");const result=await runRemoteCli(process.argv.slice(2));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}
2
+ if(process.argv[2]==="observe"){process.exitCode=await(await import("./_chunks/observe-entry-4GPGZ3NJ.js")).runObservationEntry(process.argv.slice(3))}else if(process.argv[2]==="host"){const{runHostCli}=await import("./_chunks/host-main-ZMBFHY55.js");const result=await runHostCli(process.argv.slice(3));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}else if(process.argv[2]==="local"){if(process.argv[3]==="mcp"){const{runLocalMcp}=await import("./_chunks/local-mcp-LQCQ3WLF.js");process.exitCode=await runLocalMcp(process.argv.slice(4))}else{const{runLocalCli}=await import("./_chunks/local-main-RC4RM3OB.js");const result=await runLocalCli(process.argv.slice(3));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}}else if(process.argv[2]==="mcp"){const{runMcpStdio}=await import("./_chunks/stdio-main-T4ORVLSX.js");process.exitCode=await runMcpStdio(process.argv.slice(3),process.env)}else{const{runRemoteCli}=await import("./_chunks/main-CPIMF4PS.js");const result=await runRemoteCli(process.argv.slice(2));process.stdout.write(JSON.stringify(result.output)+"\n");process.exitCode=result.exitCode}