@roo-code/types 1.28.0 → 1.29.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.d.ts CHANGED
@@ -662,11 +662,11 @@ type ClaudeCodeModelId = keyof typeof claudeCodeModels;
662
662
  declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
663
663
  declare const claudeCodeModels: {
664
664
  readonly "claude-sonnet-4-20250514": {
665
+ readonly supportsImages: false;
666
+ readonly supportsPromptCache: false;
665
667
  readonly maxTokens: 64000;
666
668
  readonly contextWindow: 200000;
667
- readonly supportsImages: true;
668
669
  readonly supportsComputerUse: true;
669
- readonly supportsPromptCache: true;
670
670
  readonly inputPrice: 3;
671
671
  readonly outputPrice: 15;
672
672
  readonly cacheWritesPrice: 3.75;
@@ -674,11 +674,11 @@ declare const claudeCodeModels: {
674
674
  readonly supportsReasoningBudget: true;
675
675
  };
676
676
  readonly "claude-opus-4-20250514": {
677
+ readonly supportsImages: false;
678
+ readonly supportsPromptCache: false;
677
679
  readonly maxTokens: 32000;
678
680
  readonly contextWindow: 200000;
679
- readonly supportsImages: true;
680
681
  readonly supportsComputerUse: true;
681
- readonly supportsPromptCache: true;
682
682
  readonly inputPrice: 15;
683
683
  readonly outputPrice: 75;
684
684
  readonly cacheWritesPrice: 18.75;
@@ -686,32 +686,32 @@ declare const claudeCodeModels: {
686
686
  readonly supportsReasoningBudget: true;
687
687
  };
688
688
  readonly "claude-3-7-sonnet-20250219": {
689
+ readonly supportsImages: false;
690
+ readonly supportsPromptCache: false;
689
691
  readonly maxTokens: 8192;
690
692
  readonly contextWindow: 200000;
691
- readonly supportsImages: true;
692
693
  readonly supportsComputerUse: true;
693
- readonly supportsPromptCache: true;
694
694
  readonly inputPrice: 3;
695
695
  readonly outputPrice: 15;
696
696
  readonly cacheWritesPrice: 3.75;
697
697
  readonly cacheReadsPrice: 0.3;
698
698
  };
699
699
  readonly "claude-3-5-sonnet-20241022": {
700
+ readonly supportsImages: false;
701
+ readonly supportsPromptCache: false;
700
702
  readonly maxTokens: 8192;
701
703
  readonly contextWindow: 200000;
702
- readonly supportsImages: true;
703
704
  readonly supportsComputerUse: true;
704
- readonly supportsPromptCache: true;
705
705
  readonly inputPrice: 3;
706
706
  readonly outputPrice: 15;
707
707
  readonly cacheWritesPrice: 3.75;
708
708
  readonly cacheReadsPrice: 0.3;
709
709
  };
710
710
  readonly "claude-3-5-haiku-20241022": {
711
+ readonly supportsImages: false;
712
+ readonly supportsPromptCache: false;
711
713
  readonly maxTokens: 8192;
712
714
  readonly contextWindow: 200000;
713
- readonly supportsImages: false;
714
- readonly supportsPromptCache: true;
715
715
  readonly inputPrice: 1;
716
716
  readonly outputPrice: 5;
717
717
  readonly cacheWritesPrice: 1.25;
@@ -3814,6 +3814,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3814
3814
  name: z.ZodString;
3815
3815
  roleDefinition: z.ZodString;
3816
3816
  whenToUse: z.ZodOptional<z.ZodString>;
3817
+ description: z.ZodOptional<z.ZodString>;
3817
3818
  customInstructions: z.ZodOptional<z.ZodString>;
3818
3819
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
3819
3820
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -3840,6 +3841,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3840
3841
  description?: string | undefined;
3841
3842
  fileRegex?: string | undefined;
3842
3843
  }])[];
3844
+ description?: string | undefined;
3843
3845
  whenToUse?: string | undefined;
3844
3846
  customInstructions?: string | undefined;
3845
3847
  source?: "global" | "project" | undefined;
@@ -3851,6 +3853,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3851
3853
  description?: string | undefined;
3852
3854
  fileRegex?: string | undefined;
3853
3855
  }])[];
3856
+ description?: string | undefined;
3854
3857
  whenToUse?: string | undefined;
3855
3858
  customInstructions?: string | undefined;
3856
3859
  source?: "global" | "project" | undefined;
@@ -3858,12 +3861,15 @@ declare const globalSettingsSchema: z.ZodObject<{
3858
3861
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
3859
3862
  roleDefinition: z.ZodOptional<z.ZodString>;
3860
3863
  whenToUse: z.ZodOptional<z.ZodString>;
3864
+ description: z.ZodOptional<z.ZodString>;
3861
3865
  customInstructions: z.ZodOptional<z.ZodString>;
3862
3866
  }, "strip", z.ZodTypeAny, {
3867
+ description?: string | undefined;
3863
3868
  roleDefinition?: string | undefined;
3864
3869
  whenToUse?: string | undefined;
3865
3870
  customInstructions?: string | undefined;
3866
3871
  }, {
3872
+ description?: string | undefined;
3867
3873
  roleDefinition?: string | undefined;
3868
3874
  whenToUse?: string | undefined;
3869
3875
  customInstructions?: string | undefined;
@@ -3872,6 +3878,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3872
3878
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
3873
3879
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
3874
3880
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3881
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
3875
3882
  }, "strip", z.ZodTypeAny, {
3876
3883
  diffEnabled?: boolean | undefined;
3877
3884
  fuzzyMatchThreshold?: number | undefined;
@@ -3887,6 +3894,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3887
3894
  description?: string | undefined;
3888
3895
  fileRegex?: string | undefined;
3889
3896
  }])[];
3897
+ description?: string | undefined;
3890
3898
  whenToUse?: string | undefined;
3891
3899
  customInstructions?: string | undefined;
3892
3900
  source?: "global" | "project" | undefined;
@@ -3985,6 +3993,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3985
3993
  enableMcpServerCreation?: boolean | undefined;
3986
3994
  modeApiConfigs?: Record<string, string> | undefined;
3987
3995
  customModePrompts?: Record<string, {
3996
+ description?: string | undefined;
3988
3997
  roleDefinition?: string | undefined;
3989
3998
  whenToUse?: string | undefined;
3990
3999
  customInstructions?: string | undefined;
@@ -3993,6 +4002,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3993
4002
  enhancementApiConfigId?: string | undefined;
3994
4003
  historyPreviewCollapsed?: boolean | undefined;
3995
4004
  profileThresholds?: Record<string, number> | undefined;
4005
+ hasOpenedModeSelector?: boolean | undefined;
3996
4006
  }, {
3997
4007
  diffEnabled?: boolean | undefined;
3998
4008
  fuzzyMatchThreshold?: number | undefined;
@@ -4008,6 +4018,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4008
4018
  description?: string | undefined;
4009
4019
  fileRegex?: string | undefined;
4010
4020
  }])[];
