@nativestudio/cli 0.3.0-rc.5 → 0.3.0-rc.7

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 (162) hide show
  1. package/COMPATIBILITY.json +7 -7
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +3 -3
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/{chunk-CA54SKBO.js → chunk-6SYHA2B4.js} +1 -1
  6. package/dist/_chunks/{chunk-GJ7BZJLW.js → chunk-A7EUJNCL.js} +1 -1
  7. package/dist/_chunks/chunk-AJ7S73M4.js +1 -0
  8. package/dist/_chunks/chunk-DRHPICBU.js +1 -0
  9. package/dist/_chunks/chunk-FCHO4AVP.js +1 -0
  10. package/dist/_chunks/chunk-JH5QP6PC.js +1 -0
  11. package/dist/_chunks/chunk-LF442QV6.js +1 -0
  12. package/dist/_chunks/chunk-LUBHPAPW.js +1 -0
  13. package/dist/_chunks/chunk-OZ5KZSTM.js +1 -0
  14. package/dist/_chunks/chunk-RJ4QQF7E.js +1 -0
  15. package/dist/_chunks/chunk-RT5PFKYS.js +1 -0
  16. package/dist/_chunks/chunk-SIJPJIBO.js +1 -0
  17. package/dist/_chunks/{chunk-KNFUMWDY.js → chunk-TCZJLYSR.js} +1 -1
  18. package/dist/_chunks/chunk-TTFDNLQE.js +1 -0
  19. package/dist/_chunks/chunk-URKX77KR.js +1 -0
  20. package/dist/_chunks/chunk-XRYARPEL.js +1 -0
  21. package/dist/_chunks/device-management-4XIITODX.js +1 -0
  22. package/dist/_chunks/device-preflight-SDA7Q3LH.js +1 -0
  23. package/dist/_chunks/devices-inventory-RVHGI2YW.js +1 -0
  24. package/dist/_chunks/devices-main-WOILNAGY.js +1 -0
  25. package/dist/_chunks/http-profile-XCHTSJV4.js +1 -0
  26. package/dist/_chunks/library-main-ZQKJQNHE.js +1 -0
  27. package/dist/_chunks/local-main-DX47PKHX.js +1 -0
  28. package/dist/_chunks/local-mcp-HMS5ODZN.js +1 -0
  29. package/dist/_chunks/main-HQGVZ2O2.js +2 -0
  30. package/dist/_chunks/mcp-6Q4ALHN6.js +1 -0
  31. package/dist/_chunks/project-connect-U2IHGC5W.js +1 -0
  32. package/dist/_chunks/render-main-A2AABFAG.js +1 -0
  33. package/dist/_chunks/source-import-5N4KZMTC.js +1 -0
  34. package/dist/_chunks/src-NIMTPR5W.js +1 -0
  35. package/dist/_chunks/{stdio-main-4Z2JVCMO.js → stdio-main-JJCNIY4H.js} +1 -1
  36. package/dist/_chunks/workspace-main-ZIZO4WRI.js +1 -0
  37. package/dist/_types/cli/local/desktop-contract.d.ts +1077 -564
  38. package/dist/_types/cli/local/desktop-device-contract.d.ts +170 -556
  39. package/dist/_types/cli/local/desktop-device-owner.d.ts +16 -50
  40. package/dist/_types/cli/local/desktop-device-state.d.ts +198 -31
  41. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  42. package/dist/_types/cli/local/desktop-owner.d.ts +220 -39
  43. package/dist/_types/cli/local/ledger.d.ts +2 -0
  44. package/dist/_types/cli/local/manager.d.ts +352 -22
  45. package/dist/_types/cli/local/mcp-tools.d.ts +218 -39
  46. package/dist/_types/cli/local/project-render-tools.d.ts +8742 -77
  47. package/dist/_types/cli/local-management.d.ts +2 -1
  48. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  49. package/dist/_types/contracts/audio.d.ts +4 -0
  50. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  51. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  52. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  53. package/dist/_types/contracts/composition-render.d.ts +8 -8
  54. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  55. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  56. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
  57. package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
  58. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  59. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  60. package/dist/_types/contracts/device-render.d.ts +67 -0
  61. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  62. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
  63. package/dist/_types/contracts/external-agent-access.d.ts +9 -3
  64. package/dist/_types/contracts/final-ready.d.ts +22 -22
  65. package/dist/_types/contracts/final-render.d.ts +1569 -6949
  66. package/dist/_types/contracts/human-identity.d.ts +13 -0
  67. package/dist/_types/contracts/index.d.ts +3 -0
  68. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  69. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  70. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  71. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
  72. package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
  73. package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  77. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  78. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  79. package/dist/_types/contracts/local-execution/device.d.ts +19 -59
  80. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  81. package/dist/_types/contracts/local-execution/index.d.ts +19 -0
  82. package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
  83. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  84. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  85. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  86. package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
  87. package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
  88. package/dist/_types/contracts/local-execution/management.d.ts +214 -208
  89. package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
  90. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  91. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  92. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  93. package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
  94. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  95. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  96. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  97. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  98. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  99. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  100. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  101. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  102. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  103. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  104. package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
  105. package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
  106. package/dist/_types/contracts/media-category.d.ts +11 -0
  107. package/dist/_types/contracts/media-observation.d.ts +929 -8
  108. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  109. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  110. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
  111. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  112. package/dist/_types/contracts/provider-models.d.ts +16 -8
  113. package/dist/_types/contracts/provider.d.ts +66 -1
  114. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  115. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  116. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  117. package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
  118. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
  119. package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
  120. package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
  121. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
  122. package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
  123. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  124. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  125. package/dist/_types/contracts/speech.d.ts +149 -0
  126. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  127. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  128. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  129. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  130. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  131. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  132. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  133. package/dist/_types/contracts/timeline.d.ts +50 -4850
  134. package/dist/_types/contracts/transcription.d.ts +1 -1
  135. package/dist/_types/contracts/video-generation.d.ts +33 -0
  136. package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
  137. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  138. package/dist/_types/contracts/workspace.d.ts +22 -0
  139. package/dist/_types/sdk/errors.d.ts +1 -1
  140. package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
  141. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  142. package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
  143. package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
  144. package/dist/entry.js +1 -1
  145. package/dist/local-management.js +1 -1
  146. package/dist/local-navigation.js +1 -1
  147. package/package.json +2 -8
  148. package/README.md +0 -119
  149. package/dist/_chunks/chunk-D533YC7J.js +0 -1
  150. package/dist/_chunks/chunk-INLSOHAK.js +0 -1
  151. package/dist/_chunks/chunk-JPH576UL.js +0 -1
  152. package/dist/_chunks/chunk-N6S6HCWE.js +0 -1
  153. package/dist/_chunks/chunk-PBEHCYR7.js +0 -1
  154. package/dist/_chunks/chunk-RVGDXRPK.js +0 -1
  155. package/dist/_chunks/chunk-YKOJPJZR.js +0 -1
  156. package/dist/_chunks/local-main-S2K34Y2F.js +0 -1
  157. package/dist/_chunks/local-mcp-LCHXL2IE.js +0 -1
  158. package/dist/_chunks/main-KLXOK7QK.js +0 -2
  159. package/dist/_chunks/mcp-P7W623FE.js +0 -1
  160. package/dist/_chunks/project-connect-W7V3OALV.js +0 -1
  161. package/dist/_chunks/render-main-ZW6UJHGN.js +0 -1
  162. package/dist/_chunks/src-BXLFLNRG.js +0 -1
