remoteclaw 0.1.0-next.5ed82dd → 0.1.0-next.6cbde32

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.
@@ -1,4 +1,4 @@
1
- import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-BobbEF_S.js";
1
+ import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-DHIjuVaq.js";
2
2
 
3
3
  //#region src/imessage/accounts.ts
4
4
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,15 +1,15 @@
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";
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-DHIjuVaq.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-CDhxwtDd.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-DmcVK-99.js";
4
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";
5
+ import "../accounts-DesSv1wD.js";
6
+ import { t as generateSecureUuid } from "../secure-random-C8Siev1-.js";
7
+ import "../fetch-DMmdxAp3.js";
8
+ import "../retry-C81p7BZU.js";
9
+ import "../targets-BDsqoJet.js";
10
+ import { n as markdownToSignalTextChunks, t as sendMessageSignal } from "../send-DAJqND45.js";
11
+ import "../store-C6xUjjK-.js";
12
+ import "../outbound-attachment-D0PBuR8U.js";
13
13
  import path from "node:path";
14
14
  import fs from "node:fs";
15
15
  import fs$1 from "node:fs/promises";
@@ -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-CTRYCdtN.js");
35
+ const { sendMessageWhatsApp } = await import("../web-I2UxxP1y.js");
36
36
  return await sendMessageWhatsApp(...args);
37
37
  },
38
38
  sendMessageTelegram: async (...args) => {
39
- const { sendMessageTelegram } = await import("../send-Cri0B_M3.js");
39
+ const { sendMessageTelegram } = await import("../send-Bt4yJ4_Z.js");
40
40
  return await sendMessageTelegram(...args);
41
41
  },
42
42
  sendMessageDiscord: async (...args) => {
43
- const { sendMessageDiscord } = await import("../send-DsV6SxWI.js");
43
+ const { sendMessageDiscord } = await import("../send-BG2Pp61E.js");
44
44
  return await sendMessageDiscord(...args);
45
45
  },
46
46
  sendMessageSlack: async (...args) => {
47
- const { sendMessageSlack } = await import("../send-BzxTTi-P.js");
47
+ const { sendMessageSlack } = await import("../send-1l8en2au.js");
48
48
  return await sendMessageSlack(...args);
49
49
  },
50
50
  sendMessageSignal: async (...args) => {
51
- const { sendMessageSignal } = await import("../send-BFfa_Jyi.js");
51
+ const { sendMessageSignal } = await import("../send-BdYZ_7sw.js");
52
52
  return await sendMessageSignal(...args);
53
53
  },
54
54
  sendMessageIMessage: async (...args) => {
55
- const { sendMessageIMessage } = await import("../send-D6pAaq_t.js");
55
+ const { sendMessageIMessage } = await import("../send-B8r5IJ7q.js");
56
56
  return await sendMessageIMessage(...args);
57
57
  }
58
58
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0-next.5ed82dd",
3
- "commit": "5ed82ddea4590c5090ff5799fcfe212536d40945",
4
- "builtAt": "2026-03-07T19:22:15.626Z"
2
+ "version": "0.1.0-next.6cbde32",
3
+ "commit": "6cbde325e131f997c40ca55a536a7e79282bc244",
4
+ "builtAt": "2026-03-07T19:31:25.607Z"
5
5
  }
@@ -1 +1 @@
1
- 828db5f8682d76474e61121ec231a281e26251aff1b32e47290d4222c5108957
1
+ ef224a6876c547d28da9684888aa7ace3c3eade29679e92050e67c9c075410c3
@@ -1,5 +1,5 @@
1
- import { T as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-DjIrbjJ0.js";
2
- import { n as retryAsync, t as resolveRetryConfig } from "./retry-BLH2JEr_.js";
1
+ import { T as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-CDhxwtDd.js";
2
+ import { n as retryAsync, t as resolveRetryConfig } from "./retry-C81p7BZU.js";
3
3
  import { RateLimitError } from "@buape/carbon";
4
4
 
5
5
  //#region src/security/safe-regex.ts
@@ -1,4 +1,4 @@
1
- import { P as resolveStateDir, t as createSubsystemLogger } from "../subsystem-DjIrbjJ0.js";
1
+ import { P as resolveStateDir, t as createSubsystemLogger } from "../subsystem-CDhxwtDd.js";
2
2
  import path from "node:path";
3
3
  import os from "node:os";
4
4
  import fs from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { y as bindAbortRelay } from "./media-BobbEF_S.js";
1
+ import { y as bindAbortRelay } from "./media-DHIjuVaq.js";
2
2
 
3
3
  //#region src/infra/fetch.ts
4
4
  const wrapFetchWithAbortSignalMarker = Symbol.for("remoteclaw.fetch.abort-signal-wrapped");
@@ -1,9 +1,9 @@
1
- import { A as resolveConfigPath, E as resolvePreferredRemoteClawTmpDir, I as resolveRequiredHomeDir, N as resolveOAuthDir, P as resolveStateDir, S as warn, _ as isPlainObject$2, a as normalizeAnyChannelId, b as logVerboseConsole, c as requireActivePluginRegistry, d as isRecord, f as normalizeE164, i as CHAT_CHANNEL_ORDER, j as resolveDefaultConfigCandidates, m as resolveUserPath, n as defaultRuntime, o as normalizeChatChannelId, p as resolveConfigDir, r as CHANNEL_IDS, s as getActivePluginRegistry, t as createSubsystemLogger, v as danger, w as getLogger, x as shouldLogVerbose, y as logVerbose } from "./subsystem-DjIrbjJ0.js";
1
+ import { A as resolveConfigPath, E as resolvePreferredRemoteClawTmpDir, I as resolveRequiredHomeDir, N as resolveOAuthDir, P as resolveStateDir, S as warn, _ as isPlainObject$2, a as normalizeAnyChannelId, b as logVerboseConsole, c as requireActivePluginRegistry, d as isRecord, f as normalizeE164, i as CHAT_CHANNEL_ORDER, j as resolveDefaultConfigCandidates, m as resolveUserPath, n as defaultRuntime, o as normalizeChatChannelId, p as resolveConfigDir, r as CHANNEL_IDS, s as getActivePluginRegistry, t as createSubsystemLogger, v as danger, w as getLogger, x as shouldLogVerbose, y as logVerbose } from "./subsystem-CDhxwtDd.js";
2
2
  import { createRequire } from "node:module";
3
3
  import path from "node:path";
4
4
  import fs, { constants } from "node:fs";
5
5
  import os from "node:os";
6
- import json5 from "json5";
6
+ import JSON5 from "json5";
7
7
  import util, { isDeepStrictEqual, promisify } from "node:util";
8
8
  import fs$1 from "node:fs/promises";
9
9
  import crypto from "node:crypto";
@@ -2240,7 +2240,7 @@ function safeRealpath(target) {
2240
2240
  }
2241
2241
  const defaultResolver = {
2242
2242
  readFile: (p) => fs.readFileSync(p, "utf-8"),
2243
- parseJson: (raw) => json5.parse(raw)
2243
+ parseJson: (raw) => JSON5.parse(raw)
2244
2244
  };
2245
2245
  /**
2246
2246
  * Resolves all $include directives in a parsed config object.
@@ -7500,7 +7500,7 @@ function resolveConfigPathForDeps(deps) {
7500
7500
  function normalizeDeps(overrides = {}) {
7501
7501
  return {
7502
7502
  fs: overrides.fs ?? fs,
7503
- json5: overrides.json5 ?? json5,
7503
+ json5: overrides.json5 ?? JSON5,
7504
7504
  env: overrides.env ?? process.env,
7505
7505
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
7506
7506
  configPath: overrides.configPath ?? "",
@@ -7511,11 +7511,11 @@ function maybeLoadDotEnvForConfig(env) {
7511
7511
  if (env !== process.env) return;
7512
7512
  loadDotEnv({ quiet: true });
7513
7513
  }
7514
- function parseConfigJson5(raw, json5$1 = json5) {
7514
+ function parseConfigJson5(raw, json5 = JSON5) {
7515
7515
  try {
7516
7516
  return {
7517
7517
  ok: true,
7518
- parsed: json5$1.parse(raw)
7518
+ parsed: json5.parse(raw)
7519
7519
  };
7520
7520
  } catch (err) {
7521
7521
  return {
@@ -1,5 +1,5 @@
1
- import { t as loadWebMedia } from "./media-BobbEF_S.js";
2
- import { t as saveMediaBuffer } from "./store-D_giQ5mr.js";
1
+ import { t as loadWebMedia } from "./media-DHIjuVaq.js";
2
+ import { t as saveMediaBuffer } from "./store-C6xUjjK-.js";
3
3
 
4
4
  //#region src/media/outbound-attachment.ts
5
5
  async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
@@ -1,4 +1,4 @@
1
- import { h as sleep } from "./subsystem-DjIrbjJ0.js";
1
+ import { h as sleep } from "./subsystem-CDhxwtDd.js";
2
2
 
3
3
  //#region src/infra/retry.ts
4
4
  const DEFAULT_RETRY_CONFIG = {
@@ -1,4 +1,4 @@
1
- import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-BobbEF_S.js";
1
+ import { B as createAccountListHelpers, V as resolveAccountEntry, ft as normalizeAccountId } from "./media-DHIjuVaq.js";
2
2
  import { randomUUID } from "node:crypto";
3
3
 
4
4
  //#region src/signal/accounts.ts
@@ -1,7 +1,7 @@
1
- import { F as resolveSlackAccount, L as resolveSlackBotToken, _ as resolveTextChunkLimit, c as chunkMarkdownIR, g as resolveChunkMode, h as chunkMarkdownTextWithMode, l as markdownToIR, p as resolveMarkdownTableMode, t as loadWebMedia, x as loadConfig } from "./media-BobbEF_S.js";
2
- import { y as logVerbose } from "./subsystem-DjIrbjJ0.js";
1
+ import { F as resolveSlackAccount, L as resolveSlackBotToken, _ as resolveTextChunkLimit, c as chunkMarkdownIR, g as resolveChunkMode, h as chunkMarkdownTextWithMode, l as markdownToIR, p as resolveMarkdownTableMode, t as loadWebMedia, x as loadConfig } from "./media-DHIjuVaq.js";
2
+ import { y as logVerbose } from "./subsystem-CDhxwtDd.js";
3
3
  import { t as parseSlackTarget } from "./targets-CcTME3bp.js";
4
- import { t as createSlackWebClient } from "./send-BFfa_Jyi.js";
4
+ import { t as createSlackWebClient } from "./send-BdYZ_7sw.js";
5
5
  import { t as renderMarkdownWithMarkers } from "./render-6ahYfPwj.js";
6
6
 
7
7
  //#region src/slack/blocks-fallback.ts
@@ -1,10 +1,10 @@
1
- import { p as resolveMarkdownTableMode, s as mediaKindFromMime, x as loadConfig } from "./media-BobbEF_S.js";
2
- import { m as resolveUserPath } from "./subsystem-DjIrbjJ0.js";
3
- import { t as resolveIMessageAccount } from "./accounts-CyaVe4qI.js";
4
- import "./store-D_giQ5mr.js";
5
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CTZqPUXZ.js";
1
+ import { p as resolveMarkdownTableMode, s as mediaKindFromMime, x as loadConfig } from "./media-DHIjuVaq.js";
2
+ import { m as resolveUserPath } from "./subsystem-CDhxwtDd.js";
3
+ import { t as resolveIMessageAccount } from "./accounts-DesSv1wD.js";
4
+ import "./store-C6xUjjK-.js";
5
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-D0PBuR8U.js";
6
6
  import "./render-6ahYfPwj.js";
7
- import { t as convertMarkdownTables } from "./tables-D691GfQb.js";
7
+ import { t as convertMarkdownTables } from "./tables-DoSY1jjh.js";
8
8
  import { spawn } from "node:child_process";
9
9
  import { createInterface } from "node:readline";
10
10
 
@@ -0,0 +1,11 @@
1
+ import "./media-DHIjuVaq.js";
2
+ import "./subsystem-CDhxwtDd.js";
3
+ import "./fetch-DMmdxAp3.js";
4
+ import "./retry-C81p7BZU.js";
5
+ import "./targets-BDsqoJet.js";
6
+ import "./channel-activity-hPfValKp.js";
7
+ import "./render-6ahYfPwj.js";
8
+ import "./tables-DoSY1jjh.js";
9
+ import { n as DiscordSendError, r as fetchChannelPermissionsDiscord, t as sendMessageDiscord } from "./web-I2UxxP1y.js";
10
+
11
+ export { sendMessageDiscord };
@@ -1,10 +1,10 @@
1
- import "./media-BobbEF_S.js";
2
- import "./subsystem-DjIrbjJ0.js";
3
- import "./secure-random-Be7VzV0O.js";
4
- import "./fetch-BJdT3l2F.js";
5
- import { t as sendMessageSignal } from "./send-D3XbNZoG.js";
6
- import "./store-D_giQ5mr.js";
7
- import "./outbound-attachment-CTZqPUXZ.js";
1
+ import "./media-DHIjuVaq.js";
2
+ import "./subsystem-CDhxwtDd.js";
3
+ import "./secure-random-C8Siev1-.js";
4
+ import "./fetch-DMmdxAp3.js";
5
+ import { t as sendMessageSignal } from "./send-DAJqND45.js";
6
+ import "./store-C6xUjjK-.js";
7
+ import "./outbound-attachment-D0PBuR8U.js";
8
8
  import { WebClient } from "@slack/web-api";
9
9
 
10
10
  //#region src/slack/client.ts
@@ -1,14 +1,14 @@
1
- import { C as writeConfigFile, N as resolveTelegramAccount, P as isTruthyEnvValue, S as readConfigFileSnapshotForWrite, a as isGifMedia, i as getFileExtension, l as markdownToIR, o as normalizeMimeType, p as resolveMarkdownTableMode, s as mediaKindFromMime, t as loadWebMedia, x as loadConfig } from "./media-BobbEF_S.js";
2
- import { F as expandHomePrefix, l as CONFIG_DIR, t as createSubsystemLogger, v as danger, y as logVerbose } from "./subsystem-DjIrbjJ0.js";
1
+ import { C as writeConfigFile, N as resolveTelegramAccount, P as isTruthyEnvValue, S as readConfigFileSnapshotForWrite, a as isGifMedia, i as getFileExtension, l as markdownToIR, o as normalizeMimeType, p as resolveMarkdownTableMode, s as mediaKindFromMime, t as loadWebMedia, x as loadConfig } from "./media-DHIjuVaq.js";
2
+ import { F as expandHomePrefix, l as CONFIG_DIR, t as createSubsystemLogger, v as danger, y as logVerbose } from "./subsystem-CDhxwtDd.js";
3
3
  import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-JCISV-hS.js";
4
- import { t as resolveFetch } from "./fetch-BJdT3l2F.js";
5
- import "./retry-BLH2JEr_.js";
6
- import { a as formatErrorMessage, i as extractErrorCode, o as formatUncaughtError, r as createTelegramRetryRunner, s as redactSensitiveText, t as recordChannelActivity } from "./channel-activity-BazS9P1y.js";
4
+ import { t as resolveFetch } from "./fetch-DMmdxAp3.js";
5
+ import "./retry-C81p7BZU.js";
6
+ import { a as formatErrorMessage, i as extractErrorCode, o as formatUncaughtError, r as createTelegramRetryRunner, s as redactSensitiveText, t as recordChannelActivity } from "./channel-activity-hPfValKp.js";
7
7
  import { t as renderMarkdownWithMarkers } from "./render-6ahYfPwj.js";
8
8
  import path from "node:path";
9
9
  import fs, { readFileSync } from "node:fs";
10
10
  import os from "node:os";
11
- import json5 from "json5";
11
+ import JSON5 from "json5";
12
12
  import fs$1 from "node:fs/promises";
13
13
  import crypto from "node:crypto";
14
14
  import * as dns from "node:dns";
@@ -643,7 +643,7 @@ async function loadCronStore(storePath) {
643
643
  const raw = await fs.promises.readFile(storePath, "utf-8");
644
644
  let parsed;
645
645
  try {
646
- parsed = json5.parse(raw);
646
+ parsed = JSON5.parse(raw);
647
647
  } catch (err) {
648
648
  throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
649
649
  }
@@ -1,7 +1,7 @@
1
- import { b as fetchWithTimeout, c as chunkMarkdownIR, l as markdownToIR, p as resolveMarkdownTableMode, s as mediaKindFromMime, x as loadConfig } from "./media-BobbEF_S.js";
2
- import { n as resolveSignalAccount, t as generateSecureUuid } from "./secure-random-Be7VzV0O.js";
3
- import { t as resolveFetch } from "./fetch-BJdT3l2F.js";
4
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CTZqPUXZ.js";
1
+ import { b as fetchWithTimeout, c as chunkMarkdownIR, l as markdownToIR, p as resolveMarkdownTableMode, s as mediaKindFromMime, x as loadConfig } from "./media-DHIjuVaq.js";
2
+ import { n as resolveSignalAccount, t as generateSecureUuid } from "./secure-random-C8Siev1-.js";
3
+ import { t as resolveFetch } from "./fetch-DMmdxAp3.js";
4
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-D0PBuR8U.js";
5
5
 
6
6
  //#region src/signal/format.ts
7
7
  function normalizeUrlForComparison(url) {
@@ -1,5 +1,5 @@
1
- import { n as detectMime, r as extensionForMime } from "./media-BobbEF_S.js";
2
- import { p as resolveConfigDir } from "./subsystem-DjIrbjJ0.js";
1
+ import { n as detectMime, r as extensionForMime } from "./media-DHIjuVaq.js";
2
+ import { p as resolveConfigDir } from "./subsystem-CDhxwtDd.js";
3
3
  import path from "node:path";
4
4
  import fs$1 from "node:fs/promises";
5
5
  import crypto from "node:crypto";
@@ -3,7 +3,7 @@ import fs from "node:fs";
3
3
  import os from "node:os";
4
4
  import chalk, { Chalk } from "chalk";
5
5
  import { Logger } from "tslog";
6
- import json5 from "json5";
6
+ import JSON5 from "json5";
7
7
  import util from "node:util";
8
8
 
9
9
  //#region src/infra/home-dir.ts
@@ -335,7 +335,7 @@ function readLoggingConfig() {
335
335
  try {
336
336
  if (!fs.existsSync(configPath)) return;
337
337
  const raw = fs.readFileSync(configPath, "utf-8");
338
- const logging = json5.parse(raw)?.logging;
338
+ const logging = JSON5.parse(raw)?.logging;
339
339
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
340
340
  return logging;
341
341
  } catch {
@@ -1,4 +1,4 @@
1
- import { u as markdownToIRWithMeta } from "./media-BobbEF_S.js";
1
+ import { u as markdownToIRWithMeta } from "./media-DHIjuVaq.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-6ahYfPwj.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -1,7 +1,7 @@
1
- import { R as resolveDiscordAccount, z as normalizeDiscordToken } from "./media-BobbEF_S.js";
1
+ import { R as resolveDiscordAccount, z as normalizeDiscordToken } from "./media-DHIjuVaq.js";
2
2
  import { i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-BMenhVHg.js";
3
- import { t as resolveFetch } from "./fetch-BJdT3l2F.js";
4
- import { n as retryAsync, t as resolveRetryConfig } from "./retry-BLH2JEr_.js";
3
+ import { t as resolveFetch } from "./fetch-DMmdxAp3.js";
4
+ import { n as retryAsync, t as resolveRetryConfig } from "./retry-C81p7BZU.js";
5
5
 
6
6
  //#region src/discord/api.ts
7
7
  const DISCORD_API_BASE = "https://discord.com/api/v10";
@@ -1,8 +1,8 @@
1
- import { D as parseByteSize, E as parseDurationMs, F as resolveSlackAccount, H as normalizeChatType, I as resolveSlackReplyToMode, J as normalizeMessageChannel, M as resolveWhatsAppAccount, N as resolveTelegramAccount, O as getChannelPlugin, R as resolveDiscordAccount, U as INTERNAL_MESSAGE_CHANNEL, V as resolveAccountEntry, W as isDeliverableMessageChannel, ct as normalizeAgentId, et as normalizeProviderId$1, ft as normalizeAccountId$1, j as normalizeWhatsAppTarget, lt as normalizeMainKey, mt as deriveSessionChatType, ot as DEFAULT_AGENT_ID, pt as normalizeOptionalAccountId, q as listDeliverableMessageChannels, st as buildAgentMainSessionKey, tt as formatCliCommand, v as parseFenceSpans, x as loadConfig } from "./media-BobbEF_S.js";
2
- import { F as expandHomePrefix, I as resolveRequiredHomeDir, P as resolveStateDir, a as normalizeAnyChannelId, c as requireActivePluginRegistry, f as normalizeE164, m as resolveUserPath, t as createSubsystemLogger, u as escapeRegExp } from "./subsystem-DjIrbjJ0.js";
1
+ import { D as parseByteSize, E as parseDurationMs, F as resolveSlackAccount, H as normalizeChatType, I as resolveSlackReplyToMode, J as normalizeMessageChannel, M as resolveWhatsAppAccount, N as resolveTelegramAccount, O as getChannelPlugin, R as resolveDiscordAccount, U as INTERNAL_MESSAGE_CHANNEL, V as resolveAccountEntry, W as isDeliverableMessageChannel, ct as normalizeAgentId, et as normalizeProviderId$1, ft as normalizeAccountId$1, j as normalizeWhatsAppTarget, lt as normalizeMainKey, mt as deriveSessionChatType, ot as DEFAULT_AGENT_ID, pt as normalizeOptionalAccountId, q as listDeliverableMessageChannels, st as buildAgentMainSessionKey, tt as formatCliCommand, v as parseFenceSpans, x as loadConfig } from "./media-DHIjuVaq.js";
2
+ import { F as expandHomePrefix, I as resolveRequiredHomeDir, P as resolveStateDir, a as normalizeAnyChannelId, c as requireActivePluginRegistry, f as normalizeE164, m as resolveUserPath, t as createSubsystemLogger, u as escapeRegExp } from "./subsystem-CDhxwtDd.js";
3
3
  import { a as isPidAlive, i as resolveProcessScopedMap, r as parseTelegramTarget } from "./targets-JCISV-hS.js";
4
- import { t as resolveIMessageAccount } from "./accounts-CyaVe4qI.js";
5
- import { n as resolveSignalAccount } from "./secure-random-Be7VzV0O.js";
4
+ import { t as resolveIMessageAccount } from "./accounts-DesSv1wD.js";
5
+ import { n as resolveSignalAccount } from "./secure-random-C8Siev1-.js";
6
6
  import path, { join } from "node:path";
7
7
  import fs from "node:fs";
8
8
  import os, { homedir, tmpdir } from "node:os";
@@ -1,22 +1,22 @@
1
- import { R as resolveDiscordAccount, T as mergeInboundPathRoots, U as INTERNAL_MESSAGE_CHANNEL, X as GATEWAY_CLIENT_IDS, Z as GATEWAY_CLIENT_MODES, dt as DEFAULT_ACCOUNT_ID, f as getDefaultMediaLocalRoots, ft as normalizeAccountId, g as resolveChunkMode, h as chunkMarkdownTextWithMode, p as resolveMarkdownTableMode, t as loadWebMedia, tt as formatCliCommand, w as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, x as loadConfig, z as normalizeDiscordToken } from "./media-BobbEF_S.js";
2
- import { C as getChildLogger, g as toWhatsappJid, i as CHAT_CHANNEL_ORDER, t as createSubsystemLogger, u as escapeRegExp } from "./subsystem-DjIrbjJ0.js";
3
- import { R as INPUT_PROVENANCE_KIND_VALUES } from "./usage-BDey052P.js";
1
+ import { R as resolveDiscordAccount, T as mergeInboundPathRoots, U as INTERNAL_MESSAGE_CHANNEL, X as GATEWAY_CLIENT_IDS, Z as GATEWAY_CLIENT_MODES, dt as DEFAULT_ACCOUNT_ID, f as getDefaultMediaLocalRoots, ft as normalizeAccountId, g as resolveChunkMode, h as chunkMarkdownTextWithMode, p as resolveMarkdownTableMode, t as loadWebMedia, tt as formatCliCommand, w as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, x as loadConfig, z as normalizeDiscordToken } from "./media-DHIjuVaq.js";
2
+ import { C as getChildLogger, g as toWhatsappJid, i as CHAT_CHANNEL_ORDER, t as createSubsystemLogger, u as escapeRegExp } from "./subsystem-CDhxwtDd.js";
3
+ import { R as INPUT_PROVENANCE_KIND_VALUES } from "./usage-DmcVK-99.js";
4
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 { n as resolveDiscordTarget, t as parseDiscordTarget } from "./targets-CLuJTqzf.js";
10
- import "./store-D_giQ5mr.js";
11
- import "./send-BFfa_Jyi.js";
12
- import { n as createDiscordRetryRunner, t as recordChannelActivity } from "./channel-activity-BazS9P1y.js";
5
+ import "./accounts-DesSv1wD.js";
6
+ import { t as generateSecureUuid } from "./secure-random-C8Siev1-.js";
7
+ import "./fetch-DMmdxAp3.js";
8
+ import "./retry-C81p7BZU.js";
9
+ import { n as resolveDiscordTarget, t as parseDiscordTarget } from "./targets-BDsqoJet.js";
10
+ import "./store-C6xUjjK-.js";
11
+ import "./send-BdYZ_7sw.js";
12
+ import { n as createDiscordRetryRunner, t as recordChannelActivity } from "./channel-activity-hPfValKp.js";
13
13
  import "./render-6ahYfPwj.js";
14
- import { t as convertMarkdownTables } from "./tables-D691GfQb.js";
15
- import "./send-Cri0B_M3.js";
14
+ import { t as convertMarkdownTables } from "./tables-DoSY1jjh.js";
15
+ import "./send-Bt4yJ4_Z.js";
16
16
  import path, { join } from "node:path";
17
17
  import fs, { constants, readFileSync } from "node:fs";
18
18
  import os, { homedir } from "node:os";
19
- import json5 from "json5";
19
+ import JSON5 from "json5";
20
20
  import { promisify } from "node:util";
21
21
  import fs$1 from "node:fs/promises";
22
22
  import crypto, { randomUUID } from "node:crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remoteclaw",
3
- "version": "0.1.0-next.5ed82dd",
3
+ "version": "0.1.0-next.6cbde32",
4
4
  "description": "Multi-channel AI gateway with extensible messaging integrations",
5
5
  "keywords": [
6
6
  "agent",
@@ -1,11 +0,0 @@
1
- import "./media-BobbEF_S.js";
2
- import "./subsystem-DjIrbjJ0.js";
3
- import "./fetch-BJdT3l2F.js";
4
- import "./retry-BLH2JEr_.js";
5
- import "./targets-CLuJTqzf.js";
6
- import "./channel-activity-BazS9P1y.js";
7
- import "./render-6ahYfPwj.js";
8
- import "./tables-D691GfQb.js";
9
- import { n as DiscordSendError, r as fetchChannelPermissionsDiscord, t as sendMessageDiscord } from "./web-CTRYCdtN.js";
10
-
11
- export { sendMessageDiscord };