@roo-code/types 1.95.0 → 1.96.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
@@ -164,7 +164,8 @@ var toolNames = [
164
164
  "codebase_search",
165
165
  "update_todo_list",
166
166
  "run_slash_command",
167
- "generate_image"
167
+ "generate_image",
168
+ "custom_tool"
168
169
  ];
169
170
  var toolNamesSchema = z2.enum(toolNames);
170
171
  var toolUsageSchema = z2.record(
@@ -1521,7 +1522,7 @@ var BEDROCK_SERVICE_TIER_PRICING = {
1521
1522
  var cerebrasDefaultModelId = "gpt-oss-120b";
1522
1523
  var cerebrasModels = {
1523
1524
  "zai-glm-4.6": {
1524
- maxTokens: 8192,
1525
+ maxTokens: 16384,
1525
1526
  // Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
1526
1527
  contextWindow: 131072,
1527
1528
  supportsImages: false,
@@ -1533,7 +1534,7 @@ var cerebrasModels = {
1533
1534
  description: "Highly intelligent general purpose model with up to 1,000 tokens/s"
1534
1535
  },
1535
1536
  "qwen-3-235b-a22b-instruct-2507": {
1536
- maxTokens: 8192,
1537
+ maxTokens: 16384,
1537
1538
  // Conservative default to avoid premature rate limiting
1538
1539
  contextWindow: 64e3,
1539
1540
  supportsImages: false,
@@ -1545,7 +1546,7 @@ var cerebrasModels = {
1545
1546
  description: "Intelligent model with ~1400 tokens/s"
1546
1547
  },
1547
1548
  "llama-3.3-70b": {
1548
- maxTokens: 8192,
1549
+ maxTokens: 16384,
1549
1550
  // Conservative default to avoid premature rate limiting
1550
1551
  contextWindow: 64e3,
1551
1552
  supportsImages: false,
@@ -1557,7 +1558,7 @@ var cerebrasModels = {
1557
1558
  description: "Powerful model with ~2600 tokens/s"
1558
1559
  },
1559
1560
  "qwen-3-32b": {
1560
- maxTokens: 8192,
1561
+ maxTokens: 16384,
1561
1562
  // Conservative default to avoid premature rate limiting
1562
1563
  contextWindow: 64e3,
1563
1564
  supportsImages: false,
@@ -1569,7 +1570,7 @@ var cerebrasModels = {
1569
1570
  description: "SOTA coding performance with ~2500 tokens/s"
1570
1571
  },
1571
1572
  "gpt-oss-120b": {
1572
- maxTokens: 8192,
1573
+ maxTokens: 16384,
1573
1574
  // Conservative default to avoid premature rate limiting
1574
1575
  contextWindow: 64e3,
1575
1576
  supportsImages: false,
@@ -5338,8 +5339,7 @@ var openRouterSchema = baseProviderSettingsSchema.extend({
5338
5339
  openRouterApiKey: z8.string().optional(),
5339
5340
  openRouterModelId: z8.string().optional(),
5340
5341
  openRouterBaseUrl: z8.string().optional(),
5341
- openRouterSpecificProvider: z8.string().optional(),
5342
- openRouterUseMiddleOutTransform: z8.boolean().optional()
5342
+ openRouterSpecificProvider: z8.string().optional()
5343
5343
  });
5344
5344
  var bedrockSchema = apiModelIdProviderModelSchema.extend({
5345
5345
  awsAccessKey: z8.string().optional(),
@@ -6470,7 +6470,6 @@ var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].fil
6470
6470
  var isGlobalStateKey = (key) => GLOBAL_STATE_KEYS.includes(key);
6471
6471
  var EVALS_SETTINGS = {
6472
6472
  apiProvider: "openrouter",
6473
- openRouterUseMiddleOutTransform: false,
6474
6473
  lastShownAnnouncementId: "jul-09-2025-3-23-0",
6475
6474
  pinnedApiConfigs: {},
6476
6475
  autoApprovalEnabled: true,
@@ -7149,11 +7148,6 @@ var mcpExecutionStatusSchema = z20.discriminatedUnion("status", [
7149
7148
  })
7150
7149
  ]);
7151
7150
 
7152
- // src/single-file-read-models.ts
7153
- function shouldUseSingleFileRead(modelId) {
7154
- return modelId.includes("grok-code-fast-1") || modelId.includes("code-supernova");
7155
- }
7156
-
7157
7151
  // src/todo.ts
7158
7152
  import { z as z21 } from "zod";
7159
7153
  var todoStatusSchema = z21.enum(["pending", "in_progress", "completed"]);
@@ -7461,7 +7455,6 @@ export {
7461
7455
  serviceTiers,
7462
7456
  shareResponseSchema,
7463
7457
  shouldReportApiErrorToTelemetry,
7464
- shouldUseSingleFileRead,
7465
7458
  staticAppPropertiesSchema,
7466
7459
  suggestionItemSchema,
7467
7460
  taskBridgeCommandSchema,