codebuff 1.0.117 → 1.0.119

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.
@@ -207,6 +207,28 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
207
207
  }>;
208
208
  changesSinceLastChat: z.ZodRecord<z.ZodString, z.ZodString>;
209
209
  shellConfigFiles: z.ZodRecord<z.ZodString, z.ZodString>;
210
+ systemInfo: z.ZodObject<{
211
+ platform: z.ZodString;
212
+ shell: z.ZodString;
213
+ nodeVersion: z.ZodString;
214
+ arch: z.ZodString;
215
+ homedir: z.ZodString;
216
+ cpus: z.ZodNumber;
217
+ }, "strip", z.ZodTypeAny, {
218
+ platform: string;
219
+ shell: string;
220
+ nodeVersion: string;
221
+ arch: string;
222
+ homedir: string;
223
+ cpus: number;
224
+ }, {
225
+ platform: string;
226
+ shell: string;
227
+ nodeVersion: string;
228
+ arch: string;
229
+ homedir: string;
230
+ cpus: number;
231
+ }>;
210
232
  fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
211
233
  path: z.ZodString;
212
234
  content: z.ZodString;
@@ -230,6 +252,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
230
252
  };
231
253
  changesSinceLastChat: Record<string, string>;
232
254
  shellConfigFiles: Record<string, string>;
255
+ systemInfo: {
256
+ platform: string;
257
+ shell: string;
258
+ nodeVersion: string;
259
+ arch: string;
260
+ homedir: string;
261
+ cpus: number;
262
+ };
233
263
  fileVersions: {
234
264
  path: string;
235
265
  content: string;
@@ -247,6 +277,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
247
277
  };
248
278
  changesSinceLastChat: Record<string, string>;
249
279
  shellConfigFiles: Record<string, string>;
280
+ systemInfo: {
281
+ platform: string;
282
+ shell: string;
283
+ nodeVersion: string;
284
+ arch: string;
285
+ homedir: string;
286
+ cpus: number;
287
+ };
250
288
  fileVersions: {
251
289
  path: string;
252
290
  content: string;
@@ -307,6 +345,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
307
345
  };
308
346
  changesSinceLastChat: Record<string, string>;
309
347
  shellConfigFiles: Record<string, string>;
348
+ systemInfo: {
349
+ platform: string;
350
+ shell: string;
351
+ nodeVersion: string;
352
+ arch: string;
353
+ homedir: string;
354
+ cpus: number;
355
+ };
310
356
  fileVersions: {
311
357
  path: string;
312
358
  content: string;
@@ -360,6 +406,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
360
406
  };
361
407
  changesSinceLastChat: Record<string, string>;
362
408
  shellConfigFiles: Record<string, string>;
409
+ systemInfo: {
410
+ platform: string;
411
+ shell: string;
412
+ nodeVersion: string;
413
+ arch: string;
414
+ homedir: string;
415
+ cpus: number;
416
+ };
363
417
  fileVersions: {
364
418
  path: string;
365
419
  content: string;
@@ -407,6 +461,28 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
407
461
  }>;
408
462
  changesSinceLastChat: z.ZodRecord<z.ZodString, z.ZodString>;
409
463
  shellConfigFiles: z.ZodRecord<z.ZodString, z.ZodString>;
464
+ systemInfo: z.ZodObject<{
465
+ platform: z.ZodString;
466
+ shell: z.ZodString;
467
+ nodeVersion: z.ZodString;
468
+ arch: z.ZodString;
469
+ homedir: z.ZodString;
470
+ cpus: z.ZodNumber;
471
+ }, "strip", z.ZodTypeAny, {
472
+ platform: string;
473
+ shell: string;
474
+ nodeVersion: string;
475
+ arch: string;
476
+ homedir: string;
477
+ cpus: number;
478
+ }, {
479
+ platform: string;
480
+ shell: string;
481
+ nodeVersion: string;
482
+ arch: string;
483
+ homedir: string;
484
+ cpus: number;
485
+ }>;
410
486
  fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
411
487
  path: z.ZodString;
412
488
  content: z.ZodString;
@@ -430,6 +506,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
430
506
  };
431
507
  changesSinceLastChat: Record<string, string>;
432
508
  shellConfigFiles: Record<string, string>;
509
+ systemInfo: {
510
+ platform: string;
511
+ shell: string;
512
+ nodeVersion: string;
513
+ arch: string;
514
+ homedir: string;
515
+ cpus: number;
516
+ };
433
517
  fileVersions: {
434
518
  path: string;
435
519
  content: string;
@@ -447,6 +531,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
447
531
  };
448
532
  changesSinceLastChat: Record<string, string>;
449
533
  shellConfigFiles: Record<string, string>;
534
+ systemInfo: {
535
+ platform: string;
536
+ shell: string;
537
+ nodeVersion: string;
538
+ arch: string;
539
+ homedir: string;
540
+ cpus: number;
541
+ };
450
542
  fileVersions: {
451
543
  path: string;
452
544
  content: string;
@@ -468,6 +560,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
468
560
  };
469
561
  changesSinceLastChat: Record<string, string>;
470
562
  shellConfigFiles: Record<string, string>;
563
+ systemInfo: {
564
+ platform: string;
565
+ shell: string;
566
+ nodeVersion: string;
567
+ arch: string;
568
+ homedir: string;
569
+ cpus: number;
570
+ };
471
571
  fileVersions: {
472
572
  path: string;
473
573
  content: string;
@@ -490,6 +590,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
490
590
  };
491
591
  changesSinceLastChat: Record<string, string>;
492
592
  shellConfigFiles: Record<string, string>;
