@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
|
@@ -2,7 +2,7 @@ import { r as isTruthyEnvValue } from "./entry.js";
|
|
|
2
2
|
import { n as CHAT_CHANNEL_ORDER } from "./registry-B0KN5O8-.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DsEDEjwJ.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-sqGqtjVj.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D26LWN-Z.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -6,20 +6,20 @@ import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
|
6
6
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-CC77ya0a.js";
|
|
7
7
|
import { S as sleep, _ as resolveJidToE164, d as isSelfChatMode, f as jidToE164, n as clamp, p as normalizeE164, w as toWhatsappJid } from "./utils-BnC3HGtm.js";
|
|
8
8
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-uFSbLhVU.js";
|
|
9
|
-
import { $t as normalizeGroupActivation, B as warnMissingProviderGroupPolicyFallbackOnce, Bn as normalizeMentionText, Cn as resolveAgentRoute, Cr as resolveMessagePrefix, F as DEFAULT_GROUP_HISTORY_LIMIT, Fn as hasControlCommand, G as resolveInboundDebounceMs, H as dispatchReplyWithBufferedBlockDispatcher, I as buildHistoryContextFromEntries, In as shouldComputeCommandAuthorized, K as formatInboundEnvelope, L as recordPendingHistoryEntryIfEnabled, Mn as finalizeInboundContext, O as buildPairingReply, P as createReplyPrefixOptions, R as resolveDefaultGroupPolicy, Sn as buildAgentSessionKey, Sr as resolveIdentityNamePrefix, V as shouldAckReactionForWhatsApp, W as createInboundDebouncer, X as createDedupeCache, Z as getReplyFromConfig, en as parseActivationCommand, fn as enqueueSystemEvent, k as resolveMentionGating, v as resolveInboundSessionEnvelopeContext, z as resolveOpenProviderRuntimeGroupPolicy, zn as buildMentionRegexes } from "./compact-
|
|
9
|
+
import { $t as normalizeGroupActivation, B as warnMissingProviderGroupPolicyFallbackOnce, Bn as normalizeMentionText, Cn as resolveAgentRoute, Cr as resolveMessagePrefix, F as DEFAULT_GROUP_HISTORY_LIMIT, Fn as hasControlCommand, G as resolveInboundDebounceMs, H as dispatchReplyWithBufferedBlockDispatcher, I as buildHistoryContextFromEntries, In as shouldComputeCommandAuthorized, K as formatInboundEnvelope, L as recordPendingHistoryEntryIfEnabled, Mn as finalizeInboundContext, O as buildPairingReply, P as createReplyPrefixOptions, R as resolveDefaultGroupPolicy, Sn as buildAgentSessionKey, Sr as resolveIdentityNamePrefix, V as shouldAckReactionForWhatsApp, W as createInboundDebouncer, X as createDedupeCache, Z as getReplyFromConfig, en as parseActivationCommand, fn as enqueueSystemEvent, k as resolveMentionGating, v as resolveInboundSessionEnvelopeContext, z as resolveOpenProviderRuntimeGroupPolicy, zn as buildMentionRegexes } from "./compact-BjR1GO9N.js";
|
|
10
10
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-D2hQY62e.js";
|
|
11
11
|
import { K as formatLocationText, q as toLocationContext } from "./send-CMyVj5zK.js";
|
|
12
12
|
import { i as saveMediaBuffer } from "./store-D4m5s21M.js";
|
|
13
13
|
import { c as recordSessionMetaFromInbound, o as loadSessionStore, ot as resolveGroupSessionKey, u as updateLastRoute } from "./sessions-CXITRt1z.js";
|
|
14
14
|
import { c as resolveStorePath } from "./paths-DpiC3_xA.js";
|
|
15
15
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch-BQQlp2cW.js";
|
|
16
|
-
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
16
|
+
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner-BzPC7Q6d.js";
|
|
17
17
|
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-B9RRvth9.js";
|
|
18
18
|
import { r as setActiveWebListener } from "./active-listener-CqcniuNb.js";
|
|
19
19
|
import { s as upsertChannelPairingRequest } from "./pairing-store-B7QlrsG8.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-DLCmyMPh.js";
|
|
21
21
|
import { f as computeBackoff, p as sleepWithAbort } from "./session-utils-CoN_d5qR.js";
|
|
22
|
-
import { c as readStoreAllowFromForDmPolicy, d as resolveDmGroupAccessWithLists, f as resolvePinnedMainDmOwnerFromAllowlist, u as resolveDmGroupAccessWithCommandGate } from "./pi-tools.policy-
|
|
22
|
+
import { c as readStoreAllowFromForDmPolicy, d as resolveDmGroupAccessWithLists, f as resolvePinnedMainDmOwnerFromAllowlist, u as resolveDmGroupAccessWithCommandGate } from "./pi-tools.policy-BrQ63Bj9.js";
|
|
23
23
|
import { n as recordChannelActivity } from "./channel-activity-BMfWiEXi.js";
|
|
24
24
|
import { t as convertMarkdownTables } from "./tables-CP9jKloM.js";
|
|
25
25
|
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-D9Q_DDj8.js";
|
|
@@ -18,14 +18,14 @@ import "./manifest-registry-CXZ0Wbdj.js";
|
|
|
18
18
|
import "./version-DT-JIO28.js";
|
|
19
19
|
import "./dock-uFSbLhVU.js";
|
|
20
20
|
import "./tokens-Dz3T4-AX.js";
|
|
21
|
-
import { nn as formatUsageReportLines, tn as loadProviderUsageSummary, u as deleteTelegramUpdateOffset } from "./compact-
|
|
21
|
+
import { nn as formatUsageReportLines, tn as loadProviderUsageSummary, u as deleteTelegramUpdateOffset } from "./compact-BjR1GO9N.js";
|
|
22
22
|
import "./accounts-D2hQY62e.js";
|
|
23
23
|
import { f as resolveTelegramAccount, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DsEDEjwJ.js";
|
|
24
24
|
import "./logging-CY-Q5cwf.js";
|
|
25
25
|
import { i as createSlackWebClient } from "./send-iPBFNhy3.js";
|
|
26
26
|
import { at as parseDiscordTarget, et as fetchChannelPermissionsDiscord } from "./send-DYB00pQR.js";
|
|
27
|
-
import "./with-timeout-
|
|
28
|
-
import "./deliver-
|
|
27
|
+
import "./with-timeout-DlW-DrTJ.js";
|
|
28
|
+
import "./deliver-BXOYgT6b.js";
|
|
29
29
|
import "./diagnostic-CNVn3UhV.js";
|
|
30
30
|
import "./restart-CyUhm4DQ.js";
|
|
31
31
|
import "./accounts-Dr-QLJmk.js";
|
|
@@ -33,15 +33,15 @@ import "./image-ops-CJbam0UD.js";
|
|
|
33
33
|
import "./send-CMyVj5zK.js";
|
|
34
34
|
import "./pi-model-discovery-CaDgeaq3.js";
|
|
35
35
|
import "./message-channel-wRrOCtGh.js";
|
|
36
|
-
import "./pi-embedded-helpers-
|
|
37
|
-
import "./sandbox-
|
|
36
|
+
import "./pi-embedded-helpers-BY8OQhh0.js";
|
|
37
|
+
import "./sandbox-BLJ8R_1a.js";
|
|
38
38
|
import "./tool-catalog-BCkWN5F6.js";
|
|
39
39
|
import "./chrome-DM9mIjgY.js";
|
|
40
40
|
import "./tailscale-BilSj4aF.js";
|
|
41
41
|
import "./tailnet-CfYsfTWE.js";
|
|
42
42
|
import "./ws-DOF1MjS2.js";
|
|
43
43
|
import "./auth-Dh0hq9hh.js";
|
|
44
|
-
import "./server-context-
|
|
44
|
+
import "./server-context-yWVGr_lB.js";
|
|
45
45
|
import "./frontmatter-BZV8g12F.js";
|
|
46
46
|
import "./skills-BNI7Tif-.js";
|
|
47
47
|
import "./path-alias-guards-D7Z65n9d.js";
|
|
@@ -66,9 +66,9 @@ import "./exec-approvals-allowlist-s8Yfpm4A.js";
|
|
|
66
66
|
import "./exec-safe-bin-runtime-policy-BSIu3nuK.js";
|
|
67
67
|
import "./model-catalog-dNDam_vF.js";
|
|
68
68
|
import "./fetch-BQQlp2cW.js";
|
|
69
|
-
import "./audio-transcription-runner-
|
|
69
|
+
import "./audio-transcription-runner-BzPC7Q6d.js";
|
|
70
70
|
import "./fetch-guard-EuNDsd6K.js";
|
|
71
|
-
import "./image-
|
|
71
|
+
import "./image-z4GWHqB3.js";
|
|
72
72
|
import "./tool-display-A5tf76et.js";
|
|
73
73
|
import "./api-key-rotation-BBXIq37A.js";
|
|
74
74
|
import "./proxy-fetch-DSN_Y0wF.js";
|
|
@@ -90,11 +90,11 @@ import "./nodes-screen-CdHZXzXa.js";
|
|
|
90
90
|
import "./system-run-command-2HcvEnfw.js";
|
|
91
91
|
import "./session-utils-CoN_d5qR.js";
|
|
92
92
|
import "./skill-commands-B9IoIXVB.js";
|
|
93
|
-
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus } from "./pi-tools.policy-
|
|
93
|
+
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus } from "./pi-tools.policy-BrQ63Bj9.js";
|
|
94
94
|
import "./workspace-dirs-Bh8oJQvE.js";
|
|
95
95
|
import "./channel-activity-BMfWiEXi.js";
|
|
96
96
|
import "./tables-CP9jKloM.js";
|
|
97
|
-
import "./server-lifecycle-
|
|
97
|
+
import "./server-lifecycle-BwmW0cra.js";
|
|
98
98
|
import "./stagger-c9BTZT4M.js";
|
|
99
99
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DfScbmBQ.js";
|
|
100
100
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-sqGqtjVj.js";
|
|
@@ -109,14 +109,14 @@ import { n as getChannelsCommandSecretTargetIds, s as resolveCommandSecretRefsVi
|
|
|
109
109
|
import "./onboard-helpers-CbaQqDNf.js";
|
|
110
110
|
import "./prompt-style-Dws687Oa.js";
|
|
111
111
|
import "./pairing-labels-CJ8Ov2Xp.js";
|
|
112
|
-
import "./memory-cli-
|
|
112
|
+
import "./memory-cli-Dn9zGR6N.js";
|
|
113
113
|
import "./manager-eC-rByL6.js";
|
|
114
114
|
import { t as formatDocsLink } from "./links-CseyaEhO.js";
|
|
115
115
|
import { n as runCommandWithRuntime } from "./cli-utils-DWSfnwCw.js";
|
|
116
116
|
import { t as formatHelpExamples } from "./help-format-BWr3ccDA.js";
|
|
117
117
|
import { n as withProgress } from "./progress-966uOUT6.js";
|
|
118
118
|
import "./outbound-D9Q_DDj8.js";
|
|
119
|
-
import "./channel-web-
|
|
119
|
+
import "./channel-web-CD518m9v.js";
|
|
120
120
|
import "./session-BAFxVwqM.js";
|
|
121
121
|
import "./login-BIpWDtOk.js";
|
|
122
122
|
import { t as hasExplicitOptions } from "./command-options-DgcCGXMQ.js";
|
|
@@ -125,20 +125,20 @@ import "./note-DUAms_ml.js";
|
|
|
125
125
|
import { t as createClackPrompter } from "./clack-prompter-DuX1EHSE.js";
|
|
126
126
|
import { t as resolveChannelDefaultAccountId } from "./helpers-VY5h1nBz.js";
|
|
127
127
|
import { i as describeBinding, n as applyAgentBindings, t as requireValidConfigSnapshot } from "./config-validation-bJ7_XrZ2.js";
|
|
128
|
-
import { n as buildAgentSummaries } from "./agents.config-
|
|
128
|
+
import { n as buildAgentSummaries } from "./agents.config-2CujSrTv.js";
|
|
129
129
|
import "./enable-O-UWapaU.js";
|
|
130
130
|
import "./install-safe-path-waWiJWCl.js";
|
|
131
131
|
import "./npm-pack-install-CF_kQ-fL.js";
|
|
132
132
|
import "./skill-scanner-DdG1FX7-.js";
|
|
133
133
|
import "./installs-B3eTHu7V.js";
|
|
134
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
134
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-B9eeEss7.js";
|
|
135
135
|
import "./auth-choice.apply-helpers-CufMcE8v.js";
|
|
136
136
|
import "./issue-format-DFX_qTbd.js";
|
|
137
|
-
import { n as buildReadOnlySourceChannelAccountSnapshot, t as buildChannelAccountSnapshot } from "./status-
|
|
137
|
+
import { n as buildReadOnlySourceChannelAccountSnapshot, t as buildChannelAccountSnapshot } from "./status-BRPDYOcg.js";
|
|
138
138
|
import { t as parseLogLine } from "./parse-log-line-Bdka5VrH.js";
|
|
139
139
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-NFniAlxa.js";
|
|
140
|
-
import "./plugin-registry-
|
|
141
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
140
|
+
import "./plugin-registry-D26LWN-Z.js";
|
|
141
|
+
import { t as formatCliChannelOptions } from "./channel-options-tVOZI_t1.js";
|
|
142
142
|
import fs from "node:fs/promises";
|
|
143
143
|
|
|
144
144
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -13,7 +13,7 @@ import { createHmac } from "node:crypto";
|
|
|
13
13
|
import net from "node:net";
|
|
14
14
|
import http, { createServer } from "node:http";
|
|
15
15
|
import https from "node:https";
|
|
16
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
16
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
17
17
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
18
18
|
|
|
19
19
|
//#region src/browser/constants.ts
|
|
@@ -625,7 +625,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
625
625
|
let extensionWs = null;
|
|
626
626
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
627
627
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
628
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
628
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
629
629
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
630
630
|
let extensionDisconnectCleanupTimer = null;
|
|
631
631
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -677,7 +677,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
677
677
|
let nextExtensionId = 1;
|
|
678
678
|
const sendToExtension = async (payload) => {
|
|
679
679
|
const ws = extensionWs;
|
|
680
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
680
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
681
681
|
ws.send(JSON.stringify(payload));
|
|
682
682
|
return await new Promise((resolve, reject) => {
|
|
683
683
|
const timer = setTimeout(() => {
|
|
@@ -694,12 +694,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
694
694
|
const broadcastToCdpClients = (evt) => {
|
|
695
695
|
const msg = JSON.stringify(evt);
|
|
696
696
|
for (const ws of cdpClients) {
|
|
697
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
697
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
698
698
|
ws.send(msg);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
const sendResponseToCdp = (ws, res) => {
|
|
702
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
702
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
703
703
|
ws.send(JSON.stringify(res));
|
|
704
704
|
};
|
|
705
705
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -953,7 +953,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
953
953
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
954
954
|
return;
|
|
955
955
|
}
|
|
956
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
956
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
957
957
|
try {
|
|
958
958
|
extensionWs.terminate();
|
|
959
959
|
} catch {}
|
|
@@ -986,7 +986,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
986
986
|
clearExtensionDisconnectCleanupTimer();
|
|
987
987
|
flushExtensionReconnectWaiters(true);
|
|
988
988
|
const ping = setInterval(() => {
|
|
989
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
989
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
990
990
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
991
991
|
}, 5e3);
|
|
992
992
|
ws.on("message", (data) => {
|
|
@@ -1342,7 +1342,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1342
1342
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1343
1343
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1344
1344
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1345
|
-
return new WebSocket(wsUrl, {
|
|
1345
|
+
return new WebSocket$1(wsUrl, {
|
|
1346
1346
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1347
1347
|
...Object.keys(headers).length ? { headers } : {},
|
|
1348
1348
|
...agent ? { agent } : {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
2
|
-
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-
|
|
3
|
-
import { a as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { Ct as isLoopbackIpAddress, G as resolveSecretRefValues, Tt as normalizeIpAddress, Z as loadConfig, br as normalizeSecretInputString, pt as secretRefKey, wt as isPrivateOrLoopbackIpAddress, xr as resolveSecretInputRef } from "./model-selection-
|
|
5
|
-
import { a as isErrno } from "./errors-
|
|
6
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-D7UWJNhH.js";
|
|
2
|
+
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-P7FpMYTX.js";
|
|
3
|
+
import { a as CONFIG_DIR } from "./logger-B-R_-5mh.js";
|
|
4
|
+
import { Ct as isLoopbackIpAddress, G as resolveSecretRefValues, Tt as normalizeIpAddress, Z as loadConfig, br as normalizeSecretInputString, pt as secretRefKey, wt as isPrivateOrLoopbackIpAddress, xr as resolveSecretInputRef } from "./model-selection-C1EA5mD5.js";
|
|
5
|
+
import { a as isErrno } from "./errors-D2ORDJPK.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BVB8il6B.js";
|
|
7
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-74z8dpZH.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import { createHmac } from "node:crypto";
|
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
import http, { createServer } from "node:http";
|
|
16
16
|
import https from "node:https";
|
|
17
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
17
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
18
18
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
19
19
|
|
|
20
20
|
//#region src/browser/constants.ts
|
|
@@ -626,7 +626,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
626
626
|
let extensionWs = null;
|
|
627
627
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
628
628
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
629
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
629
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
630
630
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
631
631
|
let extensionDisconnectCleanupTimer = null;
|
|
632
632
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -678,7 +678,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
678
678
|
let nextExtensionId = 1;
|
|
679
679
|
const sendToExtension = async (payload) => {
|
|
680
680
|
const ws = extensionWs;
|
|
681
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
681
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
682
682
|
ws.send(JSON.stringify(payload));
|
|
683
683
|
return await new Promise((resolve, reject) => {
|
|
684
684
|
const timer = setTimeout(() => {
|
|
@@ -695,12 +695,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
695
695
|
const broadcastToCdpClients = (evt) => {
|
|
696
696
|
const msg = JSON.stringify(evt);
|
|
697
697
|
for (const ws of cdpClients) {
|
|
698
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
698
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
699
699
|
ws.send(msg);
|
|
700
700
|
}
|
|
701
701
|
};
|
|
702
702
|
const sendResponseToCdp = (ws, res) => {
|
|
703
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
703
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
704
704
|
ws.send(JSON.stringify(res));
|
|
705
705
|
};
|
|
706
706
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -954,7 +954,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
954
954
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
955
955
|
return;
|
|
956
956
|
}
|
|
957
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
957
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
958
958
|
try {
|
|
959
959
|
extensionWs.terminate();
|
|
960
960
|
} catch {}
|
|
@@ -987,7 +987,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
987
987
|
clearExtensionDisconnectCleanupTimer();
|
|
988
988
|
flushExtensionReconnectWaiters(true);
|
|
989
989
|
const ping = setInterval(() => {
|
|
990
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
990
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
991
991
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
992
992
|
}, 5e3);
|
|
993
993
|
ws.on("message", (data) => {
|
|
@@ -1343,7 +1343,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1343
1343
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1344
1344
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1345
1345
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1346
|
-
return new WebSocket(wsUrl, {
|
|
1346
|
+
return new WebSocket$1(wsUrl, {
|
|
1347
1347
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1348
1348
|
...Object.keys(headers).length ? { headers } : {},
|
|
1349
1349
|
...agent ? { agent } : {}
|
|
@@ -16,14 +16,14 @@ import "./manifest-registry-CXZ0Wbdj.js";
|
|
|
16
16
|
import "./version-DT-JIO28.js";
|
|
17
17
|
import "./dock-uFSbLhVU.js";
|
|
18
18
|
import "./tokens-Dz3T4-AX.js";
|
|
19
|
-
import { c as loadBotPlugins } from "./compact-
|
|
19
|
+
import { c as loadBotPlugins } from "./compact-BjR1GO9N.js";
|
|
20
20
|
import "./accounts-D2hQY62e.js";
|
|
21
21
|
import "./plugins-DsEDEjwJ.js";
|
|
22
22
|
import "./logging-CY-Q5cwf.js";
|
|
23
23
|
import "./send-iPBFNhy3.js";
|
|
24
24
|
import "./send-DYB00pQR.js";
|
|
25
|
-
import "./with-timeout-
|
|
26
|
-
import "./deliver-
|
|
25
|
+
import "./with-timeout-DlW-DrTJ.js";
|
|
26
|
+
import "./deliver-BXOYgT6b.js";
|
|
27
27
|
import "./diagnostic-CNVn3UhV.js";
|
|
28
28
|
import "./restart-CyUhm4DQ.js";
|
|
29
29
|
import "./accounts-Dr-QLJmk.js";
|
|
@@ -31,15 +31,15 @@ import "./image-ops-CJbam0UD.js";
|
|
|
31
31
|
import "./send-CMyVj5zK.js";
|
|
32
32
|
import "./pi-model-discovery-CaDgeaq3.js";
|
|
33
33
|
import "./message-channel-wRrOCtGh.js";
|
|
34
|
-
import "./pi-embedded-helpers-
|
|
35
|
-
import "./sandbox-
|
|
34
|
+
import "./pi-embedded-helpers-BY8OQhh0.js";
|
|
35
|
+
import "./sandbox-BLJ8R_1a.js";
|
|
36
36
|
import "./tool-catalog-BCkWN5F6.js";
|
|
37
37
|
import "./chrome-DM9mIjgY.js";
|
|
38
38
|
import "./tailscale-BilSj4aF.js";
|
|
39
39
|
import "./tailnet-CfYsfTWE.js";
|
|
40
40
|
import "./ws-DOF1MjS2.js";
|
|
41
41
|
import "./auth-Dh0hq9hh.js";
|
|
42
|
-
import "./server-context-
|
|
42
|
+
import "./server-context-yWVGr_lB.js";
|
|
43
43
|
import "./frontmatter-BZV8g12F.js";
|
|
44
44
|
import "./skills-BNI7Tif-.js";
|
|
45
45
|
import "./path-alias-guards-D7Z65n9d.js";
|
|
@@ -64,9 +64,9 @@ import "./exec-approvals-allowlist-s8Yfpm4A.js";
|
|
|
64
64
|
import "./exec-safe-bin-runtime-policy-BSIu3nuK.js";
|
|
65
65
|
import "./model-catalog-dNDam_vF.js";
|
|
66
66
|
import "./fetch-BQQlp2cW.js";
|
|
67
|
-
import "./audio-transcription-runner-
|
|
67
|
+
import "./audio-transcription-runner-BzPC7Q6d.js";
|
|
68
68
|
import "./fetch-guard-EuNDsd6K.js";
|
|
69
|
-
import "./image-
|
|
69
|
+
import "./image-z4GWHqB3.js";
|
|
70
70
|
import "./tool-display-A5tf76et.js";
|
|
71
71
|
import "./api-key-rotation-BBXIq37A.js";
|
|
72
72
|
import "./proxy-fetch-DSN_Y0wF.js";
|
|
@@ -87,11 +87,11 @@ import "./nodes-screen-CdHZXzXa.js";
|
|
|
87
87
|
import "./system-run-command-2HcvEnfw.js";
|
|
88
88
|
import "./session-utils-CoN_d5qR.js";
|
|
89
89
|
import "./skill-commands-B9IoIXVB.js";
|
|
90
|
-
import "./pi-tools.policy-
|
|
90
|
+
import "./pi-tools.policy-BrQ63Bj9.js";
|
|
91
91
|
import "./workspace-dirs-Bh8oJQvE.js";
|
|
92
92
|
import "./channel-activity-BMfWiEXi.js";
|
|
93
93
|
import "./tables-CP9jKloM.js";
|
|
94
|
-
import "./server-lifecycle-
|
|
94
|
+
import "./server-lifecycle-BwmW0cra.js";
|
|
95
95
|
import "./stagger-c9BTZT4M.js";
|
|
96
96
|
import "./channel-selection-DfScbmBQ.js";
|
|
97
97
|
import "./plugin-auto-enable-sqGqtjVj.js";
|
|
@@ -106,7 +106,7 @@ import "./command-secret-targets-CyXgubkX.js";
|
|
|
106
106
|
import "./onboard-helpers-CbaQqDNf.js";
|
|
107
107
|
import "./prompt-style-Dws687Oa.js";
|
|
108
108
|
import "./pairing-labels-CJ8Ov2Xp.js";
|
|
109
|
-
import "./memory-cli-
|
|
109
|
+
import "./memory-cli-Dn9zGR6N.js";
|
|
110
110
|
import "./manager-eC-rByL6.js";
|
|
111
111
|
import "./links-CseyaEhO.js";
|
|
112
112
|
import "./cli-utils-DWSfnwCw.js";
|
|
@@ -235,7 +235,7 @@ async function showPostAuthMenu(accessToken) {
|
|
|
235
235
|
process.exit(0);
|
|
236
236
|
}
|
|
237
237
|
if (choice === "local") {
|
|
238
|
-
const { launchLocal } = await import("./local-launch-
|
|
238
|
+
const { launchLocal } = await import("./local-launch-Ch6Hajul.js");
|
|
239
239
|
await launchLocal({ accessToken });
|
|
240
240
|
} else {
|
|
241
241
|
const { launchCloudNode } = await import("./cloud-launch-CvBfrrAD.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-d3aR1MYC.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-U-P8R3Tg.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-BzthtHIV.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-W-p--yGa.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-D8vLH4yU.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-9EXTYC_G.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-Dv2KIxrl.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-BQ_fgdlA.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
hasSubcommands: true
|
|
100
100
|
}],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./memory-cli-
|
|
102
|
+
(await import("./memory-cli-Dn9zGR6N.js").then((n) => n.t)).registerMemoryCli(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-CHEwEZtX.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-Djj4vFlt.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as isPlainObject, u as escapeRegExp } from "./logger-
|
|
2
|
-
import { Tr as DEFAULT_PROVIDER, Yt as getActivePluginRegistry, u as resolveConfiguredModelRef, wr as DEFAULT_MODEL } from "./model-selection-
|
|
3
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
1
|
+
import { D as isPlainObject, u as escapeRegExp } from "./logger-B-R_-5mh.js";
|
|
2
|
+
import { Tr as DEFAULT_PROVIDER, Yt as getActivePluginRegistry, u as resolveConfiguredModelRef, wr as DEFAULT_MODEL } from "./model-selection-C1EA5mD5.js";
|
|
3
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-DRF1QDeZ.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-961ZhKn1.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|