@visorcraft/idlehands 4.2.2 → 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 (369) hide show
  1. package/dist/{accounts-3HS_UAhJ.js → accounts-B4A5mL3Y.js} +1 -1
  2. package/dist/{accounts-BlHH-u_r.js → accounts-B8cGzkjD.js} +1 -1
  3. package/dist/{accounts-DLL4jMvc.js → accounts-BQC_GRUB.js} +6 -6
  4. package/dist/{accounts-DLTODa_Z.js → accounts-CbaEMSlt.js} +2 -2
  5. package/dist/{accounts-DOlh6RqB.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-CSFjmUrH.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-Bf6TEh2k.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-CuLeFevj.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-9inwhXLH.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-bL1LNwm5.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-av9-yFB3.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-Df_QWn3k.js → channel-activity-D3e45uuU.js} +3 -3
  46. package/dist/{channel-activity-DaCsrdWK.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-DkhJIPqM.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-CgCAeFdA.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-CowrfO43.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-l8EA_rIo.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-B1l5WEJq.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-DUpiGDI6.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-4HLkEWeL.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-BtjfGfYS.js → env-q-PhWbb_.js} +1 -1
  109. package/dist/{errors-DZDuPc3M.js → errors-BNr2qnai.js} +1 -1
  110. package/dist/{errors-XpvBRvrk.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-BdcyjI44.js → fetch-guard-CcfDZXe9.js} +1 -1
  118. package/dist/{frontmatter-CNT2SLK9.js → frontmatter-pTUG4Sx_.js} +4 -4
  119. package/dist/{frontmatter-D-sQ_Hqk.js → frontmatter-x0EBRtDF.js} +2 -2
  120. package/dist/{fs-safe-qiODuhN1.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-DcQhBD_n.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-D_PnW33c.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-CVPIEkjZ.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-z6aop5rJ.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-czSWcF7i.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-CUJ4A8gi.js → login-C2X0In6m.js} +6 -6
  151. package/dist/{login-qr-BTJ95win.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-BZ0tYOnu.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-Cjn8O_5e.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-9h0j5RdN.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-C88a_9g6.js → model-selection-C5hI1dum.js} +46 -46
  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-pWVnnOB8.js → outbound-CdY_AskB.js} +6 -6
  195. package/dist/{outbound-DPTxwchq.js → outbound-DClHNQfl.js} +6 -6
  196. package/dist/{outbound-attachment-BuJwyBh-.js → outbound-attachment-Cz80loTd.js} +2 -2
  197. package/dist/{outbound-attachment-Bot3bRnK.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-CwzKuGwh.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-BdHpVi4N.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-C-ELC4B8.js → pi-embedded-xW12sr9Q.js} +181 -181
  210. package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-BEKzIGSg.js} +1 -1
  211. package/dist/{pi-model-discovery-DXdGUBPM.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-HLi321vw.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-ClfeTowr.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-DxMPr_TW.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-BIZ50Uk8.js → query-expansion-DHuNyU-_.js} +5 -5
  247. package/dist/{redact-Dk_8Rk3-.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-cfk2XJ69.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-PDoW4EZy.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-Co_8ykQj.js → resolve-route-ClcifpKn.js} +4 -4
  274. package/dist/{retry-DbI92XJ6.js → retry-B7zUL1Mv.js} +1 -1
  275. package/dist/{retry-Db05aSB8.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-CDjI14QL.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-CcOlxFgw.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-C-sC5FEL.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-BygI0N_k.js → send-FLdrx-oF.js} +26 -26
  293. package/dist/{send-qZc5cwnf.js → send-IlPMLAH-.js} +10 -10
  294. package/dist/{send-gAZecXKW.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-CsQYfL3c.js → session-nUPBXeEa.js} +7 -7
  303. package/dist/{sessions-BxJlMZ9d.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-DdspcyAT.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-Cto1PwoM.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-wmxD_RdX.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-B7s1gpl_.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-DjMlciHF.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-CtMvHKax.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-B2bEUMr5.js → tokens-DY5TC4xI.js} +1 -1
  337. package/dist/{tool-display-Dac7lHGW.js → tool-display-1HTlk4mF.js} +2 -2
  338. package/dist/{tool-images-upeV0xA7.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-BpnogMb3.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-BB3tnxio.js → utils-D9wGoiU9.js} +20 -20
  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-7nT90W2f.js → web-CNowaS6B.js} +66 -66
  356. package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-DLVMYO3R.js} +11 -11
  357. package/dist/{whatsapp-actions-Da9VWDOd.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-nJ4KDY5w.js → workspace-tAtkoD_r.js} +18 -18
  364. package/package.json +1 -1
  365. package/dist/cli-DEE_ketW.js +0 -162
  366. package/dist/emergency-stop-Br57IwSQ.js +0 -113
  367. package/dist/emergency-stop-BtasjDnU.js +0 -162
  368. package/dist/register.configure-DZ9OCp0V.js +0 -168
  369. package/dist/web-Dqy4kqC9.js +0 -123
