codebuff 1.0.174 → 1.0.175

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.
@@ -35,16 +35,16 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
35
35
  }>>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  type: "tool_use";
38
- id: string;
39
38
  name: string;
39
+ id: string;
40
40
  input: Record<string, any>;
41
41
  cache_control?: {
42
42
  type: "ephemeral";
43
43
  } | undefined;
44
44
  }, {
45
45
  type: "tool_use";
46
- id: string;
47
46
  name: string;
47
+ id: string;
48
48
  input: Record<string, any>;
49
49
  cache_control?: {
50
50
  type: "ephemeral";
@@ -82,12 +82,12 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
82
82
  data: z.ZodString;
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  type: "base64";
85
- media_type: "image/jpeg";
86
85
  data: string;
86
+ media_type: "image/jpeg";
87
87
  }, {
88
88
  type: "base64";
89
- media_type: "image/jpeg";
90
89
  data: string;
90
+ media_type: "image/jpeg";
91
91
  }>;
92
92
  cache_control: z.ZodOptional<z.ZodObject<{
93
93
  type: z.ZodLiteral<"ephemeral">;
@@ -100,8 +100,8 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
100
100
  type: "image";
101
101
  source: {
102
102
  type: "base64";
103
- media_type: "image/jpeg";
104
103
  data: string;
104
+ media_type: "image/jpeg";
105
105
  };
106
106
  cache_control?: {
107
107
  type: "ephemeral";
@@ -110,8 +110,8 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
110
110
  type: "image";
111
111
  source: {
112
112
  type: "base64";
113
- media_type: "image/jpeg";
114
113
  data: string;
114
+ media_type: "image/jpeg";
115
115
  };
116
116
  cache_control?: {
117
117
  type: "ephemeral";
@@ -155,16 +155,16 @@ export declare const MessageSchema: z.ZodObject<{
155
155
  }>>;
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  type: "tool_use";
158
- id: string;
159
158
  name: string;
159
+ id: string;
160
160
  input: Record<string, any>;
161
161
  cache_control?: {
162
162
  type: "ephemeral";
163
163
  } | undefined;
164
164
  }, {
165
165
  type: "tool_use";
166
- id: string;
167
166
  name: string;
167
+ id: string;
168
168
  input: Record<string, any>;
169
169
  cache_control?: {
170
170
  type: "ephemeral";
@@ -202,12 +202,12 @@ export declare const MessageSchema: z.ZodObject<{
202
202
  data: z.ZodString;
203
203
  }, "strip", z.ZodTypeAny, {
204
204
  type: "base64";
205
- media_type: "image/jpeg";
206
205
  data: string;
206
+ media_type: "image/jpeg";
207
207
  }, {
208
208
  type: "base64";
209
- media_type: "image/jpeg";
210
209
  data: string;
210
+ media_type: "image/jpeg";
211
211
  }>;
212
212
  cache_control: z.ZodOptional<z.ZodObject<{
213
213
  type: z.ZodLiteral<"ephemeral">;
@@ -220,8 +220,8 @@ export declare const MessageSchema: z.ZodObject<{
220
220
  type: "image";
221
221
  source: {
222
222
  type: "base64";
223
- media_type: "image/jpeg";
224
223
  data: string;
224
+ media_type: "image/jpeg";
225
225
  };
226
226
  cache_control?: {
227
227
  type: "ephemeral";
@@ -230,15 +230,14 @@ export declare const MessageSchema: z.ZodObject<{
230
230
  type: "image";
231
231
  source: {
232
232
  type: "base64";
233
- media_type: "image/jpeg";
234
233
  data: string;
234
+ media_type: "image/jpeg";
235
235
  };
236
236
  cache_control?: {
237
237
  type: "ephemeral";
238
238
  } | undefined;
239
239
  }>]>, "many">]>;
240
240
  }, "strip", z.ZodTypeAny, {
241
- role: "user" | "assistant";
242
241
  content: string | ({
243
242
  type: "text";
244
243
  text: string;
@@ -247,8 +246,8 @@ export declare const MessageSchema: z.ZodObject<{
247
246
  } | undefined;
248
247
  } | {
249
248
  type: "tool_use";
250
- id: string;
251
249
  name: string;
250
+ id: string;
252
251
  input: Record<string, any>;
253
252
  cache_control?: {
254
253
  type: "ephemeral";
@@ -264,15 +263,15 @@ export declare const MessageSchema: z.ZodObject<{
264
263
  type: "image";
265
264
  source: {
266
265
  type: "base64";
267
- media_type: "image/jpeg";
268
266
  data: string;
267
+ media_type: "image/jpeg";
269
268
  };
270
269
  cache_control?: {
271
270
  type: "ephemeral";
272
271
  } | undefined;
273
272
  })[];
274
- }, {
275
273
  role: "user" | "assistant";
274
+ }, {
276
275
  content: string | ({
277
276
  type: "text";
278
277
  text: string;
@@ -281,8 +280,8 @@ export declare const MessageSchema: z.ZodObject<{
281
280
  } | undefined;
282
281
  } | {
283
282
  type: "tool_use";
284
- id: string;
285
283
  name: string;
284
+ id: string;
286
285
  input: Record<string, any>;
287
286
  cache_control?: {
288
287
  type: "ephemeral";
@@ -298,13 +297,14 @@ export declare const MessageSchema: z.ZodObject<{
298
297
  type: "image";
299
298
  source: {
300
299
  type: "base64";
301
- media_type: "image/jpeg";
302
300
  data: string;
301
+ media_type: "image/jpeg";
303
302
  };
304
303
  cache_control?: {
305
304
  type: "ephemeral";
306
305
  } | undefined;
307
306
  })[];
307
+ role: "user" | "assistant";
308
308
  }>;
309
309
  export type Message = z.infer<typeof MessageSchema>;
310
310
  export type MessageContentObject = z.infer<typeof MessageContentObjectSchema>;
@@ -38,13 +38,13 @@ export declare const ProjectFileContextSchema: z.ZodObject<{
38
38
  diffCached: z.ZodString;
39
39
  lastCommitMessages: z.ZodString;
40
40
  }, "strip", z.ZodTypeAny, {
41
- status: string;
42
41
  diff: string;
42
+ status: string;
43
43
  diffCached: string;
44
44
  lastCommitMessages: string;
45
45
  }, {
46
- status: string;
47
46
  diff: string;
47
+ status: string;
48
48
  diffCached: string;
49
49
  lastCommitMessages: string;
50
50
  }>;
@@ -88,8 +88,8 @@ export declare const ProjectFileContextSchema: z.ZodObject<{
88
88
  fileTokenScores: Record<string, Record<string, number>>;
89
89
  knowledgeFiles: Record<string, string>;
90
90
  gitChanges: {
91
- status: string;
92
91
  diff: string;
92
+ status: string;
93
93
  diffCached: string;
94
94
  lastCommitMessages: string;
95
95
  };
@@ -114,8 +114,8 @@ export declare const ProjectFileContextSchema: z.ZodObject<{
114
114
  fileTokenScores: Record<string, Record<string, number>>;
115
115
  knowledgeFiles: Record<string, string>;
116
116
  gitChanges: {
117
- status: string;
118
117
  diff: string;
118
+ status: string;
119
119
  diffCached: string;
120
120
  lastCommitMessages: string;
121
121
  };