593
+ systemInfo: {
594
+ platform: string;
595
+ shell: string;
596
+ nodeVersion: string;
597
+ arch: string;
598
+ homedir: string;
599
+ cpus: number;
600
+ };
493
601
  fileVersions: {
494
602
  path: string;
495
603
  content: string;
@@ -540,16 +648,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
540
648
  fingerprintHash: z.ZodString;
541
649
  }, "strip", z.ZodTypeAny, {
542
650
  type: "clear-auth-token";
543
- userId: string;
544
- authToken: string;
545
651
  fingerprintId: string;
652
+ authToken: string;
546
653
  fingerprintHash: string;
654
+ userId: string;
547
655
  }, {
548
656
  type: "clear-auth-token";
549
- userId: string;
550
- authToken: string;
551
657
  fingerprintId: string;
658
+ authToken: string;
552
659
  fingerprintHash: string;
660
+ userId: string;
553
661
  }>, z.ZodObject<{
554
662
  type: z.ZodLiteral<"generate-commit-message">;
555
663
  fingerprintId: z.ZodString;
@@ -610,6 +718,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
610
718
  };
611
719
  changesSinceLastChat: Record<string, string>;
612
720
  shellConfigFiles: Record<string, string>;
721
+ systemInfo: {
722
+ platform: string;
723
+ shell: string;
724
+ nodeVersion: string;
725
+ arch: string;
726
+ homedir: string;
727
+ cpus: number;
728
+ };
613
729
  fileVersions: {
614
730
  path: string;
615
731
  content: string;
@@ -640,6 +756,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
640
756
  };
641
757
  changesSinceLastChat: Record<string, string>;
642
758
  shellConfigFiles: Record<string, string>;
759
+ systemInfo: {
760
+ platform: string;
761
+ shell: string;
762
+ nodeVersion: string;
763
+ arch: string;
764
+ homedir: string;
765
+ cpus: number;
766
+ };
643
767
  fileVersions: {
644
768
  path: string;
645
769
  content: string;
@@ -660,10 +784,10 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
660
784
  fingerprintHash: string;
661
785
  } | {
662
786
  type: "clear-auth-token";
663
- userId: string;
664
- authToken: string;
665
787
  fingerprintId: string;
788
+ authToken: string;
666
789
  fingerprintHash: string;
790
+ userId: string;
667
791
  } | {
668
792
  type: "generate-commit-message";
669
793
  fingerprintId: string;
@@ -715,6 +839,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
715
839
  };
716
840
  changesSinceLastChat: Record<string, string>;
717
841
  shellConfigFiles: Record<string, string>;
842
+ systemInfo: {
843
+ platform: string;
844
+ shell: string;
845
+ nodeVersion: string;
846
+ arch: string;
847
+ homedir: string;
848
+ cpus: number;
849
+ };
718
850
  fileVersions: {
719
851
  path: string;
720
852
  content: string;
@@ -745,6 +877,14 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
745
877
  };
746
878
  changesSinceLastChat: Record<string, string>;
747
879
  shellConfigFiles: Record<string, string>;
880
+ systemInfo: {
881
+ platform: string;
882
+ shell: string;
883
+ nodeVersion: string;
884
+ arch: string;
885
+ homedir: string;
886
+ cpus: number;
887
+ };
748
888
  fileVersions: {
749
889
  path: string;
750
890
  content: string;
@@ -765,10 +905,10 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
765
905
  fingerprintHash: string;
766
906
  } | {
767
907
  type: "clear-auth-token";
768
- userId: string;
769
- authToken: string;
770
908
  fingerprintId: string;
909
+ authToken: string;
771
910
  fingerprintHash: string;
911
+ userId: string;
772
912
  } | {
773
913
  type: "generate-commit-message";
774
914
  fingerprintId: string;
@@ -981,6 +1121,28 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
981
1121
  }>;
982
1122
  changesSinceLastChat: z.ZodRecord<z.ZodString, z.ZodString>;
983
1123
  shellConfigFiles: z.ZodRecord<z.ZodString, z.ZodString>;
1124
+ systemInfo: z.ZodObject<{
1125
+ platform: z.ZodString;
1126
+ shell: z.ZodString;
1127
+ nodeVersion: z.ZodString;
1128
+ arch: z.ZodString;
1129
+ homedir: z.ZodString;
1130
+ cpus: z.ZodNumber;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ platform: string;
1133
+ shell: string;
1134
+ nodeVersion: string;
1135
+ arch: string;
1136
+ homedir: string;
1137
+ cpus: number;
1138
+ }, {
1139
+ platform: string;
1140
+ shell: string;
1141
+ nodeVersion: string;
1142
+ arch: string;
1143
+ homedir: string;
1144
+ cpus: number;
1145
+ }>;
984
1146
  fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
985
1147
  path: z.ZodString;
986
1148
  content: z.ZodString;
@@ -1004,6 +1166,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1004
1166
  };
1005
1167
  changesSinceLastChat: Record<string, string>;
1006
1168
  shellConfigFiles: Record<string, string>;
1169
+ systemInfo: {
1170
+ platform: string;
1171
+ shell: string;
1172
+ nodeVersion: string;
1173
+ arch: string;
1174
+ homedir: string;
1175
+ cpus: number;
1176
+ };
1007
1177
  fileVersions: {
1008
1178
  path: string;
1009
1179
  content: string;
@@ -1021,6 +1191,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1021
1191
  };
1022
1192
  changesSinceLastChat: Record<string, string>;
1023
1193
  shellConfigFiles: Record<string, string>;
1194
+ systemInfo: {
1195
+ platform: string;
1196
+ shell: string;
1197
+ nodeVersion: string;
1198
+ arch: string;
1199
+ homedir: string;
1200
+ cpus: number;
1201
+ };
1024
1202
  fileVersions: {
1025
1203
  path: string;
1026
1204
  content: string;
@@ -1081,6 +1259,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1081
1259
  };
1082
1260
  changesSinceLastChat: Record<string, string>;
1083
1261
  shellConfigFiles: Record<string, string>;
1262
+ systemInfo: {
1263
+ platform: string;
1264
+ shell: string;
1265
+ nodeVersion: string;
1266
+ arch: string;
1267
+ homedir: string;
1268
+ cpus: number;
1269
+ };
1084
1270
  fileVersions: {
1085
1271
  path: string;
1086
1272
  content: string;
@@ -1134,6 +1320,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1134
1320
  };
1135
1321
  changesSinceLastChat: Record<string, string>;
1136
1322
  shellConfigFiles: Record<string, string>;
