@visorcraft/idlehands 4.2.1 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/dist/{accounts-3HS_UAhJ.js → accounts-B4A5mL3Y.js} +1 -1
  2. package/dist/{accounts-BDVs8LTu.js → accounts-B8cGzkjD.js} +1 -1
  3. package/dist/{accounts-Dk8mJIrQ.js → accounts-BQC_GRUB.js} +6 -6
  4. package/dist/{accounts-DLTODa_Z.js → accounts-CbaEMSlt.js} +2 -2
  5. package/dist/{accounts-CIvVRRHb.js → accounts-D5tB_lO0.js} +1 -1
  6. package/dist/{accounts-DgbTKQoW.js → accounts-VbtNKne6.js} +1 -1
  7. package/dist/{acp-cli-BEpWQbqb.js → acp-cli-BF3FD1qw.js} +12 -12
  8. package/dist/{agent-scope-DyP_tr7s.js → agent-scope-Bxq1eWbA.js} +4 -4
  9. package/dist/{agent-scope-RA0zXRpu.js → agent-scope-DbNnv10G.js} +3 -3
  10. package/dist/{agent-via-gateway-oMn0WfUq.js → agent-via-gateway-9aP1U_YQ.js} +6 -6
  11. package/dist/{agent-via-gateway-CldlRczJ.js → agent-via-gateway-BN0HMYd7.js} +1 -1
  12. package/dist/{agent-via-gateway-CUtzJXBE.js → agent-via-gateway-BsTP4WyI.js} +60 -60
  13. package/dist/{agent-via-gateway-C42kkKZI.js → agent-via-gateway-BtMWCqx4.js} +2 -2
  14. package/dist/{agents-BfnnMO1i.js → agents-Bitc3LDE.js} +4 -4
  15. package/dist/{agents.config-bWtpv0jP.js → agents.config-DLjDlH4M.js} +2 -2
  16. package/dist/{agents.config-BFfVBZMA.js → agents.config-DmFqh5v8.js} +1 -1
  17. package/dist/{anton-CgpWkf5P.js → anton-C3Y_hYo3.js} +91 -57
  18. package/dist/{anton-DSS3RNo7.js → anton-CmB9XtGt.js} +91 -57
  19. package/dist/{anton-CoGaJdTU.js → anton-Dn_Pc4P0.js} +95 -61
  20. package/dist/{anton-DXL8jrY_.js → anton-DqSQ27RK.js} +94 -60
  21. package/dist/{api-key-rotation-B-FTJm5p.js → api-key-rotation-Bj8Q_8ST.js} +2 -2
  22. package/dist/{audio-preflight-Dl1TO10w.js → audio-preflight-BEe3Go6e.js} +41 -41
  23. package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-qkU2lsDn.js} +35 -35
  24. package/dist/{audit-CKeZnjft.js → audit-DjUOBxVB.js} +21 -21
  25. package/dist/{auth-heRVBxh2.js → auth-DoNXQLDj.js} +1 -1
  26. package/dist/{auth-choice-Z7nPFxhP.js → auth-choice-BKDISagq.js} +10 -10
  27. package/dist/{auth-choice-D12Wsf7w.js → auth-choice-fHV4ZjtT.js} +15 -15
  28. package/dist/{auth-choice-BNofPyTK.js → auth-choice-nFObMeHm.js} +1 -1
  29. package/dist/{auth-choice.apply-helpers-CGcniL1T.js → auth-choice.apply-helpers-fIm7h2DA.js} +1 -1
  30. package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
  31. package/dist/{auth-store-DDzIMy8_.js → auth-store-Dqjgb5R1.js} +1 -1
  32. package/dist/{auth-token-BJq87X3o.js → auth-token-ChjRQYCt.js} +2 -2
  33. package/dist/{banner-B1-kj-GW.js → banner-IB7Cylyq.js} +1 -1
  34. package/dist/{bindings-D3b5Fmc9.js → bindings-CLZIJ0Eo.js} +2 -2
  35. package/dist/{bindings-B59Q7nsk.js → bindings-DorAphZu.js} +2 -2
  36. package/dist/{bonjour-discovery-DMslm8Hx.js → bonjour-discovery-Yzgl5gfZ.js} +2 -2
  37. package/dist/{browser-cli-Ci6DpTnS.js → browser-cli-B8GEKR0p.js} +19 -19
  38. package/dist/build-info.json +3 -3
  39. package/dist/bundled/boot-md/handler.js +60 -60
  40. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  41. package/dist/bundled/command-logger/handler.js +3 -3
  42. package/dist/bundled/session-memory/handler.js +60 -60
  43. package/dist/{call-BpWhjuOg.js → call-SK4sGwpN.js} +4 -4
  44. package/dist/{channel-account-context-CDbY5AIr.js → channel-account-context-CBQ0TdW0.js} +1 -1
  45. package/dist/{channel-activity-DaCsrdWK.js → channel-activity-D3e45uuU.js} +3 -3
  46. package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-DdL3RAv_.js} +3 -3
  47. package/dist/{channel-options-C5Iz9bes.js → channel-options-B2LlZj0S.js} +1 -1
  48. package/dist/{channel-options-CUP3A4VX.js → channel-options-DcxOFxzU.js} +5 -5
  49. package/dist/{channel-selection-ZxRkxpuF.js → channel-selection-DLfBD-c0.js} +2 -2
  50. package/dist/{channel-web-CsUiKxQo.js → channel-web-Cu_AcYVB.js} +26 -26
  51. package/dist/{channel-web-CGXl1PnB.js → channel-web-XLD22Zzs.js} +2 -2
  52. package/dist/{channels-cli-DmHSajZy.js → channels-cli-BWMjEguK.js} +104 -104
  53. package/dist/{channels-cli-DK7TRLqX.js → channels-cli-DZWOS5d6.js} +7 -7
  54. package/dist/{channels-status-issues-CDpWjdI3.js → channels-status-issues-DMvYh1lV.js} +1 -1
  55. package/dist/{chrome-BcJB6PcM.js → chrome-CT_a9OgI.js} +17 -17
  56. package/dist/{chrome-VBsQfIrt.js → chrome-DeAzXWRb.js} +4 -4
  57. package/dist/{chunk-ClMFHJu-.js → chunk-DJjn34fF.js} +1 -1
  58. package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
  59. package/dist/{clack-prompter-CvbZsmjW.js → clack-prompter-EMS8sO4h.js} +5 -5
  60. package/dist/{clawbot-cli-uFgYrysW.js → clawbot-cli-B8qqplom.js} +9 -9
  61. package/dist/cli/daemon-cli.js +1 -1
  62. package/dist/cli-BN8I3vTa.js +162 -0
  63. package/dist/{cli-6eMKeewY.js → cli-Bq5b8f58.js} +2 -2
  64. package/dist/{client-DtnD-ee9.js → client-Cagiy1nE.js} +2 -2
  65. package/dist/{clipboard-LsW7H0Y8.js → clipboard-BqjWohVl.js} +1 -1
  66. package/dist/{command-registry-BFTlzx6d.js → command-registry-CeIfSw9l.js} +10 -10
  67. package/dist/{commands-Dj5LalLo.js → commands-5UqnjBKV.js} +2 -2
  68. package/dist/{commands-registry-CURlRZQJ.js → commands-registry-C1lIoXkL.js} +5 -5
  69. package/dist/{commands-registry-j4vAzcF2.js → commands-registry-_TBHHpvt.js} +5 -5
  70. package/dist/{completion-cli-PBfCNWhv.js → completion-cli-ClOKco1N.js} +4 -4
  71. package/dist/{completion-cli-BbXgtvGY.js → completion-cli-Dh0MVQJ6.js} +2 -2
  72. package/dist/{config-cli-BVJRkNhX.js → config-cli-BaNTuQ52.js} +13 -13
  73. package/dist/{config-cli-Q934shK6.js → config-cli-CpgR8c8d.js} +1 -1
  74. package/dist/{config-guard-BdsOumqh.js → config-guard-DwTygT00.js} +23 -23
  75. package/dist/{config-validation-BvKX6fPw.js → config-validation-wUpXePGY.js} +2 -2
  76. package/dist/{configure-BGAvA5a4.js → configure-BfzLtTQH.js} +3 -3
  77. package/dist/{configure-85ttW_lD.js → configure-C4n13-o1.js} +21 -21
  78. package/dist/{control-ui-assets-C7ZpN9hN.js → control-ui-assets-CSrZ1shI.js} +1 -1
  79. package/dist/{cron-cli-DQsnGQKs.js → cron-cli-Den58QGF.js} +17 -17
  80. package/dist/{daemon-cli-DUg-s4LG.js → daemon-cli-CpCtUgS2.js} +14 -14
  81. package/dist/{daemon-install-CYPo4M1M.js → daemon-install-BPEEr5XM.js} +8 -8
  82. package/dist/{deliver--kttnrER.js → deliver-BqJFyWu7.js} +10 -10
  83. package/dist/{deliver-BUiQ-9fE.js → deliver-Db2xqgLg.js} +20 -20
  84. package/dist/{deps-AEDT3iDX.js → deps-BH4bzzRD.js} +1 -1
  85. package/dist/{deps-Bq7jJLyN.js → deps-CjvmCq-K.js} +6 -6
  86. package/dist/{deps-B4J8H6nI.js → deps-CnUuBleG.js} +6 -6
  87. package/dist/{deps-Ch6bZ8PI.js → deps-c-x2UBbd.js} +1 -1
  88. package/dist/{devices-cli-DKK65S9Z.js → devices-cli-HTdRxjTf.js} +12 -12
  89. package/dist/{diagnostic-ByHpt6q8.js → diagnostic-BUKW2Q0G.js} +1 -1
  90. package/dist/{diagnostic-4owMk4vH.js → diagnostic-BvlZ0Sot.js} +1 -1
  91. package/dist/{diagnostic-BECJfEvH.js → diagnostic-ztHDqZ1m.js} +3 -3
  92. package/dist/{diagnostics-DmZbQ8Nc.js → diagnostics-C2vxSb6v.js} +1 -1
  93. package/dist/{directory-cli-Dz9iXeut.js → directory-cli-BQDn6Qin.js} +16 -16
  94. package/dist/{dns-cli-DD6hWsdc.js → dns-cli-lwfJKGdv.js} +10 -10
  95. package/dist/{dock-Y96MzKuM.js → dock-DpA6CUDJ.js} +6 -6
  96. package/dist/{dock-BgOmHcbh.js → dock-ejUetwTC.js} +6 -6
  97. package/dist/{docs-cli-cHkrTB2e.js → docs-cli-Jnv5gp25.js} +9 -9
  98. package/dist/{doctor-completion-CN5Zujsa.js → doctor-completion-BUUL91Dy.js} +2 -2
  99. package/dist/{doctor-completion-Clh5CNUd.js → doctor-completion-IIzctUix.js} +1 -1
  100. package/dist/{doctor-config-flow-Ck4oCjfl.js → doctor-config-flow-DcxVJJvh.js} +13 -13
  101. package/dist/{emergency-stop-2v4bhRCE.js → emergency-stop-Bg9a1fXU.js} +2 -2
  102. package/dist/emergency-stop-Chw8LiXP.js +113 -0
  103. package/dist/{emergency-stop-D_bTOufu.js → emergency-stop-CjxNr2he.js} +2 -2
  104. package/dist/emergency-stop-HaFAEk9Z.js +162 -0
  105. package/dist/{enable-o_s6PBsC.js → enable-ztZSnOGv.js} +2 -2
  106. package/dist/entry.js +1 -1
  107. package/dist/{env-Bx-F45X5.js → env-dMo-pLSc.js} +1 -1
  108. package/dist/{env-B5G1qwGc.js → env-q-PhWbb_.js} +1 -1
  109. package/dist/{errors-DZDuPc3M.js → errors-BNr2qnai.js} +1 -1
  110. package/dist/{errors-C_0nm4TJ.js → errors-C4SHjIZK.js} +1 -1
  111. package/dist/{exec-CKHMT0tZ.js → exec-B9xbr2pN.js} +2 -2
  112. package/dist/{exec-approvals-allowlist-Co2tJSEo.js → exec-approvals-allowlist-BzsyDGgt.js} +1 -1
  113. package/dist/{exec-approvals-cli-D6XUzs4j.js → exec-approvals-cli-2SjGVbIm.js} +21 -21
  114. package/dist/{exec-safe-bin-runtime-policy-DaoU9-ni.js → exec-safe-bin-runtime-policy-bEV0LvVh.js} +2 -2
  115. package/dist/extensionAPI.js +2 -2
  116. package/dist/{fetch-guard-yUZu1Vzc.js → fetch-guard-C-IWepjW.js} +1 -1
  117. package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-CcfDZXe9.js} +1 -1
  118. package/dist/{frontmatter-BOudmHMS.js → frontmatter-pTUG4Sx_.js} +2 -2
  119. package/dist/{frontmatter-D-sQ_Hqk.js → frontmatter-x0EBRtDF.js} +2 -2
  120. package/dist/{fs-safe-CYUaAFO9.js → fs-safe-2l05hI1Y.js} +2 -2
  121. package/dist/{gateway-cli-Cl7cEsHE.js → gateway-cli-Bcamqq7Z.js} +9 -9
  122. package/dist/{gateway-cli-DJm73Wou.js → gateway-cli-C2jOWbsN.js} +123 -123
  123. package/dist/{gateway-rpc-BBFG1T-M.js → gateway-rpc-C_He5poS.js} +3 -3
  124. package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DLSGffQK.js} +2 -2
  125. package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
  126. package/dist/{gmail-setup-utils-DRJTQOMM.js → gmail-setup-utils-D1VrLZhD.js} +3 -3
  127. package/dist/{health-C6_Sa_ef.js → health-3B8ANLz5.js} +15 -15
  128. package/dist/{health-D-b3jdnU.js → health-BTU1dGHH.js} +1 -1
  129. package/dist/{health-format-Ba_hOaT2.js → health-format-CWIquyOr.js} +1 -1
  130. package/dist/{help-format-CMAqOikG.js → help-format-D7QsjOW4.js} +1 -1
  131. package/dist/{hooks-cli-BB25FyuN.js → hooks-cli-BOc85-37.js} +3 -3
  132. package/dist/{hooks-cli-BC3n8UYQ.js → hooks-cli-CdEcbqPF.js} +93 -93
  133. package/dist/{hooks-status-DNGo2G8Q.js → hooks-status-BBvzI_rQ.js} +3 -3
  134. package/dist/{image-DSDEbSiO.js → image-BkrcRFPe.js} +7 -7
  135. package/dist/{image-D8b_rlQC.js → image-Dlu13Ebx.js} +6 -6
  136. package/dist/{image-ops-BU-VdLZu.js → image-ops-CGnAhRRV.js} +1 -1
  137. package/dist/{image-ops-D1KtygWz.js → image-ops-J8P5zOFm.js} +1 -1
  138. package/dist/index.js +99 -99
  139. package/dist/{inspect-ISQZuNM5.js → inspect-BOW-hTlT.js} +1 -1
  140. package/dist/{installs-CNubze2L.js → installs-DGfrRYWX.js} +4 -4
  141. package/dist/{ir-B7IBoKLy.js → ir-BT5aAdU9.js} +5 -5
  142. package/dist/{ir-VncGpwA1.js → ir-DBqjL1SG.js} +4 -4
  143. package/dist/{lifecycle-core-B6UoqYTJ.js → lifecycle-core-DOL5vqsF.js} +5 -5
  144. package/dist/{links-15764jZB.js → links-DIG3qrf5.js} +1 -1
  145. package/dist/llm-slug-generator.js +60 -60
  146. package/dist/{local-roots-q0xbefkf.js → local-roots-B-lmQdZs.js} +4 -4
  147. package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
  148. package/dist/{logging-B0-9lotb.js → logging-BK2fjjMe.js} +1 -1
  149. package/dist/{login-CfUhrgWT.js → login-BVf_DBja.js} +6 -6
  150. package/dist/{login-CFr5vJmR.js → login-C2X0In6m.js} +6 -6
  151. package/dist/{login-qr-CFFFOjOl.js → login-qr-C17PY0rr.js} +11 -11
  152. package/dist/{login-qr-DBMsUxgL.js → login-qr-V1EwcFLt.js} +10 -10
  153. package/dist/{logs-cli-4VQ9Iwiw.js → logs-cli-BgrYblUE.js} +13 -13
  154. package/dist/{manager-BE_76jWB.js → manager-CgzA1hKo.js} +15 -15
  155. package/dist/{manager-BMAFgXyU.js → manager-DayGME0K.js} +10 -10
  156. package/dist/{manifest-registry-Bak1x76G.js → manifest-registry-cOeAg4W6.js} +2 -2
  157. package/dist/{markdown-tables-DZClqsNo.js → markdown-tables-BQ8czvs_.js} +1 -1
  158. package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-R8VTpfE9.js} +1 -1
  159. package/dist/{memory-cli-CUGwnVIY.js → memory-cli-D_bFq_Q1.js} +12 -12
  160. package/dist/{message-channel-DVauVtrg.js → message-channel-CRSTffWx.js} +1 -1
  161. package/dist/{message-channel-C8QtrwEU.js → message-channel-ZdI1-uUh.js} +1 -1
  162. package/dist/{model-C-icShH2.js → model-Di6JkHyx.js} +2 -2
  163. package/dist/{model-catalog-D9no0CH2.js → model-catalog-D_KsCB5j.js} +4 -4
  164. package/dist/{model-picker-BkXoTOiA.js → model-picker-CM_QFlL4.js} +4 -4
  165. package/dist/{model-selection-1MMYqY6M.js → model-selection-C5hI1dum.js} +41 -41
  166. package/dist/{model-selection-0dGxYGp8.js → model-selection-Df4-bBn3.js} +12 -12
  167. package/dist/{models-C1_Tdc1Q.js → models-CIS_OcjC.js} +2 -2
  168. package/dist/{models-cli-Bs5ZNSbk.js → models-cli-6njz6jJl.js} +4 -4
  169. package/dist/{models-cli-B9yw60gV.js → models-cli-BS7pagh1.js} +98 -98
  170. package/dist/{models-config-C5A1wDWh.js → models-config-zq6L0fug.js} +2 -2
  171. package/dist/{node-cli-BYzjxmUY.js → node-cli-PVcj1bnA.js} +33 -33
  172. package/dist/{node-service-C3vyxHLA.js → node-service-IG3YtMJq.js} +1 -1
  173. package/dist/{nodes-cli-kNOtp0U0.js → nodes-cli-DKj4NkKf.js} +21 -21
  174. package/dist/{nodes-screen-CcpPaFxa.js → nodes-screen-CK0vmyQx.js} +1 -1
  175. package/dist/{note-69EfBEU-.js → note--5AAjfvH.js} +2 -2
  176. package/dist/{npm-registry-spec-BCbbfIhX.js → npm-registry-spec-B81IsQOs.js} +2 -2
  177. package/dist/{npm-resolution-BMDipaRX.js → npm-resolution-CkpVYF4z.js} +4 -4
  178. package/dist/{npm-resolution-yXJbqHHn.js → npm-resolution-DWXTcpqo.js} +1 -1
  179. package/dist/{onboard-DjbHK18p.js → onboard-BYOBc47n.js} +9 -9
  180. package/dist/{onboard-CYRoDnOI.js → onboard-b_mYsSas.js} +2 -2
  181. package/dist/{onboard-channels-CkxvodmR.js → onboard-channels-CzB1oDsu.js} +1 -1
  182. package/dist/{onboard-channels-CNQt2jFU.js → onboard-channels-sslbndju.js} +17 -17
  183. package/dist/{onboard-custom-DUbzMMu7.js → onboard-custom-C_4nk_e8.js} +4 -4
  184. package/dist/{onboard-helpers-mzy38DiC.js → onboard-helpers-CXjQtadC.js} +7 -7
  185. package/dist/{onboard-hooks-D9teGxfH.js → onboard-hooks-CuOJrgfu.js} +7 -7
  186. package/dist/{onboard-remote-LCBHijVE.js → onboard-remote-B-bN7EmV.js} +3 -3
  187. package/dist/{onboard-skills-jFY9gaOu.js → onboard-skills-BVmcgCzz.js} +4 -4
  188. package/dist/{onboarding-BEDOWI9h.js → onboarding-BfDz8n6H.js} +3 -3
  189. package/dist/{onboarding-D9AZJlDK.js → onboarding-qxSl79A_.js} +16 -16
  190. package/dist/{onboarding.finalize-DJxMkD2g.js → onboarding.finalize-DGZkcjrv.js} +99 -99
  191. package/dist/{onboarding.finalize-D4hW1yTd.js → onboarding.finalize-DeEXxkOU.js} +7 -7
  192. package/dist/{onboarding.gateway-config-Btu2gzgr.js → onboarding.gateway-config-BinQe57V.js} +21 -21
  193. package/dist/{openai-model-default-7J6cw1rA.js → openai-model-default-CK1wUY3u.js} +2 -2
  194. package/dist/{outbound-BNh6PpQb.js → outbound-CdY_AskB.js} +6 -6
  195. package/dist/{outbound-DPTxwchq.js → outbound-DClHNQfl.js} +6 -6
  196. package/dist/{outbound-attachment-Bot3bRnK.js → outbound-attachment-Cz80loTd.js} +2 -2
  197. package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-IfeZJAKk.js} +2 -2
  198. package/dist/{pairing-cli-jwx6hMsM.js → pairing-cli-By_hykOY.js} +15 -15
  199. package/dist/{pairing-labels-ChQJzbS9.js → pairing-labels-Dm-DUGGI.js} +1 -1
  200. package/dist/{pairing-store-CPpEEQJO.js → pairing-store-CPUUuW7M.js} +3 -3
  201. package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BZmt6hFb.js} +1 -1
  202. package/dist/{path-env-CKSLQUS1.js → path-env-CWIJihhd.js} +1 -1
  203. package/dist/{paths-B-CLQ5RT.js → paths-CBF9EBzh.js} +1 -1
  204. package/dist/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
  205. package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
  206. package/dist/{pi-embedded-o6Xj8V4C.js → pi-embedded-E9CG0AZO.js} +11 -11
  207. package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-B3ceCcxm.js} +24 -24
  208. package/dist/{pi-embedded-helpers-BCsfqpDt.js → pi-embedded-helpers-D675DgwP.js} +4 -4
  209. package/dist/{pi-embedded-C6RDRgJM.js → pi-embedded-xW12sr9Q.js} +179 -179
  210. package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-BEKzIGSg.js} +1 -1
  211. package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-Dlx4RLWo.js} +7 -7
  212. package/dist/{pi-tools.policy-DfITIKZj.js → pi-tools.policy-GzRj_NVc.js} +6 -6
  213. package/dist/{plugin-auto-enable-7DUxMy6A.js → plugin-auto-enable-CU8IfpBV.js} +5 -5
  214. package/dist/{plugin-registry-DIK-5KI9.js → plugin-registry-CJfl54B-.js} +4 -4
  215. package/dist/{plugin-registry-6C1sgAm1.js → plugin-registry-CY1u8bd9.js} +1 -1
  216. package/dist/plugin-sdk/{agent-via-gateway-DmQMFWNE.js → agent-via-gateway-NXyTgftN.js} +2 -2
  217. package/dist/plugin-sdk/{anton-CrjFisFZ.js → anton-8LTiJnvw.js} +91 -57
  218. package/dist/plugin-sdk/{channel-web-vQgHbtCG.js → channel-web-DEl6BZu6.js} +2 -2
  219. package/dist/plugin-sdk/{deps-DfyALwFG.js → deps-CdRm6UCM.js} +1 -1
  220. package/dist/plugin-sdk/{emergency-stop-0ZrbH3D4.js → emergency-stop-vr_MLBH0.js} +2 -2
  221. package/dist/plugin-sdk/index.js +3 -3
  222. package/dist/plugin-sdk/{reply-BfdVf3fw.js → reply-Cii_-apO.js} +11 -11
  223. package/dist/plugin-sdk/{web-DwDLI7GP.js → web-BrcYG4Cd.js} +3 -3
  224. package/dist/{plugins-D46VZh7u.js → plugins-Bj6rzE-9.js} +5 -5
  225. package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
  226. package/dist/{plugins-cli-DFUxLQbB.js → plugins-cli-BsCu9ZxX.js} +3 -3
  227. package/dist/{plugins-cli-B1kN2Xze.js → plugins-cli-rEURRyag.js} +95 -95
  228. package/dist/{ports-SQy1d-RL.js → ports-BJ6Xu_G6.js} +3 -3
  229. package/dist/{ports-B2o0FSFD.js → ports-D3FuSfMU.js} +2 -2
  230. package/dist/{program-mmjp27H4.js → program-CtFnQFId.js} +8 -8
  231. package/dist/{program-context-CjyGlgVG.js → program-context-BsCSqznM.js} +43 -43
  232. package/dist/{progress-BQLz1r3L.js → progress-BN8aygvh.js} +1 -1
  233. package/dist/{prompt-select-styled-FskTiqWw.js → prompt-select-styled-BB8mtFS9.js} +35 -35
  234. package/dist/{prompt-select-styled-04TKk_r3.js → prompt-select-styled-BKPmN1HP.js} +4 -4
  235. package/dist/{prompt-style-kmKiCZnm.js → prompt-style-BRwf6dfp.js} +1 -1
  236. package/dist/{provider-auth-helpers-9IcvdTst.js → provider-auth-helpers-486CLY6U.js} +1 -1
  237. package/dist/{provider-auth-helpers-BI7MVWjD.js → provider-auth-helpers-ar7t02s1.js} +7 -7
  238. package/dist/{push-apns-DvSYSWvk.js → push-apns-AHniql5u.js} +5 -5
  239. package/dist/{push-apns-Bh0u21Bh.js → push-apns-CJJ-O5fL.js} +1 -1
  240. package/dist/{pw-ai-CfYaR1K2.js → pw-ai-DIV4PcIo.js} +13 -13
  241. package/dist/{pw-ai-7i9eGnLh.js → pw-ai-DRVoaq_u.js} +13 -13
  242. package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-BRvg3Rx2.js} +8 -8
  243. package/dist/{qmd-manager-B-qeywfQ.js → qmd-manager-SkIM31ge.js} +6 -6
  244. package/dist/{qr-cli-CSt5ihwG.js → qr-cli-BsFvbHQy.js} +4 -4
  245. package/dist/{query-expansion-Clts_AGz.js → query-expansion-BIsWftgR.js} +2 -2
  246. package/dist/{query-expansion-DEq020GG.js → query-expansion-DHuNyU-_.js} +5 -5
  247. package/dist/{redact-Bvpf-ATQ.js → redact-1Y0KPNtr.js} +1 -1
  248. package/dist/{redact-B_4KNlXs.js → redact-CIBM9Zli.js} +1 -1
  249. package/dist/{redact-snapshot-BbEVKv0k.js → redact-snapshot-DQ_VN7gO.js} +2 -2
  250. package/dist/{register.agent-B3zUfhl9.js → register.agent-DswuLYd8.js} +9 -9
  251. package/dist/{register.agent-BSe92Zxh.js → register.agent-TMXz7bwT.js} +110 -110
  252. package/dist/{register.configure-N4JG5hVe.js → register.configure-BFWnHArB.js} +8 -8
  253. package/dist/register.configure-DlxSU46q.js +168 -0
  254. package/dist/{register.maintenance-DxauQqK_.js → register.maintenance-C2B-RPnI.js} +108 -108
  255. package/dist/{register.maintenance-BjhkxF3o.js → register.maintenance-Dj8A9Hj7.js} +9 -9
  256. package/dist/{register.message-BsMpRFVr.js → register.message-CR569hCK.js} +90 -90
  257. package/dist/{register.message-DoZ5i1Pn.js → register.message-DWm_Lizi.js} +3 -3
  258. package/dist/{register.onboard-Cw3wNQRm.js → register.onboard-BjMv8Rc2.js} +2 -2
  259. package/dist/{register.onboard-Hxi3l9IA.js → register.onboard-CBlF61-5.js} +29 -29
  260. package/dist/{register.orchestrator-anton-BqQfw2JX.js → register.orchestrator-anton-CehFZHyG.js} +7 -7
  261. package/dist/{register.orchestrator-anton-DOByOKzU.js → register.orchestrator-anton-Cvw__ptb.js} +2 -2
  262. package/dist/{register.setup-r5Xy4nv4.js → register.setup-B8TX05TM.js} +2 -2
  263. package/dist/{register.setup-dazD7bl3.js → register.setup-BrXOX1jn.js} +31 -31
  264. package/dist/{register.status-health-sessions-DobZ2G2u.js → register.status-health-sessions-C-3gl9qR.js} +4 -4
  265. package/dist/{register.status-health-sessions-3zjBM0m6.js → register.status-health-sessions-DexyefSU.js} +101 -101
  266. package/dist/{register.subclis-CGJxYP3h.js → register.subclis-CFcZU6Sc.js} +9 -9
  267. package/dist/{replies-6_GxvQYe.js → replies-2C16fnBP.js} +3 -3
  268. package/dist/{replies-hSFVxL4h.js → replies-CWMglpIw.js} +3 -3
  269. package/dist/{reply-BDr-UY9O.js → reply-dLJYULbb.js} +114 -114
  270. package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-CXLm7TNq.js} +1 -1
  271. package/dist/{reply-prefix-C3y4zpTl.js → reply-prefix-DCljZiIB.js} +1 -1
  272. package/dist/{resolve-route-D_AbcmD6.js → resolve-route-BrHTn_2g.js} +4 -4
  273. package/dist/{resolve-route-DuttYY7A.js → resolve-route-ClcifpKn.js} +4 -4
  274. package/dist/{retry-Db05aSB8.js → retry-B7zUL1Mv.js} +1 -1
  275. package/dist/{retry-BeB9WenR.js → retry-CG6cMRDQ.js} +1 -1
  276. package/dist/{rpc-Cf9OK5Yk.js → rpc-Dp_JZNAZ.js} +3 -3
  277. package/dist/{run-main-BDEztzfx.js → run-main-xc_0T201.js} +15 -15
  278. package/dist/{runner-PgRFPYUj.js → runner-BkCU-kqs.js} +11 -11
  279. package/dist/{runner-DzszLzI4.js → runner-p3KLBBEt.js} +11 -11
  280. package/dist/{runtime-XmXLaHNk.js → runtime-DELkrqga.js} +3 -3
  281. package/dist/{sandbox-DcUw5h3p.js → sandbox-cEpEHVD-.js} +8 -8
  282. package/dist/{sandbox-cli-DGvJ7Eeq.js → sandbox-cli-B7kOJiLh.js} +32 -32
  283. package/dist/{secrets-cli-CR3h2TBy.js → secrets-cli-COGPFjdu.js} +14 -14
  284. package/dist/{security-cli-B9_LV2po.js → security-cli-Db4ZYVER.js} +42 -42
  285. package/dist/{send-D4bMycQu.js → send-BOxJ4QXF.js} +7 -7
  286. package/dist/{send-DwdHiC7_.js → send-BhbOA8rP.js} +10 -10
  287. package/dist/{send-DQiw_nGD.js → send-D-UmmCCj.js} +7 -7
  288. package/dist/{send--lzpNy4f.js → send-DA-ryUJS.js} +14 -14
  289. package/dist/{send-BeIZJuy4.js → send-DZa8fWSm.js} +7 -7
  290. package/dist/{send-C4v0Leny.js → send-D_ARyjSf.js} +6 -6
  291. package/dist/{send-DuwdEkLw.js → send-DnscWRVE.js} +7 -7
  292. package/dist/{send-Dfa3sn6r.js → send-FLdrx-oF.js} +24 -24
  293. package/dist/{send-DmLC7aEF.js → send-IlPMLAH-.js} +10 -10
  294. package/dist/{send-C1hvd3bt.js → send-Y1hD4tQ1.js} +6 -6
  295. package/dist/{server-D6MltJIF.js → server-DLOBjQtf.js} +21 -21
  296. package/dist/{server-context-DI0W_H7R.js → server-context-CvZnSu9L.js} +11 -11
  297. package/dist/{server-lifecycle-B5PlrlbG.js → server-lifecycle-CfZbDiFe.js} +2 -2
  298. package/dist/{server-node-events-C69TPlKW.js → server-node-events-CgSZVd8M.js} +89 -89
  299. package/dist/{server-node-events-BL1dTBEr.js → server-node-events-Dj5jYSln.js} +3 -3
  300. package/dist/{service-C8NMS3m_.js → service-fKr0VnMd.js} +1 -1
  301. package/dist/{session-CdnrRhb4.js → session-BKdoiopW.js} +2 -2
  302. package/dist/{session-F_YDS_1V.js → session-nUPBXeEa.js} +7 -7
  303. package/dist/{sessions-3ioSeOA1.js → sessions-DRA4oaxz.js} +41 -41
  304. package/dist/{sessions-BtPXimXQ.js → sessions-uS8Ko6pU.js} +6 -6
  305. package/dist/{shared-CpDPo3hJ.js → shared-Cvf3nhuq.js} +2 -2
  306. package/dist/{shared-DpLSpJIl.js → shared-pSfUCPxh.js} +1 -1
  307. package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BHTBXXVn.js} +9 -9
  308. package/dist/{skill-commands-BFzmZAfo.js → skill-commands-BY4BNcfR.js} +6 -6
  309. package/dist/{skill-scanner-D7mzXRXd.js → skill-scanner-BFXxq_hZ.js} +1 -1
  310. package/dist/{skills-DlvDyK8L.js → skills-DuPZzvnK.js} +4 -4
  311. package/dist/{skills-cli-BhKGhjbO.js → skills-cli-wSg-syqz.js} +10 -10
  312. package/dist/{skills-install-tr6wRWZj.js → skills-install-CQihNd2n.js} +6 -6
  313. package/dist/{skills-status-qjQ8XP0h.js → skills-status-D7aU-6Ob.js} +4 -4
  314. package/dist/{skills-CnAPWfca.js → skills-umlGvChF.js} +22 -22
  315. package/dist/{status-B8z0RCPf.js → status-Bp-x4GJi.js} +24 -24
  316. package/dist/{status-AEwcpHsu.js → status-CV7OIIGl.js} +2 -2
  317. package/dist/{status.update-CTi6vuWj.js → status.update-Cri65g-V.js} +1 -1
  318. package/dist/{store-kH9wHHbO.js → store-CR1Ag5tw.js} +2 -2
  319. package/dist/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
  320. package/dist/{subagent-registry-Dclk-Ews.js → subagent-registry-CJX_DOgh.js} +11 -11
  321. package/dist/{subsystem-CGZX2PBV.js → subsystem-BTkYq-SM.js} +1 -1
  322. package/dist/{subsystem-tzu-rIAJ.js → subsystem-D7ZepYT1.js} +1 -1
  323. package/dist/{system-cli-DyVZ5udc.js → system-cli-DSF87U3I.js} +13 -13
  324. package/dist/{system-run-approval-context-CISBXlNw.js → system-run-approval-context-DtT5msEN.js} +1 -1
  325. package/dist/{system-run-command-qJdgzxLp.js → system-run-command-CrHlKsQv.js} +1 -1
  326. package/dist/{systemd-CaCR5CyM.js → systemd-C9CCJ2y5.js} +2 -2
  327. package/dist/{systemd-hints-DHu-HVFx.js → systemd-hints-D4_AmIA0.js} +2 -2
  328. package/dist/{systemd-linger-B7XlUHk_.js → systemd-linger-BRBtRm6O.js} +2 -2
  329. package/dist/{table-B9AmL3M1.js → table-PG064F0C.js} +2 -2
  330. package/dist/{tables-g9xkflht.js → tables-Ca5i1iM6.js} +1 -1
  331. package/dist/{tables-5k-zOZ-s.js → tables-Co_R_WKs.js} +1 -1
  332. package/dist/{tailscale-B5Irc_Bi.js → tailscale-Dr3FvwTm.js} +2 -2
  333. package/dist/{target-errors-BPfQrPim.js → target-errors-B1mcM4WR.js} +2 -2
  334. package/dist/{target-errors-bLIVFsbF.js → target-errors-BhRMVh6a.js} +2 -2
  335. package/dist/{tokens-Dg-QZ_pN.js → tokens-DGajj8M9.js} +1 -1
  336. package/dist/{tokens-BRLyURxW.js → tokens-DY5TC4xI.js} +1 -1
  337. package/dist/{tool-display-Dac7lHGW.js → tool-display-1HTlk4mF.js} +2 -2
  338. package/dist/{tool-images-CcGZpzmq.js → tool-images-ByP8vQ_u.js} +2 -2
  339. package/dist/{tool-images-CHqepyF_.js → tool-images-Duuqr4bN.js} +2 -2
  340. package/dist/{tool-loop-detection-C5VjmhPJ.js → tool-loop-detection-BxLycal4.js} +2 -2
  341. package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-CjWRg_4q.js} +3 -3
  342. package/dist/{trash-CUFiyQN5.js → trash-CHnKIQrP.js} +1 -1
  343. package/dist/{tui-Bne3YNiw.js → tui-BmvrLAnW.js} +9 -9
  344. package/dist/{tui-cli-D0Z-rcUe.js → tui-cli-Dm28GC4T.js} +39 -39
  345. package/dist/{update-D79ppbMQ.js → update-D96LyJ5s.js} +3 -3
  346. package/dist/{update-cli-8Tk6PCmD.js → update-cli-Crq7aGUA.js} +115 -115
  347. package/dist/{update-cli-Bobm67f-.js → update-cli-z5fJRDU4.js} +9 -9
  348. package/dist/{update-runner-B4xzPa4-.js → update-runner-BLquhnrL.js} +5 -5
  349. package/dist/{update-runner-C4NjVy9-.js → update-runner-BkSrWsKc.js} +1 -1
  350. package/dist/{utils-CXzXXV2o.js → utils-BfmeFj7S.js} +2 -2
  351. package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
  352. package/dist/{web-9J12F46d.js → web-B267OUXc.js} +3 -3
  353. package/dist/{web-DPSpgc_K.js → web-BKSxBqZw.js} +3 -3
  354. package/dist/web-BKs38Jg4.js +123 -0
  355. package/dist/{web-NzOJcvWO.js → web-CNowaS6B.js} +66 -66
  356. package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-DLVMYO3R.js} +11 -11
  357. package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-BJ6kVDXi.js} +25 -25
  358. package/dist/{whatsapp-actions-Cms8wQM1.js → whatsapp-actions-De803Fwb.js} +22 -22
  359. package/dist/{widearea-dns-FDdFH5E8.js → widearea-dns-DJVz6r4U.js} +1 -1
  360. package/dist/{with-timeout-DEdycYxq.js → with-timeout-Bz8F3xNq.js} +5 -5
  361. package/dist/{workspace-D3pARwoB.js → workspace-BHN1rb4L.js} +3 -3
  362. package/dist/{workspace-dirs-SsExQ3Bz.js → workspace-dirs-C34pt6Pa.js} +1 -1
  363. package/dist/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
  364. package/extensions/acpx/package.json +1 -1
  365. package/extensions/bluebubbles/package.json +1 -1
  366. package/extensions/copilot-proxy/package.json +1 -1
  367. package/extensions/diagnostics-otel/package.json +1 -1
  368. package/extensions/discord/package.json +1 -1
  369. package/extensions/feishu/package.json +1 -1
  370. package/extensions/google-gemini-cli-auth/package.json +1 -1
  371. package/extensions/googlechat/package.json +1 -1
  372. package/extensions/hand/package.json +1 -1
  373. package/extensions/imessage/package.json +1 -1
  374. package/extensions/irc/package.json +1 -1
  375. package/extensions/line/package.json +1 -1
  376. package/extensions/llm-task/package.json +1 -1
  377. package/extensions/matrix/CHANGELOG.md +6 -0
  378. package/extensions/matrix/package.json +1 -1
  379. package/extensions/mattermost/package.json +1 -1
  380. package/extensions/memory-core/package.json +1 -1
  381. package/extensions/memory-lancedb/package.json +1 -1
  382. package/extensions/minimax-portal-auth/package.json +1 -1
  383. package/extensions/msteams/CHANGELOG.md +6 -0
  384. package/extensions/msteams/package.json +1 -1
  385. package/extensions/nextcloud-talk/package.json +1 -1
  386. package/extensions/nostr/CHANGELOG.md +6 -0
  387. package/extensions/nostr/package.json +1 -1
  388. package/extensions/open-prose/package.json +1 -1
  389. package/extensions/signal/package.json +1 -1
  390. package/extensions/slack/package.json +1 -1
  391. package/extensions/synology-chat/package.json +1 -1
  392. package/extensions/telegram/package.json +1 -1
  393. package/extensions/tlon/package.json +1 -1
  394. package/extensions/twitch/CHANGELOG.md +6 -0
  395. package/extensions/twitch/package.json +1 -1
  396. package/extensions/voice-call/CHANGELOG.md +6 -0
  397. package/extensions/voice-call/package.json +1 -1
  398. package/extensions/whatsapp/package.json +1 -1
  399. package/extensions/zalo/CHANGELOG.md +6 -0
  400. package/extensions/zalo/package.json +1 -1
  401. package/extensions/zalouser/CHANGELOG.md +6 -0
  402. package/extensions/zalouser/package.json +1 -1
  403. package/package.json +1 -1
  404. package/dist/cli-DEE_ketW.js +0 -162
  405. package/dist/emergency-stop-BtasjDnU.js +0 -162
  406. package/dist/emergency-stop-CVO75pTD.js +0 -113
  407. package/dist/register.configure-DZ9OCp0V.js +0 -168
  408. package/dist/web-Dqy4kqC9.js +0 -123
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-0dGxYGp8.js";
2
+ import { kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-Df4-bBn3.js";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-1MMYqY6M.js";
2
+ import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-C5hI1dum.js";
3
3
  import path from "node:path";
4
- import syncFs from "node:fs";
4
+ import fs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
6
6
 
7
7
  //#region src/agents/pi-auth-credentials.ts
@@ -70,10 +70,10 @@ function isRecord(value) {
70
70
  }
71
71
  function scrubLegacyStaticAuthJsonEntries(pathname) {
72
72
  if (process.env.IDLEHANDS_AUTH_STORE_READONLY === "1") return;
73
- if (!syncFs.existsSync(pathname)) return;
73
+ if (!fs.existsSync(pathname)) return;
74
74
  let parsed;
75
75
  try {
76
- parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
76
+ parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
77
77
  } catch {
78
78
  return;
79
79
  }
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
87
87
  }
88
88
  if (!changed) return;
89
89
  if (Object.keys(parsed).length === 0) {
90
- syncFs.rmSync(pathname, { force: true });
90
+ fs.rmSync(pathname, { force: true });
91
91
  return;
92
92
  }
93
- syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
- syncFs.chmodSync(pathname, 384);
93
+ fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
+ fs.chmodSync(pathname, 384);
95
95
  }