@@ -1,6 +1,6 @@
1
1
  import { h as normalizeAccountId } from "./session-key-Cuihcz_O.js";
2
2
  import { t as resolveAccountEntry } from "./account-lookup-BtMY6XyP.js";
3
- import { o as createAccountListHelpers } from "./accounts-DLTODa_Z.js";
3
+ import { o as createAccountListHelpers } from "./accounts-CbaEMSlt.js";
4
4
 
5
5
  //#region src/imessage/accounts.ts
6
6
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,5 +1,5 @@
1
1
  import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
2
- import { r as createAccountListHelpers } from "./accounts-DLL4jMvc.js";
2
+ import { r as createAccountListHelpers } from "./accounts-BQC_GRUB.js";
3
3
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
4
4
 
5
5
  //#region src/signal/accounts.ts
@@ -1,10 +1,10 @@
1
- import { l as resolveOAuthDir } from "./paths-BYNVLNi_.js";
2
- import { h as resolveUserPath } from "./utils-BB3tnxio.js";
1
+ import { l as resolveOAuthDir } from "./paths-DQpv9a3Q.js";
2
+ import { h as resolveUserPath } from "./utils-D9wGoiU9.js";
3
3
  import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
4
4
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
5
- import { r as hasWebCredsSync } from "./auth-store-bL1LNwm5.js";
5
+ import { r as hasWebCredsSync } from "./auth-store-Bb4aajHu.js";
6
6
  import path from "node:path";
7
- import syncFs from "node:fs";
7
+ import fs from "node:fs";
8
8
 
9
9
  //#region src/channels/plugins/account-helpers.ts
10
10
  function createAccountListHelpers(channelKey) {
@@ -44,7 +44,7 @@ function listWhatsAppAuthDirs(cfg) {
44
44
  accountId
45
45
  }).authDir);