1323
+ systemInfo: {
1324
+ platform: string;
1325
+ shell: string;
1326
+ nodeVersion: string;
1327
+ arch: string;
1328
+ homedir: string;
1329
+ cpus: number;
1330
+ };
1137
1331
  fileVersions: {
1138
1332
  path: string;
1139
1333
  content: string;
@@ -1181,6 +1375,28 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1181
1375
  }>;
1182
1376
  changesSinceLastChat: z.ZodRecord<z.ZodString, z.ZodString>;
1183
1377
  shellConfigFiles: z.ZodRecord<z.ZodString, z.ZodString>;
1378
+ systemInfo: z.ZodObject<{
1379
+ platform: z.ZodString;
1380
+ shell: z.ZodString;
1381
+ nodeVersion: z.ZodString;
1382
+ arch: z.ZodString;
1383
+ homedir: z.ZodString;
1384
+ cpus: z.ZodNumber;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ platform: string;
1387
+ shell: string;
1388
+ nodeVersion: string;
1389
+ arch: string;
1390
+ homedir: string;
1391
+ cpus: number;
1392
+ }, {
1393
+ platform: string;
1394
+ shell: string;
1395
+ nodeVersion: string;
1396
+ arch: string;
1397
+ homedir: string;
1398
+ cpus: number;
1399
+ }>;
1184
1400
  fileVersions: z.ZodArray<z.ZodArray<z.ZodObject<{
1185
1401
  path: z.ZodString;
1186
1402
  content: z.ZodString;
@@ -1204,6 +1420,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1204
1420
  };
1205
1421
  changesSinceLastChat: Record<string, string>;
1206
1422
  shellConfigFiles: Record<string, string>;
1423
+ systemInfo: {
1424
+ platform: string;
1425
+ shell: string;
1426
+ nodeVersion: string;
1427
+ arch: string;
1428
+ homedir: string;
1429
+ cpus: number;
1430
+ };
1207
1431
  fileVersions: {
1208
1432
  path: string;
1209
1433
  content: string;
@@ -1221,6 +1445,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1221
1445
  };
1222
1446
  changesSinceLastChat: Record<string, string>;
1223
1447
  shellConfigFiles: Record<string, string>;
1448
+ systemInfo: {
1449
+ platform: string;
1450
+ shell: string;
1451
+ nodeVersion: string;
1452
+ arch: string;
1453
+ homedir: string;
1454
+ cpus: number;
1455
+ };
1224
1456
  fileVersions: {
1225
1457
  path: string;
1226
1458
  content: string;
@@ -1242,6 +1474,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1242
1474
  };
1243
1475
  changesSinceLastChat: Record<string, string>;
1244
1476
  shellConfigFiles: Record<string, string>;
1477
+ systemInfo: {
1478
+ platform: string;
1479
+ shell: string;
1480
+ nodeVersion: string;
1481
+ arch: string;
1482
+ homedir: string;
1483
+ cpus: number;
1484
+ };
1245
1485
  fileVersions: {
1246
1486
  path: string;
1247
1487
  content: string;
@@ -1264,6 +1504,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1264
1504
  };
1265
1505
  changesSinceLastChat: Record<string, string>;
1266
1506
  shellConfigFiles: Record<string, string>;
1507
+ systemInfo: {
1508
+ platform: string;
1509
+ shell: string;
1510
+ nodeVersion: string;
1511
+ arch: string;
1512
+ homedir: string;
1513
+ cpus: number;
1514
+ };
1267
1515
  fileVersions: {
1268
1516
  path: string;
1269
1517
  content: string;
@@ -1314,16 +1562,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1314
1562
  fingerprintHash: z.ZodString;
1315
1563
  }, "strip", z.ZodTypeAny, {
1316
1564
  type: "clear-auth-token";
1317
- userId: string;
1318
- authToken: string;
1319
1565
  fingerprintId: string;
1566
+ authToken: string;
1320
1567
  fingerprintHash: string;
1568
+ userId: string;
1321
1569
  }, {
1322
1570
  type: "clear-auth-token";
1323
- userId: string;
1324
- authToken: string;
1325
1571
  fingerprintId: string;
1572
+ authToken: string;
1326
1573
  fingerprintHash: string;
1574
+ userId: string;
1327
1575
  }>, z.ZodObject<{
1328
1576
  type: z.ZodLiteral<"generate-commit-message">;
1329
1577
  fingerprintId: z.ZodString;
@@ -1384,6 +1632,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1384
1632
  };
1385
1633
  changesSinceLastChat: Record<string, string>;
1386
1634
  shellConfigFiles: Record<string, string>;
1635
+ systemInfo: {
1636
+ platform: string;
1637
+ shell: string;
1638
+ nodeVersion: string;
1639
+ arch: string;
1640
+ homedir: string;
1641
+ cpus: number;
1642
+ };
1387
1643
  fileVersions: {
1388
1644
  path: string;
1389
1645
  content: string;
@@ -1414,6 +1670,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1414
1670
  };
1415
1671
  changesSinceLastChat: Record<string, string>;
1416
1672
  shellConfigFiles: Record<string, string>;
1673
+ systemInfo: {
1674
+ platform: string;
1675
+ shell: string;
1676
+ nodeVersion: string;
1677
+ arch: string;
1678
+ homedir: string;
1679
+ cpus: number;
1680
+ };
1417
1681
  fileVersions: {
1418
1682
  path: string;
1419
1683
  content: string;
@@ -1434,10 +1698,10 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1434
1698
  fingerprintHash: string;
1435
1699
  } | {
1436
1700
  type: "clear-auth-token";
1437
- userId: string;
1438
- authToken: string;
1439
1701
  fingerprintId: string;
1702
+ authToken: string;
1440
1703
  fingerprintHash: string;
1704
+ userId: string;
1441
1705
  } | {
1442
1706
  type: "generate-commit-message";
1443
1707
  fingerprintId: string;
@@ -1489,6 +1753,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1489
1753
  };
1490
1754
  changesSinceLastChat: Record<string, string>;
1491
1755
  shellConfigFiles: Record<string, string>;
