@qwen-code/qwen-code 0.23.5-dev.codemode-responses.20260915.af4da34719 → 0.23.5-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/computer-use/SKILL.md +24 -3
- package/bundled/qc-helper/docs/configuration/model-providers.md +43 -0
- package/bundled/qc-helper/docs/configuration/settings.md +10 -9
- package/bundled/qc-helper/docs/extension/agent-plugins.md +1 -0
- package/bundled/qc-helper/docs/extension/introduction.md +49 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +39 -4
- package/bundled/qc-helper/docs/features/channels/overview.md +12 -0
- package/bundled/qc-helper/docs/features/commands.md +57 -52
- package/bundled/qc-helper/docs/features/computer-use.md +1 -1
- package/bundled/qc-helper/docs/features/goals.md +8 -0
- package/bundled/qc-helper/docs/features/hooks.md +16 -0
- package/bundled/qc-helper/docs/qwen-serve.md +3 -1
- package/bundled/workflow-authoring/SKILL.md +48 -22
- package/chunks/{MaxSizedBox-3K65WFGY.js → MaxSizedBox-FCF6M53W.js} +40 -43
- package/chunks/{StandaloneSessionPicker-JKM33JPY.js → StandaloneSessionPicker-V635V72I.js} +60 -63
- package/chunks/{acp-startup-profiler-RUQNTNU5.js → acp-startup-profiler-MOOU37VM.js} +2 -2
- package/chunks/{acp-subagent-executor-KIZBB2CL.js → acp-subagent-executor-TND6W2O5.js} +46 -47
- package/chunks/{acpAgent-SHI4L5EV.js → acpAgent-3DPWZTNC.js} +954 -322
- package/chunks/{agent-AJXNVRX2.js → agent-KIHGINKN.js} +27 -30
- package/chunks/{agent-headless-2JPJKYHK.js → agent-headless-EJ4QOUSM.js} +27 -30
- package/chunks/{anthropicContentGenerator-H5YPXIDE.js → anthropicContentGenerator-4FGOM5LK.js} +46 -64
- package/chunks/{artifact-tool-MFGORTWZ.js → artifact-tool-MUTNH4NI.js} +1 -1
- package/chunks/{askUserQuestion-WS4GUT7C.js → askUserQuestion-AKIRLVB5.js} +1 -1
- package/chunks/bareMode-QWKZPLPX.js +14 -0
- package/chunks/{bridge-KZYSMV4N.js → bridge-MUX5YJZT.js} +46 -49
- package/chunks/{ca-GZ4FDJU2.js → ca-WC3A5B3Q.js} +12 -1
- package/chunks/{channel-management-service-AFVIT4VH.js → channel-management-service-RRILWSXX.js} +4 -4
- package/chunks/{channel-settings-store-IJG52IDV.js → channel-settings-store-7CBIRZER.js} +51 -54
- package/chunks/{channel-worker-group-JR6JOELM.js → channel-worker-group-3DUJFZJR.js} +8 -8
- package/chunks/{channel-worker-manager-AVKJEZFL.js → channel-worker-manager-E5UW2VLA.js} +8 -8
- package/chunks/{channel-worker-supervisor-OOYY7BAQ.js → channel-worker-supervisor-VN33GSEC.js} +5 -5
- package/chunks/{chunk-2YMRRI2C.js → chunk-2C5TR6HN.js} +82 -9
- package/chunks/{chunk-YDFOHRS5.js → chunk-2GP6BQ2J.js} +1 -1
- package/chunks/{chunk-JATZTB7X.js → chunk-347O2YZJ.js} +158 -290
- package/chunks/{chunk-RYREFZFH.js → chunk-36NRLIR6.js} +10 -8
- package/chunks/{chunk-AXZMWAJV.js → chunk-36SDZ2Q4.js} +8 -0
- package/chunks/{chunk-QR4Q425T.js → chunk-3BZI5GDP.js} +1 -1
- package/chunks/{chunk-IP6NRULS.js → chunk-3HTUE6ZR.js} +3 -3
- package/chunks/{chunk-B2VSRPS6.js → chunk-3LLEB5CU.js} +2 -2
- package/chunks/{chunk-L2XNHRDL.js → chunk-3UGMLA4V.js} +10 -8
- package/chunks/{chunk-66N6C4EH.js → chunk-3WILPKTJ.js} +2 -2
- package/chunks/{chunk-SROLVJFY.js → chunk-3WWPEFMX.js} +1 -1
- package/chunks/{chunk-ZKIAGIGH.js → chunk-3XBUCOWS.js} +1 -1
- package/chunks/{chunk-737SVOO7.js → chunk-43Y26NPF.js} +3 -3
- package/chunks/{chunk-INGBUYL6.js → chunk-4FLUQWJ4.js} +1 -1
- package/chunks/{chunk-BTBJEB27.js → chunk-4JFLRHNE.js} +1 -1
- package/chunks/{chunk-MJHLKWGJ.js → chunk-4QPVZA5J.js} +70 -23
- package/chunks/{chunk-XX5HQLCZ.js → chunk-6OTF7TTE.js} +32 -1
- package/chunks/{chunk-4Y2I3CI3.js → chunk-6USYH3EU.js} +99 -6
- package/chunks/{chunk-Q3TFRP5G.js → chunk-7D4CV7JH.js} +102 -9
- package/chunks/{chunk-EWJTAP3Y.js → chunk-7O5PYQ3M.js} +20 -1
- package/chunks/chunk-ADN5KESB.js +28 -0
- package/chunks/chunk-AKRSSKUT.js +229 -0
- package/chunks/{chunk-IOXJX7XE.js → chunk-AQP3H22J.js} +1 -1
- package/chunks/{chunk-YP7QCE7X.js → chunk-AUX2FL5T.js} +24 -7
- package/chunks/{chunk-YGFJ6BRT.js → chunk-AZCTY64Z.js} +1 -1
- package/chunks/{chunk-5CDDYYNI.js → chunk-B5TJK7B3.js} +1 -1
- package/chunks/{chunk-7MKB7L25.js → chunk-B6RMK4ED.js} +4 -4
- package/chunks/{chunk-YH24ZJ65.js → chunk-BHG3H6OZ.js} +1 -1
- package/chunks/{chunk-BRPYJQDD.js → chunk-BHVF3R6B.js} +7 -5
- package/chunks/{chunk-HFJSQ4GL.js → chunk-BTICBRPL.js} +1 -1
- package/chunks/{chunk-KZCK5JUN.js → chunk-C3T6HPNM.js} +1 -1
- package/chunks/{chunk-UB2MATP5.js → chunk-CDDP4ONL.js} +164 -27
- package/chunks/{chunk-OL3TNHFM.js → chunk-CQPM66MG.js} +4 -4
- package/chunks/{chunk-WKVZES7O.js → chunk-CXONOVBN.js} +1 -1
- package/chunks/{chunk-6IHJLXNF.js → chunk-CXY6BICQ.js} +501 -479
- package/chunks/{chunk-I5QPDANL.js → chunk-D3KVGQUV.js} +1 -1
- package/chunks/{chunk-LMJSPC55.js → chunk-D7JMO2GP.js} +3 -7
- package/chunks/{chunk-CXXAZ2LZ.js → chunk-DC4ZNGH4.js} +1 -1
- package/chunks/{chunk-FMLBBXHB.js → chunk-DRAX5YAI.js} +2 -2
- package/chunks/{chunk-DOTF2PF2.js → chunk-DRD6VBNH.js} +1 -1
- package/chunks/chunk-DX6JTDMR.js +105 -0
- package/chunks/{chunk-HJAJ6MR6.js → chunk-E2VSBAFA.js} +53 -11
- package/chunks/{chunk-G7ZYRFHS.js → chunk-EIBECN2J.js} +3 -3
- package/chunks/{chunk-LWWRJRCD.js → chunk-ESBYWATJ.js} +1 -1
- package/chunks/{chunk-2PLQ3CXJ.js → chunk-FASYATAZ.js} +5 -7
- package/chunks/{chunk-3ADU34IF.js → chunk-FBY32737.js} +4 -4
- package/chunks/{chunk-SIDVJZWH.js → chunk-FCPJXKDG.js} +10 -7
- package/chunks/{chunk-5GXJBU7K.js → chunk-FEDFZBGR.js} +3 -3
- package/chunks/{chunk-CALVKIIG.js → chunk-FIJODK52.js} +3 -3
- package/chunks/{chunk-ZTVYMZBD.js → chunk-FX6PZBOV.js} +3 -3
- package/chunks/{chunk-L6DIANLD.js → chunk-G45B3INR.js} +1 -1
- package/chunks/{chunk-TATT2THJ.js → chunk-GI7SLDOI.js} +2 -2
- package/chunks/chunk-GJKP6XOB.js +1092 -0
- package/chunks/{chunk-I6YJZGHS.js → chunk-GSAOVDTH.js} +9 -9
- package/chunks/{chunk-7MIOAF77.js → chunk-H6L4NEAT.js} +1 -1
- package/chunks/{chunk-MJGJF6G6.js → chunk-HNFKYKHH.js} +103 -22
- package/chunks/{chunk-PN6D5LWJ.js → chunk-HX4WXX3H.js} +301 -138
- package/chunks/{chunk-HG46TTAG.js → chunk-HXUI5D4H.js} +1 -1
- package/chunks/{chunk-JF2CFBDK.js → chunk-HYHSMTRA.js} +4 -4
- package/chunks/{chunk-4DZMYFZA.js → chunk-IKBEIDOH.js} +14 -14
- package/chunks/{chunk-QEENIXYB.js → chunk-INN5ORKX.js} +1 -1
- package/chunks/{chunk-GNV2SFO7.js → chunk-IVFTLUZD.js} +26 -1
- package/chunks/{chunk-L2NII7PZ.js → chunk-IXO2OCIP.js} +2 -2
- package/chunks/{chunk-6MAHSVMB.js → chunk-K4XMAIRX.js} +30 -33
- package/chunks/{chunk-AYMSNIYL.js → chunk-KAYC5FBN.js} +5269 -2785
- package/chunks/chunk-KEM7MWS7.js +3541 -0
- package/chunks/{chunk-ADQUK6WA.js → chunk-KVC7HZWK.js} +1 -1
- package/chunks/{chunk-Z35OSDIT.js → chunk-KVQ3QL4K.js} +3 -3
- package/chunks/{chunk-7U5G6JXI.js → chunk-KWYTSSTJ.js} +105 -6
- package/chunks/{chunk-PZRAE65J.js → chunk-L2A5VBDL.js} +3019 -2352
- package/chunks/{chunk-WD6YQI5M.js → chunk-L3SNMEDW.js} +1 -1
- package/chunks/{chunk-BYUAT5OC.js → chunk-L7TJUPNR.js} +19 -3
- package/chunks/{chunk-ABNX6E6K.js → chunk-LFKXIOGC.js} +1 -1
- package/chunks/{chunk-NFQOOITE.js → chunk-LO2UWNO5.js} +2 -2
- package/chunks/{chunk-LWUTZKDU.js → chunk-M22WLKLI.js} +5 -5
- package/chunks/{chunk-54B2LTKP.js → chunk-M23GFJ5B.js} +24 -5
- package/chunks/{chunk-VGY2RGXL.js → chunk-M4U2LTD2.js} +1 -1
- package/chunks/{chunk-ZNI3YJHS.js → chunk-MFDKHGTD.js} +1 -1
- package/chunks/{chunk-R7OO56VZ.js → chunk-MMRGG6R4.js} +1 -1
- package/chunks/{chunk-E6IR653O.js → chunk-MO4XID7S.js} +1 -1
- package/chunks/{chunk-FZQQMVLB.js → chunk-NKTMUPHJ.js} +3 -6
- package/chunks/{chunk-V77DTVCM.js → chunk-NQ272MQG.js} +1 -1
- package/chunks/{chunk-TDFLM7BE.js → chunk-OALXNGUA.js} +6 -6
- package/chunks/{chunk-FBDHP23D.js → chunk-OSG23MR3.js} +1 -1
- package/chunks/{chunk-NJ2OFVUX.js → chunk-P42KMMU6.js} +860 -1
- package/chunks/{chunk-Y33TCKXL.js → chunk-PF7GAP6K.js} +60 -58
- package/chunks/{chunk-MQRLLBMQ.js → chunk-PPJSG2PU.js} +2 -2
- package/chunks/{chunk-EPVEPTI3.js → chunk-PZRXWQUA.js} +753 -18
- package/chunks/{chunk-OLN7QX4P.js → chunk-Q54O3EIA.js} +30 -28
- package/chunks/{chunk-DQH3EVAD.js → chunk-QGEISOJ2.js} +4 -4
- package/chunks/{chunk-3M4O2AY3.js → chunk-QHSOINX6.js} +2 -2
- package/chunks/{chunk-HIQEL7EM.js → chunk-QIPLWW6Q.js} +1 -1
- package/chunks/chunk-QMENOK5T.js +1246 -0
- package/chunks/chunk-QT6Z2IBF.js +347 -0
- package/chunks/{chunk-TBSCTWKF.js → chunk-RN6A53UJ.js} +25 -0
- package/chunks/{chunk-65BKWMMH.js → chunk-RRI764F7.js} +21 -19
- package/chunks/{chunk-YI2YCNSP.js → chunk-SENYKRII.js} +1 -1
- package/chunks/chunk-SFHX5G2S.js +2796 -0
- package/chunks/chunk-SK3RZOPS.js +34 -0
- package/chunks/{chunk-MD6KXINN.js → chunk-SOLRBF7L.js} +13 -9
- package/chunks/{chunk-6BCN3VOY.js → chunk-SSWTA7CH.js} +12 -12
- package/chunks/{chunk-IAS753HG.js → chunk-SYMXYRM5.js} +11 -2
- package/chunks/{chunk-FGROOEKM.js → chunk-TDKUXSJO.js} +34 -6
- package/chunks/{chunk-ZJ7JQUGY.js → chunk-TKF4JINY.js} +1 -1
- package/chunks/{chunk-RVK37FWG.js → chunk-TPY6HW55.js} +4 -4
- package/chunks/{chunk-EDB556X7.js → chunk-TRZ22SG5.js} +1 -1
- package/chunks/{chunk-7LG4MUUD.js → chunk-TXTCM3TC.js} +4 -4
- package/chunks/{chunk-5ODRE7E5.js → chunk-U4AASWUQ.js} +28 -12
- package/chunks/{chunk-WPMRT4AR.js → chunk-UQGRJTDK.js} +2 -2
- package/chunks/{chunk-JBS56C7O.js → chunk-UZSB57EV.js} +6 -8
- package/chunks/{chunk-S4M6BDNE.js → chunk-V4JJAVHQ.js} +2 -2
- package/chunks/chunk-VEXUA6DX.js +1026 -0
- package/chunks/{chunk-ME4JBHSB.js → chunk-VQDWCQOE.js} +2 -0
- package/chunks/{chunk-3XXDCC5C.js → chunk-VU3XMZ5I.js} +23 -4
- package/chunks/{chunk-RD2HAF25.js → chunk-WL36KHUQ.js} +6 -6
- package/chunks/{chunk-WYRSEVBQ.js → chunk-WNQIJTOP.js} +8 -8
- package/chunks/{chunk-GTBXQ5W2.js → chunk-WSJI6ODG.js} +99 -30
- package/chunks/{chunk-VN5G33G7.js → chunk-WZWTY7SG.js} +6 -6
- package/chunks/{chunk-EKMJR7M3.js → chunk-X7AYIXC7.js} +1 -1
- package/chunks/{chunk-IBRQG2MP.js → chunk-XAJZFGD2.js} +11 -11
- package/chunks/{chunk-VRQZESKP.js → chunk-XICCGDWF.js} +2 -2
- package/chunks/{chunk-OZ2KDR2L.js → chunk-Y2KJC55Y.js} +12 -7
- package/chunks/{chunk-2S2WIGCM.js → chunk-Y4NNIGYO.js} +1 -1
- package/chunks/{chunk-J7LBAKDH.js → chunk-YL3UJML3.js} +7 -7
- package/chunks/{chunk-GSS4SZNG.js → chunk-YP2K3WOS.js} +40 -56
- package/chunks/{chunk-ZZUXUBEB.js → chunk-YQQ2U7AS.js} +8 -5
- package/chunks/{chunk-FAWTMDX7.js → chunk-YXHY6BKS.js} +15 -0
- package/chunks/{chunk-VIV2I3R7.js → chunk-YZXSDPOQ.js} +140 -39
- package/chunks/{chunk-KZ63S3HX.js → chunk-ZFHKUQZ4.js} +3 -3
- package/chunks/{chunk-B6KSTADQ.js → chunk-ZMYKNKET.js} +6 -6
- package/chunks/{codex-subagent-executor-6M7TD3MF.js → codex-subagent-executor-AEAIQZDC.js} +48 -49
- package/chunks/{config-utils-TB4QERW7.js → config-utils-KX2YS725.js} +43 -46
- package/chunks/{contextCommand-BFQMDECM.js → contextCommand-RV6Y5LNJ.js} +41 -44
- package/chunks/{core-runtime-Z2QJJMHR.js → core-runtime-ZI4RTOJQ.js} +45 -48
- package/chunks/{create-sub-session-GE4U3D7C.js → create-sub-session-BBWFQARJ.js} +46 -48
- package/chunks/{daemon-NJB4PWZ7.js → daemon-INCM4VBX.js} +3 -1
- package/chunks/{daemon-git-worktree-guard-IPA22S72.js → daemon-git-worktree-guard-KECEMV6A.js} +39 -42
- package/chunks/{daemon-status-provider-2U5WPCCB.js → daemon-status-provider-NULJNAEV.js} +53 -56
- package/chunks/{daemon-trust-policy-GEIGMVDQ.js → daemon-trust-policy-S4KWGPV3.js} +47 -50
- package/chunks/{daemon-trust-policy-monitor-JETBW5FX.js → daemon-trust-policy-monitor-546N5ZVL.js} +47 -50
- package/chunks/{de-VGY3VNBU.js → de-6AVKPTXQ.js} +11 -0
- package/chunks/{deferred-core-runtime-LANRK77C.js → deferred-core-runtime-T23ZT443.js} +39 -42
- package/chunks/{dist-NIOJXMGY.js → dist-4P3ZJYGI.js} +1 -1
- package/chunks/{dist-VDLSBCLM.js → dist-7MGRENQ5.js} +1 -1
- package/chunks/{dist-SE4J6Z4O.js → dist-BNW423XT.js} +326 -77
- package/chunks/{dist-TFGETXFN.js → dist-CESMUYGN.js} +4 -4
- package/chunks/{dist-MPUZZOG5.js → dist-DBBOFWSC.js} +1 -1
- package/chunks/{dist-T6DDPDLQ.js → dist-G5UMXIGF.js} +1 -1
- package/chunks/{dist-PA7WPFVE.js → dist-UXVNLQHG.js} +3 -3
- package/chunks/{dist-GUB7QRYA.js → dist-VA4LREAQ.js} +2 -2
- package/chunks/{dist-2QYIVNS6.js → dist-XDRTR4QP.js} +1 -1
- package/chunks/{edit-QC63PJOZ.js → edit-CMSQB7NP.js} +27 -30
- package/chunks/{en-E5ZO5TZW.js → en-56QLKXS2.js} +23 -1
- package/chunks/{enter-worktree-CAARFWBI.js → enter-worktree-DA6A4XC5.js} +3 -3
- package/chunks/{enterPlanMode-5TMWDRXD.js → enterPlanMode-UDPMNESD.js} +27 -30
- package/chunks/{environment-TNQVM5B3.js → environment-TSQJUTPV.js} +42 -45
- package/chunks/{errors-KWDDLG7P.js → errors-RIVYJS6T.js} +41 -44
- package/chunks/{exit-worktree-JXGGUOBP.js → exit-worktree-4H6Z2VQI.js} +3 -3
- package/chunks/{exitPlanMode-CLEWPZIE.js → exitPlanMode-BYBBFN2T.js} +27 -30
- package/chunks/{fast-path-PMRLQT7J.js → fast-path-F2CYDDZ4.js} +4 -4
- package/chunks/{fast-path-settings-XDYX7X5Z.js → fast-path-settings-N2VGRGDJ.js} +2 -2
- package/chunks/{fr-UAZJJH5N.js → fr-EBUDHJL3.js} +11 -0
- package/chunks/{glob-3AK4KKCE.js → glob-Z2JMJKKN.js} +27 -30
- package/chunks/{goal-tools-FD6OCE6Q.js → goal-tools-HXVVLGCV.js} +27 -30
- package/chunks/{handleAutoUpdate-QUNNMMY6.js → handleAutoUpdate-FZP45KOR.js} +43 -46
- package/chunks/{i18n-DVN326VM.js → i18n-OTB62AKW.js} +40 -43
- package/chunks/{image-gen-5G2TQ3DY.js → image-gen-HIAZCB5T.js} +6 -7
- package/chunks/{initializer-JHEJBPVJ.js → initializer-4JXZEC4B.js} +47 -50
- package/chunks/{installationInfo-DYOI4I5U.js → installationInfo-2IJV5QKC.js} +39 -42
- package/chunks/{ja-2RITCMAJ.js → ja-NCDT4CGV.js} +11 -0
- package/chunks/{list-MW74DDMO.js → list-KQSQ4A5G.js} +50 -53
- package/chunks/{llm-HUDP76IA.js → llm-LSUBOJAR.js} +154 -974
- package/chunks/{llm-content-generator-KYD6ZEM6.js → llm-content-generator-MLIONRXE.js} +17 -12
- package/chunks/{loadedSettingsAdapter-RRAZOPRB.js → loadedSettingsAdapter-TZTTNRHI.js} +47 -50
- package/chunks/{loggingContentGenerator-MHE6Z2OZ.js → loggingContentGenerator-TUPEXFMM.js} +31 -34
- package/chunks/{loop-wakeup-VG6CGBQA.js → loop-wakeup-ZBVRI6VH.js} +1 -1
- package/chunks/{managed-npm-update-3G3O3T3R.js → managed-npm-update-WEA5XMFZ.js} +40 -43
- package/chunks/{mcp-JGLBFJQB.js → mcp-TFDTUPIA.js} +47 -50
- package/chunks/{model-configuration-EGWMLK4P.js → model-configuration-ZCAKKIOF.js} +48 -51
- package/chunks/{modelConfigUtils-H4WFGWQD.js → modelConfigUtils-J3ZPW7ZK.js} +41 -44
- package/chunks/{monitor-62V72TGX.js → monitor-CI7YE7MT.js} +29 -32
- package/chunks/{nonInteractiveCli-GYKHG7RX.js → nonInteractiveCli-GPT3TVOK.js} +96 -98
- package/chunks/{notebook-edit-HOJLHP3F.js → notebook-edit-3WCVRNGL.js} +27 -30
- package/chunks/{openaiContentGenerator-ZAJTUWVO.js → openaiContentGenerator-OGILGUZE.js} +12 -17
- package/chunks/{openaiResponsesContentGenerator-AWRYZLJU.js → openaiResponsesContentGenerator-NXOXUPFM.js} +45 -13
- package/chunks/{pidfile-CS7LHAN5.js → pidfile-GBTBIGHF.js} +39 -42
- package/chunks/{process-registry-X6ZCASEN.js → process-registry-7LAPI3ZB.js} +1 -1
- package/chunks/{processUtils-OWQU3JQM.js → processUtils-O4II3RYH.js} +2 -2
- package/chunks/{prompt-terminal-ledger-76P527XD.js → prompt-terminal-ledger-ILIXZI3E.js} +40 -43
- package/chunks/{pt-5ZF7ZQUV.js → pt-FYYFWYUC.js} +11 -0
- package/chunks/{qwenContentGenerator-QZCQ3UTX.js → qwenContentGenerator-I4LRYADV.js} +33 -36
- package/chunks/{qwenOAuth2-WIEUEFEY.js → qwenOAuth2-3J66TOT5.js} +6 -7
- package/chunks/{read-file-KR5BES2E.js → read-file-G4XKW2CS.js} +5 -9
- package/chunks/{record-artifact-PXMNP7GZ.js → record-artifact-L3CFJOMA.js} +2 -2
- package/chunks/{report-findings-W6GR7SYZ.js → report-findings-LY5HQY4K.js} +3 -3
- package/chunks/{resumeHistoryUtils-36NM5S3D.js → resumeHistoryUtils-YPJU4XFE.js} +44 -47
- package/chunks/{ripGrep-QGFIVODS.js → ripGrep-AAKMALLM.js} +7 -11
- package/chunks/{ru-7BNZFQKG.js → ru-RHEB3RNS.js} +11 -0
- package/chunks/{run-qwen-serve-UFEOUIDD.js → run-qwen-serve-ZVEKGS7Y.js} +177 -98
- package/chunks/{runtime-7LTR2C7Q.js → runtime-SJCRYNPA.js} +52 -55
- package/chunks/safe-mode-KLGUG54M.js +11 -0
- package/chunks/sandbox-UIXL423Z.js +146 -0
- package/chunks/sandboxConfig-CY343YNJ.js +114 -0
- package/chunks/{scheduled-tasks-MV22T3JO.js → scheduled-tasks-5UGBEVNZ.js} +50 -53
- package/chunks/{scheduler-HSNQ53ML.js → scheduler-GCZYLZ2P.js} +41 -44
- package/chunks/{sdk-exporters-http-3R2TRQHE.js → sdk-exporters-http-DR4G663K.js} +1 -1
- package/chunks/{sdk-impl-4WF3VZ2F.js → sdk-impl-SJR26MQF.js} +3 -3
- package/chunks/{send-message-UMJKN27Q.js → send-message-DN76MXDX.js} +6 -6
- package/chunks/{serve-LDD4FEJQ.js → serve-2XXQLVK2.js} +48 -51
- package/chunks/{server-IKTZFW3E.js → server-UHMKPCAZ.js} +408 -211
- package/chunks/{session-T77EXOOI.js → session-ZLUK7E4P.js} +108 -108
- package/chunks/{session-attachments-root-FBASBVAO.js → session-attachments-root-DHQM5IEZ.js} +39 -42
- package/chunks/{session-pr-refresh-2BHKIMIN.js → session-pr-refresh-3OMTQWCZ.js} +48 -51
- package/chunks/{settings-TJNUFBGG.js → settings-P4DHIIUP.js} +50 -53
- package/chunks/{shell-HDI5VPGD.js → shell-IMFUVQQ5.js} +27 -30
- package/chunks/{skill-VTA6FNDX.js → skill-NB5RJGZW.js} +7 -11
- package/chunks/{skill-settings-K4LSGCKA.js → skill-settings-IXG5CTQO.js} +47 -50
- package/chunks/{spawnChannel-YSGSPD5D.js → spawnChannel-Q3YALTCJ.js} +44 -45
- package/chunks/{standalone-update-O5LYCCMB.js → standalone-update-H5OJ7MM7.js} +41 -44
- package/chunks/{start-opentui-ui-CS6HKYCE.js → start-opentui-ui-JKAIWGF7.js} +733 -386
- package/chunks/{startInteractiveUI-IVP5HEDD.js → startInteractiveUI-YRPOT6GH.js} +370 -337
- package/chunks/task-create-75HVPEAH.js +1 -1
- package/chunks/{team-create-DW4KE2PR.js → team-create-2XTBYRJF.js} +31 -34
- package/chunks/{team-plan-approval-33UL4JDG.js → team-plan-approval-CFNWW7ZQ.js} +27 -30
- package/chunks/{terminal-image-renderer-4FK76L22.js → terminal-image-renderer-UDPJPGPQ.js} +39 -42
- package/chunks/{theme-manager-UQ3EKEJ4.js → theme-manager-SK57EKMO.js} +39 -42
- package/chunks/{tool-search-QUOG6M6M.js → tool-search-ZHTJU2MV.js} +5 -9
- package/chunks/{total-session-admission-QRWPWSK5.js → total-session-admission-UUZBDQCG.js} +47 -50
- package/chunks/{tree-sitter-ALGO6NDO.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-H6YH7EBF.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/{trustedFolders-HESP75BK.js → trustedFolders-4LDBLNTS.js} +40 -43
- package/chunks/{update-relaunch-YROJ7A26.js → update-relaunch-LI7GRP36.js} +5 -5
- package/chunks/{updateCheck-CUKTRHID.js → updateCheck-PKSSORPO.js} +43 -46
- package/chunks/{useAutoAcceptIndicator-BQGSRBHX.js → useAutoAcceptIndicator-I32UEQPI.js} +50 -53
- package/chunks/{validateNonInterActiveAuth-UM5U2ZZI.js → validateNonInterActiveAuth-YFPCYYNL.js} +93 -95
- package/chunks/{version-A6G2KO4K.js → version-4MTL4JVU.js} +1 -1
- package/chunks/{web-fetch-A3RMCVQY.js → web-fetch-O6RG6ISB.js} +9 -13
- package/chunks/{web-search-3XGJ773E.js → web-search-JHAXVEMD.js} +9 -14
- package/chunks/{web-shell-static-T7UGLVE4.js → web-shell-static-FFWCUUZS.js} +8 -4
- package/chunks/{workflow-4TWAFNIB.js → workflow-O7L6VDYU.js} +396 -113
- package/chunks/{workspace-providers-status-GNTJ4OIZ.js → workspace-providers-status-WRX6CJM4.js} +53 -56
- package/chunks/{workspace-registration-store-D3K34O63.js → workspace-registration-store-7G4E7YPY.js} +1 -1
- package/chunks/{workspace-registry-ZE5ZSWNF.js → workspace-registry-SXIMGT4D.js} +47 -50
- package/chunks/{workspace-runtime-coordinator-DEXM2635.js → workspace-runtime-coordinator-7DOEHXYT.js} +47 -50
- package/chunks/{workspace-service-OGYORPWD.js → workspace-service-HDXOZMYC.js} +53 -56
- package/chunks/{workspace-skills-status-4W4H3BGJ.js → workspace-skills-status-VN4L37CA.js} +50 -53
- package/chunks/{workspace-trust-reconciler-BHR7S7UJ.js → workspace-trust-reconciler-XEBW5FUL.js} +57 -60
- package/chunks/{write-file-EP5AEO5E.js → write-file-LKX4ETIO.js} +29 -32
- package/chunks/{zh-V2EYTYJP.js → zh-F76MZTL3.js} +23 -1
- package/chunks/{zh-TW-7PRVUGLW.js → zh-TW-S3YTQ4DS.js} +23 -1
- package/chunks/{zoom-image-DDEGWG3R.js → zoom-image-RDPRTP4B.js} +5 -9
- package/cli.js +19 -15
- package/export-transcript-document.css +1 -1
- package/export-transcript-document.js +151 -150
- package/locales/ca.js +19 -2
- package/locales/de.js +18 -0
- package/locales/en.js +33 -2
- package/locales/fr.js +18 -0
- package/locales/ja.js +18 -0
- package/locales/pt.js +18 -0
- package/locales/ru.js +18 -0
- package/locales/zh-TW.js +33 -2
- package/locales/zh.js +33 -2
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BtpzKw3A.js → abnfDiagram-VCTEODGH-RxykUDmi.js} +1 -1
- package/web-shell/assets/{arc-CQiVKZJP.js → arc-CZpgGCJC.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-ekIPBb2d.js → architectureDiagram-5GKGNRK7-BHSMzNDT.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-BrRWkWri.js → blockDiagram-NRAW4CY4-Bn4mF9SZ.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-qYS8CYZ3.js → c4Diagram-UCG6FXSJ-CBM-Bj6t.js} +1 -1
- package/web-shell/assets/channel-DFYs_LlK.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-ZasyyEZm.js → chunk-2Q5K7J3B-D5Fin58O.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C_IzCGeA.js → chunk-5VM5RSS4-CY05weF7.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-C25NZOyD.js → chunk-F27PBJKO-3neZnj5Y.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-XPOHNSGX.js → chunk-G27WJ6UU-Cd7EU4BE.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BQBh0Xni.js → chunk-JWPE2WC7-DwK1mqFw.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CoShjpX7.js → chunk-LCL6LL3I-Sl7vY22C.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BwRmCDSz.js → chunk-POPQ4Y6H-BXNzpbVg.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-DSzE5-Mw.js → chunk-SVP7TREG-DjjButcp.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BQSQv30h.js → chunk-XXDRQBXY-DNOiCjOJ.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DnGrKXoM.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DnGrKXoM.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-XVUVTHVo.js → cose-bilkent-JH36ORCC-BUnker7a.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-CrsKx4lQ.js → cynefin-OW5HDTMX-DcUgdWE5.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BPeZEuHw.js → cynefinDiagram-5FMLGOSQ-CvDKsZsL.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-D31cQ2Qs.js → dagre-3AP2YEHR-jpCmUbr1.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-zyiG097Q.js → diagram-S7CK7UJ4-DBe_bKE5.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-Br3vtfsy.js → diagram-UQ7AKVKN-oXvPpDgs.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-Bxkhjx4u.js → diagram-VSXAHHWV-BD7-_SGh.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-BQH8QiDk.js → diagram-VX7I27RA-DOJL0wub.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-B_aQ1cw0.js → diagram-Z3DM3KII-DRIiodDD.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-B9N7BRQE.js → ebnfDiagram-PWID7BFC-Db31Ulmb.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-Cx6Hb1Re.js → erDiagram-SSCWMZ5O-CVHhwI2_.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-DTuLP7GU.js → flowDiagram-A5DVABFB-DWOFy1FK.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DYS3d-sL.js → ganttDiagram-EL5Y4UJY-C0sxQtPd.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Cp0EGx04.js → gitGraphDiagram-WWUBYQGX-CNituBYC.js} +1 -1
- package/web-shell/assets/index-B15NlwB8.js +2213 -0
- package/web-shell/assets/index-BSrS0tQ6.css +36 -0
- package/web-shell/assets/{index-45-LkPDB.js → index-gm9tLk7h.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-9--kukiT.js → infoDiagram-RXCK75RN-CxhJYtIR.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CGBdsDLD.js → ishikawaDiagram-5VMMS53U-By2mchUy.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-DeXhcscd.js → journeyDiagram-EYS64GPL-CVH-OweI.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CFdvsU3b.js → kanban-definition-3QL26DDD-Cc9dQXLy.js} +1 -1
- package/web-shell/assets/knowledge-Dg9788h4.svg +1 -0
- package/web-shell/assets/{layout-DAnwQ3KB.js → layout-C_60ysHw.js} +1 -1
- package/web-shell/assets/{linear-CTo7v7Nh.js → linear-BvAVfqwu.js} +1 -1
- package/web-shell/assets/{mermaid.core-jggSxF1i.js → mermaid.core-C3CoBKAc.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DzIepvlJ.js → mindmap-definition-FBJOCRG2-Cuu8Q8LM.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BFGS9GJv.js → pegDiagram-XKGWAZYB-DmAeyDO2.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-B2UUcNIT.js → pieDiagram-E7YTZNPT-B7vbB_xv.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BgM6htrX.js → quadrantDiagram-AXDQQJYC-BqOBkRR7.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-Dk9cS7N-.js → railroadDiagram-O6MQD6OU-sI06lZIu.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C9oRg7xi.js → requirementDiagram-EFPCY7ZU-Bg13d10S.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-B-_c7GzI.js → sankeyDiagram-P5KCCOFB-WFOzZHrR.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-R0M-347u.js → sequenceDiagram-WJ2MYXX4-CCdRbA4E.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-Df0f8UAW.js → sizeCapture-X5ZJPWSS-BH5F3bGg.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-CsUEfAA-.js → stateDiagram-HBIQ2CUA-NwS2X3QB.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-1aU2JZXO.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-9OGHVSrx.js → swimlanes-XN3QIQJK-Bm38pM28.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dp-u6kQG.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DAfGqS2B.js → timeline-definition-24CTP7MA-Do-agLSo.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CKATpwHi.js → vennDiagram-4TSXK5OY-aggLfZzl.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CQHdhTrm.js → wardleyDiagram-VM6X3IG4-D5JR3mXX.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-5k9NLqlY.js → xychartDiagram-S5SC5T6Z-DhtLDuXs.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-7MIBD3LG.js +0 -137
- package/chunks/chunk-ARDHE6MM.js +0 -235
- package/chunks/chunk-C75BXMPM.js +0 -169
- package/chunks/chunk-ERU3SDXT.js +0 -27
- package/chunks/chunk-FPGTNKCP.js +0 -251
- package/chunks/chunk-JL6APGBX.js +0 -43
- package/chunks/chunk-L5OBTAXN.js +0 -137
- package/chunks/chunk-MZ3W3F44.js +0 -4172
- package/chunks/chunk-OIDF7L67.js +0 -514
- package/chunks/chunk-VSXX6VUI.js +0 -2812
- package/chunks/chunk-ZFYACOVD.js +0 -1416
- package/web-shell/assets/channel-DSQQnOZj.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-V94ta08R.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-V94ta08R.js +0 -1
- package/web-shell/assets/index-H8um-iEl.js +0 -2207
- package/web-shell/assets/index-n6N-2a3v.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CnSuTPJ2.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Bb7TcWQw.js +0 -8
- package/chunks/{chunk-QZW6WRB7.js → chunk-5NUKK2DT.js} +2 -2
- package/chunks/{chunk-JS73NNWF.js → chunk-FUSEMYFX.js} +0 -0
- package/chunks/{chunk-SVWWF5TZ.js → chunk-WVURIAEE.js} +3 -3
- package/chunks/{task-update-RI7QNVDP.js → task-update-3LSYQDRW.js} +4 -4
|
@@ -3,12 +3,19 @@
|
|
|
3
3
|
import {
|
|
4
4
|
ExtensionRefreshState,
|
|
5
5
|
clearSkillArgs,
|
|
6
|
+
resolveHookSettingsForConfig,
|
|
6
7
|
skillArgsNote,
|
|
7
8
|
skillArgsPath,
|
|
8
9
|
staleArgsWarning,
|
|
9
10
|
validateAuthMethod,
|
|
10
11
|
writeSkillArgs
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CXY6BICQ.js";
|
|
13
|
+
import {
|
|
14
|
+
isKittyProtocolEnabled
|
|
15
|
+
} from "./chunk-NYX53SV4.js";
|
|
16
|
+
import {
|
|
17
|
+
contextCommand
|
|
18
|
+
} from "./chunk-TPY6HW55.js";
|
|
12
19
|
import {
|
|
13
20
|
calculateCost,
|
|
14
21
|
commandRestrictionNames,
|
|
@@ -21,31 +28,25 @@ import {
|
|
|
21
28
|
getCompressionFailureStatusText,
|
|
22
29
|
getSystemInfoFields,
|
|
23
30
|
skillOriginLabel
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
formatDuration,
|
|
27
|
-
formatTokenCount
|
|
28
|
-
} from "./chunk-YGFJ6BRT.js";
|
|
29
|
-
import {
|
|
30
|
-
isKittyProtocolEnabled
|
|
31
|
-
} from "./chunk-NYX53SV4.js";
|
|
31
|
+
} from "./chunk-Y2KJC55Y.js";
|
|
32
32
|
import {
|
|
33
33
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
34
34
|
isWaylandSession,
|
|
35
35
|
writeOsc52
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OSG23MR3.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
formatDuration,
|
|
39
|
+
formatTokenCount
|
|
40
|
+
} from "./chunk-AZCTY64Z.js";
|
|
40
41
|
import {
|
|
41
42
|
themeManager
|
|
42
43
|
} from "./chunk-2XRE4KE4.js";
|
|
43
|
-
import {
|
|
44
|
-
rollbackStandaloneUpdate
|
|
45
|
-
} from "./chunk-WPMRT4AR.js";
|
|
46
44
|
import {
|
|
47
45
|
getErrorMessage as getErrorMessage2
|
|
48
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-B6RMK4ED.js";
|
|
47
|
+
import {
|
|
48
|
+
rollbackStandaloneUpdate
|
|
49
|
+
} from "./chunk-UQGRJTDK.js";
|
|
49
50
|
import {
|
|
50
51
|
GITHUB_WORKFLOW_PATHS,
|
|
51
52
|
INSIGHT_CSS,
|
|
@@ -58,7 +59,7 @@ import {
|
|
|
58
59
|
toJson,
|
|
59
60
|
toJsonl,
|
|
60
61
|
toMarkdown
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HNFKYKHH.js";
|
|
62
63
|
import {
|
|
63
64
|
stripUnsafeCharacters,
|
|
64
65
|
toCodePoints,
|
|
@@ -74,19 +75,19 @@ import {
|
|
|
74
75
|
isVoiceEnabled,
|
|
75
76
|
readVoiceMode,
|
|
76
77
|
readVoiceModel
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import {
|
|
79
|
-
getReasoningEffortsForConfig
|
|
80
|
-
} from "./chunk-MJHLKWGJ.js";
|
|
78
|
+
} from "./chunk-KVC7HZWK.js";
|
|
81
79
|
import {
|
|
82
80
|
getExtendedSystemInfo,
|
|
83
81
|
getGitVersion,
|
|
84
82
|
getNpmVersion
|
|
85
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-FX6PZBOV.js";
|
|
84
|
+
import {
|
|
85
|
+
getReasoningEffortsForConfig
|
|
86
|
+
} from "./chunk-4QPVZA5J.js";
|
|
86
87
|
import {
|
|
87
88
|
isInlineModelOverrideAllowed,
|
|
88
89
|
parseAcpModelOption
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4FLUQWJ4.js";
|
|
90
91
|
import {
|
|
91
92
|
OUTPUT_LANGUAGE_AUTO,
|
|
92
93
|
getAllSettingKeys,
|
|
@@ -100,12 +101,12 @@ import {
|
|
|
100
101
|
resolveOutputLanguageOrPreserveAuto,
|
|
101
102
|
validateSettingValue,
|
|
102
103
|
writeOutputLanguageAndRegisterPath
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-RRI764F7.js";
|
|
104
105
|
import {
|
|
105
106
|
getCurrentLanguage,
|
|
106
107
|
setLanguageAsync,
|
|
107
108
|
t
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-GSAOVDTH.js";
|
|
109
110
|
import {
|
|
110
111
|
SUPPORTED_LANGUAGES,
|
|
111
112
|
getSupportedLanguageIds,
|
|
@@ -117,7 +118,7 @@ import {
|
|
|
117
118
|
import {
|
|
118
119
|
isFolderTrustEnabled,
|
|
119
120
|
loadTrustedFolders
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-NQ272MQG.js";
|
|
121
122
|
import {
|
|
122
123
|
require_strip_json_comments
|
|
123
124
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -146,27 +147,22 @@ import {
|
|
|
146
147
|
parseLearnVideoInput,
|
|
147
148
|
readPathFromWorkspace,
|
|
148
149
|
removePeerController
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import {
|
|
151
|
-
findProviderByCredentials
|
|
152
|
-
} from "./chunk-VSXX6VUI.js";
|
|
150
|
+
} from "./chunk-347O2YZJ.js";
|
|
153
151
|
import {
|
|
154
152
|
canonicalizeMsgId,
|
|
155
153
|
describeHoldCause
|
|
156
154
|
} from "./chunk-YM6KUQ2S.js";
|
|
157
155
|
import {
|
|
158
|
-
listSavedWorkflows,
|
|
159
156
|
listWorkflowSnapshots
|
|
160
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-SFHX5G2S.js";
|
|
161
158
|
import {
|
|
162
159
|
resolveOpenAILogDir
|
|
163
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-LO2UWNO5.js";
|
|
164
161
|
import {
|
|
165
162
|
ArenaManager,
|
|
166
163
|
ConditionalRulesRegistry,
|
|
167
164
|
EXTENSIONS_CONFIG_FILENAME,
|
|
168
165
|
ExtensionManager,
|
|
169
|
-
GOAL_PAUSE_REASON_COMMAND,
|
|
170
166
|
GoalPersistenceUnavailableError,
|
|
171
167
|
IdeClient,
|
|
172
168
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
@@ -176,7 +172,6 @@ import {
|
|
|
176
172
|
appendToLastTextPart,
|
|
177
173
|
buildBackgroundEntryLabel,
|
|
178
174
|
collectMemoryDiagnostics,
|
|
179
|
-
emptyGoalSnapshot,
|
|
180
175
|
flatMapTextParts,
|
|
181
176
|
getExtensionDescription,
|
|
182
177
|
getExtensionDisplayName,
|
|
@@ -189,6 +184,7 @@ import {
|
|
|
189
184
|
isSuccessStatus,
|
|
190
185
|
isTerminalStatus,
|
|
191
186
|
isTerminalWorkflowStatus,
|
|
187
|
+
listSavedWorkflows,
|
|
192
188
|
loadServerHierarchicalMemory,
|
|
193
189
|
normalizeClaudeMcpServer,
|
|
194
190
|
normalizeSkillPriority,
|
|
@@ -199,33 +195,35 @@ import {
|
|
|
199
195
|
require_toml,
|
|
200
196
|
runForkedAgent,
|
|
201
197
|
tryGenerateSessionTitle
|
|
202
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-KAYC5FBN.js";
|
|
203
199
|
import {
|
|
204
200
|
external_exports
|
|
205
201
|
} from "./chunk-CQ35AJ4Z.js";
|
|
206
202
|
import {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
resolveModelId,
|
|
210
|
-
stripRuntimeSnapshotPrefix
|
|
211
|
-
} from "./chunk-ZFYACOVD.js";
|
|
203
|
+
resolveModelId
|
|
204
|
+
} from "./chunk-DX6JTDMR.js";
|
|
212
205
|
import {
|
|
213
206
|
projectUserTranscriptForDisplay
|
|
214
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-VQDWCQOE.js";
|
|
208
|
+
import {
|
|
209
|
+
glob
|
|
210
|
+
} from "./chunk-QJNDUTOL.js";
|
|
211
|
+
import {
|
|
212
|
+
flattenPeerLabel
|
|
213
|
+
} from "./chunk-OWUAZXXN.js";
|
|
215
214
|
import {
|
|
215
|
+
GOAL_PAUSE_REASON_COMMAND,
|
|
216
|
+
emptyGoalSnapshot,
|
|
216
217
|
getAutoSkillCuratorStatus,
|
|
217
218
|
parse,
|
|
218
219
|
recordAutoSkillUsage,
|
|
219
220
|
restoreArchivedAutoSkill,
|
|
220
221
|
runAutoSkillCurator,
|
|
221
222
|
setAutoSkillPinned
|
|
222
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-P42KMMU6.js";
|
|
223
224
|
import {
|
|
224
225
|
canUseRipgrep
|
|
225
|
-
} from "./chunk-
|
|
226
|
-
import {
|
|
227
|
-
glob
|
|
228
|
-
} from "./chunk-QJNDUTOL.js";
|
|
226
|
+
} from "./chunk-BTICBRPL.js";
|
|
229
227
|
import {
|
|
230
228
|
checkArgumentSafety,
|
|
231
229
|
checkCommandPermissions,
|
|
@@ -236,9 +234,6 @@ import {
|
|
|
236
234
|
escapeJsonTagCharacters,
|
|
237
235
|
formatMemoryUsage
|
|
238
236
|
} from "./chunk-CHEIIBT3.js";
|
|
239
|
-
import {
|
|
240
|
-
flattenPeerLabel
|
|
241
|
-
} from "./chunk-OWUAZXXN.js";
|
|
242
237
|
import {
|
|
243
238
|
APPROVAL_MODES
|
|
244
239
|
} from "./chunk-JX6XHPTX.js";
|
|
@@ -250,7 +245,7 @@ import {
|
|
|
250
245
|
getProjectSummaryPrompt,
|
|
251
246
|
isSystemMdActive,
|
|
252
247
|
resolveMainSessionOutputStyle
|
|
253
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-36SDZ2Q4.js";
|
|
254
249
|
import {
|
|
255
250
|
FORK_SUBAGENT_TYPE,
|
|
256
251
|
stripStartupContext
|
|
@@ -269,6 +264,12 @@ import {
|
|
|
269
264
|
import {
|
|
270
265
|
openBrowserSecurely
|
|
271
266
|
} from "./chunk-NAVJD2PQ.js";
|
|
267
|
+
import {
|
|
268
|
+
buildRuntimeSnapshotId,
|
|
269
|
+
findProviderByCredentials,
|
|
270
|
+
isImageGenerationCapable,
|
|
271
|
+
stripRuntimeSnapshotPrefix
|
|
272
|
+
} from "./chunk-KEM7MWS7.js";
|
|
272
273
|
import {
|
|
273
274
|
COMBINED_PASS_TOLERANCE_FACTOR,
|
|
274
275
|
IdeConnectionEvent,
|
|
@@ -282,10 +283,10 @@ import {
|
|
|
282
283
|
recordSkillInvocation,
|
|
283
284
|
runSideQuery,
|
|
284
285
|
uiTelemetryService
|
|
285
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-CDDP4ONL.js";
|
|
286
287
|
import {
|
|
287
288
|
getCurrentMemoryFilename
|
|
288
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-5NUKK2DT.js";
|
|
289
290
|
import {
|
|
290
291
|
getAutoMemoryRoot
|
|
291
292
|
} from "./chunk-EDIDYZBT.js";
|
|
@@ -293,14 +294,14 @@ import {
|
|
|
293
294
|
REASONING_EFFORT_TIERS,
|
|
294
295
|
applyReasoningEffort,
|
|
295
296
|
normalizeReasoningEffort
|
|
296
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-GJKP6XOB.js";
|
|
297
298
|
import {
|
|
298
299
|
AuthType
|
|
299
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-7O5PYQ3M.js";
|
|
300
301
|
import {
|
|
301
302
|
normalizeContent,
|
|
302
303
|
redactUrlCredentials
|
|
303
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-6USYH3EU.js";
|
|
304
305
|
import {
|
|
305
306
|
ToolDisplayNamesMigration,
|
|
306
307
|
ToolNames,
|
|
@@ -320,7 +321,7 @@ import {
|
|
|
320
321
|
isCpuProfileRecording,
|
|
321
322
|
startCpuProfile,
|
|
322
323
|
stopCpuProfile
|
|
323
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-QIPLWW6Q.js";
|
|
324
325
|
import {
|
|
325
326
|
init_esbuild_shims
|
|
326
327
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -329,6 +330,42 @@ import {
|
|
|
329
330
|
__toESM
|
|
330
331
|
} from "./chunk-J2S4EL5Y.js";
|
|
331
332
|
|
|
333
|
+
// packages/cli/src/peerMessaging/enabled.ts
|
|
334
|
+
init_esbuild_shims();
|
|
335
|
+
import { isDeepStrictEqual } from "node:util";
|
|
336
|
+
function isCrossSessionMessagingEnabled(settings) {
|
|
337
|
+
const value = settings?.agents?.crossSessionMessaging;
|
|
338
|
+
return value === void 0 || value === true;
|
|
339
|
+
}
|
|
340
|
+
__name(isCrossSessionMessagingEnabled, "isCrossSessionMessagingEnabled");
|
|
341
|
+
function switchIn(file) {
|
|
342
|
+
return file?.settings.agents?.crossSessionMessaging;
|
|
343
|
+
}
|
|
344
|
+
__name(switchIn, "switchIn");
|
|
345
|
+
function workspaceCounts(settings) {
|
|
346
|
+
return settings.isTrusted === true && settings.workspaceSettingsActive === true;
|
|
347
|
+
}
|
|
348
|
+
__name(workspaceCounts, "workspaceCounts");
|
|
349
|
+
function isCrossSessionMessagingOptedIn(settings) {
|
|
350
|
+
if (switchIn(settings.user) === true) return true;
|
|
351
|
+
return workspaceCounts(settings) && switchIn(settings.workspace) === true;
|
|
352
|
+
}
|
|
353
|
+
__name(isCrossSessionMessagingOptedIn, "isCrossSessionMessagingOptedIn");
|
|
354
|
+
function crossSessionMessagingOffScope(settings) {
|
|
355
|
+
if (isCrossSessionMessagingEnabled(settings.merged)) return void 0;
|
|
356
|
+
const merged = settings.merged.agents?.crossSessionMessaging;
|
|
357
|
+
if (switchIn(settings.system) !== void 0) return "system";
|
|
358
|
+
if (isDeepStrictEqual(switchIn(settings.user), merged)) return "user";
|
|
359
|
+
if (isDeepStrictEqual(switchIn(settings.systemDefaults), merged)) {
|
|
360
|
+
return "system-defaults";
|
|
361
|
+
}
|
|
362
|
+
if (workspaceCounts(settings) && isDeepStrictEqual(switchIn(settings.workspace), merged)) {
|
|
363
|
+
return "workspace";
|
|
364
|
+
}
|
|
365
|
+
return void 0;
|
|
366
|
+
}
|
|
367
|
+
__name(crossSessionMessagingOffScope, "crossSessionMessagingOffScope");
|
|
368
|
+
|
|
332
369
|
// packages/cli/src/ui/utils/commandUtils.ts
|
|
333
370
|
init_esbuild_shims();
|
|
334
371
|
import { spawn } from "node:child_process";
|
|
@@ -1549,6 +1586,10 @@ function snapshotToTask(s) {
|
|
|
1549
1586
|
id: s.runId,
|
|
1550
1587
|
kind: "workflow",
|
|
1551
1588
|
runId: s.runId,
|
|
1589
|
+
...s.toolUseId ? { toolUseId: s.toolUseId } : {},
|
|
1590
|
+
...s.sourceRef ? { sourceRef: { ...s.sourceRef } } : {},
|
|
1591
|
+
...s.workflowCalls ? { workflowCalls: s.workflowCalls.map((call) => ({ ...call })) } : {},
|
|
1592
|
+
...s.workflowCallsTruncated ? { workflowCallsTruncated: true } : {},
|
|
1552
1593
|
...s.workflowName ? { workflowName: s.workflowName } : {},
|
|
1553
1594
|
description: s.meta?.name ?? s.runId,
|
|
1554
1595
|
meta: s.meta,
|
|
@@ -2480,7 +2521,7 @@ var approvalModeCommand = {
|
|
|
2480
2521
|
};
|
|
2481
2522
|
}
|
|
2482
2523
|
}
|
|
2483
|
-
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-
|
|
2524
|
+
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-I32UEQPI.js") : void 0;
|
|
2484
2525
|
if (config) {
|
|
2485
2526
|
try {
|
|
2486
2527
|
config.setApprovalMode(mode);
|
|
@@ -2733,12 +2774,28 @@ var peersCommand = {
|
|
|
2733
2774
|
}
|
|
2734
2775
|
const peerMessaging = context.services.peerMessaging;
|
|
2735
2776
|
if (!peerMessaging) {
|
|
2736
|
-
const
|
|
2737
|
-
|
|
2777
|
+
const settings = context.services.settings;
|
|
2778
|
+
if (!isCrossSessionMessagingEnabled(settings?.merged)) {
|
|
2779
|
+
return {
|
|
2780
|
+
type: "message",
|
|
2781
|
+
messageType: "info",
|
|
2782
|
+
content: describeMessagingOff(
|
|
2783
|
+
settings ? crossSessionMessagingOffScope(settings) : void 0
|
|
2784
|
+
)
|
|
2785
|
+
};
|
|
2786
|
+
}
|
|
2787
|
+
const failure = getLastPeerInboxFailure();
|
|
2788
|
+
if (failure?.cause === "unsupported_platform") {
|
|
2789
|
+
return {
|
|
2790
|
+
type: "message",
|
|
2791
|
+
messageType: "info",
|
|
2792
|
+
content: "Cross-session messaging is not available on this platform, so this session has no inbox and other sessions cannot reach it."
|
|
2793
|
+
};
|
|
2794
|
+
}
|
|
2738
2795
|
return {
|
|
2739
2796
|
type: "message",
|
|
2740
|
-
messageType:
|
|
2741
|
-
content:
|
|
2797
|
+
messageType: "error",
|
|
2798
|
+
content: failure ? `Cross-session messaging is on, but this session has no inbox \u2014 it failed to bind its socket: ${describePeerInboxFailure(failure)}` : "Cross-session messaging is on, but this session has no inbox: it failed to register in the session registry, or the inbox is still starting. Re-run with DEBUG=1 to see the registration error."
|
|
2742
2799
|
};
|
|
2743
2800
|
}
|
|
2744
2801
|
const held = peerMessaging.getHeld();
|
|
@@ -2836,6 +2893,21 @@ var peersCommand = {
|
|
|
2836
2893
|
};
|
|
2837
2894
|
}, "action")
|
|
2838
2895
|
};
|
|
2896
|
+
function describeMessagingOff(scope) {
|
|
2897
|
+
switch (scope) {
|
|
2898
|
+
case "workspace":
|
|
2899
|
+
return `Cross-session messaging is off: this repository's .qwen/settings.json turns "agents.crossSessionMessaging" off. A workspace may only make that setting stricter, so your user settings cannot turn it back on here. Remove the entry from that file, then restart.`;
|
|
2900
|
+
case "system":
|
|
2901
|
+
return 'Cross-session messaging is off: system settings set "agents.crossSessionMessaging", and system settings override every other scope. Whoever manages them can remove the entry.';
|
|
2902
|
+
case "system-defaults":
|
|
2903
|
+
return 'Cross-session messaging is off: the system defaults turn "agents.crossSessionMessaging" off. Set it to true in your user settings, then restart.';
|
|
2904
|
+
case "user":
|
|
2905
|
+
return 'Cross-session messaging is off: your user settings turn "agents.crossSessionMessaging" off (only true, or leaving it unset, turns it on). Remove that entry, then restart.';
|
|
2906
|
+
default:
|
|
2907
|
+
return 'Cross-session messaging is off because of the "agents.crossSessionMessaging" setting (only true, or leaving it unset, turns it on). Remove that entry, then restart.';
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
__name(describeMessagingOff, "describeMessagingOff");
|
|
2839
2911
|
|
|
2840
2912
|
// packages/cli/src/ui/commands/btwCommand.ts
|
|
2841
2913
|
init_esbuild_shims();
|
|
@@ -7581,7 +7653,7 @@ var expandNowCommand = {
|
|
|
7581
7653
|
content: t("History is already expanded in this session.")
|
|
7582
7654
|
};
|
|
7583
7655
|
}
|
|
7584
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
7656
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-YPJU4XFE.js");
|
|
7585
7657
|
const updated = expandCollapsedHistory(history);
|
|
7586
7658
|
loadHistory(updated);
|
|
7587
7659
|
refreshStatic();
|
|
@@ -7948,6 +8020,33 @@ function getAllConfigs(hookInfo) {
|
|
|
7948
8020
|
__name(getAllConfigs, "getAllConfigs");
|
|
7949
8021
|
|
|
7950
8022
|
// packages/cli/src/ui/commands/hooksCommand.ts
|
|
8023
|
+
var debugLogger11 = createDebugLogger("HOOKS_COMMAND");
|
|
8024
|
+
async function reloadHooksFromSettings(config, settings) {
|
|
8025
|
+
const hookSystem = config.getHookSystem();
|
|
8026
|
+
if (!hookSystem) {
|
|
8027
|
+
return;
|
|
8028
|
+
}
|
|
8029
|
+
if (!settings.reloadScopesFromDiskAtomically([
|
|
8030
|
+
"User" /* User */,
|
|
8031
|
+
"Workspace" /* Workspace */
|
|
8032
|
+
])) {
|
|
8033
|
+
throw new Error(
|
|
8034
|
+
"Settings could not be read; the previous hooks are still active."
|
|
8035
|
+
);
|
|
8036
|
+
}
|
|
8037
|
+
config.setHooksFromSettings(
|
|
8038
|
+
resolveHookSettingsForConfig(
|
|
8039
|
+
settings.merged.hooks,
|
|
8040
|
+
{
|
|
8041
|
+
userHooks: settings.getUserHooks(),
|
|
8042
|
+
projectHooks: settings.getProjectHooks()
|
|
8043
|
+
},
|
|
8044
|
+
config.getBareMode() || config.isSafeMode()
|
|
8045
|
+
)
|
|
8046
|
+
);
|
|
8047
|
+
await hookSystem.reload();
|
|
8048
|
+
}
|
|
8049
|
+
__name(reloadHooksFromSettings, "reloadHooksFromSettings");
|
|
7951
8050
|
function formatHookSource(source) {
|
|
7952
8051
|
switch (source) {
|
|
7953
8052
|
case "project":
|
|
@@ -8084,6 +8183,23 @@ var hooksCommand = {
|
|
|
8084
8183
|
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
8085
8184
|
const executionMode = context.executionMode ?? "interactive";
|
|
8086
8185
|
if (executionMode === "interactive") {
|
|
8186
|
+
const { config, settings } = context.services;
|
|
8187
|
+
if (config) {
|
|
8188
|
+
try {
|
|
8189
|
+
await reloadHooksFromSettings(config, settings);
|
|
8190
|
+
} catch (error) {
|
|
8191
|
+
debugLogger11.warn(`Failed to reload hooks for /hooks: ${error}`);
|
|
8192
|
+
context.ui.addItem(
|
|
8193
|
+
{
|
|
8194
|
+
type: "error" /* ERROR */,
|
|
8195
|
+
text: t("Failed to reload hook definitions: {{error}}", {
|
|
8196
|
+
error: error instanceof Error ? error.message : String(error)
|
|
8197
|
+
})
|
|
8198
|
+
},
|
|
8199
|
+
Date.now()
|
|
8200
|
+
);
|
|
8201
|
+
}
|
|
8202
|
+
}
|
|
8087
8203
|
return {
|
|
8088
8204
|
type: "dialog",
|
|
8089
8205
|
dialog: "hooks"
|
|
@@ -9124,7 +9240,7 @@ Write the complete content to the \`${contextFileName}\` file. The output must b
|
|
|
9124
9240
|
|
|
9125
9241
|
// packages/cli/src/ui/commands/languageCommand.ts
|
|
9126
9242
|
init_esbuild_shims();
|
|
9127
|
-
var
|
|
9243
|
+
var debugLogger12 = createDebugLogger("LANGUAGE_COMMAND");
|
|
9128
9244
|
function getCurrentOutputLanguage(context) {
|
|
9129
9245
|
const settingValue = context?.services?.settings?.merged?.general?.outputLanguage || OUTPUT_LANGUAGE_AUTO;
|
|
9130
9246
|
const resolved = resolveOutputLanguageOrPreserveAuto(settingValue);
|
|
@@ -9201,7 +9317,7 @@ async function setUiLanguage(context, lang, scope = "User" /* User */) {
|
|
|
9201
9317
|
throwOnWriteFailure: true
|
|
9202
9318
|
});
|
|
9203
9319
|
} catch (error) {
|
|
9204
|
-
|
|
9320
|
+
debugLogger12.warn("Failed to save language setting:", error);
|
|
9205
9321
|
return {
|
|
9206
9322
|
type: "message",
|
|
9207
9323
|
messageType: "error",
|
|
@@ -9237,7 +9353,7 @@ async function setOutputLanguage(context, language) {
|
|
|
9237
9353
|
settingValue
|
|
9238
9354
|
);
|
|
9239
9355
|
} catch (error) {
|
|
9240
|
-
|
|
9356
|
+
debugLogger12.warn("Failed to save output language setting:", error);
|
|
9241
9357
|
}
|
|
9242
9358
|
}
|
|
9243
9359
|
const config = context.services.config;
|
|
@@ -9246,7 +9362,7 @@ async function setOutputLanguage(context, language) {
|
|
|
9246
9362
|
await config.refreshHierarchicalMemory();
|
|
9247
9363
|
await config.getLlmClient().refreshSystemInstruction();
|
|
9248
9364
|
} catch (error) {
|
|
9249
|
-
|
|
9365
|
+
debugLogger12.warn(
|
|
9250
9366
|
"Failed to apply output language to running session:",
|
|
9251
9367
|
error
|
|
9252
9368
|
);
|
|
@@ -10444,7 +10560,7 @@ init_esbuild_shims();
|
|
|
10444
10560
|
|
|
10445
10561
|
// packages/cli/src/ui/commands/output-style-utils.ts
|
|
10446
10562
|
init_esbuild_shims();
|
|
10447
|
-
var
|
|
10563
|
+
var debugLogger13 = createDebugLogger("OUTPUT_STYLE_COMMAND");
|
|
10448
10564
|
var OUTPUT_STYLE_LIST = BUILT_IN_OUTPUT_STYLES.map(
|
|
10449
10565
|
(style) => style.name
|
|
10450
10566
|
).join(", ");
|
|
@@ -10492,7 +10608,7 @@ async function applyOutputStyleSelection(config, settings, style, options = {})
|
|
|
10492
10608
|
try {
|
|
10493
10609
|
await config.getLlmClient().refreshSystemInstruction();
|
|
10494
10610
|
} catch (error) {
|
|
10495
|
-
|
|
10611
|
+
debugLogger13.warn(
|
|
10496
10612
|
"Failed to apply output style to the running session:",
|
|
10497
10613
|
error
|
|
10498
10614
|
);
|
|
@@ -10856,7 +10972,7 @@ init_esbuild_shims();
|
|
|
10856
10972
|
|
|
10857
10973
|
// packages/cli/src/config/extension-runtime-reload.ts
|
|
10858
10974
|
init_esbuild_shims();
|
|
10859
|
-
var
|
|
10975
|
+
var debugLogger14 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
|
|
10860
10976
|
async function reloadPluginsRuntime(options) {
|
|
10861
10977
|
if (options.config.isSafeMode()) {
|
|
10862
10978
|
throw new Error("Extension reload is disabled in safe mode.");
|
|
@@ -10876,7 +10992,7 @@ async function refreshExtensionContentRuntime(options) {
|
|
|
10876
10992
|
await manager.refreshCache();
|
|
10877
10993
|
} catch (error) {
|
|
10878
10994
|
errors.push(error);
|
|
10879
|
-
|
|
10995
|
+
debugLogger14.warn(
|
|
10880
10996
|
"refreshExtensionContentRuntime: refreshCache failed:",
|
|
10881
10997
|
error
|
|
10882
10998
|
);
|
|
@@ -10889,7 +11005,7 @@ async function refreshExtensionContentRuntime(options) {
|
|
|
10889
11005
|
for (const result of settled) {
|
|
10890
11006
|
if (result.status === "rejected") {
|
|
10891
11007
|
errors.push(result.reason);
|
|
10892
|
-
|
|
11008
|
+
debugLogger14.warn(
|
|
10893
11009
|
"refreshExtensionContentRuntime: a refresh leg failed:",
|
|
10894
11010
|
result.reason
|
|
10895
11011
|
);
|
|
@@ -10911,6 +11027,7 @@ function summarizeExtensions(extensions) {
|
|
|
10911
11027
|
summary.commandCount += extension.commands?.length ?? 0;
|
|
10912
11028
|
summary.skillCount += extension.skills?.length ?? 0;
|
|
10913
11029
|
summary.agentCount += extension.agents?.length ?? 0;
|
|
11030
|
+
summary.workflowCount += extension.workflows?.length ?? 0;
|
|
10914
11031
|
summary.hookCount += countHooks(extension);
|
|
10915
11032
|
summary.mcpServerCount += Object.keys(extension.mcpServers ?? {}).length;
|
|
10916
11033
|
summary.lspServerCount += countLspServers(extension);
|
|
@@ -10921,6 +11038,7 @@ function summarizeExtensions(extensions) {
|
|
|
10921
11038
|
commandCount: 0,
|
|
10922
11039
|
skillCount: 0,
|
|
10923
11040
|
agentCount: 0,
|
|
11041
|
+
workflowCount: 0,
|
|
10924
11042
|
hookCount: 0,
|
|
10925
11043
|
mcpServerCount: 0,
|
|
10926
11044
|
lspServerCount: 0
|
|
@@ -10967,6 +11085,11 @@ function formatReloadPluginsSummary(summary) {
|
|
|
10967
11085
|
),
|
|
10968
11086
|
summaryCountTerm(summary.skillCount, "{{count}} skill", "{{count}} skills"),
|
|
10969
11087
|
summaryCountTerm(summary.agentCount, "{{count}} agent", "{{count}} agents"),
|
|
11088
|
+
summaryCountTerm(
|
|
11089
|
+
summary.workflowCount,
|
|
11090
|
+
"{{count}} workflow",
|
|
11091
|
+
"{{count}} workflows"
|
|
11092
|
+
),
|
|
10970
11093
|
summaryCountTerm(summary.hookCount, "{{count}} hook", "{{count}} hooks"),
|
|
10971
11094
|
summaryCountTerm(
|
|
10972
11095
|
summary.mcpServerCount,
|
|
@@ -12697,7 +12820,7 @@ import * as os4 from "node:os";
|
|
|
12697
12820
|
import * as path13 from "node:path";
|
|
12698
12821
|
import { exec } from "node:child_process";
|
|
12699
12822
|
import { promisify } from "node:util";
|
|
12700
|
-
var
|
|
12823
|
+
var debugLogger15 = createDebugLogger("TERMINAL_SETUP");
|
|
12701
12824
|
var execAsync = promisify(exec);
|
|
12702
12825
|
function stripJsonComments2(content) {
|
|
12703
12826
|
return content.replace(/^\s*\/\/.*$/gm, "");
|
|
@@ -12730,7 +12853,7 @@ async function detectTerminal() {
|
|
|
12730
12853
|
if (parentName.includes("trae") || parentName.includes("Trae"))
|
|
12731
12854
|
return "trae";
|
|
12732
12855
|
} catch (error) {
|
|
12733
|
-
|
|
12856
|
+
debugLogger15.debug("Parent process detection failed:", error);
|
|
12734
12857
|
}
|
|
12735
12858
|
}
|
|
12736
12859
|
return null;
|
|
@@ -12742,7 +12865,7 @@ async function backupFile(filePath) {
|
|
|
12742
12865
|
const backupPath = `${filePath}.backup.${timestamp}`;
|
|
12743
12866
|
await fs10.copyFile(filePath, backupPath);
|
|
12744
12867
|
} catch (error) {
|
|
12745
|
-
|
|
12868
|
+
debugLogger15.warn(`Failed to create backup of ${filePath}:`, error);
|
|
12746
12869
|
}
|
|
12747
12870
|
}
|
|
12748
12871
|
__name(backupFile, "backupFile");
|
|
@@ -15069,10 +15192,10 @@ var updateCommand = {
|
|
|
15069
15192
|
{ performStandaloneUpdate },
|
|
15070
15193
|
installationInfo
|
|
15071
15194
|
] = await Promise.all([
|
|
15072
|
-
import("./updateCheck-
|
|
15073
|
-
import("./processUtils-
|
|
15074
|
-
import("./standalone-update-
|
|
15075
|
-
import("./installationInfo-
|
|
15195
|
+
import("./updateCheck-PKSSORPO.js"),
|
|
15196
|
+
import("./processUtils-O4II3RYH.js"),
|
|
15197
|
+
import("./standalone-update-H5OJ7MM7.js"),
|
|
15198
|
+
import("./installationInfo-2IJV5QKC.js")
|
|
15076
15199
|
]);
|
|
15077
15200
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
15078
15201
|
const settings = context.services.settings;
|
|
@@ -15307,7 +15430,7 @@ var BuiltinCommandLoader = class {
|
|
|
15307
15430
|
// packages/cli/src/services/BundledSkillLoader.ts
|
|
15308
15431
|
init_esbuild_shims();
|
|
15309
15432
|
import { dirname as dirname2 } from "node:path";
|
|
15310
|
-
var
|
|
15433
|
+
var debugLogger16 = createDebugLogger("BUNDLED_SKILL_LOADER");
|
|
15311
15434
|
var BundledSkillLoader = class {
|
|
15312
15435
|
constructor(config) {
|
|
15313
15436
|
this.config = config;
|
|
@@ -15317,12 +15440,12 @@ var BundledSkillLoader = class {
|
|
|
15317
15440
|
}
|
|
15318
15441
|
async loadCommands(_signal) {
|
|
15319
15442
|
if (this.config?.getBareMode?.()) {
|
|
15320
|
-
|
|
15443
|
+
debugLogger16.debug("Bare mode enabled, skipping bundled skills");
|
|
15321
15444
|
return [];
|
|
15322
15445
|
}
|
|
15323
15446
|
const skillManager = this.config?.getSkillManager();
|
|
15324
15447
|
if (!skillManager) {
|
|
15325
|
-
|
|
15448
|
+
debugLogger16.debug("SkillManager not available, skipping bundled skills");
|
|
15326
15449
|
return [];
|
|
15327
15450
|
}
|
|
15328
15451
|
try {
|
|
@@ -15330,7 +15453,7 @@ var BundledSkillLoader = class {
|
|
|
15330
15453
|
const cronEnabled = this.config?.isCronEnabled() ?? false;
|
|
15331
15454
|
const cronVisible = allSkills.filter((skill) => {
|
|
15332
15455
|
if (!cronEnabled && skill.allowedTools?.some((t2) => t2.startsWith("cron_"))) {
|
|
15333
|
-
|
|
15456
|
+
debugLogger16.debug(
|
|
15334
15457
|
`Hiding skill "${skill.name}" because cron is not enabled`
|
|
15335
15458
|
);
|
|
15336
15459
|
return false;
|
|
@@ -15341,7 +15464,7 @@ var BundledSkillLoader = class {
|
|
|
15341
15464
|
const skills = cronVisible.filter(
|
|
15342
15465
|
(skill) => !disabled.has(skill.name.toLowerCase())
|
|
15343
15466
|
);
|
|
15344
|
-
|
|
15467
|
+
debugLogger16.debug(
|
|
15345
15468
|
`Loaded ${skills.length} bundled skill(s) as slash commands; ${cronVisible.length - skills.length} hidden by skills.disabled`
|
|
15346
15469
|
);
|
|
15347
15470
|
return skills.map((skill) => ({
|
|
@@ -15407,7 +15530,7 @@ ${body}`;
|
|
|
15407
15530
|
}, "action")
|
|
15408
15531
|
}));
|
|
15409
15532
|
} catch (error) {
|
|
15410
|
-
|
|
15533
|
+
debugLogger16.error("Failed to load bundled skills:", error);
|
|
15411
15534
|
return [];
|
|
15412
15535
|
}
|
|
15413
15536
|
}
|
|
@@ -15687,7 +15810,7 @@ var ShellProcessor = class {
|
|
|
15687
15810
|
|
|
15688
15811
|
// packages/cli/src/services/prompt-processors/atFileProcessor.ts
|
|
15689
15812
|
init_esbuild_shims();
|
|
15690
|
-
var
|
|
15813
|
+
var debugLogger17 = createDebugLogger("AT_FILE_PROCESSOR");
|
|
15691
15814
|
var AtFileProcessor = class {
|
|
15692
15815
|
constructor(commandName) {
|
|
15693
15816
|
this.commandName = commandName;
|
|
@@ -15733,7 +15856,7 @@ var AtFileProcessor = class {
|
|
|
15733
15856
|
} catch (error) {
|
|
15734
15857
|
const message2 = error instanceof Error ? error.message : String(error);
|
|
15735
15858
|
const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message2}`;
|
|
15736
|
-
|
|
15859
|
+
debugLogger17.error(
|
|
15737
15860
|
`[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
|
|
15738
15861
|
);
|
|
15739
15862
|
context.ui.addItem(
|
|
@@ -15758,7 +15881,7 @@ var AtFileProcessor = class {
|
|
|
15758
15881
|
};
|
|
15759
15882
|
|
|
15760
15883
|
// packages/cli/src/services/command-factory.ts
|
|
15761
|
-
var
|
|
15884
|
+
var debugLogger18 = createDebugLogger("COMMAND_FACTORY");
|
|
15762
15885
|
function createSlashCommandFromDefinition(filePath, baseDir, definition, extensionName, fileExtension) {
|
|
15763
15886
|
const relativePathWithExt = path16.relative(baseDir, filePath);
|
|
15764
15887
|
const relativePath = relativePathWithExt.substring(
|
|
@@ -15806,7 +15929,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
15806
15929
|
whenToUse: definition.whenToUse,
|
|
15807
15930
|
action: /* @__PURE__ */ __name(async (context, _args) => {
|
|
15808
15931
|
if (!context.invocation) {
|
|
15809
|
-
|
|
15932
|
+
debugLogger18.error(
|
|
15810
15933
|
`[FileCommandLoader] Critical error: Command '${baseCommandName}' was executed without invocation context.`
|
|
15811
15934
|
);
|
|
15812
15935
|
return {
|
|
@@ -15844,7 +15967,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
15844
15967
|
__name(createSlashCommandFromDefinition, "createSlashCommandFromDefinition");
|
|
15845
15968
|
|
|
15846
15969
|
// packages/cli/src/services/FileCommandLoader.ts
|
|
15847
|
-
var
|
|
15970
|
+
var debugLogger19 = createDebugLogger("FILE_COMMAND_LOADER");
|
|
15848
15971
|
var TomlCommandDefSchema = external_exports.object({
|
|
15849
15972
|
prompt: external_exports.string({
|
|
15850
15973
|
required_error: "The 'prompt' field is required.",
|
|
@@ -15878,7 +16001,7 @@ var FileCommandLoader = class {
|
|
|
15878
16001
|
*/
|
|
15879
16002
|
async loadCommands(signal) {
|
|
15880
16003
|
if (this.config?.getBareMode?.()) {
|
|
15881
|
-
|
|
16004
|
+
debugLogger19.debug("Bare mode enabled, skipping auto-discovered commands");
|
|
15882
16005
|
return [];
|
|
15883
16006
|
}
|
|
15884
16007
|
const allCommands = [];
|
|
@@ -15922,7 +16045,7 @@ var FileCommandLoader = class {
|
|
|
15922
16045
|
const isEnoent = error.code === "ENOENT";
|
|
15923
16046
|
const isAbortError = error instanceof Error && error.name === "AbortError";
|
|
15924
16047
|
if (!isEnoent && !isAbortError) {
|
|
15925
|
-
|
|
16048
|
+
debugLogger19.error(
|
|
15926
16049
|
`[FileCommandLoader] Error loading commands from ${dirInfo.path}:`,
|
|
15927
16050
|
error
|
|
15928
16051
|
);
|
|
@@ -15981,7 +16104,7 @@ var FileCommandLoader = class {
|
|
|
15981
16104
|
}
|
|
15982
16105
|
}
|
|
15983
16106
|
} catch (error) {
|
|
15984
|
-
|
|
16107
|
+
debugLogger19.warn(
|
|
15985
16108
|
`Failed to read extension config for ${ext.name}:`,
|
|
15986
16109
|
error
|
|
15987
16110
|
);
|
|
@@ -16007,7 +16130,7 @@ var FileCommandLoader = class {
|
|
|
16007
16130
|
try {
|
|
16008
16131
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
16009
16132
|
} catch (error) {
|
|
16010
|
-
|
|
16133
|
+
debugLogger19.error(
|
|
16011
16134
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
16012
16135
|
error instanceof Error ? error.message : String(error)
|
|
16013
16136
|
);
|
|
@@ -16017,7 +16140,7 @@ var FileCommandLoader = class {
|
|
|
16017
16140
|
try {
|
|
16018
16141
|
parsed = import_toml.default.parse(fileContent);
|
|
16019
16142
|
} catch (error) {
|
|
16020
|
-
|
|
16143
|
+
debugLogger19.error(
|
|
16021
16144
|
`[FileCommandLoader] Failed to parse TOML file ${filePath}:`,
|
|
16022
16145
|
error instanceof Error ? error.message : String(error)
|
|
16023
16146
|
);
|
|
@@ -16025,7 +16148,7 @@ var FileCommandLoader = class {
|
|
|
16025
16148
|
}
|
|
16026
16149
|
const validationResult = TomlCommandDefSchema.safeParse(parsed);
|
|
16027
16150
|
if (!validationResult.success) {
|
|
16028
|
-
|
|
16151
|
+
debugLogger19.error(
|
|
16029
16152
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
16030
16153
|
validationResult.error.flatten()
|
|
16031
16154
|
);
|
|
@@ -16052,7 +16175,7 @@ var FileCommandLoader = class {
|
|
|
16052
16175
|
try {
|
|
16053
16176
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
16054
16177
|
} catch (error) {
|
|
16055
|
-
|
|
16178
|
+
debugLogger19.error(
|
|
16056
16179
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
16057
16180
|
error instanceof Error ? error.message : String(error)
|
|
16058
16181
|
);
|
|
@@ -16062,7 +16185,7 @@ var FileCommandLoader = class {
|
|
|
16062
16185
|
try {
|
|
16063
16186
|
parsed = parseMarkdownCommand(fileContent);
|
|
16064
16187
|
} catch (error) {
|
|
16065
|
-
|
|
16188
|
+
debugLogger19.error(
|
|
16066
16189
|
`[FileCommandLoader] Failed to parse Markdown file ${filePath}:`,
|
|
16067
16190
|
error instanceof Error ? error.message : String(error)
|
|
16068
16191
|
);
|
|
@@ -16070,7 +16193,7 @@ var FileCommandLoader = class {
|
|
|
16070
16193
|
}
|
|
16071
16194
|
const validationResult = MarkdownCommandDefSchema.safeParse(parsed);
|
|
16072
16195
|
if (!validationResult.success) {
|
|
16073
|
-
|
|
16196
|
+
debugLogger19.error(
|
|
16074
16197
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
16075
16198
|
validationResult.error.flatten()
|
|
16076
16199
|
);
|
|
@@ -16096,7 +16219,7 @@ var FileCommandLoader = class {
|
|
|
16096
16219
|
|
|
16097
16220
|
// packages/cli/src/services/saved-workflow-loader.ts
|
|
16098
16221
|
init_esbuild_shims();
|
|
16099
|
-
var
|
|
16222
|
+
var debugLogger20 = createDebugLogger("SavedWorkflowLoader");
|
|
16100
16223
|
var SavedWorkflowLoader = class {
|
|
16101
16224
|
constructor(config) {
|
|
16102
16225
|
this.config = config;
|
|
@@ -16115,48 +16238,83 @@ var SavedWorkflowLoader = class {
|
|
|
16115
16238
|
try {
|
|
16116
16239
|
entries = await listSavedWorkflows(this.config);
|
|
16117
16240
|
} catch (e) {
|
|
16118
|
-
|
|
16241
|
+
debugLogger20.debug(`listSavedWorkflows failed: ${e}`);
|
|
16119
16242
|
return [];
|
|
16120
16243
|
}
|
|
16121
16244
|
if (signal.aborted) return [];
|
|
16122
16245
|
return entries.map((entry) => this.toCommand(entry));
|
|
16123
16246
|
}
|
|
16124
16247
|
toCommand(entry) {
|
|
16248
|
+
const description = entry.source === "extension" && entry.description ? entry.description : `Run the "${entry.name}" saved workflow (${entry.source})`;
|
|
16249
|
+
const modelInvocable = entry.source === "extension" && !!entry.whenToUse;
|
|
16125
16250
|
return {
|
|
16126
16251
|
name: entry.name,
|
|
16127
|
-
description
|
|
16252
|
+
description,
|
|
16253
|
+
...modelInvocable ? {
|
|
16254
|
+
modelInvocable: true,
|
|
16255
|
+
// Commands reach the skill listing as a name and a description,
|
|
16256
|
+
// so the condition rides in the description, as it does for a
|
|
16257
|
+
// skill entry.
|
|
16258
|
+
modelDescription: `${description} \u2014 ${entry.whenToUse}`,
|
|
16259
|
+
whenToUse: entry.whenToUse
|
|
16260
|
+
} : {},
|
|
16128
16261
|
// File-derived command (all execution modes via commandUtils fallback);
|
|
16129
16262
|
// `source` carries the distinct workflow identity for display/telemetry.
|
|
16130
16263
|
kind: "file" /* FILE */,
|
|
16131
16264
|
source: "workflow-command",
|
|
16132
|
-
|
|
16265
|
+
// An extension workflow names its owner, which becomes its source badge.
|
|
16266
|
+
sourceLabel: entry.extensionName ? extensionOwnerLabel({
|
|
16267
|
+
name: entry.extensionName,
|
|
16268
|
+
displayName: entry.extensionDisplayName
|
|
16269
|
+
}) : "Workflow",
|
|
16133
16270
|
sourceDetail: entry.source,
|
|
16134
|
-
// 'project' | 'user'
|
|
16135
|
-
//
|
|
16136
|
-
//
|
|
16137
|
-
//
|
|
16138
|
-
//
|
|
16139
|
-
|
|
16271
|
+
// 'project' | 'user' | 'extension'
|
|
16272
|
+
// An extension workflow is an extension command. On a collision with its
|
|
16273
|
+
// extension's same-named skill, `CommandService` renames it to
|
|
16274
|
+
// `<extension>.<name>` and the skill keeps its surfaces; `workflowName`
|
|
16275
|
+
// keeps a denylist entry written with the documented name matching. A
|
|
16276
|
+
// user or project custom command of the same name still takes the slash
|
|
16277
|
+
// command, because `FileCommandLoader` loads after this loader.
|
|
16278
|
+
...entry.extensionName ? { extensionName: entry.extensionName, workflowName: entry.name } : {},
|
|
16140
16279
|
acceptsInput: true,
|
|
16141
16280
|
argumentHint: "[json-args]",
|
|
16142
|
-
action: /* @__PURE__ */ __name((
|
|
16143
|
-
const
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
toolArgs["args"] = tryParseJson(trimmed);
|
|
16281
|
+
action: /* @__PURE__ */ __name((context, args) => {
|
|
16282
|
+
const workflowArgs = parseWorkflowArgs(args);
|
|
16283
|
+
if (context.executionMode === "non_interactive" || context.executionMode === "acp") {
|
|
16284
|
+
return {
|
|
16285
|
+
type: "submit_prompt",
|
|
16286
|
+
content: buildWorkflowInvocationPrompt(entry, workflowArgs)
|
|
16287
|
+
};
|
|
16150
16288
|
}
|
|
16151
16289
|
return {
|
|
16152
16290
|
type: "tool",
|
|
16153
16291
|
toolName: ToolNames.WORKFLOW,
|
|
16154
|
-
toolArgs
|
|
16292
|
+
toolArgs: {
|
|
16293
|
+
// The tool reads the file fresh at execution time (hot reload).
|
|
16294
|
+
scriptPath: entry.scriptPath,
|
|
16295
|
+
...workflowArgs !== void 0 ? { args: workflowArgs } : {}
|
|
16296
|
+
}
|
|
16155
16297
|
};
|
|
16156
16298
|
}, "action")
|
|
16157
16299
|
};
|
|
16158
16300
|
}
|
|
16159
16301
|
};
|
|
16302
|
+
function buildWorkflowInvocationPrompt(entry, workflowArgs) {
|
|
16303
|
+
const name = JSON.stringify(entry.name);
|
|
16304
|
+
const call = workflowArgs === void 0 ? `{ name: ${name} }` : `{ name: ${name}, args: ${JSON.stringify(workflowArgs)} }`;
|
|
16305
|
+
return [
|
|
16306
|
+
entry.source === "extension" ? `Run the "${entry.name}" workflow.` : `Run the "${entry.name}" saved workflow (${entry.source}).`,
|
|
16307
|
+
entry.description,
|
|
16308
|
+
entry.whenToUse,
|
|
16309
|
+
`Invoke: Workflow(${call})`
|
|
16310
|
+
].filter((part) => part).join("\n\n");
|
|
16311
|
+
}
|
|
16312
|
+
__name(buildWorkflowInvocationPrompt, "buildWorkflowInvocationPrompt");
|
|
16313
|
+
function parseWorkflowArgs(raw) {
|
|
16314
|
+
const trimmed = (raw ?? "").trim();
|
|
16315
|
+
return trimmed.length > 0 ? tryParseJson(trimmed) : void 0;
|
|
16316
|
+
}
|
|
16317
|
+
__name(parseWorkflowArgs, "parseWorkflowArgs");
|
|
16160
16318
|
function tryParseJson(raw) {
|
|
16161
16319
|
try {
|
|
16162
16320
|
return JSON.parse(raw);
|
|
@@ -16431,7 +16589,7 @@ var McpPromptLoader = class {
|
|
|
16431
16589
|
// packages/cli/src/services/SkillCommandLoader.ts
|
|
16432
16590
|
init_esbuild_shims();
|
|
16433
16591
|
import { dirname as dirname3 } from "node:path";
|
|
16434
|
-
var
|
|
16592
|
+
var debugLogger21 = createDebugLogger("SKILL_COMMAND_LOADER");
|
|
16435
16593
|
async function recordAutoSkillCommandUsage(config, command) {
|
|
16436
16594
|
const detail = command.skillDetail;
|
|
16437
16595
|
if (!config || detail?.level !== "project" || !detail.filePath) {
|
|
@@ -16444,7 +16602,7 @@ async function recordAutoSkillCommandUsage(config, command) {
|
|
|
16444
16602
|
filePath: detail.filePath
|
|
16445
16603
|
});
|
|
16446
16604
|
} catch (error) {
|
|
16447
|
-
|
|
16605
|
+
debugLogger21.warn(
|
|
16448
16606
|
`Failed to record auto-skill command usage: ${error instanceof Error ? error.message : String(error)}`
|
|
16449
16607
|
);
|
|
16450
16608
|
}
|
|
@@ -16459,12 +16617,12 @@ var SkillCommandLoader = class {
|
|
|
16459
16617
|
}
|
|
16460
16618
|
async loadCommands(_signal) {
|
|
16461
16619
|
if (this.config?.getBareMode?.()) {
|
|
16462
|
-
|
|
16620
|
+
debugLogger21.debug("Bare mode enabled, skipping skill commands");
|
|
16463
16621
|
return [];
|
|
16464
16622
|
}
|
|
16465
16623
|
const skillManager = this.config?.getSkillManager();
|
|
16466
16624
|
if (!skillManager) {
|
|
16467
|
-
|
|
16625
|
+
debugLogger21.debug("SkillManager not available, skipping skill commands");
|
|
16468
16626
|
return [];
|
|
16469
16627
|
}
|
|
16470
16628
|
try {
|
|
@@ -16480,7 +16638,7 @@ var SkillCommandLoader = class {
|
|
|
16480
16638
|
const nonUserInvocableCount = visibleSkills.filter(
|
|
16481
16639
|
(skill) => skill.userInvocable === false
|
|
16482
16640
|
).length;
|
|
16483
|
-
|
|
16641
|
+
debugLogger21.debug(
|
|
16484
16642
|
`Loaded ${userSkills.length} user + ${projectSkills.length} project + ${extensionSkills.length} extension skill(s) as slash commands; ${allSkills.length - visibleSkills.length} disabled; ${nonUserInvocableCount} marked non-user-invocable`
|
|
16485
16643
|
);
|
|
16486
16644
|
return visibleSkills.map((skill) => {
|
|
@@ -16547,7 +16705,7 @@ var SkillCommandLoader = class {
|
|
|
16547
16705
|
};
|
|
16548
16706
|
});
|
|
16549
16707
|
} catch (error) {
|
|
16550
|
-
|
|
16708
|
+
debugLogger21.error("Failed to load skill commands:", error);
|
|
16551
16709
|
return [];
|
|
16552
16710
|
}
|
|
16553
16711
|
}
|
|
@@ -16622,7 +16780,7 @@ function formatUserPromptExpansionBlockedMessage(reason) {
|
|
|
16622
16780
|
__name(formatUserPromptExpansionBlockedMessage, "formatUserPromptExpansionBlockedMessage");
|
|
16623
16781
|
|
|
16624
16782
|
// packages/cli/src/nonInteractiveCliCommands.ts
|
|
16625
|
-
var
|
|
16783
|
+
var debugLogger22 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
|
|
16626
16784
|
function getSkillCommandName(command) {
|
|
16627
16785
|
return command.skillDetail?.name ?? command.name;
|
|
16628
16786
|
}
|
|
@@ -17086,14 +17244,14 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
|
|
|
17086
17244
|
(command) => isCommandAllowedByPolicy(command, executionPolicy)
|
|
17087
17245
|
);
|
|
17088
17246
|
} catch (error) {
|
|
17089
|
-
|
|
17247
|
+
debugLogger22.error("Error loading available commands:", error);
|
|
17090
17248
|
return [];
|
|
17091
17249
|
}
|
|
17092
17250
|
}, "getAvailableCommands");
|
|
17093
17251
|
|
|
17094
17252
|
// packages/cli/src/nonInteractive/nonInteractiveHelpers.ts
|
|
17095
17253
|
init_esbuild_shims();
|
|
17096
|
-
var
|
|
17254
|
+
var debugLogger23 = createDebugLogger("NON_INTERACTIVE");
|
|
17097
17255
|
function extractPartsFromUserMessage(message2) {
|
|
17098
17256
|
if (!message2) {
|
|
17099
17257
|
return null;
|
|
@@ -17166,17 +17324,18 @@ function insertAfterFunctionResponses(parts, additions) {
|
|
|
17166
17324
|
return [...parts.slice(0, insertAt), ...additions, ...parts.slice(insertAt)];
|
|
17167
17325
|
}
|
|
17168
17326
|
__name(insertAfterFunctionResponses, "insertAfterFunctionResponses");
|
|
17169
|
-
async function loadSlashCommandNames(config) {
|
|
17327
|
+
async function loadSlashCommandNames(config, settings) {
|
|
17170
17328
|
const controller = new AbortController();
|
|
17171
17329
|
try {
|
|
17172
17330
|
const commands = await getAvailableCommands(
|
|
17173
17331
|
config,
|
|
17174
17332
|
controller.signal,
|
|
17175
|
-
"non_interactive"
|
|
17333
|
+
"non_interactive",
|
|
17334
|
+
settings
|
|
17176
17335
|
);
|
|
17177
17336
|
return commands.map((cmd) => cmd.name).sort();
|
|
17178
17337
|
} catch (error) {
|
|
17179
|
-
|
|
17338
|
+
debugLogger23.error(
|
|
17180
17339
|
"[buildSystemMessage] Failed to load slash commands:",
|
|
17181
17340
|
error
|
|
17182
17341
|
);
|
|
@@ -17186,7 +17345,7 @@ async function loadSlashCommandNames(config) {
|
|
|
17186
17345
|
}
|
|
17187
17346
|
}
|
|
17188
17347
|
__name(loadSlashCommandNames, "loadSlashCommandNames");
|
|
17189
|
-
async function buildSystemMessage(config, sessionId, permissionMode) {
|
|
17348
|
+
async function buildSystemMessage(config, sessionId, permissionMode, settings) {
|
|
17190
17349
|
const toolRegistry = config.getToolRegistry();
|
|
17191
17350
|
const tools = toolRegistry ? toolRegistry.getAllToolNames() : [];
|
|
17192
17351
|
const mcpServers = config.getMcpServers();
|
|
@@ -17194,14 +17353,14 @@ async function buildSystemMessage(config, sessionId, permissionMode) {
|
|
|
17194
17353
|
name,
|
|
17195
17354
|
status: getMCPServerStatus(name)
|
|
17196
17355
|
})) : [];
|
|
17197
|
-
const slashCommands = await loadSlashCommandNames(config);
|
|
17356
|
+
const slashCommands = await loadSlashCommandNames(config, settings);
|
|
17198
17357
|
let agentNames = [];
|
|
17199
17358
|
try {
|
|
17200
17359
|
const subagentManager = config.getSubagentManager();
|
|
17201
17360
|
const subagents = await subagentManager.listSubagents();
|
|
17202
17361
|
agentNames = subagents.map((subagent) => subagent.name);
|
|
17203
17362
|
} catch (error) {
|
|
17204
|
-
|
|
17363
|
+
debugLogger23.error("[buildSystemMessage] Failed to load subagents:", error);
|
|
17205
17364
|
}
|
|
17206
17365
|
const systemMessage = {
|
|
17207
17366
|
type: "system",
|
|
@@ -17372,6 +17531,8 @@ export {
|
|
|
17372
17531
|
CommandService,
|
|
17373
17532
|
formatApprovalModeName,
|
|
17374
17533
|
formatApprovalModeDescription,
|
|
17534
|
+
isCrossSessionMessagingEnabled,
|
|
17535
|
+
isCrossSessionMessagingOptedIn,
|
|
17375
17536
|
hasBlockingBackgroundWork,
|
|
17376
17537
|
resetBackgroundStateForSessionSwitch,
|
|
17377
17538
|
buildBackgroundWorkBlockedMessage,
|
|
@@ -17390,10 +17551,12 @@ export {
|
|
|
17390
17551
|
getBestSlashCommandMatch,
|
|
17391
17552
|
findSlashCommandTokens,
|
|
17392
17553
|
formatEffortChangeMessage,
|
|
17554
|
+
getHookShortDescription,
|
|
17393
17555
|
getTranslatedSourceDisplayMap,
|
|
17394
17556
|
DISPLAY_HOOK_EVENTS,
|
|
17395
17557
|
supportsMatchers,
|
|
17396
17558
|
createEmptyHookEventInfo,
|
|
17559
|
+
normalizeMatcher,
|
|
17397
17560
|
addConfigToMatcherGroup,
|
|
17398
17561
|
getAllConfigs,
|
|
17399
17562
|
recordDaemonSessionModel,
|
|
@@ -17428,6 +17591,11 @@ export {
|
|
|
17428
17591
|
createAgentToolProgressHandler,
|
|
17429
17592
|
functionResponsePartsToString
|
|
17430
17593
|
};
|
|
17594
|
+
/**
|
|
17595
|
+
* @license
|
|
17596
|
+
* Copyright 2026 Qwen
|
|
17597
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17598
|
+
*/
|
|
17431
17599
|
/**
|
|
17432
17600
|
* @license
|
|
17433
17601
|
* Copyright 2025 Google LLC
|
|
@@ -17453,11 +17621,6 @@ export {
|
|
|
17453
17621
|
* Copyright 2025 Qwen
|
|
17454
17622
|
* SPDX-License-Identifier: Apache-2.0
|
|
17455
17623
|
*/
|
|
17456
|
-
/**
|
|
17457
|
-
* @license
|
|
17458
|
-
* Copyright 2026 Qwen
|
|
17459
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
17460
|
-
*/
|
|
17461
17624
|
/**
|
|
17462
17625
|
* @license
|
|
17463
17626
|
* Copyright 2025 Qwen team
|