@sixb/server 0.1.25 → 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/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/run-token.d.ts +28 -0
- package/dist/auth/run-token.d.ts.map +1 -0
- package/dist/auth/scope.d.ts +11 -13
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4999 -4151
- package/dist/index.js.map +47 -43
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +1 -1
- package/dist/routes/agent-approval-gate.d.ts +7 -4
- package/dist/routes/agent-approval-gate.d.ts.map +1 -1
- package/dist/routes/agent-approvals.d.ts +14 -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 +338 -0
- package/dist/routes/agent-computers.d.ts.map +1 -0
- package/dist/routes/agent-runners.d.ts +74 -0
- package/dist/routes/agent-runners.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +250 -16
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +5 -28
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +10 -1
- 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 +25 -4
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -2
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +124 -122
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/shared-access.d.ts +2 -2
- package/dist/routes/syncs.d.ts +34 -34
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +0 -50
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/users.d.ts +1 -0
- package/dist/routes/users.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +25 -14
- 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 +819 -88
- 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 +49 -2
- 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 +747 -733
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/shared-access.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +24 -24
- package/dist/schemas/telemetry.d.ts +0 -13
- package/dist/schemas/telemetry.d.ts.map +1 -1
- package/dist/schemas/users.d.ts +8 -0
- package/dist/schemas/users.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 +5 -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/auth/public-routes.ts +0 -6
- package/src/auth/run-token.ts +327 -0
- package/src/auth/scope.ts +16 -37
- package/src/index.ts +1 -0
- package/src/registerRoutes.ts +4 -2
- package/src/routes/agent-approval-gate.ts +40 -14
- package/src/routes/agent-approvals.ts +3 -3
- package/src/routes/agent-computers.ts +348 -0
- package/src/routes/agent-runners.ts +205 -0
- package/src/routes/agents.ts +193 -26
- package/src/routes/ai-accounting.ts +149 -12
- package/src/routes/artifacts.ts +55 -11
- package/src/routes/auth.ts +24 -2
- package/src/routes/datasets.ts +60 -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/pipelines.ts +5 -0
- package/src/routes/syncs.ts +4 -0
- package/src/routes/telemetry.ts +1 -42
- package/src/routes/users.ts +15 -2
- package/src/routes/ws/agents.ts +10 -1
- package/src/schemas/agents.ts +131 -1
- package/src/schemas/ai-accounting.ts +78 -15
- package/src/schemas/artifacts.ts +1 -1
- 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/projections.ts +2 -0
- package/src/schemas/telemetry.ts +0 -6
- package/src/schemas/users.ts +6 -0
- package/src/server.ts +53 -15
- package/src/utils/request-body.ts +10 -4
- package/src/utils/request-timing.ts +136 -0
- package/dist/routes/agent-api-gateway.d.ts +0 -4
- package/dist/routes/agent-api-gateway.d.ts.map +0 -1
- package/src/routes/agent-api-gateway.ts +0 -404
package/dist/schemas/agents.d.ts
CHANGED
|
@@ -352,18 +352,66 @@ 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>>>;
|
|
376
|
+
/** Run its turns on your computer, which claims them, instead of in the cloud. */
|
|
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
|
+
}>>;
|
|
359
395
|
}, "strict", z.ZodTypeAny, {
|
|
360
396
|
title?: string | undefined;
|
|
361
397
|
threadId?: string | undefined;
|
|
362
398
|
sandbox?: Record<string, import("./common").JsonValue> | undefined;
|
|
399
|
+
computer?: {
|
|
400
|
+
id: string;
|
|
401
|
+
name: string;
|
|
402
|
+
folder: string;
|
|
403
|
+
} | undefined;
|
|
404
|
+
runsOn?: "computer" | undefined;
|
|
363
405
|
}, {
|
|
364
406
|
title?: string | undefined;
|
|
365
407
|
threadId?: string | undefined;
|
|
366
408
|
sandbox?: Record<string, import("./common").JsonValue> | undefined;
|
|
409
|
+
computer?: {
|
|
410
|
+
id: string;
|
|
411
|
+
name: string;
|
|
412
|
+
folder: string;
|
|
413
|
+
} | undefined;
|
|
414
|
+
runsOn?: "computer" | undefined;
|
|
367
415
|
}>;
|
|
368
416
|
/** A user the thread's owner added: they read the whole conversation and talk in it. */
|
|
369
417
|
/** A principal with its account's display name, as message authors and thread people are named. */
|
|
@@ -539,6 +587,30 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
539
587
|
}>, "many">;
|
|
540
588
|
title: z.ZodOptional<z.ZodString>;
|
|
541
589
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
590
|
+
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
591
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
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>;
|
|
542
614
|
status: z.ZodEnum<["active", "archived"]>;
|
|
543
615
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
544
616
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -585,6 +657,13 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
585
657
|
title?: string | undefined;
|
|
586
658
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
587
659
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
660
|
+
computer?: {
|
|
661
|
+
id: string;
|
|
662
|
+
name: string;
|
|
663
|
+
folder: string;
|
|
664
|
+
online: boolean;
|
|
665
|
+
} | undefined;
|
|
666
|
+
runsOn?: "computer" | undefined;
|
|
588
667
|
sandboxState?: {
|
|
589
668
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
590
669
|
name: string;
|
|
@@ -596,6 +675,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
596
675
|
spawnedBy: string;
|
|
597
676
|
} | undefined;
|
|
598
677
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
678
|
+
movedAt?: string | undefined;
|
|
599
679
|
lastMessageAt?: string | undefined;
|
|
600
680
|
}, {
|
|
601
681
|
status: "active" | "archived";
|
|
@@ -630,6 +710,13 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
630
710
|
title?: string | undefined;
|
|
631
711
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
632
712
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
713
|
+
computer?: {
|
|
714
|
+
id: string;
|
|
715
|
+
name: string;
|
|
716
|
+
folder: string;
|
|
717
|
+
online: boolean;
|
|
718
|
+
} | undefined;
|
|
719
|
+
runsOn?: "computer" | undefined;
|
|
633
720
|
sandboxState?: {
|
|
634
721
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
635
722
|
name: string;
|
|
@@ -641,6 +728,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
641
728
|
spawnedBy: string;
|
|
642
729
|
} | undefined;
|
|
643
730
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
731
|
+
movedAt?: string | undefined;
|
|
644
732
|
lastMessageAt?: string | undefined;
|
|
645
733
|
}>;
|
|
646
734
|
export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
@@ -753,6 +841,30 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
753
841
|
}>, "many">;
|
|
754
842
|
title: z.ZodOptional<z.ZodString>;
|
|
755
843
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
844
|
+
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
845
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
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>;
|
|
756
868
|
status: z.ZodEnum<["active", "archived"]>;
|
|
757
869
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
758
870
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -799,6 +911,13 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
799
911
|
title?: string | undefined;
|
|
800
912
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
801
913
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
914
|
+
computer?: {
|
|
915
|
+
id: string;
|
|
916
|
+
name: string;
|
|
917
|
+
folder: string;
|
|
918
|
+
online: boolean;
|
|
919
|
+
} | undefined;
|
|
920
|
+
runsOn?: "computer" | undefined;
|
|
802
921
|
sandboxState?: {
|
|
803
922
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
804
923
|
name: string;
|
|
@@ -810,6 +929,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
810
929
|
spawnedBy: string;
|
|
811
930
|
} | undefined;
|
|
812
931
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
932
|
+
movedAt?: string | undefined;
|
|
813
933
|
lastMessageAt?: string | undefined;
|
|
814
934
|
}, {
|
|
815
935
|
status: "active" | "archived";
|
|
@@ -844,6 +964,13 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
844
964
|
title?: string | undefined;
|
|
845
965
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
846
966
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
967
|
+
computer?: {
|
|
968
|
+
id: string;
|
|
969
|
+
name: string;
|
|
970
|
+
folder: string;
|
|
971
|
+
online: boolean;
|
|
972
|
+
} | undefined;
|
|
973
|
+
runsOn?: "computer" | undefined;
|
|
847
974
|
sandboxState?: {
|
|
848
975
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
849
976
|
name: string;
|
|
@@ -855,6 +982,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
855
982
|
spawnedBy: string;
|
|
856
983
|
} | undefined;
|
|
857
984
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
985
|
+
movedAt?: string | undefined;
|
|
858
986
|
lastMessageAt?: string | undefined;
|
|
859
987
|
}>, "many">;
|
|
860
988
|
hasMore: z.ZodBoolean;
|
|
@@ -895,6 +1023,13 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
895
1023
|
title?: string | undefined;
|
|
896
1024
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
897
1025
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1026
|
+
computer?: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
folder: string;
|
|
1030
|
+
online: boolean;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
runsOn?: "computer" | undefined;
|
|
898
1033
|
sandboxState?: {
|
|
899
1034
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
900
1035
|
name: string;
|
|
@@ -906,6 +1041,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
906
1041
|
spawnedBy: string;
|
|
907
1042
|
} | undefined;
|
|
908
1043
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1044
|
+
movedAt?: string | undefined;
|
|
909
1045
|
lastMessageAt?: string | undefined;
|
|
910
1046
|
}[];
|
|
911
1047
|
}, {
|
|
@@ -944,6 +1080,13 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
944
1080
|
title?: string | undefined;
|
|
945
1081
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
946
1082
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1083
|
+
computer?: {
|
|
1084
|
+
id: string;
|
|
1085
|
+
name: string;
|
|
1086
|
+
folder: string;
|
|
1087
|
+
online: boolean;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
runsOn?: "computer" | undefined;
|
|
947
1090
|
sandboxState?: {
|
|
948
1091
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
949
1092
|
name: string;
|
|
@@ -955,6 +1098,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
955
1098
|
spawnedBy: string;
|
|
956
1099
|
} | undefined;
|
|
957
1100
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1101
|
+
movedAt?: string | undefined;
|
|
958
1102
|
lastMessageAt?: string | undefined;
|
|
959
1103
|
}[];
|
|
960
1104
|
}>;
|
|
@@ -1068,6 +1212,30 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1068
1212
|
}>, "many">;
|
|
1069
1213
|
title: z.ZodOptional<z.ZodString>;
|
|
1070
1214
|
sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1215
|
+
/** Its turns run on its owner's computer; absent, in the cloud. */
|
|
1216
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
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>;
|
|
1071
1239
|
status: z.ZodEnum<["active", "archived"]>;
|
|
1072
1240
|
activeRunId: z.ZodNullable<z.ZodString>;
|
|
1073
1241
|
lastMessageAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1114,6 +1282,13 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1114
1282
|
title?: string | undefined;
|
|
1115
1283
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1116
1284
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1285
|
+
computer?: {
|
|
1286
|
+
id: string;
|
|
1287
|
+
name: string;
|
|
1288
|
+
folder: string;
|
|
1289
|
+
online: boolean;
|
|
1290
|
+
} | undefined;
|
|
1291
|
+
runsOn?: "computer" | undefined;
|
|
1117
1292
|
sandboxState?: {
|
|
1118
1293
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
1119
1294
|
name: string;
|
|
@@ -1125,6 +1300,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1125
1300
|
spawnedBy: string;
|
|
1126
1301
|
} | undefined;
|
|
1127
1302
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1303
|
+
movedAt?: string | undefined;
|
|
1128
1304
|
lastMessageAt?: string | undefined;
|
|
1129
1305
|
}, {
|
|
1130
1306
|
status: "active" | "archived";
|
|
@@ -1159,6 +1335,13 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1159
1335
|
title?: string | undefined;
|
|
1160
1336
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1161
1337
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1338
|
+
computer?: {
|
|
1339
|
+
id: string;
|
|
1340
|
+
name: string;
|
|
1341
|
+
folder: string;
|
|
1342
|
+
online: boolean;
|
|
1343
|
+
} | undefined;
|
|
1344
|
+
runsOn?: "computer" | undefined;
|
|
1162
1345
|
sandboxState?: {
|
|
1163
1346
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
1164
1347
|
name: string;
|
|
@@ -1170,6 +1353,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1170
1353
|
spawnedBy: string;
|
|
1171
1354
|
} | undefined;
|
|
1172
1355
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1356
|
+
movedAt?: string | undefined;
|
|
1173
1357
|
lastMessageAt?: string | undefined;
|
|
1174
1358
|
}>;
|
|
1175
1359
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1206,6 +1390,13 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1206
1390
|
title?: string | undefined;
|
|
1207
1391
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1208
1392
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1393
|
+
computer?: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
name: string;
|
|
1396
|
+
folder: string;
|
|
1397
|
+
online: boolean;
|
|
1398
|
+
} | undefined;
|
|
1399
|
+
runsOn?: "computer" | undefined;
|
|
1209
1400
|
sandboxState?: {
|
|
1210
1401
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
1211
1402
|
name: string;
|
|
@@ -1217,6 +1408,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1217
1408
|
spawnedBy: string;
|
|
1218
1409
|
} | undefined;
|
|
1219
1410
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1411
|
+
movedAt?: string | undefined;
|
|
1220
1412
|
lastMessageAt?: string | undefined;
|
|
1221
1413
|
};
|
|
1222
1414
|
}, {
|
|
@@ -1253,6 +1445,13 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1253
1445
|
title?: string | undefined;
|
|
1254
1446
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1255
1447
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
1448
|
+
computer?: {
|
|
1449
|
+
id: string;
|
|
1450
|
+
name: string;
|
|
1451
|
+
folder: string;
|
|
1452
|
+
online: boolean;
|
|
1453
|
+
} | undefined;
|
|
1454
|
+
runsOn?: "computer" | undefined;
|
|
1256
1455
|
sandboxState?: {
|
|
1257
1456
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
1258
1457
|
name: string;
|
|
@@ -1264,9 +1463,89 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1264
1463
|
spawnedBy: string;
|
|
1265
1464
|
} | undefined;
|
|
1266
1465
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1466
|
+
movedAt?: string | undefined;
|
|
1267
1467
|
lastMessageAt?: string | undefined;
|
|
1268
1468
|
};
|
|
1269
1469
|
}>;
|
|
1470
|
+
export declare const MoveAgentThreadToComputerBodySchema: z.ZodObject<{
|
|
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
|
+
}>;
|
|
1524
|
+
}, "strict", z.ZodTypeAny, {
|
|
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[];
|
|
1545
|
+
}, {
|
|
1546
|
+
expiresAt: string;
|
|
1547
|
+
waiting: string[];
|
|
1548
|
+
}>;
|
|
1270
1549
|
export declare const AddAgentThreadParticipantsBodySchema: z.ZodObject<{
|
|
1271
1550
|
/**
|
|
1272
1551
|
* Active users of the project, by id or by their account's email; someone already taking part
|
|
@@ -1449,7 +1728,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1449
1728
|
}>, z.ZodObject<{
|
|
1450
1729
|
kind: z.ZodLiteral<"error">;
|
|
1451
1730
|
error: z.ZodObject<{
|
|
1452
|
-
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")[]]>;
|
|
1453
1732
|
message: z.ZodString;
|
|
1454
1733
|
retryable: z.ZodBoolean;
|
|
1455
1734
|
at: z.ZodString;
|
|
@@ -1459,7 +1738,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1459
1738
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1460
1739
|
}, "strip", z.ZodTypeAny, {
|
|
1461
1740
|
at: string;
|
|
1462
|
-
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";
|
|
1463
1742
|
message: string;
|
|
1464
1743
|
retryable: boolean;
|
|
1465
1744
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1468,7 +1747,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1468
1747
|
truncated?: true | undefined;
|
|
1469
1748
|
}, {
|
|
1470
1749
|
at: string;
|
|
1471
|
-
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";
|
|
1472
1751
|
message: string;
|
|
1473
1752
|
retryable: boolean;
|
|
1474
1753
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1479,7 +1758,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1479
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1480
1759
|
error: {
|
|
1481
1760
|
at: string;
|
|
1482
|
-
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";
|
|
1483
1762
|
message: string;
|
|
1484
1763
|
retryable: boolean;
|
|
1485
1764
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1491,7 +1770,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1491
1770
|
}, {
|
|
1492
1771
|
error: {
|
|
1493
1772
|
at: string;
|
|
1494
|
-
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";
|
|
1495
1774
|
message: string;
|
|
1496
1775
|
retryable: boolean;
|
|
1497
1776
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1551,7 +1830,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1551
1830
|
} | {
|
|
1552
1831
|
error: {
|
|
1553
1832
|
at: string;
|
|
1554
|
-
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";
|
|
1555
1834
|
message: string;
|
|
1556
1835
|
retryable: boolean;
|
|
1557
1836
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1596,7 +1875,7 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1596
1875
|
} | {
|
|
1597
1876
|
error: {
|
|
1598
1877
|
at: string;
|
|
1599
|
-
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";
|
|
1600
1879
|
message: string;
|
|
1601
1880
|
retryable: boolean;
|
|
1602
1881
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1778,6 +2057,55 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1778
2057
|
} & {
|
|
1779
2058
|
state: z.ZodLiteral<"output-available">;
|
|
1780
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
|
+
}>>;
|
|
1781
2109
|
}, "strip", z.ZodTypeAny, {
|
|
1782
2110
|
type: "tool-call";
|
|
1783
2111
|
input: import("./common").JsonValue;
|
|
@@ -1788,6 +2116,17 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1788
2116
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
1789
2117
|
dynamic?: boolean | undefined;
|
|
1790
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;
|
|
1791
2130
|
}, {
|
|
1792
2131
|
type: "tool-call";
|
|
1793
2132
|
input: import("./common").JsonValue;
|
|
@@ -1798,6 +2137,17 @@ export declare const AgentMessagePartSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1798
2137
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
1799
2138
|
dynamic?: boolean | undefined;
|
|
1800
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;
|
|
1801
2151
|
}>, z.ZodObject<{
|
|
1802
2152
|
type: z.ZodLiteral<"tool-call">;
|
|
1803
2153
|
toolCallId: z.ZodString;
|
|
@@ -1873,13 +2223,16 @@ export declare const AgentRunDiagnosticSchema: z.ZodObject<{
|
|
|
1873
2223
|
}>;
|
|
1874
2224
|
export declare const AgentMessageCompactionSchema: z.ZodObject<{
|
|
1875
2225
|
checkpointId: z.ZodString;
|
|
2226
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
1876
2227
|
summary: z.ZodString;
|
|
1877
2228
|
createdAt: z.ZodString;
|
|
1878
2229
|
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
reason: "threshold" | "overflow";
|
|
1879
2231
|
createdAt: string;
|
|
1880
2232
|
checkpointId: string;
|
|
1881
2233
|
summary: string;
|
|
1882
2234
|
}, {
|
|
2235
|
+
reason: "threshold" | "overflow";
|
|
1883
2236
|
createdAt: string;
|
|
1884
2237
|
checkpointId: string;
|
|
1885
2238
|
summary: string;
|
|
@@ -2005,7 +2358,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2005
2358
|
}>, z.ZodObject<{
|
|
2006
2359
|
kind: z.ZodLiteral<"error">;
|
|
2007
2360
|
error: z.ZodObject<{
|
|
2008
|
-
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")[]]>;
|
|
2009
2362
|
message: z.ZodString;
|
|
2010
2363
|
retryable: z.ZodBoolean;
|
|
2011
2364
|
at: z.ZodString;
|
|
@@ -2015,7 +2368,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2015
2368
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2016
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2017
2370
|
at: string;
|
|
2018
|
-
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";
|
|
2019
2372
|
message: string;
|
|
2020
2373
|
retryable: boolean;
|
|
2021
2374
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2024,7 +2377,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2024
2377
|
truncated?: true | undefined;
|
|
2025
2378
|
}, {
|
|
2026
2379
|
at: string;
|
|
2027
|
-
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";
|
|
2028
2381
|
message: string;
|
|
2029
2382
|
retryable: boolean;
|
|
2030
2383
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2035,7 +2388,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2035
2388
|
}, "strip", z.ZodTypeAny, {
|
|
2036
2389
|
error: {
|
|
2037
2390
|
at: string;
|
|
2038
|
-
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";
|
|
2039
2392
|
message: string;
|
|
2040
2393
|
retryable: boolean;
|
|
2041
2394
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2047,7 +2400,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2047
2400
|
}, {
|
|
2048
2401
|
error: {
|
|
2049
2402
|
at: string;
|
|
2050
|
-
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";
|
|
2051
2404
|
message: string;
|
|
2052
2405
|
retryable: boolean;
|
|
2053
2406
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2107,7 +2460,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2107
2460
|
} | {
|
|
2108
2461
|
error: {
|
|
2109
2462
|
at: string;
|
|
2110
|
-
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";
|
|
2111
2464
|
message: string;
|
|
2112
2465
|
retryable: boolean;
|
|
2113
2466
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2152,7 +2505,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2152
2505
|
} | {
|
|
2153
2506
|
error: {
|
|
2154
2507
|
at: string;
|
|
2155
|
-
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";
|
|
2156
2509
|
message: string;
|
|
2157
2510
|
retryable: boolean;
|
|
2158
2511
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2334,6 +2687,55 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2334
2687
|
} & {
|
|
2335
2688
|
state: z.ZodLiteral<"output-available">;
|
|
2336
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
|
+
}>>;
|
|
2337
2739
|
}, "strip", z.ZodTypeAny, {
|
|
2338
2740
|
type: "tool-call";
|
|
2339
2741
|
input: import("./common").JsonValue;
|
|
@@ -2344,6 +2746,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2344
2746
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2345
2747
|
dynamic?: boolean | undefined;
|
|
2346
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;
|
|
2347
2760
|
}, {
|
|
2348
2761
|
type: "tool-call";
|
|
2349
2762
|
input: import("./common").JsonValue;
|
|
@@ -2354,6 +2767,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2354
2767
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2355
2768
|
dynamic?: boolean | undefined;
|
|
2356
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;
|
|
2357
2781
|
}>, z.ZodObject<{
|
|
2358
2782
|
type: z.ZodLiteral<"tool-call">;
|
|
2359
2783
|
toolCallId: z.ZodString;
|
|
@@ -2431,13 +2855,16 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2431
2855
|
/** A durable context summary created before this response's model call. */
|
|
2432
2856
|
compaction: z.ZodOptional<z.ZodObject<{
|
|
2433
2857
|
checkpointId: z.ZodString;
|
|
2858
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
2434
2859
|
summary: z.ZodString;
|
|
2435
2860
|
createdAt: z.ZodString;
|
|
2436
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2862
|
+
reason: "threshold" | "overflow";
|
|
2437
2863
|
createdAt: string;
|
|
2438
2864
|
checkpointId: string;
|
|
2439
2865
|
summary: string;
|
|
2440
2866
|
}, {
|
|
2867
|
+
reason: "threshold" | "overflow";
|
|
2441
2868
|
createdAt: string;
|
|
2442
2869
|
checkpointId: string;
|
|
2443
2870
|
summary: string;
|
|
@@ -2504,6 +2931,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2504
2931
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2505
2932
|
dynamic?: boolean | undefined;
|
|
2506
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;
|
|
2507
2945
|
} | {
|
|
2508
2946
|
type: "tool-call";
|
|
2509
2947
|
input: import("./common").JsonValue;
|
|
@@ -2551,7 +2989,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2551
2989
|
} | {
|
|
2552
2990
|
error: {
|
|
2553
2991
|
at: string;
|
|
2554
|
-
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";
|
|
2555
2993
|
message: string;
|
|
2556
2994
|
retryable: boolean;
|
|
2557
2995
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2585,6 +3023,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2585
3023
|
type: "user" | "serviceAccount" | "system";
|
|
2586
3024
|
} | undefined;
|
|
2587
3025
|
compaction?: {
|
|
3026
|
+
reason: "threshold" | "overflow";
|
|
2588
3027
|
createdAt: string;
|
|
2589
3028
|
checkpointId: string;
|
|
2590
3029
|
summary: string;
|
|
@@ -2648,6 +3087,17 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2648
3087
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
2649
3088
|
dynamic?: boolean | undefined;
|
|
2650
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;
|
|
2651
3101
|
} | {
|
|
2652
3102
|
type: "tool-call";
|
|
2653
3103
|
input: import("./common").JsonValue;
|
|
@@ -2695,7 +3145,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2695
3145
|
} | {
|
|
2696
3146
|
error: {
|
|
2697
3147
|
at: string;
|
|
2698
|
-
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";
|
|
2699
3149
|
message: string;
|
|
2700
3150
|
retryable: boolean;
|
|
2701
3151
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2729,6 +3179,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
2729
3179
|
type: "user" | "serviceAccount" | "system";
|
|
2730
3180
|
} | undefined;
|
|
2731
3181
|
compaction?: {
|
|
3182
|
+
reason: "threshold" | "overflow";
|
|
2732
3183
|
createdAt: string;
|
|
2733
3184
|
checkpointId: string;
|
|
2734
3185
|
summary: string;
|
|
@@ -2873,7 +3324,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2873
3324
|
}>, z.ZodObject<{
|
|
2874
3325
|
kind: z.ZodLiteral<"error">;
|
|
2875
3326
|
error: z.ZodObject<{
|
|
2876
|
-
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")[]]>;
|
|
2877
3328
|
message: z.ZodString;
|
|
2878
3329
|
retryable: z.ZodBoolean;
|
|
2879
3330
|
at: z.ZodString;
|
|
@@ -2883,7 +3334,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2883
3334
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2884
3335
|
}, "strip", z.ZodTypeAny, {
|
|
2885
3336
|
at: string;
|
|
2886
|
-
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";
|
|
2887
3338
|
message: string;
|
|
2888
3339
|
retryable: boolean;
|
|
2889
3340
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2892,7 +3343,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2892
3343
|
truncated?: true | undefined;
|
|
2893
3344
|
}, {
|
|
2894
3345
|
at: string;
|
|
2895
|
-
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";
|
|
2896
3347
|
message: string;
|
|
2897
3348
|
retryable: boolean;
|
|
2898
3349
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2903,7 +3354,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2903
3354
|
}, "strip", z.ZodTypeAny, {
|
|
2904
3355
|
error: {
|
|
2905
3356
|
at: string;
|
|
2906
|
-
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";
|
|
2907
3358
|
message: string;
|
|
2908
3359
|
retryable: boolean;
|
|
2909
3360
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2915,7 +3366,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2915
3366
|
}, {
|
|
2916
3367
|
error: {
|
|
2917
3368
|
at: string;
|
|
2918
|
-
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";
|
|
2919
3370
|
message: string;
|
|
2920
3371
|
retryable: boolean;
|
|
2921
3372
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -2975,7 +3426,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
2975
3426
|
} | {
|
|
2976
3427
|
error: {
|
|
2977
3428
|
at: string;
|
|
2978
|
-
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";
|
|
2979
3430
|
message: string;
|
|
2980
3431
|
retryable: boolean;
|
|
2981
3432
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3020,7 +3471,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3020
3471
|
} | {
|
|
3021
3472
|
error: {
|
|
3022
3473
|
at: string;
|
|
3023
|
-
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";
|
|
3024
3475
|
message: string;
|
|
3025
3476
|
retryable: boolean;
|
|
3026
3477
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3202,6 +3653,55 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3202
3653
|
} & {
|
|
3203
3654
|
state: z.ZodLiteral<"output-available">;
|
|
3204
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
|
+
}>>;
|
|
3205
3705
|
}, "strip", z.ZodTypeAny, {
|
|
3206
3706
|
type: "tool-call";
|
|
3207
3707
|
input: import("./common").JsonValue;
|
|
@@ -3212,6 +3712,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3212
3712
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3213
3713
|
dynamic?: boolean | undefined;
|
|
3214
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;
|
|
3215
3726
|
}, {
|
|
3216
3727
|
type: "tool-call";
|
|
3217
3728
|
input: import("./common").JsonValue;
|
|
@@ -3222,6 +3733,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3222
3733
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3223
3734
|
dynamic?: boolean | undefined;
|
|
3224
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;
|
|
3225
3747
|
}>, z.ZodObject<{
|
|
3226
3748
|
type: z.ZodLiteral<"tool-call">;
|
|
3227
3749
|
toolCallId: z.ZodString;
|
|
@@ -3299,13 +3821,16 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3299
3821
|
/** A durable context summary created before this response's model call. */
|
|
3300
3822
|
compaction: z.ZodOptional<z.ZodObject<{
|
|
3301
3823
|
checkpointId: z.ZodString;
|
|
3824
|
+
reason: z.ZodEnum<["threshold", "overflow"]>;
|
|
3302
3825
|
summary: z.ZodString;
|
|
3303
3826
|
createdAt: z.ZodString;
|
|
3304
3827
|
}, "strip", z.ZodTypeAny, {
|
|
3828
|
+
reason: "threshold" | "overflow";
|
|
3305
3829
|
createdAt: string;
|
|
3306
3830
|
checkpointId: string;
|
|
3307
3831
|
summary: string;
|
|
3308
3832
|
}, {
|
|
3833
|
+
reason: "threshold" | "overflow";
|
|
3309
3834
|
createdAt: string;
|
|
3310
3835
|
checkpointId: string;
|
|
3311
3836
|
summary: string;
|
|
@@ -3372,6 +3897,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3372
3897
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3373
3898
|
dynamic?: boolean | undefined;
|
|
3374
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;
|
|
3375
3911
|
} | {
|
|
3376
3912
|
type: "tool-call";
|
|
3377
3913
|
input: import("./common").JsonValue;
|
|
@@ -3419,7 +3955,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3419
3955
|
} | {
|
|
3420
3956
|
error: {
|
|
3421
3957
|
at: string;
|
|
3422
|
-
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";
|
|
3423
3959
|
message: string;
|
|
3424
3960
|
retryable: boolean;
|
|
3425
3961
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3453,6 +3989,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3453
3989
|
type: "user" | "serviceAccount" | "system";
|
|
3454
3990
|
} | undefined;
|
|
3455
3991
|
compaction?: {
|
|
3992
|
+
reason: "threshold" | "overflow";
|
|
3456
3993
|
createdAt: string;
|
|
3457
3994
|
checkpointId: string;
|
|
3458
3995
|
summary: string;
|
|
@@ -3516,6 +4053,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3516
4053
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3517
4054
|
dynamic?: boolean | undefined;
|
|
3518
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;
|
|
3519
4067
|
} | {
|
|
3520
4068
|
type: "tool-call";
|
|
3521
4069
|
input: import("./common").JsonValue;
|
|
@@ -3563,7 +4111,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3563
4111
|
} | {
|
|
3564
4112
|
error: {
|
|
3565
4113
|
at: string;
|
|
3566
|
-
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";
|
|
3567
4115
|
message: string;
|
|
3568
4116
|
retryable: boolean;
|
|
3569
4117
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3597,6 +4145,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3597
4145
|
type: "user" | "serviceAccount" | "system";
|
|
3598
4146
|
} | undefined;
|
|
3599
4147
|
compaction?: {
|
|
4148
|
+
reason: "threshold" | "overflow";
|
|
3600
4149
|
createdAt: string;
|
|
3601
4150
|
checkpointId: string;
|
|
3602
4151
|
summary: string;
|
|
@@ -3681,6 +4230,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3681
4230
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3682
4231
|
dynamic?: boolean | undefined;
|
|
3683
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;
|
|
3684
4244
|
} | {
|
|
3685
4245
|
type: "tool-call";
|
|
3686
4246
|
input: import("./common").JsonValue;
|
|
@@ -3728,7 +4288,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3728
4288
|
} | {
|
|
3729
4289
|
error: {
|
|
3730
4290
|
at: string;
|
|
3731
|
-
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";
|
|
3732
4292
|
message: string;
|
|
3733
4293
|
retryable: boolean;
|
|
3734
4294
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3762,6 +4322,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3762
4322
|
type: "user" | "serviceAccount" | "system";
|
|
3763
4323
|
} | undefined;
|
|
3764
4324
|
compaction?: {
|
|
4325
|
+
reason: "threshold" | "overflow";
|
|
3765
4326
|
createdAt: string;
|
|
3766
4327
|
checkpointId: string;
|
|
3767
4328
|
summary: string;
|
|
@@ -3834,6 +4395,17 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3834
4395
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
3835
4396
|
dynamic?: boolean | undefined;
|
|
3836
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;
|
|
3837
4409
|
} | {
|
|
3838
4410
|
type: "tool-call";
|
|
3839
4411
|
input: import("./common").JsonValue;
|
|
@@ -3881,7 +4453,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3881
4453
|
} | {
|
|
3882
4454
|
error: {
|
|
3883
4455
|
at: string;
|
|
3884
|
-
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";
|
|
3885
4457
|
message: string;
|
|
3886
4458
|
retryable: boolean;
|
|
3887
4459
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -3915,6 +4487,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3915
4487
|
type: "user" | "serviceAccount" | "system";
|
|
3916
4488
|
} | undefined;
|
|
3917
4489
|
compaction?: {
|
|
4490
|
+
reason: "threshold" | "overflow";
|
|
3918
4491
|
createdAt: string;
|
|
3919
4492
|
checkpointId: string;
|
|
3920
4493
|
summary: string;
|
|
@@ -3928,7 +4501,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
3928
4501
|
}[];
|
|
3929
4502
|
}>;
|
|
3930
4503
|
export declare const PostAgentMessageBodySchema: z.ZodObject<{
|
|
3931
|
-
/** Required unless `continue` is set. */
|
|
4504
|
+
/** Required unless `continue` is set or `attachments` are the whole message. */
|
|
3932
4505
|
text: z.ZodOptional<z.ZodString>;
|
|
3933
4506
|
/** Continue the previous answer after it reached the turn limit, without text of its own. */
|
|
3934
4507
|
continue: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -4200,6 +4773,8 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4200
4773
|
}>]>>;
|
|
4201
4774
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
4202
4775
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
4776
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
4777
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
4203
4778
|
modelId: z.ZodOptional<z.ZodString>;
|
|
4204
4779
|
/**
|
|
4205
4780
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -4300,7 +4875,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4300
4875
|
severity: "error" | "warning";
|
|
4301
4876
|
scope: "run";
|
|
4302
4877
|
}>, "many">>;
|
|
4303
|
-
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">>>;
|
|
4304
4879
|
attempt: z.ZodNumber;
|
|
4305
4880
|
streamId: z.ZodString;
|
|
4306
4881
|
createdAt: z.ZodString;
|
|
@@ -4316,7 +4891,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4316
4891
|
attempt: number;
|
|
4317
4892
|
triggerMessageId: string;
|
|
4318
4893
|
streamId: string;
|
|
4319
|
-
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;
|
|
4320
4895
|
requestedBy?: {
|
|
4321
4896
|
id: string;
|
|
4322
4897
|
type: "user" | "serviceAccount";
|
|
@@ -4360,6 +4935,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4360
4935
|
} | undefined;
|
|
4361
4936
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4362
4937
|
parentRunId?: string | undefined;
|
|
4938
|
+
runsOn?: "computer" | undefined;
|
|
4363
4939
|
diagnostics?: {
|
|
4364
4940
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4365
4941
|
message: string;
|
|
@@ -4376,7 +4952,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4376
4952
|
attempt: number;
|
|
4377
4953
|
triggerMessageId: string;
|
|
4378
4954
|
streamId: string;
|
|
4379
|
-
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;
|
|
4380
4956
|
requestedBy?: {
|
|
4381
4957
|
id: string;
|
|
4382
4958
|
type: "user" | "serviceAccount";
|
|
@@ -4420,6 +4996,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4420
4996
|
} | undefined;
|
|
4421
4997
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4422
4998
|
parentRunId?: string | undefined;
|
|
4999
|
+
runsOn?: "computer" | undefined;
|
|
4423
5000
|
diagnostics?: {
|
|
4424
5001
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4425
5002
|
message: string;
|
|
@@ -4469,6 +5046,8 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4469
5046
|
}>]>>;
|
|
4470
5047
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
4471
5048
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
5049
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
5050
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
4472
5051
|
modelId: z.ZodOptional<z.ZodString>;
|
|
4473
5052
|
/**
|
|
4474
5053
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -4569,7 +5148,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4569
5148
|
severity: "error" | "warning";
|
|
4570
5149
|
scope: "run";
|
|
4571
5150
|
}>, "many">>;
|
|
4572
|
-
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">>>;
|
|
4573
5152
|
attempt: z.ZodNumber;
|
|
4574
5153
|
streamId: z.ZodString;
|
|
4575
5154
|
createdAt: z.ZodString;
|
|
@@ -4585,7 +5164,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4585
5164
|
attempt: number;
|
|
4586
5165
|
triggerMessageId: string;
|
|
4587
5166
|
streamId: string;
|
|
4588
|
-
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;
|
|
4589
5168
|
requestedBy?: {
|
|
4590
5169
|
id: string;
|
|
4591
5170
|
type: "user" | "serviceAccount";
|
|
@@ -4629,6 +5208,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4629
5208
|
} | undefined;
|
|
4630
5209
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4631
5210
|
parentRunId?: string | undefined;
|
|
5211
|
+
runsOn?: "computer" | undefined;
|
|
4632
5212
|
diagnostics?: {
|
|
4633
5213
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4634
5214
|
message: string;
|
|
@@ -4645,7 +5225,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4645
5225
|
attempt: number;
|
|
4646
5226
|
triggerMessageId: string;
|
|
4647
5227
|
streamId: string;
|
|
4648
|
-
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;
|
|
4649
5229
|
requestedBy?: {
|
|
4650
5230
|
id: string;
|
|
4651
5231
|
type: "user" | "serviceAccount";
|
|
@@ -4689,6 +5269,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4689
5269
|
} | undefined;
|
|
4690
5270
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4691
5271
|
parentRunId?: string | undefined;
|
|
5272
|
+
runsOn?: "computer" | undefined;
|
|
4692
5273
|
diagnostics?: {
|
|
4693
5274
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4694
5275
|
message: string;
|
|
@@ -4707,7 +5288,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4707
5288
|
attempt: number;
|
|
4708
5289
|
triggerMessageId: string;
|
|
4709
5290
|
streamId: string;
|
|
4710
|
-
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;
|
|
4711
5292
|
requestedBy?: {
|
|
4712
5293
|
id: string;
|
|
4713
5294
|
type: "user" | "serviceAccount";
|
|
@@ -4751,6 +5332,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4751
5332
|
} | undefined;
|
|
4752
5333
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4753
5334
|
parentRunId?: string | undefined;
|
|
5335
|
+
runsOn?: "computer" | undefined;
|
|
4754
5336
|
diagnostics?: {
|
|
4755
5337
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4756
5338
|
message: string;
|
|
@@ -4769,7 +5351,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4769
5351
|
attempt: number;
|
|
4770
5352
|
triggerMessageId: string;
|
|
4771
5353
|
streamId: string;
|
|
4772
|
-
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;
|
|
4773
5355
|
requestedBy?: {
|
|
4774
5356
|
id: string;
|
|
4775
5357
|
type: "user" | "serviceAccount";
|
|
@@ -4813,6 +5395,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
4813
5395
|
} | undefined;
|
|
4814
5396
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
4815
5397
|
parentRunId?: string | undefined;
|
|
5398
|
+
runsOn?: "computer" | undefined;
|
|
4816
5399
|
diagnostics?: {
|
|
4817
5400
|
code: "step_limit_reached" | "output_limit_reached";
|
|
4818
5401
|
message: string;
|
|
@@ -4863,6 +5446,8 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
4863
5446
|
}>]>>;
|
|
4864
5447
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
4865
5448
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
5449
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
5450
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
4866
5451
|
modelId: z.ZodOptional<z.ZodString>;
|
|
4867
5452
|
/**
|
|
4868
5453
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -4963,7 +5548,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
4963
5548
|
severity: "error" | "warning";
|
|
4964
5549
|
scope: "run";
|
|
4965
5550
|
}>, "many">>;
|
|
4966
|
-
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">>>;
|
|
4967
5552
|
attempt: z.ZodNumber;
|
|
4968
5553
|
streamId: z.ZodString;
|
|
4969
5554
|
createdAt: z.ZodString;
|
|
@@ -4979,7 +5564,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
4979
5564
|
attempt: number;
|
|
4980
5565
|
triggerMessageId: string;
|
|
4981
5566
|
streamId: string;
|
|
4982
|
-
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;
|
|
4983
5568
|
requestedBy?: {
|
|
4984
5569
|
id: string;
|
|
4985
5570
|
type: "user" | "serviceAccount";
|
|
@@ -5023,6 +5608,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5023
5608
|
} | undefined;
|
|
5024
5609
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5025
5610
|
parentRunId?: string | undefined;
|
|
5611
|
+
runsOn?: "computer" | undefined;
|
|
5026
5612
|
diagnostics?: {
|
|
5027
5613
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5028
5614
|
message: string;
|
|
@@ -5039,7 +5625,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5039
5625
|
attempt: number;
|
|
5040
5626
|
triggerMessageId: string;
|
|
5041
5627
|
streamId: string;
|
|
5042
|
-
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;
|
|
5043
5629
|
requestedBy?: {
|
|
5044
5630
|
id: string;
|
|
5045
5631
|
type: "user" | "serviceAccount";
|
|
@@ -5083,6 +5669,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5083
5669
|
} | undefined;
|
|
5084
5670
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5085
5671
|
parentRunId?: string | undefined;
|
|
5672
|
+
runsOn?: "computer" | undefined;
|
|
5086
5673
|
diagnostics?: {
|
|
5087
5674
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5088
5675
|
message: string;
|
|
@@ -5101,7 +5688,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5101
5688
|
attempt: number;
|
|
5102
5689
|
triggerMessageId: string;
|
|
5103
5690
|
streamId: string;
|
|
5104
|
-
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;
|
|
5105
5692
|
requestedBy?: {
|
|
5106
5693
|
id: string;
|
|
5107
5694
|
type: "user" | "serviceAccount";
|
|
@@ -5145,6 +5732,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5145
5732
|
} | undefined;
|
|
5146
5733
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5147
5734
|
parentRunId?: string | undefined;
|
|
5735
|
+
runsOn?: "computer" | undefined;
|
|
5148
5736
|
diagnostics?: {
|
|
5149
5737
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5150
5738
|
message: string;
|
|
@@ -5163,7 +5751,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5163
5751
|
attempt: number;
|
|
5164
5752
|
triggerMessageId: string;
|
|
5165
5753
|
streamId: string;
|
|
5166
|
-
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;
|
|
5167
5755
|
requestedBy?: {
|
|
5168
5756
|
id: string;
|
|
5169
5757
|
type: "user" | "serviceAccount";
|
|
@@ -5207,6 +5795,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5207
5795
|
} | undefined;
|
|
5208
5796
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5209
5797
|
parentRunId?: string | undefined;
|
|
5798
|
+
runsOn?: "computer" | undefined;
|
|
5210
5799
|
diagnostics?: {
|
|
5211
5800
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5212
5801
|
message: string;
|
|
@@ -5353,7 +5942,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5353
5942
|
}>, z.ZodObject<{
|
|
5354
5943
|
kind: z.ZodLiteral<"error">;
|
|
5355
5944
|
error: z.ZodObject<{
|
|
5356
|
-
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")[]]>;
|
|
5357
5946
|
message: z.ZodString;
|
|
5358
5947
|
retryable: z.ZodBoolean;
|
|
5359
5948
|
at: z.ZodString;
|
|
@@ -5363,7 +5952,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5363
5952
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5364
5953
|
}, "strip", z.ZodTypeAny, {
|
|
5365
5954
|
at: string;
|
|
5366
|
-
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";
|
|
5367
5956
|
message: string;
|
|
5368
5957
|
retryable: boolean;
|
|
5369
5958
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5372,7 +5961,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5372
5961
|
truncated?: true | undefined;
|
|
5373
5962
|
}, {
|
|
5374
5963
|
at: string;
|
|
5375
|
-
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";
|
|
5376
5965
|
message: string;
|
|
5377
5966
|
retryable: boolean;
|
|
5378
5967
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5383,7 +5972,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5383
5972
|
}, "strip", z.ZodTypeAny, {
|
|
5384
5973
|
error: {
|
|
5385
5974
|
at: string;
|
|
5386
|
-
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";
|
|
5387
5976
|
message: string;
|
|
5388
5977
|
retryable: boolean;
|
|
5389
5978
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5395,7 +5984,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5395
5984
|
}, {
|
|
5396
5985
|
error: {
|
|
5397
5986
|
at: string;
|
|
5398
|
-
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";
|
|
5399
5988
|
message: string;
|
|
5400
5989
|
retryable: boolean;
|
|
5401
5990
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5460,7 +6049,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5460
6049
|
} | {
|
|
5461
6050
|
error: {
|
|
5462
6051
|
at: string;
|
|
5463
|
-
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";
|
|
5464
6053
|
message: string;
|
|
5465
6054
|
retryable: boolean;
|
|
5466
6055
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5524,7 +6113,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5524
6113
|
} | {
|
|
5525
6114
|
error: {
|
|
5526
6115
|
at: string;
|
|
5527
|
-
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";
|
|
5528
6117
|
message: string;
|
|
5529
6118
|
retryable: boolean;
|
|
5530
6119
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5577,6 +6166,8 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5577
6166
|
}>]>>;
|
|
5578
6167
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
5579
6168
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
6169
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
6170
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
5580
6171
|
modelId: z.ZodOptional<z.ZodString>;
|
|
5581
6172
|
/**
|
|
5582
6173
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -5677,7 +6268,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5677
6268
|
severity: "error" | "warning";
|
|
5678
6269
|
scope: "run";
|
|
5679
6270
|
}>, "many">>;
|
|
5680
|
-
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">>>;
|
|
5681
6272
|
attempt: z.ZodNumber;
|
|
5682
6273
|
streamId: z.ZodString;
|
|
5683
6274
|
createdAt: z.ZodString;
|
|
@@ -5693,7 +6284,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5693
6284
|
attempt: number;
|
|
5694
6285
|
triggerMessageId: string;
|
|
5695
6286
|
streamId: string;
|
|
5696
|
-
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;
|
|
5697
6288
|
requestedBy?: {
|
|
5698
6289
|
id: string;
|
|
5699
6290
|
type: "user" | "serviceAccount";
|
|
@@ -5737,6 +6328,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5737
6328
|
} | undefined;
|
|
5738
6329
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5739
6330
|
parentRunId?: string | undefined;
|
|
6331
|
+
runsOn?: "computer" | undefined;
|
|
5740
6332
|
diagnostics?: {
|
|
5741
6333
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5742
6334
|
message: string;
|
|
@@ -5753,7 +6345,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5753
6345
|
attempt: number;
|
|
5754
6346
|
triggerMessageId: string;
|
|
5755
6347
|
streamId: string;
|
|
5756
|
-
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;
|
|
5757
6349
|
requestedBy?: {
|
|
5758
6350
|
id: string;
|
|
5759
6351
|
type: "user" | "serviceAccount";
|
|
@@ -5797,6 +6389,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5797
6389
|
} | undefined;
|
|
5798
6390
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5799
6391
|
parentRunId?: string | undefined;
|
|
6392
|
+
runsOn?: "computer" | undefined;
|
|
5800
6393
|
diagnostics?: {
|
|
5801
6394
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5802
6395
|
message: string;
|
|
@@ -5879,7 +6472,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5879
6472
|
} | {
|
|
5880
6473
|
error: {
|
|
5881
6474
|
at: string;
|
|
5882
|
-
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";
|
|
5883
6476
|
message: string;
|
|
5884
6477
|
retryable: boolean;
|
|
5885
6478
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -5900,7 +6493,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5900
6493
|
attempt: number;
|
|
5901
6494
|
triggerMessageId: string;
|
|
5902
6495
|
streamId: string;
|
|
5903
|
-
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;
|
|
5904
6497
|
requestedBy?: {
|
|
5905
6498
|
id: string;
|
|
5906
6499
|
type: "user" | "serviceAccount";
|
|
@@ -5944,6 +6537,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
5944
6537
|
} | undefined;
|
|
5945
6538
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
5946
6539
|
parentRunId?: string | undefined;
|
|
6540
|
+
runsOn?: "computer" | undefined;
|
|
5947
6541
|
diagnostics?: {
|
|
5948
6542
|
code: "step_limit_reached" | "output_limit_reached";
|
|
5949
6543
|
message: string;
|
|
@@ -6012,7 +6606,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6012
6606
|
} | {
|
|
6013
6607
|
error: {
|
|
6014
6608
|
at: string;
|
|
6015
|
-
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";
|
|
6016
6610
|
message: string;
|
|
6017
6611
|
retryable: boolean;
|
|
6018
6612
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -6033,7 +6627,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6033
6627
|
attempt: number;
|
|
6034
6628
|
triggerMessageId: string;
|
|
6035
6629
|
streamId: string;
|
|
6036
|
-
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;
|
|
6037
6631
|
requestedBy?: {
|
|
6038
6632
|
id: string;
|
|
6039
6633
|
type: "user" | "serviceAccount";
|
|
@@ -6077,6 +6671,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6077
6671
|
} | undefined;
|
|
6078
6672
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6079
6673
|
parentRunId?: string | undefined;
|
|
6674
|
+
runsOn?: "computer" | undefined;
|
|
6080
6675
|
diagnostics?: {
|
|
6081
6676
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6082
6677
|
message: string;
|
|
@@ -6133,6 +6728,8 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6133
6728
|
}>]>>;
|
|
6134
6729
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
6135
6730
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
6731
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
6732
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
6136
6733
|
modelId: z.ZodOptional<z.ZodString>;
|
|
6137
6734
|
/**
|
|
6138
6735
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -6233,7 +6830,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6233
6830
|
severity: "error" | "warning";
|
|
6234
6831
|
scope: "run";
|
|
6235
6832
|
}>, "many">>;
|
|
6236
|
-
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">>>;
|
|
6237
6834
|
attempt: z.ZodNumber;
|
|
6238
6835
|
streamId: z.ZodString;
|
|
6239
6836
|
createdAt: z.ZodString;
|
|
@@ -6249,7 +6846,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6249
6846
|
attempt: number;
|
|
6250
6847
|
triggerMessageId: string;
|
|
6251
6848
|
streamId: string;
|
|
6252
|
-
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;
|
|
6253
6850
|
requestedBy?: {
|
|
6254
6851
|
id: string;
|
|
6255
6852
|
type: "user" | "serviceAccount";
|
|
@@ -6293,6 +6890,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6293
6890
|
} | undefined;
|
|
6294
6891
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6295
6892
|
parentRunId?: string | undefined;
|
|
6893
|
+
runsOn?: "computer" | undefined;
|
|
6296
6894
|
diagnostics?: {
|
|
6297
6895
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6298
6896
|
message: string;
|
|
@@ -6309,7 +6907,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6309
6907
|
attempt: number;
|
|
6310
6908
|
triggerMessageId: string;
|
|
6311
6909
|
streamId: string;
|
|
6312
|
-
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;
|
|
6313
6911
|
requestedBy?: {
|
|
6314
6912
|
id: string;
|
|
6315
6913
|
type: "user" | "serviceAccount";
|
|
@@ -6353,6 +6951,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6353
6951
|
} | undefined;
|
|
6354
6952
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6355
6953
|
parentRunId?: string | undefined;
|
|
6954
|
+
runsOn?: "computer" | undefined;
|
|
6356
6955
|
diagnostics?: {
|
|
6357
6956
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6358
6957
|
message: string;
|
|
@@ -6371,7 +6970,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6371
6970
|
attempt: number;
|
|
6372
6971
|
triggerMessageId: string;
|
|
6373
6972
|
streamId: string;
|
|
6374
|
-
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;
|
|
6375
6974
|
requestedBy?: {
|
|
6376
6975
|
id: string;
|
|
6377
6976
|
type: "user" | "serviceAccount";
|
|
@@ -6415,6 +7014,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6415
7014
|
} | undefined;
|
|
6416
7015
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6417
7016
|
parentRunId?: string | undefined;
|
|
7017
|
+
runsOn?: "computer" | undefined;
|
|
6418
7018
|
diagnostics?: {
|
|
6419
7019
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6420
7020
|
message: string;
|
|
@@ -6433,7 +7033,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6433
7033
|
attempt: number;
|
|
6434
7034
|
triggerMessageId: string;
|
|
6435
7035
|
streamId: string;
|
|
6436
|
-
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;
|
|
6437
7037
|
requestedBy?: {
|
|
6438
7038
|
id: string;
|
|
6439
7039
|
type: "user" | "serviceAccount";
|
|
@@ -6477,6 +7077,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6477
7077
|
} | undefined;
|
|
6478
7078
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6479
7079
|
parentRunId?: string | undefined;
|
|
7080
|
+
runsOn?: "computer" | undefined;
|
|
6480
7081
|
diagnostics?: {
|
|
6481
7082
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6482
7083
|
message: string;
|
|
@@ -6485,6 +7086,130 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6485
7086
|
}[] | undefined;
|
|
6486
7087
|
};
|
|
6487
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
|
+
}>;
|
|
6488
7213
|
export declare const AgentRunListQuerySchema: z.ZodObject<{
|
|
6489
7214
|
status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
|
|
6490
7215
|
limit: z.ZodOptional<z.ZodString>;
|
|
@@ -6543,6 +7268,8 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6543
7268
|
}>]>>;
|
|
6544
7269
|
/** What the turn could change without asking. Absent on turns from before approval modes. */
|
|
6545
7270
|
approvalMode: z.ZodOptional<z.ZodEnum<["manual", "accept-edits", "auto"]>>;
|
|
7271
|
+
/** Its owner's computer claims it; absent, the cloud runs it. */
|
|
7272
|
+
runsOn: z.ZodOptional<z.ZodLiteral<"computer">>;
|
|
6546
7273
|
modelId: z.ZodOptional<z.ZodString>;
|
|
6547
7274
|
/**
|
|
6548
7275
|
* `awaiting_approval`: the turn succeeded and paused on calls waiting for its requester. It stays
|
|
@@ -6643,7 +7370,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6643
7370
|
severity: "error" | "warning";
|
|
6644
7371
|
scope: "run";
|
|
6645
7372
|
}>, "many">>;
|
|
6646
|
-
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">>>;
|
|
6647
7374
|
attempt: z.ZodNumber;
|
|
6648
7375
|
streamId: z.ZodString;
|
|
6649
7376
|
createdAt: z.ZodString;
|
|
@@ -6659,7 +7386,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6659
7386
|
attempt: number;
|
|
6660
7387
|
triggerMessageId: string;
|
|
6661
7388
|
streamId: string;
|
|
6662
|
-
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;
|
|
6663
7390
|
requestedBy?: {
|
|
6664
7391
|
id: string;
|
|
6665
7392
|
type: "user" | "serviceAccount";
|
|
@@ -6703,6 +7430,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6703
7430
|
} | undefined;
|
|
6704
7431
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6705
7432
|
parentRunId?: string | undefined;
|
|
7433
|
+
runsOn?: "computer" | undefined;
|
|
6706
7434
|
diagnostics?: {
|
|
6707
7435
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6708
7436
|
message: string;
|
|
@@ -6719,7 +7447,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6719
7447
|
attempt: number;
|
|
6720
7448
|
triggerMessageId: string;
|
|
6721
7449
|
streamId: string;
|
|
6722
|
-
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;
|
|
6723
7451
|
requestedBy?: {
|
|
6724
7452
|
id: string;
|
|
6725
7453
|
type: "user" | "serviceAccount";
|
|
@@ -6763,6 +7491,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6763
7491
|
} | undefined;
|
|
6764
7492
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6765
7493
|
parentRunId?: string | undefined;
|
|
7494
|
+
runsOn?: "computer" | undefined;
|
|
6766
7495
|
diagnostics?: {
|
|
6767
7496
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6768
7497
|
message: string;
|
|
@@ -6783,7 +7512,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6783
7512
|
attempt: number;
|
|
6784
7513
|
triggerMessageId: string;
|
|
6785
7514
|
streamId: string;
|
|
6786
|
-
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;
|
|
6787
7516
|
requestedBy?: {
|
|
6788
7517
|
id: string;
|
|
6789
7518
|
type: "user" | "serviceAccount";
|
|
@@ -6827,6 +7556,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6827
7556
|
} | undefined;
|
|
6828
7557
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6829
7558
|
parentRunId?: string | undefined;
|
|
7559
|
+
runsOn?: "computer" | undefined;
|
|
6830
7560
|
diagnostics?: {
|
|
6831
7561
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6832
7562
|
message: string;
|
|
@@ -6847,7 +7577,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6847
7577
|
attempt: number;
|
|
6848
7578
|
triggerMessageId: string;
|
|
6849
7579
|
streamId: string;
|
|
6850
|
-
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;
|
|
6851
7581
|
requestedBy?: {
|
|
6852
7582
|
id: string;
|
|
6853
7583
|
type: "user" | "serviceAccount";
|
|
@@ -6891,6 +7621,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
6891
7621
|
} | undefined;
|
|
6892
7622
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
6893
7623
|
parentRunId?: string | undefined;
|
|
7624
|
+
runsOn?: "computer" | undefined;
|
|
6894
7625
|
diagnostics?: {
|
|
6895
7626
|
code: "step_limit_reached" | "output_limit_reached";
|
|
6896
7627
|
message: string;
|
|
@@ -6953,7 +7684,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
6953
7684
|
parentRunId: z.ZodString;
|
|
6954
7685
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
6955
7686
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
6956
|
-
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">>>;
|
|
6957
7688
|
modelId: z.ZodOptional<z.ZodString>;
|
|
6958
7689
|
attempt: z.ZodNumber;
|
|
6959
7690
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -7124,7 +7855,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7124
7855
|
attempt: number;
|
|
7125
7856
|
parentRunId: string;
|
|
7126
7857
|
streamId: string;
|
|
7127
|
-
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;
|
|
7128
7859
|
modelId?: string | undefined;
|
|
7129
7860
|
startedAt?: string | undefined;
|
|
7130
7861
|
completedAt?: string | undefined;
|
|
@@ -7176,7 +7907,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7176
7907
|
attempt: number;
|
|
7177
7908
|
parentRunId: string;
|
|
7178
7909
|
streamId: string;
|
|
7179
|
-
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;
|
|
7180
7911
|
modelId?: string | undefined;
|
|
7181
7912
|
startedAt?: string | undefined;
|
|
7182
7913
|
completedAt?: string | undefined;
|
|
@@ -7357,7 +8088,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7357
8088
|
* `awaiting` says what it waits for, or `ended` why it will not continue.
|
|
7358
8089
|
*/
|
|
7359
8090
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
7360
|
-
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">>>;
|
|
7361
8092
|
awaiting: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7362
8093
|
type: z.ZodLiteral<"approval">;
|
|
7363
8094
|
/** Its calls still waiting for the turn's requester. */
|
|
@@ -7495,7 +8226,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7495
8226
|
parentRunId: z.ZodString;
|
|
7496
8227
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
7497
8228
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
7498
|
-
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">>>;
|
|
7499
8230
|
modelId: z.ZodOptional<z.ZodString>;
|
|
7500
8231
|
attempt: z.ZodNumber;
|
|
7501
8232
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -7666,7 +8397,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7666
8397
|
attempt: number;
|
|
7667
8398
|
parentRunId: string;
|
|
7668
8399
|
streamId: string;
|
|
7669
|
-
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;
|
|
7670
8401
|
modelId?: string | undefined;
|
|
7671
8402
|
startedAt?: string | undefined;
|
|
7672
8403
|
completedAt?: string | undefined;
|
|
@@ -7718,7 +8449,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7718
8449
|
attempt: number;
|
|
7719
8450
|
parentRunId: string;
|
|
7720
8451
|
streamId: string;
|
|
7721
|
-
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;
|
|
7722
8453
|
modelId?: string | undefined;
|
|
7723
8454
|
startedAt?: string | undefined;
|
|
7724
8455
|
completedAt?: string | undefined;
|
|
@@ -7779,7 +8510,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7779
8510
|
attempt: number;
|
|
7780
8511
|
parentRunId: string;
|
|
7781
8512
|
streamId: string;
|
|
7782
|
-
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;
|
|
7783
8514
|
modelId?: string | undefined;
|
|
7784
8515
|
startedAt?: string | undefined;
|
|
7785
8516
|
completedAt?: string | undefined;
|
|
@@ -7842,7 +8573,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7842
8573
|
logicalPath?: string | undefined;
|
|
7843
8574
|
};
|
|
7844
8575
|
}[];
|
|
7845
|
-
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;
|
|
7846
8577
|
completedAt?: string | undefined;
|
|
7847
8578
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
7848
8579
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -7904,7 +8635,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7904
8635
|
attempt: number;
|
|
7905
8636
|
parentRunId: string;
|
|
7906
8637
|
streamId: string;
|
|
7907
|
-
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;
|
|
7908
8639
|
modelId?: string | undefined;
|
|
7909
8640
|
startedAt?: string | undefined;
|
|
7910
8641
|
completedAt?: string | undefined;
|
|
@@ -7967,7 +8698,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
7967
8698
|
logicalPath?: string | undefined;
|
|
7968
8699
|
};
|
|
7969
8700
|
}[];
|
|
7970
|
-
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;
|
|
7971
8702
|
completedAt?: string | undefined;
|
|
7972
8703
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
7973
8704
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8105,7 +8836,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8105
8836
|
* `awaiting` says what it waits for, or `ended` why it will not continue.
|
|
8106
8837
|
*/
|
|
8107
8838
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
8108
|
-
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">>>;
|
|
8109
8840
|
awaiting: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8110
8841
|
type: z.ZodLiteral<"approval">;
|
|
8111
8842
|
/** Its calls still waiting for the turn's requester. */
|
|
@@ -8243,7 +8974,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8243
8974
|
parentRunId: z.ZodString;
|
|
8244
8975
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
8245
8976
|
finishReason: z.ZodOptional<z.ZodEnum<["stop", "length", "content-filter", "tool-calls", "timeout", "interrupted", "awaiting_approval", "awaiting_answer", "error", "other", "unknown"]>>;
|
|
8246
|
-
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">>>;
|
|
8247
8978
|
modelId: z.ZodOptional<z.ZodString>;
|
|
8248
8979
|
attempt: z.ZodNumber;
|
|
8249
8980
|
/** Subscribe to it on `/ws/agents` with the run's id while it is at work. */
|
|
@@ -8414,7 +9145,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8414
9145
|
attempt: number;
|
|
8415
9146
|
parentRunId: string;
|
|
8416
9147
|
streamId: string;
|
|
8417
|
-
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;
|
|
8418
9149
|
modelId?: string | undefined;
|
|
8419
9150
|
startedAt?: string | undefined;
|
|
8420
9151
|
completedAt?: string | undefined;
|
|
@@ -8466,7 +9197,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8466
9197
|
attempt: number;
|
|
8467
9198
|
parentRunId: string;
|
|
8468
9199
|
streamId: string;
|
|
8469
|
-
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;
|
|
8470
9201
|
modelId?: string | undefined;
|
|
8471
9202
|
startedAt?: string | undefined;
|
|
8472
9203
|
completedAt?: string | undefined;
|
|
@@ -8527,7 +9258,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8527
9258
|
attempt: number;
|
|
8528
9259
|
parentRunId: string;
|
|
8529
9260
|
streamId: string;
|
|
8530
|
-
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;
|
|
8531
9262
|
modelId?: string | undefined;
|
|
8532
9263
|
startedAt?: string | undefined;
|
|
8533
9264
|
completedAt?: string | undefined;
|
|
@@ -8590,7 +9321,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8590
9321
|
logicalPath?: string | undefined;
|
|
8591
9322
|
};
|
|
8592
9323
|
}[];
|
|
8593
|
-
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;
|
|
8594
9325
|
completedAt?: string | undefined;
|
|
8595
9326
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8596
9327
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8652,7 +9383,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8652
9383
|
attempt: number;
|
|
8653
9384
|
parentRunId: string;
|
|
8654
9385
|
streamId: string;
|
|
8655
|
-
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;
|
|
8656
9387
|
modelId?: string | undefined;
|
|
8657
9388
|
startedAt?: string | undefined;
|
|
8658
9389
|
completedAt?: string | undefined;
|
|
@@ -8715,7 +9446,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8715
9446
|
logicalPath?: string | undefined;
|
|
8716
9447
|
};
|
|
8717
9448
|
}[];
|
|
8718
|
-
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;
|
|
8719
9450
|
completedAt?: string | undefined;
|
|
8720
9451
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8721
9452
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8779,7 +9510,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8779
9510
|
attempt: number;
|
|
8780
9511
|
parentRunId: string;
|
|
8781
9512
|
streamId: string;
|
|
8782
|
-
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;
|
|
8783
9514
|
modelId?: string | undefined;
|
|
8784
9515
|
startedAt?: string | undefined;
|
|
8785
9516
|
completedAt?: string | undefined;
|
|
@@ -8842,7 +9573,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8842
9573
|
logicalPath?: string | undefined;
|
|
8843
9574
|
};
|
|
8844
9575
|
}[];
|
|
8845
|
-
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;
|
|
8846
9577
|
completedAt?: string | undefined;
|
|
8847
9578
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8848
9579
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -8906,7 +9637,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8906
9637
|
attempt: number;
|
|
8907
9638
|
parentRunId: string;
|
|
8908
9639
|
streamId: string;
|
|
8909
|
-
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;
|
|
8910
9641
|
modelId?: string | undefined;
|
|
8911
9642
|
startedAt?: string | undefined;
|
|
8912
9643
|
completedAt?: string | undefined;
|
|
@@ -8969,7 +9700,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
8969
9700
|
logicalPath?: string | undefined;
|
|
8970
9701
|
};
|
|
8971
9702
|
}[];
|
|
8972
|
-
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;
|
|
8973
9704
|
completedAt?: string | undefined;
|
|
8974
9705
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
8975
9706
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|