@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.11
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 +33 -8
- package/LICENSE +201 -21
- package/components/runtime.json +29 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-37PAJCKA.js +1 -0
- package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
- package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
- package/dist/_chunks/chunk-65FQPXKC.js +1 -0
- package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
- package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-6N433ZWR.js +1 -0
- package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
- package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
- package/dist/_chunks/chunk-HR34UMPP.js +1 -0
- package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/chunk-L543FEDK.js +1 -0
- package/dist/_chunks/chunk-LISB5W7B.js +1 -0
- package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
- package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
- package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
- package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
- package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
- package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
- package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
- package/dist/_chunks/connect-5YMO6MAR.js +1 -0
- package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
- package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
- package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
- package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
- package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
- package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
- package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
- package/dist/_chunks/local-main-D6B3APK6.js +1 -0
- package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
- package/dist/_chunks/main-PW6HB3NC.js +2 -0
- package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
- package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
- package/dist/_chunks/render-main-GYWKP72O.js +1 -0
- package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
- package/dist/_chunks/src-R6DNU336.js +1 -0
- package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
- package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
- package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
- package/dist/_types/cli/local/ledger.d.ts +64 -10
- package/dist/_types/cli/local/manager.d.ts +1146 -43
- package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
- package/dist/_types/cli/local/releases.d.ts +28 -5
- package/dist/_types/cli/local-management.d.ts +5 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
- package/dist/_types/contracts/audio.d.ts +4 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +12 -12
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
- package/dist/_types/contracts/delivery-summary.d.ts +2 -2
- package/dist/_types/contracts/delivery-validation.d.ts +23 -0
- package/dist/_types/contracts/device-render.d.ts +77 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1569 -6940
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/index.d.ts +4 -0
- package/dist/_types/contracts/interface/media-output.d.ts +28 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -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 +496 -64
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +19 -51
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +26 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
- package/dist/_types/contracts/local-execution/management.d.ts +400 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +144 -3564
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +929 -8
- package/dist/_types/contracts/navigation.d.ts +25 -15
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +16 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +19 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
- package/dist/_types/contracts/repair-plan.d.ts +16 -98
- package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
- package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
- package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
- package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
- package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +149 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +1 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
- package/dist/_types/contracts/timeline-v2.d.ts +4 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +33 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/workspace.d.ts +32 -0
- package/dist/_types/sdk/errors.d.ts +8 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1773 -89
- 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 +2 -8
- package/README.md +0 -78
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
- package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
- package/dist/_chunks/chunk-RUMDDTON.js +0 -1
- package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
- package/dist/_chunks/local-main-SOERK22D.js +0 -1
- package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
- package/dist/_chunks/main-4SNF5EKE.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-257CEUQH.js +0 -1
- package/dist/_chunks/project-connect-6MH2QG6G.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.ZodUUID;
|
|
75
|
+
projectId: z.ZodUUID;
|
|
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.ZodUUID;
|
|
28
|
+
projectId: z.ZodUUID;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
expiresAt: z.ZodISODateTime;
|
|
31
|
+
}, z.core.$strict>;
|