@roo-code/types 1.27.0 → 1.29.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.cts 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 supportsImages: false;
666
+ readonly supportsPromptCache: false;
667
+ readonly maxTokens: 64000;
668
+ readonly contextWindow: 200000;
669
+ readonly supportsComputerUse: 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 supportsImages: false;
678
+ readonly supportsPromptCache: false;
679
+ readonly maxTokens: 32000;
680
+ readonly contextWindow: 200000;
681
+ readonly supportsComputerUse: 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 supportsImages: false;
690
+ readonly supportsPromptCache: false;
691
+ readonly maxTokens: 8192;
692
+ readonly contextWindow: 200000;
693
+ readonly supportsComputerUse: 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 supportsImages: false;
701
+ readonly supportsPromptCache: false;
702
+ readonly maxTokens: 8192;
703
+ readonly contextWindow: 200000;
704
+ readonly supportsComputerUse: 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 supportsImages: false;
712
+ readonly supportsPromptCache: false;
713
+ readonly maxTokens: 8192;
714
+ readonly contextWindow: 200000;
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<{
@@ -3590,6 +3814,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3590
3814
  name: z.ZodString;
3591
3815
  roleDefinition: z.ZodString;
3592
3816
  whenToUse: z.ZodOptional<z.ZodString>;
3817
+ description: z.ZodOptional<z.ZodString>;
3593
3818
  customInstructions: z.ZodOptional<z.ZodString>;
3594
3819
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
3595
3820
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -3616,6 +3841,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3616
3841
  description?: string | undefined;
3617
3842
  fileRegex?: string | undefined;
3618
3843
  }])[];
3844
+ description?: string | undefined;
3619
3845
  whenToUse?: string | undefined;
3620
3846
  customInstructions?: string | undefined;
3621
3847
  source?: "global" | "project" | undefined;
@@ -3627,6 +3853,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3627
3853
  description?: string | undefined;
3628
3854
  fileRegex?: string | undefined;
3629
3855
  }])[];
3856
+ description?: string | undefined;
3630
3857
  whenToUse?: string | undefined;
3631
3858
  customInstructions?: string | undefined;
3632
3859
  source?: "global" | "project" | undefined;
@@ -3634,12 +3861,15 @@ declare const globalSettingsSchema: z.ZodObject<{
3634
3861
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
3635
3862
  roleDefinition: z.ZodOptional<z.ZodString>;
3636
3863
  whenToUse: z.ZodOptional<z.ZodString>;
3864
+ description: z.ZodOptional<z.ZodString>;
3637
3865
  customInstructions: z.ZodOptional<z.ZodString>;
3638
3866
  }, "strip", z.ZodTypeAny, {
3867
+ description?: string | undefined;
3639
3868
  roleDefinition?: string | undefined;
3640
3869
  whenToUse?: string | undefined;
3641
3870
  customInstructions?: string | undefined;
3642
3871
  }, {
3872
+ description?: string | undefined;
3643
3873
  roleDefinition?: string | undefined;
3644
3874
  whenToUse?: string | undefined;
3645
3875
  customInstructions?: string | undefined;
@@ -3647,6 +3877,8 @@ declare const globalSettingsSchema: z.ZodObject<{
3647
3877
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
3648
3878
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
3649
3879
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
3880
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3881
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
3650
3882
  }, "strip", z.ZodTypeAny, {
3651
3883
  diffEnabled?: boolean | undefined;
3652
3884
  fuzzyMatchThreshold?: number | undefined;
@@ -3662,6 +3894,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3662
3894
  description?: string | undefined;
3663
3895
  fileRegex?: string | undefined;
3664
3896
  }])[];
3897
+ description?: string | undefined;
3665
3898
  whenToUse?: string | undefined;
3666
3899
  customInstructions?: string | undefined;
3667
3900
  source?: "global" | "project" | undefined;
@@ -3670,7 +3903,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3670
3903
  listApiConfigMeta?: {
3671
3904
  name: string;
3672
3905
  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;
3906
+ 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
3907
  }[] | undefined;
3675
3908
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3676
3909
  lastShownAnnouncementId?: string | undefined;
@@ -3735,8 +3968,6 @@ declare const globalSettingsSchema: z.ZodObject<{
3735
3968
  terminalCompressProgressBar?: boolean | undefined;
3736
3969
  experiments?: {
3737
3970
  powerSteering?: boolean | undefined;
3738
- disableCompletionCommand?: boolean | undefined;
3739
- marketplace?: boolean | undefined;
3740
3971
  multiFileApplyDiff?: boolean | undefined;
3741
3972
  } | undefined;
3742
3973
  codebaseIndexModels?: {
@@ -3762,6 +3993,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3762
3993
  enableMcpServerCreation?: boolean | undefined;
3763
3994
  modeApiConfigs?: Record<string, string> | undefined;
3764
3995
  customModePrompts?: Record<string, {
3996
+ description?: string | undefined;
3765
3997
  roleDefinition?: string | undefined;
3766
3998
  whenToUse?: string | undefined;
3767
3999
  customInstructions?: string | undefined;
@@ -3769,6 +4001,8 @@ declare const globalSettingsSchema: z.ZodObject<{
3769
4001
  customSupportPrompts?: Record<string, string | undefined> | undefined;
3770
4002
  enhancementApiConfigId?: string | undefined;
3771
4003
  historyPreviewCollapsed?: boolean | undefined;
4004
+ profileThresholds?: Record<string, number> | undefined;
4005
+ hasOpenedModeSelector?: boolean | undefined;
3772
4006
  }, {
3773
4007
  diffEnabled?: boolean | undefined;
3774
4008
  fuzzyMatchThreshold?: number | undefined;
@@ -3784,6 +4018,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3784
4018
  description?: string | undefined;
3785
4019
  fileRegex?: string | undefined;
3786
4020
  }])[];
4021
+ description?: string | undefined;
3787
4022
  whenToUse?: string | undefined;
3788
4023
  customInstructions?: string | undefined;
3789
4024
  source?: "global" | "project" | undefined;
@@ -3792,7 +4027,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3792
4027
  listApiConfigMeta?: {
3793
4028
  name: string;
3794
4029
  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;
4030
+ 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
4031
  }[] | undefined;
3797
4032
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3798
4033
  lastShownAnnouncementId?: string | undefined;
@@ -3857,8 +4092,6 @@ declare const globalSettingsSchema: z.ZodObject<{
3857
4092
  terminalCompressProgressBar?: boolean | undefined;
3858
4093
  experiments?: {
3859
4094
  powerSteering?: boolean | undefined;
3860
- disableCompletionCommand?: boolean | undefined;
3861
- marketplace?: boolean | undefined;
3862
4095
  multiFileApplyDiff?: boolean | undefined;
3863
4096
  } | undefined;
3864
4097
  codebaseIndexModels?: {
@@ -3884,6 +4117,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3884
4117
  enableMcpServerCreation?: boolean | undefined;
3885
4118
  modeApiConfigs?: Record<string, string> | undefined;
3886
4119
  customModePrompts?: Record<string, {
4120
+ description?: string | undefined;
3887
4121
  roleDefinition?: string | undefined;
3888
4122
  whenToUse?: string | undefined;
3889
4123
  customInstructions?: string | undefined;
@@ -3891,9 +4125,11 @@ declare const globalSettingsSchema: z.ZodObject<{
3891
4125
  customSupportPrompts?: Record<string, string | undefined> | undefined;
3892
4126
  enhancementApiConfigId?: string | undefined;
3893
4127
  historyPreviewCollapsed?: boolean | undefined;
4128
+ profileThresholds?: Record<string, number> | undefined;
4129
+ hasOpenedModeSelector?: boolean | undefined;
3894
4130
  }>;
3895
4131
  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"];
4132
+ 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", "hasOpenedModeSelector"];
3897
4133
  /**
3898
4134
  * RooCodeSettings
3899
4135
  */
@@ -4078,24 +4314,25 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4078
4314
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
4079
4315
  glamaModelId: z.ZodOptional<z.ZodString>;
4080
4316
  glamaApiKey: z.ZodOptional<z.ZodString>;
4317
+ claudeCodePath: z.ZodOptional<z.ZodString>;
4081
4318
  apiKey: z.ZodOptional<z.ZodString>;
4082
4319
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4083
4320
  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"]>>;
4321
+ 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
4322
  } & {
4086
4323
  currentApiConfigName: z.ZodOptional<z.ZodString>;
4087
4324
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
4088
4325
  id: z.ZodString;
4089
4326
  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"]>>;
4327
+ 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
4328
  }, "strip", z.ZodTypeAny, {
4092
4329
  name: string;
4093
4330
  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;
4331
+ 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
4332
  }, {
4096
4333
  name: string;
4097
4334
  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;
4335
+ 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
4336
  }>, "many">>;
4100
4337
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4101
4338
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -4188,18 +4425,12 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4188
4425
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
4189
4426
  experiments: z.ZodOptional<z.ZodObject<{
4190
4427
  powerSteering: z.ZodOptional<z.ZodBoolean>;
4191
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
4192
- marketplace: z.ZodOptional<z.ZodBoolean>;
4193
4428
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
4194
4429
  }, "strip", z.ZodTypeAny, {
4195
4430
  powerSteering?: boolean | undefined;
4196
- disableCompletionCommand?: boolean | undefined;
4197
- marketplace?: boolean | undefined;
4198
4431
  multiFileApplyDiff?: boolean | undefined;
4199
4432
  }, {
4200
4433
  powerSteering?: boolean | undefined;
4201
- disableCompletionCommand?: boolean | undefined;
4202
- marketplace?: boolean | undefined;
4203
4434
  multiFileApplyDiff?: boolean | undefined;
4204
4435
  }>>;
4205
4436
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -4275,6 +4506,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4275
4506
  name: z.ZodString;
4276
4507
  roleDefinition: z.ZodString;
4277
4508
  whenToUse: z.ZodOptional<z.ZodString>;
4509
+ description: z.ZodOptional<z.ZodString>;
4278
4510
  customInstructions: z.ZodOptional<z.ZodString>;
4279
4511
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
4280
4512
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -4301,6 +4533,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4301
4533
  description?: string | undefined;
4302
4534
  fileRegex?: string | undefined;
4303
4535
  }])[];
4536
+ description?: string | undefined;
4304
4537
  whenToUse?: string | undefined;
4305
4538
  customInstructions?: string | undefined;
4306
4539
  source?: "global" | "project" | undefined;
@@ -4312,6 +4545,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4312
4545
  description?: string | undefined;
4313
4546
  fileRegex?: string | undefined;
4314
4547
  }])[];
4548
+ description?: string | undefined;
4315
4549
  whenToUse?: string | undefined;
4316
4550
  customInstructions?: string | undefined;
4317
4551
  source?: "global" | "project" | undefined;
@@ -4319,12 +4553,15 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4319
4553
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
4320
4554
  roleDefinition: z.ZodOptional<z.ZodString>;
4321
4555
  whenToUse: z.ZodOptional<z.ZodString>;
4556
+ description: z.ZodOptional<z.ZodString>;
4322
4557
  customInstructions: z.ZodOptional<z.ZodString>;
