@roo-code/types 1.31.0 → 1.33.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 +123 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +447 -29
- package/dist/index.d.ts +447 -29
- package/dist/index.js +117 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -653,8 +653,32 @@ declare const chutesModels: {
|
|
|
653
653
|
};
|
|
654
654
|
};
|
|
655
655
|
|
|
656
|
+
/**
|
|
657
|
+
* Converts Claude model names from hyphen-date format to Vertex AI's @-date format.
|
|
658
|
+
*
|
|
659
|
+
* @param modelName - The original model name (e.g., "claude-sonnet-4-20250514")
|
|
660
|
+
* @returns The converted model name for Vertex AI (e.g., "claude-sonnet-4@20250514")
|
|
661
|
+
*
|
|
662
|
+
* @example
|
|
663
|
+
* convertModelNameForVertex("claude-sonnet-4-20250514") // returns "claude-sonnet-4@20250514"
|
|
664
|
+
* convertModelNameForVertex("claude-model") // returns "claude-model" (no change)
|
|
665
|
+
*/
|
|
666
|
+
declare function convertModelNameForVertex(modelName: string): string;
|
|
656
667
|
type ClaudeCodeModelId = keyof typeof claudeCodeModels;
|
|
657
668
|
declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
|
|
669
|
+
declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8000;
|
|
670
|
+
/**
|
|
671
|
+
* Gets the appropriate model ID based on whether Vertex AI is being used.
|
|
672
|
+
*
|
|
673
|
+
* @param baseModelId - The base Claude Code model ID
|
|
674
|
+
* @param useVertex - Whether to format the model ID for Vertex AI (default: false)
|
|
675
|
+
* @returns The model ID, potentially formatted for Vertex AI
|
|
676
|
+
*
|
|
677
|
+
* @example
|
|
678
|
+
* getClaudeCodeModelId("claude-sonnet-4-20250514", true) // returns "claude-sonnet-4@20250514"
|
|
679
|
+
* getClaudeCodeModelId("claude-sonnet-4-20250514", false) // returns "claude-sonnet-4-20250514"
|
|
680
|
+
*/
|
|
681
|
+
declare function getClaudeCodeModelId(baseModelId: ClaudeCodeModelId, useVertex?: boolean): string;
|
|
658
682
|
declare const claudeCodeModels: {
|
|
659
683
|
readonly "claude-sonnet-4-20250514": {
|
|
660
684
|
readonly supportsImages: false;
|
|
@@ -1150,11 +1174,11 @@ declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet";
|
|
|
1150
1174
|
declare const glamaDefaultModelInfo: ModelInfo;
|
|
1151
1175
|
declare const GLAMA_DEFAULT_TEMPERATURE = 0;
|
|
1152
1176
|
|
|
1153
|
-
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";
|
|
1177
|
+
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" | "moonshotai/kimi-k2-instruct";
|
|
1154
1178
|
declare const groqDefaultModelId: GroqModelId;
|
|
1155
1179
|
declare const groqModels: {
|
|
1156
1180
|
readonly "llama-3.1-8b-instant": {
|
|
1157
|
-
readonly maxTokens:
|
|
1181
|
+
readonly maxTokens: 8192;
|
|
1158
1182
|
readonly contextWindow: 131072;
|
|
1159
1183
|
readonly supportsImages: false;
|
|
1160
1184
|
readonly supportsPromptCache: false;
|
|
@@ -1163,7 +1187,7 @@ declare const groqModels: {
|
|
|
1163
1187
|
readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
|
|
1164
1188
|
};
|
|
1165
1189
|
readonly "llama-3.3-70b-versatile": {
|
|
1166
|
-
readonly maxTokens:
|
|
1190
|
+
readonly maxTokens: 8192;
|
|
1167
1191
|
readonly contextWindow: 131072;
|
|
1168
1192
|
readonly supportsImages: false;
|
|
1169
1193
|
readonly supportsPromptCache: false;
|
|
@@ -1190,7 +1214,7 @@ declare const groqModels: {
|
|
|
1190
1214
|
readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
|
|
1191
1215
|
};
|
|
1192
1216
|
readonly "mistral-saba-24b": {
|
|
1193
|
-
readonly maxTokens:
|
|
1217
|
+
readonly maxTokens: 8192;
|
|
1194
1218
|
readonly contextWindow: 32768;
|
|
1195
1219
|
readonly supportsImages: false;
|
|
1196
1220
|
readonly supportsPromptCache: false;
|
|
@@ -1199,7 +1223,7 @@ declare const groqModels: {
|
|
|
1199
1223
|
readonly description: "Mistral Saba 24B model, 32K context.";
|
|
1200
1224
|
};
|
|
1201
1225
|
readonly "qwen-qwq-32b": {
|
|
1202
|
-
readonly maxTokens:
|
|
1226
|
+
readonly maxTokens: 8192;
|
|
1203
1227
|
readonly contextWindow: 131072;
|
|
1204
1228
|
readonly supportsImages: false;
|
|
1205
1229
|
readonly supportsPromptCache: false;
|
|
@@ -1208,7 +1232,7 @@ declare const groqModels: {
|
|
|
1208
1232
|
readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
|
|
1209
1233
|
};
|
|
1210
1234
|
readonly "qwen/qwen3-32b": {
|
|
1211
|
-
readonly maxTokens:
|
|
1235
|
+
readonly maxTokens: 8192;
|
|
1212
1236
|
readonly contextWindow: 131072;
|
|
1213
1237
|
readonly supportsImages: false;
|
|
1214
1238
|
readonly supportsPromptCache: false;
|
|
@@ -1217,7 +1241,7 @@ declare const groqModels: {
|
|
|
1217
1241
|
readonly description: "Alibaba Qwen 3 32B model, 128K context.";
|
|
1218
1242
|
};
|
|
1219
1243
|
readonly "deepseek-r1-distill-llama-70b": {
|
|
1220
|
-
readonly maxTokens:
|
|
1244
|
+
readonly maxTokens: 8192;
|
|
1221
1245
|
readonly contextWindow: 131072;
|
|
1222
1246
|
readonly supportsImages: false;
|
|
1223
1247
|
readonly supportsPromptCache: false;
|
|
@@ -1225,6 +1249,15 @@ declare const groqModels: {
|
|
|
1225
1249
|
readonly outputPrice: 0.99;
|
|
1226
1250
|
readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
|
|
1227
1251
|
};
|
|
1252
|
+
readonly "moonshotai/kimi-k2-instruct": {
|
|
1253
|
+
readonly maxTokens: 16384;
|
|
1254
|
+
readonly contextWindow: 131072;
|
|
1255
|
+
readonly supportsImages: false;
|
|
1256
|
+
readonly supportsPromptCache: false;
|
|
1257
|
+
readonly inputPrice: 1;
|
|
1258
|
+
readonly outputPrice: 3;
|
|
1259
|
+
readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.";
|
|
1260
|
+
};
|
|
1228
1261
|
};
|
|
1229
1262
|
|
|
1230
1263
|
declare const litellmDefaultModelId = "claude-3-7-sonnet-20250219";
|
|
@@ -1246,6 +1279,14 @@ declare const mistralModels: {
|
|
|
1246
1279
|
readonly inputPrice: 2;
|
|
1247
1280
|
readonly outputPrice: 5;
|
|
1248
1281
|
};
|
|
1282
|
+
readonly "devstral-medium-latest": {
|
|
1283
|
+
readonly maxTokens: 131000;
|
|
1284
|
+
readonly contextWindow: 131000;
|
|
1285
|
+
readonly supportsImages: true;
|
|
1286
|
+
readonly supportsPromptCache: false;
|
|
1287
|
+
readonly inputPrice: 0.4;
|
|
1288
|
+
readonly outputPrice: 2;
|
|
1289
|
+
};
|
|
1249
1290
|
readonly "mistral-medium-latest": {
|
|
1250
1291
|
readonly maxTokens: 131000;
|
|
1251
1292
|
readonly contextWindow: 131000;
|
|
@@ -1930,23 +1971,16 @@ declare const vscodeLlmModels: {
|
|
|
1930
1971
|
type XAIModelId = keyof typeof xaiModels;
|
|
1931
1972
|
declare const xaiDefaultModelId: XAIModelId;
|
|
1932
1973
|
declare const xaiModels: {
|
|
1933
|
-
readonly "grok-
|
|
1934
|
-
readonly maxTokens: 8192;
|
|
1935
|
-
readonly contextWindow: 131072;
|
|
1936
|
-
readonly supportsImages: false;
|
|
1937
|
-
readonly supportsPromptCache: false;
|
|
1938
|
-
readonly inputPrice: 2;
|
|
1939
|
-
readonly outputPrice: 10;
|
|
1940
|
-
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
1941
|
-
};
|
|
1942
|
-
readonly "grok-2-vision-1212": {
|
|
1974
|
+
readonly "grok-4": {
|
|
1943
1975
|
readonly maxTokens: 8192;
|
|
1944
|
-
readonly contextWindow:
|
|
1976
|
+
readonly contextWindow: 256000;
|
|
1945
1977
|
readonly supportsImages: true;
|
|
1946
|
-
readonly supportsPromptCache:
|
|
1947
|
-
readonly inputPrice:
|
|
1948
|
-
readonly outputPrice:
|
|
1949
|
-
readonly
|
|
1978
|
+
readonly supportsPromptCache: true;
|
|
1979
|
+
readonly inputPrice: 3;
|
|
1980
|
+
readonly outputPrice: 15;
|
|
1981
|
+
readonly cacheWritesPrice: 0.75;
|
|
1982
|
+
readonly cacheReadsPrice: 0.75;
|
|
1983
|
+
readonly description: "xAI's Grok-4 model with 256K context window";
|
|
1950
1984
|
};
|
|
1951
1985
|
readonly "grok-3": {
|
|
1952
1986
|
readonly maxTokens: 8192;
|
|
@@ -1994,6 +2028,24 @@ declare const xaiModels: {
|
|
|
1994
2028
|
readonly description: "xAI's Grok-3 mini fast model with 128K context window";
|
|
1995
2029
|
readonly supportsReasoningEffort: true;
|
|
1996
2030
|
};
|
|
2031
|
+
readonly "grok-2-1212": {
|
|
2032
|
+
readonly maxTokens: 8192;
|
|
2033
|
+
readonly contextWindow: 131072;
|
|
2034
|
+
readonly supportsImages: false;
|
|
2035
|
+
readonly supportsPromptCache: false;
|
|
2036
|
+
readonly inputPrice: 2;
|
|
2037
|
+
readonly outputPrice: 10;
|
|
2038
|
+
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
2039
|
+
};
|
|
2040
|
+
readonly "grok-2-vision-1212": {
|
|
2041
|
+
readonly maxTokens: 8192;
|
|
2042
|
+
readonly contextWindow: 32768;
|
|
2043
|
+
readonly supportsImages: true;
|
|
2044
|
+
readonly supportsPromptCache: false;
|
|
2045
|
+
readonly inputPrice: 2;
|
|
2046
|
+
readonly outputPrice: 10;
|
|
2047
|
+
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
2048
|
+
};
|
|
1997
2049
|
};
|
|
1998
2050
|
|
|
1999
2051
|
/**
|
|
@@ -2027,12 +2079,20 @@ declare const providerSettingsEntrySchema: z.ZodObject<{
|
|
|
2027
2079
|
apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
2028
2080
|
}>;
|
|
2029
2081
|
type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
|
|
2082
|
+
/**
|
|
2083
|
+
* ProviderSettings
|
|
2084
|
+
*/
|
|
2085
|
+
/**
|
|
2086
|
+
* Default value for consecutive mistake limit
|
|
2087
|
+
*/
|
|
2088
|
+
declare const DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3;
|
|
2030
2089
|
declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
|
|
2031
2090
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2032
2091
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2033
2092
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2034
2093
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2035
2094
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2036
2096
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2037
2097
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2038
2098
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2053,6 +2113,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2053
2113
|
fuzzyMatchThreshold?: number | undefined;
|
|
2054
2114
|
modelTemperature?: number | null | undefined;
|
|
2055
2115
|
rateLimitSeconds?: number | undefined;
|
|
2116
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2056
2117
|
enableReasoningEffort?: boolean | undefined;
|
|
2057
2118
|
modelMaxTokens?: number | undefined;
|
|
2058
2119
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2068,6 +2129,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2068
2129
|
fuzzyMatchThreshold?: number | undefined;
|
|
2069
2130
|
modelTemperature?: number | null | undefined;
|
|
2070
2131
|
rateLimitSeconds?: number | undefined;
|
|
2132
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2071
2133
|
enableReasoningEffort?: boolean | undefined;
|
|
2072
2134
|
modelMaxTokens?: number | undefined;
|
|
2073
2135
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2081,6 +2143,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2081
2143
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2082
2144
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2083
2145
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2146
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2084
2147
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2085
2148
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2086
2149
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2089,6 +2152,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2089
2152
|
apiModelId: z.ZodOptional<z.ZodString>;
|
|
2090
2153
|
} & {
|
|
2091
2154
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2092
2156
|
} & {
|
|
2093
2157
|
apiProvider: z.ZodLiteral<"claude-code">;
|
|
2094
2158
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2099,11 +2163,13 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2099
2163
|
fuzzyMatchThreshold?: number | undefined;
|
|
2100
2164
|
modelTemperature?: number | null | undefined;
|
|
2101
2165
|
rateLimitSeconds?: number | undefined;
|
|
2166
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2102
2167
|
enableReasoningEffort?: boolean | undefined;
|
|
2103
2168
|
modelMaxTokens?: number | undefined;
|
|
2104
2169
|
modelMaxThinkingTokens?: number | undefined;
|
|
2105
2170
|
apiModelId?: string | undefined;
|
|
2106
2171
|
claudeCodePath?: string | undefined;
|
|
2172
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
2107
2173
|
}, {
|
|
2108
2174
|
apiProvider: "claude-code";
|
|
2109
2175
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2112,17 +2178,20 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2112
2178
|
fuzzyMatchThreshold?: number | undefined;
|
|
2113
2179
|
modelTemperature?: number | null | undefined;
|
|
2114
2180
|
rateLimitSeconds?: number | undefined;
|
|
2181
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2115
2182
|
enableReasoningEffort?: boolean | undefined;
|
|
2116
2183
|
modelMaxTokens?: number | undefined;
|
|
2117
2184
|
modelMaxThinkingTokens?: number | undefined;
|
|
2118
2185
|
apiModelId?: string | undefined;
|
|
2119
2186
|
claudeCodePath?: string | undefined;
|
|
2187
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
2120
2188
|
}>, z.ZodObject<{
|
|
2121
2189
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2122
2190
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2123
2191
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2124
2192
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2125
2193
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2126
2195
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2127
2196
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2128
2197
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2140,6 +2209,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2140
2209
|
fuzzyMatchThreshold?: number | undefined;
|
|
2141
2210
|
modelTemperature?: number | null | undefined;
|
|
2142
2211
|
rateLimitSeconds?: number | undefined;
|
|
2212
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2143
2213
|
enableReasoningEffort?: boolean | undefined;
|
|
2144
2214
|
modelMaxTokens?: number | undefined;
|
|
2145
2215
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2153,6 +2223,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2153
2223
|
fuzzyMatchThreshold?: number | undefined;
|
|
2154
2224
|
modelTemperature?: number | null | undefined;
|
|
2155
2225
|
rateLimitSeconds?: number | undefined;
|
|
2226
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2156
2227
|
enableReasoningEffort?: boolean | undefined;
|
|
2157
2228
|
modelMaxTokens?: number | undefined;
|
|
2158
2229
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2164,6 +2235,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2164
2235
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2165
2236
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2166
2237
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2238
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2167
2239
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2168
2240
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2169
2241
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2184,6 +2256,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2184
2256
|
fuzzyMatchThreshold?: number | undefined;
|
|
2185
2257
|
modelTemperature?: number | null | undefined;
|
|
2186
2258
|
rateLimitSeconds?: number | undefined;
|
|
2259
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2187
2260
|
enableReasoningEffort?: boolean | undefined;
|
|
2188
2261
|
modelMaxTokens?: number | undefined;
|
|
2189
2262
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2200,6 +2273,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2200
2273
|
fuzzyMatchThreshold?: number | undefined;
|
|
2201
2274
|
modelTemperature?: number | null | undefined;
|
|
2202
2275
|
rateLimitSeconds?: number | undefined;
|
|
2276
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2203
2277
|
enableReasoningEffort?: boolean | undefined;
|
|
2204
2278
|
modelMaxTokens?: number | undefined;
|
|
2205
2279
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2214,6 +2288,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2214
2288
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2215
2289
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2216
2290
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2291
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2217
2292
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2218
2293
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2219
2294
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2243,6 +2318,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2243
2318
|
fuzzyMatchThreshold?: number | undefined;
|
|
2244
2319
|
modelTemperature?: number | null | undefined;
|
|
2245
2320
|
rateLimitSeconds?: number | undefined;
|
|
2321
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2246
2322
|
enableReasoningEffort?: boolean | undefined;
|
|
2247
2323
|
modelMaxTokens?: number | undefined;
|
|
2248
2324
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2267,6 +2343,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2267
2343
|
fuzzyMatchThreshold?: number | undefined;
|
|
2268
2344
|
modelTemperature?: number | null | undefined;
|
|
2269
2345
|
rateLimitSeconds?: number | undefined;
|
|
2346
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2270
2347
|
enableReasoningEffort?: boolean | undefined;
|
|
2271
2348
|
modelMaxTokens?: number | undefined;
|
|
2272
2349
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2289,6 +2366,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2289
2366
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2290
2367
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2291
2368
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2292
2370
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2293
2371
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2294
2372
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2310,6 +2388,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2310
2388
|
fuzzyMatchThreshold?: number | undefined;
|
|
2311
2389
|
modelTemperature?: number | null | undefined;
|
|
2312
2390
|
rateLimitSeconds?: number | undefined;
|
|
2391
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2313
2392
|
enableReasoningEffort?: boolean | undefined;
|
|
2314
2393
|
modelMaxTokens?: number | undefined;
|
|
2315
2394
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2326,6 +2405,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2326
2405
|
fuzzyMatchThreshold?: number | undefined;
|
|
2327
2406
|
modelTemperature?: number | null | undefined;
|
|
2328
2407
|
rateLimitSeconds?: number | undefined;
|
|
2408
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2329
2409
|
enableReasoningEffort?: boolean | undefined;
|
|
2330
2410
|
modelMaxTokens?: number | undefined;
|
|
2331
2411
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2340,6 +2420,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2340
2420
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2341
2421
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2342
2422
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2343
2424
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2344
2425
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2345
2426
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2459,6 +2540,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2459
2540
|
fuzzyMatchThreshold?: number | undefined;
|
|
2460
2541
|
modelTemperature?: number | null | undefined;
|
|
2461
2542
|
rateLimitSeconds?: number | undefined;
|
|
2543
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2462
2544
|
enableReasoningEffort?: boolean | undefined;
|
|
2463
2545
|
modelMaxTokens?: number | undefined;
|
|
2464
2546
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2508,6 +2590,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2508
2590
|
fuzzyMatchThreshold?: number | undefined;
|
|
2509
2591
|
modelTemperature?: number | null | undefined;
|
|
2510
2592
|
rateLimitSeconds?: number | undefined;
|
|
2593
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2511
2594
|
enableReasoningEffort?: boolean | undefined;
|
|
2512
2595
|
modelMaxTokens?: number | undefined;
|
|
2513
2596
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2555,6 +2638,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2555
2638
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2556
2639
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2557
2640
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2641
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2558
2642
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2559
2643
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2560
2644
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2572,6 +2656,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2572
2656
|
fuzzyMatchThreshold?: number | undefined;
|
|
2573
2657
|
modelTemperature?: number | null | undefined;
|
|
2574
2658
|
rateLimitSeconds?: number | undefined;
|
|
2659
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2575
2660
|
enableReasoningEffort?: boolean | undefined;
|
|
2576
2661
|
modelMaxTokens?: number | undefined;
|
|
2577
2662
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2585,6 +2670,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2585
2670
|
fuzzyMatchThreshold?: number | undefined;
|
|
2586
2671
|
modelTemperature?: number | null | undefined;
|
|
2587
2672
|
rateLimitSeconds?: number | undefined;
|
|
2673
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2588
2674
|
enableReasoningEffort?: boolean | undefined;
|
|
2589
2675
|
modelMaxTokens?: number | undefined;
|
|
2590
2676
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2596,6 +2682,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2596
2682
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2597
2683
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2598
2684
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2685
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2599
2686
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2600
2687
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2601
2688
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2627,6 +2714,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2627
2714
|
fuzzyMatchThreshold?: number | undefined;
|
|
2628
2715
|
modelTemperature?: number | null | undefined;
|
|
2629
2716
|
rateLimitSeconds?: number | undefined;
|
|
2717
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2630
2718
|
enableReasoningEffort?: boolean | undefined;
|
|
2631
2719
|
modelMaxTokens?: number | undefined;
|
|
2632
2720
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2644,6 +2732,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2644
2732
|
fuzzyMatchThreshold?: number | undefined;
|
|
2645
2733
|
modelTemperature?: number | null | undefined;
|
|
2646
2734
|
rateLimitSeconds?: number | undefined;
|
|
2735
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2647
2736
|
enableReasoningEffort?: boolean | undefined;
|
|
2648
2737
|
modelMaxTokens?: number | undefined;
|
|
2649
2738
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2659,6 +2748,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2659
2748
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2660
2749
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2661
2750
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2751
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2662
2752
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2663
2753
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2664
2754
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2678,6 +2768,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2678
2768
|
fuzzyMatchThreshold?: number | undefined;
|
|
2679
2769
|
modelTemperature?: number | null | undefined;
|
|
2680
2770
|
rateLimitSeconds?: number | undefined;
|
|
2771
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2681
2772
|
enableReasoningEffort?: boolean | undefined;
|
|
2682
2773
|
modelMaxTokens?: number | undefined;
|
|
2683
2774
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2693,6 +2784,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2693
2784
|
fuzzyMatchThreshold?: number | undefined;
|
|
2694
2785
|
modelTemperature?: number | null | undefined;
|
|
2695
2786
|
rateLimitSeconds?: number | undefined;
|
|
2787
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2696
2788
|
enableReasoningEffort?: boolean | undefined;
|
|
2697
2789
|
modelMaxTokens?: number | undefined;
|
|
2698
2790
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2706,6 +2798,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2706
2798
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2707
2799
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2708
2800
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2801
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2709
2802
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2710
2803
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2711
2804
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2725,6 +2818,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2725
2818
|
fuzzyMatchThreshold?: number | undefined;
|
|
2726
2819
|
modelTemperature?: number | null | undefined;
|
|
2727
2820
|
rateLimitSeconds?: number | undefined;
|
|
2821
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2728
2822
|
enableReasoningEffort?: boolean | undefined;
|
|
2729
2823
|
modelMaxTokens?: number | undefined;
|
|
2730
2824
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2739,6 +2833,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2739
2833
|
fuzzyMatchThreshold?: number | undefined;
|
|
2740
2834
|
modelTemperature?: number | null | undefined;
|
|
2741
2835
|
rateLimitSeconds?: number | undefined;
|
|
2836
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2742
2837
|
enableReasoningEffort?: boolean | undefined;
|
|
2743
2838
|
modelMaxTokens?: number | undefined;
|
|
2744
2839
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2751,6 +2846,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2751
2846
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2752
2847
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2753
2848
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2849
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2754
2850
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2755
2851
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2756
2852
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2770,6 +2866,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2770
2866
|
fuzzyMatchThreshold?: number | undefined;
|
|
2771
2867
|
modelTemperature?: number | null | undefined;
|
|
2772
2868
|
rateLimitSeconds?: number | undefined;
|
|
2869
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2773
2870
|
enableReasoningEffort?: boolean | undefined;
|
|
2774
2871
|
modelMaxTokens?: number | undefined;
|
|
2775
2872
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2784,6 +2881,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2784
2881
|
fuzzyMatchThreshold?: number | undefined;
|
|
2785
2882
|
modelTemperature?: number | null | undefined;
|
|
2786
2883
|
rateLimitSeconds?: number | undefined;
|
|
2884
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2787
2885
|
enableReasoningEffort?: boolean | undefined;
|
|
2788
2886
|
modelMaxTokens?: number | undefined;
|
|
2789
2887
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2796,6 +2894,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2796
2894
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2797
2895
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2798
2896
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2897
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2799
2898
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2800
2899
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2801
2900
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2815,6 +2914,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2815
2914
|
fuzzyMatchThreshold?: number | undefined;
|
|
2816
2915
|
modelTemperature?: number | null | undefined;
|
|
2817
2916
|
rateLimitSeconds?: number | undefined;
|
|
2917
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2818
2918
|
enableReasoningEffort?: boolean | undefined;
|
|
2819
2919
|
modelMaxTokens?: number | undefined;
|
|
2820
2920
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2829,6 +2929,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2829
2929
|
fuzzyMatchThreshold?: number | undefined;
|
|
2830
2930
|
modelTemperature?: number | null | undefined;
|
|
2831
2931
|
rateLimitSeconds?: number | undefined;
|
|
2932
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2832
2933
|
enableReasoningEffort?: boolean | undefined;
|
|
2833
2934
|
modelMaxTokens?: number | undefined;
|
|
2834
2935
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2841,6 +2942,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2841
2942
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2842
2943
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2843
2944
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2945
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2844
2946
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2845
2947
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2846
2948
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2860,6 +2962,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2860
2962
|
fuzzyMatchThreshold?: number | undefined;
|
|
2861
2963
|
modelTemperature?: number | null | undefined;
|
|
2862
2964
|
rateLimitSeconds?: number | undefined;
|
|
2965
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2863
2966
|
enableReasoningEffort?: boolean | undefined;
|
|
2864
2967
|
modelMaxTokens?: number | undefined;
|
|
2865
2968
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2874,6 +2977,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2874
2977
|
fuzzyMatchThreshold?: number | undefined;
|
|
2875
2978
|
modelTemperature?: number | null | undefined;
|
|
2876
2979
|
rateLimitSeconds?: number | undefined;
|
|
2980
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2877
2981
|
enableReasoningEffort?: boolean | undefined;
|
|
2878
2982
|
modelMaxTokens?: number | undefined;
|
|
2879
2983
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2886,6 +2990,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2886
2990
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2887
2991
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2888
2992
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2993
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2889
2994
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2890
2995
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2891
2996
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2905,6 +3010,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2905
3010
|
fuzzyMatchThreshold?: number | undefined;
|
|
2906
3011
|
modelTemperature?: number | null | undefined;
|
|
2907
3012
|
rateLimitSeconds?: number | undefined;
|
|
3013
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2908
3014
|
enableReasoningEffort?: boolean | undefined;
|
|
2909
3015
|
modelMaxTokens?: number | undefined;
|
|
2910
3016
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2919,6 +3025,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2919
3025
|
fuzzyMatchThreshold?: number | undefined;
|
|
2920
3026
|
modelTemperature?: number | null | undefined;
|
|
2921
3027
|
rateLimitSeconds?: number | undefined;
|
|
3028
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2922
3029
|
enableReasoningEffort?: boolean | undefined;
|
|
2923
3030
|
modelMaxTokens?: number | undefined;
|
|
2924
3031
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2931,6 +3038,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2931
3038
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2932
3039
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2933
3040
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3041
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2934
3042
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2935
3043
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2936
3044
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2948,6 +3056,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2948
3056
|
fuzzyMatchThreshold?: number | undefined;
|
|
2949
3057
|
modelTemperature?: number | null | undefined;
|
|
2950
3058
|
rateLimitSeconds?: number | undefined;
|
|
3059
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2951
3060
|
enableReasoningEffort?: boolean | undefined;
|
|
2952
3061
|
modelMaxTokens?: number | undefined;
|
|
2953
3062
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2961,6 +3070,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2961
3070
|
fuzzyMatchThreshold?: number | undefined;
|
|
2962
3071
|
modelTemperature?: number | null | undefined;
|
|
2963
3072
|
rateLimitSeconds?: number | undefined;
|
|
3073
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2964
3074
|
enableReasoningEffort?: boolean | undefined;
|
|
2965
3075
|
modelMaxTokens?: number | undefined;
|
|
2966
3076
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2972,6 +3082,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2972
3082
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2973
3083
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2974
3084
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3085
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2975
3086
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2976
3087
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2977
3088
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2989,6 +3100,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2989
3100
|
fuzzyMatchThreshold?: number | undefined;
|
|
2990
3101
|
modelTemperature?: number | null | undefined;
|
|
2991
3102
|
rateLimitSeconds?: number | undefined;
|
|
3103
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2992
3104
|
enableReasoningEffort?: boolean | undefined;
|
|
2993
3105
|
modelMaxTokens?: number | undefined;
|
|
2994
3106
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3002,6 +3114,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3002
3114
|
fuzzyMatchThreshold?: number | undefined;
|
|
3003
3115
|
modelTemperature?: number | null | undefined;
|
|
3004
3116
|
rateLimitSeconds?: number | undefined;
|
|
3117
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3005
3118
|
enableReasoningEffort?: boolean | undefined;
|
|
3006
3119
|
modelMaxTokens?: number | undefined;
|
|
3007
3120
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3013,6 +3126,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3013
3126
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3014
3127
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3015
3128
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3129
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3016
3130
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3017
3131
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3018
3132
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3027,6 +3141,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3027
3141
|
fuzzyMatchThreshold?: number | undefined;
|
|
3028
3142
|
modelTemperature?: number | null | undefined;
|
|
3029
3143
|
rateLimitSeconds?: number | undefined;
|
|
3144
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3030
3145
|
enableReasoningEffort?: boolean | undefined;
|
|
3031
3146
|
modelMaxTokens?: number | undefined;
|
|
3032
3147
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3038,6 +3153,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3038
3153
|
fuzzyMatchThreshold?: number | undefined;
|
|
3039
3154
|
modelTemperature?: number | null | undefined;
|
|
3040
3155
|
rateLimitSeconds?: number | undefined;
|
|
3156
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3041
3157
|
enableReasoningEffort?: boolean | undefined;
|
|
3042
3158
|
modelMaxTokens?: number | undefined;
|
|
3043
3159
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3047,6 +3163,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3047
3163
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3048
3164
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3049
3165
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3166
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3050
3167
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3051
3168
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3052
3169
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3063,6 +3180,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3063
3180
|
fuzzyMatchThreshold?: number | undefined;
|
|
3064
3181
|
modelTemperature?: number | null | undefined;
|
|
3065
3182
|
rateLimitSeconds?: number | undefined;
|
|
3183
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3066
3184
|
enableReasoningEffort?: boolean | undefined;
|
|
3067
3185
|
modelMaxTokens?: number | undefined;
|
|
3068
3186
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3075,6 +3193,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3075
3193
|
fuzzyMatchThreshold?: number | undefined;
|
|
3076
3194
|
modelTemperature?: number | null | undefined;
|
|
3077
3195
|
rateLimitSeconds?: number | undefined;
|
|
3196
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3078
3197
|
enableReasoningEffort?: boolean | undefined;
|
|
3079
3198
|
modelMaxTokens?: number | undefined;
|
|
3080
3199
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3085,6 +3204,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3085
3204
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3086
3205
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3087
3206
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3207
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3088
3208
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3089
3209
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3090
3210
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3103,6 +3223,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3103
3223
|
fuzzyMatchThreshold?: number | undefined;
|
|
3104
3224
|
modelTemperature?: number | null | undefined;
|
|
3105
3225
|
rateLimitSeconds?: number | undefined;
|
|
3226
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3106
3227
|
enableReasoningEffort?: boolean | undefined;
|
|
3107
3228
|
modelMaxTokens?: number | undefined;
|
|
3108
3229
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3116,6 +3237,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3116
3237
|
fuzzyMatchThreshold?: number | undefined;
|
|
3117
3238
|
modelTemperature?: number | null | undefined;
|
|
3118
3239
|
rateLimitSeconds?: number | undefined;
|
|
3240
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3119
3241
|
enableReasoningEffort?: boolean | undefined;
|
|
3120
3242
|
modelMaxTokens?: number | undefined;
|
|
3121
3243
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3127,6 +3249,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3127
3249
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3128
3250
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3129
3251
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3252
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3130
3253
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3131
3254
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3132
3255
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3145,6 +3268,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3145
3268
|
fuzzyMatchThreshold?: number | undefined;
|
|
3146
3269
|
modelTemperature?: number | null | undefined;
|
|
3147
3270
|
rateLimitSeconds?: number | undefined;
|
|
3271
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3148
3272
|
enableReasoningEffort?: boolean | undefined;
|
|
3149
3273
|
modelMaxTokens?: number | undefined;
|
|
3150
3274
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3158,6 +3282,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3158
3282
|
fuzzyMatchThreshold?: number | undefined;
|
|
3159
3283
|
modelTemperature?: number | null | undefined;
|
|
3160
3284
|
rateLimitSeconds?: number | undefined;
|
|
3285
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3161
3286
|
enableReasoningEffort?: boolean | undefined;
|
|
3162
3287
|
modelMaxTokens?: number | undefined;
|
|
3163
3288
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3169,6 +3294,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3169
3294
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3170
3295
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3171
3296
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3297
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3172
3298
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3173
3299
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3174
3300
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3187,6 +3313,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3187
3313
|
fuzzyMatchThreshold?: number | undefined;
|
|
3188
3314
|
modelTemperature?: number | null | undefined;
|
|
3189
3315
|
rateLimitSeconds?: number | undefined;
|
|
3316
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3190
3317
|
enableReasoningEffort?: boolean | undefined;
|
|
3191
3318
|
modelMaxTokens?: number | undefined;
|
|
3192
3319
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3200,6 +3327,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3200
3327
|
fuzzyMatchThreshold?: number | undefined;
|
|
3201
3328
|
modelTemperature?: number | null | undefined;
|
|
3202
3329
|
rateLimitSeconds?: number | undefined;
|
|
3330
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3203
3331
|
enableReasoningEffort?: boolean | undefined;
|
|
3204
3332
|
modelMaxTokens?: number | undefined;
|
|
3205
3333
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3211,6 +3339,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3211
3339
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3212
3340
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3213
3341
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3342
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3214
3343
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3215
3344
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3216
3345
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3229,6 +3358,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3229
3358
|
fuzzyMatchThreshold?: number | undefined;
|
|
3230
3359
|
modelTemperature?: number | null | undefined;
|
|
3231
3360
|
rateLimitSeconds?: number | undefined;
|
|
3361
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3232
3362
|
enableReasoningEffort?: boolean | undefined;
|
|
3233
3363
|
modelMaxTokens?: number | undefined;
|
|
3234
3364
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3243,6 +3373,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3243
3373
|
fuzzyMatchThreshold?: number | undefined;
|
|
3244
3374
|
modelTemperature?: number | null | undefined;
|
|
3245
3375
|
rateLimitSeconds?: number | undefined;
|
|
3376
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3246
3377
|
enableReasoningEffort?: boolean | undefined;
|
|
3247
3378
|
modelMaxTokens?: number | undefined;
|
|
3248
3379
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3268,6 +3399,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3268
3399
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3269
3400
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3270
3401
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3402
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3271
3403
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3272
3404
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3273
3405
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3444,6 +3576,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3444
3576
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
3445
3577
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
3446
3578
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
3579
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3447
3580
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3448
3581
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3449
3582
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3462,6 +3595,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3462
3595
|
fuzzyMatchThreshold?: number | undefined;
|
|
3463
3596
|
modelTemperature?: number | null | undefined;
|
|
3464
3597
|
rateLimitSeconds?: number | undefined;
|
|
3598
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3465
3599
|
enableReasoningEffort?: boolean | undefined;
|
|
3466
3600
|
modelMaxTokens?: number | undefined;
|
|
3467
3601
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3470,6 +3604,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3470
3604
|
anthropicBaseUrl?: string | undefined;
|
|
3471
3605
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3472
3606
|
claudeCodePath?: string | undefined;
|
|
3607
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
3473
3608
|
glamaModelId?: string | undefined;
|
|
3474
3609
|
glamaApiKey?: string | undefined;
|
|
3475
3610
|
openRouterApiKey?: string | undefined;
|
|
@@ -3578,6 +3713,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3578
3713
|
fuzzyMatchThreshold?: number | undefined;
|
|
3579
3714
|
modelTemperature?: number | null | undefined;
|
|
3580
3715
|
rateLimitSeconds?: number | undefined;
|
|
3716
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3581
3717
|
enableReasoningEffort?: boolean | undefined;
|
|
3582
3718
|
modelMaxTokens?: number | undefined;
|
|
3583
3719
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3586,6 +3722,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3586
3722
|
anthropicBaseUrl?: string | undefined;
|
|
3587
3723
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3588
3724
|
claudeCodePath?: string | undefined;
|
|
3725
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
3589
3726
|
glamaModelId?: string | undefined;
|
|
3590
3727
|
glamaApiKey?: string | undefined;
|
|
3591
3728
|
openRouterApiKey?: string | undefined;
|
|
@@ -3682,9 +3819,11 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3682
3819
|
litellmModelId?: string | undefined;
|
|
3683
3820
|
}>;
|
|
3684
3821
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3685
|
-
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "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", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3822
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "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", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3686
3823
|
declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
|
|
3687
3824
|
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
3825
|
+
declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
|
|
3826
|
+
declare const getApiProtocol: (provider: ProviderName | undefined) => "anthropic" | "openai";
|
|
3688
3827
|
|
|
3689
3828
|
/**
|
|
3690
3829
|
* GlobalSettings
|
|
@@ -3764,6 +3903,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3764
3903
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3765
3904
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
3766
3905
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3906
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3767
3907
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3768
3908
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
3769
3909
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4035,6 +4175,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4035
4175
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4036
4176
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4037
4177
|
allowedCommands?: string[] | undefined;
|
|
4178
|
+
deniedCommands?: string[] | undefined;
|
|
4038
4179
|
allowedMaxRequests?: number | null | undefined;
|
|
4039
4180
|
autoCondenseContext?: boolean | undefined;
|
|
4040
4181
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4172,6 +4313,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4172
4313
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4173
4314
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4174
4315
|
allowedCommands?: string[] | undefined;
|
|
4316
|
+
deniedCommands?: string[] | undefined;
|
|
4175
4317
|
allowedMaxRequests?: number | null | undefined;
|
|
4176
4318
|
autoCondenseContext?: boolean | undefined;
|
|
4177
4319
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4250,7 +4392,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4250
4392
|
lastModeImportPath?: string | undefined;
|
|
4251
4393
|
}>;
|
|
4252
4394
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
4253
|
-
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", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4395
|
+
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", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4254
4396
|
/**
|
|
4255
4397
|
* RooCodeSettings
|
|
4256
4398
|
*/
|
|
@@ -4263,6 +4405,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4263
4405
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
4264
4406
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
4265
4407
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4408
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
4266
4409
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
4267
4410
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
4268
4411
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4439,6 +4582,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4439
4582
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
4440
4583
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
4441
4584
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
4585
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
4442
4586
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
4443
4587
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4444
4588
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4518,6 +4662,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4518
4662
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
4519
4663
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
4520
4664
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4665
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4521
4666
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4522
4667
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
4523
4668
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4742,6 +4887,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4742
4887
|
fuzzyMatchThreshold?: number | undefined;
|
|
4743
4888
|
modelTemperature?: number | null | undefined;
|
|
4744
4889
|
rateLimitSeconds?: number | undefined;
|
|
4890
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
4745
4891
|
enableReasoningEffort?: boolean | undefined;
|
|
4746
4892
|
modelMaxTokens?: number | undefined;
|
|
4747
4893
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -4750,6 +4896,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4750
4896
|
anthropicBaseUrl?: string | undefined;
|
|
4751
4897
|
anthropicUseAuthToken?: boolean | undefined;
|
|
4752
4898
|
claudeCodePath?: string | undefined;
|
|
4899
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
4753
4900
|
glamaModelId?: string | undefined;
|
|
4754
4901
|
glamaApiKey?: string | undefined;
|
|
4755
4902
|
openRouterApiKey?: string | undefined;
|
|
@@ -4901,6 +5048,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4901
5048
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4902
5049
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4903
5050
|
allowedCommands?: string[] | undefined;
|
|
5051
|
+
deniedCommands?: string[] | undefined;
|
|
4904
5052
|
allowedMaxRequests?: number | null | undefined;
|
|
4905
5053
|
autoCondenseContext?: boolean | undefined;
|
|
4906
5054
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4991,6 +5139,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4991
5139
|
fuzzyMatchThreshold?: number | undefined;
|
|
4992
5140
|
modelTemperature?: number | null | undefined;
|
|
4993
5141
|
rateLimitSeconds?: number | undefined;
|
|
5142
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
4994
5143
|
enableReasoningEffort?: boolean | undefined;
|
|
4995
5144
|
modelMaxTokens?: number | undefined;
|
|
4996
5145
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -4999,6 +5148,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4999
5148
|
anthropicBaseUrl?: string | undefined;
|
|
5000
5149
|
anthropicUseAuthToken?: boolean | undefined;
|
|
5001
5150
|
claudeCodePath?: string | undefined;
|
|
5151
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
5002
5152
|
glamaModelId?: string | undefined;
|
|
5003
5153
|
glamaApiKey?: string | undefined;
|
|
5004
5154
|
openRouterApiKey?: string | undefined;
|
|
@@ -5150,6 +5300,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5150
5300
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
5151
5301
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
5152
5302
|
allowedCommands?: string[] | undefined;
|
|
5303
|
+
deniedCommands?: string[] | undefined;
|
|
5153
5304
|
allowedMaxRequests?: number | null | undefined;
|
|
5154
5305
|
autoCondenseContext?: boolean | undefined;
|
|
5155
5306
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -5387,6 +5538,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5387
5538
|
summary: string;
|
|
5388
5539
|
}>>;
|
|
5389
5540
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5541
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
5390
5542
|
}, "strip", z.ZodTypeAny, {
|
|
5391
5543
|
type: "ask" | "say";
|
|
5392
5544
|
ts: number;
|
|
@@ -5409,6 +5561,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5409
5561
|
summary: string;
|
|
5410
5562
|
} | undefined;
|
|
5411
5563
|
isProtected?: boolean | undefined;
|
|
5564
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5412
5565
|
}, {
|
|
5413
5566
|
type: "ask" | "say";
|
|
5414
5567
|
ts: number;
|
|
@@ -5431,6 +5584,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5431
5584
|
summary: string;
|
|
5432
5585
|
} | undefined;
|
|
5433
5586
|
isProtected?: boolean | undefined;
|
|
5587
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5434
5588
|
}>;
|
|
5435
5589
|
type ClineMessage = z.infer<typeof clineMessageSchema>;
|
|
5436
5590
|
/**
|
|
@@ -5559,6 +5713,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5559
5713
|
summary: string;
|
|
5560
5714
|
}>>;
|
|
5561
5715
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5716
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
5562
5717
|
}, "strip", z.ZodTypeAny, {
|
|
5563
5718
|
type: "ask" | "say";
|
|
5564
5719
|
ts: number;
|
|
@@ -5581,6 +5736,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5581
5736
|
summary: string;
|
|
5582
5737
|
} | undefined;
|
|
5583
5738
|
isProtected?: boolean | undefined;
|
|
5739
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5584
5740
|
}, {
|
|
5585
5741
|
type: "ask" | "say";
|
|
5586
5742
|
ts: number;
|
|
@@ -5603,6 +5759,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5603
5759
|
summary: string;
|
|
5604
5760
|
} | undefined;
|
|
5605
5761
|
isProtected?: boolean | undefined;
|
|
5762
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5606
5763
|
}>;
|
|
5607
5764
|
}, "strip", z.ZodTypeAny, {
|
|
5608
5765
|
message: {
|
|
@@ -5627,6 +5784,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5627
5784
|
summary: string;
|
|
5628
5785
|
} | undefined;
|
|
5629
5786
|
isProtected?: boolean | undefined;
|
|
5787
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5630
5788
|
};
|
|
5631
5789
|
taskId: string;
|
|
5632
5790
|
action: "created" | "updated";
|
|
@@ -5653,6 +5811,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5653
5811
|
summary: string;
|
|
5654
5812
|
} | undefined;
|
|
5655
5813
|
isProtected?: boolean | undefined;
|
|
5814
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5656
5815
|
};
|
|
5657
5816
|
taskId: string;
|
|
5658
5817
|
action: "created" | "updated";
|
|
@@ -5749,6 +5908,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5749
5908
|
summary: string;
|
|
5750
5909
|
} | undefined;
|
|
5751
5910
|
isProtected?: boolean | undefined;
|
|
5911
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5752
5912
|
};
|
|
5753
5913
|
taskId: string;
|
|
5754
5914
|
action: "created" | "updated";
|
|
@@ -5807,6 +5967,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5807
5967
|
summary: string;
|
|
5808
5968
|
} | undefined;
|
|
5809
5969
|
isProtected?: boolean | undefined;
|
|
5970
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5810
5971
|
};
|
|
5811
5972
|
taskId: string;
|
|
5812
5973
|
action: "created" | "updated";
|
|
@@ -5880,6 +6041,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5880
6041
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
5881
6042
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5882
6043
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6044
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
5883
6045
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
5884
6046
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
5885
6047
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6056,6 +6218,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6056
6218
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
6057
6219
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
6058
6220
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
6221
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
6059
6222
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
6060
6223
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
6061
6224
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6135,6 +6298,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6135
6298
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
6136
6299
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
6137
6300
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6301
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6138
6302
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6139
6303
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
6140
6304
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6359,6 +6523,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6359
6523
|
fuzzyMatchThreshold?: number | undefined;
|
|
6360
6524
|
modelTemperature?: number | null | undefined;
|
|
6361
6525
|
rateLimitSeconds?: number | undefined;
|
|
6526
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6362
6527
|
enableReasoningEffort?: boolean | undefined;
|
|
6363
6528
|
modelMaxTokens?: number | undefined;
|
|
6364
6529
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -6367,6 +6532,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6367
6532
|
anthropicBaseUrl?: string | undefined;
|
|
6368
6533
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6369
6534
|
claudeCodePath?: string | undefined;
|
|
6535
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6370
6536
|
glamaModelId?: string | undefined;
|
|
6371
6537
|
glamaApiKey?: string | undefined;
|
|
6372
6538
|
openRouterApiKey?: string | undefined;
|
|
@@ -6518,6 +6684,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6518
6684
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
6519
6685
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
6520
6686
|
allowedCommands?: string[] | undefined;
|
|
6687
|
+
deniedCommands?: string[] | undefined;
|
|
6521
6688
|
allowedMaxRequests?: number | null | undefined;
|
|
6522
6689
|
autoCondenseContext?: boolean | undefined;
|
|
6523
6690
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -6608,6 +6775,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6608
6775
|
fuzzyMatchThreshold?: number | undefined;
|
|
6609
6776
|
modelTemperature?: number | null | undefined;
|
|
6610
6777
|
rateLimitSeconds?: number | undefined;
|
|
6778
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6611
6779
|
enableReasoningEffort?: boolean | undefined;
|
|
6612
6780
|
modelMaxTokens?: number | undefined;
|
|
6613
6781
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -6616,6 +6784,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6616
6784
|
anthropicBaseUrl?: string | undefined;
|
|
6617
6785
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6618
6786
|
claudeCodePath?: string | undefined;
|
|
6787
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6619
6788
|
glamaModelId?: string | undefined;
|
|
6620
6789
|
glamaApiKey?: string | undefined;
|
|
6621
6790
|
openRouterApiKey?: string | undefined;
|
|
@@ -6767,6 +6936,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6767
6936
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
6768
6937
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
6769
6938
|
allowedCommands?: string[] | undefined;
|
|
6939
|
+
deniedCommands?: string[] | undefined;
|
|
6770
6940
|
allowedMaxRequests?: number | null | undefined;
|
|
6771
6941
|
autoCondenseContext?: boolean | undefined;
|
|
6772
6942
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -6863,6 +7033,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6863
7033
|
fuzzyMatchThreshold?: number | undefined;
|
|
6864
7034
|
modelTemperature?: number | null | undefined;
|
|
6865
7035
|
rateLimitSeconds?: number | undefined;
|
|
7036
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6866
7037
|
enableReasoningEffort?: boolean | undefined;
|
|
6867
7038
|
modelMaxTokens?: number | undefined;
|
|
6868
7039
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -6871,6 +7042,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6871
7042
|
anthropicBaseUrl?: string | undefined;
|
|
6872
7043
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6873
7044
|
claudeCodePath?: string | undefined;
|
|
7045
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6874
7046
|
glamaModelId?: string | undefined;
|
|
6875
7047
|
glamaApiKey?: string | undefined;
|
|
6876
7048
|
openRouterApiKey?: string | undefined;
|
|
@@ -7022,6 +7194,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7022
7194
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7023
7195
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7024
7196
|
allowedCommands?: string[] | undefined;
|
|
7197
|
+
deniedCommands?: string[] | undefined;
|
|
7025
7198
|
allowedMaxRequests?: number | null | undefined;
|
|
7026
7199
|
autoCondenseContext?: boolean | undefined;
|
|
7027
7200
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7117,6 +7290,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7117
7290
|
fuzzyMatchThreshold?: number | undefined;
|
|
7118
7291
|
modelTemperature?: number | null | undefined;
|
|
7119
7292
|
rateLimitSeconds?: number | undefined;
|
|
7293
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7120
7294
|
enableReasoningEffort?: boolean | undefined;
|
|
7121
7295
|
modelMaxTokens?: number | undefined;
|
|
7122
7296
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7125,6 +7299,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7125
7299
|
anthropicBaseUrl?: string | undefined;
|
|
7126
7300
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7127
7301
|
claudeCodePath?: string | undefined;
|
|
7302
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7128
7303
|
glamaModelId?: string | undefined;
|
|
7129
7304
|
glamaApiKey?: string | undefined;
|
|
7130
7305
|
openRouterApiKey?: string | undefined;
|
|
@@ -7276,6 +7451,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7276
7451
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7277
7452
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7278
7453
|
allowedCommands?: string[] | undefined;
|
|
7454
|
+
deniedCommands?: string[] | undefined;
|
|
7279
7455
|
allowedMaxRequests?: number | null | undefined;
|
|
7280
7456
|
autoCondenseContext?: boolean | undefined;
|
|
7281
7457
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7374,6 +7550,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7374
7550
|
fuzzyMatchThreshold?: number | undefined;
|
|
7375
7551
|
modelTemperature?: number | null | undefined;
|
|
7376
7552
|
rateLimitSeconds?: number | undefined;
|
|
7553
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7377
7554
|
enableReasoningEffort?: boolean | undefined;
|
|
7378
7555
|
modelMaxTokens?: number | undefined;
|
|
7379
7556
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7382,6 +7559,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7382
7559
|
anthropicBaseUrl?: string | undefined;
|
|
7383
7560
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7384
7561
|
claudeCodePath?: string | undefined;
|
|
7562
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7385
7563
|
glamaModelId?: string | undefined;
|
|
7386
7564
|
glamaApiKey?: string | undefined;
|
|
7387
7565
|
openRouterApiKey?: string | undefined;
|
|
@@ -7533,6 +7711,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7533
7711
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7534
7712
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7535
7713
|
allowedCommands?: string[] | undefined;
|
|
7714
|
+
deniedCommands?: string[] | undefined;
|
|
7536
7715
|
allowedMaxRequests?: number | null | undefined;
|
|
7537
7716
|
autoCondenseContext?: boolean | undefined;
|
|
7538
7717
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7631,6 +7810,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7631
7810
|
fuzzyMatchThreshold?: number | undefined;
|
|
7632
7811
|
modelTemperature?: number | null | undefined;
|
|
7633
7812
|
rateLimitSeconds?: number | undefined;
|
|
7813
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7634
7814
|
enableReasoningEffort?: boolean | undefined;
|
|
7635
7815
|
modelMaxTokens?: number | undefined;
|
|
7636
7816
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7639,6 +7819,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7639
7819
|
anthropicBaseUrl?: string | undefined;
|
|
7640
7820
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7641
7821
|
claudeCodePath?: string | undefined;
|
|
7822
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7642
7823
|
glamaModelId?: string | undefined;
|
|
7643
7824
|
glamaApiKey?: string | undefined;
|
|
7644
7825
|
openRouterApiKey?: string | undefined;
|
|
@@ -7790,6 +7971,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7790
7971
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7791
7972
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7792
7973
|
allowedCommands?: string[] | undefined;
|
|
7974
|
+
deniedCommands?: string[] | undefined;
|
|
7793
7975
|
allowedMaxRequests?: number | null | undefined;
|
|
7794
7976
|
autoCondenseContext?: boolean | undefined;
|
|
7795
7977
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7936,6 +8118,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7936
8118
|
summary: string;
|
|
7937
8119
|
}>>;
|
|
7938
8120
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
8121
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
7939
8122
|
}, "strip", z.ZodTypeAny, {
|
|
7940
8123
|
type: "ask" | "say";
|
|
7941
8124
|
ts: number;
|
|
@@ -7958,6 +8141,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7958
8141
|
summary: string;
|
|
7959
8142
|
} | undefined;
|
|
7960
8143
|
isProtected?: boolean | undefined;
|
|
8144
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
7961
8145
|
}, {
|
|
7962
8146
|
type: "ask" | "say";
|
|
7963
8147
|
ts: number;
|
|
@@ -7980,6 +8164,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7980
8164
|
summary: string;
|
|
7981
8165
|
} | undefined;
|
|
7982
8166
|
isProtected?: boolean | undefined;
|
|
8167
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
7983
8168
|
}>;
|
|
7984
8169
|
}, "strip", z.ZodTypeAny, {
|
|
7985
8170
|
message: {
|
|
@@ -8004,6 +8189,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8004
8189
|
summary: string;
|
|
8005
8190
|
} | undefined;
|
|
8006
8191
|
isProtected?: boolean | undefined;
|
|
8192
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8007
8193
|
};
|
|
8008
8194
|
taskId: string;
|
|
8009
8195
|
action: "created" | "updated";
|
|
@@ -8030,6 +8216,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8030
8216
|
summary: string;
|
|
8031
8217
|
} | undefined;
|
|
8032
8218
|
isProtected?: boolean | undefined;
|
|
8219
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8033
8220
|
};
|
|
8034
8221
|
taskId: string;
|
|
8035
8222
|
action: "created" | "updated";
|
|
@@ -8060,6 +8247,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8060
8247
|
summary: string;
|
|
8061
8248
|
} | undefined;
|
|
8062
8249
|
isProtected?: boolean | undefined;
|
|
8250
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8063
8251
|
};
|
|
8064
8252
|
taskId: string;
|
|
8065
8253
|
action: "created" | "updated";
|
|
@@ -8090,6 +8278,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8090
8278
|
summary: string;
|
|
8091
8279
|
} | undefined;
|
|
8092
8280
|
isProtected?: boolean | undefined;
|
|
8281
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8093
8282
|
};
|
|
8094
8283
|
taskId: string;
|
|
8095
8284
|
action: "created" | "updated";
|
|
@@ -8410,6 +8599,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8410
8599
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
8411
8600
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
8412
8601
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8602
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
8413
8603
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
8414
8604
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
8415
8605
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8586,6 +8776,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8586
8776
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
8587
8777
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
8588
8778
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
8779
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
8589
8780
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
8590
8781
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8591
8782
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8665,6 +8856,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8665
8856
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
8666
8857
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
8667
8858
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8859
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8668
8860
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8669
8861
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
8670
8862
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8889,6 +9081,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8889
9081
|
fuzzyMatchThreshold?: number | undefined;
|
|
8890
9082
|
modelTemperature?: number | null | undefined;
|
|
8891
9083
|
rateLimitSeconds?: number | undefined;
|
|
9084
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
8892
9085
|
enableReasoningEffort?: boolean | undefined;
|
|
8893
9086
|
modelMaxTokens?: number | undefined;
|
|
8894
9087
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -8897,6 +9090,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8897
9090
|
anthropicBaseUrl?: string | undefined;
|
|
8898
9091
|
anthropicUseAuthToken?: boolean | undefined;
|
|
8899
9092
|
claudeCodePath?: string | undefined;
|
|
9093
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
8900
9094
|
glamaModelId?: string | undefined;
|
|
8901
9095
|
glamaApiKey?: string | undefined;
|
|
8902
9096
|
openRouterApiKey?: string | undefined;
|
|
@@ -9048,6 +9242,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9048
9242
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9049
9243
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9050
9244
|
allowedCommands?: string[] | undefined;
|
|
9245
|
+
deniedCommands?: string[] | undefined;
|
|
9051
9246
|
allowedMaxRequests?: number | null | undefined;
|
|
9052
9247
|
autoCondenseContext?: boolean | undefined;
|
|
9053
9248
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9138,6 +9333,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9138
9333
|
fuzzyMatchThreshold?: number | undefined;
|
|
9139
9334
|
modelTemperature?: number | null | undefined;
|
|
9140
9335
|
rateLimitSeconds?: number | undefined;
|
|
9336
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9141
9337
|
enableReasoningEffort?: boolean | undefined;
|
|
9142
9338
|
modelMaxTokens?: number | undefined;
|
|
9143
9339
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9146,6 +9342,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9146
9342
|
anthropicBaseUrl?: string | undefined;
|
|
9147
9343
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9148
9344
|
claudeCodePath?: string | undefined;
|
|
9345
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9149
9346
|
glamaModelId?: string | undefined;
|
|
9150
9347
|
glamaApiKey?: string | undefined;
|
|
9151
9348
|
openRouterApiKey?: string | undefined;
|
|
@@ -9297,6 +9494,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9297
9494
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9298
9495
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9299
9496
|
allowedCommands?: string[] | undefined;
|
|
9497
|
+
deniedCommands?: string[] | undefined;
|
|
9300
9498
|
allowedMaxRequests?: number | null | undefined;
|
|
9301
9499
|
autoCondenseContext?: boolean | undefined;
|
|
9302
9500
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9393,6 +9591,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9393
9591
|
fuzzyMatchThreshold?: number | undefined;
|
|
9394
9592
|
modelTemperature?: number | null | undefined;
|
|
9395
9593
|
rateLimitSeconds?: number | undefined;
|
|
9594
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9396
9595
|
enableReasoningEffort?: boolean | undefined;
|
|
9397
9596
|
modelMaxTokens?: number | undefined;
|
|
9398
9597
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9401,6 +9600,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9401
9600
|
anthropicBaseUrl?: string | undefined;
|
|
9402
9601
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9403
9602
|
claudeCodePath?: string | undefined;
|
|
9603
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9404
9604
|
glamaModelId?: string | undefined;
|
|
9405
9605
|
glamaApiKey?: string | undefined;
|
|
9406
9606
|
openRouterApiKey?: string | undefined;
|
|
@@ -9552,6 +9752,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9552
9752
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9553
9753
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9554
9754
|
allowedCommands?: string[] | undefined;
|
|
9755
|
+
deniedCommands?: string[] | undefined;
|
|
9555
9756
|
allowedMaxRequests?: number | null | undefined;
|
|
9556
9757
|
autoCondenseContext?: boolean | undefined;
|
|
9557
9758
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9647,6 +9848,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9647
9848
|
fuzzyMatchThreshold?: number | undefined;
|
|
9648
9849
|
modelTemperature?: number | null | undefined;
|
|
9649
9850
|
rateLimitSeconds?: number | undefined;
|
|
9851
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9650
9852
|
enableReasoningEffort?: boolean | undefined;
|
|
9651
9853
|
modelMaxTokens?: number | undefined;
|
|
9652
9854
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9655,6 +9857,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9655
9857
|
anthropicBaseUrl?: string | undefined;
|
|
9656
9858
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9657
9859
|
claudeCodePath?: string | undefined;
|
|
9860
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9658
9861
|
glamaModelId?: string | undefined;
|
|
9659
9862
|
glamaApiKey?: string | undefined;
|
|
9660
9863
|
openRouterApiKey?: string | undefined;
|
|
@@ -9806,6 +10009,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9806
10009
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9807
10010
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9808
10011
|
allowedCommands?: string[] | undefined;
|
|
10012
|
+
deniedCommands?: string[] | undefined;
|
|
9809
10013
|
allowedMaxRequests?: number | null | undefined;
|
|
9810
10014
|
autoCondenseContext?: boolean | undefined;
|
|
9811
10015
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9904,6 +10108,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9904
10108
|
fuzzyMatchThreshold?: number | undefined;
|
|
9905
10109
|
modelTemperature?: number | null | undefined;
|
|
9906
10110
|
rateLimitSeconds?: number | undefined;
|
|
10111
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9907
10112
|
enableReasoningEffort?: boolean | undefined;
|
|
9908
10113
|
modelMaxTokens?: number | undefined;
|
|
9909
10114
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9912,6 +10117,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9912
10117
|
anthropicBaseUrl?: string | undefined;
|
|
9913
10118
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9914
10119
|
claudeCodePath?: string | undefined;
|
|
10120
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9915
10121
|
glamaModelId?: string | undefined;
|
|
9916
10122
|
glamaApiKey?: string | undefined;
|
|
9917
10123
|
openRouterApiKey?: string | undefined;
|
|
@@ -10063,6 +10269,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10063
10269
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10064
10270
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10065
10271
|
allowedCommands?: string[] | undefined;
|
|
10272
|
+
deniedCommands?: string[] | undefined;
|
|
10066
10273
|
allowedMaxRequests?: number | null | undefined;
|
|
10067
10274
|
autoCondenseContext?: boolean | undefined;
|
|
10068
10275
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10161,6 +10368,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10161
10368
|
fuzzyMatchThreshold?: number | undefined;
|
|
10162
10369
|
modelTemperature?: number | null | undefined;
|
|
10163
10370
|
rateLimitSeconds?: number | undefined;
|
|
10371
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10164
10372
|
enableReasoningEffort?: boolean | undefined;
|
|
10165
10373
|
modelMaxTokens?: number | undefined;
|
|
10166
10374
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10169,6 +10377,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10169
10377
|
anthropicBaseUrl?: string | undefined;
|
|
10170
10378
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10171
10379
|
claudeCodePath?: string | undefined;
|
|
10380
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10172
10381
|
glamaModelId?: string | undefined;
|
|
10173
10382
|
glamaApiKey?: string | undefined;
|
|
10174
10383
|
openRouterApiKey?: string | undefined;
|
|
@@ -10320,6 +10529,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10320
10529
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10321
10530
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10322
10531
|
allowedCommands?: string[] | undefined;
|
|
10532
|
+
deniedCommands?: string[] | undefined;
|
|
10323
10533
|
allowedMaxRequests?: number | null | undefined;
|
|
10324
10534
|
autoCondenseContext?: boolean | undefined;
|
|
10325
10535
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10440,6 +10650,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10440
10650
|
fuzzyMatchThreshold?: number | undefined;
|
|
10441
10651
|
modelTemperature?: number | null | undefined;
|
|
10442
10652
|
rateLimitSeconds?: number | undefined;
|
|
10653
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10443
10654
|
enableReasoningEffort?: boolean | undefined;
|
|
10444
10655
|
modelMaxTokens?: number | undefined;
|
|
10445
10656
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10448,6 +10659,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10448
10659
|
anthropicBaseUrl?: string | undefined;
|
|
10449
10660
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10450
10661
|
claudeCodePath?: string | undefined;
|
|
10662
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10451
10663
|
glamaModelId?: string | undefined;
|
|
10452
10664
|
glamaApiKey?: string | undefined;
|
|
10453
10665
|
openRouterApiKey?: string | undefined;
|
|
@@ -10599,6 +10811,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10599
10811
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10600
10812
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10601
10813
|
allowedCommands?: string[] | undefined;
|
|
10814
|
+
deniedCommands?: string[] | undefined;
|
|
10602
10815
|
allowedMaxRequests?: number | null | undefined;
|
|
10603
10816
|
autoCondenseContext?: boolean | undefined;
|
|
10604
10817
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10708,6 +10921,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10708
10921
|
fuzzyMatchThreshold?: number | undefined;
|
|
10709
10922
|
modelTemperature?: number | null | undefined;
|
|
10710
10923
|
rateLimitSeconds?: number | undefined;
|
|
10924
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10711
10925
|
enableReasoningEffort?: boolean | undefined;
|
|
10712
10926
|
modelMaxTokens?: number | undefined;
|
|
10713
10927
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10716,6 +10930,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10716
10930
|
anthropicBaseUrl?: string | undefined;
|
|
10717
10931
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10718
10932
|
claudeCodePath?: string | undefined;
|
|
10933
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10719
10934
|
glamaModelId?: string | undefined;
|
|
10720
10935
|
glamaApiKey?: string | undefined;
|
|
10721
10936
|
openRouterApiKey?: string | undefined;
|
|
@@ -10867,6 +11082,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10867
11082
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10868
11083
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10869
11084
|
allowedCommands?: string[] | undefined;
|
|
11085
|
+
deniedCommands?: string[] | undefined;
|
|
10870
11086
|
allowedMaxRequests?: number | null | undefined;
|
|
10871
11087
|
autoCondenseContext?: boolean | undefined;
|
|
10872
11088
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -11002,6 +11218,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11002
11218
|
summary: string;
|
|
11003
11219
|
}>>;
|
|
11004
11220
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
11221
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
11005
11222
|
}, "strip", z.ZodTypeAny, {
|
|
11006
11223
|
type: "ask" | "say";
|
|
11007
11224
|
ts: number;
|
|
@@ -11024,6 +11241,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11024
11241
|
summary: string;
|
|
11025
11242
|
} | undefined;
|
|
11026
11243
|
isProtected?: boolean | undefined;
|
|
11244
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11027
11245
|
}, {
|
|
11028
11246
|
type: "ask" | "say";
|
|
11029
11247
|
ts: number;
|
|
@@ -11046,6 +11264,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11046
11264
|
summary: string;
|
|
11047
11265
|
} | undefined;
|
|
11048
11266
|
isProtected?: boolean | undefined;
|
|
11267
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11049
11268
|
}>;
|
|
11050
11269
|
}, "strip", z.ZodTypeAny, {
|
|
11051
11270
|
message: {
|
|
@@ -11070,6 +11289,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11070
11289
|
summary: string;
|
|
11071
11290
|
} | undefined;
|
|
11072
11291
|
isProtected?: boolean | undefined;
|
|
11292
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11073
11293
|
};
|
|
11074
11294
|
taskId: string;
|
|
11075
11295
|
action: "created" | "updated";
|
|
@@ -11096,6 +11316,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11096
11316
|
summary: string;
|
|
11097
11317
|
} | undefined;
|
|
11098
11318
|
isProtected?: boolean | undefined;
|
|
11319
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11099
11320
|
};
|
|
11100
11321
|
taskId: string;
|
|
11101
11322
|
action: "created" | "updated";
|
|
@@ -11126,6 +11347,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11126
11347
|
summary: string;
|
|
11127
11348
|
} | undefined;
|
|
11128
11349
|
isProtected?: boolean | undefined;
|
|
11350
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11129
11351
|
};
|
|
11130
11352
|
taskId: string;
|
|
11131
11353
|
action: "created" | "updated";
|
|
@@ -11156,6 +11378,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11156
11378
|
summary: string;
|
|
11157
11379
|
} | undefined;
|
|
11158
11380
|
isProtected?: boolean | undefined;
|
|
11381
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11159
11382
|
};
|
|
11160
11383
|
taskId: string;
|
|
11161
11384
|
action: "created" | "updated";
|
|
@@ -11440,6 +11663,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11440
11663
|
summary: string;
|
|
11441
11664
|
} | undefined;
|
|
11442
11665
|
isProtected?: boolean | undefined;
|
|
11666
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11443
11667
|
};
|
|
11444
11668
|
taskId: string;
|
|
11445
11669
|
action: "created" | "updated";
|
|
@@ -11546,6 +11770,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11546
11770
|
summary: string;
|
|
11547
11771
|
} | undefined;
|
|
11548
11772
|
isProtected?: boolean | undefined;
|
|
11773
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11549
11774
|
};
|
|
11550
11775
|
taskId: string;
|
|
11551
11776
|
action: "created" | "updated";
|
|
@@ -13093,7 +13318,8 @@ declare enum TelemetryEventName {
|
|
|
13093
13318
|
SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
|
|
13094
13319
|
DIFF_APPLICATION_ERROR = "Diff Application Error",
|
|
13095
13320
|
SHELL_INTEGRATION_ERROR = "Shell Integration Error",
|
|
13096
|
-
CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error"
|
|
13321
|
+
CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error",
|
|
13322
|
+
CODE_INDEX_ERROR = "Code Index Error"
|
|
13097
13323
|
}
|
|
13098
13324
|
/**
|
|
13099
13325
|
* TelemetryProperties
|
|
@@ -13132,18 +13358,46 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
13132
13358
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13133
13359
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13134
13360
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
13361
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
13362
|
+
total: z.ZodNumber;
|
|
13363
|
+
completed: z.ZodNumber;
|
|
13364
|
+
inProgress: z.ZodNumber;
|
|
13365
|
+
pending: z.ZodNumber;
|
|
13366
|
+
}, "strip", z.ZodTypeAny, {
|
|
13367
|
+
total: number;
|
|
13368
|
+
completed: number;
|
|
13369
|
+
inProgress: number;
|
|
13370
|
+
pending: number;
|
|
13371
|
+
}, {
|
|
13372
|
+
total: number;
|
|
13373
|
+
completed: number;
|
|
13374
|
+
inProgress: number;
|
|
13375
|
+
pending: number;
|
|
13376
|
+
}>>;
|
|
13135
13377
|
}, "strip", z.ZodTypeAny, {
|
|
13136
13378
|
apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
13137
13379
|
taskId?: string | undefined;
|
|
13138
13380
|
modelId?: string | undefined;
|
|
13139
13381
|
diffStrategy?: string | undefined;
|
|
13140
13382
|
isSubtask?: boolean | undefined;
|
|
13383
|
+
todos?: {
|
|
13384
|
+
total: number;
|
|
13385
|
+
completed: number;
|
|
13386
|
+
inProgress: number;
|
|
13387
|
+
pending: number;
|
|
13388
|
+
} | undefined;
|
|
13141
13389
|
}, {
|
|
13142
13390
|
apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
13143
13391
|
taskId?: string | undefined;
|
|
13144
13392
|
modelId?: string | undefined;
|
|
13145
13393
|
diffStrategy?: string | undefined;
|
|
13146
13394
|
isSubtask?: boolean | undefined;
|
|
13395
|
+
todos?: {
|
|
13396
|
+
total: number;
|
|
13397
|
+
completed: number;
|
|
13398
|
+
inProgress: number;
|
|
13399
|
+
pending: number;
|
|
13400
|
+
} | undefined;
|
|
13147
13401
|
}>;
|
|
13148
13402
|
declare const gitPropertiesSchema: z.ZodObject<{
|
|
13149
13403
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -13167,6 +13421,22 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13167
13421
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13168
13422
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13169
13423
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
13424
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
13425
|
+
total: z.ZodNumber;
|
|
13426
|
+
completed: z.ZodNumber;
|
|
13427
|
+
inProgress: z.ZodNumber;
|
|
13428
|
+
pending: z.ZodNumber;
|
|
13429
|
+
}, "strip", z.ZodTypeAny, {
|
|
13430
|
+
total: number;
|
|
13431
|
+
completed: number;
|
|
13432
|
+
inProgress: number;
|
|
13433
|
+
pending: number;
|
|
13434
|
+
}, {
|
|
13435
|
+
total: number;
|
|
13436
|
+
completed: number;
|
|
13437
|
+
inProgress: number;
|
|
13438
|
+
pending: number;
|
|
13439
|
+
}>>;
|
|
13170
13440
|
appName: z.ZodString;
|
|
13171
13441
|
appVersion: z.ZodString;
|
|
13172
13442
|
vscodeVersion: z.ZodString;
|
|
@@ -13189,6 +13459,12 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13189
13459
|
modelId?: string | undefined;
|
|
13190
13460
|
diffStrategy?: string | undefined;
|
|
13191
13461
|
isSubtask?: boolean | undefined;
|
|
13462
|
+
todos?: {
|
|
13463
|
+
total: number;
|
|
13464
|
+
completed: number;
|
|
13465
|
+
inProgress: number;
|
|
13466
|
+
pending: number;
|
|
13467
|
+
} | undefined;
|
|
13192
13468
|
repositoryUrl?: string | undefined;
|
|
13193
13469
|
repositoryName?: string | undefined;
|
|
13194
13470
|
defaultBranch?: string | undefined;
|
|
@@ -13206,6 +13482,12 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13206
13482
|
modelId?: string | undefined;
|
|
13207
13483
|
diffStrategy?: string | undefined;
|
|
13208
13484
|
isSubtask?: boolean | undefined;
|
|
13485
|
+
todos?: {
|
|
13486
|
+
total: number;
|
|
13487
|
+
completed: number;
|
|
13488
|
+
inProgress: number;
|
|
13489
|
+
pending: number;
|
|
13490
|
+
} | undefined;
|
|
13209
13491
|
repositoryUrl?: string | undefined;
|
|
13210
13492
|
repositoryName?: string | undefined;
|
|
13211
13493
|
defaultBranch?: string | undefined;
|
|
@@ -13223,7 +13505,7 @@ type TelemetryEvent = {
|
|
|
13223
13505
|
* RooCodeTelemetryEvent
|
|
13224
13506
|
*/
|
|
13225
13507
|
declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
13226
|
-
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, 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.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
13508
|
+
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, 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.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
13227
13509
|
properties: z.ZodObject<{
|
|
13228
13510
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
13229
13511
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -13233,6 +13515,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13233
13515
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13234
13516
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13235
13517
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
13518
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
13519
|
+
total: z.ZodNumber;
|
|
13520
|
+
completed: z.ZodNumber;
|
|
13521
|
+
inProgress: z.ZodNumber;
|
|
13522
|
+
pending: z.ZodNumber;
|
|
13523
|
+
}, "strip", z.ZodTypeAny, {
|
|
13524
|
+
total: number;
|
|
13525
|
+
completed: number;
|
|
13526
|
+
inProgress: number;
|
|
13527
|
+
pending: number;
|
|
13528
|
+
}, {
|
|
13529
|
+
total: number;
|
|
13530
|
+
completed: number;
|
|
13531
|
+
inProgress: number;
|
|
13532
|
+
pending: number;
|
|
13533
|
+
}>>;
|
|
13236
13534
|
appName: z.ZodString;
|
|
13237
13535
|
appVersion: z.ZodString;
|
|
13238
13536
|
vscodeVersion: z.ZodString;
|
|
@@ -13255,6 +13553,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13255
13553
|
modelId?: string | undefined;
|
|
13256
13554
|
diffStrategy?: string | undefined;
|
|
13257
13555
|
isSubtask?: boolean | undefined;
|
|
13556
|
+
todos?: {
|
|
13557
|
+
total: number;
|
|
13558
|
+
completed: number;
|
|
13559
|
+
inProgress: number;
|
|
13560
|
+
pending: number;
|
|
13561
|
+
} | undefined;
|
|
13258
13562
|
repositoryUrl?: string | undefined;
|
|
13259
13563
|
repositoryName?: string | undefined;
|
|
13260
13564
|
defaultBranch?: string | undefined;
|
|
@@ -13272,12 +13576,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13272
13576
|
modelId?: string | undefined;
|
|
13273
13577
|
diffStrategy?: string | undefined;
|
|
13274
13578
|
isSubtask?: boolean | undefined;
|
|
13579
|
+
todos?: {
|
|
13580
|
+
total: number;
|
|
13581
|
+
completed: number;
|
|
13582
|
+
inProgress: number;
|
|
13583
|
+
pending: number;
|
|
13584
|
+
} | undefined;
|
|
13275
13585
|
repositoryUrl?: string | undefined;
|
|
13276
13586
|
repositoryName?: string | undefined;
|
|
13277
13587
|
defaultBranch?: string | undefined;
|
|
13278
13588
|
}>;
|
|
13279
13589
|
}, "strip", z.ZodTypeAny, {
|
|
13280
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
13590
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
13281
13591
|
properties: {
|
|
13282
13592
|
appName: string;
|
|
13283
13593
|
appVersion: string;
|
|
@@ -13292,12 +13602,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13292
13602
|
modelId?: string | undefined;
|
|
13293
13603
|
diffStrategy?: string | undefined;
|
|
13294
13604
|
isSubtask?: boolean | undefined;
|
|
13605
|
+
todos?: {
|
|
13606
|
+
total: number;
|
|
13607
|
+
completed: number;
|
|
13608
|
+
inProgress: number;
|
|
13609
|
+
pending: number;
|
|
13610
|
+
} | undefined;
|
|
13295
13611
|
repositoryUrl?: string | undefined;
|
|
13296
13612
|
repositoryName?: string | undefined;
|
|
13297
13613
|
defaultBranch?: string | undefined;
|
|
13298
13614
|
};
|
|
13299
13615
|
}, {
|
|
13300
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
13616
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
13301
13617
|
properties: {
|
|
13302
13618
|
appName: string;
|
|
13303
13619
|
appVersion: string;
|
|
@@ -13312,6 +13628,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13312
13628
|
modelId?: string | undefined;
|
|
13313
13629
|
diffStrategy?: string | undefined;
|
|
13314
13630
|
isSubtask?: boolean | undefined;
|
|
13631
|
+
todos?: {
|
|
13632
|
+
total: number;
|
|
13633
|
+
completed: number;
|
|
13634
|
+
inProgress: number;
|
|
13635
|
+
pending: number;
|
|
13636
|
+
} | undefined;
|
|
13315
13637
|
repositoryUrl?: string | undefined;
|
|
13316
13638
|
repositoryName?: string | undefined;
|
|
13317
13639
|
defaultBranch?: string | undefined;
|
|
@@ -13358,6 +13680,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13358
13680
|
summary: string;
|
|
13359
13681
|
}>>;
|
|
13360
13682
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
13683
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
13361
13684
|
}, "strip", z.ZodTypeAny, {
|
|
13362
13685
|
type: "ask" | "say";
|
|
13363
13686
|
ts: number;
|
|
@@ -13380,6 +13703,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13380
13703
|
summary: string;
|
|
13381
13704
|
} | undefined;
|
|
13382
13705
|
isProtected?: boolean | undefined;
|
|
13706
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13383
13707
|
}, {
|
|
13384
13708
|
type: "ask" | "say";
|
|
13385
13709
|
ts: number;
|
|
@@ -13402,6 +13726,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13402
13726
|
summary: string;
|
|
13403
13727
|
} | undefined;
|
|
13404
13728
|
isProtected?: boolean | undefined;
|
|
13729
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13405
13730
|
}>;
|
|
13406
13731
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
13407
13732
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -13410,6 +13735,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13410
13735
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13411
13736
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13412
13737
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
13738
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
13739
|
+
total: z.ZodNumber;
|
|
13740
|
+
completed: z.ZodNumber;
|
|
13741
|
+
inProgress: z.ZodNumber;
|
|
13742
|
+
pending: z.ZodNumber;
|
|
13743
|
+
}, "strip", z.ZodTypeAny, {
|
|
13744
|
+
total: number;
|
|
13745
|
+
completed: number;
|
|
13746
|
+
inProgress: number;
|
|
13747
|
+
pending: number;
|
|
13748
|
+
}, {
|
|
13749
|
+
total: number;
|
|
13750
|
+
completed: number;
|
|
13751
|
+
inProgress: number;
|
|
13752
|
+
pending: number;
|
|
13753
|
+
}>>;
|
|
13413
13754
|
appName: z.ZodString;
|
|
13414
13755
|
appVersion: z.ZodString;
|
|
13415
13756
|
vscodeVersion: z.ZodString;
|
|
@@ -13441,6 +13782,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13441
13782
|
summary: string;
|
|
13442
13783
|
} | undefined;
|
|
13443
13784
|
isProtected?: boolean | undefined;
|
|
13785
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13444
13786
|
};
|
|
13445
13787
|
appName: string;
|
|
13446
13788
|
appVersion: string;
|
|
@@ -13455,6 +13797,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13455
13797
|
modelId?: string | undefined;
|
|
13456
13798
|
diffStrategy?: string | undefined;
|
|
13457
13799
|
isSubtask?: boolean | undefined;
|
|
13800
|
+
todos?: {
|
|
13801
|
+
total: number;
|
|
13802
|
+
completed: number;
|
|
13803
|
+
inProgress: number;
|
|
13804
|
+
pending: number;
|
|
13805
|
+
} | undefined;
|
|
13458
13806
|
repositoryUrl?: string | undefined;
|
|
13459
13807
|
repositoryName?: string | undefined;
|
|
13460
13808
|
defaultBranch?: string | undefined;
|
|
@@ -13481,6 +13829,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13481
13829
|
summary: string;
|
|
13482
13830
|
} | undefined;
|
|
13483
13831
|
isProtected?: boolean | undefined;
|
|
13832
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13484
13833
|
};
|
|
13485
13834
|
appName: string;
|
|
13486
13835
|
appVersion: string;
|
|
@@ -13495,6 +13844,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13495
13844
|
modelId?: string | undefined;
|
|
13496
13845
|
diffStrategy?: string | undefined;
|
|
13497
13846
|
isSubtask?: boolean | undefined;
|
|
13847
|
+
todos?: {
|
|
13848
|
+
total: number;
|
|
13849
|
+
completed: number;
|
|
13850
|
+
inProgress: number;
|
|
13851
|
+
pending: number;
|
|
13852
|
+
} | undefined;
|
|
13498
13853
|
repositoryUrl?: string | undefined;
|
|
13499
13854
|
repositoryName?: string | undefined;
|
|
13500
13855
|
defaultBranch?: string | undefined;
|
|
@@ -13524,6 +13879,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13524
13879
|
summary: string;
|
|
13525
13880
|
} | undefined;
|
|
13526
13881
|
isProtected?: boolean | undefined;
|
|
13882
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13527
13883
|
};
|
|
13528
13884
|
appName: string;
|
|
13529
13885
|
appVersion: string;
|
|
@@ -13538,6 +13894,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13538
13894
|
modelId?: string | undefined;
|
|
13539
13895
|
diffStrategy?: string | undefined;
|
|
13540
13896
|
isSubtask?: boolean | undefined;
|
|
13897
|
+
todos?: {
|
|
13898
|
+
total: number;
|
|
13899
|
+
completed: number;
|
|
13900
|
+
inProgress: number;
|
|
13901
|
+
pending: number;
|
|
13902
|
+
} | undefined;
|
|
13541
13903
|
repositoryUrl?: string | undefined;
|
|
13542
13904
|
repositoryName?: string | undefined;
|
|
13543
13905
|
defaultBranch?: string | undefined;
|
|
@@ -13567,6 +13929,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13567
13929
|
summary: string;
|
|
13568
13930
|
} | undefined;
|
|
13569
13931
|
isProtected?: boolean | undefined;
|
|
13932
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13570
13933
|
};
|
|
13571
13934
|
appName: string;
|
|
13572
13935
|
appVersion: string;
|
|
@@ -13581,6 +13944,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13581
13944
|
modelId?: string | undefined;
|
|
13582
13945
|
diffStrategy?: string | undefined;
|
|
13583
13946
|
isSubtask?: boolean | undefined;
|
|
13947
|
+
todos?: {
|
|
13948
|
+
total: number;
|
|
13949
|
+
completed: number;
|
|
13950
|
+
inProgress: number;
|
|
13951
|
+
pending: number;
|
|
13952
|
+
} | undefined;
|
|
13584
13953
|
repositoryUrl?: string | undefined;
|
|
13585
13954
|
repositoryName?: string | undefined;
|
|
13586
13955
|
defaultBranch?: string | undefined;
|
|
@@ -13601,6 +13970,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13601
13970
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13602
13971
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13603
13972
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
13973
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
13974
|
+
total: z.ZodNumber;
|
|
13975
|
+
completed: z.ZodNumber;
|
|
13976
|
+
inProgress: z.ZodNumber;
|
|
13977
|
+
pending: z.ZodNumber;
|
|
13978
|
+
}, "strip", z.ZodTypeAny, {
|
|
13979
|
+
total: number;
|
|
13980
|
+
completed: number;
|
|
13981
|
+
inProgress: number;
|
|
13982
|
+
pending: number;
|
|
13983
|
+
}, {
|
|
13984
|
+
total: number;
|
|
13985
|
+
completed: number;
|
|
13986
|
+
inProgress: number;
|
|
13987
|
+
pending: number;
|
|
13988
|
+
}>>;
|
|
13604
13989
|
appName: z.ZodString;
|
|
13605
13990
|
appVersion: z.ZodString;
|
|
13606
13991
|
vscodeVersion: z.ZodString;
|
|
@@ -13626,6 +14011,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13626
14011
|
modelId?: string | undefined;
|
|
13627
14012
|
diffStrategy?: string | undefined;
|
|
13628
14013
|
isSubtask?: boolean | undefined;
|
|
14014
|
+
todos?: {
|
|
14015
|
+
total: number;
|
|
14016
|
+
completed: number;
|
|
14017
|
+
inProgress: number;
|
|
14018
|
+
pending: number;
|
|
14019
|
+
} | undefined;
|
|
13629
14020
|
repositoryUrl?: string | undefined;
|
|
13630
14021
|
repositoryName?: string | undefined;
|
|
13631
14022
|
defaultBranch?: string | undefined;
|
|
@@ -13648,6 +14039,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13648
14039
|
modelId?: string | undefined;
|
|
13649
14040
|
diffStrategy?: string | undefined;
|
|
13650
14041
|
isSubtask?: boolean | undefined;
|
|
14042
|
+
todos?: {
|
|
14043
|
+
total: number;
|
|
14044
|
+
completed: number;
|
|
14045
|
+
inProgress: number;
|
|
14046
|
+
pending: number;
|
|
14047
|
+
} | undefined;
|
|
13651
14048
|
repositoryUrl?: string | undefined;
|
|
13652
14049
|
repositoryName?: string | undefined;
|
|
13653
14050
|
defaultBranch?: string | undefined;
|
|
@@ -13673,6 +14070,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13673
14070
|
modelId?: string | undefined;
|
|
13674
14071
|
diffStrategy?: string | undefined;
|
|
13675
14072
|
isSubtask?: boolean | undefined;
|
|
14073
|
+
todos?: {
|
|
14074
|
+
total: number;
|
|
14075
|
+
completed: number;
|
|
14076
|
+
inProgress: number;
|
|
14077
|
+
pending: number;
|
|
14078
|
+
} | undefined;
|
|
13676
14079
|
repositoryUrl?: string | undefined;
|
|
13677
14080
|
repositoryName?: string | undefined;
|
|
13678
14081
|
defaultBranch?: string | undefined;
|
|
@@ -13698,6 +14101,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13698
14101
|
modelId?: string | undefined;
|
|
13699
14102
|
diffStrategy?: string | undefined;
|
|
13700
14103
|
isSubtask?: boolean | undefined;
|
|
14104
|
+
todos?: {
|
|
14105
|
+
total: number;
|
|
14106
|
+
completed: number;
|
|
14107
|
+
inProgress: number;
|
|
14108
|
+
pending: number;
|
|
14109
|
+
} | undefined;
|
|
13701
14110
|
repositoryUrl?: string | undefined;
|
|
13702
14111
|
repositoryName?: string | undefined;
|
|
13703
14112
|
defaultBranch?: string | undefined;
|
|
@@ -13785,6 +14194,15 @@ declare const commandExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z
|
|
|
13785
14194
|
}, {
|
|
13786
14195
|
status: "fallback";
|
|
13787
14196
|
executionId: string;
|
|
14197
|
+
}>, z.ZodObject<{
|
|
14198
|
+
executionId: z.ZodString;
|
|
14199
|
+
status: z.ZodLiteral<"timeout">;
|
|
14200
|
+
}, "strip", z.ZodTypeAny, {
|
|
14201
|
+
status: "timeout";
|
|
14202
|
+
executionId: string;
|
|
14203
|
+
}, {
|
|
14204
|
+
status: "timeout";
|
|
14205
|
+
executionId: string;
|
|
13788
14206
|
}>]>;
|
|
13789
14207
|
type CommandExecutionStatus = z.infer<typeof commandExecutionStatusSchema>;
|
|
13790
14208
|
|
|
@@ -13837,4 +14255,4 @@ declare const todoItemSchema: z.ZodObject<{
|
|
|
13837
14255
|
}>;
|
|
13838
14256
|
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
13839
14257
|
|
|
13840
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CODEBASE_INDEX_DEFAULTS, 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, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, 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 TodoItem, type TodoStatus, 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, followUpDataSchema, geminiDefaultModelId, geminiModels, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|
|
14258
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, 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, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, 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 TodoItem, type TodoStatus, 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, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|