@nativestudio/cli 0.0.0-stage → 0.3.0-rc.1

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.
Files changed (206) hide show
  1. package/COMPATIBILITY.json +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +77 -2
  4. package/components/runtime.json +6 -0
  5. package/components/runtime.tgz +0 -0
  6. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  7. package/dist/_chunks/chunk-25EDDZQA.js +1 -0
  8. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  9. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  10. package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
  11. package/dist/_chunks/chunk-EAZKDCLD.js +1 -0
  12. package/dist/_chunks/chunk-G42IS5JF.js +1 -0
  13. package/dist/_chunks/chunk-GIEYSDCG.js +1 -0
  14. package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
  15. package/dist/_chunks/chunk-HLKERZIE.js +1 -0
  16. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  17. package/dist/_chunks/chunk-MSOMVWKN.js +1 -0
  18. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  19. package/dist/_chunks/chunk-QC7RLTGU.js +1 -0
  20. package/dist/_chunks/chunk-RUMDDTON.js +1 -0
  21. package/dist/_chunks/chunk-U2UKGYGF.js +1 -0
  22. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  23. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  24. package/dist/_chunks/files-TBJVDQWU.js +1 -0
  25. package/dist/_chunks/local-main-SOERK22D.js +1 -0
  26. package/dist/_chunks/local-mcp-JLPXXIDW.js +1 -0
  27. package/dist/_chunks/main-4SNF5EKE.js +2 -0
  28. package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
  29. package/dist/_chunks/oauth-257CEUQH.js +1 -0
  30. package/dist/_chunks/project-connect-6MH2QG6G.js +1 -0
  31. package/dist/_chunks/src-7F6ZEU3U.js +1 -0
  32. package/dist/_chunks/stdio-main-JEADWO7U.js +1 -0
  33. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  34. package/dist/_types/cli/local/desktop-contract.d.ts +208 -0
  35. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  36. package/dist/_types/cli/local/desktop-owner.d.ts +32 -0
  37. package/dist/_types/cli/local/ledger.d.ts +309 -0
  38. package/dist/_types/cli/local/manager.d.ts +592 -0
  39. package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
  40. package/dist/_types/cli/local/releases.d.ts +100 -0
  41. package/dist/_types/cli/local-management.d.ts +11 -0
  42. package/dist/_types/cli/local-navigation.d.ts +3 -0
  43. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  44. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  45. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  46. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  47. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  48. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  49. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  50. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  51. package/dist/_types/contracts/agent-host.d.ts +226 -0
  52. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  53. package/dist/_types/contracts/artifact.d.ts +188 -0
  54. package/dist/_types/contracts/audio.d.ts +331 -0
  55. package/dist/_types/contracts/brief.d.ts +178 -0
  56. package/dist/_types/contracts/caption-render.d.ts +20 -0
  57. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  58. package/dist/_types/contracts/captions.d.ts +420 -0
  59. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  60. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  61. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  62. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  63. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  64. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  65. package/dist/_types/contracts/composition-making.d.ts +390 -0
  66. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  67. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  68. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  69. package/dist/_types/contracts/composition-render.d.ts +406 -0
  70. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  71. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  72. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  73. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  74. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  75. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  76. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  77. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  78. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  79. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  80. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  81. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  82. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  83. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  84. package/dist/_types/contracts/final-ready.d.ts +301 -0
  85. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  86. package/dist/_types/contracts/final-render.d.ts +8181 -0
  87. package/dist/_types/contracts/foundation.d.ts +1 -0
  88. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  89. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  90. package/dist/_types/contracts/health.d.ts +6 -0
  91. package/dist/_types/contracts/human-identity.d.ts +149 -0
  92. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  93. package/dist/_types/contracts/ids.d.ts +41 -0
  94. package/dist/_types/contracts/index.d.ts +122 -0
  95. package/dist/_types/contracts/interface/common.d.ts +56 -0
  96. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  97. package/dist/_types/contracts/interface/index.d.ts +7 -0
  98. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  99. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  100. package/dist/_types/contracts/interface/output.d.ts +15 -0
  101. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  102. package/dist/_types/contracts/interface/query.d.ts +315 -0
  103. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  104. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  105. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  106. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  107. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  108. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  109. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  110. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  111. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  112. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  113. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  114. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  115. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  116. package/dist/_types/contracts/local-execution/lifecycle.d.ts +319 -0
  117. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  118. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  119. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  120. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  121. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  122. package/dist/_types/contracts/media-export.d.ts +23 -0
  123. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  124. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  125. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  126. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  127. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  128. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  129. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  130. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  131. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  132. package/dist/_types/contracts/navigation.d.ts +238 -0
  133. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  134. package/dist/_types/contracts/planning-input.d.ts +177 -0
  135. package/dist/_types/contracts/principal.d.ts +26 -0
  136. package/dist/_types/contracts/production-creation.d.ts +66 -0
  137. package/dist/_types/contracts/production-termination.d.ts +51 -0
  138. package/dist/_types/contracts/production.d.ts +111 -0
  139. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  140. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  141. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  142. package/dist/_types/contracts/project-library.d.ts +173 -0
  143. package/dist/_types/contracts/project.d.ts +93 -0
  144. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  145. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  146. package/dist/_types/contracts/provider.d.ts +142 -0
  147. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  148. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  149. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  150. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  151. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  152. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  153. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  154. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  155. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  156. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  159. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  160. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  161. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  162. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  163. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  164. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  165. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  166. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  167. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  168. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  169. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  170. package/dist/_types/contracts/speech.d.ts +424 -0
  171. package/dist/_types/contracts/story.d.ts +98 -0
  172. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  173. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  174. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  175. package/dist/_types/contracts/tenant.d.ts +7 -0
  176. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  177. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  178. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  179. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  180. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  181. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  182. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  183. package/dist/_types/contracts/timeline.d.ts +4942 -0
  184. package/dist/_types/contracts/transcription.d.ts +80 -0
  185. package/dist/_types/contracts/video-generation.d.ts +643 -0
  186. package/dist/_types/contracts/video-review.d.ts +1871 -0
  187. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  188. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  189. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  190. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  191. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  192. package/dist/_types/sdk/errors.d.ts +9 -0
  193. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  194. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  195. package/dist/entry.js +2 -0
  196. package/dist/local-management.d.ts +1 -0
  197. package/dist/local-management.js +1 -0
  198. package/dist/local-navigation.d.ts +1 -0
  199. package/dist/local-navigation.js +1 -0
  200. package/dist/native/Bootstrap.ps1 +90 -0
  201. package/dist/native/JobNative.cs +127 -0
  202. package/dist/native/JobRunner.cs +360 -0
  203. package/dist/native/NativeMain.cs +146 -0
  204. package/dist/native/PipeBridge.cs +260 -0
  205. package/dist/native/PrivateAccess.cs +152 -0
  206. package/package.json +33 -3
