@qwen-code/qwen-code 0.15.12-preview.2 → 0.16.0-preview.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.
Files changed (79) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +30 -34
  2. package/bundled/qc-helper/docs/features/lsp.md +87 -10
  3. package/bundled/qc-helper/docs/qwen-serve.md +74 -24
  4. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +11 -11
  5. package/bundled/stuck/SKILL.md +124 -0
  6. package/chunks/{agent-UQY6A6OS.js → agent-ZNQPH67I.js} +15 -15
  7. package/chunks/{anthropicContentGenerator-4QE6LTVV.js → anthropicContentGenerator-ICBDZ6R2.js} +4 -4
  8. package/chunks/{askUserQuestion-QFSCBTUO.js → askUserQuestion-WQILGUSQ.js} +2 -2
  9. package/chunks/{ca-VQSV6JHA.js → ca-S3XJMT6P.js} +26 -0
  10. package/chunks/{chunk-SQNQIOD5.js → chunk-2B7UBDY5.js} +2 -2
  11. package/chunks/chunk-3MBY4GKN.js +350 -0
  12. package/chunks/{chunk-FSYKVGER.js → chunk-7QXHXMC6.js} +23 -7
  13. package/chunks/{chunk-PCL3EJGY.js → chunk-C3LHPHN2.js} +3924 -3683
  14. package/chunks/{chunk-UXW7MYAW.js → chunk-CW44BRRA.js} +1 -1
  15. package/chunks/{chunk-G27O2LD2.js → chunk-D5NTAHYL.js} +1 -1
  16. package/chunks/{chunk-CBVB66WY.js → chunk-EDYSNFEM.js} +1 -1
  17. package/chunks/{chunk-OCC4MZRS.js → chunk-F23NCRJ2.js} +1 -1
  18. package/chunks/{chunk-FYMSCRHM.js → chunk-FZIUV27X.js} +1 -1
  19. package/chunks/{chunk-SOIEFHIK.js → chunk-G7YTSRES.js} +1 -100
  20. package/chunks/{chunk-MXBWOU2L.js → chunk-JHMX4QTD.js} +15 -15
  21. package/chunks/{chunk-TPGOGCWM.js → chunk-JYQUJ5DS.js} +1 -1
  22. package/chunks/{chunk-FKVKVE6N.js → chunk-KXZ4TJB4.js} +1 -1
  23. package/chunks/{chunk-2WFU3IUH.js → chunk-MNPZ2WO6.js} +4864 -2303
  24. package/chunks/{chunk-BXNCPI75.js → chunk-NAID3ZWF.js} +2 -2
  25. package/chunks/{chunk-JMZQICAL.js → chunk-PPHYLJSS.js} +1 -1
  26. package/chunks/{chunk-CM2IESUE.js → chunk-PR4T27R7.js} +1 -1
  27. package/chunks/{chunk-CAWKL3UC.js → chunk-VTPOO6GV.js} +1 -1
  28. package/chunks/{chunk-GJXIKCKL.js → chunk-XP27SJMH.js} +76 -5
  29. package/chunks/{chunk-B7ZL7HUA.js → chunk-XVHR7ATJ.js} +1 -1
  30. package/chunks/{contextCommand-MQRG6RMG.js → contextCommand-IGBCEXI4.js} +16 -16
  31. package/chunks/{cron-create-WUTD5ZTH.js → cron-create-AVI3Q267.js} +2 -2
  32. package/chunks/{cron-delete-N3UQYCRA.js → cron-delete-ZCEGDXXV.js} +2 -2
  33. package/chunks/{cron-list-Z6RJJ4YH.js → cron-list-VN653OK5.js} +2 -2
  34. package/chunks/{de-M2IPQRBS.js → de-MNR4SMAI.js} +26 -0
  35. package/chunks/{edit-3KCBTA25.js → edit-74Q4AFHQ.js} +20 -16
  36. package/chunks/{en-N5GMPCVT.js → en-FIUWJSZR.js} +28 -0
  37. package/chunks/{enter-worktree-VWS5QZTU.js → enter-worktree-H72HXC7D.js} +15 -15
  38. package/chunks/{exit-worktree-RVXFWAPD.js → exit-worktree-FGIQO3S3.js} +15 -15
  39. package/chunks/{exitPlanMode-UL5DILDG.js → exitPlanMode-NBR2PK2D.js} +15 -15
  40. package/chunks/{fr-BTHRYEXO.js → fr-OFJFHLCR.js} +26 -0
  41. package/chunks/{geminiContentGenerator-O2OPGHJG.js → geminiContentGenerator-33RP4WKD.js} +3 -3
  42. package/chunks/{glob-57BSREPN.js → glob-WEE3CJL6.js} +15 -15
  43. package/chunks/{grep-XO5JOC7T.js → grep-DZKSBFZK.js} +15 -15
  44. package/chunks/{ja-D63TAEBO.js → ja-V6OQ6VL7.js} +26 -0
  45. package/chunks/{keychain-token-storage-DMFP5IJM.js → keychain-token-storage-335UOLJ6.js} +2 -2
  46. package/chunks/{ls-SUILOZZB.js → ls-6F3VSP6S.js} +3 -3
  47. package/chunks/{lsp-6TQBWVMZ.js → lsp-67Y7DJN5.js} +2 -2
  48. package/chunks/{monitor-BECPGO3K.js → monitor-EDZWEZVS.js} +33 -24
  49. package/chunks/{openaiContentGenerator-KEZQHIRM.js → openaiContentGenerator-5NQG3W64.js} +10 -10
  50. package/chunks/{pt-XUV7FSKC.js → pt-ZLE6SA4A.js} +26 -0
  51. package/chunks/{qwenContentGenerator-RPMRXTNH.js → qwenContentGenerator-4DPUUS6R.js} +17 -17
  52. package/chunks/{qwenOAuth2-JSQ7EPR3.js → qwenOAuth2-JE7H47TE.js} +3 -3
  53. package/chunks/{read-file-LGHEIQNH.js → read-file-CQOF7BQ2.js} +7 -7
  54. package/chunks/{ripGrep-6SFSXZ2G.js → ripGrep-KR5LKGTI.js} +15 -15
  55. package/chunks/{ru-7KHWMN3A.js → ru-A4OHIUNN.js} +26 -0
  56. package/chunks/{send-message-Q2JRAC3J.js → send-message-GB4AQZNC.js} +2 -2
  57. package/chunks/{serve-27O2AFE3.js → serve-GAD2PEST.js} +1299 -408
  58. package/chunks/{shell-J7K5KYCH.js → shell-E2HMCBGR.js} +15 -15
  59. package/chunks/{skill-2R7P4ATS.js → skill-KDZH6UZ6.js} +9 -9
  60. package/chunks/{src-CGEDVW67.js → src-LY4RU5AI.js} +96 -24
  61. package/chunks/{syntheticOutput-S4DRGMQM.js → syntheticOutput-HFL3DE7R.js} +3 -3
  62. package/chunks/{task-stop-7THHVAQS.js → task-stop-ZQF26RXS.js} +2 -2
  63. package/chunks/{todoWrite-WKUGUTPX.js → todoWrite-U4SC643O.js} +3 -3
  64. package/chunks/{tool-search-XOH3ZWVS.js → tool-search-U4XQVLFU.js} +7 -7
  65. package/chunks/{web-fetch-OZE6ZQUF.js → web-fetch-BRWZ4WSE.js} +4 -4
  66. package/chunks/{write-file-74NQ27Q2.js → write-file-NBLRMNGB.js} +20 -16
  67. package/chunks/{zh-TW-O36Q4V7E.js → zh-TW-552S24LR.js} +28 -0
  68. package/chunks/{zh-VGHU6XBB.js → zh-V32QONGV.js} +28 -0
  69. package/cli.js +8027 -5104
  70. package/locales/ca.js +40 -0
  71. package/locales/de.js +40 -0
  72. package/locales/en.js +43 -0
  73. package/locales/fr.js +41 -0
  74. package/locales/ja.js +39 -0
  75. package/locales/pt.js +39 -0
  76. package/locales/ru.js +39 -0
  77. package/locales/zh-TW.js +41 -0
  78. package/locales/zh.js +41 -0
  79. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-GJXIKCKL.js";
