@sixb/server 0.1.26 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2495 -1845
- package/dist/index.js.map +29 -27
- package/dist/routes/actions.d.ts +1 -1
- package/dist/routes/agent-approvals.d.ts +11 -5
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +214 -10
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -24
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +9 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +93 -17
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/links.d.ts +121 -81
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/objects.d.ts +149 -58
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +23 -5
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -2
- package/dist/routes/projections.d.ts +122 -122
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/telemetry.d.ts +0 -50
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +21 -10
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +4 -1
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +3 -3
- package/dist/schemas/activity.d.ts +4 -4
- package/dist/schemas/agent-approvals.d.ts +21 -21
- package/dist/schemas/agents.d.ts +760 -107
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1114 -6
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +47 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +303 -60
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +8 -8
- package/dist/schemas/lineage.d.ts +1272 -0
- package/dist/schemas/lineage.d.ts.map +1 -0
- package/dist/schemas/links.d.ts +4 -27
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +7 -26
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +12 -12
- package/dist/schemas/projections.d.ts +733 -733
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/telemetry.d.ts +0 -13
- package/dist/schemas/telemetry.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +2 -2
- package/dist/schemas/workflows.d.ts +133 -44
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +5 -0
- package/dist/utils/request-body.d.ts.map +1 -1
- package/dist/utils/request-timing.d.ts +18 -0
- package/dist/utils/request-timing.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/index.ts +1 -0
- package/src/routes/agent-approvals.ts +2 -2
- package/src/routes/agent-computers.ts +309 -87
- package/src/routes/agent-runners.ts +30 -6
- package/src/routes/agents.ts +187 -25
- package/src/routes/ai-accounting.ts +149 -12
- package/src/routes/auth.ts +24 -2
- package/src/routes/datasets.ts +55 -5
- package/src/routes/links.ts +43 -76
- package/src/routes/objects.ts +49 -42
- package/src/routes/observed-agent-threads.ts +2 -2
- package/src/routes/telemetry.ts +1 -42
- package/src/routes/ws/agents.ts +10 -1
- package/src/schemas/agents.ts +121 -6
- package/src/schemas/ai-accounting.ts +78 -15
- package/src/schemas/auth.ts +19 -0
- package/src/schemas/datasets.ts +36 -0
- package/src/schemas/lineage.ts +115 -0
- package/src/schemas/links.ts +3 -11
- package/src/schemas/objects.ts +6 -10
- package/src/schemas/telemetry.ts +0 -6
- package/src/server.ts +18 -2
- package/src/utils/request-body.ts +10 -4
- package/src/utils/request-timing.ts +136 -0
package/dist/schemas/agents.d.ts
CHANGED
|
@@ -352,21 +352,65 @@ export declare const AgentThreadListQuerySchema: z.ZodObject<{
|
|
|
352
352
|
order?: "asc" | "desc" | undefined;
|
|
353
353
|
sharedWithMe?: "true" | "false" | undefined;
|
|
354
354
|
}>;
|
|
355
|
+
/** Where on your computer a thread runs: the computer `sixb` is open on, and its folder there. */
|
|
356
|
+
export declare const AgentThreadComputerInputSchema: z.ZodObject<{
|
|
357
|
+
/** The id `sixb` keeps for the computer, beside its sign-in. */
|
|
358
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
359
|
+
/** What you call the computer, such as "Anthony's MacBook Pro". */
|
|
360
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
361
|
+
/** The absolute path its turns work in. */
|
|
362
|
+
folder: z.ZodEffects<z.ZodString, string, string>;
|
|
363
|
+
}, "strict", z.ZodTypeAny, {
|
|
364
|
+
id: string;
|
|
365
|
+
name: string;
|
|
366
|
+
folder: string;
|
|
367
|
+
}, {
|
|
368
|
+
id: string;
|
|
369
|
+
name: string;
|
|
370
|
+
folder: string;
|
|
371
|
+
}>;
|
|
355
372
|
export declare const CreateAgentThreadBodySchema: z.ZodObject<{
|
|
356
373
|
title: z.ZodOptional<z.ZodString>;
|
|
357
374
|
threadId: z.ZodOptional<z.ZodString>;
|
|
358
375
|
sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
359
376
|
/** Run its turns on your computer, which claims them, instead of in the cloud. */
|
|
360
377
|
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
378
|
+
/** The computer and folder its turns run in: required with `runsOn: "computer"`. */
|
|
379
|
+
computer: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
/** The id `sixb` keeps for the computer, beside its sign-in. */
|
|
381
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
382
|
+
/** What you call the computer, such as "Anthony's MacBook Pro". */
|
|
383
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
384
|
+
/** The absolute path its turns work in. */
|
|
385
|
+
folder: z.ZodEffects<z.ZodString, string, string>;
|
|
386
|
+
}, "strict", z.ZodTypeAny, {
|
|
387
|
+
id: string;
|
|
388
|
+
name: string;
|
|
389
|
+
folder: string;
|
|
390
|
+
}, {
|
|
391
|
+
id: string;
|
|
392
|
+
name: string;
|
|
393
|
+
folder: string;
|
|
394
|
+
}>>;
|
|
361
395
|
}, "strict", z.ZodTypeAny, {
|
|
362
396
|
title?: string | undefined;
|
|
363
397
|
threadId?: string | undefined;
|
|
364
398
|
sandbox?: Record<string, import("./common").JsonValue> | undefined;
|
|
399
|
+
computer?: {
|
|
400
|
+
id: string;
|
|
401
|
+
name: string;
|
|
402
|
+
folder: string;
|
|
403
|
+
} | undefined;
|
|
365
404
|
runsOn?: "computer" | undefined;
|
|
366
405
|
}, {
|
|
367
406
|
title?: string | undefined;
|
|
368
407
|
threadId?: string | undefined;
|
|
369
408
|
sandbox?: Record<string, import("./common").JsonValue> | undefined;
|
|
409
|
+
computer?: {
|
|
410
|
+
id: string;
|
|
411
|
+
name: string;
|
|
412
|
+
folder: string;
|
|
413
|
+
} | undefined;
|
|
370
414
|
runsOn?: "computer" | undefined;
|
|
371
415
|
}>;
|
|
372
416
|
/** A user the thread's owner added: they read the whole conversation and talk in it. */
|
|
@@ -545,8 +589,28 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
545
589
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
546
590
|
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
547
591
|
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
548
|
-
/**
|
|
549
|
-
|
|
592
|
+
/**
|
|
593
|
+
* Where on its owner's computer it runs, and whether `sixb` is open there now: shown to its owner
|
|
594
|
+
* alone. Absent for a computer's thread from before folders were kept, until its owner moves it.
|
|
595
|
+
*/
|
|
596
|
+
computer: z.ZodOptional<z.ZodObject<{
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
name: z.ZodString;
|
|
599
|
+
folder: z.ZodString;
|
|
600
|
+
online: z.ZodBoolean;
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
|
+
id: string;
|
|
603
|
+
name: string;
|
|
604
|
+
folder: string;
|
|
605
|
+
online: boolean;
|
|
606
|
+
}, {
|
|
607
|
+
id: string;
|
|
608
|
+
name: string;
|
|
609
|
+
folder: string;
|
|
610
|
+
online: boolean;
|
|
611
|
+
}>>;
|
|
612
|
+
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
613
|
+
movedAt: z.ZodOptional<z.ZodString>;
|
|
550
614
|
status: z.ZodEnum<["active", "archived"]>;
|
|
551
615
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
552
616
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -593,6 +657,12 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
593
657
|
title?: string | undefined;
|
|
594
658
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
595
659
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
660
|
+
computer?: {
|
|
661
|
+
id: string;
|
|
662
|
+
name: string;
|
|
663
|
+
folder: string;
|
|
664
|
+
online: boolean;
|
|
665
|
+
} | undefined;
|
|
596
666
|
runsOn?: "computer" | undefined;
|
|
597
667
|
sandboxState?: {
|
|
598
668
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -605,7 +675,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
605
675
|
spawnedBy: string;
|
|
606
676
|
} | undefined;
|
|
607
677
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
608
|
-
|
|
678
|
+
movedAt?: string | undefined;
|
|
609
679
|
lastMessageAt?: string | undefined;
|
|
610
680
|
}, {
|
|
611
681
|
status: "active" | "archived";
|
|
@@ -640,6 +710,12 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
640
710
|
title?: string | undefined;
|
|
641
711
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
642
712
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
713
|
+
computer?: {
|
|
714
|
+
id: string;
|
|
715
|
+
name: string;
|
|
716
|
+
folder: string;
|
|
717
|
+
online: boolean;
|
|
718
|
+
} | undefined;
|
|
643
719
|
runsOn?: "computer" | undefined;
|
|
644
720
|
sandboxState?: {
|
|
645
721
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -652,7 +728,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
652
728
|
spawnedBy: string;
|
|
653
729
|
} | undefined;
|
|
654
730
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
655
|
-
|
|
731
|
+
movedAt?: string | undefined;
|
|
656
732
|
lastMessageAt?: string | undefined;
|
|
657
733
|
}>;
|
|
658
734
|
export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
@@ -767,8 +843,28 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
767
843
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
768
844
|
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
769
845
|
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
770
|
-
/**
|
|
771
|
-
|
|
846
|
+
/**
|
|
847
|
+
* Where on its owner's computer it runs, and whether `sixb` is open there now: shown to its owner
|
|
848
|
+
* alone. Absent for a computer's thread from before folders were kept, until its owner moves it.
|
|
849
|
+
*/
|
|
850
|
+
computer: z.ZodOptional<z.ZodObject<{
|
|
851
|
+
id: z.ZodString;
|
|
852
|
+
name: z.ZodString;
|
|
853
|
+
folder: z.ZodString;
|
|
854
|
+
online: z.ZodBoolean;
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
id: string;
|
|
857
|
+
name: string;
|
|
858
|
+
folder: string;
|
|
859
|
+
online: boolean;
|
|
860
|
+
}, {
|
|
861
|
+
id: string;
|
|
862
|
+
name: string;
|
|
863
|
+
folder: string;
|
|
864
|
+
online: boolean;
|
|
865
|
+
}>>;
|
|
866
|
+
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
867
|
+
movedAt: z.ZodOptional<z.ZodString>;
|
|
772
868
|
status: z.ZodEnum<["active", "archived"]>;
|
|
773
869
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
774
870
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -815,6 +911,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
815
911
|
title?: string | undefined;
|
|
816
912
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
817
913
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
914
|
+
computer?: {
|
|
915
|
+
id: string;
|
|
916
|
+
name: string;
|
|
917
|
+
folder: string;
|
|
918
|
+
online: boolean;
|
|
919
|
+
} | undefined;
|
|
818
920
|
runsOn?: "computer" | undefined;
|
|
819
921
|
sandboxState?: {
|
|
820
922
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -827,7 +929,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
827
929
|
spawnedBy: string;
|
|
828
930
|
} | undefined;
|
|
829
931
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
830
|
-
|
|
932
|
+
movedAt?: string | undefined;
|
|
831
933
|
lastMessageAt?: string | undefined;
|
|
832
934
|
}, {
|
|
833
935
|
status: "active" | "archived";
|
|
@@ -862,6 +964,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
862
964
|
title?: string | undefined;
|
|
863
965
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
864
966
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
967
|
+
computer?: {
|
|
968
|
+
id: string;
|
|
969
|
+
name: string;
|
|
970
|
+
folder: string;
|
|
971
|
+
online: boolean;
|
|
972
|
+
} | undefined;
|
|
865
973
|
runsOn?: "computer" | undefined;
|
|
866
974
|
sandboxState?: {
|
|
867
975
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -874,7 +982,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
874
982
|
spawnedBy: string;
|
|
875
983
|
} | undefined;
|
|
876
984
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
877
|
-
|
|
985
|
+
movedAt?: string | undefined;
|
|
878
986
|
lastMessageAt?: string | undefined;
|
|
879
987
|
}>, "many">;
|
|
880
988
|
hasMore: z.ZodBoolean;
|
|
@@ -915,6 +1023,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
915
1023
|
title?: string | undefined;
|
|
916
1024
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
917
1025
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1026
|
+
computer?: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
folder: string;
|
|
1030
|
+
online: boolean;
|
|
1031
|
+
} | undefined;
|
|
918
1032
|
runsOn?: "computer" | undefined;
|
|
919
1033
|
sandboxState?: {
|
|
920
1034
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -927,7 +1041,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
927
1041
|
spawnedBy: string;
|
|
928
1042
|
} | undefined;
|
|
929
1043
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
930
|
-
|
|
1044
|
+
movedAt?: string | undefined;
|
|
931
1045
|
lastMessageAt?: string | undefined;
|
|
932
1046
|
}[];
|
|
933
1047
|
}, {
|
|
@@ -966,6 +1080,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
966
1080
|
title?: string | undefined;
|
|
967
1081
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
968
1082
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1083
|
+
computer?: {
|
|
1084
|
+
id: string;
|
|
1085
|
+
name: string;
|
|
1086
|
+
folder: string;
|
|
1087
|
+
online: boolean;
|
|
1088
|
+
} | undefined;
|
|
969
1089
|
runsOn?: "computer" | undefined;
|
|
970
1090
|
sandboxState?: {
|
|
971
1091
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -978,7 +1098,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
978
1098
|
spawnedBy: string;
|
|
979
1099
|
} | undefined;
|
|
980
1100
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
981
|
-
|
|
1101
|
+
movedAt?: string | undefined;
|
|
982
1102
|
lastMessageAt?: string | undefined;
|
|
983
1103
|
}[];
|
|
984
1104
|
}>;
|
|
@@ -1094,8 +1214,28 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1094
1214
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1095
1215
|
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
1096
1216
|
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
1097
|
-
/**
|
|
1098
|
-
|
|
1217
|
+
/**
|
|
1218
|
+
* Where on its owner's computer it runs, and whether `sixb` is open there now: shown to its owner
|
|
1219
|
+
* alone. Absent for a computer's thread from before folders were kept, until its owner moves it.
|
|
1220
|
+
*/
|
|
1221
|
+
computer: z.ZodOptional<z.ZodObject<{
|
|
1222
|
+
id: z.ZodString;
|
|
1223
|
+
name: z.ZodString;
|
|
1224
|
+
folder: z.ZodString;
|
|
1225
|
+
online: z.ZodBoolean;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
id: string;
|
|
1228
|
+
name: string;
|
|
1229
|
+
folder: string;
|
|
1230
|
+
online: boolean;
|
|
1231
|
+
}, {
|
|
1232
|
+
id: string;
|
|
1233
|
+
name: string;
|
|
1234
|
+
folder: string;
|
|
1235
|
+
online: boolean;
|
|
1236
|
+
}>>;
|
|
1237
|
+
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
1238
|
+
movedAt: z.ZodOptional<z.ZodString>;
|
|
1099
1239
|
status: z.ZodEnum<["active", "archived"]>;
|
|
1100
1240
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
1101
1241
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1142,6 +1282,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1142
1282
|
title?: string | undefined;
|
|
1143
1283
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1144
1284
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1285
|
+
computer?: {
|
|
1286
|
+
id: string;
|
|
1287
|
+
name: string;
|
|
1288
|
+
folder: string;
|
|
1289
|
+
online: boolean;
|
|
1290
|
+
} | undefined;
|
|
1145
1291
|
runsOn?: "computer" | undefined;
|
|
1146
1292
|
sandboxState?: {
|
|
1147
1293
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -1154,7 +1300,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1154
1300
|
spawnedBy: string;
|
|
1155
1301
|
} | undefined;
|
|
1156
1302
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1157
|
-
|
|
1303
|
+
movedAt?: string | undefined;
|
|
1158
1304
|
lastMessageAt?: string | undefined;
|
|
1159
1305
|
}, {
|
|
1160
1306
|
status: "active" | "archived";
|
|
@@ -1189,6 +1335,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1189
1335
|
title?: string | undefined;
|
|
1190
1336
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1191
1337
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1338
|
+
computer?: {
|
|
1339
|
+
id: string;
|
|
1340
|
+
name: string;
|
|
1341
|
+
folder: string;
|
|
1342
|
+
online: boolean;
|
|
1343
|
+
} | undefined;
|
|
1192
1344
|
runsOn?: "computer" | undefined;
|
|
1193
1345
|
sandboxState?: {
|
|
1194
1346
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -1201,7 +1353,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1201
1353
|
spawnedBy: string;
|
|
1202
1354
|
} | undefined;
|
|
1203
1355
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1204
|
-
|
|
1356
|
+
movedAt?: string | undefined;
|
|
1205
1357
|
lastMessageAt?: string | undefined;
|
|
1206
1358
|
}>;
|
|
1207
1359
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1238,6 +1390,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1238
1390
|
title?: string | undefined;
|
|
1239
1391
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1240
1392
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1393
|
+
computer?: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
name: string;
|
|
1396
|
+
folder: string;
|
|
1397
|
+
online: boolean;
|
|
1398
|
+
} | undefined;
|
|
1241
1399
|
runsOn?: "computer" | undefined;
|
|
1242
1400
|
sandboxState?: {
|
|
1243
1401
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -1250,7 +1408,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1250
1408
|
spawnedBy: string;
|
|
1251
1409
|
} | undefined;
|
|
1252
1410
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1253
|
-
|
|
1411
|
+
movedAt?: string | undefined;
|
|
1254
1412
|
lastMessageAt?: string | undefined;
|
|
1255
1413
|
};
|
|
1256
1414
|
}, {
|
|
@@ -1287,6 +1445,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1287
1445
|
title?: string | undefined;
|
|
1288
1446
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1289
1447
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1448
|
+
computer?: {
|
|
1449
|
+
id: string;
|
|
1450
|
+
name: string;
|
|
1451
|
+
folder: string;
|
|
1452
|
+
online: boolean;
|
|
1453
|
+
} | undefined;
|
|
1290
1454
|
runsOn?: "computer" | undefined;
|
|
1291
1455
|
sandboxState?: {
|
|
1292
1456
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
@@ -1299,17 +1463,88 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1299
1463
|
spawnedBy: string;
|
|
1300
1464
|
} | undefined;
|
|
1301
1465
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1302
|
-
|
|
1466
|
+
movedAt?: string | undefined;
|
|
1303
1467
|
lastMessageAt?: string | undefined;
|
|
1304
1468
|
};
|
|
1305
1469
|
}>;
|
|
1306
1470
|
export declare const MoveAgentThreadToComputerBodySchema: z.ZodObject<{
|
|
1307
|
-
|
|
1308
|
-
|
|
1471
|
+
computer: z.ZodObject<{
|
|
1472
|
+
/** The id `sixb` keeps for the computer, beside its sign-in. */
|
|
1473
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1474
|
+
/** What you call the computer, such as "Anthony's MacBook Pro". */
|
|
1475
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1476
|
+
/** The absolute path its turns work in. */
|
|
1477
|
+
folder: z.ZodEffects<z.ZodString, string, string>;
|
|
1478
|
+
}, "strict", z.ZodTypeAny, {
|
|
1479
|
+
id: string;
|
|
1480
|
+
name: string;
|
|
1481
|
+
folder: string;
|
|
1482
|
+
}, {
|
|
1483
|
+
id: string;
|
|
1484
|
+
name: string;
|
|
1485
|
+
folder: string;
|
|
1486
|
+
}>;
|
|
1487
|
+
}, "strict", z.ZodTypeAny, {
|
|
1488
|
+
computer: {
|
|
1489
|
+
id: string;
|
|
1490
|
+
name: string;
|
|
1491
|
+
folder: string;
|
|
1492
|
+
};
|
|
1493
|
+
}, {
|
|
1494
|
+
computer: {
|
|
1495
|
+
id: string;
|
|
1496
|
+
name: string;
|
|
1497
|
+
folder: string;
|
|
1498
|
+
};
|
|
1499
|
+
}>;
|
|
1500
|
+
export declare const AgentComputerSessionParamsSchema: z.ZodObject<{
|
|
1501
|
+
sessionId: z.ZodString;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
sessionId: string;
|
|
1504
|
+
}, {
|
|
1505
|
+
sessionId: string;
|
|
1506
|
+
}>;
|
|
1507
|
+
export declare const HoldAgentComputerSessionBodySchema: z.ZodObject<{
|
|
1508
|
+
computer: z.ZodObject<{
|
|
1509
|
+
/** The id `sixb` keeps for the computer, beside its sign-in. */
|
|
1510
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1511
|
+
/** What you call the computer, such as "Anthony's MacBook Pro". */
|
|
1512
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1513
|
+
/** The absolute path its turns work in. */
|
|
1514
|
+
folder: z.ZodEffects<z.ZodString, string, string>;
|
|
1515
|
+
}, "strict", z.ZodTypeAny, {
|
|
1516
|
+
id: string;
|
|
1517
|
+
name: string;
|
|
1518
|
+
folder: string;
|
|
1519
|
+
}, {
|
|
1520
|
+
id: string;
|
|
1521
|
+
name: string;
|
|
1522
|
+
folder: string;
|
|
1523
|
+
}>;
|
|
1309
1524
|
}, "strict", z.ZodTypeAny, {
|
|
1310
|
-
|
|
1525
|
+
computer: {
|
|
1526
|
+
id: string;
|
|
1527
|
+
name: string;
|
|
1528
|
+
folder: string;
|
|
1529
|
+
};
|
|
1530
|
+
}, {
|
|
1531
|
+
computer: {
|
|
1532
|
+
id: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
folder: string;
|
|
1535
|
+
};
|
|
1536
|
+
}>;
|
|
1537
|
+
export declare const HoldAgentComputerSessionResponseSchema: z.ZodObject<{
|
|
1538
|
+
/** Renew before then, or the session lapses and its threads read as offline. */
|
|
1539
|
+
expiresAt: z.ZodString;
|
|
1540
|
+
/** Queued turns of your threads on this computer, in this folder, for it to claim. */
|
|
1541
|
+
waiting: z.ZodArray<z.ZodString, "many">;
|
|
1542
|
+
}, "strip", z.ZodTypeAny, {
|
|
1543
|
+
expiresAt: string;
|
|
1544
|
+
waiting: string[];
|
|
1311
1545
|
}, {
|
|
1312
|
-
|
|
1546
|
+
expiresAt: string;
|
|
1547
|
+
waiting: string[];
|
|
1313
1548
|
}>;
|
|
1314
1549
|
export declare const AddAgentThreadParticipantsBodySchema: z.ZodObject<{
|
|
1315
1550
|
/**
|
|
@@ -1493,7 +1728,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1493
1728
|
}>, z.ZodObject<{
|
|
1494
1729
|
kind: z.ZodLiteral<"error">;
|
|
1495
1730
|
error: z.ZodObject<{
|
|
1496
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.execution_failed" | "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")[]]>;
|
|
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")[]]>;
|
|
1497
1732
|
message: z.ZodString;
|
|
1498
1733
|
retryable: z.ZodBoolean;
|
|
1499
1734
|
at: z.ZodString;
|
|
@@ -1503,7 +1738,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1503
1738
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1504
1739
|
}, "strip", z.ZodTypeAny, {
|
|
1505
1740
|
at: string;
|
|
1506
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1507
1742
|
message: string;
|
|
1508
1743
|
retryable: boolean;
|
|
1509
1744
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1512,7 +1747,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1512
1747
|
truncated?: true | undefined;
|
|
1513
1748
|
}, {
|
|
1514
1749
|
at: string;
|
|
1515
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1516
1751
|
message: string;
|
|
1517
1752
|
retryable: boolean;
|
|
1518
1753
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1523,7 +1758,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1523
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1759
|
error: {
|
|
1525
1760
|
at: string;
|
|
1526
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1527
1762
|
message: string;
|
|
1528
1763
|
retryable: boolean;
|
|
1529
1764
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1535,7 +1770,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1535
1770
|
}, {
|
|
1536
1771
|
error: {
|
|
1537
1772
|
at: string;
|
|
1538
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1539
1774
|
message: string;
|
|
1540
1775
|
retryable: boolean;
|
|
1541
1776
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1595,7 +1830,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1595
1830
|
} | {
|
|
1596
1831
|
error: {
|
|
1597
1832
|
at: string;
|
|
1598
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1599
1834
|
message: string;
|
|
1600
1835
|
retryable: boolean;
|
|
1601
1836
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1640,7 +1875,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1640
1875
|
} | {
|
|
1641
1876
|
error: {
|
|
1642
1877
|
at: string;
|
|
1643
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
1644
1879
|
message: string;
|
|
1645
1880
|
retryable: boolean;
|
|
1646
1881
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1822,6 +2057,55 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1822
2057
|
} & {
|
|
1823
2058
|
state: z.ZodLiteral<"output-available">;
|
|
1824
2059
|
output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
2060
|
+
/**
|
|
2061
|
+
* The whole output, when it was too large for the model's context: `output` is then a bounded
|
|
2062
|
+
* copy. Its content is served at `/parts/<index>/outputFile/fileRef` of the message.
|
|
2063
|
+
*/
|
|
2064
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
2065
|
+
fileRef: z.ZodObject<{
|
|
2066
|
+
blobId: z.ZodString;
|
|
2067
|
+
digest: z.ZodString;
|
|
2068
|
+
sizeBytes: z.ZodNumber;
|
|
2069
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
logicalPath: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
}, "strip", z.ZodTypeAny, {
|
|
2073
|
+
blobId: string;
|
|
2074
|
+
digest: string;
|
|
2075
|
+
sizeBytes: number;
|
|
2076
|
+
fileName?: string | undefined;
|
|
2077
|
+
mediaType?: string | undefined;
|
|
2078
|
+
logicalPath?: string | undefined;
|
|
2079
|
+
}, {
|
|
2080
|
+
blobId: string;
|
|
2081
|
+
digest: string;
|
|
2082
|
+
sizeBytes: number;
|
|
2083
|
+
fileName?: string | undefined;
|
|
2084
|
+
mediaType?: string | undefined;
|
|
2085
|
+
logicalPath?: string | undefined;
|
|
2086
|
+
}>;
|
|
2087
|
+
path: z.ZodString;
|
|
2088
|
+
}, "strip", z.ZodTypeAny, {
|
|
2089
|
+
path: string;
|
|
2090
|
+
fileRef: {
|
|
2091
|
+
blobId: string;
|
|
2092
|
+
digest: string;
|
|
2093
|
+
sizeBytes: number;
|
|
2094
|
+
fileName?: string | undefined;
|
|
2095
|
+
mediaType?: string | undefined;
|
|
2096
|
+
logicalPath?: string | undefined;
|
|
2097
|
+
};
|
|
2098
|
+
}, {
|
|
2099
|
+
path: string;
|
|
2100
|
+
fileRef: {
|
|
2101
|
+
blobId: string;
|
|
2102
|
+
digest: string;
|
|
2103
|
+
sizeBytes: number;
|
|
2104
|
+
fileName?: string | undefined;
|
|
2105
|
+
mediaType?: string | undefined;
|
|
2106
|
+
logicalPath?: string | undefined;
|
|
2107
|
+
};
|
|
2108
|
+
}>>;
|
|
1825
2109
|
}, "strip", z.ZodTypeAny, {
|
|
1826
2110
|
type: "tool-call";
|
|
1827
2111
|
input: import("./common").JsonValue;
|
|
@@ -1832,6 +2116,17 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1832
2116
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
1833
2117
|
dynamic?: boolean | undefined;
|
|
1834
2118
|
providerExecuted?: boolean | undefined;
|
|
2119
|
+
outputFile?: {
|
|
2120
|
+
path: string;
|
|
2121
|
+
fileRef: {
|
|
2122
|
+
blobId: string;
|
|
2123
|
+
digest: string;
|
|
2124
|
+
sizeBytes: number;
|
|
2125
|
+
fileName?: string | undefined;
|
|
2126
|
+
mediaType?: string | undefined;
|
|
2127
|
+
logicalPath?: string | undefined;
|
|
2128
|
+
};
|
|
2129
|
+
} | undefined;
|
|
1835
2130
|
}, {
|
|
1836
2131
|
type: "tool-call";
|
|
1837
2132
|
input: import("./common").JsonValue;
|
|
@@ -1842,6 +2137,17 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1842
2137
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
1843
2138
|
dynamic?: boolean | undefined;
|
|
1844
2139
|
providerExecuted?: boolean | undefined;
|
|
2140
|
+
outputFile?: {
|
|
2141
|
+
path: string;
|
|
2142
|
+
fileRef: {
|
|
2143
|
+
blobId: string;
|
|
2144
|
+
digest: string;
|
|
2145
|
+
sizeBytes: number;
|
|
2146
|
+
fileName?: string | undefined;
|
|
2147
|
+
mediaType?: string | undefined;
|
|
2148
|
+
logicalPath?: string | undefined;
|
|
2149
|
+
};
|
|
2150
|
+
} | undefined;
|
|
1845
2151
|
}>, z.ZodObject<{
|
|
1846
2152
|
type: z.ZodLiteral<"tool-call">;
|
|
1847
2153
|
toolCallId: z.ZodString;
|
|
@@ -1917,13 +2223,16 @@ export declare const AgentRunDiagnosticSchema: z.ZodObject<{
|
|
|
1917
2223
|
}>;
|
|
1918
2224
|
export declare const AgentMessageCompactionSchema: z.ZodObject<{
|
|
1919
2225
|
checkpointId: z.ZodString;
|
|
2226
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
1920
2227
|
summary: z.ZodString;
|
|
1921
2228
|
createdAt: z.ZodString;
|
|
1922
2229
|
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
reason: "threshold" | "overflow";
|
|
1923
2231
|
createdAt: string;
|
|
1924
2232
|
checkpointId: string;
|
|
1925
2233
|
summary: string;
|
|
1926
2234
|
}, {
|
|
2235
|
+
reason: "threshold" | "overflow";
|
|
1927
2236
|
createdAt: string;
|
|
1928
2237
|
checkpointId: string;
|
|
1929
2238
|
summary: string;
|
|
@@ -2049,7 +2358,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2049
2358
|
}>, z.ZodObject<{
|
|
2050
2359
|
kind: z.ZodLiteral<"error">;
|
|
2051
2360
|
error: z.ZodObject<{
|
|
2052
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.execution_failed" | "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")[]]>;
|
|
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")[]]>;
|
|
2053
2362
|
message: z.ZodString;
|
|
2054
2363
|
retryable: z.ZodBoolean;
|
|
2055
2364
|
at: z.ZodString;
|
|
@@ -2059,7 +2368,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2059
2368
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2060
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2061
2370
|
at: string;
|
|
2062
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2063
2372
|
message: string;
|
|
2064
2373
|
retryable: boolean;
|
|
2065
2374
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2068,7 +2377,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2068
2377
|
truncated?: true | undefined;
|
|
2069
2378
|
}, {
|
|
2070
2379
|
at: string;
|
|
2071
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2072
2381
|
message: string;
|
|
2073
2382
|
retryable: boolean;
|
|
2074
2383
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2079,7 +2388,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2079
2388
|
}, "strip", z.ZodTypeAny, {
|
|
2080
2389
|
error: {
|
|
2081
2390
|
at: string;
|
|
2082
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2083
2392
|
message: string;
|
|
2084
2393
|
retryable: boolean;
|
|
2085
2394
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2091,7 +2400,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2091
2400
|
}, {
|
|
2092
2401
|
error: {
|
|
2093
2402
|
at: string;
|
|
2094
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2095
2404
|
message: string;
|
|
2096
2405
|
retryable: boolean;
|
|
2097
2406
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2151,7 +2460,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2151
2460
|
} | {
|
|
2152
2461
|
error: {
|
|
2153
2462
|
at: string;
|
|
2154
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2155
2464
|
message: string;
|
|
2156
2465
|
retryable: boolean;
|
|
2157
2466
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2196,7 +2505,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2196
2505
|
} | {
|
|
2197
2506
|
error: {
|
|
2198
2507
|
at: string;
|
|
2199
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2200
2509
|
message: string;
|
|
2201
2510
|
retryable: boolean;
|
|
2202
2511
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2378,6 +2687,55 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2378
2687
|
} & {
|
|
2379
2688
|
state: z.ZodLiteral<"output-available">;
|
|
2380
2689
|
output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
2690
|
+
/**
|
|
2691
|
+
* The whole output, when it was too large for the model's context: `output` is then a bounded
|
|
2692
|
+
* copy. Its content is served at `/parts/<index>/outputFile/fileRef` of the message.
|
|
2693
|
+
*/
|
|
2694
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
2695
|
+
fileRef: z.ZodObject<{
|
|
2696
|
+
blobId: z.ZodString;
|
|
2697
|
+
digest: z.ZodString;
|
|
2698
|
+
sizeBytes: z.ZodNumber;
|
|
2699
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
2700
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
logicalPath: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
}, "strip", z.ZodTypeAny, {
|
|
2703
|
+
blobId: string;
|
|
2704
|
+
digest: string;
|
|
2705
|
+
sizeBytes: number;
|
|
2706
|
+
fileName?: string | undefined;
|
|
2707
|
+
mediaType?: string | undefined;
|
|
2708
|
+
logicalPath?: string | undefined;
|
|
2709
|
+
}, {
|
|
2710
|
+
blobId: string;
|
|
2711
|
+
digest: string;
|
|
2712
|
+
sizeBytes: number;
|
|
2713
|
+
fileName?: string | undefined;
|
|
2714
|
+
mediaType?: string | undefined;
|
|
2715
|
+
logicalPath?: string | undefined;
|
|
2716
|
+
}>;
|
|
2717
|
+
path: z.ZodString;
|
|
2718
|
+
}, "strip", z.ZodTypeAny, {
|
|
2719
|
+
path: string;
|
|
2720
|
+
fileRef: {
|
|
2721
|
+
blobId: string;
|
|
2722
|
+
digest: string;
|
|
2723
|
+
sizeBytes: number;
|
|
2724
|
+
fileName?: string | undefined;
|
|
2725
|
+
mediaType?: string | undefined;
|
|
2726
|
+
logicalPath?: string | undefined;
|
|
2727
|
+
};
|
|
2728
|
+
}, {
|
|
2729
|
+
path: string;
|
|
2730
|
+
fileRef: {
|
|
2731
|
+
blobId: string;
|
|
2732
|
+
digest: string;
|
|
2733
|
+
sizeBytes: number;
|
|
2734
|
+
fileName?: string | undefined;
|
|
2735
|
+
mediaType?: string | undefined;
|
|
2736
|
+
logicalPath?: string | undefined;
|
|
2737
|
+
};
|
|
2738
|
+
}>>;
|
|
2381
2739
|
}, "strip", z.ZodTypeAny, {
|
|
2382
2740
|
type: "tool-call";
|
|
2383
2741
|
input: import("./common").JsonValue;
|
|
@@ -2388,6 +2746,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2388
2746
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2389
2747
|
dynamic?: boolean | undefined;
|
|
2390
2748
|
providerExecuted?: boolean | undefined;
|
|
2749
|
+
outputFile?: {
|
|
2750
|
+
path: string;
|
|
2751
|
+
fileRef: {
|
|
2752
|
+
blobId: string;
|
|
2753
|
+
digest: string;
|
|
2754
|
+
sizeBytes: number;
|
|
2755
|
+
fileName?: string | undefined;
|
|
2756
|
+
mediaType?: string | undefined;
|
|
2757
|
+
logicalPath?: string | undefined;
|
|
2758
|
+
};
|
|
2759
|
+
} | undefined;
|
|
2391
2760
|
}, {
|
|
2392
2761
|
type: "tool-call";
|
|
2393
2762
|
input: import("./common").JsonValue;
|
|
@@ -2398,6 +2767,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2398
2767
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2399
2768
|
dynamic?: boolean | undefined;
|
|
2400
2769
|
providerExecuted?: boolean | undefined;
|
|
2770
|
+
outputFile?: {
|
|
2771
|
+
path: string;
|
|
2772
|
+
fileRef: {
|
|
2773
|
+
blobId: string;
|
|
2774
|
+
digest: string;
|
|
2775
|
+
sizeBytes: number;
|
|
2776
|
+
fileName?: string | undefined;
|
|
2777
|
+
mediaType?: string | undefined;
|
|
2778
|
+
logicalPath?: string | undefined;
|
|
2779
|
+
};
|
|
2780
|
+
} | undefined;
|
|
2401
2781
|
}>, z.ZodObject<{
|
|
2402
2782
|
type: z.ZodLiteral<"tool-call">;
|
|
2403
2783
|
toolCallId: z.ZodString;
|
|
@@ -2475,13 +2855,16 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2475
2855
|
/** A durable context summary created before this response's model call. */
|
|
2476
2856
|
compaction: z.ZodOptional<z.ZodObject<{
|
|
2477
2857
|
checkpointId: z.ZodString;
|
|
2858
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
2478
2859
|
summary: z.ZodString;
|
|
2479
2860
|
createdAt: z.ZodString;
|
|
2480
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2862
|
+
reason: "threshold" | "overflow";
|
|
2481
2863
|
createdAt: string;
|
|
2482
2864
|
checkpointId: string;
|
|
2483
2865
|
summary: string;
|
|
2484
2866
|
}, {
|
|
2867
|
+
reason: "threshold" | "overflow";
|
|
2485
2868
|
createdAt: string;
|
|
2486
2869
|
checkpointId: string;
|
|
2487
2870
|
summary: string;
|
|
@@ -2548,6 +2931,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2548
2931
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2549
2932
|
dynamic?: boolean | undefined;
|
|
2550
2933
|
providerExecuted?: boolean | undefined;
|
|
2934
|
+
outputFile?: {
|
|
2935
|
+
path: string;
|
|
2936
|
+
fileRef: {
|
|
2937
|
+
blobId: string;
|
|
2938
|
+
digest: string;
|
|
2939
|
+
sizeBytes: number;
|
|
2940
|
+
fileName?: string | undefined;
|
|
2941
|
+
mediaType?: string | undefined;
|
|
2942
|
+
logicalPath?: string | undefined;
|
|
2943
|
+
};
|
|
2944
|
+
} | undefined;
|
|
2551
2945
|
} | {
|
|
2552
2946
|
type: "tool-call";
|
|
2553
2947
|
input: import("./common").JsonValue;
|
|
@@ -2595,7 +2989,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2595
2989
|
} | {
|
|
2596
2990
|
error: {
|
|
2597
2991
|
at: string;
|
|
2598
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2599
2993
|
message: string;
|
|
2600
2994
|
retryable: boolean;
|
|
2601
2995
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2629,6 +3023,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2629
3023
|
type: "user" | "serviceAccount" | "system";
|
|
2630
3024
|
} | undefined;
|
|
2631
3025
|
compaction?: {
|
|
3026
|
+
reason: "threshold" | "overflow";
|
|
2632
3027
|
createdAt: string;
|
|
2633
3028
|
checkpointId: string;
|
|
2634
3029
|
summary: string;
|
|
@@ -2692,6 +3087,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2692
3087
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2693
3088
|
dynamic?: boolean | undefined;
|
|
2694
3089
|
providerExecuted?: boolean | undefined;
|
|
3090
|
+
outputFile?: {
|
|
3091
|
+
path: string;
|
|
3092
|
+
fileRef: {
|
|
3093
|
+
blobId: string;
|
|
3094
|
+
digest: string;
|
|
3095
|
+
sizeBytes: number;
|
|
3096
|
+
fileName?: string | undefined;
|
|
3097
|
+
mediaType?: string | undefined;
|
|
3098
|
+
logicalPath?: string | undefined;
|
|
3099
|
+
};
|
|
3100
|
+
} | undefined;
|
|
2695
3101
|
} | {
|
|
2696
3102
|
type: "tool-call";
|
|
2697
3103
|
input: import("./common").JsonValue;
|
|
@@ -2739,7 +3145,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2739
3145
|
} | {
|
|
2740
3146
|
error: {
|
|
2741
3147
|
at: string;
|
|
2742
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2743
3149
|
message: string;
|
|
2744
3150
|
retryable: boolean;
|
|
2745
3151
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2773,6 +3179,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2773
3179
|
type: "user" | "serviceAccount" | "system";
|
|
2774
3180
|
} | undefined;
|
|
2775
3181
|
compaction?: {
|
|
3182
|
+
reason: "threshold" | "overflow";
|
|
2776
3183
|
createdAt: string;
|
|
2777
3184
|
checkpointId: string;
|
|
2778
3185
|
summary: string;
|
|
@@ -2917,7 +3324,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2917
3324
|
}>, z.ZodObject<{
|
|
2918
3325
|
kind: z.ZodLiteral<"error">;
|
|
2919
3326
|
error: z.ZodObject<{
|
|
2920
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.execution_failed" | "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")[]]>;
|
|
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")[]]>;
|
|
2921
3328
|
message: z.ZodString;
|
|
2922
3329
|
retryable: z.ZodBoolean;
|
|
2923
3330
|
at: z.ZodString;
|
|
@@ -2927,7 +3334,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2927
3334
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2928
3335
|
}, "strip", z.ZodTypeAny, {
|
|
2929
3336
|
at: string;
|
|
2930
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2931
3338
|
message: string;
|
|
2932
3339
|
retryable: boolean;
|
|
2933
3340
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2936,7 +3343,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2936
3343
|
truncated?: true | undefined;
|
|
2937
3344
|
}, {
|
|
2938
3345
|
at: string;
|
|
2939
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2940
3347
|
message: string;
|
|
2941
3348
|
retryable: boolean;
|
|
2942
3349
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2947,7 +3354,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2947
3354
|
}, "strip", z.ZodTypeAny, {
|
|
2948
3355
|
error: {
|
|
2949
3356
|
at: string;
|
|
2950
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2951
3358
|
message: string;
|
|
2952
3359
|
retryable: boolean;
|
|
2953
3360
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2959,7 +3366,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2959
3366
|
}, {
|
|
2960
3367
|
error: {
|
|
2961
3368
|
at: string;
|
|
2962
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
2963
3370
|
message: string;
|
|
2964
3371
|
retryable: boolean;
|
|
2965
3372
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3019,7 +3426,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3019
3426
|
} | {
|
|
3020
3427
|
error: {
|
|
3021
3428
|
at: string;
|
|
3022
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3023
3430
|
message: string;
|
|
3024
3431
|
retryable: boolean;
|
|
3025
3432
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3064,7 +3471,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3064
3471
|
} | {
|
|
3065
3472
|
error: {
|
|
3066
3473
|
at: string;
|
|
3067
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3068
3475
|
message: string;
|
|
3069
3476
|
retryable: boolean;
|
|
3070
3477
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3246,6 +3653,55 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3246
3653
|
} & {
|
|
3247
3654
|
state: z.ZodLiteral<"output-available">;
|
|
3248
3655
|
output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
3656
|
+
/**
|
|
3657
|
+
* The whole output, when it was too large for the model's context: `output` is then a bounded
|
|
3658
|
+
* copy. Its content is served at `/parts/<index>/outputFile/fileRef` of the message.
|
|
3659
|
+
*/
|
|
3660
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
3661
|
+
fileRef: z.ZodObject<{
|
|
3662
|
+
blobId: z.ZodString;
|
|
3663
|
+
digest: z.ZodString;
|
|
3664
|
+
sizeBytes: z.ZodNumber;
|
|
3665
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
3666
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
3667
|
+
logicalPath: z.ZodOptional<z.ZodString>;
|
|
3668
|
+
}, "strip", z.ZodTypeAny, {
|
|
3669
|
+
blobId: string;
|
|
3670
|
+
digest: string;
|
|
3671
|
+
sizeBytes: number;
|
|
3672
|
+
fileName?: string | undefined;
|
|
3673
|
+
mediaType?: string | undefined;
|
|
3674
|
+
logicalPath?: string | undefined;
|
|
3675
|
+
}, {
|
|
3676
|
+
blobId: string;
|
|
3677
|
+
digest: string;
|
|
3678
|
+
sizeBytes: number;
|
|
3679
|
+
fileName?: string | undefined;
|
|
3680
|
+
mediaType?: string | undefined;
|
|
3681
|
+
logicalPath?: string | undefined;
|
|
3682
|
+
}>;
|
|
3683
|
+
path: z.ZodString;
|
|
3684
|
+
}, "strip", z.ZodTypeAny, {
|
|
3685
|
+
path: string;
|
|
3686
|
+
fileRef: {
|
|
3687
|
+
blobId: string;
|
|
3688
|
+
digest: string;
|
|
3689
|
+
sizeBytes: number;
|
|
3690
|
+
fileName?: string | undefined;
|
|
3691
|
+
mediaType?: string | undefined;
|
|
3692
|
+
logicalPath?: string | undefined;
|
|
3693
|
+
};
|
|
3694
|
+
}, {
|
|
3695
|
+
path: string;
|
|
3696
|
+
fileRef: {
|
|
3697
|
+
blobId: string;
|
|
3698
|
+
digest: string;
|
|
3699
|
+
sizeBytes: number;
|
|
3700
|
+
fileName?: string | undefined;
|
|
3701
|
+
mediaType?: string | undefined;
|
|
3702
|
+
logicalPath?: string | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
}>>;
|
|
3249
3705
|
}, "strip", z.ZodTypeAny, {
|
|
3250
3706
|
type: "tool-call";
|
|
3251
3707
|
input: import("./common").JsonValue;
|
|
@@ -3256,6 +3712,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3256
3712
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3257
3713
|
dynamic?: boolean | undefined;
|
|
3258
3714
|
providerExecuted?: boolean | undefined;
|
|
3715
|
+
outputFile?: {
|
|
3716
|
+
path: string;
|
|
3717
|
+
fileRef: {
|
|
3718
|
+
blobId: string;
|
|
3719
|
+
digest: string;
|
|
3720
|
+
sizeBytes: number;
|
|
3721
|
+
fileName?: string | undefined;
|
|
3722
|
+
mediaType?: string | undefined;
|
|
3723
|
+
logicalPath?: string | undefined;
|
|
3724
|
+
};
|
|
3725
|
+
} | undefined;
|
|
3259
3726
|
}, {
|
|
3260
3727
|
type: "tool-call";
|
|
3261
3728
|
input: import("./common").JsonValue;
|
|
@@ -3266,6 +3733,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3266
3733
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3267
3734
|
dynamic?: boolean | undefined;
|
|
3268
3735
|
providerExecuted?: boolean | undefined;
|
|
3736
|
+
outputFile?: {
|
|
3737
|
+
path: string;
|
|
3738
|
+
fileRef: {
|
|
3739
|
+
blobId: string;
|
|
3740
|
+
digest: string;
|
|
3741
|
+
sizeBytes: number;
|
|
3742
|
+
fileName?: string | undefined;
|
|
3743
|
+
mediaType?: string | undefined;
|
|
3744
|
+
logicalPath?: string | undefined;
|
|
3745
|
+
};
|
|
3746
|
+
} | undefined;
|
|
3269
3747
|
}>, z.ZodObject<{
|
|
3270
3748
|
type: z.ZodLiteral<"tool-call">;
|
|
3271
3749
|
toolCallId: z.ZodString;
|
|
@@ -3343,13 +3821,16 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3343
3821
|
/** A durable context summary created before this response's model call. */
|
|
3344
3822
|
compaction: z.ZodOptional<z.ZodObject<{
|
|
3345
3823
|
checkpointId: z.ZodString;
|
|
3824
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
3346
3825
|
summary: z.ZodString;
|
|
3347
3826
|
createdAt: z.ZodString;
|
|
3348
3827
|
}, "strip", z.ZodTypeAny, {
|
|
3828
|
+
reason: "threshold" | "overflow";
|
|
3349
3829
|
createdAt: string;
|
|
3350
3830
|
checkpointId: string;
|
|
3351
3831
|
summary: string;
|
|
3352
3832
|
}, {
|
|
3833
|
+
reason: "threshold" | "overflow";
|
|
3353
3834
|
createdAt: string;
|
|
3354
3835
|
checkpointId: string;
|
|
3355
3836
|
summary: string;
|
|
@@ -3416,6 +3897,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3416
3897
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3417
3898
|
dynamic?: boolean | undefined;
|
|
3418
3899
|
providerExecuted?: boolean | undefined;
|
|
3900
|
+
outputFile?: {
|
|
3901
|
+
path: string;
|
|
3902
|
+
fileRef: {
|
|
3903
|
+
blobId: string;
|
|
3904
|
+
digest: string;
|
|
3905
|
+
sizeBytes: number;
|
|
3906
|
+
fileName?: string | undefined;
|
|
3907
|
+
mediaType?: string | undefined;
|
|
3908
|
+
logicalPath?: string | undefined;
|
|
3909
|
+
};
|
|
3910
|
+
} | undefined;
|
|
3419
3911
|
} | {
|
|
3420
3912
|
type: "tool-call";
|
|
3421
3913
|
input: import("./common").JsonValue;
|
|
@@ -3463,7 +3955,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3463
3955
|
} | {
|
|
3464
3956
|
error: {
|
|
3465
3957
|
at: string;
|
|
3466
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3467
3959
|
message: string;
|
|
3468
3960
|
retryable: boolean;
|
|
3469
3961
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3497,6 +3989,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3497
3989
|
type: "user" | "serviceAccount" | "system";
|
|
3498
3990
|
} | undefined;
|
|
3499
3991
|
compaction?: {
|
|
3992
|
+
reason: "threshold" | "overflow";
|
|
3500
3993
|
createdAt: string;
|
|
3501
3994
|
checkpointId: string;
|
|
3502
3995
|
summary: string;
|
|
@@ -3560,6 +4053,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3560
4053
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3561
4054
|
dynamic?: boolean | undefined;
|
|
3562
4055
|
providerExecuted?: boolean | undefined;
|
|
4056
|
+
outputFile?: {
|
|
4057
|
+
path: string;
|
|
4058
|
+
fileRef: {
|
|
4059
|
+
blobId: string;
|
|
4060
|
+
digest: string;
|
|
4061
|
+
sizeBytes: number;
|
|
4062
|
+
fileName?: string | undefined;
|
|
4063
|
+
mediaType?: string | undefined;
|
|
4064
|
+
logicalPath?: string | undefined;
|
|
4065
|
+
};
|
|
4066
|
+
} | undefined;
|
|
3563
4067
|
} | {
|
|
3564
4068
|
type: "tool-call";
|
|
3565
4069
|
input: import("./common").JsonValue;
|
|
@@ -3607,7 +4111,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3607
4111
|
} | {
|
|
3608
4112
|
error: {
|
|
3609
4113
|
at: string;
|
|
3610
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3611
4115
|
message: string;
|
|
3612
4116
|
retryable: boolean;
|
|
3613
4117
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3641,6 +4145,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3641
4145
|
type: "user" | "serviceAccount" | "system";
|
|
3642
4146
|
} | undefined;
|
|
3643
4147
|
compaction?: {
|
|
4148
|
+
reason: "threshold" | "overflow";
|
|
3644
4149
|
createdAt: string;
|
|
3645
4150
|
checkpointId: string;
|
|
3646
4151
|
summary: string;
|
|
@@ -3725,6 +4230,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3725
4230
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3726
4231
|
dynamic?: boolean | undefined;
|
|
3727
4232
|
providerExecuted?: boolean | undefined;
|
|
4233
|
+
outputFile?: {
|
|
4234
|
+
path: string;
|
|
4235
|
+
fileRef: {
|
|
4236
|
+
blobId: string;
|
|
4237
|
+
digest: string;
|
|
4238
|
+
sizeBytes: number;
|
|
4239
|
+
fileName?: string | undefined;
|
|
4240
|
+
mediaType?: string | undefined;
|
|
4241
|
+
logicalPath?: string | undefined;
|
|
4242
|
+
};
|
|
4243
|
+
} | undefined;
|
|
3728
4244
|
} | {
|
|
3729
4245
|
type: "tool-call";
|
|
3730
4246
|
input: import("./common").JsonValue;
|
|
@@ -3772,7 +4288,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3772
4288
|
} | {
|
|
3773
4289
|
error: {
|
|
3774
4290
|
at: string;
|
|
3775
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3776
4292
|
message: string;
|
|
3777
4293
|
retryable: boolean;
|
|
3778
4294
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3806,6 +4322,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3806
4322
|
type: "user" | "serviceAccount" | "system";
|
|
3807
4323
|
} | undefined;
|
|
3808
4324
|
compaction?: {
|
|
4325
|
+
reason: "threshold" | "overflow";
|
|
3809
4326
|
createdAt: string;
|
|
3810
4327
|
checkpointId: string;
|
|
3811
4328
|
summary: string;
|
|
@@ -3878,6 +4395,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3878
4395
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3879
4396
|
dynamic?: boolean | undefined;
|
|
3880
4397
|
providerExecuted?: boolean | undefined;
|
|
4398
|
+
outputFile?: {
|
|
4399
|
+
path: string;
|
|
4400
|
+
fileRef: {
|
|
4401
|
+
blobId: string;
|
|
4402
|
+
digest: string;
|
|
4403
|
+
sizeBytes: number;
|
|
4404
|
+
fileName?: string | undefined;
|
|
4405
|
+
mediaType?: string | undefined;
|
|
4406
|
+
logicalPath?: string | undefined;
|
|
4407
|
+
};
|
|
4408
|
+
} | undefined;
|
|
3881
4409
|
} | {
|
|
3882
4410
|
type: "tool-call";
|
|
3883
4411
|
input: import("./common").JsonValue;
|
|
@@ -3925,7 +4453,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3925
4453
|
} | {
|
|
3926
4454
|
error: {
|
|
3927
4455
|
at: string;
|
|
3928
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
3929
4457
|
message: string;
|
|
3930
4458
|
retryable: boolean;
|
|
3931
4459
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3959,6 +4487,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3959
4487
|
type: "user" | "serviceAccount" | "system";
|
|
3960
4488
|
} | undefined;
|
|
3961
4489
|
compaction?: {
|
|
4490
|
+
reason: "threshold" | "overflow";
|
|
3962
4491
|
createdAt: string;
|
|
3963
4492
|
checkpointId: string;
|
|
3964
4493
|
summary: string;
|
|
@@ -4346,7 +4875,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4346
4875
|
severity: "error" | "warning";
|
|
4347
4876
|
scope: "run";
|
|
4348
4877
|
}>, "many">>;
|
|
4349
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
4878
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
4350
4879
|
attempt: z.ZodNumber;
|
|
4351
4880
|
streamId: z.ZodString;
|
|
4352
4881
|
createdAt: z.ZodString;
|
|
@@ -4362,7 +4891,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4362
4891
|
attempt: number;
|
|
4363
4892
|
triggerMessageId: string;
|
|
4364
4893
|
streamId: string;
|
|
4365
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
4894
|
+
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;
|
|
4366
4895
|
requestedBy?: {
|
|
4367
4896
|
id: string;
|
|
4368
4897
|
type: "user" | "serviceAccount";
|
|
@@ -4423,7 +4952,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4423
4952
|
attempt: number;
|
|
4424
4953
|
triggerMessageId: string;
|
|
4425
4954
|
streamId: string;
|
|
4426
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
4955
|
+
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;
|
|
4427
4956
|
requestedBy?: {
|
|
4428
4957
|
id: string;
|
|
4429
4958
|
type: "user" | "serviceAccount";
|
|
@@ -4619,7 +5148,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4619
5148
|
severity: "error" | "warning";
|
|
4620
5149
|
scope: "run";
|
|
4621
5150
|
}>, "many">>;
|
|
4622
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
5151
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
4623
5152
|
attempt: z.ZodNumber;
|
|
4624
5153
|
streamId: z.ZodString;
|
|
4625
5154
|
createdAt: z.ZodString;
|
|
@@ -4635,7 +5164,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4635
5164
|
attempt: number;
|
|
4636
5165
|
triggerMessageId: string;
|
|
4637
5166
|
streamId: string;
|
|
4638
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5167
|
+
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;
|
|
4639
5168
|
requestedBy?: {
|
|
4640
5169
|
id: string;
|
|
4641
5170
|
type: "user" | "serviceAccount";
|
|
@@ -4696,7 +5225,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4696
5225
|
attempt: number;
|
|
4697
5226
|
triggerMessageId: string;
|
|
4698
5227
|
streamId: string;
|
|
4699
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5228
|
+
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;
|
|
4700
5229
|
requestedBy?: {
|
|
4701
5230
|
id: string;
|
|
4702
5231
|
type: "user" | "serviceAccount";
|
|
@@ -4759,7 +5288,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4759
5288
|
attempt: number;
|
|
4760
5289
|
triggerMessageId: string;
|
|
4761
5290
|
streamId: string;
|
|
4762
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5291
|
+
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;
|
|
4763
5292
|
requestedBy?: {
|
|
4764
5293
|
id: string;
|
|
4765
5294
|
type: "user" | "serviceAccount";
|
|
@@ -4822,7 +5351,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4822
5351
|
attempt: number;
|
|
4823
5352
|
triggerMessageId: string;
|
|
4824
5353
|
streamId: string;
|
|
4825
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5354
|
+
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;
|
|
4826
5355
|
requestedBy?: {
|
|
4827
5356
|
id: string;
|
|
4828
5357
|
type: "user" | "serviceAccount";
|
|
@@ -5019,7 +5548,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5019
5548
|
severity: "error" | "warning";
|
|
5020
5549
|
scope: "run";
|
|
5021
5550
|
}>, "many">>;
|
|
5022
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
5551
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
5023
5552
|
attempt: z.ZodNumber;
|
|
5024
5553
|
streamId: z.ZodString;
|
|
5025
5554
|
createdAt: z.ZodString;
|
|
@@ -5035,7 +5564,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5035
5564
|
attempt: number;
|
|
5036
5565
|
triggerMessageId: string;
|
|
5037
5566
|
streamId: string;
|
|
5038
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5567
|
+
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;
|
|
5039
5568
|
requestedBy?: {
|
|
5040
5569
|
id: string;
|
|
5041
5570
|
type: "user" | "serviceAccount";
|
|
@@ -5096,7 +5625,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5096
5625
|
attempt: number;
|
|
5097
5626
|
triggerMessageId: string;
|
|
5098
5627
|
streamId: string;
|
|
5099
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5628
|
+
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;
|
|
5100
5629
|
requestedBy?: {
|
|
5101
5630
|
id: string;
|
|
5102
5631
|
type: "user" | "serviceAccount";
|
|
@@ -5159,7 +5688,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5159
5688
|
attempt: number;
|
|
5160
5689
|
triggerMessageId: string;
|
|
5161
5690
|
streamId: string;
|
|
5162
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5691
|
+
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;
|
|
5163
5692
|
requestedBy?: {
|
|
5164
5693
|
id: string;
|
|
5165
5694
|
type: "user" | "serviceAccount";
|
|
@@ -5222,7 +5751,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5222
5751
|
attempt: number;
|
|
5223
5752
|
triggerMessageId: string;
|
|
5224
5753
|
streamId: string;
|
|
5225
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
5754
|
+
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;
|
|
5226
5755
|
requestedBy?: {
|
|
5227
5756
|
id: string;
|
|
5228
5757
|
type: "user" | "serviceAccount";
|
|
@@ -5413,7 +5942,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5413
5942
|
}>, z.ZodObject<{
|
|
5414
5943
|
kind: z.ZodLiteral<"error">;
|
|
5415
5944
|
error: z.ZodObject<{
|
|
5416
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.execution_failed" | "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")[]]>;
|
|
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")[]]>;
|
|
5417
5946
|
message: z.ZodString;
|
|
5418
5947
|
retryable: z.ZodBoolean;
|
|
5419
5948
|
at: z.ZodString;
|
|
@@ -5423,7 +5952,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5423
5952
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5424
5953
|
}, "strip", z.ZodTypeAny, {
|
|
5425
5954
|
at: string;
|
|
5426
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5427
5956
|
message: string;
|
|
5428
5957
|
retryable: boolean;
|
|
5429
5958
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5432,7 +5961,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5432
5961
|
truncated?: true | undefined;
|
|
5433
5962
|
}, {
|
|
5434
5963
|
at: string;
|
|
5435
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5436
5965
|
message: string;
|
|
5437
5966
|
retryable: boolean;
|
|
5438
5967
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5443,7 +5972,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5443
5972
|
}, "strip", z.ZodTypeAny, {
|
|
5444
5973
|
error: {
|
|
5445
5974
|
at: string;
|
|
5446
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5447
5976
|
message: string;
|
|
5448
5977
|
retryable: boolean;
|
|
5449
5978
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5455,7 +5984,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5455
5984
|
}, {
|
|
5456
5985
|
error: {
|
|
5457
5986
|
at: string;
|
|
5458
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5459
5988
|
message: string;
|
|
5460
5989
|
retryable: boolean;
|
|
5461
5990
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5520,7 +6049,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5520
6049
|
} | {
|
|
5521
6050
|
error: {
|
|
5522
6051
|
at: string;
|
|
5523
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5524
6053
|
message: string;
|
|
5525
6054
|
retryable: boolean;
|
|
5526
6055
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5584,7 +6113,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5584
6113
|
} | {
|
|
5585
6114
|
error: {
|
|
5586
6115
|
at: string;
|
|
5587
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5588
6117
|
message: string;
|
|
5589
6118
|
retryable: boolean;
|
|
5590
6119
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5739,7 +6268,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5739
6268
|
severity: "error" | "warning";
|
|
5740
6269
|
scope: "run";
|
|
5741
6270
|
}>, "many">>;
|
|
5742
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
6271
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
5743
6272
|
attempt: z.ZodNumber;
|
|
5744
6273
|
streamId: z.ZodString;
|
|
5745
6274
|
createdAt: z.ZodString;
|
|
@@ -5755,7 +6284,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5755
6284
|
attempt: number;
|
|
5756
6285
|
triggerMessageId: string;
|
|
5757
6286
|
streamId: string;
|
|
5758
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6287
|
+
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;
|
|
5759
6288
|
requestedBy?: {
|
|
5760
6289
|
id: string;
|
|
5761
6290
|
type: "user" | "serviceAccount";
|
|
@@ -5816,7 +6345,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5816
6345
|
attempt: number;
|
|
5817
6346
|
triggerMessageId: string;
|
|
5818
6347
|
streamId: string;
|
|
5819
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6348
|
+
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;
|
|
5820
6349
|
requestedBy?: {
|
|
5821
6350
|
id: string;
|
|
5822
6351
|
type: "user" | "serviceAccount";
|
|
@@ -5943,7 +6472,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5943
6472
|
} | {
|
|
5944
6473
|
error: {
|
|
5945
6474
|
at: string;
|
|
5946
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
5947
6476
|
message: string;
|
|
5948
6477
|
retryable: boolean;
|
|
5949
6478
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5964,7 +6493,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5964
6493
|
attempt: number;
|
|
5965
6494
|
triggerMessageId: string;
|
|
5966
6495
|
streamId: string;
|
|
5967
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6496
|
+
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;
|
|
5968
6497
|
requestedBy?: {
|
|
5969
6498
|
id: string;
|
|
5970
6499
|
type: "user" | "serviceAccount";
|
|
@@ -6077,7 +6606,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6077
6606
|
} | {
|
|
6078
6607
|
error: {
|
|
6079
6608
|
at: string;
|
|
6080
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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";
|
|
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";
|
|
6081
6610
|
message: string;
|
|
6082
6611
|
retryable: boolean;
|
|
6083
6612
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6098,7 +6627,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6098
6627
|
attempt: number;
|
|
6099
6628
|
triggerMessageId: string;
|
|
6100
6629
|
streamId: string;
|
|
6101
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6630
|
+
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;
|
|
6102
6631
|
requestedBy?: {
|
|
6103
6632
|
id: string;
|
|
6104
6633
|
type: "user" | "serviceAccount";
|
|
@@ -6301,7 +6830,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6301
6830
|
severity: "error" | "warning";
|
|
6302
6831
|
scope: "run";
|
|
6303
6832
|
}>, "many">>;
|
|
6304
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
6833
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
6305
6834
|
attempt: z.ZodNumber;
|
|
6306
6835
|
streamId: z.ZodString;
|
|
6307
6836
|
createdAt: z.ZodString;
|
|
@@ -6317,7 +6846,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6317
6846
|
attempt: number;
|
|
6318
6847
|
triggerMessageId: string;
|
|
6319
6848
|
streamId: string;
|
|
6320
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6849
|
+
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;
|
|
6321
6850
|
requestedBy?: {
|
|
6322
6851
|
id: string;
|
|
6323
6852
|
type: "user" | "serviceAccount";
|
|
@@ -6378,7 +6907,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6378
6907
|
attempt: number;
|
|
6379
6908
|
triggerMessageId: string;
|
|
6380
6909
|
streamId: string;
|
|
6381
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6910
|
+
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;
|
|
6382
6911
|
requestedBy?: {
|
|
6383
6912
|
id: string;
|
|
6384
6913
|
type: "user" | "serviceAccount";
|
|
@@ -6441,7 +6970,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6441
6970
|
attempt: number;
|
|
6442
6971
|
triggerMessageId: string;
|
|
6443
6972
|
streamId: string;
|
|
6444
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
6973
|
+
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;
|
|
6445
6974
|
requestedBy?: {
|
|
6446
6975
|
id: string;
|
|
6447
6976
|
type: "user" | "serviceAccount";
|
|
@@ -6504,7 +7033,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6504
7033
|
attempt: number;
|
|
6505
7034
|
triggerMessageId: string;
|
|
6506
7035
|
streamId: string;
|
|
6507
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7036
|
+
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;
|
|
6508
7037
|
requestedBy?: {
|
|
6509
7038
|
id: string;
|
|
6510
7039
|
type: "user" | "serviceAccount";
|
|
@@ -6557,6 +7086,130 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6557
7086
|
}[] | undefined;
|
|
6558
7087
|
};
|
|
6559
7088
|
}>;
|
|
7089
|
+
export declare const AgentThreadContextQuerySchema: z.ZodObject<{
|
|
7090
|
+
/** The model to measure the conversation against, with `modelId`. Omitted: its latest turn's. */
|
|
7091
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
7092
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
7093
|
+
}, "strip", z.ZodTypeAny, {
|
|
7094
|
+
modelId?: string | undefined;
|
|
7095
|
+
provider?: string | undefined;
|
|
7096
|
+
}, {
|
|
7097
|
+
modelId?: string | undefined;
|
|
7098
|
+
provider?: string | undefined;
|
|
7099
|
+
}>;
|
|
7100
|
+
export declare const AgentThreadContextSchema: z.ZodObject<{
|
|
7101
|
+
/** The model the limits are this one's: the one asked for, else the latest turn's or the default. */
|
|
7102
|
+
model: z.ZodObject<{
|
|
7103
|
+
provider: z.ZodString;
|
|
7104
|
+
modelId: z.ZodString;
|
|
7105
|
+
}, "strip", z.ZodTypeAny, {
|
|
7106
|
+
modelId: string;
|
|
7107
|
+
provider: string;
|
|
7108
|
+
}, {
|
|
7109
|
+
modelId: string;
|
|
7110
|
+
provider: string;
|
|
7111
|
+
}>;
|
|
7112
|
+
windowTokens: z.ZodNumber;
|
|
7113
|
+
/** The window less the output reserve: past it, the conversation is condensed before a call. */
|
|
7114
|
+
limitTokens: z.ZodNumber;
|
|
7115
|
+
/** What the next request weighs, as the worker estimates it. Absent before the first answer. */
|
|
7116
|
+
usedTokens: z.ZodOptional<z.ZodNumber>;
|
|
7117
|
+
/**
|
|
7118
|
+
* `usedTokens` by part, in a fixed order: the prompt's parts, the tools, then the history's.
|
|
7119
|
+
* They add up to `usedTokens`, which is counted; the split is an estimate by each part's size.
|
|
7120
|
+
*/
|
|
7121
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7122
|
+
part: z.ZodEnum<["system", "instructions", "memory", "skills", "ontology", "tools", "summary", "messages", "toolResults", "files"]>;
|
|
7123
|
+
tokens: z.ZodNumber;
|
|
7124
|
+
}, "strip", z.ZodTypeAny, {
|
|
7125
|
+
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "memory" | "skills" | "toolResults";
|
|
7126
|
+
tokens: number;
|
|
7127
|
+
}, {
|
|
7128
|
+
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "memory" | "skills" | "toolResults";
|
|
7129
|
+
tokens: number;
|
|
7130
|
+
}>, "many">>;
|
|
7131
|
+
/** The call the conversation's history ends with, as the provider counted it. */
|
|
7132
|
+
lastCall: z.ZodOptional<z.ZodObject<{
|
|
7133
|
+
inputTokens: z.ZodNumber;
|
|
7134
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
7135
|
+
cacheReadInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
7136
|
+
occurredAt: z.ZodString;
|
|
7137
|
+
}, "strip", z.ZodTypeAny, {
|
|
7138
|
+
inputTokens: number;
|
|
7139
|
+
occurredAt: string;
|
|
7140
|
+
outputTokens?: number | undefined;
|
|
7141
|
+
cacheReadInputTokens?: number | undefined;
|
|
7142
|
+
}, {
|
|
7143
|
+
inputTokens: number;
|
|
7144
|
+
occurredAt: string;
|
|
7145
|
+
outputTokens?: number | undefined;
|
|
7146
|
+
cacheReadInputTokens?: number | undefined;
|
|
7147
|
+
}>>;
|
|
7148
|
+
lastCompaction: z.ZodOptional<z.ZodObject<{
|
|
7149
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
7150
|
+
createdAt: z.ZodString;
|
|
7151
|
+
estimatedInputTokensBefore: z.ZodNumber;
|
|
7152
|
+
estimatedInputTokensAfter: z.ZodNumber;
|
|
7153
|
+
}, "strip", z.ZodTypeAny, {
|
|
7154
|
+
reason: "threshold" | "overflow";
|
|
7155
|
+
createdAt: string;
|
|
7156
|
+
estimatedInputTokensBefore: number;
|
|
7157
|
+
estimatedInputTokensAfter: number;
|
|
7158
|
+
}, {
|
|
7159
|
+
reason: "threshold" | "overflow";
|
|
7160
|
+
createdAt: string;
|
|
7161
|
+
estimatedInputTokensBefore: number;
|
|
7162
|
+
estimatedInputTokensAfter: number;
|
|
7163
|
+
}>>;
|
|
7164
|
+
}, "strip", z.ZodTypeAny, {
|
|
7165
|
+
model: {
|
|
7166
|
+
modelId: string;
|
|
7167
|
+
provider: string;
|
|
7168
|
+
};
|
|
7169
|
+
windowTokens: number;
|
|
7170
|
+
limitTokens: number;
|
|
7171
|
+
parts?: {
|
|
7172
|
+
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "memory" | "skills" | "toolResults";
|
|
7173
|
+
tokens: number;
|
|
7174
|
+
}[] | undefined;
|
|
7175
|
+
usedTokens?: number | undefined;
|
|
7176
|
+
lastCall?: {
|
|
7177
|
+
inputTokens: number;
|
|
7178
|
+
occurredAt: string;
|
|
7179
|
+
outputTokens?: number | undefined;
|
|
7180
|
+
cacheReadInputTokens?: number | undefined;
|
|
7181
|
+
} | undefined;
|
|
7182
|
+
lastCompaction?: {
|
|
7183
|
+
reason: "threshold" | "overflow";
|
|
7184
|
+
createdAt: string;
|
|
7185
|
+
estimatedInputTokensBefore: number;
|
|
7186
|
+
estimatedInputTokensAfter: number;
|
|
7187
|
+
} | undefined;
|
|
7188
|
+
}, {
|
|
7189
|
+
model: {
|
|
7190
|
+
modelId: string;
|
|
7191
|
+
provider: string;
|
|
7192
|
+
};
|
|
7193
|
+
windowTokens: number;
|
|
7194
|
+
limitTokens: number;
|
|
7195
|
+
parts?: {
|
|
7196
|
+
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "memory" | "skills" | "toolResults";
|
|
7197
|
+
tokens: number;
|
|
7198
|
+
}[] | undefined;
|
|
7199
|
+
usedTokens?: number | undefined;
|
|
7200
|
+
lastCall?: {
|
|
7201
|
+
inputTokens: number;
|
|
7202
|
+
occurredAt: string;
|
|
7203
|
+
outputTokens?: number | undefined;
|
|
7204
|
+
cacheReadInputTokens?: number | undefined;
|
|
7205
|
+
} | undefined;
|
|
7206
|
+
lastCompaction?: {
|
|
7207
|
+
reason: "threshold" | "overflow";
|
|
7208
|
+
createdAt: string;
|
|
7209
|
+
estimatedInputTokensBefore: number;
|
|
7210
|
+
estimatedInputTokensAfter: number;
|
|
7211
|
+
} | undefined;
|
|
7212
|
+
}>;
|
|
6560
7213
|
export declare const AgentRunListQuerySchema: z.ZodObject<{
|
|
6561
7214
|
status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
|
|
6562
7215
|
limit: z.ZodOptional<z.ZodString>;
|
|
@@ -6717,7 +7370,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6717
7370
|
severity: "error" | "warning";
|
|
6718
7371
|
scope: "run";
|
|
6719
7372
|
}>, "many">>;
|
|
6720
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
7373
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
6721
7374
|
attempt: z.ZodNumber;
|
|
6722
7375
|
streamId: z.ZodString;
|
|
6723
7376
|
createdAt: z.ZodString;
|
|
@@ -6733,7 +7386,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6733
7386
|
attempt: number;
|
|
6734
7387
|
triggerMessageId: string;
|
|
6735
7388
|
streamId: string;
|
|
6736
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7389
|
+
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;
|
|
6737
7390
|
requestedBy?: {
|
|
6738
7391
|
id: string;
|
|
6739
7392
|
type: "user" | "serviceAccount";
|
|
@@ -6794,7 +7447,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6794
7447
|
attempt: number;
|
|
6795
7448
|
triggerMessageId: string;
|
|
6796
7449
|
streamId: string;
|
|
6797
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7450
|
+
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;
|
|
6798
7451
|
requestedBy?: {
|
|
6799
7452
|
id: string;
|
|
6800
7453
|
type: "user" | "serviceAccount";
|
|
@@ -6859,7 +7512,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6859
7512
|
attempt: number;
|
|
6860
7513
|
triggerMessageId: string;
|
|
6861
7514
|
streamId: string;
|
|
6862
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7515
|
+
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;
|
|
6863
7516
|
requestedBy?: {
|
|
6864
7517
|
id: string;
|
|
6865
7518
|
type: "user" | "serviceAccount";
|
|
@@ -6924,7 +7577,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6924
7577
|
attempt: number;
|
|
6925
7578
|
triggerMessageId: string;
|
|
6926
7579
|
streamId: string;
|
|
6927
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7580
|
+
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;
|
|
6928
7581
|
requestedBy?: {
|
|
6929
7582
|
id: string;
|
|
6930
7583
|
type: "user" | "serviceAccount";
|
|
@@ -7031,7 +7684,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7031
7684
|
parentRunId: z.ZodString;
|
|
7032
7685
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
7033
7686
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
7034
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
7687
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
7035
7688
|
modelId: z.ZodOptional<z.ZodString>;
|
|
7036
7689
|
attempt: z.ZodNumber;
|
|
7037
7690
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -7202,7 +7855,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7202
7855
|
attempt: number;
|
|
7203
7856
|
parentRunId: string;
|
|
7204
7857
|
streamId: string;
|
|
7205
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7858
|
+
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;
|
|
7206
7859
|
modelId?: string | undefined;
|
|
7207
7860
|
startedAt?: string | undefined;
|
|
7208
7861
|
completedAt?: string | undefined;
|
|
@@ -7254,7 +7907,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7254
7907
|
attempt: number;
|
|
7255
7908
|
parentRunId: string;
|
|
7256
7909
|
streamId: string;
|
|
7257
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
7910
|
+
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;
|
|
7258
7911
|
modelId?: string | undefined;
|
|
7259
7912
|
startedAt?: string | undefined;
|
|
7260
7913
|
completedAt?: string | undefined;
|
|
@@ -7435,7 +8088,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7435
8088
|
* `awaiting` says what it waits for, or `ended` why it will not continue.
|
|
7436
8089
|
*/
|
|
7437
8090
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
7438
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8091
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
7439
8092
|
awaiting: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7440
8093
|
type: z.ZodLiteral<"approval">;
|
|
7441
8094
|
/** Its calls still waiting for the turn's requester. */
|
|
@@ -7573,7 +8226,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7573
8226
|
parentRunId: z.ZodString;
|
|
7574
8227
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
7575
8228
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
7576
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8229
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
7577
8230
|
modelId: z.ZodOptional<z.ZodString>;
|
|
7578
8231
|
attempt: z.ZodNumber;
|
|
7579
8232
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -7744,7 +8397,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7744
8397
|
attempt: number;
|
|
7745
8398
|
parentRunId: string;
|
|
7746
8399
|
streamId: string;
|
|
7747
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8400
|
+
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;
|
|
7748
8401
|
modelId?: string | undefined;
|
|
7749
8402
|
startedAt?: string | undefined;
|
|
7750
8403
|
completedAt?: string | undefined;
|
|
@@ -7796,7 +8449,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7796
8449
|
attempt: number;
|
|
7797
8450
|
parentRunId: string;
|
|
7798
8451
|
streamId: string;
|
|
7799
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8452
|
+
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;
|
|
7800
8453
|
modelId?: string | undefined;
|
|
7801
8454
|
startedAt?: string | undefined;
|
|
7802
8455
|
completedAt?: string | undefined;
|
|
@@ -7857,7 +8510,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7857
8510
|
attempt: number;
|
|
7858
8511
|
parentRunId: string;
|
|
7859
8512
|
streamId: string;
|
|
7860
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8513
|
+
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;
|
|
7861
8514
|
modelId?: string | undefined;
|
|
7862
8515
|
startedAt?: string | undefined;
|
|
7863
8516
|
completedAt?: string | undefined;
|
|
@@ -7920,7 +8573,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7920
8573
|
logicalPath?: string | undefined;
|
|
7921
8574
|
};
|
|
7922
8575
|
}[];
|
|
7923
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8576
|
+
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;
|
|
7924
8577
|
completedAt?: string | undefined;
|
|
7925
8578
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
7926
8579
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -7982,7 +8635,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7982
8635
|
attempt: number;
|
|
7983
8636
|
parentRunId: string;
|
|
7984
8637
|
streamId: string;
|
|
7985
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8638
|
+
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;
|
|
7986
8639
|
modelId?: string | undefined;
|
|
7987
8640
|
startedAt?: string | undefined;
|
|
7988
8641
|
completedAt?: string | undefined;
|
|
@@ -8045,7 +8698,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8045
8698
|
logicalPath?: string | undefined;
|
|
8046
8699
|
};
|
|
8047
8700
|
}[];
|
|
8048
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
8701
|
+
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;
|
|
8049
8702
|
completedAt?: string | undefined;
|
|
8050
8703
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8051
8704
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8183,7 +8836,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8183
8836
|
* `awaiting` says what it waits for, or `ended` why it will not continue.
|
|
8184
8837
|
*/
|
|
8185
8838
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
8186
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8839
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8187
8840
|
awaiting: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8188
8841
|
type: z.ZodLiteral<"approval">;
|
|
8189
8842
|
/** Its calls still waiting for the turn's requester. */
|
|
@@ -8321,7 +8974,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8321
8974
|
parentRunId: z.ZodString;
|
|
8322
8975
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
8323
8976
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
8324
|
-
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8977
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
8325
8978
|
modelId: z.ZodOptional<z.ZodString>;
|
|
8326
8979
|
attempt: z.ZodNumber;
|
|
8327
8980
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -8492,7 +9145,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8492
9145
|
attempt: number;
|
|
8493
9146
|
parentRunId: string;
|
|
8494
9147
|
streamId: string;
|
|
8495
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9148
|
+
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;
|
|
8496
9149
|
modelId?: string | undefined;
|
|
8497
9150
|
startedAt?: string | undefined;
|
|
8498
9151
|
completedAt?: string | undefined;
|
|
@@ -8544,7 +9197,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8544
9197
|
attempt: number;
|
|
8545
9198
|
parentRunId: string;
|
|
8546
9199
|
streamId: string;
|
|
8547
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9200
|
+
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;
|
|
8548
9201
|
modelId?: string | undefined;
|
|
8549
9202
|
startedAt?: string | undefined;
|
|
8550
9203
|
completedAt?: string | undefined;
|
|
@@ -8605,7 +9258,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8605
9258
|
attempt: number;
|
|
8606
9259
|
parentRunId: string;
|
|
8607
9260
|
streamId: string;
|
|
8608
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9261
|
+
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;
|
|
8609
9262
|
modelId?: string | undefined;
|
|
8610
9263
|
startedAt?: string | undefined;
|
|
8611
9264
|
completedAt?: string | undefined;
|
|
@@ -8668,7 +9321,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8668
9321
|
logicalPath?: string | undefined;
|
|
8669
9322
|
};
|
|
8670
9323
|
}[];
|
|
8671
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9324
|
+
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;
|
|
8672
9325
|
completedAt?: string | undefined;
|
|
8673
9326
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8674
9327
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8730,7 +9383,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8730
9383
|
attempt: number;
|
|
8731
9384
|
parentRunId: string;
|
|
8732
9385
|
streamId: string;
|
|
8733
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9386
|
+
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;
|
|
8734
9387
|
modelId?: string | undefined;
|
|
8735
9388
|
startedAt?: string | undefined;
|
|
8736
9389
|
completedAt?: string | undefined;
|
|
@@ -8793,7 +9446,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8793
9446
|
logicalPath?: string | undefined;
|
|
8794
9447
|
};
|
|
8795
9448
|
}[];
|
|
8796
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9449
|
+
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;
|
|
8797
9450
|
completedAt?: string | undefined;
|
|
8798
9451
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8799
9452
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8857,7 +9510,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8857
9510
|
attempt: number;
|
|
8858
9511
|
parentRunId: string;
|
|
8859
9512
|
streamId: string;
|
|
8860
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9513
|
+
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;
|
|
8861
9514
|
modelId?: string | undefined;
|
|
8862
9515
|
startedAt?: string | undefined;
|
|
8863
9516
|
completedAt?: string | undefined;
|
|
@@ -8920,7 +9573,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8920
9573
|
logicalPath?: string | undefined;
|
|
8921
9574
|
};
|
|
8922
9575
|
}[];
|
|
8923
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9576
|
+
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;
|
|
8924
9577
|
completedAt?: string | undefined;
|
|
8925
9578
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8926
9579
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8984,7 +9637,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8984
9637
|
attempt: number;
|
|
8985
9638
|
parentRunId: string;
|
|
8986
9639
|
streamId: string;
|
|
8987
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9640
|
+
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;
|
|
8988
9641
|
modelId?: string | undefined;
|
|
8989
9642
|
startedAt?: string | undefined;
|
|
8990
9643
|
completedAt?: string | undefined;
|
|
@@ -9047,7 +9700,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9047
9700
|
logicalPath?: string | undefined;
|
|
9048
9701
|
};
|
|
9049
9702
|
}[];
|
|
9050
|
-
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
9703
|
+
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;
|
|
9051
9704
|
completedAt?: string | undefined;
|
|
9052
9705
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
9053
9706
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|