@qwen-code/qwen-code 0.20.1-preview.7215 → 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-EH6G5AEH.js → MaxSizedBox-4WZYPSRU.js} +40 -36
- package/chunks/{StandaloneSessionPicker-264A3TEA.js → StandaloneSessionPicker-PE4JAIFA.js} +58 -54
- package/chunks/{acpAgent-6RBIJFDI.js → acpAgent-BVIKGJ2C.js} +1503 -520
- package/chunks/{agent-QURXGAA3.js → agent-DHLFAOUV.js} +36 -32
- package/chunks/{agent-headless-CRGX4ICQ.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-MNFVKPMI.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-IUSNI6IX.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-LZYWWWCZ.js → chunk-3KQSDUK3.js} +3 -3
- package/chunks/{chunk-NOWTNYC7.js → chunk-3LH5Q2AR.js} +8 -8
- package/chunks/{chunk-IB35C3IL.js → chunk-3SXF4GMQ.js} +1 -1
- package/chunks/chunk-43T5WDQ7.js +127 -0
- package/chunks/{chunk-KXEGCGUG.js → chunk-4BRH6FP5.js} +31 -6
- package/chunks/{chunk-TTSKHF43.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-OF2BBLYQ.js → chunk-52T5UHAZ.js} +2 -2
- package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
- package/chunks/{chunk-WAX3ITOA.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-FVS747N7.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-E5GIFWE3.js → chunk-766HLFAG.js} +54 -33
- package/chunks/{chunk-SDXIH6OA.js → chunk-76OFFG6L.js} +137 -5
- package/chunks/{chunk-ANHT55MR.js → chunk-7LH6CHKG.js} +1 -1
- package/chunks/{chunk-Y4CRUWFZ.js → chunk-7NDXG4MB.js} +60 -35
- package/chunks/{chunk-KPZNOZPC.js → chunk-7SWFAKVH.js} +22 -22
- package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
- package/chunks/{chunk-5NWV4NFB.js → chunk-AZD6KAV7.js} +3 -3
- package/chunks/{chunk-7YBZGNEC.js → chunk-BKZEHVPV.js} +176 -168
- package/chunks/{chunk-WXAXH7IJ.js → chunk-BWQRDISK.js} +1 -1
- package/chunks/{chunk-X4CGDBKA.js → chunk-BZAEENUV.js} +3 -3
- package/chunks/{chunk-BF32GYSY.js → chunk-CHXKGIMK.js} +1 -1
- package/chunks/{chunk-4SLLEAQP.js → chunk-D53NR4GO.js} +562 -301
- package/chunks/{chunk-FLTN6NRU.js → chunk-D6ZOVZLF.js} +5 -1
- package/chunks/{chunk-NBMIC7DR.js → chunk-D7WXIW7H.js} +4 -4
- package/chunks/{chunk-MKLKHZAK.js → chunk-DPRMI6NU.js} +1 -1
- package/chunks/{chunk-AR27OPIU.js → chunk-DRIXALGM.js} +2 -2
- package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
- package/chunks/{chunk-Z5Q65RVH.js → chunk-EC2ET5ZZ.js} +1 -1
- package/chunks/{chunk-B453NMZJ.js → chunk-EFIOE2EH.js} +3 -3
- package/chunks/{chunk-OKWRU4NO.js → chunk-EWXXMRMP.js} +3 -3
- package/chunks/{chunk-NEEB7UEN.js → chunk-FFFM6NJV.js} +1 -2
- package/chunks/{chunk-JVTCARQ6.js → chunk-G6LRTI62.js} +4 -4
- package/chunks/{chunk-6OH6A5EX.js → chunk-GEB2CGUV.js} +20262 -17752
- 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-6GUTHAN7.js → chunk-JHFVJQRO.js} +1 -1
- package/chunks/{chunk-IE4JSQ5L.js → chunk-JIBBZH37.js} +27 -23
- package/chunks/{chunk-UJEZQ562.js → chunk-JJEFX6U5.js} +3 -3
- package/chunks/{chunk-QOK6RMIP.js → chunk-JKFHJK5U.js} +4 -4
- package/chunks/{chunk-GA7VRJVN.js → chunk-JO7FGOSY.js} +5 -5
- package/chunks/{chunk-WOT64EP2.js → chunk-JTUAAVUT.js} +2 -2
- package/chunks/{chunk-MAQQGNQ5.js → chunk-JYS55H6Z.js} +66 -7
- package/chunks/{chunk-DA7OOKVN.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-Z6UEAQTP.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-VFAE4AGH.js → chunk-LPMBFOWH.js} +73 -68
- package/chunks/{chunk-IKP5DXZY.js → chunk-LYEKAAEH.js} +5 -5
- package/chunks/chunk-M7WBGLYP.js +151 -0
- package/chunks/{chunk-P2YAOGJD.js → chunk-MTSYH4MB.js} +3 -3
- package/chunks/{chunk-WKRXIHD6.js → chunk-N5ARKAVE.js} +8 -8
- package/chunks/chunk-NABLFI57.js +82 -0
- package/chunks/{chunk-CVDW42JT.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-RELYEO3R.js → chunk-OUDZVU7H.js} +242 -1607
- package/chunks/{chunk-3EUZWNWA.js → chunk-PBED7USE.js} +1 -1
- package/chunks/{chunk-WBTZGWQ6.js → chunk-PIHKWN7M.js} +1 -1
- package/chunks/{chunk-XNP57UDV.js → chunk-PPIHLGNE.js} +2 -2
- package/chunks/{chunk-Q4RBU7WX.js → chunk-PSVSP2OS.js} +6 -6
- package/chunks/{chunk-BRXIO5WY.js → chunk-Q2V2ADXF.js} +7 -7
- package/chunks/{chunk-JDI67JFB.js → chunk-Q2YKNMLS.js} +3 -3
- package/chunks/{chunk-BAIEQKR5.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-7KDI2IB2.js → chunk-QSJ6JIF5.js} +4 -4
- package/chunks/{chunk-Q3ZBFXK4.js → chunk-QUHJRRUA.js} +126 -30
- package/chunks/{chunk-N6YTEVLV.js → chunk-R3BCL5XW.js} +10 -4
- package/chunks/{chunk-EVSTCA7S.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-T7DDD7CZ.js → chunk-RYSMKY43.js} +4 -4
- package/chunks/{chunk-MC2DOZS7.js → chunk-S3YQCNJE.js} +3 -3
- package/chunks/{chunk-4WUAQ2DO.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-TCKTNY66.js → chunk-TPR35HHZ.js} +6 -6
- package/chunks/{chunk-UQES76OO.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-2DXOIVUI.js → chunk-WCFTQD7H.js} +11 -11
- package/chunks/chunk-WHGVTP7Q.js +1049 -0
- package/chunks/{chunk-PWVTCGBP.js → chunk-WML6JOGQ.js} +31 -19
- package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
- package/chunks/{chunk-Z5R4JMOL.js → chunk-X7XWGRDT.js} +4 -4
- package/chunks/chunk-XHATNRQA.js +1500 -0
- package/chunks/{chunk-V25Z5UUB.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-R7KA6UJ6.js → computer-use-MV4K6WJM.js} +41 -37
- package/chunks/{config-utils-6FXFJUYB.js → config-utils-WYUQ7II4.js} +3 -3
- package/chunks/{contextCommand-KAQQPHZ4.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-TDPDBU4K.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-WC7RI5HV.js → earlyInputCapture-2V57RG6H.js} +37 -33
- package/chunks/{edit-6MHKCJCM.js → edit-TTUH7PWR.js} +43 -41
- package/chunks/{en-XE34GKAA.js → en-USMCCJAJ.js} +5 -1
- package/chunks/{enter-worktree-O7VJ2E7A.js → enter-worktree-D4IVCXYB.js} +41 -37
- package/chunks/{enterPlanMode-5XYAALIO.js → enterPlanMode-WRUJTVYN.js} +47 -38
- package/chunks/{environment-LSKFNLBU.js → environment-SEPKXB2C.js} +38 -34
- package/chunks/{errors-ZFVCY6HG.js → errors-YSVGBLBU.js} +38 -34
- package/chunks/{exit-worktree-MYIK66T7.js → exit-worktree-MZ4JSSP6.js} +41 -37
- package/chunks/{exitPlanMode-7MBNU76O.js → exitPlanMode-HAZLSSOJ.js} +41 -37
- package/chunks/{fast-path-RNLIB64C.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-WK5ISEAQ.js → gemini-APQ76464.js} +100 -95
- package/chunks/{geminiContentGenerator-NUJQBZBW.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-7P6RYY4L.js → glob-LABYMYKG.js} +43 -39
- package/chunks/{grep-V3QHNP2J.js → grep-HKIKJCAS.js} +43 -39
- package/chunks/{handleAutoUpdate-AAQ6PL3E.js → handleAutoUpdate-RWAAL2UM.js} +40 -36
- package/chunks/{i18n-B7IO7WQT.js → i18n-ZUVDAJIJ.js} +37 -33
- package/chunks/{initializer-E5TIC3CW.js → initializer-7YUHIC36.js} +43 -39
- package/chunks/{installationInfo-XLPNAISK.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-X5BSC6CE.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-4C4HWXAR.js → mcp-VLHDCKAN.js} +42 -38
- package/chunks/{monitor-3CJDNZB2.js → monitor-GG4F4YM6.js} +41 -37
- package/chunks/nonInteractiveCli-UYXYV4YX.js +133 -0
- package/chunks/{notebook-edit-MX366HCT.js → notebook-edit-US4VLN6Q.js} +44 -42
- package/chunks/{openaiContentGenerator-KRPNNJGZ.js → openaiContentGenerator-CVEDTMDB.js} +20 -18
- package/chunks/{pidfile-K7T2JLUJ.js → pidfile-QQ45OIOY.js} +37 -33
- package/chunks/{processUtils-YXL3VIBR.js → processUtils-3WMHLQE5.js} +2 -2
- package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
- package/chunks/{qwenContentGenerator-GJVXFZ3U.js → qwenContentGenerator-Y2GRNYZQ.js} +42 -38
- package/chunks/{qwenOAuth2-UZTIBQLY.js → qwenOAuth2-J2X6E5VO.js} +18 -16
- package/chunks/{read-file-S5XQSYOW.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-IKR6XD2S.js → resumeHistoryUtils-KBQWX77U.js} +43 -39
- package/chunks/{ripGrep-H65GRSQX.js → ripGrep-RW26MTQ3.js} +36 -32
- package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
- package/chunks/{run-qwen-serve-7SKAQOAA.js → run-qwen-serve-MXFMOMEL.js} +104 -82
- package/chunks/{runtime-I2STBGPR.js → runtime-APNO3V6D.js} +48 -42
- package/chunks/{scheduler-6F7HETNO.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-4ATEWSEA.js → serve-6QBXDVWT.js} +42 -38
- package/chunks/{server-YPUPFV2O.js → server-5TJJEMVQ.js} +1006 -305
- package/chunks/{session-AZFIERIY.js → session-BWEUHKQB.js} +92 -176
- package/chunks/{settings-EFQHLTM3.js → settings-O7IUQNRR.js} +45 -41
- package/chunks/{shell-FWXWBJ4Q.js → shell-R5L4NQYY.js} +36 -32
- package/chunks/{skill-A634MNCD.js → skill-ITEOSNW6.js} +24 -20
- package/chunks/{spawnChannel-KKBGGR47.js → spawnChannel-E7NTWSGW.js} +38 -34
- package/chunks/{src-BVROLD6N.js → src-FFXGUTNL.js} +303 -237
- package/chunks/{standalone-update-ERLA3BDC.js → standalone-update-JCJOXW4P.js} +38 -34
- package/chunks/{startInteractiveUI-3VZ23WAY.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-ZZO7QFQ7.js → team-create-OVSZTJZO.js} +44 -40
- package/chunks/{team-delete-TNSSE2S5.js → team-delete-BB3CG3QF.js} +6 -6
- package/chunks/{team-plan-approval-3BZBJ46K.js → team-plan-approval-SLEVDLT5.js} +41 -37
- package/chunks/{theme-manager-FSFWNXFJ.js → theme-manager-V6ZQISHM.js} +37 -33
- package/chunks/{todoWrite-OMAIGB6V.js → todoWrite-KRAUN54W.js} +5 -5
- package/chunks/{tool-search-VYXAAIDW.js → tool-search-KYIF6C6E.js} +21 -17
- package/chunks/{total-session-admission-PSMLQICS.js → total-session-admission-EU77XTL7.js} +42 -38
- package/chunks/{trustedFolders-QA3RK2NV.js → trustedFolders-DDEF3ADH.js} +37 -33
- package/chunks/{update-relaunch-LNLZFX3J.js → update-relaunch-XEZTDP6K.js} +17 -17
- package/chunks/updateCheck-KZ5LZ545.js +89 -0
- package/chunks/{useAutoAcceptIndicator-DIWN27LT.js → useAutoAcceptIndicator-47EZERGQ.js} +47 -43
- package/chunks/{validateNonInterActiveAuth-LOEOFCAF.js → validateNonInterActiveAuth-J2DM4LWZ.js} +79 -75
- package/chunks/{version-HBF2VBLE.js → version-PN7WYXHP.js} +1 -1
- package/chunks/{web-fetch-BWGSD2BD.js → web-fetch-WRI5QRFR.js} +100 -42
- package/chunks/{web-search-OOHTCVR3.js → web-search-2HCXNAVX.js} +111 -60
- package/chunks/{workflow-LJAJBOR4.js → workflow-U5XBPGQZ.js} +48 -43
- package/chunks/workspace-providers-status-2T54GIJZ.js +79 -0
- package/chunks/{workspace-registration-store-4EHGQW4Y.js → workspace-registration-store-F3V4KBIW.js} +8 -2
- package/chunks/{workspace-registry-BKD7VC4Y.js → workspace-registry-U6QVZ5BU.js} +42 -38
- package/chunks/{workspace-service-75RHX6KR.js → workspace-service-734D36QD.js} +49 -45
- package/chunks/{workspace-skills-status-WBZBZI6A.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-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/list-3CZR5I42.js +0 -78
- package/chunks/nonInteractiveCli-QTEHDDFH.js +0 -129
- package/chunks/updateCheck-JJEUQ54U.js +0 -73
- package/chunks/workspace-providers-status-FYV7TTHA.js +0 -75
- 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
- package/chunks/{chunk-PEJWA3QQ.js → chunk-QZJY47IE.js} +5 -5
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
isQwenQuotaExceededError,
|
|
8
8
|
isRateLimitError,
|
|
9
9
|
retryContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5G2SK2OO.js";
|
|
11
11
|
import {
|
|
12
12
|
createDebugLogger,
|
|
13
13
|
getErrorStatus,
|
|
14
14
|
isAbortError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OQB4EXO4.js";
|
|
16
16
|
import {
|
|
17
17
|
init_esbuild_shims
|
|
18
18
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
theme
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6IL7KRLE.js";
|
|
6
6
|
import {
|
|
7
7
|
require_jsx_runtime
|
|
8
8
|
} from "./chunk-SV5PQVQE.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
Box_default,
|
|
11
11
|
Text,
|
|
12
12
|
use_is_screen_reader_enabled_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FFFM6NJV.js";
|
|
14
14
|
import {
|
|
15
15
|
require_react
|
|
16
16
|
} from "./chunk-5QWWOFGG.js";
|
|
17
17
|
import {
|
|
18
18
|
formatHistoryGapNotice,
|
|
19
19
|
indexGapsByChild
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NNFK277W.js";
|
|
21
21
|
import {
|
|
22
22
|
stringWidth
|
|
23
23
|
} from "./chunk-H2XVO6NE.js";
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
} from "./chunk-E5Z2AVNV.js";
|
|
30
30
|
import {
|
|
31
31
|
t
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WCFTQD7H.js";
|
|
33
33
|
import {
|
|
34
34
|
getToolResponseDisplayText
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GEB2CGUV.js";
|
|
36
36
|
import {
|
|
37
37
|
stripAnsi
|
|
38
38
|
} from "./chunk-T4TZQJ7W.js";
|
|
39
39
|
import {
|
|
40
40
|
ToolDisplayNames
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YM3SZTH4.js";
|
|
42
42
|
import {
|
|
43
43
|
init_esbuild_shims
|
|
44
44
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -15,27 +15,27 @@ import {
|
|
|
15
15
|
MODIFIER_CTRL_BIT,
|
|
16
16
|
MODIFIER_SHIFT_BIT,
|
|
17
17
|
clipboardHasImage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4LVZNIDO.js";
|
|
19
19
|
import {
|
|
20
20
|
require_jsx_runtime
|
|
21
21
|
} from "./chunk-SV5PQVQE.js";
|
|
22
|
-
import {
|
|
23
|
-
noteInteraction
|
|
24
|
-
} from "./chunk-KW7NOTN6.js";
|
|
25
22
|
import {
|
|
26
23
|
use_stdin_default,
|
|
27
24
|
use_stdout_default
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FFFM6NJV.js";
|
|
29
26
|
import {
|
|
30
27
|
require_react
|
|
31
28
|
} from "./chunk-5QWWOFGG.js";
|
|
29
|
+
import {
|
|
30
|
+
noteInteraction
|
|
31
|
+
} from "./chunk-KW7NOTN6.js";
|
|
32
32
|
import {
|
|
33
33
|
KittySequenceOverflowEvent,
|
|
34
34
|
logKittySequenceOverflow
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5G2SK2OO.js";
|
|
36
36
|
import {
|
|
37
37
|
createDebugLogger
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OQB4EXO4.js";
|
|
39
39
|
import {
|
|
40
40
|
init_esbuild_shims
|
|
41
41
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
taskHasLegacyCondition,
|
|
20
20
|
taskHasLegacyRunMode,
|
|
21
21
|
updateCronTasks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KHOVYUHX.js";
|
|
23
23
|
import {
|
|
24
24
|
ToolNames
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YM3SZTH4.js";
|
|
26
26
|
import {
|
|
27
27
|
Storage,
|
|
28
28
|
createDebugLogger,
|
|
29
29
|
getProjectHash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OQB4EXO4.js";
|
|
31
31
|
import {
|
|
32
32
|
init_esbuild_shims
|
|
33
33
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LPMBFOWH.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GEB2CGUV.js";
|
|
9
9
|
import {
|
|
10
10
|
formatVisionBridgeNoticeDisplay,
|
|
11
11
|
isVisionBridgeNoticeDisplay
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5G2SK2OO.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -742,7 +742,7 @@ ${event.value}`, null);
|
|
|
742
742
|
* Emits a `can_use_tool` permission control_request so an external consumer
|
|
743
743
|
* can approve or deny the tool call. Pairs with {@link emitControlResponse}.
|
|
744
744
|
*/
|
|
745
|
-
emitPermissionRequest(requestId, toolName, toolUseId, input, blockedPath = null) {
|
|
745
|
+
emitPermissionRequest(requestId, toolName, toolUseId, input, blockedPath = null, permissionSuggestions = null) {
|
|
746
746
|
const message = {
|
|
747
747
|
type: "control_request",
|
|
748
748
|
request_id: requestId,
|
|
@@ -751,7 +751,7 @@ ${event.value}`, null);
|
|
|
751
751
|
tool_name: toolName,
|
|
752
752
|
tool_use_id: toolUseId,
|
|
753
753
|
input,
|
|
754
|
-
permission_suggestions:
|
|
754
|
+
permission_suggestions: permissionSuggestions,
|
|
755
755
|
blocked_path: blockedPath
|
|
756
756
|
}
|
|
757
757
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
resolveChannelCwd
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6ZBPS62S.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -21,12 +21,12 @@ function ensureBuiltins() {
|
|
|
21
21
|
if (!builtinsPromise) {
|
|
22
22
|
builtinsPromise = (async () => {
|
|
23
23
|
const labelled = [
|
|
24
|
-
{ name: "telegram", promise: import("./dist-
|
|
25
|
-
{ name: "weixin", promise: import("./dist-
|
|
26
|
-
{ name: "dingtalk", promise: import("./dist-
|
|
27
|
-
{ name: "wecom", promise: import("./dist-
|
|
28
|
-
{ name: "feishu", promise: import("./dist-
|
|
29
|
-
{ name: "qqbot", promise: import("./dist-
|
|
24
|
+
{ name: "telegram", promise: import("./dist-HMU6CYS4.js") },
|
|
25
|
+
{ name: "weixin", promise: import("./dist-UIFWIFRO.js") },
|
|
26
|
+
{ name: "dingtalk", promise: import("./dist-XRYV6TJP.js") },
|
|
27
|
+
{ name: "wecom", promise: import("./dist-OAV7LJGJ.js") },
|
|
28
|
+
{ name: "feishu", promise: import("./dist-OMW6WDEO.js") },
|
|
29
|
+
{ name: "qqbot", promise: import("./dist-PJLG2XYX.js") }
|
|
30
30
|
];
|
|
31
31
|
const results = await Promise.allSettled(labelled.map((l) => l.promise));
|
|
32
32
|
for (let i = 0; i < results.length; i++) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
atomicWriteFileSync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6X4GWOPW.js";
|
|
6
6
|
import {
|
|
7
7
|
Storage,
|
|
8
8
|
createDebugLogger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OQB4EXO4.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-E5Z2AVNV.js";
|
|
6
6
|
import {
|
|
7
7
|
getCliVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-27CLX4FV.js";
|
|
9
9
|
import {
|
|
10
10
|
IdeClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GEB2CGUV.js";
|
|
12
12
|
import {
|
|
13
13
|
createDebugLogger
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OQB4EXO4.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esbuild_shims
|
|
17
17
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -27,7 +27,7 @@ import { execFile } from "node:child_process";
|
|
|
27
27
|
|
|
28
28
|
// packages/cli/src/generated/git-commit.ts
|
|
29
29
|
init_esbuild_shims();
|
|
30
|
-
var GIT_COMMIT_INFO = "
|
|
30
|
+
var GIT_COMMIT_INFO = "305b04910";
|
|
31
31
|
|
|
32
32
|
// packages/cli/src/utils/systemInfo.ts
|
|
33
33
|
var debugLogger = createDebugLogger("STATUS");
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import {
|
|
4
4
|
settleChatRecording,
|
|
5
5
|
subscribeToHeadlessChatRecordingFailures
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SP32MK6J.js";
|
|
7
7
|
import {
|
|
8
8
|
handleAtCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X7XWGRDT.js";
|
|
10
10
|
import {
|
|
11
11
|
JsonOutputAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7LH6CHKG.js";
|
|
13
13
|
import {
|
|
14
14
|
StreamJsonOutputAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q3GGJDYN.js";
|
|
16
16
|
import {
|
|
17
17
|
buildInitialSystemReminders,
|
|
18
18
|
buildSystemMessage,
|
|
@@ -24,10 +24,11 @@ import {
|
|
|
24
24
|
insertAfterFunctionResponses,
|
|
25
25
|
isSlashCommand,
|
|
26
26
|
normalizePartList
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LPMBFOWH.js";
|
|
28
28
|
import {
|
|
29
|
-
RunBudgetEnforcer
|
|
30
|
-
|
|
29
|
+
RunBudgetEnforcer,
|
|
30
|
+
cleanupReviewWorktreeLeases
|
|
31
|
+
} from "./chunk-D53NR4GO.js";
|
|
31
32
|
import {
|
|
32
33
|
AlreadyReportedError,
|
|
33
34
|
handleBudgetExceededError,
|
|
@@ -35,39 +36,51 @@ import {
|
|
|
35
36
|
handleError,
|
|
36
37
|
handleMaxTurnsExceededError,
|
|
37
38
|
handleToolError
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-MTSYH4MB.js";
|
|
39
40
|
import {
|
|
40
41
|
isInlineModelOverrideAllowed
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-TPR35HHZ.js";
|
|
42
43
|
import {
|
|
44
|
+
PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE,
|
|
43
45
|
buildSessionRecoveryPlanFromApiHistory,
|
|
44
46
|
canonicalToolName,
|
|
45
47
|
createDuplicateProviderToolCallResponse,
|
|
46
48
|
detectAutonomousSentinel,
|
|
47
49
|
detectLoopSentinel,
|
|
48
50
|
executeToolCall,
|
|
51
|
+
finalizeToolResponses,
|
|
52
|
+
findPlanModeEntryBatchBoundaryIndex,
|
|
49
53
|
findRepeatedDuplicateProviderToolCall,
|
|
50
|
-
isSystemReminderContent,
|
|
51
54
|
isToolCallConcurrencySafe,
|
|
52
55
|
markDuplicateProviderToolCallResponseSent,
|
|
53
56
|
parseAndFormatApiError,
|
|
54
|
-
parsePositiveIntegerEnv,
|
|
55
57
|
partitionByConcurrencySafety,
|
|
56
58
|
promptIdContext,
|
|
57
59
|
restoreWorktreeContext
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GEB2CGUV.js";
|
|
61
|
+
import {
|
|
62
|
+
parsePositiveIntegerEnv
|
|
63
|
+
} from "./chunk-6PVPNMXU.js";
|
|
64
|
+
import {
|
|
65
|
+
isSystemReminderContent
|
|
66
|
+
} from "./chunk-WHGVTP7Q.js";
|
|
59
67
|
import {
|
|
60
|
-
isTelemetrySdkInitialized,
|
|
61
|
-
shutdownTelemetry,
|
|
62
68
|
uiTelemetryService
|
|
63
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-5G2SK2OO.js";
|
|
70
|
+
import {
|
|
71
|
+
isTelemetrySdkInitialized,
|
|
72
|
+
shutdownTelemetry
|
|
73
|
+
} from "./chunk-IS2SBY6T.js";
|
|
64
74
|
import {
|
|
65
75
|
ToolNames
|
|
66
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-YM3SZTH4.js";
|
|
67
77
|
import {
|
|
68
78
|
FatalInputError,
|
|
69
79
|
createDebugLogger
|
|
70
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-OQB4EXO4.js";
|
|
81
|
+
import {
|
|
82
|
+
registerCleanup
|
|
83
|
+
} from "./chunk-D6ZOVZLF.js";
|
|
71
84
|
import {
|
|
72
85
|
init_esbuild_shims
|
|
73
86
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -201,6 +214,15 @@ async function runNonInteractive(config, settings, input, prompt_id, options = {
|
|
|
201
214
|
}, "emitResult");
|
|
202
215
|
const sessionId = config.getSessionId();
|
|
203
216
|
const permissionMode = config.getApprovalMode();
|
|
217
|
+
const cleanupReviewWorktrees = /* @__PURE__ */ __name((gitTimeout) => cleanupReviewWorktreeLeases({
|
|
218
|
+
sessionId,
|
|
219
|
+
promptId: prompt_id,
|
|
220
|
+
repositoryRoot: config.getProjectRoot(),
|
|
221
|
+
gitTimeout
|
|
222
|
+
}), "cleanupReviewWorktrees");
|
|
223
|
+
const unregisterReviewWorktreeCleanup = registerCleanup(
|
|
224
|
+
() => cleanupReviewWorktrees(1e3)
|
|
225
|
+
);
|
|
204
226
|
let turnCount = 0;
|
|
205
227
|
let totalApiDurationMs = 0;
|
|
206
228
|
const startTime = Date.now();
|
|
@@ -290,7 +312,9 @@ async function runNonInteractive(config, settings, input, prompt_id, options = {
|
|
|
290
312
|
} else {
|
|
291
313
|
approvalListener = /* @__PURE__ */ __name((event) => {
|
|
292
314
|
const mode = config.getApprovalMode();
|
|
293
|
-
|
|
315
|
+
const confirmationDetails = event.confirmationDetails;
|
|
316
|
+
const requiresExplicitHostApproval = confirmationDetails?.type !== "plan" && confirmationDetails !== void 0 && "hideAlwaysAllow" in confirmationDetails && confirmationDetails.hideAlwaysAllow === true;
|
|
317
|
+
if (mode === "yolo" /* YOLO */ && !requiresExplicitHostApproval) {
|
|
294
318
|
event.respond("proceed_once" /* ProceedOnce */).catch((err) => {
|
|
295
319
|
debugLogger.warn(
|
|
296
320
|
"Teammate approval ProceedOnce failed:",
|
|
@@ -299,7 +323,7 @@ async function runNonInteractive(config, settings, input, prompt_id, options = {
|
|
|
299
323
|
});
|
|
300
324
|
return;
|
|
301
325
|
}
|
|
302
|
-
const reason = `Auto-cancelling tool ${event.toolName} requested by teammate "${event.teammateName}": current approval mode (${mode}) cannot prompt in non-stream-json mode. Use --yolo or stream-json to allow teammate tool calls.`;
|
|
326
|
+
const reason = requiresExplicitHostApproval ? mode === "yolo" /* YOLO */ ? `Auto-cancelling tool ${event.toolName} requested by teammate "${event.teammateName}": this request requires an explicit interactive approval surface and cannot be bypassed by YOLO mode.` : `Auto-cancelling tool ${event.toolName} requested by teammate "${event.teammateName}": this request requires an explicit interactive approval surface, which is unavailable in non-stream-json mode with the current approval mode (${mode}). Use --input-format stream-json --output-format stream-json to review it.` : `Auto-cancelling tool ${event.toolName} requested by teammate "${event.teammateName}": current approval mode (${mode}) cannot prompt in non-stream-json mode. Use --yolo or stream-json to allow teammate tool calls.`;
|
|
303
327
|
process.stderr.write(`[team] ${reason}
|
|
304
328
|
`);
|
|
305
329
|
pendingTeammateMessages.push(
|
|
@@ -619,7 +643,8 @@ ${text}
|
|
|
619
643
|
const handledProviderToolCallIds = geminiClient.getHistoryFunctionResponseIds();
|
|
620
644
|
const duplicateProviderToolCallResponseIds = /* @__PURE__ */ new Set();
|
|
621
645
|
const processToolCallBatch = /* @__PURE__ */ __name(async (batchRequests, setModelOverride) => {
|
|
622
|
-
const
|
|
646
|
+
const responseByRequest = /* @__PURE__ */ new Map();
|
|
647
|
+
const statusByResponse = /* @__PURE__ */ new Map();
|
|
623
648
|
const structuredOutputActive = config.getJsonSchema() && batchRequests.some((r) => r.name === ToolNames.STRUCTURED_OUTPUT);
|
|
624
649
|
const getProviderResponseId = /* @__PURE__ */ __name((request) => request.providerCallId ?? (structuredOutputActive ? void 0 : request.callId || void 0), "getProviderResponseId");
|
|
625
650
|
const seenBatchCallIds = /* @__PURE__ */ new Set();
|
|
@@ -658,7 +683,6 @@ ${text}
|
|
|
658
683
|
}
|
|
659
684
|
const respondedRequests = /* @__PURE__ */ new Set();
|
|
660
685
|
const executableBatchRequests = [];
|
|
661
|
-
const duplicatePendingResponses = [];
|
|
662
686
|
for (const requestInfo of uniqueBatchRequests) {
|
|
663
687
|
const providerCallId = getProviderResponseId(requestInfo);
|
|
664
688
|
if (!providerCallId) {
|
|
@@ -680,15 +704,18 @@ ${text}
|
|
|
680
704
|
);
|
|
681
705
|
respondedRequests.add(requestInfo);
|
|
682
706
|
adapter.emitToolResult(requestInfo, toolResponse);
|
|
683
|
-
|
|
707
|
+
responseByRequest.set(requestInfo, toolResponse);
|
|
684
708
|
}
|
|
685
|
-
toolResponseParts.push(...duplicatePendingResponses);
|
|
686
709
|
let requestsToExecute = executableBatchRequests;
|
|
687
710
|
if (structuredOutputActive) {
|
|
688
711
|
requestsToExecute = executableBatchRequests.filter(
|
|
689
712
|
(r) => r.name === ToolNames.STRUCTURED_OUTPUT
|
|
690
713
|
);
|
|
691
714
|
}
|
|
715
|
+
const planModeEntryBoundaryIndex = findPlanModeEntryBatchBoundaryIndex(
|
|
716
|
+
requestsToExecute.map((request) => request.name)
|
|
717
|
+
);
|
|
718
|
+
const planModeEntryBoundary = planModeEntryBoundaryIndex === void 0 ? void 0 : requestsToExecute[planModeEntryBoundaryIndex];
|
|
692
719
|
const executedRequests = new Set(
|
|
693
720
|
respondedRequests
|
|
694
721
|
);
|
|
@@ -714,7 +741,13 @@ ${text}
|
|
|
714
741
|
requestInfo,
|
|
715
742
|
abortController.signal,
|
|
716
743
|
{
|
|
744
|
+
recordToolResult: false,
|
|
717
745
|
outputUpdateHandler,
|
|
746
|
+
onAllToolCallsComplete: /* @__PURE__ */ __name(async (completedCalls) => {
|
|
747
|
+
for (const call of completedCalls) {
|
|
748
|
+
statusByResponse.set(call.response, call.status);
|
|
749
|
+
}
|
|
750
|
+
}, "onAllToolCallsComplete"),
|
|
718
751
|
...toolCallUpdateCallback && {
|
|
719
752
|
onToolCallsUpdate: toolCallUpdateCallback
|
|
720
753
|
}
|
|
@@ -736,13 +769,11 @@ ${text}
|
|
|
736
769
|
);
|
|
737
770
|
}
|
|
738
771
|
adapter.emitToolResult(requestInfo, toolResponse);
|
|
772
|
+
responseByRequest.set(requestInfo, toolResponse);
|
|
739
773
|
config.getGeminiClient().recordCompletedToolCall(
|
|
740
774
|
requestInfo.name,
|
|
741
775
|
requestInfo.args
|
|
742
776
|
);
|
|
743
|
-
if (toolResponse.responseParts) {
|
|
744
|
-
toolResponseParts.push(...toolResponse.responseParts);
|
|
745
|
-
}
|
|
746
777
|
if ("modelOverride" in toolResponse) {
|
|
747
778
|
setModelOverride(toolResponse.modelOverride);
|
|
748
779
|
}
|
|
@@ -752,6 +783,33 @@ ${text}
|
|
|
752
783
|
}
|
|
753
784
|
return false;
|
|
754
785
|
}, "finalizeToolCall");
|
|
786
|
+
const finalizePlanModeEntrySiblingSkip = /* @__PURE__ */ __name((requestInfo) => {
|
|
787
|
+
const error = new Error(PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE);
|
|
788
|
+
const responseParts = [
|
|
789
|
+
{
|
|
790
|
+
functionResponse: {
|
|
791
|
+
id: requestInfo.callId,
|
|
792
|
+
name: requestInfo.name,
|
|
793
|
+
response: { error: error.message }
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
];
|
|
797
|
+
adapter.emitToolResult(requestInfo, {
|
|
798
|
+
callId: requestInfo.callId,
|
|
799
|
+
responseParts,
|
|
800
|
+
resultDisplay: error.message,
|
|
801
|
+
error,
|
|
802
|
+
errorType: "execution_denied" /* EXECUTION_DENIED */
|
|
803
|
+
});
|
|
804
|
+
responseByRequest.set(requestInfo, {
|
|
805
|
+
callId: requestInfo.callId,
|
|
806
|
+
responseParts,
|
|
807
|
+
resultDisplay: error.message,
|
|
808
|
+
error,
|
|
809
|
+
errorType: "execution_denied" /* EXECUTION_DENIED */
|
|
810
|
+
});
|
|
811
|
+
executedRequests.add(requestInfo);
|
|
812
|
+
}, "finalizePlanModeEntrySiblingSkip");
|
|
755
813
|
const maxToolConcurrency = parsePositiveIntegerEnv(
|
|
756
814
|
process.env["QWEN_CODE_MAX_TOOL_CONCURRENCY"],
|
|
757
815
|
10
|
|
@@ -763,6 +821,10 @@ ${text}
|
|
|
763
821
|
const launched = [];
|
|
764
822
|
const inFlight = /* @__PURE__ */ new Set();
|
|
765
823
|
for (const requestInfo of batch.calls) {
|
|
824
|
+
if (planModeEntryBoundary && requestInfo !== planModeEntryBoundary) {
|
|
825
|
+
finalizePlanModeEntrySiblingSkip(requestInfo);
|
|
826
|
+
continue;
|
|
827
|
+
}
|
|
766
828
|
if (!isBudgetExempt(requestInfo)) {
|
|
767
829
|
budgetEnforcer.tickToolCall();
|
|
768
830
|
}
|
|
@@ -801,6 +863,10 @@ ${text}
|
|
|
801
863
|
}
|
|
802
864
|
} else {
|
|
803
865
|
for (const requestInfo of batch.calls) {
|
|
866
|
+
if (planModeEntryBoundary && requestInfo !== planModeEntryBoundary) {
|
|
867
|
+
finalizePlanModeEntrySiblingSkip(requestInfo);
|
|
868
|
+
continue;
|
|
869
|
+
}
|
|
804
870
|
if (!isBudgetExempt(requestInfo)) {
|
|
805
871
|
budgetEnforcer.tickToolCall();
|
|
806
872
|
}
|
|
@@ -831,14 +897,15 @@ ${text}
|
|
|
831
897
|
}
|
|
832
898
|
}
|
|
833
899
|
];
|
|
834
|
-
|
|
900
|
+
const toolResponse = {
|
|
835
901
|
callId: call.callId,
|
|
836
902
|
responseParts,
|
|
837
903
|
resultDisplay: skippedOutput,
|
|
838
904
|
error: void 0,
|
|
839
905
|
errorType: void 0
|
|
840
|
-
}
|
|
841
|
-
|
|
906
|
+
};
|
|
907
|
+
adapter.emitToolResult(call, toolResponse);
|
|
908
|
+
responseByRequest.set(call, toolResponse);
|
|
842
909
|
}
|
|
843
910
|
}
|
|
844
911
|
for (const requestInfo of duplicateBatchRequests) {
|
|
@@ -850,7 +917,34 @@ ${text}
|
|
|
850
917
|
);
|
|
851
918
|
const toolResponse = createDuplicateProviderToolCallResponse(requestInfo);
|
|
852
919
|
adapter.emitToolResult(requestInfo, toolResponse);
|
|
853
|
-
|
|
920
|
+
responseByRequest.set(requestInfo, toolResponse);
|
|
921
|
+
}
|
|
922
|
+
const orderedResponses = batchRequests.flatMap((request) => {
|
|
923
|
+
const response = responseByRequest.get(request);
|
|
924
|
+
return response ? [{ request, response }] : [];
|
|
925
|
+
});
|
|
926
|
+
const finalized = await finalizeToolResponses(
|
|
927
|
+
config,
|
|
928
|
+
orderedResponses.map(({ request, response }) => ({
|
|
929
|
+
callId: request.callId,
|
|
930
|
+
toolName: request.name,
|
|
931
|
+
responseParts: response.responseParts,
|
|
932
|
+
persistedOutputFiles: response.persistedOutputFiles
|
|
933
|
+
}))
|
|
934
|
+
);
|
|
935
|
+
const chatRecordingService = config.getChatRecordingService?.();
|
|
936
|
+
const toolResponseParts = [];
|
|
937
|
+
for (let index = 0; index < orderedResponses.length; index++) {
|
|
938
|
+
const { request, response } = orderedResponses[index];
|
|
939
|
+
const finalizedParts = finalized[index].responseParts;
|
|
940
|
+
toolResponseParts.push(...finalizedParts);
|
|
941
|
+
chatRecordingService?.recordToolResult?.(finalizedParts, {
|
|
942
|
+
callId: request.callId,
|
|
943
|
+
status: statusByResponse.get(response) ?? (response.error ? "error" : "success"),
|
|
944
|
+
resultDisplay: response.resultDisplay,
|
|
945
|
+
error: response.error,
|
|
946
|
+
errorType: response.errorType
|
|
947
|
+
});
|
|
854
948
|
}
|
|
855
949
|
return {
|
|
856
950
|
responseParts: toolResponseParts,
|
|
@@ -1281,6 +1375,8 @@ ${text}
|
|
|
1281
1375
|
}
|
|
1282
1376
|
await handleError(error, config);
|
|
1283
1377
|
} finally {
|
|
1378
|
+
cleanupReviewWorktrees();
|
|
1379
|
+
unregisterReviewWorktreeCleanup();
|
|
1284
1380
|
config.onTeamManagerChange(null, onTeamManagerChangeHandler);
|
|
1285
1381
|
if (boundManager) {
|
|
1286
1382
|
detachFromManager(boundManager);
|
|
@@ -14,14 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-TJTKSVIV.js";
|
|
15
15
|
import {
|
|
16
16
|
loadSettings
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SWFAKVH.js";
|
|
18
18
|
import {
|
|
19
19
|
writeStderrLine
|
|
20
20
|
} from "./chunk-OWAK7LMW.js";
|
|
21
21
|
import {
|
|
22
|
-
MCP_BUDGET_WARN_FRACTION
|
|
22
|
+
MCP_BUDGET_WARN_FRACTION
|
|
23
|
+
} from "./chunk-GEB2CGUV.js";
|
|
24
|
+
import {
|
|
23
25
|
parsePositiveIntegerEnv
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6PVPNMXU.js";
|
|
25
27
|
import {
|
|
26
28
|
openBrowserSecurely,
|
|
27
29
|
shouldLaunchBrowser
|
|
@@ -176,6 +178,9 @@ var serveCommand = {
|
|
|
176
178
|
}).option("channel-idle-timeout-ms", {
|
|
177
179
|
type: "number",
|
|
178
180
|
description: "Milliseconds to keep ACP child alive after last session closes. 0 or unset = immediate kill (default)."
|
|
181
|
+
}).option("initialize-timeout-ms", {
|
|
182
|
+
type: "number",
|
|
183
|
+
description: "ACP child request timeout, including the initialize handshake (ms). Default: 10000 (10 s)."
|
|
179
184
|
}).option("session-reap-interval-ms", {
|
|
180
185
|
type: "number",
|
|
181
186
|
description: "Session reaper scan interval (ms). 0 = disabled. Default: 60000."
|
|
@@ -297,7 +302,7 @@ var serveCommand = {
|
|
|
297
302
|
process.exit(1);
|
|
298
303
|
}
|
|
299
304
|
}
|
|
300
|
-
const { runQwenServe } = await import("./run-qwen-serve-
|
|
305
|
+
const { runQwenServe } = await import("./run-qwen-serve-MXFMOMEL.js");
|
|
301
306
|
try {
|
|
302
307
|
const handle = await runQwenServe({
|
|
303
308
|
port: argv.port,
|
|
@@ -323,6 +328,7 @@ var serveCommand = {
|
|
|
323
328
|
...argv["prompt-deadline-ms"] !== void 0 ? { promptDeadlineMs: argv["prompt-deadline-ms"] } : {},
|
|
324
329
|
...argv["writer-idle-timeout-ms"] !== void 0 ? { writerIdleTimeoutMs: argv["writer-idle-timeout-ms"] } : {},
|
|
325
330
|
...argv["channel-idle-timeout-ms"] !== void 0 ? { channelIdleTimeoutMs: argv["channel-idle-timeout-ms"] } : {},
|
|
331
|
+
...argv["initialize-timeout-ms"] !== void 0 ? { initializeTimeoutMs: argv["initialize-timeout-ms"] } : {},
|
|
326
332
|
...argv["session-reap-interval-ms"] !== void 0 ? { sessionReapIntervalMs: argv["session-reap-interval-ms"] } : {},
|
|
327
333
|
...argv["session-idle-timeout-ms"] !== void 0 ? { sessionIdleTimeoutMs: argv["session-idle-timeout-ms"] } : {},
|
|
328
334
|
...argv["permission-response-timeout-ms"] !== void 0 ? {
|