@symerian/symi 2.8.0 → 2.8.1

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 (454) hide show
  1. package/dist/{accounts-CsHEtC81.js → accounts-BGGHyl1f.js} +1 -1
  2. package/dist/{accounts-CoWuDeGc.js → accounts-BuiAFBgQ.js} +9 -9
  3. package/dist/{accounts-DwxSQJVb.js → accounts-DrMzc5pU.js} +1 -1
  4. package/dist/{acp-cli-Dyz2mvXI.js → acp-cli-C0TUmUhf.js} +2 -2
  5. package/dist/{acp-cli-4jjaxdK0.js → acp-cli-D00d-Ubw.js} +17 -17
  6. package/dist/{agent-scope-CMD0I1u5.js → agent-scope-CERuGdJI.js} +20 -20
  7. package/dist/{agents-D1ozYbOH.js → agents-eoJi3qE3.js} +7 -7
  8. package/dist/{agents.config-ErMtDDo4.js → agents.config-CtrswUIx.js} +1 -1
  9. package/dist/{agents.config-Bv0IG4h4.js → agents.config-DXM0gE9W.js} +2 -2
  10. package/dist/{api-key-rotation-DKq4oEtB.js → api-key-rotation-BtVT6xcF.js} +1 -1
  11. package/dist/{audio-preflight-CPgrWwYq.js → audio-preflight-2PVy_DkV.js} +13 -13
  12. package/dist/{audio-preflight-B2aeqqV4.js → audio-preflight-Blt0r4NR.js} +5 -5
  13. package/dist/{audio-preflight-EaLcOatG.js → audio-preflight-C9k2CrHS.js} +5 -5
  14. package/dist/{audio-preflight-DbjnY9Xz.js → audio-preflight-gM3Qwrcb.js} +41 -41
  15. package/dist/{audit-CGYqoAtc.js → audit-Cr9yFA0I.js} +8 -8
  16. package/dist/{audit-DJ8_hvPI.js → audit-D5RvYBiB.js} +29 -29
  17. package/dist/{auth-DhACj3GR.js → auth-B741uFtk.js} +1 -1
  18. package/dist/{auth-choice-CB12eNJ-.js → auth-choice-DBa2G_TZ.js} +8 -8
  19. package/dist/{auth-choice-DwMW_slj.js → auth-choice-Zrf-kdSJ.js} +4 -4
  20. package/dist/{auth-token-lbsF5oZE.js → auth-token-DGeLbqgz.js} +1 -1
  21. package/dist/{banner-CNFC7_eF.js → banner-BMi9YZbw.js} +1 -1
  22. package/dist/{bindings-B1Xxc1Z5.js → bindings-Bb4ucqXy.js} +2 -2
  23. package/dist/{bonjour-discovery-CstczLJ0.js → bonjour-discovery-DUQ6tE92.js} +2 -2
  24. package/dist/{browser-cli-D3nuFEdr.js → browser-cli-C-2Sv0mr.js} +3 -3
  25. package/dist/{browser-cli-eFuTfSlZ.js → browser-cli-CSGTiJC-.js} +21 -21
  26. package/dist/build-info.json +3 -3
  27. package/dist/bundled/boot-md/handler.js +13 -13
  28. package/dist/bundled/session-memory/handler.js +13 -13
  29. package/dist/{call-C4MK_yjX.js → call-CDBn2Uz1.js} +11 -11
  30. package/dist/{call-BNaMkPCd.js → call-Dr-Olg4Q.js} +1 -1
  31. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  32. package/dist/{catalog-BfYWmk2Z.js → catalog-DX1l43Ru.js} +2 -2
  33. package/dist/{channel-activity-DSjiAC__.js → channel-activity-BOiuJS3t.js} +1 -1
  34. package/dist/{channel-options-Swu_EwCD.js → channel-options-B13ezvWK.js} +1 -1
  35. package/dist/{channel-options-lMYAdpZ3.js → channel-options-BllDzejG.js} +5 -5
  36. package/dist/{channel-selection-M2zZz8eI.js → channel-selection-1-tfXZ8A.js} +2 -2
  37. package/dist/{channel-web-CcieLlpA.js → channel-web-BRwXPtcp.js} +21 -21
  38. package/dist/{channels-cli-Dgzgr5J4.js → channels-cli-Bm0xYoB6.js} +101 -101
  39. package/dist/{channels-cli-B3GEnuz1.js → channels-cli-D3M4H1oT.js} +33 -33
  40. package/dist/{channels-status-issues-CbWqOJ48.js → channels-status-issues-BXaOB76F.js} +1 -1
  41. package/dist/{chrome-D7zqP44N.js → chrome-2hGIu-EC.js} +8 -8
  42. package/dist/{chrome-vBL-0C5J.js → chrome-B8hjmGSs.js} +1 -1
  43. package/dist/{chrome-B8SGtnUm.js → chrome-C5_-AhDi.js} +1 -1
  44. package/dist/{chrome-DgrqIAkA.js → chrome-Cx4CChuw.js} +4 -4
  45. package/dist/{chunk-By1SXKyX.js → chunk-1dhPX1NK.js} +1 -1
  46. package/dist/{clack-prompter-CUQX5A6o.js → clack-prompter-DMuVyYP2.js} +5 -5
  47. package/dist/cli/daemon-cli.js +1 -1
  48. package/dist/{cli-BWTnpOnL.js → cli-COBZYf1i.js} +29 -29
  49. package/dist/cli-Cbx40_Ia.js +149 -0
  50. package/dist/{client-ExhSG3Ca.js → client-C8eOm0zv.js} +3 -3
  51. package/dist/{clipboard-BG_Yj8tC.js → clipboard-BIyDbnnI.js} +1 -1
  52. package/dist/{command-registry-BN3XUWxB.js → command-registry-_WyvrPBZ.js} +11 -11
  53. package/dist/{commands-BYvwfQJR.js → commands-Ciy5VdDe.js} +2 -2
  54. package/dist/{commands-registry-C7bAdTsZ.js → commands-registry-CkouCUk6.js} +5 -5
  55. package/dist/{completion-cli-BANsnMeT.js → completion-cli-F5fIobkc.js} +14 -14
  56. package/dist/{completion-cli-CY4L67Oy.js → completion-cli-grldUDtK.js} +2 -2
  57. package/dist/{config-Dr2bRUxQ.js → config-97uAFNlZ.js} +9 -9
  58. package/dist/{config-CNdWbfL9.js → config-BFFFJyGG.js} +14 -14
  59. package/dist/{config-DLPsgyDc.js → config-BIN20Vs8.js} +4 -4
  60. package/dist/{config-DGILsB4T.js → config-DNx1bN25.js} +4 -4
  61. package/dist/{config-cli-Bug55_f2.js → config-cli-BiXOB9xG.js} +5 -5
  62. package/dist/{config-cli-C4-rlDBG.js → config-cli-PWLx4Kty.js} +14 -14
  63. package/dist/{config-guard-C8C9dSvC.js → config-guard-CHipfgSG.js} +22 -22
  64. package/dist/{config-guard-DRASp8ih.js → config-guard-D9JvQJ3e.js} +2 -2
  65. package/dist/{config-validation-DZz4vJfQ.js → config-validation-AbJP9Y5z.js} +1 -1
  66. package/dist/{config-validation-BxkBN9e-.js → config-validation-BZxt4iE5.js} +1 -1
  67. package/dist/{configure-DSLPFXp5.js → configure-B0fDk8Qx.js} +24 -24
  68. package/dist/{configure-PY96qn6g.js → configure-CHga17H0.js} +10 -10
  69. package/dist/{control-service-BDD0jIiK.js → control-service-DDTEvprE.js} +4 -4
  70. package/dist/{control-service-nm4IutS9.js → control-service-TaZG6efS.js} +5 -5
  71. package/dist/{control-ui-assets-Bk9kycHY.js → control-ui-assets-B7moDVHX.js} +3 -3
  72. package/dist/{cron-cli-BaZnmNGV.js → cron-cli-BplJWoBK.js} +3 -3
  73. package/dist/{cron-cli-DinqyWiO.js → cron-cli-DCa-qZPR.js} +19 -19
  74. package/dist/{daemon-cli-cM8fxC2A.js → daemon-cli-C2gclIcC.js} +17 -17
  75. package/dist/{daemon-cli-Di2yiJ1u.js → daemon-cli-sWQB6Gn5.js} +6 -6
  76. package/dist/daemon-cli.js +4 -4
  77. package/dist/{daemon-runtime-DPtiMGpx.js → daemon-runtime-BrYhxGXp.js} +11 -11
  78. package/dist/{daemon-runtime-hkSvv53b.js → daemon-runtime-CGerQZ9S.js} +1 -1
  79. package/dist/{deliver-B1CvftgS.js → deliver-5eO_p-0l.js} +2 -2
  80. package/dist/{deliver-Dl6tRe1Y.js → deliver-BGcxZup9.js} +3 -3
  81. package/dist/{deliver-Dz4L03sb.js → deliver-Bs5u3Hej.js} +2 -2
  82. package/dist/{deliver-DqhOGtUr.js → deliver-Du7r6Fpd.js} +11 -11
  83. package/dist/{devices-cli-Dyvb6Sec.js → devices-cli-B-CJITAy.js} +2 -2
  84. package/dist/{devices-cli-Dn_O3Fit.js → devices-cli-KtKKMXAS.js} +15 -15
  85. package/dist/{diagnostic-5-rvRt9D.js → diagnostic-nbDIYmw3.js} +1 -1
  86. package/dist/{diagnostics-BQ5MQd5_.js → diagnostics-BRwihzJG.js} +5 -5
  87. package/dist/{directory-cli-CULsHSwg.js → directory-cli-3LBc110H.js} +17 -17
  88. package/dist/{directory-cli-D8ms1wJV.js → directory-cli-C-8timRv.js} +1 -1
  89. package/dist/{dm-policy-shared-DIl3pWKM.js → dm-policy-shared-COtH0Zso.js} +2 -2
  90. package/dist/{dns-cli-QhVbZvfY.js → dns-cli-BsmdHJ3Y.js} +1 -1
  91. package/dist/{dns-cli-Bi0kOjvJ.js → dns-cli-DzP-X-Pk.js} +12 -12
  92. package/dist/{dock-CEKgzLx4.js → dock-BXPWY7iQ.js} +6 -6
  93. package/dist/{docs-cli-CDf2VF9y.js → docs-cli-BOa4OKW4.js} +2 -2
  94. package/dist/{docs-cli-7u12l3JC.js → docs-cli-Dol0VaNr.js} +8 -8
  95. package/dist/{doctor-completion-B2olUask.js → doctor-completion-ClEkQmYn.js} +1 -1
  96. package/dist/{doctor-completion-CIC43pSt.js → doctor-completion-aHmv3-PM.js} +3 -3
  97. package/dist/{doctor-config-flow-QND1C8si.js → doctor-config-flow-BuTQ0TuP.js} +4 -4
  98. package/dist/{doctor-config-flow-CfM_Vtr-.js → doctor-config-flow-S3oH5AYd.js} +14 -14
  99. package/dist/entry.js +3 -3
  100. package/dist/{env-Cc17trE2.js → env-DPCHYPeH.js} +1 -1
  101. package/dist/{exec-Cl0vDUtl.js → exec-CWkblSrI.js} +2 -2
  102. package/dist/{exec-approvals-cli-BcW8cImm.js → exec-approvals-cli-CveXtKMZ.js} +6 -6
  103. package/dist/{exec-approvals-cli-5-Ojw8q9.js → exec-approvals-cli-DEO7sHha.js} +25 -25
  104. package/dist/extensionAPI.js +13 -13
  105. package/dist/{fetch-guard-CGJqn2-G.js → fetch-guard-DOPkVbh3.js} +1 -1
  106. package/dist/{frontmatter-vPQXa_GF.js → frontmatter-B8duUx_6.js} +2 -2
  107. package/dist/{frontmatter-N8f7vrV4.js → frontmatter-DWQhtOo7.js} +2 -2
  108. package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
  109. package/dist/{gateway-cli-BbXbBzsU.js → gateway-cli-BUg5JD1X.js} +51 -51
  110. package/dist/{gateway-cli-jiHsHqZ_.js → gateway-cli-Yn1kSGKo.js} +146 -146
  111. package/dist/{gateway-rpc-KfmAxrUL.js → gateway-rpc-Bt_BUUqs.js} +1 -1
  112. package/dist/{gateway-rpc-CYt1cyGd.js → gateway-rpc-VbPciI94.js} +3 -3
  113. package/dist/{glass-ui-ws-Dp6IcNto.js → glass-ui-ws-BgcVXIux.js} +39 -39
  114. package/dist/{glass-ui-ws-3XpYVEpU.js → glass-ui-ws-Wzl5FnK4.js} +108 -108
  115. package/dist/{gmail-setup-utils-DB5phIFm.js → gmail-setup-utils-CzWeiE-Y.js} +1 -1
  116. package/dist/{gmail-setup-utils-Kzgo8pyk.js → gmail-setup-utils-Dq6vwkWW.js} +3 -3
  117. package/dist/{health-DhtSRbW5.js → health-B_PfWJGH.js} +5 -5
  118. package/dist/{health-DrsddZ3n.js → health-Cvo7oeOO.js} +18 -18
  119. package/dist/{health-format-DgOKZHeh.js → health-format-DRCaak6L.js} +1 -1
  120. package/dist/{help-format-DGiy4zKR.js → help-format-B_-M23wP.js} +1 -1
  121. package/dist/{hooks-cli-CRl0NFdw.js → hooks-cli-BN9bIYZd.js} +102 -102
  122. package/dist/{hooks-cli-D6nQLA3A.js → hooks-cli-Bfsi0AkF.js} +32 -32
  123. package/dist/{hooks-status-CpIIHcYL.js → hooks-status-CEoLdlyb.js} +2 -2
  124. package/dist/{hooks-status-JLg5Xawr.js → hooks-status-oUebZVnL.js} +3 -3
  125. package/dist/{image-CjC-1dVF.js → image-AJDd8Cdk.js} +2 -2
  126. package/dist/{image-BRRsGY0d.js → image-BWkg49Ov.js} +2 -2
  127. package/dist/{image-XRQO3y5K.js → image-C53MgRGd.js} +5 -5
  128. package/dist/{image-CGXOMGnW.js → image-CjbeVVV2.js} +2 -2
  129. package/dist/{image-ops-DbvmPzLz.js → image-ops-1OJMSAUX.js} +11 -11
  130. package/dist/index.js +98 -98
  131. package/dist/{inspect-BoO8fD_R.js → inspect-CvbbCuoa.js} +4 -4
  132. package/dist/{install-safe-path-D3mg1DMG.js → install-safe-path-D3Uz77u7.js} +11 -11
  133. package/dist/{installs-CugTuSqa.js → installs-DQcRVF1U.js} +11 -11
  134. package/dist/{ir-htBEKN5T.js → ir-CLyPlwVm.js} +8 -8
  135. package/dist/{lifecycle-core-DQuwMCxt.js → lifecycle-core-Bd3890eI.js} +7 -7
  136. package/dist/{lifecycle-core-CcARxO4I.js → lifecycle-core-DfG6SMRb.js} +2 -2
  137. package/dist/{links-BprsSFRL.js → links-3i1eUga4.js} +1 -1
  138. package/dist/llm-slug-generator.js +13 -13
  139. package/dist/{local-roots-CbsQgONv.js → local-roots-C06RFqzi.js} +4 -4
  140. package/dist/{logging-BNMqqaRZ.js → logging-KpicI3yD.js} +1 -1
  141. package/dist/{login-CdVFnycK.js → login-BCagDpQZ.js} +6 -6
  142. package/dist/{login-D-LEGTby.js → login-CnA1mB2R.js} +2 -2
  143. package/dist/{login-27ZiwM_O.js → login-T7kDkvde.js} +2 -2
  144. package/dist/{login-CSLPivOr.js → login-hXRC5XxS.js} +2 -2
  145. package/dist/{login-qr-CcAJRuhX.js → login-qr-BQuilSmC.js} +2 -2
  146. package/dist/{login-qr-CMw8yz3N.js → login-qr-CpVeGDUX.js} +2 -2
  147. package/dist/{login-qr-fxvkEb1m.js → login-qr-JDtM1QAp.js} +11 -11
  148. package/dist/{login-qr-XfTvJKCU.js → login-qr-heMXP8hR.js} +2 -2
  149. package/dist/{logs-cli-D6BGgAPS.js → logs-cli-BFtP_HHd.js} +3 -3
  150. package/dist/{logs-cli-CSKQzdW7.js → logs-cli-izNrGBH8.js} +16 -16
  151. package/dist/{manager-BA66Ip7z.js → manager-j0fGrRVJ.js} +17 -17
  152. package/dist/{manifest-registry-BjdnhvQI.js → manifest-registry-BDSRH8nU.js} +1 -1
  153. package/dist/{markdown-tables-CtqzlcR-.js → markdown-tables-Dh42d7MA.js} +1 -1
  154. package/dist/{memory-cli-CasXimAY.js → memory-cli-C5rurQKT.js} +19 -19
  155. package/dist/{memory-cli-_TNDqv0g.js → memory-cli-CtlEyRGC.js} +1 -1
  156. package/dist/{message-channel-7DbNScAz.js → message-channel-aT-I_DTX.js} +1 -1
  157. package/dist/{model-BXhNu0Qh.js → model-BoZOGhCX.js} +1 -1
  158. package/dist/{model-catalog-DFpPNrZd.js → model-catalog-1_ccX7Ey.js} +2 -2
  159. package/dist/{model-catalog-DqcNbBYD.js → model-catalog-BYr_V3sr.js} +4 -4
  160. package/dist/{model-picker-QMTd3D61.js → model-picker-BLIS2Blr.js} +2 -2
  161. package/dist/{model-picker-CCmi1muC.js → model-picker-CxH5YGoc.js} +3 -3
  162. package/dist/{model-selection-CuILBsWw.js → model-selection-B2_K06m3.js} +12 -12
  163. package/dist/{models-BYEgYrAJ.js → models-BDoxJ7Bo.js} +8 -8
  164. package/dist/{models-cli-nb1li8l_.js → models-cli-hgropb_c.js} +32 -32
  165. package/dist/{models-cli-AD0-skIW.js → models-cli-wTs0n8az.js} +98 -98
  166. package/dist/{models-config-CSJmj9FT.js → models-config-Bkimvp-w.js} +8 -8
  167. package/dist/{models-config-BqSVT28O.js → models-config-BqcwJMkB.js} +1 -1
  168. package/dist/{node-cli-DekrZ-X6.js → node-cli-DyndcQUI.js} +9 -9
  169. package/dist/{node-cli-CSsGOQHw.js → node-cli-F8PSJBIs.js} +42 -42
  170. package/dist/{node-service-7NlIX6aC.js → node-service-CD47Qpf1.js} +1 -1
  171. package/dist/{nodes-cli-C5aKkdmZ.js → nodes-cli-BlzBpBhR.js} +21 -21
  172. package/dist/{nodes-cli-DHkfCxuN.js → nodes-cli-DHn1Guka.js} +3 -3
  173. package/dist/{nodes-screen-BAHauVrv.js → nodes-screen-8Bq7DiSa.js} +5 -5
  174. package/dist/{note-MM9eO0Rn.js → note-DQ9BvHF2.js} +2 -2
  175. package/dist/{npm-registry-spec-ghNWhajT.js → npm-registry-spec-C0CPT3vr.js} +11 -11
  176. package/dist/{onboard-lO9hWdx0.js → onboard-BZs1tHBm.js} +7 -7
  177. package/dist/{onboard-CZh8cSWo.js → onboard-CxdkxIZF.js} +18 -18
  178. package/dist/{onboard-channels-BEq_PyRp.js → onboard-channels-BTPvacsB.js} +9 -9
  179. package/dist/{onboard-channels-s5fSA8ef.js → onboard-channels-CBfxXGbt.js} +1 -1
  180. package/dist/{onboard-custom-CTo4kcww.js → onboard-custom-CO9mcbCj.js} +3 -3
  181. package/dist/{onboard-custom-Cq9jJt4p.js → onboard-custom-DimG6oNT.js} +2 -2
  182. package/dist/{onboard-helpers-fhD0IUuO.js → onboard-helpers-D0Ly4Vjl.js} +12 -12
  183. package/dist/{onboard-helpers-UuZ8HSEZ.js → onboard-helpers-D60oT6LF.js} +2 -2
  184. package/dist/{onboard-hooks-B-pnvKvW.js → onboard-hooks-BGyToRFL.js} +8 -8
  185. package/dist/{onboard-hooks-CCBJLnvk.js → onboard-hooks-CzgLDxnB.js} +3 -3
  186. package/dist/{onboard-remote-DDgLa3Vy.js → onboard-remote-CwrjzUqO.js} +1 -1
  187. package/dist/{onboard-remote-NHov7cSj.js → onboard-remote-quxRARtk.js} +3 -3
  188. package/dist/{onboard-skills-BIdt6RUk.js → onboard-skills-BHf0m7dl.js} +4 -4
  189. package/dist/{onboard-skills-DAYtUfIO.js → onboard-skills-Cyib4kUe.js} +3 -3
  190. package/dist/{onboarding-CE0NZTsb.js → onboarding-DLQAQHvb.js} +11 -11
  191. package/dist/{onboarding-B_UIY3m6.js → onboarding-DY_SZcCu.js} +17 -17
  192. package/dist/{onboarding.finalize-B0XmqpKF.js → onboarding.finalize-B51VEYgz.js} +36 -36
  193. package/dist/{onboarding.finalize-BsU1crRf.js → onboarding.finalize-Dh9-KJYq.js} +100 -100
  194. package/dist/{onboarding.gateway-config-vl8HN3eg.js → onboarding.gateway-config-DORMSKZH.js} +4 -4
  195. package/dist/{onboarding.gateway-config-BWQknGOU.js → onboarding.gateway-config-DqcffEBK.js} +23 -23
  196. package/dist/{openai-model-default-Blq9uvRk.js → openai-model-default-vX2x-JBb.js} +3 -3
  197. package/dist/{outbound-BMHbaIfe.js → outbound-BgdbU8dM.js} +1 -1
  198. package/dist/{outbound-C-N_MLa9.js → outbound-D8CIKEmi.js} +1 -1
  199. package/dist/{outbound-BiWh1q1A.js → outbound-DmKypkF6.js} +1 -1
  200. package/dist/{outbound-attachment-BkFGwaSs.js → outbound-attachment-8Ash8xxk.js} +2 -2
  201. package/dist/{outbound-mrBI1WIz.js → outbound-m4c5ikTk.js} +6 -6
  202. package/dist/{pairing-cli-K0ukdFvK.js → pairing-cli-CWJGMGos.js} +16 -16
  203. package/dist/{pairing-cli-B6RCNI46.js → pairing-cli-Cun8TeHF.js} +1 -1
  204. package/dist/{pairing-labels-D9x7oiw4.js → pairing-labels-C_2AZhnk.js} +1 -1
  205. package/dist/{pairing-store-BWJkbEAO.js → pairing-store-BRVmRYf9.js} +3 -3
  206. package/dist/{pairing-token-AV-MMfVE.js → pairing-token-CX3NN_qj.js} +7 -7
  207. package/dist/{path-env-DA-j83rn.js → path-env-BaQ2E7uD.js} +1 -1
  208. package/dist/{paths-CZOwZqBo.js → paths-BBm9fwuG.js} +2 -2
  209. package/dist/{pi-auth-json-D1uXhtMd.js → pi-auth-json-6eMLkYzE.js} +5 -5
  210. package/dist/{pi-embedded-qs5KiOK6.js → pi-embedded-BPKyWoaL.js} +30 -30
  211. package/dist/{pi-embedded-helpers-BXWrqv7y.js → pi-embedded-helpers-BnXpCAW8.js} +1 -1
  212. package/dist/{pi-embedded-helpers-CsW_RmEy.js → pi-embedded-helpers-Cy5TV1gC.js} +7 -7
  213. package/dist/{pi-embedded-helpers-BH3H_TVp.js → pi-embedded-helpers-CyvA5vPW.js} +5 -5
  214. package/dist/{pi-embedded-helpers-C6RXiJak.js → pi-embedded-helpers-DWVs9MNT.js} +5 -5
  215. package/dist/{pi-tools.policy-Cl6lWwCz.js → pi-tools.policy-BL5fmuL6.js} +5 -5
  216. package/dist/{pi-tools.policy-BMAdRKfu.js → pi-tools.policy-D9N568kG.js} +2 -2
  217. package/dist/{plugin-auto-enable-RNOGdTxV.js → plugin-auto-enable-t8guhJJh.js} +5 -5
  218. package/dist/{plugin-registry-B-vvzltD.js → plugin-registry-COKpZSsh.js} +2 -2
  219. package/dist/{plugin-registry-6KfG_n2O.js → plugin-registry-CW-3bjRM.js} +5 -5
  220. package/dist/plugin-sdk/{audio-preflight-Cg8xj0Hg.js → audio-preflight-CU60zXtN.js} +5 -5
  221. package/dist/plugin-sdk/{channel-web-DKYecnwc.js → channel-web-D74j_bFK.js} +7 -7
  222. package/dist/plugin-sdk/{chrome-DbHBjYJw.js → chrome-DwLnr9B6.js} +1 -1
  223. package/dist/plugin-sdk/config/validation.d.ts +1 -0
  224. package/dist/plugin-sdk/{config-19_EeAup.js → config-CX45K2kw.js} +4 -4
  225. package/dist/plugin-sdk/{deliver-ClsbfK97.js → deliver-DQWcP502.js} +2 -2
  226. package/dist/plugin-sdk/{image-26CwQSBp.js → image-c8yrzz13.js} +2 -2
  227. package/dist/plugin-sdk/index.js +17 -17
  228. package/dist/plugin-sdk/{login-DZGc3XfU.js → login-CgGNscHV.js} +2 -2
  229. package/dist/plugin-sdk/{login-qr-eX5I4Xfr.js → login-qr-B6ZcZ5Iv.js} +2 -2
  230. package/dist/plugin-sdk/{outbound-CQSAobOO.js → outbound-CH8Kpb5X.js} +1 -1
  231. package/dist/plugin-sdk/{pi-embedded-helpers-BYLxo2e_.js → pi-embedded-helpers-CnZS33KE.js} +5 -5
  232. package/dist/plugin-sdk/{pw-ai-CpZBzkR6.js → pw-ai-D79szuoM.js} +2 -2
  233. package/dist/plugin-sdk/{replies-CdQLq6sc.js → replies-BGZQ2zkY.js} +1 -1
  234. package/dist/plugin-sdk/{reply-C5rK22_g.js → reply-Cn5oq3Mv.js} +30 -30
  235. package/dist/plugin-sdk/{runner-Cl5wt7Wt.js → runner-CfIq7N_U.js} +2 -2
  236. package/dist/plugin-sdk/{send-WZBqxTGG.js → send-CMnqE_02.js} +1 -1
  237. package/dist/plugin-sdk/{send-nCHlW80h.js → send-DP_L-eID.js} +1 -1
  238. package/dist/plugin-sdk/{send-CCOhpuCe.js → send-DisqcLq5.js} +1 -1
  239. package/dist/plugin-sdk/{send-DkxYKVow.js → send-VTqckqkv.js} +1 -1
  240. package/dist/plugin-sdk/{send-C5DRj-Yy.js → send-XIssXpp9.js} +1 -1
  241. package/dist/plugin-sdk/{session-BB4jICgu.js → session-qC61jvp8.js} +1 -1
  242. package/dist/plugin-sdk/{web-CyevOlEa.js → web-BiP5CZ6b.js} +17 -17
  243. package/dist/plugin-sdk/{whatsapp-actions-BlYA3m85.js → whatsapp-actions-B8B69NKY.js} +2 -2
  244. package/dist/{plugins-C9rr430_.js → plugins-CFHHpXfJ.js} +5 -5
  245. package/dist/{plugins-cli-DL6LRyGj.js → plugins-cli-Bg1YsfaH.js} +95 -95
  246. package/dist/{plugins-cli-D6vH-Nyp.js → plugins-cli-CSHFhDUj.js} +30 -30
  247. package/dist/{ports-BnU8MBAD.js → ports-BOmtxoTv.js} +5 -5
  248. package/dist/{ports-DTdKHjJC.js → ports-DtW62rqS.js} +2 -2
  249. package/dist/{program-0aC7TTR5.js → program-DinHHdhg.js} +36 -36
  250. package/dist/{program-context-Ds8tCDix.js → program-context-CKBTrauv.js} +40 -40
  251. package/dist/{progress-oTBhmPqz.js → progress-jIePzvGA.js} +2 -2
  252. package/dist/{prompt-select-styled-BSDrVAdJ.js → prompt-select-styled-CVANzIyZ.js} +47 -47
  253. package/dist/{prompt-select-styled-CT9G95RO.js → prompt-select-styled-CrpJBKBs.js} +15 -15
  254. package/dist/{prompt-style-EOeGLfZS.js → prompt-style-CnkMpSXt.js} +1 -1
  255. package/dist/{provider-auth-helpers-DWOwu6XM.js → provider-auth-helpers-CbxUOKs4.js} +2 -2
  256. package/dist/{provider-auth-helpers-BYULQUGQ.js → provider-auth-helpers-DFY-pNQI.js} +8 -8
  257. package/dist/{push-apns-DKj9mU-L.js → push-apns-BoBQDXZE.js} +1 -1
  258. package/dist/{push-apns-DXGzzF5T.js → push-apns-CUFa1Pd-.js} +6 -6
  259. package/dist/{pw-ai-xgKwRq09.js → pw-ai-BO3djYpU.js} +2 -2
  260. package/dist/{pw-ai-CNjUmJzy.js → pw-ai-Dv9ymXc2.js} +13 -13
  261. package/dist/{pw-ai-kK-lzY0O.js → pw-ai-b0RN_w8M.js} +2 -2
  262. package/dist/{pw-ai-XzRJ6Hbn.js → pw-ai-vLjOn4ti.js} +2 -2
  263. package/dist/{qmd-manager-DxmnY8i_.js → qmd-manager-qvLj9jfV.js} +22 -22
  264. package/dist/{qr-cli-zSLl-TnJ.js → qr-cli-CmWTguWw.js} +1 -1
  265. package/dist/{qr-cli-BhGUUQmb.js → qr-cli-D541UhxC.js} +9 -9
  266. package/dist/{register.agent-Bp1pAVUR.js → register.agent-BwwKKDXE.js} +108 -108
  267. package/dist/{register.agent-BCfntWe_.js → register.agent-vTDClltK.js} +37 -37
  268. package/dist/register.configure-CF34YzYT.js +148 -0
  269. package/dist/{register.configure-B1bKzmH-.js → register.configure-CfxNv6O9.js} +42 -42
  270. package/dist/{register.maintenance-1ymBDD6p.js → register.maintenance-DcoVTA7h.js} +113 -113
  271. package/dist/{register.maintenance-B21phEo1.js → register.maintenance-DzrtTaKQ.js} +40 -40
  272. package/dist/{register.message-Bay6X6QX.js → register.message-CRBHsHWv.js} +30 -30
  273. package/dist/{register.message-XXdD-jLB.js → register.message-CTw4-4VQ.js} +87 -87
  274. package/dist/{register.onboard-CXbqWen4.js → register.onboard-BBDN08mZ.js} +101 -101
  275. package/dist/{register.onboard-DZRWK6oK.js → register.onboard-roFc_CQz.js} +36 -36
  276. package/dist/{register.setup-ZVwZaf2y.js → register.setup-C30wQJZY.js} +38 -38
  277. package/dist/{register.setup-zaYMCJN2.js → register.setup-DYG_SiAJ.js} +106 -106
  278. package/dist/{register.status-health-sessions-YUo6ISNv.js → register.status-health-sessions-eI_AzmXf.js} +35 -35
  279. package/dist/{register.status-health-sessions-CoDMi4sN.js → register.status-health-sessions-jg8DtM1r.js} +100 -100
  280. package/dist/{register.subclis-CMWq2vc3.js → register.subclis-UuV3diKa.js} +29 -29
  281. package/dist/{registry-BCOIZ_7w.js → registry-Cja8eT7G.js} +1 -1
  282. package/dist/{replies-DUeZQ2uY.js → replies-BPEDOYuY.js} +3 -3
  283. package/dist/{replies-DWYUgluC.js → replies-BW2PXxdf.js} +1 -1
  284. package/dist/{replies-CVDJDoaY.js → replies-DkuwMDj2.js} +1 -1
  285. package/dist/{replies-B7q4mnne.js → replies-ePWZEvkK.js} +1 -1
  286. package/dist/{reply-BpD7xgst.js → reply-CjNSctUU.js} +159 -159
  287. package/dist/{reply-prefix-D39hchCX.js → reply-prefix-CyyxZKEO.js} +1 -1
  288. package/dist/{resolve-route-Q_WTzI07.js → resolve-route-DMkPwpIu.js} +4 -4
  289. package/dist/{retry-BMonBV_H.js → retry-BoS4e4X_.js} +1 -1
  290. package/dist/{routes-BNs0iQ5V.js → routes-D1NKJx-K.js} +3 -3
  291. package/dist/{routes-BkTIC-j7.js → routes-DTVxE_cg.js} +9 -9
  292. package/dist/{rpc-WxHPe-af.js → rpc-BMNNnAzj.js} +1 -1
  293. package/dist/{rpc-C3Sjavm5.js → rpc-vyoOPPd4.js} +3 -3
  294. package/dist/{run-main-C-52hvex.js → run-main-PNapoUhj.js} +47 -47
  295. package/dist/{runner-Dkm_NuVV.js → runner-BJ-Z_VGK.js} +23 -23
  296. package/dist/{runner-FjsoNqJS.js → runner-BivoPVff.js} +3 -3
  297. package/dist/{runner-BkTZUpbc.js → runner-DJecEIPm.js} +2 -2
  298. package/dist/{runner-Goi892AS.js → runner-DxJM1fE0.js} +2 -2
  299. package/dist/{runtime-guard-D67MHdTe.js → runtime-guard-Dik20CVM.js} +1 -1
  300. package/dist/{sandbox-CDffpo7N.js → sandbox-DkdWg8t2.js} +21 -21
  301. package/dist/{sandbox-DPV_4YfC.js → sandbox-Dz1LHN8P.js} +6 -6
  302. package/dist/{sandbox-cli-TnspSP_1.js → sandbox-cli-4Pg3aVz-.js} +8 -8
  303. package/dist/{sandbox-cli-CPBBjo2b.js → sandbox-cli-DoFBUL8u.js} +33 -33
  304. package/dist/{security-cli-DMKeq2a9.js → security-cli-C82nGvzm.js} +11 -11
  305. package/dist/{security-cli-C8GA5z32.js → security-cli-DVfyt4Oh.js} +49 -49
  306. package/dist/{send-Dxou6Rnv.js → send--j_x4vGq.js} +1 -1
  307. package/dist/{send-D2Nd485B.js → send-4WW1F_LR.js} +1 -1
  308. package/dist/{send-CwDffsbf.js → send-B0PIG8Us.js} +1 -1
  309. package/dist/{send-COxru3tH.js → send-BCMXPmXB.js} +1 -1
  310. package/dist/{send-U86poBMo.js → send-BKCMpduj.js} +1 -1
  311. package/dist/{send-DykoKlYI.js → send-BQfKvVlD.js} +1 -1
  312. package/dist/{send-8q9QYPiA.js → send-BT5Ql2ye.js} +1 -1
  313. package/dist/{send-DaI66hjg.js → send-BemcAE2V.js} +17 -17
  314. package/dist/{send-Cko3Fe1q.js → send-Bgy8wvLG.js} +1 -1
  315. package/dist/{send-Chv2nVdz.js → send-BjjdbJGa.js} +1 -1
  316. package/dist/{send-DePUUl0n.js → send-BsV3b9K7.js} +1 -1
  317. package/dist/{send-CNn4lSc_.js → send-C1W930YU.js} +10 -10
  318. package/dist/{send-CXkYckDj.js → send-Cx7JsbEd.js} +6 -6
  319. package/dist/{send-D70e4hv9.js → send-CzWn3Ehn.js} +1 -1
  320. package/dist/{send-sAAxi0lO.js → send-DSjXNvFT.js} +1 -1
  321. package/dist/{send-DteE8P17.js → send-DX4tQF_D.js} +1 -1
  322. package/dist/{send-aOiJ3p9P.js → send-Dn2YVwXD.js} +1 -1
  323. package/dist/{send-DQLm2Isv.js → send-G6kAuPv2.js} +6 -6
  324. package/dist/{send-BU5PVy1w.js → send-KX-F3Rme.js} +7 -7
  325. package/dist/{send-BcpcV3aV.js → send-dgsxkR24.js} +1 -1
  326. package/dist/{server-context-CiH1YsnY.js → server-context-C1i2ojA-.js} +5 -5
  327. package/dist/{server-context-BZTHNOVm.js → server-context-DcRr8ts9.js} +7 -7
  328. package/dist/{server-methods-CBpF3sxP.js → server-methods-B2fwSC43.js} +62 -62
  329. package/dist/{server-methods-DXfwYYVe.js → server-methods-DnG5AoB5.js} +20 -20
  330. package/dist/{server-node-events-TnKRTq0k.js → server-node-events-B3wjIykx.js} +30 -30
  331. package/dist/{server-node-events-BEZtLxTZ.js → server-node-events-D4pUDOyw.js} +86 -86
  332. package/dist/{service-DOrsaM3M.js → service-osK70kTZ.js} +15 -15
  333. package/dist/{session-CeWcvaiI.js → session-BESYxGUy.js} +1 -1
  334. package/dist/{session-CPusUkkM.js → session-CN_MquLV.js} +1 -1
  335. package/dist/{session-BZZF8LcY.js → session-OF22nBJS.js} +1 -1
  336. package/dist/{session-dirs-DPzjjra2.js → session-dirs-Dgz7kkUM.js} +2 -2
  337. package/dist/{session-utils-BwU25PcV.js → session-utils-BBxN97Q3.js} +3 -3
  338. package/dist/{session-ByU5mscY.js → session-ycnNE5Gj.js} +3 -3
  339. package/dist/{sessions-CbOx7KNK.js → sessions--LmVowda.js} +1 -1
  340. package/dist/{sessions-Djtxy85B.js → sessions-JAT36UjQ.js} +16 -16
  341. package/dist/{sessions-CIZPaeq6.js → sessions-dujM2GaL.js} +3 -3
  342. package/dist/{shared-BxxgWo0P.js → shared-BAXtBVzT.js} +1 -1
  343. package/dist/{shared-CMVP63yp.js → shared-Bfk_uB2s.js} +3 -3
  344. package/dist/{shared-DqIothgf.js → shared-DnmJ0ABB.js} +2 -2
  345. package/dist/{skill-commands-DH2Lk3qm.js → skill-commands-BI3_XEfj.js} +1 -1
  346. package/dist/{skill-commands-DN7gXPZc.js → skill-commands-BmXFcGSz.js} +7 -7
  347. package/dist/{skill-scanner-w3DJvw1Q.js → skill-scanner-hMtQbWPV.js} +5 -5
  348. package/dist/{skills-CRdDiWp5.js → skills-BG8FpqDp.js} +8 -8
  349. package/dist/{skills-KOrYhpO2.js → skills-D_oCiaQn.js} +1 -1
  350. package/dist/{skills-cli-B6cCB26N.js → skills-cli-D_-p4hB8.js} +5 -5
  351. package/dist/{skills-cli-BtRIUFWb.js → skills-cli-pcUdff5w.js} +15 -15
  352. package/dist/{skills-install-CC3d-KUC.js → skills-install-D8JjjETa.js} +7 -7
  353. package/dist/{skills-install-DvZ7SSoo.js → skills-install-Por3jP0P.js} +2 -2
  354. package/dist/{skills-status-Bp5uVeXH.js → skills-status-CKmK1hOo.js} +4 -4
  355. package/dist/{skills-status-hiXk-VxN.js → skills-status-DODCG6UU.js} +2 -2
  356. package/dist/{sqlite-BLIYmv8z.js → sqlite-Dx3J_aSE.js} +13 -13
  357. package/dist/{status-DyffnMr_.js → status-BIq0ufD0.js} +30 -30
  358. package/dist/{status-CZ0tONou.js → status-CE23CPNp.js} +12 -12
  359. package/dist/{status-f3ltB_AD.js → status-CXPgJ3wF.js} +4 -4
  360. package/dist/{status-BE2jrhnJ.js → status-_Ck_41Sc.js} +2 -2
  361. package/dist/{status.update-CYcTB7Yt.js → status.update-BC06qW-b.js} +1 -1
  362. package/dist/{status.update-Bb2okScg.js → status.update-Tn399zd8.js} +3 -3
  363. package/dist/{store-DD3vCMHE.js → store-r1DJSDq-.js} +6 -6
  364. package/dist/{subagent-registry-zZsnz-pN.js → subagent-registry-CL4ePIya.js} +47 -47
  365. package/dist/{subsystem-D0XKB3aa.js → subsystem-D9vIQve0.js} +2 -2
  366. package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
  367. package/dist/{system-cli-CwtiAtpn.js → system-cli-B-McXGqS.js} +3 -3
  368. package/dist/{system-cli-ffFSaLNO.js → system-cli-CFcB0jkk.js} +16 -16
  369. package/dist/{systemd-CtXK9LlU.js → systemd-DT6SbCim.js} +7 -7
  370. package/dist/{systemd-hints-Due8_AmQ.js → systemd-hints-C0DMTZBt.js} +6 -6
  371. package/dist/{systemd-hints-BUUwCZ6P.js → systemd-hints-DzdsDX7y.js} +1 -1
  372. package/dist/{systemd-linger-DtkQmjPn.js → systemd-linger-DCskIKcx.js} +2 -2
  373. package/dist/{table-12S47NpE.js → table-BKlH0YlA.js} +2 -2
  374. package/dist/{tables-DW0bUdnj.js → tables-iPPN3LK6.js} +1 -1
  375. package/dist/{tailscale-Bnz9LX8t.js → tailscale-D5dKabOc.js} +3 -3
  376. package/dist/{target-errors-Da7cSkdR.js → target-errors-7AvoVa10.js} +4 -4
  377. package/dist/{tokens-DfmvUPwG.js → tokens-rjshCXiN.js} +1 -1
  378. package/dist/{tool-display-C4ReBzq6.js → tool-display-D8N3rsYt.js} +1 -1
  379. package/dist/{tool-images-BwX-hf9e.js → tool-images-DvUBlqjX.js} +2 -2
  380. package/dist/{tool-loop-detection-zh1Z1tsw.js → tool-loop-detection-DZQMPDma.js} +3 -3
  381. package/dist/{trash-z1I9i1a0.js → trash-DcMh1i4B.js} +1 -1
  382. package/dist/{tui-DXuBKPLb.js → tui-DTMLSkep.js} +10 -10
  383. package/dist/{tui-8l-m_uc1.js → tui-cYHBP6Te.js} +4 -4
  384. package/dist/{tui-cli-p3S0o6fF.js → tui-cli-B7Q3S-tU.js} +41 -41
  385. package/dist/{tui-cli-kbPF3ECR.js → tui-cli-Dwzv1CWE.js} +11 -11
  386. package/dist/{unified-runner-DoRO-7cx.js → unified-runner-C-vgxFL9.js} +34 -34
  387. package/dist/{update-mUrRHDbC.js → update-DdQCEAVD.js} +5 -5
  388. package/dist/{update-check-DT2_cK30.js → update-check-7EzEjSzb.js} +7 -7
  389. package/dist/{update-cli-BqG0_1zI.js → update-cli-ChsPWPb-.js} +123 -123
  390. package/dist/{update-cli-DJuypXrE.js → update-cli-DC8F6H6w.js} +43 -43
  391. package/dist/{update-runner-k8e3CsmV.js → update-runner-DAzZKXex.js} +1 -1
  392. package/dist/{update-runner-CgMJg9JC.js → update-runner-DmjXHVnN.js} +17 -17
  393. package/dist/{utils-CKbAkXt8.js → utils-B-0b9bGM.js} +2 -2
  394. package/dist/web-CGoJq6aj.js +110 -0
  395. package/dist/{web-oR_uHOHO.js → web-DHyrjb4O.js} +32 -32
  396. package/dist/{web-DdTVU2-j.js → web-DYcHjdh6.js} +16 -16
  397. package/dist/{web-D8psIPtZ.js → web-GMxAEtPW.js} +16 -16
  398. package/dist/{webhooks-cli-BDYUNuFx.js → webhooks-cli-Dh-LPm5O.js} +13 -13
  399. package/dist/{webhooks-cli-NIPApN-o.js → webhooks-cli-FAtTDk-t.js} +4 -4
  400. package/dist/{whatsapp-actions-Bv832OJO.js → whatsapp-actions-BATwVB6H.js} +2 -2
  401. package/dist/{whatsapp-actions-nCsV7Byz.js → whatsapp-actions-C3MeREA6.js} +24 -24
  402. package/dist/{whatsapp-actions-DXoOU2ZS.js → whatsapp-actions-CkYUMdA6.js} +2 -2
  403. package/dist/{whatsapp-actions-BXOOAxsQ.js → whatsapp-actions-yvcUUVqi.js} +2 -2
  404. package/dist/{widearea-dns-DRQ9Yarp.js → widearea-dns-CyVOLgNE.js} +1 -1
  405. package/dist/{with-timeout-qiJhLOkG.js → with-timeout-Bp4zv_gp.js} +1 -1
  406. package/dist/{with-timeout-QT58mpLF.js → with-timeout-BuxPQuvQ.js} +2 -2
  407. package/dist/{workspace-DoddHbh6.js → workspace-B4H-2N8y.js} +2 -2
  408. package/dist/{workspace-ct_-gUkv.js → workspace-B51TF6q3.js} +1 -1
  409. package/dist/{workspace-dirs-CtYGkBgJ.js → workspace-dirs-DODMY2yG.js} +1 -1
  410. package/dist/{wsl-xNOi_Ch8.js → wsl-q8spwrME.js} +2 -2
  411. package/extensions/bluebubbles/package.json +1 -1
  412. package/extensions/copilot-proxy/package.json +1 -1
  413. package/extensions/diagnostics-otel/package.json +1 -1
  414. package/extensions/discord/package.json +1 -1
  415. package/extensions/feishu/package.json +1 -1
  416. package/extensions/google-antigravity-auth/package.json +1 -1
  417. package/extensions/google-gemini-cli-auth/package.json +1 -1
  418. package/extensions/googlechat/package.json +1 -1
  419. package/extensions/imessage/package.json +1 -1
  420. package/extensions/irc/package.json +1 -1
  421. package/extensions/learning-loop/package.json +1 -1
  422. package/extensions/line/package.json +1 -1
  423. package/extensions/llm-task/package.json +1 -1
  424. package/extensions/matrix/CHANGELOG.md +6 -0
  425. package/extensions/matrix/package.json +1 -1
  426. package/extensions/mattermost/package.json +1 -1
  427. package/extensions/memory-core/package.json +1 -1
  428. package/extensions/memory-lancedb/package.json +1 -1
  429. package/extensions/minimax-portal-auth/package.json +1 -1
  430. package/extensions/msteams/CHANGELOG.md +6 -0
  431. package/extensions/msteams/package.json +1 -1
  432. package/extensions/nextcloud-talk/package.json +1 -1
  433. package/extensions/nostr/CHANGELOG.md +6 -0
  434. package/extensions/nostr/package.json +1 -1
  435. package/extensions/open-prose/package.json +1 -1
  436. package/extensions/outlook/package.json +1 -1
  437. package/extensions/pipeline/package.json +1 -1
  438. package/extensions/signal/package.json +1 -1
  439. package/extensions/slack/package.json +1 -1
  440. package/extensions/telegram/package.json +1 -1
  441. package/extensions/tlon/package.json +1 -1
  442. package/extensions/twitch/CHANGELOG.md +6 -0
  443. package/extensions/twitch/package.json +1 -1
  444. package/extensions/voice-call/CHANGELOG.md +6 -0
  445. package/extensions/voice-call/package.json +1 -1
  446. package/extensions/whatsapp/package.json +1 -1
  447. package/extensions/zalo/CHANGELOG.md +6 -0
  448. package/extensions/zalo/package.json +1 -1
  449. package/extensions/zalouser/CHANGELOG.md +6 -0
  450. package/extensions/zalouser/package.json +1 -1
  451. package/package.json +1 -1
  452. package/dist/cli-BZhiBCT1.js +0 -149
  453. package/dist/register.configure-CD0yhsg2.js +0 -148
  454. package/dist/web-DDtL8Vp-.js +0 -110
