@kilocode/sdk 7.3.40 → 7.3.42

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.
@@ -615,11 +615,11 @@ export type Project = {
615
615
  };
616
616
  };
617
617
  export type BadRequestError = {
618
- data: unknown;
619
- errors: Array<{
620
- [key: string]: unknown;
621
- }>;
622
- success: false;
618
+ name: "BadRequest";
619
+ data: {
620
+ message: string;
621
+ kind?: "Params" | "Headers" | "Query" | "Body" | "Payload";
622
+ };
623
623
  };
624
624
  export type NotFoundError = {
625
625
  name: "NotFoundError";
@@ -941,6 +941,15 @@ export type McpRemoteConfig = {
941
941
  * @deprecated Always uses stretch layout.
942
942
  */
943
943
  export type LayoutConfig = "auto" | "stretch";
944
+ export type ImageAttachmentConfig = {
945
+ auto_resize?: boolean;
946
+ max_width?: number;
947
+ max_height?: number;
948
+ max_base64_bytes?: number;
949
+ };
950
+ export type AttachmentConfig = {
951
+ image?: ImageAttachmentConfig;
952
+ };
944
953
  export type Config = {
945
954
  $schema?: string;
946
955
  shell?: string;
@@ -1052,6 +1061,7 @@ export type Config = {
1052
1061
  tools?: {
1053
1062
  [key: string]: boolean;
1054
1063
  };
1064
+ attachment?: AttachmentConfig;
1055
1065
  enterprise?: {
1056
1066
  url?: string;
1057
1067
  };
@@ -1154,6 +1164,10 @@ export type Model = {
1154
1164
  recommendedIndex?: number;
1155
1165
  prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo" | "ling" | "gpt55";
1156
1166
  isFree?: boolean;
1167
+ terminalBench?: {
1168
+ overallScore: number;
1169
+ avgAttemptCostUsd: number;
1170
+ };
1157
1171
  ai_sdk_provider?: "alibaba" | "anthropic" | "mistral" | "openai" | "openai-compatible" | "openrouter";
1158
1172
  };
1159
1173
  export type Provider = {
@@ -3174,11 +3188,11 @@ export type EventTuiToastShow1 = {
3174
3188
  };
3175
3189
  };
3176
3190
  export type BadRequestError = {
3177
- data: unknown;
3178
- errors: Array<{
3179
- [key: string]: unknown;
3180
- }>;
3181
- success: false;
3191
+ name: "BadRequest";
3192
+ data: {
3193
+ message: string;
3194
+ kind?: "Params" | "Headers" | "Query" | "Body" | "Payload";
3195
+ };
3182
3196
  };
3183
3197
  export type AuthRemoveData = {
3184
3198
  body?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kilocode/sdk",
4
- "version": "7.3.40",
4
+ "version": "7.3.42",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {