codebuff 1.0.121 → 1.0.123

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.
@@ -95,16 +95,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
95
95
  }>>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  type: "tool_use";
98
- id: string;
99
98
  name: string;
99
+ id: string;
100
100
  input: Record<string, any>;
101
101
  cache_control?: {
102
102
  type: "ephemeral";
103
103
  } | undefined;
104
104
  }, {
105
105
  type: "tool_use";
106
- id: string;
107
106
  name: string;
107
+ id: string;
108
108
  input: Record<string, any>;
109
109
  cache_control?: {
110
110
  type: "ephemeral";
@@ -122,15 +122,15 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
122
122
  }>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  type: "tool_result";
125
- tool_use_id: string;
126
125
  content: string;
126
+ tool_use_id: string;
127
127
  cache_control?: {
128
128
  type: "ephemeral";
129
129
  } | undefined;
130
130
  }, {
131
131
  type: "tool_result";
132
- tool_use_id: string;
133
132
  content: string;
133
+ tool_use_id: string;
134
134
  cache_control?: {
135
135
  type: "ephemeral";
136
136
  } | undefined;
@@ -144,16 +144,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
144
144
  } | undefined;
145
145
  } | {
146
146
  type: "tool_use";
147
- id: string;
148
147
  name: string;
148
+ id: string;
149
149
  input: Record<string, any>;
150
150
  cache_control?: {
151
151
  type: "ephemeral";
152
152
  } | undefined;
153
153
  } | {
154
154
  type: "tool_result";
155
- tool_use_id: string;
156
155
  content: string;
156
+ tool_use_id: string;
157
157
  cache_control?: {
158
158
  type: "ephemeral";
159
159
  } | undefined;
@@ -168,16 +168,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
168
168
  } | undefined;
169
169
  } | {
170
170
  type: "tool_use";
171
- id: string;
172
171
  name: string;
172
+ id: string;
173
173
  input: Record<string, any>;
174
174
  cache_control?: {
175
175
  type: "ephemeral";
176
176
  } | undefined;
177
177
  } | {
178
178
  type: "tool_result";
179
- tool_use_id: string;
180
179
  content: string;
180
+ tool_use_id: string;
181
181
  cache_control?: {
182
182
  type: "ephemeral";
183
183
  } | undefined;
@@ -296,12 +296,12 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
296
296
  content: z.ZodString;
297
297
  }, "strip", z.ZodTypeAny, {
298
298
  type: "patch" | "file";
299
- content: string;
300
299
  filePath: string;
300
+ content: string;
301
301
  }, {
302
302
  type: "patch" | "file";
303
- content: string;
304
303
  filePath: string;
304
+ content: string;
305
305
  }>, "many">;
306
306
  costMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["lite", "normal", "pro"]>>>;
307
307
  }, "strip", z.ZodTypeAny, {
@@ -317,16 +317,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
317
317
  } | undefined;
318
318
  } | {
319
319
  type: "tool_use";
320
- id: string;
321
320
  name: string;
321
+ id: string;
322
322
  input: Record<string, any>;
323
323
  cache_control?: {
324
324
  type: "ephemeral";
325
325
  } | undefined;
326
326
  } | {
327
327
  type: "tool_result";
328
- tool_use_id: string;
329
328
  content: string;
329
+ tool_use_id: string;
330
330
  cache_control?: {
331
331
  type: "ephemeral";
332
332
  } | undefined;
@@ -361,8 +361,8 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
361
361
  };
362
362
  changesAlreadyApplied: {
363
363
  type: "patch" | "file";
364
- content: string;
365
364
  filePath: string;
365
+ content: string;
366
366
  }[];
367
367
  costMode: "lite" | "normal" | "pro";
368
368
  authToken?: string | undefined;
@@ -379,16 +379,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
379
379
  } | undefined;
380
380
  } | {
381
381
  type: "tool_use";
382
- id: string;
383
382
  name: string;
383
+ id: string;
384
384
  input: Record<string, any>;
385
385
  cache_control?: {
386
386
  type: "ephemeral";
387
387
  } | undefined;
388
388
  } | {
389
389
  type: "tool_result";
390
- tool_use_id: string;
391
390
  content: string;
391
+ tool_use_id: string;
392
392
  cache_control?: {
393
393
  type: "ephemeral";
394
394
  } | undefined;
@@ -423,8 +423,8 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
423
423
  };
424
424
  changesAlreadyApplied: {
425
425
  type: "patch" | "file";
426
- content: string;
427
426
  filePath: string;
427
+ content: string;
428
428
  }[];
