@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.21
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 +4 -4
- package/LICENSE +201 -21
- package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
- package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
- package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
- package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
- package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
- package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
- package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
- package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-UKPD77FB.js +1 -0
- package/dist/_chunks/chunk-V636KA7B.js +1 -0
- package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
- package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -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-observation.d.ts +1 -1
- 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 +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +89 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
- package/dist/_types/contracts/interface/query.d.ts +85 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- 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/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- 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/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -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 +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +76 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +79 -26
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- 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 +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/account.d.ts +13 -0
- package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
- package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
- package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
- package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
- package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
- package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
- package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
- package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
- package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
- package/dist/_types/sdk/catalog/core.d.ts +636 -18
- package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
- package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
- package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
- package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
- package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
- package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
- package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
- package/dist/_types/sdk/catalog/generation.d.ts +284 -8
- package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
- package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
- package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
- package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
- package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
- package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
- package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
- package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
- package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
- package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
- package/dist/_types/sdk/catalog/provider.d.ts +394 -20
- package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
- package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
- package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
- package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
- package/dist/_types/sdk/catalog/shares.d.ts +305 -0
- package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
- package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
- package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
- package/dist/_types/sdk/catalog/spec.d.ts +10 -2
- package/dist/_types/sdk/catalog/speech.d.ts +856 -4
- package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
- package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
- package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
- package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
- package/dist/_types/sdk/client.d.ts +30 -3
- package/dist/_types/sdk/desktop-previews.d.ts +3 -3
- package/dist/_types/sdk/desktop-releases.d.ts +2 -2
- package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
- package/dist/_types/sdk/device-renders.d.ts +3751 -0
- package/dist/_types/sdk/direct-source.d.ts +147 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
- package/dist/_types/sdk/feedback-observer.d.ts +10 -0
- package/dist/_types/sdk/host-protocol.d.ts +8 -0
- package/dist/_types/sdk/image-media.d.ts +2 -2
- package/dist/_types/sdk/immutable-media.d.ts +24 -0
- package/dist/_types/sdk/index.d.ts +16 -1
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
- package/dist/_types/sdk/mcp-client.d.ts +13 -5
- package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
- package/dist/_types/sdk/mcp-image.d.ts +4 -4
- package/dist/_types/sdk/mcp-port.d.ts +73 -0
- package/dist/_types/sdk/media.d.ts +11 -9
- package/dist/_types/sdk/navigation-client.d.ts +56 -122
- package/dist/_types/sdk/navigation-facade.d.ts +191 -17
- package/dist/_types/sdk/observe.d.ts +31 -0
- package/dist/_types/sdk/runtime-authority.d.ts +18 -8
- package/dist/_types/sdk/transport/http.d.ts +2 -0
- package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
- package/dist/account.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/host-protocol.d.ts +1 -0
- package/dist/host-protocol.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.d.ts +1 -0
- package/dist/mcp-discovery.js +1 -0
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/dist/runtime-authority.js +1 -1
- package/package.json +10 -8
- package/README.md +0 -75
- package/dist/_chunks/chunk-34KSWLCI.js +0 -1
- package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
- package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { shareOperations } from "./catalog/shares.js";
|
|
2
|
+
import { deviceManagementOperations } from "./catalog/device-management.js";
|
|
3
|
+
import { NativeStudioDeviceRenders } from "./device-renders.js";
|
|
4
|
+
import { NativeStudioDirectSources } from "./direct-source.js";
|
|
1
5
|
import { NativeStudioNavigationFacade } from "./navigation-facade.js";
|
|
2
6
|
import type { z } from "zod";
|
|
3
7
|
import { SourceLibraryMediaSchema, KeyframeGetInputSchema } from "../contracts/index.js";
|
|
4
8
|
import { coreOperations } from "./catalog/core.js";
|
|
9
|
+
import { deviceLibraryOperations } from "./catalog/device-library.js";
|
|
5
10
|
import { navigationOperations } from "./catalog/navigation.js";
|
|
6
11
|
import { agentHostOperations } from "./catalog/agent-host.js";
|
|
7
12
|
import { agentHostExecutionOperations } from "./catalog/agent-host-execution.js";
|
|
@@ -23,8 +28,11 @@ import { videoReviewOperations } from "./catalog/video-review.js";
|
|
|
23
28
|
import { providerOperations } from "./catalog/provider.js";
|
|
24
29
|
import { observationOperations } from "./catalog/media-observation.js";
|
|
25
30
|
import { speechOperations } from "./catalog/speech.js";
|
|
31
|
+
import { voiceProfileOperations } from "./catalog/voice-profile.js";
|
|
32
|
+
import { voiceReviewOperations } from "./catalog/voice-review.js";
|
|
26
33
|
import { soundMakingPlanOperations } from "./catalog/sound-making-plan.js";
|
|
27
34
|
import { lifecycleEventOperations } from "./catalog/lifecycle-events.js";
|
|
35
|
+
import { federationOperations } from "./catalog/federation.js";
|
|
28
36
|
import { mediaDescriptorOperations } from "./catalog/media-descriptors.js";
|
|
29
37
|
import { referencePreviewOperations } from "./catalog/reference-preview.js";
|
|
30
38
|
import { visualExplorationOperations } from "./catalog/visual-exploration.js";
|
|
@@ -34,18 +42,24 @@ import { planningIntelligenceOperations } from "./catalog/planning-intelligence.
|
|
|
34
42
|
import { audioCaptionOperations } from "./catalog/audio-caption.js";
|
|
35
43
|
import { discoveryOperations } from "./catalog/discovery.js";
|
|
36
44
|
import { temporalEvidenceOperations } from "./catalog/temporal-evidence.js";
|
|
45
|
+
import { seriesStandardOperations } from "./catalog/series-standard.js";
|
|
46
|
+
import { enterpriseBrandOperations } from "./catalog/enterprise-brand.js";
|
|
37
47
|
import { type SdkMediaInput, type SdkMediaIdentity } from "./media.js";
|
|
48
|
+
import { type SdkImmutableMediaIdentity } from "./immutable-media.js";
|
|
38
49
|
import { type NativeStudioHttpOptions, type SdkRequestOptions } from "./transport/http.js";
|
|
39
|
-
type OperationCatalog = typeof coreOperations & typeof navigationOperations & typeof discoveryOperations & typeof agentHostOperations & typeof agentHostExecutionOperations & typeof nativeToolAuthorityOperations & typeof compositionOperations & typeof assemblyOperations & typeof editorOperations & typeof reviewerOperations & typeof repairStrategyOperations & typeof canonicalRepairOperations & typeof programmaticReviewOperations & typeof compositionSourceOperations & typeof programmaticExplorationOperations & typeof deliveryOperations & typeof shotPreparationOperations & typeof generationOperations & typeof keyframeReviewOperations & typeof videoReviewOperations & typeof providerOperations & typeof speechOperations & typeof observationOperations & typeof soundMakingPlanOperations & typeof lifecycleEventOperations & typeof temporalEvidenceOperations & typeof audioCaptionOperations & typeof planningIntelligenceOperations & typeof importedVisualOperations & typeof sourceSyncOperations & typeof visualExplorationOperations & typeof referencePreviewOperations & typeof mediaDescriptorOperations;
|
|
50
|
+
type OperationCatalog = typeof deviceManagementOperations & typeof coreOperations & typeof deviceLibraryOperations & typeof navigationOperations & typeof discoveryOperations & typeof agentHostOperations & typeof agentHostExecutionOperations & typeof nativeToolAuthorityOperations & typeof compositionOperations & typeof assemblyOperations & typeof editorOperations & typeof reviewerOperations & typeof repairStrategyOperations & typeof canonicalRepairOperations & typeof programmaticReviewOperations & typeof compositionSourceOperations & typeof programmaticExplorationOperations & typeof deliveryOperations & typeof shotPreparationOperations & typeof generationOperations & typeof keyframeReviewOperations & typeof videoReviewOperations & typeof providerOperations & typeof speechOperations & typeof shareOperations & typeof voiceProfileOperations & typeof voiceReviewOperations & typeof observationOperations & typeof soundMakingPlanOperations & typeof lifecycleEventOperations & typeof federationOperations & typeof temporalEvidenceOperations & typeof audioCaptionOperations & typeof planningIntelligenceOperations & typeof importedVisualOperations & typeof sourceSyncOperations & typeof visualExplorationOperations & typeof referencePreviewOperations & typeof mediaDescriptorOperations & typeof seriesStandardOperations & typeof enterpriseBrandOperations;
|
|
40
51
|
export declare const sdkOperations: Readonly<OperationCatalog>;
|
|
41
52
|
export type SdkOperation = keyof typeof sdkOperations;
|
|
42
|
-
|
|
53
|
+
type TenantInput<Input> = Input extends object ? Omit<Input, "tenantId"> & {
|
|
43
54
|
tenantId?: string;
|
|
44
|
-
};
|
|
55
|
+
} : never;
|
|
56
|
+
export type SdkInput<K extends SdkOperation> = TenantInput<z.input<(typeof sdkOperations)[K]["input"]>>;
|
|
45
57
|
export type SdkOutput<K extends SdkOperation> = z.output<(typeof sdkOperations)[K]["output"]>;
|
|
46
58
|
export declare class NativeStudioAgentClient {
|
|
59
|
+
readonly deviceRenders: NativeStudioDeviceRenders;
|
|
47
60
|
readonly navigation: NativeStudioNavigationFacade;
|
|
48
61
|
readonly tenantId: string;
|
|
62
|
+
readonly directSources: NativeStudioDirectSources;
|
|
49
63
|
private readonly transport;
|
|
50
64
|
constructor(config: NativeStudioHttpOptions & {
|
|
51
65
|
tenantId: string;
|
|
@@ -66,6 +80,19 @@ export declare class NativeStudioAgentClient {
|
|
|
66
80
|
contentType: string;
|
|
67
81
|
etag: string | null;
|
|
68
82
|
}>;
|
|
83
|
+
/** 按冻结的原生表示直接读取存储对象,既有媒体接口继续服务历史表示。 */
|
|
84
|
+
immutableMedia(input: SdkImmutableMediaIdentity, options?: SdkRequestOptions): Promise<{
|
|
85
|
+
representationId: string;
|
|
86
|
+
bytes: Uint8Array<ArrayBufferLike>;
|
|
87
|
+
object: {
|
|
88
|
+
tenantId: string;
|
|
89
|
+
projectId: string;
|
|
90
|
+
versionId: string;
|
|
91
|
+
role: "VIDEO" | "AUDIO" | "SOURCE" | "POSTER" | "FRAME" | "SHEET" | "MANIFEST";
|
|
92
|
+
byteSize: number;
|
|
93
|
+
checksumSha256: string;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
69
96
|
keyframeMedia(raw: Omit<z.input<typeof KeyframeGetInputSchema>, "tenantId">, expected: SdkMediaIdentity, options?: SdkRequestOptions): Promise<{
|
|
70
97
|
bytes: Buffer<ArrayBuffer>;
|
|
71
98
|
checksumSha256: string;
|
|
@@ -15,8 +15,8 @@ export declare const previewReleaseSchema: z.ZodObject<{
|
|
|
15
15
|
win32: "win32";
|
|
16
16
|
}>;
|
|
17
17
|
architecture: z.ZodEnum<{
|
|
18
|
-
x64: "x64";
|
|
19
18
|
arm64: "arm64";
|
|
19
|
+
x64: "x64";
|
|
20
20
|
}>;
|
|
21
21
|
}, z.core.$strict>;
|
|
22
22
|
format: z.ZodEnum<{
|
|
@@ -55,8 +55,8 @@ export declare const previewCatalogueSchema: z.ZodObject<{
|
|
|
55
55
|
win32: "win32";
|
|
56
56
|
}>;
|
|
57
57
|
architecture: z.ZodEnum<{
|
|
58
|
-
x64: "x64";
|
|
59
58
|
arm64: "arm64";
|
|
59
|
+
x64: "x64";
|
|
60
60
|
}>;
|
|
61
61
|
}, z.core.$strict>;
|
|
62
62
|
format: z.ZodEnum<{
|
|
@@ -100,7 +100,7 @@ export declare function previewCatalogue(policy: PreviewReleasePolicy, signal?:
|
|
|
100
100
|
profileSchema: 1;
|
|
101
101
|
platform: {
|
|
102
102
|
os: "darwin" | "linux" | "win32";
|
|
103
|
-
architecture: "
|
|
103
|
+
architecture: "arm64" | "x64";
|
|
104
104
|
};
|
|
105
105
|
format: "MAC_DMG" | "MAC_ZIP" | "NSIS" | "APPIMAGE" | "DEB";
|
|
106
106
|
artifact: {
|
|
@@ -18,8 +18,8 @@ export declare const desktopReleaseSchema: z.ZodObject<{
|
|
|
18
18
|
win32: "win32";
|
|
19
19
|
}>;
|
|
20
20
|
architecture: z.ZodEnum<{
|
|
21
|
-
x64: "x64";
|
|
22
21
|
arm64: "arm64";
|
|
22
|
+
x64: "x64";
|
|
23
23
|
}>;
|
|
24
24
|
}, z.core.$strict>;
|
|
25
25
|
format: z.ZodEnum<{
|
|
@@ -60,7 +60,7 @@ export declare function desktopCatalogue(policy: DesktopReleasePolicy, signal?:
|
|
|
60
60
|
profileSchema: 1;
|
|
61
61
|
platform: {
|
|
62
62
|
os: "darwin" | "linux" | "win32";
|
|
63
|
-
architecture: "
|
|
63
|
+
architecture: "arm64" | "x64";
|
|
64
64
|
};
|
|
65
65
|
format: "MAC_DMG" | "MAC_ZIP" | "NSIS" | "APPIMAGE" | "DEB";
|
|
66
66
|
artifact: {
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { type DeviceEnrollmentHandoff } from "../contracts/local-execution/index.js";
|
|
2
|
+
import type { NativeStudioMcpClient } from "./mcp-client.js";
|
|
3
|
+
import type { SdkRequestOptions } from "./transport/http.js";
|
|
4
|
+
export { DeviceEnrollmentHandoffSchema, DeviceEnrollmentScopeSchema, type DeviceEnrollmentHandoff, DeviceEnrollmentTicketSchema, DeviceEnrollmentObservationSchema, type DeviceEnrollmentTicket, type DeviceEnrollmentObservation, } from "../contracts/local-execution/index.js";
|
|
5
|
+
type MemberClient = Pick<NativeStudioMcpClient, "tenantId" | "call">;
|
|
6
|
+
export declare function validateDeviceEnrollmentHandoff(raw: unknown): DeviceEnrollmentHandoff;
|
|
7
|
+
export declare function issueDeviceEnrollment(client: MemberClient, raw: unknown, options?: SdkRequestOptions): Promise<{
|
|
8
|
+
state: "NOT_FOUND";
|
|
9
|
+
tenantId: string;
|
|
10
|
+
requestId: string;
|
|
11
|
+
} | {
|
|
12
|
+
state: "ISSUED";
|
|
13
|
+
ticket: {
|
|
14
|
+
protocol: "NVS_DEVICE_ENROLLMENT_V1";
|
|
15
|
+
enrollmentId: string;
|
|
16
|
+
deviceId: string;
|
|
17
|
+
fingerprint: string;
|
|
18
|
+
issuedAt: string;
|
|
19
|
+
expiresAt: string;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
requestId: string;
|
|
22
|
+
};
|
|
23
|
+
tenantId: string;
|
|
24
|
+
requestId: string;
|
|
25
|
+
} | {
|
|
26
|
+
state: "EXPIRED";
|
|
27
|
+
fingerprint: string;
|
|
28
|
+
tenantId: string;
|
|
29
|
+
requestId: string;
|
|
30
|
+
} | {
|
|
31
|
+
state: "ENROLLED";
|
|
32
|
+
receipt: {
|
|
33
|
+
fingerprint: string;
|
|
34
|
+
result: {
|
|
35
|
+
tenantId: string;
|
|
36
|
+
publicKey: {
|
|
37
|
+
kty: "EC";
|
|
38
|
+
crv: "P-256";
|
|
39
|
+
x: string;
|
|
40
|
+
y: string;
|
|
41
|
+
};
|
|
42
|
+
runtimeVersion: string;
|
|
43
|
+
label: string;
|
|
44
|
+
platform: {
|
|
45
|
+
os: "darwin" | "linux" | "win32";
|
|
46
|
+
architecture: "arm64" | "x64";
|
|
47
|
+
};
|
|
48
|
+
deviceId: string;
|
|
49
|
+
revision: number;
|
|
50
|
+
enrolledByPrincipalId: string;
|
|
51
|
+
createdAt: string;
|
|
52
|
+
verifiedAt: string | null;
|
|
53
|
+
revokedAt: string | null;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
tenantId: string;
|
|
57
|
+
requestId: string;
|
|
58
|
+
}>;
|
|
59
|
+
export declare function lookupDeviceEnrollment(client: MemberClient, raw: unknown, options?: SdkRequestOptions): Promise<{
|
|
60
|
+
state: "NOT_FOUND";
|
|
61
|
+
tenantId: string;
|
|
62
|
+
requestId: string;
|
|
63
|
+
} | {
|
|
64
|
+
state: "ISSUED";
|
|
65
|
+
ticket: {
|
|
66
|
+
protocol: "NVS_DEVICE_ENROLLMENT_V1";
|
|
67
|
+
enrollmentId: string;
|
|
68
|
+
deviceId: string;
|
|
69
|
+
fingerprint: string;
|
|
70
|
+
issuedAt: string;
|
|
71
|
+
expiresAt: string;
|
|
72
|
+
tenantId: string;
|
|
73
|
+
requestId: string;
|
|
74
|
+
};
|
|
75
|
+
tenantId: string;
|
|
76
|
+
requestId: string;
|
|
77
|
+
} | {
|
|
78
|
+
state: "EXPIRED";
|
|
79
|
+
fingerprint: string;
|
|
80
|
+
tenantId: string;
|
|
81
|
+
requestId: string;
|
|
82
|
+
} | {
|
|
83
|
+
state: "ENROLLED";
|
|
84
|
+
receipt: {
|
|
85
|
+
fingerprint: string;
|
|
86
|
+
result: {
|
|
87
|
+
tenantId: string;
|
|
88
|
+
publicKey: {
|
|
89
|
+
kty: "EC";
|
|
90
|
+
crv: "P-256";
|
|
91
|
+
x: string;
|
|
92
|
+
y: string;
|
|
93
|
+
};
|
|
94
|
+
runtimeVersion: string;
|
|
95
|
+
label: string;
|
|
96
|
+
platform: {
|
|
97
|
+
os: "darwin" | "linux" | "win32";
|
|
98
|
+
architecture: "arm64" | "x64";
|
|
99
|
+
};
|
|
100
|
+
deviceId: string;
|
|
101
|
+
revision: number;
|
|
102
|
+
enrolledByPrincipalId: string;
|
|
103
|
+
createdAt: string;
|
|
104
|
+
verifiedAt: string | null;
|
|
105
|
+
revokedAt: string | null;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
tenantId: string;
|
|
109
|
+
requestId: string;
|
|
110
|
+
}>;
|
|
111
|
+
/** Uses the caller's existing authenticated MCP transport; returns the original host receipt envelope. */
|
|
112
|
+
export declare function submitDeviceEnrollment(client: MemberClient, raw: unknown, options?: SdkRequestOptions): Promise<{
|
|
113
|
+
fingerprint: string;
|
|
114
|
+
result: {
|
|
115
|
+
tenantId: string;
|
|
116
|
+
publicKey: {
|
|
117
|
+
kty: "EC";
|
|
118
|
+
crv: "P-256";
|
|
119
|
+
x: string;
|
|
120
|
+
y: string;
|
|
121
|
+
};
|
|
122
|
+
runtimeVersion: string;
|
|
123
|
+
label: string;
|
|
124
|
+
platform: {
|
|
125
|
+
os: "darwin" | "linux" | "win32";
|
|
126
|
+
architecture: "arm64" | "x64";
|
|
127
|
+
};
|
|
128
|
+
deviceId: string;
|
|
129
|
+
revision: number;
|
|
130
|
+
enrolledByPrincipalId: string;
|
|
131
|
+
createdAt: string;
|
|
132
|
+
verifiedAt: string | null;
|
|
133
|
+
revokedAt: string | null;
|
|
134
|
+
};
|
|
135
|
+
}>;
|
|
136
|
+
/** A missing receipt remains unresolved. This operation issues only reads. */
|
|
137
|
+
export declare function recoverDeviceEnrollment(client: MemberClient, raw: unknown, options?: SdkRequestOptions): Promise<{
|
|
138
|
+
fingerprint: string;
|
|
139
|
+
result: {
|
|
140
|
+
tenantId: string;
|
|
141
|
+
publicKey: {
|
|
142
|
+
kty: "EC";
|
|
143
|
+
crv: "P-256";
|
|
144
|
+
x: string;
|
|
145
|
+
y: string;
|
|
146
|
+
};
|
|
147
|
+
runtimeVersion: string;
|
|
148
|
+
label: string;
|
|
149
|
+
platform: {
|
|
150
|
+
os: "darwin" | "linux" | "win32";
|
|
151
|
+
architecture: "arm64" | "x64";
|
|
152
|
+
};
|
|
153
|
+
deviceId: string;
|
|
154
|
+
revision: number;
|
|
155
|
+
enrolledByPrincipalId: string;
|
|
156
|
+
createdAt: string;
|
|
157
|
+
verifiedAt: string | null;
|
|
158
|
+
revokedAt: string | null;
|
|
159
|
+
} | {
|
|
160
|
+
semanticStatus: "ACCEPTED";
|
|
161
|
+
renderId: string;
|
|
162
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
163
|
+
productionId: string;
|
|
164
|
+
timelineVersionId: string;
|
|
165
|
+
timelineFingerprint: string;
|
|
166
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
167
|
+
manifestFingerprint: string;
|
|
168
|
+
productionRevision: number;
|
|
169
|
+
placement: {
|
|
170
|
+
target: "DEVICE" | "SERVER";
|
|
171
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
172
|
+
policy: {
|
|
173
|
+
mode: "local-only";
|
|
174
|
+
deviceId: string;
|
|
175
|
+
} | {
|
|
176
|
+
mode: "local-preferred";
|
|
177
|
+
deviceId: string;
|
|
178
|
+
} | {
|
|
179
|
+
mode: "cloud-only";
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
humanLinks?: {
|
|
183
|
+
status: "AVAILABLE";
|
|
184
|
+
items: {
|
|
185
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
186
|
+
href: string;
|
|
187
|
+
}[];
|
|
188
|
+
} | {
|
|
189
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
190
|
+
items: {
|
|
191
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
192
|
+
href: string;
|
|
193
|
+
}[];
|
|
194
|
+
} | undefined;
|
|
195
|
+
deviceExecution?: {
|
|
196
|
+
mode: "tenant-device-only";
|
|
197
|
+
deviceId: string;
|
|
198
|
+
runtimeJobId: string;
|
|
199
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
} | {
|
|
202
|
+
semanticStatus: "ACCEPTED";
|
|
203
|
+
renderId: string;
|
|
204
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
205
|
+
productionId: string;
|
|
206
|
+
timelineVersionId: string;
|
|
207
|
+
timelineFingerprint: string;
|
|
208
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
209
|
+
manifestFingerprint: string;
|
|
210
|
+
productionRevision: number;
|
|
211
|
+
selectionId: string;
|
|
212
|
+
selectionVersion: number;
|
|
213
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
214
|
+
placement: {
|
|
215
|
+
target: "DEVICE" | "SERVER";
|
|
216
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
217
|
+
policy: {
|
|
218
|
+
mode: "local-only";
|
|
219
|
+
deviceId: string;
|
|
220
|
+
} | {
|
|
221
|
+
mode: "local-preferred";
|
|
222
|
+
deviceId: string;
|
|
223
|
+
} | {
|
|
224
|
+
mode: "cloud-only";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
humanLinks?: {
|
|
228
|
+
status: "AVAILABLE";
|
|
229
|
+
items: {
|
|
230
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
231
|
+
href: string;
|
|
232
|
+
}[];
|
|
233
|
+
} | {
|
|
234
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
235
|
+
items: {
|
|
236
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
237
|
+
href: string;
|
|
238
|
+
}[];
|
|
239
|
+
} | undefined;
|
|
240
|
+
deviceExecution?: {
|
|
241
|
+
mode: "tenant-device-only";
|
|
242
|
+
deviceId: string;
|
|
243
|
+
runtimeJobId: string;
|
|
244
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
} | {
|
|
247
|
+
semanticStatus: "SUCCESS";
|
|
248
|
+
} | null;
|
|
249
|
+
}>;
|