4021
+ description?: string | undefined;
4011
4022
  whenToUse?: string | undefined;
4012
4023
  customInstructions?: string | undefined;
4013
4024
  source?: "global" | "project" | undefined;
@@ -4106,6 +4117,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4106
4117
  enableMcpServerCreation?: boolean | undefined;
4107
4118
  modeApiConfigs?: Record<string, string> | undefined;
4108
4119
  customModePrompts?: Record<string, {
4120
+ description?: string | undefined;
4109
4121
  roleDefinition?: string | undefined;
4110
4122
  whenToUse?: string | undefined;
4111
4123
  customInstructions?: string | undefined;
@@ -4114,9 +4126,10 @@ declare const globalSettingsSchema: z.ZodObject<{
4114
4126
  enhancementApiConfigId?: string | undefined;
4115
4127
  historyPreviewCollapsed?: boolean | undefined;
4116
4128
  profileThresholds?: Record<string, number> | undefined;
4129
+ hasOpenedModeSelector?: boolean | undefined;
4117
4130
  }>;
4118
4131
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
4119
- declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds"];
4132
+ declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector"];
4120
4133
  /**
4121
4134
  * RooCodeSettings
4122
4135
  */
@@ -4493,6 +4506,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4493
4506
  name: z.ZodString;
4494
4507
  roleDefinition: z.ZodString;
4495
4508
  whenToUse: z.ZodOptional<z.ZodString>;
4509
+ description: z.ZodOptional<z.ZodString>;
4496
4510
  customInstructions: z.ZodOptional<z.ZodString>;
4497
4511
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
4498
4512
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -4519,6 +4533,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4519
4533
  description?: string | undefined;
4520
4534
  fileRegex?: string | undefined;
4521
4535
  }])[];
4536
+ description?: string | undefined;
4522
4537
  whenToUse?: string | undefined;
4523
4538
  customInstructions?: string | undefined;
4524
4539
  source?: "global" | "project" | undefined;
@@ -4530,6 +4545,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4530
4545
  description?: string | undefined;
4531
4546
  fileRegex?: string | undefined;
4532
4547
  }])[];
4548
+ description?: string | undefined;
4533
4549
  whenToUse?: string | undefined;
4534
4550
  customInstructions?: string | undefined;
4535
4551
  source?: "global" | "project" | undefined;
@@ -4537,12 +4553,15 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4537
4553
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
4538
4554
  roleDefinition: z.ZodOptional<z.ZodString>;
4539
4555
  whenToUse: z.ZodOptional<z.ZodString>;
4556
+ description: z.ZodOptional<z.ZodString>;
4540
4557
  customInstructions: z.ZodOptional<z.ZodString>;
4541
4558
  }, "strip", z.ZodTypeAny, {
4559
+ description?: string | undefined;
4542
4560
  roleDefinition?: string | undefined;
4543
4561
  whenToUse?: string | undefined;
4544
4562
  customInstructions?: string | undefined;
4545
4563
  }, {
4564
+ description?: string | undefined;
4546
4565
  roleDefinition?: string | undefined;
4547
4566
  whenToUse?: string | undefined;
4548
4567
  customInstructions?: string | undefined;
@@ -4551,6 +4570,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4551
4570
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
4552
4571
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
4553
4572
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4573
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
4554
4574
  }, "strip", z.ZodTypeAny, {
4555
4575
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4556
4576
  codeIndexOpenAiKey?: string | undefined;
@@ -4675,6 +4695,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4675
4695
  description?: string | undefined;
4676
4696
  fileRegex?: string | undefined;
4677
4697
  }])[];
4698
+ description?: string | undefined;
4678
4699
  whenToUse?: string | undefined;
4679
4700
  customInstructions?: string | undefined;
4680
4701
  source?: "global" | "project" | undefined;
@@ -4773,6 +4794,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4773
4794
  enableMcpServerCreation?: boolean | undefined;
4774
4795
  modeApiConfigs?: Record<string, string> | undefined;
4775
4796
  customModePrompts?: Record<string, {
4797
+ description?: string | undefined;
4776
4798
  roleDefinition?: string | undefined;
4777
4799
  whenToUse?: string | undefined;
4778
4800
  customInstructions?: string | undefined;
@@ -4781,6 +4803,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4781
4803
  enhancementApiConfigId?: string | undefined;
4782
4804
  historyPreviewCollapsed?: boolean | undefined;
4783
4805
  profileThresholds?: Record<string, number> | undefined;
4806
+ hasOpenedModeSelector?: boolean | undefined;
4784
4807
  }, {
4785
4808
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4786
4809
  codeIndexOpenAiKey?: string | undefined;
@@ -4905,6 +4928,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4905
4928
  description?: string | undefined;
4906
4929
  fileRegex?: string | undefined;
4907
4930
  }])[];
4931
+ description?: string | undefined;
4908
4932
  whenToUse?: string | undefined;
4909
4933
  customInstructions?: string | undefined;
4910
4934
  source?: "global" | "project" | undefined;
@@ -5003,6 +5027,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5003
5027
  enableMcpServerCreation?: boolean | undefined;
5004
5028
  modeApiConfigs?: Record<string, string> | undefined;
5005
5029
  customModePrompts?: Record<string, {
5030
+ description?: string | undefined;
5006
5031
  roleDefinition?: string | undefined;
5007
5032
  whenToUse?: string | undefined;
5008
5033
  customInstructions?: string | undefined;
@@ -5011,6 +5036,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5011
5036
  enhancementApiConfigId?: string | undefined;
5012
5037
  historyPreviewCollapsed?: boolean | undefined;
5013
5038
  profileThresholds?: Record<string, number> | undefined;
5039
+ hasOpenedModeSelector?: boolean | undefined;
5014
5040
  }>;
5015
5041
  type RooCodeSettings = GlobalSettings & ProviderSettings;