429
429
  authToken?: string | undefined;
430
430
  costMode?: "lite" | "normal" | "pro" | undefined;
@@ -692,16 +692,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
692
692
  } | undefined;
693
693
  } | {
694
694
  type: "tool_use";
695
- id: string;
696
695
  name: string;
696
+ id: string;
697
697
  input: Record<string, any>;
698
698
  cache_control?: {
699
699
  type: "ephemeral";
700
700
  } | undefined;
701
701
  } | {
702
702
  type: "tool_result";
703
- tool_use_id: string;
704
703
  content: string;
704
+ tool_use_id: string;
705
705
  cache_control?: {
706
706
  type: "ephemeral";
707
707
  } | undefined;
@@ -736,8 +736,8 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
736
736
  };
737
737
  changesAlreadyApplied: {
738
738
  type: "patch" | "file";
739
- content: string;
740
739
  filePath: string;
740
+ content: string;
741
741
  }[];
742
742
  costMode: "lite" | "normal" | "pro";
743
743
  authToken?: string | undefined;
@@ -814,16 +814,16 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
814
814
  } | undefined;
815
815
  } | {
816
816
  type: "tool_use";
817
- id: string;
818
817
  name: string;
818
+ id: string;
819
819
  input: Record<string, any>;
820
820
  cache_control?: {
821
821
  type: "ephemeral";
822
822
  } | undefined;
823
823
  } | {
824
824
  type: "tool_result";
825
- tool_use_id: string;
826
825
  content: string;
826
+ tool_use_id: string;
827
827
  cache_control?: {
828
828
  type: "ephemeral";
829
829
  } | undefined;
@@ -858,8 +858,8 @@ export declare const CLIENT_MESSAGE_SCHEMAS: {
858
858
  };
859
859
  changesAlreadyApplied: {
860
860
  type: "patch" | "file";
861
- content: string;
862
861
  filePath: string;
862
+ content: string;
863
863
  }[];
864
864
  authToken?: string | undefined;
865
865
  costMode?: "lite" | "normal" | "pro" | undefined;
@@ -1014,16 +1014,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1014
1014
  }>>;
1015
1015
  }, "strip", z.ZodTypeAny, {
1016
1016
  type: "tool_use";
1017
- id: string;
1018
1017
  name: string;
1018
+ id: string;
1019
1019
  input: Record<string, any>;
1020
1020
  cache_control?: {
1021
1021
  type: "ephemeral";
1022
1022
  } | undefined;
1023
1023
  }, {
1024
1024
  type: "tool_use";
1025
- id: string;
1026
1025
  name: string;
1026
+ id: string;
1027
1027
  input: Record<string, any>;
1028
1028
  cache_control?: {
1029
1029
  type: "ephemeral";
@@ -1041,15 +1041,15 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1041
1041
  }>>;
1042
1042
  }, "strip", z.ZodTypeAny, {
1043
1043
  type: "tool_result";
1044
- tool_use_id: string;
1045
1044
  content: string;
1045
+ tool_use_id: string;
1046
1046
  cache_control?: {
1047
1047
  type: "ephemeral";
1048
1048
  } | undefined;
1049
1049
  }, {
1050
1050
  type: "tool_result";
1051
- tool_use_id: string;
1052
1051
  content: string;
1052
+ tool_use_id: string;
1053
1053
  cache_control?: {
1054
1054
  type: "ephemeral";
1055
1055
  } | undefined;
@@ -1063,16 +1063,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1063
1063
  } | undefined;
1064
1064
  } | {
1065
1065
  type: "tool_use";
1066
- id: string;
1067
1066
  name: string;
1067
+ id: string;
1068
1068
  input: Record<string, any>;
1069
1069
  cache_control?: {
1070
1070
  type: "ephemeral";
1071
1071
  } | undefined;
1072
1072
  } | {
1073
1073
  type: "tool_result";
1074
- tool_use_id: string;
1075
1074
  content: string;
1075
+ tool_use_id: string;
1076
1076
  cache_control?: {
1077
1077
  type: "ephemeral";
1078
1078
  } | undefined;
@@ -1087,16 +1087,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1087
1087
  } | undefined;
1088
1088
  } | {
1089
1089
  type: "tool_use";
1090
- id: string;
1091
1090
  name: string;
1091
+ id: string;
1092
1092
  input: Record<string, any>;
1093
1093
  cache_control?: {
1094
1094
  type: "ephemeral";
1095
1095
  } | undefined;
1096
1096
  } | {
1097
1097
  type: "tool_result";
1098
- tool_use_id: string;
1099
1098
  content: string;
1099
+ tool_use_id: string;
1100
1100
  cache_control?: {
1101
1101
  type: "ephemeral";
1102
1102
  } | undefined;
@@ -1215,12 +1215,12 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1215
1215
  content: z.ZodString;
1216
1216
  }, "strip", z.ZodTypeAny, {
1217
1217
  type: "patch" | "file";
1218
- content: string;
1219
1218
  filePath: string;
1219
+ content: string;
1220
1220
  }, {
1221
1221
  type: "patch" | "file";
1222
- content: string;
1223
1222
  filePath: string;
1223
+ content: string;
1224
1224
  }>, "many">;
1225
1225
  costMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["lite", "normal", "pro"]>>>;
1226
1226
  }, "strip", z.ZodTypeAny, {
@@ -1236,16 +1236,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1236
1236
  } | undefined;
1237
1237
  } | {
1238
1238
  type: "tool_use";
1239
- id: string;
1240
1239
  name: string;
1240
+ id: string;
1241
1241
  input: Record<string, any>;
1242
1242
  cache_control?: {
1243
1243
  type: "ephemeral";
1244
1244
  } | undefined;
1245
1245
  } | {
1246
1246
  type: "tool_result";
1247
- tool_use_id: string;
1248
1247
  content: string;
1248
+ tool_use_id: string;
1249
1249
  cache_control?: {
1250
1250
  type: "ephemeral";
1251
1251
  } | undefined;
@@ -1280,8 +1280,8 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1280
1280
  };
1281
1281
  changesAlreadyApplied: {
1282
1282
  type: "patch" | "file";
1283
- content: string;
1284
1283
  filePath: string;
1284
+ content: string;
1285
1285
  }[];
1286
1286
  costMode: "lite" | "normal" | "pro";
1287
1287
  authToken?: string | undefined;
@@ -1298,16 +1298,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1298
1298
  } | undefined;
1299
1299
  } | {
1300
1300
  type: "tool_use";
1301
- id: string;
1302
1301
  name: string;
1302
+ id: string;
1303
1303
  input: Record<string, any>;
1304
1304
  cache_control?: {
1305
1305
  type: "ephemeral";
1306
1306
  } | undefined;
1307
1307
  } | {
1308
1308
  type: "tool_result";
1309
- tool_use_id: string;
1310
1309
  content: string;
1310
+ tool_use_id: string;
1311
1311
  cache_control?: {
1312
1312
  type: "ephemeral";
1313
1313
  } | undefined;
@@ -1342,8 +1342,8 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1342
1342
  };
1343
1343
  changesAlreadyApplied: {
1344
1344
  type: "patch" | "file";
1345
- content: string;
1346
1345
  filePath: string;
1346
+ content: string;
1347
1347
  }[];
1348
1348
  authToken?: string | undefined;
1349
1349
  costMode?: "lite" | "normal" | "pro" | undefined;
@@ -1611,16 +1611,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1611
1611
  } | undefined;
1612
1612
  } | {
1613
1613
  type: "tool_use";
1614
- id: string;
1615
1614
  name: string;
1615
+ id: string;
1616
1616
  input: Record<string, any>;
1617
1617
  cache_control?: {
1618
1618
  type: "ephemeral";
1619
1619
  } | undefined;
1620
1620
  } | {
1621
1621
  type: "tool_result";
1622
- tool_use_id: string;
1623
1622
  content: string;
1623
+ tool_use_id: string;
1624
1624
  cache_control?: {
1625
1625
  type: "ephemeral";
1626
1626
  } | undefined;
@@ -1655,8 +1655,8 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1655
1655
  };
1656
1656
  changesAlreadyApplied: {
1657
1657
  type: "patch" | "file";
1658
- content: string;
1659
1658
  filePath: string;
1659
+ content: string;
1660
1660
  }[];
1661
1661
  costMode: "lite" | "normal" | "pro";
1662
1662
  authToken?: string | undefined;
@@ -1733,16 +1733,16 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1733
1733
  } | undefined;
1734
1734
  } | {
1735
1735
  type: "tool_use";
1736
- id: string;
1737
1736
  name: string;
1737
+ id: string;
1738
1738
  input: Record<string, any>;
1739
1739
  cache_control?: {
1740
1740
  type: "ephemeral";
1741
1741
  } | undefined;
1742
1742
  } | {
1743
1743
  type: "tool_result";
1744
- tool_use_id: string;
1745
1744
  content: string;
1745
+ tool_use_id: string;
1746
1746
  cache_control?: {
1747
1747
  type: "ephemeral";
1748
1748
  } | undefined;
@@ -1777,8 +1777,8 @@ export declare const CLIENT_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
1777
1777
  };
1778
1778
  changesAlreadyApplied: {
1779
1779
  type: "patch" | "file";
1780
- content: string;
1781
1780
  filePath: string;
1781
+ content: string;
1782
1782
  }[];
1783
1783
  authToken?: string | undefined;
1784
1784
  costMode?: "lite" | "normal" | "pro" | undefined;
@@ -1884,12 +1884,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1884
1884
  content: z.ZodString;
1885
1885
  }, "strip", z.ZodTypeAny, {
1886
1886
  type: "patch" | "file";
1887
- content: string;
1888
1887
  filePath: string;
1888
+ content: string;
1889
1889
  }, {
1890
1890
  type: "patch" | "file";
1891
- content: string;
1892
1891
  filePath: string;
1892
+ content: string;
1893
1893
  }>, "many">;
1894
1894
  changesAlreadyApplied: z.ZodArray<z.ZodObject<{
1895
1895
  type: z.ZodEnum<["patch", "file"]>;
@@ -1897,12 +1897,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1897
1897
  content: z.ZodString;
1898
1898
  }, "strip", z.ZodTypeAny, {
1899
1899
  type: "patch" | "file";
1900
- content: string;
1901
1900
  filePath: string;
1901
+ content: string;
1902
1902
  }, {
1903
1903
  type: "patch" | "file";
1904
- content: string;
1905
1904
  filePath: string;
1905
+ content: string;
1906
1906
  }>, "many">;
1907
1907
  addedFileVersions: z.ZodArray<z.ZodObject<{
1908
1908
  path: z.ZodString;
@@ -1927,14 +1927,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1927
1927
  userInputId: string;
1928
1928
  changesAlreadyApplied: {
1929
1929
  type: "patch" | "file";
1930
- content: string;
1931
1930
  filePath: string;
1931
+ content: string;
1932
1932
  }[];
1933
1933
  response: string;
1934
1934
  changes: {
1935
1935
  type: "patch" | "file";
1936
- content: string;
1937
1936
  filePath: string;
1937
+ content: string;
1938
1938
  }[];
1939
1939
  addedFileVersions: {
1940
1940
  path: string;
@@ -1952,14 +1952,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1952
1952
  userInputId: string;
1953
1953
  changesAlreadyApplied: {
1954
1954
  type: "patch" | "file";
1955
- content: string;
1956
1955
  filePath: string;
1956
+ content: string;
1957
1957
  }[];
1958
1958
  response: string;
1959
1959
  changes: {
1960
1960
  type: "patch" | "file";
1961
- content: string;
1962
1961
  filePath: string;
1962
+ content: string;
1963
1963
  }[];
1964
1964
  addedFileVersions: {
1965
1965
  path: string;
@@ -1990,12 +1990,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
1990
1990
  id: z.ZodString;
1991
1991
  input: z.ZodRecord<z.ZodString, z.ZodAny>;
1992
1992
  }, "strip", z.ZodTypeAny, {
1993
- id: string;
1994
1993
  name: string;
1994
+ id: string;
1995
1995
  input: Record<string, any>;
1996
1996
  }, {
1997
- id: string;
1998
1997
  name: string;
1998
+ id: string;
1999
1999
  input: Record<string, any>;
2000
2000
  }>;
2001
2001
  changes: z.ZodArray<z.ZodObject<{
@@ -2004,12 +2004,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2004
2004
  content: z.ZodString;
2005
2005
  }, "strip", z.ZodTypeAny, {
2006
2006
  type: "patch" | "file";
2007
- content: string;
2008
2007
  filePath: string;
2008
+ content: string;
2009
2009
  }, {
2010
2010
  type: "patch" | "file";
2011
- content: string;
2012
2011
  filePath: string;
2012
+ content: string;
2013
2013
  }>, "many">;
2014
2014
  changesAlreadyApplied: z.ZodArray<z.ZodObject<{
2015
2015
  type: z.ZodEnum<["patch", "file"]>;
@@ -2017,12 +2017,12 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2017
2017
  content: z.ZodString;
2018
2018
  }, "strip", z.ZodTypeAny, {
2019
2019
  type: "patch" | "file";
2020
- content: string;
2021
2020
  filePath: string;
2021
+ content: string;
2022
2022
  }, {
2023
2023
  type: "patch" | "file";
2024
- content: string;
2025
2024
  filePath: string;
2025
+ content: string;
2026
2026
  }>, "many">;
2027
2027
  addedFileVersions: z.ZodArray<z.ZodObject<{
2028
2028
  path: z.ZodString;
@@ -2040,14 +2040,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2040
2040
  userInputId: string;
2041
2041
  changesAlreadyApplied: {
2042
2042
  type: "patch" | "file";
2043
- content: string;
2044
2043
  filePath: string;
2044
+ content: string;
2045
2045
  }[];
2046
2046
  response: string;
2047
2047
  changes: {
2048
2048
  type: "patch" | "file";
2049
- content: string;
2050
2049
  filePath: string;
2050
+ content: string;
2051
2051
  }[];
2052
2052
  addedFileVersions: {
2053
2053
  path: string;
@@ -2055,8 +2055,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2055
2055
  }[];
2056
2056
  resetFileVersions: boolean;
2057
2057
  data: {
2058
- id: string;
2059
2058
  name: string;
2059
+ id: string;
2060
2060
  input: Record<string, any>;
2061
2061
  };
2062
2062
  }, {
@@ -2064,14 +2064,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2064
2064
  userInputId: string;
2065
2065
  changesAlreadyApplied: {
2066
2066
  type: "patch" | "file";
2067
- content: string;
2068
2067
  filePath: string;
2068
+ content: string;
2069
2069
  }[];
2070
2070
  response: string;
2071
2071
  changes: {
2072
2072
  type: "patch" | "file";
2073
- content: string;
2074
2073
  filePath: string;
2074
+ content: string;
2075
2075
  }[];
2076
2076
  addedFileVersions: {
2077
2077
  path: string;
@@ -2079,8 +2079,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2079
2079
  }[];
2080
2080
  resetFileVersions: boolean;
2081
2081
  data: {
2082
- id: string;
2083
2082
  name: string;
2083
+ id: string;
2084
2084
  input: Record<string, any>;
2085
2085
  };
2086
2086
  }>, z.ZodObject<{
@@ -2143,15 +2143,15 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2143
2143
  fingerprintId: z.ZodString;
2144
2144
  fingerprintHash: z.ZodString;
2145
2145
  }, "strip", z.ZodTypeAny, {
2146
- id: string;
2147
2146
  name: string | null;
2147
+ id: string;
2148
2148
  fingerprintId: string;
2149
2149
  authToken: string;
2150
2150
  email: string;
2151
2151
  fingerprintHash: string;
2152
2152
  }, {
2153
- id: string;
2154
2153
  name: string | null;
2154
+ id: string;
2155
2155
  fingerprintId: string;
2156
2156
  authToken: string;
2157
2157
  email: string;
@@ -2162,8 +2162,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2162
2162
  type: "auth-result";
2163
2163
  message: string;
2164
2164
  user?: {
2165
- id: string;
2166
2165
  name: string | null;
2166
+ id: string;
2167
2167
  fingerprintId: string;
2168
2168
  authToken: string;
2169
2169
  email: string;
@@ -2173,8 +2173,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2173
2173
  type: "auth-result";
2174
2174
  message: string;
2175
2175
  user?: {
2176
- id: string;
2177
2176
  name: string | null;
2177
+ id: string;
2178
2178
  fingerprintId: string;
2179
2179
  authToken: string;
2180
2180
  email: string;
@@ -2261,14 +2261,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2261
2261
  userInputId: string;
2262
2262
  changesAlreadyApplied: {
2263
2263
  type: "patch" | "file";
2264
- content: string;
2265
2264
  filePath: string;
2265
+ content: string;
2266
2266
  }[];
2267
2267
  response: string;
2268
2268
  changes: {
2269
2269
  type: "patch" | "file";
2270
- content: string;
2271
2270
  filePath: string;
2271
+ content: string;
2272
2272
  }[];
2273
2273
  addedFileVersions: {
2274
2274
  path: string;
@@ -2293,14 +2293,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2293
2293
  userInputId: string;
2294
2294
  changesAlreadyApplied: {
2295
2295
  type: "patch" | "file";
2296
- content: string;
2297
2296
  filePath: string;
2297
+ content: string;
2298
2298
  }[];
2299
2299
  response: string;
2300
2300
  changes: {
2301
2301
  type: "patch" | "file";
2302
- content: string;
2303
2302
  filePath: string;
2303
+ content: string;
2304
2304
  }[];
2305
2305
  addedFileVersions: {
2306
2306
  path: string;
@@ -2308,8 +2308,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2308
2308
  }[];
2309
2309
  resetFileVersions: boolean;
2310
2310
  data: {
2311
- id: string;
2312
2311
  name: string;
2312
+ id: string;
2313
2313
  input: Record<string, any>;
2314
2314
  };
2315
2315
  } | {
@@ -2324,8 +2324,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2324
2324
  type: "auth-result";
2325
2325
  message: string;
2326
2326
  user?: {
2327
- id: string;
2328
2327
  name: string | null;
2328
+ id: string;
2329
2329
  fingerprintId: string;
2330
2330
  authToken: string;
2331
2331
  email: string;
@@ -2366,14 +2366,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2366
2366
  userInputId: string;
2367
2367
  changesAlreadyApplied: {
2368
2368
  type: "patch" | "file";
2369
- content: string;
2370
2369
  filePath: string;
2370
+ content: string;
2371
2371
  }[];
2372
2372
  response: string;
2373
2373
  changes: {
2374
2374
  type: "patch" | "file";
2375
- content: string;
2376
2375
  filePath: string;
2376
+ content: string;
2377
2377
  }[];
2378
2378
  addedFileVersions: {
2379
2379
  path: string;
@@ -2398,14 +2398,14 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2398
2398
  userInputId: string;
2399
2399
  changesAlreadyApplied: {
2400
2400
  type: "patch" | "file";
2401
- content: string;
2402
2401
  filePath: string;
2402
+ content: string;
2403
2403
  }[];
2404
2404
  response: string;
2405
2405
  changes: {
2406
2406
  type: "patch" | "file";
2407
- content: string;
2408
2407
  filePath: string;
2408
+ content: string;
2409
2409
  }[];
2410
2410
  addedFileVersions: {
2411
2411
  path: string;
@@ -2413,8 +2413,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2413
2413
  }[];
2414
2414
  resetFileVersions: boolean;
2415
2415
  data: {
2416
- id: string;
2417
2416
  name: string;
2417
+ id: string;
2418
2418
  input: Record<string, any>;
2419
2419
  };
2420
2420
  } | {
@@ -2429,8 +2429,8 @@ export declare const SERVER_MESSAGE_SCHEMAS: {
2429
2429
  type: "auth-result";
2430
2430
  message: string;
2431
2431
  user?: {
2432
- id: string;
2433
2432
  name: string | null;
2433
+ id: string;
2434
2434
  fingerprintId: string;
2435
2435
  authToken: string;
2436
2436
  email: string;
@@ -2489,12 +2489,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2489
2489
  content: z.ZodString;
2490
2490
  }, "strip", z.ZodTypeAny, {
2491
2491
  type: "patch" | "file";
2492
- content: string;
2493
2492
  filePath: string;
2493
+ content: string;
2494
2494
  }, {
2495
2495
  type: "patch" | "file";
2496
- content: string;
2497
2496
  filePath: string;
2497
+ content: string;
2498
2498
  }>, "many">;
2499
2499
  changesAlreadyApplied: z.ZodArray<z.ZodObject<{
2500
2500
  type: z.ZodEnum<["patch", "file"]>;
@@ -2502,12 +2502,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2502
2502
  content: z.ZodString;
2503
2503
  }, "strip", z.ZodTypeAny, {
2504
2504
  type: "patch" | "file";
2505
- content: string;
2506
2505
  filePath: string;
2506
+ content: string;
2507
2507
  }, {
2508
2508
  type: "patch" | "file";
2509
- content: string;
2510
2509
  filePath: string;
2510
+ content: string;
2511
2511
  }>, "many">;
2512
2512
  addedFileVersions: z.ZodArray<z.ZodObject<{
2513
2513
  path: z.ZodString;
@@ -2532,14 +2532,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2532
2532
  userInputId: string;
2533
2533
  changesAlreadyApplied: {
2534
2534
  type: "patch" | "file";
2535
- content: string;
2536
2535
  filePath: string;
2536
+ content: string;
2537
2537
  }[];
2538
2538
  response: string;
2539
2539
  changes: {
2540
2540
  type: "patch" | "file";
2541
- content: string;
2542
2541
  filePath: string;
2542
+ content: string;
2543
2543
  }[];
2544
2544
  addedFileVersions: {
2545
2545
  path: string;
@@ -2557,14 +2557,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2557
2557
  userInputId: string;
2558
2558
  changesAlreadyApplied: {
2559
2559
  type: "patch" | "file";
2560
- content: string;
2561
2560
  filePath: string;
2561
+ content: string;
2562
2562
  }[];
2563
2563
  response: string;
2564
2564
  changes: {
2565
2565
  type: "patch" | "file";
2566
- content: string;
2567
2566
  filePath: string;
2567
+ content: string;
2568
2568
  }[];
2569
2569
  addedFileVersions: {
2570
2570
  path: string;
@@ -2595,12 +2595,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2595
2595
  id: z.ZodString;
2596
2596
  input: z.ZodRecord<z.ZodString, z.ZodAny>;
2597
2597
  }, "strip", z.ZodTypeAny, {
2598
- id: string;
2599
2598
  name: string;
2599
+ id: string;
2600
2600
  input: Record<string, any>;
2601
2601
  }, {
2602
- id: string;
2603
2602
  name: string;
2603
+ id: string;
2604
2604
  input: Record<string, any>;
2605
2605
  }>;
2606
2606
  changes: z.ZodArray<z.ZodObject<{
@@ -2609,12 +2609,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2609
2609
  content: z.ZodString;
2610
2610
  }, "strip", z.ZodTypeAny, {
2611
2611
  type: "patch" | "file";
2612
- content: string;
2613
2612
  filePath: string;
2613
+ content: string;
2614
2614
  }, {
2615
2615
  type: "patch" | "file";
2616
- content: string;
2617
2616
  filePath: string;
2617
+ content: string;
2618
2618
  }>, "many">;
2619
2619
  changesAlreadyApplied: z.ZodArray<z.ZodObject<{
2620
2620
  type: z.ZodEnum<["patch", "file"]>;
@@ -2622,12 +2622,12 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2622
2622
  content: z.ZodString;
2623
2623
  }, "strip", z.ZodTypeAny, {
2624
2624
  type: "patch" | "file";
2625
- content: string;
2626
2625
  filePath: string;
2626
+ content: string;
2627
2627
  }, {
2628
2628
  type: "patch" | "file";
2629
- content: string;
2630
2629
  filePath: string;
2630
+ content: string;
2631
2631
  }>, "many">;
2632
2632
  addedFileVersions: z.ZodArray<z.ZodObject<{
2633
2633
  path: z.ZodString;
@@ -2645,14 +2645,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2645
2645
  userInputId: string;
2646
2646
  changesAlreadyApplied: {
2647
2647
  type: "patch" | "file";
2648
- content: string;
2649
2648
  filePath: string;
2649
+ content: string;
2650
2650
  }[];
2651
2651
  response: string;
2652
2652
  changes: {
2653
2653
  type: "patch" | "file";
2654
- content: string;
2655
2654
  filePath: string;
2655
+ content: string;
2656
2656
  }[];
2657
2657
  addedFileVersions: {
2658
2658
  path: string;
@@ -2660,8 +2660,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2660
2660
  }[];
2661
2661
  resetFileVersions: boolean;
2662
2662
  data: {
2663
- id: string;
2664
2663
  name: string;
2664
+ id: string;
2665
2665
  input: Record<string, any>;
2666
2666
  };
2667
2667
  }, {
@@ -2669,14 +2669,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2669
2669
  userInputId: string;
2670
2670
  changesAlreadyApplied: {
2671
2671
  type: "patch" | "file";
2672
- content: string;
2673
2672
  filePath: string;
2673
+ content: string;
2674
2674
  }[];
2675
2675
  response: string;
2676
2676
  changes: {
2677
2677
  type: "patch" | "file";
2678
- content: string;
2679
2678
  filePath: string;
2679
+ content: string;
2680
2680
  }[];
2681
2681
  addedFileVersions: {
2682
2682
  path: string;
@@ -2684,8 +2684,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2684
2684
  }[];
2685
2685
  resetFileVersions: boolean;
2686
2686
  data: {
2687
- id: string;
2688
2687
  name: string;
2688
+ id: string;
2689
2689
  input: Record<string, any>;
2690
2690
  };
2691
2691
  }>, z.ZodObject<{
@@ -2748,15 +2748,15 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2748
2748
  fingerprintId: z.ZodString;
2749
2749
  fingerprintHash: z.ZodString;
2750
2750
  }, "strip", z.ZodTypeAny, {
2751
- id: string;
2752
2751
  name: string | null;
2752
+ id: string;
2753
2753
  fingerprintId: string;
2754
2754
  authToken: string;
2755
2755
  email: string;
2756
2756
  fingerprintHash: string;
2757
2757
  }, {
2758
- id: string;
2759
2758
  name: string | null;
2759
+ id: string;
2760
2760
  fingerprintId: string;
2761
2761
  authToken: string;
2762
2762
  email: string;
@@ -2767,8 +2767,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2767
2767
  type: "auth-result";
2768
2768
  message: string;
2769
2769
  user?: {
2770
- id: string;
2771
2770
  name: string | null;
2771
+ id: string;
2772
2772
  fingerprintId: string;
2773
2773
  authToken: string;
2774
2774
  email: string;
@@ -2778,8 +2778,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2778
2778
  type: "auth-result";
2779
2779
  message: string;
2780
2780
  user?: {
2781
- id: string;
2782
2781
  name: string | null;
2782
+ id: string;
2783
2783
  fingerprintId: string;
2784
2784
  authToken: string;
2785
2785
  email: string;
@@ -2866,14 +2866,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2866
2866
  userInputId: string;
2867
2867
  changesAlreadyApplied: {
2868
2868
  type: "patch" | "file";
2869
- content: string;
2870
2869
  filePath: string;
2870
+ content: string;
2871
2871
  }[];
2872
2872
  response: string;
2873
2873
  changes: {
2874
2874
  type: "patch" | "file";
2875
- content: string;
2876
2875
  filePath: string;
2876
+ content: string;
2877
2877
  }[];
2878
2878
  addedFileVersions: {
2879
2879
  path: string;
@@ -2898,14 +2898,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2898
2898
  userInputId: string;
2899
2899
  changesAlreadyApplied: {
2900
2900
  type: "patch" | "file";
2901
- content: string;
2902
2901
  filePath: string;
2902
+ content: string;
2903
2903
  }[];
2904
2904
  response: string;
2905
2905
  changes: {
2906
2906
  type: "patch" | "file";
2907
- content: string;
2908
2907
  filePath: string;
2908
+ content: string;
2909
2909
  }[];
2910
2910
  addedFileVersions: {
2911
2911
  path: string;
@@ -2913,8 +2913,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2913
2913
  }[];
2914
2914
  resetFileVersions: boolean;
2915
2915
  data: {
2916
- id: string;
2917
2916
  name: string;
2917
+ id: string;
2918
2918
  input: Record<string, any>;
2919
2919
  };
2920
2920
  } | {
@@ -2929,8 +2929,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2929
2929
  type: "auth-result";
2930
2930
  message: string;
2931
2931
  user?: {
2932
- id: string;
2933
2932
  name: string | null;
2933
+ id: string;
2934
2934
  fingerprintId: string;
2935
2935
  authToken: string;
2936
2936
  email: string;
@@ -2971,14 +2971,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
2971
2971
  userInputId: string;
2972
2972
  changesAlreadyApplied: {
2973
2973
  type: "patch" | "file";
2974
- content: string;
2975
2974
  filePath: string;
2975
+ content: string;
2976
2976
  }[];
2977
2977
  response: string;
2978
2978
  changes: {
2979
2979
  type: "patch" | "file";
2980
- content: string;
2981
2980
  filePath: string;
2981
+ content: string;
2982
2982
  }[];
2983
2983
  addedFileVersions: {
2984
2984
  path: string;
@@ -3003,14 +3003,14 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
3003
3003
  userInputId: string;
3004
3004
  changesAlreadyApplied: {
3005
3005
  type: "patch" | "file";
3006
- content: string;
3007
3006
  filePath: string;
3007
+ content: string;
3008
3008
  }[];
3009
3009
  response: string;
3010
3010
  changes: {
3011
3011
  type: "patch" | "file";
3012
- content: string;
3013
3012
  filePath: string;
3013
+ content: string;
3014
3014
  }[];
3015
3015
  addedFileVersions: {
3016
3016
  path: string;
@@ -3018,8 +3018,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
3018
3018
  }[];
3019
3019
  resetFileVersions: boolean;
3020
3020
  data: {
3021
- id: string;
3022
3021
  name: string;
3022
+ id: string;
3023
3023
  input: Record<string, any>;
3024
3024
  };
3025
3025
  } | {
@@ -3034,8 +3034,8 @@ export declare const SERVER_MESSAGE_SCHEMA: z.ZodUnion<[z.ZodObject<{
3034
3034
  type: "auth-result";
3035
3035
  message: string;
3036
3036
  user?: {
3037
- id: string;
3038
3037
  name: string | null;
3038
+ id: string;
3039
3039
  fingerprintId: string;
3040
3040
  authToken: string;
3041
3041
  email: string;