@@ -1,112 +1,112 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { g as resolveStateDir, r as STATE_DIR, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
3
- import { B as theme, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as shouldLogVerbose, J as normalizeLogLevel, L as warn, M as logVerbose, O as danger, S as shortenHomePath, V as getChildLogger, X as resolvePreferredSymiTmpDir, d as isRecord$1, i as clampInt, l as escapeRegExp, m as normalizeE164, t as CONFIG_DIR, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./utils-CKbAkXt8.js";
3
+ import { B as theme, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as shouldLogVerbose, J as normalizeLogLevel, L as warn, M as logVerbose, O as danger, S as shortenHomePath, V as getChildLogger, X as resolvePreferredSymiTmpDir, d as isRecord$1, i as clampInt, l as escapeRegExp, m as normalizeE164, t as CONFIG_DIR, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
4
4
  import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-EAliFiVK.js";
5
5
  import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as getSubagentDepth, b as isCronSessionKey, c as normalizeMainKey, d as sanitizeAgentId, h as normalizeAccountId$2, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isAcpSessionKey, x as isSubagentSessionKey, y as isCronRunSessionKey } from "./session-key-DCt45XZa.js";
6
- import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
7
- import { C as createInternalHookEvent, T as triggerInternalHook, _ as clearPluginCommands, b as listPluginCommands, c as normalizeAnyChannelId, f as requireActivePluginRegistry, g as normalizePluginHttpPath, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs } from "./registry-BCOIZ_7w.js";
8
- import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D0XKB3aa.js";
9
- import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-Cl0vDUtl.js";
10
- import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-CMD0I1u5.js";
11
- import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Et as markAuthProfileGood, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, H as OLLAMA_NATIVE_BASE_URL, It as withFileLock, K as requireApiKey, Kt as DEFAULT_PROVIDER, Pt as resolveAuthStorePathForDisplay, Q as getShellPathFromLoginShell, Tt as listProfilesForProvider, U as createOllamaStreamFn, Vt as resolveAuthProfileDisplayLabel, W as getApiKeyForModel, Wt as DEFAULT_CONTEXT_TOKENS, X as resolveModelAuthMode, Y as resolveEnvApiKey, c as normalizeModelRef$2, et as resolveShellEnvFallbackTimeoutMs, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, gt as markAuthProfileUsed, ht as markAuthProfileFailure, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, mt as isProfileInCooldown, n as buildConfiguredAllowlistKeys, o as isCliProvider, p as resolveConfiguredModelRef, pt as getSoonestCooldownExpiry, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet, u as parseModelRef, v as resolveSubagentSpawnModelSelection, vt as resolveApiKeyForProfile, wt as dedupeProfileIds, y as resolveThinkingDefault } from "./model-selection-CuILBsWw.js";
6
+ import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
7
+ import { C as createInternalHookEvent, T as triggerInternalHook, _ as clearPluginCommands, b as listPluginCommands, c as normalizeAnyChannelId, f as requireActivePluginRegistry, g as normalizePluginHttpPath, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs } from "./registry-Cja8eT7G.js";
8
+ import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
9
+ import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
10
+ import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-CERuGdJI.js";
11
+ import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Et as markAuthProfileGood, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, H as OLLAMA_NATIVE_BASE_URL, It as withFileLock, K as requireApiKey, Kt as DEFAULT_PROVIDER, Pt as resolveAuthStorePathForDisplay, Q as getShellPathFromLoginShell, Tt as listProfilesForProvider, U as createOllamaStreamFn, Vt as resolveAuthProfileDisplayLabel, W as getApiKeyForModel, Wt as DEFAULT_CONTEXT_TOKENS, X as resolveModelAuthMode, Y as resolveEnvApiKey, c as normalizeModelRef$2, et as resolveShellEnvFallbackTimeoutMs, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, gt as markAuthProfileUsed, ht as markAuthProfileFailure, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, mt as isProfileInCooldown, n as buildConfiguredAllowlistKeys, o as isCliProvider, p as resolveConfiguredModelRef, pt as getSoonestCooldownExpiry, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet, u as parseModelRef, v as resolveSubagentSpawnModelSelection, vt as resolveApiKeyForProfile, wt as dedupeProfileIds, y as resolveThinkingDefault } from "./model-selection-B2_K06m3.js";
12
12
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DAu1a6BX.js";
13
13
  import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
14
14
  import { t as parseBooleanValue$1 } from "./boolean-BsqeuxE6.js";
15
- import { t as isTruthyEnvValue } from "./env-Cc17trE2.js";
16
- import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-7DbNScAz.js";
17
- import { $ as parseDiscordTarget, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as createDiscordRestClient, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as createDiscordClient, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordSystemLocation, a as removeReactionDiscord, at as normalizeDiscordAllowList, b as sendWebhookMessageDiscord, bt as fetchChannelPermissionsDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordChannelConfigWithFallback, d as parseDiscordModalCustomId, dt as resolveDiscordOwnerAllowFrom, et as resolveDiscordChannelId, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordShouldRequireMention, g as sendMessageDiscord, gt as formatDiscordUserTag, h as resolveDiscordModalEntry, ht as formatDiscordReactionEmoji, i as removeOwnReactionsDiscord, it as isDiscordGroupAllowedByPolicy, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordGuildEntry, m as resolveDiscordComponentEntry, mt as shouldEmitDiscordReactionNotification, n as fetchReactionsDiscord, nt as listDiscordDirectoryPeersLive, o as sendDiscordComponentMessage, ot as normalizeDiscordSlug, p as readDiscordComponentSpec, pt as resolveGroupDmAllow, q as deleteChannelDiscord, r as reactMessageDiscord, rt as allowListMatches$1, s as createDiscordFormModal, st as resolveDiscordAllowListMatch, tt as listDiscordDirectoryGroupsLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordMemberAccessState, v as sendStickerDiscord, vt as resolveTimestampMs, w as fetchMessageDiscord, wt as chunkDiscordTextWithMode, x as createThreadDiscord, xt as hasAnyGuildPermissionDiscord, y as sendVoiceMessageDiscord, yt as fetchDiscord, z as listGuildChannelsDiscord } from "./send-DaI66hjg.js";
18
- import { A as parseConfigPath, B as resolveAgentMaxConcurrent, C as parseDurationMs, D as setConfigOverride, E as resetConfigOverrides, H as VERSION, M as unsetConfigValueAtPath, O as unsetConfigOverride, T as getConfigOverrides, _ as isInboundPathAllowed, b as resolveIMessageRemoteAttachmentRoots, c as resolveConfigSnapshotHash, h as resolveTelegramCustomCommands, i as loadConfig, j as setConfigValueAtPath, k as getConfigValueAtPath, l as writeConfigFile, m as normalizeTelegramCommandName, o as readConfigFileSnapshot, p as TELEGRAM_COMMAND_NAME_PATTERN, u as validateConfigObjectWithPlugins, w as validateJsonSchemaValue, x as normalizeScpRemoteHost, y as resolveIMessageAttachmentRoots, z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-CNdWbfL9.js";
19
- import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-BjdnhvQI.js";
15
+ import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
16
+ import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-aT-I_DTX.js";
17
+ import { $ as parseDiscordTarget, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as createDiscordRestClient, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as createDiscordClient, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordSystemLocation, a as removeReactionDiscord, at as normalizeDiscordAllowList, b as sendWebhookMessageDiscord, bt as fetchChannelPermissionsDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordChannelConfigWithFallback, d as parseDiscordModalCustomId, dt as resolveDiscordOwnerAllowFrom, et as resolveDiscordChannelId, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordShouldRequireMention, g as sendMessageDiscord, gt as formatDiscordUserTag, h as resolveDiscordModalEntry, ht as formatDiscordReactionEmoji, i as removeOwnReactionsDiscord, it as isDiscordGroupAllowedByPolicy, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordGuildEntry, m as resolveDiscordComponentEntry, mt as shouldEmitDiscordReactionNotification, n as fetchReactionsDiscord, nt as listDiscordDirectoryPeersLive, o as sendDiscordComponentMessage, ot as normalizeDiscordSlug, p as readDiscordComponentSpec, pt as resolveGroupDmAllow, q as deleteChannelDiscord, r as reactMessageDiscord, rt as allowListMatches$1, s as createDiscordFormModal, st as resolveDiscordAllowListMatch, tt as listDiscordDirectoryGroupsLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordMemberAccessState, v as sendStickerDiscord, vt as resolveTimestampMs, w as fetchMessageDiscord, wt as chunkDiscordTextWithMode, x as createThreadDiscord, xt as hasAnyGuildPermissionDiscord, y as sendVoiceMessageDiscord, yt as fetchDiscord, z as listGuildChannelsDiscord } from "./send-BemcAE2V.js";
18
+ import { A as parseConfigPath, B as resolveAgentMaxConcurrent, C as parseDurationMs, D as setConfigOverride, E as resetConfigOverrides, H as VERSION, M as unsetConfigValueAtPath, O as unsetConfigOverride, T as getConfigOverrides, _ as isInboundPathAllowed, b as resolveIMessageRemoteAttachmentRoots, c as resolveConfigSnapshotHash, h as resolveTelegramCustomCommands, i as loadConfig, j as setConfigValueAtPath, k as getConfigValueAtPath, l as writeConfigFile, m as normalizeTelegramCommandName, o as readConfigFileSnapshot, p as TELEGRAM_COMMAND_NAME_PATTERN, u as validateConfigObjectWithPlugins, w as validateJsonSchemaValue, x as normalizeScpRemoteHost, y as resolveIMessageAttachmentRoots, z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-BFFFJyGG.js";
19
+ import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-BDSRH8nU.js";
20
20
  import { a as isPathInsideWithRealpath } from "./legacy-names-Be3msDZo.js";
21
21
  import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
22
22
  import { n as resolveConversationLabel } from "./conversation-label-Bn5j3lUT.js";
23
23
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CmmmT8IP.js";
24
- import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-Dkm_NuVV.js";
25
- import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as minimaxUnderstandImage, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as stripReasoningTagsFromText, y as extractTextFromChatContent } from "./image-XRQO3y5K.js";
26
- import { t as ensureSymiModelsJson } from "./models-config-CSJmj9FT.js";
24
+ import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-BJ-Z_VGK.js";
25
+ import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as minimaxUnderstandImage, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as stripReasoningTagsFromText, y as extractTextFromChatContent } from "./image-C53MgRGd.js";
26
+ import { t as ensureSymiModelsJson } from "./models-config-Bkimvp-w.js";
27
27
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
28
- import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-CsW_RmEy.js";
29
- import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-CDffpo7N.js";
30
- import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-DgrqIAkA.js";
31
- import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-BZTHNOVm.js";
32
- import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-CRdDiWp5.js";
28
+ import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-Cy5TV1gC.js";
29
+ import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-DkdWg8t2.js";
30
+ import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-Cx4CChuw.js";
31
+ import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-DcRr8ts9.js";
32
+ import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-BG8FpqDp.js";
33
33
  import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-BF3TeRH2.js";
