remoteclaw 0.2.0 → 0.3.0-next.20260406214510.4ae2140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-Qulj3jS8.js → accounts-B0V43QEN.js} +1 -1
- package/dist/{accounts-PoAEsvXo.js → accounts-DObM4hAF.js} +2 -2
- package/dist/{accounts-C_7Xc5wa.js → accounts-DZ4c6f7x.js} +1 -1
- package/dist/{active-listener-nMUQ-dVt.js → active-listener-DVLYzYd3.js} +1 -1
- package/dist/{agent-O04J-JEw.js → agent-BMKTbTdP.js} +62 -62
- package/dist/{agent-scope-wbu0VZoq.js → agent-scope-CYJrXxD6.js} +1 -1
- package/dist/{bindings-0dx8vqz9.js → bindings-AUVd82yI.js} +2 -2
- package/dist/boot/handler.js +41 -41
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D47P56pj.js → channel-activity-CCyf_6AJ.js} +2 -2
- package/dist/{chunk-C5Oai9vm.js → chunk-Bu4IPOEd.js} +1 -1
- package/dist/command-logger/handler.js +1 -1
- package/dist/{commands-registry-CB3qR3Ui.js → commands-registry-DcV-WhwP.js} +3 -3
- package/dist/{config-Ca5Dfk8O.js → config-BIrnJuXL.js} +8 -8
- package/dist/{deliver-BTjGqSGN.js → deliver-CdPkmjPg.js} +8 -8
- package/dist/{dock-C0qWBS5h.js → dock-BQ3iSblF.js} +5 -5
- package/dist/{env-Bs-DOhs6.js → env-D3fELH5B.js} +1 -1
- package/dist/{errors-bgTXk4n7.js → errors-B1tZHTGk.js} +1 -1
- package/dist/{fetch-C-q-x9xS.js → fetch-B81mih-J.js} +1 -1
- package/dist/{image-ops-CAVojpnw.js → image-ops-CVdo4gVi.js} +2 -2
- package/dist/{ir-CDjoXuIW.js → ir-ClloDVrA.js} +6 -6
- package/dist/{logger-Bp0X6yHd.js → logger-DrzIGn8-.js} +1 -1
- package/dist/{login-DWKSrC5K.js → login-UXQk_t7h.js} +6 -6
- package/dist/{login-qr-C7zaGKxz.js → login-qr-uttDpBYW.js} +8 -8
- package/dist/{markdown-tables-Bm7xJUcn.js → markdown-tables-Cue-xfJ4.js} +1 -1
- package/dist/{message-channel-BuWy8hEk.js → message-channel-tSSi5C96.js} +1 -1
- package/dist/{outbound-CCvRhb_6.js → outbound-CTVAgyyW.js} +6 -6
- package/dist/{outbound-attachment-BXwueqll.js → outbound-attachment-qMvgJGYQ.js} +3 -3
- package/dist/{plugins-ODda1fNU.js → plugins-sjrWIkqk.js} +4 -4
- package/dist/{preflight-B9B3VBaW.js → preflight-DS6rYKdG.js} +5 -5
- package/dist/{redact-DUvSdQvv.js → redact-Cau5FPu_.js} +1 -1
- package/dist/{replies-Cu8SG6CK.js → replies-CYH287W7.js} +3 -3
- package/dist/{reply-payloads-DbQW7c5s.js → reply-payloads-ClULRidc.js} +4 -4
- package/dist/{reply-prefix-DwJ8gxoz.js → reply-prefix-DtN47aKW.js} +1 -1
- package/dist/{resolve-route-BBztqaX0.js → resolve-route-CfWm0ysv.js} +4 -4
- package/dist/{response-prefix-template-BgDMziqu.js → response-prefix-template-Bv9VuNoH.js} +1 -1
- package/dist/{send-D3Uuw_MA.js → send-B5t4V12i.js} +7 -7
- package/dist/{send-Cibl-r-E.js → send-Blx7toZs.js} +9 -9
- package/dist/{send-DgVCmydL.js → send-Cf3fK4fv.js} +6 -6
- package/dist/{send-C2J41ICD.js → send-CpLSYDDo.js} +7 -7
- package/dist/{send-CeBdN3Dp.js → send-DSBqiPC7.js} +12 -12
- package/dist/{session-Bj8e8O8R.js → session-IUmTrU6A.js} +4 -4
- package/dist/{sessions-BePPqEtN.js → sessions-DpOx95Jg.js} +5 -5
- package/dist/{shell-env-DPAvieDD.js → shell-env-CKQ7fvtT.js} +1 -1
- package/dist/{subagent-registry-DvnyYXMs.js → subagent-registry-CjZZthdd.js} +17 -17
- package/dist/{subsystem-DLQY6iY4.js → subsystem-9R2eOxp2.js} +2 -2
- package/dist/{tables-Bk8AXTIS.js → tables-Ds9F-Qwh.js} +1 -1
- package/dist/{tokens-CgIfCmK3.js → tokens-CFajuiSx.js} +1 -1
- package/dist/{tool-images-BMnWMHwL.js → tool-images-CLn-X-x_.js} +1 -1
- package/dist/{web-CKces-ap.js → web-CfmGrH7Z.js} +45 -45
- package/dist/{whatsapp-actions-BzyFEHw4.js → whatsapp-actions-BHjELx1D.js} +18 -18
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-DObM4hAF.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as info, M as resolveUserPath, O as jidToE164, W as success, ot as resolveOAuthDir, q as getChildLogger, r as defaultRuntime } from "./subsystem-
|
|
1
|
+
import { B as info, M as resolveUserPath, O as jidToE164, W as success, ot as resolveOAuthDir, q as getChildLogger, r as defaultRuntime } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
import { d as DEFAULT_ACCOUNT_ID, f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
3
|
-
import { n as formatCliCommand } from "./env-
|
|
3
|
+
import { n as formatCliCommand } from "./env-D3fELH5B.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-DObM4hAF.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as DEFAULT_ACCOUNT_ID } from "./session-key-X7pmdLBX.js";
|
|
2
|
-
import { n as formatCliCommand } from "./env-
|
|
2
|
+
import { n as formatCliCommand } from "./env-D3fELH5B.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as createInternalHookEvent, E as isRecord$1, F as sleep$1, G as warn, K as theme, L as truncateUtf16Safe, M as resolveUserPath, Q as resolvePreferredRemoteClawTmpDir, S as CONFIG_DIR, T as escapeRegExp, U as shouldLogVerbose, V as logVerbose, Z as normalizeLogLevel, _ as clearPluginCommands, at as resolveGatewayPort, b as listPluginCommands, c as normalizeAnyChannelId, d as getActivePluginRegistry, f as getActivePluginRegistryKey, g as normalizePluginHttpPath, h as createPluginRegistry, k as normalizeE164, l as normalizeChannelId, lt as resolveRequiredHomeDir, m as setActivePluginRegistry, n as createNonExitingRuntime, nt as STATE_DIR, o as getChatChannelMeta, p as requireActivePluginRegistry, q as getChildLogger, r as defaultRuntime, s as listChatChannels, st as resolveStateDir, t as createSubsystemLogger, tt as triggerInternalHook, u as normalizeChatChannelId, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs, z as danger } from "./subsystem-
|
|
2
|
+
import { $ as createInternalHookEvent, E as isRecord$1, F as sleep$1, G as warn, K as theme, L as truncateUtf16Safe, M as resolveUserPath, Q as resolvePreferredRemoteClawTmpDir, S as CONFIG_DIR, T as escapeRegExp, U as shouldLogVerbose, V as logVerbose, Z as normalizeLogLevel, _ as clearPluginCommands, at as resolveGatewayPort, b as listPluginCommands, c as normalizeAnyChannelId, d as getActivePluginRegistry, f as getActivePluginRegistryKey, g as normalizePluginHttpPath, h as createPluginRegistry, k as normalizeE164, l as normalizeChannelId, lt as resolveRequiredHomeDir, m as setActivePluginRegistry, n as createNonExitingRuntime, nt as STATE_DIR, o as getChatChannelMeta, p as requireActivePluginRegistry, q as getChildLogger, r as defaultRuntime, s as listChatChannels, st as resolveStateDir, t as createSubsystemLogger, tt as triggerInternalHook, u as normalizeChatChannelId, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs, z as danger } from "./subsystem-9R2eOxp2.js";
|
|
3
3
|
import { _ as parseAgentSessionKey, c as resolveAgentIdFromSessionKey, d as DEFAULT_ACCOUNT_ID, f as normalizeAccountId$2, h as deriveSessionChatType, l as resolveThreadSessionKeys, m as isBlockedObjectKey, o as normalizeAgentId, p as normalizeOptionalAccountId, s as normalizeMainKey } from "./session-key-X7pmdLBX.js";
|
|
4
|
-
import { a as resolveAgentRuntimeArgs, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, n as resolveAgentAuth, o as resolveAgentRuntimeEnv, r as resolveAgentConfig, s as resolveAgentRuntimeOrThrow, t as listAgentIds, u as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { n as formatCliCommand } from "./env-
|
|
6
|
-
import { a as getWebAuthAgeMs, d as readWebSelfId, h as webAuthExists, n as resolveWhatsAppAccount, o as logWebSelfId, s as logoutWeb, t as hasAnyWhatsAppAuth } from "./accounts-
|
|
7
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText } from "./tokens-
|
|
4
|
+
import { a as resolveAgentRuntimeArgs, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, n as resolveAgentAuth, o as resolveAgentRuntimeEnv, r as resolveAgentConfig, s as resolveAgentRuntimeOrThrow, t as listAgentIds, u as resolveDefaultAgentId } from "./agent-scope-CYJrXxD6.js";
|
|
5
|
+
import { n as formatCliCommand } from "./env-D3fELH5B.js";
|
|
6
|
+
import { a as getWebAuthAgeMs, d as readWebSelfId, h as webAuthExists, n as resolveWhatsAppAccount, o as logWebSelfId, s as logoutWeb, t as hasAnyWhatsAppAuth } from "./accounts-DObM4hAF.js";
|
|
7
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText } from "./tokens-CFajuiSx.js";
|
|
8
8
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
9
|
-
import { a as normalizeStringEntries, c as resolveChannelGroupRequireMention, i as normalizeHyphenSlug, n as listChannelDocks, o as normalizeStringEntriesLower, r as normalizeSignalMessagingTarget, s as resolveChannelGroupPolicy, t as getChannelDock } from "./dock-
|
|
10
|
-
import { _ as resolveDiscordAccount, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$1, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-
|
|
11
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
12
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
9
|
+
import { a as normalizeStringEntries, c as resolveChannelGroupRequireMention, i as normalizeHyphenSlug, n as listChannelDocks, o as normalizeStringEntriesLower, r as normalizeSignalMessagingTarget, s as resolveChannelGroupPolicy, t as getChannelDock } from "./dock-BQ3iSblF.js";
|
|
10
|
+
import { _ as resolveDiscordAccount, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$1, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-sjrWIkqk.js";
|
|
11
|
+
import { t as resolveIMessageAccount } from "./accounts-DZ4c6f7x.js";
|
|
12
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-B0V43QEN.js";
|
|
13
13
|
import { t as normalizeChatType } from "./chat-type-Coeec2xt.js";
|
|
14
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
15
|
-
import { $ as hasAnyGuildPermissionDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as applyChannelMatchMeta, D as pinMessageDiscord, E as listThreadsDiscord, Et as resolveChannelEntryMatchWithFallback, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as fetchChannelPermissionsDiscord, R as kickMemberDiscord, S as deleteMessageDiscord, St as fetchDiscord, T as listPinsDiscord, Tt as normalizeChannelSlug, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as shouldEmitDiscordReactionNotification, a as removeReactionDiscord, at as listDiscordDirectoryPeersLive, b as sendWebhookMessageDiscord, bt as resolveDiscordSystemLocation, c as formatDiscordComponentEventText, ct as normalizeDiscordAllowList, d as parseDiscordModalCustomId, dt as resolveDiscordChannelConfigWithFallback, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordGuildEntry, g as sendMessageDiscord, gt as resolveGroupDmAllow, h as resolveDiscordModalEntry, ht as resolveDiscordShouldRequireMention, i as removeOwnReactionsDiscord, it as listDiscordDirectoryGroupsLive, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordSlug, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as allowListMatches$1, p as readDiscordComponentSpec, pt as resolveDiscordMemberAccessState, q as deleteChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as isDiscordGroupAllowedByPolicy, tt as createDiscordRestClient, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordAllowListMatch, v as sendStickerDiscord, vt as formatDiscordReactionEmoji, w as fetchMessageDiscord, wt as buildChannelKeyCandidates, x as createThreadDiscord, xt as resolveTimestampMs, y as sendVoiceMessageDiscord, yt as formatDiscordUserTag, z as listGuildChannelsDiscord } from "./send-
|
|
16
|
-
import { f as normalizeModelRef, l as isCliProvider, m as parseModelRef, p as normalizeProviderId, u as modelKey } from "./shell-env-
|
|
17
|
-
import { A as safeStatSync, B as setConfigValueAtPath, C as isAvatarHttpUrl, D as loadPluginManifestRegistry, E as validateJsonSchemaValue, F as resetConfigOverrides, H as openBoundaryFileSync, I as setConfigOverride, J as VERSION, K as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, L as unsetConfigOverride, M as normalizePluginsConfig, N as resolveEffectiveEnableState, O as discoverRemoteClawPlugins, P as getConfigOverrides, R as getConfigValueAtPath, S as isAvatarDataUrl, T as isSupportedLocalAvatarExtension, V as unsetConfigValueAtPath, _ as normalizeScpRemoteHost, a as validateConfigObjectWithPlugins, c as resolveTelegramCustomCommands, d as resolveSlackNativeStreaming, f as resolveSlackStreamingMode, g as resolveIMessageRemoteAttachmentRoots, h as resolveIMessageAttachmentRoots, i as writeConfigFile, j as applyTestPluginDefaults, k as isPathInside, l as mapStreamingModeToSlackLegacyDraftStreamMode, m as isInboundPathAllowed, n as readConfigFileSnapshot, o as TELEGRAM_COMMAND_NAME_PATTERN, q as resolveAgentMaxConcurrent, s as normalizeTelegramCommandName, t as loadConfig, u as resolveDiscordPreviewStreamMode, v as isSafeExecutableValue, w as isPathWithinRoot, x as AVATAR_MAX_BYTES, y as parseDurationMs, z as parseConfigPath } from "./config-
|
|
18
|
-
import { a as listDeliverableMessageChannels, i as isInternalMessageChannel, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isGatewayMessageChannel, s as resolveMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
19
|
-
import { A as resolveDefaultSessionStorePath, B as resolveGroupSessionKey, C as resolveSessionKey, D as resolveSessionResetType, E as resolveSessionResetPolicy, F as resolveStorePath, L as resolveExplicitAgentSessionKey, M as resolveSessionFilePathOptions, N as resolveSessionTranscriptPath, O as resolveThreadFlag, P as resolveSessionTranscriptsDirForAgent, T as resolveChannelResetConfig, _ as normalizeAccountId$3, a as resolveAndPersistSessionFile, b as extractToolCallNames, c as readSessionUpdatedAt, d as updateSessionStore, f as updateSessionStoreEntry, g as normalizeSessionDeliveryFields, h as normalizeDeliveryContext, j as resolveSessionFilePath, k as DEFAULT_RESET_TRIGGERS, l as recordSessionMetaFromInbound, n as parseSessionThreadInfo, o as CURRENT_SESSION_VERSION, p as deliveryContextFromSession, s as loadSessionStore, u as updateLastRoute, v as archiveSessionTranscripts, w as evaluateSessionFreshness, y as countToolResults, z as deriveSessionMetaPatch } from "./sessions-
|
|
14
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-B5t4V12i.js";
|
|
15
|
+
import { $ as hasAnyGuildPermissionDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as applyChannelMatchMeta, D as pinMessageDiscord, E as listThreadsDiscord, Et as resolveChannelEntryMatchWithFallback, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as fetchChannelPermissionsDiscord, R as kickMemberDiscord, S as deleteMessageDiscord, St as fetchDiscord, T as listPinsDiscord, Tt as normalizeChannelSlug, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as shouldEmitDiscordReactionNotification, a as removeReactionDiscord, at as listDiscordDirectoryPeersLive, b as sendWebhookMessageDiscord, bt as resolveDiscordSystemLocation, c as formatDiscordComponentEventText, ct as normalizeDiscordAllowList, d as parseDiscordModalCustomId, dt as resolveDiscordChannelConfigWithFallback, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordGuildEntry, g as sendMessageDiscord, gt as resolveGroupDmAllow, h as resolveDiscordModalEntry, ht as resolveDiscordShouldRequireMention, i as removeOwnReactionsDiscord, it as listDiscordDirectoryGroupsLive, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordSlug, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as allowListMatches$1, p as readDiscordComponentSpec, pt as resolveDiscordMemberAccessState, q as deleteChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as isDiscordGroupAllowedByPolicy, tt as createDiscordRestClient, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordAllowListMatch, v as sendStickerDiscord, vt as formatDiscordReactionEmoji, w as fetchMessageDiscord, wt as buildChannelKeyCandidates, x as createThreadDiscord, xt as resolveTimestampMs, y as sendVoiceMessageDiscord, yt as formatDiscordUserTag, z as listGuildChannelsDiscord } from "./send-Blx7toZs.js";
|
|
16
|
+
import { f as normalizeModelRef, l as isCliProvider, m as parseModelRef, p as normalizeProviderId, u as modelKey } from "./shell-env-CKQ7fvtT.js";
|
|
17
|
+
import { A as safeStatSync, B as setConfigValueAtPath, C as isAvatarHttpUrl, D as loadPluginManifestRegistry, E as validateJsonSchemaValue, F as resetConfigOverrides, H as openBoundaryFileSync, I as setConfigOverride, J as VERSION, K as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, L as unsetConfigOverride, M as normalizePluginsConfig, N as resolveEffectiveEnableState, O as discoverRemoteClawPlugins, P as getConfigOverrides, R as getConfigValueAtPath, S as isAvatarDataUrl, T as isSupportedLocalAvatarExtension, V as unsetConfigValueAtPath, _ as normalizeScpRemoteHost, a as validateConfigObjectWithPlugins, c as resolveTelegramCustomCommands, d as resolveSlackNativeStreaming, f as resolveSlackStreamingMode, g as resolveIMessageRemoteAttachmentRoots, h as resolveIMessageAttachmentRoots, i as writeConfigFile, j as applyTestPluginDefaults, k as isPathInside, l as mapStreamingModeToSlackLegacyDraftStreamMode, m as isInboundPathAllowed, n as readConfigFileSnapshot, o as TELEGRAM_COMMAND_NAME_PATTERN, q as resolveAgentMaxConcurrent, s as normalizeTelegramCommandName, t as loadConfig, u as resolveDiscordPreviewStreamMode, v as isSafeExecutableValue, w as isPathWithinRoot, x as AVATAR_MAX_BYTES, y as parseDurationMs, z as parseConfigPath } from "./config-BIrnJuXL.js";
|
|
18
|
+
import { a as listDeliverableMessageChannels, i as isInternalMessageChannel, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isGatewayMessageChannel, s as resolveMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-tSSi5C96.js";
|
|
19
|
+
import { A as resolveDefaultSessionStorePath, B as resolveGroupSessionKey, C as resolveSessionKey, D as resolveSessionResetType, E as resolveSessionResetPolicy, F as resolveStorePath, L as resolveExplicitAgentSessionKey, M as resolveSessionFilePathOptions, N as resolveSessionTranscriptPath, O as resolveThreadFlag, P as resolveSessionTranscriptsDirForAgent, T as resolveChannelResetConfig, _ as normalizeAccountId$3, a as resolveAndPersistSessionFile, b as extractToolCallNames, c as readSessionUpdatedAt, d as updateSessionStore, f as updateSessionStoreEntry, g as normalizeSessionDeliveryFields, h as normalizeDeliveryContext, j as resolveSessionFilePath, k as DEFAULT_RESET_TRIGGERS, l as recordSessionMetaFromInbound, n as parseSessionThreadInfo, o as CURRENT_SESSION_VERSION, p as deliveryContextFromSession, s as loadSessionStore, u as updateLastRoute, v as archiveSessionTranscripts, w as evaluateSessionFreshness, y as countToolResults, z as deriveSessionMetaPatch } from "./sessions-DpOx95Jg.js";
|
|
20
20
|
import { n as resolveConversationLabel } from "./conversation-label-Dg3yLt9j.js";
|
|
21
|
-
import { A as createReceiptCard, B as logWebhookReceived, C as resolveQueueSettings, D as isRoutableChannel, E as scheduleFollowupDrain, F as logMessageProcessed, G as extractQueueDirective, H as stopDiagnosticHeartbeat, I as logMessageQueued, J as AGENT_LANE_SUBAGENT, K as callGateway, L as logSessionStateChange, M as clearSessionQueues, N as clearCommandLane, O as routeReply, P as getQueueSize, Q as resolveGatewayCredentialsFromConfig, R as logWebhookError, S as unregisterSessionBindingAdapter, T as getFollowupQueueDepth, U as emitDiagnosticEvent, V as startDiagnosticHeartbeat, W as isDiagnosticsEnabled, X as emitAgentEvent, Y as clearAgentRunContext, Z as registerAgentRunContext, _ as resolveMainSessionAlias, a as markSubagentRunTerminated, b as getSessionBindingService, d as extractAssistantText, f as sanitizeTextContent, g as resolveInternalSessionKey, h as resolveDisplaySessionKey, i as markSubagentRunForSteerRestart, j as buildOutboundSessionContext, k as normalizeReplyPayload, l as resolveAgentTimeoutMs, m as stripReasoningTagsFromText, n as countActiveRunsForSession, o as registerSubagentRun, p as stripToolMessages, q as AGENT_LANE_NESTED, r as listSubagentRunsForRequester, s as replaceSubagentRunAfterSteer, t as clearSubagentRunSteerRestart, u as buildSubagentSystemPrompt, v as getSubagentDepthFromSessionStore, w as enqueueFollowupRun, x as registerSessionBindingAdapter, y as extractTextFromChatContent, z as logWebhookProcessed } from "./subagent-registry-
|
|
22
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
23
|
-
import { a as isRenderablePayload, c as createReplyToModeFilterForChannel, d as isContextOverflowError, f as isLikelyContextOverflowError, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as filterMessagingToolMediaDuplicates, l as resolveReplyToMode, m as sanitizeUserFacingText, n as applyReplyThreading, o as shouldSuppressMessagingToolReplies, p as isTransientHttpError, r as filterMessagingToolDuplicates, s as shouldSuppressReasoningPayload, t as applyReplyTagsToPayload, u as isCompactionFailureError } from "./reply-payloads-
|
|
21
|
+
import { A as createReceiptCard, B as logWebhookReceived, C as resolveQueueSettings, D as isRoutableChannel, E as scheduleFollowupDrain, F as logMessageProcessed, G as extractQueueDirective, H as stopDiagnosticHeartbeat, I as logMessageQueued, J as AGENT_LANE_SUBAGENT, K as callGateway, L as logSessionStateChange, M as clearSessionQueues, N as clearCommandLane, O as routeReply, P as getQueueSize, Q as resolveGatewayCredentialsFromConfig, R as logWebhookError, S as unregisterSessionBindingAdapter, T as getFollowupQueueDepth, U as emitDiagnosticEvent, V as startDiagnosticHeartbeat, W as isDiagnosticsEnabled, X as emitAgentEvent, Y as clearAgentRunContext, Z as registerAgentRunContext, _ as resolveMainSessionAlias, a as markSubagentRunTerminated, b as getSessionBindingService, d as extractAssistantText, f as sanitizeTextContent, g as resolveInternalSessionKey, h as resolveDisplaySessionKey, i as markSubagentRunForSteerRestart, j as buildOutboundSessionContext, k as normalizeReplyPayload, l as resolveAgentTimeoutMs, m as stripReasoningTagsFromText, n as countActiveRunsForSession, o as registerSubagentRun, p as stripToolMessages, q as AGENT_LANE_NESTED, r as listSubagentRunsForRequester, s as replaceSubagentRunAfterSteer, t as clearSubagentRunSteerRestart, u as buildSubagentSystemPrompt, v as getSubagentDepthFromSessionStore, w as enqueueFollowupRun, x as registerSessionBindingAdapter, y as extractTextFromChatContent, z as logWebhookProcessed } from "./subagent-registry-CjZZthdd.js";
|
|
22
|
+
import { n as logError, t as logDebug } from "./logger-DrzIGn8-.js";
|
|
23
|
+
import { a as isRenderablePayload, c as createReplyToModeFilterForChannel, d as isContextOverflowError, f as isLikelyContextOverflowError, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as filterMessagingToolMediaDuplicates, l as resolveReplyToMode, m as sanitizeUserFacingText, n as applyReplyThreading, o as shouldSuppressMessagingToolReplies, p as isTransientHttpError, r as filterMessagingToolDuplicates, s as shouldSuppressReasoningPayload, t as applyReplyTagsToPayload, u as isCompactionFailureError } from "./reply-payloads-ClULRidc.js";
|
|
24
24
|
import { n as fetchWithTimeout } from "./fetch-timeout-DTIN7CGM.js";
|
|
25
|
-
import { f as normalizeHostname, i as extensionForMime$1, n as fetchRemoteMedia, o as isAudioFileName, r as detectMime, s as isGifMedia, t as MediaFetchError, u as mediaKindFromMime } from "./fetch-
|
|
25
|
+
import { f as normalizeHostname, i as extensionForMime$1, n as fetchRemoteMedia, o as isAudioFileName, r as detectMime, s as isGifMedia, t as MediaFetchError, u as mediaKindFromMime } from "./fetch-B81mih-J.js";
|
|
26
26
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-B_D1a6ac.js";
|
|
27
|
-
import { n as recordChannelActivity, o as retryAsync, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
28
|
-
import { $ as getPairingAdapter, A as hasBotMention, B as normalizeDmAllowFromWithStore, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as resolveGroupAllowFromSources, H as firstDefined$1, I as resolveTelegramStreamMode, J as withTelegramApiErrorLogging, K as formatLocationText, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as upsertChannelPairingRequest, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeDmAllowFromSources, X as readChannelAllowFromStore, Y as addChannelAllowFromStoreEntry, Z as removeChannelAllowFromStoreEntry, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as listPairingChannels, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as parseTelegramTarget, o as sendMessageTelegram, p as markdownToTelegramChunks, q as toLocationContext, r as deleteMessageTelegram, rt as resolveTelegramTargetChatType, s as sendPollTelegram, t as buildInlineKeyboard, tt as isVoiceCompatibleAudio, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFrom$2 } from "./send-
|
|
29
|
-
import { a as resolveEffectiveMessagesConfig, i as resolveAgentIdentity, o as resolveHumanDelayConfig, r as resolveAckReaction } from "./response-prefix-template-
|
|
30
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
31
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
32
|
-
import { i as loadWebMedia, o as getAgentScopedMediaLocalRoots } from "./ir-
|
|
33
|
-
import { a as resizeToJpeg, n as getImageMetadata, o as runCommandWithTimeout } from "./image-ops-
|
|
27
|
+
import { n as recordChannelActivity, o as retryAsync, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CCyf_6AJ.js";
|
|
28
|
+
import { $ as getPairingAdapter, A as hasBotMention, B as normalizeDmAllowFromWithStore, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as resolveGroupAllowFromSources, H as firstDefined$1, I as resolveTelegramStreamMode, J as withTelegramApiErrorLogging, K as formatLocationText, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as upsertChannelPairingRequest, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeDmAllowFromSources, X as readChannelAllowFromStore, Y as addChannelAllowFromStoreEntry, Z as removeChannelAllowFromStoreEntry, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as listPairingChannels, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as parseTelegramTarget, o as sendMessageTelegram, p as markdownToTelegramChunks, q as toLocationContext, r as deleteMessageTelegram, rt as resolveTelegramTargetChatType, s as sendPollTelegram, t as buildInlineKeyboard, tt as isVoiceCompatibleAudio, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFrom$2 } from "./send-DSBqiPC7.js";
|
|
29
|
+
import { a as resolveEffectiveMessagesConfig, i as resolveAgentIdentity, o as resolveHumanDelayConfig, r as resolveAckReaction } from "./response-prefix-template-Bv9VuNoH.js";
|
|
30
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-Bu4IPOEd.js";
|
|
31
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Cue-xfJ4.js";
|
|
32
|
+
import { i as loadWebMedia, o as getAgentScopedMediaLocalRoots } from "./ir-ClloDVrA.js";
|
|
33
|
+
import { a as resizeToJpeg, n as getImageMetadata, o as runCommandWithTimeout } from "./image-ops-CVdo4gVi.js";
|
|
34
34
|
import { a as parseAvailableTags, c as readStringArrayParam, i as jsonResult, l as readStringOrNumberParam, o as readNumberParam, r as createActionGate, s as readReactionParams, t as missingTargetError, u as readStringParam } from "./target-errors-owiG6LWY.js";
|
|
35
|
-
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-
|
|
35
|
+
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-DcV-WhwP.js";
|
|
36
36
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CRyYLqpu.js";
|
|
37
|
-
import { a as clearExpiredCooldowns, c as resolveProfileUnusableUntil, d as ensureAuthProfileStore, f as normalizeSecretInput, i as resolveModelAuthMode, l as resolveApiKeyForProfile, n as transcribeFirstAudio, o as isProfileInCooldown, r as resolveApiKeyForProvider, s as markAuthProfileUsed, u as listProfilesForProvider } from "./preflight-
|
|
38
|
-
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-
|
|
39
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
37
|
+
import { a as clearExpiredCooldowns, c as resolveProfileUnusableUntil, d as ensureAuthProfileStore, f as normalizeSecretInput, i as resolveModelAuthMode, l as resolveApiKeyForProfile, n as transcribeFirstAudio, o as isProfileInCooldown, r as resolveApiKeyForProvider, s as markAuthProfileUsed, u as listProfilesForProvider } from "./preflight-DS6rYKdG.js";
|
|
38
|
+
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-B1tZHTGk.js";
|
|
39
|
+
import { t as convertMarkdownTables } from "./tables-Ds9F-Qwh.js";
|
|
40
40
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B_UuvbNQ.js";
|
|
41
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, o as parseReplyDirectives, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
41
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, o as parseReplyDirectives, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CdPkmjPg.js";
|
|
42
42
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DbddR753.js";
|
|
43
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
43
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-Cf3fK4fv.js";
|
|
44
44
|
import { t as makeProxyFetch } from "./proxy-HXV2llPX.js";
|
|
45
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
46
|
-
import { n as saveMediaBuffer } from "./outbound-attachment-
|
|
47
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
48
|
-
import { t as createReplyPrefixOptions } from "./reply-prefix-
|
|
49
|
-
import { a as normalizeIMessageHandle, i as isAllowedIMessageSender, o as createIMessageRpcClient, r as formatIMessageChatTarget, s as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, t as sendMessageIMessage } from "./send-
|
|
50
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
45
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-CfWm0ysv.js";
|
|
46
|
+
import { n as saveMediaBuffer } from "./outbound-attachment-qMvgJGYQ.js";
|
|
47
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CYH287W7.js";
|
|
48
|
+
import { t as createReplyPrefixOptions } from "./reply-prefix-DtN47aKW.js";
|
|
49
|
+
import { a as normalizeIMessageHandle, i as isAllowedIMessageSender, o as createIMessageRpcClient, r as formatIMessageChatTarget, s as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, t as sendMessageIMessage } from "./send-CpLSYDDo.js";
|
|
50
|
+
import { t as getActiveWebListener } from "./active-listener-DVLYzYd3.js";
|
|
51
51
|
import { createRequire } from "node:module";
|
|
52
52
|
import path, { join } from "node:path";
|
|
53
53
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -60,7 +60,7 @@ import { fileURLToPath } from "node:url";
|
|
|
60
60
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
61
61
|
import readline, { createInterface } from "node:readline";
|
|
62
62
|
import { createJiti } from "jiti";
|
|
63
|
-
import WebSocket
|
|
63
|
+
import WebSocket from "ws";
|
|
64
64
|
import { Type } from "@sinclair/typebox";
|
|
65
65
|
import { EdgeTTS } from "node-edge-tts";
|
|
66
66
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
@@ -96,27 +96,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
96
96
|
function createDefaultDeps() {
|
|
97
97
|
return {
|
|
98
98
|
sendMessageWhatsApp: async (...args) => {
|
|
99
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
99
|
+
const { sendMessageWhatsApp } = await import("./web-CfmGrH7Z.js");
|
|
100
100
|
return await sendMessageWhatsApp(...args);
|
|
101
101
|
},
|
|
102
102
|
sendMessageTelegram: async (...args) => {
|
|
103
|
-
const { sendMessageTelegram } = await import("./send-
|
|
103
|
+
const { sendMessageTelegram } = await import("./send-DSBqiPC7.js").then((n) => n.l);
|
|
104
104
|
return await sendMessageTelegram(...args);
|
|
105
105
|
},
|
|
106
106
|
sendMessageDiscord: async (...args) => {
|
|
107
|
-
const { sendMessageDiscord } = await import("./send-
|
|
107
|
+
const { sendMessageDiscord } = await import("./send-Blx7toZs.js").then((n) => n.t);
|
|
108
108
|
return await sendMessageDiscord(...args);
|
|
109
109
|
},
|
|
110
110
|
sendMessageSlack: async (...args) => {
|
|
111
|
-
const { sendMessageSlack } = await import("./send-
|
|
111
|
+
const { sendMessageSlack } = await import("./send-B5t4V12i.js").then((n) => n.n);
|
|
112
112
|
return await sendMessageSlack(...args);
|
|
113
113
|
},
|
|
114
114
|
sendMessageSignal: async (...args) => {
|
|
115
|
-
const { sendMessageSignal } = await import("./send-
|
|
115
|
+
const { sendMessageSignal } = await import("./send-Cf3fK4fv.js").then((n) => n.i);
|
|
116
116
|
return await sendMessageSignal(...args);
|
|
117
117
|
},
|
|
118
118
|
sendMessageIMessage: async (...args) => {
|
|
119
|
-
const { sendMessageIMessage } = await import("./send-
|
|
119
|
+
const { sendMessageIMessage } = await import("./send-CpLSYDDo.js").then((n) => n.n);
|
|
120
120
|
return await sendMessageIMessage(...args);
|
|
121
121
|
}
|
|
122
122
|
};
|
|
@@ -15543,7 +15543,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
15543
15543
|
return;
|
|
15544
15544
|
}
|
|
15545
15545
|
try {
|
|
15546
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
15546
|
+
const { deliverOutboundPayloads } = await import("./deliver-CdPkmjPg.js").then((n) => n.n);
|
|
15547
15547
|
const outboundSession = buildOutboundSessionContext({
|
|
15548
15548
|
cfg: params.cfg,
|
|
15549
15549
|
sessionKey: params.sessionKey
|
|
@@ -19639,7 +19639,7 @@ function createWhatsAppLoginTool() {
|
|
|
19639
19639
|
force: Type.Optional(Type.Boolean())
|
|
19640
19640
|
}),
|
|
19641
19641
|
execute: async (_toolCallId, args) => {
|
|
19642
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
19642
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-uttDpBYW.js");
|
|
19643
19643
|
if ((args?.action ?? "start") === "wait") {
|
|
19644
19644
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
19645
19645
|
return {
|
|
@@ -21464,7 +21464,7 @@ async function preflightDiscordMessage(params) {
|
|
|
21464
21464
|
let preflightTranscript;
|
|
21465
21465
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
21466
21466
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
21467
|
-
const { transcribeFirstAudio } = await import("./preflight-
|
|
21467
|
+
const { transcribeFirstAudio } = await import("./preflight-DS6rYKdG.js").then((n) => n.t);
|
|
21468
21468
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
21469
21469
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
21470
21470
|
ctx: {
|
|
@@ -26389,7 +26389,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
26389
26389
|
return super.registerClient(client);
|
|
26390
26390
|
}
|
|
26391
26391
|
createWebSocket(url) {
|
|
26392
|
-
return new WebSocket
|
|
26392
|
+
return new WebSocket(url, { agent: wsAgent });
|
|
26393
26393
|
}
|
|
26394
26394
|
}
|
|
26395
26395
|
return new ProxyGatewayPlugin();
|
|
@@ -34598,7 +34598,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
34598
34598
|
}
|
|
34599
34599
|
let commandsRegistry;
|
|
34600
34600
|
async function getCommandsRegistry() {
|
|
34601
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
34601
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-DcV-WhwP.js").then((n) => n.n);
|
|
34602
34602
|
return commandsRegistry;
|
|
34603
34603
|
}
|
|
34604
34604
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -34922,14 +34922,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
34922
34922
|
const channelName = channelInfo?.name;
|
|
34923
34923
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
34924
34924
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
34925
|
-
import("./resolve-route-
|
|
34925
|
+
import("./resolve-route-CfWm0ysv.js").then((n) => n.r),
|
|
34926
34926
|
import("./inbound-context-DbddR753.js").then((n) => n.n),
|
|
34927
34927
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
34928
34928
|
]);
|
|
34929
34929
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
34930
34930
|
import("./conversation-label-Dg3yLt9j.js").then((n) => n.t),
|
|
34931
|
-
import("./reply-prefix-
|
|
34932
|
-
import("./sessions-
|
|
34931
|
+
import("./reply-prefix-DtN47aKW.js").then((n) => n.n),
|
|
34932
|
+
import("./sessions-DpOx95Jg.js").then((n) => n.t)
|
|
34933
34933
|
]);
|
|
34934
34934
|
const route = resolveAgentRoute({
|
|
34935
34935
|
cfg,
|
|
@@ -34997,9 +34997,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
34997
34997
|
});
|
|
34998
34998
|
const deliverSlashPayloads = async (replies) => {
|
|
34999
34999
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
35000
|
-
import("./replies-
|
|
35001
|
-
import("./chunk-
|
|
35002
|
-
import("./markdown-tables-
|
|
35000
|
+
import("./replies-CYH287W7.js").then((n) => n.r),
|
|
35001
|
+
import("./chunk-Bu4IPOEd.js").then((n) => n.s),
|
|
35002
|
+
import("./markdown-tables-Cue-xfJ4.js").then((n) => n.t)
|
|
35003
35003
|
]);
|
|
35004
35004
|
await deliverSlackSlashReplies({
|
|
35005
35005
|
replies,
|
|
@@ -37307,7 +37307,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
37307
37307
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
37308
37308
|
let preflightTranscript;
|
|
37309
37309
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
37310
|
-
const { transcribeFirstAudio } = await import("./preflight-
|
|
37310
|
+
const { transcribeFirstAudio } = await import("./preflight-DS6rYKdG.js").then((n) => n.t);
|
|
37311
37311
|
preflightTranscript = await transcribeFirstAudio({
|
|
37312
37312
|
ctx: {
|
|
37313
37313
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -39625,23 +39625,23 @@ let webLoginQrPromise = null;
|
|
|
39625
39625
|
let webChannelPromise = null;
|
|
39626
39626
|
let whatsappActionsPromise = null;
|
|
39627
39627
|
function loadWebOutbound() {
|
|
39628
|
-
webOutboundPromise ??= import("./outbound-
|
|
39628
|
+
webOutboundPromise ??= import("./outbound-CTVAgyyW.js").then((n) => n.t);
|
|
39629
39629
|
return webOutboundPromise;
|
|
39630
39630
|
}
|
|
39631
39631
|
function loadWebLogin() {
|
|
39632
|
-
webLoginPromise ??= import("./login-
|
|
39632
|
+
webLoginPromise ??= import("./login-UXQk_t7h.js").then((n) => n.n);
|
|
39633
39633
|
return webLoginPromise;
|
|
39634
39634
|
}
|
|
39635
39635
|
function loadWebLoginQr() {
|
|
39636
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
39636
|
+
webLoginQrPromise ??= import("./login-qr-uttDpBYW.js");
|
|
39637
39637
|
return webLoginQrPromise;
|
|
39638
39638
|
}
|
|
39639
39639
|
function loadWebChannel() {
|
|
39640
|
-
webChannelPromise ??= import("./web-
|
|
39640
|
+
webChannelPromise ??= import("./web-CfmGrH7Z.js");
|
|
39641
39641
|
return webChannelPromise;
|
|
39642
39642
|
}
|
|
39643
39643
|
function loadWhatsAppActions() {
|
|
39644
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
39644
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BHjELx1D.js");
|
|
39645
39645
|
return whatsappActionsPromise;
|
|
39646
39646
|
}
|
|
39647
39647
|
function createPluginRuntime() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as resolveUserPath, st as resolveStateDir, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { M as resolveUserPath, st as resolveStateDir, t as createSubsystemLogger } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
import { _ as parseAgentSessionKey, o as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-X7pmdLBX.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as normalizeChatChannelId } from "./subsystem-
|
|
1
|
+
import { u as normalizeChatChannelId } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
import { f as normalizeAccountId, o as normalizeAgentId } from "./session-key-X7pmdLBX.js";
|
|
3
|
-
import { u as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { u as resolveDefaultAgentId } from "./agent-scope-CYJrXxD6.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
package/dist/boot/handler.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { et as isGatewayStartupEvent, r as defaultRuntime, t as createSubsystemLogger } from "../subsystem-
|
|
1
|
+
import { et as isGatewayStartupEvent, r as defaultRuntime, t as createSubsystemLogger } from "../subsystem-9R2eOxp2.js";
|
|
2
2
|
import { c as resolveAgentIdFromSessionKey } from "../session-key-X7pmdLBX.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir, r as resolveAgentConfig, t as listAgentIds } from "../agent-scope-
|
|
4
|
-
import { N as createDefaultDeps, t as agentCommand } from "../agent-
|
|
5
|
-
import "../env-
|
|
6
|
-
import "../accounts-
|
|
7
|
-
import { n as SILENT_REPLY_TOKEN } from "../tokens-
|
|
8
|
-
import "../dock-
|
|
9
|
-
import "../plugins-
|
|
10
|
-
import "../accounts-
|
|
11
|
-
import "../accounts-
|
|
12
|
-
import "../bindings-
|
|
13
|
-
import "../send-
|
|
14
|
-
import "../send-
|
|
15
|
-
import "../shell-env-
|
|
16
|
-
import "../config-
|
|
17
|
-
import "../message-channel-
|
|
18
|
-
import { F as resolveStorePath, I as resolveAgentMainSessionKey, R as resolveMainSessionKey, d as updateSessionStore, s as loadSessionStore } from "../sessions-
|
|
19
|
-
import "../subagent-registry-
|
|
20
|
-
import "../logger-
|
|
21
|
-
import "../reply-payloads-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir, r as resolveAgentConfig, t as listAgentIds } from "../agent-scope-CYJrXxD6.js";
|
|
4
|
+
import { N as createDefaultDeps, t as agentCommand } from "../agent-BMKTbTdP.js";
|
|
5
|
+
import "../env-D3fELH5B.js";
|
|
6
|
+
import "../accounts-DObM4hAF.js";
|
|
7
|
+
import { n as SILENT_REPLY_TOKEN } from "../tokens-CFajuiSx.js";
|
|
8
|
+
import "../dock-BQ3iSblF.js";
|
|
9
|
+
import "../plugins-sjrWIkqk.js";
|
|
10
|
+
import "../accounts-DZ4c6f7x.js";
|
|
11
|
+
import "../accounts-B0V43QEN.js";
|
|
12
|
+
import "../bindings-AUVd82yI.js";
|
|
13
|
+
import "../send-B5t4V12i.js";
|
|
14
|
+
import "../send-Blx7toZs.js";
|
|
15
|
+
import "../shell-env-CKQ7fvtT.js";
|
|
16
|
+
import "../config-BIrnJuXL.js";
|
|
17
|
+
import "../message-channel-tSSi5C96.js";
|
|
18
|
+
import { F as resolveStorePath, I as resolveAgentMainSessionKey, R as resolveMainSessionKey, d as updateSessionStore, s as loadSessionStore } from "../sessions-DpOx95Jg.js";
|
|
19
|
+
import "../subagent-registry-CjZZthdd.js";
|
|
20
|
+
import "../logger-DrzIGn8-.js";
|
|
21
|
+
import "../reply-payloads-ClULRidc.js";
|
|
22
22
|
import "../ip-B27WD9wk.js";
|
|
23
|
-
import "../fetch-
|
|
23
|
+
import "../fetch-B81mih-J.js";
|
|
24
24
|
import "../fetch-B_D1a6ac.js";
|
|
25
|
-
import "../channel-activity-
|
|
26
|
-
import "../send-
|
|
27
|
-
import "../response-prefix-template-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../markdown-tables-
|
|
30
|
-
import "../ir-
|
|
31
|
-
import "../image-ops-
|
|
25
|
+
import "../channel-activity-CCyf_6AJ.js";
|
|
26
|
+
import "../send-DSBqiPC7.js";
|
|
27
|
+
import "../response-prefix-template-Bv9VuNoH.js";
|
|
28
|
+
import "../chunk-Bu4IPOEd.js";
|
|
29
|
+
import "../markdown-tables-Cue-xfJ4.js";
|
|
30
|
+
import "../ir-ClloDVrA.js";
|
|
31
|
+
import "../image-ops-CVdo4gVi.js";
|
|
32
32
|
import "../render-DSLzcBxk.js";
|
|
33
|
-
import "../tool-images-
|
|
33
|
+
import "../tool-images-CLn-X-x_.js";
|
|
34
34
|
import "../target-errors-owiG6LWY.js";
|
|
35
|
-
import "../commands-registry-
|
|
36
|
-
import "../redact-
|
|
37
|
-
import "../preflight-
|
|
35
|
+
import "../commands-registry-DcV-WhwP.js";
|
|
36
|
+
import "../redact-Cau5FPu_.js";
|
|
37
|
+
import "../preflight-DS6rYKdG.js";
|
|
38
38
|
import "../file-lock-BftAtpBn.js";
|
|
39
|
-
import "../errors-
|
|
40
|
-
import "../tables-
|
|
41
|
-
import "../deliver-
|
|
42
|
-
import "../send-
|
|
39
|
+
import "../errors-B1tZHTGk.js";
|
|
40
|
+
import "../tables-Ds9F-Qwh.js";
|
|
41
|
+
import "../deliver-CdPkmjPg.js";
|
|
42
|
+
import "../send-Cf3fK4fv.js";
|
|
43
43
|
import "../proxy-HXV2llPX.js";
|
|
44
|
-
import "../resolve-route-
|
|
45
|
-
import "../outbound-attachment-
|
|
46
|
-
import "../replies-
|
|
47
|
-
import "../reply-prefix-
|
|
48
|
-
import "../send-
|
|
44
|
+
import "../resolve-route-CfWm0ysv.js";
|
|
45
|
+
import "../outbound-attachment-qMvgJGYQ.js";
|
|
46
|
+
import "../replies-CYH287W7.js";
|
|
47
|
+
import "../reply-prefix-DtN47aKW.js";
|
|
48
|
+
import "../send-CpLSYDDo.js";
|
|
49
49
|
import path from "node:path";
|
|
50
50
|
import fs from "node:fs/promises";
|
|
51
51
|
import crypto from "node:crypto";
|
package/dist/build-info.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"commit": "
|
|
4
|
-
"builtAt": "2026-04-
|
|
2
|
+
"version": "0.3.0-next.20260406214510.4ae2140",
|
|
3
|
+
"commit": "4ae2140d15ab74d78b87295fe1a45b47f69310db",
|
|
4
|
+
"builtAt": "2026-04-06T21:45:32.952Z"
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dff4f3e3eea45e2957b7927bfbb3a9675857032913df151284debc066e7d1a7a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as sleep, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as formatErrorMessage } from "./errors-
|
|
1
|
+
import { F as sleep, t as createSubsystemLogger } from "./subsystem-9R2eOxp2.js";
|
|
2
|
+
import { n as formatErrorMessage } from "./errors-B1tZHTGk.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
4
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
4
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-tSSi5C96.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
7
7
|
function parseFenceSpans(buffer) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { st as resolveStateDir, t as createSubsystemLogger } from "../subsystem-
|
|
1
|
+
import { st as resolveStateDir, t as createSubsystemLogger } from "../subsystem-9R2eOxp2.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as isPlainObject, T as escapeRegExp, d as getActivePluginRegistry } from "./subsystem-
|
|
3
|
-
import { n as listChannelDocks } from "./dock-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { R as isPlainObject, T as escapeRegExp, d as getActivePluginRegistry } from "./subsystem-9R2eOxp2.js";
|
|
3
|
+
import { n as listChannelDocks } from "./dock-BQ3iSblF.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-sjrWIkqk.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as resolveConfigDir, E as isRecord, M as resolveUserPath, R as isPlainObject$2, i as CHANNEL_IDS, it as resolveDefaultConfigCandidates, lt as resolveRequiredHomeDir, rt as resolveConfigPath, st as resolveStateDir, u as normalizeChatChannelId } from "./subsystem-
|
|
1
|
+
import { A as resolveConfigDir, E as isRecord, M as resolveUserPath, R as isPlainObject$2, i as CHANNEL_IDS, it as resolveDefaultConfigCandidates, lt as resolveRequiredHomeDir, rt as resolveConfigPath, st as resolveStateDir, u as normalizeChatChannelId } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
import { m as isBlockedObjectKey, o as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-X7pmdLBX.js";
|
|
3
|
-
import { l as resolveAgentWorkspaceDirOrNull, u as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
-
import { a as shouldEnableShellEnvFallback, c as normalizeEnvVarKey, i as shouldDeferShellEnvFallback, m as parseModelRef, n as loadShellEnvFallback, o as isDangerousHostEnvOverrideVarName, r as resolveShellEnvFallbackTimeoutMs, s as isDangerousHostEnvVarName } from "./shell-env-
|
|
3
|
+
import { l as resolveAgentWorkspaceDirOrNull, u as resolveDefaultAgentId } from "./agent-scope-CYJrXxD6.js";
|
|
4
|
+
import { a as shouldEnableShellEnvFallback, c as normalizeEnvVarKey, i as shouldDeferShellEnvFallback, m as parseModelRef, n as loadShellEnvFallback, o as isDangerousHostEnvOverrideVarName, r as resolveShellEnvFallbackTimeoutMs, s as isDangerousHostEnvVarName } from "./shell-env-CKQ7fvtT.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import json5 from "json5";
|
|
10
10
|
import { isDeepStrictEqual } from "node:util";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import crypto from "node:crypto";
|
|
@@ -1388,7 +1388,7 @@ const defaultResolver = {
|
|
|
1388
1388
|
resolvedPath,
|
|
1389
1389
|
rootRealDir
|
|
1390
1390
|
}),
|
|
1391
|
-
parseJson: (raw) =>
|
|
1391
|
+
parseJson: (raw) => json5.parse(raw)
|
|
1392
1392
|
};
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5923,7 +5923,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5923
5923
|
function normalizeDeps(overrides = {}) {
|
|
5924
5924
|
return {
|
|
5925
5925
|
fs: overrides.fs ?? fs,
|
|
5926
|
-
json5: overrides.json5 ??
|
|
5926
|
+
json5: overrides.json5 ?? json5,
|
|
5927
5927
|
env: overrides.env ?? process.env,
|
|
5928
5928
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5929
5929
|
configPath: overrides.configPath ?? "",
|
|
@@ -5934,11 +5934,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5934
5934
|
if (env !== process.env) return;
|
|
5935
5935
|
loadDotEnv({ quiet: true });
|
|
5936
5936
|
}
|
|
5937
|
-
function parseConfigJson5(raw, json5 =
|
|
5937
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
5938
5938
|
try {
|
|
5939
5939
|
return {
|
|
5940
5940
|
ok: true,
|
|
5941
|
-
parsed: json5.parse(raw)
|
|
5941
|
+
parsed: json5$1.parse(raw)
|
|
5942
5942
|
};
|
|
5943
5943
|
} catch (err) {
|
|
5944
5944
|
return {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as createInternalHookEvent, d as getActivePluginRegistry, st as resolveStateDir, t as createSubsystemLogger, tt as triggerInternalHook } from "./subsystem-
|
|
2
|
+
import { $ as createInternalHookEvent, d as getActivePluginRegistry, st as resolveStateDir, t as createSubsystemLogger, tt as triggerInternalHook } from "./subsystem-9R2eOxp2.js";
|
|
3
3
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
4
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
5
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, x as parseInlineDirectives } from "./sessions-
|
|
6
|
-
import { a as isRenderablePayload, h as getGlobalHookRunner, s as shouldSuppressReasoningPayload } from "./reply-payloads-
|
|
7
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { o as getAgentScopedMediaLocalRoots } from "./ir-
|
|
4
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CFajuiSx.js";
|
|
5
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, x as parseInlineDirectives } from "./sessions-DpOx95Jg.js";
|
|
6
|
+
import { a as isRenderablePayload, h as getGlobalHookRunner, s as shouldSuppressReasoningPayload } from "./reply-payloads-ClULRidc.js";
|
|
7
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-Bu4IPOEd.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Cue-xfJ4.js";
|
|
9
|
+
import { o as getAgentScopedMediaLocalRoots } from "./ir-ClloDVrA.js";
|
|
10
10
|
import { n as generateSecureUuid } from "./secure-random-B_UuvbNQ.js";
|
|
11
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
11
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Cf3fK4fv.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { T as escapeRegExp, a as CHAT_CHANNEL_ORDER, k as normalizeE164, o as getChatChannelMeta, p as requireActivePluginRegistry } from "./subsystem-
|
|
1
|
+
import { T as escapeRegExp, a as CHAT_CHANNEL_ORDER, k as normalizeE164, o as getChatChannelMeta, p as requireActivePluginRegistry } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
3
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
+
import { n as resolveWhatsAppAccount } from "./accounts-DObM4hAF.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
5
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
5
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-sjrWIkqk.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-DZ4c6f7x.js";
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-B0V43QEN.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/types.tools.ts
|
|
10
10
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|