@qwen-code/qwen-code 0.18.1 → 0.18.3-nightly.20260618.bc3e0b405

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 (74) hide show
  1. package/README.md +2 -1
  2. package/bundled/qc-helper/docs/common-workflow.md +4 -4
  3. package/bundled/qc-helper/docs/configuration/model-providers.md +1 -1
  4. package/bundled/qc-helper/docs/configuration/settings.md +77 -77
  5. package/bundled/qc-helper/docs/features/channels/feishu.md +16 -0
  6. package/bundled/qc-helper/docs/features/mcp.md +1 -1
  7. package/bundled/qc-helper/docs/features/sub-agents.md +3 -3
  8. package/bundled/qc-helper/docs/qwen-serve.md +24 -12
  9. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +30 -30
  10. package/bundled/review/SKILL.md +10 -4
  11. package/bundled/simplify/SKILL.md +1 -1
  12. package/chunks/{agent-XT7NHZ5H.js → agent-ACIWYWX7.js} +5 -5
  13. package/chunks/{agent-headless-LNRE63ZL.js → agent-headless-3OQZEB2S.js} +5 -5
  14. package/chunks/{anthropicContentGenerator-DCI26OQF.js → anthropicContentGenerator-KLBHYGH6.js} +1 -1
  15. package/chunks/{askUserQuestion-ITYUTWLR.js → askUserQuestion-QPZXR3UO.js} +1 -1
  16. package/chunks/{chunk-IS7UA4W3.js → chunk-753BG2JJ.js} +4 -4
  17. package/chunks/{chunk-RON7LFNH.js → chunk-BPJAFPPD.js} +6 -6
  18. package/chunks/{chunk-3NRO6NHX.js → chunk-MN5RAXVB.js} +3 -3
  19. package/chunks/{chunk-Y7KMDUEP.js → chunk-QP4R5FTG.js} +1 -1
  20. package/chunks/{chunk-6T7Y7USE.js → chunk-RMFCNRER.js} +124858 -123552
  21. package/chunks/{chunk-QILTEBWS.js → chunk-RTTAC5VW.js} +1 -1
  22. package/chunks/{chunk-XZTNBSMW.js → chunk-SWMGBYC2.js} +1 -1
  23. package/chunks/{chunk-WJ3SND6W.js → chunk-UIH54N5X.js} +2 -2
  24. package/chunks/{chunk-HQUWWSSP.js → chunk-VIEIRAK3.js} +1 -1
  25. package/chunks/{chunk-HED55F43.js → chunk-VU6A2OBJ.js} +15 -5
  26. package/chunks/{chunk-BXYRCW2C.js → chunk-XFUQS3BO.js} +10 -5
  27. package/chunks/{chunk-DHZREJTG.js → chunk-YJDVHAGL.js} +1 -1
  28. package/chunks/{chunk-A2ZIEEGJ.js → chunk-ZNUMXPNK.js} +592 -43
  29. package/chunks/{computer-use-4YX3JGBV.js → computer-use-Y3INMFGQ.js} +5 -5
  30. package/chunks/{contextCommand-KS2H7MW5.js → contextCommand-4AF56TE5.js} +7 -7
  31. package/chunks/{cron-create-CAPUKK7I.js → cron-create-DQKRQMCP.js} +1 -1
  32. package/chunks/{cron-delete-G3KAR26Q.js → cron-delete-DOFPHFTI.js} +1 -1
  33. package/chunks/{cron-list-ZA4ZIUS5.js → cron-list-RCVOO3CB.js} +1 -1
  34. package/chunks/{dist-VEGFONCF.js → dist-2UCAYOX7.js} +2 -2
  35. package/chunks/{dist-X4EXN7W6.js → dist-33LHH26D.js} +1 -1
  36. package/chunks/{dist-YLS6NI7H.js → dist-KF43SZZV.js} +1 -1
  37. package/chunks/{dist-7YWFWOCJ.js → dist-UH7CYT7F.js} +2 -2
  38. package/chunks/{edit-2ARPEO4B.js → edit-MO45GCL7.js} +8 -12
  39. package/chunks/{enter-worktree-IXNXNAW5.js → enter-worktree-Z3JI6PAT.js} +5 -5
  40. package/chunks/{enterPlanMode-TAKAGAYP.js → enterPlanMode-IK6VOFTA.js} +5 -5
  41. package/chunks/{exit-worktree-LHTRV7ML.js → exit-worktree-N7VFZX2L.js} +5 -5
  42. package/chunks/{exitPlanMode-MK5UAITL.js → exitPlanMode-I3KHESPG.js} +11 -9
  43. package/chunks/{geminiContentGenerator-HFJIGO77.js → geminiContentGenerator-SCL4XVAS.js} +1 -1
  44. package/chunks/{glob-I2USLUSC.js → glob-F2B2SE3K.js} +5 -5
  45. package/chunks/{grep-WBIF7THR.js → grep-4KQWN26D.js} +5 -5
  46. package/chunks/{ls-2R5RHLX5.js → ls-TRD77UTS.js} +1 -1
  47. package/chunks/{lsp-XKH6ZIAN.js → lsp-2VFWQPZS.js} +1 -1
  48. package/chunks/{monitor-WU7UFATU.js → monitor-JLANELR3.js} +5 -5
  49. package/chunks/{notebook-edit-KUHYPXEM.js → notebook-edit-HDRKPHHG.js} +6 -8
  50. package/chunks/{openaiContentGenerator-5PLHYJQL.js → openaiContentGenerator-BKTFJC2S.js} +5 -5
  51. package/chunks/{qwenContentGenerator-TSKW73KY.js → qwenContentGenerator-62BVT57E.js} +7 -7
  52. package/chunks/{read-file-VIPF2PS6.js → read-file-SFLRS3OC.js} +3 -3
  53. package/chunks/{ripGrep-XLIZTYE7.js → ripGrep-H2MU4MC3.js} +5 -5
  54. package/chunks/{scheduler-O66SLJGU.js → scheduler-2GZTWP5S.js} +5 -5
  55. package/chunks/{send-message-CTME7DXD.js → send-message-QZOC5GA2.js} +1 -1
  56. package/chunks/{serve-BWOLYT62.js → serve-SYMKDBDG.js} +709 -26
  57. package/chunks/{shell-XE7UYKOO.js → shell-U46KHTLY.js} +5 -5
  58. package/chunks/{skill-RZWM6XMC.js → skill-VQMJOXNY.js} +3 -3
  59. package/chunks/{src-L5P7K4MH.js → src-YBSBZZEL.js} +11 -5
  60. package/chunks/{syntheticOutput-ZJGSU7OQ.js → syntheticOutput-WJSUK4SZ.js} +2 -2
  61. package/chunks/{task-create-EE6JEM7G.js → task-create-GGSC27HO.js} +2 -2
  62. package/chunks/{task-list-EESYAC65.js → task-list-EDHHHSK4.js} +1 -1
  63. package/chunks/{task-stop-XZVCFFYY.js → task-stop-WR5PDVZY.js} +1 -1
  64. package/chunks/{task-update-EIO4HNE3.js → task-update-UR7NUHBV.js} +2 -2
  65. package/chunks/{team-create-R2H7Y3SG.js → team-create-OA3IGBCE.js} +5 -5
  66. package/chunks/{team-delete-A7LXPGV7.js → team-delete-FC33URJK.js} +1 -1
  67. package/chunks/{todoWrite-VRKSGAWM.js → todoWrite-GO2ME7ZV.js} +1 -1
  68. package/chunks/{tool-search-USSQMTMS.js → tool-search-A57VE2JF.js} +3 -3
  69. package/chunks/{web-fetch-GHAZUA54.js → web-fetch-NLLATYIL.js} +2 -2
  70. package/chunks/{workflow-5LNNLNUR.js → workflow-RWXT7YIU.js} +249 -24
  71. package/chunks/{write-file-2I7HP24C.js → write-file-46RW6BV4.js} +7 -9
  72. package/cli.js +1328 -542
  73. package/package.json +2 -2
  74. package/chunks/chunk-7KPZFE5A.js +0 -117
