@nativestudio/cli 0.3.0-rc.21 → 0.3.0-rc.27
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 +11 -11
- package/components/runtime.json +7 -7
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/backup-retirement-5OTAYZYN.js +1 -0
- package/dist/_chunks/caller-DPHTMOBN.js +1 -0
- package/dist/_chunks/{chunk-MZWEFYHE.js → chunk-24ZFLWWU.js} +1 -1
- package/dist/_chunks/chunk-25WUWVDK.js +1 -0
- package/dist/_chunks/{chunk-QGK6G6YS.js → chunk-4UQRT3ZH.js} +1 -1
- package/dist/_chunks/chunk-6MYLFBLH.js +1 -0
- package/dist/_chunks/chunk-6YVGVNEH.js +1 -0
- package/dist/_chunks/{chunk-7IVAYDU3.js → chunk-7TXIHIZ5.js} +1 -1
- package/dist/_chunks/chunk-A3MJERGH.js +1 -0
- package/dist/_chunks/{chunk-DLW42PJ6.js → chunk-AZQLZA47.js} +1 -1
- package/dist/_chunks/{chunk-ZYXHPTT2.js → chunk-BNGPPUA3.js} +1 -1
- package/dist/_chunks/chunk-CBJIFAHD.js +1 -0
- package/dist/_chunks/chunk-CUCC4RFF.js +1 -0
- package/dist/_chunks/{chunk-76E5R3OC.js → chunk-DBOQPJLY.js} +1 -1
- package/dist/_chunks/chunk-DEXSJABJ.js +1 -0
- package/dist/_chunks/chunk-EOWXXTEF.js +1 -0
- package/dist/_chunks/chunk-EPH3TRYV.js +1 -0
- package/dist/_chunks/chunk-EYOGMJW2.js +1 -0
- package/dist/_chunks/{chunk-ZMJYBUS3.js → chunk-FRZDYDOP.js} +1 -1
- package/dist/_chunks/chunk-IKJ6VNJ6.js +1 -0
- package/dist/_chunks/chunk-ISPIV2P6.js +1 -0
- package/dist/_chunks/chunk-IYYCCA44.js +1 -0
- package/dist/_chunks/chunk-KAW7T5TR.js +1 -0
- package/dist/_chunks/chunk-KGS6SI5Y.js +1 -0
- package/dist/_chunks/chunk-LNKE3Z3X.js +1 -0
- package/dist/_chunks/{chunk-X5PBZTKX.js → chunk-LRIVN74V.js} +1 -1
- package/dist/_chunks/chunk-LVVSTKDW.js +1 -0
- package/dist/_chunks/chunk-LZAC64FB.js +1 -0
- package/dist/_chunks/chunk-M32FI2OA.js +1 -0
- package/dist/_chunks/chunk-N4ORSVTY.js +1 -0
- package/dist/_chunks/{chunk-KOCUZ3AE.js → chunk-NEZ7IY5E.js} +1 -1
- package/dist/_chunks/{chunk-LTNJ45JP.js → chunk-NW3ODW7Y.js} +1 -1
- package/dist/_chunks/chunk-NX4JWZWV.js +1 -0
- package/dist/_chunks/chunk-PC54RQIE.js +1 -0
- package/dist/_chunks/chunk-Q7MTMC6D.js +1 -0
- package/dist/_chunks/chunk-QCBLU6D6.js +1 -0
- package/dist/_chunks/chunk-QLHMJUBH.js +1 -0
- package/dist/_chunks/{chunk-5Y7J2OYL.js → chunk-RASQZMYI.js} +2 -2
- package/dist/_chunks/chunk-RRYZZBXN.js +1 -0
- package/dist/_chunks/chunk-SCLI4ALP.js +1 -0
- package/dist/_chunks/chunk-SCOSFTMM.js +1 -0
- package/dist/_chunks/chunk-UFUFQA5U.js +1 -0
- package/dist/_chunks/chunk-UOYNCE7I.js +1 -0
- package/dist/_chunks/{chunk-OW6R4MAQ.js → chunk-USOV7NK4.js} +1 -1
- package/dist/_chunks/chunk-VJ4SCIR5.js +1 -0
- package/dist/_chunks/chunk-VKXFHOAR.js +1 -0
- package/dist/_chunks/chunk-VXANXYQL.js +1 -0
- package/dist/_chunks/chunk-XMZKBILZ.js +1 -0
- package/dist/_chunks/chunk-Z44SK6DZ.js +1 -0
- package/dist/_chunks/component-contract-B6VKGV2V.js +1 -0
- package/dist/_chunks/component-preflight-FYYYXV6C.js +1 -0
- package/dist/_chunks/connect-75RAY2SE.js +1 -0
- package/dist/_chunks/device-management-JGV4YU7S.js +1 -0
- package/dist/_chunks/device-preflight-ZPWOMGHI.js +1 -0
- package/dist/_chunks/device-provider-inspection-C4IRVW3V.js +1 -0
- package/dist/_chunks/devices-inventory-OAY2HON2.js +1 -0
- package/dist/_chunks/devices-main-6PDXFRE2.js +1 -0
- package/dist/_chunks/files-G2HINGMA.js +1 -0
- package/dist/_chunks/host-component-W5DIBO65.js +1 -0
- package/dist/_chunks/host-help-AYTWACIM.js +1 -0
- package/dist/_chunks/host-main-E34OH232.js +1 -0
- package/dist/_chunks/http-profile-BFWO2A2T.js +1 -0
- package/dist/_chunks/library-main-BDS4ANNF.js +1 -0
- package/dist/_chunks/local-main-EF3Y6EHU.js +1 -0
- package/dist/_chunks/local-mcp-ME7ZQBUT.js +1 -0
- package/dist/_chunks/main-7Q5Y5MVK.js +2 -0
- package/dist/_chunks/mcp-VEJ6GVUK.js +1 -0
- package/dist/_chunks/model-cleanup-22VY6NWS.js +1 -0
- package/dist/_chunks/model-management-RZ4LQYMW.js +1 -0
- package/dist/_chunks/model-plan-retirement-4V2J3AUA.js +1 -0
- package/dist/_chunks/model-retention-F4WNSTJO.js +1 -0
- package/dist/_chunks/model-slot-retirement-KL6MVDGL.js +1 -0
- package/dist/_chunks/oauth-Z26E4LJQ.js +1 -0
- package/dist/_chunks/observe-entry-ZV26WLCP.js +1 -0
- package/dist/_chunks/provider-change-U34UP6ER.js +1 -0
- package/dist/_chunks/remote-client-6F6KRJA6.js +1 -0
- package/dist/_chunks/render-main-ID5JWWKY.js +1 -0
- package/dist/_chunks/source-import-YW6YEMEN.js +1 -0
- package/dist/_chunks/src-36KAJDK4.js +1 -0
- package/dist/_chunks/stdio-main-YR5TITX2.js +1 -0
- package/dist/_chunks/workspace-main-ZFR7ZY3R.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +349 -40
- package/dist/_types/cli/local/desktop-device-contract.d.ts +89 -78
- package/dist/_types/cli/local/desktop-device-owner.d.ts +14 -14
- package/dist/_types/cli/local/desktop-device-state.d.ts +13 -8
- package/dist/_types/cli/local/desktop-owner.d.ts +130 -30
- package/dist/_types/cli/local/ledger.d.ts +285 -0
- package/dist/_types/cli/local/lifecycle-gates.d.ts +8 -0
- package/dist/_types/cli/local/manager.d.ts +11 -1107
- package/dist/_types/cli/local/mcp-tools.d.ts +3 -0
- package/dist/_types/contracts/artifact.d.ts +2 -0
- package/dist/_types/contracts/component-status.d.ts +9 -0
- package/dist/_types/contracts/device-openai-asr.d.ts +479 -0
- package/dist/_types/contracts/device-render.d.ts +6 -0
- package/dist/_types/contracts/external-agent-access.d.ts +7 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +4 -1
- package/dist/_types/contracts/interface/operation.d.ts +44 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +39 -0
- package/dist/_types/contracts/interface/query.d.ts +38 -0
- package/dist/_types/contracts/local-execution/backup-retirement.d.ts +162 -0
- package/dist/_types/contracts/local-execution/claim-resolution.d.ts +1470 -0
- package/dist/_types/contracts/local-execution/components.d.ts +1 -1
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +23 -0
- package/dist/_types/contracts/local-execution/credential-request.d.ts +20 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +59 -2
- package/dist/_types/contracts/local-execution/index.d.ts +12 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +27 -0
- package/dist/_types/contracts/local-execution/library-command.d.ts +303 -5
- package/dist/_types/contracts/local-execution/library-result.d.ts +217 -3
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +35 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +3 -0
- package/dist/_types/contracts/local-execution/management.d.ts +12 -12
- package/dist/_types/contracts/local-execution/model-cleanup.d.ts +60 -0
- package/dist/_types/contracts/local-execution/model-inspection.d.ts +365 -0
- package/dist/_types/contracts/local-execution/openai-asr.d.ts +105 -0
- package/dist/_types/contracts/local-execution/openai-realtime-speech.d.ts +151 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +15 -4
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +6 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +140 -4
- package/dist/_types/contracts/local-execution/processor-outcomes.d.ts +145 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +163 -3
- package/dist/_types/contracts/local-execution/processor.d.ts +2422 -322
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +1 -0
- package/dist/_types/contracts/local-execution/provider-inspection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/provider-release.d.ts +53 -0
- package/dist/_types/contracts/local-execution/provider-selection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +30 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/versions.d.ts +2 -0
- package/dist/_types/contracts/media-observation.d.ts +56 -0
- package/dist/_types/contracts/native-speech-http.d.ts +15 -0
- package/dist/_types/contracts/navigation-context.d.ts +144 -0
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +2 -0
- package/dist/_types/contracts/observation-profile.d.ts +12 -0
- package/dist/_types/contracts/openai-asr.d.ts +55 -0
- package/dist/_types/contracts/provider-catalog.d.ts +44 -0
- package/dist/_types/contracts/provider-models.d.ts +115 -3
- package/dist/_types/contracts/provider.d.ts +93 -7
- package/dist/_types/contracts/render-readiness.d.ts +74 -1
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/sound-making-plan.d.ts +41 -0
- package/dist/_types/contracts/source-workspace.d.ts +2 -0
- package/dist/_types/contracts/speech-cost.d.ts +129 -0
- package/dist/_types/contracts/speech.d.ts +50 -0
- package/dist/_types/contracts/transcription.d.ts +11 -0
- package/dist/_types/sdk/local-runtime/components.d.ts +6 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +3 -2
- package/dist/_chunks/chunk-27KI24GK.js +0 -1
- package/dist/_chunks/chunk-2S7FI3HF.js +0 -1
- package/dist/_chunks/chunk-3RNDOAQI.js +0 -1
- package/dist/_chunks/chunk-3TOXIJ7K.js +0 -1
- package/dist/_chunks/chunk-4AD4PNUX.js +0 -1
- package/dist/_chunks/chunk-7I7ARCY7.js +0 -1
- package/dist/_chunks/chunk-7P2NA6TH.js +0 -1
- package/dist/_chunks/chunk-DMA53YVU.js +0 -1
- package/dist/_chunks/chunk-ETK7GYCB.js +0 -1
- package/dist/_chunks/chunk-FFXSXE3G.js +0 -1
- package/dist/_chunks/chunk-H4FH6STZ.js +0 -1
- package/dist/_chunks/chunk-LDBXGRCQ.js +0 -1
- package/dist/_chunks/chunk-PQCA4X5H.js +0 -1
- package/dist/_chunks/chunk-SM2I7TJ3.js +0 -1
- package/dist/_chunks/chunk-VXYZCCCQ.js +0 -1
- package/dist/_chunks/chunk-VYCNG6TR.js +0 -1
- package/dist/_chunks/chunk-WLQMICJN.js +0 -1
- package/dist/_chunks/chunk-WTJVS2VS.js +0 -1
- package/dist/_chunks/chunk-X5MVC46N.js +0 -1
- package/dist/_chunks/component-contract-2JHTRTOB.js +0 -1
- package/dist/_chunks/component-preflight-6OWDQAZT.js +0 -1
- package/dist/_chunks/connect-7TJDWXV4.js +0 -1
- package/dist/_chunks/device-management-JPS4HG34.js +0 -1
- package/dist/_chunks/device-preflight-GTQ67H7C.js +0 -1
- package/dist/_chunks/devices-inventory-E6ZLXCVR.js +0 -1
- package/dist/_chunks/devices-main-2BMCANKU.js +0 -1
- package/dist/_chunks/files-JJ6YOULB.js +0 -1
- package/dist/_chunks/host-component-ZYQ5ETVL.js +0 -1
- package/dist/_chunks/host-help-VNLA3YOV.js +0 -1
- package/dist/_chunks/host-main-KLWW7R47.js +0 -1
- package/dist/_chunks/http-profile-3VVSWYA5.js +0 -1
- package/dist/_chunks/library-main-3WWH7UYV.js +0 -1
- package/dist/_chunks/local-main-5BW63USP.js +0 -1
- package/dist/_chunks/local-mcp-AARKBDU5.js +0 -1
- package/dist/_chunks/main-LGYJ3ZCN.js +0 -2
- package/dist/_chunks/mcp-BLSK636Q.js +0 -1
- package/dist/_chunks/oauth-RPME2XYB.js +0 -1
- package/dist/_chunks/observe-entry-JVZAMB7N.js +0 -1
- package/dist/_chunks/remote-client-25Z65VJU.js +0 -1
- package/dist/_chunks/render-main-6Z3DKCWL.js +0 -1
- package/dist/_chunks/source-import-PNMCMTK7.js +0 -1
- package/dist/_chunks/src-7HSJFRVQ.js +0 -1
- package/dist/_chunks/stdio-main-HNLJCG45.js +0 -1
- package/dist/_chunks/workspace-main-QX5JGEMR.js +0 -1
|
@@ -269,6 +269,291 @@ export declare class InstallationLedger {
|
|
|
269
269
|
};
|
|
270
270
|
digest: string | null;
|
|
271
271
|
}>;
|
|
272
|
+
atRevision(revision: number): Promise<{
|
|
273
|
+
revision: number;
|
|
274
|
+
active: {
|
|
275
|
+
id: string;
|
|
276
|
+
descriptor: {
|
|
277
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
278
|
+
version: string;
|
|
279
|
+
node: {
|
|
280
|
+
major: 24;
|
|
281
|
+
minMinor: 12;
|
|
282
|
+
};
|
|
283
|
+
platform: {
|
|
284
|
+
os: "darwin" | "linux" | "win32";
|
|
285
|
+
architecture: "arm64" | "x64";
|
|
286
|
+
};
|
|
287
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
288
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
289
|
+
journalSchema: 1;
|
|
290
|
+
rendererDigest: string;
|
|
291
|
+
profileDigest: string;
|
|
292
|
+
compatibleRenderers?: {
|
|
293
|
+
rendererDigest: string;
|
|
294
|
+
profileDigest: string;
|
|
295
|
+
}[] | undefined;
|
|
296
|
+
};
|
|
297
|
+
toolsConfigPath: string | null;
|
|
298
|
+
files: Record<string, string>;
|
|
299
|
+
} | null;
|
|
300
|
+
transition: {
|
|
301
|
+
id: string;
|
|
302
|
+
planId: string;
|
|
303
|
+
fingerprint: string;
|
|
304
|
+
phase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED";
|
|
305
|
+
previous: {
|
|
306
|
+
id: string;
|
|
307
|
+
descriptor: {
|
|
308
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
309
|
+
version: string;
|
|
310
|
+
node: {
|
|
311
|
+
major: 24;
|
|
312
|
+
minMinor: 12;
|
|
313
|
+
};
|
|
314
|
+
platform: {
|
|
315
|
+
os: "darwin" | "linux" | "win32";
|
|
316
|
+
architecture: "arm64" | "x64";
|
|
317
|
+
};
|
|
318
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
319
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
320
|
+
journalSchema: 1;
|
|
321
|
+
rendererDigest: string;
|
|
322
|
+
profileDigest: string;
|
|
323
|
+
compatibleRenderers?: {
|
|
324
|
+
rendererDigest: string;
|
|
325
|
+
profileDigest: string;
|
|
326
|
+
}[] | undefined;
|
|
327
|
+
};
|
|
328
|
+
toolsConfigPath: string | null;
|
|
329
|
+
files: Record<string, string>;
|
|
330
|
+
} | null;
|
|
331
|
+
candidate: {
|
|
332
|
+
id: string;
|
|
333
|
+
descriptor: {
|
|
334
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
335
|
+
version: string;
|
|
336
|
+
node: {
|
|
337
|
+
major: 24;
|
|
338
|
+
minMinor: 12;
|
|
339
|
+
};
|
|
340
|
+
platform: {
|
|
341
|
+
os: "darwin" | "linux" | "win32";
|
|
342
|
+
architecture: "arm64" | "x64";
|
|
343
|
+
};
|
|
344
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
345
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
346
|
+
journalSchema: 1;
|
|
347
|
+
rendererDigest: string;
|
|
348
|
+
profileDigest: string;
|
|
349
|
+
compatibleRenderers?: {
|
|
350
|
+
rendererDigest: string;
|
|
351
|
+
profileDigest: string;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
};
|
|
354
|
+
toolsConfigPath: string | null;
|
|
355
|
+
files: Record<string, string>;
|
|
356
|
+
} | null;
|
|
357
|
+
backupPath: string | null;
|
|
358
|
+
failedPhase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED" | null;
|
|
359
|
+
} | null;
|
|
360
|
+
} | null>;
|
|
361
|
+
/** 读取同一不可变账本的历史引用,不创建新的模型权威或改写旧安装槽。 */
|
|
362
|
+
toolSelectionHistory(): Promise<{
|
|
363
|
+
value: {
|
|
364
|
+
revision: number;
|
|
365
|
+
active: {
|
|
366
|
+
id: string;
|
|
367
|
+
descriptor: {
|
|
368
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
369
|
+
version: string;
|
|
370
|
+
node: {
|
|
371
|
+
major: 24;
|
|
372
|
+
minMinor: 12;
|
|
373
|
+
};
|
|
374
|
+
platform: {
|
|
375
|
+
os: "darwin" | "linux" | "win32";
|
|
376
|
+
architecture: "arm64" | "x64";
|
|
377
|
+
};
|
|
378
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
379
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
380
|
+
journalSchema: 1;
|
|
381
|
+
rendererDigest: string;
|
|
382
|
+
profileDigest: string;
|
|
383
|
+
compatibleRenderers?: {
|
|
384
|
+
rendererDigest: string;
|
|
385
|
+
profileDigest: string;
|
|
386
|
+
}[] | undefined;
|
|
387
|
+
};
|
|
388
|
+
toolsConfigPath: string | null;
|
|
389
|
+
files: Record<string, string>;
|
|
390
|
+
} | null;
|
|
391
|
+
transition: {
|
|
392
|
+
id: string;
|
|
393
|
+
planId: string;
|
|
394
|
+
fingerprint: string;
|
|
395
|
+
phase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED";
|
|
396
|
+
previous: {
|
|
397
|
+
id: string;
|
|
398
|
+
descriptor: {
|
|
399
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
400
|
+
version: string;
|
|
401
|
+
node: {
|
|
402
|
+
major: 24;
|
|
403
|
+
minMinor: 12;
|
|
404
|
+
};
|
|
405
|
+
platform: {
|
|
406
|
+
os: "darwin" | "linux" | "win32";
|
|
407
|
+
architecture: "arm64" | "x64";
|
|
408
|
+
};
|
|
409
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
410
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
411
|
+
journalSchema: 1;
|
|
412
|
+
rendererDigest: string;
|
|
413
|
+
profileDigest: string;
|
|
414
|
+
compatibleRenderers?: {
|
|
415
|
+
rendererDigest: string;
|
|
416
|
+
profileDigest: string;
|
|
417
|
+
}[] | undefined;
|
|
418
|
+
};
|
|
419
|
+
toolsConfigPath: string | null;
|
|
420
|
+
files: Record<string, string>;
|
|
421
|
+
} | null;
|
|
422
|
+
candidate: {
|
|
423
|
+
id: string;
|
|
424
|
+
descriptor: {
|
|
425
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
426
|
+
version: string;
|
|
427
|
+
node: {
|
|
428
|
+
major: 24;
|
|
429
|
+
minMinor: 12;
|
|
430
|
+
};
|
|
431
|
+
platform: {
|
|
432
|
+
os: "darwin" | "linux" | "win32";
|
|
433
|
+
architecture: "arm64" | "x64";
|
|
434
|
+
};
|
|
435
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
436
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
437
|
+
journalSchema: 1;
|
|
438
|
+
rendererDigest: string;
|
|
439
|
+
profileDigest: string;
|
|
440
|
+
compatibleRenderers?: {
|
|
441
|
+
rendererDigest: string;
|
|
442
|
+
profileDigest: string;
|
|
443
|
+
}[] | undefined;
|
|
444
|
+
};
|
|
445
|
+
toolsConfigPath: string | null;
|
|
446
|
+
files: Record<string, string>;
|
|
447
|
+
} | null;
|
|
448
|
+
backupPath: string | null;
|
|
449
|
+
failedPhase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED" | null;
|
|
450
|
+
} | null;
|
|
451
|
+
};
|
|
452
|
+
historical: string[];
|
|
453
|
+
revisionDigests: Map<number, string>;
|
|
454
|
+
slots: {
|
|
455
|
+
id: string;
|
|
456
|
+
versions: {
|
|
457
|
+
slot: Slot;
|
|
458
|
+
lastReferencedRevision: number;
|
|
459
|
+
lastReferencedDigest: string;
|
|
460
|
+
}[];
|
|
461
|
+
lastReferencedRevision: number;
|
|
462
|
+
}[];
|
|
463
|
+
}>;
|
|
464
|
+
recoveryBackupReferences(): Promise<{
|
|
465
|
+
paths: Set<string>;
|
|
466
|
+
value: {
|
|
467
|
+
revision: number;
|
|
468
|
+
active: {
|
|
469
|
+
id: string;
|
|
470
|
+
descriptor: {
|
|
471
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
472
|
+
version: string;
|
|
473
|
+
node: {
|
|
474
|
+
major: 24;
|
|
475
|
+
minMinor: 12;
|
|
476
|
+
};
|
|
477
|
+
platform: {
|
|
478
|
+
os: "darwin" | "linux" | "win32";
|
|
479
|
+
architecture: "arm64" | "x64";
|
|
480
|
+
};
|
|
481
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
482
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
483
|
+
journalSchema: 1;
|
|
484
|
+
rendererDigest: string;
|
|
485
|
+
profileDigest: string;
|
|
486
|
+
compatibleRenderers?: {
|
|
487
|
+
rendererDigest: string;
|
|
488
|
+
profileDigest: string;
|
|
489
|
+
}[] | undefined;
|
|
490
|
+
};
|
|
491
|
+
toolsConfigPath: string | null;
|
|
492
|
+
files: Record<string, string>;
|
|
493
|
+
} | null;
|
|
494
|
+
transition: {
|
|
495
|
+
id: string;
|
|
496
|
+
planId: string;
|
|
497
|
+
fingerprint: string;
|
|
498
|
+
phase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED";
|
|
499
|
+
previous: {
|
|
500
|
+
id: string;
|
|
501
|
+
descriptor: {
|
|
502
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
503
|
+
version: string;
|
|
504
|
+
node: {
|
|
505
|
+
major: 24;
|
|
506
|
+
minMinor: 12;
|
|
507
|
+
};
|
|
508
|
+
platform: {
|
|
509
|
+
os: "darwin" | "linux" | "win32";
|
|
510
|
+
architecture: "arm64" | "x64";
|
|
511
|
+
};
|
|
512
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
513
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
514
|
+
journalSchema: 1;
|
|
515
|
+
rendererDigest: string;
|
|
516
|
+
profileDigest: string;
|
|
517
|
+
compatibleRenderers?: {
|
|
518
|
+
rendererDigest: string;
|
|
519
|
+
profileDigest: string;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
};
|
|
522
|
+
toolsConfigPath: string | null;
|
|
523
|
+
files: Record<string, string>;
|
|
524
|
+
} | null;
|
|
525
|
+
candidate: {
|
|
526
|
+
id: string;
|
|
527
|
+
descriptor: {
|
|
528
|
+
protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
|
|
529
|
+
version: string;
|
|
530
|
+
node: {
|
|
531
|
+
major: 24;
|
|
532
|
+
minMinor: 12;
|
|
533
|
+
};
|
|
534
|
+
platform: {
|
|
535
|
+
os: "darwin" | "linux" | "win32";
|
|
536
|
+
architecture: "arm64" | "x64";
|
|
537
|
+
};
|
|
538
|
+
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
539
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
540
|
+
journalSchema: 1;
|
|
541
|
+
rendererDigest: string;
|
|
542
|
+
profileDigest: string;
|
|
543
|
+
compatibleRenderers?: {
|
|
544
|
+
rendererDigest: string;
|
|
545
|
+
profileDigest: string;
|
|
546
|
+
}[] | undefined;
|
|
547
|
+
};
|
|
548
|
+
toolsConfigPath: string | null;
|
|
549
|
+
files: Record<string, string>;
|
|
550
|
+
} | null;
|
|
551
|
+
backupPath: string | null;
|
|
552
|
+
failedPhase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED" | null;
|
|
553
|
+
} | null;
|
|
554
|
+
};
|
|
555
|
+
digest: string | null;
|
|
556
|
+
}>;
|
|
272
557
|
hadCompletedVersion(version: string): Promise<boolean>;
|
|
273
558
|
private load;
|
|
274
559
|
commit(expected: Installation, next: Omit<Installation, "revision">): Promise<{
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LocalInstallationManager } from "./manager.js";
|
|
2
|
+
/** Only a live internal scope may reuse a gate, never an input flag from CLI/IPC. */
|
|
3
|
+
export type LifecycleScope = {
|
|
4
|
+
readonly stateDirectories: readonly string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function withResourceLifecycleGates<T>(stateDirectories: readonly string[], work: (scope: LifecycleScope) => Promise<T>, held?: LifecycleScope): Promise<T>;
|
|
7
|
+
/** A configuration-root switch between observation and acquisition must not escape the gate. */
|
|
8
|
+
export declare function withConfiguredLifecycle<T>(manager: Pick<LocalInstallationManager, "configuration">, work: (scope: LifecycleScope) => Promise<T>, held?: LifecycleScope, additionalDirectories?: readonly string[]): Promise<T>;
|