@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
@@ -6,6 +6,8 @@ export declare class LocalInstallationManager {
6
6
  readonly ledger: InstallationLedger;
7
7
  private constructor();
8
8
  static open(root: string): Promise<LocalInstallationManager>;
9
+ /** 为只读诊断打开已有安装,不初始化任何安装资源。 */
10
+ static openExisting(root: string): Promise<LocalInstallationManager | null>;
9
11
  configure(raw: unknown, options?: {
10
12
  ifAbsent?: boolean;
11
13
  }): Promise<{
@@ -161,8 +163,6 @@ export declare class LocalInstallationManager {
161
163
  expiresAt: string;
162
164
  trustFingerprint?: string | undefined;
163
165
  toolSelection?: {
164
- mode: "MANAGED";
165
- } | {
166
166
  ffmpeg: {
167
167
  path: string;
168
168
  digest: string;
@@ -172,6 +172,17 @@ export declare class LocalInstallationManager {
172
172
  digest: string;
173
173
  };
174
174
  mode: "INSTALLED";
175
+ compositionBrowser?: {
176
+ path: string;
177
+ digest: string;
178
+ } | undefined;
179
+ whisper?: {
180
+ binaryPath: string;
181
+ binarySha256: string;
182
+ modelPath: string;
183
+ } | undefined;
184
+ } | {
185
+ mode: "MANAGED";
175
186
  } | undefined;
176
187
  }>;
177
188
  plan(id: string): Promise<{
@@ -227,8 +238,6 @@ export declare class LocalInstallationManager {
227
238
  expiresAt: string;
228
239
  trustFingerprint?: string | undefined;
229
240
  toolSelection?: {
230
- mode: "MANAGED";
231
- } | {
232
241
  ffmpeg: {
233
242
  path: string;
234
243
  digest: string;
@@ -238,6 +247,17 @@ export declare class LocalInstallationManager {
238
247
  digest: string;
239
248
  };
240
249
  mode: "INSTALLED";
250
+ compositionBrowser?: {
251
+ path: string;
252
+ digest: string;
253
+ } | undefined;
254
+ whisper?: {
255
+ binaryPath: string;
256
+ binarySha256: string;
257
+ modelPath: string;
258
+ } | undefined;
259
+ } | {
260
+ mode: "MANAGED";
241
261
  } | undefined;
242
262
  }>;
243
263
  private transition;
@@ -502,15 +522,73 @@ export declare class LocalInstallationManager {
502
522
  } | null;
503
523
  limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
504
524
  } | undefined;
525
+ } | {
526
+ reference: {
527
+ tenantId: string;
528
+ projectId: string;
529
+ fileId: string;
530
+ versionId: string;
531
+ checksumSha256: string;
532
+ byteSize: number;
533
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
534
+ deviceId: string;
535
+ };
536
+ ownerKey: string;
537
+ title: string;
538
+ createdAt: string;
539
+ revision: number;
540
+ access: {
541
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
542
+ desired: {
543
+ reference: {
544
+ tenantId: string;
545
+ projectId: string;
546
+ fileId: string;
547
+ versionId: string;
548
+ checksumSha256: string;
549
+ byteSize: number;
550
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
551
+ deviceId: string;
552
+ };
553
+ requestId: string;
554
+ expectedRevision: number;
555
+ metadata: {
556
+ label: string;
557
+ } | null;
558
+ allowInspect: boolean;
559
+ allowPublish: boolean;
560
+ expiresAt: string;
561
+ } | null;
562
+ confirmed: {
563
+ reference: {
564
+ tenantId: string;
565
+ projectId: string;
566
+ fileId: string;
567
+ versionId: string;
568
+ checksumSha256: string;
569
+ byteSize: number;
570
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
571
+ deviceId: string;
572
+ };
573
+ requestId: string;
574
+ expectedRevision: number;
575
+ metadata: {
576
+ label: string;
577
+ } | null;
578
+ allowInspect: boolean;
579
+ allowPublish: boolean;
580
+ expiresAt: string;
581
+ revision: number;
582
+ recordedAt: string;
583
+ } | null;
584
+ };
505
585
  } | {
506
586
  protocol: "NVS_LOCAL_CONNECTOR_V1";
507
587
  stateDirectory: string;
508
588
  credential: string;
509
589
  expiresAt: string;
510
- projects: {
511
- tenantId: string;
512
- projectId: string;
513
- }[];
590
+ tenantId: string;
591
+ deviceId: string;
514
592
  } | {
515
593
  protocol: "NVS_LOCAL_IPC_V1";
516
594
  runtimeRevision: number;
@@ -525,12 +603,134 @@ export declare class LocalInstallationManager {
525
603
  executablePath: string | null;
526
604
  installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
527
605
  }[];
528
- authorizedProjects: {
529
- tenantId: string;
530
- projectId: string;
531
- }[];
532
606
  nextActions: {
533
607
  call: {
608
+ operation: "library.capability";
609
+ } | {
610
+ operation: "library.call";
611
+ input: {
612
+ tenantId: string;
613
+ after: string | null;
614
+ limit: number;
615
+ deviceId: string;
616
+ action: "list";
617
+ projectId?: string | undefined;
618
+ ownerKey?: string | undefined;
619
+ search?: string | undefined;
620
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
621
+ } | {
622
+ reference: {
623
+ tenantId: string;
624
+ projectId: string;
625
+ fileId: string;
626
+ versionId: string;
627
+ checksumSha256: string;
628
+ byteSize: number;
629
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
630
+ deviceId: string;
631
+ };
632
+ action: "get";
633
+ ownerKey?: string | undefined;
634
+ } | {
635
+ tenantId: string;
636
+ limit: number;
637
+ deviceId: string;
638
+ after: string | null;
639
+ projectId: string;
640
+ action: "scoped-list";
641
+ search?: string | undefined;
642
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
643
+ } | {
644
+ action: "scoped-get";
645
+ reference: {
646
+ tenantId: string;
647
+ projectId: string;
648
+ fileId: string;
649
+ versionId: string;
650
+ checksumSha256: string;
651
+ byteSize: number;
652
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
653
+ deviceId: string;
654
+ };
655
+ } | {
656
+ action: "usage";
657
+ ownerKey?: string | undefined;
658
+ } | {
659
+ reference: {
660
+ tenantId: string;
661
+ projectId: string;
662
+ fileId: string;
663
+ versionId: string;
664
+ checksumSha256: string;
665
+ byteSize: number;
666
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
667
+ deviceId: string;
668
+ };
669
+ offset: number;
670
+ length: number;
671
+ action: "read";
672
+ ownerKey?: string | undefined;
673
+ } | {
674
+ command: {
675
+ reference: {
676
+ tenantId: string;
677
+ projectId: string;
678
+ fileId: string;
679
+ versionId: string;
680
+ checksumSha256: string;
681
+ byteSize: number;
682
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
683
+ deviceId: string;
684
+ };
685
+ requestId: string;
686
+ expectedRevision: number;
687
+ metadata: {
688
+ label: string;
689
+ } | null;
690
+ allowInspect: boolean;
691
+ allowPublish: boolean;
692
+ expiresAt: string;
693
+ };
694
+ expectedLocalRevision: number;
695
+ action: "access";
696
+ ownerKey?: string | undefined;
697
+ } | {
698
+ reference: {
699
+ tenantId: string;
700
+ projectId: string;
701
+ fileId: string;
702
+ versionId: string;
703
+ checksumSha256: string;
704
+ byteSize: number;
705
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
706
+ deviceId: string;
707
+ };
708
+ requestId: string;
709
+ action: "sync";
710
+ ownerKey?: string | undefined;
711
+ } | {
712
+ reference: {
713
+ tenantId: string;
714
+ projectId: string;
715
+ fileId: string;
716
+ versionId: string;
717
+ checksumSha256: string;
718
+ byteSize: number;
719
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
720
+ deviceId: string;
721
+ };
722
+ requestId: string;
723
+ action: "resume-access";
724
+ ownerKey?: string | undefined;
725
+ } | {
726
+ tenantId: string;
727
+ projectId: string;
728
+ deviceId: string;
729
+ requestId: string;
730
+ action: "import-receipt";
731
+ ownerKey?: string | undefined;
732
+ };
733
+ } | {
534
734
  operation: "agent.discover";
535
735
  binary?: string | undefined;
536
736
  } | {
@@ -564,6 +764,7 @@ export declare class LocalInstallationManager {
564
764
  } | {
565
765
  operation: "workspace.configure";
566
766
  policy: {
767
+ acceptNewWork: boolean;
567
768
  mode: "CONTINUOUS" | "IDLE_ONLY";
568
769
  idleAfterSeconds: number;
569
770
  maxConcurrentJobs: number;
@@ -771,10 +972,8 @@ export declare class LocalInstallationManager {
771
972
  operation: "runtime.inventory";
772
973
  } | {
773
974
  operation: "session.issue";
774
- projects: {
775
- tenantId: string;
776
- projectId: string;
777
- }[];
975
+ tenantId: string;
976
+ deviceId: string;
778
977
  expiresAt: string;
779
978
  } | {
780
979
  operation: "runtime.stop";
@@ -818,6 +1017,12 @@ export declare class LocalInstallationManager {
818
1017
  deviceId: string;
819
1018
  origin: string;
820
1019
  } | undefined;
1020
+ deviceCapabilities?: {
1021
+ deviceRevision: number;
1022
+ tenantMediaValidation: boolean;
1023
+ tenantMediaProcessing: boolean;
1024
+ 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")[];
1025
+ } | undefined;
821
1026
  } | {
822
1027
  binding: {
823
1028
  tenantId: string;
@@ -844,6 +1049,27 @@ export declare class LocalInstallationManager {
844
1049
  observedAt: string;
845
1050
  } | null;
846
1051
  } | undefined;
1052
+ } | {
1053
+ items: {
1054
+ reference: {
1055
+ tenantId: string;
1056
+ projectId: string;
1057
+ fileId: string;
1058
+ versionId: string;
1059
+ checksumSha256: string;
1060
+ byteSize: number;
1061
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1062
+ deviceId: string;
1063
+ };
1064
+ metadata: {
1065
+ label: string;
1066
+ } | null;
1067
+ accessRevision: number;
1068
+ allowInspect: boolean;
1069
+ allowPublish: boolean;
1070
+ expiresAt: string;
1071
+ }[];
1072
+ nextCursor: string | null;
847
1073
  } | {
848
1074
  candidate: {
849
1075
  binary: string;
@@ -894,6 +1120,110 @@ export declare class LocalInstallationManager {
894
1120
  revision: number;
895
1121
  };
896
1122
  }[];
1123
+ } | {
1124
+ items: {
1125
+ reference: {
1126
+ tenantId: string;
1127
+ projectId: string;
1128
+ fileId: string;
1129
+ versionId: string;
1130
+ checksumSha256: string;
1131
+ byteSize: number;
1132
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1133
+ deviceId: string;
1134
+ };
1135
+ ownerKey: string;
1136
+ title: string;
1137
+ createdAt: string;
1138
+ revision: number;
1139
+ access: {
1140
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
1141
+ desired: {
1142
+ reference: {
1143
+ tenantId: string;
1144
+ projectId: string;
1145
+ fileId: string;
1146
+ versionId: string;
1147
+ checksumSha256: string;
1148
+ byteSize: number;
1149
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1150
+ deviceId: string;
1151
+ };
1152
+ requestId: string;
1153
+ expectedRevision: number;
1154
+ metadata: {
1155
+ label: string;
1156
+ } | null;
1157
+ allowInspect: boolean;
1158
+ allowPublish: boolean;
1159
+ expiresAt: string;
1160
+ } | null;
1161
+ confirmed: {
1162
+ reference: {
1163
+ tenantId: string;
1164
+ projectId: string;
1165
+ fileId: string;
1166
+ versionId: string;
1167
+ checksumSha256: string;
1168
+ byteSize: number;
1169
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1170
+ deviceId: string;
1171
+ };
1172
+ requestId: string;
1173
+ expectedRevision: number;
1174
+ metadata: {
1175
+ label: string;
1176
+ } | null;
1177
+ allowInspect: boolean;
1178
+ allowPublish: boolean;
1179
+ expiresAt: string;
1180
+ revision: number;
1181
+ recordedAt: string;
1182
+ } | null;
1183
+ };
1184
+ }[];
1185
+ nextCursor: string | null;
1186
+ } | {
1187
+ reference: {
1188
+ tenantId: string;
1189
+ projectId: string;
1190
+ fileId: string;
1191
+ versionId: string;
1192
+ checksumSha256: string;
1193
+ byteSize: number;
1194
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1195
+ deviceId: string;
1196
+ };
1197
+ metadata: {
1198
+ label: string;
1199
+ } | null;
1200
+ accessRevision: number;
1201
+ allowInspect: boolean;
1202
+ allowPublish: boolean;
1203
+ expiresAt: string;
1204
+ } | {
1205
+ reference: {
1206
+ tenantId: string;
1207
+ projectId: string;
1208
+ fileId: string;
1209
+ versionId: string;
1210
+ checksumSha256: string;
1211
+ byteSize: number;
1212
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1213
+ deviceId: string;
1214
+ };
1215
+ offset: number;
1216
+ contentBase64: string;
1217
+ complete: boolean;
1218
+ } | {
1219
+ protocol: "NVS_LOCAL_LIBRARY_V1";
1220
+ available: boolean;
1221
+ profileDigest: string;
1222
+ } | {
1223
+ fileCount: number;
1224
+ totalBytes: number;
1225
+ quotaBytes: number;
1226
+ availableDiskBytes: number;
897
1227
  } | {
898
1228
  runtimeRevision: number;
899
1229
  descriptor: {
@@ -925,6 +1255,7 @@ export declare class LocalInstallationManager {
925
1255
  settings: {
926
1256
  revision: number;
927
1257
  policy: {
1258
+ acceptNewWork: boolean;
928
1259
  mode: "CONTINUOUS" | "IDLE_ONLY";
929
1260
  idleAfterSeconds: number;
930
1261
  maxConcurrentJobs: number;
@@ -946,7 +1277,7 @@ export declare class LocalInstallationManager {
946
1277
  ownerStagingBytes?: number | undefined;
947
1278
  };
948
1279
  scheduling: {
949
- state: "READY" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
1280
+ state: "READY" | "PAUSED" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
950
1281
  activeJobs: number;
951
1282
  idleObservationCurrent: boolean;
952
1283
  };
@@ -958,6 +1289,7 @@ export declare class LocalInstallationManager {
958
1289
  settings: {
959
1290
  revision: number;
960
1291
  policy: {
1292
+ acceptNewWork: boolean;
961
1293
  mode: "CONTINUOUS" | "IDLE_ONLY";
962
1294
  idleAfterSeconds: number;
963
1295
  maxConcurrentJobs: number;
@@ -985,7 +1317,7 @@ export declare class LocalInstallationManager {
985
1317
  observedAt: string;
986
1318
  }[];
987
1319
  } | {
988
- mode: "MANAGED" | "INSTALLED";
1320
+ mode: "INSTALLED" | "MANAGED";
989
1321
  availability: "UNAVAILABLE" | "AVAILABLE";
990
1322
  reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
991
1323
  nativeExecutionReady: boolean;
@@ -1070,10 +1402,8 @@ export declare class LocalInstallationManager {
1070
1402
  }>;
1071
1403
  grant(raw: unknown, output: string): Promise<{
1072
1404
  granted: boolean;
1073
- projects: {
1074
- tenantId: string;
1075
- projectId: string;
1076
- }[];
1405
+ tenantId: string;
1406
+ deviceId: string;
1077
1407
  expiresAt: string;
1078
1408
  }>;
1079
1409
  reconnect(): Promise<{