@@ -5,7 +5,7 @@ import {
5
5
  BaseToolInvocation,
6
6
  ToolDisplayNames,
7
7
  ToolNames
8
- } from "./chunk-A2ZIEEGJ.js";
8
+ } from "./chunk-ZNUMXPNK.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  resolveBundleDir
5
- } from "./chunk-6T7Y7USE.js";
5
+ } from "./chunk-RMFCNRER.js";
6
6
  import {
7
7
  Storage
8
8
  } from "./chunk-HA2UEYZP.js";
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  import {
4
4
  RequestTokenizer
5
- } from "./chunk-3NRO6NHX.js";
5
+ } from "./chunk-MN5RAXVB.js";
6
6
  import {
7
7
  OpenAIContentConverter,
8
8
  TaggedThinkingParser,
9
9
  openaiRequestCaptureContext
10
- } from "./chunk-RON7LFNH.js";
10
+ } from "./chunk-BPJAFPPD.js";
11
11
  import {
12
12
  createChildAbortController
13
13
  } from "./chunk-64WXLC72.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-OFEVLU4C.js";
6
6
  import {
7
7
  SchemaValidator
8
- } from "./chunk-A2ZIEEGJ.js";
8
+ } from "./chunk-ZNUMXPNK.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";
@@ -380,6 +380,15 @@ var SessionRouter = class {
380
380
  return `${channelName}:${senderId}:${chatId}`;
381
381
  }
382
382
  }
