@roo-code/types 1.27.0 → 1.28.0

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.
package/dist/index.d.ts CHANGED
@@ -658,6 +658,67 @@ declare const chutesModels: {
658
658
  };
659
659
  };
660
660
 
661
+ type ClaudeCodeModelId = keyof typeof claudeCodeModels;
662
+ declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
663
+ declare const claudeCodeModels: {
664
+ readonly "claude-sonnet-4-20250514": {
665
+ readonly maxTokens: 64000;
666
+ readonly contextWindow: 200000;
667
+ readonly supportsImages: true;
668
+ readonly supportsComputerUse: true;
669
+ readonly supportsPromptCache: true;
670
+ readonly inputPrice: 3;
671
+ readonly outputPrice: 15;
672
+ readonly cacheWritesPrice: 3.75;
673
+ readonly cacheReadsPrice: 0.3;
674
+ readonly supportsReasoningBudget: true;
675
+ };
676
+ readonly "claude-opus-4-20250514": {
677
+ readonly maxTokens: 32000;
678
+ readonly contextWindow: 200000;
679
+ readonly supportsImages: true;
680
+ readonly supportsComputerUse: true;
681
+ readonly supportsPromptCache: true;
682
+ readonly inputPrice: 15;
683
+ readonly outputPrice: 75;
684
+ readonly cacheWritesPrice: 18.75;
685
+ readonly cacheReadsPrice: 1.5;
686
+ readonly supportsReasoningBudget: true;
687
+ };
688
+ readonly "claude-3-7-sonnet-20250219": {
689
+ readonly maxTokens: 8192;
690
+ readonly contextWindow: 200000;
691
+ readonly supportsImages: true;
692
+ readonly supportsComputerUse: true;
693
+ readonly supportsPromptCache: true;
694
+ readonly inputPrice: 3;
695
+ readonly outputPrice: 15;
696
+ readonly cacheWritesPrice: 3.75;
697
+ readonly cacheReadsPrice: 0.3;
698
+ };
699
+ readonly "claude-3-5-sonnet-20241022": {
700
+ readonly maxTokens: 8192;
701
+ readonly contextWindow: 200000;
702
+ readonly supportsImages: true;
703
+ readonly supportsComputerUse: true;
704
+ readonly supportsPromptCache: true;
705
+ readonly inputPrice: 3;
706
+ readonly outputPrice: 15;
707
+ readonly cacheWritesPrice: 3.75;
708
+ readonly cacheReadsPrice: 0.3;
709
+ };
710
+ readonly "claude-3-5-haiku-20241022": {
711
+ readonly maxTokens: 8192;
712
+ readonly contextWindow: 200000;
713
+ readonly supportsImages: false;
714
+ readonly supportsPromptCache: true;
715
+ readonly inputPrice: 1;
716
+ readonly outputPrice: 5;
717
+ readonly cacheWritesPrice: 1.25;
718
+ readonly cacheReadsPrice: 0.1;
719
+ };
720
+ };
721
+
661
722
  type DeepSeekModelId = keyof typeof deepSeekModels;
662
723
  declare const deepSeekDefaultModelId: DeepSeekModelId;
663
724
  declare const deepSeekModels: {
@@ -731,6 +792,18 @@ declare const geminiModels: {
731
792
  readonly cacheReadsPrice: 0.0375;
732
793
  readonly cacheWritesPrice: 1;
733
794
  };
795
+ readonly "gemini-2.5-flash": {
796
+ readonly maxTokens: 64000;
797
+ readonly contextWindow: 1048576;
798
+ readonly supportsImages: true;
799
+ readonly supportsPromptCache: true;
800
+ readonly inputPrice: 0.3;
801
+ readonly outputPrice: 2.5;
802
+ readonly cacheReadsPrice: 0.075;
803
+ readonly cacheWritesPrice: 1;
804
+ readonly maxThinkingTokens: 24576;
805
+ readonly supportsReasoningBudget: true;
806
+ };
734
807
  readonly "gemini-2.5-pro-exp-03-25": {
735
808
  readonly maxTokens: 65535;
736
809
  readonly contextWindow: 1048576;
@@ -804,6 +877,30 @@ declare const geminiModels: {
804
877
  readonly cacheReadsPrice: 0.625;
805
878
  }];
806
879
  };
880
+ readonly "gemini-2.5-pro": {
881
+ readonly maxTokens: 64000;
882
+ readonly contextWindow: 1048576;
883
+ readonly supportsImages: true;
884
+ readonly supportsPromptCache: true;
885
+ readonly inputPrice: 2.5;
886
+ readonly outputPrice: 15;
887
+ readonly cacheReadsPrice: 0.625;
888
+ readonly cacheWritesPrice: 4.5;
889
+ readonly maxThinkingTokens: 32768;
890
+ readonly supportsReasoningBudget: true;
891
+ readonly requiredReasoningBudget: true;
892
+ readonly tiers: [{
893
+ readonly contextWindow: 200000;
894
+ readonly inputPrice: 1.25;
895
+ readonly outputPrice: 10;
896
+ readonly cacheReadsPrice: 0.31;
897
+ }, {
898
+ readonly contextWindow: number;
899
+ readonly inputPrice: 2.5;
900
+ readonly outputPrice: 15;
901
+ readonly cacheReadsPrice: 0.625;
902
+ }];
903
+ };
807
904
  readonly "gemini-2.0-flash-001": {
808
905
  readonly maxTokens: 8192;
809
906
  readonly contextWindow: 1048576;
@@ -915,6 +1012,18 @@ declare const geminiModels: {
915
1012
  readonly inputPrice: 0;
916
1013
  readonly outputPrice: 0;
917
1014
  };
1015
+ readonly "gemini-2.5-flash-lite-preview-06-17": {
1016
+ readonly maxTokens: 64000;
1017
+ readonly contextWindow: 1048576;
1018
+ readonly supportsImages: true;
1019
+ readonly supportsPromptCache: true;
1020
+ readonly inputPrice: 0.1;
1021
+ readonly outputPrice: 0.4;
1022
+ readonly cacheReadsPrice: 0.025;
1023
+ readonly cacheWritesPrice: 1;
1024
+ readonly supportsReasoningBudget: true;
1025
+ readonly maxThinkingTokens: 24576;
1026
+ };
918
1027
  };
919
1028
 
