@nativestudio/sdk 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 (57) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/README.md +20 -0
  3. package/dist/_chunks/chunk-GLD5WP6Z.js +1 -0
  4. package/dist/_chunks/chunk-NSS2BKVM.js +1 -0
  5. package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
  6. package/dist/_types/contracts/delivery-operations.d.ts +21 -9
  7. package/dist/_types/contracts/device-render.d.ts +10 -0
  8. package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
  9. package/dist/_types/contracts/final-render.d.ts +9 -0
  10. package/dist/_types/contracts/index.d.ts +1 -0
  11. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  12. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  13. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  14. package/dist/_types/contracts/local-execution/agent-review.d.ts +733 -46
  15. package/dist/_types/contracts/local-execution/device.d.ts +10 -2
  16. package/dist/_types/contracts/local-execution/index.d.ts +6 -0
  17. package/dist/_types/contracts/local-execution/ipc.d.ts +1762 -40
  18. package/dist/_types/contracts/local-execution/lifecycle.d.ts +76 -6
  19. package/dist/_types/contracts/local-execution/local-navigation.d.ts +115 -13
  20. package/dist/_types/contracts/local-execution/management.d.ts +394 -0
  21. package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
  22. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  23. package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
  24. package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
  25. package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
  26. package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
  27. package/dist/_types/contracts/repair-strategy.d.ts +42 -18
  28. package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
  29. package/dist/_types/contracts/review-intelligence.d.ts +84 -36
  30. package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
  31. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  32. package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
  33. package/dist/_types/contracts/rough-cut.d.ts +85 -32
  34. package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
  35. package/dist/_types/sdk/catalog/assembly.d.ts +146 -110
  36. package/dist/_types/sdk/catalog/delivery.d.ts +36 -36
  37. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +36 -36
  38. package/dist/_types/sdk/catalog/repair-strategy.d.ts +36 -36
  39. package/dist/_types/sdk/catalog/reviewer.d.ts +72 -72
  40. package/dist/_types/sdk/catalog/visual-exploration.d.ts +36 -36
  41. package/dist/_types/sdk/client.d.ts +2 -0
  42. package/dist/_types/sdk/device-renders.d.ts +138 -0
  43. package/dist/_types/sdk/index.d.ts +1 -0
  44. package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
  45. package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
  46. package/dist/_types/sdk/local-runtime-client.d.ts +1298 -60
  47. package/dist/_types/sdk/mcp-client.d.ts +2 -0
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/local-runtime.js +1 -1
  51. package/dist/native/JobNative.cs +10 -0
  52. package/dist/native/JobRunner.cs +24 -3
  53. package/dist/native/NativeMain.cs +15 -0
  54. package/dist/runtime-authority.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  57. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
@@ -1,29 +1,6 @@
1
1
  import { z } from "zod";
2
- export declare const LocalAgentGrantSchema: z.ZodObject<{
3
- protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
4
- binary: z.ZodString;
5
- binaryDigest: z.ZodString;
6
- version: z.ZodEnum<{
7
- "0.164.0": "0.164.0";
8
- "0.165.0": "0.165.0";
9
- }>;
10
- model: z.ZodString;
11
- reasoningEffort: z.ZodOptional<z.ZodEnum<{
12
- medium: "medium";
13
- low: "low";
14
- high: "high";
15
- xhigh: "xhigh";
16
- }>>;
17
- reviewerLabel: z.ZodString;
18
- inference: z.ZodLiteral<"REMOTE_OPENAI">;
19
- remoteUseApproved: z.ZodLiteral<true>;
20
- imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
21
- projects: z.ZodArray<z.ZodObject<{
22
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
23
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
24
- }, z.core.$strict>>;
25
- expiresAt: z.ZodISODateTime;
26
- }, z.core.$strict>;
2
+ import { LocalAgentGrantSchema } from "./agent-grant.js";
3
+ export { LocalAgentGrantSchema } from "./agent-grant.js";
27
4
  export declare const LocalAgentSnapshotSchema: z.ZodObject<{
28
5
  basis: z.ZodObject<{
29
6
  scope: z.ZodObject<{
@@ -31,11 +8,20 @@ export declare const LocalAgentSnapshotSchema: z.ZodObject<{
31
8
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
32
9
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
33
10
  }, z.core.$strict>;
34
- contextFingerprint: z.ZodString;
35
- target: z.ZodObject<{
11
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
36
12
  kind: z.ZodLiteral<"IMAGE">;
37
13
  generationId: z.ZodUUID;
38
- }, z.core.$strict>;
14
+ }, z.core.$strict>, z.ZodObject<{
15
+ kind: z.ZodLiteral<"VIDEO">;
16
+ generationId: z.ZodUUID;
17
+ }, z.core.$strict>, z.ZodObject<{
18
+ kind: z.ZodLiteral<"ROUGH_CUT">;
19
+ renderId: z.ZodUUID;
20
+ }, z.core.$strict>, z.ZodObject<{
21
+ kind: z.ZodLiteral<"PROGRAMMATIC">;
22
+ renderId: z.ZodUUID;
23
+ }, z.core.$strict>], "kind">;
24
+ contextFingerprint: z.ZodString;
39
25
  }, z.core.$strict>;