4323
4558
  }, "strip", z.ZodTypeAny, {
4559
+ description?: string | undefined;
4324
4560
  roleDefinition?: string | undefined;
4325
4561
  whenToUse?: string | undefined;
4326
4562
  customInstructions?: string | undefined;
4327
4563
  }, {
4564
+ description?: string | undefined;
4328
4565
  roleDefinition?: string | undefined;
4329
4566
  whenToUse?: string | undefined;
4330
4567
  customInstructions?: string | undefined;
@@ -4332,6 +4569,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4332
4569
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
4333
4570
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
4334
4571
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
4572
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4573
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
4335
4574
  }, "strip", z.ZodTypeAny, {
4336
4575
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4337
4576
  codeIndexOpenAiKey?: string | undefined;
@@ -4339,7 +4578,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4339
4578
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4340
4579
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4341
4580
  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;
4581
+ 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
4582
  includeMaxTokens?: boolean | undefined;
4344
4583
  diffEnabled?: boolean | undefined;
4345
4584
  fuzzyMatchThreshold?: number | undefined;
@@ -4352,6 +4591,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4352
4591
  apiKey?: string | undefined;
4353
4592
  anthropicBaseUrl?: string | undefined;
4354
4593
  anthropicUseAuthToken?: boolean | undefined;
4594
+ claudeCodePath?: string | undefined;
4355
4595
  glamaModelId?: string | undefined;
4356
4596
  glamaApiKey?: string | undefined;
4357
4597
  openRouterApiKey?: string | undefined;
@@ -4455,6 +4695,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4455
4695
  description?: string | undefined;
4456
4696
  fileRegex?: string | undefined;
4457
4697
  }])[];
4698
+ description?: string | undefined;
4458
4699
  whenToUse?: string | undefined;
4459
4700
  customInstructions?: string | undefined;
4460
4701
  source?: "global" | "project" | undefined;
@@ -4463,7 +4704,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4463
4704
  listApiConfigMeta?: {
4464
4705
  name: string;
4465
4706
  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;
4707
+ 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
4708
  }[] | undefined;
4468
4709
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4469
4710
  lastShownAnnouncementId?: string | undefined;
@@ -4528,8 +4769,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4528
4769
  terminalCompressProgressBar?: boolean | undefined;
4529
4770
  experiments?: {
4530
4771
  powerSteering?: boolean | undefined;
4531
- disableCompletionCommand?: boolean | undefined;
4532
- marketplace?: boolean | undefined;
4533
4772
  multiFileApplyDiff?: boolean | undefined;
4534
4773
  } | undefined;
4535
4774
  codebaseIndexModels?: {
@@ -4555,6 +4794,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4555
4794
  enableMcpServerCreation?: boolean | undefined;
4556
4795
  modeApiConfigs?: Record<string, string> | undefined;
4557
4796
  customModePrompts?: Record<string, {
4797
+ description?: string | undefined;
4558
4798
  roleDefinition?: string | undefined;
4559
4799
  whenToUse?: string | undefined;
4560
4800
  customInstructions?: string | undefined;
@@ -4562,6 +4802,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4562
4802
  customSupportPrompts?: Record<string, string | undefined> | undefined;
4563
4803
  enhancementApiConfigId?: string | undefined;
4564
4804
  historyPreviewCollapsed?: boolean | undefined;
4805
+ profileThresholds?: Record<string, number> | undefined;
4806
+ hasOpenedModeSelector?: boolean | undefined;
4565
4807
  }, {
4566
4808
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4567
4809
  codeIndexOpenAiKey?: string | undefined;
@@ -4569,7 +4811,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4569
4811
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4570
4812
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4571
4813
  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;
4814
+ 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
4815
  includeMaxTokens?: boolean | undefined;
4574
4816
  diffEnabled?: boolean | undefined;
4575
4817
  fuzzyMatchThreshold?: number | undefined;
@@ -4582,6 +4824,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4582
4824
  apiKey?: string | undefined;
4583
4825
  anthropicBaseUrl?: string | undefined;
4584
4826
  anthropicUseAuthToken?: boolean | undefined;
4827
+ claudeCodePath?: string | undefined;
4585
4828
  glamaModelId?: string | undefined;
4586
4829
  glamaApiKey?: string | undefined;
4587
4830
  openRouterApiKey?: string | undefined;
@@ -4685,6 +4928,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4685
4928
  description?: string | undefined;
4686
4929
  fileRegex?: string | undefined;
4687
4930
  }])[];
4931
+ description?: string | undefined;
4688
4932
  whenToUse?: string | undefined;
4689
4933
  customInstructions?: string | undefined;
4690
4934
  source?: "global" | "project" | undefined;
@@ -4693,7 +4937,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4693
4937
  listApiConfigMeta?: {
4694
4938
  name: string;
4695
4939
  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;
4940
+ 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
4941
  }[] | undefined;
4698
4942
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4699
4943
  lastShownAnnouncementId?: string | undefined;
@@ -4758,8 +5002,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4758
5002
  terminalCompressProgressBar?: boolean | undefined;
4759
5003
  experiments?: {
4760
5004
  powerSteering?: boolean | undefined;
4761
- disableCompletionCommand?: boolean | undefined;
4762
- marketplace?: boolean | undefined;
4763
5005
  multiFileApplyDiff?: boolean | undefined;
4764
5006
  } | undefined;
4765
5007
  codebaseIndexModels?: {
@@ -4785,6 +5027,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4785
5027
  enableMcpServerCreation?: boolean | undefined;
4786
5028
  modeApiConfigs?: Record<string, string> | undefined;
4787
5029
  customModePrompts?: Record<string, {
5030
+ description?: string | undefined;
4788
5031
  roleDefinition?: string | undefined;
4789
5032
  whenToUse?: string | undefined;
4790
5033
  customInstructions?: string | undefined;
@@ -4792,6 +5035,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4792
5035
  customSupportPrompts?: Record<string, string | undefined> | undefined;
4793
5036
  enhancementApiConfigId?: string | undefined;
4794
5037
  historyPreviewCollapsed?: boolean | undefined;
5038
+ profileThresholds?: Record<string, number> | undefined;
5039
+ hasOpenedModeSelector?: boolean | undefined;
4795
5040
  }>;
4796
5041
  type RooCodeSettings = GlobalSettings & ProviderSettings;
4797
5042
  /**
@@ -5053,6 +5298,17 @@ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_f
5053
5298
  }>>;
5054
5299
  type ToolUsage = z.infer<typeof toolUsageSchema>;
5055
5300
 
5301
+ /**
5302
+ * isSubtaskSchema
5303
+ */
5304
+ declare const isSubtaskSchema: z.ZodObject<{
5305
+ isSubtask: z.ZodBoolean;
5306
+ }, "strip", z.ZodTypeAny, {
5307
+ isSubtask: boolean;
5308
+ }, {
5309
+ isSubtask: boolean;
5310
+ }>;
5311
+ type IsSubtask = z.infer<typeof isSubtaskSchema>;
5056
5312
  /**
5057
5313
  * RooCodeEvent
5058
5314
  */
@@ -5250,7 +5506,13 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5250
5506
  }, {
5251
5507
  attempts: number;
5252
5508
  failures: number;
5253
- }>>], null>;
5509
+ }>>, z.ZodObject<{
5510
+ isSubtask: z.ZodBoolean;
5511
+ }, "strip", z.ZodTypeAny, {
5512
+ isSubtask: boolean;
5513
+ }, {
5514
+ isSubtask: boolean;
5515
+ }>], null>;
5254
5516
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
5255
5517
  totalTokensIn: z.ZodNumber;
5256
5518
  totalTokensOut: z.ZodNumber;
@@ -5320,7 +5582,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5320
5582
  }, 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
5583
  attempts: number;
5322
5584
  failures: number;
5323
- }>>];
5585
+ }>>, {
5586
+ isSubtask: boolean;
5587
+ }];
5324
5588
  taskTokenUsageUpdated: [string, {
5325
5589
  totalCost: number;
5326
5590
  totalTokensIn: number;
@@ -5376,7 +5640,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5376
5640
  }, 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
5641
  attempts: number;
5378
5642
  failures: number;
5379
- }>>];
5643
+ }>>, {
5644
+ isSubtask: boolean;
5645
+ }];
5380
5646
  taskTokenUsageUpdated: [string, {
5381
5647
  totalCost: number;
5382
5648
  totalTokensIn: number;
@@ -5597,24 +5863,25 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5597
5863
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
5598
5864
  glamaModelId: z.ZodOptional<z.ZodString>;
5599
5865
  glamaApiKey: z.ZodOptional<z.ZodString>;
5866
+ claudeCodePath: z.ZodOptional<z.ZodString>;
5600
5867
  apiKey: z.ZodOptional<z.ZodString>;
5601
5868
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
5602
5869
  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"]>>;
5870
+ 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
5871
  } & {
5605
5872
  currentApiConfigName: z.ZodOptional<z.ZodString>;
5606
5873
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
5607
5874
  id: z.ZodString;
5608
5875
  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"]>>;
5876
+ 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
5877
  }, "strip", z.ZodTypeAny, {
5611
5878
  name: string;
5612
5879
  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;
5880
+ 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
5881
  }, {
5615
5882
  name: string;
5616
5883
  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;
5884
+ 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
5885
  }>, "many">>;
5619
5886
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5620
5887
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -5707,18 +5974,12 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5707
5974
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
5708
5975
  experiments: z.ZodOptional<z.ZodObject<{
5709
5976
  powerSteering: z.ZodOptional<z.ZodBoolean>;
5710
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
5711
- marketplace: z.ZodOptional<z.ZodBoolean>;
5712
5977
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
5713
5978
  }, "strip", z.ZodTypeAny, {
5714
5979
  powerSteering?: boolean | undefined;
5715
- disableCompletionCommand?: boolean | undefined;
5716
- marketplace?: boolean | undefined;
5717
5980
  multiFileApplyDiff?: boolean | undefined;
5718
5981
  }, {
5719
5982
  powerSteering?: boolean | undefined;
5720
- disableCompletionCommand?: boolean | undefined;
5721
- marketplace?: boolean | undefined;
5722
5983
  multiFileApplyDiff?: boolean | undefined;
5723
5984
  }>>;
5724
5985
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -5794,6 +6055,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5794
6055
  name: z.ZodString;
5795
6056
  roleDefinition: z.ZodString;
5796
6057
  whenToUse: z.ZodOptional<z.ZodString>;
6058
+ description: z.ZodOptional<z.ZodString>;
5797
6059
  customInstructions: z.ZodOptional<z.ZodString>;
5798
6060
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
5799
6061
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -5820,6 +6082,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5820
6082
  description?: string | undefined;
5821
6083
  fileRegex?: string | undefined;
5822
6084
  }])[];
6085
+ description?: string | undefined;
5823
6086
  whenToUse?: string | undefined;
5824
6087
  customInstructions?: string | undefined;
5825
6088
  source?: "global" | "project" | undefined;
@@ -5831,6 +6094,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5831
6094
  description?: string | undefined;
5832
6095
  fileRegex?: string | undefined;
5833
6096
  }])[];
6097
+ description?: string | undefined;
5834
6098
  whenToUse?: string | undefined;
5835
6099
  customInstructions?: string | undefined;
5836
6100
  source?: "global" | "project" | undefined;
@@ -5838,12 +6102,15 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5838
6102
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
5839
6103
  roleDefinition: z.ZodOptional<z.ZodString>;
5840
6104
  whenToUse: z.ZodOptional<z.ZodString>;
6105
+ description: z.ZodOptional<z.ZodString>;
5841
6106
  customInstructions: z.ZodOptional<z.ZodString>;
5842
6107
  }, "strip", z.ZodTypeAny, {
6108
+ description?: string | undefined;
5843
6109
  roleDefinition?: string | undefined;
5844
6110
  whenToUse?: string | undefined;
5845
6111
  customInstructions?: string | undefined;
5846
6112
  }, {
6113
+ description?: string | undefined;
5847
6114
  roleDefinition?: string | undefined;
5848
6115
  whenToUse?: string | undefined;
5849
6116
  customInstructions?: string | undefined;
@@ -5851,6 +6118,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5851
6118
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
5852
6119
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
5853
6120
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
6121
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
6122
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
5854
6123
  }, "strip", z.ZodTypeAny, {
5855
6124
  reasoningEffort?: "low" | "medium" | "high" | undefined;
5856
6125
  codeIndexOpenAiKey?: string | undefined;
@@ -5858,7 +6127,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5858
6127
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
5859
6128
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
5860
6129
  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;
6130
+ 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
6131
  includeMaxTokens?: boolean | undefined;
5863
6132
  diffEnabled?: boolean | undefined;
5864
6133
  fuzzyMatchThreshold?: number | undefined;
@@ -5871,6 +6140,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5871
6140
  apiKey?: string | undefined;
5872
6141
  anthropicBaseUrl?: string | undefined;
5873
6142
  anthropicUseAuthToken?: boolean | undefined;
6143
+ claudeCodePath?: string | undefined;
5874
6144
  glamaModelId?: string | undefined;
5875
6145
  glamaApiKey?: string | undefined;
5876
6146
  openRouterApiKey?: string | undefined;
@@ -5974,6 +6244,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5974
6244
  description?: string | undefined;
5975
6245
  fileRegex?: string | undefined;
5976
6246
  }])[];