920
1029
  /**
@@ -1033,7 +1142,7 @@ declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet";
1033
1142
  declare const glamaDefaultModelInfo: ModelInfo;
1034
1143
  declare const GLAMA_DEFAULT_TEMPERATURE = 0;
1035
1144
 
1036
- type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "deepseek-r1-distill-llama-70b";
1145
+ type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "qwen/qwen3-32b" | "deepseek-r1-distill-llama-70b";
1037
1146
  declare const groqDefaultModelId: GroqModelId;
1038
1147
  declare const groqModels: {
1039
1148
  readonly "llama-3.1-8b-instant": {
@@ -1041,8 +1150,8 @@ declare const groqModels: {
1041
1150
  readonly contextWindow: 131072;
1042
1151
  readonly supportsImages: false;
1043
1152
  readonly supportsPromptCache: false;
1044
- readonly inputPrice: 0;
1045
- readonly outputPrice: 0;
1153
+ readonly inputPrice: 0.05;
1154
+ readonly outputPrice: 0.08;
1046
1155
  readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
1047
1156
  };
1048
1157
  readonly "llama-3.3-70b-versatile": {
@@ -1050,8 +1159,8 @@ declare const groqModels: {
1050
1159
  readonly contextWindow: 131072;
1051
1160
  readonly supportsImages: false;
1052
1161
  readonly supportsPromptCache: false;
1053
- readonly inputPrice: 0;
1054
- readonly outputPrice: 0;
1162
+ readonly inputPrice: 0.59;
1163
+ readonly outputPrice: 0.79;
1055
1164
  readonly description: "Meta Llama 3.3 70B Versatile model, 128K context.";
1056
1165
  };
1057
1166
  readonly "meta-llama/llama-4-scout-17b-16e-instruct": {
@@ -1059,8 +1168,8 @@ declare const groqModels: {
1059
1168
  readonly contextWindow: 131072;
1060
1169
  readonly supportsImages: false;
1061
1170
  readonly supportsPromptCache: false;
1062
- readonly inputPrice: 0;
1063
- readonly outputPrice: 0;
1171
+ readonly inputPrice: 0.11;
1172
+ readonly outputPrice: 0.34;
1064
1173
  readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
1065
1174
  };
1066
1175
  readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
@@ -1068,8 +1177,8 @@ declare const groqModels: {
1068
1177
  readonly contextWindow: 131072;
1069
1178
  readonly supportsImages: false;
1070
1179
  readonly supportsPromptCache: false;
1071
- readonly inputPrice: 0;
1072
- readonly outputPrice: 0;
1180
+ readonly inputPrice: 0.2;
1181
+ readonly outputPrice: 0.6;
1073
1182
  readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
1074
1183
  };
1075
1184
  readonly "mistral-saba-24b": {
@@ -1077,8 +1186,8 @@ declare const groqModels: {
1077
1186
  readonly contextWindow: 32768;
1078
1187
  readonly supportsImages: false;
1079
1188
  readonly supportsPromptCache: false;
1080
- readonly inputPrice: 0;
1081
- readonly outputPrice: 0;
1189
+ readonly inputPrice: 0.79;
1190
+ readonly outputPrice: 0.79;
1082
1191
  readonly description: "Mistral Saba 24B model, 32K context.";
1083
1192
  };
1084
1193
  readonly "qwen-qwq-32b": {
@@ -1086,17 +1195,26 @@ declare const groqModels: {
1086
1195
  readonly contextWindow: 131072;
1087
1196
  readonly supportsImages: false;
1088
1197
  readonly supportsPromptCache: false;
1089
- readonly inputPrice: 0;
1090
- readonly outputPrice: 0;
1198
+ readonly inputPrice: 0.29;
1199
+ readonly outputPrice: 0.39;
1091
1200
  readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
1092
1201
  };
1202
+ readonly "qwen/qwen3-32b": {
1203
+ readonly maxTokens: 131072;
1204
+ readonly contextWindow: 131072;
1205
+ readonly supportsImages: false;
1206
+ readonly supportsPromptCache: false;
1207
+ readonly inputPrice: 0.29;
1208
+ readonly outputPrice: 0.59;
1209
+ readonly description: "Alibaba Qwen 3 32B model, 128K context.";
1210
+ };
1093
1211
  readonly "deepseek-r1-distill-llama-70b": {
1094
1212
  readonly maxTokens: 131072;
1095
1213
  readonly contextWindow: 131072;
1096
1214
  readonly supportsImages: false;
1097
1215
  readonly supportsPromptCache: false;
1098
- readonly inputPrice: 0;
1099
- readonly outputPrice: 0;
1216
+ readonly inputPrice: 0.75;
1217
+ readonly outputPrice: 0.99;
1100
1218
  readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
1101
1219
  };
1102
1220
  };
@@ -1106,10 +1224,28 @@ declare const litellmDefaultModelInfo: ModelInfo;
1106
1224
  declare const LITELLM_COMPUTER_USE_MODELS: Set<string>;
1107
1225
 
1108
1226
  declare const LMSTUDIO_DEFAULT_TEMPERATURE = 0;
1227
+ declare const lMStudioDefaultModelId = "mistralai/devstral-small-2505";
1228
+ declare const lMStudioDefaultModelInfo: ModelInfo;
1109
1229
 
1110
1230
  type MistralModelId = keyof typeof mistralModels;
1111
1231
  declare const mistralDefaultModelId: MistralModelId;
1112
1232
  declare const mistralModels: {
1233
+ readonly "magistral-medium-latest": {
1234
+ readonly maxTokens: 41000;
1235
+ readonly contextWindow: 41000;
1236
+ readonly supportsImages: false;
1237
+ readonly supportsPromptCache: false;
1238
+ readonly inputPrice: 2;
1239
+ readonly outputPrice: 5;
1240
+ };
1241
+ readonly "mistral-medium-latest": {
1242
+ readonly maxTokens: 131000;
1243
+ readonly contextWindow: 131000;
1244
+ readonly supportsImages: true;
1245
+ readonly supportsPromptCache: false;
1246
+ readonly inputPrice: 0.4;
1247
+ readonly outputPrice: 2;
1248
+ };
1113
1249
  readonly "codestral-latest": {
1114
1250
  readonly maxTokens: 256000;
1115
1251
  readonly contextWindow: 256000;
@@ -1161,6 +1297,9 @@ declare const mistralModels: {
1161
1297
  };
1162
1298
  declare const MISTRAL_DEFAULT_TEMPERATURE = 0;
1163
1299
 
1300
+ declare const ollamaDefaultModelId = "devstral:24b";
1301
+ declare const ollamaDefaultModelInfo: ModelInfo;
1302
+
1164
1303
  type OpenAiNativeModelId = keyof typeof openAiNativeModels;
1165
1304
  declare const openAiNativeDefaultModelId: OpenAiNativeModelId;
1166
1305
  declare const openAiNativeModels: {
@@ -1380,6 +1519,18 @@ declare const vertexModels: {
1380
1519
  readonly inputPrice: 0.15;
1381
1520
  readonly outputPrice: 0.6;
1382
1521
  };
1522
+ readonly "gemini-2.5-flash": {
1523
+ readonly maxTokens: 64000;
1524
+ readonly contextWindow: 1048576;
1525
+ readonly supportsImages: true;
1526
+ readonly supportsPromptCache: true;
1527
+ readonly inputPrice: 0.3;
1528
+ readonly outputPrice: 2.5;
1529
+ readonly cacheReadsPrice: 0.075;
1530
+ readonly cacheWritesPrice: 1;
1531
+ readonly maxThinkingTokens: 24576;
1532
+ readonly supportsReasoningBudget: true;
1533
+ };
1383
1534
  readonly "gemini-2.5-flash-preview-04-17:thinking": {
1384
1535
  readonly maxTokens: 65535;
1385
1536
  readonly contextWindow: 1048576;
@@ -1425,6 +1576,28 @@ declare const vertexModels: {
1425
1576
  readonly maxThinkingTokens: 32768;
1426
1577
  readonly supportsReasoningBudget: true;
1427
1578
  };
1579
+ readonly "gemini-2.5-pro": {
1580
+ readonly maxTokens: 64000;
1581
+ readonly contextWindow: 1048576;
1582
+ readonly supportsImages: true;
1583
+ readonly supportsPromptCache: true;
1584
+ readonly inputPrice: 2.5;
1585
+ readonly outputPrice: 15;
1586
+ readonly maxThinkingTokens: 32768;
1587
+ readonly supportsReasoningBudget: true;
1588
+ readonly requiredReasoningBudget: true;
1589
+ readonly tiers: [{
1590
+ readonly contextWindow: 200000;
1591
+ readonly inputPrice: 1.25;
1592
+ readonly outputPrice: 10;
1593
+ readonly cacheReadsPrice: 0.31;
1594
+ }, {
1595
+ readonly contextWindow: number;
1596
+ readonly inputPrice: 2.5;
1597
+ readonly outputPrice: 15;
1598
+ readonly cacheReadsPrice: 0.625;
1599
+ }];
1600
+ };
1428
1601
  readonly "gemini-2.5-pro-exp-03-25": {
1429
1602
  readonly maxTokens: 65535;
1430
1603
  readonly contextWindow: 1048576;
@@ -1579,6 +1752,18 @@ declare const vertexModels: {
1579
1752
  readonly cacheWritesPrice: 0.3;
1580
1753
  readonly cacheReadsPrice: 0.03;
1581
1754
  };
1755
+ readonly "gemini-2.5-flash-lite-preview-06-17": {
1756
+ readonly maxTokens: 64000;
1757
+ readonly contextWindow: 1048576;
1758
+ readonly supportsImages: true;
1759
+ readonly supportsPromptCache: true;
1760
+ readonly inputPrice: 0.1;
1761
+ readonly outputPrice: 0.4;
1762
+ readonly cacheReadsPrice: 0.025;
1763
+ readonly cacheWritesPrice: 1;
1764
+ readonly maxThinkingTokens: 24576;
1765
+ readonly supportsReasoningBudget: true;
1766
+ };
1582
1767
  };
1583
1768
  declare const VERTEX_REGIONS: {
1584
1769
  value: string;
@@ -1814,8 +1999,8 @@ type AssertEqual<T extends true> = T;
1814
1999
  /**
1815
2000
  * ProviderName
1816
2001
  */
1817
- declare const providerNames: readonly ["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"];
1818
- declare const providerNamesSchema: z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>;
2002
+ declare const providerNames: readonly ["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"];
2003
+ declare const providerNamesSchema: z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>;
1819
2004
  type ProviderName = z.infer<typeof providerNamesSchema>;
