@roo-code/types 1.29.0 → 1.31.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
@@ -472,65 +472,46 @@ var bedrockModels = {
472
472
  var BEDROCK_DEFAULT_TEMPERATURE = 0.3;
473
473
  var BEDROCK_MAX_TOKENS = 4096;
474
474
  var BEDROCK_DEFAULT_CONTEXT = 128e3;
475
- var BEDROCK_REGION_INFO = {
476
- /*
477
- * This JSON generated by AWS's AI assistant - Amazon Q on March 29, 2025
478
- *
479
- * - Africa (Cape Town) region does not appear to support Amazon Bedrock at this time.
480
- * - Some Asia Pacific regions, such as Asia Pacific (Hong Kong) and Asia Pacific (Jakarta), are not listed among the supported regions for Bedrock services.
481
- * - Middle East regions, including Middle East (Bahrain) and Middle East (UAE), are not mentioned in the list of supported regions for Bedrock. [3]
482
- * - China regions (Beijing and Ningxia) are not listed as supported for Amazon Bedrock.
483
- * - Some newer or specialized AWS regions may not have Bedrock support yet.
484
- */
485
- "us.": { regionId: "us-east-1", description: "US East (N. Virginia)", pattern: "us-", multiRegion: true },
486
- "use.": { regionId: "us-east-1", description: "US East (N. Virginia)" },
487
- "use1.": { regionId: "us-east-1", description: "US East (N. Virginia)" },
488
- "use2.": { regionId: "us-east-2", description: "US East (Ohio)" },
489
- "usw.": { regionId: "us-west-2", description: "US West (Oregon)" },
490
- "usw2.": { regionId: "us-west-2", description: "US West (Oregon)" },
491
- "ug.": {
492
- regionId: "us-gov-west-1",
493
- description: "AWS GovCloud (US-West)",
494
- pattern: "us-gov-",
495
- multiRegion: true
496
- },
497
- "uge1.": { regionId: "us-gov-east-1", description: "AWS GovCloud (US-East)" },
498
- "ugw1.": { regionId: "us-gov-west-1", description: "AWS GovCloud (US-West)" },
499
- "eu.": { regionId: "eu-west-1", description: "Europe (Ireland)", pattern: "eu-", multiRegion: true },
500
- "euw1.": { regionId: "eu-west-1", description: "Europe (Ireland)" },
501
- "euw2.": { regionId: "eu-west-2", description: "Europe (London)" },
502
- "euw3.": { regionId: "eu-west-3", description: "Europe (Paris)" },
503
- "euc1.": { regionId: "eu-central-1", description: "Europe (Frankfurt)" },
504
- "euc2.": { regionId: "eu-central-2", description: "Europe (Zurich)" },
505
- "eun1.": { regionId: "eu-north-1", description: "Europe (Stockholm)" },
506
- "eus1.": { regionId: "eu-south-1", description: "Europe (Milan)" },
507
- "eus2.": { regionId: "eu-south-2", description: "Europe (Spain)" },
508
- "ap.": {
509
- regionId: "ap-southeast-1",
510
- description: "Asia Pacific (Singapore)",
511
- pattern: "ap-",
512
- multiRegion: true
513
- },
514
- "ape1.": { regionId: "ap-east-1", description: "Asia Pacific (Hong Kong)" },
515
- "apne1.": { regionId: "ap-northeast-1", description: "Asia Pacific (Tokyo)" },
516
- "apne2.": { regionId: "ap-northeast-2", description: "Asia Pacific (Seoul)" },
517
- "apne3.": { regionId: "ap-northeast-3", description: "Asia Pacific (Osaka)" },
518
- "aps1.": { regionId: "ap-south-1", description: "Asia Pacific (Mumbai)" },
519
- "aps2.": { regionId: "ap-south-2", description: "Asia Pacific (Hyderabad)" },
520
- "apse1.": { regionId: "ap-southeast-1", description: "Asia Pacific (Singapore)" },
521
- "apse2.": { regionId: "ap-southeast-2", description: "Asia Pacific (Sydney)" },
522
- "ca.": { regionId: "ca-central-1", description: "Canada (Central)", pattern: "ca-", multiRegion: true },
523
- "cac1.": { regionId: "ca-central-1", description: "Canada (Central)" },
524
- "sa.": { regionId: "sa-east-1", description: "South America (S\xE3o Paulo)", pattern: "sa-", multiRegion: true },
525
- "sae1.": { regionId: "sa-east-1", description: "South America (S\xE3o Paulo)" },
526
- // These are not official - they weren't generated by Amazon Q nor were
527
- // found in the AWS documentation but another Roo contributor found apac.
528
- // Was needed so I've added the pattern of the other geo zones.
529
- "apac.": { regionId: "ap-southeast-1", description: "Default APAC region", pattern: "ap-", multiRegion: true },
530
- "emea.": { regionId: "eu-west-1", description: "Default EMEA region", pattern: "eu-", multiRegion: true },
531
- "amer.": { regionId: "us-east-1", description: "Default Americas region", pattern: "us-", multiRegion: true }
532
- };
533
- var BEDROCK_REGIONS = Object.values(BEDROCK_REGION_INFO).map((info) => ({ value: info.regionId, label: info.regionId })).filter((region, index, self) => index === self.findIndex((r) => r.value === region.value)).sort((a, b) => a.value.localeCompare(b.value));
475
+ var AWS_INFERENCE_PROFILE_MAPPING = [
476
+ // US Government Cloud → ug. inference profile (most specific prefix first)
477
+ ["us-gov-", "ug."],
478
+ // Americas regions → us. inference profile
479
+ ["us-", "us."],
480
+ // Europe regions eu. inference profile
481
+ ["eu-", "eu."],
482
+ // Asia Pacific regions apac. inference profile
483
+ ["ap-", "apac."],
484
+ // Canada regions → ca. inference profile
485
+ ["ca-", "ca."],
486
+ // South America regions sa. inference profile
487
+ ["sa-", "sa."]
488
+ ];
489
+ var BEDROCK_REGIONS = [
490
+ { value: "us-east-1", label: "us-east-1" },
491
+ { value: "us-east-2", label: "us-east-2" },
492
+ { value: "us-west-1", label: "us-west-1" },
493
+ { value: "us-west-2", label: "us-west-2" },
494
+ { value: "ap-northeast-1", label: "ap-northeast-1" },
495
+ { value: "ap-northeast-2", label: "ap-northeast-2" },
496
+ { value: "ap-northeast-3", label: "ap-northeast-3" },
497
+ { value: "ap-south-1", label: "ap-south-1" },
498
+ { value: "ap-south-2", label: "ap-south-2" },
499
+ { value: "ap-southeast-1", label: "ap-southeast-1" },
500
+ { value: "ap-southeast-2", label: "ap-southeast-2" },
501
+ { value: "ap-east-1", label: "ap-east-1" },
502
+ { value: "eu-central-1", label: "eu-central-1" },
503
+ { value: "eu-central-2", label: "eu-central-2" },
504
+ { value: "eu-west-1", label: "eu-west-1" },
505
+ { value: "eu-west-2", label: "eu-west-2" },
506
+ { value: "eu-west-3", label: "eu-west-3" },
507
+ { value: "eu-north-1", label: "eu-north-1" },
508
+ { value: "eu-south-1", label: "eu-south-1" },
509
+ { value: "eu-south-2", label: "eu-south-2" },
510
+ { value: "ca-central-1", label: "ca-central-1" },
511
+ { value: "sa-east-1", label: "sa-east-1" },
512
+ { value: "us-gov-east-1", label: "us-gov-east-1" },
513
+ { value: "us-gov-west-1", label: "us-gov-west-1" }
514
+ ].sort((a, b) => a.value.localeCompare(b.value));
534
515
 
535
516
  // src/providers/chutes.ts
536
517
  var chutesDefaultModelId = "deepseek-ai/DeepSeek-R1-0528";
@@ -743,27 +724,47 @@ var claudeCodeModels = {
743
724
  "claude-sonnet-4-20250514": {
744
725
  ...anthropicModels["claude-sonnet-4-20250514"],
745
726
  supportsImages: false,
746
- supportsPromptCache: false
727
+ supportsPromptCache: true,
728
+ // Claude Code does report cache tokens
729
+ supportsReasoningEffort: false,
730
+ supportsReasoningBudget: false,
731
+ requiredReasoningBudget: false
747
732
  },
748
733
  "claude-opus-4-20250514": {
749
734
  ...anthropicModels["claude-opus-4-20250514"],
750
735
  supportsImages: false,
751
- supportsPromptCache: false
736
+ supportsPromptCache: true,
737
+ // Claude Code does report cache tokens
738
+ supportsReasoningEffort: false,
739
+ supportsReasoningBudget: false,
740
+ requiredReasoningBudget: false
752
741
  },
753
742
  "claude-3-7-sonnet-20250219": {
754
743
  ...anthropicModels["claude-3-7-sonnet-20250219"],
755
744
  supportsImages: false,
756
- supportsPromptCache: false
745
+ supportsPromptCache: true,
746
+ // Claude Code does report cache tokens
747
+ supportsReasoningEffort: false,
748
+ supportsReasoningBudget: false,
749
+ requiredReasoningBudget: false
757
750
  },
758
751
  "claude-3-5-sonnet-20241022": {
759
752
  ...anthropicModels["claude-3-5-sonnet-20241022"],
760
753
  supportsImages: false,
761
- supportsPromptCache: false
754
+ supportsPromptCache: true,
755
+ // Claude Code does report cache tokens
756
+ supportsReasoningEffort: false,
757
+ supportsReasoningBudget: false,
758
+ requiredReasoningBudget: false
762
759
  },
763
760
  "claude-3-5-haiku-20241022": {
764
761
  ...anthropicModels["claude-3-5-haiku-20241022"],
765
762
  supportsImages: false,
766
- supportsPromptCache: false
763
+ supportsPromptCache: true,
764
+ // Claude Code does report cache tokens
765
+ supportsReasoningEffort: false,
766
+ supportsReasoningBudget: false,
767
+ requiredReasoningBudget: false
767
768
  }
768
769
  };
769
770
 
@@ -1177,7 +1178,7 @@ var groqModels = {
1177
1178
  description: "Alibaba Qwen QwQ 32B model, 128K context."
1178
1179
  },
1179
1180
  "qwen/qwen3-32b": {
1180
- maxTokens: 131072,
1181
+ maxTokens: 40960,
1181
1182
  contextWindow: 131072,
1182
1183
  supportsImages: false,
1183
1184
  supportsPromptCache: false,
@@ -2134,24 +2135,42 @@ var xaiModels = {
2134
2135
 
2135
2136
  // src/codebase-index.ts
2136
2137
  import { z } from "zod";
2138
+ var CODEBASE_INDEX_DEFAULTS = {
2139
+ MIN_SEARCH_RESULTS: 10,
2140
+ MAX_SEARCH_RESULTS: 200,
2141
+ DEFAULT_SEARCH_RESULTS: 50,
2142
+ SEARCH_RESULTS_STEP: 10,
2143
+ MIN_SEARCH_SCORE: 0,
2144
+ MAX_SEARCH_SCORE: 1,
2145
+ DEFAULT_SEARCH_MIN_SCORE: 0.4,
2146
+ SEARCH_SCORE_STEP: 0.05
2147
+ };
2137
2148
  var codebaseIndexConfigSchema = z.object({
2138
2149
  codebaseIndexEnabled: z.boolean().optional(),
2139
2150
  codebaseIndexQdrantUrl: z.string().optional(),
2140
- codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible"]).optional(),
2151
+ codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini"]).optional(),
2141
2152
  codebaseIndexEmbedderBaseUrl: z.string().optional(),
2142
- codebaseIndexEmbedderModelId: z.string().optional()
2153
+ codebaseIndexEmbedderModelId: z.string().optional(),
2154
+ codebaseIndexEmbedderModelDimension: z.number().optional(),
2155
+ codebaseIndexSearchMinScore: z.number().min(0).max(1).optional(),
2156
+ codebaseIndexSearchMaxResults: z.number().min(CODEBASE_INDEX_DEFAULTS.MIN_SEARCH_RESULTS).max(CODEBASE_INDEX_DEFAULTS.MAX_SEARCH_RESULTS).optional(),
2157
+ // OpenAI Compatible specific fields
2158
+ codebaseIndexOpenAiCompatibleBaseUrl: z.string().optional(),
2159
+ codebaseIndexOpenAiCompatibleModelDimension: z.number().optional()
2143
2160
  });
2144
2161
  var codebaseIndexModelsSchema = z.object({
2145
2162
  openai: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2146
2163
  ollama: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2147
- "openai-compatible": z.record(z.string(), z.object({ dimension: z.number() })).optional()
2164
+ "openai-compatible": z.record(z.string(), z.object({ dimension: z.number() })).optional(),
2165
+ gemini: z.record(z.string(), z.object({ dimension: z.number() })).optional()
2148
2166
  });
2149
2167
  var codebaseIndexProviderSchema = z.object({
2150
2168
  codeIndexOpenAiKey: z.string().optional(),
2151
2169
  codeIndexQdrantApiKey: z.string().optional(),
2152
2170
  codebaseIndexOpenAiCompatibleBaseUrl: z.string().optional(),
2153
2171
  codebaseIndexOpenAiCompatibleApiKey: z.string().optional(),
2154
- codebaseIndexOpenAiCompatibleModelDimension: z.number().optional()
2172
+ codebaseIndexOpenAiCompatibleModelDimension: z.number().optional(),
2173
+ codebaseIndexGeminiApiKey: z.string().optional()
2155
2174
  });
2156
2175
 
2157
2176
  // src/cloud.ts
@@ -2214,6 +2233,7 @@ var providerNames = [
2214
2233
  "vscode-lm",
2215
2234
  "lmstudio",
2216
2235
  "gemini",
2236
+ "gemini-cli",
2217
2237
  "openai-native",
2218
2238
  "mistral",
2219
2239
  "deepseek",
@@ -2322,6 +2342,10 @@ var geminiSchema = apiModelIdProviderModelSchema.extend({
2322
2342
  geminiApiKey: z3.string().optional(),
2323
2343
  googleGeminiBaseUrl: z3.string().optional()
2324
2344
  });
2345
+ var geminiCliSchema = apiModelIdProviderModelSchema.extend({
2346
+ geminiCliOAuthPath: z3.string().optional(),
2347
+ geminiCliProjectId: z3.string().optional()
2348
+ });
2325
2349
  var openAiNativeSchema = apiModelIdProviderModelSchema.extend({
2326
2350
  openAiNativeApiKey: z3.string().optional(),
2327
2351
  openAiNativeBaseUrl: z3.string().optional()
@@ -2375,6 +2399,7 @@ var providerSettingsSchemaDiscriminated = z3.discriminatedUnion("apiProvider", [
2375
2399
  vsCodeLmSchema.merge(z3.object({ apiProvider: z3.literal("vscode-lm") })),
2376
2400
  lmStudioSchema.merge(z3.object({ apiProvider: z3.literal("lmstudio") })),
2377
2401
  geminiSchema.merge(z3.object({ apiProvider: z3.literal("gemini") })),
2402
+ geminiCliSchema.merge(z3.object({ apiProvider: z3.literal("gemini-cli") })),
2378
2403
  openAiNativeSchema.merge(z3.object({ apiProvider: z3.literal("openai-native") })),
2379
2404
  mistralSchema.merge(z3.object({ apiProvider: z3.literal("mistral") })),
2380
2405
  deepSeekSchema.merge(z3.object({ apiProvider: z3.literal("deepseek") })),
@@ -2401,6 +2426,7 @@ var providerSettingsSchema = z3.object({
2401
2426
  ...vsCodeLmSchema.shape,
2402
2427
  ...lmStudioSchema.shape,
2403
2428
  ...geminiSchema.shape,
2429
+ ...geminiCliSchema.shape,
2404
2430
  ...openAiNativeSchema.shape,
2405
2431
  ...mistralSchema.shape,
2406
2432
  ...deepSeekSchema.shape,
@@ -2501,7 +2527,8 @@ var clineSays = [
2501
2527
  "diff_error",
2502
2528
  "condense_context",
2503
2529
  "condense_context_error",
2504
- "codebase_search_result"
2530
+ "codebase_search_result",
2531
+ "user_edit_todos"
2505
2532
  ];
2506
2533
  var clineSaySchema = z6.enum(clineSays);
2507
2534
  var toolProgressStatusSchema = z6.object({
@@ -2549,6 +2576,7 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
2549
2576
  TelemetryEventName2["TASK_CONVERSATION_MESSAGE"] = "Conversation Message";
2550
2577
  TelemetryEventName2["LLM_COMPLETION"] = "LLM Completion";
2551
2578
  TelemetryEventName2["MODE_SWITCH"] = "Mode Switched";
2579
+ TelemetryEventName2["MODE_SELECTOR_OPENED"] = "Mode Selector Opened";
2552
2580
  TelemetryEventName2["TOOL_USED"] = "Tool Used";
2553
2581
  TelemetryEventName2["CHECKPOINT_CREATED"] = "Checkpoint Created";
2554
2582
  TelemetryEventName2["CHECKPOINT_RESTORED"] = "Checkpoint Restored";
@@ -2566,6 +2594,14 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
2566
2594
  TelemetryEventName2["MARKETPLACE_ITEM_REMOVED"] = "Marketplace Item Removed";
2567
2595
  TelemetryEventName2["MARKETPLACE_TAB_VIEWED"] = "Marketplace Tab Viewed";
2568
2596
  TelemetryEventName2["MARKETPLACE_INSTALL_BUTTON_CLICKED"] = "Marketplace Install Button Clicked";
2597
+ TelemetryEventName2["SHARE_BUTTON_CLICKED"] = "Share Button Clicked";
2598
+ TelemetryEventName2["SHARE_ORGANIZATION_CLICKED"] = "Share Organization Clicked";
2599
+ TelemetryEventName2["SHARE_PUBLIC_CLICKED"] = "Share Public Clicked";
2600
+ TelemetryEventName2["SHARE_CONNECT_TO_CLOUD_CLICKED"] = "Share Connect To Cloud Clicked";
2601
+ TelemetryEventName2["ACCOUNT_CONNECT_CLICKED"] = "Account Connect Clicked";
2602
+ TelemetryEventName2["ACCOUNT_CONNECT_SUCCESS"] = "Account Connect Success";
2603
+ TelemetryEventName2["ACCOUNT_LOGOUT_CLICKED"] = "Account Logout Clicked";
2604
+ TelemetryEventName2["ACCOUNT_LOGOUT_SUCCESS"] = "Account Logout Success";
2569
2605
  TelemetryEventName2["SCHEMA_VALIDATION_ERROR"] = "Schema Validation Error";
2570
2606
  TelemetryEventName2["DIFF_APPLICATION_ERROR"] = "Diff Application Error";
2571
2607
  TelemetryEventName2["SHELL_INTEGRATION_ERROR"] = "Shell Integration Error";
@@ -2579,7 +2615,8 @@ var appPropertiesSchema = z7.object({
2579
2615
  platform: z7.string(),
2580
2616
  editorName: z7.string(),
2581
2617
  language: z7.string(),
2582
- mode: z7.string()
2618
+ mode: z7.string(),
2619
+ cloudIsAuthenticated: z7.boolean().optional()
2583
2620
  });
2584
2621
  var taskPropertiesSchema = z7.object({
2585
2622
  taskId: z7.string().optional(),
@@ -2598,9 +2635,6 @@ var telemetryPropertiesSchema = z7.object({
2598
2635
  ...taskPropertiesSchema.shape,
2599
2636
  ...gitPropertiesSchema.shape
2600
2637
  });
2601
- var cloudTelemetryPropertiesSchema = z7.object({
2602
- ...telemetryPropertiesSchema.shape
2603
- });
2604
2638
  var rooCodeTelemetryEventSchema = z7.discriminatedUnion("type", [
2605
2639
  z7.object({
2606
2640
  type: z7.enum([
@@ -2609,6 +2643,7 @@ var rooCodeTelemetryEventSchema = z7.discriminatedUnion("type", [
2609
2643
  "Task Completed" /* TASK_COMPLETED */,
2610
2644
  "Conversation Message" /* TASK_CONVERSATION_MESSAGE */,
2611
2645
  "Mode Switched" /* MODE_SWITCH */,
2646
+ "Mode Selector Opened" /* MODE_SELECTOR_OPENED */,
2612
2647
  "Tool Used" /* TOOL_USED */,
2613
2648
  "Checkpoint Created" /* CHECKPOINT_CREATED */,
2614
2649
  "Checkpoint Restored" /* CHECKPOINT_RESTORED */,
@@ -2619,6 +2654,16 @@ var rooCodeTelemetryEventSchema = z7.discriminatedUnion("type", [
2619
2654
  "Authentication Initiated" /* AUTHENTICATION_INITIATED */,
2620
2655
  "Marketplace Item Installed" /* MARKETPLACE_ITEM_INSTALLED */,
2621
2656
  "Marketplace Item Removed" /* MARKETPLACE_ITEM_REMOVED */,
2657
+ "Marketplace Tab Viewed" /* MARKETPLACE_TAB_VIEWED */,
2658
+ "Marketplace Install Button Clicked" /* MARKETPLACE_INSTALL_BUTTON_CLICKED */,
2659
+ "Share Button Clicked" /* SHARE_BUTTON_CLICKED */,
2660
+ "Share Organization Clicked" /* SHARE_ORGANIZATION_CLICKED */,
2661
+ "Share Public Clicked" /* SHARE_PUBLIC_CLICKED */,
2662
+ "Share Connect To Cloud Clicked" /* SHARE_CONNECT_TO_CLOUD_CLICKED */,
2663
+ "Account Connect Clicked" /* ACCOUNT_CONNECT_CLICKED */,
2664
+ "Account Connect Success" /* ACCOUNT_CONNECT_SUCCESS */,
2665
+ "Account Logout Clicked" /* ACCOUNT_LOGOUT_CLICKED */,
2666
+ "Account Logout Success" /* ACCOUNT_LOGOUT_SUCCESS */,
2622
2667
  "Schema Validation Error" /* SCHEMA_VALIDATION_ERROR */,
2623
2668
  "Diff Application Error" /* DIFF_APPLICATION_ERROR */,
2624
2669
  "Shell Integration Error" /* SHELL_INTEGRATION_ERROR */,
@@ -2629,12 +2674,12 @@ var rooCodeTelemetryEventSchema = z7.discriminatedUnion("type", [
2629
2674
  "Mode Setting Changed" /* MODE_SETTINGS_CHANGED */,
2630
2675
  "Custom Mode Created" /* CUSTOM_MODE_CREATED */
2631
2676
  ]),
2632
- properties: cloudTelemetryPropertiesSchema
2677
+ properties: telemetryPropertiesSchema
2633
2678
  }),
2634
2679
  z7.object({
2635
2680
  type: z7.literal("Task Message" /* TASK_MESSAGE */),
2636
2681
  properties: z7.object({
2637
- ...cloudTelemetryPropertiesSchema.shape,
2682
+ ...telemetryPropertiesSchema.shape,
2638
2683
  taskId: z7.string(),
2639
2684
  message: clineMessageSchema
2640
2685
  })
@@ -2642,7 +2687,7 @@ var rooCodeTelemetryEventSchema = z7.discriminatedUnion("type", [
2642
2687
  z7.object({
2643
2688
  type: z7.literal("LLM Completion" /* LLM_COMPLETION */),
2644
2689
  properties: z7.object({
2645
- ...cloudTelemetryPropertiesSchema.shape,
2690
+ ...telemetryPropertiesSchema.shape,
2646
2691
  inputTokens: z7.number(),
2647
2692
  outputTokens: z7.number(),
2648
2693
  cacheReadTokens: z7.number().optional(),
@@ -2677,7 +2722,8 @@ var toolNames = [
2677
2722
  "switch_mode",
2678
2723
  "new_task",
2679
2724
  "fetch_instructions",
2680
- "codebase_search"
2725
+ "codebase_search",
2726
+ "update_todo_list"
2681
2727
  ];
2682
2728
  var toolNamesSchema = z8.enum(toolNames);
2683
2729
  var toolUsageSchema = z8.record(
@@ -2778,6 +2824,7 @@ var commandIds = [
2778
2824
  "handleHumanRelayResponse",
2779
2825
  "newTask",
2780
2826
  "setCustomStoragePath",
2827
+ "importSettings",
2781
2828
  "focusInput",
2782
2829
  "acceptInput",
2783
2830
  "focusPanel"
@@ -2829,6 +2876,9 @@ var globalSettingsSchema = z11.object({
2829
2876
  alwaysAllowModeSwitch: z11.boolean().optional(),
2830
2877
  alwaysAllowSubtasks: z11.boolean().optional(),
2831
2878
  alwaysAllowExecute: z11.boolean().optional(),
2879
+ alwaysAllowFollowupQuestions: z11.boolean().optional(),
2880
+ followupAutoApproveTimeoutMs: z11.number().optional(),
2881
+ alwaysAllowUpdateTodoList: z11.boolean().optional(),
2832
2882
  allowedCommands: z11.array(z11.string()).optional(),
2833
2883
  allowedMaxRequests: z11.number().nullish(),
2834
2884
  autoCondenseContext: z11.boolean().optional(),
@@ -2877,7 +2927,9 @@ var globalSettingsSchema = z11.object({
2877
2927
  enhancementApiConfigId: z11.string().optional(),
2878
2928
  historyPreviewCollapsed: z11.boolean().optional(),
2879
2929
  profileThresholds: z11.record(z11.string(), z11.number()).optional(),
2880
- hasOpenedModeSelector: z11.boolean().optional()
2930
+ hasOpenedModeSelector: z11.boolean().optional(),
2931
+ lastModeExportPath: z11.string().optional(),
2932
+ lastModeImportPath: z11.string().optional()
2881
2933
  });
2882
2934
  var GLOBAL_SETTINGS_KEYS = globalSettingsSchema.keyof().options;
2883
2935
  var rooCodeSettingsSchema = providerSettingsSchema.merge(globalSettingsSchema);
@@ -2901,7 +2953,8 @@ var SECRET_STATE_KEYS = [
2901
2953
  "litellmApiKey",
2902
2954
  "codeIndexOpenAiKey",
2903
2955
  "codeIndexQdrantApiKey",
2904
- "codebaseIndexOpenAiCompatibleApiKey"
2956
+ "codebaseIndexOpenAiCompatibleApiKey",
2957
+ "codebaseIndexGeminiApiKey"
2905
2958
  ];
2906
2959
  var isSecretStateKey = (key) => SECRET_STATE_KEYS.includes(key);
2907
2960
  var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].filter(
@@ -2927,6 +2980,9 @@ var EVALS_SETTINGS = {
2927
2980
  alwaysAllowModeSwitch: true,
2928
2981
  alwaysAllowSubtasks: true,
2929
2982
  alwaysAllowExecute: true,
2983
+ alwaysAllowFollowupQuestions: true,
2984
+ alwaysAllowUpdateTodoList: true,
2985
+ followupAutoApproveTimeoutMs: 0,
2930
2986
  allowedCommands: ["*"],
2931
2987
  browserToolEnabled: false,
2932
2988
  browserViewportSize: "900x600",
@@ -3029,10 +3085,21 @@ var shareResponseSchema = z12.object({
3029
3085
  manageUrl: z12.string().optional()
3030
3086
  });
3031
3087
 
3032
- // src/ipc.ts
3088
+ // src/followup.ts
3033
3089
  import { z as z13 } from "zod";
3034
- var isSubtaskSchema = z13.object({
3035
- isSubtask: z13.boolean()
3090
+ var suggestionItemSchema = z13.object({
3091
+ answer: z13.string(),
3092
+ mode: z13.string().optional()
3093
+ });
3094
+ var followUpDataSchema = z13.object({
3095
+ question: z13.string().optional(),
3096
+ suggest: z13.array(suggestionItemSchema).optional()
3097
+ });
3098
+
3099
+ // src/ipc.ts
3100
+ import { z as z14 } from "zod";
3101
+ var isSubtaskSchema = z14.object({
3102
+ isSubtask: z14.boolean()
3036
3103
  });
3037
3104
  var RooCodeEventName = /* @__PURE__ */ ((RooCodeEventName2) => {
3038
3105
  RooCodeEventName2["Message"] = "message";
@@ -3051,30 +3118,30 @@ var RooCodeEventName = /* @__PURE__ */ ((RooCodeEventName2) => {
3051
3118
  RooCodeEventName2["EvalFail"] = "evalFail";
3052
3119
  return RooCodeEventName2;
3053
3120
  })(RooCodeEventName || {});
3054
- var rooCodeEventsSchema = z13.object({
3055
- ["message" /* Message */]: z13.tuple([
3056
- z13.object({
3057
- taskId: z13.string(),
3058
- action: z13.union([z13.literal("created"), z13.literal("updated")]),
3121
+ var rooCodeEventsSchema = z14.object({
3122
+ ["message" /* Message */]: z14.tuple([
3123
+ z14.object({
3124
+ taskId: z14.string(),
3125
+ action: z14.union([z14.literal("created"), z14.literal("updated")]),
3059
3126
  message: clineMessageSchema
3060
3127
  })
3061
3128
  ]),
3062
- ["taskCreated" /* TaskCreated */]: z13.tuple([z13.string()]),
3063
- ["taskStarted" /* TaskStarted */]: z13.tuple([z13.string()]),
3064
- ["taskModeSwitched" /* TaskModeSwitched */]: z13.tuple([z13.string(), z13.string()]),
3065
- ["taskPaused" /* TaskPaused */]: z13.tuple([z13.string()]),
3066
- ["taskUnpaused" /* TaskUnpaused */]: z13.tuple([z13.string()]),
3067
- ["taskAskResponded" /* TaskAskResponded */]: z13.tuple([z13.string()]),
3068
- ["taskAborted" /* TaskAborted */]: z13.tuple([z13.string()]),
3069
- ["taskSpawned" /* TaskSpawned */]: z13.tuple([z13.string(), z13.string()]),
3070
- ["taskCompleted" /* TaskCompleted */]: z13.tuple([z13.string(), tokenUsageSchema, toolUsageSchema, isSubtaskSchema]),
3071
- ["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]: z13.tuple([z13.string(), tokenUsageSchema]),
3072
- ["taskToolFailed" /* TaskToolFailed */]: z13.tuple([z13.string(), toolNamesSchema, z13.string()])
3129
+ ["taskCreated" /* TaskCreated */]: z14.tuple([z14.string()]),
3130
+ ["taskStarted" /* TaskStarted */]: z14.tuple([z14.string()]),
3131
+ ["taskModeSwitched" /* TaskModeSwitched */]: z14.tuple([z14.string(), z14.string()]),
3132
+ ["taskPaused" /* TaskPaused */]: z14.tuple([z14.string()]),
3133
+ ["taskUnpaused" /* TaskUnpaused */]: z14.tuple([z14.string()]),
3134
+ ["taskAskResponded" /* TaskAskResponded */]: z14.tuple([z14.string()]),
3135
+ ["taskAborted" /* TaskAborted */]: z14.tuple([z14.string()]),
3136
+ ["taskSpawned" /* TaskSpawned */]: z14.tuple([z14.string(), z14.string()]),
3137
+ ["taskCompleted" /* TaskCompleted */]: z14.tuple([z14.string(), tokenUsageSchema, toolUsageSchema, isSubtaskSchema]),
3138
+ ["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]: z14.tuple([z14.string(), tokenUsageSchema]),
3139
+ ["taskToolFailed" /* TaskToolFailed */]: z14.tuple([z14.string(), toolNamesSchema, z14.string()])
3073
3140
  });
3074
- var ackSchema = z13.object({
3075
- clientId: z13.string(),
3076
- pid: z13.number(),
3077
- ppid: z13.number()
3141
+ var ackSchema = z14.object({
3142
+ clientId: z14.string(),
3143
+ pid: z14.number(),
3144
+ ppid: z14.number()
3078
3145
  });
3079
3146
  var TaskCommandName = /* @__PURE__ */ ((TaskCommandName2) => {
3080
3147
  TaskCommandName2["StartNewTask"] = "StartNewTask";
@@ -3082,95 +3149,95 @@ var TaskCommandName = /* @__PURE__ */ ((TaskCommandName2) => {
3082
3149
  TaskCommandName2["CloseTask"] = "CloseTask";
3083
3150
  return TaskCommandName2;
3084
3151
  })(TaskCommandName || {});
3085
- var taskCommandSchema = z13.discriminatedUnion("commandName", [
3086
- z13.object({
3087
- commandName: z13.literal("StartNewTask" /* StartNewTask */),
3088
- data: z13.object({
3152
+ var taskCommandSchema = z14.discriminatedUnion("commandName", [
3153
+ z14.object({
3154
+ commandName: z14.literal("StartNewTask" /* StartNewTask */),
3155
+ data: z14.object({
3089
3156
  configuration: rooCodeSettingsSchema,
3090
- text: z13.string(),
3091
- images: z13.array(z13.string()).optional(),
3092
- newTab: z13.boolean().optional()
3157
+ text: z14.string(),
3158
+ images: z14.array(z14.string()).optional(),
3159
+ newTab: z14.boolean().optional()
3093
3160
  })
3094
3161
  }),
3095
- z13.object({
3096
- commandName: z13.literal("CancelTask" /* CancelTask */),
3097
- data: z13.string()
3162
+ z14.object({
3163
+ commandName: z14.literal("CancelTask" /* CancelTask */),
3164
+ data: z14.string()
3098
3165
  }),
3099
- z13.object({
3100
- commandName: z13.literal("CloseTask" /* CloseTask */),
3101
- data: z13.string()
3166
+ z14.object({
3167
+ commandName: z14.literal("CloseTask" /* CloseTask */),
3168
+ data: z14.string()
3102
3169
  })
3103
3170
  ]);
3104
- var taskEventSchema = z13.discriminatedUnion("eventName", [
3105
- z13.object({
3106
- eventName: z13.literal("message" /* Message */),
3171
+ var taskEventSchema = z14.discriminatedUnion("eventName", [
3172
+ z14.object({
3173
+ eventName: z14.literal("message" /* Message */),
3107
3174
  payload: rooCodeEventsSchema.shape["message" /* Message */],
3108
- taskId: z13.number().optional()
3175
+ taskId: z14.number().optional()
3109
3176
  }),
3110
- z13.object({
3111
- eventName: z13.literal("taskCreated" /* TaskCreated */),
3177
+ z14.object({
3178
+ eventName: z14.literal("taskCreated" /* TaskCreated */),
3112
3179
  payload: rooCodeEventsSchema.shape["taskCreated" /* TaskCreated */],
3113
- taskId: z13.number().optional()
3180
+ taskId: z14.number().optional()
3114
3181
  }),
3115
- z13.object({
3116
- eventName: z13.literal("taskStarted" /* TaskStarted */),
3182
+ z14.object({
3183
+ eventName: z14.literal("taskStarted" /* TaskStarted */),
3117
3184
  payload: rooCodeEventsSchema.shape["taskStarted" /* TaskStarted */],
3118
- taskId: z13.number().optional()
3185
+ taskId: z14.number().optional()
3119
3186
  }),
3120
- z13.object({
3121
- eventName: z13.literal("taskModeSwitched" /* TaskModeSwitched */),
3187
+ z14.object({
3188
+ eventName: z14.literal("taskModeSwitched" /* TaskModeSwitched */),
3122
3189
  payload: rooCodeEventsSchema.shape["taskModeSwitched" /* TaskModeSwitched */],
3123
- taskId: z13.number().optional()
3190
+ taskId: z14.number().optional()
3124
3191
  }),
3125
- z13.object({
3126
- eventName: z13.literal("taskPaused" /* TaskPaused */),
3192
+ z14.object({
3193
+ eventName: z14.literal("taskPaused" /* TaskPaused */),
3127
3194
  payload: rooCodeEventsSchema.shape["taskPaused" /* TaskPaused */],
3128
- taskId: z13.number().optional()
3195
+ taskId: z14.number().optional()
3129
3196
  }),
3130
- z13.object({
3131
- eventName: z13.literal("taskUnpaused" /* TaskUnpaused */),
3197
+ z14.object({
3198
+ eventName: z14.literal("taskUnpaused" /* TaskUnpaused */),
3132
3199
  payload: rooCodeEventsSchema.shape["taskUnpaused" /* TaskUnpaused */],
3133
- taskId: z13.number().optional()
3200
+ taskId: z14.number().optional()
3134
3201
  }),
3135
- z13.object({
3136
- eventName: z13.literal("taskAskResponded" /* TaskAskResponded */),
3202
+ z14.object({
3203
+ eventName: z14.literal("taskAskResponded" /* TaskAskResponded */),
3137
3204
  payload: rooCodeEventsSchema.shape["taskAskResponded" /* TaskAskResponded */],
3138
- taskId: z13.number().optional()
3205
+ taskId: z14.number().optional()
3139
3206
  }),
3140
- z13.object({
3141
- eventName: z13.literal("taskAborted" /* TaskAborted */),
3207
+ z14.object({
3208
+ eventName: z14.literal("taskAborted" /* TaskAborted */),
3142
3209
  payload: rooCodeEventsSchema.shape["taskAborted" /* TaskAborted */],
3143
- taskId: z13.number().optional()
3210
+ taskId: z14.number().optional()
3144
3211
  }),
3145
- z13.object({
3146
- eventName: z13.literal("taskSpawned" /* TaskSpawned */),
3212
+ z14.object({
3213
+ eventName: z14.literal("taskSpawned" /* TaskSpawned */),
3147
3214
  payload: rooCodeEventsSchema.shape["taskSpawned" /* TaskSpawned */],
3148
- taskId: z13.number().optional()
3215
+ taskId: z14.number().optional()
3149
3216
  }),
3150
- z13.object({
3151
- eventName: z13.literal("taskCompleted" /* TaskCompleted */),
3217
+ z14.object({
3218
+ eventName: z14.literal("taskCompleted" /* TaskCompleted */),
3152
3219
  payload: rooCodeEventsSchema.shape["taskCompleted" /* TaskCompleted */],
3153
- taskId: z13.number().optional()
3220
+ taskId: z14.number().optional()
3154
3221
  }),
3155
- z13.object({
3156
- eventName: z13.literal("taskTokenUsageUpdated" /* TaskTokenUsageUpdated */),
3222
+ z14.object({
3223
+ eventName: z14.literal("taskTokenUsageUpdated" /* TaskTokenUsageUpdated */),
3157
3224
  payload: rooCodeEventsSchema.shape["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */],
3158
- taskId: z13.number().optional()
3225
+ taskId: z14.number().optional()
3159
3226
  }),
3160
- z13.object({
3161
- eventName: z13.literal("taskToolFailed" /* TaskToolFailed */),
3227
+ z14.object({
3228
+ eventName: z14.literal("taskToolFailed" /* TaskToolFailed */),
3162
3229
  payload: rooCodeEventsSchema.shape["taskToolFailed" /* TaskToolFailed */],
3163
- taskId: z13.number().optional()
3230
+ taskId: z14.number().optional()
3164
3231
  }),
3165
- z13.object({
3166
- eventName: z13.literal("evalPass" /* EvalPass */),
3167
- payload: z13.undefined(),
3168
- taskId: z13.number()
3232
+ z14.object({
3233
+ eventName: z14.literal("evalPass" /* EvalPass */),
3234
+ payload: z14.undefined(),
3235
+ taskId: z14.number()
3169
3236
  }),
3170
- z13.object({
3171
- eventName: z13.literal("evalFail" /* EvalFail */),
3172
- payload: z13.undefined(),
3173
- taskId: z13.number()
3237
+ z14.object({
3238
+ eventName: z14.literal("evalFail" /* EvalFail */),
3239
+ payload: z14.undefined(),
3240
+ taskId: z14.number()
3174
3241
  })
3175
3242
  ]);
3176
3243
  var IpcMessageType = /* @__PURE__ */ ((IpcMessageType2) => {
@@ -3186,133 +3253,143 @@ var IpcOrigin = /* @__PURE__ */ ((IpcOrigin2) => {
3186
3253
  IpcOrigin2["Server"] = "server";
3187
3254
  return IpcOrigin2;
3188
3255
  })(IpcOrigin || {});
3189
- var ipcMessageSchema = z13.discriminatedUnion("type", [
3190
- z13.object({
3191
- type: z13.literal("Ack" /* Ack */),
3192
- origin: z13.literal("server" /* Server */),
3256
+ var ipcMessageSchema = z14.discriminatedUnion("type", [
3257
+ z14.object({
3258
+ type: z14.literal("Ack" /* Ack */),
3259
+ origin: z14.literal("server" /* Server */),
3193
3260
  data: ackSchema
3194
3261
  }),
3195
- z13.object({
3196
- type: z13.literal("TaskCommand" /* TaskCommand */),
3197
- origin: z13.literal("client" /* Client */),
3198
- clientId: z13.string(),
3262
+ z14.object({
3263
+ type: z14.literal("TaskCommand" /* TaskCommand */),
3264
+ origin: z14.literal("client" /* Client */),
3265
+ clientId: z14.string(),
3199
3266
  data: taskCommandSchema
3200
3267
  }),
3201
- z13.object({
3202
- type: z13.literal("TaskEvent" /* TaskEvent */),
3203
- origin: z13.literal("server" /* Server */),
3204
- relayClientId: z13.string().optional(),
3268
+ z14.object({
3269
+ type: z14.literal("TaskEvent" /* TaskEvent */),
3270
+ origin: z14.literal("server" /* Server */),
3271
+ relayClientId: z14.string().optional(),
3205
3272
  data: taskEventSchema
3206
3273
  })
3207
3274
  ]);
3208
3275
 
3209
3276
  // src/marketplace.ts
3210
- import { z as z14 } from "zod";
3211
- var mcpParameterSchema = z14.object({
3212
- name: z14.string().min(1),
3213
- key: z14.string().min(1),
3214
- placeholder: z14.string().optional(),
3215
- optional: z14.boolean().optional().default(false)
3277
+ import { z as z15 } from "zod";
3278
+ var mcpParameterSchema = z15.object({
3279
+ name: z15.string().min(1),
3280
+ key: z15.string().min(1),
3281
+ placeholder: z15.string().optional(),
3282
+ optional: z15.boolean().optional().default(false)
3216
3283
  });
3217
- var mcpInstallationMethodSchema = z14.object({
3218
- name: z14.string().min(1),
3219
- content: z14.string().min(1),
3220
- parameters: z14.array(mcpParameterSchema).optional(),
3221
- prerequisites: z14.array(z14.string()).optional()
3284
+ var mcpInstallationMethodSchema = z15.object({
3285
+ name: z15.string().min(1),
3286
+ content: z15.string().min(1),
3287
+ parameters: z15.array(mcpParameterSchema).optional(),
3288
+ prerequisites: z15.array(z15.string()).optional()
3222
3289
  });
3223
- var marketplaceItemTypeSchema = z14.enum(["mode", "mcp"]);
3224
- var baseMarketplaceItemSchema = z14.object({
3225
- id: z14.string().min(1),
3226
- name: z14.string().min(1, "Name is required"),
3227
- description: z14.string(),
3228
- author: z14.string().optional(),
3229
- authorUrl: z14.string().url("Author URL must be a valid URL").optional(),
3230
- tags: z14.array(z14.string()).optional(),
3231
- prerequisites: z14.array(z14.string()).optional()
3290
+ var marketplaceItemTypeSchema = z15.enum(["mode", "mcp"]);
3291
+ var baseMarketplaceItemSchema = z15.object({
3292
+ id: z15.string().min(1),
3293
+ name: z15.string().min(1, "Name is required"),
3294
+ description: z15.string(),
3295
+ author: z15.string().optional(),
3296
+ authorUrl: z15.string().url("Author URL must be a valid URL").optional(),
3297
+ tags: z15.array(z15.string()).optional(),
3298
+ prerequisites: z15.array(z15.string()).optional()
3232
3299
  });
3233
3300
  var modeMarketplaceItemSchema = baseMarketplaceItemSchema.extend({
3234
- content: z14.string().min(1)
3301
+ content: z15.string().min(1)
3235
3302
  // YAML content for modes
3236
3303
  });
3237
3304
  var mcpMarketplaceItemSchema = baseMarketplaceItemSchema.extend({
3238
- url: z14.string().url(),
3305
+ url: z15.string().url(),
3239
3306
  // Required url field
3240
- content: z14.union([z14.string().min(1), z14.array(mcpInstallationMethodSchema)]),
3307
+ content: z15.union([z15.string().min(1), z15.array(mcpInstallationMethodSchema)]),
3241
3308
  // Single config or array of methods
3242
- parameters: z14.array(mcpParameterSchema).optional()
3309
+ parameters: z15.array(mcpParameterSchema).optional()
3243
3310
  });
3244
- var marketplaceItemSchema = z14.discriminatedUnion("type", [
3311
+ var marketplaceItemSchema = z15.discriminatedUnion("type", [
3245
3312
  // Mode marketplace item
3246
3313
  modeMarketplaceItemSchema.extend({
3247
- type: z14.literal("mode")
3314
+ type: z15.literal("mode")
3248
3315
  }),
3249
3316
  // MCP marketplace item
3250
3317
  mcpMarketplaceItemSchema.extend({
3251
- type: z14.literal("mcp")
3318
+ type: z15.literal("mcp")
3252
3319
  })
3253
3320
  ]);
3254
- var installMarketplaceItemOptionsSchema = z14.object({
3255
- target: z14.enum(["global", "project"]).optional().default("project"),
3256
- parameters: z14.record(z14.string(), z14.any()).optional()
3321
+ var installMarketplaceItemOptionsSchema = z15.object({
3322
+ target: z15.enum(["global", "project"]).optional().default("project"),
3323
+ parameters: z15.record(z15.string(), z15.any()).optional()
3257
3324
  });
3258
3325
 
3259
3326
  // src/mcp.ts
3260
- import { z as z15 } from "zod";
3261
- var mcpExecutionStatusSchema = z15.discriminatedUnion("status", [
3262
- z15.object({
3263
- executionId: z15.string(),
3264
- status: z15.literal("started"),
3265
- serverName: z15.string(),
3266
- toolName: z15.string()
3267
- }),
3268
- z15.object({
3269
- executionId: z15.string(),
3270
- status: z15.literal("output"),
3271
- response: z15.string()
3272
- }),
3273
- z15.object({
3274
- executionId: z15.string(),
3275
- status: z15.literal("completed"),
3276
- response: z15.string().optional()
3277
- }),
3278
- z15.object({
3279
- executionId: z15.string(),
3280
- status: z15.literal("error"),
3281
- error: z15.string().optional()
3282
- })
3283
- ]);
3284
-
3285
- // src/terminal.ts
3286
3327
  import { z as z16 } from "zod";
3287
- var commandExecutionStatusSchema = z16.discriminatedUnion("status", [
3328
+ var mcpExecutionStatusSchema = z16.discriminatedUnion("status", [
3288
3329
  z16.object({
3289
3330
  executionId: z16.string(),
3290
3331
  status: z16.literal("started"),
3291
- pid: z16.number().optional(),
3292
- command: z16.string()
3332
+ serverName: z16.string(),
3333
+ toolName: z16.string()
3293
3334
  }),
3294
3335
  z16.object({
3295
3336
  executionId: z16.string(),
3296
3337
  status: z16.literal("output"),
3297
- output: z16.string()
3338
+ response: z16.string()
3298
3339
  }),
3299
3340
  z16.object({
3300
3341
  executionId: z16.string(),
3301
- status: z16.literal("exited"),
3302
- exitCode: z16.number().optional()
3342
+ status: z16.literal("completed"),
3343
+ response: z16.string().optional()
3303
3344
  }),
3304
3345
  z16.object({
3305
3346
  executionId: z16.string(),
3306
- status: z16.literal("fallback")
3347
+ status: z16.literal("error"),
3348
+ error: z16.string().optional()
3307
3349
  })
3308
3350
  ]);
3351
+
3352
+ // src/terminal.ts
3353
+ import { z as z17 } from "zod";
3354
+ var commandExecutionStatusSchema = z17.discriminatedUnion("status", [
3355
+ z17.object({
3356
+ executionId: z17.string(),
3357
+ status: z17.literal("started"),
3358
+ pid: z17.number().optional(),
3359
+ command: z17.string()
3360
+ }),
3361
+ z17.object({
3362
+ executionId: z17.string(),
3363
+ status: z17.literal("output"),
3364
+ output: z17.string()
3365
+ }),
3366
+ z17.object({
3367
+ executionId: z17.string(),
3368
+ status: z17.literal("exited"),
3369
+ exitCode: z17.number().optional()
3370
+ }),
3371
+ z17.object({
3372
+ executionId: z17.string(),
3373
+ status: z17.literal("fallback")
3374
+ })
3375
+ ]);
3376
+
3377
+ // src/todo.ts
3378
+ import { z as z18 } from "zod";
3379
+ var todoStatusSchema = z18.enum(["pending", "in_progress", "completed"]);
3380
+ var todoItemSchema = z18.object({
3381
+ id: z18.string(),
3382
+ content: z18.string(),
3383
+ status: todoStatusSchema
3384
+ });
3309
3385
  export {
3310
3386
  ANTHROPIC_DEFAULT_MAX_TOKENS,
3387
+ AWS_INFERENCE_PROFILE_MAPPING,
3311
3388
  BEDROCK_DEFAULT_CONTEXT,
3312
3389
  BEDROCK_DEFAULT_TEMPERATURE,
3313
3390
  BEDROCK_MAX_TOKENS,
3314
3391
  BEDROCK_REGIONS,
3315
- BEDROCK_REGION_INFO,
3392
+ CODEBASE_INDEX_DEFAULTS,
3316
3393
  DEEP_SEEK_DEFAULT_TEMPERATURE,
3317
3394
  EVALS_SETTINGS,
3318
3395
  EVALS_TIMEOUT,
@@ -3357,7 +3434,6 @@ export {
3357
3434
  clineMessageSchema,
3358
3435
  clineSaySchema,
3359
3436
  clineSays,
3360
- cloudTelemetryPropertiesSchema,
3361
3437
  codeActionIds,
3362
3438
  codebaseIndexConfigSchema,
3363
3439
  codebaseIndexModelsSchema,
@@ -3373,6 +3449,7 @@ export {
3373
3449
  experimentIds,
3374
3450
  experimentIdsSchema,
3375
3451
  experimentsSchema,
3452
+ followUpDataSchema,
3376
3453
  geminiDefaultModelId,
3377
3454
  geminiModels,
3378
3455
  getModelId,
@@ -3436,6 +3513,7 @@ export {
3436
3513
  rooCodeSettingsSchema,
3437
3514
  rooCodeTelemetryEventSchema,
3438
3515
  shareResponseSchema,
3516
+ suggestionItemSchema,
3439
3517
  taskCommandSchema,
3440
3518
  taskEventSchema,
3441
3519
  taskPropertiesSchema,
@@ -3443,6 +3521,8 @@ export {
3443
3521
  telemetrySettings,
3444
3522
  telemetrySettingsSchema,
3445
3523
  terminalActionIds,
3524
+ todoItemSchema,
3525
+ todoStatusSchema,
3446
3526
  tokenUsageSchema,
3447
3527
  toolGroups,
3448
3528
  toolGroupsSchema,