5016
5042
  /**
@@ -6029,6 +6055,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6029
6055
  name: z.ZodString;
6030
6056
  roleDefinition: z.ZodString;
6031
6057
  whenToUse: z.ZodOptional<z.ZodString>;
6058
+ description: z.ZodOptional<z.ZodString>;
6032
6059
  customInstructions: z.ZodOptional<z.ZodString>;
6033
6060
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
6034
6061
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -6055,6 +6082,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6055
6082
  description?: string | undefined;
6056
6083
  fileRegex?: string | undefined;
6057
6084
  }])[];
6085
+ description?: string | undefined;
6058
6086
  whenToUse?: string | undefined;
6059
6087
  customInstructions?: string | undefined;
6060
6088
  source?: "global" | "project" | undefined;
@@ -6066,6 +6094,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6066
6094
  description?: string | undefined;
6067
6095
  fileRegex?: string | undefined;
6068
6096
  }])[];
6097
+ description?: string | undefined;
6069
6098
  whenToUse?: string | undefined;
6070
6099
  customInstructions?: string | undefined;
6071
6100
  source?: "global" | "project" | undefined;
@@ -6073,12 +6102,15 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6073
6102
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
6074
6103
  roleDefinition: z.ZodOptional<z.ZodString>;
6075
6104
  whenToUse: z.ZodOptional<z.ZodString>;
6105
+ description: z.ZodOptional<z.ZodString>;
6076
6106
  customInstructions: z.ZodOptional<z.ZodString>;
6077
6107
  }, "strip", z.ZodTypeAny, {
6108
+ description?: string | undefined;
6078
6109
  roleDefinition?: string | undefined;
6079
6110
  whenToUse?: string | undefined;
6080
6111
  customInstructions?: string | undefined;
6081
6112
  }, {
6113
+ description?: string | undefined;
6082
6114
  roleDefinition?: string | undefined;
6083
6115
  whenToUse?: string | undefined;
6084
6116
  customInstructions?: string | undefined;
@@ -6087,6 +6119,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6087
6119
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
6088
6120
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
6089
6121
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
6122
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
6090
6123
  }, "strip", z.ZodTypeAny, {
6091
6124
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6092
6125
  codeIndexOpenAiKey?: string | undefined;
@@ -6211,6 +6244,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6211
6244
  description?: string | undefined;
6212
6245
  fileRegex?: string | undefined;
6213
6246
  }])[];
6247
+ description?: string | undefined;
6214
6248
  whenToUse?: string | undefined;
6215
6249
  customInstructions?: string | undefined;
6216
6250
  source?: "global" | "project" | undefined;
@@ -6309,6 +6343,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6309
6343
  enableMcpServerCreation?: boolean | undefined;
6310
6344
  modeApiConfigs?: Record<string, string> | undefined;
6311
6345
  customModePrompts?: Record<string, {
6346
+ description?: string | undefined;
6312
6347
  roleDefinition?: string | undefined;
6313
6348
  whenToUse?: string | undefined;
6314
6349
  customInstructions?: string | undefined;
@@ -6317,6 +6352,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6317
6352
  enhancementApiConfigId?: string | undefined;
6318
6353
  historyPreviewCollapsed?: boolean | undefined;
6319
6354
  profileThresholds?: Record<string, number> | undefined;
6355
+ hasOpenedModeSelector?: boolean | undefined;
6320
6356
  }, {
6321
6357
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6322
6358
  codeIndexOpenAiKey?: string | undefined;
@@ -6441,6 +6477,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6441
6477
  description?: string | undefined;
6442
6478
  fileRegex?: string | undefined;
6443
6479
  }])[];
6480
+ description?: string | undefined;
6444
6481
  whenToUse?: string | undefined;
6445
6482
  customInstructions?: string | undefined;
6446
6483
  source?: "global" | "project" | undefined;
@@ -6539,6 +6576,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6539
6576
  enableMcpServerCreation?: boolean | undefined;
6540
6577
  modeApiConfigs?: Record<string, string> | undefined;
6541
6578
  customModePrompts?: Record<string, {
6579
+ description?: string | undefined;
6542
6580
  roleDefinition?: string | undefined;
6543
6581
  whenToUse?: string | undefined;
6544
6582
  customInstructions?: string | undefined;
@@ -6547,6 +6585,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6547
6585
  enhancementApiConfigId?: string | undefined;
6548
6586
  historyPreviewCollapsed?: boolean | undefined;
6549
6587
  profileThresholds?: Record<string, number> | undefined;
6588
+ hasOpenedModeSelector?: boolean | undefined;
6550
6589
  }>;
6551
6590
  text: z.ZodString;
6552
6591
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6677,6 +6716,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6677
6716
  description?: string | undefined;
6678
6717
  fileRegex?: string | undefined;
6679
6718
  }])[];
6719
+ description?: string | undefined;
6680
6720
  whenToUse?: string | undefined;
6681
6721
  customInstructions?: string | undefined;
6682
6722
  source?: "global" | "project" | undefined;
@@ -6775,6 +6815,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6775
6815
  enableMcpServerCreation?: boolean | undefined;
6776
6816
  modeApiConfigs?: Record<string, string> | undefined;
6777
6817
  customModePrompts?: Record<string, {
6818
+ description?: string | undefined;
6778
6819
  roleDefinition?: string | undefined;
6779
6820
  whenToUse?: string | undefined;
6780
6821
  customInstructions?: string | undefined;
@@ -6783,6 +6824,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6783
6824
  enhancementApiConfigId?: string | undefined;
6784
6825
  historyPreviewCollapsed?: boolean | undefined;
6785
6826
  profileThresholds?: Record<string, number> | undefined;
6827
+ hasOpenedModeSelector?: boolean | undefined;
6786
6828
  };
6787
6829
  images?: string[] | undefined;
6788
6830
  newTab?: boolean | undefined;
@@ -6912,6 +6954,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6912
6954
  description?: string | undefined;
6913
6955
  fileRegex?: string | undefined;
6914
6956
  }])[];
6957
+ description?: string | undefined;
6915
6958
  whenToUse?: string | undefined;
6916
6959
  customInstructions?: string | undefined;
6917
6960
  source?: "global" | "project" | undefined;
@@ -7010,6 +7053,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7010
7053
  enableMcpServerCreation?: boolean | undefined;
7011
7054
  modeApiConfigs?: Record<string, string> | undefined;
7012
7055
  customModePrompts?: Record<string, {
7056
+ description?: string | undefined;
7013
7057
  roleDefinition?: string | undefined;
7014
7058
  whenToUse?: string | undefined;
7015
7059
  customInstructions?: string | undefined;
@@ -7018,6 +7062,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7018
7062
  enhancementApiConfigId?: string | undefined;
7019
7063
  historyPreviewCollapsed?: boolean | undefined;
7020
7064
  profileThresholds?: Record<string, number> | undefined;
7065
+ hasOpenedModeSelector?: boolean | undefined;
7021
7066
  };
7022
7067
  images?: string[] | undefined;
7023
7068
  newTab?: boolean | undefined;
@@ -7150,6 +7195,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7150
7195
  description?: string | undefined;
7151
7196
  fileRegex?: string | undefined;
7152
7197
  }])[];
7198
+ description?: string | undefined;
7153
7199
  whenToUse?: string | undefined;
7154
7200
  customInstructions?: string | undefined;
7155
7201
  source?: "global" | "project" | undefined;
@@ -7248,6 +7294,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7248
7294
  enableMcpServerCreation?: boolean | undefined;
7249
7295
  modeApiConfigs?: Record<string, string> | undefined;
7250
7296
  customModePrompts?: Record<string, {
7297
+ description?: string | undefined;
7251
7298
  roleDefinition?: string | undefined;
7252
7299
  whenToUse?: string | undefined;
7253
7300
  customInstructions?: string | undefined;
@@ -7256,6 +7303,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7256
7303
  enhancementApiConfigId?: string | undefined;
7257
7304
  historyPreviewCollapsed?: boolean | undefined;
7258
7305
  profileThresholds?: Record<string, number> | undefined;
7306
+ hasOpenedModeSelector?: boolean | undefined;
7259
7307
  };
7260
7308
  images?: string[] | undefined;
7261
7309
  newTab?: boolean | undefined;
@@ -7388,6 +7436,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7388
7436
  description?: string | undefined;
7389
7437
  fileRegex?: string | undefined;
7390
7438
  }])[];
7439
+ description?: string | undefined;
7391
7440
  whenToUse?: string | undefined;
7392
7441
  customInstructions?: string | undefined;
7393
7442
  source?: "global" | "project" | undefined;
@@ -7486,6 +7535,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7486
7535
  enableMcpServerCreation?: boolean | undefined;
7487
7536
  modeApiConfigs?: Record<string, string> | undefined;
7488
7537
  customModePrompts?: Record<string, {
7538
+ description?: string | undefined;
7489
7539
  roleDefinition?: string | undefined;
7490
7540
  whenToUse?: string | undefined;
7491
7541
  customInstructions?: string | undefined;
@@ -7494,6 +7544,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7494
7544
  enhancementApiConfigId?: string | undefined;
7495
7545
  historyPreviewCollapsed?: boolean | undefined;
7496
7546
  profileThresholds?: Record<string, number> | undefined;
7547
+ hasOpenedModeSelector?: boolean | undefined;
7497
7548
  };
7498
7549
  images?: string[] | undefined;
7499
7550
  newTab?: boolean | undefined;
@@ -8402,6 +8453,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8402
8453
  name: z.ZodString;
8403
8454
  roleDefinition: z.ZodString;
8404
8455
  whenToUse: z.ZodOptional<z.ZodString>;
8456
+ description: z.ZodOptional<z.ZodString>;
8405
8457
  customInstructions: z.ZodOptional<z.ZodString>;
8406
8458
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
8407
8459
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -8428,6 +8480,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8428
8480
  description?: string | undefined;
8429
8481
  fileRegex?: string | undefined;
8430
8482
  }])[];
8483
+ description?: string | undefined;
8431
8484
  whenToUse?: string | undefined;
8432
8485
  customInstructions?: string | undefined;
8433
8486
  source?: "global" | "project" | undefined;
@@ -8439,6 +8492,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8439
8492
  description?: string | undefined;
8440
8493
  fileRegex?: string | undefined;
8441
8494
  }])[];
8495
+ description?: string | undefined;
8442
8496
  whenToUse?: string | undefined;
8443
8497
  customInstructions?: string | undefined;
8444
8498
  source?: "global" | "project" | undefined;
@@ -8446,12 +8500,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8446
8500
  customModePrompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
8447
8501
  roleDefinition: z.ZodOptional<z.ZodString>;
8448
8502
  whenToUse: z.ZodOptional<z.ZodString>;
8503
+ description: z.ZodOptional<z.ZodString>;
8449
8504
  customInstructions: z.ZodOptional<z.ZodString>;
8450
8505
  }, "strip", z.ZodTypeAny, {
8506
+ description?: string | undefined;
8451
8507
  roleDefinition?: string | undefined;
8452
8508
  whenToUse?: string | undefined;
8453
8509
  customInstructions?: string | undefined;
8454
8510
  }, {
8511
+ description?: string | undefined;
8455
8512
  roleDefinition?: string | undefined;
8456
8513
  whenToUse?: string | undefined;
8457
8514
  customInstructions?: string | undefined;
@@ -8460,6 +8517,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8460
8517
  enhancementApiConfigId: z.ZodOptional<z.ZodString>;
8461
8518
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
8462
8519
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
8520
+ hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
8463
8521
  }, "strip", z.ZodTypeAny, {
8464
8522
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8465
8523
  codeIndexOpenAiKey?: string | undefined;
@@ -8584,6 +8642,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8584
8642
  description?: string | undefined;
8585
8643
  fileRegex?: string | undefined;
8586
8644
  }])[];
8645
+ description?: string | undefined;
8587
8646
  whenToUse?: string | undefined;
8588
8647
  customInstructions?: string | undefined;
8589
8648
  source?: "global" | "project" | undefined;
@@ -8682,6 +8741,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8682
8741
  enableMcpServerCreation?: boolean | undefined;
8683
8742
  modeApiConfigs?: Record<string, string> | undefined;
8684
8743
  customModePrompts?: Record<string, {
8744
+ description?: string | undefined;
8685
8745
  roleDefinition?: string | undefined;
8686
8746
  whenToUse?: string | undefined;
8687
8747
  customInstructions?: string | undefined;
@@ -8690,6 +8750,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8690
8750
  enhancementApiConfigId?: string | undefined;
8691
8751
  historyPreviewCollapsed?: boolean | undefined;
8692
8752
  profileThresholds?: Record<string, number> | undefined;
8753
+ hasOpenedModeSelector?: boolean | undefined;
8693
8754
  }, {
8694
8755
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8695
8756
  codeIndexOpenAiKey?: string | undefined;
@@ -8814,6 +8875,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8814
8875
  description?: string | undefined;
8815
8876
  fileRegex?: string | undefined;
8816
8877
  }])[];
8878
+ description?: string | undefined;
8817
8879
  whenToUse?: string | undefined;
8818
8880
  customInstructions?: string | undefined;
8819
8881
  source?: "global" | "project" | undefined;
@@ -8912,6 +8974,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8912
8974
  enableMcpServerCreation?: boolean | undefined;
8913
8975
  modeApiConfigs?: Record<string, string> | undefined;
8914
8976
  customModePrompts?: Record<string, {
8977
+ description?: string | undefined;
8915
8978
  roleDefinition?: string | undefined;
8916
8979
  whenToUse?: string | undefined;
8917
8980
  customInstructions?: string | undefined;
@@ -8920,6 +8983,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8920
8983
  enhancementApiConfigId?: string | undefined;
8921
8984
  historyPreviewCollapsed?: boolean | undefined;
8922
8985
  profileThresholds?: Record<string, number> | undefined;
8986
+ hasOpenedModeSelector?: boolean | undefined;
8923
8987
  }>;
8924
8988
  text: z.ZodString;
8925
8989
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9050,6 +9114,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9050
9114
  description?: string | undefined;
9051
9115
  fileRegex?: string | undefined;
9052
9116
  }])[];
9117
+ description?: string | undefined;
9053
9118
  whenToUse?: string | undefined;
9054
9119
  customInstructions?: string | undefined;
9055
9120
  source?: "global" | "project" | undefined;
@@ -9148,6 +9213,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9148
9213
  enableMcpServerCreation?: boolean | undefined;
9149
9214
  modeApiConfigs?: Record<string, string> | undefined;
9150
9215
  customModePrompts?: Record<string, {
9216
+ description?: string | undefined;
9151
9217
  roleDefinition?: string | undefined;
9152
9218
  whenToUse?: string | undefined;
9153
9219
  customInstructions?: string | undefined;
@@ -9156,6 +9222,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9156
9222
  enhancementApiConfigId?: string | undefined;
9157
9223
  historyPreviewCollapsed?: boolean | undefined;
9158
9224
  profileThresholds?: Record<string, number> | undefined;
9225
+ hasOpenedModeSelector?: boolean | undefined;
9159
9226
  };
9160
9227
  images?: string[] | undefined;
9161
9228
  newTab?: boolean | undefined;
@@ -9285,6 +9352,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9285
9352
  description?: string | undefined;
9286
9353
  fileRegex?: string | undefined;
9287
9354
  }])[];
9355
+ description?: string | undefined;
9288
9356
  whenToUse?: string | undefined;
9289
9357
  customInstructions?: string | undefined;
9290
9358
  source?: "global" | "project" | undefined;
@@ -9383,6 +9451,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9383
9451
  enableMcpServerCreation?: boolean | undefined;
9384
9452
  modeApiConfigs?: Record<string, string> | undefined;
9385
9453
  customModePrompts?: Record<string, {
9454
+ description?: string | undefined;
9386
9455
  roleDefinition?: string | undefined;
9387
9456
  whenToUse?: string | undefined;
9388
9457
  customInstructions?: string | undefined;
@@ -9391,6 +9460,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9391
9460
  enhancementApiConfigId?: string | undefined;
9392
9461
  historyPreviewCollapsed?: boolean | undefined;
9393
9462
  profileThresholds?: Record<string, number> | undefined;
9463
+ hasOpenedModeSelector?: boolean | undefined;
9394
9464
  };
9395
9465
  images?: string[] | undefined;
9396
9466
  newTab?: boolean | undefined;
@@ -9523,6 +9593,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9523
9593
  description?: string | undefined;
9524
9594
  fileRegex?: string | undefined;
9525
9595
  }])[];
9596
+ description?: string | undefined;
9526
9597
  whenToUse?: string | undefined;
9527
9598
  customInstructions?: string | undefined;
9528
9599
  source?: "global" | "project" | undefined;
@@ -9621,6 +9692,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9621
9692
  enableMcpServerCreation?: boolean | undefined;
9622
9693
  modeApiConfigs?: Record<string, string> | undefined;
9623
9694
  customModePrompts?: Record<string, {
9695
+ description?: string | undefined;
9624
9696
  roleDefinition?: string | undefined;
9625
9697
  whenToUse?: string | undefined;
9626
9698
  customInstructions?: string | undefined;
@@ -9629,6 +9701,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9629
9701
  enhancementApiConfigId?: string | undefined;
9630
9702
  historyPreviewCollapsed?: boolean | undefined;
9631
9703
  profileThresholds?: Record<string, number> | undefined;
9704
+ hasOpenedModeSelector?: boolean | undefined;
9632
9705
  };
9633
9706
  images?: string[] | undefined;
9634
9707
  newTab?: boolean | undefined;
@@ -9761,6 +9834,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9761
9834
  description?: string | undefined;
9762
9835
  fileRegex?: string | undefined;
9763
9836
  }])[];
9837
+ description?: string | undefined;
9764
9838
  whenToUse?: string | undefined;
9765
9839
  customInstructions?: string | undefined;
9766
9840
  source?: "global" | "project" | undefined;
@@ -9859,6 +9933,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9859
9933
  enableMcpServerCreation?: boolean | undefined;
9860
9934
  modeApiConfigs?: Record<string, string> | undefined;
9861
9935
  customModePrompts?: Record<string, {
9936
+ description?: string | undefined;
9862
9937
  roleDefinition?: string | undefined;
9863
9938
  whenToUse?: string | undefined;
9864
9939
  customInstructions?: string | undefined;
@@ -9867,6 +9942,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9867
9942
  enhancementApiConfigId?: string | undefined;
9868
9943
  historyPreviewCollapsed?: boolean | undefined;
9869
9944
  profileThresholds?: Record<string, number> | undefined;
9945
+ hasOpenedModeSelector?: boolean | undefined;
9870
9946
  };
9871
9947
  images?: string[] | undefined;
9872
9948
  newTab?: boolean | undefined;
@@ -10021,6 +10097,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10021
10097
  description?: string | undefined;
10022
10098
  fileRegex?: string | undefined;
10023
10099
  }])[];
10100
+ description?: string | undefined;
10024
10101
  whenToUse?: string | undefined;
10025
10102
  customInstructions?: string | undefined;
10026
10103
  source?: "global" | "project" | undefined;
@@ -10119,6 +10196,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10119
10196
  enableMcpServerCreation?: boolean | undefined;
10120
10197
  modeApiConfigs?: Record<string, string> | undefined;
10121
10198
  customModePrompts?: Record<string, {
10199
+ description?: string | undefined;
10122
10200
  roleDefinition?: string | undefined;
10123
10201
  whenToUse?: string | undefined;
10124
10202
  customInstructions?: string | undefined;
@@ -10127,6 +10205,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10127
10205
  enhancementApiConfigId?: string | undefined;
10128
10206
  historyPreviewCollapsed?: boolean | undefined;
10129
10207
  profileThresholds?: Record<string, number> | undefined;
10208
+ hasOpenedModeSelector?: boolean | undefined;
10130
10209
  };
10131
10210
  images?: string[] | undefined;
10132
10211
  newTab?: boolean | undefined;
@@ -10270,6 +10349,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10270
10349
  description?: string | undefined;
10271
10350
  fileRegex?: string | undefined;
10272
10351
  }])[];
10352
+ description?: string | undefined;
10273
10353
  whenToUse?: string | undefined;
10274
10354
  customInstructions?: string | undefined;
10275
10355
  source?: "global" | "project" | undefined;
@@ -10368,6 +10448,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10368
10448
  enableMcpServerCreation?: boolean | undefined;
10369
10449
  modeApiConfigs?: Record<string, string> | undefined;
10370
10450
  customModePrompts?: Record<string, {
10451
+ description?: string | undefined;
10371
10452
  roleDefinition?: string | undefined;
10372
10453
  whenToUse?: string | undefined;
10373
10454
  customInstructions?: string | undefined;
@@ -10376,6 +10457,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10376
10457
  enhancementApiConfigId?: string | undefined;
10377
10458
  historyPreviewCollapsed?: boolean | undefined;
10378
10459
  profileThresholds?: Record<string, number> | undefined;
10460
+ hasOpenedModeSelector?: boolean | undefined;
10379
10461
  };
10380
10462
  images?: string[] | undefined;
10381
10463
  newTab?: boolean | undefined;
@@ -12167,6 +12249,7 @@ declare const modeConfigSchema: z.ZodObject<{
12167
12249
  name: z.ZodString;
12168
12250
  roleDefinition: z.ZodString;
12169
12251
  whenToUse: z.ZodOptional<z.ZodString>;
12252
+ description: z.ZodOptional<z.ZodString>;
12170
12253
  customInstructions: z.ZodOptional<z.ZodString>;
12171
12254
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
12172
12255
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -12193,6 +12276,7 @@ declare const modeConfigSchema: z.ZodObject<{
12193
12276
  description?: string | undefined;
12194
12277
  fileRegex?: string | undefined;
12195
12278
  }])[];
12279
+ description?: string | undefined;
12196
12280
  whenToUse?: string | undefined;
12197
12281
  customInstructions?: string | undefined;
12198
12282
  source?: "global" | "project" | undefined;
@@ -12204,6 +12288,7 @@ declare const modeConfigSchema: z.ZodObject<{
12204
12288
  description?: string | undefined;
12205
12289
  fileRegex?: string | undefined;
12206
12290
  }])[];
12291
+ description?: string | undefined;
12207
12292
  whenToUse?: string | undefined;
12208
12293
  customInstructions?: string | undefined;
12209
12294
  source?: "global" | "project" | undefined;
@@ -12218,6 +12303,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12218
12303
  name: z.ZodString;
12219
12304
  roleDefinition: z.ZodString;
12220
12305
  whenToUse: z.ZodOptional<z.ZodString>;
12306
+ description: z.ZodOptional<z.ZodString>;
12221
12307
  customInstructions: z.ZodOptional<z.ZodString>;
12222
12308
  groups: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{
12223
12309
  fileRegex: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
@@ -12244,6 +12330,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12244
12330
  description?: string | undefined;
12245
12331
  fileRegex?: string | undefined;
12246
12332
  }])[];
12333
+ description?: string | undefined;
12247
12334
  whenToUse?: string | undefined;
12248
12335
  customInstructions?: string | undefined;
12249
12336
  source?: "global" | "project" | undefined;
@@ -12255,6 +12342,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12255
12342
  description?: string | undefined;
12256
12343
  fileRegex?: string | undefined;
12257
12344
  }])[];
12345
+ description?: string | undefined;
12258
12346
  whenToUse?: string | undefined;
12259
12347
  customInstructions?: string | undefined;
12260
12348
  source?: "global" | "project" | undefined;
@@ -12266,6 +12354,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12266
12354
  description?: string | undefined;
12267
12355
  fileRegex?: string | undefined;
12268
12356
  }])[];
12357
+ description?: string | undefined;
12269
12358
  whenToUse?: string | undefined;
12270
12359
  customInstructions?: string | undefined;
12271
12360
  source?: "global" | "project" | undefined;
@@ -12277,6 +12366,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12277
12366
  description?: string | undefined;
12278
12367
  fileRegex?: string | undefined;
12279
12368
  }])[];
12369
+ description?: string | undefined;
12280
12370
  whenToUse?: string | undefined;
12281
12371
  customInstructions?: string | undefined;
12282
12372
  source?: "global" | "project" | undefined;
@@ -12290,6 +12380,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12290
12380
  description?: string | undefined;
12291
12381
  fileRegex?: string | undefined;
12292
12382
  }])[];
12383
+ description?: string | undefined;
12293
12384
  whenToUse?: string | undefined;
12294
12385
  customInstructions?: string | undefined;
12295
12386
  source?: "global" | "project" | undefined;
@@ -12303,6 +12394,7 @@ declare const customModesSettingsSchema: z.ZodObject<{
12303
12394
  description?: string | undefined;
12304
12395
  fileRegex?: string | undefined;
12305
12396
  }])[];
12397
+ description?: string | undefined;
12306
12398
  whenToUse?: string | undefined;
12307
12399
  customInstructions?: string | undefined;
12308
12400
  source?: "global" | "project" | undefined;
@@ -12315,12 +12407,15 @@ type CustomModesSettings = z.infer<typeof customModesSettingsSchema>;
12315
12407
  declare const promptComponentSchema: z.ZodObject<{
12316
12408
  roleDefinition: z.ZodOptional<z.ZodString>;
12317
12409
  whenToUse: z.ZodOptional<z.ZodString>;
12410
+ description: z.ZodOptional<z.ZodString>;
12318
12411
  customInstructions: z.ZodOptional<z.ZodString>;
12319
12412
  }, "strip", z.ZodTypeAny, {
12413
+ description?: string | undefined;
12320
12414
  roleDefinition?: string | undefined;
12321
12415
  whenToUse?: string | undefined;
12322
12416
  customInstructions?: string | undefined;
12323
12417
  }, {
12418
+ description?: string | undefined;
12324
12419
  roleDefinition?: string | undefined;
12325
12420
  whenToUse?: string | undefined;
12326
12421
  customInstructions?: string | undefined;
@@ -12332,12 +12427,15 @@ type PromptComponent = z.infer<typeof promptComponentSchema>;
12332
12427
  declare const customModePromptsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
12333
12428
  roleDefinition: z.ZodOptional<z.ZodString>;
12334
12429
  whenToUse: z.ZodOptional<z.ZodString>;
12430
+ description: z.ZodOptional<z.ZodString>;
12335
12431
  customInstructions: z.ZodOptional<z.ZodString>;
12336
12432
  }, "strip", z.ZodTypeAny, {
12433
+ description?: string | undefined;
12337
12434
  roleDefinition?: string | undefined;
12338
12435
  whenToUse?: string | undefined;
12339
12436
  customInstructions?: string | undefined;
12340
12437
  }, {
12438
+ description?: string | undefined;
12341
12439
  roleDefinition?: string | undefined;
12342
12440
  whenToUse?: string | undefined;
12343
12441
  customInstructions?: string | undefined;
@@ -12370,6 +12468,9 @@ declare enum TelemetryEventName {
12370
12468
  CHECKPOINT_CREATED = "Checkpoint Created",
12371
12469
  CHECKPOINT_RESTORED = "Checkpoint Restored",
12372
12470
  CHECKPOINT_DIFFED = "Checkpoint Diffed",
12471
+ TAB_SHOWN = "Tab Shown",
12472
+ MODE_SETTINGS_CHANGED = "Mode Setting Changed",
12473
+ CUSTOM_MODE_CREATED = "Custom Mode Created",
12373
12474
  CONTEXT_CONDENSED = "Context Condensed",
12374
12475
  SLIDING_WINDOW_TRUNCATION = "Sliding Window Truncation",
12375
12476
  CODE_ACTION_USED = "Code Action Used",
@@ -12432,7 +12533,72 @@ declare const taskPropertiesSchema: z.ZodObject<{
12432
12533
  diffStrategy?: string | undefined;
12433
12534
  isSubtask?: boolean | undefined;
12434
12535
  }>;
12536
+ declare const gitPropertiesSchema: z.ZodObject<{
12537
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12538
+ repositoryName: z.ZodOptional<z.ZodString>;
12539
+ defaultBranch: z.ZodOptional<z.ZodString>;
12540
+ }, "strip", z.ZodTypeAny, {
12541
+ repositoryUrl?: string | undefined;
12542
+ repositoryName?: string | undefined;
12543
+ defaultBranch?: string | undefined;
12544
+ }, {
12545
+ repositoryUrl?: string | undefined;
12546
+ repositoryName?: string | undefined;
12547
+ defaultBranch?: string | undefined;
12548
+ }>;
12435
12549
  declare const telemetryPropertiesSchema: z.ZodObject<{
12550
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12551
+ repositoryName: z.ZodOptional<z.ZodString>;
12552
+ defaultBranch: z.ZodOptional<z.ZodString>;
12553
+ taskId: z.ZodOptional<z.ZodString>;
12554
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12555
+ modelId: z.ZodOptional<z.ZodString>;
12556
+ diffStrategy: z.ZodOptional<z.ZodString>;
12557
+ isSubtask: z.ZodOptional<z.ZodBoolean>;
12558
+ appName: z.ZodString;
12559
+ appVersion: z.ZodString;
12560
+ vscodeVersion: z.ZodString;
12561
+ platform: z.ZodString;
12562
+ editorName: z.ZodString;
12563
+ language: z.ZodString;
12564
+ mode: z.ZodString;
12565
+ }, "strip", z.ZodTypeAny, {
12566
+ appName: string;
12567
+ appVersion: string;
12568
+ vscodeVersion: string;
12569
+ platform: string;
12570
+ editorName: string;
12571
+ language: string;
12572
+ mode: string;
12573
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12574
+ taskId?: string | undefined;
12575
+ modelId?: string | undefined;
12576
+ diffStrategy?: string | undefined;
12577
+ isSubtask?: boolean | undefined;
12578
+ repositoryUrl?: string | undefined;
12579
+ repositoryName?: string | undefined;
12580
+ defaultBranch?: string | undefined;
12581
+ }, {
12582
+ appName: string;
12583
+ appVersion: string;
12584
+ vscodeVersion: string;
12585
+ platform: string;
12586
+ editorName: string;
12587
+ language: string;
12588
+ mode: string;
12589
+ apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12590
+ taskId?: string | undefined;
12591
+ modelId?: string | undefined;
12592
+ diffStrategy?: string | undefined;
12593
+ isSubtask?: boolean | undefined;
12594
+ repositoryUrl?: string | undefined;
12595
+ repositoryName?: string | undefined;
12596
+ defaultBranch?: string | undefined;
12597
+ }>;
12598
+ declare const cloudTelemetryPropertiesSchema: z.ZodObject<{
12599
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12600
+ repositoryName: z.ZodOptional<z.ZodString>;
12601
+ defaultBranch: z.ZodOptional<z.ZodString>;
12436
12602
  taskId: z.ZodOptional<z.ZodString>;
12437
12603
  apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12438
12604
  modelId: z.ZodOptional<z.ZodString>;
@@ -12458,6 +12624,9 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12458
12624
  modelId?: string | undefined;
12459
12625
  diffStrategy?: string | undefined;
12460
12626
  isSubtask?: boolean | undefined;
12627
+ repositoryUrl?: string | undefined;
12628
+ repositoryName?: string | undefined;
12629
+ defaultBranch?: string | undefined;
12461
12630
  }, {
12462
12631
  appName: string;
12463
12632
  appVersion: string;
@@ -12471,8 +12640,13 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12471
12640
  modelId?: string | undefined;
12472
12641
  diffStrategy?: string | undefined;
12473
12642
  isSubtask?: boolean | undefined;
12643
+ repositoryUrl?: string | undefined;
12644
+ repositoryName?: string | undefined;
12645
+ defaultBranch?: string | undefined;
12474
12646
  }>;
12475
12647
  type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
12648
+ type CloudTelemetryProperties = z.infer<typeof cloudTelemetryPropertiesSchema>;
12649
+ type GitProperties = z.infer<typeof gitPropertiesSchema>;
12476
12650
  /**
12477
12651
  * TelemetryEvent
12478
12652
  */
