@lawpath-tech/openclaw 2026.2.21-10 → 2026.2.21-12
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-XFUpnhyw.js → agents-Acsw6oEr.js} +4 -4
- package/dist/{agents.config-DjELUleJ.js → agents.config-BAILtL0e.js} +1 -1
- package/dist/{agents.config-CTbtf-Et.js → agents.config-DA4Kt9C5.js} +1 -1
- package/dist/{audio-preflight-Bqg8wRF0.js → audio-preflight-BnwMjf3g.js} +3 -3
- package/dist/{audio-preflight-0nE4BIvV.js → audio-preflight-C56sndLt.js} +4 -4
- package/dist/{audio-preflight-DUN77LMG.js → audio-preflight-DTxmK1ti.js} +3 -3
- package/dist/{audio-preflight-DESlWRvS.js → audio-preflight-UmMU18Rf.js} +3 -3
- package/dist/{auth-choice-C-VbNMFC.js → auth-choice-B0ExtimG.js} +1 -1
- package/dist/{auth-choice-Ce5ZhgZB.js → auth-choice-Cc9nPCSG.js} +1 -1
- package/dist/{banner-BO0EC6gi.js → banner-l8hdGVT6.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +5 -5
- package/dist/bundled/session-memory/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Dnl_ON0t.js → channel-options-BOgY_qkz.js} +1 -1
- package/dist/{channel-options-CJ562Awb.js → channel-options-DU0lH77F.js} +1 -1
- package/dist/{channel-web-C6by66Ik.js → channel-web-Bn_o0ClJ.js} +2 -2
- package/dist/{channels-cli-DmemjJTj.js → channels-cli-B8iPHVyY.js} +8 -8
- package/dist/{channels-cli-CX3e33oJ.js → channels-cli-HyoLT0X_.js} +8 -8
- package/dist/{chrome-Cag1SQQf.js → chrome-EGHj-WC_.js} +7 -7
- package/dist/{cli-CZYqgXep.js → cli-BjW27QBR.js} +5 -5
- package/dist/{cli-C-oUtdv5.js → cli-CB8wKUFa.js} +5 -5
- package/dist/{command-registry-DPgcpkAs.js → command-registry-hszLgVfh.js} +9 -9
- package/dist/{completion-cli-BIW77wm1.js → completion-cli-BTOzPrOy.js} +2 -2
- package/dist/{completion-cli-B8nHppfQ.js → completion-cli-jFF5jQZF.js} +1 -1
- package/dist/{config-cli-DLSqMYRk.js → config-cli-CV3y1IAq.js} +1 -1
- package/dist/{config-cli-DF3Frhtb.js → config-cli-Cuv_T0Jj.js} +1 -1
- package/dist/{configure-DIlxSV4l.js → configure-80FWz9jT.js} +3 -3
- package/dist/{configure-ku8C0kaJ.js → configure-BHGABgNw.js} +3 -3
- package/dist/control-ui/assets/{index-Cx1_w3YP.js → index-BfDl8X4O.js} +2 -2
- package/dist/control-ui/assets/index-BfDl8X4O.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{deliver-D3HyJhTX.js → deliver-B1Ddgm7X.js} +11 -6
- package/dist/{deliver-CX6Se-jI.js → deliver-BLkQFTzD.js} +11 -6
- package/dist/{deliver-Ct_AlJg5.js → deliver-J2cVd3TS.js} +11 -6
- package/dist/{deliver-BAjdrEoI.js → deliver-meQdcFaA.js} +11 -6
- package/dist/{doctor-completion-Dqrz2Mxm.js → doctor-completion-BSCz_dGZ.js} +1 -1
- package/dist/{doctor-completion-BpvOQ6nZ.js → doctor-completion-DGHNIbJN.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-eWm9cU71.js → gateway-cli-DYYSJuSK.js} +13 -13
- package/dist/{gateway-cli-DbV5glYW.js → gateway-cli-gLp4lZSu.js} +13 -13
- package/dist/{health-DxhXaHDj.js → health-BfWYn33I.js} +2 -2
- package/dist/{health-TlGblGrz.js → health-DEibfTDK.js} +2 -2
- package/dist/{hooks-cli-DN_-ZC-d.js → hooks-cli-D-nL8J6w.js} +6 -6
- package/dist/{hooks-cli-CNBIyMVL.js → hooks-cli-wQnxbc8T.js} +6 -6
- package/dist/{image-D-DzmVjC.js → image-BZOs5dHY.js} +2 -2
- package/dist/{image-CvBYo9Bu.js → image-C8HOu4vb.js} +2 -2
- package/dist/{image-paXd6zl5.js → image-Cj9tfO74.js} +2 -2
- package/dist/{image-Cgalj9ct.js → image-DuT8yGCI.js} +2 -2
- package/dist/index.js +10 -10
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{models-CSk9HAo_.js → models-DFRcZ415.js} +2 -2
- package/dist/{models-cli-Cw6yV7Hw.js → models-cli-CwEUrjU_.js} +7 -7
- package/dist/{models-cli-DDUpEy7b.js → models-cli-t1rYl_DG.js} +6 -6
- package/dist/{onboard-BHWdJtCd.js → onboard-8PGPC4o-.js} +2 -2
- package/dist/{onboard-B-sVSXzj.js → onboard-XsnXtjOy.js} +2 -2
- package/dist/{onboard-channels-BCAVs_mB.js → onboard-channels-Cb8T_ers.js} +1 -1
- package/dist/{onboard-channels-CWxLkkUp.js → onboard-channels-vQihczqp.js} +1 -1
- package/dist/{onboarding-BRNVJxT8.js → onboarding-C_807D1O.js} +3 -3
- package/dist/{onboarding-BoSfn2h0.js → onboarding-EwJ1WIut.js} +3 -3
- package/dist/{onboarding.finalize-Uy8WceA5.js → onboarding.finalize-Crpg17t7.js} +10 -10
- package/dist/{onboarding.finalize-D1hu4S6g.js → onboarding.finalize-DWFR8IbD.js} +11 -11
- package/dist/{pi-embedded-CZT36FAl.js → pi-embedded-Be34NhAY.js} +29 -12
- package/dist/{pi-embedded-1isHWl0U.js → pi-embedded-BywyyGi2.js} +34 -17
- package/dist/{pi-embedded-helpers-ISSMvBMe.js → pi-embedded-helpers-BVCPWN6Q.js} +40 -8
- package/dist/{pi-embedded-helpers-Cx3WmubG.js → pi-embedded-helpers-C4Annkh_.js} +40 -8
- package/dist/{pi-embedded-helpers-DOmGm3QX.js → pi-embedded-helpers-C_U_c_EU.js} +40 -8
- package/dist/{pi-embedded-helpers-DWuT7Pe9.js → pi-embedded-helpers-Dl_FdUMU.js} +44 -12
- package/dist/{plugin-registry-CGpIcEOM.js → plugin-registry-BrN1y1ig.js} +1 -1
- package/dist/{plugin-registry-qgZzbjWa.js → plugin-registry-CtLhKV8N.js} +1 -1
- package/dist/plugin-sdk/{accounts-DUBJHEgi.js → accounts-BcQo4OUu.js} +1 -1
- package/dist/plugin-sdk/{accounts-wSu5JyDM.js → accounts-DEsAwvaZ.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ciwy7Yxd.js → accounts-fnLsjAOi.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Bnau4oiu.js → active-listener-CeaKSm29.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-j9eoKDzr.js → agent-scope-DnU66cJq.js} +2 -2
- package/dist/plugin-sdk/agents/pi-embedded-helpers/errors.d.ts +1 -0
- package/dist/plugin-sdk/{api-key-rotation-BKOzXMVg.js → api-key-rotation-DRhVpAS4.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BWBtA5BS.js → audio-preflight-zFFuY6Bd.js} +24 -24
- package/dist/plugin-sdk/auto-reply/reply/reply-dispatcher.d.ts +1 -0
- package/dist/plugin-sdk/{bindings-BxwR115d.js → bindings-HAeLX6mi.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CCnr-9bS.js → channel-activity-WgE8Z4Bb.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C6_SUXeh.js → channel-web-DfA1sgI9.js} +22 -22
- package/dist/plugin-sdk/{chrome-CAPUVzg9.js → chrome-NvVwZ3Xn.js} +3 -3
- package/dist/plugin-sdk/{chunk-DyzO7IVo.js → chunk-CQk9vawA.js} +1 -1
- package/dist/plugin-sdk/{command-format-DcBXOX9Z.js → command-format-DHXa0Clc.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-C-WjNyFR.js → commands-registry-C0vBsgUy.js} +4 -4
- package/dist/plugin-sdk/{config-DxWaFEai.js → config-C1a-yGCa.js} +9 -9
- package/dist/plugin-sdk/{deliver-C9FGk-m8.js → deliver-D4QMj1KQ.js} +20 -15
- package/dist/plugin-sdk/{diagnostic-DKyVS3IK.js → diagnostic-Up1aMyxZ.js} +1 -1
- package/dist/plugin-sdk/{image-DiGppfRt.js → image-Bu6pmW6i.js} +5 -5
- package/dist/plugin-sdk/{image-ops-Bjog8bLM.js → image-ops-6S8Fa1d6.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-98uc6iQ2.js → ir-yosTlCQ0.js} +4 -4
- package/dist/plugin-sdk/{local-roots-9jdLho_V.js → local-roots-CW6TWE2a.js} +3 -3
- package/dist/plugin-sdk/{login-DTf65Ckq.js → login-CkOX36_Y.js} +7 -7
- package/dist/plugin-sdk/{login-qr-CRlrA1Km.js → login-qr-DyxTgmGK.js} +9 -9
- package/dist/plugin-sdk/{manager-B44bHk5P.js → manager-CtapJqej.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-sgHvjA6E.js → manifest-registry-DvEm2HHf.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-DV9FqwR1.js → markdown-tables-OYHjLFmr.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DmB4bGFh.js → message-channel-DY9wVB2A.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BALQkWtM.js → model-selection-TMsqRl-p.js} +4 -4
- package/dist/plugin-sdk/{outbound-CjucU9tz.js → outbound-Cs6LZhj-.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BGKevRhJ.js → outbound-attachment-C1DtqQQb.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CYvT0sDr.js → pi-auth-json-Dpj7O31p.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BMLQ8noc.js → pi-embedded-helpers-DBCtPcLq.js} +57 -25
- package/dist/plugin-sdk/{plugins-DwNa_Bjz.js → plugins-BizZYn_y.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-mUE_oZph.js → pw-ai-CtYVo9Ju.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CxvLwD3u.js → qmd-manager-qSSWvVwi.js} +4 -4
- package/dist/plugin-sdk/{registry-O1yza0Vh.js → registry-DL-33c9X.js} +2 -2
- package/dist/plugin-sdk/{replies-BLJ6SuWd.js → replies-YDjHVGij.js} +3 -3
- package/dist/plugin-sdk/{reply-Fe-yY6qo.js → reply-Dl9JHnGW.js} +96 -79
- package/dist/plugin-sdk/{reply-prefix-Ohtg483v.js → reply-prefix-DNmkrWtV.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-vib4nnNx.js → resolve-outbound-target-DCb1ht31.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DM-CdB9Z.js → resolve-route-BDLDhEh_.js} +3 -3
- package/dist/plugin-sdk/{retry-JFNwfUew.js → retry-5P3d0rYw.js} +1 -1
- package/dist/plugin-sdk/{runner-CCzW7WWc.js → runner-DvYaPG7_.js} +9 -9
- package/dist/plugin-sdk/{send-C-9MUMZ2.js → send-3DmbiJfM.js} +6 -6
- package/dist/plugin-sdk/{send-D4OqVuu3.js → send-BsKrW0Xh.js} +6 -6
- package/dist/plugin-sdk/{send-DQL4fKTV.js → send-CNMXFSjB.js} +10 -10
- package/dist/plugin-sdk/{send-CAhPO5Zx.js → send-DU1Pnsmd.js} +7 -7
- package/dist/plugin-sdk/{send-BzXVnK8V.js → send-DZQYUVIY.js} +10 -10
- package/dist/plugin-sdk/{session-B-KGD6AG.js → session-D38ojZ3_.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DzurlBtL.js → skill-commands-D7degVS7.js} +5 -5
- package/dist/plugin-sdk/{skills-aG_v8SgP.js → skills-DBG2n4rQ.js} +7 -7
- package/dist/plugin-sdk/slack/monitor/context.d.ts +1 -0
- package/dist/plugin-sdk/{sqlite-DUu0dwic.js → sqlite-ulpcowfN.js} +1 -1
- package/dist/plugin-sdk/{store-gutZwMLb.js → store-CMGBlFGX.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C4Rh0kdL.js → subsystem-C9WnrKN8.js} +1 -1
- package/dist/plugin-sdk/{tables-DhuVe5ji.js → tables-DzujD35V.js} +1 -1
- package/dist/plugin-sdk/{target-errors-2VrFN2Zl.js → target-errors-KOPdGMxQ.js} +2 -2
- package/dist/plugin-sdk/{thinking-DK3F1Tth.js → thinking-BiNjzudU.js} +5 -5
- package/dist/plugin-sdk/{tokens-K9ITCatc.js → tokens-2475WU2Z.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Bu_rB65-.js → tool-images-BlYojiWx.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BBRtoox8.js → tool-loop-detection-D0ADW0h2.js} +2 -2
- package/dist/plugin-sdk/web-BFEz8bk-.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DfsMoZFo.js → whatsapp-actions-Bffbt65T.js} +21 -21
- package/dist/{plugins-cli-DjCM2809.js → plugins-cli-ByB9fyeR.js} +6 -6
- package/dist/{plugins-cli-CTlSXbxE.js → plugins-cli-CP_m4f99.js} +6 -6
- package/dist/{program-lAdk-rjf.js → program-DlspJVqc.js} +11 -11
- package/dist/{program-context-DvlZb8HS.js → program-context-CpcNVMdA.js} +18 -18
- package/dist/{prompt-select-styled-Ct2adJGY.js → prompt-select-styled-CWRcbfIK.js} +4 -4
- package/dist/{prompt-select-styled-BR9UJTaa.js → prompt-select-styled-DHXAx5uX.js} +4 -4
- package/dist/{provider-auth-helpers-B7pkCdJK.js → provider-auth-helpers-AORB3hk9.js} +1 -1
- package/dist/{provider-auth-helpers-B22yzT-e.js → provider-auth-helpers-TZ3D-fXq.js} +1 -1
- package/dist/{push-apns-CA7elLw_.js → push-apns-BTcu7pip.js} +1 -1
- package/dist/{push-apns-BLrPdufQ.js → push-apns-CSSSwhDY.js} +1 -1
- package/dist/{pw-ai-Bib1qJp-.js → pw-ai-Cs2YQmkQ.js} +1 -1
- package/dist/{register.agent-DWWw3Tcp.js → register.agent-C4G2zuxZ.js} +9 -9
- package/dist/{register.agent-DnXXai-R.js → register.agent-xMmK5W-R.js} +10 -10
- package/dist/{register.configure-wl-tJn4s.js → register.configure-CeFYJnjt.js} +10 -10
- package/dist/{register.configure-DzpjSPql.js → register.configure-aXmgTNuB.js} +10 -10
- package/dist/{register.maintenance-BkvduEtB.js → register.maintenance-B_bQy-mZ.js} +11 -11
- package/dist/{register.maintenance-B7aWrfAO.js → register.maintenance-CWHUzso3.js} +12 -12
- package/dist/{register.message-DooMLu1o.js → register.message-42he49is.js} +6 -6
- package/dist/{register.message-CL812HS5.js → register.message-Cx6UTHOb.js} +6 -6
- package/dist/{register.onboard-DkQtlTNE.js → register.onboard-BmtcBw-6.js} +8 -8
- package/dist/{register.onboard-C6f5DRg1.js → register.onboard-C9pozCFG.js} +8 -8
- package/dist/{register.setup-9RQgdDUL.js → register.setup-C4TWvr5B.js} +8 -8
- package/dist/{register.setup-zBBsTx7h.js → register.setup-C54kkyhM.js} +8 -8
- package/dist/{register.status-health-sessions-hl3bzjXd.js → register.status-health-sessions-DHHGaJsX.js} +7 -7
- package/dist/{register.status-health-sessions-DLETokGZ.js → register.status-health-sessions-DNqvYowR.js} +7 -7
- package/dist/{register.subclis-DJkdsClC.js → register.subclis-m5WJHhwT.js} +10 -10
- package/dist/{reply-B4tyXo72.js → reply-V8UXM1XU.js} +29 -12
- package/dist/{run-main-C1xUseJS.js → run-main-Djlctozd.js} +18 -18
- package/dist/{runner-B9g6ervv.js → runner-BMHyFfIL.js} +1 -1
- package/dist/{runner-Be7-7BcC.js → runner-CbkB3vpb.js} +1 -1
- package/dist/{runner-BIWQkeih.js → runner-DkWpm1Ly.js} +1 -1
- package/dist/{runner-U_c8SvOa.js → runner-DzmbTP-U.js} +1 -1
- package/dist/{server-node-events-CXomRKtF.js → server-node-events-D5Fen-q2.js} +6 -6
- package/dist/{server-node-events-CRVgNQ0_.js → server-node-events-Dm6MSKk0.js} +6 -6
- package/dist/{session-dirs-2TEacrvL.js → session-dirs-BmVdF2KM.js} +1 -1
- package/dist/{session-dirs-C7dOvbkp.js → session-dirs-CRnGB63U.js} +1 -1
- package/dist/{status-BlmQ68Lr.js → status-2w8d47j-.js} +2 -2
- package/dist/{status-BjUudjm_.js → status-Bi_g-8aS.js} +1 -1
- package/dist/{status-Cd-_yawg.js → status-BjjDHl4v.js} +1 -1
- package/dist/{status-CDINUwpc.js → status-DQEnKbht.js} +2 -2
- package/dist/{subagent-registry-CWSe1lKN.js → subagent-registry-DGNGenUN.js} +29 -12
- package/dist/{tui-C8TIc36Z.js → tui-BPSckkGa.js} +1 -1
- package/dist/{tui-dDj0kI9K.js → tui-Dn3NzP7B.js} +1 -1
- package/dist/{tui-cli-B1R2UxjK.js → tui-cli-DYhd0RT6.js} +2 -2
- package/dist/{tui-cli-DXNQuXf_.js → tui-cli-Dscc8usx.js} +2 -2
- package/dist/{update-cli-HS6kiKIK.js → update-cli-BQIIdEwf.js} +11 -11
- package/dist/{update-cli-BUIB_VFr.js → update-cli-C-xMtbk9.js} +12 -12
- package/dist/{web-CO5qanzX.js → web-CIdW3A5E.js} +5 -5
- package/dist/{web-Cz_gOgql.js → web-Ciz1i7yI.js} +6 -6
- package/dist/{web-CmGHJmHB.js → web-H55ayBNa.js} +5 -5
- package/dist/{web-0-iNcZsR.js → web-aUEiU7C4.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/assets/index-Cx1_w3YP.js.map +0 -1
- package/dist/plugin-sdk/web-DbHQRXHi.js +0 -65
|
@@ -13,7 +13,7 @@ import "./client-DrK7aLru.js";
|
|
|
13
13
|
import "./call-HzbpjcFE.js";
|
|
14
14
|
import "./message-channel-CVHJDItx.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-DGNGenUN.js";
|
|
17
17
|
import "./sessions-BVmrZrFA.js";
|
|
18
18
|
import "./tokens-ANnYrShl.js";
|
|
19
19
|
import "./plugins-BxYZzFkm.js";
|
|
@@ -23,13 +23,13 @@ import "./logging-CFvkxgcX.js";
|
|
|
23
23
|
import "./send-mdCBM_lP.js";
|
|
24
24
|
import "./send-ENOozmo1.js";
|
|
25
25
|
import "./with-timeout-BJj1dns_.js";
|
|
26
|
-
import "./deliver-
|
|
26
|
+
import "./deliver-meQdcFaA.js";
|
|
27
27
|
import "./diagnostic-C6WTf4ZE.js";
|
|
28
28
|
import "./diagnostic-session-state-CIjIGxEE.js";
|
|
29
29
|
import "./accounts-1gFWxwAw.js";
|
|
30
30
|
import "./send-Dd6W68eD.js";
|
|
31
31
|
import "./image-ops-CKJNUuNW.js";
|
|
32
|
-
import "./pi-embedded-helpers-
|
|
32
|
+
import "./pi-embedded-helpers-C_U_c_EU.js";
|
|
33
33
|
import "./sandbox-BMaHJcKh.js";
|
|
34
34
|
import "./chrome-DOT5Dxfr.js";
|
|
35
35
|
import "./tailscale-BxzsxqAY.js";
|
|
@@ -65,9 +65,9 @@ import "./ir-DetFY9t5.js";
|
|
|
65
65
|
import "./render-e7fENCYH.js";
|
|
66
66
|
import "./commands-CDrOx1RO.js";
|
|
67
67
|
import "./commands-registry-BcqdkMzV.js";
|
|
68
|
-
import "./image-
|
|
68
|
+
import "./image-C8HOu4vb.js";
|
|
69
69
|
import "./tool-display-DixohEVL.js";
|
|
70
|
-
import { u as installUnhandledRejectionHandler } from "./runner-
|
|
70
|
+
import { u as installUnhandledRejectionHandler } from "./runner-CbkB3vpb.js";
|
|
71
71
|
import "./model-catalog-DzKq0MC2.js";
|
|
72
72
|
import "./session-utils-DbIfE0Ek.js";
|
|
73
73
|
import "./skill-commands-BdHYzdEB.js";
|
|
@@ -101,9 +101,9 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-Co_fin1B.js";
|
|
|
101
101
|
import "./catalog-Da8o-cxw.js";
|
|
102
102
|
import "./note-DDecZomM.js";
|
|
103
103
|
import "./plugin-auto-enable-BYE8fd4e.js";
|
|
104
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
104
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BrN1y1ig.js";
|
|
105
105
|
import { t as assertSupportedRuntime } from "./runtime-guard-Cs_ClFhP.js";
|
|
106
|
-
import { t as emitCliBanner } from "./banner-
|
|
106
|
+
import { t as emitCliBanner } from "./banner-l8hdGVT6.js";
|
|
107
107
|
import "./doctor-config-flow-BIbWAooY.js";
|
|
108
108
|
import { n as ensureConfigReady } from "./config-guard-CauD-RpD.js";
|
|
109
109
|
import process$1 from "node:process";
|
|
@@ -118,7 +118,7 @@ const routeHealth = {
|
|
|
118
118
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
119
119
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
120
120
|
if (timeoutMs === null) return false;
|
|
121
|
-
const { healthCommand } = await import("./health-
|
|
121
|
+
const { healthCommand } = await import("./health-DEibfTDK.js").then((n) => n.i);
|
|
122
122
|
await healthCommand({
|
|
123
123
|
json,
|
|
124
124
|
timeoutMs,
|
|
@@ -138,7 +138,7 @@ const routeStatus = {
|
|
|
138
138
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
139
139
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
140
140
|
if (timeoutMs === null) return false;
|
|
141
|
-
const { statusCommand } = await import("./status-
|
|
141
|
+
const { statusCommand } = await import("./status-DQEnKbht.js").then((n) => n.t);
|
|
142
142
|
await statusCommand({
|
|
143
143
|
json,
|
|
144
144
|
deep,
|
|
@@ -172,7 +172,7 @@ const routeAgentsList = {
|
|
|
172
172
|
run: async (argv) => {
|
|
173
173
|
const json = hasFlag(argv, "--json");
|
|
174
174
|
const bindings = hasFlag(argv, "--bindings");
|
|
175
|
-
const { agentsListCommand } = await import("./agents-
|
|
175
|
+
const { agentsListCommand } = await import("./agents-Acsw6oEr.js").then((n) => n.t);
|
|
176
176
|
await agentsListCommand({
|
|
177
177
|
json,
|
|
178
178
|
bindings
|
|
@@ -243,7 +243,7 @@ const routes = [
|
|
|
243
243
|
const pathArg = getCommandPositionals(argv)[2];
|
|
244
244
|
if (!pathArg) return false;
|
|
245
245
|
const json = hasFlag(argv, "--json");
|
|
246
|
-
const { runConfigGet } = await import("./config-cli-
|
|
246
|
+
const { runConfigGet } = await import("./config-cli-CV3y1IAq.js");
|
|
247
247
|
await runConfigGet({
|
|
248
248
|
path: pathArg,
|
|
249
249
|
json
|
|
@@ -256,7 +256,7 @@ const routes = [
|
|
|
256
256
|
run: async (argv) => {
|
|
257
257
|
const pathArg = getCommandPositionals(argv)[2];
|
|
258
258
|
if (!pathArg) return false;
|
|
259
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
259
|
+
const { runConfigUnset } = await import("./config-cli-CV3y1IAq.js");
|
|
260
260
|
await runConfigUnset({ path: pathArg });
|
|
261
261
|
return true;
|
|
262
262
|
}
|
|
@@ -270,7 +270,7 @@ const routes = [
|
|
|
270
270
|
const local = hasFlag(argv, "--local");
|
|
271
271
|
const json = hasFlag(argv, "--json");
|
|
272
272
|
const plain = hasFlag(argv, "--plain");
|
|
273
|
-
const { modelsListCommand } = await import("./models-
|
|
273
|
+
const { modelsListCommand } = await import("./models-DFRcZ415.js").then((n) => n.t);
|
|
274
274
|
await modelsListCommand({
|
|
275
275
|
all,
|
|
276
276
|
local,
|
|
@@ -301,7 +301,7 @@ const routes = [
|
|
|
301
301
|
const plain = hasFlag(argv, "--plain");
|
|
302
302
|
const check = hasFlag(argv, "--check");
|
|
303
303
|
const probe = hasFlag(argv, "--probe");
|
|
304
|
-
const { modelsStatusCommand } = await import("./models-
|
|
304
|
+
const { modelsStatusCommand } = await import("./models-DFRcZ415.js").then((n) => n.t);
|
|
305
305
|
await modelsStatusCommand({
|
|
306
306
|
json,
|
|
307
307
|
plain,
|
|
@@ -379,7 +379,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
379
379
|
assertSupportedRuntime();
|
|
380
380
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
381
381
|
enableConsoleCapture();
|
|
382
|
-
const { buildProgram } = await import("./program-
|
|
382
|
+
const { buildProgram } = await import("./program-DlspJVqc.js");
|
|
383
383
|
const program = buildProgram();
|
|
384
384
|
installUnhandledRejectionHandler();
|
|
385
385
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -392,10 +392,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
392
392
|
const { getProgramContext } = await import("./program-context-5q-A0wbP.js").then((n) => n.n);
|
|
393
393
|
const ctx = getProgramContext(program);
|
|
394
394
|
if (ctx) {
|
|
395
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
395
|
+
const { registerCoreCliByName } = await import("./command-registry-hszLgVfh.js").then((n) => n.t);
|
|
396
396
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
397
397
|
}
|
|
398
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
398
|
+
const { registerSubCliByName } = await import("./register.subclis-m5WJHhwT.js").then((n) => n.a);
|
|
399
399
|
await registerSubCliByName(program, primary);
|
|
400
400
|
}
|
|
401
401
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -403,7 +403,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
403
403
|
primary,
|
|
404
404
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
405
405
|
})) {
|
|
406
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
406
|
+
const { registerPluginCliCommands } = await import("./cli-BjW27QBR.js");
|
|
407
407
|
const { loadConfig } = await import("./config-26MDXfhB.js").then((n) => n.t);
|
|
408
408
|
registerPluginCliCommands(program, loadConfig());
|
|
409
409
|
}
|
|
@@ -4,7 +4,7 @@ import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
|
4
4
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-a409QR1G.js";
|
|
5
5
|
import { A as normalizeProviderId, L as normalizeGoogleModelId, i as resolveApiKeyForProvider, r as requireApiKey, y as resolveOpenClawAgentDir } from "./model-auth-CpS0Gv-Z.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-DN88A7od.js";
|
|
7
|
-
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-BZOs5dHY.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CutEI69q.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-DL3f_O53.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-_DAtnv-O.js";
|
|
@@ -9,7 +9,7 @@ import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation
|
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-L2NTusph.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-Dp7VnmeK.js";
|
|
11
11
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-D1AxWVCq.js";
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
12
|
+
import { t as describeImageWithModel } from "./image-C8HOu4vb.js";
|
|
13
13
|
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DzKq0MC2.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import os from "node:os";
|
|
@@ -3,7 +3,7 @@ import { n as runExec } from "./exec-BmMB8-Xs.js";
|
|
|
3
3
|
import { E as normalizeGoogleModelId, K as requireApiKey, l as normalizeProviderId, q as resolveApiKeyForProvider } from "./model-selection-DneICMfS.js";
|
|
4
4
|
import { _ as isInboundPathAllowed, g as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, v as mergeInboundPathRoots, y as resolveIMessageAttachmentRoots } from "./config-DuSkPZEG.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
6
|
-
import { t as describeImageWithModel } from "./image-
|
|
6
|
+
import { t as describeImageWithModel } from "./image-Cj9tfO74.js";
|
|
7
7
|
import { r as formatUncaughtError, t as extractErrorCode } from "./errors-BF3TeRH2.js";
|
|
8
8
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BGwGL0tP.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
@@ -4,7 +4,7 @@ import { G as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as norma
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-BJidZpId.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-Bj1BETyH.js";
|
|
7
|
-
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DuT8yGCI.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-7_-6Idt9.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-BheTNyes.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-DRK3CmRg.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { At as agentCommand, C as loadSessionEntry, It as resolveOutboundTarget, Rt as createOutboundSendDeps, T as resolveGatewaySessionStoreTarget, dt as requestHeartbeatNow, vr as enqueueSystemEvent, w as pruneLegacyStoreKeys } from "./reply-
|
|
4
|
+
import { At as agentCommand, C as loadSessionEntry, It as resolveOutboundTarget, Rt as createOutboundSendDeps, T as resolveGatewaySessionStoreTarget, dt as requestHeartbeatNow, vr as enqueueSystemEvent, w as pruneLegacyStoreKeys } from "./reply-V8UXM1XU.js";
|
|
5
5
|
import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-Dygi7Azw.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-8bY95KEB.js";
|
|
@@ -15,11 +15,11 @@ import "./message-channel-v74IfRaS.js";
|
|
|
15
15
|
import "./send-Q-CNReiC.js";
|
|
16
16
|
import { i as loadConfig } from "./config-DuSkPZEG.js";
|
|
17
17
|
import "./manifest-registry-YRUqEw3J.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
18
|
+
import "./runner-DkWpm1Ly.js";
|
|
19
|
+
import "./image-Cj9tfO74.js";
|
|
20
20
|
import "./models-config-BfWGJEDQ.js";
|
|
21
21
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
22
|
+
import "./pi-embedded-helpers-C4Annkh_.js";
|
|
23
23
|
import "./sandbox-BouZCtAZ.js";
|
|
24
24
|
import "./chrome-DEbRGGI9.js";
|
|
25
25
|
import "./tailscale-pku0epOI.js";
|
|
@@ -56,7 +56,7 @@ import "./sqlite-Bbubvc33.js";
|
|
|
56
56
|
import "./model-catalog-DdfszCL_.js";
|
|
57
57
|
import "./tokens-BDil8-Uk.js";
|
|
58
58
|
import "./with-timeout-B1xlb1Xx.js";
|
|
59
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
59
|
+
import { t as deliverOutboundPayloads } from "./deliver-J2cVd3TS.js";
|
|
60
60
|
import "./diagnostic-BvpClNOn.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
62
|
import "./send-BvoyQqdG.js";
|
|
@@ -102,7 +102,7 @@ import "./control-service-15g6Mag4.js";
|
|
|
102
102
|
import "./stagger-B6VQyn1F.js";
|
|
103
103
|
import "./channel-selection-DJMsTQqp.js";
|
|
104
104
|
import "./pi-tools.policy-yLrAeeZu.js";
|
|
105
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
105
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BTcu7pip.js";
|
|
106
106
|
import { randomUUID } from "node:crypto";
|
|
107
107
|
|
|
108
108
|
//#region src/gateway/server-node-events.ts
|
|
@@ -14,7 +14,7 @@ import "./client-DrK7aLru.js";
|
|
|
14
14
|
import "./call-HzbpjcFE.js";
|
|
15
15
|
import "./message-channel-CVHJDItx.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import { C as agentCommand, D as createOutboundSendDeps, bn as enqueueSystemEvent, cn as requestHeartbeatNow, ct as resolveOutboundTarget } from "./subagent-registry-
|
|
17
|
+
import { C as agentCommand, D as createOutboundSendDeps, bn as enqueueSystemEvent, cn as requestHeartbeatNow, ct as resolveOutboundTarget } from "./subagent-registry-DGNGenUN.js";
|
|
18
18
|
import { d as updateSessionStore } from "./sessions-BVmrZrFA.js";
|
|
19
19
|
import "./tokens-ANnYrShl.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-BxYZzFkm.js";
|
|
@@ -24,13 +24,13 @@ import "./logging-CFvkxgcX.js";
|
|
|
24
24
|
import "./send-mdCBM_lP.js";
|
|
25
25
|
import "./send-ENOozmo1.js";
|
|
26
26
|
import "./with-timeout-BJj1dns_.js";
|
|
27
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
27
|
+
import { t as deliverOutboundPayloads } from "./deliver-meQdcFaA.js";
|
|
28
28
|
import "./diagnostic-C6WTf4ZE.js";
|
|
29
29
|
import "./diagnostic-session-state-CIjIGxEE.js";
|
|
30
30
|
import "./accounts-1gFWxwAw.js";
|
|
31
31
|
import "./send-Dd6W68eD.js";
|
|
32
32
|
import "./image-ops-CKJNUuNW.js";
|
|
33
|
-
import "./pi-embedded-helpers-
|
|
33
|
+
import "./pi-embedded-helpers-C_U_c_EU.js";
|
|
34
34
|
import "./sandbox-BMaHJcKh.js";
|
|
35
35
|
import "./chrome-DOT5Dxfr.js";
|
|
36
36
|
import "./tailscale-BxzsxqAY.js";
|
|
@@ -66,9 +66,9 @@ import "./ir-DetFY9t5.js";
|
|
|
66
66
|
import "./render-e7fENCYH.js";
|
|
67
67
|
import "./commands-CDrOx1RO.js";
|
|
68
68
|
import "./commands-registry-BcqdkMzV.js";
|
|
69
|
-
import "./image-
|
|
69
|
+
import "./image-C8HOu4vb.js";
|
|
70
70
|
import "./tool-display-DixohEVL.js";
|
|
71
|
-
import "./runner-
|
|
71
|
+
import "./runner-CbkB3vpb.js";
|
|
72
72
|
import "./model-catalog-DzKq0MC2.js";
|
|
73
73
|
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-DbIfE0Ek.js";
|
|
74
74
|
import "./skill-commands-BdHYzdEB.js";
|
|
@@ -98,7 +98,7 @@ import "./onboard-helpers-C_gnSpDO.js";
|
|
|
98
98
|
import "./prompt-style-DwCXob2h.js";
|
|
99
99
|
import "./pairing-labels-D9Xcaajc.js";
|
|
100
100
|
import "./pi-tools.policy-DSLVZzX5.js";
|
|
101
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
101
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CSSSwhDY.js";
|
|
102
102
|
import { randomUUID } from "node:crypto";
|
|
103
103
|
|
|
104
104
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-BlC2Fskb.js";
|
|
2
|
-
import { K as trimLogTail } from "./reply-
|
|
2
|
+
import { K as trimLogTail } from "./reply-V8UXM1XU.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BmMB8-Xs.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-d_j0Pdnj.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-B-fJT8wY.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
|
|
3
|
-
import { bt as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { bt as trimLogTail } from "./subagent-registry-DGNGenUN.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Yp3N6NZ_.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-DfBZVR4k.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-BlC2Fskb.js";
|
|
3
|
-
import { E as resolveSessionModelRef, G as summarizeRestartSentinel, W as readRestartSentinel, a as buildChannelSummary, b as listAgentsForGateway, bt as loadProviderUsageSummary, o as buildChannelAccountSnapshot, qt as sha256HexPrefix, s as formatChannelAllowFrom, ur as lookupContextTokens, xr as peekSystemEvents, xt as formatUsageReportLines, y as classifySessionKey } from "./reply-
|
|
3
|
+
import { E as resolveSessionModelRef, G as summarizeRestartSentinel, W as readRestartSentinel, a as buildChannelSummary, b as listAgentsForGateway, bt as loadProviderUsageSummary, o as buildChannelAccountSnapshot, qt as sha256HexPrefix, s as formatChannelAllowFrom, ur as lookupContextTokens, xr as peekSystemEvents, xt as formatUsageReportLines, y as classifySessionKey } from "./reply-V8UXM1XU.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CQJwyH9q.js";
|
|
6
6
|
import { n as runExec } from "./exec-BmMB8-Xs.js";
|
|
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-BHt4ST_m.j
|
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CSOaBA1c.js";
|
|
29
29
|
import { t as renderTable } from "./table-i7J9YlN5.js";
|
|
30
30
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BYAONEme.js";
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-BfWYn33I.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-B-fJT8wY.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-Da4wpz30.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DNqZrSx7.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-V8UXM1XU.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-Dl-vG2QO.js";
|
|
4
4
|
import { i as loadConfig } from "./config-DuSkPZEG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BhZr1_OI.js";
|
|
3
3
|
import { i as loadConfig } from "./config-26MDXfhB.js";
|
|
4
|
-
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-DGNGenUN.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -9,7 +9,7 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-BhZr1_OI.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CMdWT0WL.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-26MDXfhB.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-HzbpjcFE.js";
|
|
12
|
-
import { $ as sha256HexPrefix, Cn as peekSystemEvents, an as buildChannelAccountSnapshot, en as loadProviderUsageSummary, in as buildChannelSummary, on as formatChannelAllowFrom, tn as formatUsageReportLines, vt as readRestartSentinel, yt as summarizeRestartSentinel } from "./subagent-registry-
|
|
12
|
+
import { $ as sha256HexPrefix, Cn as peekSystemEvents, an as buildChannelAccountSnapshot, en as loadProviderUsageSummary, in as buildChannelSummary, on as formatChannelAllowFrom, tn as formatUsageReportLines, vt as readRestartSentinel, yt as summarizeRestartSentinel } from "./subagent-registry-DGNGenUN.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BVmrZrFA.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BxYZzFkm.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-BxzsxqAY.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D6c3G7my.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CqEodocN.js";
|
|
30
30
|
import { t as renderTable } from "./table-C9BoE_4p.js";
|
|
31
31
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-C1XET3ZE.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DEibfTDK.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-DfBZVR4k.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-B1F4gM4E.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-B0yJsjEo.js";
|
|
@@ -26,13 +26,13 @@ import { t as normalizeChatType } from "./chat-type-CeFzWU-6.js";
|
|
|
26
26
|
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-mdCBM_lP.js";
|
|
27
27
|
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-ENOozmo1.js";
|
|
28
28
|
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-BJj1dns_.js";
|
|
29
|
-
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-
|
|
29
|
+
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-meQdcFaA.js";
|
|
30
30
|
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-C6WTf4ZE.js";
|
|
31
31
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CIjIGxEE.js";
|
|
32
32
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-1gFWxwAw.js";
|
|
33
33
|
import { A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as parseTelegramTarget, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-Dd6W68eD.js";
|
|
34
34
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CKJNUuNW.js";
|
|
35
|
-
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-
|
|
35
|
+
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-C_U_c_EU.js";
|
|
36
36
|
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-BMaHJcKh.js";
|
|
37
37
|
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-DOT5Dxfr.js";
|
|
38
38
|
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-BWFv14tV.js";
|
|
@@ -62,11 +62,11 @@ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMedia
|
|
|
62
62
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-DetFY9t5.js";
|
|
63
63
|
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-CDrOx1RO.js";
|
|
64
64
|
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-BcqdkMzV.js";
|
|
65
|
-
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as extractTextFromChatContent, 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, y as stripReasoningTagsFromText } from "./image-
|
|
65
|
+
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as extractTextFromChatContent, 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, y as stripReasoningTagsFromText } from "./image-C8HOu4vb.js";
|
|
66
66
|
import { n as resolveToolDisplay } from "./tool-display-DixohEVL.js";
|
|
67
67
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
68
68
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-72dOKfLG.js";
|
|
69
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
69
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-CbkB3vpb.js";
|
|
70
70
|
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DzKq0MC2.js";
|
|
71
71
|
import { a as loadCombinedSessionStoreForGateway, u as lookupContextTokens } from "./session-utils-DbIfE0Ek.js";
|
|
72
72
|
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BdHYzdEB.js";
|
|
@@ -20291,7 +20291,7 @@ async function routeReply(params) {
|
|
|
20291
20291
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
20292
20292
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
20293
20293
|
try {
|
|
20294
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
20294
|
+
const { deliverOutboundPayloads } = await import("./deliver-meQdcFaA.js").then((n) => n.n);
|
|
20295
20295
|
return {
|
|
20296
20296
|
ok: true,
|
|
20297
20297
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -34849,7 +34849,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
34849
34849
|
return;
|
|
34850
34850
|
}
|
|
34851
34851
|
try {
|
|
34852
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
34852
|
+
const { deliverOutboundPayloads } = await import("./deliver-meQdcFaA.js").then((n) => n.n);
|
|
34853
34853
|
await deliverOutboundPayloads({
|
|
34854
34854
|
cfg: params.cfg,
|
|
34855
34855
|
channel,
|
|
@@ -36246,6 +36246,9 @@ function createReplyDispatcherWithTyping(options) {
|
|
|
36246
36246
|
typingController = typing;
|
|
36247
36247
|
}
|
|
36248
36248
|
},
|
|
36249
|
+
markRunComplete: () => {
|
|
36250
|
+
typingController?.markRunComplete();
|
|
36251
|
+
},
|
|
36249
36252
|
markDispatchIdle: () => {
|
|
36250
36253
|
typingController?.markDispatchIdle();
|
|
36251
36254
|
onIdle?.();
|
|
@@ -36281,7 +36284,7 @@ async function dispatchInboundMessage(params) {
|
|
|
36281
36284
|
});
|
|
36282
36285
|
}
|
|
36283
36286
|
async function dispatchInboundMessageWithBufferedDispatcher(params) {
|
|
36284
|
-
const { dispatcher, replyOptions, markDispatchIdle } = createReplyDispatcherWithTyping(params.dispatcherOptions);
|
|
36287
|
+
const { dispatcher, replyOptions, markDispatchIdle, markRunComplete } = createReplyDispatcherWithTyping(params.dispatcherOptions);
|
|
36285
36288
|
try {
|
|
36286
36289
|
return await dispatchInboundMessage({
|
|
36287
36290
|
ctx: params.ctx,
|
|
@@ -36294,6 +36297,7 @@ async function dispatchInboundMessageWithBufferedDispatcher(params) {
|
|
|
36294
36297
|
}
|
|
36295
36298
|
});
|
|
36296
36299
|
} finally {
|
|
36300
|
+
markRunComplete();
|
|
36297
36301
|
markDispatchIdle();
|
|
36298
36302
|
}
|
|
36299
36303
|
}
|
|
@@ -38300,7 +38304,7 @@ async function describeStickerImage(params) {
|
|
|
38300
38304
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
38301
38305
|
try {
|
|
38302
38306
|
const buffer = await fs$1.readFile(imagePath);
|
|
38303
|
-
const { describeImageWithModel } = await import("./image-
|
|
38307
|
+
const { describeImageWithModel } = await import("./image-C8HOu4vb.js").then((n) => n.n);
|
|
38304
38308
|
return (await describeImageWithModel({
|
|
38305
38309
|
buffer,
|
|
38306
38310
|
fileName: "sticker.webp",
|
|
@@ -40099,7 +40103,7 @@ async function preflightDiscordMessage(params) {
|
|
|
40099
40103
|
let preflightTranscript;
|
|
40100
40104
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
40101
40105
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
40102
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
40106
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DTxmK1ti.js");
|
|
40103
40107
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
40104
40108
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
40105
40109
|
ctx: {
|
|
@@ -44105,7 +44109,7 @@ function isVoiceChannelType(type) {
|
|
|
44105
44109
|
function createDefaultDeps() {
|
|
44106
44110
|
return {
|
|
44107
44111
|
sendMessageWhatsApp: async (...args) => {
|
|
44108
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
44112
|
+
const { sendMessageWhatsApp } = await import("./web-H55ayBNa.js");
|
|
44109
44113
|
return await sendMessageWhatsApp(...args);
|
|
44110
44114
|
},
|
|
44111
44115
|
sendMessageTelegram: async (...args) => {
|
|
@@ -52098,6 +52102,10 @@ function createSlackMonitorContext(params) {
|
|
|
52098
52102
|
ttlMs: 6e4,
|
|
52099
52103
|
maxSize: 500
|
|
52100
52104
|
});
|
|
52105
|
+
const seenEventIds = createDedupeCache({
|
|
52106
|
+
ttlMs: 6e4,
|
|
52107
|
+
maxSize: 500
|
|
52108
|
+
});
|
|
52101
52109
|
const allowFrom = normalizeAllowList$2(params.allowFrom);
|
|
52102
52110
|
const groupDmChannels = normalizeAllowList$2(params.groupDmChannels);
|
|
52103
52111
|
const defaultRequireMention = params.defaultRequireMention ?? true;
|
|
@@ -52105,6 +52113,10 @@ function createSlackMonitorContext(params) {
|
|
|
52105
52113
|
if (!channelId || !ts) return false;
|
|
52106
52114
|
return seenMessages.check(`${channelId}:${ts}`);
|
|
52107
52115
|
};
|
|
52116
|
+
const markEventIdSeen = (eventId) => {
|
|
52117
|
+
if (!eventId) return false;
|
|
52118
|
+
return seenEventIds.check(eventId);
|
|
52119
|
+
};
|
|
52108
52120
|
const resolveSlackSystemEventSessionKey = (p) => {
|
|
52109
52121
|
const channelId = p.channelId?.trim() ?? "";
|
|
52110
52122
|
if (!channelId) return params.mainKey;
|
|
@@ -52269,6 +52281,7 @@ function createSlackMonitorContext(params) {
|
|
|
52269
52281
|
removeAckAfterReply: params.removeAckAfterReply,
|
|
52270
52282
|
logger,
|
|
52271
52283
|
markMessageSeen,
|
|
52284
|
+
markEventIdSeen,
|
|
52272
52285
|
shouldDropMismatchedSlackEvent,
|
|
52273
52286
|
resolveSlackSystemEventSessionKey,
|
|
52274
52287
|
isChannelAllowed,
|
|
@@ -52877,6 +52890,8 @@ function registerSlackMessageEvents(params) {
|
|
|
52877
52890
|
ctx.app.event("message", async ({ event, body }) => {
|
|
52878
52891
|
try {
|
|
52879
52892
|
if (ctx.shouldDropMismatchedSlackEvent(body)) return;
|
|
52893
|
+
const eventId = body.event_id;
|
|
52894
|
+
if (ctx.markEventIdSeen(eventId)) return;
|
|
52880
52895
|
const message = event;
|
|
52881
52896
|
if (message.subtype === "message_changed") {
|
|
52882
52897
|
const changed = event;
|
|
@@ -52922,6 +52937,8 @@ function registerSlackMessageEvents(params) {
|
|
|
52922
52937
|
ctx.app.event("app_mention", async ({ event, body }) => {
|
|
52923
52938
|
try {
|
|
52924
52939
|
if (ctx.shouldDropMismatchedSlackEvent(body)) return;
|
|
52940
|
+
const eventId = body.event_id;
|
|
52941
|
+
if (ctx.markEventIdSeen(eventId)) return;
|
|
52925
52942
|
const mention = event;
|
|
52926
52943
|
const channelType = mention.channel_type;
|
|
52927
52944
|
if (channelType === "im" || channelType === "mpim") return;
|
|
@@ -57303,7 +57320,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
57303
57320
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
57304
57321
|
let preflightTranscript;
|
|
57305
57322
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
57306
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
57323
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DTxmK1ti.js");
|
|
57307
57324
|
preflightTranscript = await transcribeFirstAudio({
|
|
57308
57325
|
ctx: {
|
|
57309
57326
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -59469,7 +59486,7 @@ function loadWebLoginQr() {
|
|
|
59469
59486
|
return webLoginQrPromise;
|
|
59470
59487
|
}
|
|
59471
59488
|
function loadWebChannel() {
|
|
59472
|
-
webChannelPromise ??= import("./web-
|
|
59489
|
+
webChannelPromise ??= import("./web-H55ayBNa.js");
|
|
59473
59490
|
return webChannelPromise;
|
|
59474
59491
|
}
|
|
59475
59492
|
function loadWhatsAppActions() {
|
|
@@ -4,7 +4,7 @@ import { l as stripAnsi, u as visibleWidth } from "./subsystem-8bY95KEB.js";
|
|
|
4
4
|
import { l as resolveDefaultAgentId } from "./agent-scope-Dl-vG2QO.js";
|
|
5
5
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-v74IfRaS.js";
|
|
6
6
|
import { H as VERSION, i as loadConfig } from "./config-DuSkPZEG.js";
|
|
7
|
-
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
7
|
+
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-C4Annkh_.js";
|
|
8
8
|
import { k as stripLeadingInboundMetadata } from "./sessions-BXbSUMYn.js";
|
|
9
9
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-2OmEbBUF.js";
|
|
10
10
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-8sqWxuMh.js";
|
|
@@ -6,7 +6,7 @@ import { kt as PROTOCOL_VERSION, t as GatewayClient } from "./client-DrK7aLru.js
|
|
|
6
6
|
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-HzbpjcFE.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CVHJDItx.js";
|
|
8
8
|
import { C as stripLeadingInboundMetadata } from "./sessions-BVmrZrFA.js";
|
|
9
|
-
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
9
|
+
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-C_U_c_EU.js";
|
|
10
10
|
import { c as normalizeUsageDisplay, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-8sKPnzpp.js";
|
|
11
11
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-BcqdkMzV.js";
|
|
12
12
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-DixohEVL.js";
|
|
@@ -12,7 +12,7 @@ import "./env-BId0WVVL.js";
|
|
|
12
12
|
import "./message-channel-v74IfRaS.js";
|
|
13
13
|
import "./config-DuSkPZEG.js";
|
|
14
14
|
import "./manifest-registry-YRUqEw3J.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./pi-embedded-helpers-C4Annkh_.js";
|
|
16
16
|
import "./sandbox-BouZCtAZ.js";
|
|
17
17
|
import "./chrome-DEbRGGI9.js";
|
|
18
18
|
import "./tailscale-pku0epOI.js";
|
|
@@ -48,7 +48,7 @@ import "./call-BRa7cSJX.js";
|
|
|
48
48
|
import "./pairing-token-DGufCZxz.js";
|
|
49
49
|
import { t as formatDocsLink } from "./links-DHovuBDt.js";
|
|
50
50
|
import { t as parseTimeoutMs } from "./parse-timeout-UOA56UND.js";
|
|
51
|
-
import { t as runTui } from "./tui-
|
|
51
|
+
import { t as runTui } from "./tui-BPSckkGa.js";
|
|
52
52
|
|
|
53
53
|
//#region src/cli/tui-cli.ts
|
|
54
54
|
function registerTuiCli(program) {
|
|
@@ -18,7 +18,7 @@ import "./bindings-BANaKLsQ.js";
|
|
|
18
18
|
import "./logging-CFvkxgcX.js";
|
|
19
19
|
import "./accounts-1gFWxwAw.js";
|
|
20
20
|
import "./image-ops-CKJNUuNW.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
21
|
+
import "./pi-embedded-helpers-C_U_c_EU.js";
|
|
22
22
|
import "./sandbox-BMaHJcKh.js";
|
|
23
23
|
import "./chrome-DOT5Dxfr.js";
|
|
24
24
|
import "./tailscale-BxzsxqAY.js";
|
|
@@ -43,7 +43,7 @@ import "./commands-registry-BcqdkMzV.js";
|
|
|
43
43
|
import "./tool-display-DixohEVL.js";
|
|
44
44
|
import { t as parseTimeoutMs } from "./parse-timeout-zNJBr1fY.js";
|
|
45
45
|
import { t as formatDocsLink } from "./links-CW8Bx7rK.js";
|
|
46
|
-
import { t as runTui } from "./tui-
|
|
46
|
+
import { t as runTui } from "./tui-Dn3NzP7B.js";
|
|
47
47
|
|
|
48
48
|
//#region src/cli/tui-cli.ts
|
|
49
49
|
function registerTuiCli(program) {
|