@qwen-code/qwen-code 0.7.1-nightly.20260116.886f914f → 0.7.1-nightly.20260117.0681c718
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/cli.js +29 -9
- package/locales/zh.js +3 -3
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -155414,7 +155414,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
155414
155414
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
155415
155415
|
});
|
|
155416
155416
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
155417
|
-
const version2 = "0.7.1-nightly.
|
|
155417
|
+
const version2 = "0.7.1-nightly.20260117.0681c718";
|
|
155418
155418
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
155419
155419
|
const baseHeaders = {
|
|
155420
155420
|
"User-Agent": userAgent2
|
|
@@ -282360,10 +282360,10 @@ var init_zh = __esm({
|
|
|
282360
282360
|
"Session Stats": "\u4F1A\u8BDD\u7EDF\u8BA1",
|
|
282361
282361
|
"Model Usage": "\u6A21\u578B\u4F7F\u7528\u60C5\u51B5",
|
|
282362
282362
|
Reqs: "\u8BF7\u6C42\u6570",
|
|
282363
|
-
"Input Tokens": "\u8F93\u5165\
|
|
282364
|
-
"Output Tokens": "\u8F93\u51FA\
|
|
282363
|
+
"Input Tokens": "\u8F93\u5165 token \u6570",
|
|
282364
|
+
"Output Tokens": "\u8F93\u51FA token \u6570",
|
|
282365
282365
|
"Savings Highlight:": "\u8282\u7701\u4EAE\u70B9\uFF1A",
|
|
282366
|
-
"of input tokens were served from the cache, reducing costs.": "\
|
|
282366
|
+
"of input tokens were served from the cache, reducing costs.": "\u4ECE\u7F13\u5B58\u8F7D\u5165 token \uFF0C\u964D\u4F4E\u4E86\u6210\u672C",
|
|
282367
282367
|
"Tip: For a full token breakdown, run `/stats model`.": "\u63D0\u793A\uFF1A\u8981\u67E5\u770B\u5B8C\u6574\u7684\u4EE4\u724C\u660E\u7EC6\uFF0C\u8BF7\u8FD0\u884C `/stats model`",
|
|
282368
282368
|
"Model Stats For Nerds": "\u6A21\u578B\u7EDF\u8BA1\uFF08\u6280\u672F\u7EC6\u8282\uFF09",
|
|
282369
282369
|
"Tool Stats For Nerds": "\u5DE5\u5177\u7EDF\u8BA1\uFF08\u6280\u672F\u7EC6\u8282\uFF09",
|
|
@@ -346189,6 +346189,26 @@ var SETTINGS_SCHEMA = {
|
|
|
346189
346189
|
default: DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
346190
346190
|
description: "The number of lines to keep when truncating tool output.",
|
|
346191
346191
|
showInDialog: true
|
|
346192
|
+
},
|
|
346193
|
+
experimental: {
|
|
346194
|
+
type: "object",
|
|
346195
|
+
label: "Experimental",
|
|
346196
|
+
category: "Tools",
|
|
346197
|
+
requiresRestart: true,
|
|
346198
|
+
default: {},
|
|
346199
|
+
description: "Experimental tool features.",
|
|
346200
|
+
showInDialog: false,
|
|
346201
|
+
properties: {
|
|
346202
|
+
skills: {
|
|
346203
|
+
type: "boolean",
|
|
346204
|
+
label: "Skills",
|
|
346205
|
+
category: "Tools",
|
|
346206
|
+
requiresRestart: true,
|
|
346207
|
+
default: false,
|
|
346208
|
+
description: "Enable experimental Agent Skills feature. When enabled, Qwen Code can use Skills from .qwen/skills/ and ~/.qwen/skills/.",
|
|
346209
|
+
showInDialog: true
|
|
346210
|
+
}
|
|
346211
|
+
}
|
|
346192
346212
|
}
|
|
346193
346213
|
}
|
|
346194
346214
|
},
|
|
@@ -346609,7 +346629,7 @@ function applyUpdates(current, updates) {
|
|
|
346609
346629
|
const result = current;
|
|
346610
346630
|
for (const key of Object.getOwnPropertyNames(updates)) {
|
|
346611
346631
|
const value = updates[key];
|
|
346612
|
-
if (typeof value === "object" && value !== null && !Array.isArray(value) && typeof result[key] === "object" && result[key] !== null && !Array.isArray(result[key])) {
|
|
346632
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value) && Object.keys(value).length > 0 && typeof result[key] === "object" && result[key] !== null && !Array.isArray(result[key])) {
|
|
346613
346633
|
result[key] = applyUpdates(
|
|
346614
346634
|
result[key],
|
|
346615
346635
|
value
|
|
@@ -359945,7 +359965,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
359945
359965
|
// packages/cli/src/utils/version.ts
|
|
359946
359966
|
async function getCliVersion() {
|
|
359947
359967
|
const pkgJson = await getPackageJson();
|
|
359948
|
-
return "0.7.1-nightly.
|
|
359968
|
+
return "0.7.1-nightly.20260117.0681c718";
|
|
359949
359969
|
}
|
|
359950
359970
|
__name(getCliVersion, "getCliVersion");
|
|
359951
359971
|
|
|
@@ -364056,7 +364076,7 @@ async function parseArguments(settings) {
|
|
|
364056
364076
|
}).option("experimental-skills", {
|
|
364057
364077
|
type: "boolean",
|
|
364058
364078
|
description: "Enable experimental Skills feature",
|
|
364059
|
-
default: false
|
|
364079
|
+
default: settings.tools?.experimental?.skills ?? false
|
|
364060
364080
|
}).option("channel", {
|
|
364061
364081
|
type: "string",
|
|
364062
364082
|
choices: ["VSCode", "ACP", "SDK", "CI"],
|
|
@@ -367846,7 +367866,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
367846
367866
|
|
|
367847
367867
|
// packages/cli/src/generated/git-commit.ts
|
|
367848
367868
|
init_esbuild_shims();
|
|
367849
|
-
var GIT_COMMIT_INFO2 = "
|
|
367869
|
+
var GIT_COMMIT_INFO2 = "bb80fca1";
|
|
367850
367870
|
|
|
367851
367871
|
// packages/cli/src/utils/systemInfo.ts
|
|
367852
367872
|
async function getNpmVersion() {
|
|
@@ -419285,7 +419305,7 @@ var GeminiAgent = class {
|
|
|
419285
419305
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
419286
419306
|
description: APPROVAL_MODE_INFO[mode].description
|
|
419287
419307
|
}));
|
|
419288
|
-
const version2 = "0.7.1-nightly.
|
|
419308
|
+
const version2 = "0.7.1-nightly.20260117.0681c718";
|
|
419289
419309
|
return {
|
|
419290
419310
|
protocolVersion: PROTOCOL_VERSION,
|
|
419291
419311
|
agentInfo: {
|
package/locales/zh.js
CHANGED
|
@@ -873,11 +873,11 @@ export default {
|
|
|
873
873
|
'Session Stats': '会话统计',
|
|
874
874
|
'Model Usage': '模型使用情况',
|
|
875
875
|
Reqs: '请求数',
|
|
876
|
-
'Input Tokens': '
|
|
877
|
-
'Output Tokens': '
|
|
876
|
+
'Input Tokens': '输入 token 数',
|
|
877
|
+
'Output Tokens': '输出 token 数',
|
|
878
878
|
'Savings Highlight:': '节省亮点:',
|
|
879
879
|
'of input tokens were served from the cache, reducing costs.':
|
|
880
|
-
'
|
|
880
|
+
'从缓存载入 token ,降低了成本',
|
|
881
881
|
'Tip: For a full token breakdown, run `/stats model`.':
|
|
882
882
|
'提示:要查看完整的令牌明细,请运行 `/stats model`',
|
|
883
883
|
'Model Stats For Nerds': '模型统计(技术细节)',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.7.1-nightly.
|
|
3
|
+
"version": "0.7.1-nightly.20260117.0681c718",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.7.1-nightly.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.7.1-nightly.20260117.0681c718"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"tiktoken": "^1.0.21"
|