@@ -12484,8 +12658,11 @@ type TelemetryEvent = {
12484
12658
  * RooCodeTelemetryEvent
12485
12659
  */
12486
12660
  declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12487
- type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION]>;
12661
+ type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
12488
12662
  properties: z.ZodObject<{
12663
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12664
+ repositoryName: z.ZodOptional<z.ZodString>;
12665
+ defaultBranch: z.ZodOptional<z.ZodString>;
12489
12666
  taskId: z.ZodOptional<z.ZodString>;
12490
12667
  apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12491
12668
  modelId: z.ZodOptional<z.ZodString>;
@@ -12511,6 +12688,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12511
12688
  modelId?: string | undefined;
12512
12689
  diffStrategy?: string | undefined;
12513
12690
  isSubtask?: boolean | undefined;
12691
+ repositoryUrl?: string | undefined;
12692
+ repositoryName?: string | undefined;
12693
+ defaultBranch?: string | undefined;
12514
12694
  }, {
12515
12695
  appName: string;
12516
12696
  appVersion: string;
@@ -12524,9 +12704,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12524
12704
  modelId?: string | undefined;
12525
12705
  diffStrategy?: string | undefined;
12526
12706
  isSubtask?: boolean | undefined;
12707
+ repositoryUrl?: string | undefined;
12708
+ repositoryName?: string | undefined;
12709
+ defaultBranch?: string | undefined;
12527
12710
  }>;
