openclaw-multi-auto 1.7.7 → 1.7.9
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/{agent-BomWJjOy.js → agent-Bf9VxLj8.js} +10 -10
- package/dist/{audio-preflight-CZHCr2-5.js → audio-preflight-DKt9ICbJ.js} +9 -9
- package/dist/{audit-membership-runtime-fBOVjLNx.js → audit-membership-runtime-0b4ZhE41.js} +4 -4
- package/dist/auth-profiles.runtime-pDQ4QesA.js +11 -0
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-Y7wbaDO2.js +11 -0
- package/dist/deliver-runtime-DBYdmfDR.js +11 -0
- package/dist/{fetch-BdTTF2z-.js → fetch-sH_NN8SV.js} +2 -2
- package/dist/{frontmatter-DZlWsaUx.js → frontmatter-DhmdUnBP.js} +3 -3
- package/dist/{github-copilot-token-BeFx3MLn.js → github-copilot-token-368sRGBD.js} +7 -7
- package/dist/image-runtime-XMz7IM-j.js +11 -0
- package/dist/llm-slug-generator.js +9 -9
- package/dist/{logger-DCBlX1uz.js → logger-C0l_Gj8Y.js} +7 -7
- package/dist/{login-CKmmxErc.js → login-aLc84rc7.js} +4 -4
- package/dist/{login-qr-KVA4wuh0.js → login-qr-D3QtIyy8.js} +10 -10
- package/dist/manager-runtime-D8C3_L2_.js +11 -0
- package/dist/{manager.runtime-BV-CBNb2.js → manager.runtime-ilRhqZW0.js} +10 -10
- package/dist/{model-selection-CNRMBWfR.js → model-selection-G7SiAgN6.js} +287 -287
- package/dist/{paths-CNIc83Pn.js → paths-BwJ6yG6k.js} +5 -5
- package/dist/pi-model-discovery-runtime-DgHKNg0i.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-DgAiY2la.js → pi-tools.before-tool-call.runtime-Be9V6RlN.js} +9 -9
- package/dist/plugin-sdk/{audio-preflight-CVWl4NKo.js → audio-preflight-yyFn-I5K.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-D1VvFm38.js → audit-membership-runtime-DHo6vLy0.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-Cy2e2Wah.js → auth-profiles.runtime-DN3bNNeo.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-B_tcmPhi.js → bluebubbles-BPDNQxEz.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-GDk6vyOi.js → channel-access-BaZDvsTA.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-CerQrsyV.js → channel-access-configure-DLZc22_m.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CX9AfjCJ.js → channel-config-helpers-CFkTEzkz.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-0XuiRVw-.js → compact.runtime-D1HfZ8IJ.js} +12 -12
- package/dist/plugin-sdk/compat.js +28 -28
- package/dist/plugin-sdk/core.js +14 -14
- package/dist/plugin-sdk/{deliver-runtime-D37pd8wU.js → deliver-runtime-DrD2s_GI.js} +12 -12
- package/dist/plugin-sdk/device-pair.js +5 -5
- package/dist/plugin-sdk/diagnostics-otel.js +2 -2
- package/dist/plugin-sdk/{discord-dU71XVvQ.js → discord-BZR9M1Ft.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-88qB5pUO.js → exec-BvTkR9oI.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-guard-DEyOIg88.js → fetch-guard-Cwx1pJhf.js} +1 -1
- package/dist/plugin-sdk/{fetch-Cqwcg-Kq.js → fetch-yk-axchG.js} +2 -2
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-zm9M-XCJ.js → helpers-Cj2lgcNt.js} +1 -1
- package/dist/plugin-sdk/{http-registry-CR-l0QpT.js → http-registry-DyBqqyPO.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-CSZNFoHc.js → image-runtime-ChtfQsK-.js} +12 -12
- package/dist/plugin-sdk/{imessage-DvtFTwJr.js → imessage-DtibPuZP.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-DpGprwTU.js → inbound-reply-dispatch-CfNEV0ZG.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-D-go2oXy.js → logger-C9fkmDdb.js} +2 -2
- package/dist/plugin-sdk/{logger-Jt8cCPPV.js → logger-DXnvMlr-.js} +2 -2
- package/dist/plugin-sdk/{login-CnT14vQ1.js → login-BC7QDpvj.js} +5 -5
- package/dist/plugin-sdk/{login-qr-Di9Gqms7.js → login-qr-rnZFcwNs.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-DzCE2bL1.js → manager-runtime-B8O--3Jt.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-D6nT5fqn.js → manager.runtime-U_d65Qv1.js} +18 -18
- package/dist/plugin-sdk/matrix.js +16 -16
- package/dist/plugin-sdk/mattermost.js +14 -14
- package/dist/plugin-sdk/msteams.js +16 -16
- package/dist/plugin-sdk/nextcloud-talk.js +15 -15
- package/dist/plugin-sdk/nostr.js +4 -4
- package/dist/plugin-sdk/{outbound-media-CN8bsq-T.js → outbound-media-DWtG1X8J.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-CjCe_L5g.js → persistent-dedupe-BroxGf3Q.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-1vkd_hCn.js → pi-model-discovery-runtime-DWyENOD9.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-D0XEYwCa.js → pi-tools.before-tool-call.runtime-CPBeYJY2.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DkDE5awL.js → pw-ai-DR8Hjs-J.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-CguAGtaF.js → qmd-manager-3qRPZ5ye.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-ChYs46vb.js → query-expansion-BnFYorqr.js} +5 -5
- package/dist/plugin-sdk/{redact-CqHkGWow.js → redact-DTcVTGFU.js} +1 -1
- package/dist/plugin-sdk/{run-command-nYfMDZC3.js → run-command-qzkvaQG1.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +23 -0
- package/dist/plugin-sdk/{send-BDZssl9O.js → send-BZgg6N38.js} +5 -5
- package/dist/plugin-sdk/{session-DPhL1rLb.js → session-Dm0FT_vI.js} +5 -5
- package/dist/plugin-sdk/{signal-BKMAyRnz.js → signal-Dy_XjHKL.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-jues0BBq.js → slack-DNwpGTSd.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-BJ6veGjC.js → slash-commands.runtime-Bn7T59g3.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-CyWyh0DI.js → slash-dispatch.runtime-BPsvStS0.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-BiDqNceZ.js → slash-skill-commands.runtime-TDVZ7jxr.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-BVsFNLUF.js → subagent-registry-runtime-D3DovVGQ.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DOh66yR6.js → subsystem-DXcqLSNd.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-D3JLaXTI.js → telegram-B1RGxv8p.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-Bd2LMKfE.js → text-chunking-CaqMErUv.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Cc59nx4d.js → thread-bindings-Bp_o0GHR.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BhiRkVxe.js → utils-BQpbGej3.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-R5M9rOvm.js → vllm-setup-wjrX_svM.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-BpHTS6sG.js → web-Dz6AjTQn.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-t3fxeJQf.js → webhook-targets-yTQuv0k1.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-BAJ27s8B.js → whatsapp-actions-C5SohPL-.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-D6NF4OC0.js → whatsapp-heartbeat-_Kw4PPKA.js} +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/zalo.js +15 -15
- package/dist/plugin-sdk/zalouser.js +16 -16
- package/dist/{pw-ai-3ual6adI.js → pw-ai-BLzIHVAG.js} +9 -9
- package/dist/{qmd-manager-DvglNhlJ.js → qmd-manager-CFVuAj9l.js} +5 -5
- package/dist/{query-expansion-DXwSmE_K.js → query-expansion-DnS6CGY2.js} +8 -8
- package/dist/runtime-whatsapp-login.runtime-CXhM_C-C.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-Kx-CVYdW.js +12 -0
- package/dist/{send-CXnKWzde.js → send-p1D-Lzec.js} +3 -3
- package/dist/{session-kt-bqE_z.js → session-DIkw9afg.js} +7 -7
- package/dist/slash-commands.runtime-D6R-T9zj.js +11 -0
- package/dist/{slash-dispatch.runtime-Cu8ghe1h.js → slash-dispatch.runtime-CgJLQTwP.js} +9 -9
- package/dist/slash-skill-commands.runtime-BC9oRGpm.js +11 -0
- package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-DQeHzv-u.js} +9 -9
- package/dist/{subsystem-Cr1MiLhx.js → subsystem-CDcEQtQK.js} +14 -14
- package/dist/{web-CXyjF_si.js → web-gHwQkPhu.js} +12 -12
- package/dist/{whatsapp-actions-BUvGEDSk.js → whatsapp-actions-C1UZXBOC.js} +10 -10
- package/dist/{workspace-Bi8vpJN0.js → workspace-Cg3kGb1y.js} +20 -20
- package/package.json +1 -1
- package/scripts/create-instance.sh +14 -10
- package/dist/auth-profiles.runtime-DNqCx0L5.js +0 -11
- package/dist/compact.runtime-pgjSlzSY.js +0 -11
- package/dist/deliver-runtime-D4aWAXZ9.js +0 -11
- package/dist/image-runtime-Brryt_BU.js +0 -11
- package/dist/manager-runtime-D9AEoM1M.js +0 -11
- package/dist/pi-model-discovery-runtime-CDKkuBYh.js +0 -11
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-Br3SxDXL.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-L3Qkst0n.js +0 -12
- package/dist/slash-commands.runtime-BYfxn_xu.js +0 -11
- package/dist/slash-skill-commands.runtime-8dS5PTaH.js +0 -11
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { C as isSubagentSessionKey, S as isCronSessionKey, T as resolveThreadParentSessionKey, _ as normalizeOptionalAccountId, b as getSubagentDepth, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as normalizeAccountId$3, h as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, l as normalizeMainKey, m as toAgentRequestSessionKey, n as DEFAULT_MAIN_KEY, o as classifySessionKeyShape, p as scopedHeartbeatWakeOptions, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as isBlockedObjectKey, w as parseAgentSessionKey, x as isAcpSessionKey, y as deriveSessionChatType } from "./session-key-CbP51u9x.js";
|
|
3
|
-
import { B as createAccountListHelpers, C as getWebAuthAgeMs, I as resolveIMessageAccount, L as resolveAccountEntry, N as webAuthExists, R as formatCliCommand, T as logoutWeb, a as formatWhatsAppConfigAllowFromEntries, b as resolveWhatsAppAccount, c as resolveIMessageConfigDefaultTo, d as resolveWhatsAppConfigDefaultTo, f as isWhatsAppGroupJid, i as formatTrimmedAllowFromEntries, k as readWebSelfId, l as resolveOptionalConfigString, o as mapAllowFromEntries, p as normalizeWhatsAppTarget, s as resolveIMessageConfigAllowFrom, u as resolveWhatsAppConfigAllowFrom, w as logWebSelfId, y as hasAnyWhatsAppAuth, z as resolveCliName } from "./channel-config-helpers-
|
|
3
|
+
import { B as createAccountListHelpers, C as getWebAuthAgeMs, I as resolveIMessageAccount, L as resolveAccountEntry, N as webAuthExists, R as formatCliCommand, T as logoutWeb, a as formatWhatsAppConfigAllowFromEntries, b as resolveWhatsAppAccount, c as resolveIMessageConfigDefaultTo, d as resolveWhatsAppConfigDefaultTo, f as isWhatsAppGroupJid, i as formatTrimmedAllowFromEntries, k as readWebSelfId, l as resolveOptionalConfigString, o as mapAllowFromEntries, p as normalizeWhatsAppTarget, s as resolveIMessageConfigAllowFrom, u as resolveWhatsAppConfigAllowFrom, w as logWebSelfId, y as hasAnyWhatsAppAuth, z as resolveCliName } from "./channel-config-helpers-CFkTEzkz.js";
|
|
4
4
|
import { a as resolveGatewayPort, c as resolveStateDir, f as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, n as STATE_DIR, o as resolveOAuthDir, r as resolveConfigPath$1, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-WR8OhEmw.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import { d as normalizeLogLevel, f as readLoggingConfig, p as consumeRootOptionToken, t as getChildLogger } from "./logger-
|
|
6
|
+
import { d as normalizeLogLevel, f as readLoggingConfig, p as consumeRootOptionToken, t as getChildLogger } from "./logger-C9fkmDdb.js";
|
|
7
7
|
import { t as resolvePreferredOpenClawTmpDir } from "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import { _ as colorize, a as defaultRuntime, c as unregisterActiveProgressLine, d as logVerbose, g as warn, i as createNonExitingRuntime, l as danger, m as shouldLogVerbose, n as sanitizeForLog, o as clearActiveProgressLine, p as setVerbose, r as stripAnsi, s as registerActiveProgressLine, t as createSubsystemLogger, v as isRich, y as theme } from "./subsystem-
|
|
9
|
-
import { C as isPlainObject$2, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$6, d as normalizeE164, g as safeParseJson, h as resolveUserPath, i as clampNumber$1, o as escapeRegExp, p as resolveConfigDir, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$2 } from "./utils-
|
|
10
|
-
import { a as wrapFetchWithAbortSignal, c as isTruthyEnvValue, i as resolveFetch, l as parseBooleanValue$1, n as resolveTelegramTransport, o as makeProxyFetch, r as shouldRetryTelegramIpv4Fallback, s as resolveProxyFetchFromEnv, t as resolveTelegramFetch } from "./fetch-
|
|
11
|
-
import { a as markOpenClawExecEnv, i as spawnWithFallback, n as runExec, r as resolveWindowsCommandShim, t as runCommandWithTimeout } from "./exec-
|
|
8
|
+
import { _ as colorize, a as defaultRuntime, c as unregisterActiveProgressLine, d as logVerbose, g as warn, i as createNonExitingRuntime, l as danger, m as shouldLogVerbose, n as sanitizeForLog, o as clearActiveProgressLine, p as setVerbose, r as stripAnsi, s as registerActiveProgressLine, t as createSubsystemLogger, v as isRich, y as theme } from "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import { C as isPlainObject$2, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$6, d as normalizeE164, g as safeParseJson, h as resolveUserPath, i as clampNumber$1, o as escapeRegExp, p as resolveConfigDir, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$2 } from "./utils-BQpbGej3.js";
|
|
10
|
+
import { a as wrapFetchWithAbortSignal, c as isTruthyEnvValue, i as resolveFetch, l as parseBooleanValue$1, n as resolveTelegramTransport, o as makeProxyFetch, r as shouldRetryTelegramIpv4Fallback, s as resolveProxyFetchFromEnv, t as resolveTelegramFetch } from "./fetch-yk-axchG.js";
|
|
11
|
+
import { a as markOpenClawExecEnv, i as spawnWithFallback, n as runExec, r as resolveWindowsCommandShim, t as runCommandWithTimeout } from "./exec-BvTkR9oI.js";
|
|
12
12
|
import { a as normalizeFastMode, c as normalizeUsageDisplay, d as resolveThinkingDefaultForModel, f as supportsXHighThinking, i as normalizeElevatedLevel, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, r as listThinkingLevels, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-B2k7q5lY.js";
|
|
13
|
-
import { $ as createRootScopedReadFile, A as supportsMemoryMultimodalEmbeddings, At as ensureAgentWorkspace, B as extensionForMime, Bt as resolvePathViaExistingAncestorSync, C as isFileMissingError, Ct as DEFAULT_AGENT_WORKSPACE_DIR, D as getMemoryMultimodalExtensions, Dt as DEFAULT_SOUL_FILENAME, E as classifyMemoryMultimodalPath, Et as DEFAULT_IDENTITY_FILENAME, F as resolveSessionTranscriptPath$1, Ft as canUseBoundaryFileOpen, G as kindFromMime, Gt as resolveAgentModelFallbackValues, H as imageMimeFromFormat, Ht as isPathInside$2, I as resolveSessionTranscriptPathInDir, It as openBoundaryFile, J as maxBytesForKind, K as normalizeMimeType$1, Kt as resolveAgentModelPrimaryValue, L as resolveSessionTranscriptsDirForAgent, Lt as openBoundaryFileSync, M as resolveDefaultSessionStorePath, Mt as loadWorkspaceBootstrapFiles, N as resolveSessionFilePath, Nt as resolveOpenClawPackageRoot, O as isMemoryMultimodalEnabled, Ot as DEFAULT_TOOLS_FILENAME, P as resolveSessionFilePathOptions, Pt as resolveOpenClawPackageRootSync, Q as copyFileWithinRoot, R as resolveStorePath$1, Rt as openVerifiedFileSync, S as splitTextToUtf8ByteLimit, St as DEFAULT_AGENTS_FILENAME, T as buildCaseInsensitiveExtensionGlob, Tt as DEFAULT_HEARTBEAT_FILENAME, U as isAudioFileName, Ut as normalizeWindowsPathForComparison, V as getFileExtension, Vt as isNotFoundPathError, W as isGifMedia, Wt as normalizeSkillFilter, X as SafeOpenError, Y as mediaKindFromMime, Z as appendFileWithinRoot, _ as remapChunkLines, _t as resolveDefaultAgentId, a as listSessionFilesForAgent, at as writeFileWithinRoot, b as estimateStructuredEmbeddingInputBytes, bt as resolveSessionAgentId, c as buildMultimodalChunkForIndexing, ct as runTasksWithConcurrency, d as ensureDir$4, dt as resolveAgentConfig, et as openFileWithinRoot, f as hashText$1, ft as resolveAgentDir, g as parseEmbedding, gt as resolveAgentWorkspaceDir, h as normalizeExtraMemoryPaths, ht as resolveAgentSkillsFilter, i as buildSessionEntry, j as resolveAgentsDirFromSessionStorePath, jt as filterBootstrapFilesForSession, k as normalizeMemoryMultimodalSettings, kt as DEFAULT_USER_FILENAME, l as chunkMarkdown, lt as hasConfiguredModelFallbacks, m as listMemoryFiles, mt as resolveAgentModelFallbacksOverride, n as isQueryStopWordToken, nt as readFileWithinRoot, o as sessionPathForFile, ot as PATH_ALIAS_POLICIES, p as isMemoryPath, pt as resolveAgentEffectiveModelPrimary, q as MAX_IMAGE_BYTES$1, qt as toAgentModelListLike, r as requireNodeSqlite, rt as readLocalFileSafely, s as buildFileEntry, st as assertNoPathAliasEscape, t as extractKeywords, u as cosineSimilarity, ut as listAgentIds, v as runWithConcurrency$1, w as statRegularFile, wt as DEFAULT_BOOTSTRAP_FILENAME, x as estimateUtf8Bytes, xt as resolveSessionAgentIds, y as hasNonTextEmbeddingParts, yt as resolveRunModelFallbacksOverride, z as detectMime } from "./query-expansion-
|
|
13
|
+
import { $ as createRootScopedReadFile, A as supportsMemoryMultimodalEmbeddings, At as ensureAgentWorkspace, B as extensionForMime, Bt as resolvePathViaExistingAncestorSync, C as isFileMissingError, Ct as DEFAULT_AGENT_WORKSPACE_DIR, D as getMemoryMultimodalExtensions, Dt as DEFAULT_SOUL_FILENAME, E as classifyMemoryMultimodalPath, Et as DEFAULT_IDENTITY_FILENAME, F as resolveSessionTranscriptPath$1, Ft as canUseBoundaryFileOpen, G as kindFromMime, Gt as resolveAgentModelFallbackValues, H as imageMimeFromFormat, Ht as isPathInside$2, I as resolveSessionTranscriptPathInDir, It as openBoundaryFile, J as maxBytesForKind, K as normalizeMimeType$1, Kt as resolveAgentModelPrimaryValue, L as resolveSessionTranscriptsDirForAgent, Lt as openBoundaryFileSync, M as resolveDefaultSessionStorePath, Mt as loadWorkspaceBootstrapFiles, N as resolveSessionFilePath, Nt as resolveOpenClawPackageRoot, O as isMemoryMultimodalEnabled, Ot as DEFAULT_TOOLS_FILENAME, P as resolveSessionFilePathOptions, Pt as resolveOpenClawPackageRootSync, Q as copyFileWithinRoot, R as resolveStorePath$1, Rt as openVerifiedFileSync, S as splitTextToUtf8ByteLimit, St as DEFAULT_AGENTS_FILENAME, T as buildCaseInsensitiveExtensionGlob, Tt as DEFAULT_HEARTBEAT_FILENAME, U as isAudioFileName, Ut as normalizeWindowsPathForComparison, V as getFileExtension, Vt as isNotFoundPathError, W as isGifMedia, Wt as normalizeSkillFilter, X as SafeOpenError, Y as mediaKindFromMime, Z as appendFileWithinRoot, _ as remapChunkLines, _t as resolveDefaultAgentId, a as listSessionFilesForAgent, at as writeFileWithinRoot, b as estimateStructuredEmbeddingInputBytes, bt as resolveSessionAgentId, c as buildMultimodalChunkForIndexing, ct as runTasksWithConcurrency, d as ensureDir$4, dt as resolveAgentConfig, et as openFileWithinRoot, f as hashText$1, ft as resolveAgentDir, g as parseEmbedding, gt as resolveAgentWorkspaceDir, h as normalizeExtraMemoryPaths, ht as resolveAgentSkillsFilter, i as buildSessionEntry, j as resolveAgentsDirFromSessionStorePath, jt as filterBootstrapFilesForSession, k as normalizeMemoryMultimodalSettings, kt as DEFAULT_USER_FILENAME, l as chunkMarkdown, lt as hasConfiguredModelFallbacks, m as listMemoryFiles, mt as resolveAgentModelFallbacksOverride, n as isQueryStopWordToken, nt as readFileWithinRoot, o as sessionPathForFile, ot as PATH_ALIAS_POLICIES, p as isMemoryPath, pt as resolveAgentEffectiveModelPrimary, q as MAX_IMAGE_BYTES$1, qt as toAgentModelListLike, r as requireNodeSqlite, rt as readLocalFileSafely, s as buildFileEntry, st as assertNoPathAliasEscape, t as extractKeywords, u as cosineSimilarity, ut as listAgentIds, v as runWithConcurrency$1, w as statRegularFile, wt as DEFAULT_BOOTSTRAP_FILENAME, x as estimateUtf8Bytes, xt as resolveSessionAgentIds, y as hasNonTextEmbeddingParts, yt as resolveRunModelFallbacksOverride, z as detectMime } from "./query-expansion-BnFYorqr.js";
|
|
14
14
|
import { i as normalizeStringEntriesLower, n as normalizeHyphenSlug, r as normalizeStringEntries, t as normalizeAtHashSlug } from "./string-normalization--tsDKZhl.js";
|
|
15
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
15
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DXnvMlr-.js";
|
|
16
16
|
import { A as TtsConfigSchema, C as SecretInputSchema$1, D as ToolsMediaSchema, E as ToolsLinksSchema, F as requireAllowlistAllowFrom, G as SECRET_PROVIDER_ALIAS_PATTERN, I as requireOpenAllowFrom, J as isValidExecSecretRefId, K as SINGLE_VALUE_FILE_REF_ID, L as sensitive, N as TypingModeSchema, O as TranscribeAudioSchema, Q as ENV_SECRET_REF_ID_RE, R as createAllowDenyChannelRulesSchema, S as RetryConfigSchema, T as SecretsConfigSchema, U as EXEC_SECRET_REF_ID_JSON_SCHEMA_PATTERN, W as FILE_SECRET_REF_ID_PATTERN, X as resolveDefaultSecretProviderAlias, Z as secretRefKey, _ as NativeCommandsSettingSchema, a as DmPolicySchema, at as normalizeSecretInputString, c as GroupPolicySchema, d as IdentitySchema, et as coerceSecretRef, f as InboundDebounceSchema, g as ModelsConfigSchema, i as DmConfigSchema, it as normalizeResolvedSecretInputString, l as HexColorSchema, m as MarkdownConfigSchema, n as BlockStreamingCoalesceSchema, o as ExecutableTokenSchema, ot as resolveSecretInputRef, p as MSTeamsReplyStyleSchema, q as formatExecSecretRefIdValidationMessage, r as CliBackendSchema, s as GroupChatSchema, t as BlockStreamingChunkSchema, tt as hasConfiguredSecretInput, u as HumanDelaySchema, v as ProviderCommandsSchema, w as SecretRefSchema$1, x as ReplyToModeSchema, y as QueueSchema, z as isSafeExecutableValue } from "./zod-schema.core-GWl_s9xp.js";
|
|
17
|
-
import { a as testRegexWithBoundedInput, i as compileSafeRegex, n as redactSensitiveText, r as redactToolDetail, t as getDefaultRedactPatterns } from "./redact-
|
|
18
|
-
import { _ as resolveContextEngine, a as requireActivePluginRegistry, c as normalizePluginHttpPath, d as getPluginCommandSpecs, f as listPluginCommands, g as registerContextEngine, h as triggerInternalHook, i as getActivePluginRegistryVersion, l as clearPluginCommands, m as createInternalHookEvent, n as getActivePluginRegistry, o as setActivePluginRegistry, p as matchPluginCommand, r as getActivePluginRegistryKey, s as createPluginRegistry, t as registerPluginHttpRoute, u as executePluginCommand, v as defaultSlotIdForKey } from "./http-registry-
|
|
17
|
+
import { a as testRegexWithBoundedInput, i as compileSafeRegex, n as redactSensitiveText, r as redactToolDetail, t as getDefaultRedactPatterns } from "./redact-DTcVTGFU.js";
|
|
18
|
+
import { _ as resolveContextEngine, a as requireActivePluginRegistry, c as normalizePluginHttpPath, d as getPluginCommandSpecs, f as listPluginCommands, g as registerContextEngine, h as triggerInternalHook, i as getActivePluginRegistryVersion, l as clearPluginCommands, m as createInternalHookEvent, n as getActivePluginRegistry, o as setActivePluginRegistry, p as matchPluginCommand, r as getActivePluginRegistryKey, s as createPluginRegistry, t as registerPluginHttpRoute, u as executePluginCommand, v as defaultSlotIdForKey } from "./http-registry-DyBqqyPO.js";
|
|
19
19
|
import { a as normalizeDeviceAuthRole, d as safeEqualSecret, l as writeJsonAtomic, o as normalizeDeviceAuthScopes, s as createAsyncLock, u as writeTextAtomic } from "./pairing-token-BwgaSu88.js";
|
|
20
20
|
import { a as isBlockedHostnameOrIp, c as resolvePinnedHostnameWithPolicy, d as isIpInCidr, f as isLoopbackIpAddress, l as normalizeHostname, m as normalizeIpAddress, p as isPrivateOrLoopbackIpAddress, s as isPrivateNetworkAllowedByPolicy, t as SsrFBlockedError, u as isCanonicalDottedDecimalIPv4 } from "./ssrf-Dlo7BZU6.js";
|
|
21
21
|
import { a as bindAbortRelay, c as hasProxyEnvConfigured, o as fetchWithTimeout, s as hasEnvHttpProxyConfigured, t as isWSL } from "./wsl-obOgyd2b.js";
|
|
22
22
|
import { i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram } from "./windows-spawn-mAu43VWM.js";
|
|
23
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
23
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Cwx1pJhf.js";
|
|
24
24
|
import { a as resolveOpenProviderRuntimeGroupPolicy, d as createAgendaCard, f as createEventCard, i as resolveDefaultGroupPolicy, l as processLineMessage, r as resolveAllowlistProviderRuntimeGroupPolicy, s as warnMissingProviderGroupPolicyFallbackOnce, t as GROUP_POLICY_BLOCKED_LABEL, u as stripMarkdown } from "./runtime-group-policy-CDs_9_tb.js";
|
|
25
25
|
import { a as ACP_ERROR_CODES, c as toAcpRuntimeError, l as withAcpRuntimeErrorBoundary, o as AcpRuntimeError, r as requireAcpRuntimeBackend, s as isAcpRuntimeError, t as getAcpRuntimeBackend } from "./registry-N-tffRct.js";
|
|
26
26
|
import { KeyedAsyncQueue } from "./keyed-async-queue.js";
|
|
@@ -35,7 +35,7 @@ import path, { isAbsolute, join, posix } from "node:path";
|
|
|
35
35
|
import os, { homedir } from "node:os";
|
|
36
36
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
37
37
|
import util, { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
38
|
-
import
|
|
38
|
+
import JSON5 from "json5";
|
|
39
39
|
import dotenv from "dotenv";
|
|
40
40
|
import { execFile, execFileSync, execSync, spawn, spawnSync } from "node:child_process";
|
|
41
41
|
import * as fs$2 from "node:fs/promises";
|
|
@@ -5721,7 +5721,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
5721
5721
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
5722
5722
|
if (!raw) return;
|
|
5723
5723
|
try {
|
|
5724
|
-
const parsed =
|
|
5724
|
+
const parsed = JSON5.parse(raw);
|
|
5725
5725
|
if (!parsed || typeof parsed !== "object") return;
|
|
5726
5726
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
5727
5727
|
for (const key of manifestKeys) {
|
|
@@ -8608,7 +8608,7 @@ function isModuleNotFoundError(err) {
|
|
|
8608
8608
|
}
|
|
8609
8609
|
async function loadPwAiModule(mode) {
|
|
8610
8610
|
try {
|
|
8611
|
-
return await import("./pw-ai-
|
|
8611
|
+
return await import("./pw-ai-DR8Hjs-J.js");
|
|
8612
8612
|
} catch (err) {
|
|
8613
8613
|
if (mode === "soft") return null;
|
|
8614
8614
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -12509,7 +12509,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
12509
12509
|
};
|
|
12510
12510
|
const closePlaywrightBrowserConnectionForProfile = async (cdpUrl) => {
|
|
12511
12511
|
try {
|
|
12512
|
-
await (await import("./pw-ai-
|
|
12512
|
+
await (await import("./pw-ai-DR8Hjs-J.js")).closePlaywrightBrowserConnection(cdpUrl ? { cdpUrl } : void 0);
|
|
12513
12513
|
} catch {}
|
|
12514
12514
|
};
|
|
12515
12515
|
const reconcileProfileRuntime = async () => {
|
|
@@ -12636,7 +12636,7 @@ async function movePathToTrash(targetPath) {
|
|
|
12636
12636
|
//#region src/browser/server-context.reset.ts
|
|
12637
12637
|
async function closePlaywrightBrowserConnectionForProfile(cdpUrl) {
|
|
12638
12638
|
try {
|
|
12639
|
-
await (await import("./pw-ai-
|
|
12639
|
+
await (await import("./pw-ai-DR8Hjs-J.js")).closePlaywrightBrowserConnection(cdpUrl ? { cdpUrl } : void 0);
|
|
12640
12640
|
} catch {}
|
|
12641
12641
|
}
|
|
12642
12642
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -29801,7 +29801,7 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
29801
29801
|
const log$31 = createSubsystemLogger("model-catalog");
|
|
29802
29802
|
let modelCatalogPromise = null;
|
|
29803
29803
|
let hasLoggedModelCatalogError = false;
|
|
29804
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-runtime-
|
|
29804
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-runtime-DWyENOD9.js");
|
|
29805
29805
|
let importPiSdk = defaultImportPiSdk;
|
|
29806
29806
|
const CODEX_PROVIDER = "openai-codex";
|
|
29807
29807
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -32924,7 +32924,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
32924
32924
|
//#region src/media-understanding/providers/image.ts
|
|
32925
32925
|
let piModelDiscoveryRuntimePromise = null;
|
|
32926
32926
|
function loadPiModelDiscoveryRuntime() {
|
|
32927
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-
|
|
32927
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-DWyENOD9.js");
|
|
32928
32928
|
return piModelDiscoveryRuntimePromise;
|
|
32929
32929
|
}
|
|
32930
32930
|
async function describeImageWithModel(params) {
|
|
@@ -47415,7 +47415,7 @@ var LegacyContextEngine = class {
|
|
|
47415
47415
|
}
|
|
47416
47416
|
async afterTurn(_params) {}
|
|
47417
47417
|
async compact(params) {
|
|
47418
|
-
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-
|
|
47418
|
+
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-D1HfZ8IJ.js");
|
|
47419
47419
|
const runtimeContext = params.runtimeContext ?? {};
|
|
47420
47420
|
const currentTokenCount = params.currentTokenCount ?? (typeof runtimeContext.currentTokenCount === "number" && Number.isFinite(runtimeContext.currentTokenCount) && runtimeContext.currentTokenCount > 0 ? Math.floor(runtimeContext.currentTokenCount) : void 0);
|
|
47421
47421
|
const result = await compactEmbeddedPiSessionDirect({
|
|
@@ -51925,7 +51925,7 @@ const log$24 = createSubsystemLogger("memory");
|
|
|
51925
51925
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
51926
51926
|
let managerRuntimePromise = null;
|
|
51927
51927
|
function loadManagerRuntime() {
|
|
51928
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
51928
|
+
managerRuntimePromise ??= import("./manager-runtime-B8O--3Jt.js");
|
|
51929
51929
|
return managerRuntimePromise;
|
|
51930
51930
|
}
|
|
51931
51931
|
async function getMemorySearchManager(params) {
|
|
@@ -51939,7 +51939,7 @@ async function getMemorySearchManager(params) {
|
|
|
51939
51939
|
if (cached) return { manager: cached };
|
|
51940
51940
|
}
|
|
51941
51941
|
try {
|
|
51942
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
51942
|
+
const { QmdMemoryManager } = await import("./qmd-manager-3qRPZ5ye.js");
|
|
51943
51943
|
const primary = await QmdMemoryManager.create({
|
|
51944
51944
|
cfg: params.cfg,
|
|
51945
51945
|
agentId: params.agentId,
|
|
@@ -79616,7 +79616,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
79616
79616
|
*/
|
|
79617
79617
|
let deliverRuntimePromise$2 = null;
|
|
79618
79618
|
function loadDeliverRuntime$2() {
|
|
79619
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
79619
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-DrD2s_GI.js");
|
|
79620
79620
|
return deliverRuntimePromise$2;
|
|
79621
79621
|
}
|
|
79622
79622
|
/**
|
|
@@ -80152,7 +80152,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
80152
80152
|
await ensureOpenClawModelsJson(cfg);
|
|
80153
80153
|
} catch {}
|
|
80154
80154
|
try {
|
|
80155
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
80155
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-DWyENOD9.js");
|
|
80156
80156
|
const agentDir = resolveOpenClawAgentDir();
|
|
80157
80157
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
80158
80158
|
applyDiscoveredContextWindows({
|
|
@@ -84986,7 +84986,7 @@ function normalizeSessionKey$1(value) {
|
|
|
84986
84986
|
function readSessionStore$1(storePath) {
|
|
84987
84987
|
try {
|
|
84988
84988
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
84989
|
-
const parsed =
|
|
84989
|
+
const parsed = JSON5.parse(raw);
|
|
84990
84990
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
84991
84991
|
} catch {}
|
|
84992
84992
|
return {};
|
|
@@ -85065,7 +85065,7 @@ const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
|
85065
85065
|
const GATEWAY_TIMEOUT_PATTERN = /gateway timeout/i;
|
|
85066
85066
|
let subagentRegistryRuntimePromise = null;
|
|
85067
85067
|
function loadSubagentRegistryRuntime() {
|
|
85068
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
85068
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-D3DovVGQ.js");
|
|
85069
85069
|
return subagentRegistryRuntimePromise;
|
|
85070
85070
|
}
|
|
85071
85071
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -91090,7 +91090,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
91090
91090
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
91091
91091
|
let beforeToolCallRuntimePromise = null;
|
|
91092
91092
|
function loadBeforeToolCallRuntime() {
|
|
91093
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
91093
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-CPBeYJY2.js");
|
|
91094
91094
|
return beforeToolCallRuntimePromise;
|
|
91095
91095
|
}
|
|
91096
91096
|
function buildAdjustedParamsKey(params) {
|
|
@@ -107329,7 +107329,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
107329
107329
|
//#region src/media-understanding/echo-transcript.ts
|
|
107330
107330
|
let deliverRuntimePromise$1 = null;
|
|
107331
107331
|
function loadDeliverRuntime$1() {
|
|
107332
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
107332
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-DrD2s_GI.js");
|
|
107333
107333
|
return deliverRuntimePromise$1;
|
|
107334
107334
|
}
|
|
107335
107335
|
function formatEchoTranscript(transcript, format) {
|
|
@@ -116678,7 +116678,7 @@ async function createModelSelectionState(params) {
|
|
|
116678
116678
|
}
|
|
116679
116679
|
}
|
|
116680
116680
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
116681
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles.runtime-
|
|
116681
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles.runtime-DN3bNNeo.js");
|
|
116682
116682
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
116683
116683
|
const providerKey = normalizeProviderId(provider);
|
|
116684
116684
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -121435,7 +121435,7 @@ async function loadCronStore(storePath) {
|
|
|
121435
121435
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
121436
121436
|
let parsed;
|
|
121437
121437
|
try {
|
|
121438
|
-
parsed =
|
|
121438
|
+
parsed = JSON5.parse(raw);
|
|
121439
121439
|
} catch (err) {
|
|
121440
121440
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
121441
121441
|
}
|
|
@@ -123064,7 +123064,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
123064
123064
|
const log$5 = createSubsystemLogger("session-maintenance-warning");
|
|
123065
123065
|
let deliverRuntimePromise = null;
|
|
123066
123066
|
function loadDeliverRuntime() {
|
|
123067
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
123067
|
+
deliverRuntimePromise ??= import("./deliver-runtime-DrD2s_GI.js");
|
|
123068
123068
|
return deliverRuntimePromise;
|
|
123069
123069
|
}
|
|
123070
123070
|
function shouldSendWarning() {
|
|
@@ -128245,7 +128245,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
128245
128245
|
hasTypedText
|
|
128246
128246
|
};
|
|
128247
128247
|
try {
|
|
128248
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
128248
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-yyFn-I5K.js");
|
|
128249
128249
|
if (params.abortSignal?.aborted) return {
|
|
128250
128250
|
hasAudioAttachment,
|
|
128251
128251
|
hasTypedText
|
|
@@ -134581,7 +134581,7 @@ function resolveDiscordRestFetch(proxyUrl, runtime) {
|
|
|
134581
134581
|
//#region extensions/discord/src/monitor/provider.ts
|
|
134582
134582
|
let discordVoiceRuntimePromise;
|
|
134583
134583
|
async function loadDiscordVoiceRuntime() {
|
|
134584
|
-
discordVoiceRuntimePromise ??= import("./manager.runtime-
|
|
134584
|
+
discordVoiceRuntimePromise ??= import("./manager.runtime-U_d65Qv1.js");
|
|
134585
134585
|
return await discordVoiceRuntimePromise;
|
|
134586
134586
|
}
|
|
134587
134587
|
function formatThreadBindingDurationForConfigLabel(durationMs) {
|
|
@@ -142405,15 +142405,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
142405
142405
|
let slashDispatchRuntimePromise = null;
|
|
142406
142406
|
let slashSkillCommandsRuntimePromise = null;
|
|
142407
142407
|
function loadSlashCommandsRuntime() {
|
|
142408
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
142408
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-Bn7T59g3.js");
|
|
142409
142409
|
return slashCommandsRuntimePromise;
|
|
142410
142410
|
}
|
|
142411
142411
|
function loadSlashDispatchRuntime() {
|
|
142412
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
142412
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-BPsvStS0.js");
|
|
142413
142413
|
return slashDispatchRuntimePromise;
|
|
142414
142414
|
}
|
|
142415
142415
|
function loadSlashSkillCommandsRuntime() {
|
|
142416
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
142416
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-TDVZ7jxr.js");
|
|
142417
142417
|
return slashSkillCommandsRuntimePromise;
|
|
142418
142418
|
}
|
|
142419
142419
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -143424,7 +143424,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
143424
143424
|
}
|
|
143425
143425
|
let auditMembershipRuntimePromise = null;
|
|
143426
143426
|
function loadAuditMembershipRuntime() {
|
|
143427
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
143427
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-DHo6vLy0.js");
|
|
143428
143428
|
return auditMembershipRuntimePromise;
|
|
143429
143429
|
}
|
|
143430
143430
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -146033,7 +146033,7 @@ function getCacheStats() {
|
|
|
146033
146033
|
const STICKER_DESCRIPTION_PROMPT = "Describe this sticker image in 1-2 sentences. Focus on what the sticker depicts (character, object, action, emotion). Be concise and objective.";
|
|
146034
146034
|
let imageRuntimePromise = null;
|
|
146035
146035
|
function loadImageRuntime() {
|
|
146036
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
146036
|
+
imageRuntimePromise ??= import("./image-runtime-ChtfQsK-.js");
|
|
146037
146037
|
return imageRuntimePromise;
|
|
146038
146038
|
}
|
|
146039
146039
|
/**
|
|
@@ -147765,7 +147765,7 @@ async function resolveTelegramInboundBody(params) {
|
|
|
147765
147765
|
const disableAudioPreflight = (topicConfig?.disableAudioPreflight ?? groupConfig?.disableAudioPreflight) === true;
|
|
147766
147766
|
let preflightTranscript;
|
|
147767
147767
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
147768
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
147768
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-yyFn-I5K.js");
|
|
147769
147769
|
preflightTranscript = await transcribeFirstAudio({
|
|
147770
147770
|
ctx: {
|
|
147771
147771
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -155910,7 +155910,7 @@ function createWhatsAppLoginTool() {
|
|
|
155910
155910
|
force: Type.Optional(Type.Boolean())
|
|
155911
155911
|
}),
|
|
155912
155912
|
execute: async (_toolCallId, args) => {
|
|
155913
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
155913
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-rnZFcwNs.js");
|
|
155914
155914
|
if ((args?.action ?? "start") === "wait") {
|
|
155915
155915
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
155916
155916
|
return {
|
|
@@ -155984,23 +155984,23 @@ let webOutboundPromise = null;
|
|
|
155984
155984
|
let webLoginPromise = null;
|
|
155985
155985
|
let whatsappActionsPromise = null;
|
|
155986
155986
|
function loadWebOutbound() {
|
|
155987
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
155987
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-BYZKJw25.js");
|
|
155988
155988
|
return webOutboundPromise;
|
|
155989
155989
|
}
|
|
155990
155990
|
function loadWebLogin() {
|
|
155991
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
155991
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-BDbgMnYK.js");
|
|
155992
155992
|
return webLoginPromise;
|
|
155993
155993
|
}
|
|
155994
155994
|
function loadWebLoginQr() {
|
|
155995
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
155995
|
+
webLoginQrPromise ??= import("./login-qr-rnZFcwNs.js");
|
|
155996
155996
|
return webLoginQrPromise;
|
|
155997
155997
|
}
|
|
155998
155998
|
function loadWebChannel() {
|
|
155999
|
-
webChannelPromise ??= import("./web-
|
|
155999
|
+
webChannelPromise ??= import("./web-Dz6AjTQn.js");
|
|
156000
156000
|
return webChannelPromise;
|
|
156001
156001
|
}
|
|
156002
156002
|
function loadWhatsAppActions() {
|
|
156003
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
156003
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-C5SohPL-.js");
|
|
156004
156004
|
return whatsappActionsPromise;
|
|
156005
156005
|
}
|
|
156006
156006
|
function createRuntimeWhatsApp() {
|
|
@@ -160151,7 +160151,7 @@ const defaultResolver = {
|
|
|
160151
160151
|
resolvedPath,
|
|
160152
160152
|
rootRealDir
|
|
160153
160153
|
}),
|
|
160154
|
-
parseJson: (raw) =>
|
|
160154
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
160155
160155
|
};
|
|
160156
160156
|
/**
|
|
160157
160157
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -165324,7 +165324,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
165324
165324
|
function normalizeDeps(overrides = {}) {
|
|
165325
165325
|
return {
|
|
165326
165326
|
fs: overrides.fs ?? fs,
|
|
165327
|
-
json5: overrides.json5 ??
|
|
165327
|
+
json5: overrides.json5 ?? JSON5,
|
|
165328
165328
|
env: overrides.env ?? process.env,
|
|
165329
165329
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
165330
165330
|
configPath: overrides.configPath ?? "",
|
|
@@ -165335,11 +165335,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
165335
165335
|
if (env !== process.env) return;
|
|
165336
165336
|
loadDotEnv({ quiet: true });
|
|
165337
165337
|
}
|
|
165338
|
-
function parseConfigJson5(raw, json5
|
|
165338
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
165339
165339
|
try {
|
|
165340
165340
|
return {
|
|
165341
165341
|
ok: true,
|
|
165342
|
-
parsed: json5
|
|
165342
|
+
parsed: json5.parse(raw)
|
|
165343
165343
|
};
|
|
165344
165344
|
} catch (err) {
|
|
165345
165345
|
return {
|
package/dist/plugin-sdk/tlon.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import "./channel-config-helpers-
|
|
3
|
-
import { Cn as createDedupeCache, E as formatDocsLink, at as createReplyPrefixOptions } from "./thread-bindings-
|
|
2
|
+
import "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { Cn as createDedupeCache, E as formatDocsLink, at as createReplyPrefixOptions } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-C9fkmDdb.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import { a as isBlockedHostnameOrIp, t as SsrFBlockedError } from "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
20
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import "./registry-N-tffRct.js";
|
|
22
22
|
import "./http-body-CLS7yD5S.js";
|
|
23
23
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
24
24
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
25
|
-
import { h as resolveAccountIdForConfigure, u as promptAccountId } from "./helpers-
|
|
25
|
+
import { h as resolveAccountIdForConfigure, u as promptAccountId } from "./helpers-Cj2lgcNt.js";
|
|
26
26
|
import { a as patchScopedAccountConfig, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
27
27
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
28
28
|
import { t as createLoggerBackedRuntime } from "./runtime-BVjGLKF-.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import "./channel-config-helpers-
|
|
3
|
-
import { E as formatDocsLink, at as createReplyPrefixOptions } from "./thread-bindings-
|
|
2
|
+
import "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { E as formatDocsLink, at as createReplyPrefixOptions } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-C9fkmDdb.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import { m as MarkdownConfigSchema } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import "./registry-N-tffRct.js";
|
|
22
22
|
import "./http-body-CLS7yD5S.js";
|
|
23
23
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
24
24
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
25
|
-
import "./helpers-
|
|
25
|
+
import "./helpers-Cj2lgcNt.js";
|
|
26
26
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
27
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
27
|
+
import { t as promptChannelAccessConfig } from "./channel-access-BaZDvsTA.js";
|
|
28
28
|
import "./account-id.js";
|
|
29
29
|
export { DEFAULT_ACCOUNT_ID, MarkdownConfigSchema, buildChannelConfigSchema, createReplyPrefixOptions, emptyPluginConfigSchema, formatDocsLink, normalizeAccountId, promptChannelAccessConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveHomeRelativePath, f as resolveRequiredHomeDir, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-WR8OhEmw.js";
|
|
2
|
-
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-
|
|
2
|
+
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-DXcqLSNd.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Es as upsertAuthProfileWithLock, G as openUrl, Gi as resolveOllamaApiBase, Hi as buildOllamaModelDefinition, Li as QIANFAN_DEFAULT_MODEL_ID, Ui as enrichOllamaModelsWithContext, Vi as OLLAMA_DEFAULT_BASE_URL, Wi as fetchOllamaModels } from "./thread-bindings-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { Es as upsertAuthProfileWithLock, G as openUrl, Gi as resolveOllamaApiBase, Hi as buildOllamaModelDefinition, Li as QIANFAN_DEFAULT_MODEL_ID, Ui as enrichOllamaModelsWithContext, Vi as OLLAMA_DEFAULT_BASE_URL, Wi as fetchOllamaModels } from "./thread-bindings-Bp_o0GHR.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DXcqLSNd.js";
|
|
3
3
|
import { r as isWSLEnv } from "./wsl-obOgyd2b.js";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:path";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { vi as resolveOpenAITtsInstructions } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CFkTEzkz.js";
|
|
2
|
+
import { vi as resolveOpenAITtsInstructions } from "./thread-bindings-Bp_o0GHR.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-C9fkmDdb.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import { y as sleep } from "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DXcqLSNd.js";
|
|
8
|
+
import { y as sleep } from "./utils-BQpbGej3.js";
|
|
9
|
+
import "./fetch-yk-axchG.js";
|
|
10
|
+
import "./exec-BvTkR9oI.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-BnFYorqr.js";
|
|
13
|
+
import "./logger-DXnvMlr-.js";
|
|
14
14
|
import { A as TtsConfigSchema, M as TtsProviderSchema, j as TtsModeSchema, k as TtsAutoSchema } from "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-DTcVTGFU.js";
|
|
16
|
+
import "./http-registry-DyBqqyPO.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
19
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Cwx1pJhf.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import { a as isRequestBodyLimitError, c as requestBodyErrorToText, s as readRequestBodyWithLimit } from "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { TtsAutoSchema, TtsConfigSchema, TtsModeSchema, TtsProviderSchema, fetchWithSsrFGuard, isRequestBodyLimitError, readRequestBodyWithLimit, requestBodyErrorToText, resolveOpenAITtsInstructions, sleep };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { C as getWebAuthAgeMs, D as pickWebChannel, N as webAuthExists, R as formatCliCommand, S as WA_WEB_AUTH_DIR, b as resolveWhatsAppAccount, k as readWebSelfId, w as logWebSelfId, x as resolveWhatsAppMediaMaxBytes } from "./channel-config-helpers-
|
|
3
|
-
import { $ as resolveMentionGating, $r as resolveMarkdownTableMode, An as normalizeGroupActivation, Bt as finalizeInboundContext, Cn as createDedupeCache, Dn as resolveMessagePrefix, En as resolveIdentityNamePrefix, Fn as toLocationContext, Fo as resolveGroupSessionKey, Fr as resolvePinnedMainDmOwnerFromAllowlist, Gr as resolveInboundLastRouteSessionKey, Gt as shouldComputeCommandAuthorized, Hr as buildAgentSessionKey, Ht as createInboundDebouncer, Ji as loadSessionStore, Kr as enqueueSystemEvent, Kt as buildMentionRegexes, Lr as upsertChannelPairingRequest, Mi as registerUnhandledRejectionHandler, Mr as resolveDmGroupAccessWithCommandGate, Nr as resolveDmGroupAccessWithLists, O as setActiveWebListener, Pi as getAgentScopedMediaLocalRoots, Pn as formatLocationText, Q as issuePairingChallenge, Qr as recordChannelActivity, Sn as sleepWithAbort, Ur as deriveLastRoutePolicy, Ut as resolveInboundDebounceMs, Wr as resolveAgentRoute, Wt as hasControlCommand, X as dispatchReplyWithBufferedBlockDispatcher, Xi as updateLastRoute, Y as createConnectedChannelStatusPatch, Yi as recordSessionMetaFromInbound, Zr as convertMarkdownTables, _t as formatInboundEnvelope, as as saveMediaBuffer, at as createReplyPrefixOptions, co as resolveChannelGroupRequireMention, di as resolveTextChunkLimit, gt as recordPendingHistoryEntryIfEnabled, i as loadConfig, jn as parseActivationCommand, k as resolveInboundSessionEnvelopeContext, kr as readStoreAllowFromForDmPolicy, li as chunkMarkdownTextWithMode, pi as loadWebMedia, qr as formatDurationPrecise, qt as normalizeMentionText, so as resolveChannelGroupPolicy, ui as resolveChunkMode, ut as buildHistoryContextFromEntries, xn as computeBackoff, xt as getReplyFromConfig } from "./thread-bindings-
|
|
2
|
+
import { C as getWebAuthAgeMs, D as pickWebChannel, N as webAuthExists, R as formatCliCommand, S as WA_WEB_AUTH_DIR, b as resolveWhatsAppAccount, k as readWebSelfId, w as logWebSelfId, x as resolveWhatsAppMediaMaxBytes } from "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { $ as resolveMentionGating, $r as resolveMarkdownTableMode, An as normalizeGroupActivation, Bt as finalizeInboundContext, Cn as createDedupeCache, Dn as resolveMessagePrefix, En as resolveIdentityNamePrefix, Fn as toLocationContext, Fo as resolveGroupSessionKey, Fr as resolvePinnedMainDmOwnerFromAllowlist, Gr as resolveInboundLastRouteSessionKey, Gt as shouldComputeCommandAuthorized, Hr as buildAgentSessionKey, Ht as createInboundDebouncer, Ji as loadSessionStore, Kr as enqueueSystemEvent, Kt as buildMentionRegexes, Lr as upsertChannelPairingRequest, Mi as registerUnhandledRejectionHandler, Mr as resolveDmGroupAccessWithCommandGate, Nr as resolveDmGroupAccessWithLists, O as setActiveWebListener, Pi as getAgentScopedMediaLocalRoots, Pn as formatLocationText, Q as issuePairingChallenge, Qr as recordChannelActivity, Sn as sleepWithAbort, Ur as deriveLastRoutePolicy, Ut as resolveInboundDebounceMs, Wr as resolveAgentRoute, Wt as hasControlCommand, X as dispatchReplyWithBufferedBlockDispatcher, Xi as updateLastRoute, Y as createConnectedChannelStatusPatch, Yi as recordSessionMetaFromInbound, Zr as convertMarkdownTables, _t as formatInboundEnvelope, as as saveMediaBuffer, at as createReplyPrefixOptions, co as resolveChannelGroupRequireMention, di as resolveTextChunkLimit, gt as recordPendingHistoryEntryIfEnabled, i as loadConfig, jn as parseActivationCommand, k as resolveInboundSessionEnvelopeContext, kr as readStoreAllowFromForDmPolicy, li as chunkMarkdownTextWithMode, pi as loadWebMedia, qr as formatDurationPrecise, qt as normalizeMentionText, so as resolveChannelGroupPolicy, ui as resolveChunkMode, ut as buildHistoryContextFromEntries, xn as computeBackoff, xt as getReplyFromConfig } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import { t as getChildLogger } from "./logger-
|
|
6
|
+
import { t as getChildLogger } from "./logger-C9fkmDdb.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import { a as defaultRuntime, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
9
|
-
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import { a as defaultRuntime, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import { R as resolveStorePath } from "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import { R as resolveStorePath } from "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import { a as resolveOpenProviderRuntimeGroupPolicy, i as resolveDefaultGroupPolicy, s as warnMissingProviderGroupPolicyFallbackOnce } from "./runtime-group-policy-CDs_9_tb.js";
|
|
22
22
|
import "./registry-N-tffRct.js";
|
|
23
23
|
import "./http-body-CLS7yD5S.js";
|
|
24
24
|
import { r as shouldAckReactionForWhatsApp } from "./ack-reactions-CARsgKrq.js";
|
|
25
|
-
import "./whatsapp-heartbeat-
|
|
26
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
27
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
28
|
-
import { t as loginWeb } from "./login-
|
|
25
|
+
import "./whatsapp-heartbeat-_Kw4PPKA.js";
|
|
26
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Dm0FT_vI.js";
|
|
27
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-BZgg6N38.js";
|
|
28
|
+
import { t as loginWeb } from "./login-BC7QDpvj.js";
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
31
31
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as registerPluginHttpRoute } from "./http-registry-
|
|
1
|
+
import { t as registerPluginHttpRoute } from "./http-registry-DyBqqyPO.js";
|
|
2
2
|
import { i as beginWebhookRequestPipelineOrReject } from "./webhook-request-guards-BSr2HYoW.js";
|
|
3
3
|
//#region src/plugin-sdk/webhook-path.ts
|
|
4
4
|
function normalizeWebhookPath(raw) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { b as resolveWhatsAppAccount } from "./channel-config-helpers-
|
|
2
|
-
import { ar as ToolAuthorizationError, lr as readReactionParams, or as createActionGate, sr as jsonResult, ur as readStringParam, za as resolveWhatsAppOutboundTarget } from "./thread-bindings-
|
|
1
|
+
import { b as resolveWhatsAppAccount } from "./channel-config-helpers-CFkTEzkz.js";
|
|
2
|
+
import { ar as ToolAuthorizationError, lr as readReactionParams, or as createActionGate, sr as jsonResult, ur as readStringParam, za as resolveWhatsAppOutboundTarget } from "./thread-bindings-Bp_o0GHR.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-C9fkmDdb.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DXcqLSNd.js";
|
|
8
|
+
import "./utils-BQpbGej3.js";
|
|
9
|
+
import "./fetch-yk-axchG.js";
|
|
10
|
+
import "./exec-BvTkR9oI.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-BnFYorqr.js";
|
|
13
|
+
import "./logger-DXnvMlr-.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-DTcVTGFU.js";
|
|
16
|
+
import "./http-registry-DyBqqyPO.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
|
-
import { r as sendReactionWhatsApp } from "./send-
|
|
22
|
+
import { r as sendReactionWhatsApp } from "./send-BZgg6N38.js";
|
|
23
23
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
24
24
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
25
25
|
const account = resolveWhatsAppAccount({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { Ir as readChannelAllowFromStoreSync, Ji as loadSessionStore, Ss as normalizeChatChannelId } from "./thread-bindings-
|
|
3
|
-
import { d as normalizeE164 } from "./utils-
|
|
4
|
-
import { R as resolveStorePath } from "./query-expansion-
|
|
2
|
+
import { Ir as readChannelAllowFromStoreSync, Ji as loadSessionStore, Ss as normalizeChatChannelId } from "./thread-bindings-Bp_o0GHR.js";
|
|
3
|
+
import { d as normalizeE164 } from "./utils-BQpbGej3.js";
|
|
4
|
+
import { R as resolveStorePath } from "./query-expansion-BnFYorqr.js";
|
|
5
5
|
//#region src/channels/plugins/whatsapp-heartbeat.ts
|
|
6
6
|
function getSessionRecipients(cfg) {
|
|
7
7
|
if ((cfg.session?.scope ?? "per-sender") === "global") return [];
|