@roo-code/types 1.75.0 → 1.77.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 +47 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +131 -62
- package/dist/index.d.ts +131 -62
- package/dist/index.js +42 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,8 @@ __export(index_exports, {
|
|
|
30
30
|
BEDROCK_REGIONS: () => BEDROCK_REGIONS,
|
|
31
31
|
CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS: () => CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS,
|
|
32
32
|
CODEBASE_INDEX_DEFAULTS: () => CODEBASE_INDEX_DEFAULTS,
|
|
33
|
+
CONSENT_COOKIE_NAME: () => CONSENT_COOKIE_NAME,
|
|
34
|
+
COOKIE_CONSENT_EVENTS: () => COOKIE_CONSENT_EVENTS,
|
|
33
35
|
ConnectionState: () => ConnectionState,
|
|
34
36
|
DEEP_SEEK_DEFAULT_TEMPERATURE: () => DEEP_SEEK_DEFAULT_TEMPERATURE,
|
|
35
37
|
DEFAULT_CONSECUTIVE_MISTAKE_LIMIT: () => DEFAULT_CONSECUTIVE_MISTAKE_LIMIT,
|
|
@@ -270,7 +272,9 @@ __export(index_exports, {
|
|
|
270
272
|
vscodeLlmDefaultModelId: () => vscodeLlmDefaultModelId,
|
|
271
273
|
vscodeLlmModels: () => vscodeLlmModels,
|
|
272
274
|
xaiDefaultModelId: () => xaiDefaultModelId,
|
|
273
|
-
xaiModels: () => xaiModels
|
|
275
|
+
xaiModels: () => xaiModels,
|
|
276
|
+
zaiApiLineConfigs: () => zaiApiLineConfigs,
|
|
277
|
+
zaiApiLineSchema: () => zaiApiLineSchema
|
|
274
278
|
});
|
|
275
279
|
module.exports = __toCommonJS(index_exports);
|
|
276
280
|
|
|
@@ -1651,6 +1655,24 @@ var chutesModels = {
|
|
|
1651
1655
|
inputPrice: 0.077968332,
|
|
1652
1656
|
outputPrice: 0.31202496,
|
|
1653
1657
|
description: "Qwen3 235B A22B Thinking 2507 model with 262K context window."
|
|
1658
|
+
},
|
|
1659
|
+
"Qwen/Qwen3-Next-80B-A3B-Instruct": {
|
|
1660
|
+
maxTokens: 32768,
|
|
1661
|
+
contextWindow: 131072,
|
|
1662
|
+
supportsImages: false,
|
|
1663
|
+
supportsPromptCache: false,
|
|
1664
|
+
inputPrice: 0,
|
|
1665
|
+
outputPrice: 0,
|
|
1666
|
+
description: "Fast, stable instruction-tuned model optimized for complex tasks, RAG, and tool use without thinking traces."
|
|
1667
|
+
},
|
|
1668
|
+
"Qwen/Qwen3-Next-80B-A3B-Thinking": {
|
|
1669
|
+
maxTokens: 32768,
|
|
1670
|
+
contextWindow: 131072,
|
|
1671
|
+
supportsImages: false,
|
|
1672
|
+
supportsPromptCache: false,
|
|
1673
|
+
inputPrice: 0,
|
|
1674
|
+
outputPrice: 0,
|
|
1675
|
+
description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis."
|
|
1654
1676
|
}
|
|
1655
1677
|
};
|
|
1656
1678
|
|
|
@@ -4015,6 +4037,16 @@ var mainlandZAiModels = {
|
|
|
4015
4037
|
}
|
|
4016
4038
|
};
|
|
4017
4039
|
var ZAI_DEFAULT_TEMPERATURE = 0;
|
|
4040
|
+
var zaiApiLineConfigs = {
|
|
4041
|
+
international_coding: {
|
|
4042
|
+
name: "International Coding Plan",
|
|
4043
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
4044
|
+
isChina: false
|
|
4045
|
+
},
|
|
4046
|
+
international: { name: "International Standard", baseUrl: "https://api.z.ai/api/paas/v4", isChina: false },
|
|
4047
|
+
china_coding: { name: "China Coding Plan", baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4", isChina: true },
|
|
4048
|
+
china: { name: "China Standard", baseUrl: "https://open.bigmodel.cn/api/paas/v4", isChina: true }
|
|
4049
|
+
};
|
|
4018
4050
|
|
|
4019
4051
|
// src/providers/deepinfra.ts
|
|
4020
4052
|
var deepInfraDefaultModelId = "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo";
|
|
@@ -4252,9 +4284,10 @@ var cerebrasSchema = apiModelIdProviderModelSchema.extend({
|
|
|
4252
4284
|
var sambaNovaSchema = apiModelIdProviderModelSchema.extend({
|
|
4253
4285
|
sambaNovaApiKey: import_zod7.z.string().optional()
|
|
4254
4286
|
});
|
|
4287
|
+
var zaiApiLineSchema = import_zod7.z.enum(["international_coding", "international", "china_coding", "china"]);
|
|
4255
4288
|
var zaiSchema = apiModelIdProviderModelSchema.extend({
|
|
4256
4289
|
zaiApiKey: import_zod7.z.string().optional(),
|
|
4257
|
-
zaiApiLine:
|
|
4290
|
+
zaiApiLine: zaiApiLineSchema.optional()
|
|
4258
4291
|
});
|
|
4259
4292
|
var fireworksSchema = apiModelIdProviderModelSchema.extend({
|
|
4260
4293
|
fireworksApiKey: import_zod7.z.string().optional()
|
|
@@ -4864,6 +4897,7 @@ var globalSettingsSchema = import_zod13.z.object({
|
|
|
4864
4897
|
lastShownAnnouncementId: import_zod13.z.string().optional(),
|
|
4865
4898
|
customInstructions: import_zod13.z.string().optional(),
|
|
4866
4899
|
taskHistory: import_zod13.z.array(historyItemSchema).optional(),
|
|
4900
|
+
dismissedUpsells: import_zod13.z.array(import_zod13.z.string()).optional(),
|
|
4867
4901
|
// Image generation settings (experimental) - flattened for simplicity
|
|
4868
4902
|
openRouterImageApiKey: import_zod13.z.string().optional(),
|
|
4869
4903
|
openRouterImageGenerationSelectedModel: import_zod13.z.string().optional(),
|
|
@@ -4945,7 +4979,6 @@ var globalSettingsSchema = import_zod13.z.object({
|
|
|
4945
4979
|
telemetrySetting: telemetrySettingsSchema.optional(),
|
|
4946
4980
|
mcpEnabled: import_zod13.z.boolean().optional(),
|
|
4947
4981
|
enableMcpServerCreation: import_zod13.z.boolean().optional(),
|
|
4948
|
-
remoteControlEnabled: import_zod13.z.boolean().optional(),
|
|
4949
4982
|
mode: import_zod13.z.string().optional(),
|
|
4950
4983
|
modeApiConfigs: import_zod13.z.record(import_zod13.z.string(), import_zod13.z.string()).optional(),
|
|
4951
4984
|
customModes: import_zod13.z.array(modeConfigSchema).optional(),
|
|
@@ -5068,7 +5101,6 @@ var EVALS_SETTINGS = {
|
|
|
5068
5101
|
language: "en",
|
|
5069
5102
|
telemetrySetting: "enabled",
|
|
5070
5103
|
mcpEnabled: false,
|
|
5071
|
-
remoteControlEnabled: false,
|
|
5072
5104
|
mode: "code",
|
|
5073
5105
|
// "architect",
|
|
5074
5106
|
customModes: []
|
|
@@ -5482,6 +5514,12 @@ var TaskSocketEvents = /* @__PURE__ */ ((TaskSocketEvents2) => {
|
|
|
5482
5514
|
return TaskSocketEvents2;
|
|
5483
5515
|
})(TaskSocketEvents || {});
|
|
5484
5516
|
|
|
5517
|
+
// src/cookie-consent.ts
|
|
5518
|
+
var CONSENT_COOKIE_NAME = "roo-code-cookie-consent";
|
|
5519
|
+
var COOKIE_CONSENT_EVENTS = {
|
|
5520
|
+
CHANGED: "cookieConsentChanged"
|
|
5521
|
+
};
|
|
5522
|
+
|
|
5485
5523
|
// src/followup.ts
|
|
5486
5524
|
var import_zod16 = require("zod");
|
|
5487
5525
|
var suggestionItemSchema = import_zod16.z.object({
|
|
@@ -5643,6 +5681,8 @@ var commandExecutionStatusSchema = import_zod20.z.discriminatedUnion("status", [
|
|
|
5643
5681
|
BEDROCK_REGIONS,
|
|
5644
5682
|
CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS,
|
|
5645
5683
|
CODEBASE_INDEX_DEFAULTS,
|
|
5684
|
+
CONSENT_COOKIE_NAME,
|
|
5685
|
+
COOKIE_CONSENT_EVENTS,
|
|
5646
5686
|
ConnectionState,
|
|
5647
5687
|
DEEP_SEEK_DEFAULT_TEMPERATURE,
|
|
5648
5688
|
DEFAULT_CONSECUTIVE_MISTAKE_LIMIT,
|
|
@@ -5883,6 +5923,8 @@ var commandExecutionStatusSchema = import_zod20.z.discriminatedUnion("status", [
|
|
|
5883
5923
|
vscodeLlmDefaultModelId,
|
|
5884
5924
|
vscodeLlmModels,
|
|
5885
5925
|
xaiDefaultModelId,
|
|
5886
|
-
xaiModels
|
|
5926
|
+
xaiModels,
|
|
5927
|
+
zaiApiLineConfigs,
|
|
5928
|
+
zaiApiLineSchema
|
|
5887
5929
|
});
|
|
5888
5930
|
//# sourceMappingURL=index.cjs.map
|