5
+ } from "./chunk-XP27SJMH.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  Storage,
5
5
  createDebugLogger
6
- } from "./chunk-GJXIKCKL.js";
6
+ } from "./chunk-XP27SJMH.js";
7
7
  import {
8
8
  init_esbuild_shims
9
9
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  ToolNames
5
- } from "./chunk-FYMSCRHM.js";
5
+ } from "./chunk-FZIUV27X.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-GJXIKCKL.js";
5
+ } from "./chunk-XP27SJMH.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-GJXIKCKL.js";
5
+ } from "./chunk-XP27SJMH.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -1,15 +1,8 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
3
  import {
4
- init_esm as init_esm2
5
- } from "./chunk-PCL3EJGY.js";
6
- import {
7
- FatalConfigError,
8
4
  createDebugLogger
9
- } from "./chunk-GJXIKCKL.js";
10
- import {
11
- init_esm
12
- } from "./chunk-QWSRH265.js";
5
+ } from "./chunk-XP27SJMH.js";
13
6
  import {
14
7
  init_esbuild_shims
15
8
  } from "./chunk-A4BMJM77.js";
@@ -17,87 +10,6 @@ import {
17
10
  __name
18
11
  } from "./chunk-J2S4EL5Y.js";
19
12
 
20
- // packages/core/src/telemetry/config.ts
21
- init_esbuild_shims();
22
-
23
- // packages/core/src/telemetry/index.ts
24
- init_esbuild_shims();
25
- init_esm();
26
- init_esm2();
27
- var TelemetryTarget = /* @__PURE__ */ ((TelemetryTarget2) => {
28
- TelemetryTarget2["GCP"] = "gcp";
29
- TelemetryTarget2["LOCAL"] = "local";
30
- return TelemetryTarget2;
31
- })(TelemetryTarget || {});
32
- var DEFAULT_TELEMETRY_TARGET = "local" /* LOCAL */;
33
- var DEFAULT_OTLP_ENDPOINT = "http://localhost:4317";
34
-
35
- // packages/core/src/telemetry/config.ts
36
- function parseBooleanEnvFlag(value) {
37
- if (value === void 0) return void 0;
38
- return value === "true" || value === "1";
39
- }
40
- __name(parseBooleanEnvFlag, "parseBooleanEnvFlag");
41
- function parseTelemetryTargetValue(value) {
42
- if (value === void 0) return void 0;
43
- if (value === "local" /* LOCAL */ || value === "local") {
44
- return "local" /* LOCAL */;
45
- }
46
- if (value === "gcp" /* GCP */ || value === "gcp") {
47
- return "gcp" /* GCP */;
48
- }
49
- return void 0;
50
- }
51
- __name(parseTelemetryTargetValue, "parseTelemetryTargetValue");
52
- async function resolveTelemetrySettings(options) {
53
- const argv = options.argv ?? {};
54
- const env = options.env ?? {};
55
- const settings = options.settings ?? {};
56
- const enabled = argv.telemetry ?? parseBooleanEnvFlag(env["QWEN_TELEMETRY_ENABLED"]) ?? settings.enabled;
57
- const rawTarget = argv.telemetryTarget ?? env["QWEN_TELEMETRY_TARGET"] ?? settings.target;
58
- const target = parseTelemetryTargetValue(rawTarget);
59
- if (rawTarget !== void 0 && target === void 0) {
60
- throw new FatalConfigError(
61
- `Invalid telemetry target: ${String(
62
- rawTarget
63
- )}. Valid values are: local, gcp`
64
- );
65
- }
66
- const otlpEndpoint = argv.telemetryOtlpEndpoint ?? env["QWEN_TELEMETRY_OTLP_ENDPOINT"] ?? env["OTEL_EXPORTER_OTLP_ENDPOINT"] ?? settings.otlpEndpoint;
67
- const rawProtocol = argv.telemetryOtlpProtocol ?? env["QWEN_TELEMETRY_OTLP_PROTOCOL"] ?? settings.otlpProtocol;
68
- const otlpProtocol = ["grpc", "http"].find(
69
- (p) => p === rawProtocol
70
- );
71
- if (rawProtocol !== void 0 && otlpProtocol === void 0) {
72
- throw new FatalConfigError(
73
- `Invalid telemetry OTLP protocol: ${String(
74
- rawProtocol
75
- )}. Valid values are: grpc, http`
76
- );
77
- }
78
- const logPrompts = argv.telemetryLogPrompts ?? parseBooleanEnvFlag(env["QWEN_TELEMETRY_LOG_PROMPTS"]) ?? settings.logPrompts;
79
- const includeSensitiveSpanAttributes = parseBooleanEnvFlag(
80
- env["QWEN_TELEMETRY_INCLUDE_SENSITIVE_SPAN_ATTRIBUTES"]
81
- ) ?? settings.includeSensitiveSpanAttributes ?? false;
82
- const outfile = argv.telemetryOutfile ?? env["QWEN_TELEMETRY_OUTFILE"] ?? settings.outfile;
83
- const otlpTracesEndpoint = env["QWEN_TELEMETRY_OTLP_TRACES_ENDPOINT"] ?? env["OTEL_EXPORTER_OTLP_TRACES_ENDPOINT"] ?? settings.otlpTracesEndpoint;
84
- const otlpLogsEndpoint = env["QWEN_TELEMETRY_OTLP_LOGS_ENDPOINT"] ?? env["OTEL_EXPORTER_OTLP_LOGS_ENDPOINT"] ?? settings.otlpLogsEndpoint;
85
- const otlpMetricsEndpoint = env["QWEN_TELEMETRY_OTLP_METRICS_ENDPOINT"] ?? env["OTEL_EXPORTER_OTLP_METRICS_ENDPOINT"] ?? settings.otlpMetricsEndpoint;
86
- return {
87
- enabled,
88
- target,
89
- otlpEndpoint,
90
- otlpProtocol,
91
- otlpTracesEndpoint,
92
- otlpLogsEndpoint,
93
- otlpMetricsEndpoint,
94
- logPrompts,
95
- includeSensitiveSpanAttributes,
96
- outfile
97
- };
98
- }
99
- __name(resolveTelemetrySettings, "resolveTelemetrySettings");
100
-
101
13
  // packages/core/src/utils/xml.ts
