@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.js CHANGED
@@ -1200,39 +1200,6 @@ var bedrockModels = {
1200
1200
  inputPrice: 0.25,
1201
1201
  outputPrice: 1.25
1202
1202
  },
1203
- "anthropic.claude-2-1-v1:0": {
1204
- maxTokens: 4096,
1205
- contextWindow: 1e5,
1206
- supportsImages: false,
1207
- supportsPromptCache: false,
1208
- supportsNativeTools: true,
1209
- defaultToolProtocol: "native",
1210
- inputPrice: 8,
1211
- outputPrice: 24,
1212
- description: "Claude 2.1"
1213
- },
1214
- "anthropic.claude-2-0-v1:0": {
1215
- maxTokens: 4096,
1216
- contextWindow: 1e5,
1217
- supportsImages: false,
1218
- supportsPromptCache: false,
1219
- supportsNativeTools: true,
1220
- defaultToolProtocol: "native",
1221
- inputPrice: 8,
1222
- outputPrice: 24,
1223
- description: "Claude 2.0"
1224
- },
1225
- "anthropic.claude-instant-v1:0": {
1226
- maxTokens: 4096,
1227
- contextWindow: 1e5,
1228
- supportsImages: false,
1229
- supportsPromptCache: false,
1230
- supportsNativeTools: true,
1231
- defaultToolProtocol: "native",
1232
- inputPrice: 0.8,
1233
- outputPrice: 2.4,
1234
- description: "Claude Instant"
1235
- },
1236
1203
  "deepseek.r1-v1:0": {
1237
1204
  maxTokens: 32768,
1238
1205
  contextWindow: 128e3,
@@ -1532,7 +1499,19 @@ var cerebrasModels = {
1532
1499
  defaultToolProtocol: "native",
1533
1500
  inputPrice: 0,
1534
1501
  outputPrice: 0,
1535
- description: "Highly intelligent general purpose model with up to 1,000 tokens/s"
1502
+ description: "Fast general-purpose model on Cerebras (up to 1,000 tokens/s). To be deprecated soon."
1503
+ },
1504
+ "zai-glm-4.7": {
1505
+ maxTokens: 16384,
1506
+ // Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
1507
+ contextWindow: 131072,
1508
+ supportsImages: false,
1509
+ supportsPromptCache: false,
1510
+ supportsNativeTools: true,
1511
+ defaultToolProtocol: "native",
1512
+ inputPrice: 0,
1513
+ outputPrice: 0,
1514
+ description: "Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks."
1536
1515
  },
1537
1516
  "qwen-3-235b-a22b-instruct-2507": {
1538
1517
  maxTokens: 16384,
@@ -2283,6 +2262,20 @@ var fireworksModels = {
2283
2262
  outputPrice: 2.5,
2284
2263
  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."
2285
2264
  },
2265
+ "accounts/fireworks/models/kimi-k2-thinking": {
2266
+ maxTokens: 16e3,
2267
+ contextWindow: 256e3,
2268
+ supportsImages: false,
2269
+ supportsPromptCache: true,
2270
+ supportsNativeTools: true,
2271
+ supportsTemperature: true,
2272
+ preserveReasoning: true,
2273
+ defaultTemperature: 1,
2274
+ inputPrice: 0.6,
2275
+ outputPrice: 2.5,
2276
+ cacheReadsPrice: 0.15,
2277
+ 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."
2278
+ },
2286
2279
  "accounts/fireworks/models/minimax-m2": {
2287
2280
  maxTokens: 4096,
2288
2281
  contextWindow: 204800,
@@ -5506,7 +5499,8 @@ var qwenCodeSchema = apiModelIdProviderModelSchema.extend({
5506
5499
  qwenCodeOauthPath: z8.string().optional()
5507
5500
  });
5508
5501
  var rooSchema = apiModelIdProviderModelSchema.extend({
5509
- // No additional fields needed - uses cloud authentication.
5502
+ // Can use cloud authentication or provide an API key (cli).
5503
+ rooApiKey: z8.string().optional()
5510
5504
  });
5511
5505
  var vercelAiGatewaySchema = baseProviderSettingsSchema.extend({
5512
5506
  vercelAiGatewayApiKey: z8.string().optional(),
@@ -5795,6 +5789,8 @@ var historyItemSchema = z9.object({
5795
5789
  * This ensures task resumption works correctly even when NTC settings change.
5796
5790
  */
5797
5791
  toolProtocol: z9.enum(["xml", "native"]).optional(),
5792
+ apiConfigName: z9.string().optional(),
5793
+ // Provider profile name for sticky profile feature
5798
5794
  status: z9.enum(["active", "completed", "delegated"]).optional(),
5799
5795
  delegatedToId: z9.string().optional(),
5800
5796
  // Last child this parent delegated to
@@ -7179,6 +7175,24 @@ var commandExecutionStatusSchema = z22.discriminatedUnion("status", [
7179
7175
  status: z22.literal("timeout")
7180
7176
  })
7181
7177
  ]);
7178
+
7179
+ // src/vscode-extension-host.ts
7180
+ import { z as z23 } from "zod";
7181
+ var checkoutDiffPayloadSchema = z23.object({
7182
+ ts: z23.number().optional(),
7183
+ previousCommitHash: z23.string().optional(),
7184
+ commitHash: z23.string(),
7185
+ mode: z23.enum(["full", "checkpoint", "from-init", "to-current"])
7186
+ });
7187
+ var checkoutRestorePayloadSchema = z23.object({
7188
+ ts: z23.number(),
7189
+ commitHash: z23.string(),
7190
+ mode: z23.enum(["preview", "restore"])
7191
+ });
7192
+ var installMarketplaceItemWithParametersPayloadSchema = z23.object({
7193
+ item: marketplaceItemSchema,
7194
+ parameters: z23.record(z23.string(), z23.any())
7195
+ });
7182
7196
  export {
7183
7197
  ANTHROPIC_DEFAULT_MAX_TOKENS,
7184
7198
  ANTHROPIC_STYLE_PROVIDERS,
@@ -7279,6 +7293,8 @@ export {
7279
7293
  bedrockModels,
7280
7294
  cerebrasDefaultModelId,
7281
7295
  cerebrasModels,
7296
+ checkoutDiffPayloadSchema,
7297
+ checkoutRestorePayloadSchema,
7282
7298
  chutesDefaultModelId,
7283
7299
  chutesDefaultModelInfo,
7284
7300
  chutesModels,
@@ -7347,6 +7363,7 @@ export {
7347
7363
  historyItemSchema,
7348
7364
  idleAsks,
7349
7365
  installMarketplaceItemOptionsSchema,
7366
+ installMarketplaceItemWithParametersPayloadSchema,
7350
7367
  interactiveAsks,
7351
7368
  internalProviders,
7352
7369
  internationalZAiDefaultModelId,