@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
|
@@ -6,6 +6,8 @@ export declare class LocalInstallationManager {
|
|
|
6
6
|
readonly ledger: InstallationLedger;
|
|
7
7
|
private constructor();
|
|
8
8
|
static open(root: string): Promise<LocalInstallationManager>;
|
|
9
|
+
/** 为只读诊断打开已有安装,不初始化任何安装资源。 */
|
|
10
|
+
static openExisting(root: string): Promise<LocalInstallationManager | null>;
|
|
9
11
|
configure(raw: unknown, options?: {
|
|
10
12
|
ifAbsent?: boolean;
|
|
11
13
|
}): Promise<{
|
|
@@ -13,8 +15,8 @@ export declare class LocalInstallationManager {
|
|
|
13
15
|
}>;
|
|
14
16
|
configuration(): Promise<{
|
|
15
17
|
stateDirectory: string;
|
|
16
|
-
catalogueUrl: string;
|
|
17
|
-
publicKeyFile: string;
|
|
18
|
+
catalogueUrl: string | null;
|
|
19
|
+
publicKeyFile: string | null;
|
|
18
20
|
cloudConfigFile: string | null;
|
|
19
21
|
notifications: boolean;
|
|
20
22
|
rejectedVersions: string[];
|
|
@@ -54,6 +56,41 @@ export declare class LocalInstallationManager {
|
|
|
54
56
|
selectedVersion: string | null;
|
|
55
57
|
}>;
|
|
56
58
|
check(): Promise<{
|
|
59
|
+
installation: {
|
|
60
|
+
protocol: string;
|
|
61
|
+
revision: number;
|
|
62
|
+
activeVersion: string | null;
|
|
63
|
+
running: null;
|
|
64
|
+
phase: string;
|
|
65
|
+
nextActions: {
|
|
66
|
+
surface: string;
|
|
67
|
+
operation: string;
|
|
68
|
+
availability: string;
|
|
69
|
+
reason: string;
|
|
70
|
+
}[];
|
|
71
|
+
entryPath?: never;
|
|
72
|
+
installOwner?: never;
|
|
73
|
+
} | {
|
|
74
|
+
protocol: string;
|
|
75
|
+
revision: number;
|
|
76
|
+
activeVersion: string | null;
|
|
77
|
+
entryPath: string | null;
|
|
78
|
+
installOwner: string;
|
|
79
|
+
phase: string;
|
|
80
|
+
running: unknown;
|
|
81
|
+
nextActions: {
|
|
82
|
+
surface: string;
|
|
83
|
+
operation: string;
|
|
84
|
+
availability: string;
|
|
85
|
+
reason: string;
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
channel: string;
|
|
89
|
+
available: never[];
|
|
90
|
+
notifications: boolean;
|
|
91
|
+
rejectedVersions: string[];
|
|
92
|
+
catalogueFingerprint?: never;
|
|
93
|
+
} | {
|
|
57
94
|
installation: {
|
|
58
95
|
protocol: string;
|
|
59
96
|
revision: number;
|
|
@@ -96,20 +133,157 @@ export declare class LocalInstallationManager {
|
|
|
96
133
|
architecture: "x64" | "arm64";
|
|
97
134
|
};
|
|
98
135
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
99
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
136
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
100
137
|
journalSchema: 1;
|
|
101
138
|
rendererDigest: string;
|
|
102
139
|
profileDigest: string;
|
|
140
|
+
compatibleRenderers?: {
|
|
141
|
+
rendererDigest: string;
|
|
142
|
+
profileDigest: string;
|
|
143
|
+
}[] | undefined;
|
|
103
144
|
}[];
|
|
104
145
|
notifications: boolean;
|
|
105
146
|
rejectedVersions: string[];
|
|
147
|
+
channel?: never;
|
|
106
148
|
}>;
|
|
107
|
-
prepare(version: string): Promise<{
|
|
149
|
+
prepare(version: string, choice?: unknown): Promise<{
|
|
108
150
|
protocol: "NVS_LOCAL_UPDATE_PLAN_V1";
|
|
109
151
|
planId: string;
|
|
110
152
|
installationRevision: number;
|
|
111
153
|
runtimeRevision: number | null;
|
|
112
|
-
catalogueFingerprint: string;
|
|
154
|
+
catalogueFingerprint: string | null;
|
|
155
|
+
release: {
|
|
156
|
+
descriptor: {
|
|
157
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
158
|
+
version: string;
|
|
159
|
+
node: {
|
|
160
|
+
major: 24;
|
|
161
|
+
minMinor: 12;
|
|
162
|
+
};
|
|
163
|
+
platform: {
|
|
164
|
+
os: "darwin" | "linux" | "win32";
|
|
165
|
+
architecture: "x64" | "arm64";
|
|
166
|
+
};
|
|
167
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
168
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
169
|
+
journalSchema: 1;
|
|
170
|
+
rendererDigest: string;
|
|
171
|
+
profileDigest: string;
|
|
172
|
+
compatibleRenderers?: {
|
|
173
|
+
rendererDigest: string;
|
|
174
|
+
profileDigest: string;
|
|
175
|
+
}[] | undefined;
|
|
176
|
+
};
|
|
177
|
+
package: {
|
|
178
|
+
url: string;
|
|
179
|
+
byteSize: number;
|
|
180
|
+
sha512: string;
|
|
181
|
+
};
|
|
182
|
+
tools: {
|
|
183
|
+
ffmpeg: {
|
|
184
|
+
url: string;
|
|
185
|
+
byteSize: number;
|
|
186
|
+
sha512: string;
|
|
187
|
+
sha256: string;
|
|
188
|
+
};
|
|
189
|
+
ffprobe: {
|
|
190
|
+
url: string;
|
|
191
|
+
byteSize: number;
|
|
192
|
+
sha512: string;
|
|
193
|
+
sha256: string;
|
|
194
|
+
};
|
|
195
|
+
} | null;
|
|
196
|
+
resources?: {
|
|
197
|
+
captions: {
|
|
198
|
+
url: string;
|
|
199
|
+
sha512: string;
|
|
200
|
+
byteSize: number;
|
|
201
|
+
};
|
|
202
|
+
} | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
descriptor: {
|
|
205
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
206
|
+
version: string;
|
|
207
|
+
node: {
|
|
208
|
+
major: 24;
|
|
209
|
+
minMinor: 12;
|
|
210
|
+
};
|
|
211
|
+
platform: {
|
|
212
|
+
os: "darwin" | "linux" | "win32";
|
|
213
|
+
architecture: "x64" | "arm64";
|
|
214
|
+
};
|
|
215
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
216
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
217
|
+
journalSchema: 1;
|
|
218
|
+
rendererDigest: string;
|
|
219
|
+
profileDigest: string;
|
|
220
|
+
compatibleRenderers?: {
|
|
221
|
+
rendererDigest: string;
|
|
222
|
+
profileDigest: string;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
};
|
|
225
|
+
tools: {
|
|
226
|
+
ffmpeg: {
|
|
227
|
+
url: string;
|
|
228
|
+
byteSize: number;
|
|
229
|
+
sha512: string;
|
|
230
|
+
sha256: string;
|
|
231
|
+
};
|
|
232
|
+
ffprobe: {
|
|
233
|
+
url: string;
|
|
234
|
+
byteSize: number;
|
|
235
|
+
sha512: string;
|
|
236
|
+
sha256: string;
|
|
237
|
+
};
|
|
238
|
+
} | null;
|
|
239
|
+
package: {
|
|
240
|
+
byteSize: number;
|
|
241
|
+
sha512: string;
|
|
242
|
+
source: "CLI";
|
|
243
|
+
};
|
|
244
|
+
resources?: {
|
|
245
|
+
captions: {
|
|
246
|
+
url: string;
|
|
247
|
+
sha512: string;
|
|
248
|
+
byteSize: number;
|
|
249
|
+
};
|
|
250
|
+
} | undefined;
|
|
251
|
+
};
|
|
252
|
+
fingerprint: string;
|
|
253
|
+
createdAt: string;
|
|
254
|
+
expiresAt: string;
|
|
255
|
+
trustFingerprint?: string | undefined;
|
|
256
|
+
toolSelection?: {
|
|
257
|
+
mode: "MANAGED";
|
|
258
|
+
} | {
|
|
259
|
+
ffmpeg: {
|
|
260
|
+
path: string;
|
|
261
|
+
digest: string;
|
|
262
|
+
};
|
|
263
|
+
ffprobe: {
|
|
264
|
+
path: string;
|
|
265
|
+
digest: string;
|
|
266
|
+
};
|
|
267
|
+
mode: "INSTALLED";
|
|
268
|
+
compositionBrowser?: {
|
|
269
|
+
path: string;
|
|
270
|
+
digest: string;
|
|
271
|
+
} | undefined;
|
|
272
|
+
whisper?: {
|
|
273
|
+
binaryPath: string;
|
|
274
|
+
binarySha256: string;
|
|
275
|
+
modelPath: string;
|
|
276
|
+
} | undefined;
|
|
277
|
+
captionAssetsDirectory?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
}>;
|
|
280
|
+
/** CLI 自带代码进入同一安装账本,不要求单独执行代码渠道。 */
|
|
281
|
+
prepareBundled(version: string, choice?: unknown): Promise<{
|
|
282
|
+
protocol: "NVS_LOCAL_UPDATE_PLAN_V1";
|
|
283
|
+
planId: string;
|
|
284
|
+
installationRevision: number;
|
|
285
|
+
runtimeRevision: number | null;
|
|
286
|
+
catalogueFingerprint: string | null;
|
|
113
287
|
release: {
|
|
114
288
|
descriptor: {
|
|
115
289
|
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
@@ -123,10 +297,14 @@ export declare class LocalInstallationManager {
|
|
|
123
297
|
architecture: "x64" | "arm64";
|
|
124
298
|
};
|
|
125
299
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
126
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
300
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
127
301
|
journalSchema: 1;
|
|
128
302
|
rendererDigest: string;
|
|
129
303
|
profileDigest: string;
|
|
304
|
+
compatibleRenderers?: {
|
|
305
|
+
rendererDigest: string;
|
|
306
|
+
profileDigest: string;
|
|
307
|
+
}[] | undefined;
|
|
130
308
|
};
|
|
131
309
|
package: {
|
|
132
310
|
url: string;
|
|
@@ -147,17 +325,96 @@ export declare class LocalInstallationManager {
|
|
|
147
325
|
sha256: string;
|
|
148
326
|
};
|
|
149
327
|
} | null;
|
|
328
|
+
resources?: {
|
|
329
|
+
captions: {
|
|
330
|
+
url: string;
|
|
331
|
+
sha512: string;
|
|
332
|
+
byteSize: number;
|
|
333
|
+
};
|
|
334
|
+
} | undefined;
|
|
335
|
+
} | {
|
|
336
|
+
descriptor: {
|
|
337
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
338
|
+
version: string;
|
|
339
|
+
node: {
|
|
340
|
+
major: 24;
|
|
341
|
+
minMinor: 12;
|
|
342
|
+
};
|
|
343
|
+
platform: {
|
|
344
|
+
os: "darwin" | "linux" | "win32";
|
|
345
|
+
architecture: "x64" | "arm64";
|
|
346
|
+
};
|
|
347
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
348
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
349
|
+
journalSchema: 1;
|
|
350
|
+
rendererDigest: string;
|
|
351
|
+
profileDigest: string;
|
|
352
|
+
compatibleRenderers?: {
|
|
353
|
+
rendererDigest: string;
|
|
354
|
+
profileDigest: string;
|
|
355
|
+
}[] | undefined;
|
|
356
|
+
};
|
|
357
|
+
tools: {
|
|
358
|
+
ffmpeg: {
|
|
359
|
+
url: string;
|
|
360
|
+
byteSize: number;
|
|
361
|
+
sha512: string;
|
|
362
|
+
sha256: string;
|
|
363
|
+
};
|
|
364
|
+
ffprobe: {
|
|
365
|
+
url: string;
|
|
366
|
+
byteSize: number;
|
|
367
|
+
sha512: string;
|
|
368
|
+
sha256: string;
|
|
369
|
+
};
|
|
370
|
+
} | null;
|
|
371
|
+
package: {
|
|
372
|
+
byteSize: number;
|
|
373
|
+
sha512: string;
|
|
374
|
+
source: "CLI";
|
|
375
|
+
};
|
|
376
|
+
resources?: {
|
|
377
|
+
captions: {
|
|
378
|
+
url: string;
|
|
379
|
+
sha512: string;
|
|
380
|
+
byteSize: number;
|
|
381
|
+
};
|
|
382
|
+
} | undefined;
|
|
150
383
|
};
|
|
151
384
|
fingerprint: string;
|
|
152
385
|
createdAt: string;
|
|
153
386
|
expiresAt: string;
|
|
387
|
+
trustFingerprint?: string | undefined;
|
|
388
|
+
toolSelection?: {
|
|
389
|
+
mode: "MANAGED";
|
|
390
|
+
} | {
|
|
391
|
+
ffmpeg: {
|
|
392
|
+
path: string;
|
|
393
|
+
digest: string;
|
|
394
|
+
};
|
|
395
|
+
ffprobe: {
|
|
396
|
+
path: string;
|
|
397
|
+
digest: string;
|
|
398
|
+
};
|
|
399
|
+
mode: "INSTALLED";
|
|
400
|
+
compositionBrowser?: {
|
|
401
|
+
path: string;
|
|
402
|
+
digest: string;
|
|
403
|
+
} | undefined;
|
|
404
|
+
whisper?: {
|
|
405
|
+
binaryPath: string;
|
|
406
|
+
binarySha256: string;
|
|
407
|
+
modelPath: string;
|
|
408
|
+
} | undefined;
|
|
409
|
+
captionAssetsDirectory?: string | undefined;
|
|
410
|
+
} | undefined;
|
|
154
411
|
}>;
|
|
155
412
|
plan(id: string): Promise<{
|
|
156
413
|
protocol: "NVS_LOCAL_UPDATE_PLAN_V1";
|
|
157
414
|
planId: string;
|
|
158
415
|
installationRevision: number;
|
|
159
416
|
runtimeRevision: number | null;
|
|
160
|
-
catalogueFingerprint: string;
|
|
417
|
+
catalogueFingerprint: string | null;
|
|
161
418
|
release: {
|
|
162
419
|
descriptor: {
|
|
163
420
|
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
@@ -171,10 +428,14 @@ export declare class LocalInstallationManager {
|
|
|
171
428
|
architecture: "x64" | "arm64";
|
|
172
429
|
};
|
|
173
430
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
174
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
431
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
175
432
|
journalSchema: 1;
|
|
176
433
|
rendererDigest: string;
|
|
177
434
|
profileDigest: string;
|
|
435
|
+
compatibleRenderers?: {
|
|
436
|
+
rendererDigest: string;
|
|
437
|
+
profileDigest: string;
|
|
438
|
+
}[] | undefined;
|
|
178
439
|
};
|
|
179
440
|
package: {
|
|
180
441
|
url: string;
|
|
@@ -195,10 +456,89 @@ export declare class LocalInstallationManager {
|
|
|
195
456
|
sha256: string;
|
|
196
457
|
};
|
|
197
458
|
} | null;
|
|
459
|
+
resources?: {
|
|
460
|
+
captions: {
|
|
461
|
+
url: string;
|
|
462
|
+
sha512: string;
|
|
463
|
+
byteSize: number;
|
|
464
|
+
};
|
|
465
|
+
} | undefined;
|
|
466
|
+
} | {
|
|
467
|
+
descriptor: {
|
|
468
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
469
|
+
version: string;
|
|
470
|
+
node: {
|
|
471
|
+
major: 24;
|
|
472
|
+
minMinor: 12;
|
|
473
|
+
};
|
|
474
|
+
platform: {
|
|
475
|
+
os: "darwin" | "linux" | "win32";
|
|
476
|
+
architecture: "x64" | "arm64";
|
|
477
|
+
};
|
|
478
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
479
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
480
|
+
journalSchema: 1;
|
|
481
|
+
rendererDigest: string;
|
|
482
|
+
profileDigest: string;
|
|
483
|
+
compatibleRenderers?: {
|
|
484
|
+
rendererDigest: string;
|
|
485
|
+
profileDigest: string;
|
|
486
|
+
}[] | undefined;
|
|
487
|
+
};
|
|
488
|
+
tools: {
|
|
489
|
+
ffmpeg: {
|
|
490
|
+
url: string;
|
|
491
|
+
byteSize: number;
|
|
492
|
+
sha512: string;
|
|
493
|
+
sha256: string;
|
|
494
|
+
};
|
|
495
|
+
ffprobe: {
|
|
496
|
+
url: string;
|
|
497
|
+
byteSize: number;
|
|
498
|
+
sha512: string;
|
|
499
|
+
sha256: string;
|
|
500
|
+
};
|
|
501
|
+
} | null;
|
|
502
|
+
package: {
|
|
503
|
+
byteSize: number;
|
|
504
|
+
sha512: string;
|
|
505
|
+
source: "CLI";
|
|
506
|
+
};
|
|
507
|
+
resources?: {
|
|
508
|
+
captions: {
|
|
509
|
+
url: string;
|
|
510
|
+
sha512: string;
|
|
511
|
+
byteSize: number;
|
|
512
|
+
};
|
|
513
|
+
} | undefined;
|
|
198
514
|
};
|
|
199
515
|
fingerprint: string;
|
|
200
516
|
createdAt: string;
|
|
201
517
|
expiresAt: string;
|
|
518
|
+
trustFingerprint?: string | undefined;
|
|
519
|
+
toolSelection?: {
|
|
520
|
+
mode: "MANAGED";
|
|
521
|
+
} | {
|
|
522
|
+
ffmpeg: {
|
|
523
|
+
path: string;
|
|
524
|
+
digest: string;
|
|
525
|
+
};
|
|
526
|
+
ffprobe: {
|
|
527
|
+
path: string;
|
|
528
|
+
digest: string;
|
|
529
|
+
};
|
|
530
|
+
mode: "INSTALLED";
|
|
531
|
+
compositionBrowser?: {
|
|
532
|
+
path: string;
|
|
533
|
+
digest: string;
|
|
534
|
+
} | undefined;
|
|
535
|
+
whisper?: {
|
|
536
|
+
binaryPath: string;
|
|
537
|
+
binarySha256: string;
|
|
538
|
+
modelPath: string;
|
|
539
|
+
} | undefined;
|
|
540
|
+
captionAssetsDirectory?: string | undefined;
|
|
541
|
+
} | undefined;
|
|
202
542
|
}>;
|
|
203
543
|
private transition;
|
|
204
544
|
apply(id: string, approval: string): Promise<{
|
|
@@ -226,10 +566,14 @@ export declare class LocalInstallationManager {
|
|
|
226
566
|
architecture: "x64" | "arm64";
|
|
227
567
|
};
|
|
228
568
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
229
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
569
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
230
570
|
journalSchema: 1;
|
|
231
571
|
rendererDigest: string;
|
|
232
572
|
profileDigest: string;
|
|
573
|
+
compatibleRenderers?: {
|
|
574
|
+
rendererDigest: string;
|
|
575
|
+
profileDigest: string;
|
|
576
|
+
}[] | undefined;
|
|
233
577
|
};
|
|
234
578
|
activeProcesses: number;
|
|
235
579
|
pendingExecutions: number;
|
|
@@ -238,7 +582,7 @@ export declare class LocalInstallationManager {
|
|
|
238
582
|
}>;
|
|
239
583
|
stop(): Promise<{
|
|
240
584
|
plan: {
|
|
241
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
585
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
242
586
|
id: string;
|
|
243
587
|
grantFingerprint: string;
|
|
244
588
|
snapshot: {
|
|
@@ -248,11 +592,20 @@ export declare class LocalInstallationManager {
|
|
|
248
592
|
projectId: string & z.core.$brand<"ProjectId">;
|
|
249
593
|
productionId: string & z.core.$brand<"ProductionId">;
|
|
250
594
|
};
|
|
251
|
-
contextFingerprint: string;
|
|
252
595
|
target: {
|
|
253
596
|
kind: "IMAGE";
|
|
254
597
|
generationId: string;
|
|
598
|
+
} | {
|
|
599
|
+
kind: "VIDEO";
|
|
600
|
+
generationId: string;
|
|
601
|
+
} | {
|
|
602
|
+
kind: "ROUGH_CUT";
|
|
603
|
+
renderId: string;
|
|
604
|
+
} | {
|
|
605
|
+
kind: "PROGRAMMATIC";
|
|
606
|
+
renderId: string;
|
|
255
607
|
};
|
|
608
|
+
contextFingerprint: string;
|
|
256
609
|
};
|
|
257
610
|
productionRevision: number;
|
|
258
611
|
reviewVersion: number;
|
|
@@ -262,12 +615,115 @@ export declare class LocalInstallationManager {
|
|
|
262
615
|
representationId: string;
|
|
263
616
|
checksumSha256: string;
|
|
264
617
|
};
|
|
265
|
-
requirements: {
|
|
618
|
+
requirements: ({
|
|
619
|
+
key: string;
|
|
620
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
621
|
+
expected: string;
|
|
622
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
623
|
+
scope: "TRANSITION" | "PRODUCTION";
|
|
624
|
+
interval: {
|
|
625
|
+
startMs: number;
|
|
626
|
+
endMs: number;
|
|
627
|
+
};
|
|
628
|
+
shotIds: string[];
|
|
629
|
+
continuity?: {
|
|
630
|
+
kind: "STATE";
|
|
631
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
632
|
+
entry: string;
|
|
633
|
+
exit: string;
|
|
634
|
+
changes?: {
|
|
635
|
+
atPermille: number;
|
|
636
|
+
from: string;
|
|
637
|
+
to: string;
|
|
638
|
+
reason: string;
|
|
639
|
+
}[] | undefined;
|
|
640
|
+
} | {
|
|
641
|
+
kind: "TIME";
|
|
642
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
643
|
+
entryMs: number;
|
|
644
|
+
exitMs: number;
|
|
645
|
+
jumps?: {
|
|
646
|
+
atPermille: number;
|
|
647
|
+
fromMs: number;
|
|
648
|
+
toMs: number;
|
|
649
|
+
reason: string;
|
|
650
|
+
}[] | undefined;
|
|
651
|
+
} | undefined;
|
|
652
|
+
consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
|
|
653
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
|
|
654
|
+
consistencySubject?: {
|
|
655
|
+
id: string;
|
|
656
|
+
kind: "CHARACTER" | "VOICE";
|
|
657
|
+
displayName: string;
|
|
658
|
+
facts: {
|
|
659
|
+
dimension: string;
|
|
660
|
+
value: string;
|
|
661
|
+
}[];
|
|
662
|
+
master: {
|
|
663
|
+
artifactId: string & z.core.$brand<"ArtifactId">;
|
|
664
|
+
representationId: string & z.core.$brand<"ArtifactRepresentationId">;
|
|
665
|
+
checksumSha256: string;
|
|
666
|
+
artifactChecksumSha256: string;
|
|
667
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
668
|
+
};
|
|
669
|
+
} | undefined;
|
|
670
|
+
consistencyReference?: {
|
|
671
|
+
artifactId: string & z.core.$brand<"ArtifactId">;
|
|
672
|
+
representationId: string & z.core.$brand<"ArtifactRepresentationId">;
|
|
673
|
+
checksumSha256: string;
|
|
674
|
+
artifactChecksumSha256: string;
|
|
675
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
676
|
+
} | undefined;
|
|
677
|
+
} | {
|
|
266
678
|
key: string;
|
|
679
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
267
680
|
expected: string;
|
|
268
681
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
682
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
269
683
|
intentPath?: string | undefined;
|
|
270
|
-
|
|
684
|
+
continuity?: {
|
|
685
|
+
kind: "STATE";
|
|
686
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
687
|
+
entry: string;
|
|
688
|
+
exit: string;
|
|
689
|
+
changes?: {
|
|
690
|
+
atPermille: number;
|
|
691
|
+
from: string;
|
|
692
|
+
to: string;
|
|
693
|
+
reason: string;
|
|
694
|
+
}[] | undefined;
|
|
695
|
+
} | {
|
|
696
|
+
kind: "TIME";
|
|
697
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
698
|
+
entryMs: number;
|
|
699
|
+
exitMs: number;
|
|
700
|
+
jumps?: {
|
|
701
|
+
atPermille: number;
|
|
702
|
+
fromMs: number;
|
|
703
|
+
toMs: number;
|
|
704
|
+
reason: string;
|
|
705
|
+
}[] | undefined;
|
|
706
|
+
} | undefined;
|
|
707
|
+
interval?: {
|
|
708
|
+
startMs: number;
|
|
709
|
+
endMs: number;
|
|
710
|
+
} | undefined;
|
|
711
|
+
} | {
|
|
712
|
+
key: string;
|
|
713
|
+
expected: string;
|
|
714
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
715
|
+
intentPath?: string | undefined;
|
|
716
|
+
})[];
|
|
717
|
+
evidence?: {
|
|
718
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
719
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
720
|
+
byteSize: number;
|
|
721
|
+
width: number;
|
|
722
|
+
height: number;
|
|
723
|
+
durationMs?: number | undefined;
|
|
724
|
+
frameRate?: 30 | 24 | undefined;
|
|
725
|
+
hasAudio?: boolean | undefined;
|
|
726
|
+
} | undefined;
|
|
271
727
|
image?: {
|
|
272
728
|
contentType: "image/png";
|
|
273
729
|
byteSize: number;
|
|
@@ -290,20 +746,20 @@ export declare class LocalInstallationManager {
|
|
|
290
746
|
summary: string;
|
|
291
747
|
imageReadback: string;
|
|
292
748
|
observations: {
|
|
293
|
-
key: string;
|
|
294
749
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
295
750
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
296
751
|
observed: string;
|
|
752
|
+
key: string;
|
|
297
753
|
}[];
|
|
298
754
|
} | null;
|
|
299
755
|
provenance: {
|
|
300
|
-
adapter: "CODEX_METADATA_V1";
|
|
756
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
301
757
|
binaryDigest: string;
|
|
302
758
|
version: "0.164.0" | "0.165.0";
|
|
303
759
|
model: string;
|
|
304
760
|
reviewerLabel: string;
|
|
305
761
|
inference: "REMOTE_OPENAI";
|
|
306
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
762
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
307
763
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
308
764
|
};
|
|
309
765
|
imageReceipt?: {
|
|
@@ -319,35 +775,293 @@ export declare class LocalInstallationManager {
|
|
|
319
775
|
width: number;
|
|
320
776
|
height: number;
|
|
321
777
|
} | undefined;
|
|
778
|
+
evidenceReceipt?: {
|
|
779
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
780
|
+
draftId: string;
|
|
781
|
+
media: {
|
|
782
|
+
artifactId: string;
|
|
783
|
+
representationId: string;
|
|
784
|
+
checksumSha256: string;
|
|
785
|
+
};
|
|
786
|
+
ffmpegDigest: string;
|
|
787
|
+
ffprobeDigest: string;
|
|
788
|
+
attachment: {
|
|
789
|
+
checksumSha256: string;
|
|
790
|
+
byteSize: number;
|
|
791
|
+
width: number;
|
|
792
|
+
height: number;
|
|
793
|
+
};
|
|
794
|
+
timestampsMs: number[];
|
|
795
|
+
audio: {
|
|
796
|
+
sampleRateHz: 48000;
|
|
797
|
+
channels: 1;
|
|
798
|
+
samples: number;
|
|
799
|
+
peak: number;
|
|
800
|
+
rms: number;
|
|
801
|
+
clippedSamples: number;
|
|
802
|
+
} | null;
|
|
803
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
804
|
+
} | undefined;
|
|
805
|
+
} | {
|
|
806
|
+
reference: {
|
|
807
|
+
tenantId: string;
|
|
808
|
+
projectId: string;
|
|
809
|
+
fileId: string;
|
|
810
|
+
versionId: string;
|
|
811
|
+
checksumSha256: string;
|
|
812
|
+
byteSize: number;
|
|
813
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
814
|
+
deviceId: string;
|
|
815
|
+
};
|
|
816
|
+
ownerKey: string;
|
|
817
|
+
title: string;
|
|
818
|
+
createdAt: string;
|
|
819
|
+
revision: number;
|
|
820
|
+
access: {
|
|
821
|
+
state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
|
|
822
|
+
desired: {
|
|
823
|
+
reference: {
|
|
824
|
+
tenantId: string;
|
|
825
|
+
projectId: string;
|
|
826
|
+
fileId: string;
|
|
827
|
+
versionId: string;
|
|
828
|
+
checksumSha256: string;
|
|
829
|
+
byteSize: number;
|
|
830
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
831
|
+
deviceId: string;
|
|
832
|
+
};
|
|
833
|
+
requestId: string;
|
|
834
|
+
expectedRevision: number;
|
|
835
|
+
metadata: {
|
|
836
|
+
label: string;
|
|
837
|
+
} | null;
|
|
838
|
+
allowInspect: boolean;
|
|
839
|
+
allowPublish: boolean;
|
|
840
|
+
expiresAt: string;
|
|
841
|
+
} | null;
|
|
842
|
+
confirmed: {
|
|
843
|
+
reference: {
|
|
844
|
+
tenantId: string;
|
|
845
|
+
projectId: string;
|
|
846
|
+
fileId: string;
|
|
847
|
+
versionId: string;
|
|
848
|
+
checksumSha256: string;
|
|
849
|
+
byteSize: number;
|
|
850
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
851
|
+
deviceId: string;
|
|
852
|
+
};
|
|
853
|
+
requestId: string;
|
|
854
|
+
expectedRevision: number;
|
|
855
|
+
metadata: {
|
|
856
|
+
label: string;
|
|
857
|
+
} | null;
|
|
858
|
+
allowInspect: boolean;
|
|
859
|
+
allowPublish: boolean;
|
|
860
|
+
expiresAt: string;
|
|
861
|
+
revision: number;
|
|
862
|
+
recordedAt: string;
|
|
863
|
+
} | null;
|
|
864
|
+
};
|
|
322
865
|
} | {
|
|
323
866
|
protocol: "NVS_LOCAL_CONNECTOR_V1";
|
|
324
867
|
stateDirectory: string;
|
|
325
868
|
credential: string;
|
|
326
869
|
expiresAt: string;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
projectId: string;
|
|
330
|
-
}[];
|
|
870
|
+
tenantId: string;
|
|
871
|
+
deviceId: string;
|
|
331
872
|
} | {
|
|
332
873
|
protocol: "NVS_LOCAL_IPC_V1";
|
|
333
874
|
runtimeRevision: number;
|
|
334
|
-
state: "RECOVERY_REQUIRED" | "
|
|
875
|
+
state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
|
|
335
876
|
journalSchemaVersion: 1;
|
|
336
|
-
workProtocols: "NVS_LOCAL_WORK_V1"[];
|
|
877
|
+
workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
|
|
337
878
|
versions: {
|
|
338
879
|
component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
|
|
339
880
|
installedVersion: string | null;
|
|
340
881
|
runningVersion: string | null;
|
|
341
882
|
availableVersion: string | null;
|
|
342
883
|
executablePath: string | null;
|
|
343
|
-
installOwner: "UNKNOWN" | "PROJECT" | "
|
|
344
|
-
}[];
|
|
345
|
-
authorizedProjects: {
|
|
346
|
-
tenantId: string;
|
|
347
|
-
projectId: string;
|
|
884
|
+
installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
|
|
348
885
|
}[];
|
|
349
886
|
nextActions: {
|
|
350
887
|
call: {
|
|
888
|
+
operation: "library.capability";
|
|
889
|
+
} | {
|
|
890
|
+
operation: "library.call";
|
|
891
|
+
input: {
|
|
892
|
+
tenantId: string;
|
|
893
|
+
after: string | null;
|
|
894
|
+
limit: number;
|
|
895
|
+
deviceId: string;
|
|
896
|
+
action: "list";
|
|
897
|
+
projectId?: string | undefined;
|
|
898
|
+
ownerKey?: string | undefined;
|
|
899
|
+
search?: string | undefined;
|
|
900
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
901
|
+
} | {
|
|
902
|
+
reference: {
|
|
903
|
+
tenantId: string;
|
|
904
|
+
projectId: string;
|
|
905
|
+
fileId: string;
|
|
906
|
+
versionId: string;
|
|
907
|
+
checksumSha256: string;
|
|
908
|
+
byteSize: number;
|
|
909
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
910
|
+
deviceId: string;
|
|
911
|
+
};
|
|
912
|
+
action: "get";
|
|
913
|
+
ownerKey?: string | undefined;
|
|
914
|
+
} | {
|
|
915
|
+
tenantId: string;
|
|
916
|
+
limit: number;
|
|
917
|
+
deviceId: string;
|
|
918
|
+
after: string | null;
|
|
919
|
+
projectId: string;
|
|
920
|
+
action: "scoped-list";
|
|
921
|
+
search?: string | undefined;
|
|
922
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
923
|
+
} | {
|
|
924
|
+
action: "scoped-get";
|
|
925
|
+
reference: {
|
|
926
|
+
tenantId: string;
|
|
927
|
+
projectId: string;
|
|
928
|
+
fileId: string;
|
|
929
|
+
versionId: string;
|
|
930
|
+
checksumSha256: string;
|
|
931
|
+
byteSize: number;
|
|
932
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
933
|
+
deviceId: string;
|
|
934
|
+
};
|
|
935
|
+
} | {
|
|
936
|
+
action: "usage";
|
|
937
|
+
ownerKey?: string | undefined;
|
|
938
|
+
} | {
|
|
939
|
+
reference: {
|
|
940
|
+
tenantId: string;
|
|
941
|
+
projectId: string;
|
|
942
|
+
fileId: string;
|
|
943
|
+
versionId: string;
|
|
944
|
+
checksumSha256: string;
|
|
945
|
+
byteSize: number;
|
|
946
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
947
|
+
deviceId: string;
|
|
948
|
+
};
|
|
949
|
+
offset: number;
|
|
950
|
+
length: number;
|
|
951
|
+
action: "read";
|
|
952
|
+
ownerKey?: string | undefined;
|
|
953
|
+
} | {
|
|
954
|
+
command: {
|
|
955
|
+
reference: {
|
|
956
|
+
tenantId: string;
|
|
957
|
+
projectId: string;
|
|
958
|
+
fileId: string;
|
|
959
|
+
versionId: string;
|
|
960
|
+
checksumSha256: string;
|
|
961
|
+
byteSize: number;
|
|
962
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
963
|
+
deviceId: string;
|
|
964
|
+
};
|
|
965
|
+
requestId: string;
|
|
966
|
+
expectedRevision: number;
|
|
967
|
+
metadata: {
|
|
968
|
+
label: string;
|
|
969
|
+
} | null;
|
|
970
|
+
allowInspect: boolean;
|
|
971
|
+
allowPublish: boolean;
|
|
972
|
+
expiresAt: string;
|
|
973
|
+
};
|
|
974
|
+
expectedLocalRevision: number;
|
|
975
|
+
action: "access";
|
|
976
|
+
ownerKey?: string | undefined;
|
|
977
|
+
} | {
|
|
978
|
+
reference: {
|
|
979
|
+
tenantId: string;
|
|
980
|
+
projectId: string;
|
|
981
|
+
fileId: string;
|
|
982
|
+
versionId: string;
|
|
983
|
+
checksumSha256: string;
|
|
984
|
+
byteSize: number;
|
|
985
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
986
|
+
deviceId: string;
|
|
987
|
+
};
|
|
988
|
+
requestId: string;
|
|
989
|
+
action: "sync";
|
|
990
|
+
ownerKey?: string | undefined;
|
|
991
|
+
} | {
|
|
992
|
+
reference: {
|
|
993
|
+
tenantId: string;
|
|
994
|
+
projectId: string;
|
|
995
|
+
fileId: string;
|
|
996
|
+
versionId: string;
|
|
997
|
+
checksumSha256: string;
|
|
998
|
+
byteSize: number;
|
|
999
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1000
|
+
deviceId: string;
|
|
1001
|
+
};
|
|
1002
|
+
requestId: string;
|
|
1003
|
+
action: "resume-access";
|
|
1004
|
+
ownerKey?: string | undefined;
|
|
1005
|
+
} | {
|
|
1006
|
+
tenantId: string;
|
|
1007
|
+
projectId: string;
|
|
1008
|
+
deviceId: string;
|
|
1009
|
+
requestId: string;
|
|
1010
|
+
action: "import-receipt";
|
|
1011
|
+
ownerKey?: string | undefined;
|
|
1012
|
+
};
|
|
1013
|
+
} | {
|
|
1014
|
+
operation: "agent.discover";
|
|
1015
|
+
binary?: string | undefined;
|
|
1016
|
+
} | {
|
|
1017
|
+
operation: "offline.workspace";
|
|
1018
|
+
input: {
|
|
1019
|
+
action: "list" | "forget";
|
|
1020
|
+
key: string;
|
|
1021
|
+
} | {
|
|
1022
|
+
action: "retain";
|
|
1023
|
+
key: string;
|
|
1024
|
+
snapshot: {
|
|
1025
|
+
projectId: string;
|
|
1026
|
+
title: string;
|
|
1027
|
+
savedAt: string;
|
|
1028
|
+
expiresAt: string;
|
|
1029
|
+
productions: {
|
|
1030
|
+
id: string;
|
|
1031
|
+
title: string;
|
|
1032
|
+
}[];
|
|
1033
|
+
possiblyTruncated: boolean;
|
|
1034
|
+
};
|
|
1035
|
+
} | {
|
|
1036
|
+
action: "draft";
|
|
1037
|
+
key: string;
|
|
1038
|
+
projectId: string;
|
|
1039
|
+
text: string;
|
|
1040
|
+
expectedRevision: number;
|
|
1041
|
+
};
|
|
1042
|
+
} | {
|
|
1043
|
+
operation: "workspace.inspect";
|
|
1044
|
+
} | {
|
|
1045
|
+
operation: "workspace.configure";
|
|
1046
|
+
policy: {
|
|
1047
|
+
acceptNewWork: boolean;
|
|
1048
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1049
|
+
idleAfterSeconds: number;
|
|
1050
|
+
maxConcurrentJobs: number;
|
|
1051
|
+
cpuCores: 2 | 1;
|
|
1052
|
+
memoryMiB: number;
|
|
1053
|
+
cacheQuotaBytes: number;
|
|
1054
|
+
};
|
|
1055
|
+
expectedRevision: number;
|
|
1056
|
+
} | {
|
|
1057
|
+
operation: "workspace.activity";
|
|
1058
|
+
idleSeconds: number;
|
|
1059
|
+
observedAt: string;
|
|
1060
|
+
} | {
|
|
1061
|
+
operation: "storage.clean";
|
|
1062
|
+
} | {
|
|
1063
|
+
operation: "diagnostics.read";
|
|
1064
|
+
} | {
|
|
351
1065
|
operation: "agent.grant";
|
|
352
1066
|
grant: {
|
|
353
1067
|
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
@@ -365,6 +1079,7 @@ export declare class LocalInstallationManager {
|
|
|
365
1079
|
expiresAt: string;
|
|
366
1080
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
367
1081
|
imageDisclosureApproved?: true | undefined;
|
|
1082
|
+
mediaDisclosureApproved?: true | undefined;
|
|
368
1083
|
};
|
|
369
1084
|
approval: string;
|
|
370
1085
|
} | {
|
|
@@ -381,11 +1096,20 @@ export declare class LocalInstallationManager {
|
|
|
381
1096
|
projectId: string & z.core.$brand<"ProjectId">;
|
|
382
1097
|
productionId: string & z.core.$brand<"ProductionId">;
|
|
383
1098
|
};
|
|
384
|
-
contextFingerprint: string;
|
|
385
1099
|
target: {
|
|
386
1100
|
kind: "IMAGE";
|
|
387
1101
|
generationId: string;
|
|
1102
|
+
} | {
|
|
1103
|
+
kind: "VIDEO";
|
|
1104
|
+
generationId: string;
|
|
1105
|
+
} | {
|
|
1106
|
+
kind: "ROUGH_CUT";
|
|
1107
|
+
renderId: string;
|
|
1108
|
+
} | {
|
|
1109
|
+
kind: "PROGRAMMATIC";
|
|
1110
|
+
renderId: string;
|
|
388
1111
|
};
|
|
1112
|
+
contextFingerprint: string;
|
|
389
1113
|
};
|
|
390
1114
|
productionRevision: number;
|
|
391
1115
|
reviewVersion: number;
|
|
@@ -395,12 +1119,115 @@ export declare class LocalInstallationManager {
|
|
|
395
1119
|
representationId: string;
|
|
396
1120
|
checksumSha256: string;
|
|
397
1121
|
};
|
|
398
|
-
requirements: {
|
|
1122
|
+
requirements: ({
|
|
1123
|
+
key: string;
|
|
1124
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
1125
|
+
expected: string;
|
|
1126
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1127
|
+
scope: "TRANSITION" | "PRODUCTION";
|
|
1128
|
+
interval: {
|
|
1129
|
+
startMs: number;
|
|
1130
|
+
endMs: number;
|
|
1131
|
+
};
|
|
1132
|
+
shotIds: string[];
|
|
1133
|
+
continuity?: {
|
|
1134
|
+
kind: "STATE";
|
|
1135
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1136
|
+
entry: string;
|
|
1137
|
+
exit: string;
|
|
1138
|
+
changes?: {
|
|
1139
|
+
atPermille: number;
|
|
1140
|
+
from: string;
|
|
1141
|
+
to: string;
|
|
1142
|
+
reason: string;
|
|
1143
|
+
}[] | undefined;
|
|
1144
|
+
} | {
|
|
1145
|
+
kind: "TIME";
|
|
1146
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1147
|
+
entryMs: number;
|
|
1148
|
+
exitMs: number;
|
|
1149
|
+
jumps?: {
|
|
1150
|
+
atPermille: number;
|
|
1151
|
+
fromMs: number;
|
|
1152
|
+
toMs: number;
|
|
1153
|
+
reason: string;
|
|
1154
|
+
}[] | undefined;
|
|
1155
|
+
} | undefined;
|
|
1156
|
+
consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
|
|
1157
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
|
|
1158
|
+
consistencySubject?: {
|
|
1159
|
+
id: string;
|
|
1160
|
+
kind: "CHARACTER" | "VOICE";
|
|
1161
|
+
displayName: string;
|
|
1162
|
+
facts: {
|
|
1163
|
+
dimension: string;
|
|
1164
|
+
value: string;
|
|
1165
|
+
}[];
|
|
1166
|
+
master: {
|
|
1167
|
+
artifactId: string & z.core.$brand<"ArtifactId">;
|
|
1168
|
+
representationId: string & z.core.$brand<"ArtifactRepresentationId">;
|
|
1169
|
+
checksumSha256: string;
|
|
1170
|
+
artifactChecksumSha256: string;
|
|
1171
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1172
|
+
};
|
|
1173
|
+
} | undefined;
|
|
1174
|
+
consistencyReference?: {
|
|
1175
|
+
artifactId: string & z.core.$brand<"ArtifactId">;
|
|
1176
|
+
representationId: string & z.core.$brand<"ArtifactRepresentationId">;
|
|
1177
|
+
checksumSha256: string;
|
|
1178
|
+
artifactChecksumSha256: string;
|
|
1179
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1180
|
+
} | undefined;
|
|
1181
|
+
} | {
|
|
399
1182
|
key: string;
|
|
1183
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
400
1184
|
expected: string;
|
|
401
1185
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1186
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
402
1187
|
intentPath?: string | undefined;
|
|
403
|
-
|
|
1188
|
+
continuity?: {
|
|
1189
|
+
kind: "STATE";
|
|
1190
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1191
|
+
entry: string;
|
|
1192
|
+
exit: string;
|
|
1193
|
+
changes?: {
|
|
1194
|
+
atPermille: number;
|
|
1195
|
+
from: string;
|
|
1196
|
+
to: string;
|
|
1197
|
+
reason: string;
|
|
1198
|
+
}[] | undefined;
|
|
1199
|
+
} | {
|
|
1200
|
+
kind: "TIME";
|
|
1201
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1202
|
+
entryMs: number;
|
|
1203
|
+
exitMs: number;
|
|
1204
|
+
jumps?: {
|
|
1205
|
+
atPermille: number;
|
|
1206
|
+
fromMs: number;
|
|
1207
|
+
toMs: number;
|
|
1208
|
+
reason: string;
|
|
1209
|
+
}[] | undefined;
|
|
1210
|
+
} | undefined;
|
|
1211
|
+
interval?: {
|
|
1212
|
+
startMs: number;
|
|
1213
|
+
endMs: number;
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
} | {
|
|
1216
|
+
key: string;
|
|
1217
|
+
expected: string;
|
|
1218
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1219
|
+
intentPath?: string | undefined;
|
|
1220
|
+
})[];
|
|
1221
|
+
evidence?: {
|
|
1222
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
1223
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
1224
|
+
byteSize: number;
|
|
1225
|
+
width: number;
|
|
1226
|
+
height: number;
|
|
1227
|
+
durationMs?: number | undefined;
|
|
1228
|
+
frameRate?: 30 | 24 | undefined;
|
|
1229
|
+
hasAudio?: boolean | undefined;
|
|
1230
|
+
} | undefined;
|
|
404
1231
|
image?: {
|
|
405
1232
|
contentType: "image/png";
|
|
406
1233
|
byteSize: number;
|
|
@@ -418,16 +1245,15 @@ export declare class LocalInstallationManager {
|
|
|
418
1245
|
id: string;
|
|
419
1246
|
} | {
|
|
420
1247
|
operation: "runtime.status";
|
|
1248
|
+
includeDevice?: true | undefined;
|
|
421
1249
|
} | {
|
|
422
1250
|
operation: "runtime.doctor";
|
|
423
1251
|
} | {
|
|
424
1252
|
operation: "runtime.inventory";
|
|
425
1253
|
} | {
|
|
426
1254
|
operation: "session.issue";
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
projectId: string;
|
|
430
|
-
}[];
|
|
1255
|
+
tenantId: string;
|
|
1256
|
+
deviceId: string;
|
|
431
1257
|
expiresAt: string;
|
|
432
1258
|
} | {
|
|
433
1259
|
operation: "runtime.stop";
|
|
@@ -439,6 +1265,7 @@ export declare class LocalInstallationManager {
|
|
|
439
1265
|
projectId: string;
|
|
440
1266
|
productionId: string;
|
|
441
1267
|
runtimeJobId: string;
|
|
1268
|
+
includeProgress?: boolean | undefined;
|
|
442
1269
|
};
|
|
443
1270
|
} | {
|
|
444
1271
|
operation: "execution.list";
|
|
@@ -447,6 +1274,8 @@ export declare class LocalInstallationManager {
|
|
|
447
1274
|
projectId: string;
|
|
448
1275
|
after: string | null;
|
|
449
1276
|
limit: number;
|
|
1277
|
+
includeCompleted?: boolean | undefined;
|
|
1278
|
+
includeProgress?: boolean | undefined;
|
|
450
1279
|
};
|
|
451
1280
|
} | {
|
|
452
1281
|
operation: "update.check";
|
|
@@ -463,6 +1292,17 @@ export declare class LocalInstallationManager {
|
|
|
463
1292
|
availability: "AVAILABLE" | "BLOCKED";
|
|
464
1293
|
reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
|
|
465
1294
|
}[];
|
|
1295
|
+
deviceAuthority?: {
|
|
1296
|
+
tenantId: string;
|
|
1297
|
+
deviceId: string;
|
|
1298
|
+
origin: string;
|
|
1299
|
+
} | undefined;
|
|
1300
|
+
deviceCapabilities?: {
|
|
1301
|
+
deviceRevision: number;
|
|
1302
|
+
tenantMediaValidation: boolean;
|
|
1303
|
+
tenantMediaProcessing: boolean;
|
|
1304
|
+
processorCapabilities: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
|
|
1305
|
+
} | undefined;
|
|
466
1306
|
} | {
|
|
467
1307
|
binding: {
|
|
468
1308
|
tenantId: string;
|
|
@@ -476,14 +1316,194 @@ export declare class LocalInstallationManager {
|
|
|
476
1316
|
toolchainFingerprint: string;
|
|
477
1317
|
};
|
|
478
1318
|
revision: number;
|
|
479
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
1319
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
480
1320
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
1321
|
+
progress?: {
|
|
1322
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
1323
|
+
downloadedBytes: number;
|
|
1324
|
+
sourceBytes: number;
|
|
1325
|
+
uploadedBytes: number;
|
|
1326
|
+
outputBytes: number;
|
|
1327
|
+
lastError: {
|
|
1328
|
+
code: string;
|
|
1329
|
+
observedAt: string;
|
|
1330
|
+
} | null;
|
|
1331
|
+
} | undefined;
|
|
1332
|
+
} | {
|
|
1333
|
+
items: {
|
|
1334
|
+
reference: {
|
|
1335
|
+
tenantId: string;
|
|
1336
|
+
projectId: string;
|
|
1337
|
+
fileId: string;
|
|
1338
|
+
versionId: string;
|
|
1339
|
+
checksumSha256: string;
|
|
1340
|
+
byteSize: number;
|
|
1341
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1342
|
+
deviceId: string;
|
|
1343
|
+
};
|
|
1344
|
+
metadata: {
|
|
1345
|
+
label: string;
|
|
1346
|
+
} | null;
|
|
1347
|
+
accessRevision: number;
|
|
1348
|
+
allowInspect: boolean;
|
|
1349
|
+
allowPublish: boolean;
|
|
1350
|
+
expiresAt: string;
|
|
1351
|
+
}[];
|
|
1352
|
+
nextCursor: string | null;
|
|
1353
|
+
} | {
|
|
1354
|
+
candidate: {
|
|
1355
|
+
binary: string;
|
|
1356
|
+
binaryDigest: string;
|
|
1357
|
+
version: string;
|
|
1358
|
+
qualified: boolean;
|
|
1359
|
+
} | null;
|
|
1360
|
+
configured: {
|
|
1361
|
+
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
1362
|
+
binary: string;
|
|
1363
|
+
binaryDigest: string;
|
|
1364
|
+
version: "0.164.0" | "0.165.0";
|
|
1365
|
+
model: string;
|
|
1366
|
+
reviewerLabel: string;
|
|
1367
|
+
inference: "REMOTE_OPENAI";
|
|
1368
|
+
remoteUseApproved: true;
|
|
1369
|
+
projects: {
|
|
1370
|
+
tenantId: string;
|
|
1371
|
+
projectId: string;
|
|
1372
|
+
}[];
|
|
1373
|
+
expiresAt: string;
|
|
1374
|
+
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
1375
|
+
imageDisclosureApproved?: true | undefined;
|
|
1376
|
+
mediaDisclosureApproved?: true | undefined;
|
|
1377
|
+
} | null;
|
|
481
1378
|
} | {
|
|
482
1379
|
configured: boolean;
|
|
483
1380
|
available: boolean;
|
|
484
1381
|
reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
|
|
485
1382
|
grantFingerprint: string | null;
|
|
486
1383
|
inference: "REMOTE_OPENAI";
|
|
1384
|
+
} | {
|
|
1385
|
+
historical: true;
|
|
1386
|
+
items: {
|
|
1387
|
+
snapshot: {
|
|
1388
|
+
projectId: string;
|
|
1389
|
+
title: string;
|
|
1390
|
+
savedAt: string;
|
|
1391
|
+
expiresAt: string;
|
|
1392
|
+
productions: {
|
|
1393
|
+
id: string;
|
|
1394
|
+
title: string;
|
|
1395
|
+
}[];
|
|
1396
|
+
possiblyTruncated: boolean;
|
|
1397
|
+
};
|
|
1398
|
+
draft: {
|
|
1399
|
+
text: string;
|
|
1400
|
+
revision: number;
|
|
1401
|
+
};
|
|
1402
|
+
}[];
|
|
1403
|
+
} | {
|
|
1404
|
+
items: {
|
|
1405
|
+
reference: {
|
|
1406
|
+
tenantId: string;
|
|
1407
|
+
projectId: string;
|
|
1408
|
+
fileId: string;
|
|
1409
|
+
versionId: string;
|
|
1410
|
+
checksumSha256: string;
|
|
1411
|
+
byteSize: number;
|
|
1412
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1413
|
+
deviceId: string;
|
|
1414
|
+
};
|
|
1415
|
+
ownerKey: string;
|
|
1416
|
+
title: string;
|
|
1417
|
+
createdAt: string;
|
|
1418
|
+
revision: number;
|
|
1419
|
+
access: {
|
|
1420
|
+
state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
|
|
1421
|
+
desired: {
|
|
1422
|
+
reference: {
|
|
1423
|
+
tenantId: string;
|
|
1424
|
+
projectId: string;
|
|
1425
|
+
fileId: string;
|
|
1426
|
+
versionId: string;
|
|
1427
|
+
checksumSha256: string;
|
|
1428
|
+
byteSize: number;
|
|
1429
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1430
|
+
deviceId: string;
|
|
1431
|
+
};
|
|
1432
|
+
requestId: string;
|
|
1433
|
+
expectedRevision: number;
|
|
1434
|
+
metadata: {
|
|
1435
|
+
label: string;
|
|
1436
|
+
} | null;
|
|
1437
|
+
allowInspect: boolean;
|
|
1438
|
+
allowPublish: boolean;
|
|
1439
|
+
expiresAt: string;
|
|
1440
|
+
} | null;
|
|
1441
|
+
confirmed: {
|
|
1442
|
+
reference: {
|
|
1443
|
+
tenantId: string;
|
|
1444
|
+
projectId: string;
|
|
1445
|
+
fileId: string;
|
|
1446
|
+
versionId: string;
|
|
1447
|
+
checksumSha256: string;
|
|
1448
|
+
byteSize: number;
|
|
1449
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1450
|
+
deviceId: string;
|
|
1451
|
+
};
|
|
1452
|
+
requestId: string;
|
|
1453
|
+
expectedRevision: number;
|
|
1454
|
+
metadata: {
|
|
1455
|
+
label: string;
|
|
1456
|
+
} | null;
|
|
1457
|
+
allowInspect: boolean;
|
|
1458
|
+
allowPublish: boolean;
|
|
1459
|
+
expiresAt: string;
|
|
1460
|
+
revision: number;
|
|
1461
|
+
recordedAt: string;
|
|
1462
|
+
} | null;
|
|
1463
|
+
};
|
|
1464
|
+
}[];
|
|
1465
|
+
nextCursor: string | null;
|
|
1466
|
+
} | {
|
|
1467
|
+
reference: {
|
|
1468
|
+
tenantId: string;
|
|
1469
|
+
projectId: string;
|
|
1470
|
+
fileId: string;
|
|
1471
|
+
versionId: string;
|
|
1472
|
+
checksumSha256: string;
|
|
1473
|
+
byteSize: number;
|
|
1474
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1475
|
+
deviceId: string;
|
|
1476
|
+
};
|
|
1477
|
+
metadata: {
|
|
1478
|
+
label: string;
|
|
1479
|
+
} | null;
|
|
1480
|
+
accessRevision: number;
|
|
1481
|
+
allowInspect: boolean;
|
|
1482
|
+
allowPublish: boolean;
|
|
1483
|
+
expiresAt: string;
|
|
1484
|
+
} | {
|
|
1485
|
+
reference: {
|
|
1486
|
+
tenantId: string;
|
|
1487
|
+
projectId: string;
|
|
1488
|
+
fileId: string;
|
|
1489
|
+
versionId: string;
|
|
1490
|
+
checksumSha256: string;
|
|
1491
|
+
byteSize: number;
|
|
1492
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1493
|
+
deviceId: string;
|
|
1494
|
+
};
|
|
1495
|
+
offset: number;
|
|
1496
|
+
contentBase64: string;
|
|
1497
|
+
complete: boolean;
|
|
1498
|
+
} | {
|
|
1499
|
+
protocol: "NVS_LOCAL_LIBRARY_V1";
|
|
1500
|
+
available: boolean;
|
|
1501
|
+
profileDigest: string;
|
|
1502
|
+
} | {
|
|
1503
|
+
fileCount: number;
|
|
1504
|
+
totalBytes: number;
|
|
1505
|
+
quotaBytes: number;
|
|
1506
|
+
availableDiskBytes: number;
|
|
487
1507
|
} | {
|
|
488
1508
|
runtimeRevision: number;
|
|
489
1509
|
descriptor: {
|
|
@@ -498,17 +1518,86 @@ export declare class LocalInstallationManager {
|
|
|
498
1518
|
architecture: "x64" | "arm64";
|
|
499
1519
|
};
|
|
500
1520
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
501
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
1521
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
502
1522
|
journalSchema: 1;
|
|
503
1523
|
rendererDigest: string;
|
|
504
1524
|
profileDigest: string;
|
|
1525
|
+
compatibleRenderers?: {
|
|
1526
|
+
rendererDigest: string;
|
|
1527
|
+
profileDigest: string;
|
|
1528
|
+
}[] | undefined;
|
|
505
1529
|
};
|
|
506
1530
|
activeProcesses: number;
|
|
507
1531
|
pendingExecutions: number;
|
|
508
1532
|
pendingRequests: number;
|
|
509
1533
|
pendingRenderers: string[];
|
|
510
1534
|
} | {
|
|
511
|
-
|
|
1535
|
+
settings: {
|
|
1536
|
+
revision: number;
|
|
1537
|
+
policy: {
|
|
1538
|
+
acceptNewWork: boolean;
|
|
1539
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1540
|
+
idleAfterSeconds: number;
|
|
1541
|
+
maxConcurrentJobs: number;
|
|
1542
|
+
cpuCores: 2 | 1;
|
|
1543
|
+
memoryMiB: number;
|
|
1544
|
+
cacheQuotaBytes: number;
|
|
1545
|
+
};
|
|
1546
|
+
};
|
|
1547
|
+
storage: {
|
|
1548
|
+
cacheBytes: number;
|
|
1549
|
+
protectedBytes: number;
|
|
1550
|
+
reclaimableBytes: number;
|
|
1551
|
+
transferBytes: number;
|
|
1552
|
+
journalBytes: number;
|
|
1553
|
+
availableDiskBytes: number;
|
|
1554
|
+
quotaBytes: number;
|
|
1555
|
+
overQuota: boolean;
|
|
1556
|
+
reviewBytes?: number | undefined;
|
|
1557
|
+
ownerStagingBytes?: number | undefined;
|
|
1558
|
+
};
|
|
1559
|
+
scheduling: {
|
|
1560
|
+
state: "READY" | "PAUSED" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
|
|
1561
|
+
activeJobs: number;
|
|
1562
|
+
idleObservationCurrent: boolean;
|
|
1563
|
+
};
|
|
1564
|
+
} | {
|
|
1565
|
+
protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
|
|
1566
|
+
createdAt: string;
|
|
1567
|
+
runtimeVersion: string;
|
|
1568
|
+
runtimeRevision: number;
|
|
1569
|
+
settings: {
|
|
1570
|
+
revision: number;
|
|
1571
|
+
policy: {
|
|
1572
|
+
acceptNewWork: boolean;
|
|
1573
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1574
|
+
idleAfterSeconds: number;
|
|
1575
|
+
maxConcurrentJobs: number;
|
|
1576
|
+
cpuCores: 2 | 1;
|
|
1577
|
+
memoryMiB: number;
|
|
1578
|
+
cacheQuotaBytes: number;
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
storage: {
|
|
1582
|
+
cacheBytes: number;
|
|
1583
|
+
protectedBytes: number;
|
|
1584
|
+
reclaimableBytes: number;
|
|
1585
|
+
transferBytes: number;
|
|
1586
|
+
journalBytes: number;
|
|
1587
|
+
availableDiskBytes: number;
|
|
1588
|
+
quotaBytes: number;
|
|
1589
|
+
overQuota: boolean;
|
|
1590
|
+
reviewBytes?: number | undefined;
|
|
1591
|
+
ownerStagingBytes?: number | undefined;
|
|
1592
|
+
};
|
|
1593
|
+
recordCounts: Record<string, number>;
|
|
1594
|
+
failures: {
|
|
1595
|
+
taskFingerprint: string;
|
|
1596
|
+
code: string;
|
|
1597
|
+
observedAt: string;
|
|
1598
|
+
}[];
|
|
1599
|
+
} | {
|
|
1600
|
+
mode: "INSTALLED" | "MANAGED";
|
|
512
1601
|
availability: "UNAVAILABLE" | "AVAILABLE";
|
|
513
1602
|
reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
|
|
514
1603
|
nativeExecutionReady: boolean;
|
|
@@ -518,6 +1607,7 @@ export declare class LocalInstallationManager {
|
|
|
518
1607
|
version: string;
|
|
519
1608
|
digest: string;
|
|
520
1609
|
}[];
|
|
1610
|
+
executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2")[] | undefined;
|
|
521
1611
|
} | {
|
|
522
1612
|
items: {
|
|
523
1613
|
binding: {
|
|
@@ -532,8 +1622,19 @@ export declare class LocalInstallationManager {
|
|
|
532
1622
|
toolchainFingerprint: string;
|
|
533
1623
|
};
|
|
534
1624
|
revision: number;
|
|
535
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
1625
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
536
1626
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
1627
|
+
progress?: {
|
|
1628
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
1629
|
+
downloadedBytes: number;
|
|
1630
|
+
sourceBytes: number;
|
|
1631
|
+
uploadedBytes: number;
|
|
1632
|
+
outputBytes: number;
|
|
1633
|
+
lastError: {
|
|
1634
|
+
code: string;
|
|
1635
|
+
observedAt: string;
|
|
1636
|
+
} | null;
|
|
1637
|
+
} | undefined;
|
|
537
1638
|
}[];
|
|
538
1639
|
nextCursor: string | null;
|
|
539
1640
|
} | {
|
|
@@ -552,10 +1653,14 @@ export declare class LocalInstallationManager {
|
|
|
552
1653
|
architecture: "x64" | "arm64";
|
|
553
1654
|
};
|
|
554
1655
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
555
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
1656
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
556
1657
|
journalSchema: 1;
|
|
557
1658
|
rendererDigest: string;
|
|
558
1659
|
profileDigest: string;
|
|
1660
|
+
compatibleRenderers?: {
|
|
1661
|
+
rendererDigest: string;
|
|
1662
|
+
profileDigest: string;
|
|
1663
|
+
}[] | undefined;
|
|
559
1664
|
};
|
|
560
1665
|
activeProcesses: number;
|
|
561
1666
|
pendingExecutions: number;
|
|
@@ -577,10 +1682,8 @@ export declare class LocalInstallationManager {
|
|
|
577
1682
|
}>;
|
|
578
1683
|
grant(raw: unknown, output: string): Promise<{
|
|
579
1684
|
granted: boolean;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
projectId: string;
|
|
583
|
-
}[];
|
|
1685
|
+
tenantId: string;
|
|
1686
|
+
deviceId: string;
|
|
584
1687
|
expiresAt: string;
|
|
585
1688
|
}>;
|
|
586
1689
|
reconnect(): Promise<{
|