6247
+ description?: string | undefined;
5977
6248
  whenToUse?: string | undefined;
5978
6249
  customInstructions?: string | undefined;
5979
6250
  source?: "global" | "project" | undefined;
@@ -5982,7 +6253,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5982
6253
  listApiConfigMeta?: {
5983
6254
  name: string;
5984
6255
  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;
6256
+ 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
6257
  }[] | undefined;
5987
6258
  pinnedApiConfigs?: Record<string, boolean> | undefined;
5988
6259
  lastShownAnnouncementId?: string | undefined;
@@ -6047,8 +6318,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6047
6318
  terminalCompressProgressBar?: boolean | undefined;
6048
6319
  experiments?: {
6049
6320
  powerSteering?: boolean | undefined;
6050
- disableCompletionCommand?: boolean | undefined;
6051
- marketplace?: boolean | undefined;
6052
6321
  multiFileApplyDiff?: boolean | undefined;
6053
6322
  } | undefined;
6054
6323
  codebaseIndexModels?: {
@@ -6074,6 +6343,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6074
6343
  enableMcpServerCreation?: boolean | undefined;
6075
6344
  modeApiConfigs?: Record<string, string> | undefined;
6076
6345
  customModePrompts?: Record<string, {
6346
+ description?: string | undefined;
6077
6347
  roleDefinition?: string | undefined;
6078
6348
  whenToUse?: string | undefined;
6079
6349
  customInstructions?: string | undefined;
@@ -6081,6 +6351,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6081
6351
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6082
6352
  enhancementApiConfigId?: string | undefined;
6083
6353
  historyPreviewCollapsed?: boolean | undefined;
6354
+ profileThresholds?: Record<string, number> | undefined;
6355
+ hasOpenedModeSelector?: boolean | undefined;
6084
6356
  }, {
6085
6357
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6086
6358
  codeIndexOpenAiKey?: string | undefined;
@@ -6088,7 +6360,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6088
6360
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6089
6361
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6090
6362
  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;
6363
+ 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
6364
  includeMaxTokens?: boolean | undefined;
6093
6365
  diffEnabled?: boolean | undefined;
6094
6366
  fuzzyMatchThreshold?: number | undefined;
@@ -6101,6 +6373,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6101
6373
  apiKey?: string | undefined;
6102
6374
  anthropicBaseUrl?: string | undefined;
6103
6375
  anthropicUseAuthToken?: boolean | undefined;
6376
+ claudeCodePath?: string | undefined;
6104
6377
  glamaModelId?: string | undefined;
6105
6378
  glamaApiKey?: string | undefined;
6106
6379
  openRouterApiKey?: string | undefined;
@@ -6204,6 +6477,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6204
6477
  description?: string | undefined;
6205
6478
  fileRegex?: string | undefined;
6206
6479
  }])[];
6480
+ description?: string | undefined;
6207
6481
  whenToUse?: string | undefined;
6208
6482
  customInstructions?: string | undefined;
6209
6483
  source?: "global" | "project" | undefined;
@@ -6212,7 +6486,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6212
6486
  listApiConfigMeta?: {
6213
6487
  name: string;
6214
6488
  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;
6489
+ 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
6490
  }[] | undefined;
6217
6491
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6218
6492
  lastShownAnnouncementId?: string | undefined;
@@ -6277,8 +6551,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6277
6551
  terminalCompressProgressBar?: boolean | undefined;
6278
6552
  experiments?: {
6279
6553
  powerSteering?: boolean | undefined;
6280
- disableCompletionCommand?: boolean | undefined;
6281
- marketplace?: boolean | undefined;
6282
6554
  multiFileApplyDiff?: boolean | undefined;
6283
6555
  } | undefined;
6284
6556
  codebaseIndexModels?: {
@@ -6304,6 +6576,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6304
6576
  enableMcpServerCreation?: boolean | undefined;
6305
6577
  modeApiConfigs?: Record<string, string> | undefined;
6306
6578
  customModePrompts?: Record<string, {
6579
+ description?: string | undefined;
6307
6580
  roleDefinition?: string | undefined;
6308
6581
  whenToUse?: string | undefined;
6309
6582
  customInstructions?: string | undefined;
@@ -6311,6 +6584,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6311
6584
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6312
6585
  enhancementApiConfigId?: string | undefined;
6313
6586
  historyPreviewCollapsed?: boolean | undefined;
6587
+ profileThresholds?: Record<string, number> | undefined;
6588
+ hasOpenedModeSelector?: boolean | undefined;
6314
6589
  }>;
6315
6590
  text: z.ZodString;
6316
6591
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6324,7 +6599,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6324
6599
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6325
6600
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6326
6601
  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;
6602
+ 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
6603
  includeMaxTokens?: boolean | undefined;
6329
6604
  diffEnabled?: boolean | undefined;
6330
6605
  fuzzyMatchThreshold?: number | undefined;
@@ -6337,6 +6612,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6337
6612
  apiKey?: string | undefined;
6338
6613
  anthropicBaseUrl?: string | undefined;
6339
6614
  anthropicUseAuthToken?: boolean | undefined;
6615
+ claudeCodePath?: string | undefined;
6340
6616
  glamaModelId?: string | undefined;
6341
6617
  glamaApiKey?: string | undefined;
6342
6618
  openRouterApiKey?: string | undefined;
@@ -6440,6 +6716,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6440
6716
  description?: string | undefined;
6441
6717
  fileRegex?: string | undefined;
6442
6718
  }])[];
6719
+ description?: string | undefined;
6443
6720
  whenToUse?: string | undefined;
6444
6721
  customInstructions?: string | undefined;
6445
6722
  source?: "global" | "project" | undefined;
@@ -6448,7 +6725,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6448
6725
  listApiConfigMeta?: {
6449
6726
  name: string;
6450
6727
  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;
6728
+ 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
6729
  }[] | undefined;
6453
6730
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6454
6731
  lastShownAnnouncementId?: string | undefined;
@@ -6513,8 +6790,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6513
6790
  terminalCompressProgressBar?: boolean | undefined;
6514
6791
  experiments?: {
6515
6792
  powerSteering?: boolean | undefined;
6516
- disableCompletionCommand?: boolean | undefined;
6517
- marketplace?: boolean | undefined;
6518
6793
  multiFileApplyDiff?: boolean | undefined;
6519
6794
  } | undefined;
6520
6795
  codebaseIndexModels?: {
@@ -6540,6 +6815,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6540
6815
  enableMcpServerCreation?: boolean | undefined;
6541
6816
  modeApiConfigs?: Record<string, string> | undefined;
6542
6817
  customModePrompts?: Record<string, {
6818
+ description?: string | undefined;
6543
6819
  roleDefinition?: string | undefined;
6544
6820
  whenToUse?: string | undefined;
6545
6821
  customInstructions?: string | undefined;
@@ -6547,6 +6823,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6547
6823
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6548
6824
  enhancementApiConfigId?: string | undefined;
6549
6825
  historyPreviewCollapsed?: boolean | undefined;
6826
+ profileThresholds?: Record<string, number> | undefined;
6827
+ hasOpenedModeSelector?: boolean | undefined;
6550
6828
  };
6551
6829
  images?: string[] | undefined;
6552
6830
  newTab?: boolean | undefined;
@@ -6559,7 +6837,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6559
6837
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6560
6838
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6561
6839
  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;
6840
+ 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
6841
  includeMaxTokens?: boolean | undefined;
6564
6842
  diffEnabled?: boolean | undefined;
6565
6843
  fuzzyMatchThreshold?: number | undefined;
@@ -6572,6 +6850,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6572
6850
  apiKey?: string | undefined;
6573
6851
  anthropicBaseUrl?: string | undefined;
6574
6852
  anthropicUseAuthToken?: boolean | undefined;
6853
+ claudeCodePath?: string | undefined;
6575
6854
  glamaModelId?: string | undefined;
6576
6855
  glamaApiKey?: string | undefined;
6577
6856
  openRouterApiKey?: string | undefined;
@@ -6675,6 +6954,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6675
6954
  description?: string | undefined;
6676
6955
  fileRegex?: string | undefined;
6677
6956
  }])[];
6957
+ description?: string | undefined;
6678
6958
  whenToUse?: string | undefined;
6679
6959
  customInstructions?: string | undefined;
6680
6960
  source?: "global" | "project" | undefined;
@@ -6683,7 +6963,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6683
6963
  listApiConfigMeta?: {
6684
6964
  name: string;
6685
6965
  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;
6966
+ 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
6967
  }[] | undefined;
6688
6968
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6689
6969
  lastShownAnnouncementId?: string | undefined;
@@ -6748,8 +7028,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6748
7028
  terminalCompressProgressBar?: boolean | undefined;
6749
7029
  experiments?: {
6750
7030
  powerSteering?: boolean | undefined;
6751
- disableCompletionCommand?: boolean | undefined;
6752
- marketplace?: boolean | undefined;
6753
7031
  multiFileApplyDiff?: boolean | undefined;
6754
7032
  } | undefined;
6755
7033
  codebaseIndexModels?: {
@@ -6775,6 +7053,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6775
7053
  enableMcpServerCreation?: boolean | undefined;
6776
7054
  modeApiConfigs?: Record<string, string> | undefined;
6777
7055
  customModePrompts?: Record<string, {
7056
+ description?: string | undefined;
6778
7057
  roleDefinition?: string | undefined;
6779
7058
  whenToUse?: string | undefined;
6780
7059
  customInstructions?: string | undefined;
@@ -6782,6 +7061,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6782
7061
  customSupportPrompts?: Record<string, string | undefined> | undefined;
6783
7062
  enhancementApiConfigId?: string | undefined;
6784
7063
  historyPreviewCollapsed?: boolean | undefined;
7064
+ profileThresholds?: Record<string, number> | undefined;
7065
+ hasOpenedModeSelector?: boolean | undefined;
6785
7066
  };
6786
7067
  images?: string[] | undefined;
6787
7068
  newTab?: boolean | undefined;
@@ -6797,7 +7078,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6797
7078
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6798
7079
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6799
7080
  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;
7081
+ 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
7082
  includeMaxTokens?: boolean | undefined;
6802
7083
  diffEnabled?: boolean | undefined;
6803
7084
  fuzzyMatchThreshold?: number | undefined;
@@ -6810,6 +7091,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6810
7091
  apiKey?: string | undefined;
6811
7092
  anthropicBaseUrl?: string | undefined;
6812
7093
  anthropicUseAuthToken?: boolean | undefined;
7094
+ claudeCodePath?: string | undefined;
6813
7095
  glamaModelId?: string | undefined;
6814
7096
  glamaApiKey?: string | undefined;
6815
7097
  openRouterApiKey?: string | undefined;
@@ -6913,6 +7195,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6913
7195
  description?: string | undefined;
6914
7196
  fileRegex?: string | undefined;
6915
7197
  }])[];
7198
+ description?: string | undefined;
6916
7199
  whenToUse?: string | undefined;
6917
7200
  customInstructions?: string | undefined;
6918
7201
  source?: "global" | "project" | undefined;
