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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/COMPATIBILITY.json +37 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +33 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
  8. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  9. package/dist/_chunks/chunk-6LY4JYSG.js +1 -0
  10. package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
  11. package/dist/_chunks/chunk-77IAHNM2.js +1 -0
  12. package/dist/_chunks/chunk-C62JAWRQ.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  15. package/dist/_chunks/chunk-HY7NXJYX.js +1 -0
  16. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  17. package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
  18. package/dist/_chunks/chunk-RDIMORUT.js +1 -0
  19. package/dist/_chunks/chunk-RK2P3UVF.js +1 -0
  20. package/dist/_chunks/chunk-ROBBF33U.js +1 -0
  21. package/dist/_chunks/chunk-S74X4KIC.js +1 -0
  22. package/dist/_chunks/chunk-SV3NF7GO.js +1 -0
  23. package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
  24. package/dist/_chunks/chunk-U7ECMITP.js +1 -0
  25. package/dist/_chunks/chunk-VD3OQ743.js +1 -0
  26. package/dist/_chunks/chunk-VKLS4QK5.js +1 -0
  27. package/dist/_chunks/chunk-W6C63ZN7.js +1 -0
  28. package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
  29. package/dist/_chunks/connect-6UH7ZFAC.js +1 -0
  30. package/dist/_chunks/device-management-H3NIDIPY.js +1 -0
  31. package/dist/_chunks/device-preflight-LHFLPVAB.js +1 -0
  32. package/dist/_chunks/devices-inventory-I2E3Q4DA.js +1 -0
  33. package/dist/_chunks/devices-main-VV2VYU4T.js +1 -0
  34. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  35. package/dist/_chunks/host-main-3JFGVU5P.js +1 -0
  36. package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
  37. package/dist/_chunks/library-main-CTBW7DAI.js +1 -0
  38. package/dist/_chunks/local-main-227MNGEC.js +1 -0
  39. package/dist/_chunks/local-mcp-XB6E3V2W.js +1 -0
  40. package/dist/_chunks/main-W6NNZFLK.js +2 -0
  41. package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
  42. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  43. package/dist/_chunks/render-main-VTM6WGFP.js +1 -0
  44. package/dist/_chunks/source-import-KKV2UWJO.js +1 -0
  45. package/dist/_chunks/src-OIY5TBQT.js +1 -0
  46. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-Y7N4NVKU.js} +1 -1
  47. package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
  48. package/dist/_types/cli/local/desktop-contract.d.ts +2027 -1
  49. package/dist/_types/cli/local/desktop-device-contract.d.ts +792 -0
  50. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  51. package/dist/_types/cli/local/desktop-device-owner.d.ts +270 -0
  52. package/dist/_types/cli/local/desktop-device-state.d.ts +449 -0
  53. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  54. package/dist/_types/cli/local/desktop-owner.d.ts +784 -1
  55. package/dist/_types/cli/local/ledger.d.ts +74 -20
  56. package/dist/_types/cli/local/manager.d.ts +1255 -49
  57. package/dist/_types/cli/local/mcp-tools.d.ts +296 -54
  58. package/dist/_types/cli/local/releases.d.ts +30 -7
  59. package/dist/_types/cli/local-management.d.ts +8 -0
  60. package/dist/_types/cli/local-navigation.d.ts +1 -0
  61. package/dist/_types/contracts/artifact-discovery.d.ts +136 -4
  62. package/dist/_types/contracts/audio.d.ts +166 -0
  63. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  64. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  65. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  66. package/dist/_types/contracts/composition-render.d.ts +8 -8
  67. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  68. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  69. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  70. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  71. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  72. package/dist/_types/contracts/delivery-operations.d.ts +201 -3909
  73. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  74. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  75. package/dist/_types/contracts/device-render.d.ts +79 -0
  76. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  77. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  78. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  79. package/dist/_types/contracts/final-ready.d.ts +22 -22
  80. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  81. package/dist/_types/contracts/human-identity.d.ts +13 -0
  82. package/dist/_types/contracts/human-links.d.ts +58 -0
  83. package/dist/_types/contracts/index.d.ts +10 -0
  84. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  85. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  86. package/dist/_types/contracts/interface/production-snapshot.d.ts +75 -193
  87. package/dist/_types/contracts/interface/query.d.ts +60 -0
  88. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  89. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  90. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  91. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  92. package/dist/_types/contracts/local-execution/agent-review.d.ts +522 -64
  93. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  94. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  95. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  96. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  97. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  98. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  99. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  100. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  101. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  102. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  103. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  104. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  105. package/dist/_types/contracts/local-execution/device.d.ts +22 -54
  106. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  107. package/dist/_types/contracts/local-execution/index.d.ts +32 -0
  108. package/dist/_types/contracts/local-execution/ipc.d.ts +2774 -230
  109. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  110. package/dist/_types/contracts/local-execution/library-result.d.ts +424 -0
  111. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  112. package/dist/_types/contracts/local-execution/lifecycle.d.ts +289 -47
  113. package/dist/_types/contracts/local-execution/local-navigation.d.ts +285 -65
  114. package/dist/_types/contracts/local-execution/management.d.ts +404 -0
  115. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  116. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  117. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  118. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  119. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  120. package/dist/_types/contracts/local-execution/preview.d.ts +176 -3561
  121. package/dist/_types/contracts/local-execution/processor-capability.d.ts +41 -0
  122. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  123. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1165 -0
  124. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  125. package/dist/_types/contracts/local-execution/processor.d.ts +6354 -0
  126. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  127. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  128. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  129. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  130. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  131. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  132. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  133. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  134. package/dist/_types/contracts/media-category.d.ts +11 -0
  135. package/dist/_types/contracts/media-observation.d.ts +929 -8
  136. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  137. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  138. package/dist/_types/contracts/navigation-context.d.ts +2 -2
  139. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  140. package/dist/_types/contracts/navigation.d.ts +60 -20
  141. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  142. package/dist/_types/contracts/production-creation.d.ts +30 -0
  143. package/dist/_types/contracts/production.d.ts +30 -0
  144. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  145. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  146. package/dist/_types/contracts/project-library.d.ts +30 -0
  147. package/dist/_types/contracts/project.d.ts +30 -0
  148. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  149. package/dist/_types/contracts/provider-models.d.ts +209 -8
  150. package/dist/_types/contracts/provider.d.ts +66 -1
  151. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  152. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  153. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  154. package/dist/_types/contracts/repair-strategy.d.ts +164 -4479
  155. package/dist/_types/contracts/review-intelligence-final-output.d.ts +417 -8149
  156. package/dist/_types/contracts/review-intelligence.d.ts +452 -11420
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  159. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  160. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  161. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  162. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  163. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  164. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  165. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  166. package/dist/_types/contracts/speech.d.ts +602 -22
  167. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  168. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  169. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  170. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  171. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  172. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  173. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  174. package/dist/_types/contracts/timeline.d.ts +50 -4850
  175. package/dist/_types/contracts/transcription.d.ts +1 -1
  176. package/dist/_types/contracts/video-generation.d.ts +33 -0
  177. package/dist/_types/contracts/visual-exploration.d.ts +1 -1
  178. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  179. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  180. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  181. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  182. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  183. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  184. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  185. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  186. package/dist/_types/contracts/workspace.d.ts +62 -0
  187. package/dist/_types/sdk/errors.d.ts +8 -3
  188. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  189. package/dist/_types/sdk/local-runtime/device-client.d.ts +180 -18
  190. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  191. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  192. package/dist/_types/sdk/local-runtime-client.d.ts +1917 -92
  193. package/dist/entry.js +1 -1
  194. package/dist/local-management.js +1 -1
  195. package/dist/local-navigation.js +1 -1
  196. package/dist/native/JobNative.cs +10 -0
  197. package/dist/native/JobRunner.cs +24 -3
  198. package/dist/native/NativeMain.cs +15 -0
  199. package/package.json +2 -8
  200. package/README.md +0 -78
  201. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  202. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  203. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  204. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  205. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  206. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  207. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  208. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  209. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  210. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  211. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  212. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  213. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  214. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  215. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  216. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  217. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -1,5 +1,775 @@
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: "READY" | "PAUSED" | "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: "READY" | "CONNECTED" | "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" | "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: "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE" | "PREVIEW";
374
+ phase: "SENDING" | "PREPARED" | "REFUSED";
375
+ fingerprint: string;
376
+ } | null;
377
+ installation?: {
378
+ version: string;
379
+ fingerprint: string;
380
+ workProtocol?: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2" | undefined;
381
+ } | null | undefined;
382
+ automaticConnection?: boolean | undefined;
383
+ };
384
+ command?: {
385
+ kind: "ENROLL";
386
+ input: {
387
+ tenantId: string;
388
+ requestId: string;
389
+ label: string;
390
+ platform: {
391
+ os: "darwin" | "linux" | "win32";
392
+ architecture: "arm64" | "x64";
393
+ };
394
+ runtimeVersion: string;
395
+ publicKey: {
396
+ kty: "EC";
397
+ crv: "P-256";
398
+ x: string;
399
+ y: string;
400
+ };
401
+ };
402
+ } | {
403
+ kind: "REVOKE_DEVICE";
404
+ input: {
405
+ tenantId: string;
406
+ deviceId: string;
407
+ requestId: string;
408
+ expectedRevision: number;
409
+ };
410
+ } | {
411
+ kind: "PREVIEW";
412
+ input: {
413
+ tenantId: string & import("zod").$brand<"TenantId">;
414
+ productionId: string & import("zod").$brand<"ProductionId">;
415
+ idempotencyKey: string;
416
+ expectedProductionRevision: number;
417
+ timelineVersionId: string;
418
+ profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
419
+ timelineFingerprint: string;
420
+ placement: {
421
+ mode: "local-only";
422
+ deviceId: string;
423
+ } | {
424
+ mode: "local-preferred";
425
+ deviceId: string;
426
+ } | {
427
+ mode: "cloud-only";
428
+ };
429
+ localProfile?: "STUDIO_MEDIA_V2" | undefined;
430
+ };
431
+ } | {
432
+ kind: "FINAL_RENDER";
433
+ input: {
434
+ tenantId: string & import("zod").$brand<"TenantId">;
435
+ productionId: string & import("zod").$brand<"ProductionId">;
436
+ idempotencyKey: string;
437
+ expectedProductionRevision: number;
438
+ timelineVersionId: string;
439
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
440
+ timelineFingerprint: string;
441
+ selectionId: string;
442
+ audioPolicy: "SILENT" | "MIXED";
443
+ captionPolicy: "NONE" | "BURN_IN";
444
+ expectedFinalReadyVersion: number;
445
+ placement: {
446
+ mode: "local-only";
447
+ deviceId: string;
448
+ } | {
449
+ mode: "local-preferred";
450
+ deviceId: string;
451
+ } | {
452
+ mode: "cloud-only";
453
+ };
454
+ };
455
+ } | undefined;
456
+ mediaValidationSupported?: boolean | undefined;
457
+ mediaProcessingSupported?: boolean | undefined;
458
+ localLibrarySupported?: boolean | undefined;
459
+ compositionProcessingSupported?: boolean | undefined;
460
+ } | {
461
+ operation: "library-import";
462
+ input: {
463
+ requestId: string;
464
+ reference: {
465
+ tenantId: string;
466
+ projectId: string;
467
+ fileId: string;
468
+ versionId: string;
469
+ checksumSha256: string;
470
+ byteSize: number;
471
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
472
+ deviceId: string;
473
+ };
474
+ ownerKey: string;
475
+ title: string;
476
+ };
477
+ file: string;
478
+ } | {
479
+ history: {
480
+ id: string;
481
+ projectId: string;
482
+ productionId: string;
483
+ kind: "PROGRAMMATIC" | "IMAGE" | "VIDEO" | "ROUGH_CUT";
484
+ pendingMedia: boolean;
485
+ }[];
486
+ pendingGrant: boolean;
487
+ probe?: {
488
+ configured: boolean;
489
+ available: boolean;
490
+ reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
491
+ grantFingerprint: string | null;
492
+ inference: "REMOTE_OPENAI";
493
+ } | undefined;
494
+ discovery?: {
495
+ candidate: {
496
+ binary: string;
497
+ binaryDigest: string;
498
+ version: string;
499
+ qualified: boolean;
500
+ } | null;
501
+ configured: {
502
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
503
+ binary: string;
504
+ binaryDigest: string;
505
+ version: "0.164.0" | "0.165.0";
506
+ model: string;
507
+ reviewerLabel: string;
508
+ inference: "REMOTE_OPENAI";
509
+ remoteUseApproved: true;
510
+ projects: {
511
+ tenantId: string;
512
+ projectId: string;
513
+ }[];
514
+ expiresAt: string;
515
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
516
+ imageDisclosureApproved?: true | undefined;
517
+ mediaDisclosureApproved?: true | undefined;
518
+ } | null;
519
+ } | undefined;
520
+ review?: {
521
+ plan: {
522
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
523
+ id: string;
524
+ grantFingerprint: string;
525
+ snapshot: {
526
+ basis: {
527
+ scope: {
528
+ tenantId: string & import("zod").$brand<"TenantId">;
529
+ projectId: string & import("zod").$brand<"ProjectId">;
530
+ productionId: string & import("zod").$brand<"ProductionId">;
531
+ };
532
+ target: {
533
+ kind: "IMAGE";
534
+ generationId: string;
535
+ } | {
536
+ kind: "VIDEO";
537
+ generationId: string;
538
+ } | {
539
+ kind: "ROUGH_CUT";
540
+ renderId: string;
541
+ } | {
542
+ kind: "PROGRAMMATIC";
543
+ renderId: string;
544
+ };
545
+ contextFingerprint: string;
546
+ };
547
+ productionRevision: number;
548
+ reviewVersion: number;
549
+ executionClass: "LIVE" | "TEST_ONLY";
550
+ media: {
551
+ artifactId: string;
552
+ representationId: string;
553
+ checksumSha256: string;
554
+ };
555
+ requirements: ({
556
+ key: string;
557
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
558
+ expected: string;
559
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
560
+ scope: "PRODUCTION" | "TRANSITION";
561
+ interval: {
562
+ startMs: number;
563
+ endMs: number;
564
+ };
565
+ shotIds: string[];
566
+ voiceIdentity?: {
567
+ qualified: boolean;
568
+ evidenceFingerprint: string;
569
+ listeningIntervals: {
570
+ startMs: number;
571
+ endMs: number;
572
+ }[];
573
+ sourceAudioVersionIds: string[];
574
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
575
+ } | undefined;
576
+ continuity?: {
577
+ kind: "STATE";
578
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
579
+ entry: string;
580
+ exit: string;
581
+ changes?: {
582
+ atPermille: number;
583
+ from: string;
584
+ to: string;
585
+ reason: string;
586
+ }[] | undefined;
587
+ } | {
588
+ kind: "TIME";
589
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
590
+ entryMs: number;
591
+ exitMs: number;
592
+ jumps?: {
593
+ atPermille: number;
594
+ fromMs: number;
595
+ toMs: number;
596
+ reason: string;
597
+ }[] | undefined;
598
+ } | undefined;
599
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
600
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
601
+ consistencySubject?: {
602
+ id: string;
603
+ kind: "CHARACTER" | "VOICE";
604
+ displayName: string;
605
+ facts: {
606
+ dimension: string;
607
+ value: string;
608
+ }[];
609
+ master: {
610
+ artifactId: string & import("zod").$brand<"ArtifactId">;
611
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
612
+ checksumSha256: string;
613
+ artifactChecksumSha256: string;
614
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
615
+ };
616
+ voiceExpectation?: {
617
+ voiceProfile: {
618
+ ownerSystem: string;
619
+ ownerTenantRef: string;
620
+ voiceProfileRef: string;
621
+ version: number;
622
+ digest: string;
623
+ };
624
+ referenceId: string;
625
+ } | undefined;
626
+ } | undefined;
627
+ consistencyReference?: {
628
+ artifactId: string & import("zod").$brand<"ArtifactId">;
629
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
630
+ checksumSha256: string;
631
+ artifactChecksumSha256: string;
632
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
633
+ } | undefined;
634
+ } | {
635
+ key: string;
636
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
637
+ expected: string;
638
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
639
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
640
+ intentPath?: string | undefined;
641
+ continuity?: {
642
+ kind: "STATE";
643
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
644
+ entry: string;
645
+ exit: string;
646
+ changes?: {
647
+ atPermille: number;
648
+ from: string;
649
+ to: string;
650
+ reason: string;
651
+ }[] | undefined;
652
+ } | {
653
+ kind: "TIME";
654
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
655
+ entryMs: number;
656
+ exitMs: number;
657
+ jumps?: {
658
+ atPermille: number;
659
+ fromMs: number;
660
+ toMs: number;
661
+ reason: string;
662
+ }[] | undefined;
663
+ } | undefined;
664
+ interval?: {
665
+ startMs: number;
666
+ endMs: number;
667
+ } | undefined;
668
+ } | {
669
+ key: string;
670
+ expected: string;
671
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
672
+ intentPath?: string | undefined;
673
+ })[];
674
+ evidence?: {
675
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
676
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
677
+ byteSize: number;
678
+ width: number;
679
+ height: number;
680
+ durationMs?: number | undefined;
681
+ frameRate?: 30 | 24 | undefined;
682
+ hasAudio?: boolean | undefined;
683
+ } | undefined;
684
+ image?: {
685
+ contentType: "image/png";
686
+ byteSize: number;
687
+ width: number;
688
+ height: number;
689
+ } | undefined;
690
+ };
691
+ expiresAt: string;
692
+ fingerprint: string;
693
+ };
694
+ revision: number;
695
+ phase: "RUNNING" | "UNKNOWN" | "PREPARED" | "RESULT_PENDING";
696
+ answer: {
697
+ summary: string;
698
+ observations: {
699
+ key: string;
700
+ observed: string;
701
+ }[];
702
+ } | {
703
+ summary: string;
704
+ imageReadback: string;
705
+ observations: {
706
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
707
+ confidence: "CLEAR" | "UNCERTAIN";
708
+ observed: string;
709
+ key: string;
710
+ }[];
711
+ } | null;
712
+ provenance: {
713
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
714
+ binaryDigest: string;
715
+ version: "0.164.0" | "0.165.0";
716
+ model: string;
717
+ reviewerLabel: string;
718
+ inference: "REMOTE_OPENAI";
719
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
720
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
721
+ };
722
+ imageReceipt?: {
723
+ protocol: "NVS_LOCAL_AGENT_IMAGE_V1";
724
+ draftId: string;
725
+ media: {
726
+ artifactId: string;
727
+ representationId: string;
728
+ checksumSha256: string;
729
+ };
730
+ byteSize: number;
731
+ contentType: "image/png";
732
+ width: number;
733
+ height: number;
734
+ } | undefined;
735
+ evidenceReceipt?: {
736
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
737
+ draftId: string;
738
+ media: {
739
+ artifactId: string;
740
+ representationId: string;
741
+ checksumSha256: string;
742
+ };
743
+ ffmpegDigest: string;
744
+ ffprobeDigest: string;
745
+ attachment: {
746
+ checksumSha256: string;
747
+ byteSize: number;
748
+ width: number;
749
+ height: number;
750
+ };
751
+ timestampsMs: number[];
752
+ audio: {
753
+ sampleRateHz: 48000;
754
+ channels: 1;
755
+ samples: number;
756
+ peak: number;
757
+ rms: number;
758
+ clippedSamples: number;
759
+ } | null;
760
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
761
+ } | undefined;
762
+ } | undefined;
763
+ } | {
764
+ id: string;
765
+ mode: "BACKUP" | "MIGRATE";
766
+ revision: number;
767
+ phase: "CANCELLED" | "COMPLETE" | "PREPARED" | "DRAINING" | "VERIFYING" | "COPYING" | "COPIED";
768
+ expiresAt: string;
769
+ fingerprint: string;
770
+ bytes: number;
771
+ installationFingerprint: string;
772
+ } | {
3
773
  protocol: "NVS_DESKTOP_OWNER_PLAN_V1";
4
774
  plan: {
5
775
  kind: "APPLY" | "RECOVER";
@@ -9,6 +779,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
9
779
  previousVersion: string | null;
10
780
  expiresAt: string;
11
781
  phase: string;
782
+ toolMode?: "INSTALLED" | "MANAGED" | undefined;
12
783
  } | null;
13
784
  } | {
14
785
  protocol: "NVS_DESKTOP_CHANNEL_INFO_V1";
@@ -21,6 +792,18 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
21
792
  state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
22
793
  activeVersion: string | null;
23
794
  phase: string;
795
+ toolMode?: "INSTALLED" | "MANAGED" | null | undefined;
796
+ speech?: {
797
+ voiceIds: number[];
798
+ } | undefined;
799
+ } | {
800
+ id: string;
801
+ fingerprint: string;
802
+ version: string;
803
+ host: string;
804
+ bytes: number;
805
+ expiresAt: string;
806
+ installed: boolean;
24
807
  } | {
25
808
  protocol: "NVS_DESKTOP_RUNTIME_UPDATES_V1";
26
809
  activeVersion: string | null;
@@ -29,4 +812,4 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
29
812
  rejected: boolean;
30
813
  }[];
31
814
  notifications: boolean;
32
- }>;
815
+ } | null>;