@termix-it/cryptoclaw 1.0.7 → 1.0.9

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 (103) hide show
  1. package/dist/{accounts-adGJqtm-.js → accounts-BCWrb_kQ.js} +1 -1
  2. package/dist/{accounts-B2_P2IHX.js → accounts-BLfGSTTQ.js} +3 -3
  3. package/dist/{accounts-BQVDbUTH.js → accounts-Dt59VmPe.js} +1 -1
  4. package/dist/{active-listener-DTrOoTq0.js → active-listener-RqwDePXt.js} +1 -1
  5. package/dist/{api-key-rotation-Bo0_PZkm.js → api-key-rotation-D2kYeIQQ.js} +2 -2
  6. package/dist/{audio-preflight-BgYpUIka.js → audio-preflight-_6ttSHmt.js} +30 -30
  7. package/dist/{audio-transcription-runner-CoRZTvdf.js → audio-transcription-runner-CR_2AH5G.js} +12 -12
  8. package/dist/{audit-membership-runtime-Dg3H6a5z.js → audit-membership-runtime-C6dnIaXJ.js} +4 -4
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +49 -49
  11. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  12. package/dist/bundled/command-logger/handler.js +1 -1
  13. package/dist/bundled/session-memory/handler.js +49 -49
  14. package/dist/bundled/soul-evil/handler.js +4 -4
  15. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  16. package/dist/{channel-activity-CFlDtT9S.js → channel-activity-CJkA_hhR.js} +3 -3
  17. package/dist/{chrome-B01dR7lb.js → chrome-CXIrNn6H.js} +7 -7
  18. package/dist/{commands-registry-CUMFNBz2.js → commands-registry-ByjAF5Xl.js} +4 -4
  19. package/dist/{deliver-BNNy-X_P.js → deliver-BFJn3-fC.js} +10 -10
  20. package/dist/deliver-runtime-Bw0VKYNI.js +37 -0
  21. package/dist/deps-send-discord.runtime-DyDqzykC.js +27 -0
  22. package/dist/deps-send-imessage.runtime-D2FIWwrH.js +26 -0
  23. package/dist/deps-send-signal.runtime-9X3-kR2c.js +25 -0
  24. package/dist/deps-send-slack.runtime-DvLKewKN.js +23 -0
  25. package/dist/deps-send-telegram.runtime-CK0JK9qi.js +28 -0
  26. package/dist/deps-send-whatsapp.runtime-ChcUz7xZ.js +61 -0
  27. package/dist/{diagnostic-7IyfJnrm.js → diagnostic-kVA702dh.js} +2 -2
  28. package/dist/{errors-DqgvfHhI.js → errors-C1YF712P.js} +1 -1
  29. package/dist/{fetch-C86spdPU.js → fetch-C_Dvxwo-.js} +4 -4
  30. package/dist/{fetch-guard-WvRGlw62.js → fetch-guard-De2c-A0w.js} +2 -2
  31. package/dist/{frontmatter-BMvyqQHI.js → frontmatter-Dn68lQ_o.js} +3 -3
  32. package/dist/{fs-safe-NSocNqxE.js → fs-safe-CgO4FuI9.js} +3 -3
  33. package/dist/{image-SNsgc9XL.js → image-BI9ZrRUQ.js} +6 -6
  34. package/dist/{image-ops-C39uL98D.js → image-ops-ChaTXg5i.js} +2 -2
  35. package/dist/image-runtime-CPYGXqpg.js +30 -0
  36. package/dist/{ir-BIEsxi3i.js → ir-08dII-cl.js} +7 -7
  37. package/dist/{legacy-names-iGQfUMAW.js → legacy-names-BAiRv0I2.js} +1 -1
  38. package/dist/llm-slug-generator.js +49 -49
  39. package/dist/{logger-DeYjzyXs.js → logger-C53B395N.js} +1 -1
  40. package/dist/{login-D1_-Z38_.js → login-CIGbOUov.js} +5 -5
  41. package/dist/{login-qr-BOsJq2T3.js → login-qr-DJc-gJTS.js} +9 -9
  42. package/dist/{manager-IUfBDe4v.js → manager-CJr-QF3U.js} +8 -8
  43. package/dist/manager-runtime-DhSqCQ7_.js +19 -0
  44. package/dist/{model-selection-B5T1HKZP.js → model-selection-CecWmBpu.js} +10 -10
  45. package/dist/{outbound-attachment-C27x0RYd.js → outbound-attachment-B02zhzHs.js} +2 -2
  46. package/dist/{outbound-Bs60iMsB.js → outbound-sNa9-var.js} +6 -6
  47. package/dist/{path-alias-guards-BCCgaXwI.js → path-alias-guards-BfOFxARa.js} +1 -1
  48. package/dist/{pi-embedded-NC2kaVQ5.js → pi-embedded--j-vyCUK.js} +76 -76
  49. package/dist/{pi-embedded-helpers-K-SoquI3.js → pi-embedded-helpers-CNzY8t5q.js} +18 -18
  50. package/dist/{pi-model-discovery-DECF7CNQ.js → pi-model-discovery-CTFYQaxY.js} +1 -1
  51. package/dist/pi-model-discovery-runtime-CskD35tG.js +12 -0
  52. package/dist/{pi-tools.before-tool-call.runtime-D_-a-ap7.js → pi-tools.before-tool-call.runtime-CPPt0F7Z.js} +8 -8
  53. package/dist/{plugins-C7B5a5Kw.js → plugins-DBkX-V6R.js} +5 -5
  54. package/dist/{proxy-env-CrHlhd9C.js → proxy-env-Dh9Q_Pbx.js} +1 -1
  55. package/dist/{proxy-fetch-BNoCHTJq.js → proxy-fetch-CVSmQMZt.js} +1 -1
  56. package/dist/{pw-ai-UAXl1Fr-.js → pw-ai-CuA0BkwK.js} +13 -13
  57. package/dist/{qmd-manager-NQOYZ3Ld.js → qmd-manager-OQfYi977.js} +9 -9
  58. package/dist/{query-expansion-B1-x3SnK.js → query-expansion-C4Jm5bwm.js} +3 -3
  59. package/dist/{redact-DLKBjGbP.js → redact-BXURioma.js} +1 -1
  60. package/dist/{run-with-concurrency-BuhIdzLh.js → run-with-concurrency-Nt31vJUG.js} +3 -3
  61. package/dist/runtime-whatsapp-login.runtime-CotlhVMr.js +14 -0
  62. package/dist/runtime-whatsapp-outbound.runtime-BFmswqyg.js +23 -0
  63. package/dist/{send-DneG3Y6W.js → send-B186cJBK.js} +6 -6
  64. package/dist/{send-CO0SLbe1.js → send-Bv1bYz85.js} +5 -5
  65. package/dist/{send-Du9t4AGe.js → send-C7fVX3Aa.js} +7 -7
  66. package/dist/{send-sLJZ7IY5.js → send-DkisVBoc.js} +7 -7
  67. package/dist/{send-XLlQzPe6.js → send-MX_Rfded.js} +13 -13
  68. package/dist/{session-CqC7SBSQ.js → session-1Yl8Frr-.js} +4 -4
  69. package/dist/{skill-commands-BMBlilhl.js → skill-commands-DJeNfhnA.js} +5 -5
  70. package/dist/{skills-3xdwtD86.js → skills-OI1KPfGe.js} +7 -7
  71. package/dist/slash-commands.runtime-C8ykFSb4.js +17 -0
  72. package/dist/slash-dispatch.runtime-DGex1-6v.js +57 -0
  73. package/dist/slash-skill-commands.runtime-YPlwoNDe.js +21 -0
  74. package/dist/{store-C2cz5_ir.js → store-B1AWPmNF.js} +2 -2
  75. package/dist/subagent-registry-runtime-DUQVA-gN.js +57 -0
  76. package/dist/{subsystem-D7UWJNhH.js → subsystem-W834z9Wa.js} +2 -2
  77. package/dist/{tables-wy_zOeNt.js → tables-cH0bKocg.js} +1 -1
  78. package/dist/{target-errors-DuBDh-hv.js → target-errors-CnpYma3r.js} +2 -2
  79. package/dist/{thinking-BTyVdUNj.js → thinking-CPVJ1bGB.js} +6 -6
  80. package/dist/{tokens-D44Sg_H7.js → tokens-DxcVnNVJ.js} +1 -1
  81. package/dist/{tool-images-DglcBYRa.js → tool-images-PZo0DcO2.js} +2 -2
  82. package/dist/{utils-BYUbDw97.js → utils-D2oM4XHm.js} +1 -1
  83. package/dist/{web-BPaW_2gD.js → web-BlqPhzy5.js} +53 -53
  84. package/dist/{whatsapp-actions-DY_gelO0.js → whatsapp-actions-D-ZrE5Zf.js} +20 -20
  85. package/dist/{workspace-TO6lxFaG.js → workspace-Thv5xKBi.js} +3 -3
  86. package/extensions/blockchain/openclaw.plugin.json +17 -0
  87. package/package.json +2 -3
  88. package/dist/deliver-runtime-D3UqVG2a.js +0 -37
  89. package/dist/deps-send-discord.runtime-1ABqH4jI.js +0 -27
  90. package/dist/deps-send-imessage.runtime-BxIgxxVD.js +0 -26
  91. package/dist/deps-send-signal.runtime-BrjjXQ_9.js +0 -25
  92. package/dist/deps-send-slack.runtime-D2Lr4jUM.js +0 -23
  93. package/dist/deps-send-telegram.runtime-Bki4Zhpg.js +0 -28
  94. package/dist/deps-send-whatsapp.runtime-h0TYRFbx.js +0 -61
  95. package/dist/image-runtime-DGFCE6eP.js +0 -30
  96. package/dist/manager-runtime-DAdjOUFO.js +0 -19
  97. package/dist/pi-model-discovery-runtime-DTzSS-sX.js +0 -12
  98. package/dist/runtime-whatsapp-login.runtime-y737nfzV.js +0 -14
  99. package/dist/runtime-whatsapp-outbound.runtime-Dcv3ZDOz.js +0 -23
  100. package/dist/slash-commands.runtime-D7uWN_ny.js +0 -17
  101. package/dist/slash-dispatch.runtime-D-1yM5hX.js +0 -57
  102. package/dist/slash-skill-commands.runtime-DHl6ydtz.js +0 -21
  103. package/dist/subagent-registry-runtime-DHNLqrbe.js +0 -57
