@roo-code/types 1.26.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +369 -340
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1149 -388
- package/dist/index.d.ts +1149 -388
- package/dist/index.js +354 -339
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -161,6 +161,7 @@ declare const bedrockModels: {
|
|
|
161
161
|
readonly supportsImages: true;
|
|
162
162
|
readonly supportsComputerUse: true;
|
|
163
163
|
readonly supportsPromptCache: true;
|
|
164
|
+
readonly supportsReasoningBudget: true;
|
|
164
165
|
readonly inputPrice: 3;
|
|
165
166
|
readonly outputPrice: 15;
|
|
166
167
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -175,6 +176,7 @@ declare const bedrockModels: {
|
|
|
175
176
|
readonly supportsImages: true;
|
|
176
177
|
readonly supportsComputerUse: true;
|
|
177
178
|
readonly supportsPromptCache: true;
|
|
179
|
+
readonly supportsReasoningBudget: true;
|
|
178
180
|
readonly inputPrice: 15;
|
|
179
181
|
readonly outputPrice: 75;
|
|
180
182
|
readonly cacheWritesPrice: 18.75;
|
|
@@ -189,6 +191,7 @@ declare const bedrockModels: {
|
|
|
189
191
|
readonly supportsImages: true;
|
|
190
192
|
readonly supportsComputerUse: true;
|
|
191
193
|
readonly supportsPromptCache: true;
|
|
194
|
+
readonly supportsReasoningBudget: true;
|
|
192
195
|
readonly inputPrice: 3;
|
|
193
196
|
readonly outputPrice: 15;
|
|
194
197
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -655,6 +658,67 @@ declare const chutesModels: {
|
|
|
655
658
|
};
|
|
656
659
|
};
|
|
657
660
|
|
|
661
|
+
type ClaudeCodeModelId = keyof typeof claudeCodeModels;
|
|
662
|
+
declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
|
|
663
|
+
declare const claudeCodeModels: {
|
|
664
|
+
readonly "claude-sonnet-4-20250514": {
|
|
665
|
+
readonly maxTokens: 64000;
|
|
666
|
+
readonly contextWindow: 200000;
|
|
667
|
+
readonly supportsImages: true;
|
|
668
|
+
readonly supportsComputerUse: true;
|
|
669
|
+
readonly supportsPromptCache: true;
|
|
670
|
+
readonly inputPrice: 3;
|
|
671
|
+
readonly outputPrice: 15;
|
|
672
|
+
readonly cacheWritesPrice: 3.75;
|
|
673
|
+
readonly cacheReadsPrice: 0.3;
|
|
674
|
+
readonly supportsReasoningBudget: true;
|
|
675
|
+
};
|
|
676
|
+
readonly "claude-opus-4-20250514": {
|
|
677
|
+
readonly maxTokens: 32000;
|
|
678
|
+
readonly contextWindow: 200000;
|
|
679
|
+
readonly supportsImages: true;
|
|
680
|
+
readonly supportsComputerUse: true;
|
|
681
|
+
readonly supportsPromptCache: true;
|
|
682
|
+
readonly inputPrice: 15;
|
|
683
|
+
readonly outputPrice: 75;
|
|
684
|
+
readonly cacheWritesPrice: 18.75;
|
|
685
|
+
readonly cacheReadsPrice: 1.5;
|
|
686
|
+
readonly supportsReasoningBudget: true;
|
|
687
|
+
};
|
|
688
|
+
readonly "claude-3-7-sonnet-20250219": {
|
|
689
|
+
readonly maxTokens: 8192;
|
|
690
|
+
readonly contextWindow: 200000;
|
|
691
|
+
readonly supportsImages: true;
|
|
692
|
+
readonly supportsComputerUse: true;
|
|
693
|
+
readonly supportsPromptCache: true;
|
|
694
|
+
readonly inputPrice: 3;
|
|
695
|
+
readonly outputPrice: 15;
|
|
696
|
+
readonly cacheWritesPrice: 3.75;
|
|
697
|
+
readonly cacheReadsPrice: 0.3;
|
|
698
|
+
};
|
|
699
|
+
readonly "claude-3-5-sonnet-20241022": {
|
|
700
|
+
readonly maxTokens: 8192;
|
|
701
|
+
readonly contextWindow: 200000;
|
|
702
|
+
readonly supportsImages: true;
|
|
703
|
+
readonly supportsComputerUse: true;
|
|
704
|
+
readonly supportsPromptCache: true;
|
|
705
|
+
readonly inputPrice: 3;
|
|
706
|
+
readonly outputPrice: 15;
|
|
707
|
+
readonly cacheWritesPrice: 3.75;
|
|
708
|
+
readonly cacheReadsPrice: 0.3;
|
|
709
|
+
};
|
|
710
|
+
readonly "claude-3-5-haiku-20241022": {
|
|
711
|
+
readonly maxTokens: 8192;
|
|
712
|
+
readonly contextWindow: 200000;
|
|
713
|
+
readonly supportsImages: false;
|
|
714
|
+
readonly supportsPromptCache: true;
|
|
715
|
+
readonly inputPrice: 1;
|
|
716
|
+
readonly outputPrice: 5;
|
|
717
|
+
readonly cacheWritesPrice: 1.25;
|
|
718
|
+
readonly cacheReadsPrice: 0.1;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
|
|
658
722
|
type DeepSeekModelId = keyof typeof deepSeekModels;
|
|
659
723
|
declare const deepSeekDefaultModelId: DeepSeekModelId;
|
|
660
724
|
declare const deepSeekModels: {
|
|
@@ -728,6 +792,18 @@ declare const geminiModels: {
|
|
|
728
792
|
readonly cacheReadsPrice: 0.0375;
|
|
729
793
|
readonly cacheWritesPrice: 1;
|
|
730
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
|
+
};
|
|
731
807
|
readonly "gemini-2.5-pro-exp-03-25": {
|
|
732
808
|
readonly maxTokens: 65535;
|
|
733
809
|
readonly contextWindow: 1048576;
|
|
@@ -801,6 +877,30 @@ declare const geminiModels: {
|
|
|
801
877
|
readonly cacheReadsPrice: 0.625;
|
|
802
878
|
}];
|
|
803
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
|
+
};
|
|
804
904
|
readonly "gemini-2.0-flash-001": {
|
|
805
905
|
readonly maxTokens: 8192;
|
|
806
906
|
readonly contextWindow: 1048576;
|
|
@@ -912,6 +1012,18 @@ declare const geminiModels: {
|
|
|
912
1012
|
readonly inputPrice: 0;
|
|
913
1013
|
readonly outputPrice: 0;
|
|
914
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
|
+
};
|
|
915
1027
|
};
|
|
916
1028
|
|
|
917
1029
|
/**
|
|
@@ -1030,7 +1142,7 @@ declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet";
|
|
|
1030
1142
|
declare const glamaDefaultModelInfo: ModelInfo;
|
|
1031
1143
|
declare const GLAMA_DEFAULT_TEMPERATURE = 0;
|
|
1032
1144
|
|
|
1033
|
-
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";
|
|
1034
1146
|
declare const groqDefaultModelId: GroqModelId;
|
|
1035
1147
|
declare const groqModels: {
|
|
1036
1148
|
readonly "llama-3.1-8b-instant": {
|
|
@@ -1038,8 +1150,8 @@ declare const groqModels: {
|
|
|
1038
1150
|
readonly contextWindow: 131072;
|
|
1039
1151
|
readonly supportsImages: false;
|
|
1040
1152
|
readonly supportsPromptCache: false;
|
|
1041
|
-
readonly inputPrice: 0;
|
|
1042
|
-
readonly outputPrice: 0;
|
|
1153
|
+
readonly inputPrice: 0.05;
|
|
1154
|
+
readonly outputPrice: 0.08;
|
|
1043
1155
|
readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
|
|
1044
1156
|
};
|
|
1045
1157
|
readonly "llama-3.3-70b-versatile": {
|
|
@@ -1047,8 +1159,8 @@ declare const groqModels: {
|
|
|
1047
1159
|
readonly contextWindow: 131072;
|
|
1048
1160
|
readonly supportsImages: false;
|
|
1049
1161
|
readonly supportsPromptCache: false;
|
|
1050
|
-
readonly inputPrice: 0;
|
|
1051
|
-
readonly outputPrice: 0;
|
|
1162
|
+
readonly inputPrice: 0.59;
|
|
1163
|
+
readonly outputPrice: 0.79;
|
|
1052
1164
|
readonly description: "Meta Llama 3.3 70B Versatile model, 128K context.";
|
|
1053
1165
|
};
|
|
1054
1166
|
readonly "meta-llama/llama-4-scout-17b-16e-instruct": {
|
|
@@ -1056,8 +1168,8 @@ declare const groqModels: {
|
|
|
1056
1168
|
readonly contextWindow: 131072;
|
|
1057
1169
|
readonly supportsImages: false;
|
|
1058
1170
|
readonly supportsPromptCache: false;
|
|
1059
|
-
readonly inputPrice: 0;
|
|
1060
|
-
readonly outputPrice: 0;
|
|
1171
|
+
readonly inputPrice: 0.11;
|
|
1172
|
+
readonly outputPrice: 0.34;
|
|
1061
1173
|
readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
|
|
1062
1174
|
};
|
|
1063
1175
|
readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
|
|
@@ -1065,8 +1177,8 @@ declare const groqModels: {
|
|
|
1065
1177
|
readonly contextWindow: 131072;
|
|
1066
1178
|
readonly supportsImages: false;
|
|
1067
1179
|
readonly supportsPromptCache: false;
|
|
1068
|
-
readonly inputPrice: 0;
|
|
1069
|
-
readonly outputPrice: 0;
|
|
1180
|
+
readonly inputPrice: 0.2;
|
|
1181
|
+
readonly outputPrice: 0.6;
|
|
1070
1182
|
readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
|
|
1071
1183
|
};
|
|
1072
1184
|
readonly "mistral-saba-24b": {
|
|
@@ -1074,8 +1186,8 @@ declare const groqModels: {
|
|
|
1074
1186
|
readonly contextWindow: 32768;
|
|
1075
1187
|
readonly supportsImages: false;
|
|
1076
1188
|
readonly supportsPromptCache: false;
|
|
1077
|
-
readonly inputPrice: 0;
|
|
1078
|
-
readonly outputPrice: 0;
|
|
1189
|
+
readonly inputPrice: 0.79;
|
|
1190
|
+
readonly outputPrice: 0.79;
|
|
1079
1191
|
readonly description: "Mistral Saba 24B model, 32K context.";
|
|
1080
1192
|
};
|
|
1081
1193
|
readonly "qwen-qwq-32b": {
|
|
@@ -1083,17 +1195,26 @@ declare const groqModels: {
|
|
|
1083
1195
|
readonly contextWindow: 131072;
|
|
1084
1196
|
readonly supportsImages: false;
|
|
1085
1197
|
readonly supportsPromptCache: false;
|
|
1086
|
-
readonly inputPrice: 0;
|
|
1087
|
-
readonly outputPrice: 0;
|
|
1198
|
+
readonly inputPrice: 0.29;
|
|
1199
|
+
readonly outputPrice: 0.39;
|
|
1088
1200
|
readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
|
|
1089
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
|
+
};
|
|
1090
1211
|
readonly "deepseek-r1-distill-llama-70b": {
|
|
1091
1212
|
readonly maxTokens: 131072;
|
|
1092
1213
|
readonly contextWindow: 131072;
|
|
1093
1214
|
readonly supportsImages: false;
|
|
1094
1215
|
readonly supportsPromptCache: false;
|
|
1095
|
-
readonly inputPrice: 0;
|
|
1096
|
-
readonly outputPrice: 0;
|
|
1216
|
+
readonly inputPrice: 0.75;
|
|
1217
|
+
readonly outputPrice: 0.99;
|
|
1097
1218
|
readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
|
|
1098
1219
|
};
|
|
1099
1220
|
};
|
|
@@ -1103,10 +1224,28 @@ declare const litellmDefaultModelInfo: ModelInfo;
|
|
|
1103
1224
|
declare const LITELLM_COMPUTER_USE_MODELS: Set<string>;
|
|
1104
1225
|
|
|
1105
1226
|
declare const LMSTUDIO_DEFAULT_TEMPERATURE = 0;
|
|
1227
|
+
declare const lMStudioDefaultModelId = "mistralai/devstral-small-2505";
|
|
1228
|
+
declare const lMStudioDefaultModelInfo: ModelInfo;
|
|
1106
1229
|
|
|
1107
1230
|
type MistralModelId = keyof typeof mistralModels;
|
|
1108
1231
|
declare const mistralDefaultModelId: MistralModelId;
|
|
1109
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
|
+
};
|
|
1110
1249
|
readonly "codestral-latest": {
|
|
1111
1250
|
readonly maxTokens: 256000;
|
|
1112
1251
|
readonly contextWindow: 256000;
|
|
@@ -1158,6 +1297,9 @@ declare const mistralModels: {
|
|
|
1158
1297
|
};
|
|
1159
1298
|
declare const MISTRAL_DEFAULT_TEMPERATURE = 0;
|
|
1160
1299
|
|
|
1300
|
+
declare const ollamaDefaultModelId = "devstral:24b";
|
|
1301
|
+
declare const ollamaDefaultModelInfo: ModelInfo;
|
|
1302
|
+
|
|
1161
1303
|
type OpenAiNativeModelId = keyof typeof openAiNativeModels;
|
|
1162
1304
|
declare const openAiNativeDefaultModelId: OpenAiNativeModelId;
|
|
1163
1305
|
declare const openAiNativeModels: {
|
|
@@ -1377,6 +1519,18 @@ declare const vertexModels: {
|
|
|
1377
1519
|
readonly inputPrice: 0.15;
|
|
1378
1520
|
readonly outputPrice: 0.6;
|
|
1379
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
|
+
};
|
|
1380
1534
|
readonly "gemini-2.5-flash-preview-04-17:thinking": {
|
|
1381
1535
|
readonly maxTokens: 65535;
|
|
1382
1536
|
readonly contextWindow: 1048576;
|
|
@@ -1422,6 +1576,28 @@ declare const vertexModels: {
|
|
|
1422
1576
|
readonly maxThinkingTokens: 32768;
|
|
1423
1577
|
readonly supportsReasoningBudget: true;
|
|
1424
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
|
+
};
|
|
1425
1601
|
readonly "gemini-2.5-pro-exp-03-25": {
|
|
1426
1602
|
readonly maxTokens: 65535;
|
|
1427
1603
|
readonly contextWindow: 1048576;
|
|
@@ -1576,6 +1752,18 @@ declare const vertexModels: {
|
|
|
1576
1752
|
readonly cacheWritesPrice: 0.3;
|
|
1577
1753
|
readonly cacheReadsPrice: 0.03;
|
|
1578
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
|
+
};
|
|
1579
1767
|
};
|
|
1580
1768
|
declare const VERTEX_REGIONS: {
|
|
1581
1769
|
value: string;
|
|
@@ -1734,153 +1922,69 @@ declare const vscodeLlmModels: {
|
|
|
1734
1922
|
type XAIModelId = keyof typeof xaiModels;
|
|
1735
1923
|
declare const xaiDefaultModelId: XAIModelId;
|
|
1736
1924
|
declare const xaiModels: {
|
|
1737
|
-
readonly "grok-
|
|
1738
|
-
readonly maxTokens: 8192;
|
|
1739
|
-
readonly contextWindow: 131072;
|
|
1740
|
-
readonly supportsImages: false;
|
|
1741
|
-
readonly supportsPromptCache: false;
|
|
1742
|
-
readonly inputPrice: 3;
|
|
1743
|
-
readonly outputPrice: 15;
|
|
1744
|
-
readonly description: "xAI's Grok-3 beta model with 131K context window";
|
|
1745
|
-
};
|
|
1746
|
-
readonly "grok-3-fast-beta": {
|
|
1747
|
-
readonly maxTokens: 8192;
|
|
1748
|
-
readonly contextWindow: 131072;
|
|
1749
|
-
readonly supportsImages: false;
|
|
1750
|
-
readonly supportsPromptCache: false;
|
|
1751
|
-
readonly inputPrice: 5;
|
|
1752
|
-
readonly outputPrice: 25;
|
|
1753
|
-
readonly description: "xAI's Grok-3 fast beta model with 131K context window";
|
|
1754
|
-
};
|
|
1755
|
-
readonly "grok-3-mini-beta": {
|
|
1925
|
+
readonly "grok-2-1212": {
|
|
1756
1926
|
readonly maxTokens: 8192;
|
|
1757
1927
|
readonly contextWindow: 131072;
|
|
1758
1928
|
readonly supportsImages: false;
|
|
1759
1929
|
readonly supportsPromptCache: false;
|
|
1760
|
-
readonly inputPrice:
|
|
1761
|
-
readonly outputPrice:
|
|
1762
|
-
readonly description: "xAI's Grok-
|
|
1763
|
-
readonly supportsReasoningEffort: true;
|
|
1930
|
+
readonly inputPrice: 2;
|
|
1931
|
+
readonly outputPrice: 10;
|
|
1932
|
+
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
1764
1933
|
};
|
|
1765
|
-
readonly "grok-
|
|
1934
|
+
readonly "grok-2-vision-1212": {
|
|
1766
1935
|
readonly maxTokens: 8192;
|
|
1767
|
-
readonly contextWindow:
|
|
1768
|
-
readonly supportsImages:
|
|
1936
|
+
readonly contextWindow: 32768;
|
|
1937
|
+
readonly supportsImages: true;
|
|
1769
1938
|
readonly supportsPromptCache: false;
|
|
1770
|
-
readonly inputPrice:
|
|
1771
|
-
readonly outputPrice:
|
|
1772
|
-
readonly description: "xAI's Grok-
|
|
1773
|
-
readonly supportsReasoningEffort: true;
|
|
1939
|
+
readonly inputPrice: 2;
|
|
1940
|
+
readonly outputPrice: 10;
|
|
1941
|
+
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
1774
1942
|
};
|
|
1775
1943
|
readonly "grok-3": {
|
|
1776
1944
|
readonly maxTokens: 8192;
|
|
1777
1945
|
readonly contextWindow: 131072;
|
|
1778
1946
|
readonly supportsImages: false;
|
|
1779
|
-
readonly supportsPromptCache:
|
|
1947
|
+
readonly supportsPromptCache: true;
|
|
1780
1948
|
readonly inputPrice: 3;
|
|
1781
1949
|
readonly outputPrice: 15;
|
|
1782
|
-
readonly
|
|
1950
|
+
readonly cacheWritesPrice: 0.75;
|
|
1951
|
+
readonly cacheReadsPrice: 0.75;
|
|
1952
|
+
readonly description: "xAI's Grok-3 model with 128K context window";
|
|
1783
1953
|
};
|
|
1784
1954
|
readonly "grok-3-fast": {
|
|
1785
1955
|
readonly maxTokens: 8192;
|
|
1786
1956
|
readonly contextWindow: 131072;
|
|
1787
1957
|
readonly supportsImages: false;
|
|
1788
|
-
readonly supportsPromptCache:
|
|
1958
|
+
readonly supportsPromptCache: true;
|
|
1789
1959
|
readonly inputPrice: 5;
|
|
1790
1960
|
readonly outputPrice: 25;
|
|
1791
|
-
readonly
|
|
1961
|
+
readonly cacheWritesPrice: 1.25;
|
|
1962
|
+
readonly cacheReadsPrice: 1.25;
|
|
1963
|
+
readonly description: "xAI's Grok-3 fast model with 128K context window";
|
|
1792
1964
|
};
|
|
1793
1965
|
readonly "grok-3-mini": {
|
|
1794
1966
|
readonly maxTokens: 8192;
|
|
1795
1967
|
readonly contextWindow: 131072;
|
|
1796
1968
|
readonly supportsImages: false;
|
|
1797
|
-
readonly supportsPromptCache:
|
|
1969
|
+
readonly supportsPromptCache: true;
|
|
1798
1970
|
readonly inputPrice: 0.3;
|
|
1799
1971
|
readonly outputPrice: 0.5;
|
|
1800
|
-
readonly
|
|
1801
|
-
readonly
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
readonly maxTokens: 8192;
|
|
1805
|
-
readonly contextWindow: 131072;
|
|
1806
|
-
readonly supportsImages: false;
|
|
1807
|
-
readonly supportsPromptCache: false;
|
|
1808
|
-
readonly inputPrice: 0.6;
|
|
1809
|
-
readonly outputPrice: 4;
|
|
1810
|
-
readonly description: "xAI's Grok-3 mini fast model with 131K context window";
|
|
1811
|
-
readonly supportsReasoningEffort: true;
|
|
1812
|
-
};
|
|
1813
|
-
readonly "grok-2-latest": {
|
|
1814
|
-
readonly maxTokens: 8192;
|
|
1815
|
-
readonly contextWindow: 131072;
|
|
1816
|
-
readonly supportsImages: false;
|
|
1817
|
-
readonly supportsPromptCache: false;
|
|
1818
|
-
readonly inputPrice: 2;
|
|
1819
|
-
readonly outputPrice: 10;
|
|
1820
|
-
readonly description: "xAI's Grok-2 model - latest version with 131K context window";
|
|
1821
|
-
};
|
|
1822
|
-
readonly "grok-2": {
|
|
1823
|
-
readonly maxTokens: 8192;
|
|
1824
|
-
readonly contextWindow: 131072;
|
|
1825
|
-
readonly supportsImages: false;
|
|
1826
|
-
readonly supportsPromptCache: false;
|
|
1827
|
-
readonly inputPrice: 2;
|
|
1828
|
-
readonly outputPrice: 10;
|
|
1829
|
-
readonly description: "xAI's Grok-2 model with 131K context window";
|
|
1830
|
-
};
|
|
1831
|
-
readonly "grok-2-1212": {
|
|
1832
|
-
readonly maxTokens: 8192;
|
|
1833
|
-
readonly contextWindow: 131072;
|
|
1834
|
-
readonly supportsImages: false;
|
|
1835
|
-
readonly supportsPromptCache: false;
|
|
1836
|
-
readonly inputPrice: 2;
|
|
1837
|
-
readonly outputPrice: 10;
|
|
1838
|
-
readonly description: "xAI's Grok-2 model (version 1212) with 131K context window";
|
|
1839
|
-
};
|
|
1840
|
-
readonly "grok-2-vision-latest": {
|
|
1841
|
-
readonly maxTokens: 8192;
|
|
1842
|
-
readonly contextWindow: 32768;
|
|
1843
|
-
readonly supportsImages: true;
|
|
1844
|
-
readonly supportsPromptCache: false;
|
|
1845
|
-
readonly inputPrice: 2;
|
|
1846
|
-
readonly outputPrice: 10;
|
|
1847
|
-
readonly description: "xAI's Grok-2 Vision model - latest version with image support and 32K context window";
|
|
1848
|
-
};
|
|
1849
|
-
readonly "grok-2-vision": {
|
|
1850
|
-
readonly maxTokens: 8192;
|
|
1851
|
-
readonly contextWindow: 32768;
|
|
1852
|
-
readonly supportsImages: true;
|
|
1853
|
-
readonly supportsPromptCache: false;
|
|
1854
|
-
readonly inputPrice: 2;
|
|
1855
|
-
readonly outputPrice: 10;
|
|
1856
|
-
readonly description: "xAI's Grok-2 Vision model with image support and 32K context window";
|
|
1857
|
-
};
|
|
1858
|
-
readonly "grok-2-vision-1212": {
|
|
1859
|
-
readonly maxTokens: 8192;
|
|
1860
|
-
readonly contextWindow: 32768;
|
|
1861
|
-
readonly supportsImages: true;
|
|
1862
|
-
readonly supportsPromptCache: false;
|
|
1863
|
-
readonly inputPrice: 2;
|
|
1864
|
-
readonly outputPrice: 10;
|
|
1865
|
-
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
1866
|
-
};
|
|
1867
|
-
readonly "grok-vision-beta": {
|
|
1868
|
-
readonly maxTokens: 8192;
|
|
1869
|
-
readonly contextWindow: 8192;
|
|
1870
|
-
readonly supportsImages: true;
|
|
1871
|
-
readonly supportsPromptCache: false;
|
|
1872
|
-
readonly inputPrice: 5;
|
|
1873
|
-
readonly outputPrice: 15;
|
|
1874
|
-
readonly description: "xAI's Grok Vision Beta model with image support and 8K context window";
|
|
1972
|
+
readonly cacheWritesPrice: 0.07;
|
|
1973
|
+
readonly cacheReadsPrice: 0.07;
|
|
1974
|
+
readonly description: "xAI's Grok-3 mini model with 128K context window";
|
|
1975
|
+
readonly supportsReasoningEffort: true;
|
|
1875
1976
|
};
|
|
1876
|
-
readonly "grok-
|
|
1977
|
+
readonly "grok-3-mini-fast": {
|
|
1877
1978
|
readonly maxTokens: 8192;
|
|
1878
1979
|
readonly contextWindow: 131072;
|
|
1879
1980
|
readonly supportsImages: false;
|
|
1880
|
-
readonly supportsPromptCache:
|
|
1881
|
-
readonly inputPrice:
|
|
1882
|
-
readonly outputPrice:
|
|
1883
|
-
readonly
|
|
1981
|
+
readonly supportsPromptCache: true;
|
|
1982
|
+
readonly inputPrice: 0.6;
|
|
1983
|
+
readonly outputPrice: 4;
|
|
1984
|
+
readonly cacheWritesPrice: 0.15;
|
|
1985
|
+
readonly cacheReadsPrice: 0.15;
|
|
1986
|
+
readonly description: "xAI's Grok-3 mini fast model with 128K context window";
|
|
1987
|
+
readonly supportsReasoningEffort: true;
|
|
1884
1988
|
};
|
|
1885
1989
|
};
|
|
1886
1990
|
|
|
@@ -1891,17 +1995,12 @@ type Keys<T> = keyof T;
|
|
|
1891
1995
|
type Values<T> = T[keyof T];
|
|
1892
1996
|
type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
|
|
1893
1997
|
type AssertEqual<T extends true> = T;
|
|
1894
|
-
/**
|
|
1895
|
-
* Creates a type-safe keys array that enforces ALL keys from type T are present.
|
|
1896
|
-
* Returns a compile-time error if any keys are missing or extra keys are provided.
|
|
1897
|
-
*/
|
|
1898
|
-
declare function keysOf<T>(): <const U extends readonly (keyof T)[]>(keys: keyof T extends U[number] ? (U[number] extends keyof T ? U : never) : never) => U;
|
|
1899
1998
|
|
|
1900
1999
|
/**
|
|
1901
2000
|
* ProviderName
|
|
1902
2001
|
*/
|
|
1903
|
-
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"];
|
|
1904
|
-
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"]>;
|
|
1905
2004
|
type ProviderName = z.infer<typeof providerNamesSchema>;
|
|
1906
2005
|
/**
|
|
1907
2006
|
* ProviderSettingsEntry
|
|
@@ -1909,15 +2008,15 @@ type ProviderName = z.infer<typeof providerNamesSchema>;
|
|
|
1909
2008
|
declare const providerSettingsEntrySchema: z.ZodObject<{
|
|
1910
2009
|
id: z.ZodString;
|
|
1911
2010
|
name: z.ZodString;
|
|
1912
|
-
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"]>>;
|
|
1913
2012
|
}, "strip", z.ZodTypeAny, {
|
|
1914
2013
|
name: string;
|
|
1915
2014
|
id: string;
|
|
1916
|
-
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;
|
|
1917
2016
|
}, {
|
|
1918
2017
|
name: string;
|
|
1919
2018
|
id: string;
|
|
1920
|
-
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;
|
|
1921
2020
|
}>;
|
|
1922
2021
|
type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
|
|
1923
2022
|
declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
|
|
@@ -1978,6 +2077,48 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1978
2077
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
1979
2078
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1980
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>;
|
|
1981
2122
|
} & {
|
|
1982
2123
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
1983
2124
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3246,10 +3387,11 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3246
3387
|
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
3247
3388
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
3248
3389
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
3390
|
+
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
3249
3391
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3250
3392
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3251
3393
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
3252
|
-
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"]>>;
|
|
3253
3395
|
}, "strip", z.ZodTypeAny, {
|
|
3254
3396
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
3255
3397
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -3257,7 +3399,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3257
3399
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
3258
3400
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
3259
3401
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
3260
|
-
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;
|
|
3261
3403
|
includeMaxTokens?: boolean | undefined;
|
|
3262
3404
|
diffEnabled?: boolean | undefined;
|
|
3263
3405
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -3270,6 +3412,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3270
3412
|
apiKey?: string | undefined;
|
|
3271
3413
|
anthropicBaseUrl?: string | undefined;
|
|
3272
3414
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3415
|
+
claudeCodePath?: string | undefined;
|
|
3273
3416
|
glamaModelId?: string | undefined;
|
|
3274
3417
|
glamaApiKey?: string | undefined;
|
|
3275
3418
|
openRouterApiKey?: string | undefined;
|
|
@@ -3369,7 +3512,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3369
3512
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
3370
3513
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
3371
3514
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
3372
|
-
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;
|
|
3373
3516
|
includeMaxTokens?: boolean | undefined;
|
|
3374
3517
|
diffEnabled?: boolean | undefined;
|
|
3375
3518
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -3382,6 +3525,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3382
3525
|
apiKey?: string | undefined;
|
|
3383
3526
|
anthropicBaseUrl?: string | undefined;
|
|
3384
3527
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3528
|
+
claudeCodePath?: string | undefined;
|
|
3385
3529
|
glamaModelId?: string | undefined;
|
|
3386
3530
|
glamaApiKey?: string | undefined;
|
|
3387
3531
|
openRouterApiKey?: string | undefined;
|
|
@@ -3476,7 +3620,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3476
3620
|
litellmModelId?: string | undefined;
|
|
3477
3621
|
}>;
|
|
3478
3622
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3479
|
-
declare const PROVIDER_SETTINGS_KEYS:
|
|
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"];
|
|
3480
3624
|
declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
|
|
3481
3625
|
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
3482
3626
|
|
|
@@ -3488,15 +3632,15 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3488
3632
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3489
3633
|
id: z.ZodString;
|
|
3490
3634
|
name: z.ZodString;
|
|
3491
|
-
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"]>>;
|
|
3492
3636
|
}, "strip", z.ZodTypeAny, {
|
|
3493
3637
|
name: string;
|
|
3494
3638
|
id: string;
|
|
3495
|
-
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;
|
|
3496
3640
|
}, {
|
|
3497
3641
|
name: string;
|
|
3498
3642
|
id: string;
|
|
3499
|
-
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;
|
|
3500
3644
|
}>, "many">>;
|
|
3501
3645
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3502
3646
|
lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
|
|
@@ -3545,6 +3689,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3545
3689
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
3546
3690
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
3547
3691
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
3692
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
3548
3693
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
3549
3694
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
3550
3695
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3587,20 +3732,14 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3587
3732
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3588
3733
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3589
3734
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
3590
|
-
powerSteering: z.ZodBoolean
|
|
3591
|
-
|
|
3592
|
-
concurrentFileReads: z.ZodBoolean;
|
|
3593
|
-
disableCompletionCommand: z.ZodBoolean;
|
|
3735
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
3736
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
3594
3737
|
}, "strip", z.ZodTypeAny, {
|
|
3595
|
-
powerSteering
|
|
3596
|
-
|
|
3597
|
-
concurrentFileReads: boolean;
|
|
3598
|
-
disableCompletionCommand: boolean;
|
|
3738
|
+
powerSteering?: boolean | undefined;
|
|
3739
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3599
3740
|
}, {
|
|
3600
|
-
powerSteering
|
|
3601
|
-
|
|
3602
|
-
concurrentFileReads: boolean;
|
|
3603
|
-
disableCompletionCommand: boolean;
|
|
3741
|
+
powerSteering?: boolean | undefined;
|
|
3742
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3604
3743
|
}>>;
|
|
3605
3744
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
3606
3745
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3664,7 +3803,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3664
3803
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
3665
3804
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
3666
3805
|
}>>;
|
|
3667
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
3806
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
3668
3807
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
3669
3808
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3670
3809
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3732,11 +3871,12 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3732
3871
|
customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
3733
3872
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
3734
3873
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
3874
|
+
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3735
3875
|
}, "strip", z.ZodTypeAny, {
|
|
3736
3876
|
diffEnabled?: boolean | undefined;
|
|
3737
3877
|
fuzzyMatchThreshold?: number | undefined;
|
|
3738
3878
|
rateLimitSeconds?: number | undefined;
|
|
3739
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3879
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3740
3880
|
mode?: string | undefined;
|
|
3741
3881
|
customInstructions?: string | undefined;
|
|
3742
3882
|
customModes?: {
|
|
@@ -3755,7 +3895,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3755
3895
|
listApiConfigMeta?: {
|
|
3756
3896
|
name: string;
|
|
3757
3897
|
id: string;
|
|
3758
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
3898
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
3759
3899
|
}[] | undefined;
|
|
3760
3900
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
3761
3901
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -3779,6 +3919,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3779
3919
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
3780
3920
|
alwaysAllowWrite?: boolean | undefined;
|
|
3781
3921
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
3922
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
3782
3923
|
writeDelayMs?: number | undefined;
|
|
3783
3924
|
alwaysAllowBrowser?: boolean | undefined;
|
|
3784
3925
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -3818,10 +3959,8 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3818
3959
|
terminalZdotdir?: boolean | undefined;
|
|
3819
3960
|
terminalCompressProgressBar?: boolean | undefined;
|
|
3820
3961
|
experiments?: {
|
|
3821
|
-
powerSteering
|
|
3822
|
-
|
|
3823
|
-
concurrentFileReads: boolean;
|
|
3824
|
-
disableCompletionCommand: boolean;
|
|
3962
|
+
powerSteering?: boolean | undefined;
|
|
3963
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3825
3964
|
} | undefined;
|
|
3826
3965
|
codebaseIndexModels?: {
|
|
3827
3966
|
openai?: Record<string, {
|
|
@@ -3853,11 +3992,12 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3853
3992
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
3854
3993
|
enhancementApiConfigId?: string | undefined;
|
|
3855
3994
|
historyPreviewCollapsed?: boolean | undefined;
|
|
3995
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
3856
3996
|
}, {
|
|
3857
3997
|
diffEnabled?: boolean | undefined;
|
|
3858
3998
|
fuzzyMatchThreshold?: number | undefined;
|
|
3859
3999
|
rateLimitSeconds?: number | undefined;
|
|
3860
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4000
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3861
4001
|
mode?: string | undefined;
|
|
3862
4002
|
customInstructions?: string | undefined;
|
|
3863
4003
|
customModes?: {
|
|
@@ -3876,7 +4016,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3876
4016
|
listApiConfigMeta?: {
|
|
3877
4017
|
name: string;
|
|
3878
4018
|
id: string;
|
|
3879
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4019
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
3880
4020
|
}[] | undefined;
|
|
3881
4021
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
3882
4022
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -3900,6 +4040,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3900
4040
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
3901
4041
|
alwaysAllowWrite?: boolean | undefined;
|
|
3902
4042
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
4043
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
3903
4044
|
writeDelayMs?: number | undefined;
|
|
3904
4045
|
alwaysAllowBrowser?: boolean | undefined;
|
|
3905
4046
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -3939,10 +4080,8 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3939
4080
|
terminalZdotdir?: boolean | undefined;
|
|
3940
4081
|
terminalCompressProgressBar?: boolean | undefined;
|
|
3941
4082
|
experiments?: {
|
|
3942
|
-
powerSteering
|
|
3943
|
-
|
|
3944
|
-
concurrentFileReads: boolean;
|
|
3945
|
-
disableCompletionCommand: boolean;
|
|
4083
|
+
powerSteering?: boolean | undefined;
|
|
4084
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3946
4085
|
} | undefined;
|
|
3947
4086
|
codebaseIndexModels?: {
|
|
3948
4087
|
openai?: Record<string, {
|
|
@@ -3974,9 +4113,10 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3974
4113
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
3975
4114
|
enhancementApiConfigId?: string | undefined;
|
|
3976
4115
|
historyPreviewCollapsed?: boolean | undefined;
|
|
4116
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
3977
4117
|
}>;
|
|
3978
4118
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
3979
|
-
declare const GLOBAL_SETTINGS_KEYS:
|
|
4119
|
+
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds"];
|
|
3980
4120
|
/**
|
|
3981
4121
|
* RooCodeSettings
|
|
3982
4122
|
*/
|
|
@@ -4161,24 +4301,25 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4161
4301
|
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
4162
4302
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
4163
4303
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
4304
|
+
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
4164
4305
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
4165
4306
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4166
4307
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
4167
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
4308
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
4168
4309
|
} & {
|
|
4169
4310
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
4170
4311
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4171
4312
|
id: z.ZodString;
|
|
4172
4313
|
name: z.ZodString;
|
|
4173
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
4314
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
4174
4315
|
}, "strip", z.ZodTypeAny, {
|
|
4175
4316
|
name: string;
|
|
4176
4317
|
id: string;
|
|
4177
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4318
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4178
4319
|
}, {
|
|
4179
4320
|
name: string;
|
|
4180
4321
|
id: string;
|
|
4181
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4322
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4182
4323
|
}>, "many">>;
|
|
4183
4324
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
4184
4325
|
lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
|
|
@@ -4227,6 +4368,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4227
4368
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
4228
4369
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
4229
4370
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
4371
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
4230
4372
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
4231
4373
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
4232
4374
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4269,20 +4411,14 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4269
4411
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4270
4412
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
4271
4413
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
4272
|
-
powerSteering: z.ZodBoolean
|
|
4273
|
-
|
|
4274
|
-
concurrentFileReads: z.ZodBoolean;
|
|
4275
|
-
disableCompletionCommand: z.ZodBoolean;
|
|
4414
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
4276
4416
|
}, "strip", z.ZodTypeAny, {
|
|
4277
|
-
powerSteering
|
|
4278
|
-
|
|
4279
|
-
concurrentFileReads: boolean;
|
|
4280
|
-
disableCompletionCommand: boolean;
|
|
4417
|
+
powerSteering?: boolean | undefined;
|
|
4418
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4281
4419
|
}, {
|
|
4282
|
-
powerSteering
|
|
4283
|
-
|
|
4284
|
-
concurrentFileReads: boolean;
|
|
4285
|
-
disableCompletionCommand: boolean;
|
|
4420
|
+
powerSteering?: boolean | undefined;
|
|
4421
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4286
4422
|
}>>;
|
|
4287
4423
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
4288
4424
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -4346,7 +4482,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4346
4482
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
4347
4483
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
4348
4484
|
}>>;
|
|
4349
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
4485
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
4350
4486
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
4351
4487
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4352
4488
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4414,6 +4550,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4414
4550
|
customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
4415
4551
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
4416
4552
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
4553
|
+
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4417
4554
|
}, "strip", z.ZodTypeAny, {
|
|
4418
4555
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
4419
4556
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -4421,7 +4558,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4421
4558
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
4422
4559
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
4423
4560
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
4424
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4561
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4425
4562
|
includeMaxTokens?: boolean | undefined;
|
|
4426
4563
|
diffEnabled?: boolean | undefined;
|
|
4427
4564
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -4434,6 +4571,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4434
4571
|
apiKey?: string | undefined;
|
|
4435
4572
|
anthropicBaseUrl?: string | undefined;
|
|
4436
4573
|
anthropicUseAuthToken?: boolean | undefined;
|
|
4574
|
+
claudeCodePath?: string | undefined;
|
|
4437
4575
|
glamaModelId?: string | undefined;
|
|
4438
4576
|
glamaApiKey?: string | undefined;
|
|
4439
4577
|
openRouterApiKey?: string | undefined;
|
|
@@ -4526,7 +4664,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4526
4664
|
litellmBaseUrl?: string | undefined;
|
|
4527
4665
|
litellmApiKey?: string | undefined;
|
|
4528
4666
|
litellmModelId?: string | undefined;
|
|
4529
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4667
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4530
4668
|
mode?: string | undefined;
|
|
4531
4669
|
customInstructions?: string | undefined;
|
|
4532
4670
|
customModes?: {
|
|
@@ -4545,7 +4683,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4545
4683
|
listApiConfigMeta?: {
|
|
4546
4684
|
name: string;
|
|
4547
4685
|
id: string;
|
|
4548
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4686
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4549
4687
|
}[] | undefined;
|
|
4550
4688
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
4551
4689
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -4569,6 +4707,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4569
4707
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
4570
4708
|
alwaysAllowWrite?: boolean | undefined;
|
|
4571
4709
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
4710
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
4572
4711
|
writeDelayMs?: number | undefined;
|
|
4573
4712
|
alwaysAllowBrowser?: boolean | undefined;
|
|
4574
4713
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -4608,10 +4747,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4608
4747
|
terminalZdotdir?: boolean | undefined;
|
|
4609
4748
|
terminalCompressProgressBar?: boolean | undefined;
|
|
4610
4749
|
experiments?: {
|
|
4611
|
-
powerSteering
|
|
4612
|
-
|
|
4613
|
-
concurrentFileReads: boolean;
|
|
4614
|
-
disableCompletionCommand: boolean;
|
|
4750
|
+
powerSteering?: boolean | undefined;
|
|
4751
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4615
4752
|
} | undefined;
|
|
4616
4753
|
codebaseIndexModels?: {
|
|
4617
4754
|
openai?: Record<string, {
|
|
@@ -4643,6 +4780,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4643
4780
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
4644
4781
|
enhancementApiConfigId?: string | undefined;
|
|
4645
4782
|
historyPreviewCollapsed?: boolean | undefined;
|
|
4783
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
4646
4784
|
}, {
|
|
4647
4785
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
4648
4786
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -4650,7 +4788,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4650
4788
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
4651
4789
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
4652
4790
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
4653
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4791
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4654
4792
|
includeMaxTokens?: boolean | undefined;
|
|
4655
4793
|
diffEnabled?: boolean | undefined;
|
|
4656
4794
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -4663,6 +4801,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4663
4801
|
apiKey?: string | undefined;
|
|
4664
4802
|
anthropicBaseUrl?: string | undefined;
|
|
4665
4803
|
anthropicUseAuthToken?: boolean | undefined;
|
|
4804
|
+
claudeCodePath?: string | undefined;
|
|
4666
4805
|
glamaModelId?: string | undefined;
|
|
4667
4806
|
glamaApiKey?: string | undefined;
|
|
4668
4807
|
openRouterApiKey?: string | undefined;
|
|
@@ -4755,7 +4894,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4755
4894
|
litellmBaseUrl?: string | undefined;
|
|
4756
4895
|
litellmApiKey?: string | undefined;
|
|
4757
4896
|
litellmModelId?: string | undefined;
|
|
4758
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4897
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4759
4898
|
mode?: string | undefined;
|
|
4760
4899
|
customInstructions?: string | undefined;
|
|
4761
4900
|
customModes?: {
|
|
@@ -4774,7 +4913,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4774
4913
|
listApiConfigMeta?: {
|
|
4775
4914
|
name: string;
|
|
4776
4915
|
id: string;
|
|
4777
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4916
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4778
4917
|
}[] | undefined;
|
|
4779
4918
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
4780
4919
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -4798,6 +4937,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4798
4937
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
4799
4938
|
alwaysAllowWrite?: boolean | undefined;
|
|
4800
4939
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
4940
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
4801
4941
|
writeDelayMs?: number | undefined;
|
|
4802
4942
|
alwaysAllowBrowser?: boolean | undefined;
|
|
4803
4943
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -4837,10 +4977,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4837
4977
|
terminalZdotdir?: boolean | undefined;
|
|
4838
4978
|
terminalCompressProgressBar?: boolean | undefined;
|
|
4839
4979
|
experiments?: {
|
|
4840
|
-
powerSteering
|
|
4841
|
-
|
|
4842
|
-
concurrentFileReads: boolean;
|
|
4843
|
-
disableCompletionCommand: boolean;
|
|
4980
|
+
powerSteering?: boolean | undefined;
|
|
4981
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4844
4982
|
} | undefined;
|
|
4845
4983
|
codebaseIndexModels?: {
|
|
4846
4984
|
openai?: Record<string, {
|
|
@@ -4872,13 +5010,14 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4872
5010
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
4873
5011
|
enhancementApiConfigId?: string | undefined;
|
|
4874
5012
|
historyPreviewCollapsed?: boolean | undefined;
|
|
5013
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
4875
5014
|
}>;
|
|
4876
5015
|
type RooCodeSettings = GlobalSettings & ProviderSettings;
|
|
4877
5016
|
/**
|
|
4878
5017
|
* SecretState
|
|
4879
5018
|
*/
|
|
4880
|
-
type SecretState = Pick<ProviderSettings, "apiKey" | "glamaApiKey" | "openRouterApiKey" | "awsAccessKey" | "awsSecretKey" | "awsSessionToken" | "openAiApiKey" | "geminiApiKey" | "openAiNativeApiKey" | "deepSeekApiKey" | "mistralApiKey" | "unboundApiKey" | "requestyApiKey" | "xaiApiKey" | "groqApiKey" | "chutesApiKey" | "litellmApiKey" | "codeIndexOpenAiKey" | "codeIndexQdrantApiKey" | "codebaseIndexOpenAiCompatibleApiKey">;
|
|
4881
5019
|
declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey"];
|
|
5020
|
+
type SecretState = Pick<ProviderSettings, (typeof SECRET_STATE_KEYS)[number]>;
|
|
4882
5021
|
declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
|
|
4883
5022
|
/**
|
|
4884
5023
|
* GlobalState
|
|
@@ -4895,12 +5034,66 @@ declare const EVALS_TIMEOUT: number;
|
|
|
4895
5034
|
/**
|
|
4896
5035
|
* ClineAsk
|
|
4897
5036
|
*/
|
|
5037
|
+
/**
|
|
5038
|
+
* Array of possible ask types that the LLM can use to request user interaction or approval.
|
|
5039
|
+
* These represent different scenarios where the assistant needs user input to proceed.
|
|
5040
|
+
*
|
|
5041
|
+
* @constant
|
|
5042
|
+
* @readonly
|
|
5043
|
+
*
|
|
5044
|
+
* Ask type descriptions:
|
|
5045
|
+
* - `followup`: LLM asks a clarifying question to gather more information needed to complete the task
|
|
5046
|
+
* - `command`: Permission to execute a terminal/shell command
|
|
5047
|
+
* - `command_output`: Permission to read the output from a previously executed command
|
|
5048
|
+
* - `completion_result`: Task has been completed, awaiting user feedback or a new task
|
|
5049
|
+
* - `tool`: Permission to use a tool for file operations (read, write, search, etc.)
|
|
5050
|
+
* - `api_req_failed`: API request failed, asking user whether to retry
|
|
5051
|
+
* - `resume_task`: Confirmation needed to resume a previously paused task
|
|
5052
|
+
* - `resume_completed_task`: Confirmation needed to resume a task that was already marked as completed
|
|
5053
|
+
* - `mistake_limit_reached`: Too many errors encountered, needs user guidance on how to proceed
|
|
5054
|
+
* - `browser_action_launch`: Permission to open or interact with a browser
|
|
5055
|
+
* - `use_mcp_server`: Permission to use Model Context Protocol (MCP) server functionality
|
|
5056
|
+
* - `auto_approval_max_req_reached`: Auto-approval limit has been reached, manual approval required
|
|
5057
|
+
*/
|
|
4898
5058
|
declare const clineAsks: readonly ["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"];
|
|
4899
5059
|
declare const clineAskSchema: z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>;
|
|
4900
5060
|
type ClineAsk = z.infer<typeof clineAskSchema>;
|
|
4901
5061
|
/**
|
|
4902
5062
|
* ClineSay
|
|
4903
5063
|
*/
|
|
5064
|
+
/**
|
|
5065
|
+
* Array of possible say types that represent different kinds of messages the assistant can send.
|
|
5066
|
+
* These are used to categorize and handle various types of communication from the LLM to the user.
|
|
5067
|
+
*
|
|
5068
|
+
* @constant
|
|
5069
|
+
* @readonly
|
|
5070
|
+
*
|
|
5071
|
+
* Say type descriptions:
|
|
5072
|
+
* - `error`: General error message
|
|
5073
|
+
* - `api_req_started`: Indicates an API request has been initiated
|
|
5074
|
+
* - `api_req_finished`: Indicates an API request has completed successfully
|
|
5075
|
+
* - `api_req_retried`: Indicates an API request is being retried after a failure
|
|
5076
|
+
* - `api_req_retry_delayed`: Indicates an API request retry has been delayed
|
|
5077
|
+
* - `api_req_deleted`: Indicates an API request has been deleted/cancelled
|
|
5078
|
+
* - `text`: General text message or assistant response
|
|
5079
|
+
* - `reasoning`: Assistant's reasoning or thought process (often hidden from user)
|
|
5080
|
+
* - `completion_result`: Final result of task completion
|
|
5081
|
+
* - `user_feedback`: Message containing user feedback
|
|
5082
|
+
* - `user_feedback_diff`: Diff-formatted feedback from user showing requested changes
|
|
5083
|
+
* - `command_output`: Output from an executed command
|
|
5084
|
+
* - `shell_integration_warning`: Warning about shell integration issues or limitations
|
|
5085
|
+
* - `browser_action`: Action performed in the browser
|
|
5086
|
+
* - `browser_action_result`: Result of a browser action
|
|
5087
|
+
* - `mcp_server_request_started`: MCP server request has been initiated
|
|
5088
|
+
* - `mcp_server_response`: Response received from MCP server
|
|
5089
|
+
* - `subtask_result`: Result of a completed subtask
|
|
5090
|
+
* - `checkpoint_saved`: Indicates a checkpoint has been saved
|
|
5091
|
+
* - `rooignore_error`: Error related to .rooignore file processing
|
|
5092
|
+
* - `diff_error`: Error occurred while applying a diff/patch
|
|
5093
|
+
* - `condense_context`: Context condensation/summarization has started
|
|
5094
|
+
* - `condense_context_error`: Error occurred during context condensation
|
|
5095
|
+
* - `codebase_search_result`: Results from searching the codebase
|
|
5096
|
+
*/
|
|
4904
5097
|
declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"];
|
|
4905
5098
|
declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>;
|
|
4906
5099
|
type ClineSay = z.infer<typeof clineSaySchema>;
|
|
@@ -4978,6 +5171,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
4978
5171
|
newContextTokens: number;
|
|
4979
5172
|
summary: string;
|
|
4980
5173
|
}>>;
|
|
5174
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
4981
5175
|
}, "strip", z.ZodTypeAny, {
|
|
4982
5176
|
type: "ask" | "say";
|
|
4983
5177
|
ts: number;
|
|
@@ -4999,6 +5193,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
4999
5193
|
newContextTokens: number;
|
|
5000
5194
|
summary: string;
|
|
5001
5195
|
} | undefined;
|
|
5196
|
+
isProtected?: boolean | undefined;
|
|
5002
5197
|
}, {
|
|
5003
5198
|
type: "ask" | "say";
|
|
5004
5199
|
ts: number;
|
|
@@ -5020,6 +5215,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5020
5215
|
newContextTokens: number;
|
|
5021
5216
|
summary: string;
|
|
5022
5217
|
} | undefined;
|
|
5218
|
+
isProtected?: boolean | undefined;
|
|
5023
5219
|
}>;
|
|
5024
5220
|
type ClineMessage = z.infer<typeof clineMessageSchema>;
|
|
5025
5221
|
/**
|
|
@@ -5076,6 +5272,17 @@ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_f
|
|
|
5076
5272
|
}>>;
|
|
5077
5273
|
type ToolUsage = z.infer<typeof toolUsageSchema>;
|
|
5078
5274
|
|
|
5275
|
+
/**
|
|
5276
|
+
* isSubtaskSchema
|
|
5277
|
+
*/
|
|
5278
|
+
declare const isSubtaskSchema: z.ZodObject<{
|
|
5279
|
+
isSubtask: z.ZodBoolean;
|
|
5280
|
+
}, "strip", z.ZodTypeAny, {
|
|
5281
|
+
isSubtask: boolean;
|
|
5282
|
+
}, {
|
|
5283
|
+
isSubtask: boolean;
|
|
5284
|
+
}>;
|
|
5285
|
+
type IsSubtask = z.infer<typeof isSubtaskSchema>;
|
|
5079
5286
|
/**
|
|
5080
5287
|
* RooCodeEvent
|
|
5081
5288
|
*/
|
|
@@ -5136,6 +5343,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5136
5343
|
newContextTokens: number;
|
|
5137
5344
|
summary: string;
|
|
5138
5345
|
}>>;
|
|
5346
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5139
5347
|
}, "strip", z.ZodTypeAny, {
|
|
5140
5348
|
type: "ask" | "say";
|
|
5141
5349
|
ts: number;
|
|
@@ -5157,6 +5365,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5157
5365
|
newContextTokens: number;
|
|
5158
5366
|
summary: string;
|
|
5159
5367
|
} | undefined;
|
|
5368
|
+
isProtected?: boolean | undefined;
|
|
5160
5369
|
}, {
|
|
5161
5370
|
type: "ask" | "say";
|
|
5162
5371
|
ts: number;
|
|
@@ -5178,6 +5387,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5178
5387
|
newContextTokens: number;
|
|
5179
5388
|
summary: string;
|
|
5180
5389
|
} | undefined;
|
|
5390
|
+
isProtected?: boolean | undefined;
|
|
5181
5391
|
}>;
|
|
5182
5392
|
}, "strip", z.ZodTypeAny, {
|
|
5183
5393
|
message: {
|
|
@@ -5201,6 +5411,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5201
5411
|
newContextTokens: number;
|
|
5202
5412
|
summary: string;
|
|
5203
5413
|
} | undefined;
|
|
5414
|
+
isProtected?: boolean | undefined;
|
|
5204
5415
|
};
|
|
5205
5416
|
taskId: string;
|
|
5206
5417
|
action: "created" | "updated";
|
|
@@ -5226,6 +5437,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5226
5437
|
newContextTokens: number;
|
|
5227
5438
|
summary: string;
|
|
5228
5439
|
} | undefined;
|
|
5440
|
+
isProtected?: boolean | undefined;
|
|
5229
5441
|
};
|
|
5230
5442
|
taskId: string;
|
|
5231
5443
|
action: "created" | "updated";
|
|
@@ -5268,7 +5480,13 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5268
5480
|
}, {
|
|
5269
5481
|
attempts: number;
|
|
5270
5482
|
failures: number;
|
|
5271
|
-
}
|
|
5483
|
+
}>>, z.ZodObject<{
|
|
5484
|
+
isSubtask: z.ZodBoolean;
|
|
5485
|
+
}, "strip", z.ZodTypeAny, {
|
|
5486
|
+
isSubtask: boolean;
|
|
5487
|
+
}, {
|
|
5488
|
+
isSubtask: boolean;
|
|
5489
|
+
}>], null>;
|
|
5272
5490
|
taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
|
|
5273
5491
|
totalTokensIn: z.ZodNumber;
|
|
5274
5492
|
totalTokensOut: z.ZodNumber;
|
|
@@ -5315,6 +5533,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5315
5533
|
newContextTokens: number;
|
|
5316
5534
|
summary: string;
|
|
5317
5535
|
} | undefined;
|
|
5536
|
+
isProtected?: boolean | undefined;
|
|
5318
5537
|
};
|
|
5319
5538
|
taskId: string;
|
|
5320
5539
|
action: "created" | "updated";
|
|
@@ -5337,7 +5556,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5337
5556
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
5338
5557
|
attempts: number;
|
|
5339
5558
|
failures: number;
|
|
5340
|
-
}
|
|
5559
|
+
}>>, {
|
|
5560
|
+
isSubtask: boolean;
|
|
5561
|
+
}];
|
|
5341
5562
|
taskTokenUsageUpdated: [string, {
|
|
5342
5563
|
totalCost: number;
|
|
5343
5564
|
totalTokensIn: number;
|
|
@@ -5370,6 +5591,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5370
5591
|
newContextTokens: number;
|
|
5371
5592
|
summary: string;
|
|
5372
5593
|
} | undefined;
|
|
5594
|
+
isProtected?: boolean | undefined;
|
|
5373
5595
|
};
|
|
5374
5596
|
taskId: string;
|
|
5375
5597
|
action: "created" | "updated";
|
|
@@ -5392,7 +5614,9 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5392
5614
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
5393
5615
|
attempts: number;
|
|
5394
5616
|
failures: number;
|
|
5395
|
-
}
|
|
5617
|
+
}>>, {
|
|
5618
|
+
isSubtask: boolean;
|
|
5619
|
+
}];
|
|
5396
5620
|
taskTokenUsageUpdated: [string, {
|
|
5397
5621
|
totalCost: number;
|
|
5398
5622
|
totalTokensIn: number;
|
|
@@ -5613,24 +5837,25 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5613
5837
|
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
5614
5838
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
5615
5839
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
5840
|
+
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
5616
5841
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
5617
5842
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
5618
5843
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
5619
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
5844
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
5620
5845
|
} & {
|
|
5621
5846
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
5622
5847
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5623
5848
|
id: z.ZodString;
|
|
5624
5849
|
name: z.ZodString;
|
|
5625
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
5850
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
5626
5851
|
}, "strip", z.ZodTypeAny, {
|
|
5627
5852
|
name: string;
|
|
5628
5853
|
id: string;
|
|
5629
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5854
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5630
5855
|
}, {
|
|
5631
5856
|
name: string;
|
|
5632
5857
|
id: string;
|
|
5633
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5858
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5634
5859
|
}>, "many">>;
|
|
5635
5860
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
5636
5861
|
lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
|
|
@@ -5679,6 +5904,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5679
5904
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5680
5905
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
5681
5906
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5907
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5682
5908
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
5683
5909
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
5684
5910
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5721,20 +5947,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5721
5947
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5722
5948
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
5723
5949
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
5724
|
-
powerSteering: z.ZodBoolean
|
|
5725
|
-
|
|
5726
|
-
concurrentFileReads: z.ZodBoolean;
|
|
5727
|
-
disableCompletionCommand: z.ZodBoolean;
|
|
5950
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
5951
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
5728
5952
|
}, "strip", z.ZodTypeAny, {
|
|
5729
|
-
powerSteering
|
|
5730
|
-
|
|
5731
|
-
concurrentFileReads: boolean;
|
|
5732
|
-
disableCompletionCommand: boolean;
|
|
5953
|
+
powerSteering?: boolean | undefined;
|
|
5954
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
5733
5955
|
}, {
|
|
5734
|
-
powerSteering
|
|
5735
|
-
|
|
5736
|
-
concurrentFileReads: boolean;
|
|
5737
|
-
disableCompletionCommand: boolean;
|
|
5956
|
+
powerSteering?: boolean | undefined;
|
|
5957
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
5738
5958
|
}>>;
|
|
5739
5959
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
5740
5960
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -5798,7 +6018,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5798
6018
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
5799
6019
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
5800
6020
|
}>>;
|
|
5801
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
6021
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
5802
6022
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
5803
6023
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5804
6024
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5866,6 +6086,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5866
6086
|
customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
5867
6087
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
5868
6088
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
6089
|
+
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
5869
6090
|
}, "strip", z.ZodTypeAny, {
|
|
5870
6091
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
5871
6092
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -5873,7 +6094,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5873
6094
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
5874
6095
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
5875
6096
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
5876
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6097
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5877
6098
|
includeMaxTokens?: boolean | undefined;
|
|
5878
6099
|
diffEnabled?: boolean | undefined;
|
|
5879
6100
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -5886,6 +6107,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5886
6107
|
apiKey?: string | undefined;
|
|
5887
6108
|
anthropicBaseUrl?: string | undefined;
|
|
5888
6109
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6110
|
+
claudeCodePath?: string | undefined;
|
|
5889
6111
|
glamaModelId?: string | undefined;
|
|
5890
6112
|
glamaApiKey?: string | undefined;
|
|
5891
6113
|
openRouterApiKey?: string | undefined;
|
|
@@ -5978,7 +6200,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5978
6200
|
litellmBaseUrl?: string | undefined;
|
|
5979
6201
|
litellmApiKey?: string | undefined;
|
|
5980
6202
|
litellmModelId?: string | undefined;
|
|
5981
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6203
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
5982
6204
|
mode?: string | undefined;
|
|
5983
6205
|
customInstructions?: string | undefined;
|
|
5984
6206
|
customModes?: {
|
|
@@ -5997,7 +6219,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5997
6219
|
listApiConfigMeta?: {
|
|
5998
6220
|
name: string;
|
|
5999
6221
|
id: string;
|
|
6000
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6222
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6001
6223
|
}[] | undefined;
|
|
6002
6224
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
6003
6225
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -6021,6 +6243,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6021
6243
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6022
6244
|
alwaysAllowWrite?: boolean | undefined;
|
|
6023
6245
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6246
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6024
6247
|
writeDelayMs?: number | undefined;
|
|
6025
6248
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6026
6249
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6060,10 +6283,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6060
6283
|
terminalZdotdir?: boolean | undefined;
|
|
6061
6284
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6062
6285
|
experiments?: {
|
|
6063
|
-
powerSteering
|
|
6064
|
-
|
|
6065
|
-
concurrentFileReads: boolean;
|
|
6066
|
-
disableCompletionCommand: boolean;
|
|
6286
|
+
powerSteering?: boolean | undefined;
|
|
6287
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6067
6288
|
} | undefined;
|
|
6068
6289
|
codebaseIndexModels?: {
|
|
6069
6290
|
openai?: Record<string, {
|
|
@@ -6095,6 +6316,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6095
6316
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
6096
6317
|
enhancementApiConfigId?: string | undefined;
|
|
6097
6318
|
historyPreviewCollapsed?: boolean | undefined;
|
|
6319
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
6098
6320
|
}, {
|
|
6099
6321
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
6100
6322
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -6102,7 +6324,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6102
6324
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6103
6325
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6104
6326
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6105
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6327
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6106
6328
|
includeMaxTokens?: boolean | undefined;
|
|
6107
6329
|
diffEnabled?: boolean | undefined;
|
|
6108
6330
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -6115,6 +6337,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6115
6337
|
apiKey?: string | undefined;
|
|
6116
6338
|
anthropicBaseUrl?: string | undefined;
|
|
6117
6339
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6340
|
+
claudeCodePath?: string | undefined;
|
|
6118
6341
|
glamaModelId?: string | undefined;
|
|
6119
6342
|
glamaApiKey?: string | undefined;
|
|
6120
6343
|
openRouterApiKey?: string | undefined;
|
|
@@ -6207,7 +6430,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6207
6430
|
litellmBaseUrl?: string | undefined;
|
|
6208
6431
|
litellmApiKey?: string | undefined;
|
|
6209
6432
|
litellmModelId?: string | undefined;
|
|
6210
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6433
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6211
6434
|
mode?: string | undefined;
|
|
6212
6435
|
customInstructions?: string | undefined;
|
|
6213
6436
|
customModes?: {
|
|
@@ -6226,7 +6449,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6226
6449
|
listApiConfigMeta?: {
|
|
6227
6450
|
name: string;
|
|
6228
6451
|
id: string;
|
|
6229
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6452
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6230
6453
|
}[] | undefined;
|
|
6231
6454
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
6232
6455
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -6250,6 +6473,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6250
6473
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6251
6474
|
alwaysAllowWrite?: boolean | undefined;
|
|
6252
6475
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6476
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6253
6477
|
writeDelayMs?: number | undefined;
|
|
6254
6478
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6255
6479
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6289,10 +6513,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6289
6513
|
terminalZdotdir?: boolean | undefined;
|
|
6290
6514
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6291
6515
|
experiments?: {
|
|
6292
|
-
powerSteering
|
|
6293
|
-
|
|
6294
|
-
concurrentFileReads: boolean;
|
|
6295
|
-
disableCompletionCommand: boolean;
|
|
6516
|
+
powerSteering?: boolean | undefined;
|
|
6517
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6296
6518
|
} | undefined;
|
|
6297
6519
|
codebaseIndexModels?: {
|
|
6298
6520
|
openai?: Record<string, {
|
|
@@ -6324,6 +6546,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6324
6546
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
6325
6547
|
enhancementApiConfigId?: string | undefined;
|
|
6326
6548
|
historyPreviewCollapsed?: boolean | undefined;
|
|
6549
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
6327
6550
|
}>;
|
|
6328
6551
|
text: z.ZodString;
|
|
6329
6552
|
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6337,7 +6560,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6337
6560
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6338
6561
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6339
6562
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6340
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6563
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6341
6564
|
includeMaxTokens?: boolean | undefined;
|
|
6342
6565
|
diffEnabled?: boolean | undefined;
|
|
6343
6566
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -6350,6 +6573,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6350
6573
|
apiKey?: string | undefined;
|
|
6351
6574
|
anthropicBaseUrl?: string | undefined;
|
|
6352
6575
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6576
|
+
claudeCodePath?: string | undefined;
|
|
6353
6577
|
glamaModelId?: string | undefined;
|
|
6354
6578
|
glamaApiKey?: string | undefined;
|
|
6355
6579
|
openRouterApiKey?: string | undefined;
|
|
@@ -6442,7 +6666,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6442
6666
|
litellmBaseUrl?: string | undefined;
|
|
6443
6667
|
litellmApiKey?: string | undefined;
|
|
6444
6668
|
litellmModelId?: string | undefined;
|
|
6445
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6669
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6446
6670
|
mode?: string | undefined;
|
|
6447
6671
|
customInstructions?: string | undefined;
|
|
6448
6672
|
customModes?: {
|
|
@@ -6461,7 +6685,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6461
6685
|
listApiConfigMeta?: {
|
|
6462
6686
|
name: string;
|
|
6463
6687
|
id: string;
|
|
6464
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6688
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6465
6689
|
}[] | undefined;
|
|
6466
6690
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
6467
6691
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -6485,6 +6709,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6485
6709
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6486
6710
|
alwaysAllowWrite?: boolean | undefined;
|
|
6487
6711
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6712
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6488
6713
|
writeDelayMs?: number | undefined;
|
|
6489
6714
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6490
6715
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6524,10 +6749,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6524
6749
|
terminalZdotdir?: boolean | undefined;
|
|
6525
6750
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6526
6751
|
experiments?: {
|
|
6527
|
-
powerSteering
|
|
6528
|
-
|
|
6529
|
-
concurrentFileReads: boolean;
|
|
6530
|
-
disableCompletionCommand: boolean;
|
|
6752
|
+
powerSteering?: boolean | undefined;
|
|
6753
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6531
6754
|
} | undefined;
|
|
6532
6755
|
codebaseIndexModels?: {
|
|
6533
6756
|
openai?: Record<string, {
|
|
@@ -6559,6 +6782,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6559
6782
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
6560
6783
|
enhancementApiConfigId?: string | undefined;
|
|
6561
6784
|
historyPreviewCollapsed?: boolean | undefined;
|
|
6785
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
6562
6786
|
};
|
|
6563
6787
|
images?: string[] | undefined;
|
|
6564
6788
|
newTab?: boolean | undefined;
|
|
@@ -6571,7 +6795,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6571
6795
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6572
6796
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6573
6797
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6574
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6798
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6575
6799
|
includeMaxTokens?: boolean | undefined;
|
|
6576
6800
|
diffEnabled?: boolean | undefined;
|
|
6577
6801
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -6584,6 +6808,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6584
6808
|
apiKey?: string | undefined;
|
|
6585
6809
|
anthropicBaseUrl?: string | undefined;
|
|
6586
6810
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6811
|
+
claudeCodePath?: string | undefined;
|
|
6587
6812
|
glamaModelId?: string | undefined;
|
|
6588
6813
|
glamaApiKey?: string | undefined;
|
|
6589
6814
|
openRouterApiKey?: string | undefined;
|
|
@@ -6676,7 +6901,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6676
6901
|
litellmBaseUrl?: string | undefined;
|
|
6677
6902
|
litellmApiKey?: string | undefined;
|
|
6678
6903
|
litellmModelId?: string | undefined;
|
|
6679
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6904
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6680
6905
|
mode?: string | undefined;
|
|
6681
6906
|
customInstructions?: string | undefined;
|
|
6682
6907
|
customModes?: {
|
|
@@ -6695,7 +6920,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6695
6920
|
listApiConfigMeta?: {
|
|
6696
6921
|
name: string;
|
|
6697
6922
|
id: string;
|
|
6698
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6923
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6699
6924
|
}[] | undefined;
|
|
6700
6925
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
6701
6926
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -6719,6 +6944,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6719
6944
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6720
6945
|
alwaysAllowWrite?: boolean | undefined;
|
|
6721
6946
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6947
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6722
6948
|
writeDelayMs?: number | undefined;
|
|
6723
6949
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6724
6950
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6758,10 +6984,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6758
6984
|
terminalZdotdir?: boolean | undefined;
|
|
6759
6985
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6760
6986
|
experiments?: {
|
|
6761
|
-
powerSteering
|
|
6762
|
-
|
|
6763
|
-
concurrentFileReads: boolean;
|
|
6764
|
-
disableCompletionCommand: boolean;
|
|
6987
|
+
powerSteering?: boolean | undefined;
|
|
6988
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6765
6989
|
} | undefined;
|
|
6766
6990
|
codebaseIndexModels?: {
|
|
6767
6991
|
openai?: Record<string, {
|
|
@@ -6793,6 +7017,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6793
7017
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
6794
7018
|
enhancementApiConfigId?: string | undefined;
|
|
6795
7019
|
historyPreviewCollapsed?: boolean | undefined;
|
|
7020
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
6796
7021
|
};
|
|
6797
7022
|
images?: string[] | undefined;
|
|
6798
7023
|
newTab?: boolean | undefined;
|
|
@@ -6808,7 +7033,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6808
7033
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6809
7034
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6810
7035
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6811
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7036
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6812
7037
|
includeMaxTokens?: boolean | undefined;
|
|
6813
7038
|
diffEnabled?: boolean | undefined;
|
|
6814
7039
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -6821,6 +7046,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6821
7046
|
apiKey?: string | undefined;
|
|
6822
7047
|
anthropicBaseUrl?: string | undefined;
|
|
6823
7048
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7049
|
+
claudeCodePath?: string | undefined;
|
|
6824
7050
|
glamaModelId?: string | undefined;
|
|
6825
7051
|
glamaApiKey?: string | undefined;
|
|
6826
7052
|
openRouterApiKey?: string | undefined;
|
|
@@ -6913,7 +7139,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6913
7139
|
litellmBaseUrl?: string | undefined;
|
|
6914
7140
|
litellmApiKey?: string | undefined;
|
|
6915
7141
|
litellmModelId?: string | undefined;
|
|
6916
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
7142
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6917
7143
|
mode?: string | undefined;
|
|
6918
7144
|
customInstructions?: string | undefined;
|
|
6919
7145
|
customModes?: {
|
|
@@ -6932,7 +7158,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6932
7158
|
listApiConfigMeta?: {
|
|
6933
7159
|
name: string;
|
|
6934
7160
|
id: string;
|
|
6935
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7161
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6936
7162
|
}[] | undefined;
|
|
6937
7163
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
6938
7164
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -6956,6 +7182,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6956
7182
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6957
7183
|
alwaysAllowWrite?: boolean | undefined;
|
|
6958
7184
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
7185
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6959
7186
|
writeDelayMs?: number | undefined;
|
|
6960
7187
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6961
7188
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6995,10 +7222,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6995
7222
|
terminalZdotdir?: boolean | undefined;
|
|
6996
7223
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6997
7224
|
experiments?: {
|
|
6998
|
-
powerSteering
|
|
6999
|
-
|
|
7000
|
-
concurrentFileReads: boolean;
|
|
7001
|
-
disableCompletionCommand: boolean;
|
|
7225
|
+
powerSteering?: boolean | undefined;
|
|
7226
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
7002
7227
|
} | undefined;
|
|
7003
7228
|
codebaseIndexModels?: {
|
|
7004
7229
|
openai?: Record<string, {
|
|
@@ -7030,6 +7255,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7030
7255
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
7031
7256
|
enhancementApiConfigId?: string | undefined;
|
|
7032
7257
|
historyPreviewCollapsed?: boolean | undefined;
|
|
7258
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
7033
7259
|
};
|
|
7034
7260
|
images?: string[] | undefined;
|
|
7035
7261
|
newTab?: boolean | undefined;
|
|
@@ -7045,7 +7271,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7045
7271
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
7046
7272
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
7047
7273
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
7048
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7274
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7049
7275
|
includeMaxTokens?: boolean | undefined;
|
|
7050
7276
|
diffEnabled?: boolean | undefined;
|
|
7051
7277
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -7058,6 +7284,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7058
7284
|
apiKey?: string | undefined;
|
|
7059
7285
|
anthropicBaseUrl?: string | undefined;
|
|
7060
7286
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7287
|
+
claudeCodePath?: string | undefined;
|
|
7061
7288
|
glamaModelId?: string | undefined;
|
|
7062
7289
|
glamaApiKey?: string | undefined;
|
|
7063
7290
|
openRouterApiKey?: string | undefined;
|
|
@@ -7150,7 +7377,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7150
7377
|
litellmBaseUrl?: string | undefined;
|
|
7151
7378
|
litellmApiKey?: string | undefined;
|
|
7152
7379
|
litellmModelId?: string | undefined;
|
|
7153
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
7380
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
7154
7381
|
mode?: string | undefined;
|
|
7155
7382
|
customInstructions?: string | undefined;
|
|
7156
7383
|
customModes?: {
|
|
@@ -7169,7 +7396,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7169
7396
|
listApiConfigMeta?: {
|
|
7170
7397
|
name: string;
|
|
7171
7398
|
id: string;
|
|
7172
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7399
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7173
7400
|
}[] | undefined;
|
|
7174
7401
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
7175
7402
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -7193,6 +7420,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7193
7420
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
7194
7421
|
alwaysAllowWrite?: boolean | undefined;
|
|
7195
7422
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
7423
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
7196
7424
|
writeDelayMs?: number | undefined;
|
|
7197
7425
|
alwaysAllowBrowser?: boolean | undefined;
|
|
7198
7426
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -7232,10 +7460,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7232
7460
|
terminalZdotdir?: boolean | undefined;
|
|
7233
7461
|
terminalCompressProgressBar?: boolean | undefined;
|
|
7234
7462
|
experiments?: {
|
|
7235
|
-
powerSteering
|
|
7236
|
-
|
|
7237
|
-
concurrentFileReads: boolean;
|
|
7238
|
-
disableCompletionCommand: boolean;
|
|
7463
|
+
powerSteering?: boolean | undefined;
|
|
7464
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
7239
7465
|
} | undefined;
|
|
7240
7466
|
codebaseIndexModels?: {
|
|
7241
7467
|
openai?: Record<string, {
|
|
@@ -7267,6 +7493,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7267
7493
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
7268
7494
|
enhancementApiConfigId?: string | undefined;
|
|
7269
7495
|
historyPreviewCollapsed?: boolean | undefined;
|
|
7496
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
7270
7497
|
};
|
|
7271
7498
|
images?: string[] | undefined;
|
|
7272
7499
|
newTab?: boolean | undefined;
|
|
@@ -7336,6 +7563,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7336
7563
|
newContextTokens: number;
|
|
7337
7564
|
summary: string;
|
|
7338
7565
|
}>>;
|
|
7566
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
7339
7567
|
}, "strip", z.ZodTypeAny, {
|
|
7340
7568
|
type: "ask" | "say";
|
|
7341
7569
|
ts: number;
|
|
@@ -7357,6 +7585,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7357
7585
|
newContextTokens: number;
|
|
7358
7586
|
summary: string;
|
|
7359
7587
|
} | undefined;
|
|
7588
|
+
isProtected?: boolean | undefined;
|
|
7360
7589
|
}, {
|
|
7361
7590
|
type: "ask" | "say";
|
|
7362
7591
|
ts: number;
|
|
@@ -7378,6 +7607,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7378
7607
|
newContextTokens: number;
|
|
7379
7608
|
summary: string;
|
|
7380
7609
|
} | undefined;
|
|
7610
|
+
isProtected?: boolean | undefined;
|
|
7381
7611
|
}>;
|
|
7382
7612
|
}, "strip", z.ZodTypeAny, {
|
|
7383
7613
|
message: {
|
|
@@ -7401,6 +7631,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7401
7631
|
newContextTokens: number;
|
|
7402
7632
|
summary: string;
|
|
7403
7633
|
} | undefined;
|
|
7634
|
+
isProtected?: boolean | undefined;
|
|
7404
7635
|
};
|
|
7405
7636
|
taskId: string;
|
|
7406
7637
|
action: "created" | "updated";
|
|
@@ -7426,6 +7657,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7426
7657
|
newContextTokens: number;
|
|
7427
7658
|
summary: string;
|
|
7428
7659
|
} | undefined;
|
|
7660
|
+
isProtected?: boolean | undefined;
|
|
7429
7661
|
};
|
|
7430
7662
|
taskId: string;
|
|
7431
7663
|
action: "created" | "updated";
|
|
@@ -7455,6 +7687,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7455
7687
|
newContextTokens: number;
|
|
7456
7688
|
summary: string;
|
|
7457
7689
|
} | undefined;
|
|
7690
|
+
isProtected?: boolean | undefined;
|
|
7458
7691
|
};
|
|
7459
7692
|
taskId: string;
|
|
7460
7693
|
action: "created" | "updated";
|
|
@@ -7484,6 +7717,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7484
7717
|
newContextTokens: number;
|
|
7485
7718
|
summary: string;
|
|
7486
7719
|
} | undefined;
|
|
7720
|
+
isProtected?: boolean | undefined;
|
|
7487
7721
|
};
|
|
7488
7722
|
taskId: string;
|
|
7489
7723
|
action: "created" | "updated";
|
|
@@ -7617,7 +7851,13 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7617
7851
|
}, {
|
|
7618
7852
|
attempts: number;
|
|
7619
7853
|
failures: number;
|
|
7620
|
-
}
|
|
7854
|
+
}>>, z.ZodObject<{
|
|
7855
|
+
isSubtask: z.ZodBoolean;
|
|
7856
|
+
}, "strip", z.ZodTypeAny, {
|
|
7857
|
+
isSubtask: boolean;
|
|
7858
|
+
}, {
|
|
7859
|
+
isSubtask: boolean;
|
|
7860
|
+
}>], null>;
|
|
7621
7861
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
7622
7862
|
}, "strip", z.ZodTypeAny, {
|
|
7623
7863
|
eventName: RooCodeEventName.TaskCompleted;
|
|
@@ -7631,7 +7871,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7631
7871
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
7632
7872
|
attempts: number;
|
|
7633
7873
|
failures: number;
|
|
7634
|
-
}
|
|
7874
|
+
}>>, {
|
|
7875
|
+
isSubtask: boolean;
|
|
7876
|
+
}];
|
|
7635
7877
|
taskId?: number | undefined;
|
|
7636
7878
|
}, {
|
|
7637
7879
|
eventName: RooCodeEventName.TaskCompleted;
|
|
@@ -7645,7 +7887,9 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7645
7887
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
7646
7888
|
attempts: number;
|
|
7647
7889
|
failures: number;
|
|
7648
|
-
}
|
|
7890
|
+
}>>, {
|
|
7891
|
+
isSubtask: boolean;
|
|
7892
|
+
}];
|
|
7649
7893
|
taskId?: number | undefined;
|
|
7650
7894
|
}>, z.ZodObject<{
|
|
7651
7895
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -7966,24 +8210,25 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7966
8210
|
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
7967
8211
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
7968
8212
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
8213
|
+
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
7969
8214
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
7970
8215
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7971
8216
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
7972
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
8217
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
7973
8218
|
} & {
|
|
7974
8219
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
7975
8220
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7976
8221
|
id: z.ZodString;
|
|
7977
8222
|
name: z.ZodString;
|
|
7978
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
8223
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
7979
8224
|
}, "strip", z.ZodTypeAny, {
|
|
7980
8225
|
name: string;
|
|
7981
8226
|
id: string;
|
|
7982
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8227
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7983
8228
|
}, {
|
|
7984
8229
|
name: string;
|
|
7985
8230
|
id: string;
|
|
7986
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8231
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
7987
8232
|
}>, "many">>;
|
|
7988
8233
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
7989
8234
|
lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
|
|
@@ -8032,6 +8277,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8032
8277
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
8033
8278
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
8034
8279
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
8280
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
8035
8281
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
8036
8282
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
8037
8283
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8074,20 +8320,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8074
8320
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8075
8321
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
8076
8322
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
8077
|
-
powerSteering: z.ZodBoolean
|
|
8078
|
-
|
|
8079
|
-
concurrentFileReads: z.ZodBoolean;
|
|
8080
|
-
disableCompletionCommand: z.ZodBoolean;
|
|
8323
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
8324
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
8081
8325
|
}, "strip", z.ZodTypeAny, {
|
|
8082
|
-
powerSteering
|
|
8083
|
-
|
|
8084
|
-
concurrentFileReads: boolean;
|
|
8085
|
-
disableCompletionCommand: boolean;
|
|
8326
|
+
powerSteering?: boolean | undefined;
|
|
8327
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8086
8328
|
}, {
|
|
8087
|
-
powerSteering
|
|
8088
|
-
|
|
8089
|
-
concurrentFileReads: boolean;
|
|
8090
|
-
disableCompletionCommand: boolean;
|
|
8329
|
+
powerSteering?: boolean | undefined;
|
|
8330
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8091
8331
|
}>>;
|
|
8092
8332
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
8093
8333
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -8151,7 +8391,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8151
8391
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
8152
8392
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
8153
8393
|
}>>;
|
|
8154
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
8394
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
8155
8395
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
8156
8396
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8157
8397
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8219,6 +8459,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8219
8459
|
customSupportPrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
8220
8460
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
8221
8461
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
8462
|
+
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
8222
8463
|
}, "strip", z.ZodTypeAny, {
|
|
8223
8464
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8224
8465
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -8226,7 +8467,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8226
8467
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8227
8468
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8228
8469
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8229
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8470
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8230
8471
|
includeMaxTokens?: boolean | undefined;
|
|
8231
8472
|
diffEnabled?: boolean | undefined;
|
|
8232
8473
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -8239,6 +8480,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8239
8480
|
apiKey?: string | undefined;
|
|
8240
8481
|
anthropicBaseUrl?: string | undefined;
|
|
8241
8482
|
anthropicUseAuthToken?: boolean | undefined;
|
|
8483
|
+
claudeCodePath?: string | undefined;
|
|
8242
8484
|
glamaModelId?: string | undefined;
|
|
8243
8485
|
glamaApiKey?: string | undefined;
|
|
8244
8486
|
openRouterApiKey?: string | undefined;
|
|
@@ -8331,7 +8573,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8331
8573
|
litellmBaseUrl?: string | undefined;
|
|
8332
8574
|
litellmApiKey?: string | undefined;
|
|
8333
8575
|
litellmModelId?: string | undefined;
|
|
8334
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8576
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8335
8577
|
mode?: string | undefined;
|
|
8336
8578
|
customInstructions?: string | undefined;
|
|
8337
8579
|
customModes?: {
|
|
@@ -8350,7 +8592,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8350
8592
|
listApiConfigMeta?: {
|
|
8351
8593
|
name: string;
|
|
8352
8594
|
id: string;
|
|
8353
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8595
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8354
8596
|
}[] | undefined;
|
|
8355
8597
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
8356
8598
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -8374,6 +8616,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8374
8616
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8375
8617
|
alwaysAllowWrite?: boolean | undefined;
|
|
8376
8618
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
8619
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8377
8620
|
writeDelayMs?: number | undefined;
|
|
8378
8621
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8379
8622
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8413,10 +8656,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8413
8656
|
terminalZdotdir?: boolean | undefined;
|
|
8414
8657
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8415
8658
|
experiments?: {
|
|
8416
|
-
powerSteering
|
|
8417
|
-
|
|
8418
|
-
concurrentFileReads: boolean;
|
|
8419
|
-
disableCompletionCommand: boolean;
|
|
8659
|
+
powerSteering?: boolean | undefined;
|
|
8660
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8420
8661
|
} | undefined;
|
|
8421
8662
|
codebaseIndexModels?: {
|
|
8422
8663
|
openai?: Record<string, {
|
|
@@ -8448,6 +8689,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8448
8689
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
8449
8690
|
enhancementApiConfigId?: string | undefined;
|
|
8450
8691
|
historyPreviewCollapsed?: boolean | undefined;
|
|
8692
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
8451
8693
|
}, {
|
|
8452
8694
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8453
8695
|
codeIndexOpenAiKey?: string | undefined;
|
|
@@ -8455,7 +8697,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8455
8697
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8456
8698
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8457
8699
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8458
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8700
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8459
8701
|
includeMaxTokens?: boolean | undefined;
|
|
8460
8702
|
diffEnabled?: boolean | undefined;
|
|
8461
8703
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -8468,6 +8710,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8468
8710
|
apiKey?: string | undefined;
|
|
8469
8711
|
anthropicBaseUrl?: string | undefined;
|
|
8470
8712
|
anthropicUseAuthToken?: boolean | undefined;
|
|
8713
|
+
claudeCodePath?: string | undefined;
|
|
8471
8714
|
glamaModelId?: string | undefined;
|
|
8472
8715
|
glamaApiKey?: string | undefined;
|
|
8473
8716
|
openRouterApiKey?: string | undefined;
|
|
@@ -8560,7 +8803,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8560
8803
|
litellmBaseUrl?: string | undefined;
|
|
8561
8804
|
litellmApiKey?: string | undefined;
|
|
8562
8805
|
litellmModelId?: string | undefined;
|
|
8563
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8806
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8564
8807
|
mode?: string | undefined;
|
|
8565
8808
|
customInstructions?: string | undefined;
|
|
8566
8809
|
customModes?: {
|
|
@@ -8579,7 +8822,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8579
8822
|
listApiConfigMeta?: {
|
|
8580
8823
|
name: string;
|
|
8581
8824
|
id: string;
|
|
8582
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8825
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8583
8826
|
}[] | undefined;
|
|
8584
8827
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
8585
8828
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -8603,6 +8846,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8603
8846
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8604
8847
|
alwaysAllowWrite?: boolean | undefined;
|
|
8605
8848
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
8849
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8606
8850
|
writeDelayMs?: number | undefined;
|
|
8607
8851
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8608
8852
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8642,10 +8886,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8642
8886
|
terminalZdotdir?: boolean | undefined;
|
|
8643
8887
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8644
8888
|
experiments?: {
|
|
8645
|
-
powerSteering
|
|
8646
|
-
|
|
8647
|
-
concurrentFileReads: boolean;
|
|
8648
|
-
disableCompletionCommand: boolean;
|
|
8889
|
+
powerSteering?: boolean | undefined;
|
|
8890
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8649
8891
|
} | undefined;
|
|
8650
8892
|
codebaseIndexModels?: {
|
|
8651
8893
|
openai?: Record<string, {
|
|
@@ -8677,6 +8919,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8677
8919
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
8678
8920
|
enhancementApiConfigId?: string | undefined;
|
|
8679
8921
|
historyPreviewCollapsed?: boolean | undefined;
|
|
8922
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
8680
8923
|
}>;
|
|
8681
8924
|
text: z.ZodString;
|
|
8682
8925
|
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -8690,7 +8933,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8690
8933
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8691
8934
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8692
8935
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8693
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8936
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8694
8937
|
includeMaxTokens?: boolean | undefined;
|
|
8695
8938
|
diffEnabled?: boolean | undefined;
|
|
8696
8939
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -8703,6 +8946,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8703
8946
|
apiKey?: string | undefined;
|
|
8704
8947
|
anthropicBaseUrl?: string | undefined;
|
|
8705
8948
|
anthropicUseAuthToken?: boolean | undefined;
|
|
8949
|
+
claudeCodePath?: string | undefined;
|
|
8706
8950
|
glamaModelId?: string | undefined;
|
|
8707
8951
|
glamaApiKey?: string | undefined;
|
|
8708
8952
|
openRouterApiKey?: string | undefined;
|
|
@@ -8795,7 +9039,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8795
9039
|
litellmBaseUrl?: string | undefined;
|
|
8796
9040
|
litellmApiKey?: string | undefined;
|
|
8797
9041
|
litellmModelId?: string | undefined;
|
|
8798
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9042
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8799
9043
|
mode?: string | undefined;
|
|
8800
9044
|
customInstructions?: string | undefined;
|
|
8801
9045
|
customModes?: {
|
|
@@ -8814,7 +9058,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8814
9058
|
listApiConfigMeta?: {
|
|
8815
9059
|
name: string;
|
|
8816
9060
|
id: string;
|
|
8817
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9061
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8818
9062
|
}[] | undefined;
|
|
8819
9063
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
8820
9064
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -8838,6 +9082,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8838
9082
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8839
9083
|
alwaysAllowWrite?: boolean | undefined;
|
|
8840
9084
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9085
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8841
9086
|
writeDelayMs?: number | undefined;
|
|
8842
9087
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8843
9088
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8877,10 +9122,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8877
9122
|
terminalZdotdir?: boolean | undefined;
|
|
8878
9123
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8879
9124
|
experiments?: {
|
|
8880
|
-
powerSteering
|
|
8881
|
-
|
|
8882
|
-
concurrentFileReads: boolean;
|
|
8883
|
-
disableCompletionCommand: boolean;
|
|
9125
|
+
powerSteering?: boolean | undefined;
|
|
9126
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8884
9127
|
} | undefined;
|
|
8885
9128
|
codebaseIndexModels?: {
|
|
8886
9129
|
openai?: Record<string, {
|
|
@@ -8912,6 +9155,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8912
9155
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
8913
9156
|
enhancementApiConfigId?: string | undefined;
|
|
8914
9157
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9158
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
8915
9159
|
};
|
|
8916
9160
|
images?: string[] | undefined;
|
|
8917
9161
|
newTab?: boolean | undefined;
|
|
@@ -8924,7 +9168,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8924
9168
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8925
9169
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8926
9170
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8927
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9171
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8928
9172
|
includeMaxTokens?: boolean | undefined;
|
|
8929
9173
|
diffEnabled?: boolean | undefined;
|
|
8930
9174
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -8937,6 +9181,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8937
9181
|
apiKey?: string | undefined;
|
|
8938
9182
|
anthropicBaseUrl?: string | undefined;
|
|
8939
9183
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9184
|
+
claudeCodePath?: string | undefined;
|
|
8940
9185
|
glamaModelId?: string | undefined;
|
|
8941
9186
|
glamaApiKey?: string | undefined;
|
|
8942
9187
|
openRouterApiKey?: string | undefined;
|
|
@@ -9029,7 +9274,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9029
9274
|
litellmBaseUrl?: string | undefined;
|
|
9030
9275
|
litellmApiKey?: string | undefined;
|
|
9031
9276
|
litellmModelId?: string | undefined;
|
|
9032
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9277
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9033
9278
|
mode?: string | undefined;
|
|
9034
9279
|
customInstructions?: string | undefined;
|
|
9035
9280
|
customModes?: {
|
|
@@ -9048,7 +9293,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9048
9293
|
listApiConfigMeta?: {
|
|
9049
9294
|
name: string;
|
|
9050
9295
|
id: string;
|
|
9051
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9296
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9052
9297
|
}[] | undefined;
|
|
9053
9298
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
9054
9299
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -9072,6 +9317,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9072
9317
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9073
9318
|
alwaysAllowWrite?: boolean | undefined;
|
|
9074
9319
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9320
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9075
9321
|
writeDelayMs?: number | undefined;
|
|
9076
9322
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9077
9323
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9111,10 +9357,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9111
9357
|
terminalZdotdir?: boolean | undefined;
|
|
9112
9358
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9113
9359
|
experiments?: {
|
|
9114
|
-
powerSteering
|
|
9115
|
-
|
|
9116
|
-
concurrentFileReads: boolean;
|
|
9117
|
-
disableCompletionCommand: boolean;
|
|
9360
|
+
powerSteering?: boolean | undefined;
|
|
9361
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9118
9362
|
} | undefined;
|
|
9119
9363
|
codebaseIndexModels?: {
|
|
9120
9364
|
openai?: Record<string, {
|
|
@@ -9146,6 +9390,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9146
9390
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
9147
9391
|
enhancementApiConfigId?: string | undefined;
|
|
9148
9392
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9393
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
9149
9394
|
};
|
|
9150
9395
|
images?: string[] | undefined;
|
|
9151
9396
|
newTab?: boolean | undefined;
|
|
@@ -9161,7 +9406,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9161
9406
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9162
9407
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9163
9408
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9164
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9409
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9165
9410
|
includeMaxTokens?: boolean | undefined;
|
|
9166
9411
|
diffEnabled?: boolean | undefined;
|
|
9167
9412
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -9174,6 +9419,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9174
9419
|
apiKey?: string | undefined;
|
|
9175
9420
|
anthropicBaseUrl?: string | undefined;
|
|
9176
9421
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9422
|
+
claudeCodePath?: string | undefined;
|
|
9177
9423
|
glamaModelId?: string | undefined;
|
|
9178
9424
|
glamaApiKey?: string | undefined;
|
|
9179
9425
|
openRouterApiKey?: string | undefined;
|
|
@@ -9266,7 +9512,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9266
9512
|
litellmBaseUrl?: string | undefined;
|
|
9267
9513
|
litellmApiKey?: string | undefined;
|
|
9268
9514
|
litellmModelId?: string | undefined;
|
|
9269
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9515
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9270
9516
|
mode?: string | undefined;
|
|
9271
9517
|
customInstructions?: string | undefined;
|
|
9272
9518
|
customModes?: {
|
|
@@ -9285,7 +9531,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9285
9531
|
listApiConfigMeta?: {
|
|
9286
9532
|
name: string;
|
|
9287
9533
|
id: string;
|
|
9288
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9534
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9289
9535
|
}[] | undefined;
|
|
9290
9536
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
9291
9537
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -9309,6 +9555,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9309
9555
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9310
9556
|
alwaysAllowWrite?: boolean | undefined;
|
|
9311
9557
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9558
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9312
9559
|
writeDelayMs?: number | undefined;
|
|
9313
9560
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9314
9561
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9348,10 +9595,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9348
9595
|
terminalZdotdir?: boolean | undefined;
|
|
9349
9596
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9350
9597
|
experiments?: {
|
|
9351
|
-
powerSteering
|
|
9352
|
-
|
|
9353
|
-
concurrentFileReads: boolean;
|
|
9354
|
-
disableCompletionCommand: boolean;
|
|
9598
|
+
powerSteering?: boolean | undefined;
|
|
9599
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9355
9600
|
} | undefined;
|
|
9356
9601
|
codebaseIndexModels?: {
|
|
9357
9602
|
openai?: Record<string, {
|
|
@@ -9383,6 +9628,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9383
9628
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
9384
9629
|
enhancementApiConfigId?: string | undefined;
|
|
9385
9630
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9631
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
9386
9632
|
};
|
|
9387
9633
|
images?: string[] | undefined;
|
|
9388
9634
|
newTab?: boolean | undefined;
|
|
@@ -9398,7 +9644,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9398
9644
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9399
9645
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9400
9646
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9401
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9647
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9402
9648
|
includeMaxTokens?: boolean | undefined;
|
|
9403
9649
|
diffEnabled?: boolean | undefined;
|
|
9404
9650
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -9411,6 +9657,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9411
9657
|
apiKey?: string | undefined;
|
|
9412
9658
|
anthropicBaseUrl?: string | undefined;
|
|
9413
9659
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9660
|
+
claudeCodePath?: string | undefined;
|
|
9414
9661
|
glamaModelId?: string | undefined;
|
|
9415
9662
|
glamaApiKey?: string | undefined;
|
|
9416
9663
|
openRouterApiKey?: string | undefined;
|
|
@@ -9503,7 +9750,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9503
9750
|
litellmBaseUrl?: string | undefined;
|
|
9504
9751
|
litellmApiKey?: string | undefined;
|
|
9505
9752
|
litellmModelId?: string | undefined;
|
|
9506
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9753
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9507
9754
|
mode?: string | undefined;
|
|
9508
9755
|
customInstructions?: string | undefined;
|
|
9509
9756
|
customModes?: {
|
|
@@ -9522,7 +9769,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9522
9769
|
listApiConfigMeta?: {
|
|
9523
9770
|
name: string;
|
|
9524
9771
|
id: string;
|
|
9525
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9772
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9526
9773
|
}[] | undefined;
|
|
9527
9774
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
9528
9775
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -9546,6 +9793,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9546
9793
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9547
9794
|
alwaysAllowWrite?: boolean | undefined;
|
|
9548
9795
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9796
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9549
9797
|
writeDelayMs?: number | undefined;
|
|
9550
9798
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9551
9799
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9585,10 +9833,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9585
9833
|
terminalZdotdir?: boolean | undefined;
|
|
9586
9834
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9587
9835
|
experiments?: {
|
|
9588
|
-
powerSteering
|
|
9589
|
-
|
|
9590
|
-
concurrentFileReads: boolean;
|
|
9591
|
-
disableCompletionCommand: boolean;
|
|
9836
|
+
powerSteering?: boolean | undefined;
|
|
9837
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9592
9838
|
} | undefined;
|
|
9593
9839
|
codebaseIndexModels?: {
|
|
9594
9840
|
openai?: Record<string, {
|
|
@@ -9620,6 +9866,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9620
9866
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
9621
9867
|
enhancementApiConfigId?: string | undefined;
|
|
9622
9868
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9869
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
9623
9870
|
};
|
|
9624
9871
|
images?: string[] | undefined;
|
|
9625
9872
|
newTab?: boolean | undefined;
|
|
@@ -9657,7 +9904,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9657
9904
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9658
9905
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9659
9906
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9660
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9907
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9661
9908
|
includeMaxTokens?: boolean | undefined;
|
|
9662
9909
|
diffEnabled?: boolean | undefined;
|
|
9663
9910
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -9670,6 +9917,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9670
9917
|
apiKey?: string | undefined;
|
|
9671
9918
|
anthropicBaseUrl?: string | undefined;
|
|
9672
9919
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9920
|
+
claudeCodePath?: string | undefined;
|
|
9673
9921
|
glamaModelId?: string | undefined;
|
|
9674
9922
|
glamaApiKey?: string | undefined;
|
|
9675
9923
|
openRouterApiKey?: string | undefined;
|
|
@@ -9762,7 +10010,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9762
10010
|
litellmBaseUrl?: string | undefined;
|
|
9763
10011
|
litellmApiKey?: string | undefined;
|
|
9764
10012
|
litellmModelId?: string | undefined;
|
|
9765
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
10013
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9766
10014
|
mode?: string | undefined;
|
|
9767
10015
|
customInstructions?: string | undefined;
|
|
9768
10016
|
customModes?: {
|
|
@@ -9781,7 +10029,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9781
10029
|
listApiConfigMeta?: {
|
|
9782
10030
|
name: string;
|
|
9783
10031
|
id: string;
|
|
9784
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
10032
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9785
10033
|
}[] | undefined;
|
|
9786
10034
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
9787
10035
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -9805,6 +10053,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9805
10053
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9806
10054
|
alwaysAllowWrite?: boolean | undefined;
|
|
9807
10055
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
10056
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9808
10057
|
writeDelayMs?: number | undefined;
|
|
9809
10058
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9810
10059
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9844,10 +10093,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9844
10093
|
terminalZdotdir?: boolean | undefined;
|
|
9845
10094
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9846
10095
|
experiments?: {
|
|
9847
|
-
powerSteering
|
|
9848
|
-
|
|
9849
|
-
concurrentFileReads: boolean;
|
|
9850
|
-
disableCompletionCommand: boolean;
|
|
10096
|
+
powerSteering?: boolean | undefined;
|
|
10097
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9851
10098
|
} | undefined;
|
|
9852
10099
|
codebaseIndexModels?: {
|
|
9853
10100
|
openai?: Record<string, {
|
|
@@ -9879,6 +10126,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9879
10126
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
9880
10127
|
enhancementApiConfigId?: string | undefined;
|
|
9881
10128
|
historyPreviewCollapsed?: boolean | undefined;
|
|
10129
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
9882
10130
|
};
|
|
9883
10131
|
images?: string[] | undefined;
|
|
9884
10132
|
newTab?: boolean | undefined;
|
|
@@ -9905,7 +10153,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9905
10153
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9906
10154
|
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9907
10155
|
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9908
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
10156
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9909
10157
|
includeMaxTokens?: boolean | undefined;
|
|
9910
10158
|
diffEnabled?: boolean | undefined;
|
|
9911
10159
|
fuzzyMatchThreshold?: number | undefined;
|
|
@@ -9918,6 +10166,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9918
10166
|
apiKey?: string | undefined;
|
|
9919
10167
|
anthropicBaseUrl?: string | undefined;
|
|
9920
10168
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10169
|
+
claudeCodePath?: string | undefined;
|
|
9921
10170
|
glamaModelId?: string | undefined;
|
|
9922
10171
|
glamaApiKey?: string | undefined;
|
|
9923
10172
|
openRouterApiKey?: string | undefined;
|
|
@@ -10010,7 +10259,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10010
10259
|
litellmBaseUrl?: string | undefined;
|
|
10011
10260
|
litellmApiKey?: string | undefined;
|
|
10012
10261
|
litellmModelId?: string | undefined;
|
|
10013
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
10262
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
10014
10263
|
mode?: string | undefined;
|
|
10015
10264
|
customInstructions?: string | undefined;
|
|
10016
10265
|
customModes?: {
|
|
@@ -10029,7 +10278,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10029
10278
|
listApiConfigMeta?: {
|
|
10030
10279
|
name: string;
|
|
10031
10280
|
id: string;
|
|
10032
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
10281
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
10033
10282
|
}[] | undefined;
|
|
10034
10283
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
10035
10284
|
lastShownAnnouncementId?: string | undefined;
|
|
@@ -10053,6 +10302,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10053
10302
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
10054
10303
|
alwaysAllowWrite?: boolean | undefined;
|
|
10055
10304
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
10305
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
10056
10306
|
writeDelayMs?: number | undefined;
|
|
10057
10307
|
alwaysAllowBrowser?: boolean | undefined;
|
|
10058
10308
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -10092,10 +10342,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10092
10342
|
terminalZdotdir?: boolean | undefined;
|
|
10093
10343
|
terminalCompressProgressBar?: boolean | undefined;
|
|
10094
10344
|
experiments?: {
|
|
10095
|
-
powerSteering
|
|
10096
|
-
|
|
10097
|
-
concurrentFileReads: boolean;
|
|
10098
|
-
disableCompletionCommand: boolean;
|
|
10345
|
+
powerSteering?: boolean | undefined;
|
|
10346
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
10099
10347
|
} | undefined;
|
|
10100
10348
|
codebaseIndexModels?: {
|
|
10101
10349
|
openai?: Record<string, {
|
|
@@ -10127,6 +10375,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10127
10375
|
customSupportPrompts?: Record<string, string | undefined> | undefined;
|
|
10128
10376
|
enhancementApiConfigId?: string | undefined;
|
|
10129
10377
|
historyPreviewCollapsed?: boolean | undefined;
|
|
10378
|
+
profileThresholds?: Record<string, number> | undefined;
|
|
10130
10379
|
};
|
|
10131
10380
|
images?: string[] | undefined;
|
|
10132
10381
|
newTab?: boolean | undefined;
|
|
@@ -10185,6 +10434,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10185
10434
|
newContextTokens: number;
|
|
10186
10435
|
summary: string;
|
|
10187
10436
|
}>>;
|
|
10437
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
10188
10438
|
}, "strip", z.ZodTypeAny, {
|
|
10189
10439
|
type: "ask" | "say";
|
|
10190
10440
|
ts: number;
|
|
@@ -10206,6 +10456,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10206
10456
|
newContextTokens: number;
|
|
10207
10457
|
summary: string;
|
|
10208
10458
|
} | undefined;
|
|
10459
|
+
isProtected?: boolean | undefined;
|
|
10209
10460
|
}, {
|
|
10210
10461
|
type: "ask" | "say";
|
|
10211
10462
|
ts: number;
|
|
@@ -10227,6 +10478,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10227
10478
|
newContextTokens: number;
|
|
10228
10479
|
summary: string;
|
|
10229
10480
|
} | undefined;
|
|
10481
|
+
isProtected?: boolean | undefined;
|
|
10230
10482
|
}>;
|
|
10231
10483
|
}, "strip", z.ZodTypeAny, {
|
|
10232
10484
|
message: {
|
|
@@ -10250,6 +10502,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10250
10502
|
newContextTokens: number;
|
|
10251
10503
|
summary: string;
|
|
10252
10504
|
} | undefined;
|
|
10505
|
+
isProtected?: boolean | undefined;
|
|
10253
10506
|
};
|
|
10254
10507
|
taskId: string;
|
|
10255
10508
|
action: "created" | "updated";
|
|
@@ -10275,6 +10528,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10275
10528
|
newContextTokens: number;
|
|
10276
10529
|
summary: string;
|
|
10277
10530
|
} | undefined;
|
|
10531
|
+
isProtected?: boolean | undefined;
|
|
10278
10532
|
};
|
|
10279
10533
|
taskId: string;
|
|
10280
10534
|
action: "created" | "updated";
|
|
@@ -10304,6 +10558,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10304
10558
|
newContextTokens: number;
|
|
10305
10559
|
summary: string;
|
|
10306
10560
|
} | undefined;
|
|
10561
|
+
isProtected?: boolean | undefined;
|
|
10307
10562
|
};
|
|
10308
10563
|
taskId: string;
|
|
10309
10564
|
action: "created" | "updated";
|
|
@@ -10333,6 +10588,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10333
10588
|
newContextTokens: number;
|
|
10334
10589
|
summary: string;
|
|
10335
10590
|
} | undefined;
|
|
10591
|
+
isProtected?: boolean | undefined;
|
|
10336
10592
|
};
|
|
10337
10593
|
taskId: string;
|
|
10338
10594
|
action: "created" | "updated";
|
|
@@ -10466,7 +10722,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10466
10722
|
}, {
|
|
10467
10723
|
attempts: number;
|
|
10468
10724
|
failures: number;
|
|
10469
|
-
}
|
|
10725
|
+
}>>, z.ZodObject<{
|
|
10726
|
+
isSubtask: z.ZodBoolean;
|
|
10727
|
+
}, "strip", z.ZodTypeAny, {
|
|
10728
|
+
isSubtask: boolean;
|
|
10729
|
+
}, {
|
|
10730
|
+
isSubtask: boolean;
|
|
10731
|
+
}>], null>;
|
|
10470
10732
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
10471
10733
|
}, "strip", z.ZodTypeAny, {
|
|
10472
10734
|
eventName: RooCodeEventName.TaskCompleted;
|
|
@@ -10480,7 +10742,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10480
10742
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
10481
10743
|
attempts: number;
|
|
10482
10744
|
failures: number;
|
|
10483
|
-
}
|
|
10745
|
+
}>>, {
|
|
10746
|
+
isSubtask: boolean;
|
|
10747
|
+
}];
|
|
10484
10748
|
taskId?: number | undefined;
|
|
10485
10749
|
}, {
|
|
10486
10750
|
eventName: RooCodeEventName.TaskCompleted;
|
|
@@ -10494,7 +10758,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10494
10758
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
10495
10759
|
attempts: number;
|
|
10496
10760
|
failures: number;
|
|
10497
|
-
}
|
|
10761
|
+
}>>, {
|
|
10762
|
+
isSubtask: boolean;
|
|
10763
|
+
}];
|
|
10498
10764
|
taskId?: number | undefined;
|
|
10499
10765
|
}>, z.ZodObject<{
|
|
10500
10766
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -10606,6 +10872,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10606
10872
|
newContextTokens: number;
|
|
10607
10873
|
summary: string;
|
|
10608
10874
|
} | undefined;
|
|
10875
|
+
isProtected?: boolean | undefined;
|
|
10609
10876
|
};
|
|
10610
10877
|
taskId: string;
|
|
10611
10878
|
action: "created" | "updated";
|
|
@@ -10655,7 +10922,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10655
10922
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
10656
10923
|
attempts: number;
|
|
10657
10924
|
failures: number;
|
|
10658
|
-
}
|
|
10925
|
+
}>>, {
|
|
10926
|
+
isSubtask: boolean;
|
|
10927
|
+
}];
|
|
10659
10928
|
taskId?: number | undefined;
|
|
10660
10929
|
} | {
|
|
10661
10930
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -10709,6 +10978,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10709
10978
|
newContextTokens: number;
|
|
10710
10979
|
summary: string;
|
|
10711
10980
|
} | undefined;
|
|
10981
|
+
isProtected?: boolean | undefined;
|
|
10712
10982
|
};
|
|
10713
10983
|
taskId: string;
|
|
10714
10984
|
action: "created" | "updated";
|
|
@@ -10758,7 +11028,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10758
11028
|
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
|
|
10759
11029
|
attempts: number;
|
|
10760
11030
|
failures: number;
|
|
10761
|
-
}
|
|
11031
|
+
}>>, {
|
|
11032
|
+
isSubtask: boolean;
|
|
11033
|
+
}];
|
|
10762
11034
|
taskId?: number | undefined;
|
|
10763
11035
|
} | {
|
|
10764
11036
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -10822,7 +11094,7 @@ interface RooCodeAPIEvents {
|
|
|
10822
11094
|
taskAskResponded: [taskId: string];
|
|
10823
11095
|
taskAborted: [taskId: string];
|
|
10824
11096
|
taskSpawned: [parentTaskId: string, childTaskId: string];
|
|
10825
|
-
taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
11097
|
+
taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage, isSubtask: IsSubtask];
|
|
10826
11098
|
taskTokenUsageUpdated: [taskId: string, tokenUsage: TokenUsage];
|
|
10827
11099
|
taskToolFailed: [taskId: string, toolName: ToolName, error: string];
|
|
10828
11100
|
}
|
|
@@ -11056,6 +11328,30 @@ interface CloudUserInfo {
|
|
|
11056
11328
|
name?: string;
|
|
11057
11329
|
email?: string;
|
|
11058
11330
|
picture?: string;
|
|
11331
|
+
organizationId?: string;
|
|
11332
|
+
organizationName?: string;
|
|
11333
|
+
organizationRole?: string;
|
|
11334
|
+
organizationImageUrl?: string;
|
|
11335
|
+
}
|
|
11336
|
+
/**
|
|
11337
|
+
* CloudOrganization Types
|
|
11338
|
+
*/
|
|
11339
|
+
interface CloudOrganization {
|
|
11340
|
+
id: string;
|
|
11341
|
+
name: string;
|
|
11342
|
+
slug?: string;
|
|
11343
|
+
image_url?: string;
|
|
11344
|
+
has_image?: boolean;
|
|
11345
|
+
created_at?: number;
|
|
11346
|
+
updated_at?: number;
|
|
11347
|
+
}
|
|
11348
|
+
interface CloudOrganizationMembership {
|
|
11349
|
+
id: string;
|
|
11350
|
+
organization: CloudOrganization;
|
|
11351
|
+
role: string;
|
|
11352
|
+
permissions?: string[];
|
|
11353
|
+
created_at?: number;
|
|
11354
|
+
updated_at?: number;
|
|
11059
11355
|
}
|
|
11060
11356
|
/**
|
|
11061
11357
|
* OrganizationAllowList
|
|
@@ -11302,41 +11598,41 @@ declare const shareResponseSchema: z.ZodObject<{
|
|
|
11302
11598
|
success: z.ZodBoolean;
|
|
11303
11599
|
shareUrl: z.ZodOptional<z.ZodString>;
|
|
11304
11600
|
error: z.ZodOptional<z.ZodString>;
|
|
11601
|
+
isNewShare: z.ZodOptional<z.ZodBoolean>;
|
|
11602
|
+
manageUrl: z.ZodOptional<z.ZodString>;
|
|
11305
11603
|
}, "strip", z.ZodTypeAny, {
|
|
11306
11604
|
success: boolean;
|
|
11307
11605
|
error?: string | undefined;
|
|
11308
11606
|
shareUrl?: string | undefined;
|
|
11607
|
+
isNewShare?: boolean | undefined;
|
|
11608
|
+
manageUrl?: string | undefined;
|
|
11309
11609
|
}, {
|
|
11310
11610
|
success: boolean;
|
|
11311
11611
|
error?: string | undefined;
|
|
11312
11612
|
shareUrl?: string | undefined;
|
|
11613
|
+
isNewShare?: boolean | undefined;
|
|
11614
|
+
manageUrl?: string | undefined;
|
|
11313
11615
|
}>;
|
|
11314
11616
|
type ShareResponse = z.infer<typeof shareResponseSchema>;
|
|
11315
11617
|
|
|
11316
11618
|
/**
|
|
11317
11619
|
* ExperimentId
|
|
11318
11620
|
*/
|
|
11319
|
-
declare const experimentIds: readonly ["powerSteering", "
|
|
11320
|
-
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "
|
|
11621
|
+
declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff"];
|
|
11622
|
+
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff"]>;
|
|
11321
11623
|
type ExperimentId = z.infer<typeof experimentIdsSchema>;
|
|
11322
11624
|
/**
|
|
11323
11625
|
* Experiments
|
|
11324
11626
|
*/
|
|
11325
11627
|
declare const experimentsSchema: z.ZodObject<{
|
|
11326
|
-
powerSteering: z.ZodBoolean
|
|
11327
|
-
|
|
11328
|
-
concurrentFileReads: z.ZodBoolean;
|
|
11329
|
-
disableCompletionCommand: z.ZodBoolean;
|
|
11628
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
11629
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
11330
11630
|
}, "strip", z.ZodTypeAny, {
|
|
11331
|
-
powerSteering
|
|
11332
|
-
|
|
11333
|
-
concurrentFileReads: boolean;
|
|
11334
|
-
disableCompletionCommand: boolean;
|
|
11631
|
+
powerSteering?: boolean | undefined;
|
|
11632
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
11335
11633
|
}, {
|
|
11336
|
-
powerSteering
|
|
11337
|
-
|
|
11338
|
-
concurrentFileReads: boolean;
|
|
11339
|
-
disableCompletionCommand: boolean;
|
|
11634
|
+
powerSteering?: boolean | undefined;
|
|
11635
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
11340
11636
|
}>;
|
|
11341
11637
|
type Experiments = z.infer<typeof experimentsSchema>;
|
|
11342
11638
|
|
|
@@ -11382,6 +11678,462 @@ declare const historyItemSchema: z.ZodObject<{
|
|
|
11382
11678
|
}>;
|
|
11383
11679
|
type HistoryItem = z.infer<typeof historyItemSchema>;
|
|
11384
11680
|
|
|
11681
|
+
/**
|
|
11682
|
+
* Schema for MCP parameter definitions
|
|
11683
|
+
*/
|
|
11684
|
+
declare const mcpParameterSchema: z.ZodObject<{
|
|
11685
|
+
name: z.ZodString;
|
|
11686
|
+
key: z.ZodString;
|
|
11687
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11688
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11689
|
+
}, "strip", z.ZodTypeAny, {
|
|
11690
|
+
name: string;
|
|
11691
|
+
key: string;
|
|
11692
|
+
optional: boolean;
|
|
11693
|
+
placeholder?: string | undefined;
|
|
11694
|
+
}, {
|
|
11695
|
+
name: string;
|
|
11696
|
+
key: string;
|
|
11697
|
+
placeholder?: string | undefined;
|
|
11698
|
+
optional?: boolean | undefined;
|
|
11699
|
+
}>;
|
|
11700
|
+
type McpParameter = z.infer<typeof mcpParameterSchema>;
|
|
11701
|
+
/**
|
|
11702
|
+
* Schema for MCP installation method with name
|
|
11703
|
+
*/
|
|
11704
|
+
declare const mcpInstallationMethodSchema: z.ZodObject<{
|
|
11705
|
+
name: z.ZodString;
|
|
11706
|
+
content: z.ZodString;
|
|
11707
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11708
|
+
name: z.ZodString;
|
|
11709
|
+
key: z.ZodString;
|
|
11710
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11711
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11712
|
+
}, "strip", z.ZodTypeAny, {
|
|
11713
|
+
name: string;
|
|
11714
|
+
key: string;
|
|
11715
|
+
optional: boolean;
|
|
11716
|
+
placeholder?: string | undefined;
|
|
11717
|
+
}, {
|
|
11718
|
+
name: string;
|
|
11719
|
+
key: string;
|
|
11720
|
+
placeholder?: string | undefined;
|
|
11721
|
+
optional?: boolean | undefined;
|
|
11722
|
+
}>, "many">>;
|
|
11723
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11724
|
+
}, "strip", z.ZodTypeAny, {
|
|
11725
|
+
name: string;
|
|
11726
|
+
content: string;
|
|
11727
|
+
parameters?: {
|
|
11728
|
+
name: string;
|
|
11729
|
+
key: string;
|
|
11730
|
+
optional: boolean;
|
|
11731
|
+
placeholder?: string | undefined;
|
|
11732
|
+
}[] | undefined;
|
|
11733
|
+
prerequisites?: string[] | undefined;
|
|
11734
|
+
}, {
|
|
11735
|
+
name: string;
|
|
11736
|
+
content: string;
|
|
11737
|
+
parameters?: {
|
|
11738
|
+
name: string;
|
|
11739
|
+
key: string;
|
|
11740
|
+
placeholder?: string | undefined;
|
|
11741
|
+
optional?: boolean | undefined;
|
|
11742
|
+
}[] | undefined;
|
|
11743
|
+
prerequisites?: string[] | undefined;
|
|
11744
|
+
}>;
|
|
11745
|
+
type McpInstallationMethod = z.infer<typeof mcpInstallationMethodSchema>;
|
|
11746
|
+
/**
|
|
11747
|
+
* Component type validation
|
|
11748
|
+
*/
|
|
11749
|
+
declare const marketplaceItemTypeSchema: z.ZodEnum<["mode", "mcp"]>;
|
|
11750
|
+
type MarketplaceItemType = z.infer<typeof marketplaceItemTypeSchema>;
|
|
11751
|
+
/**
|
|
11752
|
+
* Type-specific schemas for YAML parsing (without type field, added programmatically)
|
|
11753
|
+
*/
|
|
11754
|
+
declare const modeMarketplaceItemSchema: z.ZodObject<{
|
|
11755
|
+
id: z.ZodString;
|
|
11756
|
+
name: z.ZodString;
|
|
11757
|
+
description: z.ZodString;
|
|
11758
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11759
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11760
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11761
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11762
|
+
} & {
|
|
11763
|
+
content: z.ZodString;
|
|
11764
|
+
}, "strip", z.ZodTypeAny, {
|
|
11765
|
+
description: string;
|
|
11766
|
+
name: string;
|
|
11767
|
+
id: string;
|
|
11768
|
+
content: string;
|
|
11769
|
+
prerequisites?: string[] | undefined;
|
|
11770
|
+
author?: string | undefined;
|
|
11771
|
+
authorUrl?: string | undefined;
|
|
11772
|
+
tags?: string[] | undefined;
|
|
11773
|
+
}, {
|
|
11774
|
+
description: string;
|
|
11775
|
+
name: string;
|
|
11776
|
+
id: string;
|
|
11777
|
+
content: string;
|
|
11778
|
+
prerequisites?: string[] | undefined;
|
|
11779
|
+
author?: string | undefined;
|
|
11780
|
+
authorUrl?: string | undefined;
|
|
11781
|
+
tags?: string[] | undefined;
|
|
11782
|
+
}>;
|
|
11783
|
+
type ModeMarketplaceItem = z.infer<typeof modeMarketplaceItemSchema>;
|
|
11784
|
+
declare const mcpMarketplaceItemSchema: z.ZodObject<{
|
|
11785
|
+
id: z.ZodString;
|
|
11786
|
+
name: z.ZodString;
|
|
11787
|
+
description: z.ZodString;
|
|
11788
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11789
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11790
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11791
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11792
|
+
} & {
|
|
11793
|
+
url: z.ZodString;
|
|
11794
|
+
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
11795
|
+
name: z.ZodString;
|
|
11796
|
+
content: z.ZodString;
|
|
11797
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11798
|
+
name: z.ZodString;
|
|
11799
|
+
key: z.ZodString;
|
|
11800
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11801
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11802
|
+
}, "strip", z.ZodTypeAny, {
|
|
11803
|
+
name: string;
|
|
11804
|
+
key: string;
|
|
11805
|
+
optional: boolean;
|
|
11806
|
+
placeholder?: string | undefined;
|
|
11807
|
+
}, {
|
|
11808
|
+
name: string;
|
|
11809
|
+
key: string;
|
|
11810
|
+
placeholder?: string | undefined;
|
|
11811
|
+
optional?: boolean | undefined;
|
|
11812
|
+
}>, "many">>;
|
|
11813
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11814
|
+
}, "strip", z.ZodTypeAny, {
|
|
11815
|
+
name: string;
|
|
11816
|
+
content: string;
|
|
11817
|
+
parameters?: {
|
|
11818
|
+
name: string;
|
|
11819
|
+
key: string;
|
|
11820
|
+
optional: boolean;
|
|
11821
|
+
placeholder?: string | undefined;
|
|
11822
|
+
}[] | undefined;
|
|
11823
|
+
prerequisites?: string[] | undefined;
|
|
11824
|
+
}, {
|
|
11825
|
+
name: string;
|
|
11826
|
+
content: string;
|
|
11827
|
+
parameters?: {
|
|
11828
|
+
name: string;
|
|
11829
|
+
key: string;
|
|
11830
|
+
placeholder?: string | undefined;
|
|
11831
|
+
optional?: boolean | undefined;
|
|
11832
|
+
}[] | undefined;
|
|
11833
|
+
prerequisites?: string[] | undefined;
|
|
11834
|
+
}>, "many">]>;
|
|
11835
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11836
|
+
name: z.ZodString;
|
|
11837
|
+
key: z.ZodString;
|
|
11838
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11839
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11840
|
+
}, "strip", z.ZodTypeAny, {
|
|
11841
|
+
name: string;
|
|
11842
|
+
key: string;
|
|
11843
|
+
optional: boolean;
|
|
11844
|
+
placeholder?: string | undefined;
|
|
11845
|
+
}, {
|
|
11846
|
+
name: string;
|
|
11847
|
+
key: string;
|
|
11848
|
+
placeholder?: string | undefined;
|
|
11849
|
+
optional?: boolean | undefined;
|
|
11850
|
+
}>, "many">>;
|
|
11851
|
+
}, "strip", z.ZodTypeAny, {
|
|
11852
|
+
description: string;
|
|
11853
|
+
name: string;
|
|
11854
|
+
id: string;
|
|
11855
|
+
url: string;
|
|
11856
|
+
content: string | {
|
|
11857
|
+
name: string;
|
|
11858
|
+
content: string;
|
|
11859
|
+
parameters?: {
|
|
11860
|
+
name: string;
|
|
11861
|
+
key: string;
|
|
11862
|
+
optional: boolean;
|
|
11863
|
+
placeholder?: string | undefined;
|
|
11864
|
+
}[] | undefined;
|
|
11865
|
+
prerequisites?: string[] | undefined;
|
|
11866
|
+
}[];
|
|
11867
|
+
parameters?: {
|
|
11868
|
+
name: string;
|
|
11869
|
+
key: string;
|
|
11870
|
+
optional: boolean;
|
|
11871
|
+
placeholder?: string | undefined;
|
|
11872
|
+
}[] | undefined;
|
|
11873
|
+
prerequisites?: string[] | undefined;
|
|
11874
|
+
author?: string | undefined;
|
|
11875
|
+
authorUrl?: string | undefined;
|
|
11876
|
+
tags?: string[] | undefined;
|
|
11877
|
+
}, {
|
|
11878
|
+
description: string;
|
|
11879
|
+
name: string;
|
|
11880
|
+
id: string;
|
|
11881
|
+
url: string;
|
|
11882
|
+
content: string | {
|
|
11883
|
+
name: string;
|
|
11884
|
+
content: string;
|
|
11885
|
+
parameters?: {
|
|
11886
|
+
name: string;
|
|
11887
|
+
key: string;
|
|
11888
|
+
placeholder?: string | undefined;
|
|
11889
|
+
optional?: boolean | undefined;
|
|
11890
|
+
}[] | undefined;
|
|
11891
|
+
prerequisites?: string[] | undefined;
|
|
11892
|
+
}[];
|
|
11893
|
+
parameters?: {
|
|
11894
|
+
name: string;
|
|
11895
|
+
key: string;
|
|
11896
|
+
placeholder?: string | undefined;
|
|
11897
|
+
optional?: boolean | undefined;
|
|
11898
|
+
}[] | undefined;
|
|
11899
|
+
prerequisites?: string[] | undefined;
|
|
11900
|
+
author?: string | undefined;
|
|
11901
|
+
authorUrl?: string | undefined;
|
|
11902
|
+
tags?: string[] | undefined;
|
|
11903
|
+
}>;
|
|
11904
|
+
type McpMarketplaceItem = z.infer<typeof mcpMarketplaceItemSchema>;
|
|
11905
|
+
/**
|
|
11906
|
+
* Unified marketplace item schema using discriminated union
|
|
11907
|
+
*/
|
|
11908
|
+
declare const marketplaceItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
11909
|
+
id: z.ZodString;
|
|
11910
|
+
name: z.ZodString;
|
|
11911
|
+
description: z.ZodString;
|
|
11912
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11913
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11914
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11915
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11916
|
+
} & {
|
|
11917
|
+
content: z.ZodString;
|
|
11918
|
+
} & {
|
|
11919
|
+
type: z.ZodLiteral<"mode">;
|
|
11920
|
+
}, "strip", z.ZodTypeAny, {
|
|
11921
|
+
type: "mode";
|
|
11922
|
+
description: string;
|
|
11923
|
+
name: string;
|
|
11924
|
+
id: string;
|
|
11925
|
+
content: string;
|
|
11926
|
+
prerequisites?: string[] | undefined;
|
|
11927
|
+
author?: string | undefined;
|
|
11928
|
+
authorUrl?: string | undefined;
|
|
11929
|
+
tags?: string[] | undefined;
|
|
11930
|
+
}, {
|
|
11931
|
+
type: "mode";
|
|
11932
|
+
description: string;
|
|
11933
|
+
name: string;
|
|
11934
|
+
id: string;
|
|
11935
|
+
content: string;
|
|
11936
|
+
prerequisites?: string[] | undefined;
|
|
11937
|
+
author?: string | undefined;
|
|
11938
|
+
authorUrl?: string | undefined;
|
|
11939
|
+
tags?: string[] | undefined;
|
|
11940
|
+
}>, z.ZodObject<{
|
|
11941
|
+
id: z.ZodString;
|
|
11942
|
+
name: z.ZodString;
|
|
11943
|
+
description: z.ZodString;
|
|
11944
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11945
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11946
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11947
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11948
|
+
} & {
|
|
11949
|
+
url: z.ZodString;
|
|
11950
|
+
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
11951
|
+
name: z.ZodString;
|
|
11952
|
+
content: z.ZodString;
|
|
11953
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11954
|
+
name: z.ZodString;
|
|
11955
|
+
key: z.ZodString;
|
|
11956
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11957
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11958
|
+
}, "strip", z.ZodTypeAny, {
|
|
11959
|
+
name: string;
|
|
11960
|
+
key: string;
|
|
11961
|
+
optional: boolean;
|
|
11962
|
+
placeholder?: string | undefined;
|
|
11963
|
+
}, {
|
|
11964
|
+
name: string;
|
|
11965
|
+
key: string;
|
|
11966
|
+
placeholder?: string | undefined;
|
|
11967
|
+
optional?: boolean | undefined;
|
|
11968
|
+
}>, "many">>;
|
|
11969
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11970
|
+
}, "strip", z.ZodTypeAny, {
|
|
11971
|
+
name: string;
|
|
11972
|
+
content: string;
|
|
11973
|
+
parameters?: {
|
|
11974
|
+
name: string;
|
|
11975
|
+
key: string;
|
|
11976
|
+
optional: boolean;
|
|
11977
|
+
placeholder?: string | undefined;
|
|
11978
|
+
}[] | undefined;
|
|
11979
|
+
prerequisites?: string[] | undefined;
|
|
11980
|
+
}, {
|
|
11981
|
+
name: string;
|
|
11982
|
+
content: string;
|
|
11983
|
+
parameters?: {
|
|
11984
|
+
name: string;
|
|
11985
|
+
key: string;
|
|
11986
|
+
placeholder?: string | undefined;
|
|
11987
|
+
optional?: boolean | undefined;
|
|
11988
|
+
}[] | undefined;
|
|
11989
|
+
prerequisites?: string[] | undefined;
|
|
11990
|
+
}>, "many">]>;
|
|
11991
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11992
|
+
name: z.ZodString;
|
|
11993
|
+
key: z.ZodString;
|
|
11994
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11995
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11996
|
+
}, "strip", z.ZodTypeAny, {
|
|
11997
|
+
name: string;
|
|
11998
|
+
key: string;
|
|
11999
|
+
optional: boolean;
|
|
12000
|
+
placeholder?: string | undefined;
|
|
12001
|
+
}, {
|
|
12002
|
+
name: string;
|
|
12003
|
+
key: string;
|
|
12004
|
+
placeholder?: string | undefined;
|
|
12005
|
+
optional?: boolean | undefined;
|
|
12006
|
+
}>, "many">>;
|
|
12007
|
+
} & {
|
|
12008
|
+
type: z.ZodLiteral<"mcp">;
|
|
12009
|
+
}, "strip", z.ZodTypeAny, {
|
|
12010
|
+
type: "mcp";
|
|
12011
|
+
description: string;
|
|
12012
|
+
name: string;
|
|
12013
|
+
id: string;
|
|
12014
|
+
url: string;
|
|
12015
|
+
content: string | {
|
|
12016
|
+
name: string;
|
|
12017
|
+
content: string;
|
|
12018
|
+
parameters?: {
|
|
12019
|
+
name: string;
|
|
12020
|
+
key: string;
|
|
12021
|
+
optional: boolean;
|
|
12022
|
+
placeholder?: string | undefined;
|
|
12023
|
+
}[] | undefined;
|
|
12024
|
+
prerequisites?: string[] | undefined;
|
|
12025
|
+
}[];
|
|
12026
|
+
parameters?: {
|
|
12027
|
+
name: string;
|
|
12028
|
+
key: string;
|
|
12029
|
+
optional: boolean;
|
|
12030
|
+
placeholder?: string | undefined;
|
|
12031
|
+
}[] | undefined;
|
|
12032
|
+
prerequisites?: string[] | undefined;
|
|
12033
|
+
author?: string | undefined;
|
|
12034
|
+
authorUrl?: string | undefined;
|
|
12035
|
+
tags?: string[] | undefined;
|
|
12036
|
+
}, {
|
|
12037
|
+
type: "mcp";
|
|
12038
|
+
description: string;
|
|
12039
|
+
name: string;
|
|
12040
|
+
id: string;
|
|
12041
|
+
url: string;
|
|
12042
|
+
content: string | {
|
|
12043
|
+
name: string;
|
|
12044
|
+
content: string;
|
|
12045
|
+
parameters?: {
|
|
12046
|
+
name: string;
|
|
12047
|
+
key: string;
|
|
12048
|
+
placeholder?: string | undefined;
|
|
12049
|
+
optional?: boolean | undefined;
|
|
12050
|
+
}[] | undefined;
|
|
12051
|
+
prerequisites?: string[] | undefined;
|
|
12052
|
+
}[];
|
|
12053
|
+
parameters?: {
|
|
12054
|
+
name: string;
|
|
12055
|
+
key: string;
|
|
12056
|
+
placeholder?: string | undefined;
|
|
12057
|
+
optional?: boolean | undefined;
|
|
12058
|
+
}[] | undefined;
|
|
12059
|
+
prerequisites?: string[] | undefined;
|
|
12060
|
+
author?: string | undefined;
|
|
12061
|
+
authorUrl?: string | undefined;
|
|
12062
|
+
tags?: string[] | undefined;
|
|
12063
|
+
}>]>;
|
|
12064
|
+
type MarketplaceItem = z.infer<typeof marketplaceItemSchema>;
|
|
12065
|
+
/**
|
|
12066
|
+
* Installation options for marketplace items
|
|
12067
|
+
*/
|
|
12068
|
+
declare const installMarketplaceItemOptionsSchema: z.ZodObject<{
|
|
12069
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "project"]>>>;
|
|
12070
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12071
|
+
}, "strip", z.ZodTypeAny, {
|
|
12072
|
+
target: "global" | "project";
|
|
12073
|
+
parameters?: Record<string, any> | undefined;
|
|
12074
|
+
}, {
|
|
12075
|
+
parameters?: Record<string, any> | undefined;
|
|
12076
|
+
target?: "global" | "project" | undefined;
|
|
12077
|
+
}>;
|
|
12078
|
+
type InstallMarketplaceItemOptions = z.infer<typeof installMarketplaceItemOptionsSchema>;
|
|
12079
|
+
|
|
12080
|
+
/**
|
|
12081
|
+
* McpExecutionStatus
|
|
12082
|
+
*/
|
|
12083
|
+
declare const mcpExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
12084
|
+
executionId: z.ZodString;
|
|
12085
|
+
status: z.ZodLiteral<"started">;
|
|
12086
|
+
serverName: z.ZodString;
|
|
12087
|
+
toolName: z.ZodString;
|
|
12088
|
+
}, "strip", z.ZodTypeAny, {
|
|
12089
|
+
status: "started";
|
|
12090
|
+
executionId: string;
|
|
12091
|
+
serverName: string;
|
|
12092
|
+
toolName: string;
|
|
12093
|
+
}, {
|
|
12094
|
+
status: "started";
|
|
12095
|
+
executionId: string;
|
|
12096
|
+
serverName: string;
|
|
12097
|
+
toolName: string;
|
|
12098
|
+
}>, z.ZodObject<{
|
|
12099
|
+
executionId: z.ZodString;
|
|
12100
|
+
status: z.ZodLiteral<"output">;
|
|
12101
|
+
response: z.ZodString;
|
|
12102
|
+
}, "strip", z.ZodTypeAny, {
|
|
12103
|
+
status: "output";
|
|
12104
|
+
executionId: string;
|
|
12105
|
+
response: string;
|
|
12106
|
+
}, {
|
|
12107
|
+
status: "output";
|
|
12108
|
+
executionId: string;
|
|
12109
|
+
response: string;
|
|
12110
|
+
}>, z.ZodObject<{
|
|
12111
|
+
executionId: z.ZodString;
|
|
12112
|
+
status: z.ZodLiteral<"completed">;
|
|
12113
|
+
response: z.ZodOptional<z.ZodString>;
|
|
12114
|
+
}, "strip", z.ZodTypeAny, {
|
|
12115
|
+
status: "completed";
|
|
12116
|
+
executionId: string;
|
|
12117
|
+
response?: string | undefined;
|
|
12118
|
+
}, {
|
|
12119
|
+
status: "completed";
|
|
12120
|
+
executionId: string;
|
|
12121
|
+
response?: string | undefined;
|
|
12122
|
+
}>, z.ZodObject<{
|
|
12123
|
+
executionId: z.ZodString;
|
|
12124
|
+
status: z.ZodLiteral<"error">;
|
|
12125
|
+
error: z.ZodOptional<z.ZodString>;
|
|
12126
|
+
}, "strip", z.ZodTypeAny, {
|
|
12127
|
+
status: "error";
|
|
12128
|
+
executionId: string;
|
|
12129
|
+
error?: string | undefined;
|
|
12130
|
+
}, {
|
|
12131
|
+
status: "error";
|
|
12132
|
+
executionId: string;
|
|
12133
|
+
error?: string | undefined;
|
|
12134
|
+
}>]>;
|
|
12135
|
+
type McpExecutionStatus = z.infer<typeof mcpExecutionStatusSchema>;
|
|
12136
|
+
|
|
11385
12137
|
/**
|
|
11386
12138
|
* GroupOptions
|
|
11387
12139
|
*/
|
|
@@ -11626,6 +12378,8 @@ declare enum TelemetryEventName {
|
|
|
11626
12378
|
AUTHENTICATION_INITIATED = "Authentication Initiated",
|
|
11627
12379
|
MARKETPLACE_ITEM_INSTALLED = "Marketplace Item Installed",
|
|
11628
12380
|
MARKETPLACE_ITEM_REMOVED = "Marketplace Item Removed",
|
|
12381
|
+
MARKETPLACE_TAB_VIEWED = "Marketplace Tab Viewed",
|
|
12382
|
+
MARKETPLACE_INSTALL_BUTTON_CLICKED = "Marketplace Install Button Clicked",
|
|
11629
12383
|
SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
|
|
11630
12384
|
DIFF_APPLICATION_ERROR = "Diff Application Error",
|
|
11631
12385
|
SHELL_INTEGRATION_ERROR = "Shell Integration Error",
|
|
@@ -11661,18 +12415,18 @@ declare const appPropertiesSchema: z.ZodObject<{
|
|
|
11661
12415
|
}>;
|
|
11662
12416
|
declare const taskPropertiesSchema: z.ZodObject<{
|
|
11663
12417
|
taskId: z.ZodOptional<z.ZodString>;
|
|
11664
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12418
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11665
12419
|
modelId: z.ZodOptional<z.ZodString>;
|
|
11666
12420
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11667
12421
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
11668
12422
|
}, "strip", z.ZodTypeAny, {
|
|
11669
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12423
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11670
12424
|
taskId?: string | undefined;
|
|
11671
12425
|
modelId?: string | undefined;
|
|
11672
12426
|
diffStrategy?: string | undefined;
|
|
11673
12427
|
isSubtask?: boolean | undefined;
|
|
11674
12428
|
}, {
|
|
11675
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12429
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11676
12430
|
taskId?: string | undefined;
|
|
11677
12431
|
modelId?: string | undefined;
|
|
11678
12432
|
diffStrategy?: string | undefined;
|
|
@@ -11680,7 +12434,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
11680
12434
|
}>;
|
|
11681
12435
|
declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
11682
12436
|
taskId: z.ZodOptional<z.ZodString>;
|
|
11683
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12437
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11684
12438
|
modelId: z.ZodOptional<z.ZodString>;
|
|
11685
12439
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11686
12440
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11699,7 +12453,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
11699
12453
|
editorName: string;
|
|
11700
12454
|
language: string;
|
|
11701
12455
|
mode: string;
|
|
11702
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12456
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11703
12457
|
taskId?: string | undefined;
|
|
11704
12458
|
modelId?: string | undefined;
|
|
11705
12459
|
diffStrategy?: string | undefined;
|
|
@@ -11712,7 +12466,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
11712
12466
|
editorName: string;
|
|
11713
12467
|
language: string;
|
|
11714
12468
|
mode: string;
|
|
11715
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12469
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11716
12470
|
taskId?: string | undefined;
|
|
11717
12471
|
modelId?: string | undefined;
|
|
11718
12472
|
diffStrategy?: string | undefined;
|
|
@@ -11733,7 +12487,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11733
12487
|
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION]>;
|
|
11734
12488
|
properties: z.ZodObject<{
|
|
11735
12489
|
taskId: z.ZodOptional<z.ZodString>;
|
|
11736
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12490
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11737
12491
|
modelId: z.ZodOptional<z.ZodString>;
|
|
11738
12492
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11739
12493
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11752,7 +12506,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11752
12506
|
editorName: string;
|
|
11753
12507
|
language: string;
|
|
11754
12508
|
mode: string;
|
|
11755
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12509
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11756
12510
|
taskId?: string | undefined;
|
|
11757
12511
|
modelId?: string | undefined;
|
|
11758
12512
|
diffStrategy?: string | undefined;
|
|
@@ -11765,7 +12519,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11765
12519
|
editorName: string;
|
|
11766
12520
|
language: string;
|
|
11767
12521
|
mode: string;
|
|
11768
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12522
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11769
12523
|
taskId?: string | undefined;
|
|
11770
12524
|
modelId?: string | undefined;
|
|
11771
12525
|
diffStrategy?: string | undefined;
|
|
@@ -11781,7 +12535,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11781
12535
|
editorName: string;
|
|
11782
12536
|
language: string;
|
|
11783
12537
|
mode: string;
|
|
11784
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12538
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11785
12539
|
taskId?: string | undefined;
|
|
11786
12540
|
modelId?: string | undefined;
|
|
11787
12541
|
diffStrategy?: string | undefined;
|
|
@@ -11797,7 +12551,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11797
12551
|
editorName: string;
|
|
11798
12552
|
language: string;
|
|
11799
12553
|
mode: string;
|
|
11800
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12554
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11801
12555
|
taskId?: string | undefined;
|
|
11802
12556
|
modelId?: string | undefined;
|
|
11803
12557
|
diffStrategy?: string | undefined;
|
|
@@ -11844,6 +12598,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11844
12598
|
newContextTokens: number;
|
|
11845
12599
|
summary: string;
|
|
11846
12600
|
}>>;
|
|
12601
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
11847
12602
|
}, "strip", z.ZodTypeAny, {
|
|
11848
12603
|
type: "ask" | "say";
|
|
11849
12604
|
ts: number;
|
|
@@ -11865,6 +12620,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11865
12620
|
newContextTokens: number;
|
|
11866
12621
|
summary: string;
|
|
11867
12622
|
} | undefined;
|
|
12623
|
+
isProtected?: boolean | undefined;
|
|
11868
12624
|
}, {
|
|
11869
12625
|
type: "ask" | "say";
|
|
11870
12626
|
ts: number;
|
|
@@ -11886,8 +12642,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11886
12642
|
newContextTokens: number;
|
|
11887
12643
|
summary: string;
|
|
11888
12644
|
} | undefined;
|
|
12645
|
+
isProtected?: boolean | undefined;
|
|
11889
12646
|
}>;
|
|
11890
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12647
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11891
12648
|
modelId: z.ZodOptional<z.ZodString>;
|
|
11892
12649
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11893
12650
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11920,6 +12677,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11920
12677
|
newContextTokens: number;
|
|
11921
12678
|
summary: string;
|
|
11922
12679
|
} | undefined;
|
|
12680
|
+
isProtected?: boolean | undefined;
|
|
11923
12681
|
};
|
|
11924
12682
|
appName: string;
|
|
11925
12683
|
appVersion: string;
|
|
@@ -11929,7 +12687,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11929
12687
|
language: string;
|
|
11930
12688
|
mode: string;
|
|
11931
12689
|
taskId: string;
|
|
11932
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12690
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11933
12691
|
modelId?: string | undefined;
|
|
11934
12692
|
diffStrategy?: string | undefined;
|
|
11935
12693
|
isSubtask?: boolean | undefined;
|
|
@@ -11955,6 +12713,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11955
12713
|
newContextTokens: number;
|
|
11956
12714
|
summary: string;
|
|
11957
12715
|
} | undefined;
|
|
12716
|
+
isProtected?: boolean | undefined;
|
|
11958
12717
|
};
|
|
11959
12718
|
appName: string;
|
|
11960
12719
|
appVersion: string;
|
|
@@ -11964,7 +12723,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11964
12723
|
language: string;
|
|
11965
12724
|
mode: string;
|
|
11966
12725
|
taskId: string;
|
|
11967
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12726
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11968
12727
|
modelId?: string | undefined;
|
|
11969
12728
|
diffStrategy?: string | undefined;
|
|
11970
12729
|
isSubtask?: boolean | undefined;
|
|
@@ -11993,6 +12752,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11993
12752
|
newContextTokens: number;
|
|
11994
12753
|
summary: string;
|
|
11995
12754
|
} | undefined;
|
|
12755
|
+
isProtected?: boolean | undefined;
|
|
11996
12756
|
};
|
|
11997
12757
|
appName: string;
|
|
11998
12758
|
appVersion: string;
|
|
@@ -12002,7 +12762,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12002
12762
|
language: string;
|
|
12003
12763
|
mode: string;
|
|
12004
12764
|
taskId: string;
|
|
12005
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12765
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12006
12766
|
modelId?: string | undefined;
|
|
12007
12767
|
diffStrategy?: string | undefined;
|
|
12008
12768
|
isSubtask?: boolean | undefined;
|
|
@@ -12031,6 +12791,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12031
12791
|
newContextTokens: number;
|
|
12032
12792
|
summary: string;
|
|
12033
12793
|
} | undefined;
|
|
12794
|
+
isProtected?: boolean | undefined;
|
|
12034
12795
|
};
|
|
12035
12796
|
appName: string;
|
|
12036
12797
|
appVersion: string;
|
|
@@ -12040,7 +12801,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12040
12801
|
language: string;
|
|
12041
12802
|
mode: string;
|
|
12042
12803
|
taskId: string;
|
|
12043
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12804
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12044
12805
|
modelId?: string | undefined;
|
|
12045
12806
|
diffStrategy?: string | undefined;
|
|
12046
12807
|
isSubtask?: boolean | undefined;
|
|
@@ -12054,7 +12815,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12054
12815
|
cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
|
|
12055
12816
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
12056
12817
|
taskId: z.ZodOptional<z.ZodString>;
|
|
12057
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12818
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
12058
12819
|
modelId: z.ZodOptional<z.ZodString>;
|
|
12059
12820
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
12060
12821
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12075,7 +12836,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12075
12836
|
mode: string;
|
|
12076
12837
|
inputTokens: number;
|
|
12077
12838
|
outputTokens: number;
|
|
12078
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12839
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12079
12840
|
cost?: number | undefined;
|
|
12080
12841
|
taskId?: string | undefined;
|
|
12081
12842
|
modelId?: string | undefined;
|
|
@@ -12093,7 +12854,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12093
12854
|
mode: string;
|
|
12094
12855
|
inputTokens: number;
|
|
12095
12856
|
outputTokens: number;
|
|
12096
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12857
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12097
12858
|
cost?: number | undefined;
|
|
12098
12859
|
taskId?: string | undefined;
|
|
12099
12860
|
modelId?: string | undefined;
|
|
@@ -12114,7 +12875,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12114
12875
|
mode: string;
|
|
12115
12876
|
inputTokens: number;
|
|
12116
12877
|
outputTokens: number;
|
|
12117
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12878
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12118
12879
|
cost?: number | undefined;
|
|
12119
12880
|
taskId?: string | undefined;
|
|
12120
12881
|
modelId?: string | undefined;
|
|
@@ -12135,7 +12896,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
12135
12896
|
mode: string;
|
|
12136
12897
|
inputTokens: number;
|
|
12137
12898
|
outputTokens: number;
|
|
12138
|
-
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12899
|
+
apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
12139
12900
|
cost?: number | undefined;
|
|
12140
12901
|
taskId?: string | undefined;
|
|
12141
12902
|
modelId?: string | undefined;
|
|
@@ -12244,14 +13005,14 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
|
|
|
12244
13005
|
/**
|
|
12245
13006
|
* Command
|
|
12246
13007
|
*/
|
|
12247
|
-
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput"];
|
|
13008
|
+
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput", "focusPanel"];
|
|
12248
13009
|
type CommandId = (typeof commandIds)[number];
|
|
12249
13010
|
/**
|
|
12250
13011
|
* Language
|
|
12251
13012
|
*/
|
|
12252
|
-
declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"];
|
|
12253
|
-
declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>;
|
|
13013
|
+
declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"];
|
|
13014
|
+
declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>;
|
|
12254
13015
|
type Language = z.infer<typeof languagesSchema>;
|
|
12255
13016
|
declare const isLanguage: (value: string) => value is Language;
|
|
12256
13017
|
|
|
12257
|
-
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 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 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 MistralModelId, type ModeConfig, 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, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey,
|
|
13018
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|