remoteclaw 0.1.0-next.4ca8fbb → 0.1.0-next.5ed82dd
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-6bE7_6RL.js → accounts-CyaVe4qI.js} +1 -1
- package/dist/{ack-reactions-obWeK7Rw.js → ack-reactions-CXe1_KAt.js} +1 -1
- package/dist/{ack-reactions-C5kPZvda.js → ack-reactions-Cb_nE9ac.js} +1 -1
- package/dist/{agent-DfNHqNSe.js → agent-AeVyo0K8.js} +4 -4
- package/dist/{agent-D0tKpxob.js → agent-DZ-JCbVP.js} +4 -4
- package/dist/{agents-VeVj5NN9.js → agents-C0YJmPH8.js} +2 -2
- package/dist/{banner-D0g6Jqg7.js → banner-CKASwVV8.js} +1 -1
- package/dist/boot/handler.js +30 -30
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BZbNMyql.js → channel-activity-BazS9P1y.js} +2 -2
- package/dist/{channel-options-A-6mAxk3.js → channel-options-B-Z2mBDl.js} +1 -1
- package/dist/{channel-options-CUMGATrC.js → channel-options-B_0kPiL9.js} +1 -1
- package/dist/{channel-web-BI274Kbc.js → channel-web-DElnfg9l.js} +4 -4
- package/dist/{channel-web-tkULzsN2.js → channel-web-ef93jA6o.js} +4 -4
- package/dist/{channels-cli-GMS9bQeR.js → channels-cli-CJO2epz0.js} +11 -11
- package/dist/{channels-cli-GQ1h5nQo.js → channels-cli-Ca-hm-JF.js} +11 -11
- package/dist/{cli-BRKebcMX.js → cli-CG_FS2lp.js} +7 -7
- package/dist/{cli-DaI8rboT.js → cli-CM8tlFGR.js} +7 -7
- package/dist/command-logger/handler.js +1 -1
- package/dist/{command-registry-Bs3-JoFa.js → command-registry-BNsuZMNH.js} +9 -9
- package/dist/{commands-registry-BvESmXoK.js → commands-registry-BiVAsJtu.js} +1 -1
- package/dist/{commands-registry-CWJv6xe2.js → commands-registry-C93r6vpk.js} +1 -1
- package/dist/{completion-cli-Bq8ob7bJ.js → completion-cli-BrgKrM6A.js} +1 -1
- package/dist/{completion-cli-yFjHOtnN.js → completion-cli-C7dgJ6wf.js} +2 -2
- package/dist/{config-cli-DPSj7xEW.js → config-cli-DF7-amDz.js} +1 -1
- package/dist/{config-cli-uCJAolq3.js → config-cli-eJ5U0cnj.js} +1 -1
- package/dist/{configure-CExN5RUz.js → configure-C_BX7V61.js} +3 -3
- package/dist/{configure-sLl4dSHU.js → configure-DsKZCM0f.js} +3 -3
- package/dist/{defaults-B5KStIBg.js → defaults-Cj2IpvU0.js} +2 -0
- package/dist/{defaults-xUAL2Z-F.js → defaults-DU5ceYae.js} +2 -0
- package/dist/{doctor-completion-C56A3tON.js → doctor-completion-C44we2aM.js} +1 -1
- package/dist/{doctor-completion-BPBjYlMB.js → doctor-completion-alBLKhI0.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -0
- package/dist/{fetch-BFuS-EfP.js → fetch-BJdT3l2F.js} +1 -1
- package/dist/{gateway-cli-CqSlcKnb.js → gateway-cli-DG7OIJUC.js} +16 -16
- package/dist/{gateway-cli-CN3qPG2T.js → gateway-cli-bA1M4RLl.js} +16 -16
- package/dist/{health-DwKPQOTn.js → health-C167reEr.js} +3 -3
- package/dist/{health-DeNxtGCn.js → health-DVI6gZvm.js} +3 -3
- package/dist/{heartbeat-visibility-BvJaUOFC.js → heartbeat-visibility-B_3q3oIe.js} +1 -1
- package/dist/{heartbeat-visibility-EBPnhcaa.js → heartbeat-visibility-tXIItqqL.js} +1 -1
- package/dist/{hooks-cli-BuWpetaT.js → hooks-cli-CPIHKJ1y.js} +8 -8
- package/dist/{hooks-cli-C1BG-IlR.js → hooks-cli-DgBpkAbz.js} +8 -8
- package/dist/index.js +12 -12
- package/dist/{loader-DrZ6VM0f.js → loader-BV-B6pu0.js} +9 -9
- package/dist/{loader-Bkhoi4yR.js → loader-ouAmnPl8.js} +9 -9
- package/dist/{media-BrtsoHDf.js → media-BobbEF_S.js} +52 -52
- package/dist/{message-action-names-DYTTi8gx.js → message-action-names-B8EofokC.js} +2 -2
- package/dist/{message-action-names-oFjla2Uc.js → message-action-names-xpKHCi3-.js} +2 -2
- package/dist/{npm-resolution-DCVQ6Y0K.js → npm-resolution-B0f6x8AZ.js} +1 -1
- package/dist/{npm-resolution-D6VFpSMk.js → npm-resolution-UoB1K9uI.js} +1 -1
- package/dist/{onboard-CyM-s2Q9.js → onboard-BiqwLEEE.js} +4 -4
- package/dist/{onboard-Dt9aqz5a.js → onboard-D-NBcdsj.js} +4 -4
- package/dist/{onboard-channels-Cm2oMc5h.js → onboard-channels-CCEcDkcI.js} +2 -2
- package/dist/{onboard-channels-BMwYGHjJ.js → onboard-channels-Dh8oXf9r.js} +2 -2
- package/dist/{onboard-config-y-2cgT0V.js → onboard-config-CLLvYuqo.js} +17 -2
- package/dist/{onboard-config-BCTthQ7J.js → onboard-config-CM9pKGnR.js} +17 -2
- package/dist/{onboarding-DcL0Bg41.js → onboarding-DH3OVPTK.js} +5 -5
- package/dist/{onboarding-CJzQIK_p.js → onboarding-Dp6bJnuK.js} +5 -5
- package/dist/{onboarding.finalize-C-2u_67y.js → onboarding.finalize-ABW3WLYC.js} +9 -9
- package/dist/{onboarding.finalize-C7V8SbPj.js → onboarding.finalize-Cc1pHsBU.js} +8 -8
- package/dist/{outbound-attachment-DvxfVMMN.js → outbound-attachment-CTZqPUXZ.js} +2 -2
- package/dist/{plugin-registry-D1XLfwHj.js → plugin-registry-4N3hfgbg.js} +1 -1
- package/dist/{plugin-registry-ByWYnPMd.js → plugin-registry-iDdKx5KP.js} +1 -1
- package/dist/plugin-sdk/agents/defaults.d.ts +2 -0
- package/dist/plugin-sdk/middleware/runtime-factory.d.ts +14 -0
- package/dist/{plugins-cli-TDt5Ap1o.js → plugins-cli-0xzFn5b0.js} +8 -8
- package/dist/{plugins-cli-Dq7-gN1i.js → plugins-cli-CoFKFrSI.js} +8 -8
- package/dist/{program-context-CR8elel3.js → program-context-CoQHH3mg.js} +17 -17
- package/dist/{program-Dm6RlSCG.js → program-l-h_ZKpj.js} +13 -13
- package/dist/{prompt-select-styled-D--1U3Qh.js → prompt-select-styled-Cx9diyHU.js} +3 -3
- package/dist/{prompt-select-styled-CLzKernl.js → prompt-select-styled-D41aCibf.js} +3 -3
- package/dist/{provider-dispatcher-pOqMXfLQ.js → provider-dispatcher-Dw1z3c4j.js} +1 -1
- package/dist/{provider-dispatcher-CbJCfJNB.js → provider-dispatcher-YzSGYveV.js} +1 -1
- package/dist/{register.agent-CUANybY6.js → register.agent-BHD7_5A6.js} +10 -10
- package/dist/{register.agent-BYxDAKY7.js → register.agent-D9a5XqnO.js} +10 -10
- package/dist/{register.configure-BP0t9Uwl.js → register.configure-BYzjGOf-.js} +11 -11
- package/dist/{register.configure-DyhKPvnk.js → register.configure-CT73BSn0.js} +11 -11
- package/dist/{register.maintenance-gcZeh5o7.js → register.maintenance-BdcbJuMk.js} +12 -12
- package/dist/{register.maintenance-haVwPL96.js → register.maintenance-BfI_5YuG.js} +13 -13
- package/dist/{register.message-CKl_lHTO.js → register.message-B9kQhC0A.js} +9 -9
- package/dist/{register.message-ZbmkQ5ht.js → register.message-KWqcyzfH.js} +9 -9
- package/dist/{register.onboard-DYdJLgGd.js → register.onboard-Bdxs-IbW.js} +2 -2
- package/dist/{register.onboard-D-5OnZ0M.js → register.onboard-CPvbD-ON.js} +2 -2
- package/dist/{register.setup-hF1vdJl1.js → register.setup-DvCHjg5X.js} +2 -2
- package/dist/{register.setup-Cj7MYjtC.js → register.setup-Zbk4bEC_.js} +2 -2
- package/dist/{register.status-health-sessions-ClYWL_wb.js → register.status-health-sessions-CIoJjn2C.js} +7 -7
- package/dist/{register.status-health-sessions-BBFNCrfS.js → register.status-health-sessions-DuhWel_Z.js} +7 -7
- package/dist/{register.subclis-l2adzhui.js → register.subclis-RXZEFsRw.js} +9 -9
- package/dist/{reply-CmeV20ii.js → reply-BQTMZmAv.js} +20 -17
- package/dist/{reply-Cepi2flR.js → reply-BroKMYzd.js} +20 -17
- package/dist/{retry-D_-vU9CD.js → retry-BLH2JEr_.js} +1 -1
- package/dist/{run-main-D0u55bX8.js → run-main-CIA7lYXI.js} +19 -19
- package/dist/{secure-random-B7stcuHs.js → secure-random-Be7VzV0O.js} +1 -1
- package/dist/{send-C2BVmzi6.js → send-BFfa_Jyi.js} +7 -7
- package/dist/{send-fmudAAFF.js → send-BzxTTi-P.js} +3 -3
- package/dist/{send-DD5szdZD.js → send-Cri0B_M3.js} +15 -15
- package/dist/{send-DIO6FcGs.js → send-D3XbNZoG.js} +4 -4
- package/dist/{send-uNEzfw9q.js → send-D6pAaq_t.js} +6 -6
- package/dist/send-DsV6SxWI.js +11 -0
- package/dist/{server-node-events-CiqYClwC.js → server-node-events-C0n-HMdv.js} +3 -3
- package/dist/{server-node-events-BT_YSlcA.js → server-node-events-Der7fXSV.js} +3 -3
- package/dist/{session-utils-ByK5sFXr.js → session-utils-Dmebxc5V.js} +1 -1
- package/dist/{session-utils-BuXY8tQT.js → session-utils-pW9LRM2z.js} +1 -1
- package/dist/{sessions-B_zoH4sM.js → sessions-C_SJsOUL.js} +2 -2
- package/dist/{status-B47idaLU.js → status-BIuRciWZ.js} +5 -5
- package/dist/{status-Dof6X4RY.js → status-DUafvlve.js} +5 -5
- package/dist/{store-Bxy7EHAf.js → store-D_giQ5mr.js} +5 -5
- package/dist/{subsystem-C_FedsH7.js → subsystem-DjIrbjJ0.js} +20 -20
- package/dist/{tables-BO6GU4qX.js → tables-D691GfQb.js} +1 -1
- package/dist/{targets-D1e9eyXc.js → targets-BdKHLbuS.js} +12 -1
- package/dist/{targets-B-hWtwfx.js → targets-CLuJTqzf.js} +3 -3
- package/dist/{targets-CMhBAn87.js → targets-JCISV-hS.js} +3 -3
- package/dist/{targets-DK9MVsjx.js → targets-o952FmLk.js} +12 -1
- package/dist/{tui-C9l1U4r8.js → tui-BD6CwDa3.js} +1 -1
- package/dist/{tui-cli-1Jp507CR.js → tui-cli-3_lPkhqA.js} +2 -2
- package/dist/{tui-cli-DvjBEn7h.js → tui-cli-BZhwgBws.js} +2 -2
- package/dist/{tui-ByoaOs-l.js → tui-mlwapNkY.js} +1 -1
- package/dist/{update-cli-b3W8RwJh.js → update-cli-Beb7ncky.js} +12 -12
- package/dist/{update-cli-C7WnLi19.js → update-cli-KATIOIO7.js} +13 -13
- package/dist/{usage-DY7X9Iud.js → usage-BDey052P.js} +70 -57
- package/dist/{web-B9EiMNAf.js → web-BfJxS7Sn.js} +6 -6
- package/dist/{web-C5EBMd1-.js → web-CTRYCdtN.js} +17 -17
- package/dist/{web-Bp50XopI.js → web-DxPc-IsK.js} +6 -6
- package/package.json +1 -1
- package/dist/send-D9zlp5S9.js +0 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-
|
|
1
|
+
import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-BobbEF_S.js";
|
|
2
2
|
|
|
3
3
|
//#region src/imessage/accounts.ts
|
|
4
4
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as formatUtcTimestamp, i as resolveSenderLabel, k as CURRENT_MESSAGE_MARKER, o as formatZonedTimestamp, p as resolveUserTimezone, s as resolveTimezone } from "./reply-
|
|
1
|
+
import { a as formatUtcTimestamp, i as resolveSenderLabel, k as CURRENT_MESSAGE_MARKER, o as formatZonedTimestamp, p as resolveUserTimezone, s as resolveTimezone } from "./reply-BQTMZmAv.js";
|
|
2
2
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
4
4
|
import { n as formatTimeAgo } from "./format-relative-79_Y1n2Y.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-CVfo8I5f.js";
|
|
2
2
|
import { t as normalizeChatType } from "./chat-type-CYPyHAj-.js";
|
|
3
|
-
import { a as formatUtcTimestamp, i as resolveSenderLabel, k as CURRENT_MESSAGE_MARKER, o as formatZonedTimestamp, p as resolveUserTimezone, s as resolveTimezone } from "./reply-
|
|
3
|
+
import { a as formatUtcTimestamp, i as resolveSenderLabel, k as CURRENT_MESSAGE_MARKER, o as formatZonedTimestamp, p as resolveUserTimezone, s as resolveTimezone } from "./reply-BroKMYzd.js";
|
|
4
4
|
import { n as formatTimeAgo } from "./format-relative-CxLpEQOX.js";
|
|
5
5
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
6
6
|
|
|
@@ -10,8 +10,8 @@ import { i as loadConfig } from "./config-Dx2muBSJ.js";
|
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
11
11
|
import { a as ensureAuthProfileStore } from "./auth-profiles-CeDgZz_7.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BXkDApVh.js";
|
|
13
|
-
import { a as getCliSessionId,
|
|
14
|
-
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-
|
|
13
|
+
import { a as getCliSessionId, c as resolveCliRuntimeProvider, d as clearSessionAuthProfileOverride, i as resolveSessionDeliveryTarget, o as setCliSessionId, p as applyVerboseOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveChannelMessageToolHints, x as resolveSendPolicy } from "./targets-BdKHLbuS.js";
|
|
14
|
+
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-Cj2IpvU0.js";
|
|
15
15
|
import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolveSessionTranscriptPath } from "./chat-envelope-el7Uo-Fe.js";
|
|
16
16
|
import { B as resolveChannelResetConfig, F as resolveAndPersistSessionFile, H as resolveSessionResetType, K as setSessionRuntimeModel, M as parseSessionThreadInfo, R as resolveSessionKey, V as resolveSessionResetPolicy, Y as resolveExplicitAgentSessionKey, h as normalizeAccountId, l as updateSessionStore, n as loadSessionStore, z as evaluateSessionFreshness } from "./store-BsEwlSm1.js";
|
|
17
17
|
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-BtQcAnf6.js";
|
|
@@ -38,7 +38,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
38
38
|
function createDefaultDeps() {
|
|
39
39
|
return {
|
|
40
40
|
sendMessageWhatsApp: async (...args) => {
|
|
41
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
41
|
+
const { sendMessageWhatsApp } = await import("./web-DxPc-IsK.js");
|
|
42
42
|
return await sendMessageWhatsApp(...args);
|
|
43
43
|
},
|
|
44
44
|
sendMessageTelegram: async (...args) => {
|
|
@@ -655,7 +655,7 @@ async function agentCommand(opts, runtime = defaultRuntime, deps = createDefault
|
|
|
655
655
|
const messageChannel = resolveMessageChannel(runContext.messageChannel, opts.replyChannel ?? opts.channel);
|
|
656
656
|
const sessionMap = createSessionMapAdapter({ getSessionId: () => getCliSessionId(sessionEntry, provider) });
|
|
657
657
|
const bridge = new ChannelBridge({
|
|
658
|
-
provider,
|
|
658
|
+
provider: resolveCliRuntimeProvider(cfg),
|
|
659
659
|
sessionMap,
|
|
660
660
|
gatewayUrl: resolveGatewayUrlFromConfig(cfg),
|
|
661
661
|
gatewayToken: resolveGatewayTokenFromConfig(cfg),
|
|
@@ -12,9 +12,9 @@ import { l as resolveSessionFilePathOptions, m as resolveStorePath, u as resolve
|
|
|
12
12
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BHWUBHMd.js";
|
|
13
13
|
import { a as emitAgentEvent, c as registerAgentRunContext, i as clearAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-cHJ5arWg.js";
|
|
14
14
|
import { c as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeThinkLevel, t as formatThinkingLevels, u as supportsXHighThinking } from "./agent-helpers-CTx5KKJu.js";
|
|
15
|
-
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-
|
|
15
|
+
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-DU5ceYae.js";
|
|
16
16
|
import { t as ensureAgentWorkspace } from "./workspace-BzPeZDew.js";
|
|
17
|
-
import { a as getCliSessionId,
|
|
17
|
+
import { a as getCliSessionId, c as resolveCliRuntimeProvider, d as clearSessionAuthProfileOverride, i as resolveSessionDeliveryTarget, o as setCliSessionId, p as applyVerboseOverride, r as resolveOutboundTarget, s as ChannelBridge, u as resolveChannelMessageToolHints, x as resolveSendPolicy } from "./targets-o952FmLk.js";
|
|
18
18
|
import { n as deriveSessionTotalTokens, r as hasNonzeroUsage } from "./usage-BdhBT0Vz.js";
|
|
19
19
|
import { n as resolveMessageChannelSelection } from "./channel-selection-NNPbxnyZ.js";
|
|
20
20
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-Dm7GkHXJ.js";
|
|
@@ -37,7 +37,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
37
37
|
function createDefaultDeps() {
|
|
38
38
|
return {
|
|
39
39
|
sendMessageWhatsApp: async (...args) => {
|
|
40
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
40
|
+
const { sendMessageWhatsApp } = await import("./web-BfJxS7Sn.js");
|
|
41
41
|
return await sendMessageWhatsApp(...args);
|
|
42
42
|
},
|
|
43
43
|
sendMessageTelegram: async (...args) => {
|
|
@@ -654,7 +654,7 @@ async function agentCommand(opts, runtime = defaultRuntime, deps = createDefault
|
|
|
654
654
|
const messageChannel = resolveMessageChannel(runContext.messageChannel, opts.replyChannel ?? opts.channel);
|
|
655
655
|
const sessionMap = createSessionMapAdapter({ getSessionId: () => getCliSessionId(sessionEntry, provider) });
|
|
656
656
|
const bridge = new ChannelBridge({
|
|
657
|
-
provider,
|
|
657
|
+
provider: resolveCliRuntimeProvider(cfg),
|
|
658
658
|
sessionMap,
|
|
659
659
|
gatewayUrl: resolveGatewayUrlFromConfig(cfg),
|
|
660
660
|
gatewayToken: resolveGatewayTokenFromConfig(cfg),
|
|
@@ -10,7 +10,7 @@ import { p as resolveSessionTranscriptsDirForAgent } from "./chat-envelope-DEZ-5
|
|
|
10
10
|
import { n as WizardCancelledError, t as createClackPrompter } from "./clack-prompter-CCFnKP_1.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-R7bU5IBz.js";
|
|
12
12
|
import { c as moveToTrash, i as ensureWorkspaceAndSessions } from "./onboard-helpers-DC1_Uz_K.js";
|
|
13
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-Dh8oXf9r.js";
|
|
14
14
|
import { t as requireValidConfigSnapshot } from "./config-validation-CqVJLiYT.js";
|
|
15
15
|
import { i as pruneAgentConfig, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-p3V3b9u6.js";
|
|
16
16
|
import { n as logConfigUpdated } from "./logging-D8-Kozjc.js";
|
|
@@ -311,7 +311,7 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
311
311
|
options: [
|
|
312
312
|
{
|
|
313
313
|
value: "claude",
|
|
314
|
-
label: "Claude Code (claude
|
|
314
|
+
label: "Claude Code (claude)"
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
value: "gemini",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ct as theme, St as isRich, h as visibleWidth, sn as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { at as resolveCommitHash } from "./reply-
|
|
2
|
+
import { at as resolveCommitHash } from "./reply-BroKMYzd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one RemoteClaw.";
|
package/dist/boot/handler.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { $ as normalizeModelRef, A as normalizeChannelId, G as isGatewayMessageChannel, J as normalizeMessageChannel, K as isInternalMessageChannel, O as getChannelPlugin, Q as isCliProvider, U as INTERNAL_MESSAGE_CHANNEL, W as isDeliverableMessageChannel, Y as resolveMessageChannel, _ as resolveTextChunkLimit, at as resolveSessionAgentId, ct as normalizeAgentId, d as getAgentScopedMediaLocalRoots, ft as normalizeAccountId, g as resolveChunkMode, h as chunkMarkdownTextWithMode, it as resolveAgentWorkspaceDir, k as listChannelPlugins, lt as normalizeMainKey, m as chunkByParagraph, nt as listAgentIds, p as resolveMarkdownTableMode, q as listDeliverableMessageChannels, rt as resolveAgentConfig, tt as formatCliCommand, ut as resolveAgentIdFromSessionKey, x as loadConfig } from "../media-
|
|
2
|
-
import { D as createInternalHookEvent, M as resolveGatewayPort, O as isGatewayStartupEvent, P as resolveStateDir, k as triggerInternalHook, n as defaultRuntime, s as getActivePluginRegistry, t as createSubsystemLogger } from "../subsystem-
|
|
3
|
-
import { A as
|
|
4
|
-
import "../targets-
|
|
5
|
-
import "../accounts-
|
|
6
|
-
import { t as generateSecureUuid } from "../secure-random-
|
|
7
|
-
import "../fetch-
|
|
8
|
-
import "../retry-
|
|
9
|
-
import "../targets-
|
|
10
|
-
import { n as markdownToSignalTextChunks, t as sendMessageSignal } from "../send-
|
|
11
|
-
import "../store-
|
|
12
|
-
import "../outbound-attachment-
|
|
1
|
+
import { $ as normalizeModelRef, A as normalizeChannelId, G as isGatewayMessageChannel, J as normalizeMessageChannel, K as isInternalMessageChannel, O as getChannelPlugin, Q as isCliProvider, U as INTERNAL_MESSAGE_CHANNEL, W as isDeliverableMessageChannel, Y as resolveMessageChannel, _ as resolveTextChunkLimit, at as resolveSessionAgentId, ct as normalizeAgentId, d as getAgentScopedMediaLocalRoots, ft as normalizeAccountId, g as resolveChunkMode, h as chunkMarkdownTextWithMode, it as resolveAgentWorkspaceDir, k as listChannelPlugins, lt as normalizeMainKey, m as chunkByParagraph, nt as listAgentIds, p as resolveMarkdownTableMode, q as listDeliverableMessageChannels, rt as resolveAgentConfig, tt as formatCliCommand, ut as resolveAgentIdFromSessionKey, x as loadConfig } from "../media-BobbEF_S.js";
|
|
2
|
+
import { D as createInternalHookEvent, M as resolveGatewayPort, O as isGatewayStartupEvent, P as resolveStateDir, k as triggerInternalHook, n as defaultRuntime, s as getActivePluginRegistry, t as createSubsystemLogger } from "../subsystem-DjIrbjJ0.js";
|
|
3
|
+
import { A as clearSessionAuthProfileOverride, B as evaluateSessionFreshness, C as ensureAgentWorkspace, D as getCliSessionId, E as DEFAULT_PROVIDER, F as loadSessionStore, G as resolveSessionFilePathOptions, H as resolveSessionResetPolicy, I as updateSessionStore, J as resolveAgentMainSessionKey, K as resolveSessionTranscriptPath, L as normalizeAccountId$1, M as appendAssistantMessageToSessionTranscript, N as resolveMirroredTranscriptText, O as setCliSessionId, P as resolveAndPersistSessionFile, Q as SILENT_REPLY_TOKEN, S as supportsXHighThinking, T as DEFAULT_MODEL, U as resolveSessionResetType, V as resolveChannelResetConfig, W as setSessionRuntimeModel, X as resolveMainSessionKey, Y as resolveExplicitAgentSessionKey, Z as ensureAuthProfileStore, _ as resolveGatewayCredentialsFromConfig, a as parseReplyDirectives, b as normalizeThinkLevel, c as AGENT_LANE_NESTED, d as ChannelBridge, f as resolveCliRuntimeProvider, g as registerAgentRunContext, h as emitAgentEvent, i as shouldSuppressReasoningPayload, j as parseSessionThreadInfo, k as resolveChannelMessageToolHints, l as resolveSendPolicy, m as clearAgentRunContext, n as hasNonzeroUsage, o as resolveOutboundTarget, p as getGlobalHookRunner, q as resolveStorePath, r as isRenderablePayload, s as resolveSessionDeliveryTarget, t as deriveSessionTotalTokens, u as applyVerboseOverride, v as formatThinkingLevels, w as DEFAULT_CONTEXT_TOKENS, x as normalizeVerboseLevel, y as formatXHighModelHint, z as resolveSessionKey } from "../usage-BDey052P.js";
|
|
4
|
+
import "../targets-JCISV-hS.js";
|
|
5
|
+
import "../accounts-CyaVe4qI.js";
|
|
6
|
+
import { t as generateSecureUuid } from "../secure-random-Be7VzV0O.js";
|
|
7
|
+
import "../fetch-BJdT3l2F.js";
|
|
8
|
+
import "../retry-BLH2JEr_.js";
|
|
9
|
+
import "../targets-CLuJTqzf.js";
|
|
10
|
+
import { n as markdownToSignalTextChunks, t as sendMessageSignal } from "../send-D3XbNZoG.js";
|
|
11
|
+
import "../store-D_giQ5mr.js";
|
|
12
|
+
import "../outbound-attachment-CTZqPUXZ.js";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
15
|
-
import fs from "node:fs/promises";
|
|
14
|
+
import fs from "node:fs";
|
|
15
|
+
import fs$1 from "node:fs/promises";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -32,27 +32,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
32
32
|
function createDefaultDeps() {
|
|
33
33
|
return {
|
|
34
34
|
sendMessageWhatsApp: async (...args) => {
|
|
35
|
-
const { sendMessageWhatsApp } = await import("../web-
|
|
35
|
+
const { sendMessageWhatsApp } = await import("../web-CTRYCdtN.js");
|
|
36
36
|
return await sendMessageWhatsApp(...args);
|
|
37
37
|
},
|
|
38
38
|
sendMessageTelegram: async (...args) => {
|
|
39
|
-
const { sendMessageTelegram } = await import("../send-
|
|
39
|
+
const { sendMessageTelegram } = await import("../send-Cri0B_M3.js");
|
|
40
40
|
return await sendMessageTelegram(...args);
|
|
41
41
|
},
|
|
42
42
|
sendMessageDiscord: async (...args) => {
|
|
43
|
-
const { sendMessageDiscord } = await import("../send-
|
|
43
|
+
const { sendMessageDiscord } = await import("../send-DsV6SxWI.js");
|
|
44
44
|
return await sendMessageDiscord(...args);
|
|
45
45
|
},
|
|
46
46
|
sendMessageSlack: async (...args) => {
|
|
47
|
-
const { sendMessageSlack } = await import("../send-
|
|
47
|
+
const { sendMessageSlack } = await import("../send-BzxTTi-P.js");
|
|
48
48
|
return await sendMessageSlack(...args);
|
|
49
49
|
},
|
|
50
50
|
sendMessageSignal: async (...args) => {
|
|
51
|
-
const { sendMessageSignal } = await import("../send-
|
|
51
|
+
const { sendMessageSignal } = await import("../send-BFfa_Jyi.js");
|
|
52
52
|
return await sendMessageSignal(...args);
|
|
53
53
|
},
|
|
54
54
|
sendMessageIMessage: async (...args) => {
|
|
55
|
-
const { sendMessageIMessage } = await import("../send-
|
|
55
|
+
const { sendMessageIMessage } = await import("../send-D6pAaq_t.js");
|
|
56
56
|
return await sendMessageIMessage(...args);
|
|
57
57
|
}
|
|
58
58
|
};
|
|
@@ -253,11 +253,11 @@ function resolveFailedDir(stateDir) {
|
|
|
253
253
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
254
254
|
async function ensureQueueDir(stateDir) {
|
|
255
255
|
const queueDir = resolveQueueDir(stateDir);
|
|
256
|
-
await
|
|
256
|
+
await fs.promises.mkdir(queueDir, {
|
|
257
257
|
recursive: true,
|
|
258
258
|
mode: 448
|
|
259
259
|
});
|
|
260
|
-
await
|
|
260
|
+
await fs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
261
261
|
recursive: true,
|
|
262
262
|
mode: 448
|
|
263
263
|
});
|
|
@@ -284,18 +284,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
284
284
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
285
285
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
286
286
|
const json = JSON.stringify(entry, null, 2);
|
|
287
|
-
await
|
|
287
|
+
await fs.promises.writeFile(tmp, json, {
|
|
288
288
|
encoding: "utf-8",
|
|
289
289
|
mode: 384
|
|
290
290
|
});
|
|
291
|
-
await
|
|
291
|
+
await fs.promises.rename(tmp, filePath);
|
|
292
292
|
return id;
|
|
293
293
|
}
|
|
294
294
|
/** Remove a successfully delivered entry from the queue. */
|
|
295
295
|
async function ackDelivery(id, stateDir) {
|
|
296
296
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
297
297
|
try {
|
|
298
|
-
await
|
|
298
|
+
await fs.promises.unlink(filePath);
|
|
299
299
|
} catch (err) {
|
|
300
300
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
301
301
|
}
|
|
@@ -303,16 +303,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
303
303
|
/** Update a queue entry after a failed delivery attempt. */
|
|
304
304
|
async function failDelivery(id, error, stateDir) {
|
|
305
305
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
306
|
-
const raw = await
|
|
306
|
+
const raw = await fs.promises.readFile(filePath, "utf-8");
|
|
307
307
|
const entry = JSON.parse(raw);
|
|
308
308
|
entry.retryCount += 1;
|
|
309
309
|
entry.lastError = error;
|
|
310
310
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
311
|
-
await
|
|
311
|
+
await fs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
312
312
|
encoding: "utf-8",
|
|
313
313
|
mode: 384
|
|
314
314
|
});
|
|
315
|
-
await
|
|
315
|
+
await fs.promises.rename(tmp, filePath);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
//#endregion
|
|
@@ -1236,7 +1236,7 @@ async function agentCommand(opts, runtime = defaultRuntime, deps = createDefault
|
|
|
1236
1236
|
const messageChannel = resolveMessageChannel(runContext.messageChannel, opts.replyChannel ?? opts.channel);
|
|
1237
1237
|
const sessionMap = createSessionMapAdapter({ getSessionId: () => getCliSessionId(sessionEntry, provider) });
|
|
1238
1238
|
const bridge = new ChannelBridge({
|
|
1239
|
-
provider,
|
|
1239
|
+
provider: resolveCliRuntimeProvider(cfg),
|
|
1240
1240
|
sessionMap,
|
|
1241
1241
|
gatewayUrl: resolveGatewayUrlFromConfig(cfg),
|
|
1242
1242
|
gatewayToken: resolveGatewayTokenFromConfig(cfg),
|
|
@@ -1341,7 +1341,7 @@ async function resolveBootPrompt(boot, workspaceDir) {
|
|
|
1341
1341
|
if (boot.file !== void 0) {
|
|
1342
1342
|
const filePath = path.isAbsolute(boot.file) ? boot.file : path.join(workspaceDir, boot.file);
|
|
1343
1343
|
try {
|
|
1344
|
-
const trimmed = (await fs.readFile(filePath, "utf-8")).trim();
|
|
1344
|
+
const trimmed = (await fs$1.readFile(filePath, "utf-8")).trim();
|
|
1345
1345
|
if (!trimmed) return { status: "empty" };
|
|
1346
1346
|
return {
|
|
1347
1347
|
status: "ok",
|
package/dist/build-info.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.0-next.
|
|
3
|
-
"commit": "
|
|
4
|
-
"builtAt": "2026-03-
|
|
2
|
+
"version": "0.1.0-next.5ed82dd",
|
|
3
|
+
"commit": "5ed82ddea4590c5090ff5799fcfe212536d40945",
|
|
4
|
+
"builtAt": "2026-03-07T19:22:15.626Z"
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
828db5f8682d76474e61121ec231a281e26251aff1b32e47290d4222c5108957
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { T as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-DjIrbjJ0.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-BLH2JEr_.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/security/safe-regex.ts
|
|
@@ -2,7 +2,7 @@ import { u as CHAT_CHANNEL_ORDER } from "./subsystem-CrJCqjAh.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-Br2Bl6Ht.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-BXkDApVh.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BMf9kYo4.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-4N3hfgbg.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-BflZz0sp.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-DTOwqzdA.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-iDdKx5KP.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as shouldLogVerbose, R as getChildLogger, S as toWhatsappJid, d as jidToE164, f as normalizeE164, g as resolveJidToE164, k as logVerbose, r as clamp, u as isSelfChatMode, x as sleep } from "./utils-C5daYcFn.js";
|
|
2
|
-
import { A as buildMentionRegexes, N as normalizeMentionText, Q as parseActivationCommand, Z as normalizeGroupActivation, _ as shouldComputeCommandAuthorized, h as hasControlCommand, t as getReplyFromConfig } from "./reply-
|
|
2
|
+
import { A as buildMentionRegexes, N as normalizeMentionText, Q as parseActivationCommand, Z as normalizeGroupActivation, _ as shouldComputeCommandAuthorized, h as hasControlCommand, t as getReplyFromConfig } from "./reply-BQTMZmAv.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CrJCqjAh.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
5
5
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-5YLnn_qf.js";
|
|
@@ -10,7 +10,7 @@ import { f as registerUnhandledRejectionHandler } from "./runner-BbLPl1dz.js";
|
|
|
10
10
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-z2u_s7jG.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DgXcqxBt.js";
|
|
12
12
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-B1aJFYXr.js";
|
|
13
|
-
import {
|
|
13
|
+
import { g as enqueueSystemEvent } from "./targets-BdKHLbuS.js";
|
|
14
14
|
import { i as readChannelAllowFromStore, s as upsertChannelPairingRequest } from "./pairing-store-BgAv4uN8.js";
|
|
15
15
|
import { m as resolveStorePath } from "./chat-envelope-el7Uo-Fe.js";
|
|
16
16
|
import { a as recordSessionMetaFromInbound, c as updateLastRoute, i as readSessionUpdatedAt, n as loadSessionStore, rt as resolveGroupSessionKey } from "./store-BsEwlSm1.js";
|
|
@@ -22,11 +22,11 @@ import { n as resolveMarkdownTableMode } from "./markdown-tables-hhOWaw8L.js";
|
|
|
22
22
|
import { t as convertMarkdownTables } from "./tables-D_PTzthR.js";
|
|
23
23
|
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-BSrQB04F.js";
|
|
24
24
|
import { r as setActiveWebListener } from "./active-listener-VzhWW8W6.js";
|
|
25
|
-
import { C as computeBackoff, S as resolveInboundDebounceMs, _ as buildHistoryContextFromEntries, a as formatInboundEnvelope, b as recordPendingHistoryEntryIfEnabled, c as resolveMentionGating, g as DEFAULT_GROUP_HISTORY_LIMIT, h as warnMissingProviderGroupPolicyFallbackOnce, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, r as shouldAckReactionForWhatsApp, s as resolveEnvelopeFormatOptions, u as buildPairingReply, w as sleepWithAbort, x as createInboundDebouncer } from "./ack-reactions-
|
|
25
|
+
import { C as computeBackoff, S as resolveInboundDebounceMs, _ as buildHistoryContextFromEntries, a as formatInboundEnvelope, b as recordPendingHistoryEntryIfEnabled, c as resolveMentionGating, g as DEFAULT_GROUP_HISTORY_LIMIT, h as warnMissingProviderGroupPolicyFallbackOnce, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, r as shouldAckReactionForWhatsApp, s as resolveEnvelopeFormatOptions, u as buildPairingReply, w as sleepWithAbort, x as createInboundDebouncer } from "./ack-reactions-CXe1_KAt.js";
|
|
26
26
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-aUptxSVD.js";
|
|
27
27
|
import { n as formatDurationPrecise } from "./format-duration-Ct-yiwkS.js";
|
|
28
28
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BDGdM-l3.js";
|
|
29
|
-
import { l as createDedupeCache, t as dispatchReplyWithBufferedBlockDispatcher } from "./provider-dispatcher-
|
|
29
|
+
import { l as createDedupeCache, t as dispatchReplyWithBufferedBlockDispatcher } from "./provider-dispatcher-YzSGYveV.js";
|
|
30
30
|
import { n as toLocationContext, t as formatLocationText } from "./location-DBWCGNLq.js";
|
|
31
31
|
import { n as saveMediaBuffer } from "./store-BPZo49zT.js";
|
|
32
32
|
import { t as createReplyPrefixOptions } from "./reply-prefix-4zLS7A1Y.js";
|
|
@@ -7,7 +7,7 @@ import { d as readSessionUpdatedAt, f as recordSessionMetaFromInbound, h as upda
|
|
|
7
7
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BTXSfPWi.js";
|
|
8
8
|
import { m as resolveStorePath } from "./chat-envelope-DEZ-5RY8.js";
|
|
9
9
|
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix } from "./response-prefix-template-up4REfuR.js";
|
|
10
|
-
import { A as buildMentionRegexes, N as normalizeMentionText, Q as parseActivationCommand, Z as normalizeGroupActivation, _ as shouldComputeCommandAuthorized, h as hasControlCommand, t as getReplyFromConfig } from "./reply-
|
|
10
|
+
import { A as buildMentionRegexes, N as normalizeMentionText, Q as parseActivationCommand, Z as normalizeGroupActivation, _ as shouldComputeCommandAuthorized, h as hasControlCommand, t as getReplyFromConfig } from "./reply-BroKMYzd.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-jrnSPvZ6.js";
|
|
12
12
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CSQfUhgF.js";
|
|
13
13
|
import { t as loadWebMedia } from "./media-DN7yRfrH.js";
|
|
@@ -17,13 +17,13 @@ import { r as setActiveWebListener } from "./active-listener-z0qVEcom.js";
|
|
|
17
17
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-BrH0Q63K.js";
|
|
18
18
|
import { t as finalizeInboundContext } from "./inbound-context-DS_kpIYI.js";
|
|
19
19
|
import { f as registerUnhandledRejectionHandler } from "./runner-z92MWZ3m.js";
|
|
20
|
-
import {
|
|
20
|
+
import { g as enqueueSystemEvent } from "./targets-o952FmLk.js";
|
|
21
21
|
import { i as readChannelAllowFromStore, s as upsertChannelPairingRequest } from "./pairing-store-CTkD51uW.js";
|
|
22
22
|
import { n as recordChannelActivity } from "./channel-activity-DTKGf3j5.js";
|
|
23
|
-
import { l as createDedupeCache, t as dispatchReplyWithBufferedBlockDispatcher } from "./provider-dispatcher-
|
|
23
|
+
import { l as createDedupeCache, t as dispatchReplyWithBufferedBlockDispatcher } from "./provider-dispatcher-Dw1z3c4j.js";
|
|
24
24
|
import { n as saveMediaBuffer } from "./store-v3P-OWhi.js";
|
|
25
25
|
import { t as createReplyPrefixOptions } from "./reply-prefix-DBLCYiup.js";
|
|
26
|
-
import { C as computeBackoff, S as resolveInboundDebounceMs, _ as buildHistoryContextFromEntries, a as formatInboundEnvelope, b as recordPendingHistoryEntryIfEnabled, c as resolveMentionGating, g as DEFAULT_GROUP_HISTORY_LIMIT, h as warnMissingProviderGroupPolicyFallbackOnce, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, r as shouldAckReactionForWhatsApp, s as resolveEnvelopeFormatOptions, u as buildPairingReply, w as sleepWithAbort, x as createInboundDebouncer } from "./ack-reactions-
|
|
26
|
+
import { C as computeBackoff, S as resolveInboundDebounceMs, _ as buildHistoryContextFromEntries, a as formatInboundEnvelope, b as recordPendingHistoryEntryIfEnabled, c as resolveMentionGating, g as DEFAULT_GROUP_HISTORY_LIMIT, h as warnMissingProviderGroupPolicyFallbackOnce, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, r as shouldAckReactionForWhatsApp, s as resolveEnvelopeFormatOptions, u as buildPairingReply, w as sleepWithAbort, x as createInboundDebouncer } from "./ack-reactions-Cb_nE9ac.js";
|
|
27
27
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DBL5nHDy.js";
|
|
28
28
|
import { n as formatDurationPrecise } from "./format-duration-CqUERz51.js";
|
|
29
29
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-CBVbY0xS.js";
|
|
@@ -17,7 +17,7 @@ import "./accounts-BxGS70Do.js";
|
|
|
17
17
|
import "./accounts-CNY1TGj1.js";
|
|
18
18
|
import "./bindings-CRU_udk8.js";
|
|
19
19
|
import { t as parseDiscordTarget } from "./targets-D7OKVXMI.js";
|
|
20
|
-
import { _ as deleteTelegramUpdateOffset } from "./loader-
|
|
20
|
+
import { _ as deleteTelegramUpdateOffset } from "./loader-ouAmnPl8.js";
|
|
21
21
|
import "./chat-envelope-DEZ-5RY8.js";
|
|
22
22
|
import "./strip-inbound-meta-DjKcSFaW.js";
|
|
23
23
|
import { n as callGateway } from "./call-C1c3rcy7.js";
|
|
@@ -33,7 +33,7 @@ import "./tool-images-kloBqxqK.js";
|
|
|
33
33
|
import "./exec-DkFE7lqU.js";
|
|
34
34
|
import "./image-ops-DWytvdh_.js";
|
|
35
35
|
import "./tokens-B-jmvNR9.js";
|
|
36
|
-
import { $ as loadProviderUsageSummary, et as formatUsageReportLines } from "./reply-
|
|
36
|
+
import { $ as loadProviderUsageSummary, et as formatUsageReportLines } from "./reply-BroKMYzd.js";
|
|
37
37
|
import "./hook-runner-global-BSklbS52.js";
|
|
38
38
|
import "./redact-Dx1Fue21.js";
|
|
39
39
|
import "./tool-display-Br6mwaJc.js";
|
|
@@ -49,11 +49,11 @@ import "./ssrf-Ck9HDZpv.js";
|
|
|
49
49
|
import "./local-roots-BrH0Q63K.js";
|
|
50
50
|
import "./common-DSVmydhm.js";
|
|
51
51
|
import "./commands-CDonBOrw.js";
|
|
52
|
-
import "./commands-registry-
|
|
52
|
+
import "./commands-registry-C93r6vpk.js";
|
|
53
53
|
import "./audio-VBcVDa08.js";
|
|
54
54
|
import "./runner-z92MWZ3m.js";
|
|
55
55
|
import "./errors-DZ199hOo.js";
|
|
56
|
-
import "./targets-
|
|
56
|
+
import "./targets-o952FmLk.js";
|
|
57
57
|
import "./pairing-store-CTkD51uW.js";
|
|
58
58
|
import "./fetch-CEDsOiql.js";
|
|
59
59
|
import "./retry-DnqPAqWp.js";
|
|
@@ -63,11 +63,11 @@ import "./channel-activity-DTKGf3j5.js";
|
|
|
63
63
|
import { Q as fetchChannelPermissionsDiscord } from "./send-W1ofaGo7.js";
|
|
64
64
|
import "./session-cost-usage-DX09eTPU.js";
|
|
65
65
|
import "./reply-directives-DspqGGVJ.js";
|
|
66
|
-
import "./provider-dispatcher-
|
|
66
|
+
import "./provider-dispatcher-Dw1z3c4j.js";
|
|
67
67
|
import "./store-v3P-OWhi.js";
|
|
68
68
|
import "./reply-prefix-DBLCYiup.js";
|
|
69
|
-
import "./channel-web-
|
|
70
|
-
import "./ack-reactions-
|
|
69
|
+
import "./channel-web-ef93jA6o.js";
|
|
70
|
+
import "./ack-reactions-Cb_nE9ac.js";
|
|
71
71
|
import "./session-DBL5nHDy.js";
|
|
72
72
|
import "./resolve-route-CBVbY0xS.js";
|
|
73
73
|
import "./login-BIgEFDBJ.js";
|
|
@@ -90,7 +90,7 @@ import "./send-Bh75o8GE.js";
|
|
|
90
90
|
import "./send-DWzItTE9.js";
|
|
91
91
|
import "./proxy-DpNv2cSV.js";
|
|
92
92
|
import "./replies-BGYU-p0J.js";
|
|
93
|
-
import "./agent-
|
|
93
|
+
import "./agent-DZ-JCbVP.js";
|
|
94
94
|
import { n as resolveMessageChannelSelection } from "./channel-selection-NNPbxnyZ.js";
|
|
95
95
|
import "./deliver-Dm7GkHXJ.js";
|
|
96
96
|
import "./outbound-attachment-o0seS0CP.js";
|
|
@@ -98,13 +98,13 @@ import "./delivery-queue-Cfa9Wmxp.js";
|
|
|
98
98
|
import "./send-CltrzWlk.js";
|
|
99
99
|
import "./onboard-helpers-DC1_Uz_K.js";
|
|
100
100
|
import "./pairing-labels-B_53dY5L.js";
|
|
101
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
101
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-Dh8oXf9r.js";
|
|
102
102
|
import { t as requireValidConfigSnapshot } from "./config-validation-CqVJLiYT.js";
|
|
103
103
|
import { t as buildChannelAccountSnapshot } from "./status-BrwHRn2B.js";
|
|
104
104
|
import { t as parseLogLine } from "./parse-log-line-enq8pduH.js";
|
|
105
105
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DwRDzwrV.js";
|
|
106
|
-
import "./plugin-registry-
|
|
107
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
106
|
+
import "./plugin-registry-iDdKx5KP.js";
|
|
107
|
+
import { t as formatCliChannelOptions } from "./channel-options-B_0kPiL9.js";
|
|
108
108
|
import fsp from "node:fs/promises";
|
|
109
109
|
|
|
110
110
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-BTaH3rLn.js";
|
|
2
2
|
import { B as getResolvedLoggerSettings, L as theme, T as danger, j as setVerbose, l as isRecord } from "./utils-C5daYcFn.js";
|
|
3
3
|
import "./agent-helpers-D_9mS2Ti.js";
|
|
4
|
-
import { $ as loadProviderUsageSummary, et as formatUsageReportLines } from "./reply-
|
|
4
|
+
import { $ as loadProviderUsageSummary, et as formatUsageReportLines } from "./reply-BQTMZmAv.js";
|
|
5
5
|
import { a as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-9WY5O-KK.js";
|
|
6
6
|
import "./subsystem-CrJCqjAh.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-DJNp29jv.js";
|
|
@@ -36,10 +36,10 @@ import "./accounts-Cl_cFv9X.js";
|
|
|
36
36
|
import "./bindings-B582pDIa.js";
|
|
37
37
|
import "./tokens-qLtFu3nT.js";
|
|
38
38
|
import "./reply-payloads-MIecsqo-.js";
|
|
39
|
-
import "./targets-
|
|
40
|
-
import { n as deleteTelegramUpdateOffset } from "./loader-
|
|
39
|
+
import "./targets-BdKHLbuS.js";
|
|
40
|
+
import { n as deleteTelegramUpdateOffset } from "./loader-BV-B6pu0.js";
|
|
41
41
|
import "./commands-C2uNKRTf.js";
|
|
42
|
-
import "./commands-registry-
|
|
42
|
+
import "./commands-registry-BiVAsJtu.js";
|
|
43
43
|
import "./pairing-store-BgAv4uN8.js";
|
|
44
44
|
import "./fetch-C6XKGA11.js";
|
|
45
45
|
import "./retry-CxXVRdes.js";
|
|
@@ -67,16 +67,16 @@ import "./tables-D_PTzthR.js";
|
|
|
67
67
|
import "./session-cost-usage-yYi525j3.js";
|
|
68
68
|
import "./common-Cp3rsBqx.js";
|
|
69
69
|
import "./reply-directives-DOPAdviR.js";
|
|
70
|
-
import "./channel-web-
|
|
70
|
+
import "./channel-web-DElnfg9l.js";
|
|
71
71
|
import "./outbound-BSrQB04F.js";
|
|
72
|
-
import "./ack-reactions-
|
|
72
|
+
import "./ack-reactions-CXe1_KAt.js";
|
|
73
73
|
import "./session-aUptxSVD.js";
|
|
74
74
|
import "./resolve-route-BDGdM-l3.js";
|
|
75
|
-
import "./provider-dispatcher-
|
|
75
|
+
import "./provider-dispatcher-YzSGYveV.js";
|
|
76
76
|
import "./store-BPZo49zT.js";
|
|
77
77
|
import "./reply-prefix-4zLS7A1Y.js";
|
|
78
78
|
import "./login-CqST6Yyp.js";
|
|
79
|
-
import "./agent-
|
|
79
|
+
import "./agent-AeVyo0K8.js";
|
|
80
80
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BMf9kYo4.js";
|
|
81
81
|
import "./send-B0elLDis.js";
|
|
82
82
|
import "./send-CHquO379.js";
|
|
@@ -91,8 +91,8 @@ import "./send-5HyMBvLh.js";
|
|
|
91
91
|
import "./onboard-helpers-zH14EFKa.js";
|
|
92
92
|
import "./prompt-style-D0LUnqXi.js";
|
|
93
93
|
import "./pairing-labels-BiSZLitI.js";
|
|
94
|
-
import "./plugin-registry-
|
|
95
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
94
|
+
import "./plugin-registry-4N3hfgbg.js";
|
|
95
|
+
import { t as formatCliChannelOptions } from "./channel-options-B-Z2mBDl.js";
|
|
96
96
|
import { t as formatDocsLink } from "./links-Cm43Vcft.js";
|
|
97
97
|
import { t as hasExplicitOptions } from "./command-options-CA30lfLK.js";
|
|
98
98
|
import { n as withProgress } from "./progress--dapuyZA.js";
|
|
@@ -105,7 +105,7 @@ import "./plugin-auto-enable-C2C0yYb0.js";
|
|
|
105
105
|
import "./enable-DMIq6evt.js";
|
|
106
106
|
import "./npm-registry-spec-Cobb5KYR.js";
|
|
107
107
|
import "./installs-ClyOD2BY.js";
|
|
108
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
108
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CCEcDkcI.js";
|
|
109
109
|
import { t as requireValidConfigSnapshot } from "./config-validation-D3Up1-Pq.js";
|
|
110
110
|
import { t as buildChannelAccountSnapshot } from "./status-BmtCS3T1.js";
|
|
111
111
|
import { t as parseLogLine } from "./parse-log-line-mz9TG6ig.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-BTaH3rLn.js";
|
|
2
2
|
import "./utils-C5daYcFn.js";
|
|
3
3
|
import "./agent-helpers-D_9mS2Ti.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-BQTMZmAv.js";
|
|
5
5
|
import { a as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-9WY5O-KK.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-CrJCqjAh.js";
|
|
7
7
|
import "./runtime-DJNp29jv.js";
|
|
@@ -34,10 +34,10 @@ import "./accounts-Cl_cFv9X.js";
|
|
|
34
34
|
import "./bindings-B582pDIa.js";
|
|
35
35
|
import "./tokens-qLtFu3nT.js";
|
|
36
36
|
import "./reply-payloads-MIecsqo-.js";
|
|
37
|
-
import "./targets-
|
|
38
|
-
import { t as loadRemoteClawPlugins } from "./loader-
|
|
37
|
+
import "./targets-BdKHLbuS.js";
|
|
38
|
+
import { t as loadRemoteClawPlugins } from "./loader-BV-B6pu0.js";
|
|
39
39
|
import "./commands-C2uNKRTf.js";
|
|
40
|
-
import "./commands-registry-
|
|
40
|
+
import "./commands-registry-BiVAsJtu.js";
|
|
41
41
|
import "./pairing-store-BgAv4uN8.js";
|
|
42
42
|
import "./fetch-C6XKGA11.js";
|
|
43
43
|
import "./retry-CxXVRdes.js";
|
|
@@ -64,12 +64,12 @@ import "./tables-D_PTzthR.js";
|
|
|
64
64
|
import "./session-cost-usage-yYi525j3.js";
|
|
65
65
|
import "./common-Cp3rsBqx.js";
|
|
66
66
|
import "./reply-directives-DOPAdviR.js";
|
|
67
|
-
import "./ack-reactions-
|
|
67
|
+
import "./ack-reactions-CXe1_KAt.js";
|
|
68
68
|
import "./resolve-route-BDGdM-l3.js";
|
|
69
|
-
import "./provider-dispatcher-
|
|
69
|
+
import "./provider-dispatcher-YzSGYveV.js";
|
|
70
70
|
import "./store-BPZo49zT.js";
|
|
71
71
|
import "./reply-prefix-4zLS7A1Y.js";
|
|
72
|
-
import "./agent-
|
|
72
|
+
import "./agent-AeVyo0K8.js";
|
|
73
73
|
import "./send-B0elLDis.js";
|
|
74
74
|
import "./send-CHquO379.js";
|
|
75
75
|
import "./send-pZWXl_O3.js";
|
|
@@ -15,7 +15,7 @@ import "./accounts-BxGS70Do.js";
|
|
|
15
15
|
import "./accounts-CNY1TGj1.js";
|
|
16
16
|
import "./bindings-CRU_udk8.js";
|
|
17
17
|
import "./targets-D7OKVXMI.js";
|
|
18
|
-
import { t as loadRemoteClawPlugins } from "./loader-
|
|
18
|
+
import { t as loadRemoteClawPlugins } from "./loader-ouAmnPl8.js";
|
|
19
19
|
import "./chat-envelope-DEZ-5RY8.js";
|
|
20
20
|
import "./strip-inbound-meta-DjKcSFaW.js";
|
|
21
21
|
import "./call-C1c3rcy7.js";
|
|
@@ -31,7 +31,7 @@ import "./tool-images-kloBqxqK.js";
|
|
|
31
31
|
import "./exec-DkFE7lqU.js";
|
|
32
32
|
import "./image-ops-DWytvdh_.js";
|
|
33
33
|
import "./tokens-B-jmvNR9.js";
|
|
34
|
-
import "./reply-
|
|
34
|
+
import "./reply-BroKMYzd.js";
|
|
35
35
|
import "./hook-runner-global-BSklbS52.js";
|
|
36
36
|
import "./redact-Dx1Fue21.js";
|
|
37
37
|
import "./tool-display-Br6mwaJc.js";
|
|
@@ -46,11 +46,11 @@ import "./ssrf-Ck9HDZpv.js";
|
|
|
46
46
|
import "./local-roots-BrH0Q63K.js";
|
|
47
47
|
import "./common-DSVmydhm.js";
|
|
48
48
|
import "./commands-CDonBOrw.js";
|
|
49
|
-
import "./commands-registry-
|
|
49
|
+
import "./commands-registry-C93r6vpk.js";
|
|
50
50
|
import "./audio-VBcVDa08.js";
|
|
51
51
|
import "./runner-z92MWZ3m.js";
|
|
52
52
|
import "./errors-DZ199hOo.js";
|
|
53
|
-
import "./targets-
|
|
53
|
+
import "./targets-o952FmLk.js";
|
|
54
54
|
import "./pairing-store-CTkD51uW.js";
|
|
55
55
|
import "./fetch-CEDsOiql.js";
|
|
56
56
|
import "./retry-DnqPAqWp.js";
|
|
@@ -59,10 +59,10 @@ import "./channel-activity-DTKGf3j5.js";
|
|
|
59
59
|
import "./send-W1ofaGo7.js";
|
|
60
60
|
import "./session-cost-usage-DX09eTPU.js";
|
|
61
61
|
import "./reply-directives-DspqGGVJ.js";
|
|
62
|
-
import "./provider-dispatcher-
|
|
62
|
+
import "./provider-dispatcher-Dw1z3c4j.js";
|
|
63
63
|
import "./store-v3P-OWhi.js";
|
|
64
64
|
import "./reply-prefix-DBLCYiup.js";
|
|
65
|
-
import "./ack-reactions-
|
|
65
|
+
import "./ack-reactions-Cb_nE9ac.js";
|
|
66
66
|
import "./resolve-route-CBVbY0xS.js";
|
|
67
67
|
import "./prompt-style-DjEYC_s-.js";
|
|
68
68
|
import "./send-jN0cqz2d.js";
|
|
@@ -70,7 +70,7 @@ import "./send-Bh75o8GE.js";
|
|
|
70
70
|
import "./send-DWzItTE9.js";
|
|
71
71
|
import "./proxy-DpNv2cSV.js";
|
|
72
72
|
import "./replies-BGYU-p0J.js";
|
|
73
|
-
import "./agent-
|
|
73
|
+
import "./agent-DZ-JCbVP.js";
|
|
74
74
|
import "./channel-selection-NNPbxnyZ.js";
|
|
75
75
|
import "./deliver-Dm7GkHXJ.js";
|
|
76
76
|
import "./outbound-attachment-o0seS0CP.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as resolveStateDir, t as createSubsystemLogger } from "../subsystem-
|
|
1
|
+
import { P as resolveStateDir, t as createSubsystemLogger } from "../subsystem-DjIrbjJ0.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import fs from "node:fs/promises";
|