1756
+ systemInfo: {
1757
+ platform: string;
1758
+ shell: string;
1759
+ nodeVersion: string;
1760
+ arch: string;
1761
+ homedir: string;
1762
+ cpus: number;
1763
+ };
1492
1764
  fileVersions: {
1493
1765
  path: string;
1494
1766
  content: string;
@@ -1519,6 +1791,14 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1519
1791
  };
1520
1792
  changesSinceLastChat: Record<string, string>;
1521
1793
  shellConfigFiles: Record<string, string>;
1794
+ systemInfo: {
1795
+ platform: string;
1796
+ shell: string;
1797
+ nodeVersion: string;
1798
+ arch: string;
1799
+ homedir: string;
1800
+ cpus: number;
1801
+ };
1522
1802
  fileVersions: {
1523
1803
  path: string;
1524
1804
  content: string;
@@ -1539,10 +1819,10 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1539
1819
  fingerprintHash: string;
1540
1820
  } | {
1541
1821
  type: "clear-auth-token";
1542
- userId: string;
1543
- authToken: string;
1544
1822
  fingerprintId: string;
1823
+ authToken: string;
1545
1824
  fingerprintHash: string;
1825
+ userId: string;
1546
1826
  } | {
1547
1827
  type: "generate-commit-message";
1548
1828
  fingerprintId: string;
@@ -1626,21 +1906,21 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1626
1906
  }>, "many">;
1627
1907
  resetFileVersions: z.ZodBoolean;
1628
1908
  }, {
1629
- subscription_active: z.ZodOptional<z.ZodBoolean>;
1630
- next_quota_reset: z.ZodOptional<z.ZodDate>;
1631
1909
  usage: z.ZodOptional<z.ZodNumber>;
1632
1910
  limit: z.ZodOptional<z.ZodNumber>;
1633
1911
  referralLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1912
+ subscription_active: z.ZodOptional<z.ZodBoolean>;
1913
+ next_quota_reset: z.ZodOptional<z.ZodDate>;
1634
1914
  session_credits_used: z.ZodOptional<z.ZodNumber>;
1635
1915
  }>, "strip", z.ZodTypeAny, {
1636
1916
  type: "response-complete";
1637
- response: string;
1638
1917
  userInputId: string;
1639
1918
  changesAlreadyApplied: {
1640
1919
  content: string;
1641
1920
  type: "file" | "patch";
1642
1921
  filePath: string;
1643
1922
  }[];
1923
+ response: string;
1644
1924
  changes: {
1645
1925
  content: string;
1646
1926
  type: "file" | "patch";
@@ -1651,21 +1931,21 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1651
1931
  content: string;
1652
1932
  }[];
1653
1933
  resetFileVersions: boolean;
1654
- subscription_active?: boolean | undefined;
1655
- next_quota_reset?: Date | undefined;
1656
1934
  usage?: number | undefined;
1657
1935
  limit?: number | undefined;
1658
1936
  referralLink?: string | undefined;
1937
+ subscription_active?: boolean | undefined;
1938
+ next_quota_reset?: Date | undefined;
1659
1939
  session_credits_used?: number | undefined;
1660
1940
  }, {
1661
1941
  type: "response-complete";
1662
- response: string;
1663
1942
  userInputId: string;
1664
1943
  changesAlreadyApplied: {
1665
1944
  content: string;
1666
1945
  type: "file" | "patch";
1667
1946
  filePath: string;
1668
1947
  }[];
1948
+ response: string;
1669
1949
  changes: {
1670
1950
  content: string;
1671
1951
  type: "file" | "patch";
@@ -1676,11 +1956,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1676
1956
  content: string;
1677
1957
  }[];
1678
1958
  resetFileVersions: boolean;
1679
- subscription_active?: boolean | undefined;
1680
- next_quota_reset?: Date | undefined;
1681
1959
  usage?: number | undefined;
1682
1960
  limit?: number | undefined;
1683
1961
  referralLink?: string | undefined;
1962
+ subscription_active?: boolean | undefined;
1963
+ next_quota_reset?: Date | undefined;
1684
1964
  session_credits_used?: number | undefined;
1685
1965
  }>, z.ZodObject<{
1686
1966
  type: z.ZodLiteral<"read-files">;
@@ -1747,18 +2027,13 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1747
2027
  resetFileVersions: z.ZodBoolean;
1748
2028
  }, "strip", z.ZodTypeAny, {
1749
2029
  type: "tool-call";
1750
- data: {
1751
- name: string;
1752
- id: string;
1753
- input: Record<string, any>;
1754
- };
1755
- response: string;
1756
2030
  userInputId: string;
1757
2031
  changesAlreadyApplied: {
1758
2032
  content: string;
1759
2033
  type: "file" | "patch";
1760
2034
  filePath: string;
1761
2035
  }[];
2036
+ response: string;
1762
2037
  changes: {
1763
2038
  content: string;
1764
2039
  type: "file" | "patch";
@@ -1769,20 +2044,20 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1769
2044
  content: string;
1770
2045
  }[];
1771
2046
  resetFileVersions: boolean;
1772
- }, {
1773
- type: "tool-call";
1774
2047
  data: {
1775
2048
  name: string;
1776
2049
  id: string;
1777
2050
  input: Record<string, any>;
1778
2051
  };
1779
- response: string;
2052
+ }, {
2053
+ type: "tool-call";
1780
2054
  userInputId: string;
1781
2055
  changesAlreadyApplied: {
1782
2056
  content: string;
1783
2057
  type: "file" | "patch";
1784
2058
  filePath: string;
1785
2059
  }[];
2060
+ response: string;
1786
2061
  changes: {
1787
2062
  content: string;
1788
2063
  type: "file" | "patch";
@@ -1793,6 +2068,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1793
2068
  content: string;
1794
2069
  }[];
1795
2070
  resetFileVersions: boolean;
2071
+ data: {
2072
+ name: string;
2073
+ id: string;
2074
+ input: Record<string, any>;
2075
+ };
1796
2076
  }>, z.ZodObject<{
1797
2077
  type: z.ZodLiteral<"terminal-command-result">;
1798
2078
  userInputId: z.ZodString;
@@ -1829,18 +2109,18 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1829
2109
  session_credits_used: z.ZodNumber;
1830
2110
  }, "type">>, "strip", z.ZodTypeAny, {
1831
2111
  type: "init-response";
1832
- subscription_active: boolean;
1833
- next_quota_reset: Date;
1834
2112
  usage: number;
1835
2113
  limit: number;
2114
+ subscription_active: boolean;
2115
+ next_quota_reset: Date;
1836
2116
  session_credits_used: number;
1837
2117
  referralLink?: string | undefined;
1838
2118
  }, {
1839
2119
  type: "init-response";
1840
- subscription_active: boolean;
1841
- next_quota_reset: Date;
1842
2120
  usage: number;
1843
2121
  limit: number;
2122
+ subscription_active: boolean;
2123
+ next_quota_reset: Date;
1844
2124
  session_credits_used: number;
1845
2125
  referralLink?: string | undefined;
1846
2126
  }>, z.ZodObject<{
@@ -1856,15 +2136,15 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1856
2136
  email: string;
1857
2137
  name: string | null;
1858
2138
  id: string;
1859
- authToken: string;
1860
2139
  fingerprintId: string;
2140
+ authToken: string;
1861
2141
  fingerprintHash: string;
1862
2142
  }, {
1863
2143
  email: string;
1864
2144
  name: string | null;
1865
2145
  id: string;
1866
- authToken: string;
1867
2146
  fingerprintId: string;
2147
+ authToken: string;
1868
2148
  fingerprintHash: string;
1869
2149
  }>>;
