@lawpath-tech/openclaw 2026.2.21-3 → 2026.2.21-4
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/{agents-DACIOY6e.js → agents-BtqLW18n.js} +4 -4
- package/dist/{agents.config-CMqaoJds.js → agents.config-B-tuPgrg.js} +1 -1
- package/dist/{agents.config-1H3pmQ3X.js → agents.config-ICVDwC0C.js} +1 -1
- package/dist/{audio-preflight-BbLjRB5z.js → audio-preflight-BAupR5wm.js} +4 -4
- package/dist/{audio-preflight-CPOelDjQ.js → audio-preflight-Bgb5ILYG.js} +3 -3
- package/dist/{audio-preflight-e2mShqWy.js → audio-preflight-COZa0IDW.js} +3 -3
- package/dist/{audio-preflight-BcdVhY9A.js → audio-preflight-DSln0Zsg.js} +4 -4
- package/dist/{auth-choice-DXjIdZNV.js → auth-choice-6iuXqwcN.js} +1 -1
- package/dist/{auth-choice-_7eilQuG.js → auth-choice-BjZRva43.js} +1 -1
- package/dist/{banner-C_Srx2e4.js → banner-B3WC17dn.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C1XZ6wuv.js → channel-options-BDj65ZyO.js} +1 -1
- package/dist/{channel-options-BC4EwIAa.js → channel-options-G8V1c6AS.js} +1 -1
- package/dist/{channel-web-Dqw2Birw.js → channel-web-B_ZYKCEQ.js} +2 -2
- package/dist/{channels-cli-COh3Dgcn.js → channels-cli-DqFbn6qS.js} +8 -8
- package/dist/{channels-cli-CZ02_4BX.js → channels-cli-raxsTCN2.js} +8 -8
- package/dist/{chrome-CQlDoNNk.js → chrome-CzHty2tf.js} +7 -7
- package/dist/{chrome-HMhmjNaM.js → chrome-_026ohiG.js} +7 -7
- package/dist/{cli-DkGpOXdQ.js → cli-CR9BTL9c.js} +5 -5
- package/dist/{cli-CPwJJb6R.js → cli-E0T5u43Z.js} +5 -5
- package/dist/{command-registry-D1UpBQsm.js → command-registry-BmpWsMTW.js} +9 -9
- package/dist/{completion-cli-Dn0roFg0.js → completion-cli-S4G6qt8g.js} +1 -1
- package/dist/{completion-cli-CmtJ7Nfl.js → completion-cli-ilRVVz-z.js} +2 -2
- package/dist/{config-cli-ClI7PyaS.js → config-cli-Cko5ncf5.js} +1 -1
- package/dist/{config-cli-6efMnuMu.js → config-cli-WbPlELKk.js} +1 -1
- package/dist/{configure-BY238M3V.js → configure-B-GCDUGh.js} +3 -3
- package/dist/{configure-Ct8Kh4Y_.js → configure-BBkx0Gee.js} +3 -3
- package/dist/{deliver-DinEoESw.js → deliver-B9BKqp1a.js} +1 -1
- package/dist/{deliver-B3j471em.js → deliver-BQUkAN72.js} +1 -1
- package/dist/{deliver-CBHEFMKU.js → deliver-CChv42uL.js} +1 -1
- package/dist/{deliver-BftA3M2a.js → deliver-IOU5_B6z.js} +1 -1
- package/dist/{doctor-completion-DjlhMMVm.js → doctor-completion-7mRw3cHh.js} +1 -1
- package/dist/{doctor-completion-BlRdqi66.js → doctor-completion-CJKoQcYI.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-I2OTV3t6.js → gateway-cli-AhPjzNqQ.js} +13 -13
- package/dist/{gateway-cli-CEgcSQ7Q.js → gateway-cli-CmSTW0ue.js} +13 -13
- package/dist/{health-CvOhkOry.js → health-ADwLM-Or.js} +2 -2
- package/dist/{health-DDZkmBZm.js → health-fiXB0fGK.js} +2 -2
- package/dist/{hooks-cli-CgkpWHrn.js → hooks-cli-DRoJbg8P.js} +6 -6
- package/dist/{hooks-cli-Dg_9aZD3.js → hooks-cli-XfbsybsC.js} +6 -6
- package/dist/{image-BJOYFMbX.js → image-B9TdLqUC.js} +1 -1
- package/dist/{image-VgmUXiDj.js → image-Brqat-9-.js} +1 -1
- package/dist/{image-CtZAwt5G.js → image-CdTrSqaH.js} +1 -1
- package/dist/{image-n4RsTiL-.js → image-SjYLchaS.js} +1 -1
- package/dist/index.js +10 -10
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{models-Blvv1jqt.js → models-2tG63q_V.js} +2 -2
- package/dist/{models-cli-DJcP4xmj.js → models-cli-BWxHuaVU.js} +7 -7
- package/dist/{models-cli-CEHe5QaR.js → models-cli-CR_SMGJ0.js} +6 -6
- package/dist/{onboard-BvSlWRy_.js → onboard-DBSlZhzk.js} +2 -2
- package/dist/{onboard-BiPVfH2i.js → onboard-a3lJkMHB.js} +2 -2
- package/dist/{onboard-channels-Kh21UhRy.js → onboard-channels-B8j2CJsJ.js} +1 -1
- package/dist/{onboard-channels-DVCGhYti.js → onboard-channels-BUE80D3V.js} +1 -1
- package/dist/{onboarding-BlBICx9e.js → onboarding-BPiYCwYW.js} +3 -3
- package/dist/{onboarding-0S32lgTh.js → onboarding-vEEafQpu.js} +3 -3
- package/dist/{onboarding.finalize-CNm3Z9bJ.js → onboarding.finalize-ASGzuJ_m.js} +11 -11
- package/dist/{onboarding.finalize-B4K4VMQZ.js → onboarding.finalize-C7185nuS.js} +10 -10
- package/dist/{pi-embedded-CybcroMl.js → pi-embedded-BfX7An0n.js} +16 -16
- package/dist/{pi-embedded-B5Wvoi23.js → pi-embedded-DtVM2K0j.js} +16 -16
- package/dist/{pi-embedded-helpers-uj4u33AJ.js → pi-embedded-helpers-B5E_Q6LM.js} +6 -0
- package/dist/{pi-embedded-helpers-BOpwqASt.js → pi-embedded-helpers-DChC7Q7D.js} +10 -4
- package/dist/{pi-embedded-helpers-7HA49-yo.js → pi-embedded-helpers-Mzn8kkGx.js} +10 -4
- package/dist/{pi-embedded-helpers-ZMDgzGB5.js → pi-embedded-helpers-oDqv-DiZ.js} +6 -0
- package/dist/{plugin-registry-DKd5rut1.js → plugin-registry-CDCLBIsW.js} +1 -1
- package/dist/{plugin-registry-CD23llsm.js → plugin-registry-DAvWT8O2.js} +1 -1
- package/dist/plugin-sdk/{accounts-DUBJHEgi.js → accounts-BcQo4OUu.js} +1 -1
- package/dist/plugin-sdk/{accounts-wSu5JyDM.js → accounts-DEsAwvaZ.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ciwy7Yxd.js → accounts-fnLsjAOi.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Bnau4oiu.js → active-listener-CeaKSm29.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-B_K0lnIZ.js → agent-scope-DSex4wfg.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-ubwcEE3L.js → api-key-rotation-DVRFDYWE.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CLMFtfDb.js → audio-preflight-rT8tAkD-.js} +24 -24
- package/dist/plugin-sdk/{bindings-y5ob6sm3.js → bindings-DeKqzYUw.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CCnr-9bS.js → channel-activity-WgE8Z4Bb.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BWDwo6em.js → channel-web-D7oXjz9F.js} +22 -22
- package/dist/plugin-sdk/{chrome-BY2jt7nz.js → chrome-CmTDPHBP.js} +3 -3
- package/dist/plugin-sdk/{chunk-DyzO7IVo.js → chunk-CQk9vawA.js} +1 -1
- package/dist/plugin-sdk/{command-format-DcBXOX9Z.js → command-format-DHXa0Clc.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BlifvuiT.js → commands-registry-lvrJ62DW.js} +4 -4
- package/dist/plugin-sdk/{config-c9LTBVr8.js → config-BT7sZurc.js} +9 -9
- package/dist/plugin-sdk/{deliver-B_b7quq8.js → deliver-CJxTyTAX.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DKyVS3IK.js → diagnostic-Up1aMyxZ.js} +1 -1
- package/dist/plugin-sdk/{image-NUmwwe5Y.js → image-DN02b1Un.js} +4 -4
- package/dist/plugin-sdk/{image-ops-DvH046F-.js → image-ops-CZqefviF.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-CKLBdoDN.js → ir-B7rkHLE2.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Com8GhnT.js → local-roots-BQE1Ebnw.js} +3 -3
- package/dist/plugin-sdk/{login-Bg_WVfHE.js → login-De0S3iEe.js} +7 -7
- package/dist/plugin-sdk/{login-qr-0RXOeFuV.js → login-qr-DbAmVoVd.js} +9 -9
- package/dist/plugin-sdk/{manager-0ITt6KKN.js → manager-NrAHkxhT.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-sgHvjA6E.js → manifest-registry-DvEm2HHf.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-CTgITejf.js → markdown-tables-FPKU-GAf.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DmB4bGFh.js → message-channel-DY9wVB2A.js} +1 -1
- package/dist/plugin-sdk/{model-selection-eaUqWB9v.js → model-selection-D74TGHOt.js} +4 -4
- package/dist/plugin-sdk/{outbound-attachment-DFlJJUUs.js → outbound-attachment-t84PRHhe.js} +2 -2
- package/dist/plugin-sdk/{outbound-YogvVnLx.js → outbound-hovTyykv.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-BNYV9v5Z.js → pi-auth-json-3M5ZaNhl.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-Cw48_Bdn.js → pi-embedded-helpers-HEdGJVz9.js} +23 -17
- package/dist/plugin-sdk/{plugins-Bi3zjb1D.js → plugins-a8_TtkpO.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-D17TBpla.js → pw-ai-CBpL2WWS.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-C5jlBI8H.js → qmd-manager-Hv8FbJlj.js} +4 -4
- package/dist/plugin-sdk/{registry-O1yza0Vh.js → registry-DL-33c9X.js} +2 -2
- package/dist/plugin-sdk/{replies-Bi2MUExf.js → replies-BsiP6hrm.js} +3 -3
- package/dist/plugin-sdk/{reply-CWWIp29D.js → reply-CcZVzbxJ.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-D9Vp9XsI.js → reply-prefix-DNtb4_wd.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-4LJSOI03.js → resolve-outbound-target-EACA6DIF.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DGSGaQkJ.js → resolve-route-Cqj4b_M3.js} +3 -3
- package/dist/plugin-sdk/{retry-JFNwfUew.js → retry-5P3d0rYw.js} +1 -1
- package/dist/plugin-sdk/{runner-Bz2zSQOh.js → runner-CF0Vfhdz.js} +9 -9
- package/dist/plugin-sdk/{send-CuVP5yhW.js → send-4EuOqK3R.js} +7 -7
- package/dist/plugin-sdk/{send-Cy2TYbta.js → send-B3LOEv4r.js} +6 -6
- package/dist/plugin-sdk/{send-e4x0TcgT.js → send-Cz-EZBfd.js} +10 -10
- package/dist/plugin-sdk/{send-iHZz9oKf.js → send-Czuwer1y.js} +6 -6
- package/dist/plugin-sdk/{send-7v9Tg-1N.js → send-jhlw6FJR.js} +10 -10
- package/dist/plugin-sdk/{session-CHV-qoDA.js → session-BjNuud8u.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-uBEgxRtL.js → skill-commands-B5t3dEA3.js} +5 -5
- package/dist/plugin-sdk/{skills-CIpuy3Vv.js → skills-n6vXaMPn.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DUu0dwic.js → sqlite-ulpcowfN.js} +1 -1
- package/dist/plugin-sdk/{store-BVL3fS5q.js → store-CLotPIp_.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C4Rh0kdL.js → subsystem-C9WnrKN8.js} +1 -1
- package/dist/plugin-sdk/{tables-DHwGo-4a.js → tables-7y86aoG1.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DGfjmC5j.js → target-errors-Bu2PpCSS.js} +2 -2
- package/dist/plugin-sdk/{thinking-D3o92jol.js → thinking-b64dDuH9.js} +5 -5
- package/dist/plugin-sdk/{tokens-K9ITCatc.js → tokens-2475WU2Z.js} +1 -1
- package/dist/plugin-sdk/{tool-images-zxFUoVW3.js → tool-images-CbUjCJCh.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BBRtoox8.js → tool-loop-detection-D0ADW0h2.js} +2 -2
- package/dist/plugin-sdk/web-DKcOGlkN.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DdqYVOos.js → whatsapp-actions-DrC9AVN9.js} +21 -21
- package/dist/{plugins-cli-DHO1IABg.js → plugins-cli-BUojFAGL.js} +6 -6
- package/dist/{plugins-cli-Dd1EUb3v.js → plugins-cli-ekc2VJ2E.js} +6 -6
- package/dist/{program-BpIff9DA.js → program-C6lY3-78.js} +11 -11
- package/dist/{program-context-lgLWZvCs.js → program-context-Cf4DLb4D.js} +18 -18
- package/dist/{prompt-select-styled-DDqOnKA_.js → prompt-select-styled-BB0toldS.js} +4 -4
- package/dist/{prompt-select-styled-Dc-e3dbo.js → prompt-select-styled-DZrDBBvM.js} +4 -4
- package/dist/{provider-auth-helpers-BSbx5FeM.js → provider-auth-helpers-BmRtSzv1.js} +1 -1
- package/dist/{provider-auth-helpers-Lzfq96dP.js → provider-auth-helpers-DzLX-hrT.js} +1 -1
- package/dist/{push-apns-BwifEO2b.js → push-apns-BoavuUl1.js} +1 -1
- package/dist/{push-apns-a74f8XqC.js → push-apns-DRicQb8n.js} +1 -1
- package/dist/{pw-ai-CgdTTLSx.js → pw-ai-BE9RDOQB.js} +1 -1
- package/dist/{pw-ai-DrpEVs06.js → pw-ai-CpnhdYBs.js} +1 -1
- package/dist/{register.agent-eqOPq5Gd.js → register.agent-BmmgT0mN.js} +9 -9
- package/dist/{register.agent-D9MKpOCO.js → register.agent-Ddx0H8cv.js} +10 -10
- package/dist/{register.configure-C05cIKKS.js → register.configure-CQU6KgeW.js} +10 -10
- package/dist/{register.configure-BGHYShAa.js → register.configure-DJnHqk6O.js} +10 -10
- package/dist/{register.maintenance-q9wx5Pl-.js → register.maintenance-BV1xriuR.js} +12 -12
- package/dist/{register.maintenance-BmS341L8.js → register.maintenance-Cqc5yCQG.js} +11 -11
- package/dist/{register.message-D0dF6PzF.js → register.message-CNpNd0Ap.js} +6 -6
- package/dist/{register.message-DXyTnwR3.js → register.message-Ihec9Qhj.js} +6 -6
- package/dist/{register.onboard-CtmN2j9k.js → register.onboard-CL9W60Ru.js} +8 -8
- package/dist/{register.onboard-B6lubsmf.js → register.onboard-DIwP9ira.js} +8 -8
- package/dist/{register.setup-DtVdBO3N.js → register.setup-2GCiWxqM.js} +8 -8
- package/dist/{register.setup-DLc7wuYn.js → register.setup-CsdexgyX.js} +8 -8
- package/dist/{register.status-health-sessions-Dj6JZlTX.js → register.status-health-sessions-CZoLCevz.js} +7 -7
- package/dist/{register.status-health-sessions-CUpDWk7b.js → register.status-health-sessions-GhqBz76y.js} +7 -7
- package/dist/{register.subclis-DFFLQ5_4.js → register.subclis-B4o6BJ2N.js} +10 -10
- package/dist/{reply-BY9rD4Ht.js → reply-CebOfFpO.js} +11 -11
- package/dist/{run-main-CGu5hq5w.js → run-main-Dhw3C-_j.js} +18 -18
- package/dist/{runner-CMf_wCK1.js → runner-B-q1xy9_.js} +1 -1
- package/dist/{runner-XECyLnFJ.js → runner-B1nTuveb.js} +1 -1
- package/dist/{runner-DbrcHMi-.js → runner-DU6rPdbF.js} +1 -1
- package/dist/{runner-CBXPibkx.js → runner-T-0k0N56.js} +1 -1
- package/dist/{server-node-events-Dl1EGODn.js → server-node-events-Cd_Um0Ih.js} +6 -6
- package/dist/{server-node-events-BHo1rJtr.js → server-node-events-Cx6vpHYY.js} +6 -6
- package/dist/{session-dirs-B_5JB4s2.js → session-dirs-BksC_ZJx.js} +1 -1
- package/dist/{session-dirs-BHU9ghX6.js → session-dirs-D1JZtaFB.js} +1 -1
- package/dist/{status-BRULnvDA.js → status-BcZRY3RM.js} +1 -1
- package/dist/{status-jqo65p8J.js → status-CadxgcYe.js} +2 -2
- package/dist/{status-t76977-D.js → status-UO6LTko9.js} +2 -2
- package/dist/{status-BVBqruUZ.js → status-vxjEMgge.js} +1 -1
- package/dist/{subagent-registry-h0-RYRm3.js → subagent-registry-DxAANdOO.js} +11 -11
- package/dist/{tui-CRm0KI_b.js → tui-BE7l4bos.js} +1 -1
- package/dist/{tui-2swRDu6V.js → tui-CtmZFfLN.js} +1 -1
- package/dist/{tui-cli-OWn1wJMv.js → tui-cli-DyU4OHGr.js} +2 -2
- package/dist/{tui-cli-CnPDULYR.js → tui-cli-Dyf9F5_u.js} +2 -2
- package/dist/{update-cli-CVZ_0mbB.js → update-cli-CidTQDU8.js} +12 -12
- package/dist/{update-cli-BU06A3-9.js → update-cli-CqsOKfGt.js} +11 -11
- package/dist/{web-Dm_p_Je3.js → web-BBMLIpu1.js} +6 -6
- package/dist/{web-CmcYQtF5.js → web-CxJJ94q0.js} +5 -5
- package/dist/{web-CaOnljeW.js → web-IgO1--qh.js} +6 -6
- package/dist/{web-AF6_b3ME.js → web-IvoqYVGl.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web-b1hIfesD.js +0 -65
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as isAcpSessionKey, h as getSubagentDepth, l as resolveAgentIdFromSessionKey, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-
|
|
3
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-fnLsjAOi.js";
|
|
4
4
|
import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Cg0YPPSu.js";
|
|
6
|
-
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-
|
|
6
|
+
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-a8_TtkpO.js";
|
|
7
7
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
8
8
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
9
|
-
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredOpenClawTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-
|
|
10
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
12
|
-
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-
|
|
13
|
-
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-
|
|
14
|
-
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
15
|
-
import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as DEFAULT_CONTEXT_TOKENS, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-
|
|
16
|
-
import { A as logInfo, C as resolveOpenClawPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-
|
|
17
|
-
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
9
|
+
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredOpenClawTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-DL-33c9X.js";
|
|
10
|
+
import { n as retryAsync } from "./retry-5P3d0rYw.js";
|
|
11
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-jhlw6FJR.js";
|
|
12
|
+
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-BT7sZurc.js";
|
|
13
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
14
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
15
|
+
import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as DEFAULT_CONTEXT_TOKENS, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-D74TGHOt.js";
|
|
16
|
+
import { A as logInfo, C as resolveOpenClawPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-DSex4wfg.js";
|
|
17
|
+
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-DvEm2HHf.js";
|
|
18
18
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
19
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-WgE8Z4Bb.js";
|
|
20
20
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
21
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
21
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CZqefviF.js";
|
|
22
22
|
import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
23
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
24
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
25
|
-
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-
|
|
26
|
-
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-
|
|
23
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-BQE1Ebnw.js";
|
|
24
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-B7rkHLE2.js";
|
|
25
|
+
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-CQk9vawA.js";
|
|
26
|
+
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DY9wVB2A.js";
|
|
27
27
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
28
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
29
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
30
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
32
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-
|
|
33
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
34
|
-
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-
|
|
35
|
-
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-
|
|
37
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
38
|
-
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-
|
|
39
|
-
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-
|
|
40
|
-
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
41
|
-
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-
|
|
42
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
44
|
-
import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-
|
|
45
|
-
import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-
|
|
28
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FPKU-GAf.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-7y86aoG1.js";
|
|
30
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-4EuOqK3R.js";
|
|
31
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CbUjCJCh.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-Bu2PpCSS.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-Czuwer1y.js";
|
|
34
|
+
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-Cz-EZBfd.js";
|
|
35
|
+
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-CF0Vfhdz.js";
|
|
36
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-DNtb4_wd.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-2475WU2Z.js";
|
|
38
|
+
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-B5t3dEA3.js";
|
|
39
|
+
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-n6vXaMPn.js";
|
|
40
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-CmTDPHBP.js";
|
|
41
|
+
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-b64dDuH9.js";
|
|
42
|
+
import { r as resolveIMessageAccount } from "./accounts-DEsAwvaZ.js";
|
|
43
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BcQo4OUu.js";
|
|
44
|
+
import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-CJxTyTAX.js";
|
|
45
|
+
import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-HEdGJVz9.js";
|
|
46
46
|
import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
|
|
47
47
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BNQjLbn7.js";
|
|
48
48
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
49
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
50
|
-
import { i as saveMediaBuffer, r as getMediaDir } from "./store-
|
|
49
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-Up1aMyxZ.js";
|
|
50
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-CLotPIp_.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
|
|
52
|
-
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-
|
|
52
|
+
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-DN02b1Un.js";
|
|
53
53
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
|
|
54
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-
|
|
54
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-ulpcowfN.js";
|
|
55
55
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
57
|
-
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
58
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
56
|
+
import { n as resolveMemorySearchConfig } from "./manager-NrAHkxhT.js";
|
|
57
|
+
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-lvrJ62DW.js";
|
|
58
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-B3LOEv4r.js";
|
|
59
59
|
import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
62
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Cqj4b_M3.js";
|
|
61
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BsiP6hrm.js";
|
|
62
|
+
import { t as getActiveWebListener } from "./active-listener-CeaKSm29.js";
|
|
63
63
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CBq0jVRw.js";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
65
65
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
66
66
|
import * as path$1 from "node:path";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
import os, { homedir } from "node:os";
|
|
69
|
-
import
|
|
69
|
+
import json5 from "json5";
|
|
70
70
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
71
71
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
72
72
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -7787,7 +7787,7 @@ async function createModelSelectionState(params) {
|
|
|
7787
7787
|
}
|
|
7788
7788
|
}
|
|
7789
7789
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
7790
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
7790
|
+
const { ensureAuthProfileStore } = await import("./model-selection-D74TGHOt.js").then((n) => n.O);
|
|
7791
7791
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
7792
7792
|
const providerKey = normalizeProviderId(provider);
|
|
7793
7793
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -11539,7 +11539,7 @@ async function getMemorySearchManager(params) {
|
|
|
11539
11539
|
if (cached) return { manager: cached };
|
|
11540
11540
|
}
|
|
11541
11541
|
try {
|
|
11542
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
11542
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Hv8FbJlj.js");
|
|
11543
11543
|
const primary = await QmdMemoryManager.create({
|
|
11544
11544
|
cfg: params.cfg,
|
|
11545
11545
|
agentId: params.agentId,
|
|
@@ -11551,7 +11551,7 @@ async function getMemorySearchManager(params) {
|
|
|
11551
11551
|
const wrapper = new FallbackMemoryManager({
|
|
11552
11552
|
primary,
|
|
11553
11553
|
fallbackFactory: async () => {
|
|
11554
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11554
|
+
const { MemoryIndexManager } = await import("./manager-NrAHkxhT.js").then((n) => n.t);
|
|
11555
11555
|
return await MemoryIndexManager.get(params);
|
|
11556
11556
|
}
|
|
11557
11557
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -11564,7 +11564,7 @@ async function getMemorySearchManager(params) {
|
|
|
11564
11564
|
}
|
|
11565
11565
|
}
|
|
11566
11566
|
try {
|
|
11567
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11567
|
+
const { MemoryIndexManager } = await import("./manager-NrAHkxhT.js").then((n) => n.t);
|
|
11568
11568
|
return { manager: await MemoryIndexManager.get(params) };
|
|
11569
11569
|
} catch (err) {
|
|
11570
11570
|
return {
|
|
@@ -12623,7 +12623,7 @@ function normalizeSessionKey(value) {
|
|
|
12623
12623
|
function readSessionStore(storePath) {
|
|
12624
12624
|
try {
|
|
12625
12625
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
12626
|
-
const parsed =
|
|
12626
|
+
const parsed = json5.parse(raw);
|
|
12627
12627
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
12628
12628
|
} catch {}
|
|
12629
12629
|
return {};
|
|
@@ -15480,7 +15480,7 @@ async function routeReply(params) {
|
|
|
15480
15480
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
15481
15481
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
15482
15482
|
try {
|
|
15483
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
15483
|
+
const { deliverOutboundPayloads } = await import("./deliver-CJxTyTAX.js").then((n) => n.n);
|
|
15484
15484
|
return {
|
|
15485
15485
|
ok: true,
|
|
15486
15486
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -17954,7 +17954,7 @@ async function describeStickerImage(params) {
|
|
|
17954
17954
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
17955
17955
|
try {
|
|
17956
17956
|
const buffer = await fs$1.readFile(imagePath);
|
|
17957
|
-
const { describeImageWithModel } = await import("./image-
|
|
17957
|
+
const { describeImageWithModel } = await import("./image-DN02b1Un.js").then((n) => n.n);
|
|
17958
17958
|
return (await describeImageWithModel({
|
|
17959
17959
|
buffer,
|
|
17960
17960
|
fileName: "sticker.webp",
|
|
@@ -18365,7 +18365,7 @@ function createWhatsAppLoginTool() {
|
|
|
18365
18365
|
force: Type.Optional(Type.Boolean())
|
|
18366
18366
|
}),
|
|
18367
18367
|
execute: async (_toolCallId, args) => {
|
|
18368
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
18368
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DbAmVoVd.js");
|
|
18369
18369
|
if ((args?.action ?? "start") === "wait") {
|
|
18370
18370
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
18371
18371
|
return {
|
|
@@ -20232,7 +20232,7 @@ async function preflightDiscordMessage(params) {
|
|
|
20232
20232
|
let preflightTranscript;
|
|
20233
20233
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
20234
20234
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
20235
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
20235
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-rT8tAkD-.js");
|
|
20236
20236
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
20237
20237
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
20238
20238
|
ctx: {
|
|
@@ -26832,27 +26832,27 @@ async function runWithImageModelFallback(params) {
|
|
|
26832
26832
|
function createDefaultDeps() {
|
|
26833
26833
|
return {
|
|
26834
26834
|
sendMessageWhatsApp: async (...args) => {
|
|
26835
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
26835
|
+
const { sendMessageWhatsApp } = await import("./web-DKcOGlkN.js");
|
|
26836
26836
|
return await sendMessageWhatsApp(...args);
|
|
26837
26837
|
},
|
|
26838
26838
|
sendMessageTelegram: async (...args) => {
|
|
26839
|
-
const { sendMessageTelegram } = await import("./send-
|
|
26839
|
+
const { sendMessageTelegram } = await import("./send-Cz-EZBfd.js").then((n) => n.l);
|
|
26840
26840
|
return await sendMessageTelegram(...args);
|
|
26841
26841
|
},
|
|
26842
26842
|
sendMessageDiscord: async (...args) => {
|
|
26843
|
-
const { sendMessageDiscord } = await import("./send-
|
|
26843
|
+
const { sendMessageDiscord } = await import("./send-jhlw6FJR.js").then((n) => n.t);
|
|
26844
26844
|
return await sendMessageDiscord(...args);
|
|
26845
26845
|
},
|
|
26846
26846
|
sendMessageSlack: async (...args) => {
|
|
26847
|
-
const { sendMessageSlack } = await import("./send-
|
|
26847
|
+
const { sendMessageSlack } = await import("./send-Czuwer1y.js").then((n) => n.n);
|
|
26848
26848
|
return await sendMessageSlack(...args);
|
|
26849
26849
|
},
|
|
26850
26850
|
sendMessageSignal: async (...args) => {
|
|
26851
|
-
const { sendMessageSignal } = await import("./send-
|
|
26851
|
+
const { sendMessageSignal } = await import("./send-B3LOEv4r.js").then((n) => n.i);
|
|
26852
26852
|
return await sendMessageSignal(...args);
|
|
26853
26853
|
},
|
|
26854
26854
|
sendMessageIMessage: async (...args) => {
|
|
26855
|
-
const { sendMessageIMessage } = await import("./send-
|
|
26855
|
+
const { sendMessageIMessage } = await import("./send-4EuOqK3R.js").then((n) => n.n);
|
|
26856
26856
|
return await sendMessageIMessage(...args);
|
|
26857
26857
|
}
|
|
26858
26858
|
};
|
|
@@ -37068,7 +37068,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
37068
37068
|
}
|
|
37069
37069
|
let commandsRegistry;
|
|
37070
37070
|
async function getCommandsRegistry() {
|
|
37071
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
37071
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-lvrJ62DW.js").then((n) => n.n);
|
|
37072
37072
|
return commandsRegistry;
|
|
37073
37073
|
}
|
|
37074
37074
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -37410,11 +37410,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
37410
37410
|
const channelName = channelInfo?.name;
|
|
37411
37411
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
37412
37412
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
37413
|
-
import("./resolve-route-
|
|
37413
|
+
import("./resolve-route-Cqj4b_M3.js").then((n) => n.r),
|
|
37414
37414
|
import("./inbound-context-D5EzMeL_.js").then((n) => n.n),
|
|
37415
37415
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
37416
37416
|
]);
|
|
37417
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-
|
|
37417
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-DNtb4_wd.js").then((n) => n.r)]);
|
|
37418
37418
|
const route = resolveAgentRoute({
|
|
37419
37419
|
cfg,
|
|
37420
37420
|
channel: "slack",
|
|
@@ -37471,9 +37471,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
37471
37471
|
});
|
|
37472
37472
|
const deliverSlashPayloads = async (replies) => {
|
|
37473
37473
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
37474
|
-
import("./replies-
|
|
37475
|
-
import("./chunk-
|
|
37476
|
-
import("./markdown-tables-
|
|
37474
|
+
import("./replies-BsiP6hrm.js").then((n) => n.r),
|
|
37475
|
+
import("./chunk-CQk9vawA.js").then((n) => n.s),
|
|
37476
|
+
import("./markdown-tables-FPKU-GAf.js").then((n) => n.t)
|
|
37477
37477
|
]);
|
|
37478
37478
|
await deliverSlackSlashReplies({
|
|
37479
37479
|
replies,
|
|
@@ -37526,7 +37526,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
37526
37526
|
let nativeCommands = [];
|
|
37527
37527
|
if (nativeEnabled) {
|
|
37528
37528
|
reg = await getCommandsRegistry();
|
|
37529
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
37529
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-B5t3dEA3.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
37530
37530
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
37531
37531
|
skillCommands,
|
|
37532
37532
|
provider: "slack"
|
|
@@ -42307,7 +42307,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
42307
42307
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
42308
42308
|
let preflightTranscript;
|
|
42309
42309
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
42310
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
42310
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-rT8tAkD-.js");
|
|
42311
42311
|
preflightTranscript = await transcribeFirstAudio({
|
|
42312
42312
|
ctx: {
|
|
42313
42313
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -44452,23 +44452,23 @@ let webLoginQrPromise = null;
|
|
|
44452
44452
|
let webChannelPromise = null;
|
|
44453
44453
|
let whatsappActionsPromise = null;
|
|
44454
44454
|
function loadWebOutbound() {
|
|
44455
|
-
webOutboundPromise ??= import("./outbound-
|
|
44455
|
+
webOutboundPromise ??= import("./outbound-hovTyykv.js").then((n) => n.t);
|
|
44456
44456
|
return webOutboundPromise;
|
|
44457
44457
|
}
|
|
44458
44458
|
function loadWebLogin() {
|
|
44459
|
-
webLoginPromise ??= import("./login-
|
|
44459
|
+
webLoginPromise ??= import("./login-De0S3iEe.js").then((n) => n.n);
|
|
44460
44460
|
return webLoginPromise;
|
|
44461
44461
|
}
|
|
44462
44462
|
function loadWebLoginQr() {
|
|
44463
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
44463
|
+
webLoginQrPromise ??= import("./login-qr-DbAmVoVd.js");
|
|
44464
44464
|
return webLoginQrPromise;
|
|
44465
44465
|
}
|
|
44466
44466
|
function loadWebChannel() {
|
|
44467
|
-
webChannelPromise ??= import("./web-
|
|
44467
|
+
webChannelPromise ??= import("./web-DKcOGlkN.js");
|
|
44468
44468
|
return webChannelPromise;
|
|
44469
44469
|
}
|
|
44470
44470
|
function loadWhatsAppActions() {
|
|
44471
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
44471
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-DrC9AVN9.js");
|
|
44472
44472
|
return whatsappActionsPromise;
|
|
44473
44473
|
}
|
|
44474
44474
|
function createPluginRuntime() {
|
|
@@ -59602,7 +59602,7 @@ async function recordLoopOutcome(args) {
|
|
|
59602
59602
|
if (!args.ctx?.sessionKey) return;
|
|
59603
59603
|
try {
|
|
59604
59604
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
59605
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
59605
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-D0ADW0h2.js");
|
|
59606
59606
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
59607
59607
|
sessionKey: args.ctx.sessionKey,
|
|
59608
59608
|
sessionId: args.ctx?.agentId
|
|
@@ -59623,8 +59623,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
59623
59623
|
const params = args.params;
|
|
59624
59624
|
if (args.ctx?.sessionKey) {
|
|
59625
59625
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
59626
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
59627
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
59626
|
+
const { logToolLoopAction } = await import("./diagnostic-Up1aMyxZ.js").then((n) => n.n);
|
|
59627
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-D0ADW0h2.js");
|
|
59628
59628
|
const sessionState = getDiagnosticSessionState({
|
|
59629
59629
|
sessionKey: args.ctx.sessionKey,
|
|
59630
59630
|
sessionId: args.ctx?.agentId
|
|
@@ -76350,7 +76350,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
76350
76350
|
return;
|
|
76351
76351
|
}
|
|
76352
76352
|
try {
|
|
76353
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
76353
|
+
const { deliverOutboundPayloads } = await import("./deliver-CJxTyTAX.js").then((n) => n.n);
|
|
76354
76354
|
await deliverOutboundPayloads({
|
|
76355
76355
|
cfg: params.cfg,
|
|
76356
76356
|
channel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-DSex4wfg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
package/dist/plugin-sdk/{resolve-outbound-target-4LJSOI03.js → resolve-outbound-target-EACA6DIF.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-
|
|
2
|
-
import { n as missingTargetError } from "./target-errors-
|
|
1
|
+
import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-a8_TtkpO.js";
|
|
2
|
+
import { n as missingTargetError } from "./target-errors-Bu2PpCSS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { Y as shouldLogVerbose } from "./registry-
|
|
4
|
-
import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { Y as shouldLogVerbose } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-DSex4wfg.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
6
|
-
import { t as listBindings } from "./bindings-
|
|
6
|
+
import { t as listBindings } from "./bindings-DeKqzYUw.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
9
9
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
2
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-
|
|
3
|
-
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-
|
|
4
|
-
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-
|
|
5
|
-
import { E as runExec } from "./agent-scope-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-
|
|
2
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-DL-33c9X.js";
|
|
3
|
+
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-BT7sZurc.js";
|
|
4
|
+
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-D74TGHOt.js";
|
|
5
|
+
import { E as runExec } from "./agent-scope-DSex4wfg.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CZqefviF.js";
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-BQE1Ebnw.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
9
|
-
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
+
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-DN02b1Un.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DVRFDYWE.js";
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
@@ -899,7 +899,7 @@ async function loadModelCatalog(params) {
|
|
|
899
899
|
});
|
|
900
900
|
try {
|
|
901
901
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
902
|
-
await (await import("./pi-auth-json-
|
|
902
|
+
await (await import("./pi-auth-json-3M5ZaNhl.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
903
903
|
const piSdk = await importPiSdk();
|
|
904
904
|
const agentDir = resolveOpenClawAgentDir();
|
|
905
905
|
const { join } = await import("node:path");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as normalizeE164, P as resolveUserPath } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { A as normalizeE164, P as resolveUserPath } from "./registry-DL-33c9X.js";
|
|
3
|
+
import { n as loadConfig } from "./config-BT7sZurc.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-CZqefviF.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FPKU-GAf.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-7y86aoG1.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-DEsAwvaZ.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-t84PRHhe.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
4
|
+
import { n as loadConfig } from "./config-BT7sZurc.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-CZqefviF.js";
|
|
6
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7rkHLE2.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FPKU-GAf.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-BcQo4OUu.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-t84PRHhe.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
3
|
+
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-a8_TtkpO.js";
|
|
4
4
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
5
|
-
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
8
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
9
|
-
import { H as withFileLock$1 } from "./model-selection-
|
|
5
|
+
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry-DL-33c9X.js";
|
|
6
|
+
import { n as loadConfig } from "./config-BT7sZurc.js";
|
|
7
|
+
import { t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
8
|
+
import { r as isTruthyEnvValue } from "./command-format-DHXa0Clc.js";
|
|
9
|
+
import { H as withFileLock$1 } from "./model-selection-D74TGHOt.js";
|
|
10
10
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
11
11
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
12
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
12
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-WgE8Z4Bb.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
14
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
15
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-CZqefviF.js";
|
|
15
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7rkHLE2.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FPKU-GAf.js";
|
|
17
17
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
|
|
19
19
|
import fs from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-
|
|
3
|
-
import { K as logVerbose } from "./registry-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-a8_TtkpO.js";
|
|
3
|
+
import { K as logVerbose } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { n as loadConfig } from "./config-BT7sZurc.js";
|
|
5
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7rkHLE2.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CQk9vawA.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FPKU-GAf.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|