@nativestudio/cli 0.0.0-stage → 0.3.0-rc.2
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 +20 -0
- package/LICENSE +21 -0
- package/README.md +94 -2
- package/components/runtime.json +6 -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-66CUOZVI.js +1 -0
- package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
- package/dist/_chunks/chunk-7S3DJ2QE.js +1 -0
- package/dist/_chunks/chunk-BVSTJQJI.js +1 -0
- package/dist/_chunks/chunk-C33A2DW4.js +1 -0
- package/dist/_chunks/chunk-C753RRRA.js +1 -0
- package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
- package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
- package/dist/_chunks/chunk-HLKERZIE.js +1 -0
- package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
- package/dist/_chunks/chunk-K6LVS2IN.js +1 -0
- package/dist/_chunks/chunk-KHKUJXQX.js +1 -0
- package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
- package/dist/_chunks/chunk-VC3ODN3M.js +1 -0
- package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
- package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
- package/dist/_chunks/files-FZEK2ZZJ.js +1 -0
- package/dist/_chunks/local-main-NLFS74Q4.js +1 -0
- package/dist/_chunks/local-mcp-OLHBBVNN.js +1 -0
- package/dist/_chunks/main-VRIQTI6R.js +2 -0
- package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
- package/dist/_chunks/oauth-F7EZGVME.js +1 -0
- package/dist/_chunks/project-connect-MXM7IY55.js +1 -0
- package/dist/_chunks/src-7F6ZEU3U.js +1 -0
- package/dist/_chunks/stdio-main-KOGQ5OWF.js +1 -0
- package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +281 -0
- package/dist/_types/cli/local/desktop-node.d.ts +1 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +34 -0
- package/dist/_types/cli/local/ledger.d.ts +309 -0
- package/dist/_types/cli/local/manager.d.ts +620 -0
- package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
- package/dist/_types/cli/local/releases.d.ts +101 -0
- package/dist/_types/cli/local-management.d.ts +12 -0
- package/dist/_types/cli/local-navigation.d.ts +3 -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 +170 -0
- package/dist/_types/contracts/artifact.d.ts +188 -0
- package/dist/_types/contracts/audio.d.ts +331 -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 +292 -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 +11776 -0
- package/dist/_types/contracts/delivery-operations.d.ts +5009 -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 +183 -0
- package/dist/_types/contracts/director-proposal.d.ts +1067 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
- package/dist/_types/contracts/external-agent-access.d.ts +95 -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 +8181 -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 +149 -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 +122 -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 +62 -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 +832 -0
- package/dist/_types/contracts/interface/query.d.ts +315 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +349 -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-review.d.ts +560 -0
- package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
- package/dist/_types/contracts/local-execution/common.d.ts +48 -0
- package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
- package/dist/_types/contracts/local-execution/device.d.ts +134 -0
- package/dist/_types/contracts/local-execution/index.d.ts +11 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +347 -0
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
- package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
- package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
- package/dist/_types/contracts/media-export.d.ts +23 -0
- package/dist/_types/contracts/media-observation.d.ts +1159 -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 +238 -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 +7459 -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 +3380 -0
- package/dist/_types/contracts/provider.d.ts +142 -0
- package/dist/_types/contracts/reference-preview.d.ts +36 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
- package/dist/_types/contracts/repair-plan.d.ts +728 -0
- package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
- package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
- package/dist/_types/contracts/review-intelligence.d.ts +11543 -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 +347 -0
- package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
- package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
- package/dist/_types/contracts/rough-cut.d.ts +5862 -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 +1585 -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.d.ts +424 -0
- package/dist/_types/contracts/story.d.ts +98 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -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 +97 -0
- package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
- package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
- package/dist/_types/contracts/timeline.d.ts +4942 -0
- package/dist/_types/contracts/transcription.d.ts +80 -0
- package/dist/_types/contracts/video-generation.d.ts +643 -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 +2777 -0
- package/dist/_types/contracts/visual-layer.d.ts +112 -0
- package/dist/_types/contracts/visual-sequence.d.ts +121 -0
- package/dist/_types/contracts/writer-proposal.d.ts +268 -0
- package/dist/_types/sdk/errors.d.ts +9 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +932 -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 +127 -0
- package/dist/native/JobRunner.cs +360 -0
- package/dist/native/NativeMain.cs +146 -0
- package/dist/native/PipeBridge.cs +260 -0
- package/dist/native/PrivateAccess.cs +152 -0
- package/package.json +33 -3
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const InterfaceSemanticStatusSchema: z.ZodEnum<{
|
|
3
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5
|
+
BLOCKED: "BLOCKED";
|
|
6
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
7
|
+
CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
|
|
8
|
+
INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
|
|
9
|
+
CANCELLED: "CANCELLED";
|
|
10
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
11
|
+
RETRYING: "RETRYING";
|
|
12
|
+
SUCCESS: "SUCCESS";
|
|
13
|
+
ACCEPTED: "ACCEPTED";
|
|
14
|
+
NO_CHANGE: "NO_CHANGE";
|
|
15
|
+
STALE_BASIS: "STALE_BASIS";
|
|
16
|
+
WAITING_INPUT: "WAITING_INPUT";
|
|
17
|
+
PROVIDER_UNAVAILABLE: "PROVIDER_UNAVAILABLE";
|
|
18
|
+
BUDGET_BLOCKED: "BUDGET_BLOCKED";
|
|
19
|
+
SUPERSEDED: "SUPERSEDED";
|
|
20
|
+
}>;
|
|
21
|
+
export declare const ActionAvailabilitySchema: z.ZodEnum<{
|
|
22
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
23
|
+
AVAILABLE: "AVAILABLE";
|
|
24
|
+
}>;
|
|
25
|
+
export declare const NextActionSchema: z.ZodObject<{
|
|
26
|
+
capability: z.ZodString;
|
|
27
|
+
targetType: z.ZodString;
|
|
28
|
+
targetId: z.ZodString;
|
|
29
|
+
availability: z.ZodEnum<{
|
|
30
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
31
|
+
AVAILABLE: "AVAILABLE";
|
|
32
|
+
}>;
|
|
33
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export declare const ContinuationSchema: z.ZodString;
|
|
36
|
+
export declare const QueryLimitSchema: z.ZodDefault<z.ZodInt>;
|
|
37
|
+
export declare const QueryPageInfoSchema: z.ZodObject<{
|
|
38
|
+
hasMore: z.ZodBoolean;
|
|
39
|
+
next: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const WorkSummarySchema: z.ZodObject<{
|
|
42
|
+
total: z.ZodInt;
|
|
43
|
+
pending: z.ZodInt;
|
|
44
|
+
ready: z.ZodInt;
|
|
45
|
+
running: z.ZodInt;
|
|
46
|
+
waiting: z.ZodInt;
|
|
47
|
+
succeeded: z.ZodInt;
|
|
48
|
+
failed: z.ZodInt;
|
|
49
|
+
cancelled: z.ZodInt;
|
|
50
|
+
superseded: z.ZodInt;
|
|
51
|
+
attempts: z.ZodInt;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type InterfaceSemanticStatus = z.infer<typeof InterfaceSemanticStatusSchema>;
|
|
54
|
+
export type NextAction = z.infer<typeof NextActionSchema>;
|
|
55
|
+
export type QueryPageInfo = z.infer<typeof QueryPageInfoSchema>;
|
|
56
|
+
export type WorkSummary = z.infer<typeof WorkSummarySchema>;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AgentExecutionBootstrapResultSchema: z.ZodObject<{
|
|
3
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
4
|
+
protocol: z.ZodLiteral<"NVS_EXECUTION_CONTEXT_V1">;
|
|
5
|
+
executionId: z.ZodUUID;
|
|
6
|
+
hostRequestId: z.ZodUUID;
|
|
7
|
+
inputDigest: z.ZodString;
|
|
8
|
+
task: z.ZodObject<{
|
|
9
|
+
tenantId: z.ZodUUID;
|
|
10
|
+
projectId: z.ZodUUID;
|
|
11
|
+
productionId: z.ZodUUID;
|
|
12
|
+
protocol: z.ZodLiteral<"NATIVESTUDIO_PRODUCTION_V1">;
|
|
13
|
+
executionId: z.ZodUUID;
|
|
14
|
+
hostRequestId: z.ZodUUID;
|
|
15
|
+
productionRevision: z.ZodInt;
|
|
16
|
+
studioInput: z.ZodObject<{
|
|
17
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
18
|
+
productionId: z.ZodUUID;
|
|
19
|
+
projectTitle: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
intent: z.ZodString;
|
|
22
|
+
aspectRatio: z.ZodEnum<{
|
|
23
|
+
"16:9": "16:9";
|
|
24
|
+
"9:16": "9:16";
|
|
25
|
+
}>;
|
|
26
|
+
targetDurationSeconds: z.ZodInt;
|
|
27
|
+
outputProfile: z.ZodEnum<{
|
|
28
|
+
MP4_H264_1080P: "MP4_H264_1080P";
|
|
29
|
+
MP4_H264_720P: "MP4_H264_720P";
|
|
30
|
+
MP4_H264_480P: "MP4_H264_480P";
|
|
31
|
+
}>;
|
|
32
|
+
sourceArtifactIds: z.ZodArray<z.ZodUUID>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
intake: z.ZodObject<{
|
|
35
|
+
artifactId: z.ZodUUID;
|
|
36
|
+
representationId: z.ZodUUID;
|
|
37
|
+
checksumSha256: z.ZodString;
|
|
38
|
+
byteSize: z.ZodInt;
|
|
39
|
+
contentType: z.ZodString;
|
|
40
|
+
kind: z.ZodEnum<{
|
|
41
|
+
REFERENCE_IMAGE: "REFERENCE_IMAGE";
|
|
42
|
+
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
43
|
+
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
44
|
+
}>;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
47
|
+
artifactId: z.ZodUUID;
|
|
48
|
+
representationId: z.ZodUUID;
|
|
49
|
+
checksumSha256: z.ZodString;
|
|
50
|
+
byteSize: z.ZodInt;
|
|
51
|
+
contentType: z.ZodString;
|
|
52
|
+
kind: z.ZodEnum<{
|
|
53
|
+
REFERENCE_IMAGE: "REFERENCE_IMAGE";
|
|
54
|
+
REFERENCE_VIDEO: "REFERENCE_VIDEO";
|
|
55
|
+
PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
|
|
56
|
+
}>;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
nativeToolAuthority: z.ZodObject<{
|
|
59
|
+
tenantId: z.ZodUUID;
|
|
60
|
+
projectId: z.ZodUUID;
|
|
61
|
+
productionId: z.ZodUUID;
|
|
62
|
+
protocol: z.ZodLiteral<"NATIVESTUDIO_AGENT_TOOLS_V1">;
|
|
63
|
+
authorityRef: z.ZodUUID;
|
|
64
|
+
executionId: z.ZodUUID;
|
|
65
|
+
hostRequestId: z.ZodUUID;
|
|
66
|
+
bindingId: z.ZodUUID;
|
|
67
|
+
configurationVersion: z.ZodInt;
|
|
68
|
+
inputFingerprint: z.ZodString;
|
|
69
|
+
capabilityDigest: z.ZodString;
|
|
70
|
+
expiresAt: z.ZodISODateTime;
|
|
71
|
+
executionClass: z.ZodEnum<{
|
|
72
|
+
LIVE: "LIVE";
|
|
73
|
+
TEST_ONLY: "TEST_ONLY";
|
|
74
|
+
}>;
|
|
75
|
+
transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
76
|
+
protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
|
|
77
|
+
installationId: z.ZodString;
|
|
78
|
+
installationRevisionId: z.ZodString;
|
|
79
|
+
slotKey: z.ZodString;
|
|
80
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
81
|
+
protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
|
|
82
|
+
installationId: z.ZodString;
|
|
83
|
+
installationRevisionId: z.ZodString;
|
|
84
|
+
slotKey: z.ZodString;
|
|
85
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
86
|
+
capabilityDigest: z.ZodString;
|
|
87
|
+
}, z.core.$strict>], "protocol">>;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
guidance: z.ZodObject<{
|
|
91
|
+
version: z.ZodString;
|
|
92
|
+
instructions: z.ZodString;
|
|
93
|
+
}, z.core.$strict>;
|
|
94
|
+
outputContract: z.ZodObject<{
|
|
95
|
+
version: z.ZodLiteral<"NVS_HOST_REPORT_V1">;
|
|
96
|
+
authoritative: z.ZodLiteral<false>;
|
|
97
|
+
instructions: z.ZodString;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const InterfaceImageMetadataSchema: z.ZodObject<{
|
|
3
|
+
checksumSha256: z.ZodString;
|
|
4
|
+
contentType: z.ZodEnum<{
|
|
5
|
+
"image/png": "image/png";
|
|
6
|
+
"image/jpeg": "image/jpeg";
|
|
7
|
+
"image/webp": "image/webp";
|
|
8
|
+
}>;
|
|
9
|
+
byteSize: z.ZodInt;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export declare const InterfacePosterMetadataSchema: z.ZodObject<{
|
|
12
|
+
checksumSha256: z.ZodString;
|
|
13
|
+
byteSize: z.ZodInt;
|
|
14
|
+
contentType: z.ZodLiteral<"image/png">;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const InterfaceDownloadDescriptorSchema: z.ZodObject<{
|
|
17
|
+
method: z.ZodLiteral<"GET">;
|
|
18
|
+
path: z.ZodString;
|
|
19
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
20
|
+
authentication: z.ZodLiteral<"BEARER_AND_TENANT_HEADER">;
|
|
21
|
+
contentType: z.ZodEnum<{
|
|
22
|
+
"application/json": "application/json";
|
|
23
|
+
"image/png": "image/png";
|
|
24
|
+
"video/mp4": "video/mp4";
|
|
25
|
+
}>;
|
|
26
|
+
checksumSha256: z.ZodString;
|
|
27
|
+
byteSize: z.ZodInt;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const SourceReadResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
30
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
31
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
32
|
+
artifactId: z.ZodUUID;
|
|
33
|
+
contentType: z.ZodEnum<{
|
|
34
|
+
"application/json": "application/json";
|
|
35
|
+
"text/plain": "text/plain";
|
|
36
|
+
}>;
|
|
37
|
+
checksumSha256: z.ZodString;
|
|
38
|
+
totalBytes: z.ZodInt;
|
|
39
|
+
offsetBytes: z.ZodInt;
|
|
40
|
+
byteLength: z.ZodInt;
|
|
41
|
+
nextOffsetBytes: z.ZodNullable<z.ZodInt>;
|
|
42
|
+
text: z.ZodString;
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
45
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
46
|
+
artifactId: z.ZodUUID;
|
|
47
|
+
checksumSha256: z.ZodString;
|
|
48
|
+
contentType: z.ZodEnum<{
|
|
49
|
+
"image/png": "image/png";
|
|
50
|
+
"image/jpeg": "image/jpeg";
|
|
51
|
+
"image/webp": "image/webp";
|
|
52
|
+
}>;
|
|
53
|
+
byteSize: z.ZodInt;
|
|
54
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
56
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
57
|
+
artifactId: z.ZodUUID;
|
|
58
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
59
|
+
checksumSha256: z.ZodString;
|
|
60
|
+
byteSize: z.ZodInt;
|
|
61
|
+
importOperation: z.ZodLiteral<"imported-visual.register-source">;
|
|
62
|
+
}, z.core.$strict>]>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const OperationTargetSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodString;
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
version: z.ZodNullable<z.ZodInt>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const OperationSummarySchema: z.ZodObject<{
|
|
8
|
+
id: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
9
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
10
|
+
semanticStatus: z.ZodEnum<{
|
|
11
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
12
|
+
NOT_FOUND: "NOT_FOUND";
|
|
13
|
+
BLOCKED: "BLOCKED";
|
|
14
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
15
|
+
CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
|
|
16
|
+
INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
|
|
17
|
+
CANCELLED: "CANCELLED";
|
|
18
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
19
|
+
RETRYING: "RETRYING";
|
|
20
|
+
SUCCESS: "SUCCESS";
|
|
21
|
+
ACCEPTED: "ACCEPTED";
|
|
22
|
+
NO_CHANGE: "NO_CHANGE";
|
|
23
|
+
STALE_BASIS: "STALE_BASIS";
|
|
24
|
+
WAITING_INPUT: "WAITING_INPUT";
|
|
25
|
+
PROVIDER_UNAVAILABLE: "PROVIDER_UNAVAILABLE";
|
|
26
|
+
BUDGET_BLOCKED: "BUDGET_BLOCKED";
|
|
27
|
+
SUPERSEDED: "SUPERSEDED";
|
|
28
|
+
}>;
|
|
29
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
30
|
+
type: z.ZodString;
|
|
31
|
+
id: z.ZodString;
|
|
32
|
+
version: z.ZodNullable<z.ZodInt>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
work: z.ZodObject<{
|
|
35
|
+
total: z.ZodInt;
|
|
36
|
+
pending: z.ZodInt;
|
|
37
|
+
ready: z.ZodInt;
|
|
38
|
+
running: z.ZodInt;
|
|
39
|
+
waiting: z.ZodInt;
|
|
40
|
+
succeeded: z.ZodInt;
|
|
41
|
+
failed: z.ZodInt;
|
|
42
|
+
cancelled: z.ZodInt;
|
|
43
|
+
superseded: z.ZodInt;
|
|
44
|
+
attempts: z.ZodInt;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
blockers: z.ZodArray<z.ZodString>;
|
|
47
|
+
nextActions: z.ZodArray<z.ZodObject<{
|
|
48
|
+
capability: z.ZodString;
|
|
49
|
+
targetType: z.ZodString;
|
|
50
|
+
targetId: z.ZodString;
|
|
51
|
+
availability: z.ZodEnum<{
|
|
52
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
53
|
+
AVAILABLE: "AVAILABLE";
|
|
54
|
+
}>;
|
|
55
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
startedAt: z.ZodISODateTime;
|
|
58
|
+
updatedAt: z.ZodISODateTime;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export type OperationTarget = z.infer<typeof OperationTargetSchema>;
|
|
61
|
+
export type OperationSummary = z.infer<typeof OperationSummarySchema>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare function buildSuccessSchema<T extends z.ZodType>(data: T): z.ZodObject<{
|
|
3
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
4
|
+
data: T;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
/** Immutable schema definitions only; never caches a response or permission. */
|
|
7
|
+
export declare function interfaceSuccessSchema<T extends z.ZodType>(data: T): ReturnType<typeof buildSuccessSchema<T>>;
|
|
8
|
+
export declare const InterfaceCancellationDataSchema: z.ZodObject<{
|
|
9
|
+
cancellationAccepted: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export declare const InterfaceCancellationReceiptSchema: z.ZodObject<{
|
|
12
|
+
cancellationAccepted: z.ZodBoolean;
|
|
13
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export {};
|