@roo-code/types 1.29.0 → 1.30.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 CHANGED
@@ -21,11 +21,11 @@ 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
+ AWS_INFERENCE_PROFILE_MAPPING: () => AWS_INFERENCE_PROFILE_MAPPING,
24
25
  BEDROCK_DEFAULT_CONTEXT: () => BEDROCK_DEFAULT_CONTEXT,
25
26
  BEDROCK_DEFAULT_TEMPERATURE: () => BEDROCK_DEFAULT_TEMPERATURE,
26
27
  BEDROCK_MAX_TOKENS: () => BEDROCK_MAX_TOKENS,
27
28
  BEDROCK_REGIONS: () => BEDROCK_REGIONS,
28
- BEDROCK_REGION_INFO: () => BEDROCK_REGION_INFO,
29
29
  DEEP_SEEK_DEFAULT_TEMPERATURE: () => DEEP_SEEK_DEFAULT_TEMPERATURE,
30
30
  EVALS_SETTINGS: () => EVALS_SETTINGS,
31
31
  EVALS_TIMEOUT: () => EVALS_TIMEOUT,
@@ -70,7 +70,6 @@ __export(index_exports, {
70
70
  clineMessageSchema: () => clineMessageSchema,
71
71
  clineSaySchema: () => clineSaySchema,
72
72
  clineSays: () => clineSays,
73
- cloudTelemetryPropertiesSchema: () => cloudTelemetryPropertiesSchema,
74
73
  codeActionIds: () => codeActionIds,
75
74
  codebaseIndexConfigSchema: () => codebaseIndexConfigSchema,
76
75
  codebaseIndexModelsSchema: () => codebaseIndexModelsSchema,
@@ -86,6 +85,7 @@ __export(index_exports, {
86
85
  experimentIds: () => experimentIds,
87
86
  experimentIdsSchema: () => experimentIdsSchema,
88
87
  experimentsSchema: () => experimentsSchema,
88
+ followUpDataSchema: () => followUpDataSchema,
89
89
  geminiDefaultModelId: () => geminiDefaultModelId,
90
90
  geminiModels: () => geminiModels,
91
91
  getModelId: () => getModelId,
@@ -149,6 +149,7 @@ __export(index_exports, {
149
149
  rooCodeSettingsSchema: () => rooCodeSettingsSchema,
150
150
  rooCodeTelemetryEventSchema: () => rooCodeTelemetryEventSchema,
151
151
  shareResponseSchema: () => shareResponseSchema,
152
+ suggestionItemSchema: () => suggestionItemSchema,
152
153
  taskCommandSchema: () => taskCommandSchema,
153
154
  taskEventSchema: () => taskEventSchema,
154
155
  taskPropertiesSchema: () => taskPropertiesSchema,
@@ -648,65 +649,46 @@ var bedrockModels = {
648
649
  var BEDROCK_DEFAULT_TEMPERATURE = 0.3;
649
650
  var BEDROCK_MAX_TOKENS = 4096;
650
651
  var BEDROCK_DEFAULT_CONTEXT = 128e3;
651
- var BEDROCK_REGION_INFO = {
652
- /*
653
- * This JSON generated by AWS's AI assistant - Amazon Q on March 29, 2025
654
- *
655
- * - Africa (Cape Town) region does not appear to support Amazon Bedrock at this time.
656
- * - Some Asia Pacific regions, such as Asia Pacific (Hong Kong) and Asia Pacific (Jakarta), are not listed among the supported regions for Bedrock services.
657
- * - Middle East regions, including Middle East (Bahrain) and Middle East (UAE), are not mentioned in the list of supported regions for Bedrock. [3]
658
- * - China regions (Beijing and Ningxia) are not listed as supported for Amazon Bedrock.
659
- * - Some newer or specialized AWS regions may not have Bedrock support yet.
660
- */
661
- "us.": { regionId: "us-east-1", description: "US East (N. Virginia)", pattern: "us-", multiRegion: true },
662
- "use.": { regionId: "us-east-1", description: "US East (N. Virginia)" },
663
- "use1.": { regionId: "us-east-1", description: "US East (N. Virginia)" },
664
- "use2.": { regionId: "us-east-2", description: "US East (Ohio)" },
665
- "usw.": { regionId: "us-west-2", description: "US West (Oregon)" },
666
- "usw2.": { regionId: "us-west-2", description: "US West (Oregon)" },
667
- "ug.": {
668
- regionId: "us-gov-west-1",
669
- description: "AWS GovCloud (US-West)",
670
- pattern: "us-gov-",
671
- multiRegion: true
672
- },
673
- "uge1.": { regionId: "us-gov-east-1", description: "AWS GovCloud (US-East)" },
674
- "ugw1.": { regionId: "us-gov-west-1", description: "AWS GovCloud (US-West)" },
675
- "eu.": { regionId: "eu-west-1", description: "Europe (Ireland)", pattern: "eu-", multiRegion: true },
676
- "euw1.": { regionId: "eu-west-1", description: "Europe (Ireland)" },
677
- "euw2.": { regionId: "eu-west-2", description: "Europe (London)" },
678
- "euw3.": { regionId: "eu-west-3", description: "Europe (Paris)" },
679
- "euc1.": { regionId: "eu-central-1", description: "Europe (Frankfurt)" },
680
- "euc2.": { regionId: "eu-central-2", description: "Europe (Zurich)" },
681
- "eun1.": { regionId: "eu-north-1", description: "Europe (Stockholm)" },
682
- "eus1.": { regionId: "eu-south-1", description: "Europe (Milan)" },
683
- "eus2.": { regionId: "eu-south-2", description: "Europe (Spain)" },
684
- "ap.": {
685
- regionId: "ap-southeast-1",
686
- description: "Asia Pacific (Singapore)",
687
- pattern: "ap-",
688
- multiRegion: true
689
- },
690
- "ape1.": { regionId: "ap-east-1", description: "Asia Pacific (Hong Kong)" },
691
- "apne1.": { regionId: "ap-northeast-1", description: "Asia Pacific (Tokyo)" },
692
- "apne2.": { regionId: "ap-northeast-2", description: "Asia Pacific (Seoul)" },
693
- "apne3.": { regionId: "ap-northeast-3", description: "Asia Pacific (Osaka)" },
694
- "aps1.": { regionId: "ap-south-1", description: "Asia Pacific (Mumbai)" },
695
- "aps2.": { regionId: "ap-south-2", description: "Asia Pacific (Hyderabad)" },
696
- "apse1.": { regionId: "ap-southeast-1", description: "Asia Pacific (Singapore)" },
697
- "apse2.": { regionId: "ap-southeast-2", description: "Asia Pacific (Sydney)" },
698
- "ca.": { regionId: "ca-central-1", description: "Canada (Central)", pattern: "ca-", multiRegion: true },
699
- "cac1.": { regionId: "ca-central-1", description: "Canada (Central)" },
700
- "sa.": { regionId: "sa-east-1", description: "South America (S\xE3o Paulo)", pattern: "sa-", multiRegion: true },
701
- "sae1.": { regionId: "sa-east-1", description: "South America (S\xE3o Paulo)" },
702
- // These are not official - they weren't generated by Amazon Q nor were
703
- // found in the AWS documentation but another Roo contributor found apac.
704
- // Was needed so I've added the pattern of the other geo zones.
705
- "apac.": { regionId: "ap-southeast-1", description: "Default APAC region", pattern: "ap-", multiRegion: true },
706
- "emea.": { regionId: "eu-west-1", description: "Default EMEA region", pattern: "eu-", multiRegion: true },
707
- "amer.": { regionId: "us-east-1", description: "Default Americas region", pattern: "us-", multiRegion: true }
708
- };
709
- 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));
652
+ var AWS_INFERENCE_PROFILE_MAPPING = [
653
+ // US Government Cloud → ug. inference profile (most specific prefix first)
654
+ ["us-gov-", "ug."],
655
+ // Americas regions → us. inference profile
656
+ ["us-", "us."],
657
+ // Europe regions eu. inference profile
658
+ ["eu-", "eu."],
659
+ // Asia Pacific regions apac. inference profile
660
+ ["ap-", "apac."],
661
+ // Canada regions → ca. inference profile
662
+ ["ca-", "ca."],
663
+ // South America regions sa. inference profile
664
+ ["sa-", "sa."]
665
+ ];
666
+ var BEDROCK_REGIONS = [
667
+ { value: "us-east-1", label: "us-east-1" },
668
+ { value: "us-east-2", label: "us-east-2" },
669
+ { value: "us-west-1", label: "us-west-1" },
670
+ { value: "us-west-2", label: "us-west-2" },
671
+ { value: "ap-northeast-1", label: "ap-northeast-1" },
672
+ { value: "ap-northeast-2", label: "ap-northeast-2" },
673
+ { value: "ap-northeast-3", label: "ap-northeast-3" },
674
+ { value: "ap-south-1", label: "ap-south-1" },
675
+ { value: "ap-south-2", label: "ap-south-2" },
676
+ { value: "ap-southeast-1", label: "ap-southeast-1" },
677
+ { value: "ap-southeast-2", label: "ap-southeast-2" },
678
+ { value: "ap-east-1", label: "ap-east-1" },
679
+ { value: "eu-central-1", label: "eu-central-1" },
680
+ { value: "eu-central-2", label: "eu-central-2" },
681
+ { value: "eu-west-1", label: "eu-west-1" },
682
+ { value: "eu-west-2", label: "eu-west-2" },
683
+ { value: "eu-west-3", label: "eu-west-3" },
684
+ { value: "eu-north-1", label: "eu-north-1" },
685
+ { value: "eu-south-1", label: "eu-south-1" },
686
+ { value: "eu-south-2", label: "eu-south-2" },
687
+ { value: "ca-central-1", label: "ca-central-1" },
688
+ { value: "sa-east-1", label: "sa-east-1" },
689
+ { value: "us-gov-east-1", label: "us-gov-east-1" },
690
+ { value: "us-gov-west-1", label: "us-gov-west-1" }
691
+ ].sort((a, b) => a.value.localeCompare(b.value));
710
692
 
711
693
  // src/providers/chutes.ts
712
694
  var chutesDefaultModelId = "deepseek-ai/DeepSeek-R1-0528";
@@ -919,27 +901,47 @@ var claudeCodeModels = {
919
901
  "claude-sonnet-4-20250514": {
920
902
  ...anthropicModels["claude-sonnet-4-20250514"],
921
903
  supportsImages: false,
922
- supportsPromptCache: false
904
+ supportsPromptCache: true,
905
+ // Claude Code does report cache tokens
906
+ supportsReasoningEffort: false,
907
+ supportsReasoningBudget: false,
908
+ requiredReasoningBudget: false
923
909
  },
924
910
  "claude-opus-4-20250514": {
925
911
  ...anthropicModels["claude-opus-4-20250514"],
926
912
  supportsImages: false,
927
- supportsPromptCache: false
913
+ supportsPromptCache: true,
914
+ // Claude Code does report cache tokens
915
+ supportsReasoningEffort: false,
916
+ supportsReasoningBudget: false,
917
+ requiredReasoningBudget: false
928
918
  },
929
919
  "claude-3-7-sonnet-20250219": {
930
920
  ...anthropicModels["claude-3-7-sonnet-20250219"],
931
921
  supportsImages: false,
932
- supportsPromptCache: false
922
+ supportsPromptCache: true,
923
+ // Claude Code does report cache tokens
924
+ supportsReasoningEffort: false,
925
+ supportsReasoningBudget: false,
926
+ requiredReasoningBudget: false
933
927
  },
934
928
  "claude-3-5-sonnet-20241022": {
935
929
  ...anthropicModels["claude-3-5-sonnet-20241022"],
936
930
  supportsImages: false,
937
- supportsPromptCache: false
931
+ supportsPromptCache: true,
932
+ // Claude Code does report cache tokens
933
+ supportsReasoningEffort: false,
934
+ supportsReasoningBudget: false,
935
+ requiredReasoningBudget: false
938
936
  },
939
937
  "claude-3-5-haiku-20241022": {
940
938
  ...anthropicModels["claude-3-5-haiku-20241022"],
941
939
  supportsImages: false,
942
- supportsPromptCache: false
940
+ supportsPromptCache: true,
941
+ // Claude Code does report cache tokens
942
+ supportsReasoningEffort: false,
943
+ supportsReasoningBudget: false,
944
+ requiredReasoningBudget: false
943
945
  }
944
946
  };
945
947
 
@@ -1353,7 +1355,7 @@ var groqModels = {
1353
1355
  description: "Alibaba Qwen QwQ 32B model, 128K context."
1354
1356
  },
1355
1357
  "qwen/qwen3-32b": {
1356
- maxTokens: 131072,
1358
+ maxTokens: 40960,
1357
1359
  contextWindow: 131072,
1358
1360
  supportsImages: false,
1359
1361
  supportsPromptCache: false,
@@ -2315,7 +2317,8 @@ var codebaseIndexConfigSchema = import_zod.z.object({
2315
2317
  codebaseIndexQdrantUrl: import_zod.z.string().optional(),
2316
2318
  codebaseIndexEmbedderProvider: import_zod.z.enum(["openai", "ollama", "openai-compatible"]).optional(),
2317
2319
  codebaseIndexEmbedderBaseUrl: import_zod.z.string().optional(),
2318
- codebaseIndexEmbedderModelId: import_zod.z.string().optional()
2320
+ codebaseIndexEmbedderModelId: import_zod.z.string().optional(),
2321
+ codebaseIndexSearchMinScore: import_zod.z.number().min(0).max(1).optional()
2319
2322
  });
2320
2323
  var codebaseIndexModelsSchema = import_zod.z.object({
2321
2324
  openai: import_zod.z.record(import_zod.z.string(), import_zod.z.object({ dimension: import_zod.z.number() })).optional(),
@@ -2390,6 +2393,7 @@ var providerNames = [
2390
2393
  "vscode-lm",
2391
2394
  "lmstudio",
2392
2395
  "gemini",
2396
+ "gemini-cli",
2393
2397
  "openai-native",
2394
2398
  "mistral",
2395
2399
  "deepseek",
@@ -2498,6 +2502,10 @@ var geminiSchema = apiModelIdProviderModelSchema.extend({
2498
2502
  geminiApiKey: import_zod3.z.string().optional(),
2499
2503
  googleGeminiBaseUrl: import_zod3.z.string().optional()
2500
2504
  });
2505
+ var geminiCliSchema = apiModelIdProviderModelSchema.extend({
2506
+ geminiCliOAuthPath: import_zod3.z.string().optional(),
2507
+ geminiCliProjectId: import_zod3.z.string().optional()
2508
+ });
2501
2509
  var openAiNativeSchema = apiModelIdProviderModelSchema.extend({
2502
2510
  openAiNativeApiKey: import_zod3.z.string().optional(),
2503
2511
  openAiNativeBaseUrl: import_zod3.z.string().optional()
@@ -2551,6 +2559,7 @@ var providerSettingsSchemaDiscriminated = import_zod3.z.discriminatedUnion("apiP
2551
2559
  vsCodeLmSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("vscode-lm") })),
2552
2560
  lmStudioSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("lmstudio") })),
2553
2561
  geminiSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("gemini") })),
2562
+ geminiCliSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("gemini-cli") })),
2554
2563
  openAiNativeSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("openai-native") })),
