codebuff 1.0.164 → 1.0.166

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.
Files changed (63) hide show
  1. package/dist/browser-runner.js +17 -7
  2. package/dist/browser-runner.js.map +1 -1
  3. package/dist/chat-storage.js +17 -7
  4. package/dist/chat-storage.js.map +1 -1
  5. package/dist/cli.js +18 -8
  6. package/dist/cli.js.map +1 -1
  7. package/dist/client.d.ts +4 -4
  8. package/dist/client.js +28 -10
  9. package/dist/client.js.map +1 -1
  10. package/dist/code-map/languages.js +17 -7
  11. package/dist/code-map/languages.js.map +1 -1
  12. package/dist/code-map/parse.js +17 -7
  13. package/dist/code-map/parse.js.map +1 -1
  14. package/dist/code-map/tsconfig.tsbuildinfo +1 -1
  15. package/dist/common/actions.d.ts +84 -87
  16. package/dist/common/actions.js +2 -4
  17. package/dist/common/actions.js.map +1 -1
  18. package/dist/common/browser-actions.d.ts +62 -62
  19. package/dist/common/constants.d.ts +3 -3
  20. package/dist/common/constants.js +1 -1
  21. package/dist/common/logger.d.ts +1 -0
  22. package/dist/common/logger.js +7 -0
  23. package/dist/common/logger.js.map +1 -0
  24. package/dist/common/types/agent-state.d.ts +461 -0
  25. package/dist/common/types/agent-state.js +30 -0
  26. package/dist/common/types/agent-state.js.map +1 -0
  27. package/dist/common/types/message.d.ts +311 -0
  28. package/dist/common/types/message.js +54 -0
  29. package/dist/common/types/message.js.map +1 -0
  30. package/dist/common/types/tools.d.ts +5 -0
  31. package/dist/common/types/tools.js +3 -0
  32. package/dist/common/types/tools.js.map +1 -0
  33. package/dist/common/util/constants.d.ts +1 -0
  34. package/dist/common/util/constants.js +7 -0
  35. package/dist/common/util/constants.js.map +1 -0
  36. package/dist/common/util/credentials.d.ts +2 -2
  37. package/dist/common/util/helpers.d.ts +1 -0
  38. package/dist/common/util/helpers.js +6 -0
  39. package/dist/common/util/helpers.js.map +1 -0
  40. package/dist/common/util/token-counter.d.ts +3 -0
  41. package/dist/common/util/token-counter.js +27 -0
  42. package/dist/common/util/token-counter.js.map +1 -0
  43. package/dist/common/websockets/websocket-schema.d.ts +164 -174
  44. package/dist/create-template-project.js +17 -7
  45. package/dist/create-template-project.js.map +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/menu.js +17 -7
  48. package/dist/menu.js.map +1 -1
  49. package/dist/project-files.js +17 -7
  50. package/dist/project-files.js.map +1 -1
  51. package/dist/tool-handlers.js +17 -7
  52. package/dist/tool-handlers.js.map +1 -1
  53. package/dist/utils/spinner.js +17 -7
  54. package/dist/utils/spinner.js.map +1 -1
  55. package/dist/utils/terminal.js +17 -7
  56. package/dist/utils/terminal.js.map +1 -1
  57. package/package.json +1 -1
  58. package/dist/common/advanced-analyzer.d.ts +0 -19
  59. package/dist/common/advanced-analyzer.js +0 -140
  60. package/dist/common/advanced-analyzer.js.map +0 -1
  61. package/dist/common/message-image-handling.d.ts +0 -41
  62. package/dist/common/message-image-handling.js +0 -57
  63. package/dist/common/message-image-handling.js.map +0 -1
