@hanzo/bot 2026.3.12 → 2026.3.13
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-cApXM7Ij.js → accounts-BfUDrXkg.js} +17 -17
- package/dist/{accounts-7zwrtsCi.js → accounts-CU6IpCdO.js} +2 -2
- package/dist/{accounts-BEs2omoE.js → accounts-CvwEUGLi.js} +2 -2
- package/dist/{active-listener-DR8OFowd.js → active-listener-BrRv4Xwc.js} +2 -2
- package/dist/{api-key-rotation-RknBrUrn.js → api-key-rotation-GaH2pQmb.js} +2 -2
- package/dist/{audio-preflight-Chfaq_QP.js → audio-preflight-ClPkYtiy.js} +32 -32
- package/dist/{audio-transcription-runner-BvSPpIzU.js → audio-transcription-runner-DcmYYRTV.js} +12 -12
- package/dist/{audit-membership-runtime-CVVxrZ7j.js → audit-membership-runtime-BJ149bTU.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +51 -51
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CALqzTg5.js → channel-activity-BtB_KYWB.js} +3 -3
- package/dist/{chrome-CFVzlBUF.js → chrome-CiH9yYg6.js} +18 -18
- package/dist/{cloud-connect-BKnkfbhQ.js → cloud-connect-yv8A2P84.js} +1 -1
- package/dist/{commands-registry-DD9ywdfc.js → commands-registry-CYzULUtG.js} +4 -4
- package/dist/{deliver-B2IvdEAO.js → deliver-CQ6QaVna.js} +21 -21
- package/dist/deliver-runtime-AIl3Ydhb.js +36 -0
- package/dist/deps-send-discord.runtime-BCKKTBVj.js +26 -0
- package/dist/deps-send-imessage.runtime-CrYNg1e_.js +25 -0
- package/dist/deps-send-signal.runtime-rttQOioa.js +24 -0
- package/dist/deps-send-slack.runtime-BsCUhMAR.js +22 -0
- package/dist/deps-send-telegram.runtime-sOFkXXMD.js +27 -0
- package/dist/deps-send-whatsapp.runtime-B4PrMybd.js +60 -0
- package/dist/{diagnostic-pXxnbxER.js → diagnostic-Dt3OGXoB.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{errors-CHd6Q-vF.js → errors-DDrhcWHi.js} +1 -1
- package/dist/{fetch-DZVswJ-3.js → fetch-C7bGdK_0.js} +5 -5
- package/dist/{fetch-guard-EqKIhwBB.js → fetch-guard-Danf_0St.js} +2 -2
- package/dist/{frontmatter-B6XNqDx2.js → frontmatter-BFHzrAY7.js} +3 -3
- package/dist/{fs-safe-ClYE3-y0.js → fs-safe-Cou1ijNV.js} +4 -4
- package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
- package/dist/{image-BgWMM5C3.js → image-Cw0N8PLF.js} +6 -6
- package/dist/{image-ops-DGh7juCd.js → image-ops-C23SGeMe.js} +2 -2
- package/dist/image-runtime-BTWt5pDL.js +29 -0
- package/dist/{ir-BUxTWPJl.js → ir-CeK8iZwE.js} +8 -8
- package/dist/{legacy-names-DZdACm3t.js → legacy-names-Bkl4tjN-.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{local-launch-CLA_3nnn.js → local-launch-CUwfR4xk.js} +4 -1
- package/dist/{logger-LCC1m_20.js → logger-D4RcXHR-.js} +7 -7
- package/dist/{login-BPpT7LmW.js → login-CHghmysG.js} +5 -5
- package/dist/{login-qr-ROsDrMTV.js → login-qr-CNFNhTf4.js} +10 -10
- package/dist/{manager-DcZ7mOtr.js → manager-DD6mzJNU.js} +13 -13
- package/dist/manager-runtime-Daqs8hiB.js +18 -0
- package/dist/{model-selection-DX7XfNlF.js → model-selection-CLGE3YIs.js} +43 -43
- package/dist/{outbound-attachment-CC04mCS8.js → outbound-attachment-gUN8NzLf.js} +2 -2
- package/dist/{outbound-CQ5XVDFO.js → outbound-qbvc4GA6.js} +6 -6
- package/dist/{path-alias-guards-IQC4IpGS.js → path-alias-guards-BzNEeFKJ.js} +1 -1
- package/dist/{paths-GZsDv0mI.js → paths-0WxUzzEz.js} +4 -4
- package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{pi-embedded-bHDdzvEW.js → pi-embedded-DF0t5HJD.js} +159 -159
- package/dist/{pi-embedded-helpers-CVj2Bw45.js → pi-embedded-helpers-BT9OkmaI.js} +52 -52
- package/dist/pi-model-discovery-runtime-C9astVbX.js +11 -0
- package/dist/{pi-model-discovery-BYBYqQ0u.js → pi-model-discovery-vsJpfYA9.js} +7 -7
- package/dist/{pi-tools.before-tool-call.runtime-BiTed3Jt.js → pi-tools.before-tool-call.runtime-D-Vj4eZ7.js} +9 -9
- package/dist/plugin-sdk/{accounts-Cad7hzfy.js → accounts-Bm4PRMWH.js} +3 -3
- package/dist/plugin-sdk/{accounts-CNg2VVWF.js → accounts-CXyl1mLm.js} +2 -2
- package/dist/plugin-sdk/{accounts-BKlUEbA2.js → accounts-DskuKVrL.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CORsVdRy.js → active-listener-DjtXj-6l.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BMnwWQ0L.js → api-key-rotation-dBvG_5yr.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BIoyXlzE.js → audio-preflight-C3Pp9geS.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-Dt1i04m6.js → audio-transcription-runner-ClnCvQG5.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-CAJ6jHA7.js → audit-membership-runtime-rx3u3xYQ.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-BgBfJIZr.js → channel-activity-DXEHlqT_.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D1WElkhV.js → channel-web-jhRFdgis.js} +18 -18
- package/dist/plugin-sdk/{chrome-BOy2ZIdy.js → chrome-Ctkdm8kB.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-C746B-IO.js → commands-registry-DaOv_5Un.js} +4 -4
- package/dist/plugin-sdk/{common-DEicsf8f.js → common-BTOQbnC9.js} +2 -2
- package/dist/plugin-sdk/{config-C2VN_Uze.js → config-CPoIewKA.js} +7 -7
- package/dist/plugin-sdk/{deliver-CJDxdV38.js → deliver-C3M9YkG8.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-mEh6dpX2.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-CeLampf3.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-BtxPqajC.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-ClFkIFJ-.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DaHmXzRC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DAF10iAG.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DqlX4Oxz.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Cmg_Guj5.js → diagnostic-DHES2IG3.js} +2 -2
- package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dq4RGtrN.js → fetch-guard-Bnbh_v36.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-Bkid3_6g.js → fs-safe-Bycf8Dw-.js} +3 -3
- package/dist/plugin-sdk/{image-nVvwM3Xd.js → image-moA_39gp.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CpF6ZEdk.js → image-ops-DhoADpAA.js} +2 -2
- package/dist/plugin-sdk/image-runtime-2bziw6eW.js +25 -0
- package/dist/plugin-sdk/{ir-sseErCNR.js → ir-g3OlfUVu.js} +7 -7
- package/dist/plugin-sdk/{local-roots-QiQIw_3f.js → local-roots-C4VMMVpe.js} +4 -4
- package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
- package/dist/plugin-sdk/{login-BQzorFUh.js → login-DncLyb_v.js} +4 -4
- package/dist/plugin-sdk/{login-qr-CikVF257.js → login-qr-Bsk9WIKo.js} +5 -5
- package/dist/plugin-sdk/{manager-BGXvWOFI.js → manager-dSeD3RrO.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-jDo0I-JG.js +15 -0
- package/dist/plugin-sdk/{outbound-DI98BRHn.js → outbound-Uxln4ZUV.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-D3JolQwb.js → outbound-attachment-BGdfM11-.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CaWErHTb.js → path-alias-guards-D7YFCGos.js} +1 -1
- package/dist/plugin-sdk/{paths-C9nUyfHf.js → paths-DG-hVM9r.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CYIBgCUb.js → pi-embedded-helpers-DfSEAMtj.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-CnEHDSXe.js → pi-model-discovery-C-VTvWWv.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-CIuZW3i7.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-C-5gDvbX.js → pi-tools.before-tool-call.runtime-DBmTGutA.js} +4 -4
- package/dist/plugin-sdk/{plugins-BNiirQsT.js → plugins-GsRN6ojJ.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-nIDM2pb-.js → proxy-env-CtTzyyij.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-C-fXKPD2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CQc12I06.js → pw-ai-DdCaaGh3.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Crxi_fUd.js → qmd-manager-CPn_rv_D.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-BoMWv8J7.js → query-expansion-Bvu5XYRV.js} +4 -4
- package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
- package/dist/plugin-sdk/{reply-C46yX129.js → reply-CN3fBNMb.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BUyclz_e.js → resolve-outbound-target-CRToDwG-.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BKOyMmQl.js → run-with-concurrency-BXedUJ_9.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B_rU-DWm.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DsIXsR9d.js +19 -0
- package/dist/plugin-sdk/{send-DRYHVkRK.js → send-66W_v3Rp.js} +13 -13
- package/dist/plugin-sdk/{send-DBto6gUF.js → send-C-o9yhwI.js} +7 -7
- package/dist/plugin-sdk/{send-C74B-7Md.js → send-DLsh3eTd.js} +6 -6
- package/dist/plugin-sdk/{send-CyQZ_3dG.js → send-DyWir3i5.js} +5 -5
- package/dist/plugin-sdk/{send-Ds3SvAXN.js → send-DzRN28wH.js} +8 -8
- package/dist/plugin-sdk/{session-DfwhEElH.js → session-67udJtLN.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-xwQoPrL7.js → skill-commands-DGcpUwSV.js} +4 -4
- package/dist/plugin-sdk/{skills-8kOFtfG0.js → skills-BCUlsM7a.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-Bezqrk4r.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-C1tsWtvv.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-CGNVU7M2.js +16 -0
- package/dist/plugin-sdk/{store-CuPS1X7b.js → store-B8uaah6Q.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-miVNHjsU.js +52 -0
- package/dist/plugin-sdk/{tables-Bt_-pxQx.js → tables-DKLz7bGv.js} +1 -1
- package/dist/plugin-sdk/{thinking-BLYI7Ns-.js → thinking-zAYQzsCw.js} +7 -7
- package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-DMbd3-Ct.js} +1 -1
- package/dist/plugin-sdk/{tool-images-_v-9iCOI.js → tool-images-BVSRVXXq.js} +2 -2
- package/dist/plugin-sdk/web-DSj0-KxZ.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-DPHrLiQ8.js → whatsapp-actions-BuSDFSP5.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-DB-tbkgl.js → plugins-BZY4UQdP.js} +13 -13
- package/dist/{proxy-env-CiOhiqru.js → proxy-env-BgSzvACM.js} +1 -1
- package/dist/{proxy-fetch-lxJGuoUa.js → proxy-fetch-ChfJDZwG.js} +1 -1
- package/dist/{pw-ai-WtE5uJRQ.js → pw-ai-CaeuHJYc.js} +14 -14
- package/dist/{qmd-manager-Bcw2cb8D.js → qmd-manager-IaHGjYlf.js} +10 -10
- package/dist/{query-expansion-D9bYNybh.js → query-expansion-CzkZbxDS.js} +6 -6
- package/dist/{redact-DqlKR0-n.js → redact-DGz6yigq.js} +1 -1
- package/dist/{run-main-BKdAXafb.js → run-main-BmfZLBd9.js} +2 -2
- package/dist/{run-with-concurrency-B8f7bYi3.js → run-with-concurrency-Ccm0w34R.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BQjNpkbA.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-GVjcQLWE.js +22 -0
- package/dist/{send-CkPIBk6V.js → send-BRWGalFX.js} +8 -8
- package/dist/{send-BftnuVa7.js → send-CYoz4Xjy.js} +7 -7
- package/dist/{send-D9k6sRe5.js → send-Cpd5Q5mD.js} +6 -6
- package/dist/{send-yLSU7X_F.js → send-Dsz28eiu.js} +28 -28
- package/dist/{send-pIawmzTN.js → send-tBfK5Za7.js} +5 -5
- package/dist/{session-CgL23zvS.js → session-Dn8bzB0l.js} +8 -8
- package/dist/{skill-commands-Cnz3QjWm.js → skill-commands-LO2hG7Hm.js} +9 -9
- package/dist/{skills-BhLAW7lA.js → skills-mpCKgKof.js} +22 -22
- package/dist/slash-commands.runtime-Qho-6_Lc.js +16 -0
- package/dist/slash-dispatch.runtime-CkR-TldC.js +56 -0
- package/dist/slash-skill-commands.runtime-DmrTozXn.js +20 -0
- package/dist/{store-EDjci9yP.js → store-DbpT7v8D.js} +2 -2
- package/dist/subagent-registry-runtime-DWAZpHqO.js +56 -0
- package/dist/{subsystem-CdFYjh2k.js → subsystem-W834z9Wa.js} +14 -14
- package/dist/{tables-tp9Zl0hI.js → tables-BpeU6RzS.js} +1 -1
- package/dist/{target-errors-3YX3buv4.js → target-errors-Dcsvl3HX.js} +2 -2
- package/dist/{thinking-BaTRgLOg.js → thinking-DzbkyD99.js} +7 -7
- package/dist/{tokens-mtgzW7UN.js → tokens-Cyi-NbsV.js} +1 -1
- package/dist/{tool-images-C3-c00jy.js → tool-images-DktJ_8C5.js} +2 -2
- package/dist/{web-BOPbMZux.js → web-BByXTa4p.js} +55 -55
- package/dist/{whatsapp-actions-BQWT_h74.js → whatsapp-actions-BK9m2IVX.js} +21 -21
- package/dist/{workspace-DKhOowSl.js → workspace-BhNk7PBH.js} +20 -20
- 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 +5 -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 +5 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +5 -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 +5 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +5 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +5 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +5 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/deliver-runtime-DY7UPWdO.js +0 -36
- package/dist/deps-send-discord.runtime-B_MPWdLu.js +0 -26
- package/dist/deps-send-imessage.runtime-BqgAHmfA.js +0 -25
- package/dist/deps-send-signal.runtime-B4CYnceH.js +0 -24
- package/dist/deps-send-slack.runtime-dtkYbGcS.js +0 -22
- package/dist/deps-send-telegram.runtime-C5f1UIXW.js +0 -27
- package/dist/deps-send-whatsapp.runtime-D6XwcPPI.js +0 -60
- package/dist/image-runtime-v_h0aTZD.js +0 -29
- package/dist/manager-runtime-D_u9rPEs.js +0 -18
- package/dist/pi-model-discovery-runtime-ZDLroaI6.js +0 -11
- package/dist/plugin-sdk/deliver-runtime-Btv2N6ID.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-CD6RkX7j.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-Bk6O4cQd.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-D3VOhV12.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-q_vIsWY0.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CMfaSoMW.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-SlwDXgpa.js +0 -57
- package/dist/plugin-sdk/image-runtime-DO1AG9xo.js +0 -25
- package/dist/plugin-sdk/manager-runtime-ptNsDEQe.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BTuhUPJQ.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-Cmgk45l9.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dj9zjsRb.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-DhqEtB3N.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-CRtIC9Sp.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-MqsnB6E8.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-CCusNTee.js +0 -52
- package/dist/plugin-sdk/web-BbS3ifBr.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-A_4Z63o5.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-QGzX864p.js +0 -22
- package/dist/slash-commands.runtime-BD-KtYmG.js +0 -16
- package/dist/slash-dispatch.runtime-Dzq3WGxH.js +0 -56
- package/dist/slash-skill-commands.runtime-EpYM7zik.js +0 -20
- package/dist/subagent-registry-runtime-DwTeW5f1.js +0 -56
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-
|
|
3
|
-
import { $ as getConfigValueAtPath, $n as isTruthyEnvValue, Ar as resolveCliName, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bt as modelKey, Cn as resolveSecretRefValue, Cr as listPluginCommands, Ct as normalizeSafeBinProfileFixtures, Dn as isRecord$1, Dr as registerContextEngine, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isNonEmptyString, Er as triggerInternalHook, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveAuthStorePathForDisplay, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_CONTEXT_TOKENS, Gt as resolveModelRefFromString, H as safeStatSync, Ht as normalizeProviderId, I as isPathWithinRoot, In as resolveOpenClawAgentDir, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as VERSION, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_MODEL, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Ln as withFileLock, Lt as buildModelAliasIndex, Mn as listProfilesForProvider, N as AVATAR_MAX_BYTES, Nn as markAuthProfileGood, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as parseDotPath, Or as resolveContextEngine, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as ensureAuthProfileStore, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as resolveOwnerDisplaySetting, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as getPluginCommandSpecs, St as SAFE_BIN_PROFILES, Tn as describeUnknownError$1, Tr as createInternalHookEvent, Tt as applyMergePatch, Un as normalizeSecretInput, Ut as resolveConfiguredModelRef, V as isPathInside, Vn as resolveAuthProfileDisplayLabel, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as splitTrailingAuthProfile, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as resolveShellEnvFallbackTimeoutMs, Y as getConfigOverrides, Yn as getShellPathFromLoginShell, Z as setConfigOverride, Zn as isDangerousHostEnvVarName, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as setActivePluginRegistry, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as resolveSecretInputRef, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as clearPluginCommands, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as getChatChannelMeta, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as normalizeChannelId$1, dt as splitCommandChain, en as resolveRetryConfig, er as parseBooleanValue$1, et as parseConfigPath, fn as resolveEnvApiKey, fr as normalizeChatChannelId, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as requireActivePluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as dedupeProfileIds, kn as secretRefKey, kr as formatCliCommand, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as listChatChannels, lt as buildEnforcedShellCommand, mr as getActivePluginRegistryKey, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as hasConfiguredSecretInput, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pr as getActivePluginRegistry, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as DEFAULT_PROVIDER, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as normalizeResolvedSecretInputString, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as CHAT_CHANNEL_ORDER, st as validateSafeBinArgv, tn as retryAsync, tr as coerceSecretRef, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeAnyChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as createPluginRegistry, vt as isShellWrapperExecutable, wn as resolveSecretRefValues, wr as matchPluginCommand, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as executePluginCommand, xt as splitShellArgs, yn as markAuthProfileFailure, yr as normalizePluginHttpPath, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-
|
|
4
|
-
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, 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, z as shouldLogVerbose } from "./logger-
|
|
2
|
+
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-BXedUJ_9.js";
|
|
3
|
+
import { $ as getConfigValueAtPath, $n as isTruthyEnvValue, Ar as resolveCliName, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bt as modelKey, Cn as resolveSecretRefValue, Cr as listPluginCommands, Ct as normalizeSafeBinProfileFixtures, Dn as isRecord$1, Dr as registerContextEngine, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isNonEmptyString, Er as triggerInternalHook, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveAuthStorePathForDisplay, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_CONTEXT_TOKENS, Gt as resolveModelRefFromString, H as safeStatSync, Ht as normalizeProviderId, I as isPathWithinRoot, In as resolveOpenClawAgentDir, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as VERSION, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_MODEL, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Ln as withFileLock, Lt as buildModelAliasIndex, Mn as listProfilesForProvider, N as AVATAR_MAX_BYTES, Nn as markAuthProfileGood, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as parseDotPath, Or as resolveContextEngine, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as ensureAuthProfileStore, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as resolveOwnerDisplaySetting, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as getPluginCommandSpecs, St as SAFE_BIN_PROFILES, Tn as describeUnknownError$1, Tr as createInternalHookEvent, Tt as applyMergePatch, Un as normalizeSecretInput, Ut as resolveConfiguredModelRef, V as isPathInside, Vn as resolveAuthProfileDisplayLabel, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as splitTrailingAuthProfile, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as resolveShellEnvFallbackTimeoutMs, Y as getConfigOverrides, Yn as getShellPathFromLoginShell, Z as setConfigOverride, Zn as isDangerousHostEnvVarName, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as setActivePluginRegistry, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as resolveSecretInputRef, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as clearPluginCommands, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as getChatChannelMeta, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as normalizeChannelId$1, dt as splitCommandChain, en as resolveRetryConfig, er as parseBooleanValue$1, et as parseConfigPath, fn as resolveEnvApiKey, fr as normalizeChatChannelId, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as requireActivePluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as dedupeProfileIds, kn as secretRefKey, kr as formatCliCommand, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as listChatChannels, lt as buildEnforcedShellCommand, mr as getActivePluginRegistryKey, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as hasConfiguredSecretInput, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pr as getActivePluginRegistry, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as DEFAULT_PROVIDER, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as normalizeResolvedSecretInputString, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as CHAT_CHANNEL_ORDER, st as validateSafeBinArgv, tn as retryAsync, tr as coerceSecretRef, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeAnyChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as createPluginRegistry, vt as isShellWrapperExecutable, wn as resolveSecretRefValues, wr as matchPluginCommand, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as executePluginCommand, xt as splitShellArgs, yn as markAuthProfileFailure, yr as normalizePluginHttpPath, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-CPoIewKA.js";
|
|
4
|
+
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, 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, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
5
5
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-0d8fBoC4.js";
|
|
6
|
-
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-
|
|
7
|
-
import { C as createDiscordActionGate, D as isWhatsAppGroupJid, E as normalizeDiscordToken, O as normalizeWhatsAppTarget, S as inspectDiscordAccount, T as resolveDiscordAccount, _ as resolveSlackAccount, b as resolveSlackBotToken, c as listEnabledTelegramAccounts, d as resolveTelegramPollActionGateState, f as resolveTelegramToken, g as inspectSlackAccount, h as listAcpBindings, 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-
|
|
8
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-
|
|
9
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
10
|
-
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-
|
|
11
|
-
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-
|
|
12
|
-
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-
|
|
13
|
-
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isRawApiErrorPayload, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCloudCodeAssistFormatError, Ct as isCacheEnabled, D as isFailoverErrorMessage, Dt as mergeDeliveryContext, E as isFailoverAssistantError, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageDimensionError, Mt as capArrayByJsonBytes, N as parseImageSizeError, Nt as countToolResults, O as isLikelyContextOverflowError, Ot as normalizeDeliveryContext, P as sanitizeUserFacingText, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isBillingAssistantError, St as updateSessionStoreEntry, T as isContextOverflowError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatAssistantErrorText, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as getApiErrorPayloadFingerprint, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as classifyFailoverReasonFromHttpStatus, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as isTransientHttpError, jt as archiveSessionTranscripts, k as isRateLimitAssistantError, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatBillingErrorMessage, vt as readSessionUpdatedAt, w as isCompactionFailureError, wt as resolveCacheTtlMs$1, x as isAuthAssistantError, xt as updateSessionStore, y as formatRawAssistantErrorForUi, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-
|
|
14
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
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 chunkDiscordTextWithMode, 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 createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, 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-
|
|
6
|
+
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-Bm4PRMWH.js";
|
|
7
|
+
import { C as createDiscordActionGate, D as isWhatsAppGroupJid, E as normalizeDiscordToken, O as normalizeWhatsAppTarget, S as inspectDiscordAccount, T as resolveDiscordAccount, _ as resolveSlackAccount, b as resolveSlackBotToken, c as listEnabledTelegramAccounts, d as resolveTelegramPollActionGateState, f as resolveTelegramToken, g as inspectSlackAccount, h as listAcpBindings, 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-GsRN6ojJ.js";
|
|
8
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-zAYQzsCw.js";
|
|
9
|
+
import { t as resolveIMessageAccount } from "./accounts-CXyl1mLm.js";
|
|
10
|
+
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-DLsh3eTd.js";
|
|
11
|
+
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-BTOQbnC9.js";
|
|
12
|
+
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-DhoADpAA.js";
|
|
13
|
+
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isRawApiErrorPayload, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCloudCodeAssistFormatError, Ct as isCacheEnabled, D as isFailoverErrorMessage, Dt as mergeDeliveryContext, E as isFailoverAssistantError, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageDimensionError, Mt as capArrayByJsonBytes, N as parseImageSizeError, Nt as countToolResults, O as isLikelyContextOverflowError, Ot as normalizeDeliveryContext, P as sanitizeUserFacingText, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isBillingAssistantError, St as updateSessionStoreEntry, T as isContextOverflowError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatAssistantErrorText, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as getApiErrorPayloadFingerprint, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as classifyFailoverReasonFromHttpStatus, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as isTransientHttpError, jt as archiveSessionTranscripts, k as isRateLimitAssistantError, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatBillingErrorMessage, vt as readSessionUpdatedAt, w as isCompactionFailureError, wt as resolveCacheTtlMs$1, x as isAuthAssistantError, xt as updateSessionStore, y as formatRawAssistantErrorForUi, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-DfSEAMtj.js";
|
|
14
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DskuKVrL.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 chunkDiscordTextWithMode, 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 createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, 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-DzRN28wH.js";
|
|
16
16
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-CKKBybuX.js";
|
|
17
|
-
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
17
|
+
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DG-hVM9r.js";
|
|
18
18
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
19
19
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
20
|
-
import { $ as readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, 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 isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-
|
|
21
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
22
|
-
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-
|
|
23
|
-
import { C as ensureOpenClawModelsJson, 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 minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
24
|
-
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-
|
|
25
|
-
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-
|
|
26
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
27
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
28
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
29
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
30
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
31
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
20
|
+
import { $ as readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, 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 isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-66W_v3Rp.js";
|
|
21
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DMbd3-Ct.js";
|
|
22
|
+
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-ClnCvQG5.js";
|
|
23
|
+
import { C as ensureOpenClawModelsJson, 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 minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-moA_39gp.js";
|
|
24
|
+
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-Ctkdm8kB.js";
|
|
25
|
+
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-BCUlsM7a.js";
|
|
26
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-D7YFCGos.js";
|
|
27
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-C3rEm8A0.js";
|
|
28
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-B2jpHiod.js";
|
|
29
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-Bycf8Dw-.js";
|
|
30
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-CtTzyyij.js";
|
|
31
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-B8uaah6Q.js";
|
|
32
32
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-D2mQUJdh.js";
|
|
33
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
33
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BVSRVXXq.js";
|
|
34
34
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
|
|
35
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
36
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
37
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
38
|
-
import { A as joinPresentTextSegments, C as toInternalMessageReceivedContext, D as fireAndForgetHook, E as toPluginMessageReceivedEvent, O as getGlobalHookRunner, S as toInternalMessagePreprocessedContext, T as toPluginMessageContext, _ as normalizeTargetForProvider, a as normalizeReplyPayloadsForDelivery, b as splitMediaFromOutput, c as filterMessagingToolDuplicates, d as shouldSuppressMessagingToolReplies, f as shouldSuppressReasoningPayload, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as filterMessagingToolMediaDuplicates, m as resolveReplyToMode, n as formatOutboundPayloadLog, o as applyReplyTagsToPayload, p as createReplyToModeFilterForChannel, r as normalizeOutboundPayloads, s as applyReplyThreading, t as deliverOutboundPayloads, u as isRenderablePayload, v as throwIfAborted, w as toInternalMessageTranscribedContext, x as deriveInboundMessageHookContext, y as parseReplyDirectives } from "./deliver-
|
|
39
|
-
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-
|
|
35
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Bnbh_v36.js";
|
|
36
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-C4VMMVpe.js";
|
|
37
|
+
import { t as makeProxyFetch } from "./proxy-fetch-C-fXKPD2.js";
|
|
38
|
+
import { A as joinPresentTextSegments, C as toInternalMessageReceivedContext, D as fireAndForgetHook, E as toPluginMessageReceivedEvent, O as getGlobalHookRunner, S as toInternalMessagePreprocessedContext, T as toPluginMessageContext, _ as normalizeTargetForProvider, a as normalizeReplyPayloadsForDelivery, b as splitMediaFromOutput, c as filterMessagingToolDuplicates, d as shouldSuppressMessagingToolReplies, f as shouldSuppressReasoningPayload, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as filterMessagingToolMediaDuplicates, m as resolveReplyToMode, n as formatOutboundPayloadLog, o as applyReplyTagsToPayload, p as createReplyToModeFilterForChannel, r as normalizeOutboundPayloads, s as applyReplyThreading, t as deliverOutboundPayloads, u as isRenderablePayload, v as throwIfAborted, w as toInternalMessageTranscribedContext, x as deriveInboundMessageHookContext, y as parseReplyDirectives } from "./deliver-C3M9YkG8.js";
|
|
39
|
+
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-DaOv_5Un.js";
|
|
40
40
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-zvBCYv_R.js";
|
|
41
|
-
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 { 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-
|
|
43
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
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-
|
|
41
|
+
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-DGcpUwSV.js";
|
|
42
|
+
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-DHES2IG3.js";
|
|
43
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C-VTvWWv.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-g3OlfUVu.js";
|
|
45
45
|
import { n as normalizePollInput, r as resolvePollMaxSelections } from "./polls-cWLKt9XC.js";
|
|
46
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
46
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-DyWir3i5.js";
|
|
47
47
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-nUN6kIwM.js";
|
|
48
48
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CdwFGsMf.js";
|
|
49
|
-
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-
|
|
50
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
51
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
52
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
53
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
54
|
-
import { m as normalizeExtraMemoryPaths, n as isQueryStopWordToken, p as listMemoryFiles, t as extractKeywords } from "./query-expansion-
|
|
49
|
+
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-C-o9yhwI.js";
|
|
50
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DXEHlqT_.js";
|
|
51
|
+
import { t as convertMarkdownTables } from "./tables-DKLz7bGv.js";
|
|
52
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-DjtXj-6l.js";
|
|
53
|
+
import { n as resolveMemorySearchConfig } from "./manager-dSeD3RrO.js";
|
|
54
|
+
import { m as normalizeExtraMemoryPaths, n as isQueryStopWordToken, p as listMemoryFiles, t as extractKeywords } from "./query-expansion-Bvu5XYRV.js";
|
|
55
55
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CBzbdxXh.js";
|
|
56
56
|
import { createRequire } from "node:module";
|
|
57
57
|
import * as path$1 from "node:path";
|
|
58
58
|
import path, { isAbsolute } from "node:path";
|
|
59
59
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
60
60
|
import os, { homedir } from "node:os";
|
|
61
|
-
import
|
|
61
|
+
import JSON5 from "json5";
|
|
62
62
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
63
63
|
import * as fs$2 from "node:fs/promises";
|
|
64
64
|
import fs$1, { appendFile, mkdir } from "node:fs/promises";
|
|
@@ -1274,7 +1274,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
1274
1274
|
//#region src/media-understanding/echo-transcript.ts
|
|
1275
1275
|
let deliverRuntimePromise$2 = null;
|
|
1276
1276
|
function loadDeliverRuntime$2() {
|
|
1277
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
1277
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-mEh6dpX2.js");
|
|
1278
1278
|
return deliverRuntimePromise$2;
|
|
1279
1279
|
}
|
|
1280
1280
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -18799,7 +18799,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
18799
18799
|
//#region src/auto-reply/reply/route-reply.ts
|
|
18800
18800
|
let deliverRuntimePromise$1 = null;
|
|
18801
18801
|
function loadDeliverRuntime$1() {
|
|
18802
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
18802
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-mEh6dpX2.js");
|
|
18803
18803
|
return deliverRuntimePromise$1;
|
|
18804
18804
|
}
|
|
18805
18805
|
/**
|
|
@@ -22144,7 +22144,7 @@ const VISION_PROVIDERS = [
|
|
|
22144
22144
|
];
|
|
22145
22145
|
let imageRuntimePromise = null;
|
|
22146
22146
|
function loadImageRuntime() {
|
|
22147
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
22147
|
+
imageRuntimePromise ??= import("./image-runtime-2bziw6eW.js");
|
|
22148
22148
|
return imageRuntimePromise;
|
|
22149
22149
|
}
|
|
22150
22150
|
/**
|
|
@@ -27072,7 +27072,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
27072
27072
|
hasTypedText
|
|
27073
27073
|
};
|
|
27074
27074
|
try {
|
|
27075
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
27075
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C3Pp9geS.js");
|
|
27076
27076
|
if (params.abortSignal?.aborted) return {
|
|
27077
27077
|
hasAudioAttachment,
|
|
27078
27078
|
hasTypedText
|
|
@@ -28672,7 +28672,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
28672
28672
|
await ensureOpenClawModelsJson(cfg);
|
|
28673
28673
|
} catch {}
|
|
28674
28674
|
try {
|
|
28675
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
28675
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-C-VTvWWv.js").then((n) => n.r);
|
|
28676
28676
|
const agentDir = resolveOpenClawAgentDir();
|
|
28677
28677
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
28678
28678
|
applyDiscoveredContextWindows({
|
|
@@ -29018,7 +29018,7 @@ async function createModelSelectionState(params) {
|
|
|
29018
29018
|
}
|
|
29019
29019
|
}
|
|
29020
29020
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
29021
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
29021
|
+
const { ensureAuthProfileStore } = await import("./config-CPoIewKA.js").then((n) => n.mn);
|
|
29022
29022
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
29023
29023
|
const providerKey = normalizeProviderId(provider);
|
|
29024
29024
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -37749,27 +37749,27 @@ let slackSenderRuntimePromise = null;
|
|
|
37749
37749
|
let signalSenderRuntimePromise = null;
|
|
37750
37750
|
let imessageSenderRuntimePromise = null;
|
|
37751
37751
|
function loadWhatsAppSenderRuntime() {
|
|
37752
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
37752
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-DqlX4Oxz.js");
|
|
37753
37753
|
return whatsappSenderRuntimePromise;
|
|
37754
37754
|
}
|
|
37755
37755
|
function loadTelegramSenderRuntime() {
|
|
37756
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
37756
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-DAF10iAG.js");
|
|
37757
37757
|
return telegramSenderRuntimePromise;
|
|
37758
37758
|
}
|
|
37759
37759
|
function loadDiscordSenderRuntime() {
|
|
37760
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
37760
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-CeLampf3.js");
|
|
37761
37761
|
return discordSenderRuntimePromise;
|
|
37762
37762
|
}
|
|
37763
37763
|
function loadSlackSenderRuntime() {
|
|
37764
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
37764
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-DaHmXzRC.js");
|
|
37765
37765
|
return slackSenderRuntimePromise;
|
|
37766
37766
|
}
|
|
37767
37767
|
function loadSignalSenderRuntime() {
|
|
37768
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
37768
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-ClFkIFJ-.js");
|
|
37769
37769
|
return signalSenderRuntimePromise;
|
|
37770
37770
|
}
|
|
37771
37771
|
function loadIMessageSenderRuntime() {
|
|
37772
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
37772
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-BtxPqajC.js");
|
|
37773
37773
|
return imessageSenderRuntimePromise;
|
|
37774
37774
|
}
|
|
37775
37775
|
function createDefaultDeps() {
|
|
@@ -50963,15 +50963,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
50963
50963
|
let slashDispatchRuntimePromise = null;
|
|
50964
50964
|
let slashSkillCommandsRuntimePromise = null;
|
|
50965
50965
|
function loadSlashCommandsRuntime() {
|
|
50966
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
50966
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-Bezqrk4r.js");
|
|
50967
50967
|
return slashCommandsRuntimePromise;
|
|
50968
50968
|
}
|
|
50969
50969
|
function loadSlashDispatchRuntime() {
|
|
50970
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
50970
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-C1tsWtvv.js");
|
|
50971
50971
|
return slashDispatchRuntimePromise;
|
|
50972
50972
|
}
|
|
50973
50973
|
function loadSlashSkillCommandsRuntime() {
|
|
50974
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
50974
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-CGNVU7M2.js");
|
|
50975
50975
|
return slashSkillCommandsRuntimePromise;
|
|
50976
50976
|
}
|
|
50977
50977
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -51961,7 +51961,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
51961
51961
|
}
|
|
51962
51962
|
let auditMembershipRuntimePromise = null;
|
|
51963
51963
|
function loadAuditMembershipRuntime() {
|
|
51964
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
51964
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-rx3u3xYQ.js");
|
|
51965
51965
|
return auditMembershipRuntimePromise;
|
|
51966
51966
|
}
|
|
51967
51967
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -56790,7 +56790,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
56790
56790
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
56791
56791
|
let preflightTranscript;
|
|
56792
56792
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
56793
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56793
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C3Pp9geS.js");
|
|
56794
56794
|
preflightTranscript = await transcribeFirstAudio({
|
|
56795
56795
|
ctx: {
|
|
56796
56796
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -60144,7 +60144,7 @@ function createWhatsAppLoginTool() {
|
|
|
60144
60144
|
force: Type.Optional(Type.Boolean())
|
|
60145
60145
|
}),
|
|
60146
60146
|
execute: async (_toolCallId, args) => {
|
|
60147
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
60147
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-Bsk9WIKo.js");
|
|
60148
60148
|
if ((args?.action ?? "start") === "wait") {
|
|
60149
60149
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
60150
60150
|
return {
|
|
@@ -60219,23 +60219,23 @@ let webOutboundPromise = null;
|
|
|
60219
60219
|
let webLoginPromise = null;
|
|
60220
60220
|
let whatsappActionsPromise = null;
|
|
60221
60221
|
function loadWebOutbound() {
|
|
60222
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
60222
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-DsIXsR9d.js");
|
|
60223
60223
|
return webOutboundPromise;
|
|
60224
60224
|
}
|
|
60225
60225
|
function loadWebLogin() {
|
|
60226
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
60226
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-B_rU-DWm.js");
|
|
60227
60227
|
return webLoginPromise;
|
|
60228
60228
|
}
|
|
60229
60229
|
function loadWebLoginQr() {
|
|
60230
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
60230
|
+
webLoginQrPromise ??= import("./login-qr-Bsk9WIKo.js");
|
|
60231
60231
|
return webLoginQrPromise;
|
|
60232
60232
|
}
|
|
60233
60233
|
function loadWebChannel() {
|
|
60234
|
-
webChannelPromise ??= import("./web-
|
|
60234
|
+
webChannelPromise ??= import("./web-DSj0-KxZ.js");
|
|
60235
60235
|
return webChannelPromise;
|
|
60236
60236
|
}
|
|
60237
60237
|
function loadWhatsAppActions() {
|
|
60238
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
60238
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BuSDFSP5.js");
|
|
60239
60239
|
return whatsappActionsPromise;
|
|
60240
60240
|
}
|
|
60241
60241
|
function createRuntimeWhatsApp() {
|
|
@@ -60676,7 +60676,7 @@ const log$12 = createSubsystemLogger("memory");
|
|
|
60676
60676
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
60677
60677
|
let managerRuntimePromise = null;
|
|
60678
60678
|
function loadManagerRuntime() {
|
|
60679
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
60679
|
+
managerRuntimePromise ??= import("./manager-runtime-jDo0I-JG.js");
|
|
60680
60680
|
return managerRuntimePromise;
|
|
60681
60681
|
}
|
|
60682
60682
|
async function getMemorySearchManager(params) {
|
|
@@ -60690,7 +60690,7 @@ async function getMemorySearchManager(params) {
|
|
|
60690
60690
|
if (cached) return { manager: cached };
|
|
60691
60691
|
}
|
|
60692
60692
|
try {
|
|
60693
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
60693
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CPn_rv_D.js");
|
|
60694
60694
|
const primary = await QmdMemoryManager.create({
|
|
60695
60695
|
cfg: params.cfg,
|
|
60696
60696
|
agentId: params.agentId,
|
|
@@ -73510,7 +73510,7 @@ function normalizeSessionKey(value) {
|
|
|
73510
73510
|
function readSessionStore(storePath) {
|
|
73511
73511
|
try {
|
|
73512
73512
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
73513
|
-
const parsed =
|
|
73513
|
+
const parsed = JSON5.parse(raw);
|
|
73514
73514
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
73515
73515
|
} catch {}
|
|
73516
73516
|
return {};
|
|
@@ -76923,7 +76923,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
76923
76923
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
76924
76924
|
let beforeToolCallRuntimePromise = null;
|
|
76925
76925
|
function loadBeforeToolCallRuntime() {
|
|
76926
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
76926
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-DBmTGutA.js");
|
|
76927
76927
|
return beforeToolCallRuntimePromise;
|
|
76928
76928
|
}
|
|
76929
76929
|
function buildAdjustedParamsKey(params) {
|
|
@@ -89149,7 +89149,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
89149
89149
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
89150
89150
|
let subagentRegistryRuntimePromise = null;
|
|
89151
89151
|
function loadSubagentRegistryRuntime() {
|
|
89152
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
89152
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-miVNHjsU.js");
|
|
89153
89153
|
return subagentRegistryRuntimePromise;
|
|
89154
89154
|
}
|
|
89155
89155
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -100621,7 +100621,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
100621
100621
|
const log$1 = createSubsystemLogger("session-maintenance-warning");
|
|
100622
100622
|
let deliverRuntimePromise = null;
|
|
100623
100623
|
function loadDeliverRuntime() {
|
|
100624
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
100624
|
+
deliverRuntimePromise ??= import("./deliver-runtime-mEh6dpX2.js");
|
|
100625
100625
|
return deliverRuntimePromise;
|
|
100626
100626
|
}
|
|
100627
100627
|
function shouldSendWarning() {
|
package/dist/plugin-sdk/{resolve-outbound-target-BUyclz_e.js → resolve-outbound-target-CRToDwG-.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as isWhatsAppGroupJid, O as normalizeWhatsAppTarget } from "./plugins-
|
|
2
|
-
import { m as missingTargetError } from "./common-
|
|
1
|
+
import { D as isWhatsAppGroupJid, O as normalizeWhatsAppTarget } from "./plugins-GsRN6ojJ.js";
|
|
2
|
+
import { m as missingTargetError } from "./common-BTOQbnC9.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
package/dist/plugin-sdk/{run-with-concurrency-BKOyMmQl.js → run-with-concurrency-BXedUJ_9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
2
2
|
import { c as resolveStateDir, d as resolveRequiredHomeDir } from "./paths-0d8fBoC4.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./run-with-concurrency-BXedUJ_9.js";
|
|
2
|
+
import "./config-CPoIewKA.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-Bm4PRMWH.js";
|
|
6
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
7
|
+
import "./session-67udJtLN.js";
|
|
8
|
+
import { t as loginWeb } from "./login-DncLyb_v.js";
|
|
9
|
+
|
|
10
|
+
export { loginWeb };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-BXedUJ_9.js";
|
|
2
|
+
import "./config-CPoIewKA.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-Bm4PRMWH.js";
|
|
6
|
+
import "./plugins-GsRN6ojJ.js";
|
|
7
|
+
import "./image-ops-DhoADpAA.js";
|
|
8
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
9
|
+
import "./path-alias-guards-D7YFCGos.js";
|
|
10
|
+
import "./fs-safe-Bycf8Dw-.js";
|
|
11
|
+
import "./proxy-env-CtTzyyij.js";
|
|
12
|
+
import "./fetch-guard-Bnbh_v36.js";
|
|
13
|
+
import "./local-roots-C4VMMVpe.js";
|
|
14
|
+
import "./ir-g3OlfUVu.js";
|
|
15
|
+
import "./render-CF8xRF8z.js";
|
|
16
|
+
import "./tables-DKLz7bGv.js";
|
|
17
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-Uxln4ZUV.js";
|
|
18
|
+
|
|
19
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { $n as isTruthyEnvValue, Ln as withFileLock$1, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-
|
|
3
|
-
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-BXedUJ_9.js";
|
|
2
|
+
import { $n as isTruthyEnvValue, Ln as withFileLock$1, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-CPoIewKA.js";
|
|
3
|
+
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
|
|
5
|
-
import { n as listChannelPlugins, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-
|
|
6
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { n as listChannelPlugins, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-GsRN6ojJ.js";
|
|
6
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-DhoADpAA.js";
|
|
7
7
|
import { r as writeJsonAtomic } from "./json-files-DtF9ARSD.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
9
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
10
|
-
import { t as hasProxyEnvConfigured } from "./proxy-env-
|
|
11
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-C3rEm8A0.js";
|
|
9
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-B2jpHiod.js";
|
|
10
|
+
import { t as hasProxyEnvConfigured } from "./proxy-env-CtTzyyij.js";
|
|
11
|
+
import { t as makeProxyFetch } from "./proxy-fetch-C-fXKPD2.js";
|
|
12
12
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-zvBCYv_R.js";
|
|
13
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
13
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-g3OlfUVu.js";
|
|
14
14
|
import { t as renderMarkdownWithMarkers } from "./render-CF8xRF8z.js";
|
|
15
15
|
import { n as normalizePollInput } from "./polls-cWLKt9XC.js";
|
|
16
16
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-nUN6kIwM.js";
|
|
17
17
|
import { t as resolveFetch } from "./fetch-CdwFGsMf.js";
|
|
18
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
18
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-DXEHlqT_.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs, { readFileSync } from "node:fs";
|
|
21
21
|
import os from "node:os";
|
|
22
|
-
import
|
|
22
|
+
import JSON5 from "json5";
|
|
23
23
|
import fs$1 from "node:fs/promises";
|
|
24
24
|
import process$1 from "node:process";
|
|
25
25
|
import crypto, { randomBytes } from "node:crypto";
|
|
@@ -1720,7 +1720,7 @@ async function loadCronStore(storePath) {
|
|
|
1720
1720
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1721
1721
|
let parsed;
|
|
1722
1722
|
try {
|
|
1723
|
-
parsed =
|
|
1723
|
+
parsed = JSON5.parse(raw);
|
|
1724
1724
|
} catch (err) {
|
|
1725
1725
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1726
1726
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
4
|
-
import { m as kindFromMime } from "./image-ops-
|
|
5
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
1
|
+
import { n as loadConfig } from "./config-CPoIewKA.js";
|
|
2
|
+
import { h as normalizeE164, y as resolveUserPath } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { t as resolveIMessageAccount } from "./accounts-CXyl1mLm.js";
|
|
4
|
+
import { m as kindFromMime } from "./image-ops-DhoADpAA.js";
|
|
5
|
+
import { s as resolveMarkdownTableMode } from "./ir-g3OlfUVu.js";
|
|
6
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BGdfM11-.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-DKLz7bGv.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { L as logVerbose } from "./logger-
|
|
3
|
-
import { _ as resolveSlackAccount, b as resolveSlackBotToken } from "./plugins-
|
|
1
|
+
import { n as loadConfig } from "./config-CPoIewKA.js";
|
|
2
|
+
import { L as logVerbose } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { _ as resolveSlackAccount, b as resolveSlackBotToken } from "./plugins-GsRN6ojJ.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-DMbd3-Ct.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Bnbh_v36.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-g3OlfUVu.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-CF8xRF8z.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { m as kindFromMime } from "./image-ops-
|
|
3
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { n as loadConfig } from "./config-CPoIewKA.js";
|
|
2
|
+
import { m as kindFromMime } from "./image-ops-DhoADpAA.js";
|
|
3
|
+
import { n as resolveSignalAccount } from "./accounts-DskuKVrL.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
6
|
-
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
+
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-g3OlfUVu.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BGdfM11-.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-CdwFGsMf.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-
|
|
3
|
-
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-
|
|
4
|
-
import { E as normalizeDiscordToken, T as resolveDiscordAccount } from "./plugins-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-BXedUJ_9.js";
|
|
2
|
+
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-CPoIewKA.js";
|
|
3
|
+
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-Bl138Nx7.js";
|
|
4
|
+
import { E as normalizeDiscordToken, T as resolveDiscordAccount } from "./plugins-GsRN6ojJ.js";
|
|
5
5
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
6
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-DhoADpAA.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-g3OlfUVu.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-cWLKt9XC.js";
|
|
9
9
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-nUN6kIwM.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-CdwFGsMf.js";
|
|
11
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-DXEHlqT_.js";
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-DKLz7bGv.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { promisify } from "node:util";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Jn as VERSION, kr as formatCliCommand } from "./config-
|
|
2
|
-
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
1
|
+
import { Jn as VERSION, kr as formatCliCommand } from "./config-CPoIewKA.js";
|
|
2
|
+
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-Bm4PRMWH.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|