@@ -1,64 +1,64 @@
1
- import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-BuhIdzLh.js";
1
+ import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-Nt31vJUG.js";
2
2
  import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-C6TxBCvO.js";
3
- import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ 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 resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-D7UWJNhH.js";
3
+ import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ 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 resolvePreferredOpenClawTmpDir, y as getChildLogger } from "./subsystem-W834z9Wa.js";
4
4
  import { C as parseAgentSessionKey, S as isSubagentSessionKey, _ as isBlockedObjectKey, b as isAcpSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as normalizeOptionalAccountId, h as normalizeAccountId$2, i as buildAgentPeerSessionKey, l as normalizeMainKey, m as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, o as classifySessionKeyShape, p as scopedHeartbeatWakeOptions, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as deriveSessionChatType, w as resolveThreadParentSessionKey, x as isCronSessionKey, y as getSubagentDepth } from "./session-key-DgdmD4k7.js";
5
- 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-BYUbDw97.js";
6
- import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-TO6lxFaG.js";
7
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DeYjzyXs.js";
8
- import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-B5T1HKZP.js";
5
+ 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-D2oM4XHm.js";
6
+ import { A as normalizeWindowsPathForComparison, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync } from "./workspace-Thv5xKBi.js";
7
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-C53B395N.js";
8
+ import { $ as resolveConfigSnapshotHash, $n as listProfilesForProvider, $t as normalizePluginHttpPath, A as getCustomProviderApiKey, An as unwrapKnownShellMultiplexerInvocation, At as isSupportedLocalAvatarExtension, B as markAuthProfileFailure, Bn as resolveSlackStreamingMode, C as OLLAMA_NATIVE_BASE_URL, Cn as matchAllowlist, D as buildStreamErrorAssistantMessage, Dn as isDispatchWrapperExecutable, Dt as isAvatarDataUrl, E as buildAssistantMessageWithZeroUsage, En as extractShellWrapperInlineCommand, Et as AVATAR_MAX_BYTES, Fn as applyMergePatch, Ft as safeStatSync, G as describeUnknownError$1, Gn as resolveAgentMaxConcurrent, Gt as normalizeChannelId$1, H as resolveProfilesUnavailableReason, Ht as getChatChannelMeta, I as resolveAuthProfileOrder, In as isSafeExecutableValue, It as applyTestPluginDefaults, J as parseDotPath, Jn as resolveShellEnvFallbackTimeoutMs, Jt as getActivePluginRegistryKey, K as isNonEmptyString, Kn as VERSION, Kt as normalizeChatChannelId, L as clearExpiredCooldowns, Ln as mapStreamingModeToSlackLegacyDraftStreamMode, Lt as normalizePluginsConfig, M as resolveApiKeyForProvider, Mn as SAFE_BIN_PROFILES, Mt as loadPluginManifestRegistry, N as resolveEnvApiKey, Nn as normalizeSafeBinProfileFixtures, Nt as discoverOpenClawPlugins, O as buildUsageWithNoCost, On as isShellWrapperExecutable, Ot as isAvatarHttpUrl, P as resolveModelAuthMode, Pn as resolveSafeBinProfiles, Pt as isPathInside, Qn as dedupeProfileIds, Qt as createPluginRegistry, R as getSoonestCooldownExpiry, Rn as resolveDiscordPreviewStreamMode, Rt as resolveEffectiveEnableState, S as retryAsync, Sn as DEFAULT_SAFE_BINS, T as buildAssistantMessage, Tn as resolveCommandResolutionFromArgv, U as resolveApiKeyForProfile, Ut as listChatChannels, V as markAuthProfileUsed, Vt as CHAT_CHANNEL_ORDER, W as resolveSecretRefValues, Wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wt as normalizeAnyChannelId, X as loadConfig, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yn as isDangerousHostEnvVarName, Z as readConfigFileSnapshot, Zn as resolveOwnerDisplaySetting, Zt as setActivePluginRegistry, _n as validateSafeBinArgv, _r as splitTrailingAuthProfile, a as isCliProvider, an as getConfigOverrides, bn as isWindowsPlatform, br as DEFAULT_PROVIDER, c as normalizeProviderId, cn as unsetConfigOverride, cr as formatCliCommand, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as setConfigValueAtPath, dt as parseNonNegativeByteSize, en as clearPluginCommands, er as markAuthProfileGood, et as writeConfigFile, f as resolveModelRefFromString, fn as unsetConfigValueAtPath, fr as normalizeSecretInput, ft as secretRefKey, gn as normalizeTrustedSafeBinDirs, gr as resolveSecretInputRef, h as resolveThinkingDefault, hn as listWritableExplicitTrustedSafeBinDirs, hr as normalizeResolvedSecretInputString, i as findNormalizedProviderValue, in as matchPluginCommand, ir as withFileLock, it as resolveTelegramCustomCommands, j as requireApiKey, jn as splitShellArgs, jt as validateJsonSchemaValue, k as getApiKeyForModel, kn as unwrapKnownDispatchWrapperInvocation, kt as isPathWithinRoot, ln as getConfigValueAtPath, lr as resolveCliName, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as isTrustedSafeBinPath, mr as hasConfiguredSecretInput, n as buildConfiguredAllowlistKeys, nn as getPluginCommandSpecs, nr as resolveAuthStorePathForDisplay, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as resetConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as getTrustedSafeBinDirs, pr as coerceSecretRef, q as isRecord$2, qn as getShellPathFromLoginShell, qt as getActivePluginRegistry, r as buildModelAliasIndex, rn as listPluginCommands, rr as resolveOpenClawAgentDir, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as setConfigOverride, t as buildAllowedModelSet, tn as executePluginCommand, tr as ensureAuthProfileStore, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as parseConfigPath, ur as resolveAuthProfileDisplayLabel, ut as normalizeScpRemoteHost, vn as analyzeShellCommand, vr as DEFAULT_CONTEXT_TOKENS, w as createOllamaStreamFn, wn as resolveAllowlistCandidatePath, x as resolveRetryConfig, xn as splitCommandChain, yn as buildEnforcedShellCommand, yr as DEFAULT_MODEL, z as isProfileInCooldown, zn as resolveSlackNativeStreaming, zt as resolveMemorySlotDecision } from "./model-selection-CecWmBpu.js";
9
9
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DDa7O18e.js";
10
- import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-iGQfUMAW.js";
10
+ import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-BAiRv0I2.js";
11
11
  import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
