openclaw-multi-auto 1.8.1 → 1.8.3
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/{audio-preflight-SOY4qjTl.js → audio-preflight-DcneE70v.js} +6 -6
- package/dist/{audit-membership-runtime-BQmoiW7f.js → audit-membership-runtime-BDoMjPgy.js} +3 -3
- package/dist/{auth-profiles-CEEqFOKJ.js → auth-profiles-Dta-Mhaw.js} +438 -438
- package/dist/auth-profiles.runtime-CLSx3zsq.js +7 -0
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-BgRco6mO.js +7 -0
- package/dist/daemon-cli.js +53 -53
- package/dist/deliver-runtime-BBwve6gL.js +7 -0
- package/dist/{fetch-wjPVlu-r.js → fetch-Bdod8UI1.js} +3 -3
- package/dist/{github-copilot-token-C-NbPL95.js → github-copilot-token-BgPOyCXe.js} +7 -7
- package/dist/image-runtime-DiA6CU2y.js +7 -0
- package/dist/{logger-mQKrXyAc.js → logger-Budylr6i.js} +18 -18
- package/dist/{login-Ctt81ov4.js → login-Bk8BjEUN.js} +3 -3
- package/dist/{login-qr-CHrXhUJY.js → login-qr-CVQlH0l0.js} +7 -7
- package/dist/manager-runtime-BW_M_Kzt.js +7 -0
- package/dist/{manager.runtime-C5odxL4B.js → manager.runtime-KPIwNjNW.js} +12 -12
- package/dist/{paths-jtwudEDq.js → paths-BnSNMlFT.js} +5 -5
- package/dist/{pi-model-discovery-runtime-C-YPAOQR.js → pi-model-discovery-runtime-CLfgSk3o.js} +6 -6
- package/dist/{pi-tools.before-tool-call.runtime-CWgsv7kC.js → pi-tools.before-tool-call.runtime-CKzFGrVv.js} +6 -6
- package/dist/plugin-sdk/{audio-preflight-yyFn-I5K.js → audio-preflight-CVWl4NKo.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-DHo6vLy0.js → audit-membership-runtime-D1VvFm38.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-DN3bNNeo.js → auth-profiles.runtime-Cy2e2Wah.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-BPDNQxEz.js → bluebubbles-B_tcmPhi.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-BaZDvsTA.js → channel-access-GDk6vyOi.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-DLZc22_m.js → channel-access-configure-CerQrsyV.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-D1HfZ8IJ.js → compact.runtime-0XuiRVw-.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-DrD2s_GI.js → deliver-runtime-D37pd8wU.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-BZR9M1Ft.js → discord-dU71XVvQ.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-BvTkR9oI.js → exec-88qB5pUO.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-yk-axchG.js → fetch-Cqwcg-Kq.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-Cwx1pJhf.js → fetch-guard-DEyOIg88.js} +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-Cj2lgcNt.js → helpers-zm9M-XCJ.js} +1 -1
- package/dist/plugin-sdk/{http-registry-DyBqqyPO.js → http-registry-CR-l0QpT.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-ChtfQsK-.js → image-runtime-CSZNFoHc.js} +12 -12
- package/dist/plugin-sdk/{imessage-DtibPuZP.js → imessage-DvtFTwJr.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-CfNEV0ZG.js → inbound-reply-dispatch-DpGprwTU.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-C9fkmDdb.js → logger-D-go2oXy.js} +2 -2
- package/dist/plugin-sdk/{logger-DXnvMlr-.js → logger-Jt8cCPPV.js} +2 -2
- package/dist/plugin-sdk/{login-BC7QDpvj.js → login-CnT14vQ1.js} +5 -5
- package/dist/plugin-sdk/{login-qr-rnZFcwNs.js → login-qr-Di9Gqms7.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-B8O--3Jt.js → manager-runtime-DzCE2bL1.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-U_d65Qv1.js → manager.runtime-D6nT5fqn.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-DWtG1X8J.js → outbound-media-CN8bsq-T.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-BroxGf3Q.js → persistent-dedupe-CjCe_L5g.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DWyENOD9.js → pi-model-discovery-runtime-1vkd_hCn.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-CPBeYJY2.js → pi-tools.before-tool-call.runtime-D0XEYwCa.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DR8Hjs-J.js → pw-ai-DkDE5awL.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-3qRPZ5ye.js → qmd-manager-CguAGtaF.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-BnFYorqr.js → query-expansion-ChYs46vb.js} +5 -5
- package/dist/plugin-sdk/{redact-DTcVTGFU.js → redact-CqHkGWow.js} +1 -1
- package/dist/plugin-sdk/{run-command-qzkvaQG1.js → run-command-nYfMDZC3.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +23 -0
- package/dist/plugin-sdk/{send-BZgg6N38.js → send-BDZssl9O.js} +5 -5
- package/dist/plugin-sdk/{session-Dm0FT_vI.js → session-DPhL1rLb.js} +5 -5
- package/dist/plugin-sdk/{signal-Dy_XjHKL.js → signal-BKMAyRnz.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-DNwpGTSd.js → slack-jues0BBq.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-Bn7T59g3.js → slash-commands.runtime-BJ6veGjC.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-BPsvStS0.js → slash-dispatch.runtime-CyWyh0DI.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-TDVZ7jxr.js → slash-skill-commands.runtime-BiDqNceZ.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-D3DovVGQ.js → subagent-registry-runtime-BVsFNLUF.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DXcqLSNd.js → subsystem-DOh66yR6.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-B1RGxv8p.js → telegram-D3JLaXTI.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-CaqMErUv.js → text-chunking-Bd2LMKfE.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Bp_o0GHR.js → thread-bindings-Cc59nx4d.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BQpbGej3.js → utils-BhiRkVxe.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-wjrX_svM.js → vllm-setup-R5M9rOvm.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-Dz6AjTQn.js → web-BpHTS6sG.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-yTQuv0k1.js → webhook-targets-t3fxeJQf.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-C5SohPL-.js → whatsapp-actions-BAJ27s8B.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-_Kw4PPKA.js → whatsapp-heartbeat-D6NF4OC0.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-BFfAJexr.js → pw-ai-BZnl84YT.js} +6 -6
- package/dist/{qmd-manager-rY-Y6sbN.js → qmd-manager-BmuMJQP3.js} +3 -3
- package/dist/{query-expansion-BIMwPSMg.js → query-expansion-BMQzl41m.js} +89 -89
- package/dist/runtime-whatsapp-login.runtime-Dd6rJjLo.js +9 -0
- package/dist/runtime-whatsapp-outbound.runtime-CatYliOE.js +8 -0
- package/dist/{send-UG1n3OAg.js → send-CHO1gc7n.js} +2 -2
- package/dist/{session-Bpmn--zO.js → session-r38wrRC6.js} +6 -6
- package/dist/{slash-commands.runtime-DIrX0Ynq.js → slash-commands.runtime-J-gBOPcL.js} +6 -6
- package/dist/{slash-dispatch.runtime-CG-xSDdf.js → slash-dispatch.runtime-CwO02PY8.js} +6 -6
- package/dist/slash-skill-commands.runtime-BQRfyLdb.js +7 -0
- package/dist/{subagent-registry-runtime-rBYzVSXG.js → subagent-registry-runtime-1IiL0xom.js} +6 -6
- package/dist/{web-DbsQPRh2.js → web-B_GcnsRF.js} +9 -9
- package/dist/{whatsapp-actions-CnWp29AN.js → whatsapp-actions-BCgsmzOa.js} +7 -7
- package/package.json +1 -1
- package/scripts/create-instance.sh +4 -2
- package/dist/auth-profiles.runtime-DXPqJP5A.js +0 -7
- package/dist/compact.runtime-DS9UVeOh.js +0 -7
- package/dist/deliver-runtime-D929PgeO.js +0 -7
- package/dist/image-runtime-CkdY0-Oo.js +0 -7
- package/dist/manager-runtime-PqJtJx-b.js +0 -7
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-DeV-bhiR.js +0 -9
- package/dist/runtime-whatsapp-outbound.runtime-BFY32bnC.js +0 -8
- package/dist/slash-skill-commands.runtime-JEA80FeR.js +0 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as shouldLogVerbose, Q as resolvePreferredOpenClawTmpDir, R as logVerbose, a as createSubsystemLogger, l as defaultRuntime } from "./logger-
|
|
3
|
-
import { $ as prepareSessionManagerForRun, $n as resolveDiscordOwnerAccess, An as toAcpRuntimeError, Br as getChannelPlugin, Bt as normalizeOutboundPayloads, Ca as formatXHighModelHint, Cr as resolveSessionTranscriptFile, Ct as hasNonzeroUsage, Da as formatCliCommand, Dn as isSilentReplyPrefixText, Ea as supportsXHighThinking, Fr as resolveSessionResetPolicy, Ft as resolveOutboundTarget, G as resolveSendPolicy, H as getSkillsSnapshotVersion, I as getCliSessionId, Ir as resolveSessionResetType, It as resolveSessionDeliveryTarget, Kt as FailoverError, L as setCliSessionId, Lr as mergeSessionEntry, Lt as buildOutboundSessionContext, Mr as resolveSessionKey, Nr as evaluateSessionFreshness, On as isSilentReplyText, Or as updateSessionStore, Ot as normalizeReplyPayload, Pr as resolveChannelResetConfig, Q as runEmbeddedPiAgent, R as runCliAgent, Rr as setSessionRuntimeModel, Rt as deliverOutboundPayloads, Sa as formatThinkingLevels, St as deriveSessionTotalTokens, Ta as normalizeVerboseLevel, Tr as loadSessionStore, U as clearSessionAuthProfileOverride, Ut as resolveMessageChannelSelection, V as getRemoteSkillEligibility, Vr as normalizeChannelId, Vt as normalizeOutboundPayloadsForJson, Wi as buildWorkspaceSkillSnapshot, Wn as resolveAgentRoute, Wt as runWithModelFallback, Yn as formatMention, _r as buildProviderRegistry, _t as resolveAcpAgentPolicyError, a as modelKey, aa as loadModelCatalog, ba as DEFAULT_MODEL, bt as AGENT_LANE_SUBAGENT, c as resolveConfiguredModelRef, ci as isDeliverableMessageChannel, da as setRuntimeConfigSnapshot, di as normalizeMessageChannel, dr as parseTtsDirectives, dt as formatAgentInternalEventsForPrompt, er as formatDiscordUserTag, et as resolveBootstrapWarningSignaturesSeen, f as getAgentRuntimeCommandSecretTargetIds, fi as resolveMessageChannel, ft as normalizeSpawnedRunMetadata, gt as resolveAcpSessionCwd, ht as registerAgentRunContext, i as isCliProvider, jr as normalizeAccountId, k as isDangerousNameMatchingEnabled, kn as getAcpSessionManager, l as resolveDefaultModelForAgent, li as isGatewayMessageChannel, lr as resolveTtsConfig, mt as emitAgentEvent, na as formatErrorMessage, o as normalizeModelRef, p as resolveCommandSecretRefsViaGateway, pt as clearAgentRunContext, r as buildAllowedModelSet, s as normalizeProviderId, sa as loadConfig, si as INTERNAL_MESSAGE_CHANNEL, t as ensureAuthProfileStore, u as resolveThinkingDefault, ua as readConfigFileSnapshotForWrite, ui as isInternalMessageChannel, ur as textToSpeech, ut as resolveAgentTimeoutMs, vr as createMediaAttachmentCache, vt as resolveAcpDispatchPolicyError, wa as normalizeThinkLevel, wr as emitSessionTranscriptUpdate, wt as resolveContextTokensForModel, xa as DEFAULT_PROVIDER, xn as clearBootstrapSnapshotOnSessionRollover, xr as runCapability, xt as applyModelOverrideToSessionEntry, yr as normalizeMediaAttachments, yt as AGENT_LANE_NESTED, z as applyVerboseOverride, zr as resolveExplicitAgentSessionKey, zt as formatOutboundPayloadLog } from "./auth-profiles-
|
|
4
|
-
import { Et as resolveSessionAgentId, It as ensureAgentWorkspace, R as resolveStorePath, St as resolveAgentWorkspaceDir, fn as normalizeAgentId, gt as listAgentIds, mn as resolveAgentIdFromSessionKey, pn as normalizeMainKey, vt as resolveAgentDir, wt as resolveEffectiveModelFallbacks, xt as resolveAgentSkillsFilter } from "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { B as shouldLogVerbose, Q as resolvePreferredOpenClawTmpDir, R as logVerbose, a as createSubsystemLogger, l as defaultRuntime } from "./logger-Budylr6i.js";
|
|
3
|
+
import { $ as prepareSessionManagerForRun, $n as resolveDiscordOwnerAccess, An as toAcpRuntimeError, Br as getChannelPlugin, Bt as normalizeOutboundPayloads, Ca as formatXHighModelHint, Cr as resolveSessionTranscriptFile, Ct as hasNonzeroUsage, Da as formatCliCommand, Dn as isSilentReplyPrefixText, Ea as supportsXHighThinking, Fr as resolveSessionResetPolicy, Ft as resolveOutboundTarget, G as resolveSendPolicy, H as getSkillsSnapshotVersion, I as getCliSessionId, Ir as resolveSessionResetType, It as resolveSessionDeliveryTarget, Kt as FailoverError, L as setCliSessionId, Lr as mergeSessionEntry, Lt as buildOutboundSessionContext, Mr as resolveSessionKey, Nr as evaluateSessionFreshness, On as isSilentReplyText, Or as updateSessionStore, Ot as normalizeReplyPayload, Pr as resolveChannelResetConfig, Q as runEmbeddedPiAgent, R as runCliAgent, Rr as setSessionRuntimeModel, Rt as deliverOutboundPayloads, Sa as formatThinkingLevels, St as deriveSessionTotalTokens, Ta as normalizeVerboseLevel, Tr as loadSessionStore, U as clearSessionAuthProfileOverride, Ut as resolveMessageChannelSelection, V as getRemoteSkillEligibility, Vr as normalizeChannelId, Vt as normalizeOutboundPayloadsForJson, Wi as buildWorkspaceSkillSnapshot, Wn as resolveAgentRoute, Wt as runWithModelFallback, Yn as formatMention, _r as buildProviderRegistry, _t as resolveAcpAgentPolicyError, a as modelKey, aa as loadModelCatalog, ba as DEFAULT_MODEL, bt as AGENT_LANE_SUBAGENT, c as resolveConfiguredModelRef, ci as isDeliverableMessageChannel, da as setRuntimeConfigSnapshot, di as normalizeMessageChannel, dr as parseTtsDirectives, dt as formatAgentInternalEventsForPrompt, er as formatDiscordUserTag, et as resolveBootstrapWarningSignaturesSeen, f as getAgentRuntimeCommandSecretTargetIds, fi as resolveMessageChannel, ft as normalizeSpawnedRunMetadata, gt as resolveAcpSessionCwd, ht as registerAgentRunContext, i as isCliProvider, jr as normalizeAccountId, k as isDangerousNameMatchingEnabled, kn as getAcpSessionManager, l as resolveDefaultModelForAgent, li as isGatewayMessageChannel, lr as resolveTtsConfig, mt as emitAgentEvent, na as formatErrorMessage, o as normalizeModelRef, p as resolveCommandSecretRefsViaGateway, pt as clearAgentRunContext, r as buildAllowedModelSet, s as normalizeProviderId, sa as loadConfig, si as INTERNAL_MESSAGE_CHANNEL, t as ensureAuthProfileStore, u as resolveThinkingDefault, ua as readConfigFileSnapshotForWrite, ui as isInternalMessageChannel, ur as textToSpeech, ut as resolveAgentTimeoutMs, vr as createMediaAttachmentCache, vt as resolveAcpDispatchPolicyError, wa as normalizeThinkLevel, wr as emitSessionTranscriptUpdate, wt as resolveContextTokensForModel, xa as DEFAULT_PROVIDER, xn as clearBootstrapSnapshotOnSessionRollover, xr as runCapability, xt as applyModelOverrideToSessionEntry, yr as normalizeMediaAttachments, yt as AGENT_LANE_NESTED, z as applyVerboseOverride, zr as resolveExplicitAgentSessionKey, zt as formatOutboundPayloadLog } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import { Et as resolveSessionAgentId, It as ensureAgentWorkspace, R as resolveStorePath, St as resolveAgentWorkspaceDir, fn as normalizeAgentId, gt as listAgentIds, mn as resolveAgentIdFromSessionKey, pn as normalizeMainKey, vt as resolveAgentDir, wt as resolveEffectiveModelFallbacks, xt as resolveAgentSkillsFilter } from "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -64,12 +64,12 @@ function createLazySender(channelId, loader, exportName) {
|
|
|
64
64
|
}
|
|
65
65
|
function createDefaultDeps() {
|
|
66
66
|
return {
|
|
67
|
-
whatsapp: createLazySender("whatsapp", () => import("./web-
|
|
68
|
-
telegram: createLazySender("telegram", () => import("./auth-profiles-
|
|
69
|
-
discord: createLazySender("discord", () => import("./auth-profiles-
|
|
70
|
-
slack: createLazySender("slack", () => import("./auth-profiles-
|
|
71
|
-
signal: createLazySender("signal", () => import("./auth-profiles-
|
|
72
|
-
imessage: createLazySender("imessage", () => import("./auth-profiles-
|
|
67
|
+
whatsapp: createLazySender("whatsapp", () => import("./web-B_GcnsRF.js"), "sendMessageWhatsApp"),
|
|
68
|
+
telegram: createLazySender("telegram", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.v), "sendMessageTelegram"),
|
|
69
|
+
discord: createLazySender("discord", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.Jn), "sendMessageDiscord"),
|
|
70
|
+
slack: createLazySender("slack", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.b), "sendMessageSlack"),
|
|
71
|
+
signal: createLazySender("signal", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.Ht), "sendMessageSignal"),
|
|
72
|
+
imessage: createLazySender("imessage", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.x), "sendMessageIMessage")
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import fsSync from "node:fs";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
//#region src/infra/home-dir.ts
|
|
@@ -105,10 +105,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
105
105
|
const newDir = newStateDir(effectiveHomedir);
|
|
106
106
|
if (env.OPENCLAW_TEST_FAST === "1") return newDir;
|
|
107
107
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
108
|
-
if (
|
|
108
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
109
109
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
110
110
|
try {
|
|
111
|
-
return
|
|
111
|
+
return fsSync.existsSync(dir);
|
|
112
112
|
} catch {
|
|
113
113
|
return false;
|
|
114
114
|
}
|
|
@@ -141,7 +141,7 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
|
|
|
141
141
|
if (env.OPENCLAW_TEST_FAST === "1") return resolveCanonicalConfigPath(env, resolveStateDir(env, homedir));
|
|
142
142
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
143
143
|
try {
|
|
144
|
-
return
|
|
144
|
+
return fsSync.existsSync(candidate);
|
|
145
145
|
} catch {
|
|
146
146
|
return false;
|
|
147
147
|
}
|
|
@@ -159,7 +159,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
159
159
|
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
160
160
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
161
161
|
try {
|
|
162
|
-
return
|
|
162
|
+
return fsSync.existsSync(candidate);
|
|
163
163
|
} catch {
|
|
164
164
|
return false;
|
|
165
165
|
}
|
package/dist/{pi-model-discovery-runtime-C-YPAOQR.js → pi-model-discovery-runtime-CLfgSk3o.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { fr as PiAuthStorageClass, hr as discoverModels, mr as discoverAuthStorage, pr as PiModelRegistryClass } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { fr as PiAuthStorageClass, hr as discoverModels, mr as discoverAuthStorage, pr as PiModelRegistryClass } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
export { PiAuthStorageClass as AuthStorage, PiModelRegistryClass as ModelRegistry, discoverAuthStorage, discoverModels };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { F as isPlainObject, a as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { Cn as getDiagnosticSessionState, Sn as logToolLoopAction } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { F as isPlainObject, a as createSubsystemLogger } from "./logger-Budylr6i.js";
|
|
3
|
+
import { Cn as getDiagnosticSessionState, Sn as logToolLoopAction } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
//#region src/agents/tool-loop-detection.ts
|
|
9
9
|
const log = createSubsystemLogger("agents/loop-detection");
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Ci as runAudioTranscription, Di as resolveMediaAttachmentLocalRoots, Ei as normalizeMediaAttachments, Ni as isAudioAttachment } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Ci as runAudioTranscription, Di as resolveMediaAttachmentLocalRoots, Ei as normalizeMediaAttachments, Ni as isAudioAttachment } from "./thread-bindings-Cc59nx4d.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-ChYs46vb.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-WR8OhEmw.js";
|
|
2
|
-
import "./logger-
|
|
2
|
+
import "./logger-D-go2oXy.js";
|
|
3
3
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import { c as isRecord } from "./utils-
|
|
6
|
-
import { o as makeProxyFetch, t as resolveTelegramFetch } from "./fetch-
|
|
7
|
-
import "./logger-
|
|
4
|
+
import "./subsystem-DOh66yR6.js";
|
|
5
|
+
import { c as isRecord } from "./utils-BhiRkVxe.js";
|
|
6
|
+
import { o as makeProxyFetch, t as resolveTelegramFetch } from "./fetch-Cqwcg-Kq.js";
|
|
7
|
+
import "./logger-Jt8cCPPV.js";
|
|
8
8
|
import { o as fetchWithTimeout } from "./wsl-obOgyd2b.js";
|
|
9
9
|
//#region extensions/telegram/src/audit-membership-runtime.ts
|
|
10
10
|
const TELEGRAM_API_BASE = "https://api.telegram.org";
|
package/dist/plugin-sdk/{auth-profiles.runtime-DN3bNNeo.js → auth-profiles.runtime-Cy2e2Wah.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Ds as ensureAuthProfileStore } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Ds as ensureAuthProfileStore } from "./thread-bindings-Cc59nx4d.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-ChYs46vb.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { ensureAuthProfileStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as isRecord } from "./utils-
|
|
1
|
+
import { c as isRecord } from "./utils-BhiRkVxe.js";
|
|
2
2
|
import { n as asString, r as collectIssuesForEnabledAccounts } from "./shared-B4PQjsPw.js";
|
|
3
3
|
//#region src/channels/plugins/status-issues/bluebubbles.ts
|
|
4
4
|
function readBlueBubblesAccountStatus(value) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { B as createAccountListHelpers, _ as formatPairingApproveHint, o as mapAllowFromEntries } from "./channel-config-helpers-
|
|
3
|
-
import { $n as readBooleanParam, Bn as resolveServicePrefixedAllowTarget, Br as resolveControlCommandGate, E as formatDocsLink, Fs as BLUEBUBBLES_ACTION_NAMES, H as resolveRequestUrl, Nr as resolveDmGroupAccessWithLists, Or as DM_GROUP_ACCESS_REASON, P as extractToolSend, Ps as BLUEBUBBLES_ACTIONS, Q as issuePairingChallenge, Qi as parseFiniteNumber, Rn as parseChatAllowTargetPrefixes, Tn as resolveAckReaction, Ua as resolveBlueBubblesGroupRequireMention, Un as resolveServicePrefixedTarget, Wa as resolveBlueBubblesGroupToolPolicy, Zn as resolveChannelMediaMaxBytes, ao as isAllowedParsedChatSender, at as createReplyPrefixOptions, cr as readNumberParam, ct as logTypingFailure, gt as recordPendingHistoryEntryIfEnabled, h as ToolPolicySchema, kr as readStoreAllowFromForDmPolicy, lr as readReactionParams, mt as evictOldHistoryKeys, or as createActionGate, ot as logAckFailure, sr as jsonResult, st as logInboundDrop, ur as readStringParam, zn as parseChatTargetPrefixesOrThrow } from "./thread-bindings-
|
|
2
|
+
import { B as createAccountListHelpers, _ as formatPairingApproveHint, o as mapAllowFromEntries } from "./channel-config-helpers-CX9AfjCJ.js";
|
|
3
|
+
import { $n as readBooleanParam, Bn as resolveServicePrefixedAllowTarget, Br as resolveControlCommandGate, E as formatDocsLink, Fs as BLUEBUBBLES_ACTION_NAMES, H as resolveRequestUrl, Nr as resolveDmGroupAccessWithLists, Or as DM_GROUP_ACCESS_REASON, P as extractToolSend, Ps as BLUEBUBBLES_ACTIONS, Q as issuePairingChallenge, Qi as parseFiniteNumber, Rn as parseChatAllowTargetPrefixes, Tn as resolveAckReaction, Ua as resolveBlueBubblesGroupRequireMention, Un as resolveServicePrefixedTarget, Wa as resolveBlueBubblesGroupToolPolicy, Zn as resolveChannelMediaMaxBytes, ao as isAllowedParsedChatSender, at as createReplyPrefixOptions, cr as readNumberParam, ct as logTypingFailure, gt as recordPendingHistoryEntryIfEnabled, h as ToolPolicySchema, kr as readStoreAllowFromForDmPolicy, lr as readReactionParams, mt as evictOldHistoryKeys, or as createActionGate, ot as logAckFailure, sr as jsonResult, st as logInboundDrop, ur as readStringParam, zn as parseChatTargetPrefixesOrThrow } from "./thread-bindings-Cc59nx4d.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-D-go2oXy.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DOh66yR6.js";
|
|
9
|
+
import "./utils-BhiRkVxe.js";
|
|
10
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
11
|
+
import "./exec-88qB5pUO.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-ChYs46vb.js";
|
|
14
|
+
import "./logger-Jt8cCPPV.js";
|
|
15
15
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection, at as normalizeSecretInputString, it as normalizeResolvedSecretInputString, m as MarkdownConfigSchema, tt as hasConfiguredSecretInput } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-CqHkGWow.js";
|
|
17
|
+
import "./http-registry-CR-l0QpT.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
21
21
|
import { u as stripMarkdown } 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 { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
25
|
-
import { c as resolveWebhookTargets, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, u as normalizeWebhookPath } from "./webhook-targets-
|
|
25
|
+
import { c as resolveWebhookTargets, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, u as normalizeWebhookPath } from "./webhook-targets-t3fxeJQf.js";
|
|
26
26
|
import { a as createWebhookInFlightLimiter, c as readWebhookBodyOrReject, i as beginWebhookRequestPipelineOrReject } from "./webhook-request-guards-BSr2HYoW.js";
|
|
27
27
|
import { i as buildProbeChannelStatusSummary, r as buildComputedAccountStatusSnapshot } from "./status-helpers-BZuLH1ue.js";
|
|
28
28
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
29
|
-
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-
|
|
29
|
+
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-zm9M-XCJ.js";
|
|
30
30
|
import { a as patchScopedAccountConfig, r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
31
31
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
32
32
|
import { t as createScopedPairingAccess } from "./pairing-access-bXidxMna.js";
|
|
33
33
|
import { t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D2kONGcQ.js";
|
|
34
34
|
import "./shared-B4PQjsPw.js";
|
|
35
|
-
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-
|
|
35
|
+
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-B_tcmPhi.js";
|
|
36
36
|
import { t as buildSecretInputSchema } from "./secret-input-schema-BndfDcYr.js";
|
|
37
37
|
export { BLUEBUBBLES_ACTIONS, BLUEBUBBLES_ACTION_NAMES, DEFAULT_ACCOUNT_ID, DM_GROUP_ACCESS_REASON, MarkdownConfigSchema, PAIRING_APPROVED_MESSAGE, ToolPolicySchema, addWildcardAllowFrom, applyAccountNameToChannelSection, beginWebhookRequestPipelineOrReject, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildProbeChannelStatusSummary, buildSecretInputSchema, collectBlueBubblesStatusIssues, createAccountListHelpers, createActionGate, createReplyPrefixOptions, createScopedPairingAccess, createWebhookInFlightLimiter, deleteAccountFromConfigSection, emptyPluginConfigSchema, evictOldHistoryKeys, extractToolSend, formatDocsLink, formatPairingApproveHint, hasConfiguredSecretInput, isAllowedParsedChatSender, issuePairingChallenge, jsonResult, logAckFailure, logInboundDrop, logTypingFailure, mapAllowFromEntries, mergeAllowFromEntries, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeResolvedSecretInputString, normalizeSecretInputString, normalizeWebhookPath, parseChatAllowTargetPrefixes, parseChatTargetPrefixesOrThrow, parseFiniteNumber, patchScopedAccountConfig, promptAccountId, readBooleanParam, readNumberParam, readReactionParams, readStoreAllowFromForDmPolicy, readStringParam, readWebhookBodyOrReject, recordPendingHistoryEntryIfEnabled, registerWebhookTargetWithPluginRoute, resolveAccountIdForConfigure, resolveAckReaction, resolveBlueBubblesGroupRequireMention, resolveBlueBubblesGroupToolPolicy, resolveChannelMediaMaxBytes, resolveControlCommandGate, resolveDmGroupAccessWithLists, resolveRequestUrl, resolveServicePrefixedAllowTarget, resolveServicePrefixedTarget, resolveWebhookTargetWithAuthOrRejectSync, resolveWebhookTargets, setAccountEnabledInConfigSection, setTopLevelChannelDmPolicyWithAllowFrom, stripMarkdown, withResolvedWebhookRequestPipeline };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as splitOnboardingEntries } from "./helpers-
|
|
1
|
+
import { T as splitOnboardingEntries } from "./helpers-zm9M-XCJ.js";
|
|
2
2
|
//#region src/channels/plugins/onboarding/channel-access.ts
|
|
3
3
|
function parseAllowlistEntries(raw) {
|
|
4
4
|
return splitOnboardingEntries(String(raw ?? ""));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
1
|
+
import { t as promptChannelAccessConfig } from "./channel-access-GDk6vyOi.js";
|
|
2
2
|
//#region src/channels/plugins/onboarding/channel-access-configure.ts
|
|
3
3
|
async function configureChannelAccessWithAllowlist(params) {
|
|
4
4
|
let next = params.cfg;
|
package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as normalizeOptionalAccountId, g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-WR8OhEmw.js";
|
|
3
|
-
import { t as getChildLogger } from "./logger-
|
|
4
|
-
import { a as defaultRuntime, h as success, u as info } from "./subsystem-
|
|
5
|
-
import { d as normalizeE164, h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
3
|
+
import { t as getChildLogger } from "./logger-D-go2oXy.js";
|
|
4
|
+
import { a as defaultRuntime, h as success, u as info } from "./subsystem-DOh66yR6.js";
|
|
5
|
+
import { d as normalizeE164, h as resolveUserPath, u as jidToE164 } from "./utils-BhiRkVxe.js";
|
|
6
6
|
import { r as normalizeStringEntries } from "./string-normalization--tsDKZhl.js";
|
|
7
7
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection } from "./zod-schema.core-GWl_s9xp.js";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Zt as compactEmbeddedPiSessionDirect } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Zt as compactEmbeddedPiSessionDirect } from "./thread-bindings-Cc59nx4d.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-ChYs46vb.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { compactEmbeddedPiSessionDirect };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as normalizeAgentId, d as resolveThreadSessionKeys, g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { B as createAccountListHelpers, F as resolveDefaultIMessageAccountId, I as resolveIMessageAccount, P as listIMessageAccountIds, _ as formatPairingApproveHint, a as formatWhatsAppConfigAllowFromEntries, c as resolveIMessageConfigDefaultTo, d as resolveWhatsAppConfigDefaultTo, f as isWhatsAppGroupJid, g as buildAccountScopedDmSecurityPolicy, i as formatTrimmedAllowFromEntries, l as resolveOptionalConfigString, n as createScopedChannelConfigBase, o as mapAllowFromEntries, p as normalizeWhatsAppTarget, r as createScopedDmSecurityResolver, s as resolveIMessageConfigAllowFrom, t as createScopedAccountConfigAccessors, u as resolveWhatsAppConfigAllowFrom } from "./channel-config-helpers-
|
|
3
|
-
import { $ as resolveMentionGating, $a as resolveTelegramGroupRequireMention, $n as readBooleanParam, A as listLineAccountIds, Aa as looksLikeSlackTargetId, Ai as buildRandomTempFilePath, Ao as inspectDiscordAccount, Ar as resolveDmAllowState, At as formatUtcTimestamp, Ba as missingTargetError, Bi as buildVllmProvider, Bn as resolveServicePrefixedAllowTarget, Br as resolveControlCommandGate, Ca as listDiscordDirectoryPeersFromConfig, Cn as createDedupeCache, Co as listSlackAccountIds, Da as listTelegramDirectoryPeersFromConfig, Do as listSignalAccountIds, Dr as buildMediaPayload, E as formatDocsLink, Ea as listTelegramDirectoryGroupsFromConfig, Eo as resolveSlackReplyToMode, Fa as listDirectoryUserEntriesFromAllowFromAndMapKeys, Fn as toLocationContext, Fs as BLUEBUBBLES_ACTION_NAMES, Ga as resolveDiscordGroupRequireMention, H as resolveRequestUrl, Ha as normalizeSignalMessagingTarget, Hn as resolveServicePrefixedOrChatAllowTarget, Ii as requireApiKey, Is as BLUEBUBBLES_GROUP_ACTIONS, J as summarizeMapping, Ja as resolveGoogleChatGroupToolPolicy, Jr as collectDiscordAuditChannelIds, Ka as resolveDiscordGroupToolPolicy, Ln as createAllowedChatSenderMatcher, Ls as CHANNEL_MESSAGE_ACTION_NAMES, M as resolveDefaultLineAccountId, Ma as listDirectoryGroupEntriesFromMapKeys, Mn as parseTelegramReplyToMessageId, Mo as resolveDefaultDiscordAccountId, Mr as resolveDmGroupAccessWithCommandGate, Mt as resolveTimezone, N as resolveLineAccount, Na as listDirectoryGroupEntriesFromMapKeysAndAllowFrom, Nn as parseTelegramThreadId, No as resolveDiscordAccount, Nr as resolveDmGroupAccessWithLists, Oa as listWhatsAppDirectoryGroupsFromConfig, Oo as resolveDefaultSignalAccountId, Or as DM_GROUP_ACCESS_REASON, Os as acquireFileLock, Ot as listSkillCommandsForAgents, P as extractToolSend, Pa as listDirectoryUserEntriesFromAllowFrom, Pn as formatLocationText, Pr as resolveEffectiveAllowFromLists, Ps as BLUEBUBBLES_ACTIONS, Q as issuePairingChallenge, Qa as resolveSlackGroupToolPolicy, Ri as buildOllamaProvider, Rn as parseChatAllowTargetPrefixes, Rr as readJsonFileWithFallback, Sa as listDiscordDirectoryGroupsFromConfig, So as listEnabledSlackAccounts, Ta as listSlackDirectoryPeersFromConfig, Tn as resolveAckReaction, To as resolveSlackAccount, Ua as resolveBlueBubblesGroupRequireMention, Un as resolveServicePrefixedTarget, Va as looksLikeSignalTargetId, Vi as OLLAMA_DEFAULT_BASE_URL, Vn as resolveServicePrefixedChatTarget, Wa as resolveBlueBubblesGroupToolPolicy, Xa as resolveIMessageGroupToolPolicy, Ya as resolveIMessageGroupRequireMention, Za as resolveSlackGroupRequireMention, Zn as resolveChannelMediaMaxBytes, _a as buildChannelKeyCandidates, ai as evaluateMatchedGroupAccessForPolicy, ao as isAllowedParsedChatSender, at as createReplyPrefixOptions, ba as resolveChannelEntryMatchWithFallback, bo as buildSlackThreadingToolContext, c as DiscordConfigSchema, ci as resolveSenderScopedGroupPolicy, co as resolveChannelGroupRequireMention, cr as readNumberParam, ct as logTypingFailure, d as MSTeamsConfigSchema, da as compileAllowlist, do as listTelegramAccountIds, dt as buildPendingHistoryContextFromMap, eo as resolveTelegramGroupToolPolicy, et as resolveMentionGatingWithBypass, f as SignalConfigSchema, fa as formatAllowlistMatchMeta, fo as resolveDefaultTelegramAccountId, ft as clearHistoryEntries, gr as SILENT_REPLY_TOKEN, gt as recordPendingHistoryEntryIfEnabled, h as ToolPolicySchema, ha as resolveAllowlistMatchSimple, ho as resolveAccountWithDefaultFallback, ht as recordPendingHistoryEntry, ii as evaluateGroupRouteAccessForPolicy, io as formatNormalizedAllowFromEntries, ir as stringEnum, is as extractOriginalFilename, it as createReplyPrefixContext, j as normalizeAccountId$1, ja as normalizeSlackMessagingTarget, ji as withTempDownloadPath, jo as listDiscordAccountIds, jr as resolveDmGroupAccessDecision, jt as formatZonedTimestamp, k as resolveInboundSessionEnvelopeContext, ka as listWhatsAppDirectoryPeersFromConfig, ko as resolveSignalAccount, kr as readStoreAllowFromForDmPolicy, ks as withFileLock, l as GoogleChatConfigSchema, lo as resolveToolsBySender, lr as readReactionParams, ls as formatErrorMessage, lt as DEFAULT_GROUP_HISTORY_LIMIT, m as TelegramConfigSchema, ma as resolveAllowlistMatchByCandidates, mo as listConfiguredAccountIds, mt as evictOldHistoryKeys, n as listThreadBindingsBySessionKey, no as resolveWhatsAppGroupToolPolicy, nt as createTypingCallbacks, oi as evaluateSenderGroupAccess, oo as isNormalizedSenderAllowed, or as createActionGate, ot as logAckFailure, p as SlackConfigSchema, pa as resolveAllowlistCandidates, pi as loadWebMedia, po as resolveTelegramAccount, pt as clearHistoryEntriesIfEnabled, q as mergeAllowlist, qa as resolveGoogleChatGroupRequireMention, r as unbindThreadBindingsBySessionKey, ro as formatAllowFromLowercase, rr as optionalStringEnum, rs as rawDataToString, rt as recordInboundSession, s as WhatsAppConfigSchema, si as evaluateSenderGroupAccessForPolicy, sr as jsonResult, st as logInboundDrop, t as autoBindSpawnedDiscordSubagent, to as resolveWhatsAppGroupRequireMention, tt as isDangerousNameMatchingEnabled, u as IMessageConfigSchema, uo as inspectTelegramAccount, ur as readStringParam, va as normalizeChannelSlug, vr as isSilentReplyText, vt as formatInboundFromLabel, wa as listSlackDirectoryGroupsFromConfig, wo as resolveDefaultSlackAccountId, xa as resolveNestedAllowlistDecision, xo as inspectSlackAccount, xs as getChatChannelMeta, ya as resolveChannelEntryMatch, za as resolveWhatsAppOutboundTarget, zi as buildSglangProvider, zn as parseChatTargetPrefixesOrThrow, zr as writeJsonFileAtomically } from "./thread-bindings-
|
|
2
|
+
import { B as createAccountListHelpers, F as resolveDefaultIMessageAccountId, I as resolveIMessageAccount, P as listIMessageAccountIds, _ as formatPairingApproveHint, a as formatWhatsAppConfigAllowFromEntries, c as resolveIMessageConfigDefaultTo, d as resolveWhatsAppConfigDefaultTo, f as isWhatsAppGroupJid, g as buildAccountScopedDmSecurityPolicy, i as formatTrimmedAllowFromEntries, l as resolveOptionalConfigString, n as createScopedChannelConfigBase, o as mapAllowFromEntries, p as normalizeWhatsAppTarget, r as createScopedDmSecurityResolver, s as resolveIMessageConfigAllowFrom, t as createScopedAccountConfigAccessors, u as resolveWhatsAppConfigAllowFrom } from "./channel-config-helpers-CX9AfjCJ.js";
|
|
3
|
+
import { $ as resolveMentionGating, $a as resolveTelegramGroupRequireMention, $n as readBooleanParam, A as listLineAccountIds, Aa as looksLikeSlackTargetId, Ai as buildRandomTempFilePath, Ao as inspectDiscordAccount, Ar as resolveDmAllowState, At as formatUtcTimestamp, Ba as missingTargetError, Bi as buildVllmProvider, Bn as resolveServicePrefixedAllowTarget, Br as resolveControlCommandGate, Ca as listDiscordDirectoryPeersFromConfig, Cn as createDedupeCache, Co as listSlackAccountIds, Da as listTelegramDirectoryPeersFromConfig, Do as listSignalAccountIds, Dr as buildMediaPayload, E as formatDocsLink, Ea as listTelegramDirectoryGroupsFromConfig, Eo as resolveSlackReplyToMode, Fa as listDirectoryUserEntriesFromAllowFromAndMapKeys, Fn as toLocationContext, Fs as BLUEBUBBLES_ACTION_NAMES, Ga as resolveDiscordGroupRequireMention, H as resolveRequestUrl, Ha as normalizeSignalMessagingTarget, Hn as resolveServicePrefixedOrChatAllowTarget, Ii as requireApiKey, Is as BLUEBUBBLES_GROUP_ACTIONS, J as summarizeMapping, Ja as resolveGoogleChatGroupToolPolicy, Jr as collectDiscordAuditChannelIds, Ka as resolveDiscordGroupToolPolicy, Ln as createAllowedChatSenderMatcher, Ls as CHANNEL_MESSAGE_ACTION_NAMES, M as resolveDefaultLineAccountId, Ma as listDirectoryGroupEntriesFromMapKeys, Mn as parseTelegramReplyToMessageId, Mo as resolveDefaultDiscordAccountId, Mr as resolveDmGroupAccessWithCommandGate, Mt as resolveTimezone, N as resolveLineAccount, Na as listDirectoryGroupEntriesFromMapKeysAndAllowFrom, Nn as parseTelegramThreadId, No as resolveDiscordAccount, Nr as resolveDmGroupAccessWithLists, Oa as listWhatsAppDirectoryGroupsFromConfig, Oo as resolveDefaultSignalAccountId, Or as DM_GROUP_ACCESS_REASON, Os as acquireFileLock, Ot as listSkillCommandsForAgents, P as extractToolSend, Pa as listDirectoryUserEntriesFromAllowFrom, Pn as formatLocationText, Pr as resolveEffectiveAllowFromLists, Ps as BLUEBUBBLES_ACTIONS, Q as issuePairingChallenge, Qa as resolveSlackGroupToolPolicy, Ri as buildOllamaProvider, Rn as parseChatAllowTargetPrefixes, Rr as readJsonFileWithFallback, Sa as listDiscordDirectoryGroupsFromConfig, So as listEnabledSlackAccounts, Ta as listSlackDirectoryPeersFromConfig, Tn as resolveAckReaction, To as resolveSlackAccount, Ua as resolveBlueBubblesGroupRequireMention, Un as resolveServicePrefixedTarget, Va as looksLikeSignalTargetId, Vi as OLLAMA_DEFAULT_BASE_URL, Vn as resolveServicePrefixedChatTarget, Wa as resolveBlueBubblesGroupToolPolicy, Xa as resolveIMessageGroupToolPolicy, Ya as resolveIMessageGroupRequireMention, Za as resolveSlackGroupRequireMention, Zn as resolveChannelMediaMaxBytes, _a as buildChannelKeyCandidates, ai as evaluateMatchedGroupAccessForPolicy, ao as isAllowedParsedChatSender, at as createReplyPrefixOptions, ba as resolveChannelEntryMatchWithFallback, bo as buildSlackThreadingToolContext, c as DiscordConfigSchema, ci as resolveSenderScopedGroupPolicy, co as resolveChannelGroupRequireMention, cr as readNumberParam, ct as logTypingFailure, d as MSTeamsConfigSchema, da as compileAllowlist, do as listTelegramAccountIds, dt as buildPendingHistoryContextFromMap, eo as resolveTelegramGroupToolPolicy, et as resolveMentionGatingWithBypass, f as SignalConfigSchema, fa as formatAllowlistMatchMeta, fo as resolveDefaultTelegramAccountId, ft as clearHistoryEntries, gr as SILENT_REPLY_TOKEN, gt as recordPendingHistoryEntryIfEnabled, h as ToolPolicySchema, ha as resolveAllowlistMatchSimple, ho as resolveAccountWithDefaultFallback, ht as recordPendingHistoryEntry, ii as evaluateGroupRouteAccessForPolicy, io as formatNormalizedAllowFromEntries, ir as stringEnum, is as extractOriginalFilename, it as createReplyPrefixContext, j as normalizeAccountId$1, ja as normalizeSlackMessagingTarget, ji as withTempDownloadPath, jo as listDiscordAccountIds, jr as resolveDmGroupAccessDecision, jt as formatZonedTimestamp, k as resolveInboundSessionEnvelopeContext, ka as listWhatsAppDirectoryPeersFromConfig, ko as resolveSignalAccount, kr as readStoreAllowFromForDmPolicy, ks as withFileLock, l as GoogleChatConfigSchema, lo as resolveToolsBySender, lr as readReactionParams, ls as formatErrorMessage, lt as DEFAULT_GROUP_HISTORY_LIMIT, m as TelegramConfigSchema, ma as resolveAllowlistMatchByCandidates, mo as listConfiguredAccountIds, mt as evictOldHistoryKeys, n as listThreadBindingsBySessionKey, no as resolveWhatsAppGroupToolPolicy, nt as createTypingCallbacks, oi as evaluateSenderGroupAccess, oo as isNormalizedSenderAllowed, or as createActionGate, ot as logAckFailure, p as SlackConfigSchema, pa as resolveAllowlistCandidates, pi as loadWebMedia, po as resolveTelegramAccount, pt as clearHistoryEntriesIfEnabled, q as mergeAllowlist, qa as resolveGoogleChatGroupRequireMention, r as unbindThreadBindingsBySessionKey, ro as formatAllowFromLowercase, rr as optionalStringEnum, rs as rawDataToString, rt as recordInboundSession, s as WhatsAppConfigSchema, si as evaluateSenderGroupAccessForPolicy, sr as jsonResult, st as logInboundDrop, t as autoBindSpawnedDiscordSubagent, to as resolveWhatsAppGroupRequireMention, tt as isDangerousNameMatchingEnabled, u as IMessageConfigSchema, uo as inspectTelegramAccount, ur as readStringParam, va as normalizeChannelSlug, vr as isSilentReplyText, vt as formatInboundFromLabel, wa as listSlackDirectoryGroupsFromConfig, wo as resolveDefaultSlackAccountId, xa as resolveNestedAllowlistDecision, xo as inspectSlackAccount, xs as getChatChannelMeta, ya as resolveChannelEntryMatch, za as resolveWhatsAppOutboundTarget, zi as buildSglangProvider, zn as parseChatTargetPrefixesOrThrow, zr as writeJsonFileAtomically } from "./thread-bindings-Cc59nx4d.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import { i as registerLogTransport } from "./logger-
|
|
6
|
+
import { i as registerLogTransport } from "./logger-D-go2oXy.js";
|
|
7
7
|
import { t as resolvePreferredOpenClawTmpDir } from "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import { r as stripAnsi } from "./subsystem-
|
|
9
|
-
import { d as normalizeE164, g as safeParseJson, n as clamp, o as escapeRegExp, y as sleep } from "./utils-
|
|
10
|
-
import { c as isTruthyEnvValue } from "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import { r as stripAnsi } from "./subsystem-DOh66yR6.js";
|
|
9
|
+
import { d as normalizeE164, g as safeParseJson, n as clamp, o as escapeRegExp, y as sleep } from "./utils-BhiRkVxe.js";
|
|
10
|
+
import { c as isTruthyEnvValue } from "./fetch-Cqwcg-Kq.js";
|
|
11
|
+
import "./exec-88qB5pUO.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import { B as extensionForMime, V as getFileExtension, z as detectMime } from "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import { B as extensionForMime, V as getFileExtension, z as detectMime } from "./query-expansion-ChYs46vb.js";
|
|
14
|
+
import "./logger-Jt8cCPPV.js";
|
|
15
15
|
import { $ as assertSecretInputResolved, A as TtsConfigSchema, B as clearAccountEntryFields, C as SecretInputSchema, H as setAccountEnabledInConfigSection, I as requireOpenAllowFrom, M as TtsProviderSchema, P as normalizeAllowFrom, V as deleteAccountFromConfigSection, a as DmPolicySchema, at as normalizeSecretInputString, b as ReplyRuntimeConfigSchemaShape, c as GroupPolicySchema, h as MarkdownTableModeSchema, i as DmConfigSchema, it as normalizeResolvedSecretInputString, j as TtsModeSchema, k as TtsAutoSchema, m as MarkdownConfigSchema, n as BlockStreamingCoalesceSchema, nt as isSecretRef, tt as hasConfiguredSecretInput } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import { n as redactSensitiveText } from "./redact-
|
|
17
|
-
import { c as normalizePluginHttpPath, g as registerContextEngine, t as registerPluginHttpRoute } from "./http-registry-
|
|
16
|
+
import { n as redactSensitiveText } from "./redact-CqHkGWow.js";
|
|
17
|
+
import { c as normalizePluginHttpPath, g as registerContextEngine, t as registerPluginHttpRoute } from "./http-registry-CR-l0QpT.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-Dlo7BZU6.js";
|
|
20
20
|
import { i as isWSLSync, n as isWSL2Sync, r as isWSLEnv } from "./wsl-obOgyd2b.js";
|
|
21
21
|
import { a as resolveWindowsSpawnProgramCandidate, i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram, r as resolveWindowsExecutablePath, t as applyWindowsSpawnProgramPolicy } from "./windows-spawn-mAu43VWM.js";
|
|
22
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
22
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DEyOIg88.js";
|
|
23
23
|
import { a as resolveOpenProviderRuntimeGroupPolicy, c as hasMarkdownToConvert, i as resolveDefaultGroupPolicy, l as processLineMessage, n as resetMissingProviderGroupPolicyFallbackWarningsForTesting, o as resolveRuntimeGroupPolicy, p as createReceiptCard, r as resolveAllowlistProviderRuntimeGroupPolicy, s as warnMissingProviderGroupPolicyFallbackOnce, t as GROUP_POLICY_BLOCKED_LABEL, u as stripMarkdown } from "./runtime-group-policy-CDs_9_tb.js";
|
|
24
24
|
import { a as createListCard, i as createInfoCard, n as createActionCard, r as createImageCard, t as LineConfigSchema } from "./config-schema-C5UEJRO2.js";
|
|
25
25
|
import { a as ACP_ERROR_CODES, i as unregisterAcpRuntimeBackend, n as registerAcpRuntimeBackend, o as AcpRuntimeError, r as requireAcpRuntimeBackend, t as getAcpRuntimeBackend } from "./registry-N-tffRct.js";
|
|
@@ -29,39 +29,39 @@ import { a as isRequestBodyLimitError, c as requestBodyErrorToText, i as install
|
|
|
29
29
|
import { n as shouldAckReaction, r as shouldAckReactionForWhatsApp, t as removeAckReactionAfterReply } from "./ack-reactions-CARsgKrq.js";
|
|
30
30
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
31
31
|
import { _ as mapBasicAllowlistResolutionEntries, a as collectAllowlistProviderGroupPolicyWarnings, c as collectOpenGroupPolicyRestrictSendersWarnings, d as fetchWithBearerAuthScopeFallback, f as createPluginRuntimeStore, g as mapAllowlistResolutionInputs, h as tagDiscordChannelResult, i as buildOpenGroupPolicyWarning, l as collectOpenGroupPolicyRouteAllowlistWarnings, m as buildDiscordSendOptions, n as buildOpenGroupPolicyNoRouteAllowlistWarning, o as collectAllowlistProviderRestrictSendersWarnings, p as buildDiscordSendMediaOptions, r as buildOpenGroupPolicyRestrictSendersWarning, s as collectOpenGroupPolicyConfiguredRouteWarnings, t as buildOpenGroupPolicyConfigureRouteAllowlistWarning, u as collectOpenProviderGroupPolicyWarnings } from "./plugin-sdk-B4jRqfzn.js";
|
|
32
|
-
import { a as resolveSingleWebhookTargetAsync, c as resolveWebhookTargets, d as resolveWebhookPath, i as resolveSingleWebhookTarget, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, o as resolveWebhookTargetWithAuthOrReject, r as rejectNonPostWebhookRequest, s as resolveWebhookTargetWithAuthOrRejectSync, t as registerWebhookTarget, u as normalizeWebhookPath } from "./webhook-targets-
|
|
32
|
+
import { a as resolveSingleWebhookTargetAsync, c as resolveWebhookTargets, d as resolveWebhookPath, i as resolveSingleWebhookTarget, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, o as resolveWebhookTargetWithAuthOrReject, r as rejectNonPostWebhookRequest, s as resolveWebhookTargetWithAuthOrRejectSync, t as registerWebhookTarget, u as normalizeWebhookPath } from "./webhook-targets-t3fxeJQf.js";
|
|
33
33
|
import { a as createWebhookInFlightLimiter, c as readWebhookBodyOrReject, i as beginWebhookRequestPipelineOrReject, n as WEBHOOK_IN_FLIGHT_DEFAULTS, o as isJsonContentType, r as applyBasicWebhookRequestGuards, s as readJsonWebhookBodyOrReject, t as WEBHOOK_BODY_READ_DEFAULTS } from "./webhook-request-guards-BSr2HYoW.js";
|
|
34
34
|
import { i as waitUntilAbort, n as keepHttpServerTaskAlive, r as runPassiveAccountLifecycle, t as createAccountStatusSink } from "./channel-lifecycle-D3yy9EIW.js";
|
|
35
35
|
import { t as buildAgentMediaPayload } from "./agent-media-payload-7zGFAVbK.js";
|
|
36
36
|
import { a as buildRuntimeAccountStatusSnapshot, c as createDefaultChannelRuntimeState, i as buildProbeChannelStatusSummary, n as buildBaseChannelStatusSummary, o as buildTokenChannelStatusSummary, r as buildComputedAccountStatusSnapshot, s as collectStatusIssuesFromLastError, t as buildBaseAccountStatusSnapshot } from "./status-helpers-BZuLH1ue.js";
|
|
37
37
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
38
|
-
import { C as setTopLevelChannelDmPolicyWithAllowFrom, S as setTopLevelChannelAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, m as promptSingleChannelSecretInput, t as addWildcardAllowFrom, u as promptAccountId, w as setTopLevelChannelGroupPolicy } from "./helpers-
|
|
38
|
+
import { C as setTopLevelChannelDmPolicyWithAllowFrom, S as setTopLevelChannelAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, m as promptSingleChannelSecretInput, t as addWildcardAllowFrom, u as promptAccountId, w as setTopLevelChannelGroupPolicy } from "./helpers-zm9M-XCJ.js";
|
|
39
39
|
import { a as patchScopedAccountConfig, n as applySetupAccountConfigPatch, r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
40
40
|
import { t as buildOauthProviderAuthResult } from "./provider-auth-result-BBgd8JKt.js";
|
|
41
41
|
import { t as formatResolvedUnresolvedNote } from "./resolution-notes-DLPPP3rA.js";
|
|
42
|
-
import { a as resolveSenderCommandAuthorizationWithRuntime, i as resolveSenderCommandAuthorization, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, r as resolveDirectDmAuthorizationOutcome, t as chunkTextForOutbound } from "./text-chunking-
|
|
42
|
+
import { a as resolveSenderCommandAuthorizationWithRuntime, i as resolveSenderCommandAuthorization, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, r as resolveDirectDmAuthorizationOutcome, t as chunkTextForOutbound } from "./text-chunking-Bd2LMKfE.js";
|
|
43
43
|
import { a as buildNestedDmConfigSchema, i as buildChannelConfigSchema, n as AllowFromListSchema, r as buildCatchallMultiAccountChannelSchema, t as AllowFromEntrySchema } from "./config-schema-BPehl1ON.js";
|
|
44
44
|
import { t as createScopedPairingAccess } from "./pairing-access-bXidxMna.js";
|
|
45
45
|
import { n as resolveInboundRouteEnvelopeBuilder, r as resolveInboundRouteEnvelopeBuilderWithRuntime, t as createInboundEnvelopeBuilder } from "./inbound-envelope-BxdUZQxb.js";
|
|
46
|
-
import { i as handleSlackMessageAction, n as extractSlackToolSend, r as listSlackMessageActions, t as slackOnboardingAdapter } from "./slack-
|
|
46
|
+
import { i as handleSlackMessageAction, n as extractSlackToolSend, r as listSlackMessageActions, t as slackOnboardingAdapter } from "./slack-jues0BBq.js";
|
|
47
47
|
import { a as resolveOutboundMediaUrls, i as normalizeOutboundReplyPayload, n as formatTextWithAttachmentLinks, o as sendMediaWithLeadingCaption, r as isNumericTargetId, s as sendPayloadWithChunkedTextAndMedia, t as createNormalizedOutboundDeliverer } from "./reply-payload-C0CJpM2K.js";
|
|
48
|
-
import { i as recordInboundSessionAndDispatchReply, n as dispatchInboundReplyWithBase, r as dispatchReplyFromConfigWithSettledDispatcher, t as buildInboundReplyDispatchBase } from "./inbound-reply-dispatch-
|
|
49
|
-
import { t as loadOutboundMediaFromUrl } from "./outbound-media-
|
|
48
|
+
import { i as recordInboundSessionAndDispatchReply, n as dispatchInboundReplyWithBase, r as dispatchReplyFromConfigWithSettledDispatcher, t as buildInboundReplyDispatchBase } from "./inbound-reply-dispatch-DpGprwTU.js";
|
|
49
|
+
import { t as loadOutboundMediaFromUrl } from "./outbound-media-CN8bsq-T.js";
|
|
50
50
|
import { n as resolveRuntimeEnv, r as resolveRuntimeEnvWithUnavailableExit, t as createLoggerBackedRuntime } from "./runtime-BVjGLKF-.js";
|
|
51
51
|
import { n as toFormUrlEncoded, t as generatePkceVerifierChallenge } from "./oauth-utils-U0xQP0kF.js";
|
|
52
|
-
import { t as runPluginCommandWithTimeout } from "./run-command-
|
|
52
|
+
import { t as runPluginCommandWithTimeout } from "./run-command-nYfMDZC3.js";
|
|
53
53
|
import { a as resolveGatewayBindUrl, i as resolveTailnetHostWithRunner, n as listDevicePairing, r as rejectDevicePairing, t as approveDevicePairing } from "./device-pairing-DcQt_7_T.js";
|
|
54
|
-
import { t as createPersistentDedupe } from "./persistent-dedupe-
|
|
54
|
+
import { t as createPersistentDedupe } from "./persistent-dedupe-CjCe_L5g.js";
|
|
55
55
|
import { a as createFixedWindowRateLimiter, i as createBoundedCounter, n as WEBHOOK_ANOMALY_STATUS_CODES, o as createWebhookAnomalyTracker, r as WEBHOOK_RATE_LIMIT_DEFAULTS, t as WEBHOOK_ANOMALY_COUNTER_DEFAULTS } from "./webhook-memory-guards-BJifApP1.js";
|
|
56
56
|
import { n as isHttpsUrlAllowedByHostnameSuffixAllowlist, r as normalizeHostnameSuffixAllowlist, t as buildHostnameAllowlistPolicyFromSuffixAllowlist } from "./ssrf-policy-ZMXw-gLp.js";
|
|
57
57
|
import { t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D2kONGcQ.js";
|
|
58
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
59
|
-
import "./channel-access-configure-
|
|
60
|
-
import { a as discordOnboardingAdapter, i as normalizeDiscordOutboundTarget, n as looksLikeDiscordTargetId, r as normalizeDiscordMessagingTarget, t as collectDiscordStatusIssues } from "./discord-
|
|
58
|
+
import { t as promptChannelAccessConfig } from "./channel-access-GDk6vyOi.js";
|
|
59
|
+
import "./channel-access-configure-CerQrsyV.js";
|
|
60
|
+
import { a as discordOnboardingAdapter, i as normalizeDiscordOutboundTarget, n as looksLikeDiscordTargetId, r as normalizeDiscordMessagingTarget, t as collectDiscordStatusIssues } from "./discord-dU71XVvQ.js";
|
|
61
61
|
import "./shared-B4PQjsPw.js";
|
|
62
|
-
import { n as normalizeIMessageMessagingTarget, r as imessageOnboardingAdapter, t as looksLikeIMessageTargetId } from "./imessage-
|
|
63
|
-
import { i as telegramOnboardingAdapter, n as looksLikeTelegramTargetId, r as normalizeTelegramMessagingTarget, t as collectTelegramStatusIssues } from "./telegram-
|
|
64
|
-
import { t as signalOnboardingAdapter } from "./signal-
|
|
65
|
-
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-
|
|
66
|
-
import { a as promptAndConfigureVllm, c as ensureOllamaModelPulled, d as SELF_HOSTED_DEFAULT_COST, f as SELF_HOSTED_DEFAULT_MAX_TOKENS, g as promptAndConfigureOpenAICompatibleSelfHostedProvider, i as VLLM_DEFAULT_MAX_TOKENS, l as promptAndConfigureOllama, n as VLLM_DEFAULT_CONTEXT_WINDOW, o as OLLAMA_DEFAULT_MODEL, p as applyProviderDefaultModel, r as VLLM_DEFAULT_COST, s as configureOllamaNonInteractive, t as VLLM_DEFAULT_BASE_URL, u as SELF_HOSTED_DEFAULT_CONTEXT_WINDOW } from "./vllm-setup-
|
|
62
|
+
import { n as normalizeIMessageMessagingTarget, r as imessageOnboardingAdapter, t as looksLikeIMessageTargetId } from "./imessage-DvtFTwJr.js";
|
|
63
|
+
import { i as telegramOnboardingAdapter, n as looksLikeTelegramTargetId, r as normalizeTelegramMessagingTarget, t as collectTelegramStatusIssues } from "./telegram-D3JLaXTI.js";
|
|
64
|
+
import { t as signalOnboardingAdapter } from "./signal-BKMAyRnz.js";
|
|
65
|
+
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-B_tcmPhi.js";
|
|
66
|
+
import { a as promptAndConfigureVllm, c as ensureOllamaModelPulled, d as SELF_HOSTED_DEFAULT_COST, f as SELF_HOSTED_DEFAULT_MAX_TOKENS, g as promptAndConfigureOpenAICompatibleSelfHostedProvider, i as VLLM_DEFAULT_MAX_TOKENS, l as promptAndConfigureOllama, n as VLLM_DEFAULT_CONTEXT_WINDOW, o as OLLAMA_DEFAULT_MODEL, p as applyProviderDefaultModel, r as VLLM_DEFAULT_COST, s as configureOllamaNonInteractive, t as VLLM_DEFAULT_BASE_URL, u as SELF_HOSTED_DEFAULT_CONTEXT_WINDOW } from "./vllm-setup-R5M9rOvm.js";
|
|
67
67
|
export { ACP_ERROR_CODES, AcpRuntimeError, AllowFromEntrySchema, AllowFromListSchema, BLUEBUBBLES_ACTIONS, BLUEBUBBLES_ACTION_NAMES, BLUEBUBBLES_GROUP_ACTIONS, BlockStreamingCoalesceSchema, CHANNEL_MESSAGE_ACTION_NAMES, DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, DEFAULT_WEBHOOK_MAX_BODY_BYTES, DM_GROUP_ACCESS_REASON, DiscordConfigSchema, DmConfigSchema, DmPolicySchema, GROUP_POLICY_BLOCKED_LABEL, GoogleChatConfigSchema, GroupPolicySchema, IMessageConfigSchema, KeyedAsyncQueue, LineConfigSchema, MSTeamsConfigSchema, MarkdownConfigSchema, MarkdownTableModeSchema, OLLAMA_DEFAULT_BASE_URL, OLLAMA_DEFAULT_MODEL, PAIRING_APPROVED_MESSAGE, ReplyRuntimeConfigSchemaShape, RequestBodyLimitError, SELF_HOSTED_DEFAULT_CONTEXT_WINDOW, SELF_HOSTED_DEFAULT_COST, SELF_HOSTED_DEFAULT_MAX_TOKENS, SILENT_REPLY_TOKEN, SecretInputSchema, SignalConfigSchema, SlackConfigSchema, SsrFBlockedError, TelegramConfigSchema, ToolPolicySchema, TtsAutoSchema, TtsConfigSchema, TtsModeSchema, TtsProviderSchema, VLLM_DEFAULT_BASE_URL, VLLM_DEFAULT_CONTEXT_WINDOW, VLLM_DEFAULT_COST, VLLM_DEFAULT_MAX_TOKENS, WEBHOOK_ANOMALY_COUNTER_DEFAULTS, WEBHOOK_ANOMALY_STATUS_CODES, WEBHOOK_BODY_READ_DEFAULTS, WEBHOOK_IN_FLIGHT_DEFAULTS, WEBHOOK_RATE_LIMIT_DEFAULTS, WhatsAppConfigSchema, acquireFileLock, addWildcardAllowFrom, applyAccountNameToChannelSection, applyBasicWebhookRequestGuards, applyProviderDefaultModel, applySetupAccountConfigPatch, applyWindowsSpawnProgramPolicy, approveDevicePairing, assertSecretInputResolved, autoBindSpawnedDiscordSubagent, beginWebhookRequestPipelineOrReject, buildAccountScopedDmSecurityPolicy, buildAgentMediaPayload, buildBaseAccountStatusSnapshot, buildBaseChannelStatusSummary, buildCatchallMultiAccountChannelSchema, buildChannelConfigSchema, buildChannelKeyCandidates, buildChannelSendResult, buildComputedAccountStatusSnapshot, buildDiscordSendMediaOptions, buildDiscordSendOptions, buildHostnameAllowlistPolicyFromSuffixAllowlist, buildInboundReplyDispatchBase, buildMediaPayload, buildNestedDmConfigSchema, buildOauthProviderAuthResult, buildOllamaProvider, buildOpenGroupPolicyConfigureRouteAllowlistWarning, buildOpenGroupPolicyNoRouteAllowlistWarning, buildOpenGroupPolicyRestrictSendersWarning, buildOpenGroupPolicyWarning, buildPendingHistoryContextFromMap, buildProbeChannelStatusSummary, buildRandomTempFilePath, buildRuntimeAccountStatusSnapshot, buildSglangProvider, buildSlackThreadingToolContext, buildTokenChannelStatusSummary, buildVllmProvider, chunkTextForOutbound, clamp, clearAccountEntryFields, clearHistoryEntries, clearHistoryEntriesIfEnabled, collectAllowlistProviderGroupPolicyWarnings, collectAllowlistProviderRestrictSendersWarnings, collectBlueBubblesStatusIssues, collectDiscordAuditChannelIds, collectDiscordStatusIssues, collectOpenGroupPolicyConfiguredRouteWarnings, collectOpenGroupPolicyRestrictSendersWarnings, collectOpenGroupPolicyRouteAllowlistWarnings, collectOpenProviderGroupPolicyWarnings, collectStatusIssuesFromLastError, collectTelegramStatusIssues, compileAllowlist, configureOllamaNonInteractive, createAccountListHelpers, createAccountStatusSink, createActionCard, createActionGate, createAllowedChatSenderMatcher, createBoundedCounter, createDedupeCache, createDefaultChannelRuntimeState, createFixedWindowRateLimiter, createImageCard, createInboundEnvelopeBuilder, createInfoCard, createListCard, createLoggerBackedRuntime, createNormalizedOutboundDeliverer, createPersistentDedupe, createPluginRuntimeStore, createReceiptCard, createReplyPrefixContext, createReplyPrefixOptions, createScopedAccountConfigAccessors, createScopedChannelConfigBase, createScopedDmSecurityResolver, createScopedPairingAccess, createTypingCallbacks, createWebhookAnomalyTracker, createWebhookInFlightLimiter, deleteAccountFromConfigSection, detectMime, discordOnboardingAdapter, dispatchInboundReplyWithBase, dispatchReplyFromConfigWithSettledDispatcher, emitDiagnosticEvent, emptyPluginConfigSchema, enqueueKeyedTask, ensureOllamaModelPulled, escapeRegExp, evaluateGroupRouteAccessForPolicy, evaluateMatchedGroupAccessForPolicy, evaluateSenderGroupAccess, evaluateSenderGroupAccessForPolicy, evictOldHistoryKeys, extensionForMime, extractOriginalFilename, extractSlackToolSend, extractToolSend, fetchWithBearerAuthScopeFallback, fetchWithSsrFGuard, formatAllowFromLowercase, formatAllowlistMatchMeta, formatDocsLink, formatErrorMessage, formatInboundFromLabel, formatLocationText, formatNormalizedAllowFromEntries, formatPairingApproveHint, formatResolvedUnresolvedNote, formatTextWithAttachmentLinks, formatTrimmedAllowFromEntries, formatUtcTimestamp, formatWhatsAppConfigAllowFromEntries, formatZonedTimestamp, generatePkceVerifierChallenge, getAcpRuntimeBackend, getChatChannelMeta, getFileExtension, handleSlackMessageAction, hasConfiguredSecretInput, hasMarkdownToConvert, imessageOnboardingAdapter, inspectDiscordAccount, inspectSlackAccount, inspectTelegramAccount, installRequestBodyLimitGuard, isAllowedParsedChatSender, isBlockedHostname, isBlockedHostnameOrIp, isDangerousNameMatchingEnabled, isDiagnosticsEnabled, isHttpsUrlAllowedByHostnameSuffixAllowlist, isJsonContentType, isNormalizedSenderAllowed, isNumericTargetId, isPrivateIpAddress, isRequestBodyLimitError, isSecretRef, isSilentReplyText, isTruthyEnvValue, isWSL2Sync, isWSLEnv, isWSLSync, isWhatsAppGroupJid, issuePairingChallenge, jsonResult, keepHttpServerTaskAlive, listConfiguredAccountIds, listDevicePairing, listDirectoryGroupEntriesFromMapKeys, listDirectoryGroupEntriesFromMapKeysAndAllowFrom, listDirectoryUserEntriesFromAllowFrom, listDirectoryUserEntriesFromAllowFromAndMapKeys, listDiscordAccountIds, listDiscordDirectoryGroupsFromConfig, listDiscordDirectoryPeersFromConfig, listEnabledSlackAccounts, listIMessageAccountIds, listLineAccountIds, listSignalAccountIds, listSkillCommandsForAgents, listSlackAccountIds, listSlackDirectoryGroupsFromConfig, listSlackDirectoryPeersFromConfig, listSlackMessageActions, listTelegramAccountIds, listTelegramDirectoryGroupsFromConfig, listTelegramDirectoryPeersFromConfig, listThreadBindingsBySessionKey, listWhatsAppDirectoryGroupsFromConfig, listWhatsAppDirectoryPeersFromConfig, loadOutboundMediaFromUrl, loadWebMedia, logAckFailure, logInboundDrop, logTypingFailure, looksLikeDiscordTargetId, looksLikeIMessageTargetId, looksLikeSignalTargetId, looksLikeSlackTargetId, looksLikeTelegramTargetId, mapAllowFromEntries, mapAllowlistResolutionInputs, mapBasicAllowlistResolutionEntries, materializeWindowsSpawnProgram, mergeAllowFromEntries, mergeAllowlist, migrateBaseNameToDefaultAccount, missingTargetError, normalizeAccountId, normalizeAgentId, normalizeAllowFrom, normalizeChannelSlug, normalizeDiscordMessagingTarget, normalizeDiscordOutboundTarget, normalizeE164, normalizeHostnameSuffixAllowlist, normalizeIMessageMessagingTarget, normalizeAccountId$1 as normalizeLineAccountId, normalizeOutboundReplyPayload, normalizePluginHttpPath, normalizeResolvedSecretInputString, normalizeSecretInputString, normalizeSignalMessagingTarget, normalizeSlackMessagingTarget, normalizeTelegramMessagingTarget, normalizeWebhookPath, normalizeWhatsAppTarget, onDiagnosticEvent, optionalStringEnum, parseChatAllowTargetPrefixes, parseChatTargetPrefixesOrThrow, parseTelegramReplyToMessageId, parseTelegramThreadId, patchScopedAccountConfig, processLineMessage, promptAccountId, promptAndConfigureOllama, promptAndConfigureOpenAICompatibleSelfHostedProvider, promptAndConfigureVllm, promptChannelAccessConfig, promptSingleChannelSecretInput, rawDataToString, readBooleanParam, readJsonBodyWithLimit, readJsonFileWithFallback, readJsonWebhookBodyOrReject, readNumberParam, readReactionParams, readRequestBodyWithLimit, readStoreAllowFromForDmPolicy, readStringParam, readWebhookBodyOrReject, recordInboundSession, recordInboundSessionAndDispatchReply, recordPendingHistoryEntry, recordPendingHistoryEntryIfEnabled, redactSensitiveText, registerAcpRuntimeBackend, registerContextEngine, registerLogTransport, registerPluginHttpRoute, registerWebhookTarget, registerWebhookTargetWithPluginRoute, rejectDevicePairing, rejectNonPostWebhookRequest, removeAckReactionAfterReply, requestBodyErrorToText, requireAcpRuntimeBackend, requireApiKey, requireOpenAllowFrom, resetMissingProviderGroupPolicyFallbackWarningsForTesting, resolveAccountIdForConfigure, resolveAccountWithDefaultFallback, resolveAckReaction, resolveAllowlistCandidates, resolveAllowlistMatchByCandidates, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveBlueBubblesGroupRequireMention, resolveBlueBubblesGroupToolPolicy, resolveChannelAccountConfigBasePath, resolveChannelEntryMatch, resolveChannelEntryMatchWithFallback, resolveChannelGroupRequireMention, resolveChannelMediaMaxBytes, resolveControlCommandGate, resolveDefaultDiscordAccountId, resolveDefaultGroupPolicy, resolveDefaultIMessageAccountId, resolveDefaultLineAccountId, resolveDefaultSignalAccountId, resolveDefaultSlackAccountId, resolveDefaultTelegramAccountId, resolveDirectDmAuthorizationOutcome, resolveDiscordAccount, resolveDiscordGroupRequireMention, resolveDiscordGroupToolPolicy, resolveDmAllowState, resolveDmGroupAccessDecision, resolveDmGroupAccessWithCommandGate, resolveDmGroupAccessWithLists, resolveEffectiveAllowFromLists, resolveGatewayBindUrl, resolveGoogleChatGroupRequireMention, resolveGoogleChatGroupToolPolicy, resolveIMessageAccount, resolveIMessageConfigAllowFrom, resolveIMessageConfigDefaultTo, resolveIMessageGroupRequireMention, resolveIMessageGroupToolPolicy, resolveInboundRouteEnvelopeBuilder, resolveInboundRouteEnvelopeBuilderWithRuntime, resolveInboundSessionEnvelopeContext, resolveLineAccount, resolveMentionGating, resolveMentionGatingWithBypass, resolveNestedAllowlistDecision, resolveOpenProviderRuntimeGroupPolicy, resolveOptionalConfigString, resolveOutboundMediaUrls, resolvePreferredOpenClawTmpDir, resolveRequestUrl, resolveRuntimeEnv, resolveRuntimeEnvWithUnavailableExit, resolveRuntimeGroupPolicy, resolveSenderCommandAuthorization, resolveSenderCommandAuthorizationWithRuntime, resolveSenderScopedGroupPolicy, resolveServicePrefixedAllowTarget, resolveServicePrefixedChatTarget, resolveServicePrefixedOrChatAllowTarget, resolveServicePrefixedTarget, resolveSignalAccount, resolveSingleWebhookTarget, resolveSingleWebhookTargetAsync, resolveSlackAccount, resolveSlackGroupRequireMention, resolveSlackGroupToolPolicy, resolveSlackReplyToMode, resolveTailnetHostWithRunner, resolveTelegramAccount, resolveTelegramGroupRequireMention, resolveTelegramGroupToolPolicy, resolveThreadSessionKeys, resolveTimezone, resolveToolsBySender, resolveWebhookPath, resolveWebhookTargetWithAuthOrReject, resolveWebhookTargetWithAuthOrRejectSync, resolveWebhookTargets, resolveWhatsAppConfigAllowFrom, resolveWhatsAppConfigDefaultTo, resolveWhatsAppGroupRequireMention, resolveWhatsAppGroupToolPolicy, resolveWhatsAppOutboundTarget, resolveWindowsExecutablePath, resolveWindowsSpawnProgram, resolveWindowsSpawnProgramCandidate, runPassiveAccountLifecycle, runPluginCommandWithTimeout, safeParseJson, sendMediaWithLeadingCaption, sendPayloadWithChunkedTextAndMedia, setAccountEnabledInConfigSection, setTopLevelChannelAllowFrom, setTopLevelChannelDmPolicyWithAllowFrom, setTopLevelChannelGroupPolicy, shouldAckReaction, shouldAckReactionForWhatsApp, signalOnboardingAdapter, slackOnboardingAdapter, sleep, stringEnum, stripAnsi, stripMarkdown, summarizeMapping, tagDiscordChannelResult, telegramOnboardingAdapter, toFormUrlEncoded, toLocationContext, unbindThreadBindingsBySessionKey, unregisterAcpRuntimeBackend, waitUntilAbort, warnMissingProviderGroupPolicyFallbackOnce, withFileLock, withResolvedWebhookRequestPipeline, withTempDownloadPath, writeJsonFileAtomically };
|
package/dist/plugin-sdk/core.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Bi as buildVllmProvider, Ri as buildOllamaProvider, Vi as OLLAMA_DEFAULT_BASE_URL, _o as loadSecretFileSync, go as DEFAULT_SECRET_FILE_MAX_BYTES, vo as readSecretFileSync, yo as tryReadSecretFileSync, zi as buildSglangProvider } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Bi as buildVllmProvider, Ri as buildOllamaProvider, Vi as OLLAMA_DEFAULT_BASE_URL, _o as loadSecretFileSync, go as DEFAULT_SECRET_FILE_MAX_BYTES, vo as readSecretFileSync, yo as tryReadSecretFileSync, zi as buildSglangProvider } from "./thread-bindings-Cc59nx4d.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import { t as resolvePreferredOpenClawTmpDir } from "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-ChYs46vb.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
23
23
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
24
24
|
import { t as buildOauthProviderAuthResult } from "./provider-auth-result-BBgd8JKt.js";
|
|
25
|
-
import { t as runPluginCommandWithTimeout } from "./run-command-
|
|
25
|
+
import { t as runPluginCommandWithTimeout } from "./run-command-nYfMDZC3.js";
|
|
26
26
|
import { a as resolveGatewayBindUrl, i as resolveTailnetHostWithRunner, n as listDevicePairing, r as rejectDevicePairing, t as approveDevicePairing } from "./device-pairing-DcQt_7_T.js";
|
|
27
|
-
import { _ as promptAndConfigureOpenAICompatibleSelfHostedProviderAuth, a as promptAndConfigureVllm, c as ensureOllamaModelPulled, d as SELF_HOSTED_DEFAULT_COST, f as SELF_HOSTED_DEFAULT_MAX_TOKENS, g as promptAndConfigureOpenAICompatibleSelfHostedProvider, h as discoverOpenAICompatibleSelfHostedProvider, i as VLLM_DEFAULT_MAX_TOKENS, l as promptAndConfigureOllama, m as configureOpenAICompatibleSelfHostedProviderNonInteractive, n as VLLM_DEFAULT_CONTEXT_WINDOW, o as OLLAMA_DEFAULT_MODEL, p as applyProviderDefaultModel, r as VLLM_DEFAULT_COST, s as configureOllamaNonInteractive, t as VLLM_DEFAULT_BASE_URL, u as SELF_HOSTED_DEFAULT_CONTEXT_WINDOW } from "./vllm-setup-
|
|
27
|
+
import { _ as promptAndConfigureOpenAICompatibleSelfHostedProviderAuth, a as promptAndConfigureVllm, c as ensureOllamaModelPulled, d as SELF_HOSTED_DEFAULT_COST, f as SELF_HOSTED_DEFAULT_MAX_TOKENS, g as promptAndConfigureOpenAICompatibleSelfHostedProvider, h as discoverOpenAICompatibleSelfHostedProvider, i as VLLM_DEFAULT_MAX_TOKENS, l as promptAndConfigureOllama, m as configureOpenAICompatibleSelfHostedProviderNonInteractive, n as VLLM_DEFAULT_CONTEXT_WINDOW, o as OLLAMA_DEFAULT_MODEL, p as applyProviderDefaultModel, r as VLLM_DEFAULT_COST, s as configureOllamaNonInteractive, t as VLLM_DEFAULT_BASE_URL, u as SELF_HOSTED_DEFAULT_CONTEXT_WINDOW } from "./vllm-setup-R5M9rOvm.js";
|
|
28
28
|
export { DEFAULT_SECRET_FILE_MAX_BYTES, OLLAMA_DEFAULT_BASE_URL, OLLAMA_DEFAULT_MODEL, SELF_HOSTED_DEFAULT_CONTEXT_WINDOW, SELF_HOSTED_DEFAULT_COST, SELF_HOSTED_DEFAULT_MAX_TOKENS, VLLM_DEFAULT_BASE_URL, VLLM_DEFAULT_CONTEXT_WINDOW, VLLM_DEFAULT_COST, VLLM_DEFAULT_MAX_TOKENS, applyProviderDefaultModel, approveDevicePairing, buildOauthProviderAuthResult, buildOllamaProvider, buildSglangProvider, buildVllmProvider, configureOllamaNonInteractive, configureOpenAICompatibleSelfHostedProviderNonInteractive, discoverOpenAICompatibleSelfHostedProvider, emptyPluginConfigSchema, ensureOllamaModelPulled, listDevicePairing, loadSecretFileSync, promptAndConfigureOllama, promptAndConfigureOpenAICompatibleSelfHostedProvider, promptAndConfigureOpenAICompatibleSelfHostedProviderAuth, promptAndConfigureVllm, readSecretFileSync, rejectDevicePairing, resolveGatewayBindUrl, resolvePreferredOpenClawTmpDir, resolveTailnetHostWithRunner, runPluginCommandWithTimeout, tryReadSecretFileSync };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { qn as deliverOutboundPayloads } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { qn as deliverOutboundPayloads } from "./thread-bindings-Cc59nx4d.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-ChYs46vb.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { deliverOutboundPayloads };
|