@nativestudio/cli 0.3.0-rc.2 → 0.3.0-rc.21

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 (283) 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-27KI24GK.js +1 -0
  6. package/dist/_chunks/chunk-2S7FI3HF.js +1 -0
  7. package/dist/_chunks/chunk-3RNDOAQI.js +1 -0
  8. package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
  9. package/dist/_chunks/chunk-4AD4PNUX.js +1 -0
  10. package/dist/_chunks/chunk-5Y7J2OYL.js +45 -0
  11. package/dist/_chunks/chunk-76E5R3OC.js +1 -0
  12. package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
  13. package/dist/_chunks/chunk-7IVAYDU3.js +1 -0
  14. package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
  15. package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
  16. package/dist/_chunks/chunk-DMA53YVU.js +1 -0
  17. package/dist/_chunks/chunk-ETK7GYCB.js +1 -0
  18. package/dist/_chunks/chunk-FFXSXE3G.js +1 -0
  19. package/dist/_chunks/chunk-H4FH6STZ.js +1 -0
  20. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  21. package/dist/_chunks/chunk-LDBXGRCQ.js +1 -0
  22. package/dist/_chunks/chunk-LTNJ45JP.js +1 -0
  23. package/dist/_chunks/chunk-MZWEFYHE.js +1 -0
  24. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  25. package/dist/_chunks/chunk-PQCA4X5H.js +1 -0
  26. package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
  27. package/dist/_chunks/chunk-SM2I7TJ3.js +1 -0
  28. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  29. package/dist/_chunks/chunk-VXYZCCCQ.js +1 -0
  30. package/dist/_chunks/chunk-VYCNG6TR.js +1 -0
  31. package/dist/_chunks/chunk-WLQMICJN.js +1 -0
  32. package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
  33. package/dist/_chunks/chunk-X5MVC46N.js +1 -0
  34. package/dist/_chunks/chunk-X5PBZTKX.js +1 -0
  35. package/dist/_chunks/chunk-ZMJYBUS3.js +1 -0
  36. package/dist/_chunks/chunk-ZYXHPTT2.js +1 -0
  37. package/dist/_chunks/component-contract-2JHTRTOB.js +1 -0
  38. package/dist/_chunks/component-preflight-6OWDQAZT.js +1 -0
  39. package/dist/_chunks/connect-7TJDWXV4.js +1 -0
  40. package/dist/_chunks/device-management-JPS4HG34.js +1 -0
  41. package/dist/_chunks/device-preflight-GTQ67H7C.js +1 -0
  42. package/dist/_chunks/devices-inventory-E6ZLXCVR.js +1 -0
  43. package/dist/_chunks/devices-main-2BMCANKU.js +1 -0
  44. package/dist/_chunks/files-JJ6YOULB.js +1 -0
  45. package/dist/_chunks/host-component-ZYQ5ETVL.js +1 -0
  46. package/dist/_chunks/host-help-VNLA3YOV.js +1 -0
  47. package/dist/_chunks/host-main-KLWW7R47.js +1 -0
  48. package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
  49. package/dist/_chunks/library-main-3WWH7UYV.js +1 -0
  50. package/dist/_chunks/local-main-5BW63USP.js +1 -0
  51. package/dist/_chunks/local-mcp-AARKBDU5.js +1 -0
  52. package/dist/_chunks/main-LGYJ3ZCN.js +2 -0
  53. package/dist/_chunks/mcp-BLSK636Q.js +1 -0
  54. package/dist/_chunks/oauth-RPME2XYB.js +1 -0
  55. package/dist/_chunks/observe-entry-JVZAMB7N.js +1 -0
  56. package/dist/_chunks/remote-client-25Z65VJU.js +1 -0
  57. package/dist/_chunks/render-main-6Z3DKCWL.js +1 -0
  58. package/dist/_chunks/series-main-FBERVYWG.js +1 -0
  59. package/dist/_chunks/source-import-PNMCMTK7.js +1 -0
  60. package/dist/_chunks/src-7HSJFRVQ.js +1 -0
  61. package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
  62. package/dist/_chunks/workspace-main-QX5JGEMR.js +1 -0
  63. package/dist/_types/cli/local/desktop-contract.d.ts +1981 -22
  64. package/dist/_types/cli/local/desktop-device-contract.d.ts +807 -0
  65. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  66. package/dist/_types/cli/local/desktop-device-owner.d.ts +273 -0
  67. package/dist/_types/cli/local/desktop-device-state.d.ts +455 -0
  68. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  69. package/dist/_types/cli/local/desktop-owner.d.ts +787 -4
  70. package/dist/_types/cli/local/ledger.d.ts +76 -20
  71. package/dist/_types/cli/local/manager.d.ts +1233 -49
  72. package/dist/_types/cli/local/mcp-tools.d.ts +313 -54
  73. package/dist/_types/cli/local/releases.d.ts +30 -7
  74. package/dist/_types/cli/local-management.d.ts +9 -2
  75. package/dist/_types/cli/local-navigation.d.ts +1 -0
  76. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  77. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  78. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  79. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  80. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  81. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  82. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  83. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  84. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  85. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  86. package/dist/_types/contracts/agent-host.d.ts +126 -65
  87. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  88. package/dist/_types/contracts/audio.d.ts +166 -0
  89. package/dist/_types/contracts/component-status.d.ts +241 -0
  90. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  91. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  92. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  93. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  94. package/dist/_types/contracts/composition-render.d.ts +8 -8
  95. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  96. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  97. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  98. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  99. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  100. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  101. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  102. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  103. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  104. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  105. package/dist/_types/contracts/device-render.d.ts +113 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  107. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  108. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  109. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  110. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  111. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  112. package/dist/_types/contracts/federation-result.d.ts +239 -0
  113. package/dist/_types/contracts/final-ready.d.ts +24 -24
  114. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  115. package/dist/_types/contracts/human-identity.d.ts +13 -0
  116. package/dist/_types/contracts/human-links.d.ts +58 -0
  117. package/dist/_types/contracts/index.d.ts +26 -0
  118. package/dist/_types/contracts/interface/common.d.ts +18 -0
  119. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  120. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  121. package/dist/_types/contracts/interface/operation.d.ts +89 -0
  122. package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
  123. package/dist/_types/contracts/interface/query.d.ts +85 -0
  124. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  125. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  126. package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
  127. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  128. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  129. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  130. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  131. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  132. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  133. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  134. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  135. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  136. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  137. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  138. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  139. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  140. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  141. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  142. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  143. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  144. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  145. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  146. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  147. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  148. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  149. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  150. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  151. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  152. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  153. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  154. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  155. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  156. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  157. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  158. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  159. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  160. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  161. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  162. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  163. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  164. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  165. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  166. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  167. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  168. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  169. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  170. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  171. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  172. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  173. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  174. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  175. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  176. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  177. package/dist/_types/contracts/media-category.d.ts +11 -0
  178. package/dist/_types/contracts/media-observation.d.ts +930 -9
  179. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  180. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  181. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  182. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  183. package/dist/_types/contracts/navigation-context.d.ts +76 -8
  184. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  185. package/dist/_types/contracts/navigation.d.ts +79 -26
  186. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  187. package/dist/_types/contracts/production-creation.d.ts +30 -0
  188. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  189. package/dist/_types/contracts/production.d.ts +30 -0
  190. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  191. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  192. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  193. package/dist/_types/contracts/project-library.d.ts +30 -0
  194. package/dist/_types/contracts/project.d.ts +30 -0
  195. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  196. package/dist/_types/contracts/provider-models.d.ts +209 -8
  197. package/dist/_types/contracts/provider.d.ts +66 -1
  198. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  199. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  200. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  201. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  202. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  203. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  204. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  205. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  206. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  207. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  208. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  209. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  210. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  211. package/dist/_types/contracts/series-canon.d.ts +97 -0
  212. package/dist/_types/contracts/series-character.d.ts +23 -0
  213. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  214. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  215. package/dist/_types/contracts/shares.d.ts +135 -0
  216. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  217. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  218. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  219. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  220. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  221. package/dist/_types/contracts/speech.d.ts +603 -23
  222. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  223. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  224. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  225. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  226. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  227. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  228. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  229. package/dist/_types/contracts/timeline.d.ts +50 -4850
  230. package/dist/_types/contracts/transcription.d.ts +1 -1
  231. package/dist/_types/contracts/video-generation.d.ts +35 -2
  232. package/dist/_types/contracts/video-review.d.ts +7 -7
  233. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  234. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  235. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  236. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  237. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  238. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  239. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  240. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  241. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  242. package/dist/_types/contracts/workspace.d.ts +83 -0
  243. package/dist/_types/sdk/errors.d.ts +9 -3
  244. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  245. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  246. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  247. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  248. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  249. package/dist/entry.js +1 -1
  250. package/dist/local-management.js +1 -1
  251. package/dist/local-navigation.js +1 -1
  252. package/dist/native/helper.exe +0 -0
  253. package/dist/native/helper.json +1 -0
  254. package/package.json +2 -8
  255. package/README.md +0 -95
  256. package/dist/_chunks/chunk-66CUOZVI.js +0 -1
  257. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  258. package/dist/_chunks/chunk-7S3DJ2QE.js +0 -1
  259. package/dist/_chunks/chunk-BVSTJQJI.js +0 -1
  260. package/dist/_chunks/chunk-C753RRRA.js +0 -1
  261. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  262. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  263. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  264. package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
  265. package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
  266. package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
  267. package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
  268. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  269. package/dist/_chunks/files-FZEK2ZZJ.js +0 -1
  270. package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
  271. package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
  272. package/dist/_chunks/main-VRIQTI6R.js +0 -2
  273. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  274. package/dist/_chunks/oauth-F7EZGVME.js +0 -1
  275. package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
  276. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
  277. package/dist/_chunks/stdio-main-KOGQ5OWF.js +0 -1
  278. package/dist/native/Bootstrap.ps1 +0 -90
  279. package/dist/native/JobNative.cs +0 -127
  280. package/dist/native/JobRunner.cs +0 -360
  281. package/dist/native/NativeMain.cs +0 -146
  282. package/dist/native/PipeBridge.cs +0 -260
  283. package/dist/native/PrivateAccess.cs +0 -152