1870
2150
  message: z.ZodString;
@@ -1875,8 +2155,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1875
2155
  email: string;
1876
2156
  name: string | null;
1877
2157
  id: string;
1878
- authToken: string;
1879
2158
  fingerprintId: string;
2159
+ authToken: string;
1880
2160
  fingerprintHash: string;
1881
2161
  } | undefined;
1882
2162
  }, {
@@ -1886,8 +2166,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1886
2166
  email: string;
1887
2167
  name: string | null;
1888
2168
  id: string;
1889
- authToken: string;
1890
2169
  fingerprintId: string;
2170
+ authToken: string;
1891
2171
  fingerprintHash: string;
1892
2172
  } | undefined;
1893
2173
  }>, z.ZodObject<{
@@ -1915,18 +2195,18 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1915
2195
  session_credits_used: z.ZodNumber;
1916
2196
  }, "strip", z.ZodTypeAny, {
1917
2197
  type: "usage-response";
1918
- subscription_active: boolean;
1919
- next_quota_reset: Date;
1920
2198
  usage: number;
1921
2199
  limit: number;
2200
+ subscription_active: boolean;
2201
+ next_quota_reset: Date;
1922
2202
  session_credits_used: number;
1923
2203
  referralLink?: string | undefined;
1924
2204
  }, {
1925
2205
  type: "usage-response";
1926
- subscription_active: boolean;
1927
- next_quota_reset: Date;
1928
2206
  usage: number;
1929
2207
  limit: number;
2208
+ subscription_active: boolean;
2209
+ next_quota_reset: Date;
1930
2210
  session_credits_used: number;
1931
2211
  referralLink?: string | undefined;
1932
2212
  }>, z.ZodObject<{
@@ -1952,29 +2232,29 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1952
2232
  type: "action";
1953
2233
  data: {
1954
2234
  type: "usage-response";
1955
- subscription_active: boolean;
1956
- next_quota_reset: Date;
1957
2235
  usage: number;
1958
2236
  limit: number;
2237
+ subscription_active: boolean;
2238
+ next_quota_reset: Date;
1959
2239
  session_credits_used: number;
1960
2240
  referralLink?: string | undefined;
1961
2241
  } | {
1962
2242
  type: "init-response";
1963
- subscription_active: boolean;
1964
- next_quota_reset: Date;
1965
2243
  usage: number;
1966
2244
  limit: number;
2245
+ subscription_active: boolean;
2246
+ next_quota_reset: Date;
1967
2247
  session_credits_used: number;
1968
2248
  referralLink?: string | undefined;
1969
2249
  } | {
1970
2250
  type: "response-complete";
1971
- response: string;
1972
2251
  userInputId: string;
1973
2252
  changesAlreadyApplied: {
1974
2253
  content: string;
1975
2254
  type: "file" | "patch";
1976
2255
  filePath: string;
1977
2256
  }[];
2257
+ response: string;
1978
2258
  changes: {
1979
2259
  content: string;
1980
2260
  type: "file" | "patch";
@@ -1985,11 +2265,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1985
2265
  content: string;
1986
2266
  }[];
1987
2267
  resetFileVersions: boolean;
1988
- subscription_active?: boolean | undefined;
1989
- next_quota_reset?: Date | undefined;
1990
2268
  usage?: number | undefined;
1991
2269
  limit?: number | undefined;
1992
2270
  referralLink?: string | undefined;
2271
+ subscription_active?: boolean | undefined;
2272
+ next_quota_reset?: Date | undefined;
1993
2273
  session_credits_used?: number | undefined;
1994
2274
  } | {
1995
2275
  type: "response-chunk";
@@ -2000,18 +2280,13 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2000
2280
  filePaths: string[];
2001
2281
  } | {
2002
2282
  type: "tool-call";
2003
- data: {
2004
- name: string;
2005
- id: string;
2006
- input: Record<string, any>;
2007
- };
2008
- response: string;
2009
2283
  userInputId: string;
2010
2284
  changesAlreadyApplied: {
2011
2285
  content: string;
2012
2286
  type: "file" | "patch";
2013
2287
  filePath: string;
2014
2288
  }[];
2289
+ response: string;
2015
2290
  changes: {
2016
2291
  content: string;
2017
2292
  type: "file" | "patch";
@@ -2022,6 +2297,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2022
2297
  content: string;
2023
2298
  }[];
2024
2299
  resetFileVersions: boolean;
2300
+ data: {
2301
+ name: string;
2302
+ id: string;
2303
+ input: Record<string, any>;
2304
+ };
2025
2305
  } | {
2026
2306
  type: "terminal-command-result";
2027
2307
  userInputId: string;
@@ -2037,8 +2317,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2037
2317
  email: string;
2038
2318
  name: string | null;
2039
2319
  id: string;
2040
- authToken: string;
2041
2320
  fingerprintId: string;
2321
+ authToken: string;
2042
2322
  fingerprintHash: string;
2043
2323
  } | undefined;
2044
2324
  } | {
@@ -2057,29 +2337,29 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2057
2337
  type: "action";
2058
2338
  data: {
2059
2339
  type: "usage-response";
2060
- subscription_active: boolean;
2061
- next_quota_reset: Date;
2062
2340
  usage: number;
2063
2341
  limit: number;
2342
+ subscription_active: boolean;
2343
+ next_quota_reset: Date;
2064
2344
  session_credits_used: number;
2065
2345
  referralLink?: string | undefined;
2066
2346
  } | {
2067
2347
  type: "init-response";
2068
- subscription_active: boolean;
2069
- next_quota_reset: Date;
2070
2348
  usage: number;
2071
2349
  limit: number;
2350
+ subscription_active: boolean;
2351
+ next_quota_reset: Date;
2072
2352
  session_credits_used: number;
2073
2353
  referralLink?: string | undefined;
2074
2354
  } | {
2075
2355
  type: "response-complete";
2076
- response: string;
2077
2356
  userInputId: string;
2078
2357
  changesAlreadyApplied: {
2079
2358
  content: string;
2080
2359
  type: "file" | "patch";
2081
2360
  filePath: string;
2082
2361
  }[];
2362
+ response: string;
2083
2363
  changes: {
2084
2364
  content: string;
2085
2365
  type: "file" | "patch";
@@ -2090,11 +2370,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2090
2370
  content: string;
2091
2371
  }[];
2092
2372
  resetFileVersions: boolean;
2093
- subscription_active?: boolean | undefined;
2094
- next_quota_reset?: Date | undefined;
2095
2373
  usage?: number | undefined;
2096
2374
  limit?: number | undefined;
2097
2375
  referralLink?: string | undefined;
2376
+ subscription_active?: boolean | undefined;
2377
+ next_quota_reset?: Date | undefined;
2098
2378
  session_credits_used?: number | undefined;
2099
2379
  } | {
2100
2380
  type: "response-chunk";
@@ -2105,18 +2385,13 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2105
2385
  filePaths: string[];
2106
2386
  } | {
2107
2387
  type: "tool-call";
2108
- data: {
2109
- name: string;
2110
- id: string;
2111
- input: Record<string, any>;
2112
- };
2113
- response: string;
2114
2388
  userInputId: string;
2115
2389
  changesAlreadyApplied: {
2116
2390
  content: string;
2117
2391
  type: "file" | "patch";
2118
2392
  filePath: string;
2119
2393
  }[];
2394
+ response: string;
2120
2395
  changes: {
2121
2396
  content: string;
2122
2397
  type: "file" | "patch";
@@ -2127,6 +2402,11 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2127
2402
  content: string;
2128
2403
  }[];
2129
2404
  resetFileVersions: boolean;
2405
+ data: {
2406
+ name: string;
2407
+ id: string;
2408
+ input: Record<string, any>;
2409
+ };
2130
2410
  } | {
2131
2411
  type: "terminal-command-result";
2132
2412
  userInputId: string;
@@ -2142,8 +2422,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2142
2422
  email: string;
2143
2423
  name: string | null;
2144
2424
  id: string;
2145
- authToken: string;
2146
2425
  fingerprintId: string;
2426
+ authToken: string;
2147
2427
  fingerprintHash: string;
2148
2428
  } | undefined;
2149
2429
  } | {
@@ -2231,21 +2511,21 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2231
2511
  }>, "many">;