40
26
  productionRevision: z.ZodInt;
41
27
  reviewVersion: z.ZodInt;
@@ -48,15 +34,193 @@ export declare const LocalAgentSnapshotSchema: z.ZodObject<{
48
34
  representationId: z.ZodUUID;
49
35
  checksumSha256: z.ZodString;
50
36
  }, z.core.$strict>;
51
- requirements: z.ZodArray<z.ZodObject<{
37
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
38
+ intentPath: z.ZodOptional<z.ZodString>;
39
+ key: z.ZodString;
40
+ expected: z.ZodString;
41
+ enforcement: z.ZodEnum<{
42
+ LOCKED: "LOCKED";
43
+ REQUIRED: "REQUIRED";
44
+ PREFERRED: "PREFERRED";
45
+ }>;
46
+ }, z.core.$strict>, z.ZodObject<{
52
47
  intentPath: z.ZodOptional<z.ZodString>;
48
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
49
+ kind: z.ZodLiteral<"STATE">;
50
+ mode: z.ZodEnum<{
51
+ PRESERVE: "PRESERVE";
52
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
53
+ }>;
54
+ entry: z.ZodString;
55
+ exit: z.ZodString;
56
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
57
+ atPermille: z.ZodInt;
58
+ from: z.ZodString;
59
+ to: z.ZodString;
60
+ reason: z.ZodString;
61
+ }, z.core.$strict>>>;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"TIME">;
64
+ mode: z.ZodEnum<{
65
+ MONOTONIC: "MONOTONIC";
66
+ PLANNED_JUMPS: "PLANNED_JUMPS";
67
+ }>;
68
+ entryMs: z.ZodInt;
69
+ exitMs: z.ZodInt;
70
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
+ atPermille: z.ZodInt;
72
+ fromMs: z.ZodInt;
73
+ toMs: z.ZodInt;
74
+ reason: z.ZodString;
75
+ }, z.core.$strict>>>;
76
+ }, z.core.$strict>], "kind">>;
77
+ interval: z.ZodOptional<z.ZodObject<{
78
+ startMs: z.ZodInt;
79
+ endMs: z.ZodInt;
80
+ }, z.core.$strict>>;
53
81
  key: z.ZodString;
82
+ family: z.ZodEnum<{
83
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
84
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
85
+ WARDROBE: "WARDROBE";
86
+ LOCATION: "LOCATION";
87
+ STYLE: "STYLE";
88
+ SHOT_INTENT: "SHOT_INTENT";
89
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
90
+ SOUND: "SOUND";
91
+ }>;
54
92
  expected: z.ZodString;
55
93
  enforcement: z.ZodEnum<{
56
94
  LOCKED: "LOCKED";
57
95
  REQUIRED: "REQUIRED";
58
96
  PREFERRED: "PREFERRED";
59
97
  }>;