12528
12711
  }, "strip", z.ZodTypeAny, {
12529
- type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
12712
+ type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
12530
12713
  properties: {
12531
12714
  appName: string;
12532
12715
  appVersion: string;
@@ -12540,9 +12723,12 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12540
12723
  modelId?: string | undefined;
12541
12724
  diffStrategy?: string | undefined;
12542
12725
  isSubtask?: boolean | undefined;
12726
+ repositoryUrl?: string | undefined;
12727
+ repositoryName?: string | undefined;
12728
+ defaultBranch?: string | undefined;
12543
12729
  };
12544
12730
  }, {
12545
- type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
12731
+ type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
12546
12732
  properties: {
12547
12733
  appName: string;
12548
12734
  appVersion: string;
@@ -12556,6 +12742,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12556
12742
  modelId?: string | undefined;
12557
12743
  diffStrategy?: string | undefined;
12558
12744
  isSubtask?: boolean | undefined;
12745
+ repositoryUrl?: string | undefined;
12746
+ repositoryName?: string | undefined;
12747
+ defaultBranch?: string | undefined;
12559
12748
  };
12560
12749
  }>, z.ZodObject<{
12561
12750
  type: z.ZodLiteral<TelemetryEventName.TASK_MESSAGE>;
@@ -12644,6 +12833,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12644
12833
  } | undefined;
