codebuff 1.0.259 → 1.0.261
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/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/code-map/tsconfig.tsbuildinfo +1 -1
- package/dist/common/actions.d.ts +52 -52
- package/dist/common/types/agent-state.d.ts +6 -6
- package/dist/common/types/message.d.ts +6 -6
- package/dist/common/util/credentials.d.ts +2 -2
- package/dist/common/websockets/websocket-schema.d.ts +88 -88
- package/dist/dev-process-manager.js +1 -0
- package/dist/dev-process-manager.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/startup-process-handler.js +1 -1
- package/dist/startup-process-handler.js.map +1 -1
- package/dist/utils/__tests__/tool-renderers.test.js +2 -2
- package/dist/utils/__tests__/tool-renderers.test.js.map +1 -1
- package/dist/utils/terminal.d.ts +2 -2
- package/dist/utils/terminal.js +40 -28
- package/dist/utils/terminal.js.map +1 -1
- package/dist/utils/tool-renderers.js +1 -1
- package/dist/utils/tool-renderers.js.map +1 -1
- package/package.json +14 -18
package/dist/common/actions.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export declare const FileChangeSchema: z.ZodObject<{
|
|
|
5
5
|
content: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
path: string;
|
|
8
|
-
type: "file" | "patch";
|
|
9
8
|
content: string;
|
|
9
|
+
type: "file" | "patch";
|
|
10
10
|
}, {
|
|
11
11
|
path: string;
|
|
12
|
-
type: "file" | "patch";
|
|
13
12
|
content: string;
|
|
13
|
+
type: "file" | "patch";
|
|
14
14
|
}>;
|
|
15
15
|
export type FileChange = z.infer<typeof FileChangeSchema>;
|
|
16
16
|
export declare const CHANGES: z.ZodArray<z.ZodObject<{
|
|
@@ -19,12 +19,12 @@ export declare const CHANGES: z.ZodArray<z.ZodObject<{
|
|
|
19
19
|
content: z.ZodString;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
path: string;
|
|
22
|
-
type: "file" | "patch";
|
|
23
22
|
content: string;
|
|
23
|
+
type: "file" | "patch";
|
|
24
24
|
}, {
|
|
25
25
|
path: string;
|
|
26
|
-
type: "file" | "patch";
|
|
27
26
|
content: string;
|
|
27
|
+
type: "file" | "patch";
|
|
28
28
|
}>, "many">;
|
|
29
29
|
export type FileChanges = z.infer<typeof CHANGES>;
|
|
30
30
|
export declare const ToolCallSchema: z.ZodObject<{
|
|
@@ -223,15 +223,15 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
223
223
|
type: "ephemeral";
|
|
224
224
|
}>>;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
type: "tool_result";
|
|
227
226
|
content: string;
|
|
227
|
+
type: "tool_result";
|
|
228
228
|
tool_use_id: string;
|
|
229
229
|
cache_control?: {
|
|
230
230
|
type: "ephemeral";
|
|
231
231
|
} | undefined;
|
|
232
232
|
}, {
|
|
233
|
-
type: "tool_result";
|
|
234
233
|
content: string;
|
|
234
|
+
type: "tool_result";
|
|
235
235
|
tool_use_id: string;
|
|
236
236
|
cache_control?: {
|
|
237
237
|
type: "ephemeral";
|
|
@@ -295,8 +295,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
295
295
|
type: "ephemeral";
|
|
296
296
|
} | undefined;
|
|
297
297
|
} | {
|
|
298
|
-
type: "tool_result";
|
|
299
298
|
content: string;
|
|
299
|
+
type: "tool_result";
|
|
300
300
|
tool_use_id: string;
|
|
301
301
|
cache_control?: {
|
|
302
302
|
type: "ephemeral";
|
|
@@ -329,8 +329,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
329
329
|
type: "ephemeral";
|
|
330
330
|
} | undefined;
|
|
331
331
|
} | {
|
|
332
|
-
type: "tool_result";
|
|
333
332
|
content: string;
|
|
333
|
+
type: "tool_result";
|
|
334
334
|
tool_use_id: string;
|
|
335
335
|
cache_control?: {
|
|
336
336
|
type: "ephemeral";
|
|
@@ -394,8 +394,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
394
394
|
type: "ephemeral";
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | {
|
|
397
|
-
type: "tool_result";
|
|
398
397
|
content: string;
|
|
398
|
+
type: "tool_result";
|
|
399
399
|
tool_use_id: string;
|
|
400
400
|
cache_control?: {
|
|
401
401
|
type: "ephemeral";
|
|
@@ -459,8 +459,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
459
459
|
type: "ephemeral";
|
|
460
460
|
} | undefined;
|
|
461
461
|
} | {
|
|
462
|
-
type: "tool_result";
|
|
463
462
|
content: string;
|
|
463
|
+
type: "tool_result";
|
|
464
464
|
tool_use_id: string;
|
|
465
465
|
cache_control?: {
|
|
466
466
|
type: "ephemeral";
|
|
@@ -544,8 +544,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
544
544
|
type: "ephemeral";
|
|
545
545
|
} | undefined;
|
|
546
546
|
} | {
|
|
547
|
-
type: "tool_result";
|
|
548
547
|
content: string;
|
|
548
|
+
type: "tool_result";
|
|
549
549
|
tool_use_id: string;
|
|
550
550
|
cache_control?: {
|
|
551
551
|
type: "ephemeral";
|
|
@@ -622,8 +622,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
622
622
|
type: "ephemeral";
|
|
623
623
|
} | undefined;
|
|
624
624
|
} | {
|
|
625
|
-
type: "tool_result";
|
|
626
625
|
content: string;
|
|
626
|
+
type: "tool_result";
|
|
627
627
|
tool_use_id: string;
|
|
628
628
|
cache_control?: {
|
|
629
629
|
type: "ephemeral";
|
|
@@ -914,12 +914,12 @@ export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
914
914
|
content: z.ZodString;
|
|
915
915
|
}, "strip", z.ZodTypeAny, {
|
|
916
916
|
path: string;
|
|
917
|
-
type: "file" | "patch";
|
|
918
917
|
content: string;
|
|
918
|
+
type: "file" | "patch";
|
|
919
919
|
}, {
|
|
920
920
|
path: string;
|
|
921
|
-
type: "file" | "patch";
|
|
922
921
|
content: string;
|
|
922
|
+
type: "file" | "patch";
|
|
923
923
|
}>, "many">;
|
|
924
924
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
925
925
|
type: z.ZodEnum<["patch", "file"]>;
|
|
@@ -927,12 +927,12 @@ export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
927
927
|
content: z.ZodString;
|
|
928
928
|
}, "strip", z.ZodTypeAny, {
|
|
929
929
|
path: string;
|
|
930
|
-
type: "file" | "patch";
|
|
931
930
|
content: string;
|
|
931
|
+
type: "file" | "patch";
|
|
932
932
|
}, {
|
|
933
933
|
path: string;
|
|
934
|
-
type: "file" | "patch";
|
|
935
934
|
content: string;
|
|
935
|
+
type: "file" | "patch";
|
|
936
936
|
}>, "many">;
|
|
937
937
|
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
938
938
|
path: z.ZodString;
|
|
@@ -957,13 +957,13 @@ export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
957
957
|
response: string;
|
|
958
958
|
changes: {
|
|
959
959
|
path: string;
|
|
960
|
-
type: "file" | "patch";
|
|
961
960
|
content: string;
|
|
961
|
+
type: "file" | "patch";
|
|
962
962
|
}[];
|
|
963
963
|
changesAlreadyApplied: {
|
|
964
964
|
path: string;
|
|
965
|
-
type: "file" | "patch";
|
|
966
965
|
content: string;
|
|
966
|
+
type: "file" | "patch";
|
|
967
967
|
}[];
|
|
968
968
|
addedFileVersions: {
|
|
969
969
|
path: string;
|
|
@@ -981,13 +981,13 @@ export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
981
981
|
response: string;
|
|
982
982
|
changes: {
|
|
983
983
|
path: string;
|
|
984
|
-
type: "file" | "patch";
|
|
985
984
|
content: string;
|
|
985
|
+
type: "file" | "patch";
|
|
986
986
|
}[];
|
|
987
987
|
changesAlreadyApplied: {
|
|
988
988
|
path: string;
|
|
989
|
-
type: "file" | "patch";
|
|
990
989
|
content: string;
|
|
990
|
+
type: "file" | "patch";
|
|
991
991
|
}[];
|
|
992
992
|
addedFileVersions: {
|
|
993
993
|
path: string;
|
|
@@ -1192,15 +1192,15 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1192
1192
|
type: "ephemeral";
|
|
1193
1193
|
}>>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
type: "tool_result";
|
|
1196
1195
|
content: string;
|
|
1196
|
+
type: "tool_result";
|
|
1197
1197
|
tool_use_id: string;
|
|
1198
1198
|
cache_control?: {
|
|
1199
1199
|
type: "ephemeral";
|
|
1200
1200
|
} | undefined;
|
|
1201
1201
|
}, {
|
|
1202
|
-
type: "tool_result";
|
|
1203
1202
|
content: string;
|
|
1203
|
+
type: "tool_result";
|
|
1204
1204
|
tool_use_id: string;
|
|
1205
1205
|
cache_control?: {
|
|
1206
1206
|
type: "ephemeral";
|
|
@@ -1264,8 +1264,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1264
1264
|
type: "ephemeral";
|
|
1265
1265
|
} | undefined;
|
|
1266
1266
|
} | {
|
|
1267
|
-
type: "tool_result";
|
|
1268
1267
|
content: string;
|
|
1268
|
+
type: "tool_result";
|
|
1269
1269
|
tool_use_id: string;
|
|
1270
1270
|
cache_control?: {
|
|
1271
1271
|
type: "ephemeral";
|
|
@@ -1298,8 +1298,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1298
1298
|
type: "ephemeral";
|
|
1299
1299
|
} | undefined;
|
|
1300
1300
|
} | {
|
|
1301
|
-
type: "tool_result";
|
|
1302
1301
|
content: string;
|
|
1302
|
+
type: "tool_result";
|
|
1303
1303
|
tool_use_id: string;
|
|
1304
1304
|
cache_control?: {
|
|
1305
1305
|
type: "ephemeral";
|
|
@@ -1363,8 +1363,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1363
1363
|
type: "ephemeral";
|
|
1364
1364
|
} | undefined;
|
|
1365
1365
|
} | {
|
|
1366
|
-
type: "tool_result";
|
|
1367
1366
|
content: string;
|
|
1367
|
+
type: "tool_result";
|
|
1368
1368
|
tool_use_id: string;
|
|
1369
1369
|
cache_control?: {
|
|
1370
1370
|
type: "ephemeral";
|
|
@@ -1428,8 +1428,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1428
1428
|
type: "ephemeral";
|
|
1429
1429
|
} | undefined;
|
|
1430
1430
|
} | {
|
|
1431
|
-
type: "tool_result";
|
|
1432
1431
|
content: string;
|
|
1432
|
+
type: "tool_result";
|
|
1433
1433
|
tool_use_id: string;
|
|
1434
1434
|
cache_control?: {
|
|
1435
1435
|
type: "ephemeral";
|
|
@@ -1523,8 +1523,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1523
1523
|
type: "ephemeral";
|
|
1524
1524
|
} | undefined;
|
|
1525
1525
|
} | {
|
|
1526
|
-
type: "tool_result";
|
|
1527
1526
|
content: string;
|
|
1527
|
+
type: "tool_result";
|
|
1528
1528
|
tool_use_id: string;
|
|
1529
1529
|
cache_control?: {
|
|
1530
1530
|
type: "ephemeral";
|
|
@@ -1602,8 +1602,8 @@ export declare const PromptResponseSchema: z.ZodObject<{
|
|
|
1602
1602
|
type: "ephemeral";
|
|
1603
1603
|
} | undefined;
|
|
1604
1604
|
} | {
|
|
1605
|
-
type: "tool_result";
|
|
1606
1605
|
content: string;
|
|
1606
|
+
type: "tool_result";
|
|
1607
1607
|
tool_use_id: string;
|
|
1608
1608
|
cache_control?: {
|
|
1609
1609
|
type: "ephemeral";
|
|
@@ -1657,12 +1657,12 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1657
1657
|
content: z.ZodString;
|
|
1658
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1659
1659
|
path: string;
|
|
1660
|
-
type: "file" | "patch";
|
|
1661
1660
|
content: string;
|
|
1661
|
+
type: "file" | "patch";
|
|
1662
1662
|
}, {
|
|
1663
1663
|
path: string;
|
|
1664
|
-
type: "file" | "patch";
|
|
1665
1664
|
content: string;
|
|
1665
|
+
type: "file" | "patch";
|
|
1666
1666
|
}>, "many">;
|
|
1667
1667
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
1668
1668
|
type: z.ZodEnum<["patch", "file"]>;
|
|
@@ -1670,12 +1670,12 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1670
1670
|
content: z.ZodString;
|
|
1671
1671
|
}, "strip", z.ZodTypeAny, {
|
|
1672
1672
|
path: string;
|
|
1673
|
-
type: "file" | "patch";
|
|
1674
1673
|
content: string;
|
|
1674
|
+
type: "file" | "patch";
|
|
1675
1675
|
}, {
|
|
1676
1676
|
path: string;
|
|
1677
|
-
type: "file" | "patch";
|
|
1678
1677
|
content: string;
|
|
1678
|
+
type: "file" | "patch";
|
|
1679
1679
|
}>, "many">;
|
|
1680
1680
|
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
1681
1681
|
path: z.ZodString;
|
|
@@ -1700,13 +1700,13 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1700
1700
|
response: string;
|
|
1701
1701
|
changes: {
|
|
1702
1702
|
path: string;
|
|
1703
|
-
type: "file" | "patch";
|
|
1704
1703
|
content: string;
|
|
1704
|
+
type: "file" | "patch";
|
|
1705
1705
|
}[];
|
|
1706
1706
|
changesAlreadyApplied: {
|
|
1707
1707
|
path: string;
|
|
1708
|
-
type: "file" | "patch";
|
|
1709
1708
|
content: string;
|
|
1709
|
+
type: "file" | "patch";
|
|
1710
1710
|
}[];
|
|
1711
1711
|
addedFileVersions: {
|
|
1712
1712
|
path: string;
|
|
@@ -1724,13 +1724,13 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1724
1724
|
response: string;
|
|
1725
1725
|
changes: {
|
|
1726
1726
|
path: string;
|
|
1727
|
-
type: "file" | "patch";
|
|
1728
1727
|
content: string;
|
|
1728
|
+
type: "file" | "patch";
|
|
1729
1729
|
}[];
|
|
1730
1730
|
changesAlreadyApplied: {
|
|
1731
1731
|
path: string;
|
|
1732
|
-
type: "file" | "patch";
|
|
1733
1732
|
content: string;
|
|
1733
|
+
type: "file" | "patch";
|
|
1734
1734
|
}[];
|
|
1735
1735
|
addedFileVersions: {
|
|
1736
1736
|
path: string;
|
|
@@ -1920,15 +1920,15 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1920
1920
|
type: "ephemeral";
|
|
1921
1921
|
}>>;
|
|
1922
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1923
|
-
type: "tool_result";
|
|
1924
1923
|
content: string;
|
|
1924
|
+
type: "tool_result";
|
|
1925
1925
|
tool_use_id: string;
|
|
1926
1926
|
cache_control?: {
|
|
1927
1927
|
type: "ephemeral";
|
|
1928
1928
|
} | undefined;
|
|
1929
1929
|
}, {
|
|
1930
|
-
type: "tool_result";
|
|
1931
1930
|
content: string;
|
|
1931
|
+
type: "tool_result";
|
|
1932
1932
|
tool_use_id: string;
|
|
1933
1933
|
cache_control?: {
|
|
1934
1934
|
type: "ephemeral";
|
|
@@ -1992,8 +1992,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1992
1992
|
type: "ephemeral";
|
|
1993
1993
|
} | undefined;
|
|
1994
1994
|
} | {
|
|
1995
|
-
type: "tool_result";
|
|
1996
1995
|
content: string;
|
|
1996
|
+
type: "tool_result";
|
|
1997
1997
|
tool_use_id: string;
|
|
1998
1998
|
cache_control?: {
|
|
1999
1999
|
type: "ephemeral";
|
|
@@ -2026,8 +2026,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2026
2026
|
type: "ephemeral";
|
|
2027
2027
|
} | undefined;
|
|
2028
2028
|
} | {
|
|
2029
|
-
type: "tool_result";
|
|
2030
2029
|
content: string;
|
|
2030
|
+
type: "tool_result";
|
|
2031
2031
|
tool_use_id: string;
|
|
2032
2032
|
cache_control?: {
|
|
2033
2033
|
type: "ephemeral";
|
|
@@ -2091,8 +2091,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2091
2091
|
type: "ephemeral";
|
|
2092
2092
|
} | undefined;
|
|
2093
2093
|
} | {
|
|
2094
|
-
type: "tool_result";
|
|
2095
2094
|
content: string;
|
|
2095
|
+
type: "tool_result";
|
|
2096
2096
|
tool_use_id: string;
|
|
2097
2097
|
cache_control?: {
|
|
2098
2098
|
type: "ephemeral";
|
|
@@ -2156,8 +2156,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2156
2156
|
type: "ephemeral";
|
|
2157
2157
|
} | undefined;
|
|
2158
2158
|
} | {
|
|
2159
|
-
type: "tool_result";
|
|
2160
2159
|
content: string;
|
|
2160
|
+
type: "tool_result";
|
|
2161
2161
|
tool_use_id: string;
|
|
2162
2162
|
cache_control?: {
|
|
2163
2163
|
type: "ephemeral";
|
|
@@ -2251,8 +2251,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2251
2251
|
type: "ephemeral";
|
|
2252
2252
|
} | undefined;
|
|
2253
2253
|
} | {
|
|
2254
|
-
type: "tool_result";
|
|
2255
2254
|
content: string;
|
|
2255
|
+
type: "tool_result";
|
|
2256
2256
|
tool_use_id: string;
|
|
2257
2257
|
cache_control?: {
|
|
2258
2258
|
type: "ephemeral";
|
|
@@ -2330,8 +2330,8 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2330
2330
|
type: "ephemeral";
|
|
2331
2331
|
} | undefined;
|
|
2332
2332
|
} | {
|
|
2333
|
-
type: "tool_result";
|
|
2334
2333
|
content: string;
|
|
2334
|
+
type: "tool_result";
|
|
2335
2335
|
tool_use_id: string;
|
|
2336
2336
|
cache_control?: {
|
|
2337
2337
|
type: "ephemeral";
|
|
@@ -2396,12 +2396,12 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2396
2396
|
content: z.ZodString;
|
|
2397
2397
|
}, "strip", z.ZodTypeAny, {
|
|
2398
2398
|
path: string;
|
|
2399
|
-
type: "file" | "patch";
|
|
2400
2399
|
content: string;
|
|
2400
|
+
type: "file" | "patch";
|
|
2401
2401
|
}, {
|
|
2402
2402
|
path: string;
|
|
2403
|
-
type: "file" | "patch";
|
|
2404
2403
|
content: string;
|
|
2404
|
+
type: "file" | "patch";
|
|
2405
2405
|
}>, "many">;
|
|
2406
2406
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
2407
2407
|
type: z.ZodEnum<["patch", "file"]>;
|
|
@@ -2409,12 +2409,12 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2409
2409
|
content: z.ZodString;
|
|
2410
2410
|
}, "strip", z.ZodTypeAny, {
|
|
2411
2411
|
path: string;
|
|
2412
|
-
type: "file" | "patch";
|
|
2413
2412
|
content: string;
|
|
2413
|
+
type: "file" | "patch";
|
|
2414
2414
|
}, {
|
|
2415
2415
|
path: string;
|
|
2416
|
-
type: "file" | "patch";
|
|
2417
2416
|
content: string;
|
|
2417
|
+
type: "file" | "patch";
|
|
2418
2418
|
}>, "many">;
|
|
2419
2419
|
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
2420
2420
|
path: z.ZodString;
|
|
@@ -2438,13 +2438,13 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2438
2438
|
response: string;
|
|
2439
2439
|
changes: {
|
|
2440
2440
|
path: string;
|
|
2441
|
-
type: "file" | "patch";
|
|
2442
2441
|
content: string;
|
|
2442
|
+
type: "file" | "patch";
|
|
2443
2443
|
}[];
|
|
2444
2444
|
changesAlreadyApplied: {
|
|
2445
2445
|
path: string;
|
|
2446
|
-
type: "file" | "patch";
|
|
2447
2446
|
content: string;
|
|
2447
|
+
type: "file" | "patch";
|
|
2448
2448
|
}[];
|
|
2449
2449
|
addedFileVersions: {
|
|
2450
2450
|
path: string;
|
|
@@ -2462,13 +2462,13 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2462
2462
|
response: string;
|
|
2463
2463
|
changes: {
|
|
2464
2464
|
path: string;
|
|
2465
|
-
type: "file" | "patch";
|
|
2466
2465
|
content: string;
|
|
2466
|
+
type: "file" | "patch";
|
|
2467
2467
|
}[];
|
|
2468
2468
|
changesAlreadyApplied: {
|
|
2469
2469
|
path: string;
|
|
2470
|
-
type: "file" | "patch";
|
|
2471
2470
|
content: string;
|
|
2471
|
+
type: "file" | "patch";
|
|
2472
2472
|
}[];
|
|
2473
2473
|
addedFileVersions: {
|
|
2474
2474
|
path: string;
|
|
@@ -203,15 +203,15 @@ export declare const AgentStateSchema: z.ZodObject<{
|
|
|
203
203
|
type: "ephemeral";
|
|
204
204
|
}>>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
type: "tool_result";
|
|
207
206
|
content: string;
|
|
207
|
+
type: "tool_result";
|
|
208
208
|
tool_use_id: string;
|
|
209
209
|
cache_control?: {
|
|
210
210
|
type: "ephemeral";
|
|
211
211
|
} | undefined;
|
|
212
212
|
}, {
|
|
213
|
-
type: "tool_result";
|
|
214
213
|
content: string;
|
|
214
|
+
type: "tool_result";
|
|
215
215
|
tool_use_id: string;
|
|
216
216
|
cache_control?: {
|
|
217
217
|
type: "ephemeral";
|
|
@@ -275,8 +275,8 @@ export declare const AgentStateSchema: z.ZodObject<{
|
|
|
275
275
|
type: "ephemeral";
|
|
276
276
|
} | undefined;
|
|
277
277
|
} | {
|
|
278
|
-
type: "tool_result";
|
|
279
278
|
content: string;
|
|
279
|
+
type: "tool_result";
|
|
280
280
|
tool_use_id: string;
|
|
281
281
|
cache_control?: {
|
|
282
282
|
type: "ephemeral";
|
|
@@ -309,8 +309,8 @@ export declare const AgentStateSchema: z.ZodObject<{
|
|
|
309
309
|
type: "ephemeral";
|
|
310
310
|
} | undefined;
|
|
311
311
|
} | {
|
|
312
|
-
type: "tool_result";
|
|
313
312
|
content: string;
|
|
313
|
+
type: "tool_result";
|
|
314
314
|
tool_use_id: string;
|
|
315
315
|
cache_control?: {
|
|
316
316
|
type: "ephemeral";
|
|
@@ -374,8 +374,8 @@ export declare const AgentStateSchema: z.ZodObject<{
|
|
|
374
374
|
type: "ephemeral";
|
|
375
375
|
} | undefined;
|
|
376
376
|
} | {
|
|
377
|
-
type: "tool_result";
|
|
378
377
|
content: string;
|
|
378
|
+
type: "tool_result";
|
|
379
379
|
tool_use_id: string;
|
|
380
380
|
cache_control?: {
|
|
381
381
|
type: "ephemeral";
|
|
@@ -439,8 +439,8 @@ export declare const AgentStateSchema: z.ZodObject<{
|
|
|
439
439
|
type: "ephemeral";
|
|
440
440
|
} | undefined;
|
|
441
441
|
} | {
|
|
442
|
-
type: "tool_result";
|
|
443
442
|
content: string;
|
|
443
|
+
type: "tool_result";
|
|
444
444
|
tool_use_id: string;
|
|
445
445
|
cache_control?: {
|
|
446
446
|
type: "ephemeral";
|
|
@@ -61,15 +61,15 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
61
61
|
type: "ephemeral";
|
|
62
62
|
}>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
type: "tool_result";
|
|
65
64
|
content: string;
|
|
65
|
+
type: "tool_result";
|
|
66
66
|
tool_use_id: string;
|
|
67
67
|
cache_control?: {
|
|
68
68
|
type: "ephemeral";
|
|
69
69
|
} | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
type: "tool_result";
|
|
72
71
|
content: string;
|
|
72
|
+
type: "tool_result";
|
|
73
73
|
tool_use_id: string;
|
|
74
74
|
cache_control?: {
|
|
75
75
|
type: "ephemeral";
|
|
@@ -181,15 +181,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
181
181
|
type: "ephemeral";
|
|
182
182
|
}>>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
type: "tool_result";
|
|
185
184
|
content: string;
|
|
185
|
+
type: "tool_result";
|
|
186
186
|
tool_use_id: string;
|
|
187
187
|
cache_control?: {
|
|
188
188
|
type: "ephemeral";
|
|
189
189
|
} | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
type: "tool_result";
|
|
192
191
|
content: string;
|
|
192
|
+
type: "tool_result";
|
|
193
193
|
tool_use_id: string;
|
|
194
194
|
cache_control?: {
|
|
195
195
|
type: "ephemeral";
|
|
@@ -253,8 +253,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
253
253
|
type: "ephemeral";
|
|
254
254
|
} | undefined;
|
|
255
255
|
} | {
|
|
256
|
-
type: "tool_result";
|
|
257
256
|
content: string;
|
|
257
|
+
type: "tool_result";
|
|
258
258
|
tool_use_id: string;
|
|
259
259
|
cache_control?: {
|
|
260
260
|
type: "ephemeral";
|
|
@@ -287,8 +287,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
287
287
|
type: "ephemeral";
|
|
288
288
|
} | undefined;
|
|
289
289
|
} | {
|
|
290
|
-
type: "tool_result";
|
|
291
290
|
content: string;
|
|
291
|
+
type: "tool_result";
|
|
292
292
|
tool_use_id: string;
|
|
293
293
|
cache_control?: {
|
|
294
294
|
type: "ephemeral";
|
|
@@ -7,15 +7,15 @@ export declare const userSchema: z.ZodObject<{
|
|
|
7
7
|
fingerprintId: z.ZodString;
|
|
8
8
|
fingerprintHash: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
name: string | null;
|
|
11
10
|
email: string;
|
|
11
|
+
name: string | null;
|
|
12
12
|
id: string;
|
|
13
13
|
fingerprintId: string;
|
|
14
14
|
authToken: string;
|
|
15
15
|
fingerprintHash: string;
|
|
16
16
|
}, {
|
|
17
|
-
name: string | null;
|
|
18
17
|
email: string;
|
|
18
|
+
name: string | null;
|
|
19
19
|
id: string;
|
|
20
20
|
fingerprintId: string;
|
|
21
21
|
authToken: string;
|