98
+ evidenceWindow: z.ZodEnum<{
99
+ START: "START";
100
+ END: "END";
101
+ WHOLE_VIDEO: "WHOLE_VIDEO";
102
+ TEMPORAL: "TEMPORAL";
103
+ }>;
104
+ }, z.core.$strict>, z.ZodObject<{
105
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
106
+ kind: z.ZodLiteral<"STATE">;
107
+ mode: z.ZodEnum<{
108
+ PRESERVE: "PRESERVE";
109
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
110
+ }>;
111
+ entry: z.ZodString;
112
+ exit: z.ZodString;
113
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ atPermille: z.ZodInt;
115
+ from: z.ZodString;
116
+ to: z.ZodString;
117
+ reason: z.ZodString;
118
+ }, z.core.$strict>>>;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"TIME">;
121
+ mode: z.ZodEnum<{
122
+ MONOTONIC: "MONOTONIC";
123
+ PLANNED_JUMPS: "PLANNED_JUMPS";
124
+ }>;
125
+ entryMs: z.ZodInt;
126
+ exitMs: z.ZodInt;
127
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
128
+ atPermille: z.ZodInt;
129
+ fromMs: z.ZodInt;
130
+ toMs: z.ZodInt;
131
+ reason: z.ZodString;
132
+ }, z.core.$strict>>>;
133
+ }, z.core.$strict>], "kind">>;
134
+ consistencyScale: z.ZodOptional<z.ZodEnum<{
135
+ INTRA_SHOT: "INTRA_SHOT";
136
+ INTER_SHOT: "INTER_SHOT";
137
+ PRODUCTION: "PRODUCTION";
138
+ }>>;
139
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
140
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
141
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
142
+ WARDROBE: "WARDROBE";
143
+ LOCATION: "LOCATION";
144
+ STYLE: "STYLE";
145
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
146
+ }>>;
147
+ consistencySubject: z.ZodOptional<z.ZodObject<{
148
+ id: z.ZodUUID;
149
+ kind: z.ZodEnum<{
150
+ CHARACTER: "CHARACTER";
151
+ VOICE: "VOICE";
152
+ }>;
153
+ displayName: z.ZodString;
154
+ facts: z.ZodArray<z.ZodObject<{
155
+ dimension: z.ZodString;
156
+ value: z.ZodString;
157
+ }, z.core.$strict>>;
158
+ master: z.ZodObject<{
159
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
160
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
161
+ checksumSha256: z.ZodString;
162
+ artifactChecksumSha256: z.ZodString;
163
+ contentType: z.ZodEnum<{
164
+ "image/png": "image/png";
165
+ "image/jpeg": "image/jpeg";
166
+ "image/webp": "image/webp";
167
+ "audio/wav": "audio/wav";
168
+ }>;
169
+ }, z.core.$strict>;
170
+ }, z.core.$strict>>;
171
+ consistencyReference: z.ZodOptional<z.ZodObject<{
172
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
173
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
174
+ checksumSha256: z.ZodString;
175
+ artifactChecksumSha256: z.ZodString;
176
+ contentType: z.ZodEnum<{
177
+ "image/png": "image/png";
178
+ "image/jpeg": "image/jpeg";
179
+ "image/webp": "image/webp";
180
+ "audio/wav": "audio/wav";
181
+ }>;
182
+ }, z.core.$strict>>;
183
+ key: z.ZodString;
184
+ dimension: z.ZodEnum<{
185
+ TRANSITION: "TRANSITION";
186
+ STYLE: "STYLE";
187
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
188
+ CANONICAL_FACT: "CANONICAL_FACT";
189
+ NARRATIVE: "NARRATIVE";
190
+ PACING: "PACING";
191
+ REPETITION: "REPETITION";
192
+ TECHNICAL: "TECHNICAL";
193
+ }>;
194
+ expected: z.ZodString;
195
+ enforcement: z.ZodEnum<{
196
+ LOCKED: "LOCKED";
197
+ REQUIRED: "REQUIRED";
198
+ PREFERRED: "PREFERRED";
199
+ }>;
200
+ scope: z.ZodEnum<{
201
+ TRANSITION: "TRANSITION";
202
+ PRODUCTION: "PRODUCTION";
203
+ }>;
204
+ interval: z.ZodObject<{
205
+ startMs: z.ZodInt;
206
+ endMs: z.ZodInt;
207
+ }, z.core.$strict>;
208
+ shotIds: z.ZodArray<z.ZodUUID>;
209
+ }, z.core.$strict>]>>;
210
+ evidence: z.ZodOptional<z.ZodObject<{
211
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
212
+ contentType: z.ZodEnum<{
213
+ "image/png": "image/png";
214
+ "image/jpeg": "image/jpeg";
215
+ "image/webp": "image/webp";
216
+ "video/mp4": "video/mp4";
217
+ }>;
218
+ byteSize: z.ZodInt;
219
+ width: z.ZodInt;
220
+ height: z.ZodInt;
221
+ durationMs: z.ZodOptional<z.ZodInt>;
222
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
223
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
60
224
  }, z.core.$strict>>;
61
225
  image: z.ZodOptional<z.ZodObject<{
62
226
  contentType: z.ZodLiteral<"image/png">;
@@ -78,7 +242,10 @@ export declare const LocalAgentProbeSchema: z.ZodObject<{
78
242
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
79
243
  }, z.core.$strict>;
80
244
  export declare const LocalAgentPlanSchema: z.ZodObject<{
81
- protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
245
+ protocol: z.ZodEnum<{
246
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
247
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
248
+ }>;
82
249
  id: z.ZodUUID;
83
250
  grantFingerprint: z.ZodString;
84
251
  snapshot: z.ZodObject<{
@@ -88,11 +255,20 @@ export declare const LocalAgentPlanSchema: z.ZodObject<{
88
255
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
89
256
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
90
257
  }, z.core.$strict>;
91
- contextFingerprint: z.ZodString;
92
- target: z.ZodObject<{
258
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
93
259
  kind: z.ZodLiteral<"IMAGE">;
94
260
  generationId: z.ZodUUID;
95
- }, z.core.$strict>;
261
+ }, z.core.$strict>, z.ZodObject<{
262
+ kind: z.ZodLiteral<"VIDEO">;
263
+ generationId: z.ZodUUID;
264
+ }, z.core.$strict>, z.ZodObject<{
265
+ kind: z.ZodLiteral<"ROUGH_CUT">;
266
+ renderId: z.ZodUUID;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ kind: z.ZodLiteral<"PROGRAMMATIC">;
269
+ renderId: z.ZodUUID;
270
+ }, z.core.$strict>], "kind">;
271
+ contextFingerprint: z.ZodString;
96
272
  }, z.core.$strict>;
97
273
  productionRevision: z.ZodInt;
98
274
  reviewVersion: z.ZodInt;
@@ -105,15 +281,193 @@ export declare const LocalAgentPlanSchema: z.ZodObject<{
105
281
  representationId: z.ZodUUID;
106
282
  checksumSha256: z.ZodString;
107
283
  }, z.core.$strict>;