12
- import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-BTyVdUNj.js";
13
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-D44Sg_H7.js";
14
- import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-C7B5a5Kw.js";
15
- import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-B2_P2IHX.js";
16
- import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-DneG3Y6W.js";
17
- import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-Du9t4AGe.js";
12
+ import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-CPVJ1bGB.js";
13
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DxcVnNVJ.js";
14
+ import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-DBkX-V6R.js";
15
+ import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-BLfGSTTQ.js";
16
+ import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-B186cJBK.js";
17
+ import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-C7fVX3Aa.js";
18
18
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
19
- import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-BNNy-X_P.js";
20
- import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-7IyfJnrm.js";
21
- import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BQVDbUTH.js";
19
+ import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-BFJn3-fC.js";
20
+ import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-kVA702dh.js";
21
+ import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Dt59VmPe.js";
22
22
  import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-yNvvUZit.js";
23
- import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-C39uL98D.js";
24
- import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-XLlQzPe6.js";
25
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DECF7CNQ.js";
26
- import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-K-SoquI3.js";
27
- import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-B01dR7lb.js";
28
- 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-3xdwtD86.js";
29
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BCCgaXwI.js";
30
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DLKBjGbP.js";
31
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-DqgvfHhI.js";
32
- import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-NSocNqxE.js";
33
- import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-CrHlhd9C.js";
34
- import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-C2cz5_ir.js";
23
+ import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-ChaTXg5i.js";
24
+ import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-MX_Rfded.js";
25
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CTFYQaxY.js";
26
+ import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-CNzY8t5q.js";
27
+ import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-CXIrNn6H.js";
28
+ 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-OI1KPfGe.js";
29
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BfOFxARa.js";
30
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-BXURioma.js";
31
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-C1YF712P.js";
32
+ import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CgO4FuI9.js";
33
+ import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-Dh9Q_Pbx.js";
34
+ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-B1AWPmNF.js";
35
35
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D2dc4Wmw.js";
36
- import { t as resolveIMessageAccount } from "./accounts-adGJqtm-.js";
36
+ import { t as resolveIMessageAccount } from "./accounts-BCWrb_kQ.js";
37
37
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CZ0nrg7g.js";
38
38
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
39
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-DglcBYRa.js";
39
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-PZo0DcO2.js";
40
40
  import { i as withNormalizedTimestamp, n as resolveUserTimeFormat, r as resolveUserTimezone, t as formatUserTime } from "./date-time-Ce6oKo3v.js";
41
- import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-SNsgc9XL.js";
42
- import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-CoRZTvdf.js";
43
- import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-C86spdPU.js";
41
+ import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureOpenClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-BI9ZrRUQ.js";
42
+ import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-CR_2AH5G.js";
43
+ import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-C_Dvxwo-.js";
44
44
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CSrVj6X7.js";
45
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-WvRGlw62.js";
46
- import { t as makeProxyFetch } from "./proxy-fetch-BNoCHTJq.js";
47
- import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-BIEsxi3i.js";
48
- 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-DuBDh-hv.js";
49
- import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-CUMFNBz2.js";
50
- import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-BMBlilhl.js";
45
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-De2c-A0w.js";
46
+ import { t as makeProxyFetch } from "./proxy-fetch-CVSmQMZt.js";
47
+ import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-08dII-cl.js";
48
+ 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-CnpYma3r.js";
49
+ import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-ByjAF5Xl.js";
50
+ import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-DJeNfhnA.js";
51
51
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CTN5ATFT.js";
52
52
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-WKa7J8FO.js";
53
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CFlDtT9S.js";
53
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CJkA_hhR.js";
54
54
  import { t as buildOutboundMediaLoadOptions } from "./load-options-BXqJ6gxm.js";
55
55
  import { n as normalizePollInput } from "./polls-CVGKOEN8.js";
56
- import { t as convertMarkdownTables } from "./tables-wy_zOeNt.js";
57
- import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-CO0SLbe1.js";
58
- import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-sLJZ7IY5.js";
59
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-DTrOoTq0.js";
60
- import { n as resolveMemorySearchConfig } from "./manager-IUfBDe4v.js";
61
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-B1-x3SnK.js";
56
+ import { t as convertMarkdownTables } from "./tables-cH0bKocg.js";
57
+ import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-Bv1bYz85.js";
58
+ import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-DkisVBoc.js";
59
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-RqwDePXt.js";
60
+ import { n as resolveMemorySearchConfig } from "./manager-CJr-QF3U.js";
61
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C4Jm5bwm.js";
62
62
  import { createRequire } from "node:module";
63
63
  import * as fs$1 from "node:fs/promises";
64
64
  import fs from "node:fs/promises";
@@ -66,7 +66,7 @@ import os, { homedir } from "node:os";
66
66
  import * as path$1 from "node:path";
