codebuff 1.0.193 → 1.0.196
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/checkpoints/checkpoint-manager.d.ts +20 -9
- package/dist/checkpoints/checkpoint-manager.js +68 -46
- package/dist/checkpoints/checkpoint-manager.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +89 -40
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/code-map/tsconfig.tsbuildinfo +1 -1
- package/dist/common/actions.d.ts +90 -90
- package/dist/common/constants.d.ts +3 -3
- package/dist/common/constants.js +1 -1
- package/dist/common/types/agent-state.d.ts +14 -14
- package/dist/common/types/message.d.ts +6 -6
- package/dist/common/types/usage.d.ts +2 -2
- package/dist/common/util/credentials.d.ts +2 -2
- package/dist/common/util/file.d.ts +9 -8
- package/dist/common/util/file.js +10 -2
- package/dist/common/util/file.js.map +1 -1
- package/dist/common/util/messages.d.ts +2 -0
- package/dist/common/util/messages.js +35 -3
- package/dist/common/util/messages.js.map +1 -1
- package/dist/common/websockets/websocket-client.js +14 -8
- package/dist/common/websockets/websocket-client.js.map +1 -1
- package/dist/common/websockets/websocket-schema.d.ts +196 -196
- package/dist/index.js +1 -1
- package/dist/project-files.d.ts +6 -6
- package/dist/project-files.js +3 -10
- package/dist/project-files.js.map +1 -1
- package/dist/workers/checkpoint-worker.js +4 -3
- package/dist/workers/checkpoint-worker.js.map +1 -1
- package/package.json +4 -3
- package/dist/common/logger.d.ts +0 -1
- package/dist/common/logger.js +0 -7
- package/dist/common/logger.js.map +0 -1
- package/dist/common/util/constants.d.ts +0 -1
- package/dist/common/util/constants.js +0 -7
- package/dist/common/util/constants.js.map +0 -1
- package/dist/common/util/helpers.d.ts +0 -1
- package/dist/common/util/helpers.js +0 -6
- package/dist/common/util/helpers.js.map +0 -1
- package/dist/common/util/token-counter.d.ts +0 -3
- package/dist/common/util/token-counter.js +0 -27
- package/dist/common/util/token-counter.js.map +0 -1
|
@@ -292,7 +292,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
292
292
|
homedir: string;
|
|
293
293
|
cpus: number;
|
|
294
294
|
}>;
|
|
295
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
295
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
296
296
|
path: z.ZodString;
|
|
297
297
|
content: z.ZodString;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -301,7 +301,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
301
301
|
}, {
|
|
302
302
|
path: string;
|
|
303
303
|
content: string;
|
|
304
|
-
}>, "many">, "many"
|
|
304
|
+
}>, "many">, "many">>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
currentWorkingDirectory: string;
|
|
307
307
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -323,11 +323,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
323
323
|
homedir: string;
|
|
324
324
|
cpus: number;
|
|
325
325
|
};
|
|
326
|
-
|
|
326
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
327
|
+
fileVersions?: {
|
|
327
328
|
path: string;
|
|
328
329
|
content: string;
|
|
329
|
-
}[][];
|
|
330
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
330
|
+
}[][] | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
currentWorkingDirectory: string;
|
|
333
333
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -349,11 +349,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
349
349
|
homedir: string;
|
|
350
350
|
cpus: number;
|
|
351
351
|
};
|
|
352
|
-
|
|
352
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
353
|
+
fileVersions?: {
|
|
353
354
|
path: string;
|
|
354
355
|
content: string;
|
|
355
|
-
}[][];
|
|
356
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
356
|
+
}[][] | undefined;
|
|
357
357
|
}>;
|
|
358
358
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
359
359
|
type: z.ZodEnum<["patch", "file"]>;
|
|
@@ -429,11 +429,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
429
429
|
homedir: string;
|
|
430
430
|
cpus: number;
|
|
431
431
|
};
|
|
432
|
-
|
|
432
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
433
|
+
fileVersions?: {
|
|
433
434
|
path: string;
|
|
434
435
|
content: string;
|
|
435
|
-
}[][];
|
|
436
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
436
|
+
}[][] | undefined;
|
|
437
437
|
};
|
|
438
438
|
changesAlreadyApplied: {
|
|
439
439
|
path: string;
|
|
@@ -502,11 +502,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
502
502
|
homedir: string;
|
|
503
503
|
cpus: number;
|
|
504
504
|
};
|
|
505
|
-
|
|
505
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
506
|
+
fileVersions?: {
|
|
506
507
|
path: string;
|
|
507
508
|
content: string;
|
|
508
|
-
}[][];
|
|
509
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
509
|
+
}[][] | undefined;
|
|
510
510
|
};
|
|
511
511
|
changesAlreadyApplied: {
|
|
512
512
|
path: string;
|
|
@@ -570,7 +570,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
570
570
|
homedir: string;
|
|
571
571
|
cpus: number;
|
|
572
572
|
}>;
|
|
573
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
573
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
574
574
|
path: z.ZodString;
|
|
575
575
|
content: z.ZodString;
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -579,7 +579,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
579
579
|
}, {
|
|
580
580
|
path: string;
|
|
581
581
|
content: string;
|
|
582
|
-
}>, "many">, "many"
|
|
582
|
+
}>, "many">, "many">>;
|
|
583
583
|
}, "strip", z.ZodTypeAny, {
|
|
584
584
|
currentWorkingDirectory: string;
|
|
585
585
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -601,11 +601,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
601
601
|
homedir: string;
|
|
602
602
|
cpus: number;
|
|
603
603
|
};
|
|
604
|
-
|
|
604
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
605
|
+
fileVersions?: {
|
|
605
606
|
path: string;
|
|
606
607
|
content: string;
|
|
607
|
-
}[][];
|
|
608
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
608
|
+
}[][] | undefined;
|
|
609
609
|
}, {
|
|
610
610
|
currentWorkingDirectory: string;
|
|
611
611
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -627,11 +627,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
627
627
|
homedir: string;
|
|
628
628
|
cpus: number;
|
|
629
629
|
};
|
|
630
|
-
|
|
630
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
631
|
+
fileVersions?: {
|
|
631
632
|
path: string;
|
|
632
633
|
content: string;
|
|
633
|
-
}[][];
|
|
634
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
634
|
+
}[][] | undefined;
|
|
635
635
|
}>;
|
|
636
636
|
messageHistory: z.ZodArray<z.ZodObject<{
|
|
637
637
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
|
|
@@ -844,11 +844,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
844
844
|
homedir: string;
|
|
845
845
|
cpus: number;
|
|
846
846
|
};
|
|
847
|
-
|
|
847
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
848
|
+
fileVersions?: {
|
|
848
849
|
path: string;
|
|
849
850
|
content: string;
|
|
850
|
-
}[][];
|
|
851
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
851
|
+
}[][] | undefined;
|
|
852
852
|
};
|
|
853
853
|
agentContext: string;
|
|
854
854
|
messageHistory: {
|
|
@@ -908,11 +908,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
908
908
|
homedir: string;
|
|
909
909
|
cpus: number;
|
|
910
910
|
};
|
|
911
|
-
|
|
911
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
912
|
+
fileVersions?: {
|
|
912
913
|
path: string;
|
|
913
914
|
content: string;
|
|
914
|
-
}[][];
|
|
915
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
915
|
+
}[][] | undefined;
|
|
916
916
|
};
|
|
917
917
|
agentContext: string;
|
|
918
918
|
messageHistory: {
|
|
@@ -991,11 +991,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
991
991
|
homedir: string;
|
|
992
992
|
cpus: number;
|
|
993
993
|
};
|
|
994
|
-
|
|
994
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
995
|
+
fileVersions?: {
|
|
995
996
|
path: string;
|
|
996
997
|
content: string;
|
|
997
|
-
}[][];
|
|
998
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
998
|
+
}[][] | undefined;
|
|
999
999
|
};
|
|
1000
1000
|
agentContext: string;
|
|
1001
1001
|
messageHistory: {
|
|
@@ -1067,11 +1067,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1067
1067
|
homedir: string;
|
|
1068
1068
|
cpus: number;
|
|
1069
1069
|
};
|
|
1070
|
-
|
|
1070
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1071
|
+
fileVersions?: {
|
|
1071
1072
|
path: string;
|
|
1072
1073
|
content: string;
|
|
1073
|
-
}[][];
|
|
1074
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1074
|
+
}[][] | undefined;
|
|
1075
1075
|
};
|
|
1076
1076
|
agentContext: string;
|
|
1077
1077
|
messageHistory: {
|
|
@@ -1180,7 +1180,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1180
1180
|
homedir: string;
|
|
1181
1181
|
cpus: number;
|
|
1182
1182
|
}>;
|
|
1183
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1183
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
1184
1184
|
path: z.ZodString;
|
|
1185
1185
|
content: z.ZodString;
|
|
1186
1186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1189,7 +1189,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1189
1189
|
}, {
|
|
1190
1190
|
path: string;
|
|
1191
1191
|
content: string;
|
|
1192
|
-
}>, "many">, "many"
|
|
1192
|
+
}>, "many">, "many">>;
|
|
1193
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1194
|
currentWorkingDirectory: string;
|
|
1195
1195
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -1211,11 +1211,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1211
1211
|
homedir: string;
|
|
1212
1212
|
cpus: number;
|
|
1213
1213
|
};
|
|
1214
|
-
|
|
1214
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1215
|
+
fileVersions?: {
|
|
1215
1216
|
path: string;
|
|
1216
1217
|
content: string;
|
|
1217
|
-
}[][];
|
|
1218
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1218
|
+
}[][] | undefined;
|
|
1219
1219
|
}, {
|
|
1220
1220
|
currentWorkingDirectory: string;
|
|
1221
1221
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -1237,11 +1237,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1237
1237
|
homedir: string;
|
|
1238
1238
|
cpus: number;
|
|
1239
1239
|
};
|
|
1240
|
-
|
|
1240
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1241
|
+
fileVersions?: {
|
|
1241
1242
|
path: string;
|
|
1242
1243
|
content: string;
|
|
1243
|
-
}[][];
|
|
1244
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1244
|
+
}[][] | undefined;
|
|
1245
1245
|
}>;
|
|
1246
1246
|
}, "strip", z.ZodTypeAny, {
|
|
1247
1247
|
type: "init";
|
|
@@ -1267,11 +1267,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1267
1267
|
homedir: string;
|
|
1268
1268
|
cpus: number;
|
|
1269
1269
|
};
|
|
1270
|
-
|
|
1270
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1271
|
+
fileVersions?: {
|
|
1271
1272
|
path: string;
|
|
1272
1273
|
content: string;
|
|
1273
|
-
}[][];
|
|
1274
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1274
|
+
}[][] | undefined;
|
|
1275
1275
|
};
|
|
1276
1276
|
authToken?: string | undefined;
|
|
1277
1277
|
}, {
|
|
@@ -1298,11 +1298,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1298
1298
|
homedir: string;
|
|
1299
1299
|
cpus: number;
|
|
1300
1300
|
};
|
|
1301
|
-
|
|
1301
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1302
|
+
fileVersions?: {
|
|
1302
1303
|
path: string;
|
|
1303
1304
|
content: string;
|
|
1304
|
-
}[][];
|
|
1305
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1305
|
+
}[][] | undefined;
|
|
1306
1306
|
};
|
|
1307
1307
|
authToken?: string | undefined;
|
|
1308
1308
|
}>, z.ZodObject<{
|
|
@@ -1323,7 +1323,6 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1323
1323
|
}>]>;
|
|
1324
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
1325
|
type: "action";
|
|
1326
|
-
txid: number;
|
|
1327
1326
|
data: {
|
|
1328
1327
|
type: "user-input";
|
|
1329
1328
|
fingerprintId: string;
|
|
@@ -1384,11 +1383,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1384
1383
|
homedir: string;
|
|
1385
1384
|
cpus: number;
|
|
1386
1385
|
};
|
|
1387
|
-
|
|
1386
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1387
|
+
fileVersions?: {
|
|
1388
1388
|
path: string;
|
|
1389
1389
|
content: string;
|
|
1390
|
-
}[][];
|
|
1391
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1390
|
+
}[][] | undefined;
|
|
1392
1391
|
};
|
|
1393
1392
|
changesAlreadyApplied: {
|
|
1394
1393
|
path: string;
|
|
@@ -1424,11 +1423,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1424
1423
|
homedir: string;
|
|
1425
1424
|
cpus: number;
|
|
1426
1425
|
};
|
|
1427
|
-
|
|
1426
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1427
|
+
fileVersions?: {
|
|
1428
1428
|
path: string;
|
|
1429
1429
|
content: string;
|
|
1430
|
-
}[][];
|
|
1431
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1430
|
+
}[][] | undefined;
|
|
1432
1431
|
};
|
|
1433
1432
|
agentContext: string;
|
|
1434
1433
|
messageHistory: {
|
|
@@ -1502,11 +1501,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1502
1501
|
homedir: string;
|
|
1503
1502
|
cpus: number;
|
|
1504
1503
|
};
|
|
1505
|
-
|
|
1504
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1505
|
+
fileVersions?: {
|
|
1506
1506
|
path: string;
|
|
1507
1507
|
content: string;
|
|
1508
|
-
}[][];
|
|
1509
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1508
|
+
}[][] | undefined;
|
|
1510
1509
|
};
|
|
1511
1510
|
authToken?: string | undefined;
|
|
1512
1511
|
} | {
|
|
@@ -1515,9 +1514,9 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1515
1514
|
stagedChanges: string;
|
|
1516
1515
|
authToken?: string | undefined;
|
|
1517
1516
|
};
|
|
1517
|
+
txid: number;
|
|
1518
1518
|
}, {
|
|
1519
1519
|
type: "action";
|
|
1520
|
-
txid: number;
|
|
1521
1520
|
data: {
|
|
1522
1521
|
type: "user-input";
|
|
1523
1522
|
fingerprintId: string;
|
|
@@ -1578,11 +1577,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1578
1577
|
homedir: string;
|
|
1579
1578
|
cpus: number;
|
|
1580
1579
|
};
|
|
1581
|
-
|
|
1580
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1581
|
+
fileVersions?: {
|
|
1582
1582
|
path: string;
|
|
1583
1583
|
content: string;
|
|
1584
|
-
}[][];
|
|
1585
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1584
|
+
}[][] | undefined;
|
|
1586
1585
|
};
|
|
1587
1586
|
changesAlreadyApplied: {
|
|
1588
1587
|
path: string;
|
|
@@ -1617,11 +1616,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1617
1616
|
homedir: string;
|
|
1618
1617
|
cpus: number;
|
|
1619
1618
|
};
|
|
1620
|
-
|
|
1619
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1620
|
+
fileVersions?: {
|
|
1621
1621
|
path: string;
|
|
1622
1622
|
content: string;
|
|
1623
|
-
}[][];
|
|
1624
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1623
|
+
}[][] | undefined;
|
|
1625
1624
|
};
|
|
1626
1625
|
agentContext: string;
|
|
1627
1626
|
messageHistory: {
|
|
@@ -1696,11 +1695,11 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1696
1695
|
homedir: string;
|
|
1697
1696
|
cpus: number;
|
|
1698
1697
|
};
|
|
1699
|
-
|
|
1698
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1699
|
+
fileVersions?: {
|
|
1700
1700
|
path: string;
|
|
1701
1701
|
content: string;
|
|
1702
|
-
}[][];
|
|
1703
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
1702
|
+
}[][] | undefined;
|
|
1704
1703
|
};
|
|
1705
1704
|
authToken?: string | undefined;
|
|
1706
1705
|
} | {
|
|
@@ -1709,6 +1708,7 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
|
|
|
1709
1708
|
stagedChanges: string;
|
|
1710
1709
|
authToken?: string | undefined;
|
|
1711
1710
|
};
|
|
1711
|
+
txid: number;
|
|
1712
1712
|
}>;
|
|
1713
1713
|
};
|
|
1714
1714
|
export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1999,7 +1999,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
1999
1999
|
homedir: string;
|
|
2000
2000
|
cpus: number;
|
|
2001
2001
|
}>;
|
|
2002
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2002
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2003
2003
|
path: z.ZodString;
|
|
2004
2004
|
content: z.ZodString;
|
|
2005
2005
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2008,7 +2008,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2008
2008
|
}, {
|
|
2009
2009
|
path: string;
|
|
2010
2010
|
content: string;
|
|
2011
|
-
}>, "many">, "many"
|
|
2011
|
+
}>, "many">, "many">>;
|
|
2012
2012
|
}, "strip", z.ZodTypeAny, {
|
|
2013
2013
|
currentWorkingDirectory: string;
|
|
2014
2014
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2030,11 +2030,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2030
2030
|
homedir: string;
|
|
2031
2031
|
cpus: number;
|
|
2032
2032
|
};
|
|
2033
|
-
|
|
2033
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2034
|
+
fileVersions?: {
|
|
2034
2035
|
path: string;
|
|
2035
2036
|
content: string;
|
|
2036
|
-
}[][];
|
|
2037
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2037
|
+
}[][] | undefined;
|
|
2038
2038
|
}, {
|
|
2039
2039
|
currentWorkingDirectory: string;
|
|
2040
2040
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2056,11 +2056,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2056
2056
|
homedir: string;
|
|
2057
2057
|
cpus: number;
|
|
2058
2058
|
};
|
|
2059
|
-
|
|
2059
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2060
|
+
fileVersions?: {
|
|
2060
2061
|
path: string;
|
|
2061
2062
|
content: string;
|
|
2062
|
-
}[][];
|
|
2063
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2063
|
+
}[][] | undefined;
|
|
2064
2064
|
}>;
|
|
2065
2065
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
2066
2066
|
type: z.ZodEnum<["patch", "file"]>;
|
|
@@ -2136,11 +2136,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2136
2136
|
homedir: string;
|
|
2137
2137
|
cpus: number;
|
|
2138
2138
|
};
|
|
2139
|
-
|
|
2139
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2140
|
+
fileVersions?: {
|
|
2140
2141
|
path: string;
|
|
2141
2142
|
content: string;
|
|
2142
|
-
}[][];
|
|
2143
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2143
|
+
}[][] | undefined;
|
|
2144
2144
|
};
|
|
2145
2145
|
changesAlreadyApplied: {
|
|
2146
2146
|
path: string;
|
|
@@ -2209,11 +2209,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2209
2209
|
homedir: string;
|
|
2210
2210
|
cpus: number;
|
|
2211
2211
|
};
|
|
2212
|
-
|
|
2212
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2213
|
+
fileVersions?: {
|
|
2213
2214
|
path: string;
|
|
2214
2215
|
content: string;
|
|
2215
|
-
}[][];
|
|
2216
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2216
|
+
}[][] | undefined;
|
|
2217
2217
|
};
|
|
2218
2218
|
changesAlreadyApplied: {
|
|
2219
2219
|
path: string;
|
|
@@ -2277,7 +2277,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2277
2277
|
homedir: string;
|
|
2278
2278
|
cpus: number;
|
|
2279
2279
|
}>;
|
|
2280
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2280
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2281
2281
|
path: z.ZodString;
|
|
2282
2282
|
content: z.ZodString;
|
|
2283
2283
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2286,7 +2286,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2286
2286
|
}, {
|
|
2287
2287
|
path: string;
|
|
2288
2288
|
content: string;
|
|
2289
|
-
}>, "many">, "many"
|
|
2289
|
+
}>, "many">, "many">>;
|
|
2290
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2291
2291
|
currentWorkingDirectory: string;
|
|
2292
2292
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2308,11 +2308,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2308
2308
|
homedir: string;
|
|
2309
2309
|
cpus: number;
|
|
2310
2310
|
};
|
|
2311
|
-
|
|
2311
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2312
|
+
fileVersions?: {
|
|
2312
2313
|
path: string;
|
|
2313
2314
|
content: string;
|
|
2314
|
-
}[][];
|
|
2315
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2315
|
+
}[][] | undefined;
|
|
2316
2316
|
}, {
|
|
2317
2317
|
currentWorkingDirectory: string;
|
|
2318
2318
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2334,11 +2334,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2334
2334
|
homedir: string;
|
|
2335
2335
|
cpus: number;
|
|
2336
2336
|
};
|
|
2337
|
-
|
|
2337
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2338
|
+
fileVersions?: {
|
|
2338
2339
|
path: string;
|
|
2339
2340
|
content: string;
|
|
2340
|
-
}[][];
|
|
2341
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2341
|
+
}[][] | undefined;
|
|
2342
2342
|
}>;
|
|
2343
2343
|
messageHistory: z.ZodArray<z.ZodObject<{
|
|
2344
2344
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
|
|
@@ -2551,11 +2551,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2551
2551
|
homedir: string;
|
|
2552
2552
|
cpus: number;
|
|
2553
2553
|
};
|
|
2554
|
-
|
|
2554
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2555
|
+
fileVersions?: {
|
|
2555
2556
|
path: string;
|
|
2556
2557
|
content: string;
|
|
2557
|
-
}[][];
|
|
2558
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2558
|
+
}[][] | undefined;
|
|
2559
2559
|
};
|
|
2560
2560
|
agentContext: string;
|
|
2561
2561
|
messageHistory: {
|
|
@@ -2615,11 +2615,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2615
2615
|
homedir: string;
|
|
2616
2616
|
cpus: number;
|
|
2617
2617
|
};
|
|
2618
|
-
|
|
2618
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2619
|
+
fileVersions?: {
|
|
2619
2620
|
path: string;
|
|
2620
2621
|
content: string;
|
|
2621
|
-
}[][];
|
|
2622
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2622
|
+
}[][] | undefined;
|
|
2623
2623
|
};
|
|
2624
2624
|
agentContext: string;
|
|
2625
2625
|
messageHistory: {
|
|
@@ -2698,11 +2698,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2698
2698
|
homedir: string;
|
|
2699
2699
|
cpus: number;
|
|
2700
2700
|
};
|
|
2701
|
-
|
|
2701
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2702
|
+
fileVersions?: {
|
|
2702
2703
|
path: string;
|
|
2703
2704
|
content: string;
|
|
2704
|
-
}[][];
|
|
2705
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2705
|
+
}[][] | undefined;
|
|
2706
2706
|
};
|
|
2707
2707
|
agentContext: string;
|
|
2708
2708
|
messageHistory: {
|
|
@@ -2774,11 +2774,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2774
2774
|
homedir: string;
|
|
2775
2775
|
cpus: number;
|
|
2776
2776
|
};
|
|
2777
|
-
|
|
2777
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2778
|
+
fileVersions?: {
|
|
2778
2779
|
path: string;
|
|
2779
2780
|
content: string;
|
|
2780
|
-
}[][];
|
|
2781
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2781
|
+
}[][] | undefined;
|
|
2782
2782
|
};
|
|
2783
2783
|
agentContext: string;
|
|
2784
2784
|
messageHistory: {
|
|
@@ -2887,7 +2887,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2887
2887
|
homedir: string;
|
|
2888
2888
|
cpus: number;
|
|
2889
2889
|
}>;
|
|
2890
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2890
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
2891
2891
|
path: z.ZodString;
|
|
2892
2892
|
content: z.ZodString;
|
|
2893
2893
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2896,7 +2896,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2896
2896
|
}, {
|
|
2897
2897
|
path: string;
|
|
2898
2898
|
content: string;
|
|
2899
|
-
}>, "many">, "many"
|
|
2899
|
+
}>, "many">, "many">>;
|
|
2900
2900
|
}, "strip", z.ZodTypeAny, {
|
|
2901
2901
|
currentWorkingDirectory: string;
|
|
2902
2902
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2918,11 +2918,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2918
2918
|
homedir: string;
|
|
2919
2919
|
cpus: number;
|
|
2920
2920
|
};
|
|
2921
|
-
|
|
2921
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2922
|
+
fileVersions?: {
|
|
2922
2923
|
path: string;
|
|
2923
2924
|
content: string;
|
|
2924
|
-
}[][];
|
|
2925
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2925
|
+
}[][] | undefined;
|
|
2926
2926
|
}, {
|
|
2927
2927
|
currentWorkingDirectory: string;
|
|
2928
2928
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -2944,11 +2944,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2944
2944
|
homedir: string;
|
|
2945
2945
|
cpus: number;
|
|
2946
2946
|
};
|
|
2947
|
-
|
|
2947
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2948
|
+
fileVersions?: {
|
|
2948
2949
|
path: string;
|
|
2949
2950
|
content: string;
|
|
2950
|
-
}[][];
|
|
2951
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2951
|
+
}[][] | undefined;
|
|
2952
2952
|
}>;
|
|
2953
2953
|
}, "strip", z.ZodTypeAny, {
|
|
2954
2954
|
type: "init";
|
|
@@ -2974,11 +2974,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
2974
2974
|
homedir: string;
|
|
2975
2975
|
cpus: number;
|
|
2976
2976
|
};
|
|
2977
|
-
|
|
2977
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2978
|
+
fileVersions?: {
|
|
2978
2979
|
path: string;
|
|
2979
2980
|
content: string;
|
|
2980
|
-
}[][];
|
|
2981
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
2981
|
+
}[][] | undefined;
|
|
2982
2982
|
};
|
|
2983
2983
|
authToken?: string | undefined;
|
|
2984
2984
|
}, {
|
|
@@ -3005,11 +3005,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3005
3005
|
homedir: string;
|
|
3006
3006
|
cpus: number;
|
|
3007
3007
|
};
|
|
3008
|
-
|
|
3008
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3009
|
+
fileVersions?: {
|
|
3009
3010
|
path: string;
|
|
3010
3011
|
content: string;
|
|
3011
|
-
}[][];
|
|
3012
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3012
|
+
}[][] | undefined;
|
|
3013
3013
|
};
|
|
3014
3014
|
authToken?: string | undefined;
|
|
3015
3015
|
}>, z.ZodObject<{
|
|
@@ -3030,7 +3030,6 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3030
3030
|
}>]>;
|
|
3031
3031
|
}, "strip", z.ZodTypeAny, {
|
|
3032
3032
|
type: "action";
|
|
3033
|
-
txid: number;
|
|
3034
3033
|
data: {
|
|
3035
3034
|
type: "user-input";
|
|
3036
3035
|
fingerprintId: string;
|
|
@@ -3091,11 +3090,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3091
3090
|
homedir: string;
|
|
3092
3091
|
cpus: number;
|
|
3093
3092
|
};
|
|
3094
|
-
|
|
3093
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3094
|
+
fileVersions?: {
|
|
3095
3095
|
path: string;
|
|
3096
3096
|
content: string;
|
|
3097
|
-
}[][];
|
|
3098
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3097
|
+
}[][] | undefined;
|
|
3099
3098
|
};
|
|
3100
3099
|
changesAlreadyApplied: {
|
|
3101
3100
|
path: string;
|
|
@@ -3131,11 +3130,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3131
3130
|
homedir: string;
|
|
3132
3131
|
cpus: number;
|
|
3133
3132
|
};
|
|
3134
|
-
|
|
3133
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3134
|
+
fileVersions?: {
|
|
3135
3135
|
path: string;
|
|
3136
3136
|
content: string;
|
|
3137
|
-
}[][];
|
|
3138
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3137
|
+
}[][] | undefined;
|
|
3139
3138
|
};
|
|
3140
3139
|
agentContext: string;
|
|
3141
3140
|
messageHistory: {
|
|
@@ -3209,11 +3208,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3209
3208
|
homedir: string;
|
|
3210
3209
|
cpus: number;
|
|
3211
3210
|
};
|
|
3212
|
-
|
|
3211
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3212
|
+
fileVersions?: {
|
|
3213
3213
|
path: string;
|
|
3214
3214
|
content: string;
|
|
3215
|
-
}[][];
|
|
3216
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3215
|
+
}[][] | undefined;
|
|
3217
3216
|
};
|
|
3218
3217
|
authToken?: string | undefined;
|
|
3219
3218
|
} | {
|
|
@@ -3222,9 +3221,9 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3222
3221
|
stagedChanges: string;
|
|
3223
3222
|
authToken?: string | undefined;
|
|
3224
3223
|
};
|
|
3224
|
+
txid: number;
|
|
3225
3225
|
}, {
|
|
3226
3226
|
type: "action";
|
|
3227
|
-
txid: number;
|
|
3228
3227
|
data: {
|
|
3229
3228
|
type: "user-input";
|
|
3230
3229
|
fingerprintId: string;
|
|
@@ -3285,11 +3284,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3285
3284
|
homedir: string;
|
|
3286
3285
|
cpus: number;
|
|
3287
3286
|
};
|
|
3288
|
-
|
|
3287
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3288
|
+
fileVersions?: {
|
|
3289
3289
|
path: string;
|
|
3290
3290
|
content: string;
|
|
3291
|
-
}[][];
|
|
3292
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3291
|
+
}[][] | undefined;
|
|
3293
3292
|
};
|
|
3294
3293
|
changesAlreadyApplied: {
|
|
3295
3294
|
path: string;
|
|
@@ -3324,11 +3323,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3324
3323
|
homedir: string;
|
|
3325
3324
|
cpus: number;
|
|
3326
3325
|
};
|
|
3327
|
-
|
|
3326
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3327
|
+
fileVersions?: {
|
|
3328
3328
|
path: string;
|
|
3329
3329
|
content: string;
|
|
3330
|
-
}[][];
|
|
3331
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3330
|
+
}[][] | undefined;
|
|
3332
3331
|
};
|
|
3333
3332
|
agentContext: string;
|
|
3334
3333
|
messageHistory: {
|
|
@@ -3403,11 +3402,11 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3403
3402
|
homedir: string;
|
|
3404
3403
|
cpus: number;
|
|
3405
3404
|
};
|
|
3406
|
-
|
|
3405
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3406
|
+
fileVersions?: {
|
|
3407
3407
|
path: string;
|
|
3408
3408
|
content: string;
|
|
3409
|
-
}[][];
|
|
3410
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3409
|
+
}[][] | undefined;
|
|
3411
3410
|
};
|
|
3412
3411
|
authToken?: string | undefined;
|
|
3413
3412
|
} | {
|
|
@@ -3416,6 +3415,7 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
3416
3415
|
stagedChanges: string;
|
|
3417
3416
|
authToken?: string | undefined;
|
|
3418
3417
|
};
|
|
3418
|
+
txid: number;
|
|
3419
3419
|
}>]>;
|
|
3420
3420
|
export type ClientMessageType = keyof typeof CLIENT_MESSAGE_SCHEMAS;
|
|
3421
3421
|
export type ClientMessage<T extends ClientMessageType = ClientMessageType> = z.infer<(typeof CLIENT_MESSAGE_SCHEMAS)[T]>;
|
|
@@ -3599,7 +3599,7 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3599
3599
|
homedir: string;
|
|
3600
3600
|
cpus: number;
|
|
3601
3601
|
}>;
|
|
3602
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
3602
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
3603
3603
|
path: z.ZodString;
|
|
3604
3604
|
content: z.ZodString;
|
|
3605
3605
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3608,7 +3608,7 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3608
3608
|
}, {
|
|
3609
3609
|
path: string;
|
|
3610
3610
|
content: string;
|
|
3611
|
-
}>, "many">, "many"
|
|
3611
|
+
}>, "many">, "many">>;
|
|
3612
3612
|
}, "strip", z.ZodTypeAny, {
|
|
3613
3613
|
currentWorkingDirectory: string;
|
|
3614
3614
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -3630,11 +3630,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3630
3630
|
homedir: string;
|
|
3631
3631
|
cpus: number;
|
|
3632
3632
|
};
|
|
3633
|
-
|
|
3633
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3634
|
+
fileVersions?: {
|
|
3634
3635
|
path: string;
|
|
3635
3636
|
content: string;
|
|
3636
|
-
}[][];
|
|
3637
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3637
|
+
}[][] | undefined;
|
|
3638
3638
|
}, {
|
|
3639
3639
|
currentWorkingDirectory: string;
|
|
3640
3640
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -3656,11 +3656,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3656
3656
|
homedir: string;
|
|
3657
3657
|
cpus: number;
|
|
3658
3658
|
};
|
|
3659
|
-
|
|
3659
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3660
|
+
fileVersions?: {
|
|
3660
3661
|
path: string;
|
|
3661
3662
|
content: string;
|
|
3662
|
-
}[][];
|
|
3663
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3663
|
+
}[][] | undefined;
|
|
3664
3664
|
}>;
|
|
3665
3665
|
messageHistory: z.ZodArray<z.ZodObject<{
|
|
3666
3666
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
|
|
@@ -3873,11 +3873,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3873
3873
|
homedir: string;
|
|
3874
3874
|
cpus: number;
|
|
3875
3875
|
};
|
|
3876
|
-
|
|
3876
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3877
|
+
fileVersions?: {
|
|
3877
3878
|
path: string;
|
|
3878
3879
|
content: string;
|
|
3879
|
-
}[][];
|
|
3880
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3880
|
+
}[][] | undefined;
|
|
3881
3881
|
};
|
|
3882
3882
|
agentContext: string;
|
|
3883
3883
|
messageHistory: {
|
|
@@ -3937,11 +3937,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
3937
3937
|
homedir: string;
|
|
3938
3938
|
cpus: number;
|
|
3939
3939
|
};
|
|
3940
|
-
|
|
3940
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3941
|
+
fileVersions?: {
|
|
3941
3942
|
path: string;
|
|
3942
3943
|
content: string;
|
|
3943
|
-
}[][];
|
|
3944
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
3944
|
+
}[][] | undefined;
|
|
3945
3945
|
};
|
|
3946
3946
|
agentContext: string;
|
|
3947
3947
|
messageHistory: {
|
|
@@ -4031,11 +4031,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4031
4031
|
homedir: string;
|
|
4032
4032
|
cpus: number;
|
|
4033
4033
|
};
|
|
4034
|
-
|
|
4034
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4035
|
+
fileVersions?: {
|
|
4035
4036
|
path: string;
|
|
4036
4037
|
content: string;
|
|
4037
|
-
}[][];
|
|
4038
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4038
|
+
}[][] | undefined;
|
|
4039
4039
|
};
|
|
4040
4040
|
agentContext: string;
|
|
4041
4041
|
messageHistory: {
|
|
@@ -4109,11 +4109,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4109
4109
|
homedir: string;
|
|
4110
4110
|
cpus: number;
|
|
4111
4111
|
};
|
|
4112
|
-
|
|
4112
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4113
|
+
fileVersions?: {
|
|
4113
4114
|
path: string;
|
|
4114
4115
|
content: string;
|
|
4115
|
-
}[][];
|
|
4116
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4116
|
+
}[][] | undefined;
|
|
4117
4117
|
};
|
|
4118
4118
|
agentContext: string;
|
|
4119
4119
|
messageHistory: {
|
|
@@ -4230,12 +4230,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4230
4230
|
resetFileVersions: z.ZodBoolean;
|
|
4231
4231
|
}, "strip", z.ZodTypeAny, {
|
|
4232
4232
|
type: "tool-call";
|
|
4233
|
-
userInputId: string;
|
|
4234
4233
|
data: {
|
|
4235
4234
|
name: string;
|
|
4236
4235
|
id: string;
|
|
4237
4236
|
input: Record<string, any>;
|
|
4238
4237
|
};
|
|
4238
|
+
userInputId: string;
|
|
4239
4239
|
changesAlreadyApplied: {
|
|
4240
4240
|
path: string;
|
|
4241
4241
|
content: string;
|
|
@@ -4254,12 +4254,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4254
4254
|
resetFileVersions: boolean;
|
|
4255
4255
|
}, {
|
|
4256
4256
|
type: "tool-call";
|
|
4257
|
-
userInputId: string;
|
|
4258
4257
|
data: {
|
|
4259
4258
|
name: string;
|
|
4260
4259
|
id: string;
|
|
4261
4260
|
input: Record<string, any>;
|
|
4262
4261
|
};
|
|
4262
|
+
userInputId: string;
|
|
4263
4263
|
changesAlreadyApplied: {
|
|
4264
4264
|
path: string;
|
|
4265
4265
|
content: string;
|
|
@@ -4445,11 +4445,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4445
4445
|
homedir: string;
|
|
4446
4446
|
cpus: number;
|
|
4447
4447
|
};
|
|
4448
|
-
|
|
4448
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4449
|
+
fileVersions?: {
|
|
4449
4450
|
path: string;
|
|
4450
4451
|
content: string;
|
|
4451
|
-
}[][];
|
|
4452
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4452
|
+
}[][] | undefined;
|
|
4453
4453
|
};
|
|
4454
4454
|
agentContext: string;
|
|
4455
4455
|
messageHistory: {
|
|
@@ -4504,12 +4504,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4504
4504
|
filePaths: string[];
|
|
4505
4505
|
} | {
|
|
4506
4506
|
type: "tool-call";
|
|
4507
|
-
userInputId: string;
|
|
4508
4507
|
data: {
|
|
4509
4508
|
name: string;
|
|
4510
4509
|
id: string;
|
|
4511
4510
|
input: Record<string, any>;
|
|
4512
4511
|
};
|
|
4512
|
+
userInputId: string;
|
|
4513
4513
|
changesAlreadyApplied: {
|
|
4514
4514
|
path: string;
|
|
4515
4515
|
content: string;
|
|
@@ -4617,11 +4617,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4617
4617
|
homedir: string;
|
|
4618
4618
|
cpus: number;
|
|
4619
4619
|
};
|
|
4620
|
-
|
|
4620
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4621
|
+
fileVersions?: {
|
|
4621
4622
|
path: string;
|
|
4622
4623
|
content: string;
|
|
4623
|
-
}[][];
|
|
4624
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4624
|
+
}[][] | undefined;
|
|
4625
4625
|
};
|
|
4626
4626
|
agentContext: string;
|
|
4627
4627
|
messageHistory: {
|
|
@@ -4676,12 +4676,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
|
|
|
4676
4676
|
filePaths: string[];
|
|
4677
4677
|
} | {
|
|
4678
4678
|
type: "tool-call";
|
|
4679
|
-
userInputId: string;
|
|
4680
4679
|
data: {
|
|
4681
4680
|
name: string;
|
|
4682
4681
|
id: string;
|
|
4683
4682
|
input: Record<string, any>;
|
|
4684
4683
|
};
|
|
4684
|
+
userInputId: string;
|
|
4685
4685
|
changesAlreadyApplied: {
|
|
4686
4686
|
path: string;
|
|
4687
4687
|
content: string;
|
|
@@ -4905,7 +4905,7 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
4905
4905
|
homedir: string;
|
|
4906
4906
|
cpus: number;
|
|
4907
4907
|
}>;
|
|
4908
|
-
fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
4908
|
+
fileVersions: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
4909
4909
|
path: z.ZodString;
|
|
4910
4910
|
content: z.ZodString;
|
|
4911
4911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4914,7 +4914,7 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
4914
4914
|
}, {
|
|
4915
4915
|
path: string;
|
|
4916
4916
|
content: string;
|
|
4917
|
-
}>, "many">, "many"
|
|
4917
|
+
}>, "many">, "many">>;
|
|
4918
4918
|
}, "strip", z.ZodTypeAny, {
|
|
4919
4919
|
currentWorkingDirectory: string;
|
|
4920
4920
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -4936,11 +4936,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
4936
4936
|
homedir: string;
|
|
4937
4937
|
cpus: number;
|
|
4938
4938
|
};
|
|
4939
|
-
|
|
4939
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4940
|
+
fileVersions?: {
|
|
4940
4941
|
path: string;
|
|
4941
4942
|
content: string;
|
|
4942
|
-
}[][];
|
|
4943
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4943
|
+
}[][] | undefined;
|
|
4944
4944
|
}, {
|
|
4945
4945
|
currentWorkingDirectory: string;
|
|
4946
4946
|
fileTree: import("../util/file").FileTreeNode[];
|
|
@@ -4962,11 +4962,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
4962
4962
|
homedir: string;
|
|
4963
4963
|
cpus: number;
|
|
4964
4964
|
};
|
|
4965
|
-
|
|
4965
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4966
|
+
fileVersions?: {
|
|
4966
4967
|
path: string;
|
|
4967
4968
|
content: string;
|
|
4968
|
-
}[][];
|
|
4969
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
4969
|
+
}[][] | undefined;
|
|
4970
4970
|
}>;
|
|
4971
4971
|
messageHistory: z.ZodArray<z.ZodObject<{
|
|
4972
4972
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
|
|
@@ -5179,11 +5179,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5179
5179
|
homedir: string;
|
|
5180
5180
|
cpus: number;
|
|
5181
5181
|
};
|
|
5182
|
-
|
|
5182
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5183
|
+
fileVersions?: {
|
|
5183
5184
|
path: string;
|
|
5184
5185
|
content: string;
|
|
5185
|
-
}[][];
|
|
5186
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5186
|
+
}[][] | undefined;
|
|
5187
5187
|
};
|
|
5188
5188
|
agentContext: string;
|
|
5189
5189
|
messageHistory: {
|
|
@@ -5243,11 +5243,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5243
5243
|
homedir: string;
|
|
5244
5244
|
cpus: number;
|
|
5245
5245
|
};
|
|
5246
|
-
|
|
5246
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5247
|
+
fileVersions?: {
|
|
5247
5248
|
path: string;
|
|
5248
5249
|
content: string;
|
|
5249
|
-
}[][];
|
|
5250
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5250
|
+
}[][] | undefined;
|
|
5251
5251
|
};
|
|
5252
5252
|
agentContext: string;
|
|
5253
5253
|
messageHistory: {
|
|
@@ -5337,11 +5337,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5337
5337
|
homedir: string;
|
|
5338
5338
|
cpus: number;
|
|
5339
5339
|
};
|
|
5340
|
-
|
|
5340
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5341
|
+
fileVersions?: {
|
|
5341
5342
|
path: string;
|
|
5342
5343
|
content: string;
|
|
5343
|
-
}[][];
|
|
5344
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5344
|
+
}[][] | undefined;
|
|
5345
5345
|
};
|
|
5346
5346
|
agentContext: string;
|
|
5347
5347
|
messageHistory: {
|
|
@@ -5415,11 +5415,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5415
5415
|
homedir: string;
|
|
5416
5416
|
cpus: number;
|
|
5417
5417
|
};
|
|
5418
|
-
|
|
5418
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5419
|
+
fileVersions?: {
|
|
5419
5420
|
path: string;
|
|
5420
5421
|
content: string;
|
|
5421
|
-
}[][];
|
|
5422
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5422
|
+
}[][] | undefined;
|
|
5423
5423
|
};
|
|
5424
5424
|
agentContext: string;
|
|
5425
5425
|
messageHistory: {
|
|
@@ -5536,12 +5536,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5536
5536
|
resetFileVersions: z.ZodBoolean;
|
|
5537
5537
|
}, "strip", z.ZodTypeAny, {
|
|
5538
5538
|
type: "tool-call";
|
|
5539
|
-
userInputId: string;
|
|
5540
5539
|
data: {
|
|
5541
5540
|
name: string;
|
|
5542
5541
|
id: string;
|
|
5543
5542
|
input: Record<string, any>;
|
|
5544
5543
|
};
|
|
5544
|
+
userInputId: string;
|
|
5545
5545
|
changesAlreadyApplied: {
|
|
5546
5546
|
path: string;
|
|
5547
5547
|
content: string;
|
|
@@ -5560,12 +5560,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5560
5560
|
resetFileVersions: boolean;
|
|
5561
5561
|
}, {
|
|
5562
5562
|
type: "tool-call";
|
|
5563
|
-
userInputId: string;
|
|
5564
5563
|
data: {
|
|
5565
5564
|
name: string;
|
|
5566
5565
|
id: string;
|
|
5567
5566
|
input: Record<string, any>;
|
|
5568
5567
|
};
|
|
5568
|
+
userInputId: string;
|
|
5569
5569
|
changesAlreadyApplied: {
|
|
5570
5570
|
path: string;
|
|
5571
5571
|
content: string;
|
|
@@ -5751,11 +5751,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5751
5751
|
homedir: string;
|
|
5752
5752
|
cpus: number;
|
|
5753
5753
|
};
|
|
5754
|
-
|
|
5754
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5755
|
+
fileVersions?: {
|
|
5755
5756
|
path: string;
|
|
5756
5757
|
content: string;
|
|
5757
|
-
}[][];
|
|
5758
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5758
|
+
}[][] | undefined;
|
|
5759
5759
|
};
|
|
5760
5760
|
agentContext: string;
|
|
5761
5761
|
messageHistory: {
|
|
@@ -5810,12 +5810,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5810
5810
|
filePaths: string[];
|
|
5811
5811
|
} | {
|
|
5812
5812
|
type: "tool-call";
|
|
5813
|
-
userInputId: string;
|
|
5814
5813
|
data: {
|
|
5815
5814
|
name: string;
|
|
5816
5815
|
id: string;
|
|
5817
5816
|
input: Record<string, any>;
|
|
5818
5817
|
};
|
|
5818
|
+
userInputId: string;
|
|
5819
5819
|
changesAlreadyApplied: {
|
|
5820
5820
|
path: string;
|
|
5821
5821
|
content: string;
|
|
@@ -5923,11 +5923,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5923
5923
|
homedir: string;
|
|
5924
5924
|
cpus: number;
|
|
5925
5925
|
};
|
|
5926
|
-
|
|
5926
|
+
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5927
|
+
fileVersions?: {
|
|
5927
5928
|
path: string;
|
|
5928
5929
|
content: string;
|
|
5929
|
-
}[][];
|
|
5930
|
-
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
5930
|
+
}[][] | undefined;
|
|
5931
5931
|
};
|
|
5932
5932
|
agentContext: string;
|
|
5933
5933
|
messageHistory: {
|
|
@@ -5982,12 +5982,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
|
|
|
5982
5982
|
filePaths: string[];
|
|
5983
5983
|
} | {
|
|
5984
5984
|
type: "tool-call";
|
|
5985
|
-
userInputId: string;
|
|
5986
5985
|
data: {
|
|
5987
5986
|
name: string;
|
|
5988
5987
|
id: string;
|
|
5989
5988
|
input: Record<string, any>;
|
|
5990
5989
|
};
|
|
5990
|
+
userInputId: string;
|
|
5991
5991
|
changesAlreadyApplied: {
|
|
5992
5992
|
path: string;
|
|
5993
5993
|
content: string;
|