@qwen-code/qwen-code 0.7.1-nightly.20260115.985f65f8 → 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.
Files changed (3) hide show
  1. package/cli.js +31 -10
  2. package/locales/zh.js +3 -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.20260115.985f65f8";
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\u4EE4\u724C",
282364
- "Output Tokens": "\u8F93\u51FA\u4EE4\u724C",
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.": "\u7684\u8F93\u5165\u4EE4\u724C\u6765\u81EA\u7F13\u5B58\uFF0C\u964D\u4F4E\u4E86\u6210\u672C",
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.20260115.985f65f8";
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"],
@@ -364416,7 +364436,8 @@ async function loadCliConfig(settings, extensions, extensionEnablementManager, a
364416
364436
  extraExcludes.push(toolName);
364417
364437
  }
364418
364438
  }, "excludeUnlessExplicit");
364419
- if (!interactive && !argv.experimentalAcp && inputFormat !== InputFormat.STREAM_JSON) {
364439
+ const isAcpMode = argv.acp || argv.experimentalAcp;
364440
+ if (!interactive && !isAcpMode && inputFormat !== InputFormat.STREAM_JSON) {
364420
364441
  switch (approvalMode) {
364421
364442
  case ApprovalMode.PLAN:
364422
364443
  case ApprovalMode.DEFAULT:
@@ -367845,7 +367866,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
367845
367866
 
367846
367867
  // packages/cli/src/generated/git-commit.ts
367847
367868
  init_esbuild_shims();
367848
- var GIT_COMMIT_INFO2 = "ae5ac1f2";
367869
+ var GIT_COMMIT_INFO2 = "bb80fca1";
367849
367870
 
367850
367871
  // packages/cli/src/utils/systemInfo.ts
367851
367872
  async function getNpmVersion() {
@@ -419284,7 +419305,7 @@ var GeminiAgent = class {
419284
419305
  name: APPROVAL_MODE_INFO[mode].name,
419285
419306
  description: APPROVAL_MODE_INFO[mode].description
419286
419307
  }));
419287
- const version2 = "0.7.1-nightly.20260115.985f65f8";
419308
+ const version2 = "0.7.1-nightly.20260117.0681c718";
419288
419309
  return {
419289
419310
  protocolVersion: PROTOCOL_VERSION,
419290
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.20260115.985f65f8",
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.20260115.985f65f8"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.7.1-nightly.20260117.0681c718"
24
24
  },
25
25
  "dependencies": {
26
26
  "tiktoken": "^1.0.21"