@nativestudio/sdk 0.0.0-stage → 0.3.0-rc.1
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 +14 -0
- package/LICENSE +21 -0
- package/README.md +74 -2
- package/dist/BUNDLED_DEPENDENCIES.json +1 -0
- package/dist/_chunks/chunk-34KSWLCI.js +1 -0
- package/dist/_chunks/chunk-4IOFVNFG.js +1 -0
- package/dist/_chunks/chunk-4M3AGNTZ.js +1 -0
- package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
- package/dist/_chunks/chunk-7YCEMDNZ.js +1 -0
- package/dist/_chunks/chunk-RK3YLCZP.js +1 -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 +319 -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/account.d.ts +109 -0
- package/dist/_types/sdk/auxiliary-media.d.ts +43 -0
- package/dist/_types/sdk/catalog/agent-host-execution.d.ts +1551 -0
- package/dist/_types/sdk/catalog/agent-host.d.ts +344 -0
- package/dist/_types/sdk/catalog/assembly.d.ts +37634 -0
- package/dist/_types/sdk/catalog/audio-caption.d.ts +1374 -0
- package/dist/_types/sdk/catalog/canonical-repair.d.ts +4584 -0
- package/dist/_types/sdk/catalog/composition-source.d.ts +1556 -0
- package/dist/_types/sdk/catalog/composition.d.ts +2815 -0
- package/dist/_types/sdk/catalog/core.d.ts +3049 -0
- package/dist/_types/sdk/catalog/delivery.d.ts +14169 -0
- package/dist/_types/sdk/catalog/discovery.d.ts +75 -0
- package/dist/_types/sdk/catalog/editor.d.ts +6540 -0
- package/dist/_types/sdk/catalog/generation.d.ts +942 -0
- package/dist/_types/sdk/catalog/imported-visual.d.ts +3111 -0
- package/dist/_types/sdk/catalog/keyframe-review.d.ts +859 -0
- package/dist/_types/sdk/catalog/lifecycle-events.d.ts +329 -0
- package/dist/_types/sdk/catalog/mcp.d.ts +245 -0
- package/dist/_types/sdk/catalog/media-descriptors.d.ts +139 -0
- package/dist/_types/sdk/catalog/media-observation.d.ts +958 -0
- package/dist/_types/sdk/catalog/native-tool-authority.d.ts +281 -0
- package/dist/_types/sdk/catalog/navigation.d.ts +559 -0
- package/dist/_types/sdk/catalog/planning-intelligence.d.ts +2031 -0
- package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +9855 -0
- package/dist/_types/sdk/catalog/programmatic-review.d.ts +1106 -0
- package/dist/_types/sdk/catalog/provider.d.ts +4439 -0
- package/dist/_types/sdk/catalog/reference-preview.d.ts +180 -0
- package/dist/_types/sdk/catalog/repair-strategy.d.ts +8916 -0
- package/dist/_types/sdk/catalog/reviewer.d.ts +23133 -0
- package/dist/_types/sdk/catalog/shot-preparation.d.ts +2974 -0
- package/dist/_types/sdk/catalog/sound-making-plan.d.ts +1778 -0
- package/dist/_types/sdk/catalog/source-sync.d.ts +1313 -0
- package/dist/_types/sdk/catalog/spec.d.ts +37 -0
- package/dist/_types/sdk/catalog/speech.d.ts +397 -0
- package/dist/_types/sdk/catalog/temporal-evidence.d.ts +391 -0
- package/dist/_types/sdk/catalog/video-review.d.ts +2149 -0
- package/dist/_types/sdk/catalog/visual-exploration.d.ts +10838 -0
- package/dist/_types/sdk/client.d.ts +75 -0
- package/dist/_types/sdk/desktop-catalogue.d.ts +25 -0
- package/dist/_types/sdk/desktop-previews.d.ts +118 -0
- package/dist/_types/sdk/desktop-releases.d.ts +75 -0
- package/dist/_types/sdk/errors.d.ts +9 -0
- package/dist/_types/sdk/evidence-image.d.ts +22 -0
- package/dist/_types/sdk/image-media.d.ts +43 -0
- package/dist/_types/sdk/index.d.ts +16 -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/_types/sdk/mcp-client.d.ts +55 -0
- package/dist/_types/sdk/mcp-image.d.ts +52 -0
- package/dist/_types/sdk/media.d.ts +104 -0
- package/dist/_types/sdk/navigation-client.d.ts +141 -0
- package/dist/_types/sdk/navigation-facade.d.ts +458 -0
- package/dist/_types/sdk/observe.d.ts +51 -0
- package/dist/_types/sdk/runtime-authority.d.ts +103 -0
- package/dist/_types/sdk/transport/http.d.ts +39 -0
- package/dist/account.d.ts +1 -0
- package/dist/account.js +1 -0
- package/dist/desktop-previews.d.ts +1 -0
- package/dist/desktop-previews.js +1 -0
- package/dist/desktop-releases.d.ts +1 -0
- package/dist/desktop-releases.js +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/local-runtime.d.ts +1 -0
- package/dist/local-runtime.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/dist/runtime-authority.d.ts +1 -0
- package/dist/runtime-authority.js +1 -0
- package/package.json +50 -3
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalCompletionSubmissionSchema: z.ZodObject<{
|
|
3
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
4
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
5
|
+
productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
6
|
+
runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
7
|
+
attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
8
|
+
assignmentRevision: z.ZodInt;
|
|
9
|
+
workerId: z.ZodString;
|
|
10
|
+
workFingerprint: z.ZodString;
|
|
11
|
+
toolchainFingerprint: z.ZodString;
|
|
12
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
13
|
+
outputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
|
+
role: z.ZodLiteral<"VIDEO">;
|
|
15
|
+
receiptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
16
|
+
checksumSha256: z.ZodString;
|
|
17
|
+
byteSize: z.ZodInt;
|
|
18
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
role: z.ZodLiteral<"POSTER">;
|
|
21
|
+
receiptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
22
|
+
checksumSha256: z.ZodString;
|
|
23
|
+
byteSize: z.ZodInt;
|
|
24
|
+
contentType: z.ZodLiteral<"image/png">;
|
|
25
|
+
}, z.core.$strict>], "role">>;
|
|
26
|
+
technical: z.ZodObject<{
|
|
27
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
28
|
+
checksumSha256: z.ZodString;
|
|
29
|
+
byteSize: z.ZodInt;
|
|
30
|
+
width: z.ZodInt;
|
|
31
|
+
height: z.ZodInt;
|
|
32
|
+
videoCodec: z.ZodEnum<{
|
|
33
|
+
h264: "h264";
|
|
34
|
+
hevc: "hevc";
|
|
35
|
+
}>;
|
|
36
|
+
pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
|
|
37
|
+
nativeAudio: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
|
|
39
|
+
sourceCodec: z.ZodLiteral<"aac">;
|
|
40
|
+
sourceSampleRateHz: z.ZodInt;
|
|
41
|
+
sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
42
|
+
sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
|
|
43
|
+
sourceFrameCount: z.ZodInt;
|
|
44
|
+
sourceStartOffsetMs: z.ZodNumber;
|
|
45
|
+
sourceDeclaredDurationMs: z.ZodNumber;
|
|
46
|
+
alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
|
|
47
|
+
media: z.ZodObject<{
|
|
48
|
+
profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
|
|
49
|
+
audioCodec: z.ZodLiteral<"pcm_s16le">;
|
|
50
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
51
|
+
audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
52
|
+
sampleCount: z.ZodInt;
|
|
53
|
+
durationMs: z.ZodNumber;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
checksumSha256: z.ZodString;
|
|
56
|
+
}, z.core.$strict>>;
|
|
57
|
+
hasAudio: z.ZodBoolean;
|
|
58
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
audioCodec: z.ZodLiteral<"aac">;
|
|
60
|
+
sampleRateHz: z.ZodLiteral<48000>;
|
|
61
|
+
audioChannels: z.ZodLiteral<2>;
|
|
62
|
+
sampleCount: z.ZodInt;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
durationMs: z.ZodInt;
|
|
65
|
+
frameRate: z.ZodLiteral<30>;
|
|
66
|
+
frameCount: z.ZodInt;
|
|
67
|
+
engineVersion: z.ZodString;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
export declare const LocalVerifiedUploadSchema: z.ZodObject<{
|
|
71
|
+
binding: z.ZodObject<{
|
|
72
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
73
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
74
|
+
productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
75
|
+
runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
76
|
+
attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
77
|
+
assignmentRevision: z.ZodInt;
|
|
78
|
+
workerId: z.ZodString;
|
|
79
|
+
workFingerprint: z.ZodString;
|
|
80
|
+
toolchainFingerprint: z.ZodString;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
role: z.ZodLiteral<"VIDEO">;
|
|
84
|
+
receiptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
85
|
+
checksumSha256: z.ZodString;
|
|
86
|
+
byteSize: z.ZodInt;
|
|
87
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
88
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
89
|
+
role: z.ZodLiteral<"POSTER">;
|
|
90
|
+
receiptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
91
|
+
checksumSha256: z.ZodString;
|
|
92
|
+
byteSize: z.ZodInt;
|
|
93
|
+
contentType: z.ZodLiteral<"image/png">;
|
|
94
|
+
}, z.core.$strict>], "role">;
|
|
95
|
+
verifiedAt: z.ZodISODateTime;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
/** Only the native owner returns this after atomic acceptance and durable byte validation. */
|
|
98
|
+
export declare const LocalCompletionReceiptSchema: z.ZodObject<{
|
|
99
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
100
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
101
|
+
productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
102
|
+
runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
103
|
+
attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
104
|
+
assignmentRevision: z.ZodInt;
|
|
105
|
+
workerId: z.ZodString;
|
|
106
|
+
workFingerprint: z.ZodString;
|
|
107
|
+
toolchainFingerprint: z.ZodString;
|
|
108
|
+
submissionFingerprint: z.ZodOptional<z.ZodString>;
|
|
109
|
+
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
110
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
111
|
+
renderId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
112
|
+
operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
|
|
113
|
+
artifactId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
114
|
+
videoRepresentationId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
115
|
+
posterRepresentationId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
116
|
+
checksumSha256: z.ZodString;
|
|
117
|
+
acceptedAt: z.ZodISODateTime;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export declare const GetLocalCompletionReceiptSchema: z.ZodObject<{
|
|
120
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
121
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
122
|
+
productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
123
|
+
runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
124
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
export type LocalCompletionSubmission = z.infer<typeof LocalCompletionSubmissionSchema>;
|
|
127
|
+
export type LocalVerifiedUpload = z.infer<typeof LocalVerifiedUploadSchema>;
|
|
128
|
+
export type LocalCompletionReceipt = z.infer<typeof LocalCompletionReceiptSchema>;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalDevicePlatformSchema: z.ZodObject<{
|
|
3
|
+
os: z.ZodEnum<{
|
|
4
|
+
darwin: "darwin";
|
|
5
|
+
linux: "linux";
|
|
6
|
+
win32: "win32";
|
|
7
|
+
}>;
|
|
8
|
+
architecture: z.ZodEnum<{
|
|
9
|
+
x64: "x64";
|
|
10
|
+
arm64: "arm64";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
export declare const EnrollLocalDeviceSchema: z.ZodObject<{
|
|
14
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
15
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
16
|
+
label: z.ZodString;
|
|
17
|
+
platform: z.ZodObject<{
|
|
18
|
+
os: z.ZodEnum<{
|
|
19
|
+
darwin: "darwin";
|
|
20
|
+
linux: "linux";
|
|
21
|
+
win32: "win32";
|
|
22
|
+
}>;
|
|
23
|
+
architecture: z.ZodEnum<{
|
|
24
|
+
x64: "x64";
|
|
25
|
+
arm64: "arm64";
|
|
26
|
+
}>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
runtimeVersion: z.ZodString;
|
|
29
|
+
publicKey: z.ZodObject<{
|
|
30
|
+
kty: z.ZodLiteral<"EC">;
|
|
31
|
+
crv: z.ZodLiteral<"P-256">;
|
|
32
|
+
x: z.ZodString;
|
|
33
|
+
y: z.ZodString;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export declare const LocalDeviceViewSchema: z.ZodObject<{
|
|
37
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
38
|
+
publicKey: z.ZodObject<{
|
|
39
|
+
kty: z.ZodLiteral<"EC">;
|
|
40
|
+
crv: z.ZodLiteral<"P-256">;
|
|
41
|
+
x: z.ZodString;
|
|
42
|
+
y: z.ZodString;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
label: z.ZodString;
|
|
45
|
+
platform: z.ZodObject<{
|
|
46
|
+
os: z.ZodEnum<{
|
|
47
|
+
darwin: "darwin";
|
|
48
|
+
linux: "linux";
|
|
49
|
+
win32: "win32";
|
|
50
|
+
}>;
|
|
51
|
+
architecture: z.ZodEnum<{
|
|
52
|
+
x64: "x64";
|
|
53
|
+
arm64: "arm64";
|
|
54
|
+
}>;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
runtimeVersion: z.ZodString;
|
|
57
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
58
|
+
revision: z.ZodInt;
|
|
59
|
+
enrolledByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
60
|
+
createdAt: z.ZodISODateTime;
|
|
61
|
+
verifiedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
62
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
export declare const LocalDeviceChallengeSchema: z.ZodObject<{
|
|
65
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
66
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
67
|
+
deviceRevision: z.ZodInt;
|
|
68
|
+
challengeId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
69
|
+
audience: z.ZodString;
|
|
70
|
+
issuedAt: z.ZodISODateTime;
|
|
71
|
+
expiresAt: z.ZodISODateTime;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
export declare const LocalDeviceProofClaimsSchema: z.ZodObject<{
|
|
74
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_DEVICE_PROOF_V1">;
|
|
75
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
76
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
77
|
+
deviceRevision: z.ZodInt;
|
|
78
|
+
challengeId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
79
|
+
audience: z.ZodString;
|
|
80
|
+
jti: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
81
|
+
iat: z.ZodInt;
|
|
82
|
+
exp: z.ZodInt;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
export declare const ProveLocalDeviceSchema: z.ZodObject<{
|
|
85
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
86
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
87
|
+
deviceRevision: z.ZodInt;
|
|
88
|
+
challengeId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
89
|
+
assertion: z.ZodString;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export declare const GrantLocalDeviceSchema: z.ZodObject<{
|
|
92
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
93
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
94
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
95
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
96
|
+
deviceRevision: z.ZodInt;
|
|
97
|
+
expectedRevision: z.ZodInt;
|
|
98
|
+
expiresAt: z.ZodISODateTime;
|
|
99
|
+
capability: z.ZodLiteral<"ROUGH_CUT_PREVIEW_V1">;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export declare const LocalDeviceGrantSchema: z.ZodObject<{
|
|
102
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
103
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
104
|
+
capability: z.ZodLiteral<"ROUGH_CUT_PREVIEW_V1">;
|
|
105
|
+
expiresAt: z.ZodISODateTime;
|
|
106
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
107
|
+
deviceRevision: z.ZodInt;
|
|
108
|
+
grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
109
|
+
revision: z.ZodInt;
|
|
110
|
+
approvedByPrincipalId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
111
|
+
createdAt: z.ZodISODateTime;
|
|
112
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export declare const RevokeLocalDeviceGrantSchema: z.ZodObject<{
|
|
115
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
116
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
117
|
+
grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
118
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
119
|
+
expectedRevision: z.ZodInt;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export declare const RevokeLocalDeviceSchema: z.ZodObject<{
|
|
122
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
123
|
+
deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
124
|
+
requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
125
|
+
expectedRevision: z.ZodInt;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
export type LocalDeviceView = z.infer<typeof LocalDeviceViewSchema>;
|
|
128
|
+
export type LocalDeviceGrant = z.infer<typeof LocalDeviceGrantSchema>;
|
|
129
|
+
export type EnrollLocalDevice = z.infer<typeof EnrollLocalDeviceSchema>;
|
|
130
|
+
export type LocalDeviceChallenge = z.infer<typeof LocalDeviceChallengeSchema>;
|
|
131
|
+
export type LocalDeviceProofClaims = z.infer<typeof LocalDeviceProofClaimsSchema>;
|
|
132
|
+
export type GrantLocalDevice = z.infer<typeof GrantLocalDeviceSchema>;
|
|
133
|
+
export type RevokeLocalDevice = z.infer<typeof RevokeLocalDeviceSchema>;
|
|
134
|
+
export type RevokeLocalDeviceGrant = z.infer<typeof RevokeLocalDeviceGrantSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./common.js";
|
|
2
|
+
export * from "./device.js";
|
|
3
|
+
export * from "./work.js";
|
|
4
|
+
export * from "./completion.js";
|
|
5
|
+
export * from "./ipc.js";
|
|
6
|
+
export * from "./preview.js";
|
|
7
|
+
export * from "./canonical.js";
|
|
8
|
+
export * from "./lifecycle.js";
|
|
9
|
+
export * from "./tool-selection.js";
|
|
10
|
+
export * from "./local-navigation.js";
|
|
11
|
+
export * from "./agent-review.js";
|