@symerian/symi 3.0.11 → 3.0.12

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 (70) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/control-ui/js/app.js +14 -1
  4. package/dist/plugin-sdk/{accounts-BtaOa4z_.js → accounts-BToL3HlP.js} +1 -1
  5. package/dist/plugin-sdk/{accounts-Ddm33hQm.js → accounts-D9zGZU5t.js} +3 -3
  6. package/dist/plugin-sdk/{accounts-s-AdhXVR.js → accounts-Dtszw3Zn.js} +1 -1
  7. package/dist/plugin-sdk/{active-listener-BaxIPBYG.js → active-listener-BtNt_ynZ.js} +1 -1
  8. package/dist/plugin-sdk/{agent-scope-BREbt-rZ.js → agent-scope-RSN8nr_m.js} +2 -2
  9. package/dist/plugin-sdk/{audio-preflight-DsZOzoTi.js → audio-preflight-DDbPGCW2.js} +24 -24
  10. package/dist/plugin-sdk/{bindings-Da0i5ERM.js → bindings-DhPQDTtp.js} +2 -2
  11. package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
  12. package/dist/plugin-sdk/{channel-web-3MFItfGM.js → channel-web-ClaO3OHu.js} +22 -22
  13. package/dist/plugin-sdk/{chrome-5vsWWgoJ.js → chrome-Cu2_tNPX.js} +3 -3
  14. package/dist/plugin-sdk/{chunk-Dw2XBYXv.js → chunk-jvk9axTQ.js} +1 -1
  15. package/dist/plugin-sdk/{command-format-GKSevep4.js → command-format-DSdvQ_M5.js} +1 -1
  16. package/dist/plugin-sdk/{commands-registry-CMJHsCzz.js → commands-registry-DnaRR0It.js} +4 -4
  17. package/dist/plugin-sdk/{config-sW6sHEjP.js → config-BBf0mCzU.js} +9 -9
  18. package/dist/plugin-sdk/{consolidate-DHzE-Epp.js → consolidate-BieO-_k_.js} +2 -2
  19. package/dist/plugin-sdk/{deliver-BjExSaDh.js → deliver-s5jR6Rm0.js} +9 -9
  20. package/dist/plugin-sdk/{diagnostic-Jo7QixCi.js → diagnostic-fnIb_o_V.js} +1 -1
  21. package/dist/plugin-sdk/{gemini-auth-DoZCUeez.js → gemini-auth-DnMneaw7.js} +1 -1
  22. package/dist/plugin-sdk/{image-D5sxTO4B.js → image-Bn0ZvbCS.js} +4 -4
  23. package/dist/plugin-sdk/{image-ops-DZ8OTT0B.js → image-ops-C_3iBQe1.js} +1 -1
  24. package/dist/plugin-sdk/index.js +54 -54
  25. package/dist/plugin-sdk/{ir-DfsDN6C5.js → ir-DrnNua4p.js} +4 -4
  26. package/dist/plugin-sdk/{local-roots-CxzyCF23.js → local-roots-8f4AroIC.js} +3 -3
  27. package/dist/plugin-sdk/{login-Xauu2cKD.js → login-CYbFrIkH.js} +7 -7
  28. package/dist/plugin-sdk/{login-qr-DbdQzmX5.js → login-qr-iiAx9Hzl.js} +9 -9
  29. package/dist/plugin-sdk/{manager-3qq3BC5o.js → manager-CrQHoLZe.js} +9 -9
  30. package/dist/plugin-sdk/{manifest-registry-BRx4JDK0.js → manifest-registry-hy3Bn-r9.js} +1 -1
  31. package/dist/plugin-sdk/{markdown-tables-BBiVsk1q.js → markdown-tables-ivSTmsOn.js} +1 -1
  32. package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
  33. package/dist/plugin-sdk/{model-selection-DYUaACpE.js → model-selection-jteJ6-KW.js} +4 -4
  34. package/dist/plugin-sdk/{outbound-BExtRVl2.js → outbound-Do8D1BXN.js} +7 -7
  35. package/dist/plugin-sdk/{outbound-attachment-V-8HPvXC.js → outbound-attachment-qB-kgb_3.js} +2 -2
  36. package/dist/plugin-sdk/{pi-auth-json-Cx9o75_Z.js → pi-auth-json-h95g7KA6.js} +1 -1
  37. package/dist/plugin-sdk/{pi-embedded-helpers-BLEyEAp4.js → pi-embedded-helpers-DOSdFz8p.js} +17 -17
  38. package/dist/plugin-sdk/{plugins-DRWyzk5i.js → plugins-muf5lfx-.js} +4 -4
  39. package/dist/plugin-sdk/{pw-ai-llZdruth.js → pw-ai-N1dZncDF.js} +8 -8
  40. package/dist/plugin-sdk/{qmd-manager-BvQckdNY.js → qmd-manager-Chj9aSN5.js} +4 -4
  41. package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
  42. package/dist/plugin-sdk/{replies-55uBdcZx.js → replies-Djt0Jtri.js} +3 -3
  43. package/dist/plugin-sdk/{reply-prefix-BKFQ9roP.js → reply-prefix-CDeu1pum.js} +1 -1
  44. package/dist/plugin-sdk/{resolve-outbound-target-BHmUS6gT.js → resolve-outbound-target-BkHNUpdB.js} +2 -2
  45. package/dist/plugin-sdk/{resolve-route-B34r6gNi.js → resolve-route-kXW9e3Go.js} +3 -3
  46. package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
  47. package/dist/plugin-sdk/{runner-CMTjp93H.js → runner-BEVT501x.js} +9 -9
  48. package/dist/plugin-sdk/{send-BpEesCa-.js → send-BnLTM8JK.js} +7 -7
  49. package/dist/plugin-sdk/{send-DonsAKvn.js → send-C6gdiUA_.js} +6 -6
  50. package/dist/plugin-sdk/{send-9RblyyZd.js → send-COs8KoMe.js} +10 -10
  51. package/dist/plugin-sdk/{send-BQ5kyeDC.js → send-CpvF--s7.js} +10 -10
  52. package/dist/plugin-sdk/{send-CsjaB4ba.js → send-n1cdSnDN.js} +6 -6
  53. package/dist/plugin-sdk/{session-BT2dgHI2.js → session-CDaxvhuc.js} +4 -4
  54. package/dist/plugin-sdk/{skill-commands-BAuNo2vz.js → skill-commands-Dmi3Y3Cd.js} +5 -5
  55. package/dist/plugin-sdk/{skills-BDwS4XUE.js → skills-ksP6m2tL.js} +7 -7
  56. package/dist/plugin-sdk/{sqlite-DLwYpBWC.js → sqlite-BflKfcLD.js} +1 -1
  57. package/dist/plugin-sdk/{store-Dt1oCaOn.js → store-uf7TpQm3.js} +2 -2
  58. package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
  59. package/dist/plugin-sdk/{synthesis-CHIk9ebl.js → synthesis-9QefZm4s.js} +49 -49
  60. package/dist/plugin-sdk/{tables-MCQfYFPK.js → tables-DE2W8BrP.js} +1 -1
  61. package/dist/plugin-sdk/{target-errors-BGT90lj4.js → target-errors-Dqf_-SRz.js} +2 -2
  62. package/dist/plugin-sdk/{thinking-qM2Kzm92.js → thinking-Bq90REOa.js} +5 -5
  63. package/dist/plugin-sdk/{tokens-CVWPo-HD.js → tokens-D-HI9PZG.js} +1 -1
  64. package/dist/plugin-sdk/{tool-images-DvOrYSAO.js → tool-images-DAXbRHJ1.js} +2 -2
  65. package/dist/plugin-sdk/{tool-loop-detection-gmtzSlNZ.js → tool-loop-detection-DseOlBug.js} +2 -2
  66. package/dist/plugin-sdk/{unified-runner-CS3TLTr5.js → unified-runner-BPfXJ_-q.js} +78 -78
  67. package/dist/plugin-sdk/web-BrBSoMpn.js +66 -0
  68. package/dist/plugin-sdk/{whatsapp-actions-BT1wbCx9.js → whatsapp-actions-C25IYAot.js} +21 -21
  69. package/package.json +1 -1
  70. package/dist/plugin-sdk/web-C_btjy2v.js +0 -66
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.11",
3
- "commit": "b70925400e3e0a3f15840fb0469d909de6ab2d44",
4
- "builtAt": "2026-05-02T02:21:02.365Z"
2
+ "version": "3.0.12",
3
+ "commit": "d57d47c48849b20b1c695f1bd4577992626e701d",
4
+ "builtAt": "2026-05-02T02:43:20.392Z"
5
5
  }