108
- requirements: z.ZodArray<z.ZodObject<{
284
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
285
+ intentPath: z.ZodOptional<z.ZodString>;
286
+ key: z.ZodString;
287
+ expected: z.ZodString;
288
+ enforcement: z.ZodEnum<{
289
+ LOCKED: "LOCKED";
290
+ REQUIRED: "REQUIRED";
291
+ PREFERRED: "PREFERRED";
292
+ }>;
293
+ }, z.core.$strict>, z.ZodObject<{
109
294
  intentPath: z.ZodOptional<z.ZodString>;
295
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
296
+ kind: z.ZodLiteral<"STATE">;
297
+ mode: z.ZodEnum<{
298
+ PRESERVE: "PRESERVE";
299
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
300
+ }>;
301
+ entry: z.ZodString;
302
+ exit: z.ZodString;
303
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ atPermille: z.ZodInt;
305
+ from: z.ZodString;
306
+ to: z.ZodString;
307
+ reason: z.ZodString;
308
+ }, z.core.$strict>>>;
309
+ }, z.core.$strict>, z.ZodObject<{
310
+ kind: z.ZodLiteral<"TIME">;
311
+ mode: z.ZodEnum<{
312
+ MONOTONIC: "MONOTONIC";
313
+ PLANNED_JUMPS: "PLANNED_JUMPS";
314
+ }>;
315
+ entryMs: z.ZodInt;
316
+ exitMs: z.ZodInt;
317
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
318
+ atPermille: z.ZodInt;
319
+ fromMs: z.ZodInt;
320
+ toMs: z.ZodInt;
321
+ reason: z.ZodString;
322
+ }, z.core.$strict>>>;
323
+ }, z.core.$strict>], "kind">>;
324
+ interval: z.ZodOptional<z.ZodObject<{
325
+ startMs: z.ZodInt;
326
+ endMs: z.ZodInt;
327
+ }, z.core.$strict>>;
328
+ key: z.ZodString;
329
+ family: z.ZodEnum<{
330
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
331
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
332
+ WARDROBE: "WARDROBE";
333
+ LOCATION: "LOCATION";
334
+ STYLE: "STYLE";
335
+ SHOT_INTENT: "SHOT_INTENT";
336
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
337
+ SOUND: "SOUND";
338
+ }>;
339
+ expected: z.ZodString;
340
+ enforcement: z.ZodEnum<{
341
+ LOCKED: "LOCKED";
342
+ REQUIRED: "REQUIRED";
343
+ PREFERRED: "PREFERRED";
344
+ }>;
345
+ evidenceWindow: z.ZodEnum<{
346
+ START: "START";
347
+ END: "END";
348
+ WHOLE_VIDEO: "WHOLE_VIDEO";
349
+ TEMPORAL: "TEMPORAL";
350
+ }>;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
353
+ kind: z.ZodLiteral<"STATE">;
354
+ mode: z.ZodEnum<{
355
+ PRESERVE: "PRESERVE";
356
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
357
+ }>;
358
+ entry: z.ZodString;
359
+ exit: z.ZodString;
360
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
361
+ atPermille: z.ZodInt;
362
+ from: z.ZodString;
363
+ to: z.ZodString;
364
+ reason: z.ZodString;
365
+ }, z.core.$strict>>>;
366
+ }, z.core.$strict>, z.ZodObject<{
367
+ kind: z.ZodLiteral<"TIME">;
368
+ mode: z.ZodEnum<{
369
+ MONOTONIC: "MONOTONIC";
370
+ PLANNED_JUMPS: "PLANNED_JUMPS";
371
+ }>;
372
+ entryMs: z.ZodInt;
373
+ exitMs: z.ZodInt;
374
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ atPermille: z.ZodInt;
376
+ fromMs: z.ZodInt;
377
+ toMs: z.ZodInt;
378
+ reason: z.ZodString;
379
+ }, z.core.$strict>>>;
380
+ }, z.core.$strict>], "kind">>;
381
+ consistencyScale: z.ZodOptional<z.ZodEnum<{
382
+ INTRA_SHOT: "INTRA_SHOT";
383
+ INTER_SHOT: "INTER_SHOT";
384
+ PRODUCTION: "PRODUCTION";
385
+ }>>;
386
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
387
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
388
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
389
+ WARDROBE: "WARDROBE";
390
+ LOCATION: "LOCATION";
391
+ STYLE: "STYLE";
392
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
393
+ }>>;
394
+ consistencySubject: z.ZodOptional<z.ZodObject<{
395
+ id: z.ZodUUID;
396
+ kind: z.ZodEnum<{
397
+ CHARACTER: "CHARACTER";
398
+ VOICE: "VOICE";
399
+ }>;
400
+ displayName: z.ZodString;
401
+ facts: z.ZodArray<z.ZodObject<{
402
+ dimension: z.ZodString;
403
+ value: z.ZodString;
404
+ }, z.core.$strict>>;
405
+ master: z.ZodObject<{
406
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
407
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
408
+ checksumSha256: z.ZodString;
409
+ artifactChecksumSha256: z.ZodString;
410
+ contentType: z.ZodEnum<{
411
+ "image/png": "image/png";
412
+ "image/jpeg": "image/jpeg";
413
+ "image/webp": "image/webp";
414
+ "audio/wav": "audio/wav";
415
+ }>;
416
+ }, z.core.$strict>;
417
+ }, z.core.$strict>>;
418
+ consistencyReference: z.ZodOptional<z.ZodObject<{
419
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
420
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
421
+ checksumSha256: z.ZodString;
422
+ artifactChecksumSha256: z.ZodString;
423
+ contentType: z.ZodEnum<{
424
+ "image/png": "image/png";
425
+ "image/jpeg": "image/jpeg";
426
+ "image/webp": "image/webp";
427
+ "audio/wav": "audio/wav";
428
+ }>;
429
+ }, z.core.$strict>>;
110
430
  key: z.ZodString;
