@zubriq/code 0.19.8-1 → 0.19.9-1
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/dist/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/dist/bundled/qc-helper/docs/features/channels/overview.md +23 -12
- package/dist/bundled/qc-helper/docs/features/channels/plugins.md +1 -0
- package/dist/bundled/qc-helper/docs/features/channels/wecom.md +111 -0
- package/dist/bundled/qc-helper/docs/features/hooks.md +36 -34
- package/dist/bundled/qc-helper/docs/features/memory.md +1 -1
- package/dist/bundled/qc-helper/docs/qwen-serve.md +17 -10
- package/dist/bundled/review/SKILL.md +6 -2
- package/dist/chunks/{MaxSizedBox-OWTCJQNO.js → MaxSizedBox-W6SAJMJC.js} +13 -11
- package/dist/chunks/{StandaloneSessionPicker-6NGEQFBH.js → StandaloneSessionPicker-YBKZZKIA.js} +28 -23
- package/dist/chunks/{acpAgent-XPRWSNOW.js → acpAgent-SQJQBOTS.js} +110 -80
- package/dist/chunks/{agent-TB6S4VXU.js → agent-QU7Q2RZN.js} +8 -8
- package/dist/chunks/{agent-headless-R3XYK5TT.js → agent-headless-PBHLWHND.js} +8 -8
- package/dist/chunks/{anthropicContentGenerator-FZQAEMYK.js → anthropicContentGenerator-52G6ZA3D.js} +31 -4
- package/dist/chunks/{artifact-tool-H2TNPNP5.js → artifact-tool-D233YJFH.js} +25 -6
- package/dist/chunks/{bridge-HVRG6SMU.js → bridge-LJLLDUMW.js} +17 -14
- package/dist/chunks/{ca-HCMB2I54.js → ca-MKD32FQL.js} +26 -1
- package/dist/chunks/{channel-worker-supervisor-B7MSMB5K.js → channel-worker-supervisor-NZQUOEFJ.js} +3 -3
- package/dist/chunks/{chunk-YRM6BC6H.js → chunk-27AYMAL6.js} +506 -63
- package/dist/chunks/{chunk-536GZ6UF.js → chunk-2MDC5WDB.js} +17 -111
- package/dist/chunks/{chunk-H3D6XAOL.js → chunk-2PRSBVPI.js} +3 -3
- package/dist/chunks/chunk-332PWN27.js +19 -0
- package/dist/chunks/{chunk-FVMWEHWU.js → chunk-3B26UVCX.js} +114 -12
- package/dist/chunks/{chunk-ZM5BPDXV.js → chunk-3F22JT4E.js} +1 -1
- package/dist/chunks/{chunk-W6RH6KHR.js → chunk-3GPVYALM.js} +4 -2
- package/dist/chunks/{chunk-G7ZG7CA6.js → chunk-3UP777ZS.js} +8 -7
- package/dist/chunks/{chunk-PA7QS4X5.js → chunk-43W4YSO6.js} +1 -12
- package/dist/chunks/{chunk-5EB2HK3X.js → chunk-4IK56VLC.js} +1 -1
- package/dist/chunks/{chunk-UE5TCZE6.js → chunk-5FAUIGXH.js} +5 -13
- package/dist/chunks/{chunk-VEB3NYSO.js → chunk-5MBO76SL.js} +5 -0
- package/dist/chunks/{chunk-PDITONOB.js → chunk-5MRUKUOG.js} +5347 -4132
- package/dist/chunks/{chunk-4UC3U66K.js → chunk-6EUMFVPJ.js} +5 -5
- package/dist/chunks/{chunk-YOGGIAGF.js → chunk-6JL5OVLX.js} +1 -1
- package/dist/chunks/{chunk-QG4ZO2EB.js → chunk-74E6VVF6.js} +11 -11
- package/dist/chunks/chunk-A2X3KLC3.js +3807 -0
- package/dist/chunks/{chunk-BA4HLTG2.js → chunk-B6B2MUUF.js} +5 -5
- package/dist/chunks/{chunk-XKYOIERV.js → chunk-BN5VYAOZ.js} +681 -1239
- package/dist/chunks/{chunk-IO76BGJ3.js → chunk-BYUA6YYS.js} +15 -9
- package/dist/chunks/{chunk-NCFY7PWS.js → chunk-CCGOFQV3.js} +51 -2
- package/dist/chunks/{chunk-66KNL43D.js → chunk-CD6USWHZ.js} +1 -1
- package/dist/chunks/{chunk-ZWSTIPSW.js → chunk-CEITMQ62.js} +2 -2
- package/dist/chunks/{chunk-7AQTBTVY.js → chunk-EJP6Z7NU.js} +4 -3
- package/dist/chunks/{chunk-RTW5ZXHO.js → chunk-EZTNYRHH.js} +6 -5
- package/dist/chunks/{chunk-MJQFA66Z.js → chunk-FAATDXYS.js} +308 -81
- package/dist/chunks/{chunk-DNV4FSN5.js → chunk-FBET5XZ2.js} +6 -4
- package/dist/chunks/{chunk-HTC4R67V.js → chunk-FES4YXJ3.js} +9 -9
- package/dist/chunks/{chunk-NBKE6QRZ.js → chunk-FHTUTVIQ.js} +10 -5
- package/dist/chunks/chunk-FII3C4E7.js +168 -0
- package/dist/chunks/{chunk-2NL7ED5Q.js → chunk-FV7425LN.js} +22 -1
- package/dist/chunks/{chunk-J6OET6C3.js → chunk-GAI76CFX.js} +4 -4
- package/dist/chunks/{chunk-B34OV7K2.js → chunk-GGQQA4JW.js} +13 -0
- package/dist/chunks/chunk-GLE2YUPU.js +34 -0
- package/dist/chunks/{chunk-X265R5C6.js → chunk-GN3F6PIU.js} +1 -1
- package/dist/chunks/{chunk-SM624MOZ.js → chunk-GWUN54UD.js} +1 -1
- package/dist/chunks/chunk-H3TELH3H.js +942 -0
- package/dist/chunks/{chunk-XZULYFIX.js → chunk-HD4DZI2L.js} +2 -2
- package/dist/chunks/{chunk-KLLLWQM2.js → chunk-HPQIVXSP.js} +1 -1
- package/dist/chunks/{chunk-WSVZFWN4.js → chunk-IBY3Q3HG.js} +693 -104
- package/dist/chunks/{chunk-JSEOX4CM.js → chunk-JGR6W4IX.js} +14 -8
- package/dist/chunks/chunk-K652V4NH.js +283 -0
- package/dist/chunks/{chunk-OCBJKHF2.js → chunk-KH2CZZDD.js} +2 -2
- package/dist/chunks/chunk-LGFAYIKX.js +115 -0
- package/dist/chunks/{chunk-QG5KDB6X.js → chunk-LZDW5TDV.js} +5 -5
- package/dist/chunks/{chunk-ENKWIF75.js → chunk-MA4AZNP7.js} +10 -10
- package/dist/chunks/{chunk-4RQIB5UZ.js → chunk-O2YT7VB4.js} +0 -34
- package/dist/chunks/{chunk-4KJ2BPIT.js → chunk-OACJLMLD.js} +2 -38
- package/dist/chunks/{chunk-ML2ZWH2K.js → chunk-PCWYMX57.js} +14 -153
- package/dist/chunks/{chunk-NHFBLJOI.js → chunk-Q3PQ5VGJ.js} +1 -1
- package/dist/chunks/{chunk-LGXBB2R2.js → chunk-QK3I36QG.js} +1 -1
- package/dist/chunks/chunk-RA7TR75G.js +8223 -0
- package/dist/chunks/{chunk-KSPVDFE4.js → chunk-SAIILPQ3.js} +0 -3
- package/dist/chunks/{chunk-DHKDK57Q.js → chunk-SNZPA74J.js} +146 -54
- package/dist/chunks/{chunk-PWR5MVM3.js → chunk-SSP3UT5C.js} +4 -4
- package/dist/chunks/{chunk-4LETJLG2.js → chunk-SUCRVT5L.js} +1 -1
- package/dist/chunks/{chunk-5YLZHETW.js → chunk-TRR5KGDN.js} +1 -1
- package/dist/chunks/chunk-UIDXQNMV.js +13 -0
- package/dist/chunks/{chunk-PIORL4OD.js → chunk-UKV3D7WB.js} +0 -44
- package/dist/chunks/chunk-UYNUIGUR.js +167 -0
- package/dist/chunks/chunk-V2TYBEWU.js +28 -0
- package/dist/chunks/chunk-V35MD7KN.js +13 -0
- package/dist/chunks/{chunk-N4HTVZDZ.js → chunk-VR3KCBHH.js} +1 -1
- package/dist/chunks/{chunk-APYUOROB.js → chunk-W4CTWW7M.js} +423 -61
- package/dist/chunks/{chunk-ABANKQYY.js → chunk-WJAW2O5H.js} +92 -465
- package/dist/chunks/{chunk-6RSBRKF5.js → chunk-WN4YJJGH.js} +2 -2
- package/dist/chunks/chunk-XNXVCNAT.js +88 -0
- package/dist/chunks/{chunk-TDGF35EN.js → chunk-XOHNA2S6.js} +1 -1
- package/dist/chunks/chunk-XQPMKWSV.js +487 -0
- package/dist/chunks/{chunk-4FQL7KUS.js → chunk-XWDHZP7P.js} +8 -8
- package/dist/chunks/{chunk-REPRY4F7.js → chunk-YCKKP4QA.js} +10 -10
- package/dist/chunks/{chunk-YNWQ3PUQ.js → chunk-YJWMOGGZ.js} +3 -3
- package/dist/chunks/{chunk-RFIL6REB.js → chunk-YKZIAK7C.js} +119 -29
- package/dist/chunks/{chunk-45YCXM2H.js → chunk-YZDBUH6S.js} +45 -9
- package/dist/chunks/chunk-Z3I3QJK3.js +47 -0
- package/dist/chunks/{chunk-G23FFNLT.js → chunk-ZDGPPCTW.js} +20 -8
- package/dist/chunks/chunk-ZL5HN75Q.js +61 -0
- package/dist/chunks/{chunk-IQX5S2RS.js → chunk-ZL7JCYWM.js} +66 -7
- package/dist/chunks/{computer-use-A72BECH4.js → computer-use-4B45EG2F.js} +8 -8
- package/dist/chunks/{contextCommand-RREXA4B7.js → contextCommand-GIVRWNTS.js} +12 -11
- package/dist/chunks/{cron-create-DDYU4DIR.js → cron-create-JSXEIPVS.js} +1 -1
- package/dist/chunks/{cron-delete-DFKOUZWN.js → cron-delete-OIFVEPGU.js} +1 -1
- package/dist/chunks/{cron-list-ME5QGAR5.js → cron-list-D4ZX4IOE.js} +1 -1
- package/dist/chunks/{daemon-XWG2EGFX.js → daemon-WPAENEBW.js} +71 -3
- package/dist/chunks/{daemon-status-provider-Y6AFXTET.js → daemon-status-provider-WBOAMCHE.js} +20 -17
- package/dist/chunks/{de-PLLFDERI.js → de-ZFPPQVSF.js} +26 -1
- package/dist/chunks/{dist-LPVU3L2M.js → dist-BEXOZXLQ.js} +6 -3792
- package/dist/chunks/{dist-7GU63KI5.js → dist-E6UANPIM.js} +1 -1
- package/dist/chunks/{dist-VHBP2PIG.js → dist-H2AEJCZ5.js} +2 -2
- package/dist/chunks/{dist-3UDX5T4T.js → dist-O2IRTRPP.js} +1 -1
- package/dist/chunks/dist-SCFLLYMK.js +3217 -0
- package/dist/chunks/{dist-H4HHZYCI.js → dist-Z34QPAQW.js} +2 -2
- package/dist/chunks/{earlyInputCapture-OAHBOGOO.js → earlyInputCapture-JWMCAJZR.js} +8 -8
- package/dist/chunks/{edit-SFYW3FOV.js → edit-O5FUVHBE.js} +9 -9
- package/dist/chunks/{en-AXARKOWO.js → en-N4EPZAQI.js} +31 -2
- package/dist/chunks/{enter-worktree-LUPPQ2NH.js → enter-worktree-LOJFRC3D.js} +8 -8
- package/dist/chunks/{enterPlanMode-44GEN5U6.js → enterPlanMode-VS3FAUPX.js} +8 -8
- package/dist/chunks/environment-WKW5TLSH.js +90 -0
- package/dist/chunks/{errors-H3Q3W3DL.js → errors-LEZXHJMR.js} +10 -10
- package/dist/chunks/{exit-worktree-34CVVWT4.js → exit-worktree-RN2NXRMP.js} +8 -8
- package/dist/chunks/{exitPlanMode-5G5BHNUP.js → exitPlanMode-EPC424I4.js} +8 -8
- package/dist/chunks/{fast-path-7PKGFBRM.js → fast-path-UUPAFOSQ.js} +12 -3
- package/dist/chunks/{fast-path-settings-RCRXH2JG.js → fast-path-settings-7RIFI3PK.js} +3 -2
- package/dist/chunks/{fr-MBMNQSQ6.js → fr-5WWMY53B.js} +30 -1
- package/dist/chunks/{gemini-2II6JH4H.js → gemini-QCKK4XNU.js} +438 -265
- package/dist/chunks/{geminiContentGenerator-SWEJVOC4.js → geminiContentGenerator-DX4SRXJA.js} +1 -1
- package/dist/chunks/{glob-5DFC7DXW.js → glob-4URMJWRX.js} +8 -8
- package/dist/chunks/{grep-QYVXGRRJ.js → grep-AEQB5KED.js} +8 -8
- package/dist/chunks/handleAutoUpdate-Y4YNG34Y.js +65 -0
- package/dist/chunks/{initializer-XX3UGUHE.js → initializer-NDEBMSOG.js} +17 -13
- package/dist/chunks/{ja-HFV5QCHR.js → ja-CUHZOLEJ.js} +30 -1
- package/dist/chunks/{list-AX5FWBVC.js → list-VSCBNOWT.js} +17 -15
- package/dist/chunks/{loadedSettingsAdapter-ISOM6GJ7.js → loadedSettingsAdapter-FDO752BA.js} +15 -13
- package/dist/chunks/{loop-wakeup-ZW5P6VPY.js → loop-wakeup-OHWEMFP5.js} +2 -2
- package/dist/chunks/{ls-L654WOAT.js → ls-7MFU2QYW.js} +1 -1
- package/dist/chunks/{lsp-M35KE54Y.js → lsp-XHDTPTGV.js} +2 -4
- package/dist/chunks/{mcp-74F6725E.js → mcp-MLPWTHUV.js} +15 -13
- package/dist/chunks/{monitor-W4WRSC2C.js → monitor-WCVHIJUJ.js} +16 -11
- package/dist/chunks/{nonInteractiveCli-4QMV6C4J.js → nonInteractiveCli-32HZK274.js} +52 -44
- package/dist/chunks/{notebook-edit-XBZEIP42.js → notebook-edit-NPOMPKS4.js} +9 -9
- package/dist/chunks/{openaiContentGenerator-RTUJDESE.js → openaiContentGenerator-6AIBSRQK.js} +6 -6
- package/dist/chunks/{pidfile-YWSGNTPK.js → pidfile-7Y3QEDSZ.js} +8 -8
- package/dist/chunks/{pt-2THT3YHA.js → pt-OLYN42DS.js} +26 -1
- package/dist/chunks/{qwenContentGenerator-4ZFYAZLY.js → qwenContentGenerator-OUYOAYT4.js} +10 -10
- package/dist/chunks/{read-file-D7DKDIAC.js → read-file-EESFA24L.js} +3 -3
- package/dist/chunks/{record-artifact-PP3LKHTS.js → record-artifact-SQ2OKRJW.js} +3 -3
- package/dist/chunks/{ripGrep-KG7JYNER.js → ripGrep-DLYV7ZZG.js} +8 -8
- package/dist/chunks/{ru-PER5I4OI.js → ru-MKM2HFDS.js} +26 -1
- package/dist/chunks/{run-qwen-serve-XGJSNF6S.js → run-qwen-serve-WUEHQROF.js} +602 -143
- package/dist/chunks/{scheduler-MOLWOE4G.js → scheduler-SK4Y66V4.js} +8 -8
- package/dist/chunks/{send-message-OA6MV4EU.js → send-message-76GT3JMC.js} +1 -1
- package/dist/chunks/{serve-4ZNVPYND.js → serve-UCDGVZFI.js} +17 -14
- package/dist/chunks/{server-ACWDFHIF.js → server-FVGFFVZ4.js} +1394 -328
- package/dist/chunks/{session-VYO2GRO2.js → session-RIGKDMGR.js} +53 -45
- package/dist/chunks/{settings-4J2O3K22.js → settings-LVFFGXGE.js} +24 -20
- package/dist/chunks/{shell-RKERJYXR.js → shell-PAWNAFYN.js} +8 -8
- package/dist/chunks/{skill-JYACZJ5V.js → skill-5YIN3Z6Y.js} +15 -5
- package/dist/chunks/{spawnChannel-BA3U3RGX.js → spawnChannel-KIMZHWNR.js} +10 -10
- package/dist/chunks/{src-3P337V4P.js → src-BIWCD3VX.js} +21 -9
- package/dist/chunks/{startInteractiveUI-SUSZ6FWB.js → startInteractiveUI-AFXLGUFI.js} +33759 -41620
- package/dist/chunks/{task-create-RPFZNB4B.js → task-create-WCHTB435.js} +2 -2
- package/dist/chunks/{task-update-5WUG5MVQ.js → task-update-XYWMHJGJ.js} +2 -2
- package/dist/chunks/{team-create-YVWGRZEA.js → team-create-26WOMISV.js} +8 -8
- package/dist/chunks/{team-plan-approval-VRF54TTI.js → team-plan-approval-B5XB6UQC.js} +8 -8
- package/dist/chunks/{theme-manager-JW2KOACL.js → theme-manager-4TJ5TEFD.js} +8 -8
- package/dist/chunks/{tool-search-KUSMAZBN.js → tool-search-FFU63E6M.js} +6 -23
- package/dist/chunks/total-session-admission-JOD7SMPJ.js +72 -0
- package/dist/chunks/{trustedFolders-ERGSUCDK.js → trustedFolders-IJ2QHXSC.js} +9 -9
- package/dist/chunks/updateCheck-5Z25DCBP.js +65 -0
- package/dist/chunks/{validateNonInterActiveAuth-DDI62H5X.js → validateNonInterActiveAuth-G5EY47DE.js} +49 -41
- package/dist/chunks/{version-VB3AHVUF.js → version-LGO3GOKQ.js} +2 -1
- package/dist/chunks/{workflow-WINKRCI4.js → workflow-ZTK3WT3D.js} +9 -9
- package/dist/chunks/{workspace-providers-status-ZVZPXKSO.js → workspace-providers-status-YMPTRKW2.js} +18 -15
- package/dist/chunks/workspace-registry-NBUL6LBH.js +74 -0
- package/dist/chunks/{workspace-service-GAS2LV2P.js → workspace-service-V6G2RCD4.js} +21 -19
- package/dist/chunks/{workspace-skills-status-4WGKYJVA.js → workspace-skills-status-ZCW44BCH.js} +16 -14
- package/dist/chunks/{write-file-UTLKVZNN.js → write-file-4FUTAEW6.js} +9 -9
- package/dist/chunks/{zh-RS3HZHFH.js → zh-J4F6QWQV.js} +31 -2
- package/dist/chunks/{zh-TW-L5GRQ4S4.js → zh-TW-XVDWOLSW.js} +31 -2
- package/dist/cli.js +11 -11
- package/dist/locales/ca.js +30 -0
- package/dist/locales/de.js +30 -0
- package/dist/locales/en.js +38 -2
- package/dist/locales/fr.js +36 -0
- package/dist/locales/ja.js +36 -0
- package/dist/locales/pt.js +30 -0
- package/dist/locales/ru.js +30 -0
- package/dist/locales/zh-TW.js +38 -2
- package/dist/locales/zh.js +38 -2
- package/dist/package.json +3 -3
- package/dist/web-shell/assets/{arc-C6tzvtOa.js → arc-BWyoJpY2.js} +1 -1
- package/dist/web-shell/assets/{architectureDiagram-3BPJPVTR-DSYQFGn9.js → architectureDiagram-3BPJPVTR-BT0mGrz2.js} +1 -1
- package/dist/web-shell/assets/{blockDiagram-GPEHLZMM-CHjBdXAD.js → blockDiagram-GPEHLZMM-BLgUWvyf.js} +1 -1
- package/dist/web-shell/assets/{c4Diagram-AAUBKEIU-BQzK6Yyb.js → c4Diagram-AAUBKEIU-DYx9M7oU.js} +1 -1
- package/dist/web-shell/assets/channel-wmPUGHtg.js +1 -0
- package/dist/web-shell/assets/{chunk-2J33WTMH-hpP2p3Ij.js → chunk-2J33WTMH-CfMHWbuZ.js} +1 -1
- package/dist/web-shell/assets/{chunk-4BX2VUAB-B5KtK1JJ.js → chunk-4BX2VUAB-B1URoqEV.js} +1 -1
- package/dist/web-shell/assets/{chunk-55IACEB6-BDv6Mfr2.js → chunk-55IACEB6-DAIaM4QF.js} +1 -1
- package/dist/web-shell/assets/{chunk-727SXJPM-BevPWfrX.js → chunk-727SXJPM-B2X34knw.js} +1 -1
- package/dist/web-shell/assets/{chunk-AQP2D5EJ-ChDrz2ad.js → chunk-AQP2D5EJ-Cif-zLTQ.js} +1 -1
- package/dist/web-shell/assets/{chunk-FMBD7UC4-ClMdVSDs.js → chunk-FMBD7UC4-H18WCXdY.js} +1 -1
- package/dist/web-shell/assets/{chunk-ND2GUHAM-BceV8kZS.js → chunk-ND2GUHAM-YFtetHi0.js} +1 -1
- package/dist/web-shell/assets/{chunk-QZHKN3VN-DtyK2wwc.js → chunk-QZHKN3VN-By2hiH3r.js} +1 -1
- package/dist/web-shell/assets/classDiagram-4FO5ZUOK-BA2ljEjW.js +1 -0
- package/dist/web-shell/assets/classDiagram-v2-Q7XG4LA2-BA2ljEjW.js +1 -0
- package/dist/web-shell/assets/{cose-bilkent-S5V4N54A-BGMsqwmE.js → cose-bilkent-S5V4N54A-VrcnnLZu.js} +1 -1
- package/dist/web-shell/assets/{dagre-BM42HDAG-C-71clpF.js → dagre-BM42HDAG-CGo-IaVV.js} +1 -1
- package/dist/web-shell/assets/{diagram-2AECGRRQ-WIzzlkec.js → diagram-2AECGRRQ-Dl4QjzIB.js} +1 -1
- package/dist/web-shell/assets/{diagram-5GNKFQAL-CtnhZUP1.js → diagram-5GNKFQAL-qMLmsO0u.js} +1 -1
- package/dist/web-shell/assets/{diagram-KO2AKTUF-CS_IUezp.js → diagram-KO2AKTUF-CHlmuxPI.js} +1 -1
- package/dist/web-shell/assets/{diagram-LMA3HP47-BQnGRwN9.js → diagram-LMA3HP47-BUwU3GwT.js} +1 -1
- package/dist/web-shell/assets/{diagram-OG6HWLK6-By2VIocq.js → diagram-OG6HWLK6-HEhwPDUM.js} +1 -1
- package/dist/web-shell/assets/{erDiagram-TEJ5UH35-Dy8WeNkr.js → erDiagram-TEJ5UH35-1n0llBmM.js} +1 -1
- package/dist/web-shell/assets/{flowDiagram-I6XJVG4X-Diu_4y0w.js → flowDiagram-I6XJVG4X-BN74uMnt.js} +1 -1
- package/dist/web-shell/assets/{ganttDiagram-6RSMTGT7-CH8euujP.js → ganttDiagram-6RSMTGT7-BoOq78i3.js} +1 -1
- package/dist/web-shell/assets/{gitGraphDiagram-PVQCEYII-DHiObZq1.js → gitGraphDiagram-PVQCEYII-CN8b00c8.js} +1 -1
- package/dist/web-shell/assets/index-CNwoO1Cn.js +783 -0
- package/dist/web-shell/assets/index-CWQ0z6kZ.css +5 -0
- package/dist/web-shell/assets/{infoDiagram-5YYISTIA-CvC9A6fh.js → infoDiagram-5YYISTIA-CCurnIna.js} +1 -1
- package/dist/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BK46kC4E.js → ishikawaDiagram-YF4QCWOH-AwuRqdUP.js} +1 -1
- package/dist/web-shell/assets/{journeyDiagram-JHISSGLW-B2TIiKq4.js → journeyDiagram-JHISSGLW-B7IICk-E.js} +1 -1
- package/dist/web-shell/assets/{kanban-definition-UN3LZRKU-Bh0WAulO.js → kanban-definition-UN3LZRKU-BYF0OKhx.js} +1 -1
- package/dist/web-shell/assets/{linear-Bxe9SHMk.js → linear-GWWguGfD.js} +1 -1
- package/dist/web-shell/assets/{mermaid.core-B1Pv6D5B.js → mermaid.core-JqtkxvCl.js} +5 -5
- package/dist/web-shell/assets/{mindmap-definition-RKZ34NQL-Bz0joLH8.js → mindmap-definition-RKZ34NQL-B0MmHsZ6.js} +1 -1
- package/dist/web-shell/assets/{pieDiagram-4H26LBE5-CnN4x-VS.js → pieDiagram-4H26LBE5-DhImUZLQ.js} +1 -1
- package/dist/web-shell/assets/{quadrantDiagram-W4KKPZXB-BYWD4xO4.js → quadrantDiagram-W4KKPZXB-DGeSC3DT.js} +1 -1
- package/dist/web-shell/assets/{requirementDiagram-4Y6WPE33-B4MEhI9h.js → requirementDiagram-4Y6WPE33-DkspY6Re.js} +1 -1
- package/dist/web-shell/assets/{sankeyDiagram-5OEKKPKP-Dk_FgKLp.js → sankeyDiagram-5OEKKPKP-CaOofS2x.js} +1 -1
- package/dist/web-shell/assets/{sequenceDiagram-3UESZ5HK-B4ksiBZQ.js → sequenceDiagram-3UESZ5HK-DFQ_kFnN.js} +1 -1
- package/dist/web-shell/assets/{stateDiagram-AJRCARHV-CYf0xSPl.js → stateDiagram-AJRCARHV-D3snw0Tz.js} +1 -1
- package/dist/web-shell/assets/stateDiagram-v2-BHNVJYJU-BbSm_9d0.js +1 -0
- package/dist/web-shell/assets/{timeline-definition-PNZ67QCA-0CXeWHNY.js → timeline-definition-PNZ67QCA-l4zH8nLM.js} +1 -1
- package/dist/web-shell/assets/{vennDiagram-CIIHVFJN-DHoYY9v2.js → vennDiagram-CIIHVFJN-BnRlA98M.js} +1 -1
- package/dist/web-shell/assets/{wardley-L42UT6IY-D_65qshr.js → wardley-L42UT6IY-BS0xUdmd.js} +1 -1
- package/dist/web-shell/assets/{wardleyDiagram-YWT4CUSO-Cv90x1sd.js → wardleyDiagram-YWT4CUSO-DKGBUWyQ.js} +1 -1
- package/dist/web-shell/assets/{xychartDiagram-2RQKCTM6-5FQCYJyh.js → xychartDiagram-2RQKCTM6-DVb2HuOB.js} +1 -1
- package/dist/web-shell/index.html +2 -2
- package/package.json +3 -2
- package/dist/web-shell/assets/channel-V-ZaJrA6.js +0 -1
- package/dist/web-shell/assets/classDiagram-4FO5ZUOK-s-H0snGT.js +0 -1
- package/dist/web-shell/assets/classDiagram-v2-Q7XG4LA2-s-H0snGT.js +0 -1
- package/dist/web-shell/assets/index-DW75jq0K.css +0 -5
- package/dist/web-shell/assets/index-tiCo0xbZ.js +0 -779
- package/dist/web-shell/assets/stateDiagram-v2-BHNVJYJU-CMtrFRUb.js +0 -1
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MA4AZNP7.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5MRUKUOG.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27AYMAL6.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
23
|
} from "./chunk-22MNNNXE.js";
|
|
@@ -65,7 +65,14 @@ function validateTheme(settings) {
|
|
|
65
65
|
__name(validateTheme, "validateTheme");
|
|
66
66
|
|
|
67
67
|
// packages/cli/src/core/initializer.ts
|
|
68
|
-
async function
|
|
68
|
+
async function connectIdeForStartup(config) {
|
|
69
|
+
if (!config.getIdeMode()) return;
|
|
70
|
+
const ideClient = await IdeClient.getInstance();
|
|
71
|
+
await ideClient.connect();
|
|
72
|
+
logIdeConnection(config, new IdeConnectionEvent("start" /* START */));
|
|
73
|
+
}
|
|
74
|
+
__name(connectIdeForStartup, "connectIdeForStartup");
|
|
75
|
+
async function initializeApp(config, settings, options = {}) {
|
|
69
76
|
await initializeI18n(
|
|
70
77
|
resolveLanguageSetting(settings.merged.general?.language)
|
|
71
78
|
);
|
|
@@ -73,10 +80,8 @@ async function initializeApp(config, settings) {
|
|
|
73
80
|
const authError = await performInitialAuth(config, authType);
|
|
74
81
|
const themeError = validateTheme(settings);
|
|
75
82
|
const shouldOpenAuthDialog = !config.getModelsConfig().wasAuthTypeExplicitlyProvided() || !!authError;
|
|
76
|
-
if (
|
|
77
|
-
|
|
78
|
-
await ideClient.connect();
|
|
79
|
-
logIdeConnection(config, new IdeConnectionEvent("start" /* START */));
|
|
83
|
+
if (!options.deferIdeConnection) {
|
|
84
|
+
await connectIdeForStartup(config);
|
|
80
85
|
}
|
|
81
86
|
return {
|
|
82
87
|
authError,
|
|
@@ -88,6 +93,7 @@ async function initializeApp(config, settings) {
|
|
|
88
93
|
__name(initializeApp, "initializeApp");
|
|
89
94
|
|
|
90
95
|
export {
|
|
96
|
+
connectIdeForStartup,
|
|
91
97
|
initializeApp
|
|
92
98
|
};
|
|
93
99
|
/**
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
appEvents
|
|
5
|
+
} from "./chunk-W4CTWW7M.js";
|
|
6
|
+
import {
|
|
7
|
+
require_undici
|
|
8
|
+
} from "./chunk-54YZOP7P.js";
|
|
9
|
+
import {
|
|
10
|
+
IdeClient,
|
|
11
|
+
getAllProviderBaseUrls
|
|
12
|
+
} from "./chunk-5MRUKUOG.js";
|
|
13
|
+
import {
|
|
14
|
+
initializeTelemetry
|
|
15
|
+
} from "./chunk-27AYMAL6.js";
|
|
16
|
+
import {
|
|
17
|
+
detectRuntime,
|
|
18
|
+
getOrCreateSharedDispatcher,
|
|
19
|
+
redactProxyCredentials
|
|
20
|
+
} from "./chunk-H6EMK6QK.js";
|
|
21
|
+
import {
|
|
22
|
+
createDebugLogger
|
|
23
|
+
} from "./chunk-22MNNNXE.js";
|
|
24
|
+
import {
|
|
25
|
+
recordStartupEvent
|
|
26
|
+
} from "./chunk-ITOGNELQ.js";
|
|
27
|
+
import {
|
|
28
|
+
init_esbuild_shims
|
|
29
|
+
} from "./chunk-A4BMJM77.js";
|
|
30
|
+
import {
|
|
31
|
+
__name,
|
|
32
|
+
__toESM
|
|
33
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
34
|
+
|
|
35
|
+
// packages/cli/src/startup/startup-prefetch.ts
|
|
36
|
+
init_esbuild_shims();
|
|
37
|
+
|
|
38
|
+
// packages/cli/src/utils/apiPreconnect.ts
|
|
39
|
+
init_esbuild_shims();
|
|
40
|
+
var import_undici = __toESM(require_undici(), 1);
|
|
41
|
+
var debugLogger = createDebugLogger("PRECONNECT");
|
|
42
|
+
var preconnectFired = false;
|
|
43
|
+
var DEFAULT_BASE_URLS = {
|
|
44
|
+
openai: "https://api.openai.com",
|
|
45
|
+
"qwen-oauth": "https://coding.dashscope.aliyuncs.com",
|
|
46
|
+
anthropic: "https://api.anthropic.com",
|
|
47
|
+
dashscope: "https://dashscope.aliyuncs.com"
|
|
48
|
+
};
|
|
49
|
+
var ALL_DEFAULT_URLS = [
|
|
50
|
+
...Object.values(DEFAULT_BASE_URLS),
|
|
51
|
+
...getAllProviderBaseUrls()
|
|
52
|
+
];
|
|
53
|
+
function shouldSkipPreconnect() {
|
|
54
|
+
if (process.env["NODE_EXTRA_CA_CERTS"]) {
|
|
55
|
+
debugLogger.debug("Skipping preconnect: custom CA certificate configured");
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
__name(shouldSkipPreconnect, "shouldSkipPreconnect");
|
|
61
|
+
function isInSandboxMode() {
|
|
62
|
+
return process.env["SANDBOX"] !== void 0;
|
|
63
|
+
}
|
|
64
|
+
__name(isInSandboxMode, "isInSandboxMode");
|
|
65
|
+
function isDefaultBaseUrl(baseUrl) {
|
|
66
|
+
const normalizedInput = baseUrl.toLowerCase().replace(/^https?:\/\//, "").replace(/\/+$/, "");
|
|
67
|
+
return ALL_DEFAULT_URLS.some((defaultUrl) => {
|
|
68
|
+
const normalizedDefault = defaultUrl.toLowerCase().replace(/^https?:\/\//, "").replace(/\/+$/, "");
|
|
69
|
+
return normalizedInput === normalizedDefault || normalizedInput.startsWith(normalizedDefault + "/");
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
__name(isDefaultBaseUrl, "isDefaultBaseUrl");
|
|
73
|
+
function getPreconnectTargetUrl(authType, resolvedBaseUrl) {
|
|
74
|
+
if (resolvedBaseUrl && /^https?:\/\//i.test(resolvedBaseUrl)) {
|
|
75
|
+
if (isDefaultBaseUrl(resolvedBaseUrl)) {
|
|
76
|
+
return resolvedBaseUrl;
|
|
77
|
+
}
|
|
78
|
+
debugLogger.debug(
|
|
79
|
+
"Skipping preconnect: resolved baseUrl is not a default URL"
|
|
80
|
+
);
|
|
81
|
+
return void 0;
|
|
82
|
+
}
|
|
83
|
+
if (authType && DEFAULT_BASE_URLS[authType]) {
|
|
84
|
+
return DEFAULT_BASE_URLS[authType];
|
|
85
|
+
}
|
|
86
|
+
return void 0;
|
|
87
|
+
}
|
|
88
|
+
__name(getPreconnectTargetUrl, "getPreconnectTargetUrl");
|
|
89
|
+
function preconnectApi(authType, options = {}) {
|
|
90
|
+
if (preconnectFired) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (process.env["QWEN_CODE_DISABLE_PRECONNECT"] === "1") {
|
|
94
|
+
debugLogger.debug("Preconnect disabled by environment variable");
|
|
95
|
+
preconnectFired = true;
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (isInSandboxMode()) {
|
|
99
|
+
debugLogger.debug("Skipping preconnect: sandbox mode detected");
|
|
100
|
+
preconnectFired = true;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (shouldSkipPreconnect()) {
|
|
104
|
+
preconnectFired = true;
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
if (detectRuntime() !== "node") {
|
|
108
|
+
debugLogger.debug("Skipping preconnect: unsupported runtime");
|
|
109
|
+
preconnectFired = true;
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
if (!options.proxy) {
|
|
113
|
+
debugLogger.debug("Skipping preconnect dispatcher: no proxy configured");
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
const proxy = options.proxy;
|
|
117
|
+
const targetUrl = getPreconnectTargetUrl(authType, options.resolvedBaseUrl);
|
|
118
|
+
if (!targetUrl) {
|
|
119
|
+
debugLogger.debug("No target URL for preconnect");
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
preconnectFired = true;
|
|
123
|
+
debugLogger.debug(`Preconnecting to: ${targetUrl}`);
|
|
124
|
+
try {
|
|
125
|
+
const dispatcher = getOrCreateSharedDispatcher(proxy);
|
|
126
|
+
(0, import_undici.fetch)(targetUrl, {
|
|
127
|
+
method: "HEAD",
|
|
128
|
+
signal: AbortSignal.timeout(5e3),
|
|
129
|
+
headers: {
|
|
130
|
+
"User-Agent": "QwenCode-Preconnect/1.0"
|
|
131
|
+
},
|
|
132
|
+
dispatcher
|
|
133
|
+
}).then(() => {
|
|
134
|
+
debugLogger.debug("Preconnect completed");
|
|
135
|
+
}).catch((error) => {
|
|
136
|
+
const redactedError = redactProxyCredentials(String(error));
|
|
137
|
+
debugLogger.debug(`Preconnect failed (ignored): ${redactedError}`);
|
|
138
|
+
});
|
|
139
|
+
} catch (error) {
|
|
140
|
+
const redactedError = redactProxyCredentials(String(error));
|
|
141
|
+
debugLogger.debug(`Preconnect failed (ignored): ${redactedError}`);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
__name(preconnectApi, "preconnectApi");
|
|
145
|
+
|
|
146
|
+
// packages/cli/src/startup/startup-prefetch.ts
|
|
147
|
+
var debugLogger2 = createDebugLogger("STARTUP_PREFETCH");
|
|
148
|
+
var DEFERRED_IDE_CONNECT_TIMEOUT_MS = 15e3;
|
|
149
|
+
var earlyStarted = /* @__PURE__ */ new WeakSet();
|
|
150
|
+
var postRenderStarted = /* @__PURE__ */ new WeakSet();
|
|
151
|
+
function withTimeout(promise, name, timeoutMs, onTimeout = () => {
|
|
152
|
+
}) {
|
|
153
|
+
let timeoutId;
|
|
154
|
+
let timedOut = false;
|
|
155
|
+
const runTimeoutCleanup = /* @__PURE__ */ __name(() => {
|
|
156
|
+
void Promise.resolve().then(onTimeout).catch((err) => {
|
|
157
|
+
debugLogger2.debug(`${name} timeout cleanup failed:`, err);
|
|
158
|
+
});
|
|
159
|
+
}, "runTimeoutCleanup");
|
|
160
|
+
const timeout = new Promise((_, reject) => {
|
|
161
|
+
timeoutId = setTimeout(() => {
|
|
162
|
+
timedOut = true;
|
|
163
|
+
runTimeoutCleanup();
|
|
164
|
+
reject(new Error(`${name} timed out after ${timeoutMs}ms`));
|
|
165
|
+
}, timeoutMs);
|
|
166
|
+
timeoutId.unref?.();
|
|
167
|
+
});
|
|
168
|
+
void promise.then(
|
|
169
|
+
() => {
|
|
170
|
+
if (timedOut) {
|
|
171
|
+
runTimeoutCleanup();
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
(err) => {
|
|
175
|
+
if (timedOut) {
|
|
176
|
+
debugLogger2.debug(`${name} underlying error after timeout:`, err);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
);
|
|
180
|
+
return Promise.race([promise, timeout]).finally(() => {
|
|
181
|
+
if (timeoutId) {
|
|
182
|
+
clearTimeout(timeoutId);
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
__name(withTimeout, "withTimeout");
|
|
187
|
+
function runDeferredTask(name, task) {
|
|
188
|
+
recordStartupEvent("startup_prefetch_started", { name });
|
|
189
|
+
void Promise.resolve().then(task).then(() => {
|
|
190
|
+
recordStartupEvent("startup_prefetch_completed", { name });
|
|
191
|
+
}).catch((err) => {
|
|
192
|
+
recordStartupEvent("startup_prefetch_failed", { name });
|
|
193
|
+
debugLogger2.warn(`${name} failed:`, err);
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
__name(runDeferredTask, "runDeferredTask");
|
|
197
|
+
async function disconnectIdeAfterDeferredTimeout() {
|
|
198
|
+
const ideClient = await IdeClient.getInstance();
|
|
199
|
+
await ideClient.disconnect();
|
|
200
|
+
}
|
|
201
|
+
__name(disconnectIdeAfterDeferredTimeout, "disconnectIdeAfterDeferredTimeout");
|
|
202
|
+
function startEarlyStartupPrefetches(config) {
|
|
203
|
+
if (earlyStarted.has(config)) return;
|
|
204
|
+
earlyStarted.add(config);
|
|
205
|
+
try {
|
|
206
|
+
const modelsConfig = config.getModelsConfig();
|
|
207
|
+
const authType = modelsConfig.getCurrentAuthType();
|
|
208
|
+
const resolvedBaseUrl = modelsConfig.getGenerationConfig().baseUrl;
|
|
209
|
+
const proxy = config.getProxy();
|
|
210
|
+
preconnectApi(authType, { resolvedBaseUrl, proxy });
|
|
211
|
+
} catch (error) {
|
|
212
|
+
debugLogger2.debug(
|
|
213
|
+
`Preconnect skipped due to error getting authType: ${error}`
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
__name(startEarlyStartupPrefetches, "startEarlyStartupPrefetches");
|
|
218
|
+
function startPostRenderPrefetches(config, settings, options = {}) {
|
|
219
|
+
if (postRenderStarted.has(config)) return;
|
|
220
|
+
postRenderStarted.add(config);
|
|
221
|
+
if (settings.merged.general?.enableAutoUpdate !== false) {
|
|
222
|
+
runDeferredTask("update_check", async () => {
|
|
223
|
+
const [{ checkForUpdates }, { handleAutoUpdate }] = await Promise.all([
|
|
224
|
+
import("./updateCheck-5Z25DCBP.js"),
|
|
225
|
+
import("./handleAutoUpdate-Y4YNG34Y.js")
|
|
226
|
+
]);
|
|
227
|
+
const info = await checkForUpdates();
|
|
228
|
+
handleAutoUpdate(info, settings, config.getProjectRoot());
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
if (options.connectIde && config.getIdeMode()) {
|
|
232
|
+
runDeferredTask("ide_connect", async () => {
|
|
233
|
+
appEvents.emit("startup-ide-connection-status-changed" /* StartupIdeConnectionStatusChanged */, {
|
|
234
|
+
state: "connecting"
|
|
235
|
+
});
|
|
236
|
+
try {
|
|
237
|
+
const { connectIdeForStartup } = await import("./initializer-NDEBMSOG.js");
|
|
238
|
+
await withTimeout(
|
|
239
|
+
connectIdeForStartup(config),
|
|
240
|
+
"ide_connect",
|
|
241
|
+
DEFERRED_IDE_CONNECT_TIMEOUT_MS,
|
|
242
|
+
disconnectIdeAfterDeferredTimeout
|
|
243
|
+
);
|
|
244
|
+
appEvents.emit("startup-ide-connection-status-changed" /* StartupIdeConnectionStatusChanged */, {
|
|
245
|
+
state: "connected"
|
|
246
|
+
});
|
|
247
|
+
} catch (err) {
|
|
248
|
+
appEvents.emit("startup-ide-connection-status-changed" /* StartupIdeConnectionStatusChanged */, {
|
|
249
|
+
state: "failed",
|
|
250
|
+
message: err instanceof Error ? err.message : String(err)
|
|
251
|
+
});
|
|
252
|
+
throw err;
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
if (options.initializeTelemetry) {
|
|
257
|
+
runDeferredTask("telemetry_init", () => {
|
|
258
|
+
initializeTelemetry(config);
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
if (config.isInteractive()) {
|
|
262
|
+
runDeferredTask("background_housekeeping", async () => {
|
|
263
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-SK4Y66V4.js");
|
|
264
|
+
startBackgroundHousekeeping(config, settings);
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
__name(startPostRenderPrefetches, "startPostRenderPrefetches");
|
|
269
|
+
|
|
270
|
+
export {
|
|
271
|
+
startEarlyStartupPrefetches,
|
|
272
|
+
startPostRenderPrefetches
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* @license
|
|
276
|
+
* Copyright 2026 Qwen Team
|
|
277
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
278
|
+
*/
|
|
279
|
+
/**
|
|
280
|
+
* @license
|
|
281
|
+
* Copyright 2026 Qwen Code
|
|
282
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
283
|
+
*/
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BN5VYAOZ.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5MRUKUOG.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/get-east-asian-width/index.js
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
|
|
13
|
+
// node_modules/get-east-asian-width/lookup.js
|
|
14
|
+
init_esbuild_shims();
|
|
15
|
+
|
|
16
|
+
// node_modules/get-east-asian-width/lookup-data.js
|
|
17
|
+
init_esbuild_shims();
|
|
18
|
+
var ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
19
|
+
var fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
20
|
+
var halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
|
|
21
|
+
var narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
|
|
22
|
+
var wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
|
|
23
|
+
|
|
24
|
+
// node_modules/get-east-asian-width/utilities.js
|
|
25
|
+
init_esbuild_shims();
|
|
26
|
+
var isInRange = /* @__PURE__ */ __name((ranges, codePoint) => {
|
|
27
|
+
let low = 0;
|
|
28
|
+
let high = Math.floor(ranges.length / 2) - 1;
|
|
29
|
+
while (low <= high) {
|
|
30
|
+
const mid = Math.floor((low + high) / 2);
|
|
31
|
+
const i = mid * 2;
|
|
32
|
+
if (codePoint < ranges[i]) {
|
|
33
|
+
high = mid - 1;
|
|
34
|
+
} else if (codePoint > ranges[i + 1]) {
|
|
35
|
+
low = mid + 1;
|
|
36
|
+
} else {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}, "isInRange");
|
|
42
|
+
|
|
43
|
+
// node_modules/get-east-asian-width/lookup.js
|
|
44
|
+
var minimumAmbiguousCodePoint = ambiguousRanges[0];
|
|
45
|
+
var maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
|
|
46
|
+
var minimumFullWidthCodePoint = fullwidthRanges[0];
|
|
47
|
+
var maximumFullWidthCodePoint = fullwidthRanges.at(-1);
|
|
48
|
+
var minimumHalfWidthCodePoint = halfwidthRanges[0];
|
|
49
|
+
var maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
|
|
50
|
+
var minimumNarrowCodePoint = narrowRanges[0];
|
|
51
|
+
var maximumNarrowCodePoint = narrowRanges.at(-1);
|
|
52
|
+
var minimumWideCodePoint = wideRanges[0];
|
|
53
|
+
var maximumWideCodePoint = wideRanges.at(-1);
|
|
54
|
+
var commonCjkCodePoint = 19968;
|
|
55
|
+
var [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
|
|
56
|
+
function findWideFastPathRange(ranges) {
|
|
57
|
+
let fastPathStart = ranges[0];
|
|
58
|
+
let fastPathEnd = ranges[1];
|
|
59
|
+
for (let index = 0; index < ranges.length; index += 2) {
|
|
60
|
+
const start = ranges[index];
|
|
61
|
+
const end = ranges[index + 1];
|
|
62
|
+
if (commonCjkCodePoint >= start && commonCjkCodePoint <= end) {
|
|
63
|
+
return [start, end];
|
|
64
|
+
}
|
|
65
|
+
if (end - start > fastPathEnd - fastPathStart) {
|
|
66
|
+
fastPathStart = start;
|
|
67
|
+
fastPathEnd = end;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return [fastPathStart, fastPathEnd];
|
|
71
|
+
}
|
|
72
|
+
__name(findWideFastPathRange, "findWideFastPathRange");
|
|
73
|
+
var isAmbiguous = /* @__PURE__ */ __name((codePoint) => {
|
|
74
|
+
if (codePoint < minimumAmbiguousCodePoint || codePoint > maximumAmbiguousCodePoint) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return isInRange(ambiguousRanges, codePoint);
|
|
78
|
+
}, "isAmbiguous");
|
|
79
|
+
var isFullWidth = /* @__PURE__ */ __name((codePoint) => {
|
|
80
|
+
if (codePoint < minimumFullWidthCodePoint || codePoint > maximumFullWidthCodePoint) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return isInRange(fullwidthRanges, codePoint);
|
|
84
|
+
}, "isFullWidth");
|
|
85
|
+
var isWide = /* @__PURE__ */ __name((codePoint) => {
|
|
86
|
+
if (codePoint >= wideFastPathStart && codePoint <= wideFastPathEnd) {
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
if (codePoint < minimumWideCodePoint || codePoint > maximumWideCodePoint) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
return isInRange(wideRanges, codePoint);
|
|
93
|
+
}, "isWide");
|
|
94
|
+
|
|
95
|
+
// node_modules/get-east-asian-width/index.js
|
|
96
|
+
function validate(codePoint) {
|
|
97
|
+
if (!Number.isSafeInteger(codePoint)) {
|
|
98
|
+
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
__name(validate, "validate");
|
|
102
|
+
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
103
|
+
validate(codePoint);
|
|
104
|
+
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
105
|
+
return 2;
|
|
106
|
+
}
|
|
107
|
+
return 1;
|
|
108
|
+
}
|
|
109
|
+
__name(eastAsianWidth, "eastAsianWidth");
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
isFullWidth,
|
|
113
|
+
isWide,
|
|
114
|
+
eastAsianWidth
|
|
115
|
+
};
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./chunk-3GONHQOA.js";
|
|
6
6
|
import {
|
|
7
7
|
getErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WN4YJJGH.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WJAW2O5H.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentLanguage,
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MA4AZNP7.js";
|
|
18
18
|
import {
|
|
19
19
|
isWorkspaceTrusted
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VR3KCBHH.js";
|
|
21
21
|
import {
|
|
22
22
|
writeStderrLine,
|
|
23
23
|
writeStdoutLine
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
redactUrlCredentials,
|
|
30
30
|
require_prompts,
|
|
31
31
|
stripAnsi
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5MRUKUOG.js";
|
|
33
33
|
import {
|
|
34
34
|
init_esbuild_shims
|
|
35
35
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-Y6Z2O3WR.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveBundleDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5MRUKUOG.js";
|
|
9
9
|
import {
|
|
10
10
|
Storage
|
|
11
11
|
} from "./chunk-22MNNNXE.js";
|
|
@@ -158,15 +158,15 @@ init_esbuild_shims();
|
|
|
158
158
|
|
|
159
159
|
// import("./locales/**/*.js") in packages/cli/src/i18n/index.ts
|
|
160
160
|
var globImport_locales_js = __glob({
|
|
161
|
-
"./locales/ca.js": () => import("./ca-
|
|
162
|
-
"./locales/de.js": () => import("./de-
|
|
163
|
-
"./locales/en.js": () => import("./en-
|
|
164
|
-
"./locales/fr.js": () => import("./fr-
|
|
165
|
-
"./locales/ja.js": () => import("./ja-
|
|
166
|
-
"./locales/pt.js": () => import("./pt-
|
|
167
|
-
"./locales/ru.js": () => import("./ru-
|
|
168
|
-
"./locales/zh-TW.js": () => import("./zh-TW-
|
|
169
|
-
"./locales/zh.js": () => import("./zh-
|
|
161
|
+
"./locales/ca.js": () => import("./ca-MKD32FQL.js"),
|
|
162
|
+
"./locales/de.js": () => import("./de-ZFPPQVSF.js"),
|
|
163
|
+
"./locales/en.js": () => import("./en-N4EPZAQI.js"),
|
|
164
|
+
"./locales/fr.js": () => import("./fr-5WWMY53B.js"),
|
|
165
|
+
"./locales/ja.js": () => import("./ja-CUHZOLEJ.js"),
|
|
166
|
+
"./locales/pt.js": () => import("./pt-OLYN42DS.js"),
|
|
167
|
+
"./locales/ru.js": () => import("./ru-MKM2HFDS.js"),
|
|
168
|
+
"./locales/zh-TW.js": () => import("./zh-TW-XVDWOLSW.js"),
|
|
169
|
+
"./locales/zh.js": () => import("./zh-J4F6QWQV.js")
|
|
170
170
|
});
|
|
171
171
|
|
|
172
172
|
// packages/cli/src/i18n/index.ts
|
|
@@ -221,35 +221,6 @@ var V1_INDICATOR_KEYS = [
|
|
|
221
221
|
"disableCacheControl"
|
|
222
222
|
];
|
|
223
223
|
|
|
224
|
-
// packages/cli/src/config/shared-env-keys.ts
|
|
225
|
-
init_esbuild_shims();
|
|
226
|
-
var DEFAULT_EXCLUDED_ENV_VARS = ["DEBUG", "DEBUG_MODE"];
|
|
227
|
-
var ENV_CORRUPTED_PATH = "QWEN_CODE_SETTINGS_CORRUPTED_PATH";
|
|
228
|
-
var ENV_WAS_RECOVERED = "QWEN_CODE_SETTINGS_WAS_RECOVERED";
|
|
229
|
-
var PROJECT_ENV_HARDCODED_EXCLUSIONS = [
|
|
230
|
-
"QWEN_HOME",
|
|
231
|
-
"QWEN_RUNTIME_DIR",
|
|
232
|
-
"QWEN_CODE_MCP_APPROVALS_PATH",
|
|
233
|
-
"QWEN_CODE_TRUSTED_FOLDERS_PATH",
|
|
234
|
-
ENV_CORRUPTED_PATH,
|
|
235
|
-
ENV_WAS_RECOVERED,
|
|
236
|
-
// QWEN_TLS_INSECURE (and NODE_TLS_REJECT_UNAUTHORIZED, which it mirrors)
|
|
237
|
-
// disable TLS certificate verification for all outbound API connections. A
|
|
238
|
-
// project `.env` must never enable either — that would let an untrusted repo
|
|
239
|
-
// silently turn off MITM protection. Opt-in stays with the user via the
|
|
240
|
-
// `--insecure` flag, the shell environment, or a home `.env`. The initial
|
|
241
|
-
// `.env` load only consults this list, so both keys must be here (not just
|
|
242
|
-
// RELOAD_EXCLUDED_KEYS, which only applies on reload).
|
|
243
|
-
"QWEN_TLS_INSECURE",
|
|
244
|
-
"NODE_TLS_REJECT_UNAUTHORIZED"
|
|
245
|
-
];
|
|
246
|
-
var HOME_ENV_BOOTSTRAP_KEYS = [
|
|
247
|
-
"QWEN_HOME",
|
|
248
|
-
"QWEN_RUNTIME_DIR",
|
|
249
|
-
"QWEN_CODE_MCP_APPROVALS_PATH",
|
|
250
|
-
"QWEN_CODE_TRUSTED_FOLDERS_PATH"
|
|
251
|
-
];
|
|
252
|
-
|
|
253
224
|
// packages/cli/src/config/storage-paths-lite.ts
|
|
254
225
|
init_esbuild_shims();
|
|
255
226
|
import * as os from "node:os";
|
|
@@ -310,11 +281,6 @@ export {
|
|
|
310
281
|
V1_TO_V2_PRESERVE_DISABLE_MAP,
|
|
311
282
|
CONSOLIDATED_DISABLE_KEYS,
|
|
312
283
|
V1_INDICATOR_KEYS,
|
|
313
|
-
DEFAULT_EXCLUDED_ENV_VARS,
|
|
314
|
-
ENV_CORRUPTED_PATH,
|
|
315
|
-
ENV_WAS_RECOVERED,
|
|
316
|
-
PROJECT_ENV_HARDCODED_EXCLUSIONS,
|
|
317
|
-
HOME_ENV_BOOTSTRAP_KEYS,
|
|
318
284
|
SETTINGS_DIRECTORY_NAME,
|
|
319
285
|
resolveConfigPathLite,
|
|
320
286
|
getGlobalQwenDirLite,
|
|
@@ -39,42 +39,6 @@ function findGitRoot(startPath) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
__name(findGitRoot, "findGitRoot");
|
|
42
|
-
function findCanonicalGitRoot(startPath) {
|
|
43
|
-
const gitRoot = findGitRoot(startPath);
|
|
44
|
-
if (!gitRoot) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
try {
|
|
48
|
-
const gitContent = fs.readFileSync(path.join(gitRoot, ".git"), "utf-8").trim();
|
|
49
|
-
if (!gitContent.startsWith("gitdir:")) {
|
|
50
|
-
return gitRoot;
|
|
51
|
-
}
|
|
52
|
-
const worktreeGitDir = path.resolve(
|
|
53
|
-
gitRoot,
|
|
54
|
-
gitContent.slice("gitdir:".length).trim()
|
|
55
|
-
);
|
|
56
|
-
const commonDir = path.resolve(
|
|
57
|
-
worktreeGitDir,
|
|
58
|
-
fs.readFileSync(path.join(worktreeGitDir, "commondir"), "utf-8").trim()
|
|
59
|
-
);
|
|
60
|
-
if (path.resolve(path.dirname(worktreeGitDir)) !== path.join(commonDir, "worktrees")) {
|
|
61
|
-
return gitRoot;
|
|
62
|
-
}
|
|
63
|
-
const backlink = fs.realpathSync(
|
|
64
|
-
fs.readFileSync(path.join(worktreeGitDir, "gitdir"), "utf-8").trim()
|
|
65
|
-
);
|
|
66
|
-
if (backlink !== path.join(fs.realpathSync(gitRoot), ".git")) {
|
|
67
|
-
return gitRoot;
|
|
68
|
-
}
|
|
69
|
-
if (path.basename(commonDir) !== ".git") {
|
|
70
|
-
return commonDir.normalize("NFC");
|
|
71
|
-
}
|
|
72
|
-
return path.dirname(commonDir).normalize("NFC");
|
|
73
|
-
} catch {
|
|
74
|
-
return gitRoot;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
__name(findCanonicalGitRoot, "findCanonicalGitRoot");
|
|
78
42
|
function getMemoryBaseDir() {
|
|
79
43
|
if (process.env["QWEN_CODE_MEMORY_BASE_DIR"]) {
|
|
80
44
|
return resolvePath(void 0, process.env["QWEN_CODE_MEMORY_BASE_DIR"]);
|
|
@@ -94,11 +58,11 @@ function getAutoMemoryRoot(projectRoot) {
|
|
|
94
58
|
if (useLocalMemory) {
|
|
95
59
|
result = path.join(projectRoot, QWEN_DIR, AUTO_MEMORY_DIRNAME);
|
|
96
60
|
} else {
|
|
97
|
-
const
|
|
61
|
+
const gitRoot = findGitRoot(projectRoot) ?? path.resolve(projectRoot);
|
|
98
62
|
result = path.join(
|
|
99
63
|
memoryBaseDir,
|
|
100
64
|
"projects",
|
|
101
|
-
sanitizeCwd(
|
|
65
|
+
sanitizeCwd(gitRoot),
|
|
102
66
|
AUTO_MEMORY_DIRNAME
|
|
103
67
|
);
|
|
104
68
|
}
|