102
14
  init_esbuild_shims();
103
15
  function escapeXml(text) {
@@ -221,22 +133,11 @@ ${body}
221
133
  __name(buildSkillLlmContent, "buildSkillLlmContent");
222
134
 
223
135
  export {
224
- parseBooleanEnvFlag,
225
- parseTelemetryTargetValue,
226
- resolveTelemetrySettings,
227
- TelemetryTarget,
228
- DEFAULT_TELEMETRY_TARGET,
229
- DEFAULT_OTLP_ENDPOINT,
230
136
  escapeXml,
231
137
  escapeSystemReminderTags,
232
138
  registerSkillHooks,
233
139
  buildSkillLlmContent
234
140
  };
235
- /**
236
- * @license
237
- * Copyright 2025 Google LLC
238
- * SPDX-License-Identifier: Apache-2.0
239
- */
240
141
  /**
241
142
  * @license
242
143
  * Copyright 2025 Qwen
@@ -6,23 +6,23 @@ import {
6
6
  import {
7
7
  getCoreSystemPrompt,
8
8
  resolveBundleDir
9
- } from "./chunk-2WFU3IUH.js";
9
+ } from "./chunk-MNPZ2WO6.js";
10
10
  import {
11
11
  buildSkillLlmContent
12
- } from "./chunk-SOIEFHIK.js";
12
+ } from "./chunk-G7YTSRES.js";
13
13
  import {
14
14
  DiscoveredMCPTool,
15
15
  uiTelemetryService
16
- } from "./chunk-PCL3EJGY.js";
16
+ } from "./chunk-C3LHPHN2.js";
17
17
  import {
18
18
  DEFAULT_TOKEN_LIMIT
19
- } from "./chunk-UXW7MYAW.js";
19
+ } from "./chunk-CW44BRRA.js";
20
20
  import {
21
21
  ToolNames
22
- } from "./chunk-FYMSCRHM.js";
22
+ } from "./chunk-FZIUV27X.js";
23
23
  import {
24
24
  Storage
25
- } from "./chunk-GJXIKCKL.js";
25
+ } from "./chunk-XP27SJMH.js";
26
26
  import {
27
27
  init_esbuild_shims
28
28
  } from "./chunk-A4BMJM77.js";
@@ -1660,15 +1660,15 @@ init_esbuild_shims();
1660
1660
 
1661
1661
  // import("./locales/**/*.js") in packages/cli/src/i18n/index.ts
1662
1662
  var globImport_locales_js = __glob({
1663
- "./locales/ca.js": () => import("./ca-VQSV6JHA.js"),
1664
- "./locales/de.js": () => import("./de-M2IPQRBS.js"),
1665
- "./locales/en.js": () => import("./en-N5GMPCVT.js"),
1666
- "./locales/fr.js": () => import("./fr-BTHRYEXO.js"),
1667
- "./locales/ja.js": () => import("./ja-D63TAEBO.js"),
1668
- "./locales/pt.js": () => import("./pt-XUV7FSKC.js"),
1669
- "./locales/ru.js": () => import("./ru-7KHWMN3A.js"),
1670
- "./locales/zh-TW.js": () => import("./zh-TW-O36Q4V7E.js"),
1671
- "./locales/zh.js": () => import("./zh-VGHU6XBB.js")
1663
+ "./locales/ca.js": () => import("./ca-S3XJMT6P.js"),
1664
+ "./locales/de.js": () => import("./de-MNR4SMAI.js"),
1665
+ "./locales/en.js": () => import("./en-FIUWJSZR.js"),
1666
+ "./locales/fr.js": () => import("./fr-OFJFHLCR.js"),
1667
+ "./locales/ja.js": () => import("./ja-V6OQ6VL7.js"),
1668
+ "./locales/pt.js": () => import("./pt-ZLE6SA4A.js"),
1669
+ "./locales/ru.js": () => import("./ru-A4OHIUNN.js"),
1670
+ "./locales/zh-TW.js": () => import("./zh-TW-552S24LR.js"),
1671
+ "./locales/zh.js": () => import("./zh-V32QONGV.js")
1672
1672
  });
1673
1673
 
1674
1674
  // packages/cli/src/i18n/index.ts
@@ -5,7 +5,7 @@ import {
5
5
  BaseToolInvocation,
6
6
  ToolDisplayNames,
7
7
  ToolNames
8
- } from "./chunk-FYMSCRHM.js";
8
+ } from "./chunk-FZIUV27X.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  getErrorMessage,
5
5
  isNodeError
6
- } from "./chunk-GJXIKCKL.js";
6
+ } from "./chunk-XP27SJMH.js";
7
7
  import {
8
8
  init_esbuild_shims
9
9
  } from "./chunk-A4BMJM77.js";