@nylorun/runtime 0.24.0-beta → 0.25.0-beta
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/CHANGELOG.md +104 -0
- package/README.md +10 -2
- package/dist/api/a2a/card.d.ts +11 -1
- package/dist/api/a2a/card.js +26 -2
- package/dist/api/a2a/endpoint.js +4 -2
- package/dist/api/a2a/protocol.d.ts +25 -2
- package/dist/api/a2a/protocol.js +20 -3
- package/dist/api/a2a/routes.d.ts +4 -1
- package/dist/api/a2a/routes.js +65 -7
- package/dist/api/ag-ui/endpoint.js +5 -2
- package/dist/api/ag-ui/history.d.ts +6 -1
- package/dist/api/ag-ui/history.js +35 -2
- package/dist/api/ag-ui/routes.js +53 -11
- package/dist/api/components.d.ts +1165 -678
- package/dist/api/components.js +16 -1
- package/dist/api/gate/keys.d.ts +2 -1
- package/dist/api/gate/keys.js +7 -0
- package/dist/api/gate/routes.js +13 -0
- package/dist/api/http/app.js +13 -2
- package/dist/api/http/body.d.ts +3 -3
- package/dist/api/http/body.js +7 -7
- package/dist/api/http/routes/environment-manifests.d.ts +9 -0
- package/dist/api/http/routes/environment-manifests.js +118 -0
- package/dist/api/http/routes/environments.js +61 -12
- package/dist/api/http/routes/reads.d.ts +52 -3
- package/dist/api/http/routes/sessions.js +13 -3
- package/dist/api/http/routes/tenant.js +35 -7
- package/dist/api/inbound-files.d.ts +65 -0
- package/dist/api/inbound-files.js +115 -0
- package/dist/api/openapi.js +18 -3
- package/dist/artifacts/disk.js +20 -14
- package/dist/artifacts/media-types.d.ts +15 -0
- package/dist/artifacts/media-types.js +56 -4
- package/dist/artifacts/parts.d.ts +12 -3
- package/dist/artifacts/parts.js +15 -4
- package/dist/artifacts/workspace.d.ts +4 -4
- package/dist/artifacts/workspace.js +6 -18
- package/dist/core/flow-host.d.ts +1 -1
- package/dist/core/flow-host.js +2 -2
- package/dist/core/sandbox-routes.js +2 -2
- package/dist/core/turn-manifest.d.ts +3 -2
- package/dist/core/turn-manifest.js +29 -5
- package/dist/gates/egress-credentials.js +1 -1
- package/dist/gates/egress.d.ts +13 -19
- package/dist/gates/egress.js +30 -29
- package/dist/gates/http-tool.d.ts +3 -4
- package/dist/gates/http-tool.js +8 -12
- package/dist/gates/journal.js +0 -1
- package/dist/gates/mcp-handler.js +2 -3
- package/dist/gates/policy.js +1 -3
- package/dist/gates/tool-contract.d.ts +1 -1
- package/dist/harness/calls.d.ts +2 -2
- package/dist/harness/calls.js +9 -12
- package/dist/harness/main.js +7 -1
- package/dist/harness/pod.d.ts +6 -1
- package/dist/harness/pod.js +5 -0
- package/dist/harness/service.js +5 -5
- package/dist/harness/setup.d.ts +2 -0
- package/dist/harness/setup.js +25 -1
- package/dist/harness-api/record.d.ts +1 -1
- package/dist/harness-api/record.js +13 -13
- package/dist/harness-api/server.d.ts +27 -4
- package/dist/harness-api/server.js +41 -8
- package/dist/harness-api/tool-journal.d.ts +17 -8
- package/dist/harness-api/tool-journal.js +41 -11
- package/dist/harness-api/workspace.d.ts +7 -5
- package/dist/harness-api/workspace.js +25 -19
- package/dist/host/gates.js +2 -2
- package/dist/host/stack-config.js +1 -1
- package/dist/keys/keys.d.ts +9 -2
- package/dist/keys/keys.js +4 -1
- package/dist/management-openapi.json +366 -61
- package/dist/mcp/connect.d.ts +1 -2
- package/dist/mcp/connect.js +1 -4
- package/dist/mcp/pool.d.ts +1 -4
- package/dist/mcp/pool.js +13 -27
- package/dist/mcp/preview.js +0 -1
- package/dist/mcp/snapshot.d.ts +11 -13
- package/dist/mcp/snapshot.js +27 -38
- package/dist/model/capabilities.d.ts +26 -0
- package/dist/model/capabilities.js +44 -0
- package/dist/model/catalog.d.ts +34 -3
- package/dist/model/catalog.js +38 -2
- package/dist/model/models.d.ts +2 -0
- package/dist/model/models.js +1 -1
- package/dist/model/native-blocks.d.ts +35 -0
- package/dist/model/native-blocks.js +170 -0
- package/dist/model/pi-model.js +106 -94
- package/dist/openapi.json +9554 -5104
- package/dist/record/environment.js +1 -1
- package/dist/sandbox/join.js +4 -0
- package/dist/sandbox/manager.d.ts +32 -14
- package/dist/sandbox/manager.js +132 -93
- package/dist/sandbox/placement.d.ts +1 -1
- package/dist/sandbox/placement.js +2 -2
- package/dist/sandbox/pods/client.d.ts +3 -1
- package/dist/sandbox/pods/lifecycle.d.ts +8 -0
- package/dist/sandbox/pods/lifecycle.js +15 -0
- package/dist/sandbox/pods/spec.js +2 -1
- package/dist/sandbox/resolve.d.ts +5 -3
- package/dist/sandbox/resolve.js +9 -2
- package/dist/sandbox/runtime-tools.d.ts +9 -0
- package/dist/sandbox/runtime-tools.js +16 -0
- package/dist/sandbox/session-sandbox.d.ts +4 -6
- package/dist/sandbox/session-sandbox.js +47 -94
- package/dist/sandbox/setup.d.ts +4 -1
- package/dist/sandbox/setup.js +46 -9
- package/dist/sandbox/share.d.ts +12 -7
- package/dist/sandbox/share.js +27 -25
- package/dist/sandbox/skills.d.ts +8 -6
- package/dist/sandbox/skills.js +24 -23
- package/dist/store/postgres/drizzle/0024_flat_manifest.sql +7 -0
- package/dist/store/postgres/drizzle/0025_environment_manifests.sql +14 -0
- package/dist/store/postgres/drizzle/0026_environment_forks.sql +1 -0
- package/dist/store/postgres/drizzle/0027_environment_image_digest.sql +1 -0
- package/dist/store/postgres/drizzle/meta/_journal.json +28 -0
- package/dist/store/postgres/reads.js +8 -2
- package/dist/store/postgres/schema.d.ts +217 -0
- package/dist/store/postgres/schema.js +36 -2
- package/dist/store/postgres/store.js +79 -4
- package/dist/store/types.d.ts +68 -14
- package/dist/tenant/advance.js +3 -0
- package/dist/tenant/artifact-tool.d.ts +1 -1
- package/dist/tenant/artifact-tool.js +43 -22
- package/dist/tenant/commands.js +24 -4
- package/dist/tenant/context.d.ts +10 -4
- package/dist/tenant/effects.js +7 -9
- package/dist/tenant/environment-manifests.d.ts +57 -0
- package/dist/tenant/environment-manifests.js +200 -0
- package/dist/tenant/environments.d.ts +54 -47
- package/dist/tenant/environments.js +304 -83
- package/dist/tenant/model-setting.d.ts +14 -0
- package/dist/tenant/model-setting.js +51 -0
- package/dist/tenant/sessions.d.ts +5 -1
- package/dist/tenant/sessions.js +45 -12
- package/dist/tenant/skill-tool.d.ts +3 -3
- package/dist/tenant/skill-tool.js +6 -11
- package/dist/tenant/sweep.js +1 -1
- package/dist/tenant/tool-results.js +1 -1
- package/dist/tenant/tool-search.d.ts +7 -11
- package/dist/tenant/tool-search.js +8 -5
- package/dist/tenant/transcript.d.ts +51 -32
- package/dist/tenant/transcript.js +2 -1
- package/dist/traces/ids.d.ts +0 -1
- package/dist/traces/ids.js +0 -4
- package/dist/traces/map.d.ts +2 -2
- package/dist/traces/map.js +1 -29
- package/dist/vault/coverage.js +11 -13
- package/dist/vault/host-model.d.ts +4 -1
- package/dist/vault/host-model.js +10 -2
- package/dist/vault/service.d.ts +49 -4
- package/dist/vault/service.js +153 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/sandbox/capability.d.ts +0 -3
- package/dist/sandbox/capability.js +0 -10
package/dist/api/components.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { type EventType } from "@nylorun/core/contracts";
|
|
|
9
9
|
export declare const Rejected: z.ZodObject<{
|
|
10
10
|
status: z.ZodLiteral<"rejected">;
|
|
11
11
|
code: z.ZodEnum<{
|
|
12
|
+
attachment_unsupported: "attachment_unsupported";
|
|
12
13
|
connection_missing: "connection_missing";
|
|
13
14
|
credential_conflict: "credential_conflict";
|
|
14
15
|
credential_invalid: "credential_invalid";
|
|
@@ -16,10 +17,12 @@ export declare const Rejected: z.ZodObject<{
|
|
|
16
17
|
credential_required: "credential_required";
|
|
17
18
|
definition_files_missing: "definition_files_missing";
|
|
18
19
|
environment_busy: "environment_busy";
|
|
20
|
+
environment_immutable: "environment_immutable";
|
|
19
21
|
environment_lost: "environment_lost";
|
|
20
22
|
environment_not_granted: "environment_not_granted";
|
|
21
23
|
environment_owner_mismatch: "environment_owner_mismatch";
|
|
22
24
|
environment_unavailable: "environment_unavailable";
|
|
25
|
+
environment_unsuitable: "environment_unsuitable";
|
|
23
26
|
harness_mismatch: "harness_mismatch";
|
|
24
27
|
host_rejected: "host_rejected";
|
|
25
28
|
incompatible_host: "incompatible_host";
|
|
@@ -28,6 +31,9 @@ export declare const Rejected: z.ZodObject<{
|
|
|
28
31
|
issuer_unavailable: "issuer_unavailable";
|
|
29
32
|
key_role_mismatch: "key_role_mismatch";
|
|
30
33
|
limit_exceeded: "limit_exceeded";
|
|
34
|
+
manifest_changed: "manifest_changed";
|
|
35
|
+
manifest_in_use: "manifest_in_use";
|
|
36
|
+
manifest_not_found: "manifest_not_found";
|
|
31
37
|
mcp_preview_failed: "mcp_preview_failed";
|
|
32
38
|
not_found: "not_found";
|
|
33
39
|
origin_rejected: "origin_rejected";
|
|
@@ -35,6 +41,7 @@ export declare const Rejected: z.ZodObject<{
|
|
|
35
41
|
protocol_unsupported: "protocol_unsupported";
|
|
36
42
|
request_rejected: "request_rejected";
|
|
37
43
|
scope_required: "scope_required";
|
|
44
|
+
secret_not_in_manifest: "secret_not_in_manifest";
|
|
38
45
|
session_closed: "session_closed";
|
|
39
46
|
subject_invalid: "subject_invalid";
|
|
40
47
|
subject_required: "subject_required";
|
|
@@ -88,6 +95,7 @@ export declare const SandboxToolOutcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
88
95
|
}, z.core.$strict>], "kind">;
|
|
89
96
|
export declare const PutEnvironmentRequest: z.ZodObject<{
|
|
90
97
|
requestId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
manifest: z.ZodOptional<z.ZodString>;
|
|
91
99
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
92
100
|
none: "none";
|
|
93
101
|
pod: "pod";
|
|
@@ -114,11 +122,46 @@ export declare const PutEnvironmentRequest: z.ZodObject<{
|
|
|
114
122
|
cwd: z.ZodOptional<z.ZodString>;
|
|
115
123
|
timeout: z.ZodOptional<z.ZodString>;
|
|
116
124
|
}, z.core.$strict>>>;
|
|
117
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
118
126
|
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
119
127
|
version: z.ZodNumber;
|
|
120
128
|
path: z.ZodString;
|
|
121
|
-
}, z.core.$strict
|
|
129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
130
|
+
path: z.ZodString;
|
|
131
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
132
|
+
}, z.core.$strict>]>>>;
|
|
133
|
+
secrets: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
134
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
description: z.ZodOptional<z.ZodString>;
|
|
136
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
137
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
138
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
header: z.ZodString;
|
|
140
|
+
format: z.ZodString;
|
|
141
|
+
}, z.core.$strict>>;
|
|
142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
143
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
description: z.ZodOptional<z.ZodString>;
|
|
145
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
via: z.ZodOptional<z.ZodString>;
|
|
148
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
header: z.ZodString;
|
|
150
|
+
}, z.core.$strict>>;
|
|
151
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
153
|
+
type: z.ZodLiteral<"bearer">;
|
|
154
|
+
url: z.ZodString;
|
|
155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
156
|
+
via: z.ZodOptional<z.ZodString>;
|
|
157
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
header: z.ZodString;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
162
|
+
type: z.ZodLiteral<"headers">;
|
|
163
|
+
url: z.ZodString;
|
|
164
|
+
}, z.core.$strict>], "type">>>>;
|
|
122
165
|
from: z.ZodOptional<z.ZodObject<{
|
|
123
166
|
environment: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
124
167
|
version: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"latest">]>;
|
|
@@ -132,7 +175,7 @@ export declare const EnvironmentView: z.ZodObject<{
|
|
|
132
175
|
virtual: "virtual";
|
|
133
176
|
}>;
|
|
134
177
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
135
|
-
|
|
178
|
+
manifest: z.ZodObject<{
|
|
136
179
|
image: z.ZodOptional<z.ZodString>;
|
|
137
180
|
resources: z.ZodOptional<z.ZodObject<{
|
|
138
181
|
cpus: z.ZodNumber;
|
|
@@ -152,12 +195,60 @@ export declare const EnvironmentView: z.ZodObject<{
|
|
|
152
195
|
cwd: z.ZodOptional<z.ZodString>;
|
|
153
196
|
timeout: z.ZodOptional<z.ZodString>;
|
|
154
197
|
}, z.core.$strict>>>;
|
|
155
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
156
199
|
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
157
200
|
version: z.ZodNumber;
|
|
158
201
|
path: z.ZodString;
|
|
159
|
-
}, z.core.$strict
|
|
202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
203
|
+
path: z.ZodString;
|
|
204
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
205
|
+
}, z.core.$strict>]>>>;
|
|
206
|
+
secrets: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
207
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
description: z.ZodOptional<z.ZodString>;
|
|
209
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
210
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
211
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
header: z.ZodString;
|
|
213
|
+
format: z.ZodString;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
216
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
description: z.ZodOptional<z.ZodString>;
|
|
218
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
220
|
+
via: z.ZodOptional<z.ZodString>;
|
|
221
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
header: z.ZodString;
|
|
223
|
+
}, z.core.$strict>>;
|
|
224
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
+
description: z.ZodOptional<z.ZodString>;
|
|
226
|
+
type: z.ZodLiteral<"bearer">;
|
|
227
|
+
url: z.ZodString;
|
|
228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
229
|
+
via: z.ZodOptional<z.ZodString>;
|
|
230
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
header: z.ZodString;
|
|
232
|
+
}, z.core.$strict>>;
|
|
233
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
description: z.ZodOptional<z.ZodString>;
|
|
235
|
+
type: z.ZodLiteral<"headers">;
|
|
236
|
+
url: z.ZodString;
|
|
237
|
+
}, z.core.$strict>], "type">>>>;
|
|
160
238
|
}, z.core.$strict>;
|
|
239
|
+
manifestName: z.ZodOptional<z.ZodString>;
|
|
240
|
+
manifestVersion: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
242
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
environment: z.ZodString;
|
|
244
|
+
disk: z.ZodNullable<z.ZodNumber>;
|
|
245
|
+
}, z.core.$strict>>;
|
|
246
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
type: z.ZodString;
|
|
249
|
+
required: z.ZodBoolean;
|
|
250
|
+
set: z.ZodBoolean;
|
|
251
|
+
}, z.core.$strict>>>;
|
|
161
252
|
version: z.ZodNumber;
|
|
162
253
|
appliedVersion: z.ZodNumber;
|
|
163
254
|
ownerUserId: z.ZodNullable<z.ZodString>;
|
|
@@ -179,6 +270,7 @@ export declare const EnvironmentView: z.ZodObject<{
|
|
|
179
270
|
volumeGeneration: z.ZodNumber;
|
|
180
271
|
hostEpoch: z.ZodNumber;
|
|
181
272
|
reason: z.ZodOptional<z.ZodString>;
|
|
273
|
+
imageDigest: z.ZodOptional<z.ZodString>;
|
|
182
274
|
}, z.core.$strict>>;
|
|
183
275
|
lastUsedAt: z.ZodString;
|
|
184
276
|
disk: z.ZodOptional<z.ZodObject<{
|
|
@@ -195,36 +287,712 @@ export declare const EnvironmentView: z.ZodObject<{
|
|
|
195
287
|
}, z.core.$strict>>;
|
|
196
288
|
sessions: z.ZodArray<z.ZodObject<{
|
|
197
289
|
id: z.ZodString;
|
|
198
|
-
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
199
|
-
}, z.core.$strict>>;
|
|
200
|
-
createdAt: z.ZodString;
|
|
201
|
-
updatedAt: z.ZodString;
|
|
202
|
-
}, z.core.$strict>;
|
|
203
|
-
export declare const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
290
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
createdAt: z.ZodString;
|
|
293
|
+
updatedAt: z.ZodString;
|
|
294
|
+
}, z.core.$strict>;
|
|
295
|
+
export declare const EnvironmentSecretSlots: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
296
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
+
description: z.ZodOptional<z.ZodString>;
|
|
298
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
299
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
300
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
header: z.ZodString;
|
|
302
|
+
format: z.ZodString;
|
|
303
|
+
}, z.core.$strict>>;
|
|
304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
305
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
+
description: z.ZodOptional<z.ZodString>;
|
|
307
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
308
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
309
|
+
via: z.ZodOptional<z.ZodString>;
|
|
310
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
header: z.ZodString;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
315
|
+
type: z.ZodLiteral<"bearer">;
|
|
316
|
+
url: z.ZodString;
|
|
317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
318
|
+
via: z.ZodOptional<z.ZodString>;
|
|
319
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
header: z.ZodString;
|
|
321
|
+
}, z.core.$strict>>;
|
|
322
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
+
description: z.ZodOptional<z.ZodString>;
|
|
324
|
+
type: z.ZodLiteral<"headers">;
|
|
325
|
+
url: z.ZodString;
|
|
326
|
+
}, z.core.$strict>], "type">>;
|
|
327
|
+
export declare const EnvironmentManifest: z.ZodObject<{
|
|
328
|
+
manifestSchemaVersion: z.ZodLiteral<1>;
|
|
329
|
+
name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
330
|
+
description: z.ZodOptional<z.ZodString>;
|
|
331
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
none: "none";
|
|
333
|
+
pod: "pod";
|
|
334
|
+
virtual: "virtual";
|
|
335
|
+
}>>;
|
|
336
|
+
image: z.ZodOptional<z.ZodString>;
|
|
337
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strict>>;
|
|
341
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
342
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
344
|
+
}, z.core.$strict>>;
|
|
345
|
+
harness: z.ZodOptional<z.ZodString>;
|
|
346
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
347
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
348
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strict>>;
|
|
350
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
|
+
command: z.ZodString;
|
|
352
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
353
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.core.$strict>>>;
|
|
355
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
356
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
357
|
+
version: z.ZodNumber;
|
|
358
|
+
path: z.ZodString;
|
|
359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
362
|
+
}, z.core.$strict>]>>>;
|
|
363
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
364
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
366
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
367
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
368
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
header: z.ZodString;
|
|
370
|
+
format: z.ZodString;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
373
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
374
|
+
description: z.ZodOptional<z.ZodString>;
|
|
375
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
377
|
+
via: z.ZodOptional<z.ZodString>;
|
|
378
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
header: z.ZodString;
|
|
380
|
+
}, z.core.$strict>>;
|
|
381
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
description: z.ZodOptional<z.ZodString>;
|
|
383
|
+
type: z.ZodLiteral<"bearer">;
|
|
384
|
+
url: z.ZodString;
|
|
385
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
386
|
+
via: z.ZodOptional<z.ZodString>;
|
|
387
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
header: z.ZodString;
|
|
389
|
+
}, z.core.$strict>>;
|
|
390
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
+
description: z.ZodOptional<z.ZodString>;
|
|
392
|
+
type: z.ZodLiteral<"headers">;
|
|
393
|
+
url: z.ZodString;
|
|
394
|
+
}, z.core.$strict>], "type">>>;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
export declare const PutEnvironmentManifestRequest: z.ZodObject<{
|
|
397
|
+
manifestSchemaVersion: z.ZodLiteral<1>;
|
|
398
|
+
name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
399
|
+
description: z.ZodOptional<z.ZodString>;
|
|
400
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
401
|
+
none: "none";
|
|
402
|
+
pod: "pod";
|
|
403
|
+
virtual: "virtual";
|
|
404
|
+
}>>;
|
|
405
|
+
image: z.ZodOptional<z.ZodString>;
|
|
406
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
407
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
411
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
413
|
+
}, z.core.$strict>>;
|
|
414
|
+
harness: z.ZodOptional<z.ZodString>;
|
|
415
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
416
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
417
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, z.core.$strict>>;
|
|
419
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
|
+
command: z.ZodString;
|
|
421
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
422
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$strict>>>;
|
|
424
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
425
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
426
|
+
version: z.ZodNumber;
|
|
427
|
+
path: z.ZodString;
|
|
428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
429
|
+
path: z.ZodString;
|
|
430
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
431
|
+
}, z.core.$strict>]>>>;
|
|
432
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
433
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
description: z.ZodOptional<z.ZodString>;
|
|
435
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
436
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
437
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
header: z.ZodString;
|
|
439
|
+
format: z.ZodString;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
442
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
443
|
+
description: z.ZodOptional<z.ZodString>;
|
|
444
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
446
|
+
via: z.ZodOptional<z.ZodString>;
|
|
447
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
header: z.ZodString;
|
|
449
|
+
}, z.core.$strict>>;
|
|
450
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
452
|
+
type: z.ZodLiteral<"bearer">;
|
|
453
|
+
url: z.ZodString;
|
|
454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
455
|
+
via: z.ZodOptional<z.ZodString>;
|
|
456
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
457
|
+
header: z.ZodString;
|
|
458
|
+
}, z.core.$strict>>;
|
|
459
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
description: z.ZodOptional<z.ZodString>;
|
|
461
|
+
type: z.ZodLiteral<"headers">;
|
|
462
|
+
url: z.ZodString;
|
|
463
|
+
}, z.core.$strict>], "type">>>;
|
|
464
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
export declare const EnvironmentManifestView: z.ZodObject<{
|
|
467
|
+
name: z.ZodString;
|
|
468
|
+
version: z.ZodNumber;
|
|
469
|
+
hash: z.ZodString;
|
|
470
|
+
manifest: z.ZodObject<{
|
|
471
|
+
manifestSchemaVersion: z.ZodLiteral<1>;
|
|
472
|
+
name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
473
|
+
description: z.ZodOptional<z.ZodString>;
|
|
474
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
475
|
+
none: "none";
|
|
476
|
+
pod: "pod";
|
|
477
|
+
virtual: "virtual";
|
|
478
|
+
}>>;
|
|
479
|
+
image: z.ZodOptional<z.ZodString>;
|
|
480
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
485
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
487
|
+
}, z.core.$strict>>;
|
|
488
|
+
harness: z.ZodOptional<z.ZodString>;
|
|
489
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
490
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
491
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strict>>;
|
|
493
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
494
|
+
command: z.ZodString;
|
|
495
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
496
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strict>>>;
|
|
498
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
499
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
500
|
+
version: z.ZodNumber;
|
|
501
|
+
path: z.ZodString;
|
|
502
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
503
|
+
path: z.ZodString;
|
|
504
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
505
|
+
}, z.core.$strict>]>>>;
|
|
506
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
507
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
description: z.ZodOptional<z.ZodString>;
|
|
509
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
510
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
511
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
header: z.ZodString;
|
|
513
|
+
format: z.ZodString;
|
|
514
|
+
}, z.core.$strict>>;
|
|
515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
516
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
517
|
+
description: z.ZodOptional<z.ZodString>;
|
|
518
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
520
|
+
via: z.ZodOptional<z.ZodString>;
|
|
521
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
header: z.ZodString;
|
|
523
|
+
}, z.core.$strict>>;
|
|
524
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
description: z.ZodOptional<z.ZodString>;
|
|
526
|
+
type: z.ZodLiteral<"bearer">;
|
|
527
|
+
url: z.ZodString;
|
|
528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
529
|
+
via: z.ZodOptional<z.ZodString>;
|
|
530
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
header: z.ZodString;
|
|
532
|
+
}, z.core.$strict>>;
|
|
533
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
535
|
+
type: z.ZodLiteral<"headers">;
|
|
536
|
+
url: z.ZodString;
|
|
537
|
+
}, z.core.$strict>], "type">>>;
|
|
538
|
+
}, z.core.$strict>;
|
|
539
|
+
savedBy: z.ZodObject<{
|
|
540
|
+
actor: z.ZodString;
|
|
541
|
+
}, z.core.$strict>;
|
|
542
|
+
createdAt: z.ZodString;
|
|
543
|
+
environments: z.ZodNumber;
|
|
544
|
+
}, z.core.$strict>;
|
|
545
|
+
export declare const EnvironmentManifestPlan: z.ZodObject<{
|
|
546
|
+
name: z.ZodString;
|
|
547
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
548
|
+
to: z.ZodNumber;
|
|
549
|
+
unchanged: z.ZodBoolean;
|
|
550
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
551
|
+
path: z.ZodString;
|
|
552
|
+
from: z.ZodOptional<z.ZodUnknown>;
|
|
553
|
+
to: z.ZodOptional<z.ZodUnknown>;
|
|
554
|
+
}, z.core.$strict>>;
|
|
555
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
556
|
+
code: z.ZodString;
|
|
557
|
+
message: z.ZodString;
|
|
558
|
+
}, z.core.$strict>>;
|
|
559
|
+
errors: z.ZodArray<z.ZodString>;
|
|
560
|
+
behind: z.ZodNumber;
|
|
561
|
+
}, z.core.$strict>;
|
|
562
|
+
export declare const SaveEnvironmentManifestResponse: z.ZodObject<{
|
|
563
|
+
manifest: z.ZodObject<{
|
|
564
|
+
name: z.ZodString;
|
|
565
|
+
version: z.ZodNumber;
|
|
566
|
+
hash: z.ZodString;
|
|
567
|
+
manifest: z.ZodObject<{
|
|
568
|
+
manifestSchemaVersion: z.ZodLiteral<1>;
|
|
569
|
+
name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
570
|
+
description: z.ZodOptional<z.ZodString>;
|
|
571
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
572
|
+
none: "none";
|
|
573
|
+
pod: "pod";
|
|
574
|
+
virtual: "virtual";
|
|
575
|
+
}>>;
|
|
576
|
+
image: z.ZodOptional<z.ZodString>;
|
|
577
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
580
|
+
}, z.core.$strict>>;
|
|
581
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
582
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
+
}, z.core.$strict>>;
|
|
585
|
+
harness: z.ZodOptional<z.ZodString>;
|
|
586
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
587
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
588
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.core.$strict>>;
|
|
590
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
591
|
+
command: z.ZodString;
|
|
592
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
593
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.core.$strict>>>;
|
|
595
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
596
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
597
|
+
version: z.ZodNumber;
|
|
598
|
+
path: z.ZodString;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
path: z.ZodString;
|
|
601
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
602
|
+
}, z.core.$strict>]>>>;
|
|
603
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
604
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
+
description: z.ZodOptional<z.ZodString>;
|
|
606
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
607
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
608
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
609
|
+
header: z.ZodString;
|
|
610
|
+
format: z.ZodString;
|
|
611
|
+
}, z.core.$strict>>;
|
|
612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
613
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
614
|
+
description: z.ZodOptional<z.ZodString>;
|
|
615
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
616
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
617
|
+
via: z.ZodOptional<z.ZodString>;
|
|
618
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
619
|
+
header: z.ZodString;
|
|
620
|
+
}, z.core.$strict>>;
|
|
621
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
623
|
+
type: z.ZodLiteral<"bearer">;
|
|
624
|
+
url: z.ZodString;
|
|
625
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
626
|
+
via: z.ZodOptional<z.ZodString>;
|
|
627
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
header: z.ZodString;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
631
|
+
description: z.ZodOptional<z.ZodString>;
|
|
632
|
+
type: z.ZodLiteral<"headers">;
|
|
633
|
+
url: z.ZodString;
|
|
634
|
+
}, z.core.$strict>], "type">>>;
|
|
635
|
+
}, z.core.$strict>;
|
|
636
|
+
savedBy: z.ZodObject<{
|
|
637
|
+
actor: z.ZodString;
|
|
638
|
+
}, z.core.$strict>;
|
|
639
|
+
createdAt: z.ZodString;
|
|
640
|
+
environments: z.ZodNumber;
|
|
641
|
+
}, z.core.$strict>;
|
|
642
|
+
unchanged: z.ZodBoolean;
|
|
643
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
644
|
+
code: z.ZodString;
|
|
645
|
+
message: z.ZodString;
|
|
646
|
+
}, z.core.$strict>>;
|
|
647
|
+
}, z.core.$strict>;
|
|
648
|
+
export declare const ListEnvironmentManifestsResponse: z.ZodObject<{
|
|
649
|
+
manifests: z.ZodArray<z.ZodObject<{
|
|
650
|
+
name: z.ZodString;
|
|
651
|
+
version: z.ZodNumber;
|
|
652
|
+
hash: z.ZodString;
|
|
653
|
+
manifest: z.ZodObject<{
|
|
654
|
+
manifestSchemaVersion: z.ZodLiteral<1>;
|
|
655
|
+
name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
656
|
+
description: z.ZodOptional<z.ZodString>;
|
|
657
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
none: "none";
|
|
659
|
+
pod: "pod";
|
|
660
|
+
virtual: "virtual";
|
|
661
|
+
}>>;
|
|
662
|
+
image: z.ZodOptional<z.ZodString>;
|
|
663
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
664
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
668
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
669
|
+
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
670
|
+
}, z.core.$strict>>;
|
|
671
|
+
harness: z.ZodOptional<z.ZodString>;
|
|
672
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
673
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
674
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, z.core.$strict>>;
|
|
676
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
677
|
+
command: z.ZodString;
|
|
678
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
679
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
680
|
+
}, z.core.$strict>>>;
|
|
681
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
682
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
683
|
+
version: z.ZodNumber;
|
|
684
|
+
path: z.ZodString;
|
|
685
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
686
|
+
path: z.ZodString;
|
|
687
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
688
|
+
}, z.core.$strict>]>>>;
|
|
689
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
690
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
+
description: z.ZodOptional<z.ZodString>;
|
|
692
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
693
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
694
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
header: z.ZodString;
|
|
696
|
+
format: z.ZodString;
|
|
697
|
+
}, z.core.$strict>>;
|
|
698
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
699
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
+
description: z.ZodOptional<z.ZodString>;
|
|
701
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
702
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
703
|
+
via: z.ZodOptional<z.ZodString>;
|
|
704
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
705
|
+
header: z.ZodString;
|
|
706
|
+
}, z.core.$strict>>;
|
|
707
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
708
|
+
description: z.ZodOptional<z.ZodString>;
|
|
709
|
+
type: z.ZodLiteral<"bearer">;
|
|
710
|
+
url: z.ZodString;
|
|
711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
712
|
+
via: z.ZodOptional<z.ZodString>;
|
|
713
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
714
|
+
header: z.ZodString;
|
|
715
|
+
}, z.core.$strict>>;
|
|
716
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
717
|
+
description: z.ZodOptional<z.ZodString>;
|
|
718
|
+
type: z.ZodLiteral<"headers">;
|
|
719
|
+
url: z.ZodString;
|
|
720
|
+
}, z.core.$strict>], "type">>>;
|
|
721
|
+
}, z.core.$strict>;
|
|
722
|
+
savedBy: z.ZodObject<{
|
|
723
|
+
actor: z.ZodString;
|
|
724
|
+
}, z.core.$strict>;
|
|
725
|
+
createdAt: z.ZodString;
|
|
726
|
+
environments: z.ZodNumber;
|
|
727
|
+
}, z.core.$strict>>;
|
|
728
|
+
}, z.core.$strict>;
|
|
729
|
+
export declare const EnvironmentManifestVersions: z.ZodObject<{
|
|
730
|
+
name: z.ZodString;
|
|
731
|
+
latest: z.ZodNumber;
|
|
732
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
733
|
+
version: z.ZodNumber;
|
|
734
|
+
hash: z.ZodString;
|
|
735
|
+
savedBy: z.ZodObject<{
|
|
736
|
+
actor: z.ZodString;
|
|
737
|
+
}, z.core.$strict>;
|
|
738
|
+
createdAt: z.ZodString;
|
|
739
|
+
environments: z.ZodNumber;
|
|
740
|
+
}, z.core.$strict>>;
|
|
741
|
+
}, z.core.$strict>;
|
|
742
|
+
export declare const DeleteEnvironmentManifestResponse: z.ZodObject<{
|
|
743
|
+
name: z.ZodString;
|
|
744
|
+
deleted: z.ZodBoolean;
|
|
745
|
+
}, z.core.$strict>;
|
|
746
|
+
export declare const PutEnvironmentSecretValueRequest: z.ZodObject<{
|
|
747
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
748
|
+
value: z.ZodOptional<z.ZodString>;
|
|
749
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
750
|
+
}, z.core.$strict>;
|
|
751
|
+
export declare const EnvironmentSnapshot: z.ZodObject<{
|
|
752
|
+
environmentId: z.ZodString;
|
|
753
|
+
artifactId: z.ZodString;
|
|
754
|
+
version: z.ZodNumber;
|
|
755
|
+
format: z.ZodString;
|
|
756
|
+
files: z.ZodNumber;
|
|
757
|
+
bytes: z.ZodNumber;
|
|
758
|
+
storedBytes: z.ZodNumber;
|
|
759
|
+
durationMs: z.ZodNumber;
|
|
760
|
+
unchanged: z.ZodBoolean;
|
|
761
|
+
createdAt: z.ZodString;
|
|
762
|
+
}, z.core.$strict>;
|
|
763
|
+
export declare const RestoreEnvironmentRequest: z.ZodObject<{
|
|
764
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
765
|
+
version: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"latest">]>;
|
|
766
|
+
}, z.core.$strict>;
|
|
767
|
+
export declare const EnvironmentRestore: z.ZodObject<{
|
|
768
|
+
environmentId: z.ZodString;
|
|
769
|
+
restored: z.ZodNumber;
|
|
770
|
+
status: z.ZodEnum<{
|
|
771
|
+
done: "done";
|
|
772
|
+
pending: "pending";
|
|
773
|
+
}>;
|
|
774
|
+
volumeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
775
|
+
}, z.core.$strict>;
|
|
776
|
+
export declare const ForkEnvironmentRequest: z.ZodObject<{
|
|
777
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
778
|
+
id: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
779
|
+
manifest: z.ZodOptional<z.ZodString>;
|
|
780
|
+
disk: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodLiteral<"empty">, z.ZodNumber]>>;
|
|
781
|
+
secrets: z.ZodOptional<z.ZodEnum<{
|
|
782
|
+
copy: "copy";
|
|
783
|
+
none: "none";
|
|
784
|
+
}>>;
|
|
785
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
786
|
+
ownerUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
787
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
788
|
+
}, z.core.$strict>;
|
|
789
|
+
export declare const EnvironmentForkPlan: z.ZodObject<{
|
|
790
|
+
source: z.ZodString;
|
|
791
|
+
id: z.ZodString;
|
|
792
|
+
kind: z.ZodEnum<{
|
|
793
|
+
none: "none";
|
|
794
|
+
pod: "pod";
|
|
795
|
+
virtual: "virtual";
|
|
796
|
+
}>;
|
|
797
|
+
manifest: z.ZodNullable<z.ZodObject<{
|
|
798
|
+
name: z.ZodString;
|
|
799
|
+
version: z.ZodNumber;
|
|
800
|
+
}, z.core.$strict>>;
|
|
801
|
+
disk: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"latest">]>>;
|
|
802
|
+
setup: z.ZodBoolean;
|
|
803
|
+
secrets: z.ZodObject<{
|
|
804
|
+
copied: z.ZodArray<z.ZodString>;
|
|
805
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
806
|
+
missing: z.ZodArray<z.ZodString>;
|
|
807
|
+
}, z.core.$strict>;
|
|
808
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
809
|
+
path: z.ZodString;
|
|
810
|
+
from: z.ZodOptional<z.ZodUnknown>;
|
|
811
|
+
to: z.ZodOptional<z.ZodUnknown>;
|
|
812
|
+
}, z.core.$strict>>;
|
|
813
|
+
sessions: z.ZodNumber;
|
|
814
|
+
}, z.core.$strict>;
|
|
815
|
+
export declare const ForkEnvironmentResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
816
|
+
dryRun: z.ZodLiteral<true>;
|
|
817
|
+
plan: z.ZodObject<{
|
|
818
|
+
source: z.ZodString;
|
|
819
|
+
id: z.ZodString;
|
|
820
|
+
kind: z.ZodEnum<{
|
|
821
|
+
none: "none";
|
|
822
|
+
pod: "pod";
|
|
823
|
+
virtual: "virtual";
|
|
824
|
+
}>;
|
|
825
|
+
manifest: z.ZodNullable<z.ZodObject<{
|
|
826
|
+
name: z.ZodString;
|
|
827
|
+
version: z.ZodNumber;
|
|
828
|
+
}, z.core.$strict>>;
|
|
829
|
+
disk: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"latest">]>>;
|
|
830
|
+
setup: z.ZodBoolean;
|
|
831
|
+
secrets: z.ZodObject<{
|
|
832
|
+
copied: z.ZodArray<z.ZodString>;
|
|
833
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
834
|
+
missing: z.ZodArray<z.ZodString>;
|
|
835
|
+
}, z.core.$strict>;
|
|
836
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
837
|
+
path: z.ZodString;
|
|
838
|
+
from: z.ZodOptional<z.ZodUnknown>;
|
|
839
|
+
to: z.ZodOptional<z.ZodUnknown>;
|
|
840
|
+
}, z.core.$strict>>;
|
|
841
|
+
sessions: z.ZodNumber;
|
|
842
|
+
}, z.core.$strict>;
|
|
843
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
844
|
+
environment: z.ZodObject<{
|
|
845
|
+
id: z.ZodString;
|
|
846
|
+
kind: z.ZodEnum<{
|
|
847
|
+
none: "none";
|
|
848
|
+
pod: "pod";
|
|
849
|
+
virtual: "virtual";
|
|
850
|
+
}>;
|
|
851
|
+
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
852
|
+
manifest: z.ZodObject<{
|
|
853
|
+
image: z.ZodOptional<z.ZodString>;
|
|
854
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
cpus: z.ZodNumber;
|
|
856
|
+
memory: z.ZodString;
|
|
857
|
+
}, z.core.$strict>>;
|
|
858
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
859
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
860
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
harness: z.ZodString;
|
|
863
|
+
lifecycle: z.ZodObject<{
|
|
864
|
+
idle: z.ZodOptional<z.ZodString>;
|
|
865
|
+
deleteAfter: z.ZodOptional<z.ZodString>;
|
|
866
|
+
}, z.core.$strict>;
|
|
867
|
+
setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
868
|
+
command: z.ZodString;
|
|
869
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
870
|
+
timeout: z.ZodOptional<z.ZodString>;
|
|
871
|
+
}, z.core.$strict>>>;
|
|
872
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
873
|
+
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
874
|
+
version: z.ZodNumber;
|
|
875
|
+
path: z.ZodString;
|
|
876
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
877
|
+
path: z.ZodString;
|
|
878
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
879
|
+
}, z.core.$strict>]>>>;
|
|
880
|
+
secrets: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
881
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
882
|
+
description: z.ZodOptional<z.ZodString>;
|
|
883
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
884
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
885
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
header: z.ZodString;
|
|
887
|
+
format: z.ZodString;
|
|
888
|
+
}, z.core.$strict>>;
|
|
889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
890
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
891
|
+
description: z.ZodOptional<z.ZodString>;
|
|
892
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
893
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
894
|
+
via: z.ZodOptional<z.ZodString>;
|
|
895
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
header: z.ZodString;
|
|
897
|
+
}, z.core.$strict>>;
|
|
898
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
899
|
+
description: z.ZodOptional<z.ZodString>;
|
|
900
|
+
type: z.ZodLiteral<"bearer">;
|
|
901
|
+
url: z.ZodString;
|
|
902
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
903
|
+
via: z.ZodOptional<z.ZodString>;
|
|
904
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
905
|
+
header: z.ZodString;
|
|
906
|
+
}, z.core.$strict>>;
|
|
907
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
908
|
+
description: z.ZodOptional<z.ZodString>;
|
|
909
|
+
type: z.ZodLiteral<"headers">;
|
|
910
|
+
url: z.ZodString;
|
|
911
|
+
}, z.core.$strict>], "type">>>>;
|
|
912
|
+
}, z.core.$strict>;
|
|
913
|
+
manifestName: z.ZodOptional<z.ZodString>;
|
|
914
|
+
manifestVersion: z.ZodOptional<z.ZodNumber>;
|
|
915
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
916
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
917
|
+
environment: z.ZodString;
|
|
918
|
+
disk: z.ZodNullable<z.ZodNumber>;
|
|
919
|
+
}, z.core.$strict>>;
|
|
920
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
921
|
+
name: z.ZodString;
|
|
922
|
+
type: z.ZodString;
|
|
923
|
+
required: z.ZodBoolean;
|
|
924
|
+
set: z.ZodBoolean;
|
|
925
|
+
}, z.core.$strict>>>;
|
|
926
|
+
version: z.ZodNumber;
|
|
927
|
+
appliedVersion: z.ZodNumber;
|
|
928
|
+
ownerUserId: z.ZodNullable<z.ZodString>;
|
|
929
|
+
state: z.ZodString;
|
|
930
|
+
pod: z.ZodOptional<z.ZodObject<{
|
|
931
|
+
desired: z.ZodEnum<{
|
|
932
|
+
deleted: "deleted";
|
|
933
|
+
running: "running";
|
|
934
|
+
suspended: "suspended";
|
|
935
|
+
}>;
|
|
936
|
+
observed: z.ZodEnum<{
|
|
937
|
+
creating: "creating";
|
|
938
|
+
deleting: "deleting";
|
|
939
|
+
failed: "failed";
|
|
940
|
+
lost: "lost";
|
|
941
|
+
running: "running";
|
|
942
|
+
suspended: "suspended";
|
|
943
|
+
}>;
|
|
944
|
+
volumeGeneration: z.ZodNumber;
|
|
945
|
+
hostEpoch: z.ZodNumber;
|
|
946
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
947
|
+
imageDigest: z.ZodOptional<z.ZodString>;
|
|
948
|
+
}, z.core.$strict>>;
|
|
949
|
+
lastUsedAt: z.ZodString;
|
|
950
|
+
disk: z.ZodOptional<z.ZodObject<{
|
|
951
|
+
latestVersion: z.ZodNullable<z.ZodNumber>;
|
|
952
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
953
|
+
kind: z.ZodEnum<{
|
|
954
|
+
restore: "restore";
|
|
955
|
+
seed: "seed";
|
|
956
|
+
snapshot: "snapshot";
|
|
957
|
+
}>;
|
|
958
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
959
|
+
startedAt: z.ZodString;
|
|
960
|
+
}, z.core.$strict>>;
|
|
961
|
+
}, z.core.$strict>>;
|
|
962
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
963
|
+
id: z.ZodString;
|
|
964
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
965
|
+
}, z.core.$strict>>;
|
|
966
|
+
createdAt: z.ZodString;
|
|
967
|
+
updatedAt: z.ZodString;
|
|
968
|
+
}, z.core.$strict>;
|
|
969
|
+
plan: z.ZodObject<{
|
|
970
|
+
source: z.ZodString;
|
|
971
|
+
id: z.ZodString;
|
|
972
|
+
kind: z.ZodEnum<{
|
|
973
|
+
none: "none";
|
|
974
|
+
pod: "pod";
|
|
975
|
+
virtual: "virtual";
|
|
976
|
+
}>;
|
|
977
|
+
manifest: z.ZodNullable<z.ZodObject<{
|
|
978
|
+
name: z.ZodString;
|
|
979
|
+
version: z.ZodNumber;
|
|
980
|
+
}, z.core.$strict>>;
|
|
981
|
+
disk: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"latest">]>>;
|
|
982
|
+
setup: z.ZodBoolean;
|
|
983
|
+
secrets: z.ZodObject<{
|
|
984
|
+
copied: z.ZodArray<z.ZodString>;
|
|
985
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
986
|
+
missing: z.ZodArray<z.ZodString>;
|
|
987
|
+
}, z.core.$strict>;
|
|
988
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
989
|
+
path: z.ZodString;
|
|
990
|
+
from: z.ZodOptional<z.ZodUnknown>;
|
|
991
|
+
to: z.ZodOptional<z.ZodUnknown>;
|
|
992
|
+
}, z.core.$strict>>;
|
|
993
|
+
sessions: z.ZodNumber;
|
|
994
|
+
}, z.core.$strict>;
|
|
995
|
+
}, z.core.$strict>]>;
|
|
228
996
|
export declare const EnvironmentVersions: z.ZodObject<{
|
|
229
997
|
environmentId: z.ZodString;
|
|
230
998
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
@@ -244,7 +1012,7 @@ export declare const ListEnvironmentsResponse: z.ZodObject<{
|
|
|
244
1012
|
virtual: "virtual";
|
|
245
1013
|
}>;
|
|
246
1014
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
247
|
-
|
|
1015
|
+
manifest: z.ZodObject<{
|
|
248
1016
|
image: z.ZodOptional<z.ZodString>;
|
|
249
1017
|
resources: z.ZodOptional<z.ZodObject<{
|
|
250
1018
|
cpus: z.ZodNumber;
|
|
@@ -264,12 +1032,60 @@ export declare const ListEnvironmentsResponse: z.ZodObject<{
|
|
|
264
1032
|
cwd: z.ZodOptional<z.ZodString>;
|
|
265
1033
|
timeout: z.ZodOptional<z.ZodString>;
|
|
266
1034
|
}, z.core.$strict>>>;
|
|
267
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1035
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
268
1036
|
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
269
1037
|
version: z.ZodNumber;
|
|
270
1038
|
path: z.ZodString;
|
|
271
|
-
}, z.core.$strict
|
|
1039
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1040
|
+
path: z.ZodString;
|
|
1041
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
1042
|
+
}, z.core.$strict>]>>>;
|
|
1043
|
+
secrets: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1044
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1045
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
1047
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
1048
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
1049
|
+
header: z.ZodString;
|
|
1050
|
+
format: z.ZodString;
|
|
1051
|
+
}, z.core.$strict>>;
|
|
1052
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1053
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
1056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1057
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
1059
|
+
header: z.ZodString;
|
|
1060
|
+
}, z.core.$strict>>;
|
|
1061
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1062
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
type: z.ZodLiteral<"bearer">;
|
|
1064
|
+
url: z.ZodString;
|
|
1065
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1066
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
1068
|
+
header: z.ZodString;
|
|
1069
|
+
}, z.core.$strict>>;
|
|
1070
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1071
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
type: z.ZodLiteral<"headers">;
|
|
1073
|
+
url: z.ZodString;
|
|
1074
|
+
}, z.core.$strict>], "type">>>>;
|
|
272
1075
|
}, z.core.$strict>;
|
|
1076
|
+
manifestName: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
manifestVersion: z.ZodOptional<z.ZodNumber>;
|
|
1078
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
1080
|
+
environment: z.ZodString;
|
|
1081
|
+
disk: z.ZodNullable<z.ZodNumber>;
|
|
1082
|
+
}, z.core.$strict>>;
|
|
1083
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1084
|
+
name: z.ZodString;
|
|
1085
|
+
type: z.ZodString;
|
|
1086
|
+
required: z.ZodBoolean;
|
|
1087
|
+
set: z.ZodBoolean;
|
|
1088
|
+
}, z.core.$strict>>>;
|
|
273
1089
|
version: z.ZodNumber;
|
|
274
1090
|
appliedVersion: z.ZodNumber;
|
|
275
1091
|
ownerUserId: z.ZodNullable<z.ZodString>;
|
|
@@ -291,6 +1107,7 @@ export declare const ListEnvironmentsResponse: z.ZodObject<{
|
|
|
291
1107
|
volumeGeneration: z.ZodNumber;
|
|
292
1108
|
hostEpoch: z.ZodNumber;
|
|
293
1109
|
reason: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
imageDigest: z.ZodOptional<z.ZodString>;
|
|
294
1111
|
}, z.core.$strict>>;
|
|
295
1112
|
lastUsedAt: z.ZodString;
|
|
296
1113
|
disk: z.ZodOptional<z.ZodObject<{
|
|
@@ -332,6 +1149,7 @@ export declare const ListEnvironmentEventsResponse: z.ZodObject<{
|
|
|
332
1149
|
"environment.detached": "environment.detached";
|
|
333
1150
|
"environment.egress": "environment.egress";
|
|
334
1151
|
"environment.failed": "environment.failed";
|
|
1152
|
+
"environment.forked": "environment.forked";
|
|
335
1153
|
"environment.lost": "environment.lost";
|
|
336
1154
|
"environment.relaunched": "environment.relaunched";
|
|
337
1155
|
"environment.reset": "environment.reset";
|
|
@@ -673,6 +1491,7 @@ export declare const PutAgentResponse: z.ZodObject<{
|
|
|
673
1491
|
agentId: z.ZodString;
|
|
674
1492
|
manifestHash: z.ZodString;
|
|
675
1493
|
implementationVersion: z.ZodString;
|
|
1494
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
676
1495
|
}, z.core.$strict>;
|
|
677
1496
|
export declare const ListSessionsResponse: z.ZodObject<{
|
|
678
1497
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -1807,94 +2626,6 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1807
2626
|
full: "full";
|
|
1808
2627
|
metadata: "metadata";
|
|
1809
2628
|
}>;
|
|
1810
|
-
} & {
|
|
1811
|
-
type: z.ZodLiteral<"egress.connection">;
|
|
1812
|
-
payload: z.ZodObject<{
|
|
1813
|
-
environmentId: z.ZodString;
|
|
1814
|
-
host: z.ZodString;
|
|
1815
|
-
port: z.ZodNumber;
|
|
1816
|
-
outcome: z.ZodEnum<{
|
|
1817
|
-
allowed: "allowed";
|
|
1818
|
-
refused: "refused";
|
|
1819
|
-
}>;
|
|
1820
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
1822
|
-
mode: z.ZodEnum<{
|
|
1823
|
-
credential: "credential";
|
|
1824
|
-
tunnel: "tunnel";
|
|
1825
|
-
}>;
|
|
1826
|
-
credentialBound: z.ZodBoolean;
|
|
1827
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1828
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
1829
|
-
bytesUp: z.ZodNumber;
|
|
1830
|
-
bytesDown: z.ZodNumber;
|
|
1831
|
-
durationMs: z.ZodNumber;
|
|
1832
|
-
startedAt: z.ZodString;
|
|
1833
|
-
}, z.core.$loose>;
|
|
1834
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
1835
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
1836
|
-
eventId: z.ZodString;
|
|
1837
|
-
tenantId: z.ZodString;
|
|
1838
|
-
sessionId: z.ZodString;
|
|
1839
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
1840
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
1841
|
-
incarnation: z.ZodNumber;
|
|
1842
|
-
epoch: z.ZodNumber;
|
|
1843
|
-
seq: z.ZodNumber;
|
|
1844
|
-
cursor: z.ZodString;
|
|
1845
|
-
time: z.ZodString;
|
|
1846
|
-
schemaVersion: z.ZodNumber;
|
|
1847
|
-
source: z.ZodObject<{
|
|
1848
|
-
kind: z.ZodEnum<{
|
|
1849
|
-
api: "api";
|
|
1850
|
-
client: "client";
|
|
1851
|
-
controller: "controller";
|
|
1852
|
-
core: "core";
|
|
1853
|
-
edge: "edge";
|
|
1854
|
-
"egress-gate": "egress-gate";
|
|
1855
|
-
evidence: "evidence";
|
|
1856
|
-
harness: "harness";
|
|
1857
|
-
human: "human";
|
|
1858
|
-
init: "init";
|
|
1859
|
-
loop: "loop";
|
|
1860
|
-
"model-gate": "model-gate";
|
|
1861
|
-
operator: "operator";
|
|
1862
|
-
sandboxes: "sandboxes";
|
|
1863
|
-
supervisor: "supervisor";
|
|
1864
|
-
"tool-gate": "tool-gate";
|
|
1865
|
-
}>;
|
|
1866
|
-
id: z.ZodString;
|
|
1867
|
-
}, z.core.$strip>;
|
|
1868
|
-
evidence: z.ZodEnum<{
|
|
1869
|
-
asserted: "asserted";
|
|
1870
|
-
attested: "attested";
|
|
1871
|
-
claimed: "claimed";
|
|
1872
|
-
measured: "measured";
|
|
1873
|
-
observed: "observed";
|
|
1874
|
-
}>;
|
|
1875
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
1876
|
-
kind: z.ZodEnum<{
|
|
1877
|
-
application: "application";
|
|
1878
|
-
core: "core";
|
|
1879
|
-
"flow-host": "flow-host";
|
|
1880
|
-
subject: "subject";
|
|
1881
|
-
}>;
|
|
1882
|
-
id: z.ZodString;
|
|
1883
|
-
}, z.core.$strict>>;
|
|
1884
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
1885
|
-
traceId: z.ZodString;
|
|
1886
|
-
spanId: z.ZodString;
|
|
1887
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
}, z.core.$strip>>;
|
|
1889
|
-
visibility: z.ZodEnum<{
|
|
1890
|
-
internal: "internal";
|
|
1891
|
-
public: "public";
|
|
1892
|
-
restricted: "restricted";
|
|
1893
|
-
}>;
|
|
1894
|
-
retention: z.ZodEnum<{
|
|
1895
|
-
full: "full";
|
|
1896
|
-
metadata: "metadata";
|
|
1897
|
-
}>;
|
|
1898
2629
|
} & {
|
|
1899
2630
|
type: z.ZodLiteral<"environment.attached">;
|
|
1900
2631
|
payload: z.ZodObject<{
|
|
@@ -2269,8 +3000,11 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2269
3000
|
payload: z.ZodObject<{
|
|
2270
3001
|
servers: z.ZodArray<z.ZodObject<{
|
|
2271
3002
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2272
|
-
capabilityId: z.ZodString;
|
|
2273
3003
|
serverName: z.ZodString;
|
|
3004
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
3005
|
+
name: z.ZodString;
|
|
3006
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
}, z.core.$strict>>;
|
|
2274
3008
|
outcome: z.ZodEnum<{
|
|
2275
3009
|
connected: "connected";
|
|
2276
3010
|
failed: "failed";
|
|
@@ -2781,7 +3515,6 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2781
3515
|
callId: z.ZodString;
|
|
2782
3516
|
invocationId: z.ZodString;
|
|
2783
3517
|
effectId: z.ZodOptional<z.ZodString>;
|
|
2784
|
-
capabilityId: z.ZodString;
|
|
2785
3518
|
toolName: z.ZodString;
|
|
2786
3519
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2787
3520
|
cancelled: "cancelled";
|
|
@@ -2789,12 +3522,18 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2789
3522
|
failed: "failed";
|
|
2790
3523
|
}>>;
|
|
2791
3524
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
3525
|
+
harness: "harness";
|
|
2792
3526
|
http: "http";
|
|
2793
3527
|
mcp: "mcp";
|
|
2794
3528
|
platform: "platform";
|
|
2795
3529
|
sandbox: "sandbox";
|
|
2796
3530
|
}>>;
|
|
2797
3531
|
server: z.ZodOptional<z.ZodString>;
|
|
3532
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
3533
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
3534
|
+
name: z.ZodString;
|
|
3535
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3536
|
+
}, z.core.$strict>>;
|
|
2798
3537
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
2799
3538
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2800
3539
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -3803,122 +4542,27 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3803
4542
|
id: z.ZodString;
|
|
3804
4543
|
}, z.core.$strict>>;
|
|
3805
4544
|
trace: z.ZodOptional<z.ZodObject<{
|
|
3806
|
-
traceId: z.ZodString;
|
|
3807
|
-
spanId: z.ZodString;
|
|
3808
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
3809
|
-
}, z.core.$strip>>;
|
|
3810
|
-
visibility: z.ZodEnum<{
|
|
3811
|
-
internal: "internal";
|
|
3812
|
-
public: "public";
|
|
3813
|
-
restricted: "restricted";
|
|
3814
|
-
}>;
|
|
3815
|
-
retention: z.ZodEnum<{
|
|
3816
|
-
full: "full";
|
|
3817
|
-
metadata: "metadata";
|
|
3818
|
-
}>;
|
|
3819
|
-
} & {
|
|
3820
|
-
type: z.ZodLiteral<"command.respond">;
|
|
3821
|
-
payload: z.ZodObject<{
|
|
3822
|
-
requestId: z.ZodString;
|
|
3823
|
-
idempotencyKey: z.ZodString;
|
|
3824
|
-
type: z.ZodLiteral<"respond">;
|
|
3825
|
-
interactionId: z.ZodString;
|
|
3826
|
-
value: z.ZodUnknown;
|
|
3827
|
-
}, z.core.$loose>;
|
|
3828
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
3829
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
3830
|
-
eventId: z.ZodString;
|
|
3831
|
-
tenantId: z.ZodString;
|
|
3832
|
-
sessionId: z.ZodString;
|
|
3833
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
3834
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
3835
|
-
incarnation: z.ZodNumber;
|
|
3836
|
-
epoch: z.ZodNumber;
|
|
3837
|
-
seq: z.ZodNumber;
|
|
3838
|
-
cursor: z.ZodString;
|
|
3839
|
-
time: z.ZodString;
|
|
3840
|
-
schemaVersion: z.ZodNumber;
|
|
3841
|
-
source: z.ZodObject<{
|
|
3842
|
-
kind: z.ZodEnum<{
|
|
3843
|
-
api: "api";
|
|
3844
|
-
client: "client";
|
|
3845
|
-
controller: "controller";
|
|
3846
|
-
core: "core";
|
|
3847
|
-
edge: "edge";
|
|
3848
|
-
"egress-gate": "egress-gate";
|
|
3849
|
-
evidence: "evidence";
|
|
3850
|
-
harness: "harness";
|
|
3851
|
-
human: "human";
|
|
3852
|
-
init: "init";
|
|
3853
|
-
loop: "loop";
|
|
3854
|
-
"model-gate": "model-gate";
|
|
3855
|
-
operator: "operator";
|
|
3856
|
-
sandboxes: "sandboxes";
|
|
3857
|
-
supervisor: "supervisor";
|
|
3858
|
-
"tool-gate": "tool-gate";
|
|
3859
|
-
}>;
|
|
3860
|
-
id: z.ZodString;
|
|
3861
|
-
}, z.core.$strip>;
|
|
3862
|
-
evidence: z.ZodEnum<{
|
|
3863
|
-
asserted: "asserted";
|
|
3864
|
-
attested: "attested";
|
|
3865
|
-
claimed: "claimed";
|
|
3866
|
-
measured: "measured";
|
|
3867
|
-
observed: "observed";
|
|
3868
|
-
}>;
|
|
3869
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
3870
|
-
kind: z.ZodEnum<{
|
|
3871
|
-
application: "application";
|
|
3872
|
-
core: "core";
|
|
3873
|
-
"flow-host": "flow-host";
|
|
3874
|
-
subject: "subject";
|
|
3875
|
-
}>;
|
|
3876
|
-
id: z.ZodString;
|
|
3877
|
-
}, z.core.$strict>>;
|
|
3878
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
3879
|
-
traceId: z.ZodString;
|
|
3880
|
-
spanId: z.ZodString;
|
|
3881
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
3882
|
-
}, z.core.$strip>>;
|
|
3883
|
-
visibility: z.ZodEnum<{
|
|
3884
|
-
internal: "internal";
|
|
3885
|
-
public: "public";
|
|
3886
|
-
restricted: "restricted";
|
|
3887
|
-
}>;
|
|
3888
|
-
retention: z.ZodEnum<{
|
|
3889
|
-
full: "full";
|
|
3890
|
-
metadata: "metadata";
|
|
3891
|
-
}>;
|
|
3892
|
-
} & {
|
|
3893
|
-
type: z.ZodLiteral<"context.compacted">;
|
|
3894
|
-
payload: z.ZodObject<{
|
|
3895
|
-
agent: z.ZodOptional<z.ZodObject<{
|
|
3896
|
-
id: z.ZodString;
|
|
3897
|
-
path: z.ZodString;
|
|
3898
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
3899
|
-
}, z.core.$loose>>;
|
|
3900
|
-
effectId: z.ZodOptional<z.ZodString>;
|
|
3901
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
3902
|
-
gate: z.ZodOptional<z.ZodObject<{
|
|
3903
|
-
startedAt: z.ZodString;
|
|
3904
|
-
endedAt: z.ZodString;
|
|
3905
|
-
}, z.core.$loose>>;
|
|
3906
|
-
firstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
3907
|
-
meteredUsage: z.ZodOptional<z.ZodObject<{
|
|
3908
|
-
inputTokens: z.ZodNumber;
|
|
3909
|
-
outputTokens: z.ZodNumber;
|
|
3910
|
-
totalTokens: z.ZodNumber;
|
|
3911
|
-
cachedTokens: z.ZodOptional<z.ZodNumber>;
|
|
3912
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
3913
|
-
}, z.core.$loose>>;
|
|
3914
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
3915
|
-
trigger: z.ZodEnum<{
|
|
3916
|
-
overflow: "overflow";
|
|
3917
|
-
threshold: "threshold";
|
|
3918
|
-
}>;
|
|
3919
|
-
tokensBefore: z.ZodNumber;
|
|
3920
|
-
tokensAfter: z.ZodNumber;
|
|
3921
|
-
partial: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4545
|
+
traceId: z.ZodString;
|
|
4546
|
+
spanId: z.ZodString;
|
|
4547
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4548
|
+
}, z.core.$strip>>;
|
|
4549
|
+
visibility: z.ZodEnum<{
|
|
4550
|
+
internal: "internal";
|
|
4551
|
+
public: "public";
|
|
4552
|
+
restricted: "restricted";
|
|
4553
|
+
}>;
|
|
4554
|
+
retention: z.ZodEnum<{
|
|
4555
|
+
full: "full";
|
|
4556
|
+
metadata: "metadata";
|
|
4557
|
+
}>;
|
|
4558
|
+
} & {
|
|
4559
|
+
type: z.ZodLiteral<"command.respond">;
|
|
4560
|
+
payload: z.ZodObject<{
|
|
4561
|
+
requestId: z.ZodString;
|
|
4562
|
+
idempotencyKey: z.ZodString;
|
|
4563
|
+
type: z.ZodLiteral<"respond">;
|
|
4564
|
+
interactionId: z.ZodString;
|
|
4565
|
+
value: z.ZodUnknown;
|
|
3922
4566
|
}, z.core.$loose>;
|
|
3923
4567
|
}, z.core.$strip> | z.ZodObject<{
|
|
3924
4568
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3985,14 +4629,35 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3985
4629
|
metadata: "metadata";
|
|
3986
4630
|
}>;
|
|
3987
4631
|
} & {
|
|
3988
|
-
type: z.ZodLiteral<"
|
|
4632
|
+
type: z.ZodLiteral<"context.compacted">;
|
|
3989
4633
|
payload: z.ZodObject<{
|
|
3990
|
-
agent: z.ZodObject<{
|
|
4634
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
3991
4635
|
id: z.ZodString;
|
|
3992
4636
|
path: z.ZodString;
|
|
3993
4637
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
3994
|
-
}, z.core.$loose
|
|
3995
|
-
|
|
4638
|
+
}, z.core.$loose>>;
|
|
4639
|
+
effectId: z.ZodOptional<z.ZodString>;
|
|
4640
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
4641
|
+
gate: z.ZodOptional<z.ZodObject<{
|
|
4642
|
+
startedAt: z.ZodString;
|
|
4643
|
+
endedAt: z.ZodString;
|
|
4644
|
+
}, z.core.$loose>>;
|
|
4645
|
+
firstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
4646
|
+
meteredUsage: z.ZodOptional<z.ZodObject<{
|
|
4647
|
+
inputTokens: z.ZodNumber;
|
|
4648
|
+
outputTokens: z.ZodNumber;
|
|
4649
|
+
totalTokens: z.ZodNumber;
|
|
4650
|
+
cachedTokens: z.ZodOptional<z.ZodNumber>;
|
|
4651
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
4652
|
+
}, z.core.$loose>>;
|
|
4653
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
4654
|
+
trigger: z.ZodEnum<{
|
|
4655
|
+
overflow: "overflow";
|
|
4656
|
+
threshold: "threshold";
|
|
4657
|
+
}>;
|
|
4658
|
+
tokensBefore: z.ZodNumber;
|
|
4659
|
+
tokensAfter: z.ZodNumber;
|
|
4660
|
+
partial: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3996
4661
|
}, z.core.$loose>;
|
|
3997
4662
|
}, z.core.$strip> | z.ZodObject<{
|
|
3998
4663
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4059,7 +4724,7 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4059
4724
|
metadata: "metadata";
|
|
4060
4725
|
}>;
|
|
4061
4726
|
} & {
|
|
4062
|
-
type: z.ZodLiteral<"delegation.
|
|
4727
|
+
type: z.ZodLiteral<"delegation.completed">;
|
|
4063
4728
|
payload: z.ZodObject<{
|
|
4064
4729
|
agent: z.ZodObject<{
|
|
4065
4730
|
id: z.ZodString;
|
|
@@ -4133,10 +4798,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4133
4798
|
metadata: "metadata";
|
|
4134
4799
|
}>;
|
|
4135
4800
|
} & {
|
|
4136
|
-
type: z.ZodLiteral<"
|
|
4801
|
+
type: z.ZodLiteral<"delegation.started">;
|
|
4137
4802
|
payload: z.ZodObject<{
|
|
4138
|
-
|
|
4139
|
-
|
|
4803
|
+
agent: z.ZodObject<{
|
|
4804
|
+
id: z.ZodString;
|
|
4805
|
+
path: z.ZodString;
|
|
4806
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
4807
|
+
}, z.core.$loose>;
|
|
4808
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
4140
4809
|
}, z.core.$loose>;
|
|
4141
4810
|
}, z.core.$strip> | z.ZodObject<{
|
|
4142
4811
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4203,28 +4872,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4203
4872
|
metadata: "metadata";
|
|
4204
4873
|
}>;
|
|
4205
4874
|
} & {
|
|
4206
|
-
type: z.ZodLiteral<"
|
|
4875
|
+
type: z.ZodLiteral<"effect.uncertain">;
|
|
4207
4876
|
payload: z.ZodObject<{
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
port: z.ZodNumber;
|
|
4211
|
-
outcome: z.ZodEnum<{
|
|
4212
|
-
allowed: "allowed";
|
|
4213
|
-
refused: "refused";
|
|
4214
|
-
}>;
|
|
4215
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
4216
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
4217
|
-
mode: z.ZodEnum<{
|
|
4218
|
-
credential: "credential";
|
|
4219
|
-
tunnel: "tunnel";
|
|
4220
|
-
}>;
|
|
4221
|
-
credentialBound: z.ZodBoolean;
|
|
4222
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4223
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
4224
|
-
bytesUp: z.ZodNumber;
|
|
4225
|
-
bytesDown: z.ZodNumber;
|
|
4226
|
-
durationMs: z.ZodNumber;
|
|
4227
|
-
startedAt: z.ZodString;
|
|
4877
|
+
effectId: z.ZodString;
|
|
4878
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4228
4879
|
}, z.core.$loose>;
|
|
4229
4880
|
}, z.core.$strip> | z.ZodObject<{
|
|
4230
4881
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4664,8 +5315,11 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4664
5315
|
payload: z.ZodObject<{
|
|
4665
5316
|
servers: z.ZodArray<z.ZodObject<{
|
|
4666
5317
|
agentId: z.ZodOptional<z.ZodString>;
|
|
4667
|
-
capabilityId: z.ZodString;
|
|
4668
5318
|
serverName: z.ZodString;
|
|
5319
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
5320
|
+
name: z.ZodString;
|
|
5321
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5322
|
+
}, z.core.$strict>>;
|
|
4669
5323
|
outcome: z.ZodEnum<{
|
|
4670
5324
|
connected: "connected";
|
|
4671
5325
|
failed: "failed";
|
|
@@ -5176,7 +5830,6 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5176
5830
|
callId: z.ZodString;
|
|
5177
5831
|
invocationId: z.ZodString;
|
|
5178
5832
|
effectId: z.ZodOptional<z.ZodString>;
|
|
5179
|
-
capabilityId: z.ZodString;
|
|
5180
5833
|
toolName: z.ZodString;
|
|
5181
5834
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5182
5835
|
cancelled: "cancelled";
|
|
@@ -5184,12 +5837,18 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5184
5837
|
failed: "failed";
|
|
5185
5838
|
}>>;
|
|
5186
5839
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
5840
|
+
harness: "harness";
|
|
5187
5841
|
http: "http";
|
|
5188
5842
|
mcp: "mcp";
|
|
5189
5843
|
platform: "platform";
|
|
5190
5844
|
sandbox: "sandbox";
|
|
5191
5845
|
}>>;
|
|
5192
5846
|
server: z.ZodOptional<z.ZodString>;
|
|
5847
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
5849
|
+
name: z.ZodString;
|
|
5850
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5851
|
+
}, z.core.$strict>>;
|
|
5193
5852
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
5194
5853
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
5195
5854
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -6600,94 +7259,6 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
6600
7259
|
full: "full";
|
|
6601
7260
|
metadata: "metadata";
|
|
6602
7261
|
}>;
|
|
6603
|
-
} & {
|
|
6604
|
-
type: z.ZodLiteral<"egress.connection">;
|
|
6605
|
-
payload: z.ZodObject<{
|
|
6606
|
-
environmentId: z.ZodString;
|
|
6607
|
-
host: z.ZodString;
|
|
6608
|
-
port: z.ZodNumber;
|
|
6609
|
-
outcome: z.ZodEnum<{
|
|
6610
|
-
allowed: "allowed";
|
|
6611
|
-
refused: "refused";
|
|
6612
|
-
}>;
|
|
6613
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
6614
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
6615
|
-
mode: z.ZodEnum<{
|
|
6616
|
-
credential: "credential";
|
|
6617
|
-
tunnel: "tunnel";
|
|
6618
|
-
}>;
|
|
6619
|
-
credentialBound: z.ZodBoolean;
|
|
6620
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6621
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
6622
|
-
bytesUp: z.ZodNumber;
|
|
6623
|
-
bytesDown: z.ZodNumber;
|
|
6624
|
-
durationMs: z.ZodNumber;
|
|
6625
|
-
startedAt: z.ZodString;
|
|
6626
|
-
}, z.core.$loose>;
|
|
6627
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
6628
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
6629
|
-
eventId: z.ZodString;
|
|
6630
|
-
tenantId: z.ZodString;
|
|
6631
|
-
sessionId: z.ZodString;
|
|
6632
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
6633
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
6634
|
-
incarnation: z.ZodNumber;
|
|
6635
|
-
epoch: z.ZodNumber;
|
|
6636
|
-
seq: z.ZodNumber;
|
|
6637
|
-
cursor: z.ZodString;
|
|
6638
|
-
time: z.ZodString;
|
|
6639
|
-
schemaVersion: z.ZodNumber;
|
|
6640
|
-
source: z.ZodObject<{
|
|
6641
|
-
kind: z.ZodEnum<{
|
|
6642
|
-
api: "api";
|
|
6643
|
-
client: "client";
|
|
6644
|
-
controller: "controller";
|
|
6645
|
-
core: "core";
|
|
6646
|
-
edge: "edge";
|
|
6647
|
-
"egress-gate": "egress-gate";
|
|
6648
|
-
evidence: "evidence";
|
|
6649
|
-
harness: "harness";
|
|
6650
|
-
human: "human";
|
|
6651
|
-
init: "init";
|
|
6652
|
-
loop: "loop";
|
|
6653
|
-
"model-gate": "model-gate";
|
|
6654
|
-
operator: "operator";
|
|
6655
|
-
sandboxes: "sandboxes";
|
|
6656
|
-
supervisor: "supervisor";
|
|
6657
|
-
"tool-gate": "tool-gate";
|
|
6658
|
-
}>;
|
|
6659
|
-
id: z.ZodString;
|
|
6660
|
-
}, z.core.$strip>;
|
|
6661
|
-
evidence: z.ZodEnum<{
|
|
6662
|
-
asserted: "asserted";
|
|
6663
|
-
attested: "attested";
|
|
6664
|
-
claimed: "claimed";
|
|
6665
|
-
measured: "measured";
|
|
6666
|
-
observed: "observed";
|
|
6667
|
-
}>;
|
|
6668
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
6669
|
-
kind: z.ZodEnum<{
|
|
6670
|
-
application: "application";
|
|
6671
|
-
core: "core";
|
|
6672
|
-
"flow-host": "flow-host";
|
|
6673
|
-
subject: "subject";
|
|
6674
|
-
}>;
|
|
6675
|
-
id: z.ZodString;
|
|
6676
|
-
}, z.core.$strict>>;
|
|
6677
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
6678
|
-
traceId: z.ZodString;
|
|
6679
|
-
spanId: z.ZodString;
|
|
6680
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
6681
|
-
}, z.core.$strip>>;
|
|
6682
|
-
visibility: z.ZodEnum<{
|
|
6683
|
-
internal: "internal";
|
|
6684
|
-
public: "public";
|
|
6685
|
-
restricted: "restricted";
|
|
6686
|
-
}>;
|
|
6687
|
-
retention: z.ZodEnum<{
|
|
6688
|
-
full: "full";
|
|
6689
|
-
metadata: "metadata";
|
|
6690
|
-
}>;
|
|
6691
7262
|
} & {
|
|
6692
7263
|
type: z.ZodLiteral<"environment.attached">;
|
|
6693
7264
|
payload: z.ZodObject<{
|
|
@@ -7062,8 +7633,11 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
7062
7633
|
payload: z.ZodObject<{
|
|
7063
7634
|
servers: z.ZodArray<z.ZodObject<{
|
|
7064
7635
|
agentId: z.ZodOptional<z.ZodString>;
|
|
7065
|
-
capabilityId: z.ZodString;
|
|
7066
7636
|
serverName: z.ZodString;
|
|
7637
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
7638
|
+
name: z.ZodString;
|
|
7639
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7640
|
+
}, z.core.$strict>>;
|
|
7067
7641
|
outcome: z.ZodEnum<{
|
|
7068
7642
|
connected: "connected";
|
|
7069
7643
|
failed: "failed";
|
|
@@ -7574,7 +8148,6 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
7574
8148
|
callId: z.ZodString;
|
|
7575
8149
|
invocationId: z.ZodString;
|
|
7576
8150
|
effectId: z.ZodOptional<z.ZodString>;
|
|
7577
|
-
capabilityId: z.ZodString;
|
|
7578
8151
|
toolName: z.ZodString;
|
|
7579
8152
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7580
8153
|
cancelled: "cancelled";
|
|
@@ -7582,12 +8155,18 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
7582
8155
|
failed: "failed";
|
|
7583
8156
|
}>>;
|
|
7584
8157
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
8158
|
+
harness: "harness";
|
|
7585
8159
|
http: "http";
|
|
7586
8160
|
mcp: "mcp";
|
|
7587
8161
|
platform: "platform";
|
|
7588
8162
|
sandbox: "sandbox";
|
|
7589
8163
|
}>>;
|
|
7590
8164
|
server: z.ZodOptional<z.ZodString>;
|
|
8165
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
8166
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
8167
|
+
name: z.ZodString;
|
|
8168
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8169
|
+
}, z.core.$strict>>;
|
|
7591
8170
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
7592
8171
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
7593
8172
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -8615,103 +9194,8 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8615
9194
|
requestId: z.ZodString;
|
|
8616
9195
|
idempotencyKey: z.ZodString;
|
|
8617
9196
|
type: z.ZodLiteral<"respond">;
|
|
8618
|
-
interactionId: z.ZodString;
|
|
8619
|
-
value: z.ZodUnknown;
|
|
8620
|
-
}, z.core.$loose>;
|
|
8621
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
8622
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
8623
|
-
eventId: z.ZodString;
|
|
8624
|
-
tenantId: z.ZodString;
|
|
8625
|
-
sessionId: z.ZodString;
|
|
8626
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
8627
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
8628
|
-
incarnation: z.ZodNumber;
|
|
8629
|
-
epoch: z.ZodNumber;
|
|
8630
|
-
seq: z.ZodNumber;
|
|
8631
|
-
cursor: z.ZodString;
|
|
8632
|
-
time: z.ZodString;
|
|
8633
|
-
schemaVersion: z.ZodNumber;
|
|
8634
|
-
source: z.ZodObject<{
|
|
8635
|
-
kind: z.ZodEnum<{
|
|
8636
|
-
api: "api";
|
|
8637
|
-
client: "client";
|
|
8638
|
-
controller: "controller";
|
|
8639
|
-
core: "core";
|
|
8640
|
-
edge: "edge";
|
|
8641
|
-
"egress-gate": "egress-gate";
|
|
8642
|
-
evidence: "evidence";
|
|
8643
|
-
harness: "harness";
|
|
8644
|
-
human: "human";
|
|
8645
|
-
init: "init";
|
|
8646
|
-
loop: "loop";
|
|
8647
|
-
"model-gate": "model-gate";
|
|
8648
|
-
operator: "operator";
|
|
8649
|
-
sandboxes: "sandboxes";
|
|
8650
|
-
supervisor: "supervisor";
|
|
8651
|
-
"tool-gate": "tool-gate";
|
|
8652
|
-
}>;
|
|
8653
|
-
id: z.ZodString;
|
|
8654
|
-
}, z.core.$strip>;
|
|
8655
|
-
evidence: z.ZodEnum<{
|
|
8656
|
-
asserted: "asserted";
|
|
8657
|
-
attested: "attested";
|
|
8658
|
-
claimed: "claimed";
|
|
8659
|
-
measured: "measured";
|
|
8660
|
-
observed: "observed";
|
|
8661
|
-
}>;
|
|
8662
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
8663
|
-
kind: z.ZodEnum<{
|
|
8664
|
-
application: "application";
|
|
8665
|
-
core: "core";
|
|
8666
|
-
"flow-host": "flow-host";
|
|
8667
|
-
subject: "subject";
|
|
8668
|
-
}>;
|
|
8669
|
-
id: z.ZodString;
|
|
8670
|
-
}, z.core.$strict>>;
|
|
8671
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
8672
|
-
traceId: z.ZodString;
|
|
8673
|
-
spanId: z.ZodString;
|
|
8674
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
8675
|
-
}, z.core.$strip>>;
|
|
8676
|
-
visibility: z.ZodEnum<{
|
|
8677
|
-
internal: "internal";
|
|
8678
|
-
public: "public";
|
|
8679
|
-
restricted: "restricted";
|
|
8680
|
-
}>;
|
|
8681
|
-
retention: z.ZodEnum<{
|
|
8682
|
-
full: "full";
|
|
8683
|
-
metadata: "metadata";
|
|
8684
|
-
}>;
|
|
8685
|
-
} & {
|
|
8686
|
-
type: z.ZodLiteral<"context.compacted">;
|
|
8687
|
-
payload: z.ZodObject<{
|
|
8688
|
-
agent: z.ZodOptional<z.ZodObject<{
|
|
8689
|
-
id: z.ZodString;
|
|
8690
|
-
path: z.ZodString;
|
|
8691
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
8692
|
-
}, z.core.$loose>>;
|
|
8693
|
-
effectId: z.ZodOptional<z.ZodString>;
|
|
8694
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
8695
|
-
gate: z.ZodOptional<z.ZodObject<{
|
|
8696
|
-
startedAt: z.ZodString;
|
|
8697
|
-
endedAt: z.ZodString;
|
|
8698
|
-
}, z.core.$loose>>;
|
|
8699
|
-
firstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
8700
|
-
meteredUsage: z.ZodOptional<z.ZodObject<{
|
|
8701
|
-
inputTokens: z.ZodNumber;
|
|
8702
|
-
outputTokens: z.ZodNumber;
|
|
8703
|
-
totalTokens: z.ZodNumber;
|
|
8704
|
-
cachedTokens: z.ZodOptional<z.ZodNumber>;
|
|
8705
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
8706
|
-
}, z.core.$loose>>;
|
|
8707
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
8708
|
-
trigger: z.ZodEnum<{
|
|
8709
|
-
overflow: "overflow";
|
|
8710
|
-
threshold: "threshold";
|
|
8711
|
-
}>;
|
|
8712
|
-
tokensBefore: z.ZodNumber;
|
|
8713
|
-
tokensAfter: z.ZodNumber;
|
|
8714
|
-
partial: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9197
|
+
interactionId: z.ZodString;
|
|
9198
|
+
value: z.ZodUnknown;
|
|
8715
9199
|
}, z.core.$loose>;
|
|
8716
9200
|
}, z.core.$strip> | z.ZodObject<{
|
|
8717
9201
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -8778,14 +9262,35 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8778
9262
|
metadata: "metadata";
|
|
8779
9263
|
}>;
|
|
8780
9264
|
} & {
|
|
8781
|
-
type: z.ZodLiteral<"
|
|
9265
|
+
type: z.ZodLiteral<"context.compacted">;
|
|
8782
9266
|
payload: z.ZodObject<{
|
|
8783
|
-
agent: z.ZodObject<{
|
|
9267
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
8784
9268
|
id: z.ZodString;
|
|
8785
9269
|
path: z.ZodString;
|
|
8786
9270
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
8787
|
-
}, z.core.$loose
|
|
8788
|
-
|
|
9271
|
+
}, z.core.$loose>>;
|
|
9272
|
+
effectId: z.ZodOptional<z.ZodString>;
|
|
9273
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
9274
|
+
gate: z.ZodOptional<z.ZodObject<{
|
|
9275
|
+
startedAt: z.ZodString;
|
|
9276
|
+
endedAt: z.ZodString;
|
|
9277
|
+
}, z.core.$loose>>;
|
|
9278
|
+
firstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
9279
|
+
meteredUsage: z.ZodOptional<z.ZodObject<{
|
|
9280
|
+
inputTokens: z.ZodNumber;
|
|
9281
|
+
outputTokens: z.ZodNumber;
|
|
9282
|
+
totalTokens: z.ZodNumber;
|
|
9283
|
+
cachedTokens: z.ZodOptional<z.ZodNumber>;
|
|
9284
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
9285
|
+
}, z.core.$loose>>;
|
|
9286
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
9287
|
+
trigger: z.ZodEnum<{
|
|
9288
|
+
overflow: "overflow";
|
|
9289
|
+
threshold: "threshold";
|
|
9290
|
+
}>;
|
|
9291
|
+
tokensBefore: z.ZodNumber;
|
|
9292
|
+
tokensAfter: z.ZodNumber;
|
|
9293
|
+
partial: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8789
9294
|
}, z.core.$loose>;
|
|
8790
9295
|
}, z.core.$strip> | z.ZodObject<{
|
|
8791
9296
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -8852,7 +9357,7 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8852
9357
|
metadata: "metadata";
|
|
8853
9358
|
}>;
|
|
8854
9359
|
} & {
|
|
8855
|
-
type: z.ZodLiteral<"delegation.
|
|
9360
|
+
type: z.ZodLiteral<"delegation.completed">;
|
|
8856
9361
|
payload: z.ZodObject<{
|
|
8857
9362
|
agent: z.ZodObject<{
|
|
8858
9363
|
id: z.ZodString;
|
|
@@ -8926,10 +9431,14 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8926
9431
|
metadata: "metadata";
|
|
8927
9432
|
}>;
|
|
8928
9433
|
} & {
|
|
8929
|
-
type: z.ZodLiteral<"
|
|
9434
|
+
type: z.ZodLiteral<"delegation.started">;
|
|
8930
9435
|
payload: z.ZodObject<{
|
|
8931
|
-
|
|
8932
|
-
|
|
9436
|
+
agent: z.ZodObject<{
|
|
9437
|
+
id: z.ZodString;
|
|
9438
|
+
path: z.ZodString;
|
|
9439
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
9440
|
+
}, z.core.$loose>;
|
|
9441
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
8933
9442
|
}, z.core.$loose>;
|
|
8934
9443
|
}, z.core.$strip> | z.ZodObject<{
|
|
8935
9444
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -8996,28 +9505,10 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8996
9505
|
metadata: "metadata";
|
|
8997
9506
|
}>;
|
|
8998
9507
|
} & {
|
|
8999
|
-
type: z.ZodLiteral<"
|
|
9508
|
+
type: z.ZodLiteral<"effect.uncertain">;
|
|
9000
9509
|
payload: z.ZodObject<{
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
port: z.ZodNumber;
|
|
9004
|
-
outcome: z.ZodEnum<{
|
|
9005
|
-
allowed: "allowed";
|
|
9006
|
-
refused: "refused";
|
|
9007
|
-
}>;
|
|
9008
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
9009
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
9010
|
-
mode: z.ZodEnum<{
|
|
9011
|
-
credential: "credential";
|
|
9012
|
-
tunnel: "tunnel";
|
|
9013
|
-
}>;
|
|
9014
|
-
credentialBound: z.ZodBoolean;
|
|
9015
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9016
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
9017
|
-
bytesUp: z.ZodNumber;
|
|
9018
|
-
bytesDown: z.ZodNumber;
|
|
9019
|
-
durationMs: z.ZodNumber;
|
|
9020
|
-
startedAt: z.ZodString;
|
|
9510
|
+
effectId: z.ZodString;
|
|
9511
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9021
9512
|
}, z.core.$loose>;
|
|
9022
9513
|
}, z.core.$strip> | z.ZodObject<{
|
|
9023
9514
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -9457,8 +9948,11 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
9457
9948
|
payload: z.ZodObject<{
|
|
9458
9949
|
servers: z.ZodArray<z.ZodObject<{
|
|
9459
9950
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9460
|
-
capabilityId: z.ZodString;
|
|
9461
9951
|
serverName: z.ZodString;
|
|
9952
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
9953
|
+
name: z.ZodString;
|
|
9954
|
+
version: z.ZodOptional<z.ZodString>;
|
|
9955
|
+
}, z.core.$strict>>;
|
|
9462
9956
|
outcome: z.ZodEnum<{
|
|
9463
9957
|
connected: "connected";
|
|
9464
9958
|
failed: "failed";
|
|
@@ -9969,7 +10463,6 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
9969
10463
|
callId: z.ZodString;
|
|
9970
10464
|
invocationId: z.ZodString;
|
|
9971
10465
|
effectId: z.ZodOptional<z.ZodString>;
|
|
9972
|
-
capabilityId: z.ZodString;
|
|
9973
10466
|
toolName: z.ZodString;
|
|
9974
10467
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9975
10468
|
cancelled: "cancelled";
|
|
@@ -9977,12 +10470,18 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
9977
10470
|
failed: "failed";
|
|
9978
10471
|
}>>;
|
|
9979
10472
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
10473
|
+
harness: "harness";
|
|
9980
10474
|
http: "http";
|
|
9981
10475
|
mcp: "mcp";
|
|
9982
10476
|
platform: "platform";
|
|
9983
10477
|
sandbox: "sandbox";
|
|
9984
10478
|
}>>;
|
|
9985
10479
|
server: z.ZodOptional<z.ZodString>;
|
|
10480
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
10481
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
10482
|
+
name: z.ZodString;
|
|
10483
|
+
version: z.ZodOptional<z.ZodString>;
|
|
10484
|
+
}, z.core.$strict>>;
|
|
9986
10485
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
9987
10486
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
9988
10487
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -10426,6 +10925,14 @@ export declare const TenantStatus: z.ZodObject<{
|
|
|
10426
10925
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10427
10926
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
10428
10927
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
10928
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10929
|
+
audio: "audio";
|
|
10930
|
+
image: "image";
|
|
10931
|
+
office: "office";
|
|
10932
|
+
pdf: "pdf";
|
|
10933
|
+
text: "text";
|
|
10934
|
+
video: "video";
|
|
10935
|
+
}>>>;
|
|
10429
10936
|
compat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10430
10937
|
}, z.core.$strict>>;
|
|
10431
10938
|
}, z.core.$strict>]>;
|
|
@@ -10536,6 +11043,14 @@ export declare const SeedTenantConfigRequest: z.ZodObject<{
|
|
|
10536
11043
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10537
11044
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
10538
11045
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
11046
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11047
|
+
audio: "audio";
|
|
11048
|
+
image: "image";
|
|
11049
|
+
office: "office";
|
|
11050
|
+
pdf: "pdf";
|
|
11051
|
+
text: "text";
|
|
11052
|
+
video: "video";
|
|
11053
|
+
}>>>;
|
|
10539
11054
|
compat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10540
11055
|
}, z.core.$strict>>;
|
|
10541
11056
|
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -10562,6 +11077,22 @@ export declare const HostModelCatalog: z.ZodObject<{
|
|
|
10562
11077
|
models: z.ZodArray<z.ZodObject<{
|
|
10563
11078
|
id: z.ZodString;
|
|
10564
11079
|
name: z.ZodString;
|
|
11080
|
+
inputs: z.ZodArray<z.ZodEnum<{
|
|
11081
|
+
audio: "audio";
|
|
11082
|
+
image: "image";
|
|
11083
|
+
office: "office";
|
|
11084
|
+
pdf: "pdf";
|
|
11085
|
+
text: "text";
|
|
11086
|
+
video: "video";
|
|
11087
|
+
}>>;
|
|
11088
|
+
addableInputs: z.ZodArray<z.ZodEnum<{
|
|
11089
|
+
audio: "audio";
|
|
11090
|
+
image: "image";
|
|
11091
|
+
office: "office";
|
|
11092
|
+
pdf: "pdf";
|
|
11093
|
+
text: "text";
|
|
11094
|
+
video: "video";
|
|
11095
|
+
}>>;
|
|
10565
11096
|
}, z.core.$strict>>;
|
|
10566
11097
|
}, z.core.$strict>>;
|
|
10567
11098
|
}, z.core.$strict>;
|
|
@@ -10732,6 +11263,31 @@ export declare const PutToolPolicyRequest: z.ZodObject<{
|
|
|
10732
11263
|
reason: z.ZodOptional<z.ZodString>;
|
|
10733
11264
|
}, z.core.$strict>>;
|
|
10734
11265
|
}, z.core.$strict>;
|
|
11266
|
+
export declare const PutModelInputsRequest: z.ZodObject<{
|
|
11267
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
11268
|
+
provider: z.ZodString;
|
|
11269
|
+
model: z.ZodString;
|
|
11270
|
+
inputs: z.ZodArray<z.ZodEnum<{
|
|
11271
|
+
audio: "audio";
|
|
11272
|
+
image: "image";
|
|
11273
|
+
office: "office";
|
|
11274
|
+
pdf: "pdf";
|
|
11275
|
+
text: "text";
|
|
11276
|
+
video: "video";
|
|
11277
|
+
}>>;
|
|
11278
|
+
}, z.core.$strict>;
|
|
11279
|
+
export declare const ModelInputsView: z.ZodObject<{
|
|
11280
|
+
provider: z.ZodString;
|
|
11281
|
+
model: z.ZodString;
|
|
11282
|
+
inputs: z.ZodArray<z.ZodEnum<{
|
|
11283
|
+
audio: "audio";
|
|
11284
|
+
image: "image";
|
|
11285
|
+
office: "office";
|
|
11286
|
+
pdf: "pdf";
|
|
11287
|
+
text: "text";
|
|
11288
|
+
video: "video";
|
|
11289
|
+
}>>;
|
|
11290
|
+
}, z.core.$strict>;
|
|
10735
11291
|
export declare const PutTenantEnvironmentsRequest: z.ZodObject<{
|
|
10736
11292
|
limits: z.ZodOptional<z.ZodObject<{
|
|
10737
11293
|
network: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -10771,8 +11327,24 @@ export declare const ListProvidersResponse: z.ZodObject<{
|
|
|
10771
11327
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10772
11328
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
10773
11329
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
11330
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11331
|
+
audio: "audio";
|
|
11332
|
+
image: "image";
|
|
11333
|
+
office: "office";
|
|
11334
|
+
pdf: "pdf";
|
|
11335
|
+
text: "text";
|
|
11336
|
+
video: "video";
|
|
11337
|
+
}>>>;
|
|
10774
11338
|
compat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10775
11339
|
}, z.core.$strict>>;
|
|
11340
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11341
|
+
audio: "audio";
|
|
11342
|
+
image: "image";
|
|
11343
|
+
office: "office";
|
|
11344
|
+
pdf: "pdf";
|
|
11345
|
+
text: "text";
|
|
11346
|
+
video: "video";
|
|
11347
|
+
}>>>;
|
|
10776
11348
|
lastUpdated: z.ZodString;
|
|
10777
11349
|
active: z.ZodBoolean;
|
|
10778
11350
|
}, z.core.$strict>>;
|
|
@@ -10792,6 +11364,14 @@ export declare const HostModelView: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
10792
11364
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10793
11365
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
10794
11366
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
11367
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11368
|
+
audio: "audio";
|
|
11369
|
+
image: "image";
|
|
11370
|
+
office: "office";
|
|
11371
|
+
pdf: "pdf";
|
|
11372
|
+
text: "text";
|
|
11373
|
+
video: "video";
|
|
11374
|
+
}>>>;
|
|
10795
11375
|
compat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10796
11376
|
}, z.core.$strict>>;
|
|
10797
11377
|
}, z.core.$strict>]>;
|
|
@@ -10805,6 +11385,14 @@ export declare const PutHostModelRequest: z.ZodObject<{
|
|
|
10805
11385
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
10806
11386
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
10807
11387
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
11388
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11389
|
+
audio: "audio";
|
|
11390
|
+
image: "image";
|
|
11391
|
+
office: "office";
|
|
11392
|
+
pdf: "pdf";
|
|
11393
|
+
text: "text";
|
|
11394
|
+
video: "video";
|
|
11395
|
+
}>>>;
|
|
10808
11396
|
compat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10809
11397
|
}, z.core.$strict>>;
|
|
10810
11398
|
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -12126,94 +12714,6 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
12126
12714
|
full: "full";
|
|
12127
12715
|
metadata: "metadata";
|
|
12128
12716
|
}>;
|
|
12129
|
-
} & {
|
|
12130
|
-
type: z.ZodLiteral<"egress.connection">;
|
|
12131
|
-
payload: z.ZodObject<{
|
|
12132
|
-
environmentId: z.ZodString;
|
|
12133
|
-
host: z.ZodString;
|
|
12134
|
-
port: z.ZodNumber;
|
|
12135
|
-
outcome: z.ZodEnum<{
|
|
12136
|
-
allowed: "allowed";
|
|
12137
|
-
refused: "refused";
|
|
12138
|
-
}>;
|
|
12139
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
12140
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
12141
|
-
mode: z.ZodEnum<{
|
|
12142
|
-
credential: "credential";
|
|
12143
|
-
tunnel: "tunnel";
|
|
12144
|
-
}>;
|
|
12145
|
-
credentialBound: z.ZodBoolean;
|
|
12146
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12147
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
12148
|
-
bytesUp: z.ZodNumber;
|
|
12149
|
-
bytesDown: z.ZodNumber;
|
|
12150
|
-
durationMs: z.ZodNumber;
|
|
12151
|
-
startedAt: z.ZodString;
|
|
12152
|
-
}, z.core.$loose>;
|
|
12153
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
12154
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
12155
|
-
eventId: z.ZodString;
|
|
12156
|
-
tenantId: z.ZodString;
|
|
12157
|
-
sessionId: z.ZodString;
|
|
12158
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
12159
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
12160
|
-
incarnation: z.ZodNumber;
|
|
12161
|
-
epoch: z.ZodNumber;
|
|
12162
|
-
seq: z.ZodNumber;
|
|
12163
|
-
cursor: z.ZodString;
|
|
12164
|
-
time: z.ZodString;
|
|
12165
|
-
schemaVersion: z.ZodNumber;
|
|
12166
|
-
source: z.ZodObject<{
|
|
12167
|
-
kind: z.ZodEnum<{
|
|
12168
|
-
api: "api";
|
|
12169
|
-
client: "client";
|
|
12170
|
-
controller: "controller";
|
|
12171
|
-
core: "core";
|
|
12172
|
-
edge: "edge";
|
|
12173
|
-
"egress-gate": "egress-gate";
|
|
12174
|
-
evidence: "evidence";
|
|
12175
|
-
harness: "harness";
|
|
12176
|
-
human: "human";
|
|
12177
|
-
init: "init";
|
|
12178
|
-
loop: "loop";
|
|
12179
|
-
"model-gate": "model-gate";
|
|
12180
|
-
operator: "operator";
|
|
12181
|
-
sandboxes: "sandboxes";
|
|
12182
|
-
supervisor: "supervisor";
|
|
12183
|
-
"tool-gate": "tool-gate";
|
|
12184
|
-
}>;
|
|
12185
|
-
id: z.ZodString;
|
|
12186
|
-
}, z.core.$strip>;
|
|
12187
|
-
evidence: z.ZodEnum<{
|
|
12188
|
-
asserted: "asserted";
|
|
12189
|
-
attested: "attested";
|
|
12190
|
-
claimed: "claimed";
|
|
12191
|
-
measured: "measured";
|
|
12192
|
-
observed: "observed";
|
|
12193
|
-
}>;
|
|
12194
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
12195
|
-
kind: z.ZodEnum<{
|
|
12196
|
-
application: "application";
|
|
12197
|
-
core: "core";
|
|
12198
|
-
"flow-host": "flow-host";
|
|
12199
|
-
subject: "subject";
|
|
12200
|
-
}>;
|
|
12201
|
-
id: z.ZodString;
|
|
12202
|
-
}, z.core.$strict>>;
|
|
12203
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
12204
|
-
traceId: z.ZodString;
|
|
12205
|
-
spanId: z.ZodString;
|
|
12206
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
12207
|
-
}, z.core.$strip>>;
|
|
12208
|
-
visibility: z.ZodEnum<{
|
|
12209
|
-
internal: "internal";
|
|
12210
|
-
public: "public";
|
|
12211
|
-
restricted: "restricted";
|
|
12212
|
-
}>;
|
|
12213
|
-
retention: z.ZodEnum<{
|
|
12214
|
-
full: "full";
|
|
12215
|
-
metadata: "metadata";
|
|
12216
|
-
}>;
|
|
12217
12717
|
} & {
|
|
12218
12718
|
type: z.ZodLiteral<"environment.attached">;
|
|
12219
12719
|
payload: z.ZodObject<{
|
|
@@ -12588,8 +13088,11 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
12588
13088
|
payload: z.ZodObject<{
|
|
12589
13089
|
servers: z.ZodArray<z.ZodObject<{
|
|
12590
13090
|
agentId: z.ZodOptional<z.ZodString>;
|
|
12591
|
-
capabilityId: z.ZodString;
|
|
12592
13091
|
serverName: z.ZodString;
|
|
13092
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
13093
|
+
name: z.ZodString;
|
|
13094
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13095
|
+
}, z.core.$strict>>;
|
|
12593
13096
|
outcome: z.ZodEnum<{
|
|
12594
13097
|
connected: "connected";
|
|
12595
13098
|
failed: "failed";
|
|
@@ -13100,7 +13603,6 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
13100
13603
|
callId: z.ZodString;
|
|
13101
13604
|
invocationId: z.ZodString;
|
|
13102
13605
|
effectId: z.ZodOptional<z.ZodString>;
|
|
13103
|
-
capabilityId: z.ZodString;
|
|
13104
13606
|
toolName: z.ZodString;
|
|
13105
13607
|
status: z.ZodOptional<z.ZodEnum<{
|
|
13106
13608
|
cancelled: "cancelled";
|
|
@@ -13108,12 +13610,18 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
13108
13610
|
failed: "failed";
|
|
13109
13611
|
}>>;
|
|
13110
13612
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
13613
|
+
harness: "harness";
|
|
13111
13614
|
http: "http";
|
|
13112
13615
|
mcp: "mcp";
|
|
13113
13616
|
platform: "platform";
|
|
13114
13617
|
sandbox: "sandbox";
|
|
13115
13618
|
}>>;
|
|
13116
13619
|
server: z.ZodOptional<z.ZodString>;
|
|
13620
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
13621
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
13622
|
+
name: z.ZodString;
|
|
13623
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13624
|
+
}, z.core.$strict>>;
|
|
13117
13625
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
13118
13626
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
13119
13627
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -14521,94 +15029,6 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
14521
15029
|
full: "full";
|
|
14522
15030
|
metadata: "metadata";
|
|
14523
15031
|
}>;
|
|
14524
|
-
} & {
|
|
14525
|
-
type: z.ZodLiteral<"egress.connection">;
|
|
14526
|
-
payload: z.ZodObject<{
|
|
14527
|
-
environmentId: z.ZodString;
|
|
14528
|
-
host: z.ZodString;
|
|
14529
|
-
port: z.ZodNumber;
|
|
14530
|
-
outcome: z.ZodEnum<{
|
|
14531
|
-
allowed: "allowed";
|
|
14532
|
-
refused: "refused";
|
|
14533
|
-
}>;
|
|
14534
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
14535
|
-
status: z.ZodOptional<z.ZodNumber>;
|
|
14536
|
-
mode: z.ZodEnum<{
|
|
14537
|
-
credential: "credential";
|
|
14538
|
-
tunnel: "tunnel";
|
|
14539
|
-
}>;
|
|
14540
|
-
credentialBound: z.ZodBoolean;
|
|
14541
|
-
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14542
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
14543
|
-
bytesUp: z.ZodNumber;
|
|
14544
|
-
bytesDown: z.ZodNumber;
|
|
14545
|
-
durationMs: z.ZodNumber;
|
|
14546
|
-
startedAt: z.ZodString;
|
|
14547
|
-
}, z.core.$loose>;
|
|
14548
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
14549
|
-
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
14550
|
-
eventId: z.ZodString;
|
|
14551
|
-
tenantId: z.ZodString;
|
|
14552
|
-
sessionId: z.ZodString;
|
|
14553
|
-
runId: z.ZodNullable<z.ZodString>;
|
|
14554
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
14555
|
-
incarnation: z.ZodNumber;
|
|
14556
|
-
epoch: z.ZodNumber;
|
|
14557
|
-
seq: z.ZodNumber;
|
|
14558
|
-
cursor: z.ZodString;
|
|
14559
|
-
time: z.ZodString;
|
|
14560
|
-
schemaVersion: z.ZodNumber;
|
|
14561
|
-
source: z.ZodObject<{
|
|
14562
|
-
kind: z.ZodEnum<{
|
|
14563
|
-
api: "api";
|
|
14564
|
-
client: "client";
|
|
14565
|
-
controller: "controller";
|
|
14566
|
-
core: "core";
|
|
14567
|
-
edge: "edge";
|
|
14568
|
-
"egress-gate": "egress-gate";
|
|
14569
|
-
evidence: "evidence";
|
|
14570
|
-
harness: "harness";
|
|
14571
|
-
human: "human";
|
|
14572
|
-
init: "init";
|
|
14573
|
-
loop: "loop";
|
|
14574
|
-
"model-gate": "model-gate";
|
|
14575
|
-
operator: "operator";
|
|
14576
|
-
sandboxes: "sandboxes";
|
|
14577
|
-
supervisor: "supervisor";
|
|
14578
|
-
"tool-gate": "tool-gate";
|
|
14579
|
-
}>;
|
|
14580
|
-
id: z.ZodString;
|
|
14581
|
-
}, z.core.$strip>;
|
|
14582
|
-
evidence: z.ZodEnum<{
|
|
14583
|
-
asserted: "asserted";
|
|
14584
|
-
attested: "attested";
|
|
14585
|
-
claimed: "claimed";
|
|
14586
|
-
measured: "measured";
|
|
14587
|
-
observed: "observed";
|
|
14588
|
-
}>;
|
|
14589
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
14590
|
-
kind: z.ZodEnum<{
|
|
14591
|
-
application: "application";
|
|
14592
|
-
core: "core";
|
|
14593
|
-
"flow-host": "flow-host";
|
|
14594
|
-
subject: "subject";
|
|
14595
|
-
}>;
|
|
14596
|
-
id: z.ZodString;
|
|
14597
|
-
}, z.core.$strict>>;
|
|
14598
|
-
trace: z.ZodOptional<z.ZodObject<{
|
|
14599
|
-
traceId: z.ZodString;
|
|
14600
|
-
spanId: z.ZodString;
|
|
14601
|
-
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
14602
|
-
}, z.core.$strip>>;
|
|
14603
|
-
visibility: z.ZodEnum<{
|
|
14604
|
-
internal: "internal";
|
|
14605
|
-
public: "public";
|
|
14606
|
-
restricted: "restricted";
|
|
14607
|
-
}>;
|
|
14608
|
-
retention: z.ZodEnum<{
|
|
14609
|
-
full: "full";
|
|
14610
|
-
metadata: "metadata";
|
|
14611
|
-
}>;
|
|
14612
15032
|
} & {
|
|
14613
15033
|
type: z.ZodLiteral<"environment.attached">;
|
|
14614
15034
|
payload: z.ZodObject<{
|
|
@@ -14983,8 +15403,11 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
14983
15403
|
payload: z.ZodObject<{
|
|
14984
15404
|
servers: z.ZodArray<z.ZodObject<{
|
|
14985
15405
|
agentId: z.ZodOptional<z.ZodString>;
|
|
14986
|
-
capabilityId: z.ZodString;
|
|
14987
15406
|
serverName: z.ZodString;
|
|
15407
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
15408
|
+
name: z.ZodString;
|
|
15409
|
+
version: z.ZodOptional<z.ZodString>;
|
|
15410
|
+
}, z.core.$strict>>;
|
|
14988
15411
|
outcome: z.ZodEnum<{
|
|
14989
15412
|
connected: "connected";
|
|
14990
15413
|
failed: "failed";
|
|
@@ -15495,7 +15918,6 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
15495
15918
|
callId: z.ZodString;
|
|
15496
15919
|
invocationId: z.ZodString;
|
|
15497
15920
|
effectId: z.ZodOptional<z.ZodString>;
|
|
15498
|
-
capabilityId: z.ZodString;
|
|
15499
15921
|
toolName: z.ZodString;
|
|
15500
15922
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15501
15923
|
cancelled: "cancelled";
|
|
@@ -15503,12 +15925,18 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
15503
15925
|
failed: "failed";
|
|
15504
15926
|
}>>;
|
|
15505
15927
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
15928
|
+
harness: "harness";
|
|
15506
15929
|
http: "http";
|
|
15507
15930
|
mcp: "mcp";
|
|
15508
15931
|
platform: "platform";
|
|
15509
15932
|
sandbox: "sandbox";
|
|
15510
15933
|
}>>;
|
|
15511
15934
|
server: z.ZodOptional<z.ZodString>;
|
|
15935
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
15936
|
+
plugin: z.ZodOptional<z.ZodObject<{
|
|
15937
|
+
name: z.ZodString;
|
|
15938
|
+
version: z.ZodOptional<z.ZodString>;
|
|
15939
|
+
}, z.core.$strict>>;
|
|
15512
15940
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
15513
15941
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
15514
15942
|
gate: z.ZodOptional<z.ZodObject<{
|
|
@@ -16005,7 +16433,7 @@ export declare const EnvironmentPage: z.ZodObject<{
|
|
|
16005
16433
|
virtual: "virtual";
|
|
16006
16434
|
}>;
|
|
16007
16435
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
16008
|
-
|
|
16436
|
+
manifest: z.ZodObject<{
|
|
16009
16437
|
image: z.ZodOptional<z.ZodString>;
|
|
16010
16438
|
resources: z.ZodOptional<z.ZodObject<{
|
|
16011
16439
|
cpus: z.ZodNumber;
|
|
@@ -16025,12 +16453,60 @@ export declare const EnvironmentPage: z.ZodObject<{
|
|
|
16025
16453
|
cwd: z.ZodOptional<z.ZodString>;
|
|
16026
16454
|
timeout: z.ZodOptional<z.ZodString>;
|
|
16027
16455
|
}, z.core.$strict>>>;
|
|
16028
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16456
|
+
files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
16029
16457
|
artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
16030
16458
|
version: z.ZodNumber;
|
|
16031
16459
|
path: z.ZodString;
|
|
16032
|
-
}, z.core.$strict
|
|
16460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16461
|
+
path: z.ZodString;
|
|
16462
|
+
files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
16463
|
+
}, z.core.$strict>]>>>;
|
|
16464
|
+
secrets: z.ZodOptional<z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16465
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
16466
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16467
|
+
type: z.ZodLiteral<"environment_secret">;
|
|
16468
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
16469
|
+
inject: z.ZodOptional<z.ZodObject<{
|
|
16470
|
+
header: z.ZodString;
|
|
16471
|
+
format: z.ZodString;
|
|
16472
|
+
}, z.core.$strict>>;
|
|
16473
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16474
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
16475
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16476
|
+
type: z.ZodLiteral<"environment_variable">;
|
|
16477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16478
|
+
via: z.ZodOptional<z.ZodString>;
|
|
16479
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
16480
|
+
header: z.ZodString;
|
|
16481
|
+
}, z.core.$strict>>;
|
|
16482
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
16483
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16484
|
+
type: z.ZodLiteral<"bearer">;
|
|
16485
|
+
url: z.ZodString;
|
|
16486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16487
|
+
via: z.ZodOptional<z.ZodString>;
|
|
16488
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
16489
|
+
header: z.ZodString;
|
|
16490
|
+
}, z.core.$strict>>;
|
|
16491
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
16492
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16493
|
+
type: z.ZodLiteral<"headers">;
|
|
16494
|
+
url: z.ZodString;
|
|
16495
|
+
}, z.core.$strict>], "type">>>>;
|
|
16033
16496
|
}, z.core.$strict>;
|
|
16497
|
+
manifestName: z.ZodOptional<z.ZodString>;
|
|
16498
|
+
manifestVersion: z.ZodOptional<z.ZodNumber>;
|
|
16499
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
16500
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
16501
|
+
environment: z.ZodString;
|
|
16502
|
+
disk: z.ZodNullable<z.ZodNumber>;
|
|
16503
|
+
}, z.core.$strict>>;
|
|
16504
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16505
|
+
name: z.ZodString;
|
|
16506
|
+
type: z.ZodString;
|
|
16507
|
+
required: z.ZodBoolean;
|
|
16508
|
+
set: z.ZodBoolean;
|
|
16509
|
+
}, z.core.$strict>>>;
|
|
16034
16510
|
version: z.ZodNumber;
|
|
16035
16511
|
appliedVersion: z.ZodNumber;
|
|
16036
16512
|
ownerUserId: z.ZodNullable<z.ZodString>;
|
|
@@ -16052,6 +16528,7 @@ export declare const EnvironmentPage: z.ZodObject<{
|
|
|
16052
16528
|
volumeGeneration: z.ZodNumber;
|
|
16053
16529
|
hostEpoch: z.ZodNumber;
|
|
16054
16530
|
reason: z.ZodOptional<z.ZodString>;
|
|
16531
|
+
imageDigest: z.ZodOptional<z.ZodString>;
|
|
16055
16532
|
}, z.core.$strict>>;
|
|
16056
16533
|
lastUsedAt: z.ZodString;
|
|
16057
16534
|
disk: z.ZodOptional<z.ZodObject<{
|
|
@@ -16078,15 +16555,20 @@ export declare const ToolCall: z.ZodObject<{
|
|
|
16078
16555
|
effectId: z.ZodString;
|
|
16079
16556
|
turnId: z.ZodString;
|
|
16080
16557
|
callId: z.ZodNullable<z.ZodString>;
|
|
16081
|
-
capabilityId: z.ZodNullable<z.ZodString>;
|
|
16082
16558
|
toolName: z.ZodNullable<z.ZodString>;
|
|
16083
16559
|
kind: z.ZodNullable<z.ZodEnum<{
|
|
16560
|
+
harness: "harness";
|
|
16084
16561
|
http: "http";
|
|
16085
16562
|
mcp: "mcp";
|
|
16086
16563
|
platform: "platform";
|
|
16087
16564
|
sandbox: "sandbox";
|
|
16088
16565
|
}>>;
|
|
16089
16566
|
server: z.ZodNullable<z.ZodString>;
|
|
16567
|
+
skill: z.ZodNullable<z.ZodString>;
|
|
16568
|
+
plugin: z.ZodNullable<z.ZodObject<{
|
|
16569
|
+
name: z.ZodString;
|
|
16570
|
+
version: z.ZodOptional<z.ZodString>;
|
|
16571
|
+
}, z.core.$strict>>;
|
|
16090
16572
|
status: z.ZodEnum<{
|
|
16091
16573
|
cancelled: "cancelled";
|
|
16092
16574
|
completed: "completed";
|
|
@@ -16112,15 +16594,20 @@ export declare const ToolCallsPage: z.ZodObject<{
|
|
|
16112
16594
|
effectId: z.ZodString;
|
|
16113
16595
|
turnId: z.ZodString;
|
|
16114
16596
|
callId: z.ZodNullable<z.ZodString>;
|
|
16115
|
-
capabilityId: z.ZodNullable<z.ZodString>;
|
|
16116
16597
|
toolName: z.ZodNullable<z.ZodString>;
|
|
16117
16598
|
kind: z.ZodNullable<z.ZodEnum<{
|
|
16599
|
+
harness: "harness";
|
|
16118
16600
|
http: "http";
|
|
16119
16601
|
mcp: "mcp";
|
|
16120
16602
|
platform: "platform";
|
|
16121
16603
|
sandbox: "sandbox";
|
|
16122
16604
|
}>>;
|
|
16123
16605
|
server: z.ZodNullable<z.ZodString>;
|
|
16606
|
+
skill: z.ZodNullable<z.ZodString>;
|
|
16607
|
+
plugin: z.ZodNullable<z.ZodObject<{
|
|
16608
|
+
name: z.ZodString;
|
|
16609
|
+
version: z.ZodOptional<z.ZodString>;
|
|
16610
|
+
}, z.core.$strict>>;
|
|
16124
16611
|
status: z.ZodEnum<{
|
|
16125
16612
|
cancelled: "cancelled";
|
|
16126
16613
|
completed: "completed";
|