@roo-code/types 1.75.0 → 1.76.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
@@ -1375,6 +1375,24 @@ var chutesModels = {
1375
1375
  inputPrice: 0.077968332,
1376
1376
  outputPrice: 0.31202496,
1377
1377
  description: "Qwen3 235B A22B Thinking 2507 model with 262K context window."
1378
+ },
1379
+ "Qwen/Qwen3-Next-80B-A3B-Instruct": {
1380
+ maxTokens: 32768,
1381
+ contextWindow: 131072,
1382
+ supportsImages: false,
1383
+ supportsPromptCache: false,
1384
+ inputPrice: 0,
1385
+ outputPrice: 0,
1386
+ description: "Fast, stable instruction-tuned model optimized for complex tasks, RAG, and tool use without thinking traces."
1387
+ },
1388
+ "Qwen/Qwen3-Next-80B-A3B-Thinking": {
1389
+ maxTokens: 32768,
1390
+ contextWindow: 131072,
1391
+ supportsImages: false,
1392
+ supportsPromptCache: false,
1393
+ inputPrice: 0,
1394
+ outputPrice: 0,
1395
+ description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis."
1378
1396
  }
1379
1397
  };
1380
1398
 
@@ -3739,6 +3757,16 @@ var mainlandZAiModels = {
3739
3757
  }
3740
3758
  };
3741
3759
  var ZAI_DEFAULT_TEMPERATURE = 0;
3760
+ var zaiApiLineConfigs = {
3761
+ international_coding: {
3762
+ name: "International Coding Plan",
3763
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
3764
+ isChina: false
3765
+ },
3766
+ international: { name: "International Standard", baseUrl: "https://api.z.ai/api/paas/v4", isChina: false },
3767
+ china_coding: { name: "China Coding Plan", baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4", isChina: true },
3768
+ china: { name: "China Standard", baseUrl: "https://open.bigmodel.cn/api/paas/v4", isChina: true }
3769
+ };
3742
3770
 
3743
3771
  // src/providers/deepinfra.ts
3744
3772
  var deepInfraDefaultModelId = "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo";
@@ -3976,9 +4004,10 @@ var cerebrasSchema = apiModelIdProviderModelSchema.extend({
3976
4004
  var sambaNovaSchema = apiModelIdProviderModelSchema.extend({
3977
4005
  sambaNovaApiKey: z7.string().optional()
3978
4006
  });
4007
+ var zaiApiLineSchema = z7.enum(["international_coding", "international", "china_coding", "china"]);
3979
4008
  var zaiSchema = apiModelIdProviderModelSchema.extend({
3980
4009
  zaiApiKey: z7.string().optional(),
3981
- zaiApiLine: z7.union([z7.literal("china"), z7.literal("international")]).optional()
4010
+ zaiApiLine: zaiApiLineSchema.optional()
3982
4011
  });
3983
4012
  var fireworksSchema = apiModelIdProviderModelSchema.extend({
3984
4013
  fireworksApiKey: z7.string().optional()
@@ -4588,6 +4617,7 @@ var globalSettingsSchema = z13.object({
4588
4617
  lastShownAnnouncementId: z13.string().optional(),
4589
4618
  customInstructions: z13.string().optional(),
4590
4619
  taskHistory: z13.array(historyItemSchema).optional(),
4620
+ dismissedUpsells: z13.array(z13.string()).optional(),
4591
4621
  // Image generation settings (experimental) - flattened for simplicity
4592
4622
  openRouterImageApiKey: z13.string().optional(),
4593
4623
  openRouterImageGenerationSelectedModel: z13.string().optional(),
@@ -4669,7 +4699,6 @@ var globalSettingsSchema = z13.object({
4669
4699
  telemetrySetting: telemetrySettingsSchema.optional(),
4670
4700
  mcpEnabled: z13.boolean().optional(),
4671
4701
  enableMcpServerCreation: z13.boolean().optional(),
4672
- remoteControlEnabled: z13.boolean().optional(),
4673
4702
  mode: z13.string().optional(),
4674
4703
  modeApiConfigs: z13.record(z13.string(), z13.string()).optional(),
4675
4704
  customModes: z13.array(modeConfigSchema).optional(),
@@ -4792,7 +4821,6 @@ var EVALS_SETTINGS = {
4792
4821
  language: "en",
4793
4822
  telemetrySetting: "enabled",
4794
4823
  mcpEnabled: false,
4795
- remoteControlEnabled: false,
4796
4824
  mode: "code",
4797
4825
  // "architect",
4798
4826
  customModes: []
@@ -5206,6 +5234,12 @@ var TaskSocketEvents = /* @__PURE__ */ ((TaskSocketEvents2) => {
5206
5234
  return TaskSocketEvents2;
5207
5235
  })(TaskSocketEvents || {});
5208
5236
 
5237
+ // src/cookie-consent.ts
5238
+ var CONSENT_COOKIE_NAME = "roo-code-cookie-consent";
5239
+ var COOKIE_CONSENT_EVENTS = {
5240
+ CHANGED: "cookieConsentChanged"
5241
+ };
5242
+
5209
5243
  // src/followup.ts
5210
5244
  import { z as z16 } from "zod";
5211
5245
  var suggestionItemSchema = z16.object({
@@ -5366,6 +5400,8 @@ export {
5366
5400
  BEDROCK_REGIONS,
5367
5401
  CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS,
5368
5402
  CODEBASE_INDEX_DEFAULTS,
5403
+ CONSENT_COOKIE_NAME,
5404
+ COOKIE_CONSENT_EVENTS,
5369
5405
  ConnectionState,
5370
5406
  DEEP_SEEK_DEFAULT_TEMPERATURE,
5371
5407
  DEFAULT_CONSECUTIVE_MISTAKE_LIMIT,
@@ -5606,6 +5642,8 @@ export {
5606
5642
  vscodeLlmDefaultModelId,
5607
5643
  vscodeLlmModels,
5608
5644
  xaiDefaultModelId,
5609
- xaiModels
5645
+ xaiModels,
5646
+ zaiApiLineConfigs,
5647
+ zaiApiLineSchema
5610
5648
  };
5611
5649
  //# sourceMappingURL=index.js.map