@qwen-code/qwen-code 0.18.3 → 0.18.4
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 +64 -492
- package/bundled/loop/SKILL.md +53 -26
- package/bundled/loop/SKILL.test.ts +67 -0
- package/bundled/qc-helper/docs/configuration/settings.md +25 -18
- package/bundled/qc-helper/docs/extension/introduction.md +38 -0
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +4 -4
- package/bundled/qc-helper/docs/features/channels/qqbot.md +179 -0
- package/bundled/qc-helper/docs/features/commands.md +49 -0
- package/bundled/qc-helper/docs/features/followup-suggestions.md +10 -6
- package/bundled/qc-helper/docs/features/hooks.md +6 -3
- package/bundled/qc-helper/docs/features/status-line.md +4 -2
- package/bundled/qc-helper/docs/qwen-serve.md +9 -4
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +11 -5
- package/bundled/qc-helper/docs/support/troubleshooting.md +5 -0
- package/chunks/{agent-IBLZKOHM.js → agent-LYTC56HT.js} +24 -23
- package/chunks/{agent-headless-U3A2AQWP.js → agent-headless-FPUP5WHP.js} +24 -23
- package/chunks/{anthropicContentGenerator-KLBHYGH6.js → anthropicContentGenerator-OLOGBVLP.js} +4 -4
- package/chunks/{askUserQuestion-QPZXR3UO.js → askUserQuestion-ANRVSBIJ.js} +2 -2
- package/chunks/{ca-RK4QPLIX.js → ca-K6MD665I.js} +42 -2
- package/chunks/chunk-2ES3D3TW.js +1026 -0
- package/chunks/{chunk-O4PICXES.js → chunk-2MPVVENX.js} +14 -6
- package/chunks/{chunk-OY2G3EH4.js → chunk-32SSXBMG.js} +131009 -128408
- package/chunks/{chunk-BJ5HQ23U.js → chunk-4HMWGHPP.js} +9 -10
- package/chunks/{chunk-SFRV6BGY.js → chunk-4TW2JM5Q.js} +3 -3
- package/chunks/{chunk-C63NLV2Y.js → chunk-5RVEAAD2.js} +6 -6
- package/chunks/{chunk-K3CCX4PX.js → chunk-6Z2MVJIJ.js} +1046 -293
- package/chunks/{chunk-ZOFNJQNJ.js → chunk-7GX7XYZU.js} +3 -3
- package/chunks/{chunk-VIEIRAK3.js → chunk-7OCZ77KA.js} +4 -2
- package/chunks/{chunk-RTTAC5VW.js → chunk-AQDPHFDZ.js} +1 -1
- package/chunks/{chunk-IDYDPBBN.js → chunk-DZCZZPCY.js} +3 -3
- package/chunks/{chunk-ZMIBJS45.js → chunk-E5SRTXRG.js} +1 -1
- package/chunks/{chunk-FIQECJTQ.js → chunk-F6FP3URI.js} +1 -1
- package/chunks/{chunk-IQHSD7K5.js → chunk-FPZF3BNV.js} +1 -1
- package/chunks/{chunk-O2HKIE5I.js → chunk-GBTJHKQ6.js} +732 -617
- package/chunks/{chunk-NNIYWQIS.js → chunk-HU3RKEK2.js} +2 -1
- package/chunks/{chunk-HA2UEYZP.js → chunk-IKOWINH4.js} +7 -4
- package/chunks/{chunk-MN5RAXVB.js → chunk-IUEQOXOI.js} +18 -6
- package/chunks/{chunk-CPVI5J2L.js → chunk-JIJBNW4A.js} +1 -1
- package/chunks/{chunk-ZNUMXPNK.js → chunk-JJHY7NAD.js} +7 -3
- package/chunks/{chunk-YJDVHAGL.js → chunk-JN6FVOPP.js} +2 -2
- package/chunks/{chunk-VU6A2OBJ.js → chunk-JXQ23SNT.js} +217 -219
- package/chunks/{chunk-MSS4XTSL.js → chunk-LXUQBWQA.js} +6 -5
- package/chunks/{chunk-WPTCDQN6.js → chunk-M5VYHAHT.js} +2 -2
- package/chunks/{chunk-LXYWINWF.js → chunk-N5QHMPZU.js} +1 -1
- package/chunks/{chunk-LYSND7KR.js → chunk-PTGKSUUJ.js} +2 -2
- package/chunks/{chunk-MRULXYE3.js → chunk-SZWDOOGV.js} +24 -12
- package/chunks/{chunk-LYRSMKLS.js → chunk-VWPDSQZY.js} +2 -2
- package/chunks/{chunk-B4ZF2KSI.js → chunk-WWU2KUSR.js} +2 -2
- package/chunks/{chunk-QP4R5FTG.js → chunk-Z7XXFPGP.js} +4 -3
- package/chunks/{chunk-TW522KN6.js → chunk-ZTQ26VBE.js} +13 -6
- package/chunks/{computer-use-OEMCNYX5.js → computer-use-P4WQBATW.js} +24 -23
- package/chunks/contextCommand-POQ6GYN3.js +54 -0
- package/chunks/{cron-create-DQKRQMCP.js → cron-create-OKGQO6GX.js} +6 -6
- package/chunks/{cron-delete-DOFPHFTI.js → cron-delete-DTJP7L6O.js} +6 -6
- package/chunks/{cron-list-RCVOO3CB.js → cron-list-VKZUASFG.js} +24 -10
- package/chunks/{de-FGPM4KW5.js → de-K2F3T3TR.js} +41 -1
- package/chunks/{dist-2UCAYOX7.js → dist-BD27IA3L.js} +16 -5
- package/chunks/{dist-33LHH26D.js → dist-KIYB7DQW.js} +1 -1
- package/chunks/{dist-UH7CYT7F.js → dist-OLC6NBSB.js} +51 -10
- package/chunks/dist-QFFZWACU.js +2136 -0
- package/chunks/{dist-KF43SZZV.js → dist-QUSDBLAK.js} +1 -1
- package/chunks/{edit-HOHKMDP6.js → edit-CS7DSS4Z.js} +26 -27
- package/chunks/{en-VP6XPGEC.js → en-KGSAKBJP.js} +232 -0
- package/chunks/{enter-worktree-O2DGTKFY.js → enter-worktree-PA4HPHJK.js} +24 -23
- package/chunks/{enterPlanMode-FYHJD6AH.js → enterPlanMode-SFE5AFKZ.js} +47 -23
- package/chunks/{exit-worktree-TVTAKFIV.js → exit-worktree-FR3AZTC6.js} +191 -41
- package/chunks/{exitPlanMode-DL7XTFEC.js → exitPlanMode-AHOUO44D.js} +81 -43
- package/chunks/{fr-ATYBVCLT.js → fr-2CAQEOK6.js} +41 -1
- package/chunks/{geminiContentGenerator-2LLKQOJZ.js → geminiContentGenerator-AXCVDKGI.js} +4 -4
- package/chunks/{glob-DUCIKJZE.js → glob-BQPAW3IW.js} +26 -24
- package/chunks/{grep-A7CW7MHE.js → grep-2F7BL5TQ.js} +96 -43
- package/chunks/{ja-W2QEA2OI.js → ja-QWL7V6OJ.js} +41 -1
- package/chunks/{keychain-token-storage-QSTRHKKL.js → keychain-token-storage-ALKQXYJQ.js} +2 -2
- package/chunks/loop-wakeup-RX6YIUSG.js +167 -0
- package/chunks/{ls-TRD77UTS.js → ls-6PLNWHMU.js} +3 -3
- package/chunks/{lsp-2VFWQPZS.js → lsp-3HFQU4OF.js} +2 -2
- package/chunks/{monitor-PPSG4MWE.js → monitor-YTTMDFW2.js} +24 -23
- package/chunks/{notebook-edit-OQBMXIAC.js → notebook-edit-7TNZMTBR.js} +25 -26
- package/chunks/{openaiContentGenerator-JAHIGA7U.js → openaiContentGenerator-JA6YXXPI.js} +12 -11
- package/chunks/{pt-ZKEWJFBW.js → pt-2SPOLMAY.js} +41 -1
- package/chunks/{qwenContentGenerator-H357UGVE.js → qwenContentGenerator-NBOVGW7B.js} +26 -25
- package/chunks/{qwenOAuth2-KK433U33.js → qwenOAuth2-XWC5SU63.js} +4 -4
- package/chunks/{read-file-TQSF7AVG.js → read-file-RUBU3KUA.js} +9 -8
- package/chunks/{ripGrep-AI43PPZP.js → ripGrep-TPFC7KZF.js} +24 -23
- package/chunks/{ru-VEKTPJ74.js → ru-35IVJTEH.js} +41 -1
- package/chunks/{scheduler-R6AQPP7V.js → scheduler-NTVF45LR.js} +24 -23
- package/chunks/{send-message-QZOC5GA2.js → send-message-IIT3SHA7.js} +2 -2
- package/chunks/{serve-TH2BJ5XR.js → serve-J6VG37OX.js} +1249 -279
- package/chunks/{shell-C7AFLMP5.js → shell-EQQEHEFI.js} +24 -23
- package/chunks/{skill-RKVBRTPA.js → skill-QWRWJCQJ.js} +11 -10
- package/chunks/{src-IW53XETC.js → src-LNADIG5P.js} +137 -59
- package/chunks/{syntheticOutput-WJSUK4SZ.js → syntheticOutput-H67FYXU7.js} +3 -3
- package/chunks/{task-create-GGSC27HO.js → task-create-OVXHSHAI.js} +7 -7
- package/chunks/{task-list-EDHHHSK4.js → task-list-QUUCQJ3U.js} +6 -6
- package/chunks/{task-stop-WR5PDVZY.js → task-stop-WA5DMTKK.js} +2 -2
- package/chunks/{task-update-UR7NUHBV.js → task-update-PC5427TI.js} +7 -7
- package/chunks/{team-create-6F44EH3O.js → team-create-TXWQL777.js} +26 -25
- package/chunks/{team-delete-FC33URJK.js → team-delete-ZTEMYRJ3.js} +6 -6
- package/chunks/{todoWrite-GO2ME7ZV.js → todoWrite-J6L6ELD6.js} +4 -4
- package/chunks/{tool-search-WGNAYT43.js → tool-search-JAVM7ABF.js} +9 -8
- package/chunks/{web-fetch-NLLATYIL.js → web-fetch-6XLPPTP7.js} +5 -5
- package/chunks/{workflow-L5J5VGY4.js → workflow-7LN3L6KK.js} +242 -39
- package/chunks/{write-file-2FKBW3XN.js → write-file-DAKE7YKB.js} +26 -27
- package/chunks/{zh-TW-6YFNCKTA.js → zh-TW-BSG6BUWK.js} +232 -2
- package/chunks/{zh-OIXDDQHB.js → zh-X4KM6MTW.js} +233 -0
- package/cli.js +10735 -5708
- package/examples/agent/agents/diary.md +1 -1
- package/examples/mcp-server/qwen-extension.json +8 -1
- package/examples/starter/agents/diary.md +1 -1
- package/locales/ca.js +67 -2
- package/locales/de.js +68 -2
- package/locales/en.js +304 -0
- package/locales/fr.js +69 -2
- package/locales/ja.js +65 -2
- package/locales/pt.js +67 -2
- package/locales/ru.js +68 -2
- package/locales/zh-TW.js +288 -2
- package/locales/zh.js +288 -0
- package/package.json +4 -3
- package/web-shell/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/web-shell/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/web-shell/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/web-shell/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/web-shell/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/web-shell/assets/abap-DsBKuouk.js +1 -0
- package/web-shell/assets/actionscript-3-D_z4Izcz.js +1 -0
- package/web-shell/assets/ada-727ZlQH0.js +1 -0
- package/web-shell/assets/andromeeda-C3khCPGq.js +1 -0
- package/web-shell/assets/angular-html-LfdN0zeE.js +1 -0
- package/web-shell/assets/angular-ts-CKsD7JZE.js +1 -0
- package/web-shell/assets/apache-Dn00JSTd.js +1 -0
- package/web-shell/assets/apex-COJ4H7py.js +1 -0
- package/web-shell/assets/apl-BBq3IX1j.js +1 -0
- package/web-shell/assets/applescript-Bu5BbsvL.js +1 -0
- package/web-shell/assets/ara-7O62HKoU.js +1 -0
- package/web-shell/assets/arc-CRFN10gD.js +1 -0
- package/web-shell/assets/architectureDiagram-3BPJPVTR-IRlu1CpH.js +36 -0
- package/web-shell/assets/asciidoc-BPT9niGB.js +1 -0
- package/web-shell/assets/asm-Dhn9LcZ4.js +1 -0
- package/web-shell/assets/astro-CqkE3fuf.js +1 -0
- package/web-shell/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/web-shell/assets/awk-eg146-Ew.js +1 -0
- package/web-shell/assets/ayu-dark-Cv9koXgw.js +1 -0
- package/web-shell/assets/ballerina-Du268qiB.js +1 -0
- package/web-shell/assets/bat-fje9CFhw.js +1 -0
- package/web-shell/assets/beancount-BwXTMy5W.js +1 -0
- package/web-shell/assets/berry-3xVqZejG.js +1 -0
- package/web-shell/assets/bibtex-xW4inM5L.js +1 -0
- package/web-shell/assets/bicep-DHo0CJ0O.js +1 -0
- package/web-shell/assets/blade-a8OxSdnT.js +1 -0
- package/web-shell/assets/blockDiagram-GPEHLZMM-htIZ6iw8.js +132 -0
- package/web-shell/assets/bsl-Dgyn0ogV.js +1 -0
- package/web-shell/assets/c-C3t2pwGQ.js +1 -0
- package/web-shell/assets/c4Diagram-AAUBKEIU-A2GoRq3O.js +10 -0
- package/web-shell/assets/cadence-DNquZEk8.js +1 -0
- package/web-shell/assets/cairo--RitsXJZ.js +1 -0
- package/web-shell/assets/catppuccin-frappe-CD_QflpE.js +1 -0
- package/web-shell/assets/catppuccin-latte-DRW-0cLl.js +1 -0
- package/web-shell/assets/catppuccin-macchiato-C-_shW-Y.js +1 -0
- package/web-shell/assets/catppuccin-mocha-LGGdnPYs.js +1 -0
- package/web-shell/assets/channel-WwImfsc7.js +1 -0
- package/web-shell/assets/chunk-2J33WTMH-CdP2AC6u.js +1 -0
- package/web-shell/assets/chunk-4BX2VUAB-DrA07nW2.js +1 -0
- package/web-shell/assets/chunk-55IACEB6-CFGnVU2f.js +1 -0
- package/web-shell/assets/chunk-727SXJPM-BTMkq3Tk.js +206 -0
- package/web-shell/assets/chunk-AQP2D5EJ-C9sYg04Z.js +231 -0
- package/web-shell/assets/chunk-FMBD7UC4-Cag-cj6I.js +15 -0
- package/web-shell/assets/chunk-ND2GUHAM-CDSTFoR7.js +1 -0
- package/web-shell/assets/chunk-QZHKN3VN-CN9Z6oOs.js +1 -0
- package/web-shell/assets/clarity-BHOwM8T6.js +1 -0
- package/web-shell/assets/classDiagram-4FO5ZUOK-CJKQYFeJ.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CJKQYFeJ.js +1 -0
- package/web-shell/assets/clojure-DxSadP1t.js +1 -0
- package/web-shell/assets/cmake-DbXoA79R.js +1 -0
- package/web-shell/assets/cobol-PTqiYgYu.js +1 -0
- package/web-shell/assets/codeowners-Bp6g37R7.js +1 -0
- package/web-shell/assets/codeql-sacFqUAJ.js +1 -0
- package/web-shell/assets/coffee-dyiR41kL.js +1 -0
- package/web-shell/assets/common-lisp-C7gG9l05.js +1 -0
- package/web-shell/assets/coq-Dsg_Bt_b.js +1 -0
- package/web-shell/assets/cose-bilkent-S5V4N54A-DuN9j8Du.js +1 -0
- package/web-shell/assets/cpp-BksuvNSY.js +1 -0
- package/web-shell/assets/crystal-DtDmRg-F.js +1 -0
- package/web-shell/assets/csharp-D9R-vmeu.js +1 -0
- package/web-shell/assets/css-BPhBrDlE.js +1 -0
- package/web-shell/assets/csv-B0qRVHPH.js +1 -0
- package/web-shell/assets/cue-DtFQj3wx.js +1 -0
- package/web-shell/assets/cypher-m2LEI-9-.js +1 -0
- package/web-shell/assets/cytoscape.esm-CUqq0XTU.js +331 -0
- package/web-shell/assets/d-BoXegm-a.js +1 -0
- package/web-shell/assets/dagre-BM42HDAG-ByCWe45f.js +4 -0
- package/web-shell/assets/dark-plus-C3mMm8J8.js +1 -0
- package/web-shell/assets/dart-B9wLZaAG.js +1 -0
- package/web-shell/assets/dax-ClGRhx96.js +1 -0
- package/web-shell/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/web-shell/assets/desktop-DEIpsLCJ.js +1 -0
- package/web-shell/assets/diagram-2AECGRRQ-eWyU_pKZ.js +43 -0
- package/web-shell/assets/diagram-5GNKFQAL-0Bfu3Fq5.js +10 -0
- package/web-shell/assets/diagram-KO2AKTUF-B6KBKkQP.js +3 -0
- package/web-shell/assets/diagram-LMA3HP47-TToDmeA_.js +24 -0
- package/web-shell/assets/diagram-OG6HWLK6-CQCkC2Yx.js +24 -0
- package/web-shell/assets/diff-BgYniUM_.js +1 -0
- package/web-shell/assets/docker-COcR7UxN.js +1 -0
- package/web-shell/assets/dotenv-BjQB5zDj.js +1 -0
- package/web-shell/assets/dracula-BzJJZx-M.js +1 -0
- package/web-shell/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/web-shell/assets/dream-maker-C-nORZOA.js +1 -0
- package/web-shell/assets/edge-D5gP-w-T.js +1 -0
- package/web-shell/assets/elixir-CLiX3zqd.js +1 -0
- package/web-shell/assets/elm-CmHSxxaM.js +1 -0
- package/web-shell/assets/emacs-lisp-BX77sIaO.js +1 -0
- package/web-shell/assets/erDiagram-TEJ5UH35-Cm9ls1iB.js +85 -0
- package/web-shell/assets/erb-BYTLMnw6.js +1 -0
- package/web-shell/assets/erlang-B-DoSBHF.js +1 -0
- package/web-shell/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/web-shell/assets/everforest-light-C8M2exoo.js +1 -0
- package/web-shell/assets/fennel-bCA53EVm.js +1 -0
- package/web-shell/assets/fish-w-ucz2PV.js +1 -0
- package/web-shell/assets/flowDiagram-I6XJVG4X-Dyoz80Pv.js +162 -0
- package/web-shell/assets/fluent-Dayu4EKP.js +1 -0
- package/web-shell/assets/fortran-fixed-form-TqA4NnZg.js +1 -0
- package/web-shell/assets/fortran-free-form-DKXYxT9g.js +1 -0
- package/web-shell/assets/fsharp-XplgxFYe.js +1 -0
- package/web-shell/assets/ganttDiagram-6RSMTGT7-Cfut9yaU.js +292 -0
- package/web-shell/assets/gdresource-BHYsBjWJ.js +1 -0
- package/web-shell/assets/gdscript-DfxzS6Rs.js +1 -0
- package/web-shell/assets/gdshader-SKMF96pI.js +1 -0
- package/web-shell/assets/genie-ajMbGru0.js +1 -0
- package/web-shell/assets/gherkin--30QC5Em.js +1 -0
- package/web-shell/assets/git-commit-i4q6IMui.js +1 -0
- package/web-shell/assets/git-rebase-B-v9cOL2.js +1 -0
- package/web-shell/assets/gitGraphDiagram-PVQCEYII-BCuJdlfD.js +106 -0
- package/web-shell/assets/github-dark-DHJKELXO.js +1 -0
- package/web-shell/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/web-shell/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/web-shell/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/web-shell/assets/github-light-DAi9KRSo.js +1 -0
- package/web-shell/assets/github-light-default-D7oLnXFd.js +1 -0
- package/web-shell/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/web-shell/assets/gleam-B430Bg39.js +1 -0
- package/web-shell/assets/glimmer-js-D-cwc0-E.js +1 -0
- package/web-shell/assets/glimmer-ts-pgjy16dm.js +1 -0
- package/web-shell/assets/glsl-DBO2IWDn.js +1 -0
- package/web-shell/assets/gnuplot-CM8KxXT1.js +1 -0
- package/web-shell/assets/go-B1SYOhNW.js +1 -0
- package/web-shell/assets/graph-qsFoMdT2.js +1 -0
- package/web-shell/assets/graphql-cDcHW_If.js +1 -0
- package/web-shell/assets/groovy-DkBy-JyN.js +1 -0
- package/web-shell/assets/hack-D1yCygmZ.js +1 -0
- package/web-shell/assets/haml-B2EZWmdv.js +1 -0
- package/web-shell/assets/handlebars-BQGss363.js +1 -0
- package/web-shell/assets/haskell-BILxekzW.js +1 -0
- package/web-shell/assets/haxe-C5wWYbrZ.js +1 -0
- package/web-shell/assets/hcl-HzYwdGDm.js +1 -0
- package/web-shell/assets/hjson-T-Tgc4AT.js +1 -0
- package/web-shell/assets/hlsl-ifBTmRxC.js +1 -0
- package/web-shell/assets/houston-DnULxvSX.js +1 -0
- package/web-shell/assets/html-C2L_23MC.js +1 -0
- package/web-shell/assets/html-derivative-CSfWNPLT.js +1 -0
- package/web-shell/assets/http-FRrOvY1W.js +1 -0
- package/web-shell/assets/hxml-TIA70rKU.js +1 -0
- package/web-shell/assets/hy-BMj5Y0dO.js +1 -0
- package/web-shell/assets/imba-bv_oIlVt.js +1 -0
- package/web-shell/assets/index-BDZiTAkl.css +1 -0
- package/web-shell/assets/index-DaebdpHq.js +516 -0
- package/web-shell/assets/infoDiagram-5YYISTIA-CXKxF2VL.js +2 -0
- package/web-shell/assets/ini-BjABl1g7.js +1 -0
- package/web-shell/assets/init-Gi6I4Gst.js +1 -0
- package/web-shell/assets/ishikawaDiagram-YF4QCWOH-DE7HWSU8.js +70 -0
- package/web-shell/assets/java-xI-RfyKK.js +1 -0
- package/web-shell/assets/javascript-ySlJ1b_l.js +1 -0
- package/web-shell/assets/jinja-DGy0s7-h.js +1 -0
- package/web-shell/assets/jison-BqZprYcd.js +1 -0
- package/web-shell/assets/journeyDiagram-JHISSGLW-D__YUfds.js +139 -0
- package/web-shell/assets/json-BQoSv7ci.js +1 -0
- package/web-shell/assets/json5-w8dY5SsB.js +1 -0
- package/web-shell/assets/jsonc-TU54ms6u.js +1 -0
- package/web-shell/assets/jsonl-DREVFZK8.js +1 -0
- package/web-shell/assets/jsonnet-BfivnA6A.js +1 -0
- package/web-shell/assets/jssm-P4WzXJd0.js +1 -0
- package/web-shell/assets/jsx-BAng5TT0.js +1 -0
- package/web-shell/assets/julia-BBuGR-5E.js +1 -0
- package/web-shell/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
- package/web-shell/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
- package/web-shell/assets/kanagawa-wave-DWedfzmr.js +1 -0
- package/web-shell/assets/kanban-definition-UN3LZRKU-D82R169M.js +89 -0
- package/web-shell/assets/kotlin-B5lbUyaz.js +1 -0
- package/web-shell/assets/kusto-mebxcVVE.js +1 -0
- package/web-shell/assets/laserwave-DUszq2jm.js +1 -0
- package/web-shell/assets/latex-C-cWTeAZ.js +1 -0
- package/web-shell/assets/layout-CNYaLpI5.js +1 -0
- package/web-shell/assets/lean-XBlWyCtg.js +1 -0
- package/web-shell/assets/less-BfCpw3nA.js +1 -0
- package/web-shell/assets/light-plus-B7mTdjB0.js +1 -0
- package/web-shell/assets/linear-DpyMbKqT.js +1 -0
- package/web-shell/assets/liquid-D3W5UaiH.js +1 -0
- package/web-shell/assets/log-Cc5clBb7.js +1 -0
- package/web-shell/assets/logo-IuBKFhSY.js +1 -0
- package/web-shell/assets/lua-CvWAzNxB.js +1 -0
- package/web-shell/assets/luau-Du5NY7AG.js +1 -0
- package/web-shell/assets/make-Bvotw-X0.js +1 -0
- package/web-shell/assets/markdown-UIAJJxZW.js +1 -0
- package/web-shell/assets/marko-z0MBrx5-.js +1 -0
- package/web-shell/assets/material-theme-D5KoaKCx.js +1 -0
- package/web-shell/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/web-shell/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/web-shell/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/web-shell/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/web-shell/assets/matlab-D9-PGadD.js +1 -0
- package/web-shell/assets/mdc-DB_EDNY_.js +1 -0
- package/web-shell/assets/mdx-sdHcTMYB.js +1 -0
- package/web-shell/assets/mermaid-Ci6OQyBP.js +1 -0
- package/web-shell/assets/mermaid.core-D1KEFDhn.js +309 -0
- package/web-shell/assets/min-dark-CafNBF8u.js +1 -0
- package/web-shell/assets/min-light-CTRr51gU.js +1 -0
- package/web-shell/assets/mindmap-definition-RKZ34NQL-BwVUFGFE.js +96 -0
- package/web-shell/assets/mipsasm-BC5c_5Pe.js +1 -0
- package/web-shell/assets/mojo-Tz6hzZYG.js +1 -0
- package/web-shell/assets/monokai-D4h5O-jR.js +1 -0
- package/web-shell/assets/move-DB_GagMm.js +1 -0
- package/web-shell/assets/narrat-DLbgOhZU.js +1 -0
- package/web-shell/assets/nextflow-B0XVJmRM.js +1 -0
- package/web-shell/assets/nginx-D_VnBJ67.js +1 -0
- package/web-shell/assets/night-owl-C39BiMTA.js +1 -0
- package/web-shell/assets/nim-ZlGxZxc3.js +1 -0
- package/web-shell/assets/nix-shcSOmrb.js +1 -0
- package/web-shell/assets/nord-Ddv68eIx.js +1 -0
- package/web-shell/assets/nushell-D4Tzg5kh.js +1 -0
- package/web-shell/assets/objective-c-Deuh7S70.js +1 -0
- package/web-shell/assets/objective-cpp-BUEGK8hf.js +1 -0
- package/web-shell/assets/ocaml-BNioltXt.js +1 -0
- package/web-shell/assets/one-dark-pro-GBQ2dnAY.js +1 -0
- package/web-shell/assets/one-light-PoHY5YXO.js +1 -0
- package/web-shell/assets/ordinal-Cboi1Yqb.js +1 -0
- package/web-shell/assets/pascal-JqZropPD.js +1 -0
- package/web-shell/assets/perl-CHQXSrWU.js +1 -0
- package/web-shell/assets/php-B5ebYQev.js +1 -0
- package/web-shell/assets/pieDiagram-4H26LBE5-BO_qoEGx.js +30 -0
- package/web-shell/assets/plastic-3e1v2bzS.js +1 -0
- package/web-shell/assets/plsql-LKU2TuZ1.js +1 -0
- package/web-shell/assets/po-BFLt1xDp.js +1 -0
- package/web-shell/assets/poimandres-CS3Unz2-.js +1 -0
- package/web-shell/assets/polar-DKykz6zU.js +1 -0
- package/web-shell/assets/postcss-B3ZDOciz.js +1 -0
- package/web-shell/assets/powerquery-CSHBycmS.js +1 -0
- package/web-shell/assets/powershell-BIEUsx6d.js +1 -0
- package/web-shell/assets/prisma-B48N-Iqd.js +1 -0
- package/web-shell/assets/prolog-BY-TUvya.js +1 -0
- package/web-shell/assets/proto-zocC4JxJ.js +1 -0
- package/web-shell/assets/pug-CM9l7STV.js +1 -0
- package/web-shell/assets/puppet-Cza_XSSt.js +1 -0
- package/web-shell/assets/purescript-Bg-kzb6g.js +1 -0
- package/web-shell/assets/python-DhUJRlN_.js +1 -0
- package/web-shell/assets/qml-D8XfuvdV.js +1 -0
- package/web-shell/assets/qmldir-C8lEn-DE.js +1 -0
- package/web-shell/assets/qss-DhMKtDLN.js +1 -0
- package/web-shell/assets/quadrantDiagram-W4KKPZXB-Cx0ZaWPo.js +7 -0
- package/web-shell/assets/r-CwjWoCRV.js +1 -0
- package/web-shell/assets/racket-CzouJOBO.js +1 -0
- package/web-shell/assets/raku-B1bQXN8T.js +1 -0
- package/web-shell/assets/razor-CNLDkMZG.js +1 -0
- package/web-shell/assets/red-bN70gL4F.js +1 -0
- package/web-shell/assets/reg-5LuOXUq_.js +1 -0
- package/web-shell/assets/regexp-DWJ3fJO_.js +1 -0
- package/web-shell/assets/rel-DJlmqQ1C.js +1 -0
- package/web-shell/assets/requirementDiagram-4Y6WPE33-BJPXejOA.js +84 -0
- package/web-shell/assets/riscv-QhoSD0DR.js +1 -0
- package/web-shell/assets/rose-pine-CmCqftbK.js +1 -0
- package/web-shell/assets/rose-pine-dawn-Ds-gbosJ.js +1 -0
- package/web-shell/assets/rose-pine-moon-CjDtw9vr.js +1 -0
- package/web-shell/assets/rst-4NLicBqY.js +1 -0
- package/web-shell/assets/ruby-DeZ3UC14.js +1 -0
- package/web-shell/assets/rust-Be6lgOlo.js +1 -0
- package/web-shell/assets/sankeyDiagram-5OEKKPKP-C1xeIL9i.js +40 -0
- package/web-shell/assets/sas-BmTFh92c.js +1 -0
- package/web-shell/assets/sass-BJ4Li9vH.js +1 -0
- package/web-shell/assets/scala-DQVVAn-B.js +1 -0
- package/web-shell/assets/scheme-BJGe-b2p.js +1 -0
- package/web-shell/assets/scss-C31hgJw-.js +1 -0
- package/web-shell/assets/sdbl-BLhTXw86.js +1 -0
- package/web-shell/assets/sequenceDiagram-3UESZ5HK-CSYKQUjf.js +162 -0
- package/web-shell/assets/shaderlab-B7qAK45m.js +1 -0
- package/web-shell/assets/shellscript-atvbtKCR.js +1 -0
- package/web-shell/assets/shellsession-C_rIy8kc.js +1 -0
- package/web-shell/assets/slack-dark-BthQWCQV.js +1 -0
- package/web-shell/assets/slack-ochin-DqwNpetd.js +1 -0
- package/web-shell/assets/smalltalk-DkLiglaE.js +1 -0
- package/web-shell/assets/snazzy-light-Bw305WKR.js +1 -0
- package/web-shell/assets/solarized-dark-DXbdFlpD.js +1 -0
- package/web-shell/assets/solarized-light-L9t79GZl.js +1 -0
- package/web-shell/assets/solidity-C1w2a3ep.js +1 -0
- package/web-shell/assets/soy-C-lX7w71.js +1 -0
- package/web-shell/assets/sparql-bYkjHRlG.js +1 -0
- package/web-shell/assets/splunk-Cf8iN4DR.js +1 -0
- package/web-shell/assets/sql-COK4E0Yg.js +1 -0
- package/web-shell/assets/ssh-config-BknIz3MU.js +1 -0
- package/web-shell/assets/stata-DorPZHa4.js +1 -0
- package/web-shell/assets/stateDiagram-AJRCARHV-d9hiHlAW.js +1 -0
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DgReoybQ.js +1 -0
- package/web-shell/assets/stylus-BeQkCIfX.js +1 -0
- package/web-shell/assets/svelte-MSaWC3Je.js +1 -0
- package/web-shell/assets/swift-BSxZ-RaX.js +1 -0
- package/web-shell/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/web-shell/assets/system-verilog-C7L56vO4.js +1 -0
- package/web-shell/assets/systemd-CUnW07Te.js +1 -0
- package/web-shell/assets/talonscript-C1XDQQGZ.js +1 -0
- package/web-shell/assets/tasl-CQjiPCtT.js +1 -0
- package/web-shell/assets/tcl-DQ1-QYvQ.js +1 -0
- package/web-shell/assets/templ-dwX3ZSMB.js +1 -0
- package/web-shell/assets/terraform-BbSNqyBO.js +1 -0
- package/web-shell/assets/tex-rYs2v40G.js +1 -0
- package/web-shell/assets/timeline-definition-PNZ67QCA-BhCBkq8k.js +120 -0
- package/web-shell/assets/tokyo-night-DBQeEorK.js +1 -0
- package/web-shell/assets/toml-CB2ApiWb.js +1 -0
- package/web-shell/assets/ts-tags-CipyTH0X.js +1 -0
- package/web-shell/assets/tsv-B_m7g4N7.js +1 -0
- package/web-shell/assets/tsx-B6W0miNI.js +1 -0
- package/web-shell/assets/turtle-BMR_PYu6.js +1 -0
- package/web-shell/assets/twig-NC5TFiHP.js +1 -0
- package/web-shell/assets/typescript-Dj6nwHGl.js +1 -0
- package/web-shell/assets/typespec-BpWG_bgh.js +1 -0
- package/web-shell/assets/typst-BVUVsWT6.js +1 -0
- package/web-shell/assets/v-CAQ2eGtk.js +1 -0
- package/web-shell/assets/vala-BFOHcciG.js +1 -0
- package/web-shell/assets/vb-CdO5JTpU.js +1 -0
- package/web-shell/assets/vennDiagram-CIIHVFJN-DPPFWp_y.js +34 -0
- package/web-shell/assets/verilog-CJaU5se_.js +1 -0
- package/web-shell/assets/vesper-BEBZ7ncR.js +1 -0
- package/web-shell/assets/vhdl-DYoNaHQp.js +1 -0
- package/web-shell/assets/viml-m4uW47V2.js +1 -0
- package/web-shell/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/web-shell/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/web-shell/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/web-shell/assets/vue-BuYVFjOK.js +1 -0
- package/web-shell/assets/vue-html-xdeiXROB.js +1 -0
- package/web-shell/assets/vyper-nyqBNV6O.js +1 -0
- package/web-shell/assets/wardley-L42UT6IY-CcOUIgXY.js +173 -0
- package/web-shell/assets/wardleyDiagram-YWT4CUSO-p7oR5X7r.js +78 -0
- package/web-shell/assets/wasm-C6j12Q_x.js +1 -0
- package/web-shell/assets/wasm-CG6Dc4jp.js +1 -0
- package/web-shell/assets/wenyan-7A4Fjokl.js +1 -0
- package/web-shell/assets/wgsl-CB0Krxn9.js +1 -0
- package/web-shell/assets/wikitext-DCE3LsBG.js +1 -0
- package/web-shell/assets/wolfram-C3FkfJm5.js +1 -0
- package/web-shell/assets/xml-e3z08dGr.js +1 -0
- package/web-shell/assets/xsl-Dd0NUgwM.js +1 -0
- package/web-shell/assets/xychartDiagram-2RQKCTM6-Dfr7-SEy.js +7 -0
- package/web-shell/assets/yaml-CVw76BM1.js +1 -0
- package/web-shell/assets/zenscript-HnGAYVZD.js +1 -0
- package/web-shell/assets/zig-BVz_zdnA.js +1 -0
- package/web-shell/index.html +23 -0
- package/chunks/chunk-C64WAJOC.js +0 -117
- package/chunks/contextCommand-Y4PRJOJM.js +0 -53
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
9
9
|
|
|
10
|
-
**
|
|
10
|
+
**The open-source AI coding agent that lives in your terminal.**
|
|
11
11
|
|
|
12
12
|
<a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> |
|
|
13
13
|
<a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> |
|
|
@@ -18,471 +18,75 @@
|
|
|
18
18
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
## 🎉 News
|
|
22
|
-
|
|
23
|
-
- **2026-04-15**: Qwen OAuth free tier has been discontinued. To continue using Qwen Code, switch to [Alibaba Cloud Coding Plan](https://modelstudio.console.alibabacloud.com/?tab=coding-plan#/efm/coding-plan-index), [OpenRouter](https://openrouter.ai), [Fireworks AI](https://app.fireworks.ai), or bring your own API key. Run `qwen auth` to configure.
|
|
24
|
-
|
|
25
|
-
- **2026-04-13**: Qwen OAuth free tier policy update: daily quota adjusted to 100 requests/day (from 1,000).
|
|
26
|
-
|
|
27
|
-
- **2026-04-02**: Qwen3.6-Plus is now live! Get an API key from [Alibaba Cloud ModelStudio](https://modelstudio.console.alibabacloud.com/ap-southeast-1?tab=doc#/doc/?type=model&url=2840914_2&modelId=qwen3.6-plus) to access it through the OpenAI-compatible API.
|
|
28
|
-
|
|
29
|
-
- **2026-02-16**: Qwen3.5-Plus is now live!
|
|
30
|
-
|
|
31
21
|
## Why Qwen Code?
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- **Multi-protocol
|
|
36
|
-
- **
|
|
37
|
-
- **Agentic workflow, feature-rich**: rich built-in tools (Skills, SubAgents) for a full agentic workflow and a Claude Code-like experience.
|
|
38
|
-
- **Terminal-first, IDE-friendly**: built for developers who live in the command line, with optional integration for VS Code, Zed, and JetBrains IDEs.
|
|
23
|
+
- **Agentic out of the box** — Auto-Memory, Auto-Skills, SubAgents, Agent Teams, and MCP. Dynamic workflows, zero setup.
|
|
24
|
+
- **Open-source, inside and out** — The framework and the Qwen models are open-source. They evolve together. No vendor lock-in.
|
|
25
|
+
- **Multi-protocol** — Supports OpenAI, Anthropic, Gemini, and Qwen APIs. Any third-party provider or local model (Ollama / vLLM). Switch at runtime.
|
|
26
|
+
- **Beyond the terminal** — IDE plugins, Desktop app, daemon mode, SDKs, and IM bots (Telegram / DingTalk / WeChat / Feishu).
|
|
39
27
|
|
|
40
|
-
!
|
|
28
|
+
> [!TIP]
|
|
29
|
+
> Qwen Code is actively iterating on itself — using its own agent and models to file issues, submit PRs, review code, and run tests. Powered by the community, driven by AI.
|
|
41
30
|
|
|
42
31
|
## Installation
|
|
43
32
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
#### Linux / macOS
|
|
33
|
+
**Linux / macOS:**
|
|
47
34
|
|
|
48
35
|
```bash
|
|
49
36
|
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
|
|
50
37
|
```
|
|
51
38
|
|
|
52
|
-
|
|
39
|
+
**Windows:**
|
|
53
40
|
|
|
54
41
|
```powershell
|
|
55
42
|
irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex
|
|
56
43
|
```
|
|
57
44
|
|
|
58
|
-
>
|
|
59
|
-
|
|
60
|
-
### Manual Installation
|
|
45
|
+
> Restart your terminal after installation to ensure environment variables take effect.
|
|
61
46
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Make sure you have Node.js 22 or later installed. Download it from [nodejs.org](https://nodejs.org/en/download).
|
|
47
|
+
<details>
|
|
48
|
+
<summary>NPM / Homebrew</summary>
|
|
65
49
|
|
|
66
|
-
|
|
50
|
+
**NPM** (requires [Node.js 22+](https://nodejs.org/)):
|
|
67
51
|
|
|
68
52
|
```bash
|
|
69
53
|
npm install -g @qwen-code/qwen-code@latest
|
|
70
54
|
```
|
|
71
55
|
|
|
72
|
-
|
|
56
|
+
**Homebrew** (macOS / Linux):
|
|
73
57
|
|
|
74
58
|
```bash
|
|
75
59
|
brew install qwen-code
|
|
76
60
|
```
|
|
77
61
|
|
|
78
|
-
## Quick Start
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
# Start Qwen Code (interactive)
|
|
82
|
-
qwen
|
|
83
|
-
|
|
84
|
-
# Then, in the session:
|
|
85
|
-
/help
|
|
86
|
-
/auth
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
On first use, you'll be prompted to sign in. You can run `/auth` anytime to switch authentication methods.
|
|
90
|
-
|
|
91
|
-
Example prompts:
|
|
92
|
-
|
|
93
|
-
```text
|
|
94
|
-
What does this project do?
|
|
95
|
-
Explain the codebase structure.
|
|
96
|
-
Help me refactor this function.
|
|
97
|
-
Generate unit tests for this module.
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
<details>
|
|
101
|
-
<summary>Click to watch a demo video</summary>
|
|
102
|
-
|
|
103
|
-
<video src="https://cloud.video.taobao.com/vod/HLfyppnCHplRV9Qhz2xSqeazHeRzYtG-EYJnHAqtzkQ.mp4" controls>
|
|
104
|
-
Your browser does not support the video tag.
|
|
105
|
-
</video>
|
|
106
|
-
|
|
107
62
|
</details>
|
|
108
63
|
|
|
109
|
-
##
|
|
110
|
-
|
|
111
|
-
Copy the prompt below and paste it into your agent:
|
|
112
|
-
|
|
113
|
-
```
|
|
114
|
-
Use Qwen Code as a coding agent. First, fetch and read this skill reference:
|
|
115
|
-
https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.md
|
|
116
|
-
Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## Authentication
|
|
120
|
-
|
|
121
|
-
Qwen Code supports the following authentication methods:
|
|
122
|
-
|
|
123
|
-
- **API Key (recommended)**: use an API key from Alibaba Cloud Model Studio ([Beijing](https://bailian.console.aliyun.com/) / [intl](https://modelstudio.console.alibabacloud.com/)) or any supported provider (OpenAI, Anthropic, Google GenAI, and other compatible endpoints).
|
|
124
|
-
- **Coding Plan**: subscribe to the Alibaba Cloud Coding Plan ([Beijing](https://bailian.console.aliyun.com/cn-beijing?tab=coding-plan#/efm/coding-plan-index) / [intl](https://modelstudio.console.alibabacloud.com/?tab=coding-plan#/efm/coding-plan-index)) for a fixed monthly fee with higher quotas.
|
|
125
|
-
|
|
126
|
-
> ⚠️ **Qwen OAuth was discontinued on April 15, 2026.** If you were previously using Qwen OAuth, please switch to one of the methods above. Run `qwen` and then `/auth` to reconfigure.
|
|
127
|
-
|
|
128
|
-
#### API Key (recommended)
|
|
129
|
-
|
|
130
|
-
Use an API key to connect to Alibaba Cloud Model Studio or any supported provider. Supports multiple protocols:
|
|
131
|
-
|
|
132
|
-
- **OpenAI-compatible**: Alibaba Cloud ModelStudio, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
|
|
133
|
-
- **Anthropic**: Claude models
|
|
134
|
-
- **Google GenAI**: Gemini models
|
|
135
|
-
|
|
136
|
-
The **recommended** way to configure models and providers is by editing `~/.qwen/settings.json` (create it if it doesn't exist). This file lets you define all available models, API keys, and default settings in one place.
|
|
137
|
-
|
|
138
|
-
##### Quick Setup in 3 Steps
|
|
139
|
-
|
|
140
|
-
**Step 1:** Create or edit `~/.qwen/settings.json`
|
|
141
|
-
|
|
142
|
-
Here is a complete example:
|
|
143
|
-
|
|
144
|
-
```json
|
|
145
|
-
{
|
|
146
|
-
"modelProviders": {
|
|
147
|
-
"openai": [
|
|
148
|
-
{
|
|
149
|
-
"id": "qwen3.6-plus",
|
|
150
|
-
"name": "qwen3.6-plus",
|
|
151
|
-
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
152
|
-
"description": "Qwen3-Coder via Dashscope",
|
|
153
|
-
"envKey": "DASHSCOPE_API_KEY"
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
|
-
"env": {
|
|
158
|
-
"DASHSCOPE_API_KEY": "sk-xxxxxxxxxxxxx"
|
|
159
|
-
},
|
|
160
|
-
"security": {
|
|
161
|
-
"auth": {
|
|
162
|
-
"selectedType": "openai"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"model": {
|
|
166
|
-
"name": "qwen3.6-plus"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
**Step 2:** Understand each field
|
|
172
|
-
|
|
173
|
-
| Field | What it does |
|
|
174
|
-
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
175
|
-
| `modelProviders` | Declares which models are available and how to connect to them. Keys like `openai`, `anthropic`, `gemini` represent the API protocol. |
|
|
176
|
-
| `modelProviders[].id` | The model ID sent to the API (e.g. `qwen3.6-plus`, `gpt-4o`). |
|
|
177
|
-
| `modelProviders[].envKey` | The name of the environment variable that holds your API key. |
|
|
178
|
-
| `modelProviders[].baseUrl` | The API endpoint URL (required for non-default endpoints). |
|
|
179
|
-
| `env` | A fallback place to store API keys (lowest priority; prefer `.env` files or `export` for sensitive keys). |
|
|
180
|
-
| `security.auth.selectedType` | The protocol to use on startup (`openai`, `anthropic`, `gemini`, `vertex-ai`). |
|
|
181
|
-
| `model.name` | The default model to use when Qwen Code starts. |
|
|
182
|
-
|
|
183
|
-
**Step 3:** Start Qwen Code — your configuration takes effect automatically:
|
|
64
|
+
## Quick Start
|
|
184
65
|
|
|
185
66
|
```bash
|
|
186
|
-
qwen
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
Use the `/model` command at any time to switch between all configured models.
|
|
190
|
-
|
|
191
|
-
##### More Examples
|
|
192
|
-
|
|
193
|
-
<details>
|
|
194
|
-
<summary>Coding Plan (Alibaba Cloud ModelStudio) — fixed monthly fee, higher quotas</summary>
|
|
195
|
-
|
|
196
|
-
```json
|
|
197
|
-
{
|
|
198
|
-
"modelProviders": {
|
|
199
|
-
"openai": [
|
|
200
|
-
{
|
|
201
|
-
"id": "qwen3.6-plus",
|
|
202
|
-
"name": "qwen3.6-plus (Coding Plan)",
|
|
203
|
-
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
|
204
|
-
"description": "qwen3.6-plus from ModelStudio Coding Plan",
|
|
205
|
-
"envKey": "BAILIAN_CODING_PLAN_API_KEY"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"id": "qwen3.5-plus",
|
|
209
|
-
"name": "qwen3.5-plus (Coding Plan)",
|
|
210
|
-
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
|
211
|
-
"description": "qwen3.5-plus with thinking enabled from ModelStudio Coding Plan",
|
|
212
|
-
"envKey": "BAILIAN_CODING_PLAN_API_KEY",
|
|
213
|
-
"generationConfig": {
|
|
214
|
-
"extra_body": {
|
|
215
|
-
"enable_thinking": true
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"id": "glm-4.7",
|
|
221
|
-
"name": "glm-4.7 (Coding Plan)",
|
|
222
|
-
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
|
223
|
-
"description": "glm-4.7 with thinking enabled from ModelStudio Coding Plan",
|
|
224
|
-
"envKey": "BAILIAN_CODING_PLAN_API_KEY",
|
|
225
|
-
"generationConfig": {
|
|
226
|
-
"extra_body": {
|
|
227
|
-
"enable_thinking": true
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"id": "kimi-k2.5",
|
|
233
|
-
"name": "kimi-k2.5 (Coding Plan)",
|
|
234
|
-
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
|
235
|
-
"description": "kimi-k2.5 with thinking enabled from ModelStudio Coding Plan",
|
|
236
|
-
"envKey": "BAILIAN_CODING_PLAN_API_KEY",
|
|
237
|
-
"generationConfig": {
|
|
238
|
-
"extra_body": {
|
|
239
|
-
"enable_thinking": true
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
},
|
|
245
|
-
"env": {
|
|
246
|
-
"BAILIAN_CODING_PLAN_API_KEY": "sk-xxxxxxxxxxxxx"
|
|
247
|
-
},
|
|
248
|
-
"security": {
|
|
249
|
-
"auth": {
|
|
250
|
-
"selectedType": "openai"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"model": {
|
|
254
|
-
"name": "qwen3.6-plus"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
> Subscribe to the Coding Plan and get your API key at [Alibaba Cloud ModelStudio (Beijing)](https://bailian.console.aliyun.com/cn-beijing?tab=coding-plan#/efm/coding-plan-index) or [Alibaba Cloud ModelStudio (intl)](https://modelstudio.console.alibabacloud.com/?tab=coding-plan#/efm/coding-plan-index).
|
|
260
|
-
|
|
261
|
-
</details>
|
|
262
|
-
|
|
263
|
-
<details>
|
|
264
|
-
<summary>Multiple providers (OpenAI + Anthropic + Gemini)</summary>
|
|
265
|
-
|
|
266
|
-
```json
|
|
267
|
-
{
|
|
268
|
-
"modelProviders": {
|
|
269
|
-
"openai": [
|
|
270
|
-
{
|
|
271
|
-
"id": "gpt-4o",
|
|
272
|
-
"name": "GPT-4o",
|
|
273
|
-
"envKey": "OPENAI_API_KEY",
|
|
274
|
-
"baseUrl": "https://api.openai.com/v1"
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"anthropic": [
|
|
278
|
-
{
|
|
279
|
-
"id": "claude-sonnet-4-20250514",
|
|
280
|
-
"name": "Claude Sonnet 4",
|
|
281
|
-
"envKey": "ANTHROPIC_API_KEY"
|
|
282
|
-
}
|
|
283
|
-
],
|
|
284
|
-
"gemini": [
|
|
285
|
-
{
|
|
286
|
-
"id": "gemini-2.5-pro",
|
|
287
|
-
"name": "Gemini 2.5 Pro",
|
|
288
|
-
"envKey": "GEMINI_API_KEY"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
},
|
|
292
|
-
"env": {
|
|
293
|
-
"OPENAI_API_KEY": "sk-xxxxxxxxxxxxx",
|
|
294
|
-
"ANTHROPIC_API_KEY": "sk-ant-xxxxxxxxxxxxx",
|
|
295
|
-
"GEMINI_API_KEY": "AIzaxxxxxxxxxxxxx"
|
|
296
|
-
},
|
|
297
|
-
"security": {
|
|
298
|
-
"auth": {
|
|
299
|
-
"selectedType": "openai"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"model": {
|
|
303
|
-
"name": "gpt-4o"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
</details>
|
|
309
|
-
|
|
310
|
-
<details>
|
|
311
|
-
<summary>Enable thinking mode (for supported models like qwen3.5-plus)</summary>
|
|
312
|
-
|
|
313
|
-
```json
|
|
314
|
-
{
|
|
315
|
-
"modelProviders": {
|
|
316
|
-
"openai": [
|
|
317
|
-
{
|
|
318
|
-
"id": "qwen3.5-plus",
|
|
319
|
-
"name": "qwen3.5-plus (thinking)",
|
|
320
|
-
"envKey": "DASHSCOPE_API_KEY",
|
|
321
|
-
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
322
|
-
"generationConfig": {
|
|
323
|
-
"extra_body": {
|
|
324
|
-
"enable_thinking": true
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
|
-
},
|
|
330
|
-
"env": {
|
|
331
|
-
"DASHSCOPE_API_KEY": "sk-xxxxxxxxxxxxx"
|
|
332
|
-
},
|
|
333
|
-
"security": {
|
|
334
|
-
"auth": {
|
|
335
|
-
"selectedType": "openai"
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
"model": {
|
|
339
|
-
"name": "qwen3.5-plus"
|
|
340
|
-
}
|
|
341
|
-
}
|
|
67
|
+
qwen # Launch interactive terminal UI
|
|
68
|
+
# Inside the session:
|
|
69
|
+
/auth # Configure your provider and API key
|
|
342
70
|
```
|
|
343
71
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
> **Tip:** You can also set API keys via `export` in your shell or `.env` files, which take higher priority than `settings.json` → `env`. See the [authentication guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) for full details.
|
|
72
|
+
See the [Authentication Guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) and [Settings Reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for detailed setup.
|
|
347
73
|
|
|
348
|
-
|
|
74
|
+

|
|
349
75
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
You can also run models locally — no API key or cloud account needed. This is not an authentication method; instead, configure your local model endpoint in `~/.qwen/settings.json` using the `modelProviders` field.
|
|
353
|
-
|
|
354
|
-
Set `generationConfig.contextWindowSize` inside the matching provider entry
|
|
355
|
-
and adjust it to the context length configured on your local server.
|
|
356
|
-
|
|
357
|
-
<details>
|
|
358
|
-
<summary>Ollama setup</summary>
|
|
359
|
-
|
|
360
|
-
1. Install Ollama from [ollama.com](https://ollama.com/)
|
|
361
|
-
2. Pull a model: `ollama pull qwen3:32b`
|
|
362
|
-
3. Configure `~/.qwen/settings.json`:
|
|
363
|
-
|
|
364
|
-
```json
|
|
365
|
-
{
|
|
366
|
-
"modelProviders": {
|
|
367
|
-
"openai": [
|
|
368
|
-
{
|
|
369
|
-
"id": "qwen3:32b",
|
|
370
|
-
"name": "Qwen3 32B (Ollama)",
|
|
371
|
-
"baseUrl": "http://localhost:11434/v1",
|
|
372
|
-
"description": "Qwen3 32B running locally via Ollama",
|
|
373
|
-
"generationConfig": {
|
|
374
|
-
"contextWindowSize": 131072
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
]
|
|
378
|
-
},
|
|
379
|
-
"security": {
|
|
380
|
-
"auth": {
|
|
381
|
-
"selectedType": "openai"
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"model": {
|
|
385
|
-
"name": "qwen3:32b"
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
```
|
|
76
|
+
## How to Use Qwen Code
|
|
389
77
|
|
|
390
|
-
|
|
78
|
+
| Mode | Command | Use Case |
|
|
79
|
+
| --------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
80
|
+
| **Interactive** | `qwen` | Terminal UI with rich rendering, `@file` references, slash commands |
|
|
81
|
+
| **Headless** | `qwen -p "..."` | Scripts, CI/CD, batch processing — no UI |
|
|
82
|
+
| **IDE** | — | [VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/), [Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/), [JetBrains](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/) |
|
|
83
|
+
| **Desktop** | — | [Qwen Code Desktop](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — GUI for macOS, Windows, Linux |
|
|
84
|
+
| **Daemon** | `qwen serve` | Shared agent session over HTTP+SSE (ACP). Multiple clients, one agent. _(experimental)_ [Docs](https://qwenlm.github.io/qwen-code-docs/en/users/qwen-serve) |
|
|
85
|
+
| **SDK** | — | [TypeScript](./packages/sdk-typescript/README.md), [Python](./packages/sdk-python/README.md), [Java](./packages/sdk-java/qwencode/README.md) |
|
|
86
|
+
| **IM Bot** | `qwen channel` | Connect to Telegram, DingTalk, WeChat, or Feishu |
|
|
391
87
|
|
|
392
88
|
<details>
|
|
393
|
-
<summary>
|
|
394
|
-
|
|
395
|
-
1. Install vLLM: `pip install vllm`
|
|
396
|
-
2. Start the server: `vllm serve Qwen/Qwen3-32B`
|
|
397
|
-
3. Configure `~/.qwen/settings.json`:
|
|
398
|
-
|
|
399
|
-
```json
|
|
400
|
-
{
|
|
401
|
-
"modelProviders": {
|
|
402
|
-
"openai": [
|
|
403
|
-
{
|
|
404
|
-
"id": "Qwen/Qwen3-32B",
|
|
405
|
-
"name": "Qwen3 32B (vLLM)",
|
|
406
|
-
"baseUrl": "http://localhost:8000/v1",
|
|
407
|
-
"description": "Qwen3 32B running locally via vLLM",
|
|
408
|
-
"generationConfig": {
|
|
409
|
-
"contextWindowSize": 131072
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
]
|
|
413
|
-
},
|
|
414
|
-
"security": {
|
|
415
|
-
"auth": {
|
|
416
|
-
"selectedType": "openai"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
"model": {
|
|
420
|
-
"name": "Qwen/Qwen3-32B"
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
</details>
|
|
426
|
-
|
|
427
|
-
## Usage
|
|
428
|
-
|
|
429
|
-
As an open-source terminal agent, you can use Qwen Code in five primary ways:
|
|
430
|
-
|
|
431
|
-
1. Interactive mode (terminal UI)
|
|
432
|
-
2. Headless mode (scripts, CI)
|
|
433
|
-
3. IDE integration (VS Code, Zed)
|
|
434
|
-
4. SDKs (TypeScript, Python, Java)
|
|
435
|
-
5. Daemon mode — `qwen serve` exposes ACP over HTTP+SSE so multiple clients share one agent (experimental)
|
|
436
|
-
|
|
437
|
-
#### Interactive mode
|
|
438
|
-
|
|
439
|
-
```bash
|
|
440
|
-
cd your-project/
|
|
441
|
-
qwen
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
Run `qwen` in your project folder to launch the interactive terminal UI. Use `@` to reference local files (for example `@src/main.ts`).
|
|
445
|
-
|
|
446
|
-
#### Headless mode
|
|
447
|
-
|
|
448
|
-
```bash
|
|
449
|
-
cd your-project/
|
|
450
|
-
qwen -p "your question"
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
Use `-p` to run Qwen Code without the interactive UI—ideal for scripts, automation, and CI/CD. Learn more: [Headless mode](https://qwenlm.github.io/qwen-code-docs/en/users/features/headless).
|
|
454
|
-
|
|
455
|
-
#### IDE integration
|
|
456
|
-
|
|
457
|
-
Use Qwen Code inside your editor (VS Code, Zed, and JetBrains IDEs):
|
|
458
|
-
|
|
459
|
-
- [Use in VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/)
|
|
460
|
-
- [Use in Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/)
|
|
461
|
-
- [Use in JetBrains IDEs](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/)
|
|
462
|
-
|
|
463
|
-
#### Daemon mode (`qwen serve`, experimental)
|
|
464
|
-
|
|
465
|
-
```bash
|
|
466
|
-
cd your-project/
|
|
467
|
-
qwen serve
|
|
468
|
-
# → qwen serve listening on http://127.0.0.1:4170 (mode=http-bridge)
|
|
469
|
-
```
|
|
470
|
-
|
|
471
|
-
Run Qwen Code as a local HTTP daemon so IDE plugins, web UIs, CI scripts and custom CLIs all share **one** agent session over HTTP+SSE — instead of each spawning their own subprocess. Loopback bind has no auth by default (set `QWEN_SERVER_TOKEN` to enable bearer auth even on loopback); remote binds (`--hostname 0.0.0.0`) **require** a token — boot refuses without one. See:
|
|
472
|
-
|
|
473
|
-
- [Daemon mode user guide](https://qwenlm.github.io/qwen-code-docs/en/users/qwen-serve)
|
|
474
|
-
- [HTTP protocol reference](https://qwenlm.github.io/qwen-code-docs/en/developers/qwen-serve-protocol)
|
|
475
|
-
- [DaemonClient TypeScript quickstart](https://qwenlm.github.io/qwen-code-docs/en/developers/examples/daemon-client-quickstart)
|
|
476
|
-
|
|
477
|
-
#### SDKs
|
|
478
|
-
|
|
479
|
-
Build on top of Qwen Code with the available SDKs:
|
|
480
|
-
|
|
481
|
-
- TypeScript: [Use the Qwen Code SDK](./packages/sdk-typescript/README.md)
|
|
482
|
-
- Python: [Use the Python SDK](./packages/sdk-python/README.md)
|
|
483
|
-
- Java: [Use the Java SDK](./packages/sdk-java/qwencode/README.md)
|
|
484
|
-
|
|
485
|
-
Python SDK example:
|
|
89
|
+
<summary>SDK example (Python)</summary>
|
|
486
90
|
|
|
487
91
|
```python
|
|
488
92
|
import asyncio
|
|
@@ -507,79 +111,47 @@ async def main() -> None:
|
|
|
507
111
|
asyncio.run(main())
|
|
508
112
|
```
|
|
509
113
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
### Session Commands
|
|
513
|
-
|
|
514
|
-
- `/help` - Display available commands
|
|
515
|
-
- `/clear` - Clear conversation history
|
|
516
|
-
- `/compress` - Compress history to save tokens
|
|
517
|
-
- `/stats` - Show current session information
|
|
518
|
-
- `/bug` - Submit a bug report
|
|
519
|
-
- `/exit` or `/quit` - Exit Qwen Code
|
|
520
|
-
|
|
521
|
-
### Keyboard Shortcuts
|
|
522
|
-
|
|
523
|
-
- `Ctrl+C` - Cancel current operation
|
|
524
|
-
- `Ctrl+D` - Exit (on empty line)
|
|
525
|
-
- `Up/Down` - Navigate command history
|
|
526
|
-
|
|
527
|
-
> Learn more about [Commands](https://qwenlm.github.io/qwen-code-docs/en/users/features/commands/)
|
|
528
|
-
>
|
|
529
|
-
> **Tip**: In YOLO mode (`--yolo`), vision switching happens automatically without prompts when images are detected. Learn more about [Approval Mode](https://qwenlm.github.io/qwen-code-docs/en/users/features/approval-mode/)
|
|
530
|
-
|
|
531
|
-
## Configuration
|
|
532
|
-
|
|
533
|
-
Qwen Code can be configured via `settings.json`, environment variables, and CLI flags.
|
|
534
|
-
|
|
535
|
-
| File | Scope | Description |
|
|
536
|
-
| ----------------------- | ------------- | --------------------------------------------------------------------------------------- |
|
|
537
|
-
| `~/.qwen/settings.json` | User (global) | Applies to all your Qwen Code sessions. **Recommended for `modelProviders` and `env`.** |
|
|
538
|
-
| `.qwen/settings.json` | Project | Applies only when running Qwen Code in this project. Overrides user settings. |
|
|
539
|
-
|
|
540
|
-
The most commonly used top-level fields in `settings.json`:
|
|
541
|
-
|
|
542
|
-
| Field | Description |
|
|
543
|
-
| ---------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
544
|
-
| `modelProviders` | Define available models per protocol (`openai`, `anthropic`, `gemini`, `vertex-ai`). |
|
|
545
|
-
| `env` | Fallback environment variables (e.g. API keys). Lower priority than shell `export` and `.env` files. |
|
|
546
|
-
| `security.auth.selectedType` | The protocol to use on startup (e.g. `openai`). |
|
|
547
|
-
| `model.name` | The default model to use when Qwen Code starts. |
|
|
548
|
-
|
|
549
|
-
> See the [Authentication](#api-key-flexible) section above for complete `settings.json` examples, and the [settings reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for all available options.
|
|
550
|
-
|
|
551
|
-
## Benchmark Results
|
|
552
|
-
|
|
553
|
-
### Terminal-Bench Performance
|
|
114
|
+
</details>
|
|
554
115
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
116
|
+
## Capabilities
|
|
117
|
+
|
|
118
|
+
If you know Claude Code, you already know Qwen Code — and then some. We've put significant effort into [bringing Qwen Code to feature parity with Claude Code](https://github.com/wenshao/codeagents/blob/main/docs/comparison/qwen-code-improvement-report.md), improving both breadth and reliability across the board.
|
|
119
|
+
|
|
120
|
+
| Feature | Qwen Code | Claude Code |
|
|
121
|
+
| ------------------------------------------------------------------ | :-------: | :---------: |
|
|
122
|
+
| SubAgents, Agent Teams, Dynamic Workflows | ✓ | ✓ |
|
|
123
|
+
| Auto-Memory, Auto-Skills, Hooks | ✓ | ✓ |
|
|
124
|
+
| Built-in Skills (/review, /batch, /loop, /bugfix…) | ✓ | ✓ |
|
|
125
|
+
| MCP, Plan Mode, LSP Integration | ✓ | ✓ |
|
|
126
|
+
| Auto Mode, Sandbox, Git Worktrees | ✓ | ✓ |
|
|
127
|
+
| Computer Use (desktop automation) | ✓ | ✓ |
|
|
128
|
+
| IDE Plugins (VS Code / JetBrains / Zed) | ✓ | ✓ |
|
|
129
|
+
| SDK | ✓ | ✓ |
|
|
130
|
+
| Headless Mode, Session Management | ✓ | ✓ |
|
|
131
|
+
| Open-source — model and framework | ✓ | — |
|
|
132
|
+
| Multi-protocol (OpenAI / Anthropic / Gemini / Qwen + any provider) | ✓ | — |
|
|
133
|
+
| Agent Arena (multi-model head-to-head on same task) | ✓ | — |
|
|
134
|
+
| Daemon Mode — `qwen serve` (multi-client shared agent) | ✓ | — |
|
|
135
|
+
| IM Channels (Telegram / DingTalk / WeChat / Feishu) | ✓ | — |
|
|
559
136
|
|
|
560
137
|
## Ecosystem
|
|
561
138
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
- [**
|
|
565
|
-
- [**AionUi**](https://github.com/iOfficeAI/AionUi) A modern GUI for command-line AI tools including Qwen Code
|
|
566
|
-
- [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) A cross-platform desktop/web/mobile UI for Qwen Code
|
|
567
|
-
|
|
568
|
-
## Troubleshooting
|
|
139
|
+
- [**Qwen Code Desktop**](https://github.com/QwenLM/qwen-code/releases/tag/desktop-latest) — Official desktop app for macOS, Windows, and Linux
|
|
140
|
+
- [**AionUi**](https://github.com/iOfficeAI/AionUi) — A modern GUI for command-line AI tools including Qwen Code
|
|
141
|
+
- [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) — A cross-platform desktop/web/mobile UI for Qwen Code
|
|
569
142
|
|
|
570
|
-
|
|
143
|
+
- [**🦞 Qwen Code Claw**](https://github.com/openclaw/acpx) — Let other agents (Claude, Codex, etc.) delegate coding tasks to Qwen Code via ACP. Paste this prompt into your agent:
|
|
571
144
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
-
|
|
575
|
-
|
|
576
|
-
|
|
145
|
+
```text
|
|
146
|
+
Use Qwen Code as a coding agent. First, fetch and read this skill reference:
|
|
147
|
+
https://raw.githubusercontent.com/QwenLM/qwen-code/refs/heads/main/.qwen/skills/qwen-code-claw/SKILL.md
|
|
148
|
+
Then follow the instructions inside to install, authenticate, and use Qwen Code via acpx for all coding tasks.
|
|
149
|
+
```
|
|
577
150
|
|
|
578
|
-
##
|
|
151
|
+
## Contributing
|
|
579
152
|
|
|
580
|
-
|
|
581
|
-
- Dingtalk: https://qr.dingtalk.com/action/joingroup?code=v1,k1,+FX6Gf/ZDlTahTIRi8AEQhIaBlqykA0j+eBKKdhLeAE=&_dt_no_comment=1&origin=1
|
|
153
|
+
Contributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
|
|
582
154
|
|
|
583
155
|
## Acknowledgments
|
|
584
156
|
|
|
585
|
-
This project
|
|
157
|
+
This project was originally based on [Google Gemini CLI](https://github.com/google-gemini/gemini-cli) v0.8.2. We gratefully acknowledge the Gemini CLI team's excellent work. Starting from Qwen Code v0.1, we stopped syncing with upstream and began independent development as a multi-protocol, multi-platform agent framework with deep integrations for Qwen models and beyond.
|