96
96
  function createAuthStorage(AuthStorageLike, path, creds) {
97
97
  const withInMemory = AuthStorageLike;
@@ -1,10 +1,10 @@
1
- import { i as resolveAgentConfig } from "./agent-scope-RA0zXRpu.js";
1
+ import { i as resolveAgentConfig } from "./agent-scope-DbNnv10G.js";
2
2
  import { T as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
3
- import { fr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-0dGxYGp8.js";
4
- import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-Y96MzKuM.js";
5
- import { l as normalizeMessageChannel } from "./message-channel-DVauVtrg.js";
6
- import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-DcUw5h3p.js";
7
- import { i as readChannelAllowFromStore } from "./pairing-store-CPpEEQJO.js";
3
+ import { fr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-Df4-bBn3.js";
4
+ import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-DpA6CUDJ.js";
5
+ import { l as normalizeMessageChannel } from "./message-channel-CRSTffWx.js";
6
+ import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-cEpEHVD-.js";
7
+ import { i as readChannelAllowFromStore } from "./pairing-store-CPUUuW7M.js";
8
8
  import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-DKKtZjsx.js";
9
9
 
10
10
  //#region src/channels/command-gating.ts
@@ -1,9 +1,9 @@
1
- import { d as isRecord, t as CONFIG_DIR, y as resolveUserPath } from "./utils-CXzXXV2o.js";
2
- import { g as listChatChannels, h as getChatChannelMeta, y as normalizeChatChannelId } from "./subsystem-CGZX2PBV.js";
3
- import { u as normalizeProviderId } from "./model-selection-0dGxYGp8.js";
4
- import { n as loadPluginManifestRegistry, r as discoverIdleHandsPlugins } from "./manifest-registry-Bak1x76G.js";
1
+ import { d as isRecord, t as CONFIG_DIR, y as resolveUserPath } from "./utils-BfmeFj7S.js";
2
+ import { g as listChatChannels, h as getChatChannelMeta, y as normalizeChatChannelId } from "./subsystem-BTkYq-SM.js";
3
+ import { u as normalizeProviderId } from "./model-selection-Df4-bBn3.js";
4
+ import { n as loadPluginManifestRegistry, r as discoverIdleHandsPlugins } from "./manifest-registry-cOeAg4W6.js";
5
5
  import { n as MANIFEST_KEY } from "./legacy-names-DB161qHh.js";
6
- import { t as hasAnyWhatsAppAuth } from "./accounts-DLTODa_Z.js";
6
+ import { t as hasAnyWhatsAppAuth } from "./accounts-CbaEMSlt.js";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
 
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { ht as loadIdleHandsPlugins } from "./reply-BDr-UY9O.js";
3
- import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
4
- import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
5
- import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
2
+ import { ht as loadIdleHandsPlugins } from "./reply-dLJYULbb.js";
3
+ import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
4
+ import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
5
+ import { It as loadConfig } from "./model-selection-Df4-bBn3.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { E as getActivePluginRegistry, s as createSubsystemLogger } from "./entry.js";
3
3
  import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
5
- import { _ as loadIdleHandsPlugins } from "./subagent-registry-Dclk-Ews.js";
5
+ import { _ as loadIdleHandsPlugins } from "./subagent-registry-CJX_DOgh.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,6 +1,6 @@
1
1
  import { s as normalizeAgentId } from "./session-key-47BV2tLd.js";
2
2
  import "./accounts-BLYMokxV.js";
3
- import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-BfdVf3fw.js";
3
+ import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-Cii_-apO.js";
4
4
  import "./paths-CtGV5i8O.js";
5
5
  import "./github-copilot-token-CY2euW0d.js";
6
6
  import { r as loadConfig } from "./config-CEgzwk0J.js";
@@ -63,7 +63,7 @@ import "./send-B26cNPqY.js";
63
63
  import "./proxy-C4ewPdlN.js";
64
64
  import "./resolve-route-BZABUE4J.js";
65
65
  import "./replies-ZovJp-3F.js";
66
- import "./deps-DfyALwFG.js";
66
+ import "./deps-CdRm6UCM.js";
67
67
  import "./outbound-attachment-BisU5Vji.js";
68
68
 
69
69
  //#region src/commands/agent-via-gateway.ts
@@ -88,71 +88,84 @@ function buildDirectTaskPrompt(task) {
88
88
  ].join("\n");
89
89
  }
90
90
  function buildDiscoveryPrompt(task, taskFile, planFilePath) {
91
- return `You are running PRE-FLIGHT for an autonomous coding orchestrator.
91
+ return `You are a coding assistant running discovery for a task orchestrator.
92
92
 
93
- ## RULES
94
- - DO NOT implement code changes. DO NOT modify source files.
95
- - You may ONLY write to the plan file specified below.
96
- - Read the codebase to understand what needs to change.
93
+ ## YOUR JOB
94
+ Analyze the codebase and write a detailed implementation plan to a file.
95
+ You will NOT implement anything yourself a separate agent will do that using your plan.
97
96
 
98
97
  ## TASK
99
98
  From task file: ${taskFile}
100
99
  Task: ${task}
101
100
 
102
- ## DECISION FLOW
101
+ ## WHAT YOU MUST DO
103
102
 
104
- **If task is ALREADY COMPLETE** (you are CERTAIN it's done after checking with tools):
105
- Return ONLY: {"status":"complete","filename":""}
103
+ 1. Use the read tool to examine relevant source files, configs, tests, and docs.
104
+ 2. Understand what currently exists and what needs to change.
105
+ 3. Use the write tool to create the plan file at: ${planFilePath}
106
106
 
107
- **If task is INCOMPLETE or UNCERTAIN**:
108
- 1. Read relevant source files to understand the current state
109
- 2. Write a detailed implementation plan to: ${planFilePath}
110
- 3. The plan MUST include:
111
- - Task description (verbatim from above)
112
- - What needs to change and why
113
- - Implementation approach with specific steps
114
- - Files to modify/create
115
- - How to verify (test commands)
116
- 4. Verify the file exists and is non-empty
117
- 5. Return ONLY: {"status":"incomplete","filename":"${planFilePath}"}
107
+ The plan file MUST contain:
108
+ - The task description
109
+ - What currently exists (files you read, current behavior)
110
+ - What specifically needs to change and why
111
+ - Step-by-step implementation instructions (specific enough that another agent can follow them)
112
+ - Which files to modify or create, with the exact changes needed
113
+ - How to verify the changes work (test commands, expected output)
118
114
 
119
- ## OUTPUT
120
- Return ONLY the JSON object. No markdown fences. No explanation.`;
121
- }
122
- function buildReviewPrompt(planFilePath) {
123
- return `Review this implementation plan and improve it:
124
- ${planFilePath}
115
+ 4. After writing the plan file, return ONLY this JSON:
116
+ {"status":"incomplete","filename":"${planFilePath}"}
125
117
 
126
- Treat it as written by a junior developer. Look for:
127
- - Missing edge cases
128
- - Opportunities to reuse existing code
129
- - Unclear or ambiguous steps
130
- - Missing test scenarios
118
+ If you are CERTAIN the task is already complete (you verified with tools), return:
119
+ {"status":"complete","filename":""}
131
120
 
132
- Update the SAME file in-place with your improvements.
121
+ ## IMPORTANT
122
+ - You MUST use tools (read, exec, write). Do not skip straight to returning JSON.
123
+ - Do not modify any source files other than the plan file above.
124
+ - The quality of your plan directly determines whether the task succeeds.`;
125
+ }
126
+ function buildReviewPrompt(planFilePath) {
127
+ return `You are reviewing an implementation plan written by another agent.
133
128
 
134
- After review, return ONLY:
135
- {"status":"ready","filename":"${planFilePath}"}
129
+ 1. Use the read tool to open: ${planFilePath}
130
+ 2. Read the plan carefully. Check for:
131
+ - Missing edge cases or unclear steps
132
+ - Opportunities to reuse existing code
133
+ - Missing test scenarios or verification steps
134
+ - Whether the file paths and change descriptions are specific enough for another agent to follow
135
+ 3. Use the write tool to update the SAME file in-place with your improvements.
136
+ 4. After updating, return: {"status":"ready","filename":"${planFilePath}"}
136
137
 
137
- Do not return status=ready unless the file exists and has content.
138
- Return JSON only. No markdown fences. No commentary.`;
138
+ Do not skip reading the file. Do not return JSON without first reading and updating the plan.`;
139
139
  }
140
140
  function buildImplementationPrompt(task, planFilePath) {
141
141
  return [
142
- "You are implementing a task from a managed checklist.",
143
- "A planning agent has already analyzed the codebase and written a detailed spec.",
142
+ `Complete this task: ${task}`,
144
143
  "",
145
- `Task: ${task}`,
144
+ `An implementation plan is available at: ${planFilePath}`,
145
+ "Read it first, then follow its instructions.",
146
146
  "",
147
- `Implementation plan: ${planFilePath}`,
147
+ "You MUST use the edit or write tool to modify the actual source files.",
148
+ "Describing changes in text or showing diffs without applying them does NOT count.",
149
+ "Do not ask for confirmation — apply the changes now.",
148
150
  "",
149
- "Rules:",
150
- "1) Read the plan file FIRST it contains the implementation approach.",
151
- "2) Follow the plan precisely. Make the code changes specified.",
152
- "3) Run the verification steps from the plan.",
153
- "4) Return a concise completion summary.",
151
+ "After making the edits, run any verification steps from the plan.",
152
+ "Then return a brief summary of what you changed."
153
+ ].join("\n");
154
+ }
155
+ function buildImplementationRetryPrompt(task, planFilePath) {
156
+ return [
157
+ "Your previous implementation attempt made zero repository changes.",
158
+ `Task: ${task}`,
159
+ `Plan file: ${planFilePath}`,
160
+ "",
161
+ "You must now perform actual file edits in this turn.",
162
+ "Required sequence:",
163
+ "1) Read the plan file.",
164
+ "2) Use edit/write to modify repository files.",
165
+ "3) Optionally run verification.",
166
+ "4) Return a short summary.",
154
167
  "",
155
- "Do not deviate from the plan unless you find a clear error in it."
168
+ "If you only provide analysis/diff text without edit/write tool calls, this attempt fails."
156
169
  ].join("\n");
157
170
  }
158
171
  function formatDuration(ms) {
@@ -219,7 +232,7 @@ async function loadAntonConfig() {
219
232
  }
220
233
  }
221
234
  async function runAgentTask(args) {
222
- const { agentCliCommand } = await import("./agent-via-gateway-DmQMFWNE.js");
235
+ const { agentCliCommand } = await import("./agent-via-gateway-NXyTgftN.js");
223
236
  const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
224
237
  const result = await agentCliCommand({
225
238
  message: args.message,
@@ -320,18 +333,18 @@ function normalizeDiscoveryFilename(filename, expectedPlanFile) {
320
333
  return path.resolve(trimmed);
321
334
  }
322
335
  function buildDiscoveryRepairPrompt(task, taskFile, planFilePath) {
323
- return `RETRY: your previous preflight response did not produce a valid plan file.
336
+ return `Your previous attempt did not produce a valid plan file. Try again.
324
337
 
325
- You MUST complete these steps exactly:
326
- 1) Write the implementation plan to: ${planFilePath}
327
- 2) Verify the file exists and is non-empty
328
- 3) Return ONLY strict JSON: {"status":"incomplete","filename":"${planFilePath}"}
338
+ Task file: ${taskFile}
339
+ Task: ${task}
329
340
 
330
- If task is already complete, return ONLY: {"status":"complete","filename":""}
341
+ You MUST:
342
+ 1. Use the read tool to examine the relevant source files in this repository.
343
+ 2. Use the write tool to create a detailed implementation plan at: ${planFilePath}
344
+ The plan must include: what exists now, what needs to change, specific file edits, and verification steps.
345
+ 3. After writing the file, return: {"status":"incomplete","filename":"${planFilePath}"}
331
346
 
332
- Do not include THOUGHT, markdown fences, or extra commentary.
333
- Task file: ${taskFile}
334
- Task: ${task}`;
347
+ Do not skip tool usage. Do not return JSON without first writing the plan file.`;
335
348
  }
336
349
  async function tryPersistPlanFallback(params) {
337
350
  const planText = (((typeof params.parsed?.planMarkdown === "string" ? params.parsed.planMarkdown : void 0) ?? (typeof params.parsed?.plan === "string" ? params.parsed.plan : void 0))?.trim() || extractPlanMarkdownFromText(params.rawText) || "").trim();
@@ -732,8 +745,29 @@ async function runAnton(args) {
732
745
  deps: args.deps,
733
746
  workspaceDir: args.workspaceDir
734
747
  });
735
- const changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
736
- if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes; refusing to mark task complete");
748
+ let changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
749
+ if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) {
750
+ const retrySessionId = `anton-impl-retry-${Date.now()}-${taskNum}`;
751
+ await notify({
752
+ phase: "task_agent_spawned",
753
+ index: taskNum,
754
+ total: pending.length,
755
+ task: `${task.text} (implementation retry)`,
756
+ sessionId: retrySessionId
757
+ });
758
+ await runAgentTask({
759
+ message: buildImplementationRetryPrompt(task.text, planFile ?? ""),
760
+ sessionId: retrySessionId,
761
+ timeout: defaultTimeout,
762
+ agent: args.agent,
763
+ to: args.to,
764
+ runtime: args.runtime,
765
+ deps: args.deps,
766
+ workspaceDir: args.workspaceDir
767
+ });
768
+ changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
769
+ if (changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes after retry; refusing to mark task complete");
770
+ }
737
771
  const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
738
772
  await fs.writeFile(filePath, updated, "utf8");
739
773
  completed += 1;
@@ -1,6 +1,6 @@
1
1
  import { a as buildGroupHistoryKey, f as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
2
2
  import { i as resolveWhatsAppAccount } from "./accounts-BLYMokxV.js";
3
- import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-BfdVf3fw.js";
3
+ import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-Cii_-apO.js";
4
4
  import { r as loadConfig } from "./config-CEgzwk0J.js";
5
5
  import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-Dyj2wV4e.js";
6
6
  import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
@@ -878,7 +878,7 @@ async function monitorWebInbox(options) {
878
878
  };
879
879
  const stopText = (inboundMessage.body ?? "").trim();
880
880
  if (stopText) {
881
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
881
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
882
882
  if (isAbortRequestText(stopText)) {
883
883
  const { loadConfig: loadCfg } = await import("./config-CEgzwk0J.js").then((n) => n.t);
884
884
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
@@ -18,7 +18,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
18
18
  function createDefaultDeps() {
19
19
  return {
20
20
  sendMessageWhatsApp: async (...args) => {
21
- const { sendMessageWhatsApp } = await import("./web-DwDLI7GP.js");
21
+ const { sendMessageWhatsApp } = await import("./web-BrcYG4Cd.js");
22
22
  return await sendMessageWhatsApp(...args);
23
23
  },
24
24
  sendMessageTelegram: async (...args) => {
@@ -1,5 +1,5 @@
1
1
  import "./accounts-BLYMokxV.js";
2
- import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-BfdVf3fw.js";
2
+ import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-Cii_-apO.js";
3
3
  import "./paths-CtGV5i8O.js";
4
4
  import "./github-copilot-token-CY2euW0d.js";
5
5
  import "./config-CEgzwk0J.js";
@@ -61,7 +61,7 @@ import "./send-B26cNPqY.js";
61
61
  import "./proxy-C4ewPdlN.js";
62
62
  import "./resolve-route-BZABUE4J.js";
63
63
  import "./replies-ZovJp-3F.js";
64
- import "./deps-DfyALwFG.js";
64
+ import "./deps-CdRm6UCM.js";
65
65
  import "./outbound-attachment-BisU5Vji.js";
66
66
 
67
67
  //#region src/auto-reply/reply/emergency-stop.ts
@@ -1,6 +1,6 @@
1
1
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-47BV2tLd.js";
2
2
  import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, o as createAccountListHelpers, r as resolveDefaultWhatsAppAccountId } from "./accounts-BLYMokxV.js";
3
- import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-BfdVf3fw.js";
3
+ import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-Cii_-apO.js";
4
4
  import "./paths-CtGV5i8O.js";
5
5
  import "./github-copilot-token-CY2euW0d.js";
6
6
  import { A as GroupPolicySchema, An as acquireFileLock, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, R as normalizeAllowFrom, d as GoogleChatConfigSchema, f as IMessageConfigSchema, g as TelegramConfigSchema, h as SlackConfigSchema, j as MarkdownConfigSchema, jn as withFileLock, k as DmPolicySchema, l as WhatsAppConfigSchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, u as DiscordConfigSchema, z as requireOpenAllowFrom } from "./config-CEgzwk0J.js";
@@ -52,7 +52,7 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
52
52
  import { n as extractOriginalFilename } from "./store-CCCXwngh.js";
53
53
  import "./pi-embedded-helpers-B68z4sHq.js";
54
54
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CnUtsDch.js";
55
- import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-vQgHbtCG.js";
55
+ import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-DEl6BZu6.js";
56
56
  import "./thinking-g4Rrlwu4.js";
57
57
  import "./image-C_1tftC8.js";
58
58
  import "./pi-model-discovery-Dt6899be.js";
@@ -65,7 +65,7 @@ import "./send-B26cNPqY.js";
65
65
  import "./proxy-C4ewPdlN.js";
66
66
  import "./resolve-route-BZABUE4J.js";
67
67
  import "./replies-ZovJp-3F.js";
68
- import "./deps-DfyALwFG.js";
68
+ import "./deps-CdRm6UCM.js";
69
69
  import "./outbound-attachment-BisU5Vji.js";
70
70
  import "./outbound-Dx_q6JAI.js";
71
71
  import "./session-DdJj6_DW.js";
@@ -72,7 +72,7 @@ import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
72
72
  import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BZABUE4J.js";
73
73
  import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZovJp-3F.js";
74
74
  import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-WMrtFGPv.js";
75
- import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-DfyALwFG.js";
75
+ import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-CdRm6UCM.js";
76
76
  import { createRequire } from "node:module";
77
77
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
78
78
  import * as path$1 from "node:path";
@@ -33091,7 +33091,7 @@ function createDiscordMessageHandler(params) {
33091
33091
  try {
33092
33092
  const messageText = resolveDiscordMessageText(data.message)?.trim();
33093
33093
  if (messageText) {
33094
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
33094
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
33095
33095
  if (isAbortRequestText(messageText)) {
33096
33096
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
33097
33097
  const channelId = resolveDiscordMessageChannelId({
@@ -43835,7 +43835,7 @@ async function monitorIMessageProvider(opts = {}) {
43835
43835
  }
43836
43836
  const msgText = (message.text ?? "").trim();
43837
43837
  if (msgText) {
43838
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
43838
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
43839
43839
  if (isAbortRequestText(msgText)) {
43840
43840
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
43841
43841
  const route = resolveAgentRoute({
@@ -46231,7 +46231,7 @@ function createSignalEventHandler(deps) {
46231
46231
  const senderName = envelope.sourceName ?? senderDisplay;
46232
46232
  const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
46233
46233
  if (bodyText) {
46234
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
46234
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
46235
46235
  if (isAbortRequestText(bodyText)) {
46236
46236
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
46237
46237
  const route = resolveAgentRoute({
@@ -49602,7 +49602,7 @@ function createSlackMessageHandler(params) {
49602
49602
  if (ctx.markMessageSeen(message.channel, message.ts)) return;
49603
49603
  const rawText = (message.text ?? "").trim();
49604
49604
  if (rawText) {
49605
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
49605
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
49606
49606
  if (isAbortRequestText(rawText)) {
49607
49607
  const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
49608
49608
  const route = resolveAgentRoute({
@@ -54225,7 +54225,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
54225
54225
  const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
54226
54226
  const text = typeof msg.text === "string" ? msg.text : void 0;
54227
54227
  if (text) {
54228
- const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
54228
+ const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-vr_MLBH0.js");
54229
54229
  if (isAbortRequestText(text)) {
54230
54230
  const senderId = msg.from?.id ? String(msg.from.id) : "";
54231
54231
  if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
@@ -57710,7 +57710,7 @@ function loadWebLoginQr() {
57710
57710
  return webLoginQrPromise;
57711
57711
  }
57712
57712
  function loadWebChannel() {
57713
- webChannelPromise ??= import("./web-DwDLI7GP.js");
57713
+ webChannelPromise ??= import("./web-BrcYG4Cd.js");
57714
57714
  return webChannelPromise;
57715
57715
  }
57716
57716
  function loadWhatsAppActions() {
@@ -80282,7 +80282,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80282
80282
  };
80283
80283
  const arg = body.slice(6).trim();
80284
80284
  if (arg === "status" || arg === "") {
80285
- const { antonStatus } = await import("./anton-CrjFisFZ.js");
80285
+ const { antonStatus } = await import("./anton-8LTiJnvw.js");
80286
80286
  const lines = [];
80287
80287
  await antonStatus({
80288
80288
  log: (msg) => lines.push(msg),
@@ -80298,7 +80298,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80298
80298
  return { shouldContinue: false };
80299
80299
  }
80300
80300
  if (arg === "stop") {
80301
- const { antonStop } = await import("./anton-CrjFisFZ.js");
80301
+ const { antonStop } = await import("./anton-8LTiJnvw.js");
80302
80302
  const lines = [];
80303
80303
  await antonStop({
80304
80304
  log: (msg) => lines.push(msg),
@@ -80336,8 +80336,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
80336
80336
  await sendProgress(replyCtx, text);
80337
80337
  return { shouldContinue: false };
80338
80338
  }
80339
- const { runAnton, formatProgressMessage } = await import("./anton-CrjFisFZ.js");
80340
- const { createDefaultDeps } = await import("./deps-DfyALwFG.js").then((n) => n.n);
80339
+ const { runAnton, formatProgressMessage } = await import("./anton-8LTiJnvw.js");
80340
+ const { createDefaultDeps } = await import("./deps-CdRm6UCM.js").then((n) => n.n);
80341
80341
  const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
80342
80342
  const runtime = createNonExitingRuntime();
80343
80343
  const deps = createDefaultDeps();
@@ -1,5 +1,5 @@
1
1
  import "./accounts-BLYMokxV.js";
2
- import "./reply-BfdVf3fw.js";
2
+ import "./reply-Cii_-apO.js";
3
3
  import "./paths-CtGV5i8O.js";
4
4
  import "./github-copilot-token-CY2euW0d.js";
5
5
  import "./config-CEgzwk0J.js";
@@ -49,7 +49,7 @@ import "./deliver-BNfMF0Nb.js";
49
49
  import "./diagnostic-ByA6zvzu.js";
50
50
  import "./store-CCCXwngh.js";
51
51
  import "./pi-embedded-helpers-B68z4sHq.js";
52
- import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-vQgHbtCG.js";
52
+ import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DEl6BZu6.js";
53
53
  import "./thinking-g4Rrlwu4.js";
54
54
  import "./image-C_1tftC8.js";
55
55
  import "./pi-model-discovery-Dt6899be.js";
@@ -62,7 +62,7 @@ import "./send-B26cNPqY.js";
62
62
  import "./proxy-C4ewPdlN.js";
63
63
  import "./resolve-route-BZABUE4J.js";
64
64
  import "./replies-ZovJp-3F.js";
65
- import "./deps-DfyALwFG.js";
65
+ import "./deps-CdRm6UCM.js";
66
66
  import "./outbound-attachment-BisU5Vji.js";
67
67
  import { n as sendMessageWhatsApp } from "./outbound-Dx_q6JAI.js";
68
68
  import { i as waitForWaConnection, t as createWaSocket } from "./session-DdJj6_DW.js";
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { m as normalizeE164 } from "./utils-CXzXXV2o.js";
3
- import { S as requireActivePluginRegistry, _ as normalizeAnyChannelId, f as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
2
+ import { m as normalizeE164 } from "./utils-BfmeFj7S.js";
3
+ import { S as requireActivePluginRegistry, _ as normalizeAnyChannelId, f as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
4
4
  import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
5
- import { t as isTruthyEnvValue } from "./env-Bx-F45X5.js";
5
+ import { t as isTruthyEnvValue } from "./env-dMo-pLSc.js";
6
6
  import { t as normalizeChatType } from "./chat-type-3FRbbjbq.js";
7
7
  import { t as resolveAccountEntry } from "./account-lookup-BtMY6XyP.js";
8
- import { o as createAccountListHelpers } from "./accounts-DLTODa_Z.js";
9
- import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-B59Q7nsk.js";
8
+ import { o as createAccountListHelpers } from "./accounts-CbaEMSlt.js";
9
+ import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-DorAphZu.js";
10
10
  import fs from "node:fs";
11
11
  import util from "node:util";
12
12
 
@@ -1,12 +1,12 @@
1
- import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
2
- import { d as normalizeE164 } from "./utils-CTFLl_ji.js";
1
+ import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
2
+ import { d as normalizeE164 } from "./utils-D9wGoiU9.js";
3
3
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
4
- import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
5
- import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
4
+ import { t as isTruthyEnvValue } from "./env-q-PhWbb_.js";
5
+ import { r as createAccountListHelpers } from "./accounts-BQC_GRUB.js";
6
6
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
7
7
  import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
8
- import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-D3b5Fmc9.js";
9
- import syncFs from "node:fs";
8
+ import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-CLZIJ0Eo.js";
9
+ import fs from "node:fs";
10
10
  import util from "node:util";
11
11
 
12
12
  //#region src/channels/plugins/account-action-gate.ts
@@ -185,7 +185,7 @@ function resolveTelegramToken(cfg, opts = {}) {
185
185
  const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
186
186
  const accountTokenFile = accountCfg?.tokenFile?.trim();
187
187
  if (accountTokenFile) {
188
- if (!syncFs.existsSync(accountTokenFile)) {
188
+ if (!fs.existsSync(accountTokenFile)) {
189
189
  opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
190
190
  return {
191
191
  token: "",
@@ -193,7 +193,7 @@ function resolveTelegramToken(cfg, opts = {}) {
193
193
  };
194
194
  }
195
195
  try {
196
- const token = syncFs.readFileSync(accountTokenFile, "utf-8").trim();
196
+ const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
197
197
  if (token) return {
198
198
  token,
199
199
  source: "tokenFile"
@@ -218,7 +218,7 @@ function resolveTelegramToken(cfg, opts = {}) {
218
218
  const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
219
219
  const tokenFile = telegramCfg?.tokenFile?.trim();
220
220
  if (tokenFile && allowEnv) {
221
- if (!syncFs.existsSync(tokenFile)) {
221
+ if (!fs.existsSync(tokenFile)) {
222
222
  opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
223
223
  return {
224
224
  token: "",
@@ -226,7 +226,7 @@ function resolveTelegramToken(cfg, opts = {}) {
226
226
  };
227
227
  }
228
228
  try {
229
- const token = syncFs.readFileSync(tokenFile, "utf-8").trim();
229
+ const token = fs.readFileSync(tokenFile, "utf-8").trim();
230
230
  if (token) return {
231
231
  token,
232
232
  source: "tokenFile"