2232
2512
  resetFileVersions: z.ZodBoolean;
2233
2513
  }, {
2234
- subscription_active: z.ZodOptional<z.ZodBoolean>;
2235
- next_quota_reset: z.ZodOptional<z.ZodDate>;
2236
2514
  usage: z.ZodOptional<z.ZodNumber>;
2237
2515
  limit: z.ZodOptional<z.ZodNumber>;
2238
2516
  referralLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2517
+ subscription_active: z.ZodOptional<z.ZodBoolean>;
2518
+ next_quota_reset: z.ZodOptional<z.ZodDate>;
2239
2519
  session_credits_used: z.ZodOptional<z.ZodNumber>;
2240
2520
  }>, "strip", z.ZodTypeAny, {
2241
2521
  type: "response-complete";
2242
- response: string;
2243
2522
  userInputId: string;
2244
2523
  changesAlreadyApplied: {
2245
2524
  content: string;
2246
2525
  type: "file" | "patch";
2247
2526
  filePath: string;
2248
2527
  }[];
2528
+ response: string;
2249
2529
  changes: {
2250
2530
  content: string;
2251
2531
  type: "file" | "patch";
@@ -2256,21 +2536,21 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2256
2536
  content: string;
2257
2537
  }[];
2258
2538
  resetFileVersions: boolean;
2259
- subscription_active?: boolean | undefined;
2260
- next_quota_reset?: Date | undefined;
2261
2539
  usage?: number | undefined;
2262
2540
  limit?: number | undefined;
2263
2541
  referralLink?: string | undefined;
2542
+ subscription_active?: boolean | undefined;
2543
+ next_quota_reset?: Date | undefined;
2264
2544
  session_credits_used?: number | undefined;
2265
2545
  }, {
2266
2546
  type: "response-complete";
2267
- response: string;
2268
2547
  userInputId: string;
2269
2548
  changesAlreadyApplied: {
2270
2549
  content: string;
2271
2550
  type: "file" | "patch";
2272
2551
  filePath: string;
2273
2552
  }[];
2553
+ response: string;
2274
2554
  changes: {
2275
2555
  content: string;
2276
2556
  type: "file" | "patch";
@@ -2281,11 +2561,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2281
2561
  content: string;
2282
2562
  }[];
2283
2563
  resetFileVersions: boolean;
2284
- subscription_active?: boolean | undefined;
2285
- next_quota_reset?: Date | undefined;
2286
2564
  usage?: number | undefined;
2287
2565
  limit?: number | undefined;
2288
2566
  referralLink?: string | undefined;
2567
+ subscription_active?: boolean | undefined;
2568
+ next_quota_reset?: Date | undefined;
2289
2569
  session_credits_used?: number | undefined;
2290
2570
  }>, z.ZodObject<{
2291
2571
  type: z.ZodLiteral<"read-files">;
@@ -2352,18 +2632,13 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2352
2632
  resetFileVersions: z.ZodBoolean;
2353
2633
  }, "strip", z.ZodTypeAny, {
2354
2634
  type: "tool-call";
2355
- data: {
2356
- name: string;
2357
- id: string;
2358
- input: Record<string, any>;
2359
- };
2360
- response: string;
2361
2635
  userInputId: string;
2362
2636
  changesAlreadyApplied: {
2363
2637
  content: string;
2364
2638
  type: "file" | "patch";
2365
2639
  filePath: string;
2366
2640
  }[];
2641
+ response: string;
2367
2642
  changes: {
2368
2643
  content: string;
2369
2644
  type: "file" | "patch";
@@ -2374,20 +2649,20 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2374
2649
  content: string;
2375
2650
  }[];
2376
2651
  resetFileVersions: boolean;
2377
- }, {
2378
- type: "tool-call";
2379
2652
  data: {
2380
2653
  name: string;
2381
2654
  id: string;
2382
2655
  input: Record<string, any>;
2383
2656
  };
2384
- response: string;
2657
+ }, {
2658
+ type: "tool-call";
2385
2659
  userInputId: string;
2386
2660
  changesAlreadyApplied: {
2387
2661
  content: string;
2388
2662
  type: "file" | "patch";
2389
2663
  filePath: string;
2390
2664
  }[];
2665
+ response: string;
2391
2666
  changes: {
2392
2667
  content: string;
2393
2668
  type: "file" | "patch";
@@ -2398,6 +2673,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2398
2673
  content: string;
2399
2674
  }[];
2400
2675
  resetFileVersions: boolean;
2676
+ data: {
2677
+ name: string;
2678
+ id: string;
2679
+ input: Record<string, any>;
2680
+ };
2401
2681
  }>, z.ZodObject<{
2402
2682
  type: z.ZodLiteral<"terminal-command-result">;
2403
2683
  userInputId: z.ZodString;
@@ -2434,18 +2714,18 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2434
2714
  session_credits_used: z.ZodNumber;
2435
2715
  }, "type">>, "strip", z.ZodTypeAny, {
2436
2716
  type: "init-response";
2437
- subscription_active: boolean;
2438
- next_quota_reset: Date;
2439
2717
  usage: number;
2440
2718
  limit: number;
2719
+ subscription_active: boolean;
2720
+ next_quota_reset: Date;
2441
2721
  session_credits_used: number;
2442
2722
  referralLink?: string | undefined;
2443
2723
  }, {
2444
2724
  type: "init-response";
2445
- subscription_active: boolean;
2446
- next_quota_reset: Date;
2447
2725
  usage: number;
2448
2726
  limit: number;
2727
+ subscription_active: boolean;
2728
+ next_quota_reset: Date;
2449
2729
  session_credits_used: number;
2450
2730
  referralLink?: string | undefined;
2451
2731
  }>, z.ZodObject<{
@@ -2461,15 +2741,15 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2461
2741
  email: string;
2462
2742
  name: string | null;
2463
2743
  id: string;
2464
- authToken: string;
2465
2744
  fingerprintId: string;
2745
+ authToken: string;
2466
2746
  fingerprintHash: string;
2467
2747
  }, {
2468
2748
  email: string;
2469
2749
  name: string | null;
2470
2750
  id: string;
2471
- authToken: string;
2472
2751
  fingerprintId: string;
2752
+ authToken: string;
2473
2753
  fingerprintHash: string;
2474
2754
  }>>;
