@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.14

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 (217) hide show
  1. package/COMPATIBILITY.json +37 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +33 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
  8. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  9. package/dist/_chunks/chunk-6LY4JYSG.js +1 -0
  10. package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
  11. package/dist/_chunks/chunk-77IAHNM2.js +1 -0
  12. package/dist/_chunks/chunk-C62JAWRQ.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  15. package/dist/_chunks/chunk-HY7NXJYX.js +1 -0
  16. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  17. package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
  18. package/dist/_chunks/chunk-RDIMORUT.js +1 -0
  19. package/dist/_chunks/chunk-RK2P3UVF.js +1 -0
  20. package/dist/_chunks/chunk-ROBBF33U.js +1 -0
  21. package/dist/_chunks/chunk-S74X4KIC.js +1 -0
  22. package/dist/_chunks/chunk-SV3NF7GO.js +1 -0
  23. package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
  24. package/dist/_chunks/chunk-U7ECMITP.js +1 -0
  25. package/dist/_chunks/chunk-VD3OQ743.js +1 -0
  26. package/dist/_chunks/chunk-VKLS4QK5.js +1 -0
  27. package/dist/_chunks/chunk-W6C63ZN7.js +1 -0
  28. package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
  29. package/dist/_chunks/connect-6UH7ZFAC.js +1 -0
  30. package/dist/_chunks/device-management-H3NIDIPY.js +1 -0
  31. package/dist/_chunks/device-preflight-LHFLPVAB.js +1 -0
  32. package/dist/_chunks/devices-inventory-I2E3Q4DA.js +1 -0
  33. package/dist/_chunks/devices-main-VV2VYU4T.js +1 -0
  34. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  35. package/dist/_chunks/host-main-3JFGVU5P.js +1 -0
  36. package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
  37. package/dist/_chunks/library-main-CTBW7DAI.js +1 -0
  38. package/dist/_chunks/local-main-227MNGEC.js +1 -0
  39. package/dist/_chunks/local-mcp-XB6E3V2W.js +1 -0
  40. package/dist/_chunks/main-W6NNZFLK.js +2 -0
  41. package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
  42. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  43. package/dist/_chunks/render-main-VTM6WGFP.js +1 -0
  44. package/dist/_chunks/source-import-KKV2UWJO.js +1 -0
  45. package/dist/_chunks/src-OIY5TBQT.js +1 -0
  46. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-Y7N4NVKU.js} +1 -1
  47. package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
  48. package/dist/_types/cli/local/desktop-contract.d.ts +2027 -1
  49. package/dist/_types/cli/local/desktop-device-contract.d.ts +792 -0
  50. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  51. package/dist/_types/cli/local/desktop-device-owner.d.ts +270 -0
  52. package/dist/_types/cli/local/desktop-device-state.d.ts +449 -0
  53. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  54. package/dist/_types/cli/local/desktop-owner.d.ts +784 -1
  55. package/dist/_types/cli/local/ledger.d.ts +74 -20
  56. package/dist/_types/cli/local/manager.d.ts +1255 -49
  57. package/dist/_types/cli/local/mcp-tools.d.ts +296 -54
  58. package/dist/_types/cli/local/releases.d.ts +30 -7
  59. package/dist/_types/cli/local-management.d.ts +8 -0
  60. package/dist/_types/cli/local-navigation.d.ts +1 -0
  61. package/dist/_types/contracts/artifact-discovery.d.ts +136 -4
  62. package/dist/_types/contracts/audio.d.ts +166 -0
  63. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  64. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  65. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  66. package/dist/_types/contracts/composition-render.d.ts +8 -8
  67. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  68. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  69. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  70. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  71. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  72. package/dist/_types/contracts/delivery-operations.d.ts +201 -3909
  73. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  74. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  75. package/dist/_types/contracts/device-render.d.ts +79 -0
  76. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  77. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  78. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  79. package/dist/_types/contracts/final-ready.d.ts +22 -22
  80. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  81. package/dist/_types/contracts/human-identity.d.ts +13 -0
  82. package/dist/_types/contracts/human-links.d.ts +58 -0
  83. package/dist/_types/contracts/index.d.ts +10 -0
  84. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  85. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  86. package/dist/_types/contracts/interface/production-snapshot.d.ts +75 -193
  87. package/dist/_types/contracts/interface/query.d.ts +60 -0
  88. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  89. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  90. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  91. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  92. package/dist/_types/contracts/local-execution/agent-review.d.ts +522 -64
  93. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  94. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  95. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  96. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  97. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  98. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  99. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  100. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  101. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  102. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  103. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  104. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  105. package/dist/_types/contracts/local-execution/device.d.ts +22 -54
  106. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  107. package/dist/_types/contracts/local-execution/index.d.ts +32 -0
  108. package/dist/_types/contracts/local-execution/ipc.d.ts +2774 -230
  109. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  110. package/dist/_types/contracts/local-execution/library-result.d.ts +424 -0
  111. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  112. package/dist/_types/contracts/local-execution/lifecycle.d.ts +289 -47
  113. package/dist/_types/contracts/local-execution/local-navigation.d.ts +285 -65
  114. package/dist/_types/contracts/local-execution/management.d.ts +404 -0
  115. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  116. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  117. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  118. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  119. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  120. package/dist/_types/contracts/local-execution/preview.d.ts +176 -3561
  121. package/dist/_types/contracts/local-execution/processor-capability.d.ts +41 -0
  122. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  123. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1165 -0
  124. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  125. package/dist/_types/contracts/local-execution/processor.d.ts +6354 -0
  126. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  127. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  128. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  129. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  130. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  131. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  132. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  133. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  134. package/dist/_types/contracts/media-category.d.ts +11 -0
  135. package/dist/_types/contracts/media-observation.d.ts +929 -8
  136. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  137. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  138. package/dist/_types/contracts/navigation-context.d.ts +2 -2
  139. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  140. package/dist/_types/contracts/navigation.d.ts +60 -20
  141. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  142. package/dist/_types/contracts/production-creation.d.ts +30 -0
  143. package/dist/_types/contracts/production.d.ts +30 -0
  144. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  145. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  146. package/dist/_types/contracts/project-library.d.ts +30 -0
  147. package/dist/_types/contracts/project.d.ts +30 -0
  148. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  149. package/dist/_types/contracts/provider-models.d.ts +209 -8
  150. package/dist/_types/contracts/provider.d.ts +66 -1
  151. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  152. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  153. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  154. package/dist/_types/contracts/repair-strategy.d.ts +164 -4479
  155. package/dist/_types/contracts/review-intelligence-final-output.d.ts +417 -8149
  156. package/dist/_types/contracts/review-intelligence.d.ts +452 -11420
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  159. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  160. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  161. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  162. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  163. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  164. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  165. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  166. package/dist/_types/contracts/speech.d.ts +602 -22
  167. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  168. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  169. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  170. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  171. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  172. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  173. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  174. package/dist/_types/contracts/timeline.d.ts +50 -4850
  175. package/dist/_types/contracts/transcription.d.ts +1 -1
  176. package/dist/_types/contracts/video-generation.d.ts +33 -0
  177. package/dist/_types/contracts/visual-exploration.d.ts +1 -1
  178. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  179. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  180. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  181. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  182. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  183. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  184. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  185. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  186. package/dist/_types/contracts/workspace.d.ts +62 -0
  187. package/dist/_types/sdk/errors.d.ts +8 -3
  188. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  189. package/dist/_types/sdk/local-runtime/device-client.d.ts +180 -18
  190. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  191. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  192. package/dist/_types/sdk/local-runtime-client.d.ts +1917 -92
  193. package/dist/entry.js +1 -1
  194. package/dist/local-management.js +1 -1
  195. package/dist/local-navigation.js +1 -1
  196. package/dist/native/JobNative.cs +10 -0
  197. package/dist/native/JobRunner.cs +24 -3
  198. package/dist/native/NativeMain.cs +15 -0
  199. package/package.json +2 -8
  200. package/README.md +0 -78
  201. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  202. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  203. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  204. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  205. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  206. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  207. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  208. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  209. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  210. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  211. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  212. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  213. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  214. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  215. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  216. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  217. 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;
