@qwen-code/qwen-code 0.19.10 → 0.19.11-nightly.20260718.767a32484
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/model-providers.md +11 -0
- package/bundled/qc-helper/docs/configuration/settings.md +15 -14
- package/bundled/qc-helper/docs/features/approval-mode.md +2 -2
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +30 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +66 -17
- package/bundled/qc-helper/docs/features/channels/wecom.md +8 -7
- package/bundled/qc-helper/docs/features/sandbox.md +2 -0
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +42 -7
- package/bundled/qc-helper/docs/qwen-serve.md +77 -46
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/SKILL.md +163 -403
- package/chunks/{MaxSizedBox-67ODZ4SZ.js → MaxSizedBox-ZFHA4QEQ.js} +30 -30
- package/chunks/{StandaloneSessionPicker-SIPBQT5Z.js → StandaloneSessionPicker-YRWOQVQA.js} +44 -44
- package/chunks/{acpAgent-VPZJXLFX.js → acpAgent-U2P2IESZ.js} +1423 -487
- package/chunks/{agent-Z7NWL6XL.js → agent-GQXX6X5Y.js} +26 -26
- package/chunks/{agent-headless-73HZ6ROQ.js → agent-headless-3572NBCK.js} +26 -26
- package/chunks/{anthropicContentGenerator-56U3YCP2.js → anthropicContentGenerator-Y65DMM64.js} +103 -18
- package/chunks/{artifact-tool-BWZZJ42H.js → artifact-tool-WR7I2XON.js} +2 -2
- package/chunks/{askUserQuestion-WU3S5A5T.js → askUserQuestion-B4FUTPHD.js} +2 -44
- package/chunks/{bridge-XFKW6S7Q.js → bridge-N5RMGD7G.js} +31 -33
- package/chunks/{ca-C2JTT2N5.js → ca-M3GQQ26D.js} +7 -2
- package/chunks/channel-worker-group-HZVJKLGX.js +21 -0
- package/chunks/{channel-worker-manager-5RWKSGEU.js → channel-worker-manager-3WDK4HNS.js} +34 -10
- package/chunks/{channel-worker-supervisor-PCDAZN4D.js → channel-worker-supervisor-U2W6Q5F7.js} +6 -4
- package/chunks/{chunk-YYPXHMWO.js → chunk-2XRGFF5K.js} +6 -6
- package/chunks/{chunk-ZKMGAFYV.js → chunk-2YSZE74N.js} +2 -2
- package/chunks/{chunk-L5U3ELZX.js → chunk-335ECZTA.js} +1 -1
- package/chunks/{chunk-5EBKKSBX.js → chunk-336KPNNV.js} +2 -2
- package/chunks/{chunk-Q5GLXH5Q.js → chunk-3CL5SEDT.js} +6 -6
- package/chunks/{chunk-2FO5GFKZ.js → chunk-3DJY4IFO.js} +1 -1
- package/chunks/{chunk-CJFNEBYB.js → chunk-3NWYQ7FX.js} +2 -2
- package/chunks/{chunk-WIASPMLX.js → chunk-3X2CFOUM.js} +358 -298
- package/chunks/{chunk-K7CRWKOE.js → chunk-3YJZ6WNY.js} +5812 -4520
- package/chunks/{chunk-Y66VOBRP.js → chunk-4CA4WUMS.js} +2 -2
- package/chunks/{chunk-LQIDP6K5.js → chunk-4CHDYDG3.js} +1 -1
- package/chunks/{chunk-TISZXPAX.js → chunk-4HCYNDMG.js} +1 -1
- package/chunks/chunk-4JBTZBCW.js +140 -0
- package/chunks/{chunk-TV6K2FB4.js → chunk-4RPARQ5D.js} +2 -2
- package/chunks/{chunk-RCEEXIOO.js → chunk-4XCVGEEX.js} +3 -3
- package/chunks/{chunk-N6FXRR6P.js → chunk-57RWF6R7.js} +1 -1
- package/chunks/chunk-5O34IMY5.js +59 -0
- package/chunks/{chunk-5LROA5W4.js → chunk-5QRK2VZG.js} +8 -8
- package/chunks/{chunk-7L4XBYVW.js → chunk-632KROVU.js} +10 -3
- package/chunks/{chunk-65N2J6V2.js → chunk-64XGKNSI.js} +3 -3
- package/chunks/{chunk-P6LART6G.js → chunk-66IT3EY2.js} +1059 -129
- package/chunks/{chunk-FXMC7SL2.js → chunk-6ITLKEOZ.js} +3 -3
- package/chunks/{chunk-F7NXQH4Y.js → chunk-6YIRYY3P.js} +1 -1
- package/chunks/{chunk-GGJII3FM.js → chunk-6Z5NRZVU.js} +92 -3
- package/chunks/{chunk-DPFBNG72.js → chunk-AEKYFMYE.js} +1 -1
- package/chunks/{chunk-2UUAIFQO.js → chunk-ANRANWVE.js} +9 -1
- package/chunks/{chunk-SXU3KKNI.js → chunk-ATJ7H5AS.js} +419 -76
- package/chunks/{chunk-6GETGQWP.js → chunk-C5NSOSF4.js} +64 -18
- package/chunks/{chunk-TQBODCFD.js → chunk-CMVFTMRD.js} +251 -3
- package/chunks/{chunk-DK33QJ3V.js → chunk-CZSAIBUB.js} +733 -14
- package/chunks/{chunk-3MX7D6QN.js → chunk-DASWPKXR.js} +32 -4
- package/chunks/{chunk-JSJFKYWT.js → chunk-DPSHAB47.js} +2 -2
- package/chunks/{chunk-7MJAZMXK.js → chunk-ECZFTRTP.js} +29 -78
- package/chunks/{chunk-H3FQOPPS.js → chunk-EKG3BHQY.js} +4 -4
- package/chunks/{chunk-FSA7ERJ2.js → chunk-F2RR4HO2.js} +1 -1
- package/chunks/{chunk-EQY6POVO.js → chunk-F5XYN5VF.js} +2 -2
- package/chunks/chunk-FEOZBUMT.js +77 -0
- package/chunks/{chunk-L62SEJWY.js → chunk-FHUXCRAF.js} +4 -4
- package/chunks/{chunk-OFEVHGVU.js → chunk-FSJGBUQI.js} +818 -31
- package/chunks/{chunk-FBU7WRZI.js → chunk-FUTHTZVV.js} +1 -1
- package/chunks/{chunk-ZRKBI3DP.js → chunk-FZRES4GK.js} +1 -1
- package/chunks/{chunk-OKAIGAYW.js → chunk-G274ETR6.js} +3 -3
- package/chunks/{chunk-6GKMJPOC.js → chunk-GA3WUOO7.js} +5 -5
- package/chunks/{chunk-X362TMXZ.js → chunk-GAQOQMHY.js} +8 -6
- package/chunks/{chunk-WLXYAKV7.js → chunk-GG6RSNWS.js} +9 -4
- package/chunks/{chunk-CEW4HDPK.js → chunk-GUNTLALV.js} +2484 -362
- package/chunks/{chunk-LXLTBIDP.js → chunk-HCCR43AY.js} +1 -1
- package/chunks/{chunk-RDRVMDWV.js → chunk-HIMIG6PI.js} +11 -11
- package/chunks/{chunk-MO7O5722.js → chunk-HQXQCIT2.js} +45 -5
- package/chunks/{chunk-LTNI523B.js → chunk-HT7L5FCZ.js} +28 -5
- package/chunks/{chunk-7NAWTFVY.js → chunk-IENO2YAT.js} +3 -3
- package/chunks/{chunk-3XJFUTNM.js → chunk-IK5TYYVR.js} +59 -12
- package/chunks/{chunk-AAR5SGMD.js → chunk-IVKLDHU6.js} +7 -5
- package/chunks/{chunk-6W6DI34P.js → chunk-IX7O5WI3.js} +180 -8
- package/chunks/{chunk-SPJQO2CE.js → chunk-J2MKYJKZ.js} +2 -2
- package/chunks/{chunk-SPUYQB4T.js → chunk-JBAQ5BYX.js} +1 -1
- package/chunks/{chunk-TYLOFD2U.js → chunk-JCJPZMJV.js} +1 -1
- package/chunks/chunk-JDIUK2Y3.js +226 -0
- package/chunks/{chunk-L37RC7MQ.js → chunk-JUVTV4NF.js} +1 -1
- package/chunks/{chunk-WDWJ4OQJ.js → chunk-K2GBHL73.js} +4 -4
- package/chunks/{chunk-HHEFI4RP.js → chunk-KEVDWH3U.js} +857 -137
- package/chunks/{chunk-YU56QGXX.js → chunk-KTKETHMY.js} +1 -1
- package/chunks/{chunk-WDW64OW3.js → chunk-LGY7PG7Q.js} +5 -5
- package/chunks/{chunk-E67NFMF4.js → chunk-LKR7QQ63.js} +37 -3
- package/chunks/{chunk-4YWLED2A.js → chunk-LSFVUGXT.js} +9 -6
- package/chunks/{chunk-W34A5MJH.js → chunk-LTD3CHGS.js} +1 -1
- package/chunks/chunk-LXXMOYPL.js +22 -0
- package/chunks/{chunk-BBNVFRGD.js → chunk-MI2V6IWU.js} +1 -1
- package/chunks/{chunk-UFOKA4PR.js → chunk-O2K6BLPZ.js} +114 -4
- package/chunks/{chunk-B5I2IIWY.js → chunk-OBYAX5QZ.js} +6 -6
- package/chunks/{chunk-V7EQTZYR.js → chunk-OCQ2QTFJ.js} +203 -47
- package/chunks/{chunk-VBRRNQB7.js → chunk-OPVIKLKK.js} +112 -25
- package/chunks/{chunk-2Z5UX4KI.js → chunk-OSSDHJDU.js} +1 -1
- package/chunks/{chunk-TTUO4DNG.js → chunk-OXOEOOQU.js} +126 -734
- package/chunks/{chunk-4FMG7EDJ.js → chunk-PWYLF7SS.js} +79 -16
- package/chunks/chunk-QFEY6OXH.js +45 -0
- package/chunks/{chunk-YX4LLZ3D.js → chunk-QPRDXJIC.js} +115 -40
- package/chunks/{chunk-7R4DPSRA.js → chunk-R3VWUU2E.js} +1 -1
- package/chunks/{chunk-XLIRF7IK.js → chunk-S4N3G4BB.js} +1 -1
- package/chunks/{chunk-ARKANCNX.js → chunk-SGPFJMRP.js} +1 -1
- package/chunks/{chunk-WTSXKLG5.js → chunk-SUARMD4Q.js} +1 -1
- package/chunks/{chunk-PZL23GTM.js → chunk-T3W4SDRB.js} +2 -0
- package/chunks/chunk-T4TZQJ7W.js +48 -0
- package/chunks/{chunk-K4PZ5F5T.js → chunk-TVYM3Q3J.js} +101 -8
- package/chunks/{chunk-4LD5APFL.js → chunk-TYQMGACW.js} +1 -0
- package/chunks/{chunk-6OATMEYN.js → chunk-U2LNTX56.js} +12 -4
- package/chunks/{chunk-422XAKCK.js → chunk-U2XBPBO3.js} +4 -3
- package/chunks/{chunk-LNUXFLLJ.js → chunk-U4FJ26D2.js} +54 -6
- package/chunks/{chunk-ZQTZXVHP.js → chunk-U6OPT4H2.js} +4 -18
- package/chunks/{chunk-7NFB7LBQ.js → chunk-UE5TZ55T.js} +8 -0
- package/chunks/{chunk-CUUXANEQ.js → chunk-URP6O2PP.js} +6 -1
- package/chunks/{chunk-GDQQRV43.js → chunk-V2FRLYHN.js} +3 -3
- package/chunks/{chunk-WIEO4CWB.js → chunk-VAJS2E2D.js} +1 -1
- package/chunks/{chunk-TXY2C3D2.js → chunk-VNN3JNYT.js} +1 -1
- package/chunks/{chunk-YHN5SUIJ.js → chunk-W7H223ZZ.js} +1 -1
- package/chunks/{chunk-WX6SD4IQ.js → chunk-WEPXQKGP.js} +1 -1
- package/chunks/{chunk-KSO42X3Z.js → chunk-X6YQWCIJ.js} +21 -2
- package/chunks/{chunk-URU5UEK6.js → chunk-XA7OKDWM.js} +135 -68
- package/chunks/{chunk-Q6TUALBE.js → chunk-XAAEDML2.js} +1 -1
- package/chunks/{chunk-KKRTYONM.js → chunk-XSPFQQRE.js} +3 -3
- package/chunks/{chunk-OATTJGPJ.js → chunk-Y72B36CP.js} +7 -7
- package/chunks/{chunk-ZPAHLFZU.js → chunk-Z2LBNX3R.js} +2 -2
- package/chunks/{chunk-XXJKGHZV.js → chunk-ZTSDZQZO.js} +131 -4
- package/chunks/{computer-use-IYTX45WA.js → computer-use-UIFBH25Y.js} +26 -26
- package/chunks/{config-utils-CFT33LTP.js → config-utils-2LHI7JXU.js} +3 -3
- package/chunks/{contextCommand-272V77WU.js → contextCommand-VGZHKEH2.js} +28 -28
- package/chunks/{create-sub-session-WNX2OQVX.js → create-sub-session-DIJOV6HV.js} +2 -2
- package/chunks/{create-sub-session-CBJMQLYP.js → create-sub-session-OFVI4H6I.js} +26 -26
- package/chunks/{cron-create-36TIFKRT.js → cron-create-34GVLSW5.js} +4 -4
- package/chunks/{cron-delete-OQD3WULU.js → cron-delete-NMVKUL45.js} +4 -4
- package/chunks/{cron-list-4533T2FH.js → cron-list-277ZOR7L.js} +4 -4
- package/chunks/{daemon-RNGFPMAB.js → daemon-72MEV3TY.js} +361 -84
- package/chunks/daemon-status-provider-ZJJ6AOG2.js +75 -0
- package/chunks/{de-2VCDRDGU.js → de-56TMDIKS.js} +7 -2
- package/chunks/{dist-3V3ZV6ML.js → dist-4W3UGU2A.js} +1 -1
- package/chunks/{dist-HNN7DR2L.js → dist-G6QCGO2K.js} +58 -30
- package/chunks/{dist-ERCPDVA6.js → dist-ILVRL322.js} +4 -51
- package/chunks/{dist-PHEPJLXD.js → dist-KEZ5JWH4.js} +2 -2
- package/chunks/{dist-JZE7F6YR.js → dist-LQHDHBPP.js} +1 -1
- package/chunks/{dist-MOEC47TR.js → dist-SVHAGOLN.js} +1 -1
- package/chunks/{earlyInputCapture-EN4BRREQ.js → earlyInputCapture-NPF4PVUE.js} +27 -27
- package/chunks/{edit-OMAF2QDR.js → edit-F7CT6NZH.js} +27 -27
- package/chunks/{en-NJCA3TAA.js → en-AXS2N62H.js} +12 -3
- package/chunks/{enter-worktree-BBZX52HG.js → enter-worktree-Z4ET3MZL.js} +26 -26
- package/chunks/{enterPlanMode-5NNFMBUY.js → enterPlanMode-VYR7T5NX.js} +27 -29
- package/chunks/{environment-7TEWMJYN.js → environment-MBTXL57Q.js} +28 -28
- package/chunks/{errors-I4VKVX3F.js → errors-HN36J4FR.js} +28 -28
- package/chunks/{exit-worktree-FUWRJI33.js → exit-worktree-RU7JYFMF.js} +26 -26
- package/chunks/exitPlanMode-LUBAWMZQ.js +390 -0
- package/chunks/{fast-path-ZA57TOH4.js → fast-path-RFT3CDNZ.js} +2 -2
- package/chunks/{fr-5F3E7WKD.js → fr-ZJPE5OVN.js} +7 -2
- package/chunks/{gemini-UOAKVXBG.js → gemini-37NTNKZF.js} +215 -231
- package/chunks/{geminiContentGenerator-G6UCE6MW.js → geminiContentGenerator-76HNOYNQ.js} +5 -5
- package/chunks/{glob-4GJQ2UFF.js → glob-DWD7JCZE.js} +32 -27
- package/chunks/{grep-5QSYXF2E.js → grep-NJRXFV5C.js} +32 -27
- package/chunks/{handleAutoUpdate-ULHNWL6R.js → handleAutoUpdate-7GBDXW6U.js} +30 -30
- package/chunks/{i18n-CYDUTF6F.js → i18n-MYD5VGED.js} +27 -27
- package/chunks/{initializer-NRFKUGIO.js → initializer-4DHPNAZG.js} +32 -32
- package/chunks/{installationInfo-WELKRHHE.js → installationInfo-RWOW6BZO.js} +27 -27
- package/chunks/{ja-66J6B53L.js → ja-57GG4QSL.js} +7 -2
- package/chunks/{keychain-token-storage-AU22CQI6.js → keychain-token-storage-K23CFKGN.js} +2 -2
- package/chunks/{list-JVDXEG2E.js → list-MMCNNHE7.js} +34 -34
- package/chunks/{loadedSettingsAdapter-WAM4VUTG.js → loadedSettingsAdapter-UK4JWPYU.js} +31 -31
- package/chunks/{loop-wakeup-MVUKDVCP.js → loop-wakeup-KCLY4XQM.js} +5 -5
- package/chunks/{ls-RXNIAQDE.js → ls-UNI4LAJ3.js} +4 -4
- package/chunks/{lsp-HB5LM5IL.js → lsp-HPACPJAN.js} +2 -2
- package/chunks/{mcp-YHOZN3ZM.js → mcp-AFCVA4UV.js} +31 -31
- package/chunks/{monitor-R7XZPJHQ.js → monitor-RK637BNO.js} +28 -27
- package/chunks/nonInteractiveCli-OUGWLHNV.js +129 -0
- package/chunks/{notebook-edit-6RNKE2L2.js → notebook-edit-LY2X3CMF.js} +27 -27
- package/chunks/{openaiContentGenerator-XNS5S64I.js → openaiContentGenerator-MDYDW7IA.js} +14 -14
- package/chunks/{pidfile-XE4RRR2P.js → pidfile-2NUYRLKB.js} +27 -27
- package/chunks/processUtils-7QH3VBVN.js +29 -0
- package/chunks/{pt-TFZO5Y6T.js → pt-MCGZ3RZ4.js} +7 -2
- package/chunks/{qwenContentGenerator-APDPJ3VN.js → qwenContentGenerator-3HT4TVDL.js} +28 -28
- package/chunks/{qwenOAuth2-LEYOU7RU.js → qwenOAuth2-3A4TJVZT.js} +5 -5
- package/chunks/{read-file-XSUWXSR7.js → read-file-NE4FREFR.js} +10 -10
- package/chunks/{read-mcp-resource-6LRTZKXI.js → read-mcp-resource-C6NT52T6.js} +2 -2
- package/chunks/{record-artifact-PMDTY4OS.js → record-artifact-ENCU7QCL.js} +2 -2
- package/chunks/{ripGrep-APB3CDMU.js → ripGrep-DBLXWQCJ.js} +26 -26
- package/chunks/{ru-4L4LFHIT.js → ru-GA3NZW5Q.js} +7 -2
- package/chunks/{run-qwen-serve-NWTGPERT.js → run-qwen-serve-3NOCI6IL.js} +63 -39
- package/chunks/{runtime-EIO3NQKR.js → runtime-ZI7DSZSS.js} +35 -35
- package/chunks/{scheduler-JJDZBDRN.js → scheduler-SOVEP5K7.js} +26 -26
- package/chunks/{send-message-SR4WSXP2.js → send-message-5IFPZTPE.js} +3 -3
- package/chunks/{serve-WTIPB3EI.js → serve-DB6OCXIA.js} +31 -31
- package/chunks/{server-NJPHQHLH.js → server-LDY4YVU4.js} +2257 -648
- package/chunks/{session-O4AO7FTS.js → session-D6OG5SKX.js} +99 -72
- package/chunks/{settings-HQNDK7TG.js → settings-L52ZV5LO.js} +30 -30
- package/chunks/{shell-UIXM6PWG.js → shell-IU27OY3Q.js} +28 -26
- package/chunks/{skill-3XMB4ULV.js → skill-BSOJT7LE.js} +12 -12
- package/chunks/{spawnChannel-3R632QRM.js → spawnChannel-HQAM25DD.js} +28 -29
- package/chunks/{src-USZKPUOC.js → src-7ZBIMTJZ.js} +130 -51
- package/chunks/{standalone-update-L5XW3D7K.js → standalone-update-77457VVK.js} +28 -28
- package/chunks/{startInteractiveUI-CPZOL2WB.js → startInteractiveUI-S7WC6EZG.js} +2310 -1835
- package/chunks/{syntheticOutput-YKFNUQZD.js → syntheticOutput-ULOVVLY4.js} +3 -3
- package/chunks/{task-create-NUFOHU53.js → task-create-V2DCDSET.js} +7 -7
- package/chunks/{task-list-Z2IKQY3S.js → task-list-DPL5ZN55.js} +5 -5
- package/chunks/{task-stop-KQFIVQTJ.js → task-stop-CPEQWOT6.js} +2 -2
- package/chunks/{task-update-HKADXSTD.js → task-update-ZR45M5Q7.js} +7 -7
- package/chunks/{team-create-XXPRF3IQ.js → team-create-CO7HSUON.js} +26 -26
- package/chunks/{team-delete-SDNTGZLG.js → team-delete-HIWXCWJU.js} +5 -5
- package/chunks/{team-plan-approval-EOTTKHDW.js → team-plan-approval-QDZF5YZY.js} +26 -26
- package/chunks/{theme-manager-P6UITO2L.js → theme-manager-UTUT3I4P.js} +27 -27
- package/chunks/todoWrite-HK6B3RHJ.js +358 -0
- package/chunks/{tool-search-DDNGK2LR.js → tool-search-2UUORA35.js} +11 -11
- package/chunks/{total-session-admission-PL5N7DNY.js → total-session-admission-NTWG6G3F.js} +32 -34
- package/chunks/{trustedFolders-C5LMF3UR.js → trustedFolders-YF37ZCN5.js} +27 -27
- package/chunks/update-relaunch-QFNHPMZZ.js +87 -0
- package/chunks/{updateCheck-QTVVISH7.js → updateCheck-B6O42VMD.js} +30 -28
- package/chunks/{validateNonInterActiveAuth-RY4RKBQG.js → validateNonInterActiveAuth-SCIWJ4CX.js} +65 -65
- package/chunks/{version-U45RYOSD.js → version-7DA6LAI3.js} +1 -1
- package/chunks/{web-fetch-ZSPR3PRR.js → web-fetch-B62SJXM2.js} +5 -6
- package/chunks/{workflow-TCIAQYOA.js → workflow-Q5WG4THP.js} +27 -27
- package/chunks/{workspace-providers-status-I3G2HYLY.js → workspace-providers-status-WWLAGWQW.js} +34 -34
- package/chunks/{workspace-registration-store-IH5GLZ6Y.js → workspace-registration-store-BVYQVY2H.js} +1 -1
- package/chunks/{workspace-registry-QEKBELIX.js → workspace-registry-OD7ACADD.js} +32 -34
- package/chunks/{workspace-service-ORKHGLP3.js → workspace-service-4LYJWS63.js} +37 -38
- package/chunks/{workspace-skills-status-D7QCNDYY.js → workspace-skills-status-P2AQLZZS.js} +32 -32
- package/chunks/{write-file-JGRQR5VM.js → write-file-TEPGXNM3.js} +60 -27
- package/chunks/{zh-FSAH32JB.js → zh-E34DZ2S3.js} +12 -3
- package/chunks/{zh-TW-D2YIE2LO.js → zh-TW-PEI2ZWUR.js} +12 -3
- package/cli-entry.js +92 -8
- package/cli.js +11 -11
- package/locales/ca.js +12 -2
- package/locales/de.js +12 -2
- package/locales/en.js +20 -5
- package/locales/fr.js +12 -2
- package/locales/ja.js +12 -2
- package/locales/pt.js +12 -2
- package/locales/ru.js +12 -2
- package/locales/zh-TW.js +19 -3
- package/locales/zh.js +19 -3
- package/package.json +3 -3
- package/web-shell/assets/{arc-CUeDlxvE.js → arc-Dh-N5oEG.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-PiUszkQA.js → architectureDiagram-3BPJPVTR-DBOQgtfF.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-s2wYSO7e.js → blockDiagram-GPEHLZMM-Dyxbuyju.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DyLxZoz9.js → c4Diagram-AAUBKEIU-DCJR5HPT.js} +1 -1
- package/web-shell/assets/channel-DY0fkcKT.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-Dsdai7Tk.js → chunk-2J33WTMH-BkMUcy3O.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DEosOjV7.js → chunk-4BX2VUAB-BSm4pLQk.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-sNsRLTXf.js → chunk-55IACEB6-CuRr-XgW.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DkRNZzmh.js → chunk-727SXJPM-CLv7-w3t.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BrsRNpzd.js → chunk-AQP2D5EJ-Cz_n3-JW.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CI039lpl.js → chunk-FMBD7UC4-CFT_62Hq.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-M-pkeIfu.js → chunk-ND2GUHAM-DWz6DOZ6.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-C4ckGNbH.js → chunk-QZHKN3VN-C-mRhUzw.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-DBvJ6PZo.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DBvJ6PZo.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BciKUAFq.js → cose-bilkent-S5V4N54A-BqCZS3i1.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-C1nTSgU6.js → dagre-BM42HDAG-BGasdP8i.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BDPNWr1m.js → diagram-2AECGRRQ-BSyLDkMy.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-CNFhTszL.js → diagram-5GNKFQAL-CM-ZJxWC.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CjPa4p5a.js → diagram-KO2AKTUF-wJdzt_C5.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-ZzPykSyG.js → diagram-LMA3HP47-DiH2fhpL.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-0UVtZ9A4.js → diagram-OG6HWLK6-BZ9z1ZBl.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CajDZCat.js → erDiagram-TEJ5UH35-BsyWDziR.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BRuFBIvL.js → flowDiagram-I6XJVG4X-CzdkxIrq.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BevGmJqG.js → ganttDiagram-6RSMTGT7-javIv2r2.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DvPMpBMb.js → gitGraphDiagram-PVQCEYII-CjHstylC.js} +1 -1
- package/web-shell/assets/{index-DzHwQkQq.js → index-BnJGxpah.js} +1 -1
- package/web-shell/assets/index-DhXB9nTa.js +1161 -0
- package/web-shell/assets/index-vYHgZ7bL.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-Oixn7tA9.js → infoDiagram-5YYISTIA-yXuQsomo.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BgKpeg-j.js → ishikawaDiagram-YF4QCWOH-a85JhE6F.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-74mwxIaA.js → journeyDiagram-JHISSGLW-Dak_4BVj.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-D4D6cEqA.js → kanban-definition-UN3LZRKU-COA-LuCV.js} +1 -1
- package/web-shell/assets/{linear-atZRE_L2.js → linear-DNAAAQWq.js} +1 -1
- package/web-shell/assets/{mermaid.core-KKudX-JC.js → mermaid.core-7Ff3aIUD.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-CMCej9yG.js → mindmap-definition-RKZ34NQL-_rCOIODU.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-nhx40X7q.js → pieDiagram-4H26LBE5-C9QCQ8EW.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CUmVcN3M.js → quadrantDiagram-W4KKPZXB-CsaE4FA8.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-C_vyEwyy.js → requirementDiagram-4Y6WPE33-tV78naTg.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DU6G4VWR.js → sankeyDiagram-5OEKKPKP-Dk3Rw7BZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DdeRR_KJ.js → sequenceDiagram-3UESZ5HK-BGsAWcMX.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-C6iCI8ps.js → stateDiagram-AJRCARHV-zSxdtdoB.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-vLEEtDpO.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B_Ea8Cb7.js → timeline-definition-PNZ67QCA-j0BQh9Go.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BPUVZEJA.js → vennDiagram-CIIHVFJN-CRaUFFIu.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-BWEj0lKY.js → wardley-L42UT6IY-D7Py_ofm.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BvDsdIQw.js → wardleyDiagram-YWT4CUSO-BrDIAZcp.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-crz0QhF_.js → xychartDiagram-2RQKCTM6-Cecdw-w2.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/channel-worker-group-K7QKH6IG.js +0 -13
- package/chunks/chunk-2HRYPZT5.js +0 -25
- package/chunks/chunk-B7NUUEXC.js +0 -311
- package/chunks/chunk-CARU2RR2.js +0 -24
- package/chunks/chunk-GYTKQYDB.js +0 -23
- package/chunks/chunk-LQU7EVFA.js +0 -30
- package/chunks/chunk-OCPBI7J5.js +0 -18
- package/chunks/chunk-OJAMDVF5.js +0 -66
- package/chunks/chunk-QAW7PIHT.js +0 -168
- package/chunks/chunk-TEGEBB2I.js +0 -122
- package/chunks/daemon-status-provider-L4STG5VO.js +0 -76
- package/chunks/exitPlanMode-IHCJ5EEI.js +0 -909
- package/chunks/nonInteractiveCli-NSOB6D74.js +0 -129
- package/chunks/todoWrite-YNXB27GB.js +0 -531
- package/web-shell/assets/channel-DkuJJ0qd.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CwqHc0TB.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwqHc0TB.js +0 -1
- package/web-shell/assets/index-Cnvv4VcI.css +0 -5
- package/web-shell/assets/index-D1Uyklxa.js +0 -1088
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C0_6nR6C.js +0 -1
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import "./chunk-3YJZ6WNY.js";
|
|
4
|
+
import "./chunk-T4TZQJ7W.js";
|
|
5
|
+
import "./chunk-H6XPXXMH.js";
|
|
6
|
+
import "./chunk-5M6IDOMF.js";
|
|
7
|
+
import "./chunk-LKR7QQ63.js";
|
|
8
|
+
import "./chunk-4XCVGEEX.js";
|
|
9
|
+
import "./chunk-XSPFQQRE.js";
|
|
10
|
+
import "./chunk-4RPARQ5D.js";
|
|
11
|
+
import "./chunk-E2UVIFI2.js";
|
|
12
|
+
import "./chunk-XU457J4V.js";
|
|
13
|
+
import "./chunk-VDDGDZMA.js";
|
|
14
|
+
import "./chunk-J2MKYJKZ.js";
|
|
15
|
+
import "./chunk-SZRN75WQ.js";
|
|
16
|
+
import "./chunk-HTO4JFDZ.js";
|
|
17
|
+
import "./chunk-CPBF7KYF.js";
|
|
18
|
+
import {
|
|
19
|
+
buildSubagentPlanToolBlockedResult,
|
|
20
|
+
isPlanLifecycleToolUnavailableInSubagent,
|
|
21
|
+
isPlanRequiredTeammateContext
|
|
22
|
+
} from "./chunk-VNN3JNYT.js";
|
|
23
|
+
import {
|
|
24
|
+
getTeammateContext
|
|
25
|
+
} from "./chunk-6AM5D4ME.js";
|
|
26
|
+
import "./chunk-OSSDHJDU.js";
|
|
27
|
+
import "./chunk-SGPFJMRP.js";
|
|
28
|
+
import "./chunk-335ECZTA.js";
|
|
29
|
+
import "./chunk-JCJPZMJV.js";
|
|
30
|
+
import "./chunk-66IT3EY2.js";
|
|
31
|
+
import "./chunk-4WKAA4KS.js";
|
|
32
|
+
import "./chunk-CR3C7WXL.js";
|
|
33
|
+
import "./chunk-U2LNTX56.js";
|
|
34
|
+
import "./chunk-VGC4I5JJ.js";
|
|
35
|
+
import "./chunk-FUTHTZVV.js";
|
|
36
|
+
import "./chunk-4CA4WUMS.js";
|
|
37
|
+
import "./chunk-WEPXQKGP.js";
|
|
38
|
+
import {
|
|
39
|
+
BaseDeclarativeTool,
|
|
40
|
+
BaseToolInvocation,
|
|
41
|
+
ToolDisplayNames,
|
|
42
|
+
ToolNames
|
|
43
|
+
} from "./chunk-ANRANWVE.js";
|
|
44
|
+
import "./chunk-G274ETR6.js";
|
|
45
|
+
import "./chunk-Z2LBNX3R.js";
|
|
46
|
+
import "./chunk-JESCGQM3.js";
|
|
47
|
+
import "./chunk-VAJS2E2D.js";
|
|
48
|
+
import "./chunk-XVNQMZ2I.js";
|
|
49
|
+
import "./chunk-FEOZBUMT.js";
|
|
50
|
+
import "./chunk-CMVFTMRD.js";
|
|
51
|
+
import "./chunk-A4UCTEB5.js";
|
|
52
|
+
import "./chunk-XWRJCPHC.js";
|
|
53
|
+
import "./chunk-TYQMGACW.js";
|
|
54
|
+
import "./chunk-TYAMGABM.js";
|
|
55
|
+
import "./chunk-FCMNKVXT.js";
|
|
56
|
+
import "./chunk-DJ2GSRLV.js";
|
|
57
|
+
import "./chunk-4CHDYDG3.js";
|
|
58
|
+
import {
|
|
59
|
+
createDebugLogger
|
|
60
|
+
} from "./chunk-UE5TZ55T.js";
|
|
61
|
+
import "./chunk-75DOP5OR.js";
|
|
62
|
+
import "./chunk-DMTGGOSA.js";
|
|
63
|
+
import "./chunk-YQ3U5MUC.js";
|
|
64
|
+
import "./chunk-TB6UDU4T.js";
|
|
65
|
+
import {
|
|
66
|
+
init_esbuild_shims
|
|
67
|
+
} from "./chunk-5O2XNYP6.js";
|
|
68
|
+
import {
|
|
69
|
+
__name
|
|
70
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
71
|
+
|
|
72
|
+
// packages/core/src/tools/exitPlanMode.ts
|
|
73
|
+
init_esbuild_shims();
|
|
74
|
+
var debugLogger = createDebugLogger("EXIT_PLAN_MODE");
|
|
75
|
+
var exitPlanModeToolDescription = `Use this tool when you are in plan mode and have finished presenting your plan and are ready to code. This will prompt the user to exit plan mode.
|
|
76
|
+
|
|
77
|
+
## When to Use This Tool
|
|
78
|
+
IMPORTANT: Only use this tool when the task requires planning the implementation steps of a task that requires writing code. For research tasks where you're gathering information, searching files, reading files or in general trying to understand the codebase - do NOT use this tool.
|
|
79
|
+
|
|
80
|
+
## Before Using This Tool
|
|
81
|
+
Ensure your plan is complete and unambiguous:
|
|
82
|
+
- If you have unresolved questions about requirements or approach, use AskUserQuestion first (in earlier phases)
|
|
83
|
+
- The plan parameter MUST contain your actual plan content \u2014 empty strings will be rejected
|
|
84
|
+
- Once your plan is finalized, use THIS tool to request approval
|
|
85
|
+
|
|
86
|
+
**Important:** Do NOT use AskUserQuestion to ask "Is this plan okay?" or "Should I proceed?" - that's exactly what THIS tool does. ExitPlanMode inherently requests user approval of your plan.
|
|
87
|
+
|
|
88
|
+
## Examples
|
|
89
|
+
1. Initial task: "Search for and understand the implementation of vim mode in the codebase" - Do not use the exit plan mode tool because you are not planning the implementation steps of a task.
|
|
90
|
+
2. Initial task: "Help me implement yank mode for vim" - Use the exit plan mode tool after you have finished planning the implementation steps of the task.
|
|
91
|
+
3. Initial task: "Add a new feature to handle user authentication" - If unsure about auth method (OAuth, JWT, etc.), use AskUserQuestion first, then use exit plan mode tool after clarifying the approach.
|
|
92
|
+
`;
|
|
93
|
+
var exitPlanModeToolSchemaData = {
|
|
94
|
+
name: "exit_plan_mode",
|
|
95
|
+
description: exitPlanModeToolDescription,
|
|
96
|
+
parametersJsonSchema: {
|
|
97
|
+
type: "object",
|
|
98
|
+
properties: {
|
|
99
|
+
plan: {
|
|
100
|
+
type: "string",
|
|
101
|
+
description: "The plan you came up with, that you want to run by the user for approval. Supports markdown. The plan should be pretty concise. Must contain your actual plan content \u2014 empty strings will be rejected."
|
|
102
|
+
},
|
|
103
|
+
originalRequest: {
|
|
104
|
+
type: "string",
|
|
105
|
+
description: "The original user request that prompted this plan. Restate it faithfully for a plan-required teammate leader."
|
|
106
|
+
},
|
|
107
|
+
researchSummary: {
|
|
108
|
+
type: "string",
|
|
109
|
+
description: "A brief summary of the investigation and key findings gathered during plan mode for a plan-required teammate leader."
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
required: ["plan"],
|
|
113
|
+
additionalProperties: false,
|
|
114
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
var ExitPlanModeToolInvocation = class extends BaseToolInvocation {
|
|
118
|
+
constructor(config, params) {
|
|
119
|
+
super(params);
|
|
120
|
+
this.config = config;
|
|
121
|
+
}
|
|
122
|
+
static {
|
|
123
|
+
__name(this, "ExitPlanModeToolInvocation");
|
|
124
|
+
}
|
|
125
|
+
approval;
|
|
126
|
+
getDescription() {
|
|
127
|
+
return "Plan:";
|
|
128
|
+
}
|
|
129
|
+
requiresUserInteraction() {
|
|
130
|
+
return !isPlanRequiredTeammateContext() && !isPlanLifecycleToolUnavailableInSubagent(ToolNames.EXIT_PLAN_MODE);
|
|
131
|
+
}
|
|
132
|
+
async getDefaultPermission() {
|
|
133
|
+
if (isPlanRequiredTeammateContext() || isPlanLifecycleToolUnavailableInSubagent(ToolNames.EXIT_PLAN_MODE)) {
|
|
134
|
+
return "allow";
|
|
135
|
+
}
|
|
136
|
+
return this.config.getApprovalMode() === "plan" /* PLAN */ ? "ask" : "deny";
|
|
137
|
+
}
|
|
138
|
+
async getConfirmationDetails(abortSignal) {
|
|
139
|
+
if (isPlanRequiredTeammateContext()) {
|
|
140
|
+
return super.getConfirmationDetails(abortSignal);
|
|
141
|
+
}
|
|
142
|
+
if (isPlanLifecycleToolUnavailableInSubagent(ToolNames.EXIT_PLAN_MODE)) {
|
|
143
|
+
return super.getConfirmationDetails(abortSignal);
|
|
144
|
+
}
|
|
145
|
+
if (this.config.getApprovalMode() !== "plan" /* PLAN */) {
|
|
146
|
+
throw new Error("Cannot request plan approval outside plan mode.");
|
|
147
|
+
}
|
|
148
|
+
const snapshot = {
|
|
149
|
+
plan: this.params.plan,
|
|
150
|
+
approvalModeRevision: this.config.getApprovalModeRevision(),
|
|
151
|
+
prePlanMode: this.config.getPrePlanMode()
|
|
152
|
+
};
|
|
153
|
+
this.approval = void 0;
|
|
154
|
+
const details = {
|
|
155
|
+
type: "plan",
|
|
156
|
+
title: "Would you like to proceed?",
|
|
157
|
+
hideAlwaysAllow: true,
|
|
158
|
+
plan: snapshot.plan,
|
|
159
|
+
prePlanMode: snapshot.prePlanMode,
|
|
160
|
+
onConfirm: /* @__PURE__ */ __name(async (outcome) => {
|
|
161
|
+
switch (outcome) {
|
|
162
|
+
case "restore_previous" /* RestorePrevious */:
|
|
163
|
+
this.approval = {
|
|
164
|
+
snapshot,
|
|
165
|
+
targetMode: snapshot.prePlanMode
|
|
166
|
+
};
|
|
167
|
+
break;
|
|
168
|
+
case "proceed_always" /* ProceedAlways */:
|
|
169
|
+
this.approval = {
|
|
170
|
+
snapshot,
|
|
171
|
+
targetMode: "auto-edit" /* AUTO_EDIT */
|
|
172
|
+
};
|
|
173
|
+
break;
|
|
174
|
+
case "proceed_once" /* ProceedOnce */:
|
|
175
|
+
this.approval = {
|
|
176
|
+
snapshot,
|
|
177
|
+
targetMode: "default" /* DEFAULT */
|
|
178
|
+
};
|
|
179
|
+
break;
|
|
180
|
+
case "cancel" /* Cancel */:
|
|
181
|
+
this.approval = void 0;
|
|
182
|
+
break;
|
|
183
|
+
default:
|
|
184
|
+
this.approval = void 0;
|
|
185
|
+
throw new Error(
|
|
186
|
+
`Invalid plan approval outcome: ${String(outcome)}`
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
}, "onConfirm")
|
|
190
|
+
};
|
|
191
|
+
return details;
|
|
192
|
+
}
|
|
193
|
+
async execute(signal) {
|
|
194
|
+
if (isPlanLifecycleToolUnavailableInSubagent(ToolNames.EXIT_PLAN_MODE)) {
|
|
195
|
+
return buildSubagentPlanToolBlockedResult(
|
|
196
|
+
ToolNames.EXIT_PLAN_MODE,
|
|
197
|
+
"ExitPlanModeTool",
|
|
198
|
+
debugLogger
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
const { plan, originalRequest, researchSummary } = this.params;
|
|
202
|
+
if (isPlanRequiredTeammateContext()) {
|
|
203
|
+
return this.executePlanRequiredTeammate(
|
|
204
|
+
plan,
|
|
205
|
+
originalRequest,
|
|
206
|
+
researchSummary,
|
|
207
|
+
signal
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
const approval = this.approval;
|
|
211
|
+
if (!approval) {
|
|
212
|
+
return this.noActionResult(
|
|
213
|
+
"Plan execution was not approved. Remaining in plan mode."
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
const { snapshot, targetMode } = approval;
|
|
217
|
+
if (signal.aborted) {
|
|
218
|
+
return this.noActionResult(
|
|
219
|
+
"Plan exit was cancelled. Remaining in plan mode."
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
if (this.config.getApprovalMode() !== "plan" /* PLAN */ || this.config.getApprovalModeRevision() !== snapshot.approvalModeRevision) {
|
|
223
|
+
return this.noActionResult(
|
|
224
|
+
"Plan approval is stale because the approval mode changed. No action was taken."
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
this.savePlanBestEffort(snapshot.plan);
|
|
228
|
+
try {
|
|
229
|
+
this.config.setApprovalMode(targetMode);
|
|
230
|
+
} catch (error) {
|
|
231
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
232
|
+
debugLogger.error(
|
|
233
|
+
`[ExitPlanModeTool] Failed to set approval mode to "${targetMode}": ${message}`
|
|
234
|
+
);
|
|
235
|
+
return this.errorResult(
|
|
236
|
+
`Failed to exit plan mode: ${message}. Remaining in plan mode.`
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
return {
|
|
240
|
+
llmContent: "User approved. You can now start coding. Start with updating your todo list if applicable.",
|
|
241
|
+
returnDisplay: {
|
|
242
|
+
type: "plan_summary",
|
|
243
|
+
message: "User approved.",
|
|
244
|
+
plan: snapshot.plan
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
async executePlanRequiredTeammate(plan, originalRequest, researchSummary, signal) {
|
|
249
|
+
if (this.config.getApprovalMode() !== "plan" /* PLAN */) {
|
|
250
|
+
return this.errorResult("Not in plan mode \u2014 no action taken.");
|
|
251
|
+
}
|
|
252
|
+
const approvalModeRevision = this.config.getApprovalModeRevision();
|
|
253
|
+
const teammate = getTeammateContext();
|
|
254
|
+
const manager = this.config.getTeamManager();
|
|
255
|
+
if (!teammate || !manager) {
|
|
256
|
+
return this.errorResult(
|
|
257
|
+
"Plan-required teammate approval is unavailable in this context."
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
let decision;
|
|
261
|
+
try {
|
|
262
|
+
decision = await manager.requestPlanApproval({
|
|
263
|
+
teammateName: teammate.agentName,
|
|
264
|
+
plan,
|
|
265
|
+
originalRequest,
|
|
266
|
+
researchSummary,
|
|
267
|
+
signal
|
|
268
|
+
});
|
|
269
|
+
} catch (error) {
|
|
270
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
271
|
+
return this.errorResult(
|
|
272
|
+
`Failed to request leader plan approval: ${message}`
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
if (signal.aborted) {
|
|
276
|
+
return this.noActionResult(
|
|
277
|
+
"Leader plan approval was cancelled. Remaining in plan mode."
|
|
278
|
+
);
|
|
279
|
+
}
|
|
280
|
+
if (this.config.getApprovalMode() !== "plan" /* PLAN */ || this.config.getApprovalModeRevision() !== approvalModeRevision) {
|
|
281
|
+
return this.noActionResult(
|
|
282
|
+
"Leader plan approval is stale because the approval mode changed. No action was taken."
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
if (decision.action === "reject") {
|
|
286
|
+
const feedback2 = decision.message ? `
|
|
287
|
+
|
|
288
|
+
Leader feedback:
|
|
289
|
+
${decision.message}` : "";
|
|
290
|
+
const llmContent = "Leader rejected the plan. Revise the plan based on the feedback and call exit_plan_mode again." + feedback2;
|
|
291
|
+
return {
|
|
292
|
+
llmContent,
|
|
293
|
+
returnDisplay: {
|
|
294
|
+
type: "plan_summary",
|
|
295
|
+
message: "Leader rejected the plan.",
|
|
296
|
+
plan: `${plan.trimEnd()}
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
${llmContent}`,
|
|
301
|
+
rejected: true
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
if (decision.targetMode === "plan" /* PLAN */) {
|
|
306
|
+
return this.errorResult(
|
|
307
|
+
"Leader approval did not select an execution mode. Remaining in plan mode."
|
|
308
|
+
);
|
|
309
|
+
}
|
|
310
|
+
this.savePlanBestEffort(plan);
|
|
311
|
+
try {
|
|
312
|
+
this.config.setApprovalMode(decision.targetMode);
|
|
313
|
+
} catch (error) {
|
|
314
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
315
|
+
return this.errorResult(
|
|
316
|
+
`Leader approved the plan, but failed to exit plan mode: ${message}.`
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
const feedback = decision.message ? ` Leader note: ${decision.message}` : "";
|
|
320
|
+
return {
|
|
321
|
+
llmContent: `Leader approved.${feedback} You can now start coding. Start with updating your todo list if applicable.`,
|
|
322
|
+
returnDisplay: {
|
|
323
|
+
type: "plan_summary",
|
|
324
|
+
message: "Leader approved.",
|
|
325
|
+
plan
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
savePlanBestEffort(plan) {
|
|
330
|
+
try {
|
|
331
|
+
this.config.savePlan(plan);
|
|
332
|
+
} catch (error) {
|
|
333
|
+
debugLogger.warn(
|
|
334
|
+
`[ExitPlanModeTool] Failed to save plan to disk: ${error instanceof Error ? error.message : String(error)}`
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
errorResult(message) {
|
|
339
|
+
return {
|
|
340
|
+
llmContent: message,
|
|
341
|
+
returnDisplay: message,
|
|
342
|
+
error: { message }
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
noActionResult(message) {
|
|
346
|
+
return {
|
|
347
|
+
llmContent: message,
|
|
348
|
+
returnDisplay: message
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
var ExitPlanModeTool = class _ExitPlanModeTool extends BaseDeclarativeTool {
|
|
353
|
+
constructor(config) {
|
|
354
|
+
super(
|
|
355
|
+
_ExitPlanModeTool.Name,
|
|
356
|
+
ToolDisplayNames.EXIT_PLAN_MODE,
|
|
357
|
+
exitPlanModeToolDescription,
|
|
358
|
+
"think" /* Think */,
|
|
359
|
+
exitPlanModeToolSchemaData.parametersJsonSchema,
|
|
360
|
+
true,
|
|
361
|
+
false,
|
|
362
|
+
true,
|
|
363
|
+
// Plan mode tells the model to call exit_plan_mode directly, so its schema
|
|
364
|
+
// must always be declared instead of deferred (issue #5210).
|
|
365
|
+
true
|
|
366
|
+
);
|
|
367
|
+
this.config = config;
|
|
368
|
+
}
|
|
369
|
+
static {
|
|
370
|
+
__name(this, "ExitPlanModeTool");
|
|
371
|
+
}
|
|
372
|
+
static Name = ToolNames.EXIT_PLAN_MODE;
|
|
373
|
+
validateToolParams(params) {
|
|
374
|
+
if (!params.plan || typeof params.plan !== "string" || params.plan.trim() === "") {
|
|
375
|
+
return 'Parameter "plan" must be a non-empty string.';
|
|
376
|
+
}
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
379
|
+
createInvocation(params) {
|
|
380
|
+
return new ExitPlanModeToolInvocation(this.config, params);
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
export {
|
|
384
|
+
ExitPlanModeTool
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* @license
|
|
388
|
+
* Copyright 2025 Qwen
|
|
389
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
390
|
+
*/
|
|
@@ -317,7 +317,7 @@ async function maybeOpenWebShellBrowser(handle, open) {
|
|
|
317
317
|
} catch {
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
|
-
const { maybeOpenWebShellBrowser: openBrowser } = await import("./serve-
|
|
320
|
+
const { maybeOpenWebShellBrowser: openBrowser } = await import("./serve-DB6OCXIA.js");
|
|
321
321
|
await openBrowser(handle, true);
|
|
322
322
|
}
|
|
323
323
|
__name(maybeOpenWebShellBrowser, "maybeOpenWebShellBrowser");
|
|
@@ -379,7 +379,7 @@ async function tryRunServeFastPath(rawArgv = process.argv.slice(2)) {
|
|
|
379
379
|
process.exit(1);
|
|
380
380
|
}
|
|
381
381
|
writeServeWarnings(parsed);
|
|
382
|
-
const { runQwenServe } = await import("./run-qwen-serve-
|
|
382
|
+
const { runQwenServe } = await import("./run-qwen-serve-3NOCI6IL.js");
|
|
383
383
|
let handle;
|
|
384
384
|
try {
|
|
385
385
|
handle = await runQwenServe(parsed.options, {
|
|
@@ -503,13 +503,13 @@ var fr_default = {
|
|
|
503
503
|
"Please include the name of the extension to uninstall as a positional argument.": "Veuillez inclure le nom de l'extension \xE0 d\xE9sinstaller comme argument positionnel.",
|
|
504
504
|
"Enables an extension.": "Active une extension.",
|
|
505
505
|
"The name of the extension to enable.": "Le nom de l'extension \xE0 activer.",
|
|
506
|
-
"The scope to enable the
|
|
506
|
+
"The scope to enable the extension in. If not set, will be enabled in all scopes.": "La port\xE9e dans laquelle activer l'extension. Si non d\xE9finie, sera activ\xE9e dans toutes les port\xE9es.",
|
|
507
507
|
'Extension "{{name}}" successfully enabled for scope "{{scope}}".': 'Extension "{{name}}" activ\xE9e avec succ\xE8s pour la port\xE9e "{{scope}}".',
|
|
508
508
|
'Extension "{{name}}" successfully enabled in all scopes.': 'Extension "{{name}}" activ\xE9e avec succ\xE8s dans toutes les port\xE9es.',
|
|
509
509
|
"Invalid scope: {{scope}}. Please use one of {{scopes}}.": "Port\xE9e invalide : {{scope}}. Veuillez utiliser l'une de : {{scopes}}.",
|
|
510
510
|
"Disables an extension.": "D\xE9sactive une extension.",
|
|
511
511
|
"The name of the extension to disable.": "Le nom de l'extension \xE0 d\xE9sactiver.",
|
|
512
|
-
"The scope to disable the
|
|
512
|
+
"The scope to disable the extension in.": "La port\xE9e dans laquelle d\xE9sactiver l'extension.",
|
|
513
513
|
'Extension "{{name}}" successfully disabled for scope "{{scope}}".': 'Extension "{{name}}" d\xE9sactiv\xE9e avec succ\xE8s pour la port\xE9e "{{scope}}".',
|
|
514
514
|
'Extension "{{name}}" successfully updated: {{oldVersion}} \u2192 {{newVersion}}.': 'Extension "{{name}}" mise \xE0 jour avec succ\xE8s : {{oldVersion}} \u2192 {{newVersion}}.',
|
|
515
515
|
'Unable to install extension "{{name}}" due to missing install metadata': `Impossible d'installer l'extension "{{name}}" en raison de m\xE9tadonn\xE9es d'installation manquantes`,
|
|
@@ -1604,6 +1604,11 @@ var fr_default = {
|
|
|
1604
1604
|
"Run the following to update:": "Ex\xE9cutez la commande suivante pour mettre \xE0 jour :",
|
|
1605
1605
|
"Unable to auto-update this standalone installation. Please reinstall from:": "Impossible de mettre \xE0 jour automatiquement cette installation autonome. Veuillez r\xE9installer depuis :",
|
|
1606
1606
|
"Manual update required. Please reinstall Qwen Code.": "Mise \xE0 jour manuelle requise. Veuillez r\xE9installer Qwen Code.",
|
|
1607
|
+
"This session uses the custom sandbox image {{image}}. Update that image and restart Qwen Code.": "Cette session utilise l\u2019image de bac \xE0 sable personnalis\xE9e {{image}}. Mettez \xE0 jour l\u2019image et red\xE9marrez Qwen Code.",
|
|
1608
|
+
"Update Qwen Code on the host, then restart the sandbox.": "Mettez \xE0 jour Qwen Code sur l\u2019h\xF4te, puis red\xE9marrez le bac \xE0 sable.",
|
|
1609
|
+
"The update will be installed after you exit this session.": "La mise \xE0 jour sera install\xE9e apr\xE8s la fermeture de cette session.",
|
|
1610
|
+
"Run /update to install the update on the host.": "Ex\xE9cutez /update pour installer la mise \xE0 jour sur l\u2019h\xF4te.",
|
|
1611
|
+
"Run /update to install the update.": "Ex\xE9cutez /update pour installer la mise \xE0 jour.",
|
|
1607
1612
|
// ============================================================================
|
|
1608
1613
|
// reload-plugins command
|
|
1609
1614
|
// ============================================================================
|