12645
12834
  isProtected?: boolean | undefined;
12646
12835
  }>;
12836
+ repositoryUrl: z.ZodOptional<z.ZodString>;
12837
+ repositoryName: z.ZodOptional<z.ZodString>;
12838
+ defaultBranch: z.ZodOptional<z.ZodString>;
12647
12839
  apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12648
12840
  modelId: z.ZodOptional<z.ZodString>;
12649
12841
  diffStrategy: z.ZodOptional<z.ZodString>;
@@ -12691,6 +12883,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12691
12883
  modelId?: string | undefined;
12692
12884
  diffStrategy?: string | undefined;
12693
12885
  isSubtask?: boolean | undefined;
12886
+ repositoryUrl?: string | undefined;
12887
+ repositoryName?: string | undefined;
12888
+ defaultBranch?: string | undefined;
12694
12889
  }, {
12695
12890
  message: {
12696
12891
  type: "ask" | "say";
@@ -12727,6 +12922,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12727
12922
  modelId?: string | undefined;
12728
12923
  diffStrategy?: string | undefined;
12729
12924
  isSubtask?: boolean | undefined;
12925
+ repositoryUrl?: string | undefined;
12926
+ repositoryName?: string | undefined;
12927
+ defaultBranch?: string | undefined;
12730
12928
  }>;
12731
12929
  }, "strip", z.ZodTypeAny, {
12732
12930
  type: TelemetryEventName.TASK_MESSAGE;
@@ -12766,6 +12964,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12766
12964
  modelId?: string | undefined;
12767
12965
  diffStrategy?: string | undefined;
12768
12966
  isSubtask?: boolean | undefined;
12967
+ repositoryUrl?: string | undefined;
12968
+ repositoryName?: string | undefined;
12969
+ defaultBranch?: string | undefined;
12769
12970
  };