@@ -93,23 +130,28 @@ export declare class LocalInstallationManager {
93
130
  };
94
131
  platform: {
95
132
  os: "darwin" | "linux" | "win32";
96
- architecture: "x64" | "arm64";
133
+ architecture: "arm64" | "x64";
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;
113
155
  release: {
114
156
  descriptor: {
115
157
  protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
@@ -120,13 +162,17 @@ export declare class LocalInstallationManager {
120
162
  };
121
163
  platform: {
122
164
  os: "darwin" | "linux" | "win32";
123
- architecture: "x64" | "arm64";
165
+ architecture: "arm64" | "x64";
124
166
  };
125
167
  ipcProtocol: "NVS_LOCAL_IPC_V1";
126
- workProtocol: "NVS_LOCAL_WORK_V1";
168
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
127
169
  journalSchema: 1;
128
170
  rendererDigest: string;
129
171
  profileDigest: string;
172
+ compatibleRenderers?: {
173
+ rendererDigest: string;
174
+ profileDigest: string;
175
+ }[] | undefined;
130
176
  };
131
177
  package: {
132
178
  url: string;
@@ -147,17 +193,270 @@ export declare class LocalInstallationManager {
147
193
  sha256: string;
148
194
  };
149
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: "arm64" | "x64";
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;
150
251
  };
151
252
  fingerprint: string;
152
253
  createdAt: string;
153
254
  expiresAt: string;
255
+ trustFingerprint?: string | undefined;
256
+ toolSelection?: {
257
+ mode: "MANAGED";
258
+ cpuSpeech?: {
259
+ engineDirectory: string;
260
+ modelDirectory: string;
261
+ voiceIds: number[];
262
+ } | undefined;
263
+ reuseMedia?: {
264
+ schemaVersion: 1;
265
+ ffmpeg: {
266
+ path: string;
267
+ digest: string;
268
+ };
269
+ ffprobe: {
270
+ path: string;
271
+ digest: string;
272
+ };
273
+ } | undefined;
274
+ } | {
275
+ ffmpeg: {
276
+ path: string;
277
+ digest: string;
278
+ };
279
+ ffprobe: {
280
+ path: string;
281
+ digest: string;
282
+ };
283
+ mode: "INSTALLED";
284
+ compositionBrowser?: {
285
+ path: string;
286
+ digest: string;
287
+ } | undefined;
288
+ whisper?: {
289
+ binaryPath: string;
290
+ binarySha256: string;
291
+ modelPath: string;
292
+ } | undefined;
293
+ cpuSpeech?: {
294
+ engineDirectory: string;
295
+ modelDirectory: string;
296
+ voiceIds: number[];
297
+ } | undefined;
298
+ captionAssetsDirectory?: string | undefined;
299
+ } | undefined;
300
+ }>;
301
+ /** CLI 自带代码进入同一安装账本,不要求单独执行代码渠道。 */
302
+ prepareBundled(version: string, choice?: unknown): Promise<{
303
+ protocol: "NVS_LOCAL_UPDATE_PLAN_V1";
304
+ planId: string;
305
+ installationRevision: number;
306
+ runtimeRevision: number | null;
307
+ catalogueFingerprint: string | null;
308
+ release: {
309
+ descriptor: {
310
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
311
+ version: string;
312
+ node: {
313
+ major: 24;
314
+ minMinor: 12;
315
+ };
316
+ platform: {
317
+ os: "darwin" | "linux" | "win32";
318
+ architecture: "arm64" | "x64";
319
+ };
320
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
321
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
322
+ journalSchema: 1;
323
+ rendererDigest: string;
324
+ profileDigest: string;
325
+ compatibleRenderers?: {
326
+ rendererDigest: string;
327
+ profileDigest: string;
328
+ }[] | undefined;
329
+ };
330
+ package: {
331
+ url: string;
332
+ byteSize: number;
333
+ sha512: string;
334
+ };
335
+ tools: {
336
+ ffmpeg: {
337
+ url: string;
338
+ byteSize: number;
339
+ sha512: string;
340
+ sha256: string;
341
+ };
342
+ ffprobe: {
343
+ url: string;
344
+ byteSize: number;
345
+ sha512: string;
346
+ sha256: string;
347
+ };
348
+ } | null;
349
+ resources?: {
350
+ captions: {
351
+ url: string;
352
+ sha512: string;
353
+ byteSize: number;
354
+ };
355
+ } | undefined;
356
+ } | {
357
+ descriptor: {
358
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
359
+ version: string;
360
+ node: {
361
+ major: 24;
362
+ minMinor: 12;
363
+ };
364
+ platform: {
365
+ os: "darwin" | "linux" | "win32";
366
+ architecture: "arm64" | "x64";
367
+ };
368
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
369
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
370
+ journalSchema: 1;
371
+ rendererDigest: string;
372
+ profileDigest: string;
373
+ compatibleRenderers?: {
374
+ rendererDigest: string;
375
+ profileDigest: string;
376
+ }[] | undefined;
377
+ };
378
+ tools: {
379
+ ffmpeg: {
380
+ url: string;
381
+ byteSize: number;
382
+ sha512: string;
383
+ sha256: string;
384
+ };
385
+ ffprobe: {
386
+ url: string;
387
+ byteSize: number;
388
+ sha512: string;
389
+ sha256: string;
390
+ };
391
+ } | null;
392
+ package: {
393
+ byteSize: number;
394
+ sha512: string;
395
+ source: "CLI";
396
+ };
397
+ resources?: {
398
+ captions: {
399
+ url: string;
400
+ sha512: string;
401
+ byteSize: number;
402
+ };
403
+ } | undefined;
404
+ };
405
+ fingerprint: string;
406
+ createdAt: string;
407
+ expiresAt: string;
408
+ trustFingerprint?: string | undefined;
409
+ toolSelection?: {
410
+ mode: "MANAGED";
411
+ cpuSpeech?: {
412
+ engineDirectory: string;
413
+ modelDirectory: string;
414
+ voiceIds: number[];
415
+ } | undefined;
416
+ reuseMedia?: {
417
+ schemaVersion: 1;
418
+ ffmpeg: {
419
+ path: string;
420
+ digest: string;
421
+ };
422
+ ffprobe: {
423
+ path: string;
424
+ digest: string;
425
+ };
426
+ } | undefined;
427
+ } | {
428
+ ffmpeg: {
429
+ path: string;
430
+ digest: string;
431
+ };
432
+ ffprobe: {
433
+ path: string;
434
+ digest: string;
435
+ };
436
+ mode: "INSTALLED";
437
+ compositionBrowser?: {
438
+ path: string;
439
+ digest: string;
440
+ } | undefined;
441
+ whisper?: {
442
+ binaryPath: string;
443
+ binarySha256: string;
444
+ modelPath: string;
445
+ } | undefined;
446
+ cpuSpeech?: {
447
+ engineDirectory: string;
448
+ modelDirectory: string;
449
+ voiceIds: number[];
450
+ } | undefined;
451
+ captionAssetsDirectory?: string | undefined;
452
+ } | undefined;
154
453
  }>;
155
454
  plan(id: string): Promise<{
156
455
  protocol: "NVS_LOCAL_UPDATE_PLAN_V1";
157
456
  planId: string;
158
457
  installationRevision: number;
159
458
  runtimeRevision: number | null;
160
- catalogueFingerprint: string;
459
+ catalogueFingerprint: string | null;
161
460
  release: {
162
461
  descriptor: {
163
462
  protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
@@ -168,13 +467,17 @@ export declare class LocalInstallationManager {
168
467
  };
169
468
  platform: {
170
469
  os: "darwin" | "linux" | "win32";
171
- architecture: "x64" | "arm64";
470
+ architecture: "arm64" | "x64";
172
471
  };
173
472
  ipcProtocol: "NVS_LOCAL_IPC_V1";
174
- workProtocol: "NVS_LOCAL_WORK_V1";
473
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
175
474
  journalSchema: 1;
176
475
  rendererDigest: string;
177
476
  profileDigest: string;
477
+ compatibleRenderers?: {
478
+ rendererDigest: string;
479
+ profileDigest: string;
480
+ }[] | undefined;
178
481
  };
179
482
  package: {
180
483
  url: string;
@@ -195,10 +498,110 @@ export declare class LocalInstallationManager {
195
498
  sha256: string;
196
499
  };
197
500
  } | null;
501
+ resources?: {
502
+ captions: {
503
+ url: string;
504
+ sha512: string;
505
+ byteSize: number;
506
+ };
507
+ } | undefined;
508
+ } | {
509
+ descriptor: {
510
+ protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
511
+ version: string;
512
+ node: {
513
+ major: 24;
514
+ minMinor: 12;
515
+ };
516
+ platform: {
517
+ os: "darwin" | "linux" | "win32";
518
+ architecture: "arm64" | "x64";
519
+ };
520
+ ipcProtocol: "NVS_LOCAL_IPC_V1";
521
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
522
+ journalSchema: 1;
523
+ rendererDigest: string;
524
+ profileDigest: string;
525
+ compatibleRenderers?: {
526
+ rendererDigest: string;
527
+ profileDigest: string;
528
+ }[] | undefined;
529
+ };
530
+ tools: {
531
+ ffmpeg: {
532
+ url: string;
533
+ byteSize: number;
534
+ sha512: string;
535
+ sha256: string;
536
+ };
537
+ ffprobe: {
538
+ url: string;
539
+ byteSize: number;
540
+ sha512: string;
541
+ sha256: string;
542
+ };
543
+ } | null;
544
+ package: {
545
+ byteSize: number;
546
+ sha512: string;
547
+ source: "CLI";
548
+ };
549
+ resources?: {
550
+ captions: {
551
+ url: string;
552
+ sha512: string;
553
+ byteSize: number;
554
+ };
555
+ } | undefined;
198
556
  };
199
557
  fingerprint: string;
200
558
  createdAt: string;
201
559
  expiresAt: string;
560
+ trustFingerprint?: string | undefined;
561
+ toolSelection?: {
562
+ mode: "MANAGED";
563
+ cpuSpeech?: {
564
+ engineDirectory: string;
565
+ modelDirectory: string;
566
+ voiceIds: number[];
567
+ } | undefined;
568
+ reuseMedia?: {
569
+ schemaVersion: 1;
570
+ ffmpeg: {
571
+ path: string;
572
+ digest: string;
573
+ };
574
+ ffprobe: {
575
+ path: string;
576
+ digest: string;
577
+ };
578
+ } | undefined;
579
+ } | {
580
+ ffmpeg: {
581
+ path: string;
582
+ digest: string;
583
+ };
584
+ ffprobe: {
585
+ path: string;
586
+ digest: string;
587
+ };
588
+ mode: "INSTALLED";
589
+ compositionBrowser?: {
590
+ path: string;
591
+ digest: string;
592
+ } | undefined;
593
+ whisper?: {
594
+ binaryPath: string;
595
+ binarySha256: string;
596
+ modelPath: string;
597
+ } | undefined;
598
+ cpuSpeech?: {
599
+ engineDirectory: string;
600
+ modelDirectory: string;
601
+ voiceIds: number[];
602
+ } | undefined;
603
+ captionAssetsDirectory?: string | undefined;
604
+ } | undefined;
202
605
  }>;
203
606
  private transition;
204
607
  apply(id: string, approval: string): Promise<{
@@ -223,13 +626,17 @@ export declare class LocalInstallationManager {
223
626
  };
224
627
  platform: {
225
628
  os: "darwin" | "linux" | "win32";
226
- architecture: "x64" | "arm64";
629
+ architecture: "arm64" | "x64";
227
630
  };
228
631
  ipcProtocol: "NVS_LOCAL_IPC_V1";
229
- workProtocol: "NVS_LOCAL_WORK_V1";
632
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
230
633
  journalSchema: 1;
231
634
  rendererDigest: string;
232
635
  profileDigest: string;
636
+ compatibleRenderers?: {
637
+ rendererDigest: string;
638
+ profileDigest: string;
639
+ }[] | undefined;
233
640
  };
234
641
  activeProcesses: number;
235
642
  pendingExecutions: number;
@@ -238,7 +645,7 @@ export declare class LocalInstallationManager {
238
645
  }>;
239
646
  stop(): Promise<{
240
647
  plan: {
241
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
648
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
242
649
  id: string;
243
650
  grantFingerprint: string;
244
651
  snapshot: {
@@ -248,11 +655,20 @@ export declare class LocalInstallationManager {
248
655
  projectId: string & z.core.$brand<"ProjectId">;
249
656
  productionId: string & z.core.$brand<"ProductionId">;
250
657
  };
251
- contextFingerprint: string;
252
658
  target: {
253
659
  kind: "IMAGE";
254
660
  generationId: string;
661
+ } | {
662
+ kind: "VIDEO";
663
+ generationId: string;
664
+ } | {
665
+ kind: "ROUGH_CUT";
666
+ renderId: string;
667
+ } | {
668
+ kind: "PROGRAMMATIC";
669
+ renderId: string;
255
670
  };
671
+ contextFingerprint: string;
256
672
  };
257
673
  productionRevision: number;
258
674
  reviewVersion: number;
@@ -262,12 +678,135 @@ export declare class LocalInstallationManager {
262
678
  representationId: string;
263
679
  checksumSha256: string;
264
680
  };
265
- requirements: {
681
+ requirements: ({
266
682
  key: string;
683
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
267
684
  expected: string;
268
685
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
686
+ scope: "PRODUCTION" | "TRANSITION";
687
+ interval: {
688
+ startMs: number;
689
+ endMs: number;
690
+ };
691
+ shotIds: string[];
692
+ voiceIdentity?: {
693
+ qualified: boolean;
694
+ evidenceFingerprint: string;
695
+ listeningIntervals: {
696
+ startMs: number;
697
+ endMs: number;
698
+ }[];
699
+ sourceAudioVersionIds: string[];
700
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
701
+ } | undefined;
702
+ continuity?: {
703
+ kind: "STATE";
704
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
705
+ entry: string;
706
+ exit: string;
707
+ changes?: {
708
+ atPermille: number;
709
+ from: string;
710
+ to: string;
711
+ reason: string;
712
+ }[] | undefined;
713
+ } | {
714
+ kind: "TIME";
715
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
716
+ entryMs: number;
717
+ exitMs: number;
718
+ jumps?: {
719
+ atPermille: number;
720
+ fromMs: number;
721
+ toMs: number;
722
+ reason: string;
723
+ }[] | undefined;
724
+ } | undefined;
725
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
726
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
727
+ consistencySubject?: {
728
+ id: string;
729
+ kind: "CHARACTER" | "VOICE";
730
+ displayName: string;
731
+ facts: {
732
+ dimension: string;
733
+ value: string;
734
+ }[];
735
+ master: {
736
+ artifactId: string & z.core.$brand<"ArtifactId">;
737
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
738
+ checksumSha256: string;
739
+ artifactChecksumSha256: string;
740
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
741
+ };
742
+ voiceExpectation?: {
743
+ voiceProfile: {
744
+ ownerSystem: string;
745
+ ownerTenantRef: string;
746
+ voiceProfileRef: string;
747
+ version: number;
748
+ digest: string;
749
+ };
750
+ referenceId: string;
751
+ } | undefined;
752
+ } | undefined;
753
+ consistencyReference?: {
754
+ artifactId: string & z.core.$brand<"ArtifactId">;
755
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
756
+ checksumSha256: string;
757
+ artifactChecksumSha256: string;
758
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
759
+ } | undefined;
760
+ } | {
761
+ key: string;
762
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
763
+ expected: string;
764
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
765
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
269
766
  intentPath?: string | undefined;
270
- }[];
767
+ continuity?: {
768
+ kind: "STATE";
769
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
770
+ entry: string;
771
+ exit: string;
772
+ changes?: {
773
+ atPermille: number;
774
+ from: string;
775
+ to: string;
776
+ reason: string;
777
+ }[] | undefined;
778
+ } | {
779
+ kind: "TIME";
780
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
781
+ entryMs: number;
782
+ exitMs: number;
783
+ jumps?: {
784
+ atPermille: number;
785
+ fromMs: number;
786
+ toMs: number;
787
+ reason: string;
788
+ }[] | undefined;
789
+ } | undefined;
790
+ interval?: {
791
+ startMs: number;
792
+ endMs: number;
793
+ } | undefined;
794
+ } | {
795
+ key: string;
796
+ expected: string;
797
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
798
+ intentPath?: string | undefined;
799
+ })[];
800
+ evidence?: {
801
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
802
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
803
+ byteSize: number;
804
+ width: number;
805
+ height: number;
806
+ durationMs?: number | undefined;
807
+ frameRate?: 30 | 24 | undefined;
808
+ hasAudio?: boolean | undefined;
809
+ } | undefined;
271
810
  image?: {
272
811
  contentType: "image/png";
273
812
  byteSize: number;
@@ -290,20 +829,20 @@ export declare class LocalInstallationManager {
290
829
  summary: string;
291
830
  imageReadback: string;
292
831
  observations: {
293
- key: string;
294
832
  status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
295
833
  confidence: "CLEAR" | "UNCERTAIN";
296
834
  observed: string;
835
+ key: string;
297
836
  }[];
298
837
  } | null;
299
838
  provenance: {
300
- adapter: "CODEX_METADATA_V1";
839
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
301
840
  binaryDigest: string;
302
841
  version: "0.164.0" | "0.165.0";
303
842
  model: string;
304
843
  reviewerLabel: string;
305
844
  inference: "REMOTE_OPENAI";
306
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
845
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
307
846
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
308
847
  };
309
848
  imageReceipt?: {
@@ -319,35 +858,293 @@ export declare class LocalInstallationManager {
319
858
  width: number;
320
859
  height: number;
321
860
  } | undefined;
861
+ evidenceReceipt?: {
862
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
863
+ draftId: string;
864
+ media: {
865
+ artifactId: string;
866
+ representationId: string;
867
+ checksumSha256: string;
868
+ };
869
+ ffmpegDigest: string;
870
+ ffprobeDigest: string;
871
+ attachment: {
872
+ checksumSha256: string;
873
+ byteSize: number;
874
+ width: number;
875
+ height: number;
876
+ };
877
+ timestampsMs: number[];
878
+ audio: {
879
+ sampleRateHz: 48000;
880
+ channels: 1;
881
+ samples: number;
882
+ peak: number;
883
+ rms: number;
884
+ clippedSamples: number;
885
+ } | null;
886
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
887
+ } | undefined;
888
+ } | {
889
+ reference: {
890
+ tenantId: string;
891
+ projectId: string;
892
+ fileId: string;
893
+ versionId: string;
894
+ checksumSha256: string;
895
+ byteSize: number;
896
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
897
+ deviceId: string;
898
+ };
899
+ ownerKey: string;
900
+ title: string;
901
+ createdAt: string;
902
+ revision: number;
903
+ access: {
904
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
905
+ desired: {
906
+ reference: {
907
+ tenantId: string;
908
+ projectId: string;
909
+ fileId: string;
910
+ versionId: string;
911
+ checksumSha256: string;
912
+ byteSize: number;
913
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
914
+ deviceId: string;
915
+ };
916
+ requestId: string;
917
+ expectedRevision: number;
918
+ metadata: {
919
+ label: string;
920
+ } | null;
921
+ allowInspect: boolean;
922
+ allowPublish: boolean;
923
+ expiresAt: string;
924
+ } | null;
925
+ confirmed: {
926
+ reference: {
927
+ tenantId: string;
928
+ projectId: string;
929
+ fileId: string;
930
+ versionId: string;
931
+ checksumSha256: string;
932
+ byteSize: number;
933
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
934
+ deviceId: string;
935
+ };
936
+ requestId: string;
937
+ expectedRevision: number;
938
+ metadata: {
939
+ label: string;
940
+ } | null;
941
+ allowInspect: boolean;
942
+ allowPublish: boolean;
943
+ expiresAt: string;
944
+ revision: number;
945
+ recordedAt: string;
946
+ } | null;
947
+ };
322
948
  } | {
323
949
  protocol: "NVS_LOCAL_CONNECTOR_V1";
324
950
  stateDirectory: string;
325
951
  credential: string;
326
952
  expiresAt: string;
327
- projects: {
328
- tenantId: string;
329
- projectId: string;
330
- }[];
953
+ tenantId: string;
954
+ deviceId: string;
331
955
  } | {
332
956
  protocol: "NVS_LOCAL_IPC_V1";
333
957
  runtimeRevision: number;
334
- state: "RECOVERY_REQUIRED" | "IDLE" | "EXECUTING" | "DRAINING";
958
+ state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
335
959
  journalSchemaVersion: 1;
336
- workProtocols: "NVS_LOCAL_WORK_V1"[];
960
+ workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
337
961
  versions: {
338
962
  component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
339
963
  installedVersion: string | null;
340
964
  runningVersion: string | null;
341
965
  availableVersion: string | null;
342
966
  executablePath: string | null;
343
- installOwner: "UNKNOWN" | "PROJECT" | "NPM_GLOBAL" | "NPX" | "MANAGED" | "TARBALL";
344
- }[];
345
- authorizedProjects: {
346
- tenantId: string;
347
- projectId: string;
967
+ installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
348
968
  }[];
349
969
  nextActions: {
350
970
  call: {
971
+ operation: "library.capability";
972
+ } | {
973
+ operation: "library.call";
974
+ input: {
975
+ tenantId: string;
976
+ after: string | null;
977
+ limit: number;
978
+ deviceId: string;
979
+ action: "list";
980
+ projectId?: string | undefined;
981
+ ownerKey?: string | undefined;
982
+ search?: string | undefined;
983
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
984
+ } | {
985
+ reference: {
986
+ tenantId: string;
987
+ projectId: string;
988
+ fileId: string;
989
+ versionId: string;
990
+ checksumSha256: string;
991
+ byteSize: number;
992
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
993
+ deviceId: string;
994
+ };
995
+ action: "get";
996
+ ownerKey?: string | undefined;
997
+ } | {
998
+ tenantId: string;
999
+ limit: number;
1000
+ deviceId: string;
1001
+ after: string | null;
1002
+ projectId: string;
1003
+ action: "scoped-list";
1004
+ search?: string | undefined;
1005
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
1006
+ } | {
1007
+ action: "scoped-get";
1008
+ reference: {
1009
+ tenantId: string;
1010
+ projectId: string;
1011
+ fileId: string;
1012
+ versionId: string;
1013
+ checksumSha256: string;
1014
+ byteSize: number;
1015
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1016
+ deviceId: string;
1017
+ };
1018
+ } | {
1019
+ action: "usage";
1020
+ ownerKey?: string | undefined;
1021
+ } | {
1022
+ reference: {
1023
+ tenantId: string;
1024
+ projectId: string;
1025
+ fileId: string;
1026
+ versionId: string;
1027
+ checksumSha256: string;
1028
+ byteSize: number;
1029
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1030
+ deviceId: string;
1031
+ };
1032
+ offset: number;
1033
+ length: number;
1034
+ action: "read";
1035
+ ownerKey?: string | undefined;
1036
+ } | {
1037
+ command: {
1038
+ reference: {
1039
+ tenantId: string;
1040
+ projectId: string;
1041
+ fileId: string;
1042
+ versionId: string;
1043
+ checksumSha256: string;
1044
+ byteSize: number;
1045
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1046
+ deviceId: string;
1047
+ };
1048
+ requestId: string;
1049
+ expectedRevision: number;
1050
+ metadata: {
1051
+ label: string;
1052
+ } | null;
1053
+ allowInspect: boolean;
1054
+ allowPublish: boolean;
1055
+ expiresAt: string;
1056
+ };
1057
+ expectedLocalRevision: number;
1058
+ action: "access";
1059
+ ownerKey?: string | undefined;
1060
+ } | {
1061
+ reference: {
1062
+ tenantId: string;
1063
+ projectId: string;
1064
+ fileId: string;
1065
+ versionId: string;
1066
+ checksumSha256: string;
1067
+ byteSize: number;
1068
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1069
+ deviceId: string;
1070
+ };
1071
+ requestId: string;
1072
+ action: "sync";
1073
+ ownerKey?: string | undefined;
1074
+ } | {
1075
+ reference: {
1076
+ tenantId: string;
1077
+ projectId: string;
1078
+ fileId: string;
1079
+ versionId: string;
1080
+ checksumSha256: string;
1081
+ byteSize: number;
1082
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1083
+ deviceId: string;
1084
+ };
1085
+ requestId: string;
1086
+ action: "resume-access";
1087
+ ownerKey?: string | undefined;
1088
+ } | {
1089
+ tenantId: string;
1090
+ projectId: string;
1091
+ deviceId: string;
1092
+ requestId: string;
1093
+ action: "import-receipt";
1094
+ ownerKey?: string | undefined;
1095
+ };
1096
+ } | {
1097
+ operation: "agent.discover";
1098
+ binary?: string | undefined;
1099
+ } | {
1100
+ operation: "offline.workspace";
1101
+ input: {
1102
+ action: "list" | "forget";
1103
+ key: string;
1104
+ } | {
1105
+ action: "retain";
1106
+ key: string;
1107
+ snapshot: {
1108
+ projectId: string;
1109
+ title: string;
1110
+ savedAt: string;
1111
+ expiresAt: string;
1112
+ productions: {
1113
+ id: string;
1114
+ title: string;
1115
+ }[];
1116
+ possiblyTruncated: boolean;
1117
+ };
1118
+ } | {
1119
+ action: "draft";
1120
+ key: string;
1121
+ projectId: string;
1122
+ text: string;
1123
+ expectedRevision: number;
1124
+ };
1125
+ } | {
1126
+ operation: "workspace.inspect";
1127
+ } | {
1128
+ operation: "workspace.configure";
1129
+ policy: {
1130
+ acceptNewWork: boolean;
1131
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1132
+ idleAfterSeconds: number;
1133
+ maxConcurrentJobs: number;
1134
+ cpuCores: 2 | 1;
1135
+ memoryMiB: number;
1136
+ cacheQuotaBytes: number;
1137
+ };
1138
+ expectedRevision: number;
1139
+ } | {
1140
+ operation: "workspace.activity";
1141
+ idleSeconds: number;
1142
+ observedAt: string;
1143
+ } | {
1144
+ operation: "storage.clean";
1145
+ } | {
1146
+ operation: "diagnostics.read";
1147
+ } | {
351
1148
  operation: "agent.grant";
352
1149
  grant: {
353
1150
  protocol: "NVS_CODEX_REVIEW_GRANT_V1";
@@ -365,6 +1162,7 @@ export declare class LocalInstallationManager {
365
1162
  expiresAt: string;
366
1163
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
367
1164
  imageDisclosureApproved?: true | undefined;
1165
+ mediaDisclosureApproved?: true | undefined;
368
1166
  };
369
1167
  approval: string;
370
1168
  } | {
@@ -381,11 +1179,20 @@ export declare class LocalInstallationManager {
381
1179
  projectId: string & z.core.$brand<"ProjectId">;
382
1180
  productionId: string & z.core.$brand<"ProductionId">;
383
1181
  };
384
- contextFingerprint: string;
385
1182
  target: {
386
1183
  kind: "IMAGE";
387
1184
  generationId: string;
1185
+ } | {
1186
+ kind: "VIDEO";
1187
+ generationId: string;
1188
+ } | {
1189
+ kind: "ROUGH_CUT";
1190
+ renderId: string;
1191
+ } | {
1192
+ kind: "PROGRAMMATIC";
1193
+ renderId: string;
388
1194
  };
1195
+ contextFingerprint: string;
389
1196
  };
390
1197
  productionRevision: number;
391
1198
  reviewVersion: number;
@@ -395,12 +1202,135 @@ export declare class LocalInstallationManager {
395
1202
  representationId: string;
396
1203
  checksumSha256: string;
397
1204
  };
398
- requirements: {
1205
+ requirements: ({
1206
+ key: string;
1207
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
1208
+ expected: string;
1209
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1210
+ scope: "PRODUCTION" | "TRANSITION";
1211
+ interval: {
1212
+ startMs: number;
1213
+ endMs: number;
1214
+ };
1215
+ shotIds: string[];
1216
+ voiceIdentity?: {
1217
+ qualified: boolean;
1218
+ evidenceFingerprint: string;
1219
+ listeningIntervals: {
1220
+ startMs: number;
1221
+ endMs: number;
1222
+ }[];
1223
+ sourceAudioVersionIds: string[];
1224
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
1225
+ } | undefined;
1226
+ continuity?: {
1227
+ kind: "STATE";
1228
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1229
+ entry: string;
1230
+ exit: string;
1231
+ changes?: {
1232
+ atPermille: number;
1233
+ from: string;
1234
+ to: string;
1235
+ reason: string;
1236
+ }[] | undefined;
1237
+ } | {
1238
+ kind: "TIME";
1239
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1240
+ entryMs: number;
1241
+ exitMs: number;
1242
+ jumps?: {
1243
+ atPermille: number;
1244
+ fromMs: number;
1245
+ toMs: number;
1246
+ reason: string;
1247
+ }[] | undefined;
1248
+ } | undefined;
1249
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
1250
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
1251
+ consistencySubject?: {
1252
+ id: string;
1253
+ kind: "CHARACTER" | "VOICE";
1254
+ displayName: string;
1255
+ facts: {
1256
+ dimension: string;
1257
+ value: string;
1258
+ }[];
1259
+ master: {
1260
+ artifactId: string & z.core.$brand<"ArtifactId">;
1261
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
1262
+ checksumSha256: string;
1263
+ artifactChecksumSha256: string;
1264
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1265
+ };
1266
+ voiceExpectation?: {
1267
+ voiceProfile: {
1268
+ ownerSystem: string;
1269
+ ownerTenantRef: string;
1270
+ voiceProfileRef: string;
1271
+ version: number;
1272
+ digest: string;
1273
+ };
1274
+ referenceId: string;
1275
+ } | undefined;
1276
+ } | undefined;
1277
+ consistencyReference?: {
1278
+ artifactId: string & z.core.$brand<"ArtifactId">;
1279
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
1280
+ checksumSha256: string;
1281
+ artifactChecksumSha256: string;
1282
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1283
+ } | undefined;
1284
+ } | {
399
1285
  key: string;
1286
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
400
1287
  expected: string;
401
1288
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1289
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
402
1290
  intentPath?: string | undefined;
403
- }[];
1291
+ continuity?: {
1292
+ kind: "STATE";
1293
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1294
+ entry: string;
1295
+ exit: string;
1296
+ changes?: {
1297
+ atPermille: number;
1298
+ from: string;
1299
+ to: string;
1300
+ reason: string;
1301
+ }[] | undefined;
1302
+ } | {
1303
+ kind: "TIME";
1304
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1305
+ entryMs: number;
1306
+ exitMs: number;
1307
+ jumps?: {
1308
+ atPermille: number;
1309
+ fromMs: number;
1310
+ toMs: number;
1311
+ reason: string;
1312
+ }[] | undefined;
1313
+ } | undefined;
1314
+ interval?: {
1315
+ startMs: number;
1316
+ endMs: number;
1317
+ } | undefined;
1318
+ } | {
1319
+ key: string;
1320
+ expected: string;
1321
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1322
+ intentPath?: string | undefined;
1323
+ })[];
1324
+ evidence?: {
1325
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
1326
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
1327
+ byteSize: number;
1328
+ width: number;
1329
+ height: number;
1330
+ durationMs?: number | undefined;
1331
+ frameRate?: 30 | 24 | undefined;
1332
+ hasAudio?: boolean | undefined;
1333
+ } | undefined;
404
1334
  image?: {
405
1335
  contentType: "image/png";
406
1336
  byteSize: number;
@@ -418,16 +1348,15 @@ export declare class LocalInstallationManager {
418
1348
  id: string;
419
1349
  } | {
420
1350
  operation: "runtime.status";
1351
+ includeDevice?: true | undefined;
421
1352
  } | {
422
1353
  operation: "runtime.doctor";
423
1354
  } | {
424
1355
  operation: "runtime.inventory";
425
1356
  } | {
426
1357
  operation: "session.issue";
427
- projects: {
428
- tenantId: string;
429
- projectId: string;
430
- }[];
1358
+ tenantId: string;
1359
+ deviceId: string;
431
1360
  expiresAt: string;
432
1361
  } | {
433
1362
  operation: "runtime.stop";
@@ -439,6 +1368,7 @@ export declare class LocalInstallationManager {
439
1368
  projectId: string;
440
1369
  productionId: string;
441
1370
  runtimeJobId: string;
1371
+ includeProgress?: boolean | undefined;
442
1372
  };
443
1373
  } | {
444
1374
  operation: "execution.list";
@@ -447,6 +1377,8 @@ export declare class LocalInstallationManager {
447
1377
  projectId: string;
448
1378
  after: string | null;
449
1379
  limit: number;
1380
+ includeCompleted?: boolean | undefined;
1381
+ includeProgress?: boolean | undefined;
450
1382
  };
451
1383
  } | {
452
1384
  operation: "update.check";
@@ -463,6 +1395,17 @@ export declare class LocalInstallationManager {
463
1395
  availability: "AVAILABLE" | "BLOCKED";
464
1396
  reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
465
1397
  }[];
1398
+ deviceAuthority?: {
1399
+ tenantId: string;
1400
+ deviceId: string;
1401
+ origin: string;
1402
+ } | undefined;
1403
+ deviceCapabilities?: {
1404
+ deviceRevision: number;
1405
+ tenantMediaValidation: boolean;
1406
+ tenantMediaProcessing: boolean;
1407
+ 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" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
1408
+ } | undefined;
466
1409
  } | {
467
1410
  binding: {
468
1411
  tenantId: string;
@@ -476,14 +1419,194 @@ export declare class LocalInstallationManager {
476
1419
  toolchainFingerprint: string;
477
1420
  };
478
1421
  revision: number;
479
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
1422
+ phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
480
1423
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
1424
+ progress?: {
1425
+ stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
1426
+ downloadedBytes: number;
1427
+ sourceBytes: number;
1428
+ uploadedBytes: number;
1429
+ outputBytes: number;
1430
+ lastError: {
1431
+ code: string;
1432
+ observedAt: string;
1433
+ } | null;
1434
+ } | undefined;
1435
+ } | {
1436
+ items: {
1437
+ reference: {
1438
+ tenantId: string;
1439
+ projectId: string;
1440
+ fileId: string;
1441
+ versionId: string;
1442
+ checksumSha256: string;
1443
+ byteSize: number;
1444
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1445
+ deviceId: string;
1446
+ };
1447
+ metadata: {
1448
+ label: string;
1449
+ } | null;
1450
+ accessRevision: number;
1451
+ allowInspect: boolean;
1452
+ allowPublish: boolean;
1453
+ expiresAt: string;
1454
+ }[];
1455
+ nextCursor: string | null;
1456
+ } | {
1457
+ candidate: {
1458
+ binary: string;
1459
+ binaryDigest: string;
1460
+ version: string;
1461
+ qualified: boolean;
1462
+ } | null;
1463
+ configured: {
1464
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
1465
+ binary: string;
1466
+ binaryDigest: string;
1467
+ version: "0.164.0" | "0.165.0";
1468
+ model: string;
1469
+ reviewerLabel: string;
1470
+ inference: "REMOTE_OPENAI";
1471
+ remoteUseApproved: true;
1472
+ projects: {
1473
+ tenantId: string;
1474
+ projectId: string;
1475
+ }[];
1476
+ expiresAt: string;
1477
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
1478
+ imageDisclosureApproved?: true | undefined;
1479
+ mediaDisclosureApproved?: true | undefined;
1480
+ } | null;
481
1481
  } | {
482
1482
  configured: boolean;
483
1483
  available: boolean;
484
1484
  reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
485
1485
  grantFingerprint: string | null;
486
1486
  inference: "REMOTE_OPENAI";
1487
+ } | {
1488
+ historical: true;
1489
+ items: {
1490
+ snapshot: {
1491
+ projectId: string;
1492
+ title: string;
1493
+ savedAt: string;
1494
+ expiresAt: string;
1495
+ productions: {
1496
+ id: string;
1497
+ title: string;
1498
+ }[];
1499
+ possiblyTruncated: boolean;
1500
+ };
1501
+ draft: {
1502
+ text: string;
1503
+ revision: number;
1504
+ };
1505
+ }[];
1506
+ } | {
1507
+ items: {
1508
+ reference: {
1509
+ tenantId: string;
1510
+ projectId: string;
1511
+ fileId: string;
1512
+ versionId: string;
1513
+ checksumSha256: string;
1514
+ byteSize: number;
1515
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1516
+ deviceId: string;
1517
+ };
1518
+ ownerKey: string;
1519
+ title: string;
1520
+ createdAt: string;
1521
+ revision: number;
1522
+ access: {
1523
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
1524
+ desired: {
1525
+ reference: {
1526
+ tenantId: string;
1527
+ projectId: string;
1528
+ fileId: string;
1529
+ versionId: string;
1530
+ checksumSha256: string;
1531
+ byteSize: number;
1532
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1533
+ deviceId: string;
1534
+ };
1535
+ requestId: string;
1536
+ expectedRevision: number;
1537
+ metadata: {
1538
+ label: string;
1539
+ } | null;
1540
+ allowInspect: boolean;
1541
+ allowPublish: boolean;
1542
+ expiresAt: string;
1543
+ } | null;
1544
+ confirmed: {
1545
+ reference: {
1546
+ tenantId: string;
1547
+ projectId: string;
1548
+ fileId: string;
1549
+ versionId: string;
1550
+ checksumSha256: string;
1551
+ byteSize: number;
1552
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1553
+ deviceId: string;
1554
+ };
1555
+ requestId: string;
1556
+ expectedRevision: number;
1557
+ metadata: {
1558
+ label: string;
1559
+ } | null;
1560
+ allowInspect: boolean;
1561
+ allowPublish: boolean;
1562
+ expiresAt: string;
1563
+ revision: number;
1564
+ recordedAt: string;
1565
+ } | null;
1566
+ };
1567
+ }[];
1568
+ nextCursor: string | null;
1569
+ } | {
1570
+ reference: {
1571
+ tenantId: string;
1572
+ projectId: string;
1573
+ fileId: string;
1574
+ versionId: string;
1575
+ checksumSha256: string;
1576
+ byteSize: number;
1577
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1578
+ deviceId: string;
1579
+ };
1580
+ metadata: {
1581
+ label: string;
1582
+ } | null;
1583
+ accessRevision: number;
1584
+ allowInspect: boolean;
1585
+ allowPublish: boolean;
1586
+ expiresAt: string;
1587
+ } | {
1588
+ reference: {
1589
+ tenantId: string;
1590
+ projectId: string;
1591
+ fileId: string;
1592
+ versionId: string;
1593
+ checksumSha256: string;
1594
+ byteSize: number;
1595
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1596
+ deviceId: string;
1597
+ };
1598
+ offset: number;
1599
+ contentBase64: string;
1600
+ complete: boolean;
1601
+ } | {
1602
+ protocol: "NVS_LOCAL_LIBRARY_V1";
1603
+ available: boolean;
1604
+ profileDigest: string;
1605
+ } | {
1606
+ fileCount: number;
1607
+ totalBytes: number;
1608
+ quotaBytes: number;
1609
+ availableDiskBytes: number;
487
1610
  } | {
488
1611
  runtimeRevision: number;
489
1612
  descriptor: {
@@ -495,20 +1618,89 @@ export declare class LocalInstallationManager {
495
1618
  };
496
1619
  platform: {
497
1620
  os: "darwin" | "linux" | "win32";
498
- architecture: "x64" | "arm64";
1621
+ architecture: "arm64" | "x64";
499
1622
  };
500
1623
  ipcProtocol: "NVS_LOCAL_IPC_V1";
501
- workProtocol: "NVS_LOCAL_WORK_V1";
1624
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
502
1625
  journalSchema: 1;
503
1626
  rendererDigest: string;
504
1627
  profileDigest: string;
1628
+ compatibleRenderers?: {
1629
+ rendererDigest: string;
1630
+ profileDigest: string;
1631
+ }[] | undefined;
505
1632
  };
506
1633
  activeProcesses: number;
507
1634
  pendingExecutions: number;
508
1635
  pendingRequests: number;
509
1636
  pendingRenderers: string[];
510
1637
  } | {
511
- mode: "MANAGED" | "INSTALLED";
1638
+ settings: {
1639
+ revision: number;
1640
+ policy: {
1641
+ acceptNewWork: boolean;
1642
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1643
+ idleAfterSeconds: number;
1644
+ maxConcurrentJobs: number;
1645
+ cpuCores: 2 | 1;
1646
+ memoryMiB: number;
1647
+ cacheQuotaBytes: number;
1648
+ };
1649
+ };
1650
+ storage: {
1651
+ cacheBytes: number;
1652
+ protectedBytes: number;
1653
+ reclaimableBytes: number;
1654
+ transferBytes: number;
1655
+ journalBytes: number;
1656
+ availableDiskBytes: number;
1657
+ quotaBytes: number;
1658
+ overQuota: boolean;
1659
+ reviewBytes?: number | undefined;
1660
+ ownerStagingBytes?: number | undefined;
1661
+ };
1662
+ scheduling: {
1663
+ state: "READY" | "PAUSED" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
1664
+ activeJobs: number;
1665
+ idleObservationCurrent: boolean;
1666
+ };
1667
+ } | {
1668
+ protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
1669
+ createdAt: string;
1670
+ runtimeVersion: string;
1671
+ runtimeRevision: number;
1672
+ settings: {
1673
+ revision: number;
1674
+ policy: {
1675
+ acceptNewWork: boolean;
1676
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1677
+ idleAfterSeconds: number;
1678
+ maxConcurrentJobs: number;
1679
+ cpuCores: 2 | 1;
1680
+ memoryMiB: number;
1681
+ cacheQuotaBytes: number;
1682
+ };
1683
+ };
1684
+ storage: {
1685
+ cacheBytes: number;
1686
+ protectedBytes: number;
1687
+ reclaimableBytes: number;
1688
+ transferBytes: number;
1689
+ journalBytes: number;
1690
+ availableDiskBytes: number;
1691
+ quotaBytes: number;
1692
+ overQuota: boolean;
1693
+ reviewBytes?: number | undefined;
1694
+ ownerStagingBytes?: number | undefined;
1695
+ };
1696
+ recordCounts: Record<string, number>;
1697
+ failures: {
1698
+ taskFingerprint: string;
1699
+ code: string;
1700
+ observedAt: string;
1701
+ }[];
1702
+ } | {
1703
+ mode: "INSTALLED" | "MANAGED";
512
1704
  availability: "UNAVAILABLE" | "AVAILABLE";
513
1705
  reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
514
1706
  nativeExecutionReady: boolean;
@@ -518,6 +1710,7 @@ export declare class LocalInstallationManager {
518
1710
  version: string;
519
1711
  digest: string;
520
1712
  }[];
1713
+ executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
521
1714
  } | {
522
1715
  items: {
523
1716
  binding: {
@@ -532,8 +1725,19 @@ export declare class LocalInstallationManager {
532
1725
  toolchainFingerprint: string;
533
1726
  };
534
1727
  revision: number;
535
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
1728
+ phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
536
1729
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
1730
+ progress?: {
1731
+ stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
1732
+ downloadedBytes: number;
1733
+ sourceBytes: number;
1734
+ uploadedBytes: number;
1735
+ outputBytes: number;
1736
+ lastError: {
1737
+ code: string;
1738
+ observedAt: string;
1739
+ } | null;
1740
+ } | undefined;
537
1741
  }[];
538
1742
  nextCursor: string | null;
539
1743
  } | {
@@ -549,13 +1753,17 @@ export declare class LocalInstallationManager {
549
1753
  };
550
1754
  platform: {
551
1755
  os: "darwin" | "linux" | "win32";
552
- architecture: "x64" | "arm64";
1756
+ architecture: "arm64" | "x64";
553
1757
  };
554
1758
  ipcProtocol: "NVS_LOCAL_IPC_V1";
555
- workProtocol: "NVS_LOCAL_WORK_V1";
1759
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
556
1760
  journalSchema: 1;
557
1761
  rendererDigest: string;
558
1762
  profileDigest: string;
1763
+ compatibleRenderers?: {
1764
+ rendererDigest: string;
1765
+ profileDigest: string;
1766
+ }[] | undefined;
559
1767
  };
560
1768
  activeProcesses: number;
561
1769
  pendingExecutions: number;
@@ -577,10 +1785,8 @@ export declare class LocalInstallationManager {
577
1785
  }>;
578
1786
  grant(raw: unknown, output: string): Promise<{
579
1787
  granted: boolean;
580
- projects: {
581
- tenantId: string;
582
- projectId: string;
583
- }[];
1788
+ tenantId: string;
1789
+ deviceId: string;
584
1790
  expiresAt: string;
585
1791
  }>;
586
1792
  reconnect(): Promise<{