@@ -1 +1 @@
1
- 25b27995864e581f715b7913f852d14e908d4a2e7b0dc4a1ac7a99354547ea35
1
+ 20beec77ddbc401e1b0a9b75f2e442703f19c6e904f4c5c032f51834e9465814
@@ -67,6 +67,12 @@ let elapsedTimer = null; // ticks every second to show run duration
67
67
  let activityStart = 0; // timestamp of when current run began
68
68
  let elapsedBaseText = ""; // base sub-text for the elapsed display
69
69
  let WATCHDOG_MS = 300000; // 300 seconds of silence → failure (profile-overridable)
70
+ // Track time of last upstream agent/chat event so the elapsed-timer tick can
71
+ // surface a "still reasoning" hint when reasoning runs silently for >5s
72
+ // (some models batch reasoning without streaming deltas; the orb timer alone
73
+ // looks frozen even though work is happening).
74
+ let lastEventTs = 0;
75
+ const EXTENDED_SILENCE_MS = 5000;
70
76
 
71
77
  // ── Model profile state (updated via "profile" gateway event) ────
72
78
  let activeProfile = null;
@@ -255,12 +261,16 @@ function startElapsedTimer(baseText) {
255
261
  stopElapsedTimer();
256
262
  activityStart = Date.now();
257
263
  elapsedBaseText = baseText;
264
+ lastEventTs = activityStart;
258
265
  elapsedTimer = setInterval(() => {
259
266
  const secs = Math.floor((Date.now() - activityStart) / 1000);
260
267
  const m = Math.floor(secs / 60);
261
268
  const s = String(secs % 60).padStart(2, "0");
269
+ const silentMs = Date.now() - lastEventTs;
270
+ const showHint = elapsedBaseText.startsWith("Reasoning") && silentMs > EXTENDED_SILENCE_MS;
271
+ const hint = showHint ? " (still reasoning)" : "";
262
272
  if (asoSub) {
263
- asoSub.textContent = `${elapsedBaseText} ${m}:${s}`;
273
+ asoSub.textContent = `${elapsedBaseText}${hint} ${m}:${s}`;
264
274
  }
265
275
  }, 1000);
266
276
  }
