@hanzo/bot 2026.3.13 → 2026.3.15
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-CU6IpCdO.js → accounts-CG15R7_x.js} +2 -2
- package/dist/{accounts-BfUDrXkg.js → accounts-HvKVZFoM.js} +4 -4
- package/dist/{accounts-CvwEUGLi.js → accounts-OQxQvcyx.js} +2 -2
- package/dist/{active-listener-BrRv4Xwc.js → active-listener-DBPw4vTM.js} +2 -2
- package/dist/{agents-BgcZWy8R.js → agents-CgK9dWnI.js} +4 -4
- package/dist/{agents.config-DHCxVehl.js → agents.config-2CujSrTv.js} +1 -1
- package/dist/{api-key-rotation-GaH2pQmb.js → api-key-rotation-B0bi2vq9.js} +2 -2
- package/dist/{audio-preflight-hEJ-K1Ib.js → audio-preflight-D2ryNxLv.js} +4 -4
- package/dist/{audio-preflight-v4TKWdfx.js → audio-preflight-DAondsPt.js} +5 -5
- package/dist/{audio-preflight-ClPkYtiy.js → audio-preflight-DmObQ1Bw.js} +30 -30
- package/dist/{audio-transcription-runner-CqUAFMxM.js → audio-transcription-runner-BI-TLd1r.js} +1 -1
- package/dist/{audio-transcription-runner-DM2ij952.js → audio-transcription-runner-BzPC7Q6d.js} +1 -1
- package/dist/{audio-transcription-runner-DcmYYRTV.js → audio-transcription-runner-DS9qYrgl.js} +12 -12
- package/dist/{audit-CTw3RqQk.js → audit-46YuxE6O.js} +3 -3
- package/dist/{audit-membership-runtime-BJ149bTU.js → audit-membership-runtime-BkkdpSa7.js} +3 -3
- package/dist/{auth-choice-BoavmEu-.js → auth-choice--W5Bo0PU.js} +1 -1
- package/dist/{banner-Dgotew9l.js → banner-DHNyasW6.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 +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +49 -49
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BtB_KYWB.js → channel-activity-CQOiHjvE.js} +3 -3
- package/dist/{channel-options-DydOJUqF.js → channel-options-tVOZI_t1.js} +1 -1
- package/dist/{channel-web-CPaLbhLZ.js → channel-web-CD518m9v.js} +3 -3
- package/dist/{channels-cli-B24yCpKz.js → channels-cli-BDqh33Ys.js} +17 -17
- package/dist/{chrome-jdOx2dAl.js → chrome-DWoTm_BG.js} +8 -8
- package/dist/{chrome-CiH9yYg6.js → chrome-h-vz6xx6.js} +15 -15
- package/dist/{cli-g43y8N6J.js → cli-BIDqWcAt.js} +11 -11
- package/dist/{cloud-connect-yv8A2P84.js → cloud-connect-RSXfOmiR.js} +1 -1
- package/dist/{command-registry-Cv2iLR2d.js → command-registry-BvpfIQ-B.js} +10 -10
- package/dist/{commands-registry-CYzULUtG.js → commands-registry-D1bPnFkE.js} +4 -4
- package/dist/{compact-CC2mySD2.js → compact-BjR1GO9N.js} +26 -26
- package/dist/{completion-cli-GBME2e4p.js → completion-cli-BSqfQ96j.js} +2 -2
- package/dist/{config-cli-DcNPT10a.js → config-cli-9EXTYC_G.js} +1 -1
- package/dist/{configure-DWTR8CaU.js → configure-vfqHR-Ob.js} +3 -3
- package/dist/{deliver-BOuynKws.js → deliver-BXOYgT6b.js} +1 -1
- package/dist/{deliver-DpRQLcxS.js → deliver-BrVS3qD4.js} +1 -1
- package/dist/{deliver-CQ6QaVna.js → deliver-DIfgc_hp.js} +11 -11
- package/dist/{deliver-runtime-BIYoLgfc.js → deliver-runtime-CrMJ-8bG.js} +4 -4
- package/dist/deliver-runtime-qMvfsRWv.js +36 -0
- package/dist/{deliver-runtime-9qy2zTFN.js → deliver-runtime-y426rL_k.js} +3 -3
- package/dist/deps-send-discord.runtime-BHYqfmdZ.js +26 -0
- package/dist/deps-send-imessage.runtime-woedbCWc.js +25 -0
- package/dist/deps-send-signal.runtime-30tAqTv6.js +24 -0
- package/dist/deps-send-slack.runtime-Dx_1Qus0.js +22 -0
- package/dist/deps-send-telegram.runtime-DeTzsc94.js +27 -0
- package/dist/deps-send-whatsapp.runtime-CG2MxOWS.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-CZEk5mx7.js → deps-send-whatsapp.runtime-CUDRJQI6.js} +7 -7
- package/dist/{deps-send-whatsapp.runtime-C5Gqpcg6.js → deps-send-whatsapp.runtime-DdqoE4LB.js} +13 -13
- package/dist/{diagnostic-Dt3OGXoB.js → diagnostic-F2Kug9Hj.js} +2 -2
- package/dist/{doctor-completion-BrfibcC-.js → doctor-completion-DxLomP-G.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DDrhcWHi.js → errors-D2ORDJPK.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-C7bGdK_0.js → fetch-DXYq6-ML.js} +4 -4
- package/dist/{fetch-guard-Danf_0St.js → fetch-guard-BoUCaTor.js} +2 -2
- package/dist/{frontmatter-BFHzrAY7.js → frontmatter-DH91cf0z.js} +3 -3
- package/dist/{fs-safe-Cou1ijNV.js → fs-safe-BVB8il6B.js} +3 -3
- package/dist/{gateway-cli-StUopVU1.js → gateway-cli-CJxuEOt3.js} +20 -20
- package/dist/{health-CIu3C-9Q.js → health-BIVRmg3E.js} +2 -2
- package/dist/{hooks-cli-WLqXDn1t.js → hooks-cli-D_Kexzle.js} +12 -12
- package/dist/{image-Cw0N8PLF.js → image-Cv2EvMzJ.js} +6 -6
- package/dist/{image-YeyG7rr8.js → image-D99xLnGA.js} +1 -1
- package/dist/{image-ops-C23SGeMe.js → image-ops-BuPQCBu2.js} +2 -2
- package/dist/{image-runtime-DZ9BSPkK.js → image-runtime-BHiX93k-.js} +3 -3
- package/dist/image-runtime-CHZootZe.js +29 -0
- package/dist/{image-runtime-CkjsPsOm.js → image-runtime-CKGdygmV.js} +4 -4
- package/dist/{image-BtIO0pBi.js → image-z4GWHqB3.js} +1 -1
- package/dist/{ir-CeK8iZwE.js → ir-ZdefqHy0.js} +8 -8
- package/dist/{legacy-names-Bkl4tjN-.js → legacy-names-BCm4ov65.js} +1 -1
- package/dist/llm-slug-generator.js +49 -49
- package/dist/local-cloud-register-1fwMDgoT.js +80 -0
- package/dist/{local-launch-CUwfR4xk.js → local-launch-Ch6Hajul.js} +18 -9
- package/dist/{logger-D4RcXHR-.js → logger-B-R_-5mh.js} +1 -1
- package/dist/{login-CHghmysG.js → login-DHG6r0f1.js} +5 -5
- package/dist/{login-qr-CNFNhTf4.js → login-qr-BsLaN5_a.js} +8 -8
- package/dist/{manager-DD6mzJNU.js → manager-Du8JJA-5.js} +9 -9
- package/dist/manager-runtime-CQ-L7TKf.js +18 -0
- package/dist/{memory-cli-C_3IZ0fW.js → memory-cli-Dn9zGR6N.js} +2 -2
- package/dist/{model-selection-CLGE3YIs.js → model-selection-C1EA5mD5.js} +10 -10
- package/dist/{models-BnnR3HNx.js → models-BJcb0Gsp.js} +2 -2
- package/dist/{models-cli-Dh3Xh-U4.js → models-cli-dWMz4kyL.js} +13 -13
- package/dist/{node-cli-DxsgqFJL.js → node-cli-C9j4B_Ic.js} +3 -3
- package/dist/{npm-resolution-CHN9fA-N.js → npm-resolution-BhYm1ibr.js} +1 -1
- package/dist/{onboard-CA8ymoSZ.js → onboard-3bvsuOAd.js} +4 -4
- package/dist/{onboard-channels-CDwdXuyl.js → onboard-channels-B9eeEss7.js} +1 -1
- package/dist/{onboarding-RG_GFVjP.js → onboarding-Czj6KFW-.js} +5 -5
- package/dist/{onboarding.finalize-DLY4Gj8B.js → onboarding.finalize-EQ-TuhT6.js} +17 -17
- package/dist/{outbound-qbvc4GA6.js → outbound-BCdC2l_p.js} +6 -6
- package/dist/{outbound-attachment-gUN8NzLf.js → outbound-attachment-DNmB_5ai.js} +2 -2
- package/dist/{path-alias-guards-BzNEeFKJ.js → path-alias-guards-CTtqTDdw.js} +1 -1
- package/dist/{paths-0WxUzzEz.js → paths-BWRe3x1k.js} +1 -1
- package/dist/{pi-embedded-DF0t5HJD.js → pi-embedded-DIacM4lK.js} +85 -85
- package/dist/{pi-embedded-bklbT-yp.js → pi-embedded-DoF5GLjn.js} +24 -24
- package/dist/{pi-embedded-helpers-BT9OkmaI.js → pi-embedded-helpers-BQrtFAUp.js} +19 -19
- package/dist/{pi-embedded-helpers-BRlEO138.js → pi-embedded-helpers-BY8OQhh0.js} +1 -1
- package/dist/{pi-embedded-helpers-CSHUPpwW.js → pi-embedded-helpers-DkZKaPa4.js} +3 -3
- package/dist/{pi-model-discovery-vsJpfYA9.js → pi-model-discovery-M5D1rhcm.js} +1 -1
- package/dist/pi-model-discovery-runtime-C8MrATPZ.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-D-Vj4eZ7.js → pi-tools.before-tool-call.runtime-CwxNGXjS.js} +7 -7
- package/dist/{pi-tools.policy-DAb4P4GW.js → pi-tools.policy-BrQ63Bj9.js} +1 -1
- package/dist/{plugin-registry-C36DXS6U.js → plugin-registry-D26LWN-Z.js} +1 -1
- package/dist/{plugins-BZY4UQdP.js → plugins-961ZhKn1.js} +6 -6
- package/dist/{plugins-cli-C88ulFeM.js → plugins-cli-fLXZZC22.js} +12 -12
- package/dist/{program-Chz5Hoc_.js → program-BtF0ZkDd.js} +17 -17
- package/dist/{prompt-select-styled-Cnj_u70U.js → prompt-select-styled-BfczYutw.js} +8 -8
- package/dist/{provider-auth-helpers-DolTpePk.js → provider-auth-helpers-CBjmm_ID.js} +1 -1
- package/dist/{proxy-env-BgSzvACM.js → proxy-env-74z8dpZH.js} +1 -1
- package/dist/{proxy-fetch-ChfJDZwG.js → proxy-fetch-CF5kidRK.js} +1 -1
- package/dist/{push-apns-BaNTufvQ.js → push-apns-MAO9H4XO.js} +1 -1
- package/dist/{pw-ai-BdnHQKSu.js → pw-ai-DtcdsY-L.js} +1 -1
- package/dist/{pw-ai-CaeuHJYc.js → pw-ai-JYw2eWnW.js} +12 -12
- package/dist/{pw-ai-C99W41P5.js → pw-ai-Mq6HuD9y.js} +1 -1
- package/dist/{qmd-manager-IaHGjYlf.js → qmd-manager-CFp1mM2Q.js} +9 -9
- package/dist/{query-expansion-CzkZbxDS.js → query-expansion-4ZhJrRJ-.js} +4 -4
- package/dist/{redact-DGz6yigq.js → redact-Ce4hro-U.js} +1 -1
- package/dist/{register.agent-CVmy0QuI.js → register.agent-CHEwEZtX.js} +17 -17
- package/dist/{register.configure-eNxk7twC.js → register.configure-D8vLH4yU.js} +17 -17
- package/dist/{register.maintenance-C__vlEep.js → register.maintenance-Dv2KIxrl.js} +18 -18
- package/dist/{register.message-rY-2WSyJ.js → register.message-BQ_fgdlA.js} +12 -12
- package/dist/{register.onboard-Bz2OjeWo.js → register.onboard-W-p--yGa.js} +2 -2
- package/dist/{register.setup-D9aI41fa.js → register.setup-BzthtHIV.js} +2 -2
- package/dist/{register.status-health-sessions-BhzZiSYx.js → register.status-health-sessions-Djj4vFlt.js} +14 -14
- package/dist/{register.subclis-CXnZNn-C.js → register.subclis-U-P8R3Tg.js} +13 -13
- package/dist/{run-main-BmfZLBd9.js → run-main-uV_Tc1Zj.js} +27 -27
- package/dist/{run-with-concurrency-Ccm0w34R.js → run-with-concurrency-CSxVaPSN.js} +3 -3
- package/dist/runtime-whatsapp-login.runtime-9dM4PEEO.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-iO7Gq_Kz.js +22 -0
- package/dist/{sandbox-ym919iBR.js → sandbox-BLJ8R_1a.js} +1 -1
- package/dist/{sandbox-cli-BzXc1NV2.js → sandbox-cli-BnvHQ236.js} +2 -2
- package/dist/{security-cli-C5dnisib.js → security-cli-BHBHaa5w.js} +4 -4
- package/dist/{send-Dsz28eiu.js → send--gf3Vf5r.js} +14 -14
- package/dist/{send-BRWGalFX.js → send-BqKXHfdB.js} +8 -8
- package/dist/{send-CYoz4Xjy.js → send-D7zge0_Z.js} +7 -7
- package/dist/{send-tBfK5Za7.js → send-Dd0GXzpB.js} +5 -5
- package/dist/{send-Cpd5Q5mD.js → send-IQXINWmd.js} +6 -6
- package/dist/{server-CzB_Kx2l.js → server-BV6RXHsf.js} +20 -20
- package/dist/{server-C7hcdRV3.js → server-BY19I3Dd.js} +4 -4
- package/dist/{server-context-BSmlR7Q5.js → server-context-yWVGr_lB.js} +2 -2
- package/dist/{server-lifecycle-C4MoiD0X.js → server-lifecycle-BwmW0cra.js} +1 -1
- package/dist/{server-node-events-CDwunFHR.js → server-node-events-D5oBojrD.js} +12 -12
- package/dist/{session-Dn8bzB0l.js → session-CPwkLPj9.js} +4 -4
- package/dist/{skill-commands-LO2hG7Hm.js → skill-commands-Db_-4yN7.js} +5 -5
- package/dist/{skills-mpCKgKof.js → skills-YCv5B0wF.js} +7 -7
- package/dist/slash-commands.runtime-GMPbP1Dr.js +16 -0
- package/dist/{slash-dispatch.runtime-CLPlz-lX.js → slash-dispatch.runtime-BI4kyhSk.js} +6 -6
- package/dist/{slash-dispatch.runtime-BbKq7jN5.js → slash-dispatch.runtime-C4MLH_mQ.js} +11 -11
- package/dist/slash-dispatch.runtime-DpVGhbi1.js +56 -0
- package/dist/slash-skill-commands.runtime-BzWnQ9NP.js +20 -0
- package/dist/{status-bEx_Pd0R.js → status-BRPDYOcg.js} +1 -1
- package/dist/{status-CauIYYCe.js → status-qVQcv42d.js} +5 -5
- package/dist/{store-DbpT7v8D.js → store-9I35NJKv.js} +2 -2
- package/dist/subagent-registry-runtime-D-r3bjNk.js +56 -0
- package/dist/{subagent-registry-runtime-f4u0Og1o.js → subagent-registry-runtime-m50mDUaJ.js} +11 -11
- package/dist/{subagent-registry-runtime-TuyVULIb.js → subagent-registry-runtime-nzkRCNeS.js} +6 -6
- package/dist/{subsystem-W834z9Wa.js → subsystem-D7UWJNhH.js} +2 -2
- package/dist/{tables-BpeU6RzS.js → tables-DSgbtxY6.js} +1 -1
- package/dist/{target-errors-Dcsvl3HX.js → target-errors-CIUEhTo8.js} +2 -2
- package/dist/{thinking-DzbkyD99.js → thinking-DRF1QDeZ.js} +7 -7
- package/dist/{tokens-Cyi-NbsV.js → tokens-Csbpu55k.js} +1 -1
- package/dist/{tool-images-DktJ_8C5.js → tool-images-lWgf2YVR.js} +2 -2
- package/dist/{tui-D8wLrgMd.js → tui-CD4fBjXn.js} +1 -1
- package/dist/{tui-cli-Dti9XarI.js → tui-cli-WkndhCuM.js} +4 -4
- package/dist/{update-cli-Bwlrcxdl.js → update-cli-GdO_Eghz.js} +18 -18
- package/dist/{update-runner-BoxNjBV8.js → update-runner-7m11PYmV.js} +1 -1
- package/dist/{web-Ci3EFOGu.js → web-72kt7sM1.js} +6 -6
- package/dist/{web-CrOE2C19.js → web-A5_lGvet.js} +12 -12
- package/dist/{web-BByXTa4p.js → web-x0tCOQLk.js} +53 -53
- package/dist/{whatsapp-actions-BK9m2IVX.js → whatsapp-actions-BfFPTEGe.js} +19 -19
- package/dist/{with-timeout-DGwXuLa1.js → with-timeout-DlW-DrTJ.js} +2 -2
- package/dist/{workspace-BhNk7PBH.js → workspace-P7FpMYTX.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/ci-fix-loop/package.json +1 -1
- package/extensions/continuous-learning/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/flow/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +10 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +10 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +10 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/self-improvement/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +10 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +10 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +10 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +10 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/deliver-runtime-AIl3Ydhb.js +0 -36
- package/dist/deps-send-discord.runtime-BCKKTBVj.js +0 -26
- package/dist/deps-send-imessage.runtime-CrYNg1e_.js +0 -25
- package/dist/deps-send-signal.runtime-rttQOioa.js +0 -24
- package/dist/deps-send-slack.runtime-BsCUhMAR.js +0 -22
- package/dist/deps-send-telegram.runtime-sOFkXXMD.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B4PrMybd.js +0 -60
- package/dist/image-runtime-BTWt5pDL.js +0 -29
- package/dist/manager-runtime-Daqs8hiB.js +0 -18
- package/dist/pi-model-discovery-runtime-C9astVbX.js +0 -11
- package/dist/runtime-whatsapp-login.runtime-BQjNpkbA.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-GVjcQLWE.js +0 -22
- package/dist/slash-commands.runtime-Qho-6_Lc.js +0 -16
- package/dist/slash-dispatch.runtime-CkR-TldC.js +0 -56
- package/dist/slash-skill-commands.runtime-DmrTozXn.js +0 -20
- package/dist/subagent-registry-runtime-DWAZpHqO.js +0 -56
- /package/dist/{audit-membership-runtime-CeqjH2Xd.js → audit-membership-runtime-DjUKMS0Y.js} +0 -0
- /package/dist/{auth-choice-C97v5130.js → auth-choice-fiSIGrzK.js} +0 -0
- /package/dist/{daemon-install-CxZuBEFQ.js → daemon-install-B_53-S1n.js} +0 -0
- /package/dist/{login-qr-DWM-X78-.js → login-qr-2D7dYcr0.js} +0 -0
- /package/dist/{manager-runtime-DNhQe6uY.js → manager-runtime-DE1WoB-5.js} +0 -0
- /package/dist/{onboard-hooks-A_yzMMuZ.js → onboard-hooks-DXEd1toB.js} +0 -0
- /package/dist/{onboarding.gateway-config-C-jsPyUH.js → onboarding.gateway-config-Cb4WIvQ1.js} +0 -0
- /package/dist/{qmd-manager-zclDu91s.js → qmd-manager-37sAyQfw.js} +0 -0
- /package/dist/{runtime-whatsapp-login.runtime-BKmgwVHJ.js → runtime-whatsapp-login.runtime-B8_SjAfm.js} +0 -0
- /package/dist/{runtime-whatsapp-outbound.runtime-DayF5fke.js → runtime-whatsapp-outbound.runtime-BsuWz0Jm.js} +0 -0
- /package/dist/{slash-commands.runtime-bD5xpLNj.js → slash-commands.runtime-DxLatpsP.js} +0 -0
- /package/dist/{slash-skill-commands.runtime-DHnP_S4_.js → slash-skill-commands.runtime-DwkMZIGr.js} +0 -0
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
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-
|
|
2
|
+
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-CSxVaPSN.js";
|
|
3
3
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-C6TxBCvO.js";
|
|
4
|
-
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-
|
|
5
|
-
import { $ as parseAgentSessionKey, A as normalizeWindowsPathForComparison, B as resolveAgentIdFromSessionKey, G as normalizeAccountId$2, H as sanitizeAgentId, I as classifySessionKeyShape, J as deriveSessionChatType, K as normalizeOptionalAccountId, L as isValidAgentId, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, P as buildAgentPeerSessionKey, Q as isSubagentSessionKey, R as normalizeAgentId, U as scopedHeartbeatWakeOptions, V as resolveThreadSessionKeys, W as DEFAULT_ACCOUNT_ID, X as isAcpSessionKey, Y as getSubagentDepth, Z as isCronSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, et as resolveThreadParentSessionKey, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, q as isBlockedObjectKey, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync, z as normalizeMainKey } from "./workspace-
|
|
6
|
-
import { C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$1, h as normalizeE164, i as logWarn, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./logger-
|
|
7
|
-
import { $n as isDangerousHostEnvVarName, $t as setActivePluginRegistry, A as getCustomProviderApiKey, An as extractShellWrapperInlineCommand, At as isAvatarHttpUrl, B as markAuthProfileFailure, Bn as isSafeExecutableValue, Bt as resolveEffectiveEnableState, C as OLLAMA_NATIVE_BASE_URL, Cn as buildEnforcedShellCommand, Cr as DEFAULT_CONTEXT_TOKENS, D as buildStreamErrorAssistantMessage, Dn as matchAllowlist, E as buildAssistantMessageWithZeroUsage, En as DEFAULT_SAFE_BINS, Fn as splitShellArgs, Ft as discoverOpenClawPlugins, G as resolveSecretRefValues, Gt as listChatChannels, H as resolveProfilesUnavailableReason, Hn as resolveDiscordPreviewStreamMode, I as resolveAuthProfileOrder, In as SAFE_BIN_PROFILES, It as isPathInside, J as isRecord$2, Jn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Jt as normalizeChatChannelId, K as describeUnknownError$1, Kt as normalizeAnyChannelId, L as clearExpiredCooldowns, Ln as normalizeSafeBinProfileFixtures, Lt as safeStatSync, M as resolveApiKeyForProvider, Mn as isShellWrapperExecutable, Mt as isSupportedLocalAvatarExtension, N as resolveEnvApiKey, Nn as unwrapKnownDispatchWrapperInvocation, Nt as validateJsonSchemaValue, O as buildUsageWithNoCost, On as resolveAllowlistCandidatePath, Ot as AVATAR_MAX_BYTES, P as resolveModelAuthMode, Pn as unwrapKnownShellMultiplexerInvocation, Pt as loadPluginManifestRegistry, Q as readConfigFileSnapshot, Qn as resolveShellEnvFallbackTimeoutMs, Qt as requireActivePluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveSafeBinProfiles, Rt as applyTestPluginDefaults, S as retryAsync, Sn as analyzeShellCommand, Sr as splitTrailingAuthProfile, T as buildAssistantMessage, Tn as splitCommandChain, Tr as DEFAULT_PROVIDER, U as resolveApiKeyForProfile, Un as resolveSlackNativeStreaming, Ut as CHAT_CHANNEL_ORDER, V as markAuthProfileUsed, Vn as mapStreamingModeToSlackLegacyDraftStreamMode, Vt as resolveMemorySlotDecision, W as resolveSecretRefValue, Wn as resolveSlackStreamingMode, Wt as getChatChannelMeta, Xn as VERSION, Xt as getActivePluginRegistryKey, Y as parseDotPath, Yn as resolveAgentMaxConcurrent, Yt as getActivePluginRegistry, Z as loadConfig, Zn as getShellPathFromLoginShell, _n as getTrustedSafeBinDirs, _r as coerceSecretRef, a as isCliProvider, an as listPluginCommands, ar as ensureAuthProfileStore, at as resolveTelegramCustomCommands, bn as normalizeTrustedSafeBinDirs, c as normalizeProviderId, cn as resolveContextEngine, cr as withFileLock, d as resolveDefaultModelForAgent, dn as setConfigOverride, dt as normalizeScpRemoteHost, en as createPluginRegistry, er as isTruthyEnvValue, et as resolveConfigSnapshotHash, f as resolveModelRefFromString, fn as unsetConfigOverride, fr as formatCliCommand, ft as parseNonNegativeByteSize, gn as unsetConfigValueAtPath, gr as normalizeSecretInput, h as resolveThinkingDefault, hn as setConfigValueAtPath, ht as parseDurationMs, i as findNormalizedProviderValue, in as getPluginCommandSpecs, ir as markAuthProfileGood, it as normalizeTelegramCommandName, j as requireApiKey, jn as isDispatchWrapperExecutable, jt as isPathWithinRoot, k as getApiKeyForModel, kn as resolveCommandResolutionFromArgv, kt as isAvatarDataUrl, ln as getConfigOverrides, lt as resolveIMessageAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as parseConfigPath, mr as resolveAuthProfileDisplayLabel, n as buildConfiguredAllowlistKeys, nn as clearPluginCommands, nr as dedupeProfileIds, nt as validateConfigObjectWithPlugins, o as modelKey, on as matchPluginCommand, or as resolveAuthStorePathForDisplay, p as resolveReasoningDefault, pn as getConfigValueAtPath, pr as resolveCliName, pt as secretRefKey, q as isNonEmptyString, qt as normalizeChannelId$1, r as buildModelAliasIndex, rn as executePluginCommand, rr as listProfilesForProvider, rt as TELEGRAM_COMMAND_NAME_PATTERN, s as normalizeModelRef$2, sn as registerContextEngine, sr as resolveOpenClawAgentDir, st as isInboundPathAllowed, t as buildAllowedModelSet, tn as normalizePluginHttpPath, tr as resolveOwnerDisplaySetting, tt as writeConfigFile, u as resolveConfiguredModelRef, un as resetConfigOverrides, ut as resolveIMessageRemoteAttachmentRoots, vn as isTrustedSafeBinPath, vr as hasConfiguredSecretInput, w as createOllamaStreamFn, wn as isWindowsPlatform, wr as DEFAULT_MODEL, x as resolveRetryConfig, xn as validateSafeBinArgv, xr as resolveSecretInputRef, yn as listWritableExplicitTrustedSafeBinDirs, yr as normalizeResolvedSecretInputString, z as isProfileInCooldown, zn as applyMergePatch, zt as normalizePluginsConfig } from "./model-selection-
|
|
4
|
+
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";
|
|
5
|
+
import { $ as parseAgentSessionKey, A as normalizeWindowsPathForComparison, B as resolveAgentIdFromSessionKey, G as normalizeAccountId$2, H as sanitizeAgentId, I as classifySessionKeyShape, J as deriveSessionChatType, K as normalizeOptionalAccountId, L as isValidAgentId, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, P as buildAgentPeerSessionKey, Q as isSubagentSessionKey, R as normalizeAgentId, U as scopedHeartbeatWakeOptions, V as resolveThreadSessionKeys, W as DEFAULT_ACCOUNT_ID, X as isAcpSessionKey, Y as getSubagentDepth, Z as isCronSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, et as resolveThreadParentSessionKey, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, q as isBlockedObjectKey, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync, z as normalizeMainKey } from "./workspace-P7FpMYTX.js";
|
|
6
|
+
import { C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$1, h as normalizeE164, i as logWarn, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./logger-B-R_-5mh.js";
|
|
7
|
+
import { $n as isDangerousHostEnvVarName, $t as setActivePluginRegistry, A as getCustomProviderApiKey, An as extractShellWrapperInlineCommand, At as isAvatarHttpUrl, B as markAuthProfileFailure, Bn as isSafeExecutableValue, Bt as resolveEffectiveEnableState, C as OLLAMA_NATIVE_BASE_URL, Cn as buildEnforcedShellCommand, Cr as DEFAULT_CONTEXT_TOKENS, D as buildStreamErrorAssistantMessage, Dn as matchAllowlist, E as buildAssistantMessageWithZeroUsage, En as DEFAULT_SAFE_BINS, Fn as splitShellArgs, Ft as discoverOpenClawPlugins, G as resolveSecretRefValues, Gt as listChatChannels, H as resolveProfilesUnavailableReason, Hn as resolveDiscordPreviewStreamMode, I as resolveAuthProfileOrder, In as SAFE_BIN_PROFILES, It as isPathInside, J as isRecord$2, Jn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Jt as normalizeChatChannelId, K as describeUnknownError$1, Kt as normalizeAnyChannelId, L as clearExpiredCooldowns, Ln as normalizeSafeBinProfileFixtures, Lt as safeStatSync, M as resolveApiKeyForProvider, Mn as isShellWrapperExecutable, Mt as isSupportedLocalAvatarExtension, N as resolveEnvApiKey, Nn as unwrapKnownDispatchWrapperInvocation, Nt as validateJsonSchemaValue, O as buildUsageWithNoCost, On as resolveAllowlistCandidatePath, Ot as AVATAR_MAX_BYTES, P as resolveModelAuthMode, Pn as unwrapKnownShellMultiplexerInvocation, Pt as loadPluginManifestRegistry, Q as readConfigFileSnapshot, Qn as resolveShellEnvFallbackTimeoutMs, Qt as requireActivePluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveSafeBinProfiles, Rt as applyTestPluginDefaults, S as retryAsync, Sn as analyzeShellCommand, Sr as splitTrailingAuthProfile, T as buildAssistantMessage, Tn as splitCommandChain, Tr as DEFAULT_PROVIDER, U as resolveApiKeyForProfile, Un as resolveSlackNativeStreaming, Ut as CHAT_CHANNEL_ORDER, V as markAuthProfileUsed, Vn as mapStreamingModeToSlackLegacyDraftStreamMode, Vt as resolveMemorySlotDecision, W as resolveSecretRefValue, Wn as resolveSlackStreamingMode, Wt as getChatChannelMeta, Xn as VERSION, Xt as getActivePluginRegistryKey, Y as parseDotPath, Yn as resolveAgentMaxConcurrent, Yt as getActivePluginRegistry, Z as loadConfig, Zn as getShellPathFromLoginShell, _n as getTrustedSafeBinDirs, _r as coerceSecretRef, a as isCliProvider, an as listPluginCommands, ar as ensureAuthProfileStore, at as resolveTelegramCustomCommands, bn as normalizeTrustedSafeBinDirs, c as normalizeProviderId, cn as resolveContextEngine, cr as withFileLock, d as resolveDefaultModelForAgent, dn as setConfigOverride, dt as normalizeScpRemoteHost, en as createPluginRegistry, er as isTruthyEnvValue, et as resolveConfigSnapshotHash, f as resolveModelRefFromString, fn as unsetConfigOverride, fr as formatCliCommand, ft as parseNonNegativeByteSize, gn as unsetConfigValueAtPath, gr as normalizeSecretInput, h as resolveThinkingDefault, hn as setConfigValueAtPath, ht as parseDurationMs, i as findNormalizedProviderValue, in as getPluginCommandSpecs, ir as markAuthProfileGood, it as normalizeTelegramCommandName, j as requireApiKey, jn as isDispatchWrapperExecutable, jt as isPathWithinRoot, k as getApiKeyForModel, kn as resolveCommandResolutionFromArgv, kt as isAvatarDataUrl, ln as getConfigOverrides, lt as resolveIMessageAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as parseConfigPath, mr as resolveAuthProfileDisplayLabel, n as buildConfiguredAllowlistKeys, nn as clearPluginCommands, nr as dedupeProfileIds, nt as validateConfigObjectWithPlugins, o as modelKey, on as matchPluginCommand, or as resolveAuthStorePathForDisplay, p as resolveReasoningDefault, pn as getConfigValueAtPath, pr as resolveCliName, pt as secretRefKey, q as isNonEmptyString, qt as normalizeChannelId$1, r as buildModelAliasIndex, rn as executePluginCommand, rr as listProfilesForProvider, rt as TELEGRAM_COMMAND_NAME_PATTERN, s as normalizeModelRef$2, sn as registerContextEngine, sr as resolveOpenClawAgentDir, st as isInboundPathAllowed, t as buildAllowedModelSet, tn as normalizePluginHttpPath, tr as resolveOwnerDisplaySetting, tt as writeConfigFile, u as resolveConfiguredModelRef, un as resetConfigOverrides, ut as resolveIMessageRemoteAttachmentRoots, vn as isTrustedSafeBinPath, vr as hasConfiguredSecretInput, w as createOllamaStreamFn, wn as isWindowsPlatform, wr as DEFAULT_MODEL, x as resolveRetryConfig, xn as validateSafeBinArgv, xr as resolveSecretInputRef, yn as listWritableExplicitTrustedSafeBinDirs, yr as normalizeResolvedSecretInputString, z as isProfileInCooldown, zn as applyMergePatch, zt as normalizePluginsConfig } from "./model-selection-C1EA5mD5.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-D13V9YBz.js";
|
|
9
|
-
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-
|
|
10
|
-
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-
|
|
11
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
12
|
-
import { a as logWebSelfId, g as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-
|
|
13
|
-
import { C as createDiscordActionGate, E as normalizeDiscordToken, S as inspectDiscordAccount, T as resolveDiscordAccount, _ as resolveSlackAccount, a as normalizeWhatsAppTarget, b as resolveSlackBotToken, c as listEnabledTelegramAccounts, d as resolveTelegramPollActionGateState, f as resolveTelegramToken, g as inspectSlackAccount, h as listAcpBindings, i as isWhatsAppGroupJid, l as listTelegramAccountIds, m as listBindings, n as listChannelPlugins, o as inspectTelegramAccount, p as buildChannelAccountBindings, r as normalizeChannelId$2, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveSlackReplyToMode, w as listEnabledDiscordAccounts, x as normalizeChatType, y as resolveSlackAppToken } from "./plugins-
|
|
14
|
-
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-
|
|
15
|
-
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-
|
|
9
|
+
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-BCm4ov65.js";
|
|
10
|
+
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-DRF1QDeZ.js";
|
|
11
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-Csbpu55k.js";
|
|
12
|
+
import { a as logWebSelfId, g as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-HvKVZFoM.js";
|
|
13
|
+
import { C as createDiscordActionGate, E as normalizeDiscordToken, S as inspectDiscordAccount, T as resolveDiscordAccount, _ as resolveSlackAccount, a as normalizeWhatsAppTarget, b as resolveSlackBotToken, c as listEnabledTelegramAccounts, d as resolveTelegramPollActionGateState, f as resolveTelegramToken, g as inspectSlackAccount, h as listAcpBindings, i as isWhatsAppGroupJid, l as listTelegramAccountIds, m as listBindings, n as listChannelPlugins, o as inspectTelegramAccount, p as buildChannelAccountBindings, r as normalizeChannelId$2, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveSlackReplyToMode, w as listEnabledDiscordAccounts, x as normalizeChatType, y as resolveSlackAppToken } from "./plugins-961ZhKn1.js";
|
|
14
|
+
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-IQXINWmd.js";
|
|
15
|
+
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-BqKXHfdB.js";
|
|
16
16
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
|
|
17
|
-
import { A as joinPresentTextSegments, 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-
|
|
18
|
-
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-
|
|
19
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
17
|
+
import { A as joinPresentTextSegments, 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-DIfgc_hp.js";
|
|
18
|
+
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-F2Kug9Hj.js";
|
|
19
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-CG15R7_x.js";
|
|
20
20
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-BiE9e9-P.js";
|
|
21
|
-
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-
|
|
22
|
-
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
|
|
23
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
24
|
-
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isRawApiErrorPayload, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCloudCodeAssistFormatError, Ct as setSessionRuntimeModel, D as isFailoverErrorMessage, Dt as resolveMainSessionKey, E as isFailoverAssistantError, 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 parseImageDimensionError, Mt as resolveSessionLockMaxHoldFromTimeout, N as parseImageSizeError, Nt as createBrowserRouteContext, O as isLikelyContextOverflowError, Ot as deriveSessionMetaPatch, P as sanitizeUserFacingText, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isBillingAssistantError, St as resolveFreshSessionTotalTokens, T as isContextOverflowError, 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 formatAssistantErrorText, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as getApiErrorPayloadFingerprint, 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 classifyFailoverReasonFromHttpStatus, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as isTransientHttpError, jt as acquireSessionWriteLock, k as isRateLimitAssistantError, 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 formatBillingErrorMessage, vt as resolveSessionResetType, w as isCompactionFailureError, wt as canonicalizeMainSessionAlias, x as isAuthAssistantError, xt as mergeSessionEntry, y as formatRawAssistantErrorForUi, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-
|
|
25
|
-
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-
|
|
26
|
-
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-
|
|
27
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
28
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
29
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
30
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
31
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
32
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
21
|
+
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-BuPQCBu2.js";
|
|
22
|
+
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--gf3Vf5r.js";
|
|
23
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-M5D1rhcm.js";
|
|
24
|
+
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isRawApiErrorPayload, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCloudCodeAssistFormatError, Ct as setSessionRuntimeModel, D as isFailoverErrorMessage, Dt as resolveMainSessionKey, E as isFailoverAssistantError, 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 parseImageDimensionError, Mt as resolveSessionLockMaxHoldFromTimeout, N as parseImageSizeError, Nt as createBrowserRouteContext, O as isLikelyContextOverflowError, Ot as deriveSessionMetaPatch, P as sanitizeUserFacingText, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isBillingAssistantError, St as resolveFreshSessionTotalTokens, T as isContextOverflowError, 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 formatAssistantErrorText, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as getApiErrorPayloadFingerprint, 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 classifyFailoverReasonFromHttpStatus, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as isTransientHttpError, jt as acquireSessionWriteLock, k as isRateLimitAssistantError, 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 formatBillingErrorMessage, vt as resolveSessionResetType, w as isCompactionFailureError, wt as canonicalizeMainSessionAlias, x as isAuthAssistantError, xt as mergeSessionEntry, y as formatRawAssistantErrorForUi, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-BQrtFAUp.js";
|
|
25
|
+
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-h-vz6xx6.js";
|
|
26
|
+
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-YCv5B0wF.js";
|
|
27
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CTtqTDdw.js";
|
|
28
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Ce4hro-U.js";
|
|
29
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-D2ORDJPK.js";
|
|
30
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BVB8il6B.js";
|
|
31
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-74z8dpZH.js";
|
|
32
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-9I35NJKv.js";
|
|
33
33
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D7-rxoSr.js";
|
|
34
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
35
|
-
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
34
|
+
import { t as resolveIMessageAccount } from "./accounts-OQxQvcyx.js";
|
|
35
|
+
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BWRe3x1k.js";
|
|
36
36
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
37
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
38
|
-
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-
|
|
39
|
-
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-
|
|
40
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-
|
|
37
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-lWgf2YVR.js";
|
|
38
|
+
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-Cv2EvMzJ.js";
|
|
39
|
+
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-DS9qYrgl.js";
|
|
40
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-DXYq6-ML.js";
|
|
41
41
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Wgx3OXYj.js";
|
|
42
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
43
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
44
|
-
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-
|
|
45
|
-
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-
|
|
46
|
-
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-
|
|
47
|
-
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-
|
|
42
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BoUCaTor.js";
|
|
43
|
+
import { t as makeProxyFetch } from "./proxy-fetch-CF5kidRK.js";
|
|
44
|
+
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-ZdefqHy0.js";
|
|
45
|
+
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-CIUEhTo8.js";
|
|
46
|
+
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-D1bPnFkE.js";
|
|
47
|
+
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-Db_-4yN7.js";
|
|
48
48
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BfuG8uZ8.js";
|
|
49
49
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CmCpeg5n.js";
|
|
50
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
50
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CQOiHjvE.js";
|
|
51
51
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
|
|
52
52
|
import { n as normalizePollInput, r as resolvePollMaxSelections } from "./polls-C_BruSkP.js";
|
|
53
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
54
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
55
|
-
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-
|
|
56
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
57
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
58
|
-
import { m as normalizeExtraMemoryPaths, n as isQueryStopWordToken, p as listMemoryFiles, t as extractKeywords } from "./query-expansion-
|
|
53
|
+
import { t as convertMarkdownTables } from "./tables-DSgbtxY6.js";
|
|
54
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-Dd0GXzpB.js";
|
|
55
|
+
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-D7zge0_Z.js";
|
|
56
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-DBPw4vTM.js";
|
|
57
|
+
import { n as resolveMemorySearchConfig } from "./manager-Du8JJA-5.js";
|
|
58
|
+
import { m as normalizeExtraMemoryPaths, n as isQueryStopWordToken, p as listMemoryFiles, t as extractKeywords } from "./query-expansion-4ZhJrRJ-.js";
|
|
59
59
|
import { createRequire } from "node:module";
|
|
60
60
|
import * as fs$1 from "node:fs/promises";
|
|
61
61
|
import fs, { appendFile, mkdir } from "node:fs/promises";
|
|
@@ -63,7 +63,7 @@ import os, { homedir } from "node:os";
|
|
|
63
63
|
import * as path$1 from "node:path";
|
|
64
64
|
import path, { isAbsolute } from "node:path";
|
|
65
65
|
import syncFs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
66
|
-
import
|
|
66
|
+
import json5 from "json5";
|
|
67
67
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
68
68
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
69
69
|
import { fileURLToPath } from "node:url";
|
|
@@ -74,7 +74,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
74
74
|
import * as net$1 from "node:net";
|
|
75
75
|
import { createServer } from "node:http";
|
|
76
76
|
import { Agent, EnvHttpProxyAgent, ProxyAgent, fetch as fetch$1, getGlobalDispatcher, setGlobalDispatcher } from "undici";
|
|
77
|
-
import WebSocket, { WebSocket
|
|
77
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
78
78
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
79
79
|
import { createJiti } from "jiti";
|
|
80
80
|
import AjvPkg from "ajv";
|
|
@@ -8508,7 +8508,7 @@ var GatewayClient = class {
|
|
|
8508
8508
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8509
8509
|
});
|
|
8510
8510
|
}
|
|
8511
|
-
this.ws = new WebSocket
|
|
8511
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8512
8512
|
this.ws.on("open", () => {
|
|
8513
8513
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8514
8514
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8704,7 +8704,7 @@ var GatewayClient = class {
|
|
|
8704
8704
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8705
8705
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8706
8706
|
this.connectTimer = setTimeout(() => {
|
|
8707
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8707
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8708
8708
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8709
8709
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8710
8710
|
}, connectChallengeTimeoutMs);
|
|
@@ -8746,7 +8746,7 @@ var GatewayClient = class {
|
|
|
8746
8746
|
return null;
|
|
8747
8747
|
}
|
|
8748
8748
|
async request(method, params, opts) {
|
|
8749
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8749
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8750
8750
|
const id = randomUUID();
|
|
8751
8751
|
const frame = {
|
|
8752
8752
|
type: "req",
|
|
@@ -10165,7 +10165,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
10165
10165
|
//#region src/auto-reply/reply/route-reply.ts
|
|
10166
10166
|
let deliverRuntimePromise$2 = null;
|
|
10167
10167
|
function loadDeliverRuntime$2() {
|
|
10168
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
10168
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-qMvfsRWv.js");
|
|
10169
10169
|
return deliverRuntimePromise$2;
|
|
10170
10170
|
}
|
|
10171
10171
|
/**
|
|
@@ -10856,7 +10856,7 @@ function normalizeSessionKey$1(value) {
|
|
|
10856
10856
|
function readSessionStore(storePath) {
|
|
10857
10857
|
try {
|
|
10858
10858
|
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
10859
|
-
const parsed =
|
|
10859
|
+
const parsed = json5.parse(raw);
|
|
10860
10860
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
10861
10861
|
} catch {}
|
|
10862
10862
|
return {};
|
|
@@ -11454,7 +11454,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11454
11454
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11455
11455
|
let subagentRegistryRuntimePromise = null;
|
|
11456
11456
|
function loadSubagentRegistryRuntime() {
|
|
11457
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11457
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-D-r3bjNk.js");
|
|
11458
11458
|
return subagentRegistryRuntimePromise;
|
|
11459
11459
|
}
|
|
11460
11460
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14973,7 +14973,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
14973
14973
|
//#region src/media-understanding/echo-transcript.ts
|
|
14974
14974
|
let deliverRuntimePromise$1 = null;
|
|
14975
14975
|
function loadDeliverRuntime$1() {
|
|
14976
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
14976
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-qMvfsRWv.js");
|
|
14977
14977
|
return deliverRuntimePromise$1;
|
|
14978
14978
|
}
|
|
14979
14979
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -23769,7 +23769,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
23769
23769
|
await ensureOpenClawModelsJson(cfg);
|
|
23770
23770
|
} catch {}
|
|
23771
23771
|
try {
|
|
23772
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
23772
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-M5D1rhcm.js").then((n) => n.r);
|
|
23773
23773
|
const agentDir = resolveOpenClawAgentDir();
|
|
23774
23774
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
23775
23775
|
applyDiscoveredContextWindows({
|
|
@@ -33472,7 +33472,7 @@ async function createModelSelectionState(params) {
|
|
|
33472
33472
|
}
|
|
33473
33473
|
}
|
|
33474
33474
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
33475
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
33475
|
+
const { ensureAuthProfileStore } = await import("./model-selection-C1EA5mD5.js").then((n) => n.F);
|
|
33476
33476
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
33477
33477
|
const providerKey = normalizeProviderId(provider);
|
|
33478
33478
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -53447,7 +53447,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
53447
53447
|
const log$10 = createSubsystemLogger("session-maintenance-warning");
|
|
53448
53448
|
let deliverRuntimePromise = null;
|
|
53449
53449
|
function loadDeliverRuntime() {
|
|
53450
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
53450
|
+
deliverRuntimePromise ??= import("./deliver-runtime-qMvfsRWv.js");
|
|
53451
53451
|
return deliverRuntimePromise;
|
|
53452
53452
|
}
|
|
53453
53453
|
function shouldSendWarning() {
|
|
@@ -58544,7 +58544,7 @@ const VISION_PROVIDERS = [
|
|
|
58544
58544
|
];
|
|
58545
58545
|
let imageRuntimePromise = null;
|
|
58546
58546
|
function loadImageRuntime() {
|
|
58547
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
58547
|
+
imageRuntimePromise ??= import("./image-runtime-CHZootZe.js");
|
|
58548
58548
|
return imageRuntimePromise;
|
|
58549
58549
|
}
|
|
58550
58550
|
/**
|
|
@@ -62748,7 +62748,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
62748
62748
|
hasTypedText
|
|
62749
62749
|
};
|
|
62750
62750
|
try {
|
|
62751
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62751
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DmObQ1Bw.js");
|
|
62752
62752
|
if (params.abortSignal?.aborted) return {
|
|
62753
62753
|
hasAudioAttachment,
|
|
62754
62754
|
hasTypedText
|
|
@@ -68410,27 +68410,27 @@ let slackSenderRuntimePromise = null;
|
|
|
68410
68410
|
let signalSenderRuntimePromise = null;
|
|
68411
68411
|
let imessageSenderRuntimePromise = null;
|
|
68412
68412
|
function loadWhatsAppSenderRuntime() {
|
|
68413
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
68413
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-CG2MxOWS.js");
|
|
68414
68414
|
return whatsappSenderRuntimePromise;
|
|
68415
68415
|
}
|
|
68416
68416
|
function loadTelegramSenderRuntime() {
|
|
68417
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
68417
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-DeTzsc94.js");
|
|
68418
68418
|
return telegramSenderRuntimePromise;
|
|
68419
68419
|
}
|
|
68420
68420
|
function loadDiscordSenderRuntime() {
|
|
68421
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
68421
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-BHYqfmdZ.js");
|
|
68422
68422
|
return discordSenderRuntimePromise;
|
|
68423
68423
|
}
|
|
68424
68424
|
function loadSlackSenderRuntime() {
|
|
68425
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
68425
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-Dx_1Qus0.js");
|
|
68426
68426
|
return slackSenderRuntimePromise;
|
|
68427
68427
|
}
|
|
68428
68428
|
function loadSignalSenderRuntime() {
|
|
68429
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
68429
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-30tAqTv6.js");
|
|
68430
68430
|
return signalSenderRuntimePromise;
|
|
68431
68431
|
}
|
|
68432
68432
|
function loadIMessageSenderRuntime() {
|
|
68433
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
68433
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-woedbCWc.js");
|
|
68434
68434
|
return imessageSenderRuntimePromise;
|
|
68435
68435
|
}
|
|
68436
68436
|
function createDefaultDeps() {
|
|
@@ -72122,7 +72122,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
72122
72122
|
return super.registerClient(client);
|
|
72123
72123
|
}
|
|
72124
72124
|
createWebSocket(url) {
|
|
72125
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
72125
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
72126
72126
|
}
|
|
72127
72127
|
}
|
|
72128
72128
|
return new ProxyGatewayPlugin();
|
|
@@ -81293,15 +81293,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
81293
81293
|
let slashDispatchRuntimePromise = null;
|
|
81294
81294
|
let slashSkillCommandsRuntimePromise = null;
|
|
81295
81295
|
function loadSlashCommandsRuntime() {
|
|
81296
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
81296
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-GMPbP1Dr.js");
|
|
81297
81297
|
return slashCommandsRuntimePromise;
|
|
81298
81298
|
}
|
|
81299
81299
|
function loadSlashDispatchRuntime() {
|
|
81300
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
81300
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DpVGhbi1.js");
|
|
81301
81301
|
return slashDispatchRuntimePromise;
|
|
81302
81302
|
}
|
|
81303
81303
|
function loadSlashSkillCommandsRuntime() {
|
|
81304
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
81304
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-BzWnQ9NP.js");
|
|
81305
81305
|
return slashSkillCommandsRuntimePromise;
|
|
81306
81306
|
}
|
|
81307
81307
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -82291,7 +82291,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
82291
82291
|
}
|
|
82292
82292
|
let auditMembershipRuntimePromise = null;
|
|
82293
82293
|
function loadAuditMembershipRuntime() {
|
|
82294
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
82294
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-BkkdpSa7.js");
|
|
82295
82295
|
return auditMembershipRuntimePromise;
|
|
82296
82296
|
}
|
|
82297
82297
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -84751,7 +84751,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
84751
84751
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
84752
84752
|
let preflightTranscript;
|
|
84753
84753
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
84754
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
84754
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DmObQ1Bw.js");
|
|
84755
84755
|
preflightTranscript = await transcribeFirstAudio({
|
|
84756
84756
|
ctx: {
|
|
84757
84757
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -87670,7 +87670,7 @@ function createWhatsAppLoginTool() {
|
|
|
87670
87670
|
force: Type.Optional(Type.Boolean())
|
|
87671
87671
|
}),
|
|
87672
87672
|
execute: async (_toolCallId, args) => {
|
|
87673
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
87673
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BsLaN5_a.js");
|
|
87674
87674
|
if ((args?.action ?? "start") === "wait") {
|
|
87675
87675
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
87676
87676
|
return {
|
|
@@ -87745,23 +87745,23 @@ let webOutboundPromise = null;
|
|
|
87745
87745
|
let webLoginPromise = null;
|
|
87746
87746
|
let whatsappActionsPromise = null;
|
|
87747
87747
|
function loadWebOutbound() {
|
|
87748
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
87748
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-iO7Gq_Kz.js");
|
|
87749
87749
|
return webOutboundPromise;
|
|
87750
87750
|
}
|
|
87751
87751
|
function loadWebLogin() {
|
|
87752
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
87752
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-9dM4PEEO.js");
|
|
87753
87753
|
return webLoginPromise;
|
|
87754
87754
|
}
|
|
87755
87755
|
function loadWebLoginQr() {
|
|
87756
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
87756
|
+
webLoginQrPromise ??= import("./login-qr-BsLaN5_a.js");
|
|
87757
87757
|
return webLoginQrPromise;
|
|
87758
87758
|
}
|
|
87759
87759
|
function loadWebChannel() {
|
|
87760
|
-
webChannelPromise ??= import("./web-
|
|
87760
|
+
webChannelPromise ??= import("./web-x0tCOQLk.js");
|
|
87761
87761
|
return webChannelPromise;
|
|
87762
87762
|
}
|
|
87763
87763
|
function loadWhatsAppActions() {
|
|
87764
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
87764
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BfFPTEGe.js");
|
|
87765
87765
|
return whatsappActionsPromise;
|
|
87766
87766
|
}
|
|
87767
87767
|
function createRuntimeWhatsApp() {
|
|
@@ -88202,7 +88202,7 @@ const log$6 = createSubsystemLogger("memory");
|
|
|
88202
88202
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
88203
88203
|
let managerRuntimePromise = null;
|
|
88204
88204
|
function loadManagerRuntime() {
|
|
88205
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
88205
|
+
managerRuntimePromise ??= import("./manager-runtime-CQ-L7TKf.js");
|
|
88206
88206
|
return managerRuntimePromise;
|
|
88207
88207
|
}
|
|
88208
88208
|
async function getMemorySearchManager(params) {
|
|
@@ -88216,7 +88216,7 @@ async function getMemorySearchManager(params) {
|
|
|
88216
88216
|
if (cached) return { manager: cached };
|
|
88217
88217
|
}
|
|
88218
88218
|
try {
|
|
88219
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
88219
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CFp1mM2Q.js");
|
|
88220
88220
|
const primary = await QmdMemoryManager.create({
|
|
88221
88221
|
cfg: params.cfg,
|
|
88222
88222
|
agentId: params.agentId,
|
|
@@ -90758,7 +90758,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
90758
90758
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
90759
90759
|
let beforeToolCallRuntimePromise = null;
|
|
90760
90760
|
function loadBeforeToolCallRuntime() {
|
|
90761
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
90761
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-CwxNGXjS.js");
|
|
90762
90762
|
return beforeToolCallRuntimePromise;
|
|
90763
90763
|
}
|
|
90764
90764
|
function buildAdjustedParamsKey(params) {
|
|
@@ -96552,7 +96552,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
96552
96552
|
* Throws if the connection is not open.
|
|
96553
96553
|
*/
|
|
96554
96554
|
send(event) {
|
|
96555
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
96555
|
+
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"})`);
|
|
96556
96556
|
this.ws.send(JSON.stringify(event));
|
|
96557
96557
|
}
|
|
96558
96558
|
/**
|
|
@@ -96569,7 +96569,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
96569
96569
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
96570
96570
|
*/
|
|
96571
96571
|
isConnected() {
|
|
96572
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
96572
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
96573
96573
|
}
|
|
96574
96574
|
/**
|
|
96575
96575
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -96579,7 +96579,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
96579
96579
|
this._cancelRetryTimer();
|
|
96580
96580
|
if (this.ws) {
|
|
96581
96581
|
this.ws.removeAllListeners();
|
|
96582
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
96582
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
96583
96583
|
this.ws = null;
|
|
96584
96584
|
}
|
|
96585
96585
|
}
|
|
@@ -96589,7 +96589,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
96589
96589
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
96590
96590
|
return;
|
|
96591
96591
|
}
|
|
96592
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
96592
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
96593
96593
|
Authorization: `Bearer ${this.apiKey}`,
|
|
96594
96594
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
96595
96595
|
} });
|