@roo-code/types 1.30.0 → 1.32.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 +126 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +655 -218
- package/dist/index.d.ts +655 -218
- package/dist/index.js +120 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,11 +21,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ANTHROPIC_DEFAULT_MAX_TOKENS: () => ANTHROPIC_DEFAULT_MAX_TOKENS,
|
|
24
|
+
ANTHROPIC_STYLE_PROVIDERS: () => ANTHROPIC_STYLE_PROVIDERS,
|
|
24
25
|
AWS_INFERENCE_PROFILE_MAPPING: () => AWS_INFERENCE_PROFILE_MAPPING,
|
|
25
26
|
BEDROCK_DEFAULT_CONTEXT: () => BEDROCK_DEFAULT_CONTEXT,
|
|
26
27
|
BEDROCK_DEFAULT_TEMPERATURE: () => BEDROCK_DEFAULT_TEMPERATURE,
|
|
27
28
|
BEDROCK_MAX_TOKENS: () => BEDROCK_MAX_TOKENS,
|
|
28
29
|
BEDROCK_REGIONS: () => BEDROCK_REGIONS,
|
|
30
|
+
CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS: () => CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS,
|
|
31
|
+
CODEBASE_INDEX_DEFAULTS: () => CODEBASE_INDEX_DEFAULTS,
|
|
29
32
|
DEEP_SEEK_DEFAULT_TEMPERATURE: () => DEEP_SEEK_DEFAULT_TEMPERATURE,
|
|
30
33
|
EVALS_SETTINGS: () => EVALS_SETTINGS,
|
|
31
34
|
EVALS_TIMEOUT: () => EVALS_TIMEOUT,
|
|
@@ -88,6 +91,7 @@ __export(index_exports, {
|
|
|
88
91
|
followUpDataSchema: () => followUpDataSchema,
|
|
89
92
|
geminiDefaultModelId: () => geminiDefaultModelId,
|
|
90
93
|
geminiModels: () => geminiModels,
|
|
94
|
+
getApiProtocol: () => getApiProtocol,
|
|
91
95
|
getModelId: () => getModelId,
|
|
92
96
|
gitPropertiesSchema: () => gitPropertiesSchema,
|
|
93
97
|
glamaDefaultModelId: () => glamaDefaultModelId,
|
|
@@ -157,6 +161,8 @@ __export(index_exports, {
|
|
|
157
161
|
telemetrySettings: () => telemetrySettings,
|
|
158
162
|
telemetrySettingsSchema: () => telemetrySettingsSchema,
|
|
159
163
|
terminalActionIds: () => terminalActionIds,
|
|
164
|
+
todoItemSchema: () => todoItemSchema,
|
|
165
|
+
todoStatusSchema: () => todoStatusSchema,
|
|
160
166
|
tokenUsageSchema: () => tokenUsageSchema,
|
|
161
167
|
toolGroups: () => toolGroups,
|
|
162
168
|
toolGroupsSchema: () => toolGroupsSchema,
|
|
@@ -897,6 +903,7 @@ var chutesModels = {
|
|
|
897
903
|
|
|
898
904
|
// src/providers/claude-code.ts
|
|
899
905
|
var claudeCodeDefaultModelId = "claude-sonnet-4-20250514";
|
|
906
|
+
var CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8e3;
|
|
900
907
|
var claudeCodeModels = {
|
|
901
908
|
"claude-sonnet-4-20250514": {
|
|
902
909
|
...anthropicModels["claude-sonnet-4-20250514"],
|
|
@@ -1446,6 +1453,14 @@ var mistralModels = {
|
|
|
1446
1453
|
inputPrice: 2,
|
|
1447
1454
|
outputPrice: 5
|
|
1448
1455
|
},
|
|
1456
|
+
"devstral-medium-latest": {
|
|
1457
|
+
maxTokens: 131e3,
|
|
1458
|
+
contextWindow: 131e3,
|
|
1459
|
+
supportsImages: true,
|
|
1460
|
+
supportsPromptCache: false,
|
|
1461
|
+
inputPrice: 0.4,
|
|
1462
|
+
outputPrice: 2
|
|
1463
|
+
},
|
|
1449
1464
|
"mistral-medium-latest": {
|
|
1450
1465
|
maxTokens: 131e3,
|
|
1451
1466
|
contextWindow: 131e3,
|
|
@@ -2085,11 +2100,37 @@ var vertexModels = {
|
|
|
2085
2100
|
};
|
|
2086
2101
|
var VERTEX_REGIONS = [
|
|
2087
2102
|
{ value: "global", label: "global" },
|
|
2088
|
-
{ value: "us-east5", label: "us-east5" },
|
|
2089
2103
|
{ value: "us-central1", label: "us-central1" },
|
|
2104
|
+
{ value: "us-east1", label: "us-east1" },
|
|
2105
|
+
{ value: "us-east4", label: "us-east4" },
|
|
2106
|
+
{ value: "us-east5", label: "us-east5" },
|
|
2107
|
+
{ value: "us-west1", label: "us-west1" },
|
|
2108
|
+
{ value: "us-west2", label: "us-west2" },
|
|
2109
|
+
{ value: "us-west3", label: "us-west3" },
|
|
2110
|
+
{ value: "us-west4", label: "us-west4" },
|
|
2111
|
+
{ value: "northamerica-northeast1", label: "northamerica-northeast1" },
|
|
2112
|
+
{ value: "northamerica-northeast2", label: "northamerica-northeast2" },
|
|
2113
|
+
{ value: "southamerica-east1", label: "southamerica-east1" },
|
|
2090
2114
|
{ value: "europe-west1", label: "europe-west1" },
|
|
2115
|
+
{ value: "europe-west2", label: "europe-west2" },
|
|
2116
|
+
{ value: "europe-west3", label: "europe-west3" },
|
|
2091
2117
|
{ value: "europe-west4", label: "europe-west4" },
|
|
2092
|
-
{ value: "
|
|
2118
|
+
{ value: "europe-west6", label: "europe-west6" },
|
|
2119
|
+
{ value: "europe-central2", label: "europe-central2" },
|
|
2120
|
+
{ value: "asia-east1", label: "asia-east1" },
|
|
2121
|
+
{ value: "asia-east2", label: "asia-east2" },
|
|
2122
|
+
{ value: "asia-northeast1", label: "asia-northeast1" },
|
|
2123
|
+
{ value: "asia-northeast2", label: "asia-northeast2" },
|
|
2124
|
+
{ value: "asia-northeast3", label: "asia-northeast3" },
|
|
2125
|
+
{ value: "asia-south1", label: "asia-south1" },
|
|
2126
|
+
{ value: "asia-south2", label: "asia-south2" },
|
|
2127
|
+
{ value: "asia-southeast1", label: "asia-southeast1" },
|
|
2128
|
+
{ value: "asia-southeast2", label: "asia-southeast2" },
|
|
2129
|
+
{ value: "australia-southeast1", label: "australia-southeast1" },
|
|
2130
|
+
{ value: "australia-southeast2", label: "australia-southeast2" },
|
|
2131
|
+
{ value: "me-west1", label: "me-west1" },
|
|
2132
|
+
{ value: "me-central1", label: "me-central1" },
|
|
2133
|
+
{ value: "africa-south1", label: "africa-south1" }
|
|
2093
2134
|
];
|
|
2094
2135
|
|
|
2095
2136
|
// src/providers/vscode-llm.ts
|
|
@@ -2242,25 +2283,18 @@ var vscodeLlmModels = {
|
|
|
2242
2283
|
};
|
|
2243
2284
|
|
|
2244
2285
|
// src/providers/xai.ts
|
|
2245
|
-
var xaiDefaultModelId = "grok-
|
|
2286
|
+
var xaiDefaultModelId = "grok-4";
|
|
2246
2287
|
var xaiModels = {
|
|
2247
|
-
"grok-
|
|
2248
|
-
maxTokens: 8192,
|
|
2249
|
-
contextWindow: 131072,
|
|
2250
|
-
supportsImages: false,
|
|
2251
|
-
supportsPromptCache: false,
|
|
2252
|
-
inputPrice: 2,
|
|
2253
|
-
outputPrice: 10,
|
|
2254
|
-
description: "xAI's Grok-2 model (version 1212) with 128K context window"
|
|
2255
|
-
},
|
|
2256
|
-
"grok-2-vision-1212": {
|
|
2288
|
+
"grok-4": {
|
|
2257
2289
|
maxTokens: 8192,
|
|
2258
|
-
contextWindow:
|
|
2290
|
+
contextWindow: 256e3,
|
|
2259
2291
|
supportsImages: true,
|
|
2260
|
-
supportsPromptCache:
|
|
2261
|
-
inputPrice:
|
|
2262
|
-
outputPrice:
|
|
2263
|
-
|
|
2292
|
+
supportsPromptCache: true,
|
|
2293
|
+
inputPrice: 3,
|
|
2294
|
+
outputPrice: 15,
|
|
2295
|
+
cacheWritesPrice: 0.75,
|
|
2296
|
+
cacheReadsPrice: 0.75,
|
|
2297
|
+
description: "xAI's Grok-4 model with 256K context window"
|
|
2264
2298
|
},
|
|
2265
2299
|
"grok-3": {
|
|
2266
2300
|
maxTokens: 8192,
|
|
@@ -2307,30 +2341,65 @@ var xaiModels = {
|
|
|
2307
2341
|
cacheReadsPrice: 0.15,
|
|
2308
2342
|
description: "xAI's Grok-3 mini fast model with 128K context window",
|
|
2309
2343
|
supportsReasoningEffort: true
|
|
2344
|
+
},
|
|
2345
|
+
"grok-2-1212": {
|
|
2346
|
+
maxTokens: 8192,
|
|
2347
|
+
contextWindow: 131072,
|
|
2348
|
+
supportsImages: false,
|
|
2349
|
+
supportsPromptCache: false,
|
|
2350
|
+
inputPrice: 2,
|
|
2351
|
+
outputPrice: 10,
|
|
2352
|
+
description: "xAI's Grok-2 model (version 1212) with 128K context window"
|
|
2353
|
+
},
|
|
2354
|
+
"grok-2-vision-1212": {
|
|
2355
|
+
maxTokens: 8192,
|
|
2356
|
+
contextWindow: 32768,
|
|
2357
|
+
supportsImages: true,
|
|
2358
|
+
supportsPromptCache: false,
|
|
2359
|
+
inputPrice: 2,
|
|
2360
|
+
outputPrice: 10,
|
|
2361
|
+
description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window"
|
|
2310
2362
|
}
|
|
2311
2363
|
};
|
|
2312
2364
|
|
|
2313
2365
|
// src/codebase-index.ts
|
|
2314
2366
|
var import_zod = require("zod");
|
|
2367
|
+
var CODEBASE_INDEX_DEFAULTS = {
|
|
2368
|
+
MIN_SEARCH_RESULTS: 10,
|
|
2369
|
+
MAX_SEARCH_RESULTS: 200,
|
|
2370
|
+
DEFAULT_SEARCH_RESULTS: 50,
|
|
2371
|
+
SEARCH_RESULTS_STEP: 10,
|
|
2372
|
+
MIN_SEARCH_SCORE: 0,
|
|
2373
|
+
MAX_SEARCH_SCORE: 1,
|
|
2374
|
+
DEFAULT_SEARCH_MIN_SCORE: 0.4,
|
|
2375
|
+
SEARCH_SCORE_STEP: 0.05
|
|
2376
|
+
};
|
|
2315
2377
|
var codebaseIndexConfigSchema = import_zod.z.object({
|
|
2316
2378
|
codebaseIndexEnabled: import_zod.z.boolean().optional(),
|
|
2317
2379
|
codebaseIndexQdrantUrl: import_zod.z.string().optional(),
|
|
2318
|
-
codebaseIndexEmbedderProvider: import_zod.z.enum(["openai", "ollama", "openai-compatible"]).optional(),
|
|
2380
|
+
codebaseIndexEmbedderProvider: import_zod.z.enum(["openai", "ollama", "openai-compatible", "gemini"]).optional(),
|
|
2319
2381
|
codebaseIndexEmbedderBaseUrl: import_zod.z.string().optional(),
|
|
2320
2382
|
codebaseIndexEmbedderModelId: import_zod.z.string().optional(),
|
|
2321
|
-
|
|
2383
|
+
codebaseIndexEmbedderModelDimension: import_zod.z.number().optional(),
|
|
2384
|
+
codebaseIndexSearchMinScore: import_zod.z.number().min(0).max(1).optional(),
|
|
2385
|
+
codebaseIndexSearchMaxResults: import_zod.z.number().min(CODEBASE_INDEX_DEFAULTS.MIN_SEARCH_RESULTS).max(CODEBASE_INDEX_DEFAULTS.MAX_SEARCH_RESULTS).optional(),
|
|
2386
|
+
// OpenAI Compatible specific fields
|
|
2387
|
+
codebaseIndexOpenAiCompatibleBaseUrl: import_zod.z.string().optional(),
|
|
2388
|
+
codebaseIndexOpenAiCompatibleModelDimension: import_zod.z.number().optional()
|
|
2322
2389
|
});
|
|
2323
2390
|
var codebaseIndexModelsSchema = import_zod.z.object({
|
|
2324
2391
|
openai: import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional(),
|
|
2325
2392
|
ollama: import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional(),
|
|
2326
|
-
"openai-compatible": import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional()
|
|
2393
|
+
"openai-compatible": import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional(),
|
|
2394
|
+
gemini: import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional()
|
|
2327
2395
|
});
|
|
2328
2396
|
var codebaseIndexProviderSchema = import_zod.z.object({
|
|
2329
2397
|
codeIndexOpenAiKey: import_zod.z.string().optional(),
|
|
2330
2398
|
codeIndexQdrantApiKey: import_zod.z.string().optional(),
|
|
2331
2399
|
codebaseIndexOpenAiCompatibleBaseUrl: import_zod.z.string().optional(),
|
|
2332
2400
|
codebaseIndexOpenAiCompatibleApiKey: import_zod.z.string().optional(),
|
|
2333
|
-
codebaseIndexOpenAiCompatibleModelDimension: import_zod.z.number().optional()
|
|
2401
|
+
codebaseIndexOpenAiCompatibleModelDimension: import_zod.z.number().optional(),
|
|
2402
|
+
codebaseIndexGeminiApiKey: import_zod.z.string().optional()
|
|
2334
2403
|
});
|
|
2335
2404
|
|
|
2336
2405
|
// src/cloud.ts
|
|
@@ -2433,7 +2502,8 @@ var anthropicSchema = apiModelIdProviderModelSchema.extend({
|
|
|
2433
2502
|
anthropicUseAuthToken: import_zod3.z.boolean().optional()
|
|
2434
2503
|
});
|
|
2435
2504
|
var claudeCodeSchema = apiModelIdProviderModelSchema.extend({
|
|
2436
|
-
claudeCodePath: import_zod3.z.string().optional()
|
|
2505
|
+
claudeCodePath: import_zod3.z.string().optional(),
|
|
2506
|
+
claudeCodeMaxOutputTokens: import_zod3.z.number().int().min(1).max(2e5).optional()
|
|
2437
2507
|
});
|
|
2438
2508
|
var glamaSchema = baseProviderSettingsSchema.extend({
|
|
2439
2509
|
glamaModelId: import_zod3.z.string().optional(),
|
|
@@ -2617,6 +2687,10 @@ var getModelId = (settings) => {
|
|
|
2617
2687
|
const modelIdKey = MODEL_ID_KEYS.find((key) => settings[key]);
|
|
2618
2688
|
return modelIdKey ? settings[modelIdKey] : void 0;
|
|
2619
2689
|
};
|
|
2690
|
+
var ANTHROPIC_STYLE_PROVIDERS = ["anthropic", "claude-code"];
|
|
2691
|
+
var getApiProtocol = (provider) => {
|
|
2692
|
+
return provider && ANTHROPIC_STYLE_PROVIDERS.includes(provider) ? "anthropic" : "openai";
|
|
2693
|
+
};
|
|
2620
2694
|
|
|
2621
2695
|
// src/history.ts
|
|
2622
2696
|
var import_zod4 = require("zod");
|
|
@@ -2687,7 +2761,8 @@ var clineSays = [
|
|
|
2687
2761
|
"diff_error",
|
|
2688
2762
|
"condense_context",
|
|
2689
2763
|
"condense_context_error",
|
|
2690
|
-
"codebase_search_result"
|
|
2764
|
+
"codebase_search_result",
|
|
2765
|
+
"user_edit_todos"
|
|
2691
2766
|
];
|
|
2692
2767
|
var clineSaySchema = import_zod6.z.enum(clineSays);
|
|
2693
2768
|
var toolProgressStatusSchema = import_zod6.z.object({
|
|
@@ -2713,7 +2788,8 @@ var clineMessageSchema = import_zod6.z.object({
|
|
|
2713
2788
|
checkpoint: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown()).optional(),
|
|
2714
2789
|
progressStatus: toolProgressStatusSchema.optional(),
|
|
2715
2790
|
contextCondense: contextCondenseSchema.optional(),
|
|
2716
|
-
isProtected: import_zod6.z.boolean().optional()
|
|
2791
|
+
isProtected: import_zod6.z.boolean().optional(),
|
|
2792
|
+
apiProtocol: import_zod6.z.union([import_zod6.z.literal("openai"), import_zod6.z.literal("anthropic")]).optional()
|
|
2717
2793
|
});
|
|
2718
2794
|
var tokenUsageSchema = import_zod6.z.object({
|
|
2719
2795
|
totalTokensIn: import_zod6.z.number(),
|
|
@@ -2765,6 +2841,7 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
|
|
|
2765
2841
|
TelemetryEventName2["DIFF_APPLICATION_ERROR"] = "Diff Application Error";
|
|
2766
2842
|
TelemetryEventName2["SHELL_INTEGRATION_ERROR"] = "Shell Integration Error";
|
|
2767
2843
|
TelemetryEventName2["CONSECUTIVE_MISTAKE_ERROR"] = "Consecutive Mistake Error";
|
|
2844
|
+
TelemetryEventName2["CODE_INDEX_ERROR"] = "Code Index Error";
|
|
2768
2845
|
return TelemetryEventName2;
|
|
2769
2846
|
})(TelemetryEventName || {});
|
|
2770
2847
|
var appPropertiesSchema = import_zod7.z.object({
|
|
@@ -2827,6 +2904,7 @@ var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
|
|
|
2827
2904
|
"Diff Application Error" /* DIFF_APPLICATION_ERROR */,
|
|
2828
2905
|
"Shell Integration Error" /* SHELL_INTEGRATION_ERROR */,
|
|
2829
2906
|
"Consecutive Mistake Error" /* CONSECUTIVE_MISTAKE_ERROR */,
|
|
2907
|
+
"Code Index Error" /* CODE_INDEX_ERROR */,
|
|
2830
2908
|
"Context Condensed" /* CONTEXT_CONDENSED */,
|
|
2831
2909
|
"Sliding Window Truncation" /* SLIDING_WINDOW_TRUNCATION */,
|
|
2832
2910
|
"Tab Shown" /* TAB_SHOWN */,
|
|
@@ -2881,7 +2959,8 @@ var toolNames = [
|
|
|
2881
2959
|
"switch_mode",
|
|
2882
2960
|
"new_task",
|
|
2883
2961
|
"fetch_instructions",
|
|
2884
|
-
"codebase_search"
|
|
2962
|
+
"codebase_search",
|
|
2963
|
+
"update_todo_list"
|
|
2885
2964
|
];
|
|
2886
2965
|
var toolNamesSchema = import_zod8.z.enum(toolNames);
|
|
2887
2966
|
var toolUsageSchema = import_zod8.z.record(
|
|
@@ -3036,7 +3115,9 @@ var globalSettingsSchema = import_zod11.z.object({
|
|
|
3036
3115
|
alwaysAllowExecute: import_zod11.z.boolean().optional(),
|
|
3037
3116
|
alwaysAllowFollowupQuestions: import_zod11.z.boolean().optional(),
|
|
3038
3117
|
followupAutoApproveTimeoutMs: import_zod11.z.number().optional(),
|
|
3118
|
+
alwaysAllowUpdateTodoList: import_zod11.z.boolean().optional(),
|
|
3039
3119
|
allowedCommands: import_zod11.z.array(import_zod11.z.string()).optional(),
|
|
3120
|
+
deniedCommands: import_zod11.z.array(import_zod11.z.string()).optional(),
|
|
3040
3121
|
allowedMaxRequests: import_zod11.z.number().nullish(),
|
|
3041
3122
|
autoCondenseContext: import_zod11.z.boolean().optional(),
|
|
3042
3123
|
autoCondenseContextPercent: import_zod11.z.number().optional(),
|
|
@@ -3110,7 +3191,8 @@ var SECRET_STATE_KEYS = [
|
|
|
3110
3191
|
"litellmApiKey",
|
|
3111
3192
|
"codeIndexOpenAiKey",
|
|
3112
3193
|
"codeIndexQdrantApiKey",
|
|
3113
|
-
"codebaseIndexOpenAiCompatibleApiKey"
|
|
3194
|
+
"codebaseIndexOpenAiCompatibleApiKey",
|
|
3195
|
+
"codebaseIndexGeminiApiKey"
|
|
3114
3196
|
];
|
|
3115
3197
|
var isSecretStateKey = (key) => SECRET_STATE_KEYS.includes(key);
|
|
3116
3198
|
var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].filter(
|
|
@@ -3120,7 +3202,7 @@ var isGlobalStateKey = (key) => GLOBAL_STATE_KEYS.includes(key);
|
|
|
3120
3202
|
var EVALS_SETTINGS = {
|
|
3121
3203
|
apiProvider: "openrouter",
|
|
3122
3204
|
openRouterUseMiddleOutTransform: false,
|
|
3123
|
-
lastShownAnnouncementId: "
|
|
3205
|
+
lastShownAnnouncementId: "jul-09-2025-3-23-0",
|
|
3124
3206
|
pinnedApiConfigs: {},
|
|
3125
3207
|
autoApprovalEnabled: true,
|
|
3126
3208
|
alwaysAllowReadOnly: true,
|
|
@@ -3137,6 +3219,7 @@ var EVALS_SETTINGS = {
|
|
|
3137
3219
|
alwaysAllowSubtasks: true,
|
|
3138
3220
|
alwaysAllowExecute: true,
|
|
3139
3221
|
alwaysAllowFollowupQuestions: true,
|
|
3222
|
+
alwaysAllowUpdateTodoList: true,
|
|
3140
3223
|
followupAutoApproveTimeoutMs: 0,
|
|
3141
3224
|
allowedCommands: ["*"],
|
|
3142
3225
|
browserToolEnabled: false,
|
|
@@ -3528,14 +3611,26 @@ var commandExecutionStatusSchema = import_zod17.z.discriminatedUnion("status", [
|
|
|
3528
3611
|
status: import_zod17.z.literal("fallback")
|
|
3529
3612
|
})
|
|
3530
3613
|
]);
|
|
3614
|
+
|
|
3615
|
+
// src/todo.ts
|
|
3616
|
+
var import_zod18 = require("zod");
|
|
3617
|
+
var todoStatusSchema = import_zod18.z.enum(["pending", "in_progress", "completed"]);
|
|
3618
|
+
var todoItemSchema = import_zod18.z.object({
|
|
3619
|
+
id: import_zod18.z.string(),
|
|
3620
|
+
content: import_zod18.z.string(),
|
|
3621
|
+
status: todoStatusSchema
|
|
3622
|
+
});
|
|
3531
3623
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3532
3624
|
0 && (module.exports = {
|
|
3533
3625
|
ANTHROPIC_DEFAULT_MAX_TOKENS,
|
|
3626
|
+
ANTHROPIC_STYLE_PROVIDERS,
|
|
3534
3627
|
AWS_INFERENCE_PROFILE_MAPPING,
|
|
3535
3628
|
BEDROCK_DEFAULT_CONTEXT,
|
|
3536
3629
|
BEDROCK_DEFAULT_TEMPERATURE,
|
|
3537
3630
|
BEDROCK_MAX_TOKENS,
|
|
3538
3631
|
BEDROCK_REGIONS,
|
|
3632
|
+
CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS,
|
|
3633
|
+
CODEBASE_INDEX_DEFAULTS,
|
|
3539
3634
|
DEEP_SEEK_DEFAULT_TEMPERATURE,
|
|
3540
3635
|
EVALS_SETTINGS,
|
|
3541
3636
|
EVALS_TIMEOUT,
|
|
@@ -3598,6 +3693,7 @@ var commandExecutionStatusSchema = import_zod17.z.discriminatedUnion("status", [
|
|
|
3598
3693
|
followUpDataSchema,
|
|
3599
3694
|
geminiDefaultModelId,
|
|
3600
3695
|
geminiModels,
|
|
3696
|
+
getApiProtocol,
|
|
3601
3697
|
getModelId,
|
|
3602
3698
|
gitPropertiesSchema,
|
|
3603
3699
|
glamaDefaultModelId,
|
|
@@ -3667,6 +3763,8 @@ var commandExecutionStatusSchema = import_zod17.z.discriminatedUnion("status", [
|
|
|
3667
3763
|
telemetrySettings,
|
|
3668
3764
|
telemetrySettingsSchema,
|
|
3669
3765
|
terminalActionIds,
|
|
3766
|
+
todoItemSchema,
|
|
3767
|
+
todoStatusSchema,
|
|
3670
3768
|
tokenUsageSchema,
|
|
3671
3769
|
toolGroups,
|
|
3672
3770
|
toolGroupsSchema,
|