431
+ dimension: z.ZodEnum<{
432
+ TRANSITION: "TRANSITION";
433
+ STYLE: "STYLE";
434
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
435
+ CANONICAL_FACT: "CANONICAL_FACT";
436
+ NARRATIVE: "NARRATIVE";
437
+ PACING: "PACING";
438
+ REPETITION: "REPETITION";
439
+ TECHNICAL: "TECHNICAL";
440
+ }>;
111
441
  expected: z.ZodString;
112
442
  enforcement: z.ZodEnum<{
113
443
  LOCKED: "LOCKED";
114
444
  REQUIRED: "REQUIRED";
115
445
  PREFERRED: "PREFERRED";
116
446
  }>;
447
+ scope: z.ZodEnum<{
448
+ TRANSITION: "TRANSITION";
449
+ PRODUCTION: "PRODUCTION";
450
+ }>;
451
+ interval: z.ZodObject<{
452
+ startMs: z.ZodInt;
453
+ endMs: z.ZodInt;
454
+ }, z.core.$strict>;
455
+ shotIds: z.ZodArray<z.ZodUUID>;
456
+ }, z.core.$strict>]>>;
457
+ evidence: z.ZodOptional<z.ZodObject<{
458
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
459
+ contentType: z.ZodEnum<{
460
+ "image/png": "image/png";
461
+ "image/jpeg": "image/jpeg";
462
+ "image/webp": "image/webp";
463
+ "video/mp4": "video/mp4";
464
+ }>;
465
+ byteSize: z.ZodInt;
466
+ width: z.ZodInt;
467
+ height: z.ZodInt;
468
+ durationMs: z.ZodOptional<z.ZodInt>;
469
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
470
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
117
471
  }, z.core.$strict>>;
