@multiplytech/openclaw 2026.2.15-pairing-code.5 → 2026.2.16-pairing-code.7

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 (154) hide show
  1. package/dist/{agent-Zea8l0V4.js → agent-BicIMFya.js} +2 -2
  2. package/dist/{agent-CHHEtTV9.js → agent-BnGmvkyY.js} +2 -2
  3. package/dist/{agents-C3RVyjuy.js → agents-DoOqZHAv.js} +2 -2
  4. package/dist/{audio-preflight-BHSwqB70.js → audio-preflight-18tRQHAJ.js} +4 -4
  5. package/dist/{audio-preflight-kYQdd_bY.js → audio-preflight-CeC5WuRi.js} +4 -4
  6. package/dist/{auth-choice-BL4n2N2D.js → auth-choice-D2sIkiFk.js} +1 -1
  7. package/dist/{auth-choice-Uz72AGbr.js → auth-choice-ylL-9GEL.js} +1 -1
  8. package/dist/{banner-SSVP1FWh.js → banner-D9HvFI2z.js} +1 -1
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +7 -7
  11. package/dist/bundled/session-memory/handler.js +6 -6
  12. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  13. package/dist/{channel-options-CW6tO8o9.js → channel-options-BCa1wZ4m.js} +1 -1
  14. package/dist/{channel-options-BZj8yDQM.js → channel-options-yeLHl6UC.js} +1 -1
  15. package/dist/{channel-web-URuEiSie.js → channel-web-BPrHXeOV.js} +2 -2
  16. package/dist/{channels-cli-BxhcVdVg.js → channels-cli-B8nnRMj8.js} +4 -4
  17. package/dist/{channels-cli-DNfdNX1p.js → channels-cli-BAZ2Yauv.js} +4 -4
  18. package/dist/{chrome-B2PpxswT.js → chrome-BR14_3nU.js} +7 -7
  19. package/dist/{chrome-DlM4kwMc.js → chrome-DBVAzVv0.js} +7 -7
  20. package/dist/{cli-BbNg2Udd.js → cli-D9mLMxRQ.js} +1 -1
  21. package/dist/{cli-BXBLYStc.js → cli-ZytI2DPU.js} +1 -1
  22. package/dist/{command-registry-BliDXGVX.js → command-registry-DZ6A7EvX.js} +9 -9
  23. package/dist/{completion-cli-Cu-1Snpp.js → completion-cli-BEl72Pb7.js} +2 -2
  24. package/dist/{completion-cli-BCKnCxmp.js → completion-cli-pVyXrfWL.js} +1 -1
  25. package/dist/{config-cli-CVnBnw5y.js → config-cli-CCNRsvPE.js} +1 -1
  26. package/dist/{config-cli-D5ZKAfqw.js → config-cli-DDCl_cnm.js} +1 -1
  27. package/dist/{configure-DgvISeIJ.js → configure-C6A2_LEz.js} +3 -3
  28. package/dist/{configure-Dg3rt98q.js → configure-DGcxzjLU.js} +3 -3
  29. package/dist/{deliver-CV4a0MBa.js → deliver-BDm1hy0O.js} +1 -1
  30. package/dist/{deliver-C7HjLIB7.js → deliver-DOrBYvPC.js} +1 -1
  31. package/dist/{deps-6dSUgps7.js → deps-msdT99gz.js} +1 -1
  32. package/dist/{doctor-BUO6pA-b.js → doctor-CMvSnOEZ.js} +4 -4
  33. package/dist/{doctor-CFwtoIem.js → doctor-D-TahnT7.js} +4 -4
  34. package/dist/{doctor-completion-Bnz5cgZw.js → doctor-completion-Ba4vSsGN.js} +1 -1
  35. package/dist/{doctor-completion-DNqw5VHX.js → doctor-completion-DtusY-sy.js} +1 -1
  36. package/dist/entry.js +1 -1
  37. package/dist/extensionAPI.js +6 -6
  38. package/dist/{gateway-cli-n2Z2-dmf.js → gateway-cli-BGBWa-ak.js} +9 -9
  39. package/dist/{gateway-cli-BDf6AIk0.js → gateway-cli-b7EznJjE.js} +9 -9
  40. package/dist/{health-BLNgO5Lg.js → health-YiTurunG.js} +2 -2
  41. package/dist/{health-5OQ86AsB.js → health-b_mLWi9d.js} +2 -2
  42. package/dist/{heartbeat-visibility-pSnRANG0.js → heartbeat-visibility-Busg2Sbf.js} +1 -1
  43. package/dist/{heartbeat-visibility-kOc5LBl6.js → heartbeat-visibility-Cct77e-9.js} +1 -1
  44. package/dist/{hooks-cli-8vqegwLk.js → hooks-cli-CPafsznq.js} +2 -2
  45. package/dist/{hooks-cli-BQvnwV0N.js → hooks-cli-Ctwq5D7P.js} +2 -2
  46. package/dist/{image-CRFk69Io.js → image-CIO7-OG5.js} +1 -1
  47. package/dist/{image-DVTZYmDL.js → image-Dv7bJ1hC.js} +1 -1
  48. package/dist/index.js +9 -9
  49. package/dist/llm-slug-generator.js +6 -6
  50. package/dist/{login-BQj4vJAc.js → login--gUoMFh4.js} +1 -1
  51. package/dist/{login-Bub9YVmf.js → login-CRrr9EPA.js} +1 -1
  52. package/dist/{login-DfLZ1ase.js → login-D0hYZUa2.js} +1 -1
  53. package/dist/{login-CKe4hvQG.js → login-HSYxO7TB.js} +1 -1
  54. package/dist/{login-qr-C9eD5pGf.js → login-qr-BFYB5FWQ.js} +1 -1
  55. package/dist/{login-qr-MG7FhnKs.js → login-qr-aL-IW_xt.js} +1 -1
  56. package/dist/{login-qr-Cq7e7xsV.js → login-qr-huaRzzeI.js} +1 -1
  57. package/dist/{login-qr-5lWL8Guw.js → login-qr-mcAwUA5b.js} +1 -1
  58. package/dist/{models-D9P-iylf.js → models-BVIvm2QH.js} +2 -2
  59. package/dist/{models-cli-BhTQK54t.js → models-cli-CjdC5qbe.js} +3 -3
  60. package/dist/{models-cli-DCKEfmuF.js → models-cli-DnsSyljM.js} +2 -2
  61. package/dist/{onboard-DGIC3v2L.js → onboard-DOgwUCye.js} +2 -2
  62. package/dist/{onboard-ovaqc36s.js → onboard-DXSRyayG.js} +2 -2
  63. package/dist/{onboard-channels-BxI6pALE.js → onboard-channels-CgtE4eC-.js} +1 -1
  64. package/dist/{onboard-channels-yzWQkeRm.js → onboard-channels-CtXKuqUQ.js} +1 -1
  65. package/dist/{onboarding-ClCcjvNg.js → onboarding-B25eczL5.js} +3 -3
  66. package/dist/{onboarding-C6_GQJ3F.js → onboarding-Cg_0HfFN.js} +3 -3
  67. package/dist/{onboarding.finalize-CXti-VnH.js → onboarding.finalize-BHa4InE5.js} +5 -5
  68. package/dist/{onboarding.finalize-BhPaoWku.js → onboarding.finalize-CAtVy697.js} +6 -6
  69. package/dist/{outbound-send-deps-CrIPn6Gv.js → outbound-send-deps-rfzkj-sY.js} +1 -1
  70. package/dist/{pi-embedded-helpers-DHT11gwA.js → pi-embedded-helpers-CpicJuB_.js} +4 -4
  71. package/dist/{pi-embedded-helpers-Dow6Qreh.js → pi-embedded-helpers-D3YxFr03.js} +4 -4
  72. package/dist/{pi-embedded-BhSNemDy.js → pi-embedded-pWSNfIBi.js} +18 -18
  73. package/dist/{pi-embedded-B16QA3OJ.js → pi-embedded-xURyrsQ8.js} +18 -18
  74. package/dist/{plugin-registry-BMw_9a49.js → plugin-registry-CLrRk8wt.js} +1 -1
  75. package/dist/{plugin-registry-7l0uWKmB.js → plugin-registry-D4ln1snF.js} +1 -1
  76. package/dist/plugin-sdk/{active-listener-CFLZdKRQ.js → active-listener-CkyAenz6.js} +2 -2
  77. package/dist/plugin-sdk/{agent-scope-ip6rBrUD.js → agent-scope-DWZdK6Cr.js} +1 -1
  78. package/dist/plugin-sdk/{audio-preflight-C0NlyreL.js → audio-preflight-BzSvof9i.js} +12 -12
  79. package/dist/plugin-sdk/{channel-web-B715iUQW.js → channel-web-4MD7l4wZ.js} +11 -11
  80. package/dist/plugin-sdk/{chrome-OZ5Ge8PR.js → chrome-BLYh1Ek9.js} +1 -1
  81. package/dist/plugin-sdk/{common-pKa0kElY.js → common-STTVkT-Z.js} +2 -2
  82. package/dist/plugin-sdk/{config-DelXkt58.js → config-iUJxJaTT.js} +8 -8
  83. package/dist/plugin-sdk/{deliver-ebYNQy_5.js → deliver-Bkdn7hYJ.js} +6 -6
  84. package/dist/plugin-sdk/{exec-C5lqk9X4.js → exec-9HIVkGqi.js} +2 -2
  85. package/dist/plugin-sdk/{fetch-Cw_7QfME.js → fetch-DjHoyhHv.js} +2 -2
  86. package/dist/plugin-sdk/{image-2KL1DOmN.js → image-DolmBtru.js} +4 -4
  87. package/dist/plugin-sdk/{image-ops-zm4O3fkk.js → image-ops-DvO68zWD.js} +4 -4
  88. package/dist/plugin-sdk/index.js +23 -23
  89. package/dist/plugin-sdk/{ir-BEwiHV7R.js → ir-D6TOa8wy.js} +4 -4
  90. package/dist/plugin-sdk/{login-BPMBJ2ja.js → login-BVc8pU-l.js} +3 -3
  91. package/dist/plugin-sdk/{login-qr-gTXEo28v.js → login-qr-CLXyhjf_.js} +5 -5
  92. package/dist/plugin-sdk/{manager-Cqyl7HDP.js → manager-DSG4npLd.js} +5 -5
  93. package/dist/plugin-sdk/{model-selection-DHMRsTNB.js → model-selection-BfTuBvS4.js} +2 -2
  94. package/dist/plugin-sdk/{outbound-DT2nH6dY.js → outbound-BuWEi6UJ.js} +4 -4
  95. package/dist/plugin-sdk/{paths-wRVSwmkX.js → paths-6C0IeDIg.js} +1 -1
  96. package/dist/plugin-sdk/{pi-auth-json-XTF0mVQ6.js → pi-auth-json-CdSpUvvH.js} +3 -3
  97. package/dist/plugin-sdk/{pi-embedded-helpers-C3_rwWkJ.js → pi-embedded-helpers-rNIrRqeN.js} +13 -13
  98. package/dist/plugin-sdk/{pw-ai-BYr2wRwE.js → pw-ai-DHGDCfpy.js} +2 -2
  99. package/dist/plugin-sdk/{qmd-manager-CY7j7J3V.js → qmd-manager-D0FXZkrS.js} +4 -4
  100. package/dist/plugin-sdk/{reply-BCjRFrxS.js → reply-4U8Y4BEv.js} +35 -35
  101. package/dist/plugin-sdk/{runner-DxPwS4ed.js → runner-CaaUwzMJ.js} +7 -7
  102. package/dist/plugin-sdk/{session-CMKy7hKx.js → session-jiEJX-5Y.js} +13 -4
  103. package/dist/plugin-sdk/{sqlite-CKrK6KKr.js → sqlite-QNHsO4bW.js} +2 -2
  104. package/dist/plugin-sdk/{tool-images-C4GaQjrF.js → tool-images-BuctNDly.js} +2 -2
  105. package/dist/plugin-sdk/web-Bvsi2Yqx.js +30 -0
  106. package/dist/plugin-sdk/{whatsapp-actions-C5T64qvX.js → whatsapp-actions-3adtwpVJ.js} +11 -11
  107. package/dist/{plugins-cli-CNB8Yt37.js → plugins-cli-BYeZEnwl.js} +2 -2
  108. package/dist/{plugins-cli-BsfnFYsL.js → plugins-cli-DaYFcc1W.js} +2 -2
  109. package/dist/{program-CAd9g5sW.js → program-2itYvTk-.js} +7 -7
  110. package/dist/{program-context-_ii-SbA0.js → program-context-Ciy95Acu.js} +17 -17
  111. package/dist/{provider-auth-helpers-D_lWKYII.js → provider-auth-helpers-Dj1AB84U.js} +1 -1
  112. package/dist/{provider-auth-helpers-CCnbp35r.js → provider-auth-helpers-Ds9Fph8L.js} +1 -1
  113. package/dist/{pw-ai-Bbd79y0r.js → pw-ai-QsOEPS_1.js} +1 -1
  114. package/dist/{pw-ai-xh9cPTDX.js → pw-ai-lO0pe-hZ.js} +1 -1
  115. package/dist/{register.agent-dQKDHNyK.js → register.agent-BK76F9xA.js} +6 -6
  116. package/dist/{register.agent-BSdFQsCq.js → register.agent-Cnq6N18m.js} +7 -7
  117. package/dist/{register.configure-Bk2X8wFI.js → register.configure-CpMAPJLj.js} +6 -6
  118. package/dist/{register.configure-BN9zCFxE.js → register.configure-D_s2MvIu.js} +6 -6
  119. package/dist/{register.maintenance-d-1O5gtF.js → register.maintenance-BtUqZMsC.js} +7 -7
  120. package/dist/{register.maintenance-COHaTp3w.js → register.maintenance-D7SJxiMb.js} +8 -8
  121. package/dist/{register.message-CfNc9leD.js → register.message-Cm85SmMd.js} +3 -3
  122. package/dist/{register.message-DUrPTA8L.js → register.message-Di7W5Fr3.js} +3 -3
  123. package/dist/{register.onboard-aCV1lrPF.js → register.onboard-BQ3Pewle.js} +4 -4
  124. package/dist/{register.onboard-DtyoTIKL.js → register.onboard-D_mK44FN.js} +4 -4
  125. package/dist/{register.setup-Bb73DdhE.js → register.setup-BECChA0L.js} +4 -4
  126. package/dist/{register.setup-BgyHWmCs.js → register.setup-CtToVzPM.js} +4 -4
  127. package/dist/{register.status-health-sessions-OOi_L5uN.js → register.status-health-sessions-2HV2z4Li.js} +3 -3
  128. package/dist/{register.status-health-sessions-DLABBIKC.js → register.status-health-sessions-4atAOXQ0.js} +3 -3
  129. package/dist/{register.subclis-CDZvm5LU.js → register.subclis-BdKnlox-.js} +9 -9
  130. package/dist/{reply-D9JN_rwA.js → reply-BDmopaJJ.js} +4 -4
  131. package/dist/{run-main-BnvBDAQk.js → run-main-C6x11p1m.js} +14 -14
  132. package/dist/{runner-nMdrG8eK.js → runner-D2IJZlUb.js} +1 -1
  133. package/dist/{runner-oDUAvejt.js → runner-DED-FFOX.js} +1 -1
  134. package/dist/{server-node-events-5_nsFo-O.js → server-node-events-DOc1kwWq.js} +3 -3
  135. package/dist/{server-node-events-BHXuG6Pd.js → server-node-events-Kd1CFb1C.js} +3 -3
  136. package/dist/{session-C__ZeV6y.js → session-BTWpku8x.js} +11 -2
  137. package/dist/{session-zCwG7NHS.js → session-BdTxEygK.js} +11 -2
  138. package/dist/{session-sO1d78EF.js → session-Cd3YXDs1.js} +11 -2
  139. package/dist/{session-CP0yShzI.js → session-Czep-Q05.js} +11 -2
  140. package/dist/{status-Cuj1dGBb.js → status-C-Q-vpRG.js} +2 -2
  141. package/dist/{status-TVzePU0v.js → status-C2RPsVtW.js} +1 -1
  142. package/dist/{status-Dnim-lZW.js → status-acovikqR.js} +1 -1
  143. package/dist/{status-CQB4pZ8j.js → status-cl1ahkCy.js} +2 -2
  144. package/dist/{subagent-registry-2rHQ_z7c.js → subagent-registry-BDMD0wwa.js} +4 -4
  145. package/dist/{update-cli-C5qlFKHT.js → update-cli-CTp691jl.js} +8 -8
  146. package/dist/{update-cli-DKb91txa.js → update-cli-DSo0At8E.js} +7 -7
  147. package/dist/{update-runner-D6ZdwFLX.js → update-runner-DZMqq04v.js} +1 -1
  148. package/dist/{update-runner-BOA-zXJF.js → update-runner-DqZktjM1.js} +1 -1
  149. package/dist/{web-BCAfeY97.js → web-BaNy6CZ8.js} +8 -8
  150. package/dist/{web-B-3vMKvG.js → web-Bv-TtF0b.js} +8 -8
  151. package/dist/{web-CmgBQX8I.js → web-C78q_wDH.js} +4 -4
  152. package/dist/{web-CRrtqTfC.js → web-DC12keRE.js} +3 -3
  153. package/package.json +1 -1
  154. package/dist/plugin-sdk/web-Dez1c43V.js +0 -30