@@ -1,5 +1,86 @@
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
+ } | {
3
84
  historical: true;
4
85
  items: {
5
86
  snapshot: {
@@ -18,10 +99,111 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
18
99
  revision: number;
19
100
  };
20
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;
21
202
  } | {
22
203
  settings: {
23
204
  revision: number;
24
205
  policy: {
206
+ acceptNewWork: boolean;
25
207
  mode: "CONTINUOUS" | "IDLE_ONLY";
26
208
  idleAfterSeconds: number;
27
209
  maxConcurrentJobs: number;
@@ -43,7 +225,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
43
225
  ownerStagingBytes?: number | undefined;
44
226
  };
45
227
  scheduling: {
46
- state: "READY" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
228
+ state: "READY" | "PAUSED" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
47
229
  activeJobs: number;
48
230
  idleObservationCurrent: boolean;
49
231
  };
@@ -55,6 +237,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
55
237
  settings: {
56
238
  revision: number;
57
239
  policy: {
240
+ acceptNewWork: boolean;
58
241
  mode: "CONTINUOUS" | "IDLE_ONLY";
59
242
  idleAfterSeconds: number;
60
243
  maxConcurrentJobs: number;
@@ -81,11 +264,29 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
81
264
  code: string;
82
265
  observedAt: string;
83
266
  }[];
267
+ } | {
268
+ operation: "library-import";
269
+ input: {
270
+ requestId: string;
271
+ reference: {
272
+ tenantId: string;
273
+ projectId: string;
274
+ fileId: string;
275
+ versionId: string;
276
+ checksumSha256: string;
277
+ byteSize: number;
278
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
279
+ deviceId: string;
280
+ };
281
+ ownerKey: string;
282
+ title: string;
283
+ };
284
+ file: string;
84
285
  } | {
85
286
  history: {
86
287
  id: string;
87
288
  projectId: string;
88
- kind: "PROGRAMMATIC" | "ROUGH_CUT" | "IMAGE" | "VIDEO";
289
+ kind: "PROGRAMMATIC" | "IMAGE" | "VIDEO" | "ROUGH_CUT";
89
290
  productionId: string;
90
291
  pendingMedia: boolean;
91
292
  }[];
@@ -365,7 +566,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
365
566
  previousVersion: string | null;
366
567
  expiresAt: string;
367
568
  phase: string;
368
- toolMode?: "MANAGED" | "INSTALLED" | undefined;
569
+ toolMode?: "INSTALLED" | "MANAGED" | undefined;
369
570
  } | null;
370
571
  } | {
371
572
  protocol: "NVS_DESKTOP_CHANNEL_INFO_V1";
@@ -378,7 +579,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
378
579
  state: "UNAVAILABLE" | "RUNNING" | "INSTALL_REQUIRED" | "STOPPED";
379
580
  activeVersion: string | null;
380
581
  phase: string;
381
- toolMode?: "MANAGED" | "INSTALLED" | null | undefined;
582
+ toolMode?: "INSTALLED" | "MANAGED" | null | undefined;
382
583
  } | {
383
584
  id: string;
384
585
  fingerprint: string;
@@ -391,12 +592,12 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
391
592
  view: {
392
593
  revision: number;
393
594
  connection: {
394
- phase: "READY" | "CONNECTING" | "CONNECTED";
595
+ phase: "READY" | "CONNECTED" | "CONNECTING";
395
596
  expiresAt: string;
396
- projects: {
397
- tenantId: string;
398
- projectId: string;
399
- }[];
597
+ deviceRevision: number;
598
+ tenantMediaProcessing?: true | undefined;
599
+ 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;
600
+ tenantMediaValidation?: true | undefined;
400
601
  } | null;
401
602
  previews: ({
402
603
  semanticStatus: "ACCEPTED";
@@ -425,6 +626,7 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
425
626
  mode: "tenant-device-only";
426
627
  deviceId: string;
427
628
  runtimeJobId: string;
629
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
428
630
  } | undefined;
429
631
  } | {
430
632
  semanticStatus: "ACCEPTED";
@@ -456,28 +658,17 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
456
658
  mode: "tenant-device-only";
457
659
  deviceId: string;
458
660
  runtimeJobId: string;
661
+ validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
459
662
  } | undefined;
460
663
  })[];
461
- grants: {
462
- tenantId: string;
463
- projectId: string;
464
- capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
465
- expiresAt: string;
466
- deviceId: string;
467
- deviceRevision: number;
468
- grantId: string;
469
- revision: number;
470
- approvedByPrincipalId: string;
471
- createdAt: string;
472
- revokedAt: string | null;
473
- executionPolicy?: "DEVICE_ONLY" | undefined;
474
- }[];
475
664
  device: {
476
665
  deviceId: string;
477
666
  label: string;
667
+ revision: number;
668
+ revokedAt: string | null;
478
669
  } | null;
479
670
  pending: {
480
- kind: "FINAL_RENDER" | "ENROLL" | "GRANT" | "REVOKE_GRANT" | "PREVIEW";
671
+ kind: "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE" | "PREVIEW";
481
672
  phase: "SENDING" | "PREPARED" | "REFUSED";
482
673
  fingerprint: string;
483
674
  } | null;
@@ -507,24 +698,10 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
507
698
  };
508
699
  };
