@nativestudio/cli 0.3.0-rc.6 → 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.
- package/COMPATIBILITY.json +7 -7
- package/LICENSE +201 -21
- package/components/runtime.json +3 -3
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-CA54SKBO.js → chunk-6SYHA2B4.js} +1 -1
- package/dist/_chunks/{chunk-GJ7BZJLW.js → chunk-A7EUJNCL.js} +1 -1
- package/dist/_chunks/chunk-AJ7S73M4.js +1 -0
- package/dist/_chunks/chunk-DRHPICBU.js +1 -0
- package/dist/_chunks/chunk-FCHO4AVP.js +1 -0
- package/dist/_chunks/chunk-JH5QP6PC.js +1 -0
- package/dist/_chunks/chunk-LF442QV6.js +1 -0
- package/dist/_chunks/chunk-LUBHPAPW.js +1 -0
- package/dist/_chunks/chunk-OZ5KZSTM.js +1 -0
- package/dist/_chunks/chunk-RJ4QQF7E.js +1 -0
- package/dist/_chunks/chunk-RT5PFKYS.js +1 -0
- package/dist/_chunks/chunk-SIJPJIBO.js +1 -0
- package/dist/_chunks/{chunk-KNFUMWDY.js → chunk-TCZJLYSR.js} +1 -1
- package/dist/_chunks/chunk-TTFDNLQE.js +1 -0
- package/dist/_chunks/chunk-URKX77KR.js +1 -0
- package/dist/_chunks/chunk-XRYARPEL.js +1 -0
- package/dist/_chunks/device-management-4XIITODX.js +1 -0
- package/dist/_chunks/device-preflight-SDA7Q3LH.js +1 -0
- package/dist/_chunks/devices-inventory-RVHGI2YW.js +1 -0
- package/dist/_chunks/devices-main-WOILNAGY.js +1 -0
- package/dist/_chunks/http-profile-XCHTSJV4.js +1 -0
- package/dist/_chunks/library-main-ZQKJQNHE.js +1 -0
- package/dist/_chunks/local-main-DX47PKHX.js +1 -0
- package/dist/_chunks/local-mcp-HMS5ODZN.js +1 -0
- package/dist/_chunks/main-HQGVZ2O2.js +2 -0
- package/dist/_chunks/mcp-6Q4ALHN6.js +1 -0
- package/dist/_chunks/project-connect-U2IHGC5W.js +1 -0
- package/dist/_chunks/render-main-A2AABFAG.js +1 -0
- package/dist/_chunks/source-import-5N4KZMTC.js +1 -0
- package/dist/_chunks/src-NIMTPR5W.js +1 -0
- package/dist/_chunks/{stdio-main-4Z2JVCMO.js → stdio-main-JJCNIY4H.js} +1 -1
- package/dist/_chunks/workspace-main-ZIZO4WRI.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1077 -564
- package/dist/_types/cli/local/desktop-device-contract.d.ts +170 -556
- package/dist/_types/cli/local/desktop-device-owner.d.ts +16 -50
- package/dist/_types/cli/local/desktop-device-state.d.ts +198 -31
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +220 -39
- package/dist/_types/cli/local/ledger.d.ts +2 -0
- package/dist/_types/cli/local/manager.d.ts +352 -22
- package/dist/_types/cli/local/mcp-tools.d.ts +218 -39
- package/dist/_types/cli/local/project-render-tools.d.ts +8742 -77
- package/dist/_types/cli/local-management.d.ts +2 -1
- package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
- package/dist/_types/contracts/audio.d.ts +4 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +12 -12
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
- package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
- package/dist/_types/contracts/delivery-summary.d.ts +2 -2
- package/dist/_types/contracts/delivery-validation.d.ts +23 -0
- package/dist/_types/contracts/device-render.d.ts +67 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
- package/dist/_types/contracts/external-agent-access.d.ts +9 -3
- package/dist/_types/contracts/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1569 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +28 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
- package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +19 -59
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +19 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
- package/dist/_types/contracts/local-execution/management.d.ts +214 -208
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
- package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +929 -8
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +16 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +19 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
- package/dist/_types/contracts/repair-plan.d.ts +16 -98
- package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
- package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
- package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
- package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
- package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
- package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +149 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +1 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
- package/dist/_types/contracts/timeline-v2.d.ts +4 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +33 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/workspace.d.ts +22 -0
- package/dist/_types/sdk/errors.d.ts +1 -1
- package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
- package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +2 -8
- package/README.md +0 -119
- package/dist/_chunks/chunk-D533YC7J.js +0 -1
- package/dist/_chunks/chunk-HKD6F6M6.js +0 -1
- package/dist/_chunks/chunk-INLSOHAK.js +0 -1
- package/dist/_chunks/chunk-N6S6HCWE.js +0 -1
- package/dist/_chunks/chunk-PBEHCYR7.js +0 -1
- package/dist/_chunks/chunk-RVGDXRPK.js +0 -1
- package/dist/_chunks/chunk-YKOJPJZR.js +0 -1
- package/dist/_chunks/local-main-J2G7OU5E.js +0 -1
- package/dist/_chunks/local-mcp-LCHXL2IE.js +0 -1
- package/dist/_chunks/main-PPA76ARV.js +0 -2
- package/dist/_chunks/mcp-P7W623FE.js +0 -1
- package/dist/_chunks/project-connect-7L2HRJUN.js +0 -1
- package/dist/_chunks/render-main-ZW6UJHGN.js +0 -1
- 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
|
-
|
|
511
|
-
|
|
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
|
-
|
|
775
|
-
|
|
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: "
|
|
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
|
-
|
|
1074
|
-
|
|
1075
|
-
projectId: string;
|
|
1076
|
-
}[];
|
|
1405
|
+
tenantId: string;
|
|
1406
|
+
deviceId: string;
|
|
1077
1407
|
expiresAt: string;
|
|
1078
1408
|
}>;
|
|
1079
1409
|
reconnect(): Promise<{
|