46
46
  try {
47
- const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
47
+ const entries = fs.readdirSync(whatsappDir, { withFileTypes: true });
48
48
  for (const entry of entries) {
49
49
  if (!entry.isDirectory()) continue;
50
50
  authDirs.add(path.join(whatsappDir, entry.name));
@@ -66,7 +66,7 @@ function resolveLegacyAuthDir() {
66
66
  }
67
67
  function legacyAuthExists(authDir) {
68
68
  try {
69
- return syncFs.existsSync(path.join(authDir, "creds.json"));
69
+ return fs.existsSync(path.join(authDir, "creds.json"));
70
70
  } catch {
71
71
  return false;
72
72
  }
@@ -1,8 +1,8 @@
1
1
  import { m as resolveOAuthDir } from "./paths-Cn44w-EB.js";
2
- import { y as resolveUserPath } from "./utils-CXzXXV2o.js";
2
+ import { y as resolveUserPath } from "./utils-BfmeFj7S.js";
3
3
  import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
4
4
  import { t as resolveAccountEntry } from "./account-lookup-BtMY6XyP.js";
5
- import { r as hasWebCredsSync } from "./auth-store-DDzIMy8_.js";
5
+ import { r as hasWebCredsSync } from "./auth-store-Dqjgb5R1.js";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
2
- import { r as createAccountListHelpers } from "./accounts-DLL4jMvc.js";
2
+ import { r as createAccountListHelpers } from "./accounts-BQC_GRUB.js";
3
3
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
4
4
 
5
5
  //#region src/imessage/accounts.ts
@@ -1,6 +1,6 @@
1
1
  import { h as normalizeAccountId } from "./session-key-Cuihcz_O.js";
2
2
  import { t as resolveAccountEntry } from "./account-lookup-BtMY6XyP.js";
3
- import { o as createAccountListHelpers } from "./accounts-DLTODa_Z.js";
3
+ import { o as createAccountListHelpers } from "./accounts-CbaEMSlt.js";
4
4
 
5
5
  //#region src/signal/accounts.ts
6
6
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,29 +1,29 @@
1
1
  import "./paths-Cn44w-EB.js";
2
- import { B as theme, S as shortenHomePath, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
- import "./agent-scope-RA0zXRpu.js";
4
- import "./subsystem-CGZX2PBV.js";
2
+ import { B as theme, S as shortenHomePath, y as resolveUserPath } from "./utils-BfmeFj7S.js";
3
+ import "./agent-scope-DbNnv10G.js";
4
+ import "./subsystem-BTkYq-SM.js";
5
5
  import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
6
6
  import "./idlehands-root-B8cUs-5M.js";
7
- import "./exec-CKHMT0tZ.js";
8
- import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
7
+ import "./exec-B9xbr2pN.js";
8
+ import { It as loadConfig } from "./model-selection-Df4-bBn3.js";
9
9
  import "./github-copilot-token-D7lpquOO.js";
10
10
  import "./boolean-BsqeuxE6.js";
11
- import "./env-Bx-F45X5.js";
11
+ import "./env-dMo-pLSc.js";
12
12
  import "./host-env-security-DkAVVuaw.js";
13
13
  import { r as VERSION } from "./env-vars-sTMVGyld.js";
14
- import "./manifest-registry-Bak1x76G.js";
15
- import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DVauVtrg.js";
14
+ import "./manifest-registry-cOeAg4W6.js";
15
+ import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CRSTffWx.js";
16
16
  import { r as isKnownCoreToolId } from "./tool-catalog-4_Wxc542.js";
17
17
  import "./ip-DJ5wsTQn.js";
18
18
  import "./tailnet-C9lH_YnG.js";
19
19
  import "./ws-XBTtYpJc.js";
20
20
  import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DcJ9zJDt.js";
21
- import { t as GatewayClient } from "./client-DtnD-ee9.js";
22
- import { t as buildGatewayConnectionDetails } from "./call-BpWhjuOg.js";
21
+ import { t as GatewayClient } from "./client-Cagiy1nE.js";
22
+ import { t as buildGatewayConnectionDetails } from "./call-SK4sGwpN.js";
23
23
  import "./pairing-token-lKXTMQ_M.js";
24
- import { t as formatDocsLink } from "./links-15764jZB.js";
24
+ import { t as formatDocsLink } from "./links-DIG3qrf5.js";
25
25
  import { t as isMainModule } from "./is-main-DxnLDMqD.js";
26
- import { t as ensureIdleHandsCliOnPath } from "./path-env-CKSLQUS1.js";
26
+ import { t as ensureIdleHandsCliOnPath } from "./path-env-CWIJihhd.js";
27
27
  import { t as DANGEROUS_ACP_TOOLS } from "./dangerous-tools-ulSRJzn7.js";
28
28
  import { n as inheritOptionFromParent } from "./command-options-D4MmqoOd.js";
29
29
  import { fileURLToPath } from "node:url";
@@ -1,8 +1,8 @@
1
- import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
2
- import { t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
3
- import { h as resolveUserPath } from "./utils-BB3tnxio.js";
1
+ import { d as resolveStateDir } from "./paths-DQpv9a3Q.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
3
+ import { h as resolveUserPath } from "./utils-D9wGoiU9.js";
4
4
  import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey } from "./session-key-CuLPSMu_.js";
5
- import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-nJ4KDY5w.js";
5
+ import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-tAtkoD_r.js";
6
6
  import path from "node:path";
7
7
 
8
8
  //#region src/config/model-input.ts
@@ -1,9 +1,9 @@
1
1
  import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
2
- import { h as pathExists, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
- import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
2
+ import { h as pathExists, y as resolveUserPath } from "./utils-BfmeFj7S.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
4
4
  import { C as isSubagentSessionKey, S as isCronSessionKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
5
5
  import { h as normalizeSkillFilter, i as openBoundaryFile, t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
6
- import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
6
+ import { t as runCommandWithTimeout } from "./exec-B9xbr2pN.js";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import fs from "node:fs";
9
9
  import os from "node:os";
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-BDr-UY9O.js";
3
- import { r as listAgentIds } from "./agent-scope-RA0zXRpu.js";
2
+ import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-dLJYULbb.js";
3
+ import { r as listAgentIds } from "./agent-scope-DbNnv10G.js";
4
4
  import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
5
- import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
5
+ import { It as loadConfig } from "./model-selection-Df4-bBn3.js";
6
6
  import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
7
- import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DVauVtrg.js";
8
- import { a as randomIdempotencyKey, n as callGateway } from "./call-BpWhjuOg.js";
9
- import { n as withProgress } from "./progress-BQLz1r3L.js";
7
+ import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-CRSTffWx.js";
8
+ import { a as randomIdempotencyKey, n as callGateway } from "./call-SK4sGwpN.js";
9
+ import { n as withProgress } from "./progress-BN8aygvh.js";
10
10
 
11
11
  //#region src/commands/agent-via-gateway.ts
12
12
  var agent_via_gateway_exports = /* @__PURE__ */ __exportAll({
@@ -4,7 +4,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
4
4
  import { r as listAgentIds } from "./agent-scope-mLXQGQde.js";
5
5
  import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
6
6
  import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-Qpj4ExtQ.js";
7
- import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-Dclk-Ews.js";
7
+ import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-CJX_DOgh.js";
8
8
  import { a as randomIdempotencyKey, n as callGateway } from "./call-C82rD2Wn.js";
9
9
  import { n as withProgress } from "./progress-B76RkFx7.js";
10
10
 
@@ -1,73 +1,73 @@
1
- import { n as listAgentIds } from "./agent-scope-CSFjmUrH.js";
2
- import "./paths-BYNVLNi_.js";
3
- import "./subsystem-B7s1gpl_.js";
4
- import "./utils-BB3tnxio.js";
1
+ import { n as listAgentIds } from "./agent-scope-Bxq1eWbA.js";
2
+ import "./paths-DQpv9a3Q.js";
3
+ import "./subsystem-D7ZepYT1.js";
4
+ import "./utils-D9wGoiU9.js";
5
5
  import "./runtime-8mi3mpYB.js";
6
6
  import { s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
7
- import "./workspace-nJ4KDY5w.js";
8
- import { R as loadConfig } from "./model-selection-C88a_9g6.js";
9
- import "./github-copilot-token-Dgt6cnsM.js";
7
+ import "./workspace-tAtkoD_r.js";
8
+ import { R as loadConfig } from "./model-selection-C5hI1dum.js";
9
+ import "./github-copilot-token-BjmEQcmi.js";
10
10
  import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
11
11
  import "./boolean-CE7i9tBR.js";
12
- import "./env-BtjfGfYS.js";
13
- import "./dock-4HLkEWeL.js";
14
- import "./tokens-B2bEUMr5.js";
15
- import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-C-ELC4B8.js";
16
- import "./plugins-HLi321vw.js";
17
- import "./accounts-DLL4jMvc.js";
18
- import "./bindings-av9-yFB3.js";
19
- import "./auth-store-bL1LNwm5.js";
20
- import "./send-C-sC5FEL.js";
21
- import "./send-qZc5cwnf.js";
22
- import "./deliver-l8EA_rIo.js";
23
- import "./diagnostic-DUpiGDI6.js";
12
+ import "./env-q-PhWbb_.js";
13
+ import "./dock-ejUetwTC.js";
14
+ import "./tokens-DGajj8M9.js";
15
+ import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-xW12sr9Q.js";
16
+ import "./plugins-DYr-HHj0.js";
17
+ import "./accounts-BQC_GRUB.js";
18
+ import "./bindings-CLZIJ0Eo.js";
19
+ import "./auth-store-Bb4aajHu.js";
20
+ import "./send-DZa8fWSm.js";
21
+ import "./send-IlPMLAH-.js";
22
+ import "./deliver-Db2xqgLg.js";
23
+ import "./diagnostic-BvlZ0Sot.js";
24
24
  import "./diagnostic-session-state-BGF2r-kt.js";
25
- import "./accounts-BlHH-u_r.js";
26
- import "./send-BygI0N_k.js";
27
- import "./image-ops-CVPIEkjZ.js";
28
- import "./pi-model-discovery-DXdGUBPM.js";
29
- import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-9h0j5RdN.js";
30
- import "./pi-embedded-helpers-BdHpVi4N.js";
31
- import "./chrome-DkhJIPqM.js";
25
+ import "./accounts-B8cGzkjD.js";
26
+ import "./send-FLdrx-oF.js";
27
+ import "./image-ops-J8P5zOFm.js";
28
+ import "./pi-model-discovery-Dlx4RLWo.js";
29
+ import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-ZdI1-uUh.js";
30
+ import "./pi-embedded-helpers-B3ceCcxm.js";
31
+ import "./chrome-CT_a9OgI.js";
32
32
  import "./ssrf-CZeHDwVZ.js";
33
- import "./frontmatter-CNT2SLK9.js";
34
- import "./skills-Cto1PwoM.js";
35
- import "./path-alias-guards-CwzKuGwh.js";
36
- import "./redact-Dk_8Rk3-.js";
37
- import "./errors-XpvBRvrk.js";
38
- import "./fs-safe-qiODuhN1.js";
39
- import "./store-wmxD_RdX.js";
40
- import "./sessions-BxJlMZ9d.js";
41
- import "./accounts-DOlh6RqB.js";
42
- import "./paths-D_qUel1T.js";
43
- import "./tool-images-upeV0xA7.js";
33
+ import "./frontmatter-pTUG4Sx_.js";
34
+ import "./skills-umlGvChF.js";
35
+ import "./path-alias-guards-BZmt6hFb.js";
36
+ import "./redact-1Y0KPNtr.js";
37
+ import "./errors-C4SHjIZK.js";
38
+ import "./fs-safe-2l05hI1Y.js";
39
+ import "./store-D-ZicQeo.js";
40
+ import "./sessions-DRA4oaxz.js";
41
+ import "./accounts-D5tB_lO0.js";
42
+ import "./paths-D3p7ZvM6.js";
43
+ import "./tool-images-Duuqr4bN.js";
44
44
  import "./thinking-z4_linel.js";
45
- import "./image-D_PnW33c.js";
46
- import "./reply-prefix-PDoW4EZy.js";
47
- import "./manager-BZ0tYOnu.js";
48
- import "./gemini-auth-DcQhBD_n.js";
49
- import "./fetch-guard-BdcyjI44.js";
50
- import "./query-expansion-BIZ50Uk8.js";
51
- import "./retry-DbI92XJ6.js";
52
- import "./target-errors-CtMvHKax.js";
53
- import "./chunk-CgCAeFdA.js";
54
- import "./markdown-tables-Cjn8O_5e.js";
55
- import "./local-roots-czSWcF7i.js";
56
- import "./ir-z6aop5rJ.js";
45
+ import "./image-Dlu13Ebx.js";
46
+ import "./reply-prefix-DCljZiIB.js";
47
+ import "./manager-CgzA1hKo.js";
48
+ import "./gemini-auth-DLSGffQK.js";
49
+ import "./fetch-guard-CcfDZXe9.js";
50
+ import "./query-expansion-DHuNyU-_.js";
51
+ import "./retry-CG6cMRDQ.js";
52
+ import "./target-errors-B1mcM4WR.js";
53
+ import "./chunk-Djk-9JeT.js";
54
+ import "./markdown-tables-R8VTpfE9.js";
55
+ import "./local-roots-d4y0lvs2.js";
56
+ import "./ir-BT5aAdU9.js";
57
57
  import "./render-MTSxc7LK.js";
58
- import "./commands-registry-CowrfO43.js";
59
- import "./skill-commands-DdspcyAT.js";
60
- import "./runner-CDjI14QL.js";
58
+ import "./commands-registry-_TBHHpvt.js";
59
+ import "./skill-commands-BHTBXXVn.js";
60
+ import "./runner-BkCU-kqs.js";
61
61
  import "./fetch-CsfR_943.js";
62
- import "./channel-activity-Df_QWn3k.js";
63
- import "./tables-DjMlciHF.js";
64
- import "./send-gAZecXKW.js";
65
- import "./outbound-attachment-BuJwyBh-.js";
66
- import "./send-CcOlxFgw.js";
67
- import "./resolve-route-Co_8ykQj.js";
62
+ import "./channel-activity-DdL3RAv_.js";
63
+ import "./tables-Co_R_WKs.js";
64
+ import "./send-Y1hD4tQ1.js";
65
+ import "./outbound-attachment-IfeZJAKk.js";
66
+ import "./send-BOxJ4QXF.js";
67
+ import "./resolve-route-ClcifpKn.js";
68
68
  import "./proxy-CRB9oCP5.js";
69
- import "./replies-cfk2XJ69.js";
70
- import "./deps-B1l5WEJq.js";
69
+ import "./replies-2C16fnBP.js";
70
+ import "./deps-CnUuBleG.js";
71
71
 
72
72
  //#region src/commands/agent-via-gateway.ts
73
73
  const NO_GATEWAY_TIMEOUT_MS = 2147e6;
@@ -11,7 +11,7 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
11
11
  import "./env-BpvqFD5n.js";
12
12
  import "./dock-QcCdS4qA.js";
13
13
  import "./tokens-Cg4XNE3H.js";
14
- import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-o6Xj8V4C.js";
14
+ import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-E9CG0AZO.js";
15
15
  import "./plugins-D-_jp4FO.js";
16
16
  import "./accounts-BwrguHMw.js";
17
17
  import "./bindings-hT7SPhiA.js";
@@ -64,7 +64,7 @@ import "./send-Cn2wvd3W.js";
64
64
  import "./resolve-route-BI3VjtwE.js";
65
65
  import "./proxy-CNZpb4NE.js";
66
66
  import "./replies-CqYEEgmA.js";
67
- import "./deps-Ch6bZ8PI.js";
67
+ import "./deps-c-x2UBbd.js";
68
68
 
69
69
  //#region src/commands/agent-via-gateway.ts
70
70
  const NO_GATEWAY_TIMEOUT_MS = 2147e6;
@@ -6,18 +6,18 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
6
6
  import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
7
7
  import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-B9ePuoPx.js";
8
8
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CCrfZ49T.js";
9
- import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-Dclk-Ews.js";
9
+ import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-CJX_DOgh.js";
10
10
  import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
11
11
  import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DWivfzcc.js";
12
12
  import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
13
13
  import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
14
14
  import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
15
15
  import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BgKexeQb.js";
16
- import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BFfVBZMA.js";
17
- import { r as setupChannels } from "./onboard-channels-CkxvodmR.js";
16
+ import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DmFqh5v8.js";
17
+ import { r as setupChannels } from "./onboard-channels-CzB1oDsu.js";
18
18
  import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
19
19
  import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kycZqH8q.js";
20
- import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BNofPyTK.js";
20
+ import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-nFObMeHm.js";
21
21
  import path from "node:path";
22
22
  import fs from "node:fs/promises";
23
23
 
@@ -1,5 +1,5 @@
1
- import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-BDr-UY9O.js";
2
- import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
1
+ import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-dLJYULbb.js";
2
+ import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
3
3
  import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
4
4
 
5
5
  //#region src/commands/agents.config.ts
@@ -1,6 +1,6 @@
1
1
  import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
2
2
  import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
3
- import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-Dclk-Ews.js";
3
+ import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-CJX_DOgh.js";
4
4
 
5
5
  //#region src/commands/agents.config.ts
6
6
  function findAgentEntryIndex(list, agentId) {
@@ -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-C42kkKZI.js");
235
+ const { agentCliCommand } = await import("./agent-via-gateway-BtMWCqx4.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;