@@ -6921,7 +7204,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6921
7204
  listApiConfigMeta?: {
6922
7205
  name: string;
6923
7206
  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;
7207
+ 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
7208
  }[] | undefined;
6926
7209
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6927
7210
  lastShownAnnouncementId?: string | undefined;
@@ -6986,8 +7269,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6986
7269
  terminalCompressProgressBar?: boolean | undefined;
6987
7270
  experiments?: {
6988
7271
  powerSteering?: boolean | undefined;
6989
- disableCompletionCommand?: boolean | undefined;
6990
- marketplace?: boolean | undefined;
6991
7272
  multiFileApplyDiff?: boolean | undefined;
6992
7273
  } | undefined;
6993
7274
  codebaseIndexModels?: {
@@ -7013,6 +7294,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7013
7294
  enableMcpServerCreation?: boolean | undefined;
7014
7295
  modeApiConfigs?: Record<string, string> | undefined;
7015
7296
  customModePrompts?: Record<string, {
7297
+ description?: string | undefined;
7016
7298
  roleDefinition?: string | undefined;
7017
7299
  whenToUse?: string | undefined;
7018
7300
  customInstructions?: string | undefined;
@@ -7020,6 +7302,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7020
7302
  customSupportPrompts?: Record<string, string | undefined> | undefined;
7021
7303
  enhancementApiConfigId?: string | undefined;
7022
7304
  historyPreviewCollapsed?: boolean | undefined;
7305
+ profileThresholds?: Record<string, number> | undefined;
7306
+ hasOpenedModeSelector?: boolean | undefined;
7023
7307
  };
7024
7308
  images?: string[] | undefined;
7025
7309
  newTab?: boolean | undefined;
@@ -7035,7 +7319,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7035
7319
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7036
7320
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7037
7321
  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;
7322
+ 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
7323
  includeMaxTokens?: boolean | undefined;
7040
7324
  diffEnabled?: boolean | undefined;
7041
7325
  fuzzyMatchThreshold?: number | undefined;
@@ -7048,6 +7332,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7048
7332
  apiKey?: string | undefined;
7049
7333
  anthropicBaseUrl?: string | undefined;
7050
7334
  anthropicUseAuthToken?: boolean | undefined;
7335
+ claudeCodePath?: string | undefined;
7051
7336
  glamaModelId?: string | undefined;
7052
7337
  glamaApiKey?: string | undefined;
7053
7338
  openRouterApiKey?: string | undefined;
@@ -7151,6 +7436,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7151
7436
  description?: string | undefined;
7152
7437
  fileRegex?: string | undefined;
7153
7438
  }])[];
7439
+ description?: string | undefined;
7154
7440
  whenToUse?: string | undefined;
7155
7441
  customInstructions?: string | undefined;
7156
7442
  source?: "global" | "project" | undefined;
@@ -7159,7 +7445,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7159
7445
  listApiConfigMeta?: {
7160
7446
  name: string;
7161
7447
  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;
7448
+ 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
7449
  }[] | undefined;
7164
7450
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7165
7451
  lastShownAnnouncementId?: string | undefined;
@@ -7224,8 +7510,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7224
7510
  terminalCompressProgressBar?: boolean | undefined;
7225
7511
  experiments?: {
7226
7512
  powerSteering?: boolean | undefined;
7227
- disableCompletionCommand?: boolean | undefined;
7228
- marketplace?: boolean | undefined;
7229
7513
  multiFileApplyDiff?: boolean | undefined;
7230
7514
  } | undefined;
7231
7515
  codebaseIndexModels?: {
@@ -7251,6 +7535,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7251
7535
  enableMcpServerCreation?: boolean | undefined;
7252
7536
  modeApiConfigs?: Record<string, string> | undefined;
7253
7537
  customModePrompts?: Record<string, {
7538
+ description?: string | undefined;
7254
7539
  roleDefinition?: string | undefined;
7255
7540
  whenToUse?: string | undefined;
7256
7541
  customInstructions?: string | undefined;
@@ -7258,6 +7543,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7258
7543
  customSupportPrompts?: Record<string, string | undefined> | undefined;
7259
7544
  enhancementApiConfigId?: string | undefined;
7260
7545
  historyPreviewCollapsed?: boolean | undefined;
7546
+ profileThresholds?: Record<string, number> | undefined;
7547
+ hasOpenedModeSelector?: boolean | undefined;
7261
7548
  };
7262
7549
  images?: string[] | undefined;
7263
7550
  newTab?: boolean | undefined;
@@ -7615,7 +7902,13 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7615
7902
  }, {
7616
7903
  attempts: number;
7617
7904
  failures: number;
7618
- }>>], null>;
7905
+ }>>, z.ZodObject<{
7906
+ isSubtask: z.ZodBoolean;
7907
+ }, "strip", z.ZodTypeAny, {
7908
+ isSubtask: boolean;
7909
+ }, {
7910
+ isSubtask: boolean;
7911
+ }>], null>;
7619
7912
  taskId: z.ZodOptional<z.ZodNumber>;
7620
7913
  }, "strip", z.ZodTypeAny, {
7621
7914
  eventName: RooCodeEventName.TaskCompleted;
@@ -7629,7 +7922,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7629
7922
  }, 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
7923
  attempts: number;
7631
7924
  failures: number;
7632
- }>>];
7925
+ }>>, {
7926
+ isSubtask: boolean;
7927
+ }];
7633
7928
  taskId?: number | undefined;
7634
7929
  }, {
7635
7930
  eventName: RooCodeEventName.TaskCompleted;
@@ -7643,7 +7938,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7643
7938
  }, 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
7939
  attempts: number;
7645
7940
  failures: number;
7646
- }>>];
7941
+ }>>, {
7942
+ isSubtask: boolean;
7943
+ }];
7647
7944
  taskId?: number | undefined;
7648
7945
  }>, z.ZodObject<{
7649
7946
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -7964,24 +8261,25 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7964
8261
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
7965
8262
  glamaModelId: z.ZodOptional<z.ZodString>;
7966
8263
  glamaApiKey: z.ZodOptional<z.ZodString>;
8264
+ claudeCodePath: z.ZodOptional<z.ZodString>;
7967
8265
  apiKey: z.ZodOptional<z.ZodString>;
7968
8266
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
7969
8267
  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"]>>;
8268
+ 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
8269
  } & {
7972
8270
  currentApiConfigName: z.ZodOptional<z.ZodString>;
7973
8271
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
7974
8272
  id: z.ZodString;
7975
8273
  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"]>>;
8274
+ 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
8275
  }, "strip", z.ZodTypeAny, {
7978
8276
  name: string;
7979
8277
  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;
8278
+ 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
8279
  }, {
7982
8280
  name: string;
7983
8281
  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;
8282
+ 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
8283
  }>, "many">>;
7986
8284
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7987
8285
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -8074,18 +8372,12 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8074
8372
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
8075
8373
  experiments: z.ZodOptional<z.ZodObject<{
8076
8374
  powerSteering: z.ZodOptional<z.ZodBoolean>;
8077
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
8078
- marketplace: z.ZodOptional<z.ZodBoolean>;
8079
8375
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
8080
8376
  }, "strip", z.ZodTypeAny, {
8081
8377
  powerSteering?: boolean | undefined;
8082
- disableCompletionCommand?: boolean | undefined;
8083
- marketplace?: boolean | undefined;
8084
8378
  multiFileApplyDiff?: boolean | undefined;
8085
8379
  }, {
8086
8380
  powerSteering?: boolean | undefined;
8087
- disableCompletionCommand?: boolean | undefined;
8088
- marketplace?: boolean | undefined;
8089
8381
  multiFileApplyDiff?: boolean | undefined;
8090
8382
  }>>;
8091
8383
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
@@ -8161,6 +8453,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8161
8453
  name: z.ZodString;
8162
8454
  roleDefinition: z.ZodString;
8163
8455
  whenToUse: z.ZodOptional<z.ZodString>;
8456
+ description: z.ZodOptional<z.ZodString>;
8164
8457
  customInstructions: z.ZodOptional<z.ZodString>;
8165
8458
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
8166
8459
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -8187,6 +8480,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8187
8480
  description?: string | undefined;
8188
8481
  fileRegex?: string | undefined;
8189
8482
  }])[];
8483
+ description?: string | undefined;
8190
8484
  whenToUse?: string | undefined;
8191
8485
  customInstructions?: string | undefined;
8192
8486
  source?: "global" | "project" | undefined;
@@ -8198,6 +8492,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8198
8492
  description?: string | undefined;
8199
8493
  fileRegex?: string | undefined;
8200
8494
  }])[];
8495
+ description?: string | undefined;
8201
8496
  whenToUse?: string | undefined;
8202
8497
  customInstructions?: string | undefined;
8203
8498
  source?: "global" | "project" | undefined;
@@ -8205,12 +8500,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8205
8500
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
8206
8501
  roleDefinition: z.ZodOptional<z.ZodString>;
8207
8502
  whenToUse: z.ZodOptional<z.ZodString>;
8503
+ description: z.ZodOptional<z.ZodString>;
8208
8504
  customInstructions: z.ZodOptional<z.ZodString>;
8209
8505
  }, "strip", z.ZodTypeAny, {
8506
+ description?: string | undefined;
8210
8507
  roleDefinition?: string | undefined;
8211
8508
  whenToUse?: string | undefined;
8212
8509
  customInstructions?: string | undefined;
8213
8510
  }, {
8511
+ description?: string | undefined;
8214
8512
  roleDefinition?: string | undefined;
8215
8513
  whenToUse?: string | undefined;
8216
8514
  customInstructions?: string | undefined;
@@ -8218,6 +8516,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8218
8516
  customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
8219
8517
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
8220
8518
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
8519
+ profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
8520
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
8221
8521
  }, "strip", z.ZodTypeAny, {
8222
8522
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8223
8523
  codeIndexOpenAiKey?: string | undefined;
@@ -8225,7 +8525,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8225
8525
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8226
8526
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8227
8527
  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;
8528
+ 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
8529
  includeMaxTokens?: boolean | undefined;
8230
8530
  diffEnabled?: boolean | undefined;
8231
8531
  fuzzyMatchThreshold?: number | undefined;
@@ -8238,6 +8538,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8238
8538
  apiKey?: string | undefined;
8239
8539
  anthropicBaseUrl?: string | undefined;
8240
8540
  anthropicUseAuthToken?: boolean | undefined;
8541
+ claudeCodePath?: string | undefined;
8241
8542
  glamaModelId?: string | undefined;
8242
8543
  glamaApiKey?: string | undefined;
8243
8544
  openRouterApiKey?: string | undefined;
@@ -8341,6 +8642,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8341
8642
  description?: string | undefined;
8342
8643
  fileRegex?: string | undefined;
8343
8644
  }])[];
8645
+ description?: string | undefined;
8344
8646
  whenToUse?: string | undefined;
8345
8647
  customInstructions?: string | undefined;
8346
8648
  source?: "global" | "project" | undefined;
@@ -8349,7 +8651,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8349
8651
  listApiConfigMeta?: {
8350
8652
  name: string;
8351
8653
  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;
8654
+ 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
8655
  }[] | undefined;
8354
8656
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8355
8657
  lastShownAnnouncementId?: string | undefined;
@@ -8414,8 +8716,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8414
8716
  terminalCompressProgressBar?: boolean | undefined;
8415
8717
  experiments?: {
8416
8718
  powerSteering?: boolean | undefined;
8417
- disableCompletionCommand?: boolean | undefined;
8418
- marketplace?: boolean | undefined;
8419
8719
  multiFileApplyDiff?: boolean | undefined;
8420
8720
  } | undefined;
