@qwen-code/qwen-code 0.19.6 → 0.19.7-nightly.20260708.394c1a289
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 +33 -1
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +41 -31
- package/bundled/qc-helper/docs/features/channels/wecom.md +111 -0
- package/bundled/qc-helper/docs/features/code-review.md +16 -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 +50 -18
- package/bundled/review/SKILL.md +102 -12
- package/chunks/{MaxSizedBox-SK7CUWZQ.js → MaxSizedBox-XS37LWTD.js} +31 -29
- package/chunks/{StandaloneSessionPicker-G44HGSAP.js → StandaloneSessionPicker-LPALJTKN.js} +44 -41
- package/chunks/{acpAgent-PKCTYWJV.js → acpAgent-4VE3FGJX.js} +769 -366
- package/chunks/{agent-IYMHUXWB.js → agent-CCHERW6L.js} +24 -24
- package/chunks/{agent-headless-L2DAW6I5.js → agent-headless-55N6UBUU.js} +24 -24
- package/chunks/{anthropicContentGenerator-H5ZOEENQ.js → anthropicContentGenerator-AKYPSZIV.js} +7 -7
- package/chunks/{artifact-tool-SLYPWG3C.js → artifact-tool-D233YJFH.js} +27 -8
- package/chunks/{askUserQuestion-OKPTECON.js → askUserQuestion-MKL5ZTMC.js} +2 -2
- package/chunks/{bridge-DF3IJQ5V.js → bridge-U6HXOHE7.js} +34 -32
- package/chunks/{channel-worker-supervisor-JUYQ5Z4R.js → channel-worker-supervisor-CRCVYQIE.js} +1 -1
- package/chunks/{chunk-AVQDCKNF.js → chunk-22MNNNXE.js} +4 -0
- package/chunks/chunk-2DYY5XUZ.js +8223 -0
- package/chunks/chunk-2FHWCKWA.js +262 -0
- package/chunks/{chunk-6BEOH4KK.js → chunk-2NPS2UDH.js} +767 -122
- package/chunks/{chunk-N2IJLN2L.js → chunk-2SWMCXVR.js} +13 -5
- package/chunks/{chunk-OBVBTAX5.js → chunk-2YELHTUE.js} +2 -2
- package/chunks/chunk-332PWN27.js +19 -0
- package/chunks/{chunk-CLQPBI4H.js → chunk-3B26UVCX.js} +132 -26
- package/chunks/{chunk-HCFSKO6K.js → chunk-3QDZDAJG.js} +1 -1
- package/chunks/{chunk-G7OQ3RFJ.js → chunk-42XGFRJS.js} +3 -3
- package/chunks/{chunk-SL2P3JUA.js → chunk-43W4YSO6.js} +1 -12
- package/chunks/{chunk-JA5KWZTJ.js → chunk-44NROQYV.js} +5 -3
- package/chunks/{chunk-BOAWGUY6.js → chunk-4AFOWB47.js} +121 -49
- package/chunks/{chunk-MOUXUCXQ.js → chunk-4KJ2BPIT.js} +1 -1
- package/chunks/{chunk-YTWX5TT2.js → chunk-5FL2K3ZB.js} +1 -1
- package/chunks/{chunk-UNXGEDX2.js → chunk-5OSSOBZC.js} +133 -25
- package/chunks/{chunk-JN2VJ33O.js → chunk-7I4MGFBN.js} +966 -121
- package/chunks/{chunk-T42ACHFI.js → chunk-7LTB54MK.js} +1 -1
- package/chunks/chunk-A2X3KLC3.js +3807 -0
- package/chunks/{chunk-EWALXUAD.js → chunk-AGHU5VRK.js} +8 -0
- package/chunks/{chunk-GLPV75ES.js → chunk-AHNJGLFV.js} +2 -2
- package/chunks/{chunk-IUSKVKH5.js → chunk-AXTPFMRS.js} +1 -1
- package/chunks/{chunk-T22H4V4R.js → chunk-B34OV7K2.js} +1 -1
- package/chunks/{chunk-FZ5NVRVK.js → chunk-B5FOCTEZ.js} +3 -3
- package/chunks/{chunk-3UC7ZC43.js → chunk-B6WUEODT.js} +7 -7
- package/chunks/{chunk-MJKEQSZI.js → chunk-BGL43SJ3.js} +1 -1
- package/chunks/{chunk-OAYOHSGP.js → chunk-BHRU4SDF.js} +4 -4
- package/chunks/{chunk-YPCPZSZB.js → chunk-CCGOFQV3.js} +56 -4
- package/chunks/{chunk-FDY3XOTM.js → chunk-CR5IU2RX.js} +4 -4
- package/chunks/{chunk-LWGLBVWA.js → chunk-CSOTA7KX.js} +1 -1
- package/chunks/{chunk-AGZF43UV.js → chunk-E7HM76PR.js} +7153 -4406
- package/chunks/{chunk-NIOPRZNN.js → chunk-E7KNELIZ.js} +1 -1
- package/chunks/{chunk-YSU33ACT.js → chunk-ELMPRVCB.js} +5 -13
- package/chunks/{chunk-SEZC2725.js → chunk-ER3BKOLB.js} +13 -0
- package/chunks/{chunk-3VJ7MT3N.js → chunk-EXPMGZZV.js} +14 -3
- package/chunks/{chunk-DBF3HTLT.js → chunk-FB2ULV4M.js} +4 -4
- package/chunks/{chunk-RZORUN6X.js → chunk-FEJ2FZ3U.js} +1 -1
- package/chunks/chunk-FK77ILF5.js +2477 -0
- package/chunks/{chunk-DMSNJDWG.js → chunk-FV7425LN.js} +38 -3
- package/chunks/{chunk-ALX6BUYW.js → chunk-G7ZG7CA6.js} +186 -27
- package/chunks/{chunk-2INJBYLJ.js → chunk-GIY6JTTC.js} +6 -6
- package/chunks/{chunk-D5KISTLW.js → chunk-H6EMK6QK.js} +1 -1
- package/chunks/{chunk-KYTQOCDE.js → chunk-HW4N45EE.js} +17 -46
- package/chunks/{chunk-VXGPYF7U.js → chunk-IFEWJXFS.js} +1 -1
- package/chunks/chunk-II73RK2S.js +158 -0
- package/chunks/{chunk-TENOUWY2.js → chunk-IJRL2S3D.js} +3 -3
- package/chunks/{chunk-GQBRGBLS.js → chunk-J43WPR6U.js} +9 -9
- package/chunks/{chunk-SRNPMG7J.js → chunk-JYOWO2F7.js} +16 -10
- package/chunks/{chunk-57NRQM3P.js → chunk-K34DD7FH.js} +2 -2
- package/chunks/{chunk-O2RJARYU.js → chunk-KKWO4IX2.js} +1409 -4088
- package/chunks/{chunk-SOT7OMGL.js → chunk-KT3SI3CQ.js} +2 -2
- package/chunks/{chunk-NUK2PFSU.js → chunk-L7IWK7JY.js} +1 -1
- package/chunks/{chunk-MHQKYQDS.js → chunk-LC4SMGYY.js} +158 -3
- package/chunks/chunk-LGFAYIKX.js +115 -0
- package/chunks/{chunk-MBWLP5OT.js → chunk-LKXDC3AW.js} +162 -40
- package/chunks/{chunk-7Z6UEJA4.js → chunk-ME344634.js} +5 -2
- package/chunks/{chunk-V6NH3CUC.js → chunk-MOQOAH7N.js} +3 -3
- package/chunks/{chunk-FPHA7WIZ.js → chunk-MYZWWRVW.js} +3 -3
- package/chunks/{chunk-YHTNWGRR.js → chunk-MZ7BABX3.js} +1 -1
- package/chunks/chunk-N74BA4VP.js +949 -0
- package/chunks/{chunk-B236XPGF.js → chunk-NQKLOAVJ.js} +29 -2
- package/chunks/{chunk-LXFCHX4X.js → chunk-OU6FPTJZ.js} +312 -25
- package/chunks/{chunk-HTWHAN44.js → chunk-PC4ZXHU2.js} +1 -1
- package/chunks/{chunk-3X76L4UF.js → chunk-PLGONYEL.js} +5 -5
- package/chunks/{chunk-WXUDZHOJ.js → chunk-PVXPDMGP.js} +10 -2
- package/chunks/{chunk-ZO5EA3XJ.js → chunk-QCSLZO6J.js} +1 -1
- package/chunks/{chunk-CEYA7K7C.js → chunk-QHT5USLK.js} +62 -12
- package/chunks/{chunk-NPQWQYU6.js → chunk-QYNNN7BK.js} +1 -1
- package/chunks/{chunk-N4YJQTRL.js → chunk-RFIL6REB.js} +71 -2
- package/chunks/{chunk-KSPVDFE4.js → chunk-SAIILPQ3.js} +0 -3
- package/chunks/{chunk-OIFSBXSP.js → chunk-SJHAUELE.js} +3 -3
- package/chunks/{chunk-BZHLWC6T.js → chunk-SUAKHHK7.js} +2 -2
- package/chunks/{chunk-QOKV6AO4.js → chunk-T2EJHSE3.js} +184 -147
- package/chunks/{chunk-ZI4MGBB5.js → chunk-TBAZMRW3.js} +1 -1
- package/chunks/{chunk-6QVRLKTZ.js → chunk-TBLJNMI7.js} +7 -7
- package/chunks/{chunk-J6ABRKAB.js → chunk-TDGF35EN.js} +2 -2
- package/chunks/chunk-TEYGKLIZ.js +167 -0
- package/chunks/{chunk-TOAUDIS7.js → chunk-TLWA7TPR.js} +6 -2
- package/chunks/chunk-UIDXQNMV.js +13 -0
- package/chunks/{chunk-MX7CTJHR.js → chunk-UZCT5OLN.js} +9 -9
- package/chunks/{chunk-LM3YCCZJ.js → chunk-VEB3NYSO.js} +1 -1
- package/chunks/{chunk-UTL7KABL.js → chunk-VQJ64BIQ.js} +7 -7
- package/chunks/{chunk-C2QKQZEQ.js → chunk-VTCPREC7.js} +3 -3
- package/chunks/{chunk-5ES5YPED.js → chunk-VZ7HY3YU.js} +1 -1
- package/chunks/{chunk-QOMAHFYI.js → chunk-W7EEOR7D.js} +3 -3
- package/chunks/{chunk-NVFJSIAX.js → chunk-WMPVYQ4P.js} +1 -1
- package/chunks/{chunk-V5VTULL5.js → chunk-X265R5C6.js} +3 -3
- package/chunks/{chunk-LKWAVAB5.js → chunk-X2XNQQJI.js} +2 -2
- package/chunks/{chunk-MJKMIQMK.js → chunk-X3YGAX7V.js} +1 -1
- package/chunks/{chunk-5WQF27GW.js → chunk-XQ2GVLNJ.js} +1 -1
- package/chunks/chunk-XUSONNJ4.js +28 -0
- package/chunks/{chunk-DXXNMPJH.js → chunk-YMWIKAEE.js} +460 -93
- package/chunks/{chunk-A34EPIUV.js → chunk-YYU6H66M.js} +18 -15
- package/chunks/{chunk-XH7H6YG4.js → chunk-ZK5EI6NR.js} +4 -107
- package/chunks/{computer-use-5S3NVXRA.js → computer-use-4CTF6WS3.js} +24 -24
- package/chunks/{contextCommand-DPBALZFK.js → contextCommand-Z3XWQCY6.js} +28 -27
- package/chunks/{cron-create-7JYUDTUY.js → cron-create-JSXEIPVS.js} +4 -4
- package/chunks/{cron-delete-YPULQQAK.js → cron-delete-OIFVEPGU.js} +4 -4
- package/chunks/{cron-list-HJIW5MHP.js → cron-list-D4ZX4IOE.js} +11 -7
- package/chunks/{daemon-7XYW4BC3.js → daemon-F3I2RXP6.js} +208 -63
- package/chunks/daemon-status-provider-6A4QCG6Q.js +74 -0
- package/chunks/dist-573HNSVO.js +3217 -0
- package/chunks/{dist-ABQ7VWRR.js → dist-FQ5WRJPL.js} +2 -2
- package/chunks/{dist-JPSVN367.js → dist-IMFFBMAT.js} +6 -3792
- package/chunks/{dist-BV56HW3W.js → dist-OT7G2WNM.js} +250 -1
- package/chunks/{dist-AW5ZYMUI.js → dist-PKFTNUHO.js} +10 -11
- package/chunks/{dist-AAO65DPC.js → dist-YTRKAVUB.js} +1 -1
- package/chunks/{earlyInputCapture-GGPV4IFT.js → earlyInputCapture-7O47HW62.js} +25 -25
- package/chunks/{edit-HJ7ISN4C.js → edit-E32KWLF2.js} +25 -25
- package/chunks/{en-XR3S5VWY.js → en-GA2RMXY5.js} +6 -1
- package/chunks/{enter-worktree-2BQT675D.js → enter-worktree-ZKFFMHUD.js} +24 -24
- package/chunks/{enterPlanMode-SJXHJ3WD.js → enterPlanMode-HLDC6NGX.js} +24 -24
- package/chunks/{errors-EVGER4AZ.js → errors-MTIDDXX7.js} +26 -26
- package/chunks/{exit-worktree-RPDDOSPM.js → exit-worktree-YHY72XA2.js} +24 -24
- package/chunks/{exitPlanMode-BQEROAJ7.js → exitPlanMode-JNXKBZ2C.js} +24 -24
- package/chunks/{fast-path-FX2ICJ2O.js → fast-path-DVAGBROV.js} +5 -2
- package/chunks/{fr-MBMNQSQ6.js → fr-GWNQG4XH.js} +4 -0
- package/chunks/{gemini-EHUXCOUI.js → gemini-2TMHJVRC.js} +444 -256
- package/chunks/{geminiContentGenerator-YDUUKAM2.js → geminiContentGenerator-WCH4GWD3.js} +4 -4
- package/chunks/{glob-3VIGV2DL.js → glob-I6Y4AGKO.js} +52 -28
- package/chunks/{grep-4D3S4NUC.js → grep-3P2J3LU5.js} +24 -24
- package/chunks/handleAutoUpdate-4IVRMRG4.js +65 -0
- package/chunks/{initializer-QZTZSSLW.js → initializer-DVNCPVTC.js} +31 -29
- package/chunks/{ja-HFV5QCHR.js → ja-2HOTA47X.js} +4 -0
- package/chunks/{keychain-token-storage-GPAKRDKQ.js → keychain-token-storage-UJV5XP4Z.js} +2 -2
- package/chunks/{list-WQ24EAMK.js → list-4D6QK2KZ.js} +30 -30
- package/chunks/{loadedSettingsAdapter-XV74KOSR.js → loadedSettingsAdapter-GNGELH6Q.js} +28 -28
- package/chunks/{loop-wakeup-34YK7T7O.js → loop-wakeup-OHWEMFP5.js} +5 -5
- package/chunks/{ls-MPD5OJUX.js → ls-L654WOAT.js} +4 -4
- package/chunks/{lsp-72PWTDW7.js → lsp-M35KE54Y.js} +2 -2
- package/chunks/{mcp-CO3MKM7N.js → mcp-2IL72YJP.js} +28 -28
- package/chunks/{monitor-GB56T65A.js → monitor-BLVCZAVX.js} +32 -27
- package/chunks/nonInteractiveCli-UD3V7UOO.js +116 -0
- package/chunks/{notebook-edit-VMXAAE3R.js → notebook-edit-5TVMWIWY.js} +25 -25
- package/chunks/{openaiContentGenerator-GM77FLII.js → openaiContentGenerator-5LJ5A7YY.js} +12 -12
- package/chunks/{pidfile-HFXSHR64.js → pidfile-AN5JQJ2T.js} +25 -25
- package/chunks/{qwenContentGenerator-QSCXQIKJ.js → qwenContentGenerator-E2JSB4FJ.js} +26 -26
- package/chunks/{qwenOAuth2-LWLA6MQG.js → qwenOAuth2-ZV7YLMND.js} +5 -5
- package/chunks/{read-file-SVH6CGQY.js → read-file-N5DEFUDU.js} +8 -8
- package/chunks/{read-mcp-resource-OWOBJY72.js → read-mcp-resource-CNQHBSJM.js} +2 -2
- package/chunks/{record-artifact-URK3YUDJ.js → record-artifact-PP3LKHTS.js} +2 -2
- package/chunks/{ripGrep-JD5O2FLX.js → ripGrep-BLJHTHKE.js} +24 -24
- package/chunks/{run-qwen-serve-FADLRJUN.js → run-qwen-serve-4JDO64RN.js} +785 -35
- package/chunks/{scheduler-Q65SB7DJ.js → scheduler-FQR4XA7J.js} +24 -24
- package/chunks/{send-message-L7OLQEKH.js → send-message-OA6MV4EU.js} +3 -3
- package/chunks/{serve-6ZXAMQ4M.js → serve-ZOCFC7YM.js} +29 -29
- package/chunks/{server-WKDQA6XR.js → server-GEOYEPYT.js} +2504 -439
- package/chunks/{session-STWOX7RA.js → session-NJCONHGX.js} +66 -61
- package/chunks/{settings-LC4CCWQQ.js → settings-QBGGXANI.js} +27 -27
- package/chunks/{shell-FEG3RLPW.js → shell-2DVPSEKT.js} +24 -24
- package/chunks/{skill-XTXAMDAP.js → skill-HIPXUHV7.js} +24 -12
- package/chunks/{spawnChannel-B6JJPBPV.js → spawnChannel-3JYXY52G.js} +27 -27
- package/chunks/{src-HITDGVRM.js → src-NLEX4CUC.js} +91 -36
- package/chunks/{startInteractiveUI-IT423PW4.js → startInteractiveUI-TYGZIU27.js} +6213 -14273
- package/chunks/{syntheticOutput-J3MLCQAR.js → syntheticOutput-F7LSDCAR.js} +3 -3
- package/chunks/{task-create-ELEBZ7H2.js → task-create-RPFZNB4B.js} +7 -7
- package/chunks/{task-list-IEUZLF3Y.js → task-list-TGGJX7EA.js} +5 -5
- package/chunks/{task-stop-QEZW3UDY.js → task-stop-W7NGTMYQ.js} +2 -2
- package/chunks/{task-update-DW36J5P5.js → task-update-5WUG5MVQ.js} +7 -7
- package/chunks/{team-create-DAG6SNHZ.js → team-create-MGX57SZJ.js} +24 -24
- package/chunks/{team-delete-SVITIMBO.js → team-delete-UHQQ2QQX.js} +5 -5
- package/chunks/{team-plan-approval-DRDY5OPC.js → team-plan-approval-BO2N7J3E.js} +24 -24
- package/chunks/{theme-manager-N67EZC6B.js → theme-manager-WU7LOA64.js} +25 -25
- package/chunks/{todoWrite-SFFQHZYY.js → todoWrite-C4ZAMSR3.js} +4 -4
- package/chunks/{tool-search-CMDJ5HGM.js → tool-search-CLBKVEVK.js} +11 -28
- package/chunks/{trustedFolders-JD4QX6UJ.js → trustedFolders-GAQM2GHB.js} +25 -25
- package/chunks/updateCheck-RIK2YIQE.js +65 -0
- package/chunks/{validateNonInterActiveAuth-ADDCGZ6A.js → validateNonInterActiveAuth-NS3GBIJZ.js} +61 -56
- package/chunks/{version-VAONYVE5.js → version-B3RSLP54.js} +2 -1
- package/chunks/{web-fetch-SXAXJHIO.js → web-fetch-UYGMOHW4.js} +5 -5
- package/chunks/{workflow-DG2BR42M.js → workflow-7APPIGND.js} +25 -25
- package/chunks/{workspace-providers-status-XGW5OZTD.js → workspace-providers-status-SC67GLMY.js} +30 -30
- package/chunks/{workspace-service-GX3GGZLU.js → workspace-service-ZJHF22WA.js} +35 -35
- package/chunks/{workspace-skills-status-LFK5WV2V.js → workspace-skills-status-NJEK6P6Y.js} +29 -29
- package/chunks/{write-file-UR7FXWOU.js → write-file-R6Z3VLRY.js} +25 -25
- package/chunks/{zh-FSVJTXA4.js → zh-7XVVRTDH.js} +6 -1
- package/chunks/{zh-TW-66MG4LWL.js → zh-TW-DPH554OG.js} +6 -1
- package/cli.js +19 -11
- package/locales/en.js +9 -2
- package/locales/fr.js +6 -0
- package/locales/ja.js +6 -0
- package/locales/zh-TW.js +9 -2
- package/locales/zh.js +9 -2
- 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-CUpe0ibu.js → arc-C7hjaa7g.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-JvyrY_mK.js → architectureDiagram-3BPJPVTR-pm9KtMZY.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CK3Y_vom.js → blockDiagram-GPEHLZMM-CApElKsU.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DprSnyrf.js → c4Diagram-AAUBKEIU-BeDe0-9N.js} +1 -1
- package/web-shell/assets/channel-BNf1dW-j.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DJtRJPmu.js → chunk-2J33WTMH-DJEkmLdl.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-ON6Q2-BG.js → chunk-4BX2VUAB-DXX8gdpe.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-c60ou5HZ.js → chunk-55IACEB6-DORmk1kQ.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-BamtPKxx.js → chunk-727SXJPM-DWmO4mCZ.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CsVgpu-T.js → chunk-AQP2D5EJ-C7LRaYw2.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-vZrpjAx4.js → chunk-FMBD7UC4-CCdXgyC5.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-qxyNOd5t.js → chunk-ND2GUHAM-SyL_xvWc.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BvTJSM_S.js → chunk-QZHKN3VN-BzOuCKxa.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-1tXB4pju.js → cose-bilkent-S5V4N54A-BMPWyDKc.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DglBzme8.js → dagre-BM42HDAG-B_GnPWik.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-DEJpqsWz.js → diagram-2AECGRRQ-fJqMc3S_.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-CsQ1NrMG.js → diagram-5GNKFQAL-ximV3O9D.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Z-3codAi.js → diagram-KO2AKTUF-2vVyjzqw.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-mBuPTA2i.js → diagram-LMA3HP47-Dckcx1sT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-tcA3K3s9.js → diagram-OG6HWLK6-BAVv47ga.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-D9bXFRyZ.js → erDiagram-TEJ5UH35-Bn3nf5J0.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-Ck0Py04s.js → flowDiagram-I6XJVG4X-BIbGF9JT.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-rOevCekE.js → ganttDiagram-6RSMTGT7-CDbhb3AH.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CoPQaLj0.js → gitGraphDiagram-PVQCEYII-CbKG1a_w.js} +1 -1
- package/web-shell/assets/index-CnE2ur2L.js +779 -0
- package/web-shell/assets/index-hSKXrlSE.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-a77CUKoI.js → infoDiagram-5YYISTIA-DUFxTy8m.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DlLgUAO-.js → ishikawaDiagram-YF4QCWOH-D69hrBG8.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-BXR5kVAZ.js → journeyDiagram-JHISSGLW-DsvEw51Y.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-h5CoHZg7.js → kanban-definition-UN3LZRKU-lFFjZEYd.js} +1 -1
- package/web-shell/assets/{linear-BkaREbyD.js → linear-Bo5bWzvo.js} +1 -1
- package/web-shell/assets/{mermaid.core-Bkagz0ng.js → mermaid.core-C_HKMJx5.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D7EMKR_5.js → mindmap-definition-RKZ34NQL-DlV-NUTs.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DAmPOjsL.js → pieDiagram-4H26LBE5-B2e6FH2a.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-e4WFQkQu.js → quadrantDiagram-W4KKPZXB-D75kSk-b.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-v1zo7OiV.js → requirementDiagram-4Y6WPE33-CQ6xakhM.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Bstm4aW_.js → sankeyDiagram-5OEKKPKP-J_XTKrcY.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DzcZy6xN.js → sequenceDiagram-3UESZ5HK-D7jTcBtf.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-BEJH6YbH.js → stateDiagram-AJRCARHV-CrlM_OT3.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-TI1wH-Pm.js → timeline-definition-PNZ67QCA-5oZi76Ef.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-YaH8VDMS.js → vennDiagram-CIIHVFJN-DO5YptPK.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-B80co7OP.js → wardley-L42UT6IY-4t1eJDvM.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-4fHNDEMl.js → wardleyDiagram-YWT4CUSO-DKZc661S.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DT3q4Z3J.js → xychartDiagram-2RQKCTM6-su9hp08G.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-L7QPM2YD.js +0 -481
- package/chunks/daemon-status-provider-2EWTHT7Y.js +0 -73
- package/chunks/nonInteractiveCli-HNZRIM5I.js +0 -111
- package/web-shell/assets/channel-BAxQ2-aZ.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Cvd_xhZI.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cvd_xhZI.js +0 -1
- package/web-shell/assets/index-Cr7MYW6T.css +0 -5
- package/web-shell/assets/index-DCHPAUp3.js +0 -730
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BopifCBI.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
checkTeamMemorySecrets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TDGF35EN.js";
|
|
6
6
|
import {
|
|
7
7
|
CommitAttributionService,
|
|
8
8
|
FileEncoding,
|
|
@@ -12,34 +12,34 @@ import {
|
|
|
12
12
|
detectLineEnding,
|
|
13
13
|
getDiffStat,
|
|
14
14
|
needsUtf8Bom
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E7HM76PR.js";
|
|
16
16
|
import "./chunk-5P5XGNYH.js";
|
|
17
17
|
import "./chunk-SKAZWEV5.js";
|
|
18
18
|
import "./chunk-K5PGHDBN.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-3B26UVCX.js";
|
|
20
|
+
import "./chunk-W7EEOR7D.js";
|
|
21
|
+
import "./chunk-42XGFRJS.js";
|
|
22
|
+
import "./chunk-X2XNQQJI.js";
|
|
23
|
+
import "./chunk-VZ7HY3YU.js";
|
|
24
24
|
import "./chunk-2MPVVENX.js";
|
|
25
25
|
import "./chunk-ZTQ26VBE.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-FV7425LN.js";
|
|
27
27
|
import "./chunk-MLZQVCF3.js";
|
|
28
28
|
import "./chunk-LQ7TMOCE.js";
|
|
29
29
|
import "./chunk-E5A7LHNN.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-VEB3NYSO.js";
|
|
31
31
|
import "./chunk-GO6LNQXT.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-NQKLOAVJ.js";
|
|
33
|
+
import "./chunk-WMPVYQ4P.js";
|
|
34
|
+
import "./chunk-TLWA7TPR.js";
|
|
35
|
+
import "./chunk-QYNNN7BK.js";
|
|
36
36
|
import {
|
|
37
37
|
FileOperationEvent,
|
|
38
38
|
fileExists,
|
|
39
39
|
getLanguageFromFilePath,
|
|
40
40
|
getSpecificMimeType,
|
|
41
41
|
logFileOperation
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7I4MGFBN.js";
|
|
43
43
|
import "./chunk-E6US47KI.js";
|
|
44
44
|
import "./chunk-UWCTAVOD.js";
|
|
45
45
|
import "./chunk-OFEVLU4C.js";
|
|
@@ -47,29 +47,29 @@ import "./chunk-OMX7CUOE.js";
|
|
|
47
47
|
import {
|
|
48
48
|
isAnyAutoMemPath,
|
|
49
49
|
isTeamAutoMemPath
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-4KJ2BPIT.js";
|
|
51
|
+
import "./chunk-SUAKHHK7.js";
|
|
52
|
+
import "./chunk-FEJ2FZ3U.js";
|
|
53
53
|
import {
|
|
54
54
|
BaseDeclarativeTool,
|
|
55
55
|
BaseToolInvocation,
|
|
56
56
|
ToolDisplayNames,
|
|
57
57
|
ToolNames
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-X3YGAX7V.js";
|
|
59
|
+
import "./chunk-IJRL2S3D.js";
|
|
60
|
+
import "./chunk-AHNJGLFV.js";
|
|
61
61
|
import "./chunk-22IFUCVR.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-7LTB54MK.js";
|
|
63
63
|
import "./chunk-SIUQ3YYX.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-HW4N45EE.js";
|
|
65
|
+
import "./chunk-CCGOFQV3.js";
|
|
66
66
|
import "./chunk-IRJWHZWU.js";
|
|
67
67
|
import "./chunk-SYCJMSIJ.js";
|
|
68
68
|
import "./chunk-55ZMG67I.js";
|
|
69
69
|
import "./chunk-H6BD2ELD.js";
|
|
70
70
|
import "./chunk-5IFG2VC4.js";
|
|
71
71
|
import "./chunk-64WXLC72.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-H6EMK6QK.js";
|
|
73
73
|
import {
|
|
74
74
|
createDebugLogger,
|
|
75
75
|
getErrorMessage,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
makeRelative,
|
|
78
78
|
shortenPath,
|
|
79
79
|
unescapePath
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-22MNNNXE.js";
|
|
81
81
|
import "./chunk-ZERZSAZL.js";
|
|
82
82
|
import "./chunk-QN5NZ3UQ.js";
|
|
83
83
|
import "./chunk-BR4QREVK.js";
|
|
@@ -1067,6 +1067,7 @@ var zh_default = {
|
|
|
1067
1067
|
"Size:": "\u5927\u5C0F\uFF1A",
|
|
1068
1068
|
"{{count}} bytes": "{{count}} \u5B57\u8282",
|
|
1069
1069
|
"Reference in chat": "\u5728\u5BF9\u8BDD\u4E2D\u5F15\u7528",
|
|
1070
|
+
"MCP server": "MCP \u670D\u52A1\u5668",
|
|
1070
1071
|
"MCP resource server": "MCP \u8D44\u6E90\u670D\u52A1\u5668",
|
|
1071
1072
|
// Invalid tool related translations
|
|
1072
1073
|
"{{count}} invalid tools": "{{count}} \u4E2A\u65E0\u6548\u5DE5\u5177",
|
|
@@ -1098,7 +1099,7 @@ var zh_default = {
|
|
|
1098
1099
|
// ============================================================================
|
|
1099
1100
|
"Switch the model for this session (--fast for suggestion model, [model-id] to switch immediately).": "\u5207\u6362\u6B64\u4F1A\u8BDD\u7684\u6A21\u578B\uFF08--fast \u53EF\u8BBE\u7F6E\u5EFA\u8BAE\u6A21\u578B\uFF09",
|
|
1100
1101
|
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).": "\u5207\u6362\u6B64\u4F1A\u8BDD\u7684\u6A21\u578B\uFF08--fast \u53EF\u8BBE\u7F6E\u5EFA\u8BAE\u6A21\u578B\uFF0C--voice \u53EF\u8BBE\u7F6E\u8BED\u97F3\u8F6C\u5199\u6A21\u578B\uFF0C[model-id] \u53EF\u7ACB\u5373\u5207\u6362\uFF09",
|
|
1101
|
-
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).": "\u5207\u6362\u6B64\u4F1A\u8BDD\u7684\u6A21\u578B\uFF08--fast \
|
|
1102
|
+
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).": "\u5207\u6362\u6B64\u4F1A\u8BDD\u7684\u6A21\u578B\uFF08--fast \u5EFA\u8BAE\u6A21\u578B\uFF0C--voice \u8BED\u97F3\u8F6C\u5199\u6A21\u578B\uFF0C--vision \u89C6\u89C9\u6865\u63A5\u6A21\u578B\uFF0C--project \u6301\u4E45\u5316\u5230\u9879\u76EE\u8BBE\u7F6E\uFF0C--global \u6301\u4E45\u5316\u5230\u7528\u6237\u8BBE\u7F6E\uFF0C[model-id] \u7ACB\u5373\u5207\u6362\uFF0C\u6216\u7528 [model-id] [prompt] \u5728\u53E6\u4E00\u4E2A\u6A21\u578B\u4E0A\u8FD0\u884C\u4E00\u6B21\u6027\u63D0\u793A\uFF1B\u5185\u8054\u63D0\u793A\u6309\u539F\u6587\u53D1\u9001\uFF0C\u4E0D\u5C55\u5F00 @file\uFF09",
|
|
1102
1103
|
"Inline one-shot override isn't supported in this mode \u2014 run '/model {{model}}' first, then send your prompt.": "\u6B64\u6A21\u5F0F\u4E0D\u652F\u6301\u5185\u8054\u4E00\u6B21\u6027\u8986\u76D6\u2014\u2014\u8BF7\u5148\u8FD0\u884C '/model {{model}}'\uFF0C\u518D\u53D1\u9001\u4F60\u7684\u63D0\u793A\u3002",
|
|
1103
1104
|
"Inline one-shot override can't switch providers. '{{model}}' belongs to a different provider \u2014 run '/model {{model}}' first, then send your prompt.": "\u5185\u8054\u4E00\u6B21\u6027\u8986\u76D6\u65E0\u6CD5\u5207\u6362 provider\u3002'{{model}}' \u5C5E\u4E8E\u53E6\u4E00\u4E2A provider\u2014\u2014\u8BF7\u5148\u8FD0\u884C '/model {{model}}'\uFF0C\u518D\u53D1\u9001\u4F60\u7684\u63D0\u793A\u3002",
|
|
1104
1105
|
"\u26A0 '{{model}}' is not a known image-capable model; the vision bridge may fail on images.": "\u26A0 '{{model}}' \u4E0D\u662F\u5DF2\u77E5\u7684\u56FE\u50CF\u80FD\u529B\u6A21\u578B\uFF1B\u89C6\u89C9\u6865\u63A5\u5904\u7406\u56FE\u7247\u65F6\u53EF\u80FD\u4F1A\u5931\u8D25\u3002",
|
|
@@ -1106,6 +1107,8 @@ var zh_default = {
|
|
|
1106
1107
|
"Toggle voice dictation input": "\u5207\u6362\u8BED\u97F3\u542C\u5199\u8F93\u5165",
|
|
1107
1108
|
"Set the model for voice transcription": "\u8BBE\u7F6E\u8BED\u97F3\u8F6C\u5199\u6A21\u578B",
|
|
1108
1109
|
"Set the image-capable model used to transcribe images for a text-only main model": "\u8BBE\u7F6E\u7528\u4E8E\u4E3A\u7EAF\u6587\u672C\u4E3B\u6A21\u578B\u8F6C\u5199\u56FE\u50CF\u7684\u56FE\u50CF\u80FD\u529B\u6A21\u578B",
|
|
1110
|
+
"Persist the model selection to the project settings (workspace scope)": "\u5C06\u6A21\u578B\u9009\u62E9\u6301\u4E45\u5316\u5230\u9879\u76EE\u8BBE\u7F6E\uFF08\u5DE5\u4F5C\u533A\uFF09",
|
|
1111
|
+
"Persist the model selection to the user settings (global scope)": "\u5C06\u6A21\u578B\u9009\u62E9\u6301\u4E45\u5316\u5230\u7528\u6237\u8BBE\u7F6E\uFF08\u5168\u5C40\uFF09",
|
|
1109
1112
|
"Select Fast Model": "\u9009\u62E9\u5FEB\u901F\u6A21\u578B",
|
|
1110
1113
|
"Select Vision Model": "\u9009\u62E9\u89C6\u89C9\u6A21\u578B",
|
|
1111
1114
|
"Select Voice Model": "\u9009\u62E9\u8BED\u97F3\u6A21\u578B",
|
|
@@ -1267,6 +1270,8 @@ var zh_default = {
|
|
|
1267
1270
|
// Dialogs - Model
|
|
1268
1271
|
// ============================================================================
|
|
1269
1272
|
"Select Model": "\u9009\u62E9\u6A21\u578B",
|
|
1273
|
+
" (this project)": "\uFF08\u5F53\u524D\u9879\u76EE\uFF09",
|
|
1274
|
+
" (global)": "\uFF08\u5168\u5C40\uFF09",
|
|
1270
1275
|
"API Key": "API Key",
|
|
1271
1276
|
"(default)": "(\u9ED8\u8BA4)",
|
|
1272
1277
|
"(not set)": "(\u672A\u8BBE\u7F6E)",
|
|
@@ -977,6 +977,7 @@ var zh_TW_default = {
|
|
|
977
977
|
"Size:": "\u5927\u5C0F\uFF1A",
|
|
978
978
|
"{{count}} bytes": "{{count}} \u4F4D\u5143\u7D44",
|
|
979
979
|
"Reference in chat": "\u5728\u5C0D\u8A71\u4E2D\u5F15\u7528",
|
|
980
|
+
"MCP server": "MCP \u4F3A\u670D\u5668",
|
|
980
981
|
"MCP resource server": "MCP \u8CC7\u6E90\u4F3A\u670D\u5668",
|
|
981
982
|
"{{count}} invalid tools": "{{count}} \u500B\u7121\u6548\u5DE5\u5177",
|
|
982
983
|
invalid: "\u7121\u6548",
|
|
@@ -1001,7 +1002,7 @@ var zh_TW_default = {
|
|
|
1001
1002
|
"Failed to generate summary - no text content received from LLM response": "\u751F\u6210\u6458\u8981\u5931\u6557 - \u672A\u5F9E LLM \u97FF\u61C9\u4E2D\u63A5\u6536\u5230\u6587\u672C\u5167\u5BB9",
|
|
1002
1003
|
"Switch the model for this session (--fast for suggestion model, [model-id] to switch immediately).": "\u5207\u63DB\u6B64\u6703\u8A71\u7684\u6A21\u578B\uFF08--fast \u53EF\u8A2D\u7F6E\u5EFA\u8B70\u6A21\u578B\uFF09",
|
|
1003
1004
|
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).": "\u5207\u63DB\u6B64\u6703\u8A71\u7684\u6A21\u578B\uFF08--fast \u53EF\u8A2D\u7F6E\u5EFA\u8B70\u6A21\u578B\uFF0C--voice \u53EF\u8A2D\u7F6E\u8A9E\u97F3\u8F49\u5BEB\u6A21\u578B\uFF0C[model-id] \u53EF\u7ACB\u5373\u5207\u63DB\uFF09",
|
|
1004
|
-
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).": "\u5207\u63DB\u6B64\u6703\u8A71\u7684\u6A21\u578B\uFF08--fast \
|
|
1005
|
+
"Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).": "\u5207\u63DB\u6B64\u6703\u8A71\u7684\u6A21\u578B\uFF08--fast \u5EFA\u8B70\u6A21\u578B\uFF0C--voice \u8A9E\u97F3\u8F49\u5BEB\u6A21\u578B\uFF0C--vision \u8996\u89BA\u6A4B\u63A5\u6A21\u578B\uFF0C--project \u6301\u4E45\u5316\u5230\u5C08\u6848\u8A2D\u5B9A\uFF0C--global \u6301\u4E45\u5316\u5230\u4F7F\u7528\u8005\u8A2D\u5B9A\uFF0C[model-id] \u7ACB\u5373\u5207\u63DB\uFF0C\u6216\u7528 [model-id] [prompt] \u5728\u53E6\u4E00\u500B\u6A21\u578B\u4E0A\u57F7\u884C\u4E00\u6B21\u6027\u63D0\u793A\uFF1B\u5167\u806F\u63D0\u793A\u6309\u539F\u6587\u767C\u9001\uFF0C\u4E0D\u5C55\u958B @file\uFF09",
|
|
1005
1006
|
"Inline one-shot override isn't supported in this mode \u2014 run '/model {{model}}' first, then send your prompt.": "\u6B64\u6A21\u5F0F\u4E0D\u652F\u63F4\u5167\u806F\u4E00\u6B21\u6027\u8986\u5BEB\u2014\u2014\u8ACB\u5148\u57F7\u884C '/model {{model}}'\uFF0C\u518D\u767C\u9001\u4F60\u7684\u63D0\u793A\u3002",
|
|
1006
1007
|
"Inline one-shot override can't switch providers. '{{model}}' belongs to a different provider \u2014 run '/model {{model}}' first, then send your prompt.": "\u5167\u806F\u4E00\u6B21\u6027\u8986\u5BEB\u7121\u6CD5\u5207\u63DB provider\u3002'{{model}}' \u5C6C\u65BC\u53E6\u4E00\u500B provider\u2014\u2014\u8ACB\u5148\u57F7\u884C '/model {{model}}'\uFF0C\u518D\u767C\u9001\u4F60\u7684\u63D0\u793A\u3002",
|
|
1007
1008
|
"\u26A0 '{{model}}' is not a known image-capable model; the vision bridge may fail on images.": "\u26A0 '{{model}}' \u4E0D\u662F\u5DF2\u77E5\u7684\u5716\u50CF\u80FD\u529B\u6A21\u578B\uFF1B\u8996\u89BA\u6A4B\u63A5\u8655\u7406\u5716\u7247\u6642\u53EF\u80FD\u6703\u5931\u6557\u3002",
|
|
@@ -1009,6 +1010,8 @@ var zh_TW_default = {
|
|
|
1009
1010
|
"Toggle voice dictation input": "\u5207\u63DB\u8A9E\u97F3\u807D\u5BEB\u8F38\u5165",
|
|
1010
1011
|
"Set the model for voice transcription": "\u8A2D\u5B9A\u8A9E\u97F3\u8F49\u5BEB\u6A21\u578B",
|
|
1011
1012
|
"Set the image-capable model used to transcribe images for a text-only main model": "\u8A2D\u5B9A\u7528\u65BC\u70BA\u7D14\u6587\u5B57\u4E3B\u6A21\u578B\u8F49\u5BEB\u5716\u50CF\u7684\u5716\u50CF\u80FD\u529B\u6A21\u578B",
|
|
1013
|
+
"Persist the model selection to the project settings (workspace scope)": "\u5C07\u6A21\u578B\u9078\u64C7\u6301\u4E45\u5316\u5230\u5C08\u6848\u8A2D\u5B9A\uFF08\u5DE5\u4F5C\u5340\uFF09",
|
|
1014
|
+
"Persist the model selection to the user settings (global scope)": "\u5C07\u6A21\u578B\u9078\u64C7\u6301\u4E45\u5316\u5230\u4F7F\u7528\u8005\u8A2D\u5B9A\uFF08\u5168\u57DF\uFF09",
|
|
1012
1015
|
"Select Fast Model": "\u9078\u64C7\u5FEB\u901F\u6A21\u578B",
|
|
1013
1016
|
"Select Vision Model": "\u9078\u64C7\u8996\u89BA\u6A21\u578B",
|
|
1014
1017
|
"Select Voice Model": "\u9078\u64C7\u8A9E\u97F3\u6A21\u578B",
|
|
@@ -1146,6 +1149,8 @@ var zh_TW_default = {
|
|
|
1146
1149
|
"Authenticated successfully with {{authType}} credentials.": "\u4F7F\u7528 {{authType}} \u6191\u64DA\u6210\u529F\u8A8D\u8B49\u3002",
|
|
1147
1150
|
'Invalid QWEN_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}': '\u7121\u6548\u7684 QWEN_DEFAULT_AUTH_TYPE \u503C\uFF1A"{{value}}"\u3002\u6709\u6548\u503C\u70BA\uFF1A{{validValues}}',
|
|
1148
1151
|
"Select Model": "\u9078\u64C7\u6A21\u578B",
|
|
1152
|
+
" (this project)": "\uFF08\u7576\u524D\u5C08\u6848\uFF09",
|
|
1153
|
+
" (global)": "\uFF08\u5168\u57DF\uFF09",
|
|
1149
1154
|
"API Key": "API Key",
|
|
1150
1155
|
"(default)": "(\u9ED8\u8A8D)",
|
|
1151
1156
|
"(not set)": "(\u672A\u8A2D\u7F6E)",
|
package/cli.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
initCpuProfiler
|
|
5
|
-
} from "./chunks/chunk-
|
|
6
|
-
import "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-BGL43SJ3.js";
|
|
6
|
+
import "./chunks/chunk-QCSLZO6J.js";
|
|
7
7
|
import {
|
|
8
8
|
initStartupProfiler
|
|
9
9
|
} from "./chunks/chunk-ITOGNELQ.js";
|
|
@@ -48,6 +48,13 @@ var MCP_COMMANDS = [
|
|
|
48
48
|
];
|
|
49
49
|
var TOP_LEVEL_HELP_OPTIONS = [
|
|
50
50
|
["model", { alias: "m", type: "string", description: "Model" }],
|
|
51
|
+
[
|
|
52
|
+
"fallback-model",
|
|
53
|
+
{
|
|
54
|
+
type: "array",
|
|
55
|
+
description: "Fallback model(s) for capacity errors, repeatable or comma-separated (max 3)"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
51
58
|
[
|
|
52
59
|
"prompt",
|
|
53
60
|
{
|
|
@@ -108,6 +115,7 @@ var TOP_LEVEL_HELP_OPTIONS = [
|
|
|
108
115
|
var VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
109
116
|
"--model",
|
|
110
117
|
"-m",
|
|
118
|
+
"--fallback-model",
|
|
111
119
|
"--prompt",
|
|
112
120
|
"-p",
|
|
113
121
|
"--prompt-interactive",
|
|
@@ -143,7 +151,7 @@ async function buildTopLevelHelpParser() {
|
|
|
143
151
|
const { default: yargs } = await import("./chunks/yargs-B64EYTCF.js");
|
|
144
152
|
const parser = yargs([]).scriptName("qwen").usage(
|
|
145
153
|
"Usage: qwen [options] [command]\n\nQwen Code - Launch an interactive CLI, use -p/--prompt for non-interactive mode"
|
|
146
|
-
).version("0.19.
|
|
154
|
+
).version("0.19.7-nightly.20260708.394c1a289").alias("v", "version").help().alias("h", "help").strict().demandCommand(0, 0);
|
|
147
155
|
for (const [option, config] of TOP_LEVEL_HELP_OPTIONS) {
|
|
148
156
|
parser.option(option, config);
|
|
149
157
|
}
|
|
@@ -216,11 +224,11 @@ function printMcpHelp() {
|
|
|
216
224
|
}
|
|
217
225
|
__name(printMcpHelp, "printMcpHelp");
|
|
218
226
|
async function printBootstrapVersion() {
|
|
219
|
-
if ("0.19.
|
|
220
|
-
writeStdoutLine("0.19.
|
|
227
|
+
if ("0.19.7-nightly.20260708.394c1a289") {
|
|
228
|
+
writeStdoutLine("0.19.7-nightly.20260708.394c1a289");
|
|
221
229
|
return;
|
|
222
230
|
}
|
|
223
|
-
const { getCliVersion } = await import("./chunks/version-
|
|
231
|
+
const { getCliVersion } = await import("./chunks/version-B3RSLP54.js");
|
|
224
232
|
writeStdoutLine(await getCliVersion());
|
|
225
233
|
}
|
|
226
234
|
__name(printBootstrapVersion, "printBootstrapVersion");
|
|
@@ -233,7 +241,7 @@ async function runMcpFastPath(rawArgv) {
|
|
|
233
241
|
}
|
|
234
242
|
const [{ default: yargsInstance }, { mcpCommand }] = await Promise.all([
|
|
235
243
|
import("./chunks/yargs-B64EYTCF.js"),
|
|
236
|
-
import("./chunks/mcp-
|
|
244
|
+
import("./chunks/mcp-2IL72YJP.js")
|
|
237
245
|
]);
|
|
238
246
|
const parser = yargsInstance([]).scriptName("qwen").command(mcpCommand).version(false).help().alias("h", "help").strict().strictCommands().demandCommand(1, "You need at least one command before continuing.").fail((message, error, yargs) => {
|
|
239
247
|
writeStderrLine(message || error?.message || "Unknown argument error");
|
|
@@ -291,7 +299,7 @@ async function runCliEntry(rawArgv = process.argv.slice(2)) {
|
|
|
291
299
|
return;
|
|
292
300
|
}
|
|
293
301
|
if (route === "serve") {
|
|
294
|
-
const { tryRunServeFastPath } = await import("./chunks/fast-path-
|
|
302
|
+
const { tryRunServeFastPath } = await import("./chunks/fast-path-DVAGBROV.js");
|
|
295
303
|
if (await tryRunServeFastPath(argv)) {
|
|
296
304
|
return;
|
|
297
305
|
}
|
|
@@ -302,7 +310,7 @@ async function runCliEntry(rawArgv = process.argv.slice(2)) {
|
|
|
302
310
|
await printTopLevelHelp();
|
|
303
311
|
return;
|
|
304
312
|
}
|
|
305
|
-
const { main } = await import("./chunks/gemini-
|
|
313
|
+
const { main } = await import("./chunks/gemini-2TMHJVRC.js");
|
|
306
314
|
await main();
|
|
307
315
|
}
|
|
308
316
|
__name(runCliEntry, "runCliEntry");
|
|
@@ -331,8 +339,8 @@ function isExpectedPtyRaceError(error) {
|
|
|
331
339
|
__name(isExpectedPtyRaceError, "isExpectedPtyRaceError");
|
|
332
340
|
async function handleCriticalError(error) {
|
|
333
341
|
const [{ FatalError }, { AlreadyReportedError }] = await Promise.all([
|
|
334
|
-
import("./chunks/src-
|
|
335
|
-
import("./chunks/errors-
|
|
342
|
+
import("./chunks/src-NLEX4CUC.js"),
|
|
343
|
+
import("./chunks/errors-MTIDDXX7.js")
|
|
336
344
|
]);
|
|
337
345
|
if (error instanceof FatalError) {
|
|
338
346
|
let errorMessage = error.message;
|
package/locales/en.js
CHANGED
|
@@ -1391,6 +1391,7 @@ export default {
|
|
|
1391
1391
|
'Size:': 'Size:',
|
|
1392
1392
|
'{{count}} bytes': '{{count}} bytes',
|
|
1393
1393
|
'Reference in chat': 'Reference in chat',
|
|
1394
|
+
'MCP server': 'MCP server',
|
|
1394
1395
|
'MCP resource server': 'MCP resource server',
|
|
1395
1396
|
|
|
1396
1397
|
// Invalid tool related translations
|
|
@@ -1435,8 +1436,8 @@ export default {
|
|
|
1435
1436
|
'Switch the model for this session (--fast for suggestion model, [model-id] to switch immediately).',
|
|
1436
1437
|
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).':
|
|
1437
1438
|
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).',
|
|
1438
|
-
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1439
|
-
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).',
|
|
1439
|
+
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1440
|
+
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).',
|
|
1440
1441
|
"Inline one-shot override isn't supported in this mode — run '/model {{model}}' first, then send your prompt.":
|
|
1441
1442
|
"Inline one-shot override isn't supported in this mode — run '/model {{model}}' first, then send your prompt.",
|
|
1442
1443
|
"Inline one-shot override can't switch providers. '{{model}}' belongs to a different provider — run '/model {{model}}' first, then send your prompt.":
|
|
@@ -1450,6 +1451,10 @@ export default {
|
|
|
1450
1451
|
'Set the model for voice transcription',
|
|
1451
1452
|
'Set the image-capable model used to transcribe images for a text-only main model':
|
|
1452
1453
|
'Set the image-capable model used to transcribe images for a text-only main model',
|
|
1454
|
+
'Persist the model selection to the project settings (workspace scope)':
|
|
1455
|
+
'Persist the model selection to the project settings (workspace scope)',
|
|
1456
|
+
'Persist the model selection to the user settings (global scope)':
|
|
1457
|
+
'Persist the model selection to the user settings (global scope)',
|
|
1453
1458
|
'Select Fast Model': 'Select Fast Model',
|
|
1454
1459
|
'Select Vision Model': 'Select Vision Model',
|
|
1455
1460
|
'Select Voice Model': 'Select Voice Model',
|
|
@@ -1686,6 +1691,8 @@ export default {
|
|
|
1686
1691
|
// Dialogs - Model
|
|
1687
1692
|
// ============================================================================
|
|
1688
1693
|
'Select Model': 'Select Model',
|
|
1694
|
+
' (this project)': ' (this project)',
|
|
1695
|
+
' (global)': ' (global)',
|
|
1689
1696
|
'API Key': 'API Key',
|
|
1690
1697
|
'(default)': '(default)',
|
|
1691
1698
|
'(not set)': '(not set)',
|
package/locales/fr.js
CHANGED
|
@@ -1288,6 +1288,12 @@ export default {
|
|
|
1288
1288
|
// Boîtes de dialogue - Modèle
|
|
1289
1289
|
// ============================================================================
|
|
1290
1290
|
'Select Model': 'Sélectionner un modèle',
|
|
1291
|
+
' (this project)': ' (ce projet)',
|
|
1292
|
+
' (global)': ' (global)',
|
|
1293
|
+
'Persist the model selection to the project settings (workspace scope)':
|
|
1294
|
+
'Persister la sélection du modèle dans les paramètres du projet (étendue workspace)',
|
|
1295
|
+
'Persist the model selection to the user settings (global scope)':
|
|
1296
|
+
'Persister la sélection du modèle dans les paramètres utilisateur (étendue globale)',
|
|
1291
1297
|
'API Key': 'API Key',
|
|
1292
1298
|
'(default)': '(par défaut)',
|
|
1293
1299
|
'(not set)': '(non défini)',
|
package/locales/ja.js
CHANGED
|
@@ -1741,6 +1741,12 @@ export default {
|
|
|
1741
1741
|
'ANTHROPIC_BASE_URL environment variable not found.':
|
|
1742
1742
|
'環境変数 ANTHROPIC_BASE_URL が見つかりません。',
|
|
1743
1743
|
'Invalid auth method selected.': '無効な認証方式が選択されました。',
|
|
1744
|
+
' (this project)': ' (このプロジェクト)',
|
|
1745
|
+
' (global)': ' (グローバル)',
|
|
1746
|
+
'Persist the model selection to the project settings (workspace scope)':
|
|
1747
|
+
'モデルの選択をプロジェクト設定に永続化(ワークスペーススコープ)',
|
|
1748
|
+
'Persist the model selection to the user settings (global scope)':
|
|
1749
|
+
'モデルの選択をユーザー設定に永続化(グローバルスコープ)',
|
|
1744
1750
|
'API Key': 'API Key',
|
|
1745
1751
|
'(default)': '(デフォルト)',
|
|
1746
1752
|
'(not set)': '(未設定)',
|
package/locales/zh-TW.js
CHANGED
|
@@ -1226,6 +1226,7 @@ export default {
|
|
|
1226
1226
|
'Size:': '大小:',
|
|
1227
1227
|
'{{count}} bytes': '{{count}} 位元組',
|
|
1228
1228
|
'Reference in chat': '在對話中引用',
|
|
1229
|
+
'MCP server': 'MCP 伺服器',
|
|
1229
1230
|
'MCP resource server': 'MCP 資源伺服器',
|
|
1230
1231
|
'{{count}} invalid tools': '{{count}} 個無效工具',
|
|
1231
1232
|
invalid: '無效',
|
|
@@ -1261,8 +1262,8 @@ export default {
|
|
|
1261
1262
|
'切換此會話的模型(--fast 可設置建議模型)',
|
|
1262
1263
|
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).':
|
|
1263
1264
|
'切換此會話的模型(--fast 可設置建議模型,--voice 可設置語音轉寫模型,[model-id] 可立即切換)',
|
|
1264
|
-
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1265
|
-
'切換此會話的模型(--fast
|
|
1265
|
+
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1266
|
+
'切換此會話的模型(--fast 建議模型,--voice 語音轉寫模型,--vision 視覺橋接模型,--project 持久化到專案設定,--global 持久化到使用者設定,[model-id] 立即切換,或用 [model-id] [prompt] 在另一個模型上執行一次性提示;內聯提示按原文發送,不展開 @file)',
|
|
1266
1267
|
"Inline one-shot override isn't supported in this mode — run '/model {{model}}' first, then send your prompt.":
|
|
1267
1268
|
"此模式不支援內聯一次性覆寫——請先執行 '/model {{model}}',再發送你的提示。",
|
|
1268
1269
|
"Inline one-shot override can't switch providers. '{{model}}' belongs to a different provider — run '/model {{model}}' first, then send your prompt.":
|
|
@@ -1275,6 +1276,10 @@ export default {
|
|
|
1275
1276
|
'Set the model for voice transcription': '設定語音轉寫模型',
|
|
1276
1277
|
'Set the image-capable model used to transcribe images for a text-only main model':
|
|
1277
1278
|
'設定用於為純文字主模型轉寫圖像的圖像能力模型',
|
|
1279
|
+
'Persist the model selection to the project settings (workspace scope)':
|
|
1280
|
+
'將模型選擇持久化到專案設定(工作區)',
|
|
1281
|
+
'Persist the model selection to the user settings (global scope)':
|
|
1282
|
+
'將模型選擇持久化到使用者設定(全域)',
|
|
1278
1283
|
'Select Fast Model': '選擇快速模型',
|
|
1279
1284
|
'Select Vision Model': '選擇視覺模型',
|
|
1280
1285
|
'Select Voice Model': '選擇語音模型',
|
|
@@ -1468,6 +1473,8 @@ export default {
|
|
|
1468
1473
|
'Invalid QWEN_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}':
|
|
1469
1474
|
'無效的 QWEN_DEFAULT_AUTH_TYPE 值:"{{value}}"。有效值為:{{validValues}}',
|
|
1470
1475
|
'Select Model': '選擇模型',
|
|
1476
|
+
' (this project)': '(當前專案)',
|
|
1477
|
+
' (global)': '(全域)',
|
|
1471
1478
|
'API Key': 'API Key',
|
|
1472
1479
|
'(default)': '(默認)',
|
|
1473
1480
|
'(not set)': '(未設置)',
|
package/locales/zh.js
CHANGED
|
@@ -1331,6 +1331,7 @@ export default {
|
|
|
1331
1331
|
'Size:': '大小:',
|
|
1332
1332
|
'{{count}} bytes': '{{count}} 字节',
|
|
1333
1333
|
'Reference in chat': '在对话中引用',
|
|
1334
|
+
'MCP server': 'MCP 服务器',
|
|
1334
1335
|
'MCP resource server': 'MCP 资源服务器',
|
|
1335
1336
|
|
|
1336
1337
|
// Invalid tool related translations
|
|
@@ -1375,8 +1376,8 @@ export default {
|
|
|
1375
1376
|
'切换此会话的模型(--fast 可设置建议模型)',
|
|
1376
1377
|
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, [model-id] to switch immediately).':
|
|
1377
1378
|
'切换此会话的模型(--fast 可设置建议模型,--voice 可设置语音转写模型,[model-id] 可立即切换)',
|
|
1378
|
-
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1379
|
-
'切换此会话的模型(--fast
|
|
1379
|
+
'Switch the model for this session (--fast for suggestion model, --voice for voice transcription model, --vision for the vision bridge model, --project to persist to project settings, --global to persist to user settings, [model-id] to switch immediately, or [model-id] [prompt] to run a one-off prompt on another model; the inline prompt is sent verbatim without @file expansion).':
|
|
1380
|
+
'切换此会话的模型(--fast 建议模型,--voice 语音转写模型,--vision 视觉桥接模型,--project 持久化到项目设置,--global 持久化到用户设置,[model-id] 立即切换,或用 [model-id] [prompt] 在另一个模型上运行一次性提示;内联提示按原文发送,不展开 @file)',
|
|
1380
1381
|
"Inline one-shot override isn't supported in this mode — run '/model {{model}}' first, then send your prompt.":
|
|
1381
1382
|
"此模式不支持内联一次性覆盖——请先运行 '/model {{model}}',再发送你的提示。",
|
|
1382
1383
|
"Inline one-shot override can't switch providers. '{{model}}' belongs to a different provider — run '/model {{model}}' first, then send your prompt.":
|
|
@@ -1389,6 +1390,10 @@ export default {
|
|
|
1389
1390
|
'Set the model for voice transcription': '设置语音转写模型',
|
|
1390
1391
|
'Set the image-capable model used to transcribe images for a text-only main model':
|
|
1391
1392
|
'设置用于为纯文本主模型转写图像的图像能力模型',
|
|
1393
|
+
'Persist the model selection to the project settings (workspace scope)':
|
|
1394
|
+
'将模型选择持久化到项目设置(工作区)',
|
|
1395
|
+
'Persist the model selection to the user settings (global scope)':
|
|
1396
|
+
'将模型选择持久化到用户设置(全局)',
|
|
1392
1397
|
'Select Fast Model': '选择快速模型',
|
|
1393
1398
|
'Select Vision Model': '选择视觉模型',
|
|
1394
1399
|
'Select Voice Model': '选择语音模型',
|
|
@@ -1610,6 +1615,8 @@ export default {
|
|
|
1610
1615
|
// Dialogs - Model
|
|
1611
1616
|
// ============================================================================
|
|
1612
1617
|
'Select Model': '选择模型',
|
|
1618
|
+
' (this project)': '(当前项目)',
|
|
1619
|
+
' (global)': '(全局)',
|
|
1613
1620
|
'API Key': 'API Key',
|
|
1614
1621
|
'(default)': '(默认)',
|
|
1615
1622
|
'(not set)': '(未设置)',
|
package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node
CHANGED
|
Binary file
|
package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node
CHANGED
|
Binary file
|
package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.7-nightly.20260708.394c1a289",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@qwen-code/audio-capture"
|
|
30
30
|
],
|
|
31
31
|
"config": {
|
|
32
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.
|
|
32
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.7-nightly.20260708.394c1a289"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@qwen-code/audio-capture": "0.19.
|
|
36
|
+
"@qwen-code/audio-capture": "0.19.7-nightly.20260708.394c1a289",
|
|
37
37
|
"@lydell/node-pty": "1.2.0-beta.10",
|
|
38
38
|
"@lydell/node-pty-darwin-arm64": "1.2.0-beta.10",
|
|
39
39
|
"@lydell/node-pty-darwin-x64": "1.2.0-beta.10",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as ln,N as an,O as Y,P as O,Q,R as un,S as y,T as tn,V as j,W as _,X as rn,Y as o,Z as sn,$ as on,a0 as fn}from"./mermaid.core-
|
|
1
|
+
import{M as ln,N as an,O as Y,P as O,Q,R as un,S as y,T as tn,V as j,W as _,X as rn,Y as o,Z as sn,$ as on,a0 as fn}from"./mermaid.core-C_HKMJx5.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,D,S,v,R,V,a){var E=D-l,i=S-h,n=V-v,d=a-R,u=d*E-n*i;if(!(u*u<y))return u=(n*(h-R)-d*(l-v))/u,[l+u*E,h+u*i]}function H(l,h,D,S,v,R,V){var a=l-D,E=h-S,i=(V?R:-R)/j(a*a+E*E),n=i*E,d=-i*a,u=l+n,s=h+d,f=D+n,c=S+d,W=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,A=m*m+g*g,T=v-R,P=u*c-f*s,I=(g<0?-1:1)*j(on(0,T*T*A-P*P)),M=(P*g-m*I)/A,N=(-P*m-g*I)/A,w=(P*g+m*I)/A,p=(-P*m+g*I)/A,x=M-W,e=N-t,r=w-W,X=p-t;return x*x+e*e>r*r+X*X&&(M=w,N=p),{cx:M,cy:N,x01:-n,y01:-d,x11:M*(v/T-1),y11:N*(v/T-1)}}function hn(){var l=cn,h=yn,D=Q(0),S=null,v=gn,R=dn,V=mn,a=null,E=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=R.apply(this,arguments)-un,W=rn(c-f),t=c>f;if(a||(a=n=E()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(W>tn-y)a.moveTo(s*Y(f),s*O(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*Y(c),u*O(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,A=f,T=c,P=W,I=W,M=V.apply(this,arguments)/2,N=M>y&&(S?+S.apply(this,arguments):j(u*u+s*s)),w=_(rn(s-u)/2,+D.apply(this,arguments)),p=w,x=w,e,r;if(N>y){var X=sn(N/u*O(M)),z=sn(N/s*O(M));(P-=X*2)>y?(X*=t?1:-1,A+=X,T-=X):(P=0,A=T=(f+c)/2),(I-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(I=0,m=g=(f+c)/2)}var Z=s*Y(m),$=s*O(m),B=u*Y(T),C=u*O(T);if(w>y){var F=s*Y(g),G=s*O(g),J=u*Y(A),K=u*O(A),q;if(W<an)if(q=pn(Z,$,J,K,F,G,B,C)){var L=Z-q[0],U=$-q[1],k=F-q[0],b=G-q[1],nn=1/O(fn((L*k+U*b)/(j(L*L+U*U)*j(k*k+b*b)))/2),en=j(q[0]*q[0]+q[1]*q[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}I>y?x>y?(e=H(J,K,Z,$,s,x,t),r=H(F,G,B,C,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(Z,$),a.arc(0,0,s,m,g,!t)):a.moveTo(Z,$),!(u>y)||!(P>y)?a.lineTo(B,C):p>y?(e=H(B,C,F,G,u,-p,t),r=H(Z,$,J,K,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,A,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-an/2;return[Y(d)*n,O(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:Q(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:Q(+n),i):h},i.cornerRadius=function(n){return arguments.length?(D=typeof n=="function"?n:Q(+n),i):D},i.padRadius=function(n){return arguments.length?(S=n==null?null:typeof n=="function"?n:Q(+n),i):S},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:Q(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:Q(+n),i):R},i.padAngle=function(n){return arguments.length?(V=typeof n=="function"?n:Q(+n),i):V},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{hn as d};
|