@sixb/server 0.2.1 → 0.2.3
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/README.md +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2876 -667
- package/dist/index.js.map +43 -36
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +21 -11
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +4 -4
- package/dist/routes/agent-computers.d.ts +146 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +152 -60
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +21 -11
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +13 -9
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +27 -27
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +9 -6
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +16 -16
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +642 -196
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +41 -41
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +86 -64
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +160 -160
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +38 -22
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +71 -71
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +208 -14
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/agents.ts +52 -7
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +71 -1
- package/src/schemas/ai-accounting.ts +1 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
package/dist/schemas/agents.d.ts
CHANGED
|
@@ -319,17 +319,17 @@ export declare const AgentDescriptorSchema: z.ZodObject<{
|
|
|
319
319
|
provider: string;
|
|
320
320
|
}>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
name: string;
|
|
323
322
|
model: {
|
|
324
323
|
modelId: string;
|
|
325
324
|
provider: string;
|
|
326
325
|
};
|
|
327
|
-
}, {
|
|
328
326
|
name: string;
|
|
327
|
+
}, {
|
|
329
328
|
model: {
|
|
330
329
|
modelId: string;
|
|
331
330
|
provider: string;
|
|
332
331
|
};
|
|
332
|
+
name: string;
|
|
333
333
|
}>;
|
|
334
334
|
export declare const AgentThreadStatusSchema: z.ZodEnum<["active", "archived"]>;
|
|
335
335
|
export declare const AgentThreadListQuerySchema: z.ZodObject<{
|
|
@@ -369,6 +369,38 @@ export declare const AgentThreadComputerInputSchema: z.ZodObject<{
|
|
|
369
369
|
name: string;
|
|
370
370
|
folder: string;
|
|
371
371
|
}>;
|
|
372
|
+
/**
|
|
373
|
+
* A background command `sixb` runs for one of your threads on your computer: it outlives the turn
|
|
374
|
+
* that started it, until it exits, the agent or you stop it, or `sixb` closes.
|
|
375
|
+
*/
|
|
376
|
+
export declare const AgentBackgroundCommandSchema: z.ZodObject<{
|
|
377
|
+
threadId: z.ZodString;
|
|
378
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
/** Its first 1,000 characters. */
|
|
381
|
+
command: z.ZodString;
|
|
382
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
383
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
384
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
385
|
+
startedAt: z.ZodString;
|
|
386
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, "strict", z.ZodTypeAny, {
|
|
388
|
+
status: "running" | "exited" | "stopped";
|
|
389
|
+
id: string;
|
|
390
|
+
startedAt: string;
|
|
391
|
+
threadId: string;
|
|
392
|
+
command: string;
|
|
393
|
+
exitCode?: number | undefined;
|
|
394
|
+
endedAt?: string | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
status: "running" | "exited" | "stopped";
|
|
397
|
+
id: string;
|
|
398
|
+
startedAt: string;
|
|
399
|
+
threadId: string;
|
|
400
|
+
command: string;
|
|
401
|
+
exitCode?: number | undefined;
|
|
402
|
+
endedAt?: string | undefined;
|
|
403
|
+
}>;
|
|
372
404
|
export declare const CreateAgentThreadBodySchema: z.ZodObject<{
|
|
373
405
|
title: z.ZodOptional<z.ZodString>;
|
|
374
406
|
threadId: z.ZodOptional<z.ZodString>;
|
|
@@ -609,6 +641,43 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
609
641
|
folder: string;
|
|
610
642
|
online: boolean;
|
|
611
643
|
}>>;
|
|
644
|
+
/**
|
|
645
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
646
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
647
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
648
|
+
*/
|
|
649
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
650
|
+
threadId: z.ZodString;
|
|
651
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
652
|
+
id: z.ZodString;
|
|
653
|
+
/** Its first 1,000 characters. */
|
|
654
|
+
command: z.ZodString;
|
|
655
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
656
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
657
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
startedAt: z.ZodString;
|
|
659
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
660
|
+
} & {
|
|
661
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
}, "strict", z.ZodTypeAny, {
|
|
663
|
+
status: "running" | "exited" | "stopped";
|
|
664
|
+
id: string;
|
|
665
|
+
startedAt: string;
|
|
666
|
+
threadId: string;
|
|
667
|
+
command: string;
|
|
668
|
+
exitCode?: number | undefined;
|
|
669
|
+
endedAt?: string | undefined;
|
|
670
|
+
stopping?: boolean | undefined;
|
|
671
|
+
}, {
|
|
672
|
+
status: "running" | "exited" | "stopped";
|
|
673
|
+
id: string;
|
|
674
|
+
startedAt: string;
|
|
675
|
+
threadId: string;
|
|
676
|
+
command: string;
|
|
677
|
+
exitCode?: number | undefined;
|
|
678
|
+
endedAt?: string | undefined;
|
|
679
|
+
stopping?: boolean | undefined;
|
|
680
|
+
}>, "many">>;
|
|
612
681
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
613
682
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
614
683
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -675,6 +744,16 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
675
744
|
spawnedBy: string;
|
|
676
745
|
} | undefined;
|
|
677
746
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
747
|
+
backgroundCommands?: {
|
|
748
|
+
status: "running" | "exited" | "stopped";
|
|
749
|
+
id: string;
|
|
750
|
+
startedAt: string;
|
|
751
|
+
threadId: string;
|
|
752
|
+
command: string;
|
|
753
|
+
exitCode?: number | undefined;
|
|
754
|
+
endedAt?: string | undefined;
|
|
755
|
+
stopping?: boolean | undefined;
|
|
756
|
+
}[] | undefined;
|
|
678
757
|
movedAt?: string | undefined;
|
|
679
758
|
lastMessageAt?: string | undefined;
|
|
680
759
|
}, {
|
|
@@ -728,6 +807,16 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
728
807
|
spawnedBy: string;
|
|
729
808
|
} | undefined;
|
|
730
809
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
810
|
+
backgroundCommands?: {
|
|
811
|
+
status: "running" | "exited" | "stopped";
|
|
812
|
+
id: string;
|
|
813
|
+
startedAt: string;
|
|
814
|
+
threadId: string;
|
|
815
|
+
command: string;
|
|
816
|
+
exitCode?: number | undefined;
|
|
817
|
+
endedAt?: string | undefined;
|
|
818
|
+
stopping?: boolean | undefined;
|
|
819
|
+
}[] | undefined;
|
|
731
820
|
movedAt?: string | undefined;
|
|
732
821
|
lastMessageAt?: string | undefined;
|
|
733
822
|
}>;
|
|
@@ -863,6 +952,43 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
863
952
|
folder: string;
|
|
864
953
|
online: boolean;
|
|
865
954
|
}>>;
|
|
955
|
+
/**
|
|
956
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
957
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
958
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
959
|
+
*/
|
|
960
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
961
|
+
threadId: z.ZodString;
|
|
962
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
963
|
+
id: z.ZodString;
|
|
964
|
+
/** Its first 1,000 characters. */
|
|
965
|
+
command: z.ZodString;
|
|
966
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
967
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
968
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
startedAt: z.ZodString;
|
|
970
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
971
|
+
} & {
|
|
972
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
973
|
+
}, "strict", z.ZodTypeAny, {
|
|
974
|
+
status: "running" | "exited" | "stopped";
|
|
975
|
+
id: string;
|
|
976
|
+
startedAt: string;
|
|
977
|
+
threadId: string;
|
|
978
|
+
command: string;
|
|
979
|
+
exitCode?: number | undefined;
|
|
980
|
+
endedAt?: string | undefined;
|
|
981
|
+
stopping?: boolean | undefined;
|
|
982
|
+
}, {
|
|
983
|
+
status: "running" | "exited" | "stopped";
|
|
984
|
+
id: string;
|
|
985
|
+
startedAt: string;
|
|
986
|
+
threadId: string;
|
|
987
|
+
command: string;
|
|
988
|
+
exitCode?: number | undefined;
|
|
989
|
+
endedAt?: string | undefined;
|
|
990
|
+
stopping?: boolean | undefined;
|
|
991
|
+
}>, "many">>;
|
|
866
992
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
867
993
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
868
994
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -929,6 +1055,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
929
1055
|
spawnedBy: string;
|
|
930
1056
|
} | undefined;
|
|
931
1057
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1058
|
+
backgroundCommands?: {
|
|
1059
|
+
status: "running" | "exited" | "stopped";
|
|
1060
|
+
id: string;
|
|
1061
|
+
startedAt: string;
|
|
1062
|
+
threadId: string;
|
|
1063
|
+
command: string;
|
|
1064
|
+
exitCode?: number | undefined;
|
|
1065
|
+
endedAt?: string | undefined;
|
|
1066
|
+
stopping?: boolean | undefined;
|
|
1067
|
+
}[] | undefined;
|
|
932
1068
|
movedAt?: string | undefined;
|
|
933
1069
|
lastMessageAt?: string | undefined;
|
|
934
1070
|
}, {
|
|
@@ -982,6 +1118,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
982
1118
|
spawnedBy: string;
|
|
983
1119
|
} | undefined;
|
|
984
1120
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1121
|
+
backgroundCommands?: {
|
|
1122
|
+
status: "running" | "exited" | "stopped";
|
|
1123
|
+
id: string;
|
|
1124
|
+
startedAt: string;
|
|
1125
|
+
threadId: string;
|
|
1126
|
+
command: string;
|
|
1127
|
+
exitCode?: number | undefined;
|
|
1128
|
+
endedAt?: string | undefined;
|
|
1129
|
+
stopping?: boolean | undefined;
|
|
1130
|
+
}[] | undefined;
|
|
985
1131
|
movedAt?: string | undefined;
|
|
986
1132
|
lastMessageAt?: string | undefined;
|
|
987
1133
|
}>, "many">;
|
|
@@ -1041,6 +1187,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
1041
1187
|
spawnedBy: string;
|
|
1042
1188
|
} | undefined;
|
|
1043
1189
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1190
|
+
backgroundCommands?: {
|
|
1191
|
+
status: "running" | "exited" | "stopped";
|
|
1192
|
+
id: string;
|
|
1193
|
+
startedAt: string;
|
|
1194
|
+
threadId: string;
|
|
1195
|
+
command: string;
|
|
1196
|
+
exitCode?: number | undefined;
|
|
1197
|
+
endedAt?: string | undefined;
|
|
1198
|
+
stopping?: boolean | undefined;
|
|
1199
|
+
}[] | undefined;
|
|
1044
1200
|
movedAt?: string | undefined;
|
|
1045
1201
|
lastMessageAt?: string | undefined;
|
|
1046
1202
|
}[];
|
|
@@ -1098,6 +1254,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
1098
1254
|
spawnedBy: string;
|
|
1099
1255
|
} | undefined;
|
|
1100
1256
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1257
|
+
backgroundCommands?: {
|
|
1258
|
+
status: "running" | "exited" | "stopped";
|
|
1259
|
+
id: string;
|
|
1260
|
+
startedAt: string;
|
|
1261
|
+
threadId: string;
|
|
1262
|
+
command: string;
|
|
1263
|
+
exitCode?: number | undefined;
|
|
1264
|
+
endedAt?: string | undefined;
|
|
1265
|
+
stopping?: boolean | undefined;
|
|
1266
|
+
}[] | undefined;
|
|
1101
1267
|
movedAt?: string | undefined;
|
|
1102
1268
|
lastMessageAt?: string | undefined;
|
|
1103
1269
|
}[];
|
|
@@ -1234,6 +1400,43 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1234
1400
|
folder: string;
|
|
1235
1401
|
online: boolean;
|
|
1236
1402
|
}>>;
|
|
1403
|
+
/**
|
|
1404
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
1405
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
1406
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
1407
|
+
*/
|
|
1408
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1409
|
+
threadId: z.ZodString;
|
|
1410
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1411
|
+
id: z.ZodString;
|
|
1412
|
+
/** Its first 1,000 characters. */
|
|
1413
|
+
command: z.ZodString;
|
|
1414
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1415
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1416
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1417
|
+
startedAt: z.ZodString;
|
|
1418
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
} & {
|
|
1420
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
1421
|
+
}, "strict", z.ZodTypeAny, {
|
|
1422
|
+
status: "running" | "exited" | "stopped";
|
|
1423
|
+
id: string;
|
|
1424
|
+
startedAt: string;
|
|
1425
|
+
threadId: string;
|
|
1426
|
+
command: string;
|
|
1427
|
+
exitCode?: number | undefined;
|
|
1428
|
+
endedAt?: string | undefined;
|
|
1429
|
+
stopping?: boolean | undefined;
|
|
1430
|
+
}, {
|
|
1431
|
+
status: "running" | "exited" | "stopped";
|
|
1432
|
+
id: string;
|
|
1433
|
+
startedAt: string;
|
|
1434
|
+
threadId: string;
|
|
1435
|
+
command: string;
|
|
1436
|
+
exitCode?: number | undefined;
|
|
1437
|
+
endedAt?: string | undefined;
|
|
1438
|
+
stopping?: boolean | undefined;
|
|
1439
|
+
}>, "many">>;
|
|
1237
1440
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
1238
1441
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
1239
1442
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -1300,6 +1503,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1300
1503
|
spawnedBy: string;
|
|
1301
1504
|
} | undefined;
|
|
1302
1505
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1506
|
+
backgroundCommands?: {
|
|
1507
|
+
status: "running" | "exited" | "stopped";
|
|
1508
|
+
id: string;
|
|
1509
|
+
startedAt: string;
|
|
1510
|
+
threadId: string;
|
|
1511
|
+
command: string;
|
|
1512
|
+
exitCode?: number | undefined;
|
|
1513
|
+
endedAt?: string | undefined;
|
|
1514
|
+
stopping?: boolean | undefined;
|
|
1515
|
+
}[] | undefined;
|
|
1303
1516
|
movedAt?: string | undefined;
|
|
1304
1517
|
lastMessageAt?: string | undefined;
|
|
1305
1518
|
}, {
|
|
@@ -1353,6 +1566,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1353
1566
|
spawnedBy: string;
|
|
1354
1567
|
} | undefined;
|
|
1355
1568
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1569
|
+
backgroundCommands?: {
|
|
1570
|
+
status: "running" | "exited" | "stopped";
|
|
1571
|
+
id: string;
|
|
1572
|
+
startedAt: string;
|
|
1573
|
+
threadId: string;
|
|
1574
|
+
command: string;
|
|
1575
|
+
exitCode?: number | undefined;
|
|
1576
|
+
endedAt?: string | undefined;
|
|
1577
|
+
stopping?: boolean | undefined;
|
|
1578
|
+
}[] | undefined;
|
|
1356
1579
|
movedAt?: string | undefined;
|
|
1357
1580
|
lastMessageAt?: string | undefined;
|
|
1358
1581
|
}>;
|
|
@@ -1408,6 +1631,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1408
1631
|
spawnedBy: string;
|
|
1409
1632
|
} | undefined;
|
|
1410
1633
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1634
|
+
backgroundCommands?: {
|
|
1635
|
+
status: "running" | "exited" | "stopped";
|
|
1636
|
+
id: string;
|
|
1637
|
+
startedAt: string;
|
|
1638
|
+
threadId: string;
|
|
1639
|
+
command: string;
|
|
1640
|
+
exitCode?: number | undefined;
|
|
1641
|
+
endedAt?: string | undefined;
|
|
1642
|
+
stopping?: boolean | undefined;
|
|
1643
|
+
}[] | undefined;
|
|
1411
1644
|
movedAt?: string | undefined;
|
|
1412
1645
|
lastMessageAt?: string | undefined;
|
|
1413
1646
|
};
|
|
@@ -1463,6 +1696,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1463
1696
|
spawnedBy: string;
|
|
1464
1697
|
} | undefined;
|
|
1465
1698
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1699
|
+
backgroundCommands?: {
|
|
1700
|
+
status: "running" | "exited" | "stopped";
|
|
1701
|
+
id: string;
|
|
1702
|
+
startedAt: string;
|
|
1703
|
+
threadId: string;
|
|
1704
|
+
command: string;
|
|
1705
|
+
exitCode?: number | undefined;
|
|
1706
|
+
endedAt?: string | undefined;
|
|
1707
|
+
stopping?: boolean | undefined;
|
|
1708
|
+
}[] | undefined;
|
|
1466
1709
|
movedAt?: string | undefined;
|
|
1467
1710
|
lastMessageAt?: string | undefined;
|
|
1468
1711
|
};
|
|
@@ -1521,30 +1764,233 @@ export declare const HoldAgentComputerSessionBodySchema: z.ZodObject<{
|
|
|
1521
1764
|
name: string;
|
|
1522
1765
|
folder: string;
|
|
1523
1766
|
}>;
|
|
1767
|
+
/**
|
|
1768
|
+
* Your threads' background commands this `sixb` runs or ran: the running ones, then the latest
|
|
1769
|
+
* to end. Absent, none.
|
|
1770
|
+
*/
|
|
1771
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1772
|
+
threadId: z.ZodString;
|
|
1773
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1774
|
+
id: z.ZodString;
|
|
1775
|
+
/** Its first 1,000 characters. */
|
|
1776
|
+
command: z.ZodString;
|
|
1777
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1778
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1779
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1780
|
+
startedAt: z.ZodString;
|
|
1781
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
}, "strict", z.ZodTypeAny, {
|
|
1783
|
+
status: "running" | "exited" | "stopped";
|
|
1784
|
+
id: string;
|
|
1785
|
+
startedAt: string;
|
|
1786
|
+
threadId: string;
|
|
1787
|
+
command: string;
|
|
1788
|
+
exitCode?: number | undefined;
|
|
1789
|
+
endedAt?: string | undefined;
|
|
1790
|
+
}, {
|
|
1791
|
+
status: "running" | "exited" | "stopped";
|
|
1792
|
+
id: string;
|
|
1793
|
+
startedAt: string;
|
|
1794
|
+
threadId: string;
|
|
1795
|
+
command: string;
|
|
1796
|
+
exitCode?: number | undefined;
|
|
1797
|
+
endedAt?: string | undefined;
|
|
1798
|
+
}>, "many">>;
|
|
1524
1799
|
}, "strict", z.ZodTypeAny, {
|
|
1525
1800
|
computer: {
|
|
1526
1801
|
id: string;
|
|
1527
1802
|
name: string;
|
|
1528
1803
|
folder: string;
|
|
1529
1804
|
};
|
|
1805
|
+
backgroundCommands?: {
|
|
1806
|
+
status: "running" | "exited" | "stopped";
|
|
1807
|
+
id: string;
|
|
1808
|
+
startedAt: string;
|
|
1809
|
+
threadId: string;
|
|
1810
|
+
command: string;
|
|
1811
|
+
exitCode?: number | undefined;
|
|
1812
|
+
endedAt?: string | undefined;
|
|
1813
|
+
}[] | undefined;
|
|
1530
1814
|
}, {
|
|
1531
1815
|
computer: {
|
|
1532
1816
|
id: string;
|
|
1533
1817
|
name: string;
|
|
1534
1818
|
folder: string;
|
|
1535
1819
|
};
|
|
1820
|
+
backgroundCommands?: {
|
|
1821
|
+
status: "running" | "exited" | "stopped";
|
|
1822
|
+
id: string;
|
|
1823
|
+
startedAt: string;
|
|
1824
|
+
threadId: string;
|
|
1825
|
+
command: string;
|
|
1826
|
+
exitCode?: number | undefined;
|
|
1827
|
+
endedAt?: string | undefined;
|
|
1828
|
+
}[] | undefined;
|
|
1829
|
+
}>;
|
|
1830
|
+
/** A background command by its start, as its id comes again once `sixb` restarts. */
|
|
1831
|
+
export declare const AgentBackgroundCommandRefSchema: z.ZodObject<{
|
|
1832
|
+
threadId: z.ZodString;
|
|
1833
|
+
id: z.ZodString;
|
|
1834
|
+
startedAt: z.ZodString;
|
|
1835
|
+
}, "strip", z.ZodTypeAny, {
|
|
1836
|
+
id: string;
|
|
1837
|
+
startedAt: string;
|
|
1838
|
+
threadId: string;
|
|
1839
|
+
}, {
|
|
1840
|
+
id: string;
|
|
1841
|
+
startedAt: string;
|
|
1842
|
+
threadId: string;
|
|
1536
1843
|
}>;
|
|
1537
1844
|
export declare const HoldAgentComputerSessionResponseSchema: z.ZodObject<{
|
|
1538
1845
|
/** Renew before then, or the session lapses and its threads read as offline. */
|
|
1539
1846
|
expiresAt: z.ZodString;
|
|
1540
1847
|
/** Queued turns of your threads on this computer, in this folder, for it to claim. */
|
|
1541
1848
|
waiting: z.ZodArray<z.ZodString, "many">;
|
|
1849
|
+
/** Running background commands someone asked to stop from elsewhere, for it to stop. */
|
|
1850
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1851
|
+
threadId: z.ZodString;
|
|
1852
|
+
id: z.ZodString;
|
|
1853
|
+
startedAt: z.ZodString;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
id: string;
|
|
1856
|
+
startedAt: string;
|
|
1857
|
+
threadId: string;
|
|
1858
|
+
}, {
|
|
1859
|
+
id: string;
|
|
1860
|
+
startedAt: string;
|
|
1861
|
+
threadId: string;
|
|
1862
|
+
}>, "many">>;
|
|
1542
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1864
|
expiresAt: string;
|
|
1544
1865
|
waiting: string[];
|
|
1866
|
+
stop?: {
|
|
1867
|
+
id: string;
|
|
1868
|
+
startedAt: string;
|
|
1869
|
+
threadId: string;
|
|
1870
|
+
}[] | undefined;
|
|
1545
1871
|
}, {
|
|
1546
1872
|
expiresAt: string;
|
|
1547
1873
|
waiting: string[];
|
|
1874
|
+
stop?: {
|
|
1875
|
+
id: string;
|
|
1876
|
+
startedAt: string;
|
|
1877
|
+
threadId: string;
|
|
1878
|
+
}[] | undefined;
|
|
1879
|
+
}>;
|
|
1880
|
+
export declare const AgentBackgroundCommandParamsSchema: z.ZodObject<{
|
|
1881
|
+
threadId: z.ZodString;
|
|
1882
|
+
commandId: z.ZodString;
|
|
1883
|
+
}, "strip", z.ZodTypeAny, {
|
|
1884
|
+
threadId: string;
|
|
1885
|
+
commandId: string;
|
|
1886
|
+
}, {
|
|
1887
|
+
threadId: string;
|
|
1888
|
+
commandId: string;
|
|
1889
|
+
}>;
|
|
1890
|
+
export declare const StopAgentBackgroundCommandBodySchema: z.ZodObject<{
|
|
1891
|
+
/** When it started, as reported: an id names another command once `sixb` restarts. */
|
|
1892
|
+
startedAt: z.ZodString;
|
|
1893
|
+
}, "strict", z.ZodTypeAny, {
|
|
1894
|
+
startedAt: string;
|
|
1895
|
+
}, {
|
|
1896
|
+
startedAt: string;
|
|
1897
|
+
}>;
|
|
1898
|
+
export declare const StopAgentBackgroundCommandResponseSchema: z.ZodObject<{
|
|
1899
|
+
command: z.ZodObject<{
|
|
1900
|
+
threadId: z.ZodString;
|
|
1901
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1902
|
+
id: z.ZodString;
|
|
1903
|
+
/** Its first 1,000 characters. */
|
|
1904
|
+
command: z.ZodString;
|
|
1905
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1906
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1907
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1908
|
+
startedAt: z.ZodString;
|
|
1909
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
} & {
|
|
1911
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
1912
|
+
}, "strict", z.ZodTypeAny, {
|
|
1913
|
+
status: "running" | "exited" | "stopped";
|
|
1914
|
+
id: string;
|
|
1915
|
+
startedAt: string;
|
|
1916
|
+
threadId: string;
|
|
1917
|
+
command: string;
|
|
1918
|
+
exitCode?: number | undefined;
|
|
1919
|
+
endedAt?: string | undefined;
|
|
1920
|
+
stopping?: boolean | undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
status: "running" | "exited" | "stopped";
|
|
1923
|
+
id: string;
|
|
1924
|
+
startedAt: string;
|
|
1925
|
+
threadId: string;
|
|
1926
|
+
command: string;
|
|
1927
|
+
exitCode?: number | undefined;
|
|
1928
|
+
endedAt?: string | undefined;
|
|
1929
|
+
stopping?: boolean | undefined;
|
|
1930
|
+
}>;
|
|
1931
|
+
}, "strip", z.ZodTypeAny, {
|
|
1932
|
+
command: {
|
|
1933
|
+
status: "running" | "exited" | "stopped";
|
|
1934
|
+
id: string;
|
|
1935
|
+
startedAt: string;
|
|
1936
|
+
threadId: string;
|
|
1937
|
+
command: string;
|
|
1938
|
+
exitCode?: number | undefined;
|
|
1939
|
+
endedAt?: string | undefined;
|
|
1940
|
+
stopping?: boolean | undefined;
|
|
1941
|
+
};
|
|
1942
|
+
}, {
|
|
1943
|
+
command: {
|
|
1944
|
+
status: "running" | "exited" | "stopped";
|
|
1945
|
+
id: string;
|
|
1946
|
+
startedAt: string;
|
|
1947
|
+
threadId: string;
|
|
1948
|
+
command: string;
|
|
1949
|
+
exitCode?: number | undefined;
|
|
1950
|
+
endedAt?: string | undefined;
|
|
1951
|
+
stopping?: boolean | undefined;
|
|
1952
|
+
};
|
|
1953
|
+
}>;
|
|
1954
|
+
/** One of your computers with `sixb` open on it now, and the folders it's open in. */
|
|
1955
|
+
export declare const AgentComputerSchema: z.ZodObject<{
|
|
1956
|
+
id: z.ZodString;
|
|
1957
|
+
name: z.ZodString;
|
|
1958
|
+
folders: z.ZodArray<z.ZodString, "many">;
|
|
1959
|
+
}, "strip", z.ZodTypeAny, {
|
|
1960
|
+
id: string;
|
|
1961
|
+
name: string;
|
|
1962
|
+
folders: string[];
|
|
1963
|
+
}, {
|
|
1964
|
+
id: string;
|
|
1965
|
+
name: string;
|
|
1966
|
+
folders: string[];
|
|
1967
|
+
}>;
|
|
1968
|
+
export declare const AgentComputerListResponseSchema: z.ZodObject<{
|
|
1969
|
+
computers: z.ZodArray<z.ZodObject<{
|
|
1970
|
+
id: z.ZodString;
|
|
1971
|
+
name: z.ZodString;
|
|
1972
|
+
folders: z.ZodArray<z.ZodString, "many">;
|
|
1973
|
+
}, "strip", z.ZodTypeAny, {
|
|
1974
|
+
id: string;
|
|
1975
|
+
name: string;
|
|
1976
|
+
folders: string[];
|
|
1977
|
+
}, {
|
|
1978
|
+
id: string;
|
|
1979
|
+
name: string;
|
|
1980
|
+
folders: string[];
|
|
1981
|
+
}>, "many">;
|
|
1982
|
+
}, "strip", z.ZodTypeAny, {
|
|
1983
|
+
computers: {
|
|
1984
|
+
id: string;
|
|
1985
|
+
name: string;
|
|
1986
|
+
folders: string[];
|
|
1987
|
+
}[];
|
|
1988
|
+
}, {
|
|
1989
|
+
computers: {
|
|
1990
|
+
id: string;
|
|
1991
|
+
name: string;
|
|
1992
|
+
folders: string[];
|
|
1993
|
+
}[];
|
|
1548
1994
|
}>;
|
|
1549
1995
|
export declare const AddAgentThreadParticipantsBodySchema: z.ZodObject<{
|
|
1550
1996
|
/**
|
|
@@ -1728,7 +2174,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1728
2174
|
}>, z.ZodObject<{
|
|
1729
2175
|
kind: z.ZodLiteral<"error">;
|
|
1730
2176
|
error: z.ZodObject<{
|
|
1731
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
2177
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
1732
2178
|
message: z.ZodString;
|
|
1733
2179
|
retryable: z.ZodBoolean;
|
|
1734
2180
|
at: z.ZodString;
|
|
@@ -1738,7 +2184,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1738
2184
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1739
2185
|
}, "strip", z.ZodTypeAny, {
|
|
1740
2186
|
at: string;
|
|
1741
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2187
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1742
2188
|
message: string;
|
|
1743
2189
|
retryable: boolean;
|
|
1744
2190
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1747,7 +2193,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1747
2193
|
truncated?: true | undefined;
|
|
1748
2194
|
}, {
|
|
1749
2195
|
at: string;
|
|
1750
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2196
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1751
2197
|
message: string;
|
|
1752
2198
|
retryable: boolean;
|
|
1753
2199
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1758,7 +2204,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1758
2204
|
}, "strip", z.ZodTypeAny, {
|
|
1759
2205
|
error: {
|
|
1760
2206
|
at: string;
|
|
1761
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2207
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1762
2208
|
message: string;
|
|
1763
2209
|
retryable: boolean;
|
|
1764
2210
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1770,7 +2216,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1770
2216
|
}, {
|
|
1771
2217
|
error: {
|
|
1772
2218
|
at: string;
|
|
1773
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2219
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1774
2220
|
message: string;
|
|
1775
2221
|
retryable: boolean;
|
|
1776
2222
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1830,7 +2276,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1830
2276
|
} | {
|
|
1831
2277
|
error: {
|
|
1832
2278
|
at: string;
|
|
1833
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2279
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1834
2280
|
message: string;
|
|
1835
2281
|
retryable: boolean;
|
|
1836
2282
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1875,7 +2321,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1875
2321
|
} | {
|
|
1876
2322
|
error: {
|
|
1877
2323
|
at: string;
|
|
1878
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2324
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1879
2325
|
message: string;
|
|
1880
2326
|
retryable: boolean;
|
|
1881
2327
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2358,7 +2804,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2358
2804
|
}>, z.ZodObject<{
|
|
2359
2805
|
kind: z.ZodLiteral<"error">;
|
|
2360
2806
|
error: z.ZodObject<{
|
|
2361
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
2807
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
2362
2808
|
message: z.ZodString;
|
|
2363
2809
|
retryable: z.ZodBoolean;
|
|
2364
2810
|
at: z.ZodString;
|
|
@@ -2368,7 +2814,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2368
2814
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2369
2815
|
}, "strip", z.ZodTypeAny, {
|
|
2370
2816
|
at: string;
|
|
2371
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2817
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2372
2818
|
message: string;
|
|
2373
2819
|
retryable: boolean;
|
|
2374
2820
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2377,7 +2823,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2377
2823
|
truncated?: true | undefined;
|
|
2378
2824
|
}, {
|
|
2379
2825
|
at: string;
|
|
2380
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2826
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2381
2827
|
message: string;
|
|
2382
2828
|
retryable: boolean;
|
|
2383
2829
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2388,7 +2834,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2388
2834
|
}, "strip", z.ZodTypeAny, {
|
|
2389
2835
|
error: {
|
|
2390
2836
|
at: string;
|
|
2391
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2837
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2392
2838
|
message: string;
|
|
2393
2839
|
retryable: boolean;
|
|
2394
2840
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2400,7 +2846,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2400
2846
|
}, {
|
|
2401
2847
|
error: {
|
|
2402
2848
|
at: string;
|
|
2403
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2849
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2404
2850
|
message: string;
|
|
2405
2851
|
retryable: boolean;
|
|
2406
2852
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2460,7 +2906,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2460
2906
|
} | {
|
|
2461
2907
|
error: {
|
|
2462
2908
|
at: string;
|
|
2463
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2909
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2464
2910
|
message: string;
|
|
2465
2911
|
retryable: boolean;
|
|
2466
2912
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2505,7 +2951,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2505
2951
|
} | {
|
|
2506
2952
|
error: {
|
|
2507
2953
|
at: string;
|
|
2508
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2954
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2509
2955
|
message: string;
|
|
2510
2956
|
retryable: boolean;
|
|
2511
2957
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2989,7 +3435,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2989
3435
|
} | {
|
|
2990
3436
|
error: {
|
|
2991
3437
|
at: string;
|
|
2992
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3438
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
2993
3439
|
message: string;
|
|
2994
3440
|
retryable: boolean;
|
|
2995
3441
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3145,7 +3591,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
3145
3591
|
} | {
|
|
3146
3592
|
error: {
|
|
3147
3593
|
at: string;
|
|
3148
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3594
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3149
3595
|
message: string;
|
|
3150
3596
|
retryable: boolean;
|
|
3151
3597
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3324,7 +3770,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3324
3770
|
}>, z.ZodObject<{
|
|
3325
3771
|
kind: z.ZodLiteral<"error">;
|
|
3326
3772
|
error: z.ZodObject<{
|
|
3327
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
3773
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
3328
3774
|
message: z.ZodString;
|
|
3329
3775
|
retryable: z.ZodBoolean;
|
|
3330
3776
|
at: z.ZodString;
|
|
@@ -3334,7 +3780,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3334
3780
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3335
3781
|
}, "strip", z.ZodTypeAny, {
|
|
3336
3782
|
at: string;
|
|
3337
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3783
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3338
3784
|
message: string;
|
|
3339
3785
|
retryable: boolean;
|
|
3340
3786
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3343,7 +3789,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3343
3789
|
truncated?: true | undefined;
|
|
3344
3790
|
}, {
|
|
3345
3791
|
at: string;
|
|
3346
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3792
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3347
3793
|
message: string;
|
|
3348
3794
|
retryable: boolean;
|
|
3349
3795
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3354,7 +3800,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3354
3800
|
}, "strip", z.ZodTypeAny, {
|
|
3355
3801
|
error: {
|
|
3356
3802
|
at: string;
|
|
3357
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3803
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3358
3804
|
message: string;
|
|
3359
3805
|
retryable: boolean;
|
|
3360
3806
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3366,7 +3812,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3366
3812
|
}, {
|
|
3367
3813
|
error: {
|
|
3368
3814
|
at: string;
|
|
3369
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3815
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3370
3816
|
message: string;
|
|
3371
3817
|
retryable: boolean;
|
|
3372
3818
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3426,7 +3872,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3426
3872
|
} | {
|
|
3427
3873
|
error: {
|
|
3428
3874
|
at: string;
|
|
3429
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3875
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3430
3876
|
message: string;
|
|
3431
3877
|
retryable: boolean;
|
|
3432
3878
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3471,7 +3917,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3471
3917
|
} | {
|
|
3472
3918
|
error: {
|
|
3473
3919
|
at: string;
|
|
3474
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3920
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3475
3921
|
message: string;
|
|
3476
3922
|
retryable: boolean;
|
|
3477
3923
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3955,7 +4401,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3955
4401
|
} | {
|
|
3956
4402
|
error: {
|
|
3957
4403
|
at: string;
|
|
3958
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4404
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
3959
4405
|
message: string;
|
|
3960
4406
|
retryable: boolean;
|
|
3961
4407
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -4111,7 +4557,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
4111
4557
|
} | {
|
|
4112
4558
|
error: {
|
|
4113
4559
|
at: string;
|
|
4114
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4560
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4115
4561
|
message: string;
|
|
4116
4562
|
retryable: boolean;
|
|
4117
4563
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -4288,7 +4734,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
4288
4734
|
} | {
|
|
4289
4735
|
error: {
|
|
4290
4736
|
at: string;
|
|
4291
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4737
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4292
4738
|
message: string;
|
|
4293
4739
|
retryable: boolean;
|
|
4294
4740
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -4453,7 +4899,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
4453
4899
|
} | {
|
|
4454
4900
|
error: {
|
|
4455
4901
|
at: string;
|
|
4456
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4902
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
4457
4903
|
message: string;
|
|
4458
4904
|
retryable: boolean;
|
|
4459
4905
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -4633,6 +5079,10 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
|
|
|
4633
5079
|
}>, "many">>;
|
|
4634
5080
|
messageId: z.ZodOptional<z.ZodString>;
|
|
4635
5081
|
}, "strict", z.ZodTypeAny, {
|
|
5082
|
+
model?: {
|
|
5083
|
+
modelId: string;
|
|
5084
|
+
provider: string;
|
|
5085
|
+
} | undefined;
|
|
4636
5086
|
locale?: string | undefined;
|
|
4637
5087
|
timeZone?: string | undefined;
|
|
4638
5088
|
context?: {
|
|
@@ -4653,10 +5103,6 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
|
|
|
4653
5103
|
};
|
|
4654
5104
|
}[] | undefined;
|
|
4655
5105
|
text?: string | undefined;
|
|
4656
|
-
model?: {
|
|
4657
|
-
modelId: string;
|
|
4658
|
-
provider: string;
|
|
4659
|
-
} | undefined;
|
|
4660
5106
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
4661
5107
|
attachments?: {
|
|
4662
5108
|
blobId: string;
|
|
@@ -4672,6 +5118,10 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
|
|
|
4672
5118
|
messageId?: string | undefined;
|
|
4673
5119
|
continue?: true | undefined;
|
|
4674
5120
|
}, {
|
|
5121
|
+
model?: {
|
|
5122
|
+
modelId: string;
|
|
5123
|
+
provider: string;
|
|
5124
|
+
} | undefined;
|
|
4675
5125
|
locale?: string | undefined;
|
|
4676
5126
|
timeZone?: string | undefined;
|
|
4677
5127
|
context?: {
|
|
@@ -4692,10 +5142,6 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
|
|
|
4692
5142
|
};
|
|
4693
5143
|
}[] | undefined;
|
|
4694
5144
|
text?: string | undefined;
|
|
4695
|
-
model?: {
|
|
4696
|
-
modelId: string;
|
|
4697
|
-
provider: string;
|
|
4698
|
-
} | undefined;
|
|
4699
5145
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
4700
5146
|
attachments?: {
|
|
4701
5147
|
blobId: string;
|
|
@@ -4882,7 +5328,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4882
5328
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
4883
5329
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
4884
5330
|
}, "strip", z.ZodTypeAny, {
|
|
4885
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5331
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
4886
5332
|
projectId: string;
|
|
4887
5333
|
id: string;
|
|
4888
5334
|
kind: "conversation" | "subagent";
|
|
@@ -4892,14 +5338,14 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4892
5338
|
triggerMessageId: string;
|
|
4893
5339
|
streamId: string;
|
|
4894
5340
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
4895
|
-
requestedBy?: {
|
|
4896
|
-
id: string;
|
|
4897
|
-
type: "user" | "serviceAccount";
|
|
4898
|
-
} | undefined;
|
|
4899
5341
|
model?: {
|
|
4900
5342
|
modelId: string;
|
|
4901
5343
|
provider: string;
|
|
4902
5344
|
} | undefined;
|
|
5345
|
+
requestedBy?: {
|
|
5346
|
+
id: string;
|
|
5347
|
+
type: "user" | "serviceAccount";
|
|
5348
|
+
} | undefined;
|
|
4903
5349
|
modelId?: string | undefined;
|
|
4904
5350
|
startedAt?: string | undefined;
|
|
4905
5351
|
completedAt?: string | undefined;
|
|
@@ -4943,7 +5389,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4943
5389
|
scope: "run";
|
|
4944
5390
|
}[] | undefined;
|
|
4945
5391
|
}, {
|
|
4946
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5392
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
4947
5393
|
projectId: string;
|
|
4948
5394
|
id: string;
|
|
4949
5395
|
kind: "conversation" | "subagent";
|
|
@@ -4953,14 +5399,14 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4953
5399
|
triggerMessageId: string;
|
|
4954
5400
|
streamId: string;
|
|
4955
5401
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
4956
|
-
requestedBy?: {
|
|
4957
|
-
id: string;
|
|
4958
|
-
type: "user" | "serviceAccount";
|
|
4959
|
-
} | undefined;
|
|
4960
5402
|
model?: {
|
|
4961
5403
|
modelId: string;
|
|
4962
5404
|
provider: string;
|
|
4963
5405
|
} | undefined;
|
|
5406
|
+
requestedBy?: {
|
|
5407
|
+
id: string;
|
|
5408
|
+
type: "user" | "serviceAccount";
|
|
5409
|
+
} | undefined;
|
|
4964
5410
|
modelId?: string | undefined;
|
|
4965
5411
|
startedAt?: string | undefined;
|
|
4966
5412
|
completedAt?: string | undefined;
|
|
@@ -5155,7 +5601,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5155
5601
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
5156
5602
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
5157
5603
|
}, "strip", z.ZodTypeAny, {
|
|
5158
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5604
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5159
5605
|
projectId: string;
|
|
5160
5606
|
id: string;
|
|
5161
5607
|
kind: "conversation" | "subagent";
|
|
@@ -5165,14 +5611,14 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5165
5611
|
triggerMessageId: string;
|
|
5166
5612
|
streamId: string;
|
|
5167
5613
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5168
|
-
requestedBy?: {
|
|
5169
|
-
id: string;
|
|
5170
|
-
type: "user" | "serviceAccount";
|
|
5171
|
-
} | undefined;
|
|
5172
5614
|
model?: {
|
|
5173
5615
|
modelId: string;
|
|
5174
5616
|
provider: string;
|
|
5175
5617
|
} | undefined;
|
|
5618
|
+
requestedBy?: {
|
|
5619
|
+
id: string;
|
|
5620
|
+
type: "user" | "serviceAccount";
|
|
5621
|
+
} | undefined;
|
|
5176
5622
|
modelId?: string | undefined;
|
|
5177
5623
|
startedAt?: string | undefined;
|
|
5178
5624
|
completedAt?: string | undefined;
|
|
@@ -5216,7 +5662,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5216
5662
|
scope: "run";
|
|
5217
5663
|
}[] | undefined;
|
|
5218
5664
|
}, {
|
|
5219
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5665
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5220
5666
|
projectId: string;
|
|
5221
5667
|
id: string;
|
|
5222
5668
|
kind: "conversation" | "subagent";
|
|
@@ -5226,14 +5672,14 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5226
5672
|
triggerMessageId: string;
|
|
5227
5673
|
streamId: string;
|
|
5228
5674
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5229
|
-
requestedBy?: {
|
|
5230
|
-
id: string;
|
|
5231
|
-
type: "user" | "serviceAccount";
|
|
5232
|
-
} | undefined;
|
|
5233
5675
|
model?: {
|
|
5234
5676
|
modelId: string;
|
|
5235
5677
|
provider: string;
|
|
5236
5678
|
} | undefined;
|
|
5679
|
+
requestedBy?: {
|
|
5680
|
+
id: string;
|
|
5681
|
+
type: "user" | "serviceAccount";
|
|
5682
|
+
} | undefined;
|
|
5237
5683
|
modelId?: string | undefined;
|
|
5238
5684
|
startedAt?: string | undefined;
|
|
5239
5685
|
completedAt?: string | undefined;
|
|
@@ -5279,7 +5725,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5279
5725
|
}>;
|
|
5280
5726
|
}, "strip", z.ZodTypeAny, {
|
|
5281
5727
|
run: {
|
|
5282
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5728
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5283
5729
|
projectId: string;
|
|
5284
5730
|
id: string;
|
|
5285
5731
|
kind: "conversation" | "subagent";
|
|
@@ -5289,14 +5735,14 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5289
5735
|
triggerMessageId: string;
|
|
5290
5736
|
streamId: string;
|
|
5291
5737
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5292
|
-
requestedBy?: {
|
|
5293
|
-
id: string;
|
|
5294
|
-
type: "user" | "serviceAccount";
|
|
5295
|
-
} | undefined;
|
|
5296
5738
|
model?: {
|
|
5297
5739
|
modelId: string;
|
|
5298
5740
|
provider: string;
|
|
5299
5741
|
} | undefined;
|
|
5742
|
+
requestedBy?: {
|
|
5743
|
+
id: string;
|
|
5744
|
+
type: "user" | "serviceAccount";
|
|
5745
|
+
} | undefined;
|
|
5300
5746
|
modelId?: string | undefined;
|
|
5301
5747
|
startedAt?: string | undefined;
|
|
5302
5748
|
completedAt?: string | undefined;
|
|
@@ -5342,7 +5788,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5342
5788
|
};
|
|
5343
5789
|
}, {
|
|
5344
5790
|
run: {
|
|
5345
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5791
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5346
5792
|
projectId: string;
|
|
5347
5793
|
id: string;
|
|
5348
5794
|
kind: "conversation" | "subagent";
|
|
@@ -5352,14 +5798,14 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5352
5798
|
triggerMessageId: string;
|
|
5353
5799
|
streamId: string;
|
|
5354
5800
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5355
|
-
requestedBy?: {
|
|
5356
|
-
id: string;
|
|
5357
|
-
type: "user" | "serviceAccount";
|
|
5358
|
-
} | undefined;
|
|
5359
5801
|
model?: {
|
|
5360
5802
|
modelId: string;
|
|
5361
5803
|
provider: string;
|
|
5362
5804
|
} | undefined;
|
|
5805
|
+
requestedBy?: {
|
|
5806
|
+
id: string;
|
|
5807
|
+
type: "user" | "serviceAccount";
|
|
5808
|
+
} | undefined;
|
|
5363
5809
|
modelId?: string | undefined;
|
|
5364
5810
|
startedAt?: string | undefined;
|
|
5365
5811
|
completedAt?: string | undefined;
|
|
@@ -5555,7 +6001,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5555
6001
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
5556
6002
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
5557
6003
|
}, "strip", z.ZodTypeAny, {
|
|
5558
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6004
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5559
6005
|
projectId: string;
|
|
5560
6006
|
id: string;
|
|
5561
6007
|
kind: "conversation" | "subagent";
|
|
@@ -5565,14 +6011,14 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5565
6011
|
triggerMessageId: string;
|
|
5566
6012
|
streamId: string;
|
|
5567
6013
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5568
|
-
requestedBy?: {
|
|
5569
|
-
id: string;
|
|
5570
|
-
type: "user" | "serviceAccount";
|
|
5571
|
-
} | undefined;
|
|
5572
6014
|
model?: {
|
|
5573
6015
|
modelId: string;
|
|
5574
6016
|
provider: string;
|
|
5575
6017
|
} | undefined;
|
|
6018
|
+
requestedBy?: {
|
|
6019
|
+
id: string;
|
|
6020
|
+
type: "user" | "serviceAccount";
|
|
6021
|
+
} | undefined;
|
|
5576
6022
|
modelId?: string | undefined;
|
|
5577
6023
|
startedAt?: string | undefined;
|
|
5578
6024
|
completedAt?: string | undefined;
|
|
@@ -5616,7 +6062,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5616
6062
|
scope: "run";
|
|
5617
6063
|
}[] | undefined;
|
|
5618
6064
|
}, {
|
|
5619
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6065
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5620
6066
|
projectId: string;
|
|
5621
6067
|
id: string;
|
|
5622
6068
|
kind: "conversation" | "subagent";
|
|
@@ -5626,14 +6072,14 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5626
6072
|
triggerMessageId: string;
|
|
5627
6073
|
streamId: string;
|
|
5628
6074
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5629
|
-
requestedBy?: {
|
|
5630
|
-
id: string;
|
|
5631
|
-
type: "user" | "serviceAccount";
|
|
5632
|
-
} | undefined;
|
|
5633
6075
|
model?: {
|
|
5634
6076
|
modelId: string;
|
|
5635
6077
|
provider: string;
|
|
5636
6078
|
} | undefined;
|
|
6079
|
+
requestedBy?: {
|
|
6080
|
+
id: string;
|
|
6081
|
+
type: "user" | "serviceAccount";
|
|
6082
|
+
} | undefined;
|
|
5637
6083
|
modelId?: string | undefined;
|
|
5638
6084
|
startedAt?: string | undefined;
|
|
5639
6085
|
completedAt?: string | undefined;
|
|
@@ -5679,7 +6125,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5679
6125
|
}>;
|
|
5680
6126
|
}, "strip", z.ZodTypeAny, {
|
|
5681
6127
|
run: {
|
|
5682
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6128
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5683
6129
|
projectId: string;
|
|
5684
6130
|
id: string;
|
|
5685
6131
|
kind: "conversation" | "subagent";
|
|
@@ -5689,14 +6135,14 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5689
6135
|
triggerMessageId: string;
|
|
5690
6136
|
streamId: string;
|
|
5691
6137
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5692
|
-
requestedBy?: {
|
|
5693
|
-
id: string;
|
|
5694
|
-
type: "user" | "serviceAccount";
|
|
5695
|
-
} | undefined;
|
|
5696
6138
|
model?: {
|
|
5697
6139
|
modelId: string;
|
|
5698
6140
|
provider: string;
|
|
5699
6141
|
} | undefined;
|
|
6142
|
+
requestedBy?: {
|
|
6143
|
+
id: string;
|
|
6144
|
+
type: "user" | "serviceAccount";
|
|
6145
|
+
} | undefined;
|
|
5700
6146
|
modelId?: string | undefined;
|
|
5701
6147
|
startedAt?: string | undefined;
|
|
5702
6148
|
completedAt?: string | undefined;
|
|
@@ -5742,7 +6188,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5742
6188
|
};
|
|
5743
6189
|
}, {
|
|
5744
6190
|
run: {
|
|
5745
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6191
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5746
6192
|
projectId: string;
|
|
5747
6193
|
id: string;
|
|
5748
6194
|
kind: "conversation" | "subagent";
|
|
@@ -5752,14 +6198,14 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5752
6198
|
triggerMessageId: string;
|
|
5753
6199
|
streamId: string;
|
|
5754
6200
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5755
|
-
requestedBy?: {
|
|
5756
|
-
id: string;
|
|
5757
|
-
type: "user" | "serviceAccount";
|
|
5758
|
-
} | undefined;
|
|
5759
6201
|
model?: {
|
|
5760
6202
|
modelId: string;
|
|
5761
6203
|
provider: string;
|
|
5762
6204
|
} | undefined;
|
|
6205
|
+
requestedBy?: {
|
|
6206
|
+
id: string;
|
|
6207
|
+
type: "user" | "serviceAccount";
|
|
6208
|
+
} | undefined;
|
|
5763
6209
|
modelId?: string | undefined;
|
|
5764
6210
|
startedAt?: string | undefined;
|
|
5765
6211
|
completedAt?: string | undefined;
|
|
@@ -5942,7 +6388,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5942
6388
|
}>, z.ZodObject<{
|
|
5943
6389
|
kind: z.ZodLiteral<"error">;
|
|
5944
6390
|
error: z.ZodObject<{
|
|
5945
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
6391
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
5946
6392
|
message: z.ZodString;
|
|
5947
6393
|
retryable: z.ZodBoolean;
|
|
5948
6394
|
at: z.ZodString;
|
|
@@ -5952,7 +6398,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5952
6398
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5953
6399
|
}, "strip", z.ZodTypeAny, {
|
|
5954
6400
|
at: string;
|
|
5955
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6401
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
5956
6402
|
message: string;
|
|
5957
6403
|
retryable: boolean;
|
|
5958
6404
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5961,7 +6407,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5961
6407
|
truncated?: true | undefined;
|
|
5962
6408
|
}, {
|
|
5963
6409
|
at: string;
|
|
5964
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6410
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
5965
6411
|
message: string;
|
|
5966
6412
|
retryable: boolean;
|
|
5967
6413
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5972,7 +6418,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5972
6418
|
}, "strip", z.ZodTypeAny, {
|
|
5973
6419
|
error: {
|
|
5974
6420
|
at: string;
|
|
5975
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6421
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
5976
6422
|
message: string;
|
|
5977
6423
|
retryable: boolean;
|
|
5978
6424
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5984,7 +6430,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5984
6430
|
}, {
|
|
5985
6431
|
error: {
|
|
5986
6432
|
at: string;
|
|
5987
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6433
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
5988
6434
|
message: string;
|
|
5989
6435
|
retryable: boolean;
|
|
5990
6436
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5998,6 +6444,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5998
6444
|
}, "strip", z.ZodTypeAny, {
|
|
5999
6445
|
status: "pending" | "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
6000
6446
|
id: string;
|
|
6447
|
+
expiresAt: string;
|
|
6001
6448
|
requestedBy: {
|
|
6002
6449
|
id: string;
|
|
6003
6450
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -6026,7 +6473,6 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6026
6473
|
workflowRunId: string;
|
|
6027
6474
|
};
|
|
6028
6475
|
createdAt: string;
|
|
6029
|
-
expiresAt: string;
|
|
6030
6476
|
reported: boolean;
|
|
6031
6477
|
caller?: {
|
|
6032
6478
|
runId: string;
|
|
@@ -6049,7 +6495,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6049
6495
|
} | {
|
|
6050
6496
|
error: {
|
|
6051
6497
|
at: string;
|
|
6052
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6498
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6053
6499
|
message: string;
|
|
6054
6500
|
retryable: boolean;
|
|
6055
6501
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6062,6 +6508,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6062
6508
|
}, {
|
|
6063
6509
|
status: "pending" | "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
6064
6510
|
id: string;
|
|
6511
|
+
expiresAt: string;
|
|
6065
6512
|
requestedBy: {
|
|
6066
6513
|
id: string;
|
|
6067
6514
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -6090,7 +6537,6 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6090
6537
|
workflowRunId: string;
|
|
6091
6538
|
};
|
|
6092
6539
|
createdAt: string;
|
|
6093
|
-
expiresAt: string;
|
|
6094
6540
|
reported: boolean;
|
|
6095
6541
|
caller?: {
|
|
6096
6542
|
runId: string;
|
|
@@ -6113,7 +6559,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6113
6559
|
} | {
|
|
6114
6560
|
error: {
|
|
6115
6561
|
at: string;
|
|
6116
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6562
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6117
6563
|
message: string;
|
|
6118
6564
|
retryable: boolean;
|
|
6119
6565
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6275,7 +6721,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6275
6721
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
6276
6722
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
6277
6723
|
}, "strip", z.ZodTypeAny, {
|
|
6278
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6724
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6279
6725
|
projectId: string;
|
|
6280
6726
|
id: string;
|
|
6281
6727
|
kind: "conversation" | "subagent";
|
|
@@ -6285,14 +6731,14 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6285
6731
|
triggerMessageId: string;
|
|
6286
6732
|
streamId: string;
|
|
6287
6733
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6288
|
-
requestedBy?: {
|
|
6289
|
-
id: string;
|
|
6290
|
-
type: "user" | "serviceAccount";
|
|
6291
|
-
} | undefined;
|
|
6292
6734
|
model?: {
|
|
6293
6735
|
modelId: string;
|
|
6294
6736
|
provider: string;
|
|
6295
6737
|
} | undefined;
|
|
6738
|
+
requestedBy?: {
|
|
6739
|
+
id: string;
|
|
6740
|
+
type: "user" | "serviceAccount";
|
|
6741
|
+
} | undefined;
|
|
6296
6742
|
modelId?: string | undefined;
|
|
6297
6743
|
startedAt?: string | undefined;
|
|
6298
6744
|
completedAt?: string | undefined;
|
|
@@ -6336,7 +6782,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6336
6782
|
scope: "run";
|
|
6337
6783
|
}[] | undefined;
|
|
6338
6784
|
}, {
|
|
6339
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6785
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6340
6786
|
projectId: string;
|
|
6341
6787
|
id: string;
|
|
6342
6788
|
kind: "conversation" | "subagent";
|
|
@@ -6346,14 +6792,14 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6346
6792
|
triggerMessageId: string;
|
|
6347
6793
|
streamId: string;
|
|
6348
6794
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6349
|
-
requestedBy?: {
|
|
6350
|
-
id: string;
|
|
6351
|
-
type: "user" | "serviceAccount";
|
|
6352
|
-
} | undefined;
|
|
6353
6795
|
model?: {
|
|
6354
6796
|
modelId: string;
|
|
6355
6797
|
provider: string;
|
|
6356
6798
|
} | undefined;
|
|
6799
|
+
requestedBy?: {
|
|
6800
|
+
id: string;
|
|
6801
|
+
type: "user" | "serviceAccount";
|
|
6802
|
+
} | undefined;
|
|
6357
6803
|
modelId?: string | undefined;
|
|
6358
6804
|
startedAt?: string | undefined;
|
|
6359
6805
|
completedAt?: string | undefined;
|
|
@@ -6421,6 +6867,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6421
6867
|
approval: {
|
|
6422
6868
|
status: "pending" | "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
6423
6869
|
id: string;
|
|
6870
|
+
expiresAt: string;
|
|
6424
6871
|
requestedBy: {
|
|
6425
6872
|
id: string;
|
|
6426
6873
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -6449,7 +6896,6 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6449
6896
|
workflowRunId: string;
|
|
6450
6897
|
};
|
|
6451
6898
|
createdAt: string;
|
|
6452
|
-
expiresAt: string;
|
|
6453
6899
|
reported: boolean;
|
|
6454
6900
|
caller?: {
|
|
6455
6901
|
runId: string;
|
|
@@ -6472,7 +6918,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6472
6918
|
} | {
|
|
6473
6919
|
error: {
|
|
6474
6920
|
at: string;
|
|
6475
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6921
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6476
6922
|
message: string;
|
|
6477
6923
|
retryable: boolean;
|
|
6478
6924
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6484,7 +6930,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6484
6930
|
} | undefined;
|
|
6485
6931
|
};
|
|
6486
6932
|
run?: {
|
|
6487
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6933
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6488
6934
|
projectId: string;
|
|
6489
6935
|
id: string;
|
|
6490
6936
|
kind: "conversation" | "subagent";
|
|
@@ -6494,14 +6940,14 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6494
6940
|
triggerMessageId: string;
|
|
6495
6941
|
streamId: string;
|
|
6496
6942
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6497
|
-
requestedBy?: {
|
|
6498
|
-
id: string;
|
|
6499
|
-
type: "user" | "serviceAccount";
|
|
6500
|
-
} | undefined;
|
|
6501
6943
|
model?: {
|
|
6502
6944
|
modelId: string;
|
|
6503
6945
|
provider: string;
|
|
6504
6946
|
} | undefined;
|
|
6947
|
+
requestedBy?: {
|
|
6948
|
+
id: string;
|
|
6949
|
+
type: "user" | "serviceAccount";
|
|
6950
|
+
} | undefined;
|
|
6505
6951
|
modelId?: string | undefined;
|
|
6506
6952
|
startedAt?: string | undefined;
|
|
6507
6953
|
completedAt?: string | undefined;
|
|
@@ -6555,6 +7001,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6555
7001
|
approval: {
|
|
6556
7002
|
status: "pending" | "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
6557
7003
|
id: string;
|
|
7004
|
+
expiresAt: string;
|
|
6558
7005
|
requestedBy: {
|
|
6559
7006
|
id: string;
|
|
6560
7007
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -6583,7 +7030,6 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6583
7030
|
workflowRunId: string;
|
|
6584
7031
|
};
|
|
6585
7032
|
createdAt: string;
|
|
6586
|
-
expiresAt: string;
|
|
6587
7033
|
reported: boolean;
|
|
6588
7034
|
caller?: {
|
|
6589
7035
|
runId: string;
|
|
@@ -6606,7 +7052,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6606
7052
|
} | {
|
|
6607
7053
|
error: {
|
|
6608
7054
|
at: string;
|
|
6609
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
7055
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6610
7056
|
message: string;
|
|
6611
7057
|
retryable: boolean;
|
|
6612
7058
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6618,7 +7064,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6618
7064
|
} | undefined;
|
|
6619
7065
|
};
|
|
6620
7066
|
run?: {
|
|
6621
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7067
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6622
7068
|
projectId: string;
|
|
6623
7069
|
id: string;
|
|
6624
7070
|
kind: "conversation" | "subagent";
|
|
@@ -6628,14 +7074,14 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6628
7074
|
triggerMessageId: string;
|
|
6629
7075
|
streamId: string;
|
|
6630
7076
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6631
|
-
requestedBy?: {
|
|
6632
|
-
id: string;
|
|
6633
|
-
type: "user" | "serviceAccount";
|
|
6634
|
-
} | undefined;
|
|
6635
7077
|
model?: {
|
|
6636
7078
|
modelId: string;
|
|
6637
7079
|
provider: string;
|
|
6638
7080
|
} | undefined;
|
|
7081
|
+
requestedBy?: {
|
|
7082
|
+
id: string;
|
|
7083
|
+
type: "user" | "serviceAccount";
|
|
7084
|
+
} | undefined;
|
|
6639
7085
|
modelId?: string | undefined;
|
|
6640
7086
|
startedAt?: string | undefined;
|
|
6641
7087
|
completedAt?: string | undefined;
|
|
@@ -6837,7 +7283,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6837
7283
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
6838
7284
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
6839
7285
|
}, "strip", z.ZodTypeAny, {
|
|
6840
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7286
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6841
7287
|
projectId: string;
|
|
6842
7288
|
id: string;
|
|
6843
7289
|
kind: "conversation" | "subagent";
|
|
@@ -6847,14 +7293,14 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6847
7293
|
triggerMessageId: string;
|
|
6848
7294
|
streamId: string;
|
|
6849
7295
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6850
|
-
requestedBy?: {
|
|
6851
|
-
id: string;
|
|
6852
|
-
type: "user" | "serviceAccount";
|
|
6853
|
-
} | undefined;
|
|
6854
7296
|
model?: {
|
|
6855
7297
|
modelId: string;
|
|
6856
7298
|
provider: string;
|
|
6857
7299
|
} | undefined;
|
|
7300
|
+
requestedBy?: {
|
|
7301
|
+
id: string;
|
|
7302
|
+
type: "user" | "serviceAccount";
|
|
7303
|
+
} | undefined;
|
|
6858
7304
|
modelId?: string | undefined;
|
|
6859
7305
|
startedAt?: string | undefined;
|
|
6860
7306
|
completedAt?: string | undefined;
|
|
@@ -6898,7 +7344,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6898
7344
|
scope: "run";
|
|
6899
7345
|
}[] | undefined;
|
|
6900
7346
|
}, {
|
|
6901
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7347
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6902
7348
|
projectId: string;
|
|
6903
7349
|
id: string;
|
|
6904
7350
|
kind: "conversation" | "subagent";
|
|
@@ -6908,14 +7354,14 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6908
7354
|
triggerMessageId: string;
|
|
6909
7355
|
streamId: string;
|
|
6910
7356
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6911
|
-
requestedBy?: {
|
|
6912
|
-
id: string;
|
|
6913
|
-
type: "user" | "serviceAccount";
|
|
6914
|
-
} | undefined;
|
|
6915
7357
|
model?: {
|
|
6916
7358
|
modelId: string;
|
|
6917
7359
|
provider: string;
|
|
6918
7360
|
} | undefined;
|
|
7361
|
+
requestedBy?: {
|
|
7362
|
+
id: string;
|
|
7363
|
+
type: "user" | "serviceAccount";
|
|
7364
|
+
} | undefined;
|
|
6919
7365
|
modelId?: string | undefined;
|
|
6920
7366
|
startedAt?: string | undefined;
|
|
6921
7367
|
completedAt?: string | undefined;
|
|
@@ -6961,7 +7407,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6961
7407
|
}>;
|
|
6962
7408
|
}, "strip", z.ZodTypeAny, {
|
|
6963
7409
|
run: {
|
|
6964
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7410
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6965
7411
|
projectId: string;
|
|
6966
7412
|
id: string;
|
|
6967
7413
|
kind: "conversation" | "subagent";
|
|
@@ -6971,14 +7417,14 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6971
7417
|
triggerMessageId: string;
|
|
6972
7418
|
streamId: string;
|
|
6973
7419
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6974
|
-
requestedBy?: {
|
|
6975
|
-
id: string;
|
|
6976
|
-
type: "user" | "serviceAccount";
|
|
6977
|
-
} | undefined;
|
|
6978
7420
|
model?: {
|
|
6979
7421
|
modelId: string;
|
|
6980
7422
|
provider: string;
|
|
6981
7423
|
} | undefined;
|
|
7424
|
+
requestedBy?: {
|
|
7425
|
+
id: string;
|
|
7426
|
+
type: "user" | "serviceAccount";
|
|
7427
|
+
} | undefined;
|
|
6982
7428
|
modelId?: string | undefined;
|
|
6983
7429
|
startedAt?: string | undefined;
|
|
6984
7430
|
completedAt?: string | undefined;
|
|
@@ -7024,7 +7470,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
7024
7470
|
};
|
|
7025
7471
|
}, {
|
|
7026
7472
|
run: {
|
|
7027
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7473
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7028
7474
|
projectId: string;
|
|
7029
7475
|
id: string;
|
|
7030
7476
|
kind: "conversation" | "subagent";
|
|
@@ -7034,14 +7480,14 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
7034
7480
|
triggerMessageId: string;
|
|
7035
7481
|
streamId: string;
|
|
7036
7482
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7037
|
-
requestedBy?: {
|
|
7038
|
-
id: string;
|
|
7039
|
-
type: "user" | "serviceAccount";
|
|
7040
|
-
} | undefined;
|
|
7041
7483
|
model?: {
|
|
7042
7484
|
modelId: string;
|
|
7043
7485
|
provider: string;
|
|
7044
7486
|
} | undefined;
|
|
7487
|
+
requestedBy?: {
|
|
7488
|
+
id: string;
|
|
7489
|
+
type: "user" | "serviceAccount";
|
|
7490
|
+
} | undefined;
|
|
7045
7491
|
modelId?: string | undefined;
|
|
7046
7492
|
startedAt?: string | undefined;
|
|
7047
7493
|
completedAt?: string | undefined;
|
|
@@ -7122,10 +7568,10 @@ export declare const AgentThreadContextSchema: z.ZodObject<{
|
|
|
7122
7568
|
part: z.ZodEnum<["system", "instructions", "memory", "skills", "ontology", "tools", "summary", "messages", "toolResults", "files"]>;
|
|
7123
7569
|
tokens: z.ZodNumber;
|
|
7124
7570
|
}, "strip", z.ZodTypeAny, {
|
|
7125
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
7571
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
7126
7572
|
tokens: number;
|
|
7127
7573
|
}, {
|
|
7128
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
7574
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
7129
7575
|
tokens: number;
|
|
7130
7576
|
}>, "many">>;
|
|
7131
7577
|
/** The call the conversation's history ends with, as the provider counted it. */
|
|
@@ -7169,7 +7615,7 @@ export declare const AgentThreadContextSchema: z.ZodObject<{
|
|
|
7169
7615
|
windowTokens: number;
|
|
7170
7616
|
limitTokens: number;
|
|
7171
7617
|
parts?: {
|
|
7172
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
7618
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
7173
7619
|
tokens: number;
|
|
7174
7620
|
}[] | undefined;
|
|
7175
7621
|
usedTokens?: number | undefined;
|
|
@@ -7193,7 +7639,7 @@ export declare const AgentThreadContextSchema: z.ZodObject<{
|
|
|
7193
7639
|
windowTokens: number;
|
|
7194
7640
|
limitTokens: number;
|
|
7195
7641
|
parts?: {
|
|
7196
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
7642
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
7197
7643
|
tokens: number;
|
|
7198
7644
|
}[] | undefined;
|
|
7199
7645
|
usedTokens?: number | undefined;
|
|
@@ -7216,12 +7662,12 @@ export declare const AgentRunListQuerySchema: z.ZodObject<{
|
|
|
7216
7662
|
offset: z.ZodOptional<z.ZodString>;
|
|
7217
7663
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
7218
7664
|
}, "strip", z.ZodTypeAny, {
|
|
7219
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
7665
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
7220
7666
|
limit?: string | undefined;
|
|
7221
7667
|
offset?: string | undefined;
|
|
7222
7668
|
order?: "asc" | "desc" | undefined;
|
|
7223
7669
|
}, {
|
|
7224
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
7670
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
7225
7671
|
limit?: string | undefined;
|
|
7226
7672
|
offset?: string | undefined;
|
|
7227
7673
|
order?: "asc" | "desc" | undefined;
|
|
@@ -7377,7 +7823,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7377
7823
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
7378
7824
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
7379
7825
|
}, "strip", z.ZodTypeAny, {
|
|
7380
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7826
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7381
7827
|
projectId: string;
|
|
7382
7828
|
id: string;
|
|
7383
7829
|
kind: "conversation" | "subagent";
|
|
@@ -7387,14 +7833,14 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7387
7833
|
triggerMessageId: string;
|
|
7388
7834
|
streamId: string;
|
|
7389
7835
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7390
|
-
requestedBy?: {
|
|
7391
|
-
id: string;
|
|
7392
|
-
type: "user" | "serviceAccount";
|
|
7393
|
-
} | undefined;
|
|
7394
7836
|
model?: {
|
|
7395
7837
|
modelId: string;
|
|
7396
7838
|
provider: string;
|
|
7397
7839
|
} | undefined;
|
|
7840
|
+
requestedBy?: {
|
|
7841
|
+
id: string;
|
|
7842
|
+
type: "user" | "serviceAccount";
|
|
7843
|
+
} | undefined;
|
|
7398
7844
|
modelId?: string | undefined;
|
|
7399
7845
|
startedAt?: string | undefined;
|
|
7400
7846
|
completedAt?: string | undefined;
|
|
@@ -7438,7 +7884,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7438
7884
|
scope: "run";
|
|
7439
7885
|
}[] | undefined;
|
|
7440
7886
|
}, {
|
|
7441
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7887
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7442
7888
|
projectId: string;
|
|
7443
7889
|
id: string;
|
|
7444
7890
|
kind: "conversation" | "subagent";
|
|
@@ -7448,14 +7894,14 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7448
7894
|
triggerMessageId: string;
|
|
7449
7895
|
streamId: string;
|
|
7450
7896
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7451
|
-
requestedBy?: {
|
|
7452
|
-
id: string;
|
|
7453
|
-
type: "user" | "serviceAccount";
|
|
7454
|
-
} | undefined;
|
|
7455
7897
|
model?: {
|
|
7456
7898
|
modelId: string;
|
|
7457
7899
|
provider: string;
|
|
7458
7900
|
} | undefined;
|
|
7901
|
+
requestedBy?: {
|
|
7902
|
+
id: string;
|
|
7903
|
+
type: "user" | "serviceAccount";
|
|
7904
|
+
} | undefined;
|
|
7459
7905
|
modelId?: string | undefined;
|
|
7460
7906
|
startedAt?: string | undefined;
|
|
7461
7907
|
completedAt?: string | undefined;
|
|
@@ -7503,7 +7949,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7503
7949
|
total: z.ZodNumber;
|
|
7504
7950
|
}, "strip", z.ZodTypeAny, {
|
|
7505
7951
|
runs: {
|
|
7506
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7952
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7507
7953
|
projectId: string;
|
|
7508
7954
|
id: string;
|
|
7509
7955
|
kind: "conversation" | "subagent";
|
|
@@ -7513,14 +7959,14 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7513
7959
|
triggerMessageId: string;
|
|
7514
7960
|
streamId: string;
|
|
7515
7961
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7516
|
-
requestedBy?: {
|
|
7517
|
-
id: string;
|
|
7518
|
-
type: "user" | "serviceAccount";
|
|
7519
|
-
} | undefined;
|
|
7520
7962
|
model?: {
|
|
7521
7963
|
modelId: string;
|
|
7522
7964
|
provider: string;
|
|
7523
7965
|
} | undefined;
|
|
7966
|
+
requestedBy?: {
|
|
7967
|
+
id: string;
|
|
7968
|
+
type: "user" | "serviceAccount";
|
|
7969
|
+
} | undefined;
|
|
7524
7970
|
modelId?: string | undefined;
|
|
7525
7971
|
startedAt?: string | undefined;
|
|
7526
7972
|
completedAt?: string | undefined;
|
|
@@ -7568,7 +8014,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7568
8014
|
total: number;
|
|
7569
8015
|
}, {
|
|
7570
8016
|
runs: {
|
|
7571
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8017
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7572
8018
|
projectId: string;
|
|
7573
8019
|
id: string;
|
|
7574
8020
|
kind: "conversation" | "subagent";
|
|
@@ -7578,14 +8024,14 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7578
8024
|
triggerMessageId: string;
|
|
7579
8025
|
streamId: string;
|
|
7580
8026
|
error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7581
|
-
requestedBy?: {
|
|
7582
|
-
id: string;
|
|
7583
|
-
type: "user" | "serviceAccount";
|
|
7584
|
-
} | undefined;
|
|
7585
8027
|
model?: {
|
|
7586
8028
|
modelId: string;
|
|
7587
8029
|
provider: string;
|
|
7588
8030
|
} | undefined;
|
|
8031
|
+
requestedBy?: {
|
|
8032
|
+
id: string;
|
|
8033
|
+
type: "user" | "serviceAccount";
|
|
8034
|
+
} | undefined;
|
|
7589
8035
|
modelId?: string | undefined;
|
|
7590
8036
|
startedAt?: string | undefined;
|
|
7591
8037
|
completedAt?: string | undefined;
|
|
@@ -7849,7 +8295,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7849
8295
|
unvaluedCallCount: number;
|
|
7850
8296
|
}>>;
|
|
7851
8297
|
}, "strip", z.ZodTypeAny, {
|
|
7852
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8298
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7853
8299
|
id: string;
|
|
7854
8300
|
createdAt: string;
|
|
7855
8301
|
attempt: number;
|
|
@@ -7901,7 +8347,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7901
8347
|
} | undefined;
|
|
7902
8348
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
7903
8349
|
}, {
|
|
7904
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8350
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7905
8351
|
id: string;
|
|
7906
8352
|
createdAt: string;
|
|
7907
8353
|
attempt: number;
|
|
@@ -8391,7 +8837,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8391
8837
|
unvaluedCallCount: number;
|
|
8392
8838
|
}>>;
|
|
8393
8839
|
}, "strip", z.ZodTypeAny, {
|
|
8394
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8840
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8395
8841
|
id: string;
|
|
8396
8842
|
createdAt: string;
|
|
8397
8843
|
attempt: number;
|
|
@@ -8443,7 +8889,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8443
8889
|
} | undefined;
|
|
8444
8890
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
8445
8891
|
}, {
|
|
8446
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8892
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8447
8893
|
id: string;
|
|
8448
8894
|
createdAt: string;
|
|
8449
8895
|
attempt: number;
|
|
@@ -8496,15 +8942,15 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8496
8942
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
8497
8943
|
}>, "many">;
|
|
8498
8944
|
}, "strip", z.ZodTypeAny, {
|
|
8499
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8500
|
-
projectId: string;
|
|
8501
|
-
id: string;
|
|
8945
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8502
8946
|
model: {
|
|
8503
8947
|
modelId: string;
|
|
8504
8948
|
provider: string;
|
|
8505
8949
|
};
|
|
8950
|
+
projectId: string;
|
|
8951
|
+
id: string;
|
|
8506
8952
|
runs: {
|
|
8507
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8953
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8508
8954
|
id: string;
|
|
8509
8955
|
createdAt: string;
|
|
8510
8956
|
attempt: number;
|
|
@@ -8621,15 +9067,15 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8621
9067
|
reason: "superseded" | "expired" | "stopped" | "replaced";
|
|
8622
9068
|
} | undefined;
|
|
8623
9069
|
}, {
|
|
8624
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8625
|
-
projectId: string;
|
|
8626
|
-
id: string;
|
|
9070
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8627
9071
|
model: {
|
|
8628
9072
|
modelId: string;
|
|
8629
9073
|
provider: string;
|
|
8630
9074
|
};
|
|
9075
|
+
projectId: string;
|
|
9076
|
+
id: string;
|
|
8631
9077
|
runs: {
|
|
8632
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9078
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8633
9079
|
id: string;
|
|
8634
9080
|
createdAt: string;
|
|
8635
9081
|
attempt: number;
|
|
@@ -9139,7 +9585,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9139
9585
|
unvaluedCallCount: number;
|
|
9140
9586
|
}>>;
|
|
9141
9587
|
}, "strip", z.ZodTypeAny, {
|
|
9142
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9588
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9143
9589
|
id: string;
|
|
9144
9590
|
createdAt: string;
|
|
9145
9591
|
attempt: number;
|
|
@@ -9191,7 +9637,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9191
9637
|
} | undefined;
|
|
9192
9638
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
9193
9639
|
}, {
|
|
9194
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9640
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9195
9641
|
id: string;
|
|
9196
9642
|
createdAt: string;
|
|
9197
9643
|
attempt: number;
|
|
@@ -9244,15 +9690,15 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9244
9690
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
9245
9691
|
}>, "many">;
|
|
9246
9692
|
}, "strip", z.ZodTypeAny, {
|
|
9247
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9248
|
-
projectId: string;
|
|
9249
|
-
id: string;
|
|
9693
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9250
9694
|
model: {
|
|
9251
9695
|
modelId: string;
|
|
9252
9696
|
provider: string;
|
|
9253
9697
|
};
|
|
9698
|
+
projectId: string;
|
|
9699
|
+
id: string;
|
|
9254
9700
|
runs: {
|
|
9255
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9701
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9256
9702
|
id: string;
|
|
9257
9703
|
createdAt: string;
|
|
9258
9704
|
attempt: number;
|
|
@@ -9369,15 +9815,15 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9369
9815
|
reason: "superseded" | "expired" | "stopped" | "replaced";
|
|
9370
9816
|
} | undefined;
|
|
9371
9817
|
}, {
|
|
9372
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9373
|
-
projectId: string;
|
|
9374
|
-
id: string;
|
|
9818
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9375
9819
|
model: {
|
|
9376
9820
|
modelId: string;
|
|
9377
9821
|
provider: string;
|
|
9378
9822
|
};
|
|
9823
|
+
projectId: string;
|
|
9824
|
+
id: string;
|
|
9379
9825
|
runs: {
|
|
9380
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9826
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9381
9827
|
id: string;
|
|
9382
9828
|
createdAt: string;
|
|
9383
9829
|
attempt: number;
|
|
@@ -9496,15 +9942,15 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9496
9942
|
}>, "many">;
|
|
9497
9943
|
}, "strip", z.ZodTypeAny, {
|
|
9498
9944
|
children: {
|
|
9499
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9500
|
-
projectId: string;
|
|
9501
|
-
id: string;
|
|
9945
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9502
9946
|
model: {
|
|
9503
9947
|
modelId: string;
|
|
9504
9948
|
provider: string;
|
|
9505
9949
|
};
|
|
9950
|
+
projectId: string;
|
|
9951
|
+
id: string;
|
|
9506
9952
|
runs: {
|
|
9507
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9953
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9508
9954
|
id: string;
|
|
9509
9955
|
createdAt: string;
|
|
9510
9956
|
attempt: number;
|
|
@@ -9623,15 +10069,15 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9623
10069
|
}[];
|
|
9624
10070
|
}, {
|
|
9625
10071
|
children: {
|
|
9626
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9627
|
-
projectId: string;
|
|
9628
|
-
id: string;
|
|
10072
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9629
10073
|
model: {
|
|
9630
10074
|
modelId: string;
|
|
9631
10075
|
provider: string;
|
|
9632
10076
|
};
|
|
10077
|
+
projectId: string;
|
|
10078
|
+
id: string;
|
|
9633
10079
|
runs: {
|
|
9634
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
10080
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9635
10081
|
id: string;
|
|
9636
10082
|
createdAt: string;
|
|
9637
10083
|
attempt: number;
|