118
472
  image: z.ZodOptional<z.ZodObject<{
119
473
  contentType: z.ZodLiteral<"image/png">;
@@ -136,7 +490,6 @@ export declare const LocalAgentPixelAnswerSchema: z.ZodObject<{
136
490
  summary: z.ZodString;
137
491
  imageReadback: z.ZodString;
138
492
  observations: z.ZodArray<z.ZodObject<{
139
- key: z.ZodString;
140
493
  status: z.ZodEnum<{
141
494
  SATISFIED: "SATISFIED";
142
495
  VIOLATED: "VIOLATED";
@@ -148,6 +501,7 @@ export declare const LocalAgentPixelAnswerSchema: z.ZodObject<{
148
501
  UNCERTAIN: "UNCERTAIN";
149
502
  }>;
150
503
  observed: z.ZodString;
504
+ key: z.ZodString;
151
505
  }, z.core.$strict>>;
152
506
  }, z.core.$strict>;
153
507
  export declare const LocalAgentAnswerSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -160,7 +514,6 @@ export declare const LocalAgentAnswerSchema: z.ZodUnion<readonly [z.ZodObject<{
160
514
  summary: z.ZodString;
161
515
  imageReadback: z.ZodString;
162
516
  observations: z.ZodArray<z.ZodObject<{
163
- key: z.ZodString;
164
517
  status: z.ZodEnum<{
165
518
  SATISFIED: "SATISFIED";
166
519
  VIOLATED: "VIOLATED";
@@ -172,6 +525,7 @@ export declare const LocalAgentAnswerSchema: z.ZodUnion<readonly [z.ZodObject<{
172
525
  UNCERTAIN: "UNCERTAIN";
173
526
  }>;
174
527
  observed: z.ZodString;
528
+ key: z.ZodString;
175
529
  }, z.core.$strict>>;
176
530
  }, z.core.$strict>]>;
177
531
  export declare const LocalAgentImageReceiptSchema: z.ZodObject<{
@@ -189,7 +543,10 @@ export declare const LocalAgentImageReceiptSchema: z.ZodObject<{
189
543
  }, z.core.$strict>;
190
544
  export declare const LocalAgentReviewViewSchema: z.ZodObject<{
191
545
  plan: z.ZodObject<{
192
- protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
546
+ protocol: z.ZodEnum<{
547
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
548
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
549
+ }>;
193
550
  id: z.ZodUUID;
194
551
  grantFingerprint: z.ZodString;
195
552
  snapshot: z.ZodObject<{
@@ -199,11 +556,20 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
199
556
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
200
557
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
201
558
  }, z.core.$strict>;
202
- contextFingerprint: z.ZodString;
203
- target: z.ZodObject<{
559
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
204
560
  kind: z.ZodLiteral<"IMAGE">;
205
561
  generationId: z.ZodUUID;
206
- }, z.core.$strict>;
562
+ }, z.core.$strict>, z.ZodObject<{
563
+ kind: z.ZodLiteral<"VIDEO">;
564
+ generationId: z.ZodUUID;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ kind: z.ZodLiteral<"ROUGH_CUT">;
567
+ renderId: z.ZodUUID;
568
+ }, z.core.$strict>, z.ZodObject<{
569
+ kind: z.ZodLiteral<"PROGRAMMATIC">;
570
+ renderId: z.ZodUUID;
571
+ }, z.core.$strict>], "kind">;
572
+ contextFingerprint: z.ZodString;
207
573
  }, z.core.$strict>;
208
574
  productionRevision: z.ZodInt;
209
575
  reviewVersion: z.ZodInt;
@@ -216,7 +582,7 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
216
582
  representationId: z.ZodUUID;
217
583
  checksumSha256: z.ZodString;
218
584
  }, z.core.$strict>;
219
- requirements: z.ZodArray<z.ZodObject<{
585
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
220
586
  intentPath: z.ZodOptional<z.ZodString>;
221
587
  key: z.ZodString;
222
588
  expected: z.ZodString;
@@ -225,6 +591,184 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
225
591
  REQUIRED: "REQUIRED";
226
592
  PREFERRED: "PREFERRED";
227
593
  }>;
594
+ }, z.core.$strict>, z.ZodObject<{
595
+ intentPath: z.ZodOptional<z.ZodString>;
596
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
597
+ kind: z.ZodLiteral<"STATE">;
598
+ mode: z.ZodEnum<{
599
+ PRESERVE: "PRESERVE";
600
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
601
+ }>;
602
+ entry: z.ZodString;
603
+ exit: z.ZodString;
604
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
605
+ atPermille: z.ZodInt;
606
+ from: z.ZodString;
607
+ to: z.ZodString;
608
+ reason: z.ZodString;
609
+ }, z.core.$strict>>>;
610
+ }, z.core.$strict>, z.ZodObject<{
611
+ kind: z.ZodLiteral<"TIME">;
612
+ mode: z.ZodEnum<{
613
+ MONOTONIC: "MONOTONIC";
614
+ PLANNED_JUMPS: "PLANNED_JUMPS";
615
+ }>;
616
+ entryMs: z.ZodInt;
617
+ exitMs: z.ZodInt;
618
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
619
+ atPermille: z.ZodInt;
620
+ fromMs: z.ZodInt;
621
+ toMs: z.ZodInt;
622
+ reason: z.ZodString;
623
+ }, z.core.$strict>>>;
624
+ }, z.core.$strict>], "kind">>;
625
+ interval: z.ZodOptional<z.ZodObject<{
626
+ startMs: z.ZodInt;
627
+ endMs: z.ZodInt;
628
+ }, z.core.$strict>>;
629
+ key: z.ZodString;
630
+ family: z.ZodEnum<{
631
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
632
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
633
+ WARDROBE: "WARDROBE";
634
+ LOCATION: "LOCATION";
635
+ STYLE: "STYLE";
636
+ SHOT_INTENT: "SHOT_INTENT";
637
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
638
+ SOUND: "SOUND";
639
+ }>;
640
+ expected: z.ZodString;
641
+ enforcement: z.ZodEnum<{
642
+ LOCKED: "LOCKED";
643
+ REQUIRED: "REQUIRED";
644
+ PREFERRED: "PREFERRED";
645
+ }>;
646
+ evidenceWindow: z.ZodEnum<{
647
+ START: "START";
648
+ END: "END";
649
+ WHOLE_VIDEO: "WHOLE_VIDEO";
650
+ TEMPORAL: "TEMPORAL";
651
+ }>;
652
+ }, z.core.$strict>, z.ZodObject<{
653
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
654
+ kind: z.ZodLiteral<"STATE">;
655
+ mode: z.ZodEnum<{
656
+ PRESERVE: "PRESERVE";
657
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
658
+ }>;
659
+ entry: z.ZodString;
660
+ exit: z.ZodString;
661
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
662
+ atPermille: z.ZodInt;
663
+ from: z.ZodString;
664
+ to: z.ZodString;
665
+ reason: z.ZodString;
666
+ }, z.core.$strict>>>;
667
+ }, z.core.$strict>, z.ZodObject<{
668
+ kind: z.ZodLiteral<"TIME">;
669
+ mode: z.ZodEnum<{
670
+ MONOTONIC: "MONOTONIC";
671
+ PLANNED_JUMPS: "PLANNED_JUMPS";
672
+ }>;
673
+ entryMs: z.ZodInt;
674
+ exitMs: z.ZodInt;
675
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
+ atPermille: z.ZodInt;
677
+ fromMs: z.ZodInt;
678
+ toMs: z.ZodInt;
679
+ reason: z.ZodString;
680
+ }, z.core.$strict>>>;
681
+ }, z.core.$strict>], "kind">>;
682
+ consistencyScale: z.ZodOptional<z.ZodEnum<{
683
+ INTRA_SHOT: "INTRA_SHOT";
684
+ INTER_SHOT: "INTER_SHOT";
685
+ PRODUCTION: "PRODUCTION";
686
+ }>>;
687
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
688
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
689
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
690
+ WARDROBE: "WARDROBE";
691
+ LOCATION: "LOCATION";
692
+ STYLE: "STYLE";
693
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
694
+ }>>;
695
+ consistencySubject: z.ZodOptional<z.ZodObject<{
696
+ id: z.ZodUUID;
697
+ kind: z.ZodEnum<{
698
+ CHARACTER: "CHARACTER";
699
+ VOICE: "VOICE";
700
+ }>;
701
+ displayName: z.ZodString;
702
+ facts: z.ZodArray<z.ZodObject<{
703
+ dimension: z.ZodString;
704
+ value: z.ZodString;
705
+ }, z.core.$strict>>;
706
+ master: z.ZodObject<{
707
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
708
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
709
+ checksumSha256: z.ZodString;
710
+ artifactChecksumSha256: z.ZodString;
711
+ contentType: z.ZodEnum<{
712
+ "image/png": "image/png";
713
+ "image/jpeg": "image/jpeg";
714
+ "image/webp": "image/webp";
715
+ "audio/wav": "audio/wav";
716
+ }>;
717
+ }, z.core.$strict>;
718
+ }, z.core.$strict>>;
719
+ consistencyReference: z.ZodOptional<z.ZodObject<{
720
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
721
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
722
+ checksumSha256: z.ZodString;
723
+ artifactChecksumSha256: z.ZodString;
724
+ contentType: z.ZodEnum<{
725
+ "image/png": "image/png";
726
+ "image/jpeg": "image/jpeg";
727
+ "image/webp": "image/webp";
728
+ "audio/wav": "audio/wav";
729
+ }>;
730
+ }, z.core.$strict>>;
731
+ key: z.ZodString;
732
+ dimension: z.ZodEnum<{
733
+ TRANSITION: "TRANSITION";
734
+ STYLE: "STYLE";
735
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
736
+ CANONICAL_FACT: "CANONICAL_FACT";
737
+ NARRATIVE: "NARRATIVE";
738
+ PACING: "PACING";
739
+ REPETITION: "REPETITION";
740
+ TECHNICAL: "TECHNICAL";
741
+ }>;
742
+ expected: z.ZodString;
743
+ enforcement: z.ZodEnum<{
744
+ LOCKED: "LOCKED";
745
+ REQUIRED: "REQUIRED";
746
+ PREFERRED: "PREFERRED";
747
+ }>;
748
+ scope: z.ZodEnum<{
749
+ TRANSITION: "TRANSITION";
750
+ PRODUCTION: "PRODUCTION";
751
+ }>;
752
+ interval: z.ZodObject<{
753
+ startMs: z.ZodInt;
754
+ endMs: z.ZodInt;
755
+ }, z.core.$strict>;
756
+ shotIds: z.ZodArray<z.ZodUUID>;
757
+ }, z.core.$strict>]>>;
758
+ evidence: z.ZodOptional<z.ZodObject<{
759
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
760
+ contentType: z.ZodEnum<{
761
+ "image/png": "image/png";
762
+ "image/jpeg": "image/jpeg";
763
+ "image/webp": "image/webp";
764
+ "video/mp4": "video/mp4";
765
+ }>;
766
+ byteSize: z.ZodInt;
767
+ width: z.ZodInt;
768
+ height: z.ZodInt;
769
+ durationMs: z.ZodOptional<z.ZodInt>;
770
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
771
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
228
772
  }, z.core.$strict>>;
