@sixb/server 0.2.1 → 0.2.2
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/dist/index.js +140 -25
- package/dist/index.js.map +6 -6
- package/dist/routes/agent-approvals.d.ts +11 -1
- 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 +114 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +104 -12
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +14 -4
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +5 -5
- package/dist/routes/projections.d.ts +25 -25
- package/dist/routes/syncs.d.ts +4 -4
- package/dist/routes/workflows.d.ts +11 -11
- package/dist/schemas/activity.d.ts +8 -8
- package/dist/schemas/agents.d.ts +447 -42
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +29 -29
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +16 -16
- package/dist/schemas/projections.d.ts +146 -146
- package/dist/schemas/syncs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +52 -52
- package/package.json +5 -5
- package/src/routes/agent-computers.ts +149 -13
- package/src/routes/agents.ts +52 -7
- package/src/schemas/agents.ts +60 -1
- package/src/schemas/ai-accounting.ts +1 -0
package/dist/schemas/agents.d.ts
CHANGED
|
@@ -369,6 +369,38 @@ export declare const AgentThreadComputerInputSchema: z.ZodObject<{
|
|
|
369
369
|
name: string;
|
|
370
370
|
folder: string;
|
|
371
371
|
}>;
|
|
372
|
+
/**
|
|
373
|
+
* A background command `sixb` runs for one of your threads on your computer: it outlives the turn
|
|
374
|
+
* that started it, until it exits, the agent or you stop it, or `sixb` closes.
|
|
375
|
+
*/
|
|
376
|
+
export declare const AgentBackgroundCommandSchema: z.ZodObject<{
|
|
377
|
+
threadId: z.ZodString;
|
|
378
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
/** Its first 1,000 characters. */
|
|
381
|
+
command: z.ZodString;
|
|
382
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
383
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
384
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
385
|
+
startedAt: z.ZodString;
|
|
386
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, "strict", z.ZodTypeAny, {
|
|
388
|
+
status: "running" | "exited" | "stopped";
|
|
389
|
+
id: string;
|
|
390
|
+
startedAt: string;
|
|
391
|
+
threadId: string;
|
|
392
|
+
command: string;
|
|
393
|
+
exitCode?: number | undefined;
|
|
394
|
+
endedAt?: string | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
status: "running" | "exited" | "stopped";
|
|
397
|
+
id: string;
|
|
398
|
+
startedAt: string;
|
|
399
|
+
threadId: string;
|
|
400
|
+
command: string;
|
|
401
|
+
exitCode?: number | undefined;
|
|
402
|
+
endedAt?: string | undefined;
|
|
403
|
+
}>;
|
|
372
404
|
export declare const CreateAgentThreadBodySchema: z.ZodObject<{
|
|
373
405
|
title: z.ZodOptional<z.ZodString>;
|
|
374
406
|
threadId: z.ZodOptional<z.ZodString>;
|
|
@@ -609,6 +641,43 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
609
641
|
folder: string;
|
|
610
642
|
online: boolean;
|
|
611
643
|
}>>;
|
|
644
|
+
/**
|
|
645
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
646
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
647
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
648
|
+
*/
|
|
649
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
650
|
+
threadId: z.ZodString;
|
|
651
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
652
|
+
id: z.ZodString;
|
|
653
|
+
/** Its first 1,000 characters. */
|
|
654
|
+
command: z.ZodString;
|
|
655
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
656
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
657
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
startedAt: z.ZodString;
|
|
659
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
660
|
+
} & {
|
|
661
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
}, "strict", z.ZodTypeAny, {
|
|
663
|
+
status: "running" | "exited" | "stopped";
|
|
664
|
+
id: string;
|
|
665
|
+
startedAt: string;
|
|
666
|
+
threadId: string;
|
|
667
|
+
command: string;
|
|
668
|
+
exitCode?: number | undefined;
|
|
669
|
+
endedAt?: string | undefined;
|
|
670
|
+
stopping?: boolean | undefined;
|
|
671
|
+
}, {
|
|
672
|
+
status: "running" | "exited" | "stopped";
|
|
673
|
+
id: string;
|
|
674
|
+
startedAt: string;
|
|
675
|
+
threadId: string;
|
|
676
|
+
command: string;
|
|
677
|
+
exitCode?: number | undefined;
|
|
678
|
+
endedAt?: string | undefined;
|
|
679
|
+
stopping?: boolean | undefined;
|
|
680
|
+
}>, "many">>;
|
|
612
681
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
613
682
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
614
683
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -675,6 +744,16 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
675
744
|
spawnedBy: string;
|
|
676
745
|
} | undefined;
|
|
677
746
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
747
|
+
backgroundCommands?: {
|
|
748
|
+
status: "running" | "exited" | "stopped";
|
|
749
|
+
id: string;
|
|
750
|
+
startedAt: string;
|
|
751
|
+
threadId: string;
|
|
752
|
+
command: string;
|
|
753
|
+
exitCode?: number | undefined;
|
|
754
|
+
endedAt?: string | undefined;
|
|
755
|
+
stopping?: boolean | undefined;
|
|
756
|
+
}[] | undefined;
|
|
678
757
|
movedAt?: string | undefined;
|
|
679
758
|
lastMessageAt?: string | undefined;
|
|
680
759
|
}, {
|
|
@@ -728,6 +807,16 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
728
807
|
spawnedBy: string;
|
|
729
808
|
} | undefined;
|
|
730
809
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
810
|
+
backgroundCommands?: {
|
|
811
|
+
status: "running" | "exited" | "stopped";
|
|
812
|
+
id: string;
|
|
813
|
+
startedAt: string;
|
|
814
|
+
threadId: string;
|
|
815
|
+
command: string;
|
|
816
|
+
exitCode?: number | undefined;
|
|
817
|
+
endedAt?: string | undefined;
|
|
818
|
+
stopping?: boolean | undefined;
|
|
819
|
+
}[] | undefined;
|
|
731
820
|
movedAt?: string | undefined;
|
|
732
821
|
lastMessageAt?: string | undefined;
|
|
733
822
|
}>;
|
|
@@ -863,6 +952,43 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
863
952
|
folder: string;
|
|
864
953
|
online: boolean;
|
|
865
954
|
}>>;
|
|
955
|
+
/**
|
|
956
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
957
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
958
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
959
|
+
*/
|
|
960
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
961
|
+
threadId: z.ZodString;
|
|
962
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
963
|
+
id: z.ZodString;
|
|
964
|
+
/** Its first 1,000 characters. */
|
|
965
|
+
command: z.ZodString;
|
|
966
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
967
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
968
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
startedAt: z.ZodString;
|
|
970
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
971
|
+
} & {
|
|
972
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
973
|
+
}, "strict", z.ZodTypeAny, {
|
|
974
|
+
status: "running" | "exited" | "stopped";
|
|
975
|
+
id: string;
|
|
976
|
+
startedAt: string;
|
|
977
|
+
threadId: string;
|
|
978
|
+
command: string;
|
|
979
|
+
exitCode?: number | undefined;
|
|
980
|
+
endedAt?: string | undefined;
|
|
981
|
+
stopping?: boolean | undefined;
|
|
982
|
+
}, {
|
|
983
|
+
status: "running" | "exited" | "stopped";
|
|
984
|
+
id: string;
|
|
985
|
+
startedAt: string;
|
|
986
|
+
threadId: string;
|
|
987
|
+
command: string;
|
|
988
|
+
exitCode?: number | undefined;
|
|
989
|
+
endedAt?: string | undefined;
|
|
990
|
+
stopping?: boolean | undefined;
|
|
991
|
+
}>, "many">>;
|
|
866
992
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
867
993
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
868
994
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -929,6 +1055,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
929
1055
|
spawnedBy: string;
|
|
930
1056
|
} | undefined;
|
|
931
1057
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1058
|
+
backgroundCommands?: {
|
|
1059
|
+
status: "running" | "exited" | "stopped";
|
|
1060
|
+
id: string;
|
|
1061
|
+
startedAt: string;
|
|
1062
|
+
threadId: string;
|
|
1063
|
+
command: string;
|
|
1064
|
+
exitCode?: number | undefined;
|
|
1065
|
+
endedAt?: string | undefined;
|
|
1066
|
+
stopping?: boolean | undefined;
|
|
1067
|
+
}[] | undefined;
|
|
932
1068
|
movedAt?: string | undefined;
|
|
933
1069
|
lastMessageAt?: string | undefined;
|
|
934
1070
|
}, {
|
|
@@ -982,6 +1118,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
982
1118
|
spawnedBy: string;
|
|
983
1119
|
} | undefined;
|
|
984
1120
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1121
|
+
backgroundCommands?: {
|
|
1122
|
+
status: "running" | "exited" | "stopped";
|
|
1123
|
+
id: string;
|
|
1124
|
+
startedAt: string;
|
|
1125
|
+
threadId: string;
|
|
1126
|
+
command: string;
|
|
1127
|
+
exitCode?: number | undefined;
|
|
1128
|
+
endedAt?: string | undefined;
|
|
1129
|
+
stopping?: boolean | undefined;
|
|
1130
|
+
}[] | undefined;
|
|
985
1131
|
movedAt?: string | undefined;
|
|
986
1132
|
lastMessageAt?: string | undefined;
|
|
987
1133
|
}>, "many">;
|
|
@@ -1041,6 +1187,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
1041
1187
|
spawnedBy: string;
|
|
1042
1188
|
} | undefined;
|
|
1043
1189
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1190
|
+
backgroundCommands?: {
|
|
1191
|
+
status: "running" | "exited" | "stopped";
|
|
1192
|
+
id: string;
|
|
1193
|
+
startedAt: string;
|
|
1194
|
+
threadId: string;
|
|
1195
|
+
command: string;
|
|
1196
|
+
exitCode?: number | undefined;
|
|
1197
|
+
endedAt?: string | undefined;
|
|
1198
|
+
stopping?: boolean | undefined;
|
|
1199
|
+
}[] | undefined;
|
|
1044
1200
|
movedAt?: string | undefined;
|
|
1045
1201
|
lastMessageAt?: string | undefined;
|
|
1046
1202
|
}[];
|
|
@@ -1098,6 +1254,16 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
1098
1254
|
spawnedBy: string;
|
|
1099
1255
|
} | undefined;
|
|
1100
1256
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1257
|
+
backgroundCommands?: {
|
|
1258
|
+
status: "running" | "exited" | "stopped";
|
|
1259
|
+
id: string;
|
|
1260
|
+
startedAt: string;
|
|
1261
|
+
threadId: string;
|
|
1262
|
+
command: string;
|
|
1263
|
+
exitCode?: number | undefined;
|
|
1264
|
+
endedAt?: string | undefined;
|
|
1265
|
+
stopping?: boolean | undefined;
|
|
1266
|
+
}[] | undefined;
|
|
1101
1267
|
movedAt?: string | undefined;
|
|
1102
1268
|
lastMessageAt?: string | undefined;
|
|
1103
1269
|
}[];
|
|
@@ -1234,6 +1400,43 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1234
1400
|
folder: string;
|
|
1235
1401
|
online: boolean;
|
|
1236
1402
|
}>>;
|
|
1403
|
+
/**
|
|
1404
|
+
* Its background commands on its owner's computer, as `sixb` reported them while open: the
|
|
1405
|
+
* running ones, then the latest to end, wherever the thread runs now. `stopping` while a stop
|
|
1406
|
+
* you asked for is on its way. Shown to its owner alone.
|
|
1407
|
+
*/
|
|
1408
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1409
|
+
threadId: z.ZodString;
|
|
1410
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1411
|
+
id: z.ZodString;
|
|
1412
|
+
/** Its first 1,000 characters. */
|
|
1413
|
+
command: z.ZodString;
|
|
1414
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1415
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1416
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1417
|
+
startedAt: z.ZodString;
|
|
1418
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
} & {
|
|
1420
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
1421
|
+
}, "strict", z.ZodTypeAny, {
|
|
1422
|
+
status: "running" | "exited" | "stopped";
|
|
1423
|
+
id: string;
|
|
1424
|
+
startedAt: string;
|
|
1425
|
+
threadId: string;
|
|
1426
|
+
command: string;
|
|
1427
|
+
exitCode?: number | undefined;
|
|
1428
|
+
endedAt?: string | undefined;
|
|
1429
|
+
stopping?: boolean | undefined;
|
|
1430
|
+
}, {
|
|
1431
|
+
status: "running" | "exited" | "stopped";
|
|
1432
|
+
id: string;
|
|
1433
|
+
startedAt: string;
|
|
1434
|
+
threadId: string;
|
|
1435
|
+
command: string;
|
|
1436
|
+
exitCode?: number | undefined;
|
|
1437
|
+
endedAt?: string | undefined;
|
|
1438
|
+
stopping?: boolean | undefined;
|
|
1439
|
+
}>, "many">>;
|
|
1237
1440
|
/** When its turns last moved to where they run now: the files earlier turns used are not here. */
|
|
1238
1441
|
movedAt: z.ZodOptional<z.ZodString>;
|
|
1239
1442
|
status: z.ZodEnum<["active", "archived"]>;
|
|
@@ -1300,6 +1503,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1300
1503
|
spawnedBy: string;
|
|
1301
1504
|
} | undefined;
|
|
1302
1505
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1506
|
+
backgroundCommands?: {
|
|
1507
|
+
status: "running" | "exited" | "stopped";
|
|
1508
|
+
id: string;
|
|
1509
|
+
startedAt: string;
|
|
1510
|
+
threadId: string;
|
|
1511
|
+
command: string;
|
|
1512
|
+
exitCode?: number | undefined;
|
|
1513
|
+
endedAt?: string | undefined;
|
|
1514
|
+
stopping?: boolean | undefined;
|
|
1515
|
+
}[] | undefined;
|
|
1303
1516
|
movedAt?: string | undefined;
|
|
1304
1517
|
lastMessageAt?: string | undefined;
|
|
1305
1518
|
}, {
|
|
@@ -1353,6 +1566,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1353
1566
|
spawnedBy: string;
|
|
1354
1567
|
} | undefined;
|
|
1355
1568
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1569
|
+
backgroundCommands?: {
|
|
1570
|
+
status: "running" | "exited" | "stopped";
|
|
1571
|
+
id: string;
|
|
1572
|
+
startedAt: string;
|
|
1573
|
+
threadId: string;
|
|
1574
|
+
command: string;
|
|
1575
|
+
exitCode?: number | undefined;
|
|
1576
|
+
endedAt?: string | undefined;
|
|
1577
|
+
stopping?: boolean | undefined;
|
|
1578
|
+
}[] | undefined;
|
|
1356
1579
|
movedAt?: string | undefined;
|
|
1357
1580
|
lastMessageAt?: string | undefined;
|
|
1358
1581
|
}>;
|
|
@@ -1408,6 +1631,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1408
1631
|
spawnedBy: string;
|
|
1409
1632
|
} | undefined;
|
|
1410
1633
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1634
|
+
backgroundCommands?: {
|
|
1635
|
+
status: "running" | "exited" | "stopped";
|
|
1636
|
+
id: string;
|
|
1637
|
+
startedAt: string;
|
|
1638
|
+
threadId: string;
|
|
1639
|
+
command: string;
|
|
1640
|
+
exitCode?: number | undefined;
|
|
1641
|
+
endedAt?: string | undefined;
|
|
1642
|
+
stopping?: boolean | undefined;
|
|
1643
|
+
}[] | undefined;
|
|
1411
1644
|
movedAt?: string | undefined;
|
|
1412
1645
|
lastMessageAt?: string | undefined;
|
|
1413
1646
|
};
|
|
@@ -1463,6 +1696,16 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
1463
1696
|
spawnedBy: string;
|
|
1464
1697
|
} | undefined;
|
|
1465
1698
|
sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
|
|
1699
|
+
backgroundCommands?: {
|
|
1700
|
+
status: "running" | "exited" | "stopped";
|
|
1701
|
+
id: string;
|
|
1702
|
+
startedAt: string;
|
|
1703
|
+
threadId: string;
|
|
1704
|
+
command: string;
|
|
1705
|
+
exitCode?: number | undefined;
|
|
1706
|
+
endedAt?: string | undefined;
|
|
1707
|
+
stopping?: boolean | undefined;
|
|
1708
|
+
}[] | undefined;
|
|
1466
1709
|
movedAt?: string | undefined;
|
|
1467
1710
|
lastMessageAt?: string | undefined;
|
|
1468
1711
|
};
|
|
@@ -1521,30 +1764,192 @@ export declare const HoldAgentComputerSessionBodySchema: z.ZodObject<{
|
|
|
1521
1764
|
name: string;
|
|
1522
1765
|
folder: string;
|
|
1523
1766
|
}>;
|
|
1767
|
+
/**
|
|
1768
|
+
* Your threads' background commands this `sixb` runs or ran: the running ones, then the latest
|
|
1769
|
+
* to end. Absent, none.
|
|
1770
|
+
*/
|
|
1771
|
+
backgroundCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1772
|
+
threadId: z.ZodString;
|
|
1773
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1774
|
+
id: z.ZodString;
|
|
1775
|
+
/** Its first 1,000 characters. */
|
|
1776
|
+
command: z.ZodString;
|
|
1777
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1778
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1779
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1780
|
+
startedAt: z.ZodString;
|
|
1781
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
}, "strict", z.ZodTypeAny, {
|
|
1783
|
+
status: "running" | "exited" | "stopped";
|
|
1784
|
+
id: string;
|
|
1785
|
+
startedAt: string;
|
|
1786
|
+
threadId: string;
|
|
1787
|
+
command: string;
|
|
1788
|
+
exitCode?: number | undefined;
|
|
1789
|
+
endedAt?: string | undefined;
|
|
1790
|
+
}, {
|
|
1791
|
+
status: "running" | "exited" | "stopped";
|
|
1792
|
+
id: string;
|
|
1793
|
+
startedAt: string;
|
|
1794
|
+
threadId: string;
|
|
1795
|
+
command: string;
|
|
1796
|
+
exitCode?: number | undefined;
|
|
1797
|
+
endedAt?: string | undefined;
|
|
1798
|
+
}>, "many">>;
|
|
1524
1799
|
}, "strict", z.ZodTypeAny, {
|
|
1525
1800
|
computer: {
|
|
1526
1801
|
id: string;
|
|
1527
1802
|
name: string;
|
|
1528
1803
|
folder: string;
|
|
1529
1804
|
};
|
|
1805
|
+
backgroundCommands?: {
|
|
1806
|
+
status: "running" | "exited" | "stopped";
|
|
1807
|
+
id: string;
|
|
1808
|
+
startedAt: string;
|
|
1809
|
+
threadId: string;
|
|
1810
|
+
command: string;
|
|
1811
|
+
exitCode?: number | undefined;
|
|
1812
|
+
endedAt?: string | undefined;
|
|
1813
|
+
}[] | undefined;
|
|
1530
1814
|
}, {
|
|
1531
1815
|
computer: {
|
|
1532
1816
|
id: string;
|
|
1533
1817
|
name: string;
|
|
1534
1818
|
folder: string;
|
|
1535
1819
|
};
|
|
1820
|
+
backgroundCommands?: {
|
|
1821
|
+
status: "running" | "exited" | "stopped";
|
|
1822
|
+
id: string;
|
|
1823
|
+
startedAt: string;
|
|
1824
|
+
threadId: string;
|
|
1825
|
+
command: string;
|
|
1826
|
+
exitCode?: number | undefined;
|
|
1827
|
+
endedAt?: string | undefined;
|
|
1828
|
+
}[] | undefined;
|
|
1829
|
+
}>;
|
|
1830
|
+
/** A background command by its start, as its id comes again once `sixb` restarts. */
|
|
1831
|
+
export declare const AgentBackgroundCommandRefSchema: z.ZodObject<{
|
|
1832
|
+
threadId: z.ZodString;
|
|
1833
|
+
id: z.ZodString;
|
|
1834
|
+
startedAt: z.ZodString;
|
|
1835
|
+
}, "strip", z.ZodTypeAny, {
|
|
1836
|
+
id: string;
|
|
1837
|
+
startedAt: string;
|
|
1838
|
+
threadId: string;
|
|
1839
|
+
}, {
|
|
1840
|
+
id: string;
|
|
1841
|
+
startedAt: string;
|
|
1842
|
+
threadId: string;
|
|
1536
1843
|
}>;
|
|
1537
1844
|
export declare const HoldAgentComputerSessionResponseSchema: z.ZodObject<{
|
|
1538
1845
|
/** Renew before then, or the session lapses and its threads read as offline. */
|
|
1539
1846
|
expiresAt: z.ZodString;
|
|
1540
1847
|
/** Queued turns of your threads on this computer, in this folder, for it to claim. */
|
|
1541
1848
|
waiting: z.ZodArray<z.ZodString, "many">;
|
|
1849
|
+
/** Running background commands someone asked to stop from elsewhere, for it to stop. */
|
|
1850
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1851
|
+
threadId: z.ZodString;
|
|
1852
|
+
id: z.ZodString;
|
|
1853
|
+
startedAt: z.ZodString;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
id: string;
|
|
1856
|
+
startedAt: string;
|
|
1857
|
+
threadId: string;
|
|
1858
|
+
}, {
|
|
1859
|
+
id: string;
|
|
1860
|
+
startedAt: string;
|
|
1861
|
+
threadId: string;
|
|
1862
|
+
}>, "many">>;
|
|
1542
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1864
|
expiresAt: string;
|
|
1544
1865
|
waiting: string[];
|
|
1866
|
+
stop?: {
|
|
1867
|
+
id: string;
|
|
1868
|
+
startedAt: string;
|
|
1869
|
+
threadId: string;
|
|
1870
|
+
}[] | undefined;
|
|
1545
1871
|
}, {
|
|
1546
1872
|
expiresAt: string;
|
|
1547
1873
|
waiting: string[];
|
|
1874
|
+
stop?: {
|
|
1875
|
+
id: string;
|
|
1876
|
+
startedAt: string;
|
|
1877
|
+
threadId: string;
|
|
1878
|
+
}[] | undefined;
|
|
1879
|
+
}>;
|
|
1880
|
+
export declare const AgentBackgroundCommandParamsSchema: z.ZodObject<{
|
|
1881
|
+
threadId: z.ZodString;
|
|
1882
|
+
commandId: z.ZodString;
|
|
1883
|
+
}, "strip", z.ZodTypeAny, {
|
|
1884
|
+
threadId: string;
|
|
1885
|
+
commandId: string;
|
|
1886
|
+
}, {
|
|
1887
|
+
threadId: string;
|
|
1888
|
+
commandId: string;
|
|
1889
|
+
}>;
|
|
1890
|
+
export declare const StopAgentBackgroundCommandBodySchema: z.ZodObject<{
|
|
1891
|
+
/** When it started, as reported: an id names another command once `sixb` restarts. */
|
|
1892
|
+
startedAt: z.ZodString;
|
|
1893
|
+
}, "strict", z.ZodTypeAny, {
|
|
1894
|
+
startedAt: string;
|
|
1895
|
+
}, {
|
|
1896
|
+
startedAt: string;
|
|
1897
|
+
}>;
|
|
1898
|
+
export declare const StopAgentBackgroundCommandResponseSchema: z.ZodObject<{
|
|
1899
|
+
command: z.ZodObject<{
|
|
1900
|
+
threadId: z.ZodString;
|
|
1901
|
+
/** `bg_<hex>`, as the agent's tools name it: with `startedAt`, it names the command. */
|
|
1902
|
+
id: z.ZodString;
|
|
1903
|
+
/** Its first 1,000 characters. */
|
|
1904
|
+
command: z.ZodString;
|
|
1905
|
+
status: z.ZodEnum<["running", "exited", "stopped"]>;
|
|
1906
|
+
/** Once it ended: a stopped command's is its signal's, such as 143 for SIGTERM. */
|
|
1907
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1908
|
+
startedAt: z.ZodString;
|
|
1909
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
} & {
|
|
1911
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
1912
|
+
}, "strict", z.ZodTypeAny, {
|
|
1913
|
+
status: "running" | "exited" | "stopped";
|
|
1914
|
+
id: string;
|
|
1915
|
+
startedAt: string;
|
|
1916
|
+
threadId: string;
|
|
1917
|
+
command: string;
|
|
1918
|
+
exitCode?: number | undefined;
|
|
1919
|
+
endedAt?: string | undefined;
|
|
1920
|
+
stopping?: boolean | undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
status: "running" | "exited" | "stopped";
|
|
1923
|
+
id: string;
|
|
1924
|
+
startedAt: string;
|
|
1925
|
+
threadId: string;
|
|
1926
|
+
command: string;
|
|
1927
|
+
exitCode?: number | undefined;
|
|
1928
|
+
endedAt?: string | undefined;
|
|
1929
|
+
stopping?: boolean | undefined;
|
|
1930
|
+
}>;
|
|
1931
|
+
}, "strip", z.ZodTypeAny, {
|
|
1932
|
+
command: {
|
|
1933
|
+
status: "running" | "exited" | "stopped";
|
|
1934
|
+
id: string;
|
|
1935
|
+
startedAt: string;
|
|
1936
|
+
threadId: string;
|
|
1937
|
+
command: string;
|
|
1938
|
+
exitCode?: number | undefined;
|
|
1939
|
+
endedAt?: string | undefined;
|
|
1940
|
+
stopping?: boolean | undefined;
|
|
1941
|
+
};
|
|
1942
|
+
}, {
|
|
1943
|
+
command: {
|
|
1944
|
+
status: "running" | "exited" | "stopped";
|
|
1945
|
+
id: string;
|
|
1946
|
+
startedAt: string;
|
|
1947
|
+
threadId: string;
|
|
1948
|
+
command: string;
|
|
1949
|
+
exitCode?: number | undefined;
|
|
1950
|
+
endedAt?: string | undefined;
|
|
1951
|
+
stopping?: boolean | undefined;
|
|
1952
|
+
};
|
|
1548
1953
|
}>;
|
|
1549
1954
|
export declare const AddAgentThreadParticipantsBodySchema: z.ZodObject<{
|
|
1550
1955
|
/**
|
|
@@ -4882,7 +5287,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4882
5287
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
4883
5288
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
4884
5289
|
}, "strip", z.ZodTypeAny, {
|
|
4885
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5290
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
4886
5291
|
projectId: string;
|
|
4887
5292
|
id: string;
|
|
4888
5293
|
kind: "conversation" | "subagent";
|
|
@@ -4943,7 +5348,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
4943
5348
|
scope: "run";
|
|
4944
5349
|
}[] | undefined;
|
|
4945
5350
|
}, {
|
|
4946
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5351
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
4947
5352
|
projectId: string;
|
|
4948
5353
|
id: string;
|
|
4949
5354
|
kind: "conversation" | "subagent";
|
|
@@ -5155,7 +5560,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5155
5560
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
5156
5561
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
5157
5562
|
}, "strip", z.ZodTypeAny, {
|
|
5158
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5563
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5159
5564
|
projectId: string;
|
|
5160
5565
|
id: string;
|
|
5161
5566
|
kind: "conversation" | "subagent";
|
|
@@ -5216,7 +5621,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5216
5621
|
scope: "run";
|
|
5217
5622
|
}[] | undefined;
|
|
5218
5623
|
}, {
|
|
5219
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5624
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5220
5625
|
projectId: string;
|
|
5221
5626
|
id: string;
|
|
5222
5627
|
kind: "conversation" | "subagent";
|
|
@@ -5279,7 +5684,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5279
5684
|
}>;
|
|
5280
5685
|
}, "strip", z.ZodTypeAny, {
|
|
5281
5686
|
run: {
|
|
5282
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5687
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5283
5688
|
projectId: string;
|
|
5284
5689
|
id: string;
|
|
5285
5690
|
kind: "conversation" | "subagent";
|
|
@@ -5342,7 +5747,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
5342
5747
|
};
|
|
5343
5748
|
}, {
|
|
5344
5749
|
run: {
|
|
5345
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5750
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5346
5751
|
projectId: string;
|
|
5347
5752
|
id: string;
|
|
5348
5753
|
kind: "conversation" | "subagent";
|
|
@@ -5555,7 +5960,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5555
5960
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
5556
5961
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
5557
5962
|
}, "strip", z.ZodTypeAny, {
|
|
5558
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
5963
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5559
5964
|
projectId: string;
|
|
5560
5965
|
id: string;
|
|
5561
5966
|
kind: "conversation" | "subagent";
|
|
@@ -5616,7 +6021,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5616
6021
|
scope: "run";
|
|
5617
6022
|
}[] | undefined;
|
|
5618
6023
|
}, {
|
|
5619
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6024
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5620
6025
|
projectId: string;
|
|
5621
6026
|
id: string;
|
|
5622
6027
|
kind: "conversation" | "subagent";
|
|
@@ -5679,7 +6084,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5679
6084
|
}>;
|
|
5680
6085
|
}, "strip", z.ZodTypeAny, {
|
|
5681
6086
|
run: {
|
|
5682
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6087
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5683
6088
|
projectId: string;
|
|
5684
6089
|
id: string;
|
|
5685
6090
|
kind: "conversation" | "subagent";
|
|
@@ -5742,7 +6147,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
5742
6147
|
};
|
|
5743
6148
|
}, {
|
|
5744
6149
|
run: {
|
|
5745
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6150
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
5746
6151
|
projectId: string;
|
|
5747
6152
|
id: string;
|
|
5748
6153
|
kind: "conversation" | "subagent";
|
|
@@ -6275,7 +6680,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6275
6680
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
6276
6681
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
6277
6682
|
}, "strip", z.ZodTypeAny, {
|
|
6278
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6683
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6279
6684
|
projectId: string;
|
|
6280
6685
|
id: string;
|
|
6281
6686
|
kind: "conversation" | "subagent";
|
|
@@ -6336,7 +6741,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6336
6741
|
scope: "run";
|
|
6337
6742
|
}[] | undefined;
|
|
6338
6743
|
}, {
|
|
6339
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6744
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6340
6745
|
projectId: string;
|
|
6341
6746
|
id: string;
|
|
6342
6747
|
kind: "conversation" | "subagent";
|
|
@@ -6484,7 +6889,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6484
6889
|
} | undefined;
|
|
6485
6890
|
};
|
|
6486
6891
|
run?: {
|
|
6487
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
6892
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6488
6893
|
projectId: string;
|
|
6489
6894
|
id: string;
|
|
6490
6895
|
kind: "conversation" | "subagent";
|
|
@@ -6618,7 +7023,7 @@ export declare const DecideAgentApprovalResponseSchema: z.ZodObject<{
|
|
|
6618
7023
|
} | undefined;
|
|
6619
7024
|
};
|
|
6620
7025
|
run?: {
|
|
6621
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7026
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6622
7027
|
projectId: string;
|
|
6623
7028
|
id: string;
|
|
6624
7029
|
kind: "conversation" | "subagent";
|
|
@@ -6837,7 +7242,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6837
7242
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
6838
7243
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
6839
7244
|
}, "strip", z.ZodTypeAny, {
|
|
6840
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7245
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6841
7246
|
projectId: string;
|
|
6842
7247
|
id: string;
|
|
6843
7248
|
kind: "conversation" | "subagent";
|
|
@@ -6898,7 +7303,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6898
7303
|
scope: "run";
|
|
6899
7304
|
}[] | undefined;
|
|
6900
7305
|
}, {
|
|
6901
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7306
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6902
7307
|
projectId: string;
|
|
6903
7308
|
id: string;
|
|
6904
7309
|
kind: "conversation" | "subagent";
|
|
@@ -6961,7 +7366,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
6961
7366
|
}>;
|
|
6962
7367
|
}, "strip", z.ZodTypeAny, {
|
|
6963
7368
|
run: {
|
|
6964
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7369
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
6965
7370
|
projectId: string;
|
|
6966
7371
|
id: string;
|
|
6967
7372
|
kind: "conversation" | "subagent";
|
|
@@ -7024,7 +7429,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
7024
7429
|
};
|
|
7025
7430
|
}, {
|
|
7026
7431
|
run: {
|
|
7027
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7432
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7028
7433
|
projectId: string;
|
|
7029
7434
|
id: string;
|
|
7030
7435
|
kind: "conversation" | "subagent";
|
|
@@ -7216,12 +7621,12 @@ export declare const AgentRunListQuerySchema: z.ZodObject<{
|
|
|
7216
7621
|
offset: z.ZodOptional<z.ZodString>;
|
|
7217
7622
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
7218
7623
|
}, "strip", z.ZodTypeAny, {
|
|
7219
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
7624
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
7220
7625
|
limit?: string | undefined;
|
|
7221
7626
|
offset?: string | undefined;
|
|
7222
7627
|
order?: "asc" | "desc" | undefined;
|
|
7223
7628
|
}, {
|
|
7224
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
7629
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
7225
7630
|
limit?: string | undefined;
|
|
7226
7631
|
offset?: string | undefined;
|
|
7227
7632
|
order?: "asc" | "desc" | undefined;
|
|
@@ -7377,7 +7782,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7377
7782
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
7378
7783
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
7379
7784
|
}, "strip", z.ZodTypeAny, {
|
|
7380
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7785
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7381
7786
|
projectId: string;
|
|
7382
7787
|
id: string;
|
|
7383
7788
|
kind: "conversation" | "subagent";
|
|
@@ -7438,7 +7843,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7438
7843
|
scope: "run";
|
|
7439
7844
|
}[] | undefined;
|
|
7440
7845
|
}, {
|
|
7441
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7846
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7442
7847
|
projectId: string;
|
|
7443
7848
|
id: string;
|
|
7444
7849
|
kind: "conversation" | "subagent";
|
|
@@ -7503,7 +7908,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7503
7908
|
total: z.ZodNumber;
|
|
7504
7909
|
}, "strip", z.ZodTypeAny, {
|
|
7505
7910
|
runs: {
|
|
7506
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7911
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7507
7912
|
projectId: string;
|
|
7508
7913
|
id: string;
|
|
7509
7914
|
kind: "conversation" | "subagent";
|
|
@@ -7568,7 +7973,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
7568
7973
|
total: number;
|
|
7569
7974
|
}, {
|
|
7570
7975
|
runs: {
|
|
7571
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
7976
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7572
7977
|
projectId: string;
|
|
7573
7978
|
id: string;
|
|
7574
7979
|
kind: "conversation" | "subagent";
|
|
@@ -7849,7 +8254,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7849
8254
|
unvaluedCallCount: number;
|
|
7850
8255
|
}>>;
|
|
7851
8256
|
}, "strip", z.ZodTypeAny, {
|
|
7852
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8257
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7853
8258
|
id: string;
|
|
7854
8259
|
createdAt: string;
|
|
7855
8260
|
attempt: number;
|
|
@@ -7901,7 +8306,7 @@ export declare const AgentChildRunSchema: z.ZodObject<{
|
|
|
7901
8306
|
} | undefined;
|
|
7902
8307
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
7903
8308
|
}, {
|
|
7904
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8309
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
7905
8310
|
id: string;
|
|
7906
8311
|
createdAt: string;
|
|
7907
8312
|
attempt: number;
|
|
@@ -8391,7 +8796,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8391
8796
|
unvaluedCallCount: number;
|
|
8392
8797
|
}>>;
|
|
8393
8798
|
}, "strip", z.ZodTypeAny, {
|
|
8394
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8799
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8395
8800
|
id: string;
|
|
8396
8801
|
createdAt: string;
|
|
8397
8802
|
attempt: number;
|
|
@@ -8443,7 +8848,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8443
8848
|
} | undefined;
|
|
8444
8849
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
8445
8850
|
}, {
|
|
8446
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8851
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8447
8852
|
id: string;
|
|
8448
8853
|
createdAt: string;
|
|
8449
8854
|
attempt: number;
|
|
@@ -8496,7 +8901,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8496
8901
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
8497
8902
|
}>, "many">;
|
|
8498
8903
|
}, "strip", z.ZodTypeAny, {
|
|
8499
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8904
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8500
8905
|
projectId: string;
|
|
8501
8906
|
id: string;
|
|
8502
8907
|
model: {
|
|
@@ -8504,7 +8909,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8504
8909
|
provider: string;
|
|
8505
8910
|
};
|
|
8506
8911
|
runs: {
|
|
8507
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
8912
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8508
8913
|
id: string;
|
|
8509
8914
|
createdAt: string;
|
|
8510
8915
|
attempt: number;
|
|
@@ -8621,7 +9026,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8621
9026
|
reason: "superseded" | "expired" | "stopped" | "replaced";
|
|
8622
9027
|
} | undefined;
|
|
8623
9028
|
}, {
|
|
8624
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9029
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8625
9030
|
projectId: string;
|
|
8626
9031
|
id: string;
|
|
8627
9032
|
model: {
|
|
@@ -8629,7 +9034,7 @@ export declare const AgentChildSchema: z.ZodObject<{
|
|
|
8629
9034
|
provider: string;
|
|
8630
9035
|
};
|
|
8631
9036
|
runs: {
|
|
8632
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9037
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
8633
9038
|
id: string;
|
|
8634
9039
|
createdAt: string;
|
|
8635
9040
|
attempt: number;
|
|
@@ -9139,7 +9544,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9139
9544
|
unvaluedCallCount: number;
|
|
9140
9545
|
}>>;
|
|
9141
9546
|
}, "strip", z.ZodTypeAny, {
|
|
9142
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9547
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9143
9548
|
id: string;
|
|
9144
9549
|
createdAt: string;
|
|
9145
9550
|
attempt: number;
|
|
@@ -9191,7 +9596,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9191
9596
|
} | undefined;
|
|
9192
9597
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
9193
9598
|
}, {
|
|
9194
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9599
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9195
9600
|
id: string;
|
|
9196
9601
|
createdAt: string;
|
|
9197
9602
|
attempt: number;
|
|
@@ -9244,7 +9649,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9244
9649
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
9245
9650
|
}>, "many">;
|
|
9246
9651
|
}, "strip", z.ZodTypeAny, {
|
|
9247
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9652
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9248
9653
|
projectId: string;
|
|
9249
9654
|
id: string;
|
|
9250
9655
|
model: {
|
|
@@ -9252,7 +9657,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9252
9657
|
provider: string;
|
|
9253
9658
|
};
|
|
9254
9659
|
runs: {
|
|
9255
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9660
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9256
9661
|
id: string;
|
|
9257
9662
|
createdAt: string;
|
|
9258
9663
|
attempt: number;
|
|
@@ -9369,7 +9774,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9369
9774
|
reason: "superseded" | "expired" | "stopped" | "replaced";
|
|
9370
9775
|
} | undefined;
|
|
9371
9776
|
}, {
|
|
9372
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9777
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9373
9778
|
projectId: string;
|
|
9374
9779
|
id: string;
|
|
9375
9780
|
model: {
|
|
@@ -9377,7 +9782,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9377
9782
|
provider: string;
|
|
9378
9783
|
};
|
|
9379
9784
|
runs: {
|
|
9380
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9785
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9381
9786
|
id: string;
|
|
9382
9787
|
createdAt: string;
|
|
9383
9788
|
attempt: number;
|
|
@@ -9496,7 +9901,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9496
9901
|
}>, "many">;
|
|
9497
9902
|
}, "strip", z.ZodTypeAny, {
|
|
9498
9903
|
children: {
|
|
9499
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9904
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9500
9905
|
projectId: string;
|
|
9501
9906
|
id: string;
|
|
9502
9907
|
model: {
|
|
@@ -9504,7 +9909,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9504
9909
|
provider: string;
|
|
9505
9910
|
};
|
|
9506
9911
|
runs: {
|
|
9507
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
9912
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9508
9913
|
id: string;
|
|
9509
9914
|
createdAt: string;
|
|
9510
9915
|
attempt: number;
|
|
@@ -9623,7 +10028,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9623
10028
|
}[];
|
|
9624
10029
|
}, {
|
|
9625
10030
|
children: {
|
|
9626
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
10031
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9627
10032
|
projectId: string;
|
|
9628
10033
|
id: string;
|
|
9629
10034
|
model: {
|
|
@@ -9631,7 +10036,7 @@ export declare const AgentChildListResponseSchema: z.ZodObject<{
|
|
|
9631
10036
|
provider: string;
|
|
9632
10037
|
};
|
|
9633
10038
|
runs: {
|
|
9634
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
10039
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
9635
10040
|
id: string;
|
|
9636
10041
|
createdAt: string;
|
|
9637
10042
|
attempt: number;
|