1820
2005
  /**
1821
2006
  * ProviderSettingsEntry
@@ -1823,15 +2008,15 @@ type ProviderName = z.infer<typeof providerNamesSchema>;
1823
2008
  declare const providerSettingsEntrySchema: z.ZodObject<{
1824
2009
  id: z.ZodString;
1825
2010
  name: z.ZodString;
1826
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
2011
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
1827
2012
  }, "strip", z.ZodTypeAny, {
1828
2013
  name: string;
1829
2014
  id: string;
1830
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2015
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
1831
2016
  }, {
1832
2017
  name: string;
1833
2018
  id: string;
1834
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2019
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
1835
2020
  }>;
1836
2021
  type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
1837
2022
  declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
@@ -1892,6 +2077,48 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1892
2077
  reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
1893
2078
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
1894
2079
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2080
+ } & {
2081
+ apiModelId: z.ZodOptional<z.ZodString>;
2082
+ } & {
2083
+ claudeCodePath: z.ZodOptional<z.ZodString>;
2084
+ } & {
2085
+ apiProvider: z.ZodLiteral<"claude-code">;
2086
+ }, "strip", z.ZodTypeAny, {
2087
+ apiProvider: "claude-code";
2088
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2089
+ includeMaxTokens?: boolean | undefined;
2090
+ diffEnabled?: boolean | undefined;
2091
+ fuzzyMatchThreshold?: number | undefined;
2092
+ modelTemperature?: number | null | undefined;
2093
+ rateLimitSeconds?: number | undefined;
2094
+ enableReasoningEffort?: boolean | undefined;
2095
+ modelMaxTokens?: number | undefined;
2096
+ modelMaxThinkingTokens?: number | undefined;
2097
+ apiModelId?: string | undefined;
2098
+ claudeCodePath?: string | undefined;
2099
+ }, {
2100
+ apiProvider: "claude-code";
2101
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2102
+ includeMaxTokens?: boolean | undefined;
2103
+ diffEnabled?: boolean | undefined;
2104
+ fuzzyMatchThreshold?: number | undefined;
2105
+ modelTemperature?: number | null | undefined;
2106
+ rateLimitSeconds?: number | undefined;
2107
+ enableReasoningEffort?: boolean | undefined;
2108
+ modelMaxTokens?: number | undefined;
2109
+ modelMaxThinkingTokens?: number | undefined;
2110
+ apiModelId?: string | undefined;
2111
+ claudeCodePath?: string | undefined;
2112
+ }>, z.ZodObject<{
2113
+ includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
2114
+ diffEnabled: z.ZodOptional<z.ZodBoolean>;
2115
+ fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
2116
+ modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
+ rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
2118
+ enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
2119
+ reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
2120
+ modelMaxTokens: z.ZodOptional<z.ZodNumber>;
2121
+ modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
1895
2122
  } & {
1896
2123
  glamaModelId: z.ZodOptional<z.ZodString>;
1897
2124
  glamaApiKey: z.ZodOptional<z.ZodString>;
@@ -3160,10 +3387,11 @@ declare const providerSettingsSchema: z.ZodObject<{
3160
3387
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
3161
3388
  glamaModelId: z.ZodOptional<z.ZodString>;
3162
3389
  glamaApiKey: z.ZodOptional<z.ZodString>;
3390
+ claudeCodePath: z.ZodOptional<z.ZodString>;
3163
3391
  apiKey: z.ZodOptional<z.ZodString>;
3164
3392
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3165
3393
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
3166
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3394
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3167
3395
  }, "strip", z.ZodTypeAny, {
3168
3396
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3169
3397
  codeIndexOpenAiKey?: string | undefined;
@@ -3171,7 +3399,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3171
3399
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3172
3400
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3173
3401
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3174
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3402
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3175
3403
  includeMaxTokens?: boolean | undefined;
3176
3404
  diffEnabled?: boolean | undefined;
3177
3405
  fuzzyMatchThreshold?: number | undefined;
@@ -3184,6 +3412,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3184
3412
  apiKey?: string | undefined;
3185
3413
  anthropicBaseUrl?: string | undefined;
3186
3414
  anthropicUseAuthToken?: boolean | undefined;
3415
+ claudeCodePath?: string | undefined;
3187
3416
  glamaModelId?: string | undefined;
3188
3417
  glamaApiKey?: string | undefined;
3189
3418
  openRouterApiKey?: string | undefined;
@@ -3283,7 +3512,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3283
3512
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3284
3513
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3285
3514
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3286
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3515
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3287
3516
  includeMaxTokens?: boolean | undefined;
3288
3517
  diffEnabled?: boolean | undefined;
3289
3518
  fuzzyMatchThreshold?: number | undefined;
@@ -3296,6 +3525,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3296
3525
  apiKey?: string | undefined;
3297
3526
  anthropicBaseUrl?: string | undefined;
3298
3527
  anthropicUseAuthToken?: boolean | undefined;
3528
+ claudeCodePath?: string | undefined;
3299
3529
  glamaModelId?: string | undefined;
3300
3530
  glamaApiKey?: string | undefined;
3301
3531
  openRouterApiKey?: string | undefined;
@@ -3390,7 +3620,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3390
3620
  litellmModelId?: string | undefined;
3391
3621
  }>;
3392
3622
  type ProviderSettings = z.infer<typeof providerSettingsSchema>;
3393
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexOpenAiCompatibleModelDimension", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
3623
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexOpenAiCompatibleModelDimension", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
3394
3624
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
3395
3625
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
3396
3626
 
@@ -3402,15 +3632,15 @@ declare const globalSettingsSchema: z.ZodObject<{
3402
3632
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
3403
3633
  id: z.ZodString;
3404
3634
  name: z.ZodString;
3405
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3635
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3406
3636
  }, "strip", z.ZodTypeAny, {
3407
3637
  name: string;
3408
3638
  id: string;
3409
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3639
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3410
3640
  }, {
3411
3641
  name: string;
3412
3642
  id: string;
3413
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3643
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3414
3644
  }>, "many">>;
3415
3645
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3416
3646
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -3503,18 +3733,12 @@ declare const globalSettingsSchema: z.ZodObject<{
3503
3733
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
3504
3734
  experiments: z.ZodOptional<z.ZodObject<{
3505
3735
  powerSteering: z.ZodOptional<z.ZodBoolean>;
3506
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
3507
- marketplace: z.ZodOptional<z.ZodBoolean>;
3508
3736
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
3509
3737
  }, "strip", z.ZodTypeAny, {
3510
3738
  powerSteering?: boolean | undefined;
3511
- disableCompletionCommand?: boolean | undefined;
3512
- marketplace?: boolean | undefined;
3513
3739
  multiFileApplyDiff?: boolean | undefined;
3514
3740
  }, {
3515
3741
  powerSteering?: boolean | undefined;
3516
- disableCompletionCommand?: boolean | undefined;
3517
- marketplace?: boolean | undefined;
3518
3742
  multiFileApplyDiff?: boolean | undefined;
3519
3743
  }>>;
3520
3744
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -3647,6 +3871,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3647
3871
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
3648
3872
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
3649
3873
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
3874
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3650
3875
  }, "strip", z.ZodTypeAny, {
3651
3876
  diffEnabled?: boolean | undefined;
3652
3877
  fuzzyMatchThreshold?: number | undefined;
@@ -3670,7 +3895,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3670
3895
  listApiConfigMeta?: {
3671
3896
  name: string;
3672
3897
  id: string;
3673
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3898
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3674
3899
  }[] | undefined;
3675
3900
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3676
3901
  lastShownAnnouncementId?: string | undefined;
@@ -3735,8 +3960,6 @@ declare const globalSettingsSchema: z.ZodObject<{
3735
3960
  terminalCompressProgressBar?: boolean | undefined;
3736
3961
  experiments?: {
3737
3962
  powerSteering?: boolean | undefined;
3738
- disableCompletionCommand?: boolean | undefined;
3739
- marketplace?: boolean | undefined;
3740
3963
  multiFileApplyDiff?: boolean | undefined;
3741
3964
  } | undefined;
3742
3965
  codebaseIndexModels?: {
@@ -3769,6 +3992,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3769
3992
  customSupportPrompts?: Record<string, string | undefined> | undefined;
3770
3993
  enhancementApiConfigId?: string | undefined;
3771
3994
  historyPreviewCollapsed?: boolean | undefined;
3995
+ profileThresholds?: Record<string, number> | undefined;
3772
3996
  }, {
3773
3997
  diffEnabled?: boolean | undefined;
3774
3998
  fuzzyMatchThreshold?: number | undefined;
@@ -3792,7 +4016,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3792
4016
  listApiConfigMeta?: {
3793
4017
  name: string;
3794
4018
  id: string;
3795
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4019
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3796
4020
  }[] | undefined;
3797
4021
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3798
4022
  lastShownAnnouncementId?: string | undefined;
@@ -3857,8 +4081,6 @@ declare const globalSettingsSchema: z.ZodObject<{
3857
4081
  terminalCompressProgressBar?: boolean | undefined;
3858
4082
  experiments?: {
3859
4083
  powerSteering?: boolean | undefined;
3860
- disableCompletionCommand?: boolean | undefined;
3861
- marketplace?: boolean | undefined;
3862
4084
  multiFileApplyDiff?: boolean | undefined;
3863
4085
  } | undefined;
3864
4086
  codebaseIndexModels?: {
@@ -3891,9 +4113,10 @@ declare const globalSettingsSchema: z.ZodObject<{
3891
4113
  customSupportPrompts?: Record<string, string | undefined> | undefined;
3892
4114
  enhancementApiConfigId?: string | undefined;
3893
4115
  historyPreviewCollapsed?: boolean | undefined;
4116
+ profileThresholds?: Record<string, number> | undefined;
3894
4117
  }>;
3895
4118
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
3896
- declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed"];
4119
+ declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds"];
3897
4120
  /**
3898
4121
  * RooCodeSettings
3899
4122
  */
@@ -4078,24 +4301,25 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4078
4301
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
4079
4302
  glamaModelId: z.ZodOptional<z.ZodString>;
4080
4303
  glamaApiKey: z.ZodOptional<z.ZodString>;
4304
+ claudeCodePath: z.ZodOptional<z.ZodString>;
4081
4305
  apiKey: z.ZodOptional<z.ZodString>;
4082
4306
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4083
4307
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
4084
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4308
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4085
4309
  } & {
4086
4310
  currentApiConfigName: z.ZodOptional<z.ZodString>;
4087
4311
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
4088
4312
  id: z.ZodString;
4089
4313
  name: z.ZodString;
4090
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4314
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4091
4315
  }, "strip", z.ZodTypeAny, {
4092
4316
  name: string;
4093
4317
  id: string;
4094
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4318
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4095
4319
  }, {
4096
4320
  name: string;
4097
4321
  id: string;
4098
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4322
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4099
4323
  }>, "many">>;
4100
4324
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4101
4325
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -4188,18 +4412,12 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4188
4412
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
4189
4413
  experiments: z.ZodOptional<z.ZodObject<{
4190
4414
  powerSteering: z.ZodOptional<z.ZodBoolean>;
4191
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
4192
- marketplace: z.ZodOptional<z.ZodBoolean>;
4193
4415
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
4194
4416
  }, "strip", z.ZodTypeAny, {
4195
4417
  powerSteering?: boolean | undefined;
4196
- disableCompletionCommand?: boolean | undefined;
4197
- marketplace?: boolean | undefined;
4198
4418
  multiFileApplyDiff?: boolean | undefined;
4199
4419
  }, {
4200
4420
  powerSteering?: boolean | undefined;
4201
- disableCompletionCommand?: boolean | undefined;
4202
- marketplace?: boolean | undefined;
4203
4421
  multiFileApplyDiff?: boolean | undefined;
4204
4422
  }>>;