34
- import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-CZOwZqBo.js";
34
+ import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-BBm9fwuG.js";
35
35
  import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BCYMnxkM.js";
36
- import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DbvmPzLz.js";
37
- import { n as getMediaDir, r as saveMediaBuffer } from "./store-DD3vCMHE.js";
38
- import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, K as buildGroupDisplayName, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, V as resolveExplicitAgentSessionKey, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, b as normalizeAccountId$3, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-Djtxy85B.js";
39
- import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-CEKgzLx4.js";
40
- import { _ as listEnabledDiscordAccounts, a as isWhatsAppGroupJid, c as listEnabledTelegramAccounts, d as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, l as listTelegramAccountIds, m as resolveSlackAppToken, n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId$1, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-C9rr430_.js";
41
- import { a as logWebSelfId, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-CoWuDeGc.js";
42
- import { t as resolveIMessageAccount } from "./accounts-CsHEtC81.js";
43
- import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DwxSQJVb.js";
44
- import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-CXkYckDj.js";
36
+ import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-1OJMSAUX.js";
37
+ import { n as getMediaDir, r as saveMediaBuffer } from "./store-r1DJSDq-.js";
38
+ import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, K as buildGroupDisplayName, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, V as resolveExplicitAgentSessionKey, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, b as normalizeAccountId$3, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-JAT36UjQ.js";
39
+ import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-BXPWY7iQ.js";
40
+ import { _ as listEnabledDiscordAccounts, a as isWhatsAppGroupJid, c as listEnabledTelegramAccounts, d as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, l as listTelegramAccountIds, m as resolveSlackAppToken, n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId$1, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-CFHHpXfJ.js";
41
+ import { a as logWebSelfId, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-BuiAFBgQ.js";
42
+ import { t as resolveIMessageAccount } from "./accounts-BGGHyl1f.js";
43
+ import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DrMzc5pU.js";
44
+ import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-Cx7JsbEd.js";
45
45
  import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, t as resolveDefaultSessionStorePath } from "./paths-CyhzMxFA.js";
46
46
  import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-BzbXHcaD.js";
47
47
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-DdnTeoR1.js";
48
- import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-BwX-hf9e.js";
49
- import { n as resolveToolDisplay } from "./tool-display-C4ReBzq6.js";
48
+ import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-DvUBlqjX.js";
49
+ import { n as resolveToolDisplay } from "./tool-display-D8N3rsYt.js";
50
50
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Db3da8yR.js";
51
- import { t as fetchWithSsrFGuard } from "./fetch-guard-CGJqn2-G.js";
52
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, t as getAgentScopedMediaLocalRoots } from "./local-roots-CbsQgONv.js";
53
- import { v as runTasksWithConcurrency } from "./sqlite-BLIYmv8z.js";
54
- import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DqcNbBYD.js";
55
- import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-DfmvUPwG.js";
56
- import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-QT58mpLF.js";
57
- import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-DqhOGtUr.js";
58
- import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-5-rvRt9D.js";
51
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
52
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, t as getAgentScopedMediaLocalRoots } from "./local-roots-C06RFqzi.js";
53
+ import { v as runTasksWithConcurrency } from "./sqlite-Dx3J_aSE.js";
54
+ import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-BYr_V3sr.js";
55
+ import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-rjshCXiN.js";
56
+ import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-BuxPQuvQ.js";
57
+ import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-Du7r6Fpd.js";
58
+ import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-nbDIYmw3.js";
59
59
  import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CUslJyKP.js";
60
- import { A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as toLocationContext, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as parseTelegramTarget, K as withTelegramApiErrorLogging, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as formatLocationText, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-CNn4lSc_.js";
61
- import { a as buildModelAliasLines, n as resolveModel } from "./model-BXhNu0Qh.js";
62
- import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-D39hchCX.js";
63
- import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-CasXimAY.js";
64
- import { i as resolveMemorySearchConfig } from "./manager-BA66Ip7z.js";
65
- import { n as retryAsync } from "./retry-BMonBV_H.js";
66
- import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Da7cSkdR.js";
67
- import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-By1SXKyX.js";
68
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CtqzlcR-.js";
69
- import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-htBEKN5T.js";
70
- import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-BYvwfQJR.js";
71
- import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-C7bAdTsZ.js";
72
- import { It as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-ExhSG3Ca.js";
73
- import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-C4MK_yjX.js";
60
+ import { A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as toLocationContext, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as parseTelegramTarget, K as withTelegramApiErrorLogging, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as formatLocationText, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-C1W930YU.js";
61
+ import { a as buildModelAliasLines, n as resolveModel } from "./model-BoZOGhCX.js";
62
+ import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CyyxZKEO.js";
63
+ import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-C5rurQKT.js";
64
+ import { i as resolveMemorySearchConfig } from "./manager-j0fGrRVJ.js";
65
+ import { n as retryAsync } from "./retry-BoS4e4X_.js";
66
+ import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-7AvoVa10.js";
67
+ import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-1dhPX1NK.js";
68
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-Dh42d7MA.js";
69
+ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-CLyPlwVm.js";
70
+ import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-Ciy5VdDe.js";
71
+ import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-CkouCUk6.js";
72
+ import { It as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-C8eOm0zv.js";
73
+ import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-CDBn2Uz1.js";
74
74
  import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
75
75
  import { n as normalizePollInput } from "./polls-DhH5YkzN.js";
76
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DSjiAC__.js";
76
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-BOiuJS3t.js";
77
77
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DTNGXEzX.js";
78
- import { t as convertMarkdownTables } from "./tables-DW0bUdnj.js";
79
- import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-DQLm2Isv.js";
80
- import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-BWJkbEAO.js";
78
+ import { t as convertMarkdownTables } from "./tables-iPPN3LK6.js";
79
+ import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-G6kAuPv2.js";
80
+ import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-BRVmRYf9.js";
81
81
  import { t as makeProxyFetch } from "./proxy-DU7W9XSc.js";
82
82
  import { i as formatDurationSeconds, r as formatDurationPrecise, t as formatDurationCompact$1 } from "./format-duration-D0B0Uo-I.js";
83
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Q_WTzI07.js";
84
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DUeZQ2uY.js";
85
- import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-DN7gXPZc.js";
86
- import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-D1uXhtMd.js";
83
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DMkPwpIu.js";
84
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BPEDOYuY.js";
85
+ import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BmXFcGSz.js";
86
+ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-6eMLkYzE.js";
87
87
  import { c as hasNonzeroUsage, l as normalizeUsage, n as loadCostUsageSummary, o as derivePromptTokens, r as loadSessionCostSummary, s as deriveSessionTotalTokens } from "./session-cost-usage-BXAI7CNH.js";
88
- import { a as normalizeIMessageHandle, c as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, i as isAllowedIMessageSender, o as parseIMessageTarget, r as formatIMessageChatTarget, s as createIMessageRpcClient, t as sendMessageIMessage } from "./send-BU5PVy1w.js";
89
- import { r as detectBinary } from "./onboard-helpers-fhD0IUuO.js";
90
- import { t as resolvePairingIdLabel } from "./pairing-labels-D9x7oiw4.js";
88
+ import { a as normalizeIMessageHandle, c as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, i as isAllowedIMessageSender, o as parseIMessageTarget, r as formatIMessageChatTarget, s as createIMessageRpcClient, t as sendMessageIMessage } from "./send-KX-F3Rme.js";
89
+ import { r as detectBinary } from "./onboard-helpers-D0Ly4Vjl.js";
90
+ import { t as resolvePairingIdLabel } from "./pairing-labels-C_2AZhnk.js";
91
91
  import { i as resolveModelCostConfig, n as formatTokenCount$2, r as formatUsd, t as estimateUsageCost } from "./usage-format-BgUx3Bm4.js";
92
92
  import { t as getActiveWebListener } from "./active-listener-SKkHHqlN.js";
93
93
  import { _ as getTrustedSafeBinDirs, b as buildSafeShellCommand, d as resolveExecApprovals, f as resolveExecApprovalsFromFile, g as resolveSafeBins, h as evaluateShellAllowlist, i as maxAsk, l as recordAllowlistUse, n as addAllowlistEntry, o as minSecurity, u as requiresExecApproval, y as buildSafeBinsShellCommand } from "./exec-approvals-DXM2pQYL.js";
94
- import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-BAHauVrv.js";
94
+ import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-8Bq7DiSa.js";
95
95
  import { n as parseNodeList, r as parsePairingList, t as resolveNodeIdFromCandidates } from "./node-match-CdUiymRU.js";
96
96
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CaTOIqVn.js";
97
- import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-Cl6lWwCz.js";
98
- import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-nm4IutS9.js";
97
+ import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-BL5fmuL6.js";
98
+ import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-TaZG6efS.js";
99
99
  import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-CvFURHzt.js";
100
100
  import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-CafH8-8D.js";
101
- import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-M2zZz8eI.js";
101
+ import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-1-tfXZ8A.js";
102
102
  import { t as parseTimeoutMs } from "./parse-timeout-2S5vp0-9.js";
103
103
  import { createRequire } from "node:module";
104
104
  import { fileURLToPath } from "node:url";
105
105
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
106
106
  import os, { homedir } from "node:os";
107
107
  import path from "node:path";
108
- import json5 from "json5";
109
- import fsPromises from "node:fs/promises";
108
+ import JSON5 from "json5";
109
+ import fs$1 from "node:fs/promises";
110
110
  import { execFileSync, spawn, spawnSync } from "node:child_process";
111
111
  import { inspect } from "node:util";
112
112
  import crypto, { createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
@@ -2894,7 +2894,7 @@ async function createModelSelectionState(params) {
2894
2894
  }
2895
2895
  }
2896
2896
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
2897
- const { ensureAuthProfileStore } = await import("./model-selection-CuILBsWw.js").then((n) => n.dt);
2897
+ const { ensureAuthProfileStore } = await import("./model-selection-B2_K06m3.js").then((n) => n.dt);
2898
2898
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
2899
2899
  const providerKey = normalizeProviderId(provider);
2900
2900
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -7386,7 +7386,7 @@ function normalizeSessionKey(value) {
7386
7386
  function readSessionStore(storePath) {
7387
7387
  try {
7388
7388
  const raw = fs.readFileSync(storePath, "utf-8");
7389
- const parsed = json5.parse(raw);
7389
+ const parsed = JSON5.parse(raw);
7390
7390
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
7391
7391
  } catch {}
7392
7392
  return {};
@@ -10416,7 +10416,7 @@ async function routeReply(params) {
10416
10416
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
10417
10417
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
10418
10418
  try {
10419
- const { deliverOutboundPayloads } = await import("./deliver-DqhOGtUr.js").then((n) => n.n);
10419
+ const { deliverOutboundPayloads } = await import("./deliver-Du7r6Fpd.js").then((n) => n.n);
10420
10420
  return {
10421
10421
  ok: true,
10422
10422
  messageId: (await deliverOutboundPayloads({
@@ -12965,8 +12965,8 @@ async function describeStickerImage(params) {
12965
12965
  const { provider, model } = resolved;
12966
12966
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
12967
12967
  try {
12968
- const buffer = await fsPromises.readFile(imagePath);
12969
- const { describeImageWithModel } = await import("./image-XRQO3y5K.js").then((n) => n.n);
12968
+ const buffer = await fs$1.readFile(imagePath);
12969
+ const { describeImageWithModel } = await import("./image-C53MgRGd.js").then((n) => n.n);
12970
12970
  return (await describeImageWithModel({
12971
12971
  buffer,
12972
12972
  fileName: "sticker.webp",
@@ -13389,7 +13389,7 @@ function createWhatsAppLoginTool() {
13389
13389
  force: Type.Optional(Type.Boolean())
13390
13390
  }),
13391
13391
  execute: async (_toolCallId, args) => {
13392
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-fxvkEb1m.js");
13392
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-JDtM1QAp.js");
13393
13393
  if ((args?.action ?? "start") === "wait") {
13394
13394
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
13395
13395
  return {
@@ -15605,7 +15605,7 @@ async function preflightDiscordMessage(params) {
15605
15605
  let preflightTranscript;
15606
15606
  const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
15607
15607
  if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
15608
- const { transcribeFirstAudio } = await import("./audio-preflight-DbjnY9Xz.js");
15608
+ const { transcribeFirstAudio } = await import("./audio-preflight-gM3Qwrcb.js");
15609
15609
  const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
15610
15610
  if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
15611
15611
  ctx: {
@@ -21611,18 +21611,18 @@ function appendImagePathsToPrompt(prompt, paths) {
21611
21611
  return `${trimmed}${trimmed ? "\n\n" : ""}${paths.join("\n")}`;
21612
21612
  }
21613
21613
  async function writeCliImages(images) {
21614
- const tempDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "symi-cli-images-"));
21614
+ const tempDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "symi-cli-images-"));
21615
21615
  const paths = [];
21616
21616
  for (let i = 0; i < images.length; i += 1) {
21617
21617
  const image = images[i];
21618
21618
  const ext = resolveImageExtension(image.mimeType);
21619
21619
  const filePath = path.join(tempDir, `image-${i + 1}.${ext}`);
21620
21620
  const buffer = Buffer.from(image.data, "base64");
21621
- await fsPromises.writeFile(filePath, buffer, { mode: 384 });
21621
+ await fs$1.writeFile(filePath, buffer, { mode: 384 });
21622
21622
  paths.push(filePath);
21623
21623
  }
21624
21624
  const cleanup = async () => {
21625
- await fsPromises.rm(tempDir, {
21625
+ await fs$1.rm(tempDir, {
21626
21626
  recursive: true,
21627
21627
  force: true
21628
21628
  });
@@ -22749,12 +22749,12 @@ function getQueuedFileWriter(writers, filePath) {
22749
22749
  const existing = writers.get(filePath);
22750
22750
  if (existing) return existing;
22751
22751
  const dir = path.dirname(filePath);
22752
- const ready = fsPromises.mkdir(dir, { recursive: true }).catch(() => void 0);
22752
+ const ready = fs$1.mkdir(dir, { recursive: true }).catch(() => void 0);
22753
22753
  let queue = Promise.resolve();
22754
22754
  const writer = {
22755
22755
  filePath,
22756
22756
  write: (line) => {
22757
- queue = queue.then(() => ready).then(() => fsPromises.appendFile(filePath, line, "utf8")).catch(() => void 0);
22757
+ queue = queue.then(() => ready).then(() => fs$1.appendFile(filePath, line, "utf8")).catch(() => void 0);
22758
22758
  }
22759
22759
  };
22760
22760
  writers.set(filePath, writer);
@@ -25269,7 +25269,7 @@ async function recordLoopOutcome(args) {
25269
25269
  if (!args.ctx?.sessionKey) return;
25270
25270
  try {
25271
25271
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CUslJyKP.js").then((n) => n.n);
25272
- const { recordToolCallOutcome } = await import("./tool-loop-detection-zh1Z1tsw.js");
25272
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-DZQMPDma.js");
25273
25273
  recordToolCallOutcome(getDiagnosticSessionState({
25274
25274
  sessionKey: args.ctx.sessionKey,
25275
25275
  sessionId: args.ctx?.agentId
@@ -25290,8 +25290,8 @@ async function runBeforeToolCallHook(args) {
25290
25290
  const params = args.params;
25291
25291
  if (args.ctx?.sessionKey) {
25292
25292
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CUslJyKP.js").then((n) => n.n);
25293
- const { logToolLoopAction } = await import("./diagnostic-5-rvRt9D.js").then((n) => n.n);
25294
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-zh1Z1tsw.js");
25293
+ const { logToolLoopAction } = await import("./diagnostic-nbDIYmw3.js").then((n) => n.n);
25294
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DZQMPDma.js");
25295
25295
  const sessionState = getDiagnosticSessionState({
25296
25296
  sessionKey: args.ctx.sessionKey,
25297
25297
  sessionId: args.ctx?.agentId
@@ -26170,7 +26170,7 @@ function repairToolUseResultPairing(messages) {
26170
26170
  */
26171
26171
  async function readSessionFile(sessionFile) {
26172
26172
  try {
26173
- return await fsPromises.readFile(sessionFile, "utf-8");
26173
+ return await fs$1.readFile(sessionFile, "utf-8");
26174
26174
  } catch {
26175
26175
  return null;
26176
26176
  }
@@ -26179,8 +26179,8 @@ async function writeAtomically(sessionFile, text) {
26179
26179
  const dir = path.dirname(sessionFile);
26180
26180
  const base = path.basename(sessionFile);
26181
26181
  const tmp = path.join(dir, `.${base}.prune-${process.pid}-${Date.now()}.tmp`);
26182
- await fsPromises.writeFile(tmp, text, "utf-8");
26183
- await fsPromises.rename(tmp, sessionFile);
26182
+ await fs$1.writeFile(tmp, text, "utf-8");
26183
+ await fs$1.rename(tmp, sessionFile);
26184
26184
  }
26185
26185
  /**
26186
26186
  * Remove empty assistant JSONL entries from the session file.
@@ -26248,7 +26248,7 @@ async function repairSessionFileIfNeeded(params) {
26248
26248
  };
26249
26249
  let content;
26250
26250
  try {
26251
- content = await fsPromises.readFile(sessionFile, "utf-8");
26251
+ content = await fs$1.readFile(sessionFile, "utf-8");
26252
26252
  } catch (err) {
26253
26253
  if (err?.code === "ENOENT") return {
26254
26254
  repaired: false,
@@ -26296,15 +26296,15 @@ async function repairSessionFileIfNeeded(params) {
26296
26296
  const backupPath = `${sessionFile}.bak-${process.pid}-${Date.now()}`;
26297
26297
  const tmpPath = `${sessionFile}.repair-${process.pid}-${Date.now()}.tmp`;
26298
26298
  try {
26299
- const stat = await fsPromises.stat(sessionFile).catch(() => null);
26300
- await fsPromises.writeFile(backupPath, content, "utf-8");
26301
- if (stat) await fsPromises.chmod(backupPath, stat.mode);
26302
- await fsPromises.writeFile(tmpPath, cleaned, "utf-8");
26303
- if (stat) await fsPromises.chmod(tmpPath, stat.mode);
26304
- await fsPromises.rename(tmpPath, sessionFile);
26299
+ const stat = await fs$1.stat(sessionFile).catch(() => null);
26300
+ await fs$1.writeFile(backupPath, content, "utf-8");
26301
+ if (stat) await fs$1.chmod(backupPath, stat.mode);
26302
+ await fs$1.writeFile(tmpPath, cleaned, "utf-8");
26303
+ if (stat) await fs$1.chmod(tmpPath, stat.mode);
26304
+ await fs$1.rename(tmpPath, sessionFile);
26305
26305
  } catch (err) {
26306
26306
  try {
26307
- await fsPromises.unlink(tmpPath);
26307
+ await fs$1.unlink(tmpPath);
26308
26308
  } catch (cleanupErr) {
26309
26309
  params.warn?.(`session file repair cleanup failed: ${cleanupErr instanceof Error ? cleanupErr.message : "unknown error"} (${path.basename(tmpPath)})`);
26310
26310
  }
@@ -26715,7 +26715,7 @@ function isInPoisonRange(version) {
26715
26715
  */
26716
26716
  async function checkSessionPoison(sessionFile) {
26717
26717
  try {
26718
- const firstLine = (await fsPromises.readFile(sessionFile, "utf-8")).split("\n")[0];
26718
+ const firstLine = (await fs$1.readFile(sessionFile, "utf-8")).split("\n")[0];
26719
26719
  if (!firstLine) return null;
26720
26720
  const header = JSON.parse(firstLine);
26721
26721
  if (header.type !== "session") return null;
@@ -26733,7 +26733,7 @@ async function checkSessionPoison(sessionFile) {
26733
26733
  */
26734
26734
  async function archivePoisonedSession(sessionFile) {
26735
26735
  const archiveName = `${sessionFile}.archived-poison.${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}`;
26736
- await fsPromises.rename(sessionFile, archiveName);
26736
+ await fs$1.rename(sessionFile, archiveName);
26737
26737
  return archiveName;
26738
26738
  }
26739
26739
  /**
@@ -26742,14 +26742,14 @@ async function archivePoisonedSession(sessionFile) {
26742
26742
  */
26743
26743
  async function stampSessionVersion(sessionFile) {
26744
26744
  try {
26745
- const lines = (await fsPromises.readFile(sessionFile, "utf-8")).split("\n");
26745
+ const lines = (await fs$1.readFile(sessionFile, "utf-8")).split("\n");
26746
26746
  if (lines.length === 0) return;
26747
26747
  const header = JSON.parse(lines[0]);
26748
26748
  if (header.type !== "session") return;
26749
26749
  if (header.symiVersion === VERSION) return;
26750
26750
  header.symiVersion = VERSION;
26751
26751
  lines[0] = JSON.stringify(header);
26752
- await fsPromises.writeFile(sessionFile, lines.join("\n"), "utf-8");
26752
+ await fs$1.writeFile(sessionFile, lines.join("\n"), "utf-8");
26753
26753
  } catch {}
26754
26754
  }
26755
26755
  /**
@@ -29087,7 +29087,7 @@ async function prewarmSessionFile(sessionFile) {
29087
29087
  if (!isSessionManagerCacheEnabled()) return;
29088
29088
  if (isSessionManagerCached(sessionFile)) return;
29089
29089
  try {
29090
- const handle = await fsPromises.open(sessionFile, "r");
29090
+ const handle = await fs$1.open(sessionFile, "r");
29091
29091
  try {
29092
29092
  const buffer = Buffer$1.alloc(4096);
29093
29093
  await handle.read(buffer, 0, buffer.length, 0);
@@ -29121,7 +29121,7 @@ async function prepareSessionManagerForRun(params) {
29121
29121
  return;
29122
29122
  }
29123
29123
  if (params.hadSessionFile && header && !hasAssistant) {
29124
- await fsPromises.writeFile(params.sessionFile, "", "utf-8");
29124
+ await fs$1.writeFile(params.sessionFile, "", "utf-8");
29125
29125
  sm.fileEntries = [header];
29126
29126
  sm.byId?.clear?.();
29127
29127
  sm.labelsById?.clear?.();
@@ -29766,7 +29766,7 @@ async function runEmbeddedAttempt(params) {
29766
29766
  const prevCwd = process.cwd();
29767
29767
  const runAbortController = new AbortController();
29768
29768
  log$7.debug(`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${params.provider} model=${params.modelId} thinking=${params.thinkLevel} messageChannel=${params.messageChannel ?? params.messageProvider ?? "unknown"}`);
29769
- await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
29769
+ await fs$1.mkdir(resolvedWorkspace, { recursive: true });
29770
29770
  const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
29771
29771
  const sandbox = await resolveSandboxContext({
29772
29772
  config: params.config,
@@ -29774,7 +29774,7 @@ async function runEmbeddedAttempt(params) {
29774
29774
  workspaceDir: resolvedWorkspace
29775
29775
  });
29776
29776
  const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
29777
- await fsPromises.mkdir(effectiveWorkspace, { recursive: true });
29777
+ await fs$1.mkdir(effectiveWorkspace, { recursive: true });
29778
29778
  let restoreSkillEnv;
29779
29779
  process.chdir(effectiveWorkspace);
29780
29780
  try {
@@ -30011,7 +30011,7 @@ async function runEmbeddedAttempt(params) {
30011
30011
  sessionFile: params.sessionFile,
30012
30012
  warn: (message) => log$7.warn(message)
30013
30013
  });
30014
- const hadSessionFile = await fsPromises.stat(params.sessionFile).then(() => true).catch(() => false);
30014
+ const hadSessionFile = await fs$1.stat(params.sessionFile).then(() => true).catch(() => false);
30015
30015
  const transcriptPolicy = resolveTranscriptPolicy({
30016
30016
  modelApi: params.model?.api,
30017
30017
  provider: params.provider,
@@ -31083,7 +31083,7 @@ async function runEmbeddedPiAgent(params) {
31083
31083
  }
31084
31084
  runLoopIterations += 1;
31085
31085
  attemptedThinking.add(thinkLevel);
31086
- await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
31086
+ await fs$1.mkdir(resolvedWorkspace, { recursive: true });
31087
31087
  const prompt = provider === "anthropic" ? scrubAnthropicRefusalMagic(params.prompt) : params.prompt;
31088
31088
  const attempt = await runEmbeddedAttempt({
31089
31089
  sessionId: params.sessionId,
@@ -31807,27 +31807,27 @@ async function runAgentTurn(params) {
31807
31807
  function createDefaultDeps() {
31808
31808
  return {
31809
31809
  sendMessageWhatsApp: async (...args) => {
31810
- const { sendMessageWhatsApp } = await import("./web-DDtL8Vp-.js");
31810
+ const { sendMessageWhatsApp } = await import("./web-CGoJq6aj.js");
31811
31811
  return await sendMessageWhatsApp(...args);
31812
31812
  },
31813
31813
  sendMessageTelegram: async (...args) => {
31814
- const { sendMessageTelegram } = await import("./send-CNn4lSc_.js").then((n) => n.l);
31814
+ const { sendMessageTelegram } = await import("./send-C1W930YU.js").then((n) => n.l);
31815
31815
  return await sendMessageTelegram(...args);
31816
31816
  },
31817
31817
  sendMessageDiscord: async (...args) => {
31818
- const { sendMessageDiscord } = await import("./send-DaI66hjg.js").then((n) => n.t);
31818
+ const { sendMessageDiscord } = await import("./send-BemcAE2V.js").then((n) => n.t);
31819
31819
  return await sendMessageDiscord(...args);
31820
31820
  },
31821
31821
  sendMessageSlack: async (...args) => {
31822
- const { sendMessageSlack } = await import("./send-CXkYckDj.js").then((n) => n.n);
31822
+ const { sendMessageSlack } = await import("./send-Cx7JsbEd.js").then((n) => n.n);
31823
31823
  return await sendMessageSlack(...args);
31824
31824
  },
31825
31825
  sendMessageSignal: async (...args) => {
31826
- const { sendMessageSignal } = await import("./send-DQLm2Isv.js").then((n) => n.i);
31826
+ const { sendMessageSignal } = await import("./send-G6kAuPv2.js").then((n) => n.i);
31827
31827
  return await sendMessageSignal(...args);
31828
31828
  },
31829
31829
  sendMessageIMessage: async (...args) => {
31830
- const { sendMessageIMessage } = await import("./send-BU5PVy1w.js").then((n) => n.n);
31830
+ const { sendMessageIMessage } = await import("./send-KX-F3Rme.js").then((n) => n.n);
31831
31831
  return await sendMessageIMessage(...args);
31832
31832
  }
31833
31833
  };
@@ -33009,10 +33009,10 @@ function estimateDurationSeconds(pcm) {
33009
33009
  return pcm.length / (bytesPerSample * SAMPLE_RATE);
33010
33010
  }
33011
33011
  async function writeWavFile(pcm) {
33012
- const tempDir = await fsPromises.mkdtemp(path.join(resolvePreferredSymiTmpDir(), "discord-voice-"));
33012
+ const tempDir = await fs$1.mkdtemp(path.join(resolvePreferredSymiTmpDir(), "discord-voice-"));
33013
33013
  const filePath = path.join(tempDir, `segment-${randomUUID()}.wav`);
33014
33014
  const wav = buildWavBuffer(pcm);
33015
- await fsPromises.writeFile(filePath, wav);
33015
+ await fs$1.writeFile(filePath, wav);
33016
33016
  scheduleTempCleanup(tempDir);
33017
33017
  return {
33018
33018
  path: filePath,
@@ -33021,7 +33021,7 @@ async function writeWavFile(pcm) {
33021
33021
  }
33022
33022
  function scheduleTempCleanup(tempDir, delayMs = 1800 * 1e3) {
33023
33023
  setTimeout(() => {
33024
- fsPromises.rm(tempDir, {
33024
+ fs$1.rm(tempDir, {
33025
33025
  recursive: true,
33026
33026
  force: true
33027
33027
  }).catch((err) => {
@@ -36760,7 +36760,7 @@ function normalizeAllowList$2(list) {
36760
36760
  async function detectRemoteHostFromCliPath(cliPath) {
36761
36761
  try {
36762
36762
  const expanded = cliPath.startsWith("~") ? cliPath.replace(/^~/, process.env.HOME ?? "") : cliPath;
36763
- const content = await fsPromises.readFile(expanded, "utf8");
36763
+ const content = await fs$1.readFile(expanded, "utf8");
36764
36764
  const userHostMatch = content.match(/\bssh\b[^\n]*?\s+([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)/);
36765
36765
  if (userHostMatch) return userHostMatch[1];
36766
36766
  return content.match(/\bssh\b[^\n]*?\s+([a-zA-Z][a-zA-Z0-9._-]*)\s+\S*\bimsg\b/)?.[1];
@@ -42975,7 +42975,7 @@ function readSlackExternalArgMenuToken(raw) {
42975
42975
  }
42976
42976
  let commandsRegistry;
42977
42977
  async function getCommandsRegistry() {
42978
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-C7bAdTsZ.js").then((n) => n.n);
42978
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CkouCUk6.js").then((n) => n.n);
42979
42979
  return commandsRegistry;
42980
42980
  }
42981
42981
  function encodeSlackCommandArgValue(parts) {
@@ -43317,11 +43317,11 @@ async function registerSlackMonitorSlashCommands(params) {
43317
43317
  const channelName = channelInfo?.name;
43318
43318
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
43319
43319
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
43320
- import("./resolve-route-Q_WTzI07.js").then((n) => n.r),
43320
+ import("./resolve-route-DMkPwpIu.js").then((n) => n.r),
43321
43321
  import("./inbound-context-CmmmT8IP.js").then((n) => n.n),
43322
43322
  Promise.resolve().then(() => provider_dispatcher_exports)
43323
43323
  ]);
43324
- const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-Bn5j3lUT.js").then((n) => n.t), import("./reply-prefix-D39hchCX.js").then((n) => n.n)]);
43324
+ const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-Bn5j3lUT.js").then((n) => n.t), import("./reply-prefix-CyyxZKEO.js").then((n) => n.n)]);
43325
43325
  const route = resolveAgentRoute({
43326
43326
  cfg,
43327
43327
  channel: "slack",
@@ -43378,9 +43378,9 @@ async function registerSlackMonitorSlashCommands(params) {
43378
43378
  });
43379
43379
  const deliverSlashPayloads = async (replies) => {
43380
43380
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
43381
- import("./replies-DUeZQ2uY.js").then((n) => n.r),
43382
- import("./chunk-By1SXKyX.js").then((n) => n.s),
43383
- import("./markdown-tables-CtqzlcR-.js").then((n) => n.t)
43381
+ import("./replies-BPEDOYuY.js").then((n) => n.r),
43382
+ import("./chunk-1dhPX1NK.js").then((n) => n.s),
43383
+ import("./markdown-tables-Dh42d7MA.js").then((n) => n.t)
43384
43384
  ]);
43385
43385
  await deliverSlackSlashReplies({
43386
43386
  replies,
@@ -43433,7 +43433,7 @@ async function registerSlackMonitorSlashCommands(params) {
43433
43433
  let nativeCommands = [];
43434
43434
  if (nativeEnabled) {
43435
43435
  reg = await getCommandsRegistry();
43436
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DN7gXPZc.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
43436
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BmXFcGSz.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
43437
43437
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
43438
43438
  skillCommands,
43439
43439
  provider: "slack"
@@ -48072,7 +48072,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
48072
48072
  const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
48073
48073
  let preflightTranscript;
48074
48074
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
48075
- const { transcribeFirstAudio } = await import("./audio-preflight-DbjnY9Xz.js");
48075
+ const { transcribeFirstAudio } = await import("./audio-preflight-gM3Qwrcb.js");
48076
48076
  preflightTranscript = await transcribeFirstAudio({
48077
48077
  ctx: {
48078
48078
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -49840,7 +49840,7 @@ function safeParseState(raw) {
49840
49840
  async function readTelegramUpdateOffset(params) {
49841
49841
  const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
49842
49842
  try {
49843
- return safeParseState(await fsPromises.readFile(filePath, "utf-8"))?.lastUpdateId ?? null;
49843
+ return safeParseState(await fs$1.readFile(filePath, "utf-8"))?.lastUpdateId ?? null;
49844
49844
  } catch (err) {
49845
49845
  if (err.code === "ENOENT") return null;
49846
49846
  return null;
@@ -49849,7 +49849,7 @@ async function readTelegramUpdateOffset(params) {
49849
49849
  async function writeTelegramUpdateOffset(params) {
49850
49850
  const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
49851
49851
  const dir = path.dirname(filePath);
49852
- await fsPromises.mkdir(dir, {
49852
+ await fs$1.mkdir(dir, {
49853
49853
  recursive: true,
49854
49854
  mode: 448
49855
49855
  });
@@ -49858,14 +49858,14 @@ async function writeTelegramUpdateOffset(params) {
49858
49858
  version: STORE_VERSION,
49859
49859
  lastUpdateId: params.updateId
49860
49860
  };
49861
- await fsPromises.writeFile(tmp, `${JSON.stringify(payload, null, 2)}\n`, { encoding: "utf-8" });
49862
- await fsPromises.chmod(tmp, 384);
49863
- await fsPromises.rename(tmp, filePath);
49861
+ await fs$1.writeFile(tmp, `${JSON.stringify(payload, null, 2)}\n`, { encoding: "utf-8" });
49862
+ await fs$1.chmod(tmp, 384);
49863
+ await fs$1.rename(tmp, filePath);
49864
49864
  }
49865
49865
  async function deleteTelegramUpdateOffset(params) {
49866
49866
  const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
49867
49867
  try {
49868
- await fsPromises.unlink(filePath);
49868
+ await fs$1.unlink(filePath);
49869
49869
  } catch (err) {
49870
49870
  if (err.code === "ENOENT") return;
49871
49871
  throw err;
@@ -50226,23 +50226,23 @@ let webLoginQrPromise = null;
50226
50226
  let webChannelPromise = null;
50227
50227
  let whatsappActionsPromise = null;
50228
50228
  function loadWebOutbound() {
50229
- webOutboundPromise ??= import("./outbound-mrBI1WIz.js").then((n) => n.t);
50229
+ webOutboundPromise ??= import("./outbound-m4c5ikTk.js").then((n) => n.t);
50230
50230
  return webOutboundPromise;
50231
50231
  }
50232
50232
  function loadWebLogin() {
50233
- webLoginPromise ??= import("./login-CdVFnycK.js").then((n) => n.n);
50233
+ webLoginPromise ??= import("./login-BCagDpQZ.js").then((n) => n.n);
50234
50234
  return webLoginPromise;
50235
50235
  }
50236
50236
  function loadWebLoginQr() {
50237
- webLoginQrPromise ??= import("./login-qr-fxvkEb1m.js");
50237
+ webLoginQrPromise ??= import("./login-qr-JDtM1QAp.js");
50238
50238
  return webLoginQrPromise;
50239
50239
  }
50240
50240
  function loadWebChannel() {
50241
- webChannelPromise ??= import("./web-DDtL8Vp-.js");
50241
+ webChannelPromise ??= import("./web-CGoJq6aj.js");
50242
50242
  return webChannelPromise;
50243
50243
  }
50244
50244
  function loadWhatsAppActions() {
50245
- whatsappActionsPromise ??= import("./whatsapp-actions-nCsV7Byz.js");
50245
+ whatsappActionsPromise ??= import("./whatsapp-actions-C3MeREA6.js");
50246
50246
  return whatsappActionsPromise;
50247
50247
  }
50248
50248
  function createPluginRuntime() {
@@ -51009,7 +51009,7 @@ function resolvePluginTools(params) {
51009
51009
  //#endregion
51010
51010
  //#region src/agents/apply-patch-update.ts
51011
51011
  async function defaultReadFile(filePath) {
51012
- return fsPromises.readFile(filePath, "utf8");
51012
+ return fs$1.readFile(filePath, "utf8");
51013
51013
  }
51014
51014
  async function applyUpdateHunk(filePath, chunks, options) {
51015
51015
  const originalLines = (await (options?.readFile ?? defaultReadFile)(filePath).catch((err) => {
@@ -51253,10 +51253,10 @@ function resolvePatchFileOps(options) {
51253
51253
  };
51254
51254
  }
51255
51255
  return {
51256
- readFile: (filePath) => fsPromises.readFile(filePath, "utf8"),
51257
- writeFile: (filePath, content) => fsPromises.writeFile(filePath, content, "utf8"),
51258
- remove: (filePath) => fsPromises.rm(filePath),
51259
- mkdirp: (dir) => fsPromises.mkdir(dir, { recursive: true }).then(() => {})
51256
+ readFile: (filePath) => fs$1.readFile(filePath, "utf8"),
51257
+ writeFile: (filePath, content) => fs$1.writeFile(filePath, content, "utf8"),
51258
+ remove: (filePath) => fs$1.rm(filePath),
51259
+ mkdirp: (dir) => fs$1.mkdir(dir, { recursive: true }).then(() => {})
51260
51260
  };
51261
51261
  }
51262
51262
  async function ensureDir(filePath, ops) {
@@ -51977,7 +51977,7 @@ async function resolveSandboxWorkdir(params) {
51977
51977
  cwd: process.cwd(),
51978
51978
  root: params.sandbox.workspaceDir
51979
51979
  });
51980
- if (!(await fsPromises.stat(resolved.resolved)).isDirectory()) throw new Error("workdir is not a directory");
51980
+ if (!(await fs$1.stat(resolved.resolved)).isDirectory()) throw new Error("workdir is not a directory");
51981
51981
  const relative = resolved.relative ? resolved.relative.split(path.sep).join(path.posix.sep) : "";
51982
51982
  const containerWorkdir = relative ? path.posix.join(params.sandbox.containerWorkdir, relative) : params.sandbox.containerWorkdir;
51983
51983
  return {
@@ -52958,13 +52958,13 @@ async function validateScriptFileForShellBleed(params) {
52958
52958
  cwd: params.workdir,
52959
52959
  root: params.workdir
52960
52960
  });
52961
- stat = await fsPromises.stat(absPath);
52961
+ stat = await fs$1.stat(absPath);
52962
52962
  } catch {
52963
52963
  return;
52964
52964
  }
52965
52965
  if (!stat.isFile()) return;
52966
52966
  if (stat.size > 512 * 1024) return;
52967
- const content = await fsPromises.readFile(absPath, "utf-8");
52967
+ const content = await fs$1.readFile(absPath, "utf-8");
52968
52968
  const first = /\$[A-Z_][A-Z0-9_]{1,}/g.exec(content);
52969
52969
  if (first) {
52970
52970
  const idx = first.index;
@@ -55638,7 +55638,7 @@ async function readJsonlFromPath(jsonlPath) {
55638
55638
  if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${resolved}`);
55639
55639
  throw new Error("jsonlPath outside allowed roots");
55640
55640
  }
55641
- const canonical = await fsPromises.realpath(resolved).catch(() => resolved);
55641
+ const canonical = await fs$1.realpath(resolved).catch(() => resolved);
55642
55642
  if (!isInboundPathAllowed({
55643
55643
  filePath: canonical,
55644
55644
  roots
@@ -55646,7 +55646,7 @@ async function readJsonlFromPath(jsonlPath) {
55646
55646
  if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${canonical}`);
55647
55647
  throw new Error("jsonlPath outside allowed roots");
55648
55648
  }
55649
- return await fsPromises.readFile(canonical, "utf8");
55649
+ return await fs$1.readFile(canonical, "utf8");
55650
55650
  }
55651
55651
  const CanvasToolSchema = Type.Object({
55652
55652
  action: stringEnum(CANVAS_ACTIONS),
@@ -56427,27 +56427,27 @@ function resolveRestartSentinelPath(env = process.env) {
56427
56427
  }
56428
56428
  async function writeRestartSentinel(payload, env = process.env) {
56429
56429
  const filePath = resolveRestartSentinelPath(env);
56430
- await fsPromises.mkdir(path.dirname(filePath), { recursive: true });
56430
+ await fs$1.mkdir(path.dirname(filePath), { recursive: true });
56431
56431
  const data = {
56432
56432
  version: 1,
56433
56433
  payload
56434
56434
  };
56435
- await fsPromises.writeFile(filePath, `${JSON.stringify(data, null, 2)}\n`, "utf-8");
56435
+ await fs$1.writeFile(filePath, `${JSON.stringify(data, null, 2)}\n`, "utf-8");
56436
56436
  return filePath;
56437
56437
  }
56438
56438
  async function readRestartSentinel(env = process.env) {
56439
56439
  const filePath = resolveRestartSentinelPath(env);
56440
56440
  try {
56441
- const raw = await fsPromises.readFile(filePath, "utf-8");
56441
+ const raw = await fs$1.readFile(filePath, "utf-8");
56442
56442
  let parsed;
56443
56443
  try {
56444
56444
  parsed = JSON.parse(raw);
56445
56445
  } catch {
56446
- await fsPromises.unlink(filePath).catch(() => {});
56446
+ await fs$1.unlink(filePath).catch(() => {});
56447
56447
  return null;
56448
56448
  }
56449
56449
  if (!parsed || parsed.version !== 1 || !parsed.payload) {
56450
- await fsPromises.unlink(filePath).catch(() => {});
56450
+ await fs$1.unlink(filePath).catch(() => {});
56451
56451
  return null;
56452
56452
  }
56453
56453
  return parsed;
@@ -56459,7 +56459,7 @@ async function consumeRestartSentinel(env = process.env) {
56459
56459
  const filePath = resolveRestartSentinelPath(env);
56460
56460
  const parsed = await readRestartSentinel(env);
56461
56461
  if (!parsed) return null;
56462
- await fsPromises.unlink(filePath).catch(() => {});
56462
+ await fs$1.unlink(filePath).catch(() => {});
56463
56463
  return parsed;
56464
56464
  }
56465
56465
  function formatRestartSentinelMessage(payload) {
@@ -57566,7 +57566,7 @@ async function hydrateAttachmentPayload(params) {
57566
57566
  accountId: params.accountId
57567
57567
  }),
57568
57568
  sandboxValidated: true,
57569
- readFile: (filePath) => fsPromises.readFile(filePath)
57569
+ readFile: (filePath) => fs$1.readFile(filePath)
57570
57570
  });
57571
57571
  params.args.buffer = media.buffer.toString("base64");
57572
57572
  if (!contentTypeParam && media.contentType) params.args.contentType = media.contentType;
@@ -65118,7 +65118,7 @@ async function compactEmbeddedPiSessionDirect(params) {
65118
65118
  } catch (err) {
65119
65119
  return fail(describeUnknownError(err));
65120
65120
  }
65121
- await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
65121
+ await fs$1.mkdir(resolvedWorkspace, { recursive: true });
65122
65122
  const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
65123
65123
  const sandbox = await resolveSandboxContext({
65124
65124
  config: params.config,
@@ -65126,7 +65126,7 @@ async function compactEmbeddedPiSessionDirect(params) {
65126
65126
  workspaceDir: resolvedWorkspace
65127
65127
  });
65128
65128
  const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
65129
- await fsPromises.mkdir(effectiveWorkspace, { recursive: true });
65129
+ await fs$1.mkdir(effectiveWorkspace, { recursive: true });
65130
65130
  await ensureSessionHeader({
65131
65131
  sessionFile: params.sessionFile,
65132
65132
  sessionId: params.sessionId,
@@ -69281,7 +69281,7 @@ async function handleCommands(params) {
69281
69281
  try {
69282
69282
  const messages = [];
69283
69283
  if (sessionFile) {
69284
- const content = await fsPromises.readFile(sessionFile, "utf-8");
69284
+ const content = await fs$1.readFile(sessionFile, "utf-8");
69285
69285
  for (const line of content.split("\n")) {
69286
69286
  if (!line.trim()) continue;
69287
69287
  try {
@@ -72942,7 +72942,7 @@ async function deliverSessionMaintenanceWarning(params) {
72942
72942
  return;
72943
72943
  }
72944
72944
  try {
72945
- const { deliverOutboundPayloads } = await import("./deliver-DqhOGtUr.js").then((n) => n.n);
72945
+ const { deliverOutboundPayloads } = await import("./deliver-Du7r6Fpd.js").then((n) => n.n);
72946
72946
  await deliverOutboundPayloads({
72947
72947
  cfg: params.cfg,
72948
72948
  channel,
@@ -73317,7 +73317,7 @@ async function stageSandboxMedia(params) {
73317
73317
  };
73318
73318
  try {
73319
73319
  const destDir = sandbox ? path.join(effectiveWorkspaceDir, "media", "inbound") : effectiveWorkspaceDir;
73320
- await fsPromises.mkdir(destDir, { recursive: true });
73320
+ await fs$1.mkdir(destDir, { recursive: true });
73321
73321
  const remoteAttachmentRoots = resolveIMessageRemoteAttachmentRoots({
73322
73322
  cfg,
73323
73323
  accountId: ctx.AccountId
@@ -73367,7 +73367,7 @@ async function stageSandboxMedia(params) {
73367
73367
  usedNames.add(fileName);
73368
73368
  const dest = path.join(destDir, fileName);
73369
73369
  if (ctx.MediaRemoteHost) await scpFile(ctx.MediaRemoteHost, source, dest);
73370
- else await fsPromises.copyFile(source, dest);
73370
+ else await fs$1.copyFile(source, dest);
73371
73371
  const stagedPath = sandbox ? path.posix.join("media", "inbound", fileName) : dest;
73372
73372
  staged.set(source, stagedPath);
73373
73373
  }