openclaw-cortex 3.2.6 → 3.3.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/dist/{accounts-6btx_LVr.js → accounts-B3MIBUxY.js} +14 -14
- package/dist/{accounts-Cg6z7lKw.js → accounts-Doecg-Pe.js} +1 -1
- package/dist/{accounts-BOYxuJ9C.js → accounts-X5YWm9b7.js} +1 -1
- package/dist/{active-listener-BhL5jMd9.js → active-listener-DI-5r3l7.js} +1 -1
- package/dist/{agent-scope-fNLAHxGF.js → agent-scope-Eh54NB14.js} +3 -3
- package/dist/{audio-preflight-DgmMV8p-.js → audio-preflight-BT6BcGi_.js} +4 -4
- package/dist/{audio-preflight-oJZolUYt.js → audio-preflight-TVmfRTgf.js} +30 -30
- package/dist/{bindings-DdWLXM-y.js → bindings-C6TS0yEe.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-LT3oBvO7.js → channel-activity-By7mU0Ld.js} +1 -1
- package/dist/{chrome-DxhUHYxR.js → chrome-CBhKqm1e.js} +7 -7
- package/dist/{chrome-BxjGg3Ji.js → chrome-Dvy8C6LZ.js} +13 -13
- package/dist/{chunk-TRVny4T1.js → chunk-DoTNWpve.js} +1 -1
- package/dist/{command-format-D1Crrvey.js → command-format--87BbJbN.js} +1 -1
- package/dist/{command-registry-CN383dzr.js → command-registry-DRaOk1jG.js} +4 -4
- package/dist/{commands-registry-CASS36zB.js → commands-registry-kwpFg3sO.js} +3 -3
- package/dist/{plugin-sdk/common-xLIrQlvS.js → common-D2vcaiue.js} +2 -2
- package/dist/{completion-cli-DiUpyj8K.js → completion-cli-CaMCaGeg.js} +1 -1
- package/dist/{completion-cli-DWog-ATG.js → completion-cli-Cq0-yq4r.js} +2 -2
- package/dist/{config-BXrj6C49.js → config-YM0DHrFa.js} +12 -12
- package/dist/control-ui/_app/immutable/chunks/{CTWxnwAC.js → A8Xp3VCv.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D6TmrqPb.js → B26luS__.js} +4 -4
- package/dist/control-ui/_app/immutable/chunks/{DRMrozhP.js → B2bAh5Q1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{X1MNi0qp.js → B2hZObCg.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{YH-SwxLT.js → B9jIaMGe.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{L9tM3YT2.js → BAw4ath1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{XUyUXXap.js → BGv0vpQT.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{C_KVsgu8.js → BSoyQ_R5.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DFN8J1NF.js → BVUk3tWa.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BwY8sfED.js → BeZ-nXK1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/Bh70dShK.js +1 -0
- package/dist/control-ui/_app/immutable/chunks/{DA25TLUp.js → BseClIFT.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{C1Eymii5.js → BuTRGpGL.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BR-s7H7s.js → C-sMwVJq.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CToOwI3J.js → CA2Fqmpq.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BpdIPI45.js → CF2DLLi1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{HSq6Z-Ri.js → CFmcBGqp.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CjRaiADz.js → CN4OLKrr.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DBlwFnJd.js → CQBY9X6E.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Dp0CT_qn.js → CT8t8-J1.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CtgLaeta.js → CcGwJm6c.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CMAgoL0b.js → CgoZPVeh.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{c7C9Q4bC.js → CpgMrl7C.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/D3iU0WXt.js +5 -0
- package/dist/control-ui/_app/immutable/chunks/{CTNPOj0C.js → D5-Leoub.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{qjmh8Sgh.js → DCmPRZMl.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{FrknC80A.js → DDlWCD6s.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Mcnmm_vJ.js → DLh1OHbt.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{f2z7Vhzy.js → DP56tnrP.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DvXEWbFO.js → DTaVu539.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BQKxqYwa.js → DUYD8zIj.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DeOOVYCg.js → DXEhjiCw.js} +2 -2
- package/dist/control-ui/_app/immutable/chunks/{DN-9aXEU.js → DYGYDwS0.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{Dr9WtqlZ.js → DaqZ8F7d.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DcdYjMti.js → DlgMBTXO.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{C4FsZxvN.js → Dox5Ke1c.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CmisPrPB.js → Dp6rzy9s.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{xY7vVkih.js → FLe1BQLx.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BFumT5Y0.js → IZSoudUT.js} +35 -35
- package/dist/control-ui/_app/immutable/chunks/{Dgn5d0KE.js → LV_KoVeT.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CRqxfK8Q.js → PNoU9iVn.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DVR5y4oH.js → UuW2ZfGw.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BwK9WVrR.js → ecD8_m48.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{BLM6VoLO.js → gowA3Z9N.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DLqjuVZy.js → j5wpLmOt.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{D3i-icoF.js → lwt7gw4R.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/pbkj8eYC.js +1 -0
- package/dist/control-ui/_app/immutable/chunks/{DREM5LJO.js → ppjADO0n.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{DkQuM6_3.js → r2Nt9SxP.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{xiH5_-XQ.js → s1JCCdcW.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{XzWkBa-Y.js → sya67AFr.js} +1 -1
- package/dist/control-ui/_app/immutable/chunks/{CGNab0sK.js → wegGCVaW.js} +1 -1
- package/dist/control-ui/_app/immutable/entry/{app.BP81uCNW.js → app.Fto7AlG1.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.BisB9g6B.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.BobSoCVT.js → 0.UVUABpvE.js} +2 -2
- package/dist/control-ui/_app/immutable/nodes/{1.DXqGuW0y.js → 1.D-BcAijP.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{10.BDapaGMa.js → 10.DCWCeB7T.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{11.DBYtQZHB.js → 11.DhEjys02.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{12.D8XUK_lu.js → 12.DSYRsOVI.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{13.BDfcMPWD.js → 13.eYK8pE6F.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{14.CRNfMLjf.js → 14.BXh21cYH.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.BcW25Cjx.js → 15.BFU0eVY_.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{16.C4l7NDBm.js → 16.DBHG2mB-.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{17.BkTX8oXe.js → 17.CyrSC_X9.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{18.B5ULV77i.js → 18.Bf01kDE6.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/2.-1WNqW3J.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{3.CAwDlZXX.js → 3.DkKyJn61.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{4.UqbCNSjq.js → 4.B2rWu0jt.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{5.fyz3FwUS.js → 5.DFem5Aji.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{6.Dico67qE.js → 6.7jHvlHW1.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{7.CTGW4yVr.js → 7.DrqcqVUQ.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{8.B4g5dpji.js → 8.Cs1y6ZIY.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{9.BzrUr7aI.js → 9.m08xA4oj.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/{deliver-Brnl4HfK.js → deliver-6ybd_3jT.js} +1 -1
- package/dist/{deliver-Cj9AtdCD.js → deliver-CzlDovgN.js} +20 -20
- package/dist/{diagnostic-CoT2YQH4.js → diagnostic-D8zLma7p.js} +1 -1
- package/dist/{doctor-completion-C10-HEge.js → doctor-completion-DucI70Ne.js} +1 -1
- package/dist/{doctor-completion-QnooXNE2.js → doctor-completion-vGK1q4Ye.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-BT4H5SZG.js → frontmatter-D07uaEbx.js} +2 -2
- package/dist/{fs-safe-C_CYPw9r.js → fs-safe-CIZ43-83.js} +1 -1
- package/dist/{gateway-cli-BckfYcm_.js → gateway-cli-CvQSDvm3.js} +2 -2
- package/dist/{gateway-cli-EerfyXJc.js → gateway-cli-DXjkd0k0.js} +2 -2
- package/dist/{gemini-auth-DumDbrQC.js → gemini-auth-Bj7vQfrk.js} +1 -1
- package/dist/{github-copilot-token-BQ98eazZ.js → github-copilot-token-Bu5FPDAY.js} +7 -7
- package/dist/{image-4JNpzCjn.js → image-BccL3ngs.js} +1 -1
- package/dist/{image-BWAaAO2H.js → image-D7-aybgX.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{ir-ibDQZVBL.js → ir-rhivtCTu.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-BgXHvzfc.js → local-roots-Bt7xv1V2.js} +5 -5
- package/dist/{login-DlnaqDqy.js → login-BPfI6TLW.js} +7 -7
- package/dist/{login-qr-CAaBBzm5.js → login-qr-C9i5PuWG.js} +12 -12
- package/dist/{manager-DfEENlRy.js → manager-CuDUtoEb.js} +13 -13
- package/dist/{manifest-registry-Dovhiqzt.js → manifest-registry-CpMEl7vN.js} +19 -19
- package/dist/{markdown-tables-DO9qAEKa.js → markdown-tables-1wSxjPR8.js} +1 -1
- package/dist/{message-channel-BDlvrUZF.js → message-channel-CW_Jr8qx.js} +1 -1
- package/dist/{model-auth-BZOnizY6.js → model-auth-D56n6qom.js} +9 -9
- package/dist/{normalize-C3cb7hCc.js → normalize-O7CagPR-.js} +9 -9
- package/dist/{onboard-B-Y124zt.js → onboard-CNYoHyW0.js} +1 -1
- package/dist/{onboard-C_8S5h5L.js → onboard-m7GmQI89.js} +1 -1
- package/dist/{onboarding-fEEZIbzq.js → onboarding-CjjXl4IO.js} +1 -1
- package/dist/{onboarding-DGH1xg-b.js → onboarding-DB_nNcp7.js} +1 -1
- package/dist/{onboarding.finalize-BDkEi13n.js → onboarding.finalize-C0TCYGuN.js} +3 -3
- package/dist/{onboarding.finalize-DG5b4KjH.js → onboarding.finalize-ChIElmdD.js} +4 -4
- package/dist/{outbound-DlR1v-S7.js → outbound-Y1aXeGg2.js} +7 -7
- package/dist/{outbound-attachment-CjHKg7c1.js → outbound-attachment-Qu3GEH7P.js} +2 -2
- package/dist/{paths-gnW-md4M.js → paths-B4zRLe0K.js} +1 -1
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{pi-auth-json-DpaHuKnz.js → pi-auth-json-CDC723lK.js} +8 -8
- package/dist/{pi-embedded-DiF5uNsJ.js → pi-embedded-BSutTOmE.js} +154 -154
- package/dist/{pi-embedded-DCp1o-Q-.js → pi-embedded-BgUNEKQv.js} +16 -16
- package/dist/{pi-embedded-helpers-6DRwyFRK.js → pi-embedded-helpers-BWG1sdJc.js} +52 -52
- package/dist/{pi-embedded-helpers-OUBsvbo7.js → pi-embedded-helpers-Dh6fWzG0.js} +4 -4
- package/dist/plugin-sdk/{accounts-uAqOguyH.js → accounts-LxMkgia0.js} +1 -1
- package/dist/plugin-sdk/{accounts-b1Cok6r_.js → accounts-iN-dbgw4.js} +3 -3
- package/dist/plugin-sdk/{accounts-CRs7kbLB.js → accounts-vV5Gfd26.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BdVTYHTN.js → active-listener-Bh0LXjEI.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-Bs92YR2y.js → agent-scope-CbyigN8s.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-wd2Jnynp.js → api-key-rotation--_SHlBvO.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CblfMzuT.js → audio-preflight-Cs-ml8zg.js} +25 -25
- package/dist/plugin-sdk/{bindings-BiEEaTNG.js → bindings-EiVe9I7R.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DHI8R5Xg.js → channel-activity-PV3vhwo2.js} +1 -1
- package/dist/plugin-sdk/{channel-web-B06HVGIL.js → channel-web-21Mv-TmV.js} +22 -22
- package/dist/plugin-sdk/{chrome-ORXV3sOi.js → chrome-DY36v1wL.js} +3 -3
- package/dist/plugin-sdk/{chunk-C9J4kyVw.js → chunk-CyOBR4uk.js} +1 -1
- package/dist/plugin-sdk/{command-format-BTciq6Gg.js → command-format-C5kdEGEu.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B03cVRjI.js → commands-registry-OichNmLJ.js} +3 -3
- package/dist/{common-bBB_AQl2.js → plugin-sdk/common-BnJL1iD6.js} +2 -2
- package/dist/plugin-sdk/{config-gGD5Rkaw.js → config-BG3Dq3SQ.js} +9 -9
- package/dist/plugin-sdk/{deliver-DrIvPqH5.js → deliver-BtCdGBea.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-oBxO5N68.js → diagnostic-DFXnVf2I.js} +1 -1
- package/dist/plugin-sdk/{fs-safe--E2UxVCE.js → fs-safe-D3UMk9-G.js} +1 -1
- package/dist/plugin-sdk/{image-psst3EfB.js → image-CcHh2-91.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-B7KEB-SH.js → ir-CyBaWJwF.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BCWc25rb.js → local-roots-BO0Dyqgm.js} +3 -3
- package/dist/plugin-sdk/{login-B3Mf_yyo.js → login-gAP1E9vw.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BwyNiRRo.js → login-qr-C_TnVe07.js} +9 -9
- package/dist/plugin-sdk/{manager-Dv8oeW8Q.js → manager-CC6jXeB-.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-Lzj-fZNH.js → manifest-registry-BgkX6ON4.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-JToF08xk.js → markdown-tables-Q9Bw5OWT.js} +1 -1
- package/dist/plugin-sdk/{message-channel-C3OrO29D.js → message-channel-DxNExIdv.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BP-yZfgL.js → model-selection-CcOKuG2n.js} +4 -4
- package/dist/plugin-sdk/{normalize-CALo0r3J.js → normalize-DQzsuqr8.js} +4 -4
- package/dist/plugin-sdk/{outbound-Xv_dXAwT.js → outbound-BNo9XNzM.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BcrG8SHW.js → outbound-attachment-CisuJmNV.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-cJTtFNw1.js → pi-auth-json-BHnQjxub.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-DjyrCaOR.js → pi-embedded-helpers-D5mU_VuV.js} +17 -17
- package/dist/plugin-sdk/{plugins-DkDfsqpU.js → plugins-DZx_qlHO.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-DzpfUQcL.js → pw-ai-DYABE96f.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CJcPR4Tl.js → qmd-manager-B3_LuPWI.js} +4 -4
- package/dist/plugin-sdk/{registry-C8pj8ctW.js → registry-BECEtj9n.js} +2 -2
- package/dist/plugin-sdk/{replies-D70UX9el.js → replies-DYi7SN77.js} +3 -3
- package/dist/plugin-sdk/{reply-Bd2hTqt2.js → reply-Cjk7LMy5.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-C4uKnJw5.js → reply-prefix-CjyfQ_d1.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-D3KbwzED.js → resolve-route-DcFELQ2A.js} +3 -3
- package/dist/plugin-sdk/{retry-B8Oq5mgi.js → retry-Bkj1k1me.js} +1 -1
- package/dist/plugin-sdk/{runner-eN6avbf7.js → runner-DpYDxpAW.js} +9 -9
- package/dist/plugin-sdk/{send-DbftCLdT.js → send-BZCJA8cX.js} +11 -11
- package/dist/plugin-sdk/{send-NfHYBhul.js → send-DZKSn0On.js} +7 -7
- package/dist/plugin-sdk/{send-g2G5-BE1.js → send-DstsvZrR.js} +7 -7
- package/dist/plugin-sdk/{send-DTQ35K1k.js → send-L7Qzaw1k.js} +11 -11
- package/dist/plugin-sdk/{send-CYWWJEcn.js → send-ydtZKtPY.js} +6 -6
- package/dist/plugin-sdk/{session-BS3El_89.js → session-hN4eOpFg.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cle2Lzhm.js → skill-commands-BI1wVtHZ.js} +5 -5
- package/dist/plugin-sdk/{skills-BKSekIbi.js → skills-Xz3Fbq-R.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Yn48izJ_.js → sqlite-DtIiUWZr.js} +1 -1
- package/dist/plugin-sdk/{store-Cz4sBcdW.js → store-w9NR0-ll.js} +2 -2
- package/dist/plugin-sdk/{subsystem-BfLMZ8kW.js → subsystem-Ck27y_6W.js} +1 -1
- package/dist/plugin-sdk/{tables-gytp5jHK.js → tables-CmVJrzl_.js} +1 -1
- package/dist/plugin-sdk/{thinking-BOKrkVfN.js → thinking-DIWJ8ngy.js} +5 -5
- package/dist/plugin-sdk/{tokens-D1LxPszt.js → tokens-B6GWdF_0.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CYSptBsl.js → tool-loop-detection-CbPwu1_R.js} +2 -2
- package/dist/plugin-sdk/web-DV9s3A0M.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-Cxf0P-Zz.js → whatsapp-actions-DdnRWwJa.js} +20 -20
- package/dist/{plugins-CJYXNO4s.js → plugins-CLJ0iOl0.js} +1 -1
- package/dist/{program-DadI_6OM.js → program-CVLtKnfR.js} +2 -2
- package/dist/{program-context-Cj0DZ4-w.js → program-context-tjPv_pMM.js} +6 -6
- package/dist/{prompt-select-styled-SU9h5tPd.js → prompt-select-styled-4UgZMl1u.js} +2 -2
- package/dist/{prompt-select-styled-_rVIdUqN.js → prompt-select-styled-lWJwdNOt.js} +2 -2
- package/dist/{pw-ai-ByDR1q8k.js → pw-ai-Bp7tQXP7.js} +1 -1
- package/dist/{pw-ai-BrMJUJAV.js → pw-ai-DvWHo51A.js} +11 -11
- package/dist/{qmd-manager-DTtrEBXO.js → qmd-manager-DLZCCfAl.js} +7 -7
- package/dist/{register.maintenance-lcYGhRfn.js → register.maintenance-Be6mgKHS.js} +5 -5
- package/dist/{register.maintenance-CKkRbcT9.js → register.maintenance-CXdFRu0F.js} +6 -6
- package/dist/{register.onboard-7yDtMX-p.js → register.onboard-DBC7puPE.js} +2 -2
- package/dist/{register.onboard-DWWcPpQm.js → register.onboard-o3lH_CIx.js} +2 -2
- package/dist/{register.setup-DQ2pAYjq.js → register.setup-4Bh1tPhz.js} +2 -2
- package/dist/{register.setup-pmtj5F29.js → register.setup-CdGVt-tp.js} +2 -2
- package/dist/{register.subclis-BjYBzftC.js → register.subclis-Db-mOleG.js} +3 -3
- package/dist/{registry-BmY4gNy6.js → registry-CXBAJGac.js} +17 -17
- package/dist/{replies-CpfV6teD.js → replies-Dst9shzA.js} +3 -3
- package/dist/{reply-prefix-ImxHFIBV.js → reply-prefix-Bi0kA6w2.js} +1 -1
- package/dist/{resolve-route-B6jAofkW.js → resolve-route-BUh-vL4u.js} +4 -4
- package/dist/{retry-BxB_D6Pn.js → retry-BwVcNQB0.js} +1 -1
- package/dist/{run-main-C9QTrYeQ.js → run-main-BNrhYed3.js} +3 -3
- package/dist/{runner-xrbh4KIj.js → runner-C3yJ8DJi.js} +9 -9
- package/dist/{runner-BYhtaPKn.js → runner-j4Bfr_LY.js} +1 -1
- package/dist/{send-e_SdAJeq.js → send-Br3A9kpZ.js} +19 -19
- package/dist/{send-C-XCIJuC.js → send-BzIvr4Z_.js} +6 -6
- package/dist/{send-CiDdpmzA.js → send-CDciUPAf.js} +6 -6
- package/dist/{send-sBat2Hk3.js → send-CJ2zw6gd.js} +7 -7
- package/dist/{send-oQqEPZFE.js → send-CtOVbiqN.js} +10 -10
- package/dist/{session-Br88pwYq.js → session-DaH2NktH.js} +8 -8
- package/dist/{session-dirs-DV_qZ5wI.js → session-dirs-BtvMQvd2.js} +1 -1
- package/dist/{session-dirs-DGhcLUEt.js → session-dirs-Dp66oMuK.js} +1 -1
- package/dist/{skill-commands-L55X--Ff.js → skill-commands-CQlQjOjc.js} +9 -9
- package/dist/{skills-0iSdpmyU.js → skills-CEwsiFJU.js} +21 -21
- package/dist/{sqlite-DJh2xLr6.js → sqlite-BY19hYgD.js} +4 -4
- package/dist/{store-DHkrtQed.js → store-DXYMQMY7.js} +2 -2
- package/dist/{subsystem-B5g771Td.js → subsystem-BFaeHXzD.js} +1 -1
- package/dist/{tables-D5EnkI03.js → tables-CuY2NO6I.js} +1 -1
- package/dist/{thinking-cSNbxycr.js → thinking-BM9OL9gE.js} +5 -5
- package/dist/{tokens-BRx7o_ZS.js → tokens-CC-Nd7t2.js} +1 -1
- package/dist/{tool-loop-detection-BjQsVGUc.js → tool-loop-detection-DDnbw1kC.js} +3 -3
- package/dist/{update-cli-BJkEpOzH.js → update-cli-1QGSqP3Y.js} +7 -7
- package/dist/{update-cli-CijRWAjm.js → update-cli-CmLe-3UM.js} +6 -6
- package/dist/{web-CVGYB15Z.js → web-DN0Lf8sf.js} +57 -57
- package/dist/{web-ZW9Geotk.js → web-y3J71ECd.js} +6 -6
- package/dist/{whatsapp-actions-n2AzHm58.js → whatsapp-actions-Bhzconsy.js} +23 -23
- package/dist/{workspace-B32hQFzW.js → workspace-DRkjyTds.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/2UnHt_9K.js +0 -1
- package/dist/control-ui/_app/immutable/chunks/B4GbTqhO.js +0 -1
- package/dist/control-ui/_app/immutable/chunks/DM2PI6Ub.js +0 -5
- package/dist/control-ui/_app/immutable/entry/start.BkyZMPcP.js +0 -1
- package/dist/control-ui/_app/immutable/nodes/2.BbOfUph1.js +0 -1
- package/dist/plugin-sdk/web-CHrq1191.js +0 -65
|
@@ -103,10 +103,10 @@ import "./catalog-2EmOju0o.js";
|
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
104
|
import "./plugin-auto-enable-r7-gNgX4.js";
|
|
105
105
|
import "./channels-status-issues-C4ciBh-M.js";
|
|
106
|
-
import "./register.subclis-
|
|
107
|
-
import "./command-registry-
|
|
106
|
+
import "./register.subclis-Db-mOleG.js";
|
|
107
|
+
import "./command-registry-DRaOk1jG.js";
|
|
108
108
|
import "./program-context-Ds_91dTq.js";
|
|
109
|
-
import "./completion-cli-
|
|
109
|
+
import "./completion-cli-Cq0-yq4r.js";
|
|
110
110
|
import "./daemon-runtime-Dpw9RQ8A.js";
|
|
111
111
|
import "./runtime-guard-DOhPjoet.js";
|
|
112
112
|
import "./systemd-DemAzd31.js";
|
|
@@ -117,13 +117,13 @@ import "./health-XlshA6p-.js";
|
|
|
117
117
|
import "./control-ui-assets-BQTGlfha.js";
|
|
118
118
|
import "./update-check-BrrYgTQO.js";
|
|
119
119
|
import "./dm-policy-shared-C-uhGCo-.js";
|
|
120
|
-
import "./session-dirs-
|
|
120
|
+
import "./session-dirs-BtvMQvd2.js";
|
|
121
121
|
import "./logging-D59-dc0L.js";
|
|
122
122
|
import "./doctor-config-flow-CD2kzlEi.js";
|
|
123
123
|
import "./systemd-linger-Doc2XbHm.js";
|
|
124
124
|
import "./health-format-azWJfp5e.js";
|
|
125
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
126
|
-
import "./doctor-completion-
|
|
125
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-lWJwdNOt.js";
|
|
126
|
+
import "./doctor-completion-DucI70Ne.js";
|
|
127
127
|
import path from "node:path";
|
|
128
128
|
import fs from "node:fs/promises";
|
|
129
129
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -109,7 +109,7 @@ import "./daemon-runtime-hS1nK9aU.js";
|
|
|
109
109
|
import "./systemd-DokFcnJ7.js";
|
|
110
110
|
import "./service-7TtUcMJq.js";
|
|
111
111
|
import "./health-DYXVGzaD.js";
|
|
112
|
-
import "./onboarding-
|
|
112
|
+
import "./onboarding-DB_nNcp7.js";
|
|
113
113
|
import "./shared-B0mCG79i.js";
|
|
114
114
|
import "./auth-token-DyHjntld.js";
|
|
115
115
|
import "./logging-C8-t269D.js";
|
|
@@ -119,7 +119,7 @@ import "./vllm-setup-oiXvXqTP.js";
|
|
|
119
119
|
import "./systemd-linger-CS2529_b.js";
|
|
120
120
|
import "./model-picker-hkPoN-af.js";
|
|
121
121
|
import "./onboard-custom-BqHdybES.js";
|
|
122
|
-
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-
|
|
122
|
+
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-m7GmQI89.js";
|
|
123
123
|
|
|
124
124
|
//#region src/cli/program/register.onboard.ts
|
|
125
125
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -103,7 +103,7 @@ import "./runtime-guard-DOhPjoet.js";
|
|
|
103
103
|
import "./systemd-DemAzd31.js";
|
|
104
104
|
import "./service-Cu7ieLvZ.js";
|
|
105
105
|
import "./health-XlshA6p-.js";
|
|
106
|
-
import "./onboarding-
|
|
106
|
+
import "./onboarding-CjjXl4IO.js";
|
|
107
107
|
import "./shared-88jSWGnd.js";
|
|
108
108
|
import "./auth-token-CZFwPQ4o.js";
|
|
109
109
|
import "./logging-D59-dc0L.js";
|
|
@@ -113,7 +113,7 @@ import "./vllm-setup-BwHbeOlH.js";
|
|
|
113
113
|
import "./systemd-linger-Doc2XbHm.js";
|
|
114
114
|
import "./model-picker-Yxx9RWIv.js";
|
|
115
115
|
import "./onboard-custom-Q3lemFoi.js";
|
|
116
|
-
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-
|
|
116
|
+
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-CNYoHyW0.js";
|
|
117
117
|
|
|
118
118
|
//#region src/cli/program/register.onboard.ts
|
|
119
119
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -110,7 +110,7 @@ import "./daemon-runtime-hS1nK9aU.js";
|
|
|
110
110
|
import "./systemd-DokFcnJ7.js";
|
|
111
111
|
import "./service-7TtUcMJq.js";
|
|
112
112
|
import "./health-DYXVGzaD.js";
|
|
113
|
-
import "./onboarding-
|
|
113
|
+
import "./onboarding-DB_nNcp7.js";
|
|
114
114
|
import "./shared-B0mCG79i.js";
|
|
115
115
|
import "./auth-token-DyHjntld.js";
|
|
116
116
|
import "./logging-C8-t269D.js";
|
|
@@ -119,7 +119,7 @@ import "./vllm-setup-oiXvXqTP.js";
|
|
|
119
119
|
import "./systemd-linger-CS2529_b.js";
|
|
120
120
|
import "./model-picker-hkPoN-af.js";
|
|
121
121
|
import "./onboard-custom-BqHdybES.js";
|
|
122
|
-
import { t as onboardCommand } from "./onboard-
|
|
122
|
+
import { t as onboardCommand } from "./onboard-m7GmQI89.js";
|
|
123
123
|
import { t as setupCommand } from "./setup-DTjA05gL.js";
|
|
124
124
|
|
|
125
125
|
//#region src/cli/program/register.setup.ts
|
|
@@ -104,7 +104,7 @@ import "./runtime-guard-DOhPjoet.js";
|
|
|
104
104
|
import "./systemd-DemAzd31.js";
|
|
105
105
|
import "./service-Cu7ieLvZ.js";
|
|
106
106
|
import "./health-XlshA6p-.js";
|
|
107
|
-
import "./onboarding-
|
|
107
|
+
import "./onboarding-CjjXl4IO.js";
|
|
108
108
|
import "./shared-88jSWGnd.js";
|
|
109
109
|
import "./auth-token-CZFwPQ4o.js";
|
|
110
110
|
import "./logging-D59-dc0L.js";
|
|
@@ -113,7 +113,7 @@ import "./vllm-setup-BwHbeOlH.js";
|
|
|
113
113
|
import "./systemd-linger-Doc2XbHm.js";
|
|
114
114
|
import "./model-picker-Yxx9RWIv.js";
|
|
115
115
|
import "./onboard-custom-Q3lemFoi.js";
|
|
116
|
-
import { t as onboardCommand } from "./onboard-
|
|
116
|
+
import { t as onboardCommand } from "./onboard-CNYoHyW0.js";
|
|
117
117
|
import { t as setupCommand } from "./setup-Dwp1UJ3B.js";
|
|
118
118
|
|
|
119
119
|
//#region src/cli/program/register.setup.ts
|
|
@@ -57,7 +57,7 @@ const entries = [
|
|
|
57
57
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
58
58
|
hasSubcommands: true,
|
|
59
59
|
register: async (program) => {
|
|
60
|
-
(await import("./gateway-cli-
|
|
60
|
+
(await import("./gateway-cli-CvQSDvm3.js")).registerGatewayCli(program);
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
@@ -253,7 +253,7 @@ const entries = [
|
|
|
253
253
|
description: "Update OpenClaw and inspect update channel status",
|
|
254
254
|
hasSubcommands: true,
|
|
255
255
|
register: async (program) => {
|
|
256
|
-
(await import("./update-cli-
|
|
256
|
+
(await import("./update-cli-1QGSqP3Y.js")).registerUpdateCli(program);
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
{
|
|
@@ -261,7 +261,7 @@ const entries = [
|
|
|
261
261
|
description: "Generate shell completion script",
|
|
262
262
|
hasSubcommands: false,
|
|
263
263
|
register: async (program) => {
|
|
264
|
-
(await import("./completion-cli-
|
|
264
|
+
(await import("./completion-cli-Cq0-yq4r.js").then((n) => n.n)).registerCompletionCli(program);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import JSON5 from "json5";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
@@ -12,9 +12,9 @@ function isNodeErrorWithCode(err, code) {
|
|
|
12
12
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
13
13
|
}
|
|
14
14
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
15
|
-
const accessSync = options.accessSync ??
|
|
16
|
-
const lstatSync = options.lstatSync ??
|
|
17
|
-
const mkdirSync = options.mkdirSync ??
|
|
15
|
+
const accessSync = options.accessSync ?? fsSync.accessSync;
|
|
16
|
+
const lstatSync = options.lstatSync ?? fsSync.lstatSync;
|
|
17
|
+
const mkdirSync = options.mkdirSync ?? fsSync.mkdirSync;
|
|
18
18
|
const getuid = options.getuid ?? (() => {
|
|
19
19
|
try {
|
|
20
20
|
return typeof process.getuid === "function" ? process.getuid() : void 0;
|
|
@@ -38,14 +38,14 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
38
38
|
try {
|
|
39
39
|
const preferred = lstatSync(POSIX_OPENCLAW_TMP_DIR);
|
|
40
40
|
if (!preferred.isDirectory() || preferred.isSymbolicLink()) return fallback();
|
|
41
|
-
accessSync(POSIX_OPENCLAW_TMP_DIR,
|
|
41
|
+
accessSync(POSIX_OPENCLAW_TMP_DIR, fsSync.constants.W_OK | fsSync.constants.X_OK);
|
|
42
42
|
if (!isSecureDirForUser(preferred)) return fallback();
|
|
43
43
|
return POSIX_OPENCLAW_TMP_DIR;
|
|
44
44
|
} catch (err) {
|
|
45
45
|
if (!isNodeErrorWithCode(err, "ENOENT")) return fallback();
|
|
46
46
|
}
|
|
47
47
|
try {
|
|
48
|
-
accessSync("/tmp",
|
|
48
|
+
accessSync("/tmp", fsSync.constants.W_OK | fsSync.constants.X_OK);
|
|
49
49
|
mkdirSync(POSIX_OPENCLAW_TMP_DIR, {
|
|
50
50
|
recursive: true,
|
|
51
51
|
mode: 448
|
|
@@ -68,8 +68,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
68
68
|
function readLoggingConfig() {
|
|
69
69
|
const configPath = resolveConfigPath();
|
|
70
70
|
try {
|
|
71
|
-
if (!
|
|
72
|
-
const raw =
|
|
71
|
+
if (!fsSync.existsSync(configPath)) return;
|
|
72
|
+
const raw = fsSync.readFileSync(configPath, "utf-8");
|
|
73
73
|
const logging = JSON5.parse(raw)?.logging;
|
|
74
74
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
75
75
|
return logging;
|
|
@@ -172,7 +172,7 @@ function isFileLogLevelEnabled(level) {
|
|
|
172
172
|
return levelToMinLevel(level) <= levelToMinLevel(settings.level);
|
|
173
173
|
}
|
|
174
174
|
function buildLogger(settings) {
|
|
175
|
-
|
|
175
|
+
fsSync.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
176
176
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
177
177
|
const logger = new Logger({
|
|
178
178
|
name: "openclaw",
|
|
@@ -186,7 +186,7 @@ function buildLogger(settings) {
|
|
|
186
186
|
...logObj,
|
|
187
187
|
time
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
fsSync.appendFileSync(settings.file, `${line}\n`, { encoding: "utf8" });
|
|
190
190
|
} catch {}
|
|
191
191
|
});
|
|
192
192
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
@@ -238,14 +238,14 @@ function isRollingPath(file) {
|
|
|
238
238
|
}
|
|
239
239
|
function pruneOldRollingLogs(dir) {
|
|
240
240
|
try {
|
|
241
|
-
const entries =
|
|
241
|
+
const entries = fsSync.readdirSync(dir, { withFileTypes: true });
|
|
242
242
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
243
243
|
for (const entry of entries) {
|
|
244
244
|
if (!entry.isFile()) continue;
|
|
245
245
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
246
246
|
const fullPath = path.join(dir, entry.name);
|
|
247
247
|
try {
|
|
248
|
-
if (
|
|
248
|
+
if (fsSync.statSync(fullPath).mtimeMs < cutoff) fsSync.rmSync(fullPath, { force: true });
|
|
249
249
|
} catch {}
|
|
250
250
|
}
|
|
251
251
|
} catch {}
|
|
@@ -326,14 +326,14 @@ function isPlainObject(value) {
|
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/utils.ts
|
|
328
328
|
async function ensureDir(dir) {
|
|
329
|
-
await
|
|
329
|
+
await fsSync.promises.mkdir(dir, { recursive: true });
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* Check if a file or directory exists at the given path.
|
|
333
333
|
*/
|
|
334
334
|
async function pathExists(targetPath) {
|
|
335
335
|
try {
|
|
336
|
-
await
|
|
336
|
+
await fsSync.promises.access(targetPath);
|
|
337
337
|
return true;
|
|
338
338
|
} catch {
|
|
339
339
|
return false;
|
|
@@ -416,7 +416,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
416
416
|
for (const dir of mappingDirs) {
|
|
417
417
|
const mappingPath = path.join(dir, mappingFilename);
|
|
418
418
|
try {
|
|
419
|
-
const data =
|
|
419
|
+
const data = fsSync.readFileSync(mappingPath, "utf8");
|
|
420
420
|
const phone = JSON.parse(data);
|
|
421
421
|
if (phone === null || phone === void 0) continue;
|
|
422
422
|
return normalizeE164(String(phone));
|
|
@@ -500,7 +500,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
500
500
|
if (override) return resolveUserPath(override);
|
|
501
501
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".openclaw");
|
|
502
502
|
try {
|
|
503
|
-
if (
|
|
503
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
504
504
|
} catch {}
|
|
505
505
|
return newDir;
|
|
506
506
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
2
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-CC-Nd7t2.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-CDciUPAf.js";
|
|
4
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-DoTNWpve.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-Eh54NB14.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as buildAgentPeerSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, p as sanitizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-CgcjHuX_.js";
|
|
3
|
-
import { Z as shouldLogVerbose } from "./registry-
|
|
4
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { y as logDebug } from "./workspace-
|
|
3
|
+
import { Z as shouldLogVerbose } from "./registry-CXBAJGac.js";
|
|
4
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-Eh54NB14.js";
|
|
5
|
+
import { y as logDebug } from "./workspace-DRkjyTds.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
7
|
-
import { t as listBindings } from "./bindings-
|
|
7
|
+
import { t as listBindings } from "./bindings-C6TS0yEe.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -378,7 +378,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
378
378
|
assertSupportedRuntime();
|
|
379
379
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
380
380
|
enableConsoleCapture();
|
|
381
|
-
const { buildProgram } = await import("./program-
|
|
381
|
+
const { buildProgram } = await import("./program-CVLtKnfR.js");
|
|
382
382
|
const program = buildProgram();
|
|
383
383
|
installUnhandledRejectionHandler();
|
|
384
384
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -391,10 +391,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
391
391
|
const { getProgramContext } = await import("./program-context-Ds_91dTq.js").then((n) => n.n);
|
|
392
392
|
const ctx = getProgramContext(program);
|
|
393
393
|
if (ctx) {
|
|
394
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
394
|
+
const { registerCoreCliByName } = await import("./command-registry-DRaOk1jG.js").then((n) => n.t);
|
|
395
395
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
396
396
|
}
|
|
397
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
397
|
+
const { registerSubCliByName } = await import("./register.subclis-Db-mOleG.js").then((n) => n.a);
|
|
398
398
|
await registerSubCliByName(program, primary);
|
|
399
399
|
}
|
|
400
400
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
2
|
-
import { _ as runExec } from "./workspace-
|
|
1
|
+
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-CXBAJGac.js";
|
|
2
|
+
import { _ as runExec } from "./workspace-DRkjyTds.js";
|
|
3
3
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
4
|
-
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./fs-safe-
|
|
5
|
-
import { A as normalizeProviderId, L as normalizeGoogleModelId, i as resolveApiKeyForProvider, r as requireApiKey, y as resolveOpenClawAgentDir } from "./model-auth-
|
|
6
|
-
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-
|
|
7
|
-
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
8
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
4
|
+
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./fs-safe-CIZ43-83.js";
|
|
5
|
+
import { A as normalizeProviderId, L as normalizeGoogleModelId, i as resolveApiKeyForProvider, r as requireApiKey, y as resolveOpenClawAgentDir } from "./model-auth-D56n6qom.js";
|
|
6
|
+
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-YM0DHrFa.js";
|
|
7
|
+
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-D7-aybgX.js";
|
|
8
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-Bj7vQfrk.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-DL3f_O53.js";
|
|
10
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-Bt7xv1V2.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -882,7 +882,7 @@ async function loadModelCatalog(params) {
|
|
|
882
882
|
});
|
|
883
883
|
try {
|
|
884
884
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
885
|
-
await (await import("./pi-auth-json-
|
|
885
|
+
await (await import("./pi-auth-json-CDC723lK.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
886
886
|
const piSdk = await importPiSdk();
|
|
887
887
|
const agentDir = resolveOpenClawAgentDir();
|
|
888
888
|
const { join } = await import("node:path");
|
|
@@ -4,7 +4,7 @@ import { G as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as norma
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./fs-safe-BNEy-_bK.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-DZybbpxs.js";
|
|
7
|
-
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-BccL3ngs.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-C_n3M1sL.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-BheTNyes.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-Dc1A9ezU.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { G as danger, J as logVerbose, L as safeParseJson } from "./registry-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { o as resolveTelegramAccount } from "./normalize-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format
|
|
7
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./fs-safe-
|
|
9
|
-
import { b as withFileLock$1 } from "./model-auth-
|
|
10
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
|
|
3
|
+
import { G as danger, J as logVerbose, L as safeParseJson } from "./registry-CXBAJGac.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
|
|
5
|
+
import { o as resolveTelegramAccount } from "./normalize-O7CagPR-.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format--87BbJbN.js";
|
|
7
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CLJ0iOl0.js";
|
|
8
|
+
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./fs-safe-CIZ43-83.js";
|
|
9
|
+
import { b as withFileLock$1 } from "./model-auth-D56n6qom.js";
|
|
10
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
11
11
|
import { t as redactSensitiveText } from "./redact-BBbIZgau.js";
|
|
12
12
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-3KjSwJLH.js";
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-rhivtCTu.js";
|
|
15
15
|
import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
|
|
16
16
|
import { t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
17
17
|
import { n as normalizePollInput } from "./polls-BX3wB_EC.js";
|
|
18
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
18
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-By7mU0Ld.js";
|
|
19
19
|
import { t as makeProxyFetch } from "./proxy-CBJ1upuz.js";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fsSync from "node:fs";
|
|
23
23
|
import crypto from "node:crypto";
|
|
24
24
|
import process$1 from "node:process";
|
|
25
25
|
import * as net$1 from "node:net";
|
|
@@ -132,7 +132,7 @@ function getPairingAdapter(channelId) {
|
|
|
132
132
|
//#region src/plugin-sdk/json-store.ts
|
|
133
133
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
134
134
|
try {
|
|
135
|
-
const parsed = safeParseJson(await
|
|
135
|
+
const parsed = safeParseJson(await fsSync.promises.readFile(filePath, "utf-8"));
|
|
136
136
|
if (parsed == null) return {
|
|
137
137
|
value: fallback,
|
|
138
138
|
exists: true
|
|
@@ -154,14 +154,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
154
154
|
}
|
|
155
155
|
async function writeJsonFileAtomically(filePath, value) {
|
|
156
156
|
const dir = path.dirname(filePath);
|
|
157
|
-
await
|
|
157
|
+
await fsSync.promises.mkdir(dir, {
|
|
158
158
|
recursive: true,
|
|
159
159
|
mode: 448
|
|
160
160
|
});
|
|
161
161
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
162
|
-
await
|
|
163
|
-
await
|
|
164
|
-
await
|
|
162
|
+
await fsSync.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
163
|
+
await fsSync.promises.chmod(tmp, 384);
|
|
164
|
+
await fsSync.promises.rename(tmp, filePath);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
//#endregion
|
|
@@ -222,7 +222,7 @@ async function readPairingRequests(filePath) {
|
|
|
222
222
|
}
|
|
223
223
|
async function ensureJsonFile(filePath, fallback) {
|
|
224
224
|
try {
|
|
225
|
-
await
|
|
225
|
+
await fsSync.promises.access(filePath);
|
|
226
226
|
} catch {
|
|
227
227
|
await writeJsonFile(filePath, fallback);
|
|
228
228
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
3
|
-
import { x as mediaKindFromMime } from "./fs-safe-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { n as resolveSignalAccount } from "./accounts-Doecg-Pe.js";
|
|
3
|
+
import { x as mediaKindFromMime } from "./fs-safe-CIZ43-83.js";
|
|
4
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-DL3f_O53.js";
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-rhivtCTu.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Qu3GEH7P.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { J as logVerbose } from "./registry-
|
|
3
|
-
import { c as resolveSlackAccount, d as resolveSlackBotToken } from "./normalize-
|
|
2
|
+
import { J as logVerbose } from "./registry-CXBAJGac.js";
|
|
3
|
+
import { c as resolveSlackAccount, d as resolveSlackBotToken } from "./normalize-O7CagPR-.js";
|
|
4
4
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-CFovdgJI.js";
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DoTNWpve.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
8
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-rhivtCTu.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
|
|
10
10
|
import { WebClient } from "@slack/web-api";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { I as resolveUserPath, M as normalizeE164 } from "./registry-
|
|
3
|
-
import { x as mediaKindFromMime } from "./fs-safe-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
2
|
+
import { I as resolveUserPath, M as normalizeE164 } from "./registry-CXBAJGac.js";
|
|
3
|
+
import { x as mediaKindFromMime } from "./fs-safe-CIZ43-83.js";
|
|
4
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-X5YWm9b7.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Qu3GEH7P.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-CuY2NO6I.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
3
|
-
import { h as normalizeDiscordToken, m as resolveDiscordAccount } from "./normalize-
|
|
2
|
+
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-CXBAJGac.js";
|
|
3
|
+
import { h as normalizeDiscordToken, m as resolveDiscordAccount } from "./normalize-O7CagPR-.js";
|
|
4
4
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-CFovdgJI.js";
|
|
5
|
-
import { b as maxBytesForKind, f as extensionForMime } from "./fs-safe-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
5
|
+
import { b as maxBytesForKind, f as extensionForMime } from "./fs-safe-CIZ43-83.js";
|
|
6
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
7
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-BwVcNQB0.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-DoTNWpve.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-rhivtCTu.js";
|
|
11
11
|
import { t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
12
12
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-BX3wB_EC.js";
|
|
13
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
13
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-By7mU0Ld.js";
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-CuY2NO6I.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { execFile } from "node:child_process";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-
|
|
2
|
-
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format
|
|
4
|
-
import { k as VERSION } from "./config-
|
|
5
|
-
import
|
|
1
|
+
import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-CXBAJGac.js";
|
|
2
|
+
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-B3MIBUxY.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format--87BbJbN.js";
|
|
4
|
+
import { k as VERSION } from "./config-YM0DHrFa.js";
|
|
5
|
+
import fsSync from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
8
8
|
import qrcode from "qrcode-terminal";
|
|
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
21
21
|
const raw = readCredsJsonRaw(credsPath);
|
|
22
22
|
if (raw) try {
|
|
23
23
|
JSON.parse(raw);
|
|
24
|
-
|
|
24
|
+
fsSync.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
fsSync.chmodSync(backupPath, 384);
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
} catch {}
|
|
30
30
|
try {
|
|
31
31
|
await Promise.resolve(saveCreds());
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -170,7 +170,7 @@ const START_DIRS = [
|
|
|
170
170
|
"process"
|
|
171
171
|
];
|
|
172
172
|
const DEFAULT_PACKAGE_NAME = "openclaw";
|
|
173
|
-
const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME]);
|
|
173
|
+
const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME, "openclaw-cortex"]);
|
|
174
174
|
function normalizeDir(value) {
|
|
175
175
|
if (!value) return null;
|
|
176
176
|
const trimmed = value.trim();
|
|
@@ -170,7 +170,7 @@ const START_DIRS = [
|
|
|
170
170
|
"process"
|
|
171
171
|
];
|
|
172
172
|
const DEFAULT_PACKAGE_NAME = "openclaw";
|
|
173
|
-
const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME]);
|
|
173
|
+
const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME, "openclaw-cortex"]);
|
|
174
174
|
function normalizeDir(value) {
|
|
175
175
|
if (!value) return null;
|
|
176
176
|
const trimmed = value.trim();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
3
|
+
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-CXBAJGac.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-Eh54NB14.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CEwsiFJU.js";
|
|
7
|
+
import { i as listChatCommands } from "./commands-registry-kwpFg3sO.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fsSync from "node:fs";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import chokidar from "chokidar";
|
|
14
14
|
|
|
@@ -283,8 +283,8 @@ function listSkillCommandsForAgents(params) {
|
|
|
283
283
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
284
284
|
for (const agentId of agentIds) {
|
|
285
285
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
286
|
-
if (!
|
|
287
|
-
const canonicalDir =
|
|
286
|
+
if (!fsSync.existsSync(workspaceDir)) continue;
|
|
287
|
+
const canonicalDir = fsSync.realpathSync(workspaceDir);
|
|
288
288
|
if (visitedDirs.has(canonicalDir)) continue;
|
|
289
289
|
visitedDirs.add(canonicalDir);
|
|
290
290
|
const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
|