@qwen-code/qwen-code 0.20.1-preview.7215 → 0.20.2-gdpval-vl-agent.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +1 -1
- package/bundled/qc-helper/docs/features/auto-mode.md +19 -16
- package/bundled/qc-helper/docs/features/commands.md +54 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +16 -7
- package/bundled/qc-helper/docs/integration-github-action.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +2 -1
- package/bundled/review/DESIGN.md +2 -2
- package/bundled/review/SKILL.md +4 -4
- package/chunks/{MaxSizedBox-EH6G5AEH.js → MaxSizedBox-KYNG7EN7.js} +38 -35
- package/chunks/{StandaloneSessionPicker-264A3TEA.js → StandaloneSessionPicker-7XN4WVVG.js} +55 -52
- package/chunks/{acpAgent-6RBIJFDI.js → acpAgent-FTFFYP5G.js} +1536 -512
- package/chunks/{agent-QURXGAA3.js → agent-Y76LTTOT.js} +34 -31
- package/chunks/{agent-headless-CRGX4ICQ.js → agent-headless-IVAEQPK6.js} +34 -31
- package/chunks/{anthropicContentGenerator-BWBAZGTW.js → anthropicContentGenerator-HGWAHO24.js} +11 -13
- package/chunks/{artifact-tool-IUJ7QWCX.js → artifact-tool-56T5IMBP.js} +3 -3
- package/chunks/{askUserQuestion-IUMUUTDQ.js → askUserQuestion-E25OBIC2.js} +3 -3
- package/chunks/{bridge-MNFVKPMI.js → bridge-4M77KUEV.js} +39 -36
- package/chunks/{build-SSCNEHZZ.js → build-GHIZ4MSZ.js} +1 -1
- package/chunks/{ca-2SL2BXTK.js → ca-N6VVUFVB.js} +611 -201
- package/chunks/{channel-worker-group-53CMOPFT.js → channel-worker-group-QZV2SP5U.js} +4 -4
- package/chunks/{channel-worker-manager-UTXILKC2.js → channel-worker-manager-3GMAU45H.js} +4 -4
- package/chunks/{channel-worker-supervisor-ZGO2W2MD.js → channel-worker-supervisor-QCXSXCRY.js} +3 -3
- package/chunks/{chunk-UQES76OO.js → chunk-2HGTVAOW.js} +6 -6
- package/chunks/{chunk-2HOVDT7W.js → chunk-2LI23QA6.js} +1 -1
- package/chunks/{chunk-ANHT55MR.js → chunk-2P6CNEHB.js} +1 -1
- package/chunks/chunk-2RFKHEXL.js +74 -0
- package/chunks/{chunk-BF32GYSY.js → chunk-3IABAQR6.js} +1 -1
- package/chunks/chunk-3Z43GZUQ.js +32 -0
- package/chunks/chunk-43T5WDQ7.js +127 -0
- package/chunks/{chunk-DA7OOKVN.js → chunk-4CTP6VR6.js} +29 -2
- package/chunks/{chunk-JD3MKVKL.js → chunk-4K56OJFJ.js} +1 -1
- package/chunks/{chunk-KTUQMDEP.js → chunk-4K7VDKAD.js} +1 -1
- package/chunks/{chunk-QKYTTBYW.js → chunk-4LVZNIDO.js} +1 -1
- package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
- package/chunks/{chunk-7YBZGNEC.js → chunk-5G3ZVADU.js} +308 -199
- package/chunks/{chunk-X4CGDBKA.js → chunk-6GEJX3LE.js} +3 -3
- package/chunks/{chunk-6GUTHAN7.js → chunk-6HOCJNO5.js} +1 -1
- package/chunks/{chunk-GMGDLUC7.js → chunk-6IL7KRLE.js} +1 -1
- package/chunks/chunk-6PVPNMXU.js +29 -0
- package/chunks/{chunk-BDBMYST4.js → chunk-6X4GWOPW.js} +1 -1
- package/chunks/{chunk-4ODB7WIB.js → chunk-6ZBPS62S.js} +1 -1
- package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
- package/chunks/{chunk-WAX3ITOA.js → chunk-A3TAEAHX.js} +1 -1
- package/chunks/{chunk-OLMETXLX.js → chunk-ACW3VNUE.js} +2 -2
- package/chunks/{chunk-IB35C3IL.js → chunk-AVQ6EX4J.js} +1 -1
- package/chunks/{chunk-TTSKHF43.js → chunk-BK6UOUJ2.js} +2 -2
- package/chunks/{chunk-6OH6A5EX.js → chunk-BLAEKN6K.js} +20603 -17709
- package/chunks/chunk-BULDBTYC.js +153 -0
- package/chunks/{chunk-XNP57UDV.js → chunk-C3EXYVFX.js} +2 -2
- package/chunks/{chunk-FVS747N7.js → chunk-C54UTDOC.js} +23 -19
- package/chunks/{chunk-MAQQGNQ5.js → chunk-CBOQ3HY7.js} +466 -10
- package/chunks/{chunk-VFAE4AGH.js → chunk-CGZ5SV23.js} +72 -67
- package/chunks/{chunk-WKRXIHD6.js → chunk-COAARUPK.js} +8 -8
- package/chunks/{chunk-GA7VRJVN.js → chunk-E2ZK5M4P.js} +5 -5
- package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
- package/chunks/{chunk-E5GIFWE3.js → chunk-EEFRJ5CT.js} +54 -33
- package/chunks/{chunk-WXAXH7IJ.js → chunk-ESQHGKPJ.js} +1 -1
- package/chunks/{chunk-NEEB7UEN.js → chunk-FFFM6NJV.js} +1 -2
- package/chunks/{chunk-Z5R4JMOL.js → chunk-FJ2IUWNQ.js} +4 -4
- package/chunks/{chunk-JVTCARQ6.js → chunk-FQI7LT7T.js} +4 -4
- package/chunks/{chunk-BRXIO5WY.js → chunk-FTNI3D7D.js} +7 -7
- package/chunks/{chunk-OMH3276Y.js → chunk-GHRSKGHF.js} +7 -7
- package/chunks/{chunk-OONJNQ42.js → chunk-GPSKDNEE.js} +3 -3
- package/chunks/{chunk-KPZNOZPC.js → chunk-GWM4PDYK.js} +19 -19
- package/chunks/{chunk-NBMIC7DR.js → chunk-H24SOJIQ.js} +2 -2
- package/chunks/{chunk-FNGK2Z5B.js → chunk-H4AR2JQF.js} +3 -3
- package/chunks/{chunk-WOT64EP2.js → chunk-HCJQORKC.js} +2 -2
- package/chunks/{chunk-7KDI2IB2.js → chunk-HDATOR4J.js} +4 -4
- package/chunks/{chunk-IE4JSQ5L.js → chunk-HIYP7IR4.js} +39 -37
- package/chunks/{chunk-N6YTEVLV.js → chunk-HL6AKUGD.js} +10 -4
- package/chunks/{chunk-BAIEQKR5.js → chunk-HPQFGWOD.js} +5 -5
- package/chunks/chunk-HTR4WV6U.js +327 -0
- package/chunks/{chunk-SDXIH6OA.js → chunk-IFUNDCQ6.js} +137 -5
- package/chunks/{chunk-Z6UEAQTP.js → chunk-IFVECEIK.js} +178 -61
- package/chunks/{chunk-QOK6RMIP.js → chunk-IKP54WUL.js} +4 -4
- package/chunks/{chunk-IUSNI6IX.js → chunk-ISMD2AB3.js} +1 -1
- package/chunks/{chunk-G45X5TRN.js → chunk-JCW2R7WC.js} +1 -72
- package/chunks/{chunk-LZYWWWCZ.js → chunk-KF6CTNTJ.js} +8 -9
- package/chunks/{chunk-EIAK6Q2B.js → chunk-KHOVYUHX.js} +2 -2
- package/chunks/chunk-KWK7UE6L.js +6194 -0
- package/chunks/{chunk-WBTZGWQ6.js → chunk-L5F3T6TQ.js} +1 -1
- package/chunks/{chunk-RELYEO3R.js → chunk-L7ASZD66.js} +244 -1607
- package/chunks/{chunk-UJEZQ562.js → chunk-LESHKUWF.js} +3 -5
- package/chunks/{chunk-OOCI5VVU.js → chunk-LIZRAKPB.js} +1 -1
- package/chunks/{chunk-Q3ZBFXK4.js → chunk-LKB5YL5T.js} +143 -36
- package/chunks/{chunk-MKLKHZAK.js → chunk-LU3RXCM7.js} +1 -1
- package/chunks/{chunk-B453NMZJ.js → chunk-M3EQ3GZC.js} +3 -3
- package/chunks/{chunk-TCKTNY66.js → chunk-M4VFMLQK.js} +6 -6
- package/chunks/{chunk-26LLB6FM.js → chunk-MDZTPSXO.js} +2 -2
- package/chunks/{chunk-4SLLEAQP.js → chunk-MJPBB2GK.js} +591 -316
- package/chunks/chunk-NABLFI57.js +82 -0
- package/chunks/{chunk-T7DDD7CZ.js → chunk-NAXEEGJU.js} +4 -4
- package/chunks/{chunk-467G3SV5.js → chunk-NPQDJGKU.js} +1 -1
- package/chunks/{chunk-FLTN6NRU.js → chunk-O4OT3DM3.js} +5 -1
- package/chunks/{chunk-3EUZWNWA.js → chunk-OPDZT2VG.js} +1 -1
- package/chunks/chunk-OQ5SYCPE.js +10017 -0
- package/chunks/{chunk-C27BYUX6.js → chunk-OQB4EXO4.js} +14 -11
- package/chunks/{chunk-V25Z5UUB.js → chunk-P6PBZL3N.js} +7 -6
- package/chunks/{chunk-5NWV4NFB.js → chunk-PRAUGUNM.js} +3 -3
- package/chunks/{chunk-MC2DOZS7.js → chunk-PVT6E3ZI.js} +3 -3
- package/chunks/{chunk-KXEGCGUG.js → chunk-Q22WWVR6.js} +31 -6
- package/chunks/{chunk-JDI67JFB.js → chunk-Q2YKNMLS.js} +3 -3
- package/chunks/{chunk-PBATSWUQ.js → chunk-QBUDF33N.js} +1 -1
- package/chunks/{chunk-Y2ENGUD6.js → chunk-QKTHJXCS.js} +1 -1
- package/chunks/{chunk-BVLROR2T.js → chunk-QLJUC7TG.js} +1 -1
- package/chunks/{chunk-UEY4AYUL.js → chunk-QNLNLENL.js} +2 -2
- package/chunks/{chunk-OKWRU4NO.js → chunk-RC7A7SSL.js} +3 -3
- package/chunks/chunk-RCUEYZDE.js +2290 -0
- package/chunks/{chunk-EVSTCA7S.js → chunk-RMY5SX7S.js} +368 -113
- package/chunks/{chunk-4WUAQ2DO.js → chunk-RTQSXHS7.js} +2 -2
- package/chunks/{chunk-RFIAR4YL.js → chunk-RV4C2ZFG.js} +1 -1
- package/chunks/{chunk-NIJEXGV6.js → chunk-RVLZCXEE.js} +79 -10
- package/chunks/{chunk-Q4RBU7WX.js → chunk-S333CBIA.js} +6 -6
- package/chunks/{chunk-JNWZQ27S.js → chunk-SP5WRGVG.js} +3 -3
- package/chunks/{chunk-FSL5W5TI.js → chunk-T2L47JJK.js} +3 -3
- package/chunks/{chunk-PWVTCGBP.js → chunk-TA4S377U.js} +30 -20
- package/chunks/{chunk-TB6UDU4T.js → chunk-THJNPLI4.js} +16 -16
- package/chunks/chunk-U6TQGUNB.js +20687 -0
- package/chunks/chunk-U7ZFW55U.js +2098 -0
- package/chunks/{chunk-W7H223ZZ.js → chunk-UGYMA4EI.js} +1 -1
- package/chunks/{chunk-X6YQWCIJ.js → chunk-UH3WSE5L.js} +13 -1
- package/chunks/{chunk-P2YAOGJD.js → chunk-UKU3NGW6.js} +3 -3
- package/chunks/{chunk-NOWTNYC7.js → chunk-UVFCANV5.js} +8 -8
- package/chunks/{chunk-CVDW42JT.js → chunk-V4AKJQ26.js} +1 -1
- package/chunks/{chunk-Z5Q65RVH.js → chunk-VJPRLNLR.js} +1 -1
- package/chunks/{chunk-Y4CRUWFZ.js → chunk-VTXX72XS.js} +60 -35
- package/chunks/{chunk-R3VWUU2E.js → chunk-VYPFXUCB.js} +1 -1
- package/chunks/chunk-WHGVTP7Q.js +1049 -0
- package/chunks/{chunk-IKP5DXZY.js → chunk-WOWQQGGN.js} +5 -5
- package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
- package/chunks/chunk-XHATNRQA.js +1500 -0
- package/chunks/{chunk-2DXOIVUI.js → chunk-YLSB23Y2.js} +11 -11
- package/chunks/{chunk-S35ZDXOS.js → chunk-YM3SZTH4.js} +2 -1
- package/chunks/{chunk-OF2BBLYQ.js → chunk-YNWJAOPL.js} +2 -2
- package/chunks/{chunk-GKY2OJ7R.js → chunk-ZHERRXZJ.js} +1 -1
- package/chunks/{chunk-AR27OPIU.js → chunk-ZKFJKN23.js} +2 -2
- package/chunks/{computer-use-R7KA6UJ6.js → computer-use-UKQBH7UM.js} +39 -36
- package/chunks/{config-utils-6FXFJUYB.js → config-utils-FYTBZLCJ.js} +3 -3
- package/chunks/{contextCommand-KAQQPHZ4.js → contextCommand-ESHGAVWX.js} +36 -33
- package/chunks/{create-sub-session-TDPDBU4K.js → create-sub-session-574EPZUU.js} +34 -31
- package/chunks/{create-sub-session-X5RVIHCK.js → create-sub-session-AZ77LBL3.js} +3 -3
- package/chunks/{cron-create-AC5FFLN7.js → cron-create-KTWJM7QT.js} +5 -5
- package/chunks/{cron-delete-JEB3FAHA.js → cron-delete-2P3I5ULL.js} +5 -5
- package/chunks/{cron-list-NBYPCNIB.js → cron-list-PXDPGEDQ.js} +5 -5
- package/chunks/{daemon-RG2MAI6T.js → daemon-GJRFILYS.js} +323 -99
- package/chunks/daemon-status-provider-GZXZP3NU.js +80 -0
- package/chunks/{de-I7ZIYXZC.js → de-4IBXM7CN.js} +5 -1
- package/chunks/{dist-AU7NQQRP.js → dist-OAV7LJGJ.js} +1 -1
- package/chunks/{dist-FUTEXY6A.js → dist-OMW6WDEO.js} +1 -1
- package/chunks/{dist-2MIU4UUH.js → dist-PJLG2XYX.js} +1 -1
- package/chunks/{dist-53PZYC5B.js → dist-UIFWIFRO.js} +2 -2
- package/chunks/{dist-2BHAYBKP.js → dist-XBJVSWS2.js} +1 -1
- package/chunks/{dist-WGTQO7F2.js → dist-XRYV6TJP.js} +65 -25
- package/chunks/{earlyInputCapture-WC7RI5HV.js → earlyInputCapture-GI3HGQIT.js} +35 -32
- package/chunks/{edit-6MHKCJCM.js → edit-EBJK74B3.js} +42 -41
- package/chunks/{en-XE34GKAA.js → en-USMCCJAJ.js} +5 -1
- package/chunks/{enter-worktree-O7VJ2E7A.js → enter-worktree-2ETY5CSV.js} +39 -36
- package/chunks/{enterPlanMode-5XYAALIO.js → enterPlanMode-NY4U2727.js} +45 -37
- package/chunks/{environment-LSKFNLBU.js → environment-33IR3NOU.js} +36 -33
- package/chunks/{errors-ZFVCY6HG.js → errors-2OCY23IC.js} +36 -33
- package/chunks/{exit-worktree-MYIK66T7.js → exit-worktree-Y4ULJ45U.js} +39 -36
- package/chunks/{exitPlanMode-7MBNU76O.js → exitPlanMode-SECI2EQ6.js} +39 -36
- package/chunks/{fast-path-RNLIB64C.js → fast-path-6Z7RW5J5.js} +3 -2
- package/chunks/{fr-X7KDVZIY.js → fr-WVHEBDDB.js} +5 -1
- package/chunks/{gemini-WK5ISEAQ.js → gemini-XLGLUGSU.js} +93 -89
- package/chunks/{geminiContentGenerator-NUJQBZBW.js → geminiContentGenerator-NNZZDH24.js} +5 -5
- package/chunks/{getMachineId-bsd-EXV7SWPA.js → getMachineId-bsd-QFVLPUPT.js} +1 -1
- package/chunks/{getMachineId-darwin-IUOMFXU3.js → getMachineId-darwin-DGMQQE2E.js} +1 -1
- package/chunks/{getMachineId-linux-K7XJYFHL.js → getMachineId-linux-R4Z6CSWC.js} +1 -1
- package/chunks/{getMachineId-unsupported-EA5FDRJ6.js → getMachineId-unsupported-Z3SBVBUV.js} +1 -1
- package/chunks/{getMachineId-win-KBA6RAI5.js → getMachineId-win-SCK5UFDT.js} +1 -1
- package/chunks/{glob-7P6RYY4L.js → glob-KZA64SSV.js} +41 -38
- package/chunks/{grep-V3QHNP2J.js → grep-ONHQMY3V.js} +41 -38
- package/chunks/handleAutoUpdate-PRTJISXQ.js +73 -0
- package/chunks/{i18n-B7IO7WQT.js → i18n-ZTKKG5R5.js} +35 -32
- package/chunks/{initializer-E5TIC3CW.js → initializer-FPPZGBYN.js} +40 -37
- package/chunks/{installationInfo-XLPNAISK.js → installationInfo-DV2C27HT.js} +37 -32
- package/chunks/{ja-2ICT3KXF.js → ja-KY4ROZTE.js} +5 -1
- package/chunks/{keychain-token-storage-DWRJMNH3.js → keychain-token-storage-6ACJDYIB.js} +3 -3
- package/chunks/{list-3CZR5I42.js → list-KEHCNUAK.js} +42 -39
- package/chunks/{loadedSettingsAdapter-X5BSC6CE.js → loadedSettingsAdapter-7RZ6M3WH.js} +39 -36
- package/chunks/{loop-wakeup-HMHCT5GU.js → loop-wakeup-RNMRVA66.js} +6 -6
- package/chunks/{ls-IW5HYDG4.js → ls-J2ZI5XYK.js} +5 -5
- package/chunks/{lsp-4RL52YIZ.js → lsp-UMS3NUB5.js} +3 -3
- package/chunks/managed-npm-update-EBKNOG37.js +332 -0
- package/chunks/{mcp-4C4HWXAR.js → mcp-NHXKZRRP.js} +39 -36
- package/chunks/{monitor-3CJDNZB2.js → monitor-FMUAIFFH.js} +39 -36
- package/chunks/nonInteractiveCli-I2GPZNTP.js +132 -0
- package/chunks/{notebook-edit-MX366HCT.js → notebook-edit-V7RNXKVL.js} +43 -42
- package/chunks/{openaiContentGenerator-KRPNNJGZ.js → openaiContentGenerator-IBVUUZDH.js} +19 -18
- package/chunks/{pidfile-K7T2JLUJ.js → pidfile-AMTGL2H2.js} +35 -32
- package/chunks/{processUtils-YXL3VIBR.js → processUtils-3ZT2JF6D.js} +2 -2
- package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
- package/chunks/{qwenContentGenerator-GJVXFZ3U.js → qwenContentGenerator-E72VVWS3.js} +41 -38
- package/chunks/{qwenOAuth2-UZTIBQLY.js → qwenOAuth2-YCC3HP24.js} +17 -16
- package/chunks/{read-file-S5XQSYOW.js → read-file-5EWNGUXN.js} +13 -11
- package/chunks/{read-mcp-resource-OIBCNIX7.js → read-mcp-resource-F6HYMDUY.js} +3 -3
- package/chunks/{record-artifact-HDMK4LHG.js → record-artifact-7GCFLDD7.js} +3 -3
- package/chunks/{resumeHistoryUtils-IKR6XD2S.js → resumeHistoryUtils-IH4RNB76.js} +41 -38
- package/chunks/{ripGrep-H65GRSQX.js → ripGrep-B6A6N7GI.js} +34 -31
- package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
- package/chunks/{run-qwen-serve-7SKAQOAA.js → run-qwen-serve-6PKSMF6Z.js} +115 -74
- package/chunks/{runtime-I2STBGPR.js → runtime-ASRANXO6.js} +45 -40
- package/chunks/{scheduler-6F7HETNO.js → scheduler-IABM76UZ.js} +34 -31
- package/chunks/sdk-exporters-grpc-ETLH47EP.js +23214 -0
- package/chunks/sdk-exporters-http-6MCQH335.js +563 -0
- package/chunks/sdk-impl-HOLWAXC6.js +9193 -0
- package/chunks/{send-message-WXVVK4DB.js → send-message-KBO6X4ZS.js} +7 -5
- package/chunks/{serve-4ATEWSEA.js → serve-A4DT5D32.js} +39 -36
- package/chunks/{server-YPUPFV2O.js → server-DZ5ZSVRE.js} +2317 -472
- package/chunks/{session-AZFIERIY.js → session-G2R3CYU6.js} +87 -172
- package/chunks/{settings-EFQHLTM3.js → settings-7TNSXUTO.js} +43 -40
- package/chunks/{shell-FWXWBJ4Q.js → shell-5BRFGEMK.js} +34 -31
- package/chunks/{skill-A634MNCD.js → skill-3SWYEK7M.js} +24 -20
- package/chunks/{spawnChannel-KKBGGR47.js → spawnChannel-GGN2WVWW.js} +36 -33
- package/chunks/{src-BVROLD6N.js → src-5BPBNQ5S.js} +314 -236
- package/chunks/{standalone-update-ERLA3BDC.js → standalone-update-AHOZ56LS.js} +37 -34
- package/chunks/{startInteractiveUI-3VZ23WAY.js → startInteractiveUI-TLGOQVV7.js} +1105 -906
- package/chunks/{syntheticOutput-HCUFXSIA.js → syntheticOutput-H7RTI5KL.js} +4 -4
- package/chunks/{task-create-RIY5JTFC.js → task-create-7474AJJD.js} +10 -8
- package/chunks/{task-list-XBUCV3CO.js → task-list-633HGOIB.js} +6 -6
- package/chunks/{task-stop-QDFCCYR5.js → task-stop-MNUGHPIA.js} +3 -3
- package/chunks/{task-update-7PXKJQOI.js → task-update-66GQB5LI.js} +10 -8
- package/chunks/{team-create-ZZO7QFQ7.js → team-create-XHDF7UKM.js} +42 -39
- package/chunks/{team-delete-TNSSE2S5.js → team-delete-BB3CG3QF.js} +6 -6
- package/chunks/{team-plan-approval-3BZBJ46K.js → team-plan-approval-XKSBXWMH.js} +39 -36
- package/chunks/{theme-manager-FSFWNXFJ.js → theme-manager-6ZKLBFAN.js} +35 -32
- package/chunks/{todoWrite-OMAIGB6V.js → todoWrite-KRAUN54W.js} +5 -5
- package/chunks/{tool-search-VYXAAIDW.js → tool-search-UDNJCXYS.js} +21 -17
- package/chunks/{total-session-admission-PSMLQICS.js → total-session-admission-VWRCCDYM.js} +40 -37
- package/chunks/{tree-sitter-4D7QS7F6.js → tree-sitter-L5BFT64K.js} +1 -1
- package/chunks/{tree-sitter-bash-VEJGF5XF.js → tree-sitter-bash-ZKDNQGID.js} +1 -1
- package/chunks/{trustedFolders-QA3RK2NV.js → trustedFolders-TJI6OLAN.js} +35 -32
- package/chunks/{chunk-6EFTQYW7.js → undici-3FJYTMOF.js} +24 -399
- package/chunks/{chunk-L573Z2QZ.js → undici-PYHBDDPN.js} +1 -5
- package/chunks/{update-relaunch-LNLZFX3J.js → update-relaunch-RS5GB74A.js} +17 -17
- package/chunks/updateCheck-T4EEA5YR.js +88 -0
- package/chunks/{useAutoAcceptIndicator-DIWN27LT.js → useAutoAcceptIndicator-LLWMXC7F.js} +44 -41
- package/chunks/{validateNonInterActiveAuth-LOEOFCAF.js → validateNonInterActiveAuth-OJ3KYXAR.js} +74 -71
- package/chunks/{version-HBF2VBLE.js → version-ZCEUV5DO.js} +1 -1
- package/chunks/{web-fetch-BWGSD2BD.js → web-fetch-KQF4YFCI.js} +99 -42
- package/chunks/{web-search-OOHTCVR3.js → web-search-QDDGFGKI.js} +113 -61
- package/chunks/{workflow-LJAJBOR4.js → workflow-GIRKCX4P.js} +47 -43
- package/chunks/{workspace-providers-status-FYV7TTHA.js → workspace-providers-status-UTMAVTNE.js} +42 -39
- package/chunks/{workspace-registration-store-4EHGQW4Y.js → workspace-registration-store-EYJMJFZU.js} +8 -2
- package/chunks/{workspace-registry-BKD7VC4Y.js → workspace-registry-4W4UW6MY.js} +40 -37
- package/chunks/{workspace-service-75RHX6KR.js → workspace-service-DJCPY6ZN.js} +46 -43
- package/chunks/{workspace-skills-status-WBZBZI6A.js → workspace-skills-status-VQ2LKXXX.js} +40 -37
- package/chunks/write-file-PLK6RQ7M.js +65 -0
- package/chunks/{zh-TW-4RR3YHNN.js → zh-TW-BM47YBFH.js} +5 -1
- package/chunks/{zh-6ANG2HTL.js → zh-WY5DWYZD.js} +5 -1
- package/cli-entry.js +164 -12
- package/cli.js +18 -11
- package/locales/ca.js +772 -203
- package/locales/de.js +8 -2
- package/locales/en.js +8 -2
- package/locales/fr.js +8 -2
- package/locales/ja.js +8 -2
- package/locales/pt.js +8 -2
- package/locales/ru.js +8 -2
- package/locales/zh-TW.js +8 -2
- package/locales/zh.js +8 -2
- package/package.json +3 -3
- package/web-shell/assets/{arc-Buk1besA.js → arc-DIQrcXXh.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1aUKYDC.js → architectureDiagram-3BPJPVTR-CbPd-DSw.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CRTdg3Zx.js → blockDiagram-GPEHLZMM-yzBIVhMX.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DFdRMp5g.js → c4Diagram-AAUBKEIU-B88Swcsu.js} +1 -1
- package/web-shell/assets/channel-BaTMUesZ.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-4rYQdkEI.js → chunk-2J33WTMH-BbOLo6NX.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Coi-pQJy.js → chunk-4BX2VUAB-Bg6in0r0.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BtBjz02t.js → chunk-55IACEB6-Bv9QRyLI.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CGYOWorl.js → chunk-727SXJPM-CFokiv61.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CH5AKhqx.js → chunk-AQP2D5EJ-DS2Oxf6L.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cd50-w85.js → chunk-FMBD7UC4-D2NkHD3B.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-C2wF3KCK.js → chunk-ND2GUHAM-BsT_UC5B.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-pCeRTaWi.js → chunk-QZHKN3VN-tnJo3zln.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CyBPzWud.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CyBPzWud.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-B-_fAB6D.js → cose-bilkent-S5V4N54A-BTMa6DAZ.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ChSPNHpL.js → dagre-BM42HDAG-ujGX7Owg.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BX7cFOF3.js → diagram-2AECGRRQ-fU4-dbPa.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BQUTW92n.js → diagram-5GNKFQAL-Bdm-TYSA.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BkYPh3e4.js → diagram-KO2AKTUF-Bkhz85Z9.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Cl6jsNyx.js → diagram-LMA3HP47-Bzu3q26p.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DRWoHz8n.js → diagram-OG6HWLK6-CZrXbG5Q.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CGvFcZco.js → erDiagram-TEJ5UH35-BjozEAYu.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-vms6oVdv.js → flowDiagram-I6XJVG4X-B3a2I8c-.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-ukT_sfmi.js → ganttDiagram-6RSMTGT7-CIMn9fNm.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js → gitGraphDiagram-PVQCEYII-DlFy9KRx.js} +1 -1
- package/web-shell/assets/{index-wFXp7W68.js → index-BODUAzQA.js} +1 -1
- package/web-shell/assets/index-C54DNMF7.js +1209 -0
- package/web-shell/assets/index-lWqBfc78.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DHJdSi7x.js → infoDiagram-5YYISTIA-BmKjQgCy.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DOvd2Wph.js → ishikawaDiagram-YF4QCWOH-BrQEMZz2.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CH_urMCT.js → journeyDiagram-JHISSGLW-D-2r7Xrt.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-FKiBdgbH.js → kanban-definition-UN3LZRKU-CndsFHCX.js} +1 -1
- package/web-shell/assets/{linear-0ZVQFVKf.js → linear-D-IwNnKx.js} +1 -1
- package/web-shell/assets/{mermaid.core-DJ05ZZIK.js → mermaid.core-4ll09sri.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BPuUhkUm.js → mindmap-definition-RKZ34NQL-maMRIxjo.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-yLFKcXyG.js → pieDiagram-4H26LBE5-aunUDhrJ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-irWqc1pE.js → quadrantDiagram-W4KKPZXB-D3K0P1NZ.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B_4uMoIV.js → requirementDiagram-4Y6WPE33-CX2X9HRc.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-ciA4GPwk.js → sankeyDiagram-5OEKKPKP-CDroWk7l.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CRdZvy0U.js → sequenceDiagram-3UESZ5HK-DTk-2b16.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DaYIkCCn.js → stateDiagram-AJRCARHV-Cud64hQr.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-g-uUpecT.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-oBUKv6iH.js → timeline-definition-PNZ67QCA-DfD5okf_.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CGW9Sdmb.js → vennDiagram-CIIHVFJN-BYl8ay25.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CvwKJOCm.js → wardley-L42UT6IY-BZFAt10J.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Ipc260sN.js → wardleyDiagram-YWT4CUSO-BIWn0GA7.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-D6-CM7pK.js → xychartDiagram-2RQKCTM6-1_H4xblT.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-ETD6K42I.js +0 -358
- package/chunks/chunk-I5NLVPZJ.js +0 -45
- package/chunks/chunk-ONWW74X6.js +0 -74639
- package/chunks/chunk-W7FJ3N32.js +0 -49
- package/chunks/daemon-status-provider-LVTVJGAD.js +0 -77
- package/chunks/handleAutoUpdate-AAQ6PL3E.js +0 -70
- package/chunks/nonInteractiveCli-QTEHDDFH.js +0 -129
- package/chunks/updateCheck-JJEUQ54U.js +0 -73
- package/chunks/write-file-M2DTFILF.js +0 -599
- package/web-shell/assets/channel-04R0vLbG.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Bw9SOwAV.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Bw9SOwAV.js +0 -1
- package/web-shell/assets/index-DgkKrjw3.js +0 -1187
- package/web-shell/assets/index-Rv6mOAN9.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DWBoO4UY.js +0 -1
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
formatSupportedModes,
|
|
5
|
-
getCommandDisplayName,
|
|
6
|
-
getCommandSourceBadge,
|
|
7
|
-
getCommandSourceGroup,
|
|
8
|
-
getCommandSubcommandNames
|
|
9
|
-
} from "./chunk-3EUZWNWA.js";
|
|
10
|
-
import {
|
|
11
|
-
calculateAverageLatency,
|
|
12
|
-
calculateCacheHitRate,
|
|
13
|
-
calculateCost,
|
|
14
|
-
calculateErrorRate,
|
|
15
|
-
computeDiffColumnWidths,
|
|
16
|
-
computeSessionStats,
|
|
17
|
-
getSystemInfoFields,
|
|
18
|
-
levelLabel
|
|
19
|
-
} from "./chunk-WOT64EP2.js";
|
|
20
|
-
import {
|
|
21
|
-
MINIMUM_MAX_HEIGHT,
|
|
22
|
-
MaxSizedBox
|
|
23
|
-
} from "./chunk-JNWZQ27S.js";
|
|
24
3
|
import {
|
|
25
4
|
CompactToolGroupDisplay,
|
|
26
5
|
SCREEN_READER_MODEL_PREFIX,
|
|
@@ -35,26 +14,43 @@ import {
|
|
|
35
14
|
estimateCompactToolGroupHeight,
|
|
36
15
|
isCollapsibleTool,
|
|
37
16
|
wrapAnsi
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
theme
|
|
41
|
-
} from "./chunk-GMGDLUC7.js";
|
|
17
|
+
} from "./chunk-S333CBIA.js";
|
|
42
18
|
import {
|
|
43
19
|
disableMouseEvents,
|
|
44
20
|
enableMouseEvents,
|
|
45
21
|
useKeypress,
|
|
46
22
|
useKeypressContext
|
|
47
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FTNI3D7D.js";
|
|
24
|
+
import {
|
|
25
|
+
formatSupportedModes,
|
|
26
|
+
getCommandDisplayName,
|
|
27
|
+
getCommandSourceBadge,
|
|
28
|
+
getCommandSourceGroup,
|
|
29
|
+
getCommandSubcommandNames
|
|
30
|
+
} from "./chunk-OPDZT2VG.js";
|
|
31
|
+
import {
|
|
32
|
+
calculateAverageLatency,
|
|
33
|
+
calculateCacheHitRate,
|
|
34
|
+
calculateCost,
|
|
35
|
+
calculateErrorRate,
|
|
36
|
+
computeDiffColumnWidths,
|
|
37
|
+
computeSessionStats,
|
|
38
|
+
getSystemInfoFields,
|
|
39
|
+
levelLabel
|
|
40
|
+
} from "./chunk-HCJQORKC.js";
|
|
48
41
|
import {
|
|
49
42
|
wrapForMultiplexer
|
|
50
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4LVZNIDO.js";
|
|
44
|
+
import {
|
|
45
|
+
MINIMUM_MAX_HEIGHT,
|
|
46
|
+
MaxSizedBox
|
|
47
|
+
} from "./chunk-SP5WRGVG.js";
|
|
48
|
+
import {
|
|
49
|
+
theme
|
|
50
|
+
} from "./chunk-6IL7KRLE.js";
|
|
51
51
|
import {
|
|
52
52
|
require_jsx_runtime
|
|
53
53
|
} from "./chunk-SV5PQVQE.js";
|
|
54
|
-
import {
|
|
55
|
-
resolveColor,
|
|
56
|
-
themeManager
|
|
57
|
-
} from "./chunk-AYCDXHZB.js";
|
|
58
54
|
import {
|
|
59
55
|
Box_default,
|
|
60
56
|
Static,
|
|
@@ -63,13 +59,17 @@ import {
|
|
|
63
59
|
use_is_screen_reader_enabled_default,
|
|
64
60
|
use_stdin_default,
|
|
65
61
|
use_stdout_default
|
|
66
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-FFFM6NJV.js";
|
|
67
63
|
import {
|
|
68
64
|
require_react
|
|
69
65
|
} from "./chunk-5QWWOFGG.js";
|
|
70
66
|
import {
|
|
71
67
|
relaunchApp
|
|
72
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-3IABAQR6.js";
|
|
69
|
+
import {
|
|
70
|
+
resolveColor,
|
|
71
|
+
themeManager
|
|
72
|
+
} from "./chunk-7Z6JQEL6.js";
|
|
73
73
|
import {
|
|
74
74
|
cpLen,
|
|
75
75
|
cpSlice,
|
|
@@ -90,9 +90,6 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
isTerminalGoalStatusKind
|
|
92
92
|
} from "./chunk-QTERJVPZ.js";
|
|
93
|
-
import {
|
|
94
|
-
createLoadedSettingsAdapter
|
|
95
|
-
} from "./chunk-Z5Q65RVH.js";
|
|
96
93
|
import {
|
|
97
94
|
formatDuration,
|
|
98
95
|
formatMemoryUsage,
|
|
@@ -103,17 +100,20 @@ import {
|
|
|
103
100
|
require_has_flag,
|
|
104
101
|
require_source
|
|
105
102
|
} from "./chunk-57OAHC2Y.js";
|
|
103
|
+
import {
|
|
104
|
+
createLoadedSettingsAdapter
|
|
105
|
+
} from "./chunk-VJPRLNLR.js";
|
|
106
106
|
import {
|
|
107
107
|
getPersistScopeForModelSelection
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-GWM4PDYK.js";
|
|
109
109
|
import {
|
|
110
110
|
getCurrentLanguage,
|
|
111
111
|
localizeToolDisplayName,
|
|
112
112
|
t
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-YLSB23Y2.js";
|
|
114
114
|
import {
|
|
115
115
|
isWorkspaceTrusted
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-PVT6E3ZI.js";
|
|
117
117
|
import {
|
|
118
118
|
ALL_PROVIDERS,
|
|
119
119
|
IdeClient,
|
|
@@ -131,10 +131,11 @@ import {
|
|
|
131
131
|
getExternalEditorCommand,
|
|
132
132
|
ideContextStore,
|
|
133
133
|
isValidEditorType,
|
|
134
|
+
providerMatchesCredentials,
|
|
134
135
|
resolveBaseUrl,
|
|
135
136
|
resolveMetadataKey,
|
|
136
137
|
resolveOwnsModel
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-BLAEKN6K.js";
|
|
138
139
|
import {
|
|
139
140
|
stripAnsi
|
|
140
141
|
} from "./chunk-T4TZQJ7W.js";
|
|
@@ -144,17 +145,17 @@ import {
|
|
|
144
145
|
getMCPServerStatus,
|
|
145
146
|
isVisionBridgeNoticeDisplay,
|
|
146
147
|
uiTelemetryService
|
|
147
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-U6TQGUNB.js";
|
|
148
149
|
import {
|
|
149
150
|
ToolDisplayNames,
|
|
150
151
|
ToolNames,
|
|
151
152
|
ToolNamesMigration
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-YM3SZTH4.js";
|
|
153
154
|
import {
|
|
154
155
|
createDebugLogger,
|
|
155
156
|
escapePath,
|
|
156
157
|
unescapePath
|
|
157
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-OQB4EXO4.js";
|
|
158
159
|
import {
|
|
159
160
|
init_esbuild_shims
|
|
160
161
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -12147,6 +12148,7 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12147
12148
|
compactMode = false
|
|
12148
12149
|
}) => {
|
|
12149
12150
|
const { onConfirm } = confirmationDetails;
|
|
12151
|
+
const autoModeFallback = confirmationDetails.autoModeFallback;
|
|
12150
12152
|
const settings = useSettings();
|
|
12151
12153
|
const preferredEditor = settings.merged.general?.preferredEditor;
|
|
12152
12154
|
const [ideClient, setIdeClient] = (0, import_react22.useState)(null);
|
|
@@ -12169,7 +12171,7 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12169
12171
|
}, [config]);
|
|
12170
12172
|
const handleConfirm = /* @__PURE__ */ __name(async (outcome) => {
|
|
12171
12173
|
onConfirm(outcome);
|
|
12172
|
-
if (confirmationDetails.type === "edit") {
|
|
12174
|
+
if (confirmationDetails.type === "edit" && !confirmationDetails.skipIdeDiff) {
|
|
12173
12175
|
if (config.getIdeMode() && isDiffingEnabled) {
|
|
12174
12176
|
const cliOutcome = outcome === "cancel" /* Cancel */ ? "rejected" : "accepted";
|
|
12175
12177
|
await ideClient?.resolveDiffFromCli(
|
|
@@ -12223,11 +12225,31 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12223
12225
|
const MARGIN_BODY_BOTTOM = compactMode ? 0 : 1;
|
|
12224
12226
|
const HEIGHT_QUESTION = 1;
|
|
12225
12227
|
const MARGIN_QUESTION_BOTTOM = compactMode ? 0 : 1;
|
|
12226
|
-
const HEIGHT_OPTIONS = compactMode ? 3 : options.length;
|
|
12227
|
-
const
|
|
12228
|
+
const HEIGHT_OPTIONS = compactMode ? 3 : options.length + (autoModeFallback ? 1 : 0);
|
|
12229
|
+
const AUTO_MODE_FALLBACK_HEIGHT = autoModeFallback ? wrapAnsi(`\u26A0 ${autoModeFallback.message}`, warningContentWidth, {
|
|
12230
|
+
trim: false,
|
|
12231
|
+
hard: true
|
|
12232
|
+
}).split("\n").length + 1 : 0;
|
|
12233
|
+
const surroundingElementsHeight = PADDING_OUTER_Y + MARGIN_BODY_BOTTOM + HEIGHT_QUESTION + MARGIN_QUESTION_BOTTOM + HEIGHT_OPTIONS + AUTO_MODE_FALLBACK_HEIGHT;
|
|
12228
12234
|
return Math.max(availableTerminalHeight - surroundingElementsHeight, 1);
|
|
12229
12235
|
}
|
|
12230
12236
|
__name(availableBodyContentHeight, "availableBodyContentHeight");
|
|
12237
|
+
const warningContentWidth = Math.max(
|
|
12238
|
+
contentWidth - 3 - (compactMode ? 0 : 2),
|
|
12239
|
+
1
|
|
12240
|
+
);
|
|
12241
|
+
function warningsHeight(warnings) {
|
|
12242
|
+
if (warnings.length === 0) return 0;
|
|
12243
|
+
const wrappedRows = warnings.reduce(
|
|
12244
|
+
(sum, warning) => sum + wrapAnsi(`\u26A0 ${warning}`, warningContentWidth, {
|
|
12245
|
+
trim: false,
|
|
12246
|
+
hard: true
|
|
12247
|
+
}).split("\n").length,
|
|
12248
|
+
0
|
|
12249
|
+
);
|
|
12250
|
+
return wrappedRows + 1;
|
|
12251
|
+
}
|
|
12252
|
+
__name(warningsHeight, "warningsHeight");
|
|
12231
12253
|
if (confirmationDetails.type === "edit") {
|
|
12232
12254
|
if (confirmationDetails.isModifying) {
|
|
12233
12255
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
@@ -12255,7 +12277,7 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12255
12277
|
value: "proceed_once" /* ProceedOnce */,
|
|
12256
12278
|
key: "Yes, allow once"
|
|
12257
12279
|
});
|
|
12258
|
-
if (isTrustedFolder) {
|
|
12280
|
+
if (isTrustedFolder && !confirmationDetails.hideAlwaysAllow) {
|
|
12259
12281
|
options.push({
|
|
12260
12282
|
label: t("Yes, allow always"),
|
|
12261
12283
|
value: "proceed_always" /* ProceedAlways */,
|
|
@@ -12274,16 +12296,76 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12274
12296
|
value: "cancel" /* Cancel */,
|
|
12275
12297
|
key: "No, suggest changes (esc)"
|
|
12276
12298
|
});
|
|
12277
|
-
|
|
12299
|
+
const warnings = confirmationDetails.warnings ?? [];
|
|
12300
|
+
let bodyHeight = availableBodyContentHeight();
|
|
12301
|
+
if (compactMode) {
|
|
12302
|
+
bodyHeight = Math.min(
|
|
12303
|
+
bodyHeight ?? COMPACT_BODY_MAX_LINES,
|
|
12304
|
+
COMPACT_BODY_MAX_LINES
|
|
12305
|
+
);
|
|
12306
|
+
}
|
|
12307
|
+
const constrainWarnings = warnings.length > 0 && bodyHeight !== void 0 && warningsHeight(warnings) + MINIMUM_MAX_HEIGHT > bodyHeight;
|
|
12308
|
+
let warningMaxHeight;
|
|
12309
|
+
let warningMarginBottom = warnings.length > 0 ? 1 : 0;
|
|
12310
|
+
let diffHeight = bodyHeight;
|
|
12311
|
+
if (constrainWarnings && bodyHeight !== void 0) {
|
|
12312
|
+
const desiredWarningHeight = Math.max(
|
|
12313
|
+
warnings.length,
|
|
12314
|
+
MINIMUM_MAX_HEIGHT
|
|
12315
|
+
);
|
|
12316
|
+
warningMarginBottom = bodyHeight >= desiredWarningHeight + MINIMUM_MAX_HEIGHT + 1 ? 1 : 0;
|
|
12317
|
+
warningMaxHeight = Math.min(
|
|
12318
|
+
desiredWarningHeight,
|
|
12319
|
+
Math.max(
|
|
12320
|
+
bodyHeight - MINIMUM_MAX_HEIGHT - warningMarginBottom,
|
|
12321
|
+
MINIMUM_MAX_HEIGHT
|
|
12322
|
+
),
|
|
12323
|
+
bodyHeight
|
|
12324
|
+
);
|
|
12325
|
+
diffHeight = bodyHeight - warningMaxHeight - warningMarginBottom;
|
|
12326
|
+
} else if (diffHeight !== void 0) {
|
|
12327
|
+
diffHeight = Math.max(diffHeight - warningsHeight(warnings), 1);
|
|
12328
|
+
}
|
|
12329
|
+
const renderedDiff = diffHeight === void 0 || diffHeight >= MINIMUM_MAX_HEIGHT ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
12278
12330
|
DiffRenderer,
|
|
12279
12331
|
{
|
|
12280
12332
|
diffContent: confirmationDetails.fileDiff,
|
|
12281
12333
|
filename: confirmationDetails.fileName,
|
|
12282
|
-
availableTerminalHeight:
|
|
12334
|
+
availableTerminalHeight: diffHeight,
|
|
12283
12335
|
contentWidth,
|
|
12284
12336
|
settings
|
|
12285
12337
|
}
|
|
12286
|
-
);
|
|
12338
|
+
) : diffHeight === 1 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Text, { color: theme.text.secondary, wrap: "truncate", children: "... diff hidden ..." }) : null;
|
|
12339
|
+
bodyContent = /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
12340
|
+
warnings.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
12341
|
+
Box_default,
|
|
12342
|
+
{
|
|
12343
|
+
flexDirection: "column",
|
|
12344
|
+
paddingX: 1,
|
|
12345
|
+
marginLeft: 1,
|
|
12346
|
+
marginBottom: warningMarginBottom,
|
|
12347
|
+
children: constrainWarnings && warningMaxHeight === 1 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Text, { color: theme.status.warning, wrap: "truncate", children: [
|
|
12348
|
+
"\u26A0 ",
|
|
12349
|
+
warnings.at(-1)?.replace(/\r\n?|\n/g, " \u21B5 ")
|
|
12350
|
+
] }) : constrainWarnings ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
12351
|
+
MaxSizedBox,
|
|
12352
|
+
{
|
|
12353
|
+
maxHeight: warningMaxHeight,
|
|
12354
|
+
maxWidth: warningContentWidth,
|
|
12355
|
+
overflowDirection: "bottom",
|
|
12356
|
+
children: warnings.map((warning, idx) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Text, { color: theme.status.warning, wrap: "truncate", children: [
|
|
12357
|
+
"\u26A0 ",
|
|
12358
|
+
warning.replace(/\r\n?|\n/g, " \u21B5 ")
|
|
12359
|
+
] }) }, idx))
|
|
12360
|
+
}
|
|
12361
|
+
) : warnings.map((warning, idx) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Text, { color: theme.status.warning, children: [
|
|
12362
|
+
"\u26A0 ",
|
|
12363
|
+
warning
|
|
12364
|
+
] }, idx))
|
|
12365
|
+
}
|
|
12366
|
+
) : null,
|
|
12367
|
+
renderedDiff
|
|
12368
|
+
] });
|
|
12287
12369
|
} else if (confirmationDetails.type === "exec") {
|
|
12288
12370
|
const executionProps = confirmationDetails;
|
|
12289
12371
|
question = t("Allow execution of: '{{command}}'?", {
|
|
@@ -12316,15 +12398,9 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12316
12398
|
value: "cancel" /* Cancel */,
|
|
12317
12399
|
key: "No, suggest changes (esc)"
|
|
12318
12400
|
});
|
|
12319
|
-
const warningPrefixLen = 2;
|
|
12320
|
-
const safeWidth = Math.max(contentWidth, 1);
|
|
12321
12401
|
const warnings = executionProps.warnings ?? [];
|
|
12322
12402
|
const warningsCount = warnings.length;
|
|
12323
|
-
const
|
|
12324
|
-
(sum, w) => sum + Math.max(Math.ceil((w.length + warningPrefixLen) / safeWidth), 1),
|
|
12325
|
-
0
|
|
12326
|
-
);
|
|
12327
|
-
const warningsHeight = warningsCount > 0 ? wrappedWarningRows + 1 : 0;
|
|
12403
|
+
const reservedWarningsHeight = warningsHeight(warnings);
|
|
12328
12404
|
let bodyContentHeight = availableBodyContentHeight();
|
|
12329
12405
|
if (bodyContentHeight !== void 0) {
|
|
12330
12406
|
bodyContentHeight -= 2;
|
|
@@ -12335,8 +12411,11 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12335
12411
|
COMPACT_BODY_MAX_LINES
|
|
12336
12412
|
);
|
|
12337
12413
|
}
|
|
12338
|
-
if (bodyContentHeight !== void 0 &&
|
|
12339
|
-
bodyContentHeight = Math.max(
|
|
12414
|
+
if (bodyContentHeight !== void 0 && reservedWarningsHeight > 0) {
|
|
12415
|
+
bodyContentHeight = Math.max(
|
|
12416
|
+
bodyContentHeight - reservedWarningsHeight,
|
|
12417
|
+
1
|
|
12418
|
+
);
|
|
12340
12419
|
}
|
|
12341
12420
|
bodyContent = /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
12342
12421
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Box_default, { paddingX: 1, marginLeft: 1, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
@@ -12489,6 +12568,28 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12489
12568
|
key: "No, suggest changes (esc)"
|
|
12490
12569
|
});
|
|
12491
12570
|
}
|
|
12571
|
+
if (autoModeFallback) {
|
|
12572
|
+
const cancelIndex = options.findIndex(
|
|
12573
|
+
(option) => option.value === "cancel" /* Cancel */
|
|
12574
|
+
);
|
|
12575
|
+
const switchOption = {
|
|
12576
|
+
key: "switch-default-and-proceed-once",
|
|
12577
|
+
label: t("Switch to Default Mode and allow once (recommended)"),
|
|
12578
|
+
value: "proceed_once_and_switch_to_default" /* ProceedOnceAndSwitchToDefault */
|
|
12579
|
+
};
|
|
12580
|
+
options.splice(
|
|
12581
|
+
cancelIndex === -1 ? options.length : cancelIndex,
|
|
12582
|
+
0,
|
|
12583
|
+
switchOption
|
|
12584
|
+
);
|
|
12585
|
+
bodyContent = /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
12586
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Box_default, { paddingX: 1, marginLeft: 1, marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Text, { color: theme.status.warning, children: [
|
|
12587
|
+
"\u26A0 ",
|
|
12588
|
+
autoModeFallback.message
|
|
12589
|
+
] }) }),
|
|
12590
|
+
bodyContent
|
|
12591
|
+
] });
|
|
12592
|
+
}
|
|
12492
12593
|
const renderedQuestion = compactMode && (confirmationDetails.type === "exec" || confirmationDetails.type === "mcp") ? t("Do you want to proceed?") : question;
|
|
12493
12594
|
const renderedOptions = compactMode ? [
|
|
12494
12595
|
{
|
|
@@ -12496,6 +12597,15 @@ var ToolConfirmationMessage = /* @__PURE__ */ __name(({
|
|
|
12496
12597
|
label: t("Yes, allow once"),
|
|
12497
12598
|
value: "proceed_once" /* ProceedOnce */
|
|
12498
12599
|
},
|
|
12600
|
+
...autoModeFallback ? [
|
|
12601
|
+
{
|
|
12602
|
+
key: "switch-default-and-proceed-once",
|
|
12603
|
+
label: t(
|
|
12604
|
+
"Switch to Default Mode and allow once (recommended)"
|
|
12605
|
+
),
|
|
12606
|
+
value: "proceed_once_and_switch_to_default" /* ProceedOnceAndSwitchToDefault */
|
|
12607
|
+
}
|
|
12608
|
+
] : [],
|
|
12499
12609
|
...!confirmationDetails.hideAlwaysAllow ? [
|
|
12500
12610
|
{
|
|
12501
12611
|
key: "proceed-always",
|
|
@@ -15770,12 +15880,19 @@ function useProviderUpdates(settings, config, addItem) {
|
|
|
15770
15880
|
if (previousModelStillAvailable) {
|
|
15771
15881
|
delete installPlan.modelSelection;
|
|
15772
15882
|
}
|
|
15883
|
+
const activeConfig = config.getContentGeneratorConfig();
|
|
15884
|
+
const updatesActiveProvider = activeConfig?.authType === providerCfg.protocol && providerMatchesCredentials(
|
|
15885
|
+
providerCfg,
|
|
15886
|
+
activeConfig.baseUrl,
|
|
15887
|
+
activeConfig.apiKeyEnvKey
|
|
15888
|
+
);
|
|
15773
15889
|
await applyProviderInstallPlan(installPlan, {
|
|
15774
15890
|
settings: createLoadedSettingsAdapter(settings),
|
|
15775
15891
|
reloadModelProviders: /* @__PURE__ */ __name((mp) => config.reloadModelProvidersConfig(mp), "reloadModelProviders"),
|
|
15776
15892
|
syncAuthState: /* @__PURE__ */ __name((authType, modelId, baseUrl2) => config.getModelsConfig().syncAfterAuthRefresh(authType, modelId, baseUrl2), "syncAuthState"),
|
|
15777
|
-
|
|
15778
|
-
|
|
15893
|
+
...updatesActiveProvider && {
|
|
15894
|
+
refreshAuth: /* @__PURE__ */ __name((authType) => config.refreshAuth(authType), "refreshAuth")
|
|
15895
|
+
}
|
|
15779
15896
|
});
|
|
15780
15897
|
const activeModel = config.getModel();
|
|
15781
15898
|
const displayName = t(providerCfg.label);
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getErrorMessage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UKU3NGW6.js";
|
|
6
6
|
import {
|
|
7
7
|
extensionToOutputString,
|
|
8
8
|
getExtensionManager
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FQI7LT7T.js";
|
|
10
10
|
import {
|
|
11
11
|
loadSettings
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GWM4PDYK.js";
|
|
13
13
|
import {
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YLSB23Y2.js";
|
|
18
18
|
import {
|
|
19
19
|
writeStderrLine,
|
|
20
20
|
writeStdoutLine
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
createDebugLogger
|
|
5
|
-
} from "./chunk-C27BYUX6.js";
|
|
6
3
|
import {
|
|
7
4
|
init_esbuild_shims
|
|
8
5
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -207,68 +204,6 @@ function applySkillAllowedTools(permissionManager, allowedTools) {
|
|
|
207
204
|
}
|
|
208
205
|
__name(applySkillAllowedTools, "applySkillAllowedTools");
|
|
209
206
|
|
|
210
|
-
// packages/core/src/hooks/registerSkillHooks.ts
|
|
211
|
-
init_esbuild_shims();
|
|
212
|
-
var debugLogger = createDebugLogger("SKILL_HOOKS");
|
|
213
|
-
function registerSkillHooks(sessionHooksManager, sessionId, skill) {
|
|
214
|
-
if (!skill.hooks) {
|
|
215
|
-
debugLogger.debug(`Skill '${skill.name}' has no hooks to register`);
|
|
216
|
-
return 0;
|
|
217
|
-
}
|
|
218
|
-
const hooksSettings = skill.hooks;
|
|
219
|
-
let registeredCount = 0;
|
|
220
|
-
for (const eventName of Object.keys(hooksSettings)) {
|
|
221
|
-
const matchers = hooksSettings[eventName];
|
|
222
|
-
if (!matchers) continue;
|
|
223
|
-
for (const matcher of matchers) {
|
|
224
|
-
const matcherPattern = matcher.matcher || "";
|
|
225
|
-
for (const hook of matcher.hooks) {
|
|
226
|
-
if (hook.type === "function" /* Function */) {
|
|
227
|
-
debugLogger.debug(
|
|
228
|
-
"Skipping function hook from skill (not supported in frontmatter)"
|
|
229
|
-
);
|
|
230
|
-
continue;
|
|
231
|
-
}
|
|
232
|
-
const hookConfig = prepareHookConfig(
|
|
233
|
-
hook,
|
|
234
|
-
skill.skillRoot
|
|
235
|
-
);
|
|
236
|
-
sessionHooksManager.addSessionHook(
|
|
237
|
-
sessionId,
|
|
238
|
-
eventName,
|
|
239
|
-
matcherPattern,
|
|
240
|
-
hookConfig,
|
|
241
|
-
{ skillRoot: skill.skillRoot }
|
|
242
|
-
);
|
|
243
|
-
registeredCount++;
|
|
244
|
-
debugLogger.debug(
|
|
245
|
-
`Registered hook for ${eventName} with matcher '${matcherPattern}' from skill '${skill.name}'`
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
if (registeredCount > 0) {
|
|
251
|
-
debugLogger.info(
|
|
252
|
-
`Registered ${registeredCount} hooks from skill '${skill.name}'`
|
|
253
|
-
);
|
|
254
|
-
}
|
|
255
|
-
return registeredCount;
|
|
256
|
-
}
|
|
257
|
-
__name(registerSkillHooks, "registerSkillHooks");
|
|
258
|
-
function prepareHookConfig(hook, skillRoot) {
|
|
259
|
-
if (hook.type === "command" && skillRoot) {
|
|
260
|
-
return {
|
|
261
|
-
...hook,
|
|
262
|
-
env: {
|
|
263
|
-
...hook.env,
|
|
264
|
-
QWEN_SKILL_ROOT: skillRoot
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
return hook;
|
|
269
|
-
}
|
|
270
|
-
__name(prepareHookConfig, "prepareHookConfig");
|
|
271
|
-
|
|
272
207
|
export {
|
|
273
208
|
escapeXml,
|
|
274
209
|
escapeSystemReminderTags,
|
|
@@ -276,16 +211,10 @@ export {
|
|
|
276
211
|
clearCollectedSkillEntriesCache,
|
|
277
212
|
collectAvailableSkillEntries,
|
|
278
213
|
renderAvailableSkillsBlock,
|
|
279
|
-
applySkillAllowedTools
|
|
280
|
-
registerSkillHooks
|
|
214
|
+
applySkillAllowedTools
|
|
281
215
|
};
|
|
282
216
|
/**
|
|
283
217
|
* @license
|
|
284
218
|
* Copyright 2025 Qwen
|
|
285
219
|
* SPDX-License-Identifier: Apache-2.0
|
|
286
220
|
*/
|
|
287
|
-
/**
|
|
288
|
-
* @license
|
|
289
|
-
* Copyright 2026 Qwen Team
|
|
290
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
291
|
-
*/
|
|
@@ -4,28 +4,26 @@ import {
|
|
|
4
4
|
updateEventEmitter
|
|
5
5
|
} from "./chunk-YAF2MQZ6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
loadUndici
|
|
8
|
+
} from "./chunk-3Z43GZUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YLSB23Y2.js";
|
|
12
12
|
import {
|
|
13
13
|
So
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BLAEKN6K.js";
|
|
15
15
|
import {
|
|
16
16
|
createDebugLogger
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OQB4EXO4.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esbuild_shims
|
|
20
20
|
} from "./chunk-5O2XNYP6.js";
|
|
21
21
|
import {
|
|
22
|
-
__name
|
|
23
|
-
__toESM
|
|
22
|
+
__name
|
|
24
23
|
} from "./chunk-J2S4EL5Y.js";
|
|
25
24
|
|
|
26
25
|
// packages/cli/src/utils/standalone-update.ts
|
|
27
26
|
init_esbuild_shims();
|
|
28
|
-
var import_undici = __toESM(require_undici(), 1);
|
|
29
27
|
import { createHash } from "node:crypto";
|
|
30
28
|
import * as fs from "node:fs";
|
|
31
29
|
import * as os from "node:os";
|
|
@@ -97,7 +95,8 @@ function escapePS(s) {
|
|
|
97
95
|
__name(escapePS, "escapePS");
|
|
98
96
|
async function tryFetch(url, timeoutMs = FETCH_TIMEOUT_MS) {
|
|
99
97
|
try {
|
|
100
|
-
const
|
|
98
|
+
const { fetch } = await loadUndici();
|
|
99
|
+
const res = await fetch(url, {
|
|
101
100
|
signal: AbortSignal.timeout(timeoutMs)
|
|
102
101
|
});
|
|
103
102
|
if (res.ok) return { response: res };
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-VGC4I5JJ.js";
|
|
6
6
|
import {
|
|
7
7
|
atomicWriteJSON
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6X4GWOPW.js";
|
|
9
9
|
import {
|
|
10
10
|
Storage,
|
|
11
11
|
getProjectHash
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OQB4EXO4.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|