2555
2564
  mistralSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("mistral") })),
2556
2565
  deepSeekSchema.merge(import_zod3.z.object({ apiProvider: import_zod3.z.literal("deepseek") })),
@@ -2577,6 +2586,7 @@ var providerSettingsSchema = import_zod3.z.object({
2577
2586
  ...vsCodeLmSchema.shape,
2578
2587
  ...lmStudioSchema.shape,
2579
2588
  ...geminiSchema.shape,
2589
+ ...geminiCliSchema.shape,
2580
2590
  ...openAiNativeSchema.shape,
2581
2591
  ...mistralSchema.shape,
2582
2592
  ...deepSeekSchema.shape,
@@ -2725,6 +2735,7 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
2725
2735
  TelemetryEventName2["TASK_CONVERSATION_MESSAGE"] = "Conversation Message";
2726
2736
  TelemetryEventName2["LLM_COMPLETION"] = "LLM Completion";
2727
2737
  TelemetryEventName2["MODE_SWITCH"] = "Mode Switched";
2738
+ TelemetryEventName2["MODE_SELECTOR_OPENED"] = "Mode Selector Opened";
2728
2739
  TelemetryEventName2["TOOL_USED"] = "Tool Used";
2729
2740
  TelemetryEventName2["CHECKPOINT_CREATED"] = "Checkpoint Created";
2730
2741
  TelemetryEventName2["CHECKPOINT_RESTORED"] = "Checkpoint Restored";
@@ -2742,6 +2753,14 @@ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
2742
2753
  TelemetryEventName2["MARKETPLACE_ITEM_REMOVED"] = "Marketplace Item Removed";
2743
2754
  TelemetryEventName2["MARKETPLACE_TAB_VIEWED"] = "Marketplace Tab Viewed";
2744
2755
  TelemetryEventName2["MARKETPLACE_INSTALL_BUTTON_CLICKED"] = "Marketplace Install Button Clicked";
2756
+ TelemetryEventName2["SHARE_BUTTON_CLICKED"] = "Share Button Clicked";
2757
+ TelemetryEventName2["SHARE_ORGANIZATION_CLICKED"] = "Share Organization Clicked";
2758
+ TelemetryEventName2["SHARE_PUBLIC_CLICKED"] = "Share Public Clicked";
2759
+ TelemetryEventName2["SHARE_CONNECT_TO_CLOUD_CLICKED"] = "Share Connect To Cloud Clicked";
2760
+ TelemetryEventName2["ACCOUNT_CONNECT_CLICKED"] = "Account Connect Clicked";
2761
+ TelemetryEventName2["ACCOUNT_CONNECT_SUCCESS"] = "Account Connect Success";
2762
+ TelemetryEventName2["ACCOUNT_LOGOUT_CLICKED"] = "Account Logout Clicked";
2763
+ TelemetryEventName2["ACCOUNT_LOGOUT_SUCCESS"] = "Account Logout Success";
2745
2764
  TelemetryEventName2["SCHEMA_VALIDATION_ERROR"] = "Schema Validation Error";
2746
2765
  TelemetryEventName2["DIFF_APPLICATION_ERROR"] = "Diff Application Error";
2747
2766
  TelemetryEventName2["SHELL_INTEGRATION_ERROR"] = "Shell Integration Error";
@@ -2755,7 +2774,8 @@ var appPropertiesSchema = import_zod7.z.object({
2755
2774
  platform: import_zod7.z.string(),
2756
2775
  editorName: import_zod7.z.string(),
2757
2776
  language: import_zod7.z.string(),
2758
- mode: import_zod7.z.string()
2777
+ mode: import_zod7.z.string(),
2778
+ cloudIsAuthenticated: import_zod7.z.boolean().optional()
2759
2779
  });
2760
2780
  var taskPropertiesSchema = import_zod7.z.object({
2761
2781
  taskId: import_zod7.z.string().optional(),
@@ -2774,9 +2794,6 @@ var telemetryPropertiesSchema = import_zod7.z.object({
2774
2794
  ...taskPropertiesSchema.shape,
2775
2795
  ...gitPropertiesSchema.shape
2776
2796
  });
2777
- var cloudTelemetryPropertiesSchema = import_zod7.z.object({
2778
- ...telemetryPropertiesSchema.shape
2779
- });
2780
2797
  var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
2781
2798
  import_zod7.z.object({
2782
2799
  type: import_zod7.z.enum([
@@ -2785,6 +2802,7 @@ var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
2785
2802
  "Task Completed" /* TASK_COMPLETED */,
2786
2803
  "Conversation Message" /* TASK_CONVERSATION_MESSAGE */,
2787
2804
  "Mode Switched" /* MODE_SWITCH */,
2805
+ "Mode Selector Opened" /* MODE_SELECTOR_OPENED */,
2788
2806
  "Tool Used" /* TOOL_USED */,
2789
2807
  "Checkpoint Created" /* CHECKPOINT_CREATED */,
2790
2808
  "Checkpoint Restored" /* CHECKPOINT_RESTORED */,
@@ -2795,6 +2813,16 @@ var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
2795
2813
  "Authentication Initiated" /* AUTHENTICATION_INITIATED */,
2796
2814
  "Marketplace Item Installed" /* MARKETPLACE_ITEM_INSTALLED */,
2797
2815
  "Marketplace Item Removed" /* MARKETPLACE_ITEM_REMOVED */,
2816
+ "Marketplace Tab Viewed" /* MARKETPLACE_TAB_VIEWED */,
2817
+ "Marketplace Install Button Clicked" /* MARKETPLACE_INSTALL_BUTTON_CLICKED */,
2818
+ "Share Button Clicked" /* SHARE_BUTTON_CLICKED */,
2819
+ "Share Organization Clicked" /* SHARE_ORGANIZATION_CLICKED */,
2820
+ "Share Public Clicked" /* SHARE_PUBLIC_CLICKED */,
2821
+ "Share Connect To Cloud Clicked" /* SHARE_CONNECT_TO_CLOUD_CLICKED */,
2822
+ "Account Connect Clicked" /* ACCOUNT_CONNECT_CLICKED */,
2823
+ "Account Connect Success" /* ACCOUNT_CONNECT_SUCCESS */,
2824
+ "Account Logout Clicked" /* ACCOUNT_LOGOUT_CLICKED */,
2825
+ "Account Logout Success" /* ACCOUNT_LOGOUT_SUCCESS */,
2798
2826
  "Schema Validation Error" /* SCHEMA_VALIDATION_ERROR */,
2799
2827
  "Diff Application Error" /* DIFF_APPLICATION_ERROR */,
2800
2828
  "Shell Integration Error" /* SHELL_INTEGRATION_ERROR */,
@@ -2805,12 +2833,12 @@ var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
2805
2833
  "Mode Setting Changed" /* MODE_SETTINGS_CHANGED */,
2806
2834
  "Custom Mode Created" /* CUSTOM_MODE_CREATED */
2807
2835
  ]),
2808
- properties: cloudTelemetryPropertiesSchema
2836
+ properties: telemetryPropertiesSchema
2809
2837
  }),
2810
2838
  import_zod7.z.object({
2811
2839
  type: import_zod7.z.literal("Task Message" /* TASK_MESSAGE */),
2812
2840
  properties: import_zod7.z.object({
2813
- ...cloudTelemetryPropertiesSchema.shape,
2841
+ ...telemetryPropertiesSchema.shape,
2814
2842
  taskId: import_zod7.z.string(),
2815
2843
  message: clineMessageSchema
2816
2844
  })
@@ -2818,7 +2846,7 @@ var rooCodeTelemetryEventSchema = import_zod7.z.discriminatedUnion("type", [
2818
2846
  import_zod7.z.object({
2819
2847
  type: import_zod7.z.literal("LLM Completion" /* LLM_COMPLETION */),
2820
2848
  properties: import_zod7.z.object({
2821
- ...cloudTelemetryPropertiesSchema.shape,
2849
+ ...telemetryPropertiesSchema.shape,
2822
2850
  inputTokens: import_zod7.z.number(),
2823
2851
  outputTokens: import_zod7.z.number(),
2824
2852
  cacheReadTokens: import_zod7.z.number().optional(),
@@ -2954,6 +2982,7 @@ var commandIds = [
2954
2982
  "handleHumanRelayResponse",
2955
2983
  "newTask",
2956
2984
  "setCustomStoragePath",
2985
+ "importSettings",
2957
2986
  "focusInput",
2958
2987
  "acceptInput",
2959
2988
  "focusPanel"
@@ -3005,6 +3034,8 @@ var globalSettingsSchema = import_zod11.z.object({
3005
3034
  alwaysAllowModeSwitch: import_zod11.z.boolean().optional(),
3006
3035
  alwaysAllowSubtasks: import_zod11.z.boolean().optional(),
3007
3036
  alwaysAllowExecute: import_zod11.z.boolean().optional(),
3037
+ alwaysAllowFollowupQuestions: import_zod11.z.boolean().optional(),
3038
+ followupAutoApproveTimeoutMs: import_zod11.z.number().optional(),
3008
3039
  allowedCommands: import_zod11.z.array(import_zod11.z.string()).optional(),
3009
3040
  allowedMaxRequests: import_zod11.z.number().nullish(),
3010
3041
  autoCondenseContext: import_zod11.z.boolean().optional(),
@@ -3053,7 +3084,9 @@ var globalSettingsSchema = import_zod11.z.object({
3053
3084
  enhancementApiConfigId: import_zod11.z.string().optional(),
3054
3085
  historyPreviewCollapsed: import_zod11.z.boolean().optional(),
3055
3086
  profileThresholds: import_zod11.z.record(import_zod11.z.string(), import_zod11.z.number()).optional(),
3056
- hasOpenedModeSelector: import_zod11.z.boolean().optional()
3087
+ hasOpenedModeSelector: import_zod11.z.boolean().optional(),
3088
+ lastModeExportPath: import_zod11.z.string().optional(),
3089
+ lastModeImportPath: import_zod11.z.string().optional()
3057
3090
  });
3058
3091
  var GLOBAL_SETTINGS_KEYS = globalSettingsSchema.keyof().options;
3059
3092
  var rooCodeSettingsSchema = providerSettingsSchema.merge(globalSettingsSchema);
@@ -3103,6 +3136,8 @@ var EVALS_SETTINGS = {
3103
3136
  alwaysAllowModeSwitch: true,
3104
3137
  alwaysAllowSubtasks: true,
3105
3138
  alwaysAllowExecute: true,
3139
+ alwaysAllowFollowupQuestions: true,
3140
+ followupAutoApproveTimeoutMs: 0,
3106
3141
  allowedCommands: ["*"],
3107
3142
  browserToolEnabled: false,
3108
3143
  browserViewportSize: "900x600",
@@ -3205,10 +3240,21 @@ var shareResponseSchema = import_zod12.z.object({
3205
3240
  manageUrl: import_zod12.z.string().optional()
3206
3241
  });
3207
3242
 
3208
- // src/ipc.ts
3243
+ // src/followup.ts
3209
3244
  var import_zod13 = require("zod");
3210
- var isSubtaskSchema = import_zod13.z.object({
3211
- isSubtask: import_zod13.z.boolean()
3245
+ var suggestionItemSchema = import_zod13.z.object({
3246
+ answer: import_zod13.z.string(),
3247
+ mode: import_zod13.z.string().optional()
3248
+ });
3249
+ var followUpDataSchema = import_zod13.z.object({
3250
+ question: import_zod13.z.string().optional(),
3251
+ suggest: import_zod13.z.array(suggestionItemSchema).optional()
3252
+ });
3253
+
3254
+ // src/ipc.ts
3255
+ var import_zod14 = require("zod");
3256
+ var isSubtaskSchema = import_zod14.z.object({
3257
+ isSubtask: import_zod14.z.boolean()
3212
3258
  });
3213
3259
  var RooCodeEventName = /* @__PURE__ */ ((RooCodeEventName2) => {
3214
3260
  RooCodeEventName2["Message"] = "message";
@@ -3227,30 +3273,30 @@ var RooCodeEventName = /* @__PURE__ */ ((RooCodeEventName2) => {
3227
3273
  RooCodeEventName2["EvalFail"] = "evalFail";
3228
3274
  return RooCodeEventName2;
3229
3275
  })(RooCodeEventName || {});
3230
- var rooCodeEventsSchema = import_zod13.z.object({
3231
- ["message" /* Message */]: import_zod13.z.tuple([
3232
- import_zod13.z.object({
3233
- taskId: import_zod13.z.string(),
3234
- action: import_zod13.z.union([import_zod13.z.literal("created"), import_zod13.z.literal("updated")]),
3276
+ var rooCodeEventsSchema = import_zod14.z.object({
3277
+ ["message" /* Message */]: import_zod14.z.tuple([
3278
+ import_zod14.z.object({
3279
+ taskId: import_zod14.z.string(),
3280
+ action: import_zod14.z.union([import_zod14.z.literal("created"), import_zod14.z.literal("updated")]),
3235
3281
  message: clineMessageSchema
3236
3282
  })
3237
3283
  ]),
3238
- ["taskCreated" /* TaskCreated */]: import_zod13.z.tuple([import_zod13.z.string()]),
3239
- ["taskStarted" /* TaskStarted */]: import_zod13.z.tuple([import_zod13.z.string()]),
3240
- ["taskModeSwitched" /* TaskModeSwitched */]: import_zod13.z.tuple([import_zod13.z.string(), import_zod13.z.string()]),
3241
- ["taskPaused" /* TaskPaused */]: import_zod13.z.tuple([import_zod13.z.string()]),
3242
- ["taskUnpaused" /* TaskUnpaused */]: import_zod13.z.tuple([import_zod13.z.string()]),
3243
- ["taskAskResponded" /* TaskAskResponded */]: import_zod13.z.tuple([import_zod13.z.string()]),
3244
- ["taskAborted" /* TaskAborted */]: import_zod13.z.tuple([import_zod13.z.string()]),
3245
- ["taskSpawned" /* TaskSpawned */]: import_zod13.z.tuple([import_zod13.z.string(), import_zod13.z.string()]),
3246
- ["taskCompleted" /* TaskCompleted */]: import_zod13.z.tuple([import_zod13.z.string(), tokenUsageSchema, toolUsageSchema, isSubtaskSchema]),
3247
- ["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]: import_zod13.z.tuple([import_zod13.z.string(), tokenUsageSchema]),
3248
- ["taskToolFailed" /* TaskToolFailed */]: import_zod13.z.tuple([import_zod13.z.string(), toolNamesSchema, import_zod13.z.string()])
3284
+ ["taskCreated" /* TaskCreated */]: import_zod14.z.tuple([import_zod14.z.string()]),
3285
+ ["taskStarted" /* TaskStarted */]: import_zod14.z.tuple([import_zod14.z.string()]),
3286
+ ["taskModeSwitched" /* TaskModeSwitched */]: import_zod14.z.tuple([import_zod14.z.string(), import_zod14.z.string()]),
3287
+ ["taskPaused" /* TaskPaused */]: import_zod14.z.tuple([import_zod14.z.string()]),
3288
+ ["taskUnpaused" /* TaskUnpaused */]: import_zod14.z.tuple([import_zod14.z.string()]),
3289
+ ["taskAskResponded" /* TaskAskResponded */]: import_zod14.z.tuple([import_zod14.z.string()]),
3290
+ ["taskAborted" /* TaskAborted */]: import_zod14.z.tuple([import_zod14.z.string()]),
3291
+ ["taskSpawned" /* TaskSpawned */]: import_zod14.z.tuple([import_zod14.z.string(), import_zod14.z.string()]),
3292
+ ["taskCompleted" /* TaskCompleted */]: import_zod14.z.tuple([import_zod14.z.string(), tokenUsageSchema, toolUsageSchema, isSubtaskSchema]),
3293
+ ["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]: import_zod14.z.tuple([import_zod14.z.string(), tokenUsageSchema]),
3294
+ ["taskToolFailed" /* TaskToolFailed */]: import_zod14.z.tuple([import_zod14.z.string(), toolNamesSchema, import_zod14.z.string()])
3249
3295
  });
3250
- var ackSchema = import_zod13.z.object({
3251
- clientId: import_zod13.z.string(),
3252
- pid: import_zod13.z.number(),
3253
- ppid: import_zod13.z.number()
3296
+ var ackSchema = import_zod14.z.object({
3297
+ clientId: import_zod14.z.string(),
3298
+ pid: import_zod14.z.number(),
3299
+ ppid: import_zod14.z.number()
3254
3300
  });
3255
3301
  var TaskCommandName = /* @__PURE__ */ ((TaskCommandName2) => {
3256
3302
  TaskCommandName2["StartNewTask"] = "StartNewTask";
@@ -3258,95 +3304,95 @@ var TaskCommandName = /* @__PURE__ */ ((TaskCommandName2) => {
3258
3304
  TaskCommandName2["CloseTask"] = "CloseTask";
3259
3305
  return TaskCommandName2;
3260
3306
  })(TaskCommandName || {});
3261
- var taskCommandSchema = import_zod13.z.discriminatedUnion("commandName", [
3262
- import_zod13.z.object({
3263
- commandName: import_zod13.z.literal("StartNewTask" /* StartNewTask */),
3264
- data: import_zod13.z.object({
3307
+ var taskCommandSchema = import_zod14.z.discriminatedUnion("commandName", [
3308
+ import_zod14.z.object({
3309
+ commandName: import_zod14.z.literal("StartNewTask" /* StartNewTask */),
3310
+ data: import_zod14.z.object({
3265
3311
  configuration: rooCodeSettingsSchema,
3266
- text: import_zod13.z.string(),
3267
- images: import_zod13.z.array(import_zod13.z.string()).optional(),
3268
- newTab: import_zod13.z.boolean().optional()
3312
+ text: import_zod14.z.string(),
3313
+ images: import_zod14.z.array(import_zod14.z.string()).optional(),
3314
+ newTab: import_zod14.z.boolean().optional()
3269
3315
  })
3270
3316
  }),
3271
- import_zod13.z.object({
3272
- commandName: import_zod13.z.literal("CancelTask" /* CancelTask */),
3273
- data: import_zod13.z.string()
3317
+ import_zod14.z.object({
3318
+ commandName: import_zod14.z.literal("CancelTask" /* CancelTask */),
3319
+ data: import_zod14.z.string()
3274
3320
  }),
3275
- import_zod13.z.object({
3276
- commandName: import_zod13.z.literal("CloseTask" /* CloseTask */),
3277
- data: import_zod13.z.string()
3321
+ import_zod14.z.object({
3322
+ commandName: import_zod14.z.literal("CloseTask" /* CloseTask */),
3323
+ data: import_zod14.z.string()
3278
3324
  })
3279
3325
  ]);
3280
- var taskEventSchema = import_zod13.z.discriminatedUnion("eventName", [
3281
- import_zod13.z.object({
3282
- eventName: import_zod13.z.literal("message" /* Message */),
3326
+ var taskEventSchema = import_zod14.z.discriminatedUnion("eventName", [
3327
+ import_zod14.z.object({
3328
+ eventName: import_zod14.z.literal("message" /* Message */),
3283
3329
  payload: rooCodeEventsSchema.shape["message" /* Message */],
3284
- taskId: import_zod13.z.number().optional()
3330
+ taskId: import_zod14.z.number().optional()
3285
3331
  }),
3286
- import_zod13.z.object({
3287
- eventName: import_zod13.z.literal("taskCreated" /* TaskCreated */),
3332
+ import_zod14.z.object({
3333
+ eventName: import_zod14.z.literal("taskCreated" /* TaskCreated */),
3288
3334
  payload: rooCodeEventsSchema.shape["taskCreated" /* TaskCreated */],
3289
- taskId: import_zod13.z.number().optional()
3335
+ taskId: import_zod14.z.number().optional()
3290
3336
  }),
3291
- import_zod13.z.object({
3292
- eventName: import_zod13.z.literal("taskStarted" /* TaskStarted */),
3337
+ import_zod14.z.object({
3338
+ eventName: import_zod14.z.literal("taskStarted" /* TaskStarted */),
3293
3339
  payload: rooCodeEventsSchema.shape["taskStarted" /* TaskStarted */],
3294
- taskId: import_zod13.z.number().optional()
3340
+ taskId: import_zod14.z.number().optional()
3295
3341
  }),
3296
- import_zod13.z.object({
3297
- eventName: import_zod13.z.literal("taskModeSwitched" /* TaskModeSwitched */),
3342
+ import_zod14.z.object({
3343
+ eventName: import_zod14.z.literal("taskModeSwitched" /* TaskModeSwitched */),
3298
3344
  payload: rooCodeEventsSchema.shape["taskModeSwitched" /* TaskModeSwitched */],
3299
- taskId: import_zod13.z.number().optional()
3345
+ taskId: import_zod14.z.number().optional()
3300
3346
  }),
3301
- import_zod13.z.object({
3302
- eventName: import_zod13.z.literal("taskPaused" /* TaskPaused */),
3347
+ import_zod14.z.object({
3348
+ eventName: import_zod14.z.literal("taskPaused" /* TaskPaused */),
3303
3349
  payload: rooCodeEventsSchema.shape["taskPaused" /* TaskPaused */],
3304
- taskId: import_zod13.z.number().optional()
3350
+ taskId: import_zod14.z.number().optional()
3305
3351
  }),
3306
- import_zod13.z.object({
3307
- eventName: import_zod13.z.literal("taskUnpaused" /* TaskUnpaused */),
3352
+ import_zod14.z.object({
3353
+ eventName: import_zod14.z.literal("taskUnpaused" /* TaskUnpaused */),
3308
3354
  payload: rooCodeEventsSchema.shape["taskUnpaused" /* TaskUnpaused */],
3309
- taskId: import_zod13.z.number().optional()
3355
+ taskId: import_zod14.z.number().optional()
3310
3356
  }),
3311
- import_zod13.z.object({
3312
- eventName: import_zod13.z.literal("taskAskResponded" /* TaskAskResponded */),
3357
+ import_zod14.z.object({
3358
+ eventName: import_zod14.z.literal("taskAskResponded" /* TaskAskResponded */),
3313
3359
  payload: rooCodeEventsSchema.shape["taskAskResponded" /* TaskAskResponded */],
3314
- taskId: import_zod13.z.number().optional()
3360
+ taskId: import_zod14.z.number().optional()
3315
3361
  }),
3316
- import_zod13.z.object({
3317
- eventName: import_zod13.z.literal("taskAborted" /* TaskAborted */),
3362
+ import_zod14.z.object({
3363
+ eventName: import_zod14.z.literal("taskAborted" /* TaskAborted */),
3318
3364
  payload: rooCodeEventsSchema.shape["taskAborted" /* TaskAborted */],
3319
- taskId: import_zod13.z.number().optional()
3365
+ taskId: import_zod14.z.number().optional()
3320
3366
  }),
3321
- import_zod13.z.object({
3322
- eventName: import_zod13.z.literal("taskSpawned" /* TaskSpawned */),
3367
+ import_zod14.z.object({
3368
+ eventName: import_zod14.z.literal("taskSpawned" /* TaskSpawned */),
3323
3369
  payload: rooCodeEventsSchema.shape["taskSpawned" /* TaskSpawned */],
3324
- taskId: import_zod13.z.number().optional()
3370
+ taskId: import_zod14.z.number().optional()
3325
3371
  }),
3326
- import_zod13.z.object({
3327
- eventName: import_zod13.z.literal("taskCompleted" /* TaskCompleted */),
3372
+ import_zod14.z.object({
3373
+ eventName: import_zod14.z.literal("taskCompleted" /* TaskCompleted */),
3328
3374
  payload: rooCodeEventsSchema.shape["taskCompleted" /* TaskCompleted */],
3329
- taskId: import_zod13.z.number().optional()
3375
+ taskId: import_zod14.z.number().optional()
3330
3376
  }),
3331
- import_zod13.z.object({
3332
- eventName: import_zod13.z.literal("taskTokenUsageUpdated" /* TaskTokenUsageUpdated */),
3377
+ import_zod14.z.object({
3378
+ eventName: import_zod14.z.literal("taskTokenUsageUpdated" /* TaskTokenUsageUpdated */),
3333
3379
  payload: rooCodeEventsSchema.shape["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */],
3334
- taskId: import_zod13.z.number().optional()
3380
+ taskId: import_zod14.z.number().optional()
3335
3381
  }),
3336
- import_zod13.z.object({
3337
- eventName: import_zod13.z.literal("taskToolFailed" /* TaskToolFailed */),
3382
+ import_zod14.z.object({
3383
+ eventName: import_zod14.z.literal("taskToolFailed" /* TaskToolFailed */),
3338
3384
  payload: rooCodeEventsSchema.shape["taskToolFailed" /* TaskToolFailed */],
3339
- taskId: import_zod13.z.number().optional()
3385
+ taskId: import_zod14.z.number().optional()
3340
3386
  }),
3341
- import_zod13.z.object({
3342
- eventName: import_zod13.z.literal("evalPass" /* EvalPass */),
3343
- payload: import_zod13.z.undefined(),
3344
- taskId: import_zod13.z.number()
3387
+ import_zod14.z.object({
3388
+ eventName: import_zod14.z.literal("evalPass" /* EvalPass */),
3389
+ payload: import_zod14.z.undefined(),
3390
+ taskId: import_zod14.z.number()
3345
3391
  }),
3346
- import_zod13.z.object({
3347
- eventName: import_zod13.z.literal("evalFail" /* EvalFail */),
3348
- payload: import_zod13.z.undefined(),
3349
- taskId: import_zod13.z.number()
3392
+ import_zod14.z.object({
3393
+ eventName: import_zod14.z.literal("evalFail" /* EvalFail */),
3394
+ payload: import_zod14.z.undefined(),
3395
+ taskId: import_zod14.z.number()
3350
3396
  })
3351
3397
  ]);
3352
3398
  var IpcMessageType = /* @__PURE__ */ ((IpcMessageType2) => {
@@ -3362,134 +3408,134 @@ var IpcOrigin = /* @__PURE__ */ ((IpcOrigin2) => {
3362
3408
  IpcOrigin2["Server"] = "server";
3363
3409
  return IpcOrigin2;
3364
3410
  })(IpcOrigin || {});
3365
- var ipcMessageSchema = import_zod13.z.discriminatedUnion("type", [
3366
- import_zod13.z.object({
3367
- type: import_zod13.z.literal("Ack" /* Ack */),
3368
- origin: import_zod13.z.literal("server" /* Server */),
3411
+ var ipcMessageSchema = import_zod14.z.discriminatedUnion("type", [
3412
+ import_zod14.z.object({
3413
+ type: import_zod14.z.literal("Ack" /* Ack */),
3414
+ origin: import_zod14.z.literal("server" /* Server */),
3369
3415
  data: ackSchema
3370
3416
  }),
3371
- import_zod13.z.object({
3372
- type: import_zod13.z.literal("TaskCommand" /* TaskCommand */),
3373
- origin: import_zod13.z.literal("client" /* Client */),
3374
- clientId: import_zod13.z.string(),
3417
+ import_zod14.z.object({
3418
+ type: import_zod14.z.literal("TaskCommand" /* TaskCommand */),
3419
+ origin: import_zod14.z.literal("client" /* Client */),
3420
+ clientId: import_zod14.z.string(),
3375
3421
  data: taskCommandSchema
3376
3422
  }),
3377
- import_zod13.z.object({
3378
- type: import_zod13.z.literal("TaskEvent" /* TaskEvent */),
3379
- origin: import_zod13.z.literal("server" /* Server */),
3380
- relayClientId: import_zod13.z.string().optional(),
3423
+ import_zod14.z.object({
3424
+ type: import_zod14.z.literal("TaskEvent" /* TaskEvent */),
3425
+ origin: import_zod14.z.literal("server" /* Server */),
3426
+ relayClientId: import_zod14.z.string().optional(),
3381
3427
  data: taskEventSchema
3382
3428
  })
3383
3429
  ]);
3384
3430
 
3385
3431
  // src/marketplace.ts
3386
- var import_zod14 = require("zod");
3387
- var mcpParameterSchema = import_zod14.z.object({
3388
- name: import_zod14.z.string().min(1),
3389
- key: import_zod14.z.string().min(1),
3390
- placeholder: import_zod14.z.string().optional(),
3391
- optional: import_zod14.z.boolean().optional().default(false)
3432
+ var import_zod15 = require("zod");
3433
+ var mcpParameterSchema = import_zod15.z.object({
3434
+ name: import_zod15.z.string().min(1),
3435
+ key: import_zod15.z.string().min(1),
3436
+ placeholder: import_zod15.z.string().optional(),
3437
+ optional: import_zod15.z.boolean().optional().default(false)
3392
3438
  });
3393
- var mcpInstallationMethodSchema = import_zod14.z.object({
3394
- name: import_zod14.z.string().min(1),
3395
- content: import_zod14.z.string().min(1),
3396
- parameters: import_zod14.z.array(mcpParameterSchema).optional(),
3397
- prerequisites: import_zod14.z.array(import_zod14.z.string()).optional()
3439
+ var mcpInstallationMethodSchema = import_zod15.z.object({
3440
+ name: import_zod15.z.string().min(1),
3441
+ content: import_zod15.z.string().min(1),
3442
+ parameters: import_zod15.z.array(mcpParameterSchema).optional(),
3443
+ prerequisites: import_zod15.z.array(import_zod15.z.string()).optional()
3398
3444
  });
3399
- var marketplaceItemTypeSchema = import_zod14.z.enum(["mode", "mcp"]);
3400
- var baseMarketplaceItemSchema = import_zod14.z.object({
3401
- id: import_zod14.z.string().min(1),
3402
- name: import_zod14.z.string().min(1, "Name is required"),
3403
- description: import_zod14.z.string(),
3404
- author: import_zod14.z.string().optional(),
3405
- authorUrl: import_zod14.z.string().url("Author URL must be a valid URL").optional(),
3406
- tags: import_zod14.z.array(import_zod14.z.string()).optional(),
3407
- prerequisites: import_zod14.z.array(import_zod14.z.string()).optional()
3445
+ var marketplaceItemTypeSchema = import_zod15.z.enum(["mode", "mcp"]);
3446
+ var baseMarketplaceItemSchema = import_zod15.z.object({
3447
+ id: import_zod15.z.string().min(1),
3448
+ name: import_zod15.z.string().min(1, "Name is required"),
3449
+ description: import_zod15.z.string(),
3450
+ author: import_zod15.z.string().optional(),
3451
+ authorUrl: import_zod15.z.string().url("Author URL must be a valid URL").optional(),
3452
+ tags: import_zod15.z.array(import_zod15.z.string()).optional(),
3453
+ prerequisites: import_zod15.z.array(import_zod15.z.string()).optional()
3408
3454
  });
3409
3455
  var modeMarketplaceItemSchema = baseMarketplaceItemSchema.extend({
3410
- content: import_zod14.z.string().min(1)
3456
+ content: import_zod15.z.string().min(1)
3411
3457
  // YAML content for modes
3412
3458
  });
3413
3459
  var mcpMarketplaceItemSchema = baseMarketplaceItemSchema.extend({
3414
- url: import_zod14.z.string().url(),
3460
+ url: import_zod15.z.string().url(),
3415
3461
  // Required url field
3416
- content: import_zod14.z.union([import_zod14.z.string().min(1), import_zod14.z.array(mcpInstallationMethodSchema)]),
3462
+ content: import_zod15.z.union([import_zod15.z.string().min(1), import_zod15.z.array(mcpInstallationMethodSchema)]),
3417
3463
  // Single config or array of methods
3418
- parameters: import_zod14.z.array(mcpParameterSchema).optional()
3464
+ parameters: import_zod15.z.array(mcpParameterSchema).optional()
3419
3465
  });
3420
- var marketplaceItemSchema = import_zod14.z.discriminatedUnion("type", [
3466
+ var marketplaceItemSchema = import_zod15.z.discriminatedUnion("type", [
3421
3467
  // Mode marketplace item
3422
3468
  modeMarketplaceItemSchema.extend({
3423
- type: import_zod14.z.literal("mode")
3469
+ type: import_zod15.z.literal("mode")
3424
3470
  }),
3425
3471
  // MCP marketplace item
3426
3472
  mcpMarketplaceItemSchema.extend({
3427
- type: import_zod14.z.literal("mcp")
3473
+ type: import_zod15.z.literal("mcp")
3428
3474
  })
3429
3475
  ]);
3430
- var installMarketplaceItemOptionsSchema = import_zod14.z.object({
3431
- target: import_zod14.z.enum(["global", "project"]).optional().default("project"),
3432
- parameters: import_zod14.z.record(import_zod14.z.string(), import_zod14.z.any()).optional()
3476
+ var installMarketplaceItemOptionsSchema = import_zod15.z.object({
3477
+ target: import_zod15.z.enum(["global", "project"]).optional().default("project"),
3478
+ parameters: import_zod15.z.record(import_zod15.z.string(), import_zod15.z.any()).optional()
3433
3479
  });
3434
3480
 
3435
3481
  // src/mcp.ts
3436
- var import_zod15 = require("zod");
3437
- var mcpExecutionStatusSchema = import_zod15.z.discriminatedUnion("status", [
3438
- import_zod15.z.object({
3439
- executionId: import_zod15.z.string(),
3440
- status: import_zod15.z.literal("started"),
3441
- serverName: import_zod15.z.string(),
3442
- toolName: import_zod15.z.string()
3443
- }),
3444
- import_zod15.z.object({
3445
- executionId: import_zod15.z.string(),
3446
- status: import_zod15.z.literal("output"),
3447
- response: import_zod15.z.string()
3448
- }),
3449
- import_zod15.z.object({
3450
- executionId: import_zod15.z.string(),
3451
- status: import_zod15.z.literal("completed"),
3452
- response: import_zod15.z.string().optional()
3453
- }),
3454
- import_zod15.z.object({
3455
- executionId: import_zod15.z.string(),
3456
- status: import_zod15.z.literal("error"),
3457
- error: import_zod15.z.string().optional()
3458
- })
3459
- ]);
3460
-
3461
- // src/terminal.ts
3462
3482
  var import_zod16 = require("zod");
3463
- var commandExecutionStatusSchema = import_zod16.z.discriminatedUnion("status", [
3483
+ var mcpExecutionStatusSchema = import_zod16.z.discriminatedUnion("status", [
3464
3484
  import_zod16.z.object({
3465
3485
  executionId: import_zod16.z.string(),
3466
3486
  status: import_zod16.z.literal("started"),
3467
- pid: import_zod16.z.number().optional(),
3468
- command: import_zod16.z.string()
3487
+ serverName: import_zod16.z.string(),
3488
+ toolName: import_zod16.z.string()
3469
3489
  }),
3470
3490
  import_zod16.z.object({
3471
3491
  executionId: import_zod16.z.string(),
3472
3492
  status: import_zod16.z.literal("output"),
3473
- output: import_zod16.z.string()
3493
+ response: import_zod16.z.string()
3474
3494
  }),
3475
3495
  import_zod16.z.object({
3476
3496
  executionId: import_zod16.z.string(),
3477
- status: import_zod16.z.literal("exited"),
3478
- exitCode: import_zod16.z.number().optional()
3497
+ status: import_zod16.z.literal("completed"),
3498
+ response: import_zod16.z.string().optional()
3479
3499
  }),
3480
3500
  import_zod16.z.object({
3481
3501
  executionId: import_zod16.z.string(),
3482
- status: import_zod16.z.literal("fallback")
3502
+ status: import_zod16.z.literal("error"),
3503
+ error: import_zod16.z.string().optional()
3504
+ })
3505
+ ]);
3506
+
3507
+ // src/terminal.ts
3508
+ var import_zod17 = require("zod");
3509
+ var commandExecutionStatusSchema = import_zod17.z.discriminatedUnion("status", [
3510
+ import_zod17.z.object({
3511
+ executionId: import_zod17.z.string(),
3512
+ status: import_zod17.z.literal("started"),
3513
+ pid: import_zod17.z.number().optional(),
3514
+ command: import_zod17.z.string()
3515
+ }),
3516
+ import_zod17.z.object({
3517
+ executionId: import_zod17.z.string(),
3518
+ status: import_zod17.z.literal("output"),
3519
+ output: import_zod17.z.string()
3520
+ }),
3521
+ import_zod17.z.object({
3522
+ executionId: import_zod17.z.string(),
3523
+ status: import_zod17.z.literal("exited"),
3524
+ exitCode: import_zod17.z.number().optional()
3525
+ }),
3526
+ import_zod17.z.object({
3527
+ executionId: import_zod17.z.string(),
3528
+ status: import_zod17.z.literal("fallback")
3483
3529
  })
3484
3530
  ]);
3485
3531
  // Annotate the CommonJS export names for ESM import in node:
3486
3532
  0 && (module.exports = {
3487
3533
  ANTHROPIC_DEFAULT_MAX_TOKENS,
3534
+ AWS_INFERENCE_PROFILE_MAPPING,
3488
3535
  BEDROCK_DEFAULT_CONTEXT,
3489
3536
  BEDROCK_DEFAULT_TEMPERATURE,
3490
3537
  BEDROCK_MAX_TOKENS,
3491
3538
  BEDROCK_REGIONS,
3492
- BEDROCK_REGION_INFO,
3493
3539
  DEEP_SEEK_DEFAULT_TEMPERATURE,
3494
3540
  EVALS_SETTINGS,
3495
3541
  EVALS_TIMEOUT,
@@ -3534,7 +3580,6 @@ var commandExecutionStatusSchema = import_zod16.z.discriminatedUnion("status", [
3534
3580
  clineMessageSchema,
3535
3581
  clineSaySchema,
3536
3582
  clineSays,
3537
- cloudTelemetryPropertiesSchema,
3538
3583
  codeActionIds,
3539
3584
  codebaseIndexConfigSchema,
3540
3585
  codebaseIndexModelsSchema,
@@ -3550,6 +3595,7 @@ var commandExecutionStatusSchema = import_zod16.z.discriminatedUnion("status", [
3550
3595
  experimentIds,
3551
3596
  experimentIdsSchema,
3552
3597
  experimentsSchema,
3598
+ followUpDataSchema,
3553
3599
  geminiDefaultModelId,
3554
3600
  geminiModels,
3555
3601
  getModelId,
@@ -3613,6 +3659,7 @@ var commandExecutionStatusSchema = import_zod16.z.discriminatedUnion("status", [
3613
3659
  rooCodeSettingsSchema,
3614
3660
  rooCodeTelemetryEventSchema,
3615
3661
  shareResponseSchema,
3662
+ suggestionItemSchema,
3616
3663
  taskCommandSchema,
3617
3664
  taskEventSchema,
3618
3665
  taskPropertiesSchema,