@roo-code/types 1.36.0 → 1.37.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.js CHANGED
@@ -653,6 +653,15 @@ var chutesModels = {
653
653
  outputPrice: 0,
654
654
  description: "DeepSeek V3 (0324) model."
655
655
  },
656
+ "Qwen/Qwen3-235B-A22B-Instruct-2507": {
657
+ maxTokens: 32768,
658
+ contextWindow: 262144,
659
+ supportsImages: false,
660
+ supportsPromptCache: false,
661
+ inputPrice: 0,
662
+ outputPrice: 0,
663
+ description: "Qwen3 235B A22B Instruct 2507 model with 262K context window."
664
+ },
656
665
  "Qwen/Qwen3-235B-A22B": {
657
666
  maxTokens: 32768,
658
667
  contextWindow: 40960,
@@ -1353,6 +1362,27 @@ var mistralModels = {
1353
1362
  };
1354
1363
  var MISTRAL_DEFAULT_TEMPERATURE = 0;
1355
1364
 
1365
+ // src/providers/moonshot.ts
1366
+ var moonshotDefaultModelId = "kimi-k2-0711-preview";
1367
+ var moonshotModels = {
1368
+ "kimi-k2-0711-preview": {
1369
+ maxTokens: 32e3,
1370
+ contextWindow: 131072,
1371
+ supportsImages: false,
1372
+ supportsPromptCache: true,
1373
+ inputPrice: 0.6,
1374
+ // $0.60 per million tokens (cache miss)
1375
+ outputPrice: 2.5,
1376
+ // $2.50 per million tokens
1377
+ cacheWritesPrice: 0,
1378
+ // $0 per million tokens (cache miss)
1379
+ cacheReadsPrice: 0.15,
1380
+ // $0.15 per million tokens (cache hit)
1381
+ description: `Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.`
1382
+ }
1383
+ };
1384
+ var MOONSHOT_DEFAULT_TEMPERATURE = 0.6;
1385
+
1356
1386
  // src/providers/ollama.ts
1357
1387
  var ollamaDefaultModelId = "devstral:24b";
1358
1388
  var ollamaDefaultModelInfo = {
@@ -1929,6 +1959,15 @@ var vertexModels = {
1929
1959
  cacheWritesPrice: 1,
1930
1960
  maxThinkingTokens: 24576,
1931
1961
  supportsReasoningBudget: true
1962
+ },
1963
+ "llama-4-maverick-17b-128e-instruct-maas": {
1964
+ maxTokens: 8192,
1965
+ contextWindow: 131072,
1966
+ supportsImages: false,
1967
+ supportsPromptCache: false,
1968
+ inputPrice: 0.35,
1969
+ outputPrice: 1.15,
1970
+ description: "Meta Llama 4 Maverick 17B Instruct model, 128K context."
1932
1971
  }
1933
1972
  };
1934
1973
  var VERTEX_REGIONS = [
@@ -2210,7 +2249,7 @@ var CODEBASE_INDEX_DEFAULTS = {
2210
2249
  var codebaseIndexConfigSchema = z.object({
2211
2250
  codebaseIndexEnabled: z.boolean().optional(),
2212
2251
  codebaseIndexQdrantUrl: z.string().optional(),
2213
- codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini"]).optional(),
2252
+ codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini", "mistral"]).optional(),
2214
2253
  codebaseIndexEmbedderBaseUrl: z.string().optional(),
2215
2254
  codebaseIndexEmbedderModelId: z.string().optional(),
2216
2255
  codebaseIndexEmbedderModelDimension: z.number().optional(),
@@ -2224,7 +2263,8 @@ var codebaseIndexModelsSchema = z.object({
2224
2263
  openai: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2225
2264
  ollama: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2226
2265
  "openai-compatible": z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2227
- gemini: z.record(z.string(), z.object({ dimension: z.number() })).optional()
2266
+ gemini: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2267
+ mistral: z.record(z.string(), z.object({ dimension: z.number() })).optional()
2228
2268
  });
2229
2269
  var codebaseIndexProviderSchema = z.object({
2230
2270
  codeIndexOpenAiKey: z.string().optional(),
@@ -2232,7 +2272,8 @@ var codebaseIndexProviderSchema = z.object({
2232
2272
  codebaseIndexOpenAiCompatibleBaseUrl: z.string().optional(),
2233
2273
  codebaseIndexOpenAiCompatibleApiKey: z.string().optional(),
2234
2274
  codebaseIndexOpenAiCompatibleModelDimension: z.number().optional(),
2235
- codebaseIndexGeminiApiKey: z.string().optional()
2275
+ codebaseIndexGeminiApiKey: z.string().optional(),
2276
+ codebaseIndexMistralApiKey: z.string().optional()
2236
2277
  });
2237
2278
 
2238
2279
  // src/cloud.ts
@@ -2298,6 +2339,7 @@ var providerNames = [
2298
2339
  "gemini-cli",
2299
2340
  "openai-native",
2300
2341
  "mistral",
2342
+ "moonshot",
2301
2343
  "deepseek",
2302
2344
  "unbound",
2303
2345
  "requesty",
@@ -2306,7 +2348,8 @@ var providerNames = [
2306
2348
  "xai",
2307
2349
  "groq",
2308
2350
  "chutes",
2309
- "litellm"
2351
+ "litellm",
2352
+ "huggingface"
2310
2353
  ];
2311
2354
  var providerNamesSchema = z3.enum(providerNames);
2312
2355
  var providerSettingsEntrySchema = z3.object({
@@ -2318,6 +2361,7 @@ var DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3;
2318
2361
  var baseProviderSettingsSchema = z3.object({
2319
2362
  includeMaxTokens: z3.boolean().optional(),
2320
2363
  diffEnabled: z3.boolean().optional(),
2364
+ todoListEnabled: z3.boolean().optional(),
2321
2365
  fuzzyMatchThreshold: z3.number().optional(),
2322
2366
  modelTemperature: z3.number().nullish(),
2323
2367
  rateLimitSeconds: z3.number().optional(),
@@ -2423,6 +2467,10 @@ var deepSeekSchema = apiModelIdProviderModelSchema.extend({
2423
2467
  deepSeekBaseUrl: z3.string().optional(),
2424
2468
  deepSeekApiKey: z3.string().optional()
2425
2469
  });
2470
+ var moonshotSchema = apiModelIdProviderModelSchema.extend({
2471
+ moonshotBaseUrl: z3.union([z3.literal("https://api.moonshot.ai/v1"), z3.literal("https://api.moonshot.cn/v1")]).optional(),
2472
+ moonshotApiKey: z3.string().optional()
2473
+ });
2426
2474
  var unboundSchema = baseProviderSettingsSchema.extend({
2427
2475
  unboundApiKey: z3.string().optional(),
2428
2476
  unboundModelId: z3.string().optional()
@@ -2441,6 +2489,11 @@ var xaiSchema = apiModelIdProviderModelSchema.extend({
2441
2489
  var groqSchema = apiModelIdProviderModelSchema.extend({
2442
2490
  groqApiKey: z3.string().optional()
2443
2491
  });
2492
+ var huggingFaceSchema = baseProviderSettingsSchema.extend({
2493
+ huggingFaceApiKey: z3.string().optional(),
2494
+ huggingFaceModelId: z3.string().optional(),
2495
+ huggingFaceInferenceProvider: z3.string().optional()
2496
+ });
2444
2497
  var chutesSchema = apiModelIdProviderModelSchema.extend({
2445
2498
  chutesApiKey: z3.string().optional()
2446
2499
  });
@@ -2468,12 +2521,14 @@ var providerSettingsSchemaDiscriminated = z3.discriminatedUnion("apiProvider", [
2468
2521
  openAiNativeSchema.merge(z3.object({ apiProvider: z3.literal("openai-native") })),
2469
2522
  mistralSchema.merge(z3.object({ apiProvider: z3.literal("mistral") })),
2470
2523
  deepSeekSchema.merge(z3.object({ apiProvider: z3.literal("deepseek") })),
2524
+ moonshotSchema.merge(z3.object({ apiProvider: z3.literal("moonshot") })),
2471
2525
  unboundSchema.merge(z3.object({ apiProvider: z3.literal("unbound") })),
2472
2526
  requestySchema.merge(z3.object({ apiProvider: z3.literal("requesty") })),
2473
2527
  humanRelaySchema.merge(z3.object({ apiProvider: z3.literal("human-relay") })),
2474
2528
  fakeAiSchema.merge(z3.object({ apiProvider: z3.literal("fake-ai") })),
2475
2529
  xaiSchema.merge(z3.object({ apiProvider: z3.literal("xai") })),
2476
2530
  groqSchema.merge(z3.object({ apiProvider: z3.literal("groq") })),
2531
+ huggingFaceSchema.merge(z3.object({ apiProvider: z3.literal("huggingface") })),
2477
2532
  chutesSchema.merge(z3.object({ apiProvider: z3.literal("chutes") })),
2478
2533
  litellmSchema.merge(z3.object({ apiProvider: z3.literal("litellm") })),
2479
2534
  defaultSchema
@@ -2495,12 +2550,14 @@ var providerSettingsSchema = z3.object({
2495
2550
  ...openAiNativeSchema.shape,
2496
2551
  ...mistralSchema.shape,
2497
2552
  ...deepSeekSchema.shape,
2553
+ ...moonshotSchema.shape,
2498
2554
  ...unboundSchema.shape,
2499
2555
  ...requestySchema.shape,
2500
2556
  ...humanRelaySchema.shape,
2501
2557
  ...fakeAiSchema.shape,
2502
2558
  ...xaiSchema.shape,
2503
2559
  ...groqSchema.shape,
2560
+ ...huggingFaceSchema.shape,
2504
2561
  ...chutesSchema.shape,
2505
2562
  ...litellmSchema.shape,
2506
2563
  ...codebaseIndexProviderSchema.shape
@@ -2516,18 +2573,19 @@ var MODEL_ID_KEYS = [
2516
2573
  "lmStudioDraftModelId",
2517
2574
  "unboundModelId",
2518
2575
  "requestyModelId",
2519
- "litellmModelId"
2576
+ "litellmModelId",
2577
+ "huggingFaceModelId"
2520
2578
  ];
2521
2579
  var getModelId = (settings) => {
2522
2580
  const modelIdKey = MODEL_ID_KEYS.find((key) => settings[key]);
2523
2581
  return modelIdKey ? settings[modelIdKey] : void 0;
2524
2582
  };
2525
- var ANTHROPIC_STYLE_PROVIDERS = ["anthropic", "claude-code"];
2583
+ var ANTHROPIC_STYLE_PROVIDERS = ["anthropic", "claude-code", "bedrock"];
2526
2584
  var getApiProtocol = (provider, modelId) => {
2527
2585
  if (provider && ANTHROPIC_STYLE_PROVIDERS.includes(provider)) {
2528
2586
  return "anthropic";
2529
2587
  }
2530
- if (provider && (provider === "vertex" || provider === "bedrock") && modelId && modelId.toLowerCase().includes("claude")) {
2588
+ if (provider && provider === "vertex" && modelId && modelId.toLowerCase().includes("claude")) {
2531
2589
  return "anthropic";
2532
2590
  }
2533
2591
  return "openai";
@@ -2886,6 +2944,52 @@ var promptComponentSchema = z9.object({
2886
2944
  });
2887
2945
  var customModePromptsSchema = z9.record(z9.string(), promptComponentSchema.optional());
2888
2946
  var customSupportPromptsSchema = z9.record(z9.string(), z9.string().optional());
2947
+ var DEFAULT_MODES = [
2948
+ {
2949
+ slug: "architect",
2950
+ name: "\u{1F3D7}\uFE0F Architect",
2951
+ roleDefinition: "You are Roo, an experienced technical leader who is inquisitive and an excellent planner. Your goal is to gather information and get context to create a detailed plan for accomplishing the user's task, which the user will review and approve before they switch into another mode to implement the solution.",
2952
+ whenToUse: "Use this mode when you need to plan, design, or strategize before implementation. Perfect for breaking down complex problems, creating technical specifications, designing system architecture, or brainstorming solutions before coding.",
2953
+ description: "Plan and design before implementation",
2954
+ groups: ["read", ["edit", { fileRegex: "\\.md$", description: "Markdown files only" }], "browser", "mcp"],
2955
+ customInstructions: "1. Do some information gathering (using provided tools) to get more context about the task.\n\n2. You should also ask the user clarifying questions to get a better understanding of the task.\n\n3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:\n - Specific and actionable\n - Listed in logical execution order\n - Focused on a single, well-defined outcome\n - Clear enough that another mode could execute it independently\n\n **Note:** If the `update_todo_list` tool is not available, write the plan to a markdown file (e.g., `plan.md` or `todo.md`) instead.\n\n4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.\n\n5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list.\n\n6. Include Mermaid diagrams if they help clarify complex workflows or system architecture. Please avoid using double quotes (\"\") and parentheses () inside square brackets ([]) in Mermaid diagrams, as this can cause parsing errors.\n\n7. Use the switch_mode tool to request that the user switch to another mode to implement the solution.\n\n**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**"
2956
+ },
2957
+ {
2958
+ slug: "code",
2959
+ name: "\u{1F4BB} Code",
2960
+ roleDefinition: "You are Roo, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.",
2961
+ whenToUse: "Use this mode when you need to write, modify, or refactor code. Ideal for implementing features, fixing bugs, creating new files, or making code improvements across any programming language or framework.",
2962
+ description: "Write, modify, and refactor code",
2963
+ groups: ["read", "edit", "browser", "command", "mcp"]
2964
+ },
2965
+ {
2966
+ slug: "ask",
2967
+ name: "\u2753 Ask",
2968
+ roleDefinition: "You are Roo, a knowledgeable technical assistant focused on answering questions and providing information about software development, technology, and related topics.",
2969
+ whenToUse: "Use this mode when you need explanations, documentation, or answers to technical questions. Best for understanding concepts, analyzing existing code, getting recommendations, or learning about technologies without making changes.",
2970
+ description: "Get answers and explanations",
2971
+ groups: ["read", "browser", "mcp"],
2972
+ customInstructions: "You can analyze code, explain concepts, and access external resources. Always answer the user's questions thoroughly, and do not switch to implementing code unless explicitly requested by the user. Include Mermaid diagrams when they clarify your response."
2973
+ },
2974
+ {
2975
+ slug: "debug",
2976
+ name: "\u{1FAB2} Debug",
2977
+ roleDefinition: "You are Roo, an expert software debugger specializing in systematic problem diagnosis and resolution.",
2978
+ whenToUse: "Use this mode when you're troubleshooting issues, investigating errors, or diagnosing problems. Specialized in systematic debugging, adding logging, analyzing stack traces, and identifying root causes before applying fixes.",
2979
+ description: "Diagnose and fix software issues",
2980
+ groups: ["read", "edit", "browser", "command", "mcp"],
2981
+ customInstructions: "Reflect on 5-7 different possible sources of the problem, distill those down to 1-2 most likely sources, and then add logs to validate your assumptions. Explicitly ask the user to confirm the diagnosis before fixing the problem."
2982
+ },
2983
+ {
2984
+ slug: "orchestrator",
2985
+ name: "\u{1FA83} Orchestrator",
2986
+ roleDefinition: "You are Roo, a strategic workflow orchestrator who coordinates complex tasks by delegating them to appropriate specialized modes. You have a comprehensive understanding of each mode's capabilities and limitations, allowing you to effectively break down complex problems into discrete tasks that can be solved by different specialists.",
2987
+ whenToUse: "Use this mode for complex, multi-step projects that require coordination across different specialties. Ideal when you need to break down large tasks into subtasks, manage workflows, or coordinate work that spans multiple domains or expertise areas.",
2988
+ description: "Coordinate tasks across multiple modes",
2989
+ groups: [],
2990
+ customInstructions: "Your role is to coordinate complex workflows by delegating tasks to specialized modes. As an orchestrator, you should:\n\n1. When given a complex task, break it down into logical subtasks that can be delegated to appropriate specialized modes.\n\n2. For each subtask, use the `new_task` tool to delegate. Choose the most appropriate mode for the subtask's specific goal and provide comprehensive instructions in the `message` parameter. These instructions must include:\n * All necessary context from the parent task or previous subtasks required to complete the work.\n * A clearly defined scope, specifying exactly what the subtask should accomplish.\n * An explicit statement that the subtask should *only* perform the work outlined in these instructions and not deviate.\n * An instruction for the subtask to signal completion by using the `attempt_completion` tool, providing a concise yet thorough summary of the outcome in the `result` parameter, keeping in mind that this summary will be the source of truth used to keep track of what was completed on this project.\n * A statement that these specific instructions supersede any conflicting general instructions the subtask's mode might have.\n\n3. Track and manage the progress of all subtasks. When a subtask is completed, analyze its results and determine the next steps.\n\n4. Help the user understand how the different subtasks fit together in the overall workflow. Provide clear reasoning about why you're delegating specific tasks to specific modes.\n\n5. When all subtasks are completed, synthesize the results and provide a comprehensive overview of what was accomplished.\n\n6. Ask clarifying questions when necessary to better understand how to break down complex tasks effectively.\n\n7. Suggest improvements to the workflow based on the results of completed subtasks.\n\nUse subtasks to maintain clarity. If a request significantly shifts focus or requires a different expertise (mode), consider creating a subtask rather than overloading the current one."
2991
+ }
2992
+ ];
2889
2993
 
2890
2994
  // src/vscode.ts
2891
2995
  import { z as z10 } from "zod";
@@ -2937,6 +3041,8 @@ var languagesSchema = z10.enum(languages);
2937
3041
  var isLanguage = (value) => languages.includes(value);
2938
3042
 
2939
3043
  // src/global-settings.ts
3044
+ var DEFAULT_WRITE_DELAY_MS = 1e3;
3045
+ var DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 5e4;
2940
3046
  var globalSettingsSchema = z11.object({
2941
3047
  currentApiConfigName: z11.string().optional(),
2942
3048
  listApiConfigMeta: z11.array(providerSettingsEntrySchema).optional(),
@@ -2952,7 +3058,7 @@ var globalSettingsSchema = z11.object({
2952
3058
  alwaysAllowWrite: z11.boolean().optional(),
2953
3059
  alwaysAllowWriteOutsideWorkspace: z11.boolean().optional(),
2954
3060
  alwaysAllowWriteProtected: z11.boolean().optional(),
2955
- writeDelayMs: z11.number().optional(),
3061
+ writeDelayMs: z11.number().min(0).optional(),
2956
3062
  alwaysAllowBrowser: z11.boolean().optional(),
2957
3063
  alwaysApproveResubmit: z11.boolean().optional(),
2958
3064
  requestDelaySeconds: z11.number().optional(),
@@ -2972,6 +3078,16 @@ var globalSettingsSchema = z11.object({
2972
3078
  autoCondenseContext: z11.boolean().optional(),
2973
3079
  autoCondenseContextPercent: z11.number().optional(),
2974
3080
  maxConcurrentFileReads: z11.number().optional(),
3081
+ /**
3082
+ * Whether to include diagnostic messages (errors, warnings) in tool outputs
3083
+ * @default true
3084
+ */
3085
+ includeDiagnosticMessages: z11.boolean().optional(),
3086
+ /**
3087
+ * Maximum number of diagnostic messages to include in tool outputs
3088
+ * @default 50
3089
+ */
3090
+ maxDiagnosticMessages: z11.number().optional(),
2975
3091
  browserToolEnabled: z11.boolean().optional(),
2976
3092
  browserViewportSize: z11.string().optional(),
2977
3093
  screenshotQuality: z11.number().optional(),
@@ -2988,6 +3104,7 @@ var globalSettingsSchema = z11.object({
2988
3104
  showRooIgnoredFiles: z11.boolean().optional(),
2989
3105
  maxReadFileLine: z11.number().optional(),
2990
3106
  terminalOutputLineLimit: z11.number().optional(),
3107
+ terminalOutputCharacterLimit: z11.number().optional(),
2991
3108
  terminalShellIntegrationTimeout: z11.number().optional(),
2992
3109
  terminalShellIntegrationDisabled: z11.boolean().optional(),
2993
3110
  terminalCommandDelay: z11.number().optional(),
@@ -2997,6 +3114,7 @@ var globalSettingsSchema = z11.object({
2997
3114
  terminalZshP10k: z11.boolean().optional(),
2998
3115
  terminalZdotdir: z11.boolean().optional(),
2999
3116
  terminalCompressProgressBar: z11.boolean().optional(),
3117
+ diagnosticsEnabled: z11.boolean().optional(),
3000
3118
  rateLimitSeconds: z11.number().optional(),
3001
3119
  diffEnabled: z11.boolean().optional(),
3002
3120
  fuzzyMatchThreshold: z11.number().optional(),
@@ -3032,6 +3150,7 @@ var SECRET_STATE_KEYS = [
3032
3150
  "geminiApiKey",
3033
3151
  "openAiNativeApiKey",
3034
3152
  "deepSeekApiKey",
3153
+ "moonshotApiKey",
3035
3154
  "mistralApiKey",
3036
3155
  "unboundApiKey",
3037
3156
  "requestyApiKey",
@@ -3042,7 +3161,9 @@ var SECRET_STATE_KEYS = [
3042
3161
  "codeIndexOpenAiKey",
3043
3162
  "codeIndexQdrantApiKey",
3044
3163
  "codebaseIndexOpenAiCompatibleApiKey",
3045
- "codebaseIndexGeminiApiKey"
3164
+ "codebaseIndexGeminiApiKey",
3165
+ "codebaseIndexMistralApiKey",
3166
+ "huggingFaceApiKey"
3046
3167
  ];
3047
3168
  var isSecretStateKey = (key) => SECRET_STATE_KEYS.includes(key);
3048
3169
  var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].filter(
@@ -3072,7 +3193,7 @@ var EVALS_SETTINGS = {
3072
3193
  alwaysAllowUpdateTodoList: true,
3073
3194
  followupAutoApproveTimeoutMs: 0,
3074
3195
  allowedCommands: ["*"],
3075
- commandExecutionTimeout: 3e4,
3196
+ commandExecutionTimeout: 20,
3076
3197
  commandTimeoutAllowlist: [],
3077
3198
  preventCompletionWithOpenTodos: false,
3078
3199
  browserToolEnabled: false,
@@ -3084,6 +3205,7 @@ var EVALS_SETTINGS = {
3084
3205
  soundEnabled: false,
3085
3206
  soundVolume: 0.5,
3086
3207
  terminalOutputLineLimit: 500,
3208
+ terminalOutputCharacterLimit: DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
3087
3209
  terminalShellIntegrationTimeout: 3e4,
3088
3210
  terminalCommandDelay: 0,
3089
3211
  terminalPowershellCounter: false,
@@ -3093,6 +3215,7 @@ var EVALS_SETTINGS = {
3093
3215
  terminalZdotdir: true,
3094
3216
  terminalCompressProgressBar: true,
3095
3217
  terminalShellIntegrationDisabled: true,
3218
+ diagnosticsEnabled: true,
3096
3219
  diffEnabled: true,
3097
3220
  fuzzyMatchThreshold: 1,
3098
3221
  enableCheckpoints: false,
@@ -3102,10 +3225,13 @@ var EVALS_SETTINGS = {
3102
3225
  showRooIgnoredFiles: true,
3103
3226
  maxReadFileLine: -1,
3104
3227
  // -1 to enable full file reading.
3228
+ includeDiagnosticMessages: true,
3229
+ maxDiagnosticMessages: 50,
3105
3230
  language: "en",
3106
3231
  telemetrySetting: "enabled",
3107
3232
  mcpEnabled: false,
3108
3233
  mode: "code",
3234
+ // "architect",
3109
3235
  customModes: []
3110
3236
  };
3111
3237
  var EVALS_TIMEOUT = 5 * 60 * 1e3;
@@ -3489,6 +3615,9 @@ export {
3489
3615
  CODEBASE_INDEX_DEFAULTS,
3490
3616
  DEEP_SEEK_DEFAULT_TEMPERATURE,
3491
3617
  DEFAULT_CONSECUTIVE_MISTAKE_LIMIT,
3618
+ DEFAULT_MODES,
3619
+ DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT,
3620
+ DEFAULT_WRITE_DELAY_MS,
3492
3621
  EVALS_SETTINGS,
3493
3622
  EVALS_TIMEOUT,
3494
3623
  GLAMA_DEFAULT_TEMPERATURE,
@@ -3500,6 +3629,7 @@ export {
3500
3629
  LMSTUDIO_DEFAULT_TEMPERATURE,
3501
3630
  MISTRAL_DEFAULT_TEMPERATURE,
3502
3631
  MODEL_ID_KEYS,
3632
+ MOONSHOT_DEFAULT_TEMPERATURE,
3503
3633
  OPENAI_AZURE_AI_INFERENCE_PATH,
3504
3634
  OPENAI_NATIVE_DEFAULT_TEMPERATURE,
3505
3635
  OPENROUTER_DEFAULT_PROVIDER_NAME,
@@ -3589,6 +3719,8 @@ export {
3589
3719
  modelInfoSchema,
3590
3720
  modelParameters,
3591
3721
  modelParametersSchema,
3722
+ moonshotDefaultModelId,
3723
+ moonshotModels,
3592
3724
  ollamaDefaultModelId,
3593
3725
  ollamaDefaultModelInfo,
3594
3726
  openAiModelInfoSaneDefaults,