@qwen-code/qwen-code 0.19.6-nightly.20260705.015ee4248 → 0.19.6-nightly.20260707.bcdb44c5d
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/bundled/qc-helper/docs/configuration/model-providers.md +5 -1
- package/bundled/qc-helper/docs/configuration/settings.md +28 -1
- package/bundled/qc-helper/docs/features/channels/overview.md +29 -27
- package/bundled/qc-helper/docs/features/code-review.md +20 -6
- package/bundled/qc-helper/docs/features/commands.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +6 -0
- package/bundled/qc-helper/docs/features/skills.md +5 -3
- package/bundled/qc-helper/docs/integration-github-action.md +1 -1
- package/bundled/review/DESIGN.md +31 -18
- package/bundled/review/SKILL.md +65 -5
- package/chunks/{MaxSizedBox-PRXTXIGC.js → MaxSizedBox-EFDCCPYQ.js} +10 -11
- package/chunks/{StandaloneSessionPicker-PV7BSC5D.js → StandaloneSessionPicker-5TQG34MY.js} +20 -21
- package/chunks/{acpAgent-F34HNAM3.js → acpAgent-KQT52XWB.js} +136 -58
- package/chunks/{agent-XSQDKLST.js → agent-RL2YOM2V.js} +7 -8
- package/chunks/{agent-headless-B63XCKWX.js → agent-headless-SCVFLRZ3.js} +7 -8
- package/chunks/{anthropicContentGenerator-INXXI4PW.js → anthropicContentGenerator-PPPLABT5.js} +3 -3
- package/chunks/{bridge-NCZDJBRF.js → bridge-G3LFYH2D.js} +14 -15
- package/chunks/{channel-worker-supervisor-JUYQ5Z4R.js → channel-worker-supervisor-B7MSMB5K.js} +1 -1
- package/chunks/{chunk-GB6HDZIK.js → chunk-2A6XOMBQ.js} +8 -1
- package/chunks/{chunk-IL6ZEDZ2.js → chunk-2BJWUJCW.js} +3 -3
- package/chunks/{chunk-NFE3DQ4R.js → chunk-2NL7ED5Q.js} +15 -1
- package/chunks/{chunk-YZ5ANQMR.js → chunk-32KIF557.js} +1 -1
- package/chunks/{chunk-YZ2LNTHO.js → chunk-3A4MUHRP.js} +2 -2
- package/chunks/{chunk-MLB5AB2I.js → chunk-5GSUPP7K.js} +2 -2
- package/chunks/{chunk-RB5GAQR6.js → chunk-65P5ZXUE.js} +1 -1
- package/chunks/{chunk-ZI4MGBB5.js → chunk-66KNL43D.js} +1 -1
- package/chunks/{chunk-7U6J224Z.js → chunk-6JESGXWU.js} +5 -4
- package/chunks/{chunk-W4I6PLEG.js → chunk-72DDO73Z.js} +39 -10
- package/chunks/{chunk-ZPGE42V7.js → chunk-7YLLBKDB.js} +5 -5
- package/chunks/{chunk-QLBBV7C6.js → chunk-A2CS67WK.js} +1 -1
- package/chunks/{chunk-FSXFNDTI.js → chunk-AKGA72ZM.js} +11 -5
- package/chunks/{chunk-7WLJPMWU.js → chunk-AY7CP32Q.js} +8 -8
- package/chunks/{chunk-FV5SBNNC.js → chunk-B2FUQ22Z.js} +1 -1
- package/chunks/{chunk-K3FZXSTO.js → chunk-B2NCNYBK.js} +26 -38
- package/chunks/{chunk-T22H4V4R.js → chunk-B34OV7K2.js} +1 -1
- package/chunks/{chunk-M7AGQP5D.js → chunk-CA373SPN.js} +1 -1
- package/chunks/{chunk-R4N3OALZ.js → chunk-CCPKBMZ4.js} +88 -49
- package/chunks/{chunk-SLQXGMYY.js → chunk-CKBRK552.js} +4 -4
- package/chunks/{chunk-AOAFX4PL.js → chunk-CYXPEKVN.js} +5 -5
- package/chunks/{chunk-DJACOX4C.js → chunk-DLHOIROF.js} +1 -1
- package/chunks/{chunk-RPHMD5UC.js → chunk-DS6NG7SB.js} +12 -9
- package/chunks/{chunk-6MDY7FX3.js → chunk-EKDTGEX4.js} +3 -3
- package/chunks/{chunk-SEZC2725.js → chunk-ER3BKOLB.js} +13 -0
- package/chunks/{chunk-3VJ7MT3N.js → chunk-EXPMGZZV.js} +14 -3
- package/chunks/{chunk-OGEJMKN5.js → chunk-FTEFJT6V.js} +2 -2
- package/chunks/{chunk-ACD5DFUY.js → chunk-FVMWEHWU.js} +17 -13
- package/chunks/{chunk-NUGPZXAZ.js → chunk-G7ZG7CA6.js} +151 -26
- package/chunks/{chunk-FHGQFG2K.js → chunk-H2UZO2II.js} +1 -1
- package/chunks/{chunk-3VRMGS3A.js → chunk-HLJMZYTD.js} +3 -3
- package/chunks/{chunk-3WOJO5EJ.js → chunk-HT553O4R.js} +3 -3
- package/chunks/{chunk-LFFF2SPV.js → chunk-IEFMDFCG.js} +1 -1
- package/chunks/chunk-II73RK2S.js +158 -0
- package/chunks/{chunk-NLD2WKE3.js → chunk-INNPK6XG.js} +13 -4
- package/chunks/{chunk-SJ2CTIYH.js → chunk-IPKM25FZ.js} +454 -57
- package/chunks/{chunk-UVHL5TCO.js → chunk-JO6RDLLE.js} +1 -1
- package/chunks/{chunk-WOG7QWIT.js → chunk-KD4KV6XW.js} +4946 -2737
- package/chunks/{chunk-WKP5QZOP.js → chunk-N7BUPX4V.js} +1 -1
- package/chunks/{chunk-DT3B47QP.js → chunk-NCFY7PWS.js} +4 -1
- package/chunks/{chunk-DFH4T5IQ.js → chunk-NCOLCOA6.js} +5 -5
- package/chunks/{chunk-5UDYETKK.js → chunk-NQKLOAVJ.js} +28 -1
- package/chunks/{chunk-J7XUJALJ.js → chunk-OGAC66WF.js} +1 -1
- package/chunks/{chunk-FUW7YGJU.js → chunk-QU6OLW25.js} +5 -2
- package/chunks/{chunk-VDMM5LVR.js → chunk-R57UD732.js} +102 -9
- package/chunks/{chunk-73WGF3NW.js → chunk-RFIL6REB.js} +41 -1
- package/chunks/{chunk-KB4ICCA5.js → chunk-RN36CE4M.js} +2 -2
- package/chunks/{chunk-SWV4CVYG.js → chunk-RXDYWLOG.js} +4 -4
- package/chunks/{chunk-Z7EYROOJ.js → chunk-S6PM5JQZ.js} +17 -17
- package/chunks/{chunk-LTMDKOZC.js → chunk-TNIZ2HCQ.js} +10 -2
- package/chunks/{chunk-CK7IUFOB.js → chunk-UECJ7AG2.js} +67 -42
- package/chunks/{chunk-JFFOH2XO.js → chunk-UOGOM4NJ.js} +2 -2
- package/chunks/{chunk-XD3OLPII.js → chunk-V63Q7BVE.js} +2 -2
- package/chunks/{chunk-WNTS5A2R.js → chunk-VCKMHAEZ.js} +1 -1
- package/chunks/{chunk-544UZQBD.js → chunk-WAVK7GV6.js} +2 -2
- package/chunks/{chunk-6BEOH4KK.js → chunk-WSVZFWN4.js} +462 -25
- package/chunks/{chunk-NYKWPUAE.js → chunk-XUYYEFCM.js} +5 -5
- package/chunks/{chunk-CODWJXQA.js → chunk-XZ2LJL4O.js} +1 -1
- package/chunks/{chunk-YYL6HROQ.js → chunk-YFE4YEDW.js} +1 -1
- package/chunks/{computer-use-5I2UHVNY.js → computer-use-NKJX6RTG.js} +7 -8
- package/chunks/{contextCommand-3NWY7AJG.js → contextCommand-BCABFW4A.js} +9 -10
- package/chunks/{cron-create-O6ZHD3JN.js → cron-create-DDYU4DIR.js} +1 -1
- package/chunks/{cron-delete-BFD5B2XX.js → cron-delete-DFKOUZWN.js} +1 -1
- package/chunks/{cron-list-KI6FV4KN.js → cron-list-ME5QGAR5.js} +8 -4
- package/chunks/{daemon-DRUMLVFP.js → daemon-XWG2EGFX.js} +149 -62
- package/chunks/{daemon-status-provider-A2DK3ZTO.js → daemon-status-provider-V7BMA4EH.js} +17 -18
- package/chunks/{dist-AAO65DPC.js → dist-3UDX5T4T.js} +1 -1
- package/chunks/{dist-DN6M6TJ5.js → dist-7GU63KI5.js} +1 -1
- package/chunks/{dist-AW5ZYMUI.js → dist-H4HHZYCI.js} +9 -10
- package/chunks/{dist-JPSVN367.js → dist-LPVU3L2M.js} +1 -1
- package/chunks/{dist-ABQ7VWRR.js → dist-VHBP2PIG.js} +2 -2
- package/chunks/{earlyInputCapture-5TMSSPQ5.js → earlyInputCapture-TVECMHWI.js} +7 -8
- package/chunks/{edit-V4ITLSUD.js → edit-VKUCEX2N.js} +7 -8
- package/chunks/{enter-worktree-7ULPRMTJ.js → enter-worktree-TF6N7GA7.js} +7 -8
- package/chunks/{enterPlanMode-YSHMLHJZ.js → enterPlanMode-XXQGZP5T.js} +7 -8
- package/chunks/{errors-TCUTD7NF.js → errors-LLC2B5D6.js} +9 -10
- package/chunks/{exit-worktree-JZDCKR6A.js → exit-worktree-YBOMMZLI.js} +7 -8
- package/chunks/{exitPlanMode-GOQBN6SG.js → exitPlanMode-74D7EOBH.js} +7 -8
- package/chunks/{fast-path-F2HGAKO2.js → fast-path-OGY4P74O.js} +2 -2
- package/chunks/{gemini-3M7ECKNW.js → gemini-IL6H4VNW.js} +426 -116
- package/chunks/{geminiContentGenerator-5EG3QEJM.js → geminiContentGenerator-O7OCAUQU.js} +1 -1
- package/chunks/{glob-2DBDTLR4.js → glob-X5XFJTAC.js} +7 -8
- package/chunks/{grep-R27DLGWT.js → grep-53GLRSNS.js} +7 -8
- package/chunks/{initializer-OXB6BJZU.js → initializer-YBUEYP6D.js} +11 -12
- package/chunks/{list-HLCOEOSF.js → list-2F3FSN46.js} +13 -14
- package/chunks/{loadedSettingsAdapter-JHTVH3YO.js → loadedSettingsAdapter-AJBE627U.js} +11 -12
- package/chunks/{loop-wakeup-CUVIY2JY.js → loop-wakeup-ZW5P6VPY.js} +2 -2
- package/chunks/{mcp-2JWEFAIN.js → mcp-SEE2Z7TA.js} +11 -12
- package/chunks/{monitor-5QKFZFDX.js → monitor-YQW2M3DL.js} +7 -8
- package/chunks/{nonInteractiveCli-W5W5PIHI.js → nonInteractiveCli-TGWJDY47.js} +36 -37
- package/chunks/{notebook-edit-XAFBWORI.js → notebook-edit-O5G3EBYN.js} +7 -8
- package/chunks/{openaiContentGenerator-NULJROYV.js → openaiContentGenerator-WAO7PPR6.js} +5 -6
- package/chunks/{pidfile-3LT7PZSW.js → pidfile-XMDB2SF7.js} +7 -8
- package/chunks/{qwenContentGenerator-KLSURVNH.js → qwenContentGenerator-5NZ5EHRA.js} +9 -10
- package/chunks/{read-file-HDAM3RHJ.js → read-file-KJTMBLFF.js} +2 -2
- package/chunks/{ripGrep-W36NLR7M.js → ripGrep-BCDYVQQR.js} +7 -8
- package/chunks/{run-qwen-serve-IMI2CQB5.js → run-qwen-serve-LIWM3CMV.js} +686 -34
- package/chunks/{scheduler-I5NKE5UJ.js → scheduler-VETDW3HX.js} +7 -8
- package/chunks/{serve-JMHMOYBO.js → serve-XKFTUZET.js} +12 -13
- package/chunks/{server-QIYIN34N.js → server-W64GXOEJ.js} +1478 -338
- package/chunks/{session-BLL6HB35.js → session-GXNRZGVF.js} +37 -38
- package/chunks/{settings-ABECXCTY.js → settings-TIQCDHBZ.js} +10 -11
- package/chunks/{shell-A2TQI3U4.js → shell-3ZZLLA35.js} +7 -8
- package/chunks/{skill-4GTWZZWR.js → skill-TOX5QGBX.js} +5 -3
- package/chunks/{spawnChannel-DFUVGP53.js → spawnChannel-JBLAIP7L.js} +10 -11
- package/chunks/{src-ZORBMUM7.js → src-Q7BIRWUP.js} +59 -20
- package/chunks/{startInteractiveUI-FH5MVXUE.js → startInteractiveUI-PP72WI64.js} +117 -57
- package/chunks/{team-create-F76QOR6H.js → team-create-S44Z3N62.js} +7 -8
- package/chunks/{team-plan-approval-OKM7YZC2.js → team-plan-approval-2YPLSLO5.js} +7 -8
- package/chunks/{theme-manager-6R7EVWHW.js → theme-manager-4MJVYHPB.js} +7 -8
- package/chunks/{tool-search-UWXDKI7D.js → tool-search-4LSRQ24Z.js} +2 -2
- package/chunks/{trustedFolders-DHASVVUP.js → trustedFolders-XMKLRQDH.js} +8 -9
- package/chunks/{validateNonInterActiveAuth-56J7MOOP.js → validateNonInterActiveAuth-MMMRF6WS.js} +33 -34
- package/chunks/{version-NE2I4PBN.js → version-6HMEMR4K.js} +1 -1
- package/chunks/{workflow-HGF3URV3.js → workflow-VYBLLOLC.js} +8 -9
- package/chunks/{workspace-providers-status-KXB2OZFQ.js → workspace-providers-status-5LSCQPWQ.js} +13 -14
- package/chunks/{workspace-service-NSTI55BC.js → workspace-service-HBMBWJ4K.js} +17 -18
- package/chunks/{workspace-skills-status-X5S6JGQZ.js → workspace-skills-status-TLBAQWKQ.js} +12 -13
- package/chunks/{write-file-HVKT5VTX.js → write-file-QMAWLWCT.js} +7 -8
- package/cli.js +19 -11
- package/node_modules/@qwen-code/audio-capture/package.json +1 -1
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-Csx4m4N0.js → arc-CqwzD3ok.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BEa0vCM7.js → architectureDiagram-3BPJPVTR-BfA-P0-O.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-BPzbKnn3.js → blockDiagram-GPEHLZMM-DNTzkXRp.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-B8YO71yP.js → c4Diagram-AAUBKEIU-D5axQoXQ.js} +1 -1
- package/web-shell/assets/channel-EyH7BS8F.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-32XhwSHt.js → chunk-2J33WTMH-CV0P48eN.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Bmoyo6PS.js → chunk-4BX2VUAB-CghJNPCS.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-TwH6PFhs.js → chunk-55IACEB6-BrD-776x.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-RI_IVUtZ.js → chunk-727SXJPM-DLKkI5Yu.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-DH6GIAZD.js → chunk-AQP2D5EJ-C0HWhZNK.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DeD3k3D5.js → chunk-FMBD7UC4-Cg6PsiNL.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BLPb8nv3.js → chunk-ND2GUHAM-B1pCuSlf.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-PZpyglW1.js → chunk-QZHKN3VN-CkE8llI2.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CPWvwYMM.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CPWvwYMM.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-Jsd0yKfz.js → cose-bilkent-S5V4N54A-Btr-W-vN.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B-zADciZ.js → dagre-BM42HDAG-CAhjVa5L.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Cn6GDxoo.js → diagram-2AECGRRQ-eUQodUXw.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-udLgyJxO.js → diagram-5GNKFQAL-BiPKbH6E.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-EcLpfzy3.js → diagram-KO2AKTUF-DxuwR-Pu.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-D-YFbYsJ.js → diagram-LMA3HP47-nz9SQ3Az.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-C8oRUATa.js → diagram-OG6HWLK6-UBbYk-Jq.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DPH5nStc.js → erDiagram-TEJ5UH35-BLpRQmgi.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CSOTwkAt.js → flowDiagram-I6XJVG4X-C5Qqg1hx.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-D0L988t0.js → ganttDiagram-6RSMTGT7-BMdf3kjL.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-B9Oo7gxS.js → gitGraphDiagram-PVQCEYII-D9qG7BKD.js} +1 -1
- package/web-shell/assets/index-CgttHpqB.js +763 -0
- package/web-shell/assets/index-sVELoa_9.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-Ddj4YN2P.js → infoDiagram-5YYISTIA-CtDBPJM8.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CBjafcl7.js → ishikawaDiagram-YF4QCWOH-BQaS7H3_.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-Bn3XD99u.js → journeyDiagram-JHISSGLW-CEEujCNX.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-D7PBPJmE.js → kanban-definition-UN3LZRKU-B3QqyyNi.js} +1 -1
- package/web-shell/assets/{linear-Bmfo22rZ.js → linear-DC2Azd_6.js} +1 -1
- package/web-shell/assets/{mermaid.core-xRkAI-EI.js → mermaid.core-DL5PRmh-.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-B30zRinm.js → mindmap-definition-RKZ34NQL-DGlkd_fb.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DblnKR9Z.js → pieDiagram-4H26LBE5-Dew4R8DT.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-COkHFKjF.js → quadrantDiagram-W4KKPZXB-Bk02Tejc.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-DDU3MMyn.js → requirementDiagram-4Y6WPE33-BkWJE-6M.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Dt4lqEYv.js → sankeyDiagram-5OEKKPKP-BM9bZAuM.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-BRzby5gN.js → sequenceDiagram-3UESZ5HK-IaE2rOTu.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CylzByc3.js → stateDiagram-AJRCARHV-CQH-ENFJ.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CFqBlFdE.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-BSzaNx6w.js → timeline-definition-PNZ67QCA-DVH5FaeF.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BbzeKzCo.js → vennDiagram-CIIHVFJN-ChT6J8JT.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-BRJwCgE_.js → wardley-L42UT6IY-D9W5AEjE.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BmAs0mJ-.js → wardleyDiagram-YWT4CUSO-cNYKmuIA.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DqywSqVW.js → xychartDiagram-2RQKCTM6-BleLm4BJ.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-QT7XKZT7.js +0 -293
- package/web-shell/assets/channel-QU1XUuVe.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-fv1EWO-L.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-fv1EWO-L.js +0 -1
- package/web-shell/assets/index-BYZZL5N7.css +0 -5
- package/web-shell/assets/index-C_oTyz0s.js +0 -753
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BKWZIKkM.js +0 -1
|
@@ -430,13 +430,17 @@ The effective auth/model/credential values are chosen per field using the follow
|
|
|
430
430
|
| -------------------------- | ----------------------------------- | ----------------------------------------------- | ----------------------------------------------------- | ------------------------------------------------------ | ---------------------- | --------------------------------- |
|
|
431
431
|
| Programmatic overrides | `/auth` | `/auth` input | `/auth` input | `/auth` input | — | — |
|
|
432
432
|
| Model provider selection | — | `modelProvider.id` | `env[modelProvider.envKey]` | `modelProvider.baseUrl` | `modelProvider.envKey` | — |
|
|
433
|
-
| CLI arguments | `--auth-type` | `--model` | `--openai-api-key`
|
|
433
|
+
| CLI arguments | `--auth-type` | `--model` | `--openai-api-key` | `--openai-base-url` | — | — |
|
|
434
434
|
| Environment variables | — | Provider-specific mapping (e.g. `OPENAI_MODEL`) | Provider-specific mapping (e.g. `OPENAI_API_KEY`) | Provider-specific mapping (e.g. `OPENAI_BASE_URL`) | — | — |
|
|
435
435
|
| Settings (`settings.json`) | `security.auth.selectedType` | `model.name` | `security.auth.apiKey` | `security.auth.baseUrl` | — | — |
|
|
436
436
|
| Default / computed | Falls back to `AuthType.QWEN_OAUTH` | Built-in default (OpenAI ⇒ `qwen3.5-plus`) | — | — | — | `Config.getProxy()` if configured |
|
|
437
437
|
|
|
438
438
|
\*When present, CLI auth flags override settings. Otherwise, `security.auth.selectedType` or the implicit default determine the auth type. Qwen OAuth and OpenAI are the only auth types surfaced without extra configuration.
|
|
439
439
|
|
|
440
|
+
> [!note]
|
|
441
|
+
>
|
|
442
|
+
> `--openai-api-key` and `--openai-base-url` are the only credential CLI flags. They apply to the active OpenAI-compatible provider regardless of its name — there are no `--anthropic-*` / `--gemini-*` credential flags. Provider-specific credentials that aren't passed on the CLI are resolved from environment variables (see the row below).
|
|
443
|
+
|
|
440
444
|
> [!warning]
|
|
441
445
|
>
|
|
442
446
|
> **Deprecation of `security.auth.apiKey` and `security.auth.baseUrl`:** Directly configuring API credentials via `security.auth.apiKey` and `security.auth.baseUrl` in `settings.json` is deprecated. These settings were used in historical versions for credentials entered through the UI, but the credential input flow was removed in version 0.10.1. These fields will be fully removed in a future release. **It is strongly recommended to migrate to `modelProviders`** for all model and credential configurations. Use `envKey` in `modelProviders` to reference environment variables for secure credential management instead of hardcoding credentials in settings files.
|
|
@@ -86,7 +86,12 @@ Settings are organized into categories. Most settings should be placed within th
|
|
|
86
86
|
| `general.sessionRecapAwayThresholdMinutes` | number | Minutes the terminal must be blurred before an auto-recap fires on focus-in. Only used when `showSessionRecap` is enabled. | `5` |
|
|
87
87
|
| `general.gitCoAuthor.commit` | boolean | Add a Co-authored-by trailer to git commit messages AND attach a per-file AI-attribution git note (`refs/notes/ai-attribution`) for commits made through Qwen Code. Disabling skips both. | `true` |
|
|
88
88
|
| `general.gitCoAuthor.pr` | boolean | Append a Qwen Code attribution line to pull request descriptions when running `gh pr create`. | `true` |
|
|
89
|
-
| `general.defaultFileEncoding` |
|
|
89
|
+
| `general.defaultFileEncoding` | enum | Default encoding for new files. Use `"utf-8"` (default) for UTF-8 without BOM, or `"utf-8-bom"` for UTF-8 with BOM. Only change this if your project specifically requires BOM. | `"utf-8"` |
|
|
90
|
+
| `general.voice.enabled` | boolean | Enable voice dictation in the prompt input. Also togglable with the `/voice` command. Requires a transcription model (`voiceModel`) to be configured. | `false` |
|
|
91
|
+
| `general.voice.mode` | enum | How push-to-talk behaves: `"hold"` to talk while the key is held, or `"tap"` to start and tap (or pause) to stop and submit. | `"hold"` |
|
|
92
|
+
| `general.voice.language` | string | Preferred spoken language for voice transcription (e.g. `"english"`, `"chinese"`). Leave empty to auto-detect. | `""` |
|
|
93
|
+
| `general.voice.keytermsFile` | string | Path to a custom keyterms file (one term per line, `#` for comments) that biases voice transcription toward domain-specific terms. Relative paths resolve from the workspace root; defaults to `.qwen/voice-keyterms.txt` when present. Read only in trusted workspaces. Only applies to Qwen ASR models (`qwen3-asr-*`). | `""` |
|
|
94
|
+
| `general.voice.refineTranscript` | boolean | Clean up voice transcripts with the fast model before inserting them — removes filler words and fixes recognition errors while preserving meaning. Falls back to the raw transcript on failure, and is skipped when no fast model is configured. | `true` |
|
|
90
95
|
| `general.cleanupPeriodDays` | number | Days to retain `~/.qwen/file-history/` session backups used by `/rewind`. Backups older than this are removed by a background pass that runs at most once per day. `0` = minimum retention (~1 hour): keeps sessions touched in the last hour plus the currently active one. Changes take effect after restart. | `30` |
|
|
91
96
|
| `general.language` | enum | Language for the user interface. Use `"auto"` to detect from system settings, or a language code (e.g. `"zh-CN"`, `"fr"`). Custom codes can be added by placing JS locale files in `~/.qwen/locales/`. See [i18n](../features/language). Requires restart. | `"auto"` |
|
|
92
97
|
| `general.outputLanguage` | string | Language for model output. Use `"auto"` to detect from system settings, or set a specific language. Requires restart. | `"auto"` |
|
|
@@ -263,6 +268,18 @@ The `extra_body` field allows you to add custom parameters to the request body s
|
|
|
263
268
|
| ------------ | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
264
269
|
| `voiceModel` | string | Model used for voice transcription. Leave empty to keep voice dictation disabled until a voice model is selected. Can also be set via `/model --voice`. | `""` |
|
|
265
270
|
|
|
271
|
+
#### modelFallbacks
|
|
272
|
+
|
|
273
|
+
| Setting | Type | Description | Default |
|
|
274
|
+
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
275
|
+
| `modelFallbacks` | string | Ordered list of fallback model IDs (comma-separated, max 3) to try when the primary model hits capacity errors (429/503/529). Example: `"qwen-plus,qwen-turbo"`. Can also be set via the `--fallback-model` CLI flag. Requires restart. | `""` |
|
|
276
|
+
|
|
277
|
+
#### modelPricing
|
|
278
|
+
|
|
279
|
+
| Setting | Type | Description | Default |
|
|
280
|
+
| -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
281
|
+
| `modelPricing` | object | Optional per-model pricing for cost estimation in `/stats model`. Example: `{ "qwen3-coder": { "inputPerMillionTokens": 0.30, "outputPerMillionTokens": 1.20 } }`. | `undefined` |
|
|
282
|
+
|
|
266
283
|
#### context
|
|
267
284
|
|
|
268
285
|
| Setting | Type | Description | Default |
|
|
@@ -308,6 +325,7 @@ If you are experiencing performance issues with file searching (e.g., with `@` c
|
|
|
308
325
|
| `tools.truncateToolOutputLines` | number | Maximum lines or entries kept when truncating tool output. Applies to Shell, Grep, Glob, ReadFile and ReadManyFiles tools. | `1000` | Requires restart: Yes |
|
|
309
326
|
| `tools.computerUse.enabled` | boolean | Enable the built-in Computer Use tools (cua-driver native desktop automation). When `true` (default), the `computer_use__*` tools are registered as deferred built-ins; the first invocation downloads the pinned, signed cua-driver binary into `~/.qwen/computer-use/` and walks through macOS Accessibility / Screen Recording permissions. | `true` | Requires restart: Yes |
|
|
310
327
|
| `tools.computerUse.maxImageDimension` | number | Longest-edge pixel cap applied to cua-driver screenshots (via `set_config`'s `max_image_dimension`). `-1` (default) keeps cua-driver's built-in default (1568); `0` disables resizing (full resolution); a positive value caps the longest edge. Lower caps cut vision-token cost at the expense of fine detail. | `-1` | Requires restart: Yes. Env override: `QWEN_COMPUTER_USE_MAX_IMAGE_DIMENSION` (a non-negative integer; takes precedence over this setting) |
|
|
328
|
+
| `tools.computerUse.idleTimeoutMs` | number | Milliseconds to keep the cua-driver process alive after the last `computer_use__*` call. The default is `300000` (5 minutes). Set to `0` to keep it running until Qwen Code exits. | `300000` | Requires restart: Yes |
|
|
311
329
|
| `tools.toolSearch.enabled` | boolean | Load MCP tools on demand via ToolSearch to reduce prompt size. Disable this for models that rely on prefix-based KV caching (e.g. DeepSeek) to keep the prompt prefix stable and maximize cache hit rates. | `true` | Requires restart: Yes |
|
|
312
330
|
|
|
313
331
|
> [!note]
|
|
@@ -455,6 +473,14 @@ execute when typed.
|
|
|
455
473
|
> affect tool permissions — see `permissions.deny` for that. It also does not
|
|
456
474
|
> intercept keyboard shortcuts such as `Ctrl+C` or `Esc`.
|
|
457
475
|
|
|
476
|
+
#### skills
|
|
477
|
+
|
|
478
|
+
Controls which [Skills](../features/skills) are exposed to the model.
|
|
479
|
+
|
|
480
|
+
| Setting | Type | Description | Default |
|
|
481
|
+
| ---------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
482
|
+
| `skills.disabled` | array of strings | Skill names to hide. Matched case-insensitively against the skill name. Hidden skills do not appear in `<available_skills>` or as `/<name>` slash commands. **Merged as a union** across user/project/system scopes, so a project cannot remove entries defined in user or system settings. | `undefined` |
|
|
483
|
+
|
|
458
484
|
#### mcp
|
|
459
485
|
|
|
460
486
|
| Setting | Type | Description | Default |
|
|
@@ -462,6 +488,7 @@ execute when typed.
|
|
|
462
488
|
| `mcp.serverCommand` | string | Command to start an MCP server. | `undefined` |
|
|
463
489
|
| `mcp.allowed` | array of strings | An allowlist of MCP servers to allow. Allows you to specify a list of MCP server names that should be made available to the model. This can be used to restrict the set of MCP servers to connect to. Supports glob patterns (`*` matches any sequence, `?` matches a single character — e.g. `"*puppeteer*"`); entries without glob characters are matched exactly. Note that this will be ignored if `--allowed-mcp-server-names` is set. | `undefined` |
|
|
464
490
|
| `mcp.excluded` | array of strings | A denylist of MCP servers to exclude. A server listed in both `mcp.excluded` and `mcp.allowed` is excluded. Supports glob patterns (`*`, `?`) the same way as `mcp.allowed`. Note that this will be ignored if `--allowed-mcp-server-names` is set. | `undefined` |
|
|
491
|
+
| `mcp.toolIdleTimeoutMs` | number | Idle timeout in milliseconds for MCP tool calls. If the MCP server does not produce any response or progress update within this time, the call is aborted. Must be between `10000` and `3600000`. Can be overridden via the `QWEN_CODE_MCP_TOOL_IDLE_TIMEOUT_MS` environment variable. | `300000` |
|
|
465
492
|
|
|
466
493
|
> [!note]
|
|
467
494
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Channels
|
|
2
2
|
|
|
3
|
-
Channels let you interact with a Qwen Code agent from messaging platforms like Telegram, WeChat, QQ, or
|
|
3
|
+
Channels let you interact with a Qwen Code agent from messaging platforms like Telegram, WeChat, QQ, DingTalk, or Feishu, instead of the terminal. You send messages from your phone or desktop chat app, and the agent responds just like it would in the CLI.
|
|
4
4
|
|
|
5
5
|
## How It Works
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ All channels share one agent process with isolated sessions per user. Each chann
|
|
|
15
15
|
|
|
16
16
|
## Quick Start
|
|
17
17
|
|
|
18
|
-
1. Set up a bot on your messaging platform (see channel-specific guides: [Telegram](./telegram), [WeChat](./weixin), [QQ Bot](./qqbot), [DingTalk](./dingtalk))
|
|
18
|
+
1. Set up a bot on your messaging platform (see channel-specific guides: [Telegram](./telegram), [WeChat](./weixin), [QQ Bot](./qqbot), [DingTalk](./dingtalk), [Feishu](./feishu))
|
|
19
19
|
2. Add the channel configuration to `~/.qwen/settings.json`
|
|
20
20
|
3. Run `qwen channel start` to start all channels, or `qwen channel start <name>` for a single channel
|
|
21
21
|
|
|
@@ -47,25 +47,25 @@ Channels are configured under the `channels` key in `settings.json`. Each channe
|
|
|
47
47
|
|
|
48
48
|
### Options
|
|
49
49
|
|
|
50
|
-
| Option | Required
|
|
51
|
-
| ------------------------ |
|
|
52
|
-
| `type` | Yes
|
|
53
|
-
| `token` | Telegram
|
|
54
|
-
| `clientId` | DingTalk | DingTalk AppKey. Supports `$ENV_VAR` syntax
|
|
55
|
-
| `clientSecret` | DingTalk | DingTalk AppSecret. Supports `$ENV_VAR` syntax
|
|
56
|
-
| `model` | No
|
|
57
|
-
| `senderPolicy` | No
|
|
58
|
-
| `allowedUsers` | No
|
|
59
|
-
| `sessionScope` | No
|
|
60
|
-
| `cwd` | No
|
|
61
|
-
| `instructions` | No
|
|
62
|
-
| `groupPolicy` | No
|
|
63
|
-
| `groupHistoryLimit` | No
|
|
64
|
-
| `groups` | No
|
|
65
|
-
| `dispatchMode` | No
|
|
66
|
-
| `blockStreaming` | No
|
|
67
|
-
| `blockStreamingChunk` | No
|
|
68
|
-
| `blockStreamingCoalesce` | No
|
|
50
|
+
| Option | Required | Description |
|
|
51
|
+
| ------------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
52
|
+
| `type` | Yes | Channel type: `telegram`, `weixin`, `qq`, `dingtalk`, `feishu`, or a custom type from an extension (see [Plugins](./plugins)) |
|
|
53
|
+
| `token` | Telegram | Bot token. Supports `$ENV_VAR` syntax to read from environment variables. Not needed for WeChat, DingTalk, or Feishu |
|
|
54
|
+
| `clientId` | DingTalk, Feishu | DingTalk AppKey or Feishu App ID. Supports `$ENV_VAR` syntax |
|
|
55
|
+
| `clientSecret` | DingTalk, Feishu | DingTalk AppSecret or Feishu App Secret. Supports `$ENV_VAR` syntax |
|
|
56
|
+
| `model` | No | Model to use for this channel (e.g., `qwen3.5-plus`). Overrides the default model. Useful for multimodal models that support image input |
|
|
57
|
+
| `senderPolicy` | No | Who can talk to the bot: `allowlist` (default), `open`, or `pairing` |
|
|
58
|
+
| `allowedUsers` | No | List of user IDs allowed to use the bot (used by `allowlist` and `pairing` policies) |
|
|
59
|
+
| `sessionScope` | No | How sessions are scoped: `user` (default), `thread`, or `single` |
|
|
60
|
+
| `cwd` | No | Working directory for the agent. Defaults to the current directory |
|
|
61
|
+
| `instructions` | No | Custom instructions prepended to the first message of each session |
|
|
62
|
+
| `groupPolicy` | No | Group chat access: `disabled` (default), `allowlist`, or `open`. See [Group Chats](#group-chats) |
|
|
63
|
+
| `groupHistoryLimit` | No | Opt-in group history backfill. `0` or omitted disables it. A positive number persists that many authorized, unmentioned group messages for the next bot mention/reply. |
|
|
64
|
+
| `groups` | No | Per-group settings. Keys are group chat IDs or `"*"` for defaults. See [Group Chats](#group-chats) |
|
|
65
|
+
| `dispatchMode` | No | What happens when you send a message while the bot is busy: `steer` (default), `collect`, or `followup`. See [Dispatch Modes](#dispatch-modes) |
|
|
66
|
+
| `blockStreaming` | No | Progressive response delivery: `on` or `off` (default). See [Block Streaming](#block-streaming) |
|
|
67
|
+
| `blockStreamingChunk` | No | Chunk size bounds: `{ "minChars": 400, "maxChars": 1000 }`. See [Block Streaming](#block-streaming) |
|
|
68
|
+
| `blockStreamingCoalesce` | No | Idle flush: `{ "idleMs": 1500 }`. See [Block Streaming](#block-streaming) |
|
|
69
69
|
|
|
70
70
|
### Sender Policy
|
|
71
71
|
|
|
@@ -262,11 +262,13 @@ Files work with any model — no multimodal support required.
|
|
|
262
262
|
|
|
263
263
|
### Platform differences
|
|
264
264
|
|
|
265
|
-
| Feature | Telegram | WeChat | DingTalk |
|
|
266
|
-
| -------- | -------------------------------------------- | -------------------------------- | --------------------------------------------- |
|
|
267
|
-
| Images | Direct download via Bot API | CDN download with AES decryption | downloadCode API (two-step) |
|
|
268
|
-
| Files | Direct download via Bot API (20MB limit) | CDN download with AES decryption | downloadCode API (two-step) |
|
|
269
|
-
| Captions | Photo/file captions included as message text | Not applicable | Rich text: mixed text + images in one message |
|
|
265
|
+
| Feature | Telegram | WeChat | DingTalk | Feishu |
|
|
266
|
+
| -------- | -------------------------------------------- | -------------------------------- | --------------------------------------------- | ----------------------------------------------------------- |
|
|
267
|
+
| Images | Direct download via Bot API | CDN download with AES decryption | downloadCode API (two-step) | Open API resources endpoint (authenticated GET, 50MB limit) |
|
|
268
|
+
| Files | Direct download via Bot API (20MB limit) | CDN download with AES decryption | downloadCode API (two-step) | Open API resources endpoint (50MB limit) |
|
|
269
|
+
| Captions | Photo/file captions included as message text | Not applicable | Rich text: mixed text + images in one message | Rich text (`post`): text extracted; embedded images ignored |
|
|
270
|
+
|
|
271
|
+
> QQ Bot does not process incoming media — image and sticker messages are ignored, so it has no media-handling row above.
|
|
270
272
|
|
|
271
273
|
## Dispatch Modes
|
|
272
274
|
|
|
@@ -337,7 +339,7 @@ Channels support slash commands. These are handled locally (no agent round-trip)
|
|
|
337
339
|
|
|
338
340
|
All other slash commands (e.g., `/compress`, `/summary`) are forwarded to the agent.
|
|
339
341
|
|
|
340
|
-
These commands work on all channel types (Telegram, WeChat, QQ, DingTalk).
|
|
342
|
+
These commands work on all channel types (Telegram, WeChat, QQ, DingTalk, Feishu).
|
|
341
343
|
|
|
342
344
|
## Running
|
|
343
345
|
|
|
@@ -28,7 +28,8 @@ The `/review` command runs a multi-stage pipeline:
|
|
|
28
28
|
```
|
|
29
29
|
Step 1: Determine scope (local diff / PR worktree / file)
|
|
30
30
|
Step 2: Load project review rules
|
|
31
|
-
Step 3:
|
|
31
|
+
Step 3: 10 parallel review agents [10 LLM calls]
|
|
32
|
+
|-- Agent 0: Issue Fidelity & Root-Cause Ownership
|
|
32
33
|
|-- Agent 1: Correctness
|
|
33
34
|
|-- Agent 2: Security
|
|
34
35
|
|-- Agent 3: Code Quality
|
|
@@ -48,6 +49,7 @@ Step 9: Clean up (remove worktree + temp files)
|
|
|
48
49
|
|
|
49
50
|
| Agent | Focus |
|
|
50
51
|
| --------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
52
|
+
| Agent 0: Issue Fidelity | Linked issue evidence, root-cause ownership, and whether the PR solves the reported problem |
|
|
51
53
|
| Agent 1: Correctness | Logic errors, edge cases, null handling, race conditions, type safety |
|
|
52
54
|
| Agent 2: Security | Injection, XSS, SSRF, auth bypass, sensitive data exposure |
|
|
53
55
|
| Agent 3: Code Quality | Style consistency, naming, duplication, dead code |
|
|
@@ -56,7 +58,7 @@ Step 9: Clean up (remove worktree + temp files)
|
|
|
56
58
|
| Agent 6: Undirected Audit | 3 parallel personas (attacker / 3am-oncall / maintainer) — catches cross-dimensional issues |
|
|
57
59
|
| Agent 7: Build & Test | Runs build and test commands, reports failures |
|
|
58
60
|
|
|
59
|
-
All agents run in parallel (Agent 6 launches 3 persona variants concurrently, totaling
|
|
61
|
+
All agents run in parallel (Agent 6 launches 3 persona variants concurrently, totaling 10 parallel tasks for same-repo PR reviews; Agent 0 is skipped for local-diff and file-path reviews, which run 9). Findings from Agents 0-6 are verified in a **single batch verification pass** (one agent reviews all findings at once, keeping verification cost fixed regardless of finding count). After verification, **iterative reverse audit** runs 1-3 rounds of gap-finding — each round receives the cumulative finding list from prior rounds, so successive rounds focus on whatever's left undiscovered. The loop stops as soon as a round returns "No issues found", or after 3 rounds (hard cap). Reverse audit findings skip verification (the agent already has full context) and are included as high-confidence results.
|
|
60
62
|
|
|
61
63
|
## Severity Levels
|
|
62
64
|
|
|
@@ -92,7 +94,7 @@ This runs in **lightweight mode** — no worktree, no build/test. The review is
|
|
|
92
94
|
|
|
93
95
|
| Capability | Same-repo | Cross-repo |
|
|
94
96
|
| ---------------------------------------------------------- | --------- | ----------------------------- |
|
|
95
|
-
| LLM review (Agents
|
|
97
|
+
| LLM review (Agents 0-6 + verify + iterative reverse audit) | ✅ | ✅ |
|
|
96
98
|
| Agent 7: Build & test | ✅ | ❌ (no local codebase) |
|
|
97
99
|
| Cross-file impact analysis | ✅ | ❌ |
|
|
98
100
|
| PR inline comments | ✅ | ✅ (if you have write access) |
|
|
@@ -148,7 +150,19 @@ You can customize review criteria per project. `/review` reads rules from these
|
|
|
148
150
|
3. `AGENTS.md` — `## Code Review` section
|
|
149
151
|
4. `QWEN.md` — `## Code Review` section
|
|
150
152
|
|
|
151
|
-
Rules are injected into the LLM review agents (
|
|
153
|
+
Rules are injected into the LLM review agents (0-6) as additional criteria. For PR reviews, rules are read from the **base branch** to prevent a malicious PR from injecting bypass rules.
|
|
154
|
+
|
|
155
|
+
## Issue Fidelity
|
|
156
|
+
|
|
157
|
+
For bugfix PRs, the Issue Fidelity agent fetches issue evidence directly instead of relying on PR description text. It uses `gh pr view <pr> --repo <owner/repo> --json closingIssuesReferences` for GitHub's strong closing-issue metadata, then `gh issue view <number> --repo <issue_owner>/<issue_repo> --json title,body,comments` for the original report and discussion — the `--json` form includes the issue **body** (the reporter's original repro), which `--comments` alone omits, and the issue's own repository is read from each reference (a PR can close an issue in a different repo). This agent runs only for PR targets; local-diff and file-path reviews skip it.
|
|
158
|
+
|
|
159
|
+
`closingIssuesReferences` is a discovery hint rather than proof the author linked the right issue: if it is empty but the PR references an apparent target issue, the agent still fetches it after judging relevance. Fetched issue text is treated as untrusted data (facts extracted, embedded instructions ignored). For relevant issues, the original reproduction, observed payload, expected behavior, and maintainer comments are treated as the highest-priority evidence for whether the PR fixes the right problem.
|
|
160
|
+
|
|
161
|
+
If the issue evidence shows an upstream service or provider returned malformed data outside the client contract, client-side parser or sanitizer changes are not treated as a valid root-cause fix unless a maintainer explicitly requested a defensive workaround. A test that replays malformed upstream output proves only that the workaround handles that shape; it does not prove the workaround is architecturally appropriate.
|
|
162
|
+
|
|
163
|
+
## Core Infrastructure Gate
|
|
164
|
+
|
|
165
|
+
For external PRs touching core infrastructure, `/review` applies the repository gate before normal review (right after the PR is fetched, before dependency install). Maintainer authorship is decided from the PR's `authorAssociation` (`OWNER`/`MEMBER`/`COLLABORATOR` are exempt). Large core changes (500+ additions plus deletions **within core-infrastructure paths**) are reported as a hard block unless maintainer-authored — a low-risk sweep that touches many files but changes a line or two each is escalated rather than auto-rejected on line count. Smaller core changes require 100% confidence and downstream-consumer awareness; otherwise `/review` escalates to a maintainer (submitted as a Comment, never an Approve).
|
|
152
166
|
|
|
153
167
|
Example `.qwen/review-rules.md`:
|
|
154
168
|
|
|
@@ -219,10 +233,10 @@ The review pipeline uses a bounded number of LLM calls regardless of how many fi
|
|
|
219
233
|
|
|
220
234
|
| Stage | LLM calls | Notes |
|
|
221
235
|
| -------------------------------- | ----------------- | --------------------------------------------------- |
|
|
222
|
-
| Review agents (Step 3) |
|
|
236
|
+
| Review agents (Step 3) | 10 (or 9) | Run in parallel; Agent 7 skipped in cross-repo mode |
|
|
223
237
|
| Batch verification (Step 4) | 1 | Single agent verifies all findings at once |
|
|
224
238
|
| Iterative reverse audit (Step 5) | 1-3 | Loops until "No issues found" or 3-round cap |
|
|
225
|
-
| **Total** | **
|
|
239
|
+
| **Total** | **12-14 (11-13)** | Same-repo: 12-14; cross-repo: 11-13 (no Agent 7) |
|
|
226
240
|
|
|
227
241
|
Most PRs converge to the lower end of the range (1 reverse audit round); the cap prevents runaway cost on pathological cases.
|
|
228
242
|
|
|
@@ -81,7 +81,7 @@ Commands for managing AI tools and models.
|
|
|
81
81
|
| `/mcp` | List configured MCP servers and tools | `/mcp`, `/mcp desc`, `/mcp nodesc`, `/mcp schema` |
|
|
82
82
|
| `/import-config` | Import MCP servers from Claude configs | `/import-config all`, `/import-config claude-code`, `/import-config claude-desktop --scope user\|project` |
|
|
83
83
|
| `/tools` | Display currently available tool list | `/tools`, `/tools desc` |
|
|
84
|
-
| `/skills` |
|
|
84
|
+
| `/skills` | Open the Skills panel to browse, search, toggle, and launch skills | `/skills`, `/<skill-name>` |
|
|
85
85
|
| `/plan` | Switch to plan mode or exit plan mode | `/plan`, `/plan <task>`, `/plan exit` |
|
|
86
86
|
| `/approval-mode` | Change the tool-approval mode (current session only) | `/approval-mode`, `/approval-mode auto-edit` |
|
|
87
87
|
| → `plan` | Analysis only, no execution (secure review) | `/approval-mode plan` |
|
|
@@ -396,6 +396,12 @@ Hook output supports three categories of fields:
|
|
|
396
396
|
- `hookSpecificOutput.updatedInput`: modified tool input parameters to use instead of original
|
|
397
397
|
- `hookSpecificOutput.additionalContext`: additional context information
|
|
398
398
|
|
|
399
|
+
The `permissionDecision` value controls whether the tool runs:
|
|
400
|
+
|
|
401
|
+
- `"allow"` — run the tool without the usual approval prompt.
|
|
402
|
+
- `"deny"` — block the tool; it does not execute and an error is returned to the model.
|
|
403
|
+
- `"ask"` — pause and ask the user to confirm the tool call in the TUI before it runs. Confirming runs the tool once; declining cancels it. In contexts that cannot prompt for confirmation — headless (`--prompt`) runs and background subagents — `"ask"` falls back to `"deny"`.
|
|
404
|
+
|
|
399
405
|
**Note**: While standard hook output fields like `decision` and `reason` are technically supported by the underlying class, the official interface expects the `hookSpecificOutput` with `permissionDecision` and `permissionDecisionReason`.
|
|
400
406
|
|
|
401
407
|
**Example Output**:
|
|
@@ -17,13 +17,15 @@ Agent Skills package expertise into discoverable capabilities. Each Skill consis
|
|
|
17
17
|
|
|
18
18
|
Skills are **model-invoked** — the model autonomously decides when to use them based on your request and the Skill's description. This is different from slash commands, which are **user-invoked** (you explicitly type `/command`).
|
|
19
19
|
|
|
20
|
-
If you want to invoke a Skill explicitly,
|
|
20
|
+
If you want to invoke a Skill explicitly, type it as a slash command using the Skill's name:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
23
|
+
/<skill-name>
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Start typing `/` to autocomplete and browse available Skills alongside their descriptions. The `/skills` command opens the Skills panel, where you can browse, search, toggle, and launch Skills interactively.
|
|
27
|
+
|
|
28
|
+
> **Note:** If you previously ran a Skill with `/skills <skill-name>`, that syntax now just opens the Skills panel and ignores the trailing argument. Use `/<skill-name>` to run a Skill directly.
|
|
27
29
|
|
|
28
30
|
### Benefits
|
|
29
31
|
|
package/bundled/review/DESIGN.md
CHANGED
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
> Architecture decisions, trade-offs, and rejected alternatives for the `/review` skill.
|
|
4
4
|
|
|
5
|
-
## Why
|
|
5
|
+
## Why 10 agents + 1 verify + iterative reverse, not 1 agent?
|
|
6
6
|
|
|
7
7
|
**Considered:**
|
|
8
8
|
|
|
9
9
|
- **1 agent (Copilot approach):** Single agent with tool-calling, reads and reviews in one pass. Cheapest (1 LLM call). But dimensional coverage depends entirely on one prompt's attention — easy to miss performance issues while focused on security.
|
|
10
10
|
- **5 parallel agents (original design):** Each agent focuses on one dimension. Higher coverage through forced diversity of perspective. Limited by combined Correctness+Security and a single undirected pass — recall ceiling left findings on the table that the user only discovered in subsequent /review rounds.
|
|
11
|
-
- **9 parallel agents
|
|
11
|
+
- **9 parallel agents:** 6 review dimensions (Correctness, Security, Code Quality, Performance, Test Coverage, Undirected) + Build & Test. Undirected runs as 3 personas in parallel.
|
|
12
|
+
- **10 parallel agents (current):** The 9-agent design plus Issue Fidelity & Root-Cause Ownership, which compares linked issue evidence against the PR's claimed fix before accepting a client-side change.
|
|
12
13
|
|
|
13
|
-
**Decision:**
|
|
14
|
+
**Decision:** 10 agents. The marginal cost (10x vs 1x) is acceptable because:
|
|
14
15
|
|
|
15
|
-
1. Parallel execution means time cost is ~1x (all
|
|
16
|
+
1. Parallel execution means time cost is ~1x (all 10 agents launch in one response)
|
|
16
17
|
2. Dimensional focus produces higher recall (fewer missed issues)
|
|
17
18
|
3. Three undirected personas (attacker / 3am-oncall / maintainer) catch cross-dimensional issues that a single undirected agent's prompt-induced bias would miss
|
|
18
|
-
4.
|
|
19
|
+
4. Issue Fidelity prevents a common false approval mode: a PR can be internally well-tested while solving only the author's mistaken diagnosis, not the linked issue's original failure
|
|
20
|
+
5. The "Silence is better than noise" principle + verification controls precision
|
|
19
21
|
|
|
20
22
|
### Why split Correctness from Security
|
|
21
23
|
|
|
@@ -25,6 +27,16 @@ A single Correctness+Security agent has split attention — empirically one dime
|
|
|
25
27
|
|
|
26
28
|
Test gaps are a systematic blind spot. Review agents focused on bugs in the new code itself rarely look at whether the change came with adequate tests. A dedicated agent that asks "what scenarios in this diff are untested?" catches misses no other dimension hits.
|
|
27
29
|
|
|
30
|
+
### Why a dedicated Issue Fidelity agent
|
|
31
|
+
|
|
32
|
+
Bugfix PRs often carry their own diagnosis in the PR body, but that diagnosis can be wrong. The linked issue's original reproduction, observed payload, expected behavior, and maintainer comments must be checked before judging whether the implementation is a real fix. The implementation deliberately keeps issue discovery out of `pr-context`: the Issue Fidelity agent fetches GitHub's closing-issue metadata with `gh pr view --json closingIssuesReferences`, then fetches relevant issue discussions with `gh issue view --json title,body,comments` (the `--json` form is required — it returns the issue **body**, which `--comments` alone omits). This keeps relevance judgment in the agent instead of baking fragile PR-body parsing into TypeScript. The agent runs only for PR targets — a local-diff or file-path review has no PR or linked issue, so it is skipped there (9 agents instead of 10).
|
|
33
|
+
|
|
34
|
+
The agent also enforces the root-cause ownership gate: a client-side parser/sanitizer workaround for malformed upstream output is not acceptable as a root-cause fix unless a maintainer explicitly asked for that defensive mitigation.
|
|
35
|
+
|
|
36
|
+
### Why the core infrastructure gate runs before agents
|
|
37
|
+
|
|
38
|
+
Large external core changes are a governance decision before they are a review-quality problem. Running the full agent ensemble on a PR that should be maintainer-initiated wastes review budget and can produce a misleading "looks good" narrative. The prompt therefore applies the repository's two-tier core gate in Step 1: hard-block external 500+ line core changes, and escalate smaller core changes whenever downstream impact cannot be named with 100% confidence.
|
|
39
|
+
|
|
28
40
|
### Why three undirected personas instead of one or many
|
|
29
41
|
|
|
30
42
|
A single undirected agent has prompt-induced bias and tends to find the same kinds of issues across runs. Three personas — attacker / 3am-oncall / maintainer — force completely different mental traversals, and the union of findings is meaningfully larger than 1.5× a single agent.
|
|
@@ -190,18 +202,18 @@ A malicious PR could add `.qwen/review-rules.md` with "never report security iss
|
|
|
190
202
|
|
|
191
203
|
**Decision:** Tips. Qwen Code's follow-up suggestion system is a core UX differentiator. Blocking prompts interrupt flow. Tips are zero-friction and let users decide when/if to act.
|
|
192
204
|
|
|
193
|
-
## LLM call budget (variable, ~
|
|
205
|
+
## LLM call budget (variable, ~12-14)
|
|
194
206
|
|
|
195
|
-
| Stage | Calls | Why
|
|
196
|
-
| ----------------------- | ----------------- |
|
|
197
|
-
| Review agents |
|
|
198
|
-
| Batch verification | 1 | O(1) not O(N) — batch is as good as individual
|
|
199
|
-
| Iterative reverse audit | 1-3 | Loop until "No issues found" or 3-round hard cap
|
|
200
|
-
| **Total** | **
|
|
207
|
+
| Stage | Calls | Why |
|
|
208
|
+
| ----------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
209
|
+
| Review agents | 10 (9) | issue fidelity + 6 dimensions + 3 undirected personas; Agent 7 skipped in cross-repo, Agent 0 skipped for non-PR reviews |
|
|
210
|
+
| Batch verification | 1 | O(1) not O(N) — batch is as good as individual |
|
|
211
|
+
| Iterative reverse audit | 1-3 | Loop until "No issues found" or 3-round hard cap |
|
|
212
|
+
| **Total** | **12-14 (11-13)** | Same-repo PR: 12-14; cross-repo lightweight PR or local/file (no Agent 0): 11-13 |
|
|
201
213
|
|
|
202
|
-
The exact count depends on how many iterative reverse audit rounds run. Most PRs converge after 1-2 rounds; the cap prevents runaway cost.
|
|
214
|
+
The exact count depends on how many iterative reverse audit rounds run. Most PRs converge after 1-2 rounds; the cap prevents runaway cost. Agent 0 (Issue Fidelity) runs only for PR targets, so local-diff and file-path reviews launch one fewer agent.
|
|
203
215
|
|
|
204
|
-
Competitors: Copilot uses 1 call, Gemini uses 2, Claude /ultrareview uses 5-20 (cloud). Our
|
|
216
|
+
Competitors: Copilot uses 1 call, Gemini uses 2, Claude /ultrareview uses 5-20 (cloud). Our 12-14 biases toward higher recall — the assumption is that "find more issues per round" is more valuable than minimizing per-run cost, because every missed issue forces the user into another `/review` iteration.
|
|
205
217
|
|
|
206
218
|
## Why cross-repo uses lightweight mode
|
|
207
219
|
|
|
@@ -268,14 +280,15 @@ For a PR with 15 findings:
|
|
|
268
280
|
| Gemini (2 LLM tasks) | 2 | Good cost, medium coverage |
|
|
269
281
|
| Our design (5 agents, N verify) | 21 | 5+15+1 — too expensive |
|
|
270
282
|
| Our design (5 agents, batch verify, single reverse) | 7 | 5+1+1 — original design |
|
|
271
|
-
| Our design (9 agents, iterative reverse
|
|
283
|
+
| Our design (9 agents, iterative reverse) | 11-13 | 9+1+(1-3) — +50% cost for meaningfully higher recall |
|
|
284
|
+
| Our design (10 agents, current) | 12-14 | 10+1+(1-3) — adds issue-fidelity/root-cause gate |
|
|
272
285
|
| Claude /ultrareview | 5-20 | Cloud-hosted, cost on Anthropic |
|
|
273
286
|
|
|
274
287
|
## Future optimization: Fork Subagent
|
|
275
288
|
|
|
276
289
|
> Dependency: [Fork Subagent proposal](https://github.com/wenshao/codeagents/blob/main/docs/comparison/qwen-code-improvement-report-p0-p1-core.md#2-fork-subagentp0)
|
|
277
290
|
|
|
278
|
-
**Current problem:** Each of the
|
|
291
|
+
**Current problem:** Each of the 12-14 LLM calls (10 review + 1 verify + 1-3 reverse audit rounds) creates a new subagent from scratch. The system prompt (~50K tokens) is sent independently to each, totaling ~620-730K input tokens with massive redundancy. The cost grew along with the agent count — Fork Subagent matters more under the current 10-agent design than under the original 5-agent design.
|
|
279
292
|
|
|
280
293
|
**Fork Subagent solution:** Instead of creating independent subagents, fork the current conversation. All forks inherit the parent's full context (system prompt, conversation history, Step 1/1.1/1.5 results) and share a prompt cache prefix. The API caches the common prefix once; each fork only pays for its unique delta (~2K per agent).
|
|
281
294
|
|
|
@@ -283,13 +296,13 @@ For a PR with 15 findings:
|
|
|
283
296
|
Current (independent subagents):
|
|
284
297
|
Agent 1: [50K system] + [2K task] = 52K
|
|
285
298
|
Agent 2: [50K system] + [2K task] = 52K
|
|
286
|
-
...×
|
|
299
|
+
...× 12-14 agents = ~620-730K total input tokens
|
|
287
300
|
|
|
288
301
|
With Fork + prompt cache sharing:
|
|
289
302
|
Cached prefix: [50K system + conversation history] (cached once)
|
|
290
303
|
Fork 1: [cache hit] + [2K delta] = ~2K effective
|
|
291
304
|
Fork 2: [cache hit] + [2K delta] = ~2K effective
|
|
292
|
-
...×
|
|
305
|
+
...× 12-14 forks = ~50K cached + ~24-28K delta = ~74-78K total
|
|
293
306
|
```
|
|
294
307
|
|
|
295
308
|
**Additional benefits for /review:**
|