remoteclaw 0.4.0 → 0.5.0-next.20260409163209.c29cd0d
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-1bybw3W7.js → accounts-BLbhPpWa.js} +2 -2
- package/dist/{accounts-CvDbN5Lu.js → accounts-CClJUKEG.js} +3 -3
- package/dist/{accounts-hAn2q4pa.js → accounts-D5ftvN5y.js} +2 -2
- package/dist/{active-listener-DW0z-sxY.js → active-listener-9nVmz8Lb.js} +2 -2
- package/dist/{agent-DImpNqtQ.js → agent-Cq71a-zH.js} +63 -70
- package/dist/{agent-scope-BNvG_yaU.js → agent-scope-Bc8_fEME.js} +2 -2
- package/dist/{agents-BBRAluxb.js → agents-NVr1AhtF.js} +1 -1
- package/dist/{auth-qh4mdS1U.js → auth-DqKsoWtY.js} +1 -1
- package/dist/{banner-DJ6Kx4av.js → banner-CoDYmiHr.js} +1 -1
- package/dist/{bindings-DXEIHe-N.js → bindings-t-Whiz0i.js} +3 -3
- package/dist/boot/handler.js +42 -42
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-oL56s3sS.js → channel-activity-B6DjOoJl.js} +3 -3
- package/dist/{channel-options-BH8zVa63.js → channel-options-CUmQ6-XJ.js} +1 -1
- package/dist/{channel-options-HeioN-op.js → channel-options-DV7moVv3.js} +1 -1
- package/dist/{channel-web-C9CylhyO.js → channel-web-D3INxFO8.js} +1 -1
- package/dist/{channel-web-DGBXtEHB.js → channel-web-DZHPFFN7.js} +1 -1
- package/dist/{channels-cli-usk1s6fG.js → channels-cli-BvEnmiOy.js} +5 -5
- package/dist/{channels-cli-CizhlsPv.js → channels-cli-DNU5gLEp.js} +5 -5
- package/dist/{chunk-ChoifNKY.js → chunk-eyz-nEd9.js} +2 -2
- package/dist/{cli-BeHJFWnO.js → cli-BLtZMnIu.js} +1 -1
- package/dist/{cli-6LT_sKrF.js → cli-Z69iS3Ox.js} +1 -1
- package/dist/command-logger/handler.js +1 -1
- package/dist/{command-registry-DC4PxlGK.js → command-registry-Dn6QUVPH.js} +9 -9
- package/dist/{commands-registry-DbKzfgrL.js → commands-registry-O5jgint4.js} +4 -4
- package/dist/{completion-cli-BR-DcUel.js → completion-cli-CNUi558-.js} +1 -1
- package/dist/{completion-cli-CyFWczx4.js → completion-cli-iLvCyvXG.js} +2 -2
- package/dist/{config-ByLxiiIX.js → config-DiL5MUby.js} +11 -11
- package/dist/{config-cli-leaEtWrT.js → config-cli-CEZZQT7G.js} +1 -1
- package/dist/{config-cli-hICn-FRr.js → config-cli-EfGJjPxk.js} +1 -1
- package/dist/{configure-7PwVsqSn.js → configure-C8niP0kO.js} +2 -2
- package/dist/{configure-C0TF-eqX.js → configure-DFhaFYNX.js} +2 -2
- package/dist/{deliver-CLXGN5HT.js → deliver-DeMlHlQD.js} +10 -10
- package/dist/{dock-W1eWYBrF.js → dock-BhsccrhA.js} +6 -6
- package/dist/{doctor-completion-cc17MVM8.js → doctor-completion-BWLKqGjj.js} +1 -1
- package/dist/{doctor-completion-mxwqeojK.js → doctor-completion-HHH2BXuU.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-B18PGwcV.js → env-BLTZxsYF.js} +1 -1
- package/dist/{errors-CmFhtLRi.js → errors-B-PkGRMl.js} +1 -1
- package/dist/extensionAPI.js +2 -9
- package/dist/{fetch-JUb4KIUg.js → fetch-wNT-853q.js} +2 -2
- package/dist/{gateway-cli-NfBdhZCm.js → gateway-cli-B8pAkgaZ.js} +7 -7
- package/dist/{gateway-cli-BJqX1yqI.js → gateway-cli-BDzsMbV6.js} +7 -7
- package/dist/{health-DaP7d4Pf.js → health-BA7sjZgi.js} +2 -2
- package/dist/{health-eOEj8gkZ.js → health-DTf1c16b.js} +2 -2
- package/dist/{heartbeat-visibility-zR7JlBan.js → heartbeat-visibility-CsCJzUak.js} +1 -1
- package/dist/{heartbeat-visibility-B4vekA62.js → heartbeat-visibility-Dxivzi17.js} +1 -1
- package/dist/{hooks-cli-D5yfaCxn.js → hooks-cli-Bt5X8MtE.js} +2 -2
- package/dist/{hooks-cli-B5Z1072O.js → hooks-cli-ClvXy0sb.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{ip-CDGvsbFn.js → ip-D6YxSqd5.js} +1 -1
- package/dist/{ir-DJcNTVlI.js → ir-Bbj3sc2f.js} +7 -7
- package/dist/{logger-BOdyQlSe.js → logger-Cwpy45uy.js} +1 -1
- package/dist/{login-DmhJVAet.js → login-CyHzs7dg.js} +6 -6
- package/dist/{login-qr-Dabb6dpV.js → login-qr-B4-5-o0F.js} +10 -10
- package/dist/{markdown-tables-DsasZsmT.js → markdown-tables-CkmdG-Fk.js} +2 -2
- package/dist/{message-action-names-BMxiX6Nx.js → message-action-names-Du-V-Tda.js} +1 -1
- package/dist/{message-action-names-i3XEXg9c.js → message-action-names-WxeGIuI7.js} +1 -1
- package/dist/{message-channel-XK4AVZCH.js → message-channel-BI7wmG3Q.js} +1 -1
- package/dist/{npm-resolution-CGrI0s4X.js → npm-resolution-B0bJnQNN.js} +1 -1
- package/dist/{npm-resolution-CtUuacQS.js → npm-resolution-BrGCikK6.js} +1 -1
- package/dist/{onboard-BktnTz3A.js → onboard-AH2I1DLw.js} +2 -2
- package/dist/{onboard-CpODEUDm.js → onboard-CaFOtMiR.js} +2 -2
- package/dist/{onboard-channels-CZli31uQ.js → onboard-channels-BrNuYAl_.js} +1 -1
- package/dist/{onboard-channels-2oWId3Ys.js → onboard-channels-S1mo0PzR.js} +1 -1
- package/dist/{onboarding-BhfUbLEZ.js → onboarding-JdX5_gsI.js} +2 -2
- package/dist/{onboarding-BSNT47F3.js → onboarding-wintdiOY.js} +2 -2
- package/dist/{onboarding.finalize-aVPKwFgV.js → onboarding.finalize-Cv7mIWBS.js} +6 -6
- package/dist/{onboarding.finalize-Cop5eHZV.js → onboarding.finalize-DlROWCBq.js} +5 -5
- package/dist/{outbound-3W5JslbB.js → outbound-D4qC_2Ea.js} +7 -7
- package/dist/{outbound-attachment-BVc_5LXK.js → outbound-attachment-ByUtquyy.js} +3 -3
- package/dist/{plugin-registry-DcQLSUTg.js → plugin-registry-BUBw_CCZ.js} +1 -1
- package/dist/{plugin-registry-DxDFIMCg.js → plugin-registry-BtXMzEKL.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BpBYW9AC.js → channel-web-YixRAhYC.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-Co2OGqfX.js → reply-CdKtbkp9.js} +2 -9
- package/dist/plugin-sdk/{web-Biv8Ocz9.js → web-RUMgJDn4.js} +2 -2
- package/dist/{plugins-cli-BJWeOQOB.js → plugins-cli-2KHUpoyk.js} +2 -2
- package/dist/{plugins-cli-COhw66Ta.js → plugins-cli-CvzellE8.js} +2 -2
- package/dist/{plugins-VZtjOvgK.js → plugins-wryjN9tG.js} +6 -6
- package/dist/{preflight-CvUP8qzC.js → preflight-6PWvzPGA.js} +7 -7
- package/dist/{program-Do156KMG.js → program-CRX1p81_.js} +7 -7
- package/dist/{program-context-6nFH8d16.js → program-context-cRsM7ZaR.js} +16 -16
- package/dist/{prompt-select-styled-CC1QtnjU.js → prompt-select-styled-B2SjqUEW.js} +3 -3
- package/dist/{prompt-select-styled-9AZrc62B.js → prompt-select-styled-nFET_wYF.js} +3 -3
- package/dist/{provider-dispatcher-Cg6MfR3d.js → provider-dispatcher-BtFOZ2YR.js} +4 -11
- package/dist/{register.agent-CqFFUy53.js → register.agent-BgthNwXa.js} +4 -4
- package/dist/{register.agent-DZSxW3pW.js → register.agent-DyJHo-ra.js} +3 -3
- package/dist/{register.configure-CL0uwoYt.js → register.configure-B4kza98w.js} +5 -5
- package/dist/{register.configure-C1IfA3Pz.js → register.configure-D_R5bSww.js} +5 -5
- package/dist/{register.maintenance-BKgSnsWL.js → register.maintenance-CijatUza.js} +6 -6
- package/dist/{register.maintenance-C_sjwgnH.js → register.maintenance-D2_lORP3.js} +7 -7
- package/dist/{register.message-BLfMzHa_.js → register.message-DQccys0w.js} +3 -3
- package/dist/{register.message-DPNRyGaa.js → register.message-oMVWyKTe.js} +3 -3
- package/dist/{register.onboard-CaPKt3Qb.js → register.onboard-MHIN73Yt.js} +2 -2
- package/dist/{register.onboard-CA5_KW1l.js → register.onboard-hYqrnvQU.js} +2 -2
- package/dist/{register.setup-j_IhGbTg.js → register.setup-Bo5so_B9.js} +2 -2
- package/dist/{register.setup-CdMll2v6.js → register.setup-vLpjXrt6.js} +2 -2
- package/dist/{register.status-health-sessions-BS9OX0Tt.js → register.status-health-sessions-CA9G03RP.js} +3 -3
- package/dist/{register.status-health-sessions-DM_VQXgG.js → register.status-health-sessions-CDJUnChl.js} +3 -3
- package/dist/{register.subclis-BZrb_EQ3.js → register.subclis-D2q6H1Hb.js} +8 -8
- package/dist/{registry-C7w5mqDu.js → registry-Bffp5dof.js} +2 -2
- package/dist/{replies-BwYCL24Q.js → replies-qf2PAOym.js} +3 -3
- package/dist/{reply-CSzRUBLh.js → reply-jXt1-EoK.js} +4 -11
- package/dist/{reply-payloads-HxW4qrTY.js → reply-payloads-D8l0i-ft.js} +6 -6
- package/dist/{reply-prefix-5LUJnI1u.js → reply-prefix-DwxD0b5y.js} +1 -1
- package/dist/{resolve-route-D1C1gxjr.js → resolve-route-BaKfzn8-.js} +5 -5
- package/dist/{response-prefix-template-C20LeiOD.js → response-prefix-template-jFz3NJ0T.js} +1 -1
- package/dist/{run-main-wxmGVksg.js → run-main-DeeqwfeD.js} +12 -12
- package/dist/{send-B7GnMdR2.js → send-BRujwwud.js} +12 -12
- package/dist/{send-Cehn831j.js → send-BTCMqhh8.js} +8 -8
- package/dist/{send-D2a5LJ0h.js → send-BoQ9-8wK.js} +7 -7
- package/dist/{send-CA-_Pss8.js → send-CJEiyIAk.js} +6 -6
- package/dist/{send-B5sU0uyc.js → send-CJUpZKkE.js} +9 -9
- package/dist/{server-node-events-D0Rajtde.js → server-node-events-RV3_Igf_.js} +1 -1
- package/dist/{server-node-events-KWDnj2xv.js → server-node-events-h1zm75c2.js} +1 -1
- package/dist/{session-DNJfePbW.js → session-C2sEkVme.js} +5 -5
- package/dist/{session-meta-CEWOT2yg.js → session-meta-BO-F_kZv.js} +1 -1
- package/dist/{sessions-Cqzp-4Xi.js → sessions-DGl9o8SX.js} +6 -6
- package/dist/{status-C4q-2jyt.js → status-DDSbY_7_.js} +2 -2
- package/dist/{status-DODQvSP1.js → status-DbrfaZia.js} +2 -2
- package/dist/{subagent-registry-1wuHmREg.js → subagent-registry-DLbPX6HH.js} +16 -16
- package/dist/{subsystem-DDgjyQzm.js → subsystem-yVLJvMzb.js} +2 -2
- package/dist/{tables-C2FjkWj_.js → tables-PnlJ2zD9.js} +1 -1
- package/dist/{target-errors-BIN3oxWS.js → target-errors-DYRD3db6.js} +3 -3
- package/dist/{tokens-MzMcTNde.js → tokens-CiqydPSV.js} +1 -1
- package/dist/{update-cli-CtxXU6j3.js → update-cli-C3PV_Sip.js} +7 -7
- package/dist/{update-cli-sI_jtz7b.js → update-cli-DFQTMzdE.js} +6 -6
- package/dist/{utils-DSV_rCpl.js → utils-C9g255xx.js} +1 -1
- package/dist/{web-D-wXJ6Yo.js → web-BsQlcmNW.js} +2 -2
- package/dist/{web-oXUx_6aK.js → web-CjUOT4Nr.js} +2 -2
- package/dist/{web-BQfIsZvU.js → web-DCJTlN61.js} +46 -46
- package/dist/{whatsapp-actions-Cc2R0goh.js → whatsapp-actions-B_ruVaFh.js} +19 -19
- 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
|
-
import { M as normalizeAccountId } from "./utils-
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { M as normalizeAccountId } from "./utils-C9g255xx.js";
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-CClJUKEG.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as defaultRuntime, k as resolveOAuthDir, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
2
|
-
import { M as normalizeAccountId, N as normalizeOptionalAccountId, c as jidToE164, f as resolveUserPath, j as DEFAULT_ACCOUNT_ID } from "./utils-
|
|
3
|
-
import { n as formatCliCommand } from "./env-
|
|
1
|
+
import { i as defaultRuntime, k as resolveOAuthDir, l as info, m as success, y as getChildLogger } from "./subsystem-yVLJvMzb.js";
|
|
2
|
+
import { M as normalizeAccountId, N as normalizeOptionalAccountId, c as jidToE164, f as resolveUserPath, j as DEFAULT_ACCOUNT_ID } from "./utils-C9g255xx.js";
|
|
3
|
+
import { n as formatCliCommand } from "./env-BLTZxsYF.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as normalizeAccountId } from "./utils-
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { M as normalizeAccountId } from "./utils-C9g255xx.js";
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-CClJUKEG.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as DEFAULT_ACCOUNT_ID } from "./utils-
|
|
2
|
-
import { n as formatCliCommand } from "./env-
|
|
1
|
+
import { j as DEFAULT_ACCOUNT_ID } from "./utils-C9g255xx.js";
|
|
2
|
+
import { n as formatCliCommand } from "./env-BLTZxsYF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as resolveStateDir, C as normalizeLogLevel, N as resolveRequiredHomeDir, O as resolveGatewayPort, T as STATE_DIR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredRemoteClawTmpDir, y as getChildLogger } from "./subsystem-
|
|
3
|
-
import { D as normalizeMainKey, E as normalizeAgentId, F as deriveSessionChatType, L as isCronSessionKey, M as normalizeAccountId$2, N as normalizeOptionalAccountId, O as resolveAgentIdFromSessionKey, P as isBlockedObjectKey, R as parseAgentSessionKey, S as buildAgentMainSessionKey, T as isValidAgentId, a as formatTerminalLink, f as resolveUserPath, g as sleep$1, h as shortenHomePath, i as escapeRegExp, j as DEFAULT_ACCOUNT_ID, k as resolveThreadSessionKeys, l as normalizeE164, m as shortenHomeInString, o as isRecord$1, t as CONFIG_DIR, v as truncateUtf16Safe } from "./utils-
|
|
4
|
-
import { a as resolveAgentRuntimeArgs, c as resolveAgentSkillsFilter, d as resolveDefaultAgentId, f as resolveEffectiveModelFallbacks, i as resolveAgentDir, l as resolveAgentWorkspaceDir, n as resolveAgentAuth, o as resolveAgentRuntimeEnv, p as resolveSessionAgentId, r as resolveAgentConfig, s as resolveAgentRuntimeOrThrow, t as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { n as formatCliCommand } from "./env-
|
|
6
|
-
import { d as logoutWeb, h as readWebSelfId, l as getWebAuthAgeMs, n as resolveWhatsAppAccount, o as normalizeResolvedSecretInputString, t as hasAnyWhatsAppAuth, u as logWebSelfId, y as webAuthExists } from "./accounts-
|
|
7
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText } from "./tokens-
|
|
8
|
-
import { a as resolveApiKeyForProfile, d as isCliProvider$1, i as resolveProfileUnusableUntil, n as isProfileInCooldown, o as listProfilesForProvider, p as normalizeProviderId, r as markAuthProfileUsed, s as ensureAuthProfileStore$1, t as clearExpiredCooldowns, u as normalizeSecretInput } from "./auth-
|
|
9
|
-
import { $ as modelKey, A as safeStatSync, B as parseConfigPath, C as isAvatarHttpUrl, D as loadPluginManifestRegistry, E as validateJsonSchemaValue, F as getConfigOverrides, H as unsetConfigValueAtPath, I as resetConfigOverrides, J as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, L as setConfigOverride, M as normalizePluginsConfig, N as resolveEffectiveEnableState, O as discoverRemoteClawPlugins, P as resolveMemorySlotDecision, Q as isCliProvider$2, R as unsetConfigOverride, S as isAvatarDataUrl, T as isSupportedLocalAvatarExtension, U as openBoundaryFileSync, V as setConfigValueAtPath, X as VERSION, Y as resolveAgentMaxConcurrent, Z as buildAllowedModelSet, _ as normalizeScpRemoteHost, a as validateConfigObjectWithPlugins, at as DEFAULT_MODEL$1, c as resolveTelegramCustomCommands, d as resolveSlackNativeStreaming, et as normalizeModelRef, f as resolveSlackStreamingMode, g as resolveIMessageRemoteAttachmentRoots, h as resolveIMessageAttachmentRoots, i as writeConfigFile, it as resolveThinkingDefault, j as applyTestPluginDefaults, k as isPathInside, l as mapStreamingModeToSlackLegacyDraftStreamMode, m as isInboundPathAllowed, n as readConfigFileSnapshot, nt as resolveConfiguredModelRef$1, o as TELEGRAM_COMMAND_NAME_PATTERN, ot as DEFAULT_PROVIDER$1, rt as resolveDefaultModelForAgent, s as normalizeTelegramCommandName, t as loadConfig, tt as normalizeProviderId$1, u as resolveDiscordPreviewStreamMode, w as isPathWithinRoot, x as AVATAR_MAX_BYTES, y as parseDurationMs, z as getConfigValueAtPath } from "./config-
|
|
10
|
-
import { i as formatUncaughtError, r as formatErrorMessage } from "./errors-
|
|
11
|
-
import { $ as resolveAgentTimeoutMs, A as normalizeReplyPayload, B as startDiagnosticHeartbeat, C as resolveQueueSettings, D as scheduleFollowupDrain, E as clearSessionQueues, F as logMessageQueued, G as callGateway, H as emitDiagnosticEvent, I as logSessionStateChange, J as buildOutboundSessionContext, K as resolveGatewayCredentialsFromConfig, L as logWebhookError, M as clearCommandLane, N as getQueueSize, O as isRoutableChannel, P as logMessageProcessed, Q as registerAgentRunContext, R as logWebhookProcessed, S as unregisterSessionBindingAdapter, T as getFollowupQueueDepth, U as isDiagnosticsEnabled, V as stopDiagnosticHeartbeat, W as extractQueueDirective, X as emitAgentEvent, Y as clearAgentRunContext, Z as onAgentEvent, _ as registerSessionRun, a as markSubagentRunTerminated, b as getSessionBindingService, d as sanitizeTextContent, et as AGENT_LANE_NESTED, f as stripToolMessages, g as getSubagentDepthFromSessionStore, h as resolveMainSessionAlias, i as markSubagentRunForSteerRestart, j as stripHeartbeatToken, k as routeReply, l as buildSubagentSystemPrompt, m as resolveInternalSessionKey, n as countActiveRunsForSession, o as registerSubagentRun, p as resolveDisplaySessionKey, q as createReceiptCard, r as listSubagentRunsForRequester, s as replaceSubagentRunAfterSteer, t as clearSubagentRunSteerRestart, tt as AGENT_LANE_SUBAGENT, u as extractAssistantText, v as unregisterSessionRun, w as enqueueFollowupRun, x as registerSessionBindingAdapter, y as extractTextFromChatContent, z as logWebhookReceived } from "./subagent-registry-
|
|
12
|
-
import { C as normalizeVerboseLevel, S as normalizeUsageDisplay, T as supportsXHighThinking, _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, b as formatXHighModelHint, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled, w as resolveResponseUsageMode, x as normalizeThinkLevel, y as formatThinkingLevels } from "./commands-registry-
|
|
13
|
-
import { S as triggerInternalHook, _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, o as normalizeChannelId, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, y as matchPluginCommand } from "./registry-
|
|
14
|
-
import { a as resolveChannelGroupRequireMention, c as normalizeStringEntriesLower, i as resolveChannelGroupPolicy, n as listChannelDocks, o as normalizeHyphenSlug, r as normalizeSignalMessagingTarget, s as normalizeStringEntries, t as getChannelDock } from "./dock-
|
|
15
|
-
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-
|
|
16
|
-
import { A as DEFAULT_RESET_TRIGGERS, B as resolveMainSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveSessionTranscriptPath, H as resolveGroupSessionKey, I as resolveSessionTranscriptsDirForAgent, L as resolveStorePath, M as resolveDefaultSessionStorePath, N as resolveSessionFilePath, O as resolveSessionResetType, P as resolveSessionFilePathOptions, T as evaluateSessionFreshness, V as deriveSessionMetaPatch, _ as normalizeSessionDeliveryFields, a as resolveAndPersistSessionFile, b as countToolResults, c as readSessionUpdatedAt, d as updateSessionStore, f as updateSessionStoreEntry, g as normalizeDeliveryContext, j as mergeSessionEntry, k as resolveThreadFlag, l as recordSessionMetaFromInbound, m as deliveryContextKey, n as parseSessionThreadInfo, o as onSessionTranscriptUpdate, p as deliveryContextFromSession, s as loadSessionStore, t as setSessionRuntimeModel, u as updateLastRoute, v as normalizeAccountId$3, w as resolveSessionKey, x as extractToolCallNames, y as archiveSessionTranscripts, z as resolveExplicitAgentSessionKey } from "./sessions-
|
|
2
|
+
import { A as resolveStateDir, C as normalizeLogLevel, N as resolveRequiredHomeDir, O as resolveGatewayPort, T as STATE_DIR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredRemoteClawTmpDir, y as getChildLogger } from "./subsystem-yVLJvMzb.js";
|
|
3
|
+
import { D as normalizeMainKey, E as normalizeAgentId, F as deriveSessionChatType, L as isCronSessionKey, M as normalizeAccountId$2, N as normalizeOptionalAccountId, O as resolveAgentIdFromSessionKey, P as isBlockedObjectKey, R as parseAgentSessionKey, S as buildAgentMainSessionKey, T as isValidAgentId, a as formatTerminalLink, f as resolveUserPath, g as sleep$1, h as shortenHomePath, i as escapeRegExp, j as DEFAULT_ACCOUNT_ID, k as resolveThreadSessionKeys, l as normalizeE164, m as shortenHomeInString, o as isRecord$1, t as CONFIG_DIR, v as truncateUtf16Safe } from "./utils-C9g255xx.js";
|
|
4
|
+
import { a as resolveAgentRuntimeArgs, c as resolveAgentSkillsFilter, d as resolveDefaultAgentId, f as resolveEffectiveModelFallbacks, i as resolveAgentDir, l as resolveAgentWorkspaceDir, n as resolveAgentAuth, o as resolveAgentRuntimeEnv, p as resolveSessionAgentId, r as resolveAgentConfig, s as resolveAgentRuntimeOrThrow, t as listAgentIds } from "./agent-scope-Bc8_fEME.js";
|
|
5
|
+
import { n as formatCliCommand } from "./env-BLTZxsYF.js";
|
|
6
|
+
import { d as logoutWeb, h as readWebSelfId, l as getWebAuthAgeMs, n as resolveWhatsAppAccount, o as normalizeResolvedSecretInputString, t as hasAnyWhatsAppAuth, u as logWebSelfId, y as webAuthExists } from "./accounts-CClJUKEG.js";
|
|
7
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText } from "./tokens-CiqydPSV.js";
|
|
8
|
+
import { a as resolveApiKeyForProfile, d as isCliProvider$1, i as resolveProfileUnusableUntil, n as isProfileInCooldown, o as listProfilesForProvider, p as normalizeProviderId, r as markAuthProfileUsed, s as ensureAuthProfileStore$1, t as clearExpiredCooldowns, u as normalizeSecretInput } from "./auth-DqKsoWtY.js";
|
|
9
|
+
import { $ as modelKey, A as safeStatSync, B as parseConfigPath, C as isAvatarHttpUrl, D as loadPluginManifestRegistry, E as validateJsonSchemaValue, F as getConfigOverrides, H as unsetConfigValueAtPath, I as resetConfigOverrides, J as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, L as setConfigOverride, M as normalizePluginsConfig, N as resolveEffectiveEnableState, O as discoverRemoteClawPlugins, P as resolveMemorySlotDecision, Q as isCliProvider$2, R as unsetConfigOverride, S as isAvatarDataUrl, T as isSupportedLocalAvatarExtension, U as openBoundaryFileSync, V as setConfigValueAtPath, X as VERSION, Y as resolveAgentMaxConcurrent, Z as buildAllowedModelSet, _ as normalizeScpRemoteHost, a as validateConfigObjectWithPlugins, at as DEFAULT_MODEL$1, c as resolveTelegramCustomCommands, d as resolveSlackNativeStreaming, et as normalizeModelRef, f as resolveSlackStreamingMode, g as resolveIMessageRemoteAttachmentRoots, h as resolveIMessageAttachmentRoots, i as writeConfigFile, it as resolveThinkingDefault, j as applyTestPluginDefaults, k as isPathInside, l as mapStreamingModeToSlackLegacyDraftStreamMode, m as isInboundPathAllowed, n as readConfigFileSnapshot, nt as resolveConfiguredModelRef$1, o as TELEGRAM_COMMAND_NAME_PATTERN, ot as DEFAULT_PROVIDER$1, rt as resolveDefaultModelForAgent, s as normalizeTelegramCommandName, t as loadConfig, tt as normalizeProviderId$1, u as resolveDiscordPreviewStreamMode, w as isPathWithinRoot, x as AVATAR_MAX_BYTES, y as parseDurationMs, z as getConfigValueAtPath } from "./config-DiL5MUby.js";
|
|
10
|
+
import { i as formatUncaughtError, r as formatErrorMessage } from "./errors-B-PkGRMl.js";
|
|
11
|
+
import { $ as resolveAgentTimeoutMs, A as normalizeReplyPayload, B as startDiagnosticHeartbeat, C as resolveQueueSettings, D as scheduleFollowupDrain, E as clearSessionQueues, F as logMessageQueued, G as callGateway, H as emitDiagnosticEvent, I as logSessionStateChange, J as buildOutboundSessionContext, K as resolveGatewayCredentialsFromConfig, L as logWebhookError, M as clearCommandLane, N as getQueueSize, O as isRoutableChannel, P as logMessageProcessed, Q as registerAgentRunContext, R as logWebhookProcessed, S as unregisterSessionBindingAdapter, T as getFollowupQueueDepth, U as isDiagnosticsEnabled, V as stopDiagnosticHeartbeat, W as extractQueueDirective, X as emitAgentEvent, Y as clearAgentRunContext, Z as onAgentEvent, _ as registerSessionRun, a as markSubagentRunTerminated, b as getSessionBindingService, d as sanitizeTextContent, et as AGENT_LANE_NESTED, f as stripToolMessages, g as getSubagentDepthFromSessionStore, h as resolveMainSessionAlias, i as markSubagentRunForSteerRestart, j as stripHeartbeatToken, k as routeReply, l as buildSubagentSystemPrompt, m as resolveInternalSessionKey, n as countActiveRunsForSession, o as registerSubagentRun, p as resolveDisplaySessionKey, q as createReceiptCard, r as listSubagentRunsForRequester, s as replaceSubagentRunAfterSteer, t as clearSubagentRunSteerRestart, tt as AGENT_LANE_SUBAGENT, u as extractAssistantText, v as unregisterSessionRun, w as enqueueFollowupRun, x as registerSessionBindingAdapter, y as extractTextFromChatContent, z as logWebhookReceived } from "./subagent-registry-DLbPX6HH.js";
|
|
12
|
+
import { C as normalizeVerboseLevel, S as normalizeUsageDisplay, T as supportsXHighThinking, _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, b as formatXHighModelHint, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled, w as resolveResponseUsageMode, x as normalizeThinkLevel, y as formatThinkingLevels } from "./commands-registry-O5jgint4.js";
|
|
13
|
+
import { S as triggerInternalHook, _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, o as normalizeChannelId, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, y as matchPluginCommand } from "./registry-Bffp5dof.js";
|
|
14
|
+
import { a as resolveChannelGroupRequireMention, c as normalizeStringEntriesLower, i as resolveChannelGroupPolicy, n as listChannelDocks, o as normalizeHyphenSlug, r as normalizeSignalMessagingTarget, s as normalizeStringEntries, t as getChannelDock } from "./dock-BhsccrhA.js";
|
|
15
|
+
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-BI7wmG3Q.js";
|
|
16
|
+
import { A as DEFAULT_RESET_TRIGGERS, B as resolveMainSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveSessionTranscriptPath, H as resolveGroupSessionKey, I as resolveSessionTranscriptsDirForAgent, L as resolveStorePath, M as resolveDefaultSessionStorePath, N as resolveSessionFilePath, O as resolveSessionResetType, P as resolveSessionFilePathOptions, T as evaluateSessionFreshness, V as deriveSessionMetaPatch, _ as normalizeSessionDeliveryFields, a as resolveAndPersistSessionFile, b as countToolResults, c as readSessionUpdatedAt, d as updateSessionStore, f as updateSessionStoreEntry, g as normalizeDeliveryContext, j as mergeSessionEntry, k as resolveThreadFlag, l as recordSessionMetaFromInbound, m as deliveryContextKey, n as parseSessionThreadInfo, o as onSessionTranscriptUpdate, p as deliveryContextFromSession, s as loadSessionStore, t as setSessionRuntimeModel, u as updateLastRoute, v as normalizeAccountId$3, w as resolveSessionKey, x as extractToolCallNames, y as archiveSessionTranscripts, z as resolveExplicitAgentSessionKey } from "./sessions-DGl9o8SX.js";
|
|
17
17
|
import { t as normalizeChatType } from "./chat-type-CTrit63N.js";
|
|
18
18
|
import { n as resolveConversationLabel } from "./conversation-label-CnWU1jJU.js";
|
|
19
19
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
20
|
-
import { _ as resolveDiscordAccount, a as listEnabledTelegramAccounts, c as resolveTelegramToken, d as resolveSlackAppToken, f as resolveSlackBotToken, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as createTelegramActionGate, l as resolveSlackAccount, n as listChannelPlugins, o as listTelegramAccountIds, r as normalizeChannelId$1, s as resolveTelegramAccount, t as getChannelPlugin, u as resolveSlackReplyToMode, v as normalizeDiscordToken } from "./plugins-
|
|
21
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
22
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
23
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-
|
|
24
|
-
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 normalizeDiscordSlug, d as parseDiscordModalCustomId, dt as resolveDiscordGuildEntry, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordMemberAccessState, 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 resolveDiscordAllowListMatch, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as isDiscordGroupAllowedByPolicy, p as readDiscordComponentSpec, pt as resolveDiscordOwnerAccess, q as deleteChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as normalizeDiscordAllowList, tt as createDiscordRestClient, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordChannelConfigWithFallback, 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-
|
|
20
|
+
import { _ as resolveDiscordAccount, a as listEnabledTelegramAccounts, c as resolveTelegramToken, d as resolveSlackAppToken, f as resolveSlackBotToken, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as createTelegramActionGate, l as resolveSlackAccount, n as listChannelPlugins, o as listTelegramAccountIds, r as normalizeChannelId$1, s as resolveTelegramAccount, t as getChannelPlugin, u as resolveSlackReplyToMode, v as normalizeDiscordToken } from "./plugins-wryjN9tG.js";
|
|
21
|
+
import { t as resolveIMessageAccount } from "./accounts-BLbhPpWa.js";
|
|
22
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-D5ftvN5y.js";
|
|
23
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-BTCMqhh8.js";
|
|
24
|
+
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 normalizeDiscordSlug, d as parseDiscordModalCustomId, dt as resolveDiscordGuildEntry, et as chunkDiscordTextWithMode, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordMemberAccessState, 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 resolveDiscordAllowListMatch, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as isDiscordGroupAllowedByPolicy, p as readDiscordComponentSpec, pt as resolveDiscordOwnerAccess, q as deleteChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as normalizeDiscordAllowList, tt as createDiscordRestClient, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordChannelConfigWithFallback, 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-CJUpZKkE.js";
|
|
25
25
|
import { r as writeJsonAtomic } from "./json-files-4KiVMJj6.js";
|
|
26
26
|
import { n as fetchWithTimeout } from "./fetch-timeout-l_6RdoMw.js";
|
|
27
27
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BrWib6Kk.js";
|
|
28
|
-
import { n as recordChannelActivity, o as retryAsync, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
29
|
-
import { $ as readChannelAllowFromStore, A as hasBotMention, B as normalizeAllowFrom$2, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramMediaPlaceholder, G as mergeDmAllowFromSources, H as resolveSenderAllowMatch$1, I as resolveTelegramReplyId, J as toLocationContext, K as resolveGroupAllowFromSources, L as resolveTelegramStreamMode, M as resolveTelegramDirectPeerId, N as resolveTelegramForumThreadId, O as expandTextLinks, P as resolveTelegramGroupAllowFromContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramThreadSpec, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as firstDefined$1, V as normalizeDmAllowFromWithStore, W as isSenderIdAllowed, X as loadCronStore, Y as withTelegramApiErrorLogging, Z as resolveCronStorePath, _ as resolveTelegramFetch, a as reactMessageTelegram, at as parseTelegramTarget, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as removeChannelAllowFromStoreEntry, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as getPairingAdapter, o as sendMessageTelegram, ot as resolveTelegramTargetChatType, p as markdownToTelegramChunks, q as formatLocationText, r as deleteMessageTelegram, rt as listPairingChannels, s as sendPollTelegram, t as buildInlineKeyboard, tt as upsertChannelPairingRequest, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as isSenderAllowed$1 } from "./send-
|
|
30
|
-
import { a as isRenderablePayload, c as createReplyToModeFilterForChannel, d as initializeGlobalHookRunner, i as filterMessagingToolMediaDuplicates, l as resolveReplyToMode, n as applyReplyThreading, o as shouldSuppressMessagingToolReplies, r as filterMessagingToolDuplicates, s as shouldSuppressReasoningPayload, t as applyReplyTagsToPayload, u as getGlobalHookRunner } from "./reply-payloads-
|
|
31
|
-
import { c as extensionForMime$1, d as isGifMedia, f as kindFromMime, h as mediaKindFromMime, n as fetchRemoteMedia, o as normalizeHostname, s as detectMime, t as MediaFetchError, u as isAudioFileName } from "./fetch-
|
|
32
|
-
import { a as resolveEffectiveMessagesConfig, i as resolveAgentIdentity, o as resolveHumanDelayConfig, r as resolveAckReaction } from "./response-prefix-template-
|
|
33
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
34
|
-
import { d as runCommandWithTimeout, i as loadWebMedia, l as getImageMetadata, o as getAgentScopedMediaLocalRoots, u as resizeToJpeg } from "./ir-
|
|
35
|
-
import { n as saveMediaBuffer } from "./outbound-attachment-
|
|
36
|
-
import { a as chunkText, c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-
|
|
37
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
38
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, i as imageResultFromFile, l as readStringArrayParam, o as parseAvailableTags, r as createActionGate, s as readNumberParam, t as missingTargetError, u as readStringOrNumberParam } from "./target-errors-
|
|
28
|
+
import { n as recordChannelActivity, o as retryAsync, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-B6DjOoJl.js";
|
|
29
|
+
import { $ as readChannelAllowFromStore, A as hasBotMention, B as normalizeAllowFrom$2, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramMediaPlaceholder, G as mergeDmAllowFromSources, H as resolveSenderAllowMatch$1, I as resolveTelegramReplyId, J as toLocationContext, K as resolveGroupAllowFromSources, L as resolveTelegramStreamMode, M as resolveTelegramDirectPeerId, N as resolveTelegramForumThreadId, O as expandTextLinks, P as resolveTelegramGroupAllowFromContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramThreadSpec, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as firstDefined$1, V as normalizeDmAllowFromWithStore, W as isSenderIdAllowed, X as loadCronStore, Y as withTelegramApiErrorLogging, Z as resolveCronStorePath, _ as resolveTelegramFetch, a as reactMessageTelegram, at as parseTelegramTarget, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as removeChannelAllowFromStoreEntry, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as getPairingAdapter, o as sendMessageTelegram, ot as resolveTelegramTargetChatType, p as markdownToTelegramChunks, q as formatLocationText, r as deleteMessageTelegram, rt as listPairingChannels, s as sendPollTelegram, t as buildInlineKeyboard, tt as upsertChannelPairingRequest, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as isSenderAllowed$1 } from "./send-BRujwwud.js";
|
|
30
|
+
import { a as isRenderablePayload, c as createReplyToModeFilterForChannel, d as initializeGlobalHookRunner, i as filterMessagingToolMediaDuplicates, l as resolveReplyToMode, n as applyReplyThreading, o as shouldSuppressMessagingToolReplies, r as filterMessagingToolDuplicates, s as shouldSuppressReasoningPayload, t as applyReplyTagsToPayload, u as getGlobalHookRunner } from "./reply-payloads-D8l0i-ft.js";
|
|
31
|
+
import { c as extensionForMime$1, d as isGifMedia, f as kindFromMime, h as mediaKindFromMime, n as fetchRemoteMedia, o as normalizeHostname, s as detectMime, t as MediaFetchError, u as isAudioFileName } from "./fetch-wNT-853q.js";
|
|
32
|
+
import { a as resolveEffectiveMessagesConfig, i as resolveAgentIdentity, o as resolveHumanDelayConfig, r as resolveAckReaction } from "./response-prefix-template-jFz3NJ0T.js";
|
|
33
|
+
import { n as logError, t as logDebug } from "./logger-Cwpy45uy.js";
|
|
34
|
+
import { d as runCommandWithTimeout, i as loadWebMedia, l as getImageMetadata, o as getAgentScopedMediaLocalRoots, u as resizeToJpeg } from "./ir-Bbj3sc2f.js";
|
|
35
|
+
import { n as saveMediaBuffer } from "./outbound-attachment-ByUtquyy.js";
|
|
36
|
+
import { a as chunkText, c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-eyz-nEd9.js";
|
|
37
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CkmdG-Fk.js";
|
|
38
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, i as imageResultFromFile, l as readStringArrayParam, o as parseAvailableTags, r as createActionGate, s as readNumberParam, t as missingTargetError, u as readStringOrNumberParam } from "./target-errors-DYRD3db6.js";
|
|
39
39
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CRyYLqpu.js";
|
|
40
|
-
import { a as normalizeOutboundPayloadsForJson, c as toInternalMessageReceivedContext, d as fireAndForgetHook, i as normalizeOutboundPayloads, l as toPluginMessageContext, o as parseReplyDirectives, r as formatOutboundPayloadLog, s as deriveInboundMessageHookContext, t as deliverOutboundPayloads, u as toPluginMessageReceivedEvent } from "./deliver-
|
|
40
|
+
import { a as normalizeOutboundPayloadsForJson, c as toInternalMessageReceivedContext, d as fireAndForgetHook, i as normalizeOutboundPayloads, l as toPluginMessageContext, o as parseReplyDirectives, r as formatOutboundPayloadLog, s as deriveInboundMessageHookContext, t as deliverOutboundPayloads, u as toPluginMessageReceivedEvent } from "./deliver-DeMlHlQD.js";
|
|
41
41
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-D6EB3IAh.js";
|
|
42
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
42
|
+
import { t as convertMarkdownTables } from "./tables-PnlJ2zD9.js";
|
|
43
43
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B_UuvbNQ.js";
|
|
44
44
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-B7JC_RKS.js";
|
|
45
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
45
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-CJEiyIAk.js";
|
|
46
46
|
import { n as makeProxyFetch } from "./proxy-Dhuvc6PT.js";
|
|
47
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
48
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
49
|
-
import { t as createReplyPrefixOptions } from "./reply-prefix-
|
|
50
|
-
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-
|
|
47
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BaKfzn8-.js";
|
|
48
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-qf2PAOym.js";
|
|
49
|
+
import { t as createReplyPrefixOptions } from "./reply-prefix-DwxD0b5y.js";
|
|
50
|
+
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-BoQ9-8wK.js";
|
|
51
51
|
import { t as listSkillCommandsForAgents } from "./skill-commands-CNopiZvj.js";
|
|
52
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
53
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
52
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-BO-F_kZv.js";
|
|
53
|
+
import { t as getActiveWebListener } from "./active-listener-9nVmz8Lb.js";
|
|
54
54
|
import { createRequire } from "node:module";
|
|
55
55
|
import path, { join } from "node:path";
|
|
56
56
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -100,27 +100,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
100
100
|
function createDefaultDeps() {
|
|
101
101
|
return {
|
|
102
102
|
sendMessageWhatsApp: async (...args) => {
|
|
103
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
103
|
+
const { sendMessageWhatsApp } = await import("./web-DCJTlN61.js");
|
|
104
104
|
return await sendMessageWhatsApp(...args);
|
|
105
105
|
},
|
|
106
106
|
sendMessageTelegram: async (...args) => {
|
|
107
|
-
const { sendMessageTelegram } = await import("./send-
|
|
107
|
+
const { sendMessageTelegram } = await import("./send-BRujwwud.js").then((n) => n.l);
|
|
108
108
|
return await sendMessageTelegram(...args);
|
|
109
109
|
},
|
|
110
110
|
sendMessageDiscord: async (...args) => {
|
|
111
|
-
const { sendMessageDiscord } = await import("./send-
|
|
111
|
+
const { sendMessageDiscord } = await import("./send-CJUpZKkE.js").then((n) => n.t);
|
|
112
112
|
return await sendMessageDiscord(...args);
|
|
113
113
|
},
|
|
114
114
|
sendMessageSlack: async (...args) => {
|
|
115
|
-
const { sendMessageSlack } = await import("./send-
|
|
115
|
+
const { sendMessageSlack } = await import("./send-BTCMqhh8.js").then((n) => n.n);
|
|
116
116
|
return await sendMessageSlack(...args);
|
|
117
117
|
},
|
|
118
118
|
sendMessageSignal: async (...args) => {
|
|
119
|
-
const { sendMessageSignal } = await import("./send-
|
|
119
|
+
const { sendMessageSignal } = await import("./send-CJEiyIAk.js").then((n) => n.i);
|
|
120
120
|
return await sendMessageSignal(...args);
|
|
121
121
|
},
|
|
122
122
|
sendMessageIMessage: async (...args) => {
|
|
123
|
-
const { sendMessageIMessage } = await import("./send-
|
|
123
|
+
const { sendMessageIMessage } = await import("./send-BoQ9-8wK.js").then((n) => n.n);
|
|
124
124
|
return await sendMessageIMessage(...args);
|
|
125
125
|
}
|
|
126
126
|
};
|
|
@@ -14297,12 +14297,9 @@ const SILENT_REPLIES_SECTION = [
|
|
|
14297
14297
|
`- Never append it to an actual response (never include "${SILENT_REPLY_TOKEN}" in real replies).`,
|
|
14298
14298
|
"- Never wrap it in markdown or code blocks."
|
|
14299
14299
|
].join("\n");
|
|
14300
|
-
function buildIdentitySection(channelName, userName) {
|
|
14301
|
-
const intro = "You are running inside RemoteClaw, a middleware that connects AI agents to messaging channels.";
|
|
14302
|
-
return userName ? `${intro}\nYou are responding to a message from ${userName} on ${channelName}.` : `${intro}\nYou are responding to a message on ${channelName}.`;
|
|
14303
|
-
}
|
|
14304
14300
|
function buildRuntimeSection(params) {
|
|
14305
14301
|
const parts = [`channel=${params.channelName}`];
|
|
14302
|
+
if (params.userName) parts.push(`user=${params.userName}`);
|
|
14306
14303
|
if (params.timezone) parts.push(`timezone=${params.timezone}`);
|
|
14307
14304
|
if (params.agentId) parts.push(`agent=${params.agentId}`);
|
|
14308
14305
|
return `## Runtime\nRuntime: ${parts.join(" | ")}`;
|
|
@@ -14354,11 +14351,7 @@ function buildReactionsSection(guidance) {
|
|
|
14354
14351
|
* no tool list (MCP handles), no skills/memory/sandbox sections.
|
|
14355
14352
|
*/
|
|
14356
14353
|
function buildSystemPrompt(params) {
|
|
14357
|
-
const sections = [
|
|
14358
|
-
buildIdentitySection(params.channelName, params.userName),
|
|
14359
|
-
SAFETY_SECTION,
|
|
14360
|
-
MESSAGING_SECTION
|
|
14361
|
-
];
|
|
14354
|
+
const sections = [SAFETY_SECTION, MESSAGING_SECTION];
|
|
14362
14355
|
const hintsSection = buildMessageToolHintsSection(params.messageToolHints);
|
|
14363
14356
|
if (hintsSection) sections.push(hintsSection);
|
|
14364
14357
|
sections.push(REPLY_TAGS_SECTION);
|
|
@@ -17328,7 +17321,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
17328
17321
|
return;
|
|
17329
17322
|
}
|
|
17330
17323
|
try {
|
|
17331
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
17324
|
+
const { deliverOutboundPayloads } = await import("./deliver-DeMlHlQD.js").then((n) => n.n);
|
|
17332
17325
|
const outboundSession = buildOutboundSessionContext({
|
|
17333
17326
|
cfg: params.cfg,
|
|
17334
17327
|
sessionKey: params.sessionKey
|
|
@@ -37643,7 +37636,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
37643
37636
|
}
|
|
37644
37637
|
let commandsRegistry;
|
|
37645
37638
|
async function getCommandsRegistry() {
|
|
37646
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
37639
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-O5jgint4.js").then((n) => n.n);
|
|
37647
37640
|
return commandsRegistry;
|
|
37648
37641
|
}
|
|
37649
37642
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -37973,14 +37966,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
37973
37966
|
const channelName = channelInfo?.name;
|
|
37974
37967
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
37975
37968
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
37976
|
-
import("./resolve-route-
|
|
37969
|
+
import("./resolve-route-BaKfzn8-.js").then((n) => n.r),
|
|
37977
37970
|
import("./inbound-context-B7JC_RKS.js").then((n) => n.n),
|
|
37978
37971
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
37979
37972
|
]);
|
|
37980
37973
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
37981
37974
|
import("./conversation-label-CnWU1jJU.js").then((n) => n.t),
|
|
37982
|
-
import("./reply-prefix-
|
|
37983
|
-
import("./session-meta-
|
|
37975
|
+
import("./reply-prefix-DwxD0b5y.js").then((n) => n.n),
|
|
37976
|
+
import("./session-meta-BO-F_kZv.js").then((n) => n.n)
|
|
37984
37977
|
]);
|
|
37985
37978
|
const route = resolveAgentRoute({
|
|
37986
37979
|
cfg,
|
|
@@ -38045,9 +38038,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
38045
38038
|
});
|
|
38046
38039
|
const deliverSlashPayloads = async (replies) => {
|
|
38047
38040
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
38048
|
-
import("./replies-
|
|
38049
|
-
import("./chunk-
|
|
38050
|
-
import("./markdown-tables-
|
|
38041
|
+
import("./replies-qf2PAOym.js").then((n) => n.r),
|
|
38042
|
+
import("./chunk-eyz-nEd9.js").then((n) => n.s),
|
|
38043
|
+
import("./markdown-tables-CkmdG-Fk.js").then((n) => n.t)
|
|
38051
38044
|
]);
|
|
38052
38045
|
await deliverSlackSlashReplies({
|
|
38053
38046
|
replies,
|
|
@@ -40704,7 +40697,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
40704
40697
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
40705
40698
|
let preflightTranscript;
|
|
40706
40699
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
40707
|
-
const { transcribeFirstAudio } = await import("./preflight-
|
|
40700
|
+
const { transcribeFirstAudio } = await import("./preflight-6PWvzPGA.js");
|
|
40708
40701
|
preflightTranscript = await transcribeFirstAudio({
|
|
40709
40702
|
ctx: {
|
|
40710
40703
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -43356,7 +43349,7 @@ function createWhatsAppLoginTool() {
|
|
|
43356
43349
|
force: Type.Optional(Type.Boolean())
|
|
43357
43350
|
}),
|
|
43358
43351
|
execute: async (_toolCallId, args) => {
|
|
43359
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
43352
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-B4-5-o0F.js");
|
|
43360
43353
|
if ((args?.action ?? "start") === "wait") {
|
|
43361
43354
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
43362
43355
|
return {
|
|
@@ -43431,23 +43424,23 @@ let webLoginQrPromise = null;
|
|
|
43431
43424
|
let webChannelPromise = null;
|
|
43432
43425
|
let whatsappActionsPromise = null;
|
|
43433
43426
|
function loadWebOutbound() {
|
|
43434
|
-
webOutboundPromise ??= import("./outbound-
|
|
43427
|
+
webOutboundPromise ??= import("./outbound-D4qC_2Ea.js").then((n) => n.t);
|
|
43435
43428
|
return webOutboundPromise;
|
|
43436
43429
|
}
|
|
43437
43430
|
function loadWebLogin() {
|
|
43438
|
-
webLoginPromise ??= import("./login-
|
|
43431
|
+
webLoginPromise ??= import("./login-CyHzs7dg.js").then((n) => n.n);
|
|
43439
43432
|
return webLoginPromise;
|
|
43440
43433
|
}
|
|
43441
43434
|
function loadWebLoginQr() {
|
|
43442
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
43435
|
+
webLoginQrPromise ??= import("./login-qr-B4-5-o0F.js");
|
|
43443
43436
|
return webLoginQrPromise;
|
|
43444
43437
|
}
|
|
43445
43438
|
function loadWebChannel() {
|
|
43446
|
-
webChannelPromise ??= import("./web-
|
|
43439
|
+
webChannelPromise ??= import("./web-DCJTlN61.js");
|
|
43447
43440
|
return webChannelPromise;
|
|
43448
43441
|
}
|
|
43449
43442
|
function loadWhatsAppActions() {
|
|
43450
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
43443
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-B_ruVaFh.js");
|
|
43451
43444
|
return whatsappActionsPromise;
|
|
43452
43445
|
}
|
|
43453
43446
|
function createRuntimeWhatsApp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as resolveStateDir, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { E as normalizeAgentId, R as parseAgentSessionKey, b as DEFAULT_AGENT_ID, f as resolveUserPath } from "./utils-
|
|
1
|
+
import { A as resolveStateDir, t as createSubsystemLogger } from "./subsystem-yVLJvMzb.js";
|
|
2
|
+
import { E as normalizeAgentId, R as parseAgentSessionKey, b as DEFAULT_AGENT_ID, f as resolveUserPath } from "./utils-C9g255xx.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/agent-scope.ts
|
|
@@ -13,7 +13,7 @@ import { n as WizardCancelledError, t as createClackPrompter } from "./clack-pro
|
|
|
13
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CzaTsLbc.js";
|
|
14
14
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-CbvayQRi.js";
|
|
15
15
|
import { i as pruneAgentConfig, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DKkU5jJ1.js";
|
|
16
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels } from "./onboard-channels-BrNuYAl_.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-CXwQTC1v.js";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as resolveStateDir, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { A as resolveStateDir, t as createSubsystemLogger } from "./subsystem-yVLJvMzb.js";
|
|
2
2
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CRyYLqpu.js";
|
|
3
3
|
import { t as withFileLock } from "./file-lock-B5T8Yt7U.js";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as isRich, N as theme, m as visibleWidth, xt as hasRootVersionAlias } from "./entry.js";
|
|
2
2
|
import { i as loadConfig } from "./config-C4ufN4TK.js";
|
|
3
|
-
import { hn as resolveCommitHash } from "./provider-dispatcher-
|
|
3
|
+
import { hn as resolveCommitHash } from "./provider-dispatcher-BtFOZ2YR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/tagline.ts
|
|
6
6
|
const DEFAULT_TAGLINE = "All your chats, one RemoteClaw.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as normalizeAgentId, M as normalizeAccountId } from "./utils-
|
|
2
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
1
|
+
import { E as normalizeAgentId, M as normalizeAccountId } from "./utils-C9g255xx.js";
|
|
2
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-Bc8_fEME.js";
|
|
3
|
+
import { s as normalizeChatChannelId } from "./registry-Bffp5dof.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
package/dist/boot/handler.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "../subsystem-
|
|
2
|
-
import { O as resolveAgentIdFromSessionKey } from "../utils-
|
|
3
|
-
import { l as resolveAgentWorkspaceDir, t as listAgentIds } from "../agent-scope-
|
|
4
|
-
import { P as createDefaultDeps, t as agentCommand } from "../agent-
|
|
5
|
-
import "../env-
|
|
6
|
-
import "../accounts-
|
|
7
|
-
import { n as SILENT_REPLY_TOKEN } from "../tokens-
|
|
8
|
-
import "../auth-
|
|
9
|
-
import "../config-
|
|
10
|
-
import "../errors-
|
|
11
|
-
import "../subagent-registry-
|
|
12
|
-
import "../commands-registry-
|
|
13
|
-
import "../ip-
|
|
14
|
-
import { x as isGatewayStartupEvent } from "../registry-
|
|
15
|
-
import "../dock-
|
|
16
|
-
import "../message-channel-
|
|
17
|
-
import { B as resolveMainSessionKey, L as resolveStorePath, R as resolveAgentMainSessionKey, d as updateSessionStore, s as loadSessionStore } from "../sessions-
|
|
18
|
-
import "../plugins-
|
|
19
|
-
import "../accounts-
|
|
20
|
-
import "../accounts-
|
|
21
|
-
import "../bindings-
|
|
22
|
-
import "../send-
|
|
23
|
-
import "../send-
|
|
1
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "../subsystem-yVLJvMzb.js";
|
|
2
|
+
import { O as resolveAgentIdFromSessionKey } from "../utils-C9g255xx.js";
|
|
3
|
+
import { l as resolveAgentWorkspaceDir, t as listAgentIds } from "../agent-scope-Bc8_fEME.js";
|
|
4
|
+
import { P as createDefaultDeps, t as agentCommand } from "../agent-Cq71a-zH.js";
|
|
5
|
+
import "../env-BLTZxsYF.js";
|
|
6
|
+
import "../accounts-CClJUKEG.js";
|
|
7
|
+
import { n as SILENT_REPLY_TOKEN } from "../tokens-CiqydPSV.js";
|
|
8
|
+
import "../auth-DqKsoWtY.js";
|
|
9
|
+
import "../config-DiL5MUby.js";
|
|
10
|
+
import "../errors-B-PkGRMl.js";
|
|
11
|
+
import "../subagent-registry-DLbPX6HH.js";
|
|
12
|
+
import "../commands-registry-O5jgint4.js";
|
|
13
|
+
import "../ip-D6YxSqd5.js";
|
|
14
|
+
import { x as isGatewayStartupEvent } from "../registry-Bffp5dof.js";
|
|
15
|
+
import "../dock-BhsccrhA.js";
|
|
16
|
+
import "../message-channel-BI7wmG3Q.js";
|
|
17
|
+
import { B as resolveMainSessionKey, L as resolveStorePath, R as resolveAgentMainSessionKey, d as updateSessionStore, s as loadSessionStore } from "../sessions-DGl9o8SX.js";
|
|
18
|
+
import "../plugins-wryjN9tG.js";
|
|
19
|
+
import "../accounts-BLbhPpWa.js";
|
|
20
|
+
import "../accounts-D5ftvN5y.js";
|
|
21
|
+
import "../bindings-t-Whiz0i.js";
|
|
22
|
+
import "../send-BTCMqhh8.js";
|
|
23
|
+
import "../send-CJUpZKkE.js";
|
|
24
24
|
import "../fetch-BrWib6Kk.js";
|
|
25
|
-
import "../channel-activity-
|
|
26
|
-
import "../send-
|
|
27
|
-
import "../reply-payloads-
|
|
28
|
-
import "../fetch-
|
|
29
|
-
import "../response-prefix-template-
|
|
30
|
-
import "../logger-
|
|
31
|
-
import "../ir-
|
|
32
|
-
import "../outbound-attachment-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../markdown-tables-
|
|
25
|
+
import "../channel-activity-B6DjOoJl.js";
|
|
26
|
+
import "../send-BRujwwud.js";
|
|
27
|
+
import "../reply-payloads-D8l0i-ft.js";
|
|
28
|
+
import "../fetch-wNT-853q.js";
|
|
29
|
+
import "../response-prefix-template-jFz3NJ0T.js";
|
|
30
|
+
import "../logger-Cwpy45uy.js";
|
|
31
|
+
import "../ir-Bbj3sc2f.js";
|
|
32
|
+
import "../outbound-attachment-ByUtquyy.js";
|
|
33
|
+
import "../chunk-eyz-nEd9.js";
|
|
34
|
+
import "../markdown-tables-CkmdG-Fk.js";
|
|
35
35
|
import "../render-TpKSK5RV.js";
|
|
36
|
-
import "../target-errors-
|
|
37
|
-
import "../deliver-
|
|
36
|
+
import "../target-errors-DYRD3db6.js";
|
|
37
|
+
import "../deliver-DeMlHlQD.js";
|
|
38
38
|
import "../file-lock-B5T8Yt7U.js";
|
|
39
|
-
import "../tables-
|
|
40
|
-
import "../send-
|
|
39
|
+
import "../tables-PnlJ2zD9.js";
|
|
40
|
+
import "../send-CJEiyIAk.js";
|
|
41
41
|
import "../proxy-Dhuvc6PT.js";
|
|
42
|
-
import "../resolve-route-
|
|
43
|
-
import "../replies-
|
|
44
|
-
import "../reply-prefix-
|
|
45
|
-
import "../send-
|
|
46
|
-
import "../session-meta-
|
|
42
|
+
import "../resolve-route-BaKfzn8-.js";
|
|
43
|
+
import "../replies-qf2PAOym.js";
|
|
44
|
+
import "../reply-prefix-DwxD0b5y.js";
|
|
45
|
+
import "../send-BoQ9-8wK.js";
|
|
46
|
+
import "../session-meta-BO-F_kZv.js";
|
|
47
47
|
import path from "node:path";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
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-09T16:
|
|
2
|
+
"version": "0.5.0-next.20260409163209.c29cd0d",
|
|
3
|
+
"commit": "c29cd0dc6c673a4ed021f9494896f68750e7329e",
|
|
4
|
+
"builtAt": "2026-04-09T16:32:34.096Z"
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e4c22245c6781b8dd378e64a9f0ebdcff1d3d1aedf7f8093f125f226451b30e7
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { g as sleep } from "./utils-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-yVLJvMzb.js";
|
|
2
|
+
import { g as sleep } from "./utils-C9g255xx.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-B-PkGRMl.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry.ts
|
|
@@ -2,7 +2,7 @@ import { n as isTruthyEnvValue } from "./entry.js";
|
|
|
2
2
|
import { n as CHAT_CHANNEL_ORDER } from "./registry-CKuneGpx.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-B5Stv_uD.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-CH-RxZrY.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BUBw_CCZ.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-DZMXgE8v.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-iK5DYC1R.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-KhC01R4J.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BOstyYBP.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BtXMzEKL.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, m as getChildLogger } from "./globals-C6ShOtTL.js";
|
|
2
2
|
import { S as toWhatsappJid, d as jidToE164, f as normalizeE164, g as resolveJidToE164, r as clamp, u as isSelfChatMode, x as sleep } from "./utils-D5MI3J1X.js";
|
|
3
|
-
import { $ as buildHistoryContextFromEntries, E as sleepWithAbort, Ft as hasControlCommand, It as shouldComputeCommandAuthorized, Q as DEFAULT_GROUP_HISTORY_LIMIT, T as computeBackoff, Ut as buildMentionRegexes, Wt as normalizeMentionText, X as buildPairingReply, Z as resolveMentionGating, at as dispatchReplyWithBufferedBlockDispatcher, cn as normalizeGroupActivation, ct as resolveInboundDebounceMs, et as recordPendingHistoryEntryIfEnabled, it as shouldAckReactionForWhatsApp, jt as enqueueSystemEvent, ln as parseActivationCommand, lt as formatInboundEnvelope, m as registerUnhandledRejectionHandler, mt as createDedupeCache, nt as resolveOpenProviderRuntimeGroupPolicy, rt as warnMissingProviderGroupPolicyFallbackOnce, st as createInboundDebouncer, t as getReplyFromConfig, tt as resolveDefaultGroupPolicy, ut as resolveEnvelopeFormatOptions } from "./reply-
|
|
3
|
+
import { $ as buildHistoryContextFromEntries, E as sleepWithAbort, Ft as hasControlCommand, It as shouldComputeCommandAuthorized, Q as DEFAULT_GROUP_HISTORY_LIMIT, T as computeBackoff, Ut as buildMentionRegexes, Wt as normalizeMentionText, X as buildPairingReply, Z as resolveMentionGating, at as dispatchReplyWithBufferedBlockDispatcher, cn as normalizeGroupActivation, ct as resolveInboundDebounceMs, et as recordPendingHistoryEntryIfEnabled, it as shouldAckReactionForWhatsApp, jt as enqueueSystemEvent, ln as parseActivationCommand, lt as formatInboundEnvelope, m as registerUnhandledRejectionHandler, mt as createDedupeCache, nt as resolveOpenProviderRuntimeGroupPolicy, rt as warnMissingProviderGroupPolicyFallbackOnce, st as createInboundDebouncer, t as getReplyFromConfig, tt as resolveDefaultGroupPolicy, ut as resolveEnvelopeFormatOptions } from "./reply-jXt1-EoK.js";
|
|
4
4
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DlU6YWzA.js";
|
|
5
5
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-Cf3ZA7Iw.js";
|
|
6
6
|
import { i as loadConfig } from "./config-B4l7KKuc.js";
|
|
@@ -6,7 +6,7 @@ import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy
|
|
|
6
6
|
import { d as recordSessionMetaFromInbound, l as loadSessionStore, ot as resolveGroupSessionKey, p as updateLastRoute, u as readSessionUpdatedAt } from "./sessions-Bqwa-KqY.js";
|
|
7
7
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-CEGvvcs7.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DpCcA5L3.js";
|
|
9
|
-
import { A as sleepWithAbort, Ft as hasControlCommand, It as shouldComputeCommandAuthorized, Ut as buildMentionRegexes, Wt as normalizeMentionText, _ as registerUnhandledRejectionHandler, at as resolveDefaultGroupPolicy, cn as normalizeGroupActivation, ct as shouldAckReactionForWhatsApp, dt as createInboundDebouncer, et as buildPairingReply, ft as resolveInboundDebounceMs, i as getReplyFromConfig, it as recordPendingHistoryEntryIfEnabled, jt as enqueueSystemEvent, k as computeBackoff, ln as parseActivationCommand, mt as resolveEnvelopeFormatOptions, nt as DEFAULT_GROUP_HISTORY_LIMIT, ot as resolveOpenProviderRuntimeGroupPolicy, pt as formatInboundEnvelope, rt as buildHistoryContextFromEntries, st as warnMissingProviderGroupPolicyFallbackOnce, t as dispatchReplyWithBufferedBlockDispatcher, tt as resolveMentionGating, y as createDedupeCache } from "./provider-dispatcher-
|
|
9
|
+
import { A as sleepWithAbort, Ft as hasControlCommand, It as shouldComputeCommandAuthorized, Ut as buildMentionRegexes, Wt as normalizeMentionText, _ as registerUnhandledRejectionHandler, at as resolveDefaultGroupPolicy, cn as normalizeGroupActivation, ct as shouldAckReactionForWhatsApp, dt as createInboundDebouncer, et as buildPairingReply, ft as resolveInboundDebounceMs, i as getReplyFromConfig, it as recordPendingHistoryEntryIfEnabled, jt as enqueueSystemEvent, k as computeBackoff, ln as parseActivationCommand, mt as resolveEnvelopeFormatOptions, nt as DEFAULT_GROUP_HISTORY_LIMIT, ot as resolveOpenProviderRuntimeGroupPolicy, pt as formatInboundEnvelope, rt as buildHistoryContextFromEntries, st as warnMissingProviderGroupPolicyFallbackOnce, t as dispatchReplyWithBufferedBlockDispatcher, tt as resolveMentionGating, y as createDedupeCache } from "./provider-dispatcher-BtFOZ2YR.js";
|
|
10
10
|
import { c as resolveStorePath } from "./paths-B0mxgFed.js";
|
|
11
11
|
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix } from "./response-prefix-template-BE7cfzXs.js";
|
|
12
12
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DH-5DImK.js";
|
|
@@ -20,7 +20,7 @@ import "./accounts-CQvRz35M.js";
|
|
|
20
20
|
import "./bindings-Bc3KMVqV.js";
|
|
21
21
|
import { c as createSlackWebClient } from "./send-DzeF4Pqh.js";
|
|
22
22
|
import { Q as fetchChannelPermissionsDiscord, nt as parseDiscordTarget } from "./send-DuWmhI0E.js";
|
|
23
|
-
import { dn as formatUsageReportLines, h as deleteTelegramUpdateOffset, un as loadProviderUsageSummary } from "./provider-dispatcher-
|
|
23
|
+
import { dn as formatUsageReportLines, h as deleteTelegramUpdateOffset, un as loadProviderUsageSummary } from "./provider-dispatcher-BtFOZ2YR.js";
|
|
24
24
|
import "./paths-B0mxgFed.js";
|
|
25
25
|
import "./strip-inbound-meta-DbCP7mqu.js";
|
|
26
26
|
import "./client-DbQyelfr.js";
|
|
@@ -84,7 +84,7 @@ import { t as formatDocsLink } from "./links-CC7She2i.js";
|
|
|
84
84
|
import { t as runCommandWithRuntime } from "./cli-utils-DhBikZbO.js";
|
|
85
85
|
import { t as formatHelpExamples } from "./help-format-DSq7Ospf.js";
|
|
86
86
|
import { n as withProgress } from "./progress-BSW08iWr.js";
|
|
87
|
-
import "./channel-web-
|
|
87
|
+
import "./channel-web-DZHPFFN7.js";
|
|
88
88
|
import "./session-CQzreMxH.js";
|
|
89
89
|
import "./login-C2HZFxGM.js";
|
|
90
90
|
import { t as hasExplicitOptions } from "./command-options-ZvhOayEd.js";
|
|
@@ -97,13 +97,13 @@ import { n as buildAgentSummaries } from "./agents.config-DKkU5jJ1.js";
|
|
|
97
97
|
import "./enable-DnoSfw2V.js";
|
|
98
98
|
import "./npm-registry-spec-sjlC0cQ5.js";
|
|
99
99
|
import "./installs-DFsivJct.js";
|
|
100
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
100
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BrNuYAl_.js";
|
|
101
101
|
import "./issue-format-nj1uEsX-.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-BrwHRn2B.js";
|
|
103
103
|
import { t as parseLogLine } from "./parse-log-line-enq8pduH.js";
|
|
104
104
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Cnn0YJd3.js";
|
|
105
|
-
import "./plugin-registry-
|
|
106
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
105
|
+
import "./plugin-registry-BUBw_CCZ.js";
|
|
106
|
+
import { t as formatCliChannelOptions } from "./channel-options-CUmQ6-XJ.js";
|
|
107
107
|
import fsp from "node:fs/promises";
|
|
108
108
|
|
|
109
109
|
//#region src/commands/channels/add-mutators.ts
|