509
700
  } | {
510
- kind: "GRANT";
701
+ kind: "REVOKE_DEVICE";
511
702
  input: {
512
703
  tenantId: string;
513
- projectId: string;
514
- requestId: string;
515
704
  deviceId: string;
516
- deviceRevision: number;
517
- expectedRevision: number;
518
- expiresAt: string;
519
- capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
520
- executionPolicy?: "DEVICE_ONLY" | undefined;
521
- };
522
- } | {
523
- kind: "REVOKE_GRANT";
524
- input: {
525
- tenantId: string;
526
- projectId: string;
527
- grantId: string;
528
705
  requestId: string;
529
706
  expectedRevision: number;
530
707
  };
@@ -574,6 +751,10 @@ export declare function runDesktopOwnerRequest(home: string, raw: unknown, bundl
574
751
  };
575
752
  };
576
753
  } | undefined;
754
+ mediaValidationSupported?: boolean | undefined;
755
+ mediaProcessingSupported?: boolean | undefined;
756
+ localLibrarySupported?: boolean | undefined;
757
+ compositionProcessingSupported?: boolean | undefined;
577
758
  } | {
578
759
  protocol: "NVS_DESKTOP_RUNTIME_UPDATES_V1";
579
760
  activeVersion: string | null;
@@ -175,6 +175,8 @@ export declare class InstallationLedger {
175
175
  readonly root: string;
176
176
  private constructor();
177
177
  static open(path: string): Promise<InstallationLedger>;
178
+ /** 设备预检只打开已有安装账本,缺少账本时不创建目录。 */
179
+ static openExisting(root: string): Promise<InstallationLedger | null>;
178
180
  current(): Promise<{
179
181
  value: {
180
182
  revision: number;