@qwen-code/qwen-code 0.20.1-jobbench-claude-prompt.0 → 0.20.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/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 +10 -10
- 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-BGLP6FQT.js → MaxSizedBox-4WZYPSRU.js} +40 -36
- package/chunks/{StandaloneSessionPicker-K6I4ZEHD.js → StandaloneSessionPicker-PE4JAIFA.js} +58 -54
- package/chunks/{acpAgent-PKKBOEP4.js → acpAgent-BVIKGJ2C.js} +1503 -520
- package/chunks/{agent-Y7XOSZY5.js → agent-DHLFAOUV.js} +36 -32
- package/chunks/{agent-headless-NXRPEYGF.js → agent-headless-ZP5WTNXZ.js} +36 -32
- package/chunks/{anthropicContentGenerator-BWBAZGTW.js → anthropicContentGenerator-NMSS7IMV.js} +11 -11
- 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-DCMYGFJ2.js → bridge-XAK7JKMD.js} +41 -37
- 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-LFBT7K64.js} +5 -5
- package/chunks/{channel-worker-manager-UTXILKC2.js → channel-worker-manager-3RUPERG2.js} +5 -5
- package/chunks/{channel-worker-supervisor-ZGO2W2MD.js → channel-worker-supervisor-A3KVATD3.js} +4 -4
- package/chunks/{chunk-C5L66QPF.js → chunk-27CLX4FV.js} +1 -1
- package/chunks/{chunk-2HOVDT7W.js → chunk-2LI23QA6.js} +1 -1
- package/chunks/chunk-2RFKHEXL.js +74 -0
- package/chunks/{chunk-5244PA32.js → chunk-3KQSDUK3.js} +3 -3
- package/chunks/{chunk-MEDHWB34.js → chunk-3LH5Q2AR.js} +8 -8
- package/chunks/{chunk-E6XTP5ZF.js → chunk-3SXF4GMQ.js} +1 -1
- package/chunks/chunk-43T5WDQ7.js +127 -0
- package/chunks/{chunk-6UTNZOZG.js → chunk-4BRH6FP5.js} +31 -6
- package/chunks/{chunk-NYMHN4ZK.js → chunk-4DSBFQMI.js} +2 -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-EKVLDUP4.js → chunk-52T5UHAZ.js} +2 -2
- package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
- package/chunks/{chunk-SWRMKMVY.js → chunk-5EA5NVXS.js} +1 -1
- package/chunks/chunk-5G2SK2OO.js +20600 -0
- package/chunks/{chunk-6EFTQYW7.js → chunk-5I5BM454.js} +1 -1
- package/chunks/{chunk-GMGDLUC7.js → chunk-6IL7KRLE.js} +1 -1
- package/chunks/{chunk-26LLB6FM.js → chunk-6NHK6HS7.js} +2 -2
- package/chunks/{chunk-6UTRTWUF.js → chunk-6PRNSLMB.js} +11 -6
- 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-SMR34EQM.js → chunk-766HLFAG.js} +54 -33
- package/chunks/{chunk-J5CK6QYL.js → chunk-76OFFG6L.js} +137 -5
- package/chunks/{chunk-AU2GX7QQ.js → chunk-7LH6CHKG.js} +1 -1
- package/chunks/{chunk-A2F633L4.js → chunk-7NDXG4MB.js} +60 -35
- package/chunks/{chunk-QCCOKIGW.js → chunk-7SWFAKVH.js} +22 -22
- package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
- package/chunks/{chunk-CMFMPPKV.js → chunk-AZD6KAV7.js} +3 -3
- package/chunks/{chunk-7YBZGNEC.js → chunk-BKZEHVPV.js} +176 -168
- package/chunks/{chunk-M2DASLLB.js → chunk-BWQRDISK.js} +1 -1
- package/chunks/{chunk-EELSDL62.js → chunk-BZAEENUV.js} +3 -3
- package/chunks/{chunk-DFQGFXMQ.js → chunk-CHXKGIMK.js} +1 -1
- package/chunks/{chunk-W2LKWG6I.js → chunk-D53NR4GO.js} +562 -301
- package/chunks/{chunk-P5OX37TK.js → chunk-D6ZOVZLF.js} +5 -1
- package/chunks/{chunk-NBMIC7DR.js → chunk-D7WXIW7H.js} +4 -4
- package/chunks/{chunk-VT3KBCIU.js → chunk-DPRMI6NU.js} +1 -1
- package/chunks/{chunk-JXWFXSLN.js → chunk-DRIXALGM.js} +2 -2
- package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
- package/chunks/{chunk-EMMNRTQX.js → chunk-EC2ET5ZZ.js} +1 -1
- package/chunks/{chunk-NNDKJNCC.js → chunk-EFIOE2EH.js} +3 -3
- package/chunks/{chunk-7H2JMOPS.js → chunk-EWXXMRMP.js} +3 -3
- package/chunks/{chunk-NEEB7UEN.js → chunk-FFFM6NJV.js} +1 -2
- package/chunks/{chunk-3PG4G7SK.js → chunk-G6LRTI62.js} +4 -4
- package/chunks/{chunk-RTEHQUAD.js → chunk-GEB2CGUV.js} +11024 -7988
- package/chunks/{chunk-OONJNQ42.js → chunk-GPSKDNEE.js} +3 -3
- package/chunks/{chunk-FNGK2Z5B.js → chunk-H4AR2JQF.js} +3 -3
- package/chunks/chunk-HTR4WV6U.js +327 -0
- package/chunks/chunk-IS2SBY6T.js +2256 -0
- package/chunks/{chunk-G45X5TRN.js → chunk-JCW2R7WC.js} +1 -72
- package/chunks/{chunk-4E33SVWA.js → chunk-JHFVJQRO.js} +1 -1
- package/chunks/{chunk-BL7EEZ4Y.js → chunk-JIBBZH37.js} +27 -23
- package/chunks/{chunk-UJEZQ562.js → chunk-JJEFX6U5.js} +3 -3
- package/chunks/{chunk-UTBTCPKF.js → chunk-JKFHJK5U.js} +4 -4
- package/chunks/{chunk-XSSAJZXG.js → chunk-JO7FGOSY.js} +5 -5
- package/chunks/{chunk-CAKC64KX.js → chunk-JTUAAVUT.js} +2 -2
- package/chunks/{chunk-MAQQGNQ5.js → chunk-JYS55H6Z.js} +66 -7
- package/chunks/{chunk-D742634K.js → chunk-KDPIV6WC.js} +29 -2
- package/chunks/{chunk-EIAK6Q2B.js → chunk-KHOVYUHX.js} +2 -2
- package/chunks/{chunk-OLMETXLX.js → chunk-KQQ757OQ.js} +2 -2
- package/chunks/{chunk-7AB5URLY.js → chunk-KSZZBDVD.js} +165 -48
- package/chunks/chunk-KWK7UE6L.js +6194 -0
- package/chunks/{chunk-OOCI5VVU.js → chunk-LIZRAKPB.js} +1 -1
- package/chunks/{chunk-2T2FG7OX.js → chunk-LPMBFOWH.js} +73 -68
- package/chunks/{chunk-UNIQ7KNW.js → chunk-LYEKAAEH.js} +5 -5
- package/chunks/chunk-M7WBGLYP.js +151 -0
- package/chunks/{chunk-LB7ZIQ6C.js → chunk-MTSYH4MB.js} +3 -3
- package/chunks/{chunk-7YK65ZFC.js → chunk-N5ARKAVE.js} +8 -8
- package/chunks/chunk-NABLFI57.js +82 -0
- package/chunks/{chunk-PXVAFBEI.js → chunk-NNFK277W.js} +1 -1
- package/chunks/{chunk-467G3SV5.js → chunk-NPQDJGKU.js} +1 -1
- package/chunks/chunk-OQ5SYCPE.js +10017 -0
- package/chunks/{chunk-C27BYUX6.js → chunk-OQB4EXO4.js} +14 -11
- package/chunks/{chunk-WCPQTUDI.js → chunk-OUDZVU7H.js} +242 -1607
- package/chunks/{chunk-C44MIZ2K.js → chunk-PBED7USE.js} +1 -1
- package/chunks/{chunk-C5Z652G4.js → chunk-PIHKWN7M.js} +1 -1
- package/chunks/{chunk-NL37SKPP.js → chunk-PPIHLGNE.js} +2 -2
- package/chunks/{chunk-ORDXX5SE.js → chunk-PSVSP2OS.js} +6 -6
- package/chunks/{chunk-SKQD5RCT.js → chunk-Q2V2ADXF.js} +7 -7
- package/chunks/{chunk-JDI67JFB.js → chunk-Q2YKNMLS.js} +3 -3
- package/chunks/{chunk-L4PEDXOX.js → chunk-Q3GGJDYN.js} +5 -5
- package/chunks/{chunk-PBATSWUQ.js → chunk-QBUDF33N.js} +1 -1
- package/chunks/{chunk-OMH3276Y.js → chunk-QD6BRERJ.js} +7 -7
- 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-2F7HITKF.js → chunk-QSJ6JIF5.js} +4 -4
- package/chunks/{chunk-2R7OXGYM.js → chunk-QUHJRRUA.js} +126 -30
- package/chunks/{chunk-WJYCCJ3Q.js → chunk-R3BCL5XW.js} +10 -4
- package/chunks/{chunk-YXBZOR3D.js → chunk-R7MPKABX.js} +307 -86
- package/chunks/{chunk-RFIAR4YL.js → chunk-RV4C2ZFG.js} +1 -1
- package/chunks/{chunk-NIJEXGV6.js → chunk-RVLZCXEE.js} +79 -10
- package/chunks/{chunk-NRPP5TOB.js → chunk-RYSMKY43.js} +4 -4
- package/chunks/{chunk-XBAYQWDL.js → chunk-S3YQCNJE.js} +3 -3
- package/chunks/{chunk-3P4TUBON.js → chunk-SP32MK6J.js} +2 -2
- package/chunks/{chunk-JNWZQ27S.js → chunk-SP5WRGVG.js} +3 -3
- package/chunks/{chunk-FSL5W5TI.js → chunk-T2L47JJK.js} +3 -3
- package/chunks/{chunk-TB6UDU4T.js → chunk-THJNPLI4.js} +16 -16
- package/chunks/{chunk-3XZIXCJY.js → chunk-TPR35HHZ.js} +6 -6
- package/chunks/{chunk-L4BZXQR3.js → chunk-TXRKCFWS.js} +6 -6
- 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-R3VWUU2E.js → chunk-VYPFXUCB.js} +1 -1
- package/chunks/{chunk-IMVIN5UC.js → chunk-WCFTQD7H.js} +11 -11
- package/chunks/chunk-WHGVTP7Q.js +1049 -0
- package/chunks/{chunk-PC2QR5QO.js → chunk-WML6JOGQ.js} +31 -19
- package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
- package/chunks/{chunk-YHRBVZ53.js → chunk-X7XWGRDT.js} +4 -4
- package/chunks/chunk-XHATNRQA.js +1500 -0
- package/chunks/{chunk-2RDNKVZ2.js → chunk-Y2DAH52F.js} +7 -6
- package/chunks/{chunk-S35ZDXOS.js → chunk-YM3SZTH4.js} +2 -1
- package/chunks/{chunk-GKY2OJ7R.js → chunk-ZHERRXZJ.js} +1 -1
- package/chunks/{computer-use-KQVQD3IW.js → computer-use-MV4K6WJM.js} +41 -37
- package/chunks/{config-utils-6FXFJUYB.js → config-utils-WYUQ7II4.js} +3 -3
- package/chunks/{contextCommand-IOC5HY6R.js → contextCommand-TQD36VNX.js} +38 -34
- package/chunks/{create-sub-session-X5RVIHCK.js → create-sub-session-AZ77LBL3.js} +3 -3
- package/chunks/{create-sub-session-IOAGEN3O.js → create-sub-session-JOW4BKMC.js} +36 -32
- 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-KLPTQIE4.js} +138 -81
- package/chunks/daemon-status-provider-TII4SMCZ.js +81 -0
- package/chunks/{de-I7ZIYXZC.js → de-4IBXM7CN.js} +5 -1
- package/chunks/{dist-2BHAYBKP.js → dist-HMU6CYS4.js} +2 -2
- 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-WGTQO7F2.js → dist-XRYV6TJP.js} +65 -25
- package/chunks/{earlyInputCapture-7AA4D4RF.js → earlyInputCapture-2V57RG6H.js} +37 -33
- package/chunks/{edit-RQXZUTEU.js → edit-TTUH7PWR.js} +43 -41
- package/chunks/{en-XE34GKAA.js → en-USMCCJAJ.js} +5 -1
- package/chunks/{enter-worktree-BPYKHGTX.js → enter-worktree-D4IVCXYB.js} +41 -37
- package/chunks/{enterPlanMode-VJ3KR5HM.js → enterPlanMode-WRUJTVYN.js} +47 -38
- package/chunks/{environment-PZYHWWG5.js → environment-SEPKXB2C.js} +38 -34
- package/chunks/{errors-NZ6JOKJB.js → errors-YSVGBLBU.js} +38 -34
- package/chunks/{exit-worktree-TZNABJPX.js → exit-worktree-MZ4JSSP6.js} +41 -37
- package/chunks/{exitPlanMode-RZMERKLI.js → exitPlanMode-HAZLSSOJ.js} +41 -37
- package/chunks/{fast-path-F5UWH7GI.js → fast-path-EVBVIE2U.js} +4 -3
- package/chunks/{fast-path-settings-DAOVFADC.js → fast-path-settings-XB3CPUJT.js} +2 -2
- package/chunks/{fr-X7KDVZIY.js → fr-WVHEBDDB.js} +5 -1
- package/chunks/{gemini-2QJRGIKD.js → gemini-APQ76464.js} +100 -95
- package/chunks/{geminiContentGenerator-Q7IAYVM4.js → geminiContentGenerator-LB4MA2LI.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-MP7IPPNS.js → glob-LABYMYKG.js} +43 -39
- package/chunks/{grep-OHN54Z7A.js → grep-HKIKJCAS.js} +43 -39
- package/chunks/{handleAutoUpdate-EGCO46FV.js → handleAutoUpdate-RWAAL2UM.js} +40 -36
- package/chunks/{i18n-4LK42EK5.js → i18n-ZUVDAJIJ.js} +37 -33
- package/chunks/{initializer-DAL5QAZU.js → initializer-7YUHIC36.js} +43 -39
- package/chunks/{installationInfo-HOKGVMMQ.js → installationInfo-DVEOMWDE.js} +39 -33
- 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-WHCZSIR2.js +82 -0
- package/chunks/{loadedSettingsAdapter-I42UOUE7.js → loadedSettingsAdapter-YCWN6AK3.js} +42 -38
- 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-PG3463CJ.js +333 -0
- package/chunks/{mcp-62XOYOXZ.js → mcp-VLHDCKAN.js} +42 -38
- package/chunks/{monitor-YIHFTVM7.js → monitor-GG4F4YM6.js} +41 -37
- package/chunks/nonInteractiveCli-UYXYV4YX.js +133 -0
- package/chunks/{notebook-edit-XK4J36D3.js → notebook-edit-US4VLN6Q.js} +44 -42
- package/chunks/{openaiContentGenerator-OEIKDARY.js → openaiContentGenerator-CVEDTMDB.js} +20 -18
- package/chunks/{pidfile-2XVZMMKS.js → pidfile-QQ45OIOY.js} +37 -33
- package/chunks/{processUtils-SYFMMDPV.js → processUtils-3WMHLQE5.js} +2 -2
- package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
- package/chunks/{qwenContentGenerator-LTTPUWV3.js → qwenContentGenerator-Y2GRNYZQ.js} +42 -38
- package/chunks/{qwenOAuth2-U3X6UBDP.js → qwenOAuth2-J2X6E5VO.js} +18 -16
- package/chunks/{read-file-P6IEAOBS.js → read-file-C7Z266CU.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-WMJ5TUPF.js → resumeHistoryUtils-KBQWX77U.js} +43 -39
- package/chunks/{ripGrep-US5HKBSM.js → ripGrep-RW26MTQ3.js} +36 -32
- package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
- package/chunks/{run-qwen-serve-MIFJODT4.js → run-qwen-serve-MXFMOMEL.js} +104 -82
- package/chunks/{runtime-SK5QH53T.js → runtime-APNO3V6D.js} +48 -42
- package/chunks/{scheduler-4TIUONHH.js → scheduler-L6FYCGVO.js} +36 -32
- package/chunks/sdk-exporters-grpc-ETLH47EP.js +23214 -0
- package/chunks/sdk-exporters-http-IDGLRBGP.js +563 -0
- package/chunks/sdk-impl-5ESZBGJQ.js +9186 -0
- package/chunks/{send-message-WXVVK4DB.js → send-message-PYIJ2PZL.js} +6 -4
- package/chunks/{serve-F6VZULAL.js → serve-6QBXDVWT.js} +42 -38
- package/chunks/{server-UJEZDWGO.js → server-5TJJEMVQ.js} +1006 -305
- package/chunks/{session-PFCYZOZJ.js → session-BWEUHKQB.js} +92 -176
- package/chunks/{settings-7UHALRNO.js → settings-O7IUQNRR.js} +45 -41
- package/chunks/{shell-DY7EASPT.js → shell-R5L4NQYY.js} +36 -32
- package/chunks/{skill-DOZBVXRT.js → skill-ITEOSNW6.js} +24 -20
- package/chunks/{spawnChannel-HT7EQ4SL.js → spawnChannel-E7NTWSGW.js} +38 -34
- package/chunks/{src-VJO75DQQ.js → src-FFXGUTNL.js} +303 -237
- package/chunks/{standalone-update-5ERAJGLE.js → standalone-update-JCJOXW4P.js} +38 -34
- package/chunks/{startInteractiveUI-HYMIOBH7.js → startInteractiveUI-IJSBLZFO.js} +1057 -864
- 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-NF3FCZE2.js → team-create-OVSZTJZO.js} +44 -40
- package/chunks/{team-delete-TNSSE2S5.js → team-delete-BB3CG3QF.js} +6 -6
- package/chunks/{team-plan-approval-P5U7U4NW.js → team-plan-approval-SLEVDLT5.js} +41 -37
- package/chunks/{theme-manager-WD73RXOX.js → theme-manager-V6ZQISHM.js} +37 -33
- package/chunks/{todoWrite-OMAIGB6V.js → todoWrite-KRAUN54W.js} +5 -5
- package/chunks/{tool-search-TDMA733L.js → tool-search-KYIF6C6E.js} +21 -17
- package/chunks/{total-session-admission-H3XZPCNC.js → total-session-admission-EU77XTL7.js} +42 -38
- package/chunks/{tree-sitter-VJEPTDMU.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-WFKBO43W.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/{trustedFolders-NEFWXHU2.js → trustedFolders-DDEF3ADH.js} +37 -33
- package/chunks/{update-relaunch-T2XQQC4W.js → update-relaunch-XEZTDP6K.js} +17 -17
- package/chunks/updateCheck-KZ5LZ545.js +89 -0
- package/chunks/{useAutoAcceptIndicator-5FLFR3BY.js → useAutoAcceptIndicator-47EZERGQ.js} +47 -43
- package/chunks/{validateNonInterActiveAuth-Z23SJ4D4.js → validateNonInterActiveAuth-J2DM4LWZ.js} +79 -75
- package/chunks/{version-PLKW23RX.js → version-PN7WYXHP.js} +1 -1
- package/chunks/{web-fetch-QNI3EEXN.js → web-fetch-WRI5QRFR.js} +100 -42
- package/chunks/{web-search-DLYTQBNN.js → web-search-2HCXNAVX.js} +111 -60
- package/chunks/{workflow-A3WFSQKU.js → workflow-U5XBPGQZ.js} +48 -43
- package/chunks/{workspace-providers-status-6K34OJLQ.js → workspace-providers-status-2T54GIJZ.js} +45 -41
- package/chunks/{workspace-registration-store-6FPLTQG3.js → workspace-registration-store-F3V4KBIW.js} +8 -2
- package/chunks/{workspace-registry-JZRIJXJS.js → workspace-registry-U6QVZ5BU.js} +42 -38
- package/chunks/{workspace-service-PQDLBZV3.js → workspace-service-734D36QD.js} +49 -45
- package/chunks/{workspace-skills-status-RKCPZVT2.js → workspace-skills-status-5ABUKOAQ.js} +43 -39
- package/chunks/write-file-CIH4I4CS.js +66 -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-ByltRugA.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1aUKYDC.js → architectureDiagram-3BPJPVTR-CCRTto5d.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CRTdg3Zx.js → blockDiagram-GPEHLZMM-Jfy36u1L.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DFdRMp5g.js → c4Diagram-AAUBKEIU-4d5FfEZ0.js} +1 -1
- package/web-shell/assets/channel-4N2UIFcG.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-4rYQdkEI.js → chunk-2J33WTMH-BPwxCEro.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Coi-pQJy.js → chunk-4BX2VUAB-jY7ZmJWY.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BtBjz02t.js → chunk-55IACEB6-C98HgCsS.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CGYOWorl.js → chunk-727SXJPM-cDu-ge-q.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CH5AKhqx.js → chunk-AQP2D5EJ-BKdJwxXK.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cd50-w85.js → chunk-FMBD7UC4-DnuxqwMu.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-C2wF3KCK.js → chunk-ND2GUHAM-C4fZNPv0.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-pCeRTaWi.js → chunk-QZHKN3VN-Cf4XWOmz.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Q4dYOtsh.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Q4dYOtsh.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-B-_fAB6D.js → cose-bilkent-S5V4N54A-C82mFiqj.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ChSPNHpL.js → dagre-BM42HDAG-Df8KACER.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BX7cFOF3.js → diagram-2AECGRRQ-EzNs7s_2.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BQUTW92n.js → diagram-5GNKFQAL-BRLNvreg.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BkYPh3e4.js → diagram-KO2AKTUF-2HLYHRjC.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Cl6jsNyx.js → diagram-LMA3HP47-DeH0NzSp.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DRWoHz8n.js → diagram-OG6HWLK6-k5Gn47-G.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CGvFcZco.js → erDiagram-TEJ5UH35-gPHFo79f.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-vms6oVdv.js → flowDiagram-I6XJVG4X-DYBOiTRW.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-ukT_sfmi.js → ganttDiagram-6RSMTGT7-cxjAuic9.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js → gitGraphDiagram-PVQCEYII-3nPqpmCP.js} +1 -1
- package/web-shell/assets/index-B7jzUZ_s.css +5 -0
- package/web-shell/assets/{index-wFXp7W68.js → index-Cl8d-1bK.js} +1 -1
- package/web-shell/assets/index-gE8OWwj_.js +1197 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DHJdSi7x.js → infoDiagram-5YYISTIA-Dph21pR5.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DOvd2Wph.js → ishikawaDiagram-YF4QCWOH-Cjg1hSaG.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CH_urMCT.js → journeyDiagram-JHISSGLW-CR-IzvnU.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-FKiBdgbH.js → kanban-definition-UN3LZRKU-BYmuybuC.js} +1 -1
- package/web-shell/assets/{linear-0ZVQFVKf.js → linear-CngEEoy8.js} +1 -1
- package/web-shell/assets/{mermaid.core-DJ05ZZIK.js → mermaid.core-G6fbZRPf.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BPuUhkUm.js → mindmap-definition-RKZ34NQL-BtnqnUwJ.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-yLFKcXyG.js → pieDiagram-4H26LBE5-XTq6UHIA.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-irWqc1pE.js → quadrantDiagram-W4KKPZXB-D1J5PrsS.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B_4uMoIV.js → requirementDiagram-4Y6WPE33-CLcBUy3t.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-ciA4GPwk.js → sankeyDiagram-5OEKKPKP-iwKV02_6.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CRdZvy0U.js → sequenceDiagram-3UESZ5HK-7NFYQcEX.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DaYIkCCn.js → stateDiagram-AJRCARHV-Bvm4Wih6.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-xXU_zO2Z.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-oBUKv6iH.js → timeline-definition-PNZ67QCA-B4FZFE9O.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CGW9Sdmb.js → vennDiagram-CIIHVFJN-CvMBpmtL.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CvwKJOCm.js → wardley-L42UT6IY-E3ag2327.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Ipc260sN.js → wardleyDiagram-YWT4CUSO-BEXWlgxC.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-D6-CM7pK.js → xychartDiagram-2RQKCTM6-CICK05gI.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-6YS6TQB3.js +0 -45
- package/chunks/chunk-ETD6K42I.js +0 -358
- package/chunks/chunk-HAL7YT4M.js +0 -74639
- package/chunks/chunk-W7FJ3N32.js +0 -49
- package/chunks/daemon-status-provider-DYDVT4S5.js +0 -77
- package/chunks/list-M5NNXMQQ.js +0 -78
- package/chunks/nonInteractiveCli-Z73R2B3B.js +0 -129
- package/chunks/updateCheck-G5JYMVJZ.js +0 -73
- package/chunks/write-file-LHZENZ2A.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
- package/chunks/{chunk-PEJWA3QQ.js → chunk-QZJY47IE.js} +5 -5
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
disableMouseEvents,
|
|
5
|
+
enableMouseEvents,
|
|
6
|
+
useKeypress,
|
|
7
|
+
useKeypressContext
|
|
8
|
+
} from "./chunk-Q2V2ADXF.js";
|
|
3
9
|
import {
|
|
4
10
|
formatSupportedModes,
|
|
5
11
|
getCommandDisplayName,
|
|
6
12
|
getCommandSourceBadge,
|
|
7
13
|
getCommandSourceGroup,
|
|
8
14
|
getCommandSubcommandNames
|
|
9
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PBED7USE.js";
|
|
10
16
|
import {
|
|
11
17
|
calculateAverageLatency,
|
|
12
18
|
calculateCacheHitRate,
|
|
@@ -16,11 +22,14 @@ import {
|
|
|
16
22
|
computeSessionStats,
|
|
17
23
|
getSystemInfoFields,
|
|
18
24
|
levelLabel
|
|
19
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JTUAAVUT.js";
|
|
26
|
+
import {
|
|
27
|
+
wrapForMultiplexer
|
|
28
|
+
} from "./chunk-4LVZNIDO.js";
|
|
20
29
|
import {
|
|
21
30
|
MINIMUM_MAX_HEIGHT,
|
|
22
31
|
MaxSizedBox
|
|
23
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SP5WRGVG.js";
|
|
24
33
|
import {
|
|
25
34
|
CompactToolGroupDisplay,
|
|
26
35
|
SCREEN_READER_MODEL_PREFIX,
|
|
@@ -35,26 +44,13 @@ import {
|
|
|
35
44
|
estimateCompactToolGroupHeight,
|
|
36
45
|
isCollapsibleTool,
|
|
37
46
|
wrapAnsi
|
|
38
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PSVSP2OS.js";
|
|
39
48
|
import {
|
|
40
49
|
theme
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import {
|
|
43
|
-
disableMouseEvents,
|
|
44
|
-
enableMouseEvents,
|
|
45
|
-
useKeypress,
|
|
46
|
-
useKeypressContext
|
|
47
|
-
} from "./chunk-SKQD5RCT.js";
|
|
48
|
-
import {
|
|
49
|
-
wrapForMultiplexer
|
|
50
|
-
} from "./chunk-QKYTTBYW.js";
|
|
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-CHXKGIMK.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-EMMNRTQX.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-EC2ET5ZZ.js";
|
|
106
106
|
import {
|
|
107
107
|
getPersistScopeForModelSelection
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-7SWFAKVH.js";
|
|
109
109
|
import {
|
|
110
110
|
getCurrentLanguage,
|
|
111
111
|
localizeToolDisplayName,
|
|
112
112
|
t
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-WCFTQD7H.js";
|
|
114
114
|
import {
|
|
115
115
|
isWorkspaceTrusted
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-S3YQCNJE.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-GEB2CGUV.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-5G2SK2OO.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);
|