12770
12971
  }, {
12771
12972
  type: TelemetryEventName.TASK_MESSAGE;
@@ -12805,6 +13006,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12805
13006
  modelId?: string | undefined;
12806
13007
  diffStrategy?: string | undefined;
12807
13008
  isSubtask?: boolean | undefined;
13009
+ repositoryUrl?: string | undefined;
13010
+ repositoryName?: string | undefined;
13011
+ defaultBranch?: string | undefined;
12808
13012
  };
12809
13013
  }>, z.ZodObject<{
12810
13014
  type: z.ZodLiteral<TelemetryEventName.LLM_COMPLETION>;
@@ -12814,6 +13018,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12814
13018
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
12815
13019
  cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
12816
13020
  cost: z.ZodOptional<z.ZodNumber>;
13021
+ repositoryUrl: z.ZodOptional<z.ZodString>;
13022
+ repositoryName: z.ZodOptional<z.ZodString>;
13023
+ defaultBranch: z.ZodOptional<z.ZodString>;
12817
13024
  taskId: z.ZodOptional<z.ZodString>;
12818
13025
  apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12819
13026
  modelId: z.ZodOptional<z.ZodString>;
@@ -12842,6 +13049,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12842
13049
  modelId?: string | undefined;
12843
13050
  diffStrategy?: string | undefined;
12844
13051
  isSubtask?: boolean | undefined;
13052
+ repositoryUrl?: string | undefined;
13053
+ repositoryName?: string | undefined;
13054
+ defaultBranch?: string | undefined;
12845
13055
  cacheReadTokens?: number | undefined;
12846
13056
  cacheWriteTokens?: number | undefined;
12847
13057
  }, {
@@ -12860,6 +13070,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12860
13070
  modelId?: string | undefined;
12861
13071
  diffStrategy?: string | undefined;
12862
13072
  isSubtask?: boolean | undefined;
13073
+ repositoryUrl?: string | undefined;
13074
+ repositoryName?: string | undefined;
13075
+ defaultBranch?: string | undefined;
12863
13076
  cacheReadTokens?: number | undefined;
12864
13077
  cacheWriteTokens?: number | undefined;
12865
13078
  }>;