67
67
  import path, { isAbsolute } from "node:path";
68
68
  import syncFs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
69
- import json5 from "json5";
69
+ import JSON5 from "json5";
70
70
  import { inspect, isDeepStrictEqual, promisify } from "node:util";
71
71
  import { execFile, spawn, spawnSync } from "node:child_process";
72
72
  import { fileURLToPath } from "node:url";
@@ -9760,7 +9760,7 @@ function normalizeReplyPayload(payload, opts = {}) {
9760
9760
  */
9761
9761
  let deliverRuntimePromise$2 = null;
9762
9762
  function loadDeliverRuntime$2() {
9763
- deliverRuntimePromise$2 ??= import("./deliver-runtime-D3UqVG2a.js");
9763
+ deliverRuntimePromise$2 ??= import("./deliver-runtime-Bw0VKYNI.js");
9764
9764
  return deliverRuntimePromise$2;
9765
9765
  }
9766
9766
  /**
@@ -10449,7 +10449,7 @@ function normalizeSessionKey(value) {
10449
10449
  function readSessionStore(storePath) {
10450
10450
  try {
10451
10451
  const raw = syncFs.readFileSync(storePath, "utf-8");
10452
- const parsed = json5.parse(raw);
10452
+ const parsed = JSON5.parse(raw);
10453
10453
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
10454
10454
  } catch {}
10455
10455
  return {};
@@ -11048,7 +11048,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
11048
11048
  const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
11049
11049
  let subagentRegistryRuntimePromise = null;
11050
11050
  function loadSubagentRegistryRuntime() {
11051
- subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-DHNLqrbe.js");
11051
+ subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-DUQVA-gN.js");
11052
11052
  return subagentRegistryRuntimePromise;
11053
11053
  }
11054
11054
  const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
@@ -14402,7 +14402,7 @@ async function runWithConcurrency(tasks, limit) {
14402
14402
  //#region src/media-understanding/echo-transcript.ts
14403
14403
  let deliverRuntimePromise$1 = null;
14404
14404
  function loadDeliverRuntime$1() {
14405
- deliverRuntimePromise$1 ??= import("./deliver-runtime-D3UqVG2a.js");
14405
+ deliverRuntimePromise$1 ??= import("./deliver-runtime-Bw0VKYNI.js");
14406
14406
  return deliverRuntimePromise$1;
14407
14407
  }
14408
14408
  const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
@@ -22165,7 +22165,7 @@ function ensureContextWindowCacheLoaded() {
22165
22165
  await ensureOpenClawModelsJson(cfg);
22166
22166
  } catch {}
22167
22167
  try {
22168
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DECF7CNQ.js").then((n) => n.r);
22168
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CTFYQaxY.js").then((n) => n.r);
22169
22169
  const agentDir = resolveOpenClawAgentDir();
22170
22170
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
22171
22171
  applyDiscoveredContextWindows({
@@ -31071,7 +31071,7 @@ async function createModelSelectionState(params) {
31071
31071
  }
31072
31072
  }
31073
31073
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
31074
- const { ensureAuthProfileStore } = await import("./model-selection-B5T1HKZP.js").then((n) => n.F);
31074
+ const { ensureAuthProfileStore } = await import("./model-selection-CecWmBpu.js").then((n) => n.F);
31075
31075
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
31076
31076
  const providerKey = normalizeProviderId(provider);
31077
31077
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -50786,7 +50786,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
50786
50786
  const log$10 = createSubsystemLogger("session-maintenance-warning");
50787
50787
  let deliverRuntimePromise = null;
50788
50788
  function loadDeliverRuntime() {
50789
- deliverRuntimePromise ??= import("./deliver-runtime-D3UqVG2a.js");
50789
+ deliverRuntimePromise ??= import("./deliver-runtime-Bw0VKYNI.js");
50790
50790
  return deliverRuntimePromise;
50791
50791
  }
50792
50792
  function shouldSendWarning() {
@@ -55743,7 +55743,7 @@ const VISION_PROVIDERS = [
55743
55743
  ];
55744
55744
  let imageRuntimePromise = null;
55745
55745
  function loadImageRuntime() {
55746
- imageRuntimePromise ??= import("./image-runtime-DGFCE6eP.js");
55746
+ imageRuntimePromise ??= import("./image-runtime-CPYGXqpg.js");
55747
55747
  return imageRuntimePromise;
55748
55748
  }
55749
55749
  /**
@@ -57736,7 +57736,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
57736
57736
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
57737
57737
  let transcript;
57738
57738
  if (needsPreflightTranscription) try {
57739
- const { transcribeFirstAudio } = await import("./audio-preflight-BgYpUIka.js");
57739
+ const { transcribeFirstAudio } = await import("./audio-preflight-_6ttSHmt.js");
57740
57740
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
57741
57741
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
57742
57742
  ctx: {
@@ -64996,27 +64996,27 @@ let slackSenderRuntimePromise = null;
64996
64996
  let signalSenderRuntimePromise = null;
64997
64997
  let imessageSenderRuntimePromise = null;
64998
64998
  function loadWhatsAppSenderRuntime() {
64999
- whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-h0TYRFbx.js");
64999
+ whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-ChcUz7xZ.js");
65000
65000
  return whatsappSenderRuntimePromise;
65001
65001
  }
65002
65002
  function loadTelegramSenderRuntime() {
65003
- telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-Bki4Zhpg.js");
65003
+ telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-CK0JK9qi.js");
65004
65004
  return telegramSenderRuntimePromise;
65005
65005
  }
65006
65006
  function loadDiscordSenderRuntime() {
65007
- discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-1ABqH4jI.js");
65007
+ discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-DyDqzykC.js");
65008
65008
  return discordSenderRuntimePromise;
65009
65009
  }
65010
65010
  function loadSlackSenderRuntime() {
65011
- slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-D2Lr4jUM.js");
65011
+ slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-DvLKewKN.js");
65012
65012
  return slackSenderRuntimePromise;
65013
65013
  }
65014
65014
  function loadSignalSenderRuntime() {
65015
- signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-BrjjXQ_9.js");
65015
+ signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-9X3-kR2c.js");
65016
65016
  return signalSenderRuntimePromise;
65017
65017
  }
65018
65018
  function loadIMessageSenderRuntime() {
65019
- imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-BxIgxxVD.js");
65019
+ imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-D2FIWwrH.js");
65020
65020
  return imessageSenderRuntimePromise;
65021
65021
  }
65022
65022
  function createDefaultDeps() {
@@ -77757,15 +77757,15 @@ let slashCommandsRuntimePromise = null;
77757
77757
  let slashDispatchRuntimePromise = null;
77758
77758
  let slashSkillCommandsRuntimePromise = null;
77759
77759
  function loadSlashCommandsRuntime() {
77760
- slashCommandsRuntimePromise ??= import("./slash-commands.runtime-D7uWN_ny.js");
77760
+ slashCommandsRuntimePromise ??= import("./slash-commands.runtime-C8ykFSb4.js");
77761
77761
  return slashCommandsRuntimePromise;
77762
77762
  }
77763
77763
  function loadSlashDispatchRuntime() {
77764
- slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-D-1yM5hX.js");
77764
+ slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DGex1-6v.js");
77765
77765
  return slashDispatchRuntimePromise;
77766
77766
  }
77767
77767
  function loadSlashSkillCommandsRuntime() {
77768
- slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-DHl6ydtz.js");
77768
+ slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-YPlwoNDe.js");
77769
77769
  return slashSkillCommandsRuntimePromise;
77770
77770
  }
77771
77771
  const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
@@ -78755,7 +78755,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
78755
78755
  }
78756
78756
  let auditMembershipRuntimePromise = null;
78757
78757
  function loadAuditMembershipRuntime() {
78758
- auditMembershipRuntimePromise ??= import("./audit-membership-runtime-Dg3H6a5z.js");
78758
+ auditMembershipRuntimePromise ??= import("./audit-membership-runtime-C6dnIaXJ.js");
78759
78759
  return auditMembershipRuntimePromise;
78760
78760
  }
78761
78761
  async function auditTelegramGroupMembership(params) {
@@ -81130,7 +81130,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
81130
81130
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
81131
81131
  let preflightTranscript;
81132
81132
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
81133
- const { transcribeFirstAudio } = await import("./audio-preflight-BgYpUIka.js");
81133
+ const { transcribeFirstAudio } = await import("./audio-preflight-_6ttSHmt.js");
81134
81134
  preflightTranscript = await transcribeFirstAudio({
81135
81135
  ctx: {
81136
81136
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -83943,7 +83943,7 @@ function createWhatsAppLoginTool() {
83943
83943
  force: Type.Optional(Type.Boolean())
83944
83944
  }),
83945
83945
  execute: async (_toolCallId, args) => {
83946
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BOsJq2T3.js");
83946
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DJc-gJTS.js");
83947
83947
  if ((args?.action ?? "start") === "wait") {
83948
83948
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
83949
83949
  return {
@@ -84018,23 +84018,23 @@ let webOutboundPromise = null;
84018
84018
  let webLoginPromise = null;
84019
84019
  let whatsappActionsPromise = null;
84020
84020
  function loadWebOutbound() {
84021
- webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-Dcv3ZDOz.js");
84021
+ webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-BFmswqyg.js");
84022
84022
  return webOutboundPromise;
84023
84023
  }
84024
84024
  function loadWebLogin() {
84025
- webLoginPromise ??= import("./runtime-whatsapp-login.runtime-y737nfzV.js");
84025
+ webLoginPromise ??= import("./runtime-whatsapp-login.runtime-CotlhVMr.js");
84026
84026
  return webLoginPromise;
84027
84027
  }
84028
84028
  function loadWebLoginQr() {
84029
- webLoginQrPromise ??= import("./login-qr-BOsJq2T3.js");
84029
+ webLoginQrPromise ??= import("./login-qr-DJc-gJTS.js");
84030
84030
  return webLoginQrPromise;
84031
84031
  }
84032
84032
  function loadWebChannel() {
84033
- webChannelPromise ??= import("./web-BPaW_2gD.js");
84033
+ webChannelPromise ??= import("./web-BlqPhzy5.js");
84034
84034
  return webChannelPromise;
84035
84035
  }
84036
84036
  function loadWhatsAppActions() {
84037
- whatsappActionsPromise ??= import("./whatsapp-actions-DY_gelO0.js");
84037
+ whatsappActionsPromise ??= import("./whatsapp-actions-D-ZrE5Zf.js");
84038
84038
  return whatsappActionsPromise;
84039
84039
  }
84040
84040
  function createRuntimeWhatsApp() {
@@ -84475,7 +84475,7 @@ const log$6 = createSubsystemLogger("memory");
84475
84475
  const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
84476
84476
  let managerRuntimePromise = null;
84477
84477
  function loadManagerRuntime() {
84478
- managerRuntimePromise ??= import("./manager-runtime-DAdjOUFO.js");
84478
+ managerRuntimePromise ??= import("./manager-runtime-DhSqCQ7_.js");
84479
84479
  return managerRuntimePromise;
84480
84480
  }
84481
84481
  async function getMemorySearchManager(params) {
@@ -84489,7 +84489,7 @@ async function getMemorySearchManager(params) {
84489
84489
  if (cached) return { manager: cached };
84490
84490
  }
84491
84491
  try {
84492
- const { QmdMemoryManager } = await import("./qmd-manager-NQOYZ3Ld.js");
84492
+ const { QmdMemoryManager } = await import("./qmd-manager-OQfYi977.js");
84493
84493
  const primary = await QmdMemoryManager.create({
84494
84494
  cfg: params.cfg,
84495
84495
  agentId: params.agentId,
@@ -86841,7 +86841,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
86841
86841
  const MAX_LOOP_WARNING_KEYS = 256;
86842
86842
  let beforeToolCallRuntimePromise = null;
86843
86843
  function loadBeforeToolCallRuntime() {
86844
- beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-D_-a-ap7.js");
86844
+ beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-CPPt0F7Z.js");
86845
86845
  return beforeToolCallRuntimePromise;
86846
86846
  }
86847
86847
  function buildAdjustedParamsKey(params) {
@@ -1,27 +1,27 @@
1
- import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-BuhIdzLh.js";
1
+ import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-Nt31vJUG.js";
2
2
  import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-C6TxBCvO.js";
3
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D7UWJNhH.js";
3
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
4
4
  import { c as normalizeAgentId, g as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-DgdmD4k7.js";
5
- import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-BYUbDw97.js";
6
- import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-TO6lxFaG.js";
7
- import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-B5T1HKZP.js";
8
- import { c as parseBooleanValue } from "./legacy-names-iGQfUMAW.js";
5
+ import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-D2oM4XHm.js";
6
+ import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-Thv5xKBi.js";
7
+ import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-CecWmBpu.js";
8
+ import { c as parseBooleanValue } from "./legacy-names-BAiRv0I2.js";
9
9
  import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
10
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-BTyVdUNj.js";
11
- import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-C7B5a5Kw.js";
10
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-CPVJ1bGB.js";
11
+ import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-DBkX-V6R.js";
12
12
  import { t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
13
- import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C39uL98D.js";
14
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-B01dR7lb.js";
15
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-3xdwtD86.js";
16
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BCCgaXwI.js";
17
- import { n as extractErrorCode, r as formatErrorMessage } from "./errors-DqgvfHhI.js";
18
- import { n as SsrFBlockedError } from "./proxy-env-CrHlhd9C.js";
19
- import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-C2cz5_ir.js";
13
+ import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-ChaTXg5i.js";
14
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-CXIrNn6H.js";
15
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-OI1KPfGe.js";
16
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BfOFxARa.js";
17
+ import { n as extractErrorCode, r as formatErrorMessage } from "./errors-C1YF712P.js";
18
+ import { n as SsrFBlockedError } from "./proxy-env-Dh9Q_Pbx.js";
19
+ import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-B1AWPmNF.js";
20
20
  import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
21
21
  import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D2dc4Wmw.js";
22
22
  import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CZ0nrg7g.js";
23
23
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
24
- import { t as sanitizeContentBlocksImages } from "./tool-images-DglcBYRa.js";
24
+ import { t as sanitizeContentBlocksImages } from "./tool-images-PZo0DcO2.js";
25
25
  import fs from "node:fs/promises";
26
26
  import os from "node:os";
27
27
  import path, { posix } from "node:path";
@@ -1280,7 +1280,7 @@ function isModuleNotFoundError(err) {
1280
1280
  }
1281
1281
  async function loadPwAiModule(mode) {
1282
1282
  try {
1283
- return await import("./pw-ai-UAXl1Fr-.js");
1283
+ return await import("./pw-ai-CuA0BkwK.js");
1284
1284
  } catch (err) {
1285
1285
  if (mode === "soft") return null;
1286
1286
  if (isModuleNotFoundError(err)) return null;
@@ -3646,7 +3646,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3646
3646
  //#region src/browser/server-context.reset.ts
3647
3647
  async function closePlaywrightBrowserConnection() {
3648
3648
  try {
3649
- await (await import("./pw-ai-UAXl1Fr-.js")).closePlaywrightBrowserConnection();
3649
+ await (await import("./pw-ai-CuA0BkwK.js")).closePlaywrightBrowserConnection();
3650
3650
  } catch {}
3651
3651
  }
3652
3652
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-B5T1HKZP.js";
2
+ import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-CecWmBpu.js";
3
3
  import path from "node:path";
4
4
  import syncFs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
@@ -0,0 +1,12 @@
1
+ import "./run-with-concurrency-Nt31vJUG.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-Thv5xKBi.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-CecWmBpu.js";
8
+ import "./github-copilot-token-DDa7O18e.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CTFYQaxY.js";
11
+
12
+ export { discoverAuthStorage, discoverModels };
@@ -1,13 +1,13 @@
1
- import "./run-with-concurrency-BuhIdzLh.js";
1
+ import "./run-with-concurrency-Nt31vJUG.js";
2
2
  import "./paths-C6TxBCvO.js";
3
- import { t as createSubsystemLogger } from "./subsystem-D7UWJNhH.js";
4
- import { C as isPlainObject } from "./utils-BYUbDw97.js";
5
- import "./workspace-TO6lxFaG.js";
6
- import "./logger-DeYjzyXs.js";
7
- import "./model-selection-B5T1HKZP.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
4
+ import { C as isPlainObject } from "./utils-D2oM4XHm.js";
5
+ import "./workspace-Thv5xKBi.js";
6
+ import "./logger-C53B395N.js";
7
+ import "./model-selection-CecWmBpu.js";
8
8
  import "./github-copilot-token-DDa7O18e.js";
9
- import "./legacy-names-iGQfUMAW.js";
10
- import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-7IyfJnrm.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-kVA702dh.js";
11
11
  import { createHash } from "node:crypto";
12
12
 
13
13
  //#region src/agents/tool-loop-detection.ts
@@ -1,9 +1,9 @@
1
- import { l as resolveDefaultAgentId } from "./run-with-concurrency-BuhIdzLh.js";
2
- import { t as createSubsystemLogger } from "./subsystem-D7UWJNhH.js";
1
+ import { l as resolveDefaultAgentId } from "./run-with-concurrency-Nt31vJUG.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
3
3
  import { c as normalizeAgentId, g as normalizeOptionalAccountId, h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DgdmD4k7.js";
4
- import { d as normalizeE164 } from "./utils-BYUbDw97.js";
5
- import { Kt as normalizeChatChannelId, Vt as CHAT_CHANNEL_ORDER, Wt as normalizeAnyChannelId, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yt as getActivePluginRegistryVersion, hr as normalizeResolvedSecretInputString } from "./model-selection-B5T1HKZP.js";
6
- import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-B2_P2IHX.js";
4
+ import { d as normalizeE164 } from "./utils-D2oM4XHm.js";
5
+ import { Kt as normalizeChatChannelId, Vt as CHAT_CHANNEL_ORDER, Wt as normalizeAnyChannelId, Xn as isTruthyEnvValue, Xt as requireActivePluginRegistry, Yt as getActivePluginRegistryVersion, hr as normalizeResolvedSecretInputString } from "./model-selection-CecWmBpu.js";
6
+ import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-BLfGSTTQ.js";
7
7
  import syncFs from "node:fs";
8
8
  import util from "node:util";
9
9
 
@@ -1,4 +1,4 @@
1
- import { Tt as parseLooseIpAddress, _t as isBlockedSpecialUseIpv6Address, bt as isLegacyIpv4Literal, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, vt as isCanonicalDottedDecimalIPv4, wt as parseCanonicalIpAddress, yt as isIpv4Address } from "./model-selection-B5T1HKZP.js";
1
+ import { Tt as parseLooseIpAddress, _t as isBlockedSpecialUseIpv6Address, bt as isLegacyIpv4Literal, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, vt as isCanonicalDottedDecimalIPv4, wt as parseCanonicalIpAddress, yt as isIpv4Address } from "./model-selection-CecWmBpu.js";
2
2
  import { lookup } from "node:dns";
3
3
  import { lookup as lookup$1 } from "node:dns/promises";
4
4
  import { Agent } from "undici";
@@ -1,4 +1,4 @@
1
- import { i as logWarn } from "./logger-DeYjzyXs.js";
1
+ import { i as logWarn } from "./logger-C53B395N.js";
2
2
  import { EnvHttpProxyAgent, ProxyAgent, fetch } from "undici";
3
3
 
4
4
  //#region src/infra/net/proxy-fetch.ts
@@ -1,18 +1,18 @@
1
- import "./run-with-concurrency-BuhIdzLh.js";
1
+ import "./run-with-concurrency-Nt31vJUG.js";
2
2
  import "./paths-C6TxBCvO.js";
3
- import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-D7UWJNhH.js";
4
- import "./utils-BYUbDw97.js";
5
- import "./workspace-TO6lxFaG.js";
6
- import "./logger-DeYjzyXs.js";
7
- import { cr as formatCliCommand } from "./model-selection-B5T1HKZP.js";
3
+ import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
4
+ import "./utils-D2oM4XHm.js";
5
+ import "./workspace-Thv5xKBi.js";
6
+ import "./logger-C53B395N.js";
7
+ import { cr as formatCliCommand } from "./model-selection-CecWmBpu.js";
8
8
  import "./github-copilot-token-DDa7O18e.js";
9
- import "./legacy-names-iGQfUMAW.js";
10
- import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-B01dR7lb.js";
11
- import "./path-alias-guards-BCCgaXwI.js";
12
- import "./redact-DLKBjGbP.js";
13
- import { r as formatErrorMessage } from "./errors-DqgvfHhI.js";
14
- import { s as writeFileFromPathWithinRoot } from "./fs-safe-NSocNqxE.js";
15
- import "./proxy-env-CrHlhd9C.js";
9
+ import "./legacy-names-BAiRv0I2.js";
10
+ import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CXIrNn6H.js";
11
+ import "./path-alias-guards-BfOFxARa.js";
12
+ import "./redact-BXURioma.js";
13
+ import { r as formatErrorMessage } from "./errors-C1YF712P.js";
14
+ import { s as writeFileFromPathWithinRoot } from "./fs-safe-CgO4FuI9.js";
15
+ import "./proxy-env-Dh9Q_Pbx.js";
16
16
  import fs from "node:fs/promises";
17
17
  import path from "node:path";
18
18
  import crypto from "node:crypto";