@termix-it/cryptoclaw 1.1.5 → 1.1.7
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-CAjupeYV.js → accounts-Bdbf4Fn_.js} +3 -3
- package/dist/{accounts-4l7ba973.js → accounts-CvCASRYY.js} +1 -1
- package/dist/{accounts-k5nTdi32.js → accounts-hPtcpdFk.js} +1 -1
- package/dist/{active-listener-D9FARjMd.js → active-listener-CJdR33z9.js} +1 -1
- package/dist/{agents-BgGWuEM4.js → agents-DmV9pcSX.js} +4 -4
- package/dist/{agents.config-jlSvPmMw.js → agents.config-BlbII3kh.js} +1 -1
- package/dist/{agents.config-CBblmxIJ.js → agents.config-CS8KhDyk.js} +1 -1
- package/dist/{api-key-rotation-C-Q6XdUW.js → api-key-rotation-DX2h8ORX.js} +2 -2
- package/dist/{audio-preflight-C7kt2vOu.js → audio-preflight-ZycldM-G.js} +30 -30
- package/dist/{audio-transcription-runner-CawngPvE.js → audio-transcription-runner-DU6wV8vt.js} +12 -12
- package/dist/{audit-membership-runtime-C6dnIaXJ.js → audit-membership-runtime-Dg3H6a5z.js} +4 -4
- package/dist/{auth-choice-BZof8lFS.js → auth-choice-Jp6tkfdI.js} +1 -1
- package/dist/{auth-choice-Bfddvmj3.js → auth-choice-MPAsBFfw.js} +1 -1
- package/dist/{banner-DSSu3MES.js → banner-CjhJhSHE.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +49 -49
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +49 -49
- package/dist/bundled/soul-evil/handler.js +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-Hho38eZq.js → channel-activity-DvY5-NBa.js} +3 -3
- package/dist/{channel-options-DhT3itUm.js → channel-options-DQj_aEWz.js} +1 -1
- package/dist/{channel-options-uwhpiId_.js → channel-options-uHVlMBJK.js} +1 -1
- package/dist/{channel-web-VY7QYUgs.js → channel-web-CW3TIYaD.js} +1 -1
- package/dist/{channel-web-Dfitllt8.js → channel-web-v-nG1mnb.js} +1 -1
- package/dist/{channels-cli-CHNWup9-.js → channels-cli-BHfMSWEJ.js} +6 -6
- package/dist/{channels-cli-BK1fnXeM.js → channels-cli-CaRBsVKj.js} +6 -6
- package/dist/{chrome-palWvTtp.js → chrome-BDn3oCxA.js} +15 -15
- package/dist/{cli-C38DxImL.js → cli-9GAun4Gj.js} +1 -1
- package/dist/{cli-Dp2ZovoW.js → cli-CnYD8U_2.js} +1 -1
- package/dist/{command-registry-drCkGuaC.js → command-registry-CSJb-2Si.js} +9 -9
- package/dist/{commands-registry-A3LstXeY.js → commands-registry-C3lrGFPc.js} +4 -4
- package/dist/{completion-cli-DFqf7UbJ.js → completion-cli-BpRlBZPa.js} +2 -2
- package/dist/{completion-cli-CKIfUKoG.js → completion-cli-GV-mihuA.js} +1 -1
- package/dist/{config-cli-BVu6OUbV.js → config-cli-BGy3uFX6.js} +1 -1
- package/dist/{config-cli-CSehjRJE.js → config-cli-DWiLD1eS.js} +1 -1
- package/dist/{configure-BbBLdzt7.js → configure-CnoYUqR6.js} +4 -4
- package/dist/{configure-TlnrY7sN.js → configure-Dcjc_rvn.js} +4 -4
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/{index-Qb3PJV7U.js → index-CfSMqZGL.js} +3 -3
- package/dist/control-ui/assets/{index-Qb3PJV7U.js.map → index-CfSMqZGL.js.map} +1 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.svg +4 -4
- package/dist/control-ui/index.html +2 -2
- package/dist/{deliver-JkYjt9Qz.js → deliver-CIws33al.js} +10 -10
- package/dist/deliver-runtime-D0Xl5o_r.js +37 -0
- package/dist/deps-send-discord.runtime-DW7EsqB3.js +27 -0
- package/dist/deps-send-imessage.runtime-C9MPsbI1.js +26 -0
- package/dist/deps-send-signal.runtime-Cx7m-MT1.js +25 -0
- package/dist/deps-send-slack.runtime-gSE6on2e.js +23 -0
- package/dist/deps-send-telegram.runtime-DWF59L9O.js +28 -0
- package/dist/{deps-send-whatsapp.runtime-CbNuccsY.js → deps-send-whatsapp.runtime-C12KJwTz.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-BthdJVGz.js → deps-send-whatsapp.runtime-C57BrMSK.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-D2LQa8La.js → deps-send-whatsapp.runtime-CtO9Pt8F.js} +3 -3
- package/dist/deps-send-whatsapp.runtime-DQqdJ-WY.js +61 -0
- package/dist/{diagnostic-BGtFj4tU.js → diagnostic-tCJa7Lw4.js} +2 -2
- package/dist/{doctor-completion-UIrYmlFZ.js → doctor-completion-C-EngqIL.js} +1 -1
- package/dist/{doctor-completion-CuhwQAKf.js → doctor-completion-CUfmZ2QW.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-B2jpHiod.js → errors-DqgvfHhI.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-_iocPLV2.js → fetch-BAOdAoIM.js} +4 -4
- package/dist/{fetch-guard-CiQUuV0r.js → fetch-guard-B158yrdn.js} +2 -2
- package/dist/{frontmatter-Dn68lQ_o.js → frontmatter-BMvyqQHI.js} +3 -3
- package/dist/{fs-safe-BLpOReWZ.js → fs-safe-dXrcaQOs.js} +3 -3
- package/dist/{gateway-cli-B_yiYET0.js → gateway-cli-Bzuh64lS.js} +8 -8
- package/dist/{gateway-cli-o87wjmXO.js → gateway-cli-Dsw3_ijn.js} +8 -8
- package/dist/{health-SohRW0Au.js → health-DL7YyJbv.js} +1 -1
- package/dist/{health-BtR5qiQu.js → health-ysQviffW.js} +1 -1
- package/dist/{hooks-cli-DA-hMHRE.js → hooks-cli-Cmy4PbRW.js} +2 -2
- package/dist/{hooks-cli-DDbWkzaW.js → hooks-cli-DHi_8Dym.js} +2 -2
- package/dist/{image-BlRI3dXw.js → image-TyVVUbmF.js} +6 -6
- package/dist/{image-ops-D7mq-4y1.js → image-ops-Lq3nZ855.js} +2 -2
- package/dist/image-runtime-BzWmZQi8.js +30 -0
- package/dist/index.js +6 -6
- package/dist/{ir-Dpg87zYv.js → ir-Dpb1g0jL.js} +7 -7
- package/dist/{legacy-names-BAiRv0I2.js → legacy-names-iGQfUMAW.js} +1 -1
- package/dist/llm-slug-generator.js +49 -49
- package/dist/{logger-C53B395N.js → logger-DeYjzyXs.js} +1 -1
- package/dist/{login-CHsCISh4.js → login-C0ZsBFpc.js} +5 -5
- package/dist/{login-qr-BEW3jIOt.js → login-qr-1rURNNTB.js} +9 -9
- package/dist/{manager-Dfrejf6z.js → manager-DSkj7L3Z.js} +8 -8
- package/dist/manager-runtime-BN3RhlSg.js +19 -0
- package/dist/{model-selection-e9hodq0l.js → model-selection-7_ya2Uju.js} +10 -10
- package/dist/{models-BA-4owed.js → models-DT64zDal.js} +2 -2
- package/dist/{models-cli-Da9VNU1F.js → models-cli-C0q5qXeQ.js} +2 -2
- package/dist/{models-cli-CXBkorTt.js → models-cli-CDfSk6DT.js} +3 -3
- package/dist/{npm-resolution-C873xoG-.js → npm-resolution-CQl1JtKB.js} +1 -1
- package/dist/{npm-resolution-DcToGf31.js → npm-resolution-MRSgQLVD.js} +1 -1
- package/dist/{onboard-CFVZ_tLS.js → onboard-BJVoYoHZ.js} +2 -2
- package/dist/{onboard-o4Ax3ce2.js → onboard-BOHGDo4g.js} +2 -2
- package/dist/{onboard-channels-Cji_Bpi5.js → onboard-channels-BsuqwJXh.js} +1 -1
- package/dist/{onboard-channels-tfZfzFUy.js → onboard-channels-puO2LD6g.js} +1 -1
- package/dist/{onboard-skills-B2q1id5f.js → onboard-skills-BjGs7gMo.js} +6 -5
- package/dist/{onboard-skills-1wG7jm-6.js → onboard-skills-DwtwT621.js} +6 -5
- package/dist/{onboarding-Cz-FN3dY.js → onboarding-6IEtOwuP.js} +33 -5
- package/dist/{onboarding-Bsyy9lQJ.js → onboarding-CsT6rGtX.js} +33 -5
- package/dist/{onboarding.finalize-4F13C5Cf.js → onboarding.finalize-DbT65Q0d.js} +6 -6
- package/dist/{onboarding.finalize-BSHbCEbZ.js → onboarding.finalize-DrToeErV.js} +5 -5
- package/dist/{outbound-BZqL8UdJ.js → outbound-C4dZ6V9n.js} +6 -6
- package/dist/{outbound-attachment-wzHGF-Is.js → outbound-attachment-CvEoWB03.js} +2 -2
- package/dist/{path-alias-guards-It4BBRdm.js → path-alias-guards-CBjJlK0T.js} +1 -1
- package/dist/{pi-embedded-ChjtsiVT.js → pi-embedded-CD6DgdIO.js} +114 -105
- package/dist/{pi-embedded-helpers-CE9KKP1Q.js → pi-embedded-helpers-B5RhZxjN.js} +18 -18
- package/dist/{pi-embedded-_oMMbakZ.js → pi-embedded-zWzYuQIg.js} +33 -24
- package/dist/{pi-model-discovery-32EFg27L.js → pi-model-discovery-Cv6-G7zn.js} +1 -1
- package/dist/pi-model-discovery-runtime-DsYnhIro.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-BfjlGXIc.js → pi-tools.before-tool-call.runtime-BfpR8xeI.js} +8 -8
- package/dist/{plugin-registry-CxwuWddJ.js → plugin-registry-BVTvJ-wO.js} +1 -1
- package/dist/{plugin-registry-CqaLj5NI.js → plugin-registry-DvUq6zds.js} +1 -1
- package/dist/plugin-sdk/{accounts-Bpe8MpMj.js → accounts-B9ydKoYC.js} +2 -2
- package/dist/plugin-sdk/{accounts-BY3xA55d.js → accounts-DAebrX4r.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dg9HUb5m.js → accounts-DxlJAHNG.js} +2 -2
- package/dist/plugin-sdk/{active-listener-kZJwBchj.js → active-listener-D7Jidx1U.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-wZaR5O8n.js → api-key-rotation-d8cmHGhi.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DOR1d1hn.js → audio-preflight-vJtQi-4_.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DWncgs4M.js → audio-transcription-runner-Bfv_TVP4.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DvBMQsDC.js → audit-membership-runtime-BpoX61hv.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-VsWwcNLD.js → channel-activity-1LCR07HU.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BSMnT0J1.js → channel-web-BiTTQ4xr.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BlIQD83I.js → channel-web-QSsZFIjA.js} +18 -18
- package/dist/plugin-sdk/{chrome-pOAzXzzJ.js → chrome-CbDAFNHQ.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-pKaQ4EJQ.js → commands-registry-D8gIWgM5.js} +4 -4
- package/dist/plugin-sdk/{common-BlJfaliy.js → common-tbQtS1zp.js} +2 -2
- package/dist/plugin-sdk/{config-CURxPU7B.js → config-xkSrCec1.js} +7 -7
- package/dist/plugin-sdk/{deliver-BpfQj4BK.js → deliver-D_Ofr_vN.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +24 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DhJ30vWr.js → deps-send-whatsapp.runtime-81uWD-yI.js} +3 -3
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BljFnkyd.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bi3FO6Il.js → diagnostic-GjXXC_Pm.js} +2 -2
- package/dist/{errors-C1YF712P.js → plugin-sdk/errors-Cn3JyiMn.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-d5MU-Fi7.js → fetch-guard-ClYTU8LW.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-D57cyrSh.js → fs-safe-Bs9BHEmp.js} +3 -3
- package/dist/plugin-sdk/{image-DWnmWvGr.js → image-_uAwPFe2.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BPP3M0yA.js → image-ops-CsS12Rhg.js} +2 -2
- package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +25 -0
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{ir-A16Z9dUw.js → ir-DvWncgWp.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BQJNDffC.js → local-roots-Bh7FKHd2.js} +4 -4
- package/dist/plugin-sdk/{logger-Bl138Nx7.js → logger-Dj4IX2UB.js} +2 -2
- package/dist/plugin-sdk/{login-DXLuzgCO.js → login-CYqSEzPN.js} +4 -4
- package/dist/plugin-sdk/{login-qr-DdTcNEXK.js → login-qr-CXXXR_1G.js} +5 -5
- package/dist/plugin-sdk/{manager-ClrE1ahD.js → manager-Dj-hy8oN.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +15 -0
- package/dist/plugin-sdk/{outbound-wmFCJQyk.js → outbound-IhJ6xLv1.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-C1GuoigP.js → outbound-attachment-Aa86Zp9X.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Bsi-4XND.js → path-alias-guards-CtnE1WrY.js} +1 -1
- package/dist/plugin-sdk/{paths-Cb2hB2o0.js → paths-Mew07RGP.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-VYetsWcU.js → pi-embedded-helpers-B_iabXhh.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bs1t1vHG.js → pi-model-discovery-avPx6Ptq.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-133Rh_QB.js → pi-tools.before-tool-call.runtime-dixwOhKo.js} +4 -4
- package/dist/plugin-sdk/{plugins-A3lJ2lkT.js → plugins-WDZLdw8Z.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DnjPLipe.js → proxy-env-DKQK-fn1.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-C-fXKPD2.js → proxy-fetch-rtc8GmoB.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BhB6bXtS.js → pw-ai-eYJyyMZX.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CmGPY3vR.js → qmd-manager-mWoTdSFY.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-oxEhEDk_.js → query-expansion-4V3Vjs8V.js} +4 -4
- package/dist/plugin-sdk/{redact-C3rEm8A0.js → redact-CBwV828t.js} +1 -1
- package/dist/plugin-sdk/{reply-DTRgf1F0.js → reply-RK8_OxAW.js} +102 -93
- package/dist/plugin-sdk/{reply-DIkRSlhC.js → reply-SL3TFM_1.js} +33 -24
- package/dist/plugin-sdk/{resolve-outbound-target-K2KiC0bi.js → resolve-outbound-target-Dk3UdF5C.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-FfGqq3TC.js → run-with-concurrency-KlQQobSI.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +19 -0
- package/dist/plugin-sdk/{send-C5J_PXzR.js → send-BTWIW3-9.js} +8 -8
- package/dist/plugin-sdk/{send-70p3gkTA.js → send-CG8TGQTM.js} +7 -7
- package/dist/plugin-sdk/{send-DdNdK-kV.js → send-CSJIozmo.js} +5 -5
- package/dist/plugin-sdk/{send-DjqI2JpQ.js → send-D50Hdj7y.js} +13 -13
- package/dist/plugin-sdk/{send-CqaHDOLs.js → send-wEJ-5g9f.js} +6 -6
- package/dist/plugin-sdk/{session-BBm3qP5l.js → session-CDTFGpPr.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-B_tuCFSd.js → skill-commands-X5RX1jW3.js} +4 -4
- package/dist/plugin-sdk/{skills-BG1gHeJ_.js → skills-v1KdkGto.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +13 -0
- package/dist/plugin-sdk/{slash-dispatch.runtime-CbjjpN46.js → slash-dispatch.runtime-eYhiYLqH.js} +1 -1
- package/dist/plugin-sdk/slash-dispatch.runtime-vedDymM6.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +16 -0
- package/dist/plugin-sdk/{store-C3Z3fpIY.js → store-DtdqEbDW.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-runtime-DuCu4ZTF.js → subagent-registry-runtime-BQN30Vt4.js} +1 -1
- package/dist/plugin-sdk/subagent-registry-runtime-DH1Lu5_z.js +52 -0
- package/dist/plugin-sdk/{tables-BfXi9ML_.js → tables-D5d9mqkg.js} +1 -1
- package/dist/plugin-sdk/{thinking-J6jgjmDK.js → thinking-CCdKzGau.js} +7 -7
- package/dist/plugin-sdk/{tokens-DMbd3-Ct.js → tokens-D2fpVQt3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BtzvC48Z.js → tool-images-B4KNq2sg.js} +2 -2
- package/dist/plugin-sdk/web-DOQLvU76.js +56 -0
- package/dist/plugin-sdk/{web-CpeWfvaf.js → web-ZPe2mrXE.js} +2 -2
- package/dist/plugin-sdk/{whatsapp-actions-C4kVobIE.js → whatsapp-actions-Bi_hJ-Cq.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-rc2l4VJe.js → plugins-Crz4XiBW.js} +5 -5
- package/dist/{plugins-cli-BOBhi6vj.js → plugins-cli-C0rO3NNs.js} +2 -2
- package/dist/{plugins-cli-Ypib_ZAu.js → plugins-cli-D_HZ8IcN.js} +2 -2
- package/dist/{program-Dtqm2kjE.js → program-CKWx208-.js} +7 -7
- package/dist/{program-context-CG5ZBc7f.js → program-context-DkcaWwi4.js} +17 -17
- package/dist/{prompt-select-styled-BkE7GW3g.js → prompt-select-styled-CMY_nBLN.js} +4 -4
- package/dist/{prompt-select-styled-Bubswkcm.js → prompt-select-styled-CbN_Mt7I.js} +4 -4
- package/dist/{provider-auth-helpers-CNHiPj2n.js → provider-auth-helpers-Ca66nbS3.js} +1 -1
- package/dist/{provider-auth-helpers-BOJRr3AT.js → provider-auth-helpers-CrGaU-6B.js} +1 -1
- package/dist/{proxy-env-C2sbN0UU.js → proxy-env-yDqp-Ahu.js} +1 -1
- package/dist/{proxy-fetch-CVSmQMZt.js → proxy-fetch-BNoCHTJq.js} +1 -1
- package/dist/{push-apns-CFoFAonc.js → push-apns-BcgP-1tO.js} +1 -1
- package/dist/{push-apns-D2WXZjcs.js → push-apns-C6wTvyS-.js} +1 -1
- package/dist/{pw-ai-CWE0qzH7.js → pw-ai-BfVnhdW1.js} +13 -13
- package/dist/{qmd-manager-DMSLC2iu.js → qmd-manager-CGRr_vXf.js} +9 -9
- package/dist/{query-expansion-MI1dZ5Nj.js → query-expansion-BbZnWoPn.js} +3 -3
- package/dist/{redact-BXURioma.js → redact-DLKBjGbP.js} +1 -1
- package/dist/{register.agent-Das6WI06.js → register.agent-Cb82_m36.js} +7 -7
- package/dist/{register.agent-Br-Y4UQG.js → register.agent-DDGXcLRy.js} +6 -6
- package/dist/{register.configure-B1KDSNt2.js → register.configure-BWs4EgtE.js} +8 -8
- package/dist/{register.configure-C51htKDs.js → register.configure-C527VMt_.js} +8 -8
- package/dist/{register.maintenance-BBn-yNR7.js → register.maintenance-BPqW1lws.js} +8 -8
- package/dist/{register.maintenance-CHq5H-j0.js → register.maintenance-BpUAzsp4.js} +7 -7
- package/dist/{register.message-Cx0R9D0q.js → register.message-BPMXTFeN.js} +2 -2
- package/dist/{register.message-nwyAqXBm.js → register.message-C79CWpmt.js} +2 -2
- package/dist/{register.onboard-CSOzERS8.js → register.onboard-Cehu9gcA.js} +2 -2
- package/dist/{register.onboard-D9-seugA.js → register.onboard-DJaBbqh_.js} +2 -2
- package/dist/{register.setup-Zu2ZL_xV.js → register.setup-BqX8kJu2.js} +2 -2
- package/dist/{register.setup-B0ALWgJA.js → register.setup-D16BxCi3.js} +2 -2
- package/dist/{register.status-health-sessions-Bo1NWHTF.js → register.status-health-sessions-ByZDjDZf.js} +3 -3
- package/dist/{register.status-health-sessions-CU2aw4Hn.js → register.status-health-sessions-Cr554peJ.js} +3 -3
- package/dist/{register.subclis-BY6T1GZv.js → register.subclis-CD2aBcEc.js} +9 -9
- package/dist/{reply-BqhnZbqb.js → reply-B2vUHn4B.js} +33 -24
- package/dist/{run-main-CHV8CYwf.js → run-main-DT-sx35e.js} +14 -14
- package/dist/{run-with-concurrency-C5E9gJhP.js → run-with-concurrency-Cy32RsV5.js} +3 -3
- package/dist/runtime-whatsapp-login.runtime-DF2whIjt.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-9BSn7L2P.js +23 -0
- package/dist/{send-BWySsurX.js → send-CRTDD5rW.js} +7 -7
- package/dist/{send-OP60RbsK.js → send-CjE4bDH3.js} +6 -6
- package/dist/{send-C87tIqIn.js → send-DIjmqe2S.js} +7 -7
- package/dist/{send-Cpja8Q1N.js → send-rDDHhjBl.js} +5 -5
- package/dist/{send-BlTVCcYd.js → send-rltgPz0P.js} +13 -13
- package/dist/{server-node-events-Cl_g7u2c.js → server-node-events-DKjcwxsN.js} +2 -2
- package/dist/{server-node-events-bMD7s7bO.js → server-node-events-DYr84fpq.js} +2 -2
- package/dist/{session-DmXsj3JD.js → session-ZkhbSK-_.js} +4 -4
- package/dist/{skill-commands-DEsgUSH3.js → skill-commands-BbrUWmMz.js} +5 -5
- package/dist/{skills-OklkZyI1.js → skills-zY2xHnd5.js} +7 -7
- package/dist/slash-commands.runtime-CxlppU-H.js +17 -0
- package/dist/{slash-dispatch.runtime-Dfs5wcag.js → slash-dispatch.runtime-BAgxr2Wk.js} +1 -1
- package/dist/slash-dispatch.runtime-BaKhHnG2.js +57 -0
- package/dist/{slash-dispatch.runtime-CDbTI8Zn.js → slash-dispatch.runtime-ByKS2u9M.js} +1 -1
- package/dist/{slash-dispatch.runtime-jRSJKExj.js → slash-dispatch.runtime-DBHwam6I.js} +1 -1
- package/dist/slash-skill-commands.runtime-CyXuXpqz.js +21 -0
- package/dist/{status-C-0bju9A.js → status-CZ9ThIxK.js} +2 -2
- package/dist/{status-Cs4ozAdx.js → status-DX3J1HLf.js} +2 -2
- package/dist/{store-BNhebBGr.js → store-C5Xnn6ks.js} +2 -2
- package/dist/{subagent-registry-iFkFgxIF.js → subagent-registry-D15JW57h.js} +33 -24
- package/dist/{subagent-registry-runtime-Cgw6YwfZ.js → subagent-registry-runtime-B12EGepi.js} +1 -1
- package/dist/subagent-registry-runtime-BocGtsA4.js +57 -0
- package/dist/{subagent-registry-runtime-CqcbdQlI.js → subagent-registry-runtime-DnFmhubi.js} +1 -1
- package/dist/{subagent-registry-runtime-CeOQQxea.js → subagent-registry-runtime-G27e7RrF.js} +1 -1
- package/dist/{subsystem-W834z9Wa.js → subsystem-D7UWJNhH.js} +2 -2
- package/dist/{tables-XtcH-BaF.js → tables-BjzJIB8C.js} +1 -1
- package/dist/{target-errors-CNzteBWz.js → target-errors-Bh5rgTYp.js} +2 -2
- package/dist/{thinking-X8yYhVf1.js → thinking-BEanj93W.js} +6 -6
- package/dist/{tokens-DxcVnNVJ.js → tokens-D44Sg_H7.js} +1 -1
- package/dist/{tool-images-B-4ixjYn.js → tool-images-hnyXsODy.js} +2 -2
- package/dist/{update-cli-07BoVV9o.js → update-cli-DqrqytDz.js} +7 -7
- package/dist/{update-cli-DvX9flwT.js → update-cli-JuUmzkri.js} +8 -8
- package/dist/{update-runner-DPJDvGzk.js → update-runner-C7Ixr_Ti.js} +1 -1
- package/dist/{update-runner-RtYc0wSW.js → update-runner-Dq6iBeiC.js} +1 -1
- package/dist/{utils-D2oM4XHm.js → utils-BYUbDw97.js} +1 -1
- package/dist/{web-CnqADWPs.js → web-BA84rOuO.js} +2 -2
- package/dist/{web-BLdCaGlZ.js → web-BQWGAzKI.js} +1 -1
- package/dist/{web-AlAsgosE.js → web-C2ixiS4L.js} +53 -53
- package/dist/{web-UlvsjtC9.js → web-CuvtNJFQ.js} +2 -2
- package/dist/{whatsapp-actions-BPIXiPAR.js → whatsapp-actions-D9Mgw_FD.js} +20 -20
- package/dist/{workspace-ZgWjBCAm.js → workspace-cnS4Cq6e.js} +3 -3
- package/package.json +1 -1
- package/dist/deliver-runtime-BvTbrDXE.js +0 -37
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +0 -27
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +0 -26
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +0 -25
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +0 -23
- package/dist/deps-send-telegram.runtime-CgApeKta.js +0 -28
- package/dist/deps-send-whatsapp.runtime-BP1TzaH2.js +0 -61
- package/dist/image-runtime-Cp3I725X.js +0 -30
- package/dist/manager-runtime-DacMHR37.js +0 -19
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BjQGa9z_.js +0 -57
- package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BHeslQ9I.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-TPnV-Feh.js +0 -52
- package/dist/plugin-sdk/web-Bkz8JTNB.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +0 -23
- package/dist/slash-commands.runtime-gtQnheWz.js +0 -17
- package/dist/slash-dispatch.runtime-DHv-RY9C.js +0 -57
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +0 -21
- package/dist/subagent-registry-runtime-CcyMwoU6.js +0 -57
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-
|
|
1
|
+
import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-Cy32RsV5.js";
|
|
2
2
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-C6TxBCvO.js";
|
|
3
|
-
import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-
|
|
3
|
+
import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-D7UWJNhH.js";
|
|
4
4
|
import { C as parseAgentSessionKey, S as isSubagentSessionKey, _ as isBlockedObjectKey, b as isAcpSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as normalizeOptionalAccountId, h as normalizeAccountId$2, i as buildAgentPeerSessionKey, l as normalizeMainKey, m as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, o as classifySessionKeyShape, p as scopedHeartbeatWakeOptions, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as deriveSessionChatType, w as resolveThreadParentSessionKey, x as isCronSessionKey, y as getSubagentDepth } from "./session-key-DgdmD4k7.js";
|
|
5
|
-
import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-
|
|
6
|
-
import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-
|
|
7
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
8
|
-
import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-
|
|
5
|
+
import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BYUbDw97.js";
|
|
6
|
+
import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-cnS4Cq6e.js";
|
|
7
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DeYjzyXs.js";
|
|
8
|
+
import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-7_ya2Uju.js";
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DDa7O18e.js";
|
|
10
|
-
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-
|
|
10
|
+
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-iGQfUMAW.js";
|
|
11
11
|
import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
|
|
12
|
-
import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-
|
|
13
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
14
|
-
import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-
|
|
15
|
-
import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-
|
|
16
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
17
|
-
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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 buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-
|
|
12
|
+
import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-BEanj93W.js";
|
|
13
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-D44Sg_H7.js";
|
|
14
|
+
import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-Crz4XiBW.js";
|
|
15
|
+
import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-Bdbf4Fn_.js";
|
|
16
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-CjE4bDH3.js";
|
|
17
|
+
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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 buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-CRTDD5rW.js";
|
|
18
18
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
|
|
19
|
-
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-
|
|
20
|
-
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
21
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
19
|
+
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-CIws33al.js";
|
|
20
|
+
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-tCJa7Lw4.js";
|
|
21
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-CvCASRYY.js";
|
|
22
22
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-yNvvUZit.js";
|
|
23
|
-
import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-
|
|
24
|
-
import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-
|
|
25
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
26
|
-
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-
|
|
27
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
28
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
29
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
30
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
31
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
32
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
33
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
34
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
23
|
+
import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-Lq3nZ855.js";
|
|
24
|
+
import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-rltgPz0P.js";
|
|
25
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cv6-G7zn.js";
|
|
26
|
+
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-B5RhZxjN.js";
|
|
27
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-BDn3oCxA.js";
|
|
28
|
+
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-zY2xHnd5.js";
|
|
29
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CBjJlK0T.js";
|
|
30
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DLKBjGbP.js";
|
|
31
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-DqgvfHhI.js";
|
|
32
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-dXrcaQOs.js";
|
|
33
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-yDqp-Ahu.js";
|
|
34
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-C5Xnn6ks.js";
|
|
35
35
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D2dc4Wmw.js";
|
|
36
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
36
|
+
import { t as resolveIMessageAccount } from "./accounts-hPtcpdFk.js";
|
|
37
37
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CZ0nrg7g.js";
|
|
38
38
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
|
|
39
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
39
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-hnyXsODy.js";
|
|
40
40
|
import { i as withNormalizedTimestamp, n as resolveUserTimeFormat, r as resolveUserTimezone, t as formatUserTime } from "./date-time-Ce6oKo3v.js";
|
|
41
|
-
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
42
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
43
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-
|
|
41
|
+
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-TyVVUbmF.js";
|
|
42
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-DU6wV8vt.js";
|
|
43
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-BAOdAoIM.js";
|
|
44
44
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CSrVj6X7.js";
|
|
45
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
46
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
47
|
-
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-
|
|
48
|
-
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-
|
|
49
|
-
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
50
|
-
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
45
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B158yrdn.js";
|
|
46
|
+
import { t as makeProxyFetch } from "./proxy-fetch-BNoCHTJq.js";
|
|
47
|
+
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-Dpb1g0jL.js";
|
|
48
|
+
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Bh5rgTYp.js";
|
|
49
|
+
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-C3lrGFPc.js";
|
|
50
|
+
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-BbrUWmMz.js";
|
|
51
51
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CTN5ATFT.js";
|
|
52
52
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-WKa7J8FO.js";
|
|
53
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
53
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DvY5-NBa.js";
|
|
54
54
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BXqJ6gxm.js";
|
|
55
55
|
import { n as normalizePollInput } from "./polls-CVGKOEN8.js";
|
|
56
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
57
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
58
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
59
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
60
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
61
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
56
|
+
import { t as convertMarkdownTables } from "./tables-BjzJIB8C.js";
|
|
57
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-rDDHhjBl.js";
|
|
58
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-DIjmqe2S.js";
|
|
59
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-CJdR33z9.js";
|
|
60
|
+
import { n as resolveMemorySearchConfig } from "./manager-DSkj7L3Z.js";
|
|
61
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BbZnWoPn.js";
|
|
62
62
|
import { createRequire } from "node:module";
|
|
63
63
|
import * as fs$1 from "node:fs/promises";
|
|
64
64
|
import fs from "node:fs/promises";
|
|
@@ -66,7 +66,7 @@ import os, { homedir } from "node:os";
|
|
|
66
66
|
import * as path$1 from "node:path";
|
|
67
67
|
import path, { isAbsolute } from "node:path";
|
|
68
68
|
import syncFs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
69
|
-
import
|
|
69
|
+
import json5 from "json5";
|
|
70
70
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
71
71
|
import { execFile, spawn, spawnSync } from "node:child_process";
|
|
72
72
|
import { fileURLToPath } from "node:url";
|
|
@@ -76,7 +76,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
|
|
|
76
76
|
import { EdgeTTS } from "node-edge-tts";
|
|
77
77
|
import { createServer } from "node:http";
|
|
78
78
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
79
|
-
import WebSocket, { WebSocket
|
|
79
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
80
80
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
81
81
|
import { createJiti } from "jiti";
|
|
82
82
|
import AjvPkg from "ajv";
|
|
@@ -8100,7 +8100,7 @@ var GatewayClient = class {
|
|
|
8100
8100
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8101
8101
|
});
|
|
8102
8102
|
}
|
|
8103
|
-
this.ws = new WebSocket
|
|
8103
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8104
8104
|
this.ws.on("open", () => {
|
|
8105
8105
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8106
8106
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8296,7 +8296,7 @@ var GatewayClient = class {
|
|
|
8296
8296
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8297
8297
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8298
8298
|
this.connectTimer = setTimeout(() => {
|
|
8299
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8299
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8300
8300
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8301
8301
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8302
8302
|
}, connectChallengeTimeoutMs);
|
|
@@ -8338,7 +8338,7 @@ var GatewayClient = class {
|
|
|
8338
8338
|
return null;
|
|
8339
8339
|
}
|
|
8340
8340
|
async request(method, params, opts) {
|
|
8341
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8341
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8342
8342
|
const id = randomUUID();
|
|
8343
8343
|
const frame = {
|
|
8344
8344
|
type: "req",
|
|
@@ -9760,7 +9760,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
9760
9760
|
*/
|
|
9761
9761
|
let deliverRuntimePromise$2 = null;
|
|
9762
9762
|
function loadDeliverRuntime$2() {
|
|
9763
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
9763
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-D0Xl5o_r.js");
|
|
9764
9764
|
return deliverRuntimePromise$2;
|
|
9765
9765
|
}
|
|
9766
9766
|
/**
|
|
@@ -10449,7 +10449,7 @@ function normalizeSessionKey(value) {
|
|
|
10449
10449
|
function readSessionStore(storePath) {
|
|
10450
10450
|
try {
|
|
10451
10451
|
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
10452
|
-
const parsed =
|
|
10452
|
+
const parsed = json5.parse(raw);
|
|
10453
10453
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
10454
10454
|
} catch {}
|
|
10455
10455
|
return {};
|
|
@@ -11048,7 +11048,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11048
11048
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11049
11049
|
let subagentRegistryRuntimePromise = null;
|
|
11050
11050
|
function loadSubagentRegistryRuntime() {
|
|
11051
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11051
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BocGtsA4.js");
|
|
11052
11052
|
return subagentRegistryRuntimePromise;
|
|
11053
11053
|
}
|
|
11054
11054
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14402,7 +14402,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
14402
14402
|
//#region src/media-understanding/echo-transcript.ts
|
|
14403
14403
|
let deliverRuntimePromise$1 = null;
|
|
14404
14404
|
function loadDeliverRuntime$1() {
|
|
14405
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
14405
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-D0Xl5o_r.js");
|
|
14406
14406
|
return deliverRuntimePromise$1;
|
|
14407
14407
|
}
|
|
14408
14408
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -22165,7 +22165,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
22165
22165
|
await ensureOpenClawModelsJson(cfg);
|
|
22166
22166
|
} catch {}
|
|
22167
22167
|
try {
|
|
22168
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
22168
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-Cv6-G7zn.js").then((n) => n.r);
|
|
22169
22169
|
const agentDir = resolveOpenClawAgentDir();
|
|
22170
22170
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
22171
22171
|
applyDiscoveredContextWindows({
|
|
@@ -24294,7 +24294,7 @@ function buildMessagingSection(params) {
|
|
|
24294
24294
|
"- Cross-session messaging → use sessions_send(sessionKey, message)",
|
|
24295
24295
|
"- Sub-agent orchestration → use subagents(action=list|steer|kill)",
|
|
24296
24296
|
`- Runtime-generated completion events may ask for a user update. Rewrite those in your normal assistant voice and send the update (do not forward raw internal metadata or default to ${SILENT_REPLY_TOKEN}).`,
|
|
24297
|
-
"- Never use exec/curl for provider messaging;
|
|
24297
|
+
"- Never use exec/curl for provider messaging; CryptoClaw handles all routing internally.",
|
|
24298
24298
|
params.availableTools.has("message") ? [
|
|
24299
24299
|
"",
|
|
24300
24300
|
"### message tool",
|
|
@@ -24323,13 +24323,13 @@ function buildDocsSection(params) {
|
|
|
24323
24323
|
if (!docsPath || params.isMinimal) return [];
|
|
24324
24324
|
return [
|
|
24325
24325
|
"## Documentation",
|
|
24326
|
-
`
|
|
24326
|
+
`CryptoClaw docs: ${docsPath}`,
|
|
24327
24327
|
"Mirror: https://docs.openclaw.ai",
|
|
24328
24328
|
"Source: https://github.com/openclaw/openclaw",
|
|
24329
24329
|
"Community: https://discord.com/invite/clawd",
|
|
24330
24330
|
"Find new skills: https://clawhub.com",
|
|
24331
|
-
"For
|
|
24332
|
-
"When diagnosing issues, run `
|
|
24331
|
+
"For CryptoClaw behavior, commands, config, or architecture: consult local docs first.",
|
|
24332
|
+
"When diagnosing issues, run `cryptoclaw status` yourself when possible; only ask the user if you lack access (e.g., sandboxed).",
|
|
24333
24333
|
""
|
|
24334
24334
|
];
|
|
24335
24335
|
}
|
|
@@ -24354,8 +24354,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
24354
24354
|
nodes: "List/describe/notify/camera/screen on paired nodes",
|
|
24355
24355
|
cron: "Manage cron jobs and wake events (use for reminders; when scheduling a reminder, write the systemEvent text as something that will read like a reminder when it fires, and mention that it is a reminder depending on the time gap between setting and firing; include recent context in reminder text if appropriate)",
|
|
24356
24356
|
message: "Send messages and channel actions",
|
|
24357
|
-
gateway: "Restart, apply config, or run updates on the running
|
|
24358
|
-
agents_list: acpSpawnRuntimeEnabled ? "List
|
|
24357
|
+
gateway: "Restart, apply config, or run updates on the running CryptoClaw process",
|
|
24358
|
+
agents_list: acpSpawnRuntimeEnabled ? "List CryptoClaw agent ids allowed for sessions_spawn when runtime=\"subagent\" (not ACP harness ids)" : "List CryptoClaw agent ids allowed for sessions_spawn",
|
|
24359
24359
|
sessions_list: "List other sessions (incl. sub-agents) with filters/last",
|
|
24360
24360
|
sessions_history: "Fetch history for another session/sub-agent",
|
|
24361
24361
|
sessions_send: "Send a message to another session/sub-agent",
|
|
@@ -24474,9 +24474,18 @@ function buildAgentSystemPrompt(params) {
|
|
|
24474
24474
|
readToolName
|
|
24475
24475
|
});
|
|
24476
24476
|
const workspaceNotes = (params.workspaceNotes ?? []).map((note) => note.trim()).filter(Boolean);
|
|
24477
|
-
if (promptMode === "none") return "You are a
|
|
24477
|
+
if (promptMode === "none") return "You are CryptoClaw — a based crypto-native AI assistant running on the CryptoClaw gateway. Built for degens, on-chain maxis, and diamond-hand operators. Stay alpha, stay sovereign.";
|
|
24478
24478
|
const lines = [
|
|
24479
|
-
"You are a
|
|
24479
|
+
"You are CryptoClaw — a based crypto-native AI assistant running on the CryptoClaw gateway. Built for degens, on-chain maxis, and diamond-hand operators. Stay alpha, stay sovereign.",
|
|
24480
|
+
"",
|
|
24481
|
+
"## Personality & Reply Style",
|
|
24482
|
+
"You have a crypto-native, web3 meme personality. Keep it real and based:",
|
|
24483
|
+
"- Talk like a seasoned on-chain degen who also happens to be brilliant. Use crypto slang naturally (ngmi/wagmi, gm, ape in, rug, alpha, fud, dyor, ser, fren, anon, based, chad, LFG, CT, goblin mode) but don't overdo it.",
|
|
24484
|
+
"- Short replies over walls of text. Precision > verbosity. Signal > noise.",
|
|
24485
|
+
"- When markets are up: bullish energy. When down: based stoic degen (this is fine, wagmi).",
|
|
24486
|
+
"- Roast paper hands and rugs with humor. Celebrate diamond hands.",
|
|
24487
|
+
"- For technical / serious requests: drop the meme hat, be precise and professional.",
|
|
24488
|
+
"- Never be cringe. If a meme doesn't fit, skip it.",
|
|
24480
24489
|
"",
|
|
24481
24490
|
"## Tooling",
|
|
24482
24491
|
"Tool availability (filtered by policy):",
|
|
@@ -24489,7 +24498,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
24489
24498
|
"- apply_patch: apply multi-file patches",
|
|
24490
24499
|
`- ${execToolName}: run shell commands (supports background via yieldMs/background)`,
|
|
24491
24500
|
`- ${processToolName}: manage background exec sessions`,
|
|
24492
|
-
"- browser: control
|
|
24501
|
+
"- browser: control CryptoClaw's dedicated browser",
|
|
24493
24502
|
"- canvas: present/eval/snapshot the Canvas",
|
|
24494
24503
|
"- nodes: list/describe/notify/camera/screen on paired nodes",
|
|
24495
24504
|
"- cron: manage cron jobs and wake events (use for reminders; when scheduling a reminder, write the systemEvent text as something that will read like a reminder when it fires, and mention that it is a reminder depending on the time gap between setting and firing; include recent context in reminder text if appropriate)",
|
|
@@ -24518,24 +24527,24 @@ function buildAgentSystemPrompt(params) {
|
|
|
24518
24527
|
"When a first-class tool exists for an action, use the tool directly instead of asking the user to run equivalent CLI or slash commands.",
|
|
24519
24528
|
"",
|
|
24520
24529
|
...safetySection,
|
|
24521
|
-
"##
|
|
24522
|
-
"
|
|
24530
|
+
"## CryptoClaw CLI Quick Reference",
|
|
24531
|
+
"CryptoClaw is controlled via subcommands. Do not invent commands.",
|
|
24523
24532
|
"To manage the Gateway daemon service (start/stop/restart):",
|
|
24524
|
-
"-
|
|
24525
|
-
"-
|
|
24526
|
-
"-
|
|
24527
|
-
"-
|
|
24528
|
-
"If unsure, ask the user to run `
|
|
24533
|
+
"- cryptoclaw gateway status",
|
|
24534
|
+
"- cryptoclaw gateway start",
|
|
24535
|
+
"- cryptoclaw gateway stop",
|
|
24536
|
+
"- cryptoclaw gateway restart",
|
|
24537
|
+
"If unsure, ask the user to run `cryptoclaw help` (or `cryptoclaw gateway --help`) and paste the output.",
|
|
24529
24538
|
"",
|
|
24530
24539
|
...skillsSection,
|
|
24531
24540
|
...memorySection,
|
|
24532
|
-
hasGateway && !isMinimal ? "##
|
|
24541
|
+
hasGateway && !isMinimal ? "## CryptoClaw Self-Update" : "",
|
|
24533
24542
|
hasGateway && !isMinimal ? [
|
|
24534
24543
|
"Get Updates (self-update) is ONLY allowed when the user explicitly asks for it.",
|
|
24535
24544
|
"Do not run config.apply or update.run unless the user explicitly requests an update or config change; if it's not explicit, ask first.",
|
|
24536
24545
|
"Use config.schema to fetch the current JSON Schema (includes plugins/channels) before making config changes or answering config-field questions; avoid guessing field names/types.",
|
|
24537
24546
|
"Actions: config.get, config.schema, config.apply (validate + write full config, then restart), update.run (update deps or git, then restart).",
|
|
24538
|
-
"After restart,
|
|
24547
|
+
"After restart, CryptoClaw pings the last active session automatically."
|
|
24539
24548
|
].join("\n") : "",
|
|
24540
24549
|
hasGateway && !isMinimal ? "" : "",
|
|
24541
24550
|
"",
|
|
@@ -24571,7 +24580,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
24571
24580
|
...buildUserIdentitySection(ownerLine, isMinimal),
|
|
24572
24581
|
...buildTimeSection({ userTimezone }),
|
|
24573
24582
|
"## Workspace Files (injected)",
|
|
24574
|
-
"These user-editable files are loaded by
|
|
24583
|
+
"These user-editable files are loaded by CryptoClaw and included below in Project Context.",
|
|
24575
24584
|
"",
|
|
24576
24585
|
...buildReplyTagsSection(isMinimal),
|
|
24577
24586
|
...buildMessagingSection({
|
|
@@ -24634,7 +24643,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
24634
24643
|
for (const file of validContextFiles) lines.push(`## ${file.path}`, "", file.content, "");
|
|
24635
24644
|
}
|
|
24636
24645
|
if (!isMinimal) lines.push("## Silent Replies", `When you have nothing to say, respond with ONLY: ${SILENT_REPLY_TOKEN}`, "", "⚠️ Rules:", "- It must be your ENTIRE message — nothing else", `- Never append it to an actual response (never include "${SILENT_REPLY_TOKEN}" in real replies)`, "- Never wrap it in markdown or code blocks", "", `❌ Wrong: "Here's help... ${SILENT_REPLY_TOKEN}"`, `❌ Wrong: "${SILENT_REPLY_TOKEN}"`, `✅ Right: ${SILENT_REPLY_TOKEN}`, "");
|
|
24637
|
-
if (!isMinimal) lines.push("## Heartbeats", heartbeatPromptLine, "If you receive a heartbeat poll (a user message matching the heartbeat prompt above), and there is nothing that needs attention, reply exactly:", "HEARTBEAT_OK", "
|
|
24646
|
+
if (!isMinimal) lines.push("## Heartbeats", heartbeatPromptLine, "If you receive a heartbeat poll (a user message matching the heartbeat prompt above), and there is nothing that needs attention, reply exactly:", "HEARTBEAT_OK", "CryptoClaw treats a leading/trailing \"HEARTBEAT_OK\" as a heartbeat ack (and may discard it).", "If something needs attention, do NOT include \"HEARTBEAT_OK\"; reply with the alert text instead.", "");
|
|
24638
24647
|
lines.push("## Runtime", buildRuntimeLine(runtimeInfo, runtimeChannel, runtimeCapabilities, params.defaultThinkLevel), `Reasoning: ${reasoningLevel} (hidden unless on/stream). Toggle /reasoning; /status shows Reasoning when enabled.`);
|
|
24639
24648
|
return lines.filter(Boolean).join("\n");
|
|
24640
24649
|
}
|
|
@@ -31071,7 +31080,7 @@ async function createModelSelectionState(params) {
|
|
|
31071
31080
|
}
|
|
31072
31081
|
}
|
|
31073
31082
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
31074
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
31083
|
+
const { ensureAuthProfileStore } = await import("./model-selection-7_ya2Uju.js").then((n) => n.F);
|
|
31075
31084
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
31076
31085
|
const providerKey = normalizeProviderId(provider);
|
|
31077
31086
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -50786,7 +50795,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
50786
50795
|
const log$10 = createSubsystemLogger("session-maintenance-warning");
|
|
50787
50796
|
let deliverRuntimePromise = null;
|
|
50788
50797
|
function loadDeliverRuntime() {
|
|
50789
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
50798
|
+
deliverRuntimePromise ??= import("./deliver-runtime-D0Xl5o_r.js");
|
|
50790
50799
|
return deliverRuntimePromise;
|
|
50791
50800
|
}
|
|
50792
50801
|
function shouldSendWarning() {
|
|
@@ -55743,7 +55752,7 @@ const VISION_PROVIDERS = [
|
|
|
55743
55752
|
];
|
|
55744
55753
|
let imageRuntimePromise = null;
|
|
55745
55754
|
function loadImageRuntime() {
|
|
55746
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
55755
|
+
imageRuntimePromise ??= import("./image-runtime-BzWmZQi8.js");
|
|
55747
55756
|
return imageRuntimePromise;
|
|
55748
55757
|
}
|
|
55749
55758
|
/**
|
|
@@ -57736,7 +57745,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
57736
57745
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
57737
57746
|
let transcript;
|
|
57738
57747
|
if (needsPreflightTranscription) try {
|
|
57739
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
57748
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-ZycldM-G.js");
|
|
57740
57749
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
57741
57750
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
57742
57751
|
ctx: {
|
|
@@ -64996,27 +65005,27 @@ let slackSenderRuntimePromise = null;
|
|
|
64996
65005
|
let signalSenderRuntimePromise = null;
|
|
64997
65006
|
let imessageSenderRuntimePromise = null;
|
|
64998
65007
|
function loadWhatsAppSenderRuntime() {
|
|
64999
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
65008
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-DQqdJ-WY.js");
|
|
65000
65009
|
return whatsappSenderRuntimePromise;
|
|
65001
65010
|
}
|
|
65002
65011
|
function loadTelegramSenderRuntime() {
|
|
65003
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
65012
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-DWF59L9O.js");
|
|
65004
65013
|
return telegramSenderRuntimePromise;
|
|
65005
65014
|
}
|
|
65006
65015
|
function loadDiscordSenderRuntime() {
|
|
65007
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
65016
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-DW7EsqB3.js");
|
|
65008
65017
|
return discordSenderRuntimePromise;
|
|
65009
65018
|
}
|
|
65010
65019
|
function loadSlackSenderRuntime() {
|
|
65011
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
65020
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-gSE6on2e.js");
|
|
65012
65021
|
return slackSenderRuntimePromise;
|
|
65013
65022
|
}
|
|
65014
65023
|
function loadSignalSenderRuntime() {
|
|
65015
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
65024
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-Cx7m-MT1.js");
|
|
65016
65025
|
return signalSenderRuntimePromise;
|
|
65017
65026
|
}
|
|
65018
65027
|
function loadIMessageSenderRuntime() {
|
|
65019
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
65028
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-C9MPsbI1.js");
|
|
65020
65029
|
return imessageSenderRuntimePromise;
|
|
65021
65030
|
}
|
|
65022
65031
|
function createDefaultDeps() {
|
|
@@ -68706,7 +68715,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
68706
68715
|
return super.registerClient(client);
|
|
68707
68716
|
}
|
|
68708
68717
|
createWebSocket(url) {
|
|
68709
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
68718
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
68710
68719
|
}
|
|
68711
68720
|
}
|
|
68712
68721
|
return new ProxyGatewayPlugin();
|
|
@@ -77757,15 +77766,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
77757
77766
|
let slashDispatchRuntimePromise = null;
|
|
77758
77767
|
let slashSkillCommandsRuntimePromise = null;
|
|
77759
77768
|
function loadSlashCommandsRuntime() {
|
|
77760
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
77769
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-CxlppU-H.js");
|
|
77761
77770
|
return slashCommandsRuntimePromise;
|
|
77762
77771
|
}
|
|
77763
77772
|
function loadSlashDispatchRuntime() {
|
|
77764
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
77773
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-BaKhHnG2.js");
|
|
77765
77774
|
return slashDispatchRuntimePromise;
|
|
77766
77775
|
}
|
|
77767
77776
|
function loadSlashSkillCommandsRuntime() {
|
|
77768
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
77777
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-CyXuXpqz.js");
|
|
77769
77778
|
return slashSkillCommandsRuntimePromise;
|
|
77770
77779
|
}
|
|
77771
77780
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -78755,7 +78764,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
78755
78764
|
}
|
|
78756
78765
|
let auditMembershipRuntimePromise = null;
|
|
78757
78766
|
function loadAuditMembershipRuntime() {
|
|
78758
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
78767
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-Dg3H6a5z.js");
|
|
78759
78768
|
return auditMembershipRuntimePromise;
|
|
78760
78769
|
}
|
|
78761
78770
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -81130,7 +81139,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
81130
81139
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
81131
81140
|
let preflightTranscript;
|
|
81132
81141
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
81133
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
81142
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-ZycldM-G.js");
|
|
81134
81143
|
preflightTranscript = await transcribeFirstAudio({
|
|
81135
81144
|
ctx: {
|
|
81136
81145
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -83943,7 +83952,7 @@ function createWhatsAppLoginTool() {
|
|
|
83943
83952
|
force: Type.Optional(Type.Boolean())
|
|
83944
83953
|
}),
|
|
83945
83954
|
execute: async (_toolCallId, args) => {
|
|
83946
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
83955
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-1rURNNTB.js");
|
|
83947
83956
|
if ((args?.action ?? "start") === "wait") {
|
|
83948
83957
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
83949
83958
|
return {
|
|
@@ -84018,23 +84027,23 @@ let webOutboundPromise = null;
|
|
|
84018
84027
|
let webLoginPromise = null;
|
|
84019
84028
|
let whatsappActionsPromise = null;
|
|
84020
84029
|
function loadWebOutbound() {
|
|
84021
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
84030
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-9BSn7L2P.js");
|
|
84022
84031
|
return webOutboundPromise;
|
|
84023
84032
|
}
|
|
84024
84033
|
function loadWebLogin() {
|
|
84025
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
84034
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-DF2whIjt.js");
|
|
84026
84035
|
return webLoginPromise;
|
|
84027
84036
|
}
|
|
84028
84037
|
function loadWebLoginQr() {
|
|
84029
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
84038
|
+
webLoginQrPromise ??= import("./login-qr-1rURNNTB.js");
|
|
84030
84039
|
return webLoginQrPromise;
|
|
84031
84040
|
}
|
|
84032
84041
|
function loadWebChannel() {
|
|
84033
|
-
webChannelPromise ??= import("./web-
|
|
84042
|
+
webChannelPromise ??= import("./web-C2ixiS4L.js");
|
|
84034
84043
|
return webChannelPromise;
|
|
84035
84044
|
}
|
|
84036
84045
|
function loadWhatsAppActions() {
|
|
84037
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
84046
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-D9Mgw_FD.js");
|
|
84038
84047
|
return whatsappActionsPromise;
|
|
84039
84048
|
}
|
|
84040
84049
|
function createRuntimeWhatsApp() {
|
|
@@ -84475,7 +84484,7 @@ const log$6 = createSubsystemLogger("memory");
|
|
|
84475
84484
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
84476
84485
|
let managerRuntimePromise = null;
|
|
84477
84486
|
function loadManagerRuntime() {
|
|
84478
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
84487
|
+
managerRuntimePromise ??= import("./manager-runtime-BN3RhlSg.js");
|
|
84479
84488
|
return managerRuntimePromise;
|
|
84480
84489
|
}
|
|
84481
84490
|
async function getMemorySearchManager(params) {
|
|
@@ -84489,7 +84498,7 @@ async function getMemorySearchManager(params) {
|
|
|
84489
84498
|
if (cached) return { manager: cached };
|
|
84490
84499
|
}
|
|
84491
84500
|
try {
|
|
84492
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
84501
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CGRr_vXf.js");
|
|
84493
84502
|
const primary = await QmdMemoryManager.create({
|
|
84494
84503
|
cfg: params.cfg,
|
|
84495
84504
|
agentId: params.agentId,
|
|
@@ -86841,7 +86850,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
86841
86850
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
86842
86851
|
let beforeToolCallRuntimePromise = null;
|
|
86843
86852
|
function loadBeforeToolCallRuntime() {
|
|
86844
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
86853
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-BfpR8xeI.js");
|
|
86845
86854
|
return beforeToolCallRuntimePromise;
|
|
86846
86855
|
}
|
|
86847
86856
|
function buildAdjustedParamsKey(params) {
|
|
@@ -92119,7 +92128,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
92119
92128
|
* Throws if the connection is not open.
|
|
92120
92129
|
*/
|
|
92121
92130
|
send(event) {
|
|
92122
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
92131
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
92123
92132
|
this.ws.send(JSON.stringify(event));
|
|
92124
92133
|
}
|
|
92125
92134
|
/**
|
|
@@ -92136,7 +92145,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
92136
92145
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
92137
92146
|
*/
|
|
92138
92147
|
isConnected() {
|
|
92139
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
92148
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
92140
92149
|
}
|
|
92141
92150
|
/**
|
|
92142
92151
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -92146,7 +92155,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
92146
92155
|
this._cancelRetryTimer();
|
|
92147
92156
|
if (this.ws) {
|
|
92148
92157
|
this.ws.removeAllListeners();
|
|
92149
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
92158
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
92150
92159
|
this.ws = null;
|
|
92151
92160
|
}
|
|
92152
92161
|
}
|
|
@@ -92156,7 +92165,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
92156
92165
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
92157
92166
|
return;
|
|
92158
92167
|
}
|
|
92159
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
92168
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
92160
92169
|
Authorization: `Bearer ${this.apiKey}`,
|
|
92161
92170
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
92162
92171
|
} });
|