@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,71 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AgentExecutionConsentSchema: z.ZodObject<{
|
|
3
|
+
response_type: z.ZodLiteral<"code">;
|
|
4
|
+
client_id: z.ZodUUID;
|
|
5
|
+
redirect_uri: z.ZodURL;
|
|
6
|
+
resource: z.ZodURL;
|
|
7
|
+
scope: z.ZodString;
|
|
8
|
+
state: z.ZodString;
|
|
9
|
+
code_challenge: z.ZodString;
|
|
10
|
+
code_challenge_method: z.ZodLiteral<"S256">;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
export declare const ApproveAgentExecutionConsentSchema: z.ZodObject<{
|
|
13
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
14
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
15
|
+
profileKey: z.ZodString;
|
|
16
|
+
requestId: z.ZodUUID;
|
|
17
|
+
consent: z.ZodObject<{
|
|
18
|
+
response_type: z.ZodLiteral<"code">;
|
|
19
|
+
client_id: z.ZodUUID;
|
|
20
|
+
redirect_uri: z.ZodURL;
|
|
21
|
+
resource: z.ZodURL;
|
|
22
|
+
scope: z.ZodString;
|
|
23
|
+
state: z.ZodString;
|
|
24
|
+
code_challenge: z.ZodString;
|
|
25
|
+
code_challenge_method: z.ZodLiteral<"S256">;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
expiresInSeconds: z.ZodInt;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const AgentExecutionGrantSchema: z.ZodObject<{
|
|
30
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
31
|
+
clientId: z.ZodUUID;
|
|
32
|
+
registrationRevision: z.ZodInt;
|
|
33
|
+
resource: z.ZodURL;
|
|
34
|
+
grantRef: z.ZodUUID;
|
|
35
|
+
grantRevision: z.ZodInt;
|
|
36
|
+
expiresAt: z.ZodISODateTime;
|
|
37
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
export declare const AgentExecutionTokenFormSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40
|
+
grant_type: z.ZodLiteral<"authorization_code">;
|
|
41
|
+
client_id: z.ZodUUID;
|
|
42
|
+
resource: z.ZodURL;
|
|
43
|
+
registration_revision: z.ZodString;
|
|
44
|
+
code: z.ZodString;
|
|
45
|
+
code_verifier: z.ZodString;
|
|
46
|
+
redirect_uri: z.ZodURL;
|
|
47
|
+
client_assertion_type: z.ZodLiteral<"urn:ietf:params:oauth:client-assertion-type:jwt-bearer">;
|
|
48
|
+
client_assertion: z.ZodString;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
grant_type: z.ZodLiteral<"refresh_token">;
|
|
51
|
+
client_id: z.ZodUUID;
|
|
52
|
+
resource: z.ZodURL;
|
|
53
|
+
registration_revision: z.ZodString;
|
|
54
|
+
refresh_token: z.ZodString;
|
|
55
|
+
client_assertion_type: z.ZodLiteral<"urn:ietf:params:oauth:client-assertion-type:jwt-bearer">;
|
|
56
|
+
client_assertion: z.ZodString;
|
|
57
|
+
}, z.core.$strict>], "grant_type">;
|
|
58
|
+
export declare const AgentExecutionAssertionSchema: z.ZodObject<{
|
|
59
|
+
iss: z.ZodUUID;
|
|
60
|
+
sub: z.ZodUUID;
|
|
61
|
+
aud: z.ZodURL;
|
|
62
|
+
iat: z.ZodInt;
|
|
63
|
+
exp: z.ZodInt;
|
|
64
|
+
jti: z.ZodUUID;
|
|
65
|
+
requestDigest: z.ZodString;
|
|
66
|
+
}, z.core.$strict>;
|
|
67
|
+
export type AgentExecutionConsent = z.infer<typeof AgentExecutionConsentSchema>;
|
|
68
|
+
export type ApproveAgentExecutionConsent = z.infer<typeof ApproveAgentExecutionConsentSchema>;
|
|
69
|
+
export type AgentExecutionGrant = z.infer<typeof AgentExecutionGrantSchema>;
|
|
70
|
+
export type AgentExecutionTokenForm = z.infer<typeof AgentExecutionTokenFormSchema>;
|
|
71
|
+
export type AgentExecutionAssertion = z.infer<typeof AgentExecutionAssertionSchema>;
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AgentExecutionLimitsSchema: z.ZodObject<{
|
|
3
|
+
grantMaxSeconds: z.ZodInt;
|
|
4
|
+
executionMaxSeconds: z.ZodInt;
|
|
5
|
+
leaseMaxSeconds: z.ZodInt;
|
|
6
|
+
renewWindowSeconds: z.ZodInt;
|
|
7
|
+
renewBeforeSeconds: z.ZodInt;
|
|
8
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
9
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export declare const AgentExecutionCapabilitiesSchema: z.ZodObject<{
|
|
12
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
13
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
14
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
15
|
+
issuer: z.ZodURL;
|
|
16
|
+
resource: z.ZodURL;
|
|
17
|
+
endpoints: z.ZodObject<{
|
|
18
|
+
capabilities: z.ZodURL;
|
|
19
|
+
authorize: z.ZodURL;
|
|
20
|
+
token: z.ZodURL;
|
|
21
|
+
identity: z.ZodURL;
|
|
22
|
+
bind: z.ZodURL;
|
|
23
|
+
bindingQuery: z.ZodURL;
|
|
24
|
+
access: z.ZodURL;
|
|
25
|
+
accessQuery: z.ZodURL;
|
|
26
|
+
leaseRenew: z.ZodURL;
|
|
27
|
+
leaseQuery: z.ZodURL;
|
|
28
|
+
close: z.ZodURL;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
|
|
31
|
+
limits: z.ZodObject<{
|
|
32
|
+
grantMaxSeconds: z.ZodInt;
|
|
33
|
+
executionMaxSeconds: z.ZodInt;
|
|
34
|
+
leaseMaxSeconds: z.ZodInt;
|
|
35
|
+
renewWindowSeconds: z.ZodInt;
|
|
36
|
+
renewBeforeSeconds: z.ZodInt;
|
|
37
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
38
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export declare const AgentExecutionDescriptorSchema: z.ZodObject<{
|
|
42
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
43
|
+
runtimeKey: z.ZodString;
|
|
44
|
+
installationId: z.ZodString;
|
|
45
|
+
displayName: z.ZodString;
|
|
46
|
+
redirectUri: z.ZodURL;
|
|
47
|
+
publicJwk: z.ZodObject<{
|
|
48
|
+
kty: z.ZodLiteral<"EC">;
|
|
49
|
+
crv: z.ZodLiteral<"P-256">;
|
|
50
|
+
x: z.ZodString;
|
|
51
|
+
y: z.ZodString;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export declare const AgentExecutionProfileSchema: z.ZodObject<{
|
|
55
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
56
|
+
profileKey: z.ZodString;
|
|
57
|
+
revision: z.ZodInt;
|
|
58
|
+
capabilities: z.ZodObject<{
|
|
59
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
60
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
61
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
62
|
+
issuer: z.ZodURL;
|
|
63
|
+
resource: z.ZodURL;
|
|
64
|
+
endpoints: z.ZodObject<{
|
|
65
|
+
capabilities: z.ZodURL;
|
|
66
|
+
authorize: z.ZodURL;
|
|
67
|
+
token: z.ZodURL;
|
|
68
|
+
identity: z.ZodURL;
|
|
69
|
+
bind: z.ZodURL;
|
|
70
|
+
bindingQuery: z.ZodURL;
|
|
71
|
+
access: z.ZodURL;
|
|
72
|
+
accessQuery: z.ZodURL;
|
|
73
|
+
leaseRenew: z.ZodURL;
|
|
74
|
+
leaseQuery: z.ZodURL;
|
|
75
|
+
close: z.ZodURL;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
|
|
78
|
+
limits: z.ZodObject<{
|
|
79
|
+
grantMaxSeconds: z.ZodInt;
|
|
80
|
+
executionMaxSeconds: z.ZodInt;
|
|
81
|
+
leaseMaxSeconds: z.ZodInt;
|
|
82
|
+
renewWindowSeconds: z.ZodInt;
|
|
83
|
+
renewBeforeSeconds: z.ZodInt;
|
|
84
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
85
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
capabilityDigest: z.ZodString;
|
|
89
|
+
nativeToolCapabilityDigest: z.ZodString;
|
|
90
|
+
redirectOrigins: z.ZodArray<z.ZodURL>;
|
|
91
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
92
|
+
bootstrap: z.ZodObject<{
|
|
93
|
+
slotKey: z.ZodString;
|
|
94
|
+
entryTool: z.ZodString;
|
|
95
|
+
argumentsMode: z.ZodLiteral<"task-input">;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
export declare const AgentExecutionRegistrationSchema: z.ZodObject<{
|
|
99
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
100
|
+
runtimeKey: z.ZodString;
|
|
101
|
+
installationId: z.ZodString;
|
|
102
|
+
displayName: z.ZodString;
|
|
103
|
+
redirectUri: z.ZodURL;
|
|
104
|
+
publicJwk: z.ZodObject<{
|
|
105
|
+
kty: z.ZodLiteral<"EC">;
|
|
106
|
+
crv: z.ZodLiteral<"P-256">;
|
|
107
|
+
x: z.ZodString;
|
|
108
|
+
y: z.ZodString;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
clientId: z.ZodString;
|
|
111
|
+
registrationRevision: z.ZodInt;
|
|
112
|
+
issuer: z.ZodURL;
|
|
113
|
+
resource: z.ZodURL;
|
|
114
|
+
keyId: z.ZodString;
|
|
115
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
116
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
117
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
118
|
+
capabilityDigest: z.ZodString;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
export declare const ApproveAgentExecutionRegistrationSchema: z.ZodObject<{
|
|
121
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
122
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
123
|
+
requestId: z.ZodUUID;
|
|
124
|
+
bindingId: z.ZodUUID;
|
|
125
|
+
expectedBindingRevision: z.ZodInt;
|
|
126
|
+
expectedConfigurationVersion: z.ZodInt;
|
|
127
|
+
profileKey: z.ZodString;
|
|
128
|
+
expectedProfileRevision: z.ZodInt;
|
|
129
|
+
descriptor: z.ZodObject<{
|
|
130
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
131
|
+
runtimeKey: z.ZodString;
|
|
132
|
+
installationId: z.ZodString;
|
|
133
|
+
displayName: z.ZodString;
|
|
134
|
+
redirectUri: z.ZodURL;
|
|
135
|
+
publicJwk: z.ZodObject<{
|
|
136
|
+
kty: z.ZodLiteral<"EC">;
|
|
137
|
+
crv: z.ZodLiteral<"P-256">;
|
|
138
|
+
x: z.ZodString;
|
|
139
|
+
y: z.ZodString;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
export declare const AgentExecutionRegistrationGetSchema: z.ZodObject<{
|
|
144
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
145
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
146
|
+
clientId: z.ZodUUID;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
export declare const RevokeAgentExecutionRegistrationSchema: z.ZodObject<{
|
|
149
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
150
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
151
|
+
clientId: z.ZodUUID;
|
|
152
|
+
requestId: z.ZodUUID;
|
|
153
|
+
expectedRevision: z.ZodInt;
|
|
154
|
+
}, z.core.$strict>;
|
|
155
|
+
export declare const AgentExecutionRegistrationViewSchema: z.ZodObject<{
|
|
156
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
157
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
158
|
+
clientId: z.ZodUUID;
|
|
159
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
160
|
+
revision: z.ZodInt;
|
|
161
|
+
enabled: z.ZodBoolean;
|
|
162
|
+
bindingId: z.ZodUUID;
|
|
163
|
+
bindingRevision: z.ZodInt;
|
|
164
|
+
configurationVersion: z.ZodInt;
|
|
165
|
+
profile: z.ZodObject<{
|
|
166
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
167
|
+
profileKey: z.ZodString;
|
|
168
|
+
revision: z.ZodInt;
|
|
169
|
+
capabilities: z.ZodObject<{
|
|
170
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
171
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
172
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
173
|
+
issuer: z.ZodURL;
|
|
174
|
+
resource: z.ZodURL;
|
|
175
|
+
endpoints: z.ZodObject<{
|
|
176
|
+
capabilities: z.ZodURL;
|
|
177
|
+
authorize: z.ZodURL;
|
|
178
|
+
token: z.ZodURL;
|
|
179
|
+
identity: z.ZodURL;
|
|
180
|
+
bind: z.ZodURL;
|
|
181
|
+
bindingQuery: z.ZodURL;
|
|
182
|
+
access: z.ZodURL;
|
|
183
|
+
accessQuery: z.ZodURL;
|
|
184
|
+
leaseRenew: z.ZodURL;
|
|
185
|
+
leaseQuery: z.ZodURL;
|
|
186
|
+
close: z.ZodURL;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
|
|
189
|
+
limits: z.ZodObject<{
|
|
190
|
+
grantMaxSeconds: z.ZodInt;
|
|
191
|
+
executionMaxSeconds: z.ZodInt;
|
|
192
|
+
leaseMaxSeconds: z.ZodInt;
|
|
193
|
+
renewWindowSeconds: z.ZodInt;
|
|
194
|
+
renewBeforeSeconds: z.ZodInt;
|
|
195
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
196
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
capabilityDigest: z.ZodString;
|
|
200
|
+
nativeToolCapabilityDigest: z.ZodString;
|
|
201
|
+
redirectOrigins: z.ZodArray<z.ZodURL>;
|
|
202
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
203
|
+
bootstrap: z.ZodObject<{
|
|
204
|
+
slotKey: z.ZodString;
|
|
205
|
+
entryTool: z.ZodString;
|
|
206
|
+
argumentsMode: z.ZodLiteral<"task-input">;
|
|
207
|
+
}, z.core.$strict>;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
registration: z.ZodObject<{
|
|
210
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
211
|
+
runtimeKey: z.ZodString;
|
|
212
|
+
installationId: z.ZodString;
|
|
213
|
+
displayName: z.ZodString;
|
|
214
|
+
redirectUri: z.ZodURL;
|
|
215
|
+
publicJwk: z.ZodObject<{
|
|
216
|
+
kty: z.ZodLiteral<"EC">;
|
|
217
|
+
crv: z.ZodLiteral<"P-256">;
|
|
218
|
+
x: z.ZodString;
|
|
219
|
+
y: z.ZodString;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
clientId: z.ZodString;
|
|
222
|
+
registrationRevision: z.ZodInt;
|
|
223
|
+
issuer: z.ZodURL;
|
|
224
|
+
resource: z.ZodURL;
|
|
225
|
+
keyId: z.ZodString;
|
|
226
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
227
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
228
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
229
|
+
capabilityDigest: z.ZodString;
|
|
230
|
+
}, z.core.$strict>;
|
|
231
|
+
approvedByPrincipalId: z.ZodUUID;
|
|
232
|
+
createdAt: z.ZodISODateTime;
|
|
233
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
234
|
+
}, z.core.$strict>;
|
|
235
|
+
export type AgentExecutionProfile = z.infer<typeof AgentExecutionProfileSchema>;
|
|
236
|
+
export type AgentExecutionDescriptor = z.infer<typeof AgentExecutionDescriptorSchema>;
|
|
237
|
+
export type AgentExecutionRegistrationView = z.infer<typeof AgentExecutionRegistrationViewSchema>;
|
|
238
|
+
export type ApproveAgentExecutionRegistration = z.infer<typeof ApproveAgentExecutionRegistrationSchema>;
|
|
239
|
+
export type RevokeAgentExecutionRegistration = z.infer<typeof RevokeAgentExecutionRegistrationSchema>;
|
|
240
|
+
export type AgentExecutionRegistrationGet = z.infer<typeof AgentExecutionRegistrationGetSchema>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ActivateAgentExecutionSchema: z.ZodObject<{
|
|
3
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
4
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
5
|
+
profileKey: z.ZodString;
|
|
6
|
+
requestId: z.ZodUUID;
|
|
7
|
+
bindingId: z.ZodUUID;
|
|
8
|
+
expectedBindingRevision: z.ZodInt;
|
|
9
|
+
expectedConfigurationVersion: z.ZodInt;
|
|
10
|
+
clientId: z.ZodUUID;
|
|
11
|
+
grantRef: z.ZodUUID;
|
|
12
|
+
installationRevisionId: z.ZodString;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export declare const AgentExecutionSelectionSchema: z.ZodObject<{
|
|
15
|
+
registration: z.ZodObject<{
|
|
16
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
17
|
+
projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
|
|
18
|
+
clientId: z.ZodUUID;
|
|
19
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
20
|
+
revision: z.ZodInt;
|
|
21
|
+
enabled: z.ZodBoolean;
|
|
22
|
+
bindingId: z.ZodUUID;
|
|
23
|
+
bindingRevision: z.ZodInt;
|
|
24
|
+
configurationVersion: z.ZodInt;
|
|
25
|
+
profile: z.ZodObject<{
|
|
26
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
27
|
+
profileKey: z.ZodString;
|
|
28
|
+
revision: z.ZodInt;
|
|
29
|
+
capabilities: z.ZodObject<{
|
|
30
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
31
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
32
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
33
|
+
issuer: z.ZodURL;
|
|
34
|
+
resource: z.ZodURL;
|
|
35
|
+
endpoints: z.ZodObject<{
|
|
36
|
+
capabilities: z.ZodURL;
|
|
37
|
+
authorize: z.ZodURL;
|
|
38
|
+
token: z.ZodURL;
|
|
39
|
+
identity: z.ZodURL;
|
|
40
|
+
bind: z.ZodURL;
|
|
41
|
+
bindingQuery: z.ZodURL;
|
|
42
|
+
access: z.ZodURL;
|
|
43
|
+
accessQuery: z.ZodURL;
|
|
44
|
+
leaseRenew: z.ZodURL;
|
|
45
|
+
leaseQuery: z.ZodURL;
|
|
46
|
+
close: z.ZodURL;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
|
|
49
|
+
limits: z.ZodObject<{
|
|
50
|
+
grantMaxSeconds: z.ZodInt;
|
|
51
|
+
executionMaxSeconds: z.ZodInt;
|
|
52
|
+
leaseMaxSeconds: z.ZodInt;
|
|
53
|
+
renewWindowSeconds: z.ZodInt;
|
|
54
|
+
renewBeforeSeconds: z.ZodInt;
|
|
55
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
56
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
capabilityDigest: z.ZodString;
|
|
60
|
+
nativeToolCapabilityDigest: z.ZodString;
|
|
61
|
+
redirectOrigins: z.ZodArray<z.ZodURL>;
|
|
62
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
63
|
+
bootstrap: z.ZodObject<{
|
|
64
|
+
slotKey: z.ZodString;
|
|
65
|
+
entryTool: z.ZodString;
|
|
66
|
+
argumentsMode: z.ZodLiteral<"task-input">;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
registration: z.ZodObject<{
|
|
70
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
71
|
+
runtimeKey: z.ZodString;
|
|
72
|
+
installationId: z.ZodString;
|
|
73
|
+
displayName: z.ZodString;
|
|
74
|
+
redirectUri: z.ZodURL;
|
|
75
|
+
publicJwk: z.ZodObject<{
|
|
76
|
+
kty: z.ZodLiteral<"EC">;
|
|
77
|
+
crv: z.ZodLiteral<"P-256">;
|
|
78
|
+
x: z.ZodString;
|
|
79
|
+
y: z.ZodString;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
clientId: z.ZodString;
|
|
82
|
+
registrationRevision: z.ZodInt;
|
|
83
|
+
issuer: z.ZodURL;
|
|
84
|
+
resource: z.ZodURL;
|
|
85
|
+
keyId: z.ZodString;
|
|
86
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
87
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
88
|
+
contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
|
|
89
|
+
capabilityDigest: z.ZodString;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
approvedByPrincipalId: z.ZodUUID;
|
|
92
|
+
createdAt: z.ZodISODateTime;
|
|
93
|
+
revokedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
grant: z.ZodObject<{
|
|
96
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
97
|
+
clientId: z.ZodUUID;
|
|
98
|
+
registrationRevision: z.ZodInt;
|
|
99
|
+
resource: z.ZodURL;
|
|
100
|
+
grantRef: z.ZodUUID;
|
|
101
|
+
grantRevision: z.ZodInt;
|
|
102
|
+
expiresAt: z.ZodISODateTime;
|
|
103
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
installationRevisionId: z.ZodString;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type ActivateAgentExecution = z.infer<typeof ActivateAgentExecutionSchema>;
|