@lawpath-tech/openclaw 2026.2.21-13 → 2026.2.21-14
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/{agents-Acsw6oEr.js → agents-DXo_nCMW.js} +4 -4
- package/dist/{agents.config-DA4Kt9C5.js → agents.config-PHgENTF1.js} +1 -1
- package/dist/{agents.config-BAILtL0e.js → agents.config-pLrAz6D_.js} +1 -1
- package/dist/{audio-preflight-B45_FIbf.js → audio-preflight-BElMqBWP.js} +5 -5
- package/dist/{audio-preflight-UmMU18Rf.js → audio-preflight-CLIayR4n.js} +5 -5
- package/dist/{audio-preflight-DTxmK1ti.js → audio-preflight-CajAB1S6.js} +5 -5
- package/dist/{audio-preflight-C56sndLt.js → audio-preflight-DqxLWNAl.js} +4 -4
- package/dist/{audit-BYAONEme.js → audit-DCuFEWyK.js} +3 -3
- package/dist/{audit-C1XET3ZE.js → audit-DFMXfcQb.js} +3 -3
- package/dist/{auth-choice-Cc9nPCSG.js → auth-choice-DDRnyyn0.js} +6 -3
- package/dist/{auth-choice-B0ExtimG.js → auth-choice-zzVAI1zT.js} +6 -3
- package/dist/{banner-l8hdGVT6.js → banner-qpNVJvdM.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +8 -8
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DU0lH77F.js → channel-options-BaaRROfp.js} +1 -1
- package/dist/{channel-options-BOgY_qkz.js → channel-options-OXDbIb5G.js} +1 -1
- package/dist/{channel-web-Bn_o0ClJ.js → channel-web-CXmvb1yo.js} +2 -2
- package/dist/{channels-cli-HyoLT0X_.js → channels-cli-BZeZ4R1p.js} +12 -12
- package/dist/{channels-cli-B8iPHVyY.js → channels-cli-DfzGU21z.js} +12 -12
- package/dist/{chrome-DBIqeaeX.js → chrome-CnYcE5rb.js} +7 -7
- package/dist/{cli-CB8wKUFa.js → cli-CfKvNvBr.js} +9 -9
- package/dist/{cli-BjW27QBR.js → cli-NIjSgQgx.js} +9 -9
- package/dist/{command-registry-43P-_3eW.js → command-registry-COGXqGzR.js} +9 -9
- package/dist/{completion-cli-BrkMcxdh.js → completion-cli-BLpNFMaT.js} +1 -1
- package/dist/{completion-cli-CSoJQQhc.js → completion-cli-DILThCHO.js} +2 -2
- package/dist/{config-cli-Cuv_T0Jj.js → config-cli-B5iBwzDy.js} +1 -1
- package/dist/{config-cli-CV3y1IAq.js → config-cli-CHINvJjW.js} +1 -1
- package/dist/{configure-BHGABgNw.js → configure-BIOKWoSb.js} +4 -4
- package/dist/{configure-80FWz9jT.js → configure-C6CsB_n0.js} +4 -4
- package/dist/{deliver-J2cVd3TS.js → deliver-C2-v1uHE.js} +1 -1
- package/dist/{deliver-BTK-PB1e.js → deliver-CfxEkk-n.js} +1 -1
- package/dist/{deliver-BLkQFTzD.js → deliver-Yl1F_MO9.js} +1 -1
- package/dist/{deliver-meQdcFaA.js → deliver-_9JR3MQl.js} +1 -1
- package/dist/{docs-cli-yYoJ8vbM.js → docs-cli-DfU7l2IC.js} +1 -1
- package/dist/{docs-cli-NEAwfi_8.js → docs-cli-xcx0x6hH.js} +1 -1
- package/dist/{doctor-completion-CszISgAZ.js → doctor-completion-B72VBsCH.js} +1 -1
- package/dist/{doctor-completion-xnrUSWAw.js → doctor-completion-daP22D7U.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-ElJ71Lxb.js → gateway-cli-BVIugsqZ.js} +20 -20
- package/dist/{gateway-cli-1XLrLurk.js → gateway-cli-C7M7Hi_c.js} +20 -20
- package/dist/{health-BfWYn33I.js → health-BtVKvlTj.js} +2 -2
- package/dist/{health-DEibfTDK.js → health-cZbT8z7E.js} +2 -2
- package/dist/{hooks-cli-D-nL8J6w.js → hooks-cli-BygrS6Fx.js} +10 -10
- package/dist/{hooks-cli-wQnxbc8T.js → hooks-cli-CFb-1prH.js} +10 -10
- package/dist/{image-DuT8yGCI.js → image-BwcjSXSW.js} +1 -1
- package/dist/{image-Dozs-5EW.js → image-D-Su_Vlp.js} +1 -1
- package/dist/{image-C8HOu4vb.js → image-DDR3QoP8.js} +1 -1
- package/dist/{image-Cj9tfO74.js → image-uuT0dSvF.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/llm-slug-generator.js +8 -8
- package/dist/{models-DFRcZ415.js → models-B_hZBEN4.js} +2 -2
- package/dist/{models-cli-CwEUrjU_.js → models-cli-BnwtiYk8.js} +11 -11
- package/dist/{models-cli-t1rYl_DG.js → models-cli-DStgE9Cm.js} +10 -10
- package/dist/{onboard-CE7hjJi-.js → onboard-BqyUNTWu.js} +2 -2
- package/dist/{onboard-BgexsYYf.js → onboard-UiWEY6IW.js} +2 -2
- package/dist/{onboard-channels-vQihczqp.js → onboard-channels-CW3fTeQI.js} +1 -1
- package/dist/{onboard-channels-Cb8T_ers.js → onboard-channels-Dx7ZUktV.js} +1 -1
- package/dist/{onboard-skills--fjELPeT.js → onboard-skills-CQJwGqkU.js} +2 -2
- package/dist/{onboard-skills-C-uF-16j.js → onboard-skills-TEHaysLP.js} +2 -2
- package/dist/{onboarding-BIEWyZPf.js → onboarding-CMQtGqo9.js} +4 -4
- package/dist/{onboarding-CX9LQxj2.js → onboarding-hV7z_eC_.js} +4 -4
- package/dist/{onboarding.finalize-BUNWcC3i.js → onboarding.finalize-Bup3uZ9n.js} +15 -15
- package/dist/{onboarding.finalize-COQ2A83D.js → onboarding.finalize-Ck_ACqU_.js} +14 -14
- package/dist/{pi-embedded-BywyyGi2.js → pi-embedded-BWA4KLB_.js} +22 -17
- package/dist/{pi-embedded-KtxTxaXU.js → pi-embedded-DPkt0xxi.js} +27 -22
- package/dist/{pi-embedded-helpers-C4Annkh_.js → pi-embedded-helpers-BjXA0K8b.js} +1 -1
- package/dist/{pi-embedded-helpers-Dl_FdUMU.js → pi-embedded-helpers-Bybzwgll.js} +1 -1
- package/dist/{pi-embedded-helpers-B6070OEj.js → pi-embedded-helpers-DMA3limQ.js} +5 -5
- package/dist/{pi-embedded-helpers-C_U_c_EU.js → pi-embedded-helpers-FIgrwMdk.js} +1 -1
- package/dist/{pi-tools.policy-yLrAeeZu.js → pi-tools.policy-2e2wN_1V.js} +1 -1
- package/dist/{pi-tools.policy-DSLVZzX5.js → pi-tools.policy-qhaJaIFe.js} +1 -1
- package/dist/{plugin-registry-CtLhKV8N.js → plugin-registry-BMho0b08.js} +1 -1
- package/dist/{plugin-registry-BrN1y1ig.js → plugin-registry-V8ccvA2d.js} +1 -1
- package/dist/plugin-sdk/{accounts-fnLsjAOi.js → accounts-Ciwy7Yxd.js} +3 -3
- package/dist/plugin-sdk/{accounts-BcQo4OUu.js → accounts-DUBJHEgi.js} +1 -1
- package/dist/plugin-sdk/{accounts-DEsAwvaZ.js → accounts-wSu5JyDM.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CeaKSm29.js → active-listener-Bnau4oiu.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DnU66cJq.js → agent-scope-j9eoKDzr.js} +2 -2
- package/dist/plugin-sdk/agents/compaction.d.ts +2 -0
- package/dist/plugin-sdk/{api-key-rotation-DRhVpAS4.js → api-key-rotation-BKOzXMVg.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-zFFuY6Bd.js → audio-preflight-4vffLZR4.js} +24 -24
- package/dist/plugin-sdk/{bindings-HAeLX6mi.js → bindings-BxwR115d.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DfA1sgI9.js → channel-web-BP-qKsfm.js} +22 -22
- package/dist/plugin-sdk/{chrome-NvVwZ3Xn.js → chrome-CAPUVzg9.js} +3 -3
- package/dist/plugin-sdk/{chunk-CQk9vawA.js → chunk-DyzO7IVo.js} +1 -1
- package/dist/plugin-sdk/{command-format-DHXa0Clc.js → command-format-DcBXOX9Z.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-C0vBsgUy.js → commands-registry-C-WjNyFR.js} +4 -4
- package/dist/plugin-sdk/{config-C1a-yGCa.js → config-DxWaFEai.js} +9 -9
- package/dist/plugin-sdk/{deliver-D4QMj1KQ.js → deliver-j3DLAHmV.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
- package/dist/plugin-sdk/{image-Bu6pmW6i.js → image-BhV_XGSx.js} +4 -4
- package/dist/plugin-sdk/{image-ops-6S8Fa1d6.js → image-ops-Bjog8bLM.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-yosTlCQ0.js → ir-98uc6iQ2.js} +4 -4
- package/dist/plugin-sdk/{local-roots-CW6TWE2a.js → local-roots-9jdLho_V.js} +3 -3
- package/dist/plugin-sdk/{login-CkOX36_Y.js → login-DTf65Ckq.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DyxTgmGK.js → login-qr-CRlrA1Km.js} +9 -9
- package/dist/plugin-sdk/{manager-CtapJqej.js → manager-B44bHk5P.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-OYHjLFmr.js → markdown-tables-DV9FqwR1.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
- package/dist/plugin-sdk/{model-selection-TMsqRl-p.js → model-selection-BALQkWtM.js} +4 -4
- package/dist/plugin-sdk/{outbound-Cs6LZhj-.js → outbound-CjucU9tz.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-C1DtqQQb.js → outbound-attachment-BGKevRhJ.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-Dpj7O31p.js → pi-auth-json-CYvT0sDr.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-DBCtPcLq.js → pi-embedded-helpers-DQd-G9Yf.js} +17 -17
- package/dist/plugin-sdk/{plugins-BizZYn_y.js → plugins-DwNa_Bjz.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CtYVo9Ju.js → pw-ai-mUE_oZph.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-qSSWvVwi.js → qmd-manager-CxvLwD3u.js} +4 -4
- package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
- package/dist/plugin-sdk/{replies-YDjHVGij.js → replies-BLJ6SuWd.js} +3 -3
- package/dist/plugin-sdk/{reply-Dl9JHnGW.js → reply-CEPjyDUz.js} +86 -81
- package/dist/plugin-sdk/{reply-prefix-DNmkrWtV.js → reply-prefix-Ohtg483v.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DCb1ht31.js → resolve-outbound-target-vib4nnNx.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BDLDhEh_.js → resolve-route-DM-CdB9Z.js} +3 -3
- package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
- package/dist/plugin-sdk/{runner-DvYaPG7_.js → runner-CsA0T0xW.js} +9 -9
- package/dist/plugin-sdk/{send-DZQYUVIY.js → send-BzXVnK8V.js} +10 -10
- package/dist/plugin-sdk/{send-3DmbiJfM.js → send-C-9MUMZ2.js} +6 -6
- package/dist/plugin-sdk/{send-DU1Pnsmd.js → send-CAhPO5Zx.js} +7 -7
- package/dist/plugin-sdk/{send-BsKrW0Xh.js → send-D4OqVuu3.js} +6 -6
- package/dist/plugin-sdk/{send-CNMXFSjB.js → send-DQL4fKTV.js} +10 -10
- package/dist/plugin-sdk/{session-D38ojZ3_.js → session-B-KGD6AG.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-D7degVS7.js → skill-commands-BKx7u1Af.js} +5 -5
- package/dist/plugin-sdk/{skills-DBG2n4rQ.js → skills-DeKBQV6I.js} +8 -8
- package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
- package/dist/plugin-sdk/{store-CMGBlFGX.js → store-gutZwMLb.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
- package/dist/plugin-sdk/{tables-DzujD35V.js → tables-DhuVe5ji.js} +1 -1
- package/dist/plugin-sdk/{target-errors-KOPdGMxQ.js → target-errors-2VrFN2Zl.js} +2 -2
- package/dist/plugin-sdk/{thinking-BiNjzudU.js → thinking-DK3F1Tth.js} +5 -5
- package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BlYojiWx.js → tool-images-Bu_rB65-.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
- package/dist/plugin-sdk/web-D4y93xJs.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bffbt65T.js → whatsapp-actions-DfsMoZFo.js} +21 -21
- package/dist/{plugins-cli-CP_m4f99.js → plugins-cli-lhrGoBR6.js} +10 -10
- package/dist/{plugins-cli-ByB9fyeR.js → plugins-cli-wgfI0UQj.js} +10 -10
- package/dist/{program-context-DFA11MB9.js → program-context-CYp1q7xa.js} +23 -23
- package/dist/{program-B51CfijA.js → program-qNT3rmIP.js} +15 -15
- package/dist/{prompt-select-styled-kNFZiNLD.js → prompt-select-styled-BpgjFqTI.js} +6 -6
- package/dist/{prompt-select-styled-y8kycqep.js → prompt-select-styled-p5JadbTq.js} +6 -6
- package/dist/{provider-auth-helpers-AORB3hk9.js → provider-auth-helpers-BsIbiBsc.js} +1 -1
- package/dist/{provider-auth-helpers-TZ3D-fXq.js → provider-auth-helpers-DxcFCj8l.js} +1 -1
- package/dist/{push-apns-CSSSwhDY.js → push-apns-CMufCHlT.js} +1 -1
- package/dist/{push-apns-BTcu7pip.js → push-apns-DQDCcwGD.js} +1 -1
- package/dist/{pw-ai-BW_4y-Af.js → pw-ai-MQ_9Ke4J.js} +1 -1
- package/dist/{register.agent-C4G2zuxZ.js → register.agent-CBvpDk67.js} +13 -13
- package/dist/{register.agent-xMmK5W-R.js → register.agent-Cjpe5f-4.js} +14 -14
- package/dist/{register.configure-aXmgTNuB.js → register.configure-BjV-wg8r.js} +17 -17
- package/dist/{register.configure-CeFYJnjt.js → register.configure-BxI9OSem.js} +17 -17
- package/dist/{register.maintenance-BD4w3mhl.js → register.maintenance-BCkPVvOs.js} +17 -17
- package/dist/{register.maintenance-h74is0GZ.js → register.maintenance-CoPFUBJ-.js} +16 -16
- package/dist/{register.message-42he49is.js → register.message-BUScfcdy.js} +10 -10
- package/dist/{register.message-Cx6UTHOb.js → register.message-CH6_vxmF.js} +10 -10
- package/dist/{register.onboard-CgQM-nZ7.js → register.onboard-BkllczKE.js} +12 -12
- package/dist/{register.onboard-CnByKpp_.js → register.onboard-Is41-WCP.js} +12 -12
- package/dist/{register.setup-B4qai0DZ.js → register.setup-BY9ptdcQ.js} +12 -12
- package/dist/{register.setup-CkW4jPu_.js → register.setup-L894MNBL.js} +12 -12
- package/dist/{register.status-health-sessions-DHHGaJsX.js → register.status-health-sessions-CwaHztvD.js} +13 -13
- package/dist/{register.status-health-sessions-DNqvYowR.js → register.status-health-sessions-ge_NArau.js} +13 -13
- package/dist/{register.subclis-CSqyRt2t.js → register.subclis-B1ec--fE.js} +15 -15
- package/dist/{reply-V8UXM1XU.js → reply-CTXyfK4C.js} +24 -19
- package/dist/{run-main-B3sc7X8M.js → run-main-D22E5VAa.js} +22 -22
- package/dist/{runner-CbkB3vpb.js → runner-7CvZzaDq.js} +1 -1
- package/dist/{runner-D4U7RPrD.js → runner-C847b4l8.js} +1 -1
- package/dist/{runner-DzmbTP-U.js → runner-CVUxRjqk.js} +1 -1
- package/dist/{runner-DkWpm1Ly.js → runner-DwPwvW7O.js} +1 -1
- package/dist/{sandbox-BMaHJcKh.js → sandbox-CnjxZiX6.js} +1 -1
- package/dist/{sandbox-BouZCtAZ.js → sandbox-Dx7rhTNq.js} +1 -1
- package/dist/{sandbox-cli-BOIxnYTT.js → sandbox-cli-BFaKObCn.js} +2 -2
- package/dist/{sandbox-cli-CNuDSwRd.js → sandbox-cli-BPn1XzP4.js} +2 -2
- package/dist/{security-cli-yUbF8tfT.js → security-cli-BLxQVHSr.js} +4 -4
- package/dist/{security-cli-BdxPszWY.js → security-cli-BWl2xTKB.js} +4 -4
- package/dist/{server-node-events-D5Fen-q2.js → server-node-events-CsVXbnH8.js} +10 -10
- package/dist/{server-node-events-Dm6MSKk0.js → server-node-events-Ds-geRQN.js} +10 -10
- package/dist/{session-dirs-CRnGB63U.js → session-dirs-DLl5kMOW.js} +1 -1
- package/dist/{session-dirs-BmVdF2KM.js → session-dirs-pMZ0GUme.js} +1 -1
- package/dist/{skill-commands-WUe5qD2m.js → skill-commands-BaMzGjOE.js} +1 -1
- package/dist/{skill-commands-Cpmn3Org.js → skill-commands-Bt5B72pd.js} +1 -1
- package/dist/{skill-commands-CZAnHEpp.js → skill-commands-eR3egMMt.js} +1 -1
- package/dist/{skill-commands-BdHYzdEB.js → skill-commands-j1K-cIeH.js} +1 -1
- package/dist/{skills-0xyvB-8h.js → skills-C3qtO85j.js} +1 -1
- package/dist/{skills-BiH90q2q.js → skills-D873e5Tc.js} +1 -1
- package/dist/{skills-DZ5N398o.js → skills-DpbAF0wq.js} +1 -1
- package/dist/{skills-BZ3AnzBD.js → skills-L6sb1hQe.js} +1 -1
- package/dist/{skills-cli-BfP1am_D.js → skills-cli-DAFKeROB.js} +4 -4
- package/dist/{skills-cli-e6dKuMzN.js → skills-cli-GRGIeeSV.js} +4 -4
- package/dist/{skills-install-BOt50Tao.js → skills-install-BQNBjQvM.js} +1 -1
- package/dist/{skills-install-jtm7_1nn.js → skills-install-Dcs7EklJ.js} +1 -1
- package/dist/{skills-status-CMdWT0WL.js → skills-status-C7F1IVPW.js} +1 -1
- package/dist/{skills-status-CwscTRzQ.js → skills-status-CcVQgk7_.js} +1 -1
- package/dist/{status-2w8d47j-.js → status-8gGID0gX.js} +5 -5
- package/dist/{status-DQEnKbht.js → status-Dt0VMQqC.js} +5 -5
- package/dist/{status-BjjDHl4v.js → status-S7xe2t8Z.js} +1 -1
- package/dist/{status-Bi_g-8aS.js → status-nC_ZJtIq.js} +1 -1
- package/dist/{subagent-registry-DGNGenUN.js → subagent-registry-UPLweIBk.js} +24 -19
- package/dist/{tui-BPSckkGa.js → tui-0T4T9APo.js} +1 -1
- package/dist/{tui-Dn3NzP7B.js → tui-DrqUwYM0.js} +1 -1
- package/dist/{tui-cli-DYhd0RT6.js → tui-cli-BeefgxQw.js} +4 -4
- package/dist/{tui-cli-Dscc8usx.js → tui-cli-a6p89FUg.js} +4 -4
- package/dist/{update-cli-DHAT02hj.js → update-cli-DC0ncFXD.js} +17 -17
- package/dist/{update-cli-CLaJrUF4.js → update-cli-XNlYaLwU.js} +16 -16
- package/dist/{web-H55ayBNa.js → web-BwA6g_BZ.js} +9 -9
- package/dist/{web-Ciz1i7yI.js → web-CPVm8WTc.js} +10 -10
- package/dist/{web-BpYdg2HU.js → web-ChhsHjUp.js} +8 -8
- package/dist/{web-aUEiU7C4.js → web-DDJ4-k3Q.js} +7 -7
- package/dist/{webhooks-cli-Do7FxZZn.js → webhooks-cli-BaFlLT8b.js} +1 -1
- package/dist/{webhooks-cli-XKB_0xb7.js → webhooks-cli-LMRP1VXt.js} +1 -1
- package/package.json +5 -5
- package/dist/plugin-sdk/web-BFEz8bk-.js +0 -65
|
@@ -14,7 +14,7 @@ import { a as logoutWeb, i as logWebSelfId, l as readWebSelfId, p as webAuthExis
|
|
|
14
14
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
15
15
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-DIoqNZGo.js";
|
|
16
16
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-BJZNl-To.js";
|
|
17
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
17
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-Yl1F_MO9.js";
|
|
18
18
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-DzmNBZt3.js";
|
|
19
19
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-sr0G5UOe.js";
|
|
@@ -22,11 +22,11 @@ import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normali
|
|
|
22
22
|
import { d as detectMime, f as extensionForMime, g as isGifMedia, h as isAudioFileName, i as getImageMetadata, m as imageMimeFromFormat, s as resizeToJpeg, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./image-ops-BJidZpId.js";
|
|
23
23
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DNOtJsL1.js";
|
|
25
|
-
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
25
|
+
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-Bybzwgll.js";
|
|
26
26
|
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-Bj1BETyH.js";
|
|
27
27
|
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-sze5OW-s.js";
|
|
28
28
|
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-EGHj-WC_.js";
|
|
29
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
29
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-L6sb1hQe.js";
|
|
30
30
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-CPfngF0S.js";
|
|
31
31
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
|
|
32
32
|
import { n as getMediaDir, r as saveMediaBuffer } from "./store-BNNZ_GuS.js";
|
|
@@ -36,7 +36,7 @@ import { t as resolveIMessageAccount } from "./accounts-DAZL5b5o.js";
|
|
|
36
36
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-5iQF9bSz.js";
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
38
38
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-o5KE8ifY.js";
|
|
39
|
-
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
39
|
+
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-BwcjSXSW.js";
|
|
40
40
|
import { n as resolveMemorySearchConfig } from "./manager-isQiMuR_.js";
|
|
41
41
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-CmTvWxxq.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-CFbmOHr4.js";
|
|
@@ -47,9 +47,9 @@ import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BheT
|
|
|
47
47
|
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-DRK3CmRg.js";
|
|
48
48
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-D0XFjNjt.js";
|
|
49
49
|
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-Cc65BLE0.js";
|
|
50
|
-
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
50
|
+
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-BaMzGjOE.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
52
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-CVUxRjqk.js";
|
|
53
53
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BMa0enEg.js";
|
|
54
54
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-DtXYsHEc.js";
|
|
55
55
|
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-7fb2OxTV.js";
|
|
@@ -7196,7 +7196,7 @@ async function routeReply(params) {
|
|
|
7196
7196
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7197
7197
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7198
7198
|
try {
|
|
7199
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7199
|
+
const { deliverOutboundPayloads } = await import("./deliver-Yl1F_MO9.js").then((n) => n.n);
|
|
7200
7200
|
return {
|
|
7201
7201
|
ok: true,
|
|
7202
7202
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -41569,7 +41569,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
41569
41569
|
return;
|
|
41570
41570
|
}
|
|
41571
41571
|
try {
|
|
41572
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
41572
|
+
const { deliverOutboundPayloads } = await import("./deliver-Yl1F_MO9.js").then((n) => n.n);
|
|
41573
41573
|
await deliverOutboundPayloads({
|
|
41574
41574
|
cfg: params.cfg,
|
|
41575
41575
|
channel,
|
|
@@ -45016,7 +45016,7 @@ async function describeStickerImage(params) {
|
|
|
45016
45016
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45017
45017
|
try {
|
|
45018
45018
|
const buffer = await fs$1.readFile(imagePath);
|
|
45019
|
-
const { describeImageWithModel } = await import("./image-
|
|
45019
|
+
const { describeImageWithModel } = await import("./image-BwcjSXSW.js").then((n) => n.n);
|
|
45020
45020
|
return (await describeImageWithModel({
|
|
45021
45021
|
buffer,
|
|
45022
45022
|
fileName: "sticker.webp",
|
|
@@ -47477,7 +47477,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47477
47477
|
let preflightTranscript;
|
|
47478
47478
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47479
47479
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47480
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47480
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DqxLWNAl.js");
|
|
47481
47481
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47482
47482
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47483
47483
|
ctx: {
|
|
@@ -51483,7 +51483,7 @@ function isVoiceChannelType(type) {
|
|
|
51483
51483
|
function createDefaultDeps() {
|
|
51484
51484
|
return {
|
|
51485
51485
|
sendMessageWhatsApp: async (...args) => {
|
|
51486
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
51486
|
+
const { sendMessageWhatsApp } = await import("./web-DDJ4-k3Q.js");
|
|
51487
51487
|
return await sendMessageWhatsApp(...args);
|
|
51488
51488
|
},
|
|
51489
51489
|
sendMessageTelegram: async (...args) => {
|
|
@@ -62451,7 +62451,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
62451
62451
|
let nativeCommands = [];
|
|
62452
62452
|
if (nativeEnabled) {
|
|
62453
62453
|
reg = await getCommandsRegistry();
|
|
62454
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
62454
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BaMzGjOE.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
62455
62455
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
62456
62456
|
skillCommands,
|
|
62457
62457
|
provider: "slack"
|
|
@@ -64669,7 +64669,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
64669
64669
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
64670
64670
|
let preflightTranscript;
|
|
64671
64671
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
64672
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
64672
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DqxLWNAl.js");
|
|
64673
64673
|
preflightTranscript = await transcribeFirstAudio({
|
|
64674
64674
|
ctx: {
|
|
64675
64675
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -66826,7 +66826,7 @@ function loadWebLoginQr() {
|
|
|
66826
66826
|
return webLoginQrPromise;
|
|
66827
66827
|
}
|
|
66828
66828
|
function loadWebChannel() {
|
|
66829
|
-
webChannelPromise ??= import("./web-
|
|
66829
|
+
webChannelPromise ??= import("./web-DDJ4-k3Q.js");
|
|
66830
66830
|
return webChannelPromise;
|
|
66831
66831
|
}
|
|
66832
66832
|
function loadWhatsAppActions() {
|
|
@@ -70474,7 +70474,7 @@ async function summarizeChunks(params) {
|
|
|
70474
70474
|
if (params.messages.length === 0) return params.previousSummary ?? DEFAULT_SUMMARY_FALLBACK;
|
|
70475
70475
|
const chunks = chunkMessagesByMaxTokens(stripToolResultDetails(params.messages), params.maxChunkTokens);
|
|
70476
70476
|
let summary = params.previousSummary;
|
|
70477
|
-
for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.signal, params.customInstructions, summary), {
|
|
70477
|
+
for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.headers, params.signal, params.customInstructions, summary), {
|
|
70478
70478
|
attempts: 3,
|
|
70479
70479
|
minDelayMs: 500,
|
|
70480
70480
|
maxDelayMs: 5e3,
|
|
@@ -70686,8 +70686,8 @@ function compactionSafeguardExtension(api) {
|
|
|
70686
70686
|
modifiedFiles
|
|
70687
70687
|
}
|
|
70688
70688
|
} };
|
|
70689
|
-
const
|
|
70690
|
-
if (!apiKey) return { compaction: {
|
|
70689
|
+
const requestAuth = await ctx.modelRegistry.getApiKeyAndHeaders(model);
|
|
70690
|
+
if (!requestAuth.ok || !requestAuth.apiKey && !requestAuth.headers) return { compaction: {
|
|
70691
70691
|
summary: fallbackSummary,
|
|
70692
70692
|
firstKeptEntryId: preparation.firstKeptEntryId,
|
|
70693
70693
|
tokensBefore: preparation.tokensBefore,
|
|
@@ -70696,6 +70696,8 @@ function compactionSafeguardExtension(api) {
|
|
|
70696
70696
|
modifiedFiles
|
|
70697
70697
|
}
|
|
70698
70698
|
} };
|
|
70699
|
+
const apiKey = requestAuth.apiKey ?? "";
|
|
70700
|
+
const headers = requestAuth.headers;
|
|
70699
70701
|
try {
|
|
70700
70702
|
const runtime = getCompactionSafeguardRuntime(ctx.sessionManager);
|
|
70701
70703
|
const modelContextWindow = resolveContextWindowTokens$1(model);
|
|
@@ -70726,6 +70728,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70726
70728
|
messages: pruned.droppedMessagesList,
|
|
70727
70729
|
model,
|
|
70728
70730
|
apiKey,
|
|
70731
|
+
headers,
|
|
70729
70732
|
signal,
|
|
70730
70733
|
reserveTokens: Math.max(1, Math.floor(preparation.settings.reserveTokens)),
|
|
70731
70734
|
maxChunkTokens: droppedMaxChunkTokens,
|
|
@@ -70747,6 +70750,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70747
70750
|
messages: messagesToSummarize,
|
|
70748
70751
|
model,
|
|
70749
70752
|
apiKey,
|
|
70753
|
+
headers,
|
|
70750
70754
|
signal,
|
|
70751
70755
|
reserveTokens,
|
|
70752
70756
|
maxChunkTokens,
|
|
@@ -70759,6 +70763,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70759
70763
|
messages: turnPrefixMessages,
|
|
70760
70764
|
model,
|
|
70761
70765
|
apiKey,
|
|
70766
|
+
headers,
|
|
70762
70767
|
signal,
|
|
70763
70768
|
reserveTokens,
|
|
70764
70769
|
maxChunkTokens,
|
|
@@ -13,7 +13,7 @@ import { t as parseBooleanValue$1 } from "./boolean-B8-BqKGQ.js";
|
|
|
13
13
|
import { n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BOHIfoCX.js";
|
|
14
14
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-BqtVfvzY.js";
|
|
15
15
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-CATNwBL8.js";
|
|
16
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
16
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-CfxEkk-n.js";
|
|
17
17
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-DriDPU6M.js";
|
|
18
18
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-CQT5u65w.js";
|
|
@@ -23,11 +23,11 @@ import { A as normalizeProviderId, C as buildAllowedModelSet, D as isCliProvider
|
|
|
23
23
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-CHYSjmbr.js";
|
|
26
|
-
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
26
|
+
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-DMA3limQ.js";
|
|
27
27
|
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-DN88A7od.js";
|
|
28
28
|
import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, i as safeStatSync, n as discoverOpenClawPlugins, o as normalizePluginsConfig, r as isPathInside, s as resolveEnableState, t as loadPluginManifestRegistry, u as isPathInsideWithRealpath } from "./manifest-registry-Dhk4A5vb.js";
|
|
29
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
30
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
29
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CnYcE5rb.js";
|
|
30
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-D873e5Tc.js";
|
|
31
31
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-BoQgnc8X.js";
|
|
32
32
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
|
|
33
33
|
import { n as getMediaDir, r as saveMediaBuffer } from "./store-kNxJOrmI.js";
|
|
@@ -37,7 +37,7 @@ import { t as resolveIMessageAccount } from "./accounts-DFrH9IVU.js";
|
|
|
37
37
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BEAbheM8.js";
|
|
38
38
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
|
|
39
39
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CrfNWFa1.js";
|
|
40
|
-
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
40
|
+
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-D-Su_Vlp.js";
|
|
41
41
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-D1COqWEk.js";
|
|
42
42
|
import { n as resolveMemorySearchConfig } from "./manager-0vWMF5hH.js";
|
|
43
43
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-C3XxSzBN.js";
|
|
@@ -49,9 +49,9 @@ import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-DL3f
|
|
|
49
49
|
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-_DAtnv-O.js";
|
|
50
50
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-t9dEMDcL.js";
|
|
51
51
|
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-GO5Ntndz.js";
|
|
52
|
-
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
52
|
+
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-eR3egMMt.js";
|
|
53
53
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BlHX0H3E.js";
|
|
54
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
54
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-C847b4l8.js";
|
|
55
55
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
56
56
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-Bup9wS1y.js";
|
|
57
57
|
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-BgsTqLau.js";
|
|
@@ -81,7 +81,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
81
81
|
import AjvPkg from "ajv";
|
|
82
82
|
import { createServer } from "node:http";
|
|
83
83
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
84
|
-
import WebSocket
|
|
84
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
85
85
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
86
86
|
import { createJiti } from "jiti";
|
|
87
87
|
import { Type } from "@sinclair/typebox";
|
|
@@ -5715,7 +5715,7 @@ var GatewayClient = class {
|
|
|
5715
5715
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5716
5716
|
});
|
|
5717
5717
|
}
|
|
5718
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
5718
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
5719
5719
|
this.ws.on("open", () => {
|
|
5720
5720
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5721
5721
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5934,7 +5934,7 @@ var GatewayClient = class {
|
|
|
5934
5934
|
return null;
|
|
5935
5935
|
}
|
|
5936
5936
|
async request(method, params, opts) {
|
|
5937
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5937
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
5938
5938
|
const id = randomUUID();
|
|
5939
5939
|
const frame = {
|
|
5940
5940
|
type: "req",
|
|
@@ -7198,7 +7198,7 @@ async function routeReply(params) {
|
|
|
7198
7198
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7199
7199
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7200
7200
|
try {
|
|
7201
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7201
|
+
const { deliverOutboundPayloads } = await import("./deliver-CfxEkk-n.js").then((n) => n.n);
|
|
7202
7202
|
return {
|
|
7203
7203
|
ok: true,
|
|
7204
7204
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -41571,7 +41571,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
41571
41571
|
return;
|
|
41572
41572
|
}
|
|
41573
41573
|
try {
|
|
41574
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
41574
|
+
const { deliverOutboundPayloads } = await import("./deliver-CfxEkk-n.js").then((n) => n.n);
|
|
41575
41575
|
await deliverOutboundPayloads({
|
|
41576
41576
|
cfg: params.cfg,
|
|
41577
41577
|
channel,
|
|
@@ -45018,7 +45018,7 @@ async function describeStickerImage(params) {
|
|
|
45018
45018
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45019
45019
|
try {
|
|
45020
45020
|
const buffer = await fs.readFile(imagePath);
|
|
45021
|
-
const { describeImageWithModel } = await import("./image-
|
|
45021
|
+
const { describeImageWithModel } = await import("./image-D-Su_Vlp.js").then((n) => n.n);
|
|
45022
45022
|
return (await describeImageWithModel({
|
|
45023
45023
|
buffer,
|
|
45024
45024
|
fileName: "sticker.webp",
|
|
@@ -47479,7 +47479,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47479
47479
|
let preflightTranscript;
|
|
47480
47480
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47481
47481
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47482
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47482
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BElMqBWP.js");
|
|
47483
47483
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47484
47484
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47485
47485
|
ctx: {
|
|
@@ -51485,7 +51485,7 @@ function isVoiceChannelType(type) {
|
|
|
51485
51485
|
function createDefaultDeps() {
|
|
51486
51486
|
return {
|
|
51487
51487
|
sendMessageWhatsApp: async (...args) => {
|
|
51488
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
51488
|
+
const { sendMessageWhatsApp } = await import("./web-ChhsHjUp.js");
|
|
51489
51489
|
return await sendMessageWhatsApp(...args);
|
|
51490
51490
|
},
|
|
51491
51491
|
sendMessageTelegram: async (...args) => {
|
|
@@ -54398,7 +54398,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
54398
54398
|
super(options);
|
|
54399
54399
|
}
|
|
54400
54400
|
createWebSocket(url) {
|
|
54401
|
-
return new WebSocket
|
|
54401
|
+
return new WebSocket(url, { agent });
|
|
54402
54402
|
}
|
|
54403
54403
|
}
|
|
54404
54404
|
return new ProxyGatewayPlugin();
|
|
@@ -62453,7 +62453,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
62453
62453
|
let nativeCommands = [];
|
|
62454
62454
|
if (nativeEnabled) {
|
|
62455
62455
|
reg = await getCommandsRegistry();
|
|
62456
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
62456
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-eR3egMMt.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
62457
62457
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
62458
62458
|
skillCommands,
|
|
62459
62459
|
provider: "slack"
|
|
@@ -64671,7 +64671,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
64671
64671
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
64672
64672
|
let preflightTranscript;
|
|
64673
64673
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
64674
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
64674
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BElMqBWP.js");
|
|
64675
64675
|
preflightTranscript = await transcribeFirstAudio({
|
|
64676
64676
|
ctx: {
|
|
64677
64677
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -66828,7 +66828,7 @@ function loadWebLoginQr() {
|
|
|
66828
66828
|
return webLoginQrPromise;
|
|
66829
66829
|
}
|
|
66830
66830
|
function loadWebChannel() {
|
|
66831
|
-
webChannelPromise ??= import("./web-
|
|
66831
|
+
webChannelPromise ??= import("./web-ChhsHjUp.js");
|
|
66832
66832
|
return webChannelPromise;
|
|
66833
66833
|
}
|
|
66834
66834
|
function loadWhatsAppActions() {
|
|
@@ -70476,7 +70476,7 @@ async function summarizeChunks(params) {
|
|
|
70476
70476
|
if (params.messages.length === 0) return params.previousSummary ?? DEFAULT_SUMMARY_FALLBACK;
|
|
70477
70477
|
const chunks = chunkMessagesByMaxTokens(stripToolResultDetails(params.messages), params.maxChunkTokens);
|
|
70478
70478
|
let summary = params.previousSummary;
|
|
70479
|
-
for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.signal, params.customInstructions, summary), {
|
|
70479
|
+
for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.headers, params.signal, params.customInstructions, summary), {
|
|
70480
70480
|
attempts: 3,
|
|
70481
70481
|
minDelayMs: 500,
|
|
70482
70482
|
maxDelayMs: 5e3,
|
|
@@ -70688,8 +70688,8 @@ function compactionSafeguardExtension(api) {
|
|
|
70688
70688
|
modifiedFiles
|
|
70689
70689
|
}
|
|
70690
70690
|
} };
|
|
70691
|
-
const
|
|
70692
|
-
if (!apiKey) return { compaction: {
|
|
70691
|
+
const requestAuth = await ctx.modelRegistry.getApiKeyAndHeaders(model);
|
|
70692
|
+
if (!requestAuth.ok || !requestAuth.apiKey && !requestAuth.headers) return { compaction: {
|
|
70693
70693
|
summary: fallbackSummary,
|
|
70694
70694
|
firstKeptEntryId: preparation.firstKeptEntryId,
|
|
70695
70695
|
tokensBefore: preparation.tokensBefore,
|
|
@@ -70698,6 +70698,8 @@ function compactionSafeguardExtension(api) {
|
|
|
70698
70698
|
modifiedFiles
|
|
70699
70699
|
}
|
|
70700
70700
|
} };
|
|
70701
|
+
const apiKey = requestAuth.apiKey ?? "";
|
|
70702
|
+
const headers = requestAuth.headers;
|
|
70701
70703
|
try {
|
|
70702
70704
|
const runtime = getCompactionSafeguardRuntime(ctx.sessionManager);
|
|
70703
70705
|
const modelContextWindow = resolveContextWindowTokens$1(model);
|
|
@@ -70728,6 +70730,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70728
70730
|
messages: pruned.droppedMessagesList,
|
|
70729
70731
|
model,
|
|
70730
70732
|
apiKey,
|
|
70733
|
+
headers,
|
|
70731
70734
|
signal,
|
|
70732
70735
|
reserveTokens: Math.max(1, Math.floor(preparation.settings.reserveTokens)),
|
|
70733
70736
|
maxChunkTokens: droppedMaxChunkTokens,
|
|
@@ -70749,6 +70752,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70749
70752
|
messages: messagesToSummarize,
|
|
70750
70753
|
model,
|
|
70751
70754
|
apiKey,
|
|
70755
|
+
headers,
|
|
70752
70756
|
signal,
|
|
70753
70757
|
reserveTokens,
|
|
70754
70758
|
maxChunkTokens,
|
|
@@ -70761,6 +70765,7 @@ function compactionSafeguardExtension(api) {
|
|
|
70761
70765
|
messages: turnPrefixMessages,
|
|
70762
70766
|
model,
|
|
70763
70767
|
apiKey,
|
|
70768
|
+
headers,
|
|
70764
70769
|
signal,
|
|
70765
70770
|
reserveTokens,
|
|
70766
70771
|
maxChunkTokens,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as truncateUtf16Safe } from "./utils-BlC2Fskb.js";
|
|
2
2
|
import { s as normalizeThinkLevel } from "./thinking-EAliFiVK.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Dx7rhTNq.js";
|
|
4
4
|
import { t as sanitizeContentBlocksImages } from "./tool-images-CtpCHmE5.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -11,7 +11,7 @@ import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n a
|
|
|
11
11
|
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-DNOtJsL1.js";
|
|
12
12
|
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-Bj1BETyH.js";
|
|
13
13
|
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_OPENCLAW_BROWSER_ENABLED, N as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-EGHj-WC_.js";
|
|
14
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
14
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-L6sb1hQe.js";
|
|
15
15
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CPfngF0S.js";
|
|
16
16
|
import { t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
|
|
17
17
|
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-BNNZ_GuS.js";
|
|
@@ -12,8 +12,8 @@ import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n a
|
|
|
12
12
|
import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-CpS0Gv-Z.js";
|
|
13
13
|
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-CHYSjmbr.js";
|
|
14
14
|
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DN88A7od.js";
|
|
15
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_OPENCLAW_BROWSER_ENABLED, N as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
16
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
15
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_OPENCLAW_BROWSER_ENABLED, N as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CnYcE5rb.js";
|
|
16
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-D873e5Tc.js";
|
|
17
17
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BoQgnc8X.js";
|
|
18
18
|
import { t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
|
|
19
19
|
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-kNxJOrmI.js";
|
|
@@ -933,7 +933,7 @@ function isModuleNotFoundError(err) {
|
|
|
933
933
|
}
|
|
934
934
|
async function loadPwAiModule(mode) {
|
|
935
935
|
try {
|
|
936
|
-
return await import("./pw-ai-
|
|
936
|
+
return await import("./pw-ai-MQ_9Ke4J.js");
|
|
937
937
|
} catch (err) {
|
|
938
938
|
if (mode === "soft") return null;
|
|
939
939
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3473,11 +3473,11 @@ function createProfileContext(opts, profile) {
|
|
|
3473
3473
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
3474
3474
|
const profileState = getProfileState();
|
|
3475
3475
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3476
|
-
await (await import("./pw-ai-
|
|
3476
|
+
await (await import("./pw-ai-MQ_9Ke4J.js")).closePlaywrightBrowserConnection();
|
|
3477
3477
|
} catch {}
|
|
3478
3478
|
if (profileState.running) await stopRunningBrowser();
|
|
3479
3479
|
try {
|
|
3480
|
-
await (await import("./pw-ai-
|
|
3480
|
+
await (await import("./pw-ai-MQ_9Ke4J.js")).closePlaywrightBrowserConnection();
|
|
3481
3481
|
} catch {}
|
|
3482
3482
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
3483
3483
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pt as truncateUtf16Safe } from "./entry.js";
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-CnjxZiX6.js";
|
|
3
3
|
import { t as sanitizeContentBlocksImages } from "./tool-images-CW04CAn5.js";
|
|
4
4
|
import { s as normalizeThinkLevel } from "./thinking-8sKPnzpp.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { C as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey }
|
|
|
2
2
|
import { r as resolveAgentConfig } from "./agent-scope-Dl-vG2QO.js";
|
|
3
3
|
import { l as normalizeMessageChannel } from "./message-channel-v74IfRaS.js";
|
|
4
4
|
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-DuSkPZEG.js";
|
|
5
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
5
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-Dx7rhTNq.js";
|
|
6
6
|
import { o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-BGIuBSsT.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -2,7 +2,7 @@ import { C as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey }
|
|
|
2
2
|
import { r as resolveAgentConfig } from "./agent-scope-BhZr1_OI.js";
|
|
3
3
|
import { z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-26MDXfhB.js";
|
|
4
4
|
import { l as normalizeMessageChannel } from "./message-channel-CVHJDItx.js";
|
|
5
|
-
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-
|
|
5
|
+
import { T as matchesAnyGlobPattern, w as compileGlobPatterns, x as normalizeToolName, y as expandToolGroups } from "./sandbox-CnjxZiX6.js";
|
|
6
6
|
import { o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-BSksHMjn.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { gt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { gt as loadOpenClawPlugins } from "./reply-CTXyfK4C.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-Dygi7Azw.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-Dl-vG2QO.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BhZr1_OI.js";
|
|
4
4
|
import { i as loadConfig } from "./config-26MDXfhB.js";
|
|
5
|
-
import { g as loadOpenClawPlugins } from "./subagent-registry-
|
|
5
|
+
import { g as loadOpenClawPlugins } from "./subagent-registry-UPLweIBk.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-C4Rh0kdL.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ciwy7Yxd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ciwy7Yxd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -24,6 +24,7 @@ export declare function summarizeWithFallback(params: {
|
|
|
24
24
|
messages: AgentMessage[];
|
|
25
25
|
model: NonNullable<ExtensionContext["model"]>;
|
|
26
26
|
apiKey: string;
|
|
27
|
+
headers?: Record<string, string>;
|
|
27
28
|
signal: AbortSignal;
|
|
28
29
|
reserveTokens: number;
|
|
29
30
|
maxChunkTokens: number;
|
|
@@ -35,6 +36,7 @@ export declare function summarizeInStages(params: {
|
|
|
35
36
|
messages: AgentMessage[];
|
|
36
37
|
model: NonNullable<ExtensionContext["model"]>;
|
|
37
38
|
apiKey: string;
|
|
39
|
+
headers?: Record<string, string>;
|
|
38
40
|
signal: AbortSignal;
|
|
39
41
|
reserveTokens: number;
|
|
40
42
|
maxChunkTokens: number;
|