@symerian/symi 2.5.2 → 2.5.3

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 (174) hide show
  1. package/dist/{accounts-tNElYrCH.js → accounts-CI6zQTJj.js} +14 -14
  2. package/dist/{accounts-qtxJ-6em.js → accounts-CJR8j_Kq.js} +1 -1
  3. package/dist/{accounts-CWktKM8a.js → accounts-ChTFYj8Q.js} +1 -1
  4. package/dist/{active-listener-C9r8ZB9m.js → active-listener-D6sXIjAg.js} +1 -1
  5. package/dist/{agent-scope-BxoUQqgM.js → agent-scope-Bw1Ed8W9.js} +3 -3
  6. package/dist/{agents-DfyzZKBc.js → agents-CTPFuwCu.js} +4 -4
  7. package/dist/{agents.config-VjZQr5GP.js → agents.config-CQVRXowo.js} +1 -1
  8. package/dist/{agents.config-Dzr8Us0l.js → agents.config-CVlanyIt.js} +1 -1
  9. package/dist/{audio-preflight-D02HwB-I.js → audio-preflight-BkIfnmpi.js} +29 -29
  10. package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
  11. package/dist/{auth-choice-C01glnpg.js → auth-choice-AlA3IixA.js} +1 -1
  12. package/dist/{auth-choice-BJPRC23V.js → auth-choice-BKmjyPNC.js} +1 -1
  13. package/dist/{banner-B4wP-CCZ.js → banner-8_qXSW1S.js} +1 -1
  14. package/dist/{bindings-B7Ke6LJi.js → bindings-BU2hsBd9.js} +2 -2
  15. package/dist/build-info.json +3 -3
  16. package/dist/bundled/boot-md/handler.js +53 -53
  17. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  18. package/dist/bundled/command-logger/handler.js +1 -1
  19. package/dist/bundled/session-memory/handler.js +53 -53
  20. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  21. package/dist/{channel-activity-CsM_hJ_s.js → channel-activity-C9-gaquj.js} +1 -1
  22. package/dist/{channel-options-DRK05uet.js → channel-options-CMm67N4v.js} +1 -1
  23. package/dist/{channel-options-Bb2WRpn4.js → channel-options-nfXd5NWO.js} +1 -1
  24. package/dist/{channel-web-Cv1L-jTo.js → channel-web-D6t5UK5A.js} +1 -1
  25. package/dist/{channels-cli-Dnwswsi2.js → channels-cli-BA9QVK8Q.js} +4 -4
  26. package/dist/{channels-cli-CPvaBiNE.js → channels-cli-B_iBgjWh.js} +4 -4
  27. package/dist/{chrome-EyvdASWt.js → chrome-CxSAp8x3.js} +13 -13
  28. package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
  29. package/dist/{chunk-BW5f05BR.js → chunk-ClbN9Pqy.js} +1 -1
  30. package/dist/{cli-CgQySW2m.js → cli-BF2nSOtU.js} +1 -1
  31. package/dist/{cli-hT0g_Q65.js → cli-DyI0-h78.js} +1 -1
  32. package/dist/{command-format-BaxDnULz.js → command-format-UKHV-j0K.js} +1 -1
  33. package/dist/{command-registry-D7MjQKMD.js → command-registry-DhvgkMQN.js} +9 -9
  34. package/dist/{commands-registry-D7CTCQPm.js → commands-registry-VSmULp-g.js} +4 -4
  35. package/dist/{completion-cli-Bcv09Yuh.js → completion-cli-CqHcRASb.js} +2 -2
  36. package/dist/{completion-cli-BLYlpN4p.js → completion-cli-DJ2AgNQF.js} +1 -1
  37. package/dist/{config-cli-CIkKTucr.js → config-cli-7yzVs6sD.js} +1 -1
  38. package/dist/{config-cli-CtKkpyHu.js → config-cli-9MIL9tVq.js} +1 -1
  39. package/dist/{config-DRbjHIwD.js → config-eEaJddXj.js} +12 -12
  40. package/dist/{configure-BP4M7T_e.js → configure-BWIGtf_8.js} +3 -3
  41. package/dist/{configure-Bhm7x3Ri.js → configure-rs23A6dR.js} +3 -3
  42. package/dist/{deliver-D1ZN6-fl.js → deliver-BA7ZN3iM.js} +20 -20
  43. package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
  44. package/dist/{diagnostic-CI0kRQkt.js → diagnostic-C3nsWaw3.js} +1 -1
  45. package/dist/{doctor-completion-DVs_xVw4.js → doctor-completion-BqOO4r2O.js} +1 -1
  46. package/dist/{doctor-completion-bTUb2Em4.js → doctor-completion-DD-fb-G8.js} +1 -1
  47. package/dist/entry.js +1 -1
  48. package/dist/extensionAPI.js +6 -6
  49. package/dist/{frontmatter-C_bv_0P8.js → frontmatter-DPlG6yha.js} +2 -2
  50. package/dist/{gateway-cli-CY_R8dGA.js → gateway-cli-2R-SuiTy.js} +9 -9
  51. package/dist/{gateway-cli-BPf1OUhU.js → gateway-cli-BVnEz6em.js} +9 -9
  52. package/dist/{gemini-auth-CdSPHuLl.js → gemini-auth-CF48hUR9.js} +1 -1
  53. package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-DJqsJ2-r.js} +7 -7
  54. package/dist/{glass-ui-ws-Cx9mt64o.js → glass-ui-ws-C9w0ySFw.js} +7 -7
  55. package/dist/{glass-ui-ws-DMQldmwk.js → glass-ui-ws-CmDHJq0W.js} +7 -7
  56. package/dist/{health-vuMM-FAs.js → health-CGJe8xON.js} +1 -1
  57. package/dist/{health-CM3gPoYN.js → health-R_6vQfbY.js} +1 -1
  58. package/dist/{hooks-cli-tLOOQscu.js → hooks-cli-CUTMGbml.js} +2 -2
  59. package/dist/{hooks-cli-B8kuyvML.js → hooks-cli-Cvc0R8C2.js} +2 -2
  60. package/dist/{image-Cp3JDEBB.js → image-BGmVDkkw.js} +4 -4
  61. package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
  62. package/dist/{image-ops-CvJzsyvE.js → image-ops-S8-8dAhx.js} +1 -1
  63. package/dist/index.js +6 -6
  64. package/dist/{ir-DccrnjsE.js → ir-CbFUkv_T.js} +4 -4
  65. package/dist/llm-slug-generator.js +53 -53
  66. package/dist/{local-roots-DMwIh5cS.js → local-roots-C7OCYACU.js} +5 -5
  67. package/dist/{login-CwCoxapk.js → login-B8uiUAnV.js} +7 -7
  68. package/dist/{login-qr-Batf3PT5.js → login-qr-CIZk8uKX.js} +12 -12
  69. package/dist/{manager-D_LwXbc6.js → manager-BoLr3xR_.js} +13 -13
  70. package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-CneMHk0N.js} +19 -19
  71. package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-DSHvnTLx.js} +1 -1
  72. package/dist/{message-channel-Dz5lr5b0.js → message-channel-DbsRltF2.js} +1 -1
  73. package/dist/{model-auth-DK43VicI.js → model-auth-CwOuTuXl.js} +9 -9
  74. package/dist/{models-CBtd5YaQ.js → models-DPk6zVF5.js} +2 -2
  75. package/dist/{models-cli-B8Fq0Of1.js → models-cli-1hWA7FrI.js} +2 -2
  76. package/dist/{models-cli-CIp8mElS.js → models-cli-BhijD6uM.js} +3 -3
  77. package/dist/{onboard-DBCSZwxu.js → onboard-BgoNPLnU.js} +2 -2
  78. package/dist/{onboard-CjSHwvTP.js → onboard-CSPuFTdy.js} +2 -2
  79. package/dist/{onboard-channels-BgMpB9vX.js → onboard-channels-D680exuN.js} +1 -1
  80. package/dist/{onboard-channels-eCCJophA.js → onboard-channels-r6Gvo5Cd.js} +1 -1
  81. package/dist/{onboarding-3iCiOVeb.js → onboarding-Dnmpcyzj.js} +3 -3
  82. package/dist/{onboarding-ztTrPGQa.js → onboarding-pxBeD60g.js} +3 -3
  83. package/dist/{onboarding.finalize-DsOBEKtX.js → onboarding.finalize-CBTphwf0.js} +6 -6
  84. package/dist/{onboarding.finalize-bcSfd4yw.js → onboarding.finalize-jsLRDHxC.js} +5 -5
  85. package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-Co2diKdP.js} +2 -2
  86. package/dist/{outbound-D4fN_ZlE.js → outbound-opDNxv-l.js} +7 -7
  87. package/dist/{paths-DLyHUt31.js → paths-Cb87-LzP.js} +1 -1
  88. package/dist/{paths-Cce4PUkG.js → paths-CySxpNhH.js} +5 -5
  89. package/dist/{pi-auth-json-0SYBFZTt.js → pi-auth-json-DPWPoruO.js} +8 -8
  90. package/dist/{pi-embedded-CpI5F8DC.js → pi-embedded-BRw7oe5n.js} +34 -22
  91. package/dist/{pi-embedded-Ch-LcMWg.js → pi-embedded-DkqIIBK5.js} +176 -164
  92. package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
  93. package/dist/{pi-embedded-helpers-ag2bosuj.js → pi-embedded-helpers-DEEaCvEp.js} +52 -52
  94. package/dist/{plugin-registry-CL--iTFl.js → plugin-registry-BtIkzwfi.js} +1 -1
  95. package/dist/{plugin-registry-BfqJjw6d.js → plugin-registry-DZ4m64Mr.js} +1 -1
  96. package/dist/plugin-sdk/{channel-web-mO5qO05p.js → channel-web-CDaDQ_94.js} +1 -1
  97. package/dist/plugin-sdk/index.js +2 -2
  98. package/dist/plugin-sdk/{reply-B4uPw1l4.js → reply-BgTxNeXD.js} +20 -8
  99. package/dist/plugin-sdk/{web-BkEJ_MjB.js → web-B6NRKGGa.js} +2 -2
  100. package/dist/{plugins-DQYI3Fr-.js → plugins-C4C9637U.js} +9 -9
  101. package/dist/{plugins-cli-DVLIR6IN.js → plugins-cli-CRb9nRFi.js} +2 -2
  102. package/dist/{plugins-cli-MaXVJ6uV.js → plugins-cli-DqE-InfX.js} +2 -2
  103. package/dist/{program-v4cRnLjP.js → program-BDQRtHXP.js} +7 -7
  104. package/dist/{program-context-C0vN6LYk.js → program-context-DoK7rKBC.js} +17 -17
  105. package/dist/{prompt-select-styled-CEmtUvNV.js → prompt-select-styled-B3dTk26Y.js} +4 -4
  106. package/dist/{prompt-select-styled-D48W5rxp.js → prompt-select-styled-MqSvQaDb.js} +4 -4
  107. package/dist/{provider-auth-helpers-CPbCxhvj.js → provider-auth-helpers-BDN3x0AU.js} +1 -1
  108. package/dist/{provider-auth-helpers-C4-EqP9W.js → provider-auth-helpers-CwUeZ41c.js} +1 -1
  109. package/dist/{push-apns-DpdcOumU.js → push-apns-BBaXO4aV.js} +1 -1
  110. package/dist/{push-apns-glbAu-g9.js → push-apns-CgmHr336.js} +1 -1
  111. package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
  112. package/dist/{pw-ai-Ch7liUOW.js → pw-ai-DhwRiS06.js} +11 -11
  113. package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-DdZh9PHs.js} +7 -7
  114. package/dist/{register.agent-2jRwf1Rt.js → register.agent-BDIn4sRN.js} +5 -5
  115. package/dist/{register.agent-DrocnT2d.js → register.agent-zqbU35_d.js} +6 -6
  116. package/dist/{register.configure-yy5Qb8fJ.js → register.configure-B9Atehb4.js} +6 -6
  117. package/dist/{register.configure-DULdexW6.js → register.configure-CBWMCe2I.js} +6 -6
  118. package/dist/{register.maintenance-CI3D-c8a.js → register.maintenance-B3SsgHO_.js} +8 -8
  119. package/dist/{register.maintenance-v_G9yCLf.js → register.maintenance-BQy8hEp0.js} +7 -7
  120. package/dist/{register.message-DkwXioit.js → register.message-B6KDPfgh.js} +2 -2
  121. package/dist/{register.message-UoA7D74J.js → register.message-Dg0Q8NL0.js} +2 -2
  122. package/dist/{register.onboard-DFe3IAjB.js → register.onboard-Cg1itYBF.js} +4 -4
  123. package/dist/{register.onboard-D3qTCyiW.js → register.onboard-kaKkBUpb.js} +4 -4
  124. package/dist/{register.setup-DXT4OS3N.js → register.setup-BBQtCyWL.js} +4 -4
  125. package/dist/{register.setup-DO3vwGHY.js → register.setup-BiBByjTo.js} +4 -4
  126. package/dist/{register.status-health-sessions-DGLfWuS4.js → register.status-health-sessions-C3M6B_3w.js} +3 -3
  127. package/dist/{register.status-health-sessions-C5IRI7-t.js → register.status-health-sessions-DL9QESHL.js} +3 -3
  128. package/dist/{register.subclis-PQ2Ulz3J.js → register.subclis-B27L2Tlh.js} +9 -9
  129. package/dist/{registry-CK4e9hn8.js → registry-DP24za6g.js} +17 -17
  130. package/dist/{replies-BIX_isV7.js → replies-DpPvWiGF.js} +3 -3
  131. package/dist/{reply-kuehpmXb.js → reply-ahHa59uT.js} +20 -8
  132. package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-CtL0omgM.js} +1 -1
  133. package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-BVikmvWO.js} +4 -4
  134. package/dist/{retry-Cly39XZB.js → retry-dGG-MbxL.js} +1 -1
  135. package/dist/{run-main-BHKGY1KH.js → run-main-DqlK3Wy-.js} +14 -14
  136. package/dist/{runner-D0QUGA_X.js → runner-B_KP4voe.js} +9 -9
  137. package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
  138. package/dist/{send-DeFniOjh.js → send-CHEOWVc8.js} +6 -6
  139. package/dist/{send-WyRqb4WD.js → send-DbcLJb0P.js} +7 -7
  140. package/dist/{send-B1u-LrcS.js → send-DeEosX8F.js} +18 -18
  141. package/dist/{send-CiTGOvEc.js → send-DwKJK3sM.js} +10 -10
  142. package/dist/{send-DW96zgDL.js → send-zSarozV2.js} +6 -6
  143. package/dist/{server-methods-BHjqwsiI.js → server-methods-B9ZPWP0q.js} +7 -7
  144. package/dist/{server-methods-rmWST_iV.js → server-methods-CGVoOkf3.js} +7 -7
  145. package/dist/{server-node-events-za7_iA-n.js → server-node-events-CjoofPGv.js} +2 -2
  146. package/dist/{server-node-events-KVX4S5Md.js → server-node-events-DzlyRIPt.js} +2 -2
  147. package/dist/{session-SM36BTsl.js → session-DV1MNlbV.js} +8 -8
  148. package/dist/{skill-commands-BJMb_psG.js → skill-commands-D610IKhm.js} +9 -9
  149. package/dist/{skills-BFekKL7i.js → skills-o5WVqM4V.js} +21 -21
  150. package/dist/{sqlite-DRbx2dhW.js → sqlite-6H6Zw1cs.js} +4 -4
  151. package/dist/{status-BJITmlhZ.js → status-Csa1fdSW.js} +2 -2
  152. package/dist/{status-DJhmJYSu.js → status-DNRd5-AN.js} +1 -1
  153. package/dist/{status-Bow6kS56.js → status-Dd3-6fq5.js} +2 -2
  154. package/dist/{status-CRuOmtVo.js → status-TUjwchut.js} +1 -1
  155. package/dist/{store-C0wvOkae.js → store-vVE6N2mH.js} +2 -2
  156. package/dist/{subagent-registry-BxM7J5m6.js → subagent-registry-DfimjEyh.js} +20 -8
  157. package/dist/{subsystem-Bs9YvKLa.js → subsystem-DgpxyDQ_.js} +1 -1
  158. package/dist/{tables-DuZspiBu.js → tables-BIWsCKXJ.js} +1 -1
  159. package/dist/{target-errors-Be1SwYlW.js → target-errors-DyItGyW9.js} +2 -2
  160. package/dist/{thinking-CdlENGRW.js → thinking-Ni0HF-w6.js} +5 -5
  161. package/dist/{tokens-H1H1LiSQ.js → tokens-c_SLAkVb.js} +1 -1
  162. package/dist/{tool-images-DXB7tqWi.js → tool-images-DBCfXdli.js} +2 -2
  163. package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-Bbc9OPFR.js} +3 -3
  164. package/dist/{update-cli-Dqh498qQ.js → update-cli-4mLsTTm5.js} +7 -7
  165. package/dist/{update-cli-BfGdSZRk.js → update-cli-yJuLaKdL.js} +8 -8
  166. package/dist/{update-runner-YRJPtj9J.js → update-runner-C0hYiaj2.js} +1 -1
  167. package/dist/{update-runner-C0iELmzo.js → update-runner-CB0M0lum.js} +1 -1
  168. package/dist/{web-9AS0DiSZ.js → web-BMLeQ_Ql.js} +1 -1
  169. package/dist/{web-CVAyVZBT.js → web-BUrK0rTE.js} +2 -2
  170. package/dist/{web-DFqKskm8.js → web-DrsjOzkW.js} +6 -6
  171. package/dist/{web-CubghJNN.js → web-Nrl97JcY.js} +57 -57
  172. package/dist/{whatsapp-actions-D1RsnX7P.js → whatsapp-actions-oRQjcdQe.js} +23 -23
  173. package/dist/{workspace-wAaHI8-5.js → workspace-CbvamIU6.js} +6 -6
  174. package/package.json +1 -1
