@qwen-code/qwen-code 0.18.1 → 0.18.3-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.
- package/README.md +2 -1
- package/bundled/qc-helper/docs/common-workflow.md +4 -4
- package/bundled/qc-helper/docs/configuration/model-providers.md +1 -1
- package/bundled/qc-helper/docs/configuration/settings.md +77 -77
- package/bundled/qc-helper/docs/features/channels/feishu.md +16 -0
- package/bundled/qc-helper/docs/features/mcp.md +1 -1
- package/bundled/qc-helper/docs/features/sub-agents.md +3 -3
- package/bundled/qc-helper/docs/qwen-serve.md +24 -12
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +30 -30
- package/bundled/review/SKILL.md +10 -4
- package/bundled/simplify/SKILL.md +1 -1
- package/chunks/{agent-XT7NHZ5H.js → agent-X42UKL4M.js} +5 -5
- package/chunks/{agent-headless-LNRE63ZL.js → agent-headless-7FQ7NX6G.js} +5 -5
- package/chunks/{anthropicContentGenerator-DCI26OQF.js → anthropicContentGenerator-KLBHYGH6.js} +1 -1
- package/chunks/{askUserQuestion-ITYUTWLR.js → askUserQuestion-QPZXR3UO.js} +1 -1
- package/chunks/{chunk-BXYRCW2C.js → chunk-3U2ZIZDP.js} +10 -5
- package/chunks/{chunk-XZTNBSMW.js → chunk-6X6PTTH3.js} +1 -1
- package/chunks/{chunk-7KPZFE5A.js → chunk-C64WAJOC.js} +1 -1
- package/chunks/{chunk-WJ3SND6W.js → chunk-JHSQY3J5.js} +2 -2
- package/chunks/{chunk-3NRO6NHX.js → chunk-MN5RAXVB.js} +3 -3
- package/chunks/{chunk-RON7LFNH.js → chunk-P5CE42XM.js} +6 -6
- package/chunks/{chunk-Y7KMDUEP.js → chunk-QP4R5FTG.js} +1 -1
- package/chunks/{chunk-QILTEBWS.js → chunk-RTTAC5VW.js} +1 -1
- package/chunks/{chunk-IS7UA4W3.js → chunk-U62OHNQR.js} +4 -4
- package/chunks/{chunk-6T7Y7USE.js → chunk-VFW7VM7A.js} +1354 -1028
- package/chunks/{chunk-HQUWWSSP.js → chunk-VIEIRAK3.js} +1 -1
- package/chunks/{chunk-HED55F43.js → chunk-VU6A2OBJ.js} +15 -5
- package/chunks/{chunk-DHZREJTG.js → chunk-YJDVHAGL.js} +1 -1
- package/chunks/{chunk-A2ZIEEGJ.js → chunk-ZNUMXPNK.js} +592 -43
- package/chunks/{computer-use-4YX3JGBV.js → computer-use-WHPP33BI.js} +5 -5
- package/chunks/{contextCommand-KS2H7MW5.js → contextCommand-WP7BU7IY.js} +7 -7
- package/chunks/{cron-create-CAPUKK7I.js → cron-create-DQKRQMCP.js} +1 -1
- package/chunks/{cron-delete-G3KAR26Q.js → cron-delete-DOFPHFTI.js} +1 -1
- package/chunks/{cron-list-ZA4ZIUS5.js → cron-list-RCVOO3CB.js} +1 -1
- package/chunks/{dist-VEGFONCF.js → dist-2UCAYOX7.js} +2 -2
- package/chunks/{dist-X4EXN7W6.js → dist-33LHH26D.js} +1 -1
- package/chunks/{dist-YLS6NI7H.js → dist-KF43SZZV.js} +1 -1
- package/chunks/{dist-7YWFWOCJ.js → dist-UH7CYT7F.js} +2 -2
- package/chunks/{edit-2ARPEO4B.js → edit-V22UFE4F.js} +7 -9
- package/chunks/{enter-worktree-IXNXNAW5.js → enter-worktree-HYS5U3QO.js} +5 -5
- package/chunks/{enterPlanMode-TAKAGAYP.js → enterPlanMode-UR2KPB4Y.js} +5 -5
- package/chunks/{exit-worktree-LHTRV7ML.js → exit-worktree-JNIUZIZ3.js} +5 -5
- package/chunks/{exitPlanMode-MK5UAITL.js → exitPlanMode-NJY3Y6XQ.js} +11 -9
- package/chunks/{geminiContentGenerator-HFJIGO77.js → geminiContentGenerator-SDUMCYHD.js} +1 -1
- package/chunks/{glob-I2USLUSC.js → glob-Z6UYFZCH.js} +5 -5
- package/chunks/{grep-WBIF7THR.js → grep-WHWDB2HD.js} +5 -5
- package/chunks/{ls-2R5RHLX5.js → ls-TRD77UTS.js} +1 -1
- package/chunks/{lsp-XKH6ZIAN.js → lsp-2VFWQPZS.js} +1 -1
- package/chunks/{monitor-WU7UFATU.js → monitor-F4V4YEE4.js} +5 -5
- package/chunks/{notebook-edit-KUHYPXEM.js → notebook-edit-P45433KC.js} +6 -6
- package/chunks/{openaiContentGenerator-5PLHYJQL.js → openaiContentGenerator-DRXB5MSN.js} +5 -5
- package/chunks/{qwenContentGenerator-TSKW73KY.js → qwenContentGenerator-3XZMXLHX.js} +7 -7
- package/chunks/{read-file-VIPF2PS6.js → read-file-WQPROSSJ.js} +3 -3
- package/chunks/{ripGrep-XLIZTYE7.js → ripGrep-EAE7GW6T.js} +5 -5
- package/chunks/{scheduler-O66SLJGU.js → scheduler-WCMRRLYM.js} +5 -5
- package/chunks/{send-message-CTME7DXD.js → send-message-QZOC5GA2.js} +1 -1
- package/chunks/{serve-BWOLYT62.js → serve-BVDNMP5D.js} +709 -26
- package/chunks/{shell-XE7UYKOO.js → shell-W4LWEOQL.js} +5 -5
- package/chunks/{skill-RZWM6XMC.js → skill-VTJI4OPM.js} +3 -3
- package/chunks/{src-L5P7K4MH.js → src-E42UOH5I.js} +11 -5
- package/chunks/{syntheticOutput-ZJGSU7OQ.js → syntheticOutput-WJSUK4SZ.js} +2 -2
- package/chunks/{task-create-EE6JEM7G.js → task-create-GGSC27HO.js} +2 -2
- package/chunks/{task-list-EESYAC65.js → task-list-EDHHHSK4.js} +1 -1
- package/chunks/{task-stop-XZVCFFYY.js → task-stop-WR5PDVZY.js} +1 -1
- package/chunks/{task-update-EIO4HNE3.js → task-update-UR7NUHBV.js} +2 -2
- package/chunks/{team-create-R2H7Y3SG.js → team-create-OAGMFFDJ.js} +5 -5
- package/chunks/{team-delete-A7LXPGV7.js → team-delete-FC33URJK.js} +1 -1
- package/chunks/{todoWrite-VRKSGAWM.js → todoWrite-GO2ME7ZV.js} +1 -1
- package/chunks/{tool-search-USSQMTMS.js → tool-search-XZPD5EPI.js} +3 -3
- package/chunks/{web-fetch-GHAZUA54.js → web-fetch-NLLATYIL.js} +2 -2
- package/chunks/{workflow-5LNNLNUR.js → workflow-AIC3XOX5.js} +249 -24
- package/chunks/{write-file-2I7HP24C.js → write-file-6GIRRW43.js} +6 -6
- package/cli.js +1320 -536
- package/package.json +2 -2
|
@@ -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
|
-
|
|
402
|
-
|
|
403
|
-
|
|
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(
|
|
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 =
|
|
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);
|