@nativestudio/cli 0.3.0-rc.2 → 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.
- package/COMPATIBILITY.json +7 -7
- package/README.md +27 -3
- package/components/runtime.json +3 -3
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-BVSTJQJI.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-CA54SKBO.js +1 -0
- package/dist/_chunks/chunk-D533YC7J.js +1 -0
- package/dist/_chunks/{chunk-C33A2DW4.js → chunk-DXJQWTLG.js} +1 -1
- package/dist/_chunks/{chunk-7S3DJ2QE.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-JLOHTDP6.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/{chunk-C753RRRA.js → chunk-KNFUMWDY.js} +1 -1
- package/dist/_chunks/chunk-PBEHCYR7.js +1 -0
- package/dist/_chunks/chunk-RNOIRNC3.js +1 -0
- package/dist/_chunks/chunk-VDQOSVZY.js +1 -0
- package/dist/_chunks/chunk-XZP6RNGC.js +1 -0
- package/dist/_chunks/chunk-YKOJPJZR.js +1 -0
- package/dist/_chunks/{files-FZEK2ZZJ.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/local-main-GSL2FQOG.js +1 -0
- package/dist/_chunks/local-mcp-VYHO4ZE3.js +1 -0
- package/dist/_chunks/{main-VRIQTI6R.js → main-KLXOK7QK.js} +2 -2
- package/dist/_chunks/mcp-P7W623FE.js +1 -0
- package/dist/_chunks/oauth-WJ36KWAC.js +1 -0
- package/dist/_chunks/project-connect-W7V3OALV.js +1 -0
- package/dist/_chunks/render-main-ZW6UJHGN.js +1 -0
- package/dist/_chunks/src-BXLFLNRG.js +1 -0
- package/dist/_chunks/{stdio-main-KOGQ5OWF.js → stdio-main-4Z2JVCMO.js} +1 -1
- package/dist/_types/cli/local/desktop-contract.d.ts +1382 -0
- package/dist/_types/cli/local/desktop-device-contract.d.ts +1165 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +275 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +230 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +552 -1
- package/dist/_types/cli/local/ledger.d.ts +62 -10
- package/dist/_types/cli/local/manager.d.ts +485 -20
- package/dist/_types/cli/local/mcp-tools.d.ts +75 -12
- package/dist/_types/cli/local/project-render-tools.d.ts +522 -0
- package/dist/_types/cli/local/releases.d.ts +10 -2
- package/dist/_types/cli/local-management.d.ts +3 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
- package/dist/_types/contracts/delivery-operations.d.ts +21 -9
- package/dist/_types/contracts/device-render.d.ts +10 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
- package/dist/_types/contracts/final-render.d.ts +9 -0
- package/dist/_types/contracts/index.d.ts +1 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +733 -46
- package/dist/_types/contracts/local-execution/device.d.ts +10 -2
- package/dist/_types/contracts/local-execution/index.d.ts +6 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1759 -37
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +48 -6
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +112 -10
- package/dist/_types/contracts/local-execution/management.d.ts +394 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
- package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
- package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
- package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
- package/dist/_types/contracts/repair-strategy.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence.d.ts +84 -36
- package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
- package/dist/_types/contracts/rough-cut.d.ts +85 -32
- package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
- package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
- package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1294 -56
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/JobNative.cs +10 -0
- package/dist/native/JobRunner.cs +24 -3
- package/dist/native/NativeMain.cs +15 -0
- package/package.json +1 -1
- package/dist/_chunks/chunk-66CUOZVI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
- package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
- package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
- package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
- package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-F7EZGVME.js +0 -1
- package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
export declare function localAgentMediaSnapshot(raw: unknown): {
|
|
2
|
+
basis: {
|
|
3
|
+
scope: {
|
|
4
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
5
|
+
projectId: string & import("zod").$brand<"ProjectId">;
|
|
6
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
7
|
+
};
|
|
8
|
+
target: {
|
|
9
|
+
kind: "IMAGE";
|
|
10
|
+
generationId: string;
|
|
11
|
+
} | {
|
|
12
|
+
kind: "VIDEO";
|
|
13
|
+
generationId: string;
|
|
14
|
+
} | {
|
|
15
|
+
kind: "ROUGH_CUT";
|
|
16
|
+
renderId: string;
|
|
17
|
+
} | {
|
|
18
|
+
kind: "PROGRAMMATIC";
|
|
19
|
+
renderId: string;
|
|
20
|
+
};
|
|
21
|
+
contextFingerprint: string;
|
|
22
|
+
};
|
|
23
|
+
productionRevision: number;
|
|
24
|
+
reviewVersion: number;
|
|
25
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
26
|
+
media: {
|
|
27
|
+
artifactId: string;
|
|
28
|
+
representationId: string;
|
|
29
|
+
checksumSha256: string;
|
|
30
|
+
};
|
|
31
|
+
requirements: ({
|
|
32
|
+
key: string;
|
|
33
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
34
|
+
expected: string;
|
|
35
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
36
|
+
scope: "TRANSITION" | "PRODUCTION";
|
|
37
|
+
interval: {
|
|
38
|
+
startMs: number;
|
|
39
|
+
endMs: number;
|
|
40
|
+
};
|
|
41
|
+
shotIds: string[];
|
|
42
|
+
continuity?: {
|
|
43
|
+
kind: "STATE";
|
|
44
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
45
|
+
entry: string;
|
|
46
|
+
exit: string;
|
|
47
|
+
changes?: {
|
|
48
|
+
atPermille: number;
|
|
49
|
+
from: string;
|
|
50
|
+
to: string;
|
|
51
|
+
reason: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
kind: "TIME";
|
|
55
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
56
|
+
entryMs: number;
|
|
57
|
+
exitMs: number;
|
|
58
|
+
jumps?: {
|
|
59
|
+
atPermille: number;
|
|
60
|
+
fromMs: number;
|
|
61
|
+
toMs: number;
|
|
62
|
+
reason: string;
|
|
63
|
+
}[] | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
|
|
66
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
|
|
67
|
+
consistencySubject?: {
|
|
68
|
+
id: string;
|
|
69
|
+
kind: "CHARACTER" | "VOICE";
|
|
70
|
+
displayName: string;
|
|
71
|
+
facts: {
|
|
72
|
+
dimension: string;
|
|
73
|
+
value: string;
|
|
74
|
+
}[];
|
|
75
|
+
master: {
|
|
76
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
77
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
78
|
+
checksumSha256: string;
|
|
79
|
+
artifactChecksumSha256: string;
|
|
80
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
81
|
+
};
|
|
82
|
+
} | undefined;
|
|
83
|
+
consistencyReference?: {
|
|
84
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
85
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
86
|
+
checksumSha256: string;
|
|
87
|
+
artifactChecksumSha256: string;
|
|
88
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
89
|
+
} | undefined;
|
|
90
|
+
} | {
|
|
91
|
+
key: string;
|
|
92
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
93
|
+
expected: string;
|
|
94
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
95
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
96
|
+
intentPath?: string | undefined;
|
|
97
|
+
continuity?: {
|
|
98
|
+
kind: "STATE";
|
|
99
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
100
|
+
entry: string;
|
|
101
|
+
exit: string;
|
|
102
|
+
changes?: {
|
|
103
|
+
atPermille: number;
|
|
104
|
+
from: string;
|
|
105
|
+
to: string;
|
|
106
|
+
reason: string;
|
|
107
|
+
}[] | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
kind: "TIME";
|
|
110
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
111
|
+
entryMs: number;
|
|
112
|
+
exitMs: number;
|
|
113
|
+
jumps?: {
|
|
114
|
+
atPermille: number;
|
|
115
|
+
fromMs: number;
|
|
116
|
+
toMs: number;
|
|
117
|
+
reason: string;
|
|
118
|
+
}[] | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
interval?: {
|
|
121
|
+
startMs: number;
|
|
122
|
+
endMs: number;
|
|
123
|
+
} | undefined;
|
|
124
|
+
} | {
|
|
125
|
+
key: string;
|
|
126
|
+
expected: string;
|
|
127
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
128
|
+
intentPath?: string | undefined;
|
|
129
|
+
})[];
|
|
130
|
+
evidence?: {
|
|
131
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
132
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
133
|
+
byteSize: number;
|
|
134
|
+
width: number;
|
|
135
|
+
height: number;
|
|
136
|
+
durationMs?: number | undefined;
|
|
137
|
+
frameRate?: 30 | 24 | undefined;
|
|
138
|
+
hasAudio?: boolean | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
image?: {
|
|
141
|
+
contentType: "image/png";
|
|
142
|
+
byteSize: number;
|
|
143
|
+
width: number;
|
|
144
|
+
height: number;
|
|
145
|
+
} | undefined;
|
|
146
|
+
};
|
|
147
|
+
/** Frame samples remain advisory; they cannot supply a full-temporal Review-2 declaration. */
|
|
148
|
+
export declare function localAgentMediaProposal(raw: unknown): {
|
|
149
|
+
basis: {
|
|
150
|
+
scope: {
|
|
151
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
152
|
+
projectId: string & import("zod").$brand<"ProjectId">;
|
|
153
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
154
|
+
};
|
|
155
|
+
target: {
|
|
156
|
+
kind: "IMAGE";
|
|
157
|
+
generationId: string;
|
|
158
|
+
} | {
|
|
159
|
+
kind: "VIDEO";
|
|
160
|
+
generationId: string;
|
|
161
|
+
} | {
|
|
162
|
+
kind: "ROUGH_CUT";
|
|
163
|
+
renderId: string;
|
|
164
|
+
} | {
|
|
165
|
+
kind: "PROGRAMMATIC";
|
|
166
|
+
renderId: string;
|
|
167
|
+
};
|
|
168
|
+
contextFingerprint: string;
|
|
169
|
+
};
|
|
170
|
+
proposal: {
|
|
171
|
+
origin: {
|
|
172
|
+
kind: "EXTERNAL_AGENT_HOST";
|
|
173
|
+
label: string;
|
|
174
|
+
};
|
|
175
|
+
summary: string;
|
|
176
|
+
evidence: ({
|
|
177
|
+
kind: "METADATA";
|
|
178
|
+
id: string;
|
|
179
|
+
label: string;
|
|
180
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
181
|
+
media: {
|
|
182
|
+
artifactId: string;
|
|
183
|
+
representationId: string;
|
|
184
|
+
checksumSha256: string;
|
|
185
|
+
};
|
|
186
|
+
} | {
|
|
187
|
+
kind: "IMAGE_PIXELS";
|
|
188
|
+
id: string;
|
|
189
|
+
label: string;
|
|
190
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
191
|
+
media: {
|
|
192
|
+
artifactId: string;
|
|
193
|
+
representationId: string;
|
|
194
|
+
checksumSha256: string;
|
|
195
|
+
};
|
|
196
|
+
} | {
|
|
197
|
+
kind: "REGISTERED_TEMPORAL_FRAMES";
|
|
198
|
+
reference: {
|
|
199
|
+
evidenceId: string;
|
|
200
|
+
frameSetArtifactId: string;
|
|
201
|
+
contactSheetArtifactId: string;
|
|
202
|
+
manifestRepresentationId: string;
|
|
203
|
+
sheetRepresentationId: string;
|
|
204
|
+
planFingerprint: string;
|
|
205
|
+
sourceArtifactId: string;
|
|
206
|
+
sourceRepresentationId: string;
|
|
207
|
+
sourceChecksumSha256: string;
|
|
208
|
+
timestampsMs: number[];
|
|
209
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
210
|
+
};
|
|
211
|
+
id: string;
|
|
212
|
+
label: string;
|
|
213
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
214
|
+
media: {
|
|
215
|
+
artifactId: string;
|
|
216
|
+
representationId: string;
|
|
217
|
+
checksumSha256: string;
|
|
218
|
+
};
|
|
219
|
+
} | {
|
|
220
|
+
kind: "VIDEO_PLAYBACK";
|
|
221
|
+
coverage: {
|
|
222
|
+
startMs: number;
|
|
223
|
+
endMs: number;
|
|
224
|
+
}[];
|
|
225
|
+
id: string;
|
|
226
|
+
label: string;
|
|
227
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
228
|
+
media: {
|
|
229
|
+
artifactId: string;
|
|
230
|
+
representationId: string;
|
|
231
|
+
checksumSha256: string;
|
|
232
|
+
};
|
|
233
|
+
} | {
|
|
234
|
+
kind: "AUDIO_LISTENING";
|
|
235
|
+
coverage: {
|
|
236
|
+
startMs: number;
|
|
237
|
+
endMs: number;
|
|
238
|
+
}[];
|
|
239
|
+
id: string;
|
|
240
|
+
label: string;
|
|
241
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
242
|
+
media: {
|
|
243
|
+
artifactId: string;
|
|
244
|
+
representationId: string;
|
|
245
|
+
checksumSha256: string;
|
|
246
|
+
};
|
|
247
|
+
} | {
|
|
248
|
+
kind: "VIDEO_WITH_AUDIO_PLAYBACK";
|
|
249
|
+
coverage: {
|
|
250
|
+
startMs: number;
|
|
251
|
+
endMs: number;
|
|
252
|
+
}[];
|
|
253
|
+
id: string;
|
|
254
|
+
label: string;
|
|
255
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
256
|
+
media: {
|
|
257
|
+
artifactId: string;
|
|
258
|
+
representationId: string;
|
|
259
|
+
checksumSha256: string;
|
|
260
|
+
};
|
|
261
|
+
} | {
|
|
262
|
+
kind: "VIDEO_FRAMES";
|
|
263
|
+
timestampsMs: number[];
|
|
264
|
+
id: string;
|
|
265
|
+
label: string;
|
|
266
|
+
producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
|
|
267
|
+
media: {
|
|
268
|
+
artifactId: string;
|
|
269
|
+
representationId: string;
|
|
270
|
+
checksumSha256: string;
|
|
271
|
+
};
|
|
272
|
+
})[];
|
|
273
|
+
review: {
|
|
274
|
+
kind: "IMAGE";
|
|
275
|
+
observations: {
|
|
276
|
+
key: string;
|
|
277
|
+
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
278
|
+
confidence: "CLEAR" | "UNCERTAIN";
|
|
279
|
+
observed: string;
|
|
280
|
+
evidenceIds: string[];
|
|
281
|
+
region?: {
|
|
282
|
+
x: number;
|
|
283
|
+
y: number;
|
|
284
|
+
width: number;
|
|
285
|
+
height: number;
|
|
286
|
+
} | undefined;
|
|
287
|
+
}[];
|
|
288
|
+
} | {
|
|
289
|
+
kind: "VIDEO";
|
|
290
|
+
observations: {
|
|
291
|
+
key: string;
|
|
292
|
+
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
293
|
+
confidence: "CLEAR" | "UNCERTAIN";
|
|
294
|
+
observed: string;
|
|
295
|
+
evidenceIds: string[];
|
|
296
|
+
listeningEvidenceIds?: string[] | undefined;
|
|
297
|
+
continuitySamples?: {
|
|
298
|
+
atMs: number;
|
|
299
|
+
state?: string | undefined;
|
|
300
|
+
storyTimeMs?: number | undefined;
|
|
301
|
+
}[] | undefined;
|
|
302
|
+
temporalEvidenceIds?: string[] | undefined;
|
|
303
|
+
interval?: {
|
|
304
|
+
startMs: number;
|
|
305
|
+
endMs: number;
|
|
306
|
+
} | undefined;
|
|
307
|
+
}[];
|
|
308
|
+
} | {
|
|
309
|
+
kind: "PROGRAMMATIC";
|
|
310
|
+
observations: {
|
|
311
|
+
key: string;
|
|
312
|
+
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
313
|
+
confidence: "CLEAR" | "UNCERTAIN";
|
|
314
|
+
observed: string;
|
|
315
|
+
evidenceIds: string[];
|
|
316
|
+
listeningEvidenceIds?: string[] | undefined;
|
|
317
|
+
continuitySamples?: {
|
|
318
|
+
atMs: number;
|
|
319
|
+
state?: string | undefined;
|
|
320
|
+
storyTimeMs?: number | undefined;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
temporalEvidenceIds?: string[] | undefined;
|
|
323
|
+
interval?: {
|
|
324
|
+
startMs: number;
|
|
325
|
+
endMs: number;
|
|
326
|
+
} | undefined;
|
|
327
|
+
}[];
|
|
328
|
+
} | {
|
|
329
|
+
kind: "ROUGH_CUT";
|
|
330
|
+
observations: {
|
|
331
|
+
key: string;
|
|
332
|
+
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
333
|
+
confidence: "CLEAR" | "UNCERTAIN";
|
|
334
|
+
observed: string;
|
|
335
|
+
interval: {
|
|
336
|
+
startMs: number;
|
|
337
|
+
endMs: number;
|
|
338
|
+
};
|
|
339
|
+
evidenceIds: string[];
|
|
340
|
+
listeningEvidenceIds?: string[] | undefined;
|
|
341
|
+
continuitySamples?: {
|
|
342
|
+
atMs: number;
|
|
343
|
+
state?: string | undefined;
|
|
344
|
+
storyTimeMs?: number | undefined;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
temporalEvidenceIds?: string[] | undefined;
|
|
347
|
+
location?: {
|
|
348
|
+
interval: {
|
|
349
|
+
startMs: number;
|
|
350
|
+
endMs: number;
|
|
351
|
+
};
|
|
352
|
+
shotIds: string[];
|
|
353
|
+
} | undefined;
|
|
354
|
+
}[];
|
|
355
|
+
inspection: {
|
|
356
|
+
actor: "HUMAN" | "EXTERNAL_AGENT";
|
|
357
|
+
method: "FULL_TEMPORAL_INSPECTION";
|
|
358
|
+
coverage: {
|
|
359
|
+
startMs: number;
|
|
360
|
+
endMs: number;
|
|
361
|
+
}[];
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalAgentMediaInputSchema: z.ZodObject<{
|
|
3
|
+
profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
|
|
4
|
+
contentType: z.ZodEnum<{
|
|
5
|
+
"image/png": "image/png";
|
|
6
|
+
"image/jpeg": "image/jpeg";
|
|
7
|
+
"image/webp": "image/webp";
|
|
8
|
+
"video/mp4": "video/mp4";
|
|
9
|
+
}>;
|
|
10
|
+
byteSize: z.ZodInt;
|
|
11
|
+
width: z.ZodInt;
|
|
12
|
+
height: z.ZodInt;
|
|
13
|
+
durationMs: z.ZodOptional<z.ZodInt>;
|
|
14
|
+
frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
|
|
15
|
+
hasAudio: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export declare const LocalAgentEvidenceReceiptSchema: z.ZodObject<{
|
|
18
|
+
protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
|
|
19
|
+
draftId: z.ZodUUID;
|
|
20
|
+
media: z.ZodObject<{
|
|
21
|
+
artifactId: z.ZodUUID;
|
|
22
|
+
representationId: z.ZodUUID;
|
|
23
|
+
checksumSha256: z.ZodString;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
ffmpegDigest: z.ZodString;
|
|
26
|
+
ffprobeDigest: z.ZodString;
|
|
27
|
+
attachment: z.ZodObject<{
|
|
28
|
+
checksumSha256: z.ZodString;
|
|
29
|
+
byteSize: z.ZodInt;
|
|
30
|
+
width: z.ZodInt;
|
|
31
|
+
height: z.ZodInt;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
timestampsMs: z.ZodArray<z.ZodNumber>;
|
|
34
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
36
|
+
channels: z.ZodLiteral<1>;
|
|
37
|
+
samples: z.ZodInt;
|
|
38
|
+
peak: z.ZodNumber;
|
|
39
|
+
rms: z.ZodNumber;
|
|
40
|
+
clippedSamples: z.ZodInt;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export type LocalAgentMediaInput = z.infer<typeof LocalAgentMediaInputSchema>;
|
|
45
|
+
export type LocalAgentEvidenceReceipt = z.infer<typeof LocalAgentEvidenceReceiptSchema>;
|
|
46
|
+
export declare const LocalAgentDiscoverySchema: z.ZodObject<{
|
|
47
|
+
candidate: z.ZodNullable<z.ZodObject<{
|
|
48
|
+
binary: z.ZodString;
|
|
49
|
+
binaryDigest: z.ZodString;
|
|
50
|
+
version: z.ZodString;
|
|
51
|
+
qualified: z.ZodBoolean;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
configured: z.ZodNullable<z.ZodObject<{
|
|
54
|
+
protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
|
|
55
|
+
binary: z.ZodString;
|
|
56
|
+
binaryDigest: z.ZodString;
|
|
57
|
+
version: z.ZodEnum<{
|
|
58
|
+
"0.164.0": "0.164.0";
|
|
59
|
+
"0.165.0": "0.165.0";
|
|
60
|
+
}>;
|
|
61
|
+
model: z.ZodString;
|
|
62
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
medium: "medium";
|
|
64
|
+
low: "low";
|
|
65
|
+
high: "high";
|
|
66
|
+
xhigh: "xhigh";
|
|
67
|
+
}>>;
|
|
68
|
+
reviewerLabel: z.ZodString;
|
|
69
|
+
inference: z.ZodLiteral<"REMOTE_OPENAI">;
|
|
70
|
+
remoteUseApproved: z.ZodLiteral<true>;
|
|
71
|
+
imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
|
|
72
|
+
mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
|
|
73
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
74
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
75
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
76
|
+
}, z.core.$strict>>;
|
|
77
|
+
expiresAt: z.ZodISODateTime;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const QualifiedLocalAgentVersionSchema: z.ZodEnum<{
|
|
3
|
+
"0.164.0": "0.164.0";
|
|
4
|
+
"0.165.0": "0.165.0";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const LocalAgentGrantSchema: z.ZodObject<{
|
|
7
|
+
protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
|
|
8
|
+
binary: z.ZodString;
|
|
9
|
+
binaryDigest: z.ZodString;
|
|
10
|
+
version: z.ZodEnum<{
|
|
11
|
+
"0.164.0": "0.164.0";
|
|
12
|
+
"0.165.0": "0.165.0";
|
|
13
|
+
}>;
|
|
14
|
+
model: z.ZodString;
|
|
15
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
medium: "medium";
|
|
17
|
+
low: "low";
|
|
18
|
+
high: "high";
|
|
19
|
+
xhigh: "xhigh";
|
|
20
|
+
}>>;
|
|
21
|
+
reviewerLabel: z.ZodString;
|
|
22
|
+
inference: z.ZodLiteral<"REMOTE_OPENAI">;
|
|
23
|
+
remoteUseApproved: z.ZodLiteral<true>;
|
|
24
|
+
imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
|
|
25
|
+
mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
|
|
26
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
27
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
28
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
expiresAt: z.ZodISODateTime;
|
|
31
|
+
}, z.core.$strict>;
|