229
773
  image: z.ZodOptional<z.ZodObject<{
230
774
  contentType: z.ZodLiteral<"image/png">;
@@ -253,7 +797,6 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
253
797
  summary: z.ZodString;
254
798
  imageReadback: z.ZodString;
255
799
  observations: z.ZodArray<z.ZodObject<{
256
- key: z.ZodString;
257
800
  status: z.ZodEnum<{
258
801
  SATISFIED: "SATISFIED";
259
802
  VIOLATED: "VIOLATED";
@@ -265,6 +808,7 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
265
808
  UNCERTAIN: "UNCERTAIN";
266
809
  }>;
267
810
  observed: z.ZodString;
811
+ key: z.ZodString;
268
812
  }, z.core.$strict>>;
269
813
  }, z.core.$strict>]>>;
270
814
  imageReceipt: z.ZodOptional<z.ZodObject<{
@@ -280,8 +824,38 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
280
824
  width: z.ZodInt;
281
825
  height: z.ZodInt;
282
826
  }, z.core.$strict>>;
827
+ evidenceReceipt: z.ZodOptional<z.ZodObject<{
828
+ protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
829
+ draftId: z.ZodUUID;
830
+ media: z.ZodObject<{
831
+ artifactId: z.ZodUUID;
832
+ representationId: z.ZodUUID;
833
+ checksumSha256: z.ZodString;
834
+ }, z.core.$strict>;
835
+ ffmpegDigest: z.ZodString;
836
+ ffprobeDigest: z.ZodString;
837
+ attachment: z.ZodObject<{
838
+ checksumSha256: z.ZodString;
839
+ byteSize: z.ZodInt;
840
+ width: z.ZodInt;
841
+ height: z.ZodInt;
842
+ }, z.core.$strict>;
843
+ timestampsMs: z.ZodArray<z.ZodNumber>;
844
+ audio: z.ZodNullable<z.ZodObject<{
845
+ sampleRateHz: z.ZodLiteral<48000>;
846
+ channels: z.ZodLiteral<1>;
847
+ samples: z.ZodInt;
848
+ peak: z.ZodNumber;
849
+ rms: z.ZodNumber;
850
+ clippedSamples: z.ZodInt;
851
+ }, z.core.$strict>>;
852
+ limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
853
+ }, z.core.$strict>>;
283
854
  provenance: z.ZodObject<{
284
- adapter: z.ZodLiteral<"CODEX_METADATA_V1">;
855
+ adapter: z.ZodEnum<{
856
+ CODEX_METADATA_V1: "CODEX_METADATA_V1";
857
+ CODEX_MEDIA_V2: "CODEX_MEDIA_V2";
858
+ }>;
285
859
  binaryDigest: z.ZodString;
286
860
  version: z.ZodEnum<{
287
861
  "0.164.0": "0.164.0";
@@ -298,6 +872,7 @@ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
298
872
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
299
873
  evidence: z.ZodEnum<{
300
874
  IMAGE_PIXELS: "IMAGE_PIXELS";
875
+ VIDEO_FRAMES: "VIDEO_FRAMES";
301
876
  METADATA_ONLY: "METADATA_ONLY";
302
877
  }>;
303
878
  }, z.core.$strict>;
@@ -313,11 +888,20 @@ export declare function localAgentSnapshotFromContext(raw: unknown, includeImage
313
888
  projectId: string & z.core.$brand<"ProjectId">;
314
889
  productionId: string & z.core.$brand<"ProductionId">;
315
890
  };
316
- contextFingerprint: string;
317
891
  target: {
318
892
  kind: "IMAGE";
319
893
  generationId: string;
894
+ } | {
895
+ kind: "VIDEO";
896
+ generationId: string;
897
+ } | {
898
+ kind: "ROUGH_CUT";
899
+ renderId: string;
900
+ } | {
901
+ kind: "PROGRAMMATIC";
902
+ renderId: string;
320
903
  };
904
+ contextFingerprint: string;
321
905
  };
