@roo-code/types 1.100.0 → 1.102.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 +14 -61
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -99
- package/dist/index.d.ts +116 -99
- package/dist/index.js +13 -61
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -117,6 +117,7 @@ __export(index_exports, {
|
|
|
117
117
|
bedrockDefaultModelId: () => bedrockDefaultModelId,
|
|
118
118
|
bedrockDefaultPromptRouterModelId: () => bedrockDefaultPromptRouterModelId,
|
|
119
119
|
bedrockModels: () => bedrockModels,
|
|
120
|
+
browserActions: () => browserActions,
|
|
120
121
|
cerebrasDefaultModelId: () => cerebrasDefaultModelId,
|
|
121
122
|
cerebrasModels: () => cerebrasModels,
|
|
122
123
|
checkoutDiffPayloadSchema: () => checkoutDiffPayloadSchema,
|
|
@@ -2747,8 +2748,6 @@ var geminiModels = {
|
|
|
2747
2748
|
supportsPromptCache: true,
|
|
2748
2749
|
supportsReasoningEffort: ["low", "high"],
|
|
2749
2750
|
reasoningEffort: "low",
|
|
2750
|
-
includedTools: ["write_file", "edit_file"],
|
|
2751
|
-
excludedTools: ["apply_diff"],
|
|
2752
2751
|
supportsTemperature: true,
|
|
2753
2752
|
defaultTemperature: 1,
|
|
2754
2753
|
inputPrice: 4,
|
|
@@ -2775,8 +2774,6 @@ var geminiModels = {
|
|
|
2775
2774
|
supportsPromptCache: true,
|
|
2776
2775
|
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
|
|
2777
2776
|
reasoningEffort: "medium",
|
|
2778
|
-
includedTools: ["write_file", "edit_file"],
|
|
2779
|
-
excludedTools: ["apply_diff"],
|
|
2780
2777
|
supportsTemperature: true,
|
|
2781
2778
|
defaultTemperature: 1,
|
|
2782
2779
|
inputPrice: 0.3,
|
|
@@ -2792,8 +2789,6 @@ var geminiModels = {
|
|
|
2792
2789
|
supportsNativeTools: true,
|
|
2793
2790
|
defaultToolProtocol: "native",
|
|
2794
2791
|
supportsPromptCache: true,
|
|
2795
|
-
includedTools: ["write_file", "edit_file"],
|
|
2796
|
-
excludedTools: ["apply_diff"],
|
|
2797
2792
|
inputPrice: 2.5,
|
|
2798
2793
|
// This is the pricing for prompts above 200k tokens.
|
|
2799
2794
|
outputPrice: 15,
|
|
@@ -2824,8 +2819,6 @@ var geminiModels = {
|
|
|
2824
2819
|
supportsNativeTools: true,
|
|
2825
2820
|
defaultToolProtocol: "native",
|
|
2826
2821
|
supportsPromptCache: true,
|
|
2827
|
-
includedTools: ["write_file", "edit_file"],
|
|
2828
|
-
excludedTools: ["apply_diff"],
|
|
2829
2822
|
inputPrice: 2.5,
|
|
2830
2823
|
// This is the pricing for prompts above 200k tokens.
|
|
2831
2824
|
outputPrice: 15,
|
|
@@ -2855,8 +2848,6 @@ var geminiModels = {
|
|
|
2855
2848
|
supportsNativeTools: true,
|
|
2856
2849
|
defaultToolProtocol: "native",
|
|
2857
2850
|
supportsPromptCache: true,
|
|
2858
|
-
includedTools: ["write_file", "edit_file"],
|
|
2859
|
-
excludedTools: ["apply_diff"],
|
|
2860
2851
|
inputPrice: 2.5,
|
|
2861
2852
|
// This is the pricing for prompts above 200k tokens.
|
|
2862
2853
|
outputPrice: 15,
|
|
@@ -2884,8 +2875,6 @@ var geminiModels = {
|
|
|
2884
2875
|
supportsNativeTools: true,
|
|
2885
2876
|
defaultToolProtocol: "native",
|
|
2886
2877
|
supportsPromptCache: true,
|
|
2887
|
-
includedTools: ["write_file", "edit_file"],
|
|
2888
|
-
excludedTools: ["apply_diff"],
|
|
2889
2878
|
inputPrice: 2.5,
|
|
2890
2879
|
// This is the pricing for prompts above 200k tokens.
|
|
2891
2880
|
outputPrice: 15,
|
|
@@ -2916,8 +2905,6 @@ var geminiModels = {
|
|
|
2916
2905
|
supportsNativeTools: true,
|
|
2917
2906
|
defaultToolProtocol: "native",
|
|
2918
2907
|
supportsPromptCache: true,
|
|
2919
|
-
includedTools: ["write_file", "edit_file"],
|
|
2920
|
-
excludedTools: ["apply_diff"],
|
|
2921
2908
|
inputPrice: 0.3,
|
|
2922
2909
|
outputPrice: 2.5,
|
|
2923
2910
|
cacheReadsPrice: 0.075,
|
|
@@ -2932,8 +2919,6 @@ var geminiModels = {
|
|
|
2932
2919
|
supportsNativeTools: true,
|
|
2933
2920
|
defaultToolProtocol: "native",
|
|
2934
2921
|
supportsPromptCache: true,
|
|
2935
|
-
includedTools: ["write_file", "edit_file"],
|
|
2936
|
-
excludedTools: ["apply_diff"],
|
|
2937
2922
|
inputPrice: 0.3,
|
|
2938
2923
|
outputPrice: 2.5,
|
|
2939
2924
|
cacheReadsPrice: 0.075,
|
|
@@ -2948,8 +2933,6 @@ var geminiModels = {
|
|
|
2948
2933
|
supportsNativeTools: true,
|
|
2949
2934
|
defaultToolProtocol: "native",
|
|
2950
2935
|
supportsPromptCache: true,
|
|
2951
|
-
includedTools: ["write_file", "edit_file"],
|
|
2952
|
-
excludedTools: ["apply_diff"],
|
|
2953
2936
|
inputPrice: 0.3,
|
|
2954
2937
|
outputPrice: 2.5,
|
|
2955
2938
|
cacheReadsPrice: 0.075,
|
|
@@ -2965,8 +2948,6 @@ var geminiModels = {
|
|
|
2965
2948
|
supportsNativeTools: true,
|
|
2966
2949
|
defaultToolProtocol: "native",
|
|
2967
2950
|
supportsPromptCache: true,
|
|
2968
|
-
includedTools: ["write_file", "edit_file"],
|
|
2969
|
-
excludedTools: ["apply_diff"],
|
|
2970
2951
|
inputPrice: 0.1,
|
|
2971
2952
|
outputPrice: 0.4,
|
|
2972
2953
|
cacheReadsPrice: 0.025,
|
|
@@ -2981,8 +2962,6 @@ var geminiModels = {
|
|
|
2981
2962
|
supportsNativeTools: true,
|
|
2982
2963
|
defaultToolProtocol: "native",
|
|
2983
2964
|
supportsPromptCache: true,
|
|
2984
|
-
includedTools: ["write_file", "edit_file"],
|
|
2985
|
-
excludedTools: ["apply_diff"],
|
|
2986
2965
|
inputPrice: 0.1,
|
|
2987
2966
|
outputPrice: 0.4,
|
|
2988
2967
|
cacheReadsPrice: 0.025,
|
|
@@ -4175,8 +4154,6 @@ var vertexModels = {
|
|
|
4175
4154
|
supportsPromptCache: true,
|
|
4176
4155
|
supportsReasoningEffort: ["low", "high"],
|
|
4177
4156
|
reasoningEffort: "low",
|
|
4178
|
-
includedTools: ["write_file", "edit_file"],
|
|
4179
|
-
excludedTools: ["apply_diff"],
|
|
4180
4157
|
supportsTemperature: true,
|
|
4181
4158
|
defaultTemperature: 1,
|
|
4182
4159
|
inputPrice: 4,
|
|
@@ -4203,8 +4180,6 @@ var vertexModels = {
|
|
|
4203
4180
|
supportsPromptCache: true,
|
|
4204
4181
|
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
|
|
4205
4182
|
reasoningEffort: "medium",
|
|
4206
|
-
includedTools: ["write_file", "edit_file"],
|
|
4207
|
-
excludedTools: ["apply_diff"],
|
|
4208
4183
|
supportsTemperature: true,
|
|
4209
4184
|
defaultTemperature: 1,
|
|
4210
4185
|
inputPrice: 0.3,
|
|
@@ -4219,8 +4194,6 @@ var vertexModels = {
|
|
|
4219
4194
|
supportsNativeTools: true,
|
|
4220
4195
|
defaultToolProtocol: "native",
|
|
4221
4196
|
supportsPromptCache: true,
|
|
4222
|
-
includedTools: ["write_file", "edit_file"],
|
|
4223
|
-
excludedTools: ["apply_diff"],
|
|
4224
4197
|
inputPrice: 0.15,
|
|
4225
4198
|
outputPrice: 3.5,
|
|
4226
4199
|
maxThinkingTokens: 24576,
|
|
@@ -4234,8 +4207,6 @@ var vertexModels = {
|
|
|
4234
4207
|
supportsNativeTools: true,
|
|
4235
4208
|
defaultToolProtocol: "native",
|
|
4236
4209
|
supportsPromptCache: true,
|
|
4237
|
-
includedTools: ["write_file", "edit_file"],
|
|
4238
|
-
excludedTools: ["apply_diff"],
|
|
4239
4210
|
inputPrice: 0.15,
|
|
4240
4211
|
outputPrice: 0.6
|
|
4241
4212
|
},
|
|
@@ -4246,8 +4217,6 @@ var vertexModels = {
|
|
|
4246
4217
|
supportsNativeTools: true,
|
|
4247
4218
|
defaultToolProtocol: "native",
|
|
4248
4219
|
supportsPromptCache: true,
|
|
4249
|
-
includedTools: ["write_file", "edit_file"],
|
|
4250
|
-
excludedTools: ["apply_diff"],
|
|
4251
4220
|
inputPrice: 0.3,
|
|
4252
4221
|
outputPrice: 2.5,
|
|
4253
4222
|
cacheReadsPrice: 0.075,
|
|
@@ -4262,8 +4231,6 @@ var vertexModels = {
|
|
|
4262
4231
|
supportsNativeTools: true,
|
|
4263
4232
|
defaultToolProtocol: "native",
|
|
4264
4233
|
supportsPromptCache: false,
|
|
4265
|
-
includedTools: ["write_file", "edit_file"],
|
|
4266
|
-
excludedTools: ["apply_diff"],
|
|
4267
4234
|
inputPrice: 0.15,
|
|
4268
4235
|
outputPrice: 3.5,
|
|
4269
4236
|
maxThinkingTokens: 24576,
|
|
@@ -4277,8 +4244,6 @@ var vertexModels = {
|
|
|
4277
4244
|
supportsNativeTools: true,
|
|
4278
4245
|
defaultToolProtocol: "native",
|
|
4279
4246
|
supportsPromptCache: false,
|
|
4280
|
-
includedTools: ["write_file", "edit_file"],
|
|
4281
|
-
excludedTools: ["apply_diff"],
|
|
4282
4247
|
inputPrice: 0.15,
|
|
4283
4248
|
outputPrice: 0.6
|
|
4284
4249
|
},
|
|
@@ -4289,8 +4254,6 @@ var vertexModels = {
|
|
|
4289
4254
|
supportsNativeTools: true,
|
|
4290
4255
|
defaultToolProtocol: "native",
|
|
4291
4256
|
supportsPromptCache: true,
|
|
4292
|
-
includedTools: ["write_file", "edit_file"],
|
|
4293
|
-
excludedTools: ["apply_diff"],
|
|
4294
4257
|
inputPrice: 2.5,
|
|
4295
4258
|
outputPrice: 15
|
|
4296
4259
|
},
|
|
@@ -4301,8 +4264,6 @@ var vertexModels = {
|
|
|
4301
4264
|
supportsNativeTools: true,
|
|
4302
4265
|
defaultToolProtocol: "native",
|
|
4303
4266
|
supportsPromptCache: true,
|
|
4304
|
-
includedTools: ["write_file", "edit_file"],
|
|
4305
|
-
excludedTools: ["apply_diff"],
|
|
4306
4267
|
inputPrice: 2.5,
|
|
4307
4268
|
outputPrice: 15
|
|
4308
4269
|
},
|
|
@@ -4313,8 +4274,6 @@ var vertexModels = {
|
|
|
4313
4274
|
supportsNativeTools: true,
|
|
4314
4275
|
defaultToolProtocol: "native",
|
|
4315
4276
|
supportsPromptCache: true,
|
|
4316
|
-
includedTools: ["write_file", "edit_file"],
|
|
4317
|
-
excludedTools: ["apply_diff"],
|
|
4318
4277
|
inputPrice: 2.5,
|
|
4319
4278
|
outputPrice: 15,
|
|
4320
4279
|
maxThinkingTokens: 32768,
|
|
@@ -4327,8 +4286,6 @@ var vertexModels = {
|
|
|
4327
4286
|
supportsNativeTools: true,
|
|
4328
4287
|
defaultToolProtocol: "native",
|
|
4329
4288
|
supportsPromptCache: true,
|
|
4330
|
-
includedTools: ["write_file", "edit_file"],
|
|
4331
|
-
excludedTools: ["apply_diff"],
|
|
4332
4289
|
inputPrice: 2.5,
|
|
4333
4290
|
outputPrice: 15,
|
|
4334
4291
|
maxThinkingTokens: 32768,
|
|
@@ -4356,8 +4313,6 @@ var vertexModels = {
|
|
|
4356
4313
|
supportsNativeTools: true,
|
|
4357
4314
|
defaultToolProtocol: "native",
|
|
4358
4315
|
supportsPromptCache: false,
|
|
4359
|
-
includedTools: ["write_file", "edit_file"],
|
|
4360
|
-
excludedTools: ["apply_diff"],
|
|
4361
4316
|
inputPrice: 0,
|
|
4362
4317
|
outputPrice: 0
|
|
4363
4318
|
},
|
|
@@ -4368,8 +4323,6 @@ var vertexModels = {
|
|
|
4368
4323
|
supportsNativeTools: true,
|
|
4369
4324
|
defaultToolProtocol: "native",
|
|
4370
4325
|
supportsPromptCache: false,
|
|
4371
|
-
includedTools: ["write_file", "edit_file"],
|
|
4372
|
-
excludedTools: ["apply_diff"],
|
|
4373
4326
|
inputPrice: 0,
|
|
4374
4327
|
outputPrice: 0
|
|
4375
4328
|
},
|
|
@@ -4380,8 +4333,6 @@ var vertexModels = {
|
|
|
4380
4333
|
supportsNativeTools: true,
|
|
4381
4334
|
defaultToolProtocol: "native",
|
|
4382
4335
|
supportsPromptCache: true,
|
|
4383
|
-
includedTools: ["write_file", "edit_file"],
|
|
4384
|
-
excludedTools: ["apply_diff"],
|
|
4385
4336
|
inputPrice: 0.15,
|
|
4386
4337
|
outputPrice: 0.6
|
|
4387
4338
|
},
|
|
@@ -4392,8 +4343,6 @@ var vertexModels = {
|
|
|
4392
4343
|
supportsNativeTools: true,
|
|
4393
4344
|
defaultToolProtocol: "native",
|
|
4394
4345
|
supportsPromptCache: false,
|
|
4395
|
-
includedTools: ["write_file", "edit_file"],
|
|
4396
|
-
excludedTools: ["apply_diff"],
|
|
4397
4346
|
inputPrice: 0.075,
|
|
4398
4347
|
outputPrice: 0.3
|
|
4399
4348
|
},
|
|
@@ -4404,8 +4353,6 @@ var vertexModels = {
|
|
|
4404
4353
|
supportsNativeTools: true,
|
|
4405
4354
|
defaultToolProtocol: "native",
|
|
4406
4355
|
supportsPromptCache: false,
|
|
4407
|
-
includedTools: ["write_file", "edit_file"],
|
|
4408
|
-
excludedTools: ["apply_diff"],
|
|
4409
4356
|
inputPrice: 0,
|
|
4410
4357
|
outputPrice: 0
|
|
4411
4358
|
},
|
|
@@ -4416,8 +4363,6 @@ var vertexModels = {
|
|
|
4416
4363
|
supportsNativeTools: true,
|
|
4417
4364
|
defaultToolProtocol: "native",
|
|
4418
4365
|
supportsPromptCache: true,
|
|
4419
|
-
includedTools: ["write_file", "edit_file"],
|
|
4420
|
-
excludedTools: ["apply_diff"],
|
|
4421
4366
|
inputPrice: 0.075,
|
|
4422
4367
|
outputPrice: 0.3
|
|
4423
4368
|
},
|
|
@@ -4428,8 +4373,6 @@ var vertexModels = {
|
|
|
4428
4373
|
supportsNativeTools: true,
|
|
4429
4374
|
defaultToolProtocol: "native",
|
|
4430
4375
|
supportsPromptCache: false,
|
|
4431
|
-
includedTools: ["write_file", "edit_file"],
|
|
4432
|
-
excludedTools: ["apply_diff"],
|
|
4433
4376
|
inputPrice: 1.25,
|
|
4434
4377
|
outputPrice: 5
|
|
4435
4378
|
},
|
|
@@ -4643,8 +4586,6 @@ var vertexModels = {
|
|
|
4643
4586
|
supportsNativeTools: true,
|
|
4644
4587
|
defaultToolProtocol: "native",
|
|
4645
4588
|
supportsPromptCache: true,
|
|
4646
|
-
includedTools: ["write_file", "edit_file"],
|
|
4647
|
-
excludedTools: ["apply_diff"],
|
|
4648
4589
|
inputPrice: 0.1,
|
|
4649
4590
|
outputPrice: 0.4,
|
|
4650
4591
|
cacheReadsPrice: 0.025,
|
|
@@ -5705,7 +5646,6 @@ var vertexSchema = apiModelIdProviderModelSchema.extend({
|
|
|
5705
5646
|
var openAiSchema = baseProviderSettingsSchema.extend({
|
|
5706
5647
|
openAiBaseUrl: import_zod8.z.string().optional(),
|
|
5707
5648
|
openAiApiKey: import_zod8.z.string().optional(),
|
|
5708
|
-
openAiLegacyFormat: import_zod8.z.boolean().optional(),
|
|
5709
5649
|
openAiR1FormatEnabled: import_zod8.z.boolean().optional(),
|
|
5710
5650
|
openAiModelId: import_zod8.z.string().optional(),
|
|
5711
5651
|
openAiCustomModelInfo: modelInfoSchema.nullish(),
|
|
@@ -7529,6 +7469,18 @@ var installMarketplaceItemWithParametersPayloadSchema = import_zod22.z.object({
|
|
|
7529
7469
|
item: marketplaceItemSchema,
|
|
7530
7470
|
parameters: import_zod22.z.record(import_zod22.z.string(), import_zod22.z.any())
|
|
7531
7471
|
});
|
|
7472
|
+
var browserActions = [
|
|
7473
|
+
"launch",
|
|
7474
|
+
"click",
|
|
7475
|
+
"hover",
|
|
7476
|
+
"type",
|
|
7477
|
+
"press",
|
|
7478
|
+
"scroll_down",
|
|
7479
|
+
"scroll_up",
|
|
7480
|
+
"resize",
|
|
7481
|
+
"close",
|
|
7482
|
+
"screenshot"
|
|
7483
|
+
];
|
|
7532
7484
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7533
7485
|
0 && (module.exports = {
|
|
7534
7486
|
ANTHROPIC_DEFAULT_MAX_TOKENS,
|
|
@@ -7628,6 +7580,7 @@ var installMarketplaceItemWithParametersPayloadSchema = import_zod22.z.object({
|
|
|
7628
7580
|
bedrockDefaultModelId,
|
|
7629
7581
|
bedrockDefaultPromptRouterModelId,
|
|
7630
7582
|
bedrockModels,
|
|
7583
|
+
browserActions,
|
|
7631
7584
|
cerebrasDefaultModelId,
|
|
7632
7585
|
cerebrasModels,
|
|
7633
7586
|
checkoutDiffPayloadSchema,
|