@nylorun/runtime 0.15.2-beta → 0.17.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 +134 -0
- package/README.md +68 -29
- package/dist/adapters/execution/restate.d.ts +9 -1
- package/dist/adapters/execution/restate.js +64 -5
- package/dist/adapters/sandbox/local.d.ts +10 -0
- package/dist/adapters/sandbox/local.js +195 -0
- package/dist/adapters/sandbox/virtual.js +36 -1
- package/dist/admin-openapi.json +341 -7
- package/dist/api/a2a/tasks.js +6 -1
- package/dist/api/ag-ui/endpoint.js +1 -2
- package/dist/api/ag-ui/history.js +6 -1
- package/dist/api/ag-ui/routes.d.ts +1 -1
- package/dist/api/ag-ui/routes.js +15 -13
- package/dist/api/components.d.ts +2667 -711
- package/dist/api/components.js +24 -11
- package/dist/api/gate/keys.d.ts +4 -3
- package/dist/api/gate/routes.d.ts +19 -3
- package/dist/api/gate/routes.js +162 -53
- package/dist/api/http/app.js +6 -0
- package/dist/api/http/define.d.ts +19 -12
- package/dist/api/http/define.js +13 -27
- package/dist/api/http/routes/access.d.ts +3 -19
- package/dist/api/http/routes/access.js +12 -172
- package/dist/api/http/routes/actions.js +0 -1
- package/dist/api/http/routes/artifacts.d.ts +11 -0
- package/dist/api/http/routes/artifacts.js +516 -0
- package/dist/api/http/routes/me.d.ts +13 -0
- package/dist/api/http/routes/me.js +45 -0
- package/dist/api/http/routes/sandboxes.d.ts +9 -0
- package/dist/api/http/routes/sandboxes.js +150 -0
- package/dist/api/http/routes/sessions.js +9 -13
- package/dist/api/http/routes/tenant.js +36 -2
- package/dist/api/http/routes/vaults.d.ts +12 -3
- package/dist/api/http/routes/vaults.js +122 -54
- package/dist/api/openapi.js +4 -10
- package/dist/artifacts/config.d.ts +23 -0
- package/dist/artifacts/config.js +27 -0
- package/dist/artifacts/export.d.ts +8 -0
- package/dist/artifacts/export.js +205 -0
- package/dist/artifacts/files.d.ts +36 -0
- package/dist/artifacts/files.js +45 -0
- package/dist/artifacts/folders.d.ts +60 -0
- package/dist/artifacts/folders.js +209 -0
- package/dist/artifacts/links.d.ts +28 -0
- package/dist/artifacts/links.js +92 -0
- package/dist/artifacts/media-types.d.ts +13 -0
- package/dist/artifacts/media-types.js +80 -0
- package/dist/artifacts/parts.d.ts +34 -0
- package/dist/artifacts/parts.js +38 -0
- package/dist/artifacts/service.d.ts +74 -0
- package/dist/artifacts/service.js +301 -0
- package/dist/artifacts/workspace.d.ts +60 -0
- package/dist/artifacts/workspace.js +57 -0
- package/dist/artifacts/zip.d.ts +10 -0
- package/dist/artifacts/zip.js +126 -0
- package/dist/blob/fs.d.ts +13 -0
- package/dist/blob/fs.js +194 -0
- package/dist/blob/index.d.ts +9 -0
- package/dist/blob/index.js +9 -0
- package/dist/blob/s3.d.ts +42 -0
- package/dist/blob/s3.js +366 -0
- package/dist/blob/types.d.ts +108 -0
- package/dist/blob/types.js +85 -0
- package/dist/core/sandbox-routes.d.ts +2 -2
- package/dist/core/sandbox-routes.js +4 -3
- package/dist/execution/memory.d.ts +11 -1
- package/dist/execution/memory.js +77 -3
- package/dist/execution/types.d.ts +54 -1
- package/dist/execution/types.js +31 -0
- package/dist/gates/contract.d.ts +14 -13
- package/dist/gates/contract.js +13 -12
- package/dist/gates/egress.d.ts +72 -0
- package/dist/gates/egress.js +319 -0
- package/dist/gates/handler.d.ts +3 -0
- package/dist/gates/handler.js +3 -2
- package/dist/gates/http-client.d.ts +3 -2
- package/dist/gates/http-client.js +17 -6
- package/dist/gates/in-process.d.ts +13 -1
- package/dist/gates/in-process.js +11 -0
- package/dist/gates/inflight.d.ts +23 -4
- package/dist/gates/inflight.js +18 -4
- package/dist/gates/mcp-handler.js +5 -1
- package/dist/gates/model-gate.d.ts +6 -2
- package/dist/gates/tenant-vaults.d.ts +18 -9
- package/dist/gates/tenant-vaults.js +17 -12
- package/dist/gates/tool-calls.d.ts +9 -5
- package/dist/gates/tool-calls.js +6 -6
- package/dist/gates/tool-client.d.ts +9 -2
- package/dist/gates/tool-client.js +56 -22
- package/dist/gates/tool-contract.d.ts +12 -7
- package/dist/gates/tool-contract.js +10 -4
- package/dist/gates/tool-gate.d.ts +1 -0
- package/dist/harness/calls.d.ts +52 -0
- package/dist/harness/calls.js +113 -0
- package/dist/harness/executors.d.ts +22 -0
- package/dist/harness/executors.js +96 -0
- package/dist/harness/main.d.ts +6 -0
- package/dist/harness/main.js +103 -0
- package/dist/harness/pod.d.ts +21 -0
- package/dist/harness/pod.js +119 -0
- package/dist/harness/run-tokens.d.ts +18 -0
- package/dist/harness/run-tokens.js +15 -0
- package/dist/harness/service.d.ts +46 -0
- package/dist/harness/service.js +179 -0
- package/dist/harness/ws-client.d.ts +43 -0
- package/dist/harness/ws-client.js +122 -0
- package/dist/harness/ws-port.d.ts +22 -0
- package/dist/harness/ws-port.js +78 -0
- package/dist/harness-api/in-process.d.ts +24 -0
- package/dist/harness-api/in-process.js +119 -0
- package/dist/harness-api/record.d.ts +44 -0
- package/dist/harness-api/record.js +250 -0
- package/dist/harness-api/renew.d.ts +37 -0
- package/dist/harness-api/renew.js +77 -0
- package/dist/harness-api/server.d.ts +104 -0
- package/dist/harness-api/server.js +408 -0
- package/dist/harness-api/start.d.ts +36 -0
- package/dist/harness-api/start.js +118 -0
- package/dist/harness-api/workspace.d.ts +53 -0
- package/dist/harness-api/workspace.js +201 -0
- package/dist/harness-api/ws-server.d.ts +34 -0
- package/dist/harness-api/ws-server.js +227 -0
- package/dist/host/admin-api.d.ts +12 -5
- package/dist/host/admin-api.js +72 -6
- package/dist/host/app.d.ts +0 -1
- package/dist/host/app.js +35 -24
- package/dist/host/config-for.d.ts +4 -0
- package/dist/host/config-for.js +2 -0
- package/dist/host/config.d.ts +0 -6
- package/dist/host/create-host.d.ts +3 -10
- package/dist/host/create-host.js +4 -1
- package/dist/host/gates.d.ts +27 -2
- package/dist/host/gates.js +52 -2
- package/dist/host/http.d.ts +4 -1
- package/dist/host/http.js +6 -1
- package/dist/host/main.js +167 -37
- package/dist/host/stack-config.d.ts +112 -9
- package/dist/host/stack-config.js +222 -20
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/keys/client.js +9 -1
- package/dist/keys/keys.d.ts +12 -2
- package/dist/keys/keys.js +8 -0
- package/dist/mcp/connect.js +2 -1
- package/dist/mcp/pool.d.ts +1 -0
- package/dist/mcp/pool.js +1 -0
- package/dist/mcp/snapshot.d.ts +8 -1
- package/dist/mcp/snapshot.js +28 -0
- package/dist/media.d.ts +5 -24
- package/dist/media.js +5 -0
- package/dist/model/pi-model.d.ts +6 -2
- package/dist/model/pi-model.js +39 -22
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +1 -1
- package/dist/openapi.json +14084 -9426
- package/dist/record/index.d.ts +1 -0
- package/dist/record/index.js +1 -0
- package/dist/record/sandbox.d.ts +25 -0
- package/dist/record/sandbox.js +43 -0
- package/dist/sandbox/capability.d.ts +3 -0
- package/dist/sandbox/capability.js +10 -0
- package/dist/sandbox/egress-token.d.ts +26 -0
- package/dist/sandbox/egress-token.js +8 -0
- package/dist/sandbox/join.d.ts +37 -0
- package/dist/sandbox/join.js +165 -0
- package/dist/sandbox/manager.d.ts +99 -34
- package/dist/sandbox/manager.js +216 -84
- package/dist/sandbox/placement.d.ts +27 -0
- package/dist/sandbox/placement.js +44 -0
- package/dist/sandbox/pods/client.d.ts +90 -0
- package/dist/sandbox/pods/client.js +79 -0
- package/dist/sandbox/pods/lifecycle.d.ts +91 -0
- package/dist/sandbox/pods/lifecycle.js +178 -0
- package/dist/sandbox/pods/name.d.ts +1 -0
- package/dist/sandbox/pods/name.js +28 -0
- package/dist/sandbox/pods/network-gate.d.ts +25 -0
- package/dist/sandbox/pods/network-gate.js +71 -0
- package/dist/sandbox/pods/reconcile.d.ts +11 -0
- package/dist/sandbox/pods/reconcile.js +152 -0
- package/dist/sandbox/pods/spec.d.ts +45 -0
- package/dist/sandbox/pods/spec.js +62 -0
- package/dist/sandbox/records.d.ts +29 -0
- package/dist/sandbox/records.js +79 -0
- package/dist/sandbox/resolve.d.ts +5 -0
- package/dist/sandbox/resolve.js +3 -2
- package/dist/sandbox/session-sandbox.js +7 -5
- package/dist/sandbox/share.d.ts +11 -0
- package/dist/sandbox/share.js +10 -0
- package/dist/sandbox/tenant-config.d.ts +16 -1
- package/dist/sandbox/tenant-config.js +9 -0
- package/dist/sandbox/types.d.ts +29 -1
- package/dist/sandbox/types.js +13 -1
- package/dist/store/postgres/drizzle/0004_sandbox_resources.sql +20 -0
- package/dist/store/postgres/drizzle/0005_artifacts.sql +27 -0
- package/dist/store/postgres/drizzle/0006_folder_artifacts.sql +12 -0
- package/dist/store/postgres/drizzle/0007_sandbox_pods.sql +14 -0
- package/dist/store/postgres/drizzle/0008_installation_vaults.sql +2 -0
- package/dist/store/postgres/drizzle/0009_oauth_pending.sql +19 -0
- package/dist/store/postgres/drizzle/0010_oss_auth_removals.sql +3 -0
- package/dist/store/postgres/drizzle/meta/_journal.json +49 -0
- package/dist/store/postgres/record-writer.d.ts +6 -1
- package/dist/store/postgres/record-writer.js +20 -2
- package/dist/store/postgres/schema.d.ts +1168 -250
- package/dist/store/postgres/schema.js +174 -28
- package/dist/store/postgres/store.js +339 -103
- package/dist/store/postgres/tenant.d.ts +1 -1
- package/dist/store/postgres/tenant.js +2 -2
- package/dist/store/types.d.ts +163 -32
- package/dist/streams/control.d.ts +2 -5
- package/dist/streams/control.js +5 -8
- package/dist/streams/types.d.ts +8 -8
- package/dist/streams/types.js +1 -1
- package/dist/tenant/advance.js +218 -160
- package/dist/tenant/artifact-tool.d.ts +5 -0
- package/dist/tenant/artifact-tool.js +119 -0
- package/dist/tenant/auth.d.ts +13 -9
- package/dist/tenant/auth.js +25 -32
- package/dist/tenant/commands.js +31 -10
- package/dist/tenant/context.d.ts +83 -26
- package/dist/tenant/delivery-token.js +4 -4
- package/dist/tenant/effects.d.ts +24 -14
- package/dist/tenant/effects.js +10 -398
- package/dist/tenant/ephemeral.d.ts +14 -2
- package/dist/tenant/ephemeral.js +8 -1
- package/dist/tenant/history.d.ts +13 -23
- package/dist/tenant/history.js +14 -62
- package/dist/tenant/host-token.d.ts +92 -0
- package/dist/tenant/host-token.js +179 -0
- package/dist/tenant/identity-file.d.ts +75 -0
- package/dist/tenant/identity-file.js +202 -0
- package/dist/tenant/issuers.d.ts +48 -0
- package/dist/tenant/issuers.js +311 -0
- package/dist/tenant/jwt.js +3 -3
- package/dist/tenant/module.js +1 -0
- package/dist/tenant/operator-keys.d.ts +18 -0
- package/dist/tenant/operator-keys.js +55 -0
- package/dist/tenant/outbound.d.ts +30 -0
- package/dist/tenant/outbound.js +142 -10
- package/dist/tenant/paths.d.ts +2 -1
- package/dist/tenant/paths.js +3 -1
- package/dist/tenant/principals.d.ts +2 -11
- package/dist/tenant/principals.js +10 -30
- package/dist/tenant/reset.d.ts +5 -2
- package/dist/tenant/reset.js +22 -2
- package/dist/tenant/run-grants.d.ts +49 -0
- package/dist/tenant/run-grants.js +62 -0
- package/dist/tenant/run-token.d.ts +70 -0
- package/dist/tenant/run-token.js +138 -0
- package/dist/tenant/runtime.d.ts +42 -0
- package/dist/tenant/runtime.js +134 -33
- package/dist/tenant/sandboxes.d.ts +119 -0
- package/dist/tenant/sandboxes.js +551 -0
- package/dist/tenant/session-streams.d.ts +6 -10
- package/dist/tenant/session-streams.js +9 -27
- package/dist/tenant/session.d.ts +2 -13
- package/dist/tenant/session.js +4 -28
- package/dist/tenant/sessions.d.ts +6 -1
- package/dist/tenant/sessions.js +29 -2
- package/dist/tenant/signing-keys.d.ts +2 -1
- package/dist/tenant/signing-keys.js +2 -2
- package/dist/tenant/status.d.ts +8 -3
- package/dist/tenant/status.js +5 -0
- package/dist/tenant/streams.d.ts +8 -2
- package/dist/tenant/streams.js +25 -6
- package/dist/tenant/sweep.js +37 -4
- package/dist/tenant/types.d.ts +39 -1
- package/dist/tenant/worker.d.ts +11 -5
- package/dist/tenant/worker.js +12 -6
- package/dist/vault/crypto.d.ts +7 -0
- package/dist/vault/crypto.js +16 -0
- package/dist/vault/oauth.d.ts +55 -0
- package/dist/vault/oauth.js +186 -0
- package/dist/vault/service.d.ts +54 -7
- package/dist/vault/service.js +261 -17
- package/dist/vault/sources.d.ts +54 -0
- package/dist/vault/sources.js +185 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +14 -10
- package/dist/adapters/media.d.ts +0 -24
- package/dist/adapters/media.js +0 -111
- package/dist/host/cors.d.ts +0 -27
- package/dist/host/cors.js +0 -64
- package/dist/tenant/access-policy.d.ts +0 -30
- package/dist/tenant/access-policy.js +0 -52
- package/dist/tenant/browser.d.ts +0 -15
- package/dist/tenant/browser.js +0 -39
- package/dist/tenant/subject-limits.d.ts +0 -16
- package/dist/tenant/subject-limits.js +0 -45
- package/dist/tenant/tokens.d.ts +0 -14
- package/dist/tenant/tokens.js +0 -180
package/dist/api/components.d.ts
CHANGED
|
@@ -14,11 +14,21 @@ export declare const Rejected: z.ZodObject<{
|
|
|
14
14
|
incompatible_host: "incompatible_host";
|
|
15
15
|
internal_error: "internal_error";
|
|
16
16
|
invalid_request: "invalid_request";
|
|
17
|
+
issuer_unavailable: "issuer_unavailable";
|
|
17
18
|
limit_exceeded: "limit_exceeded";
|
|
18
19
|
not_found: "not_found";
|
|
20
|
+
oauth_client_required: "oauth_client_required";
|
|
21
|
+
oauth_failed: "oauth_failed";
|
|
22
|
+
oauth_state_invalid: "oauth_state_invalid";
|
|
19
23
|
origin_rejected: "origin_rejected";
|
|
24
|
+
placement_refused: "placement_refused";
|
|
20
25
|
protocol_unsupported: "protocol_unsupported";
|
|
21
26
|
request_rejected: "request_rejected";
|
|
27
|
+
sandbox_busy: "sandbox_busy";
|
|
28
|
+
sandbox_expired: "sandbox_expired";
|
|
29
|
+
sandbox_lost: "sandbox_lost";
|
|
30
|
+
sandbox_not_granted: "sandbox_not_granted";
|
|
31
|
+
sandbox_unavailable: "sandbox_unavailable";
|
|
22
32
|
scope_required: "scope_required";
|
|
23
33
|
subject_invalid: "subject_invalid";
|
|
24
34
|
subject_required: "subject_required";
|
|
@@ -90,6 +100,14 @@ export declare const AdminStatus: z.ZodObject<{
|
|
|
90
100
|
lastError: z.ZodNullable<z.ZodString>;
|
|
91
101
|
lagBytes: z.ZodOptional<z.ZodNumber>;
|
|
92
102
|
}, z.core.$strict>>;
|
|
103
|
+
harness: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
mode: z.ZodEnum<{
|
|
105
|
+
"in-process": "in-process";
|
|
106
|
+
remote: "remote";
|
|
107
|
+
}>;
|
|
108
|
+
connected: z.ZodNumber;
|
|
109
|
+
workspace: z.ZodBoolean;
|
|
110
|
+
}, z.core.$strict>>;
|
|
93
111
|
}, z.core.$strict>;
|
|
94
112
|
host: z.ZodOptional<z.ZodObject<{
|
|
95
113
|
hostId: z.ZodString;
|
|
@@ -100,6 +118,29 @@ export declare const AdminStatus: z.ZodObject<{
|
|
|
100
118
|
export declare const HostShutdownResponse: z.ZodObject<{
|
|
101
119
|
status: z.ZodLiteral<"shutting_down">;
|
|
102
120
|
}, z.core.$strict>;
|
|
121
|
+
export declare const OperatorKey: z.ZodObject<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
role: z.ZodString;
|
|
124
|
+
createdAt: z.ZodString;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
export declare const ListOperatorKeysResponse: z.ZodObject<{
|
|
127
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
128
|
+
id: z.ZodString;
|
|
129
|
+
role: z.ZodString;
|
|
130
|
+
createdAt: z.ZodString;
|
|
131
|
+
}, z.core.$strict>>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
export declare const PutOperatorKeyResponse: z.ZodObject<{
|
|
134
|
+
id: z.ZodString;
|
|
135
|
+
role: z.ZodString;
|
|
136
|
+
createdAt: z.ZodString;
|
|
137
|
+
key: z.ZodString;
|
|
138
|
+
rotated: z.ZodBoolean;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export declare const DeleteOperatorKeyResponse: z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
deleted: z.ZodLiteral<true>;
|
|
143
|
+
}, z.core.$strict>;
|
|
103
144
|
export declare const SandboxToolOutcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
104
145
|
kind: z.ZodLiteral<"completed">;
|
|
105
146
|
output: z.ZodUnknown;
|
|
@@ -108,6 +149,317 @@ export declare const SandboxToolOutcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
108
149
|
code: z.ZodString;
|
|
109
150
|
message: z.ZodString;
|
|
110
151
|
}, z.core.$strict>], "kind">;
|
|
152
|
+
export declare const PutSandboxRequest: z.ZodObject<{
|
|
153
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
154
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
pod: "pod";
|
|
156
|
+
virtual: "virtual";
|
|
157
|
+
}>>;
|
|
158
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
159
|
+
image: z.ZodOptional<z.ZodString>;
|
|
160
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
cpus: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
|
+
storage: z.ZodOptional<z.ZodString>;
|
|
168
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
ttl: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export declare const SandboxView: z.ZodObject<{
|
|
173
|
+
id: z.ZodString;
|
|
174
|
+
kind: z.ZodEnum<{
|
|
175
|
+
pod: "pod";
|
|
176
|
+
virtual: "virtual";
|
|
177
|
+
}>;
|
|
178
|
+
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
179
|
+
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
180
|
+
state: z.ZodEnum<{
|
|
181
|
+
creating: "creating";
|
|
182
|
+
ready: "ready";
|
|
183
|
+
running: "running";
|
|
184
|
+
stopped: "stopped";
|
|
185
|
+
}>;
|
|
186
|
+
pod: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
desired: z.ZodEnum<{
|
|
188
|
+
deleted: "deleted";
|
|
189
|
+
running: "running";
|
|
190
|
+
suspended: "suspended";
|
|
191
|
+
}>;
|
|
192
|
+
observed: z.ZodEnum<{
|
|
193
|
+
creating: "creating";
|
|
194
|
+
deleting: "deleting";
|
|
195
|
+
expired: "expired";
|
|
196
|
+
failed: "failed";
|
|
197
|
+
lost: "lost";
|
|
198
|
+
running: "running";
|
|
199
|
+
suspended: "suspended";
|
|
200
|
+
}>;
|
|
201
|
+
volumeGeneration: z.ZodNumber;
|
|
202
|
+
hostEpoch: z.ZodNumber;
|
|
203
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
204
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
207
|
+
id: z.ZodString;
|
|
208
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>>;
|
|
210
|
+
createdAt: z.ZodString;
|
|
211
|
+
updatedAt: z.ZodString;
|
|
212
|
+
}, z.core.$strict>;
|
|
213
|
+
export declare const ListSandboxesResponse: z.ZodObject<{
|
|
214
|
+
sandboxes: z.ZodArray<z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
kind: z.ZodEnum<{
|
|
217
|
+
pod: "pod";
|
|
218
|
+
virtual: "virtual";
|
|
219
|
+
}>;
|
|
220
|
+
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
221
|
+
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
222
|
+
state: z.ZodEnum<{
|
|
223
|
+
creating: "creating";
|
|
224
|
+
ready: "ready";
|
|
225
|
+
running: "running";
|
|
226
|
+
stopped: "stopped";
|
|
227
|
+
}>;
|
|
228
|
+
pod: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
desired: z.ZodEnum<{
|
|
230
|
+
deleted: "deleted";
|
|
231
|
+
running: "running";
|
|
232
|
+
suspended: "suspended";
|
|
233
|
+
}>;
|
|
234
|
+
observed: z.ZodEnum<{
|
|
235
|
+
creating: "creating";
|
|
236
|
+
deleting: "deleting";
|
|
237
|
+
expired: "expired";
|
|
238
|
+
failed: "failed";
|
|
239
|
+
lost: "lost";
|
|
240
|
+
running: "running";
|
|
241
|
+
suspended: "suspended";
|
|
242
|
+
}>;
|
|
243
|
+
volumeGeneration: z.ZodNumber;
|
|
244
|
+
hostEpoch: z.ZodNumber;
|
|
245
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
246
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
247
|
+
}, z.core.$strict>>;
|
|
248
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
249
|
+
id: z.ZodString;
|
|
250
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
251
|
+
}, z.core.$strict>>;
|
|
252
|
+
createdAt: z.ZodString;
|
|
253
|
+
updatedAt: z.ZodString;
|
|
254
|
+
}, z.core.$strict>>;
|
|
255
|
+
}, z.core.$strict>;
|
|
256
|
+
export declare const DeleteSandboxResponse: z.ZodObject<{
|
|
257
|
+
id: z.ZodString;
|
|
258
|
+
deleted: z.ZodBoolean;
|
|
259
|
+
}, z.core.$strict>;
|
|
260
|
+
export declare const ListSandboxEventsResponse: z.ZodObject<{
|
|
261
|
+
events: z.ZodArray<z.ZodObject<{
|
|
262
|
+
schema: z.ZodLiteral<"nylorun.sandbox-event/1">;
|
|
263
|
+
eventId: z.ZodString;
|
|
264
|
+
tenantId: z.ZodString;
|
|
265
|
+
sandboxId: z.ZodString;
|
|
266
|
+
seq: z.ZodNumber;
|
|
267
|
+
time: z.ZodString;
|
|
268
|
+
type: z.ZodEnum<{
|
|
269
|
+
"sandbox.attached": "sandbox.attached";
|
|
270
|
+
"sandbox.created": "sandbox.created";
|
|
271
|
+
"sandbox.deleted": "sandbox.deleted";
|
|
272
|
+
"sandbox.detached": "sandbox.detached";
|
|
273
|
+
"sandbox.expired": "sandbox.expired";
|
|
274
|
+
"sandbox.failed": "sandbox.failed";
|
|
275
|
+
"sandbox.lost": "sandbox.lost";
|
|
276
|
+
"sandbox.relaunched": "sandbox.relaunched";
|
|
277
|
+
"sandbox.reset": "sandbox.reset";
|
|
278
|
+
"sandbox.running": "sandbox.running";
|
|
279
|
+
"sandbox.suspended": "sandbox.suspended";
|
|
280
|
+
}>;
|
|
281
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
282
|
+
}, z.core.$strict>>;
|
|
283
|
+
}, z.core.$strict>;
|
|
284
|
+
export declare const ArtifactVersionView: z.ZodObject<{
|
|
285
|
+
version: z.ZodNumber;
|
|
286
|
+
size: z.ZodNumber;
|
|
287
|
+
sha256: z.ZodString;
|
|
288
|
+
contentType: z.ZodString;
|
|
289
|
+
source: z.ZodEnum<{
|
|
290
|
+
engine: "engine";
|
|
291
|
+
export: "export";
|
|
292
|
+
upload: "upload";
|
|
293
|
+
}>;
|
|
294
|
+
createdAt: z.ZodString;
|
|
295
|
+
}, z.core.$strict>;
|
|
296
|
+
export declare const ArtifactView: z.ZodObject<{
|
|
297
|
+
artifactId: z.ZodString;
|
|
298
|
+
kind: z.ZodEnum<{
|
|
299
|
+
file: "file";
|
|
300
|
+
folder: "folder";
|
|
301
|
+
}>;
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
contentType: z.ZodString;
|
|
304
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
305
|
+
latestVersion: z.ZodNumber;
|
|
306
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
307
|
+
createdAt: z.ZodString;
|
|
308
|
+
updatedAt: z.ZodString;
|
|
309
|
+
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
310
|
+
version: z.ZodNumber;
|
|
311
|
+
size: z.ZodNumber;
|
|
312
|
+
sha256: z.ZodString;
|
|
313
|
+
contentType: z.ZodString;
|
|
314
|
+
source: z.ZodEnum<{
|
|
315
|
+
engine: "engine";
|
|
316
|
+
export: "export";
|
|
317
|
+
upload: "upload";
|
|
318
|
+
}>;
|
|
319
|
+
createdAt: z.ZodString;
|
|
320
|
+
}, z.core.$strict>>>;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
export declare const ListArtifactsResponse: z.ZodObject<{
|
|
323
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
324
|
+
artifactId: z.ZodString;
|
|
325
|
+
kind: z.ZodEnum<{
|
|
326
|
+
file: "file";
|
|
327
|
+
folder: "folder";
|
|
328
|
+
}>;
|
|
329
|
+
name: z.ZodString;
|
|
330
|
+
contentType: z.ZodString;
|
|
331
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
332
|
+
latestVersion: z.ZodNumber;
|
|
333
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
334
|
+
createdAt: z.ZodString;
|
|
335
|
+
updatedAt: z.ZodString;
|
|
336
|
+
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
|
+
version: z.ZodNumber;
|
|
338
|
+
size: z.ZodNumber;
|
|
339
|
+
sha256: z.ZodString;
|
|
340
|
+
contentType: z.ZodString;
|
|
341
|
+
source: z.ZodEnum<{
|
|
342
|
+
engine: "engine";
|
|
343
|
+
export: "export";
|
|
344
|
+
upload: "upload";
|
|
345
|
+
}>;
|
|
346
|
+
createdAt: z.ZodString;
|
|
347
|
+
}, z.core.$strict>>>;
|
|
348
|
+
}, z.core.$strict>>;
|
|
349
|
+
}, z.core.$strict>;
|
|
350
|
+
export declare const UploadArtifactResponse: z.ZodObject<{
|
|
351
|
+
artifact: z.ZodObject<{
|
|
352
|
+
artifactId: z.ZodString;
|
|
353
|
+
kind: z.ZodEnum<{
|
|
354
|
+
file: "file";
|
|
355
|
+
folder: "folder";
|
|
356
|
+
}>;
|
|
357
|
+
name: z.ZodString;
|
|
358
|
+
contentType: z.ZodString;
|
|
359
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
360
|
+
latestVersion: z.ZodNumber;
|
|
361
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
362
|
+
createdAt: z.ZodString;
|
|
363
|
+
updatedAt: z.ZodString;
|
|
364
|
+
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
365
|
+
version: z.ZodNumber;
|
|
366
|
+
size: z.ZodNumber;
|
|
367
|
+
sha256: z.ZodString;
|
|
368
|
+
contentType: z.ZodString;
|
|
369
|
+
source: z.ZodEnum<{
|
|
370
|
+
engine: "engine";
|
|
371
|
+
export: "export";
|
|
372
|
+
upload: "upload";
|
|
373
|
+
}>;
|
|
374
|
+
createdAt: z.ZodString;
|
|
375
|
+
}, z.core.$strict>>>;
|
|
376
|
+
}, z.core.$strict>;
|
|
377
|
+
version: z.ZodObject<{
|
|
378
|
+
version: z.ZodNumber;
|
|
379
|
+
size: z.ZodNumber;
|
|
380
|
+
sha256: z.ZodString;
|
|
381
|
+
contentType: z.ZodString;
|
|
382
|
+
source: z.ZodEnum<{
|
|
383
|
+
engine: "engine";
|
|
384
|
+
export: "export";
|
|
385
|
+
upload: "upload";
|
|
386
|
+
}>;
|
|
387
|
+
createdAt: z.ZodString;
|
|
388
|
+
}, z.core.$strict>;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
export declare const DeleteArtifactResponse: z.ZodObject<{
|
|
391
|
+
artifactId: z.ZodString;
|
|
392
|
+
deleted: z.ZodBoolean;
|
|
393
|
+
}, z.core.$strict>;
|
|
394
|
+
export declare const CreateArtifactLinkRequest: z.ZodObject<{
|
|
395
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
396
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
file: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, z.core.$strict>;
|
|
400
|
+
export declare const ArtifactLink: z.ZodObject<{
|
|
401
|
+
path: z.ZodString;
|
|
402
|
+
artifactId: z.ZodString;
|
|
403
|
+
version: z.ZodNumber;
|
|
404
|
+
file: z.ZodOptional<z.ZodString>;
|
|
405
|
+
expiresAt: z.ZodString;
|
|
406
|
+
}, z.core.$strict>;
|
|
407
|
+
export declare const PutTenantArtifactsRequest: z.ZodObject<{
|
|
408
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
fileBytes: z.ZodOptional<z.ZodNumber>;
|
|
410
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
411
|
+
}, z.core.$strict>>;
|
|
412
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
export declare const TenantArtifactsView: z.ZodObject<{
|
|
415
|
+
limits: z.ZodObject<{
|
|
416
|
+
fileBytes: z.ZodNumber;
|
|
417
|
+
totalBytes: z.ZodNumber;
|
|
418
|
+
}, z.core.$strict>;
|
|
419
|
+
usedBytes: z.ZodNumber;
|
|
420
|
+
}, z.core.$strict>;
|
|
421
|
+
export declare const ArtifactTree: z.ZodObject<{
|
|
422
|
+
artifactId: z.ZodString;
|
|
423
|
+
version: z.ZodNumber;
|
|
424
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
425
|
+
path: z.ZodString;
|
|
426
|
+
size: z.ZodNumber;
|
|
427
|
+
sha256: z.ZodString;
|
|
428
|
+
contentType: z.ZodString;
|
|
429
|
+
}, z.core.$strict>>;
|
|
430
|
+
}, z.core.$strict>;
|
|
431
|
+
export declare const ArtifactDiff: z.ZodObject<{
|
|
432
|
+
artifactId: z.ZodString;
|
|
433
|
+
from: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
to: z.ZodNumber;
|
|
435
|
+
added: z.ZodArray<z.ZodObject<{
|
|
436
|
+
path: z.ZodString;
|
|
437
|
+
size: z.ZodNumber;
|
|
438
|
+
sha256: z.ZodString;
|
|
439
|
+
contentType: z.ZodString;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
442
|
+
path: z.ZodString;
|
|
443
|
+
size: z.ZodNumber;
|
|
444
|
+
sha256: z.ZodString;
|
|
445
|
+
contentType: z.ZodString;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
changed: z.ZodArray<z.ZodObject<{
|
|
448
|
+
path: z.ZodString;
|
|
449
|
+
from: z.ZodObject<{
|
|
450
|
+
path: z.ZodString;
|
|
451
|
+
size: z.ZodNumber;
|
|
452
|
+
sha256: z.ZodString;
|
|
453
|
+
contentType: z.ZodString;
|
|
454
|
+
}, z.core.$strict>;
|
|
455
|
+
to: z.ZodObject<{
|
|
456
|
+
path: z.ZodString;
|
|
457
|
+
size: z.ZodNumber;
|
|
458
|
+
sha256: z.ZodString;
|
|
459
|
+
contentType: z.ZodString;
|
|
460
|
+
}, z.core.$strict>;
|
|
461
|
+
}, z.core.$strict>>;
|
|
462
|
+
}, z.core.$strict>;
|
|
111
463
|
export declare const PutEndpointsRequest: z.ZodObject<{
|
|
112
464
|
endpoints: z.ZodArray<z.ZodObject<{
|
|
113
465
|
agentId: z.ZodString;
|
|
@@ -171,6 +523,19 @@ export declare const SessionCommand: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
171
523
|
type: z.ZodLiteral<"message">;
|
|
172
524
|
manifest: z.ZodOptional<z.ZodType<import("@nylorun/core/contracts").AgentManifest, unknown, z.core.$ZodTypeInternals<import("@nylorun/core/contracts").AgentManifest, unknown>>>;
|
|
173
525
|
data: z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>;
|
|
526
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
527
|
+
requestId: z.ZodString;
|
|
528
|
+
idempotencyKey: z.ZodString;
|
|
529
|
+
type: z.ZodLiteral<"message">;
|
|
530
|
+
manifest: z.ZodOptional<z.ZodType<import("@nylorun/core/contracts").AgentManifest, unknown, z.core.$ZodTypeInternals<import("@nylorun/core/contracts").AgentManifest, unknown>>>;
|
|
531
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
532
|
+
type: z.ZodLiteral<"text">;
|
|
533
|
+
text: z.ZodString;
|
|
534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
535
|
+
type: z.ZodLiteral<"file">;
|
|
536
|
+
artifactId: z.ZodString;
|
|
537
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
538
|
+
}, z.core.$strict>], "type">>;
|
|
174
539
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
175
540
|
requestId: z.ZodString;
|
|
176
541
|
idempotencyKey: z.ZodString;
|
|
@@ -256,6 +621,8 @@ export declare const PutSessionRequest: z.ZodObject<{
|
|
|
256
621
|
credentialId: z.ZodString;
|
|
257
622
|
}, z.core.$strict>>>;
|
|
258
623
|
sandbox: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
624
|
+
id: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
625
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
626
|
session: z.ZodString;
|
|
260
627
|
}, z.core.$strict>, z.ZodObject<{
|
|
261
628
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -292,10 +659,12 @@ export declare const SessionView: z.ZodObject<{
|
|
|
292
659
|
credentialId: z.ZodString;
|
|
293
660
|
}, z.core.$strict>>;
|
|
294
661
|
sandboxOwnerId: z.ZodNullable<z.ZodString>;
|
|
662
|
+
sandboxId: z.ZodOptional<z.ZodString>;
|
|
295
663
|
sandbox: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
296
664
|
sandboxSource: z.ZodOptional<z.ZodEnum<{
|
|
297
665
|
default: "default";
|
|
298
666
|
inline: "inline";
|
|
667
|
+
sandbox: "sandbox";
|
|
299
668
|
shared: "shared";
|
|
300
669
|
}>>;
|
|
301
670
|
mcpSnapshot: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -895,13 +1264,26 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
895
1264
|
metadata: "metadata";
|
|
896
1265
|
}>;
|
|
897
1266
|
} & {
|
|
898
|
-
type: z.ZodLiteral<"
|
|
1267
|
+
type: z.ZodLiteral<"artifact.created">;
|
|
899
1268
|
payload: z.ZodObject<{
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
1269
|
+
artifactId: z.ZodString;
|
|
1270
|
+
kind: z.ZodEnum<{
|
|
1271
|
+
file: "file";
|
|
1272
|
+
folder: "folder";
|
|
1273
|
+
}>;
|
|
1274
|
+
name: z.ZodString;
|
|
1275
|
+
contentType: z.ZodString;
|
|
1276
|
+
version: z.ZodNumber;
|
|
1277
|
+
size: z.ZodNumber;
|
|
1278
|
+
sha256: z.ZodString;
|
|
1279
|
+
source: z.ZodEnum<{
|
|
1280
|
+
engine: "engine";
|
|
1281
|
+
export: "export";
|
|
1282
|
+
upload: "upload";
|
|
1283
|
+
}>;
|
|
1284
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
1286
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
905
1287
|
}, z.core.$loose>;
|
|
906
1288
|
}, z.core.$strip> | z.ZodObject<{
|
|
907
1289
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -957,14 +1339,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
957
1339
|
metadata: "metadata";
|
|
958
1340
|
}>;
|
|
959
1341
|
} & {
|
|
960
|
-
type: z.ZodLiteral<"
|
|
1342
|
+
type: z.ZodLiteral<"artifact.deleted">;
|
|
961
1343
|
payload: z.ZodObject<{
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
type: z.ZodLiteral<"message">;
|
|
965
|
-
content: z.ZodOptional<z.ZodString>;
|
|
966
|
-
data: z.ZodOptional<z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>>;
|
|
967
|
-
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
1344
|
+
artifactId: z.ZodString;
|
|
1345
|
+
name: z.ZodString;
|
|
968
1346
|
}, z.core.$loose>;
|
|
969
1347
|
}, z.core.$strip> | z.ZodObject<{
|
|
970
1348
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1020,13 +1398,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1020
1398
|
metadata: "metadata";
|
|
1021
1399
|
}>;
|
|
1022
1400
|
} & {
|
|
1023
|
-
type: z.ZodLiteral<"
|
|
1401
|
+
type: z.ZodLiteral<"artifact.export.failed">;
|
|
1024
1402
|
payload: z.ZodObject<{
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
type: z.ZodLiteral<"respond">;
|
|
1028
|
-
interactionId: z.ZodString;
|
|
1029
|
-
value: z.ZodUnknown;
|
|
1403
|
+
name: z.ZodString;
|
|
1404
|
+
message: z.ZodString;
|
|
1030
1405
|
}, z.core.$loose>;
|
|
1031
1406
|
}, z.core.$strip> | z.ZodObject<{
|
|
1032
1407
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1082,20 +1457,18 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1082
1457
|
metadata: "metadata";
|
|
1083
1458
|
}>;
|
|
1084
1459
|
} & {
|
|
1085
|
-
type: z.ZodLiteral<"
|
|
1460
|
+
type: z.ZodLiteral<"artifact.export.skipped">;
|
|
1086
1461
|
payload: z.ZodObject<{
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
trigger: z.ZodEnum<{
|
|
1094
|
-
overflow: "overflow";
|
|
1095
|
-
threshold: "threshold";
|
|
1462
|
+
name: z.ZodString;
|
|
1463
|
+
reason: z.ZodEnum<{
|
|
1464
|
+
file_too_large: "file_too_large";
|
|
1465
|
+
tenant_total: "tenant_total";
|
|
1466
|
+
too_large: "too_large";
|
|
1467
|
+
too_many_files: "too_many_files";
|
|
1096
1468
|
}>;
|
|
1097
|
-
|
|
1098
|
-
|
|
1469
|
+
message: z.ZodString;
|
|
1470
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1471
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1099
1472
|
}, z.core.$loose>;
|
|
1100
1473
|
}, z.core.$strip> | z.ZodObject<{
|
|
1101
1474
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1151,14 +1524,26 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1151
1524
|
metadata: "metadata";
|
|
1152
1525
|
}>;
|
|
1153
1526
|
} & {
|
|
1154
|
-
type: z.ZodLiteral<"
|
|
1527
|
+
type: z.ZodLiteral<"artifact.version.created">;
|
|
1155
1528
|
payload: z.ZodObject<{
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1529
|
+
artifactId: z.ZodString;
|
|
1530
|
+
kind: z.ZodEnum<{
|
|
1531
|
+
file: "file";
|
|
1532
|
+
folder: "folder";
|
|
1533
|
+
}>;
|
|
1534
|
+
name: z.ZodString;
|
|
1535
|
+
contentType: z.ZodString;
|
|
1536
|
+
version: z.ZodNumber;
|
|
1537
|
+
size: z.ZodNumber;
|
|
1538
|
+
sha256: z.ZodString;
|
|
1539
|
+
source: z.ZodEnum<{
|
|
1540
|
+
engine: "engine";
|
|
1541
|
+
export: "export";
|
|
1542
|
+
upload: "upload";
|
|
1543
|
+
}>;
|
|
1161
1544
|
callId: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
1546
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
1162
1547
|
}, z.core.$loose>;
|
|
1163
1548
|
}, z.core.$strip> | z.ZodObject<{
|
|
1164
1549
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1214,14 +1599,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1214
1599
|
metadata: "metadata";
|
|
1215
1600
|
}>;
|
|
1216
1601
|
} & {
|
|
1217
|
-
type: z.ZodLiteral<"
|
|
1602
|
+
type: z.ZodLiteral<"command.approve">;
|
|
1218
1603
|
payload: z.ZodObject<{
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
callId: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
requestId: z.ZodString;
|
|
1605
|
+
idempotencyKey: z.ZodString;
|
|
1606
|
+
type: z.ZodLiteral<"approve">;
|
|
1607
|
+
interactionId: z.ZodString;
|
|
1608
|
+
approved: z.ZodBoolean;
|
|
1225
1609
|
}, z.core.$loose>;
|
|
1226
1610
|
}, z.core.$strip> | z.ZodObject<{
|
|
1227
1611
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1277,10 +1661,22 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1277
1661
|
metadata: "metadata";
|
|
1278
1662
|
}>;
|
|
1279
1663
|
} & {
|
|
1280
|
-
type: z.ZodLiteral<"
|
|
1664
|
+
type: z.ZodLiteral<"command.message">;
|
|
1281
1665
|
payload: z.ZodObject<{
|
|
1282
|
-
|
|
1283
|
-
|
|
1666
|
+
requestId: z.ZodString;
|
|
1667
|
+
idempotencyKey: z.ZodString;
|
|
1668
|
+
type: z.ZodLiteral<"message">;
|
|
1669
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
data: z.ZodOptional<z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>>;
|
|
1671
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1672
|
+
type: z.ZodLiteral<"text">;
|
|
1673
|
+
text: z.ZodString;
|
|
1674
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1675
|
+
type: z.ZodLiteral<"file">;
|
|
1676
|
+
artifactId: z.ZodString;
|
|
1677
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
+
}, z.core.$strict>], "type">>>;
|
|
1679
|
+
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
1284
1680
|
}, z.core.$loose>;
|
|
1285
1681
|
}, z.core.$strip> | z.ZodObject<{
|
|
1286
1682
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1336,15 +1732,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1336
1732
|
metadata: "metadata";
|
|
1337
1733
|
}>;
|
|
1338
1734
|
} & {
|
|
1339
|
-
type: z.ZodLiteral<"
|
|
1735
|
+
type: z.ZodLiteral<"command.respond">;
|
|
1340
1736
|
payload: z.ZodObject<{
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
}>;
|
|
1347
|
-
patched: z.ZodBoolean;
|
|
1737
|
+
requestId: z.ZodString;
|
|
1738
|
+
idempotencyKey: z.ZodString;
|
|
1739
|
+
type: z.ZodLiteral<"respond">;
|
|
1740
|
+
interactionId: z.ZodString;
|
|
1741
|
+
value: z.ZodUnknown;
|
|
1348
1742
|
}, z.core.$loose>;
|
|
1349
1743
|
}, z.core.$strip> | z.ZodObject<{
|
|
1350
1744
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1400,13 +1794,20 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1400
1794
|
metadata: "metadata";
|
|
1401
1795
|
}>;
|
|
1402
1796
|
} & {
|
|
1403
|
-
type: z.ZodLiteral<"
|
|
1797
|
+
type: z.ZodLiteral<"context.compacted">;
|
|
1404
1798
|
payload: z.ZodObject<{
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1799
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1800
|
+
id: z.ZodString;
|
|
1801
|
+
path: z.ZodString;
|
|
1802
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
1803
|
+
}, z.core.$loose>>;
|
|
1804
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
trigger: z.ZodEnum<{
|
|
1806
|
+
overflow: "overflow";
|
|
1807
|
+
threshold: "threshold";
|
|
1808
|
+
}>;
|
|
1809
|
+
tokensBefore: z.ZodNumber;
|
|
1810
|
+
tokensAfter: z.ZodNumber;
|
|
1410
1811
|
}, z.core.$loose>;
|
|
1411
1812
|
}, z.core.$strip> | z.ZodObject<{
|
|
1412
1813
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1462,13 +1863,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1462
1863
|
metadata: "metadata";
|
|
1463
1864
|
}>;
|
|
1464
1865
|
} & {
|
|
1465
|
-
type: z.ZodLiteral<"
|
|
1866
|
+
type: z.ZodLiteral<"delegation.completed">;
|
|
1466
1867
|
payload: z.ZodObject<{
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1868
|
+
agent: z.ZodObject<{
|
|
1869
|
+
id: z.ZodString;
|
|
1870
|
+
path: z.ZodString;
|
|
1871
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
}, z.core.$loose>;
|
|
1873
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
1472
1874
|
}, z.core.$loose>;
|
|
1473
1875
|
}, z.core.$strip> | z.ZodObject<{
|
|
1474
1876
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1524,26 +1926,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1524
1926
|
metadata: "metadata";
|
|
1525
1927
|
}>;
|
|
1526
1928
|
} & {
|
|
1527
|
-
type: z.ZodLiteral<"
|
|
1929
|
+
type: z.ZodLiteral<"delegation.started">;
|
|
1528
1930
|
payload: z.ZodObject<{
|
|
1529
|
-
agent: z.
|
|
1931
|
+
agent: z.ZodObject<{
|
|
1530
1932
|
id: z.ZodString;
|
|
1531
1933
|
path: z.ZodString;
|
|
1532
1934
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
1533
|
-
}, z.core.$loose
|
|
1534
|
-
|
|
1535
|
-
text: z.ZodString;
|
|
1536
|
-
model: z.ZodOptional<z.ZodObject<{
|
|
1537
|
-
provider: z.ZodString;
|
|
1538
|
-
model: z.ZodString;
|
|
1539
|
-
}, z.core.$loose>>;
|
|
1540
|
-
finishReason: z.ZodOptional<z.ZodString>;
|
|
1541
|
-
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1542
|
-
toolCalls: z.ZodArray<z.ZodObject<{
|
|
1543
|
-
callId: z.ZodString;
|
|
1544
|
-
name: z.ZodString;
|
|
1545
|
-
input: z.ZodUnknown;
|
|
1546
|
-
}, z.core.$loose>>;
|
|
1935
|
+
}, z.core.$loose>;
|
|
1936
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
1547
1937
|
}, z.core.$loose>;
|
|
1548
1938
|
}, z.core.$strip> | z.ZodObject<{
|
|
1549
1939
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1599,17 +1989,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1599
1989
|
metadata: "metadata";
|
|
1600
1990
|
}>;
|
|
1601
1991
|
} & {
|
|
1602
|
-
type: z.ZodLiteral<"
|
|
1992
|
+
type: z.ZodLiteral<"effect.uncertain">;
|
|
1603
1993
|
payload: z.ZodObject<{
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
path: z.ZodString;
|
|
1607
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
1608
|
-
}, z.core.$loose>>;
|
|
1609
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
1610
|
-
code: z.ZodString;
|
|
1611
|
-
message: z.ZodString;
|
|
1612
|
-
retryable: z.ZodBoolean;
|
|
1994
|
+
effectId: z.ZodString;
|
|
1995
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1613
1996
|
}, z.core.$loose>;
|
|
1614
1997
|
}, z.core.$strip> | z.ZodObject<{
|
|
1615
1998
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1665,12 +2048,15 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1665
2048
|
metadata: "metadata";
|
|
1666
2049
|
}>;
|
|
1667
2050
|
} & {
|
|
1668
|
-
type: z.ZodLiteral<"
|
|
2051
|
+
type: z.ZodLiteral<"loop.decided">;
|
|
1669
2052
|
payload: z.ZodObject<{
|
|
1670
2053
|
path: z.ZodString;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
2054
|
+
n: z.ZodNumber;
|
|
2055
|
+
next: z.ZodEnum<{
|
|
2056
|
+
input: "input";
|
|
2057
|
+
output: "output";
|
|
2058
|
+
}>;
|
|
2059
|
+
patched: z.ZodBoolean;
|
|
1674
2060
|
}, z.core.$loose>;
|
|
1675
2061
|
}, z.core.$strip> | z.ZodObject<{
|
|
1676
2062
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1726,12 +2112,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1726
2112
|
metadata: "metadata";
|
|
1727
2113
|
}>;
|
|
1728
2114
|
} & {
|
|
1729
|
-
type: z.ZodLiteral<"
|
|
2115
|
+
type: z.ZodLiteral<"loop.iteration">;
|
|
1730
2116
|
payload: z.ZodObject<{
|
|
1731
2117
|
path: z.ZodString;
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
2118
|
+
n: z.ZodNumber;
|
|
2119
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
1735
2122
|
}, z.core.$loose>;
|
|
1736
2123
|
}, z.core.$strip> | z.ZodObject<{
|
|
1737
2124
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1787,13 +2174,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1787
2174
|
metadata: "metadata";
|
|
1788
2175
|
}>;
|
|
1789
2176
|
} & {
|
|
1790
|
-
type: z.ZodLiteral<"
|
|
2177
|
+
type: z.ZodLiteral<"loop.verified">;
|
|
1791
2178
|
payload: z.ZodObject<{
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
2179
|
+
path: z.ZodString;
|
|
2180
|
+
n: z.ZodNumber;
|
|
2181
|
+
pass: z.ZodBoolean;
|
|
2182
|
+
feedback: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
1797
2184
|
}, z.core.$loose>;
|
|
1798
2185
|
}, z.core.$strip> | z.ZodObject<{
|
|
1799
2186
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1849,21 +2236,26 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1849
2236
|
metadata: "metadata";
|
|
1850
2237
|
}>;
|
|
1851
2238
|
} & {
|
|
1852
|
-
type: z.ZodLiteral<"
|
|
2239
|
+
type: z.ZodLiteral<"message.assistant">;
|
|
1853
2240
|
payload: z.ZodObject<{
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
2241
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
2242
|
+
id: z.ZodString;
|
|
2243
|
+
path: z.ZodString;
|
|
2244
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
2245
|
+
}, z.core.$loose>>;
|
|
2246
|
+
invocationId: z.ZodString;
|
|
2247
|
+
text: z.ZodString;
|
|
2248
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
2249
|
+
provider: z.ZodString;
|
|
2250
|
+
model: z.ZodString;
|
|
2251
|
+
}, z.core.$loose>>;
|
|
2252
|
+
finishReason: z.ZodOptional<z.ZodString>;
|
|
2253
|
+
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2254
|
+
toolCalls: z.ZodArray<z.ZodObject<{
|
|
2255
|
+
callId: z.ZodString;
|
|
2256
|
+
name: z.ZodString;
|
|
2257
|
+
input: z.ZodUnknown;
|
|
2258
|
+
}, z.core.$loose>>;
|
|
1867
2259
|
}, z.core.$loose>;
|
|
1868
2260
|
}, z.core.$strip> | z.ZodObject<{
|
|
1869
2261
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1919,22 +2311,17 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1919
2311
|
metadata: "metadata";
|
|
1920
2312
|
}>;
|
|
1921
2313
|
} & {
|
|
1922
|
-
type: z.ZodLiteral<"
|
|
2314
|
+
type: z.ZodLiteral<"model.failed">;
|
|
1923
2315
|
payload: z.ZodObject<{
|
|
1924
2316
|
agent: z.ZodOptional<z.ZodObject<{
|
|
1925
2317
|
id: z.ZodString;
|
|
1926
2318
|
path: z.ZodString;
|
|
1927
2319
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
1928
2320
|
}, z.core.$loose>>;
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
1934
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1935
|
-
code: z.ZodString;
|
|
1936
|
-
message: z.ZodString;
|
|
1937
|
-
}, z.core.$loose>>;
|
|
2321
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
2322
|
+
code: z.ZodString;
|
|
2323
|
+
message: z.ZodString;
|
|
2324
|
+
retryable: z.ZodBoolean;
|
|
1938
2325
|
}, z.core.$loose>;
|
|
1939
2326
|
}, z.core.$strip> | z.ZodObject<{
|
|
1940
2327
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -1990,11 +2377,12 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1990
2377
|
metadata: "metadata";
|
|
1991
2378
|
}>;
|
|
1992
2379
|
} & {
|
|
1993
|
-
type: z.ZodLiteral<"
|
|
2380
|
+
type: z.ZodLiteral<"node.agent">;
|
|
1994
2381
|
payload: z.ZodObject<{
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
2382
|
+
path: z.ZodString;
|
|
2383
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
sessionId: z.ZodString;
|
|
2385
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1998
2386
|
}, z.core.$loose>;
|
|
1999
2387
|
}, z.core.$strip> | z.ZodObject<{
|
|
2000
2388
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2050,9 +2438,12 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2050
2438
|
metadata: "metadata";
|
|
2051
2439
|
}>;
|
|
2052
2440
|
} & {
|
|
2053
|
-
type: z.ZodLiteral<"
|
|
2441
|
+
type: z.ZodLiteral<"node.started">;
|
|
2054
2442
|
payload: z.ZodObject<{
|
|
2055
|
-
|
|
2443
|
+
path: z.ZodString;
|
|
2444
|
+
kind: z.ZodString;
|
|
2445
|
+
key: z.ZodString;
|
|
2446
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
2056
2447
|
}, z.core.$loose>;
|
|
2057
2448
|
}, z.core.$strip> | z.ZodObject<{
|
|
2058
2449
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2108,9 +2499,9 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2108
2499
|
metadata: "metadata";
|
|
2109
2500
|
}>;
|
|
2110
2501
|
} & {
|
|
2111
|
-
type: z.ZodLiteral<"
|
|
2502
|
+
type: z.ZodLiteral<"sandbox.attached">;
|
|
2112
2503
|
payload: z.ZodObject<{
|
|
2113
|
-
|
|
2504
|
+
sandboxId: z.ZodString;
|
|
2114
2505
|
}, z.core.$loose>;
|
|
2115
2506
|
}, z.core.$strip> | z.ZodObject<{
|
|
2116
2507
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2166,13 +2557,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2166
2557
|
metadata: "metadata";
|
|
2167
2558
|
}>;
|
|
2168
2559
|
} & {
|
|
2169
|
-
type: z.ZodLiteral<"
|
|
2560
|
+
type: z.ZodLiteral<"sandbox.exec">;
|
|
2170
2561
|
payload: z.ZodObject<{
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2562
|
+
tool: z.ZodString;
|
|
2563
|
+
command: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
outcome: z.ZodString;
|
|
2565
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
durationMs: z.ZodNumber;
|
|
2176
2567
|
}, z.core.$loose>;
|
|
2177
2568
|
}, z.core.$strip> | z.ZodObject<{
|
|
2178
2569
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2228,18 +2619,23 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2228
2619
|
metadata: "metadata";
|
|
2229
2620
|
}>;
|
|
2230
2621
|
} & {
|
|
2231
|
-
type: z.ZodLiteral<"
|
|
2622
|
+
type: z.ZodLiteral<"sandbox.state">;
|
|
2232
2623
|
payload: z.ZodObject<{
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2624
|
+
state: z.ZodEnum<{
|
|
2625
|
+
creating: "creating";
|
|
2626
|
+
running: "running";
|
|
2627
|
+
stopped: "stopped";
|
|
2628
|
+
}>;
|
|
2629
|
+
backend: z.ZodString;
|
|
2630
|
+
isolation: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
image: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
network: z.ZodOptional<z.ZodUnknown>;
|
|
2633
|
+
reattach: z.ZodOptional<z.ZodBoolean>;
|
|
2634
|
+
lost: z.ZodOptional<z.ZodBoolean>;
|
|
2635
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2241
2637
|
}, z.core.$loose>;
|
|
2242
|
-
}, z.core.$strip
|
|
2638
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
2243
2639
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
2244
2640
|
eventId: z.ZodString;
|
|
2245
2641
|
tenantId: z.ZodString;
|
|
@@ -2293,21 +2689,22 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2293
2689
|
metadata: "metadata";
|
|
2294
2690
|
}>;
|
|
2295
2691
|
} & {
|
|
2296
|
-
type: z.ZodLiteral<"
|
|
2692
|
+
type: z.ZodLiteral<"tool.completed">;
|
|
2297
2693
|
payload: z.ZodObject<{
|
|
2298
2694
|
agent: z.ZodOptional<z.ZodObject<{
|
|
2299
2695
|
id: z.ZodString;
|
|
2300
2696
|
path: z.ZodString;
|
|
2301
2697
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
2302
2698
|
}, z.core.$loose>>;
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2699
|
+
callId: z.ZodString;
|
|
2700
|
+
invocationId: z.ZodString;
|
|
2701
|
+
capabilityId: z.ZodString;
|
|
2702
|
+
toolName: z.ZodString;
|
|
2703
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
2704
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2705
|
+
code: z.ZodString;
|
|
2706
|
+
message: z.ZodString;
|
|
2707
|
+
}, z.core.$loose>>;
|
|
2311
2708
|
}, z.core.$loose>;
|
|
2312
2709
|
}, z.core.$strip> | z.ZodObject<{
|
|
2313
2710
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2363,15 +2760,11 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2363
2760
|
metadata: "metadata";
|
|
2364
2761
|
}>;
|
|
2365
2762
|
} & {
|
|
2366
|
-
type: z.ZodLiteral<"
|
|
2763
|
+
type: z.ZodLiteral<"transcript.updated">;
|
|
2367
2764
|
payload: z.ZodObject<{
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
2372
|
-
}, z.core.$loose>>;
|
|
2373
|
-
actionId: z.ZodString;
|
|
2374
|
-
generation: z.ZodNumber;
|
|
2765
|
+
keep: z.ZodNumber;
|
|
2766
|
+
entries: z.ZodArray<z.ZodUnknown>;
|
|
2767
|
+
length: z.ZodNumber;
|
|
2375
2768
|
}, z.core.$loose>;
|
|
2376
2769
|
}, z.core.$strip> | z.ZodObject<{
|
|
2377
2770
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2427,13 +2820,9 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2427
2820
|
metadata: "metadata";
|
|
2428
2821
|
}>;
|
|
2429
2822
|
} & {
|
|
2430
|
-
type: z.ZodLiteral<"
|
|
2823
|
+
type: z.ZodLiteral<"turn.cancelled">;
|
|
2431
2824
|
payload: z.ZodObject<{
|
|
2432
|
-
|
|
2433
|
-
generation: z.ZodNumber;
|
|
2434
|
-
reason: z.ZodString;
|
|
2435
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2436
|
-
retryInMs: z.ZodNumber;
|
|
2825
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2437
2826
|
}, z.core.$loose>;
|
|
2438
2827
|
}, z.core.$strip> | z.ZodObject<{
|
|
2439
2828
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2489,21 +2878,9 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2489
2878
|
metadata: "metadata";
|
|
2490
2879
|
}>;
|
|
2491
2880
|
} & {
|
|
2492
|
-
type: z.ZodLiteral<"
|
|
2881
|
+
type: z.ZodLiteral<"turn.completed">;
|
|
2493
2882
|
payload: z.ZodObject<{
|
|
2494
|
-
|
|
2495
|
-
id: z.ZodString;
|
|
2496
|
-
path: z.ZodString;
|
|
2497
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
2498
|
-
}, z.core.$loose>>;
|
|
2499
|
-
actionId: z.ZodString;
|
|
2500
|
-
kind: z.ZodString;
|
|
2501
|
-
toolName: z.ZodOptional<z.ZodString>;
|
|
2502
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2503
|
-
key: z.ZodOptional<z.ZodString>;
|
|
2504
|
-
callId: z.ZodOptional<z.ZodString>;
|
|
2505
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
2506
|
-
input: z.ZodUnknown;
|
|
2883
|
+
output: z.ZodUnknown;
|
|
2507
2884
|
}, z.core.$loose>;
|
|
2508
2885
|
}, z.core.$strip> | z.ZodObject<{
|
|
2509
2886
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2559,14 +2936,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2559
2936
|
metadata: "metadata";
|
|
2560
2937
|
}>;
|
|
2561
2938
|
} & {
|
|
2562
|
-
type: z.ZodLiteral<"
|
|
2939
|
+
type: z.ZodLiteral<"turn.failed">;
|
|
2563
2940
|
payload: z.ZodObject<{
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2942
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2568
2944
|
}, z.core.$loose>>;
|
|
2569
|
-
|
|
2945
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2570
2946
|
}, z.core.$loose>;
|
|
2571
2947
|
}, z.core.$strip> | z.ZodObject<{
|
|
2572
2948
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2622,16 +2998,19 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2622
2998
|
metadata: "metadata";
|
|
2623
2999
|
}>;
|
|
2624
3000
|
} & {
|
|
2625
|
-
type: z.ZodLiteral<"
|
|
3001
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
2626
3002
|
payload: z.ZodObject<{
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
3003
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
3004
|
+
invocationId: z.ZodString;
|
|
3005
|
+
interaction: z.ZodObject<{
|
|
3006
|
+
id: z.ZodString;
|
|
3007
|
+
kind: z.ZodString;
|
|
3008
|
+
}, z.core.$loose>;
|
|
3009
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
}, z.core.$loose>>;
|
|
3011
|
+
}, z.core.$loose>;
|
|
3012
|
+
}, z.core.$strip>, ...(z.ZodObject<{
|
|
3013
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
2635
3014
|
eventId: z.ZodString;
|
|
2636
3015
|
tenantId: z.ZodString;
|
|
2637
3016
|
sessionId: z.ZodString;
|
|
@@ -2684,14 +3063,21 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2684
3063
|
metadata: "metadata";
|
|
2685
3064
|
}>;
|
|
2686
3065
|
} & {
|
|
2687
|
-
type: z.ZodLiteral<"
|
|
3066
|
+
type: z.ZodLiteral<"action.completed">;
|
|
2688
3067
|
payload: z.ZodObject<{
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
3068
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
3069
|
+
id: z.ZodString;
|
|
3070
|
+
path: z.ZodString;
|
|
3071
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
3072
|
+
}, z.core.$loose>>;
|
|
3073
|
+
actionId: z.ZodString;
|
|
3074
|
+
kind: z.ZodString;
|
|
3075
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
3076
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
3079
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
result: z.ZodUnknown;
|
|
2695
3081
|
}, z.core.$loose>;
|
|
2696
3082
|
}, z.core.$strip> | z.ZodObject<{
|
|
2697
3083
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2747,13 +3133,15 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2747
3133
|
metadata: "metadata";
|
|
2748
3134
|
}>;
|
|
2749
3135
|
} & {
|
|
2750
|
-
type: z.ZodLiteral<"
|
|
3136
|
+
type: z.ZodLiteral<"action.delivered">;
|
|
2751
3137
|
payload: z.ZodObject<{
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
3138
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
3139
|
+
id: z.ZodString;
|
|
3140
|
+
path: z.ZodString;
|
|
3141
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
}, z.core.$loose>>;
|
|
3143
|
+
actionId: z.ZodString;
|
|
3144
|
+
generation: z.ZodNumber;
|
|
2757
3145
|
}, z.core.$loose>;
|
|
2758
3146
|
}, z.core.$strip> | z.ZodObject<{
|
|
2759
3147
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2809,20 +3197,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2809
3197
|
metadata: "metadata";
|
|
2810
3198
|
}>;
|
|
2811
3199
|
} & {
|
|
2812
|
-
type: z.ZodLiteral<"
|
|
3200
|
+
type: z.ZodLiteral<"action.delivery_failed">;
|
|
2813
3201
|
payload: z.ZodObject<{
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
2820
|
-
trigger: z.ZodEnum<{
|
|
2821
|
-
overflow: "overflow";
|
|
2822
|
-
threshold: "threshold";
|
|
2823
|
-
}>;
|
|
2824
|
-
tokensBefore: z.ZodNumber;
|
|
2825
|
-
tokensAfter: z.ZodNumber;
|
|
3202
|
+
actionId: z.ZodString;
|
|
3203
|
+
generation: z.ZodNumber;
|
|
3204
|
+
reason: z.ZodString;
|
|
3205
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3206
|
+
retryInMs: z.ZodNumber;
|
|
2826
3207
|
}, z.core.$loose>;
|
|
2827
3208
|
}, z.core.$strip> | z.ZodObject<{
|
|
2828
3209
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2878,14 +3259,21 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2878
3259
|
metadata: "metadata";
|
|
2879
3260
|
}>;
|
|
2880
3261
|
} & {
|
|
2881
|
-
type: z.ZodLiteral<"
|
|
3262
|
+
type: z.ZodLiteral<"action.pending">;
|
|
2882
3263
|
payload: z.ZodObject<{
|
|
2883
|
-
agent: z.ZodObject<{
|
|
3264
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
2884
3265
|
id: z.ZodString;
|
|
2885
3266
|
path: z.ZodString;
|
|
2886
3267
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
2887
|
-
}, z.core.$loose
|
|
3268
|
+
}, z.core.$loose>>;
|
|
3269
|
+
actionId: z.ZodString;
|
|
3270
|
+
kind: z.ZodString;
|
|
3271
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
3272
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3273
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2888
3274
|
callId: z.ZodOptional<z.ZodString>;
|
|
3275
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
input: z.ZodUnknown;
|
|
2889
3277
|
}, z.core.$loose>;
|
|
2890
3278
|
}, z.core.$strip> | z.ZodObject<{
|
|
2891
3279
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -2941,14 +3329,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2941
3329
|
metadata: "metadata";
|
|
2942
3330
|
}>;
|
|
2943
3331
|
} & {
|
|
2944
|
-
type: z.ZodLiteral<"
|
|
3332
|
+
type: z.ZodLiteral<"action.uncertain">;
|
|
2945
3333
|
payload: z.ZodObject<{
|
|
2946
|
-
agent: z.ZodObject<{
|
|
3334
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
2947
3335
|
id: z.ZodString;
|
|
2948
3336
|
path: z.ZodString;
|
|
2949
3337
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
2950
|
-
}, z.core.$loose
|
|
2951
|
-
|
|
3338
|
+
}, z.core.$loose>>;
|
|
3339
|
+
actionId: z.ZodString;
|
|
2952
3340
|
}, z.core.$loose>;
|
|
2953
3341
|
}, z.core.$strip> | z.ZodObject<{
|
|
2954
3342
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3004,10 +3392,26 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3004
3392
|
metadata: "metadata";
|
|
3005
3393
|
}>;
|
|
3006
3394
|
} & {
|
|
3007
|
-
type: z.ZodLiteral<"
|
|
3395
|
+
type: z.ZodLiteral<"artifact.created">;
|
|
3008
3396
|
payload: z.ZodObject<{
|
|
3009
|
-
|
|
3010
|
-
|
|
3397
|
+
artifactId: z.ZodString;
|
|
3398
|
+
kind: z.ZodEnum<{
|
|
3399
|
+
file: "file";
|
|
3400
|
+
folder: "folder";
|
|
3401
|
+
}>;
|
|
3402
|
+
name: z.ZodString;
|
|
3403
|
+
contentType: z.ZodString;
|
|
3404
|
+
version: z.ZodNumber;
|
|
3405
|
+
size: z.ZodNumber;
|
|
3406
|
+
sha256: z.ZodString;
|
|
3407
|
+
source: z.ZodEnum<{
|
|
3408
|
+
engine: "engine";
|
|
3409
|
+
export: "export";
|
|
3410
|
+
upload: "upload";
|
|
3411
|
+
}>;
|
|
3412
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
3413
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
3414
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
3011
3415
|
}, z.core.$loose>;
|
|
3012
3416
|
}, z.core.$strip> | z.ZodObject<{
|
|
3013
3417
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3063,15 +3467,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3063
3467
|
metadata: "metadata";
|
|
3064
3468
|
}>;
|
|
3065
3469
|
} & {
|
|
3066
|
-
type: z.ZodLiteral<"
|
|
3470
|
+
type: z.ZodLiteral<"artifact.deleted">;
|
|
3067
3471
|
payload: z.ZodObject<{
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
next: z.ZodEnum<{
|
|
3071
|
-
input: "input";
|
|
3072
|
-
output: "output";
|
|
3073
|
-
}>;
|
|
3074
|
-
patched: z.ZodBoolean;
|
|
3472
|
+
artifactId: z.ZodString;
|
|
3473
|
+
name: z.ZodString;
|
|
3075
3474
|
}, z.core.$loose>;
|
|
3076
3475
|
}, z.core.$strip> | z.ZodObject<{
|
|
3077
3476
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3127,13 +3526,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3127
3526
|
metadata: "metadata";
|
|
3128
3527
|
}>;
|
|
3129
3528
|
} & {
|
|
3130
|
-
type: z.ZodLiteral<"
|
|
3529
|
+
type: z.ZodLiteral<"artifact.export.failed">;
|
|
3131
3530
|
payload: z.ZodObject<{
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
3135
|
-
turnId: z.ZodOptional<z.ZodString>;
|
|
3136
|
-
manifestHash: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
name: z.ZodString;
|
|
3532
|
+
message: z.ZodString;
|
|
3137
3533
|
}, z.core.$loose>;
|
|
3138
3534
|
}, z.core.$strip> | z.ZodObject<{
|
|
3139
3535
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3189,13 +3585,18 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3189
3585
|
metadata: "metadata";
|
|
3190
3586
|
}>;
|
|
3191
3587
|
} & {
|
|
3192
|
-
type: z.ZodLiteral<"
|
|
3588
|
+
type: z.ZodLiteral<"artifact.export.skipped">;
|
|
3193
3589
|
payload: z.ZodObject<{
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3590
|
+
name: z.ZodString;
|
|
3591
|
+
reason: z.ZodEnum<{
|
|
3592
|
+
file_too_large: "file_too_large";
|
|
3593
|
+
tenant_total: "tenant_total";
|
|
3594
|
+
too_large: "too_large";
|
|
3595
|
+
too_many_files: "too_many_files";
|
|
3596
|
+
}>;
|
|
3597
|
+
message: z.ZodString;
|
|
3598
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3599
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3199
3600
|
}, z.core.$loose>;
|
|
3200
3601
|
}, z.core.$strip> | z.ZodObject<{
|
|
3201
3602
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3251,26 +3652,26 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3251
3652
|
metadata: "metadata";
|
|
3252
3653
|
}>;
|
|
3253
3654
|
} & {
|
|
3254
|
-
type: z.ZodLiteral<"
|
|
3655
|
+
type: z.ZodLiteral<"artifact.version.created">;
|
|
3255
3656
|
payload: z.ZodObject<{
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3657
|
+
artifactId: z.ZodString;
|
|
3658
|
+
kind: z.ZodEnum<{
|
|
3659
|
+
file: "file";
|
|
3660
|
+
folder: "folder";
|
|
3661
|
+
}>;
|
|
3662
|
+
name: z.ZodString;
|
|
3663
|
+
contentType: z.ZodString;
|
|
3664
|
+
version: z.ZodNumber;
|
|
3665
|
+
size: z.ZodNumber;
|
|
3666
|
+
sha256: z.ZodString;
|
|
3667
|
+
source: z.ZodEnum<{
|
|
3668
|
+
engine: "engine";
|
|
3669
|
+
export: "export";
|
|
3670
|
+
upload: "upload";
|
|
3671
|
+
}>;
|
|
3672
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
3674
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
3274
3675
|
}, z.core.$loose>;
|
|
3275
3676
|
}, z.core.$strip> | z.ZodObject<{
|
|
3276
3677
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3326,17 +3727,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3326
3727
|
metadata: "metadata";
|
|
3327
3728
|
}>;
|
|
3328
3729
|
} & {
|
|
3329
|
-
type: z.ZodLiteral<"
|
|
3730
|
+
type: z.ZodLiteral<"command.approve">;
|
|
3330
3731
|
payload: z.ZodObject<{
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
3337
|
-
code: z.ZodString;
|
|
3338
|
-
message: z.ZodString;
|
|
3339
|
-
retryable: z.ZodBoolean;
|
|
3732
|
+
requestId: z.ZodString;
|
|
3733
|
+
idempotencyKey: z.ZodString;
|
|
3734
|
+
type: z.ZodLiteral<"approve">;
|
|
3735
|
+
interactionId: z.ZodString;
|
|
3736
|
+
approved: z.ZodBoolean;
|
|
3340
3737
|
}, z.core.$loose>;
|
|
3341
3738
|
}, z.core.$strip> | z.ZodObject<{
|
|
3342
3739
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3392,12 +3789,22 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3392
3789
|
metadata: "metadata";
|
|
3393
3790
|
}>;
|
|
3394
3791
|
} & {
|
|
3395
|
-
type: z.ZodLiteral<"
|
|
3792
|
+
type: z.ZodLiteral<"command.message">;
|
|
3396
3793
|
payload: z.ZodObject<{
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3794
|
+
requestId: z.ZodString;
|
|
3795
|
+
idempotencyKey: z.ZodString;
|
|
3796
|
+
type: z.ZodLiteral<"message">;
|
|
3797
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3798
|
+
data: z.ZodOptional<z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>>;
|
|
3799
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3800
|
+
type: z.ZodLiteral<"text">;
|
|
3801
|
+
text: z.ZodString;
|
|
3802
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3803
|
+
type: z.ZodLiteral<"file">;
|
|
3804
|
+
artifactId: z.ZodString;
|
|
3805
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3806
|
+
}, z.core.$strict>], "type">>>;
|
|
3807
|
+
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
3401
3808
|
}, z.core.$loose>;
|
|
3402
3809
|
}, z.core.$strip> | z.ZodObject<{
|
|
3403
3810
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3453,12 +3860,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3453
3860
|
metadata: "metadata";
|
|
3454
3861
|
}>;
|
|
3455
3862
|
} & {
|
|
3456
|
-
type: z.ZodLiteral<"
|
|
3863
|
+
type: z.ZodLiteral<"command.respond">;
|
|
3457
3864
|
payload: z.ZodObject<{
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3865
|
+
requestId: z.ZodString;
|
|
3866
|
+
idempotencyKey: z.ZodString;
|
|
3867
|
+
type: z.ZodLiteral<"respond">;
|
|
3868
|
+
interactionId: z.ZodString;
|
|
3869
|
+
value: z.ZodUnknown;
|
|
3462
3870
|
}, z.core.$loose>;
|
|
3463
3871
|
}, z.core.$strip> | z.ZodObject<{
|
|
3464
3872
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3514,13 +3922,20 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3514
3922
|
metadata: "metadata";
|
|
3515
3923
|
}>;
|
|
3516
3924
|
} & {
|
|
3517
|
-
type: z.ZodLiteral<"
|
|
3925
|
+
type: z.ZodLiteral<"context.compacted">;
|
|
3518
3926
|
payload: z.ZodObject<{
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3927
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
3928
|
+
id: z.ZodString;
|
|
3929
|
+
path: z.ZodString;
|
|
3930
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
3931
|
+
}, z.core.$loose>>;
|
|
3932
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
trigger: z.ZodEnum<{
|
|
3934
|
+
overflow: "overflow";
|
|
3935
|
+
threshold: "threshold";
|
|
3936
|
+
}>;
|
|
3937
|
+
tokensBefore: z.ZodNumber;
|
|
3938
|
+
tokensAfter: z.ZodNumber;
|
|
3524
3939
|
}, z.core.$loose>;
|
|
3525
3940
|
}, z.core.$strip> | z.ZodObject<{
|
|
3526
3941
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3576,21 +3991,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3576
3991
|
metadata: "metadata";
|
|
3577
3992
|
}>;
|
|
3578
3993
|
} & {
|
|
3579
|
-
type: z.ZodLiteral<"
|
|
3994
|
+
type: z.ZodLiteral<"delegation.completed">;
|
|
3580
3995
|
payload: z.ZodObject<{
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
}>;
|
|
3586
|
-
|
|
3587
|
-
isolation: z.ZodOptional<z.ZodString>;
|
|
3588
|
-
image: z.ZodOptional<z.ZodString>;
|
|
3589
|
-
network: z.ZodOptional<z.ZodUnknown>;
|
|
3590
|
-
reattach: z.ZodOptional<z.ZodBoolean>;
|
|
3591
|
-
lost: z.ZodOptional<z.ZodBoolean>;
|
|
3592
|
-
note: z.ZodOptional<z.ZodString>;
|
|
3593
|
-
error: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
agent: z.ZodObject<{
|
|
3997
|
+
id: z.ZodString;
|
|
3998
|
+
path: z.ZodString;
|
|
3999
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
}, z.core.$loose>;
|
|
4001
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
3594
4002
|
}, z.core.$loose>;
|
|
3595
4003
|
}, z.core.$strip> | z.ZodObject<{
|
|
3596
4004
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3646,22 +4054,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3646
4054
|
metadata: "metadata";
|
|
3647
4055
|
}>;
|
|
3648
4056
|
} & {
|
|
3649
|
-
type: z.ZodLiteral<"
|
|
4057
|
+
type: z.ZodLiteral<"delegation.started">;
|
|
3650
4058
|
payload: z.ZodObject<{
|
|
3651
|
-
agent: z.
|
|
4059
|
+
agent: z.ZodObject<{
|
|
3652
4060
|
id: z.ZodString;
|
|
3653
4061
|
path: z.ZodString;
|
|
3654
4062
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
3655
|
-
}, z.core.$loose
|
|
3656
|
-
callId: z.ZodString
|
|
3657
|
-
invocationId: z.ZodString;
|
|
3658
|
-
capabilityId: z.ZodString;
|
|
3659
|
-
toolName: z.ZodString;
|
|
3660
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
3661
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
3662
|
-
code: z.ZodString;
|
|
3663
|
-
message: z.ZodString;
|
|
3664
|
-
}, z.core.$loose>>;
|
|
4063
|
+
}, z.core.$loose>;
|
|
4064
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
3665
4065
|
}, z.core.$loose>;
|
|
3666
4066
|
}, z.core.$strip> | z.ZodObject<{
|
|
3667
4067
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3717,11 +4117,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3717
4117
|
metadata: "metadata";
|
|
3718
4118
|
}>;
|
|
3719
4119
|
} & {
|
|
3720
|
-
type: z.ZodLiteral<"
|
|
4120
|
+
type: z.ZodLiteral<"effect.uncertain">;
|
|
3721
4121
|
payload: z.ZodObject<{
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
length: z.ZodNumber;
|
|
4122
|
+
effectId: z.ZodString;
|
|
4123
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3725
4124
|
}, z.core.$loose>;
|
|
3726
4125
|
}, z.core.$strip> | z.ZodObject<{
|
|
3727
4126
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3777,13 +4176,19 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3777
4176
|
metadata: "metadata";
|
|
3778
4177
|
}>;
|
|
3779
4178
|
} & {
|
|
3780
|
-
type: z.ZodLiteral<"
|
|
4179
|
+
type: z.ZodLiteral<"loop.decided">;
|
|
3781
4180
|
payload: z.ZodObject<{
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
4181
|
+
path: z.ZodString;
|
|
4182
|
+
n: z.ZodNumber;
|
|
4183
|
+
next: z.ZodEnum<{
|
|
4184
|
+
input: "input";
|
|
4185
|
+
output: "output";
|
|
4186
|
+
}>;
|
|
4187
|
+
patched: z.ZodBoolean;
|
|
4188
|
+
}, z.core.$loose>;
|
|
4189
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4190
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4191
|
+
eventId: z.ZodString;
|
|
3787
4192
|
tenantId: z.ZodString;
|
|
3788
4193
|
sessionId: z.ZodString;
|
|
3789
4194
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -3835,9 +4240,13 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3835
4240
|
metadata: "metadata";
|
|
3836
4241
|
}>;
|
|
3837
4242
|
} & {
|
|
3838
|
-
type: z.ZodLiteral<"
|
|
4243
|
+
type: z.ZodLiteral<"loop.iteration">;
|
|
3839
4244
|
payload: z.ZodObject<{
|
|
3840
|
-
|
|
4245
|
+
path: z.ZodString;
|
|
4246
|
+
n: z.ZodNumber;
|
|
4247
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
4249
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
3841
4250
|
}, z.core.$loose>;
|
|
3842
4251
|
}, z.core.$strip> | z.ZodObject<{
|
|
3843
4252
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3893,13 +4302,88 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3893
4302
|
metadata: "metadata";
|
|
3894
4303
|
}>;
|
|
3895
4304
|
} & {
|
|
3896
|
-
type: z.ZodLiteral<"
|
|
4305
|
+
type: z.ZodLiteral<"loop.verified">;
|
|
3897
4306
|
payload: z.ZodObject<{
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
4307
|
+
path: z.ZodString;
|
|
4308
|
+
n: z.ZodNumber;
|
|
4309
|
+
pass: z.ZodBoolean;
|
|
4310
|
+
feedback: z.ZodOptional<z.ZodString>;
|
|
4311
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
4312
|
+
}, z.core.$loose>;
|
|
4313
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4314
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4315
|
+
eventId: z.ZodString;
|
|
4316
|
+
tenantId: z.ZodString;
|
|
4317
|
+
sessionId: z.ZodString;
|
|
4318
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4319
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4320
|
+
incarnation: z.ZodNumber;
|
|
4321
|
+
epoch: z.ZodNumber;
|
|
4322
|
+
seq: z.ZodNumber;
|
|
4323
|
+
cursor: z.ZodString;
|
|
4324
|
+
time: z.ZodString;
|
|
4325
|
+
schemaVersion: z.ZodNumber;
|
|
4326
|
+
source: z.ZodObject<{
|
|
4327
|
+
kind: z.ZodEnum<{
|
|
4328
|
+
api: "api";
|
|
4329
|
+
controller: "controller";
|
|
4330
|
+
edge: "edge";
|
|
4331
|
+
"egress-gate": "egress-gate";
|
|
4332
|
+
evidence: "evidence";
|
|
4333
|
+
harness: "harness";
|
|
4334
|
+
human: "human";
|
|
4335
|
+
init: "init";
|
|
4336
|
+
loop: "loop";
|
|
4337
|
+
"model-gate": "model-gate";
|
|
4338
|
+
operator: "operator";
|
|
4339
|
+
sandboxd: "sandboxd";
|
|
4340
|
+
supervisor: "supervisor";
|
|
4341
|
+
"tool-gate": "tool-gate";
|
|
4342
|
+
}>;
|
|
4343
|
+
id: z.ZodString;
|
|
4344
|
+
}, z.core.$strip>;
|
|
4345
|
+
evidence: z.ZodEnum<{
|
|
4346
|
+
asserted: "asserted";
|
|
4347
|
+
attested: "attested";
|
|
4348
|
+
claimed: "claimed";
|
|
4349
|
+
measured: "measured";
|
|
4350
|
+
observed: "observed";
|
|
4351
|
+
}>;
|
|
4352
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4353
|
+
traceId: z.ZodString;
|
|
4354
|
+
spanId: z.ZodString;
|
|
4355
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
}, z.core.$strip>>;
|
|
4357
|
+
visibility: z.ZodEnum<{
|
|
4358
|
+
internal: "internal";
|
|
4359
|
+
public: "public";
|
|
4360
|
+
restricted: "restricted";
|
|
4361
|
+
}>;
|
|
4362
|
+
retention: z.ZodEnum<{
|
|
4363
|
+
full: "full";
|
|
4364
|
+
metadata: "metadata";
|
|
4365
|
+
}>;
|
|
4366
|
+
} & {
|
|
4367
|
+
type: z.ZodLiteral<"message.assistant">;
|
|
4368
|
+
payload: z.ZodObject<{
|
|
4369
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4370
|
+
id: z.ZodString;
|
|
4371
|
+
path: z.ZodString;
|
|
4372
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
}, z.core.$loose>>;
|
|
4374
|
+
invocationId: z.ZodString;
|
|
4375
|
+
text: z.ZodString;
|
|
4376
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
4377
|
+
provider: z.ZodString;
|
|
4378
|
+
model: z.ZodString;
|
|
4379
|
+
}, z.core.$loose>>;
|
|
4380
|
+
finishReason: z.ZodOptional<z.ZodString>;
|
|
4381
|
+
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4382
|
+
toolCalls: z.ZodArray<z.ZodObject<{
|
|
4383
|
+
callId: z.ZodString;
|
|
4384
|
+
name: z.ZodString;
|
|
4385
|
+
input: z.ZodUnknown;
|
|
3901
4386
|
}, z.core.$loose>>;
|
|
3902
|
-
message: z.ZodOptional<z.ZodString>;
|
|
3903
4387
|
}, z.core.$loose>;
|
|
3904
4388
|
}, z.core.$strip> | z.ZodObject<{
|
|
3905
4389
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -3955,21 +4439,1230 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3955
4439
|
metadata: "metadata";
|
|
3956
4440
|
}>;
|
|
3957
4441
|
} & {
|
|
3958
|
-
type: z.ZodLiteral<"
|
|
4442
|
+
type: z.ZodLiteral<"model.failed">;
|
|
3959
4443
|
payload: z.ZodObject<{
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
kind: z.ZodString;
|
|
3965
|
-
}, z.core.$loose>;
|
|
3966
|
-
status: z.ZodOptional<z.ZodString>;
|
|
4444
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4445
|
+
id: z.ZodString;
|
|
4446
|
+
path: z.ZodString;
|
|
4447
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
3967
4448
|
}, z.core.$loose>>;
|
|
4449
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
4450
|
+
code: z.ZodString;
|
|
4451
|
+
message: z.ZodString;
|
|
4452
|
+
retryable: z.ZodBoolean;
|
|
3968
4453
|
}, z.core.$loose>;
|
|
3969
|
-
}, z.core.$strip>
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
4454
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4455
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4456
|
+
eventId: z.ZodString;
|
|
4457
|
+
tenantId: z.ZodString;
|
|
4458
|
+
sessionId: z.ZodString;
|
|
4459
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4460
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4461
|
+
incarnation: z.ZodNumber;
|
|
4462
|
+
epoch: z.ZodNumber;
|
|
4463
|
+
seq: z.ZodNumber;
|
|
4464
|
+
cursor: z.ZodString;
|
|
4465
|
+
time: z.ZodString;
|
|
4466
|
+
schemaVersion: z.ZodNumber;
|
|
4467
|
+
source: z.ZodObject<{
|
|
4468
|
+
kind: z.ZodEnum<{
|
|
4469
|
+
api: "api";
|
|
4470
|
+
controller: "controller";
|
|
4471
|
+
edge: "edge";
|
|
4472
|
+
"egress-gate": "egress-gate";
|
|
4473
|
+
evidence: "evidence";
|
|
4474
|
+
harness: "harness";
|
|
4475
|
+
human: "human";
|
|
4476
|
+
init: "init";
|
|
4477
|
+
loop: "loop";
|
|
4478
|
+
"model-gate": "model-gate";
|
|
4479
|
+
operator: "operator";
|
|
4480
|
+
sandboxd: "sandboxd";
|
|
4481
|
+
supervisor: "supervisor";
|
|
4482
|
+
"tool-gate": "tool-gate";
|
|
4483
|
+
}>;
|
|
4484
|
+
id: z.ZodString;
|
|
4485
|
+
}, z.core.$strip>;
|
|
4486
|
+
evidence: z.ZodEnum<{
|
|
4487
|
+
asserted: "asserted";
|
|
4488
|
+
attested: "attested";
|
|
4489
|
+
claimed: "claimed";
|
|
4490
|
+
measured: "measured";
|
|
4491
|
+
observed: "observed";
|
|
4492
|
+
}>;
|
|
4493
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4494
|
+
traceId: z.ZodString;
|
|
4495
|
+
spanId: z.ZodString;
|
|
4496
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
}, z.core.$strip>>;
|
|
4498
|
+
visibility: z.ZodEnum<{
|
|
4499
|
+
internal: "internal";
|
|
4500
|
+
public: "public";
|
|
4501
|
+
restricted: "restricted";
|
|
4502
|
+
}>;
|
|
4503
|
+
retention: z.ZodEnum<{
|
|
4504
|
+
full: "full";
|
|
4505
|
+
metadata: "metadata";
|
|
4506
|
+
}>;
|
|
4507
|
+
} & {
|
|
4508
|
+
type: z.ZodLiteral<"node.agent">;
|
|
4509
|
+
payload: z.ZodObject<{
|
|
4510
|
+
path: z.ZodString;
|
|
4511
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
4512
|
+
sessionId: z.ZodString;
|
|
4513
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4514
|
+
}, z.core.$loose>;
|
|
4515
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4516
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4517
|
+
eventId: z.ZodString;
|
|
4518
|
+
tenantId: z.ZodString;
|
|
4519
|
+
sessionId: z.ZodString;
|
|
4520
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4521
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4522
|
+
incarnation: z.ZodNumber;
|
|
4523
|
+
epoch: z.ZodNumber;
|
|
4524
|
+
seq: z.ZodNumber;
|
|
4525
|
+
cursor: z.ZodString;
|
|
4526
|
+
time: z.ZodString;
|
|
4527
|
+
schemaVersion: z.ZodNumber;
|
|
4528
|
+
source: z.ZodObject<{
|
|
4529
|
+
kind: z.ZodEnum<{
|
|
4530
|
+
api: "api";
|
|
4531
|
+
controller: "controller";
|
|
4532
|
+
edge: "edge";
|
|
4533
|
+
"egress-gate": "egress-gate";
|
|
4534
|
+
evidence: "evidence";
|
|
4535
|
+
harness: "harness";
|
|
4536
|
+
human: "human";
|
|
4537
|
+
init: "init";
|
|
4538
|
+
loop: "loop";
|
|
4539
|
+
"model-gate": "model-gate";
|
|
4540
|
+
operator: "operator";
|
|
4541
|
+
sandboxd: "sandboxd";
|
|
4542
|
+
supervisor: "supervisor";
|
|
4543
|
+
"tool-gate": "tool-gate";
|
|
4544
|
+
}>;
|
|
4545
|
+
id: z.ZodString;
|
|
4546
|
+
}, z.core.$strip>;
|
|
4547
|
+
evidence: z.ZodEnum<{
|
|
4548
|
+
asserted: "asserted";
|
|
4549
|
+
attested: "attested";
|
|
4550
|
+
claimed: "claimed";
|
|
4551
|
+
measured: "measured";
|
|
4552
|
+
observed: "observed";
|
|
4553
|
+
}>;
|
|
4554
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4555
|
+
traceId: z.ZodString;
|
|
4556
|
+
spanId: z.ZodString;
|
|
4557
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4558
|
+
}, z.core.$strip>>;
|
|
4559
|
+
visibility: z.ZodEnum<{
|
|
4560
|
+
internal: "internal";
|
|
4561
|
+
public: "public";
|
|
4562
|
+
restricted: "restricted";
|
|
4563
|
+
}>;
|
|
4564
|
+
retention: z.ZodEnum<{
|
|
4565
|
+
full: "full";
|
|
4566
|
+
metadata: "metadata";
|
|
4567
|
+
}>;
|
|
4568
|
+
} & {
|
|
4569
|
+
type: z.ZodLiteral<"node.started">;
|
|
4570
|
+
payload: z.ZodObject<{
|
|
4571
|
+
path: z.ZodString;
|
|
4572
|
+
kind: z.ZodString;
|
|
4573
|
+
key: z.ZodString;
|
|
4574
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
4575
|
+
}, z.core.$loose>;
|
|
4576
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4577
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4578
|
+
eventId: z.ZodString;
|
|
4579
|
+
tenantId: z.ZodString;
|
|
4580
|
+
sessionId: z.ZodString;
|
|
4581
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4582
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4583
|
+
incarnation: z.ZodNumber;
|
|
4584
|
+
epoch: z.ZodNumber;
|
|
4585
|
+
seq: z.ZodNumber;
|
|
4586
|
+
cursor: z.ZodString;
|
|
4587
|
+
time: z.ZodString;
|
|
4588
|
+
schemaVersion: z.ZodNumber;
|
|
4589
|
+
source: z.ZodObject<{
|
|
4590
|
+
kind: z.ZodEnum<{
|
|
4591
|
+
api: "api";
|
|
4592
|
+
controller: "controller";
|
|
4593
|
+
edge: "edge";
|
|
4594
|
+
"egress-gate": "egress-gate";
|
|
4595
|
+
evidence: "evidence";
|
|
4596
|
+
harness: "harness";
|
|
4597
|
+
human: "human";
|
|
4598
|
+
init: "init";
|
|
4599
|
+
loop: "loop";
|
|
4600
|
+
"model-gate": "model-gate";
|
|
4601
|
+
operator: "operator";
|
|
4602
|
+
sandboxd: "sandboxd";
|
|
4603
|
+
supervisor: "supervisor";
|
|
4604
|
+
"tool-gate": "tool-gate";
|
|
4605
|
+
}>;
|
|
4606
|
+
id: z.ZodString;
|
|
4607
|
+
}, z.core.$strip>;
|
|
4608
|
+
evidence: z.ZodEnum<{
|
|
4609
|
+
asserted: "asserted";
|
|
4610
|
+
attested: "attested";
|
|
4611
|
+
claimed: "claimed";
|
|
4612
|
+
measured: "measured";
|
|
4613
|
+
observed: "observed";
|
|
4614
|
+
}>;
|
|
4615
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4616
|
+
traceId: z.ZodString;
|
|
4617
|
+
spanId: z.ZodString;
|
|
4618
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4619
|
+
}, z.core.$strip>>;
|
|
4620
|
+
visibility: z.ZodEnum<{
|
|
4621
|
+
internal: "internal";
|
|
4622
|
+
public: "public";
|
|
4623
|
+
restricted: "restricted";
|
|
4624
|
+
}>;
|
|
4625
|
+
retention: z.ZodEnum<{
|
|
4626
|
+
full: "full";
|
|
4627
|
+
metadata: "metadata";
|
|
4628
|
+
}>;
|
|
4629
|
+
} & {
|
|
4630
|
+
type: z.ZodLiteral<"sandbox.attached">;
|
|
4631
|
+
payload: z.ZodObject<{
|
|
4632
|
+
sandboxId: z.ZodString;
|
|
4633
|
+
}, z.core.$loose>;
|
|
4634
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4635
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4636
|
+
eventId: z.ZodString;
|
|
4637
|
+
tenantId: z.ZodString;
|
|
4638
|
+
sessionId: z.ZodString;
|
|
4639
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4640
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4641
|
+
incarnation: z.ZodNumber;
|
|
4642
|
+
epoch: z.ZodNumber;
|
|
4643
|
+
seq: z.ZodNumber;
|
|
4644
|
+
cursor: z.ZodString;
|
|
4645
|
+
time: z.ZodString;
|
|
4646
|
+
schemaVersion: z.ZodNumber;
|
|
4647
|
+
source: z.ZodObject<{
|
|
4648
|
+
kind: z.ZodEnum<{
|
|
4649
|
+
api: "api";
|
|
4650
|
+
controller: "controller";
|
|
4651
|
+
edge: "edge";
|
|
4652
|
+
"egress-gate": "egress-gate";
|
|
4653
|
+
evidence: "evidence";
|
|
4654
|
+
harness: "harness";
|
|
4655
|
+
human: "human";
|
|
4656
|
+
init: "init";
|
|
4657
|
+
loop: "loop";
|
|
4658
|
+
"model-gate": "model-gate";
|
|
4659
|
+
operator: "operator";
|
|
4660
|
+
sandboxd: "sandboxd";
|
|
4661
|
+
supervisor: "supervisor";
|
|
4662
|
+
"tool-gate": "tool-gate";
|
|
4663
|
+
}>;
|
|
4664
|
+
id: z.ZodString;
|
|
4665
|
+
}, z.core.$strip>;
|
|
4666
|
+
evidence: z.ZodEnum<{
|
|
4667
|
+
asserted: "asserted";
|
|
4668
|
+
attested: "attested";
|
|
4669
|
+
claimed: "claimed";
|
|
4670
|
+
measured: "measured";
|
|
4671
|
+
observed: "observed";
|
|
4672
|
+
}>;
|
|
4673
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4674
|
+
traceId: z.ZodString;
|
|
4675
|
+
spanId: z.ZodString;
|
|
4676
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4677
|
+
}, z.core.$strip>>;
|
|
4678
|
+
visibility: z.ZodEnum<{
|
|
4679
|
+
internal: "internal";
|
|
4680
|
+
public: "public";
|
|
4681
|
+
restricted: "restricted";
|
|
4682
|
+
}>;
|
|
4683
|
+
retention: z.ZodEnum<{
|
|
4684
|
+
full: "full";
|
|
4685
|
+
metadata: "metadata";
|
|
4686
|
+
}>;
|
|
4687
|
+
} & {
|
|
4688
|
+
type: z.ZodLiteral<"sandbox.exec">;
|
|
4689
|
+
payload: z.ZodObject<{
|
|
4690
|
+
tool: z.ZodString;
|
|
4691
|
+
command: z.ZodOptional<z.ZodString>;
|
|
4692
|
+
outcome: z.ZodString;
|
|
4693
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4694
|
+
durationMs: z.ZodNumber;
|
|
4695
|
+
}, z.core.$loose>;
|
|
4696
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4697
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4698
|
+
eventId: z.ZodString;
|
|
4699
|
+
tenantId: z.ZodString;
|
|
4700
|
+
sessionId: z.ZodString;
|
|
4701
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4702
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4703
|
+
incarnation: z.ZodNumber;
|
|
4704
|
+
epoch: z.ZodNumber;
|
|
4705
|
+
seq: z.ZodNumber;
|
|
4706
|
+
cursor: z.ZodString;
|
|
4707
|
+
time: z.ZodString;
|
|
4708
|
+
schemaVersion: z.ZodNumber;
|
|
4709
|
+
source: z.ZodObject<{
|
|
4710
|
+
kind: z.ZodEnum<{
|
|
4711
|
+
api: "api";
|
|
4712
|
+
controller: "controller";
|
|
4713
|
+
edge: "edge";
|
|
4714
|
+
"egress-gate": "egress-gate";
|
|
4715
|
+
evidence: "evidence";
|
|
4716
|
+
harness: "harness";
|
|
4717
|
+
human: "human";
|
|
4718
|
+
init: "init";
|
|
4719
|
+
loop: "loop";
|
|
4720
|
+
"model-gate": "model-gate";
|
|
4721
|
+
operator: "operator";
|
|
4722
|
+
sandboxd: "sandboxd";
|
|
4723
|
+
supervisor: "supervisor";
|
|
4724
|
+
"tool-gate": "tool-gate";
|
|
4725
|
+
}>;
|
|
4726
|
+
id: z.ZodString;
|
|
4727
|
+
}, z.core.$strip>;
|
|
4728
|
+
evidence: z.ZodEnum<{
|
|
4729
|
+
asserted: "asserted";
|
|
4730
|
+
attested: "attested";
|
|
4731
|
+
claimed: "claimed";
|
|
4732
|
+
measured: "measured";
|
|
4733
|
+
observed: "observed";
|
|
4734
|
+
}>;
|
|
4735
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4736
|
+
traceId: z.ZodString;
|
|
4737
|
+
spanId: z.ZodString;
|
|
4738
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4739
|
+
}, z.core.$strip>>;
|
|
4740
|
+
visibility: z.ZodEnum<{
|
|
4741
|
+
internal: "internal";
|
|
4742
|
+
public: "public";
|
|
4743
|
+
restricted: "restricted";
|
|
4744
|
+
}>;
|
|
4745
|
+
retention: z.ZodEnum<{
|
|
4746
|
+
full: "full";
|
|
4747
|
+
metadata: "metadata";
|
|
4748
|
+
}>;
|
|
4749
|
+
} & {
|
|
4750
|
+
type: z.ZodLiteral<"sandbox.state">;
|
|
4751
|
+
payload: z.ZodObject<{
|
|
4752
|
+
state: z.ZodEnum<{
|
|
4753
|
+
creating: "creating";
|
|
4754
|
+
running: "running";
|
|
4755
|
+
stopped: "stopped";
|
|
4756
|
+
}>;
|
|
4757
|
+
backend: z.ZodString;
|
|
4758
|
+
isolation: z.ZodOptional<z.ZodString>;
|
|
4759
|
+
image: z.ZodOptional<z.ZodString>;
|
|
4760
|
+
network: z.ZodOptional<z.ZodUnknown>;
|
|
4761
|
+
reattach: z.ZodOptional<z.ZodBoolean>;
|
|
4762
|
+
lost: z.ZodOptional<z.ZodBoolean>;
|
|
4763
|
+
note: z.ZodOptional<z.ZodString>;
|
|
4764
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4765
|
+
}, z.core.$loose>;
|
|
4766
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4767
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4768
|
+
eventId: z.ZodString;
|
|
4769
|
+
tenantId: z.ZodString;
|
|
4770
|
+
sessionId: z.ZodString;
|
|
4771
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4772
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4773
|
+
incarnation: z.ZodNumber;
|
|
4774
|
+
epoch: z.ZodNumber;
|
|
4775
|
+
seq: z.ZodNumber;
|
|
4776
|
+
cursor: z.ZodString;
|
|
4777
|
+
time: z.ZodString;
|
|
4778
|
+
schemaVersion: z.ZodNumber;
|
|
4779
|
+
source: z.ZodObject<{
|
|
4780
|
+
kind: z.ZodEnum<{
|
|
4781
|
+
api: "api";
|
|
4782
|
+
controller: "controller";
|
|
4783
|
+
edge: "edge";
|
|
4784
|
+
"egress-gate": "egress-gate";
|
|
4785
|
+
evidence: "evidence";
|
|
4786
|
+
harness: "harness";
|
|
4787
|
+
human: "human";
|
|
4788
|
+
init: "init";
|
|
4789
|
+
loop: "loop";
|
|
4790
|
+
"model-gate": "model-gate";
|
|
4791
|
+
operator: "operator";
|
|
4792
|
+
sandboxd: "sandboxd";
|
|
4793
|
+
supervisor: "supervisor";
|
|
4794
|
+
"tool-gate": "tool-gate";
|
|
4795
|
+
}>;
|
|
4796
|
+
id: z.ZodString;
|
|
4797
|
+
}, z.core.$strip>;
|
|
4798
|
+
evidence: z.ZodEnum<{
|
|
4799
|
+
asserted: "asserted";
|
|
4800
|
+
attested: "attested";
|
|
4801
|
+
claimed: "claimed";
|
|
4802
|
+
measured: "measured";
|
|
4803
|
+
observed: "observed";
|
|
4804
|
+
}>;
|
|
4805
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4806
|
+
traceId: z.ZodString;
|
|
4807
|
+
spanId: z.ZodString;
|
|
4808
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
}, z.core.$strip>>;
|
|
4810
|
+
visibility: z.ZodEnum<{
|
|
4811
|
+
internal: "internal";
|
|
4812
|
+
public: "public";
|
|
4813
|
+
restricted: "restricted";
|
|
4814
|
+
}>;
|
|
4815
|
+
retention: z.ZodEnum<{
|
|
4816
|
+
full: "full";
|
|
4817
|
+
metadata: "metadata";
|
|
4818
|
+
}>;
|
|
4819
|
+
} & {
|
|
4820
|
+
type: z.ZodLiteral<"tool.completed">;
|
|
4821
|
+
payload: z.ZodObject<{
|
|
4822
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4823
|
+
id: z.ZodString;
|
|
4824
|
+
path: z.ZodString;
|
|
4825
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
4826
|
+
}, z.core.$loose>>;
|
|
4827
|
+
callId: z.ZodString;
|
|
4828
|
+
invocationId: z.ZodString;
|
|
4829
|
+
capabilityId: z.ZodString;
|
|
4830
|
+
toolName: z.ZodString;
|
|
4831
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
4832
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
4833
|
+
code: z.ZodString;
|
|
4834
|
+
message: z.ZodString;
|
|
4835
|
+
}, z.core.$loose>>;
|
|
4836
|
+
}, z.core.$loose>;
|
|
4837
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4838
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4839
|
+
eventId: z.ZodString;
|
|
4840
|
+
tenantId: z.ZodString;
|
|
4841
|
+
sessionId: z.ZodString;
|
|
4842
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4843
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4844
|
+
incarnation: z.ZodNumber;
|
|
4845
|
+
epoch: z.ZodNumber;
|
|
4846
|
+
seq: z.ZodNumber;
|
|
4847
|
+
cursor: z.ZodString;
|
|
4848
|
+
time: z.ZodString;
|
|
4849
|
+
schemaVersion: z.ZodNumber;
|
|
4850
|
+
source: z.ZodObject<{
|
|
4851
|
+
kind: z.ZodEnum<{
|
|
4852
|
+
api: "api";
|
|
4853
|
+
controller: "controller";
|
|
4854
|
+
edge: "edge";
|
|
4855
|
+
"egress-gate": "egress-gate";
|
|
4856
|
+
evidence: "evidence";
|
|
4857
|
+
harness: "harness";
|
|
4858
|
+
human: "human";
|
|
4859
|
+
init: "init";
|
|
4860
|
+
loop: "loop";
|
|
4861
|
+
"model-gate": "model-gate";
|
|
4862
|
+
operator: "operator";
|
|
4863
|
+
sandboxd: "sandboxd";
|
|
4864
|
+
supervisor: "supervisor";
|
|
4865
|
+
"tool-gate": "tool-gate";
|
|
4866
|
+
}>;
|
|
4867
|
+
id: z.ZodString;
|
|
4868
|
+
}, z.core.$strip>;
|
|
4869
|
+
evidence: z.ZodEnum<{
|
|
4870
|
+
asserted: "asserted";
|
|
4871
|
+
attested: "attested";
|
|
4872
|
+
claimed: "claimed";
|
|
4873
|
+
measured: "measured";
|
|
4874
|
+
observed: "observed";
|
|
4875
|
+
}>;
|
|
4876
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4877
|
+
traceId: z.ZodString;
|
|
4878
|
+
spanId: z.ZodString;
|
|
4879
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4880
|
+
}, z.core.$strip>>;
|
|
4881
|
+
visibility: z.ZodEnum<{
|
|
4882
|
+
internal: "internal";
|
|
4883
|
+
public: "public";
|
|
4884
|
+
restricted: "restricted";
|
|
4885
|
+
}>;
|
|
4886
|
+
retention: z.ZodEnum<{
|
|
4887
|
+
full: "full";
|
|
4888
|
+
metadata: "metadata";
|
|
4889
|
+
}>;
|
|
4890
|
+
} & {
|
|
4891
|
+
type: z.ZodLiteral<"transcript.updated">;
|
|
4892
|
+
payload: z.ZodObject<{
|
|
4893
|
+
keep: z.ZodNumber;
|
|
4894
|
+
entries: z.ZodArray<z.ZodUnknown>;
|
|
4895
|
+
length: z.ZodNumber;
|
|
4896
|
+
}, z.core.$loose>;
|
|
4897
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4898
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4899
|
+
eventId: z.ZodString;
|
|
4900
|
+
tenantId: z.ZodString;
|
|
4901
|
+
sessionId: z.ZodString;
|
|
4902
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4903
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4904
|
+
incarnation: z.ZodNumber;
|
|
4905
|
+
epoch: z.ZodNumber;
|
|
4906
|
+
seq: z.ZodNumber;
|
|
4907
|
+
cursor: z.ZodString;
|
|
4908
|
+
time: z.ZodString;
|
|
4909
|
+
schemaVersion: z.ZodNumber;
|
|
4910
|
+
source: z.ZodObject<{
|
|
4911
|
+
kind: z.ZodEnum<{
|
|
4912
|
+
api: "api";
|
|
4913
|
+
controller: "controller";
|
|
4914
|
+
edge: "edge";
|
|
4915
|
+
"egress-gate": "egress-gate";
|
|
4916
|
+
evidence: "evidence";
|
|
4917
|
+
harness: "harness";
|
|
4918
|
+
human: "human";
|
|
4919
|
+
init: "init";
|
|
4920
|
+
loop: "loop";
|
|
4921
|
+
"model-gate": "model-gate";
|
|
4922
|
+
operator: "operator";
|
|
4923
|
+
sandboxd: "sandboxd";
|
|
4924
|
+
supervisor: "supervisor";
|
|
4925
|
+
"tool-gate": "tool-gate";
|
|
4926
|
+
}>;
|
|
4927
|
+
id: z.ZodString;
|
|
4928
|
+
}, z.core.$strip>;
|
|
4929
|
+
evidence: z.ZodEnum<{
|
|
4930
|
+
asserted: "asserted";
|
|
4931
|
+
attested: "attested";
|
|
4932
|
+
claimed: "claimed";
|
|
4933
|
+
measured: "measured";
|
|
4934
|
+
observed: "observed";
|
|
4935
|
+
}>;
|
|
4936
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4937
|
+
traceId: z.ZodString;
|
|
4938
|
+
spanId: z.ZodString;
|
|
4939
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4940
|
+
}, z.core.$strip>>;
|
|
4941
|
+
visibility: z.ZodEnum<{
|
|
4942
|
+
internal: "internal";
|
|
4943
|
+
public: "public";
|
|
4944
|
+
restricted: "restricted";
|
|
4945
|
+
}>;
|
|
4946
|
+
retention: z.ZodEnum<{
|
|
4947
|
+
full: "full";
|
|
4948
|
+
metadata: "metadata";
|
|
4949
|
+
}>;
|
|
4950
|
+
} & {
|
|
4951
|
+
type: z.ZodLiteral<"turn.cancelled">;
|
|
4952
|
+
payload: z.ZodObject<{
|
|
4953
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4954
|
+
}, z.core.$loose>;
|
|
4955
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4956
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4957
|
+
eventId: z.ZodString;
|
|
4958
|
+
tenantId: z.ZodString;
|
|
4959
|
+
sessionId: z.ZodString;
|
|
4960
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4961
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4962
|
+
incarnation: z.ZodNumber;
|
|
4963
|
+
epoch: z.ZodNumber;
|
|
4964
|
+
seq: z.ZodNumber;
|
|
4965
|
+
cursor: z.ZodString;
|
|
4966
|
+
time: z.ZodString;
|
|
4967
|
+
schemaVersion: z.ZodNumber;
|
|
4968
|
+
source: z.ZodObject<{
|
|
4969
|
+
kind: z.ZodEnum<{
|
|
4970
|
+
api: "api";
|
|
4971
|
+
controller: "controller";
|
|
4972
|
+
edge: "edge";
|
|
4973
|
+
"egress-gate": "egress-gate";
|
|
4974
|
+
evidence: "evidence";
|
|
4975
|
+
harness: "harness";
|
|
4976
|
+
human: "human";
|
|
4977
|
+
init: "init";
|
|
4978
|
+
loop: "loop";
|
|
4979
|
+
"model-gate": "model-gate";
|
|
4980
|
+
operator: "operator";
|
|
4981
|
+
sandboxd: "sandboxd";
|
|
4982
|
+
supervisor: "supervisor";
|
|
4983
|
+
"tool-gate": "tool-gate";
|
|
4984
|
+
}>;
|
|
4985
|
+
id: z.ZodString;
|
|
4986
|
+
}, z.core.$strip>;
|
|
4987
|
+
evidence: z.ZodEnum<{
|
|
4988
|
+
asserted: "asserted";
|
|
4989
|
+
attested: "attested";
|
|
4990
|
+
claimed: "claimed";
|
|
4991
|
+
measured: "measured";
|
|
4992
|
+
observed: "observed";
|
|
4993
|
+
}>;
|
|
4994
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4995
|
+
traceId: z.ZodString;
|
|
4996
|
+
spanId: z.ZodString;
|
|
4997
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4998
|
+
}, z.core.$strip>>;
|
|
4999
|
+
visibility: z.ZodEnum<{
|
|
5000
|
+
internal: "internal";
|
|
5001
|
+
public: "public";
|
|
5002
|
+
restricted: "restricted";
|
|
5003
|
+
}>;
|
|
5004
|
+
retention: z.ZodEnum<{
|
|
5005
|
+
full: "full";
|
|
5006
|
+
metadata: "metadata";
|
|
5007
|
+
}>;
|
|
5008
|
+
} & {
|
|
5009
|
+
type: z.ZodLiteral<"turn.completed">;
|
|
5010
|
+
payload: z.ZodObject<{
|
|
5011
|
+
output: z.ZodUnknown;
|
|
5012
|
+
}, z.core.$loose>;
|
|
5013
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5014
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5015
|
+
eventId: z.ZodString;
|
|
5016
|
+
tenantId: z.ZodString;
|
|
5017
|
+
sessionId: z.ZodString;
|
|
5018
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5019
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5020
|
+
incarnation: z.ZodNumber;
|
|
5021
|
+
epoch: z.ZodNumber;
|
|
5022
|
+
seq: z.ZodNumber;
|
|
5023
|
+
cursor: z.ZodString;
|
|
5024
|
+
time: z.ZodString;
|
|
5025
|
+
schemaVersion: z.ZodNumber;
|
|
5026
|
+
source: z.ZodObject<{
|
|
5027
|
+
kind: z.ZodEnum<{
|
|
5028
|
+
api: "api";
|
|
5029
|
+
controller: "controller";
|
|
5030
|
+
edge: "edge";
|
|
5031
|
+
"egress-gate": "egress-gate";
|
|
5032
|
+
evidence: "evidence";
|
|
5033
|
+
harness: "harness";
|
|
5034
|
+
human: "human";
|
|
5035
|
+
init: "init";
|
|
5036
|
+
loop: "loop";
|
|
5037
|
+
"model-gate": "model-gate";
|
|
5038
|
+
operator: "operator";
|
|
5039
|
+
sandboxd: "sandboxd";
|
|
5040
|
+
supervisor: "supervisor";
|
|
5041
|
+
"tool-gate": "tool-gate";
|
|
5042
|
+
}>;
|
|
5043
|
+
id: z.ZodString;
|
|
5044
|
+
}, z.core.$strip>;
|
|
5045
|
+
evidence: z.ZodEnum<{
|
|
5046
|
+
asserted: "asserted";
|
|
5047
|
+
attested: "attested";
|
|
5048
|
+
claimed: "claimed";
|
|
5049
|
+
measured: "measured";
|
|
5050
|
+
observed: "observed";
|
|
5051
|
+
}>;
|
|
5052
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5053
|
+
traceId: z.ZodString;
|
|
5054
|
+
spanId: z.ZodString;
|
|
5055
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5056
|
+
}, z.core.$strip>>;
|
|
5057
|
+
visibility: z.ZodEnum<{
|
|
5058
|
+
internal: "internal";
|
|
5059
|
+
public: "public";
|
|
5060
|
+
restricted: "restricted";
|
|
5061
|
+
}>;
|
|
5062
|
+
retention: z.ZodEnum<{
|
|
5063
|
+
full: "full";
|
|
5064
|
+
metadata: "metadata";
|
|
5065
|
+
}>;
|
|
5066
|
+
} & {
|
|
5067
|
+
type: z.ZodLiteral<"turn.failed">;
|
|
5068
|
+
payload: z.ZodObject<{
|
|
5069
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
5070
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5071
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5072
|
+
}, z.core.$loose>>;
|
|
5073
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5074
|
+
}, z.core.$loose>;
|
|
5075
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5076
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5077
|
+
eventId: z.ZodString;
|
|
5078
|
+
tenantId: z.ZodString;
|
|
5079
|
+
sessionId: z.ZodString;
|
|
5080
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5081
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5082
|
+
incarnation: z.ZodNumber;
|
|
5083
|
+
epoch: z.ZodNumber;
|
|
5084
|
+
seq: z.ZodNumber;
|
|
5085
|
+
cursor: z.ZodString;
|
|
5086
|
+
time: z.ZodString;
|
|
5087
|
+
schemaVersion: z.ZodNumber;
|
|
5088
|
+
source: z.ZodObject<{
|
|
5089
|
+
kind: z.ZodEnum<{
|
|
5090
|
+
api: "api";
|
|
5091
|
+
controller: "controller";
|
|
5092
|
+
edge: "edge";
|
|
5093
|
+
"egress-gate": "egress-gate";
|
|
5094
|
+
evidence: "evidence";
|
|
5095
|
+
harness: "harness";
|
|
5096
|
+
human: "human";
|
|
5097
|
+
init: "init";
|
|
5098
|
+
loop: "loop";
|
|
5099
|
+
"model-gate": "model-gate";
|
|
5100
|
+
operator: "operator";
|
|
5101
|
+
sandboxd: "sandboxd";
|
|
5102
|
+
supervisor: "supervisor";
|
|
5103
|
+
"tool-gate": "tool-gate";
|
|
5104
|
+
}>;
|
|
5105
|
+
id: z.ZodString;
|
|
5106
|
+
}, z.core.$strip>;
|
|
5107
|
+
evidence: z.ZodEnum<{
|
|
5108
|
+
asserted: "asserted";
|
|
5109
|
+
attested: "attested";
|
|
5110
|
+
claimed: "claimed";
|
|
5111
|
+
measured: "measured";
|
|
5112
|
+
observed: "observed";
|
|
5113
|
+
}>;
|
|
5114
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5115
|
+
traceId: z.ZodString;
|
|
5116
|
+
spanId: z.ZodString;
|
|
5117
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5118
|
+
}, z.core.$strip>>;
|
|
5119
|
+
visibility: z.ZodEnum<{
|
|
5120
|
+
internal: "internal";
|
|
5121
|
+
public: "public";
|
|
5122
|
+
restricted: "restricted";
|
|
5123
|
+
}>;
|
|
5124
|
+
retention: z.ZodEnum<{
|
|
5125
|
+
full: "full";
|
|
5126
|
+
metadata: "metadata";
|
|
5127
|
+
}>;
|
|
5128
|
+
} & {
|
|
5129
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
5130
|
+
payload: z.ZodObject<{
|
|
5131
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
5132
|
+
invocationId: z.ZodString;
|
|
5133
|
+
interaction: z.ZodObject<{
|
|
5134
|
+
id: z.ZodString;
|
|
5135
|
+
kind: z.ZodString;
|
|
5136
|
+
}, z.core.$loose>;
|
|
5137
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
}, z.core.$loose>>;
|
|
5139
|
+
}, z.core.$loose>;
|
|
5140
|
+
}, z.core.$strip>)[]], "type">;
|
|
5141
|
+
export declare const SessionItemsResponse: z.ZodObject<{
|
|
5142
|
+
cursor: z.ZodNullable<z.ZodString>;
|
|
5143
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5144
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5145
|
+
eventId: z.ZodString;
|
|
5146
|
+
tenantId: z.ZodString;
|
|
5147
|
+
sessionId: z.ZodString;
|
|
5148
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5149
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5150
|
+
incarnation: z.ZodNumber;
|
|
5151
|
+
epoch: z.ZodNumber;
|
|
5152
|
+
seq: z.ZodNumber;
|
|
5153
|
+
cursor: z.ZodString;
|
|
5154
|
+
time: z.ZodString;
|
|
5155
|
+
schemaVersion: z.ZodNumber;
|
|
5156
|
+
source: z.ZodObject<{
|
|
5157
|
+
kind: z.ZodEnum<{
|
|
5158
|
+
api: "api";
|
|
5159
|
+
controller: "controller";
|
|
5160
|
+
edge: "edge";
|
|
5161
|
+
"egress-gate": "egress-gate";
|
|
5162
|
+
evidence: "evidence";
|
|
5163
|
+
harness: "harness";
|
|
5164
|
+
human: "human";
|
|
5165
|
+
init: "init";
|
|
5166
|
+
loop: "loop";
|
|
5167
|
+
"model-gate": "model-gate";
|
|
5168
|
+
operator: "operator";
|
|
5169
|
+
sandboxd: "sandboxd";
|
|
5170
|
+
supervisor: "supervisor";
|
|
5171
|
+
"tool-gate": "tool-gate";
|
|
5172
|
+
}>;
|
|
5173
|
+
id: z.ZodString;
|
|
5174
|
+
}, z.core.$strip>;
|
|
5175
|
+
evidence: z.ZodEnum<{
|
|
5176
|
+
asserted: "asserted";
|
|
5177
|
+
attested: "attested";
|
|
5178
|
+
claimed: "claimed";
|
|
5179
|
+
measured: "measured";
|
|
5180
|
+
observed: "observed";
|
|
5181
|
+
}>;
|
|
5182
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5183
|
+
traceId: z.ZodString;
|
|
5184
|
+
spanId: z.ZodString;
|
|
5185
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5186
|
+
}, z.core.$strip>>;
|
|
5187
|
+
visibility: z.ZodEnum<{
|
|
5188
|
+
internal: "internal";
|
|
5189
|
+
public: "public";
|
|
5190
|
+
restricted: "restricted";
|
|
5191
|
+
}>;
|
|
5192
|
+
retention: z.ZodEnum<{
|
|
5193
|
+
full: "full";
|
|
5194
|
+
metadata: "metadata";
|
|
5195
|
+
}>;
|
|
5196
|
+
} & {
|
|
5197
|
+
type: z.ZodLiteral<"action.completed">;
|
|
5198
|
+
payload: z.ZodObject<{
|
|
5199
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
5200
|
+
id: z.ZodString;
|
|
5201
|
+
path: z.ZodString;
|
|
5202
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5203
|
+
}, z.core.$loose>>;
|
|
5204
|
+
actionId: z.ZodString;
|
|
5205
|
+
kind: z.ZodString;
|
|
5206
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
5207
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5208
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5209
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
5210
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
5211
|
+
result: z.ZodUnknown;
|
|
5212
|
+
}, z.core.$loose>;
|
|
5213
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5214
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5215
|
+
eventId: z.ZodString;
|
|
5216
|
+
tenantId: z.ZodString;
|
|
5217
|
+
sessionId: z.ZodString;
|
|
5218
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5219
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5220
|
+
incarnation: z.ZodNumber;
|
|
5221
|
+
epoch: z.ZodNumber;
|
|
5222
|
+
seq: z.ZodNumber;
|
|
5223
|
+
cursor: z.ZodString;
|
|
5224
|
+
time: z.ZodString;
|
|
5225
|
+
schemaVersion: z.ZodNumber;
|
|
5226
|
+
source: z.ZodObject<{
|
|
5227
|
+
kind: z.ZodEnum<{
|
|
5228
|
+
api: "api";
|
|
5229
|
+
controller: "controller";
|
|
5230
|
+
edge: "edge";
|
|
5231
|
+
"egress-gate": "egress-gate";
|
|
5232
|
+
evidence: "evidence";
|
|
5233
|
+
harness: "harness";
|
|
5234
|
+
human: "human";
|
|
5235
|
+
init: "init";
|
|
5236
|
+
loop: "loop";
|
|
5237
|
+
"model-gate": "model-gate";
|
|
5238
|
+
operator: "operator";
|
|
5239
|
+
sandboxd: "sandboxd";
|
|
5240
|
+
supervisor: "supervisor";
|
|
5241
|
+
"tool-gate": "tool-gate";
|
|
5242
|
+
}>;
|
|
5243
|
+
id: z.ZodString;
|
|
5244
|
+
}, z.core.$strip>;
|
|
5245
|
+
evidence: z.ZodEnum<{
|
|
5246
|
+
asserted: "asserted";
|
|
5247
|
+
attested: "attested";
|
|
5248
|
+
claimed: "claimed";
|
|
5249
|
+
measured: "measured";
|
|
5250
|
+
observed: "observed";
|
|
5251
|
+
}>;
|
|
5252
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5253
|
+
traceId: z.ZodString;
|
|
5254
|
+
spanId: z.ZodString;
|
|
5255
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5256
|
+
}, z.core.$strip>>;
|
|
5257
|
+
visibility: z.ZodEnum<{
|
|
5258
|
+
internal: "internal";
|
|
5259
|
+
public: "public";
|
|
5260
|
+
restricted: "restricted";
|
|
5261
|
+
}>;
|
|
5262
|
+
retention: z.ZodEnum<{
|
|
5263
|
+
full: "full";
|
|
5264
|
+
metadata: "metadata";
|
|
5265
|
+
}>;
|
|
5266
|
+
} & {
|
|
5267
|
+
type: z.ZodLiteral<"action.delivered">;
|
|
5268
|
+
payload: z.ZodObject<{
|
|
5269
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
5270
|
+
id: z.ZodString;
|
|
5271
|
+
path: z.ZodString;
|
|
5272
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5273
|
+
}, z.core.$loose>>;
|
|
5274
|
+
actionId: z.ZodString;
|
|
5275
|
+
generation: z.ZodNumber;
|
|
5276
|
+
}, z.core.$loose>;
|
|
5277
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5278
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5279
|
+
eventId: z.ZodString;
|
|
5280
|
+
tenantId: z.ZodString;
|
|
5281
|
+
sessionId: z.ZodString;
|
|
5282
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5283
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5284
|
+
incarnation: z.ZodNumber;
|
|
5285
|
+
epoch: z.ZodNumber;
|
|
5286
|
+
seq: z.ZodNumber;
|
|
5287
|
+
cursor: z.ZodString;
|
|
5288
|
+
time: z.ZodString;
|
|
5289
|
+
schemaVersion: z.ZodNumber;
|
|
5290
|
+
source: z.ZodObject<{
|
|
5291
|
+
kind: z.ZodEnum<{
|
|
5292
|
+
api: "api";
|
|
5293
|
+
controller: "controller";
|
|
5294
|
+
edge: "edge";
|
|
5295
|
+
"egress-gate": "egress-gate";
|
|
5296
|
+
evidence: "evidence";
|
|
5297
|
+
harness: "harness";
|
|
5298
|
+
human: "human";
|
|
5299
|
+
init: "init";
|
|
5300
|
+
loop: "loop";
|
|
5301
|
+
"model-gate": "model-gate";
|
|
5302
|
+
operator: "operator";
|
|
5303
|
+
sandboxd: "sandboxd";
|
|
5304
|
+
supervisor: "supervisor";
|
|
5305
|
+
"tool-gate": "tool-gate";
|
|
5306
|
+
}>;
|
|
5307
|
+
id: z.ZodString;
|
|
5308
|
+
}, z.core.$strip>;
|
|
5309
|
+
evidence: z.ZodEnum<{
|
|
5310
|
+
asserted: "asserted";
|
|
5311
|
+
attested: "attested";
|
|
5312
|
+
claimed: "claimed";
|
|
5313
|
+
measured: "measured";
|
|
5314
|
+
observed: "observed";
|
|
5315
|
+
}>;
|
|
5316
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5317
|
+
traceId: z.ZodString;
|
|
5318
|
+
spanId: z.ZodString;
|
|
5319
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5320
|
+
}, z.core.$strip>>;
|
|
5321
|
+
visibility: z.ZodEnum<{
|
|
5322
|
+
internal: "internal";
|
|
5323
|
+
public: "public";
|
|
5324
|
+
restricted: "restricted";
|
|
5325
|
+
}>;
|
|
5326
|
+
retention: z.ZodEnum<{
|
|
5327
|
+
full: "full";
|
|
5328
|
+
metadata: "metadata";
|
|
5329
|
+
}>;
|
|
5330
|
+
} & {
|
|
5331
|
+
type: z.ZodLiteral<"action.delivery_failed">;
|
|
5332
|
+
payload: z.ZodObject<{
|
|
5333
|
+
actionId: z.ZodString;
|
|
5334
|
+
generation: z.ZodNumber;
|
|
5335
|
+
reason: z.ZodString;
|
|
5336
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5337
|
+
retryInMs: z.ZodNumber;
|
|
5338
|
+
}, z.core.$loose>;
|
|
5339
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5340
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5341
|
+
eventId: z.ZodString;
|
|
5342
|
+
tenantId: z.ZodString;
|
|
5343
|
+
sessionId: z.ZodString;
|
|
5344
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5345
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5346
|
+
incarnation: z.ZodNumber;
|
|
5347
|
+
epoch: z.ZodNumber;
|
|
5348
|
+
seq: z.ZodNumber;
|
|
5349
|
+
cursor: z.ZodString;
|
|
5350
|
+
time: z.ZodString;
|
|
5351
|
+
schemaVersion: z.ZodNumber;
|
|
5352
|
+
source: z.ZodObject<{
|
|
5353
|
+
kind: z.ZodEnum<{
|
|
5354
|
+
api: "api";
|
|
5355
|
+
controller: "controller";
|
|
5356
|
+
edge: "edge";
|
|
5357
|
+
"egress-gate": "egress-gate";
|
|
5358
|
+
evidence: "evidence";
|
|
5359
|
+
harness: "harness";
|
|
5360
|
+
human: "human";
|
|
5361
|
+
init: "init";
|
|
5362
|
+
loop: "loop";
|
|
5363
|
+
"model-gate": "model-gate";
|
|
5364
|
+
operator: "operator";
|
|
5365
|
+
sandboxd: "sandboxd";
|
|
5366
|
+
supervisor: "supervisor";
|
|
5367
|
+
"tool-gate": "tool-gate";
|
|
5368
|
+
}>;
|
|
5369
|
+
id: z.ZodString;
|
|
5370
|
+
}, z.core.$strip>;
|
|
5371
|
+
evidence: z.ZodEnum<{
|
|
5372
|
+
asserted: "asserted";
|
|
5373
|
+
attested: "attested";
|
|
5374
|
+
claimed: "claimed";
|
|
5375
|
+
measured: "measured";
|
|
5376
|
+
observed: "observed";
|
|
5377
|
+
}>;
|
|
5378
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5379
|
+
traceId: z.ZodString;
|
|
5380
|
+
spanId: z.ZodString;
|
|
5381
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5382
|
+
}, z.core.$strip>>;
|
|
5383
|
+
visibility: z.ZodEnum<{
|
|
5384
|
+
internal: "internal";
|
|
5385
|
+
public: "public";
|
|
5386
|
+
restricted: "restricted";
|
|
5387
|
+
}>;
|
|
5388
|
+
retention: z.ZodEnum<{
|
|
5389
|
+
full: "full";
|
|
5390
|
+
metadata: "metadata";
|
|
5391
|
+
}>;
|
|
5392
|
+
} & {
|
|
5393
|
+
type: z.ZodLiteral<"action.pending">;
|
|
5394
|
+
payload: z.ZodObject<{
|
|
5395
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
5396
|
+
id: z.ZodString;
|
|
5397
|
+
path: z.ZodString;
|
|
5398
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5399
|
+
}, z.core.$loose>>;
|
|
5400
|
+
actionId: z.ZodString;
|
|
5401
|
+
kind: z.ZodString;
|
|
5402
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
5403
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5404
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5405
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
5406
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
5407
|
+
input: z.ZodUnknown;
|
|
5408
|
+
}, z.core.$loose>;
|
|
5409
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5410
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5411
|
+
eventId: z.ZodString;
|
|
5412
|
+
tenantId: z.ZodString;
|
|
5413
|
+
sessionId: z.ZodString;
|
|
5414
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5415
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5416
|
+
incarnation: z.ZodNumber;
|
|
5417
|
+
epoch: z.ZodNumber;
|
|
5418
|
+
seq: z.ZodNumber;
|
|
5419
|
+
cursor: z.ZodString;
|
|
5420
|
+
time: z.ZodString;
|
|
5421
|
+
schemaVersion: z.ZodNumber;
|
|
5422
|
+
source: z.ZodObject<{
|
|
5423
|
+
kind: z.ZodEnum<{
|
|
5424
|
+
api: "api";
|
|
5425
|
+
controller: "controller";
|
|
5426
|
+
edge: "edge";
|
|
5427
|
+
"egress-gate": "egress-gate";
|
|
5428
|
+
evidence: "evidence";
|
|
5429
|
+
harness: "harness";
|
|
5430
|
+
human: "human";
|
|
5431
|
+
init: "init";
|
|
5432
|
+
loop: "loop";
|
|
5433
|
+
"model-gate": "model-gate";
|
|
5434
|
+
operator: "operator";
|
|
5435
|
+
sandboxd: "sandboxd";
|
|
5436
|
+
supervisor: "supervisor";
|
|
5437
|
+
"tool-gate": "tool-gate";
|
|
5438
|
+
}>;
|
|
5439
|
+
id: z.ZodString;
|
|
5440
|
+
}, z.core.$strip>;
|
|
5441
|
+
evidence: z.ZodEnum<{
|
|
5442
|
+
asserted: "asserted";
|
|
5443
|
+
attested: "attested";
|
|
5444
|
+
claimed: "claimed";
|
|
5445
|
+
measured: "measured";
|
|
5446
|
+
observed: "observed";
|
|
5447
|
+
}>;
|
|
5448
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5449
|
+
traceId: z.ZodString;
|
|
5450
|
+
spanId: z.ZodString;
|
|
5451
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5452
|
+
}, z.core.$strip>>;
|
|
5453
|
+
visibility: z.ZodEnum<{
|
|
5454
|
+
internal: "internal";
|
|
5455
|
+
public: "public";
|
|
5456
|
+
restricted: "restricted";
|
|
5457
|
+
}>;
|
|
5458
|
+
retention: z.ZodEnum<{
|
|
5459
|
+
full: "full";
|
|
5460
|
+
metadata: "metadata";
|
|
5461
|
+
}>;
|
|
5462
|
+
} & {
|
|
5463
|
+
type: z.ZodLiteral<"action.uncertain">;
|
|
5464
|
+
payload: z.ZodObject<{
|
|
5465
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
5466
|
+
id: z.ZodString;
|
|
5467
|
+
path: z.ZodString;
|
|
5468
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5469
|
+
}, z.core.$loose>>;
|
|
5470
|
+
actionId: z.ZodString;
|
|
5471
|
+
}, z.core.$loose>;
|
|
5472
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5473
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5474
|
+
eventId: z.ZodString;
|
|
5475
|
+
tenantId: z.ZodString;
|
|
5476
|
+
sessionId: z.ZodString;
|
|
5477
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5478
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5479
|
+
incarnation: z.ZodNumber;
|
|
5480
|
+
epoch: z.ZodNumber;
|
|
5481
|
+
seq: z.ZodNumber;
|
|
5482
|
+
cursor: z.ZodString;
|
|
5483
|
+
time: z.ZodString;
|
|
5484
|
+
schemaVersion: z.ZodNumber;
|
|
5485
|
+
source: z.ZodObject<{
|
|
5486
|
+
kind: z.ZodEnum<{
|
|
5487
|
+
api: "api";
|
|
5488
|
+
controller: "controller";
|
|
5489
|
+
edge: "edge";
|
|
5490
|
+
"egress-gate": "egress-gate";
|
|
5491
|
+
evidence: "evidence";
|
|
5492
|
+
harness: "harness";
|
|
5493
|
+
human: "human";
|
|
5494
|
+
init: "init";
|
|
5495
|
+
loop: "loop";
|
|
5496
|
+
"model-gate": "model-gate";
|
|
5497
|
+
operator: "operator";
|
|
5498
|
+
sandboxd: "sandboxd";
|
|
5499
|
+
supervisor: "supervisor";
|
|
5500
|
+
"tool-gate": "tool-gate";
|
|
5501
|
+
}>;
|
|
5502
|
+
id: z.ZodString;
|
|
5503
|
+
}, z.core.$strip>;
|
|
5504
|
+
evidence: z.ZodEnum<{
|
|
5505
|
+
asserted: "asserted";
|
|
5506
|
+
attested: "attested";
|
|
5507
|
+
claimed: "claimed";
|
|
5508
|
+
measured: "measured";
|
|
5509
|
+
observed: "observed";
|
|
5510
|
+
}>;
|
|
5511
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5512
|
+
traceId: z.ZodString;
|
|
5513
|
+
spanId: z.ZodString;
|
|
5514
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5515
|
+
}, z.core.$strip>>;
|
|
5516
|
+
visibility: z.ZodEnum<{
|
|
5517
|
+
internal: "internal";
|
|
5518
|
+
public: "public";
|
|
5519
|
+
restricted: "restricted";
|
|
5520
|
+
}>;
|
|
5521
|
+
retention: z.ZodEnum<{
|
|
5522
|
+
full: "full";
|
|
5523
|
+
metadata: "metadata";
|
|
5524
|
+
}>;
|
|
5525
|
+
} & {
|
|
5526
|
+
type: z.ZodLiteral<"artifact.created">;
|
|
5527
|
+
payload: z.ZodObject<{
|
|
5528
|
+
artifactId: z.ZodString;
|
|
5529
|
+
kind: z.ZodEnum<{
|
|
5530
|
+
file: "file";
|
|
5531
|
+
folder: "folder";
|
|
5532
|
+
}>;
|
|
5533
|
+
name: z.ZodString;
|
|
5534
|
+
contentType: z.ZodString;
|
|
5535
|
+
version: z.ZodNumber;
|
|
5536
|
+
size: z.ZodNumber;
|
|
5537
|
+
sha256: z.ZodString;
|
|
5538
|
+
source: z.ZodEnum<{
|
|
5539
|
+
engine: "engine";
|
|
5540
|
+
export: "export";
|
|
5541
|
+
upload: "upload";
|
|
5542
|
+
}>;
|
|
5543
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
5544
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
5545
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
5546
|
+
}, z.core.$loose>;
|
|
5547
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5548
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5549
|
+
eventId: z.ZodString;
|
|
5550
|
+
tenantId: z.ZodString;
|
|
5551
|
+
sessionId: z.ZodString;
|
|
5552
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5553
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5554
|
+
incarnation: z.ZodNumber;
|
|
5555
|
+
epoch: z.ZodNumber;
|
|
5556
|
+
seq: z.ZodNumber;
|
|
5557
|
+
cursor: z.ZodString;
|
|
5558
|
+
time: z.ZodString;
|
|
5559
|
+
schemaVersion: z.ZodNumber;
|
|
5560
|
+
source: z.ZodObject<{
|
|
5561
|
+
kind: z.ZodEnum<{
|
|
5562
|
+
api: "api";
|
|
5563
|
+
controller: "controller";
|
|
5564
|
+
edge: "edge";
|
|
5565
|
+
"egress-gate": "egress-gate";
|
|
5566
|
+
evidence: "evidence";
|
|
5567
|
+
harness: "harness";
|
|
5568
|
+
human: "human";
|
|
5569
|
+
init: "init";
|
|
5570
|
+
loop: "loop";
|
|
5571
|
+
"model-gate": "model-gate";
|
|
5572
|
+
operator: "operator";
|
|
5573
|
+
sandboxd: "sandboxd";
|
|
5574
|
+
supervisor: "supervisor";
|
|
5575
|
+
"tool-gate": "tool-gate";
|
|
5576
|
+
}>;
|
|
5577
|
+
id: z.ZodString;
|
|
5578
|
+
}, z.core.$strip>;
|
|
5579
|
+
evidence: z.ZodEnum<{
|
|
5580
|
+
asserted: "asserted";
|
|
5581
|
+
attested: "attested";
|
|
5582
|
+
claimed: "claimed";
|
|
5583
|
+
measured: "measured";
|
|
5584
|
+
observed: "observed";
|
|
5585
|
+
}>;
|
|
5586
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5587
|
+
traceId: z.ZodString;
|
|
5588
|
+
spanId: z.ZodString;
|
|
5589
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5590
|
+
}, z.core.$strip>>;
|
|
5591
|
+
visibility: z.ZodEnum<{
|
|
5592
|
+
internal: "internal";
|
|
5593
|
+
public: "public";
|
|
5594
|
+
restricted: "restricted";
|
|
5595
|
+
}>;
|
|
5596
|
+
retention: z.ZodEnum<{
|
|
5597
|
+
full: "full";
|
|
5598
|
+
metadata: "metadata";
|
|
5599
|
+
}>;
|
|
5600
|
+
} & {
|
|
5601
|
+
type: z.ZodLiteral<"artifact.deleted">;
|
|
5602
|
+
payload: z.ZodObject<{
|
|
5603
|
+
artifactId: z.ZodString;
|
|
5604
|
+
name: z.ZodString;
|
|
5605
|
+
}, z.core.$loose>;
|
|
5606
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5607
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5608
|
+
eventId: z.ZodString;
|
|
5609
|
+
tenantId: z.ZodString;
|
|
5610
|
+
sessionId: z.ZodString;
|
|
5611
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5612
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5613
|
+
incarnation: z.ZodNumber;
|
|
5614
|
+
epoch: z.ZodNumber;
|
|
5615
|
+
seq: z.ZodNumber;
|
|
5616
|
+
cursor: z.ZodString;
|
|
5617
|
+
time: z.ZodString;
|
|
5618
|
+
schemaVersion: z.ZodNumber;
|
|
5619
|
+
source: z.ZodObject<{
|
|
5620
|
+
kind: z.ZodEnum<{
|
|
5621
|
+
api: "api";
|
|
5622
|
+
controller: "controller";
|
|
5623
|
+
edge: "edge";
|
|
5624
|
+
"egress-gate": "egress-gate";
|
|
5625
|
+
evidence: "evidence";
|
|
5626
|
+
harness: "harness";
|
|
5627
|
+
human: "human";
|
|
5628
|
+
init: "init";
|
|
5629
|
+
loop: "loop";
|
|
5630
|
+
"model-gate": "model-gate";
|
|
5631
|
+
operator: "operator";
|
|
5632
|
+
sandboxd: "sandboxd";
|
|
5633
|
+
supervisor: "supervisor";
|
|
5634
|
+
"tool-gate": "tool-gate";
|
|
5635
|
+
}>;
|
|
5636
|
+
id: z.ZodString;
|
|
5637
|
+
}, z.core.$strip>;
|
|
5638
|
+
evidence: z.ZodEnum<{
|
|
5639
|
+
asserted: "asserted";
|
|
5640
|
+
attested: "attested";
|
|
5641
|
+
claimed: "claimed";
|
|
5642
|
+
measured: "measured";
|
|
5643
|
+
observed: "observed";
|
|
5644
|
+
}>;
|
|
5645
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5646
|
+
traceId: z.ZodString;
|
|
5647
|
+
spanId: z.ZodString;
|
|
5648
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5649
|
+
}, z.core.$strip>>;
|
|
5650
|
+
visibility: z.ZodEnum<{
|
|
5651
|
+
internal: "internal";
|
|
5652
|
+
public: "public";
|
|
5653
|
+
restricted: "restricted";
|
|
5654
|
+
}>;
|
|
5655
|
+
retention: z.ZodEnum<{
|
|
5656
|
+
full: "full";
|
|
5657
|
+
metadata: "metadata";
|
|
5658
|
+
}>;
|
|
5659
|
+
} & {
|
|
5660
|
+
type: z.ZodLiteral<"artifact.export.failed">;
|
|
5661
|
+
payload: z.ZodObject<{
|
|
5662
|
+
name: z.ZodString;
|
|
5663
|
+
message: z.ZodString;
|
|
5664
|
+
}, z.core.$loose>;
|
|
5665
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
3973
5666
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
3974
5667
|
eventId: z.ZodString;
|
|
3975
5668
|
tenantId: z.ZodString;
|
|
@@ -4023,21 +5716,93 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4023
5716
|
metadata: "metadata";
|
|
4024
5717
|
}>;
|
|
4025
5718
|
} & {
|
|
4026
|
-
type: z.ZodLiteral<"
|
|
5719
|
+
type: z.ZodLiteral<"artifact.export.skipped">;
|
|
4027
5720
|
payload: z.ZodObject<{
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
5721
|
+
name: z.ZodString;
|
|
5722
|
+
reason: z.ZodEnum<{
|
|
5723
|
+
file_too_large: "file_too_large";
|
|
5724
|
+
tenant_total: "tenant_total";
|
|
5725
|
+
too_large: "too_large";
|
|
5726
|
+
too_many_files: "too_many_files";
|
|
5727
|
+
}>;
|
|
5728
|
+
message: z.ZodString;
|
|
5729
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4036
5730
|
path: z.ZodOptional<z.ZodString>;
|
|
4037
|
-
|
|
5731
|
+
}, z.core.$loose>;
|
|
5732
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5733
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5734
|
+
eventId: z.ZodString;
|
|
5735
|
+
tenantId: z.ZodString;
|
|
5736
|
+
sessionId: z.ZodString;
|
|
5737
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5738
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5739
|
+
incarnation: z.ZodNumber;
|
|
5740
|
+
epoch: z.ZodNumber;
|
|
5741
|
+
seq: z.ZodNumber;
|
|
5742
|
+
cursor: z.ZodString;
|
|
5743
|
+
time: z.ZodString;
|
|
5744
|
+
schemaVersion: z.ZodNumber;
|
|
5745
|
+
source: z.ZodObject<{
|
|
5746
|
+
kind: z.ZodEnum<{
|
|
5747
|
+
api: "api";
|
|
5748
|
+
controller: "controller";
|
|
5749
|
+
edge: "edge";
|
|
5750
|
+
"egress-gate": "egress-gate";
|
|
5751
|
+
evidence: "evidence";
|
|
5752
|
+
harness: "harness";
|
|
5753
|
+
human: "human";
|
|
5754
|
+
init: "init";
|
|
5755
|
+
loop: "loop";
|
|
5756
|
+
"model-gate": "model-gate";
|
|
5757
|
+
operator: "operator";
|
|
5758
|
+
sandboxd: "sandboxd";
|
|
5759
|
+
supervisor: "supervisor";
|
|
5760
|
+
"tool-gate": "tool-gate";
|
|
5761
|
+
}>;
|
|
5762
|
+
id: z.ZodString;
|
|
5763
|
+
}, z.core.$strip>;
|
|
5764
|
+
evidence: z.ZodEnum<{
|
|
5765
|
+
asserted: "asserted";
|
|
5766
|
+
attested: "attested";
|
|
5767
|
+
claimed: "claimed";
|
|
5768
|
+
measured: "measured";
|
|
5769
|
+
observed: "observed";
|
|
5770
|
+
}>;
|
|
5771
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5772
|
+
traceId: z.ZodString;
|
|
5773
|
+
spanId: z.ZodString;
|
|
5774
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
}, z.core.$strip>>;
|
|
5776
|
+
visibility: z.ZodEnum<{
|
|
5777
|
+
internal: "internal";
|
|
5778
|
+
public: "public";
|
|
5779
|
+
restricted: "restricted";
|
|
5780
|
+
}>;
|
|
5781
|
+
retention: z.ZodEnum<{
|
|
5782
|
+
full: "full";
|
|
5783
|
+
metadata: "metadata";
|
|
5784
|
+
}>;
|
|
5785
|
+
} & {
|
|
5786
|
+
type: z.ZodLiteral<"artifact.version.created">;
|
|
5787
|
+
payload: z.ZodObject<{
|
|
5788
|
+
artifactId: z.ZodString;
|
|
5789
|
+
kind: z.ZodEnum<{
|
|
5790
|
+
file: "file";
|
|
5791
|
+
folder: "folder";
|
|
5792
|
+
}>;
|
|
5793
|
+
name: z.ZodString;
|
|
5794
|
+
contentType: z.ZodString;
|
|
5795
|
+
version: z.ZodNumber;
|
|
5796
|
+
size: z.ZodNumber;
|
|
5797
|
+
sha256: z.ZodString;
|
|
5798
|
+
source: z.ZodEnum<{
|
|
5799
|
+
engine: "engine";
|
|
5800
|
+
export: "export";
|
|
5801
|
+
upload: "upload";
|
|
5802
|
+
}>;
|
|
4038
5803
|
callId: z.ZodOptional<z.ZodString>;
|
|
4039
|
-
|
|
4040
|
-
|
|
5804
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
5805
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
4041
5806
|
}, z.core.$loose>;
|
|
4042
5807
|
}, z.core.$strip> | z.ZodObject<{
|
|
4043
5808
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4093,15 +5858,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4093
5858
|
metadata: "metadata";
|
|
4094
5859
|
}>;
|
|
4095
5860
|
} & {
|
|
4096
|
-
type: z.ZodLiteral<"
|
|
5861
|
+
type: z.ZodLiteral<"command.approve">;
|
|
4097
5862
|
payload: z.ZodObject<{
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
actionId: z.ZodString;
|
|
4104
|
-
generation: z.ZodNumber;
|
|
5863
|
+
requestId: z.ZodString;
|
|
5864
|
+
idempotencyKey: z.ZodString;
|
|
5865
|
+
type: z.ZodLiteral<"approve">;
|
|
5866
|
+
interactionId: z.ZodString;
|
|
5867
|
+
approved: z.ZodBoolean;
|
|
4105
5868
|
}, z.core.$loose>;
|
|
4106
5869
|
}, z.core.$strip> | z.ZodObject<{
|
|
4107
5870
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4157,13 +5920,22 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4157
5920
|
metadata: "metadata";
|
|
4158
5921
|
}>;
|
|
4159
5922
|
} & {
|
|
4160
|
-
type: z.ZodLiteral<"
|
|
5923
|
+
type: z.ZodLiteral<"command.message">;
|
|
4161
5924
|
payload: z.ZodObject<{
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
5925
|
+
requestId: z.ZodString;
|
|
5926
|
+
idempotencyKey: z.ZodString;
|
|
5927
|
+
type: z.ZodLiteral<"message">;
|
|
5928
|
+
content: z.ZodOptional<z.ZodString>;
|
|
5929
|
+
data: z.ZodOptional<z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>>;
|
|
5930
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5931
|
+
type: z.ZodLiteral<"text">;
|
|
5932
|
+
text: z.ZodString;
|
|
5933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5934
|
+
type: z.ZodLiteral<"file">;
|
|
5935
|
+
artifactId: z.ZodString;
|
|
5936
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
5937
|
+
}, z.core.$strict>], "type">>>;
|
|
5938
|
+
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
4167
5939
|
}, z.core.$loose>;
|
|
4168
5940
|
}, z.core.$strip> | z.ZodObject<{
|
|
4169
5941
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4219,21 +5991,145 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4219
5991
|
metadata: "metadata";
|
|
4220
5992
|
}>;
|
|
4221
5993
|
} & {
|
|
4222
|
-
type: z.ZodLiteral<"
|
|
5994
|
+
type: z.ZodLiteral<"command.respond">;
|
|
5995
|
+
payload: z.ZodObject<{
|
|
5996
|
+
requestId: z.ZodString;
|
|
5997
|
+
idempotencyKey: z.ZodString;
|
|
5998
|
+
type: z.ZodLiteral<"respond">;
|
|
5999
|
+
interactionId: z.ZodString;
|
|
6000
|
+
value: z.ZodUnknown;
|
|
6001
|
+
}, z.core.$loose>;
|
|
6002
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
6003
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
6004
|
+
eventId: z.ZodString;
|
|
6005
|
+
tenantId: z.ZodString;
|
|
6006
|
+
sessionId: z.ZodString;
|
|
6007
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
6008
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
6009
|
+
incarnation: z.ZodNumber;
|
|
6010
|
+
epoch: z.ZodNumber;
|
|
6011
|
+
seq: z.ZodNumber;
|
|
6012
|
+
cursor: z.ZodString;
|
|
6013
|
+
time: z.ZodString;
|
|
6014
|
+
schemaVersion: z.ZodNumber;
|
|
6015
|
+
source: z.ZodObject<{
|
|
6016
|
+
kind: z.ZodEnum<{
|
|
6017
|
+
api: "api";
|
|
6018
|
+
controller: "controller";
|
|
6019
|
+
edge: "edge";
|
|
6020
|
+
"egress-gate": "egress-gate";
|
|
6021
|
+
evidence: "evidence";
|
|
6022
|
+
harness: "harness";
|
|
6023
|
+
human: "human";
|
|
6024
|
+
init: "init";
|
|
6025
|
+
loop: "loop";
|
|
6026
|
+
"model-gate": "model-gate";
|
|
6027
|
+
operator: "operator";
|
|
6028
|
+
sandboxd: "sandboxd";
|
|
6029
|
+
supervisor: "supervisor";
|
|
6030
|
+
"tool-gate": "tool-gate";
|
|
6031
|
+
}>;
|
|
6032
|
+
id: z.ZodString;
|
|
6033
|
+
}, z.core.$strip>;
|
|
6034
|
+
evidence: z.ZodEnum<{
|
|
6035
|
+
asserted: "asserted";
|
|
6036
|
+
attested: "attested";
|
|
6037
|
+
claimed: "claimed";
|
|
6038
|
+
measured: "measured";
|
|
6039
|
+
observed: "observed";
|
|
6040
|
+
}>;
|
|
6041
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
6042
|
+
traceId: z.ZodString;
|
|
6043
|
+
spanId: z.ZodString;
|
|
6044
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
6045
|
+
}, z.core.$strip>>;
|
|
6046
|
+
visibility: z.ZodEnum<{
|
|
6047
|
+
internal: "internal";
|
|
6048
|
+
public: "public";
|
|
6049
|
+
restricted: "restricted";
|
|
6050
|
+
}>;
|
|
6051
|
+
retention: z.ZodEnum<{
|
|
6052
|
+
full: "full";
|
|
6053
|
+
metadata: "metadata";
|
|
6054
|
+
}>;
|
|
6055
|
+
} & {
|
|
6056
|
+
type: z.ZodLiteral<"context.compacted">;
|
|
4223
6057
|
payload: z.ZodObject<{
|
|
4224
6058
|
agent: z.ZodOptional<z.ZodObject<{
|
|
4225
6059
|
id: z.ZodString;
|
|
4226
6060
|
path: z.ZodString;
|
|
4227
6061
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
4228
6062
|
}, z.core.$loose>>;
|
|
4229
|
-
actionId: z.ZodString;
|
|
4230
|
-
kind: z.ZodString;
|
|
4231
|
-
toolName: z.ZodOptional<z.ZodString>;
|
|
4232
|
-
path: z.ZodOptional<z.ZodString>;
|
|
4233
|
-
key: z.ZodOptional<z.ZodString>;
|
|
4234
|
-
callId: z.ZodOptional<z.ZodString>;
|
|
4235
6063
|
invocationId: z.ZodOptional<z.ZodString>;
|
|
4236
|
-
|
|
6064
|
+
trigger: z.ZodEnum<{
|
|
6065
|
+
overflow: "overflow";
|
|
6066
|
+
threshold: "threshold";
|
|
6067
|
+
}>;
|
|
6068
|
+
tokensBefore: z.ZodNumber;
|
|
6069
|
+
tokensAfter: z.ZodNumber;
|
|
6070
|
+
}, z.core.$loose>;
|
|
6071
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
6072
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
6073
|
+
eventId: z.ZodString;
|
|
6074
|
+
tenantId: z.ZodString;
|
|
6075
|
+
sessionId: z.ZodString;
|
|
6076
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
6077
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
6078
|
+
incarnation: z.ZodNumber;
|
|
6079
|
+
epoch: z.ZodNumber;
|
|
6080
|
+
seq: z.ZodNumber;
|
|
6081
|
+
cursor: z.ZodString;
|
|
6082
|
+
time: z.ZodString;
|
|
6083
|
+
schemaVersion: z.ZodNumber;
|
|
6084
|
+
source: z.ZodObject<{
|
|
6085
|
+
kind: z.ZodEnum<{
|
|
6086
|
+
api: "api";
|
|
6087
|
+
controller: "controller";
|
|
6088
|
+
edge: "edge";
|
|
6089
|
+
"egress-gate": "egress-gate";
|
|
6090
|
+
evidence: "evidence";
|
|
6091
|
+
harness: "harness";
|
|
6092
|
+
human: "human";
|
|
6093
|
+
init: "init";
|
|
6094
|
+
loop: "loop";
|
|
6095
|
+
"model-gate": "model-gate";
|
|
6096
|
+
operator: "operator";
|
|
6097
|
+
sandboxd: "sandboxd";
|
|
6098
|
+
supervisor: "supervisor";
|
|
6099
|
+
"tool-gate": "tool-gate";
|
|
6100
|
+
}>;
|
|
6101
|
+
id: z.ZodString;
|
|
6102
|
+
}, z.core.$strip>;
|
|
6103
|
+
evidence: z.ZodEnum<{
|
|
6104
|
+
asserted: "asserted";
|
|
6105
|
+
attested: "attested";
|
|
6106
|
+
claimed: "claimed";
|
|
6107
|
+
measured: "measured";
|
|
6108
|
+
observed: "observed";
|
|
6109
|
+
}>;
|
|
6110
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
6111
|
+
traceId: z.ZodString;
|
|
6112
|
+
spanId: z.ZodString;
|
|
6113
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
6114
|
+
}, z.core.$strip>>;
|
|
6115
|
+
visibility: z.ZodEnum<{
|
|
6116
|
+
internal: "internal";
|
|
6117
|
+
public: "public";
|
|
6118
|
+
restricted: "restricted";
|
|
6119
|
+
}>;
|
|
6120
|
+
retention: z.ZodEnum<{
|
|
6121
|
+
full: "full";
|
|
6122
|
+
metadata: "metadata";
|
|
6123
|
+
}>;
|
|
6124
|
+
} & {
|
|
6125
|
+
type: z.ZodLiteral<"delegation.completed">;
|
|
6126
|
+
payload: z.ZodObject<{
|
|
6127
|
+
agent: z.ZodObject<{
|
|
6128
|
+
id: z.ZodString;
|
|
6129
|
+
path: z.ZodString;
|
|
6130
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
6131
|
+
}, z.core.$loose>;
|
|
6132
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
4237
6133
|
}, z.core.$loose>;
|
|
4238
6134
|
}, z.core.$strip> | z.ZodObject<{
|
|
4239
6135
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4289,14 +6185,14 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4289
6185
|
metadata: "metadata";
|
|
4290
6186
|
}>;
|
|
4291
6187
|
} & {
|
|
4292
|
-
type: z.ZodLiteral<"
|
|
6188
|
+
type: z.ZodLiteral<"delegation.started">;
|
|
4293
6189
|
payload: z.ZodObject<{
|
|
4294
|
-
agent: z.
|
|
6190
|
+
agent: z.ZodObject<{
|
|
4295
6191
|
id: z.ZodString;
|
|
4296
6192
|
path: z.ZodString;
|
|
4297
6193
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
4298
|
-
}, z.core.$loose
|
|
4299
|
-
|
|
6194
|
+
}, z.core.$loose>;
|
|
6195
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
4300
6196
|
}, z.core.$loose>;
|
|
4301
6197
|
}, z.core.$strip> | z.ZodObject<{
|
|
4302
6198
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4352,13 +6248,10 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4352
6248
|
metadata: "metadata";
|
|
4353
6249
|
}>;
|
|
4354
6250
|
} & {
|
|
4355
|
-
type: z.ZodLiteral<"
|
|
6251
|
+
type: z.ZodLiteral<"effect.uncertain">;
|
|
4356
6252
|
payload: z.ZodObject<{
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
type: z.ZodLiteral<"approve">;
|
|
4360
|
-
interactionId: z.ZodString;
|
|
4361
|
-
approved: z.ZodBoolean;
|
|
6253
|
+
effectId: z.ZodString;
|
|
6254
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4362
6255
|
}, z.core.$loose>;
|
|
4363
6256
|
}, z.core.$strip> | z.ZodObject<{
|
|
4364
6257
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4414,14 +6307,15 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4414
6307
|
metadata: "metadata";
|
|
4415
6308
|
}>;
|
|
4416
6309
|
} & {
|
|
4417
|
-
type: z.ZodLiteral<"
|
|
6310
|
+
type: z.ZodLiteral<"loop.decided">;
|
|
4418
6311
|
payload: z.ZodObject<{
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
6312
|
+
path: z.ZodString;
|
|
6313
|
+
n: z.ZodNumber;
|
|
6314
|
+
next: z.ZodEnum<{
|
|
6315
|
+
input: "input";
|
|
6316
|
+
output: "output";
|
|
6317
|
+
}>;
|
|
6318
|
+
patched: z.ZodBoolean;
|
|
4425
6319
|
}, z.core.$loose>;
|
|
4426
6320
|
}, z.core.$strip> | z.ZodObject<{
|
|
4427
6321
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4477,13 +6371,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4477
6371
|
metadata: "metadata";
|
|
4478
6372
|
}>;
|
|
4479
6373
|
} & {
|
|
4480
|
-
type: z.ZodLiteral<"
|
|
6374
|
+
type: z.ZodLiteral<"loop.iteration">;
|
|
4481
6375
|
payload: z.ZodObject<{
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
6376
|
+
path: z.ZodString;
|
|
6377
|
+
n: z.ZodNumber;
|
|
6378
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6379
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
6380
|
+
manifestHash: z.ZodOptional<z.ZodString>;
|
|
4487
6381
|
}, z.core.$loose>;
|
|
4488
6382
|
}, z.core.$strip> | z.ZodObject<{
|
|
4489
6383
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4539,20 +6433,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4539
6433
|
metadata: "metadata";
|
|
4540
6434
|
}>;
|
|
4541
6435
|
} & {
|
|
4542
|
-
type: z.ZodLiteral<"
|
|
6436
|
+
type: z.ZodLiteral<"loop.verified">;
|
|
4543
6437
|
payload: z.ZodObject<{
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
4550
|
-
trigger: z.ZodEnum<{
|
|
4551
|
-
overflow: "overflow";
|
|
4552
|
-
threshold: "threshold";
|
|
4553
|
-
}>;
|
|
4554
|
-
tokensBefore: z.ZodNumber;
|
|
4555
|
-
tokensAfter: z.ZodNumber;
|
|
6438
|
+
path: z.ZodString;
|
|
6439
|
+
n: z.ZodNumber;
|
|
6440
|
+
pass: z.ZodBoolean;
|
|
6441
|
+
feedback: z.ZodOptional<z.ZodString>;
|
|
6442
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
4556
6443
|
}, z.core.$loose>;
|
|
4557
6444
|
}, z.core.$strip> | z.ZodObject<{
|
|
4558
6445
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4608,14 +6495,26 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4608
6495
|
metadata: "metadata";
|
|
4609
6496
|
}>;
|
|
4610
6497
|
} & {
|
|
4611
|
-
type: z.ZodLiteral<"
|
|
6498
|
+
type: z.ZodLiteral<"message.assistant">;
|
|
4612
6499
|
payload: z.ZodObject<{
|
|
4613
|
-
agent: z.ZodObject<{
|
|
6500
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4614
6501
|
id: z.ZodString;
|
|
4615
6502
|
path: z.ZodString;
|
|
4616
6503
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
4617
|
-
}, z.core.$loose
|
|
4618
|
-
|
|
6504
|
+
}, z.core.$loose>>;
|
|
6505
|
+
invocationId: z.ZodString;
|
|
6506
|
+
text: z.ZodString;
|
|
6507
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
6508
|
+
provider: z.ZodString;
|
|
6509
|
+
model: z.ZodString;
|
|
6510
|
+
}, z.core.$loose>>;
|
|
6511
|
+
finishReason: z.ZodOptional<z.ZodString>;
|
|
6512
|
+
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
6513
|
+
toolCalls: z.ZodArray<z.ZodObject<{
|
|
6514
|
+
callId: z.ZodString;
|
|
6515
|
+
name: z.ZodString;
|
|
6516
|
+
input: z.ZodUnknown;
|
|
6517
|
+
}, z.core.$loose>>;
|
|
4619
6518
|
}, z.core.$loose>;
|
|
4620
6519
|
}, z.core.$strip> | z.ZodObject<{
|
|
4621
6520
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4671,14 +6570,17 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4671
6570
|
metadata: "metadata";
|
|
4672
6571
|
}>;
|
|
4673
6572
|
} & {
|
|
4674
|
-
type: z.ZodLiteral<"
|
|
6573
|
+
type: z.ZodLiteral<"model.failed">;
|
|
4675
6574
|
payload: z.ZodObject<{
|
|
4676
|
-
agent: z.ZodObject<{
|
|
6575
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4677
6576
|
id: z.ZodString;
|
|
4678
6577
|
path: z.ZodString;
|
|
4679
6578
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
4680
|
-
}, z.core.$loose
|
|
4681
|
-
|
|
6579
|
+
}, z.core.$loose>>;
|
|
6580
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
6581
|
+
code: z.ZodString;
|
|
6582
|
+
message: z.ZodString;
|
|
6583
|
+
retryable: z.ZodBoolean;
|
|
4682
6584
|
}, z.core.$loose>;
|
|
4683
6585
|
}, z.core.$strip> | z.ZodObject<{
|
|
4684
6586
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4734,10 +6636,12 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4734
6636
|
metadata: "metadata";
|
|
4735
6637
|
}>;
|
|
4736
6638
|
} & {
|
|
4737
|
-
type: z.ZodLiteral<"
|
|
6639
|
+
type: z.ZodLiteral<"node.agent">;
|
|
4738
6640
|
payload: z.ZodObject<{
|
|
4739
|
-
|
|
4740
|
-
|
|
6641
|
+
path: z.ZodString;
|
|
6642
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
6643
|
+
sessionId: z.ZodString;
|
|
6644
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4741
6645
|
}, z.core.$loose>;
|
|
4742
6646
|
}, z.core.$strip> | z.ZodObject<{
|
|
4743
6647
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4793,15 +6697,12 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4793
6697
|
metadata: "metadata";
|
|
4794
6698
|
}>;
|
|
4795
6699
|
} & {
|
|
4796
|
-
type: z.ZodLiteral<"
|
|
6700
|
+
type: z.ZodLiteral<"node.started">;
|
|
4797
6701
|
payload: z.ZodObject<{
|
|
4798
6702
|
path: z.ZodString;
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
output: "output";
|
|
4803
|
-
}>;
|
|
4804
|
-
patched: z.ZodBoolean;
|
|
6703
|
+
kind: z.ZodString;
|
|
6704
|
+
key: z.ZodString;
|
|
6705
|
+
iterations: z.ZodOptional<z.ZodString>;
|
|
4805
6706
|
}, z.core.$loose>;
|
|
4806
6707
|
}, z.core.$strip> | z.ZodObject<{
|
|
4807
6708
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4857,13 +6758,9 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4857
6758
|
metadata: "metadata";
|
|
4858
6759
|
}>;
|
|
4859
6760
|
} & {
|
|
4860
|
-
type: z.ZodLiteral<"
|
|
6761
|
+
type: z.ZodLiteral<"sandbox.attached">;
|
|
4861
6762
|
payload: z.ZodObject<{
|
|
4862
|
-
|
|
4863
|
-
n: z.ZodNumber;
|
|
4864
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
4865
|
-
turnId: z.ZodOptional<z.ZodString>;
|
|
4866
|
-
manifestHash: z.ZodOptional<z.ZodString>;
|
|
6763
|
+
sandboxId: z.ZodString;
|
|
4867
6764
|
}, z.core.$loose>;
|
|
4868
6765
|
}, z.core.$strip> | z.ZodObject<{
|
|
4869
6766
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4919,13 +6816,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4919
6816
|
metadata: "metadata";
|
|
4920
6817
|
}>;
|
|
4921
6818
|
} & {
|
|
4922
|
-
type: z.ZodLiteral<"
|
|
6819
|
+
type: z.ZodLiteral<"sandbox.exec">;
|
|
4923
6820
|
payload: z.ZodObject<{
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
6821
|
+
tool: z.ZodString;
|
|
6822
|
+
command: z.ZodOptional<z.ZodString>;
|
|
6823
|
+
outcome: z.ZodString;
|
|
6824
|
+
code: z.ZodOptional<z.ZodString>;
|
|
6825
|
+
durationMs: z.ZodNumber;
|
|
4929
6826
|
}, z.core.$loose>;
|
|
4930
6827
|
}, z.core.$strip> | z.ZodObject<{
|
|
4931
6828
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4981,26 +6878,21 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
4981
6878
|
metadata: "metadata";
|
|
4982
6879
|
}>;
|
|
4983
6880
|
} & {
|
|
4984
|
-
type: z.ZodLiteral<"
|
|
6881
|
+
type: z.ZodLiteral<"sandbox.state">;
|
|
4985
6882
|
payload: z.ZodObject<{
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
}
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
toolCalls: z.ZodArray<z.ZodObject<{
|
|
5000
|
-
callId: z.ZodString;
|
|
5001
|
-
name: z.ZodString;
|
|
5002
|
-
input: z.ZodUnknown;
|
|
5003
|
-
}, z.core.$loose>>;
|
|
6883
|
+
state: z.ZodEnum<{
|
|
6884
|
+
creating: "creating";
|
|
6885
|
+
running: "running";
|
|
6886
|
+
stopped: "stopped";
|
|
6887
|
+
}>;
|
|
6888
|
+
backend: z.ZodString;
|
|
6889
|
+
isolation: z.ZodOptional<z.ZodString>;
|
|
6890
|
+
image: z.ZodOptional<z.ZodString>;
|
|
6891
|
+
network: z.ZodOptional<z.ZodUnknown>;
|
|
6892
|
+
reattach: z.ZodOptional<z.ZodBoolean>;
|
|
6893
|
+
lost: z.ZodOptional<z.ZodBoolean>;
|
|
6894
|
+
note: z.ZodOptional<z.ZodString>;
|
|
6895
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5004
6896
|
}, z.core.$loose>;
|
|
5005
6897
|
}, z.core.$strip> | z.ZodObject<{
|
|
5006
6898
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5056,17 +6948,22 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5056
6948
|
metadata: "metadata";
|
|
5057
6949
|
}>;
|
|
5058
6950
|
} & {
|
|
5059
|
-
type: z.ZodLiteral<"
|
|
6951
|
+
type: z.ZodLiteral<"tool.completed">;
|
|
5060
6952
|
payload: z.ZodObject<{
|
|
5061
6953
|
agent: z.ZodOptional<z.ZodObject<{
|
|
5062
6954
|
id: z.ZodString;
|
|
5063
6955
|
path: z.ZodString;
|
|
5064
6956
|
delegationId: z.ZodOptional<z.ZodString>;
|
|
5065
6957
|
}, z.core.$loose>>;
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
6958
|
+
callId: z.ZodString;
|
|
6959
|
+
invocationId: z.ZodString;
|
|
6960
|
+
capabilityId: z.ZodString;
|
|
6961
|
+
toolName: z.ZodString;
|
|
6962
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
6963
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
6964
|
+
code: z.ZodString;
|
|
6965
|
+
message: z.ZodString;
|
|
6966
|
+
}, z.core.$loose>>;
|
|
5070
6967
|
}, z.core.$loose>;
|
|
5071
6968
|
}, z.core.$strip> | z.ZodObject<{
|
|
5072
6969
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5122,12 +7019,11 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5122
7019
|
metadata: "metadata";
|
|
5123
7020
|
}>;
|
|
5124
7021
|
} & {
|
|
5125
|
-
type: z.ZodLiteral<"
|
|
7022
|
+
type: z.ZodLiteral<"transcript.updated">;
|
|
5126
7023
|
payload: z.ZodObject<{
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7024
|
+
keep: z.ZodNumber;
|
|
7025
|
+
entries: z.ZodArray<z.ZodUnknown>;
|
|
7026
|
+
length: z.ZodNumber;
|
|
5131
7027
|
}, z.core.$loose>;
|
|
5132
7028
|
}, z.core.$strip> | z.ZodObject<{
|
|
5133
7029
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5183,12 +7079,9 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5183
7079
|
metadata: "metadata";
|
|
5184
7080
|
}>;
|
|
5185
7081
|
} & {
|
|
5186
|
-
type: z.ZodLiteral<"
|
|
7082
|
+
type: z.ZodLiteral<"turn.cancelled">;
|
|
5187
7083
|
payload: z.ZodObject<{
|
|
5188
|
-
|
|
5189
|
-
kind: z.ZodString;
|
|
5190
|
-
key: z.ZodString;
|
|
5191
|
-
iterations: z.ZodOptional<z.ZodString>;
|
|
7084
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5192
7085
|
}, z.core.$loose>;
|
|
5193
7086
|
}, z.core.$strip> | z.ZodObject<{
|
|
5194
7087
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5244,13 +7137,9 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5244
7137
|
metadata: "metadata";
|
|
5245
7138
|
}>;
|
|
5246
7139
|
} & {
|
|
5247
|
-
type: z.ZodLiteral<"
|
|
7140
|
+
type: z.ZodLiteral<"turn.completed">;
|
|
5248
7141
|
payload: z.ZodObject<{
|
|
5249
|
-
|
|
5250
|
-
command: z.ZodOptional<z.ZodString>;
|
|
5251
|
-
outcome: z.ZodString;
|
|
5252
|
-
code: z.ZodOptional<z.ZodString>;
|
|
5253
|
-
durationMs: z.ZodNumber;
|
|
7142
|
+
output: z.ZodUnknown;
|
|
5254
7143
|
}, z.core.$loose>;
|
|
5255
7144
|
}, z.core.$strip> | z.ZodObject<{
|
|
5256
7145
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5306,21 +7195,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5306
7195
|
metadata: "metadata";
|
|
5307
7196
|
}>;
|
|
5308
7197
|
} & {
|
|
5309
|
-
type: z.ZodLiteral<"
|
|
7198
|
+
type: z.ZodLiteral<"turn.failed">;
|
|
5310
7199
|
payload: z.ZodObject<{
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
backend: z.ZodString;
|
|
5317
|
-
isolation: z.ZodOptional<z.ZodString>;
|
|
5318
|
-
image: z.ZodOptional<z.ZodString>;
|
|
5319
|
-
network: z.ZodOptional<z.ZodUnknown>;
|
|
5320
|
-
reattach: z.ZodOptional<z.ZodBoolean>;
|
|
5321
|
-
lost: z.ZodOptional<z.ZodBoolean>;
|
|
5322
|
-
note: z.ZodOptional<z.ZodString>;
|
|
5323
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7200
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
7201
|
+
code: z.ZodOptional<z.ZodString>;
|
|
7202
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7203
|
+
}, z.core.$loose>>;
|
|
7204
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5324
7205
|
}, z.core.$loose>;
|
|
5325
7206
|
}, z.core.$strip> | z.ZodObject<{
|
|
5326
7207
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5376,24 +7257,18 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5376
7257
|
metadata: "metadata";
|
|
5377
7258
|
}>;
|
|
5378
7259
|
} & {
|
|
5379
|
-
type: z.ZodLiteral<"
|
|
7260
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
5380
7261
|
payload: z.ZodObject<{
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
capabilityId: z.ZodString;
|
|
5389
|
-
toolName: z.ZodString;
|
|
5390
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
5391
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
5392
|
-
code: z.ZodString;
|
|
5393
|
-
message: z.ZodString;
|
|
7262
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
7263
|
+
invocationId: z.ZodString;
|
|
7264
|
+
interaction: z.ZodObject<{
|
|
7265
|
+
id: z.ZodString;
|
|
7266
|
+
kind: z.ZodString;
|
|
7267
|
+
}, z.core.$loose>;
|
|
7268
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5394
7269
|
}, z.core.$loose>>;
|
|
5395
7270
|
}, z.core.$loose>;
|
|
5396
|
-
}, z.core.$strip
|
|
7271
|
+
}, z.core.$strip>, ...(z.ZodObject<{
|
|
5397
7272
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5398
7273
|
eventId: z.ZodString;
|
|
5399
7274
|
tenantId: z.ZodString;
|
|
@@ -5447,11 +7322,21 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5447
7322
|
metadata: "metadata";
|
|
5448
7323
|
}>;
|
|
5449
7324
|
} & {
|
|
5450
|
-
type: z.ZodLiteral<"
|
|
7325
|
+
type: z.ZodLiteral<"action.completed">;
|
|
5451
7326
|
payload: z.ZodObject<{
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
7327
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7328
|
+
id: z.ZodString;
|
|
7329
|
+
path: z.ZodString;
|
|
7330
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
7331
|
+
}, z.core.$loose>>;
|
|
7332
|
+
actionId: z.ZodString;
|
|
7333
|
+
kind: z.ZodString;
|
|
7334
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
7335
|
+
path: z.ZodOptional<z.ZodString>;
|
|
7336
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7337
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
7338
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
7339
|
+
result: z.ZodUnknown;
|
|
5455
7340
|
}, z.core.$loose>;
|
|
5456
7341
|
}, z.core.$strip> | z.ZodObject<{
|
|
5457
7342
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5507,9 +7392,15 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5507
7392
|
metadata: "metadata";
|
|
5508
7393
|
}>;
|
|
5509
7394
|
} & {
|
|
5510
|
-
type: z.ZodLiteral<"
|
|
7395
|
+
type: z.ZodLiteral<"action.delivered">;
|
|
5511
7396
|
payload: z.ZodObject<{
|
|
5512
|
-
|
|
7397
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7398
|
+
id: z.ZodString;
|
|
7399
|
+
path: z.ZodString;
|
|
7400
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
7401
|
+
}, z.core.$loose>>;
|
|
7402
|
+
actionId: z.ZodString;
|
|
7403
|
+
generation: z.ZodNumber;
|
|
5513
7404
|
}, z.core.$loose>;
|
|
5514
7405
|
}, z.core.$strip> | z.ZodObject<{
|
|
5515
7406
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5565,9 +7456,13 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5565
7456
|
metadata: "metadata";
|
|
5566
7457
|
}>;
|
|
5567
7458
|
} & {
|
|
5568
|
-
type: z.ZodLiteral<"
|
|
7459
|
+
type: z.ZodLiteral<"action.delivery_failed">;
|
|
5569
7460
|
payload: z.ZodObject<{
|
|
5570
|
-
|
|
7461
|
+
actionId: z.ZodString;
|
|
7462
|
+
generation: z.ZodNumber;
|
|
7463
|
+
reason: z.ZodString;
|
|
7464
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7465
|
+
retryInMs: z.ZodNumber;
|
|
5571
7466
|
}, z.core.$loose>;
|
|
5572
7467
|
}, z.core.$strip> | z.ZodObject<{
|
|
5573
7468
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5623,13 +7518,21 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5623
7518
|
metadata: "metadata";
|
|
5624
7519
|
}>;
|
|
5625
7520
|
} & {
|
|
5626
|
-
type: z.ZodLiteral<"
|
|
7521
|
+
type: z.ZodLiteral<"action.pending">;
|
|
5627
7522
|
payload: z.ZodObject<{
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
7523
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7524
|
+
id: z.ZodString;
|
|
7525
|
+
path: z.ZodString;
|
|
7526
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5631
7527
|
}, z.core.$loose>>;
|
|
5632
|
-
|
|
7528
|
+
actionId: z.ZodString;
|
|
7529
|
+
kind: z.ZodString;
|
|
7530
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
7531
|
+
path: z.ZodOptional<z.ZodString>;
|
|
7532
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7533
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
7534
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
7535
|
+
input: z.ZodUnknown;
|
|
5633
7536
|
}, z.core.$loose>;
|
|
5634
7537
|
}, z.core.$strip> | z.ZodObject<{
|
|
5635
7538
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5685,18 +7588,16 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5685
7588
|
metadata: "metadata";
|
|
5686
7589
|
}>;
|
|
5687
7590
|
} & {
|
|
5688
|
-
type: z.ZodLiteral<"
|
|
7591
|
+
type: z.ZodLiteral<"action.uncertain">;
|
|
5689
7592
|
payload: z.ZodObject<{
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
kind: z.ZodString;
|
|
5695
|
-
}, z.core.$loose>;
|
|
5696
|
-
status: z.ZodOptional<z.ZodString>;
|
|
7593
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7594
|
+
id: z.ZodString;
|
|
7595
|
+
path: z.ZodString;
|
|
7596
|
+
delegationId: z.ZodOptional<z.ZodString>;
|
|
5697
7597
|
}, z.core.$loose>>;
|
|
7598
|
+
actionId: z.ZodString;
|
|
5698
7599
|
}, z.core.$loose>;
|
|
5699
|
-
}, z.core.$strip
|
|
7600
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5700
7601
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5701
7602
|
eventId: z.ZodString;
|
|
5702
7603
|
tenantId: z.ZodString;
|
|
@@ -5750,21 +7651,26 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5750
7651
|
metadata: "metadata";
|
|
5751
7652
|
}>;
|
|
5752
7653
|
} & {
|
|
5753
|
-
type: z.ZodLiteral<"
|
|
7654
|
+
type: z.ZodLiteral<"artifact.created">;
|
|
5754
7655
|
payload: z.ZodObject<{
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
}
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
7656
|
+
artifactId: z.ZodString;
|
|
7657
|
+
kind: z.ZodEnum<{
|
|
7658
|
+
file: "file";
|
|
7659
|
+
folder: "folder";
|
|
7660
|
+
}>;
|
|
7661
|
+
name: z.ZodString;
|
|
7662
|
+
contentType: z.ZodString;
|
|
7663
|
+
version: z.ZodNumber;
|
|
7664
|
+
size: z.ZodNumber;
|
|
7665
|
+
sha256: z.ZodString;
|
|
7666
|
+
source: z.ZodEnum<{
|
|
7667
|
+
engine: "engine";
|
|
7668
|
+
export: "export";
|
|
7669
|
+
upload: "upload";
|
|
7670
|
+
}>;
|
|
5765
7671
|
callId: z.ZodOptional<z.ZodString>;
|
|
5766
|
-
|
|
5767
|
-
|
|
7672
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
7673
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
5768
7674
|
}, z.core.$loose>;
|
|
5769
7675
|
}, z.core.$strip> | z.ZodObject<{
|
|
5770
7676
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5820,15 +7726,10 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5820
7726
|
metadata: "metadata";
|
|
5821
7727
|
}>;
|
|
5822
7728
|
} & {
|
|
5823
|
-
type: z.ZodLiteral<"
|
|
7729
|
+
type: z.ZodLiteral<"artifact.deleted">;
|
|
5824
7730
|
payload: z.ZodObject<{
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
path: z.ZodString;
|
|
5828
|
-
delegationId: z.ZodOptional<z.ZodString>;
|
|
5829
|
-
}, z.core.$loose>>;
|
|
5830
|
-
actionId: z.ZodString;
|
|
5831
|
-
generation: z.ZodNumber;
|
|
7731
|
+
artifactId: z.ZodString;
|
|
7732
|
+
name: z.ZodString;
|
|
5832
7733
|
}, z.core.$loose>;
|
|
5833
7734
|
}, z.core.$strip> | z.ZodObject<{
|
|
5834
7735
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5884,13 +7785,10 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5884
7785
|
metadata: "metadata";
|
|
5885
7786
|
}>;
|
|
5886
7787
|
} & {
|
|
5887
|
-
type: z.ZodLiteral<"
|
|
7788
|
+
type: z.ZodLiteral<"artifact.export.failed">;
|
|
5888
7789
|
payload: z.ZodObject<{
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
reason: z.ZodString;
|
|
5892
|
-
message: z.ZodOptional<z.ZodString>;
|
|
5893
|
-
retryInMs: z.ZodNumber;
|
|
7790
|
+
name: z.ZodString;
|
|
7791
|
+
message: z.ZodString;
|
|
5894
7792
|
}, z.core.$loose>;
|
|
5895
7793
|
}, z.core.$strip> | z.ZodObject<{
|
|
5896
7794
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5946,21 +7844,18 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
5946
7844
|
metadata: "metadata";
|
|
5947
7845
|
}>;
|
|
5948
7846
|
} & {
|
|
5949
|
-
type: z.ZodLiteral<"
|
|
7847
|
+
type: z.ZodLiteral<"artifact.export.skipped">;
|
|
5950
7848
|
payload: z.ZodObject<{
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
7849
|
+
name: z.ZodString;
|
|
7850
|
+
reason: z.ZodEnum<{
|
|
7851
|
+
file_too_large: "file_too_large";
|
|
7852
|
+
tenant_total: "tenant_total";
|
|
7853
|
+
too_large: "too_large";
|
|
7854
|
+
too_many_files: "too_many_files";
|
|
7855
|
+
}>;
|
|
7856
|
+
message: z.ZodString;
|
|
7857
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5959
7858
|
path: z.ZodOptional<z.ZodString>;
|
|
5960
|
-
key: z.ZodOptional<z.ZodString>;
|
|
5961
|
-
callId: z.ZodOptional<z.ZodString>;
|
|
5962
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
5963
|
-
input: z.ZodUnknown;
|
|
5964
7859
|
}, z.core.$loose>;
|
|
5965
7860
|
}, z.core.$strip> | z.ZodObject<{
|
|
5966
7861
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -6016,14 +7911,26 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
6016
7911
|
metadata: "metadata";
|
|
6017
7912
|
}>;
|
|
6018
7913
|
} & {
|
|
6019
|
-
type: z.ZodLiteral<"
|
|
7914
|
+
type: z.ZodLiteral<"artifact.version.created">;
|
|
6020
7915
|
payload: z.ZodObject<{
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
}
|
|
6026
|
-
|
|
7916
|
+
artifactId: z.ZodString;
|
|
7917
|
+
kind: z.ZodEnum<{
|
|
7918
|
+
file: "file";
|
|
7919
|
+
folder: "folder";
|
|
7920
|
+
}>;
|
|
7921
|
+
name: z.ZodString;
|
|
7922
|
+
contentType: z.ZodString;
|
|
7923
|
+
version: z.ZodNumber;
|
|
7924
|
+
size: z.ZodNumber;
|
|
7925
|
+
sha256: z.ZodString;
|
|
7926
|
+
source: z.ZodEnum<{
|
|
7927
|
+
engine: "engine";
|
|
7928
|
+
export: "export";
|
|
7929
|
+
upload: "upload";
|
|
7930
|
+
}>;
|
|
7931
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
7932
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
7933
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
6027
7934
|
}, z.core.$loose>;
|
|
6028
7935
|
}, z.core.$strip> | z.ZodObject<{
|
|
6029
7936
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -6148,6 +8055,14 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
6148
8055
|
type: z.ZodLiteral<"message">;
|
|
6149
8056
|
content: z.ZodOptional<z.ZodString>;
|
|
6150
8057
|
data: z.ZodOptional<z.ZodType<import("@nylorun/core").JsonValue, unknown, z.core.$ZodTypeInternals<import("@nylorun/core").JsonValue, unknown>>>;
|
|
8058
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8059
|
+
type: z.ZodLiteral<"text">;
|
|
8060
|
+
text: z.ZodString;
|
|
8061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8062
|
+
type: z.ZodLiteral<"file">;
|
|
8063
|
+
artifactId: z.ZodString;
|
|
8064
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
8065
|
+
}, z.core.$strict>], "type">>>;
|
|
6151
8066
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
6152
8067
|
}, z.core.$loose>;
|
|
6153
8068
|
}, z.core.$strip> | z.ZodObject<{
|
|
@@ -6970,6 +8885,64 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
6970
8885
|
full: "full";
|
|
6971
8886
|
metadata: "metadata";
|
|
6972
8887
|
}>;
|
|
8888
|
+
} & {
|
|
8889
|
+
type: z.ZodLiteral<"sandbox.attached">;
|
|
8890
|
+
payload: z.ZodObject<{
|
|
8891
|
+
sandboxId: z.ZodString;
|
|
8892
|
+
}, z.core.$loose>;
|
|
8893
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
8894
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
8895
|
+
eventId: z.ZodString;
|
|
8896
|
+
tenantId: z.ZodString;
|
|
8897
|
+
sessionId: z.ZodString;
|
|
8898
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
8899
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
8900
|
+
incarnation: z.ZodNumber;
|
|
8901
|
+
epoch: z.ZodNumber;
|
|
8902
|
+
seq: z.ZodNumber;
|
|
8903
|
+
cursor: z.ZodString;
|
|
8904
|
+
time: z.ZodString;
|
|
8905
|
+
schemaVersion: z.ZodNumber;
|
|
8906
|
+
source: z.ZodObject<{
|
|
8907
|
+
kind: z.ZodEnum<{
|
|
8908
|
+
api: "api";
|
|
8909
|
+
controller: "controller";
|
|
8910
|
+
edge: "edge";
|
|
8911
|
+
"egress-gate": "egress-gate";
|
|
8912
|
+
evidence: "evidence";
|
|
8913
|
+
harness: "harness";
|
|
8914
|
+
human: "human";
|
|
8915
|
+
init: "init";
|
|
8916
|
+
loop: "loop";
|
|
8917
|
+
"model-gate": "model-gate";
|
|
8918
|
+
operator: "operator";
|
|
8919
|
+
sandboxd: "sandboxd";
|
|
8920
|
+
supervisor: "supervisor";
|
|
8921
|
+
"tool-gate": "tool-gate";
|
|
8922
|
+
}>;
|
|
8923
|
+
id: z.ZodString;
|
|
8924
|
+
}, z.core.$strip>;
|
|
8925
|
+
evidence: z.ZodEnum<{
|
|
8926
|
+
asserted: "asserted";
|
|
8927
|
+
attested: "attested";
|
|
8928
|
+
claimed: "claimed";
|
|
8929
|
+
measured: "measured";
|
|
8930
|
+
observed: "observed";
|
|
8931
|
+
}>;
|
|
8932
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
8933
|
+
traceId: z.ZodString;
|
|
8934
|
+
spanId: z.ZodString;
|
|
8935
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
8936
|
+
}, z.core.$strip>>;
|
|
8937
|
+
visibility: z.ZodEnum<{
|
|
8938
|
+
internal: "internal";
|
|
8939
|
+
public: "public";
|
|
8940
|
+
restricted: "restricted";
|
|
8941
|
+
}>;
|
|
8942
|
+
retention: z.ZodEnum<{
|
|
8943
|
+
full: "full";
|
|
8944
|
+
metadata: "metadata";
|
|
8945
|
+
}>;
|
|
6973
8946
|
} & {
|
|
6974
8947
|
type: z.ZodLiteral<"sandbox.exec">;
|
|
6975
8948
|
payload: z.ZodObject<{
|
|
@@ -7427,7 +9400,6 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
7427
9400
|
}, z.core.$strip>;
|
|
7428
9401
|
export declare const StreamClosedFrame: z.ZodObject<{
|
|
7429
9402
|
reason: z.ZodEnum<{
|
|
7430
|
-
revoked: "revoked";
|
|
7431
9403
|
token_expired: "token_expired";
|
|
7432
9404
|
}>;
|
|
7433
9405
|
}, z.core.$strict>;
|
|
@@ -7480,6 +9452,14 @@ export declare const TenantStatus: z.ZodObject<{
|
|
|
7480
9452
|
backend: z.ZodNullable<z.ZodString>;
|
|
7481
9453
|
retained: z.ZodNumber;
|
|
7482
9454
|
}, z.core.$strict>;
|
|
9455
|
+
harness: z.ZodOptional<z.ZodObject<{
|
|
9456
|
+
mode: z.ZodEnum<{
|
|
9457
|
+
"in-process": "in-process";
|
|
9458
|
+
remote: "remote";
|
|
9459
|
+
}>;
|
|
9460
|
+
connected: z.ZodNumber;
|
|
9461
|
+
workspace: z.ZodBoolean;
|
|
9462
|
+
}, z.core.$strict>>;
|
|
7483
9463
|
execution: z.ZodOptional<z.ZodObject<{
|
|
7484
9464
|
stuckInvocations: z.ZodArray<z.ZodObject<{
|
|
7485
9465
|
id: z.ZodString;
|
|
@@ -7556,7 +9536,22 @@ export declare const SeedTenantConfigRequest: z.ZodObject<{
|
|
|
7556
9536
|
memory: z.ZodOptional<z.ZodString>;
|
|
7557
9537
|
}, z.core.$strict>>;
|
|
7558
9538
|
idle: z.ZodOptional<z.ZodString>;
|
|
9539
|
+
sandboxes: z.ZodOptional<z.ZodNumber>;
|
|
9540
|
+
ttl: z.ZodOptional<z.ZodString>;
|
|
7559
9541
|
}, z.core.$strict>>;
|
|
9542
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
9543
|
+
onExpiry: z.ZodOptional<z.ZodEnum<{
|
|
9544
|
+
delete: "delete";
|
|
9545
|
+
retain: "retain";
|
|
9546
|
+
}>>;
|
|
9547
|
+
stopGrace: z.ZodOptional<z.ZodString>;
|
|
9548
|
+
}, z.core.$strict>>;
|
|
9549
|
+
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9550
|
+
hosts: z.ZodArray<z.ZodEnum<{
|
|
9551
|
+
"harness-container": "harness-container";
|
|
9552
|
+
sandbox: "sandbox";
|
|
9553
|
+
}>>;
|
|
9554
|
+
}, z.core.$strict>>>;
|
|
7560
9555
|
}, z.core.$strict>>;
|
|
7561
9556
|
}, z.core.$strict>>;
|
|
7562
9557
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -7598,9 +9593,11 @@ export declare const HostModelCatalog: z.ZodObject<{
|
|
|
7598
9593
|
}, z.core.$strict>;
|
|
7599
9594
|
export declare const TenantSandboxView: z.ZodObject<{
|
|
7600
9595
|
preference: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodEnum<{
|
|
9596
|
+
local: "local";
|
|
7601
9597
|
virtual: "virtual";
|
|
7602
9598
|
}>]>;
|
|
7603
9599
|
backend: z.ZodNullable<z.ZodEnum<{
|
|
9600
|
+
local: "local";
|
|
7604
9601
|
virtual: "virtual";
|
|
7605
9602
|
}>>;
|
|
7606
9603
|
isolation: z.ZodNullable<z.ZodEnum<{
|
|
@@ -7610,6 +9607,7 @@ export declare const TenantSandboxView: z.ZodObject<{
|
|
|
7610
9607
|
reason: z.ZodString;
|
|
7611
9608
|
probes: z.ZodArray<z.ZodObject<{
|
|
7612
9609
|
name: z.ZodEnum<{
|
|
9610
|
+
local: "local";
|
|
7613
9611
|
virtual: "virtual";
|
|
7614
9612
|
}>;
|
|
7615
9613
|
available: z.ZodBoolean;
|
|
@@ -7643,8 +9641,33 @@ export declare const TenantSandboxView: z.ZodObject<{
|
|
|
7643
9641
|
memoryMiB: z.ZodNumber;
|
|
7644
9642
|
}, z.core.$strict>;
|
|
7645
9643
|
idle: z.ZodString;
|
|
9644
|
+
sandboxes: z.ZodOptional<z.ZodNumber>;
|
|
9645
|
+
ttl: z.ZodOptional<z.ZodString>;
|
|
7646
9646
|
}, z.core.$strict>;
|
|
9647
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
9648
|
+
onExpiry: z.ZodEnum<{
|
|
9649
|
+
delete: "delete";
|
|
9650
|
+
retain: "retain";
|
|
9651
|
+
}>;
|
|
9652
|
+
stopGrace: z.ZodString;
|
|
9653
|
+
}, z.core.$strict>>;
|
|
9654
|
+
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9655
|
+
hosts: z.ZodArray<z.ZodEnum<{
|
|
9656
|
+
"harness-container": "harness-container";
|
|
9657
|
+
sandbox: "sandbox";
|
|
9658
|
+
}>>;
|
|
9659
|
+
}, z.core.$strict>>>;
|
|
7647
9660
|
}, z.core.$strict>;
|
|
9661
|
+
cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9662
|
+
namespace: z.ZodString;
|
|
9663
|
+
context: z.ZodString;
|
|
9664
|
+
ready: z.ZodBoolean;
|
|
9665
|
+
controllerVersion: z.ZodOptional<z.ZodString>;
|
|
9666
|
+
networkPolicy: z.ZodOptional<z.ZodObject<{
|
|
9667
|
+
enforced: z.ZodBoolean;
|
|
9668
|
+
probedAt: z.ZodOptional<z.ZodString>;
|
|
9669
|
+
}, z.core.$strip>>;
|
|
9670
|
+
}, z.core.$strip>>>;
|
|
7648
9671
|
}, z.core.$strict>;
|
|
7649
9672
|
export declare const ModelUsageTotals: z.ZodObject<{
|
|
7650
9673
|
scope: z.ZodEnum<{
|
|
@@ -7718,7 +9741,22 @@ export declare const PutTenantSandboxRequest: z.ZodObject<{
|
|
|
7718
9741
|
memory: z.ZodOptional<z.ZodString>;
|
|
7719
9742
|
}, z.core.$strict>>;
|
|
7720
9743
|
idle: z.ZodOptional<z.ZodString>;
|
|
9744
|
+
sandboxes: z.ZodOptional<z.ZodNumber>;
|
|
9745
|
+
ttl: z.ZodOptional<z.ZodString>;
|
|
9746
|
+
}, z.core.$strict>>;
|
|
9747
|
+
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
9748
|
+
onExpiry: z.ZodOptional<z.ZodEnum<{
|
|
9749
|
+
delete: "delete";
|
|
9750
|
+
retain: "retain";
|
|
9751
|
+
}>>;
|
|
9752
|
+
stopGrace: z.ZodOptional<z.ZodString>;
|
|
7721
9753
|
}, z.core.$strict>>;
|
|
9754
|
+
placement: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9755
|
+
hosts: z.ZodArray<z.ZodEnum<{
|
|
9756
|
+
"harness-container": "harness-container";
|
|
9757
|
+
sandbox: "sandbox";
|
|
9758
|
+
}>>;
|
|
9759
|
+
}, z.core.$strict>>>;
|
|
7722
9760
|
requestId: z.ZodOptional<z.ZodString>;
|
|
7723
9761
|
}, z.core.$strict>;
|
|
7724
9762
|
export declare const ListProvidersResponse: z.ZodObject<{
|
|
@@ -7793,7 +9831,11 @@ export declare const CreateVaultRequest: z.ZodObject<{
|
|
|
7793
9831
|
requestId: z.ZodString;
|
|
7794
9832
|
idempotencyKey: z.ZodString;
|
|
7795
9833
|
name: z.ZodString;
|
|
7796
|
-
|
|
9834
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
9835
|
+
installation: "installation";
|
|
9836
|
+
user: "user";
|
|
9837
|
+
}>>;
|
|
9838
|
+
ownerUserId: z.ZodOptional<z.ZodString>;
|
|
7797
9839
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7798
9840
|
}, z.core.$strict>;
|
|
7799
9841
|
export declare const VaultInfo: z.ZodObject<{
|
|
@@ -7885,6 +9927,15 @@ export declare const RotateCredentialRequest: z.ZodObject<{
|
|
|
7885
9927
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7886
9928
|
}, z.core.$strict>], "type">;
|
|
7887
9929
|
}, z.core.$strict>;
|
|
9930
|
+
export declare const StartOAuthRequest: z.ZodObject<{
|
|
9931
|
+
url: z.ZodString;
|
|
9932
|
+
server: z.ZodString;
|
|
9933
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
9934
|
+
}, z.core.$strict>;
|
|
9935
|
+
export declare const StartOAuthResponse: z.ZodObject<{
|
|
9936
|
+
authorizeUrl: z.ZodString;
|
|
9937
|
+
expiresAt: z.ZodString;
|
|
9938
|
+
}, z.core.$strict>;
|
|
7888
9939
|
export declare const DeletedResponse: z.ZodObject<{
|
|
7889
9940
|
id: z.ZodString;
|
|
7890
9941
|
}, z.core.$strict>;
|
|
@@ -7899,80 +9950,6 @@ export declare const Jwks: z.ZodObject<{
|
|
|
7899
9950
|
use: z.ZodLiteral<"sig">;
|
|
7900
9951
|
}, z.core.$strict>>;
|
|
7901
9952
|
}, z.core.$strict>;
|
|
7902
|
-
export declare const CreateTokenRequest: z.ZodObject<{
|
|
7903
|
-
requestId: z.ZodString;
|
|
7904
|
-
subject: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
7905
|
-
role: z.ZodString;
|
|
7906
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7907
|
-
"agents:read": "agents:read";
|
|
7908
|
-
"sessions:own": "sessions:own";
|
|
7909
|
-
"vaults:own": "vaults:own";
|
|
7910
|
-
}>>>;
|
|
7911
|
-
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7912
|
-
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7913
|
-
}, z.core.$strict>;
|
|
7914
|
-
export declare const CreateTokenResponse: z.ZodObject<{
|
|
7915
|
-
token: z.ZodString;
|
|
7916
|
-
expiresAt: z.ZodString;
|
|
7917
|
-
subject: z.ZodString;
|
|
7918
|
-
role: z.ZodString;
|
|
7919
|
-
scopes: z.ZodArray<z.ZodEnum<{
|
|
7920
|
-
"agents:read": "agents:read";
|
|
7921
|
-
"sessions:own": "sessions:own";
|
|
7922
|
-
"vaults:own": "vaults:own";
|
|
7923
|
-
}>>;
|
|
7924
|
-
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
7925
|
-
keyId: z.ZodString;
|
|
7926
|
-
}, z.core.$strict>;
|
|
7927
|
-
export declare const AccessPolicyResponse: z.ZodObject<{
|
|
7928
|
-
policy: z.ZodObject<{
|
|
7929
|
-
version: z.ZodLiteral<1>;
|
|
7930
|
-
roles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7931
|
-
scopes: z.ZodArray<z.ZodEnum<{
|
|
7932
|
-
"agents:read": "agents:read";
|
|
7933
|
-
"sessions:own": "sessions:own";
|
|
7934
|
-
"vaults:own": "vaults:own";
|
|
7935
|
-
}>>;
|
|
7936
|
-
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
7937
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
7938
|
-
turnsPerHour: z.ZodOptional<z.ZodNumber>;
|
|
7939
|
-
concurrentTurns: z.ZodOptional<z.ZodNumber>;
|
|
7940
|
-
}, z.core.$strict>>;
|
|
7941
|
-
}, z.core.$strict>>;
|
|
7942
|
-
anon: z.ZodObject<{
|
|
7943
|
-
scopes: z.ZodArray<z.ZodLiteral<"agents:read">>;
|
|
7944
|
-
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
7945
|
-
}, z.core.$strict>;
|
|
7946
|
-
tokens: z.ZodObject<{
|
|
7947
|
-
maxTtlSeconds: z.ZodNumber;
|
|
7948
|
-
}, z.core.$strict>;
|
|
7949
|
-
}, z.core.$strict>;
|
|
7950
|
-
}, z.core.$strict>;
|
|
7951
|
-
export declare const PutAccessPolicyRequest: z.ZodObject<{
|
|
7952
|
-
requestId: z.ZodString;
|
|
7953
|
-
policy: z.ZodObject<{
|
|
7954
|
-
version: z.ZodLiteral<1>;
|
|
7955
|
-
roles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7956
|
-
scopes: z.ZodArray<z.ZodEnum<{
|
|
7957
|
-
"agents:read": "agents:read";
|
|
7958
|
-
"sessions:own": "sessions:own";
|
|
7959
|
-
"vaults:own": "vaults:own";
|
|
7960
|
-
}>>;
|
|
7961
|
-
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
7962
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
7963
|
-
turnsPerHour: z.ZodOptional<z.ZodNumber>;
|
|
7964
|
-
concurrentTurns: z.ZodOptional<z.ZodNumber>;
|
|
7965
|
-
}, z.core.$strict>>;
|
|
7966
|
-
}, z.core.$strict>>;
|
|
7967
|
-
anon: z.ZodObject<{
|
|
7968
|
-
scopes: z.ZodArray<z.ZodLiteral<"agents:read">>;
|
|
7969
|
-
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
7970
|
-
}, z.core.$strict>;
|
|
7971
|
-
tokens: z.ZodObject<{
|
|
7972
|
-
maxTtlSeconds: z.ZodNumber;
|
|
7973
|
-
}, z.core.$strict>;
|
|
7974
|
-
}, z.core.$strict>;
|
|
7975
|
-
}, z.core.$strict>;
|
|
7976
9953
|
export declare const SigningKeyList: z.ZodObject<{
|
|
7977
9954
|
keys: z.ZodArray<z.ZodObject<{
|
|
7978
9955
|
id: z.ZodString;
|
|
@@ -8028,38 +10005,17 @@ export declare const RotateSigningKeysRequest: z.ZodObject<{
|
|
|
8028
10005
|
export declare const RevokeSigningKeyRequest: z.ZodObject<{
|
|
8029
10006
|
requestId: z.ZodString;
|
|
8030
10007
|
}, z.core.$strict>;
|
|
8031
|
-
export declare const
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
}
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
key: z.ZodString;
|
|
8045
|
-
origins: z.ZodArray<z.ZodString>;
|
|
8046
|
-
createdAt: z.ZodString;
|
|
8047
|
-
revokedAt: z.ZodNullable<z.ZodString>;
|
|
8048
|
-
}, z.core.$strict>;
|
|
8049
|
-
export declare const CreatePublishableKeyRequest: z.ZodObject<{
|
|
8050
|
-
requestId: z.ZodString;
|
|
8051
|
-
name: z.ZodString;
|
|
8052
|
-
origins: z.ZodArray<z.ZodString>;
|
|
8053
|
-
}, z.core.$strict>;
|
|
8054
|
-
export declare const UpdatePublishableKeyRequest: z.ZodObject<{
|
|
8055
|
-
requestId: z.ZodString;
|
|
8056
|
-
origins: z.ZodArray<z.ZodString>;
|
|
8057
|
-
}, z.core.$strict>;
|
|
8058
|
-
export declare const RevokeSubjectRequest: z.ZodObject<{
|
|
8059
|
-
requestId: z.ZodString;
|
|
8060
|
-
subject: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
8061
|
-
}, z.core.$strict>;
|
|
8062
|
-
export declare const RevokeSubjectResponse: z.ZodObject<{
|
|
8063
|
-
subject: z.ZodString;
|
|
8064
|
-
epoch: z.ZodNumber;
|
|
10008
|
+
export declare const MeResponse: z.ZodObject<{
|
|
10009
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
10010
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
10011
|
+
"agents:read": "agents:read";
|
|
10012
|
+
"agents:write": "agents:write";
|
|
10013
|
+
"sandboxes:write": "sandboxes:write";
|
|
10014
|
+
"sessions:own": "sessions:own";
|
|
10015
|
+
studio: "studio";
|
|
10016
|
+
"tenant:settings": "tenant:settings";
|
|
10017
|
+
}>>;
|
|
10018
|
+
agents: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
10019
|
+
sandboxes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10020
|
+
via: z.ZodString;
|
|
8065
10021
|
}, z.core.$strict>;
|