@@ -1,5 +1,5 @@
1
1
  import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
2
- import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-ip6rBrUD.js";
2
+ import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-DWZdK6Cr.js";
3
3
  import path from "node:path";
4
4
  import os from "node:os";
5
5
 
@@ -1,7 +1,7 @@
1
- import "./exec-C5lqk9X4.js";
1
+ import "./exec-9HIVkGqi.js";
2
2
  import "./paths-ZQWYGl2V.js";
3
- import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-DHMRsTNB.js";
4
- import "./agent-scope-ip6rBrUD.js";
3
+ import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-BfTuBvS4.js";
4
+ import "./agent-scope-DWZdK6Cr.js";
5
5
  import "./github-copilot-token-BmLW2kW0.js";
6
6
  import path from "node:path";
7
7
  import fs from "node:fs/promises";
@@ -1,19 +1,19 @@
1
- import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-C5lqk9X4.js";
1
+ import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-9HIVkGqi.js";
2
2
  import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-ZQWYGl2V.js";
3
- import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-DHMRsTNB.js";
4
- import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DelXkt58.js";
5
- import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-ip6rBrUD.js";
3
+ import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-BfTuBvS4.js";
4
+ import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-iUJxJaTT.js";
5
+ import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-DWZdK6Cr.js";
6
6
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CB-Jxwa7.js";
7
- import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-zm4O3fkk.js";
7
+ import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-DvO68zWD.js";
8
8
  import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
