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

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 (185) hide show
  1. package/COMPATIBILITY.json +33 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +29 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  8. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  9. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  10. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  11. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  12. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  15. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  16. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  17. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  18. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  19. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  20. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  21. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  22. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  23. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  24. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  25. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  26. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  27. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  28. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  29. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  30. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  31. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  32. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  33. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  34. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  35. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  36. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  37. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  38. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  39. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  40. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  41. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  42. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  43. package/dist/_chunks/src-R6DNU336.js +1 -0
  44. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
  45. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  46. package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
  47. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  48. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  49. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  50. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  51. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  52. package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
  53. package/dist/_types/cli/local/ledger.d.ts +64 -10
  54. package/dist/_types/cli/local/manager.d.ts +1146 -43
  55. package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
  56. package/dist/_types/cli/local/releases.d.ts +28 -5
  57. package/dist/_types/cli/local-management.d.ts +5 -0
  58. package/dist/_types/cli/local-navigation.d.ts +1 -0
  59. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  60. package/dist/_types/contracts/audio.d.ts +4 -0
  61. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  62. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  63. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  64. package/dist/_types/contracts/composition-render.d.ts +8 -8
  65. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  66. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  67. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  68. package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
  69. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  70. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  71. package/dist/_types/contracts/device-render.d.ts +77 -0
  72. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  73. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  74. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  75. package/dist/_types/contracts/final-ready.d.ts +22 -22
  76. package/dist/_types/contracts/final-render.d.ts +1569 -6940
  77. package/dist/_types/contracts/human-identity.d.ts +13 -0
  78. package/dist/_types/contracts/index.d.ts +4 -0
  79. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  80. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  81. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  82. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  83. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  84. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  85. package/dist/_types/contracts/local-execution/agent-review.d.ts +496 -64
  86. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  87. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  88. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  89. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  90. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  91. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  92. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  93. package/dist/_types/contracts/local-execution/device.d.ts +19 -51
  94. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  95. package/dist/_types/contracts/local-execution/index.d.ts +26 -0
  96. package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
  97. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  98. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  99. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  100. package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
  101. package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
  102. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  103. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  104. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  105. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  106. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  107. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  108. package/dist/_types/contracts/local-execution/preview.d.ts +144 -3564
  109. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  110. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  111. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  112. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  113. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  114. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  115. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  116. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  117. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  118. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  119. package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
  120. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  121. package/dist/_types/contracts/media-category.d.ts +11 -0
  122. package/dist/_types/contracts/media-observation.d.ts +929 -8
  123. package/dist/_types/contracts/navigation.d.ts +25 -15
  124. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  125. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  126. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  127. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  128. package/dist/_types/contracts/provider-models.d.ts +16 -8
  129. package/dist/_types/contracts/provider.d.ts +66 -1
  130. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  131. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  132. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  133. package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
  134. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
  135. package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
  136. package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
  137. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  138. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
  139. package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
  140. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  141. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  142. package/dist/_types/contracts/speech.d.ts +149 -0
  143. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  145. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  146. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  147. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  148. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  149. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  150. package/dist/_types/contracts/timeline.d.ts +50 -4850
  151. package/dist/_types/contracts/transcription.d.ts +1 -1
  152. package/dist/_types/contracts/video-generation.d.ts +33 -0
  153. package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
  154. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  155. package/dist/_types/contracts/workspace.d.ts +32 -0
  156. package/dist/_types/sdk/errors.d.ts +8 -3
  157. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  158. package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
  159. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  160. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  161. package/dist/_types/sdk/local-runtime-client.d.ts +1773 -89
  162. package/dist/entry.js +1 -1
  163. package/dist/local-management.js +1 -1
  164. package/dist/local-navigation.js +1 -1
  165. package/dist/native/JobNative.cs +10 -0
  166. package/dist/native/JobRunner.cs +24 -3
  167. package/dist/native/NativeMain.cs +15 -0
  168. package/package.json +2 -8
  169. package/README.md +0 -78
  170. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  171. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  172. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  173. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  174. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  175. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  176. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  177. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  178. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  179. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  180. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  181. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  182. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  183. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  184. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  185. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -1,5 +1,729 @@
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" | "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
+ deviceExecution?: {
302
+ mode: "tenant-device-only";
303
+ deviceId: string;
304
+ runtimeJobId: string;
305
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
306
+ } | undefined;
307
+ } | {
308
+ semanticStatus: "ACCEPTED";
309
+ renderId: string;
310
+ operationId: string & import("zod").$brand<"OperationId">;
311
+ productionId: string;
312
+ timelineVersionId: string;
313
+ timelineFingerprint: string;
314
+ executionClass: "LIVE" | "TEST_ONLY";
315
+ manifestFingerprint: string;
316
+ productionRevision: number;
317
+ selectionId: string;
318
+ selectionVersion: number;
319
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
320
+ placement: {
321
+ target: "DEVICE" | "SERVER";
322
+ reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
323
+ policy: {
324
+ mode: "local-only";
325
+ deviceId: string;
326
+ } | {
327
+ mode: "local-preferred";
328
+ deviceId: string;
329
+ } | {
330
+ mode: "cloud-only";
331
+ };
332
+ };
333
+ deviceExecution?: {
334
+ mode: "tenant-device-only";
335
+ deviceId: string;
336
+ runtimeJobId: string;
337
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
338
+ } | undefined;
339
+ })[];
340
+ device: {
341
+ deviceId: string;
342
+ label: string;
343
+ revision: number;
344
+ revokedAt: string | null;
345
+ } | null;
346
+ pending: {
347
+ kind: "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE" | "PREVIEW";
348
+ phase: "SENDING" | "PREPARED" | "REFUSED";
349
+ fingerprint: string;
350
+ } | null;
351
+ installation?: {
352
+ version: string;
353
+ fingerprint: string;
354
+ workProtocol?: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2" | undefined;
355
+ } | null | undefined;
356
+ automaticConnection?: boolean | undefined;
357
+ };
358
+ command?: {
359
+ kind: "ENROLL";
360
+ input: {
361
+ tenantId: string;
362
+ requestId: string;
363
+ label: string;
364
+ platform: {
365
+ os: "darwin" | "linux" | "win32";
366
+ architecture: "x64" | "arm64";
367
+ };
368
+ runtimeVersion: string;
369
+ publicKey: {
370
+ kty: "EC";
371
+ crv: "P-256";
372
+ x: string;
373
+ y: string;
374
+ };
375
+ };
376
+ } | {
377
+ kind: "REVOKE_DEVICE";
378
+ input: {
379
+ tenantId: string;
380
+ deviceId: string;
381
+ requestId: string;
382
+ expectedRevision: number;
383
+ };
384
+ } | {
385
+ kind: "PREVIEW";
386
+ input: {
387
+ tenantId: string & import("zod").$brand<"TenantId">;
388
+ idempotencyKey: string;
389
+ productionId: string & import("zod").$brand<"ProductionId">;
390
+ expectedProductionRevision: number;
391
+ timelineVersionId: string;
392
+ profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
393
+ timelineFingerprint: string;
394
+ placement: {
395
+ mode: "local-only";
396
+ deviceId: string;
397
+ } | {
398
+ mode: "local-preferred";
399
+ deviceId: string;
400
+ } | {
401
+ mode: "cloud-only";
402
+ };
403
+ localProfile?: "STUDIO_MEDIA_V2" | undefined;
404
+ };
405
+ } | {
406
+ kind: "FINAL_RENDER";
407
+ input: {
408
+ tenantId: string & import("zod").$brand<"TenantId">;
409
+ idempotencyKey: string;
410
+ productionId: string & import("zod").$brand<"ProductionId">;
411
+ expectedProductionRevision: number;
412
+ timelineVersionId: string;
413
+ profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
414
+ timelineFingerprint: string;
415
+ selectionId: string;
416
+ audioPolicy: "SILENT" | "MIXED";
417
+ captionPolicy: "NONE" | "BURN_IN";
418
+ expectedFinalReadyVersion: number;
419
+ placement: {
420
+ mode: "local-only";
421
+ deviceId: string;
422
+ } | {
423
+ mode: "local-preferred";
424
+ deviceId: string;
425
+ } | {
426
+ mode: "cloud-only";
427
+ };
428
+ };
429
+ } | undefined;
430
+ mediaValidationSupported?: boolean | undefined;
431
+ mediaProcessingSupported?: boolean | undefined;
432
+ localLibrarySupported?: boolean | undefined;
433
+ compositionProcessingSupported?: boolean | undefined;
434
+ } | {
435
+ operation: "library-import";
436
+ input: {
437
+ requestId: string;
438
+ reference: {
439
+ tenantId: string;
440
+ projectId: string;
441
+ fileId: string;
442
+ versionId: string;
443
+ checksumSha256: string;
444
+ byteSize: number;
445
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
446
+ deviceId: string;
447
+ };
448
+ ownerKey: string;
449
+ title: string;
450
+ };
451
+ file: string;
452
+ } | {
453
+ history: {
454
+ id: string;
455
+ projectId: string;
456
+ kind: "PROGRAMMATIC" | "IMAGE" | "VIDEO" | "ROUGH_CUT";
457
+ productionId: string;
458
+ pendingMedia: boolean;
459
+ }[];
460
+ pendingGrant: boolean;
461
+ probe?: {
462
+ configured: boolean;
463
+ available: boolean;
464
+ reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
465
+ grantFingerprint: string | null;
466
+ inference: "REMOTE_OPENAI";
467
+ } | undefined;
468
+ discovery?: {
469
+ candidate: {
470
+ binary: string;
471
+ binaryDigest: string;
472
+ version: string;
473
+ qualified: boolean;
474
+ } | null;
475
+ configured: {
476
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
477
+ binary: string;
478
+ binaryDigest: string;
479
+ version: "0.164.0" | "0.165.0";
480
+ model: string;
481
+ reviewerLabel: string;
482
+ inference: "REMOTE_OPENAI";
483
+ remoteUseApproved: true;
484
+ projects: {
485
+ tenantId: string;
486
+ projectId: string;
487
+ }[];
488
+ expiresAt: string;
489
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
490
+ imageDisclosureApproved?: true | undefined;
491
+ mediaDisclosureApproved?: true | undefined;
492
+ } | null;
493
+ } | undefined;
494
+ review?: {
495
+ plan: {
496
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
497
+ id: string;
498
+ grantFingerprint: string;
499
+ snapshot: {
500
+ basis: {
501
+ scope: {
502
+ tenantId: string & import("zod").$brand<"TenantId">;
503
+ projectId: string & import("zod").$brand<"ProjectId">;
504
+ productionId: string & import("zod").$brand<"ProductionId">;
505
+ };
506
+ target: {
507
+ kind: "IMAGE";
508
+ generationId: string;
509
+ } | {
510
+ kind: "VIDEO";
511
+ generationId: string;
512
+ } | {
513
+ kind: "ROUGH_CUT";
514
+ renderId: string;
515
+ } | {
516
+ kind: "PROGRAMMATIC";
517
+ renderId: string;
518
+ };
519
+ contextFingerprint: string;
520
+ };
521
+ productionRevision: number;
522
+ reviewVersion: number;
523
+ executionClass: "LIVE" | "TEST_ONLY";
524
+ media: {
525
+ artifactId: string;
526
+ representationId: string;
527
+ checksumSha256: string;
528
+ };
529
+ requirements: ({
530
+ key: string;
531
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
532
+ expected: string;
533
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
534
+ scope: "TRANSITION" | "PRODUCTION";
535
+ interval: {
536
+ startMs: number;
537
+ endMs: number;
538
+ };
539
+ shotIds: string[];
540
+ continuity?: {
541
+ kind: "STATE";
542
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
543
+ entry: string;
544
+ exit: string;
545
+ changes?: {
546
+ atPermille: number;
547
+ from: string;
548
+ to: string;
549
+ reason: string;
550
+ }[] | undefined;
551
+ } | {
552
+ kind: "TIME";
553
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
554
+ entryMs: number;
555
+ exitMs: number;
556
+ jumps?: {
557
+ atPermille: number;
558
+ fromMs: number;
559
+ toMs: number;
560
+ reason: string;
561
+ }[] | undefined;
562
+ } | undefined;
563
+ consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
564
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
565
+ consistencySubject?: {
566
+ id: string;
567
+ kind: "CHARACTER" | "VOICE";
568
+ displayName: string;
569
+ facts: {
570
+ dimension: string;
571
+ value: string;
572
+ }[];
573
+ master: {
574
+ artifactId: string & import("zod").$brand<"ArtifactId">;
575
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
576
+ checksumSha256: string;
577
+ artifactChecksumSha256: string;
578
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
579
+ };
580
+ } | undefined;
581
+ consistencyReference?: {
582
+ artifactId: string & import("zod").$brand<"ArtifactId">;
583
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
584
+ checksumSha256: string;
585
+ artifactChecksumSha256: string;
586
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
587
+ } | undefined;
588
+ } | {
589
+ key: string;
590
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
591
+ expected: string;
592
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
593
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
594
+ intentPath?: string | undefined;
595
+ continuity?: {
596
+ kind: "STATE";
597
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
598
+ entry: string;
599
+ exit: string;
600
+ changes?: {
601
+ atPermille: number;
602
+ from: string;
603
+ to: string;
604
+ reason: string;
605
+ }[] | undefined;
606
+ } | {
607
+ kind: "TIME";
608
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
609
+ entryMs: number;
610
+ exitMs: number;
611
+ jumps?: {
612
+ atPermille: number;
613
+ fromMs: number;
614
+ toMs: number;
615
+ reason: string;
616
+ }[] | undefined;
617
+ } | undefined;
618
+ interval?: {
619
+ startMs: number;
620
+ endMs: number;
621
+ } | undefined;
622
+ } | {
623
+ key: string;
624
+ expected: string;
625
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
626
+ intentPath?: string | undefined;
627
+ })[];
628
+ evidence?: {
629
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
630
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
631
+ byteSize: number;
632
+ width: number;
633
+ height: number;
634
+ durationMs?: number | undefined;
635
+ frameRate?: 30 | 24 | undefined;
636
+ hasAudio?: boolean | undefined;
637
+ } | undefined;
638
+ image?: {
639
+ contentType: "image/png";
640
+ byteSize: number;
641
+ width: number;
642
+ height: number;
643
+ } | undefined;
644
+ };
645
+ expiresAt: string;
646
+ fingerprint: string;
647
+ };
648
+ revision: number;
649
+ phase: "RUNNING" | "UNKNOWN" | "PREPARED" | "RESULT_PENDING";
650
+ answer: {
651
+ summary: string;
652
+ observations: {
653
+ key: string;
654
+ observed: string;
655
+ }[];
656
+ } | {
657
+ summary: string;
658
+ imageReadback: string;
659
+ observations: {
660
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
661
+ confidence: "CLEAR" | "UNCERTAIN";
662
+ observed: string;
663
+ key: string;
664
+ }[];
665
+ } | null;
666
+ provenance: {
667
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
668
+ binaryDigest: string;
669
+ version: "0.164.0" | "0.165.0";
670
+ model: string;
671
+ reviewerLabel: string;
672
+ inference: "REMOTE_OPENAI";
673
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
674
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
675
+ };
676
+ imageReceipt?: {
677
+ protocol: "NVS_LOCAL_AGENT_IMAGE_V1";
678
+ draftId: string;
679
+ media: {
680
+ artifactId: string;
681
+ representationId: string;
682
+ checksumSha256: string;
683
+ };
684
+ byteSize: number;
685
+ contentType: "image/png";
686
+ width: number;
687
+ height: number;
688
+ } | undefined;
689
+ evidenceReceipt?: {
690
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
691
+ draftId: string;
692
+ media: {
693
+ artifactId: string;
694
+ representationId: string;
695
+ checksumSha256: string;
696
+ };
697
+ ffmpegDigest: string;
698
+ ffprobeDigest: string;
699
+ attachment: {
700
+ checksumSha256: string;
701
+ byteSize: number;
702
+ width: number;
703
+ height: number;
704
+ };
705
+ timestampsMs: number[];
706
+ audio: {
707
+ sampleRateHz: 48000;
708
+ channels: 1;
709
+ samples: number;
710
+ peak: number;
711
+ rms: number;
712
+ clippedSamples: number;
713
+ } | null;
714
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
715
+ } | undefined;
716
+ } | undefined;
717
+ } | {
718
+ id: string;
719
+ mode: "BACKUP" | "MIGRATE";
720
+ revision: number;
721
+ phase: "CANCELLED" | "COMPLETE" | "PREPARED" | "DRAINING" | "VERIFYING" | "COPYING" | "COPIED";
722
+ expiresAt: string;
723
+ fingerprint: string;
724
+ bytes: number;
725
+ installationFingerprint: string;
726
+ } | {
3
727
  protocol: "NVS_DESKTOP_OWNER_PLAN_V1";
4
728
  plan: {
5
729
  kind: "APPLY" | "RECOVER";
@@ -9,6 +733,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
9
733
  previousVersion: string | null;
10
734
  expiresAt: string;
11
735
  phase: string;
736
+ toolMode?: "INSTALLED" | "MANAGED" | undefined;
12
737
  } | null;
13
738
  } | {
14
739
  protocol: "NVS_DESKTOP_CHANNEL_INFO_V1";
@@ -21,6 +746,15 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
21
746
  state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
22
747
  activeVersion: string | null;
23
748
  phase: string;
749
+ toolMode?: "INSTALLED" | "MANAGED" | null | undefined;
750
+ } | {
751
+ id: string;
752
+ fingerprint: string;
753
+ version: string;
754
+ host: string;
755
+ bytes: number;
756
+ expiresAt: string;
757
+ installed: boolean;
24
758
  } | {
25
759
  protocol: "NVS_DESKTOP_RUNTIME_UPDATES_V1";
26
760
  activeVersion: string | null;
@@ -29,4 +763,4 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
29
763
  rejected: boolean;
30
764
  }[];
31
765
  notifications: boolean;
32
- }>;
766
+ } | null>;