8421
8721
  codebaseIndexModels?: {
@@ -8441,6 +8741,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8441
8741
  enableMcpServerCreation?: boolean | undefined;
8442
8742
  modeApiConfigs?: Record<string, string> | undefined;
8443
8743
  customModePrompts?: Record<string, {
8744
+ description?: string | undefined;
8444
8745
  roleDefinition?: string | undefined;
8445
8746
  whenToUse?: string | undefined;
8446
8747
  customInstructions?: string | undefined;
@@ -8448,6 +8749,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8448
8749
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8449
8750
  enhancementApiConfigId?: string | undefined;
8450
8751
  historyPreviewCollapsed?: boolean | undefined;
8752
+ profileThresholds?: Record<string, number> | undefined;
8753
+ hasOpenedModeSelector?: boolean | undefined;
8451
8754
  }, {
8452
8755
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8453
8756
  codeIndexOpenAiKey?: string | undefined;
@@ -8455,7 +8758,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8455
8758
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8456
8759
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8457
8760
  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;
8761
+ 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
8762
  includeMaxTokens?: boolean | undefined;
8460
8763
  diffEnabled?: boolean | undefined;
8461
8764
  fuzzyMatchThreshold?: number | undefined;
@@ -8468,6 +8771,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8468
8771
  apiKey?: string | undefined;
8469
8772
  anthropicBaseUrl?: string | undefined;
8470
8773
  anthropicUseAuthToken?: boolean | undefined;
8774
+ claudeCodePath?: string | undefined;
8471
8775
  glamaModelId?: string | undefined;
8472
8776
  glamaApiKey?: string | undefined;
8473
8777
  openRouterApiKey?: string | undefined;
@@ -8571,6 +8875,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8571
8875
  description?: string | undefined;
8572
8876
  fileRegex?: string | undefined;
8573
8877
  }])[];
8878
+ description?: string | undefined;
8574
8879
  whenToUse?: string | undefined;
8575
8880
  customInstructions?: string | undefined;
8576
8881
  source?: "global" | "project" | undefined;
@@ -8579,7 +8884,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8579
8884
  listApiConfigMeta?: {
8580
8885
  name: string;
8581
8886
  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;
8887
+ 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
8888
  }[] | undefined;
8584
8889
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8585
8890
  lastShownAnnouncementId?: string | undefined;
@@ -8644,8 +8949,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8644
8949
  terminalCompressProgressBar?: boolean | undefined;
8645
8950
  experiments?: {
8646
8951
  powerSteering?: boolean | undefined;
8647
- disableCompletionCommand?: boolean | undefined;
8648
- marketplace?: boolean | undefined;
8649
8952
  multiFileApplyDiff?: boolean | undefined;
8650
8953
  } | undefined;
8651
8954
  codebaseIndexModels?: {
@@ -8671,6 +8974,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8671
8974
  enableMcpServerCreation?: boolean | undefined;
8672
8975
  modeApiConfigs?: Record<string, string> | undefined;
8673
8976
  customModePrompts?: Record<string, {
8977
+ description?: string | undefined;
8674
8978
  roleDefinition?: string | undefined;
8675
8979
  whenToUse?: string | undefined;
8676
8980
  customInstructions?: string | undefined;
@@ -8678,6 +8982,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8678
8982
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8679
8983
  enhancementApiConfigId?: string | undefined;
8680
8984
  historyPreviewCollapsed?: boolean | undefined;
8985
+ profileThresholds?: Record<string, number> | undefined;
8986
+ hasOpenedModeSelector?: boolean | undefined;
8681
8987
  }>;
8682
8988
  text: z.ZodString;
8683
8989
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8691,7 +8997,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8691
8997
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8692
8998
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8693
8999
  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;
9000
+ 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
9001
  includeMaxTokens?: boolean | undefined;
8696
9002
  diffEnabled?: boolean | undefined;
8697
9003
  fuzzyMatchThreshold?: number | undefined;
@@ -8704,6 +9010,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8704
9010
  apiKey?: string | undefined;
8705
9011
  anthropicBaseUrl?: string | undefined;
8706
9012
  anthropicUseAuthToken?: boolean | undefined;
9013
+ claudeCodePath?: string | undefined;
8707
9014
  glamaModelId?: string | undefined;
8708
9015
  glamaApiKey?: string | undefined;
8709
9016
  openRouterApiKey?: string | undefined;
@@ -8807,6 +9114,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8807
9114
  description?: string | undefined;
8808
9115
  fileRegex?: string | undefined;
8809
9116
  }])[];
9117
+ description?: string | undefined;
8810
9118
  whenToUse?: string | undefined;
8811
9119
  customInstructions?: string | undefined;
8812
9120
  source?: "global" | "project" | undefined;
@@ -8815,7 +9123,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8815
9123
  listApiConfigMeta?: {
8816
9124
  name: string;
8817
9125
  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;
9126
+ 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
9127
  }[] | undefined;
8820
9128
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8821
9129
  lastShownAnnouncementId?: string | undefined;
@@ -8880,8 +9188,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8880
9188
  terminalCompressProgressBar?: boolean | undefined;
8881
9189
  experiments?: {
8882
9190
  powerSteering?: boolean | undefined;
8883
- disableCompletionCommand?: boolean | undefined;
8884
- marketplace?: boolean | undefined;
8885
9191
  multiFileApplyDiff?: boolean | undefined;
8886
9192
  } | undefined;
8887
9193
  codebaseIndexModels?: {
@@ -8907,6 +9213,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8907
9213
  enableMcpServerCreation?: boolean | undefined;
8908
9214
  modeApiConfigs?: Record<string, string> | undefined;
8909
9215
  customModePrompts?: Record<string, {
9216
+ description?: string | undefined;
8910
9217
  roleDefinition?: string | undefined;
8911
9218
  whenToUse?: string | undefined;
8912
9219
  customInstructions?: string | undefined;
@@ -8914,6 +9221,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8914
9221
  customSupportPrompts?: Record<string, string | undefined> | undefined;
8915
9222
  enhancementApiConfigId?: string | undefined;
8916
9223
  historyPreviewCollapsed?: boolean | undefined;
9224
+ profileThresholds?: Record<string, number> | undefined;
9225
+ hasOpenedModeSelector?: boolean | undefined;
8917
9226
  };
8918
9227
  images?: string[] | undefined;
8919
9228
  newTab?: boolean | undefined;
@@ -8926,7 +9235,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8926
9235
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8927
9236
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8928
9237
  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;
9238
+ 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
9239
  includeMaxTokens?: boolean | undefined;
8931
9240
  diffEnabled?: boolean | undefined;
8932
9241
  fuzzyMatchThreshold?: number | undefined;
@@ -8939,6 +9248,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8939
9248
  apiKey?: string | undefined;
8940
9249
  anthropicBaseUrl?: string | undefined;
8941
9250
  anthropicUseAuthToken?: boolean | undefined;
9251
+ claudeCodePath?: string | undefined;
8942
9252
  glamaModelId?: string | undefined;
8943
9253
  glamaApiKey?: string | undefined;
8944
9254
  openRouterApiKey?: string | undefined;
@@ -9042,6 +9352,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9042
9352
  description?: string | undefined;
9043
9353
  fileRegex?: string | undefined;
9044
9354
  }])[];
9355
+ description?: string | undefined;
9045
9356
  whenToUse?: string | undefined;
9046
9357
  customInstructions?: string | undefined;
9047
9358
  source?: "global" | "project" | undefined;
@@ -9050,7 +9361,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9050
9361
  listApiConfigMeta?: {
9051
9362
  name: string;
9052
9363
  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;
9364
+ 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
9365
  }[] | undefined;
9055
9366
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9056
9367
  lastShownAnnouncementId?: string | undefined;
@@ -9115,8 +9426,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9115
9426
  terminalCompressProgressBar?: boolean | undefined;
9116
9427
  experiments?: {
9117
9428
  powerSteering?: boolean | undefined;
9118
- disableCompletionCommand?: boolean | undefined;
9119
- marketplace?: boolean | undefined;
9120
9429
  multiFileApplyDiff?: boolean | undefined;
9121
9430
  } | undefined;
9122
9431
  codebaseIndexModels?: {
@@ -9142,6 +9451,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9142
9451
  enableMcpServerCreation?: boolean | undefined;
9143
9452
  modeApiConfigs?: Record<string, string> | undefined;
9144
9453
  customModePrompts?: Record<string, {
9454
+ description?: string | undefined;
9145
9455
  roleDefinition?: string | undefined;
9146
9456
  whenToUse?: string | undefined;
9147
9457
  customInstructions?: string | undefined;
@@ -9149,6 +9459,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9149
9459
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9150
9460
  enhancementApiConfigId?: string | undefined;
9151
9461
  historyPreviewCollapsed?: boolean | undefined;
9462
+ profileThresholds?: Record<string, number> | undefined;
9463
+ hasOpenedModeSelector?: boolean | undefined;
9152
9464
  };
9153
9465
  images?: string[] | undefined;
9154
9466
  newTab?: boolean | undefined;
@@ -9164,7 +9476,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9164
9476
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9165
9477
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9166
9478
  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;
9479
+ 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
9480
  includeMaxTokens?: boolean | undefined;
9169
9481
  diffEnabled?: boolean | undefined;
9170
9482
  fuzzyMatchThreshold?: number | undefined;
@@ -9177,6 +9489,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9177
9489
  apiKey?: string | undefined;
9178
9490
  anthropicBaseUrl?: string | undefined;
9179
9491
  anthropicUseAuthToken?: boolean | undefined;
9492
+ claudeCodePath?: string | undefined;
9180
9493
  glamaModelId?: string | undefined;
9181
9494
  glamaApiKey?: string | undefined;
9182
9495
  openRouterApiKey?: string | undefined;
@@ -9280,6 +9593,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9280
9593
  description?: string | undefined;
9281
9594
  fileRegex?: string | undefined;
9282
9595
  }])[];
9596
+ description?: string | undefined;
9283
9597
  whenToUse?: string | undefined;
9284
9598
  customInstructions?: string | undefined;
9285
9599
  source?: "global" | "project" | undefined;
@@ -9288,7 +9602,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9288
9602
  listApiConfigMeta?: {
9289
9603
  name: string;
9290
9604
  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;
9605
+ 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
9606
  }[] | undefined;
9293
9607
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9294
9608
  lastShownAnnouncementId?: string | undefined;
@@ -9353,8 +9667,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9353
9667
  terminalCompressProgressBar?: boolean | undefined;
9354
9668
  experiments?: {
9355
9669
  powerSteering?: boolean | undefined;
9356
- disableCompletionCommand?: boolean | undefined;
9357
- marketplace?: boolean | undefined;
9358
9670
  multiFileApplyDiff?: boolean | undefined;
9359
9671
  } | undefined;
9360
9672
  codebaseIndexModels?: {
@@ -9380,6 +9692,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9380
9692
  enableMcpServerCreation?: boolean | undefined;
9381
9693
  modeApiConfigs?: Record<string, string> | undefined;
9382
9694
  customModePrompts?: Record<string, {
9695
+ description?: string | undefined;
9383
9696
  roleDefinition?: string | undefined;
9384
9697
  whenToUse?: string | undefined;
9385
9698
  customInstructions?: string | undefined;
@@ -9387,6 +9700,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9387
9700
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9388
9701
  enhancementApiConfigId?: string | undefined;
9389
9702
  historyPreviewCollapsed?: boolean | undefined;
9703
+ profileThresholds?: Record<string, number> | undefined;
9704
+ hasOpenedModeSelector?: boolean | undefined;
9390
9705
  };
9391
9706
  images?: string[] | undefined;
9392
9707
  newTab?: boolean | undefined;
@@ -9402,7 +9717,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9402
9717
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9403
9718
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9404
9719
  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;
9720
+ 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
9721
  includeMaxTokens?: boolean | undefined;
9407
9722
  diffEnabled?: boolean | undefined;
9408
9723
  fuzzyMatchThreshold?: number | undefined;
@@ -9415,6 +9730,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9415
9730
  apiKey?: string | undefined;
9416
9731
  anthropicBaseUrl?: string | undefined;
9417
9732
  anthropicUseAuthToken?: boolean | undefined;
9733
+ claudeCodePath?: string | undefined;
9418
9734
  glamaModelId?: string | undefined;
9419
9735
  glamaApiKey?: string | undefined;
9420
9736
  openRouterApiKey?: string | undefined;
@@ -9518,6 +9834,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9518
9834
  description?: string | undefined;
9519
9835
  fileRegex?: string | undefined;
9520
9836
  }])[];
