@roo-code/types 1.99.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 +69 -96
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1114 -392
- package/dist/index.d.ts +1114 -392
- package/dist/index.js +65 -96
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -117,8 +117,11 @@ __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,
|
|
123
|
+
checkoutDiffPayloadSchema: () => checkoutDiffPayloadSchema,
|
|
124
|
+
checkoutRestorePayloadSchema: () => checkoutRestorePayloadSchema,
|
|
122
125
|
chutesDefaultModelId: () => chutesDefaultModelId,
|
|
123
126
|
chutesDefaultModelInfo: () => chutesDefaultModelInfo,
|
|
124
127
|
chutesModels: () => chutesModels,
|
|
@@ -187,6 +190,7 @@ __export(index_exports, {
|
|
|
187
190
|
historyItemSchema: () => historyItemSchema,
|
|
188
191
|
idleAsks: () => idleAsks,
|
|
189
192
|
installMarketplaceItemOptionsSchema: () => installMarketplaceItemOptionsSchema,
|
|
193
|
+
installMarketplaceItemWithParametersPayloadSchema: () => installMarketplaceItemWithParametersPayloadSchema,
|
|
190
194
|
interactiveAsks: () => interactiveAsks,
|
|
191
195
|
internalProviders: () => internalProviders,
|
|
192
196
|
internationalZAiDefaultModelId: () => internationalZAiDefaultModelId,
|
|
@@ -1533,39 +1537,6 @@ var bedrockModels = {
|
|
|
1533
1537
|
inputPrice: 0.25,
|
|
1534
1538
|
outputPrice: 1.25
|
|
1535
1539
|
},
|
|
1536
|
-
"anthropic.claude-2-1-v1:0": {
|
|
1537
|
-
maxTokens: 4096,
|
|
1538
|
-
contextWindow: 1e5,
|
|
1539
|
-
supportsImages: false,
|
|
1540
|
-
supportsPromptCache: false,
|
|
1541
|
-
supportsNativeTools: true,
|
|
1542
|
-
defaultToolProtocol: "native",
|
|
1543
|
-
inputPrice: 8,
|
|
1544
|
-
outputPrice: 24,
|
|
1545
|
-
description: "Claude 2.1"
|
|
1546
|
-
},
|
|
1547
|
-
"anthropic.claude-2-0-v1:0": {
|
|
1548
|
-
maxTokens: 4096,
|
|
1549
|
-
contextWindow: 1e5,
|
|
1550
|
-
supportsImages: false,
|
|
1551
|
-
supportsPromptCache: false,
|
|
1552
|
-
supportsNativeTools: true,
|
|
1553
|
-
defaultToolProtocol: "native",
|
|
1554
|
-
inputPrice: 8,
|
|
1555
|
-
outputPrice: 24,
|
|
1556
|
-
description: "Claude 2.0"
|
|
1557
|
-
},
|
|
1558
|
-
"anthropic.claude-instant-v1:0": {
|
|
1559
|
-
maxTokens: 4096,
|
|
1560
|
-
contextWindow: 1e5,
|
|
1561
|
-
supportsImages: false,
|
|
1562
|
-
supportsPromptCache: false,
|
|
1563
|
-
supportsNativeTools: true,
|
|
1564
|
-
defaultToolProtocol: "native",
|
|
1565
|
-
inputPrice: 0.8,
|
|
1566
|
-
outputPrice: 2.4,
|
|
1567
|
-
description: "Claude Instant"
|
|
1568
|
-
},
|
|
1569
1540
|
"deepseek.r1-v1:0": {
|
|
1570
1541
|
maxTokens: 32768,
|
|
1571
1542
|
contextWindow: 128e3,
|
|
@@ -1865,7 +1836,19 @@ var cerebrasModels = {
|
|
|
1865
1836
|
defaultToolProtocol: "native",
|
|
1866
1837
|
inputPrice: 0,
|
|
1867
1838
|
outputPrice: 0,
|
|
1868
|
-
description: "
|
|
1839
|
+
description: "Fast general-purpose model on Cerebras (up to 1,000 tokens/s). To be deprecated soon."
|
|
1840
|
+
},
|
|
1841
|
+
"zai-glm-4.7": {
|
|
1842
|
+
maxTokens: 16384,
|
|
1843
|
+
// Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
|
|
1844
|
+
contextWindow: 131072,
|
|
1845
|
+
supportsImages: false,
|
|
1846
|
+
supportsPromptCache: false,
|
|
1847
|
+
supportsNativeTools: true,
|
|
1848
|
+
defaultToolProtocol: "native",
|
|
1849
|
+
inputPrice: 0,
|
|
1850
|
+
outputPrice: 0,
|
|
1851
|
+
description: "Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks."
|
|
1869
1852
|
},
|
|
1870
1853
|
"qwen-3-235b-a22b-instruct-2507": {
|
|
1871
1854
|
maxTokens: 16384,
|
|
@@ -2616,6 +2599,20 @@ var fireworksModels = {
|
|
|
2616
2599
|
outputPrice: 2.5,
|
|
2617
2600
|
description: "Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities."
|
|
2618
2601
|
},
|
|
2602
|
+
"accounts/fireworks/models/kimi-k2-thinking": {
|
|
2603
|
+
maxTokens: 16e3,
|
|
2604
|
+
contextWindow: 256e3,
|
|
2605
|
+
supportsImages: false,
|
|
2606
|
+
supportsPromptCache: true,
|
|
2607
|
+
supportsNativeTools: true,
|
|
2608
|
+
supportsTemperature: true,
|
|
2609
|
+
preserveReasoning: true,
|
|
2610
|
+
defaultTemperature: 1,
|
|
2611
|
+
inputPrice: 0.6,
|
|
2612
|
+
outputPrice: 2.5,
|
|
2613
|
+
cacheReadsPrice: 0.15,
|
|
2614
|
+
description: "The kimi-k2-thinking model is a general-purpose agentic reasoning model developed by Moonshot AI. Thanks to its strength in deep reasoning and multi-turn tool use, it can solve even the hardest problems."
|
|
2615
|
+
},
|
|
2619
2616
|
"accounts/fireworks/models/minimax-m2": {
|
|
2620
2617
|
maxTokens: 4096,
|
|
2621
2618
|
contextWindow: 204800,
|
|
@@ -2751,8 +2748,6 @@ var geminiModels = {
|
|
|
2751
2748
|
supportsPromptCache: true,
|
|
2752
2749
|
supportsReasoningEffort: ["low", "high"],
|
|
2753
2750
|
reasoningEffort: "low",
|
|
2754
|
-
includedTools: ["write_file", "edit_file"],
|
|
2755
|
-
excludedTools: ["apply_diff"],
|
|
2756
2751
|
supportsTemperature: true,
|
|
2757
2752
|
defaultTemperature: 1,
|
|
2758
2753
|
inputPrice: 4,
|
|
@@ -2779,8 +2774,6 @@ var geminiModels = {
|
|
|
2779
2774
|
supportsPromptCache: true,
|
|
2780
2775
|
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
|
|
2781
2776
|
reasoningEffort: "medium",
|
|
2782
|
-
includedTools: ["write_file", "edit_file"],
|
|
2783
|
-
excludedTools: ["apply_diff"],
|
|
2784
2777
|
supportsTemperature: true,
|
|
2785
2778
|
defaultTemperature: 1,
|
|
2786
2779
|
inputPrice: 0.3,
|
|
@@ -2796,8 +2789,6 @@ var geminiModels = {
|
|
|
2796
2789
|
supportsNativeTools: true,
|
|
2797
2790
|
defaultToolProtocol: "native",
|
|
2798
2791
|
supportsPromptCache: true,
|
|
2799
|
-
includedTools: ["write_file", "edit_file"],
|
|
2800
|
-
excludedTools: ["apply_diff"],
|
|
2801
2792
|
inputPrice: 2.5,
|
|
2802
2793
|
// This is the pricing for prompts above 200k tokens.
|
|
2803
2794
|
outputPrice: 15,
|
|
@@ -2828,8 +2819,6 @@ var geminiModels = {
|
|
|
2828
2819
|
supportsNativeTools: true,
|
|
2829
2820
|
defaultToolProtocol: "native",
|
|
2830
2821
|
supportsPromptCache: true,
|
|
2831
|
-
includedTools: ["write_file", "edit_file"],
|
|
2832
|
-
excludedTools: ["apply_diff"],
|
|
2833
2822
|
inputPrice: 2.5,
|
|
2834
2823
|
// This is the pricing for prompts above 200k tokens.
|
|
2835
2824
|
outputPrice: 15,
|
|
@@ -2859,8 +2848,6 @@ var geminiModels = {
|
|
|
2859
2848
|
supportsNativeTools: true,
|
|
2860
2849
|
defaultToolProtocol: "native",
|
|
2861
2850
|
supportsPromptCache: true,
|
|
2862
|
-
includedTools: ["write_file", "edit_file"],
|
|
2863
|
-
excludedTools: ["apply_diff"],
|
|
2864
2851
|
inputPrice: 2.5,
|
|
2865
2852
|
// This is the pricing for prompts above 200k tokens.
|
|
2866
2853
|
outputPrice: 15,
|
|
@@ -2888,8 +2875,6 @@ var geminiModels = {
|
|
|
2888
2875
|
supportsNativeTools: true,
|
|
2889
2876
|
defaultToolProtocol: "native",
|
|
2890
2877
|
supportsPromptCache: true,
|
|
2891
|
-
includedTools: ["write_file", "edit_file"],
|
|
2892
|
-
excludedTools: ["apply_diff"],
|
|
2893
2878
|
inputPrice: 2.5,
|
|
2894
2879
|
// This is the pricing for prompts above 200k tokens.
|
|
2895
2880
|
outputPrice: 15,
|
|
@@ -2920,8 +2905,6 @@ var geminiModels = {
|
|
|
2920
2905
|
supportsNativeTools: true,
|
|
2921
2906
|
defaultToolProtocol: "native",
|
|
2922
2907
|
supportsPromptCache: true,
|
|
2923
|
-
includedTools: ["write_file", "edit_file"],
|
|
2924
|
-
excludedTools: ["apply_diff"],
|
|
2925
2908
|
inputPrice: 0.3,
|
|
2926
2909
|
outputPrice: 2.5,
|
|
2927
2910
|
cacheReadsPrice: 0.075,
|
|
@@ -2936,8 +2919,6 @@ var geminiModels = {
|
|
|
2936
2919
|
supportsNativeTools: true,
|
|
2937
2920
|
defaultToolProtocol: "native",
|
|
2938
2921
|
supportsPromptCache: true,
|
|
2939
|
-
includedTools: ["write_file", "edit_file"],
|
|
2940
|
-
excludedTools: ["apply_diff"],
|
|
2941
2922
|
inputPrice: 0.3,
|
|
2942
2923
|
outputPrice: 2.5,
|
|
2943
2924
|
cacheReadsPrice: 0.075,
|
|
@@ -2952,8 +2933,6 @@ var geminiModels = {
|
|
|
2952
2933
|
supportsNativeTools: true,
|
|
2953
2934
|
defaultToolProtocol: "native",
|
|
2954
2935
|
supportsPromptCache: true,
|
|
2955
|
-
includedTools: ["write_file", "edit_file"],
|
|
2956
|
-
excludedTools: ["apply_diff"],
|
|
2957
2936
|
inputPrice: 0.3,
|
|
2958
2937
|
outputPrice: 2.5,
|
|
2959
2938
|
cacheReadsPrice: 0.075,
|
|
@@ -2969,8 +2948,6 @@ var geminiModels = {
|
|
|
2969
2948
|
supportsNativeTools: true,
|
|
2970
2949
|
defaultToolProtocol: "native",
|
|
2971
2950
|
supportsPromptCache: true,
|
|
2972
|
-
includedTools: ["write_file", "edit_file"],
|
|
2973
|
-
excludedTools: ["apply_diff"],
|
|
2974
2951
|
inputPrice: 0.1,
|
|
2975
2952
|
outputPrice: 0.4,
|
|
2976
2953
|
cacheReadsPrice: 0.025,
|
|
@@ -2985,8 +2962,6 @@ var geminiModels = {
|
|
|
2985
2962
|
supportsNativeTools: true,
|
|
2986
2963
|
defaultToolProtocol: "native",
|
|
2987
2964
|
supportsPromptCache: true,
|
|
2988
|
-
includedTools: ["write_file", "edit_file"],
|
|
2989
|
-
excludedTools: ["apply_diff"],
|
|
2990
2965
|
inputPrice: 0.1,
|
|
2991
2966
|
outputPrice: 0.4,
|
|
2992
2967
|
cacheReadsPrice: 0.025,
|
|
@@ -4179,8 +4154,6 @@ var vertexModels = {
|
|
|
4179
4154
|
supportsPromptCache: true,
|
|
4180
4155
|
supportsReasoningEffort: ["low", "high"],
|
|
4181
4156
|
reasoningEffort: "low",
|
|
4182
|
-
includedTools: ["write_file", "edit_file"],
|
|
4183
|
-
excludedTools: ["apply_diff"],
|
|
4184
4157
|
supportsTemperature: true,
|
|
4185
4158
|
defaultTemperature: 1,
|
|
4186
4159
|
inputPrice: 4,
|
|
@@ -4207,8 +4180,6 @@ var vertexModels = {
|
|
|
4207
4180
|
supportsPromptCache: true,
|
|
4208
4181
|
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
|
|
4209
4182
|
reasoningEffort: "medium",
|
|
4210
|
-
includedTools: ["write_file", "edit_file"],
|
|
4211
|
-
excludedTools: ["apply_diff"],
|
|
4212
4183
|
supportsTemperature: true,
|
|
4213
4184
|
defaultTemperature: 1,
|
|
4214
4185
|
inputPrice: 0.3,
|
|
@@ -4223,8 +4194,6 @@ var vertexModels = {
|
|
|
4223
4194
|
supportsNativeTools: true,
|
|
4224
4195
|
defaultToolProtocol: "native",
|
|
4225
4196
|
supportsPromptCache: true,
|
|
4226
|
-
includedTools: ["write_file", "edit_file"],
|
|
4227
|
-
excludedTools: ["apply_diff"],
|
|
4228
4197
|
inputPrice: 0.15,
|
|
4229
4198
|
outputPrice: 3.5,
|
|
4230
4199
|
maxThinkingTokens: 24576,
|
|
@@ -4238,8 +4207,6 @@ var vertexModels = {
|
|
|
4238
4207
|
supportsNativeTools: true,
|
|
4239
4208
|
defaultToolProtocol: "native",
|
|
4240
4209
|
supportsPromptCache: true,
|
|
4241
|
-
includedTools: ["write_file", "edit_file"],
|
|
4242
|
-
excludedTools: ["apply_diff"],
|
|
4243
4210
|
inputPrice: 0.15,
|
|
4244
4211
|
outputPrice: 0.6
|
|
4245
4212
|
},
|
|
@@ -4250,8 +4217,6 @@ var vertexModels = {
|
|
|
4250
4217
|
supportsNativeTools: true,
|
|
4251
4218
|
defaultToolProtocol: "native",
|
|
4252
4219
|
supportsPromptCache: true,
|
|
4253
|
-
includedTools: ["write_file", "edit_file"],
|
|
4254
|
-
excludedTools: ["apply_diff"],
|
|
4255
4220
|
inputPrice: 0.3,
|
|
4256
4221
|
outputPrice: 2.5,
|
|
4257
4222
|
cacheReadsPrice: 0.075,
|
|
@@ -4266,8 +4231,6 @@ var vertexModels = {
|
|
|
4266
4231
|
supportsNativeTools: true,
|
|
4267
4232
|
defaultToolProtocol: "native",
|
|
4268
4233
|
supportsPromptCache: false,
|
|
4269
|
-
includedTools: ["write_file", "edit_file"],
|
|
4270
|
-
excludedTools: ["apply_diff"],
|
|
4271
4234
|
inputPrice: 0.15,
|
|
4272
4235
|
outputPrice: 3.5,
|
|
4273
4236
|
maxThinkingTokens: 24576,
|
|
@@ -4281,8 +4244,6 @@ var vertexModels = {
|
|
|
4281
4244
|
supportsNativeTools: true,
|
|
4282
4245
|
defaultToolProtocol: "native",
|
|
4283
4246
|
supportsPromptCache: false,
|
|
4284
|
-
includedTools: ["write_file", "edit_file"],
|
|
4285
|
-
excludedTools: ["apply_diff"],
|
|
4286
4247
|
inputPrice: 0.15,
|
|
4287
4248
|
outputPrice: 0.6
|
|
4288
4249
|
},
|
|
@@ -4293,8 +4254,6 @@ var vertexModels = {
|
|
|
4293
4254
|
supportsNativeTools: true,
|
|
4294
4255
|
defaultToolProtocol: "native",
|
|
4295
4256
|
supportsPromptCache: true,
|
|
4296
|
-
includedTools: ["write_file", "edit_file"],
|
|
4297
|
-
excludedTools: ["apply_diff"],
|
|
4298
4257
|
inputPrice: 2.5,
|
|
4299
4258
|
outputPrice: 15
|
|
4300
4259
|
},
|
|
@@ -4305,8 +4264,6 @@ var vertexModels = {
|
|
|
4305
4264
|
supportsNativeTools: true,
|
|
4306
4265
|
defaultToolProtocol: "native",
|
|
4307
4266
|
supportsPromptCache: true,
|
|
4308
|
-
includedTools: ["write_file", "edit_file"],
|
|
4309
|
-
excludedTools: ["apply_diff"],
|
|
4310
4267
|
inputPrice: 2.5,
|
|
4311
4268
|
outputPrice: 15
|
|
4312
4269
|
},
|
|
@@ -4317,8 +4274,6 @@ var vertexModels = {
|
|
|
4317
4274
|
supportsNativeTools: true,
|
|
4318
4275
|
defaultToolProtocol: "native",
|
|
4319
4276
|
supportsPromptCache: true,
|
|
4320
|
-
includedTools: ["write_file", "edit_file"],
|
|
4321
|
-
excludedTools: ["apply_diff"],
|
|
4322
4277
|
inputPrice: 2.5,
|
|
4323
4278
|
outputPrice: 15,
|
|
4324
4279
|
maxThinkingTokens: 32768,
|
|
@@ -4331,8 +4286,6 @@ var vertexModels = {
|
|
|
4331
4286
|
supportsNativeTools: true,
|
|
4332
4287
|
defaultToolProtocol: "native",
|
|
4333
4288
|
supportsPromptCache: true,
|
|
4334
|
-
includedTools: ["write_file", "edit_file"],
|
|
4335
|
-
excludedTools: ["apply_diff"],
|
|
4336
4289
|
inputPrice: 2.5,
|
|
4337
4290
|
outputPrice: 15,
|
|
4338
4291
|
maxThinkingTokens: 32768,
|
|
@@ -4360,8 +4313,6 @@ var vertexModels = {
|
|
|
4360
4313
|
supportsNativeTools: true,
|
|
4361
4314
|
defaultToolProtocol: "native",
|
|
4362
4315
|
supportsPromptCache: false,
|
|
4363
|
-
includedTools: ["write_file", "edit_file"],
|
|
4364
|
-
excludedTools: ["apply_diff"],
|
|
4365
4316
|
inputPrice: 0,
|
|
4366
4317
|
outputPrice: 0
|
|
4367
4318
|
},
|
|
@@ -4372,8 +4323,6 @@ var vertexModels = {
|
|
|
4372
4323
|
supportsNativeTools: true,
|
|
4373
4324
|
defaultToolProtocol: "native",
|
|
4374
4325
|
supportsPromptCache: false,
|
|
4375
|
-
includedTools: ["write_file", "edit_file"],
|
|
4376
|
-
excludedTools: ["apply_diff"],
|
|
4377
4326
|
inputPrice: 0,
|
|
4378
4327
|
outputPrice: 0
|
|
4379
4328
|
},
|
|
@@ -4384,8 +4333,6 @@ var vertexModels = {
|
|
|
4384
4333
|
supportsNativeTools: true,
|
|
4385
4334
|
defaultToolProtocol: "native",
|
|
4386
4335
|
supportsPromptCache: true,
|
|
4387
|
-
includedTools: ["write_file", "edit_file"],
|
|
4388
|
-
excludedTools: ["apply_diff"],
|
|
4389
4336
|
inputPrice: 0.15,
|
|
4390
4337
|
outputPrice: 0.6
|
|
4391
4338
|
},
|
|
@@ -4396,8 +4343,6 @@ var vertexModels = {
|
|
|
4396
4343
|
supportsNativeTools: true,
|
|
4397
4344
|
defaultToolProtocol: "native",
|
|
4398
4345
|
supportsPromptCache: false,
|
|
4399
|
-
includedTools: ["write_file", "edit_file"],
|
|
4400
|
-
excludedTools: ["apply_diff"],
|
|
4401
4346
|
inputPrice: 0.075,
|
|
4402
4347
|
outputPrice: 0.3
|
|
4403
4348
|
},
|
|
@@ -4408,8 +4353,6 @@ var vertexModels = {
|
|
|
4408
4353
|
supportsNativeTools: true,
|
|
4409
4354
|
defaultToolProtocol: "native",
|
|
4410
4355
|
supportsPromptCache: false,
|
|
4411
|
-
includedTools: ["write_file", "edit_file"],
|
|
4412
|
-
excludedTools: ["apply_diff"],
|
|
4413
4356
|
inputPrice: 0,
|
|
4414
4357
|
outputPrice: 0
|
|
4415
4358
|
},
|
|
@@ -4420,8 +4363,6 @@ var vertexModels = {
|
|
|
4420
4363
|
supportsNativeTools: true,
|
|
4421
4364
|
defaultToolProtocol: "native",
|
|
4422
4365
|
supportsPromptCache: true,
|
|
4423
|
-
includedTools: ["write_file", "edit_file"],
|
|
4424
|
-
excludedTools: ["apply_diff"],
|
|
4425
4366
|
inputPrice: 0.075,
|
|
4426
4367
|
outputPrice: 0.3
|
|
4427
4368
|
},
|
|
@@ -4432,8 +4373,6 @@ var vertexModels = {
|
|
|
4432
4373
|
supportsNativeTools: true,
|
|
4433
4374
|
defaultToolProtocol: "native",
|
|
4434
4375
|
supportsPromptCache: false,
|
|
4435
|
-
includedTools: ["write_file", "edit_file"],
|
|
4436
|
-
excludedTools: ["apply_diff"],
|
|
4437
4376
|
inputPrice: 1.25,
|
|
4438
4377
|
outputPrice: 5
|
|
4439
4378
|
},
|
|
@@ -4647,8 +4586,6 @@ var vertexModels = {
|
|
|
4647
4586
|
supportsNativeTools: true,
|
|
4648
4587
|
defaultToolProtocol: "native",
|
|
4649
4588
|
supportsPromptCache: true,
|
|
4650
|
-
includedTools: ["write_file", "edit_file"],
|
|
4651
|
-
excludedTools: ["apply_diff"],
|
|
4652
4589
|
inputPrice: 0.1,
|
|
4653
4590
|
outputPrice: 0.4,
|
|
4654
4591
|
cacheReadsPrice: 0.025,
|
|
@@ -5709,7 +5646,6 @@ var vertexSchema = apiModelIdProviderModelSchema.extend({
|
|
|
5709
5646
|
var openAiSchema = baseProviderSettingsSchema.extend({
|
|
5710
5647
|
openAiBaseUrl: import_zod8.z.string().optional(),
|
|
5711
5648
|
openAiApiKey: import_zod8.z.string().optional(),
|
|
5712
|
-
openAiLegacyFormat: import_zod8.z.boolean().optional(),
|
|
5713
5649
|
openAiR1FormatEnabled: import_zod8.z.boolean().optional(),
|
|
5714
5650
|
openAiModelId: import_zod8.z.string().optional(),
|
|
5715
5651
|
openAiCustomModelInfo: modelInfoSchema.nullish(),
|
|
@@ -5839,7 +5775,8 @@ var qwenCodeSchema = apiModelIdProviderModelSchema.extend({
|
|
|
5839
5775
|
qwenCodeOauthPath: import_zod8.z.string().optional()
|
|
5840
5776
|
});
|
|
5841
5777
|
var rooSchema = apiModelIdProviderModelSchema.extend({
|
|
5842
|
-
//
|
|
5778
|
+
// Can use cloud authentication or provide an API key (cli).
|
|
5779
|
+
rooApiKey: import_zod8.z.string().optional()
|
|
5843
5780
|
});
|
|
5844
5781
|
var vercelAiGatewaySchema = baseProviderSettingsSchema.extend({
|
|
5845
5782
|
vercelAiGatewayApiKey: import_zod8.z.string().optional(),
|
|
@@ -6128,6 +6065,8 @@ var historyItemSchema = import_zod9.z.object({
|
|
|
6128
6065
|
* This ensures task resumption works correctly even when NTC settings change.
|
|
6129
6066
|
*/
|
|
6130
6067
|
toolProtocol: import_zod9.z.enum(["xml", "native"]).optional(),
|
|
6068
|
+
apiConfigName: import_zod9.z.string().optional(),
|
|
6069
|
+
// Provider profile name for sticky profile feature
|
|
6131
6070
|
status: import_zod9.z.enum(["active", "completed", "delegated"]).optional(),
|
|
6132
6071
|
delegatedToId: import_zod9.z.string().optional(),
|
|
6133
6072
|
// Last child this parent delegated to
|
|
@@ -7512,6 +7451,36 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7512
7451
|
status: import_zod21.z.literal("timeout")
|
|
7513
7452
|
})
|
|
7514
7453
|
]);
|
|
7454
|
+
|
|
7455
|
+
// src/vscode-extension-host.ts
|
|
7456
|
+
var import_zod22 = require("zod");
|
|
7457
|
+
var checkoutDiffPayloadSchema = import_zod22.z.object({
|
|
7458
|
+
ts: import_zod22.z.number().optional(),
|
|
7459
|
+
previousCommitHash: import_zod22.z.string().optional(),
|
|
7460
|
+
commitHash: import_zod22.z.string(),
|
|
7461
|
+
mode: import_zod22.z.enum(["full", "checkpoint", "from-init", "to-current"])
|
|
7462
|
+
});
|
|
7463
|
+
var checkoutRestorePayloadSchema = import_zod22.z.object({
|
|
7464
|
+
ts: import_zod22.z.number(),
|
|
7465
|
+
commitHash: import_zod22.z.string(),
|
|
7466
|
+
mode: import_zod22.z.enum(["preview", "restore"])
|
|
7467
|
+
});
|
|
7468
|
+
var installMarketplaceItemWithParametersPayloadSchema = import_zod22.z.object({
|
|
7469
|
+
item: marketplaceItemSchema,
|
|
7470
|
+
parameters: import_zod22.z.record(import_zod22.z.string(), import_zod22.z.any())
|
|
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
|
+
];
|
|
7515
7484
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7516
7485
|
0 && (module.exports = {
|
|
7517
7486
|
ANTHROPIC_DEFAULT_MAX_TOKENS,
|
|
@@ -7611,8 +7580,11 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7611
7580
|
bedrockDefaultModelId,
|
|
7612
7581
|
bedrockDefaultPromptRouterModelId,
|
|
7613
7582
|
bedrockModels,
|
|
7583
|
+
browserActions,
|
|
7614
7584
|
cerebrasDefaultModelId,
|
|
7615
7585
|
cerebrasModels,
|
|
7586
|
+
checkoutDiffPayloadSchema,
|
|
7587
|
+
checkoutRestorePayloadSchema,
|
|
7616
7588
|
chutesDefaultModelId,
|
|
7617
7589
|
chutesDefaultModelInfo,
|
|
7618
7590
|
chutesModels,
|
|
@@ -7681,6 +7653,7 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7681
7653
|
historyItemSchema,
|
|
7682
7654
|
idleAsks,
|
|
7683
7655
|
installMarketplaceItemOptionsSchema,
|
|
7656
|
+
installMarketplaceItemWithParametersPayloadSchema,
|
|
7684
7657
|
interactiveAsks,
|
|
7685
7658
|
internalProviders,
|
|
7686
7659
|
internationalZAiDefaultModelId,
|