@roo-code/types 1.99.0 → 1.100.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 +55 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1001 -296
- package/dist/index.d.ts +1001 -296
- package/dist/index.js +52 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -119,6 +119,8 @@ __export(index_exports, {
|
|
|
119
119
|
bedrockModels: () => bedrockModels,
|
|
120
120
|
cerebrasDefaultModelId: () => cerebrasDefaultModelId,
|
|
121
121
|
cerebrasModels: () => cerebrasModels,
|
|
122
|
+
checkoutDiffPayloadSchema: () => checkoutDiffPayloadSchema,
|
|
123
|
+
checkoutRestorePayloadSchema: () => checkoutRestorePayloadSchema,
|
|
122
124
|
chutesDefaultModelId: () => chutesDefaultModelId,
|
|
123
125
|
chutesDefaultModelInfo: () => chutesDefaultModelInfo,
|
|
124
126
|
chutesModels: () => chutesModels,
|
|
@@ -187,6 +189,7 @@ __export(index_exports, {
|
|
|
187
189
|
historyItemSchema: () => historyItemSchema,
|
|
188
190
|
idleAsks: () => idleAsks,
|
|
189
191
|
installMarketplaceItemOptionsSchema: () => installMarketplaceItemOptionsSchema,
|
|
192
|
+
installMarketplaceItemWithParametersPayloadSchema: () => installMarketplaceItemWithParametersPayloadSchema,
|
|
190
193
|
interactiveAsks: () => interactiveAsks,
|
|
191
194
|
internalProviders: () => internalProviders,
|
|
192
195
|
internationalZAiDefaultModelId: () => internationalZAiDefaultModelId,
|
|
@@ -1533,39 +1536,6 @@ var bedrockModels = {
|
|
|
1533
1536
|
inputPrice: 0.25,
|
|
1534
1537
|
outputPrice: 1.25
|
|
1535
1538
|
},
|
|
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
1539
|
"deepseek.r1-v1:0": {
|
|
1570
1540
|
maxTokens: 32768,
|
|
1571
1541
|
contextWindow: 128e3,
|
|
@@ -1865,7 +1835,19 @@ var cerebrasModels = {
|
|
|
1865
1835
|
defaultToolProtocol: "native",
|
|
1866
1836
|
inputPrice: 0,
|
|
1867
1837
|
outputPrice: 0,
|
|
1868
|
-
description: "
|
|
1838
|
+
description: "Fast general-purpose model on Cerebras (up to 1,000 tokens/s). To be deprecated soon."
|
|
1839
|
+
},
|
|
1840
|
+
"zai-glm-4.7": {
|
|
1841
|
+
maxTokens: 16384,
|
|
1842
|
+
// Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
|
|
1843
|
+
contextWindow: 131072,
|
|
1844
|
+
supportsImages: false,
|
|
1845
|
+
supportsPromptCache: false,
|
|
1846
|
+
supportsNativeTools: true,
|
|
1847
|
+
defaultToolProtocol: "native",
|
|
1848
|
+
inputPrice: 0,
|
|
1849
|
+
outputPrice: 0,
|
|
1850
|
+
description: "Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks."
|
|
1869
1851
|
},
|
|
1870
1852
|
"qwen-3-235b-a22b-instruct-2507": {
|
|
1871
1853
|
maxTokens: 16384,
|
|
@@ -2616,6 +2598,20 @@ var fireworksModels = {
|
|
|
2616
2598
|
outputPrice: 2.5,
|
|
2617
2599
|
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
2600
|
},
|
|
2601
|
+
"accounts/fireworks/models/kimi-k2-thinking": {
|
|
2602
|
+
maxTokens: 16e3,
|
|
2603
|
+
contextWindow: 256e3,
|
|
2604
|
+
supportsImages: false,
|
|
2605
|
+
supportsPromptCache: true,
|
|
2606
|
+
supportsNativeTools: true,
|
|
2607
|
+
supportsTemperature: true,
|
|
2608
|
+
preserveReasoning: true,
|
|
2609
|
+
defaultTemperature: 1,
|
|
2610
|
+
inputPrice: 0.6,
|
|
2611
|
+
outputPrice: 2.5,
|
|
2612
|
+
cacheReadsPrice: 0.15,
|
|
2613
|
+
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."
|
|
2614
|
+
},
|
|
2619
2615
|
"accounts/fireworks/models/minimax-m2": {
|
|
2620
2616
|
maxTokens: 4096,
|
|
2621
2617
|
contextWindow: 204800,
|
|
@@ -5839,7 +5835,8 @@ var qwenCodeSchema = apiModelIdProviderModelSchema.extend({
|
|
|
5839
5835
|
qwenCodeOauthPath: import_zod8.z.string().optional()
|
|
5840
5836
|
});
|
|
5841
5837
|
var rooSchema = apiModelIdProviderModelSchema.extend({
|
|
5842
|
-
//
|
|
5838
|
+
// Can use cloud authentication or provide an API key (cli).
|
|
5839
|
+
rooApiKey: import_zod8.z.string().optional()
|
|
5843
5840
|
});
|
|
5844
5841
|
var vercelAiGatewaySchema = baseProviderSettingsSchema.extend({
|
|
5845
5842
|
vercelAiGatewayApiKey: import_zod8.z.string().optional(),
|
|
@@ -6128,6 +6125,8 @@ var historyItemSchema = import_zod9.z.object({
|
|
|
6128
6125
|
* This ensures task resumption works correctly even when NTC settings change.
|
|
6129
6126
|
*/
|
|
6130
6127
|
toolProtocol: import_zod9.z.enum(["xml", "native"]).optional(),
|
|
6128
|
+
apiConfigName: import_zod9.z.string().optional(),
|
|
6129
|
+
// Provider profile name for sticky profile feature
|
|
6131
6130
|
status: import_zod9.z.enum(["active", "completed", "delegated"]).optional(),
|
|
6132
6131
|
delegatedToId: import_zod9.z.string().optional(),
|
|
6133
6132
|
// Last child this parent delegated to
|
|
@@ -7512,6 +7511,24 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7512
7511
|
status: import_zod21.z.literal("timeout")
|
|
7513
7512
|
})
|
|
7514
7513
|
]);
|
|
7514
|
+
|
|
7515
|
+
// src/vscode-extension-host.ts
|
|
7516
|
+
var import_zod22 = require("zod");
|
|
7517
|
+
var checkoutDiffPayloadSchema = import_zod22.z.object({
|
|
7518
|
+
ts: import_zod22.z.number().optional(),
|
|
7519
|
+
previousCommitHash: import_zod22.z.string().optional(),
|
|
7520
|
+
commitHash: import_zod22.z.string(),
|
|
7521
|
+
mode: import_zod22.z.enum(["full", "checkpoint", "from-init", "to-current"])
|
|
7522
|
+
});
|
|
7523
|
+
var checkoutRestorePayloadSchema = import_zod22.z.object({
|
|
7524
|
+
ts: import_zod22.z.number(),
|
|
7525
|
+
commitHash: import_zod22.z.string(),
|
|
7526
|
+
mode: import_zod22.z.enum(["preview", "restore"])
|
|
7527
|
+
});
|
|
7528
|
+
var installMarketplaceItemWithParametersPayloadSchema = import_zod22.z.object({
|
|
7529
|
+
item: marketplaceItemSchema,
|
|
7530
|
+
parameters: import_zod22.z.record(import_zod22.z.string(), import_zod22.z.any())
|
|
7531
|
+
});
|
|
7515
7532
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7516
7533
|
0 && (module.exports = {
|
|
7517
7534
|
ANTHROPIC_DEFAULT_MAX_TOKENS,
|
|
@@ -7613,6 +7630,8 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7613
7630
|
bedrockModels,
|
|
7614
7631
|
cerebrasDefaultModelId,
|
|
7615
7632
|
cerebrasModels,
|
|
7633
|
+
checkoutDiffPayloadSchema,
|
|
7634
|
+
checkoutRestorePayloadSchema,
|
|
7616
7635
|
chutesDefaultModelId,
|
|
7617
7636
|
chutesDefaultModelInfo,
|
|
7618
7637
|
chutesModels,
|
|
@@ -7681,6 +7700,7 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
|
|
|
7681
7700
|
historyItemSchema,
|
|
7682
7701
|
idleAsks,
|
|
7683
7702
|
installMarketplaceItemOptionsSchema,
|
|
7703
|
+
installMarketplaceItemWithParametersPayloadSchema,
|
|
7684
7704
|
interactiveAsks,
|
|
7685
7705
|
internalProviders,
|
|
7686
7706
|
internationalZAiDefaultModelId,
|