@@ -270,6 +280,7 @@ function stopElapsedTimer() {
270
280
  clearInterval(elapsedTimer);
271
281
  elapsedTimer = null;
272
282
  }
283
+ lastEventTs = 0;
273
284
  }
274
285
 
275
286
  // ── Watchdog ───────────────────────────────────────────────────────
@@ -639,6 +650,7 @@ function handleGatewayEvent(event) {
639
650
  // Any agent event resets the watchdog — the agent is working
640
651
  armWatchdog();
641
652
  showWorkingIndicator();
653
+ lastEventTs = Date.now();
642
654
 
643
655
  // Update the sub-label with what the agent is actually doing
644
656
  if (a.stream === "tool" && a.data) {
@@ -680,6 +692,7 @@ function handleGatewayEvent(event) {
680
692
  // Any chat event for our session proves the agent is alive — reset watchdog.
681
693
  if (isStreaming) {
682
694
  armWatchdog();
695
+ lastEventTs = Date.now();
683
696
  }
684
697
 
685
698
  // Log to debug panel if available
@@ -1,5 +1,5 @@
1
1
  import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
2
- import { _ as createAccountListHelpers } from "./accounts-Ddm33hQm.js";
2
+ import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
3
3
 
4
4
  //#region src/signal/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,8 +1,8 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
2
2
  import { a as resolveOAuthDir } from "./paths-DR2yt_mP.js";
3
- import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-D0xTnUWt.js";
4
- import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
5
- import { t as formatCliCommand } from "./command-format-GKSevep4.js";
3
+ import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry--_pGht6S.js";
4
+ import { i as defaultRuntime } from "./subsystem-Coz2AgU8.js";
5
+ import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
  import fs$1 from "node:fs/promises";
@@ -1,5 +1,5 @@
1
1
  import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
2
- import { _ as createAccountListHelpers } from "./accounts-Ddm33hQm.js";
2
+ import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
3
3
 
4
4
  //#region src/imessage/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,5 +1,5 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
2
- import { t as formatCliCommand } from "./command-format-GKSevep4.js";
2
+ import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
3
3
 
4
4
  //#region src/web/active-listener.ts
5
5
  const listeners = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
1
  import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
2
2
  import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
3
- import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-D0xTnUWt.js";
4
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
3
+ import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry--_pGht6S.js";
4
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
5
5
  import fs from "node:fs";
6
6
  import path from "node:path";
7
7
  import os from "node:os";
@@ -1,34 +1,34 @@
1
- import "./accounts-Ddm33hQm.js";
1
+ import "./accounts-D9zGZU5t.js";
2
2
  import "./paths-DR2yt_mP.js";
3
3
  import "./github-copilot-token-D9X2phUj.js";
4
- import "./plugins-DRWyzk5i.js";
5
- import { K as logVerbose, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
6
- import "./config-sW6sHEjP.js";
7
- import "./subsystem-B2uDN3TV.js";
8
- import "./command-format-GKSevep4.js";
9
- import "./model-selection-DYUaACpE.js";
10
- import "./agent-scope-BREbt-rZ.js";
11
- import "./manifest-registry-BRx4JDK0.js";
4
+ import "./plugins-muf5lfx-.js";
5
+ import { K as logVerbose, Y as shouldLogVerbose } from "./registry--_pGht6S.js";
6
+ import "./config-BBf0mCzU.js";
7
+ import "./subsystem-Coz2AgU8.js";
8
+ import "./command-format-DSdvQ_M5.js";
9
+ import "./model-selection-jteJ6-KW.js";
10
+ import "./agent-scope-RSN8nr_m.js";
11
+ import "./manifest-registry-hy3Bn-r9.js";
12
12
  import "./redact-DPnDWsnT.js";
13
13
  import "./errors-Bv8oZiTO.js";
14
- import "./image-ops-DZ8OTT0B.js";
14
+ import "./image-ops-C_3iBQe1.js";
15
15
  import "./ssrf-DKZ8eBrk.js";
16
- import "./local-roots-CxzyCF23.js";
17
- import "./message-channel-COTAJzHd.js";
18
- import "./bindings-Da0i5ERM.js";
19
- import "./tool-images-DvOrYSAO.js";
20
- import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-CMTjp93H.js";
21
- import "./skills-BDwS4XUE.js";
22
- import "./chrome-5vsWWgoJ.js";
23
- import "./thinking-qM2Kzm92.js";
24
- import "./accounts-s-AdhXVR.js";
25
- import "./accounts-BtaOa4z_.js";
26
- import "./pi-embedded-helpers-BLEyEAp4.js";
16
+ import "./local-roots-8f4AroIC.js";
17
+ import "./message-channel-BdI5Ra9S.js";
18
+ import "./bindings-DhPQDTtp.js";
19
+ import "./tool-images-DAXbRHJ1.js";
20
+ import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BEVT501x.js";
21
+ import "./skills-ksP6m2tL.js";
22
+ import "./chrome-Cu2_tNPX.js";
23
+ import "./thinking-Bq90REOa.js";
24
+ import "./accounts-Dtszw3Zn.js";
25
+ import "./accounts-BToL3HlP.js";
26
+ import "./pi-embedded-helpers-DOSdFz8p.js";
27
27
  import "./paths-A0xdf3yk.js";
28
- import "./store-Dt1oCaOn.js";
29
- import "./image-D5sxTO4B.js";
28
+ import "./store-uf7TpQm3.js";
29
+ import "./image-Bn0ZvbCS.js";
30
30
  import "./pi-model-discovery-Cdz3tuFk.js";
31
- import "./gemini-auth-DoZCUeez.js";
31
+ import "./gemini-auth-DnMneaw7.js";
32
32
 
33
33
  //#region src/media-understanding/audio-preflight.ts
34
34
  /**
@@ -1,6 +1,6 @@
1
1
  import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
2
- import { s as normalizeChatChannelId } from "./registry-D0xTnUWt.js";
3
- import { s as resolveDefaultAgentId } from "./agent-scope-BREbt-rZ.js";
2
+ import { s as normalizeChatChannelId } from "./registry--_pGht6S.js";
3
+ import { s as resolveDefaultAgentId } from "./agent-scope-RSN8nr_m.js";
4
4
 
5
5
  //#region src/routing/bindings.ts
6
6
  function normalizeBindingChannelId(raw) {
@@ -1,4 +1,4 @@
1
- import { n as retryAsync, t as resolveRetryConfig } from "./retry-CwQ_iIj8.js";
1
+ import { n as retryAsync, t as resolveRetryConfig } from "./retry-ilSJqnz9.js";
2
2
  import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
3
3
  import { RateLimitError } from "@buape/carbon";
4
4
 
@@ -1,28 +1,28 @@
1
1
  import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
2
- import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
3
- import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-CS3TLTr5.js";
4
- import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-D0xTnUWt.js";
5
- import { n as loadConfig } from "./config-sW6sHEjP.js";
6
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
7
- import { t as formatCliCommand } from "./command-format-GKSevep4.js";
8
- import { n as recordChannelActivity } from "./channel-activity-DoC1xtDu.js";
9
- import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CxzyCF23.js";
10
- import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
11
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Dw2XBYXv.js";
12
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
13
- import { t as convertMarkdownTables } from "./tables-MCQfYFPK.js";
14
- import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-BQ5kyeDC.js";
15
- import { v as registerUnhandledRejectionHandler } from "./runner-CMTjp93H.js";
16
- import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BKFQ9roP.js";
17
- import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-qM2Kzm92.js";
18
- import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-BLEyEAp4.js";
2
+ import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
3
+ import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-BPfXJ_-q.js";
4
+ import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry--_pGht6S.js";
5
+ import { n as loadConfig } from "./config-BBf0mCzU.js";
6
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
7
+ import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
8
+ import { n as recordChannelActivity } from "./channel-activity-Ji7f0gqq.js";
9
+ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-8f4AroIC.js";
10
+ import { a as loadWebMedia } from "./ir-DrnNua4p.js";
11
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-jvk9axTQ.js";
12
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-ivSTmsOn.js";
13
+ import { t as convertMarkdownTables } from "./tables-DE2W8BrP.js";
14
+ import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-CpvF--s7.js";
15
+ import { v as registerUnhandledRejectionHandler } from "./runner-BEVT501x.js";
16
+ import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-CDeu1pum.js";
17
+ import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-Bq90REOa.js";
18
+ import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-DOSdFz8p.js";
19
19
  import { s as resolveStorePath } from "./paths-A0xdf3yk.js";
20
- import { i as saveMediaBuffer } from "./store-Dt1oCaOn.js";
20
+ import { i as saveMediaBuffer } from "./store-uf7TpQm3.js";
21
21
  import { t as finalizeInboundContext } from "./inbound-context-5H7RKVif.js";
22
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B34r6gNi.js";
23
- import { r as setActiveWebListener } from "./active-listener-BaxIPBYG.js";
24
- import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-BExtRVl2.js";
25
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BT2dgHI2.js";
22
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-kXW9e3Go.js";
23
+ import { r as setActiveWebListener } from "./active-listener-BtNt_ynZ.js";
24
+ import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-Do8D1BXN.js";
25
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CDaxvhuc.js";
26
26
  import { randomUUID } from "node:crypto";
27
27
  import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
28
28
 
@@ -1,6 +1,6 @@
1
- import { b as CONFIG_DIR } from "./registry-D0xTnUWt.js";
2
- import { n as loadConfig } from "./config-sW6sHEjP.js";
3
- import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
1
+ import { b as CONFIG_DIR } from "./registry--_pGht6S.js";
2
+ import { n as loadConfig } from "./config-BBf0mCzU.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
4
4
  import { i as isErrno } from "./errors-Bv8oZiTO.js";
5
5
  import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
6
6
  import fs from "node:fs";
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
3
- import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-COTAJzHd.js";
3
+ import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BdI5Ra9S.js";
4
4
 
5
5
  //#region src/markdown/fences.ts
6
6
  function parseFenceSpans(buffer) {
@@ -1,4 +1,4 @@
1
- import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
2
2
  import path from "node:path";
3
3
 
4
4
  //#region src/utils/boolean.ts
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { r as normalizeChannelId } from "./plugins-DRWyzk5i.js";
3
- import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-D0xTnUWt.js";
4
- import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-DYUaACpE.js";
5
- import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-qM2Kzm92.js";
2
+ import { r as normalizeChannelId } from "./plugins-muf5lfx-.js";
3
+ import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry--_pGht6S.js";
4
+ import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-jteJ6-KW.js";
5
+ import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-Bq90REOa.js";
6
6
 
7
7
  //#region src/config/commands.ts
8
8
  function resolveAutoDefault(providerId) {
@@ -1,14 +1,14 @@
1
1
  import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
2
2
  import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
3
- import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-D0xTnUWt.js";
4
- import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-DYUaACpE.js";
5
- import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-BREbt-rZ.js";
6
- import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BRx4JDK0.js";
3
+ import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry--_pGht6S.js";
4
+ import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-jteJ6-KW.js";
5
+ import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-RSN8nr_m.js";
6
+ import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-hy3Bn-r9.js";
7
7
  import { createRequire } from "node:module";
8
8
  import fs from "node:fs";
9
9
  import path from "node:path";
10
10
  import os from "node:os";
11
- import JSON5 from "json5";
11
+ import json5 from "json5";
12
12
  import crypto from "node:crypto";
13
13
  import { isDeepStrictEqual } from "node:util";
14
14
  import dotenv from "dotenv";
@@ -892,7 +892,7 @@ function safeRealpath(target) {
892
892
  }
893
893
  const defaultResolver = {
894
894
  readFile: (p) => fs.readFileSync(p, "utf-8"),
895
- parseJson: (raw) => JSON5.parse(raw)
895
+ parseJson: (raw) => json5.parse(raw)
896
896
  };
897
897
  /**
898
898
  * Resolves all $include directives in a parsed config object.
@@ -5595,7 +5595,7 @@ function resolveConfigPathForDeps(deps) {
5595
5595
  function normalizeDeps(overrides = {}) {
5596
5596
  return {
5597
5597
  fs: overrides.fs ?? fs,
5598
- json5: overrides.json5 ?? JSON5,
5598
+ json5: overrides.json5 ?? json5,
5599
5599
  env: overrides.env ?? process.env,
5600
5600
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
5601
5601
  configPath: overrides.configPath ?? "",
@@ -5606,11 +5606,11 @@ function maybeLoadDotEnvForConfig(env) {
5606
5606
  if (env !== process.env) return;
5607
5607
  loadDotEnv({ quiet: true });
5608
5608
  }
5609
- function parseConfigJson5(raw, json5 = JSON5) {
5609
+ function parseConfigJson5(raw, json5$1 = json5) {
5610
5610
  try {
5611
5611
  return {
5612
5612
  ok: true,
5613
- parsed: json5.parse(raw)
5613
+ parsed: json5$1.parse(raw)
5614
5614
  };
5615
5615
  } catch (err) {
5616
5616
  return {
@@ -1,6 +1,6 @@
1
1
  import "./paths-DR2yt_mP.js";
2
- import "./registry-D0xTnUWt.js";
3
- import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
2
+ import "./registry--_pGht6S.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
4
4
  import { l as parseEmbedding, r as cosineSimilarity } from "./internal-BpFmQTvo.js";
5
5
  import path from "node:path";
6
6
  import crypto from "node:crypto";
@@ -1,15 +1,15 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
3
3
  import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
4
- import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DRWyzk5i.js";
5
- import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry-D0xTnUWt.js";
6
- import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
7
- import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CxzyCF23.js";
8
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-Dw2XBYXv.js";
9
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
10
- import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CVWPo-HD.js";
11
- import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-BLEyEAp4.js";
12
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DonsAKvn.js";
4
+ import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-muf5lfx-.js";
5
+ import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry--_pGht6S.js";
6
+ import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
7
+ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-8f4AroIC.js";
8
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-jvk9axTQ.js";
9
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-ivSTmsOn.js";
10
+ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D-HI9PZG.js";
11
+ import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-DOSdFz8p.js";
12
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-C6gdiUA_.js";
13
13
  import fs from "node:fs";
14
14
  import path from "node:path";
15
15
  import crypto from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
3
3
  import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DnkpMfCl.js";
4
4
 
5
5
  //#region src/infra/diagnostic-events.ts
@@ -1,4 +1,4 @@
1
- import { c as normalizeProviderId } from "./model-selection-DYUaACpE.js";
1
+ import { c as normalizeProviderId } from "./model-selection-jteJ6-KW.js";
2
2
  import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
3
3
 
4
4
  //#region src/agents/live-auth-keys.ts
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { D as isRecord, I as shortenHomeInString } from "./registry-D0xTnUWt.js";
3
- import { n as loadConfig } from "./config-sW6sHEjP.js";
4
- import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-DYUaACpE.js";
2
+ import { D as isRecord, I as shortenHomeInString } from "./registry--_pGht6S.js";
3
+ import { n as loadConfig } from "./config-BBf0mCzU.js";
4
+ import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-jteJ6-KW.js";
5
5
  import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
6
- import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-BLEyEAp4.js";
6
+ import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-DOSdFz8p.js";
7
7
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cdz3tuFk.js";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { T as runExec } from "./agent-scope-BREbt-rZ.js";
1
+ import { T as runExec } from "./agent-scope-RSN8nr_m.js";
2
2
  import { constants } from "node:fs";
3
3
  import path from "node:path";
4
4
  import os from "node:os";
@@ -1,69 +1,69 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
2
- import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-Ddm33hQm.js";
3
- import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as processLineMessage, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, E as attachFooterText, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as hasMarkdownToConvert, St as listThreadBindingsBySessionKey, T as createReceiptCard, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as resolveLineAccount, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as resolveDefaultLineAccountId, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, n as listLineAccountIds, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, r as normalizeAccountId$1, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as stripMarkdown, wt as formatAllowlistMatchMeta, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./unified-runner-CS3TLTr5.js";
2
+ import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-D9zGZU5t.js";
3
+ import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as processLineMessage, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, E as attachFooterText, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as hasMarkdownToConvert, St as listThreadBindingsBySessionKey, T as createReceiptCard, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as resolveLineAccount, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as resolveDefaultLineAccountId, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, n as listLineAccountIds, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, r as normalizeAccountId$1, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as stripMarkdown, wt as formatAllowlistMatchMeta, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./unified-runner-BPfXJ_-q.js";
4
4
  import "./paths-DR2yt_mP.js";
5
5
  import "./github-copilot-token-D9X2phUj.js";
6
- import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-DRWyzk5i.js";
6
+ import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-muf5lfx-.js";
7
7
  import "./fetch-CUNoPTKm.js";
8
- import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry-D0xTnUWt.js";
9
- import "./retry-CwQ_iIj8.js";
10
- import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-9RblyyZd.js";
11
- import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-sW6sHEjP.js";
12
- import { n as stripAnsi } from "./subsystem-B2uDN3TV.js";
13
- import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
14
- import { H as withFileLock, V as acquireFileLock } from "./model-selection-DYUaACpE.js";
15
- import { w as runCommandWithTimeout } from "./agent-scope-BREbt-rZ.js";
16
- import "./manifest-registry-BRx4JDK0.js";
8
+ import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry--_pGht6S.js";
9
+ import "./retry-ilSJqnz9.js";
10
+ import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-COs8KoMe.js";
11
+ import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-BBf0mCzU.js";
12
+ import { n as stripAnsi } from "./subsystem-Coz2AgU8.js";
13
+ import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
14
+ import { H as withFileLock, V as acquireFileLock } from "./model-selection-jteJ6-KW.js";
15
+ import { w as runCommandWithTimeout } from "./agent-scope-RSN8nr_m.js";
16
+ import "./manifest-registry-hy3Bn-r9.js";
17
17
  import "./redact-DPnDWsnT.js";
18
18
  import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
19
- import "./channel-activity-DoC1xtDu.js";
20
- import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-DZ8OTT0B.js";
19
+ import "./channel-activity-Ji7f0gqq.js";
20
+ import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-C_3iBQe1.js";
21
21
  import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
22
- import { o as fetchWithSsrFGuard } from "./local-roots-CxzyCF23.js";
23
- import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
24
- import { u as chunkTextByBreakResolver } from "./chunk-Dw2XBYXv.js";
25
- import "./message-channel-COTAJzHd.js";
26
- import "./bindings-Da0i5ERM.js";
27
- import "./markdown-tables-BBiVsk1q.js";
22
+ import { o as fetchWithSsrFGuard } from "./local-roots-8f4AroIC.js";
23
+ import { a as loadWebMedia } from "./ir-DrnNua4p.js";
24
+ import { u as chunkTextByBreakResolver } from "./chunk-jvk9axTQ.js";
25
+ import "./message-channel-BdI5Ra9S.js";
26
+ import "./bindings-DhPQDTtp.js";
27
+ import "./markdown-tables-ivSTmsOn.js";
28
28
  import "./render-BiJZ5W4Z.js";
29
- import "./tables-MCQfYFPK.js";
30
- import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-BpEesCa-.js";
31
- import "./tool-images-DvOrYSAO.js";
32
- import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-BGT90lj4.js";
33
- import { s as parseSlackBlocksInput } from "./send-CsjaB4ba.js";
34
- import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-BQ5kyeDC.js";
35
- import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-CMTjp93H.js";
36
- import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-BKFQ9roP.js";
37
- import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CVWPo-HD.js";
38
- import "./skill-commands-BAuNo2vz.js";
39
- import "./skills-BDwS4XUE.js";
40
- import { N as rawDataToString } from "./chrome-5vsWWgoJ.js";
41
- import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-qM2Kzm92.js";
42
- import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-s-AdhXVR.js";
43
- import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BtaOa4z_.js";
44
- import { _ as resolveChannelMediaMaxBytes } from "./deliver-BjExSaDh.js";
45
- import "./pi-embedded-helpers-BLEyEAp4.js";
29
+ import "./tables-DE2W8BrP.js";
30
+ import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-BnLTM8JK.js";
31
+ import "./tool-images-DAXbRHJ1.js";
32
+ import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-Dqf_-SRz.js";
33
+ import { s as parseSlackBlocksInput } from "./send-n1cdSnDN.js";
34
+ import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-CpvF--s7.js";
35
+ import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-BEVT501x.js";
36
+ import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-CDeu1pum.js";
37
+ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D-HI9PZG.js";
38
+ import "./skill-commands-Dmi3Y3Cd.js";
39
+ import "./skills-ksP6m2tL.js";
40
+ import { N as rawDataToString } from "./chrome-Cu2_tNPX.js";
41
+ import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-Bq90REOa.js";
42
+ import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-Dtszw3Zn.js";
43
+ import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BToL3HlP.js";
44
+ import { _ as resolveChannelMediaMaxBytes } from "./deliver-s5jR6Rm0.js";
45
+ import "./pi-embedded-helpers-DOSdFz8p.js";
46
46
  import "./paths-A0xdf3yk.js";
47
- import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-Jo7QixCi.js";
48
- import { n as extractOriginalFilename } from "./store-Dt1oCaOn.js";
49
- import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BHmUS6gT.js";
50
- import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-3MFItfGM.js";
47
+ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-fnIb_o_V.js";
48
+ import { n as extractOriginalFilename } from "./store-uf7TpQm3.js";
49
+ import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BkHNUpdB.js";
50
+ import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-ClaO3OHu.js";
51
51
  import "./diagnostic-session-state-DnkpMfCl.js";
52
- import "./image-D5sxTO4B.js";
53
- import "./pi-auth-json-Cx9o75_Z.js";
52
+ import "./image-Bn0ZvbCS.js";
53
+ import "./pi-auth-json-h95g7KA6.js";
54
54
  import "./pi-model-discovery-Cdz3tuFk.js";
55
- import "./manager-3qq3BC5o.js";
56
- import "./gemini-auth-DoZCUeez.js";
57
- import "./sqlite-DLwYpBWC.js";
58
- import "./commands-registry-CMJHsCzz.js";
59
- import "./send-DonsAKvn.js";
60
- import "./outbound-attachment-V-8HPvXC.js";
61
- import "./resolve-route-B34r6gNi.js";
55
+ import "./manager-CrQHoLZe.js";
56
+ import "./gemini-auth-DnMneaw7.js";
57
+ import "./sqlite-BflKfcLD.js";
58
+ import "./commands-registry-DnaRR0It.js";
59
+ import "./send-C6gdiUA_.js";
60
+ import "./outbound-attachment-qB-kgb_3.js";
61
+ import "./resolve-route-kXW9e3Go.js";
62
62
  import "./proxy-DAnyKGG4.js";
63
- import "./replies-55uBdcZx.js";
64
- import "./outbound-BExtRVl2.js";
65
- import "./session-BT2dgHI2.js";
66
- import { t as loginWeb } from "./login-Xauu2cKD.js";
63
+ import "./replies-Djt0Jtri.js";
64
+ import "./outbound-Do8D1BXN.js";
65
+ import "./session-CDaxvhuc.js";
66
+ import { t as loginWeb } from "./login-CYbFrIkH.js";
67
67
  import fs, { createWriteStream } from "node:fs";
68
68
  import path from "node:path";
69
69
  import os from "node:os";
@@ -1,7 +1,7 @@
1
- import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
2
- import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-DZ8OTT0B.js";
3
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-CxzyCF23.js";
4
- import { a as chunkText } from "./chunk-Dw2XBYXv.js";
1
+ import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry--_pGht6S.js";
2
+ import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-C_3iBQe1.js";
3
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-8f4AroIC.js";
4
+ import { a as chunkText } from "./chunk-jvk9axTQ.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs/promises";
7
7
  import { fileURLToPath } from "node:url";
@@ -1,8 +1,8 @@
1
1
  import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
2
2
  import { t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
3
- import { ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
4
- import { A as logWarn, o as resolveAgentWorkspaceDir } from "./agent-scope-BREbt-rZ.js";
5
- import { c as detectMime, l as extensionForMime } from "./image-ops-DZ8OTT0B.js";
3
+ import { ut as resolvePreferredSymiTmpDir } from "./registry--_pGht6S.js";
4
+ import { A as logWarn, o as resolveAgentWorkspaceDir } from "./agent-scope-RSN8nr_m.js";
5
+ import { c as detectMime, l as extensionForMime } from "./image-ops-C_3iBQe1.js";
6
6
  import { n as closeDispatcher, r as createPinnedDispatcher, s as resolvePinnedHostnameWithPolicy, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
7
7
  import path from "node:path";
8
8