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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-CXBAJGac.js";
|
|
3
|
+
import "./agent-scope-Eh54NB14.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-BFaeHXzD.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-DRkjyTds.js";
|
|
6
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-B3MIBUxY.js";
|
|
7
7
|
import "./boolean-B8-BqKGQ.js";
|
|
8
|
-
import "./command-format
|
|
9
|
-
import "./model-auth-
|
|
10
|
-
import "./github-copilot-token-
|
|
11
|
-
import { n as loadConfig } from "./config-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
8
|
+
import "./command-format--87BbJbN.js";
|
|
9
|
+
import "./model-auth-D56n6qom.js";
|
|
10
|
+
import "./github-copilot-token-Bu5FPDAY.js";
|
|
11
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
12
|
+
import "./manifest-registry-CpMEl7vN.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DaH2NktH.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format
|
|
7
|
-
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-CXBAJGac.js";
|
|
4
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-Eh54NB14.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format--87BbJbN.js";
|
|
7
|
+
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-D56n6qom.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-3KjSwJLH.js";
|
|
9
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
9
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-B4zRLe0K.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-CZ8CG4ht.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-Bj7vQfrk.js";
|
|
12
|
+
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-BY19hYgD.js";
|
|
13
|
+
import { n as retryAsync } from "./retry-BwVcNQB0.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fsSync from "node:fs";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -511,7 +511,7 @@ function canAutoSelectLocal(options) {
|
|
|
511
511
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
512
512
|
const resolved = resolveUserPath(modelPath);
|
|
513
513
|
try {
|
|
514
|
-
return
|
|
514
|
+
return fsSync.statSync(resolved).isFile();
|
|
515
515
|
} catch {
|
|
516
516
|
return false;
|
|
517
517
|
}
|
|
@@ -1939,7 +1939,7 @@ var MemoryManagerSyncOps = class {
|
|
|
1939
1939
|
]);
|
|
1940
1940
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
1941
1941
|
for (const entry of additionalPaths) try {
|
|
1942
|
-
const stat =
|
|
1942
|
+
const stat = fsSync.lstatSync(entry);
|
|
1943
1943
|
if (stat.isSymbolicLink()) continue;
|
|
1944
1944
|
if (stat.isDirectory()) {
|
|
1945
1945
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-
|
|
1
|
+
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-CXBAJGac.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-BkfUOe6z.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/security/scan-paths.ts
|
|
@@ -13,7 +13,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
13
13
|
}
|
|
14
14
|
function safeRealpathSync$1(filePath) {
|
|
15
15
|
try {
|
|
16
|
-
return
|
|
16
|
+
return fsSync.realpathSync(filePath);
|
|
17
17
|
} catch {
|
|
18
18
|
return null;
|
|
19
19
|
}
|
|
@@ -180,13 +180,13 @@ function resolveBundledPluginsDir() {
|
|
|
180
180
|
try {
|
|
181
181
|
const execDir = path.dirname(process.execPath);
|
|
182
182
|
const sibling = path.join(execDir, "extensions");
|
|
183
|
-
if (
|
|
183
|
+
if (fsSync.existsSync(sibling)) return sibling;
|
|
184
184
|
} catch {}
|
|
185
185
|
try {
|
|
186
186
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
187
187
|
for (let i = 0; i < 6; i += 1) {
|
|
188
188
|
const candidate = path.join(cursor, "extensions");
|
|
189
|
-
if (
|
|
189
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
190
190
|
const parent = path.dirname(cursor);
|
|
191
191
|
if (parent === cursor) break;
|
|
192
192
|
cursor = parent;
|
|
@@ -205,20 +205,20 @@ function normalizeStringList(value) {
|
|
|
205
205
|
function resolvePluginManifestPath(rootDir) {
|
|
206
206
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
207
207
|
const candidate = path.join(rootDir, filename);
|
|
208
|
-
if (
|
|
208
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
209
209
|
}
|
|
210
210
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
211
211
|
}
|
|
212
212
|
function loadPluginManifest(rootDir) {
|
|
213
213
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
214
|
-
if (!
|
|
214
|
+
if (!fsSync.existsSync(manifestPath)) return {
|
|
215
215
|
ok: false,
|
|
216
216
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
217
217
|
manifestPath
|
|
218
218
|
};
|
|
219
219
|
let raw;
|
|
220
220
|
try {
|
|
221
|
-
raw = JSON.parse(
|
|
221
|
+
raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
|
|
222
222
|
} catch (err) {
|
|
223
223
|
return {
|
|
224
224
|
ok: false,
|
|
@@ -285,7 +285,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
285
285
|
const cached = cache?.get(targetPath);
|
|
286
286
|
if (cached) return cached;
|
|
287
287
|
try {
|
|
288
|
-
const resolved =
|
|
288
|
+
const resolved = fsSync.realpathSync(targetPath);
|
|
289
289
|
cache?.set(targetPath, resolved);
|
|
290
290
|
return resolved;
|
|
291
291
|
} catch {
|
|
@@ -294,7 +294,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
294
294
|
}
|
|
295
295
|
function safeStatSync(targetPath) {
|
|
296
296
|
try {
|
|
297
|
-
return
|
|
297
|
+
return fsSync.statSync(targetPath);
|
|
298
298
|
} catch {
|
|
299
299
|
return null;
|
|
300
300
|
}
|
|
@@ -408,9 +408,9 @@ function isExtensionFile(filePath) {
|
|
|
408
408
|
}
|
|
409
409
|
function readPackageManifest(dir) {
|
|
410
410
|
const manifestPath = path.join(dir, "package.json");
|
|
411
|
-
if (!
|
|
411
|
+
if (!fsSync.existsSync(manifestPath)) return null;
|
|
412
412
|
try {
|
|
413
|
-
const raw =
|
|
413
|
+
const raw = fsSync.readFileSync(manifestPath, "utf-8");
|
|
414
414
|
return JSON.parse(raw);
|
|
415
415
|
} catch {
|
|
416
416
|
return null;
|
|
@@ -468,10 +468,10 @@ function resolvePackageEntrySource(params) {
|
|
|
468
468
|
return source;
|
|
469
469
|
}
|
|
470
470
|
function discoverInDirectory(params) {
|
|
471
|
-
if (!
|
|
471
|
+
if (!fsSync.existsSync(params.dir)) return;
|
|
472
472
|
let entries = [];
|
|
473
473
|
try {
|
|
474
|
-
entries =
|
|
474
|
+
entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
|
|
475
475
|
} catch (err) {
|
|
476
476
|
params.diagnostics.push({
|
|
477
477
|
level: "warn",
|
|
@@ -533,7 +533,7 @@ function discoverInDirectory(params) {
|
|
|
533
533
|
"index.js",
|
|
534
534
|
"index.mjs",
|
|
535
535
|
"index.cjs"
|
|
536
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
536
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
537
537
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
538
538
|
candidates: params.candidates,
|
|
539
539
|
diagnostics: params.diagnostics,
|
|
@@ -551,7 +551,7 @@ function discoverInDirectory(params) {
|
|
|
551
551
|
}
|
|
552
552
|
function discoverFromPath(params) {
|
|
553
553
|
const resolved = resolveUserPath(params.rawPath);
|
|
554
|
-
if (!
|
|
554
|
+
if (!fsSync.existsSync(resolved)) {
|
|
555
555
|
params.diagnostics.push({
|
|
556
556
|
level: "error",
|
|
557
557
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -559,7 +559,7 @@ function discoverFromPath(params) {
|
|
|
559
559
|
});
|
|
560
560
|
return;
|
|
561
561
|
}
|
|
562
|
-
const stat =
|
|
562
|
+
const stat = fsSync.statSync(resolved);
|
|
563
563
|
if (stat.isFile()) {
|
|
564
564
|
if (!isExtensionFile(resolved)) {
|
|
565
565
|
params.diagnostics.push({
|
|
@@ -619,7 +619,7 @@ function discoverFromPath(params) {
|
|
|
619
619
|
"index.js",
|
|
620
620
|
"index.mjs",
|
|
621
621
|
"index.cjs"
|
|
622
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
622
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
623
623
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
624
624
|
addCandidate({
|
|
625
625
|
candidates: params.candidates,
|
|
@@ -733,7 +733,7 @@ function buildCacheKey(params) {
|
|
|
733
733
|
}
|
|
734
734
|
function safeStatMtimeMs(filePath) {
|
|
735
735
|
try {
|
|
736
|
-
return
|
|
736
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
737
737
|
} catch {
|
|
738
738
|
return null;
|
|
739
739
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId } from "./session-key-CgcjHuX_.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-CLJ0iOl0.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CXBAJGac.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-
|
|
2
|
+
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
3
3
|
import { n as DEFAULT_AGENT_ID } from "./session-key-CgcjHuX_.js";
|
|
4
|
-
import { I as resolveUserPath } from "./registry-
|
|
5
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format
|
|
8
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
4
|
+
import { I as resolveUserPath } from "./registry-CXBAJGac.js";
|
|
5
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-Eh54NB14.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format--87BbJbN.js";
|
|
8
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Bu5FPDAY.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fsSync from "node:fs";
|
|
12
12
|
import { execFileSync } from "node:child_process";
|
|
13
13
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
14
14
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -2589,7 +2589,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
2589
2589
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
2590
2590
|
}
|
|
2591
2591
|
function ensureAuthStoreFile(pathname) {
|
|
2592
|
-
if (
|
|
2592
|
+
if (fsSync.existsSync(pathname)) return;
|
|
2593
2593
|
saveJsonFile(pathname, {
|
|
2594
2594
|
version: AUTH_STORE_VERSION,
|
|
2595
2595
|
profiles: {}
|
|
@@ -2758,7 +2758,7 @@ function loadAuthProfileStoreForAgent(agentDir, _options) {
|
|
|
2758
2758
|
if (shouldWrite && legacy !== null) {
|
|
2759
2759
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
2760
2760
|
try {
|
|
2761
|
-
|
|
2761
|
+
fsSync.unlinkSync(legacyPath);
|
|
2762
2762
|
} catch (err) {
|
|
2763
2763
|
if (err?.code !== "ENOENT") log$1.warn("failed to delete legacy auth.json after migration", {
|
|
2764
2764
|
err,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-CgcjHuX_.js";
|
|
2
|
-
import { M as normalizeE164 } from "./registry-
|
|
3
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { M as normalizeE164 } from "./registry-CXBAJGac.js";
|
|
3
|
+
import { m as createAccountListHelpers } from "./accounts-B3MIBUxY.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
5
|
-
import { r as isTruthyEnvValue } from "./command-format
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
7
|
-
import
|
|
5
|
+
import { r as isTruthyEnvValue } from "./command-format--87BbJbN.js";
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-C6TS0yEe.js";
|
|
7
|
+
import fsSync from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-action-gate.ts
|
|
10
10
|
function createAccountActionGate(params) {
|
|
@@ -186,7 +186,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
186
186
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
187
187
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
188
188
|
if (accountTokenFile) {
|
|
189
|
-
if (!
|
|
189
|
+
if (!fsSync.existsSync(accountTokenFile)) {
|
|
190
190
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
191
191
|
return {
|
|
192
192
|
token: "",
|
|
@@ -194,7 +194,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
try {
|
|
197
|
-
const token =
|
|
197
|
+
const token = fsSync.readFileSync(accountTokenFile, "utf-8").trim();
|
|
198
198
|
if (token) return {
|
|
199
199
|
token,
|
|
200
200
|
source: "tokenFile"
|
|
@@ -219,7 +219,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
219
219
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
220
220
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
221
221
|
if (tokenFile && allowEnv) {
|
|
222
|
-
if (!
|
|
222
|
+
if (!fsSync.existsSync(tokenFile)) {
|
|
223
223
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
224
224
|
return {
|
|
225
225
|
token: "",
|
|
@@ -227,7 +227,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
try {
|
|
230
|
-
const token =
|
|
230
|
+
const token = fsSync.readFileSync(tokenFile, "utf-8").trim();
|
|
231
231
|
if (token) return {
|
|
232
232
|
token,
|
|
233
233
|
source: "tokenFile"
|
|
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DOhPjoet.js";
|
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
12
12
|
import { r as healthCommand } from "./health-XlshA6p-.js";
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-CjjXl4IO.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-CZFwPQ4o.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-D59-dc0L.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-E4Y1ux1Z.js";
|
|
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
14
14
|
import { r as healthCommand } from "./health-DYXVGzaD.js";
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-DB_nNcp7.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DyHjntld.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-C8-t269D.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-ChIElmdD.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-C0TCYGuN.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -104,16 +104,16 @@ import "./control-service-CrQGcrWO.js";
|
|
|
104
104
|
import "./stagger-CvFURHzt.js";
|
|
105
105
|
import "./channel-selection-DYhqnjYv.js";
|
|
106
106
|
import "./runtime-guard-C1Eeo_pS.js";
|
|
107
|
-
import "./program-context-
|
|
107
|
+
import "./program-context-tjPv_pMM.js";
|
|
108
108
|
import "./note-COLxJd1A.js";
|
|
109
|
-
import { r as installCompletion } from "./completion-cli-
|
|
109
|
+
import { r as installCompletion } from "./completion-cli-CaMCaGeg.js";
|
|
110
110
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-hS1nK9aU.js";
|
|
111
111
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
112
112
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
113
113
|
import { r as healthCommand } from "./health-DYXVGzaD.js";
|
|
114
114
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Cb0_dn9o.js";
|
|
115
115
|
import { t as formatHealthCheckFailure } from "./health-format-S-b7sQsV.js";
|
|
116
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
116
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-vGK1q4Ye.js";
|
|
117
117
|
import { t as runTui } from "./tui-D4peOrDr.js";
|
|
118
118
|
import os from "node:os";
|
|
119
119
|
import path from "node:path";
|
|
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
98
98
|
import "./prompt-style-BxVdnrLq.js";
|
|
99
99
|
import "./pairing-labels-Bb8shgzQ.js";
|
|
100
100
|
import "./note-DewoEWtc.js";
|
|
101
|
-
import "./register.subclis-
|
|
102
|
-
import "./command-registry-
|
|
101
|
+
import "./register.subclis-Db-mOleG.js";
|
|
102
|
+
import "./command-registry-DRaOk1jG.js";
|
|
103
103
|
import "./program-context-Ds_91dTq.js";
|
|
104
|
-
import { r as installCompletion } from "./completion-cli-
|
|
104
|
+
import { r as installCompletion } from "./completion-cli-Cq0-yq4r.js";
|
|
105
105
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dpw9RQ8A.js";
|
|
106
106
|
import "./runtime-guard-DOhPjoet.js";
|
|
107
107
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
|
109
109
|
import { r as healthCommand } from "./health-XlshA6p-.js";
|
|
110
110
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BQTGlfha.js";
|
|
111
111
|
import { t as formatHealthCheckFailure } from "./health-format-azWJfp5e.js";
|
|
112
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
112
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DucI70Ne.js";
|
|
113
113
|
import { t as runTui } from "./tui-uyyqZRCF.js";
|
|
114
114
|
import os from "node:os";
|
|
115
115
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-CXBAJGac.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BFaeHXzD.js";
|
|
4
|
+
import { n as loadConfig } from "./config-YM0DHrFa.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-1wSxjPR8.js";
|
|
6
|
+
import { a as loadWebMedia } from "./ir-rhivtCTu.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-BX3wB_EC.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-CuY2NO6I.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-DI-5r3l7.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { r as saveMediaBuffer } from "./store-DXYMQMY7.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-rhivtCTu.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
|
|
2
2
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-CgcjHuX_.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fsSync from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/home-dir.ts
|
|
6
6
|
function normalize(value) {
|
|
@@ -93,10 +93,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
93
93
|
if (override) return resolveUserPath(override, env, effectiveHomedir);
|
|
94
94
|
const newDir = newStateDir(effectiveHomedir);
|
|
95
95
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
96
|
-
if (
|
|
96
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
97
97
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
98
98
|
try {
|
|
99
|
-
return
|
|
99
|
+
return fsSync.existsSync(dir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
@@ -135,7 +135,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
135
135
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
136
136
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
137
137
|
try {
|
|
138
|
-
return
|
|
138
|
+
return fsSync.existsSync(candidate);
|
|
139
139
|
} catch {
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
@@ -152,7 +152,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
152
152
|
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
153
153
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
154
154
|
try {
|
|
155
|
-
return
|
|
155
|
+
return fsSync.existsSync(candidate);
|
|
156
156
|
} catch {
|
|
157
157
|
return false;
|
|
158
158
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import "./registry-CXBAJGac.js";
|
|
3
|
+
import "./agent-scope-Eh54NB14.js";
|
|
4
|
+
import "./subsystem-BFaeHXzD.js";
|
|
5
|
+
import "./workspace-DRkjyTds.js";
|
|
6
6
|
import "./boolean-B8-BqKGQ.js";
|
|
7
|
-
import "./command-format
|
|
8
|
-
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./command-format--87BbJbN.js";
|
|
8
|
+
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-D56n6qom.js";
|
|
9
|
+
import "./github-copilot-token-Bu5FPDAY.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|