@@ -12881,6 +13094,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12881
13094
  modelId?: string | undefined;
12882
13095
  diffStrategy?: string | undefined;
12883
13096
  isSubtask?: boolean | undefined;
13097
+ repositoryUrl?: string | undefined;
13098
+ repositoryName?: string | undefined;
13099
+ defaultBranch?: string | undefined;
12884
13100
  cacheReadTokens?: number | undefined;
12885
13101
  cacheWriteTokens?: number | undefined;
12886
13102
  };
@@ -12902,6 +13118,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12902
13118
  modelId?: string | undefined;
12903
13119
  diffStrategy?: string | undefined;
12904
13120
  isSubtask?: boolean | undefined;
13121
+ repositoryUrl?: string | undefined;
13122
+ repositoryName?: string | undefined;
13123
+ defaultBranch?: string | undefined;
12905
13124
  cacheReadTokens?: number | undefined;
12906
13125
  cacheWriteTokens?: number | undefined;
12907
13126
  };
@@ -12922,6 +13141,7 @@ type TelemetryEventSubscription = {
12922
13141
  */
12923
13142
  interface TelemetryPropertiesProvider {
12924
13143
  getTelemetryProperties(): Promise<TelemetryProperties>;
13144
+ getCloudTelemetryProperties?(): Promise<CloudTelemetryProperties>;
12925
13145
  }
12926
13146
  /**
12927
13147
  * TelemetryClient
@@ -13015,4 +13235,4 @@ declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "i
13015
13235
  type Language = z.infer<typeof languagesSchema>;
13016
13236
  declare const isLanguage: (value: string) => value is Language;
13017
13237
 
13018
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
13238
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudTelemetryProperties, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudTelemetryPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };