@bitseek/claw 1.3.8-beta.3 → 1.3.8-beta.5

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.
Files changed (108) hide show
  1. package/dist/build-info.json +2 -2
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/{command-registry-Ciq2wbUi.js → command-registry-KXGyogjq.js} +5 -5
  4. package/dist/{completion-cli-JABAzgO6.js → completion-cli-BGeFk-i7.js} +1 -1
  5. package/dist/{completion-cli-BtWS51xD.js → completion-cli-BH3R1r0d.js} +2 -2
  6. package/dist/{doctor-completion-BEtcv-8P.js → doctor-completion-CQ-V4ern.js} +1 -1
  7. package/dist/{doctor-completion-YtQqTVcr.js → doctor-completion-CQQTAFrB.js} +1 -1
  8. package/dist/entry.js +2 -2
  9. package/dist/{gateway-cli-D1e4MuAA.js → gateway-cli-BoghZX5v.js} +1 -1
  10. package/dist/{gateway-cli-hP7_aftQ.js → gateway-cli-Bz5rdgHj.js} +1 -1
  11. package/dist/index.js +1 -1
  12. package/dist/{onboard-Ch8Y1L6r.js → onboard-CCy8vS5I.js} +1 -1
  13. package/dist/{onboard-CqSuI-jq.js → onboard-DRDZmQ7G.js} +1 -1
  14. package/dist/{onboarding-Dp4X7ISI.js → onboarding-CYRsk4iI.js} +1 -1
  15. package/dist/{onboarding-BM2AMtOF.js → onboarding-K3WUGDqA.js} +1 -1
  16. package/dist/{onboarding.finalize-8dcfbjPv.js → onboarding.finalize-DCXnhpBY.js} +3 -3
  17. package/dist/{onboarding.finalize-DyQnfLTz.js → onboarding.finalize-DWNKIT8w.js} +4 -4
  18. package/dist/plugin-sdk/{accounts-DFIfXHdI.js → accounts-B_Sil4df.js} +3 -3
  19. package/dist/plugin-sdk/{accounts-BME088co.js → accounts-CqgyHS8h.js} +1 -1
  20. package/dist/plugin-sdk/{accounts-CxgIc7BC.js → accounts-kIersDAH.js} +1 -1
  21. package/dist/plugin-sdk/{active-listener-Dx4YdW0B.js → active-listener-B1c6rQRy.js} +1 -1
  22. package/dist/plugin-sdk/{agent-scope-BL5NPpGJ.js → agent-scope-DS0HILk_.js} +3 -3
  23. package/dist/plugin-sdk/{api-key-rotation-DZ1mvKN0.js → api-key-rotation-C2Z5xB6w.js} +2 -2
  24. package/dist/plugin-sdk/{audio-preflight-B8r8qUhZ.js → audio-preflight-Byc0yvPV.js} +33 -33
  25. package/dist/plugin-sdk/{audio-transcription-runner-B8gQ16hV.js → audio-transcription-runner-DHcTy4Wb.js} +10 -10
  26. package/dist/plugin-sdk/{bindings-YKerL1Tc.js → bindings-D8UvbNti.js} +2 -2
  27. package/dist/plugin-sdk/{channel-activity-Dzyx86FD.js → channel-activity-CMtaqeTg.js} +3 -3
  28. package/dist/plugin-sdk/{channel-web-dQSyVWDp.js → channel-web-D3N-Ttls.js} +23 -23
  29. package/dist/plugin-sdk/{chrome-Hte84S6l.js → chrome-DoDlUT7F.js} +7 -7
  30. package/dist/plugin-sdk/{chunk-4pLJcTE-.js → chunk-BuHZrtLn.js} +1 -1
  31. package/dist/plugin-sdk/{command-format-TmcJI6nP.js → command-format-9ttCUvaP.js} +1 -1
  32. package/dist/plugin-sdk/{commands-registry-D1UwEKAH.js → commands-registry-ydkoxruZ.js} +5 -5
  33. package/dist/plugin-sdk/{config-kqUrcUGI.js → config-BkeO1N4t.js} +10 -10
  34. package/dist/plugin-sdk/{deliver-DymnzypV.js → deliver-BcAT1l6Y.js} +11 -11
  35. package/dist/plugin-sdk/{diagnostic-1MgpiorV.js → diagnostic-BefhWusS.js} +2 -2
  36. package/dist/plugin-sdk/{dock-Csf-65jq.js → dock-yYEdNzbx.js} +6 -6
  37. package/dist/plugin-sdk/{errors-BRahpZsP.js → errors-D2KyTKs6.js} +1 -1
  38. package/dist/plugin-sdk/{fetch-guard-cD2GBmNp.js → fetch-guard-BC92RxgN.js} +2 -2
  39. package/dist/plugin-sdk/{fs-safe-DgdRzasF.js → fs-safe-CC4mG_Hc.js} +3 -3
  40. package/dist/plugin-sdk/{image-m9sEMr_K.js → image-Cjm_y1ht.js} +6 -6
  41. package/dist/plugin-sdk/{image-ops-DhVTERkS.js → image-ops-CfQjZch5.js} +1 -1
  42. package/dist/plugin-sdk/index.js +64 -64
  43. package/dist/plugin-sdk/{ir-DyMWDxUp.js → ir-CLKvSg7X.js} +6 -6
  44. package/dist/plugin-sdk/{local-roots-ChmGReXd.js → local-roots-DYmtEf6P.js} +4 -4
  45. package/dist/plugin-sdk/{logger-BwzMchOl.js → logger-Dqmpx59X.js} +1 -1
  46. package/dist/plugin-sdk/{login-DIgrxuIQ.js → login-DYEbRdfH.js} +6 -6
  47. package/dist/plugin-sdk/{login-qr-DeAbaqfx.js → login-qr-0YUEfC35.js} +9 -9
  48. package/dist/plugin-sdk/{manager-Bic1h3Nu.js → manager-J_9hr0Yu.js} +10 -10
  49. package/dist/plugin-sdk/{markdown-tables-BEWLluuz.js → markdown-tables-BA_MdGIq.js} +1 -1
  50. package/dist/plugin-sdk/{message-channel-Be6xIObc.js → message-channel-CeYrurhu.js} +1 -1
  51. package/dist/plugin-sdk/{outbound-D7OdBk5M.js → outbound-B386FQiU.js} +7 -7
  52. package/dist/plugin-sdk/{outbound-attachment-Y-wO2Csk.js → outbound-attachment-DgC7KgEZ.js} +2 -2
  53. package/dist/plugin-sdk/{path-alias-guards-CsekuFRi.js → path-alias-guards-KB1li1UU.js} +1 -1
  54. package/dist/plugin-sdk/{pi-embedded-helpers-BWFPgWTA.js → pi-embedded-helpers-CbevdnHV.js} +17 -17
  55. package/dist/plugin-sdk/{pi-model-discovery-DRomJojM.js → pi-model-discovery-Blr1NdM4.js} +1 -1
  56. package/dist/plugin-sdk/{plugins-DKZ5hSLA.js → plugins-Dupyelyu.js} +6 -6
  57. package/dist/plugin-sdk/{proxy-DIYzaAvh.js → proxy-CnPaiSZ0.js} +1 -1
  58. package/dist/plugin-sdk/{proxy-fetch-X6Ja_eZx.js → proxy-fetch-BY4mmpys.js} +1 -1
  59. package/dist/plugin-sdk/{pw-ai-MuLgIL01.js → pw-ai-C1rLCgeF.js} +13 -13
  60. package/dist/plugin-sdk/{qmd-manager-D3p7PB5n.js → qmd-manager-BtfjLkaZ.js} +8 -8
  61. package/dist/plugin-sdk/{query-expansion-C90Jc5uo.js → query-expansion-DgHoeKXG.js} +2 -2
  62. package/dist/plugin-sdk/{redact-DEfi9F2o.js → redact-Civ2olvH.js} +1 -1
  63. package/dist/plugin-sdk/{registry-BfD4IdFK.js → registry-Cq-TQPU8.js} +2 -2
  64. package/dist/plugin-sdk/{replies-GRjUBMUL.js → replies-a2WeMkU6.js} +3 -3
  65. package/dist/plugin-sdk/{reply-BlPlf4OC.js → reply-C2XVty9G.js} +93 -93
  66. package/dist/plugin-sdk/{reply-prefix-CobEDhG_.js → reply-prefix-BRomwQau.js} +1 -1
  67. package/dist/plugin-sdk/{resolve-outbound-target-DkNri48r.js → resolve-outbound-target-B_xKgqWe.js} +2 -2
  68. package/dist/plugin-sdk/{resolve-route-fu19EHnm.js → resolve-route-yLtq9xkG.js} +4 -4
  69. package/dist/plugin-sdk/{retry-Agt7ZiSn.js → retry-D9aKv766.js} +1 -1
  70. package/dist/plugin-sdk/{send-BUpepCol.js → send-Bs-YbYdN.js} +6 -6
  71. package/dist/plugin-sdk/{send-BB06ROuk.js → send-Ct2mLh8U.js} +15 -15
  72. package/dist/plugin-sdk/{send-C5ymrC3h.js → send-WwwzoTNW.js} +7 -7
  73. package/dist/plugin-sdk/{send-DwXcBQYC.js → send-_MTxUi5p.js} +8 -8
  74. package/dist/plugin-sdk/{send-CvC0d45Z.js → send-kJXSgFcu.js} +10 -10
  75. package/dist/plugin-sdk/{session-D8BNggg2.js → session-Bfpm71Tg.js} +5 -5
  76. package/dist/plugin-sdk/{session-meta-DYb6KCvG.js → session-meta-CM4K7B00.js} +1 -1
  77. package/dist/plugin-sdk/{sessions-BtJmhzev.js → sessions-DFx8MKSO.js} +6 -6
  78. package/dist/plugin-sdk/{skill-commands-C3OZ4W61.js → skill-commands-CakvOluN.js} +5 -5
  79. package/dist/plugin-sdk/{skills-CIvz2coj.js → skills-CZFBOkwT.js} +8 -8
  80. package/dist/plugin-sdk/{ssrf-EGzUkeVq.js → ssrf-BjVCUeM7.js} +1 -1
  81. package/dist/plugin-sdk/{store-Dij_2k2X.js → store-DALs5PIC.js} +2 -2
  82. package/dist/plugin-sdk/{subsystem-C84uWxqx.js → subsystem-DQdKZm8Z.js} +2 -2
  83. package/dist/plugin-sdk/{tables-CTWsNiUf.js → tables-BQwHnOX0.js} +1 -1
  84. package/dist/plugin-sdk/{target-errors-Bgd_Uo0g.js → target-errors-DqlHqAmV.js} +2 -2
  85. package/dist/plugin-sdk/{tokens-B9E-mnf_.js → tokens-C_Ieeb03.js} +1 -1
  86. package/dist/plugin-sdk/{tool-images-0gnewwTL.js → tool-images-RhD8geto.js} +2 -2
  87. package/dist/plugin-sdk/{tool-loop-detection-Bsh07kcw.js → tool-loop-detection-CKnmaEeR.js} +2 -2
  88. package/dist/plugin-sdk/{utils-BA7Xm0uM.js → utils-hxOwZduA.js} +1 -1
  89. package/dist/plugin-sdk/web-DLrSMEN4.js +72 -0
  90. package/dist/plugin-sdk/{whatsapp-actions-BLoPRR5B.js → whatsapp-actions-CudQXAzF.js} +25 -25
  91. package/dist/{program-5vm1a5f-.js → program-Cieni7Xt.js} +2 -2
  92. package/dist/{program-context-uwFKpk8g.js → program-context-CSoqzjKP.js} +7 -7
  93. package/dist/{prompt-select-styled-ByCoxIUa.js → prompt-select-styled-D6jmAM3G.js} +1 -1
  94. package/dist/{prompt-select-styled-D5N-DZSk.js → prompt-select-styled-fHxgdWKw.js} +1 -1
  95. package/dist/{register.init-B26Ry-q0.js → register.init-ChyHcEAX.js} +9 -19
  96. package/dist/{register.init-BzRts3RZ.js → register.init-EOlDrQTS.js} +9 -19
  97. package/dist/{register.maintenance-DZZc7WGW.js → register.maintenance-BDzDWfcQ.js} +5 -5
  98. package/dist/{register.maintenance-BTwdTZnP.js → register.maintenance-oeU7LZwS.js} +4 -4
  99. package/dist/{register.onboard-ps-7r0Bx.js → register.onboard-CVQf1v2L.js} +2 -2
  100. package/dist/{register.onboard-kzLJdF35.js → register.onboard-hEHn_6vK.js} +2 -2
  101. package/dist/{register.setup-DFniVrQp.js → register.setup-AO3Q_A2R.js} +2 -2
  102. package/dist/{register.setup-C5qExQuD.js → register.setup-C10I-vNI.js} +2 -2
  103. package/dist/{register.subclis-o8k-y9CC.js → register.subclis-Bhh6lzn8.js} +3 -3
  104. package/dist/{run-main-CEEV_P4Y.js → run-main-CxvcpDfm.js} +3 -3
  105. package/dist/{update-cli-D2pd7IJi.js → update-cli-BRcY8YqE.js} +5 -5
  106. package/dist/{update-cli-CO3mOkqg.js → update-cli-Bygcs5wC.js} +4 -4
  107. package/package.json +1 -1
  108. package/dist/plugin-sdk/web-D48I7g5u.js +0 -72