@@ -0,0 +1,309 @@
1
+ import { z } from "zod";
2
+ declare const slotSchema: z.ZodObject<{
3
+ id: z.ZodUUID;
4
+ descriptor: z.ZodObject<{
5
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
6
+ version: z.ZodString;
7
+ node: z.ZodObject<{
8
+ major: z.ZodLiteral<24>;
9
+ minMinor: z.ZodLiteral<12>;
10
+ }, z.core.$strict>;
11
+ platform: z.ZodObject<{
12
+ os: z.ZodEnum<{
13
+ darwin: "darwin";
14
+ linux: "linux";
15
+ win32: "win32";
16
+ }>;
17
+ architecture: z.ZodEnum<{
18
+ x64: "x64";
19
+ arm64: "arm64";
20
+ }>;
21
+ }, z.core.$strict>;
22
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
23
+ workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
24
+ journalSchema: z.ZodLiteral<1>;
25
+ rendererDigest: z.ZodString;
26
+ profileDigest: z.ZodString;
27
+ }, z.core.$strict>;
28
+ toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
29
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
30
+ }, z.core.$strict>;
31
+ export declare const installationSchema: z.ZodObject<{
32
+ revision: z.ZodInt;
33
+ active: z.ZodNullable<z.ZodObject<{
34
+ id: z.ZodUUID;
35
+ descriptor: z.ZodObject<{
36
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
37
+ version: z.ZodString;
38
+ node: z.ZodObject<{
39
+ major: z.ZodLiteral<24>;
40
+ minMinor: z.ZodLiteral<12>;
41
+ }, z.core.$strict>;
42
+ platform: z.ZodObject<{
43
+ os: z.ZodEnum<{
44
+ darwin: "darwin";
45
+ linux: "linux";
46
+ win32: "win32";
47
+ }>;
48
+ architecture: z.ZodEnum<{
49
+ x64: "x64";
50
+ arm64: "arm64";
51
+ }>;
52
+ }, z.core.$strict>;
53
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
54
+ workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
55
+ journalSchema: z.ZodLiteral<1>;
56
+ rendererDigest: z.ZodString;
57
+ profileDigest: z.ZodString;
58
+ }, z.core.$strict>;
59
+ toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
60
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
61
+ }, z.core.$strict>>;
62
+ transition: z.ZodNullable<z.ZodObject<{
63
+ id: z.ZodUUID;
64
+ planId: z.ZodUUID;
65
+ fingerprint: z.ZodString;
66
+ phase: z.ZodEnum<{
67
+ DRAINING: "DRAINING";
68
+ STAGED: "STAGED";
69
+ STAGING: "STAGING";
70
+ ACTIVATING: "ACTIVATING";
71
+ VERIFYING: "VERIFYING";
72
+ ROLLBACK_REQUIRED: "ROLLBACK_REQUIRED";
73
+ }>;
74
+ previous: z.ZodNullable<z.ZodObject<{
75
+ id: z.ZodUUID;
76
+ descriptor: z.ZodObject<{
77
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
78
+ version: z.ZodString;
79
+ node: z.ZodObject<{
80
+ major: z.ZodLiteral<24>;
81
+ minMinor: z.ZodLiteral<12>;
82
+ }, z.core.$strict>;
83
+ platform: z.ZodObject<{
84
+ os: z.ZodEnum<{
85
+ darwin: "darwin";
86
+ linux: "linux";
87
+ win32: "win32";
88
+ }>;
89
+ architecture: z.ZodEnum<{
90
+ x64: "x64";
91
+ arm64: "arm64";
92
+ }>;
93
+ }, z.core.$strict>;
94
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
95
+ workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
96
+ journalSchema: z.ZodLiteral<1>;
97
+ rendererDigest: z.ZodString;
98
+ profileDigest: z.ZodString;
99
+ }, z.core.$strict>;
100
+ toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
101
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
102
+ }, z.core.$strict>>;
103
+ candidate: z.ZodNullable<z.ZodObject<{
104
+ id: z.ZodUUID;
105
+ descriptor: z.ZodObject<{
106
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
107
+ version: z.ZodString;
108
+ node: z.ZodObject<{
109
+ major: z.ZodLiteral<24>;
110
+ minMinor: z.ZodLiteral<12>;
111
+ }, z.core.$strict>;
112
+ platform: z.ZodObject<{
113
+ os: z.ZodEnum<{
114
+ darwin: "darwin";
115
+ linux: "linux";
116
+ win32: "win32";
117
+ }>;
118
+ architecture: z.ZodEnum<{
119
+ x64: "x64";
120
+ arm64: "arm64";
121
+ }>;
122
+ }, z.core.$strict>;
123
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
124
+ workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
125
+ journalSchema: z.ZodLiteral<1>;
126
+ rendererDigest: z.ZodString;
127
+ profileDigest: z.ZodString;
128
+ }, z.core.$strict>;
129
+ toolsConfigPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
130
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
131
+ }, z.core.$strict>>;
132
+ backupPath: z.ZodNullable<z.ZodString>;
133
+ failedPhase: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
134
+ DRAINING: "DRAINING";
135
+ STAGED: "STAGED";
136
+ STAGING: "STAGING";
137
+ ACTIVATING: "ACTIVATING";
138
+ VERIFYING: "VERIFYING";
139
+ ROLLBACK_REQUIRED: "ROLLBACK_REQUIRED";
140
+ }>>>;
141
+ }, z.core.$strict>>;
142
+ }, z.core.$strict>;
143
+ export type Installation = z.infer<typeof installationSchema>;
144
+ export type Slot = z.infer<typeof slotSchema>;
145
+ /** Immutable, create-if-absent revision records make CAS independent of stale PID locks. */
146
+ export declare class InstallationLedger {
147
+ readonly root: string;
148
+ private constructor();
149
+ static open(path: string): Promise<InstallationLedger>;
150
+ current(): Promise<{
151
+ value: {
152
+ revision: number;
153
+ active: {
154
+ id: string;
155
+ descriptor: {
156
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
157
+ version: string;
158
+ node: {
159
+ major: 24;
160
+ minMinor: 12;
161
+ };
162
+ platform: {
163
+ os: "darwin" | "linux" | "win32";
164
+ architecture: "x64" | "arm64";
165
+ };
166
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
167
+ workProtocol: "NVS_LOCAL_WORK_V1";
168
+ journalSchema: 1;
169
+ rendererDigest: string;
170
+ profileDigest: string;
171
+ };
172
+ toolsConfigPath: string | null;
173
+ files: Record<string, string>;
174
+ } | null;
175
+ transition: {
176
+ id: string;
177
+ planId: string;
178
+ fingerprint: string;
179
+ phase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED";
180
+ previous: {
181
+ id: string;
182
+ descriptor: {
183
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
184
+ version: string;
185
+ node: {
186
+ major: 24;
187
+ minMinor: 12;
188
+ };
189
+ platform: {
190
+ os: "darwin" | "linux" | "win32";
191
+ architecture: "x64" | "arm64";
192
+ };
193
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
194
+ workProtocol: "NVS_LOCAL_WORK_V1";
195
+ journalSchema: 1;
196
+ rendererDigest: string;
197
+ profileDigest: string;
198
+ };
199
+ toolsConfigPath: string | null;
200
+ files: Record<string, string>;
201
+ } | null;
202
+ candidate: {
203
+ id: string;
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";
217
+ journalSchema: 1;
218
+ rendererDigest: string;
219
+ profileDigest: string;
220
+ };
221
+ toolsConfigPath: string | null;
222
+ files: Record<string, string>;
223
+ } | null;
224
+ backupPath: string | null;
225
+ failedPhase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED" | null;
226
+ } | null;
227
+ };
228
+ digest: string | null;
229
+ }>;
230
+ commit(expected: Installation, next: Omit<Installation, "revision">): Promise<{
231
+ revision: number;
232
+ active: {
233
+ id: string;
234
+ descriptor: {
235
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
236
+ version: string;
237
+ node: {
238
+ major: 24;
239
+ minMinor: 12;
240
+ };
241
+ platform: {
242
+ os: "darwin" | "linux" | "win32";
243
+ architecture: "x64" | "arm64";
244
+ };
245
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
246
+ workProtocol: "NVS_LOCAL_WORK_V1";
247
+ journalSchema: 1;
248
+ rendererDigest: string;
249
+ profileDigest: string;
250
+ };
251
+ toolsConfigPath: string | null;
252
+ files: Record<string, string>;
253
+ } | null;
254
+ transition: {
255
+ id: string;
256
+ planId: string;
257
+ fingerprint: string;
258
+ phase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED";
259
+ previous: {
260
+ id: string;
261
+ descriptor: {
262
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
263
+ version: string;
264
+ node: {
265
+ major: 24;
266
+ minMinor: 12;
267
+ };
268
+ platform: {
269
+ os: "darwin" | "linux" | "win32";
270
+ architecture: "x64" | "arm64";
271
+ };
272
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
273
+ workProtocol: "NVS_LOCAL_WORK_V1";
274
+ journalSchema: 1;
275
+ rendererDigest: string;
276
+ profileDigest: string;
277
+ };
278
+ toolsConfigPath: string | null;
279
+ files: Record<string, string>;
280
+ } | null;
281
+ candidate: {
282
+ id: string;
283
+ descriptor: {
284
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
285
+ version: string;
286
+ node: {
287
+ major: 24;
288
+ minMinor: 12;
289
+ };
290
+ platform: {
291
+ os: "darwin" | "linux" | "win32";
292
+ architecture: "x64" | "arm64";
293
+ };
294
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
295
+ workProtocol: "NVS_LOCAL_WORK_V1";
296
+ journalSchema: 1;
297
+ rendererDigest: string;
298
+ profileDigest: string;
299
+ };
300
+ toolsConfigPath: string | null;
301
+ files: Record<string, string>;
302
+ } | null;
303
+ backupPath: string | null;
304
+ failedPhase: "DRAINING" | "STAGED" | "STAGING" | "ACTIVATING" | "VERIFYING" | "ROLLBACK_REQUIRED" | null;
305
+ } | null;
306
+ }>;
307
+ slotPath(slot: Slot): string;
308
+ }
309
+ export {};