383
+ /**
384
+ * Sender-scoped key prefix for by-sender (no chatId) scans. The trailing
385
+ * ':' delimiter ensures a sender id matches as a whole segment — without it
386
+ * sender "bob" would also match another sender "bobby"
387
+ * (key `${channelName}:bobby:${chatId}`).
388
+ */
389
+ senderPrefix(channelName, senderId) {
390
+ return `${channelName}:${senderId}:`;
391
+ }
383
392
  async resolve(channelName, senderId, chatId, threadId, cwd) {
384
393
  const key = this.routingKey(channelName, senderId, chatId, threadId);
385
394
  const existing = this.toSession.get(key);
@@ -398,11 +407,12 @@ var SessionRouter = class {
398
407
  return this.toTarget.get(sessionId);
399
408
  }
400
409
  hasSession(channelName, senderId, chatId) {
401
- const key = chatId ? this.routingKey(channelName, senderId, chatId) : `${channelName}:${senderId}`;
402
- if (chatId)
403
- return this.toSession.has(key);
410
+ if (chatId) {
411
+ return this.toSession.has(this.routingKey(channelName, senderId, chatId));
412
+ }
413
+ const prefix = this.senderPrefix(channelName, senderId);
404
414
  for (const k of this.toSession.keys()) {
405
- if (k.startsWith(`${channelName}:${senderId}`))
415
+ if (k.startsWith(prefix))
406
416
  return true;
407
417
  }
408
418
  return false;
@@ -418,7 +428,7 @@ var SessionRouter = class {
418
428
  if (sessionId)
419
429
  removedIds.push(sessionId);
420
430
  } else {
421
- const prefix = `${channelName}:${senderId}`;
431
+ const prefix = this.senderPrefix(channelName, senderId);
422
432
  for (const k of [...this.toSession.keys()]) {
423
433
  if (k.startsWith(prefix)) {
424
434
  const sessionId = this.deleteByKey(k);
@@ -6,7 +6,7 @@ import {
6
6
  getLanguageSettingsOptions,
7
7
  t,
8
8
  writeStderrLine
9
- } from "./chunk-XZTNBSMW.js";
9
+ } from "./chunk-SWMGBYC2.js";
10
10
  import {
11
11
  DEFAULT_STOP_HOOK_BLOCK_CAP,
12
12
  DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
@@ -17,11 +17,11 @@ import {
17
17
  SkillError,
18
18
  ideContextStore,
19
19
  require_main
20
- } from "./chunk-6T7Y7USE.js";
20
+ } from "./chunk-RMFCNRER.js";
21
21
  import {
22
22
  isWithinRoot,
23
23
  stripRuntimeSnapshotPrefix
24
- } from "./chunk-RON7LFNH.js";
24
+ } from "./chunk-BPJAFPPD.js";
25
25
  import {
26
26
  atomicWriteFileSync
27
27
  } from "./chunk-LXYWINWF.js";
@@ -19966,7 +19966,7 @@ __name(getPackageJson, "getPackageJson");
19966
19966
  // packages/cli/src/utils/version.ts
19967
19967
  async function getCliVersion() {
19968
19968
  const pkgJson = await getPackageJson();
19969
- return "0.18.1";
19969
+ return "0.18.3-nightly.20260618.bc3e0b405";
19970
19970
  }
19971
19971
  __name(getCliVersion, "getCliVersion");
19972
19972
 
@@ -20108,6 +20108,10 @@ function createLoadedSettingsAdapter(settings, scope) {
20108
20108
  }
20109
20109
  __name(createLoadedSettingsAdapter, "createLoadedSettingsAdapter");
20110
20110
 
20111
+ // packages/acp-bridge/src/bridgeTypes.ts
20112
+ init_esbuild_shims();
20113
+ var MID_TURN_QUEUE_DRAIN_METHOD = "craft/drainMidTurnQueue";
20114
+
20111
20115
  // packages/cli/src/utils/systemInfo.ts
20112
20116
  init_esbuild_shims();
20113
20117
  import process4 from "node:process";
@@ -20116,7 +20120,7 @@ import { execFile } from "node:child_process";
20116
20120
 
20117
20121
  // packages/cli/src/generated/git-commit.ts
20118
20122
  init_esbuild_shims();
20119
- var GIT_COMMIT_INFO = "40697db8e";
20123
+ var GIT_COMMIT_INFO = "ae9cc2419";
20120
20124
 
20121
20125
  // packages/cli/src/utils/systemInfo.ts
20122
20126
  var debugLogger4 = createDebugLogger("STATUS");
@@ -20379,6 +20383,7 @@ export {
20379
20383
  ACP_PREFLIGHT_KINDS,
20380
20384
  createIdleAcpPreflightCells,
20381
20385
  mapDomainErrorToErrorKind,
20386
+ MID_TURN_QUEUE_DRAIN_METHOD,
20382
20387
  formatMemoryUsage,
20383
20388
  formatRelativeTime,
20384
20389
  formatTokenCount,
@@ -11,7 +11,7 @@ import {
11
11
  BaseToolInvocation,
12
12
  ToolDisplayNames,
13
13
  ToolNames
14
- } from "./chunk-A2ZIEEGJ.js";
14
+ } from "./chunk-ZNUMXPNK.js";
15
15
  import {
16
16
  init_esbuild_shims
17
17
  } from "./chunk-A4BMJM77.js";