@@ -1,79 +1,79 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as deriveSessionChatType, b as isCronSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as isBlockedObjectKey, h as normalizeOptionalAccountId, l as normalizeMainKey, m as normalizeAccountId$2, o as classifySessionKeyShape, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as getSubagentDepth, x as isSubagentSessionKey, y as isAcpSessionKey } from "./session-key-CVIXEtLx.js";
3
- import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-DFIfXHdI.js";
3
+ import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-B_Sil4df.js";
4
4
  import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, p as resolveCliName, r as resolveConfigPath } from "./paths-STHPF-Vp.js";
5
5
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-OlEJk9vh.js";
6
- import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-kqUrcUGI.js";
7
- import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ 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 normalizeLogLevel, y as getChildLogger } from "./subsystem-C84uWxqx.js";
8
- import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BA7Xm0uM.js";
9
- import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-TmcJI6nP.js";
10
- import { A as spawnWithFallback, B as isPathInside$1, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, R as hasNodeErrorCode, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace, z as isNotFoundPathError } from "./agent-scope-BL5NPpGJ.js";
11
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BwzMchOl.js";
6
+ import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-BkeO1N4t.js";
7
+ import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ 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 normalizeLogLevel, y as getChildLogger } from "./subsystem-DQdKZm8Z.js";
8
+ import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-hxOwZduA.js";
9
+ import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-9ttCUvaP.js";
10
+ import { A as spawnWithFallback, B as isPathInside$1, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, R as hasNodeErrorCode, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace, z as isNotFoundPathError } from "./agent-scope-DS0HILk_.js";
11
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-Dqmpx59X.js";
12
12
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
13
- import { _ 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, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-BfD4IdFK.js";
14
- import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-Csf-65jq.js";
15
- import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-Be6xIObc.js";
16
- import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-BtJmhzev.js";
13
+ import { _ 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, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-Cq-TQPU8.js";
14
+ import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-yYEdNzbx.js";
15
+ import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-CeYrurhu.js";
16
+ import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-DFx8MKSO.js";
17
17
  import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
18
18
  import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
19
19
  import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
20
- import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-DKZ5hSLA.js";
21
- import { r as resolveIMessageAccount } from "./accounts-CxgIc7BC.js";
22
- import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BME088co.js";
23
- import { t as buildChannelAccountBindings } from "./bindings-YKerL1Tc.js";
24
- import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-CvC0d45Z.js";
20
+ import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-Dupyelyu.js";
21
+ import { r as resolveIMessageAccount } from "./accounts-kIersDAH.js";
22
+ import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-CqgyHS8h.js";
23
+ import { t as buildChannelAccountBindings } from "./bindings-D8UvbNti.js";
24
+ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-kJXSgFcu.js";
25
25
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-B3rYtuY3.js";
26
26
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-BLPb80aT.js";
27
27
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
28
28
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-C-qHqfzG.js";
29
29
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BEtAimXS.js";
30
- import { n as retryAsync } from "./retry-Agt7ZiSn.js";
31
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DEfi9F2o.js";
32
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-BRahpZsP.js";
33
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-Dzyx86FD.js";
30
+ import { n as retryAsync } from "./retry-D9aKv766.js";
31
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Civ2olvH.js";
32
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-D2KyTKs6.js";
33
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CMtaqeTg.js";
34
34
  import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
35
35
  import { n as normalizePollInput } from "./polls-DN23oxyB.js";
36
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CsekuFRi.js";
37
- import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DgdRzasF.js";
38
- import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DhVTERkS.js";
39
- import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-EGzUkeVq.js";
40
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-cD2GBmNp.js";
41
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-ChmGReXd.js";
42
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-DyMWDxUp.js";
43
- import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-4pLJcTE-.js";
44
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
45
- import { t as convertMarkdownTables } from "./tables-CTWsNiUf.js";
46
- import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-C5ymrC3h.js";
47
- import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-BB06ROuk.js";
48
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-0gnewwTL.js";
49
- import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Bgd_Uo0g.js";
50
- import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-DwXcBQYC.js";
51
- import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as resolveAliasedOpenAiCompatibleModelId, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, x as buildRandomTempFilePath, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-B8gQ16hV.js";
52
- import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-CobEDhG_.js";
53
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-B9E-mnf_.js";
54
- import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-C3OZ4W61.js";
55
- import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CIvz2coj.js";
56
- import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-Hte84S6l.js";
57
- import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-DymnzypV.js";
58
- import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-1MgpiorV.js";
59
- import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-Dij_2k2X.js";
60
- import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-BWFPgWTA.js";
36
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-KB1li1UU.js";
37
+ import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CC4mG_Hc.js";
38
+ import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CfQjZch5.js";
39
+ import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BjVCUeM7.js";
40
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BC92RxgN.js";
41
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-DYmtEf6P.js";
42
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-CLKvSg7X.js";
43
+ import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-BuHZrtLn.js";
44
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BA_MdGIq.js";
45
+ import { t as convertMarkdownTables } from "./tables-BQwHnOX0.js";
46
+ import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-WwwzoTNW.js";
47
+ import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-Ct2mLh8U.js";
48
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-RhD8geto.js";
49
+ import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-DqlHqAmV.js";
50
+ import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-_MTxUi5p.js";
51
+ import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as resolveAliasedOpenAiCompatibleModelId, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, x as buildRandomTempFilePath, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-DHcTy4Wb.js";
52
+ import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-BRomwQau.js";
53
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-C_Ieeb03.js";
54
+ import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-CakvOluN.js";
55
+ import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CZFBOkwT.js";
56
+ import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-DoDlUT7F.js";
57
+ import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-BcAT1l6Y.js";
58
+ import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-BefhWusS.js";
59
+ import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DALs5PIC.js";
60
+ import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-CbevdnHV.js";
61
61
  import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-DGaZRXAR.js";
62
62
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
63
- import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-m9sEMr_K.js";
64
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DRomJojM.js";
63
+ import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-Cjm_y1ht.js";
64
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Blr1NdM4.js";
65
65
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-C5PtFEje.js";
66
- import { t as makeProxyFetch } from "./proxy-fetch-X6Ja_eZx.js";
67
- import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-D1UwEKAH.js";
66
+ import { t as makeProxyFetch } from "./proxy-fetch-BY4mmpys.js";
67
+ import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-ydkoxruZ.js";
68
68
  import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
69
69
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-4RHRb_OP.js";
70
- import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-BUpepCol.js";
71
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-fu19EHnm.js";
72
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-GRjUBMUL.js";
73
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-Dx4YdW0B.js";
74
- import { t as recordInboundSessionMetaSafe } from "./session-meta-DYb6KCvG.js";
75
- import { n as resolveMemorySearchConfig } from "./manager-Bic1h3Nu.js";
76
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C90Jc5uo.js";
70
+ import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-Bs-YbYdN.js";
71
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-yLtq9xkG.js";
72
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-a2WeMkU6.js";
73
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-B1c6rQRy.js";
74
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-CM4K7B00.js";
75
+ import { n as resolveMemorySearchConfig } from "./manager-J_9hr0Yu.js";
76
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-DgHoeKXG.js";
77
77
  import { createRequire } from "node:module";
78
78
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
79
79
  import * as path$1 from "node:path";
@@ -83,7 +83,7 @@ import * as fs$2 from "node:fs/promises";
83
83
  import fs$1 from "node:fs/promises";
84
84
  import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
85
85
  import { inspect, promisify } from "node:util";
86
- import json5 from "json5";
86
+ import JSON5 from "json5";
87
87
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
88
88
  import { fileURLToPath } from "node:url";
89
89
  import { complete, completeSimple, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
@@ -7852,7 +7852,7 @@ async function sendTranscriptEcho(params) {
7852
7852
  }
7853
7853
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
7854
7854
  try {
7855
- const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
7855
+ const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
7856
7856
  await deliverOutboundPayloads({
7857
7857
  cfg,
7858
7858
  channel: normalizedChannel,
@@ -22391,7 +22391,7 @@ async function routeReply(params) {
22391
22391
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
22392
22392
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
22393
22393
  try {
22394
- const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
22394
+ const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
22395
22395
  const outboundSession = buildOutboundSessionContext({
22396
22396
  cfg,
22397
22397
  agentId: resolvedAgentId,
@@ -22875,7 +22875,7 @@ function normalizeSessionKey(value) {
22875
22875
  function readSessionStore(storePath) {
22876
22876
  try {
22877
22877
  const raw = fs.readFileSync(storePath, "utf-8");
22878
- const parsed = json5.parse(raw);
22878
+ const parsed = JSON5.parse(raw);
22879
22879
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
22880
22880
  } catch {}
22881
22881
  return {};
@@ -32282,7 +32282,7 @@ async function describeStickerImage(params) {
32282
32282
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
32283
32283
  try {
32284
32284
  const buffer = await fs$1.readFile(imagePath);
32285
- const { describeImageWithModel } = await import("./image-m9sEMr_K.js").then((n) => n.n);
32285
+ const { describeImageWithModel } = await import("./image-Cjm_y1ht.js").then((n) => n.n);
32286
32286
  return (await describeImageWithModel({
32287
32287
  buffer,
32288
32288
  fileName: "sticker.webp",
@@ -33549,7 +33549,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
33549
33549
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
33550
33550
  let transcript;
33551
33551
  if (needsPreflightTranscription) try {
33552
- const { transcribeFirstAudio } = await import("./audio-preflight-B8r8qUhZ.js");
33552
+ const { transcribeFirstAudio } = await import("./audio-preflight-Byc0yvPV.js");
33553
33553
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
33554
33554
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
33555
33555
  ctx: {
@@ -36160,7 +36160,7 @@ function ensureContextWindowCacheLoaded() {
36160
36160
  await ensureOpenClawModelsJson(cfg);
36161
36161
  } catch {}
36162
36162
  try {
36163
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DRomJojM.js").then((n) => n.r);
36163
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-Blr1NdM4.js").then((n) => n.r);
36164
36164
  const agentDir = resolveOpenClawAgentDir();
36165
36165
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
36166
36166
  applyDiscoveredContextWindows({
@@ -36522,7 +36522,7 @@ async function createModelSelectionState(params) {
36522
36522
  }
36523
36523
  }
36524
36524
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
36525
- const { ensureAuthProfileStore } = await import("./config-kqUrcUGI.js").then((n) => n.Nn);
36525
+ const { ensureAuthProfileStore } = await import("./config-BkeO1N4t.js").then((n) => n.Nn);
36526
36526
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
36527
36527
  const providerKey = normalizeProviderId(provider);
36528
36528
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -41201,27 +41201,27 @@ function createOutboundSendDepsFromCliSource(deps) {
41201
41201
  function createDefaultDeps() {
41202
41202
  return {
41203
41203
  sendMessageWhatsApp: async (...args) => {
41204
- const { sendMessageWhatsApp } = await import("./web-D48I7g5u.js");
41204
+ const { sendMessageWhatsApp } = await import("./web-DLrSMEN4.js");
41205
41205
  return await sendMessageWhatsApp(...args);
41206
41206
  },
41207
41207
  sendMessageTelegram: async (...args) => {
41208
- const { sendMessageTelegram } = await import("./send-BB06ROuk.js").then((n) => n.l);
41208
+ const { sendMessageTelegram } = await import("./send-Ct2mLh8U.js").then((n) => n.l);
41209
41209
  return await sendMessageTelegram(...args);
41210
41210
  },
41211
41211
  sendMessageDiscord: async (...args) => {
41212
- const { sendMessageDiscord } = await import("./send-CvC0d45Z.js").then((n) => n.t);
41212
+ const { sendMessageDiscord } = await import("./send-kJXSgFcu.js").then((n) => n.t);
41213
41213
  return await sendMessageDiscord(...args);
41214
41214
  },
41215
41215
  sendMessageSlack: async (...args) => {
41216
- const { sendMessageSlack } = await import("./send-DwXcBQYC.js").then((n) => n.n);
41216
+ const { sendMessageSlack } = await import("./send-_MTxUi5p.js").then((n) => n.n);
41217
41217
  return await sendMessageSlack(...args);
41218
41218
  },
41219
41219
  sendMessageSignal: async (...args) => {
41220
- const { sendMessageSignal } = await import("./send-BUpepCol.js").then((n) => n.i);
41220
+ const { sendMessageSignal } = await import("./send-Bs-YbYdN.js").then((n) => n.i);
41221
41221
  return await sendMessageSignal(...args);
41222
41222
  },
41223
41223
  sendMessageIMessage: async (...args) => {
41224
- const { sendMessageIMessage } = await import("./send-C5ymrC3h.js").then((n) => n.n);
41224
+ const { sendMessageIMessage } = await import("./send-WwwzoTNW.js").then((n) => n.n);
41225
41225
  return await sendMessageIMessage(...args);
41226
41226
  }
41227
41227
  };
@@ -52654,7 +52654,7 @@ function readSlackExternalArgMenuToken(raw) {
52654
52654
  }
52655
52655
  let commandsRegistry;
52656
52656
  async function getCommandsRegistry() {
52657
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-D1UwEKAH.js").then((n) => n.n);
52657
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-ydkoxruZ.js").then((n) => n.n);
52658
52658
  return commandsRegistry;
52659
52659
  }
52660
52660
  function encodeSlackCommandArgValue(parts) {
@@ -52984,14 +52984,14 @@ async function registerSlackMonitorSlashCommands(params) {
52984
52984
  const channelName = channelInfo?.name;
52985
52985
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
52986
52986
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
52987
- import("./resolve-route-fu19EHnm.js").then((n) => n.r),
52987
+ import("./resolve-route-yLtq9xkG.js").then((n) => n.r),
52988
52988
  import("./inbound-context-DZb6zIHq.js").then((n) => n.n),
52989
52989
  Promise.resolve().then(() => provider_dispatcher_exports)
52990
52990
  ]);
52991
52991
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
52992
52992
  import("./conversation-label-nAHBBt-I.js").then((n) => n.t),
52993
- import("./reply-prefix-CobEDhG_.js").then((n) => n.r),
52994
- import("./session-meta-DYb6KCvG.js").then((n) => n.n)
52993
+ import("./reply-prefix-BRomwQau.js").then((n) => n.r),
52994
+ import("./session-meta-CM4K7B00.js").then((n) => n.n)
52995
52995
  ]);
52996
52996
  const route = resolveAgentRoute({
52997
52997
  cfg,
@@ -53056,9 +53056,9 @@ async function registerSlackMonitorSlashCommands(params) {
53056
53056
  });
53057
53057
  const deliverSlashPayloads = async (replies) => {
53058
53058
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
53059
- import("./replies-GRjUBMUL.js").then((n) => n.r),
53060
- import("./chunk-4pLJcTE-.js").then((n) => n.s),
53061
- import("./markdown-tables-BEWLluuz.js").then((n) => n.t)
53059
+ import("./replies-a2WeMkU6.js").then((n) => n.r),
53060
+ import("./chunk-BuHZrtLn.js").then((n) => n.s),
53061
+ import("./markdown-tables-BA_MdGIq.js").then((n) => n.t)
53062
53062
  ]);
53063
53063
  await deliverSlackSlashReplies({
53064
53064
  replies,
@@ -53111,7 +53111,7 @@ async function registerSlackMonitorSlashCommands(params) {
53111
53111
  let nativeCommands = [];
53112
53112
  if (nativeEnabled) {
53113
53113
  reg = await getCommandsRegistry();
53114
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-C3OZ4W61.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53114
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CakvOluN.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53115
53115
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
53116
53116
  skillCommands,
53117
53117
  provider: "slack"
@@ -53697,7 +53697,7 @@ async function auditTelegramGroupMembership(params) {
53697
53697
  groups: [],
53698
53698
  elapsedMs: Date.now() - started
53699
53699
  };
53700
- const fetcher = params.proxyUrl ? (await import("./proxy-DIYzaAvh.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53700
+ const fetcher = params.proxyUrl ? (await import("./proxy-CnPaiSZ0.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53701
53701
  const { fetchWithTimeout } = await import("./fetch-timeout-C-qHqfzG.js").then((n) => n.r);
53702
53702
  const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
53703
53703
  const groups = [];
@@ -58451,7 +58451,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
58451
58451
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
58452
58452
  let preflightTranscript;
58453
58453
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
58454
- const { transcribeFirstAudio } = await import("./audio-preflight-B8r8qUhZ.js");
58454
+ const { transcribeFirstAudio } = await import("./audio-preflight-Byc0yvPV.js");
58455
58455
  preflightTranscript = await transcribeFirstAudio({
58456
58456
  ctx: {
58457
58457
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -61149,7 +61149,7 @@ function createWhatsAppLoginTool() {
61149
61149
  force: Type.Optional(Type.Boolean())
61150
61150
  }),
61151
61151
  execute: async (_toolCallId, args) => {
61152
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DeAbaqfx.js");
61152
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-0YUEfC35.js");
61153
61153
  if ((args?.action ?? "start") === "wait") {
61154
61154
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
61155
61155
  return {
@@ -61224,23 +61224,23 @@ let webLoginQrPromise = null;
61224
61224
  let webChannelPromise = null;
61225
61225
  let whatsappActionsPromise = null;
61226
61226
  function loadWebOutbound() {
61227
- webOutboundPromise ??= import("./outbound-D7OdBk5M.js").then((n) => n.t);
61227
+ webOutboundPromise ??= import("./outbound-B386FQiU.js").then((n) => n.t);
61228
61228
  return webOutboundPromise;
61229
61229
  }
61230
61230
  function loadWebLogin() {
61231
- webLoginPromise ??= import("./login-DIgrxuIQ.js").then((n) => n.n);
61231
+ webLoginPromise ??= import("./login-DYEbRdfH.js").then((n) => n.n);
61232
61232
  return webLoginPromise;
61233
61233
  }
61234
61234
  function loadWebLoginQr() {
61235
- webLoginQrPromise ??= import("./login-qr-DeAbaqfx.js");
61235
+ webLoginQrPromise ??= import("./login-qr-0YUEfC35.js");
61236
61236
  return webLoginQrPromise;
61237
61237
  }
61238
61238
  function loadWebChannel() {
61239
- webChannelPromise ??= import("./web-D48I7g5u.js");
61239
+ webChannelPromise ??= import("./web-DLrSMEN4.js");
61240
61240
  return webChannelPromise;
61241
61241
  }
61242
61242
  function loadWhatsAppActions() {
61243
- whatsappActionsPromise ??= import("./whatsapp-actions-BLoPRR5B.js");
61243
+ whatsappActionsPromise ??= import("./whatsapp-actions-CudQXAzF.js");
61244
61244
  return whatsappActionsPromise;
61245
61245
  }
61246
61246
  function createRuntimeWhatsApp() {
@@ -61690,7 +61690,7 @@ async function getMemorySearchManager(params) {
61690
61690
  if (cached) return { manager: cached };
61691
61691
  }
61692
61692
  try {
61693
- const { QmdMemoryManager } = await import("./qmd-manager-D3p7PB5n.js");
61693
+ const { QmdMemoryManager } = await import("./qmd-manager-BtfjLkaZ.js");
61694
61694
  const primary = await QmdMemoryManager.create({
61695
61695
  cfg: params.cfg,
61696
61696
  agentId: params.agentId,
@@ -61702,7 +61702,7 @@ async function getMemorySearchManager(params) {
61702
61702
  const wrapper = new FallbackMemoryManager({
61703
61703
  primary,
61704
61704
  fallbackFactory: async () => {
61705
- const { MemoryIndexManager } = await import("./manager-Bic1h3Nu.js").then((n) => n.t);
61705
+ const { MemoryIndexManager } = await import("./manager-J_9hr0Yu.js").then((n) => n.t);
61706
61706
  return await MemoryIndexManager.get(params);
61707
61707
  }
61708
61708
  }, () => {
@@ -61717,7 +61717,7 @@ async function getMemorySearchManager(params) {
61717
61717
  }
61718
61718
  }
61719
61719
  try {
61720
- const { MemoryIndexManager } = await import("./manager-Bic1h3Nu.js").then((n) => n.t);
61720
+ const { MemoryIndexManager } = await import("./manager-J_9hr0Yu.js").then((n) => n.t);
61721
61721
  return { manager: await MemoryIndexManager.get(params) };
61722
61722
  } catch (err) {
61723
61723
  return {
@@ -73349,7 +73349,7 @@ async function recordLoopOutcome(args) {
73349
73349
  if (!args.ctx?.sessionKey) return;
73350
73350
  try {
73351
73351
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73352
- const { recordToolCallOutcome } = await import("./tool-loop-detection-Bsh07kcw.js");
73352
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-CKnmaEeR.js");
73353
73353
  recordToolCallOutcome(getDiagnosticSessionState({
73354
73354
  sessionKey: args.ctx.sessionKey,
73355
73355
  sessionId: args.ctx?.agentId
@@ -73370,8 +73370,8 @@ async function runBeforeToolCallHook(args) {
73370
73370
  const params = args.params;
73371
73371
  if (args.ctx?.sessionKey) {
73372
73372
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73373
- const { logToolLoopAction } = await import("./diagnostic-1MgpiorV.js").then((n) => n.n);
73374
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Bsh07kcw.js");
73373
+ const { logToolLoopAction } = await import("./diagnostic-BefhWusS.js").then((n) => n.n);
73374
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CKnmaEeR.js");
73375
73375
  const sessionState = getDiagnosticSessionState({
73376
73376
  sessionKey: args.ctx.sessionKey,
73377
73377
  sessionId: args.ctx?.agentId
@@ -91509,7 +91509,7 @@ async function deliverSessionMaintenanceWarning(params) {
91509
91509
  return;
91510
91510
  }
91511
91511
  try {
91512
- const { deliverOutboundPayloads } = await import("./deliver-DymnzypV.js").then((n) => n.n);
91512
+ const { deliverOutboundPayloads } = await import("./deliver-BcAT1l6Y.js").then((n) => n.n);
91513
91513
  const outboundSession = buildOutboundSessionContext({
91514
91514
  cfg: params.cfg,
91515
91515
  sessionKey: params.sessionKey
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { r as resolveAgentConfig } from "./agent-scope-BL5NPpGJ.js";
2
+ import { r as resolveAgentConfig } from "./agent-scope-DS0HILk_.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,5 +1,5 @@
1
- import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-DKZ5hSLA.js";
2
- import { n as missingTargetError } from "./target-errors-Bgd_Uo0g.js";
1
+ import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-Dupyelyu.js";
2
+ import { n as missingTargetError } from "./target-errors-DqlHqAmV.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { c as normalizeAgentId, f as sanitizeAgentId, i as buildAgentPeerSessionKey, m as normalizeAccountId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
3
- import { p as shouldLogVerbose } from "./subsystem-C84uWxqx.js";
4
- import { c as resolveDefaultAgentId } from "./agent-scope-BL5NPpGJ.js";
5
- import { t as logDebug } from "./logger-BwzMchOl.js";
3
+ import { p as shouldLogVerbose } from "./subsystem-DQdKZm8Z.js";
4
+ import { c as resolveDefaultAgentId } from "./agent-scope-DS0HILk_.js";
5
+ import { t as logDebug } from "./logger-Dqmpx59X.js";
6
6
  import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
7
- import { n as listBindings } from "./bindings-YKerL1Tc.js";
7
+ import { n as listBindings } from "./bindings-D8UvbNti.js";
8
8
 
9
9
  //#region src/routing/resolve-route.ts
10
10
  var resolve_route_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { y as sleep } from "./utils-BA7Xm0uM.js";
1
+ import { y as sleep } from "./utils-hxOwZduA.js";
2
2
 
3
3
  //#region src/infra/retry.ts
4
4
  const DEFAULT_RETRY_CONFIG = {
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { n as loadConfig } from "./config-kqUrcUGI.js";
3
- import { i as resolveSignalAccount } from "./accounts-BME088co.js";
2
+ import { n as loadConfig } from "./config-BkeO1N4t.js";
3
+ import { i as resolveSignalAccount } from "./accounts-CqgyHS8h.js";
4
4
  import { n as fetchWithTimeout } from "./fetch-timeout-C-qHqfzG.js";
5
5
  import { t as resolveFetch } from "./fetch-BEtAimXS.js";
6
- import { m as kindFromMime } from "./image-ops-DhVTERkS.js";
7
- import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DyMWDxUp.js";
8
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
6
+ import { m as kindFromMime } from "./image-ops-CfQjZch5.js";
7
+ import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-CLKvSg7X.js";
8
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BA_MdGIq.js";
9
9
  import { n as generateSecureUuid } from "./secure-random-C5PtFEje.js";
10
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Y-wO2Csk.js";
10
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DgC7KgEZ.js";
11
11
 
12
12
  //#region src/signal/format.ts
13
13
  function normalizeUrlForComparison(url) {
@@ -1,30 +1,30 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
3
3
  import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-STHPF-Vp.js";
4
- import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-kqUrcUGI.js";
5
- import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
6
- import { g as safeParseJson, t as CONFIG_DIR } from "./utils-BA7Xm0uM.js";
7
- import { n as isTruthyEnvValue } from "./command-format-TmcJI6nP.js";
8
- import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DKZ5hSLA.js";
4
+ import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-BkeO1N4t.js";
5
+ import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-DQdKZm8Z.js";
6
+ import { g as safeParseJson, t as CONFIG_DIR } from "./utils-hxOwZduA.js";
7
+ import { n as isTruthyEnvValue } from "./command-format-9ttCUvaP.js";
8
+ import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Dupyelyu.js";
9
9
  import { r as writeJsonAtomic } from "./json-files-BLPb80aT.js";
10
10
  import { t as resolveFetch } from "./fetch-BEtAimXS.js";
11
- import { t as redactSensitiveText } from "./redact-DEfi9F2o.js";
12
- import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-BRahpZsP.js";
13
- import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-Dzyx86FD.js";
11
+ import { t as redactSensitiveText } from "./redact-Civ2olvH.js";
12
+ import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-D2KyTKs6.js";
13
+ import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-CMtaqeTg.js";
14
14
  import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
15
15
  import { n as normalizePollInput } from "./polls-DN23oxyB.js";
16
- import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-DhVTERkS.js";
17
- import { u as hasProxyEnvConfigured } from "./ssrf-EGzUkeVq.js";
18
- import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DyMWDxUp.js";
19
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
16
+ import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-CfQjZch5.js";
17
+ import { u as hasProxyEnvConfigured } from "./ssrf-BjVCUeM7.js";
18
+ import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-CLKvSg7X.js";
19
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BA_MdGIq.js";
20
20
  import { t as renderMarkdownWithMarkers } from "./render-BDQg502o.js";
21
- import { t as makeProxyFetch } from "./proxy-fetch-X6Ja_eZx.js";
21
+ import { t as makeProxyFetch } from "./proxy-fetch-BY4mmpys.js";
22
22
  import fs, { readFileSync } from "node:fs";
23
23
  import path from "node:path";
24
24
  import os from "node:os";
25
25
  import fs$1 from "node:fs/promises";
26
26
  import crypto, { randomBytes } from "node:crypto";
27
- import json5 from "json5";
27
+ import JSON5 from "json5";
28
28
  import process$1 from "node:process";
29
29
  import { EnvHttpProxyAgent, getGlobalDispatcher, setGlobalDispatcher } from "undici";
30
30
  import * as dns from "node:dns";
@@ -1801,7 +1801,7 @@ async function loadCronStore(storePath) {
1801
1801
  const raw = await fs.promises.readFile(storePath, "utf-8");
1802
1802
  let parsed;
1803
1803
  try {
1804
- parsed = json5.parse(raw);
1804
+ parsed = JSON5.parse(raw);
1805
1805
  } catch (err) {
1806
1806
  throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
1807
1807
  }