4205
4423
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -4332,6 +4550,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4332
4550
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
4333
4551
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
4334
4552
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
4553
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4335
4554
  }, "strip", z.ZodTypeAny, {
4336
4555
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4337
4556
  codeIndexOpenAiKey?: string | undefined;
@@ -4339,7 +4558,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4339
4558
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4340
4559
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4341
4560
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4342
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4561
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4343
4562
  includeMaxTokens?: boolean | undefined;
4344
4563
  diffEnabled?: boolean | undefined;
4345
4564
  fuzzyMatchThreshold?: number | undefined;
@@ -4352,6 +4571,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4352
4571
  apiKey?: string | undefined;
4353
4572
  anthropicBaseUrl?: string | undefined;
4354
4573
  anthropicUseAuthToken?: boolean | undefined;
4574
+ claudeCodePath?: string | undefined;
4355
4575
  glamaModelId?: string | undefined;
4356
4576
  glamaApiKey?: string | undefined;
4357
4577
  openRouterApiKey?: string | undefined;
@@ -4463,7 +4683,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4463
4683
  listApiConfigMeta?: {
4464
4684
  name: string;
4465
4685
  id: string;
4466
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4686
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4467
4687
  }[] | undefined;
4468
4688
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4469
4689
  lastShownAnnouncementId?: string | undefined;
@@ -4528,8 +4748,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4528
4748
  terminalCompressProgressBar?: boolean | undefined;
4529
4749
  experiments?: {
4530
4750
  powerSteering?: boolean | undefined;
4531
- disableCompletionCommand?: boolean | undefined;
4532
- marketplace?: boolean | undefined;
4533
4751
  multiFileApplyDiff?: boolean | undefined;
4534
4752
  } | undefined;
4535
4753
  codebaseIndexModels?: {
@@ -4562,6 +4780,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4562
4780
  customSupportPrompts?: Record<string, string | undefined> | undefined;
4563
4781
  enhancementApiConfigId?: string | undefined;
4564
4782
  historyPreviewCollapsed?: boolean | undefined;
4783
+ profileThresholds?: Record<string, number> | undefined;
4565
4784
  }, {
4566
4785
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4567
4786
  codeIndexOpenAiKey?: string | undefined;
@@ -4569,7 +4788,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4569
4788
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4570
4789
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4571
4790
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4572
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4791
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4573
4792
  includeMaxTokens?: boolean | undefined;
4574
4793
  diffEnabled?: boolean | undefined;
4575
4794
  fuzzyMatchThreshold?: number | undefined;
@@ -4582,6 +4801,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4582
4801
  apiKey?: string | undefined;
4583
4802
  anthropicBaseUrl?: string | undefined;
4584
4803
  anthropicUseAuthToken?: boolean | undefined;
4804
+ claudeCodePath?: string | undefined;
4585
4805
  glamaModelId?: string | undefined;
4586
4806
  glamaApiKey?: string | undefined;
4587
4807
  openRouterApiKey?: string | undefined;
@@ -4693,7 +4913,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4693
4913
  listApiConfigMeta?: {
4694
4914
  name: string;
4695
4915
  id: string;
4696
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4916
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4697
4917
  }[] | undefined;
4698
4918
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4699
4919
  lastShownAnnouncementId?: string | undefined;
@@ -4758,8 +4978,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4758
4978
  terminalCompressProgressBar?: boolean | undefined;
4759
4979
  experiments?: {
4760
4980
  powerSteering?: boolean | undefined;
4761
- disableCompletionCommand?: boolean | undefined;
4762
- marketplace?: boolean | undefined;
4763
4981
  multiFileApplyDiff?: boolean | undefined;
4764
4982
  } | undefined;
4765
4983
  codebaseIndexModels?: {
@@ -4792,6 +5010,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4792
5010
  customSupportPrompts?: Record<string, string | undefined> | undefined;
4793
5011
  enhancementApiConfigId?: string | undefined;
4794
5012
  historyPreviewCollapsed?: boolean | undefined;
5013
+ profileThresholds?: Record<string, number> | undefined;
4795
5014
  }>;
4796
5015
  type RooCodeSettings = GlobalSettings & ProviderSettings;
4797
5016
  /**
@@ -5053,6 +5272,17 @@ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_f
5053
5272
  }>>;
5054
5273
  type ToolUsage = z.infer<typeof toolUsageSchema>;
5055
5274
 
5275
+ /**
5276
+ * isSubtaskSchema
5277
+ */
5278
+ declare const isSubtaskSchema: z.ZodObject<{
5279
+ isSubtask: z.ZodBoolean;
5280
+ }, "strip", z.ZodTypeAny, {
5281
+ isSubtask: boolean;
5282
+ }, {
5283
+ isSubtask: boolean;
5284
+ }>;
5285
+ type IsSubtask = z.infer<typeof isSubtaskSchema>;
5056
5286
  /**
5057
5287
  * RooCodeEvent
5058
5288
  */
@@ -5250,7 +5480,13 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5250
5480
  }, {
5251
5481
  attempts: number;
5252
5482
  failures: number;
5253
- }>>], null>;
5483
+ }>>, z.ZodObject<{
5484
+ isSubtask: z.ZodBoolean;
5485
+ }, "strip", z.ZodTypeAny, {
5486
+ isSubtask: boolean;
5487
+ }, {
5488
+ isSubtask: boolean;
5489
+ }>], null>;
5254
5490
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
5255
5491
  totalTokensIn: z.ZodNumber;
5256
5492
  totalTokensOut: z.ZodNumber;
@@ -5320,7 +5556,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5320
5556
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
5321
5557
  attempts: number;
5322
5558
  failures: number;
