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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
  7. package/dist/_chunks/chunk-4M2SOMSN.js +1 -0
  8. package/dist/_chunks/chunk-4PAVWOPA.js +1 -0
  9. package/dist/_chunks/chunk-6EZX2TRX.js +1 -0
  10. package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
  11. package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
  12. package/dist/_chunks/chunk-AFNJRZLJ.js +1 -0
  13. package/dist/_chunks/chunk-APNZQZFB.js +1 -0
  14. package/dist/_chunks/chunk-D74NHT4I.js +45 -0
  15. package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
  16. package/dist/_chunks/chunk-ELUJ44BO.js +1 -0
  17. package/dist/_chunks/chunk-FVY3PLG7.js +1 -0
  18. package/dist/_chunks/chunk-GLAF74UU.js +1 -0
  19. package/dist/_chunks/chunk-HBDPYWMI.js +1 -0
  20. package/dist/_chunks/chunk-IYDHDLTR.js +1 -0
  21. package/dist/_chunks/chunk-K35CWLDH.js +1 -0
  22. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  23. package/dist/_chunks/chunk-L3QA7FLZ.js +1 -0
  24. package/dist/_chunks/chunk-LBK42NHW.js +1 -0
  25. package/dist/_chunks/chunk-MLZ3ZPGU.js +1 -0
  26. package/dist/_chunks/chunk-NG4BDFEY.js +1 -0
  27. package/dist/_chunks/chunk-OSO6KRE2.js +1 -0
  28. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  29. package/dist/_chunks/chunk-QE7O57PQ.js +1 -0
  30. package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
  31. package/dist/_chunks/chunk-QK4XPVKT.js +1 -0
  32. package/dist/_chunks/chunk-ROGOASYF.js +1 -0
  33. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  34. package/dist/_chunks/chunk-UYKCN5DU.js +1 -0
  35. package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
  36. package/dist/_chunks/chunk-XUSVNPR5.js +1 -0
  37. package/dist/_chunks/component-contract-KXK7WIUI.js +1 -0
  38. package/dist/_chunks/component-preflight-WECLCZLF.js +1 -0
  39. package/dist/_chunks/connect-7TJDWXV4.js +1 -0
  40. package/dist/_chunks/device-management-TLRUMZL5.js +1 -0
  41. package/dist/_chunks/device-preflight-C7FFUXI2.js +1 -0
  42. package/dist/_chunks/devices-inventory-BZF53UAU.js +1 -0
  43. package/dist/_chunks/devices-main-V3YHCB2C.js +1 -0
  44. package/dist/_chunks/files-JJ6YOULB.js +1 -0
  45. package/dist/_chunks/host-component-Q5IHRHRI.js +1 -0
  46. package/dist/_chunks/host-help-7BGYR4ET.js +1 -0
  47. package/dist/_chunks/host-main-JLIBRHC2.js +1 -0
  48. package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
  49. package/dist/_chunks/library-main-ATRFEAVN.js +1 -0
  50. package/dist/_chunks/local-main-KTYCLHDA.js +1 -0
  51. package/dist/_chunks/local-mcp-ISMU6ADI.js +1 -0
  52. package/dist/_chunks/main-MOZS2EK3.js +2 -0
  53. package/dist/_chunks/mcp-M2SO3J2H.js +1 -0
  54. package/dist/_chunks/oauth-RPME2XYB.js +1 -0
  55. package/dist/_chunks/observe-entry-E6DFHIMW.js +1 -0
  56. package/dist/_chunks/remote-client-T75C45JO.js +1 -0
  57. package/dist/_chunks/render-main-OGCO2LX4.js +1 -0
  58. package/dist/_chunks/series-main-FBERVYWG.js +1 -0
  59. package/dist/_chunks/source-import-55JJ26AA.js +1 -0
  60. package/dist/_chunks/src-V2K52JDH.js +1 -0
  61. package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
  62. package/dist/_chunks/workspace-main-3P56DSEQ.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 +30 -0
  122. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  123. package/dist/_types/contracts/interface/query.d.ts +60 -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 +17 -2
  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 +28 -8
  184. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  185. package/dist/_types/contracts/navigation.d.ts +78 -25
  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
