@nativestudio/cli 0.3.0-rc.20 → 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 +11 -11
- package/components/runtime.json +7 -7
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/backup-retirement-5OTAYZYN.js +1 -0
- package/dist/_chunks/caller-DPHTMOBN.js +1 -0
- package/dist/_chunks/{chunk-MLZ3ZPGU.js → chunk-24ZFLWWU.js} +1 -1
- package/dist/_chunks/chunk-25WUWVDK.js +1 -0
- package/dist/_chunks/{chunk-QGK6G6YS.js → chunk-4UQRT3ZH.js} +1 -1
- package/dist/_chunks/chunk-6MYLFBLH.js +1 -0
- package/dist/_chunks/chunk-6YVGVNEH.js +1 -0
- package/dist/_chunks/{chunk-4PAVWOPA.js → chunk-7TXIHIZ5.js} +1 -1
- package/dist/_chunks/chunk-A3MJERGH.js +1 -0
- package/dist/_chunks/{chunk-DLW42PJ6.js → chunk-AZQLZA47.js} +1 -1
- package/dist/_chunks/{chunk-QE7O57PQ.js → chunk-BNGPPUA3.js} +1 -1
- package/dist/_chunks/chunk-CBJIFAHD.js +1 -0
- package/dist/_chunks/chunk-CUCC4RFF.js +1 -0
- package/dist/_chunks/{chunk-GLAF74UU.js → chunk-DBOQPJLY.js} +1 -1
- package/dist/_chunks/chunk-DEXSJABJ.js +1 -0
- package/dist/_chunks/chunk-EOWXXTEF.js +1 -0
- package/dist/_chunks/chunk-EPH3TRYV.js +1 -0
- package/dist/_chunks/chunk-EYOGMJW2.js +1 -0
- package/dist/_chunks/{chunk-LBK42NHW.js → chunk-FRZDYDOP.js} +1 -1
- package/dist/_chunks/chunk-IKJ6VNJ6.js +1 -0
- package/dist/_chunks/chunk-ISPIV2P6.js +1 -0
- package/dist/_chunks/chunk-IYYCCA44.js +1 -0
- package/dist/_chunks/chunk-KAW7T5TR.js +1 -0
- package/dist/_chunks/chunk-KGS6SI5Y.js +1 -0
- package/dist/_chunks/chunk-LNKE3Z3X.js +1 -0
- package/dist/_chunks/{chunk-XUSVNPR5.js → chunk-LRIVN74V.js} +1 -1
- package/dist/_chunks/chunk-LVVSTKDW.js +1 -0
- package/dist/_chunks/chunk-LZAC64FB.js +1 -0
- package/dist/_chunks/chunk-M32FI2OA.js +1 -0
- package/dist/_chunks/chunk-N4ORSVTY.js +1 -0
- package/dist/_chunks/{chunk-KOCUZ3AE.js → chunk-NEZ7IY5E.js} +1 -1
- package/dist/_chunks/{chunk-K35CWLDH.js → chunk-NW3ODW7Y.js} +1 -1
- package/dist/_chunks/chunk-NX4JWZWV.js +1 -0
- package/dist/_chunks/chunk-PC54RQIE.js +1 -0
- package/dist/_chunks/chunk-Q7MTMC6D.js +1 -0
- package/dist/_chunks/chunk-QCBLU6D6.js +1 -0
- package/dist/_chunks/chunk-QLHMJUBH.js +1 -0
- package/dist/_chunks/{chunk-D74NHT4I.js → chunk-RASQZMYI.js} +2 -2
- package/dist/_chunks/chunk-RRYZZBXN.js +1 -0
- package/dist/_chunks/chunk-SCLI4ALP.js +1 -0
- package/dist/_chunks/chunk-SCOSFTMM.js +1 -0
- package/dist/_chunks/chunk-UFUFQA5U.js +1 -0
- package/dist/_chunks/chunk-UOYNCE7I.js +1 -0
- package/dist/_chunks/{chunk-OW6R4MAQ.js → chunk-USOV7NK4.js} +1 -1
- package/dist/_chunks/chunk-VJ4SCIR5.js +1 -0
- package/dist/_chunks/chunk-VKXFHOAR.js +1 -0
- package/dist/_chunks/chunk-VXANXYQL.js +1 -0
- package/dist/_chunks/chunk-XMZKBILZ.js +1 -0
- package/dist/_chunks/chunk-Z44SK6DZ.js +1 -0
- package/dist/_chunks/component-contract-B6VKGV2V.js +1 -0
- package/dist/_chunks/component-preflight-FYYYXV6C.js +1 -0
- package/dist/_chunks/connect-75RAY2SE.js +1 -0
- package/dist/_chunks/device-management-JGV4YU7S.js +1 -0
- package/dist/_chunks/device-preflight-ZPWOMGHI.js +1 -0
- package/dist/_chunks/device-provider-inspection-C4IRVW3V.js +1 -0
- package/dist/_chunks/devices-inventory-OAY2HON2.js +1 -0
- package/dist/_chunks/devices-main-6PDXFRE2.js +1 -0
- package/dist/_chunks/files-G2HINGMA.js +1 -0
- package/dist/_chunks/host-component-W5DIBO65.js +1 -0
- package/dist/_chunks/host-help-AYTWACIM.js +1 -0
- package/dist/_chunks/host-main-E34OH232.js +1 -0
- package/dist/_chunks/http-profile-BFWO2A2T.js +1 -0
- package/dist/_chunks/library-main-BDS4ANNF.js +1 -0
- package/dist/_chunks/local-main-EF3Y6EHU.js +1 -0
- package/dist/_chunks/local-mcp-ME7ZQBUT.js +1 -0
- package/dist/_chunks/main-7Q5Y5MVK.js +2 -0
- package/dist/_chunks/mcp-VEJ6GVUK.js +1 -0
- package/dist/_chunks/model-cleanup-22VY6NWS.js +1 -0
- package/dist/_chunks/model-management-RZ4LQYMW.js +1 -0
- package/dist/_chunks/model-plan-retirement-4V2J3AUA.js +1 -0
- package/dist/_chunks/model-retention-F4WNSTJO.js +1 -0
- package/dist/_chunks/model-slot-retirement-KL6MVDGL.js +1 -0
- package/dist/_chunks/oauth-Z26E4LJQ.js +1 -0
- package/dist/_chunks/observe-entry-ZV26WLCP.js +1 -0
- package/dist/_chunks/provider-change-U34UP6ER.js +1 -0
- package/dist/_chunks/remote-client-6F6KRJA6.js +1 -0
- package/dist/_chunks/render-main-ID5JWWKY.js +1 -0
- package/dist/_chunks/source-import-YW6YEMEN.js +1 -0
- package/dist/_chunks/src-36KAJDK4.js +1 -0
- package/dist/_chunks/stdio-main-YR5TITX2.js +1 -0
- package/dist/_chunks/workspace-main-ZFR7ZY3R.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +349 -40
- package/dist/_types/cli/local/desktop-device-contract.d.ts +89 -78
- package/dist/_types/cli/local/desktop-device-owner.d.ts +14 -14
- package/dist/_types/cli/local/desktop-device-state.d.ts +13 -8
- package/dist/_types/cli/local/desktop-owner.d.ts +130 -30
- package/dist/_types/cli/local/ledger.d.ts +285 -0
- package/dist/_types/cli/local/lifecycle-gates.d.ts +8 -0
- package/dist/_types/cli/local/manager.d.ts +11 -1107
- package/dist/_types/cli/local/mcp-tools.d.ts +3 -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 +103 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +64 -0
- package/dist/_types/contracts/interface/query.d.ts +63 -0
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +2 -2
- 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 +193 -1
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +3 -1
- 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/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/local-runtime/components.d.ts +6 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +35 -23
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +3 -2
- package/dist/_chunks/chunk-27KI24GK.js +0 -1
- package/dist/_chunks/chunk-3TOXIJ7K.js +0 -1
- package/dist/_chunks/chunk-4M2SOMSN.js +0 -1
- package/dist/_chunks/chunk-6EZX2TRX.js +0 -1
- package/dist/_chunks/chunk-7I7ARCY7.js +0 -1
- package/dist/_chunks/chunk-7P2NA6TH.js +0 -1
- package/dist/_chunks/chunk-AFNJRZLJ.js +0 -1
- package/dist/_chunks/chunk-APNZQZFB.js +0 -1
- package/dist/_chunks/chunk-ELUJ44BO.js +0 -1
- package/dist/_chunks/chunk-FVY3PLG7.js +0 -1
- package/dist/_chunks/chunk-HBDPYWMI.js +0 -1
- package/dist/_chunks/chunk-IYDHDLTR.js +0 -1
- package/dist/_chunks/chunk-L3QA7FLZ.js +0 -1
- package/dist/_chunks/chunk-NG4BDFEY.js +0 -1
- package/dist/_chunks/chunk-OSO6KRE2.js +0 -1
- package/dist/_chunks/chunk-QK4XPVKT.js +0 -1
- package/dist/_chunks/chunk-ROGOASYF.js +0 -1
- package/dist/_chunks/chunk-UYKCN5DU.js +0 -1
- package/dist/_chunks/chunk-WTJVS2VS.js +0 -1
- package/dist/_chunks/component-contract-KXK7WIUI.js +0 -1
- package/dist/_chunks/component-preflight-WECLCZLF.js +0 -1
- package/dist/_chunks/connect-7TJDWXV4.js +0 -1
- package/dist/_chunks/device-management-TLRUMZL5.js +0 -1
- package/dist/_chunks/device-preflight-C7FFUXI2.js +0 -1
- package/dist/_chunks/devices-inventory-BZF53UAU.js +0 -1
- package/dist/_chunks/devices-main-V3YHCB2C.js +0 -1
- package/dist/_chunks/files-JJ6YOULB.js +0 -1
- package/dist/_chunks/host-component-Q5IHRHRI.js +0 -1
- package/dist/_chunks/host-help-7BGYR4ET.js +0 -1
- package/dist/_chunks/host-main-JLIBRHC2.js +0 -1
- package/dist/_chunks/http-profile-3VVSWYA5.js +0 -1
- package/dist/_chunks/library-main-ATRFEAVN.js +0 -1
- package/dist/_chunks/local-main-KTYCLHDA.js +0 -1
- package/dist/_chunks/local-mcp-ISMU6ADI.js +0 -1
- package/dist/_chunks/main-MOZS2EK3.js +0 -2
- package/dist/_chunks/mcp-M2SO3J2H.js +0 -1
- package/dist/_chunks/oauth-RPME2XYB.js +0 -1
- package/dist/_chunks/observe-entry-E6DFHIMW.js +0 -1
- package/dist/_chunks/remote-client-T75C45JO.js +0 -1
- package/dist/_chunks/render-main-OGCO2LX4.js +0 -1
- package/dist/_chunks/source-import-55JJ26AA.js +0 -1
- package/dist/_chunks/src-V2K52JDH.js +0 -1
- package/dist/_chunks/stdio-main-HNLJCG45.js +0 -1
- package/dist/_chunks/workspace-main-3P56DSEQ.js +0 -1
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { LocalLibraryReference } from "./library.js";
|
|
3
|
-
/**
|
|
3
|
+
/** 发布交给原片、项目素材或生产音轨的既有 Owner。 */
|
|
4
4
|
export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
6
|
+
command: z.ZodObject<{
|
|
7
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
8
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
9
|
+
purpose: z.ZodEnum<{
|
|
10
|
+
VOICEOVER: "VOICEOVER";
|
|
11
|
+
MUSIC: "MUSIC";
|
|
12
|
+
}>;
|
|
13
|
+
expectedProductionRevision: z.ZodInt;
|
|
14
|
+
expectedAudioVersion: z.ZodInt;
|
|
15
|
+
idempotencyKey: z.ZodString;
|
|
16
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
17
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5
20
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
6
21
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
22
|
operation: z.ZodLiteral<"REGISTER">;
|
|
8
23
|
input: z.ZodObject<{
|
|
9
24
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
25
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
10
26
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
11
27
|
tenantId: z.ZodUUID;
|
|
12
28
|
projectId: z.ZodUUID;
|
|
@@ -33,6 +49,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
33
49
|
operation: z.ZodLiteral<"REVISE">;
|
|
34
50
|
input: z.ZodObject<{
|
|
35
51
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
52
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
36
53
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
37
54
|
tenantId: z.ZodUUID;
|
|
38
55
|
projectId: z.ZodUUID;
|
|
@@ -68,6 +85,7 @@ export declare const LocalLibraryDestinationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
68
85
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
69
86
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
70
87
|
}>;
|
|
88
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
71
89
|
contentType: z.ZodEnum<{
|
|
72
90
|
"application/json": "application/json";
|
|
73
91
|
"text/plain": "text/plain";
|
|
@@ -114,6 +132,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
114
132
|
}, z.core.$strict>;
|
|
115
133
|
accessRevision: z.ZodInt;
|
|
116
134
|
action: z.ZodLiteral<"INSPECT">;
|
|
135
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
117
136
|
}, z.core.$strict>, z.ZodObject<{
|
|
118
137
|
tenantId: z.ZodUUID;
|
|
119
138
|
projectId: z.ZodUUID;
|
|
@@ -142,11 +161,27 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
142
161
|
accessRevision: z.ZodInt;
|
|
143
162
|
action: z.ZodLiteral<"PUBLISH">;
|
|
144
163
|
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
165
|
+
command: z.ZodObject<{
|
|
166
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
167
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
168
|
+
purpose: z.ZodEnum<{
|
|
169
|
+
VOICEOVER: "VOICEOVER";
|
|
170
|
+
MUSIC: "MUSIC";
|
|
171
|
+
}>;
|
|
172
|
+
expectedProductionRevision: z.ZodInt;
|
|
173
|
+
expectedAudioVersion: z.ZodInt;
|
|
174
|
+
idempotencyKey: z.ZodString;
|
|
175
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
176
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
145
179
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
146
180
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
147
181
|
operation: z.ZodLiteral<"REGISTER">;
|
|
148
182
|
input: z.ZodObject<{
|
|
149
183
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
184
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
150
185
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
151
186
|
tenantId: z.ZodUUID;
|
|
152
187
|
projectId: z.ZodUUID;
|
|
@@ -173,6 +208,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
173
208
|
operation: z.ZodLiteral<"REVISE">;
|
|
174
209
|
input: z.ZodObject<{
|
|
175
210
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
211
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
176
212
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
177
213
|
tenantId: z.ZodUUID;
|
|
178
214
|
projectId: z.ZodUUID;
|
|
@@ -208,6 +244,7 @@ export declare const LocalLibraryCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
208
244
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
209
245
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
210
246
|
}>;
|
|
247
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
211
248
|
contentType: z.ZodEnum<{
|
|
212
249
|
"application/json": "application/json";
|
|
213
250
|
"text/plain": "text/plain";
|
|
@@ -265,7 +302,7 @@ export declare const LocalLibraryAdmissionSchema: z.ZodObject<{
|
|
|
265
302
|
}, z.core.$strict>;
|
|
266
303
|
export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
267
304
|
kind: z.ZodLiteral<"VIDEO">;
|
|
268
|
-
metadata: z.ZodObject<{
|
|
305
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
269
306
|
geometry: z.ZodObject<{
|
|
270
307
|
width: z.ZodInt;
|
|
271
308
|
height: z.ZodInt;
|
|
@@ -324,6 +361,85 @@ export declare const LocalLibraryInspectionSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
324
361
|
LIVE: "LIVE";
|
|
325
362
|
TEST_ONLY: "TEST_ONLY";
|
|
326
363
|
}>;
|
|
364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
365
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
366
|
+
geometry: z.ZodObject<{
|
|
367
|
+
width: z.ZodInt;
|
|
368
|
+
height: z.ZodInt;
|
|
369
|
+
}, z.core.$strict>;
|
|
370
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
371
|
+
"1:1": "1:1";
|
|
372
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
373
|
+
}>;
|
|
374
|
+
fieldOrder: z.ZodEnum<{
|
|
375
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
376
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
377
|
+
}>;
|
|
378
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
379
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
380
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
381
|
+
startPts: z.ZodLiteral<0>;
|
|
382
|
+
timeBase: z.ZodObject<{
|
|
383
|
+
numerator: z.ZodInt;
|
|
384
|
+
denominator: z.ZodInt;
|
|
385
|
+
}, z.core.$strict>;
|
|
386
|
+
frameRate: z.ZodObject<{
|
|
387
|
+
numerator: z.ZodInt;
|
|
388
|
+
denominator: z.ZodInt;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
frameCount: z.ZodInt;
|
|
391
|
+
durationTicks: z.ZodInt;
|
|
392
|
+
availableCfr30Frames: z.ZodInt;
|
|
393
|
+
color: z.ZodObject<{
|
|
394
|
+
range: z.ZodEnum<{
|
|
395
|
+
unknown: "unknown";
|
|
396
|
+
tv: "tv";
|
|
397
|
+
}>;
|
|
398
|
+
space: z.ZodEnum<{
|
|
399
|
+
unknown: "unknown";
|
|
400
|
+
bt709: "bt709";
|
|
401
|
+
}>;
|
|
402
|
+
transfer: z.ZodEnum<{
|
|
403
|
+
unknown: "unknown";
|
|
404
|
+
bt709: "bt709";
|
|
405
|
+
}>;
|
|
406
|
+
primaries: z.ZodEnum<{
|
|
407
|
+
unknown: "unknown";
|
|
408
|
+
bt709: "bt709";
|
|
409
|
+
}>;
|
|
410
|
+
}, z.core.$strict>;
|
|
411
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
412
|
+
codec: z.ZodLiteral<"aac">;
|
|
413
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
414
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
415
|
+
startPts: z.ZodInt;
|
|
416
|
+
timeBase: z.ZodObject<{
|
|
417
|
+
numerator: z.ZodInt;
|
|
418
|
+
denominator: z.ZodInt;
|
|
419
|
+
}, z.core.$strict>;
|
|
420
|
+
durationTicks: z.ZodInt;
|
|
421
|
+
}, z.core.$strict>>;
|
|
422
|
+
fullDecode: z.ZodLiteral<true>;
|
|
423
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
424
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
425
|
+
checksumSha256: z.ZodString;
|
|
426
|
+
byteSize: z.ZodInt;
|
|
427
|
+
executionClass: z.ZodEnum<{
|
|
428
|
+
LIVE: "LIVE";
|
|
429
|
+
TEST_ONLY: "TEST_ONLY";
|
|
430
|
+
}>;
|
|
431
|
+
}, z.core.$strict>]>;
|
|
432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
434
|
+
checksumSha256: z.ZodString;
|
|
435
|
+
byteSize: z.ZodInt;
|
|
436
|
+
media: z.ZodObject<{
|
|
437
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
438
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
439
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
440
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
441
|
+
sampleCount: z.ZodInt;
|
|
442
|
+
durationMs: z.ZodInt;
|
|
327
443
|
}, z.core.$strict>;
|
|
328
444
|
}, z.core.$strict>, z.ZodObject<{
|
|
329
445
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -356,6 +472,7 @@ export declare const LocalLibraryInspectRecipeSchema: z.ZodObject<{
|
|
|
356
472
|
}, z.core.$strict>;
|
|
357
473
|
accessRevision: z.ZodInt;
|
|
358
474
|
libraryProfileDigest: z.ZodString;
|
|
475
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
359
476
|
}, z.core.$strict>;
|
|
360
477
|
export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
361
478
|
processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
|
|
@@ -382,11 +499,27 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
382
499
|
accessRevision: z.ZodInt;
|
|
383
500
|
libraryProfileDigest: z.ZodString;
|
|
384
501
|
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
502
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
503
|
+
command: z.ZodObject<{
|
|
504
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
505
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
506
|
+
purpose: z.ZodEnum<{
|
|
507
|
+
VOICEOVER: "VOICEOVER";
|
|
508
|
+
MUSIC: "MUSIC";
|
|
509
|
+
}>;
|
|
510
|
+
expectedProductionRevision: z.ZodInt;
|
|
511
|
+
expectedAudioVersion: z.ZodInt;
|
|
512
|
+
idempotencyKey: z.ZodString;
|
|
513
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
514
|
+
originalName: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, z.core.$strict>;
|
|
516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
385
517
|
kind: z.ZodLiteral<"ORIGINAL">;
|
|
386
518
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
387
519
|
operation: z.ZodLiteral<"REGISTER">;
|
|
388
520
|
input: z.ZodObject<{
|
|
389
521
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
522
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
390
523
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
391
524
|
tenantId: z.ZodUUID;
|
|
392
525
|
projectId: z.ZodUUID;
|
|
@@ -413,6 +546,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
413
546
|
operation: z.ZodLiteral<"REVISE">;
|
|
414
547
|
input: z.ZodObject<{
|
|
415
548
|
deviceId: z.ZodOptional<z.ZodUUID>;
|
|
549
|
+
geometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
416
550
|
projectSourceArtifactId: z.ZodOptional<z.ZodUUID>;
|
|
417
551
|
tenantId: z.ZodUUID;
|
|
418
552
|
projectId: z.ZodUUID;
|
|
@@ -448,6 +582,7 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
448
582
|
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
449
583
|
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
450
584
|
}>;
|
|
585
|
+
videoGeometryProfile: z.ZodOptional<z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">>;
|
|
451
586
|
contentType: z.ZodEnum<{
|
|
452
587
|
"application/json": "application/json";
|
|
453
588
|
"text/plain": "text/plain";
|
|
@@ -471,14 +606,17 @@ export declare const LocalLibraryPublishRecipeSchema: z.ZodObject<{
|
|
|
471
606
|
versionId: z.ZodUUID;
|
|
472
607
|
byteSize: z.ZodInt;
|
|
473
608
|
checksumSha256: z.ZodString;
|
|
474
|
-
role: z.
|
|
609
|
+
role: z.ZodEnum<{
|
|
610
|
+
AUDIO: "AUDIO";
|
|
611
|
+
SOURCE: "SOURCE";
|
|
612
|
+
}>;
|
|
475
613
|
}, z.core.$strict>;
|
|
476
614
|
}, z.core.$strict>;
|
|
477
615
|
export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
|
|
478
616
|
processor: z.ZodLiteral<"LOCAL_MEDIA_INSPECT">;
|
|
479
617
|
inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
480
618
|
kind: z.ZodLiteral<"VIDEO">;
|
|
481
|
-
metadata: z.ZodObject<{
|
|
619
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
482
620
|
geometry: z.ZodObject<{
|
|
483
621
|
width: z.ZodInt;
|
|
484
622
|
height: z.ZodInt;
|
|
@@ -537,6 +675,85 @@ export declare const LocalLibraryInspectEvidenceSchema: z.ZodObject<{
|
|
|
537
675
|
LIVE: "LIVE";
|
|
538
676
|
TEST_ONLY: "TEST_ONLY";
|
|
539
677
|
}>;
|
|
678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
679
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
680
|
+
geometry: z.ZodObject<{
|
|
681
|
+
width: z.ZodInt;
|
|
682
|
+
height: z.ZodInt;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
685
|
+
"1:1": "1:1";
|
|
686
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
687
|
+
}>;
|
|
688
|
+
fieldOrder: z.ZodEnum<{
|
|
689
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
690
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
691
|
+
}>;
|
|
692
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
693
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
694
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
695
|
+
startPts: z.ZodLiteral<0>;
|
|
696
|
+
timeBase: z.ZodObject<{
|
|
697
|
+
numerator: z.ZodInt;
|
|
698
|
+
denominator: z.ZodInt;
|
|
699
|
+
}, z.core.$strict>;
|
|
700
|
+
frameRate: z.ZodObject<{
|
|
701
|
+
numerator: z.ZodInt;
|
|
702
|
+
denominator: z.ZodInt;
|
|
703
|
+
}, z.core.$strict>;
|
|
704
|
+
frameCount: z.ZodInt;
|
|
705
|
+
durationTicks: z.ZodInt;
|
|
706
|
+
availableCfr30Frames: z.ZodInt;
|
|
707
|
+
color: z.ZodObject<{
|
|
708
|
+
range: z.ZodEnum<{
|
|
709
|
+
unknown: "unknown";
|
|
710
|
+
tv: "tv";
|
|
711
|
+
}>;
|
|
712
|
+
space: z.ZodEnum<{
|
|
713
|
+
unknown: "unknown";
|
|
714
|
+
bt709: "bt709";
|
|
715
|
+
}>;
|
|
716
|
+
transfer: z.ZodEnum<{
|
|
717
|
+
unknown: "unknown";
|
|
718
|
+
bt709: "bt709";
|
|
719
|
+
}>;
|
|
720
|
+
primaries: z.ZodEnum<{
|
|
721
|
+
unknown: "unknown";
|
|
722
|
+
bt709: "bt709";
|
|
723
|
+
}>;
|
|
724
|
+
}, z.core.$strict>;
|
|
725
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
726
|
+
codec: z.ZodLiteral<"aac">;
|
|
727
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
728
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
729
|
+
startPts: z.ZodInt;
|
|
730
|
+
timeBase: z.ZodObject<{
|
|
731
|
+
numerator: z.ZodInt;
|
|
732
|
+
denominator: z.ZodInt;
|
|
733
|
+
}, z.core.$strict>;
|
|
734
|
+
durationTicks: z.ZodInt;
|
|
735
|
+
}, z.core.$strict>>;
|
|
736
|
+
fullDecode: z.ZodLiteral<true>;
|
|
737
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
738
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
739
|
+
checksumSha256: z.ZodString;
|
|
740
|
+
byteSize: z.ZodInt;
|
|
741
|
+
executionClass: z.ZodEnum<{
|
|
742
|
+
LIVE: "LIVE";
|
|
743
|
+
TEST_ONLY: "TEST_ONLY";
|
|
744
|
+
}>;
|
|
745
|
+
}, z.core.$strict>]>;
|
|
746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
747
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
748
|
+
checksumSha256: z.ZodString;
|
|
749
|
+
byteSize: z.ZodInt;
|
|
750
|
+
media: z.ZodObject<{
|
|
751
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
752
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
753
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
754
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
755
|
+
sampleCount: z.ZodInt;
|
|
756
|
+
durationMs: z.ZodInt;
|
|
540
757
|
}, z.core.$strict>;
|
|
541
758
|
}, z.core.$strict>, z.ZodObject<{
|
|
542
759
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -550,7 +767,7 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
550
767
|
processor: z.ZodLiteral<"LOCAL_MEDIA_PUBLISH">;
|
|
551
768
|
inspection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
552
769
|
kind: z.ZodLiteral<"VIDEO">;
|
|
553
|
-
metadata: z.ZodObject<{
|
|
770
|
+
metadata: z.ZodUnion<readonly [z.ZodObject<{
|
|
554
771
|
geometry: z.ZodObject<{
|
|
555
772
|
width: z.ZodInt;
|
|
556
773
|
height: z.ZodInt;
|
|
@@ -609,6 +826,85 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
609
826
|
LIVE: "LIVE";
|
|
610
827
|
TEST_ONLY: "TEST_ONLY";
|
|
611
828
|
}>;
|
|
829
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
830
|
+
geometryProfile: z.ZodLiteral<"IMPORTED_H264_SDR_CFR30_PRESERVE_V2">;
|
|
831
|
+
geometry: z.ZodObject<{
|
|
832
|
+
width: z.ZodInt;
|
|
833
|
+
height: z.ZodInt;
|
|
834
|
+
}, z.core.$strict>;
|
|
835
|
+
sampleAspectRatio: z.ZodEnum<{
|
|
836
|
+
"1:1": "1:1";
|
|
837
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
838
|
+
}>;
|
|
839
|
+
fieldOrder: z.ZodEnum<{
|
|
840
|
+
UNSPECIFIED: "UNSPECIFIED";
|
|
841
|
+
PROGRESSIVE: "PROGRESSIVE";
|
|
842
|
+
}>;
|
|
843
|
+
videoCodec: z.ZodLiteral<"h264">;
|
|
844
|
+
pixelFormat: z.ZodLiteral<"yuv420p">;
|
|
845
|
+
rotationDegrees: z.ZodLiteral<0>;
|
|
846
|
+
startPts: z.ZodLiteral<0>;
|
|
847
|
+
timeBase: z.ZodObject<{
|
|
848
|
+
numerator: z.ZodInt;
|
|
849
|
+
denominator: z.ZodInt;
|
|
850
|
+
}, z.core.$strict>;
|
|
851
|
+
frameRate: z.ZodObject<{
|
|
852
|
+
numerator: z.ZodInt;
|
|
853
|
+
denominator: z.ZodInt;
|
|
854
|
+
}, z.core.$strict>;
|
|
855
|
+
frameCount: z.ZodInt;
|
|
856
|
+
durationTicks: z.ZodInt;
|
|
857
|
+
availableCfr30Frames: z.ZodInt;
|
|
858
|
+
color: z.ZodObject<{
|
|
859
|
+
range: z.ZodEnum<{
|
|
860
|
+
unknown: "unknown";
|
|
861
|
+
tv: "tv";
|
|
862
|
+
}>;
|
|
863
|
+
space: z.ZodEnum<{
|
|
864
|
+
unknown: "unknown";
|
|
865
|
+
bt709: "bt709";
|
|
866
|
+
}>;
|
|
867
|
+
transfer: z.ZodEnum<{
|
|
868
|
+
unknown: "unknown";
|
|
869
|
+
bt709: "bt709";
|
|
870
|
+
}>;
|
|
871
|
+
primaries: z.ZodEnum<{
|
|
872
|
+
unknown: "unknown";
|
|
873
|
+
bt709: "bt709";
|
|
874
|
+
}>;
|
|
875
|
+
}, z.core.$strict>;
|
|
876
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
877
|
+
codec: z.ZodLiteral<"aac">;
|
|
878
|
+
sampleRateHz: z.ZodUnion<readonly [z.ZodLiteral<44100>, z.ZodLiteral<48000>]>;
|
|
879
|
+
channels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
880
|
+
startPts: z.ZodInt;
|
|
881
|
+
timeBase: z.ZodObject<{
|
|
882
|
+
numerator: z.ZodInt;
|
|
883
|
+
denominator: z.ZodInt;
|
|
884
|
+
}, z.core.$strict>;
|
|
885
|
+
durationTicks: z.ZodInt;
|
|
886
|
+
}, z.core.$strict>>;
|
|
887
|
+
fullDecode: z.ZodLiteral<true>;
|
|
888
|
+
cfrTimestampsVerified: z.ZodLiteral<true>;
|
|
889
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
890
|
+
checksumSha256: z.ZodString;
|
|
891
|
+
byteSize: z.ZodInt;
|
|
892
|
+
executionClass: z.ZodEnum<{
|
|
893
|
+
LIVE: "LIVE";
|
|
894
|
+
TEST_ONLY: "TEST_ONLY";
|
|
895
|
+
}>;
|
|
896
|
+
}, z.core.$strict>]>;
|
|
897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
898
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
899
|
+
checksumSha256: z.ZodString;
|
|
900
|
+
byteSize: z.ZodInt;
|
|
901
|
+
media: z.ZodObject<{
|
|
902
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_V1">;
|
|
903
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
904
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
905
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
906
|
+
sampleCount: z.ZodInt;
|
|
907
|
+
durationMs: z.ZodInt;
|
|
612
908
|
}, z.core.$strict>;
|
|
613
909
|
}, z.core.$strict>, z.ZodObject<{
|
|
614
910
|
kind: z.ZodLiteral<"IMAGE">;
|
|
@@ -618,3 +914,5 @@ export declare const LocalLibraryPublishEvidenceSchema: z.ZodObject<{
|
|
|
618
914
|
height: z.ZodInt;
|
|
619
915
|
}, z.core.$strict>], "kind">;
|
|
620
916
|
}, z.core.$strict>;
|
|
917
|
+
/** 检查或发布都从原请求读取几何档,发布时只继承准确目标,不能自行猜测。 */
|
|
918
|
+
export declare function localLibraryVideoGeometry(recipe: Pick<z.infer<typeof LocalLibraryInspectRecipeSchema>, "processor" | "geometryProfile"> | Pick<z.infer<typeof LocalLibraryPublishRecipeSchema>, "processor" | "destination">): "IMPORTED_H264_SDR_CFR30_PRESERVE_V2" | undefined;
|