@nativestudio/cli 0.0.0-stage → 0.3.0-rc.11
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 +45 -0
- package/LICENSE +201 -0
- package/components/runtime.json +31 -0
- package/components/runtime.tgz +0 -0
- package/dist/BUNDLED_DEPENDENCIES.json +1 -0
- package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
- package/dist/_chunks/chunk-37PAJCKA.js +1 -0
- package/dist/_chunks/chunk-3AVC742O.js +1 -0
- package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
- package/dist/_chunks/chunk-65FQPXKC.js +1 -0
- package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
- package/dist/_chunks/chunk-6LU6GJKW.js +1 -0
- package/dist/_chunks/chunk-6N433ZWR.js +1 -0
- package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
- package/dist/_chunks/chunk-FU3524Z6.js +1 -0
- package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
- package/dist/_chunks/chunk-HR34UMPP.js +1 -0
- package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
- package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/chunk-L543FEDK.js +1 -0
- package/dist/_chunks/chunk-LISB5W7B.js +1 -0
- package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
- package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
- package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
- package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
- package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
- package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
- package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
- package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
- package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
- package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
- package/dist/_chunks/connect-5YMO6MAR.js +1 -0
- package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
- package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
- package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
- package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
- package/dist/_chunks/files-TTIQ7LYJ.js +1 -0
- package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
- package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
- package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
- package/dist/_chunks/local-main-D6B3APK6.js +1 -0
- package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
- package/dist/_chunks/main-PW6HB3NC.js +2 -0
- package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
- package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
- package/dist/_chunks/render-main-GYWKP72O.js +1 -0
- package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
- package/dist/_chunks/src-R6DNU336.js +1 -0
- package/dist/_chunks/stdio-main-RIJS5REB.js +1 -0
- package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
- package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +2176 -0
- package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-node.d.ts +1 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +766 -0
- package/dist/_types/cli/local/ledger.d.ts +363 -0
- package/dist/_types/cli/local/manager.d.ts +1695 -0
- package/dist/_types/cli/local/mcp-tools.d.ts +660 -0
- package/dist/_types/cli/local/releases.d.ts +123 -0
- package/dist/_types/cli/local-management.d.ts +16 -0
- package/dist/_types/cli/local-navigation.d.ts +4 -0
- package/dist/_types/contracts/accepted-shot.d.ts +27 -0
- package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
- package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
- package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
- package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
- package/dist/_types/contracts/agent-host.d.ts +226 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +242 -0
- package/dist/_types/contracts/artifact.d.ts +188 -0
- package/dist/_types/contracts/audio.d.ts +335 -0
- package/dist/_types/contracts/brief.d.ts +178 -0
- package/dist/_types/contracts/caption-render.d.ts +20 -0
- package/dist/_types/contracts/caption-transcript.d.ts +102 -0
- package/dist/_types/contracts/captions.d.ts +420 -0
- package/dist/_types/contracts/clip-framing.d.ts +14 -0
- package/dist/_types/contracts/clip-transition.d.ts +6 -0
- package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
- package/dist/_types/contracts/composition-authoring.d.ts +744 -0
- package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
- package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
- package/dist/_types/contracts/composition-making.d.ts +390 -0
- package/dist/_types/contracts/composition-observation.d.ts +239 -0
- package/dist/_types/contracts/composition-render-base.d.ts +293 -0
- package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
- package/dist/_types/contracts/composition-render.d.ts +406 -0
- package/dist/_types/contracts/composition-repair.d.ts +451 -0
- package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
- package/dist/_types/contracts/consistency-profile.d.ts +845 -0
- package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
- package/dist/_types/contracts/delivery-completion.d.ts +210 -0
- package/dist/_types/contracts/delivery-manifest.d.ts +72 -0
- package/dist/_types/contracts/delivery-operations.d.ts +1151 -0
- package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
- package/dist/_types/contracts/delivery-summary.d.ts +220 -0
- package/dist/_types/contracts/delivery-validation.d.ts +206 -0
- package/dist/_types/contracts/device-render.d.ts +77 -0
- package/dist/_types/contracts/director-proposal.d.ts +1067 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +3374 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +519 -0
- package/dist/_types/contracts/external-agent-access.d.ts +93 -0
- package/dist/_types/contracts/final-ready.d.ts +301 -0
- package/dist/_types/contracts/final-render-profile.d.ts +59 -0
- package/dist/_types/contracts/final-render.d.ts +2810 -0
- package/dist/_types/contracts/foundation.d.ts +1 -0
- package/dist/_types/contracts/generation-contract.d.ts +268 -0
- package/dist/_types/contracts/generation-cost.d.ts +70 -0
- package/dist/_types/contracts/health.d.ts +6 -0
- package/dist/_types/contracts/human-identity.d.ts +162 -0
- package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
- package/dist/_types/contracts/ids.d.ts +41 -0
- package/dist/_types/contracts/index.d.ts +126 -0
- package/dist/_types/contracts/interface/common.d.ts +56 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
- package/dist/_types/contracts/interface/index.d.ts +7 -0
- package/dist/_types/contracts/interface/media-output.d.ts +90 -0
- package/dist/_types/contracts/interface/operation.d.ts +61 -0
- package/dist/_types/contracts/interface/output.d.ts +15 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +654 -0
- package/dist/_types/contracts/interface/query.d.ts +315 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +378 -0
- package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
- package/dist/_types/contracts/keyframe-review.d.ts +753 -0
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
- package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
- package/dist/_types/contracts/listening-evidence.d.ts +37 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -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 +992 -0
- package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
- package/dist/_types/contracts/local-execution/common.d.ts +49 -0
- package/dist/_types/contracts/local-execution/completion.d.ts +124 -0
- package/dist/_types/contracts/local-execution/components.d.ts +45 -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 +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +102 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +37 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +3730 -0
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +519 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +929 -0
- package/dist/_types/contracts/local-execution/management.d.ts +400 -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 +243 -0
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +55 -0
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +149 -0
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-export.d.ts +23 -0
- package/dist/_types/contracts/media-observation.d.ts +2080 -0
- package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
- package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
- package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
- package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
- package/dist/_types/contracts/native-video-audio.d.ts +62 -0
- package/dist/_types/contracts/navigation-context.d.ts +253 -0
- package/dist/_types/contracts/navigation-groups.d.ts +51 -0
- package/dist/_types/contracts/navigation.d.ts +248 -0
- package/dist/_types/contracts/observation-profile.d.ts +99 -0
- package/dist/_types/contracts/planning-input.d.ts +177 -0
- package/dist/_types/contracts/principal.d.ts +26 -0
- package/dist/_types/contracts/production-creation.d.ts +66 -0
- package/dist/_types/contracts/production-termination.d.ts +51 -0
- package/dist/_types/contracts/production.d.ts +111 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
- package/dist/_types/contracts/programmatic-exploration.d.ts +1822 -0
- package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
- package/dist/_types/contracts/project-library.d.ts +173 -0
- package/dist/_types/contracts/project.d.ts +93 -0
- package/dist/_types/contracts/provider-catalog.d.ts +421 -0
- package/dist/_types/contracts/provider-models.d.ts +3388 -0
- package/dist/_types/contracts/provider.d.ts +207 -0
- package/dist/_types/contracts/reference-preview.d.ts +55 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +2564 -0
- package/dist/_types/contracts/repair-plan.d.ts +646 -0
- package/dist/_types/contracts/repair-strategy.d.ts +1432 -0
- package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +883 -0
- package/dist/_types/contracts/review-intelligence.d.ts +573 -0
- package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
- package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
- package/dist/_types/contracts/review1-repair.d.ts +36 -0
- package/dist/_types/contracts/rough-cut-manifest.d.ts +352 -0
- package/dist/_types/contracts/rough-cut-profile.d.ts +46 -0
- package/dist/_types/contracts/rough-cut-review.d.ts +459 -0
- package/dist/_types/contracts/rough-cut.d.ts +1260 -0
- package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
- package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
- package/dist/_types/contracts/shot-direction.d.ts +113 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
- package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
- package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
- package/dist/_types/contracts/sound-making-plan.d.ts +1586 -0
- package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
- package/dist/_types/contracts/source-workspace.d.ts +62 -0
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +573 -0
- package/dist/_types/contracts/story.d.ts +98 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +380 -0
- package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
- package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
- package/dist/_types/contracts/tenant.d.ts +7 -0
- package/dist/_types/contracts/timeline-audio.d.ts +98 -0
- package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +704 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +353 -0
- package/dist/_types/contracts/timeline-v2.d.ts +1267 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +2955 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +1249 -0
- package/dist/_types/contracts/timeline.d.ts +142 -0
- package/dist/_types/contracts/transcription.d.ts +80 -0
- package/dist/_types/contracts/video-generation.d.ts +676 -0
- package/dist/_types/contracts/video-review.d.ts +1871 -0
- package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +2820 -0
- package/dist/_types/contracts/visual-layer.d.ts +112 -0
- package/dist/_types/contracts/visual-sequence.d.ts +143 -0
- package/dist/_types/contracts/workspace.d.ts +32 -0
- package/dist/_types/contracts/writer-proposal.d.ts +268 -0
- package/dist/_types/sdk/errors.d.ts +14 -0
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +187 -0
- 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 +2616 -0
- package/dist/entry.js +2 -0
- package/dist/local-management.d.ts +1 -0
- package/dist/local-management.js +1 -0
- package/dist/local-navigation.d.ts +1 -0
- package/dist/local-navigation.js +1 -0
- package/dist/native/Bootstrap.ps1 +90 -0
- package/dist/native/JobNative.cs +137 -0
- package/dist/native/JobRunner.cs +381 -0
- package/dist/native/NativeMain.cs +161 -0
- package/dist/native/PipeBridge.cs +260 -0
- package/dist/native/PrivateAccess.cs +152 -0
- package/package.json +27 -3
- package/README.md +0 -3
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { OperationIdSchema } from "../ids.js";
|
|
3
|
+
import { RoughCutManifestReaderSchema } from "../rough-cut.js";
|
|
4
|
+
import { FinalRenderManifestReaderSchema } from "../final-render.js";
|
|
5
|
+
import { LocalMediaRecipeSchema } from "./media-recipe.js";
|
|
6
|
+
import { LocalDigestSchema, LocalIdSchema, LocalPackageVersionSchema, LocalPlacementPolicySchema, LocalRevisionSchema, LocalWorkScopeSchema } from "./common.js";
|
|
7
|
+
import { LocalDevicePlatformSchema } from "./device.js";
|
|
8
|
+
declare const previewProfile: z.ZodObject<{
|
|
9
|
+
kind: z.ZodLiteral<"ROUGH_CUT_PREVIEW_V1">;
|
|
10
|
+
profileId: z.ZodLiteral<"PREVIEW_H264_480P_V1">;
|
|
11
|
+
contractDigest: typeof LocalDigestSchema;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
declare const studioProfile: z.ZodObject<{
|
|
14
|
+
kind: z.ZodLiteral<"STUDIO_MEDIA_V2">;
|
|
15
|
+
profileId: z.ZodLiteral<"STUDIO_MEDIA_V2">;
|
|
16
|
+
contractDigest: typeof LocalDigestSchema;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const LocalExecutionProfileSchema: z.ZodDiscriminatedUnion<[
|
|
19
|
+
typeof previewProfile,
|
|
20
|
+
typeof studioProfile
|
|
21
|
+
], "kind">;
|
|
22
|
+
export declare const LocalToolchainSchema: z.ZodObject<{
|
|
23
|
+
platform: typeof LocalDevicePlatformSchema;
|
|
24
|
+
rendererVersion: typeof LocalPackageVersionSchema;
|
|
25
|
+
rendererDigest: typeof LocalDigestSchema;
|
|
26
|
+
ffmpeg: z.ZodObject<{
|
|
27
|
+
version: z.ZodString;
|
|
28
|
+
binaryDigest: typeof LocalDigestSchema;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
ffprobe: z.ZodObject<{
|
|
31
|
+
version: z.ZodString;
|
|
32
|
+
binaryDigest: typeof LocalDigestSchema;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
profile: typeof LocalExecutionProfileSchema;
|
|
35
|
+
supported: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
|
+
profile: typeof LocalExecutionProfileSchema;
|
|
37
|
+
rendererVersion: typeof LocalPackageVersionSchema;
|
|
38
|
+
rendererDigest: typeof LocalDigestSchema;
|
|
39
|
+
}, z.core.$strict>>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export declare function selectLocalToolchain(raw: unknown, contractDigest: string): {
|
|
42
|
+
platform: {
|
|
43
|
+
os: "darwin" | "linux" | "win32";
|
|
44
|
+
architecture: "x64" | "arm64";
|
|
45
|
+
};
|
|
46
|
+
rendererVersion: string;
|
|
47
|
+
rendererDigest: string;
|
|
48
|
+
ffmpeg: {
|
|
49
|
+
version: string;
|
|
50
|
+
binaryDigest: string;
|
|
51
|
+
};
|
|
52
|
+
ffprobe: {
|
|
53
|
+
version: string;
|
|
54
|
+
binaryDigest: string;
|
|
55
|
+
};
|
|
56
|
+
profile: {
|
|
57
|
+
kind: "ROUGH_CUT_PREVIEW_V1";
|
|
58
|
+
profileId: "PREVIEW_H264_480P_V1";
|
|
59
|
+
contractDigest: string;
|
|
60
|
+
} | {
|
|
61
|
+
kind: "STUDIO_MEDIA_V2";
|
|
62
|
+
profileId: "STUDIO_MEDIA_V2";
|
|
63
|
+
contractDigest: string;
|
|
64
|
+
};
|
|
65
|
+
supported?: {
|
|
66
|
+
profile: {
|
|
67
|
+
kind: "ROUGH_CUT_PREVIEW_V1";
|
|
68
|
+
profileId: "PREVIEW_H264_480P_V1";
|
|
69
|
+
contractDigest: string;
|
|
70
|
+
} | {
|
|
71
|
+
kind: "STUDIO_MEDIA_V2";
|
|
72
|
+
profileId: "STUDIO_MEDIA_V2";
|
|
73
|
+
contractDigest: string;
|
|
74
|
+
};
|
|
75
|
+
rendererVersion: string;
|
|
76
|
+
rendererDigest: string;
|
|
77
|
+
}[] | undefined;
|
|
78
|
+
} | null;
|
|
79
|
+
declare const frozen: z.ZodObject<z.core.util.Extend<typeof LocalWorkScopeSchema.shape, {
|
|
80
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
|
|
81
|
+
operationId: typeof OperationIdSchema;
|
|
82
|
+
renderId: typeof LocalIdSchema;
|
|
83
|
+
productionRevision: typeof LocalRevisionSchema;
|
|
84
|
+
executionClass: z.ZodEnum<{
|
|
85
|
+
LIVE: "LIVE";
|
|
86
|
+
TEST_ONLY: "TEST_ONLY";
|
|
87
|
+
}>;
|
|
88
|
+
policy: typeof LocalPlacementPolicySchema;
|
|
89
|
+
profile: typeof previewProfile;
|
|
90
|
+
manifest: typeof RoughCutManifestReaderSchema;
|
|
91
|
+
manifestFingerprint: typeof LocalDigestSchema;
|
|
92
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
93
|
+
artifactId: typeof LocalIdSchema;
|
|
94
|
+
representationId: typeof LocalIdSchema;
|
|
95
|
+
checksumSha256: typeof LocalDigestSchema;
|
|
96
|
+
byteSize: z.ZodInt;
|
|
97
|
+
contentType: z.ZodString;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
}>, typeof LocalWorkScopeSchema._zod.config>;
|
|
100
|
+
declare const studio: z.ZodObject<z.core.util.Extend<typeof frozen.shape, {
|
|
101
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_WORK_V2">;
|
|
102
|
+
profile: typeof studioProfile;
|
|
103
|
+
manifest: z.ZodUnion<readonly [typeof RoughCutManifestReaderSchema, typeof FinalRenderManifestReaderSchema]>;
|
|
104
|
+
recipe: typeof LocalMediaRecipeSchema;
|
|
105
|
+
recipeFingerprint: typeof LocalDigestSchema;
|
|
106
|
+
}>, typeof frozen._zod.config>;
|
|
107
|
+
export declare const LocalFrozenWorkSchema: z.ZodDiscriminatedUnion<[
|
|
108
|
+
typeof frozen,
|
|
109
|
+
typeof studio
|
|
110
|
+
], "protocol">;
|
|
111
|
+
export declare const LocalLeaseBindingSchema: z.ZodObject<z.core.util.Extend<typeof LocalWorkScopeSchema.shape, {
|
|
112
|
+
attemptId: typeof LocalIdSchema;
|
|
113
|
+
assignmentRevision: typeof LocalRevisionSchema;
|
|
114
|
+
workerId: z.ZodString;
|
|
115
|
+
workFingerprint: typeof LocalDigestSchema;
|
|
116
|
+
toolchainFingerprint: typeof LocalDigestSchema;
|
|
117
|
+
}>, typeof LocalWorkScopeSchema._zod.config>;
|
|
118
|
+
export declare const LocalExecutionLeaseSchema: z.ZodObject<{
|
|
119
|
+
tenantId: z.ZodUUID;
|
|
120
|
+
projectId: z.ZodUUID;
|
|
121
|
+
productionId: z.ZodUUID;
|
|
122
|
+
runtimeJobId: z.ZodUUID;
|
|
123
|
+
attemptId: typeof LocalIdSchema;
|
|
124
|
+
assignmentRevision: typeof LocalRevisionSchema;
|
|
125
|
+
workerId: z.ZodString;
|
|
126
|
+
workFingerprint: typeof LocalDigestSchema;
|
|
127
|
+
toolchainFingerprint: typeof LocalDigestSchema;
|
|
128
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
|
+
authority: z.ZodLiteral<"WORKSPACE_DEVICE_V1">;
|
|
130
|
+
deviceId: z.ZodUUID;
|
|
131
|
+
deviceRevision: z.ZodInt;
|
|
132
|
+
kind: z.ZodLiteral<"DEVICE">;
|
|
133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"SERVER">;
|
|
135
|
+
}, z.core.$strict>], "kind">;
|
|
136
|
+
issuedAt: z.ZodISODateTime;
|
|
137
|
+
expiresAt: z.ZodISODateTime;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
export declare const LocalWorkAssignmentSchema: z.ZodObject<{
|
|
140
|
+
work: typeof LocalFrozenWorkSchema;
|
|
141
|
+
lease: typeof LocalExecutionLeaseSchema;
|
|
142
|
+
toolchain: typeof LocalToolchainSchema;
|
|
143
|
+
tenantMediaValidation: z.ZodOptional<z.ZodLiteral<true>>;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
export type LocalFrozenWork = z.infer<typeof LocalFrozenWorkSchema>;
|
|
146
|
+
export type LocalToolchain = z.infer<typeof LocalToolchainSchema>;
|
|
147
|
+
export type LocalLeaseBinding = z.infer<typeof LocalLeaseBindingSchema>;
|
|
148
|
+
export type LocalWorkAssignment = z.infer<typeof LocalWorkAssignmentSchema>;
|
|
149
|
+
export {};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalResourcePolicySchema: z.ZodObject<{
|
|
3
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
4
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
CONTINUOUS: "CONTINUOUS";
|
|
6
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
7
|
+
}>>;
|
|
8
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
9
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
10
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
11
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
12
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export declare const LocalResourceSettingsSchema: z.ZodObject<{
|
|
15
|
+
revision: z.ZodInt;
|
|
16
|
+
policy: z.ZodObject<{
|
|
17
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
18
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
CONTINUOUS: "CONTINUOUS";
|
|
20
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
21
|
+
}>>;
|
|
22
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
23
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
24
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
25
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
26
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const LocalExecutionProgressSchema: z.ZodObject<{
|
|
30
|
+
stage: z.ZodEnum<{
|
|
31
|
+
WAITING: "WAITING";
|
|
32
|
+
COMPLETE: "COMPLETE";
|
|
33
|
+
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
34
|
+
DOWNLOADING: "DOWNLOADING";
|
|
35
|
+
EXECUTING: "EXECUTING";
|
|
36
|
+
UPLOADING: "UPLOADING";
|
|
37
|
+
AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
|
|
38
|
+
FENCED: "FENCED";
|
|
39
|
+
}>;
|
|
40
|
+
downloadedBytes: z.ZodInt;
|
|
41
|
+
sourceBytes: z.ZodInt;
|
|
42
|
+
uploadedBytes: z.ZodInt;
|
|
43
|
+
outputBytes: z.ZodInt;
|
|
44
|
+
lastError: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
code: z.ZodString;
|
|
46
|
+
observedAt: z.ZodISODateTime;
|
|
47
|
+
}, z.core.$strict>>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const LocalStorageInspectionSchema: z.ZodObject<{
|
|
50
|
+
cacheBytes: z.ZodInt;
|
|
51
|
+
protectedBytes: z.ZodInt;
|
|
52
|
+
reclaimableBytes: z.ZodInt;
|
|
53
|
+
transferBytes: z.ZodInt;
|
|
54
|
+
journalBytes: z.ZodInt;
|
|
55
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
56
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
57
|
+
availableDiskBytes: z.ZodInt;
|
|
58
|
+
quotaBytes: z.ZodInt;
|
|
59
|
+
overQuota: z.ZodBoolean;
|
|
60
|
+
}, z.core.$strict>;
|
|
61
|
+
export declare const LocalWorkspaceInspectionSchema: z.ZodObject<{
|
|
62
|
+
settings: z.ZodObject<{
|
|
63
|
+
revision: z.ZodInt;
|
|
64
|
+
policy: z.ZodObject<{
|
|
65
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
67
|
+
CONTINUOUS: "CONTINUOUS";
|
|
68
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
69
|
+
}>>;
|
|
70
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
71
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
72
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
73
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
74
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
storage: z.ZodObject<{
|
|
78
|
+
cacheBytes: z.ZodInt;
|
|
79
|
+
protectedBytes: z.ZodInt;
|
|
80
|
+
reclaimableBytes: z.ZodInt;
|
|
81
|
+
transferBytes: z.ZodInt;
|
|
82
|
+
journalBytes: z.ZodInt;
|
|
83
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
84
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
85
|
+
availableDiskBytes: z.ZodInt;
|
|
86
|
+
quotaBytes: z.ZodInt;
|
|
87
|
+
overQuota: z.ZodBoolean;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
scheduling: z.ZodObject<{
|
|
90
|
+
state: z.ZodEnum<{
|
|
91
|
+
READY: "READY";
|
|
92
|
+
PAUSED: "PAUSED";
|
|
93
|
+
WAITING_FOR_IDLE: "WAITING_FOR_IDLE";
|
|
94
|
+
AT_CAPACITY: "AT_CAPACITY";
|
|
95
|
+
DRAINING: "DRAINING";
|
|
96
|
+
}>;
|
|
97
|
+
activeJobs: z.ZodInt;
|
|
98
|
+
idleObservationCurrent: z.ZodBoolean;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export declare const LocalDiagnosticsSchema: z.ZodObject<{
|
|
102
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_DIAGNOSTICS_V1">;
|
|
103
|
+
createdAt: z.ZodISODateTime;
|
|
104
|
+
runtimeVersion: z.ZodString;
|
|
105
|
+
runtimeRevision: z.ZodInt;
|
|
106
|
+
settings: z.ZodObject<{
|
|
107
|
+
revision: z.ZodInt;
|
|
108
|
+
policy: z.ZodObject<{
|
|
109
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
110
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
111
|
+
CONTINUOUS: "CONTINUOUS";
|
|
112
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
113
|
+
}>>;
|
|
114
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
115
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
116
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
117
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
118
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
storage: z.ZodObject<{
|
|
122
|
+
cacheBytes: z.ZodInt;
|
|
123
|
+
protectedBytes: z.ZodInt;
|
|
124
|
+
reclaimableBytes: z.ZodInt;
|
|
125
|
+
transferBytes: z.ZodInt;
|
|
126
|
+
journalBytes: z.ZodInt;
|
|
127
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
128
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
129
|
+
availableDiskBytes: z.ZodInt;
|
|
130
|
+
quotaBytes: z.ZodInt;
|
|
131
|
+
overQuota: z.ZodBoolean;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
recordCounts: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
134
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
135
|
+
taskFingerprint: z.ZodString;
|
|
136
|
+
code: z.ZodString;
|
|
137
|
+
observedAt: z.ZodISODateTime;
|
|
138
|
+
}, z.core.$strict>>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export type LocalResourcePolicy = z.infer<typeof LocalResourcePolicySchema>;
|
|
141
|
+
export type LocalExecutionProgress = z.infer<typeof LocalExecutionProgressSchema>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const MatrixParameterRuleSchema: z.ZodObject<{
|
|
3
|
+
label: z.ZodString;
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
STRING: "STRING";
|
|
6
|
+
NUMBER: "NUMBER";
|
|
7
|
+
BOOLEAN: "BOOLEAN";
|
|
8
|
+
INTEGER: "INTEGER";
|
|
9
|
+
STRING_ARRAY: "STRING_ARRAY";
|
|
10
|
+
STRING_MAP: "STRING_MAP";
|
|
11
|
+
}>;
|
|
12
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
maxLength: z.ZodOptional<z.ZodInt>;
|
|
16
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
18
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
maxItems: z.ZodOptional<z.ZodInt>;
|
|
21
|
+
maxKeyLength: z.ZodOptional<z.ZodInt>;
|
|
22
|
+
numberOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 素材类型统一用于有界查询与呈现,不改变原 Artifact 家族和字节身份。 */
|
|
3
|
+
export declare const MediaCategorySchema: z.ZodEnum<{
|
|
4
|
+
IMAGE: "IMAGE";
|
|
5
|
+
VIDEO: "VIDEO";
|
|
6
|
+
AUDIO: "AUDIO";
|
|
7
|
+
DOCUMENT: "DOCUMENT";
|
|
8
|
+
}>;
|
|
9
|
+
export type MediaCategory = z.infer<typeof MediaCategorySchema>;
|
|
10
|
+
/** MIME 分类沿同一公开口径,未知二进制仍作为文档,不伪称可预览媒体。 */
|
|
11
|
+
export declare function mediaCategoryOf(contentType: string): MediaCategory;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const WavExportResultSchema: z.ZodObject<{
|
|
3
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
4
|
+
checksumSha256: z.ZodString;
|
|
5
|
+
byteSize: z.ZodInt;
|
|
6
|
+
contentBase64: z.ZodString;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export declare const AudioExportResultSchema: z.ZodObject<{
|
|
9
|
+
contentType: z.ZodLiteral<"audio/wav">;
|
|
10
|
+
checksumSha256: z.ZodString;
|
|
11
|
+
byteSize: z.ZodInt;
|
|
12
|
+
contentBase64: z.ZodString;
|
|
13
|
+
representationId: z.ZodUUID;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export declare const CaptionExportResultSchema: z.ZodObject<{
|
|
16
|
+
contentType: z.ZodEnum<{
|
|
17
|
+
"application/json": "application/json";
|
|
18
|
+
"application/x-subrip": "application/x-subrip";
|
|
19
|
+
}>;
|
|
20
|
+
checksumSha256: z.ZodString;
|
|
21
|
+
representationId: z.ZodUUID;
|
|
22
|
+
text: z.ZodString;
|
|
23
|
+
}, z.core.$strict>;
|