2475
2755
  message: z.ZodString;
@@ -2480,8 +2760,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2480
2760
  email: string;
2481
2761
  name: string | null;
2482
2762
  id: string;
2483
- authToken: string;
2484
2763
  fingerprintId: string;
2764
+ authToken: string;
2485
2765
  fingerprintHash: string;
2486
2766
  } | undefined;
2487
2767
  }, {
@@ -2491,8 +2771,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2491
2771
  email: string;
2492
2772
  name: string | null;
2493
2773
  id: string;
2494
- authToken: string;
2495
2774
  fingerprintId: string;
2775
+ authToken: string;
2496
2776
  fingerprintHash: string;
2497
2777
  } | undefined;
2498
2778
  }>, z.ZodObject<{
@@ -2520,18 +2800,18 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2520
2800
  session_credits_used: z.ZodNumber;
2521
2801
  }, "strip", z.ZodTypeAny, {
2522
2802
  type: "usage-response";
2523
- subscription_active: boolean;
2524
- next_quota_reset: Date;
2525
2803
  usage: number;
2526
2804
  limit: number;
2805
+ subscription_active: boolean;
2806
+ next_quota_reset: Date;
2527
2807
  session_credits_used: number;
2528
2808
  referralLink?: string | undefined;
2529
2809
  }, {
2530
2810
  type: "usage-response";
2531
- subscription_active: boolean;
2532
- next_quota_reset: Date;
2533
2811
  usage: number;
2534
2812
  limit: number;
2813
+ subscription_active: boolean;
2814
+ next_quota_reset: Date;
2535
2815
  session_credits_used: number;
2536
2816
  referralLink?: string | undefined;
2537
2817
  }>, z.ZodObject<{
@@ -2557,29 +2837,29 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2557
2837
  type: "action";
2558
2838
  data: {
2559
2839
  type: "usage-response";
2560
- subscription_active: boolean;
2561
- next_quota_reset: Date;
2562
2840
  usage: number;
2563
2841
  limit: number;
2842
+ subscription_active: boolean;
2843
+ next_quota_reset: Date;
2564
2844
  session_credits_used: number;
2565
2845
  referralLink?: string | undefined;
2566
2846
  } | {
2567
2847
  type: "init-response";
2568
- subscription_active: boolean;
2569
- next_quota_reset: Date;
2570
2848
  usage: number;
2571
2849
  limit: number;
2850
+ subscription_active: boolean;
2851
+ next_quota_reset: Date;
2572
2852
  session_credits_used: number;
2573
2853
  referralLink?: string | undefined;
2574
2854
  } | {
2575
2855
  type: "response-complete";
2576
- response: string;
2577
2856
  userInputId: string;
2578
2857
  changesAlreadyApplied: {
2579
2858
  content: string;
2580
2859
  type: "file" | "patch";
2581
2860
  filePath: string;
2582
2861
  }[];
2862
+ response: string;
2583
2863
  changes: {
2584
2864
  content: string;
2585
2865
  type: "file" | "patch";
@@ -2590,11 +2870,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2590
2870
  content: string;
2591
2871
  }[];
2592
2872
  resetFileVersions: boolean;
2593
- subscription_active?: boolean | undefined;
2594
- next_quota_reset?: Date | undefined;
2595
2873
  usage?: number | undefined;
2596
2874
  limit?: number | undefined;
2597
2875
  referralLink?: string | undefined;
2876
+ subscription_active?: boolean | undefined;
2877
+ next_quota_reset?: Date | undefined;
2598
2878
  session_credits_used?: number | undefined;
2599
2879
  } | {
2600
2880
  type: "response-chunk";
@@ -2605,18 +2885,13 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2605
2885
  filePaths: string[];
2606
2886
  } | {
2607
2887
  type: "tool-call";
2608
- data: {
2609
- name: string;
2610
- id: string;
2611
- input: Record<string, any>;
2612
- };
2613
- response: string;
2614
2888
  userInputId: string;
2615
2889
  changesAlreadyApplied: {
2616
2890
  content: string;
2617
2891
  type: "file" | "patch";
2618
2892
  filePath: string;
2619
2893
  }[];
2894
+ response: string;
2620
2895
  changes: {
2621
2896
  content: string;
2622
2897
  type: "file" | "patch";
@@ -2627,6 +2902,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2627
2902
  content: string;
2628
2903
  }[];
2629
2904
  resetFileVersions: boolean;
2905
+ data: {
2906
+ name: string;
2907
+ id: string;
2908
+ input: Record<string, any>;
2909
+ };
2630
2910
  } | {
2631
2911
  type: "terminal-command-result";
2632
2912
  userInputId: string;
@@ -2642,8 +2922,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2642
2922
  email: string;
2643
2923
  name: string | null;
2644
2924
  id: string;
2645
- authToken: string;
2646
2925
  fingerprintId: string;
2926
+ authToken: string;
2647
2927
  fingerprintHash: string;
2648
2928
  } | undefined;
2649
2929
  } | {
@@ -2662,29 +2942,29 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2662
2942
  type: "action";
2663
2943
  data: {
2664
2944
  type: "usage-response";
2665
- subscription_active: boolean;
2666
- next_quota_reset: Date;
2667
2945
  usage: number;
2668
2946
  limit: number;
2947
+ subscription_active: boolean;
2948
+ next_quota_reset: Date;
2669
2949
  session_credits_used: number;
2670
2950
  referralLink?: string | undefined;
2671
2951
  } | {
2672
2952
  type: "init-response";
2673
- subscription_active: boolean;
2674
- next_quota_reset: Date;
2675
2953
  usage: number;
2676
2954
  limit: number;
2955
+ subscription_active: boolean;
2956
+ next_quota_reset: Date;
2677
2957
  session_credits_used: number;
2678
2958
  referralLink?: string | undefined;
2679
2959
  } | {
2680
2960
  type: "response-complete";
2681
- response: string;
2682
2961
  userInputId: string;
2683
2962
  changesAlreadyApplied: {
2684
2963
  content: string;
2685
2964
  type: "file" | "patch";
2686
2965
  filePath: string;
2687
2966
  }[];
2967
+ response: string;
2688
2968
  changes: {
2689
2969
  content: string;
2690
2970
  type: "file" | "patch";
@@ -2695,11 +2975,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2695
2975
  content: string;
2696
2976
  }[];
2697
2977
  resetFileVersions: boolean;
2698
- subscription_active?: boolean | undefined;
2699
- next_quota_reset?: Date | undefined;
2700
2978
  usage?: number | undefined;
2701
2979
  limit?: number | undefined;
2702
2980
  referralLink?: string | undefined;
2981
+ subscription_active?: boolean | undefined;
2982
+ next_quota_reset?: Date | undefined;
2703
2983
  session_credits_used?: number | undefined;
2704
2984
  } | {
2705
2985
  type: "response-chunk";
@@ -2710,18 +2990,13 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2710
2990
  filePaths: string[];
2711
2991
  } | {
2712
2992
  type: "tool-call";
2713
- data: {
2714
- name: string;
2715
- id: string;
2716
- input: Record<string, any>;
2717
- };
2718
- response: string;
2719
2993
  userInputId: string;
2720
2994
  changesAlreadyApplied: {
2721
2995
  content: string;
2722
2996
  type: "file" | "patch";
2723
2997
  filePath: string;
2724
2998
  }[];
2999
+ response: string;
2725
3000
  changes: {
2726
3001
  content: string;
2727
3002
  type: "file" | "patch";
@@ -2732,6 +3007,11 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2732
3007
  content: string;
2733
3008
  }[];
2734
3009
  resetFileVersions: boolean;
3010
+ data: {
3011
+ name: string;
3012
+ id: string;
3013
+ input: Record<string, any>;
3014
+ };
2735
3015
  } | {
2736
3016
  type: "terminal-command-result";
2737
3017
  userInputId: string;
@@ -2747,8 +3027,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2747
3027
  email: string;
2748
3028
  name: string | null;
2749
3029
  id: string;
2750
- authToken: string;
2751
3030
  fingerprintId: string;
3031
+ authToken: string;
2752
3032
  fingerprintHash: string;
2753
3033
  } | undefined;
2754
3034
  } | {