@@ -10,7 +10,7 @@ import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
10
10
  import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-ByaQt43P.js";
11
11
  import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-BQINJQIT.js";
12
12
  import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-BmV60pPT.js";
13
- import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CDJYxX5a.js";
13
+ import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-D2SKJnR7.js";
14
14
  import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BNpGMnp-.js";
15
15
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CPfngF0S.js";
16
16
  import { t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
@@ -931,7 +931,7 @@ function isModuleNotFoundError(err) {
931
931
  }
932
932
  async function loadPwAiModule(mode) {
933
933
  try {
934
- return await import("./pw-ai-De-KR9_s.js");
934
+ return await import("./pw-ai-1htA-NnS.js");
935
935
  } catch (err) {
936
936
  if (mode === "soft") return null;
937
937
  if (isModuleNotFoundError(err)) return null;
@@ -3471,11 +3471,11 @@ function createProfileContext(opts, profile) {
3471
3471
  const userDataDir = resolveSymiUserDataDir(profile.name);
3472
3472
  const profileState = getProfileState();
3473
3473
  if (await isHttpReachable(300) && !profileState.running) try {
3474
- await (await import("./pw-ai-De-KR9_s.js")).closePlaywrightBrowserConnection();
3474
+ await (await import("./pw-ai-1htA-NnS.js")).closePlaywrightBrowserConnection();
3475
3475
  } catch {}
3476
3476
  if (profileState.running) await stopRunningBrowser();
3477
3477
  try {
3478
- await (await import("./pw-ai-De-KR9_s.js")).closePlaywrightBrowserConnection();
3478
+ await (await import("./pw-ai-1htA-NnS.js")).closePlaywrightBrowserConnection();
3479
3479
  } catch {}
3480
3480
  if (!fs.existsSync(userDataDir)) return {
3481
3481
  moved: false,
@@ -1,31 +1,31 @@
1
- import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
1
+ import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-CySxpNhH.js";
2
2
  import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
3
- import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-CK4e9hn8.js";
4
- import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-BxoUQqgM.js";
5
- import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
6
- import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-wAaHI8-5.js";
7
- import { r as normalizeChannelId } from "./plugins-DQYI3Fr-.js";
3
+ import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-DP24za6g.js";
4
+ import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-Bw1Ed8W9.js";
5
+ import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
6
+ import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-CbvamIU6.js";
7
+ import { r as normalizeChannelId } from "./plugins-C4C9637U.js";
8
8
  import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
9
9
  import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
10
- import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
11
- import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CvJzsyvE.js";
12
- import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-DK43VicI.js";
13
- import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-Dz5lr5b0.js";
14
- import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DRbjHIwD.js";
15
- import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-EyvdASWt.js";
16
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BFekKL7i.js";
10
+ import { t as formatCliCommand } from "./command-format-UKHV-j0K.js";
11
+ import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-S8-8dAhx.js";
12
+ import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-CwOuTuXl.js";
13
+ import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-DbsRltF2.js";
14
+ import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-eEaJddXj.js";
15
+ import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CxSAp8x3.js";
16
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-o5WVqM4V.js";
17
17
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BoQgnc8X.js";
18
18
  import { t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
19
- import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-C0wvOkae.js";
20
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-CdlENGRW.js";
19
+ import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-vVE6N2mH.js";
20
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-Ni0HF-w6.js";
21
21
  import { n as resolveConversationLabel } from "./conversation-label-DXUkoKcB.js";
22
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DLyHUt31.js";
22
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Cb87-LzP.js";
23
23
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
24
- import { t as sanitizeContentBlocksImages } from "./tool-images-DXB7tqWi.js";
24
+ import { t as sanitizeContentBlocksImages } from "./tool-images-DBCfXdli.js";
25
25
  import fs from "node:fs/promises";
26
26
  import os from "node:os";
27
27
  import path, { posix } from "node:path";
28
- import fs$1, { existsSync, realpathSync } from "node:fs";
28
+ import fsSync, { existsSync, realpathSync } from "node:fs";
29
29
  import { spawn } from "node:child_process";
30
30
  import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
31
31
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
@@ -933,7 +933,7 @@ function isModuleNotFoundError(err) {
933
933
  }
934
934
  async function loadPwAiModule(mode) {
935
935
  try {
936
- return await import("./pw-ai-Ch7liUOW.js");
936
+ return await import("./pw-ai-DhwRiS06.js");
937
937
  } catch (err) {
938
938
  if (mode === "soft") return null;
939
939
  if (isModuleNotFoundError(err)) return null;
@@ -2689,11 +2689,11 @@ async function movePathToTrash(targetPath) {
2689
2689
  return targetPath;
2690
2690
  } catch {
2691
2691
  const trashDir = path.join(os.homedir(), ".Trash");
2692
- fs$1.mkdirSync(trashDir, { recursive: true });
2692
+ fsSync.mkdirSync(trashDir, { recursive: true });
2693
2693
  const base = path.basename(targetPath);
2694
2694
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
2695
- if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
2696
- fs$1.renameSync(targetPath, dest);
2695
+ if (fsSync.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
2696
+ fsSync.renameSync(targetPath, dest);
2697
2697
  return dest;
2698
2698
  }
2699
2699
  }
@@ -2771,7 +2771,7 @@ function createBrowserProfilesService(ctx) {
2771
2771
  } catch {}
2772
2772
  const userDataDir = resolveSymiUserDataDir(name);
2773
2773
  const profileDir = path.dirname(userDataDir);
2774
- if (fs$1.existsSync(profileDir)) {
2774
+ if (fsSync.existsSync(profileDir)) {
2775
2775
  await movePathToTrash(profileDir);
2776
2776
  deleted = true;
2777
2777
  }
@@ -3473,13 +3473,13 @@ function createProfileContext(opts, profile) {
3473
3473
  const userDataDir = resolveSymiUserDataDir(profile.name);
3474
3474
  const profileState = getProfileState();
3475
3475
  if (await isHttpReachable(300) && !profileState.running) try {
3476
- await (await import("./pw-ai-Ch7liUOW.js")).closePlaywrightBrowserConnection();
3476
+ await (await import("./pw-ai-DhwRiS06.js")).closePlaywrightBrowserConnection();
3477
3477
  } catch {}
3478
3478
  if (profileState.running) await stopRunningBrowser();
3479
3479
  try {
3480
- await (await import("./pw-ai-Ch7liUOW.js")).closePlaywrightBrowserConnection();
3480
+ await (await import("./pw-ai-DhwRiS06.js")).closePlaywrightBrowserConnection();
3481
3481
  } catch {}
3482
- if (!fs$1.existsSync(userDataDir)) return {
3482
+ if (!fsSync.existsSync(userDataDir)) return {
3483
3483
  moved: false,
3484
3484
  from: userDataDir
3485
3485
  };
@@ -3898,7 +3898,7 @@ function releaseAllLocksSync() {
3898
3898
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
3899
3899
  } catch {}
3900
3900
  try {
3901
- fs$1.rmSync(held.lockPath, { force: true });
3901
+ fsSync.rmSync(held.lockPath, { force: true });
3902
3902
  } catch {}
3903
3903
  HELD_LOCKS.delete(sessionFile);
3904
3904
  }
@@ -5699,7 +5699,7 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
5699
5699
  }
5700
5700
  function archiveFileOnDisk(filePath, reason) {
5701
5701
  const archived = `${filePath}.${reason}.${(/* @__PURE__ */ new Date()).toISOString().replaceAll(":", "-")}`;
5702
- fs$1.renameSync(filePath, archived);
5702
+ fsSync.renameSync(filePath, archived);
5703
5703
  return archived;
5704
5704
  }
5705
5705
  /**
@@ -5709,7 +5709,7 @@ function archiveFileOnDisk(filePath, reason) {
5709
5709
  function archiveSessionTranscripts(opts) {
5710
5710
  const archived = [];
5711
5711
  for (const candidate of resolveSessionTranscriptCandidates(opts.sessionId, opts.storePath, opts.sessionFile, opts.agentId)) {
5712
- if (!fs$1.existsSync(candidate)) continue;
5712
+ if (!fsSync.existsSync(candidate)) continue;
5713
5713
  try {
5714
5714
  archived.push(archiveFileOnDisk(candidate, opts.reason));
5715
5715
  } catch {}
@@ -5741,15 +5741,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
5741
5741
  let removed = 0;
5742
5742
  let scanned = 0;
5743
5743
  for (const dir of directories) {
5744
- const entries = await fs$1.promises.readdir(dir).catch(() => []);
5744
+ const entries = await fsSync.promises.readdir(dir).catch(() => []);
5745
5745
  for (const entry of entries) {
5746
5746
  const timestamp = parseArchivedTimestamp(entry, reason);
5747
5747
  if (timestamp == null) continue;
5748
5748
  scanned += 1;
5749
5749
  if (now - timestamp <= opts.olderThanMs) continue;
5750
5750
  const fullPath = path.join(dir, entry);
5751
- if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
5752
- await fs$1.promises.rm(fullPath).catch(() => void 0);
5751
+ if (!(await fsSync.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
5752
+ await fsSync.promises.rm(fullPath).catch(() => void 0);
5753
5753
  removed += 1;
5754
5754
  }
5755
5755
  }
@@ -5885,7 +5885,7 @@ function isCacheEnabled(ttlMs) {
5885
5885
  }
5886
5886
  function getFileMtimeMs(filePath) {
5887
5887
  try {
5888
- return fs$1.statSync(filePath).mtimeMs;
5888
+ return fsSync.statSync(filePath).mtimeMs;
5889
5889
  } catch {
5890
5890
  return;
5891
5891
  }
@@ -5964,7 +5964,7 @@ function loadSessionStore(storePath, opts = {}) {
5964
5964
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
5965
5965
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
5966
5966
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
5967
- const raw = fs$1.readFileSync(storePath, "utf-8");
5967
+ const raw = fsSync.readFileSync(storePath, "utf-8");
5968
5968
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
5969
5969
  Atomics.wait(retryBuf, 0, 0, 50);
5970
5970
  continue;
@@ -6116,7 +6116,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
6116
6116
  }
6117
6117
  async function getSessionFileSize(storePath) {
6118
6118
  try {
6119
- return (await fs$1.promises.stat(storePath)).size;
6119
+ return (await fsSync.promises.stat(storePath)).size;
6120
6120
  } catch {
6121
6121
  return null;
6122
6122
  }
@@ -6133,7 +6133,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
6133
6133
  if (fileSize <= maxBytes) return false;
6134
6134
  const backupPath = `${storePath}.bak.${Date.now()}`;
6135
6135
  try {
6136
- await fs$1.promises.rename(storePath, backupPath);
6136
+ await fsSync.promises.rename(storePath, backupPath);
6137
6137
  log.info("rotated session store file", {
6138
6138
  backupPath: path.basename(backupPath),
6139
6139
  sizeBytes: fileSize
@@ -6144,11 +6144,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
6144
6144
  try {
6145
6145
  const dir = path.dirname(storePath);
6146
6146
  const baseName = path.basename(storePath);
6147
- const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6147
+ const backups = (await fsSync.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6148
6148
  const maxBackups = 3;
6149
6149
  if (backups.length > maxBackups) {
6150
6150
  const toDelete = backups.slice(maxBackups);
6151
- for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
6151
+ for (const old of toDelete) await fsSync.promises.unlink(path.join(dir, old)).catch(() => void 0);
6152
6152
  log.info("cleaned up old session store backups", { deleted: toDelete.length });
6153
6153
  }
6154
6154
  } catch {}
@@ -6203,14 +6203,14 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6203
6203
  await rotateSessionFile(storePath, maintenance.rotateBytes);
6204
6204
  }
6205
6205
  }
6206
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6206
+ await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6207
6207
  const json = JSON.stringify(store, null, 2);
6208
6208
  if (process.platform === "win32") {
6209
6209
  const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
6210
6210
  try {
6211
- await fs$1.promises.writeFile(tmp, json, "utf-8");
6211
+ await fsSync.promises.writeFile(tmp, json, "utf-8");
6212
6212
  for (let i = 0; i < 5; i++) try {
6213
- await fs$1.promises.rename(tmp, storePath);
6213
+ await fsSync.promises.rename(tmp, storePath);
6214
6214
  break;
6215
6215
  } catch {
6216
6216
  if (i < 4) await new Promise((r) => setTimeout(r, 50 * (i + 1)));
@@ -6220,27 +6220,27 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6220
6220
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
6221
6221
  throw err;
6222
6222
  } finally {
6223
- await fs$1.promises.rm(tmp, { force: true }).catch(() => void 0);
6223
+ await fsSync.promises.rm(tmp, { force: true }).catch(() => void 0);
6224
6224
  }
6225
6225
  return;
6226
6226
  }
6227
6227
  const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
6228
6228
  try {
6229
- await fs$1.promises.writeFile(tmp, json, {
6229
+ await fsSync.promises.writeFile(tmp, json, {
6230
6230
  mode: 384,
6231
6231
  encoding: "utf-8"
6232
6232
  });
6233
- await fs$1.promises.rename(tmp, storePath);
6234
- await fs$1.promises.chmod(storePath, 384);
6233
+ await fsSync.promises.rename(tmp, storePath);
6234
+ await fsSync.promises.chmod(storePath, 384);
6235
6235
  } catch (err) {
6236
6236
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
6237
6237
  try {
6238
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6239
- await fs$1.promises.writeFile(storePath, json, {
6238
+ await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6239
+ await fsSync.promises.writeFile(storePath, json, {
6240
6240
  mode: 384,
6241
6241
  encoding: "utf-8"
6242
6242
  });
6243
- await fs$1.promises.chmod(storePath, 384);
6243
+ await fsSync.promises.chmod(storePath, 384);
6244
6244
  } catch (err2) {
6245
6245
  if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
6246
6246
  throw err2;
@@ -6249,7 +6249,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6249
6249
  }
6250
6250
  throw err;
6251
6251
  } finally {
6252
- await fs$1.promises.rm(tmp, { force: true });
6252
+ await fsSync.promises.rm(tmp, { force: true });
6253
6253
  }
6254
6254
  }
6255
6255
  async function updateSessionStore(storePath, mutator, opts) {
@@ -6494,8 +6494,8 @@ function resolveMirroredTranscriptText(params) {
6494
6494
  return trimmed ? trimmed : null;
6495
6495
  }
6496
6496
  async function ensureSessionHeader(params) {
6497
- if (fs$1.existsSync(params.sessionFile)) return;
6498
- await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6497
+ if (fsSync.existsSync(params.sessionFile)) return;
6498
+ await fsSync.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6499
6499
  const header = {
6500
6500
  type: "session",
6501
6501
  version: CURRENT_SESSION_VERSION,
@@ -6503,7 +6503,7 @@ async function ensureSessionHeader(params) {
6503
6503
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
6504
6504
  cwd: process.cwd()
6505
6505
  };
6506
- await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
6506
+ await fsSync.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
6507
6507
  encoding: "utf-8",
6508
6508
  mode: 384
6509
6509
  });
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
3
3
  import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
4
4
  import { i as loadConfig } from "./config-DHBLS1Hl.js";
5
- import { m as loadSymiPlugins } from "./subagent-registry-BxM7J5m6.js";
5
+ import { m as loadSymiPlugins } from "./subagent-registry-DfimjEyh.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { ft as loadSymiPlugins } from "./reply-kuehpmXb.js";
2
+ import { ft as loadSymiPlugins } from "./reply-ahHa59uT.js";
3
3
  import { d as getActivePluginRegistry } from "./registry-Cja8eT7G.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
5
5
  import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
@@ -1,6 +1,6 @@
1
1
  import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
2
2
  import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
3
- import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-B4uPw1l4.js";
3
+ import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-BgTxNeXD.js";
4
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
5
  import { n as loadConfig } from "./config-DDkdiUOR.js";
6
6
  import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
@@ -1,6 +1,6 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
2
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 stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, 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 processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, 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 normalizeAccountId$1, 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 listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-B4uPw1l4.js";
3
+ import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, 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 processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, 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 normalizeAccountId$1, 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 listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-BgTxNeXD.js";
4
4
  import "./paths-DR2yt_mP.js";
5
5
  import "./github-copilot-token-D9X2phUj.js";
6
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-BbAvhC25.js";
@@ -47,7 +47,7 @@ import "./paths-A0xdf3yk.js";
47
47
  import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-mFf4i4G9.js";
48
48
  import { n as extractOriginalFilename } from "./store-Do3t33-c.js";
49
49
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BkCUbYGV.js";
50
- import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-mO5qO05p.js";
50
+ import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CDaDQ_94.js";
51
51
  import "./image-BOYy0Ump.js";
52
52
  import "./pi-model-discovery-LbcEa65a.js";
53
53
  import "./api-key-rotation-CVBMpnPc.js";
@@ -27149,7 +27149,16 @@ const BUILTIN_PROFILES = [
27149
27149
  suppressMonologue: true,
27150
27150
  hasStructuredThinking: false
27151
27151
  },
27152
- promptAdditions: ["You are running locally via Ollama. Do not output raw control tokens or internal monologue. Send brief progress updates on long tasks."],
27152
+ promptAdditions: [
27153
+ "CRITICAL OUTPUT RULES:",
27154
+ "- Your response ends when you have delivered the answer. Do not append anything after.",
27155
+ "- Do not output raw control tokens, channel tags, or turn markers.",
27156
+ "- Do not begin any sentence with 'I have addressed' or 'I've reviewed'.",
27157
+ "- Do not write verification checklists, self-assessments, or numbered assessment lists after your answer.",
27158
+ "- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
27159
+ "- If you need to verify your work, do so before writing your response, not after.",
27160
+ "- Send brief progress updates on long tasks so the user knows you are active."
27161
+ ],
27153
27162
  ui: {
27154
27163
  badge: "Local",
27155
27164
  watchdogMs: 9e5,
@@ -27209,12 +27218,15 @@ const BUILTIN_PROFILES = [
27209
27218
  hasStructuredThinking: false
27210
27219
  },
27211
27220
  promptAdditions: [
27212
- "You are running as Gemma 4 via vLLM. Important behavioral rules:",
27213
- "- Never output raw control tokens, channel tags, or turn markers in your responses.",
27214
- "- Never display internal status checks, plans, or self-assessments. Your visible output should only be conversational responses and final results.",
27215
- "- When working on multi-step tasks, send a brief one-line status update every 30-60 seconds so the user knows you are active.",
27221
+ "CRITICAL OUTPUT RULES:",
27222
+ "- Your response ends when you have delivered the answer. Do not append anything after.",
27223
+ "- Do not output raw control tokens, channel tags, turn markers, or <|channel>thought syntax.",
27224
+ "- Do not begin any sentence with 'I have addressed' or 'I've reviewed'.",
27225
+ "- Do not write verification checklists, self-assessments, or numbered assessment lists after your answer.",
27226
+ "- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
27227
+ "- If you need to verify your work, do so before writing your response, not after.",
27216
27228
  "- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
27217
- "- Do not use <|channel>thought or similar syntax. If you need to reason, do so silently."
27229
+ "- When working on multi-step tasks, send a brief one-line status update so the user knows you are active."
27218
27230
  ],
27219
27231
  ui: {
27220
27232
  badge: "CoreWeave",
@@ -35902,7 +35914,7 @@ async function runAgentTurn(params) {
35902
35914
  function createDefaultDeps() {
35903
35915
  return {
35904
35916
  sendMessageWhatsApp: async (...args) => {
35905
- const { sendMessageWhatsApp } = await import("./web-BkEJ_MjB.js");
35917
+ const { sendMessageWhatsApp } = await import("./web-B6NRKGGa.js");
35906
35918
  return await sendMessageWhatsApp(...args);
35907
35919
  },
35908
35920
  sendMessageTelegram: async (...args) => {
@@ -53340,7 +53352,7 @@ function loadWebLoginQr() {
53340
53352
  return webLoginQrPromise;
53341
53353
  }
53342
53354
  function loadWebChannel() {
53343
- webChannelPromise ??= import("./web-BkEJ_MjB.js");
53355
+ webChannelPromise ??= import("./web-B6NRKGGa.js");
53344
53356
  return webChannelPromise;
53345
53357
  }
53346
53358
  function loadWhatsAppActions() {
@@ -1,5 +1,5 @@
1
1
  import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-D9zGZU5t.js";
2
- import "./reply-B4uPw1l4.js";
2
+ import "./reply-BgTxNeXD.js";
3
3
  import "./paths-DR2yt_mP.js";
4
4
  import "./github-copilot-token-D9X2phUj.js";
5
5
  import "./plugins-BbAvhC25.js";
@@ -45,7 +45,7 @@ import "./pi-embedded-helpers-BveUP4hk.js";
45
45
  import "./paths-A0xdf3yk.js";
46
46
  import "./diagnostic-mFf4i4G9.js";
47
47
  import "./store-Do3t33-c.js";
48
- import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-mO5qO05p.js";
48
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-CDaDQ_94.js";
49
49
  import "./image-BOYy0Ump.js";
50
50
  import "./pi-model-discovery-LbcEa65a.js";
51
51
  import "./api-key-rotation-CVBMpnPc.js";
@@ -1,10 +1,10 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
2
- import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-CK4e9hn8.js";
3
- import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
2
+ import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DP24za6g.js";
3
+ import { m as createAccountListHelpers } from "./accounts-CI6zQTJj.js";
4
4
  import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
5
- import { r as isTruthyEnvValue } from "./command-format-BaxDnULz.js";
6
- import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-B7Ke6LJi.js";
7
- import fs from "node:fs";
5
+ import { r as isTruthyEnvValue } from "./command-format-UKHV-j0K.js";
6
+ import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-BU2hsBd9.js";
7
+ import fsSync from "node:fs";
8
8
 
9
9
  //#region src/channels/plugins/account-action-gate.ts
10
10
  function createAccountActionGate(params) {
@@ -186,7 +186,7 @@ function resolveTelegramToken(cfg, opts = {}) {
186
186
  const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
187
187
  const accountTokenFile = accountCfg?.tokenFile?.trim();
188
188
  if (accountTokenFile) {
189
- if (!fs.existsSync(accountTokenFile)) {
189
+ if (!fsSync.existsSync(accountTokenFile)) {
190
190
  opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
191
191
  return {
192
192
  token: "",
@@ -194,7 +194,7 @@ function resolveTelegramToken(cfg, opts = {}) {
194
194
  };
195
195
  }
196
196
  try {
197
- const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
197
+ const token = fsSync.readFileSync(accountTokenFile, "utf-8").trim();
198
198
  if (token) return {
199
199
  token,
200
200
  source: "tokenFile"
@@ -219,7 +219,7 @@ function resolveTelegramToken(cfg, opts = {}) {
219
219
  const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
220
220
  const tokenFile = telegramCfg?.tokenFile?.trim();
221
221
  if (tokenFile && allowEnv) {
222
- if (!fs.existsSync(tokenFile)) {
222
+ if (!fsSync.existsSync(tokenFile)) {
223
223
  opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
224
224
  return {
225
225
  token: "",
@@ -227,7 +227,7 @@ function resolveTelegramToken(cfg, opts = {}) {
227
227
  };
228
228
  }
229
229
  try {
230
- const token = fs.readFileSync(tokenFile, "utf-8").trim();
230
+ const token = fsSync.readFileSync(tokenFile, "utf-8").trim();
231
231
  if (token) return {
232
232
  token,
233
233
  source: "tokenFile"
@@ -1,7 +1,7 @@
1
1
  import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
2
2
  import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
3
3
  import "./thinking-EAliFiVK.js";
4
- import "./reply-kuehpmXb.js";
4
+ import "./reply-ahHa59uT.js";
5
5
  import "./registry-Cja8eT7G.js";
6
6
  import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
7
7
  import "./exec-CWkblSrI.js";
@@ -106,7 +106,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
106
106
  import "./skill-scanner-CLs8u6vQ.js";
107
107
  import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-C1Cebk97.js";
108
108
  import { t as renderTable } from "./table-BTgkRafz.js";
109
- import { t as buildPluginStatusReport } from "./status-CRuOmtVo.js";
109
+ import { t as buildPluginStatusReport } from "./status-TUjwchut.js";
110
110
  import { n as updateNpmInstalledPlugins } from "./update-rw7wJwHd.js";
111
111
  import fs from "node:fs";
112
112
  import os from "node:os";
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
13
13
  import "./call-BcE47FtD.js";
14
14
  import "./message-channel-C9dERklz.js";
15
15
  import "./pairing-token-Byh6drgn.js";
16
- import "./subagent-registry-BxM7J5m6.js";
16
+ import "./subagent-registry-DfimjEyh.js";
17
17
  import "./sessions-CJXnZVjR.js";
18
18
  import "./tokens-Csntmwwn.js";
19
19
  import "./plugins-CwSlLxM8.js";
@@ -102,7 +102,7 @@ import "./npm-registry-spec-DkaZNHAW.js";
102
102
  import "./skill-scanner-BGWOBqLY.js";
103
103
  import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-CgQpVncj.js";
104
104
  import { t as renderTable } from "./table-D01d2GuY.js";
105
- import { t as buildPluginStatusReport } from "./status-DJhmJYSu.js";
105
+ import { t as buildPluginStatusReport } from "./status-DNRd5-AN.js";
106
106
  import { n as updateNpmInstalledPlugins } from "./update-DEMKx4eC.js";
107
107
  import os from "node:os";
108
108
  import path from "node:path";
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
14
14
  import "./call-BcE47FtD.js";
15
15
  import "./message-channel-C9dERklz.js";
16
16
  import "./pairing-token-Byh6drgn.js";
17
- import "./subagent-registry-BxM7J5m6.js";
17
+ import "./subagent-registry-DfimjEyh.js";
18
18
  import "./sessions-CJXnZVjR.js";
19
19
  import "./tokens-Csntmwwn.js";
20
20
  import "./plugins-CwSlLxM8.js";
@@ -99,13 +99,13 @@ import "./prompt-style-DwCXob2h.js";
99
99
  import "./pairing-labels-D1HDboV2.js";
100
100
  import "./pi-tools.policy-De00gPXt.js";
101
101
  import "./catalog-DLQFKucJ.js";
102
- import "./plugin-registry-CL--iTFl.js";
103
- import { n as resolveCliChannelOptions } from "./channel-options-DRK05uet.js";
104
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-PQ2Ulz3J.js";
105
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-D7MjQKMD.js";
102
+ import "./plugin-registry-BtIkzwfi.js";
103
+ import { n as resolveCliChannelOptions } from "./channel-options-CMm67N4v.js";
104
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-B27L2Tlh.js";
105
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-DhvgkMQN.js";
106
106
  import { r as setProgramContext } from "./program-context-CqzR_m-7.js";
107
107
  import { t as forceFreePort } from "./ports-Dn122MUd.js";
108
- import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-B4wP-CCZ.js";
108
+ import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-8_qXSW1S.js";
109
109
  import { Command } from "commander";
110
110
 
111
111
  //#region src/cli/program/context.ts
@@ -213,7 +213,7 @@ function registerPreActionHooks(program, programVersion) {
213
213
  commandPath
214
214
  });
215
215
  if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
216
- const { ensurePluginRegistryLoaded } = await import("./plugin-registry-CL--iTFl.js").then((n) => n.n);
216
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-BtIkzwfi.js").then((n) => n.n);
217
217
  ensurePluginRegistryLoaded();
218
218
  }
219
219
  });