@aexhq/sdk 0.46.5-canary → 0.50.0
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/LICENSE +201 -0
- package/NOTICE +38 -0
- package/README.md +23 -31
- package/dist/client/aex.d.ts +33 -0
- package/dist/client/aex.js +98 -0
- package/dist/client/aex.js.map +1 -0
- package/dist/client/credentials.d.ts +25 -0
- package/dist/client/credentials.js +97 -0
- package/dist/client/credentials.js.map +1 -0
- package/dist/client/routing.d.ts +7 -0
- package/dist/client/routing.js +29 -0
- package/dist/client/routing.js.map +1 -0
- package/dist/downloads/download.d.ts +25 -0
- package/dist/downloads/download.js +53 -0
- package/dist/downloads/download.js.map +1 -0
- package/dist/generated/errors.d.ts +12 -0
- package/dist/generated/errors.js +81 -0
- package/dist/generated/errors.js.map +1 -0
- package/dist/generated/resources.d.ts +730 -0
- package/dist/generated/resources.js +606 -0
- package/dist/generated/resources.js.map +1 -0
- package/dist/generated/routes.d.ts +42 -0
- package/dist/generated/routes.js +2101 -0
- package/dist/generated/routes.js.map +1 -0
- package/dist/index.d.ts +20 -50
- package/dist/index.js +11 -62
- package/dist/index.js.map +1 -1
- package/dist/observations/stream.d.ts +1 -0
- package/dist/observations/stream.js +18 -0
- package/dist/observations/stream.js.map +1 -0
- package/dist/transport/errors.d.ts +60 -0
- package/dist/transport/errors.js +107 -0
- package/dist/transport/errors.js.map +1 -0
- package/dist/transport/pagination.d.ts +8 -0
- package/dist/transport/pagination.js +34 -0
- package/dist/transport/pagination.js.map +1 -0
- package/dist/transport/retry.d.ts +21 -0
- package/dist/transport/retry.js +37 -0
- package/dist/transport/retry.js.map +1 -0
- package/dist/transport/transport.d.ts +25 -0
- package/dist/transport/transport.js +28 -0
- package/dist/transport/transport.js.map +1 -0
- package/package.json +63 -30
- package/dist/_contracts/account-operations.d.ts +0 -101
- package/dist/_contracts/account-operations.js +0 -242
- package/dist/_contracts/account-types.d.ts +0 -461
- package/dist/_contracts/account-types.js +0 -1
- package/dist/_contracts/api-key.d.ts +0 -61
- package/dist/_contracts/api-key.js +0 -101
- package/dist/_contracts/api-routes.d.ts +0 -20
- package/dist/_contracts/api-routes.js +0 -109
- package/dist/_contracts/archive-limits.d.ts +0 -3
- package/dist/_contracts/archive-limits.js +0 -23
- package/dist/_contracts/asset-authoring.d.ts +0 -22
- package/dist/_contracts/asset-authoring.js +0 -106
- package/dist/_contracts/asset-bundle.d.ts +0 -64
- package/dist/_contracts/asset-bundle.js +0 -263
- package/dist/_contracts/asset-upload-helper.d.ts +0 -31
- package/dist/_contracts/asset-upload-helper.js +0 -84
- package/dist/_contracts/billing-admission.d.ts +0 -29
- package/dist/_contracts/billing-admission.js +0 -28
- package/dist/_contracts/bundle-manifest.d.ts +0 -89
- package/dist/_contracts/bundle-manifest.js +0 -158
- package/dist/_contracts/canonical-sha256.d.ts +0 -8
- package/dist/_contracts/canonical-sha256.js +0 -8
- package/dist/_contracts/connection-ticket.d.ts +0 -22
- package/dist/_contracts/connection-ticket.js +0 -54
- package/dist/_contracts/continuation-event.d.ts +0 -31
- package/dist/_contracts/continuation-event.js +0 -6
- package/dist/_contracts/contract-parse-error.d.ts +0 -12
- package/dist/_contracts/contract-parse-error.js +0 -51
- package/dist/_contracts/error-codes.d.ts +0 -26
- package/dist/_contracts/error-codes.js +0 -116
- package/dist/_contracts/error-factory.d.ts +0 -32
- package/dist/_contracts/error-factory.js +0 -174
- package/dist/_contracts/event-envelope.d.ts +0 -471
- package/dist/_contracts/event-envelope.js +0 -501
- package/dist/_contracts/event-stream-client.d.ts +0 -122
- package/dist/_contracts/event-stream-client.js +0 -445
- package/dist/_contracts/event-view.d.ts +0 -44
- package/dist/_contracts/event-view.js +0 -69
- package/dist/_contracts/failure-class.d.ts +0 -29
- package/dist/_contracts/failure-class.js +0 -73
- package/dist/_contracts/http.d.ts +0 -135
- package/dist/_contracts/http.js +0 -434
- package/dist/_contracts/ids.d.ts +0 -66
- package/dist/_contracts/ids.js +0 -119
- package/dist/_contracts/index.d.ts +0 -42
- package/dist/_contracts/index.js +0 -52
- package/dist/_contracts/internal.d.ts +0 -55
- package/dist/_contracts/internal.js +0 -113
- package/dist/_contracts/models.d.ts +0 -30
- package/dist/_contracts/models.js +0 -28
- package/dist/_contracts/operation-core.d.ts +0 -36
- package/dist/_contracts/operation-core.js +0 -70
- package/dist/_contracts/operations.d.ts +0 -218
- package/dist/_contracts/operations.js +0 -1496
- package/dist/_contracts/otlp-projection.d.ts +0 -78
- package/dist/_contracts/otlp-projection.js +0 -171
- package/dist/_contracts/post-hook.d.ts +0 -31
- package/dist/_contracts/post-hook.js +0 -61
- package/dist/_contracts/provider-fault.d.ts +0 -34
- package/dist/_contracts/provider-fault.js +0 -68
- package/dist/_contracts/retry-core.d.ts +0 -29
- package/dist/_contracts/retry-core.js +0 -79
- package/dist/_contracts/runner-event.d.ts +0 -117
- package/dist/_contracts/runner-event.js +0 -172
- package/dist/_contracts/runtime-kind.d.ts +0 -60
- package/dist/_contracts/runtime-kind.js +0 -70
- package/dist/_contracts/runtime-manifest.d.ts +0 -121
- package/dist/_contracts/runtime-manifest.js +0 -83
- package/dist/_contracts/runtime-security-profile.d.ts +0 -26
- package/dist/_contracts/runtime-security-profile.js +0 -73
- package/dist/_contracts/runtime-sizes.d.ts +0 -104
- package/dist/_contracts/runtime-sizes.js +0 -111
- package/dist/_contracts/runtime-types.d.ts +0 -618
- package/dist/_contracts/runtime-types.js +0 -58
- package/dist/_contracts/schemas/asset-bundle.d.ts +0 -70
- package/dist/_contracts/schemas/asset-bundle.js +0 -107
- package/dist/_contracts/schemas/asset-ref.d.ts +0 -61
- package/dist/_contracts/schemas/asset-ref.js +0 -118
- package/dist/_contracts/schemas/bundle-manifest.d.ts +0 -66
- package/dist/_contracts/schemas/bundle-manifest.js +0 -77
- package/dist/_contracts/schemas/index.d.ts +0 -32
- package/dist/_contracts/schemas/index.js +0 -30
- package/dist/_contracts/schemas/mcp-server.d.ts +0 -99
- package/dist/_contracts/schemas/mcp-server.js +0 -209
- package/dist/_contracts/schemas/models.d.ts +0 -29
- package/dist/_contracts/schemas/models.js +0 -51
- package/dist/_contracts/schemas/numeric.d.ts +0 -18
- package/dist/_contracts/schemas/numeric.js +0 -28
- package/dist/_contracts/schemas/post-hook.d.ts +0 -45
- package/dist/_contracts/schemas/post-hook.js +0 -68
- package/dist/_contracts/schemas/response-assets.d.ts +0 -75
- package/dist/_contracts/schemas/response-assets.js +0 -81
- package/dist/_contracts/schemas/response-billing.d.ts +0 -208
- package/dist/_contracts/schemas/response-billing.js +0 -139
- package/dist/_contracts/schemas/response-common.d.ts +0 -132
- package/dist/_contracts/schemas/response-common.js +0 -162
- package/dist/_contracts/schemas/response-identity.d.ts +0 -648
- package/dist/_contracts/schemas/response-identity.js +0 -131
- package/dist/_contracts/schemas/response-mcp-servers.d.ts +0 -51
- package/dist/_contracts/schemas/response-mcp-servers.js +0 -32
- package/dist/_contracts/schemas/response-secrets.d.ts +0 -50
- package/dist/_contracts/schemas/response-secrets.js +0 -32
- package/dist/_contracts/schemas/response-sessions-internal.d.ts +0 -200
- package/dist/_contracts/schemas/response-sessions-internal.js +0 -142
- package/dist/_contracts/schemas/response-sessions.d.ts +0 -1598
- package/dist/_contracts/schemas/response-sessions.js +0 -377
- package/dist/_contracts/schemas/response-webhooks.d.ts +0 -76
- package/dist/_contracts/schemas/response-webhooks.js +0 -42
- package/dist/_contracts/schemas/response-workspace.d.ts +0 -225
- package/dist/_contracts/schemas/response-workspace.js +0 -99
- package/dist/_contracts/schemas/runtime-kind.d.ts +0 -31
- package/dist/_contracts/schemas/runtime-kind.js +0 -29
- package/dist/_contracts/schemas/runtime-security-profile.d.ts +0 -28
- package/dist/_contracts/schemas/runtime-security-profile.js +0 -26
- package/dist/_contracts/schemas/runtime-sizes.d.ts +0 -70
- package/dist/_contracts/schemas/runtime-sizes.js +0 -127
- package/dist/_contracts/schemas/session-limits.d.ts +0 -34
- package/dist/_contracts/schemas/session-limits.js +0 -39
- package/dist/_contracts/schemas/session-machine.d.ts +0 -23
- package/dist/_contracts/schemas/session-machine.js +0 -24
- package/dist/_contracts/schemas/session-request-config.d.ts +0 -58
- package/dist/_contracts/schemas/session-request-config.js +0 -134
- package/dist/_contracts/schemas/session-webhook.d.ts +0 -11
- package/dist/_contracts/schemas/session-webhook.js +0 -38
- package/dist/_contracts/schemas/side-effect-audit.d.ts +0 -98
- package/dist/_contracts/schemas/side-effect-audit.js +0 -102
- package/dist/_contracts/schemas/submission-assets.d.ts +0 -117
- package/dist/_contracts/schemas/submission-assets.js +0 -147
- package/dist/_contracts/schemas/submission-body.d.ts +0 -251
- package/dist/_contracts/schemas/submission-body.js +0 -378
- package/dist/_contracts/schemas/submission-environment.d.ts +0 -79
- package/dist/_contracts/schemas/submission-environment.js +0 -179
- package/dist/_contracts/schemas/submission-request.d.ts +0 -158
- package/dist/_contracts/schemas/submission-request.js +0 -49
- package/dist/_contracts/schemas/submission-secrets.d.ts +0 -47
- package/dist/_contracts/schemas/submission-secrets.js +0 -108
- package/dist/_contracts/schemas/wire.d.ts +0 -118
- package/dist/_contracts/schemas/wire.js +0 -171
- package/dist/_contracts/schemas/workspace-resources.d.ts +0 -50
- package/dist/_contracts/schemas/workspace-resources.js +0 -87
- package/dist/_contracts/sdk-errors.d.ts +0 -212
- package/dist/_contracts/sdk-errors.js +0 -313
- package/dist/_contracts/sdk-secrets.d.ts +0 -67
- package/dist/_contracts/sdk-secrets.js +0 -427
- package/dist/_contracts/session-archive.d.ts +0 -16
- package/dist/_contracts/session-archive.js +0 -92
- package/dist/_contracts/session-artifacts.d.ts +0 -189
- package/dist/_contracts/session-artifacts.js +0 -264
- package/dist/_contracts/session-config.d.ts +0 -373
- package/dist/_contracts/session-config.js +0 -562
- package/dist/_contracts/session-cost-types.d.ts +0 -211
- package/dist/_contracts/session-cost-types.js +0 -69
- package/dist/_contracts/session-cost.d.ts +0 -8
- package/dist/_contracts/session-cost.js +0 -582
- package/dist/_contracts/session-custody.d.ts +0 -165
- package/dist/_contracts/session-custody.js +0 -345
- package/dist/_contracts/session-file-query.d.ts +0 -14
- package/dist/_contracts/session-file-query.js +0 -178
- package/dist/_contracts/session-record.d.ts +0 -112
- package/dist/_contracts/session-record.js +0 -165
- package/dist/_contracts/session-retention.d.ts +0 -201
- package/dist/_contracts/session-retention.js +0 -450
- package/dist/_contracts/side-effect-audit.d.ts +0 -126
- package/dist/_contracts/side-effect-audit.js +0 -520
- package/dist/_contracts/sse.d.ts +0 -74
- package/dist/_contracts/sse.js +0 -227
- package/dist/_contracts/stable.d.ts +0 -45
- package/dist/_contracts/stable.js +0 -62
- package/dist/_contracts/status.d.ts +0 -25
- package/dist/_contracts/status.js +0 -57
- package/dist/_contracts/submission-limits.d.ts +0 -61
- package/dist/_contracts/submission-limits.js +0 -60
- package/dist/_contracts/submission.d.ts +0 -547
- package/dist/_contracts/submission.js +0 -812
- package/dist/_contracts/suggest.d.ts +0 -15
- package/dist/_contracts/suggest.js +0 -53
- package/dist/_contracts/testing/response-bindings.d.ts +0 -45
- package/dist/_contracts/testing/response-bindings.js +0 -256
- package/dist/_contracts/testing/wire-conformance-entry.d.ts +0 -10
- package/dist/_contracts/testing/wire-conformance-entry.js +0 -8
- package/dist/_contracts/testing/wire-conformance.d.ts +0 -169
- package/dist/_contracts/testing/wire-conformance.js +0 -276
- package/dist/_contracts/turn-trace.d.ts +0 -28
- package/dist/_contracts/turn-trace.js +0 -1
- package/dist/_contracts/unknown-field-error.d.ts +0 -13
- package/dist/_contracts/unknown-field-error.js +0 -21
- package/dist/_contracts/value-guards.d.ts +0 -20
- package/dist/_contracts/value-guards.js +0 -34
- package/dist/_contracts/webhook-verify.d.ts +0 -34
- package/dist/_contracts/webhook-verify.js +0 -93
- package/dist/_contracts/wire-observer.d.ts +0 -49
- package/dist/_contracts/wire-observer.js +0 -34
- package/dist/_contracts/workflow-status.d.ts +0 -7
- package/dist/_contracts/workflow-status.js +0 -43
- package/dist/_contracts/workspace-resources.d.ts +0 -98
- package/dist/_contracts/workspace-resources.js +0 -39
- package/dist/archive-limits.d.ts +0 -1
- package/dist/archive-limits.js +0 -2
- package/dist/archive-limits.js.map +0 -1
- package/dist/asset-upload.d.ts +0 -47
- package/dist/asset-upload.js +0 -269
- package/dist/asset-upload.js.map +0 -1
- package/dist/bundle.d.ts +0 -9
- package/dist/bundle.js +0 -20
- package/dist/bundle.js.map +0 -1
- package/dist/canonical-zip.d.ts +0 -68
- package/dist/canonical-zip.js +0 -355
- package/dist/canonical-zip.js.map +0 -1
- package/dist/cli.mjs +0 -12048
- package/dist/cli.mjs.sha256 +0 -1
- package/dist/client-types.d.ts +0 -192
- package/dist/client-types.js +0 -2
- package/dist/client-types.js.map +0 -1
- package/dist/client.d.ts +0 -464
- package/dist/client.js +0 -1207
- package/dist/client.js.map +0 -1
- package/dist/event-projection.d.ts +0 -22
- package/dist/event-projection.js +0 -380
- package/dist/event-projection.js.map +0 -1
- package/dist/fetch-archive.d.ts +0 -16
- package/dist/fetch-archive.js +0 -252
- package/dist/fetch-archive.js.map +0 -1
- package/dist/file.d.ts +0 -96
- package/dist/file.js +0 -272
- package/dist/file.js.map +0 -1
- package/dist/instructions.d.ts +0 -20
- package/dist/instructions.js +0 -40
- package/dist/instructions.js.map +0 -1
- package/dist/legacy-session-provider-fault.d.ts +0 -7
- package/dist/legacy-session-provider-fault.js +0 -38
- package/dist/legacy-session-provider-fault.js.map +0 -1
- package/dist/mcp-server.d.ts +0 -84
- package/dist/mcp-server.js +0 -117
- package/dist/mcp-server.js.map +0 -1
- package/dist/node-fs.d.ts +0 -29
- package/dist/node-fs.js +0 -19
- package/dist/node-fs.js.map +0 -1
- package/dist/node-walk.d.ts +0 -69
- package/dist/node-walk.js +0 -151
- package/dist/node-walk.js.map +0 -1
- package/dist/path-basename.d.ts +0 -5
- package/dist/path-basename.js +0 -9
- package/dist/path-basename.js.map +0 -1
- package/dist/retry.d.ts +0 -70
- package/dist/retry.js +0 -155
- package/dist/retry.js.map +0 -1
- package/dist/secret.d.ts +0 -65
- package/dist/secret.js +0 -110
- package/dist/secret.js.map +0 -1
- package/dist/session-validate.d.ts +0 -100
- package/dist/session-validate.js +0 -303
- package/dist/session-validate.js.map +0 -1
- package/dist/skill.d.ts +0 -99
- package/dist/skill.js +0 -169
- package/dist/skill.js.map +0 -1
- package/dist/submission-wire.d.ts +0 -13
- package/dist/submission-wire.js +0 -69
- package/dist/submission-wire.js.map +0 -1
- package/dist/tool.d.ts +0 -41
- package/dist/tool.js +0 -76
- package/dist/tool.js.map +0 -1
- package/dist/version.d.ts +0 -9
- package/dist/version.js +0 -10
- package/dist/version.js.map +0 -1
- package/docs/authentication.md +0 -125
- package/docs/billing.md +0 -164
- package/docs/cleanup.md +0 -27
- package/docs/concepts/agent-tools.md +0 -47
- package/docs/concepts/composition.md +0 -60
- package/docs/concepts/providers-and-runtimes.md +0 -121
- package/docs/concepts/sessions.md +0 -51
- package/docs/concepts/subagents.md +0 -35
- package/docs/credentials.md +0 -116
- package/docs/defaults.md +0 -51
- package/docs/errors.md +0 -258
- package/docs/events.md +0 -143
- package/docs/files.md +0 -130
- package/docs/limits-and-quotas.md +0 -114
- package/docs/limits.md +0 -51
- package/docs/mcp.md +0 -47
- package/docs/networking.md +0 -114
- package/docs/provider-runtime-capabilities.md +0 -32
- package/docs/public-surface.json +0 -73
- package/docs/quickstart.md +0 -135
- package/docs/release.md +0 -44
- package/docs/retries.md +0 -108
- package/docs/secrets.md +0 -141
- package/docs/session-config.md +0 -51
- package/docs/session-record.md +0 -58
- package/docs/skills.md +0 -65
- package/docs/telemetry.md +0 -66
- package/docs/testing.md +0 -35
- package/docs/vision-skills.md +0 -94
- package/docs/webhooks.md +0 -143
|
@@ -1,648 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Response schema for `GET /whoami` — the data-plane identity canary.
|
|
3
|
-
*
|
|
4
|
-
* This is the route `parseWhoAmI` already hand-guards, including an explicit
|
|
5
|
-
* "these three fields were removed and must not reappear" check for `caps`,
|
|
6
|
-
* `tokenId` and `tokenName`. A strict object generalises that: EVERY undeclared
|
|
7
|
-
* field is a reappearance, not just the three someone remembered to list.
|
|
8
|
-
*
|
|
9
|
-
* The CONTROL plane serves a different body at the same path — an
|
|
10
|
-
* `account_token` principal, parsed by `parseAccountWhoAmI`. It is declared here
|
|
11
|
-
* too, and the two are NOT unioned: unioning them would let a data-plane whoami
|
|
12
|
-
* pass while carrying a control-plane body. They are kept apart by ORIGIN
|
|
13
|
-
* instead — `WireResponse` carries the origin it came from, and the harness is
|
|
14
|
-
* installed with the plane its bindings describe. See
|
|
15
|
-
* `testing/response-bindings.ts`.
|
|
16
|
-
*/
|
|
17
|
-
import * as z from "zod/mini";
|
|
18
|
-
export declare const RuntimeCapabilitiesSchema: z.ZodMiniObject<{
|
|
19
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
20
|
-
capabilityVersion: z.ZodMiniString<string>;
|
|
21
|
-
capabilityHash: z.ZodMiniString<string>;
|
|
22
|
-
availableRuntimeKinds: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
23
|
-
container: "container";
|
|
24
|
-
spot_container: "spot_container";
|
|
25
|
-
lambda: "lambda";
|
|
26
|
-
}>>;
|
|
27
|
-
sizesByRuntimeKind: z.ZodMiniObject<{
|
|
28
|
-
container: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
29
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
30
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
31
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
32
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
33
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
34
|
-
}>>>;
|
|
35
|
-
spot_container: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
36
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
37
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
38
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
39
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
40
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
41
|
-
}>>>;
|
|
42
|
-
lambda: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
43
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
44
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
45
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
46
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
47
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
48
|
-
}>>>;
|
|
49
|
-
}, z.core.$strict>;
|
|
50
|
-
unavailable: z.ZodMiniObject<{
|
|
51
|
-
container: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
52
|
-
code: z.ZodMiniString<string>;
|
|
53
|
-
}, z.core.$strict>>;
|
|
54
|
-
spot_container: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
55
|
-
code: z.ZodMiniString<string>;
|
|
56
|
-
}, z.core.$strict>>;
|
|
57
|
-
lambda: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
58
|
-
code: z.ZodMiniString<string>;
|
|
59
|
-
}, z.core.$strict>>;
|
|
60
|
-
}, z.core.$strict>;
|
|
61
|
-
profilesByRuntimeKind: z.ZodMiniObject<{
|
|
62
|
-
container: z.ZodMiniObject<{
|
|
63
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
64
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
65
|
-
container: "container";
|
|
66
|
-
spot_container: "spot_container";
|
|
67
|
-
lambda: "lambda";
|
|
68
|
-
}>;
|
|
69
|
-
capabilities: z.ZodMiniObject<{
|
|
70
|
-
toolExecution: z.ZodMiniEnum<{
|
|
71
|
-
supported: "supported";
|
|
72
|
-
unsupported: "unsupported";
|
|
73
|
-
}>;
|
|
74
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
75
|
-
supported: "supported";
|
|
76
|
-
unsupported: "unsupported";
|
|
77
|
-
}>;
|
|
78
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
79
|
-
supported: "supported";
|
|
80
|
-
unsupported: "unsupported";
|
|
81
|
-
}>;
|
|
82
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
83
|
-
supported: "supported";
|
|
84
|
-
unsupported: "unsupported";
|
|
85
|
-
}>;
|
|
86
|
-
approvalGate: z.ZodMiniEnum<{
|
|
87
|
-
supported: "supported";
|
|
88
|
-
unsupported: "unsupported";
|
|
89
|
-
}>;
|
|
90
|
-
postHook: z.ZodMiniEnum<{
|
|
91
|
-
supported: "supported";
|
|
92
|
-
unsupported: "unsupported";
|
|
93
|
-
}>;
|
|
94
|
-
mcpTools: z.ZodMiniEnum<{
|
|
95
|
-
supported: "supported";
|
|
96
|
-
unsupported: "unsupported";
|
|
97
|
-
}>;
|
|
98
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
99
|
-
supported: "supported";
|
|
100
|
-
unsupported: "unsupported";
|
|
101
|
-
}>;
|
|
102
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
103
|
-
supported: "supported";
|
|
104
|
-
unsupported: "unsupported";
|
|
105
|
-
}>;
|
|
106
|
-
containedEgress: z.ZodMiniEnum<{
|
|
107
|
-
supported: "supported";
|
|
108
|
-
unsupported: "unsupported";
|
|
109
|
-
}>;
|
|
110
|
-
}, z.core.$strict>;
|
|
111
|
-
limits: z.ZodMiniObject<{
|
|
112
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
113
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
114
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
115
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
116
|
-
}, z.core.$strict>;
|
|
117
|
-
delivery: z.ZodMiniObject<{
|
|
118
|
-
toolExecution: z.ZodMiniEnum<{
|
|
119
|
-
"at-least-once": "at-least-once";
|
|
120
|
-
"exactly-once": "exactly-once";
|
|
121
|
-
}>;
|
|
122
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
123
|
-
warm: "warm";
|
|
124
|
-
"cold-seconds": "cold-seconds";
|
|
125
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
126
|
-
}>;
|
|
127
|
-
idleBilling: z.ZodMiniEnum<{
|
|
128
|
-
"wall-clock": "wall-clock";
|
|
129
|
-
zero: "zero";
|
|
130
|
-
}>;
|
|
131
|
-
}, z.core.$strict>;
|
|
132
|
-
computeBasis: z.ZodMiniEnum<{
|
|
133
|
-
wall_clock: "wall_clock";
|
|
134
|
-
microvm_running: "microvm_running";
|
|
135
|
-
}>;
|
|
136
|
-
}, z.core.$strict>;
|
|
137
|
-
spot_container: z.ZodMiniObject<{
|
|
138
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
139
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
140
|
-
container: "container";
|
|
141
|
-
spot_container: "spot_container";
|
|
142
|
-
lambda: "lambda";
|
|
143
|
-
}>;
|
|
144
|
-
capabilities: z.ZodMiniObject<{
|
|
145
|
-
toolExecution: z.ZodMiniEnum<{
|
|
146
|
-
supported: "supported";
|
|
147
|
-
unsupported: "unsupported";
|
|
148
|
-
}>;
|
|
149
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
150
|
-
supported: "supported";
|
|
151
|
-
unsupported: "unsupported";
|
|
152
|
-
}>;
|
|
153
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
154
|
-
supported: "supported";
|
|
155
|
-
unsupported: "unsupported";
|
|
156
|
-
}>;
|
|
157
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
158
|
-
supported: "supported";
|
|
159
|
-
unsupported: "unsupported";
|
|
160
|
-
}>;
|
|
161
|
-
approvalGate: z.ZodMiniEnum<{
|
|
162
|
-
supported: "supported";
|
|
163
|
-
unsupported: "unsupported";
|
|
164
|
-
}>;
|
|
165
|
-
postHook: z.ZodMiniEnum<{
|
|
166
|
-
supported: "supported";
|
|
167
|
-
unsupported: "unsupported";
|
|
168
|
-
}>;
|
|
169
|
-
mcpTools: z.ZodMiniEnum<{
|
|
170
|
-
supported: "supported";
|
|
171
|
-
unsupported: "unsupported";
|
|
172
|
-
}>;
|
|
173
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
174
|
-
supported: "supported";
|
|
175
|
-
unsupported: "unsupported";
|
|
176
|
-
}>;
|
|
177
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
178
|
-
supported: "supported";
|
|
179
|
-
unsupported: "unsupported";
|
|
180
|
-
}>;
|
|
181
|
-
containedEgress: z.ZodMiniEnum<{
|
|
182
|
-
supported: "supported";
|
|
183
|
-
unsupported: "unsupported";
|
|
184
|
-
}>;
|
|
185
|
-
}, z.core.$strict>;
|
|
186
|
-
limits: z.ZodMiniObject<{
|
|
187
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
188
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
189
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
190
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
191
|
-
}, z.core.$strict>;
|
|
192
|
-
delivery: z.ZodMiniObject<{
|
|
193
|
-
toolExecution: z.ZodMiniEnum<{
|
|
194
|
-
"at-least-once": "at-least-once";
|
|
195
|
-
"exactly-once": "exactly-once";
|
|
196
|
-
}>;
|
|
197
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
198
|
-
warm: "warm";
|
|
199
|
-
"cold-seconds": "cold-seconds";
|
|
200
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
201
|
-
}>;
|
|
202
|
-
idleBilling: z.ZodMiniEnum<{
|
|
203
|
-
"wall-clock": "wall-clock";
|
|
204
|
-
zero: "zero";
|
|
205
|
-
}>;
|
|
206
|
-
}, z.core.$strict>;
|
|
207
|
-
computeBasis: z.ZodMiniEnum<{
|
|
208
|
-
wall_clock: "wall_clock";
|
|
209
|
-
microvm_running: "microvm_running";
|
|
210
|
-
}>;
|
|
211
|
-
}, z.core.$strict>;
|
|
212
|
-
lambda: z.ZodMiniObject<{
|
|
213
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
214
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
215
|
-
container: "container";
|
|
216
|
-
spot_container: "spot_container";
|
|
217
|
-
lambda: "lambda";
|
|
218
|
-
}>;
|
|
219
|
-
capabilities: z.ZodMiniObject<{
|
|
220
|
-
toolExecution: z.ZodMiniEnum<{
|
|
221
|
-
supported: "supported";
|
|
222
|
-
unsupported: "unsupported";
|
|
223
|
-
}>;
|
|
224
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
225
|
-
supported: "supported";
|
|
226
|
-
unsupported: "unsupported";
|
|
227
|
-
}>;
|
|
228
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
229
|
-
supported: "supported";
|
|
230
|
-
unsupported: "unsupported";
|
|
231
|
-
}>;
|
|
232
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
233
|
-
supported: "supported";
|
|
234
|
-
unsupported: "unsupported";
|
|
235
|
-
}>;
|
|
236
|
-
approvalGate: z.ZodMiniEnum<{
|
|
237
|
-
supported: "supported";
|
|
238
|
-
unsupported: "unsupported";
|
|
239
|
-
}>;
|
|
240
|
-
postHook: z.ZodMiniEnum<{
|
|
241
|
-
supported: "supported";
|
|
242
|
-
unsupported: "unsupported";
|
|
243
|
-
}>;
|
|
244
|
-
mcpTools: z.ZodMiniEnum<{
|
|
245
|
-
supported: "supported";
|
|
246
|
-
unsupported: "unsupported";
|
|
247
|
-
}>;
|
|
248
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
249
|
-
supported: "supported";
|
|
250
|
-
unsupported: "unsupported";
|
|
251
|
-
}>;
|
|
252
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
253
|
-
supported: "supported";
|
|
254
|
-
unsupported: "unsupported";
|
|
255
|
-
}>;
|
|
256
|
-
containedEgress: z.ZodMiniEnum<{
|
|
257
|
-
supported: "supported";
|
|
258
|
-
unsupported: "unsupported";
|
|
259
|
-
}>;
|
|
260
|
-
}, z.core.$strict>;
|
|
261
|
-
limits: z.ZodMiniObject<{
|
|
262
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
263
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
264
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
265
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
266
|
-
}, z.core.$strict>;
|
|
267
|
-
delivery: z.ZodMiniObject<{
|
|
268
|
-
toolExecution: z.ZodMiniEnum<{
|
|
269
|
-
"at-least-once": "at-least-once";
|
|
270
|
-
"exactly-once": "exactly-once";
|
|
271
|
-
}>;
|
|
272
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
273
|
-
warm: "warm";
|
|
274
|
-
"cold-seconds": "cold-seconds";
|
|
275
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
276
|
-
}>;
|
|
277
|
-
idleBilling: z.ZodMiniEnum<{
|
|
278
|
-
"wall-clock": "wall-clock";
|
|
279
|
-
zero: "zero";
|
|
280
|
-
}>;
|
|
281
|
-
}, z.core.$strict>;
|
|
282
|
-
computeBasis: z.ZodMiniEnum<{
|
|
283
|
-
wall_clock: "wall_clock";
|
|
284
|
-
microvm_running: "microvm_running";
|
|
285
|
-
}>;
|
|
286
|
-
}, z.core.$strict>;
|
|
287
|
-
}, z.core.$strict>;
|
|
288
|
-
}, z.core.$strict>;
|
|
289
|
-
/**
|
|
290
|
-
* Effective workspace limits, from the same read models admission uses.
|
|
291
|
-
*
|
|
292
|
-
* Every field is REQUIRED. The plan catalog is gone, and with it the optional
|
|
293
|
-
* `pastDueAt` / `graceEndsAt` pair that only existed while a subscription could
|
|
294
|
-
* be in arrears — prepaid credit cannot go negative, so there is no dunning
|
|
295
|
-
* state to report. What gates a submit now is the pair
|
|
296
|
-
* (`balanceUsd`, `llmTokenAllowanceRemainingUsd`), and `admissionState` says
|
|
297
|
-
* which of the three card-derived states produced the caps above it. A strict
|
|
298
|
-
* schema still expecting the retired fields fails C4 against the current server.
|
|
299
|
-
*
|
|
300
|
-
* `admissionState` is a CLOSED enum here — unlike an allowance `dimension`, the
|
|
301
|
-
* three admission states are public contract (`BillingAdmissionState`), not
|
|
302
|
-
* hosted policy, so the declared union and the wire assertion share one list.
|
|
303
|
-
*/
|
|
304
|
-
export declare const WhoAmILimitsSchema: z.ZodMiniObject<{
|
|
305
|
-
maxConcurrentSessions: z.ZodMiniNumber<number>;
|
|
306
|
-
submitRatePerMinute: z.ZodMiniNumber<number>;
|
|
307
|
-
spendCapUsd: z.ZodMiniNumber<number>;
|
|
308
|
-
monthSpendUsd: z.ZodMiniNumber<number>;
|
|
309
|
-
balanceUsd: z.ZodMiniNumber<number>;
|
|
310
|
-
balanceGraceFloorUsd: z.ZodMiniNumber<number>;
|
|
311
|
-
llmTokenAllowanceRemainingUsd: z.ZodMiniNumber<number>;
|
|
312
|
-
creditGateActive: z.ZodMiniBoolean<boolean>;
|
|
313
|
-
paymentMethodStatus: z.ZodMiniEnum<{
|
|
314
|
-
none: "none";
|
|
315
|
-
active: "active";
|
|
316
|
-
}>;
|
|
317
|
-
admissionState: z.ZodMiniEnum<{
|
|
318
|
-
free: "free";
|
|
319
|
-
carded_manual: "carded_manual";
|
|
320
|
-
carded_auto: "carded_auto";
|
|
321
|
-
}>;
|
|
322
|
-
autoTopupEnabled: z.ZodMiniBoolean<boolean>;
|
|
323
|
-
accountType: z.ZodMiniEnum<{
|
|
324
|
-
standard: "standard";
|
|
325
|
-
internal: "internal";
|
|
326
|
-
}>;
|
|
327
|
-
}, z.core.$strict>;
|
|
328
|
-
/** `GET /whoami` on the DATA plane (workspace API key). */
|
|
329
|
-
export declare const WhoAmIResponseSchema: z.ZodMiniObject<{
|
|
330
|
-
ok: z.ZodMiniLiteral<true>;
|
|
331
|
-
principalType: z.ZodMiniLiteral<"api_key">;
|
|
332
|
-
workspaceId: z.ZodMiniString<string>;
|
|
333
|
-
scopes: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
334
|
-
limits: z.ZodMiniObject<{
|
|
335
|
-
maxConcurrentSessions: z.ZodMiniNumber<number>;
|
|
336
|
-
submitRatePerMinute: z.ZodMiniNumber<number>;
|
|
337
|
-
spendCapUsd: z.ZodMiniNumber<number>;
|
|
338
|
-
monthSpendUsd: z.ZodMiniNumber<number>;
|
|
339
|
-
balanceUsd: z.ZodMiniNumber<number>;
|
|
340
|
-
balanceGraceFloorUsd: z.ZodMiniNumber<number>;
|
|
341
|
-
llmTokenAllowanceRemainingUsd: z.ZodMiniNumber<number>;
|
|
342
|
-
creditGateActive: z.ZodMiniBoolean<boolean>;
|
|
343
|
-
paymentMethodStatus: z.ZodMiniEnum<{
|
|
344
|
-
none: "none";
|
|
345
|
-
active: "active";
|
|
346
|
-
}>;
|
|
347
|
-
admissionState: z.ZodMiniEnum<{
|
|
348
|
-
free: "free";
|
|
349
|
-
carded_manual: "carded_manual";
|
|
350
|
-
carded_auto: "carded_auto";
|
|
351
|
-
}>;
|
|
352
|
-
autoTopupEnabled: z.ZodMiniBoolean<boolean>;
|
|
353
|
-
accountType: z.ZodMiniEnum<{
|
|
354
|
-
standard: "standard";
|
|
355
|
-
internal: "internal";
|
|
356
|
-
}>;
|
|
357
|
-
}, z.core.$strict>;
|
|
358
|
-
runtimeCapabilities: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
359
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
360
|
-
capabilityVersion: z.ZodMiniString<string>;
|
|
361
|
-
capabilityHash: z.ZodMiniString<string>;
|
|
362
|
-
availableRuntimeKinds: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
363
|
-
container: "container";
|
|
364
|
-
spot_container: "spot_container";
|
|
365
|
-
lambda: "lambda";
|
|
366
|
-
}>>;
|
|
367
|
-
sizesByRuntimeKind: z.ZodMiniObject<{
|
|
368
|
-
container: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
369
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
370
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
371
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
372
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
373
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
374
|
-
}>>>;
|
|
375
|
-
spot_container: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
376
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
377
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
378
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
379
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
380
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
381
|
-
}>>>;
|
|
382
|
-
lambda: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
383
|
-
"0.25cpu-1gb": "0.25cpu-1gb";
|
|
384
|
-
"0.5cpu-4gb": "0.5cpu-4gb";
|
|
385
|
-
"1cpu-6gb": "1cpu-6gb";
|
|
386
|
-
"2cpu-8gb": "2cpu-8gb";
|
|
387
|
-
"4cpu-12gb": "4cpu-12gb";
|
|
388
|
-
}>>>;
|
|
389
|
-
}, z.core.$strict>;
|
|
390
|
-
unavailable: z.ZodMiniObject<{
|
|
391
|
-
container: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
392
|
-
code: z.ZodMiniString<string>;
|
|
393
|
-
}, z.core.$strict>>;
|
|
394
|
-
spot_container: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
395
|
-
code: z.ZodMiniString<string>;
|
|
396
|
-
}, z.core.$strict>>;
|
|
397
|
-
lambda: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
398
|
-
code: z.ZodMiniString<string>;
|
|
399
|
-
}, z.core.$strict>>;
|
|
400
|
-
}, z.core.$strict>;
|
|
401
|
-
profilesByRuntimeKind: z.ZodMiniObject<{
|
|
402
|
-
container: z.ZodMiniObject<{
|
|
403
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
404
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
405
|
-
container: "container";
|
|
406
|
-
spot_container: "spot_container";
|
|
407
|
-
lambda: "lambda";
|
|
408
|
-
}>;
|
|
409
|
-
capabilities: z.ZodMiniObject<{
|
|
410
|
-
toolExecution: z.ZodMiniEnum<{
|
|
411
|
-
supported: "supported";
|
|
412
|
-
unsupported: "unsupported";
|
|
413
|
-
}>;
|
|
414
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
415
|
-
supported: "supported";
|
|
416
|
-
unsupported: "unsupported";
|
|
417
|
-
}>;
|
|
418
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
419
|
-
supported: "supported";
|
|
420
|
-
unsupported: "unsupported";
|
|
421
|
-
}>;
|
|
422
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
423
|
-
supported: "supported";
|
|
424
|
-
unsupported: "unsupported";
|
|
425
|
-
}>;
|
|
426
|
-
approvalGate: z.ZodMiniEnum<{
|
|
427
|
-
supported: "supported";
|
|
428
|
-
unsupported: "unsupported";
|
|
429
|
-
}>;
|
|
430
|
-
postHook: z.ZodMiniEnum<{
|
|
431
|
-
supported: "supported";
|
|
432
|
-
unsupported: "unsupported";
|
|
433
|
-
}>;
|
|
434
|
-
mcpTools: z.ZodMiniEnum<{
|
|
435
|
-
supported: "supported";
|
|
436
|
-
unsupported: "unsupported";
|
|
437
|
-
}>;
|
|
438
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
439
|
-
supported: "supported";
|
|
440
|
-
unsupported: "unsupported";
|
|
441
|
-
}>;
|
|
442
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
443
|
-
supported: "supported";
|
|
444
|
-
unsupported: "unsupported";
|
|
445
|
-
}>;
|
|
446
|
-
containedEgress: z.ZodMiniEnum<{
|
|
447
|
-
supported: "supported";
|
|
448
|
-
unsupported: "unsupported";
|
|
449
|
-
}>;
|
|
450
|
-
}, z.core.$strict>;
|
|
451
|
-
limits: z.ZodMiniObject<{
|
|
452
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
453
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
454
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
455
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
456
|
-
}, z.core.$strict>;
|
|
457
|
-
delivery: z.ZodMiniObject<{
|
|
458
|
-
toolExecution: z.ZodMiniEnum<{
|
|
459
|
-
"at-least-once": "at-least-once";
|
|
460
|
-
"exactly-once": "exactly-once";
|
|
461
|
-
}>;
|
|
462
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
463
|
-
warm: "warm";
|
|
464
|
-
"cold-seconds": "cold-seconds";
|
|
465
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
466
|
-
}>;
|
|
467
|
-
idleBilling: z.ZodMiniEnum<{
|
|
468
|
-
"wall-clock": "wall-clock";
|
|
469
|
-
zero: "zero";
|
|
470
|
-
}>;
|
|
471
|
-
}, z.core.$strict>;
|
|
472
|
-
computeBasis: z.ZodMiniEnum<{
|
|
473
|
-
wall_clock: "wall_clock";
|
|
474
|
-
microvm_running: "microvm_running";
|
|
475
|
-
}>;
|
|
476
|
-
}, z.core.$strict>;
|
|
477
|
-
spot_container: z.ZodMiniObject<{
|
|
478
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
479
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
480
|
-
container: "container";
|
|
481
|
-
spot_container: "spot_container";
|
|
482
|
-
lambda: "lambda";
|
|
483
|
-
}>;
|
|
484
|
-
capabilities: z.ZodMiniObject<{
|
|
485
|
-
toolExecution: z.ZodMiniEnum<{
|
|
486
|
-
supported: "supported";
|
|
487
|
-
unsupported: "unsupported";
|
|
488
|
-
}>;
|
|
489
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
490
|
-
supported: "supported";
|
|
491
|
-
unsupported: "unsupported";
|
|
492
|
-
}>;
|
|
493
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
494
|
-
supported: "supported";
|
|
495
|
-
unsupported: "unsupported";
|
|
496
|
-
}>;
|
|
497
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
498
|
-
supported: "supported";
|
|
499
|
-
unsupported: "unsupported";
|
|
500
|
-
}>;
|
|
501
|
-
approvalGate: z.ZodMiniEnum<{
|
|
502
|
-
supported: "supported";
|
|
503
|
-
unsupported: "unsupported";
|
|
504
|
-
}>;
|
|
505
|
-
postHook: z.ZodMiniEnum<{
|
|
506
|
-
supported: "supported";
|
|
507
|
-
unsupported: "unsupported";
|
|
508
|
-
}>;
|
|
509
|
-
mcpTools: z.ZodMiniEnum<{
|
|
510
|
-
supported: "supported";
|
|
511
|
-
unsupported: "unsupported";
|
|
512
|
-
}>;
|
|
513
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
514
|
-
supported: "supported";
|
|
515
|
-
unsupported: "unsupported";
|
|
516
|
-
}>;
|
|
517
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
518
|
-
supported: "supported";
|
|
519
|
-
unsupported: "unsupported";
|
|
520
|
-
}>;
|
|
521
|
-
containedEgress: z.ZodMiniEnum<{
|
|
522
|
-
supported: "supported";
|
|
523
|
-
unsupported: "unsupported";
|
|
524
|
-
}>;
|
|
525
|
-
}, z.core.$strict>;
|
|
526
|
-
limits: z.ZodMiniObject<{
|
|
527
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
528
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
529
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
530
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
531
|
-
}, z.core.$strict>;
|
|
532
|
-
delivery: z.ZodMiniObject<{
|
|
533
|
-
toolExecution: z.ZodMiniEnum<{
|
|
534
|
-
"at-least-once": "at-least-once";
|
|
535
|
-
"exactly-once": "exactly-once";
|
|
536
|
-
}>;
|
|
537
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
538
|
-
warm: "warm";
|
|
539
|
-
"cold-seconds": "cold-seconds";
|
|
540
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
541
|
-
}>;
|
|
542
|
-
idleBilling: z.ZodMiniEnum<{
|
|
543
|
-
"wall-clock": "wall-clock";
|
|
544
|
-
zero: "zero";
|
|
545
|
-
}>;
|
|
546
|
-
}, z.core.$strict>;
|
|
547
|
-
computeBasis: z.ZodMiniEnum<{
|
|
548
|
-
wall_clock: "wall_clock";
|
|
549
|
-
microvm_running: "microvm_running";
|
|
550
|
-
}>;
|
|
551
|
-
}, z.core.$strict>;
|
|
552
|
-
lambda: z.ZodMiniObject<{
|
|
553
|
-
schemaVersion: z.ZodMiniLiteral<1>;
|
|
554
|
-
runtimeKind: z.ZodMiniEnum<{
|
|
555
|
-
container: "container";
|
|
556
|
-
spot_container: "spot_container";
|
|
557
|
-
lambda: "lambda";
|
|
558
|
-
}>;
|
|
559
|
-
capabilities: z.ZodMiniObject<{
|
|
560
|
-
toolExecution: z.ZodMiniEnum<{
|
|
561
|
-
supported: "supported";
|
|
562
|
-
unsupported: "unsupported";
|
|
563
|
-
}>;
|
|
564
|
-
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
565
|
-
supported: "supported";
|
|
566
|
-
unsupported: "unsupported";
|
|
567
|
-
}>;
|
|
568
|
-
workspaceFileCapture: z.ZodMiniEnum<{
|
|
569
|
-
supported: "supported";
|
|
570
|
-
unsupported: "unsupported";
|
|
571
|
-
}>;
|
|
572
|
-
streamingDeltas: z.ZodMiniEnum<{
|
|
573
|
-
supported: "supported";
|
|
574
|
-
unsupported: "unsupported";
|
|
575
|
-
}>;
|
|
576
|
-
approvalGate: z.ZodMiniEnum<{
|
|
577
|
-
supported: "supported";
|
|
578
|
-
unsupported: "unsupported";
|
|
579
|
-
}>;
|
|
580
|
-
postHook: z.ZodMiniEnum<{
|
|
581
|
-
supported: "supported";
|
|
582
|
-
unsupported: "unsupported";
|
|
583
|
-
}>;
|
|
584
|
-
mcpTools: z.ZodMiniEnum<{
|
|
585
|
-
supported: "supported";
|
|
586
|
-
unsupported: "unsupported";
|
|
587
|
-
}>;
|
|
588
|
-
scheduledWait: z.ZodMiniEnum<{
|
|
589
|
-
supported: "supported";
|
|
590
|
-
unsupported: "unsupported";
|
|
591
|
-
}>;
|
|
592
|
-
customerSecrets: z.ZodMiniEnum<{
|
|
593
|
-
supported: "supported";
|
|
594
|
-
unsupported: "unsupported";
|
|
595
|
-
}>;
|
|
596
|
-
containedEgress: z.ZodMiniEnum<{
|
|
597
|
-
supported: "supported";
|
|
598
|
-
unsupported: "unsupported";
|
|
599
|
-
}>;
|
|
600
|
-
}, z.core.$strict>;
|
|
601
|
-
limits: z.ZodMiniObject<{
|
|
602
|
-
maxSessionMs: z.ZodMiniNumber<number>;
|
|
603
|
-
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
604
|
-
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
605
|
-
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
606
|
-
}, z.core.$strict>;
|
|
607
|
-
delivery: z.ZodMiniObject<{
|
|
608
|
-
toolExecution: z.ZodMiniEnum<{
|
|
609
|
-
"at-least-once": "at-least-once";
|
|
610
|
-
"exactly-once": "exactly-once";
|
|
611
|
-
}>;
|
|
612
|
-
coldStartClass: z.ZodMiniEnum<{
|
|
613
|
-
warm: "warm";
|
|
614
|
-
"cold-seconds": "cold-seconds";
|
|
615
|
-
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
616
|
-
}>;
|
|
617
|
-
idleBilling: z.ZodMiniEnum<{
|
|
618
|
-
"wall-clock": "wall-clock";
|
|
619
|
-
zero: "zero";
|
|
620
|
-
}>;
|
|
621
|
-
}, z.core.$strict>;
|
|
622
|
-
computeBasis: z.ZodMiniEnum<{
|
|
623
|
-
wall_clock: "wall_clock";
|
|
624
|
-
microvm_running: "microvm_running";
|
|
625
|
-
}>;
|
|
626
|
-
}, z.core.$strict>;
|
|
627
|
-
}, z.core.$strict>;
|
|
628
|
-
}, z.core.$strict>>;
|
|
629
|
-
}, z.core.$strict>;
|
|
630
|
-
/**
|
|
631
|
-
* `GET /whoami` on the CONTROL plane (account PAT / device session).
|
|
632
|
-
*
|
|
633
|
-
* Not bound to a data-plane route: `api-routes.ts` describes the data plane, and
|
|
634
|
-
* the control plane has no route table in this package yet. Declared so the
|
|
635
|
-
* shape has one statement, and so a control-plane binding table can be built
|
|
636
|
-
* without re-deriving it.
|
|
637
|
-
*/
|
|
638
|
-
export declare const AccountWhoAmIResponseSchema: z.ZodMiniObject<{
|
|
639
|
-
ok: z.ZodMiniLiteral<true>;
|
|
640
|
-
principalType: z.ZodMiniLiteral<"account_token">;
|
|
641
|
-
appUserId: z.ZodMiniString<string>;
|
|
642
|
-
scopes: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
643
|
-
orgId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
644
|
-
tokenId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
645
|
-
tokenName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
646
|
-
tokenKind: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
647
|
-
}, z.core.$strict>;
|
|
648
|
-
export type WhoAmIResponse = z.infer<typeof WhoAmIResponseSchema>;
|