@qwen-code/qwen-code 0.19.7-nightly.20260708.394c1a289 → 0.19.8
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/features/channels/overview.md +6 -3
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -0
- package/bundled/qc-helper/docs/features/hooks.md +36 -34
- package/bundled/qc-helper/docs/features/memory.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +17 -10
- package/bundled/review/SKILL.md +6 -2
- package/chunks/{MaxSizedBox-XS37LWTD.js → MaxSizedBox-5DT2SD7B.js} +7 -7
- package/chunks/{StandaloneSessionPicker-LPALJTKN.js → StandaloneSessionPicker-EYRGH6PJ.js} +23 -21
- package/chunks/{acpAgent-4VE3FGJX.js → acpAgent-GRFTTRHW.js} +74 -69
- package/chunks/{agent-CCHERW6L.js → agent-H2DGKS77.js} +4 -4
- package/chunks/{agent-headless-55N6UBUU.js → agent-headless-KFMFIT6J.js} +4 -4
- package/chunks/{anthropicContentGenerator-AKYPSZIV.js → anthropicContentGenerator-CPF22MA7.js} +28 -1
- package/chunks/{bridge-U6HXOHE7.js → bridge-NA3ZQQKJ.js} +11 -10
- package/chunks/{ca-HCMB2I54.js → ca-MKD32FQL.js} +26 -1
- package/chunks/{channel-worker-supervisor-CRCVYQIE.js → channel-worker-supervisor-NZQUOEFJ.js} +3 -3
- package/chunks/{chunk-J43WPR6U.js → chunk-27BHARDE.js} +8 -8
- package/chunks/{chunk-KKWO4IX2.js → chunk-2EM7ECZD.js} +251 -71
- package/chunks/{chunk-E7HM76PR.js → chunk-3GNOQZDC.js} +1562 -1025
- package/chunks/{chunk-G7ZG7CA6.js → chunk-3UP777ZS.js} +8 -7
- package/chunks/{chunk-VEB3NYSO.js → chunk-5MBO76SL.js} +5 -0
- package/chunks/{chunk-N74BA4VP.js → chunk-6VK6FIMQ.js} +1 -1
- package/chunks/{chunk-2FHWCKWA.js → chunk-A5JOJ77H.js} +35 -14
- package/chunks/{chunk-PLGONYEL.js → chunk-AYNCLGTW.js} +5 -5
- package/chunks/{chunk-K34DD7FH.js → chunk-BOBOCR5H.js} +4 -3
- package/chunks/chunk-BOBRZZKD.js +468 -0
- package/chunks/{chunk-7I4MGFBN.js → chunk-BUZ6HGL4.js} +5 -5
- package/chunks/{chunk-FK77ILF5.js → chunk-BVYU3ZTI.js} +2 -2
- package/chunks/{chunk-TBAZMRW3.js → chunk-CD6USWHZ.js} +1 -1
- package/chunks/{chunk-PVXPDMGP.js → chunk-CHB5SLZZ.js} +2 -2
- package/chunks/{chunk-SJHAUELE.js → chunk-DCZWC4PF.js} +2 -2
- package/chunks/{chunk-YYU6H66M.js → chunk-DHOLNQLC.js} +11 -11
- package/chunks/{chunk-MOQOAH7N.js → chunk-DICGXFAI.js} +1 -1
- package/chunks/{chunk-KT3SI3CQ.js → chunk-DIWVZ3VM.js} +8 -8
- package/chunks/{chunk-2DYY5XUZ.js → chunk-E7EMCSUG.js} +1 -1
- package/chunks/{chunk-XQ2GVLNJ.js → chunk-EEN2TKST.js} +1 -1
- package/chunks/{chunk-DNV4FSN5.js → chunk-FBET5XZ2.js} +6 -4
- package/chunks/{chunk-GIY6JTTC.js → chunk-FQNC62B2.js} +4 -4
- package/chunks/{chunk-B34OV7K2.js → chunk-GGQQA4JW.js} +13 -0
- package/chunks/chunk-GLE2YUPU.js +34 -0
- package/chunks/{chunk-X265R5C6.js → chunk-GN3F6PIU.js} +1 -1
- package/chunks/{chunk-LC4SMGYY.js → chunk-GSHQYYIV.js} +45 -9
- package/chunks/{chunk-BGL43SJ3.js → chunk-HDOH3QYE.js} +1 -1
- package/chunks/{chunk-4AFOWB47.js → chunk-I6WGFJJ3.js} +63 -4
- package/chunks/{chunk-2NPS2UDH.js → chunk-IBY3Q3HG.js} +390 -9
- package/chunks/{chunk-AXTPFMRS.js → chunk-J7RCB6N5.js} +1 -1
- package/chunks/{chunk-QCSLZO6J.js → chunk-JCH35JB3.js} +1 -1
- package/chunks/{chunk-JYOWO2F7.js → chunk-JPALE3PA.js} +3 -3
- package/chunks/{chunk-5FL2K3ZB.js → chunk-JRQ7EVGE.js} +1 -1
- package/chunks/{chunk-BHRU4SDF.js → chunk-JZHIQJOE.js} +3 -3
- package/chunks/{chunk-FB2ULV4M.js → chunk-L46XKEGM.js} +14 -153
- package/chunks/{chunk-LKXDC3AW.js → chunk-L4AMBVQG.js} +9 -9
- package/chunks/{chunk-ME344634.js → chunk-LAXNEOBG.js} +1 -1
- package/chunks/{chunk-QHT5USLK.js → chunk-M7S4GK5Z.js} +66 -445
- package/chunks/{chunk-4RQIB5UZ.js → chunk-O2YT7VB4.js} +0 -34
- package/chunks/{chunk-TBLJNMI7.js → chunk-O33TBKDC.js} +10 -10
- package/chunks/chunk-O7FIRWJV.js +168 -0
- package/chunks/{chunk-4KJ2BPIT.js → chunk-OACJLMLD.js} +2 -38
- package/chunks/{chunk-CR5IU2RX.js → chunk-ON3JA3RU.js} +2 -2
- package/chunks/{chunk-VTCPREC7.js → chunk-OQXDAMKY.js} +3 -3
- package/chunks/{chunk-ELMPRVCB.js → chunk-P3XEEI3X.js} +1 -1
- package/chunks/{chunk-OU6FPTJZ.js → chunk-PMFULMLX.js} +296 -81
- package/chunks/{chunk-2YELHTUE.js → chunk-PUVCVELY.js} +1 -1
- package/chunks/{chunk-5OSSOBZC.js → chunk-RMLZAUWH.js} +4 -4
- package/chunks/{chunk-B6WUEODT.js → chunk-SQ2UATK7.js} +14 -8
- package/chunks/{chunk-TEYGKLIZ.js → chunk-TI3BWD4D.js} +1 -1
- package/chunks/{chunk-T2EJHSE3.js → chunk-TSPB77TG.js} +57 -35
- package/chunks/{chunk-L7IWK7JY.js → chunk-UX6OTBVD.js} +1 -1
- package/chunks/{chunk-XUSONNJ4.js → chunk-UXEW557D.js} +1 -1
- package/chunks/chunk-V35MD7KN.js +13 -0
- package/chunks/{chunk-B5FOCTEZ.js → chunk-VGGOPZUL.js} +6 -5
- package/chunks/{chunk-MYZWWRVW.js → chunk-WF4FAXDL.js} +2 -2
- package/chunks/{chunk-2SWMCXVR.js → chunk-WHJQ3JUS.js} +20 -8
- package/chunks/{chunk-VQJ64BIQ.js → chunk-WQTHLB5T.js} +3 -3
- package/chunks/chunk-XNXVCNAT.js +88 -0
- package/chunks/{chunk-TDGF35EN.js → chunk-XOHNA2S6.js} +1 -1
- package/chunks/{chunk-ZK5EI6NR.js → chunk-XYR5RUA5.js} +14 -5
- package/chunks/{chunk-YMWIKAEE.js → chunk-YDOXPLYL.js} +244 -47
- package/chunks/{chunk-UZCT5OLN.js → chunk-YHKAK72D.js} +11 -11
- package/chunks/{chunk-RFIL6REB.js → chunk-YKZIAK7C.js} +119 -29
- package/chunks/chunk-Z3I3QJK3.js +47 -0
- package/chunks/{chunk-3QDZDAJG.js → chunk-ZE6E424U.js} +1 -1
- package/chunks/chunk-ZL5HN75Q.js +61 -0
- package/chunks/{computer-use-4CTF6WS3.js → computer-use-WMY3UOBX.js} +4 -4
- package/chunks/{contextCommand-Z3XWQCY6.js → contextCommand-LXFZRP4L.js} +6 -6
- package/chunks/{daemon-F3I2RXP6.js → daemon-WPAENEBW.js} +48 -0
- package/chunks/{daemon-status-provider-6A4QCG6Q.js → daemon-status-provider-GJRXY5EN.js} +15 -13
- package/chunks/{de-PLLFDERI.js → de-ZFPPQVSF.js} +26 -1
- package/chunks/{dist-IMFFBMAT.js → dist-BEXOZXLQ.js} +1 -1
- package/chunks/{dist-OT7G2WNM.js → dist-E6UANPIM.js} +1 -1
- package/chunks/{dist-FQ5WRJPL.js → dist-H2AEJCZ5.js} +2 -2
- package/chunks/{dist-YTRKAVUB.js → dist-O2IRTRPP.js} +1 -1
- package/chunks/{dist-573HNSVO.js → dist-SCFLLYMK.js} +1 -1
- package/chunks/{dist-PKFTNUHO.js → dist-Z34QPAQW.js} +1 -1
- package/chunks/{earlyInputCapture-7O47HW62.js → earlyInputCapture-KNOYZ4MJ.js} +4 -4
- package/chunks/{edit-E32KWLF2.js → edit-OTYWAXGP.js} +5 -5
- package/chunks/{en-GA2RMXY5.js → en-N4EPZAQI.js} +26 -1
- package/chunks/{enter-worktree-ZKFFMHUD.js → enter-worktree-HNYBDVCX.js} +4 -4
- package/chunks/{enterPlanMode-HLDC6NGX.js → enterPlanMode-CJCNGT63.js} +4 -4
- package/chunks/environment-ATFTYMLZ.js +88 -0
- package/chunks/{errors-MTIDDXX7.js → errors-A54HAADA.js} +6 -6
- package/chunks/{exit-worktree-YHY72XA2.js → exit-worktree-DUUKOE3X.js} +4 -4
- package/chunks/{exitPlanMode-JNXKBZ2C.js → exitPlanMode-AMMSXOAJ.js} +4 -4
- package/chunks/{fast-path-DVAGBROV.js → fast-path-OV6NIP3K.js} +12 -3
- package/chunks/{fast-path-settings-RCRXH2JG.js → fast-path-settings-7RIFI3PK.js} +3 -2
- package/chunks/{fr-GWNQG4XH.js → fr-5WWMY53B.js} +26 -1
- package/chunks/{gemini-2TMHJVRC.js → gemini-NQ3WWBKB.js} +431 -135
- package/chunks/{geminiContentGenerator-WCH4GWD3.js → geminiContentGenerator-CDUNEJQE.js} +1 -1
- package/chunks/{glob-I6Y4AGKO.js → glob-ROV3YS4R.js} +4 -4
- package/chunks/{grep-3P2J3LU5.js → grep-NRITKDCD.js} +4 -4
- package/chunks/{handleAutoUpdate-4IVRMRG4.js → handleAutoUpdate-CEZJAARW.js} +6 -6
- package/chunks/{initializer-DVNCPVTC.js → initializer-BRFJKRRX.js} +11 -9
- package/chunks/{ja-2HOTA47X.js → ja-CUHZOLEJ.js} +26 -1
- package/chunks/{list-4D6QK2KZ.js → list-KVHF7O4X.js} +13 -11
- package/chunks/{loadedSettingsAdapter-GNGELH6Q.js → loadedSettingsAdapter-LL5PSFKX.js} +11 -9
- package/chunks/{ls-L654WOAT.js → ls-7MFU2QYW.js} +1 -1
- package/chunks/{lsp-M35KE54Y.js → lsp-XHDTPTGV.js} +2 -4
- package/chunks/{mcp-2IL72YJP.js → mcp-3GCXRTOQ.js} +11 -9
- package/chunks/{monitor-BLVCZAVX.js → monitor-FL2ZO33W.js} +4 -4
- package/chunks/{nonInteractiveCli-UD3V7UOO.js → nonInteractiveCli-PTQI3DV6.js} +44 -41
- package/chunks/{notebook-edit-5TVMWIWY.js → notebook-edit-6PULTHL5.js} +5 -5
- package/chunks/{openaiContentGenerator-5LJ5A7YY.js → openaiContentGenerator-YE42PKCY.js} +3 -3
- package/chunks/{pidfile-AN5JQJ2T.js → pidfile-NZYSCFRK.js} +4 -4
- package/chunks/{pt-2THT3YHA.js → pt-OLYN42DS.js} +26 -1
- package/chunks/{qwenContentGenerator-E2JSB4FJ.js → qwenContentGenerator-NX2E7PB7.js} +5 -5
- package/chunks/{read-file-N5DEFUDU.js → read-file-33XGP5HF.js} +2 -2
- package/chunks/{record-artifact-PP3LKHTS.js → record-artifact-SQ2OKRJW.js} +3 -3
- package/chunks/{ripGrep-BLJHTHKE.js → ripGrep-QWZLGTAN.js} +4 -4
- package/chunks/{ru-Z67YJHBG.js → ru-LDM3GWVQ.js} +26 -1
- package/chunks/{run-qwen-serve-4JDO64RN.js → run-qwen-serve-JK2DL7PI.js} +596 -143
- package/chunks/{scheduler-FQR4XA7J.js → scheduler-O4IGVZKK.js} +4 -4
- package/chunks/{send-message-OA6MV4EU.js → send-message-76GT3JMC.js} +1 -1
- package/chunks/{serve-ZOCFC7YM.js → serve-JTMIGANH.js} +13 -10
- package/chunks/{server-GEOYEPYT.js → server-SGNPKX2O.js} +667 -243
- package/chunks/{session-NJCONHGX.js → session-5BNM25EZ.js} +45 -42
- package/chunks/{settings-QBGGXANI.js → settings-3MI4XXP6.js} +20 -16
- package/chunks/{shell-2DVPSEKT.js → shell-YJKBE67T.js} +4 -4
- package/chunks/{skill-HIPXUHV7.js → skill-I22QK5XS.js} +2 -2
- package/chunks/{spawnChannel-3JYXY52G.js → spawnChannel-UNV6W4DU.js} +6 -6
- package/chunks/{src-NLEX4CUC.js → src-BBQSM46M.js} +8 -4
- package/chunks/{startInteractiveUI-TYGZIU27.js → startInteractiveUI-JII36UGN.js} +619 -288
- package/chunks/{task-create-RPFZNB4B.js → task-create-WCHTB435.js} +2 -2
- package/chunks/{task-update-5WUG5MVQ.js → task-update-XYWMHJGJ.js} +2 -2
- package/chunks/{team-create-MGX57SZJ.js → team-create-A7NUU5AQ.js} +4 -4
- package/chunks/{team-plan-approval-BO2N7J3E.js → team-plan-approval-TOQRJ2KI.js} +4 -4
- package/chunks/{theme-manager-WU7LOA64.js → theme-manager-WZ4RRMMB.js} +4 -4
- package/chunks/{tool-search-CLBKVEVK.js → tool-search-SZ4EFS2T.js} +3 -3
- package/chunks/total-session-admission-ULXJWXFV.js +72 -0
- package/chunks/{trustedFolders-GAQM2GHB.js → trustedFolders-LAZZPZ3D.js} +5 -5
- package/chunks/{updateCheck-RIK2YIQE.js → updateCheck-KONLM73X.js} +5 -5
- package/chunks/{validateNonInterActiveAuth-NS3GBIJZ.js → validateNonInterActiveAuth-MPKSRCXD.js} +41 -38
- package/chunks/{version-B3RSLP54.js → version-NO2XSNNP.js} +1 -1
- package/chunks/{workflow-7APPIGND.js → workflow-WO2H6NRI.js} +5 -5
- package/chunks/{workspace-providers-status-SC67GLMY.js → workspace-providers-status-3W7E7DFW.js} +14 -11
- package/chunks/workspace-registry-SXJZNN3O.js +74 -0
- package/chunks/{workspace-service-ZJHF22WA.js → workspace-service-CZRQZ4Q4.js} +17 -15
- package/chunks/{workspace-skills-status-NJEK6P6Y.js → workspace-skills-status-K7WFREPD.js} +12 -10
- package/chunks/{write-file-R6Z3VLRY.js → write-file-PX2Z7IBE.js} +5 -5
- package/chunks/{zh-7XVVRTDH.js → zh-J4F6QWQV.js} +26 -1
- package/chunks/{zh-TW-DPH554OG.js → zh-TW-XVDWOLSW.js} +26 -1
- package/cli.js +11 -11
- package/locales/ca.js +30 -0
- package/locales/de.js +30 -0
- package/locales/en.js +30 -0
- package/locales/fr.js +30 -0
- package/locales/ja.js +30 -0
- package/locales/pt.js +30 -0
- package/locales/ru.js +30 -0
- package/locales/zh-TW.js +30 -0
- package/locales/zh.js +30 -0
- package/node_modules/@qwen-code/audio-capture/package.json +1 -1
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-C7hjaa7g.js → arc-BWyoJpY2.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-pm9KtMZY.js → architectureDiagram-3BPJPVTR-BT0mGrz2.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CApElKsU.js → blockDiagram-GPEHLZMM-BLgUWvyf.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BeDe0-9N.js → c4Diagram-AAUBKEIU-DYx9M7oU.js} +1 -1
- package/web-shell/assets/channel-wmPUGHtg.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DJEkmLdl.js → chunk-2J33WTMH-CfMHWbuZ.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DXX8gdpe.js → chunk-4BX2VUAB-B1URoqEV.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DORmk1kQ.js → chunk-55IACEB6-DAIaM4QF.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DWmO4mCZ.js → chunk-727SXJPM-B2X34knw.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C7LRaYw2.js → chunk-AQP2D5EJ-Cif-zLTQ.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CCdXgyC5.js → chunk-FMBD7UC4-H18WCXdY.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-SyL_xvWc.js → chunk-ND2GUHAM-YFtetHi0.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BzOuCKxa.js → chunk-QZHKN3VN-By2hiH3r.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BA2ljEjW.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BA2ljEjW.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BMPWyDKc.js → cose-bilkent-S5V4N54A-VrcnnLZu.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B_GnPWik.js → dagre-BM42HDAG-CGo-IaVV.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-fJqMc3S_.js → diagram-2AECGRRQ-Dl4QjzIB.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-ximV3O9D.js → diagram-5GNKFQAL-qMLmsO0u.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-2vVyjzqw.js → diagram-KO2AKTUF-CHlmuxPI.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Dckcx1sT.js → diagram-LMA3HP47-BUwU3GwT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-BAVv47ga.js → diagram-OG6HWLK6-HEhwPDUM.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Bn3nf5J0.js → erDiagram-TEJ5UH35-1n0llBmM.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BIbGF9JT.js → flowDiagram-I6XJVG4X-BN74uMnt.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CDbhb3AH.js → ganttDiagram-6RSMTGT7-BoOq78i3.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CbKG1a_w.js → gitGraphDiagram-PVQCEYII-CN8b00c8.js} +1 -1
- package/web-shell/assets/index-CNwoO1Cn.js +783 -0
- package/web-shell/assets/index-CWQ0z6kZ.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DUFxTy8m.js → infoDiagram-5YYISTIA-CCurnIna.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-D69hrBG8.js → ishikawaDiagram-YF4QCWOH-AwuRqdUP.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DsvEw51Y.js → journeyDiagram-JHISSGLW-B7IICk-E.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-lFFjZEYd.js → kanban-definition-UN3LZRKU-BYF0OKhx.js} +1 -1
- package/web-shell/assets/{linear-Bo5bWzvo.js → linear-GWWguGfD.js} +1 -1
- package/web-shell/assets/{mermaid.core-C_HKMJx5.js → mermaid.core-JqtkxvCl.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DlV-NUTs.js → mindmap-definition-RKZ34NQL-B0MmHsZ6.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-B2e6FH2a.js → pieDiagram-4H26LBE5-DhImUZLQ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D75kSk-b.js → quadrantDiagram-W4KKPZXB-DGeSC3DT.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CQ6xakhM.js → requirementDiagram-4Y6WPE33-DkspY6Re.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-J_XTKrcY.js → sankeyDiagram-5OEKKPKP-CaOofS2x.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-D7jTcBtf.js → sequenceDiagram-3UESZ5HK-DFQ_kFnN.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CrlM_OT3.js → stateDiagram-AJRCARHV-D3snw0Tz.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BbSm_9d0.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-5oZi76Ef.js → timeline-definition-PNZ67QCA-l4zH8nLM.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DO5YptPK.js → vennDiagram-CIIHVFJN-BnRlA98M.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-4t1eJDvM.js → wardley-L42UT6IY-BS0xUdmd.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DKZc661S.js → wardleyDiagram-YWT4CUSO-DKGBUWyQ.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-su9hp08G.js → xychartDiagram-2RQKCTM6-DVb2HuOB.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/assets/channel-BNf1dW-j.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +0 -1
- package/web-shell/assets/index-CnE2ur2L.js +0 -779
- package/web-shell/assets/index-hSKXrlSE.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +0 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
|
+
contextCommand
|
|
5
|
+
} from "./chunk-WQTHLB5T.js";
|
|
6
|
+
import {
|
|
7
|
+
ExtensionRefreshState,
|
|
4
8
|
isValidSessionId,
|
|
5
9
|
validateAuthMethod
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YDOXPLYL.js";
|
|
7
11
|
import {
|
|
8
12
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
9
13
|
calculateCost,
|
|
@@ -15,20 +19,17 @@ import {
|
|
|
15
19
|
levelLabel,
|
|
16
20
|
useKeypress,
|
|
17
21
|
writeOsc52
|
|
18
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-27BHARDE.js";
|
|
19
23
|
import {
|
|
20
24
|
Text
|
|
21
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-P3XEEI3X.js";
|
|
22
26
|
import {
|
|
23
27
|
isKittyProtocolEnabled
|
|
24
28
|
} from "./chunk-JZSY4WP3.js";
|
|
25
|
-
import {
|
|
26
|
-
contextCommand
|
|
27
|
-
} from "./chunk-VQJ64BIQ.js";
|
|
28
29
|
import {
|
|
29
30
|
getInstallationInfo,
|
|
30
31
|
rollbackStandaloneUpdate
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6VK6FIMQ.js";
|
|
32
33
|
import {
|
|
33
34
|
isTerminalGoalStatusKind
|
|
34
35
|
} from "./chunk-SAIILPQ3.js";
|
|
@@ -38,9 +39,6 @@ import {
|
|
|
38
39
|
import {
|
|
39
40
|
themeManager
|
|
40
41
|
} from "./chunk-PC4ZXHU2.js";
|
|
41
|
-
import {
|
|
42
|
-
getErrorMessage as getErrorMessage2
|
|
43
|
-
} from "./chunk-SJHAUELE.js";
|
|
44
42
|
import {
|
|
45
43
|
GITHUB_WORKFLOW_PATHS,
|
|
46
44
|
INSIGHT_CSS,
|
|
@@ -53,16 +51,19 @@ import {
|
|
|
53
51
|
toJson,
|
|
54
52
|
toJsonl,
|
|
55
53
|
toMarkdown
|
|
56
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-BVYU3ZTI.js";
|
|
57
55
|
import {
|
|
58
56
|
stripUnsafeCharacters,
|
|
59
57
|
toCodePoints
|
|
60
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XYR5RUA5.js";
|
|
59
|
+
import {
|
|
60
|
+
getErrorMessage as getErrorMessage2
|
|
61
|
+
} from "./chunk-DCZWC4PF.js";
|
|
61
62
|
import {
|
|
62
63
|
getExtendedSystemInfo,
|
|
63
64
|
getGitVersion,
|
|
64
65
|
getNpmVersion
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JZHIQJOE.js";
|
|
66
67
|
import {
|
|
67
68
|
formatDuration,
|
|
68
69
|
formatMemoryUsage,
|
|
@@ -71,7 +72,7 @@ import {
|
|
|
71
72
|
import {
|
|
72
73
|
isInlineModelOverrideAllowed,
|
|
73
74
|
parseAcpModelOption
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-DIWVZ3VM.js";
|
|
75
76
|
import {
|
|
76
77
|
formatUnsupportedVoiceModelMessage,
|
|
77
78
|
getVoiceSettingsScope,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
isVoiceEnabled,
|
|
80
81
|
readVoiceMode,
|
|
81
82
|
readVoiceModel
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZE6E424U.js";
|
|
83
84
|
import {
|
|
84
85
|
OUTPUT_LANGUAGE_AUTO,
|
|
85
86
|
getAllSettingKeys,
|
|
@@ -91,7 +92,7 @@ import {
|
|
|
91
92
|
resolveOutputLanguage,
|
|
92
93
|
validateSettingValue,
|
|
93
94
|
writeOutputLanguageAndRegisterPath
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-M7S4GK5Z.js";
|
|
95
96
|
import {
|
|
96
97
|
SUPPORTED_LANGUAGES,
|
|
97
98
|
getCurrentLanguage,
|
|
@@ -99,11 +100,11 @@ import {
|
|
|
99
100
|
resolveSupportedLanguage,
|
|
100
101
|
setLanguageAsync,
|
|
101
102
|
t
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-O33TBKDC.js";
|
|
103
104
|
import {
|
|
104
105
|
isFolderTrustEnabled,
|
|
105
106
|
loadTrustedFolders
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-DICGXFAI.js";
|
|
107
108
|
import {
|
|
108
109
|
require_strip_json_comments
|
|
109
110
|
} from "./chunk-QYUE6W3T.js";
|
|
@@ -175,7 +176,7 @@ import {
|
|
|
175
176
|
stripStartupContext,
|
|
176
177
|
tryGenerateSessionTitle,
|
|
177
178
|
unregisterGoalHook
|
|
178
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-3GNOQZDC.js";
|
|
179
180
|
import {
|
|
180
181
|
external_exports
|
|
181
182
|
} from "./chunk-K5PGHDBN.js";
|
|
@@ -185,7 +186,7 @@ import {
|
|
|
185
186
|
import {
|
|
186
187
|
APPROVAL_MODES,
|
|
187
188
|
FORK_SUBAGENT_TYPE
|
|
188
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-5MBO76SL.js";
|
|
189
190
|
import {
|
|
190
191
|
applySkillAllowedTools,
|
|
191
192
|
buildSkillLlmContent
|
|
@@ -206,10 +207,10 @@ import {
|
|
|
206
207
|
recordSkillInvocation,
|
|
207
208
|
resolveOpenAILogDir,
|
|
208
209
|
uiTelemetryService
|
|
209
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-BUZ6HGL4.js";
|
|
210
211
|
import {
|
|
211
212
|
getAutoMemoryRoot
|
|
212
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-OACJLMLD.js";
|
|
213
214
|
import {
|
|
214
215
|
ToolNames
|
|
215
216
|
} from "./chunk-X3YGAX7V.js";
|
|
@@ -233,7 +234,7 @@ import {
|
|
|
233
234
|
isCpuProfileRecording,
|
|
234
235
|
startCpuProfile,
|
|
235
236
|
stopCpuProfile
|
|
236
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-HDOH3QYE.js";
|
|
237
238
|
import {
|
|
238
239
|
init_esbuild_shims
|
|
239
240
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2696,11 +2697,19 @@ init_esbuild_shims();
|
|
|
2696
2697
|
// packages/cli/src/ui/utils/backgroundWorkUtils.ts
|
|
2697
2698
|
init_esbuild_shims();
|
|
2698
2699
|
function hasBlockingBackgroundWork(config) {
|
|
2699
|
-
return
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2700
|
+
return (
|
|
2701
|
+
// hasRunningTasks, not hasUnfinalizedTasks: a cancelled task whose
|
|
2702
|
+
// finalize callback hasn't fired yet must not block /clear or
|
|
2703
|
+
// session resume — both abort-and-reset the registry right after
|
|
2704
|
+
// this gate, suppressing the pending notification anyway. Gating on
|
|
2705
|
+
// the unfinalized set made /new silently no-op when typed in the
|
|
2706
|
+
// window between cancel and finalize (issue #5949).
|
|
2707
|
+
config.getBackgroundTaskRegistry().hasRunningTasks() || config.getMonitorRegistry().getRunning().length > 0 || config.getBackgroundShellRegistry().hasRunningEntries() || // R7 (wenshao): the WorkflowRunRegistry is a 4th sibling that the
|
|
2708
|
+
// earlier P4b commit forgot to wire here. Without this OR clause,
|
|
2709
|
+
// /clear and session-resume happily ran while a workflow was
|
|
2710
|
+
// mid-run, orphaning the dispatch loop.
|
|
2711
|
+
config.getWorkflowRunRegistry().hasRunningEntries()
|
|
2712
|
+
);
|
|
2704
2713
|
}
|
|
2705
2714
|
__name(hasBlockingBackgroundWork, "hasBlockingBackgroundWork");
|
|
2706
2715
|
function resetBackgroundStateForSessionSwitch(config) {
|
|
@@ -2734,14 +2743,11 @@ var clearCommand = {
|
|
|
2734
2743
|
if (hasBlockingBackgroundWork(config)) {
|
|
2735
2744
|
const content = "Stop the current session's running background tasks before starting a new session.";
|
|
2736
2745
|
context.ui.setDebugMessage(content);
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
};
|
|
2743
|
-
}
|
|
2744
|
-
return;
|
|
2746
|
+
return {
|
|
2747
|
+
type: "message",
|
|
2748
|
+
messageType: "error",
|
|
2749
|
+
content
|
|
2750
|
+
};
|
|
2745
2751
|
}
|
|
2746
2752
|
config.getHookSystem()?.fireSessionEndEvent("clear" /* Clear */).catch((err) => {
|
|
2747
2753
|
config.getDebugLogger().warn(`SessionEnd hook failed: ${err}`);
|
|
@@ -9114,6 +9120,178 @@ var recapCommand = {
|
|
|
9114
9120
|
}, "action")
|
|
9115
9121
|
};
|
|
9116
9122
|
|
|
9123
|
+
// packages/cli/src/ui/commands/reload-plugins-command.ts
|
|
9124
|
+
init_esbuild_shims();
|
|
9125
|
+
|
|
9126
|
+
// packages/cli/src/config/extension-runtime-reload.ts
|
|
9127
|
+
init_esbuild_shims();
|
|
9128
|
+
var debugLogger10 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
|
|
9129
|
+
async function reloadPluginsRuntime(options) {
|
|
9130
|
+
if (options.config.isSafeMode()) {
|
|
9131
|
+
throw new Error("Extension reload is disabled in safe mode.");
|
|
9132
|
+
}
|
|
9133
|
+
const manager = options.config.getExtensionManager();
|
|
9134
|
+
await manager.refreshCache();
|
|
9135
|
+
await manager.refreshTools();
|
|
9136
|
+
await options.reloadCommands?.();
|
|
9137
|
+
return summarizeExtensions(options.config.getActiveExtensions());
|
|
9138
|
+
}
|
|
9139
|
+
__name(reloadPluginsRuntime, "reloadPluginsRuntime");
|
|
9140
|
+
async function refreshExtensionContentRuntime(options) {
|
|
9141
|
+
if (options.config.isSafeMode()) return;
|
|
9142
|
+
const manager = options.config.getExtensionManager();
|
|
9143
|
+
const errors = [];
|
|
9144
|
+
try {
|
|
9145
|
+
await manager.refreshCache();
|
|
9146
|
+
} catch (error) {
|
|
9147
|
+
errors.push(error);
|
|
9148
|
+
debugLogger10.warn(
|
|
9149
|
+
"refreshExtensionContentRuntime: refreshCache failed:",
|
|
9150
|
+
error
|
|
9151
|
+
);
|
|
9152
|
+
}
|
|
9153
|
+
const settled = await Promise.allSettled([
|
|
9154
|
+
options.config.getSkillManager()?.refreshCache(),
|
|
9155
|
+
options.config.getSubagentManager()?.refreshCache(),
|
|
9156
|
+
options.reloadCommands?.()
|
|
9157
|
+
]);
|
|
9158
|
+
for (const result of settled) {
|
|
9159
|
+
if (result.status === "rejected") {
|
|
9160
|
+
errors.push(result.reason);
|
|
9161
|
+
debugLogger10.warn(
|
|
9162
|
+
"refreshExtensionContentRuntime: a refresh leg failed:",
|
|
9163
|
+
result.reason
|
|
9164
|
+
);
|
|
9165
|
+
}
|
|
9166
|
+
}
|
|
9167
|
+
if (errors.length > 0) {
|
|
9168
|
+
throw new Error(
|
|
9169
|
+
errors.map(
|
|
9170
|
+
(error) => error instanceof Error ? error.message : String(error)
|
|
9171
|
+
).join("; ")
|
|
9172
|
+
);
|
|
9173
|
+
}
|
|
9174
|
+
}
|
|
9175
|
+
__name(refreshExtensionContentRuntime, "refreshExtensionContentRuntime");
|
|
9176
|
+
function summarizeExtensions(extensions) {
|
|
9177
|
+
return extensions.reduce(
|
|
9178
|
+
(summary, extension) => {
|
|
9179
|
+
summary.extensionCount++;
|
|
9180
|
+
summary.commandCount += extension.commands?.length ?? 0;
|
|
9181
|
+
summary.skillCount += extension.skills?.length ?? 0;
|
|
9182
|
+
summary.agentCount += extension.agents?.length ?? 0;
|
|
9183
|
+
summary.hookCount += countHooks(extension);
|
|
9184
|
+
summary.mcpServerCount += Object.keys(extension.mcpServers ?? {}).length;
|
|
9185
|
+
summary.lspServerCount += countLspServers(extension);
|
|
9186
|
+
return summary;
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
extensionCount: 0,
|
|
9190
|
+
commandCount: 0,
|
|
9191
|
+
skillCount: 0,
|
|
9192
|
+
agentCount: 0,
|
|
9193
|
+
hookCount: 0,
|
|
9194
|
+
mcpServerCount: 0,
|
|
9195
|
+
lspServerCount: 0
|
|
9196
|
+
}
|
|
9197
|
+
);
|
|
9198
|
+
}
|
|
9199
|
+
__name(summarizeExtensions, "summarizeExtensions");
|
|
9200
|
+
function countHooks(extension) {
|
|
9201
|
+
return Object.values(extension.hooks ?? {}).reduce(
|
|
9202
|
+
(sum, definitions) => sum + (definitions ?? []).reduce(
|
|
9203
|
+
(innerSum, definition) => innerSum + (definition.hooks?.length ?? 0),
|
|
9204
|
+
0
|
|
9205
|
+
),
|
|
9206
|
+
0
|
|
9207
|
+
);
|
|
9208
|
+
}
|
|
9209
|
+
__name(countHooks, "countHooks");
|
|
9210
|
+
function countLspServers(extension) {
|
|
9211
|
+
const lspServers = extension.config.lspServers;
|
|
9212
|
+
if (!lspServers) return 0;
|
|
9213
|
+
if (typeof lspServers === "string") return 1;
|
|
9214
|
+
return Object.keys(lspServers).length;
|
|
9215
|
+
}
|
|
9216
|
+
__name(countLspServers, "countLspServers");
|
|
9217
|
+
|
|
9218
|
+
// packages/cli/src/ui/commands/reload-plugins-command.ts
|
|
9219
|
+
function summaryCountTerm(count, singularKey, pluralKey) {
|
|
9220
|
+
return t(count === 1 ? singularKey : pluralKey, {
|
|
9221
|
+
count: String(count)
|
|
9222
|
+
});
|
|
9223
|
+
}
|
|
9224
|
+
__name(summaryCountTerm, "summaryCountTerm");
|
|
9225
|
+
function formatReloadPluginsSummary(summary) {
|
|
9226
|
+
return [
|
|
9227
|
+
summaryCountTerm(
|
|
9228
|
+
summary.extensionCount,
|
|
9229
|
+
"{{count}} extension",
|
|
9230
|
+
"{{count}} extensions"
|
|
9231
|
+
),
|
|
9232
|
+
summaryCountTerm(
|
|
9233
|
+
summary.commandCount,
|
|
9234
|
+
"{{count}} command",
|
|
9235
|
+
"{{count}} commands"
|
|
9236
|
+
),
|
|
9237
|
+
summaryCountTerm(summary.skillCount, "{{count}} skill", "{{count}} skills"),
|
|
9238
|
+
summaryCountTerm(summary.agentCount, "{{count}} agent", "{{count}} agents"),
|
|
9239
|
+
summaryCountTerm(summary.hookCount, "{{count}} hook", "{{count}} hooks"),
|
|
9240
|
+
summaryCountTerm(
|
|
9241
|
+
summary.mcpServerCount,
|
|
9242
|
+
"{{count}} extension MCP server",
|
|
9243
|
+
"{{count}} extension MCP servers"
|
|
9244
|
+
),
|
|
9245
|
+
summaryCountTerm(
|
|
9246
|
+
summary.lspServerCount,
|
|
9247
|
+
"{{count}} extension LSP server",
|
|
9248
|
+
"{{count}} extension LSP servers"
|
|
9249
|
+
)
|
|
9250
|
+
].join(" \xB7 ");
|
|
9251
|
+
}
|
|
9252
|
+
__name(formatReloadPluginsSummary, "formatReloadPluginsSummary");
|
|
9253
|
+
var reloadPluginsCommand = {
|
|
9254
|
+
name: "reload-plugins",
|
|
9255
|
+
get description() {
|
|
9256
|
+
return t("Reload extension changes from disk");
|
|
9257
|
+
},
|
|
9258
|
+
kind: "built-in" /* BUILT_IN */,
|
|
9259
|
+
supportedModes: ["interactive"],
|
|
9260
|
+
action: /* @__PURE__ */ __name(async (context) => {
|
|
9261
|
+
const config = context.services.config;
|
|
9262
|
+
if (!config) {
|
|
9263
|
+
return {
|
|
9264
|
+
type: "message",
|
|
9265
|
+
messageType: "error",
|
|
9266
|
+
content: t("Config not loaded.")
|
|
9267
|
+
};
|
|
9268
|
+
}
|
|
9269
|
+
const extensionRefreshState = context.services.extensionRefreshState ?? new ExtensionRefreshState();
|
|
9270
|
+
try {
|
|
9271
|
+
extensionRefreshState.notifyExtensionsReloadStarted();
|
|
9272
|
+
const summary = await reloadPluginsRuntime({
|
|
9273
|
+
config,
|
|
9274
|
+
reloadCommands: context.ui.reloadCommands
|
|
9275
|
+
});
|
|
9276
|
+
extensionRefreshState.clearExtensionsChanged();
|
|
9277
|
+
return {
|
|
9278
|
+
type: "message",
|
|
9279
|
+
messageType: "info",
|
|
9280
|
+
content: t("Reloaded extensions: {{summary}}", {
|
|
9281
|
+
summary: formatReloadPluginsSummary(summary)
|
|
9282
|
+
})
|
|
9283
|
+
};
|
|
9284
|
+
} catch (error) {
|
|
9285
|
+
extensionRefreshState.markExtensionsReloadFailed();
|
|
9286
|
+
return {
|
|
9287
|
+
type: "message",
|
|
9288
|
+
messageType: "error",
|
|
9289
|
+
content: error instanceof Error ? t("Reload failed: {{message}}", { message: error.message }) : t("Reload failed.")
|
|
9290
|
+
};
|
|
9291
|
+
}
|
|
9292
|
+
}, "action")
|
|
9293
|
+
};
|
|
9294
|
+
|
|
9117
9295
|
// packages/cli/src/ui/commands/renameCommand.ts
|
|
9118
9296
|
init_esbuild_shims();
|
|
9119
9297
|
var MAX_TITLE_LENGTH = SESSION_TITLE_MAX_LENGTH;
|
|
@@ -10611,7 +10789,7 @@ import * as os4 from "node:os";
|
|
|
10611
10789
|
import * as path13 from "node:path";
|
|
10612
10790
|
import { exec } from "node:child_process";
|
|
10613
10791
|
import { promisify } from "node:util";
|
|
10614
|
-
var
|
|
10792
|
+
var debugLogger11 = createDebugLogger("TERMINAL_SETUP");
|
|
10615
10793
|
var execAsync = promisify(exec);
|
|
10616
10794
|
function stripJsonComments2(content) {
|
|
10617
10795
|
return content.replace(/^\s*\/\/.*$/gm, "");
|
|
@@ -10644,7 +10822,7 @@ async function detectTerminal() {
|
|
|
10644
10822
|
if (parentName.includes("trae") || parentName.includes("Trae"))
|
|
10645
10823
|
return "trae";
|
|
10646
10824
|
} catch (error) {
|
|
10647
|
-
|
|
10825
|
+
debugLogger11.debug("Parent process detection failed:", error);
|
|
10648
10826
|
}
|
|
10649
10827
|
}
|
|
10650
10828
|
return null;
|
|
@@ -10656,7 +10834,7 @@ async function backupFile(filePath) {
|
|
|
10656
10834
|
const backupPath = `${filePath}.backup.${timestamp}`;
|
|
10657
10835
|
await fs10.copyFile(filePath, backupPath);
|
|
10658
10836
|
} catch (error) {
|
|
10659
|
-
|
|
10837
|
+
debugLogger11.warn(`Failed to create backup of ${filePath}:`, error);
|
|
10660
10838
|
}
|
|
10661
10839
|
}
|
|
10662
10840
|
__name(backupFile, "backupFile");
|
|
@@ -12898,6 +13076,7 @@ var BuiltinCommandLoader = class {
|
|
|
12898
13076
|
...this.config?.getFolderTrust() ? [trustCommand] : [],
|
|
12899
13077
|
quitCommand,
|
|
12900
13078
|
recapCommand,
|
|
13079
|
+
reloadPluginsCommand,
|
|
12901
13080
|
renameCommand,
|
|
12902
13081
|
restoreCommand(this.config),
|
|
12903
13082
|
resumeCommand,
|
|
@@ -12929,7 +13108,7 @@ var BuiltinCommandLoader = class {
|
|
|
12929
13108
|
// packages/cli/src/services/BundledSkillLoader.ts
|
|
12930
13109
|
init_esbuild_shims();
|
|
12931
13110
|
import { dirname as dirname2 } from "node:path";
|
|
12932
|
-
var
|
|
13111
|
+
var debugLogger12 = createDebugLogger("BUNDLED_SKILL_LOADER");
|
|
12933
13112
|
var BundledSkillLoader = class {
|
|
12934
13113
|
constructor(config) {
|
|
12935
13114
|
this.config = config;
|
|
@@ -12939,12 +13118,12 @@ var BundledSkillLoader = class {
|
|
|
12939
13118
|
}
|
|
12940
13119
|
async loadCommands(_signal) {
|
|
12941
13120
|
if (this.config?.getBareMode?.()) {
|
|
12942
|
-
|
|
13121
|
+
debugLogger12.debug("Bare mode enabled, skipping bundled skills");
|
|
12943
13122
|
return [];
|
|
12944
13123
|
}
|
|
12945
13124
|
const skillManager = this.config?.getSkillManager();
|
|
12946
13125
|
if (!skillManager) {
|
|
12947
|
-
|
|
13126
|
+
debugLogger12.debug("SkillManager not available, skipping bundled skills");
|
|
12948
13127
|
return [];
|
|
12949
13128
|
}
|
|
12950
13129
|
try {
|
|
@@ -12952,7 +13131,7 @@ var BundledSkillLoader = class {
|
|
|
12952
13131
|
const cronEnabled = this.config?.isCronEnabled() ?? false;
|
|
12953
13132
|
const cronVisible = allSkills.filter((skill) => {
|
|
12954
13133
|
if (!cronEnabled && skill.allowedTools?.some((t2) => t2.startsWith("cron_"))) {
|
|
12955
|
-
|
|
13134
|
+
debugLogger12.debug(
|
|
12956
13135
|
`Hiding skill "${skill.name}" because cron is not enabled`
|
|
12957
13136
|
);
|
|
12958
13137
|
return false;
|
|
@@ -12963,7 +13142,7 @@ var BundledSkillLoader = class {
|
|
|
12963
13142
|
const skills = cronVisible.filter(
|
|
12964
13143
|
(skill) => !disabled.has(skill.name.toLowerCase())
|
|
12965
13144
|
);
|
|
12966
|
-
|
|
13145
|
+
debugLogger12.debug(
|
|
12967
13146
|
`Loaded ${skills.length} bundled skill(s) as slash commands; ${cronVisible.length - skills.length} hidden by skills.disabled`
|
|
12968
13147
|
);
|
|
12969
13148
|
return skills.map((skill) => ({
|
|
@@ -13014,7 +13193,7 @@ ${body}`;
|
|
|
13014
13193
|
}, "action")
|
|
13015
13194
|
}));
|
|
13016
13195
|
} catch (error) {
|
|
13017
|
-
|
|
13196
|
+
debugLogger12.error("Failed to load bundled skills:", error);
|
|
13018
13197
|
return [];
|
|
13019
13198
|
}
|
|
13020
13199
|
}
|
|
@@ -13294,7 +13473,7 @@ var ShellProcessor = class {
|
|
|
13294
13473
|
|
|
13295
13474
|
// packages/cli/src/services/prompt-processors/atFileProcessor.ts
|
|
13296
13475
|
init_esbuild_shims();
|
|
13297
|
-
var
|
|
13476
|
+
var debugLogger13 = createDebugLogger("AT_FILE_PROCESSOR");
|
|
13298
13477
|
var AtFileProcessor = class {
|
|
13299
13478
|
constructor(commandName) {
|
|
13300
13479
|
this.commandName = commandName;
|
|
@@ -13340,7 +13519,7 @@ var AtFileProcessor = class {
|
|
|
13340
13519
|
} catch (error) {
|
|
13341
13520
|
const message = error instanceof Error ? error.message : String(error);
|
|
13342
13521
|
const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message}`;
|
|
13343
|
-
|
|
13522
|
+
debugLogger13.error(
|
|
13344
13523
|
`[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
|
|
13345
13524
|
);
|
|
13346
13525
|
context.ui.addItem(
|
|
@@ -13365,7 +13544,7 @@ var AtFileProcessor = class {
|
|
|
13365
13544
|
};
|
|
13366
13545
|
|
|
13367
13546
|
// packages/cli/src/services/command-factory.ts
|
|
13368
|
-
var
|
|
13547
|
+
var debugLogger14 = createDebugLogger("COMMAND_FACTORY");
|
|
13369
13548
|
function createSlashCommandFromDefinition(filePath, baseDir, definition, extensionName, fileExtension) {
|
|
13370
13549
|
const relativePathWithExt = path16.relative(baseDir, filePath);
|
|
13371
13550
|
const relativePath = relativePathWithExt.substring(
|
|
@@ -13409,7 +13588,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
13409
13588
|
whenToUse: definition.whenToUse,
|
|
13410
13589
|
action: /* @__PURE__ */ __name(async (context, _args) => {
|
|
13411
13590
|
if (!context.invocation) {
|
|
13412
|
-
|
|
13591
|
+
debugLogger14.error(
|
|
13413
13592
|
`[FileCommandLoader] Critical error: Command '${baseCommandName}' was executed without invocation context.`
|
|
13414
13593
|
);
|
|
13415
13594
|
return {
|
|
@@ -13447,7 +13626,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
13447
13626
|
__name(createSlashCommandFromDefinition, "createSlashCommandFromDefinition");
|
|
13448
13627
|
|
|
13449
13628
|
// packages/cli/src/services/FileCommandLoader.ts
|
|
13450
|
-
var
|
|
13629
|
+
var debugLogger15 = createDebugLogger("FILE_COMMAND_LOADER");
|
|
13451
13630
|
var TomlCommandDefSchema = external_exports.object({
|
|
13452
13631
|
prompt: external_exports.string({
|
|
13453
13632
|
required_error: "The 'prompt' field is required.",
|
|
@@ -13481,7 +13660,7 @@ var FileCommandLoader = class {
|
|
|
13481
13660
|
*/
|
|
13482
13661
|
async loadCommands(signal) {
|
|
13483
13662
|
if (this.config?.getBareMode?.()) {
|
|
13484
|
-
|
|
13663
|
+
debugLogger15.debug("Bare mode enabled, skipping auto-discovered commands");
|
|
13485
13664
|
return [];
|
|
13486
13665
|
}
|
|
13487
13666
|
const allCommands = [];
|
|
@@ -13525,7 +13704,7 @@ var FileCommandLoader = class {
|
|
|
13525
13704
|
const isEnoent = error.code === "ENOENT";
|
|
13526
13705
|
const isAbortError = error instanceof Error && error.name === "AbortError";
|
|
13527
13706
|
if (!isEnoent && !isAbortError) {
|
|
13528
|
-
|
|
13707
|
+
debugLogger15.error(
|
|
13529
13708
|
`[FileCommandLoader] Error loading commands from ${dirInfo.path}:`,
|
|
13530
13709
|
error
|
|
13531
13710
|
);
|
|
@@ -13582,7 +13761,7 @@ var FileCommandLoader = class {
|
|
|
13582
13761
|
}
|
|
13583
13762
|
}
|
|
13584
13763
|
} catch (error) {
|
|
13585
|
-
|
|
13764
|
+
debugLogger15.warn(
|
|
13586
13765
|
`Failed to read extension config for ${ext.name}:`,
|
|
13587
13766
|
error
|
|
13588
13767
|
);
|
|
@@ -13608,7 +13787,7 @@ var FileCommandLoader = class {
|
|
|
13608
13787
|
try {
|
|
13609
13788
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
13610
13789
|
} catch (error) {
|
|
13611
|
-
|
|
13790
|
+
debugLogger15.error(
|
|
13612
13791
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
13613
13792
|
error instanceof Error ? error.message : String(error)
|
|
13614
13793
|
);
|
|
@@ -13618,7 +13797,7 @@ var FileCommandLoader = class {
|
|
|
13618
13797
|
try {
|
|
13619
13798
|
parsed = import_toml.default.parse(fileContent);
|
|
13620
13799
|
} catch (error) {
|
|
13621
|
-
|
|
13800
|
+
debugLogger15.error(
|
|
13622
13801
|
`[FileCommandLoader] Failed to parse TOML file ${filePath}:`,
|
|
13623
13802
|
error instanceof Error ? error.message : String(error)
|
|
13624
13803
|
);
|
|
@@ -13626,7 +13805,7 @@ var FileCommandLoader = class {
|
|
|
13626
13805
|
}
|
|
13627
13806
|
const validationResult = TomlCommandDefSchema.safeParse(parsed);
|
|
13628
13807
|
if (!validationResult.success) {
|
|
13629
|
-
|
|
13808
|
+
debugLogger15.error(
|
|
13630
13809
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
13631
13810
|
validationResult.error.flatten()
|
|
13632
13811
|
);
|
|
@@ -13653,7 +13832,7 @@ var FileCommandLoader = class {
|
|
|
13653
13832
|
try {
|
|
13654
13833
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
13655
13834
|
} catch (error) {
|
|
13656
|
-
|
|
13835
|
+
debugLogger15.error(
|
|
13657
13836
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
13658
13837
|
error instanceof Error ? error.message : String(error)
|
|
13659
13838
|
);
|
|
@@ -13663,7 +13842,7 @@ var FileCommandLoader = class {
|
|
|
13663
13842
|
try {
|
|
13664
13843
|
parsed = parseMarkdownCommand(fileContent);
|
|
13665
13844
|
} catch (error) {
|
|
13666
|
-
|
|
13845
|
+
debugLogger15.error(
|
|
13667
13846
|
`[FileCommandLoader] Failed to parse Markdown file ${filePath}:`,
|
|
13668
13847
|
error instanceof Error ? error.message : String(error)
|
|
13669
13848
|
);
|
|
@@ -13671,7 +13850,7 @@ var FileCommandLoader = class {
|
|
|
13671
13850
|
}
|
|
13672
13851
|
const validationResult = MarkdownCommandDefSchema.safeParse(parsed);
|
|
13673
13852
|
if (!validationResult.success) {
|
|
13674
|
-
|
|
13853
|
+
debugLogger15.error(
|
|
13675
13854
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
13676
13855
|
validationResult.error.flatten()
|
|
13677
13856
|
);
|
|
@@ -13697,7 +13876,7 @@ var FileCommandLoader = class {
|
|
|
13697
13876
|
|
|
13698
13877
|
// packages/cli/src/services/saved-workflow-loader.ts
|
|
13699
13878
|
init_esbuild_shims();
|
|
13700
|
-
var
|
|
13879
|
+
var debugLogger16 = createDebugLogger("SavedWorkflowLoader");
|
|
13701
13880
|
var SavedWorkflowLoader = class {
|
|
13702
13881
|
constructor(config) {
|
|
13703
13882
|
this.config = config;
|
|
@@ -13716,7 +13895,7 @@ var SavedWorkflowLoader = class {
|
|
|
13716
13895
|
try {
|
|
13717
13896
|
entries = await listSavedWorkflows(this.config);
|
|
13718
13897
|
} catch (e) {
|
|
13719
|
-
|
|
13898
|
+
debugLogger16.debug(`listSavedWorkflows failed: ${e}`);
|
|
13720
13899
|
return [];
|
|
13721
13900
|
}
|
|
13722
13901
|
if (signal.aborted) return [];
|
|
@@ -14014,7 +14193,7 @@ var McpPromptLoader = class {
|
|
|
14014
14193
|
// packages/cli/src/services/SkillCommandLoader.ts
|
|
14015
14194
|
init_esbuild_shims();
|
|
14016
14195
|
import { dirname as dirname3 } from "node:path";
|
|
14017
|
-
var
|
|
14196
|
+
var debugLogger17 = createDebugLogger("SKILL_COMMAND_LOADER");
|
|
14018
14197
|
var SkillCommandLoader = class {
|
|
14019
14198
|
constructor(config) {
|
|
14020
14199
|
this.config = config;
|
|
@@ -14024,12 +14203,12 @@ var SkillCommandLoader = class {
|
|
|
14024
14203
|
}
|
|
14025
14204
|
async loadCommands(_signal) {
|
|
14026
14205
|
if (this.config?.getBareMode?.()) {
|
|
14027
|
-
|
|
14206
|
+
debugLogger17.debug("Bare mode enabled, skipping skill commands");
|
|
14028
14207
|
return [];
|
|
14029
14208
|
}
|
|
14030
14209
|
const skillManager = this.config?.getSkillManager();
|
|
14031
14210
|
if (!skillManager) {
|
|
14032
|
-
|
|
14211
|
+
debugLogger17.debug("SkillManager not available, skipping skill commands");
|
|
14033
14212
|
return [];
|
|
14034
14213
|
}
|
|
14035
14214
|
try {
|
|
@@ -14046,7 +14225,7 @@ var SkillCommandLoader = class {
|
|
|
14046
14225
|
const nonUserInvocableCount = visibleSkills.filter(
|
|
14047
14226
|
(skill) => skill.userInvocable === false
|
|
14048
14227
|
).length;
|
|
14049
|
-
|
|
14228
|
+
debugLogger17.debug(
|
|
14050
14229
|
`Loaded ${userSkills.length} user + ${projectSkills.length} project + ${extensionSkills.length} extension skill(s) as slash commands; ${allSkills.length - visibleSkills.length} hidden by skills.disabled; ${nonUserInvocableCount} marked non-user-invocable`
|
|
14051
14230
|
);
|
|
14052
14231
|
return visibleSkills.map((skill) => {
|
|
@@ -14089,7 +14268,7 @@ var SkillCommandLoader = class {
|
|
|
14089
14268
|
};
|
|
14090
14269
|
});
|
|
14091
14270
|
} catch (error) {
|
|
14092
|
-
|
|
14271
|
+
debugLogger17.error("Failed to load skill commands:", error);
|
|
14093
14272
|
return [];
|
|
14094
14273
|
}
|
|
14095
14274
|
}
|
|
@@ -14164,7 +14343,7 @@ function formatUserPromptExpansionBlockedMessage(reason) {
|
|
|
14164
14343
|
__name(formatUserPromptExpansionBlockedMessage, "formatUserPromptExpansionBlockedMessage");
|
|
14165
14344
|
|
|
14166
14345
|
// packages/cli/src/nonInteractiveCliCommands.ts
|
|
14167
|
-
var
|
|
14346
|
+
var debugLogger18 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
|
|
14168
14347
|
function getSkillCommandName(command) {
|
|
14169
14348
|
return command.skillDetail?.name ?? command.name;
|
|
14170
14349
|
}
|
|
@@ -14567,14 +14746,14 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
|
|
|
14567
14746
|
);
|
|
14568
14747
|
return commandService.getCommandsForMode(mode);
|
|
14569
14748
|
} catch (error) {
|
|
14570
|
-
|
|
14749
|
+
debugLogger18.error("Error loading available commands:", error);
|
|
14571
14750
|
return [];
|
|
14572
14751
|
}
|
|
14573
14752
|
}, "getAvailableCommands");
|
|
14574
14753
|
|
|
14575
14754
|
// packages/cli/src/utils/nonInteractiveHelpers.ts
|
|
14576
14755
|
init_esbuild_shims();
|
|
14577
|
-
var
|
|
14756
|
+
var debugLogger19 = createDebugLogger("NON_INTERACTIVE");
|
|
14578
14757
|
function normalizePartList(parts) {
|
|
14579
14758
|
if (!parts) {
|
|
14580
14759
|
return [];
|
|
@@ -14672,7 +14851,7 @@ async function loadSlashCommandNames(config) {
|
|
|
14672
14851
|
);
|
|
14673
14852
|
return commands.map((cmd) => cmd.name).sort();
|
|
14674
14853
|
} catch (error) {
|
|
14675
|
-
|
|
14854
|
+
debugLogger19.error(
|
|
14676
14855
|
"[buildSystemMessage] Failed to load slash commands:",
|
|
14677
14856
|
error
|
|
14678
14857
|
);
|
|
@@ -14697,7 +14876,7 @@ async function buildSystemMessage(config, sessionId, permissionMode) {
|
|
|
14697
14876
|
const subagents = await subagentManager.listSubagents();
|
|
14698
14877
|
agentNames = subagents.map((subagent) => subagent.name);
|
|
14699
14878
|
} catch (error) {
|
|
14700
|
-
|
|
14879
|
+
debugLogger19.error("[buildSystemMessage] Failed to load subagents:", error);
|
|
14701
14880
|
}
|
|
14702
14881
|
const systemMessage = {
|
|
14703
14882
|
type: "system",
|
|
@@ -14883,6 +15062,7 @@ export {
|
|
|
14883
15062
|
createEmptyHookEventInfo,
|
|
14884
15063
|
addConfigToMatcherGroup,
|
|
14885
15064
|
getAllConfigs,
|
|
15065
|
+
refreshExtensionContentRuntime,
|
|
14886
15066
|
BuiltinCommandLoader,
|
|
14887
15067
|
BundledSkillLoader,
|
|
14888
15068
|
FileCommandLoader,
|