322
906
  productionRevision: number;
323
907
  reviewVersion: number;
@@ -327,12 +911,115 @@ export declare function localAgentSnapshotFromContext(raw: unknown, includeImage
327
911
  representationId: string;
328
912
  checksumSha256: string;
329
913
  };
330
- requirements: {
914
+ requirements: ({
915
+ key: string;
916
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
917
+ expected: string;
918
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
919
+ scope: "TRANSITION" | "PRODUCTION";
920
+ interval: {
921
+ startMs: number;
922
+ endMs: number;
923
+ };
924
+ shotIds: string[];
925
+ continuity?: {
926
+ kind: "STATE";
927
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
928
+ entry: string;
929
+ exit: string;
930
+ changes?: {
931
+ atPermille: number;
932
+ from: string;
933
+ to: string;
934
+ reason: string;
935
+ }[] | undefined;
936
+ } | {
937
+ kind: "TIME";
938
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
939
+ entryMs: number;
940
+ exitMs: number;
941
+ jumps?: {
942
+ atPermille: number;
943
+ fromMs: number;
944
+ toMs: number;
945
+ reason: string;
946
+ }[] | undefined;
947
+ } | undefined;
948
+ consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
949
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
950
+ consistencySubject?: {
951
+ id: string;
952
+ kind: "CHARACTER" | "VOICE";
953
+ displayName: string;
954
+ facts: {
955
+ dimension: string;
956
+ value: string;
957
+ }[];
958
+ master: {
959
+ artifactId: string & z.core.$brand<"ArtifactId">;
960
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
961
+ checksumSha256: string;
962
+ artifactChecksumSha256: string;
963
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
964
+ };
965
+ } | undefined;
966
+ consistencyReference?: {
967
+ artifactId: string & z.core.$brand<"ArtifactId">;
968
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
969
+ checksumSha256: string;
970
+ artifactChecksumSha256: string;
971
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
972
+ } | undefined;
973
+ } | {
974
+ key: string;
975
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
976
+ expected: string;
977
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
978
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
979
+ intentPath?: string | undefined;
980
+ continuity?: {
981
+ kind: "STATE";
982
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
983
+ entry: string;
984
+ exit: string;
985
+ changes?: {
986
+ atPermille: number;
987
+ from: string;
988
+ to: string;
989
+ reason: string;
990
+ }[] | undefined;
991
+ } | {
992
+ kind: "TIME";
993
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
994
+ entryMs: number;
995
+ exitMs: number;
996
+ jumps?: {
997
+ atPermille: number;
998
+ fromMs: number;
999
+ toMs: number;
1000
+ reason: string;
1001
+ }[] | undefined;
1002
+ } | undefined;
1003
+ interval?: {
1004
+ startMs: number;
1005
+ endMs: number;
1006
+ } | undefined;
1007
+ } | {
331
1008
  key: string;
332
1009
  expected: string;
333
1010
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
334
1011
  intentPath?: string | undefined;
335
- }[];
1012
+ })[];
1013
+ evidence?: {
1014
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
1015
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
1016
+ byteSize: number;
1017
+ width: number;
1018
+ height: number;
1019
+ durationMs?: number | undefined;
1020
+ frameRate?: 30 | 24 | undefined;
1021
+ hasAudio?: boolean | undefined;
1022
+ } | undefined;
336
1023
  image?: {
337
1024
  contentType: "image/png";
338
1025
  byteSize: number;