@lawpath-tech/openclaw 2026.2.21-4 → 2026.2.21-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-CQT5u65w.js → accounts-CJEDkyd7.js} +1 -1
- package/dist/{accounts-DFrH9IVU.js → accounts-CaJg9v7D.js} +1 -1
- package/dist/{accounts-C8m4ADkw.js → accounts-DQo5uGA3.js} +14 -14
- package/dist/{active-listener-BKTctYlH.js → active-listener-Bhmh-BBe.js} +1 -1
- package/dist/{agent-scope-D-SlG1bQ.js → agent-scope-CKu-vMMp.js} +3 -3
- package/dist/{agents-BtqLW18n.js → agents-5gS4Morq.js} +4 -4
- package/dist/{agents.config-B-tuPgrg.js → agents.config-DGVdd0H4.js} +1 -1
- package/dist/{agents.config-ICVDwC0C.js → agents.config-Dy2Tojo2.js} +1 -1
- package/dist/{audio-preflight-BAupR5wm.js → audio-preflight-BoDf-OA5.js} +4 -4
- package/dist/{audio-preflight-DSln0Zsg.js → audio-preflight-yQKupU0M.js} +29 -29
- package/dist/{auth-choice-BjZRva43.js → auth-choice-CujjjpDj.js} +1 -1
- package/dist/{auth-choice-6iuXqwcN.js → auth-choice-CyeueHh0.js} +1 -1
- package/dist/{banner-B3WC17dn.js → banner-BB3Z8Akj.js} +1 -1
- package/dist/{bindings-DL-vZcXK.js → bindings-pn9FkE0Z.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BgsTqLau.js → channel-activity-pOw1s-fe.js} +1 -1
- package/dist/{channel-options-BDj65ZyO.js → channel-options-C1Z6nQwx.js} +1 -1
- package/dist/{channel-options-G8V1c6AS.js → channel-options-DxnRn3HQ.js} +1 -1
- package/dist/{channel-web-B_ZYKCEQ.js → channel-web-Bkp-VxtT.js} +1 -1
- package/dist/{channels-cli-raxsTCN2.js → channels-cli-B7GOmHwj.js} +4 -4
- package/dist/{channels-cli-DqFbn6qS.js → channels-cli-DGUKSzax.js} +4 -4
- package/dist/{chrome-_026ohiG.js → chrome-Bnq0CyY4.js} +20 -20
- package/dist/{chrome-CzHty2tf.js → chrome-CQlDoNNk.js} +7 -7
- package/dist/{chunk-fZrBDWYg.js → chunk-BkGjWi6P.js} +1 -1
- package/dist/{cli-E0T5u43Z.js → cli-DSVcE01B.js} +1 -1
- package/dist/{cli-CR9BTL9c.js → cli-RMmIna0L.js} +1 -1
- package/dist/{command-format-BOHIfoCX.js → command-format-CM0AxuCk.js} +1 -1
- package/dist/{command-registry-BmpWsMTW.js → command-registry-C8m3qBQR.js} +9 -9
- package/dist/{commands-registry-3kTkR4r1.js → commands-registry-BoKLuuwG.js} +4 -4
- package/dist/{completion-cli-S4G6qt8g.js → completion-cli-DDqcpVLn.js} +1 -1
- package/dist/{completion-cli-ilRVVz-z.js → completion-cli-Dto_ttBF.js} +2 -2
- package/dist/{config-CScuPNjn.js → config-D0UwRKru.js} +12 -12
- package/dist/{config-cli-Cko5ncf5.js → config-cli-5dIx4eBy.js} +1 -1
- package/dist/{config-cli-WbPlELKk.js → config-cli-daCg9d8E.js} +1 -1
- package/dist/{configure-B-GCDUGh.js → configure-C8s3_7RF.js} +3 -3
- package/dist/{configure-BBkx0Gee.js → configure-DOvWFudD.js} +3 -3
- package/dist/{deliver-CChv42uL.js → deliver--EhsFXv7.js} +20 -20
- package/dist/{deliver-IOU5_B6z.js → deliver-DXUDTvJu.js} +1 -1
- package/dist/{diagnostic-DriDPU6M.js → diagnostic-DTfVTKJM.js} +1 -1
- package/dist/{doctor-completion-7mRw3cHh.js → doctor-completion-Dwy9h3mp.js} +1 -1
- package/dist/{doctor-completion-CJKoQcYI.js → doctor-completion-PJG8ramM.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-CdkBcBAo.js → frontmatter-Dab6NVCF.js} +2 -2
- package/dist/{gateway-cli-CmSTW0ue.js → gateway-cli-08bLT4Lm.js} +14 -9
- package/dist/{gateway-cli-AhPjzNqQ.js → gateway-cli-Y7MMw6f2.js} +14 -9
- package/dist/{gemini-auth-cD8BrH5d.js → gemini-auth-jiCC1_gO.js} +1 -1
- package/dist/{github-copilot-token-Dgb9dAHW.js → github-copilot-token-DAycnoAs.js} +7 -7
- package/dist/{health-ADwLM-Or.js → health-BuZYFEjf.js} +1 -1
- package/dist/{health-fiXB0fGK.js → health-C47gv6Ik.js} +1 -1
- package/dist/{hooks-cli-DRoJbg8P.js → hooks-cli-COO_JTQt.js} +2 -2
- package/dist/{hooks-cli-XfbsybsC.js → hooks-cli-D0f1i-sv.js} +2 -2
- package/dist/{image-CdTrSqaH.js → image-BHIZnUgU.js} +1 -1
- package/dist/{image-B9TdLqUC.js → image-Bxlb76-w.js} +4 -4
- package/dist/{image-ops-DSHe7MDO.js → image-ops-Bgwps3ZY.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-p6xtdC2E.js → ir-C12Waxsc.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DxIZcL-f.js → local-roots-BXHtS1lV.js} +5 -5
- package/dist/{login-D1xDylNg.js → login-CSOqZ7U4.js} +7 -7
- package/dist/{login-qr-DuFTjxNo.js → login-qr-C0P5yf2R.js} +12 -12
- package/dist/{manager-CHKGgP5H.js → manager-iCRgH8LP.js} +13 -13
- package/dist/{manifest-registry-Dhk4A5vb.js → manifest-registry-D31TP66o.js} +19 -19
- package/dist/{markdown-tables-_e0OifWF.js → markdown-tables-DfvQjS1F.js} +1 -1
- package/dist/{message-channel-CHYSjmbr.js → message-channel-BckS8bQ9.js} +1 -1
- package/dist/{model-auth-3yb_4VXX.js → model-auth-4U7dwHzy.js} +9 -9
- package/dist/{models-2tG63q_V.js → models-DogF-UP8.js} +2 -2
- package/dist/{models-cli-CR_SMGJ0.js → models-cli-DIDuJyRY.js} +2 -2
- package/dist/{models-cli-BWxHuaVU.js → models-cli-hTpwPgdx.js} +3 -3
- package/dist/{onboard-DBSlZhzk.js → onboard-CAaMOWVz.js} +2 -2
- package/dist/{onboard-a3lJkMHB.js → onboard-Dnbsa0t_.js} +2 -2
- package/dist/{onboard-channels-B8j2CJsJ.js → onboard-channels-Ck5vewaM.js} +1 -1
- package/dist/{onboard-channels-BUE80D3V.js → onboard-channels-CxXKKyqy.js} +1 -1
- package/dist/{onboarding-vEEafQpu.js → onboarding-CiHD_RlU.js} +3 -3
- package/dist/{onboarding-BPiYCwYW.js → onboarding-CoiWlTdt.js} +3 -3
- package/dist/{onboarding.finalize-ASGzuJ_m.js → onboarding.finalize-DsFwibvU.js} +6 -6
- package/dist/{onboarding.finalize-C7185nuS.js → onboarding.finalize-dcJBGnBz.js} +5 -5
- package/dist/{outbound-BqU-pis3.js → outbound-CyTM7y9i.js} +7 -7
- package/dist/{outbound-attachment-D9iNB8-3.js → outbound-attachment-egG5Hv4A.js} +2 -2
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{paths-BEAbheM8.js → paths-Cv2Q0cX2.js} +1 -1
- package/dist/{pi-auth-json-B22wYwcC.js → pi-auth-json-DPksdYT4.js} +8 -8
- package/dist/{pi-embedded-DtVM2K0j.js → pi-embedded-CrYPeE2s.js} +53 -19
- package/dist/{pi-embedded-BfX7An0n.js → pi-embedded-DRWWBoNo.js} +199 -165
- package/dist/{pi-embedded-helpers-Mzn8kkGx.js → pi-embedded-helpers-BxT45zZ8.js} +52 -52
- package/dist/{pi-embedded-helpers-DChC7Q7D.js → pi-embedded-helpers-F2YKLBnV.js} +4 -4
- package/dist/{plugin-registry-CDCLBIsW.js → plugin-registry-BJ7SMd60.js} +1 -1
- package/dist/{plugin-registry-DAvWT8O2.js → plugin-registry-BvNBkzNY.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-DSex4wfg.js → agent-scope-B_K0lnIZ.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-DVRFDYWE.js → api-key-rotation-ubwcEE3L.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-rT8tAkD-.js → audio-preflight-BS8n82KZ.js} +24 -24
- package/dist/plugin-sdk/{bindings-DeKqzYUw.js → bindings-y5ob6sm3.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D7oXjz9F.js → channel-web-C6TCmDNo.js} +22 -22
- package/dist/plugin-sdk/{chrome-CmTDPHBP.js → chrome-BY2jt7nz.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-lvrJ62DW.js → commands-registry-BlifvuiT.js} +4 -4
- package/dist/plugin-sdk/{config-BT7sZurc.js → config-c9LTBVr8.js} +9 -9
- package/dist/plugin-sdk/{deliver-CJxTyTAX.js → deliver-B0aMj415.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
- package/dist/plugin-sdk/{image-DN02b1Un.js → image-C2wTkNPw.js} +4 -4
- package/dist/plugin-sdk/{image-ops-CZqefviF.js → image-ops-DvH046F-.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-B7rkHLE2.js → ir-CKLBdoDN.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BQE1Ebnw.js → local-roots-Com8GhnT.js} +3 -3
- package/dist/plugin-sdk/{login-De0S3iEe.js → login-Bg_WVfHE.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbAmVoVd.js → login-qr-0RXOeFuV.js} +9 -9
- package/dist/plugin-sdk/{manager-NrAHkxhT.js → manager-0ITt6KKN.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FPKU-GAf.js → markdown-tables-CTgITejf.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
- package/dist/plugin-sdk/{model-selection-D74TGHOt.js → model-selection-eaUqWB9v.js} +4 -4
- package/dist/plugin-sdk/{outbound-hovTyykv.js → outbound-YogvVnLx.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-t84PRHhe.js → outbound-attachment-DFlJJUUs.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-3M5ZaNhl.js → pi-auth-json-BNYV9v5Z.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-HEdGJVz9.js → pi-embedded-helpers-D-zgah-f.js} +17 -17
- package/dist/plugin-sdk/{plugins-a8_TtkpO.js → plugins-Bi3zjb1D.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CBpL2WWS.js → pw-ai-D17TBpla.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Hv8FbJlj.js → qmd-manager-C5jlBI8H.js} +4 -4
- package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
- package/dist/{replies-AytmsAUn.js → plugin-sdk/replies-Bi2MUExf.js} +3 -3
- package/dist/plugin-sdk/{reply-CcZVzbxJ.js → reply-DRhWRalB.js} +115 -81
- package/dist/plugin-sdk/{reply-prefix-DNtb4_wd.js → reply-prefix-D9Vp9XsI.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-EACA6DIF.js → resolve-outbound-target-4LJSOI03.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-Cqj4b_M3.js → resolve-route-DGSGaQkJ.js} +3 -3
- package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
- package/dist/plugin-sdk/{runner-CF0Vfhdz.js → runner-DVSsxWbK.js} +9 -9
- package/dist/plugin-sdk/{send-jhlw6FJR.js → send-7v9Tg-1N.js} +10 -10
- package/dist/plugin-sdk/{send-4EuOqK3R.js → send-CuVP5yhW.js} +7 -7
- package/dist/plugin-sdk/{send-B3LOEv4r.js → send-Cy2TYbta.js} +6 -6
- package/dist/plugin-sdk/{send-Cz-EZBfd.js → send-e4x0TcgT.js} +10 -10
- package/dist/plugin-sdk/{send-Czuwer1y.js → send-iHZz9oKf.js} +6 -6
- package/dist/plugin-sdk/{session-BjNuud8u.js → session-CHV-qoDA.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-B5t3dEA3.js → skill-commands-uBEgxRtL.js} +5 -5
- package/dist/plugin-sdk/{skills-n6vXaMPn.js → skills-CIpuy3Vv.js} +7 -7
- package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
- package/dist/plugin-sdk/{store-CLotPIp_.js → store-BVL3fS5q.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
- package/dist/plugin-sdk/{tables-7y86aoG1.js → tables-DHwGo-4a.js} +1 -1
- package/dist/{target-errors-1-pM-0-N.js → plugin-sdk/target-errors-DGfjmC5j.js} +2 -2
- package/dist/plugin-sdk/{thinking-b64dDuH9.js → thinking-D3o92jol.js} +5 -5
- package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CbUjCJCh.js → tool-images-zxFUoVW3.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
- package/dist/plugin-sdk/web-Ct7mP_gq.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DrC9AVN9.js → whatsapp-actions-DdqYVOos.js} +21 -21
- package/dist/{plugins-BfEZesgD.js → plugins-9d8EqI-y.js} +9 -9
- package/dist/{plugins-cli-ekc2VJ2E.js → plugins-cli--LHZoYj1.js} +2 -2
- package/dist/{plugins-cli-BUojFAGL.js → plugins-cli-C_3vwAkb.js} +2 -2
- package/dist/{program-C6lY3-78.js → program-Da_x_bot.js} +7 -7
- package/dist/{program-context-Cf4DLb4D.js → program-context-Cx1Qh1rs.js} +17 -17
- package/dist/{prompt-select-styled-BB0toldS.js → prompt-select-styled-Bymthwby.js} +4 -4
- package/dist/{prompt-select-styled-DZrDBBvM.js → prompt-select-styled-CW0DXnqy.js} +4 -4
- package/dist/{provider-auth-helpers-DzLX-hrT.js → provider-auth-helpers-BVl_Luuc.js} +1 -1
- package/dist/{provider-auth-helpers-BmRtSzv1.js → provider-auth-helpers-CtRweZXm.js} +1 -1
- package/dist/{push-apns-DRicQb8n.js → push-apns-DUaQ63kJ.js} +1 -1
- package/dist/{push-apns-BoavuUl1.js → push-apns-ekX9ZTw-.js} +1 -1
- package/dist/{pw-ai-BE9RDOQB.js → pw-ai-CbID-iUw.js} +11 -11
- package/dist/{pw-ai-CpnhdYBs.js → pw-ai-DrpEVs06.js} +1 -1
- package/dist/{qmd-manager-ClbsWpec.js → qmd-manager-Cf7kXRay.js} +7 -7
- package/dist/{register.agent-Ddx0H8cv.js → register.agent-CNVcqBdt.js} +6 -6
- package/dist/{register.agent-BmmgT0mN.js → register.agent-DIsFvRR6.js} +5 -5
- package/dist/{register.configure-DJnHqk6O.js → register.configure-BIJfddKS.js} +6 -6
- package/dist/{register.configure-CQU6KgeW.js → register.configure-CJoWBabk.js} +6 -6
- package/dist/{register.maintenance-Cqc5yCQG.js → register.maintenance-BRek-1ya.js} +7 -7
- package/dist/{register.maintenance-BV1xriuR.js → register.maintenance-Cz2zQo7V.js} +8 -8
- package/dist/{register.message-Ihec9Qhj.js → register.message-BXmCfdH1.js} +2 -2
- package/dist/{register.message-CNpNd0Ap.js → register.message-Ctt3_FvF.js} +2 -2
- package/dist/{register.onboard-DIwP9ira.js → register.onboard-461jnfmp.js} +4 -4
- package/dist/{register.onboard-CL9W60Ru.js → register.onboard-MafRy-YC.js} +4 -4
- package/dist/{register.setup-CsdexgyX.js → register.setup-B00v-7zz.js} +4 -4
- package/dist/{register.setup-2GCiWxqM.js → register.setup-DWTcsKRx.js} +4 -4
- package/dist/{register.status-health-sessions-GhqBz76y.js → register.status-health-sessions-GbMD4jFP.js} +3 -3
- package/dist/{register.status-health-sessions-CZoLCevz.js → register.status-health-sessions-X9_7OJkB.js} +3 -3
- package/dist/{register.subclis-B4o6BJ2N.js → register.subclis-u7MHey8m.js} +9 -9
- package/dist/{registry-DpeZG5fo.js → registry-wimgwqAA.js} +18 -18
- package/dist/{plugin-sdk/replies-BsiP6hrm.js → replies-Byh9FfWs.js} +3 -3
- package/dist/{reply-CebOfFpO.js → reply-DMk4EZm4.js} +39 -5
- package/dist/{reply-prefix-CssWitTj.js → reply-prefix-gRdjPOm5.js} +1 -1
- package/dist/{resolve-route-DSDE-n34.js → resolve-route-CyHelKQ0.js} +4 -4
- package/dist/{retry-Bdu4_ZcT.js → retry-DwLEH9x4.js} +1 -1
- package/dist/{run-main-Dhw3C-_j.js → run-main-B7R_5UKA.js} +14 -14
- package/dist/{runner-B-q1xy9_.js → runner-CHDFbZ9T.js} +1 -1
- package/dist/{runner-DU6rPdbF.js → runner-CJ_5xc_x.js} +9 -9
- package/dist/{send-d8Q5AJj9.js → send-BQ-4ogN3.js} +18 -18
- package/dist/{send-CT34cBxw.js → send-DB9VeUuY.js} +10 -10
- package/dist/{send-B0jdgPgL.js → send-DRUbeUiJ.js} +6 -6
- package/dist/{send-DbL1jVFV.js → send-DU-5eFpT.js} +7 -7
- package/dist/{send-CcqTwaor.js → send-DWg2VUt0.js} +6 -6
- package/dist/{server-node-events-Cx6vpHYY.js → server-node-events-BOFr19ex.js} +2 -2
- package/dist/{server-node-events-Cd_Um0Ih.js → server-node-events-CmEqVERQ.js} +2 -2
- package/dist/{session-B17teh6u.js → session-B3K56SrZ.js} +8 -8
- package/dist/{session-dirs-D1JZtaFB.js → session-dirs-B9BYJOI3.js} +1 -1
- package/dist/{session-dirs-BksC_ZJx.js → session-dirs-Dbcjy8I0.js} +1 -1
- package/dist/{skill-commands-BTCEJgtW.js → skill-commands-qdiEBLa5.js} +9 -9
- package/dist/{skills-DgwYCNoi.js → skills-YvF_jQ7u.js} +21 -21
- package/dist/{sqlite-C3XxSzBN.js → sqlite-B6SD9PTM.js} +4 -4
- package/dist/{status-CadxgcYe.js → status-7mnD_0oy.js} +2 -2
- package/dist/{status-BcZRY3RM.js → status-BphM--I6.js} +1 -1
- package/dist/{status-vxjEMgge.js → status-CfB8C1S5.js} +1 -1
- package/dist/{status-UO6LTko9.js → status-OhqCGfGI.js} +2 -2
- package/dist/{store-JuIN_QG_.js → store-Bb9yEhl9.js} +2 -2
- package/dist/{subagent-registry-DxAANdOO.js → subagent-registry-DfNgHH_n.js} +39 -5
- package/dist/{subsystem-BF9jT_Nw.js → subsystem-BEdh_1O5.js} +1 -1
- package/dist/{tables-3Vjm1My5.js → tables-D0LXVaNN.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Bu2PpCSS.js → target-errors-BLDmuN_6.js} +2 -2
- package/dist/{thinking-CYyGFSWd.js → thinking-THRIcxDi.js} +5 -5
- package/dist/{tokens-B-c56SkM.js → tokens-GCiqN5mi.js} +1 -1
- package/dist/{tool-images-i5cb4-nX.js → tool-images-D4n7jwYR.js} +2 -2
- package/dist/{tool-loop-detection-Bu3OGskw.js → tool-loop-detection-BPAeTbUj.js} +3 -3
- package/dist/{update-cli-CidTQDU8.js → update-cli-CjpoNUkt.js} +8 -8
- package/dist/{update-cli-CqsOKfGt.js → update-cli-DLD4tZtd.js} +7 -7
- package/dist/{web-BBMLIpu1.js → web-CN6HZzwn.js} +57 -57
- package/dist/{web-IgO1--qh.js → web-DG1eHpeH.js} +2 -2
- package/dist/{web-IvoqYVGl.js → web-gYLnj19G.js} +6 -6
- package/dist/{web-CxJJ94q0.js → web-ifWeOB6N.js} +1 -1
- package/dist/{whatsapp-actions-55P6E6cS.js → whatsapp-actions-BKmhU2Qu.js} +23 -23
- package/dist/{workspace-D-fnhRGM.js → workspace-BjFHGrDX.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DKcOGlkN.js +0 -65
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import "./registry-wimgwqAA.js";
|
|
3
|
+
import "./agent-scope-CKu-vMMp.js";
|
|
4
|
+
import "./subsystem-BEdh_1O5.js";
|
|
5
|
+
import "./workspace-BjFHGrDX.js";
|
|
6
6
|
import "./boolean-B8-BqKGQ.js";
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./command-format-CM0AxuCk.js";
|
|
8
|
+
import { A as normalizeProviderId, _ as ensureAuthProfileStore } from "./model-auth-4U7dwHzy.js";
|
|
9
|
+
import "./github-copilot-token-DAycnoAs.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|
|
@@ -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-BsjxpNXQ.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-D1GKazZn.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-DXUDTvJu.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,10 +22,10 @@ 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-BeOUcAOd.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-F2YKLBnV.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-C85nzIjh.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
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
28
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CQlDoNNk.js";
|
|
29
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-bbEUyqus.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";
|
|
@@ -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-f7oxThxw.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-BHIZnUgU.js";
|
|
40
40
|
import { n as resolveMemorySearchConfig } from "./manager-D7kT1deX.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";
|
|
@@ -49,7 +49,7 @@ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-5uiHLoM8.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-DdjWqy3T.js";
|
|
50
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-Dj_WV-Re.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-CHDFbZ9T.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";
|
|
@@ -79,7 +79,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
79
79
|
import AjvPkg from "ajv";
|
|
80
80
|
import { createServer } from "node:http";
|
|
81
81
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
82
|
-
import WebSocket
|
|
82
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
83
83
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
84
84
|
import { createJiti } from "jiti";
|
|
85
85
|
import { Type } from "@sinclair/typebox";
|
|
@@ -5713,7 +5713,7 @@ var GatewayClient = class {
|
|
|
5713
5713
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5714
5714
|
});
|
|
5715
5715
|
}
|
|
5716
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
5716
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
5717
5717
|
this.ws.on("open", () => {
|
|
5718
5718
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5719
5719
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5932,7 +5932,7 @@ var GatewayClient = class {
|
|
|
5932
5932
|
return null;
|
|
5933
5933
|
}
|
|
5934
5934
|
async request(method, params, opts) {
|
|
5935
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5935
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
5936
5936
|
const id = randomUUID();
|
|
5937
5937
|
const frame = {
|
|
5938
5938
|
type: "req",
|
|
@@ -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-DXUDTvJu.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-DXUDTvJu.js").then((n) => n.n);
|
|
41573
41573
|
await deliverOutboundPayloads({
|
|
41574
41574
|
cfg: params.cfg,
|
|
41575
41575
|
channel,
|
|
@@ -45012,7 +45012,7 @@ async function describeStickerImage(params) {
|
|
|
45012
45012
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45013
45013
|
try {
|
|
45014
45014
|
const buffer = await fs$1.readFile(imagePath);
|
|
45015
|
-
const { describeImageWithModel } = await import("./image-
|
|
45015
|
+
const { describeImageWithModel } = await import("./image-BHIZnUgU.js").then((n) => n.n);
|
|
45016
45016
|
return (await describeImageWithModel({
|
|
45017
45017
|
buffer,
|
|
45018
45018
|
fileName: "sticker.webp",
|
|
@@ -47473,7 +47473,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47473
47473
|
let preflightTranscript;
|
|
47474
47474
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47475
47475
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47476
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47476
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BoDf-OA5.js");
|
|
47477
47477
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47478
47478
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47479
47479
|
ctx: {
|
|
@@ -51479,7 +51479,7 @@ function isVoiceChannelType(type) {
|
|
|
51479
51479
|
function createDefaultDeps() {
|
|
51480
51480
|
return {
|
|
51481
51481
|
sendMessageWhatsApp: async (...args) => {
|
|
51482
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
51482
|
+
const { sendMessageWhatsApp } = await import("./web-gYLnj19G.js");
|
|
51483
51483
|
return await sendMessageWhatsApp(...args);
|
|
51484
51484
|
},
|
|
51485
51485
|
sendMessageTelegram: async (...args) => {
|
|
@@ -54392,7 +54392,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
54392
54392
|
super(options);
|
|
54393
54393
|
}
|
|
54394
54394
|
createWebSocket(url) {
|
|
54395
|
-
return new WebSocket
|
|
54395
|
+
return new WebSocket(url, { agent });
|
|
54396
54396
|
}
|
|
54397
54397
|
}
|
|
54398
54398
|
return new ProxyGatewayPlugin();
|
|
@@ -60270,7 +60270,10 @@ function registerSlackMessageEvents(params) {
|
|
|
60270
60270
|
ctx.app.event("app_mention", async ({ event, body }) => {
|
|
60271
60271
|
try {
|
|
60272
60272
|
if (ctx.shouldDropMismatchedSlackEvent(body)) return;
|
|
60273
|
-
|
|
60273
|
+
const mention = event;
|
|
60274
|
+
const channelType = mention.channel_type;
|
|
60275
|
+
if (channelType === "im" || channelType === "mpim") return;
|
|
60276
|
+
await handleSlackMessage(mention, {
|
|
60274
60277
|
source: "app_mention",
|
|
60275
60278
|
wasMentioned: true
|
|
60276
60279
|
});
|
|
@@ -61806,6 +61809,11 @@ function createSlackThreadTsResolver(params) {
|
|
|
61806
61809
|
|
|
61807
61810
|
//#endregion
|
|
61808
61811
|
//#region src/slack/monitor/message-handler.ts
|
|
61812
|
+
const APP_MENTION_RETRY_TTL_MS = 6e4;
|
|
61813
|
+
function buildSeenMessageKey(channelId, ts) {
|
|
61814
|
+
if (!channelId || !ts) return null;
|
|
61815
|
+
return `${channelId}:${ts}`;
|
|
61816
|
+
}
|
|
61809
61817
|
function createSlackMessageHandler(params) {
|
|
61810
61818
|
const { ctx, account } = params;
|
|
61811
61819
|
const debounceMs = resolveInboundDebounceMs({
|
|
@@ -61813,6 +61821,21 @@ function createSlackMessageHandler(params) {
|
|
|
61813
61821
|
channel: "slack"
|
|
61814
61822
|
});
|
|
61815
61823
|
const threadTsResolver = createSlackThreadTsResolver({ client: ctx.app.client });
|
|
61824
|
+
const appMentionRetryKeys = /* @__PURE__ */ new Map();
|
|
61825
|
+
const pruneAppMentionRetryKeys = (now) => {
|
|
61826
|
+
for (const [key, expiresAt] of appMentionRetryKeys) if (expiresAt <= now) appMentionRetryKeys.delete(key);
|
|
61827
|
+
};
|
|
61828
|
+
const rememberAppMentionRetryKey = (key) => {
|
|
61829
|
+
const now = Date.now();
|
|
61830
|
+
pruneAppMentionRetryKeys(now);
|
|
61831
|
+
appMentionRetryKeys.set(key, now + APP_MENTION_RETRY_TTL_MS);
|
|
61832
|
+
};
|
|
61833
|
+
const consumeAppMentionRetryKey = (key) => {
|
|
61834
|
+
pruneAppMentionRetryKeys(Date.now());
|
|
61835
|
+
if (!appMentionRetryKeys.has(key)) return false;
|
|
61836
|
+
appMentionRetryKeys.delete(key);
|
|
61837
|
+
return true;
|
|
61838
|
+
};
|
|
61816
61839
|
const debouncer = createInboundDebouncer({
|
|
61817
61840
|
debounceMs,
|
|
61818
61841
|
buildKey: (entry) => {
|
|
@@ -61845,7 +61868,14 @@ function createSlackMessageHandler(params) {
|
|
|
61845
61868
|
wasMentioned: combinedMentioned || last.opts.wasMentioned
|
|
61846
61869
|
}
|
|
61847
61870
|
});
|
|
61848
|
-
|
|
61871
|
+
const seenMessageKey = buildSeenMessageKey(last.message.channel, last.message.ts);
|
|
61872
|
+
if (!prepared) {
|
|
61873
|
+
const hasMessageSource = entries.some((entry) => entry.opts.source === "message");
|
|
61874
|
+
const hasAppMentionSource = entries.some((entry) => entry.opts.source === "app_mention");
|
|
61875
|
+
if (seenMessageKey && hasMessageSource && !hasAppMentionSource) rememberAppMentionRetryKey(seenMessageKey);
|
|
61876
|
+
return;
|
|
61877
|
+
}
|
|
61878
|
+
if (seenMessageKey) appMentionRetryKeys.delete(seenMessageKey);
|
|
61849
61879
|
if (entries.length > 1) {
|
|
61850
61880
|
const ids = entries.map((entry) => entry.message.ts).filter(Boolean);
|
|
61851
61881
|
if (ids.length > 0) {
|
|
@@ -61863,7 +61893,10 @@ function createSlackMessageHandler(params) {
|
|
|
61863
61893
|
return async (message, opts) => {
|
|
61864
61894
|
if (opts.source === "message" && message.type !== "message") return;
|
|
61865
61895
|
if (opts.source === "message" && message.subtype && message.subtype !== "file_share" && message.subtype !== "bot_message") return;
|
|
61866
|
-
|
|
61896
|
+
const seenMessageKey = buildSeenMessageKey(message.channel, message.ts);
|
|
61897
|
+
if (seenMessageKey && ctx.markMessageSeen(message.channel, message.ts)) {
|
|
61898
|
+
if (opts.source !== "app_mention" || !consumeAppMentionRetryKey(seenMessageKey)) return;
|
|
61899
|
+
}
|
|
61867
61900
|
const resolvedMessage = await threadTsResolver.resolve({
|
|
61868
61901
|
message,
|
|
61869
61902
|
source: opts.source
|
|
@@ -64610,7 +64643,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
64610
64643
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
64611
64644
|
let preflightTranscript;
|
|
64612
64645
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
64613
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
64646
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BoDf-OA5.js");
|
|
64614
64647
|
preflightTranscript = await transcribeFirstAudio({
|
|
64615
64648
|
ctx: {
|
|
64616
64649
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -66767,7 +66800,7 @@ function loadWebLoginQr() {
|
|
|
66767
66800
|
return webLoginQrPromise;
|
|
66768
66801
|
}
|
|
66769
66802
|
function loadWebChannel() {
|
|
66770
|
-
webChannelPromise ??= import("./web-
|
|
66803
|
+
webChannelPromise ??= import("./web-gYLnj19G.js");
|
|
66771
66804
|
return webChannelPromise;
|
|
66772
66805
|
}
|
|
66773
66806
|
function loadWhatsAppActions() {
|
|
@@ -71556,6 +71589,7 @@ function resolveSessionLane(key) {
|
|
|
71556
71589
|
}
|
|
71557
71590
|
function resolveGlobalLane(lane) {
|
|
71558
71591
|
const cleaned = lane?.trim();
|
|
71592
|
+
if (cleaned === CommandLane.Cron) return CommandLane.Nested;
|
|
71559
71593
|
return cleaned ? cleaned : CommandLane.Main;
|
|
71560
71594
|
}
|
|
71561
71595
|
function resolveEmbeddedSessionLane(key) {
|