5323
- }>>];
5559
+ }>>, {
5560
+ isSubtask: boolean;
5561
+ }];
5324
5562
  taskTokenUsageUpdated: [string, {
5325
5563
  totalCost: number;
5326
5564
  totalTokensIn: number;
@@ -5376,7 +5614,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5376
5614
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
5377
5615
  attempts: number;
5378
5616
  failures: number;
5379
- }>>];
5617
+ }>>, {
5618
+ isSubtask: boolean;
5619
+ }];
5380
5620
  taskTokenUsageUpdated: [string, {
5381
5621
  totalCost: number;
5382
5622
  totalTokensIn: number;
@@ -5597,24 +5837,25 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5597
5837
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
5598
5838
  glamaModelId: z.ZodOptional<z.ZodString>;
5599
5839
  glamaApiKey: z.ZodOptional<z.ZodString>;
5840
+ claudeCodePath: z.ZodOptional<z.ZodString>;
5600
5841
  apiKey: z.ZodOptional<z.ZodString>;
5601
5842
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
5602
5843
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
5603
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
5844
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
5604
5845
  } & {
5605
5846
  currentApiConfigName: z.ZodOptional<z.ZodString>;
5606
5847
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
5607
5848
  id: z.ZodString;
5608
5849
  name: z.ZodString;
5609
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
5850
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
5610
5851
  }, "strip", z.ZodTypeAny, {
5611
5852
  name: string;
5612
5853
  id: string;
5613
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5854
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5614
5855
  }, {
5615
5856
  name: string;
5616
5857
  id: string;
5617
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5858
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5618
5859
  }>, "many">>;
5619
5860
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5620
5861
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -5707,18 +5948,12 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5707
5948
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
5708
5949
  experiments: z.ZodOptional<z.ZodObject<{
5709
5950
  powerSteering: z.ZodOptional<z.ZodBoolean>;
5710
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
5711
- marketplace: z.ZodOptional<z.ZodBoolean>;
5712
5951
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
5713
5952
  }, "strip", z.ZodTypeAny, {
5714
5953
  powerSteering?: boolean | undefined;
5715
- disableCompletionCommand?: boolean | undefined;
5716
- marketplace?: boolean | undefined;
5717
5954
  multiFileApplyDiff?: boolean | undefined;
5718
5955
  }, {
5719
5956
  powerSteering?: boolean | undefined;
5720
- disableCompletionCommand?: boolean | undefined;
5721
- marketplace?: boolean | undefined;
5722
5957
  multiFileApplyDiff?: boolean | undefined;
5723
5958
  }>>;
5724
5959
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -5851,6 +6086,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5851
6086
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
5852
6087
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
5853
6088
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
6089
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
5854
6090
  }, "strip", z.ZodTypeAny, {
5855
6091
  reasoningEffort?: "low" | "medium" | "high" | undefined;
5856
6092
  codeIndexOpenAiKey?: string | undefined;
@@ -5858,7 +6094,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5858
6094
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
5859
6095
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
5860
6096
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
5861
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6097
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5862
6098
  includeMaxTokens?: boolean | undefined;
5863
6099
  diffEnabled?: boolean | undefined;
5864
6100
  fuzzyMatchThreshold?: number | undefined;
@@ -5871,6 +6107,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5871
6107
  apiKey?: string | undefined;
5872
6108
  anthropicBaseUrl?: string | undefined;
5873
6109
  anthropicUseAuthToken?: boolean | undefined;
6110
+ claudeCodePath?: string | undefined;
5874
6111
  glamaModelId?: string | undefined;
5875
6112
  glamaApiKey?: string | undefined;
5876
6113
  openRouterApiKey?: string | undefined;
@@ -5982,7 +6219,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5982
6219
  listApiConfigMeta?: {
5983
6220
  name: string;
5984
6221
  id: string;
5985
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6222
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5986
6223
  }[] | undefined;
5987
6224
  pinnedApiConfigs?: Record<string, boolean> | undefined;
5988
6225
  lastShownAnnouncementId?: string | undefined;
@@ -6047,8 +6284,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6047
6284
  terminalCompressProgressBar?: boolean | undefined;
6048
6285
  experiments?: {
6049
6286
  powerSteering?: boolean | undefined;
6050
- disableCompletionCommand?: boolean | undefined;
6051
- marketplace?: boolean | undefined;
6052
6287
  multiFileApplyDiff?: boolean | undefined;
6053
6288
  } | undefined;
6054
6289
  codebaseIndexModels?: {
@@ -6081,6 +6316,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6081
6316
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6082
6317
  enhancementApiConfigId?: string | undefined;
6083
6318
  historyPreviewCollapsed?: boolean | undefined;
6319
+ profileThresholds?: Record<string, number> | undefined;
6084
6320
  }, {
6085
6321
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6086
6322
  codeIndexOpenAiKey?: string | undefined;
@@ -6088,7 +6324,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6088
6324
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6089
6325
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6090
6326
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6091
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6327
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6092
6328
  includeMaxTokens?: boolean | undefined;
6093
6329
  diffEnabled?: boolean | undefined;
6094
6330
  fuzzyMatchThreshold?: number | undefined;
@@ -6101,6 +6337,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6101
6337
  apiKey?: string | undefined;
6102
6338
  anthropicBaseUrl?: string | undefined;
6103
6339
  anthropicUseAuthToken?: boolean | undefined;
6340
+ claudeCodePath?: string | undefined;
6104
6341
  glamaModelId?: string | undefined;
6105
6342
  glamaApiKey?: string | undefined;
6106
6343
  openRouterApiKey?: string | undefined;
@@ -6212,7 +6449,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6212
6449
  listApiConfigMeta?: {
6213
6450
  name: string;
6214
6451
  id: string;
6215
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6452
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6216
6453
  }[] | undefined;
6217
6454
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6218
6455
  lastShownAnnouncementId?: string | undefined;
@@ -6277,8 +6514,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6277
6514
  terminalCompressProgressBar?: boolean | undefined;
6278
6515
  experiments?: {
6279
6516
  powerSteering?: boolean | undefined;
6280
- disableCompletionCommand?: boolean | undefined;
6281
- marketplace?: boolean | undefined;
6282
6517
  multiFileApplyDiff?: boolean | undefined;
6283
6518
  } | undefined;
6284
6519
  codebaseIndexModels?: {
@@ -6311,6 +6546,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6311
6546
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6312
6547
  enhancementApiConfigId?: string | undefined;
6313
6548
  historyPreviewCollapsed?: boolean | undefined;
6549
+ profileThresholds?: Record<string, number> | undefined;
6314
6550
  }>;
6315
6551
  text: z.ZodString;
6316
6552
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6324,7 +6560,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6324
6560
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6325
6561
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6326
6562
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6327
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6563
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6328
6564
  includeMaxTokens?: boolean | undefined;
6329
6565
  diffEnabled?: boolean | undefined;
6330
6566
  fuzzyMatchThreshold?: number | undefined;
@@ -6337,6 +6573,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6337
6573
  apiKey?: string | undefined;
6338
6574
  anthropicBaseUrl?: string | undefined;
6339
6575
  anthropicUseAuthToken?: boolean | undefined;
6576
+ claudeCodePath?: string | undefined;
6340
6577
  glamaModelId?: string | undefined;
6341
6578
  glamaApiKey?: string | undefined;
6342
6579
  openRouterApiKey?: string | undefined;
@@ -6448,7 +6685,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6448
6685
  listApiConfigMeta?: {
6449
6686
  name: string;
6450
6687
  id: string;
6451
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6688
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6452
6689
  }[] | undefined;
6453
6690
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6454
6691
  lastShownAnnouncementId?: string | undefined;
@@ -6513,8 +6750,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6513
6750
  terminalCompressProgressBar?: boolean | undefined;
6514
6751
  experiments?: {
6515
6752
  powerSteering?: boolean | undefined;
6516
- disableCompletionCommand?: boolean | undefined;
6517
- marketplace?: boolean | undefined;
6518
6753
  multiFileApplyDiff?: boolean | undefined;
6519
6754
  } | undefined;
6520
6755
  codebaseIndexModels?: {
@@ -6547,6 +6782,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6547
6782
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6548
6783
  enhancementApiConfigId?: string | undefined;
6549
6784
  historyPreviewCollapsed?: boolean | undefined;
6785
+ profileThresholds?: Record<string, number> | undefined;
6550
6786
  };
6551
6787
  images?: string[] | undefined;
6552
6788
  newTab?: boolean | undefined;
@@ -6559,7 +6795,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6559
6795
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6560
6796
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6561
6797
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6562
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6798
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6563
6799
  includeMaxTokens?: boolean | undefined;
6564
6800
  diffEnabled?: boolean | undefined;
6565
6801
  fuzzyMatchThreshold?: number | undefined;
@@ -6572,6 +6808,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6572
6808
  apiKey?: string | undefined;
6573
6809
  anthropicBaseUrl?: string | undefined;
6574
6810
  anthropicUseAuthToken?: boolean | undefined;
6811
+ claudeCodePath?: string | undefined;
6575
6812
  glamaModelId?: string | undefined;
6576
6813
  glamaApiKey?: string | undefined;
6577
6814
  openRouterApiKey?: string | undefined;
@@ -6683,7 +6920,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6683
6920
  listApiConfigMeta?: {
6684
6921
  name: string;
6685
6922
  id: string;
6686
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6923
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6687
6924
  }[] | undefined;
6688
6925
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6689
6926
  lastShownAnnouncementId?: string | undefined;
@@ -6748,8 +6985,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6748
6985
  terminalCompressProgressBar?: boolean | undefined;
6749
6986
  experiments?: {
6750
6987
  powerSteering?: boolean | undefined;
6751
- disableCompletionCommand?: boolean | undefined;
6752
- marketplace?: boolean | undefined;
6753
6988
  multiFileApplyDiff?: boolean | undefined;
6754
6989
  } | undefined;
6755
6990
  codebaseIndexModels?: {
@@ -6782,6 +7017,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6782
7017
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6783
7018
  enhancementApiConfigId?: string | undefined;
6784
7019
  historyPreviewCollapsed?: boolean | undefined;
7020
+ profileThresholds?: Record<string, number> | undefined;
6785
7021
  };
6786
7022
  images?: string[] | undefined;
6787
7023
  newTab?: boolean | undefined;
@@ -6797,7 +7033,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6797
7033
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6798
7034
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6799
7035
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6800
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7036
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6801
7037
  includeMaxTokens?: boolean | undefined;
6802
7038
  diffEnabled?: boolean | undefined;
6803
7039
  fuzzyMatchThreshold?: number | undefined;
@@ -6810,6 +7046,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6810
7046
  apiKey?: string | undefined;
6811
7047
  anthropicBaseUrl?: string | undefined;
6812
7048
  anthropicUseAuthToken?: boolean | undefined;
7049
+ claudeCodePath?: string | undefined;
6813
7050
  glamaModelId?: string | undefined;
6814
7051
  glamaApiKey?: string | undefined;
6815
7052
  openRouterApiKey?: string | undefined;
@@ -6921,7 +7158,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6921
7158
  listApiConfigMeta?: {
6922
7159
  name: string;
6923
7160
  id: string;
6924
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7161
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6925
7162
  }[] | undefined;
6926
7163
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6927
7164
  lastShownAnnouncementId?: string | undefined;
@@ -6986,8 +7223,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6986
7223
  terminalCompressProgressBar?: boolean | undefined;
6987
7224
  experiments?: {
6988
7225
  powerSteering?: boolean | undefined;
6989
- disableCompletionCommand?: boolean | undefined;
6990
- marketplace?: boolean | undefined;
6991
7226
  multiFileApplyDiff?: boolean | undefined;
6992
7227
  } | undefined;
6993
7228
  codebaseIndexModels?: {
@@ -7020,6 +7255,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7020
7255
  customSupportPrompts?: Record<string, string | undefined> | undefined;
7021
7256
  enhancementApiConfigId?: string | undefined;
7022
7257
  historyPreviewCollapsed?: boolean | undefined;
7258
+ profileThresholds?: Record<string, number> | undefined;
7023
7259
  };
7024
7260
  images?: string[] | undefined;
7025
7261
  newTab?: boolean | undefined;
@@ -7035,7 +7271,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7035
7271
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7036
7272
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7037
7273
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7038
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7274
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7039
7275
  includeMaxTokens?: boolean | undefined;
7040
7276
  diffEnabled?: boolean | undefined;
7041
7277
  fuzzyMatchThreshold?: number | undefined;
@@ -7048,6 +7284,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7048
7284
  apiKey?: string | undefined;
7049
7285
  anthropicBaseUrl?: string | undefined;
7050
7286
  anthropicUseAuthToken?: boolean | undefined;
7287
+ claudeCodePath?: string | undefined;
7051
7288
  glamaModelId?: string | undefined;
7052
7289
  glamaApiKey?: string | undefined;
7053
7290
  openRouterApiKey?: string | undefined;
@@ -7159,7 +7396,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7159
7396
  listApiConfigMeta?: {
7160
7397
  name: string;
7161
7398
  id: string;
7162
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7399
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7163
7400
  }[] | undefined;
7164
7401
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7165
7402
  lastShownAnnouncementId?: string | undefined;
@@ -7224,8 +7461,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7224
7461
  terminalCompressProgressBar?: boolean | undefined;
7225
7462
  experiments?: {
7226
7463
  powerSteering?: boolean | undefined;
7227
- disableCompletionCommand?: boolean | undefined;
7228
- marketplace?: boolean | undefined;
7229
7464
  multiFileApplyDiff?: boolean | undefined;
7230
7465
  } | undefined;
7231
7466
  codebaseIndexModels?: {
@@ -7258,6 +7493,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7258
7493
  customSupportPrompts?: Record<string, string | undefined> | undefined;
7259
7494
  enhancementApiConfigId?: string | undefined;
7260
7495
  historyPreviewCollapsed?: boolean | undefined;
7496
+ profileThresholds?: Record<string, number> | undefined;
7261
7497
  };
7262
7498
  images?: string[] | undefined;
7263
7499
  newTab?: boolean | undefined;
@@ -7615,7 +7851,13 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7615
7851
  }, {
7616
7852
  attempts: number;
7617
7853
  failures: number;
7618
- }>>], null>;
7854
+ }>>, z.ZodObject<{
7855
+ isSubtask: z.ZodBoolean;
7856
+ }, "strip", z.ZodTypeAny, {
7857
+ isSubtask: boolean;
7858
+ }, {
7859
+ isSubtask: boolean;
7860
+ }>], null>;
7619
7861
  taskId: z.ZodOptional<z.ZodNumber>;
7620
7862
  }, "strip", z.ZodTypeAny, {
7621
7863
  eventName: RooCodeEventName.TaskCompleted;
@@ -7629,7 +7871,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7629
7871
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
7630
7872
  attempts: number;
7631
7873
  failures: number;
7632
- }>>];
7874
+ }>>, {
7875
+ isSubtask: boolean;
7876
+ }];
7633
7877
  taskId?: number | undefined;
7634
7878
  }, {
7635
7879
  eventName: RooCodeEventName.TaskCompleted;
@@ -7643,7 +7887,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7643
7887
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
7644
7888
  attempts: number;
7645
7889
  failures: number;
7646
- }>>];
7890
+ }>>, {
7891
+ isSubtask: boolean;
7892
+ }];
7647
7893
  taskId?: number | undefined;