9837
+ description?: string | undefined;
9521
9838
  whenToUse?: string | undefined;
9522
9839
  customInstructions?: string | undefined;
9523
9840
  source?: "global" | "project" | undefined;
@@ -9526,7 +9843,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9526
9843
  listApiConfigMeta?: {
9527
9844
  name: string;
9528
9845
  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;
9846
+ 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
9847
  }[] | undefined;
9531
9848
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9532
9849
  lastShownAnnouncementId?: string | undefined;
@@ -9591,8 +9908,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9591
9908
  terminalCompressProgressBar?: boolean | undefined;
9592
9909
  experiments?: {
9593
9910
  powerSteering?: boolean | undefined;
9594
- disableCompletionCommand?: boolean | undefined;
9595
- marketplace?: boolean | undefined;
9596
9911
  multiFileApplyDiff?: boolean | undefined;
9597
9912
  } | undefined;
9598
9913
  codebaseIndexModels?: {
@@ -9618,6 +9933,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9618
9933
  enableMcpServerCreation?: boolean | undefined;
9619
9934
  modeApiConfigs?: Record<string, string> | undefined;
9620
9935
  customModePrompts?: Record<string, {
9936
+ description?: string | undefined;
9621
9937
  roleDefinition?: string | undefined;
9622
9938
  whenToUse?: string | undefined;
9623
9939
  customInstructions?: string | undefined;
@@ -9625,6 +9941,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9625
9941
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9626
9942
  enhancementApiConfigId?: string | undefined;
9627
9943
  historyPreviewCollapsed?: boolean | undefined;
9944
+ profileThresholds?: Record<string, number> | undefined;
9945
+ hasOpenedModeSelector?: boolean | undefined;
9628
9946
  };
9629
9947
  images?: string[] | undefined;
9630
9948
  newTab?: boolean | undefined;
@@ -9662,7 +9980,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9662
9980
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9663
9981
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9664
9982
  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;
9983
+ 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
9984
  includeMaxTokens?: boolean | undefined;
9667
9985
  diffEnabled?: boolean | undefined;
9668
9986
  fuzzyMatchThreshold?: number | undefined;
@@ -9675,6 +9993,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9675
9993
  apiKey?: string | undefined;
9676
9994
  anthropicBaseUrl?: string | undefined;
9677
9995
  anthropicUseAuthToken?: boolean | undefined;
9996
+ claudeCodePath?: string | undefined;
9678
9997
  glamaModelId?: string | undefined;
9679
9998
  glamaApiKey?: string | undefined;
9680
9999
  openRouterApiKey?: string | undefined;
@@ -9778,6 +10097,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9778
10097
  description?: string | undefined;
9779
10098
  fileRegex?: string | undefined;
9780
10099
  }])[];
10100
+ description?: string | undefined;
9781
10101
  whenToUse?: string | undefined;
9782
10102
  customInstructions?: string | undefined;
9783
10103
  source?: "global" | "project" | undefined;
@@ -9786,7 +10106,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9786
10106
  listApiConfigMeta?: {
9787
10107
  name: string;
9788
10108
  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;
10109
+ 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
10110
  }[] | undefined;
9791
10111
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9792
10112
  lastShownAnnouncementId?: string | undefined;
@@ -9851,8 +10171,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9851
10171
  terminalCompressProgressBar?: boolean | undefined;
9852
10172
  experiments?: {
9853
10173
  powerSteering?: boolean | undefined;
9854
- disableCompletionCommand?: boolean | undefined;
9855
- marketplace?: boolean | undefined;
9856
10174
  multiFileApplyDiff?: boolean | undefined;
9857
10175
  } | undefined;
9858
10176
  codebaseIndexModels?: {
@@ -9878,6 +10196,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9878
10196
  enableMcpServerCreation?: boolean | undefined;
9879
10197
  modeApiConfigs?: Record<string, string> | undefined;
9880
10198
  customModePrompts?: Record<string, {
10199
+ description?: string | undefined;
9881
10200
  roleDefinition?: string | undefined;
9882
10201
  whenToUse?: string | undefined;
9883
10202
  customInstructions?: string | undefined;
@@ -9885,6 +10204,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9885
10204
  customSupportPrompts?: Record<string, string | undefined> | undefined;
9886
10205
  enhancementApiConfigId?: string | undefined;
9887
10206
  historyPreviewCollapsed?: boolean | undefined;
10207
+ profileThresholds?: Record<string, number> | undefined;
10208
+ hasOpenedModeSelector?: boolean | undefined;
9888
10209
  };
9889
10210
  images?: string[] | undefined;
9890
10211
  newTab?: boolean | undefined;
@@ -9911,7 +10232,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9911
10232
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9912
10233
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9913
10234
  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;
10235
+ 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
10236
  includeMaxTokens?: boolean | undefined;
9916
10237
  diffEnabled?: boolean | undefined;
9917
10238
  fuzzyMatchThreshold?: number | undefined;
@@ -9924,6 +10245,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9924
10245
  apiKey?: string | undefined;
9925
10246
  anthropicBaseUrl?: string | undefined;
9926
10247
  anthropicUseAuthToken?: boolean | undefined;
10248
+ claudeCodePath?: string | undefined;
9927
10249
  glamaModelId?: string | undefined;
9928
10250
  glamaApiKey?: string | undefined;
9929
10251
  openRouterApiKey?: string | undefined;
@@ -10027,6 +10349,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10027
10349
  description?: string | undefined;
10028
10350
  fileRegex?: string | undefined;
10029
10351
  }])[];
10352
+ description?: string | undefined;
10030
10353
  whenToUse?: string | undefined;
10031
10354
  customInstructions?: string | undefined;
10032
10355
  source?: "global" | "project" | undefined;
@@ -10035,7 +10358,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10035
10358
  listApiConfigMeta?: {
10036
10359
  name: string;
10037
10360
  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;
10361
+ 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
10362
  }[] | undefined;
10040
10363
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10041
10364
  lastShownAnnouncementId?: string | undefined;
@@ -10100,8 +10423,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10100
10423
  terminalCompressProgressBar?: boolean | undefined;
10101
10424
  experiments?: {
10102
10425
  powerSteering?: boolean | undefined;
10103
- disableCompletionCommand?: boolean | undefined;
10104
- marketplace?: boolean | undefined;
10105
10426
  multiFileApplyDiff?: boolean | undefined;
10106
10427
  } | undefined;
10107
10428
  codebaseIndexModels?: {
@@ -10127,6 +10448,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10127
10448
  enableMcpServerCreation?: boolean | undefined;
10128
10449
  modeApiConfigs?: Record<string, string> | undefined;
10129
10450
  customModePrompts?: Record<string, {
10451
+ description?: string | undefined;
10130
10452
  roleDefinition?: string | undefined;
10131
10453
  whenToUse?: string | undefined;
10132
10454
  customInstructions?: string | undefined;
@@ -10134,6 +10456,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10134
10456
  customSupportPrompts?: Record<string, string | undefined> | undefined;
10135
10457
  enhancementApiConfigId?: string | undefined;
10136
10458
  historyPreviewCollapsed?: boolean | undefined;
10459
+ profileThresholds?: Record<string, number> | undefined;
10460
+ hasOpenedModeSelector?: boolean | undefined;
10137
10461
  };
10138
10462
  images?: string[] | undefined;
10139
10463
  newTab?: boolean | undefined;
@@ -10480,7 +10804,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10480
10804
  }, {
10481
10805
  attempts: number;
10482
10806
  failures: number;
10483
- }>>], null>;
10807
+ }>>, z.ZodObject<{
10808
+ isSubtask: z.ZodBoolean;
10809
+ }, "strip", z.ZodTypeAny, {
10810
+ isSubtask: boolean;
10811
+ }, {
10812
+ isSubtask: boolean;
10813
+ }>], null>;
10484
10814
  taskId: z.ZodOptional<z.ZodNumber>;
10485
10815
  }, "strip", z.ZodTypeAny, {
10486
10816
  eventName: RooCodeEventName.TaskCompleted;
@@ -10494,7 +10824,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10494
10824
  }, 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
10825
  attempts: number;
10496
10826
  failures: number;
10497
- }>>];
10827
+ }>>, {
10828
+ isSubtask: boolean;
10829
+ }];
10498
10830
  taskId?: number | undefined;
10499
10831
  }, {
10500
10832
  eventName: RooCodeEventName.TaskCompleted;
@@ -10508,7 +10840,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10508
10840
  }, 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
10841
  attempts: number;
10510
10842
  failures: number;
10511
- }>>];
10843
+ }>>, {
10844
+ isSubtask: boolean;
10845
+ }];
10512
10846
  taskId?: number | undefined;
10513
10847
  }>, z.ZodObject<{
10514
10848
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -10670,7 +11004,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10670
11004
  }, 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
11005
  attempts: number;
10672
11006
  failures: number;
10673
- }>>];
11007
+ }>>, {
11008
+ isSubtask: boolean;
11009
+ }];
10674
11010
  taskId?: number | undefined;
10675
11011
  } | {
10676
11012
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -10774,7 +11110,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10774
11110
  }, 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
11111
  attempts: number;
10776
11112
  failures: number;
10777
- }>>];
11113
+ }>>, {
11114
+ isSubtask: boolean;
11115
+ }];
10778
11116
  taskId?: number | undefined;
10779
11117
  } | {
10780
11118
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -10838,7 +11176,7 @@ interface RooCodeAPIEvents {
10838
11176
  taskAskResponded: [taskId: string];
10839
11177
  taskAborted: [taskId: string];
10840
11178
  taskSpawned: [parentTaskId: string, childTaskId: string];
10841
- taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
11179
+ taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage, isSubtask: IsSubtask];
10842
11180
  taskTokenUsageUpdated: [taskId: string, tokenUsage: TokenUsage];
10843
11181
  taskToolFailed: [taskId: string, toolName: ToolName, error: string];
10844
11182
  }
@@ -11075,6 +11413,7 @@ interface CloudUserInfo {
11075
11413
  organizationId?: string;
11076
11414
  organizationName?: string;
11077
11415
  organizationRole?: string;
11416
+ organizationImageUrl?: string;
11078
11417
  }
11079
11418
  /**
11080
11419
  * CloudOrganization Types
@@ -11341,40 +11680,40 @@ declare const shareResponseSchema: z.ZodObject<{
11341
11680
  success: z.ZodBoolean;
11342
11681
  shareUrl: z.ZodOptional<z.ZodString>;
11343
11682
  error: z.ZodOptional<z.ZodString>;
11683
+ isNewShare: z.ZodOptional<z.ZodBoolean>;
11684
+ manageUrl: z.ZodOptional<z.ZodString>;
11344
11685
  }, "strip", z.ZodTypeAny, {
11345
11686
  success: boolean;
11346
11687
  error?: string | undefined;
11347
11688
  shareUrl?: string | undefined;
11689
+ isNewShare?: boolean | undefined;
11690
+ manageUrl?: string | undefined;
11348
11691
  }, {
11349
11692
  success: boolean;
11350
11693
  error?: string | undefined;
11351
11694
  shareUrl?: string | undefined;
11695
+ isNewShare?: boolean | undefined;
11696
+ manageUrl?: string | undefined;
11352
11697
  }>;
11353
11698
  type ShareResponse = z.infer<typeof shareResponseSchema>;
11354
11699
 
11355
11700
  /**
11356
11701
  * ExperimentId
11357
11702
  */
11358
- declare const experimentIds: readonly ["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"];
11359
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"]>;
11703
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff"];
11704
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff"]>;
11360
11705
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
11361
11706
  /**
11362
11707
  * Experiments
11363
11708
  */
11364
11709
  declare const experimentsSchema: z.ZodObject<{
11365
11710
  powerSteering: z.ZodOptional<z.ZodBoolean>;
11366
- disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
11367
- marketplace: z.ZodOptional<z.ZodBoolean>;
11368
11711
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
11369
11712
  }, "strip", z.ZodTypeAny, {
11370
11713
  powerSteering?: boolean | undefined;
11371
- disableCompletionCommand?: boolean | undefined;
11372
- marketplace?: boolean | undefined;
11373
11714
  multiFileApplyDiff?: boolean | undefined;
11374
11715
  }, {
11375
11716
  powerSteering?: boolean | undefined;
11376
- disableCompletionCommand?: boolean | undefined;
11377
- marketplace?: boolean | undefined;
11378
11717
  multiFileApplyDiff?: boolean | undefined;
11379
11718
  }>;
11380
11719
  type Experiments = z.infer<typeof experimentsSchema>;
@@ -11910,6 +12249,7 @@ declare const modeConfigSchema: z.ZodObject<{
11910
12249
  name: z.ZodString;
11911
12250
  roleDefinition: z.ZodString;
11912
12251
  whenToUse: z.ZodOptional<z.ZodString>;
12252
+ description: z.ZodOptional<z.ZodString>;
11913
12253
  customInstructions: z.ZodOptional<z.ZodString>;
11914
12254
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
11915
12255
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -11936,6 +12276,7 @@ declare const modeConfigSchema: z.ZodObject<{
11936
12276
  description?: string | undefined;
11937
12277
  fileRegex?: string | undefined;
11938
12278
  }])[];
12279
+ description?: string | undefined;
11939
12280
  whenToUse?: string | undefined;
11940
12281
  customInstructions?: string | undefined;
11941
12282
  source?: "global" | "project" | undefined;
@@ -11947,6 +12288,7 @@ declare const modeConfigSchema: z.ZodObject<{
11947
12288
  description?: string | undefined;
11948
12289
  fileRegex?: string | undefined;
11949
12290
  }])[];
12291
+ description?: string | undefined;
11950
12292
  whenToUse?: string | undefined;
11951
12293
  customInstructions?: string | undefined;
11952
12294
  source?: "global" | "project" | undefined;
@@ -11961,6 +12303,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
11961
12303
  name: z.ZodString;
11962
12304
  roleDefinition: z.ZodString;
11963
12305
  whenToUse: z.ZodOptional<z.ZodString>;
12306
+ description: z.ZodOptional<z.ZodString>;
11964
12307
  customInstructions: z.ZodOptional<z.ZodString>;
11965
12308
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
11966
12309
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -11987,6 +12330,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
11987
12330
  description?: string | undefined;
11988
12331
  fileRegex?: string | undefined;
11989
12332
  }])[];
12333
+ description?: string | undefined;
11990
12334
  whenToUse?: string | undefined;
11991
12335
  customInstructions?: string | undefined;
11992
12336
  source?: "global" | "project" | undefined;
@@ -11998,6 +12342,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
11998
12342
  description?: string | undefined;
11999
12343
  fileRegex?: string | undefined;
12000
12344
  }])[];
12345
+ description?: string | undefined;
12001
12346
  whenToUse?: string | undefined;
12002
12347
  customInstructions?: string | undefined;
12003
12348
  source?: "global" | "project" | undefined;
@@ -12009,6 +12354,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12009
12354
  description?: string | undefined;
12010
12355
  fileRegex?: string | undefined;
12011
12356
  }])[];
12357
+ description?: string | undefined;
12012
12358
  whenToUse?: string | undefined;
12013
12359
  customInstructions?: string | undefined;
12014
12360
  source?: "global" | "project" | undefined;
@@ -12020,6 +12366,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12020
12366
  description?: string | undefined;
12021
12367
  fileRegex?: string | undefined;
12022
12368
  }])[];
12369
+ description?: string | undefined;
12023
12370
  whenToUse?: string | undefined;
12024
12371
  customInstructions?: string | undefined;
12025
12372
  source?: "global" | "project" | undefined;
@@ -12033,6 +12380,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12033
12380
  description?: string | undefined;
12034
12381
  fileRegex?: string | undefined;
12035
12382
  }])[];
12383
+ description?: string | undefined;
12036
12384
  whenToUse?: string | undefined;
12037
12385
  customInstructions?: string | undefined;
12038
12386
  source?: "global" | "project" | undefined;
@@ -12046,6 +12394,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12046
12394
  description?: string | undefined;
12047
12395
  fileRegex?: string | undefined;
12048
12396
  }])[];
12397
+ description?: string | undefined;
12049
12398
  whenToUse?: string | undefined;
12050
12399
  customInstructions?: string | undefined;
12051
12400
  source?: "global" | "project" | undefined;
@@ -12058,12 +12407,15 @@ type CustomModesSettings = z.infer<typeof customModesSettingsSchema>;
12058
12407
  declare const promptComponentSchema: z.ZodObject<{
12059
12408
  roleDefinition: z.ZodOptional<z.ZodString>;
12060
12409
  whenToUse: z.ZodOptional<z.ZodString>;
12410
+ description: z.ZodOptional<z.ZodString>;
12061
12411
  customInstructions: z.ZodOptional<z.ZodString>;
12062
12412
  }, "strip", z.ZodTypeAny, {
12413
+ description?: string | undefined;
12063
12414
  roleDefinition?: string | undefined;
12064
12415
  whenToUse?: string | undefined;
12065
12416
  customInstructions?: string | undefined;
12066
12417
  }, {
12418
+ description?: string | undefined;
12067
12419
  roleDefinition?: string | undefined;
12068
12420
  whenToUse?: string | undefined;
12069
12421
  customInstructions?: string | undefined;
@@ -12075,12 +12427,15 @@ type PromptComponent = z.infer<typeof promptComponentSchema>;
12075
12427
  declare const customModePromptsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
12076
12428
  roleDefinition: z.ZodOptional<z.ZodString>;
12077
12429
  whenToUse: z.ZodOptional<z.ZodString>;
12430
+ description: z.ZodOptional<z.ZodString>;
12078
12431
  customInstructions: z.ZodOptional<z.ZodString>;
12079
12432
  }, "strip", z.ZodTypeAny, {
12433
+ description?: string | undefined;
12080
12434
  roleDefinition?: string | undefined;
12081
12435
  whenToUse?: string | undefined;
12082
12436
  customInstructions?: string | undefined;
12083
12437
  }, {
12438
+ description?: string | undefined;
12084
12439
  roleDefinition?: string | undefined;
12085
12440
  whenToUse?: string | undefined;
12086
12441
  customInstructions?: string | undefined;
@@ -12113,6 +12468,9 @@ declare enum TelemetryEventName {
12113
12468
  CHECKPOINT_CREATED = "Checkpoint Created",
12114
12469
  CHECKPOINT_RESTORED = "Checkpoint Restored",
12115
12470
  CHECKPOINT_DIFFED = "Checkpoint Diffed",
12471
+ TAB_SHOWN = "Tab Shown",
12472
+ MODE_SETTINGS_CHANGED = "Mode Setting Changed",
12473
+ CUSTOM_MODE_CREATED = "Custom Mode Created",
12116
12474
  CONTEXT_CONDENSED = "Context Condensed",
12117
12475
  SLIDING_WINDOW_TRUNCATION = "Sliding Window Truncation",
12118
12476
  CODE_ACTION_USED = "Code Action Used",
@@ -12158,26 +12516,91 @@ declare const appPropertiesSchema: z.ZodObject<{
12158
12516
  }>;
12159
12517
  declare const taskPropertiesSchema: z.ZodObject<{
12160
12518
  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"]>>;
12519
+ 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
12520
  modelId: z.ZodOptional<z.ZodString>;
12163
12521
  diffStrategy: z.ZodOptional<z.ZodString>;
12164
12522
  isSubtask: z.ZodOptional<z.ZodBoolean>;
12165
12523
  }, "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;
12524
+ 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
12525
  taskId?: string | undefined;
12168
12526
  modelId?: string | undefined;
12169
12527
  diffStrategy?: string | undefined;
12170
12528
  isSubtask?: boolean | undefined;
12171
12529
  }, {
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;
12530
+ 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
12531
  taskId?: string | undefined;
12174
12532
  modelId?: string | undefined;
12175
12533
  diffStrategy?: string | undefined;
12176
12534
  isSubtask?: boolean | undefined;
12177
12535
  }>;
12536
+ declare const gitPropertiesSchema: z.ZodObject<{
12537
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12538
+ repositoryName: z.ZodOptional<z.ZodString>;
12539
+ defaultBranch: z.ZodOptional<z.ZodString>;
12540
+ }, "strip", z.ZodTypeAny, {
12541
+ repositoryUrl?: string | undefined;
12542
+ repositoryName?: string | undefined;
12543
+ defaultBranch?: string | undefined;
12544
+ }, {
12545
+ repositoryUrl?: string | undefined;
12546
+ repositoryName?: string | undefined;
12547
+ defaultBranch?: string | undefined;
12548
+ }>;
12178
12549
  declare const telemetryPropertiesSchema: z.ZodObject<{
12550
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12551
+ repositoryName: z.ZodOptional<z.ZodString>;
12552
+ defaultBranch: z.ZodOptional<z.ZodString>;
12553
+ taskId: z.ZodOptional<z.ZodString>;
12554
+ 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"]>>;
12555
+ modelId: z.ZodOptional<z.ZodString>;
12556
+ diffStrategy: z.ZodOptional<z.ZodString>;
12557
+ isSubtask: z.ZodOptional<z.ZodBoolean>;
12558
+ appName: z.ZodString;
12559
+ appVersion: z.ZodString;
12560
+ vscodeVersion: z.ZodString;
12561
+ platform: z.ZodString;
12562
+ editorName: z.ZodString;
12563
+ language: z.ZodString;
12564
+ mode: z.ZodString;
12565
+ }, "strip", z.ZodTypeAny, {
12566
+ appName: string;
12567
+ appVersion: string;
12568
+ vscodeVersion: string;
12569
+ platform: string;
12570
+ editorName: string;
12571
+ language: string;
12572
+ mode: string;
12573
+ 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;
12574
+ taskId?: string | undefined;
12575
+ modelId?: string | undefined;
12576
+ diffStrategy?: string | undefined;
12577
+ isSubtask?: boolean | undefined;
12578
+ repositoryUrl?: string | undefined;
12579
+ repositoryName?: string | undefined;
12580
+ defaultBranch?: string | undefined;
12581
+ }, {
12582
+ appName: string;
12583
+ appVersion: string;
12584
+ vscodeVersion: string;
12585
+ platform: string;
12586
+ editorName: string;
12587
+ language: string;
12588
+ mode: string;
12589
+ 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;
12590
+ taskId?: string | undefined;
12591
+ modelId?: string | undefined;
12592
+ diffStrategy?: string | undefined;
12593
+ isSubtask?: boolean | undefined;
12594
+ repositoryUrl?: string | undefined;
12595
+ repositoryName?: string | undefined;
12596
+ defaultBranch?: string | undefined;
12597
+ }>;
12598
+ declare const cloudTelemetryPropertiesSchema: z.ZodObject<{
12599
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12600
+ repositoryName: z.ZodOptional<z.ZodString>;
12601
+ defaultBranch: z.ZodOptional<z.ZodString>;
12179
12602
  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"]>>;
12603
+ 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
12604
  modelId: z.ZodOptional<z.ZodString>;
12182
12605
  diffStrategy: z.ZodOptional<z.ZodString>;
12183
12606
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12196,11 +12619,14 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12196
12619
  editorName: string;
12197
12620
  language: string;
12198
12621
  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;
12622
+ 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
12623
  taskId?: string | undefined;
12201
12624
  modelId?: string | undefined;
12202
12625
  diffStrategy?: string | undefined;
12203
12626
  isSubtask?: boolean | undefined;
12627
+ repositoryUrl?: string | undefined;
12628
+ repositoryName?: string | undefined;
12629
+ defaultBranch?: string | undefined;
12204
12630
  }, {
12205
12631
  appName: string;
12206
12632
  appVersion: string;
@@ -12209,13 +12635,18 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12209
12635
  editorName: string;
12210
12636
  language: string;
12211
12637
  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;
12638
+ 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
12639
  taskId?: string | undefined;
12214
12640
  modelId?: string | undefined;
12215
12641
  diffStrategy?: string | undefined;
12216
12642
  isSubtask?: boolean | undefined;
12643
+ repositoryUrl?: string | undefined;
12644
+ repositoryName?: string | undefined;
12645
+ defaultBranch?: string | undefined;
12217
12646
  }>;
12218
12647
  type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
12648
+ type CloudTelemetryProperties = z.infer<typeof cloudTelemetryPropertiesSchema>;
12649
+ type GitProperties = z.infer<typeof gitPropertiesSchema>;
12219
12650
  /**
12220
12651
  * TelemetryEvent
12221
12652
  */
@@ -12227,10 +12658,13 @@ type TelemetryEvent = {
12227
12658
  * RooCodeTelemetryEvent
12228
12659
  */
12229
12660
  declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12230
- 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]>;
12661
+ 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, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
12231
12662
  properties: z.ZodObject<{
12663
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12664
+ repositoryName: z.ZodOptional<z.ZodString>;
12665
+ defaultBranch: z.ZodOptional<z.ZodString>;
12232
12666
  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"]>>;
12667
+ 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
12668
  modelId: z.ZodOptional<z.ZodString>;
12235
12669
  diffStrategy: z.ZodOptional<z.ZodString>;
12236
12670
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12249,11 +12683,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12249
12683
  editorName: string;
12250
12684
  language: string;
12251
12685
  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;
12686
+ 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
12687
  taskId?: string | undefined;
12254
12688
  modelId?: string | undefined;
12255
12689
  diffStrategy?: string | undefined;
12256
12690
  isSubtask?: boolean | undefined;
12691
+ repositoryUrl?: string | undefined;
12692
+ repositoryName?: string | undefined;
12693
+ defaultBranch?: string | undefined;
12257
12694
  }, {
12258
12695
  appName: string;
12259
12696
  appVersion: string;
@@ -12262,14 +12699,17 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12262
12699
  editorName: string;
12263
12700
  language: string;
12264
12701
  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;
12702
+ 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
12703
  taskId?: string | undefined;
12267
12704
  modelId?: string | undefined;
12268
12705
  diffStrategy?: string | undefined;
12269
12706
  isSubtask?: boolean | undefined;
12707
+ repositoryUrl?: string | undefined;
12708
+ repositoryName?: string | undefined;
12709
+ defaultBranch?: string | undefined;
12270
12710
  }>;
12271
12711
  }, "strip", z.ZodTypeAny, {
12272
- type: 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.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | 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;
12712
+ type: 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.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | 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;
12273
12713
  properties: {
12274
12714
  appName: string;
12275
12715
  appVersion: string;
@@ -12278,14 +12718,17 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12278
12718
  editorName: string;
12279
12719
  language: string;
12280
12720
  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;
12721
+ 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
12722
  taskId?: string | undefined;
12283
12723
  modelId?: string | undefined;
12284
12724
  diffStrategy?: string | undefined;
12285
12725
  isSubtask?: boolean | undefined;
12726
+ repositoryUrl?: string | undefined;
12727
+ repositoryName?: string | undefined;
12728
+ defaultBranch?: string | undefined;
12286
12729
  };
12287
12730
  }, {
12288
- type: 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.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | 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;
12731
+ type: 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.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | 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;
12289
12732
  properties: {
12290
12733
  appName: string;
12291
12734
  appVersion: string;
@@ -12294,11 +12737,14 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12294
12737
  editorName: string;
12295
12738
  language: string;
12296
12739
  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;
12740
+ 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
12741
  taskId?: string | undefined;
12299
12742
  modelId?: string | undefined;
12300
12743
  diffStrategy?: string | undefined;
12301
12744
  isSubtask?: boolean | undefined;
12745
+ repositoryUrl?: string | undefined;
12746
+ repositoryName?: string | undefined;
12747
+ defaultBranch?: string | undefined;
12302
12748
  };
12303
12749
  }>, z.ZodObject<{
12304
12750
  type: z.ZodLiteral<TelemetryEventName.TASK_MESSAGE>;
@@ -12387,7 +12833,10 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12387
12833
  } | undefined;
