@roo-code/types 1.32.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 +41 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +324 -9
- package/dist/index.d.ts +324 -9
- package/dist/index.js +38 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -653,9 +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;
|
|
658
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;
|
|
659
682
|
declare const claudeCodeModels: {
|
|
660
683
|
readonly "claude-sonnet-4-20250514": {
|
|
661
684
|
readonly supportsImages: false;
|
|
@@ -1151,11 +1174,11 @@ declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet";
|
|
|
1151
1174
|
declare const glamaDefaultModelInfo: ModelInfo;
|
|
1152
1175
|
declare const GLAMA_DEFAULT_TEMPERATURE = 0;
|
|
1153
1176
|
|
|
1154
|
-
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";
|
|
1155
1178
|
declare const groqDefaultModelId: GroqModelId;
|
|
1156
1179
|
declare const groqModels: {
|
|
1157
1180
|
readonly "llama-3.1-8b-instant": {
|
|
1158
|
-
readonly maxTokens:
|
|
1181
|
+
readonly maxTokens: 8192;
|
|
1159
1182
|
readonly contextWindow: 131072;
|
|
1160
1183
|
readonly supportsImages: false;
|
|
1161
1184
|
readonly supportsPromptCache: false;
|
|
@@ -1164,7 +1187,7 @@ declare const groqModels: {
|
|
|
1164
1187
|
readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
|
|
1165
1188
|
};
|
|
1166
1189
|
readonly "llama-3.3-70b-versatile": {
|
|
1167
|
-
readonly maxTokens:
|
|
1190
|
+
readonly maxTokens: 8192;
|
|
1168
1191
|
readonly contextWindow: 131072;
|
|
1169
1192
|
readonly supportsImages: false;
|
|
1170
1193
|
readonly supportsPromptCache: false;
|
|
@@ -1191,7 +1214,7 @@ declare const groqModels: {
|
|
|
1191
1214
|
readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
|
|
1192
1215
|
};
|
|
1193
1216
|
readonly "mistral-saba-24b": {
|
|
1194
|
-
readonly maxTokens:
|
|
1217
|
+
readonly maxTokens: 8192;
|
|
1195
1218
|
readonly contextWindow: 32768;
|
|
1196
1219
|
readonly supportsImages: false;
|
|
1197
1220
|
readonly supportsPromptCache: false;
|
|
@@ -1200,7 +1223,7 @@ declare const groqModels: {
|
|
|
1200
1223
|
readonly description: "Mistral Saba 24B model, 32K context.";
|
|
1201
1224
|
};
|
|
1202
1225
|
readonly "qwen-qwq-32b": {
|
|
1203
|
-
readonly maxTokens:
|
|
1226
|
+
readonly maxTokens: 8192;
|
|
1204
1227
|
readonly contextWindow: 131072;
|
|
1205
1228
|
readonly supportsImages: false;
|
|
1206
1229
|
readonly supportsPromptCache: false;
|
|
@@ -1209,7 +1232,7 @@ declare const groqModels: {
|
|
|
1209
1232
|
readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
|
|
1210
1233
|
};
|
|
1211
1234
|
readonly "qwen/qwen3-32b": {
|
|
1212
|
-
readonly maxTokens:
|
|
1235
|
+
readonly maxTokens: 8192;
|
|
1213
1236
|
readonly contextWindow: 131072;
|
|
1214
1237
|
readonly supportsImages: false;
|
|
1215
1238
|
readonly supportsPromptCache: false;
|
|
@@ -1218,7 +1241,7 @@ declare const groqModels: {
|
|
|
1218
1241
|
readonly description: "Alibaba Qwen 3 32B model, 128K context.";
|
|
1219
1242
|
};
|
|
1220
1243
|
readonly "deepseek-r1-distill-llama-70b": {
|
|
1221
|
-
readonly maxTokens:
|
|
1244
|
+
readonly maxTokens: 8192;
|
|
1222
1245
|
readonly contextWindow: 131072;
|
|
1223
1246
|
readonly supportsImages: false;
|
|
1224
1247
|
readonly supportsPromptCache: false;
|
|
@@ -1226,6 +1249,15 @@ declare const groqModels: {
|
|
|
1226
1249
|
readonly outputPrice: 0.99;
|
|
1227
1250
|
readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
|
|
1228
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
|
+
};
|
|
1229
1261
|
};
|
|
1230
1262
|
|
|
1231
1263
|
declare const litellmDefaultModelId = "claude-3-7-sonnet-20250219";
|
|
@@ -2047,12 +2079,20 @@ declare const providerSettingsEntrySchema: z.ZodObject<{
|
|
|
2047
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;
|
|
2048
2080
|
}>;
|
|
2049
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;
|
|
2050
2089
|
declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
|
|
2051
2090
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2052
2091
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2053
2092
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2054
2093
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2055
2094
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2056
2096
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2057
2097
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2058
2098
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2073,6 +2113,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2073
2113
|
fuzzyMatchThreshold?: number | undefined;
|
|
2074
2114
|
modelTemperature?: number | null | undefined;
|
|
2075
2115
|
rateLimitSeconds?: number | undefined;
|
|
2116
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2076
2117
|
enableReasoningEffort?: boolean | undefined;
|
|
2077
2118
|
modelMaxTokens?: number | undefined;
|
|
2078
2119
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2088,6 +2129,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2088
2129
|
fuzzyMatchThreshold?: number | undefined;
|
|
2089
2130
|
modelTemperature?: number | null | undefined;
|
|
2090
2131
|
rateLimitSeconds?: number | undefined;
|
|
2132
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2091
2133
|
enableReasoningEffort?: boolean | undefined;
|
|
2092
2134
|
modelMaxTokens?: number | undefined;
|
|
2093
2135
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2101,6 +2143,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2101
2143
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2102
2144
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2103
2145
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2146
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2104
2147
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2105
2148
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2106
2149
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2120,6 +2163,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2120
2163
|
fuzzyMatchThreshold?: number | undefined;
|
|
2121
2164
|
modelTemperature?: number | null | undefined;
|
|
2122
2165
|
rateLimitSeconds?: number | undefined;
|
|
2166
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2123
2167
|
enableReasoningEffort?: boolean | undefined;
|
|
2124
2168
|
modelMaxTokens?: number | undefined;
|
|
2125
2169
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2134,6 +2178,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2134
2178
|
fuzzyMatchThreshold?: number | undefined;
|
|
2135
2179
|
modelTemperature?: number | null | undefined;
|
|
2136
2180
|
rateLimitSeconds?: number | undefined;
|
|
2181
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2137
2182
|
enableReasoningEffort?: boolean | undefined;
|
|
2138
2183
|
modelMaxTokens?: number | undefined;
|
|
2139
2184
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2146,6 +2191,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2146
2191
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2147
2192
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2148
2193
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2149
2195
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2150
2196
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2151
2197
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2163,6 +2209,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2163
2209
|
fuzzyMatchThreshold?: number | undefined;
|
|
2164
2210
|
modelTemperature?: number | null | undefined;
|
|
2165
2211
|
rateLimitSeconds?: number | undefined;
|
|
2212
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2166
2213
|
enableReasoningEffort?: boolean | undefined;
|
|
2167
2214
|
modelMaxTokens?: number | undefined;
|
|
2168
2215
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2176,6 +2223,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2176
2223
|
fuzzyMatchThreshold?: number | undefined;
|
|
2177
2224
|
modelTemperature?: number | null | undefined;
|
|
2178
2225
|
rateLimitSeconds?: number | undefined;
|
|
2226
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2179
2227
|
enableReasoningEffort?: boolean | undefined;
|
|
2180
2228
|
modelMaxTokens?: number | undefined;
|
|
2181
2229
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2187,6 +2235,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2187
2235
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2188
2236
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2189
2237
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2238
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2190
2239
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2191
2240
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2192
2241
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2207,6 +2256,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2207
2256
|
fuzzyMatchThreshold?: number | undefined;
|
|
2208
2257
|
modelTemperature?: number | null | undefined;
|
|
2209
2258
|
rateLimitSeconds?: number | undefined;
|
|
2259
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2210
2260
|
enableReasoningEffort?: boolean | undefined;
|
|
2211
2261
|
modelMaxTokens?: number | undefined;
|
|
2212
2262
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2223,6 +2273,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2223
2273
|
fuzzyMatchThreshold?: number | undefined;
|
|
2224
2274
|
modelTemperature?: number | null | undefined;
|
|
2225
2275
|
rateLimitSeconds?: number | undefined;
|
|
2276
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2226
2277
|
enableReasoningEffort?: boolean | undefined;
|
|
2227
2278
|
modelMaxTokens?: number | undefined;
|
|
2228
2279
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2237,6 +2288,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2237
2288
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2238
2289
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2239
2290
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2291
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2240
2292
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2241
2293
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2242
2294
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2266,6 +2318,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2266
2318
|
fuzzyMatchThreshold?: number | undefined;
|
|
2267
2319
|
modelTemperature?: number | null | undefined;
|
|
2268
2320
|
rateLimitSeconds?: number | undefined;
|
|
2321
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2269
2322
|
enableReasoningEffort?: boolean | undefined;
|
|
2270
2323
|
modelMaxTokens?: number | undefined;
|
|
2271
2324
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2290,6 +2343,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2290
2343
|
fuzzyMatchThreshold?: number | undefined;
|
|
2291
2344
|
modelTemperature?: number | null | undefined;
|
|
2292
2345
|
rateLimitSeconds?: number | undefined;
|
|
2346
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2293
2347
|
enableReasoningEffort?: boolean | undefined;
|
|
2294
2348
|
modelMaxTokens?: number | undefined;
|
|
2295
2349
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2312,6 +2366,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2312
2366
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2313
2367
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2314
2368
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2315
2370
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2316
2371
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2317
2372
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2333,6 +2388,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2333
2388
|
fuzzyMatchThreshold?: number | undefined;
|
|
2334
2389
|
modelTemperature?: number | null | undefined;
|
|
2335
2390
|
rateLimitSeconds?: number | undefined;
|
|
2391
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2336
2392
|
enableReasoningEffort?: boolean | undefined;
|
|
2337
2393
|
modelMaxTokens?: number | undefined;
|
|
2338
2394
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2349,6 +2405,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2349
2405
|
fuzzyMatchThreshold?: number | undefined;
|
|
2350
2406
|
modelTemperature?: number | null | undefined;
|
|
2351
2407
|
rateLimitSeconds?: number | undefined;
|
|
2408
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2352
2409
|
enableReasoningEffort?: boolean | undefined;
|
|
2353
2410
|
modelMaxTokens?: number | undefined;
|
|
2354
2411
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2363,6 +2420,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2363
2420
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2364
2421
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2365
2422
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2366
2424
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2367
2425
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2368
2426
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2482,6 +2540,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2482
2540
|
fuzzyMatchThreshold?: number | undefined;
|
|
2483
2541
|
modelTemperature?: number | null | undefined;
|
|
2484
2542
|
rateLimitSeconds?: number | undefined;
|
|
2543
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2485
2544
|
enableReasoningEffort?: boolean | undefined;
|
|
2486
2545
|
modelMaxTokens?: number | undefined;
|
|
2487
2546
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2531,6 +2590,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2531
2590
|
fuzzyMatchThreshold?: number | undefined;
|
|
2532
2591
|
modelTemperature?: number | null | undefined;
|
|
2533
2592
|
rateLimitSeconds?: number | undefined;
|
|
2593
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2534
2594
|
enableReasoningEffort?: boolean | undefined;
|
|
2535
2595
|
modelMaxTokens?: number | undefined;
|
|
2536
2596
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2578,6 +2638,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2578
2638
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2579
2639
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2580
2640
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2641
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2581
2642
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2582
2643
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2583
2644
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2595,6 +2656,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2595
2656
|
fuzzyMatchThreshold?: number | undefined;
|
|
2596
2657
|
modelTemperature?: number | null | undefined;
|
|
2597
2658
|
rateLimitSeconds?: number | undefined;
|
|
2659
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2598
2660
|
enableReasoningEffort?: boolean | undefined;
|
|
2599
2661
|
modelMaxTokens?: number | undefined;
|
|
2600
2662
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2608,6 +2670,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2608
2670
|
fuzzyMatchThreshold?: number | undefined;
|
|
2609
2671
|
modelTemperature?: number | null | undefined;
|
|
2610
2672
|
rateLimitSeconds?: number | undefined;
|
|
2673
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2611
2674
|
enableReasoningEffort?: boolean | undefined;
|
|
2612
2675
|
modelMaxTokens?: number | undefined;
|
|
2613
2676
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2619,6 +2682,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2619
2682
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2620
2683
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2621
2684
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2685
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2622
2686
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2623
2687
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2624
2688
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2650,6 +2714,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2650
2714
|
fuzzyMatchThreshold?: number | undefined;
|
|
2651
2715
|
modelTemperature?: number | null | undefined;
|
|
2652
2716
|
rateLimitSeconds?: number | undefined;
|
|
2717
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2653
2718
|
enableReasoningEffort?: boolean | undefined;
|
|
2654
2719
|
modelMaxTokens?: number | undefined;
|
|
2655
2720
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2667,6 +2732,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2667
2732
|
fuzzyMatchThreshold?: number | undefined;
|
|
2668
2733
|
modelTemperature?: number | null | undefined;
|
|
2669
2734
|
rateLimitSeconds?: number | undefined;
|
|
2735
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2670
2736
|
enableReasoningEffort?: boolean | undefined;
|
|
2671
2737
|
modelMaxTokens?: number | undefined;
|
|
2672
2738
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2682,6 +2748,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2682
2748
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2683
2749
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2684
2750
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2751
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2685
2752
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2686
2753
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2687
2754
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2701,6 +2768,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2701
2768
|
fuzzyMatchThreshold?: number | undefined;
|
|
2702
2769
|
modelTemperature?: number | null | undefined;
|
|
2703
2770
|
rateLimitSeconds?: number | undefined;
|
|
2771
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2704
2772
|
enableReasoningEffort?: boolean | undefined;
|
|
2705
2773
|
modelMaxTokens?: number | undefined;
|
|
2706
2774
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2716,6 +2784,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2716
2784
|
fuzzyMatchThreshold?: number | undefined;
|
|
2717
2785
|
modelTemperature?: number | null | undefined;
|
|
2718
2786
|
rateLimitSeconds?: number | undefined;
|
|
2787
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2719
2788
|
enableReasoningEffort?: boolean | undefined;
|
|
2720
2789
|
modelMaxTokens?: number | undefined;
|
|
2721
2790
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2729,6 +2798,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2729
2798
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2730
2799
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2731
2800
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2801
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2732
2802
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2733
2803
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2734
2804
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2748,6 +2818,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2748
2818
|
fuzzyMatchThreshold?: number | undefined;
|
|
2749
2819
|
modelTemperature?: number | null | undefined;
|
|
2750
2820
|
rateLimitSeconds?: number | undefined;
|
|
2821
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2751
2822
|
enableReasoningEffort?: boolean | undefined;
|
|
2752
2823
|
modelMaxTokens?: number | undefined;
|
|
2753
2824
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2762,6 +2833,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2762
2833
|
fuzzyMatchThreshold?: number | undefined;
|
|
2763
2834
|
modelTemperature?: number | null | undefined;
|
|
2764
2835
|
rateLimitSeconds?: number | undefined;
|
|
2836
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2765
2837
|
enableReasoningEffort?: boolean | undefined;
|
|
2766
2838
|
modelMaxTokens?: number | undefined;
|
|
2767
2839
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2774,6 +2846,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2774
2846
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2775
2847
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2776
2848
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2849
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2777
2850
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2778
2851
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2779
2852
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2793,6 +2866,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2793
2866
|
fuzzyMatchThreshold?: number | undefined;
|
|
2794
2867
|
modelTemperature?: number | null | undefined;
|
|
2795
2868
|
rateLimitSeconds?: number | undefined;
|
|
2869
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2796
2870
|
enableReasoningEffort?: boolean | undefined;
|
|
2797
2871
|
modelMaxTokens?: number | undefined;
|
|
2798
2872
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2807,6 +2881,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2807
2881
|
fuzzyMatchThreshold?: number | undefined;
|
|
2808
2882
|
modelTemperature?: number | null | undefined;
|
|
2809
2883
|
rateLimitSeconds?: number | undefined;
|
|
2884
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2810
2885
|
enableReasoningEffort?: boolean | undefined;
|
|
2811
2886
|
modelMaxTokens?: number | undefined;
|
|
2812
2887
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2819,6 +2894,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2819
2894
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2820
2895
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2821
2896
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2897
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2822
2898
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2823
2899
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2824
2900
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2838,6 +2914,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2838
2914
|
fuzzyMatchThreshold?: number | undefined;
|
|
2839
2915
|
modelTemperature?: number | null | undefined;
|
|
2840
2916
|
rateLimitSeconds?: number | undefined;
|
|
2917
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2841
2918
|
enableReasoningEffort?: boolean | undefined;
|
|
2842
2919
|
modelMaxTokens?: number | undefined;
|
|
2843
2920
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2852,6 +2929,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2852
2929
|
fuzzyMatchThreshold?: number | undefined;
|
|
2853
2930
|
modelTemperature?: number | null | undefined;
|
|
2854
2931
|
rateLimitSeconds?: number | undefined;
|
|
2932
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2855
2933
|
enableReasoningEffort?: boolean | undefined;
|
|
2856
2934
|
modelMaxTokens?: number | undefined;
|
|
2857
2935
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2864,6 +2942,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2864
2942
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2865
2943
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2866
2944
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2945
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2867
2946
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2868
2947
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2869
2948
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2883,6 +2962,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2883
2962
|
fuzzyMatchThreshold?: number | undefined;
|
|
2884
2963
|
modelTemperature?: number | null | undefined;
|
|
2885
2964
|
rateLimitSeconds?: number | undefined;
|
|
2965
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2886
2966
|
enableReasoningEffort?: boolean | undefined;
|
|
2887
2967
|
modelMaxTokens?: number | undefined;
|
|
2888
2968
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2897,6 +2977,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2897
2977
|
fuzzyMatchThreshold?: number | undefined;
|
|
2898
2978
|
modelTemperature?: number | null | undefined;
|
|
2899
2979
|
rateLimitSeconds?: number | undefined;
|
|
2980
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2900
2981
|
enableReasoningEffort?: boolean | undefined;
|
|
2901
2982
|
modelMaxTokens?: number | undefined;
|
|
2902
2983
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2909,6 +2990,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2909
2990
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2910
2991
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2911
2992
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2993
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2912
2994
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2913
2995
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2914
2996
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2928,6 +3010,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2928
3010
|
fuzzyMatchThreshold?: number | undefined;
|
|
2929
3011
|
modelTemperature?: number | null | undefined;
|
|
2930
3012
|
rateLimitSeconds?: number | undefined;
|
|
3013
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2931
3014
|
enableReasoningEffort?: boolean | undefined;
|
|
2932
3015
|
modelMaxTokens?: number | undefined;
|
|
2933
3016
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2942,6 +3025,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2942
3025
|
fuzzyMatchThreshold?: number | undefined;
|
|
2943
3026
|
modelTemperature?: number | null | undefined;
|
|
2944
3027
|
rateLimitSeconds?: number | undefined;
|
|
3028
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2945
3029
|
enableReasoningEffort?: boolean | undefined;
|
|
2946
3030
|
modelMaxTokens?: number | undefined;
|
|
2947
3031
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2954,6 +3038,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2954
3038
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2955
3039
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2956
3040
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3041
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2957
3042
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2958
3043
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
2959
3044
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2971,6 +3056,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2971
3056
|
fuzzyMatchThreshold?: number | undefined;
|
|
2972
3057
|
modelTemperature?: number | null | undefined;
|
|
2973
3058
|
rateLimitSeconds?: number | undefined;
|
|
3059
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2974
3060
|
enableReasoningEffort?: boolean | undefined;
|
|
2975
3061
|
modelMaxTokens?: number | undefined;
|
|
2976
3062
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2984,6 +3070,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2984
3070
|
fuzzyMatchThreshold?: number | undefined;
|
|
2985
3071
|
modelTemperature?: number | null | undefined;
|
|
2986
3072
|
rateLimitSeconds?: number | undefined;
|
|
3073
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
2987
3074
|
enableReasoningEffort?: boolean | undefined;
|
|
2988
3075
|
modelMaxTokens?: number | undefined;
|
|
2989
3076
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -2995,6 +3082,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2995
3082
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2996
3083
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2997
3084
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3085
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
2998
3086
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2999
3087
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3000
3088
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3012,6 +3100,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3012
3100
|
fuzzyMatchThreshold?: number | undefined;
|
|
3013
3101
|
modelTemperature?: number | null | undefined;
|
|
3014
3102
|
rateLimitSeconds?: number | undefined;
|
|
3103
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3015
3104
|
enableReasoningEffort?: boolean | undefined;
|
|
3016
3105
|
modelMaxTokens?: number | undefined;
|
|
3017
3106
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3025,6 +3114,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3025
3114
|
fuzzyMatchThreshold?: number | undefined;
|
|
3026
3115
|
modelTemperature?: number | null | undefined;
|
|
3027
3116
|
rateLimitSeconds?: number | undefined;
|
|
3117
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3028
3118
|
enableReasoningEffort?: boolean | undefined;
|
|
3029
3119
|
modelMaxTokens?: number | undefined;
|
|
3030
3120
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3036,6 +3126,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3036
3126
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3037
3127
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3038
3128
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3129
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3039
3130
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3040
3131
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3041
3132
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3050,6 +3141,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3050
3141
|
fuzzyMatchThreshold?: number | undefined;
|
|
3051
3142
|
modelTemperature?: number | null | undefined;
|
|
3052
3143
|
rateLimitSeconds?: number | undefined;
|
|
3144
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3053
3145
|
enableReasoningEffort?: boolean | undefined;
|
|
3054
3146
|
modelMaxTokens?: number | undefined;
|
|
3055
3147
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3061,6 +3153,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3061
3153
|
fuzzyMatchThreshold?: number | undefined;
|
|
3062
3154
|
modelTemperature?: number | null | undefined;
|
|
3063
3155
|
rateLimitSeconds?: number | undefined;
|
|
3156
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3064
3157
|
enableReasoningEffort?: boolean | undefined;
|
|
3065
3158
|
modelMaxTokens?: number | undefined;
|
|
3066
3159
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3070,6 +3163,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3070
3163
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3071
3164
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3072
3165
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3166
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3073
3167
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3074
3168
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3075
3169
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3086,6 +3180,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3086
3180
|
fuzzyMatchThreshold?: number | undefined;
|
|
3087
3181
|
modelTemperature?: number | null | undefined;
|
|
3088
3182
|
rateLimitSeconds?: number | undefined;
|
|
3183
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3089
3184
|
enableReasoningEffort?: boolean | undefined;
|
|
3090
3185
|
modelMaxTokens?: number | undefined;
|
|
3091
3186
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3098,6 +3193,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3098
3193
|
fuzzyMatchThreshold?: number | undefined;
|
|
3099
3194
|
modelTemperature?: number | null | undefined;
|
|
3100
3195
|
rateLimitSeconds?: number | undefined;
|
|
3196
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3101
3197
|
enableReasoningEffort?: boolean | undefined;
|
|
3102
3198
|
modelMaxTokens?: number | undefined;
|
|
3103
3199
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3108,6 +3204,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3108
3204
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3109
3205
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3110
3206
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3207
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3111
3208
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3112
3209
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3113
3210
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3126,6 +3223,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3126
3223
|
fuzzyMatchThreshold?: number | undefined;
|
|
3127
3224
|
modelTemperature?: number | null | undefined;
|
|
3128
3225
|
rateLimitSeconds?: number | undefined;
|
|
3226
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3129
3227
|
enableReasoningEffort?: boolean | undefined;
|
|
3130
3228
|
modelMaxTokens?: number | undefined;
|
|
3131
3229
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3139,6 +3237,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3139
3237
|
fuzzyMatchThreshold?: number | undefined;
|
|
3140
3238
|
modelTemperature?: number | null | undefined;
|
|
3141
3239
|
rateLimitSeconds?: number | undefined;
|
|
3240
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3142
3241
|
enableReasoningEffort?: boolean | undefined;
|
|
3143
3242
|
modelMaxTokens?: number | undefined;
|
|
3144
3243
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3150,6 +3249,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3150
3249
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3151
3250
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3152
3251
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3252
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3153
3253
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3154
3254
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3155
3255
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3168,6 +3268,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3168
3268
|
fuzzyMatchThreshold?: number | undefined;
|
|
3169
3269
|
modelTemperature?: number | null | undefined;
|
|
3170
3270
|
rateLimitSeconds?: number | undefined;
|
|
3271
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3171
3272
|
enableReasoningEffort?: boolean | undefined;
|
|
3172
3273
|
modelMaxTokens?: number | undefined;
|
|
3173
3274
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3181,6 +3282,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3181
3282
|
fuzzyMatchThreshold?: number | undefined;
|
|
3182
3283
|
modelTemperature?: number | null | undefined;
|
|
3183
3284
|
rateLimitSeconds?: number | undefined;
|
|
3285
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3184
3286
|
enableReasoningEffort?: boolean | undefined;
|
|
3185
3287
|
modelMaxTokens?: number | undefined;
|
|
3186
3288
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3192,6 +3294,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3192
3294
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3193
3295
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3194
3296
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3297
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3195
3298
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3196
3299
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3197
3300
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3210,6 +3313,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3210
3313
|
fuzzyMatchThreshold?: number | undefined;
|
|
3211
3314
|
modelTemperature?: number | null | undefined;
|
|
3212
3315
|
rateLimitSeconds?: number | undefined;
|
|
3316
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3213
3317
|
enableReasoningEffort?: boolean | undefined;
|
|
3214
3318
|
modelMaxTokens?: number | undefined;
|
|
3215
3319
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3223,6 +3327,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3223
3327
|
fuzzyMatchThreshold?: number | undefined;
|
|
3224
3328
|
modelTemperature?: number | null | undefined;
|
|
3225
3329
|
rateLimitSeconds?: number | undefined;
|
|
3330
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3226
3331
|
enableReasoningEffort?: boolean | undefined;
|
|
3227
3332
|
modelMaxTokens?: number | undefined;
|
|
3228
3333
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3234,6 +3339,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3234
3339
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3235
3340
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3236
3341
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3342
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3237
3343
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3238
3344
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3239
3345
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3252,6 +3358,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3252
3358
|
fuzzyMatchThreshold?: number | undefined;
|
|
3253
3359
|
modelTemperature?: number | null | undefined;
|
|
3254
3360
|
rateLimitSeconds?: number | undefined;
|
|
3361
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3255
3362
|
enableReasoningEffort?: boolean | undefined;
|
|
3256
3363
|
modelMaxTokens?: number | undefined;
|
|
3257
3364
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3266,6 +3373,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3266
3373
|
fuzzyMatchThreshold?: number | undefined;
|
|
3267
3374
|
modelTemperature?: number | null | undefined;
|
|
3268
3375
|
rateLimitSeconds?: number | undefined;
|
|
3376
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3269
3377
|
enableReasoningEffort?: boolean | undefined;
|
|
3270
3378
|
modelMaxTokens?: number | undefined;
|
|
3271
3379
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3291,6 +3399,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3291
3399
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3292
3400
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3293
3401
|
rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3402
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
3294
3403
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
3295
3404
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3296
3405
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3486,6 +3595,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3486
3595
|
fuzzyMatchThreshold?: number | undefined;
|
|
3487
3596
|
modelTemperature?: number | null | undefined;
|
|
3488
3597
|
rateLimitSeconds?: number | undefined;
|
|
3598
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3489
3599
|
enableReasoningEffort?: boolean | undefined;
|
|
3490
3600
|
modelMaxTokens?: number | undefined;
|
|
3491
3601
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3603,6 +3713,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3603
3713
|
fuzzyMatchThreshold?: number | undefined;
|
|
3604
3714
|
modelTemperature?: number | null | undefined;
|
|
3605
3715
|
rateLimitSeconds?: number | undefined;
|
|
3716
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
3606
3717
|
enableReasoningEffort?: boolean | undefined;
|
|
3607
3718
|
modelMaxTokens?: number | undefined;
|
|
3608
3719
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -3708,7 +3819,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3708
3819
|
litellmModelId?: string | undefined;
|
|
3709
3820
|
}>;
|
|
3710
3821
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3711
|
-
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", "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"];
|
|
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"];
|
|
3712
3823
|
declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
|
|
3713
3824
|
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
3714
3825
|
declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
|
|
@@ -4294,6 +4405,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4294
4405
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
4295
4406
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
4296
4407
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4408
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
4297
4409
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
4298
4410
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
4299
4411
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4775,6 +4887,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4775
4887
|
fuzzyMatchThreshold?: number | undefined;
|
|
4776
4888
|
modelTemperature?: number | null | undefined;
|
|
4777
4889
|
rateLimitSeconds?: number | undefined;
|
|
4890
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
4778
4891
|
enableReasoningEffort?: boolean | undefined;
|
|
4779
4892
|
modelMaxTokens?: number | undefined;
|
|
4780
4893
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -5026,6 +5139,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5026
5139
|
fuzzyMatchThreshold?: number | undefined;
|
|
5027
5140
|
modelTemperature?: number | null | undefined;
|
|
5028
5141
|
rateLimitSeconds?: number | undefined;
|
|
5142
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
5029
5143
|
enableReasoningEffort?: boolean | undefined;
|
|
5030
5144
|
modelMaxTokens?: number | undefined;
|
|
5031
5145
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -5927,6 +6041,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5927
6041
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
5928
6042
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5929
6043
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6044
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
5930
6045
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
5931
6046
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
5932
6047
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6408,6 +6523,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6408
6523
|
fuzzyMatchThreshold?: number | undefined;
|
|
6409
6524
|
modelTemperature?: number | null | undefined;
|
|
6410
6525
|
rateLimitSeconds?: number | undefined;
|
|
6526
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6411
6527
|
enableReasoningEffort?: boolean | undefined;
|
|
6412
6528
|
modelMaxTokens?: number | undefined;
|
|
6413
6529
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -6659,6 +6775,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6659
6775
|
fuzzyMatchThreshold?: number | undefined;
|
|
6660
6776
|
modelTemperature?: number | null | undefined;
|
|
6661
6777
|
rateLimitSeconds?: number | undefined;
|
|
6778
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6662
6779
|
enableReasoningEffort?: boolean | undefined;
|
|
6663
6780
|
modelMaxTokens?: number | undefined;
|
|
6664
6781
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -6916,6 +7033,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6916
7033
|
fuzzyMatchThreshold?: number | undefined;
|
|
6917
7034
|
modelTemperature?: number | null | undefined;
|
|
6918
7035
|
rateLimitSeconds?: number | undefined;
|
|
7036
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
6919
7037
|
enableReasoningEffort?: boolean | undefined;
|
|
6920
7038
|
modelMaxTokens?: number | undefined;
|
|
6921
7039
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7172,6 +7290,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7172
7290
|
fuzzyMatchThreshold?: number | undefined;
|
|
7173
7291
|
modelTemperature?: number | null | undefined;
|
|
7174
7292
|
rateLimitSeconds?: number | undefined;
|
|
7293
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7175
7294
|
enableReasoningEffort?: boolean | undefined;
|
|
7176
7295
|
modelMaxTokens?: number | undefined;
|
|
7177
7296
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7431,6 +7550,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7431
7550
|
fuzzyMatchThreshold?: number | undefined;
|
|
7432
7551
|
modelTemperature?: number | null | undefined;
|
|
7433
7552
|
rateLimitSeconds?: number | undefined;
|
|
7553
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7434
7554
|
enableReasoningEffort?: boolean | undefined;
|
|
7435
7555
|
modelMaxTokens?: number | undefined;
|
|
7436
7556
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -7690,6 +7810,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7690
7810
|
fuzzyMatchThreshold?: number | undefined;
|
|
7691
7811
|
modelTemperature?: number | null | undefined;
|
|
7692
7812
|
rateLimitSeconds?: number | undefined;
|
|
7813
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
7693
7814
|
enableReasoningEffort?: boolean | undefined;
|
|
7694
7815
|
modelMaxTokens?: number | undefined;
|
|
7695
7816
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -8478,6 +8599,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8478
8599
|
codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
|
|
8479
8600
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
8480
8601
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8602
|
+
consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
|
|
8481
8603
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
8482
8604
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
8483
8605
|
modelMaxTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8959,6 +9081,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8959
9081
|
fuzzyMatchThreshold?: number | undefined;
|
|
8960
9082
|
modelTemperature?: number | null | undefined;
|
|
8961
9083
|
rateLimitSeconds?: number | undefined;
|
|
9084
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
8962
9085
|
enableReasoningEffort?: boolean | undefined;
|
|
8963
9086
|
modelMaxTokens?: number | undefined;
|
|
8964
9087
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9210,6 +9333,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9210
9333
|
fuzzyMatchThreshold?: number | undefined;
|
|
9211
9334
|
modelTemperature?: number | null | undefined;
|
|
9212
9335
|
rateLimitSeconds?: number | undefined;
|
|
9336
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9213
9337
|
enableReasoningEffort?: boolean | undefined;
|
|
9214
9338
|
modelMaxTokens?: number | undefined;
|
|
9215
9339
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9467,6 +9591,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9467
9591
|
fuzzyMatchThreshold?: number | undefined;
|
|
9468
9592
|
modelTemperature?: number | null | undefined;
|
|
9469
9593
|
rateLimitSeconds?: number | undefined;
|
|
9594
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9470
9595
|
enableReasoningEffort?: boolean | undefined;
|
|
9471
9596
|
modelMaxTokens?: number | undefined;
|
|
9472
9597
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9723,6 +9848,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9723
9848
|
fuzzyMatchThreshold?: number | undefined;
|
|
9724
9849
|
modelTemperature?: number | null | undefined;
|
|
9725
9850
|
rateLimitSeconds?: number | undefined;
|
|
9851
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9726
9852
|
enableReasoningEffort?: boolean | undefined;
|
|
9727
9853
|
modelMaxTokens?: number | undefined;
|
|
9728
9854
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -9982,6 +10108,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9982
10108
|
fuzzyMatchThreshold?: number | undefined;
|
|
9983
10109
|
modelTemperature?: number | null | undefined;
|
|
9984
10110
|
rateLimitSeconds?: number | undefined;
|
|
10111
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
9985
10112
|
enableReasoningEffort?: boolean | undefined;
|
|
9986
10113
|
modelMaxTokens?: number | undefined;
|
|
9987
10114
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10241,6 +10368,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10241
10368
|
fuzzyMatchThreshold?: number | undefined;
|
|
10242
10369
|
modelTemperature?: number | null | undefined;
|
|
10243
10370
|
rateLimitSeconds?: number | undefined;
|
|
10371
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10244
10372
|
enableReasoningEffort?: boolean | undefined;
|
|
10245
10373
|
modelMaxTokens?: number | undefined;
|
|
10246
10374
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10522,6 +10650,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10522
10650
|
fuzzyMatchThreshold?: number | undefined;
|
|
10523
10651
|
modelTemperature?: number | null | undefined;
|
|
10524
10652
|
rateLimitSeconds?: number | undefined;
|
|
10653
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10525
10654
|
enableReasoningEffort?: boolean | undefined;
|
|
10526
10655
|
modelMaxTokens?: number | undefined;
|
|
10527
10656
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -10792,6 +10921,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10792
10921
|
fuzzyMatchThreshold?: number | undefined;
|
|
10793
10922
|
modelTemperature?: number | null | undefined;
|
|
10794
10923
|
rateLimitSeconds?: number | undefined;
|
|
10924
|
+
consecutiveMistakeLimit?: number | undefined;
|
|
10795
10925
|
enableReasoningEffort?: boolean | undefined;
|
|
10796
10926
|
modelMaxTokens?: number | undefined;
|
|
10797
10927
|
modelMaxThinkingTokens?: number | undefined;
|
|
@@ -13228,18 +13358,46 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
13228
13358
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13229
13359
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13230
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
|
+
}>>;
|
|
13231
13377
|
}, "strip", z.ZodTypeAny, {
|
|
13232
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;
|
|
13233
13379
|
taskId?: string | undefined;
|
|
13234
13380
|
modelId?: string | undefined;
|
|
13235
13381
|
diffStrategy?: string | undefined;
|
|
13236
13382
|
isSubtask?: boolean | undefined;
|
|
13383
|
+
todos?: {
|
|
13384
|
+
total: number;
|
|
13385
|
+
completed: number;
|
|
13386
|
+
inProgress: number;
|
|
13387
|
+
pending: number;
|
|
13388
|
+
} | undefined;
|
|
13237
13389
|
}, {
|
|
13238
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;
|
|
13239
13391
|
taskId?: string | undefined;
|
|
13240
13392
|
modelId?: string | undefined;
|
|
13241
13393
|
diffStrategy?: string | undefined;
|
|
13242
13394
|
isSubtask?: boolean | undefined;
|
|
13395
|
+
todos?: {
|
|
13396
|
+
total: number;
|
|
13397
|
+
completed: number;
|
|
13398
|
+
inProgress: number;
|
|
13399
|
+
pending: number;
|
|
13400
|
+
} | undefined;
|
|
13243
13401
|
}>;
|
|
13244
13402
|
declare const gitPropertiesSchema: z.ZodObject<{
|
|
13245
13403
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -13263,6 +13421,22 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13263
13421
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13264
13422
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13265
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
|
+
}>>;
|
|
13266
13440
|
appName: z.ZodString;
|
|
13267
13441
|
appVersion: z.ZodString;
|
|
13268
13442
|
vscodeVersion: z.ZodString;
|
|
@@ -13285,6 +13459,12 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13285
13459
|
modelId?: string | undefined;
|
|
13286
13460
|
diffStrategy?: string | undefined;
|
|
13287
13461
|
isSubtask?: boolean | undefined;
|
|
13462
|
+
todos?: {
|
|
13463
|
+
total: number;
|
|
13464
|
+
completed: number;
|
|
13465
|
+
inProgress: number;
|
|
13466
|
+
pending: number;
|
|
13467
|
+
} | undefined;
|
|
13288
13468
|
repositoryUrl?: string | undefined;
|
|
13289
13469
|
repositoryName?: string | undefined;
|
|
13290
13470
|
defaultBranch?: string | undefined;
|
|
@@ -13302,6 +13482,12 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
13302
13482
|
modelId?: string | undefined;
|
|
13303
13483
|
diffStrategy?: string | undefined;
|
|
13304
13484
|
isSubtask?: boolean | undefined;
|
|
13485
|
+
todos?: {
|
|
13486
|
+
total: number;
|
|
13487
|
+
completed: number;
|
|
13488
|
+
inProgress: number;
|
|
13489
|
+
pending: number;
|
|
13490
|
+
} | undefined;
|
|
13305
13491
|
repositoryUrl?: string | undefined;
|
|
13306
13492
|
repositoryName?: string | undefined;
|
|
13307
13493
|
defaultBranch?: string | undefined;
|
|
@@ -13329,6 +13515,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13329
13515
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13330
13516
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13331
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
|
+
}>>;
|
|
13332
13534
|
appName: z.ZodString;
|
|
13333
13535
|
appVersion: z.ZodString;
|
|
13334
13536
|
vscodeVersion: z.ZodString;
|
|
@@ -13351,6 +13553,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13351
13553
|
modelId?: string | undefined;
|
|
13352
13554
|
diffStrategy?: string | undefined;
|
|
13353
13555
|
isSubtask?: boolean | undefined;
|
|
13556
|
+
todos?: {
|
|
13557
|
+
total: number;
|
|
13558
|
+
completed: number;
|
|
13559
|
+
inProgress: number;
|
|
13560
|
+
pending: number;
|
|
13561
|
+
} | undefined;
|
|
13354
13562
|
repositoryUrl?: string | undefined;
|
|
13355
13563
|
repositoryName?: string | undefined;
|
|
13356
13564
|
defaultBranch?: string | undefined;
|
|
@@ -13368,6 +13576,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13368
13576
|
modelId?: string | undefined;
|
|
13369
13577
|
diffStrategy?: string | undefined;
|
|
13370
13578
|
isSubtask?: boolean | undefined;
|
|
13579
|
+
todos?: {
|
|
13580
|
+
total: number;
|
|
13581
|
+
completed: number;
|
|
13582
|
+
inProgress: number;
|
|
13583
|
+
pending: number;
|
|
13584
|
+
} | undefined;
|
|
13371
13585
|
repositoryUrl?: string | undefined;
|
|
13372
13586
|
repositoryName?: string | undefined;
|
|
13373
13587
|
defaultBranch?: string | undefined;
|
|
@@ -13388,6 +13602,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13388
13602
|
modelId?: string | undefined;
|
|
13389
13603
|
diffStrategy?: string | undefined;
|
|
13390
13604
|
isSubtask?: boolean | undefined;
|
|
13605
|
+
todos?: {
|
|
13606
|
+
total: number;
|
|
13607
|
+
completed: number;
|
|
13608
|
+
inProgress: number;
|
|
13609
|
+
pending: number;
|
|
13610
|
+
} | undefined;
|
|
13391
13611
|
repositoryUrl?: string | undefined;
|
|
13392
13612
|
repositoryName?: string | undefined;
|
|
13393
13613
|
defaultBranch?: string | undefined;
|
|
@@ -13408,6 +13628,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13408
13628
|
modelId?: string | undefined;
|
|
13409
13629
|
diffStrategy?: string | undefined;
|
|
13410
13630
|
isSubtask?: boolean | undefined;
|
|
13631
|
+
todos?: {
|
|
13632
|
+
total: number;
|
|
13633
|
+
completed: number;
|
|
13634
|
+
inProgress: number;
|
|
13635
|
+
pending: number;
|
|
13636
|
+
} | undefined;
|
|
13411
13637
|
repositoryUrl?: string | undefined;
|
|
13412
13638
|
repositoryName?: string | undefined;
|
|
13413
13639
|
defaultBranch?: string | undefined;
|
|
@@ -13509,6 +13735,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13509
13735
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13510
13736
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13511
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
|
+
}>>;
|
|
13512
13754
|
appName: z.ZodString;
|
|
13513
13755
|
appVersion: z.ZodString;
|
|
13514
13756
|
vscodeVersion: z.ZodString;
|
|
@@ -13555,6 +13797,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13555
13797
|
modelId?: string | undefined;
|
|
13556
13798
|
diffStrategy?: string | undefined;
|
|
13557
13799
|
isSubtask?: boolean | undefined;
|
|
13800
|
+
todos?: {
|
|
13801
|
+
total: number;
|
|
13802
|
+
completed: number;
|
|
13803
|
+
inProgress: number;
|
|
13804
|
+
pending: number;
|
|
13805
|
+
} | undefined;
|
|
13558
13806
|
repositoryUrl?: string | undefined;
|
|
13559
13807
|
repositoryName?: string | undefined;
|
|
13560
13808
|
defaultBranch?: string | undefined;
|
|
@@ -13596,6 +13844,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13596
13844
|
modelId?: string | undefined;
|
|
13597
13845
|
diffStrategy?: string | undefined;
|
|
13598
13846
|
isSubtask?: boolean | undefined;
|
|
13847
|
+
todos?: {
|
|
13848
|
+
total: number;
|
|
13849
|
+
completed: number;
|
|
13850
|
+
inProgress: number;
|
|
13851
|
+
pending: number;
|
|
13852
|
+
} | undefined;
|
|
13599
13853
|
repositoryUrl?: string | undefined;
|
|
13600
13854
|
repositoryName?: string | undefined;
|
|
13601
13855
|
defaultBranch?: string | undefined;
|
|
@@ -13640,6 +13894,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13640
13894
|
modelId?: string | undefined;
|
|
13641
13895
|
diffStrategy?: string | undefined;
|
|
13642
13896
|
isSubtask?: boolean | undefined;
|
|
13897
|
+
todos?: {
|
|
13898
|
+
total: number;
|
|
13899
|
+
completed: number;
|
|
13900
|
+
inProgress: number;
|
|
13901
|
+
pending: number;
|
|
13902
|
+
} | undefined;
|
|
13643
13903
|
repositoryUrl?: string | undefined;
|
|
13644
13904
|
repositoryName?: string | undefined;
|
|
13645
13905
|
defaultBranch?: string | undefined;
|
|
@@ -13684,6 +13944,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13684
13944
|
modelId?: string | undefined;
|
|
13685
13945
|
diffStrategy?: string | undefined;
|
|
13686
13946
|
isSubtask?: boolean | undefined;
|
|
13947
|
+
todos?: {
|
|
13948
|
+
total: number;
|
|
13949
|
+
completed: number;
|
|
13950
|
+
inProgress: number;
|
|
13951
|
+
pending: number;
|
|
13952
|
+
} | undefined;
|
|
13687
13953
|
repositoryUrl?: string | undefined;
|
|
13688
13954
|
repositoryName?: string | undefined;
|
|
13689
13955
|
defaultBranch?: string | undefined;
|
|
@@ -13704,6 +13970,22 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13704
13970
|
modelId: z.ZodOptional<z.ZodString>;
|
|
13705
13971
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
13706
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
|
+
}>>;
|
|
13707
13989
|
appName: z.ZodString;
|
|
13708
13990
|
appVersion: z.ZodString;
|
|
13709
13991
|
vscodeVersion: z.ZodString;
|
|
@@ -13729,6 +14011,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13729
14011
|
modelId?: string | undefined;
|
|
13730
14012
|
diffStrategy?: string | undefined;
|
|
13731
14013
|
isSubtask?: boolean | undefined;
|
|
14014
|
+
todos?: {
|
|
14015
|
+
total: number;
|
|
14016
|
+
completed: number;
|
|
14017
|
+
inProgress: number;
|
|
14018
|
+
pending: number;
|
|
14019
|
+
} | undefined;
|
|
13732
14020
|
repositoryUrl?: string | undefined;
|
|
13733
14021
|
repositoryName?: string | undefined;
|
|
13734
14022
|
defaultBranch?: string | undefined;
|
|
@@ -13751,6 +14039,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13751
14039
|
modelId?: string | undefined;
|
|
13752
14040
|
diffStrategy?: string | undefined;
|
|
13753
14041
|
isSubtask?: boolean | undefined;
|
|
14042
|
+
todos?: {
|
|
14043
|
+
total: number;
|
|
14044
|
+
completed: number;
|
|
14045
|
+
inProgress: number;
|
|
14046
|
+
pending: number;
|
|
14047
|
+
} | undefined;
|
|
13754
14048
|
repositoryUrl?: string | undefined;
|
|
13755
14049
|
repositoryName?: string | undefined;
|
|
13756
14050
|
defaultBranch?: string | undefined;
|
|
@@ -13776,6 +14070,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13776
14070
|
modelId?: string | undefined;
|
|
13777
14071
|
diffStrategy?: string | undefined;
|
|
13778
14072
|
isSubtask?: boolean | undefined;
|
|
14073
|
+
todos?: {
|
|
14074
|
+
total: number;
|
|
14075
|
+
completed: number;
|
|
14076
|
+
inProgress: number;
|
|
14077
|
+
pending: number;
|
|
14078
|
+
} | undefined;
|
|
13779
14079
|
repositoryUrl?: string | undefined;
|
|
13780
14080
|
repositoryName?: string | undefined;
|
|
13781
14081
|
defaultBranch?: string | undefined;
|
|
@@ -13801,6 +14101,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13801
14101
|
modelId?: string | undefined;
|
|
13802
14102
|
diffStrategy?: string | undefined;
|
|
13803
14103
|
isSubtask?: boolean | undefined;
|
|
14104
|
+
todos?: {
|
|
14105
|
+
total: number;
|
|
14106
|
+
completed: number;
|
|
14107
|
+
inProgress: number;
|
|
14108
|
+
pending: number;
|
|
14109
|
+
} | undefined;
|
|
13804
14110
|
repositoryUrl?: string | undefined;
|
|
13805
14111
|
repositoryName?: string | undefined;
|
|
13806
14112
|
defaultBranch?: string | undefined;
|
|
@@ -13888,6 +14194,15 @@ declare const commandExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z
|
|
|
13888
14194
|
}, {
|
|
13889
14195
|
status: "fallback";
|
|
13890
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;
|
|
13891
14206
|
}>]>;
|
|
13892
14207
|
type CommandExecutionStatus = z.infer<typeof commandExecutionStatusSchema>;
|
|
13893
14208
|
|
|
@@ -13940,4 +14255,4 @@ declare const todoItemSchema: z.ZodObject<{
|
|
|
13940
14255
|
}>;
|
|
13941
14256
|
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
13942
14257
|
|
|
13943
|
-
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, 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, getApiProtocol, 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 };
|