7648
7894
  }>, z.ZodObject<{
7649
7895
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -7964,24 +8210,25 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7964
8210
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
7965
8211
  glamaModelId: z.ZodOptional<z.ZodString>;
7966
8212
  glamaApiKey: z.ZodOptional<z.ZodString>;
8213
+ claudeCodePath: z.ZodOptional<z.ZodString>;
7967
8214
  apiKey: z.ZodOptional<z.ZodString>;
7968
8215
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
7969
8216
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
7970
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
8217
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
7971
8218
  } & {
7972
8219
  currentApiConfigName: z.ZodOptional<z.ZodString>;
7973
8220
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
7974
8221
  id: z.ZodString;
7975
8222
  name: z.ZodString;
7976
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
8223
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
7977
8224
  }, "strip", z.ZodTypeAny, {
7978
8225
  name: string;
7979
8226
  id: string;
7980
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8227
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7981
8228
  }, {
7982
8229
  name: string;
7983
8230
  id: string;
7984
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8231
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7985
8232
  }>, "many">>;
7986
8233
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7987
8234
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -8074,18 +8321,12 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8074
8321
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
8075
8322
  experiments: z.ZodOptional<z.ZodObject<{
8076
8323
  powerSteering: z.ZodOptional<z.ZodBoolean>;
8077
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
8078
- marketplace: z.ZodOptional<z.ZodBoolean>;
8079
8324
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
8080
8325
  }, "strip", z.ZodTypeAny, {
8081
8326
  powerSteering?: boolean | undefined;
8082
- disableCompletionCommand?: boolean | undefined;
8083
- marketplace?: boolean | undefined;
8084
8327
  multiFileApplyDiff?: boolean | undefined;
8085
8328
  }, {
8086
8329
  powerSteering?: boolean | undefined;
8087
- disableCompletionCommand?: boolean | undefined;
8088
- marketplace?: boolean | undefined;
8089
8330
  multiFileApplyDiff?: boolean | undefined;
8090
8331
  }>>;
8091
8332
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -8218,6 +8459,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8218
8459
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
8219
8460
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
8220
8461
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
8462
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
8221
8463
  }, "strip", z.ZodTypeAny, {
8222
8464
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8223
8465
  codeIndexOpenAiKey?: string | undefined;
@@ -8225,7 +8467,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8225
8467
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8226
8468
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8227
8469
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8228
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8470
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8229
8471
  includeMaxTokens?: boolean | undefined;
8230
8472
  diffEnabled?: boolean | undefined;
8231
8473
  fuzzyMatchThreshold?: number | undefined;
@@ -8238,6 +8480,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8238
8480
  apiKey?: string | undefined;
8239
8481
  anthropicBaseUrl?: string | undefined;
8240
8482
  anthropicUseAuthToken?: boolean | undefined;
8483
+ claudeCodePath?: string | undefined;
8241
8484
  glamaModelId?: string | undefined;
8242
8485
  glamaApiKey?: string | undefined;
8243
8486
  openRouterApiKey?: string | undefined;
@@ -8349,7 +8592,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8349
8592
  listApiConfigMeta?: {
8350
8593
  name: string;
8351
8594
  id: string;
8352
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8595
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8353
8596
  }[] | undefined;
8354
8597
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8355
8598
  lastShownAnnouncementId?: string | undefined;
@@ -8414,8 +8657,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8414
8657
  terminalCompressProgressBar?: boolean | undefined;
8415
8658
  experiments?: {
8416
8659
  powerSteering?: boolean | undefined;
8417
- disableCompletionCommand?: boolean | undefined;
8418
- marketplace?: boolean | undefined;
8419
8660
  multiFileApplyDiff?: boolean | undefined;
8420
8661
  } | undefined;
8421
8662
  codebaseIndexModels?: {
@@ -8448,6 +8689,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8448
8689
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8449
8690
  enhancementApiConfigId?: string | undefined;
8450
8691
  historyPreviewCollapsed?: boolean | undefined;
8692
+ profileThresholds?: Record<string, number> | undefined;
8451
8693
  }, {
8452
8694
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8453
8695
  codeIndexOpenAiKey?: string | undefined;
@@ -8455,7 +8697,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8455
8697
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8456
8698
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8457
8699
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8458
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8700
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8459
8701
  includeMaxTokens?: boolean | undefined;
8460
8702
  diffEnabled?: boolean | undefined;
8461
8703
  fuzzyMatchThreshold?: number | undefined;
@@ -8468,6 +8710,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8468
8710
  apiKey?: string | undefined;
8469
8711
  anthropicBaseUrl?: string | undefined;
8470
8712
  anthropicUseAuthToken?: boolean | undefined;
8713
+ claudeCodePath?: string | undefined;
8471
8714
  glamaModelId?: string | undefined;
8472
8715
  glamaApiKey?: string | undefined;
8473
8716
  openRouterApiKey?: string | undefined;
@@ -8579,7 +8822,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8579
8822
  listApiConfigMeta?: {
8580
8823
  name: string;
8581
8824
  id: string;
8582
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8825
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8583
8826
  }[] | undefined;
8584
8827
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8585
8828
  lastShownAnnouncementId?: string | undefined;
@@ -8644,8 +8887,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8644
8887
  terminalCompressProgressBar?: boolean | undefined;
8645
8888
  experiments?: {
8646
8889
  powerSteering?: boolean | undefined;
8647
- disableCompletionCommand?: boolean | undefined;
8648
- marketplace?: boolean | undefined;
8649
8890
  multiFileApplyDiff?: boolean | undefined;
8650
8891
  } | undefined;
8651
8892
  codebaseIndexModels?: {
@@ -8678,6 +8919,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8678
8919
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8679
8920
  enhancementApiConfigId?: string | undefined;
8680
8921
  historyPreviewCollapsed?: boolean | undefined;
8922
+ profileThresholds?: Record<string, number> | undefined;
8681
8923
  }>;
8682
8924
  text: z.ZodString;
8683
8925
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8691,7 +8933,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8691
8933
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8692
8934
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8693
8935
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8694
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8936
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8695
8937
  includeMaxTokens?: boolean | undefined;
8696
8938
  diffEnabled?: boolean | undefined;
8697
8939
  fuzzyMatchThreshold?: number | undefined;
@@ -8704,6 +8946,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8704
8946
  apiKey?: string | undefined;
8705
8947
  anthropicBaseUrl?: string | undefined;
8706
8948
  anthropicUseAuthToken?: boolean | undefined;
8949
+ claudeCodePath?: string | undefined;
8707
8950
  glamaModelId?: string | undefined;
8708
8951
  glamaApiKey?: string | undefined;
8709
8952
  openRouterApiKey?: string | undefined;
@@ -8815,7 +9058,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8815
9058
  listApiConfigMeta?: {
8816
9059
  name: string;
8817
9060
  id: string;
8818
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9061
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8819
9062
  }[] | undefined;
8820
9063
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8821
9064
  lastShownAnnouncementId?: string | undefined;
@@ -8880,8 +9123,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8880
9123
  terminalCompressProgressBar?: boolean | undefined;
8881
9124
  experiments?: {
8882
9125
  powerSteering?: boolean | undefined;
8883
- disableCompletionCommand?: boolean | undefined;
8884
- marketplace?: boolean | undefined;
8885
9126
  multiFileApplyDiff?: boolean | undefined;
8886
9127
  } | undefined;
8887
9128
  codebaseIndexModels?: {
@@ -8914,6 +9155,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8914
9155
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8915
9156
  enhancementApiConfigId?: string | undefined;
8916
9157
  historyPreviewCollapsed?: boolean | undefined;
9158
+ profileThresholds?: Record<string, number> | undefined;
8917
9159
  };
8918
9160
  images?: string[] | undefined;
8919
9161
  newTab?: boolean | undefined;
@@ -8926,7 +9168,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8926
9168
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8927
9169
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8928
9170
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8929
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9171
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8930
9172
  includeMaxTokens?: boolean | undefined;
8931
9173
  diffEnabled?: boolean | undefined;
8932
9174
  fuzzyMatchThreshold?: number | undefined;
@@ -8939,6 +9181,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8939
9181
  apiKey?: string | undefined;
8940
9182
  anthropicBaseUrl?: string | undefined;
8941
9183
  anthropicUseAuthToken?: boolean | undefined;
9184
+ claudeCodePath?: string | undefined;
8942
9185
  glamaModelId?: string | undefined;
8943
9186
  glamaApiKey?: string | undefined;
8944
9187
  openRouterApiKey?: string | undefined;
@@ -9050,7 +9293,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9050
9293
  listApiConfigMeta?: {
9051
9294
  name: string;
9052
9295
  id: string;
9053
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9296
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9054
9297
  }[] | undefined;
9055
9298
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9056
9299
  lastShownAnnouncementId?: string | undefined;
@@ -9115,8 +9358,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9115
9358
  terminalCompressProgressBar?: boolean | undefined;
9116
9359
  experiments?: {
9117
9360
  powerSteering?: boolean | undefined;
9118
- disableCompletionCommand?: boolean | undefined;
9119
- marketplace?: boolean | undefined;
9120
9361
  multiFileApplyDiff?: boolean | undefined;
9121
9362
  } | undefined;
9122
9363
  codebaseIndexModels?: {
@@ -9149,6 +9390,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9149
9390
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9150
9391
  enhancementApiConfigId?: string | undefined;
9151
9392
  historyPreviewCollapsed?: boolean | undefined;
9393
+ profileThresholds?: Record<string, number> | undefined;
9152
9394
  };
9153
9395
  images?: string[] | undefined;
9154
9396
  newTab?: boolean | undefined;
@@ -9164,7 +9406,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9164
9406
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9165
9407
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9166
9408
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9167
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9409
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9168
9410
  includeMaxTokens?: boolean | undefined;
9169
9411
  diffEnabled?: boolean | undefined;
9170
9412
  fuzzyMatchThreshold?: number | undefined;
@@ -9177,6 +9419,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9177
9419
  apiKey?: string | undefined;
9178
9420
  anthropicBaseUrl?: string | undefined;
9179
9421
  anthropicUseAuthToken?: boolean | undefined;
9422
+ claudeCodePath?: string | undefined;
9180
9423
  glamaModelId?: string | undefined;
9181
9424
  glamaApiKey?: string | undefined;
9182
9425
  openRouterApiKey?: string | undefined;
@@ -9288,7 +9531,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9288
9531
  listApiConfigMeta?: {
9289
9532
  name: string;
9290
9533
  id: string;
9291
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9534
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9292
9535
  }[] | undefined;
9293
9536
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9294
9537
  lastShownAnnouncementId?: string | undefined;
@@ -9353,8 +9596,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9353
9596
  terminalCompressProgressBar?: boolean | undefined;
9354
9597
  experiments?: {
9355
9598
  powerSteering?: boolean | undefined;
9356
- disableCompletionCommand?: boolean | undefined;
9357
- marketplace?: boolean | undefined;
9358
9599
  multiFileApplyDiff?: boolean | undefined;
9359
9600
  } | undefined;
9360
9601
  codebaseIndexModels?: {
@@ -9387,6 +9628,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9387
9628
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9388
9629
  enhancementApiConfigId?: string | undefined;
9389
9630
  historyPreviewCollapsed?: boolean | undefined;
9631
+ profileThresholds?: Record<string, number> | undefined;
9390
9632
  };
9391
9633
  images?: string[] | undefined;
9392
9634
  newTab?: boolean | undefined;
@@ -9402,7 +9644,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9402
9644
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9403
9645
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9404
9646
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9405
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9647
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9406
9648
  includeMaxTokens?: boolean | undefined;
9407
9649
  diffEnabled?: boolean | undefined;
9408
9650
  fuzzyMatchThreshold?: number | undefined;
@@ -9415,6 +9657,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9415
9657
  apiKey?: string | undefined;
9416
9658
  anthropicBaseUrl?: string | undefined;
9417
9659
  anthropicUseAuthToken?: boolean | undefined;
9660
+ claudeCodePath?: string | undefined;
9418
9661
  glamaModelId?: string | undefined;
9419
9662
  glamaApiKey?: string | undefined;
9420
9663
  openRouterApiKey?: string | undefined;
@@ -9526,7 +9769,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9526
9769
  listApiConfigMeta?: {
9527
9770
  name: string;
9528
9771
  id: string;
9529
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9772
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9530
9773
  }[] | undefined;
9531
9774
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9532
9775
  lastShownAnnouncementId?: string | undefined;
@@ -9591,8 +9834,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9591
9834
  terminalCompressProgressBar?: boolean | undefined;
9592
9835
  experiments?: {
9593
9836
  powerSteering?: boolean | undefined;
9594
- disableCompletionCommand?: boolean | undefined;
9595
- marketplace?: boolean | undefined;
9596
9837
  multiFileApplyDiff?: boolean | undefined;
9597
9838
  } | undefined;
9598
9839
  codebaseIndexModels?: {
@@ -9625,6 +9866,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9625
9866
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9626
9867
  enhancementApiConfigId?: string | undefined;
9627
9868
  historyPreviewCollapsed?: boolean | undefined;
9869
+ profileThresholds?: Record<string, number> | undefined;
9628
9870
  };
9629
9871
  images?: string[] | undefined;
9630
9872
  newTab?: boolean | undefined;
@@ -9662,7 +9904,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9662
9904
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9663
9905
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9664
9906
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9665
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9907
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9666
9908
  includeMaxTokens?: boolean | undefined;
9667
9909
  diffEnabled?: boolean | undefined;
9668
9910
  fuzzyMatchThreshold?: number | undefined;
@@ -9675,6 +9917,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9675
9917
  apiKey?: string | undefined;
9676
9918
  anthropicBaseUrl?: string | undefined;
9677
9919
  anthropicUseAuthToken?: boolean | undefined;
9920
+ claudeCodePath?: string | undefined;
9678
9921
  glamaModelId?: string | undefined;
9679
9922
  glamaApiKey?: string | undefined;
9680
9923
  openRouterApiKey?: string | undefined;
@@ -9786,7 +10029,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9786
10029
  listApiConfigMeta?: {
9787
10030
  name: string;
9788
10031
  id: string;
9789
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10032
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9790
10033
  }[] | undefined;
9791
10034
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9792
10035
  lastShownAnnouncementId?: string | undefined;
@@ -9851,8 +10094,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9851
10094
  terminalCompressProgressBar?: boolean | undefined;
9852
10095
  experiments?: {
9853
10096
  powerSteering?: boolean | undefined;
9854
- disableCompletionCommand?: boolean | undefined;
9855
- marketplace?: boolean | undefined;
9856
10097
  multiFileApplyDiff?: boolean | undefined;
9857
10098
  } | undefined;
9858
10099
  codebaseIndexModels?: {
@@ -9885,6 +10126,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9885
10126
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9886
10127
  enhancementApiConfigId?: string | undefined;
9887
10128
  historyPreviewCollapsed?: boolean | undefined;
10129
+ profileThresholds?: Record<string, number> | undefined;
9888
10130
  };
9889
10131
  images?: string[] | undefined;
9890
10132
  newTab?: boolean | undefined;
@@ -9911,7 +10153,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9911
10153
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9912
10154
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9913
10155
  codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9914
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10156
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9915
10157
  includeMaxTokens?: boolean | undefined;
9916
10158
  diffEnabled?: boolean | undefined;
9917
10159
  fuzzyMatchThreshold?: number | undefined;
@@ -9924,6 +10166,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9924
10166
  apiKey?: string | undefined;
9925
10167
  anthropicBaseUrl?: string | undefined;
9926
10168
  anthropicUseAuthToken?: boolean | undefined;
10169
+ claudeCodePath?: string | undefined;
9927
10170
  glamaModelId?: string | undefined;
9928
10171
  glamaApiKey?: string | undefined;
9929
10172
  openRouterApiKey?: string | undefined;
@@ -10035,7 +10278,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10035
10278
  listApiConfigMeta?: {
10036
10279
  name: string;
10037
10280
  id: string;
10038
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10281
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10039
10282
  }[] | undefined;
10040
10283
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10041
10284
  lastShownAnnouncementId?: string | undefined;
@@ -10100,8 +10343,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10100
10343
  terminalCompressProgressBar?: boolean | undefined;
10101
10344
  experiments?: {
10102
10345
  powerSteering?: boolean | undefined;
10103
- disableCompletionCommand?: boolean | undefined;
10104
- marketplace?: boolean | undefined;
10105
10346
  multiFileApplyDiff?: boolean | undefined;
10106
10347
  } | undefined;
10107
10348
  codebaseIndexModels?: {
@@ -10134,6 +10375,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10134
10375
  customSupportPrompts?: Record<string, string | undefined> | undefined;
10135
10376
  enhancementApiConfigId?: string | undefined;
10136
10377
  historyPreviewCollapsed?: boolean | undefined;
10378
+ profileThresholds?: Record<string, number> | undefined;
10137
10379
  };
10138
10380
  images?: string[] | undefined;
10139
10381
  newTab?: boolean | undefined;
@@ -10480,7 +10722,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10480
10722
  }, {
10481
10723
  attempts: number;
10482
10724
  failures: number;
10483
- }>>], null>;
10725
+ }>>, z.ZodObject<{
10726
+ isSubtask: z.ZodBoolean;
10727
+ }, "strip", z.ZodTypeAny, {
10728
+ isSubtask: boolean;
10729
+ }, {
10730
+ isSubtask: boolean;
10731
+ }>], null>;
10484
10732
  taskId: z.ZodOptional<z.ZodNumber>;
10485
10733
  }, "strip", z.ZodTypeAny, {
10486
10734
  eventName: RooCodeEventName.TaskCompleted;
@@ -10494,7 +10742,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10494
10742
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
10495
10743
  attempts: number;
10496
10744
  failures: number;
10497
- }>>];
10745
+ }>>, {
10746
+ isSubtask: boolean;
10747
+ }];
10498
10748
  taskId?: number | undefined;
10499
10749
  }, {
10500
10750
  eventName: RooCodeEventName.TaskCompleted;
@@ -10508,7 +10758,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10508
10758
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
10509
10759
  attempts: number;
10510
10760
  failures: number;
10511
- }>>];
10761
+ }>>, {
10762
+ isSubtask: boolean;
10763
+ }];
10512
10764
  taskId?: number | undefined;
10513
10765
  }>, z.ZodObject<{
10514
10766
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -10670,7 +10922,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10670
10922
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
10671
10923
  attempts: number;
10672
10924
  failures: number;
10673
- }>>];
10925
+ }>>, {
10926
+ isSubtask: boolean;
10927
+ }];
10674
10928
  taskId?: number | undefined;
10675
10929
  } | {
10676
10930
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -10774,7 +11028,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10774
11028
  }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
10775
11029
  attempts: number;
10776
11030
  failures: number;
10777
- }>>];
11031
+ }>>, {
11032
+ isSubtask: boolean;
11033
+ }];
10778
11034
  taskId?: number | undefined;
10779
11035
  } | {
10780
11036
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -10838,7 +11094,7 @@ interface RooCodeAPIEvents {
10838
11094
  taskAskResponded: [taskId: string];
10839
11095
  taskAborted: [taskId: string];
10840
11096
  taskSpawned: [parentTaskId: string, childTaskId: string];
10841
- taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
11097
+ taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage, isSubtask: IsSubtask];
10842
11098
  taskTokenUsageUpdated: [taskId: string, tokenUsage: TokenUsage];
10843
11099
  taskToolFailed: [taskId: string, toolName: ToolName, error: string];
10844
11100
  }