@@ -1,5 +1,777 @@
1
1
  /** Human installation owner adapter. It is never composed into scoped MCP. */
2
2
  export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundledChannel?: unknown): Promise<{
3
+ reference: {
4
+ tenantId: string;
5
+ projectId: string;
6
+ fileId: string;
7
+ versionId: string;
8
+ checksumSha256: string;
9
+ byteSize: number;
10
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
11
+ deviceId: string;
12
+ };
13
+ ownerKey: string;
14
+ title: string;
15
+ createdAt: string;
16
+ revision: number;
17
+ access: {
18
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
19
+ desired: {
20
+ reference: {
21
+ tenantId: string;
22
+ projectId: string;
23
+ fileId: string;
24
+ versionId: string;
25
+ checksumSha256: string;
26
+ byteSize: number;
27
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
28
+ deviceId: string;
29
+ };
30
+ requestId: string;
31
+ expectedRevision: number;
32
+ metadata: {
33
+ label: string;
34
+ } | null;
35
+ allowInspect: boolean;
36
+ allowPublish: boolean;
37
+ expiresAt: string;
38
+ } | null;
39
+ confirmed: {
40
+ reference: {
41
+ tenantId: string;
42
+ projectId: string;
43
+ fileId: string;
44
+ versionId: string;
45
+ checksumSha256: string;
46
+ byteSize: number;
47
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
48
+ deviceId: string;
49
+ };
50
+ requestId: string;
51
+ expectedRevision: number;
52
+ metadata: {
53
+ label: string;
54
+ } | null;
55
+ allowInspect: boolean;
56
+ allowPublish: boolean;
57
+ expiresAt: string;
58
+ revision: number;
59
+ recordedAt: string;
60
+ } | null;
61
+ };
62
+ } | {
63
+ items: {
64
+ reference: {
65
+ tenantId: string;
66
+ projectId: string;
67
+ fileId: string;
68
+ versionId: string;
69
+ checksumSha256: string;
70
+ byteSize: number;
71
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
72
+ deviceId: string;
73
+ };
74
+ metadata: {
75
+ label: string;
76
+ } | null;
77
+ accessRevision: number;
78
+ allowInspect: boolean;
79
+ allowPublish: boolean;
80
+ expiresAt: string;
81
+ }[];
82
+ nextCursor: string | null;
83
+ } | {
84
+ historical: true;
85
+ items: {
86
+ snapshot: {
87
+ projectId: string;
88
+ title: string;
89
+ savedAt: string;
90
+ expiresAt: string;
91
+ productions: {
92
+ id: string;
93
+ title: string;
94
+ }[];
95
+ possiblyTruncated: boolean;
96
+ };
97
+ draft: {
98
+ text: string;
99
+ revision: number;
100
+ };
101
+ }[];
102
+ } | {
103
+ items: {
104
+ reference: {
105
+ tenantId: string;
106
+ projectId: string;
107
+ fileId: string;
108
+ versionId: string;
109
+ checksumSha256: string;
110
+ byteSize: number;
111
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
112
+ deviceId: string;
113
+ };
114
+ ownerKey: string;
115
+ title: string;
116
+ createdAt: string;
117
+ revision: number;
118
+ access: {
119
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
120
+ desired: {
121
+ reference: {
122
+ tenantId: string;
123
+ projectId: string;
124
+ fileId: string;
125
+ versionId: string;
126
+ checksumSha256: string;
127
+ byteSize: number;
128
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
129
+ deviceId: string;
130
+ };
131
+ requestId: string;
132
+ expectedRevision: number;
133
+ metadata: {
134
+ label: string;
135
+ } | null;
136
+ allowInspect: boolean;
137
+ allowPublish: boolean;
138
+ expiresAt: string;
139
+ } | null;
140
+ confirmed: {
141
+ reference: {
142
+ tenantId: string;
143
+ projectId: string;
144
+ fileId: string;
145
+ versionId: string;
146
+ checksumSha256: string;
147
+ byteSize: number;
148
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
149
+ deviceId: string;
150
+ };
151
+ requestId: string;
152
+ expectedRevision: number;
153
+ metadata: {
154
+ label: string;
155
+ } | null;
156
+ allowInspect: boolean;
157
+ allowPublish: boolean;
158
+ expiresAt: string;
159
+ revision: number;
160
+ recordedAt: string;
161
+ } | null;
162
+ };
163
+ }[];
164
+ nextCursor: string | null;
165
+ } | {
166
+ reference: {
167
+ tenantId: string;
168
+ projectId: string;
169
+ fileId: string;
170
+ versionId: string;
171
+ checksumSha256: string;
172
+ byteSize: number;
173
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
174
+ deviceId: string;
175
+ };
176
+ metadata: {
177
+ label: string;
178
+ } | null;
179
+ accessRevision: number;
180
+ allowInspect: boolean;
181
+ allowPublish: boolean;
182
+ expiresAt: string;
183
+ } | {
184
+ reference: {
185
+ tenantId: string;
186
+ projectId: string;
187
+ fileId: string;
188
+ versionId: string;
189
+ checksumSha256: string;
190
+ byteSize: number;
191
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
192
+ deviceId: string;
193
+ };
194
+ offset: number;
195
+ contentBase64: string;
196
+ complete: boolean;
197
+ } | {
198
+ fileCount: number;
199
+ totalBytes: number;
200
+ quotaBytes: number;
201
+ availableDiskBytes: number;
202
+ } | {
203
+ settings: {
204
+ revision: number;
205
+ policy: {
206
+ acceptNewWork: boolean;
207
+ mode: "CONTINUOUS" | "IDLE_ONLY";
208
+ idleAfterSeconds: number;
209
+ maxConcurrentJobs: number;
210
+ cpuCores: 2 | 1;
211
+ memoryMiB: number;
212
+ cacheQuotaBytes: number;
213
+ };
214
+ };
215
+ storage: {
216
+ cacheBytes: number;
217
+ protectedBytes: number;
218
+ reclaimableBytes: number;
219
+ transferBytes: number;
220
+ journalBytes: number;
221
+ availableDiskBytes: number;
222
+ quotaBytes: number;
223
+ overQuota: boolean;
224
+ reviewBytes?: number | undefined;
225
+ ownerStagingBytes?: number | undefined;
226
+ };
227
+ scheduling: {
228
+ state: "PAUSED" | "READY" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
229
+ activeJobs: number;
230
+ idleObservationCurrent: boolean;
231
+ };
232
+ } | {
233
+ protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
234
+ createdAt: string;
235
+ runtimeVersion: string;
236
+ runtimeRevision: number;
237
+ settings: {
238
+ revision: number;
239
+ policy: {
240
+ acceptNewWork: boolean;
241
+ mode: "CONTINUOUS" | "IDLE_ONLY";
242
+ idleAfterSeconds: number;
243
+ maxConcurrentJobs: number;
244
+ cpuCores: 2 | 1;
245
+ memoryMiB: number;
246
+ cacheQuotaBytes: number;
247
+ };
248
+ };
249
+ storage: {
250
+ cacheBytes: number;
251
+ protectedBytes: number;
252
+ reclaimableBytes: number;
253
+ transferBytes: number;
254
+ journalBytes: number;
255
+ availableDiskBytes: number;
256
+ quotaBytes: number;
257
+ overQuota: boolean;
258
+ reviewBytes?: number | undefined;
259
+ ownerStagingBytes?: number | undefined;
260
+ };
261
+ recordCounts: Record<string, number>;
262
+ failures: {
263
+ taskFingerprint: string;
264
+ code: string;
265
+ observedAt: string;
266
+ }[];
267
+ } | {
268
+ view: {
269
+ revision: number;
270
+ connection: {
271
+ phase: "CONNECTED" | "READY" | "CONNECTING";
272
+ expiresAt: string;
273
+ deviceRevision: number;
274
+ tenantMediaProcessing?: true | undefined;
275
+ 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")[] | undefined;
276
+ tenantMediaValidation?: true | undefined;
277
+ } | null;
278
+ previews: ({
279
+ semanticStatus: "ACCEPTED";
280
+ renderId: string;
281
+ operationId: string & import("zod").$brand<"OperationId">;
282
+ productionId: string;
283
+ timelineVersionId: string;
284
+ timelineFingerprint: string;
285
+ executionClass: "LIVE" | "TEST_ONLY";
286
+ manifestFingerprint: string;
287
+ productionRevision: number;
288
+ placement: {
289
+ target: "DEVICE" | "SERVER";
290
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
291
+ policy: {
292
+ mode: "local-only";
293
+ deviceId: string;
294
+ } | {
295
+ mode: "local-preferred";
296
+ deviceId: string;
297
+ } | {
298
+ mode: "cloud-only";
299
+ };
300
+ };
301
+ humanLinks?: {
302
+ status: "AVAILABLE";
303
+ items: {
304
+ rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
305
+ href: string;
306
+ }[];
307
+ } | {
308
+ status: "UNAVAILABLE" | "UNCONFIGURED";
309
+ items: {
310
+ rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
311
+ href: string;
312
+ }[];
313
+ } | undefined;
314
+ deviceExecution?: {
315
+ mode: "tenant-device-only";
316
+ deviceId: string;
317
+ runtimeJobId: string;
318
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
319
+ } | undefined;
320
+ } | {
321
+ semanticStatus: "ACCEPTED";
322
+ renderId: string;
323
+ operationId: string & import("zod").$brand<"OperationId">;
324
+ productionId: string;
325
+ timelineVersionId: string;
326
+ timelineFingerprint: string;
327
+ executionClass: "LIVE" | "TEST_ONLY";
328
+ manifestFingerprint: string;
329
+ productionRevision: number;
330
+ selectionId: string;
331
+ selectionVersion: number;
332
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
333
+ placement: {
334
+ target: "DEVICE" | "SERVER";
335
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
336
+ policy: {
337
+ mode: "local-only";
338
+ deviceId: string;
339
+ } | {
340
+ mode: "local-preferred";
341
+ deviceId: string;
342
+ } | {
343
+ mode: "cloud-only";
344
+ };
345
+ };
346
+ humanLinks?: {
347
+ status: "AVAILABLE";
348
+ items: {
349
+ rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
350
+ href: string;
351
+ }[];
352
+ } | {
353
+ status: "UNAVAILABLE" | "UNCONFIGURED";
354
+ items: {
355
+ rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
356
+ href: string;
357
+ }[];
358
+ } | undefined;
359
+ deviceExecution?: {
360
+ mode: "tenant-device-only";
361
+ deviceId: string;
362
+ runtimeJobId: string;
363
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
364
+ } | undefined;
365
+ })[];
366
+ device: {
367
+ deviceId: string;
368
+ label: string;
369
+ revision: number;
370
+ revokedAt: string | null;
371
+ } | null;
372
+ pending: {
373
+ kind: "PREVIEW" | "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE";
374
+ phase: "SENDING" | "PREPARED" | "REFUSED";
375
+ fingerprint: string;
376
+ agentEnrollment?: true | undefined;
377
+ } | null;
378
+ installation?: {
379
+ version: string;
380
+ fingerprint: string;
381
+ workProtocol?: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2" | undefined;
382
+ } | null | undefined;
383
+ automaticConnection?: boolean | undefined;
384
+ };
385
+ command?: {
386
+ kind: "ENROLL";
387
+ input: {
388
+ tenantId: string;
389
+ requestId: string;
390
+ label: string;
391
+ platform: {
392
+ os: "darwin" | "linux" | "win32";
393
+ architecture: "arm64" | "x64";
394
+ };
395
+ runtimeVersion: string;
396
+ publicKey: {
397
+ kty: "EC";
398
+ crv: "P-256";
399
+ x: string;
400
+ y: string;
401
+ };
402
+ expectedPrincipalId?: string | undefined;
403
+ };
404
+ } | {
405
+ kind: "REVOKE_DEVICE";
406
+ input: {
407
+ tenantId: string;
408
+ deviceId: string;
409
+ requestId: string;
410
+ expectedRevision: number;
411
+ };
412
+ } | {
413
+ kind: "PREVIEW";
414
+ input: {
415
+ tenantId: string & import("zod").$brand<"TenantId">;
416
+ productionId: string & import("zod").$brand<"ProductionId">;
417
+ idempotencyKey: string;
418
+ expectedProductionRevision: number;
419
+ timelineVersionId: string;
420
+ profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
421
+ timelineFingerprint: string;
422
+ placement: {
423
+ mode: "local-only";
424
+ deviceId: string;
425
+ } | {
426
+ mode: "local-preferred";
427
+ deviceId: string;
428
+ } | {
429
+ mode: "cloud-only";
430
+ };
431
+ localProfile?: "STUDIO_MEDIA_V2" | undefined;
432
+ };
433
+ } | {
434
+ kind: "FINAL_RENDER";
435
+ input: {
436
+ tenantId: string & import("zod").$brand<"TenantId">;
437
+ productionId: string & import("zod").$brand<"ProductionId">;
438
+ idempotencyKey: string;
439
+ expectedProductionRevision: number;
440
+ timelineVersionId: string;
441
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
442
+ timelineFingerprint: string;
443
+ selectionId: string;
444
+ audioPolicy: "SILENT" | "MIXED";
445
+ captionPolicy: "NONE" | "BURN_IN";
446
+ expectedFinalReadyVersion: number;
447
+ placement: {
448
+ mode: "local-only";
449
+ deviceId: string;
450
+ } | {
451
+ mode: "local-preferred";
452
+ deviceId: string;
453
+ } | {
454
+ mode: "cloud-only";
455
+ };
456
+ };
457
+ } | undefined;
458
+ mediaValidationSupported?: boolean | undefined;
459
+ mediaProcessingSupported?: boolean | undefined;
460
+ localLibrarySupported?: boolean | undefined;
461
+ compositionProcessingSupported?: boolean | undefined;
462
+ } | {
463
+ operation: "library-import";
464
+ input: {
465
+ requestId: string;
466
+ reference: {
467
+ tenantId: string;
468
+ projectId: string;
469
+ fileId: string;
470
+ versionId: string;
471
+ checksumSha256: string;
472
+ byteSize: number;
473
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
474
+ deviceId: string;
475
+ };
476
+ ownerKey: string;
477
+ title: string;
478
+ };
479
+ file: string;
480
+ } | {
481
+ id: string;
482
+ mode: "BACKUP" | "MIGRATE";
483
+ revision: number;
484
+ phase: "CANCELLED" | "COMPLETE" | "PREPARED" | "DRAINING" | "VERIFYING" | "COPYING" | "COPIED";
485
+ expiresAt: string;
486
+ fingerprint: string;
487
+ bytes: number;
488
+ installationFingerprint: string;
489
+ } | {
490
+ history: {
491
+ id: string;
492
+ projectId: string;
493
+ productionId: string;
494
+ kind: "PROGRAMMATIC" | "IMAGE" | "VIDEO" | "ROUGH_CUT";
495
+ pendingMedia: boolean;
496
+ }[];
497
+ pendingGrant: boolean;
498
+ probe?: {
499
+ configured: boolean;
500
+ available: boolean;
501
+ reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
502
+ grantFingerprint: string | null;
503
+ inference: "REMOTE_OPENAI";
504
+ } | undefined;
505
+ discovery?: {
506
+ candidate: {
507
+ binary: string;
508
+ binaryDigest: string;
509
+ version: string;
510
+ qualified: boolean;
511
+ } | null;
512
+ configured: {
513
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
514
+ binary: string;
515
+ binaryDigest: string;
516
+ version: "0.164.0" | "0.165.0";
517
+ model: string;
518
+ reviewerLabel: string;
519
+ inference: "REMOTE_OPENAI";
520
+ remoteUseApproved: true;
521
+ projects: {
522
+ tenantId: string;
523
+ projectId: string;
524
+ }[];
525
+ expiresAt: string;
526
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
527
+ imageDisclosureApproved?: true | undefined;
528
+ mediaDisclosureApproved?: true | undefined;
529
+ } | null;
530
+ } | undefined;
531
+ review?: {
532
+ plan: {
533
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
534
+ id: string;
535
+ grantFingerprint: string;
536
+ snapshot: {
537
+ basis: {
538
+ scope: {
539
+ tenantId: string & import("zod").$brand<"TenantId">;
540
+ projectId: string & import("zod").$brand<"ProjectId">;
541
+ productionId: string & import("zod").$brand<"ProductionId">;
542
+ };
543
+ target: {
544
+ kind: "IMAGE";
545
+ generationId: string;
546
+ } | {
547
+ kind: "VIDEO";
548
+ generationId: string;
549
+ } | {
550
+ kind: "ROUGH_CUT";
551
+ renderId: string;
552
+ } | {
553
+ kind: "PROGRAMMATIC";
554
+ renderId: string;
555
+ };
556
+ contextFingerprint: string;
557
+ };
558
+ productionRevision: number;
559
+ reviewVersion: number;
560
+ executionClass: "LIVE" | "TEST_ONLY";
561
+ media: {
562
+ artifactId: string;
563
+ representationId: string;
564
+ checksumSha256: string;
565
+ };
566
+ requirements: ({
567
+ key: string;
568
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
569
+ expected: string;
570
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
571
+ scope: "PRODUCTION" | "TRANSITION";
572
+ interval: {
573
+ startMs: number;
574
+ endMs: number;
575
+ };
576
+ shotIds: string[];
577
+ voiceIdentity?: {
578
+ qualified: boolean;
579
+ evidenceFingerprint: string;
580
+ listeningIntervals: {
581
+ startMs: number;
582
+ endMs: number;
583
+ }[];
584
+ sourceAudioVersionIds: string[];
585
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
586
+ } | undefined;
587
+ continuity?: {
588
+ kind: "STATE";
589
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
590
+ entry: string;
591
+ exit: string;
592
+ changes?: {
593
+ atPermille: number;
594
+ from: string;
595
+ to: string;
596
+ reason: string;
597
+ }[] | undefined;
598
+ } | {
599
+ kind: "TIME";
600
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
601
+ entryMs: number;
602
+ exitMs: number;
603
+ jumps?: {
604
+ atPermille: number;
605
+ fromMs: number;
606
+ toMs: number;
607
+ reason: string;
608
+ }[] | undefined;
609
+ } | undefined;
610
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
611
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
612
+ consistencySubject?: {
613
+ id: string;
614
+ kind: "CHARACTER" | "VOICE";
615
+ displayName: string;
616
+ facts: {
617
+ dimension: string;
618
+ value: string;
619
+ }[];
620
+ master: {
621
+ artifactId: string & import("zod").$brand<"ArtifactId">;
622
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
623
+ checksumSha256: string;
624
+ artifactChecksumSha256: string;
625
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
626
+ };
627
+ voiceExpectation?: {
628
+ voiceProfile: {
629
+ ownerSystem: string;
630
+ ownerTenantRef: string;
631
+ voiceProfileRef: string;
632
+ version: number;
633
+ digest: string;
634
+ };
635
+ referenceId: string;
636
+ } | undefined;
637
+ } | undefined;
638
+ consistencyReference?: {
639
+ artifactId: string & import("zod").$brand<"ArtifactId">;
640
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
641
+ checksumSha256: string;
642
+ artifactChecksumSha256: string;
643
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
644
+ } | undefined;
645
+ } | {
646
+ key: string;
647
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
648
+ expected: string;
649
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
650
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
651
+ intentPath?: string | undefined;
652
+ continuity?: {
653
+ kind: "STATE";
654
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
655
+ entry: string;
656
+ exit: string;
657
+ changes?: {
658
+ atPermille: number;
659
+ from: string;
660
+ to: string;
661
+ reason: string;
662
+ }[] | undefined;
663
+ } | {
664
+ kind: "TIME";
665
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
666
+ entryMs: number;
667
+ exitMs: number;
668
+ jumps?: {
669
+ atPermille: number;
670
+ fromMs: number;
671
+ toMs: number;
672
+ reason: string;
673
+ }[] | undefined;
674
+ } | undefined;
675
+ interval?: {
676
+ startMs: number;
677
+ endMs: number;
678
+ } | undefined;
679
+ } | {
680
+ key: string;
681
+ expected: string;
682
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
683
+ intentPath?: string | undefined;
684
+ })[];
685
+ evidence?: {
686
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
687
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
688
+ byteSize: number;
689
+ width: number;
690
+ height: number;
691
+ durationMs?: number | undefined;
692
+ frameRate?: 30 | 24 | undefined;
693
+ hasAudio?: boolean | undefined;
694
+ } | undefined;
695
+ image?: {
696
+ contentType: "image/png";
697
+ byteSize: number;
698
+ width: number;
699
+ height: number;
700
+ } | undefined;
701
+ };
702
+ expiresAt: string;
703
+ fingerprint: string;
704
+ };
705
+ revision: number;
706
+ phase: "RUNNING" | "UNKNOWN" | "PREPARED" | "RESULT_PENDING";
707
+ answer: {
708
+ summary: string;
709
+ observations: {
710
+ key: string;
711
+ observed: string;
712
+ }[];
713
+ } | {
714
+ summary: string;
715
+ imageReadback: string;
716
+ observations: {
717
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
718
+ confidence: "CLEAR" | "UNCERTAIN";
719
+ observed: string;
720
+ key: string;
721
+ }[];
722
+ } | null;
723
+ provenance: {
724
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
725
+ binaryDigest: string;
726
+ version: "0.164.0" | "0.165.0";
727
+ model: string;
728
+ reviewerLabel: string;
729
+ inference: "REMOTE_OPENAI";
730
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
731
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
732
+ };
733
+ imageReceipt?: {
734
+ protocol: "NVS_LOCAL_AGENT_IMAGE_V1";
735
+ draftId: string;
736
+ media: {
737
+ artifactId: string;
738
+ representationId: string;
739
+ checksumSha256: string;
740
+ };
741
+ byteSize: number;
742
+ contentType: "image/png";
743
+ width: number;
744
+ height: number;
745
+ } | undefined;
746
+ evidenceReceipt?: {
747
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
748
+ draftId: string;
749
+ media: {
750
+ artifactId: string;
751
+ representationId: string;
752
+ checksumSha256: string;
753
+ };
754
+ ffmpegDigest: string;
755
+ ffprobeDigest: string;
756
+ attachment: {
757
+ checksumSha256: string;
758
+ byteSize: number;
759
+ width: number;
760
+ height: number;
761
+ };
762
+ timestampsMs: number[];
763
+ audio: {
764
+ sampleRateHz: 48000;
765
+ channels: 1;
766
+ samples: number;
767
+ peak: number;
768
+ rms: number;
769
+ clippedSamples: number;
770
+ } | null;
771
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
772
+ } | undefined;
773
+ } | undefined;
774
+ } | {
3
775
  protocol: "NVS_DESKTOP_OWNER_PLAN_V1";
4
776
  plan: {
5
777
  kind: "APPLY" | "RECOVER";
@@ -9,7 +781,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
9
781
  previousVersion: string | null;
10
782
  expiresAt: string;
11
783
  phase: string;
12
- toolMode?: "MANAGED" | "INSTALLED" | undefined;
784
+ toolMode?: "INSTALLED" | "MANAGED" | undefined;
13
785
  } | null;
14
786
  } | {
15
787
  protocol: "NVS_DESKTOP_CHANNEL_INFO_V1";
@@ -19,10 +791,21 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
19
791
  channelFingerprint: string | null;
20
792
  } | {
21
793
  protocol: "NVS_DESKTOP_RUNTIME_STATUS_V1";
22
- state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
794
+ state: "UNAVAILABLE" | "RUNNING" | "STOPPED" | "INSTALL_REQUIRED";
23
795
  activeVersion: string | null;
24
796
  phase: string;
25
- toolMode?: "MANAGED" | "INSTALLED" | null | undefined;
797
+ toolMode?: "INSTALLED" | "MANAGED" | null | undefined;
798
+ speech?: {
799
+ voiceIds: number[];
800
+ } | undefined;
801
+ } | {
802
+ id: string;
803
+ fingerprint: string;
804
+ version: string;
805
+ host: string;
806
+ bytes: number;
807
+ expiresAt: string;
808
+ installed: boolean;
26
809
  } | {
27
810
  protocol: "NVS_DESKTOP_RUNTIME_UPDATES_V1";
28
811
  activeVersion: string | null;
@@ -31,4 +814,4 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
31
814
  rejected: boolean;
32
815
  }[];
33
816
  notifications: boolean;
34
- }>;
817
+ } | null>;