9
- import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-wRVSwmkX.js";
9
+ import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-6C0IeDIg.js";
10
10
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
11
- import { t as sanitizeContentBlocksImages } from "./tool-images-C4GaQjrF.js";
12
- import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-OZ5Ge8PR.js";
11
+ import { t as sanitizeContentBlocksImages } from "./tool-images-BuctNDly.js";
12
+ import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-BLYh1Ek9.js";
13
13
  import path from "node:path";
14
14
  import fs, { createWriteStream, existsSync } from "node:fs";
15
15
  import os from "node:os";
16
- import JSON5 from "json5";
16
+ import json5 from "json5";
17
17
  import fs$1 from "node:fs/promises";
18
18
  import { spawn } from "node:child_process";
19
19
  import { fileURLToPath } from "node:url";
@@ -3292,7 +3292,7 @@ function resolveOpenClawManifestBlock(params) {
3292
3292
  const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
3293
3293
  if (!raw) return;
3294
3294
  try {
3295
- const parsed = JSON5.parse(raw);
3295
+ const parsed = json5.parse(raw);
3296
3296
  if (!parsed || typeof parsed !== "object") return;
3297
3297
  const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
3298
3298
  for (const key of manifestKeys) {
@@ -4026,7 +4026,7 @@ function isModuleNotFoundError(err) {
4026
4026
  }
4027
4027
  async function loadPwAiModule(mode) {
4028
4028
  try {
4029
- return await import("./pw-ai-BYr2wRwE.js");
4029
+ return await import("./pw-ai-DHGDCfpy.js");
4030
4030
  } catch (err) {
4031
4031
  if (mode === "soft") return null;
4032
4032
  if (isModuleNotFoundError(err)) return null;
@@ -6396,11 +6396,11 @@ function createProfileContext(opts, profile) {
6396
6396
  const userDataDir = resolveOpenClawUserDataDir(profile.name);
6397
6397
  const profileState = getProfileState();
6398
6398
  if (await isHttpReachable(300) && !profileState.running) try {
6399
- await (await import("./pw-ai-BYr2wRwE.js")).closePlaywrightBrowserConnection();
6399
+ await (await import("./pw-ai-DHGDCfpy.js")).closePlaywrightBrowserConnection();
6400
6400
  } catch {}
6401
6401
  if (profileState.running) await stopRunningBrowser();
6402
6402
  try {
6403
- await (await import("./pw-ai-BYr2wRwE.js")).closePlaywrightBrowserConnection();
6403
+ await (await import("./pw-ai-DHGDCfpy.js")).closePlaywrightBrowserConnection();
6404
6404
  } catch {}
6405
6405
  if (!fs.existsSync(userDataDir)) return {
6406
6406
  moved: false,
@@ -1,8 +1,8 @@
1
- import { mt as resolvePreferredOpenClawTmpDir } from "./exec-C5lqk9X4.js";
1
+ import { mt as resolvePreferredOpenClawTmpDir } from "./exec-9HIVkGqi.js";
2
2
  import "./paths-ZQWYGl2V.js";
3
3
  import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
4
4
  import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
5
- import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-OZ5Ge8PR.js";
5
+ import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-BLYh1Ek9.js";
6
6
  import path from "node:path";
7
7
  import fs from "node:fs/promises";
8
8
  import crypto from "node:crypto";
@@ -1,9 +1,9 @@
1
- import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
1
+ import { l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
2
2
  import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
3
- import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-ip6rBrUD.js";
4
- import "./paths-wRVSwmkX.js";
3
+ import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-DWZdK6Cr.js";
4
+ import "./paths-6C0IeDIg.js";
5
5
  import "./redact-CZWjP0qB.js";
6
- import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-CKrK6KKr.js";
6
+ import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-QNHsO4bW.js";
7
7
  import path from "node:path";
8
8
  import os from "node:os";
9
9
  import fs from "node:fs/promises";
@@ -1,31 +1,31 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { $ as truncateUtf16Safe, A as matchPluginCommand, C as requireActivePluginRegistry, D as executePluginCommand, E as clearPluginCommands, F as ensureDir$3, H as normalizeE164, I as escapeRegExp, J as shortenHomeInString, K as resolveUserPath, L as formatTerminalLink, N as clampInt, O as getPluginCommandSpecs, R as isPlainObject, S as getActivePluginRegistry, T as createPluginRegistry, X as sleep, Y as shortenHomePath, Z as sliceUtf16Safe, _ as CHAT_CHANNEL_ORDER, _t as normalizePluginHttpPath, a as logDebug, b as normalizeChannelId, c as logWarn, ct as isRich, d as createNonExitingRuntime, et as danger, f as defaultRuntime, gt as triggerInternalHook, h as unregisterActiveProgressLine, ht as createInternalHookEvent, i as spawnWithFallback, it as shouldLogVerbose, j as CONFIG_DIR, k as listPluginCommands, l as createSubsystemLogger, lt as theme, m as registerActiveProgressLine, mt as resolvePreferredOpenClawTmpDir, n as runExec, nt as logVerbose, o as logError, ot as warn, p as clearActiveProgressLine, pt as normalizeLogLevel, q as safeParseJson, r as formatSpawnError, rt as setVerbose, s as logInfo, st as colorize, t as runCommandWithTimeout, ut as getChildLogger, w as setActivePluginRegistry, y as normalizeAnyChannelId, z as isRecord$1 } from "./exec-C5lqk9X4.js";
2
+ import { $ as truncateUtf16Safe, A as matchPluginCommand, C as requireActivePluginRegistry, D as executePluginCommand, E as clearPluginCommands, F as ensureDir$3, H as normalizeE164, I as escapeRegExp, J as shortenHomeInString, K as resolveUserPath, L as formatTerminalLink, N as clampInt, O as getPluginCommandSpecs, R as isPlainObject, S as getActivePluginRegistry, T as createPluginRegistry, X as sleep, Y as shortenHomePath, Z as sliceUtf16Safe, _ as CHAT_CHANNEL_ORDER, _t as normalizePluginHttpPath, a as logDebug, b as normalizeChannelId, c as logWarn, ct as isRich, d as createNonExitingRuntime, et as danger, f as defaultRuntime, gt as triggerInternalHook, h as unregisterActiveProgressLine, ht as createInternalHookEvent, i as spawnWithFallback, it as shouldLogVerbose, j as CONFIG_DIR, k as listPluginCommands, l as createSubsystemLogger, lt as theme, m as registerActiveProgressLine, mt as resolvePreferredOpenClawTmpDir, n as runExec, nt as logVerbose, o as logError, ot as warn, p as clearActiveProgressLine, pt as normalizeLogLevel, q as safeParseJson, r as formatSpawnError, rt as setVerbose, s as logInfo, st as colorize, t as runCommandWithTimeout, ut as getChildLogger, w as setActivePluginRegistry, y as normalizeAnyChannelId, z as isRecord$1 } from "./exec-9HIVkGqi.js";
3
3
  import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
4
- import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveOpenClawAgentDir, J as parseBooleanValue$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, X as withFileLock$1, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, q as isTruthyEnvValue, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-DHMRsTNB.js";
5
- import { C as setConfigValueAtPath, E as VERSION, H as webAuthExists, M as getWebAuthAgeMs, N as logWebSelfId, P as logoutWeb, R as readWebSelfId, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as writeConfigFile, b as unsetConfigOverride, c as validateJsonSchemaValue, dt as parseDurationMs, ft as TELEGRAM_COMMAND_NAME_PATTERN, g as resolveMemorySlotDecision, h as resolveEnableState, i as resolveConfigSnapshotHash, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, mt as resolveTelegramCustomCommands, n as loadConfig, o as validateConfigObjectWithPlugins, p as applyTestPluginDefaults, pt as normalizeTelegramCommandName, r as readConfigFileSnapshot, u as discoverOpenClawPlugins, ut as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-DelXkt58.js";
6
- import { A as classifySessionKeyShape, B as isSubagentSessionKey, D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, F as resolveThreadSessionKeys, H as resolveThreadParentSessionKey, I as sanitizeAgentId, L as getSubagentDepth, M as normalizeAgentId, N as normalizeMainKey, O as buildAgentPeerSessionKey, P as resolveAgentIdFromSessionKey, R as isAcpSessionKey, S as resolveOpenClawPackageRoot, T as DEFAULT_AGENT_ID, V as parseAgentSessionKey, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, j as normalizeAccountId$3, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, w as DEFAULT_ACCOUNT_ID$1, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace, z as isCronSessionKey } from "./agent-scope-ip6rBrUD.js";
7
- import { A as HEARTBEAT_TOKEN, C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, M as isSilentReplyText, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, j as SILENT_REPLY_TOKEN, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-ebYNQy_5.js";
8
- import { $ as applySkillEnvOverridesFromSnapshot, $t as resolveSessionResetType, A as isTransientHttpError, At as getMediaDir, B as resolveProfile, Bt as updateSessionStoreEntry, C as isContextOverflowError, Ct as normalizeReasoningLevel, D as isRateLimitAssistantError, Dt as resolveResponseUsageMode, E as isLikelyContextOverflowError, Et as normalizeVerboseLevel, F as resolveSandboxContext, Ft as loadSessionStore, G as buildWorkspaceSkillSnapshot, Gt as mergeDeliveryContext, H as resolvePathsWithinRoot, Ht as resolveCacheTtlMs$1, I as resolveSandboxRuntimeStatus, It as readSessionUpdatedAt, J as resolvePluginSkillDirs, Jt as acquireSessionWriteLock, K as loadWorkspaceSkillEntries, Kt as normalizeDeliveryContext, L as createBrowserRouteContext, Lt as recordSessionMetaFromInbound, M as parseImageSizeError, Mn as resolveChannelGroupPolicy, Mt as extractDeliveryInfo, N as sanitizeUserFacingText, Nn as resolveChannelGroupRequireMention, Nt as appendAssistantMessageToSessionTranscript, O as isRawApiErrorPayload, On as resolveSignalAccount, Ot as supportsXHighThinking, P as ensureSandboxWorkspaceForSession, Pn as resolveChannelGroupToolsPolicy, Q as applySkillEnvOverrides, Qt as resolveSessionResetPolicy, R as registerBrowserRoutes, Rt as updateLastRoute, S as isCompactionFailureError, St as normalizeElevatedLevel, T as isFailoverErrorMessage, Tn as listEnabledSignalAccounts, Tt as normalizeUsageDisplay, U as getBridgeAuthForPort, Ut as deliveryContextFromSession, V as DEFAULT_UPLOAD_DIR, Vt as isCacheEnabled, W as buildWorkspaceSkillCommandSpecs, Wt as deliveryContextKey, X as assertSandboxPath, Xt as evaluateSessionFreshness, Y as assertMediaNotDataUrl, Yt as resolveSessionKey$1, Z as resolveSandboxedMediaSource, Zt as resolveChannelResetConfig, _ as formatRawAssistantErrorForUi, _t as resolveBootstrapTotalMaxChars, a as isMessagingToolDuplicateNormalized, an as deriveSessionMetaPatch, at as collectExplicitAllowlist, b as isBillingAssistantError, bt as formatXHighModelHint, c as extractToolCallsFromAssistant, cn as getChannelDock, ct as mergeAlsoAllowPolicy, d as isAntigravityClaude, dt as stripPluginOnlyAllowlist, en as resolveThreadFlag, et as ensureBrowserControlAuth, f as isGoogleModelApi, ft as compileGlobPatterns, g as formatBillingErrorMessage, gt as resolveBootstrapMaxChars, h as formatAssistantErrorText, ht as ensureSessionHeader, in as resolveMainSessionKey, it as buildPluginToolGroups, j as parseImageDimensionError, jn as resolveIMessageAccount, jt as saveMediaBuffer, k as isTimeoutErrorMessage, l as extractToolResultId, ln as listChannelDocks, lt as normalizeToolName, m as classifyFailoverReason, mt as buildBootstrapContextFiles, n as validateGeminiTurns, nn as resolveFreshSessionTotalTokens, nt as resolveSandboxConfigForAgent, o as normalizeTextForComparison, on as resolveConversationLabel, ot as expandPolicyWithPluginGroups, p as BILLING_ERROR_USER_MESSAGE, pt as matchesAnyGlobPattern, q as resolveSkillsPromptForRun, qt as normalizeSessionDeliveryFields, r as pickFallbackThinkingLevel, rn as canonicalizeMainSessionAlias, rt as applyOwnerOnlyToolPolicy, s as sanitizeSessionMessagesImages, sn as resolveGroupSessionKey, st as expandToolGroups, t as validateAnthropicTurns, tn as DEFAULT_RESET_TRIGGERS, tt as resolveBrowserControlAuth, u as downgradeOpenAIReasoningBlocks, ut as resolveToolProfilePolicy, v as getApiErrorPayloadFingerprint, vt as sanitizeGoogleTurnOrdering, w as isFailoverAssistantError, wt as normalizeThinkLevel, x as isCloudCodeAssistFormatError, xt as listThinkingLevels, y as isAuthAssistantError, yt as formatThinkingLevels, z as resolveBrowserConfig, zt as updateSessionStore } from "./pi-embedded-helpers-C3_rwWkJ.js";
4
+ import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveOpenClawAgentDir, J as parseBooleanValue$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, X as withFileLock$1, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, q as isTruthyEnvValue, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-BfTuBvS4.js";
5
+ import { C as setConfigValueAtPath, E as VERSION, H as webAuthExists, M as getWebAuthAgeMs, N as logWebSelfId, P as logoutWeb, R as readWebSelfId, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as writeConfigFile, b as unsetConfigOverride, c as validateJsonSchemaValue, dt as parseDurationMs, ft as TELEGRAM_COMMAND_NAME_PATTERN, g as resolveMemorySlotDecision, h as resolveEnableState, i as resolveConfigSnapshotHash, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, mt as resolveTelegramCustomCommands, n as loadConfig, o as validateConfigObjectWithPlugins, p as applyTestPluginDefaults, pt as normalizeTelegramCommandName, r as readConfigFileSnapshot, u as discoverOpenClawPlugins, ut as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-iUJxJaTT.js";
6
+ import { A as classifySessionKeyShape, B as isSubagentSessionKey, D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, F as resolveThreadSessionKeys, H as resolveThreadParentSessionKey, I as sanitizeAgentId, L as getSubagentDepth, M as normalizeAgentId, N as normalizeMainKey, O as buildAgentPeerSessionKey, P as resolveAgentIdFromSessionKey, R as isAcpSessionKey, S as resolveOpenClawPackageRoot, T as DEFAULT_AGENT_ID, V as parseAgentSessionKey, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, j as normalizeAccountId$3, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, w as DEFAULT_ACCOUNT_ID$1, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace, z as isCronSessionKey } from "./agent-scope-DWZdK6Cr.js";
7
+ import { A as HEARTBEAT_TOKEN, C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, M as isSilentReplyText, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, j as SILENT_REPLY_TOKEN, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-Bkdn7hYJ.js";
8
+ import { $ as applySkillEnvOverridesFromSnapshot, $t as resolveSessionResetType, A as isTransientHttpError, At as getMediaDir, B as resolveProfile, Bt as updateSessionStoreEntry, C as isContextOverflowError, Ct as normalizeReasoningLevel, D as isRateLimitAssistantError, Dt as resolveResponseUsageMode, E as isLikelyContextOverflowError, Et as normalizeVerboseLevel, F as resolveSandboxContext, Ft as loadSessionStore, G as buildWorkspaceSkillSnapshot, Gt as mergeDeliveryContext, H as resolvePathsWithinRoot, Ht as resolveCacheTtlMs$1, I as resolveSandboxRuntimeStatus, It as readSessionUpdatedAt, J as resolvePluginSkillDirs, Jt as acquireSessionWriteLock, K as loadWorkspaceSkillEntries, Kt as normalizeDeliveryContext, L as createBrowserRouteContext, Lt as recordSessionMetaFromInbound, M as parseImageSizeError, Mn as resolveChannelGroupPolicy, Mt as extractDeliveryInfo, N as sanitizeUserFacingText, Nn as resolveChannelGroupRequireMention, Nt as appendAssistantMessageToSessionTranscript, O as isRawApiErrorPayload, On as resolveSignalAccount, Ot as supportsXHighThinking, P as ensureSandboxWorkspaceForSession, Pn as resolveChannelGroupToolsPolicy, Q as applySkillEnvOverrides, Qt as resolveSessionResetPolicy, R as registerBrowserRoutes, Rt as updateLastRoute, S as isCompactionFailureError, St as normalizeElevatedLevel, T as isFailoverErrorMessage, Tn as listEnabledSignalAccounts, Tt as normalizeUsageDisplay, U as getBridgeAuthForPort, Ut as deliveryContextFromSession, V as DEFAULT_UPLOAD_DIR, Vt as isCacheEnabled, W as buildWorkspaceSkillCommandSpecs, Wt as deliveryContextKey, X as assertSandboxPath, Xt as evaluateSessionFreshness, Y as assertMediaNotDataUrl, Yt as resolveSessionKey$1, Z as resolveSandboxedMediaSource, Zt as resolveChannelResetConfig, _ as formatRawAssistantErrorForUi, _t as resolveBootstrapTotalMaxChars, a as isMessagingToolDuplicateNormalized, an as deriveSessionMetaPatch, at as collectExplicitAllowlist, b as isBillingAssistantError, bt as formatXHighModelHint, c as extractToolCallsFromAssistant, cn as getChannelDock, ct as mergeAlsoAllowPolicy, d as isAntigravityClaude, dt as stripPluginOnlyAllowlist, en as resolveThreadFlag, et as ensureBrowserControlAuth, f as isGoogleModelApi, ft as compileGlobPatterns, g as formatBillingErrorMessage, gt as resolveBootstrapMaxChars, h as formatAssistantErrorText, ht as ensureSessionHeader, in as resolveMainSessionKey, it as buildPluginToolGroups, j as parseImageDimensionError, jn as resolveIMessageAccount, jt as saveMediaBuffer, k as isTimeoutErrorMessage, l as extractToolResultId, ln as listChannelDocks, lt as normalizeToolName, m as classifyFailoverReason, mt as buildBootstrapContextFiles, n as validateGeminiTurns, nn as resolveFreshSessionTotalTokens, nt as resolveSandboxConfigForAgent, o as normalizeTextForComparison, on as resolveConversationLabel, ot as expandPolicyWithPluginGroups, p as BILLING_ERROR_USER_MESSAGE, pt as matchesAnyGlobPattern, q as resolveSkillsPromptForRun, qt as normalizeSessionDeliveryFields, r as pickFallbackThinkingLevel, rn as canonicalizeMainSessionAlias, rt as applyOwnerOnlyToolPolicy, s as sanitizeSessionMessagesImages, sn as resolveGroupSessionKey, st as expandToolGroups, t as validateAnthropicTurns, tn as DEFAULT_RESET_TRIGGERS, tt as resolveBrowserControlAuth, u as downgradeOpenAIReasoningBlocks, ut as resolveToolProfilePolicy, v as getApiErrorPayloadFingerprint, vt as sanitizeGoogleTurnOrdering, w as isFailoverAssistantError, wt as normalizeThinkLevel, x as isCloudCodeAssistFormatError, xt as listThinkingLevels, y as isAuthAssistantError, yt as formatThinkingLevels, z as resolveBrowserConfig, zt as updateSessionStore } from "./pi-embedded-helpers-rNIrRqeN.js";
9
9
  import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-CB-Jxwa7.js";
10
10
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BD-UJHcc.js";
11
- import { $ as listBindings, A as normalizeChannelId$1, C as resolveGatewayMessageChannel, D as GATEWAY_CLIENT_NAMES, E as GATEWAY_CLIENT_MODES, G as requireTargetKind, H as resolveSlackChannelId, J as listEnabledTelegramAccounts, K as isWhatsAppGroupJid, O as getChannelPlugin, Q as resolveTelegramToken, S as normalizeMessageChannel, T as GATEWAY_CLIENT_IDS, U as buildMessagingTarget, V as parseSlackTarget, W as ensureTargetId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _ as INTERNAL_MESSAGE_CHANNEL, _t as isPrivateIpAddress, a as resizeToJpeg, at as resolveSlackAppToken, b as isMarkdownCapableMessageChannel, c as getFileExtension, d as isGifMedia, dt as resolveDiscordAccount, ft as normalizeDiscordToken, g as mediaKindFromMime, gt as isBlockedHostname, h as maxBytesForKind, k as listChannelPlugins, l as imageMimeFromFormat, lt as listEnabledDiscordAccounts, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, ot as resolveSlackBotToken, p as normalizeMimeType$1, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, u as isAudioFileName, v as isDeliverableMessageChannel, w as resolveMessageChannel, x as listDeliverableMessageChannels, y as isInternalMessageChannel } from "./image-ops-zm4O3fkk.js";
12
- import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-Cw_7QfME.js";
11
+ import { $ as listBindings, A as normalizeChannelId$1, C as resolveGatewayMessageChannel, D as GATEWAY_CLIENT_NAMES, E as GATEWAY_CLIENT_MODES, G as requireTargetKind, H as resolveSlackChannelId, J as listEnabledTelegramAccounts, K as isWhatsAppGroupJid, O as getChannelPlugin, Q as resolveTelegramToken, S as normalizeMessageChannel, T as GATEWAY_CLIENT_IDS, U as buildMessagingTarget, V as parseSlackTarget, W as ensureTargetId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _ as INTERNAL_MESSAGE_CHANNEL, _t as isPrivateIpAddress, a as resizeToJpeg, at as resolveSlackAppToken, b as isMarkdownCapableMessageChannel, c as getFileExtension, d as isGifMedia, dt as resolveDiscordAccount, ft as normalizeDiscordToken, g as mediaKindFromMime, gt as isBlockedHostname, h as maxBytesForKind, k as listChannelPlugins, l as imageMimeFromFormat, lt as listEnabledDiscordAccounts, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, ot as resolveSlackBotToken, p as normalizeMimeType$1, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, u as isAudioFileName, v as isDeliverableMessageChannel, w as resolveMessageChannel, x as listDeliverableMessageChannels, y as isInternalMessageChannel } from "./image-ops-DvO68zWD.js";
12
+ import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-DjHoyhHv.js";
13
13
  import { n as resolveCliName, t as formatCliCommand } from "./command-format-D8xZiqKN.js";
14
14
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BmLW2kW0.js";
15
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-wRVSwmkX.js";
15
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-6C0IeDIg.js";
16
16
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
17
- import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-C4GaQjrF.js";
18
- import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-pKa0kElY.js";
19
- import { a as renderMarkdownWithMarkers, i as convertMarkdownTables, o as normalizePollDurationHours, s as normalizePollInput, t as getActiveWebListener } from "./active-listener-CFLZdKRQ.js";
20
- import { _ as loadWebMedia, a as chunkByNewline, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, g as getDefaultLocalRoots, h as parseFenceSpans, i as resolveMarkdownTableMode, l as chunkText, m as isSafeFenceBreak, n as markdownToIR, p as findFenceSpanAt, s as chunkMarkdownText, t as chunkMarkdownIR, u as chunkTextWithMode, v as loadWebMediaRaw, y as getAgentScopedMediaLocalRoots } from "./ir-BEwiHV7R.js";
21
- import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-Cqyl7HDP.js";
17
+ import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-BuctNDly.js";
18
+ import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-STTVkT-Z.js";
19
+ import { a as renderMarkdownWithMarkers, i as convertMarkdownTables, o as normalizePollDurationHours, s as normalizePollInput, t as getActiveWebListener } from "./active-listener-CkyAenz6.js";
20
+ import { _ as loadWebMedia, a as chunkByNewline, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, g as getDefaultLocalRoots, h as parseFenceSpans, i as resolveMarkdownTableMode, l as chunkText, m as isSafeFenceBreak, n as markdownToIR, p as findFenceSpanAt, s as chunkMarkdownText, t as chunkMarkdownIR, u as chunkTextWithMode, v as loadWebMediaRaw, y as getAgentScopedMediaLocalRoots } from "./ir-D6TOa8wy.js";
21
+ import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-DSG4npLd.js";
22
22
  import { t as resolveFetch } from "./fetch-4S_PaC9f.js";
23
- import { A as rawDataToString, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-OZ5Ge8PR.js";
24
- import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-DxPwS4ed.js";
25
- import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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 resolveToolDisplay, x as minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-2KL1DOmN.js";
23
+ import { A as rawDataToString, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-BLYh1Ek9.js";
24
+ import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-CaaUwzMJ.js";
25
+ import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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 resolveToolDisplay, x as minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-DolmBtru.js";
26
26
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DX1x3UsN.js";
27
27
  import { t as redactSensitiveText } from "./redact-CZWjP0qB.js";
28
- import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-CKrK6KKr.js";
28
+ import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-QNHsO4bW.js";
29
29
  import { t as makeProxyFetch } from "./proxy-CLlXFbH0.js";
30
30
  import { createRequire } from "node:module";
31
31
  import * as path$1 from "node:path";
@@ -33,7 +33,7 @@ import path from "node:path";
33
33
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
34
34
  import * as os$1 from "node:os";
35
35
  import os, { homedir, tmpdir } from "node:os";
36
- import JSON5 from "json5";
36
+ import json5 from "json5";
37
37
  import * as fs$2 from "node:fs/promises";
38
38
  import fs$1 from "node:fs/promises";
39
39
  import { execFile, execSync, spawn, spawnSync } from "node:child_process";
@@ -8649,7 +8649,7 @@ async function createModelSelectionState(params) {
8649
8649
  }
8650
8650
  }
8651
8651
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
8652
- const { ensureAuthProfileStore } = await import("./model-selection-DHMRsTNB.js").then((n) => n.E);
8652
+ const { ensureAuthProfileStore } = await import("./model-selection-BfTuBvS4.js").then((n) => n.E);
8653
8653
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
8654
8654
  const providerKey = normalizeProviderId(provider);
8655
8655
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -12614,7 +12614,7 @@ async function getMemorySearchManager(params) {
12614
12614
  if (cached) return { manager: cached };
12615
12615
  }
12616
12616
  try {
12617
- const { QmdMemoryManager } = await import("./qmd-manager-CY7j7J3V.js");
12617
+ const { QmdMemoryManager } = await import("./qmd-manager-D0FXZkrS.js");
12618
12618
  const primary = await QmdMemoryManager.create({
12619
12619
  cfg: params.cfg,
12620
12620
  agentId: params.agentId,
@@ -12626,7 +12626,7 @@ async function getMemorySearchManager(params) {
12626
12626
  const wrapper = new FallbackMemoryManager({
12627
12627
  primary,
12628
12628
  fallbackFactory: async () => {
12629
- const { MemoryIndexManager } = await import("./manager-Cqyl7HDP.js").then((n) => n.t);
12629
+ const { MemoryIndexManager } = await import("./manager-DSG4npLd.js").then((n) => n.t);
12630
12630
  return await MemoryIndexManager.get(params);
12631
12631
  }
12632
12632
  }, () => QMD_MANAGER_CACHE.delete(cacheKey));
@@ -12639,7 +12639,7 @@ async function getMemorySearchManager(params) {
12639
12639
  }
12640
12640
  }
12641
12641
  try {
12642
- const { MemoryIndexManager } = await import("./manager-Cqyl7HDP.js").then((n) => n.t);
12642
+ const { MemoryIndexManager } = await import("./manager-DSG4npLd.js").then((n) => n.t);
12643
12643
  return { manager: await MemoryIndexManager.get(params) };
12644
12644
  } catch (err) {
12645
12645
  return {
@@ -14711,7 +14711,7 @@ function normalizeSessionKey(value) {
14711
14711
  function readSessionStore(storePath) {
14712
14712
  try {
14713
14713
  const raw = fs.readFileSync(storePath, "utf-8");
14714
- const parsed = JSON5.parse(raw);
14714
+ const parsed = json5.parse(raw);
14715
14715
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
14716
14716
  } catch {}
14717
14717
  return {};
@@ -16807,7 +16807,7 @@ async function routeReply(params) {
16807
16807
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
16808
16808
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
16809
16809
  try {
16810
- const { deliverOutboundPayloads } = await import("./deliver-ebYNQy_5.js").then((n) => n.n);
16810
+ const { deliverOutboundPayloads } = await import("./deliver-Bkdn7hYJ.js").then((n) => n.n);
16811
16811
  return {
16812
16812
  ok: true,
16813
16813
  messageId: (await deliverOutboundPayloads({
@@ -20512,7 +20512,7 @@ async function describeStickerImage(params) {
20512
20512
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
20513
20513
  try {
20514
20514
  const buffer = await fs$1.readFile(imagePath);
20515
- const { describeImageWithModel } = await import("./image-2KL1DOmN.js").then((n) => n.n);
20515
+ const { describeImageWithModel } = await import("./image-DolmBtru.js").then((n) => n.n);
20516
20516
  return (await describeImageWithModel({
20517
20517
  buffer,
20518
20518
  fileName: "sticker.webp",
@@ -20874,7 +20874,7 @@ function createWhatsAppLoginTool() {
20874
20874
  force: Type.Optional(Type.Boolean())
20875
20875
  }),
20876
20876
  execute: async (_toolCallId, args) => {
20877
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-gTXEo28v.js");
20877
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CLXyhjf_.js");
20878
20878
  if ((args?.action ?? "start") === "wait") {
20879
20879
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
20880
20880
  return {
@@ -23050,7 +23050,7 @@ async function preflightDiscordMessage(params) {
23050
23050
  let preflightTranscript;
23051
23051
  const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
23052
23052
  if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
23053
- const { transcribeFirstAudio } = await import("./audio-preflight-C0NlyreL.js");
23053
+ const { transcribeFirstAudio } = await import("./audio-preflight-BzSvof9i.js");
23054
23054
  const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
23055
23055
  if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
23056
23056
  ctx: {
@@ -37092,7 +37092,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
37092
37092
  const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
37093
37093
  let preflightTranscript;
37094
37094
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
37095
- const { transcribeFirstAudio } = await import("./audio-preflight-C0NlyreL.js");
37095
+ const { transcribeFirstAudio } = await import("./audio-preflight-BzSvof9i.js");
37096
37096
  preflightTranscript = await transcribeFirstAudio({
37097
37097
  ctx: {
37098
37098
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -39164,23 +39164,23 @@ let webLoginQrPromise = null;
39164
39164
  let webChannelPromise = null;
39165
39165
  let whatsappActionsPromise = null;
39166
39166
  function loadWebOutbound() {
39167
- webOutboundPromise ??= import("./outbound-DT2nH6dY.js").then((n) => n.t);
39167
+ webOutboundPromise ??= import("./outbound-BuWEi6UJ.js").then((n) => n.t);
39168
39168
  return webOutboundPromise;
39169
39169
  }
39170
39170
  function loadWebLogin() {
39171
- webLoginPromise ??= import("./login-BPMBJ2ja.js").then((n) => n.n);
39171
+ webLoginPromise ??= import("./login-BVc8pU-l.js").then((n) => n.n);
39172
39172
  return webLoginPromise;
39173
39173
  }
39174
39174
  function loadWebLoginQr() {
39175
- webLoginQrPromise ??= import("./login-qr-gTXEo28v.js");
39175
+ webLoginQrPromise ??= import("./login-qr-CLXyhjf_.js");
39176
39176
  return webLoginQrPromise;
39177
39177
  }
39178
39178
  function loadWebChannel() {
39179
- webChannelPromise ??= import("./web-Dez1c43V.js");
39179
+ webChannelPromise ??= import("./web-Bvsi2Yqx.js");
39180
39180
  return webChannelPromise;
39181
39181
  }
39182
39182
  function loadWhatsAppActions() {
39183
- whatsappActionsPromise ??= import("./whatsapp-actions-C5T64qvX.js");
39183
+ whatsappActionsPromise ??= import("./whatsapp-actions-3adtwpVJ.js");
39184
39184
  return whatsappActionsPromise;
39185
39185
  }
39186
39186
  function createPluginRuntime() {
@@ -68914,7 +68914,7 @@ async function deliverSessionMaintenanceWarning(params) {
68914
68914
  return;
68915
68915
  }
68916
68916
  try {
68917
- const { deliverOutboundPayloads } = await import("./deliver-ebYNQy_5.js").then((n) => n.n);
68917
+ const { deliverOutboundPayloads } = await import("./deliver-Bkdn7hYJ.js").then((n) => n.n);
68918
68918
  await deliverOutboundPayloads({
68919
68919
  cfg: params.cfg,
68920
68920
  channel,
@@ -1,10 +1,10 @@
1
- import { it as shouldLogVerbose, n as runExec, nt as logVerbose } from "./exec-C5lqk9X4.js";
2
- import { C as resolveApiKeyForProvider, I as resolveOpenClawAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-DHMRsTNB.js";
3
- import { n as loadConfig } from "./config-DelXkt58.js";
1
+ import { it as shouldLogVerbose, n as runExec, nt as logVerbose } from "./exec-9HIVkGqi.js";
2
+ import { C as resolveApiKeyForProvider, I as resolveOpenClawAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-BfTuBvS4.js";
3
+ import { n as loadConfig } from "./config-iUJxJaTT.js";
4
4
  import { n as fetchWithTimeout } from "./fetch-timeout-BD-UJHcc.js";
5
- import { c as getFileExtension, f as kindFromMime, o as detectMime, st as normalizeChatType, u as isAudioFileName } from "./image-ops-zm4O3fkk.js";
6
- import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-Cw_7QfME.js";
7
- import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-2KL1DOmN.js";
5
+ import { c as getFileExtension, f as kindFromMime, o as detectMime, st as normalizeChatType, u as isAudioFileName } from "./image-ops-DvO68zWD.js";
6
+ import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DjHoyhHv.js";
7
+ import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DolmBtru.js";
8
8
  import path from "node:path";
9
9
  import { constants } from "node:fs";
10
10
  import os from "node:os";
@@ -829,7 +829,7 @@ async function loadModelCatalog(params) {
829
829
  });
830
830
  try {
831
831
  await ensureOpenClawModelsJson(params?.config ?? loadConfig());
832
- await (await import("./pi-auth-json-XTF0mVQ6.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
832
+ await (await import("./pi-auth-json-CdSpUvvH.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
833
833
  const piSdk = await importPiSdk();
834
834
  const agentDir = resolveOpenClawAgentDir();
835
835
  const { join } = await import("node:path");
@@ -1,6 +1,7 @@
1
- import { F as ensureDir, K as resolveUserPath, at as success, et as danger, ft as toPinoLikeLogger, ut as getChildLogger } from "./exec-C5lqk9X4.js";
2
- import { B as resolveWebCredsBackupPath, E as VERSION, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, z as resolveDefaultWebAuthDir } from "./config-DelXkt58.js";
1
+ import { F as ensureDir, K as resolveUserPath, at as success, et as danger, ft as toPinoLikeLogger, ut as getChildLogger } from "./exec-9HIVkGqi.js";
2
+ import { B as resolveWebCredsBackupPath, E as VERSION, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, z as resolveDefaultWebAuthDir } from "./config-iUJxJaTT.js";
3
3
  import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
4
+ import { createRequire } from "node:module";
4
5
  import fs from "node:fs";
5
6
  import { randomUUID } from "node:crypto";
6
7
  import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
@@ -51,15 +52,18 @@ async function createWaSocket(printQr, verbose, opts = {}) {
51
52
  const proxyUrl = process.env.WA_PROXY_URL || process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
52
53
  if (proxyUrl) try {
53
54
  if (proxyUrl.startsWith("socks")) {
54
- const { SocksProxyAgent } = await import("socks-proxy-agent");
55
+ const { SocksProxyAgent } = createRequire(import.meta.url)("socks-proxy-agent");
55
56
  agent = new SocksProxyAgent(proxyUrl);
56
57
  } else {
57
58
  const { HttpsProxyAgent } = await import("https-proxy-agent");
58
59
  agent = new HttpsProxyAgent(proxyUrl);
59
60
  }
60
- sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
61
+ const maskedUrl = proxyUrl.replace(/\/\/.*@/, "//***@");
62
+ sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${maskedUrl}`);
63
+ console.error(`[wa-session] Proxy agent created: ${maskedUrl}`);
61
64
  } catch (err) {
62
65
  sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
66
+ console.error(`[wa-session] Failed to create proxy agent: ${String(err)}`);
63
67
  }
64
68
  const sock = makeWASocket({
65
69
  auth: {
@@ -82,6 +86,10 @@ async function createWaSocket(printQr, verbose, opts = {}) {
82
86
  sock.ev.on("connection.update", (update) => {
83
87
  try {
84
88
  const { connection, lastDisconnect, qr } = update;
89
+ console.error(`[wa-session] connection.update: connection=${connection ?? "undefined"}, qr=${qr ? "yes" : "no"}, lastDisconnect=${lastDisconnect ? JSON.stringify({
90
+ statusCode: getStatusCode(lastDisconnect.error),
91
+ message: lastDisconnect.error instanceof Error ? lastDisconnect.error.message : JSON.stringify(lastDisconnect.error)
92
+ }) : "none"}`);
85
93
  if (qr) {
86
94
  opts.onQr?.(qr);
87
95
  if (printQr) {
@@ -98,6 +106,7 @@ async function createWaSocket(printQr, verbose, opts = {}) {
98
106
  }
99
107
  });
100
108
  if (sock.ws && typeof sock.ws.on === "function") sock.ws.on("error", (err) => {
109
+ console.error(`[wa-session] WebSocket error: ${String(err)}`);
101
110
  sessionLogger.error({ error: String(err) }, "WebSocket error");
102
111
  });
103
112
  return sock;
@@ -1,5 +1,5 @@
1
- import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
2
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-wRVSwmkX.js";
1
+ import { l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
2
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-6C0IeDIg.js";
3
3
  import { t as redactSensitiveText } from "./redact-CZWjP0qB.js";
4
4
  import { createRequire } from "node:module";
5
5
  import path from "node:path";
@@ -1,5 +1,5 @@
1
- import { l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
2
- import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-zm4O3fkk.js";
1
+ import { l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
2
+ import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-DvO68zWD.js";
3
3
 
4
4
  //#region src/agents/tool-images.ts
5
5
  const MAX_IMAGE_DIMENSION_PX = 2e3;
@@ -0,0 +1,30 @@
1
+ import "./reply-4U8Y4BEv.js";
2
+ import "./exec-9HIVkGqi.js";
3
+ import "./paths-ZQWYGl2V.js";
4
+ import "./model-selection-BfTuBvS4.js";
5
+ import { H as webAuthExists, I as pickWebChannel, N as logWebSelfId, j as WA_WEB_AUTH_DIR } from "./config-iUJxJaTT.js";
6
+ import "./agent-scope-DWZdK6Cr.js";
7
+ import "./deliver-Bkdn7hYJ.js";
8
+ import "./pi-embedded-helpers-rNIrRqeN.js";
9
+ import "./image-ops-DvO68zWD.js";
10
+ import "./fetch-DjHoyhHv.js";
11
+ import "./github-copilot-token-BmLW2kW0.js";
12
+ import "./paths-6C0IeDIg.js";
13
+ import "./tool-images-BuctNDly.js";
14
+ import "./common-STTVkT-Z.js";
15
+ import "./active-listener-CkyAenz6.js";
16
+ import "./ir-D6TOa8wy.js";
17
+ import "./manager-DSG4npLd.js";
18
+ import "./chrome-BLYh1Ek9.js";
19
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-4MD7l4wZ.js";
20
+ import "./runner-CaaUwzMJ.js";
21
+ import "./image-DolmBtru.js";
22
+ import "./pi-model-discovery-DX1x3UsN.js";
23
+ import "./redact-CZWjP0qB.js";
24
+ import "./sqlite-QNHsO4bW.js";
25
+ import "./proxy-CLlXFbH0.js";
26
+ import { n as sendMessageWhatsApp } from "./outbound-BuWEi6UJ.js";
27
+ import { i as waitForWaConnection, t as createWaSocket } from "./session-jiEJX-5Y.js";
28
+ import { t as loginWeb } from "./login-BVc8pU-l.js";
29
+
30
+ export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
@@ -1,16 +1,16 @@
1
- import "./exec-C5lqk9X4.js";
1
+ import "./exec-9HIVkGqi.js";
2
2
  import "./paths-ZQWYGl2V.js";
3
- import "./model-selection-DHMRsTNB.js";
4
- import "./config-DelXkt58.js";
5
- import "./agent-scope-ip6rBrUD.js";
6
- import "./image-ops-zm4O3fkk.js";
7
- import "./fetch-Cw_7QfME.js";
3
+ import "./model-selection-BfTuBvS4.js";
4
+ import "./config-iUJxJaTT.js";
5
+ import "./agent-scope-DWZdK6Cr.js";
6
+ import "./image-ops-DvO68zWD.js";
7
+ import "./fetch-DjHoyhHv.js";
8
8
  import "./github-copilot-token-BmLW2kW0.js";
9
- import "./tool-images-C4GaQjrF.js";
10
- import { i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-pKa0kElY.js";
11
- import "./active-listener-CFLZdKRQ.js";
12
- import "./ir-BEwiHV7R.js";
13
- import { r as sendReactionWhatsApp } from "./outbound-DT2nH6dY.js";
9
+ import "./tool-images-BuctNDly.js";
10
+ import { i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-STTVkT-Z.js";
11
+ import "./active-listener-CkyAenz6.js";
12
+ import "./ir-D6TOa8wy.js";
13
+ import { r as sendReactionWhatsApp } from "./outbound-BuWEi6UJ.js";
14
14
 
15
15
  //#region src/agents/tools/whatsapp-actions.ts
16
16
  async function handleWhatsAppAction(params, cfg) {
@@ -12,7 +12,7 @@ import { i as loadConfig, l as writeConfigFile } from "./config-B4-Vvu6M.js";
12
12
  import "./client-gZv0X5tz.js";
13
13
  import "./call-CeM4F1rK.js";
14
14
  import "./message-channel-CZpVDeRr.js";
15
- import "./subagent-registry-2rHQ_z7c.js";
15
+ import "./subagent-registry-BDMD0wwa.js";
16
16
  import "./sessions-D-LiJehh.js";
17
17
  import "./deliver-a9TlmfSI.js";
18
18
  import "./plugins-bX81iDy5.js";
@@ -77,7 +77,7 @@ import "./npm-registry-spec-0gjaSbs4.js";
77
77
  import "./skill-scanner-C6Fsebtt.js";
78
78
  import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-FdZTML_g.js";
79
79
  import { t as renderTable } from "./table-BU9JaTpc.js";
80
- import { t as buildPluginStatusReport } from "./status-TVzePU0v.js";
80
+ import { t as buildPluginStatusReport } from "./status-C2RPsVtW.js";
81
81
  import { n as updateNpmInstalledPlugins } from "./update-BX5yicnj.js";
82
82
  import os from "node:os";
83
83
  import path from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
2
2
  import { B as theme, C as shortenHomePath, S as shortenHomeInString, _ as resolveConfigDir, b as resolveUserPath } from "./utils-CFnnyoTP.js";
3
3
  import "./pi-embedded-helpers-DwIwt1C1.js";
4
- import "./reply-D9JN_rwA.js";
4
+ import "./reply-BDmopaJJ.js";
5
5
  import { d as defaultRuntime } from "./subsystem-azPHgTb4.js";
6
6
  import "./exec-V7mqHC8U.js";
7
7
  import "./agent-scope-aaTVOkax.js";
@@ -80,7 +80,7 @@ import "./npm-registry-spec-CuFgcvQy.js";
80
80
  import "./skill-scanner-rZe1OKVo.js";
81
81
  import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-J67aL6S5.js";
82
82
  import { t as renderTable } from "./table-CQy-QAll.js";
83
- import { t as buildPluginStatusReport } from "./status-Dnim-lZW.js";
83
+ import { t as buildPluginStatusReport } from "./status-acovikqR.js";
84
84
  import { n as updateNpmInstalledPlugins } from "./update-vJ0EItfH.js";
85
85
  import fs from "node:fs";
86
86
  import os from "node:os";
@@ -13,7 +13,7 @@ import { F as VERSION } from "./config-B4-Vvu6M.js";
13
13
  import "./client-gZv0X5tz.js";
14
14
  import "./call-CeM4F1rK.js";
15
15
  import "./message-channel-CZpVDeRr.js";
16
- import "./subagent-registry-2rHQ_z7c.js";
16
+ import "./subagent-registry-BDMD0wwa.js";
17
17
  import "./sessions-D-LiJehh.js";
18
18
  import "./deliver-a9TlmfSI.js";
19
19
  import "./plugins-bX81iDy5.js";
@@ -74,13 +74,13 @@ import "./onboard-helpers-Bfg43UBg.js";
74
74
  import "./prompt-style-Ws1ofeXe.js";
75
75
  import "./pairing-labels-DKrwGHA2.js";
76
76
  import "./catalog-D8aoRgov.js";
77
- import "./plugin-registry-7l0uWKmB.js";
78
- import { n as resolveCliChannelOptions } from "./channel-options-BZj8yDQM.js";
79
- import "./register.subclis-CDZvm5LU.js";
80
- import { i as registerProgramCommands } from "./command-registry-BliDXGVX.js";
77
+ import "./plugin-registry-D4ln1snF.js";
78
+ import { n as resolveCliChannelOptions } from "./channel-options-yeLHl6UC.js";
79
+ import "./register.subclis-BdKnlox-.js";
80
+ import { i as registerProgramCommands } from "./command-registry-DZ6A7EvX.js";
81
81
  import { r as setProgramContext } from "./program-context-D2pNx-CZ.js";
82
82
  import { t as forceFreePort } from "./ports-CBEgLU1F.js";
83
- import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-SSVP1FWh.js";
83
+ import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-D9HvFI2z.js";
84
84
  import { Command } from "commander";
85
85
 
86
86
  //#region src/cli/program/context.ts
@@ -173,7 +173,7 @@ function registerPreActionHooks(program, programVersion) {
173
173
  commandPath
174
174
  });
175
175
  if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
176
- const { ensurePluginRegistryLoaded } = await import("./plugin-registry-7l0uWKmB.js").then((n) => n.n);
176
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-D4ln1snF.js").then((n) => n.n);
177
177
  ensurePluginRegistryLoaded();
178
178
  }
179
179
  });