@@ -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
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,6 +193,61 @@ 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;
@@ -154,6 +255,22 @@ export declare class LocalInstallationManager {
154
255
  trustFingerprint?: string | undefined;
155
256
  toolSelection?: {
156
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;
157
274
  } | {
158
275
  ffmpeg: {
159
276
  path: string;
@@ -164,6 +281,174 @@ export declare class LocalInstallationManager {
164
281
  digest: string;
165
282
  };
166
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;
167
452
  } | undefined;
168
453
  }>;
169
454
  plan(id: string): Promise<{
@@ -171,7 +456,7 @@ export declare class LocalInstallationManager {
171
456
  planId: string;
172
457
  installationRevision: number;
173
458
  runtimeRevision: number | null;
174
- catalogueFingerprint: string;
459
+ catalogueFingerprint: string | null;
175
460
  release: {
176
461
  descriptor: {
177
462
  protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
@@ -182,13 +467,17 @@ export declare class LocalInstallationManager {
182
467
  };
183
468
  platform: {
184
469
  os: "darwin" | "linux" | "win32";
185
- architecture: "x64" | "arm64";
470
+ architecture: "arm64" | "x64";
186
471
  };
187
472
  ipcProtocol: "NVS_LOCAL_IPC_V1";
188
- workProtocol: "NVS_LOCAL_WORK_V1";
473
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
189
474
  journalSchema: 1;
190
475
  rendererDigest: string;
191
476
  profileDigest: string;
477
+ compatibleRenderers?: {
478
+ rendererDigest: string;
479
+ profileDigest: string;
480
+ }[] | undefined;
192
481
  };
193
482
  package: {
194
483
  url: string;
@@ -209,6 +498,61 @@ export declare class LocalInstallationManager {
209
498
  sha256: string;
210
499
  };
211
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;
212
556
  };
213
557
  fingerprint: string;
214
558
  createdAt: string;
@@ -216,6 +560,22 @@ export declare class LocalInstallationManager {
216
560
  trustFingerprint?: string | undefined;
217
561
  toolSelection?: {
218
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;
219
579
  } | {
220
580
  ffmpeg: {
221
581
  path: string;
@@ -226,6 +586,21 @@ export declare class LocalInstallationManager {
226
586
  digest: string;
227
587
  };
228
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;
229
604
  } | undefined;
230
605
  }>;
231
606
  private transition;
@@ -251,13 +626,17 @@ export declare class LocalInstallationManager {
251
626
  };
252
627
  platform: {
253
628
  os: "darwin" | "linux" | "win32";
254
- architecture: "x64" | "arm64";
629
+ architecture: "arm64" | "x64";
255
630
  };
256
631
  ipcProtocol: "NVS_LOCAL_IPC_V1";
257
- workProtocol: "NVS_LOCAL_WORK_V1";
632
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
258
633
  journalSchema: 1;
259
634
  rendererDigest: string;
260
635
  profileDigest: string;
636
+ compatibleRenderers?: {
637
+ rendererDigest: string;
638
+ profileDigest: string;
639
+ }[] | undefined;
261
640
  };
262
641
  activeProcesses: number;
263
642
  pendingExecutions: number;
@@ -266,7 +645,7 @@ export declare class LocalInstallationManager {
266
645
  }>;
267
646
  stop(): Promise<{
268
647
  plan: {
269
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
648
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
270
649
  id: string;
271
650
  grantFingerprint: string;
272
651
  snapshot: {
@@ -276,11 +655,20 @@ export declare class LocalInstallationManager {
276
655
  projectId: string & z.core.$brand<"ProjectId">;
277
656
  productionId: string & z.core.$brand<"ProductionId">;
278
657
  };
279
- contextFingerprint: string;
280
658
  target: {
281
659
  kind: "IMAGE";
282
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;
283
670
  };
671
+ contextFingerprint: string;
284
672
  };
285
673
  productionRevision: number;
286
674
  reviewVersion: number;
@@ -290,12 +678,135 @@ export declare class LocalInstallationManager {
290
678
  representationId: string;
291
679
  checksumSha256: string;
292
680
  };
293
- requirements: {
681
+ requirements: ({
682
+ key: string;
683
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
684
+ expected: string;
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
+ } | {
294
761
  key: string;
762
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
295
763
  expected: string;
296
764
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
765
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
297
766
  intentPath?: string | undefined;
298
- }[];
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;
299
810
  image?: {
300
811
  contentType: "image/png";
301
812
  byteSize: number;
@@ -318,20 +829,20 @@ export declare class LocalInstallationManager {
318
829
  summary: string;
319
830
  imageReadback: string;
320
831
  observations: {
321
- key: string;
322
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
832
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
323
833
  confidence: "CLEAR" | "UNCERTAIN";
324
834
  observed: string;
835
+ key: string;
325
836
  }[];
326
837
  } | null;
327
838
  provenance: {
328
- adapter: "CODEX_METADATA_V1";
839
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
329
840
  binaryDigest: string;
330
841
  version: "0.164.0" | "0.165.0";
331
842
  model: string;
332
843
  reviewerLabel: string;
333
844
  inference: "REMOTE_OPENAI";
334
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
845
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
335
846
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
336
847
  };
337
848
  imageReceipt?: {
@@ -347,21 +858,106 @@ export declare class LocalInstallationManager {
347
858
  width: number;
348
859
  height: number;
349
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
+ };
350
948
  } | {
351
949
  protocol: "NVS_LOCAL_CONNECTOR_V1";
352
950
  stateDirectory: string;
353
951
  credential: string;
354
952
  expiresAt: string;
355
- projects: {
356
- tenantId: string;
357
- projectId: string;
358
- }[];
953
+ tenantId: string;
954
+ deviceId: string;
359
955
  } | {
360
956
  protocol: "NVS_LOCAL_IPC_V1";
361
957
  runtimeRevision: number;
362
- state: "RECOVERY_REQUIRED" | "IDLE" | "EXECUTING" | "DRAINING";
958
+ state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
363
959
  journalSchemaVersion: 1;
364
- workProtocols: "NVS_LOCAL_WORK_V1"[];
960
+ workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
365
961
  versions: {
366
962
  component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
367
963
  installedVersion: string | null;
@@ -370,12 +966,185 @@ export declare class LocalInstallationManager {
370
966
  executablePath: string | null;
371
967
  installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
372
968
  }[];
373
- authorizedProjects: {
374
- tenantId: string;
375
- projectId: string;
376
- }[];
377
969
  nextActions: {
378
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
+ after: string | null;
1001
+ deviceId: string;
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
+ } | {
379
1148
  operation: "agent.grant";
380
1149
  grant: {
381
1150
  protocol: "NVS_CODEX_REVIEW_GRANT_V1";
@@ -393,6 +1162,7 @@ export declare class LocalInstallationManager {
393
1162
  expiresAt: string;
394
1163
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
395
1164
  imageDisclosureApproved?: true | undefined;
1165
+ mediaDisclosureApproved?: true | undefined;
396
1166
  };
397
1167
  approval: string;
398
1168
  } | {
@@ -409,11 +1179,20 @@ export declare class LocalInstallationManager {
409
1179
  projectId: string & z.core.$brand<"ProjectId">;
410
1180
  productionId: string & z.core.$brand<"ProductionId">;
411
1181
  };
412
- contextFingerprint: string;
413
1182
  target: {
414
1183
  kind: "IMAGE";
415
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;
416
1194
  };
1195
+ contextFingerprint: string;
417
1196
  };
418
1197
  productionRevision: number;
419
1198
  reviewVersion: number;
@@ -423,12 +1202,135 @@ export declare class LocalInstallationManager {
423
1202
  representationId: string;
424
1203
  checksumSha256: string;
425
1204
  };
426
- requirements: {
1205
+ requirements: ({
427
1206
  key: string;
1207
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
428
1208
  expected: string;
429
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
+ } | {
1285
+ key: string;
1286
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
1287
+ expected: string;
1288
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1289
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
430
1290
  intentPath?: string | undefined;
431
- }[];
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;
432
1334
  image?: {
433
1335
  contentType: "image/png";
434
1336
  byteSize: number;
@@ -446,16 +1348,15 @@ export declare class LocalInstallationManager {
446
1348
  id: string;
447
1349
  } | {
448
1350
  operation: "runtime.status";
1351
+ includeDevice?: true | undefined;
449
1352
  } | {
450
1353
  operation: "runtime.doctor";
451
1354
  } | {
452
1355
  operation: "runtime.inventory";
453
1356
  } | {
454
1357
  operation: "session.issue";
455
- projects: {
456
- tenantId: string;
457
- projectId: string;
458
- }[];
1358
+ tenantId: string;
1359
+ deviceId: string;
459
1360
  expiresAt: string;
460
1361
  } | {
461
1362
  operation: "runtime.stop";
@@ -467,6 +1368,7 @@ export declare class LocalInstallationManager {
467
1368
  projectId: string;
468
1369
  productionId: string;
469
1370
  runtimeJobId: string;
1371
+ includeProgress?: boolean | undefined;
470
1372
  };
471
1373
  } | {
472
1374
  operation: "execution.list";
@@ -475,6 +1377,8 @@ export declare class LocalInstallationManager {
475
1377
  projectId: string;
476
1378
  after: string | null;
477
1379
  limit: number;
1380
+ includeCompleted?: boolean | undefined;
1381
+ includeProgress?: boolean | undefined;
478
1382
  };
479
1383
  } | {
480
1384
  operation: "update.check";
@@ -489,8 +1393,25 @@ export declare class LocalInstallationManager {
489
1393
  expectedRuntimeRevision: number;
490
1394
  };
491
1395
  availability: "AVAILABLE" | "BLOCKED";
492
- reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
1396
+ reason: "READY" | "AUTHORIZATION_REQUIRED" | "INSTALL_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
493
1397
  }[];
1398
+ deviceAuthority?: {
1399
+ tenantId: string;
1400
+ deviceId: string;
1401
+ origin: string;
1402
+ } | undefined;
1403
+ capabilityMismatch?: {
1404
+ kind: "CAPABILITY_DEFINITION" | "MEDIA_PROFILE" | "RENDERER" | "VALIDATION_PROFILE" | "PROCESSOR_PROFILE" | "LOCAL_LIBRARY_PROFILE";
1405
+ expectedVersion: string;
1406
+ actualVersion: string;
1407
+ recovery: "REDISCOVER_CAPABILITY" | "CHECK_DEVICE_RELEASE";
1408
+ } | undefined;
1409
+ deviceCapabilities?: {
1410
+ deviceRevision: number;
1411
+ tenantMediaValidation: boolean;
1412
+ tenantMediaProcessing: boolean;
1413
+ 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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
1414
+ } | undefined;
494
1415
  } | {
495
1416
  binding: {
496
1417
  tenantId: string;
@@ -504,14 +1425,194 @@ export declare class LocalInstallationManager {
504
1425
  toolchainFingerprint: string;
505
1426
  };
506
1427
  revision: number;
507
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
1428
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
508
1429
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
1430
+ progress?: {
1431
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
1432
+ downloadedBytes: number;
1433
+ sourceBytes: number;
1434
+ uploadedBytes: number;
1435
+ outputBytes: number;
1436
+ lastError: {
1437
+ code: string;
1438
+ observedAt: string;
1439
+ } | null;
1440
+ } | undefined;
1441
+ } | {
1442
+ items: {
1443
+ reference: {
1444
+ tenantId: string;
1445
+ projectId: string;
1446
+ fileId: string;
1447
+ versionId: string;
1448
+ checksumSha256: string;
1449
+ byteSize: number;
1450
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1451
+ deviceId: string;
1452
+ };
1453
+ metadata: {
1454
+ label: string;
1455
+ } | null;
1456
+ accessRevision: number;
1457
+ allowInspect: boolean;
1458
+ allowPublish: boolean;
1459
+ expiresAt: string;
1460
+ }[];
1461
+ nextCursor: string | null;
1462
+ } | {
1463
+ candidate: {
1464
+ binary: string;
1465
+ binaryDigest: string;
1466
+ version: string;
1467
+ qualified: boolean;
1468
+ } | null;
1469
+ configured: {
1470
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
1471
+ binary: string;
1472
+ binaryDigest: string;
1473
+ version: "0.164.0" | "0.165.0";
1474
+ model: string;
1475
+ reviewerLabel: string;
1476
+ inference: "REMOTE_OPENAI";
1477
+ remoteUseApproved: true;
1478
+ projects: {
1479
+ tenantId: string;
1480
+ projectId: string;
1481
+ }[];
1482
+ expiresAt: string;
1483
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
1484
+ imageDisclosureApproved?: true | undefined;
1485
+ mediaDisclosureApproved?: true | undefined;
1486
+ } | null;
509
1487
  } | {
510
1488
  configured: boolean;
511
1489
  available: boolean;
512
1490
  reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
513
1491
  grantFingerprint: string | null;
514
1492
  inference: "REMOTE_OPENAI";
1493
+ } | {
1494
+ historical: true;
1495
+ items: {
1496
+ snapshot: {
1497
+ projectId: string;
1498
+ title: string;
1499
+ savedAt: string;
1500
+ expiresAt: string;
1501
+ productions: {
1502
+ id: string;
1503
+ title: string;
1504
+ }[];
1505
+ possiblyTruncated: boolean;
1506
+ };
1507
+ draft: {
1508
+ text: string;
1509
+ revision: number;
1510
+ };
1511
+ }[];
1512
+ } | {
1513
+ items: {
1514
+ reference: {
1515
+ tenantId: string;
1516
+ projectId: string;
1517
+ fileId: string;
1518
+ versionId: string;
1519
+ checksumSha256: string;
1520
+ byteSize: number;
1521
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1522
+ deviceId: string;
1523
+ };
1524
+ ownerKey: string;
1525
+ title: string;
1526
+ createdAt: string;
1527
+ revision: number;
1528
+ access: {
1529
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
1530
+ desired: {
1531
+ reference: {
1532
+ tenantId: string;
1533
+ projectId: string;
1534
+ fileId: string;
1535
+ versionId: string;
1536
+ checksumSha256: string;
1537
+ byteSize: number;
1538
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1539
+ deviceId: string;
1540
+ };
1541
+ requestId: string;
1542
+ expectedRevision: number;
1543
+ metadata: {
1544
+ label: string;
1545
+ } | null;
1546
+ allowInspect: boolean;
1547
+ allowPublish: boolean;
1548
+ expiresAt: string;
1549
+ } | null;
1550
+ confirmed: {
1551
+ reference: {
1552
+ tenantId: string;
1553
+ projectId: string;
1554
+ fileId: string;
1555
+ versionId: string;
1556
+ checksumSha256: string;
1557
+ byteSize: number;
1558
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1559
+ deviceId: string;
1560
+ };
1561
+ requestId: string;
1562
+ expectedRevision: number;
1563
+ metadata: {
1564
+ label: string;
1565
+ } | null;
1566
+ allowInspect: boolean;
1567
+ allowPublish: boolean;
1568
+ expiresAt: string;
1569
+ revision: number;
1570
+ recordedAt: string;
1571
+ } | null;
1572
+ };
1573
+ }[];
1574
+ nextCursor: string | null;
1575
+ } | {
1576
+ reference: {
1577
+ tenantId: string;
1578
+ projectId: string;
1579
+ fileId: string;
1580
+ versionId: string;
1581
+ checksumSha256: string;
1582
+ byteSize: number;
1583
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1584
+ deviceId: string;
1585
+ };
1586
+ metadata: {
1587
+ label: string;
1588
+ } | null;
1589
+ accessRevision: number;
1590
+ allowInspect: boolean;
1591
+ allowPublish: boolean;
1592
+ expiresAt: string;
1593
+ } | {
1594
+ reference: {
1595
+ tenantId: string;
1596
+ projectId: string;
1597
+ fileId: string;
1598
+ versionId: string;
1599
+ checksumSha256: string;
1600
+ byteSize: number;
1601
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1602
+ deviceId: string;
1603
+ };
1604
+ offset: number;
1605
+ contentBase64: string;
1606
+ complete: boolean;
1607
+ } | {
1608
+ protocol: "NVS_LOCAL_LIBRARY_V1";
1609
+ available: boolean;
1610
+ profileDigest: string;
1611
+ } | {
1612
+ fileCount: number;
1613
+ totalBytes: number;
1614
+ quotaBytes: number;
1615
+ availableDiskBytes: number;
515
1616
  } | {
516
1617
  runtimeRevision: number;
517
1618
  descriptor: {
@@ -523,20 +1624,89 @@ export declare class LocalInstallationManager {
523
1624
  };
524
1625
  platform: {
525
1626
  os: "darwin" | "linux" | "win32";
526
- architecture: "x64" | "arm64";
1627
+ architecture: "arm64" | "x64";
527
1628
  };
528
1629
  ipcProtocol: "NVS_LOCAL_IPC_V1";
529
- workProtocol: "NVS_LOCAL_WORK_V1";
1630
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
530
1631
  journalSchema: 1;
531
1632
  rendererDigest: string;
532
1633
  profileDigest: string;
1634
+ compatibleRenderers?: {
1635
+ rendererDigest: string;
1636
+ profileDigest: string;
1637
+ }[] | undefined;
533
1638
  };
534
1639
  activeProcesses: number;
535
1640
  pendingExecutions: number;
536
1641
  pendingRequests: number;
537
1642
  pendingRenderers: string[];
538
1643
  } | {
539
- mode: "MANAGED" | "INSTALLED";
1644
+ settings: {
1645
+ revision: number;
1646
+ policy: {
1647
+ acceptNewWork: boolean;
1648
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1649
+ idleAfterSeconds: number;
1650
+ maxConcurrentJobs: number;
1651
+ cpuCores: 2 | 1;
1652
+ memoryMiB: number;
1653
+ cacheQuotaBytes: number;
1654
+ };
1655
+ };
1656
+ storage: {
1657
+ cacheBytes: number;
1658
+ protectedBytes: number;
1659
+ reclaimableBytes: number;
1660
+ transferBytes: number;
1661
+ journalBytes: number;
1662
+ availableDiskBytes: number;
1663
+ quotaBytes: number;
1664
+ overQuota: boolean;
1665
+ reviewBytes?: number | undefined;
1666
+ ownerStagingBytes?: number | undefined;
1667
+ };
1668
+ scheduling: {
1669
+ state: "PAUSED" | "READY" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
1670
+ activeJobs: number;
1671
+ idleObservationCurrent: boolean;
1672
+ };
1673
+ } | {
1674
+ protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
1675
+ createdAt: string;
1676
+ runtimeVersion: string;
1677
+ runtimeRevision: number;
1678
+ settings: {
1679
+ revision: number;
1680
+ policy: {
1681
+ acceptNewWork: boolean;
1682
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1683
+ idleAfterSeconds: number;
1684
+ maxConcurrentJobs: number;
1685
+ cpuCores: 2 | 1;
1686
+ memoryMiB: number;
1687
+ cacheQuotaBytes: number;
1688
+ };
1689
+ };
1690
+ storage: {
1691
+ cacheBytes: number;
1692
+ protectedBytes: number;
1693
+ reclaimableBytes: number;
1694
+ transferBytes: number;
1695
+ journalBytes: number;
1696
+ availableDiskBytes: number;
1697
+ quotaBytes: number;
1698
+ overQuota: boolean;
1699
+ reviewBytes?: number | undefined;
1700
+ ownerStagingBytes?: number | undefined;
1701
+ };
1702
+ recordCounts: Record<string, number>;
1703
+ failures: {
1704
+ taskFingerprint: string;
1705
+ code: string;
1706
+ observedAt: string;
1707
+ }[];
1708
+ } | {
1709
+ mode: "INSTALLED" | "MANAGED";
540
1710
  availability: "UNAVAILABLE" | "AVAILABLE";
541
1711
  reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
542
1712
  nativeExecutionReady: boolean;
@@ -546,6 +1716,7 @@ export declare class LocalInstallationManager {
546
1716
  version: string;
547
1717
  digest: string;
548
1718
  }[];
1719
+ executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
549
1720
  } | {
550
1721
  items: {
551
1722
  binding: {
@@ -560,8 +1731,19 @@ export declare class LocalInstallationManager {
560
1731
  toolchainFingerprint: string;
561
1732
  };
562
1733
  revision: number;
563
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
1734
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
564
1735
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
1736
+ progress?: {
1737
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
1738
+ downloadedBytes: number;
1739
+ sourceBytes: number;
1740
+ uploadedBytes: number;
1741
+ outputBytes: number;
1742
+ lastError: {
1743
+ code: string;
1744
+ observedAt: string;
1745
+ } | null;
1746
+ } | undefined;
565
1747
  }[];
566
1748
  nextCursor: string | null;
567
1749
  } | {
@@ -577,13 +1759,17 @@ export declare class LocalInstallationManager {
577
1759
  };
578
1760
  platform: {
579
1761
  os: "darwin" | "linux" | "win32";
580
- architecture: "x64" | "arm64";
1762
+ architecture: "arm64" | "x64";
581
1763
  };
582
1764
  ipcProtocol: "NVS_LOCAL_IPC_V1";
583
- workProtocol: "NVS_LOCAL_WORK_V1";
1765
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
584
1766
  journalSchema: 1;
585
1767
  rendererDigest: string;
586
1768
  profileDigest: string;
1769
+ compatibleRenderers?: {
1770
+ rendererDigest: string;
1771
+ profileDigest: string;
1772
+ }[] | undefined;
587
1773
  };
588
1774
  activeProcesses: number;
589
1775
  pendingExecutions: number;
@@ -605,10 +1791,8 @@ export declare class LocalInstallationManager {
605
1791
  }>;
606
1792
  grant(raw: unknown, output: string): Promise<{
607
1793
  granted: boolean;
608
- projects: {
609
- tenantId: string;
610
- projectId: string;
611
- }[];
1794
+ tenantId: string;
1795
+ deviceId: string;
612
1796
  expiresAt: string;
613
1797
  }>;
614
1798
  reconnect(): Promise<{