@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.cjs CHANGED
@@ -289,7 +289,6 @@ __export(index_exports, {
289
289
  serviceTiers: () => serviceTiers,
290
290
  shareResponseSchema: () => shareResponseSchema,
291
291
  shouldReportApiErrorToTelemetry: () => shouldReportApiErrorToTelemetry,
292
- shouldUseSingleFileRead: () => shouldUseSingleFileRead,
293
292
  staticAppPropertiesSchema: () => staticAppPropertiesSchema,
294
293
  suggestionItemSchema: () => suggestionItemSchema,
295
294
  taskBridgeCommandSchema: () => taskBridgeCommandSchema,
@@ -498,7 +497,8 @@ var toolNames = [
498
497
  "codebase_search",
499
498
  "update_todo_list",
500
499
  "run_slash_command",
501
- "generate_image"
500
+ "generate_image",
501
+ "custom_tool"
502
502
  ];
503
503
  var toolNamesSchema = import_zod2.z.enum(toolNames);
504
504
  var toolUsageSchema = import_zod2.z.record(
@@ -1855,7 +1855,7 @@ var BEDROCK_SERVICE_TIER_PRICING = {
1855
1855
  var cerebrasDefaultModelId = "gpt-oss-120b";
1856
1856
  var cerebrasModels = {
1857
1857
  "zai-glm-4.6": {
1858
- maxTokens: 8192,
1858
+ maxTokens: 16384,
1859
1859
  // Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
1860
1860
  contextWindow: 131072,
1861
1861
  supportsImages: false,
@@ -1867,7 +1867,7 @@ var cerebrasModels = {
1867
1867
  description: "Highly intelligent general purpose model with up to 1,000 tokens/s"
1868
1868
  },
1869
1869
  "qwen-3-235b-a22b-instruct-2507": {
1870
- maxTokens: 8192,
1870
+ maxTokens: 16384,
1871
1871
  // Conservative default to avoid premature rate limiting
1872
1872
  contextWindow: 64e3,
1873
1873
  supportsImages: false,
@@ -1879,7 +1879,7 @@ var cerebrasModels = {
1879
1879
  description: "Intelligent model with ~1400 tokens/s"
1880
1880
  },
1881
1881
  "llama-3.3-70b": {
1882
- maxTokens: 8192,
1882
+ maxTokens: 16384,
1883
1883
  // Conservative default to avoid premature rate limiting
1884
1884
  contextWindow: 64e3,
1885
1885
  supportsImages: false,
@@ -1891,7 +1891,7 @@ var cerebrasModels = {
1891
1891
  description: "Powerful model with ~2600 tokens/s"
1892
1892
  },
1893
1893
  "qwen-3-32b": {
1894
- maxTokens: 8192,
1894
+ maxTokens: 16384,
1895
1895
  // Conservative default to avoid premature rate limiting
1896
1896
  contextWindow: 64e3,
1897
1897
  supportsImages: false,
@@ -1903,7 +1903,7 @@ var cerebrasModels = {
1903
1903
  description: "SOTA coding performance with ~2500 tokens/s"
1904
1904
  },
1905
1905
  "gpt-oss-120b": {
1906
- maxTokens: 8192,
1906
+ maxTokens: 16384,
1907
1907
  // Conservative default to avoid premature rate limiting
1908
1908
  contextWindow: 64e3,
1909
1909
  supportsImages: false,
@@ -5672,8 +5672,7 @@ var openRouterSchema = baseProviderSettingsSchema.extend({
5672
5672
  openRouterApiKey: import_zod8.z.string().optional(),
5673
5673
  openRouterModelId: import_zod8.z.string().optional(),
5674
5674
  openRouterBaseUrl: import_zod8.z.string().optional(),
5675
- openRouterSpecificProvider: import_zod8.z.string().optional(),
5676
- openRouterUseMiddleOutTransform: import_zod8.z.boolean().optional()
5675
+ openRouterSpecificProvider: import_zod8.z.string().optional()
5677
5676
  });
5678
5677
  var bedrockSchema = apiModelIdProviderModelSchema.extend({
5679
5678
  awsAccessKey: import_zod8.z.string().optional(),
@@ -6804,7 +6803,6 @@ var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].fil
6804
6803
  var isGlobalStateKey = (key) => GLOBAL_STATE_KEYS.includes(key);
6805
6804
  var EVALS_SETTINGS = {
6806
6805
  apiProvider: "openrouter",
6807
- openRouterUseMiddleOutTransform: false,
6808
6806
  lastShownAnnouncementId: "jul-09-2025-3-23-0",
6809
6807
  pinnedApiConfigs: {},
6810
6808
  autoApprovalEnabled: true,
@@ -7483,11 +7481,6 @@ var mcpExecutionStatusSchema = import_zod19.z.discriminatedUnion("status", [
7483
7481
  })
7484
7482
  ]);
7485
7483
 
7486
- // src/single-file-read-models.ts
7487
- function shouldUseSingleFileRead(modelId) {
7488
- return modelId.includes("grok-code-fast-1") || modelId.includes("code-supernova");
7489
- }
7490
-
7491
7484
  // src/todo.ts
7492
7485
  var import_zod20 = require("zod");
7493
7486
  var todoStatusSchema = import_zod20.z.enum(["pending", "in_progress", "completed"]);
@@ -7796,7 +7789,6 @@ var commandExecutionStatusSchema = import_zod21.z.discriminatedUnion("status", [
7796
7789
  serviceTiers,
7797
7790
  shareResponseSchema,
7798
7791
  shouldReportApiErrorToTelemetry,
7799
- shouldUseSingleFileRead,
7800
7792
  staticAppPropertiesSchema,
7801
7793
  suggestionItemSchema,
7802
7794
  taskBridgeCommandSchema,