@@ -11075,6 +11331,7 @@ interface CloudUserInfo {
11075
11331
  organizationId?: string;
11076
11332
  organizationName?: string;
11077
11333
  organizationRole?: string;
11334
+ organizationImageUrl?: string;
11078
11335
  }
11079
11336
  /**
11080
11337
  * CloudOrganization Types
@@ -11341,40 +11598,40 @@ declare const shareResponseSchema: z.ZodObject<{
11341
11598
  success: z.ZodBoolean;
11342
11599
  shareUrl: z.ZodOptional<z.ZodString>;
11343
11600
  error: z.ZodOptional<z.ZodString>;
11601
+ isNewShare: z.ZodOptional<z.ZodBoolean>;
11602
+ manageUrl: z.ZodOptional<z.ZodString>;
11344
11603
  }, "strip", z.ZodTypeAny, {
11345
11604
  success: boolean;
11346
11605
  error?: string | undefined;
11347
11606
  shareUrl?: string | undefined;
11607
+ isNewShare?: boolean | undefined;
11608
+ manageUrl?: string | undefined;
11348
11609
  }, {
11349
11610
  success: boolean;
11350
11611
  error?: string | undefined;
11351
11612
  shareUrl?: string | undefined;
11613
+ isNewShare?: boolean | undefined;
11614
+ manageUrl?: string | undefined;
11352
11615
  }>;
11353
11616
  type ShareResponse = z.infer<typeof shareResponseSchema>;
11354
11617
 
11355
11618
  /**
11356
11619
  * ExperimentId
11357
11620
  */
11358
- declare const experimentIds: readonly ["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"];
11359
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"]>;
11621
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff"];
11622
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff"]>;
11360
11623
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
11361
11624
  /**
11362
11625
  * Experiments
11363
11626
  */
11364
11627
  declare const experimentsSchema: z.ZodObject<{
11365
11628
  powerSteering: z.ZodOptional<z.ZodBoolean>;
11366
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
11367
- marketplace: z.ZodOptional<z.ZodBoolean>;
11368
11629
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
11369
11630
  }, "strip", z.ZodTypeAny, {
11370
11631
  powerSteering?: boolean | undefined;
11371
- disableCompletionCommand?: boolean | undefined;
11372
- marketplace?: boolean | undefined;
11373
11632
  multiFileApplyDiff?: boolean | undefined;
11374
11633
  }, {
11375
11634
  powerSteering?: boolean | undefined;
11376
- disableCompletionCommand?: boolean | undefined;
11377
- marketplace?: boolean | undefined;
11378
11635
  multiFileApplyDiff?: boolean | undefined;
11379
11636
  }>;
11380
11637
  type Experiments = z.infer<typeof experimentsSchema>;
@@ -12158,18 +12415,18 @@ declare const appPropertiesSchema: z.ZodObject<{
12158
12415
  }>;
12159
12416
  declare const taskPropertiesSchema: z.ZodObject<{
12160
12417
  taskId: z.ZodOptional<z.ZodString>;
12161
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12418
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12162
12419
  modelId: z.ZodOptional<z.ZodString>;
12163
12420
  diffStrategy: z.ZodOptional<z.ZodString>;
12164
12421
  isSubtask: z.ZodOptional<z.ZodBoolean>;
12165
12422
  }, "strip", z.ZodTypeAny, {
12166
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12423
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12167
12424
  taskId?: string | undefined;
12168
12425
  modelId?: string | undefined;
12169
12426
  diffStrategy?: string | undefined;
12170
12427
  isSubtask?: boolean | undefined;
12171
12428
  }, {
12172
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12429
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12173
12430
  taskId?: string | undefined;
12174
12431
  modelId?: string | undefined;
12175
12432
  diffStrategy?: string | undefined;
@@ -12177,7 +12434,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
12177
12434
  }>;
12178
12435
  declare const telemetryPropertiesSchema: z.ZodObject<{
12179
12436
  taskId: z.ZodOptional<z.ZodString>;
12180
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12437
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12181
12438
  modelId: z.ZodOptional<z.ZodString>;
12182
12439
  diffStrategy: z.ZodOptional<z.ZodString>;
12183
12440
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12196,7 +12453,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12196
12453
  editorName: string;
12197
12454
  language: string;
12198
12455
  mode: string;
12199
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12456
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12200
12457
  taskId?: string | undefined;
12201
12458
  modelId?: string | undefined;
12202
12459
  diffStrategy?: string | undefined;
@@ -12209,7 +12466,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12209
12466
  editorName: string;
12210
12467
  language: string;
12211
12468
  mode: string;
12212
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12469
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12213
12470
  taskId?: string | undefined;
12214
12471
  modelId?: string | undefined;
12215
12472
  diffStrategy?: string | undefined;
@@ -12230,7 +12487,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12230
12487
  type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION]>;
12231
12488
  properties: z.ZodObject<{
12232
12489
  taskId: z.ZodOptional<z.ZodString>;
12233
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12490
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12234
12491
  modelId: z.ZodOptional<z.ZodString>;
12235
12492
  diffStrategy: z.ZodOptional<z.ZodString>;
12236
12493
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12249,7 +12506,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12249
12506
  editorName: string;
12250
12507
  language: string;
12251
12508
  mode: string;
12252
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12509
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12253
12510
  taskId?: string | undefined;
12254
12511
  modelId?: string | undefined;
12255
12512
  diffStrategy?: string | undefined;
@@ -12262,7 +12519,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12262
12519
  editorName: string;
12263
12520
  language: string;
12264
12521
  mode: string;
12265
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12522
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12266
12523
  taskId?: string | undefined;
12267
12524
  modelId?: string | undefined;
12268
12525
  diffStrategy?: string | undefined;
@@ -12278,7 +12535,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12278
12535
  editorName: string;
12279
12536
  language: string;
12280
12537
  mode: string;
12281
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12538
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12282
12539
  taskId?: string | undefined;
12283
12540
  modelId?: string | undefined;
12284
12541
  diffStrategy?: string | undefined;
@@ -12294,7 +12551,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12294
12551
  editorName: string;
12295
12552
  language: string;
12296
12553
  mode: string;
12297
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12554
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12298
12555
  taskId?: string | undefined;
12299
12556
  modelId?: string | undefined;
12300
12557
  diffStrategy?: string | undefined;
@@ -12387,7 +12644,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12387
12644
  } | undefined;
12388
12645
  isProtected?: boolean | undefined;
12389
12646
  }>;
12390
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12647
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12391
12648
  modelId: z.ZodOptional<z.ZodString>;
12392
12649
  diffStrategy: z.ZodOptional<z.ZodString>;
12393
12650
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12430,7 +12687,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12430
12687
  language: string;
12431
12688
  mode: string;
12432
12689
  taskId: string;
12433
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12690
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12434
12691
  modelId?: string | undefined;
12435
12692
  diffStrategy?: string | undefined;
12436
12693
  isSubtask?: boolean | undefined;
@@ -12466,7 +12723,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12466
12723
  language: string;
12467
12724
  mode: string;
12468
12725
  taskId: string;
12469
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12726
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12470
12727
  modelId?: string | undefined;
12471
12728
  diffStrategy?: string | undefined;
12472
12729
  isSubtask?: boolean | undefined;
@@ -12505,7 +12762,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12505
12762
  language: string;
12506
12763
  mode: string;
12507
12764
  taskId: string;
12508
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12765
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12509
12766
  modelId?: string | undefined;
12510
12767
  diffStrategy?: string | undefined;
12511
12768
  isSubtask?: boolean | undefined;
@@ -12544,7 +12801,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12544
12801
  language: string;
12545
12802
  mode: string;
12546
12803
  taskId: string;
12547
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12804
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12548
12805
  modelId?: string | undefined;
12549
12806
  diffStrategy?: string | undefined;
12550
12807
  isSubtask?: boolean | undefined;
@@ -12558,7 +12815,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12558
12815
  cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
12559
12816
  cost: z.ZodOptional<z.ZodNumber>;
12560
12817
  taskId: z.ZodOptional<z.ZodString>;
12561
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12818
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12562
12819
  modelId: z.ZodOptional<z.ZodString>;
12563
12820
  diffStrategy: z.ZodOptional<z.ZodString>;
12564
12821
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12579,7 +12836,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12579
12836
  mode: string;
12580
12837
  inputTokens: number;
12581
12838
  outputTokens: number;
12582
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12839
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12583
12840
  cost?: number | undefined;
12584
12841
  taskId?: string | undefined;
12585
12842
  modelId?: string | undefined;
@@ -12597,7 +12854,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12597
12854
  mode: string;
12598
12855
  inputTokens: number;
12599
12856
  outputTokens: number;
12600
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12857
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12601
12858
  cost?: number | undefined;
12602
12859
  taskId?: string | undefined;
12603
12860
  modelId?: string | undefined;
@@ -12618,7 +12875,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12618
12875
  mode: string;
12619
12876
  inputTokens: number;
12620
12877
  outputTokens: number;
12621
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12878
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12622
12879
  cost?: number | undefined;
12623
12880
  taskId?: string | undefined;
12624
12881
  modelId?: string | undefined;
@@ -12639,7 +12896,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12639
12896
  mode: string;
12640
12897
  inputTokens: number;
12641
12898
  outputTokens: number;
12642
- apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12899
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12643
12900
  cost?: number | undefined;
12644
12901
  taskId?: string | undefined;
12645
12902
  modelId?: string | undefined;
@@ -12748,7 +13005,7 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
12748
13005
  /**
12749
13006
  * Command
12750
13007
  */
12751
- declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput"];
13008
+ declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput", "focusPanel"];
12752
13009
  type CommandId = (typeof commandIds)[number];
12753
13010
  /**
12754
13011
  * Language
@@ -12758,4 +13015,4 @@ declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "i
12758
13015
  type Language = z.infer<typeof languagesSchema>;
12759
13016
  declare const isLanguage: (value: string) => value is Language;
12760
13017
 
12761
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
13018
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };