@nativestudio/sdk 0.3.0-rc.21 → 0.3.0-rc.27
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/dist/_chunks/chunk-65Q3RST6.js +1 -0
- package/dist/_chunks/{chunk-K3TIFCD3.js → chunk-7VBZYNHE.js} +1 -1
- package/dist/_chunks/chunk-B5QT3BVS.js +1 -0
- package/dist/_chunks/chunk-KONHIJPZ.js +1 -0
- package/dist/_chunks/{chunk-WNXKJRZ6.js → chunk-RUWGYN4N.js} +1 -1
- package/dist/_chunks/{chunk-QVP4AMRJ.js → chunk-SCY6PJRK.js} +1 -1
- package/dist/_chunks/chunk-XPDAOUQ7.js +1 -0
- package/dist/_types/contracts/artifact.d.ts +2 -0
- package/dist/_types/contracts/component-status.d.ts +9 -0
- package/dist/_types/contracts/device-openai-asr.d.ts +479 -0
- package/dist/_types/contracts/device-render.d.ts +6 -0
- package/dist/_types/contracts/external-agent-access.d.ts +7 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +4 -1
- package/dist/_types/contracts/interface/operation.d.ts +44 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +39 -0
- package/dist/_types/contracts/interface/query.d.ts +38 -0
- package/dist/_types/contracts/local-execution/backup-retirement.d.ts +162 -0
- package/dist/_types/contracts/local-execution/claim-resolution.d.ts +1470 -0
- package/dist/_types/contracts/local-execution/components.d.ts +1 -1
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +23 -0
- package/dist/_types/contracts/local-execution/credential-request.d.ts +20 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +59 -2
- package/dist/_types/contracts/local-execution/index.d.ts +12 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +27 -0
- package/dist/_types/contracts/local-execution/library-command.d.ts +303 -5
- package/dist/_types/contracts/local-execution/library-result.d.ts +217 -3
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +35 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +3 -0
- package/dist/_types/contracts/local-execution/management.d.ts +12 -12
- package/dist/_types/contracts/local-execution/model-cleanup.d.ts +60 -0
- package/dist/_types/contracts/local-execution/model-inspection.d.ts +365 -0
- package/dist/_types/contracts/local-execution/openai-asr.d.ts +105 -0
- package/dist/_types/contracts/local-execution/openai-realtime-speech.d.ts +151 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +15 -4
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +6 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +140 -4
- package/dist/_types/contracts/local-execution/processor-outcomes.d.ts +145 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +163 -3
- package/dist/_types/contracts/local-execution/processor.d.ts +2422 -322
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +1 -0
- package/dist/_types/contracts/local-execution/provider-inspection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/provider-release.d.ts +53 -0
- package/dist/_types/contracts/local-execution/provider-selection.d.ts +58 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +30 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/versions.d.ts +2 -0
- package/dist/_types/contracts/media-observation.d.ts +56 -0
- package/dist/_types/contracts/native-speech-http.d.ts +15 -0
- package/dist/_types/contracts/navigation-context.d.ts +144 -0
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +2 -0
- package/dist/_types/contracts/observation-profile.d.ts +12 -0
- package/dist/_types/contracts/openai-asr.d.ts +55 -0
- package/dist/_types/contracts/provider-catalog.d.ts +44 -0
- package/dist/_types/contracts/provider-models.d.ts +115 -3
- package/dist/_types/contracts/provider.d.ts +93 -7
- package/dist/_types/contracts/render-readiness.d.ts +74 -1
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/resourcesdk.d.ts +231 -0
- package/dist/_types/contracts/sound-making-plan.d.ts +41 -0
- package/dist/_types/contracts/source-workspace.d.ts +2 -0
- package/dist/_types/contracts/speech-cost.d.ts +129 -0
- package/dist/_types/contracts/speech.d.ts +50 -0
- package/dist/_types/contracts/transcription.d.ts +11 -0
- package/dist/_types/sdk/catalog/carriers.d.ts +40 -0
- package/dist/_types/sdk/catalog/core.d.ts +164 -4
- package/dist/_types/sdk/catalog/device-library.d.ts +360 -4
- package/dist/_types/sdk/catalog/device-management.d.ts +16 -6
- package/dist/_types/sdk/catalog/imported-visual.d.ts +990 -22
- package/dist/_types/sdk/catalog/mcp.d.ts +12 -0
- package/dist/_types/sdk/catalog/media-observation.d.ts +630 -18
- package/dist/_types/sdk/catalog/navigation.d.ts +241 -4
- package/dist/_types/sdk/catalog/provider.d.ts +272 -98
- package/dist/_types/sdk/catalog/reference-preview.d.ts +52 -0
- package/dist/_types/sdk/catalog/resourcesdk.d.ts +573 -0
- package/dist/_types/sdk/catalog/speech.d.ts +98 -8
- package/dist/_types/sdk/client.d.ts +28 -1
- package/dist/_types/sdk/device-renders.d.ts +4 -1
- package/dist/_types/sdk/direct-source.d.ts +47 -1
- package/dist/_types/sdk/index.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/components.d.ts +6 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
- package/dist/_types/sdk/navigation-client.d.ts +2 -0
- package/dist/_types/sdk/navigation-facade.d.ts +113 -0
- package/dist/_types/sdk/observe.d.ts +26 -0
- package/dist/_types/sdk/resource-data-plane.d.ts +108 -0
- package/dist/_types/sdk/resource-ingress.d.ts +18 -0
- package/dist/_types/sdk/transport/http.d.ts +1 -0
- package/dist/account.js +1 -1
- package/dist/host-protocol.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.js +1 -1
- package/dist/runtime-authority.js +1 -1
- package/package.json +3 -2
- package/dist/_chunks/chunk-2QDPFLIO.js +0 -1
- package/dist/_chunks/chunk-7DXSLHXW.js +0 -1
- package/dist/_chunks/chunk-ASUZJSEP.js +0 -1
- package/dist/_chunks/chunk-Q53Q74OP.js +0 -1
- package/dist/_chunks/chunk-UKPD77FB.js +0 -1
|
@@ -156,6 +156,38 @@ export declare const speechOperations: {
|
|
|
156
156
|
} | undefined;
|
|
157
157
|
parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
158
158
|
deviceId?: string | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
tenantId: string;
|
|
161
|
+
productionId: string;
|
|
162
|
+
expectedProductionRevision: number;
|
|
163
|
+
expectedAudioVersion: number;
|
|
164
|
+
expectedModelProfileVersion: number;
|
|
165
|
+
idempotencyKey: string;
|
|
166
|
+
selection: {
|
|
167
|
+
connectionId: string;
|
|
168
|
+
modelProfileId: string;
|
|
169
|
+
};
|
|
170
|
+
text: string;
|
|
171
|
+
acceptActualUsage: true;
|
|
172
|
+
voiceProfile?: {
|
|
173
|
+
ref: {
|
|
174
|
+
ownerSystem: string;
|
|
175
|
+
ownerTenantRef: string;
|
|
176
|
+
voiceProfileRef: string;
|
|
177
|
+
version: number;
|
|
178
|
+
digest: string;
|
|
179
|
+
};
|
|
180
|
+
bindingKey: string;
|
|
181
|
+
language: string;
|
|
182
|
+
usage: "AUDITION" | "PRODUCTION";
|
|
183
|
+
} | undefined;
|
|
184
|
+
soundCue?: {
|
|
185
|
+
soundPlanVersionId: string;
|
|
186
|
+
cueId: string;
|
|
187
|
+
} | undefined;
|
|
188
|
+
parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
189
|
+
voice?: string | undefined;
|
|
190
|
+
deviceId?: string | undefined;
|
|
159
191
|
}, {
|
|
160
192
|
tenantId: string & z.core.$brand<"TenantId">;
|
|
161
193
|
productionId: string & z.core.$brand<"ProductionId">;
|
|
@@ -209,6 +241,38 @@ export declare const speechOperations: {
|
|
|
209
241
|
cueId: string;
|
|
210
242
|
} | undefined;
|
|
211
243
|
deviceId?: string | undefined;
|
|
244
|
+
} | {
|
|
245
|
+
tenantId: string & z.core.$brand<"TenantId">;
|
|
246
|
+
productionId: string & z.core.$brand<"ProductionId">;
|
|
247
|
+
expectedProductionRevision: number;
|
|
248
|
+
expectedAudioVersion: number;
|
|
249
|
+
expectedModelProfileVersion: number;
|
|
250
|
+
idempotencyKey: string;
|
|
251
|
+
selection: {
|
|
252
|
+
connectionId: string & z.core.$brand<"ProviderConnectionId">;
|
|
253
|
+
modelProfileId: string;
|
|
254
|
+
};
|
|
255
|
+
text: string;
|
|
256
|
+
parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
|
|
257
|
+
voice: string;
|
|
258
|
+
acceptActualUsage: true;
|
|
259
|
+
voiceProfile?: {
|
|
260
|
+
ref: {
|
|
261
|
+
ownerSystem: string;
|
|
262
|
+
ownerTenantRef: string;
|
|
263
|
+
voiceProfileRef: string;
|
|
264
|
+
version: number;
|
|
265
|
+
digest: string;
|
|
266
|
+
};
|
|
267
|
+
bindingKey: string;
|
|
268
|
+
language: string;
|
|
269
|
+
usage: "AUDITION" | "PRODUCTION";
|
|
270
|
+
} | undefined;
|
|
271
|
+
soundCue?: {
|
|
272
|
+
soundPlanVersionId: string;
|
|
273
|
+
cueId: string;
|
|
274
|
+
} | undefined;
|
|
275
|
+
deviceId?: string | undefined;
|
|
212
276
|
}, {
|
|
213
277
|
semanticStatus: "ACCEPTED";
|
|
214
278
|
generationId: string;
|
|
@@ -701,9 +765,9 @@ export declare const speechOperations: {
|
|
|
701
765
|
profile: {
|
|
702
766
|
id: string;
|
|
703
767
|
version: number;
|
|
704
|
-
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
|
|
768
|
+
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI" | "NATIVE_SPEECH";
|
|
705
769
|
modelId: string | null;
|
|
706
|
-
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
|
|
770
|
+
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "OPENAI_REALTIME_TTS_V1" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS" | "NATIVE_SPEECH_TTS_V1";
|
|
707
771
|
label: string;
|
|
708
772
|
textMaxCharacters: number;
|
|
709
773
|
requestTimeoutMs: number;
|
|
@@ -737,10 +801,17 @@ export declare const speechOperations: {
|
|
|
737
801
|
resourceId: string | null;
|
|
738
802
|
output: "PCM_S16LE_48000_V1";
|
|
739
803
|
normalizationVersion: "SPEECH_PCM_V1";
|
|
804
|
+
nativeSpeech?: {
|
|
805
|
+
digest: string;
|
|
806
|
+
revision: string;
|
|
807
|
+
runtimeVersion: string;
|
|
808
|
+
qualification: "TEST_ONLY" | "AVAILABLE";
|
|
809
|
+
} | undefined;
|
|
740
810
|
};
|
|
741
811
|
connectionLabel: string;
|
|
742
812
|
connectionVersion: number;
|
|
743
813
|
executionTarget?: "TENANT_DEVICE" | undefined;
|
|
814
|
+
accounting?: "ACTUAL_PROVIDER_USAGE" | undefined;
|
|
744
815
|
}[];
|
|
745
816
|
possiblyTruncated: boolean;
|
|
746
817
|
native?: {
|
|
@@ -774,9 +845,9 @@ export declare const speechOperations: {
|
|
|
774
845
|
profile: {
|
|
775
846
|
id: string;
|
|
776
847
|
version: number;
|
|
777
|
-
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
|
|
848
|
+
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI" | "NATIVE_SPEECH";
|
|
778
849
|
modelId: string | null;
|
|
779
|
-
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
|
|
850
|
+
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "OPENAI_REALTIME_TTS_V1" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS" | "NATIVE_SPEECH_TTS_V1";
|
|
780
851
|
label: string;
|
|
781
852
|
textMaxCharacters: number;
|
|
782
853
|
requestTimeoutMs: number;
|
|
@@ -810,10 +881,17 @@ export declare const speechOperations: {
|
|
|
810
881
|
resourceId: string | null;
|
|
811
882
|
output: "PCM_S16LE_48000_V1";
|
|
812
883
|
normalizationVersion: "SPEECH_PCM_V1";
|
|
884
|
+
nativeSpeech?: {
|
|
885
|
+
digest: string;
|
|
886
|
+
revision: string;
|
|
887
|
+
runtimeVersion: string;
|
|
888
|
+
qualification: "TEST_ONLY" | "AVAILABLE";
|
|
889
|
+
} | undefined;
|
|
813
890
|
};
|
|
814
891
|
connectionLabel: string;
|
|
815
892
|
connectionVersion: number;
|
|
816
893
|
executionTarget?: "TENANT_DEVICE" | undefined;
|
|
894
|
+
accounting?: "ACTUAL_PROVIDER_USAGE" | undefined;
|
|
817
895
|
}[];
|
|
818
896
|
possiblyTruncated: boolean;
|
|
819
897
|
native?: {
|
|
@@ -957,9 +1035,9 @@ export declare const speechOperations: {
|
|
|
957
1035
|
profile: {
|
|
958
1036
|
id: string;
|
|
959
1037
|
version: number;
|
|
960
|
-
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
|
|
1038
|
+
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI" | "NATIVE_SPEECH";
|
|
961
1039
|
modelId: string | null;
|
|
962
|
-
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
|
|
1040
|
+
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "OPENAI_REALTIME_TTS_V1" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS" | "NATIVE_SPEECH_TTS_V1";
|
|
963
1041
|
label: string;
|
|
964
1042
|
textMaxCharacters: number;
|
|
965
1043
|
requestTimeoutMs: number;
|
|
@@ -993,6 +1071,12 @@ export declare const speechOperations: {
|
|
|
993
1071
|
resourceId: string | null;
|
|
994
1072
|
output: "PCM_S16LE_48000_V1";
|
|
995
1073
|
normalizationVersion: "SPEECH_PCM_V1";
|
|
1074
|
+
nativeSpeech?: {
|
|
1075
|
+
digest: string;
|
|
1076
|
+
revision: string;
|
|
1077
|
+
runtimeVersion: string;
|
|
1078
|
+
qualification: "TEST_ONLY" | "AVAILABLE";
|
|
1079
|
+
} | undefined;
|
|
996
1080
|
};
|
|
997
1081
|
connectionId: string;
|
|
998
1082
|
connectionVersion: number;
|
|
@@ -1101,9 +1185,9 @@ export declare const speechOperations: {
|
|
|
1101
1185
|
profile: {
|
|
1102
1186
|
id: string;
|
|
1103
1187
|
version: number;
|
|
1104
|
-
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
|
|
1188
|
+
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI" | "NATIVE_SPEECH";
|
|
1105
1189
|
modelId: string | null;
|
|
1106
|
-
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
|
|
1190
|
+
protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "OPENAI_REALTIME_TTS_V1" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS" | "NATIVE_SPEECH_TTS_V1";
|
|
1107
1191
|
label: string;
|
|
1108
1192
|
textMaxCharacters: number;
|
|
1109
1193
|
requestTimeoutMs: number;
|
|
@@ -1137,6 +1221,12 @@ export declare const speechOperations: {
|
|
|
1137
1221
|
resourceId: string | null;
|
|
1138
1222
|
output: "PCM_S16LE_48000_V1";
|
|
1139
1223
|
normalizationVersion: "SPEECH_PCM_V1";
|
|
1224
|
+
nativeSpeech?: {
|
|
1225
|
+
digest: string;
|
|
1226
|
+
revision: string;
|
|
1227
|
+
runtimeVersion: string;
|
|
1228
|
+
qualification: "TEST_ONLY" | "AVAILABLE";
|
|
1229
|
+
} | undefined;
|
|
1140
1230
|
};
|
|
1141
1231
|
connectionId: string;
|
|
1142
1232
|
connectionVersion: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { resourceSdkOperations } from "./catalog/resourcesdk.js";
|
|
1
2
|
import { shareOperations } from "./catalog/shares.js";
|
|
2
3
|
import { deviceManagementOperations } from "./catalog/device-management.js";
|
|
3
4
|
import { NativeStudioDeviceRenders } from "./device-renders.js";
|
|
@@ -47,7 +48,7 @@ import { enterpriseBrandOperations } from "./catalog/enterprise-brand.js";
|
|
|
47
48
|
import { type SdkMediaInput, type SdkMediaIdentity } from "./media.js";
|
|
48
49
|
import { type SdkImmutableMediaIdentity } from "./immutable-media.js";
|
|
49
50
|
import { type NativeStudioHttpOptions, type SdkRequestOptions } from "./transport/http.js";
|
|
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;
|
|
51
|
+
type OperationCatalog = typeof resourceSdkOperations & 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;
|
|
51
52
|
export declare const sdkOperations: Readonly<OperationCatalog>;
|
|
52
53
|
export type SdkOperation = keyof typeof sdkOperations;
|
|
53
54
|
type TenantInput<Input> = Input extends object ? Omit<Input, "tenantId"> & {
|
|
@@ -93,6 +94,32 @@ export declare class NativeStudioAgentClient {
|
|
|
93
94
|
checksumSha256: string;
|
|
94
95
|
};
|
|
95
96
|
}>;
|
|
97
|
+
/** 设备转写正文只从原对象读取并校验摘要及对应模型的时间戳合同。 */
|
|
98
|
+
openAiAsrTranscript(input: SdkInput<"media-observation.openai-asr.get">, options?: SdkRequestOptions): Promise<{
|
|
99
|
+
timing: "PROVIDER_REPORTED";
|
|
100
|
+
timeBase: "ORIGINAL_MEDIA_MS";
|
|
101
|
+
granularities: ("word" | "segment")[];
|
|
102
|
+
words: {
|
|
103
|
+
text: string;
|
|
104
|
+
startMs: number;
|
|
105
|
+
endMs: number;
|
|
106
|
+
}[];
|
|
107
|
+
segments: {
|
|
108
|
+
text: string;
|
|
109
|
+
startMs: number;
|
|
110
|
+
endMs: number;
|
|
111
|
+
}[];
|
|
112
|
+
schemaVersion: 1;
|
|
113
|
+
text: string;
|
|
114
|
+
languages: string[];
|
|
115
|
+
} | {
|
|
116
|
+
timing: "UNAVAILABLE";
|
|
117
|
+
schemaVersion: 1;
|
|
118
|
+
text: string;
|
|
119
|
+
languages: string[];
|
|
120
|
+
} | null>;
|
|
121
|
+
/** 只解码准确匹配正式转写对象的已验真字节。 */
|
|
122
|
+
private readObservationObject;
|
|
96
123
|
keyframeMedia(raw: Omit<z.input<typeof KeyframeGetInputSchema>, "tenantId">, expected: SdkMediaIdentity, options?: SdkRequestOptions): Promise<{
|
|
97
124
|
bytes: Buffer<ArrayBuffer>;
|
|
98
125
|
checksumSha256: string;
|
|
@@ -21,8 +21,11 @@ export declare const DeviceDiscoveryInputSchema: z.ZodObject<{
|
|
|
21
21
|
REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
|
|
22
22
|
REFERENCE_PREVIEW: "REFERENCE_PREVIEW";
|
|
23
23
|
SPEECH_SYNTHESIZE_CPU: "SPEECH_SYNTHESIZE_CPU";
|
|
24
|
+
SPEECH_EXTERNAL_OPENAI_REALTIME: "SPEECH_EXTERNAL_OPENAI_REALTIME";
|
|
24
25
|
TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
|
|
26
|
+
TRANSCRIBE_NATIVE_SPEECH: "TRANSCRIBE_NATIVE_SPEECH";
|
|
25
27
|
TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
|
|
28
|
+
TRANSCRIBE_EXTERNAL_OPENAI: "TRANSCRIBE_EXTERNAL_OPENAI";
|
|
26
29
|
preview: "preview";
|
|
27
30
|
final: "final";
|
|
28
31
|
library: "library";
|
|
@@ -224,7 +227,7 @@ export declare class NativeStudioDeviceRenders {
|
|
|
224
227
|
list(raw: z.input<typeof DeviceDiscoveryInputSchema>, options?: SdkRequestOptions): Promise<{
|
|
225
228
|
tenantId: string;
|
|
226
229
|
projectId: string;
|
|
227
|
-
kind: "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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN" | "preview" | "final" | "library";
|
|
230
|
+
kind: "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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "SPEECH_EXTERNAL_OPENAI_REALTIME" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_NATIVE_SPEECH" | "TRANSCRIBE_EXTERNAL_QWEN" | "TRANSCRIBE_EXTERNAL_OPENAI" | "preview" | "final" | "library";
|
|
228
231
|
items: {
|
|
229
232
|
deviceId: string;
|
|
230
233
|
label: string;
|
|
@@ -117,7 +117,53 @@ export declare class NativeStudioDirectSources {
|
|
|
117
117
|
};
|
|
118
118
|
audio: {
|
|
119
119
|
codec: "aac";
|
|
120
|
-
sampleRateHz:
|
|
120
|
+
sampleRateHz: 44100 | 48000;
|
|
121
|
+
channels: 2 | 1;
|
|
122
|
+
startPts: number;
|
|
123
|
+
timeBase: {
|
|
124
|
+
numerator: number;
|
|
125
|
+
denominator: number;
|
|
126
|
+
};
|
|
127
|
+
durationTicks: number;
|
|
128
|
+
} | null;
|
|
129
|
+
fullDecode: true;
|
|
130
|
+
cfrTimestampsVerified: true;
|
|
131
|
+
contentType: "video/mp4";
|
|
132
|
+
checksumSha256: string;
|
|
133
|
+
byteSize: number;
|
|
134
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
135
|
+
} | {
|
|
136
|
+
geometryProfile: "IMPORTED_H264_SDR_CFR30_PRESERVE_V2";
|
|
137
|
+
geometry: {
|
|
138
|
+
width: number;
|
|
139
|
+
height: number;
|
|
140
|
+
};
|
|
141
|
+
sampleAspectRatio: "1:1" | "UNSPECIFIED";
|
|
142
|
+
fieldOrder: "UNSPECIFIED" | "PROGRESSIVE";
|
|
143
|
+
videoCodec: "h264";
|
|
144
|
+
pixelFormat: "yuv420p";
|
|
145
|
+
rotationDegrees: 0;
|
|
146
|
+
startPts: 0;
|
|
147
|
+
timeBase: {
|
|
148
|
+
numerator: number;
|
|
149
|
+
denominator: number;
|
|
150
|
+
};
|
|
151
|
+
frameRate: {
|
|
152
|
+
numerator: number;
|
|
153
|
+
denominator: number;
|
|
154
|
+
};
|
|
155
|
+
frameCount: number;
|
|
156
|
+
durationTicks: number;
|
|
157
|
+
availableCfr30Frames: number;
|
|
158
|
+
color: {
|
|
159
|
+
range: "unknown" | "tv";
|
|
160
|
+
space: "unknown" | "bt709";
|
|
161
|
+
transfer: "unknown" | "bt709";
|
|
162
|
+
primaries: "unknown" | "bt709";
|
|
163
|
+
};
|
|
164
|
+
audio: {
|
|
165
|
+
codec: "aac";
|
|
166
|
+
sampleRateHz: 44100 | 48000;
|
|
121
167
|
channels: 2 | 1;
|
|
122
168
|
startPts: number;
|
|
123
169
|
timeBase: {
|
|
@@ -29,3 +29,5 @@ export { TenantRenderMediaTicketSchema } from "../contracts/local-execution/inde
|
|
|
29
29
|
export * from "./feedback-observer.js";
|
|
30
30
|
export * from "./webhook-receiver.js";
|
|
31
31
|
export * from "./federation-notice-result.js";
|
|
32
|
+
export { NativeStudioResourceDataClient, type NativeStudioResourceDataOptions, type NativeStudioResourceReadContext, } from "./resource-data-plane.js";
|
|
33
|
+
export { NativeStudioResourceDeliveryAdmissionError } from "./resource-ingress.js";
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
export { LocalRuntimeComponentSchema, LocalComponentBytesSchema, RuntimeCaptionAssets, } from "../../contracts/local-execution/index.js";
|
|
2
2
|
export type { LocalRuntimeComponent } from "../../contracts/local-execution/index.js";
|
|
3
|
+
export { LocalManagedModelSchema, LocalModelRevisionSchema, LocalModelDisableInputSchema, LocalModelDisablePlanSchema, LocalWhisperPrepareInputSchema, LocalWhisperPreparePlanSchema, LocalModelIntegrityReportSchema, LocalModelInventorySchema, LocalModelRetentionInventorySchema, LocalJournalBackupInspectionSchema, LocalRecoveryBackupInspectionSchema, LocalModelRetentionReasonSchema, LocalModelPlanRetirementSchema, LocalModelSlotRetirementSchema, LocalModelSlotRetirementReceiptSchema, LocalModelPlanRetirementReceiptSchema, kokoroCpuProfile, cpuSpeechResources, } from "../../contracts/local-execution/index.js";
|
|
4
|
+
export { LocalExternalProcessorSchema, LocalProviderCredentialFileStateSchema, LocalProviderInspectionSchema, } from "../../contracts/local-execution/index.js";
|
|
5
|
+
export type { LocalProviderInspection } from "../../contracts/local-execution/index.js";
|
|
6
|
+
export { LocalProviderSelectionSchema, LocalProviderChangeSourceSchema, LocalProviderChangePlanSchema, LocalProviderChangeResultSchema, } from "../../contracts/local-execution/index.js";
|
|
7
|
+
export { LocalBackupCoverageSchema, LocalBackupRetirementPlanSchema, LocalBackupRetirementReceiptSchema, } from "../../contracts/local-execution/index.js";
|
|
8
|
+
export { LocalStoppedJournalEvidenceSchema, LocalModelCleanupInputSchema, LocalModelCleanupPlanSchema, LocalModelCleanupReceiptSchema, } from "../../contracts/local-execution/index.js";
|
|
@@ -731,10 +731,12 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
731
731
|
} | {
|
|
732
732
|
operation: "runtime.status";
|
|
733
733
|
includeDevice?: true | undefined;
|
|
734
|
+
includeConfigurationFingerprint?: true | undefined;
|
|
734
735
|
} | {
|
|
735
736
|
operation: "runtime.doctor";
|
|
736
737
|
} | {
|
|
737
738
|
operation: "runtime.inventory";
|
|
739
|
+
includeProviderWork?: true | undefined;
|
|
738
740
|
} | {
|
|
739
741
|
operation: "session.issue";
|
|
740
742
|
tenantId: string;
|
|
@@ -743,6 +745,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
743
745
|
} | {
|
|
744
746
|
operation: "runtime.stop";
|
|
745
747
|
expectedRuntimeRevision: number;
|
|
748
|
+
includeProviderWork?: true | undefined;
|
|
746
749
|
} | {
|
|
747
750
|
operation: "execution.inspect";
|
|
748
751
|
input: {
|
|
@@ -788,11 +791,12 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
788
791
|
actualVersion: string;
|
|
789
792
|
recovery: "REDISCOVER_CAPABILITY" | "CHECK_DEVICE_RELEASE";
|
|
790
793
|
} | undefined;
|
|
794
|
+
configurationFingerprint?: string | undefined;
|
|
791
795
|
deviceCapabilities?: {
|
|
792
796
|
deviceRevision: number;
|
|
793
797
|
tenantMediaValidation: boolean;
|
|
794
798
|
tenantMediaProcessing: boolean;
|
|
795
|
-
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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
|
|
799
|
+
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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "SPEECH_EXTERNAL_OPENAI_REALTIME" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_NATIVE_SPEECH" | "TRANSCRIBE_EXTERNAL_QWEN" | "TRANSCRIBE_EXTERNAL_OPENAI")[];
|
|
796
800
|
} | undefined;
|
|
797
801
|
} | {
|
|
798
802
|
binding: {
|
|
@@ -872,25 +876,6 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
872
876
|
reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
|
|
873
877
|
grantFingerprint: string | null;
|
|
874
878
|
inference: "REMOTE_OPENAI";
|
|
875
|
-
} | {
|
|
876
|
-
historical: true;
|
|
877
|
-
items: {
|
|
878
|
-
snapshot: {
|
|
879
|
-
projectId: string;
|
|
880
|
-
title: string;
|
|
881
|
-
savedAt: string;
|
|
882
|
-
expiresAt: string;
|
|
883
|
-
productions: {
|
|
884
|
-
id: string;
|
|
885
|
-
title: string;
|
|
886
|
-
}[];
|
|
887
|
-
possiblyTruncated: boolean;
|
|
888
|
-
};
|
|
889
|
-
draft: {
|
|
890
|
-
text: string;
|
|
891
|
-
revision: number;
|
|
892
|
-
};
|
|
893
|
-
}[];
|
|
894
879
|
} | {
|
|
895
880
|
items: {
|
|
896
881
|
reference: {
|
|
@@ -995,6 +980,25 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
995
980
|
totalBytes: number;
|
|
996
981
|
quotaBytes: number;
|
|
997
982
|
availableDiskBytes: number;
|
|
983
|
+
} | {
|
|
984
|
+
historical: true;
|
|
985
|
+
items: {
|
|
986
|
+
snapshot: {
|
|
987
|
+
projectId: string;
|
|
988
|
+
title: string;
|
|
989
|
+
savedAt: string;
|
|
990
|
+
expiresAt: string;
|
|
991
|
+
productions: {
|
|
992
|
+
id: string;
|
|
993
|
+
title: string;
|
|
994
|
+
}[];
|
|
995
|
+
possiblyTruncated: boolean;
|
|
996
|
+
};
|
|
997
|
+
draft: {
|
|
998
|
+
text: string;
|
|
999
|
+
revision: number;
|
|
1000
|
+
};
|
|
1001
|
+
}[];
|
|
998
1002
|
} | {
|
|
999
1003
|
runtimeRevision: number;
|
|
1000
1004
|
descriptor: {
|
|
@@ -1022,6 +1026,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1022
1026
|
pendingExecutions: number;
|
|
1023
1027
|
pendingRequests: number;
|
|
1024
1028
|
pendingRenderers: string[];
|
|
1029
|
+
pendingProviderWork?: number | undefined;
|
|
1025
1030
|
} | {
|
|
1026
1031
|
settings: {
|
|
1027
1032
|
revision: number;
|
|
@@ -1157,6 +1162,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1157
1162
|
pendingExecutions: number;
|
|
1158
1163
|
pendingRequests: number;
|
|
1159
1164
|
pendingRenderers: string[];
|
|
1165
|
+
pendingProviderWork?: number | undefined;
|
|
1160
1166
|
} | undefined;
|
|
1161
1167
|
backupPath?: string | undefined;
|
|
1162
1168
|
} | null>;
|
|
@@ -1558,10 +1564,12 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1558
1564
|
} | {
|
|
1559
1565
|
operation: "runtime.status";
|
|
1560
1566
|
includeDevice?: true | undefined;
|
|
1567
|
+
includeConfigurationFingerprint?: true | undefined;
|
|
1561
1568
|
} | {
|
|
1562
1569
|
operation: "runtime.doctor";
|
|
1563
1570
|
} | {
|
|
1564
1571
|
operation: "runtime.inventory";
|
|
1572
|
+
includeProviderWork?: true | undefined;
|
|
1565
1573
|
} | {
|
|
1566
1574
|
operation: "session.issue";
|
|
1567
1575
|
tenantId: string;
|
|
@@ -1570,6 +1578,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1570
1578
|
} | {
|
|
1571
1579
|
operation: "runtime.stop";
|
|
1572
1580
|
expectedRuntimeRevision: number;
|
|
1581
|
+
includeProviderWork?: true | undefined;
|
|
1573
1582
|
} | {
|
|
1574
1583
|
operation: "execution.inspect";
|
|
1575
1584
|
input: {
|
|
@@ -1615,11 +1624,12 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1615
1624
|
actualVersion: string;
|
|
1616
1625
|
recovery: "REDISCOVER_CAPABILITY" | "CHECK_DEVICE_RELEASE";
|
|
1617
1626
|
} | undefined;
|
|
1627
|
+
configurationFingerprint?: string | undefined;
|
|
1618
1628
|
deviceCapabilities?: {
|
|
1619
1629
|
deviceRevision: number;
|
|
1620
1630
|
tenantMediaValidation: boolean;
|
|
1621
1631
|
tenantMediaProcessing: boolean;
|
|
1622
|
-
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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
|
|
1632
|
+
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" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "SPEECH_EXTERNAL_OPENAI_REALTIME" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_NATIVE_SPEECH" | "TRANSCRIBE_EXTERNAL_QWEN" | "TRANSCRIBE_EXTERNAL_OPENAI")[];
|
|
1623
1633
|
} | undefined;
|
|
1624
1634
|
}>;
|
|
1625
1635
|
doctor(signal?: AbortSignal): Promise<{
|
|
@@ -1662,6 +1672,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
1662
1672
|
pendingExecutions: number;
|
|
1663
1673
|
pendingRequests: number;
|
|
1664
1674
|
pendingRenderers: string[];
|
|
1675
|
+
pendingProviderWork?: number | undefined;
|
|
1665
1676
|
}>;
|
|
1666
1677
|
grantAgent(raw: unknown, approval: string): Promise<{
|
|
1667
1678
|
configured: boolean;
|
|
@@ -2749,7 +2760,8 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
2749
2760
|
}
|
|
2750
2761
|
export { LocalSessionConnectorSchema } from "../contracts/local-execution/index.js";
|
|
2751
2762
|
export { NativeStudioSdkError } from "./errors.js";
|
|
2752
|
-
export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalBundledReleaseSchema, LocalUpdatePlanSchema, LocalToolChoiceSchema, LocalClientNextActionSchema,
|
|
2763
|
+
export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalBundledReleaseSchema, LocalUpdatePlanSchema, LocalToolChoiceSchema, LocalClientNextActionSchema, newerVersion, // 渠道读取者使用同一 SemVer 优先级。
|
|
2764
|
+
canonicalLocalJson, LocalSessionConnectorSchema as LocalConnectorSchema, } from "../contracts/local-execution/index.js";
|
|
2753
2765
|
export type { LocalRelease, LocalSignedCatalogue, LocalUpdatePlan, LocalToolChoice, LocalRuntimeDescriptor, LocalSessionConnector, } from "../contracts/local-execution/index.js";
|
|
2754
2766
|
export { NativeStudioLocalDeviceClient } from "./local-runtime/device-client.js";
|
|
2755
2767
|
export { EnrollLocalDeviceSchema, RevokeLocalDeviceSchema, StartLocalPreviewSchema, StartLocalFinalRenderSchema, LocalDeviceTransportConfigurationSchema, } from "../contracts/local-execution/index.js";
|
|
@@ -2767,4 +2779,4 @@ export { importedNormalizationValidationProfile, referenceThumbnailProfile, tena
|
|
|
2767
2779
|
export { processorFamilies } from "../contracts/local-execution/index.js";
|
|
2768
2780
|
export type { TenantProcessorKind } from "../contracts/local-execution/index.js";
|
|
2769
2781
|
export * from "./local-runtime/components.js";
|
|
2770
|
-
export { CpuSpeechPrepareInputSchema, CpuSpeechPreparedSchema, } from "../contracts/local-execution/index.js";
|
|
2782
|
+
export { CpuSpeechPrepareInputSchema, CpuSpeechPreparedSchema, CpuSpeechPreparationFailureSchema, } from "../contracts/local-execution/index.js";
|
|
@@ -39,6 +39,7 @@ export declare class NativeStudioNavigationClient {
|
|
|
39
39
|
group?: "local" | "delivery" | "execution" | "review" | "planning" | "navigation" | "materials" | "administration" | "unclassified" | undefined;
|
|
40
40
|
invocationTool?: "studio_capability_query" | "studio_capability_invoke" | undefined;
|
|
41
41
|
capabilityVersion?: string | undefined;
|
|
42
|
+
schemaView?: "INPUT" | undefined;
|
|
42
43
|
}>;
|
|
43
44
|
/** Cache an acquired capability definition; never return an expanded host tool menu. */
|
|
44
45
|
selectDescription(raw: unknown, expectedTool: string, options?: {
|
|
@@ -69,6 +70,7 @@ export declare class NativeStudioNavigationClient {
|
|
|
69
70
|
group?: "local" | "delivery" | "execution" | "review" | "planning" | "navigation" | "materials" | "administration" | "unclassified" | undefined;
|
|
70
71
|
invocationTool?: "studio_capability_query" | "studio_capability_invoke" | undefined;
|
|
71
72
|
capabilityVersion?: string | undefined;
|
|
73
|
+
schemaView?: "INPUT" | undefined;
|
|
72
74
|
};
|
|
73
75
|
private remember;
|
|
74
76
|
private invalid;
|
|
@@ -155,6 +155,7 @@ export declare class NativeStudioNavigationFacade {
|
|
|
155
155
|
tenantId: string & import("zod").$brand<"TenantId">;
|
|
156
156
|
tool: string;
|
|
157
157
|
projectId?: (string & import("zod").$brand<"ProjectId">) | undefined;
|
|
158
|
+
schemaView?: "INPUT" | undefined;
|
|
158
159
|
schemaCursor?: string | undefined;
|
|
159
160
|
};
|
|
160
161
|
} | null;
|
|
@@ -375,6 +376,7 @@ export declare class NativeStudioNavigationFacade {
|
|
|
375
376
|
tenantId: string & import("zod").$brand<"TenantId">;
|
|
376
377
|
tool: string;
|
|
377
378
|
projectId?: (string & import("zod").$brand<"ProjectId">) | undefined;
|
|
379
|
+
schemaView?: "INPUT" | undefined;
|
|
378
380
|
schemaCursor?: string | undefined;
|
|
379
381
|
};
|
|
380
382
|
} | null;
|
|
@@ -488,6 +490,90 @@ export declare class NativeStudioNavigationFacade {
|
|
|
488
490
|
} | null;
|
|
489
491
|
guidance: "Use native IDs and revision from this snapshot. An outstanding or unacknowledged write must be reconciled through its Operation; never replay it automatically. Commands revalidate current authority, prerequisites, revision and idempotency.";
|
|
490
492
|
}>;
|
|
493
|
+
nextActions(input: SdkInput<"studio.next-actions">, options?: SdkRequestOptions): Promise<{
|
|
494
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
495
|
+
projectId: string & import("zod").$brand<"ProjectId">;
|
|
496
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
497
|
+
state: {
|
|
498
|
+
lifecycle: "ACTIVE" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
499
|
+
phase: "INTAKE" | "PLANNING" | "PREPARING_GENERATION" | "GENERATING" | "SHOT_REVIEW" | "ASSEMBLING" | "ROUGH_CUT_REVIEW" | "FINAL_READY" | "FINAL_RENDERING" | "DELIVERY_VALIDATION";
|
|
500
|
+
condition: "BLOCKED" | "RUNNABLE" | "RUNNING" | "WAITING_PROVIDER" | "WAITING_HUMAN" | "RETRYING";
|
|
501
|
+
revision: number;
|
|
502
|
+
blockingReason: string | null;
|
|
503
|
+
waitingReason: string | null;
|
|
504
|
+
};
|
|
505
|
+
guidance: "Use native IDs and revision from this snapshot. An outstanding or unacknowledged write must be reconciled through its Operation; never replay it automatically. Commands revalidate current authority, prerequisites, revision and idempotency.";
|
|
506
|
+
evidence: {
|
|
507
|
+
source: "production_snapshot";
|
|
508
|
+
revision: number;
|
|
509
|
+
generatedAt: string;
|
|
510
|
+
};
|
|
511
|
+
stateReasonsTruncated: {
|
|
512
|
+
blockingReason: boolean;
|
|
513
|
+
waitingReason: boolean;
|
|
514
|
+
};
|
|
515
|
+
view: "ACTIONS";
|
|
516
|
+
blockerCount: number;
|
|
517
|
+
activeOperationCount: number;
|
|
518
|
+
actions: {
|
|
519
|
+
total: number;
|
|
520
|
+
truncated: boolean;
|
|
521
|
+
page: {
|
|
522
|
+
hasMore: boolean;
|
|
523
|
+
next: string | null;
|
|
524
|
+
};
|
|
525
|
+
items: {
|
|
526
|
+
group: "local" | "delivery" | "execution" | "review" | "planning" | "navigation" | "materials" | "administration" | "unclassified" | null;
|
|
527
|
+
readOnly: boolean | null;
|
|
528
|
+
registration: "REGISTERED" | "NOT_ON_SURFACE";
|
|
529
|
+
reason: string | null;
|
|
530
|
+
availability: "UNAVAILABLE" | "AVAILABLE";
|
|
531
|
+
capability: string;
|
|
532
|
+
targetType: string;
|
|
533
|
+
targetId: string;
|
|
534
|
+
purpose: string | null;
|
|
535
|
+
evidence: {
|
|
536
|
+
path: string;
|
|
537
|
+
};
|
|
538
|
+
tool: string | null;
|
|
539
|
+
inspect: {
|
|
540
|
+
tool: "studio_capability_describe";
|
|
541
|
+
arguments: {
|
|
542
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
543
|
+
tool: string;
|
|
544
|
+
projectId?: (string & import("zod").$brand<"ProjectId">) | undefined;
|
|
545
|
+
schemaView?: "INPUT" | undefined;
|
|
546
|
+
schemaCursor?: string | undefined;
|
|
547
|
+
};
|
|
548
|
+
} | null;
|
|
549
|
+
inputHints: {
|
|
550
|
+
knownInputs: Partial<Record<"shotId" | "artifactId" | "tenantId" | "projectId" | "productionId" | "findingId" | "operationId" | "sceneId", string>>;
|
|
551
|
+
schemaFingerprint: string | null;
|
|
552
|
+
requiredInputs: string[];
|
|
553
|
+
missingInputs: string[];
|
|
554
|
+
schemaInspectionRequired: true;
|
|
555
|
+
} | null;
|
|
556
|
+
recommendation: ("NOT_ON_SURFACE" | "NATIVE_AVAILABLE" | "NATIVE_UNAVAILABLE" | "GOAL_MATCH" | "INSPECT_SCHEMA")[];
|
|
557
|
+
invocationTool?: "studio_capability_query" | "studio_capability_invoke" | undefined;
|
|
558
|
+
}[];
|
|
559
|
+
};
|
|
560
|
+
overview: {
|
|
561
|
+
tool: "studio_capability_query";
|
|
562
|
+
arguments: {
|
|
563
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
564
|
+
tool: "studio_navigate";
|
|
565
|
+
arguments: {
|
|
566
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
567
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
568
|
+
actionLimit: number;
|
|
569
|
+
projectId?: (string & import("zod").$brand<"ProjectId">) | undefined;
|
|
570
|
+
goal?: string | undefined;
|
|
571
|
+
actionNext?: string | undefined;
|
|
572
|
+
};
|
|
573
|
+
capabilityVersion?: string | undefined;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
}>;
|
|
491
577
|
resume(input: SdkInput<"operation.get">, options?: SdkRequestOptions): Promise<{
|
|
492
578
|
id: string & import("zod").$brand<"OperationId">;
|
|
493
579
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
@@ -550,6 +636,32 @@ export declare class NativeStudioNavigationFacade {
|
|
|
550
636
|
};
|
|
551
637
|
};
|
|
552
638
|
} | undefined;
|
|
639
|
+
processorReports?: {
|
|
640
|
+
items: {
|
|
641
|
+
runtimeJobId: string;
|
|
642
|
+
attemptId: string;
|
|
643
|
+
deviceId: string;
|
|
644
|
+
requestId: string;
|
|
645
|
+
state: "ACCEPTED" | "REJECTED" | "PREPARED" | "FENCED";
|
|
646
|
+
reason: string | null;
|
|
647
|
+
observedAt: string;
|
|
648
|
+
terminalAt: string | null;
|
|
649
|
+
next: "NONE" | "INSPECT_ORIGIN_DEVICE" | "CHECK_CURRENT_PRODUCTION";
|
|
650
|
+
inspect?: {
|
|
651
|
+
tool: "studio_capability_query";
|
|
652
|
+
arguments: {
|
|
653
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
654
|
+
tool: "device_status" | "production_snapshot";
|
|
655
|
+
arguments: Record<string, string | 1>;
|
|
656
|
+
};
|
|
657
|
+
} | undefined;
|
|
658
|
+
hostInspection?: {
|
|
659
|
+
owner: "HOST_OWNER";
|
|
660
|
+
command: ["nvs", "local", "status"];
|
|
661
|
+
} | undefined;
|
|
662
|
+
}[];
|
|
663
|
+
truncated: boolean;
|
|
664
|
+
} | undefined;
|
|
553
665
|
}>;
|
|
554
666
|
groups(input?: SdkInput<"studio.capability.groups">, options?: SdkRequestOptions): Promise<{
|
|
555
667
|
tenantId: string & import("zod").$brand<"TenantId">;
|
|
@@ -620,6 +732,7 @@ export declare class NativeStudioNavigationFacade {
|
|
|
620
732
|
group?: "local" | "delivery" | "execution" | "review" | "planning" | "navigation" | "materials" | "administration" | "unclassified" | undefined;
|
|
621
733
|
invocationTool?: "studio_capability_query" | "studio_capability_invoke" | undefined;
|
|
622
734
|
capabilityVersion?: string | undefined;
|
|
735
|
+
schemaView?: "INPUT" | undefined;
|
|
623
736
|
}>;
|
|
624
737
|
query(input: SdkInput<"studio.capability.query">, options?: SdkRequestOptions): Promise<{
|
|
625
738
|
tool: string;
|