@nylorun/runtime 0.38.0-beta → 0.40.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 +76 -0
- package/dist/api/a2a/endpoint.js +1 -1
- package/dist/api/a2a/protocol.d.ts +6 -0
- package/dist/api/a2a/protocol.js +13 -0
- package/dist/api/a2a/routes.js +1 -0
- package/dist/api/components.d.ts +1726 -80
- package/dist/api/http/routes/agents.js +3 -3
- package/dist/core/turn-manifest.d.ts +23 -0
- package/dist/core/turn-manifest.js +36 -1
- package/dist/gates/policy.d.ts +13 -3
- package/dist/gates/policy.js +17 -4
- package/dist/harness/executors.d.ts +4 -2
- package/dist/harness/executors.js +26 -4
- package/dist/harness-api/record.js +4 -2
- package/dist/harness-api/server.js +37 -13
- package/dist/harness-api/start.js +43 -5
- package/dist/keys/keys.d.ts +6 -3
- package/dist/keys/keys.js +1 -1
- package/dist/management-openapi.json +6 -4
- package/dist/mcp/pool.d.ts +5 -0
- package/dist/mcp/pool.js +1 -1
- package/dist/mcp/snapshot.d.ts +3 -1
- package/dist/mcp/snapshot.js +5 -3
- package/dist/openapi.json +1637 -564
- package/dist/store/postgres/store.js +14 -0
- package/dist/store/types.d.ts +9 -0
- package/dist/tenant/agent-versions.d.ts +13 -5
- package/dist/tenant/agent-versions.js +30 -6
- package/dist/tenant/agents.d.ts +14 -2
- package/dist/tenant/agents.js +51 -13
- package/dist/tenant/commands.js +16 -8
- package/dist/tenant/context.d.ts +30 -1
- package/dist/tenant/session-model.d.ts +35 -6
- package/dist/tenant/session-model.js +77 -9
- package/dist/tenant/sessions.js +13 -3
- package/dist/vault/service.d.ts +44 -3
- package/dist/vault/service.js +68 -27
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/api/components.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ export declare const AgentView: z.ZodObject<{
|
|
|
237
237
|
description: z.ZodOptional<z.ZodString>;
|
|
238
238
|
type: z.ZodLiteral<"bearer">;
|
|
239
239
|
url: z.ZodString;
|
|
240
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
240
241
|
}, z.core.$strict>, z.ZodObject<{
|
|
241
242
|
via: z.ZodOptional<z.ZodString>;
|
|
242
243
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -246,6 +247,7 @@ export declare const AgentView: z.ZodObject<{
|
|
|
246
247
|
description: z.ZodOptional<z.ZodString>;
|
|
247
248
|
type: z.ZodLiteral<"headers">;
|
|
248
249
|
url: z.ZodString;
|
|
250
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
249
251
|
}, z.core.$strict>], "type">>>>;
|
|
250
252
|
}, z.core.$strict>;
|
|
251
253
|
limits: z.ZodObject<{
|
|
@@ -315,6 +317,7 @@ export declare const EnvironmentSecretSlots: z.ZodRecord<z.ZodString, z.ZodDiscr
|
|
|
315
317
|
description: z.ZodOptional<z.ZodString>;
|
|
316
318
|
type: z.ZodLiteral<"bearer">;
|
|
317
319
|
url: z.ZodString;
|
|
320
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
318
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
319
322
|
via: z.ZodOptional<z.ZodString>;
|
|
320
323
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -324,6 +327,7 @@ export declare const EnvironmentSecretSlots: z.ZodRecord<z.ZodString, z.ZodDiscr
|
|
|
324
327
|
description: z.ZodOptional<z.ZodString>;
|
|
325
328
|
type: z.ZodLiteral<"headers">;
|
|
326
329
|
url: z.ZodString;
|
|
330
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
327
331
|
}, z.core.$strict>], "type">>;
|
|
328
332
|
export declare const AgentManifest: z.ZodObject<{
|
|
329
333
|
manifestSchemaVersion: z.ZodLiteral<8>;
|
|
@@ -398,6 +402,7 @@ export declare const AgentManifest: z.ZodObject<{
|
|
|
398
402
|
description: z.ZodOptional<z.ZodString>;
|
|
399
403
|
type: z.ZodLiteral<"bearer">;
|
|
400
404
|
url: z.ZodString;
|
|
405
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
401
406
|
}, z.core.$strict>, z.ZodObject<{
|
|
402
407
|
via: z.ZodOptional<z.ZodString>;
|
|
403
408
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -407,6 +412,7 @@ export declare const AgentManifest: z.ZodObject<{
|
|
|
407
412
|
description: z.ZodOptional<z.ZodString>;
|
|
408
413
|
type: z.ZodLiteral<"headers">;
|
|
409
414
|
url: z.ZodString;
|
|
415
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
410
416
|
}, z.core.$strict>], "type">>>;
|
|
411
417
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
412
418
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -494,6 +500,7 @@ export declare const PutAgentManifestRequest: z.ZodObject<{
|
|
|
494
500
|
description: z.ZodOptional<z.ZodString>;
|
|
495
501
|
type: z.ZodLiteral<"bearer">;
|
|
496
502
|
url: z.ZodString;
|
|
503
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
497
504
|
}, z.core.$strict>, z.ZodObject<{
|
|
498
505
|
via: z.ZodOptional<z.ZodString>;
|
|
499
506
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -503,6 +510,7 @@ export declare const PutAgentManifestRequest: z.ZodObject<{
|
|
|
503
510
|
description: z.ZodOptional<z.ZodString>;
|
|
504
511
|
type: z.ZodLiteral<"headers">;
|
|
505
512
|
url: z.ZodString;
|
|
513
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
506
514
|
}, z.core.$strict>], "type">>>;
|
|
507
515
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
508
516
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -645,6 +653,7 @@ export declare const AgentManifestView: z.ZodObject<{
|
|
|
645
653
|
description: z.ZodOptional<z.ZodString>;
|
|
646
654
|
type: z.ZodLiteral<"bearer">;
|
|
647
655
|
url: z.ZodString;
|
|
656
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
648
657
|
}, z.core.$strict>, z.ZodObject<{
|
|
649
658
|
via: z.ZodOptional<z.ZodString>;
|
|
650
659
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -654,6 +663,7 @@ export declare const AgentManifestView: z.ZodObject<{
|
|
|
654
663
|
description: z.ZodOptional<z.ZodString>;
|
|
655
664
|
type: z.ZodLiteral<"headers">;
|
|
656
665
|
url: z.ZodString;
|
|
666
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
657
667
|
}, z.core.$strict>], "type">>>;
|
|
658
668
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
659
669
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -783,6 +793,7 @@ export declare const AgentManifestPlan: z.ZodObject<{
|
|
|
783
793
|
description: z.ZodOptional<z.ZodString>;
|
|
784
794
|
type: z.ZodLiteral<"bearer">;
|
|
785
795
|
url: z.ZodString;
|
|
796
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
786
797
|
}, z.core.$strict>, z.ZodObject<{
|
|
787
798
|
via: z.ZodOptional<z.ZodString>;
|
|
788
799
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -792,6 +803,7 @@ export declare const AgentManifestPlan: z.ZodObject<{
|
|
|
792
803
|
description: z.ZodOptional<z.ZodString>;
|
|
793
804
|
type: z.ZodLiteral<"headers">;
|
|
794
805
|
url: z.ZodString;
|
|
806
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
795
807
|
}, z.core.$strict>], "type">>>;
|
|
796
808
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
797
809
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -916,6 +928,7 @@ export declare const SaveAgentManifestResponse: z.ZodObject<{
|
|
|
916
928
|
description: z.ZodOptional<z.ZodString>;
|
|
917
929
|
type: z.ZodLiteral<"bearer">;
|
|
918
930
|
url: z.ZodString;
|
|
931
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
919
932
|
}, z.core.$strict>, z.ZodObject<{
|
|
920
933
|
via: z.ZodOptional<z.ZodString>;
|
|
921
934
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -925,6 +938,7 @@ export declare const SaveAgentManifestResponse: z.ZodObject<{
|
|
|
925
938
|
description: z.ZodOptional<z.ZodString>;
|
|
926
939
|
type: z.ZodLiteral<"headers">;
|
|
927
940
|
url: z.ZodString;
|
|
941
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
928
942
|
}, z.core.$strict>], "type">>>;
|
|
929
943
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
930
944
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -1064,6 +1078,7 @@ export declare const ListAgentManifestsResponse: z.ZodObject<{
|
|
|
1064
1078
|
description: z.ZodOptional<z.ZodString>;
|
|
1065
1079
|
type: z.ZodLiteral<"bearer">;
|
|
1066
1080
|
url: z.ZodString;
|
|
1081
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1067
1082
|
}, z.core.$strict>, z.ZodObject<{
|
|
1068
1083
|
via: z.ZodOptional<z.ZodString>;
|
|
1069
1084
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -1073,6 +1088,7 @@ export declare const ListAgentManifestsResponse: z.ZodObject<{
|
|
|
1073
1088
|
description: z.ZodOptional<z.ZodString>;
|
|
1074
1089
|
type: z.ZodLiteral<"headers">;
|
|
1075
1090
|
url: z.ZodString;
|
|
1091
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1076
1092
|
}, z.core.$strict>], "type">>>;
|
|
1077
1093
|
triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1078
1094
|
schedule: z.ZodOptional<z.ZodString>;
|
|
@@ -1120,6 +1136,7 @@ export declare const PutAgentSecretValueRequest: z.ZodObject<{
|
|
|
1120
1136
|
requestId: z.ZodOptional<z.ZodString>;
|
|
1121
1137
|
value: z.ZodOptional<z.ZodString>;
|
|
1122
1138
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1139
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1123
1140
|
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1124
1141
|
}, z.core.$strict>;
|
|
1125
1142
|
export declare const AgentSnapshot: z.ZodObject<{
|
|
@@ -1346,6 +1363,7 @@ export declare const ForkAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1346
1363
|
description: z.ZodOptional<z.ZodString>;
|
|
1347
1364
|
type: z.ZodLiteral<"bearer">;
|
|
1348
1365
|
url: z.ZodString;
|
|
1366
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1349
1367
|
}, z.core.$strict>, z.ZodObject<{
|
|
1350
1368
|
via: z.ZodOptional<z.ZodString>;
|
|
1351
1369
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -1355,6 +1373,7 @@ export declare const ForkAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1355
1373
|
description: z.ZodOptional<z.ZodString>;
|
|
1356
1374
|
type: z.ZodLiteral<"headers">;
|
|
1357
1375
|
url: z.ZodString;
|
|
1376
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1358
1377
|
}, z.core.$strict>], "type">>>>;
|
|
1359
1378
|
}, z.core.$strict>;
|
|
1360
1379
|
limits: z.ZodObject<{
|
|
@@ -1617,6 +1636,7 @@ export declare const ListAgentsResponse: z.ZodObject<{
|
|
|
1617
1636
|
description: z.ZodOptional<z.ZodString>;
|
|
1618
1637
|
type: z.ZodLiteral<"bearer">;
|
|
1619
1638
|
url: z.ZodString;
|
|
1639
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1620
1640
|
}, z.core.$strict>, z.ZodObject<{
|
|
1621
1641
|
via: z.ZodOptional<z.ZodString>;
|
|
1622
1642
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -1626,6 +1646,7 @@ export declare const ListAgentsResponse: z.ZodObject<{
|
|
|
1626
1646
|
description: z.ZodOptional<z.ZodString>;
|
|
1627
1647
|
type: z.ZodLiteral<"headers">;
|
|
1628
1648
|
url: z.ZodString;
|
|
1649
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
1629
1650
|
}, z.core.$strict>], "type">>>>;
|
|
1630
1651
|
}, z.core.$strict>;
|
|
1631
1652
|
limits: z.ZodObject<{
|
|
@@ -2141,6 +2162,7 @@ export declare const SessionCommand: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
2141
2162
|
idempotencyKey: z.ZodString;
|
|
2142
2163
|
type: z.ZodLiteral<"message">;
|
|
2143
2164
|
manifest: z.ZodOptional<z.ZodType<import("@nylorun/core/contracts").AgentManifest, unknown, z.core.$ZodTypeInternals<import("@nylorun/core/contracts").AgentManifest, unknown>>>;
|
|
2165
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2144
2166
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
2145
2167
|
queue: "queue";
|
|
2146
2168
|
reject: "reject";
|
|
@@ -2151,6 +2173,7 @@ export declare const SessionCommand: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
2151
2173
|
idempotencyKey: z.ZodString;
|
|
2152
2174
|
type: z.ZodLiteral<"message">;
|
|
2153
2175
|
manifest: z.ZodOptional<z.ZodType<import("@nylorun/core/contracts").AgentManifest, unknown, z.core.$ZodTypeInternals<import("@nylorun/core/contracts").AgentManifest, unknown>>>;
|
|
2176
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2154
2177
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
2155
2178
|
queue: "queue";
|
|
2156
2179
|
reject: "reject";
|
|
@@ -2161,6 +2184,7 @@ export declare const SessionCommand: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
2161
2184
|
idempotencyKey: z.ZodString;
|
|
2162
2185
|
type: z.ZodLiteral<"message">;
|
|
2163
2186
|
manifest: z.ZodOptional<z.ZodType<import("@nylorun/core/contracts").AgentManifest, unknown, z.core.$ZodTypeInternals<import("@nylorun/core/contracts").AgentManifest, unknown>>>;
|
|
2187
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2164
2188
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
2165
2189
|
queue: "queue";
|
|
2166
2190
|
reject: "reject";
|
|
@@ -2412,6 +2436,28 @@ export declare const SessionView: z.ZodObject<{
|
|
|
2412
2436
|
closedReason: z.ZodOptional<z.ZodString>;
|
|
2413
2437
|
mcpSnapshot: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2414
2438
|
mcpDiagnostics: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2439
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
2440
|
+
provider: z.ZodString;
|
|
2441
|
+
model: z.ZodString;
|
|
2442
|
+
source: z.ZodEnum<{
|
|
2443
|
+
manifest: "manifest";
|
|
2444
|
+
session: "session";
|
|
2445
|
+
tenant: "tenant";
|
|
2446
|
+
}>;
|
|
2447
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2448
|
+
invalid_model: "invalid_model";
|
|
2449
|
+
not_in_catalog: "not_in_catalog";
|
|
2450
|
+
provider_not_connected: "provider_not_connected";
|
|
2451
|
+
}>>;
|
|
2452
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
2453
|
+
provider: z.ZodString;
|
|
2454
|
+
model: z.ZodString;
|
|
2455
|
+
by: z.ZodEnum<{
|
|
2456
|
+
manifest: "manifest";
|
|
2457
|
+
session: "session";
|
|
2458
|
+
}>;
|
|
2459
|
+
}, z.core.$strict>>;
|
|
2460
|
+
}, z.core.$strict>>;
|
|
2415
2461
|
waits: z.ZodOptional<z.ZodUnknown>;
|
|
2416
2462
|
error: z.ZodOptional<z.ZodString>;
|
|
2417
2463
|
uncertainEffects: z.ZodArray<z.ZodObject<{
|
|
@@ -3140,6 +3186,7 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3140
3186
|
version: z.ZodOptional<z.ZodNumber>;
|
|
3141
3187
|
}, z.core.$strict>], "type">>>;
|
|
3142
3188
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
3189
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3143
3190
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
3144
3191
|
queue: "queue";
|
|
3145
3192
|
reject: "reject";
|
|
@@ -3613,6 +3660,78 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3613
3660
|
full: "full";
|
|
3614
3661
|
metadata: "metadata";
|
|
3615
3662
|
}>;
|
|
3663
|
+
} & {
|
|
3664
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
3665
|
+
payload: z.ZodObject<{
|
|
3666
|
+
code: z.ZodString;
|
|
3667
|
+
message: z.ZodString;
|
|
3668
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
3669
|
+
}, z.core.$loose>;
|
|
3670
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
3671
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
3672
|
+
eventId: z.ZodString;
|
|
3673
|
+
tenantId: z.ZodString;
|
|
3674
|
+
sessionId: z.ZodString;
|
|
3675
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
3676
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
3677
|
+
incarnation: z.ZodNumber;
|
|
3678
|
+
epoch: z.ZodNumber;
|
|
3679
|
+
seq: z.ZodNumber;
|
|
3680
|
+
cursor: z.ZodString;
|
|
3681
|
+
time: z.ZodString;
|
|
3682
|
+
schemaVersion: z.ZodNumber;
|
|
3683
|
+
source: z.ZodObject<{
|
|
3684
|
+
kind: z.ZodEnum<{
|
|
3685
|
+
api: "api";
|
|
3686
|
+
client: "client";
|
|
3687
|
+
controller: "controller";
|
|
3688
|
+
core: "core";
|
|
3689
|
+
edge: "edge";
|
|
3690
|
+
"egress-gate": "egress-gate";
|
|
3691
|
+
evidence: "evidence";
|
|
3692
|
+
harness: "harness";
|
|
3693
|
+
human: "human";
|
|
3694
|
+
init: "init";
|
|
3695
|
+
loop: "loop";
|
|
3696
|
+
"model-gate": "model-gate";
|
|
3697
|
+
operator: "operator";
|
|
3698
|
+
sandboxes: "sandboxes";
|
|
3699
|
+
supervisor: "supervisor";
|
|
3700
|
+
"tool-gate": "tool-gate";
|
|
3701
|
+
}>;
|
|
3702
|
+
id: z.ZodString;
|
|
3703
|
+
}, z.core.$strip>;
|
|
3704
|
+
evidence: z.ZodEnum<{
|
|
3705
|
+
asserted: "asserted";
|
|
3706
|
+
attested: "attested";
|
|
3707
|
+
claimed: "claimed";
|
|
3708
|
+
measured: "measured";
|
|
3709
|
+
observed: "observed";
|
|
3710
|
+
}>;
|
|
3711
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
3712
|
+
kind: z.ZodEnum<{
|
|
3713
|
+
application: "application";
|
|
3714
|
+
core: "core";
|
|
3715
|
+
"flow-host": "flow-host";
|
|
3716
|
+
subject: "subject";
|
|
3717
|
+
trigger: "trigger";
|
|
3718
|
+
}>;
|
|
3719
|
+
id: z.ZodString;
|
|
3720
|
+
}, z.core.$strict>>;
|
|
3721
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
3722
|
+
traceId: z.ZodString;
|
|
3723
|
+
spanId: z.ZodString;
|
|
3724
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
3725
|
+
}, z.core.$strip>>;
|
|
3726
|
+
visibility: z.ZodEnum<{
|
|
3727
|
+
internal: "internal";
|
|
3728
|
+
public: "public";
|
|
3729
|
+
restricted: "restricted";
|
|
3730
|
+
}>;
|
|
3731
|
+
retention: z.ZodEnum<{
|
|
3732
|
+
full: "full";
|
|
3733
|
+
metadata: "metadata";
|
|
3734
|
+
}>;
|
|
3616
3735
|
} & {
|
|
3617
3736
|
type: z.ZodLiteral<"environment.exec">;
|
|
3618
3737
|
payload: z.ZodObject<{
|
|
@@ -3938,6 +4057,7 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3938
4057
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3939
4058
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3940
4059
|
}, z.core.$loose>>;
|
|
4060
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3941
4061
|
}, z.core.$loose>;
|
|
3942
4062
|
}, z.core.$strip> | z.ZodObject<{
|
|
3943
4063
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -4731,6 +4851,117 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4731
4851
|
full: "full";
|
|
4732
4852
|
metadata: "metadata";
|
|
4733
4853
|
}>;
|
|
4854
|
+
} & {
|
|
4855
|
+
type: z.ZodLiteral<"session.model">;
|
|
4856
|
+
payload: z.ZodObject<{
|
|
4857
|
+
provider: z.ZodString;
|
|
4858
|
+
model: z.ZodString;
|
|
4859
|
+
source: z.ZodEnum<{
|
|
4860
|
+
manifest: "manifest";
|
|
4861
|
+
session: "session";
|
|
4862
|
+
tenant: "tenant";
|
|
4863
|
+
}>;
|
|
4864
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4865
|
+
invalid_model: "invalid_model";
|
|
4866
|
+
not_in_catalog: "not_in_catalog";
|
|
4867
|
+
provider_not_connected: "provider_not_connected";
|
|
4868
|
+
}>>;
|
|
4869
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
4870
|
+
provider: z.ZodString;
|
|
4871
|
+
model: z.ZodString;
|
|
4872
|
+
by: z.ZodEnum<{
|
|
4873
|
+
manifest: "manifest";
|
|
4874
|
+
session: "session";
|
|
4875
|
+
}>;
|
|
4876
|
+
}, z.core.$strict>>;
|
|
4877
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
4878
|
+
provider: z.ZodString;
|
|
4879
|
+
model: z.ZodString;
|
|
4880
|
+
source: z.ZodEnum<{
|
|
4881
|
+
manifest: "manifest";
|
|
4882
|
+
session: "session";
|
|
4883
|
+
tenant: "tenant";
|
|
4884
|
+
}>;
|
|
4885
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4886
|
+
invalid_model: "invalid_model";
|
|
4887
|
+
not_in_catalog: "not_in_catalog";
|
|
4888
|
+
provider_not_connected: "provider_not_connected";
|
|
4889
|
+
}>>;
|
|
4890
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
4891
|
+
provider: z.ZodString;
|
|
4892
|
+
model: z.ZodString;
|
|
4893
|
+
by: z.ZodEnum<{
|
|
4894
|
+
manifest: "manifest";
|
|
4895
|
+
session: "session";
|
|
4896
|
+
}>;
|
|
4897
|
+
}, z.core.$strict>>;
|
|
4898
|
+
}, z.core.$strict>>;
|
|
4899
|
+
}, z.core.$loose>;
|
|
4900
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
4901
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
4902
|
+
eventId: z.ZodString;
|
|
4903
|
+
tenantId: z.ZodString;
|
|
4904
|
+
sessionId: z.ZodString;
|
|
4905
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
4906
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
4907
|
+
incarnation: z.ZodNumber;
|
|
4908
|
+
epoch: z.ZodNumber;
|
|
4909
|
+
seq: z.ZodNumber;
|
|
4910
|
+
cursor: z.ZodString;
|
|
4911
|
+
time: z.ZodString;
|
|
4912
|
+
schemaVersion: z.ZodNumber;
|
|
4913
|
+
source: z.ZodObject<{
|
|
4914
|
+
kind: z.ZodEnum<{
|
|
4915
|
+
api: "api";
|
|
4916
|
+
client: "client";
|
|
4917
|
+
controller: "controller";
|
|
4918
|
+
core: "core";
|
|
4919
|
+
edge: "edge";
|
|
4920
|
+
"egress-gate": "egress-gate";
|
|
4921
|
+
evidence: "evidence";
|
|
4922
|
+
harness: "harness";
|
|
4923
|
+
human: "human";
|
|
4924
|
+
init: "init";
|
|
4925
|
+
loop: "loop";
|
|
4926
|
+
"model-gate": "model-gate";
|
|
4927
|
+
operator: "operator";
|
|
4928
|
+
sandboxes: "sandboxes";
|
|
4929
|
+
supervisor: "supervisor";
|
|
4930
|
+
"tool-gate": "tool-gate";
|
|
4931
|
+
}>;
|
|
4932
|
+
id: z.ZodString;
|
|
4933
|
+
}, z.core.$strip>;
|
|
4934
|
+
evidence: z.ZodEnum<{
|
|
4935
|
+
asserted: "asserted";
|
|
4936
|
+
attested: "attested";
|
|
4937
|
+
claimed: "claimed";
|
|
4938
|
+
measured: "measured";
|
|
4939
|
+
observed: "observed";
|
|
4940
|
+
}>;
|
|
4941
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
4942
|
+
kind: z.ZodEnum<{
|
|
4943
|
+
application: "application";
|
|
4944
|
+
core: "core";
|
|
4945
|
+
"flow-host": "flow-host";
|
|
4946
|
+
subject: "subject";
|
|
4947
|
+
trigger: "trigger";
|
|
4948
|
+
}>;
|
|
4949
|
+
id: z.ZodString;
|
|
4950
|
+
}, z.core.$strict>>;
|
|
4951
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
4952
|
+
traceId: z.ZodString;
|
|
4953
|
+
spanId: z.ZodString;
|
|
4954
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
4955
|
+
}, z.core.$strip>>;
|
|
4956
|
+
visibility: z.ZodEnum<{
|
|
4957
|
+
internal: "internal";
|
|
4958
|
+
public: "public";
|
|
4959
|
+
restricted: "restricted";
|
|
4960
|
+
}>;
|
|
4961
|
+
retention: z.ZodEnum<{
|
|
4962
|
+
full: "full";
|
|
4963
|
+
metadata: "metadata";
|
|
4964
|
+
}>;
|
|
4734
4965
|
} & {
|
|
4735
4966
|
type: z.ZodLiteral<"tool.completed">;
|
|
4736
4967
|
payload: z.ZodObject<{
|
|
@@ -5252,12 +5483,20 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5252
5483
|
metadata: "metadata";
|
|
5253
5484
|
}>;
|
|
5254
5485
|
} & {
|
|
5255
|
-
type: z.ZodLiteral<"
|
|
5486
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
5256
5487
|
payload: z.ZodObject<{
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5488
|
+
reason: z.ZodEnum<{
|
|
5489
|
+
variant_invalid: "variant_invalid";
|
|
5490
|
+
}>;
|
|
5491
|
+
from: z.ZodObject<{
|
|
5492
|
+
name: z.ZodString;
|
|
5493
|
+
version: z.ZodNumber;
|
|
5494
|
+
}, z.core.$strict>;
|
|
5495
|
+
to: z.ZodObject<{
|
|
5496
|
+
name: z.ZodString;
|
|
5497
|
+
version: z.ZodNumber;
|
|
5498
|
+
}, z.core.$strict>;
|
|
5499
|
+
message: z.ZodString;
|
|
5261
5500
|
}, z.core.$loose>;
|
|
5262
5501
|
}, z.core.$strip> | z.ZodObject<{
|
|
5263
5502
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5325,11 +5564,14 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5325
5564
|
metadata: "metadata";
|
|
5326
5565
|
}>;
|
|
5327
5566
|
} & {
|
|
5328
|
-
type: z.ZodLiteral<"wake.
|
|
5567
|
+
type: z.ZodLiteral<"wake.booked">;
|
|
5329
5568
|
payload: z.ZodObject<{
|
|
5569
|
+
at: z.ZodString;
|
|
5570
|
+
note: z.ZodString;
|
|
5330
5571
|
effectId: z.ZodString;
|
|
5572
|
+
replaced: z.ZodBoolean;
|
|
5331
5573
|
}, z.core.$loose>;
|
|
5332
|
-
}, z.core.$strip
|
|
5574
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5333
5575
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5334
5576
|
eventId: z.ZodString;
|
|
5335
5577
|
tenantId: z.ZodString;
|
|
@@ -5395,11 +5637,11 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5395
5637
|
metadata: "metadata";
|
|
5396
5638
|
}>;
|
|
5397
5639
|
} & {
|
|
5398
|
-
type: z.ZodLiteral<"
|
|
5640
|
+
type: z.ZodLiteral<"wake.cancelled">;
|
|
5399
5641
|
payload: z.ZodObject<{
|
|
5400
|
-
|
|
5642
|
+
effectId: z.ZodString;
|
|
5401
5643
|
}, z.core.$loose>;
|
|
5402
|
-
}, z.core.$strip
|
|
5644
|
+
}, z.core.$strip>, ...(z.ZodObject<{
|
|
5403
5645
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5404
5646
|
eventId: z.ZodString;
|
|
5405
5647
|
tenantId: z.ZodString;
|
|
@@ -5465,27 +5707,9 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5465
5707
|
metadata: "metadata";
|
|
5466
5708
|
}>;
|
|
5467
5709
|
} & {
|
|
5468
|
-
type: z.ZodLiteral<"
|
|
5710
|
+
type: z.ZodLiteral<"agent.attached">;
|
|
5469
5711
|
payload: z.ZodObject<{
|
|
5470
|
-
|
|
5471
|
-
kind: z.ZodEnum<{
|
|
5472
|
-
file: "file";
|
|
5473
|
-
folder: "folder";
|
|
5474
|
-
}>;
|
|
5475
|
-
name: z.ZodString;
|
|
5476
|
-
contentType: z.ZodString;
|
|
5477
|
-
version: z.ZodNumber;
|
|
5478
|
-
size: z.ZodNumber;
|
|
5479
|
-
sha256: z.ZodString;
|
|
5480
|
-
source: z.ZodEnum<{
|
|
5481
|
-
engine: "engine";
|
|
5482
|
-
export: "export";
|
|
5483
|
-
snapshot: "snapshot";
|
|
5484
|
-
upload: "upload";
|
|
5485
|
-
}>;
|
|
5486
|
-
callId: z.ZodOptional<z.ZodString>;
|
|
5487
|
-
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
5488
|
-
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
5712
|
+
agentId: z.ZodString;
|
|
5489
5713
|
}, z.core.$loose>;
|
|
5490
5714
|
}, z.core.$strip> | z.ZodObject<{
|
|
5491
5715
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5553,10 +5777,27 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5553
5777
|
metadata: "metadata";
|
|
5554
5778
|
}>;
|
|
5555
5779
|
} & {
|
|
5556
|
-
type: z.ZodLiteral<"artifact.
|
|
5780
|
+
type: z.ZodLiteral<"artifact.created">;
|
|
5557
5781
|
payload: z.ZodObject<{
|
|
5558
5782
|
artifactId: z.ZodString;
|
|
5783
|
+
kind: z.ZodEnum<{
|
|
5784
|
+
file: "file";
|
|
5785
|
+
folder: "folder";
|
|
5786
|
+
}>;
|
|
5559
5787
|
name: z.ZodString;
|
|
5788
|
+
contentType: z.ZodString;
|
|
5789
|
+
version: z.ZodNumber;
|
|
5790
|
+
size: z.ZodNumber;
|
|
5791
|
+
sha256: z.ZodString;
|
|
5792
|
+
source: z.ZodEnum<{
|
|
5793
|
+
engine: "engine";
|
|
5794
|
+
export: "export";
|
|
5795
|
+
snapshot: "snapshot";
|
|
5796
|
+
upload: "upload";
|
|
5797
|
+
}>;
|
|
5798
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
5799
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
5800
|
+
claimed: z.ZodOptional<z.ZodBoolean>;
|
|
5560
5801
|
}, z.core.$loose>;
|
|
5561
5802
|
}, z.core.$strip> | z.ZodObject<{
|
|
5562
5803
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5624,10 +5865,10 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5624
5865
|
metadata: "metadata";
|
|
5625
5866
|
}>;
|
|
5626
5867
|
} & {
|
|
5627
|
-
type: z.ZodLiteral<"artifact.
|
|
5868
|
+
type: z.ZodLiteral<"artifact.deleted">;
|
|
5628
5869
|
payload: z.ZodObject<{
|
|
5870
|
+
artifactId: z.ZodString;
|
|
5629
5871
|
name: z.ZodString;
|
|
5630
|
-
message: z.ZodString;
|
|
5631
5872
|
}, z.core.$loose>;
|
|
5632
5873
|
}, z.core.$strip> | z.ZodObject<{
|
|
5633
5874
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -5695,11 +5936,82 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5695
5936
|
metadata: "metadata";
|
|
5696
5937
|
}>;
|
|
5697
5938
|
} & {
|
|
5698
|
-
type: z.ZodLiteral<"artifact.export.
|
|
5939
|
+
type: z.ZodLiteral<"artifact.export.failed">;
|
|
5699
5940
|
payload: z.ZodObject<{
|
|
5700
5941
|
name: z.ZodString;
|
|
5701
|
-
|
|
5702
|
-
|
|
5942
|
+
message: z.ZodString;
|
|
5943
|
+
}, z.core.$loose>;
|
|
5944
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
5945
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
5946
|
+
eventId: z.ZodString;
|
|
5947
|
+
tenantId: z.ZodString;
|
|
5948
|
+
sessionId: z.ZodString;
|
|
5949
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
5950
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
5951
|
+
incarnation: z.ZodNumber;
|
|
5952
|
+
epoch: z.ZodNumber;
|
|
5953
|
+
seq: z.ZodNumber;
|
|
5954
|
+
cursor: z.ZodString;
|
|
5955
|
+
time: z.ZodString;
|
|
5956
|
+
schemaVersion: z.ZodNumber;
|
|
5957
|
+
source: z.ZodObject<{
|
|
5958
|
+
kind: z.ZodEnum<{
|
|
5959
|
+
api: "api";
|
|
5960
|
+
client: "client";
|
|
5961
|
+
controller: "controller";
|
|
5962
|
+
core: "core";
|
|
5963
|
+
edge: "edge";
|
|
5964
|
+
"egress-gate": "egress-gate";
|
|
5965
|
+
evidence: "evidence";
|
|
5966
|
+
harness: "harness";
|
|
5967
|
+
human: "human";
|
|
5968
|
+
init: "init";
|
|
5969
|
+
loop: "loop";
|
|
5970
|
+
"model-gate": "model-gate";
|
|
5971
|
+
operator: "operator";
|
|
5972
|
+
sandboxes: "sandboxes";
|
|
5973
|
+
supervisor: "supervisor";
|
|
5974
|
+
"tool-gate": "tool-gate";
|
|
5975
|
+
}>;
|
|
5976
|
+
id: z.ZodString;
|
|
5977
|
+
}, z.core.$strip>;
|
|
5978
|
+
evidence: z.ZodEnum<{
|
|
5979
|
+
asserted: "asserted";
|
|
5980
|
+
attested: "attested";
|
|
5981
|
+
claimed: "claimed";
|
|
5982
|
+
measured: "measured";
|
|
5983
|
+
observed: "observed";
|
|
5984
|
+
}>;
|
|
5985
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
5986
|
+
kind: z.ZodEnum<{
|
|
5987
|
+
application: "application";
|
|
5988
|
+
core: "core";
|
|
5989
|
+
"flow-host": "flow-host";
|
|
5990
|
+
subject: "subject";
|
|
5991
|
+
trigger: "trigger";
|
|
5992
|
+
}>;
|
|
5993
|
+
id: z.ZodString;
|
|
5994
|
+
}, z.core.$strict>>;
|
|
5995
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
5996
|
+
traceId: z.ZodString;
|
|
5997
|
+
spanId: z.ZodString;
|
|
5998
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
5999
|
+
}, z.core.$strip>>;
|
|
6000
|
+
visibility: z.ZodEnum<{
|
|
6001
|
+
internal: "internal";
|
|
6002
|
+
public: "public";
|
|
6003
|
+
restricted: "restricted";
|
|
6004
|
+
}>;
|
|
6005
|
+
retention: z.ZodEnum<{
|
|
6006
|
+
full: "full";
|
|
6007
|
+
metadata: "metadata";
|
|
6008
|
+
}>;
|
|
6009
|
+
} & {
|
|
6010
|
+
type: z.ZodLiteral<"artifact.export.skipped">;
|
|
6011
|
+
payload: z.ZodObject<{
|
|
6012
|
+
name: z.ZodString;
|
|
6013
|
+
reason: z.ZodEnum<{
|
|
6014
|
+
environment_total: "environment_total";
|
|
5703
6015
|
file_too_large: "file_too_large";
|
|
5704
6016
|
tenant_total: "tenant_total";
|
|
5705
6017
|
too_large: "too_large";
|
|
@@ -5953,6 +6265,7 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5953
6265
|
version: z.ZodOptional<z.ZodNumber>;
|
|
5954
6266
|
}, z.core.$strict>], "type">>>;
|
|
5955
6267
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
6268
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5956
6269
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
5957
6270
|
queue: "queue";
|
|
5958
6271
|
reject: "reject";
|
|
@@ -6426,6 +6739,78 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6426
6739
|
full: "full";
|
|
6427
6740
|
metadata: "metadata";
|
|
6428
6741
|
}>;
|
|
6742
|
+
} & {
|
|
6743
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
6744
|
+
payload: z.ZodObject<{
|
|
6745
|
+
code: z.ZodString;
|
|
6746
|
+
message: z.ZodString;
|
|
6747
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
6748
|
+
}, z.core.$loose>;
|
|
6749
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
6750
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
6751
|
+
eventId: z.ZodString;
|
|
6752
|
+
tenantId: z.ZodString;
|
|
6753
|
+
sessionId: z.ZodString;
|
|
6754
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
6755
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
6756
|
+
incarnation: z.ZodNumber;
|
|
6757
|
+
epoch: z.ZodNumber;
|
|
6758
|
+
seq: z.ZodNumber;
|
|
6759
|
+
cursor: z.ZodString;
|
|
6760
|
+
time: z.ZodString;
|
|
6761
|
+
schemaVersion: z.ZodNumber;
|
|
6762
|
+
source: z.ZodObject<{
|
|
6763
|
+
kind: z.ZodEnum<{
|
|
6764
|
+
api: "api";
|
|
6765
|
+
client: "client";
|
|
6766
|
+
controller: "controller";
|
|
6767
|
+
core: "core";
|
|
6768
|
+
edge: "edge";
|
|
6769
|
+
"egress-gate": "egress-gate";
|
|
6770
|
+
evidence: "evidence";
|
|
6771
|
+
harness: "harness";
|
|
6772
|
+
human: "human";
|
|
6773
|
+
init: "init";
|
|
6774
|
+
loop: "loop";
|
|
6775
|
+
"model-gate": "model-gate";
|
|
6776
|
+
operator: "operator";
|
|
6777
|
+
sandboxes: "sandboxes";
|
|
6778
|
+
supervisor: "supervisor";
|
|
6779
|
+
"tool-gate": "tool-gate";
|
|
6780
|
+
}>;
|
|
6781
|
+
id: z.ZodString;
|
|
6782
|
+
}, z.core.$strip>;
|
|
6783
|
+
evidence: z.ZodEnum<{
|
|
6784
|
+
asserted: "asserted";
|
|
6785
|
+
attested: "attested";
|
|
6786
|
+
claimed: "claimed";
|
|
6787
|
+
measured: "measured";
|
|
6788
|
+
observed: "observed";
|
|
6789
|
+
}>;
|
|
6790
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
6791
|
+
kind: z.ZodEnum<{
|
|
6792
|
+
application: "application";
|
|
6793
|
+
core: "core";
|
|
6794
|
+
"flow-host": "flow-host";
|
|
6795
|
+
subject: "subject";
|
|
6796
|
+
trigger: "trigger";
|
|
6797
|
+
}>;
|
|
6798
|
+
id: z.ZodString;
|
|
6799
|
+
}, z.core.$strict>>;
|
|
6800
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
6801
|
+
traceId: z.ZodString;
|
|
6802
|
+
spanId: z.ZodString;
|
|
6803
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
6804
|
+
}, z.core.$strip>>;
|
|
6805
|
+
visibility: z.ZodEnum<{
|
|
6806
|
+
internal: "internal";
|
|
6807
|
+
public: "public";
|
|
6808
|
+
restricted: "restricted";
|
|
6809
|
+
}>;
|
|
6810
|
+
retention: z.ZodEnum<{
|
|
6811
|
+
full: "full";
|
|
6812
|
+
metadata: "metadata";
|
|
6813
|
+
}>;
|
|
6429
6814
|
} & {
|
|
6430
6815
|
type: z.ZodLiteral<"environment.exec">;
|
|
6431
6816
|
payload: z.ZodObject<{
|
|
@@ -6751,6 +7136,7 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6751
7136
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6752
7137
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6753
7138
|
}, z.core.$loose>>;
|
|
7139
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6754
7140
|
}, z.core.$loose>;
|
|
6755
7141
|
}, z.core.$strip> | z.ZodObject<{
|
|
6756
7142
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -7544,6 +7930,117 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7544
7930
|
full: "full";
|
|
7545
7931
|
metadata: "metadata";
|
|
7546
7932
|
}>;
|
|
7933
|
+
} & {
|
|
7934
|
+
type: z.ZodLiteral<"session.model">;
|
|
7935
|
+
payload: z.ZodObject<{
|
|
7936
|
+
provider: z.ZodString;
|
|
7937
|
+
model: z.ZodString;
|
|
7938
|
+
source: z.ZodEnum<{
|
|
7939
|
+
manifest: "manifest";
|
|
7940
|
+
session: "session";
|
|
7941
|
+
tenant: "tenant";
|
|
7942
|
+
}>;
|
|
7943
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7944
|
+
invalid_model: "invalid_model";
|
|
7945
|
+
not_in_catalog: "not_in_catalog";
|
|
7946
|
+
provider_not_connected: "provider_not_connected";
|
|
7947
|
+
}>>;
|
|
7948
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
7949
|
+
provider: z.ZodString;
|
|
7950
|
+
model: z.ZodString;
|
|
7951
|
+
by: z.ZodEnum<{
|
|
7952
|
+
manifest: "manifest";
|
|
7953
|
+
session: "session";
|
|
7954
|
+
}>;
|
|
7955
|
+
}, z.core.$strict>>;
|
|
7956
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
7957
|
+
provider: z.ZodString;
|
|
7958
|
+
model: z.ZodString;
|
|
7959
|
+
source: z.ZodEnum<{
|
|
7960
|
+
manifest: "manifest";
|
|
7961
|
+
session: "session";
|
|
7962
|
+
tenant: "tenant";
|
|
7963
|
+
}>;
|
|
7964
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7965
|
+
invalid_model: "invalid_model";
|
|
7966
|
+
not_in_catalog: "not_in_catalog";
|
|
7967
|
+
provider_not_connected: "provider_not_connected";
|
|
7968
|
+
}>>;
|
|
7969
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
7970
|
+
provider: z.ZodString;
|
|
7971
|
+
model: z.ZodString;
|
|
7972
|
+
by: z.ZodEnum<{
|
|
7973
|
+
manifest: "manifest";
|
|
7974
|
+
session: "session";
|
|
7975
|
+
}>;
|
|
7976
|
+
}, z.core.$strict>>;
|
|
7977
|
+
}, z.core.$strict>>;
|
|
7978
|
+
}, z.core.$loose>;
|
|
7979
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
7980
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
7981
|
+
eventId: z.ZodString;
|
|
7982
|
+
tenantId: z.ZodString;
|
|
7983
|
+
sessionId: z.ZodString;
|
|
7984
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
7985
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
7986
|
+
incarnation: z.ZodNumber;
|
|
7987
|
+
epoch: z.ZodNumber;
|
|
7988
|
+
seq: z.ZodNumber;
|
|
7989
|
+
cursor: z.ZodString;
|
|
7990
|
+
time: z.ZodString;
|
|
7991
|
+
schemaVersion: z.ZodNumber;
|
|
7992
|
+
source: z.ZodObject<{
|
|
7993
|
+
kind: z.ZodEnum<{
|
|
7994
|
+
api: "api";
|
|
7995
|
+
client: "client";
|
|
7996
|
+
controller: "controller";
|
|
7997
|
+
core: "core";
|
|
7998
|
+
edge: "edge";
|
|
7999
|
+
"egress-gate": "egress-gate";
|
|
8000
|
+
evidence: "evidence";
|
|
8001
|
+
harness: "harness";
|
|
8002
|
+
human: "human";
|
|
8003
|
+
init: "init";
|
|
8004
|
+
loop: "loop";
|
|
8005
|
+
"model-gate": "model-gate";
|
|
8006
|
+
operator: "operator";
|
|
8007
|
+
sandboxes: "sandboxes";
|
|
8008
|
+
supervisor: "supervisor";
|
|
8009
|
+
"tool-gate": "tool-gate";
|
|
8010
|
+
}>;
|
|
8011
|
+
id: z.ZodString;
|
|
8012
|
+
}, z.core.$strip>;
|
|
8013
|
+
evidence: z.ZodEnum<{
|
|
8014
|
+
asserted: "asserted";
|
|
8015
|
+
attested: "attested";
|
|
8016
|
+
claimed: "claimed";
|
|
8017
|
+
measured: "measured";
|
|
8018
|
+
observed: "observed";
|
|
8019
|
+
}>;
|
|
8020
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
8021
|
+
kind: z.ZodEnum<{
|
|
8022
|
+
application: "application";
|
|
8023
|
+
core: "core";
|
|
8024
|
+
"flow-host": "flow-host";
|
|
8025
|
+
subject: "subject";
|
|
8026
|
+
trigger: "trigger";
|
|
8027
|
+
}>;
|
|
8028
|
+
id: z.ZodString;
|
|
8029
|
+
}, z.core.$strict>>;
|
|
8030
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
8031
|
+
traceId: z.ZodString;
|
|
8032
|
+
spanId: z.ZodString;
|
|
8033
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
8034
|
+
}, z.core.$strip>>;
|
|
8035
|
+
visibility: z.ZodEnum<{
|
|
8036
|
+
internal: "internal";
|
|
8037
|
+
public: "public";
|
|
8038
|
+
restricted: "restricted";
|
|
8039
|
+
}>;
|
|
8040
|
+
retention: z.ZodEnum<{
|
|
8041
|
+
full: "full";
|
|
8042
|
+
metadata: "metadata";
|
|
8043
|
+
}>;
|
|
7547
8044
|
} & {
|
|
7548
8045
|
type: z.ZodLiteral<"tool.completed">;
|
|
7549
8046
|
payload: z.ZodObject<{
|
|
@@ -7919,7 +8416,85 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7919
8416
|
code: z.ZodOptional<z.ZodString>;
|
|
7920
8417
|
message: z.ZodOptional<z.ZodString>;
|
|
7921
8418
|
}, z.core.$loose>>;
|
|
7922
|
-
message: z.ZodOptional<z.ZodString>;
|
|
8419
|
+
message: z.ZodOptional<z.ZodString>;
|
|
8420
|
+
}, z.core.$loose>;
|
|
8421
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
8422
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
8423
|
+
eventId: z.ZodString;
|
|
8424
|
+
tenantId: z.ZodString;
|
|
8425
|
+
sessionId: z.ZodString;
|
|
8426
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
8427
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
8428
|
+
incarnation: z.ZodNumber;
|
|
8429
|
+
epoch: z.ZodNumber;
|
|
8430
|
+
seq: z.ZodNumber;
|
|
8431
|
+
cursor: z.ZodString;
|
|
8432
|
+
time: z.ZodString;
|
|
8433
|
+
schemaVersion: z.ZodNumber;
|
|
8434
|
+
source: z.ZodObject<{
|
|
8435
|
+
kind: z.ZodEnum<{
|
|
8436
|
+
api: "api";
|
|
8437
|
+
client: "client";
|
|
8438
|
+
controller: "controller";
|
|
8439
|
+
core: "core";
|
|
8440
|
+
edge: "edge";
|
|
8441
|
+
"egress-gate": "egress-gate";
|
|
8442
|
+
evidence: "evidence";
|
|
8443
|
+
harness: "harness";
|
|
8444
|
+
human: "human";
|
|
8445
|
+
init: "init";
|
|
8446
|
+
loop: "loop";
|
|
8447
|
+
"model-gate": "model-gate";
|
|
8448
|
+
operator: "operator";
|
|
8449
|
+
sandboxes: "sandboxes";
|
|
8450
|
+
supervisor: "supervisor";
|
|
8451
|
+
"tool-gate": "tool-gate";
|
|
8452
|
+
}>;
|
|
8453
|
+
id: z.ZodString;
|
|
8454
|
+
}, z.core.$strip>;
|
|
8455
|
+
evidence: z.ZodEnum<{
|
|
8456
|
+
asserted: "asserted";
|
|
8457
|
+
attested: "attested";
|
|
8458
|
+
claimed: "claimed";
|
|
8459
|
+
measured: "measured";
|
|
8460
|
+
observed: "observed";
|
|
8461
|
+
}>;
|
|
8462
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
8463
|
+
kind: z.ZodEnum<{
|
|
8464
|
+
application: "application";
|
|
8465
|
+
core: "core";
|
|
8466
|
+
"flow-host": "flow-host";
|
|
8467
|
+
subject: "subject";
|
|
8468
|
+
trigger: "trigger";
|
|
8469
|
+
}>;
|
|
8470
|
+
id: z.ZodString;
|
|
8471
|
+
}, z.core.$strict>>;
|
|
8472
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
8473
|
+
traceId: z.ZodString;
|
|
8474
|
+
spanId: z.ZodString;
|
|
8475
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
8476
|
+
}, z.core.$strip>>;
|
|
8477
|
+
visibility: z.ZodEnum<{
|
|
8478
|
+
internal: "internal";
|
|
8479
|
+
public: "public";
|
|
8480
|
+
restricted: "restricted";
|
|
8481
|
+
}>;
|
|
8482
|
+
retention: z.ZodEnum<{
|
|
8483
|
+
full: "full";
|
|
8484
|
+
metadata: "metadata";
|
|
8485
|
+
}>;
|
|
8486
|
+
} & {
|
|
8487
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
8488
|
+
payload: z.ZodObject<{
|
|
8489
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
8490
|
+
invocationId: z.ZodString;
|
|
8491
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
8492
|
+
interaction: z.ZodObject<{
|
|
8493
|
+
id: z.ZodString;
|
|
8494
|
+
kind: z.ZodString;
|
|
8495
|
+
}, z.core.$loose>;
|
|
8496
|
+
status: z.ZodOptional<z.ZodString>;
|
|
8497
|
+
}, z.core.$loose>>;
|
|
7923
8498
|
}, z.core.$loose>;
|
|
7924
8499
|
}, z.core.$strip> | z.ZodObject<{
|
|
7925
8500
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -7987,17 +8562,20 @@ export declare const SessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7987
8562
|
metadata: "metadata";
|
|
7988
8563
|
}>;
|
|
7989
8564
|
} & {
|
|
7990
|
-
type: z.ZodLiteral<"turn.
|
|
8565
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
7991
8566
|
payload: z.ZodObject<{
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8567
|
+
reason: z.ZodEnum<{
|
|
8568
|
+
variant_invalid: "variant_invalid";
|
|
8569
|
+
}>;
|
|
8570
|
+
from: z.ZodObject<{
|
|
8571
|
+
name: z.ZodString;
|
|
8572
|
+
version: z.ZodNumber;
|
|
8573
|
+
}, z.core.$strict>;
|
|
8574
|
+
to: z.ZodObject<{
|
|
8575
|
+
name: z.ZodString;
|
|
8576
|
+
version: z.ZodNumber;
|
|
8577
|
+
}, z.core.$strict>;
|
|
8578
|
+
message: z.ZodString;
|
|
8001
8579
|
}, z.core.$loose>;
|
|
8002
8580
|
}, z.core.$strip> | z.ZodObject<{
|
|
8003
8581
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -8769,6 +9347,7 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
8769
9347
|
version: z.ZodOptional<z.ZodNumber>;
|
|
8770
9348
|
}, z.core.$strict>], "type">>>;
|
|
8771
9349
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
9350
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8772
9351
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
8773
9352
|
queue: "queue";
|
|
8774
9353
|
reject: "reject";
|
|
@@ -9242,6 +9821,78 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
9242
9821
|
full: "full";
|
|
9243
9822
|
metadata: "metadata";
|
|
9244
9823
|
}>;
|
|
9824
|
+
} & {
|
|
9825
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
9826
|
+
payload: z.ZodObject<{
|
|
9827
|
+
code: z.ZodString;
|
|
9828
|
+
message: z.ZodString;
|
|
9829
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
9830
|
+
}, z.core.$loose>;
|
|
9831
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
9832
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
9833
|
+
eventId: z.ZodString;
|
|
9834
|
+
tenantId: z.ZodString;
|
|
9835
|
+
sessionId: z.ZodString;
|
|
9836
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
9837
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
9838
|
+
incarnation: z.ZodNumber;
|
|
9839
|
+
epoch: z.ZodNumber;
|
|
9840
|
+
seq: z.ZodNumber;
|
|
9841
|
+
cursor: z.ZodString;
|
|
9842
|
+
time: z.ZodString;
|
|
9843
|
+
schemaVersion: z.ZodNumber;
|
|
9844
|
+
source: z.ZodObject<{
|
|
9845
|
+
kind: z.ZodEnum<{
|
|
9846
|
+
api: "api";
|
|
9847
|
+
client: "client";
|
|
9848
|
+
controller: "controller";
|
|
9849
|
+
core: "core";
|
|
9850
|
+
edge: "edge";
|
|
9851
|
+
"egress-gate": "egress-gate";
|
|
9852
|
+
evidence: "evidence";
|
|
9853
|
+
harness: "harness";
|
|
9854
|
+
human: "human";
|
|
9855
|
+
init: "init";
|
|
9856
|
+
loop: "loop";
|
|
9857
|
+
"model-gate": "model-gate";
|
|
9858
|
+
operator: "operator";
|
|
9859
|
+
sandboxes: "sandboxes";
|
|
9860
|
+
supervisor: "supervisor";
|
|
9861
|
+
"tool-gate": "tool-gate";
|
|
9862
|
+
}>;
|
|
9863
|
+
id: z.ZodString;
|
|
9864
|
+
}, z.core.$strip>;
|
|
9865
|
+
evidence: z.ZodEnum<{
|
|
9866
|
+
asserted: "asserted";
|
|
9867
|
+
attested: "attested";
|
|
9868
|
+
claimed: "claimed";
|
|
9869
|
+
measured: "measured";
|
|
9870
|
+
observed: "observed";
|
|
9871
|
+
}>;
|
|
9872
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
9873
|
+
kind: z.ZodEnum<{
|
|
9874
|
+
application: "application";
|
|
9875
|
+
core: "core";
|
|
9876
|
+
"flow-host": "flow-host";
|
|
9877
|
+
subject: "subject";
|
|
9878
|
+
trigger: "trigger";
|
|
9879
|
+
}>;
|
|
9880
|
+
id: z.ZodString;
|
|
9881
|
+
}, z.core.$strict>>;
|
|
9882
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
9883
|
+
traceId: z.ZodString;
|
|
9884
|
+
spanId: z.ZodString;
|
|
9885
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
9886
|
+
}, z.core.$strip>>;
|
|
9887
|
+
visibility: z.ZodEnum<{
|
|
9888
|
+
internal: "internal";
|
|
9889
|
+
public: "public";
|
|
9890
|
+
restricted: "restricted";
|
|
9891
|
+
}>;
|
|
9892
|
+
retention: z.ZodEnum<{
|
|
9893
|
+
full: "full";
|
|
9894
|
+
metadata: "metadata";
|
|
9895
|
+
}>;
|
|
9245
9896
|
} & {
|
|
9246
9897
|
type: z.ZodLiteral<"environment.exec">;
|
|
9247
9898
|
payload: z.ZodObject<{
|
|
@@ -9567,6 +10218,7 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
9567
10218
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9568
10219
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9569
10220
|
}, z.core.$loose>>;
|
|
10221
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9570
10222
|
}, z.core.$loose>;
|
|
9571
10223
|
}, z.core.$strip> | z.ZodObject<{
|
|
9572
10224
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -10360,6 +11012,117 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
10360
11012
|
full: "full";
|
|
10361
11013
|
metadata: "metadata";
|
|
10362
11014
|
}>;
|
|
11015
|
+
} & {
|
|
11016
|
+
type: z.ZodLiteral<"session.model">;
|
|
11017
|
+
payload: z.ZodObject<{
|
|
11018
|
+
provider: z.ZodString;
|
|
11019
|
+
model: z.ZodString;
|
|
11020
|
+
source: z.ZodEnum<{
|
|
11021
|
+
manifest: "manifest";
|
|
11022
|
+
session: "session";
|
|
11023
|
+
tenant: "tenant";
|
|
11024
|
+
}>;
|
|
11025
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
11026
|
+
invalid_model: "invalid_model";
|
|
11027
|
+
not_in_catalog: "not_in_catalog";
|
|
11028
|
+
provider_not_connected: "provider_not_connected";
|
|
11029
|
+
}>>;
|
|
11030
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
11031
|
+
provider: z.ZodString;
|
|
11032
|
+
model: z.ZodString;
|
|
11033
|
+
by: z.ZodEnum<{
|
|
11034
|
+
manifest: "manifest";
|
|
11035
|
+
session: "session";
|
|
11036
|
+
}>;
|
|
11037
|
+
}, z.core.$strict>>;
|
|
11038
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
11039
|
+
provider: z.ZodString;
|
|
11040
|
+
model: z.ZodString;
|
|
11041
|
+
source: z.ZodEnum<{
|
|
11042
|
+
manifest: "manifest";
|
|
11043
|
+
session: "session";
|
|
11044
|
+
tenant: "tenant";
|
|
11045
|
+
}>;
|
|
11046
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
11047
|
+
invalid_model: "invalid_model";
|
|
11048
|
+
not_in_catalog: "not_in_catalog";
|
|
11049
|
+
provider_not_connected: "provider_not_connected";
|
|
11050
|
+
}>>;
|
|
11051
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
11052
|
+
provider: z.ZodString;
|
|
11053
|
+
model: z.ZodString;
|
|
11054
|
+
by: z.ZodEnum<{
|
|
11055
|
+
manifest: "manifest";
|
|
11056
|
+
session: "session";
|
|
11057
|
+
}>;
|
|
11058
|
+
}, z.core.$strict>>;
|
|
11059
|
+
}, z.core.$strict>>;
|
|
11060
|
+
}, z.core.$loose>;
|
|
11061
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
11062
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
11063
|
+
eventId: z.ZodString;
|
|
11064
|
+
tenantId: z.ZodString;
|
|
11065
|
+
sessionId: z.ZodString;
|
|
11066
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
11067
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11068
|
+
incarnation: z.ZodNumber;
|
|
11069
|
+
epoch: z.ZodNumber;
|
|
11070
|
+
seq: z.ZodNumber;
|
|
11071
|
+
cursor: z.ZodString;
|
|
11072
|
+
time: z.ZodString;
|
|
11073
|
+
schemaVersion: z.ZodNumber;
|
|
11074
|
+
source: z.ZodObject<{
|
|
11075
|
+
kind: z.ZodEnum<{
|
|
11076
|
+
api: "api";
|
|
11077
|
+
client: "client";
|
|
11078
|
+
controller: "controller";
|
|
11079
|
+
core: "core";
|
|
11080
|
+
edge: "edge";
|
|
11081
|
+
"egress-gate": "egress-gate";
|
|
11082
|
+
evidence: "evidence";
|
|
11083
|
+
harness: "harness";
|
|
11084
|
+
human: "human";
|
|
11085
|
+
init: "init";
|
|
11086
|
+
loop: "loop";
|
|
11087
|
+
"model-gate": "model-gate";
|
|
11088
|
+
operator: "operator";
|
|
11089
|
+
sandboxes: "sandboxes";
|
|
11090
|
+
supervisor: "supervisor";
|
|
11091
|
+
"tool-gate": "tool-gate";
|
|
11092
|
+
}>;
|
|
11093
|
+
id: z.ZodString;
|
|
11094
|
+
}, z.core.$strip>;
|
|
11095
|
+
evidence: z.ZodEnum<{
|
|
11096
|
+
asserted: "asserted";
|
|
11097
|
+
attested: "attested";
|
|
11098
|
+
claimed: "claimed";
|
|
11099
|
+
measured: "measured";
|
|
11100
|
+
observed: "observed";
|
|
11101
|
+
}>;
|
|
11102
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
11103
|
+
kind: z.ZodEnum<{
|
|
11104
|
+
application: "application";
|
|
11105
|
+
core: "core";
|
|
11106
|
+
"flow-host": "flow-host";
|
|
11107
|
+
subject: "subject";
|
|
11108
|
+
trigger: "trigger";
|
|
11109
|
+
}>;
|
|
11110
|
+
id: z.ZodString;
|
|
11111
|
+
}, z.core.$strict>>;
|
|
11112
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
11113
|
+
traceId: z.ZodString;
|
|
11114
|
+
spanId: z.ZodString;
|
|
11115
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
11116
|
+
}, z.core.$strip>>;
|
|
11117
|
+
visibility: z.ZodEnum<{
|
|
11118
|
+
internal: "internal";
|
|
11119
|
+
public: "public";
|
|
11120
|
+
restricted: "restricted";
|
|
11121
|
+
}>;
|
|
11122
|
+
retention: z.ZodEnum<{
|
|
11123
|
+
full: "full";
|
|
11124
|
+
metadata: "metadata";
|
|
11125
|
+
}>;
|
|
10363
11126
|
} & {
|
|
10364
11127
|
type: z.ZodLiteral<"tool.completed">;
|
|
10365
11128
|
payload: z.ZodObject<{
|
|
@@ -10735,7 +11498,85 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
10735
11498
|
code: z.ZodOptional<z.ZodString>;
|
|
10736
11499
|
message: z.ZodOptional<z.ZodString>;
|
|
10737
11500
|
}, z.core.$loose>>;
|
|
10738
|
-
message: z.ZodOptional<z.ZodString>;
|
|
11501
|
+
message: z.ZodOptional<z.ZodString>;
|
|
11502
|
+
}, z.core.$loose>;
|
|
11503
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
11504
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
11505
|
+
eventId: z.ZodString;
|
|
11506
|
+
tenantId: z.ZodString;
|
|
11507
|
+
sessionId: z.ZodString;
|
|
11508
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
11509
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11510
|
+
incarnation: z.ZodNumber;
|
|
11511
|
+
epoch: z.ZodNumber;
|
|
11512
|
+
seq: z.ZodNumber;
|
|
11513
|
+
cursor: z.ZodString;
|
|
11514
|
+
time: z.ZodString;
|
|
11515
|
+
schemaVersion: z.ZodNumber;
|
|
11516
|
+
source: z.ZodObject<{
|
|
11517
|
+
kind: z.ZodEnum<{
|
|
11518
|
+
api: "api";
|
|
11519
|
+
client: "client";
|
|
11520
|
+
controller: "controller";
|
|
11521
|
+
core: "core";
|
|
11522
|
+
edge: "edge";
|
|
11523
|
+
"egress-gate": "egress-gate";
|
|
11524
|
+
evidence: "evidence";
|
|
11525
|
+
harness: "harness";
|
|
11526
|
+
human: "human";
|
|
11527
|
+
init: "init";
|
|
11528
|
+
loop: "loop";
|
|
11529
|
+
"model-gate": "model-gate";
|
|
11530
|
+
operator: "operator";
|
|
11531
|
+
sandboxes: "sandboxes";
|
|
11532
|
+
supervisor: "supervisor";
|
|
11533
|
+
"tool-gate": "tool-gate";
|
|
11534
|
+
}>;
|
|
11535
|
+
id: z.ZodString;
|
|
11536
|
+
}, z.core.$strip>;
|
|
11537
|
+
evidence: z.ZodEnum<{
|
|
11538
|
+
asserted: "asserted";
|
|
11539
|
+
attested: "attested";
|
|
11540
|
+
claimed: "claimed";
|
|
11541
|
+
measured: "measured";
|
|
11542
|
+
observed: "observed";
|
|
11543
|
+
}>;
|
|
11544
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
11545
|
+
kind: z.ZodEnum<{
|
|
11546
|
+
application: "application";
|
|
11547
|
+
core: "core";
|
|
11548
|
+
"flow-host": "flow-host";
|
|
11549
|
+
subject: "subject";
|
|
11550
|
+
trigger: "trigger";
|
|
11551
|
+
}>;
|
|
11552
|
+
id: z.ZodString;
|
|
11553
|
+
}, z.core.$strict>>;
|
|
11554
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
11555
|
+
traceId: z.ZodString;
|
|
11556
|
+
spanId: z.ZodString;
|
|
11557
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
11558
|
+
}, z.core.$strip>>;
|
|
11559
|
+
visibility: z.ZodEnum<{
|
|
11560
|
+
internal: "internal";
|
|
11561
|
+
public: "public";
|
|
11562
|
+
restricted: "restricted";
|
|
11563
|
+
}>;
|
|
11564
|
+
retention: z.ZodEnum<{
|
|
11565
|
+
full: "full";
|
|
11566
|
+
metadata: "metadata";
|
|
11567
|
+
}>;
|
|
11568
|
+
} & {
|
|
11569
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
11570
|
+
payload: z.ZodObject<{
|
|
11571
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
11572
|
+
invocationId: z.ZodString;
|
|
11573
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
11574
|
+
interaction: z.ZodObject<{
|
|
11575
|
+
id: z.ZodString;
|
|
11576
|
+
kind: z.ZodString;
|
|
11577
|
+
}, z.core.$loose>;
|
|
11578
|
+
status: z.ZodOptional<z.ZodString>;
|
|
11579
|
+
}, z.core.$loose>>;
|
|
10739
11580
|
}, z.core.$loose>;
|
|
10740
11581
|
}, z.core.$strip> | z.ZodObject<{
|
|
10741
11582
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -10803,17 +11644,20 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
10803
11644
|
metadata: "metadata";
|
|
10804
11645
|
}>;
|
|
10805
11646
|
} & {
|
|
10806
|
-
type: z.ZodLiteral<"turn.
|
|
11647
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
10807
11648
|
payload: z.ZodObject<{
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
11649
|
+
reason: z.ZodEnum<{
|
|
11650
|
+
variant_invalid: "variant_invalid";
|
|
11651
|
+
}>;
|
|
11652
|
+
from: z.ZodObject<{
|
|
11653
|
+
name: z.ZodString;
|
|
11654
|
+
version: z.ZodNumber;
|
|
11655
|
+
}, z.core.$strict>;
|
|
11656
|
+
to: z.ZodObject<{
|
|
11657
|
+
name: z.ZodString;
|
|
11658
|
+
version: z.ZodNumber;
|
|
11659
|
+
}, z.core.$strict>;
|
|
11660
|
+
message: z.ZodString;
|
|
10817
11661
|
}, z.core.$loose>;
|
|
10818
11662
|
}, z.core.$strip> | z.ZodObject<{
|
|
10819
11663
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -11582,6 +12426,7 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
11582
12426
|
version: z.ZodOptional<z.ZodNumber>;
|
|
11583
12427
|
}, z.core.$strict>], "type">>>;
|
|
11584
12428
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
12429
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11585
12430
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
11586
12431
|
queue: "queue";
|
|
11587
12432
|
reject: "reject";
|
|
@@ -12055,6 +12900,78 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
12055
12900
|
full: "full";
|
|
12056
12901
|
metadata: "metadata";
|
|
12057
12902
|
}>;
|
|
12903
|
+
} & {
|
|
12904
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
12905
|
+
payload: z.ZodObject<{
|
|
12906
|
+
code: z.ZodString;
|
|
12907
|
+
message: z.ZodString;
|
|
12908
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
12909
|
+
}, z.core.$loose>;
|
|
12910
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
12911
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
12912
|
+
eventId: z.ZodString;
|
|
12913
|
+
tenantId: z.ZodString;
|
|
12914
|
+
sessionId: z.ZodString;
|
|
12915
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
12916
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
12917
|
+
incarnation: z.ZodNumber;
|
|
12918
|
+
epoch: z.ZodNumber;
|
|
12919
|
+
seq: z.ZodNumber;
|
|
12920
|
+
cursor: z.ZodString;
|
|
12921
|
+
time: z.ZodString;
|
|
12922
|
+
schemaVersion: z.ZodNumber;
|
|
12923
|
+
source: z.ZodObject<{
|
|
12924
|
+
kind: z.ZodEnum<{
|
|
12925
|
+
api: "api";
|
|
12926
|
+
client: "client";
|
|
12927
|
+
controller: "controller";
|
|
12928
|
+
core: "core";
|
|
12929
|
+
edge: "edge";
|
|
12930
|
+
"egress-gate": "egress-gate";
|
|
12931
|
+
evidence: "evidence";
|
|
12932
|
+
harness: "harness";
|
|
12933
|
+
human: "human";
|
|
12934
|
+
init: "init";
|
|
12935
|
+
loop: "loop";
|
|
12936
|
+
"model-gate": "model-gate";
|
|
12937
|
+
operator: "operator";
|
|
12938
|
+
sandboxes: "sandboxes";
|
|
12939
|
+
supervisor: "supervisor";
|
|
12940
|
+
"tool-gate": "tool-gate";
|
|
12941
|
+
}>;
|
|
12942
|
+
id: z.ZodString;
|
|
12943
|
+
}, z.core.$strip>;
|
|
12944
|
+
evidence: z.ZodEnum<{
|
|
12945
|
+
asserted: "asserted";
|
|
12946
|
+
attested: "attested";
|
|
12947
|
+
claimed: "claimed";
|
|
12948
|
+
measured: "measured";
|
|
12949
|
+
observed: "observed";
|
|
12950
|
+
}>;
|
|
12951
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
12952
|
+
kind: z.ZodEnum<{
|
|
12953
|
+
application: "application";
|
|
12954
|
+
core: "core";
|
|
12955
|
+
"flow-host": "flow-host";
|
|
12956
|
+
subject: "subject";
|
|
12957
|
+
trigger: "trigger";
|
|
12958
|
+
}>;
|
|
12959
|
+
id: z.ZodString;
|
|
12960
|
+
}, z.core.$strict>>;
|
|
12961
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
12962
|
+
traceId: z.ZodString;
|
|
12963
|
+
spanId: z.ZodString;
|
|
12964
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
12965
|
+
}, z.core.$strip>>;
|
|
12966
|
+
visibility: z.ZodEnum<{
|
|
12967
|
+
internal: "internal";
|
|
12968
|
+
public: "public";
|
|
12969
|
+
restricted: "restricted";
|
|
12970
|
+
}>;
|
|
12971
|
+
retention: z.ZodEnum<{
|
|
12972
|
+
full: "full";
|
|
12973
|
+
metadata: "metadata";
|
|
12974
|
+
}>;
|
|
12058
12975
|
} & {
|
|
12059
12976
|
type: z.ZodLiteral<"environment.exec">;
|
|
12060
12977
|
payload: z.ZodObject<{
|
|
@@ -12380,6 +13297,7 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
12380
13297
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12381
13298
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12382
13299
|
}, z.core.$loose>>;
|
|
13300
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
12383
13301
|
}, z.core.$loose>;
|
|
12384
13302
|
}, z.core.$strip> | z.ZodObject<{
|
|
12385
13303
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -13173,6 +14091,117 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
13173
14091
|
full: "full";
|
|
13174
14092
|
metadata: "metadata";
|
|
13175
14093
|
}>;
|
|
14094
|
+
} & {
|
|
14095
|
+
type: z.ZodLiteral<"session.model">;
|
|
14096
|
+
payload: z.ZodObject<{
|
|
14097
|
+
provider: z.ZodString;
|
|
14098
|
+
model: z.ZodString;
|
|
14099
|
+
source: z.ZodEnum<{
|
|
14100
|
+
manifest: "manifest";
|
|
14101
|
+
session: "session";
|
|
14102
|
+
tenant: "tenant";
|
|
14103
|
+
}>;
|
|
14104
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
14105
|
+
invalid_model: "invalid_model";
|
|
14106
|
+
not_in_catalog: "not_in_catalog";
|
|
14107
|
+
provider_not_connected: "provider_not_connected";
|
|
14108
|
+
}>>;
|
|
14109
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
14110
|
+
provider: z.ZodString;
|
|
14111
|
+
model: z.ZodString;
|
|
14112
|
+
by: z.ZodEnum<{
|
|
14113
|
+
manifest: "manifest";
|
|
14114
|
+
session: "session";
|
|
14115
|
+
}>;
|
|
14116
|
+
}, z.core.$strict>>;
|
|
14117
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
14118
|
+
provider: z.ZodString;
|
|
14119
|
+
model: z.ZodString;
|
|
14120
|
+
source: z.ZodEnum<{
|
|
14121
|
+
manifest: "manifest";
|
|
14122
|
+
session: "session";
|
|
14123
|
+
tenant: "tenant";
|
|
14124
|
+
}>;
|
|
14125
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
14126
|
+
invalid_model: "invalid_model";
|
|
14127
|
+
not_in_catalog: "not_in_catalog";
|
|
14128
|
+
provider_not_connected: "provider_not_connected";
|
|
14129
|
+
}>>;
|
|
14130
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
14131
|
+
provider: z.ZodString;
|
|
14132
|
+
model: z.ZodString;
|
|
14133
|
+
by: z.ZodEnum<{
|
|
14134
|
+
manifest: "manifest";
|
|
14135
|
+
session: "session";
|
|
14136
|
+
}>;
|
|
14137
|
+
}, z.core.$strict>>;
|
|
14138
|
+
}, z.core.$strict>>;
|
|
14139
|
+
}, z.core.$loose>;
|
|
14140
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
14141
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
14142
|
+
eventId: z.ZodString;
|
|
14143
|
+
tenantId: z.ZodString;
|
|
14144
|
+
sessionId: z.ZodString;
|
|
14145
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
14146
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
14147
|
+
incarnation: z.ZodNumber;
|
|
14148
|
+
epoch: z.ZodNumber;
|
|
14149
|
+
seq: z.ZodNumber;
|
|
14150
|
+
cursor: z.ZodString;
|
|
14151
|
+
time: z.ZodString;
|
|
14152
|
+
schemaVersion: z.ZodNumber;
|
|
14153
|
+
source: z.ZodObject<{
|
|
14154
|
+
kind: z.ZodEnum<{
|
|
14155
|
+
api: "api";
|
|
14156
|
+
client: "client";
|
|
14157
|
+
controller: "controller";
|
|
14158
|
+
core: "core";
|
|
14159
|
+
edge: "edge";
|
|
14160
|
+
"egress-gate": "egress-gate";
|
|
14161
|
+
evidence: "evidence";
|
|
14162
|
+
harness: "harness";
|
|
14163
|
+
human: "human";
|
|
14164
|
+
init: "init";
|
|
14165
|
+
loop: "loop";
|
|
14166
|
+
"model-gate": "model-gate";
|
|
14167
|
+
operator: "operator";
|
|
14168
|
+
sandboxes: "sandboxes";
|
|
14169
|
+
supervisor: "supervisor";
|
|
14170
|
+
"tool-gate": "tool-gate";
|
|
14171
|
+
}>;
|
|
14172
|
+
id: z.ZodString;
|
|
14173
|
+
}, z.core.$strip>;
|
|
14174
|
+
evidence: z.ZodEnum<{
|
|
14175
|
+
asserted: "asserted";
|
|
14176
|
+
attested: "attested";
|
|
14177
|
+
claimed: "claimed";
|
|
14178
|
+
measured: "measured";
|
|
14179
|
+
observed: "observed";
|
|
14180
|
+
}>;
|
|
14181
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
14182
|
+
kind: z.ZodEnum<{
|
|
14183
|
+
application: "application";
|
|
14184
|
+
core: "core";
|
|
14185
|
+
"flow-host": "flow-host";
|
|
14186
|
+
subject: "subject";
|
|
14187
|
+
trigger: "trigger";
|
|
14188
|
+
}>;
|
|
14189
|
+
id: z.ZodString;
|
|
14190
|
+
}, z.core.$strict>>;
|
|
14191
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
14192
|
+
traceId: z.ZodString;
|
|
14193
|
+
spanId: z.ZodString;
|
|
14194
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
14195
|
+
}, z.core.$strip>>;
|
|
14196
|
+
visibility: z.ZodEnum<{
|
|
14197
|
+
internal: "internal";
|
|
14198
|
+
public: "public";
|
|
14199
|
+
restricted: "restricted";
|
|
14200
|
+
}>;
|
|
14201
|
+
retention: z.ZodEnum<{
|
|
14202
|
+
full: "full";
|
|
14203
|
+
metadata: "metadata";
|
|
14204
|
+
}>;
|
|
13176
14205
|
} & {
|
|
13177
14206
|
type: z.ZodLiteral<"tool.completed">;
|
|
13178
14207
|
payload: z.ZodObject<{
|
|
@@ -13548,7 +14577,85 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
13548
14577
|
code: z.ZodOptional<z.ZodString>;
|
|
13549
14578
|
message: z.ZodOptional<z.ZodString>;
|
|
13550
14579
|
}, z.core.$loose>>;
|
|
13551
|
-
message: z.ZodOptional<z.ZodString>;
|
|
14580
|
+
message: z.ZodOptional<z.ZodString>;
|
|
14581
|
+
}, z.core.$loose>;
|
|
14582
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
14583
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
14584
|
+
eventId: z.ZodString;
|
|
14585
|
+
tenantId: z.ZodString;
|
|
14586
|
+
sessionId: z.ZodString;
|
|
14587
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
14588
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
14589
|
+
incarnation: z.ZodNumber;
|
|
14590
|
+
epoch: z.ZodNumber;
|
|
14591
|
+
seq: z.ZodNumber;
|
|
14592
|
+
cursor: z.ZodString;
|
|
14593
|
+
time: z.ZodString;
|
|
14594
|
+
schemaVersion: z.ZodNumber;
|
|
14595
|
+
source: z.ZodObject<{
|
|
14596
|
+
kind: z.ZodEnum<{
|
|
14597
|
+
api: "api";
|
|
14598
|
+
client: "client";
|
|
14599
|
+
controller: "controller";
|
|
14600
|
+
core: "core";
|
|
14601
|
+
edge: "edge";
|
|
14602
|
+
"egress-gate": "egress-gate";
|
|
14603
|
+
evidence: "evidence";
|
|
14604
|
+
harness: "harness";
|
|
14605
|
+
human: "human";
|
|
14606
|
+
init: "init";
|
|
14607
|
+
loop: "loop";
|
|
14608
|
+
"model-gate": "model-gate";
|
|
14609
|
+
operator: "operator";
|
|
14610
|
+
sandboxes: "sandboxes";
|
|
14611
|
+
supervisor: "supervisor";
|
|
14612
|
+
"tool-gate": "tool-gate";
|
|
14613
|
+
}>;
|
|
14614
|
+
id: z.ZodString;
|
|
14615
|
+
}, z.core.$strip>;
|
|
14616
|
+
evidence: z.ZodEnum<{
|
|
14617
|
+
asserted: "asserted";
|
|
14618
|
+
attested: "attested";
|
|
14619
|
+
claimed: "claimed";
|
|
14620
|
+
measured: "measured";
|
|
14621
|
+
observed: "observed";
|
|
14622
|
+
}>;
|
|
14623
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
14624
|
+
kind: z.ZodEnum<{
|
|
14625
|
+
application: "application";
|
|
14626
|
+
core: "core";
|
|
14627
|
+
"flow-host": "flow-host";
|
|
14628
|
+
subject: "subject";
|
|
14629
|
+
trigger: "trigger";
|
|
14630
|
+
}>;
|
|
14631
|
+
id: z.ZodString;
|
|
14632
|
+
}, z.core.$strict>>;
|
|
14633
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
14634
|
+
traceId: z.ZodString;
|
|
14635
|
+
spanId: z.ZodString;
|
|
14636
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
14637
|
+
}, z.core.$strip>>;
|
|
14638
|
+
visibility: z.ZodEnum<{
|
|
14639
|
+
internal: "internal";
|
|
14640
|
+
public: "public";
|
|
14641
|
+
restricted: "restricted";
|
|
14642
|
+
}>;
|
|
14643
|
+
retention: z.ZodEnum<{
|
|
14644
|
+
full: "full";
|
|
14645
|
+
metadata: "metadata";
|
|
14646
|
+
}>;
|
|
14647
|
+
} & {
|
|
14648
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
14649
|
+
payload: z.ZodObject<{
|
|
14650
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
14651
|
+
invocationId: z.ZodString;
|
|
14652
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
14653
|
+
interaction: z.ZodObject<{
|
|
14654
|
+
id: z.ZodString;
|
|
14655
|
+
kind: z.ZodString;
|
|
14656
|
+
}, z.core.$loose>;
|
|
14657
|
+
status: z.ZodOptional<z.ZodString>;
|
|
14658
|
+
}, z.core.$loose>>;
|
|
13552
14659
|
}, z.core.$loose>;
|
|
13553
14660
|
}, z.core.$strip> | z.ZodObject<{
|
|
13554
14661
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -13616,17 +14723,20 @@ export declare const SessionItemsResponse: z.ZodObject<{
|
|
|
13616
14723
|
metadata: "metadata";
|
|
13617
14724
|
}>;
|
|
13618
14725
|
} & {
|
|
13619
|
-
type: z.ZodLiteral<"turn.
|
|
14726
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
13620
14727
|
payload: z.ZodObject<{
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
14728
|
+
reason: z.ZodEnum<{
|
|
14729
|
+
variant_invalid: "variant_invalid";
|
|
14730
|
+
}>;
|
|
14731
|
+
from: z.ZodObject<{
|
|
14732
|
+
name: z.ZodString;
|
|
14733
|
+
version: z.ZodNumber;
|
|
14734
|
+
}, z.core.$strict>;
|
|
14735
|
+
to: z.ZodObject<{
|
|
14736
|
+
name: z.ZodString;
|
|
14737
|
+
version: z.ZodNumber;
|
|
14738
|
+
}, z.core.$strict>;
|
|
14739
|
+
message: z.ZodString;
|
|
13630
14740
|
}, z.core.$loose>;
|
|
13631
14741
|
}, z.core.$strip> | z.ZodObject<{
|
|
13632
14742
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -15311,6 +16421,7 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
15311
16421
|
version: z.ZodOptional<z.ZodNumber>;
|
|
15312
16422
|
}, z.core.$strict>], "type">>>;
|
|
15313
16423
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
16424
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15314
16425
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
15315
16426
|
queue: "queue";
|
|
15316
16427
|
reject: "reject";
|
|
@@ -15784,6 +16895,78 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
15784
16895
|
full: "full";
|
|
15785
16896
|
metadata: "metadata";
|
|
15786
16897
|
}>;
|
|
16898
|
+
} & {
|
|
16899
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
16900
|
+
payload: z.ZodObject<{
|
|
16901
|
+
code: z.ZodString;
|
|
16902
|
+
message: z.ZodString;
|
|
16903
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
16904
|
+
}, z.core.$loose>;
|
|
16905
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
16906
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
16907
|
+
eventId: z.ZodString;
|
|
16908
|
+
tenantId: z.ZodString;
|
|
16909
|
+
sessionId: z.ZodString;
|
|
16910
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
16911
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
16912
|
+
incarnation: z.ZodNumber;
|
|
16913
|
+
epoch: z.ZodNumber;
|
|
16914
|
+
seq: z.ZodNumber;
|
|
16915
|
+
cursor: z.ZodString;
|
|
16916
|
+
time: z.ZodString;
|
|
16917
|
+
schemaVersion: z.ZodNumber;
|
|
16918
|
+
source: z.ZodObject<{
|
|
16919
|
+
kind: z.ZodEnum<{
|
|
16920
|
+
api: "api";
|
|
16921
|
+
client: "client";
|
|
16922
|
+
controller: "controller";
|
|
16923
|
+
core: "core";
|
|
16924
|
+
edge: "edge";
|
|
16925
|
+
"egress-gate": "egress-gate";
|
|
16926
|
+
evidence: "evidence";
|
|
16927
|
+
harness: "harness";
|
|
16928
|
+
human: "human";
|
|
16929
|
+
init: "init";
|
|
16930
|
+
loop: "loop";
|
|
16931
|
+
"model-gate": "model-gate";
|
|
16932
|
+
operator: "operator";
|
|
16933
|
+
sandboxes: "sandboxes";
|
|
16934
|
+
supervisor: "supervisor";
|
|
16935
|
+
"tool-gate": "tool-gate";
|
|
16936
|
+
}>;
|
|
16937
|
+
id: z.ZodString;
|
|
16938
|
+
}, z.core.$strip>;
|
|
16939
|
+
evidence: z.ZodEnum<{
|
|
16940
|
+
asserted: "asserted";
|
|
16941
|
+
attested: "attested";
|
|
16942
|
+
claimed: "claimed";
|
|
16943
|
+
measured: "measured";
|
|
16944
|
+
observed: "observed";
|
|
16945
|
+
}>;
|
|
16946
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
16947
|
+
kind: z.ZodEnum<{
|
|
16948
|
+
application: "application";
|
|
16949
|
+
core: "core";
|
|
16950
|
+
"flow-host": "flow-host";
|
|
16951
|
+
subject: "subject";
|
|
16952
|
+
trigger: "trigger";
|
|
16953
|
+
}>;
|
|
16954
|
+
id: z.ZodString;
|
|
16955
|
+
}, z.core.$strict>>;
|
|
16956
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
16957
|
+
traceId: z.ZodString;
|
|
16958
|
+
spanId: z.ZodString;
|
|
16959
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
16960
|
+
}, z.core.$strip>>;
|
|
16961
|
+
visibility: z.ZodEnum<{
|
|
16962
|
+
internal: "internal";
|
|
16963
|
+
public: "public";
|
|
16964
|
+
restricted: "restricted";
|
|
16965
|
+
}>;
|
|
16966
|
+
retention: z.ZodEnum<{
|
|
16967
|
+
full: "full";
|
|
16968
|
+
metadata: "metadata";
|
|
16969
|
+
}>;
|
|
15787
16970
|
} & {
|
|
15788
16971
|
type: z.ZodLiteral<"environment.exec">;
|
|
15789
16972
|
payload: z.ZodObject<{
|
|
@@ -16109,6 +17292,7 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
16109
17292
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16110
17293
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16111
17294
|
}, z.core.$loose>>;
|
|
17295
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
16112
17296
|
}, z.core.$loose>;
|
|
16113
17297
|
}, z.core.$strip> | z.ZodObject<{
|
|
16114
17298
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -16902,6 +18086,117 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
16902
18086
|
full: "full";
|
|
16903
18087
|
metadata: "metadata";
|
|
16904
18088
|
}>;
|
|
18089
|
+
} & {
|
|
18090
|
+
type: z.ZodLiteral<"session.model">;
|
|
18091
|
+
payload: z.ZodObject<{
|
|
18092
|
+
provider: z.ZodString;
|
|
18093
|
+
model: z.ZodString;
|
|
18094
|
+
source: z.ZodEnum<{
|
|
18095
|
+
manifest: "manifest";
|
|
18096
|
+
session: "session";
|
|
18097
|
+
tenant: "tenant";
|
|
18098
|
+
}>;
|
|
18099
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
18100
|
+
invalid_model: "invalid_model";
|
|
18101
|
+
not_in_catalog: "not_in_catalog";
|
|
18102
|
+
provider_not_connected: "provider_not_connected";
|
|
18103
|
+
}>>;
|
|
18104
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
18105
|
+
provider: z.ZodString;
|
|
18106
|
+
model: z.ZodString;
|
|
18107
|
+
by: z.ZodEnum<{
|
|
18108
|
+
manifest: "manifest";
|
|
18109
|
+
session: "session";
|
|
18110
|
+
}>;
|
|
18111
|
+
}, z.core.$strict>>;
|
|
18112
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
18113
|
+
provider: z.ZodString;
|
|
18114
|
+
model: z.ZodString;
|
|
18115
|
+
source: z.ZodEnum<{
|
|
18116
|
+
manifest: "manifest";
|
|
18117
|
+
session: "session";
|
|
18118
|
+
tenant: "tenant";
|
|
18119
|
+
}>;
|
|
18120
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
18121
|
+
invalid_model: "invalid_model";
|
|
18122
|
+
not_in_catalog: "not_in_catalog";
|
|
18123
|
+
provider_not_connected: "provider_not_connected";
|
|
18124
|
+
}>>;
|
|
18125
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
18126
|
+
provider: z.ZodString;
|
|
18127
|
+
model: z.ZodString;
|
|
18128
|
+
by: z.ZodEnum<{
|
|
18129
|
+
manifest: "manifest";
|
|
18130
|
+
session: "session";
|
|
18131
|
+
}>;
|
|
18132
|
+
}, z.core.$strict>>;
|
|
18133
|
+
}, z.core.$strict>>;
|
|
18134
|
+
}, z.core.$loose>;
|
|
18135
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
18136
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
18137
|
+
eventId: z.ZodString;
|
|
18138
|
+
tenantId: z.ZodString;
|
|
18139
|
+
sessionId: z.ZodString;
|
|
18140
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
18141
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
18142
|
+
incarnation: z.ZodNumber;
|
|
18143
|
+
epoch: z.ZodNumber;
|
|
18144
|
+
seq: z.ZodNumber;
|
|
18145
|
+
cursor: z.ZodString;
|
|
18146
|
+
time: z.ZodString;
|
|
18147
|
+
schemaVersion: z.ZodNumber;
|
|
18148
|
+
source: z.ZodObject<{
|
|
18149
|
+
kind: z.ZodEnum<{
|
|
18150
|
+
api: "api";
|
|
18151
|
+
client: "client";
|
|
18152
|
+
controller: "controller";
|
|
18153
|
+
core: "core";
|
|
18154
|
+
edge: "edge";
|
|
18155
|
+
"egress-gate": "egress-gate";
|
|
18156
|
+
evidence: "evidence";
|
|
18157
|
+
harness: "harness";
|
|
18158
|
+
human: "human";
|
|
18159
|
+
init: "init";
|
|
18160
|
+
loop: "loop";
|
|
18161
|
+
"model-gate": "model-gate";
|
|
18162
|
+
operator: "operator";
|
|
18163
|
+
sandboxes: "sandboxes";
|
|
18164
|
+
supervisor: "supervisor";
|
|
18165
|
+
"tool-gate": "tool-gate";
|
|
18166
|
+
}>;
|
|
18167
|
+
id: z.ZodString;
|
|
18168
|
+
}, z.core.$strip>;
|
|
18169
|
+
evidence: z.ZodEnum<{
|
|
18170
|
+
asserted: "asserted";
|
|
18171
|
+
attested: "attested";
|
|
18172
|
+
claimed: "claimed";
|
|
18173
|
+
measured: "measured";
|
|
18174
|
+
observed: "observed";
|
|
18175
|
+
}>;
|
|
18176
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
18177
|
+
kind: z.ZodEnum<{
|
|
18178
|
+
application: "application";
|
|
18179
|
+
core: "core";
|
|
18180
|
+
"flow-host": "flow-host";
|
|
18181
|
+
subject: "subject";
|
|
18182
|
+
trigger: "trigger";
|
|
18183
|
+
}>;
|
|
18184
|
+
id: z.ZodString;
|
|
18185
|
+
}, z.core.$strict>>;
|
|
18186
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
18187
|
+
traceId: z.ZodString;
|
|
18188
|
+
spanId: z.ZodString;
|
|
18189
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
18190
|
+
}, z.core.$strip>>;
|
|
18191
|
+
visibility: z.ZodEnum<{
|
|
18192
|
+
internal: "internal";
|
|
18193
|
+
public: "public";
|
|
18194
|
+
restricted: "restricted";
|
|
18195
|
+
}>;
|
|
18196
|
+
retention: z.ZodEnum<{
|
|
18197
|
+
full: "full";
|
|
18198
|
+
metadata: "metadata";
|
|
18199
|
+
}>;
|
|
16905
18200
|
} & {
|
|
16906
18201
|
type: z.ZodLiteral<"tool.completed">;
|
|
16907
18202
|
payload: z.ZodObject<{
|
|
@@ -17277,7 +18572,85 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
17277
18572
|
code: z.ZodOptional<z.ZodString>;
|
|
17278
18573
|
message: z.ZodOptional<z.ZodString>;
|
|
17279
18574
|
}, z.core.$loose>>;
|
|
17280
|
-
message: z.ZodOptional<z.ZodString>;
|
|
18575
|
+
message: z.ZodOptional<z.ZodString>;
|
|
18576
|
+
}, z.core.$loose>;
|
|
18577
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
18578
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
18579
|
+
eventId: z.ZodString;
|
|
18580
|
+
tenantId: z.ZodString;
|
|
18581
|
+
sessionId: z.ZodString;
|
|
18582
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
18583
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
18584
|
+
incarnation: z.ZodNumber;
|
|
18585
|
+
epoch: z.ZodNumber;
|
|
18586
|
+
seq: z.ZodNumber;
|
|
18587
|
+
cursor: z.ZodString;
|
|
18588
|
+
time: z.ZodString;
|
|
18589
|
+
schemaVersion: z.ZodNumber;
|
|
18590
|
+
source: z.ZodObject<{
|
|
18591
|
+
kind: z.ZodEnum<{
|
|
18592
|
+
api: "api";
|
|
18593
|
+
client: "client";
|
|
18594
|
+
controller: "controller";
|
|
18595
|
+
core: "core";
|
|
18596
|
+
edge: "edge";
|
|
18597
|
+
"egress-gate": "egress-gate";
|
|
18598
|
+
evidence: "evidence";
|
|
18599
|
+
harness: "harness";
|
|
18600
|
+
human: "human";
|
|
18601
|
+
init: "init";
|
|
18602
|
+
loop: "loop";
|
|
18603
|
+
"model-gate": "model-gate";
|
|
18604
|
+
operator: "operator";
|
|
18605
|
+
sandboxes: "sandboxes";
|
|
18606
|
+
supervisor: "supervisor";
|
|
18607
|
+
"tool-gate": "tool-gate";
|
|
18608
|
+
}>;
|
|
18609
|
+
id: z.ZodString;
|
|
18610
|
+
}, z.core.$strip>;
|
|
18611
|
+
evidence: z.ZodEnum<{
|
|
18612
|
+
asserted: "asserted";
|
|
18613
|
+
attested: "attested";
|
|
18614
|
+
claimed: "claimed";
|
|
18615
|
+
measured: "measured";
|
|
18616
|
+
observed: "observed";
|
|
18617
|
+
}>;
|
|
18618
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
18619
|
+
kind: z.ZodEnum<{
|
|
18620
|
+
application: "application";
|
|
18621
|
+
core: "core";
|
|
18622
|
+
"flow-host": "flow-host";
|
|
18623
|
+
subject: "subject";
|
|
18624
|
+
trigger: "trigger";
|
|
18625
|
+
}>;
|
|
18626
|
+
id: z.ZodString;
|
|
18627
|
+
}, z.core.$strict>>;
|
|
18628
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
18629
|
+
traceId: z.ZodString;
|
|
18630
|
+
spanId: z.ZodString;
|
|
18631
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
18632
|
+
}, z.core.$strip>>;
|
|
18633
|
+
visibility: z.ZodEnum<{
|
|
18634
|
+
internal: "internal";
|
|
18635
|
+
public: "public";
|
|
18636
|
+
restricted: "restricted";
|
|
18637
|
+
}>;
|
|
18638
|
+
retention: z.ZodEnum<{
|
|
18639
|
+
full: "full";
|
|
18640
|
+
metadata: "metadata";
|
|
18641
|
+
}>;
|
|
18642
|
+
} & {
|
|
18643
|
+
type: z.ZodLiteral<"turn.paused">;
|
|
18644
|
+
payload: z.ZodObject<{
|
|
18645
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
18646
|
+
invocationId: z.ZodString;
|
|
18647
|
+
callId: z.ZodOptional<z.ZodString>;
|
|
18648
|
+
interaction: z.ZodObject<{
|
|
18649
|
+
id: z.ZodString;
|
|
18650
|
+
kind: z.ZodString;
|
|
18651
|
+
}, z.core.$loose>;
|
|
18652
|
+
status: z.ZodOptional<z.ZodString>;
|
|
18653
|
+
}, z.core.$loose>>;
|
|
17281
18654
|
}, z.core.$loose>;
|
|
17282
18655
|
}, z.core.$strip> | z.ZodObject<{
|
|
17283
18656
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -17345,17 +18718,20 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
17345
18718
|
metadata: "metadata";
|
|
17346
18719
|
}>;
|
|
17347
18720
|
} & {
|
|
17348
|
-
type: z.ZodLiteral<"turn.
|
|
18721
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
17349
18722
|
payload: z.ZodObject<{
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
18723
|
+
reason: z.ZodEnum<{
|
|
18724
|
+
variant_invalid: "variant_invalid";
|
|
18725
|
+
}>;
|
|
18726
|
+
from: z.ZodObject<{
|
|
18727
|
+
name: z.ZodString;
|
|
18728
|
+
version: z.ZodNumber;
|
|
18729
|
+
}, z.core.$strict>;
|
|
18730
|
+
to: z.ZodObject<{
|
|
18731
|
+
name: z.ZodString;
|
|
18732
|
+
version: z.ZodNumber;
|
|
18733
|
+
}, z.core.$strict>;
|
|
18734
|
+
message: z.ZodString;
|
|
17359
18735
|
}, z.core.$loose>;
|
|
17360
18736
|
}, z.core.$strip> | z.ZodObject<{
|
|
17361
18737
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -18124,6 +19500,7 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
18124
19500
|
version: z.ZodOptional<z.ZodNumber>;
|
|
18125
19501
|
}, z.core.$strict>], "type">>>;
|
|
18126
19502
|
manifest: z.ZodOptional<z.ZodUnknown>;
|
|
19503
|
+
removeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18127
19504
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
18128
19505
|
queue: "queue";
|
|
18129
19506
|
reject: "reject";
|
|
@@ -18597,6 +19974,78 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
18597
19974
|
full: "full";
|
|
18598
19975
|
metadata: "metadata";
|
|
18599
19976
|
}>;
|
|
19977
|
+
} & {
|
|
19978
|
+
type: z.ZodLiteral<"engine.diagnostic">;
|
|
19979
|
+
payload: z.ZodObject<{
|
|
19980
|
+
code: z.ZodString;
|
|
19981
|
+
message: z.ZodString;
|
|
19982
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
19983
|
+
}, z.core.$loose>;
|
|
19984
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
19985
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
19986
|
+
eventId: z.ZodString;
|
|
19987
|
+
tenantId: z.ZodString;
|
|
19988
|
+
sessionId: z.ZodString;
|
|
19989
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
19990
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
19991
|
+
incarnation: z.ZodNumber;
|
|
19992
|
+
epoch: z.ZodNumber;
|
|
19993
|
+
seq: z.ZodNumber;
|
|
19994
|
+
cursor: z.ZodString;
|
|
19995
|
+
time: z.ZodString;
|
|
19996
|
+
schemaVersion: z.ZodNumber;
|
|
19997
|
+
source: z.ZodObject<{
|
|
19998
|
+
kind: z.ZodEnum<{
|
|
19999
|
+
api: "api";
|
|
20000
|
+
client: "client";
|
|
20001
|
+
controller: "controller";
|
|
20002
|
+
core: "core";
|
|
20003
|
+
edge: "edge";
|
|
20004
|
+
"egress-gate": "egress-gate";
|
|
20005
|
+
evidence: "evidence";
|
|
20006
|
+
harness: "harness";
|
|
20007
|
+
human: "human";
|
|
20008
|
+
init: "init";
|
|
20009
|
+
loop: "loop";
|
|
20010
|
+
"model-gate": "model-gate";
|
|
20011
|
+
operator: "operator";
|
|
20012
|
+
sandboxes: "sandboxes";
|
|
20013
|
+
supervisor: "supervisor";
|
|
20014
|
+
"tool-gate": "tool-gate";
|
|
20015
|
+
}>;
|
|
20016
|
+
id: z.ZodString;
|
|
20017
|
+
}, z.core.$strip>;
|
|
20018
|
+
evidence: z.ZodEnum<{
|
|
20019
|
+
asserted: "asserted";
|
|
20020
|
+
attested: "attested";
|
|
20021
|
+
claimed: "claimed";
|
|
20022
|
+
measured: "measured";
|
|
20023
|
+
observed: "observed";
|
|
20024
|
+
}>;
|
|
20025
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
20026
|
+
kind: z.ZodEnum<{
|
|
20027
|
+
application: "application";
|
|
20028
|
+
core: "core";
|
|
20029
|
+
"flow-host": "flow-host";
|
|
20030
|
+
subject: "subject";
|
|
20031
|
+
trigger: "trigger";
|
|
20032
|
+
}>;
|
|
20033
|
+
id: z.ZodString;
|
|
20034
|
+
}, z.core.$strict>>;
|
|
20035
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
20036
|
+
traceId: z.ZodString;
|
|
20037
|
+
spanId: z.ZodString;
|
|
20038
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
20039
|
+
}, z.core.$strip>>;
|
|
20040
|
+
visibility: z.ZodEnum<{
|
|
20041
|
+
internal: "internal";
|
|
20042
|
+
public: "public";
|
|
20043
|
+
restricted: "restricted";
|
|
20044
|
+
}>;
|
|
20045
|
+
retention: z.ZodEnum<{
|
|
20046
|
+
full: "full";
|
|
20047
|
+
metadata: "metadata";
|
|
20048
|
+
}>;
|
|
18600
20049
|
} & {
|
|
18601
20050
|
type: z.ZodLiteral<"environment.exec">;
|
|
18602
20051
|
payload: z.ZodObject<{
|
|
@@ -18922,6 +20371,7 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
18922
20371
|
unknownTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18923
20372
|
credentialIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18924
20373
|
}, z.core.$loose>>;
|
|
20374
|
+
rejoined: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18925
20375
|
}, z.core.$loose>;
|
|
18926
20376
|
}, z.core.$strip> | z.ZodObject<{
|
|
18927
20377
|
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
@@ -19715,6 +21165,117 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
19715
21165
|
full: "full";
|
|
19716
21166
|
metadata: "metadata";
|
|
19717
21167
|
}>;
|
|
21168
|
+
} & {
|
|
21169
|
+
type: z.ZodLiteral<"session.model">;
|
|
21170
|
+
payload: z.ZodObject<{
|
|
21171
|
+
provider: z.ZodString;
|
|
21172
|
+
model: z.ZodString;
|
|
21173
|
+
source: z.ZodEnum<{
|
|
21174
|
+
manifest: "manifest";
|
|
21175
|
+
session: "session";
|
|
21176
|
+
tenant: "tenant";
|
|
21177
|
+
}>;
|
|
21178
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
21179
|
+
invalid_model: "invalid_model";
|
|
21180
|
+
not_in_catalog: "not_in_catalog";
|
|
21181
|
+
provider_not_connected: "provider_not_connected";
|
|
21182
|
+
}>>;
|
|
21183
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
21184
|
+
provider: z.ZodString;
|
|
21185
|
+
model: z.ZodString;
|
|
21186
|
+
by: z.ZodEnum<{
|
|
21187
|
+
manifest: "manifest";
|
|
21188
|
+
session: "session";
|
|
21189
|
+
}>;
|
|
21190
|
+
}, z.core.$strict>>;
|
|
21191
|
+
previous: z.ZodOptional<z.ZodObject<{
|
|
21192
|
+
provider: z.ZodString;
|
|
21193
|
+
model: z.ZodString;
|
|
21194
|
+
source: z.ZodEnum<{
|
|
21195
|
+
manifest: "manifest";
|
|
21196
|
+
session: "session";
|
|
21197
|
+
tenant: "tenant";
|
|
21198
|
+
}>;
|
|
21199
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
21200
|
+
invalid_model: "invalid_model";
|
|
21201
|
+
not_in_catalog: "not_in_catalog";
|
|
21202
|
+
provider_not_connected: "provider_not_connected";
|
|
21203
|
+
}>>;
|
|
21204
|
+
requested: z.ZodOptional<z.ZodObject<{
|
|
21205
|
+
provider: z.ZodString;
|
|
21206
|
+
model: z.ZodString;
|
|
21207
|
+
by: z.ZodEnum<{
|
|
21208
|
+
manifest: "manifest";
|
|
21209
|
+
session: "session";
|
|
21210
|
+
}>;
|
|
21211
|
+
}, z.core.$strict>>;
|
|
21212
|
+
}, z.core.$strict>>;
|
|
21213
|
+
}, z.core.$loose>;
|
|
21214
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
21215
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
21216
|
+
eventId: z.ZodString;
|
|
21217
|
+
tenantId: z.ZodString;
|
|
21218
|
+
sessionId: z.ZodString;
|
|
21219
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
21220
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
21221
|
+
incarnation: z.ZodNumber;
|
|
21222
|
+
epoch: z.ZodNumber;
|
|
21223
|
+
seq: z.ZodNumber;
|
|
21224
|
+
cursor: z.ZodString;
|
|
21225
|
+
time: z.ZodString;
|
|
21226
|
+
schemaVersion: z.ZodNumber;
|
|
21227
|
+
source: z.ZodObject<{
|
|
21228
|
+
kind: z.ZodEnum<{
|
|
21229
|
+
api: "api";
|
|
21230
|
+
client: "client";
|
|
21231
|
+
controller: "controller";
|
|
21232
|
+
core: "core";
|
|
21233
|
+
edge: "edge";
|
|
21234
|
+
"egress-gate": "egress-gate";
|
|
21235
|
+
evidence: "evidence";
|
|
21236
|
+
harness: "harness";
|
|
21237
|
+
human: "human";
|
|
21238
|
+
init: "init";
|
|
21239
|
+
loop: "loop";
|
|
21240
|
+
"model-gate": "model-gate";
|
|
21241
|
+
operator: "operator";
|
|
21242
|
+
sandboxes: "sandboxes";
|
|
21243
|
+
supervisor: "supervisor";
|
|
21244
|
+
"tool-gate": "tool-gate";
|
|
21245
|
+
}>;
|
|
21246
|
+
id: z.ZodString;
|
|
21247
|
+
}, z.core.$strip>;
|
|
21248
|
+
evidence: z.ZodEnum<{
|
|
21249
|
+
asserted: "asserted";
|
|
21250
|
+
attested: "attested";
|
|
21251
|
+
claimed: "claimed";
|
|
21252
|
+
measured: "measured";
|
|
21253
|
+
observed: "observed";
|
|
21254
|
+
}>;
|
|
21255
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
21256
|
+
kind: z.ZodEnum<{
|
|
21257
|
+
application: "application";
|
|
21258
|
+
core: "core";
|
|
21259
|
+
"flow-host": "flow-host";
|
|
21260
|
+
subject: "subject";
|
|
21261
|
+
trigger: "trigger";
|
|
21262
|
+
}>;
|
|
21263
|
+
id: z.ZodString;
|
|
21264
|
+
}, z.core.$strict>>;
|
|
21265
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
21266
|
+
traceId: z.ZodString;
|
|
21267
|
+
spanId: z.ZodString;
|
|
21268
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
21269
|
+
}, z.core.$strip>>;
|
|
21270
|
+
visibility: z.ZodEnum<{
|
|
21271
|
+
internal: "internal";
|
|
21272
|
+
public: "public";
|
|
21273
|
+
restricted: "restricted";
|
|
21274
|
+
}>;
|
|
21275
|
+
retention: z.ZodEnum<{
|
|
21276
|
+
full: "full";
|
|
21277
|
+
metadata: "metadata";
|
|
21278
|
+
}>;
|
|
19718
21279
|
} & {
|
|
19719
21280
|
type: z.ZodLiteral<"tool.completed">;
|
|
19720
21281
|
payload: z.ZodObject<{
|
|
@@ -20235,6 +21796,87 @@ export declare const HistoryPage: z.ZodObject<{
|
|
|
20235
21796
|
full: "full";
|
|
20236
21797
|
metadata: "metadata";
|
|
20237
21798
|
}>;
|
|
21799
|
+
} & {
|
|
21800
|
+
type: z.ZodLiteral<"turn.version_kept">;
|
|
21801
|
+
payload: z.ZodObject<{
|
|
21802
|
+
reason: z.ZodEnum<{
|
|
21803
|
+
variant_invalid: "variant_invalid";
|
|
21804
|
+
}>;
|
|
21805
|
+
from: z.ZodObject<{
|
|
21806
|
+
name: z.ZodString;
|
|
21807
|
+
version: z.ZodNumber;
|
|
21808
|
+
}, z.core.$strict>;
|
|
21809
|
+
to: z.ZodObject<{
|
|
21810
|
+
name: z.ZodString;
|
|
21811
|
+
version: z.ZodNumber;
|
|
21812
|
+
}, z.core.$strict>;
|
|
21813
|
+
message: z.ZodString;
|
|
21814
|
+
}, z.core.$loose>;
|
|
21815
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
21816
|
+
schema: z.ZodLiteral<"nylorun.event/2">;
|
|
21817
|
+
eventId: z.ZodString;
|
|
21818
|
+
tenantId: z.ZodString;
|
|
21819
|
+
sessionId: z.ZodString;
|
|
21820
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
21821
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
21822
|
+
incarnation: z.ZodNumber;
|
|
21823
|
+
epoch: z.ZodNumber;
|
|
21824
|
+
seq: z.ZodNumber;
|
|
21825
|
+
cursor: z.ZodString;
|
|
21826
|
+
time: z.ZodString;
|
|
21827
|
+
schemaVersion: z.ZodNumber;
|
|
21828
|
+
source: z.ZodObject<{
|
|
21829
|
+
kind: z.ZodEnum<{
|
|
21830
|
+
api: "api";
|
|
21831
|
+
client: "client";
|
|
21832
|
+
controller: "controller";
|
|
21833
|
+
core: "core";
|
|
21834
|
+
edge: "edge";
|
|
21835
|
+
"egress-gate": "egress-gate";
|
|
21836
|
+
evidence: "evidence";
|
|
21837
|
+
harness: "harness";
|
|
21838
|
+
human: "human";
|
|
21839
|
+
init: "init";
|
|
21840
|
+
loop: "loop";
|
|
21841
|
+
"model-gate": "model-gate";
|
|
21842
|
+
operator: "operator";
|
|
21843
|
+
sandboxes: "sandboxes";
|
|
21844
|
+
supervisor: "supervisor";
|
|
21845
|
+
"tool-gate": "tool-gate";
|
|
21846
|
+
}>;
|
|
21847
|
+
id: z.ZodString;
|
|
21848
|
+
}, z.core.$strip>;
|
|
21849
|
+
evidence: z.ZodEnum<{
|
|
21850
|
+
asserted: "asserted";
|
|
21851
|
+
attested: "attested";
|
|
21852
|
+
claimed: "claimed";
|
|
21853
|
+
measured: "measured";
|
|
21854
|
+
observed: "observed";
|
|
21855
|
+
}>;
|
|
21856
|
+
principal: z.ZodOptional<z.ZodObject<{
|
|
21857
|
+
kind: z.ZodEnum<{
|
|
21858
|
+
application: "application";
|
|
21859
|
+
core: "core";
|
|
21860
|
+
"flow-host": "flow-host";
|
|
21861
|
+
subject: "subject";
|
|
21862
|
+
trigger: "trigger";
|
|
21863
|
+
}>;
|
|
21864
|
+
id: z.ZodString;
|
|
21865
|
+
}, z.core.$strict>>;
|
|
21866
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
21867
|
+
traceId: z.ZodString;
|
|
21868
|
+
spanId: z.ZodString;
|
|
21869
|
+
parentSpanId: z.ZodOptional<z.ZodString>;
|
|
21870
|
+
}, z.core.$strip>>;
|
|
21871
|
+
visibility: z.ZodEnum<{
|
|
21872
|
+
internal: "internal";
|
|
21873
|
+
public: "public";
|
|
21874
|
+
restricted: "restricted";
|
|
21875
|
+
}>;
|
|
21876
|
+
retention: z.ZodEnum<{
|
|
21877
|
+
full: "full";
|
|
21878
|
+
metadata: "metadata";
|
|
21879
|
+
}>;
|
|
20238
21880
|
} & {
|
|
20239
21881
|
type: z.ZodLiteral<"wake.booked">;
|
|
20240
21882
|
payload: z.ZodObject<{
|
|
@@ -20548,6 +22190,7 @@ export declare const AgentPage: z.ZodObject<{
|
|
|
20548
22190
|
description: z.ZodOptional<z.ZodString>;
|
|
20549
22191
|
type: z.ZodLiteral<"bearer">;
|
|
20550
22192
|
url: z.ZodString;
|
|
22193
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
20551
22194
|
}, z.core.$strict>, z.ZodObject<{
|
|
20552
22195
|
via: z.ZodOptional<z.ZodString>;
|
|
20553
22196
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -20557,6 +22200,7 @@ export declare const AgentPage: z.ZodObject<{
|
|
|
20557
22200
|
description: z.ZodOptional<z.ZodString>;
|
|
20558
22201
|
type: z.ZodLiteral<"headers">;
|
|
20559
22202
|
url: z.ZodString;
|
|
22203
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
20560
22204
|
}, z.core.$strict>], "type">>>>;
|
|
20561
22205
|
}, z.core.$strict>;
|
|
20562
22206
|
limits: z.ZodObject<{
|
|
@@ -20734,6 +22378,7 @@ export declare const AgentPage: z.ZodObject<{
|
|
|
20734
22378
|
description: z.ZodOptional<z.ZodString>;
|
|
20735
22379
|
type: z.ZodLiteral<"bearer">;
|
|
20736
22380
|
url: z.ZodString;
|
|
22381
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
20737
22382
|
}, z.core.$strict>, z.ZodObject<{
|
|
20738
22383
|
via: z.ZodOptional<z.ZodString>;
|
|
20739
22384
|
identity: z.ZodOptional<z.ZodObject<{
|
|
@@ -20743,6 +22388,7 @@ export declare const AgentPage: z.ZodObject<{
|
|
|
20743
22388
|
description: z.ZodOptional<z.ZodString>;
|
|
20744
22389
|
type: z.ZodLiteral<"headers">;
|
|
20745
22390
|
url: z.ZodString;
|
|
22391
|
+
toolPrefix: z.ZodOptional<z.ZodString>;
|
|
20746
22392
|
}, z.core.$strict>], "type">>>>;
|
|
20747
22393
|
}, z.core.$strict>;
|
|
20748
22394
|
limits: z.ZodObject<{
|