@multiplytech/openclaw 2026.2.15-pairing-code.4 → 2026.2.15-pairing-code.5
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-CyxQBpl8.js → accounts-Bu2DSNpQ.js} +1 -1
- package/dist/{accounts-BvmssTEF.js → accounts-DyinIlq4.js} +1 -1
- package/dist/{active-listener-BruG-udz.js → active-listener-BIBYF9eG.js} +1 -1
- package/dist/{agent-D0LfsEPF.js → agent-CHHEtTV9.js} +2 -2
- package/dist/{agent-BxxBd9wX.js → agent-Zea8l0V4.js} +2 -2
- package/dist/{agent-scope-DUn-XVYs.js → agent-scope-BIw4Bz2L.js} +3 -3
- package/dist/{agents-jAnRMd-A.js → agents-C3RVyjuy.js} +2 -2
- package/dist/{audio-preflight-CbR1q2CT.js → audio-preflight-BHSwqB70.js} +17 -17
- package/dist/{auth-choice-B6AdPtCu.js → auth-choice-BL4n2N2D.js} +1 -1
- package/dist/{auth-choice-GrNENivg.js → auth-choice-Uz72AGbr.js} +1 -1
- package/dist/{banner-D3tgjbUi.js → banner-SSVP1FWh.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +38 -38
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +32 -32
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity--HqvQlN3.js → channel-activity-C4rZNocg.js} +1 -1
- package/dist/{channel-options-CgdgqIte.js → channel-options-BZj8yDQM.js} +1 -1
- package/dist/{channel-options-C0ayB7mx.js → channel-options-CW6tO8o9.js} +1 -1
- package/dist/{channel-web-BTTW7H_d.js → channel-web-URuEiSie.js} +2 -2
- package/dist/{channels-cli-p5hPpQzH.js → channels-cli-BxhcVdVg.js} +4 -4
- package/dist/{channels-cli-BcDsE2LA.js → channels-cli-DNfdNX1p.js} +4 -4
- package/dist/{chrome-BtogRifc.js → chrome-DlM4kwMc.js} +18 -18
- package/dist/{cli-Oxxb4axp.js → cli-BXBLYStc.js} +1 -1
- package/dist/{cli-Cwzdze-z.js → cli-BbNg2Udd.js} +1 -1
- package/dist/{command-registry-C8q1jb3h.js → command-registry-BliDXGVX.js} +9 -9
- package/dist/{common-BJE3S8zA.js → common-BB2PeD4P.js} +2 -2
- package/dist/{completion-cli-CIcsx6ic.js → completion-cli-BCKnCxmp.js} +1 -1
- package/dist/{completion-cli-DQd6XSG4.js → completion-cli-Cu-1Snpp.js} +2 -2
- package/dist/{config-CYlbDcBt.js → config-BA8Xs1ek.js} +34 -34
- package/dist/{config-cli-BmW3yfH6.js → config-cli-CVnBnw5y.js} +1 -1
- package/dist/{config-cli-CZLDgS2E.js → config-cli-D5ZKAfqw.js} +1 -1
- package/dist/{configure-CRaYQ6hS.js → configure-Dg3rt98q.js} +3 -3
- package/dist/{configure-B0_p6Z1n.js → configure-DgvISeIJ.js} +3 -3
- package/dist/{deliver-BwXnLuWH.js → deliver-CV4a0MBa.js} +16 -16
- package/dist/{deps-i6fBS1Dw.js → deps-6dSUgps7.js} +1 -1
- package/dist/{doctor-AUivq-af.js → doctor-BUO6pA-b.js} +4 -4
- package/dist/{doctor-Cs7rfmA-.js → doctor-CFwtoIem.js} +4 -4
- package/dist/{doctor-completion-CtBAIy0Z.js → doctor-completion-Bnz5cgZw.js} +1 -1
- package/dist/{doctor-completion-C2PR6GJF.js → doctor-completion-DNqw5VHX.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-C_bNT00b.js → exec-C9rZpEqA.js} +17 -17
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-mr22CaT4.js → fetch-Dyb5pqye.js} +2 -2
- package/dist/{frontmatter-BetN20QN.js → frontmatter-Bk_vZq47.js} +2 -2
- package/dist/{gateway-cli-M8r3XcpJ.js → gateway-cli-BDf6AIk0.js} +9 -9
- package/dist/{gateway-cli-BgGnL3cE.js → gateway-cli-n2Z2-dmf.js} +9 -9
- package/dist/{github-copilot-token-U5JrmjNt.js → github-copilot-token-BXEGgIt5.js} +7 -7
- package/dist/{health-BqoIIu1u.js → health-5OQ86AsB.js} +2 -2
- package/dist/{health-shfUNbPM.js → health-BLNgO5Lg.js} +2 -2
- package/dist/{heartbeat-visibility-BEMg5PJB.js → heartbeat-visibility-kOc5LBl6.js} +1 -1
- package/dist/{heartbeat-visibility-B_kubgRp.js → heartbeat-visibility-pSnRANG0.js} +1 -1
- package/dist/{hooks-cli-99NPDBK1.js → hooks-cli-8vqegwLk.js} +2 -2
- package/dist/{hooks-cli-ec5DFn5g.js → hooks-cli-BQvnwV0N.js} +2 -2
- package/dist/{image-DN3RgnPr.js → image-DVTZYmDL.js} +4 -4
- package/dist/{image-ops-CKPJXWk4.js → image-ops-7EDUjzca.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{ir-C-hSqOPD.js → ir-eyTjTBlP.js} +6 -6
- package/dist/llm-slug-generator.js +32 -32
- package/dist/{login-BFkQgAbM.js → login-BQj4vJAc.js} +1 -1
- package/dist/{login-CwQj2jUX.js → login-Bub9YVmf.js} +1 -1
- package/dist/{login-CmhHGO4I.js → login-CKe4hvQG.js} +1 -1
- package/dist/{login-Dydm4XDa.js → login-DfLZ1ase.js} +3 -3
- package/dist/{login-qr-CF5T7Eew.js → login-qr-5lWL8Guw.js} +1 -1
- package/dist/{login-qr-BrIxb_5N.js → login-qr-C9eD5pGf.js} +8 -8
- package/dist/{login-qr-CEOlIdRe.js → login-qr-Cq7e7xsV.js} +1 -1
- package/dist/{login-qr-B_NTKK4T.js → login-qr-MG7FhnKs.js} +1 -1
- package/dist/{manager-Ec86Dapd.js → manager-ihPMEKim.js} +10 -10
- package/dist/{model-auth-COYibYBO.js → model-auth-BBAJ-iuC.js} +8 -8
- package/dist/{models-D688pDKn.js → models-D9P-iylf.js} +2 -2
- package/dist/{models-cli-CcHjNOe3.js → models-cli-BhTQK54t.js} +3 -3
- package/dist/{models-cli-GWtfGvki.js → models-cli-DCKEfmuF.js} +2 -2
- package/dist/{onboard-BmB1TAqN.js → onboard-DGIC3v2L.js} +2 -2
- package/dist/{onboard-channels-BATBIQiN.js → onboard-channels-BxI6pALE.js} +1 -1
- package/dist/{onboard-channels-BeXdUwL0.js → onboard-channels-yzWQkeRm.js} +1 -1
- package/dist/{onboard-C5_njUCe.js → onboard-ovaqc36s.js} +2 -2
- package/dist/{onboarding-txZtcVMA.js → onboarding-C6_GQJ3F.js} +3 -3
- package/dist/{onboarding-Cjbb0fRA.js → onboarding-ClCcjvNg.js} +3 -3
- package/dist/{onboarding.finalize-BI8zTyGF.js → onboarding.finalize-BhPaoWku.js} +6 -6
- package/dist/{onboarding.finalize-CSj3Rf0J.js → onboarding.finalize-CXti-VnH.js} +5 -5
- package/dist/{outbound-C8YnTFjo.js → outbound-N8cZjkHg.js} +5 -5
- package/dist/{outbound-attachment-C8Qf4dh8.js → outbound-attachment-BAu7a9Bk.js} +2 -2
- package/dist/{outbound-send-deps-BCi2C-Sb.js → outbound-send-deps-CrIPn6Gv.js} +1 -1
- package/dist/{paths-Bbik2tb_.js → paths-CMYSfM3T.js} +2 -2
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{pi-auth-json-MhfZXNOP.js → pi-auth-json-BX0whbu8.js} +6 -6
- package/dist/{pi-embedded-wVlKSjNK.js → pi-embedded-B16QA3OJ.js} +120 -120
- package/dist/{pi-embedded-8ou24X6D.js → pi-embedded-BhSNemDy.js} +4 -4
- package/dist/{pi-embedded-helpers-DmwtjJVo.js → pi-embedded-helpers-DHT11gwA.js} +48 -48
- package/dist/{plugin-registry-N4ZFQdQ9.js → plugin-registry-7l0uWKmB.js} +1 -1
- package/dist/{plugin-registry-D_bG1PT_.js → plugin-registry-BMw_9a49.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CkyAenz6.js → active-listener-CFLZdKRQ.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-DWZdK6Cr.js → agent-scope-ip6rBrUD.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BzSvof9i.js → audio-preflight-C0NlyreL.js} +12 -12
- package/dist/plugin-sdk/{channel-web-BXr_pHKk.js → channel-web-B715iUQW.js} +11 -11
- package/dist/plugin-sdk/{chrome-BLYh1Ek9.js → chrome-OZ5Ge8PR.js} +1 -1
- package/dist/plugin-sdk/{common-STTVkT-Z.js → common-pKa0kElY.js} +2 -2
- package/dist/plugin-sdk/{config-iUJxJaTT.js → config-DelXkt58.js} +8 -8
- package/dist/plugin-sdk/{deliver-Bkdn7hYJ.js → deliver-ebYNQy_5.js} +6 -6
- package/dist/plugin-sdk/{exec-9HIVkGqi.js → exec-C5lqk9X4.js} +2 -2
- package/dist/plugin-sdk/{fetch-DjHoyhHv.js → fetch-Cw_7QfME.js} +2 -2
- package/dist/plugin-sdk/{image-DolmBtru.js → image-2KL1DOmN.js} +4 -4
- package/dist/plugin-sdk/{image-ops-DvO68zWD.js → image-ops-zm4O3fkk.js} +4 -4
- package/dist/plugin-sdk/index.js +23 -23
- package/dist/plugin-sdk/{ir-D6TOa8wy.js → ir-BEwiHV7R.js} +4 -4
- package/dist/plugin-sdk/{login-CGRU_9Nh.js → login-BPMBJ2ja.js} +3 -3
- package/dist/plugin-sdk/{login-qr-D6D-dPg-.js → login-qr-gTXEo28v.js} +5 -5
- package/dist/plugin-sdk/{manager-DSG4npLd.js → manager-Cqyl7HDP.js} +5 -5
- package/dist/plugin-sdk/{model-selection-BfTuBvS4.js → model-selection-DHMRsTNB.js} +2 -2
- package/dist/plugin-sdk/{outbound-BuWEi6UJ.js → outbound-DT2nH6dY.js} +4 -4
- package/dist/plugin-sdk/{paths-6C0IeDIg.js → paths-wRVSwmkX.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-CdSpUvvH.js → pi-auth-json-XTF0mVQ6.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-helpers-rNIrRqeN.js → pi-embedded-helpers-C3_rwWkJ.js} +13 -13
- package/dist/plugin-sdk/{pw-ai-DHGDCfpy.js → pw-ai-BYr2wRwE.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-D0FXZkrS.js → qmd-manager-CY7j7J3V.js} +4 -4
- package/dist/plugin-sdk/{reply-BvOTUN2t.js → reply-BCjRFrxS.js} +35 -35
- package/dist/plugin-sdk/{runner-CaaUwzMJ.js → runner-DxPwS4ed.js} +7 -7
- package/dist/plugin-sdk/{session-Cjs4HuZk.js → session-CMKy7hKx.js} +3 -3
- package/dist/plugin-sdk/{sqlite-QNHsO4bW.js → sqlite-CKrK6KKr.js} +2 -2
- package/dist/plugin-sdk/{tool-images-BuctNDly.js → tool-images-C4GaQjrF.js} +2 -2
- package/dist/plugin-sdk/web-Dez1c43V.js +30 -0
- package/dist/plugin-sdk/{whatsapp-actions-3adtwpVJ.js → whatsapp-actions-C5T64qvX.js} +11 -11
- package/dist/{plugins-cli-D2KHK9jR.js → plugins-cli-BsfnFYsL.js} +2 -2
- package/dist/{plugins-cli-CFOLjXM-.js → plugins-cli-CNB8Yt37.js} +2 -2
- package/dist/{program-B9I5xkOF.js → program-CAd9g5sW.js} +7 -7
- package/dist/{program-context-C3C2WLNP.js → program-context-_ii-SbA0.js} +17 -17
- package/dist/{provider-auth-helpers-DYPDXQQP.js → provider-auth-helpers-CCnbp35r.js} +1 -1
- package/dist/{provider-auth-helpers-DIPDa8Lw.js → provider-auth-helpers-D_lWKYII.js} +1 -1
- package/dist/{pw-ai-BCyIw4W4.js → pw-ai-xh9cPTDX.js} +3 -3
- package/dist/{qmd-manager-CgC5sB-T.js → qmd-manager-DtmZgEoS.js} +6 -6
- package/dist/{register.agent-BedOGhk-.js → register.agent-BSdFQsCq.js} +7 -7
- package/dist/{register.agent-JL4_r2Jb.js → register.agent-dQKDHNyK.js} +6 -6
- package/dist/{register.configure-U45T1EJ-.js → register.configure-BN9zCFxE.js} +6 -6
- package/dist/{register.configure-D_-8trFJ.js → register.configure-Bk2X8wFI.js} +6 -6
- package/dist/{register.maintenance-TMdlbc45.js → register.maintenance-COHaTp3w.js} +8 -8
- package/dist/{register.maintenance-BNhGCK92.js → register.maintenance-d-1O5gtF.js} +7 -7
- package/dist/{register.message-BdQletmJ.js → register.message-CfNc9leD.js} +3 -3
- package/dist/{register.message-DKw_hGiP.js → register.message-DUrPTA8L.js} +3 -3
- package/dist/{register.onboard-DVHlSfZa.js → register.onboard-DtyoTIKL.js} +4 -4
- package/dist/{register.onboard-D5LHgdqV.js → register.onboard-aCV1lrPF.js} +4 -4
- package/dist/{register.setup-CAVftQvz.js → register.setup-Bb73DdhE.js} +4 -4
- package/dist/{register.setup-Dfhxwzgk.js → register.setup-BgyHWmCs.js} +4 -4
- package/dist/{register.status-health-sessions-YCJQ83my.js → register.status-health-sessions-DLABBIKC.js} +3 -3
- package/dist/{register.status-health-sessions-ixyM5rDz.js → register.status-health-sessions-OOi_L5uN.js} +3 -3
- package/dist/{register.subclis-D-kjKwwz.js → register.subclis-CDZvm5LU.js} +9 -9
- package/dist/{reply-d6yV4wB_.js → reply-D9JN_rwA.js} +4 -4
- package/dist/{retry-D1bxhFWp.js → retry-B0RhK9tX.js} +1 -1
- package/dist/{run-main-D5duEqg3.js → run-main-BnvBDAQk.js} +14 -14
- package/dist/{runner-DGYLHL8R.js → runner-nMdrG8eK.js} +7 -7
- package/dist/{send-z4yxEOnF.js → send-BMQRcdbF.js} +4 -4
- package/dist/{send-CKSrJ7se.js → send-BRIcpOAj.js} +5 -5
- package/dist/{send-Df7eglyR.js → send-CNibEQip.js} +6 -6
- package/dist/{send-DjP-Miy_.js → send-CWOrEtrR.js} +7 -7
- package/dist/{send-DULTJ0oK.js → send-DzhCsWw9.js} +7 -7
- package/dist/{server-node-events-BE6fD68d.js → server-node-events-5_nsFo-O.js} +3 -3
- package/dist/{server-node-events-C51Bayv9.js → server-node-events-BHXuG6Pd.js} +3 -3
- package/dist/{session-B5I8E41_.js → session-CP0yShzI.js} +1 -1
- package/dist/{session-2uX9t1PO.js → session-C__ZeV6y.js} +7 -7
- package/dist/{session-Bu5MF744.js → session-sO1d78EF.js} +1 -1
- package/dist/{session-ZppYapGg.js → session-zCwG7NHS.js} +1 -1
- package/dist/{sqlite-CBMbuGLX.js → sqlite-Bfoh6OgV.js} +4 -4
- package/dist/{status-8g-vfjfP.js → status-CQB4pZ8j.js} +2 -2
- package/dist/{status-NfZ6FkuQ.js → status-Cuj1dGBb.js} +2 -2
- package/dist/{status-BRNeaZhV.js → status-Dnim-lZW.js} +1 -1
- package/dist/{status-D0P0XQqw.js → status-TVzePU0v.js} +1 -1
- package/dist/{store-m4I2z_5t.js → store-B6Y3aOaY.js} +2 -2
- package/dist/{subagent-registry-DJBVFvb4.js → subagent-registry-2rHQ_z7c.js} +4 -4
- package/dist/{tables-7DihLyDw.js → tables-BhgdJIJu.js} +1 -1
- package/dist/{tool-images-hzyBQ0Og.js → tool-images-DRiKq4of.js} +2 -2
- package/dist/{update-cli-BZ2fDrwx.js → update-cli-C5qlFKHT.js} +8 -8
- package/dist/{update-cli-BOXR9slg.js → update-cli-DKb91txa.js} +7 -7
- package/dist/{update-runner-BZFeJzUi.js → update-runner-BOA-zXJF.js} +1 -1
- package/dist/{update-runner-B55O98W8.js → update-runner-D6ZdwFLX.js} +1 -1
- package/dist/{web-DoaI-RpC.js → web-B-3vMKvG.js} +3 -3
- package/dist/{web-C5vqAHQC.js → web-BCAfeY97.js} +36 -36
- package/dist/{web-CtSLAgT_.js → web-CRrtqTfC.js} +3 -3
- package/dist/{web-By5urMji.js → web-CmgBQX8I.js} +4 -4
- package/dist/{whatsapp-actions-C4JR_6XT.js → whatsapp-actions-x16Ismcy.js} +14 -14
- package/dist/{workspace-CgGZnIx_.js → workspace-LSLFINSz.js} +5 -5
- package/package.json +1 -1
- package/dist/plugin-sdk/web-CUrXnjRV.js +0 -30
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { $ as resolveControlCommandGate, $t as BLUEBUBBLES_ACTIONS, At as resolveNestedAllowlistDecision, B as resolveDiscordChannelAllowlist, Bt as readRequestBodyWithLimit, D as createReceiptCard, Dt as normalizeChannelSlug, E as stripMarkdown, Et as buildChannelKeyCandidates, F as parseChatTargetPrefixesOrThrow, Ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, G as emitDiagnosticEvent, Gt as pruneExpiredPending, Ht as createDedupeCache, I as resolveServicePrefixedAllowTarget, It as RequestBodyLimitError, J as missingTargetError, Jt as writeJsonAtomic, K as isDiagnosticsEnabled, Kt as readJsonFile, L as resolveServicePrefixedTarget, Lt as installRequestBodyLimitGuard, M as resolveSlackChannelAllowlist, Mt as isWSLEnv, N as normalizeIMessageHandle, Nt as isWSLSync, O as attachFooterText, Ot as resolveChannelEntryMatch, P as parseChatAllowTargetPrefixes, Pt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Q as recordInboundSession, Qt as registerPluginHttpRoute, R as detectBinary, Rt as isRequestBodyLimitError, T as processLineMessage, Tt as resolveAllowlistMatchSimple, U as parseDiscordTarget, Ut as generatePairingToken, V as collectDiscordAuditChannelIds, Vt as requestBodyErrorToText, W as normalizeDiscordSlug, Wt as createAsyncLock, X as optionalStringEnum, Y as formatDocsLink, Yt as resolveAckReaction, Z as stringEnum, _t as buildPendingHistoryContextFromMap, a as normalizeAccountId$1, at as createReplyPrefixContext, bt as recordPendingHistoryEntry, ct as removeAckReactionAfterReply, dt as resolveMentionGating, en as BLUEBUBBLES_ACTION_NAMES, et as formatLocationText, ft as resolveMentionGatingWithBypass, ht as DEFAULT_GROUP_HISTORY_LIMIT, i as listLineAccountIds, it as logTypingFailure, j as resolveSlackUserAllowlist, jt as isWSL2Sync, kt as resolveChannelEntryMatchWithFallback, lt as shouldAckReaction, mt as summarizeMapping, nn as CHANNEL_MESSAGE_ACTION_NAMES, nt as logAckFailure, o as resolveDefaultLineAccountId, ot as createReplyPrefixOptions, pt as mergeAllowlist, q as onDiagnosticEvent, qt as resolvePairingPaths, rt as logInboundDrop, s as resolveLineAccount, st as createTypingCallbacks, tn as BLUEBUBBLES_GROUP_ACTIONS, tt as toLocationContext, ut as shouldAckReactionForWhatsApp, vt as clearHistoryEntries, w as hasMarkdownToConvert, wt as formatAllowlistMatchMeta, xt as recordPendingHistoryEntryIfEnabled, yt as clearHistoryEntriesIfEnabled, z as resolveDiscordUserAllowlist, zt as readJsonBodyWithLimit } from "./reply-
|
|
2
|
-
import { H as normalizeE164, I as escapeRegExp, M as clamp, U as pathExists, X as sleep, _t as normalizePluginHttpPath, dt as registerLogTransport, j as CONFIG_DIR, q as safeParseJson, t as runCommandWithTimeout, u as stripAnsi, v as getChatChannelMeta, z as isRecord } from "./exec-
|
|
1
|
+
import { $ as resolveControlCommandGate, $t as BLUEBUBBLES_ACTIONS, At as resolveNestedAllowlistDecision, B as resolveDiscordChannelAllowlist, Bt as readRequestBodyWithLimit, D as createReceiptCard, Dt as normalizeChannelSlug, E as stripMarkdown, Et as buildChannelKeyCandidates, F as parseChatTargetPrefixesOrThrow, Ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, G as emitDiagnosticEvent, Gt as pruneExpiredPending, Ht as createDedupeCache, I as resolveServicePrefixedAllowTarget, It as RequestBodyLimitError, J as missingTargetError, Jt as writeJsonAtomic, K as isDiagnosticsEnabled, Kt as readJsonFile, L as resolveServicePrefixedTarget, Lt as installRequestBodyLimitGuard, M as resolveSlackChannelAllowlist, Mt as isWSLEnv, N as normalizeIMessageHandle, Nt as isWSLSync, O as attachFooterText, Ot as resolveChannelEntryMatch, P as parseChatAllowTargetPrefixes, Pt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Q as recordInboundSession, Qt as registerPluginHttpRoute, R as detectBinary, Rt as isRequestBodyLimitError, T as processLineMessage, Tt as resolveAllowlistMatchSimple, U as parseDiscordTarget, Ut as generatePairingToken, V as collectDiscordAuditChannelIds, Vt as requestBodyErrorToText, W as normalizeDiscordSlug, Wt as createAsyncLock, X as optionalStringEnum, Y as formatDocsLink, Yt as resolveAckReaction, Z as stringEnum, _t as buildPendingHistoryContextFromMap, a as normalizeAccountId$1, at as createReplyPrefixContext, bt as recordPendingHistoryEntry, ct as removeAckReactionAfterReply, dt as resolveMentionGating, en as BLUEBUBBLES_ACTION_NAMES, et as formatLocationText, ft as resolveMentionGatingWithBypass, ht as DEFAULT_GROUP_HISTORY_LIMIT, i as listLineAccountIds, it as logTypingFailure, j as resolveSlackUserAllowlist, jt as isWSL2Sync, kt as resolveChannelEntryMatchWithFallback, lt as shouldAckReaction, mt as summarizeMapping, nn as CHANNEL_MESSAGE_ACTION_NAMES, nt as logAckFailure, o as resolveDefaultLineAccountId, ot as createReplyPrefixOptions, pt as mergeAllowlist, q as onDiagnosticEvent, qt as resolvePairingPaths, rt as logInboundDrop, s as resolveLineAccount, st as createTypingCallbacks, tn as BLUEBUBBLES_GROUP_ACTIONS, tt as toLocationContext, ut as shouldAckReactionForWhatsApp, vt as clearHistoryEntries, w as hasMarkdownToConvert, wt as formatAllowlistMatchMeta, xt as recordPendingHistoryEntryIfEnabled, yt as clearHistoryEntriesIfEnabled, z as resolveDiscordUserAllowlist, zt as readJsonBodyWithLimit } from "./reply-BCjRFrxS.js";
|
|
2
|
+
import { H as normalizeE164, I as escapeRegExp, M as clamp, U as pathExists, X as sleep, _t as normalizePluginHttpPath, dt as registerLogTransport, j as CONFIG_DIR, q as safeParseJson, t as runCommandWithTimeout, u as stripAnsi, v as getChatChannelMeta, z as isRecord } from "./exec-C5lqk9X4.js";
|
|
3
3
|
import "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { X as withFileLock, Y as acquireFileLock, q as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { $ as DmConfigSchema, A as resolveWhatsAppAuthDir, D as listWhatsAppAccountIds, G as GoogleChatConfigSchema, J as SignalConfigSchema, K as IMessageConfigSchema, O as resolveDefaultWhatsAppAccountId, Q as BlockStreamingCoalesceSchema, U as WhatsAppConfigSchema, W as DiscordConfigSchema, X as TelegramConfigSchema, Y as SlackConfigSchema, Z as ToolPolicySchema, at as TtsConfigSchema, ct as normalizeAllowFrom, et as DmPolicySchema, it as TtsAutoSchema, k as resolveWhatsAppAccount, lt as requireOpenAllowFrom, nt as MarkdownConfigSchema, ot as TtsModeSchema, q as MSTeamsConfigSchema, rt as MarkdownTableModeSchema, st as TtsProviderSchema, tt as GroupPolicySchema } from "./config-
|
|
6
|
-
import { j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
7
|
-
import { M as isSilentReplyText, j as SILENT_REPLY_TOKEN, k as resolveChannelMediaMaxBytes } from "./deliver-
|
|
8
|
-
import { An as resolveDefaultIMessageAccountId, Cn as resolveWhatsAppGroupToolPolicy, Dn as resolveDefaultSignalAccountId, En as listSignalAccountIds, Fn as resolveToolsBySender, On as resolveSignalAccount, Sn as resolveWhatsAppGroupRequireMention, _n as resolveIMessageGroupToolPolicy, bn as resolveTelegramGroupRequireMention, dn as resolveBlueBubblesGroupToolPolicy, fn as resolveDiscordGroupRequireMention, gn as resolveIMessageGroupRequireMention, hn as resolveGoogleChatGroupToolPolicy, jn as resolveIMessageAccount, kn as listIMessageAccountIds, kt as extractOriginalFilename, mn as resolveGoogleChatGroupRequireMention, pn as resolveDiscordGroupToolPolicy, un as resolveBlueBubblesGroupRequireMention, vn as resolveSlackGroupRequireMention, wn as buildSlackThreadingToolContext, xn as resolveTelegramGroupToolPolicy, yn as resolveSlackGroupToolPolicy } from "./pi-embedded-helpers-
|
|
4
|
+
import { X as withFileLock, Y as acquireFileLock, q as isTruthyEnvValue } from "./model-selection-DHMRsTNB.js";
|
|
5
|
+
import { $ as DmConfigSchema, A as resolveWhatsAppAuthDir, D as listWhatsAppAccountIds, G as GoogleChatConfigSchema, J as SignalConfigSchema, K as IMessageConfigSchema, O as resolveDefaultWhatsAppAccountId, Q as BlockStreamingCoalesceSchema, U as WhatsAppConfigSchema, W as DiscordConfigSchema, X as TelegramConfigSchema, Y as SlackConfigSchema, Z as ToolPolicySchema, at as TtsConfigSchema, ct as normalizeAllowFrom, et as DmPolicySchema, it as TtsAutoSchema, k as resolveWhatsAppAccount, lt as requireOpenAllowFrom, nt as MarkdownConfigSchema, ot as TtsModeSchema, q as MSTeamsConfigSchema, rt as MarkdownTableModeSchema, st as TtsProviderSchema, tt as GroupPolicySchema } from "./config-DelXkt58.js";
|
|
6
|
+
import { j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-ip6rBrUD.js";
|
|
7
|
+
import { M as isSilentReplyText, j as SILENT_REPLY_TOKEN, k as resolveChannelMediaMaxBytes } from "./deliver-ebYNQy_5.js";
|
|
8
|
+
import { An as resolveDefaultIMessageAccountId, Cn as resolveWhatsAppGroupToolPolicy, Dn as resolveDefaultSignalAccountId, En as listSignalAccountIds, Fn as resolveToolsBySender, On as resolveSignalAccount, Sn as resolveWhatsAppGroupRequireMention, _n as resolveIMessageGroupToolPolicy, bn as resolveTelegramGroupRequireMention, dn as resolveBlueBubblesGroupToolPolicy, fn as resolveDiscordGroupRequireMention, gn as resolveIMessageGroupRequireMention, hn as resolveGoogleChatGroupToolPolicy, jn as resolveIMessageAccount, kn as listIMessageAccountIds, kt as extractOriginalFilename, mn as resolveGoogleChatGroupRequireMention, pn as resolveDiscordGroupToolPolicy, un as resolveBlueBubblesGroupRequireMention, vn as resolveSlackGroupRequireMention, wn as buildSlackThreadingToolContext, xn as resolveTelegramGroupToolPolicy, yn as resolveSlackGroupToolPolicy } from "./pi-embedded-helpers-C3_rwWkJ.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
10
|
-
import { B as normalizeSlackMessagingTarget, F as listTelegramDirectoryGroupsFromConfig, I as listTelegramDirectoryPeersFromConfig, K as isWhatsAppGroupJid, L as listWhatsAppDirectoryGroupsFromConfig, M as listDiscordDirectoryPeersFromConfig, N as listSlackDirectoryGroupsFromConfig, P as listSlackDirectoryPeersFromConfig, R as listWhatsAppDirectoryPeersFromConfig, X as resolveDefaultTelegramAccountId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _t as isPrivateIpAddress, c as getFileExtension, ct as listDiscordAccountIds, dt as resolveDiscordAccount, et as listEnabledSlackAccounts, gt as isBlockedHostname, it as resolveSlackReplyToMode, j as listDiscordDirectoryGroupsFromConfig, nt as resolveDefaultSlackAccountId, o as detectMime, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, tt as listSlackAccountIds, ut as resolveDefaultDiscordAccountId, z as looksLikeSlackTargetId } from "./image-ops-
|
|
11
|
-
import { i as fetchWithSsrFGuard } from "./fetch-
|
|
10
|
+
import { B as normalizeSlackMessagingTarget, F as listTelegramDirectoryGroupsFromConfig, I as listTelegramDirectoryPeersFromConfig, K as isWhatsAppGroupJid, L as listWhatsAppDirectoryGroupsFromConfig, M as listDiscordDirectoryPeersFromConfig, N as listSlackDirectoryGroupsFromConfig, P as listSlackDirectoryPeersFromConfig, R as listWhatsAppDirectoryPeersFromConfig, X as resolveDefaultTelegramAccountId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _t as isPrivateIpAddress, c as getFileExtension, ct as listDiscordAccountIds, dt as resolveDiscordAccount, et as listEnabledSlackAccounts, gt as isBlockedHostname, it as resolveSlackReplyToMode, j as listDiscordDirectoryGroupsFromConfig, nt as resolveDefaultSlackAccountId, o as detectMime, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, tt as listSlackAccountIds, ut as resolveDefaultDiscordAccountId, z as looksLikeSlackTargetId } from "./image-ops-zm4O3fkk.js";
|
|
11
|
+
import { i as fetchWithSsrFGuard } from "./fetch-Cw_7QfME.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
13
13
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
14
|
-
import "./paths-
|
|
15
|
-
import "./tool-images-
|
|
16
|
-
import { a as readNumberParam, i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-
|
|
17
|
-
import "./active-listener-
|
|
18
|
-
import { _ as loadWebMedia } from "./ir-
|
|
19
|
-
import "./manager-
|
|
20
|
-
import "./chrome-
|
|
21
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
22
|
-
import "./runner-
|
|
23
|
-
import "./image-
|
|
14
|
+
import "./paths-wRVSwmkX.js";
|
|
15
|
+
import "./tool-images-C4GaQjrF.js";
|
|
16
|
+
import { a as readNumberParam, i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-pKa0kElY.js";
|
|
17
|
+
import "./active-listener-CFLZdKRQ.js";
|
|
18
|
+
import { _ as loadWebMedia } from "./ir-BEwiHV7R.js";
|
|
19
|
+
import "./manager-Cqyl7HDP.js";
|
|
20
|
+
import "./chrome-OZ5Ge8PR.js";
|
|
21
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-B715iUQW.js";
|
|
22
|
+
import "./runner-DxPwS4ed.js";
|
|
23
|
+
import "./image-2KL1DOmN.js";
|
|
24
24
|
import "./pi-model-discovery-DX1x3UsN.js";
|
|
25
25
|
import "./redact-CZWjP0qB.js";
|
|
26
|
-
import "./sqlite-
|
|
26
|
+
import "./sqlite-CKrK6KKr.js";
|
|
27
27
|
import "./proxy-CLlXFbH0.js";
|
|
28
|
-
import "./outbound-
|
|
29
|
-
import "./session-
|
|
30
|
-
import { t as loginWeb } from "./login-
|
|
28
|
+
import "./outbound-DT2nH6dY.js";
|
|
29
|
+
import "./session-CMKy7hKx.js";
|
|
30
|
+
import { t as loginWeb } from "./login-BPMBJ2ja.js";
|
|
31
31
|
import path from "node:path";
|
|
32
32
|
import fs, { createWriteStream } from "node:fs";
|
|
33
33
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { K as resolveUserPath, it as shouldLogVerbose, nt as logVerbose } from "./exec-
|
|
1
|
+
import { K as resolveUserPath, it as shouldLogVerbose, nt as logVerbose } from "./exec-C5lqk9X4.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { j as normalizeAccountId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { A as normalizeChannelId, _ as INTERNAL_MESSAGE_CHANNEL, a as resizeToJpeg, g as mediaKindFromMime, h as maxBytesForKind, i as optimizeImageToPng, o as detectMime, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-
|
|
5
|
-
import { n as fetchRemoteMedia } from "./fetch-
|
|
3
|
+
import { j as normalizeAccountId, s as resolveAgentWorkspaceDir } from "./agent-scope-ip6rBrUD.js";
|
|
4
|
+
import { A as normalizeChannelId, _ as INTERNAL_MESSAGE_CHANNEL, a as resizeToJpeg, g as mediaKindFromMime, h as maxBytesForKind, i as optimizeImageToPng, o as detectMime, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-zm4O3fkk.js";
|
|
5
|
+
import { n as fetchRemoteMedia } from "./fetch-Cw_7QfME.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-
|
|
3
|
-
import { P as logoutWeb, k as resolveWhatsAppAccount, n as loadConfig } from "./config-
|
|
2
|
+
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-C5lqk9X4.js";
|
|
3
|
+
import { P as logoutWeb, k as resolveWhatsAppAccount, n as loadConfig } from "./config-DelXkt58.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
5
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CMKy7hKx.js";
|
|
6
6
|
import { stdin, stdout } from "node:process";
|
|
7
7
|
import readline from "node:readline/promises";
|
|
8
8
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-
|
|
1
|
+
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-C5lqk9X4.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
|
-
import "./model-selection-
|
|
4
|
-
import { H as webAuthExists, P as logoutWeb, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-
|
|
5
|
-
import "./agent-scope-
|
|
3
|
+
import "./model-selection-DHMRsTNB.js";
|
|
4
|
+
import { H as webAuthExists, P as logoutWeb, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-DelXkt58.js";
|
|
5
|
+
import "./agent-scope-ip6rBrUD.js";
|
|
6
6
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CMKy7hKx.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as truncateUtf16Safe, K as resolveUserPath, N as clampInt, P as clampNumber$1, X as sleep, l as createSubsystemLogger } from "./exec-
|
|
2
|
+
import { $ as truncateUtf16Safe, K as resolveUserPath, N as clampInt, P as clampNumber$1, X as sleep, l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { C as resolveApiKeyForProvider, S as requireApiKey, q as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { n as resolveAgentConfig, r as resolveAgentDir$1, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { C as resolveApiKeyForProvider, S as requireApiKey, q as isTruthyEnvValue } from "./model-selection-DHMRsTNB.js";
|
|
5
|
+
import { n as resolveAgentConfig, r as resolveAgentDir$1, s as resolveAgentWorkspaceDir } from "./agent-scope-ip6rBrUD.js";
|
|
6
6
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
7
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
7
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-wRVSwmkX.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
9
|
-
import { a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
9
|
+
import { a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-CKrK6KKr.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { K as resolveUserPath, l as createSubsystemLogger } from "./exec-
|
|
2
|
+
import { K as resolveUserPath, l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
|
|
3
3
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { T as DEFAULT_AGENT_ID, a as resolveAgentModelPrimary } from "./agent-scope-
|
|
4
|
+
import { T as DEFAULT_AGENT_ID, a as resolveAgentModelPrimary } from "./agent-scope-ip6rBrUD.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BmLW2kW0.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { I as escapeRegExp, Q as toWhatsappJid, l as createSubsystemLogger, ut as getChildLogger } from "./exec-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { i as convertMarkdownTables, n as requireActiveWebListener, s as normalizePollInput } from "./active-listener-
|
|
5
|
-
import { _ as loadWebMedia, i as resolveMarkdownTableMode } from "./ir-
|
|
2
|
+
import { I as escapeRegExp, Q as toWhatsappJid, l as createSubsystemLogger, ut as getChildLogger } from "./exec-C5lqk9X4.js";
|
|
3
|
+
import { n as loadConfig } from "./config-DelXkt58.js";
|
|
4
|
+
import { i as convertMarkdownTables, n as requireActiveWebListener, s as normalizePollInput } from "./active-listener-CFLZdKRQ.js";
|
|
5
|
+
import { _ as loadWebMedia, i as resolveMarkdownTableMode } from "./ir-BEwiHV7R.js";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
|
|
8
8
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
|
|
2
|
-
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-
|
|
2
|
+
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-ip6rBrUD.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./exec-
|
|
1
|
+
import "./exec-C5lqk9X4.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-
|
|
4
|
-
import "./agent-scope-
|
|
3
|
+
import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-DHMRsTNB.js";
|
|
4
|
+
import "./agent-scope-ip6rBrUD.js";
|
|
5
5
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-
|
|
1
|
+
import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-C5lqk9X4.js";
|
|
2
2
|
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-
|
|
4
|
-
import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
5
|
-
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-
|
|
3
|
+
import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-DHMRsTNB.js";
|
|
4
|
+
import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DelXkt58.js";
|
|
5
|
+
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-ip6rBrUD.js";
|
|
6
6
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CB-Jxwa7.js";
|
|
7
|
-
import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-
|
|
7
|
+
import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-zm4O3fkk.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
9
|
-
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
9
|
+
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-wRVSwmkX.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
11
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
12
|
-
import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-C4GaQjrF.js";
|
|
12
|
+
import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-OZ5Ge8PR.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs, { createWriteStream, existsSync } from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
|
-
import
|
|
16
|
+
import JSON5 from "json5";
|
|
17
17
|
import fs$1 from "node:fs/promises";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
@@ -3292,7 +3292,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
3292
3292
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
3293
3293
|
if (!raw) return;
|
|
3294
3294
|
try {
|
|
3295
|
-
const parsed =
|
|
3295
|
+
const parsed = JSON5.parse(raw);
|
|
3296
3296
|
if (!parsed || typeof parsed !== "object") return;
|
|
3297
3297
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
3298
3298
|
for (const key of manifestKeys) {
|
|
@@ -4026,7 +4026,7 @@ function isModuleNotFoundError(err) {
|
|
|
4026
4026
|
}
|
|
4027
4027
|
async function loadPwAiModule(mode) {
|
|
4028
4028
|
try {
|
|
4029
|
-
return await import("./pw-ai-
|
|
4029
|
+
return await import("./pw-ai-BYr2wRwE.js");
|
|
4030
4030
|
} catch (err) {
|
|
4031
4031
|
if (mode === "soft") return null;
|
|
4032
4032
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -6396,11 +6396,11 @@ function createProfileContext(opts, profile) {
|
|
|
6396
6396
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
6397
6397
|
const profileState = getProfileState();
|
|
6398
6398
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
6399
|
-
await (await import("./pw-ai-
|
|
6399
|
+
await (await import("./pw-ai-BYr2wRwE.js")).closePlaywrightBrowserConnection();
|
|
6400
6400
|
} catch {}
|
|
6401
6401
|
if (profileState.running) await stopRunningBrowser();
|
|
6402
6402
|
try {
|
|
6403
|
-
await (await import("./pw-ai-
|
|
6403
|
+
await (await import("./pw-ai-BYr2wRwE.js")).closePlaywrightBrowserConnection();
|
|
6404
6404
|
} catch {}
|
|
6405
6405
|
if (!fs.existsSync(userDataDir)) return {
|
|
6406
6406
|
moved: false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./exec-
|
|
1
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./exec-C5lqk9X4.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
3
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
5
|
-
import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-
|
|
5
|
+
import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-OZ5Ge8PR.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./paths-
|
|
3
|
+
import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-ip6rBrUD.js";
|
|
4
|
+
import "./paths-wRVSwmkX.js";
|
|
5
5
|
import "./redact-CZWjP0qB.js";
|
|
6
|
-
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
6
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-CKrK6KKr.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as truncateUtf16Safe, A as matchPluginCommand, C as requireActivePluginRegistry, D as executePluginCommand, E as clearPluginCommands, F as ensureDir$3, H as normalizeE164, I as escapeRegExp, J as shortenHomeInString, K as resolveUserPath, L as formatTerminalLink, N as clampInt, O as getPluginCommandSpecs, R as isPlainObject, S as getActivePluginRegistry, T as createPluginRegistry, X as sleep, Y as shortenHomePath, Z as sliceUtf16Safe, _ as CHAT_CHANNEL_ORDER, _t as normalizePluginHttpPath, a as logDebug, b as normalizeChannelId, c as logWarn, ct as isRich, d as createNonExitingRuntime, et as danger, f as defaultRuntime, gt as triggerInternalHook, h as unregisterActiveProgressLine, ht as createInternalHookEvent, i as spawnWithFallback, it as shouldLogVerbose, j as CONFIG_DIR, k as listPluginCommands, l as createSubsystemLogger, lt as theme, m as registerActiveProgressLine, mt as resolvePreferredOpenClawTmpDir, n as runExec, nt as logVerbose, o as logError, ot as warn, p as clearActiveProgressLine, pt as normalizeLogLevel, q as safeParseJson, r as formatSpawnError, rt as setVerbose, s as logInfo, st as colorize, t as runCommandWithTimeout, ut as getChildLogger, w as setActivePluginRegistry, y as normalizeAnyChannelId, z as isRecord$1 } from "./exec-
|
|
2
|
+
import { $ as truncateUtf16Safe, A as matchPluginCommand, C as requireActivePluginRegistry, D as executePluginCommand, E as clearPluginCommands, F as ensureDir$3, H as normalizeE164, I as escapeRegExp, J as shortenHomeInString, K as resolveUserPath, L as formatTerminalLink, N as clampInt, O as getPluginCommandSpecs, R as isPlainObject, S as getActivePluginRegistry, T as createPluginRegistry, X as sleep, Y as shortenHomePath, Z as sliceUtf16Safe, _ as CHAT_CHANNEL_ORDER, _t as normalizePluginHttpPath, a as logDebug, b as normalizeChannelId, c as logWarn, ct as isRich, d as createNonExitingRuntime, et as danger, f as defaultRuntime, gt as triggerInternalHook, h as unregisterActiveProgressLine, ht as createInternalHookEvent, i as spawnWithFallback, it as shouldLogVerbose, j as CONFIG_DIR, k as listPluginCommands, l as createSubsystemLogger, lt as theme, m as registerActiveProgressLine, mt as resolvePreferredOpenClawTmpDir, n as runExec, nt as logVerbose, o as logError, ot as warn, p as clearActiveProgressLine, pt as normalizeLogLevel, q as safeParseJson, r as formatSpawnError, rt as setVerbose, s as logInfo, st as colorize, t as runCommandWithTimeout, ut as getChildLogger, w as setActivePluginRegistry, y as normalizeAnyChannelId, z as isRecord$1 } from "./exec-C5lqk9X4.js";
|
|
3
3
|
import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveOpenClawAgentDir, J as parseBooleanValue$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, X as withFileLock$1, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, q as isTruthyEnvValue, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
5
|
-
import { C as setConfigValueAtPath, E as VERSION, H as webAuthExists, M as getWebAuthAgeMs, N as logWebSelfId, P as logoutWeb, R as readWebSelfId, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as writeConfigFile, b as unsetConfigOverride, c as validateJsonSchemaValue, dt as parseDurationMs, ft as TELEGRAM_COMMAND_NAME_PATTERN, g as resolveMemorySlotDecision, h as resolveEnableState, i as resolveConfigSnapshotHash, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, mt as resolveTelegramCustomCommands, n as loadConfig, o as validateConfigObjectWithPlugins, p as applyTestPluginDefaults, pt as normalizeTelegramCommandName, r as readConfigFileSnapshot, u as discoverOpenClawPlugins, ut as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-
|
|
6
|
-
import { A as classifySessionKeyShape, B as isSubagentSessionKey, D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, F as resolveThreadSessionKeys, H as resolveThreadParentSessionKey, I as sanitizeAgentId, L as getSubagentDepth, M as normalizeAgentId, N as normalizeMainKey, O as buildAgentPeerSessionKey, P as resolveAgentIdFromSessionKey, R as isAcpSessionKey, S as resolveOpenClawPackageRoot, T as DEFAULT_AGENT_ID, V as parseAgentSessionKey, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, j as normalizeAccountId$3, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, w as DEFAULT_ACCOUNT_ID$1, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace, z as isCronSessionKey } from "./agent-scope-
|
|
7
|
-
import { A as HEARTBEAT_TOKEN, C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, M as isSilentReplyText, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, j as SILENT_REPLY_TOKEN, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-
|
|
8
|
-
import { $ as applySkillEnvOverridesFromSnapshot, $t as resolveSessionResetType, A as isTransientHttpError, At as getMediaDir, B as resolveProfile, Bt as updateSessionStoreEntry, C as isContextOverflowError, Ct as normalizeReasoningLevel, D as isRateLimitAssistantError, Dt as resolveResponseUsageMode, E as isLikelyContextOverflowError, Et as normalizeVerboseLevel, F as resolveSandboxContext, Ft as loadSessionStore, G as buildWorkspaceSkillSnapshot, Gt as mergeDeliveryContext, H as resolvePathsWithinRoot, Ht as resolveCacheTtlMs$1, I as resolveSandboxRuntimeStatus, It as readSessionUpdatedAt, J as resolvePluginSkillDirs, Jt as acquireSessionWriteLock, K as loadWorkspaceSkillEntries, Kt as normalizeDeliveryContext, L as createBrowserRouteContext, Lt as recordSessionMetaFromInbound, M as parseImageSizeError, Mn as resolveChannelGroupPolicy, Mt as extractDeliveryInfo, N as sanitizeUserFacingText, Nn as resolveChannelGroupRequireMention, Nt as appendAssistantMessageToSessionTranscript, O as isRawApiErrorPayload, On as resolveSignalAccount, Ot as supportsXHighThinking, P as ensureSandboxWorkspaceForSession, Pn as resolveChannelGroupToolsPolicy, Q as applySkillEnvOverrides, Qt as resolveSessionResetPolicy, R as registerBrowserRoutes, Rt as updateLastRoute, S as isCompactionFailureError, St as normalizeElevatedLevel, T as isFailoverErrorMessage, Tn as listEnabledSignalAccounts, Tt as normalizeUsageDisplay, U as getBridgeAuthForPort, Ut as deliveryContextFromSession, V as DEFAULT_UPLOAD_DIR, Vt as isCacheEnabled, W as buildWorkspaceSkillCommandSpecs, Wt as deliveryContextKey, X as assertSandboxPath, Xt as evaluateSessionFreshness, Y as assertMediaNotDataUrl, Yt as resolveSessionKey$1, Z as resolveSandboxedMediaSource, Zt as resolveChannelResetConfig, _ as formatRawAssistantErrorForUi, _t as resolveBootstrapTotalMaxChars, a as isMessagingToolDuplicateNormalized, an as deriveSessionMetaPatch, at as collectExplicitAllowlist, b as isBillingAssistantError, bt as formatXHighModelHint, c as extractToolCallsFromAssistant, cn as getChannelDock, ct as mergeAlsoAllowPolicy, d as isAntigravityClaude, dt as stripPluginOnlyAllowlist, en as resolveThreadFlag, et as ensureBrowserControlAuth, f as isGoogleModelApi, ft as compileGlobPatterns, g as formatBillingErrorMessage, gt as resolveBootstrapMaxChars, h as formatAssistantErrorText, ht as ensureSessionHeader, in as resolveMainSessionKey, it as buildPluginToolGroups, j as parseImageDimensionError, jn as resolveIMessageAccount, jt as saveMediaBuffer, k as isTimeoutErrorMessage, l as extractToolResultId, ln as listChannelDocks, lt as normalizeToolName, m as classifyFailoverReason, mt as buildBootstrapContextFiles, n as validateGeminiTurns, nn as resolveFreshSessionTotalTokens, nt as resolveSandboxConfigForAgent, o as normalizeTextForComparison, on as resolveConversationLabel, ot as expandPolicyWithPluginGroups, p as BILLING_ERROR_USER_MESSAGE, pt as matchesAnyGlobPattern, q as resolveSkillsPromptForRun, qt as normalizeSessionDeliveryFields, r as pickFallbackThinkingLevel, rn as canonicalizeMainSessionAlias, rt as applyOwnerOnlyToolPolicy, s as sanitizeSessionMessagesImages, sn as resolveGroupSessionKey, st as expandToolGroups, t as validateAnthropicTurns, tn as DEFAULT_RESET_TRIGGERS, tt as resolveBrowserControlAuth, u as downgradeOpenAIReasoningBlocks, ut as resolveToolProfilePolicy, v as getApiErrorPayloadFingerprint, vt as sanitizeGoogleTurnOrdering, w as isFailoverAssistantError, wt as normalizeThinkLevel, x as isCloudCodeAssistFormatError, xt as listThinkingLevels, y as isAuthAssistantError, yt as formatThinkingLevels, z as resolveBrowserConfig, zt as updateSessionStore } from "./pi-embedded-helpers-
|
|
4
|
+
import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveOpenClawAgentDir, J as parseBooleanValue$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, X as withFileLock$1, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, q as isTruthyEnvValue, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-DHMRsTNB.js";
|
|
5
|
+
import { C as setConfigValueAtPath, E as VERSION, H as webAuthExists, M as getWebAuthAgeMs, N as logWebSelfId, P as logoutWeb, R as readWebSelfId, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as writeConfigFile, b as unsetConfigOverride, c as validateJsonSchemaValue, dt as parseDurationMs, ft as TELEGRAM_COMMAND_NAME_PATTERN, g as resolveMemorySlotDecision, h as resolveEnableState, i as resolveConfigSnapshotHash, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, mt as resolveTelegramCustomCommands, n as loadConfig, o as validateConfigObjectWithPlugins, p as applyTestPluginDefaults, pt as normalizeTelegramCommandName, r as readConfigFileSnapshot, u as discoverOpenClawPlugins, ut as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-DelXkt58.js";
|
|
6
|
+
import { A as classifySessionKeyShape, B as isSubagentSessionKey, D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, F as resolveThreadSessionKeys, H as resolveThreadParentSessionKey, I as sanitizeAgentId, L as getSubagentDepth, M as normalizeAgentId, N as normalizeMainKey, O as buildAgentPeerSessionKey, P as resolveAgentIdFromSessionKey, R as isAcpSessionKey, S as resolveOpenClawPackageRoot, T as DEFAULT_AGENT_ID, V as parseAgentSessionKey, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, j as normalizeAccountId$3, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, w as DEFAULT_ACCOUNT_ID$1, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace, z as isCronSessionKey } from "./agent-scope-ip6rBrUD.js";
|
|
7
|
+
import { A as HEARTBEAT_TOKEN, C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, M as isSilentReplyText, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, j as SILENT_REPLY_TOKEN, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-ebYNQy_5.js";
|
|
8
|
+
import { $ as applySkillEnvOverridesFromSnapshot, $t as resolveSessionResetType, A as isTransientHttpError, At as getMediaDir, B as resolveProfile, Bt as updateSessionStoreEntry, C as isContextOverflowError, Ct as normalizeReasoningLevel, D as isRateLimitAssistantError, Dt as resolveResponseUsageMode, E as isLikelyContextOverflowError, Et as normalizeVerboseLevel, F as resolveSandboxContext, Ft as loadSessionStore, G as buildWorkspaceSkillSnapshot, Gt as mergeDeliveryContext, H as resolvePathsWithinRoot, Ht as resolveCacheTtlMs$1, I as resolveSandboxRuntimeStatus, It as readSessionUpdatedAt, J as resolvePluginSkillDirs, Jt as acquireSessionWriteLock, K as loadWorkspaceSkillEntries, Kt as normalizeDeliveryContext, L as createBrowserRouteContext, Lt as recordSessionMetaFromInbound, M as parseImageSizeError, Mn as resolveChannelGroupPolicy, Mt as extractDeliveryInfo, N as sanitizeUserFacingText, Nn as resolveChannelGroupRequireMention, Nt as appendAssistantMessageToSessionTranscript, O as isRawApiErrorPayload, On as resolveSignalAccount, Ot as supportsXHighThinking, P as ensureSandboxWorkspaceForSession, Pn as resolveChannelGroupToolsPolicy, Q as applySkillEnvOverrides, Qt as resolveSessionResetPolicy, R as registerBrowserRoutes, Rt as updateLastRoute, S as isCompactionFailureError, St as normalizeElevatedLevel, T as isFailoverErrorMessage, Tn as listEnabledSignalAccounts, Tt as normalizeUsageDisplay, U as getBridgeAuthForPort, Ut as deliveryContextFromSession, V as DEFAULT_UPLOAD_DIR, Vt as isCacheEnabled, W as buildWorkspaceSkillCommandSpecs, Wt as deliveryContextKey, X as assertSandboxPath, Xt as evaluateSessionFreshness, Y as assertMediaNotDataUrl, Yt as resolveSessionKey$1, Z as resolveSandboxedMediaSource, Zt as resolveChannelResetConfig, _ as formatRawAssistantErrorForUi, _t as resolveBootstrapTotalMaxChars, a as isMessagingToolDuplicateNormalized, an as deriveSessionMetaPatch, at as collectExplicitAllowlist, b as isBillingAssistantError, bt as formatXHighModelHint, c as extractToolCallsFromAssistant, cn as getChannelDock, ct as mergeAlsoAllowPolicy, d as isAntigravityClaude, dt as stripPluginOnlyAllowlist, en as resolveThreadFlag, et as ensureBrowserControlAuth, f as isGoogleModelApi, ft as compileGlobPatterns, g as formatBillingErrorMessage, gt as resolveBootstrapMaxChars, h as formatAssistantErrorText, ht as ensureSessionHeader, in as resolveMainSessionKey, it as buildPluginToolGroups, j as parseImageDimensionError, jn as resolveIMessageAccount, jt as saveMediaBuffer, k as isTimeoutErrorMessage, l as extractToolResultId, ln as listChannelDocks, lt as normalizeToolName, m as classifyFailoverReason, mt as buildBootstrapContextFiles, n as validateGeminiTurns, nn as resolveFreshSessionTotalTokens, nt as resolveSandboxConfigForAgent, o as normalizeTextForComparison, on as resolveConversationLabel, ot as expandPolicyWithPluginGroups, p as BILLING_ERROR_USER_MESSAGE, pt as matchesAnyGlobPattern, q as resolveSkillsPromptForRun, qt as normalizeSessionDeliveryFields, r as pickFallbackThinkingLevel, rn as canonicalizeMainSessionAlias, rt as applyOwnerOnlyToolPolicy, s as sanitizeSessionMessagesImages, sn as resolveGroupSessionKey, st as expandToolGroups, t as validateAnthropicTurns, tn as DEFAULT_RESET_TRIGGERS, tt as resolveBrowserControlAuth, u as downgradeOpenAIReasoningBlocks, ut as resolveToolProfilePolicy, v as getApiErrorPayloadFingerprint, vt as sanitizeGoogleTurnOrdering, w as isFailoverAssistantError, wt as normalizeThinkLevel, x as isCloudCodeAssistFormatError, xt as listThinkingLevels, y as isAuthAssistantError, yt as formatThinkingLevels, z as resolveBrowserConfig, zt as updateSessionStore } from "./pi-embedded-helpers-C3_rwWkJ.js";
|
|
9
9
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-CB-Jxwa7.js";
|
|
10
10
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BD-UJHcc.js";
|
|
11
|
-
import { $ as listBindings, A as normalizeChannelId$1, C as resolveGatewayMessageChannel, D as GATEWAY_CLIENT_NAMES, E as GATEWAY_CLIENT_MODES, G as requireTargetKind, H as resolveSlackChannelId, J as listEnabledTelegramAccounts, K as isWhatsAppGroupJid, O as getChannelPlugin, Q as resolveTelegramToken, S as normalizeMessageChannel, T as GATEWAY_CLIENT_IDS, U as buildMessagingTarget, V as parseSlackTarget, W as ensureTargetId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _ as INTERNAL_MESSAGE_CHANNEL, _t as isPrivateIpAddress, a as resizeToJpeg, at as resolveSlackAppToken, b as isMarkdownCapableMessageChannel, c as getFileExtension, d as isGifMedia, dt as resolveDiscordAccount, ft as normalizeDiscordToken, g as mediaKindFromMime, gt as isBlockedHostname, h as maxBytesForKind, k as listChannelPlugins, l as imageMimeFromFormat, lt as listEnabledDiscordAccounts, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, ot as resolveSlackBotToken, p as normalizeMimeType$1, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, u as isAudioFileName, v as isDeliverableMessageChannel, w as resolveMessageChannel, x as listDeliverableMessageChannels, y as isInternalMessageChannel } from "./image-ops-
|
|
12
|
-
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
11
|
+
import { $ as listBindings, A as normalizeChannelId$1, C as resolveGatewayMessageChannel, D as GATEWAY_CLIENT_NAMES, E as GATEWAY_CLIENT_MODES, G as requireTargetKind, H as resolveSlackChannelId, J as listEnabledTelegramAccounts, K as isWhatsAppGroupJid, O as getChannelPlugin, Q as resolveTelegramToken, S as normalizeMessageChannel, T as GATEWAY_CLIENT_IDS, U as buildMessagingTarget, V as parseSlackTarget, W as ensureTargetId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _ as INTERNAL_MESSAGE_CHANNEL, _t as isPrivateIpAddress, a as resizeToJpeg, at as resolveSlackAppToken, b as isMarkdownCapableMessageChannel, c as getFileExtension, d as isGifMedia, dt as resolveDiscordAccount, ft as normalizeDiscordToken, g as mediaKindFromMime, gt as isBlockedHostname, h as maxBytesForKind, k as listChannelPlugins, l as imageMimeFromFormat, lt as listEnabledDiscordAccounts, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, ot as resolveSlackBotToken, p as normalizeMimeType$1, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, u as isAudioFileName, v as isDeliverableMessageChannel, w as resolveMessageChannel, x as listDeliverableMessageChannels, y as isInternalMessageChannel } from "./image-ops-zm4O3fkk.js";
|
|
12
|
+
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-Cw_7QfME.js";
|
|
13
13
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
14
14
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BmLW2kW0.js";
|
|
15
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-
|
|
15
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-wRVSwmkX.js";
|
|
16
16
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
17
|
-
import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
18
|
-
import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-
|
|
19
|
-
import { a as renderMarkdownWithMarkers, i as convertMarkdownTables, o as normalizePollDurationHours, s as normalizePollInput, t as getActiveWebListener } from "./active-listener-
|
|
20
|
-
import { _ as loadWebMedia, a as chunkByNewline, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, g as getDefaultLocalRoots, h as parseFenceSpans, i as resolveMarkdownTableMode, l as chunkText, m as isSafeFenceBreak, n as markdownToIR, p as findFenceSpanAt, s as chunkMarkdownText, t as chunkMarkdownIR, u as chunkTextWithMode, v as loadWebMediaRaw, y as getAgentScopedMediaLocalRoots } from "./ir-
|
|
21
|
-
import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-
|
|
17
|
+
import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-C4GaQjrF.js";
|
|
18
|
+
import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-pKa0kElY.js";
|
|
19
|
+
import { a as renderMarkdownWithMarkers, i as convertMarkdownTables, o as normalizePollDurationHours, s as normalizePollInput, t as getActiveWebListener } from "./active-listener-CFLZdKRQ.js";
|
|
20
|
+
import { _ as loadWebMedia, a as chunkByNewline, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, g as getDefaultLocalRoots, h as parseFenceSpans, i as resolveMarkdownTableMode, l as chunkText, m as isSafeFenceBreak, n as markdownToIR, p as findFenceSpanAt, s as chunkMarkdownText, t as chunkMarkdownIR, u as chunkTextWithMode, v as loadWebMediaRaw, y as getAgentScopedMediaLocalRoots } from "./ir-BEwiHV7R.js";
|
|
21
|
+
import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-Cqyl7HDP.js";
|
|
22
22
|
import { t as resolveFetch } from "./fetch-4S_PaC9f.js";
|
|
23
|
-
import { A as rawDataToString, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-
|
|
24
|
-
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-
|
|
25
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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 minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-
|
|
23
|
+
import { A as rawDataToString, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-OZ5Ge8PR.js";
|
|
24
|
+
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-DxPwS4ed.js";
|
|
25
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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 minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-2KL1DOmN.js";
|
|
26
26
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DX1x3UsN.js";
|
|
27
27
|
import { t as redactSensitiveText } from "./redact-CZWjP0qB.js";
|
|
28
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
28
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-CKrK6KKr.js";
|
|
29
29
|
import { t as makeProxyFetch } from "./proxy-CLlXFbH0.js";
|
|
30
30
|
import { createRequire } from "node:module";
|
|
31
31
|
import * as path$1 from "node:path";
|
|
@@ -33,7 +33,7 @@ import path from "node:path";
|
|
|
33
33
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
34
34
|
import * as os$1 from "node:os";
|
|
35
35
|
import os, { homedir, tmpdir } from "node:os";
|
|
36
|
-
import
|
|
36
|
+
import JSON5 from "json5";
|
|
37
37
|
import * as fs$2 from "node:fs/promises";
|
|
38
38
|
import fs$1 from "node:fs/promises";
|
|
39
39
|
import { execFile, execSync, spawn, spawnSync } from "node:child_process";
|
|
@@ -8649,7 +8649,7 @@ async function createModelSelectionState(params) {
|
|
|
8649
8649
|
}
|
|
8650
8650
|
}
|
|
8651
8651
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
8652
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
8652
|
+
const { ensureAuthProfileStore } = await import("./model-selection-DHMRsTNB.js").then((n) => n.E);
|
|
8653
8653
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
8654
8654
|
const providerKey = normalizeProviderId(provider);
|
|
8655
8655
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -12614,7 +12614,7 @@ async function getMemorySearchManager(params) {
|
|
|
12614
12614
|
if (cached) return { manager: cached };
|
|
12615
12615
|
}
|
|
12616
12616
|
try {
|
|
12617
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
12617
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CY7j7J3V.js");
|
|
12618
12618
|
const primary = await QmdMemoryManager.create({
|
|
12619
12619
|
cfg: params.cfg,
|
|
12620
12620
|
agentId: params.agentId,
|
|
@@ -12626,7 +12626,7 @@ async function getMemorySearchManager(params) {
|
|
|
12626
12626
|
const wrapper = new FallbackMemoryManager({
|
|
12627
12627
|
primary,
|
|
12628
12628
|
fallbackFactory: async () => {
|
|
12629
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
12629
|
+
const { MemoryIndexManager } = await import("./manager-Cqyl7HDP.js").then((n) => n.t);
|
|
12630
12630
|
return await MemoryIndexManager.get(params);
|
|
12631
12631
|
}
|
|
12632
12632
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -12639,7 +12639,7 @@ async function getMemorySearchManager(params) {
|
|
|
12639
12639
|
}
|
|
12640
12640
|
}
|
|
12641
12641
|
try {
|
|
12642
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
12642
|
+
const { MemoryIndexManager } = await import("./manager-Cqyl7HDP.js").then((n) => n.t);
|
|
12643
12643
|
return { manager: await MemoryIndexManager.get(params) };
|
|
12644
12644
|
} catch (err) {
|
|
12645
12645
|
return {
|
|
@@ -14711,7 +14711,7 @@ function normalizeSessionKey(value) {
|
|
|
14711
14711
|
function readSessionStore(storePath) {
|
|
14712
14712
|
try {
|
|
14713
14713
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
14714
|
-
const parsed =
|
|
14714
|
+
const parsed = JSON5.parse(raw);
|
|
14715
14715
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
14716
14716
|
} catch {}
|
|
14717
14717
|
return {};
|
|
@@ -16807,7 +16807,7 @@ async function routeReply(params) {
|
|
|
16807
16807
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
16808
16808
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
16809
16809
|
try {
|
|
16810
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
16810
|
+
const { deliverOutboundPayloads } = await import("./deliver-ebYNQy_5.js").then((n) => n.n);
|
|
16811
16811
|
return {
|
|
16812
16812
|
ok: true,
|
|
16813
16813
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -20512,7 +20512,7 @@ async function describeStickerImage(params) {
|
|
|
20512
20512
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
20513
20513
|
try {
|
|
20514
20514
|
const buffer = await fs$1.readFile(imagePath);
|
|
20515
|
-
const { describeImageWithModel } = await import("./image-
|
|
20515
|
+
const { describeImageWithModel } = await import("./image-2KL1DOmN.js").then((n) => n.n);
|
|
20516
20516
|
return (await describeImageWithModel({
|
|
20517
20517
|
buffer,
|
|
20518
20518
|
fileName: "sticker.webp",
|
|
@@ -20874,7 +20874,7 @@ function createWhatsAppLoginTool() {
|
|
|
20874
20874
|
force: Type.Optional(Type.Boolean())
|
|
20875
20875
|
}),
|
|
20876
20876
|
execute: async (_toolCallId, args) => {
|
|
20877
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
20877
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-gTXEo28v.js");
|
|
20878
20878
|
if ((args?.action ?? "start") === "wait") {
|
|
20879
20879
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
20880
20880
|
return {
|
|
@@ -23050,7 +23050,7 @@ async function preflightDiscordMessage(params) {
|
|
|
23050
23050
|
let preflightTranscript;
|
|
23051
23051
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
23052
23052
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
23053
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
23053
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C0NlyreL.js");
|
|
23054
23054
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
23055
23055
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
23056
23056
|
ctx: {
|
|
@@ -37092,7 +37092,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
37092
37092
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
37093
37093
|
let preflightTranscript;
|
|
37094
37094
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
37095
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
37095
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C0NlyreL.js");
|
|
37096
37096
|
preflightTranscript = await transcribeFirstAudio({
|
|
37097
37097
|
ctx: {
|
|
37098
37098
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -39164,23 +39164,23 @@ let webLoginQrPromise = null;
|
|
|
39164
39164
|
let webChannelPromise = null;
|
|
39165
39165
|
let whatsappActionsPromise = null;
|
|
39166
39166
|
function loadWebOutbound() {
|
|
39167
|
-
webOutboundPromise ??= import("./outbound-
|
|
39167
|
+
webOutboundPromise ??= import("./outbound-DT2nH6dY.js").then((n) => n.t);
|
|
39168
39168
|
return webOutboundPromise;
|
|
39169
39169
|
}
|
|
39170
39170
|
function loadWebLogin() {
|
|
39171
|
-
webLoginPromise ??= import("./login-
|
|
39171
|
+
webLoginPromise ??= import("./login-BPMBJ2ja.js").then((n) => n.n);
|
|
39172
39172
|
return webLoginPromise;
|
|
39173
39173
|
}
|
|
39174
39174
|
function loadWebLoginQr() {
|
|
39175
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
39175
|
+
webLoginQrPromise ??= import("./login-qr-gTXEo28v.js");
|
|
39176
39176
|
return webLoginQrPromise;
|
|
39177
39177
|
}
|
|
39178
39178
|
function loadWebChannel() {
|
|
39179
|
-
webChannelPromise ??= import("./web-
|
|
39179
|
+
webChannelPromise ??= import("./web-Dez1c43V.js");
|
|
39180
39180
|
return webChannelPromise;
|
|
39181
39181
|
}
|
|
39182
39182
|
function loadWhatsAppActions() {
|
|
39183
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
39183
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-C5T64qvX.js");
|
|
39184
39184
|
return whatsappActionsPromise;
|
|
39185
39185
|
}
|
|
39186
39186
|
function createPluginRuntime() {
|
|
@@ -68914,7 +68914,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
68914
68914
|
return;
|
|
68915
68915
|
}
|
|
68916
68916
|
try {
|
|
68917
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
68917
|
+
const { deliverOutboundPayloads } = await import("./deliver-ebYNQy_5.js").then((n) => n.n);
|
|
68918
68918
|
await deliverOutboundPayloads({
|
|
68919
68919
|
cfg: params.cfg,
|
|
68920
68920
|
channel,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { it as shouldLogVerbose, n as runExec, nt as logVerbose } from "./exec-
|
|
2
|
-
import { C as resolveApiKeyForProvider, I as resolveOpenClawAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
1
|
+
import { it as shouldLogVerbose, n as runExec, nt as logVerbose } from "./exec-C5lqk9X4.js";
|
|
2
|
+
import { C as resolveApiKeyForProvider, I as resolveOpenClawAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-DHMRsTNB.js";
|
|
3
|
+
import { n as loadConfig } from "./config-DelXkt58.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-BD-UJHcc.js";
|
|
5
|
-
import { c as getFileExtension, f as kindFromMime, o as detectMime, st as normalizeChatType, u as isAudioFileName } from "./image-ops-
|
|
6
|
-
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
7
|
-
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
5
|
+
import { c as getFileExtension, f as kindFromMime, o as detectMime, st as normalizeChatType, u as isAudioFileName } from "./image-ops-zm4O3fkk.js";
|
|
6
|
+
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-Cw_7QfME.js";
|
|
7
|
+
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-2KL1DOmN.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { constants } from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
@@ -829,7 +829,7 @@ async function loadModelCatalog(params) {
|
|
|
829
829
|
});
|
|
830
830
|
try {
|
|
831
831
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
832
|
-
await (await import("./pi-auth-json-
|
|
832
|
+
await (await import("./pi-auth-json-XTF0mVQ6.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
833
833
|
const piSdk = await importPiSdk();
|
|
834
834
|
const agentDir = resolveOpenClawAgentDir();
|
|
835
835
|
const { join } = await import("node:path");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as ensureDir, K as resolveUserPath, at as success, et as danger, ft as toPinoLikeLogger, ut as getChildLogger } from "./exec-
|
|
2
|
-
import { B as resolveWebCredsBackupPath, E as VERSION, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, z as resolveDefaultWebAuthDir } from "./config-
|
|
1
|
+
import { F as ensureDir, K as resolveUserPath, at as success, et as danger, ft as toPinoLikeLogger, ut as getChildLogger } from "./exec-C5lqk9X4.js";
|
|
2
|
+
import { B as resolveWebCredsBackupPath, E as VERSION, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, z as resolveDefaultWebAuthDir } from "./config-DelXkt58.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
@@ -48,7 +48,7 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
48
48
|
const { state, saveCreds } = await useMultiFileAuthState(authDir);
|
|
49
49
|
const { version } = await fetchLatestBaileysVersion();
|
|
50
50
|
let agent;
|
|
51
|
-
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
51
|
+
const proxyUrl = process.env.WA_PROXY_URL || process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
52
52
|
if (proxyUrl) try {
|
|
53
53
|
if (proxyUrl.startsWith("socks")) {
|
|
54
54
|
const { SocksProxyAgent } = await import("socks-proxy-agent");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
2
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
|
|
2
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-wRVSwmkX.js";
|
|
3
3
|
import { t as redactSensitiveText } from "./redact-CZWjP0qB.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
2
|
-
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
|
|
2
|
+
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-zm4O3fkk.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/tool-images.ts
|
|
5
5
|
const MAX_IMAGE_DIMENSION_PX = 2e3;
|