12388
12834
  isProtected?: boolean | undefined;
12389
12835
  }>;
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"]>>;
12836
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12837
+ repositoryName: z.ZodOptional<z.ZodString>;
12838
+ defaultBranch: z.ZodOptional<z.ZodString>;
12839
+ 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
12840
  modelId: z.ZodOptional<z.ZodString>;
12392
12841
  diffStrategy: z.ZodOptional<z.ZodString>;
12393
12842
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12430,10 +12879,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12430
12879
  language: string;
12431
12880
  mode: string;
12432
12881
  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;
12882
+ 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
12883
  modelId?: string | undefined;
12435
12884
  diffStrategy?: string | undefined;
12436
12885
  isSubtask?: boolean | undefined;
12886
+ repositoryUrl?: string | undefined;
12887
+ repositoryName?: string | undefined;
12888
+ defaultBranch?: string | undefined;
12437
12889
  }, {
12438
12890
  message: {
12439
12891
  type: "ask" | "say";
@@ -12466,10 +12918,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12466
12918
  language: string;
12467
12919
  mode: string;
12468
12920
  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;
12921
+ 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
12922
  modelId?: string | undefined;
12471
12923
  diffStrategy?: string | undefined;
12472
12924
  isSubtask?: boolean | undefined;
12925
+ repositoryUrl?: string | undefined;
12926
+ repositoryName?: string | undefined;
12927
+ defaultBranch?: string | undefined;
12473
12928
  }>;
12474
12929
  }, "strip", z.ZodTypeAny, {
12475
12930
  type: TelemetryEventName.TASK_MESSAGE;
@@ -12505,10 +12960,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12505
12960
  language: string;
12506
12961
  mode: string;
12507
12962
  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;
12963
+ 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
12964
  modelId?: string | undefined;
12510
12965
  diffStrategy?: string | undefined;
12511
12966
  isSubtask?: boolean | undefined;
12967
+ repositoryUrl?: string | undefined;
12968
+ repositoryName?: string | undefined;
12969
+ defaultBranch?: string | undefined;
12512
12970
  };
12513
12971
  }, {
12514
12972
  type: TelemetryEventName.TASK_MESSAGE;
@@ -12544,10 +13002,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12544
13002
  language: string;
12545
13003
  mode: string;
12546
13004
  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;
13005
+ 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
13006
  modelId?: string | undefined;
12549
13007
  diffStrategy?: string | undefined;
12550
13008
  isSubtask?: boolean | undefined;
13009
+ repositoryUrl?: string | undefined;
13010
+ repositoryName?: string | undefined;
13011
+ defaultBranch?: string | undefined;
12551
13012
  };
12552
13013
  }>, z.ZodObject<{
12553
13014
  type: z.ZodLiteral<TelemetryEventName.LLM_COMPLETION>;
@@ -12557,8 +13018,11 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12557
13018
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
12558
13019
  cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
12559
13020
  cost: z.ZodOptional<z.ZodNumber>;
13021
+ repositoryUrl: z.ZodOptional<z.ZodString>;
13022
+ repositoryName: z.ZodOptional<z.ZodString>;
13023
+ defaultBranch: z.ZodOptional<z.ZodString>;
12560
13024
  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"]>>;
13025
+ 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
13026
  modelId: z.ZodOptional<z.ZodString>;
12563
13027
  diffStrategy: z.ZodOptional<z.ZodString>;
12564
13028
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12579,12 +13043,15 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12579
13043
  mode: string;
12580
13044
  inputTokens: number;
12581
13045
  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;
13046
+ 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
13047
  cost?: number | undefined;
12584
13048
  taskId?: string | undefined;
12585
13049
  modelId?: string | undefined;
12586
13050
  diffStrategy?: string | undefined;
12587
13051
  isSubtask?: boolean | undefined;
13052
+ repositoryUrl?: string | undefined;
13053
+ repositoryName?: string | undefined;
13054
+ defaultBranch?: string | undefined;
12588
13055
  cacheReadTokens?: number | undefined;
12589
13056
  cacheWriteTokens?: number | undefined;
12590
13057
  }, {
@@ -12597,12 +13064,15 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12597
13064
  mode: string;
12598
13065
  inputTokens: number;
12599
13066
  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;
13067
+ 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
13068
  cost?: number | undefined;
12602
13069
  taskId?: string | undefined;
12603
13070
  modelId?: string | undefined;
12604
13071
  diffStrategy?: string | undefined;
12605
13072
  isSubtask?: boolean | undefined;
13073
+ repositoryUrl?: string | undefined;
13074
+ repositoryName?: string | undefined;
13075
+ defaultBranch?: string | undefined;
12606
13076
  cacheReadTokens?: number | undefined;
12607
13077
  cacheWriteTokens?: number | undefined;
12608
13078
  }>;
@@ -12618,12 +13088,15 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12618
13088
  mode: string;
12619
13089
  inputTokens: number;
12620
13090
  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;
13091
+ 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
13092
  cost?: number | undefined;
12623
13093
  taskId?: string | undefined;
12624
13094
  modelId?: string | undefined;
12625
13095
  diffStrategy?: string | undefined;
12626
13096
  isSubtask?: boolean | undefined;
13097
+ repositoryUrl?: string | undefined;
13098
+ repositoryName?: string | undefined;
13099
+ defaultBranch?: string | undefined;
12627
13100
  cacheReadTokens?: number | undefined;
12628
13101
  cacheWriteTokens?: number | undefined;
12629
13102
  };
@@ -12639,12 +13112,15 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12639
13112
  mode: string;
12640
13113
  inputTokens: number;
12641
13114
  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;
13115
+ 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
13116
  cost?: number | undefined;
12644
13117
  taskId?: string | undefined;
12645
13118
  modelId?: string | undefined;
12646
13119
  diffStrategy?: string | undefined;
12647
13120
  isSubtask?: boolean | undefined;
13121
+ repositoryUrl?: string | undefined;
13122
+ repositoryName?: string | undefined;
13123
+ defaultBranch?: string | undefined;
12648
13124
  cacheReadTokens?: number | undefined;
12649
13125
  cacheWriteTokens?: number | undefined;
12650
13126
  };
@@ -12665,6 +13141,7 @@ type TelemetryEventSubscription = {
12665
13141
  */
12666
13142
  interface TelemetryPropertiesProvider {
12667
13143
  getTelemetryProperties(): Promise<TelemetryProperties>;
13144
+ getCloudTelemetryProperties?(): Promise<CloudTelemetryProperties>;
12668
13145
  }
12669
13146
  /**
12670
13147
  * TelemetryClient
@@ -12748,7 +13225,7 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
12748
13225
  /**
12749
13226
  * Command
12750
13227
  */
12751
- declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput"];
13228
+ declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput", "focusPanel"];
12752
13229
  type CommandId = (typeof commandIds)[number];
12753
13230
  /**
12754
13231
  * Language
@@ -12758,4 +13235,4 @@ declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "i
12758
13235
  type Language = z.infer<typeof languagesSchema>;
12759
13236
  declare const isLanguage: (value: string) => value is Language;
12760
13237
 
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 };
13238
+ 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 CloudTelemetryProperties, 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 GitProperties, 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, cloudTelemetryPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, gitPropertiesSchema, 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 };