@nativestudio/cli 0.3.0-rc.2 → 0.3.0-rc.20
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 +37 -8
- package/LICENSE +201 -21
- package/components/runtime.json +33 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-27KI24GK.js +1 -0
- package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
- package/dist/_chunks/chunk-4M2SOMSN.js +1 -0
- package/dist/_chunks/chunk-4PAVWOPA.js +1 -0
- package/dist/_chunks/chunk-6EZX2TRX.js +1 -0
- package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
- package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
- package/dist/_chunks/chunk-AFNJRZLJ.js +1 -0
- package/dist/_chunks/chunk-APNZQZFB.js +1 -0
- package/dist/_chunks/chunk-D74NHT4I.js +45 -0
- package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
- package/dist/_chunks/chunk-ELUJ44BO.js +1 -0
- package/dist/_chunks/chunk-FVY3PLG7.js +1 -0
- package/dist/_chunks/chunk-GLAF74UU.js +1 -0
- package/dist/_chunks/chunk-HBDPYWMI.js +1 -0
- package/dist/_chunks/chunk-IYDHDLTR.js +1 -0
- package/dist/_chunks/chunk-K35CWLDH.js +1 -0
- package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
- package/dist/_chunks/chunk-L3QA7FLZ.js +1 -0
- package/dist/_chunks/chunk-LBK42NHW.js +1 -0
- package/dist/_chunks/chunk-MLZ3ZPGU.js +1 -0
- package/dist/_chunks/chunk-NG4BDFEY.js +1 -0
- package/dist/_chunks/chunk-OSO6KRE2.js +1 -0
- package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
- package/dist/_chunks/chunk-QE7O57PQ.js +1 -0
- package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
- package/dist/_chunks/chunk-QK4XPVKT.js +1 -0
- package/dist/_chunks/chunk-ROGOASYF.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-UYKCN5DU.js +1 -0
- package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
- package/dist/_chunks/chunk-XUSVNPR5.js +1 -0
- package/dist/_chunks/component-contract-KXK7WIUI.js +1 -0
- package/dist/_chunks/component-preflight-WECLCZLF.js +1 -0
- package/dist/_chunks/connect-7TJDWXV4.js +1 -0
- package/dist/_chunks/device-management-TLRUMZL5.js +1 -0
- package/dist/_chunks/device-preflight-C7FFUXI2.js +1 -0
- package/dist/_chunks/devices-inventory-BZF53UAU.js +1 -0
- package/dist/_chunks/devices-main-V3YHCB2C.js +1 -0
- package/dist/_chunks/files-JJ6YOULB.js +1 -0
- package/dist/_chunks/host-component-Q5IHRHRI.js +1 -0
- package/dist/_chunks/host-help-7BGYR4ET.js +1 -0
- package/dist/_chunks/host-main-JLIBRHC2.js +1 -0
- package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
- package/dist/_chunks/library-main-ATRFEAVN.js +1 -0
- package/dist/_chunks/local-main-KTYCLHDA.js +1 -0
- package/dist/_chunks/local-mcp-ISMU6ADI.js +1 -0
- package/dist/_chunks/main-MOZS2EK3.js +2 -0
- package/dist/_chunks/mcp-M2SO3J2H.js +1 -0
- package/dist/_chunks/oauth-RPME2XYB.js +1 -0
- package/dist/_chunks/observe-entry-E6DFHIMW.js +1 -0
- package/dist/_chunks/remote-client-T75C45JO.js +1 -0
- package/dist/_chunks/render-main-OGCO2LX4.js +1 -0
- package/dist/_chunks/series-main-FBERVYWG.js +1 -0
- package/dist/_chunks/source-import-55JJ26AA.js +1 -0
- package/dist/_chunks/src-V2K52JDH.js +1 -0
- package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
- package/dist/_chunks/workspace-main-3P56DSEQ.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1981 -22
- package/dist/_types/cli/local/desktop-device-contract.d.ts +807 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +273 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +455 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +787 -4
- package/dist/_types/cli/local/ledger.d.ts +76 -20
- package/dist/_types/cli/local/manager.d.ts +1233 -49
- package/dist/_types/cli/local/mcp-tools.d.ts +313 -54
- package/dist/_types/cli/local/releases.d.ts +30 -7
- package/dist/_types/cli/local-management.d.ts +9 -2
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -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-observation.d.ts +1 -1
- 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 +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- 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/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +30 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
- package/dist/_types/contracts/interface/query.d.ts +60 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -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 +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- 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/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -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 +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -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 +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -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 +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +28 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +78 -25
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- 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 +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- 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 +1934 -96
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/package.json +2 -8
- package/README.md +0 -95
- package/dist/_chunks/chunk-66CUOZVI.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7S3DJ2QE.js +0 -1
- package/dist/_chunks/chunk-BVSTJQJI.js +0 -1
- package/dist/_chunks/chunk-C753RRRA.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
- package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
- package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
- package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/files-FZEK2ZZJ.js +0 -1
- package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
- package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
- package/dist/_chunks/main-VRIQTI6R.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-F7EZGVME.js +0 -1
- package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
- package/dist/_chunks/stdio-main-KOGQ5OWF.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -15,15 +15,22 @@ declare const slotSchema: z.ZodObject<{
|
|
|
15
15
|
win32: "win32";
|
|
16
16
|
}>;
|
|
17
17
|
architecture: z.ZodEnum<{
|
|
18
|
-
x64: "x64";
|
|
19
18
|
arm64: "arm64";
|
|
19
|
+
x64: "x64";
|
|
20
20
|
}>;
|
|
21
21
|
}, z.core.$strict>;
|
|
22
22
|
ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
|
|
23
|
-
workProtocol: z.
|
|
23
|
+
workProtocol: z.ZodEnum<{
|
|
24
|
+
NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
|
|
25
|
+
NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
|
|
26
|
+
}>;
|
|
24
27
|
journalSchema: z.ZodLiteral<1>;
|
|
25
28
|
rendererDigest: z.ZodString;
|
|
26
29
|
profileDigest: z.ZodString;
|
|
30
|
+
compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
|
+
rendererDigest: z.ZodString;
|
|
32
|
+
profileDigest: z.ZodString;
|
|
33
|
+
}, z.core.$strict>>>;
|
|
27
34
|
}, z.core.$strict>;
|
|
28
35
|
toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29
36
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -46,15 +53,22 @@ export declare const installationSchema: z.ZodObject<{
|
|
|
46
53
|
win32: "win32";
|
|
47
54
|
}>;
|
|
48
55
|
architecture: z.ZodEnum<{
|
|
49
|
-
x64: "x64";
|
|
50
56
|
arm64: "arm64";
|
|
57
|
+
x64: "x64";
|
|
51
58
|
}>;
|
|
52
59
|
}, z.core.$strict>;
|
|
53
60
|
ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
|
|
54
|
-
workProtocol: z.
|
|
61
|
+
workProtocol: z.ZodEnum<{
|
|
62
|
+
NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
|
|
63
|
+
NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
|
|
64
|
+
}>;
|
|
55
65
|
journalSchema: z.ZodLiteral<1>;
|
|
56
66
|
rendererDigest: z.ZodString;
|
|
57
67
|
profileDigest: z.ZodString;
|
|
68
|
+
compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
|
+
rendererDigest: z.ZodString;
|
|
70
|
+
profileDigest: z.ZodString;
|
|
71
|
+
}, z.core.$strict>>>;
|
|
58
72
|
}, z.core.$strict>;
|
|
59
73
|
toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
60
74
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -87,15 +101,22 @@ export declare const installationSchema: z.ZodObject<{
|
|
|
87
101
|
win32: "win32";
|
|
88
102
|
}>;
|
|
89
103
|
architecture: z.ZodEnum<{
|
|
90
|
-
x64: "x64";
|
|
91
104
|
arm64: "arm64";
|
|
105
|
+
x64: "x64";
|
|
92
106
|
}>;
|
|
93
107
|
}, z.core.$strict>;
|
|
94
108
|
ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
|
|
95
|
-
workProtocol: z.
|
|
109
|
+
workProtocol: z.ZodEnum<{
|
|
110
|
+
NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
|
|
111
|
+
NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
|
|
112
|
+
}>;
|
|
96
113
|
journalSchema: z.ZodLiteral<1>;
|
|
97
114
|
rendererDigest: z.ZodString;
|
|
98
115
|
profileDigest: z.ZodString;
|
|
116
|
+
compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
+
rendererDigest: z.ZodString;
|
|
118
|
+
profileDigest: z.ZodString;
|
|
119
|
+
}, z.core.$strict>>>;
|
|
99
120
|
}, z.core.$strict>;
|
|
100
121
|
toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
101
122
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -116,15 +137,22 @@ export declare const installationSchema: z.ZodObject<{
|
|
|
116
137
|
win32: "win32";
|
|
117
138
|
}>;
|
|
118
139
|
architecture: z.ZodEnum<{
|
|
119
|
-
x64: "x64";
|
|
120
140
|
arm64: "arm64";
|
|
141
|
+
x64: "x64";
|
|
121
142
|
}>;
|
|
122
143
|
}, z.core.$strict>;
|
|
123
144
|
ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
|
|
124
|
-
workProtocol: z.
|
|
145
|
+
workProtocol: z.ZodEnum<{
|
|
146
|
+
NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
|
|
147
|
+
NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
|
|
148
|
+
}>;
|
|
125
149
|
journalSchema: z.ZodLiteral<1>;
|
|
126
150
|
rendererDigest: z.ZodString;
|
|
127
151
|
profileDigest: z.ZodString;
|
|
152
|
+
compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
rendererDigest: z.ZodString;
|
|
154
|
+
profileDigest: z.ZodString;
|
|
155
|
+
}, z.core.$strict>>>;
|
|
128
156
|
}, z.core.$strict>;
|
|
129
157
|
toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
130
158
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -147,6 +175,8 @@ export declare class InstallationLedger {
|
|
|
147
175
|
readonly root: string;
|
|
148
176
|
private constructor();
|
|
149
177
|
static open(path: string): Promise<InstallationLedger>;
|
|
178
|
+
/** 设备预检只打开已有安装账本,缺少账本时不创建目录。 */
|
|
179
|
+
static openExisting(root: string): Promise<InstallationLedger | null>;
|
|
150
180
|
current(): Promise<{
|
|
151
181
|
value: {
|
|
152
182
|
revision: number;
|
|
@@ -161,13 +191,17 @@ export declare class InstallationLedger {
|
|
|
161
191
|
};
|
|
162
192
|
platform: {
|
|
163
193
|
os: "darwin" | "linux" | "win32";
|
|
164
|
-
architecture: "
|
|
194
|
+
architecture: "arm64" | "x64";
|
|
165
195
|
};
|
|
166
196
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
167
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
197
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
168
198
|
journalSchema: 1;
|
|
169
199
|
rendererDigest: string;
|
|
170
200
|
profileDigest: string;
|
|
201
|
+
compatibleRenderers?: {
|
|
202
|
+
rendererDigest: string;
|
|
203
|
+
profileDigest: string;
|
|
204
|
+
}[] | undefined;
|
|
171
205
|
};
|
|
172
206
|
toolsConfigPath: string | null;
|
|
173
207
|
files: Record<string, string>;
|
|
@@ -188,13 +222,17 @@ export declare class InstallationLedger {
|
|
|
188
222
|
};
|
|
189
223
|
platform: {
|
|
190
224
|
os: "darwin" | "linux" | "win32";
|
|
191
|
-
architecture: "
|
|
225
|
+
architecture: "arm64" | "x64";
|
|
192
226
|
};
|
|
193
227
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
194
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
228
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
195
229
|
journalSchema: 1;
|
|
196
230
|
rendererDigest: string;
|
|
197
231
|
profileDigest: string;
|
|
232
|
+
compatibleRenderers?: {
|
|
233
|
+
rendererDigest: string;
|
|
234
|
+
profileDigest: string;
|
|
235
|
+
}[] | undefined;
|
|
198
236
|
};
|
|
199
237
|
toolsConfigPath: string | null;
|
|
200
238
|
files: Record<string, string>;
|
|
@@ -210,13 +248,17 @@ export declare class InstallationLedger {
|
|
|
210
248
|
};
|
|
211
249
|
platform: {
|
|
212
250
|
os: "darwin" | "linux" | "win32";
|
|
213
|
-
architecture: "
|
|
251
|
+
architecture: "arm64" | "x64";
|
|
214
252
|
};
|
|
215
253
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
216
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
254
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
217
255
|
journalSchema: 1;
|
|
218
256
|
rendererDigest: string;
|
|
219
257
|
profileDigest: string;
|
|
258
|
+
compatibleRenderers?: {
|
|
259
|
+
rendererDigest: string;
|
|
260
|
+
profileDigest: string;
|
|
261
|
+
}[] | undefined;
|
|
220
262
|
};
|
|
221
263
|
toolsConfigPath: string | null;
|
|
222
264
|
files: Record<string, string>;
|
|
@@ -227,6 +269,8 @@ export declare class InstallationLedger {
|
|
|
227
269
|
};
|
|
228
270
|
digest: string | null;
|
|
229
271
|
}>;
|
|
272
|
+
hadCompletedVersion(version: string): Promise<boolean>;
|
|
273
|
+
private load;
|
|
230
274
|
commit(expected: Installation, next: Omit<Installation, "revision">): Promise<{
|
|
231
275
|
revision: number;
|
|
232
276
|
active: {
|
|
@@ -240,13 +284,17 @@ export declare class InstallationLedger {
|
|
|
240
284
|
};
|
|
241
285
|
platform: {
|
|
242
286
|
os: "darwin" | "linux" | "win32";
|
|
243
|
-
architecture: "
|
|
287
|
+
architecture: "arm64" | "x64";
|
|
244
288
|
};
|
|
245
289
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
246
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
290
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
247
291
|
journalSchema: 1;
|
|
248
292
|
rendererDigest: string;
|
|
249
293
|
profileDigest: string;
|
|
294
|
+
compatibleRenderers?: {
|
|
295
|
+
rendererDigest: string;
|
|
296
|
+
profileDigest: string;
|
|
297
|
+
}[] | undefined;
|
|
250
298
|
};
|
|
251
299
|
toolsConfigPath: string | null;
|
|
252
300
|
files: Record<string, string>;
|
|
@@ -267,13 +315,17 @@ export declare class InstallationLedger {
|
|
|
267
315
|
};
|
|
268
316
|
platform: {
|
|
269
317
|
os: "darwin" | "linux" | "win32";
|
|
270
|
-
architecture: "
|
|
318
|
+
architecture: "arm64" | "x64";
|
|
271
319
|
};
|
|
272
320
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
273
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
321
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
274
322
|
journalSchema: 1;
|
|
275
323
|
rendererDigest: string;
|
|
276
324
|
profileDigest: string;
|
|
325
|
+
compatibleRenderers?: {
|
|
326
|
+
rendererDigest: string;
|
|
327
|
+
profileDigest: string;
|
|
328
|
+
}[] | undefined;
|
|
277
329
|
};
|
|
278
330
|
toolsConfigPath: string | null;
|
|
279
331
|
files: Record<string, string>;
|
|
@@ -289,13 +341,17 @@ export declare class InstallationLedger {
|
|
|
289
341
|
};
|
|
290
342
|
platform: {
|
|
291
343
|
os: "darwin" | "linux" | "win32";
|
|
292
|
-
architecture: "
|
|
344
|
+
architecture: "arm64" | "x64";
|
|
293
345
|
};
|
|
294
346
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
295
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
347
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
296
348
|
journalSchema: 1;
|
|
297
349
|
rendererDigest: string;
|
|
298
350
|
profileDigest: string;
|
|
351
|
+
compatibleRenderers?: {
|
|
352
|
+
rendererDigest: string;
|
|
353
|
+
profileDigest: string;
|
|
354
|
+
}[] | undefined;
|
|
299
355
|
};
|
|
300
356
|
toolsConfigPath: string | null;
|
|
301
357
|
files: Record<string, string>;
|