@roo-code/types 1.100.0 → 1.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2411,8 +2411,6 @@ var geminiModels = {
2411
2411
  supportsPromptCache: true,
2412
2412
  supportsReasoningEffort: ["low", "high"],
2413
2413
  reasoningEffort: "low",
2414
- includedTools: ["write_file", "edit_file"],
2415
- excludedTools: ["apply_diff"],
2416
2414
  supportsTemperature: true,
2417
2415
  defaultTemperature: 1,
2418
2416
  inputPrice: 4,
@@ -2439,8 +2437,6 @@ var geminiModels = {
2439
2437
  supportsPromptCache: true,
2440
2438
  supportsReasoningEffort: ["minimal", "low", "medium", "high"],
2441
2439
  reasoningEffort: "medium",
2442
- includedTools: ["write_file", "edit_file"],
2443
- excludedTools: ["apply_diff"],
2444
2440
  supportsTemperature: true,
2445
2441
  defaultTemperature: 1,
2446
2442
  inputPrice: 0.3,
@@ -2456,8 +2452,6 @@ var geminiModels = {
2456
2452
  supportsNativeTools: true,
2457
2453
  defaultToolProtocol: "native",
2458
2454
  supportsPromptCache: true,
2459
- includedTools: ["write_file", "edit_file"],
2460
- excludedTools: ["apply_diff"],
2461
2455
  inputPrice: 2.5,
2462
2456
  // This is the pricing for prompts above 200k tokens.
2463
2457
  outputPrice: 15,
@@ -2488,8 +2482,6 @@ var geminiModels = {
2488
2482
  supportsNativeTools: true,
2489
2483
  defaultToolProtocol: "native",
2490
2484
  supportsPromptCache: true,
2491
- includedTools: ["write_file", "edit_file"],
2492
- excludedTools: ["apply_diff"],
2493
2485
  inputPrice: 2.5,
2494
2486
  // This is the pricing for prompts above 200k tokens.
2495
2487
  outputPrice: 15,
@@ -2519,8 +2511,6 @@ var geminiModels = {
2519
2511
  supportsNativeTools: true,
2520
2512
  defaultToolProtocol: "native",
2521
2513
  supportsPromptCache: true,
2522
- includedTools: ["write_file", "edit_file"],
2523
- excludedTools: ["apply_diff"],
2524
2514
  inputPrice: 2.5,
2525
2515
  // This is the pricing for prompts above 200k tokens.
2526
2516
  outputPrice: 15,
@@ -2548,8 +2538,6 @@ var geminiModels = {
2548
2538
  supportsNativeTools: true,
2549
2539
  defaultToolProtocol: "native",
2550
2540
  supportsPromptCache: true,
2551
- includedTools: ["write_file", "edit_file"],
2552
- excludedTools: ["apply_diff"],
2553
2541
  inputPrice: 2.5,
2554
2542
  // This is the pricing for prompts above 200k tokens.
2555
2543
  outputPrice: 15,
@@ -2580,8 +2568,6 @@ var geminiModels = {
2580
2568
  supportsNativeTools: true,
2581
2569
  defaultToolProtocol: "native",
2582
2570
  supportsPromptCache: true,
2583
- includedTools: ["write_file", "edit_file"],
2584
- excludedTools: ["apply_diff"],
2585
2571
  inputPrice: 0.3,
2586
2572
  outputPrice: 2.5,
2587
2573
  cacheReadsPrice: 0.075,
@@ -2596,8 +2582,6 @@ var geminiModels = {
2596
2582
  supportsNativeTools: true,
2597
2583
  defaultToolProtocol: "native",
2598
2584
  supportsPromptCache: true,
2599
- includedTools: ["write_file", "edit_file"],
2600
- excludedTools: ["apply_diff"],
2601
2585
  inputPrice: 0.3,
2602
2586
  outputPrice: 2.5,
2603
2587
  cacheReadsPrice: 0.075,
@@ -2612,8 +2596,6 @@ var geminiModels = {
2612
2596
  supportsNativeTools: true,
2613
2597
  defaultToolProtocol: "native",
2614
2598
  supportsPromptCache: true,
2615
- includedTools: ["write_file", "edit_file"],
2616
- excludedTools: ["apply_diff"],
2617
2599
  inputPrice: 0.3,
2618
2600
  outputPrice: 2.5,
2619
2601
  cacheReadsPrice: 0.075,
@@ -2629,8 +2611,6 @@ var geminiModels = {
2629
2611
  supportsNativeTools: true,
2630
2612
  defaultToolProtocol: "native",
2631
2613
  supportsPromptCache: true,
2632
- includedTools: ["write_file", "edit_file"],
2633
- excludedTools: ["apply_diff"],
2634
2614
  inputPrice: 0.1,
2635
2615
  outputPrice: 0.4,
2636
2616
  cacheReadsPrice: 0.025,
@@ -2645,8 +2625,6 @@ var geminiModels = {
2645
2625
  supportsNativeTools: true,
2646
2626
  defaultToolProtocol: "native",
2647
2627
  supportsPromptCache: true,
2648
- includedTools: ["write_file", "edit_file"],
2649
- excludedTools: ["apply_diff"],
2650
2628
  inputPrice: 0.1,
2651
2629
  outputPrice: 0.4,
2652
2630
  cacheReadsPrice: 0.025,
@@ -3839,8 +3817,6 @@ var vertexModels = {
3839
3817
  supportsPromptCache: true,
3840
3818
  supportsReasoningEffort: ["low", "high"],
3841
3819
  reasoningEffort: "low",
3842
- includedTools: ["write_file", "edit_file"],
3843
- excludedTools: ["apply_diff"],
3844
3820
  supportsTemperature: true,
3845
3821
  defaultTemperature: 1,
3846
3822
  inputPrice: 4,
@@ -3867,8 +3843,6 @@ var vertexModels = {
3867
3843
  supportsPromptCache: true,
3868
3844
  supportsReasoningEffort: ["minimal", "low", "medium", "high"],
3869
3845
  reasoningEffort: "medium",
3870
- includedTools: ["write_file", "edit_file"],
3871
- excludedTools: ["apply_diff"],
3872
3846
  supportsTemperature: true,
3873
3847
  defaultTemperature: 1,
3874
3848
  inputPrice: 0.3,
@@ -3883,8 +3857,6 @@ var vertexModels = {
3883
3857
  supportsNativeTools: true,
3884
3858
  defaultToolProtocol: "native",
3885
3859
  supportsPromptCache: true,
3886
- includedTools: ["write_file", "edit_file"],
3887
- excludedTools: ["apply_diff"],
3888
3860
  inputPrice: 0.15,
3889
3861
  outputPrice: 3.5,
3890
3862
  maxThinkingTokens: 24576,
@@ -3898,8 +3870,6 @@ var vertexModels = {
3898
3870
  supportsNativeTools: true,
3899
3871
  defaultToolProtocol: "native",
3900
3872
  supportsPromptCache: true,
3901
- includedTools: ["write_file", "edit_file"],
3902
- excludedTools: ["apply_diff"],
3903
3873
  inputPrice: 0.15,
3904
3874
  outputPrice: 0.6
3905
3875
  },
@@ -3910,8 +3880,6 @@ var vertexModels = {
3910
3880
  supportsNativeTools: true,
3911
3881
  defaultToolProtocol: "native",
3912
3882
  supportsPromptCache: true,
3913
- includedTools: ["write_file", "edit_file"],
3914
- excludedTools: ["apply_diff"],
3915
3883
  inputPrice: 0.3,
3916
3884
  outputPrice: 2.5,
3917
3885
  cacheReadsPrice: 0.075,
@@ -3926,8 +3894,6 @@ var vertexModels = {
3926
3894
  supportsNativeTools: true,
3927
3895
  defaultToolProtocol: "native",
3928
3896
  supportsPromptCache: false,
3929
- includedTools: ["write_file", "edit_file"],
3930
- excludedTools: ["apply_diff"],
3931
3897
  inputPrice: 0.15,
3932
3898
  outputPrice: 3.5,
3933
3899
  maxThinkingTokens: 24576,
@@ -3941,8 +3907,6 @@ var vertexModels = {
3941
3907
  supportsNativeTools: true,
3942
3908
  defaultToolProtocol: "native",
3943
3909
  supportsPromptCache: false,
3944
- includedTools: ["write_file", "edit_file"],
3945
- excludedTools: ["apply_diff"],
3946
3910
  inputPrice: 0.15,
3947
3911
  outputPrice: 0.6
3948
3912
  },
@@ -3953,8 +3917,6 @@ var vertexModels = {
3953
3917
  supportsNativeTools: true,
3954
3918
  defaultToolProtocol: "native",
3955
3919
  supportsPromptCache: true,
3956
- includedTools: ["write_file", "edit_file"],
3957
- excludedTools: ["apply_diff"],
3958
3920
  inputPrice: 2.5,
3959
3921
  outputPrice: 15
3960
3922
  },
@@ -3965,8 +3927,6 @@ var vertexModels = {
3965
3927
  supportsNativeTools: true,
3966
3928
  defaultToolProtocol: "native",
3967
3929
  supportsPromptCache: true,
3968
- includedTools: ["write_file", "edit_file"],
3969
- excludedTools: ["apply_diff"],
3970
3930
  inputPrice: 2.5,
3971
3931
  outputPrice: 15
3972
3932
  },
@@ -3977,8 +3937,6 @@ var vertexModels = {
3977
3937
  supportsNativeTools: true,
3978
3938
  defaultToolProtocol: "native",
3979
3939
  supportsPromptCache: true,
3980
- includedTools: ["write_file", "edit_file"],
3981
- excludedTools: ["apply_diff"],
3982
3940
  inputPrice: 2.5,
3983
3941
  outputPrice: 15,
3984
3942
  maxThinkingTokens: 32768,
@@ -3991,8 +3949,6 @@ var vertexModels = {
3991
3949
  supportsNativeTools: true,
3992
3950
  defaultToolProtocol: "native",
3993
3951
  supportsPromptCache: true,
3994
- includedTools: ["write_file", "edit_file"],
3995
- excludedTools: ["apply_diff"],
3996
3952
  inputPrice: 2.5,
3997
3953
  outputPrice: 15,
3998
3954
  maxThinkingTokens: 32768,
@@ -4020,8 +3976,6 @@ var vertexModels = {
4020
3976
  supportsNativeTools: true,
4021
3977
  defaultToolProtocol: "native",
4022
3978
  supportsPromptCache: false,
4023
- includedTools: ["write_file", "edit_file"],
4024
- excludedTools: ["apply_diff"],
4025
3979
  inputPrice: 0,
4026
3980
  outputPrice: 0
4027
3981
  },
@@ -4032,8 +3986,6 @@ var vertexModels = {
4032
3986
  supportsNativeTools: true,
4033
3987
  defaultToolProtocol: "native",
4034
3988
  supportsPromptCache: false,
4035
- includedTools: ["write_file", "edit_file"],
4036
- excludedTools: ["apply_diff"],
4037
3989
  inputPrice: 0,
4038
3990
  outputPrice: 0
4039
3991
  },
@@ -4044,8 +3996,6 @@ var vertexModels = {
4044
3996
  supportsNativeTools: true,
4045
3997
  defaultToolProtocol: "native",
4046
3998
  supportsPromptCache: true,
4047
- includedTools: ["write_file", "edit_file"],
4048
- excludedTools: ["apply_diff"],
4049
3999
  inputPrice: 0.15,
4050
4000
  outputPrice: 0.6
4051
4001
  },
@@ -4056,8 +4006,6 @@ var vertexModels = {
4056
4006
  supportsNativeTools: true,
4057
4007
  defaultToolProtocol: "native",
4058
4008
  supportsPromptCache: false,
4059
- includedTools: ["write_file", "edit_file"],
4060
- excludedTools: ["apply_diff"],
4061
4009
  inputPrice: 0.075,
4062
4010
  outputPrice: 0.3
4063
4011
  },
@@ -4068,8 +4016,6 @@ var vertexModels = {
4068
4016
  supportsNativeTools: true,
4069
4017
  defaultToolProtocol: "native",
4070
4018
  supportsPromptCache: false,
4071
- includedTools: ["write_file", "edit_file"],
4072
- excludedTools: ["apply_diff"],
4073
4019
  inputPrice: 0,
4074
4020
  outputPrice: 0
4075
4021
  },
@@ -4080,8 +4026,6 @@ var vertexModels = {
4080
4026
  supportsNativeTools: true,
4081
4027
  defaultToolProtocol: "native",
4082
4028
  supportsPromptCache: true,
4083
- includedTools: ["write_file", "edit_file"],
4084
- excludedTools: ["apply_diff"],
4085
4029
  inputPrice: 0.075,
4086
4030
  outputPrice: 0.3
4087
4031
  },
@@ -4092,8 +4036,6 @@ var vertexModels = {
4092
4036
  supportsNativeTools: true,
4093
4037
  defaultToolProtocol: "native",
4094
4038
  supportsPromptCache: false,
4095
- includedTools: ["write_file", "edit_file"],
4096
- excludedTools: ["apply_diff"],
4097
4039
  inputPrice: 1.25,
4098
4040
  outputPrice: 5
4099
4041
  },
@@ -4307,8 +4249,6 @@ var vertexModels = {
4307
4249
  supportsNativeTools: true,
4308
4250
  defaultToolProtocol: "native",
4309
4251
  supportsPromptCache: true,
4310
- includedTools: ["write_file", "edit_file"],
4311
- excludedTools: ["apply_diff"],
4312
4252
  inputPrice: 0.1,
4313
4253
  outputPrice: 0.4,
4314
4254
  cacheReadsPrice: 0.025,
@@ -5369,7 +5309,6 @@ var vertexSchema = apiModelIdProviderModelSchema.extend({
5369
5309
  var openAiSchema = baseProviderSettingsSchema.extend({
5370
5310
  openAiBaseUrl: z8.string().optional(),
5371
5311
  openAiApiKey: z8.string().optional(),
5372
- openAiLegacyFormat: z8.boolean().optional(),
5373
5312
  openAiR1FormatEnabled: z8.boolean().optional(),
5374
5313
  openAiModelId: z8.string().optional(),
5375
5314
  openAiCustomModelInfo: modelInfoSchema.nullish(),
@@ -5729,7 +5668,7 @@ var MODELS_BY_PROVIDER = {
5729
5668
  models: Object.keys(openAiNativeModels)
5730
5669
  },
5731
5670
  "qwen-code": { id: "qwen-code", label: "Qwen Code", models: Object.keys(qwenCodeModels) },
5732
- roo: { id: "roo", label: "Roo Code Cloud", models: [] },
5671
+ roo: { id: "roo", label: "Roo Code Router", models: [] },
5733
5672
  sambanova: {
5734
5673
  id: "sambanova",
5735
5674
  label: "SambaNova",
@@ -7193,6 +7132,18 @@ var installMarketplaceItemWithParametersPayloadSchema = z23.object({
7193
7132
  item: marketplaceItemSchema,
7194
7133
  parameters: z23.record(z23.string(), z23.any())
7195
7134
  });
7135
+ var browserActions = [
7136
+ "launch",
7137
+ "click",
7138
+ "hover",
7139
+ "type",
7140
+ "press",
7141
+ "scroll_down",
7142
+ "scroll_up",
7143
+ "resize",
7144
+ "close",
7145
+ "screenshot"
7146
+ ];
7196
7147
  export {
7197
7148
  ANTHROPIC_DEFAULT_MAX_TOKENS,
7198
7149
  ANTHROPIC_STYLE_PROVIDERS,
@@ -7291,6 +7242,7 @@ export {
7291
7242
  bedrockDefaultModelId,
7292
7243
  bedrockDefaultPromptRouterModelId,
7293
7244
  bedrockModels,
7245
+ browserActions,
7294
7246
  cerebrasDefaultModelId,
7295
7247
  cerebrasModels,
7296
7248
  checkoutDiffPayloadSchema,