@@ -0,0 +1,311 @@
1
+ import { z } from 'zod';
2
+ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
3
+ type: z.ZodLiteral<"text">;
4
+ text: z.ZodString;
5
+ cache_control: z.ZodOptional<z.ZodObject<{
6
+ type: z.ZodLiteral<"ephemeral">;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: "ephemeral";
9
+ }, {
10
+ type: "ephemeral";
11
+ }>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ type: "text";
14
+ text: string;
15
+ cache_control?: {
16
+ type: "ephemeral";
17
+ } | undefined;
18
+ }, {
19
+ type: "text";
20
+ text: string;
21
+ cache_control?: {
22
+ type: "ephemeral";
23
+ } | undefined;
24
+ }>, z.ZodObject<{
25
+ type: z.ZodLiteral<"tool_use">;
26
+ id: z.ZodString;
27
+ name: z.ZodString;
28
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
29
+ cache_control: z.ZodOptional<z.ZodObject<{
30
+ type: z.ZodLiteral<"ephemeral">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ type: "ephemeral";
33
+ }, {
34
+ type: "ephemeral";
35
+ }>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ type: "tool_use";
38
+ name: string;
39
+ id: string;
40
+ input: Record<string, any>;
41
+ cache_control?: {
42
+ type: "ephemeral";
43
+ } | undefined;
44
+ }, {
45
+ type: "tool_use";
46
+ name: string;
47
+ id: string;
48
+ input: Record<string, any>;
49
+ cache_control?: {
50
+ type: "ephemeral";
51
+ } | undefined;
52
+ }>, z.ZodObject<{
53
+ type: z.ZodLiteral<"tool_result">;
54
+ tool_use_id: z.ZodString;
55
+ content: z.ZodString;
56
+ cache_control: z.ZodOptional<z.ZodObject<{
57
+ type: z.ZodLiteral<"ephemeral">;
58
+ }, "strip", z.ZodTypeAny, {
59
+ type: "ephemeral";
60
+ }, {
61
+ type: "ephemeral";
62
+ }>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ content: string;
65
+ type: "tool_result";
66
+ tool_use_id: string;
67
+ cache_control?: {
68
+ type: "ephemeral";
69
+ } | undefined;
70
+ }, {
71
+ content: string;
72
+ type: "tool_result";
73
+ tool_use_id: string;
74
+ cache_control?: {
75
+ type: "ephemeral";
76
+ } | undefined;
77
+ }>, z.ZodObject<{
78
+ type: z.ZodLiteral<"image">;
79
+ source: z.ZodObject<{
80
+ type: z.ZodLiteral<"base64">;
81
+ media_type: z.ZodLiteral<"image/jpeg">;
82
+ data: z.ZodString;
83
+ }, "strip", z.ZodTypeAny, {
84
+ type: "base64";
85
+ media_type: "image/jpeg";
86
+ data: string;
87
+ }, {
88
+ type: "base64";
89
+ media_type: "image/jpeg";
90
+ data: string;
91
+ }>;
92
+ cache_control: z.ZodOptional<z.ZodObject<{
93
+ type: z.ZodLiteral<"ephemeral">;
94
+ }, "strip", z.ZodTypeAny, {
95
+ type: "ephemeral";
96
+ }, {
97
+ type: "ephemeral";
98
+ }>>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: "image";
101
+ source: {
102
+ type: "base64";
103
+ media_type: "image/jpeg";
104
+ data: string;
105
+ };
106
+ cache_control?: {
107
+ type: "ephemeral";
108
+ } | undefined;
109
+ }, {
110
+ type: "image";
111
+ source: {
112
+ type: "base64";
113
+ media_type: "image/jpeg";
114
+ data: string;
115
+ };
116
+ cache_control?: {
117
+ type: "ephemeral";
118
+ } | undefined;
119
+ }>]>;
120
+ export declare const MessageSchema: z.ZodObject<{
121
+ role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
122
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
123
+ type: z.ZodLiteral<"text">;
124
+ text: z.ZodString;
125
+ cache_control: z.ZodOptional<z.ZodObject<{
126
+ type: z.ZodLiteral<"ephemeral">;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: "ephemeral";
129
+ }, {
130
+ type: "ephemeral";
131
+ }>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ type: "text";
134
+ text: string;
135
+ cache_control?: {
136
+ type: "ephemeral";
137
+ } | undefined;
138
+ }, {
139
+ type: "text";
140
+ text: string;
141
+ cache_control?: {
142
+ type: "ephemeral";
143
+ } | undefined;
144
+ }>, z.ZodObject<{
145
+ type: z.ZodLiteral<"tool_use">;
146
+ id: z.ZodString;
147
+ name: z.ZodString;
148
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
149
+ cache_control: z.ZodOptional<z.ZodObject<{
150
+ type: z.ZodLiteral<"ephemeral">;
151
+ }, "strip", z.ZodTypeAny, {
152
+ type: "ephemeral";
153
+ }, {
154
+ type: "ephemeral";
155
+ }>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ type: "tool_use";
158
+ name: string;
159
+ id: string;
160
+ input: Record<string, any>;
161
+ cache_control?: {
162
+ type: "ephemeral";
163
+ } | undefined;
164
+ }, {
165
+ type: "tool_use";
166
+ name: string;
167
+ id: string;
168
+ input: Record<string, any>;
169
+ cache_control?: {
170
+ type: "ephemeral";
171
+ } | undefined;
172
+ }>, z.ZodObject<{
173
+ type: z.ZodLiteral<"tool_result">;
174
+ tool_use_id: z.ZodString;
175
+ content: z.ZodString;
176
+ cache_control: z.ZodOptional<z.ZodObject<{
177
+ type: z.ZodLiteral<"ephemeral">;
178
+ }, "strip", z.ZodTypeAny, {
179
+ type: "ephemeral";
180
+ }, {
181
+ type: "ephemeral";
182
+ }>>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ content: string;
185
+ type: "tool_result";
186
+ tool_use_id: string;
187
+ cache_control?: {
188
+ type: "ephemeral";
189
+ } | undefined;
190
+ }, {
191
+ content: string;
192
+ type: "tool_result";
193
+ tool_use_id: string;
194
+ cache_control?: {
195
+ type: "ephemeral";
196
+ } | undefined;
197
+ }>, z.ZodObject<{
198
+ type: z.ZodLiteral<"image">;
199
+ source: z.ZodObject<{
200
+ type: z.ZodLiteral<"base64">;
201
+ media_type: z.ZodLiteral<"image/jpeg">;
202
+ data: z.ZodString;
203
+ }, "strip", z.ZodTypeAny, {
204
+ type: "base64";
205
+ media_type: "image/jpeg";
206
+ data: string;
207
+ }, {
208
+ type: "base64";
209
+ media_type: "image/jpeg";
210
+ data: string;
211
+ }>;
212
+ cache_control: z.ZodOptional<z.ZodObject<{
213
+ type: z.ZodLiteral<"ephemeral">;
214
+ }, "strip", z.ZodTypeAny, {
215
+ type: "ephemeral";
216
+ }, {
217
+ type: "ephemeral";
218
+ }>>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ type: "image";
221
+ source: {
222
+ type: "base64";
223
+ media_type: "image/jpeg";
224
+ data: string;
225
+ };
226
+ cache_control?: {
227
+ type: "ephemeral";
228
+ } | undefined;
229
+ }, {
230
+ type: "image";
231
+ source: {
232
+ type: "base64";
233
+ media_type: "image/jpeg";
234
+ data: string;
235
+ };
236
+ cache_control?: {
237
+ type: "ephemeral";
238
+ } | undefined;
239
+ }>]>, "many">]>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ content: string | ({
242
+ type: "text";
243
+ text: string;
244
+ cache_control?: {
245
+ type: "ephemeral";
246
+ } | undefined;
247
+ } | {
248
+ type: "tool_use";
249
+ name: string;
250
+ id: string;
251
+ input: Record<string, any>;
252
+ cache_control?: {
253
+ type: "ephemeral";
254
+ } | undefined;
255
+ } | {
256
+ content: string;
257
+ type: "tool_result";
258
+ tool_use_id: string;
259
+ cache_control?: {
260
+ type: "ephemeral";
261
+ } | undefined;
262
+ } | {
263
+ type: "image";
264
+ source: {
265
+ type: "base64";
266
+ media_type: "image/jpeg";
267
+ data: string;
268
+ };
269
+ cache_control?: {
270
+ type: "ephemeral";
271
+ } | undefined;
272
+ })[];
273
+ role: "user" | "assistant";
274
+ }, {
275
+ content: string | ({
276
+ type: "text";
277
+ text: string;
278
+ cache_control?: {
279
+ type: "ephemeral";
280
+ } | undefined;
281
+ } | {
282
+ type: "tool_use";
283
+ name: string;
284
+ id: string;
285
+ input: Record<string, any>;
286
+ cache_control?: {
287
+ type: "ephemeral";
288
+ } | undefined;
289
+ } | {
290
+ content: string;
291
+ type: "tool_result";
292
+ tool_use_id: string;
293
+ cache_control?: {
294
+ type: "ephemeral";
295
+ } | undefined;
296
+ } | {
297
+ type: "image";
298
+ source: {
299
+ type: "base64";
300
+ media_type: "image/jpeg";
301
+ data: string;
302
+ };
303
+ cache_control?: {
304
+ type: "ephemeral";
305
+ } | undefined;
306
+ })[];
307
+ role: "user" | "assistant";
308
+ }>;
309
+ export type Message = z.infer<typeof MessageSchema>;
310
+ export type MessageContentObject = z.infer<typeof MessageContentObjectSchema>;
311
+ export {};
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const MessageContentObjectSchema = zod_1.z.union([
6
+ zod_1.z.object({
7
+ type: zod_1.z.literal('text'),
8
+ text: zod_1.z.string(),
9
+ cache_control: zod_1.z
10
+ .object({
11
+ type: zod_1.z.literal('ephemeral'),
12
+ })
13
+ .optional(),
14
+ }),
15
+ zod_1.z.object({
16
+ type: zod_1.z.literal('tool_use'),
17
+ id: zod_1.z.string(),
18
+ name: zod_1.z.string(),
19
+ input: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
20
+ cache_control: zod_1.z
21
+ .object({
22
+ type: zod_1.z.literal('ephemeral'),
23
+ })
24
+ .optional(),
25
+ }),
26
+ zod_1.z.object({
27
+ type: zod_1.z.literal('tool_result'),
28
+ tool_use_id: zod_1.z.string(),
29
+ content: zod_1.z.string(),
30
+ cache_control: zod_1.z
31
+ .object({
32
+ type: zod_1.z.literal('ephemeral'),
33
+ })
34
+ .optional(),
35
+ }),
36
+ zod_1.z.object({
37
+ type: zod_1.z.literal('image'),
38
+ source: zod_1.z.object({
39
+ type: zod_1.z.literal('base64'),
40
+ media_type: zod_1.z.literal('image/jpeg'),
41
+ data: zod_1.z.string(),
42
+ }),
43
+ cache_control: zod_1.z
44
+ .object({
45
+ type: zod_1.z.literal('ephemeral'),
46
+ })
47
+ .optional(),
48
+ }),
49
+ ]);
50
+ exports.MessageSchema = zod_1.z.object({
51
+ role: zod_1.z.union([zod_1.z.literal('user'), zod_1.z.literal('assistant')]),
52
+ content: zod_1.z.union([zod_1.z.string(), zod_1.z.array(MessageContentObjectSchema)]),
53
+ });
54
+ //# sourceMappingURL=message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.js","sourceRoot":"","sources":["../../src/types/message.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,MAAM,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC;IACzC,OAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,aAAa,EAAE,OAAC;aACb,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;SAC7B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;IACF,OAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;QAC3B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC;QACpC,aAAa,EAAE,OAAC;aACb,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;SAC7B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;IACF,OAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;QACnB,aAAa,EAAE,OAAC;aACb,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;SAC7B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;IACF,OAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;QACxB,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;YACzB,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,YAAY,CAAC;YACnC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;SACjB,CAAC;QACF,aAAa,EAAE,OAAC;aACb,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;SAC7B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA;AAEW,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1D,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,CAAC;CACpE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ export type RawToolCall = {
2
+ name: string;
3
+ id: string;
4
+ parameters: Record<string, any>;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/types/tools.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare function getModelForMode(mode: string): string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getModelForMode = getModelForMode;
4
+ function getModelForMode(mode) {
5
+ return 'claude-3-sonnet';
6
+ }
7
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/util/constants.ts"],"names":[],"mappings":";;AAAA,0CAEC;AAFD,SAAgB,eAAe,CAAC,IAAY;IAC1C,OAAO,iBAAiB,CAAA;AAC1B,CAAC"}
@@ -10,15 +10,15 @@ export declare const userSchema: z.ZodObject<{
10
10
  email: string;
11
11
  name: string | null;
12
12
  id: string;
13
- authToken: string;
14
13
  fingerprintId: string;
14
+ authToken: string;
15
15
  fingerprintHash: string;
16
16
  }, {
17
17
  email: string;
18
18
  name: string | null;
19
19
  id: string;
20
- authToken: string;
21
20
  fingerprintId: string;
21
+ authToken: string;
22
22
  fingerprintHash: string;
23
23
  }>;
24
24
  export type User = z.infer<typeof userSchema>;
@@ -0,0 +1 @@
1
+ export declare const sleep: (ms: number) => Promise<unknown>;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sleep = void 0;
4
+ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
5
+ exports.sleep = sleep;
6
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/util/helpers.ts"],"names":[],"mappings":";;;AAAO,MAAM,KAAK,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAA7D,QAAA,KAAK,SAAwD"}
@@ -0,0 +1,3 @@
1
+ export declare function countTokens(text: string): number;
2
+ export declare function countTokensJson(text: string | object): number;
3
+ export declare function countTokensForFiles(files: Record<string, string | null>): Record<string, number>;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.countTokens = countTokens;
4
+ exports.countTokensJson = countTokensJson;
5
+ exports.countTokensForFiles = countTokensForFiles;
6
+ const gpt_4o_1 = require("gpt-tokenizer/esm/model/gpt-4o");
7
+ const ANTHROPIC_TOKEN_FUDGE_FACTOR = 1.35;
8
+ function countTokens(text) {
9
+ try {
10
+ return Math.floor((0, gpt_4o_1.encode)(text).length * ANTHROPIC_TOKEN_FUDGE_FACTOR);
11
+ }
12
+ catch (e) {
13
+ console.error('Error counting tokens', e);
14
+ return Math.ceil(text.length / 3);
15
+ }
16
+ }
17
+ function countTokensJson(text) {
18
+ return countTokens(JSON.stringify(text));
19
+ }
20
+ function countTokensForFiles(files) {
21
+ const tokenCounts = {};
22
+ for (const [filePath, content] of Object.entries(files)) {
23
+ tokenCounts[filePath] = content ? countTokens(content) : 0;
24
+ }
25
+ return tokenCounts;
26
+ }
27
+ //# sourceMappingURL=token-counter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token-counter.js","sourceRoot":"","sources":["../../src/util/token-counter.ts"],"names":[],"mappings":";;AAIA,kCAOC;AAED,0CAEC;AAED,kDAQC;AAzBD,2DAAuD;AAEvD,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAEzC,SAAgB,WAAW,CAAC,IAAY;IACtC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAA,eAAM,EAAC,IAAI,CAAC,CAAC,MAAM,GAAG,4BAA4B,CAAC,CAAA;IACvE,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAA;QACzC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACnC,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,IAAqB;IACnD,OAAO,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,mBAAmB,CACjC,KAAoC;IAEpC,MAAM,WAAW,GAA2B,EAAE,CAAA;IAC9C,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5D,CAAC;IACD,OAAO,WAAW,CAAA;AACpB,CAAC"}