@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
@@ -94,71 +94,84 @@ function buildDirectTaskPrompt(task) {
94
94
  ].join("\n");
95
95
  }
96
96
  function buildDiscoveryPrompt(task, taskFile, planFilePath) {
97
- return `You are running PRE-FLIGHT for an autonomous coding orchestrator.
97
+ return `You are a coding assistant running discovery for a task orchestrator.
98
98
 
99
- ## RULES
100
- - DO NOT implement code changes. DO NOT modify source files.
101
- - You may ONLY write to the plan file specified below.
102
- - Read the codebase to understand what needs to change.
99
+ ## YOUR JOB
100
+ Analyze the codebase and write a detailed implementation plan to a file.
101
+ You will NOT implement anything yourself a separate agent will do that using your plan.
103
102
 
104
103
  ## TASK
105
104
  From task file: ${taskFile}
106
105
  Task: ${task}
107
106
 
108
- ## DECISION FLOW
107
+ ## WHAT YOU MUST DO
109
108
 
110
- **If task is ALREADY COMPLETE** (you are CERTAIN it's done after checking with tools):
111
- Return ONLY: {"status":"complete","filename":""}
109
+ 1. Use the read tool to examine relevant source files, configs, tests, and docs.
110
+ 2. Understand what currently exists and what needs to change.
111
+ 3. Use the write tool to create the plan file at: ${planFilePath}
112
112
 
113
- **If task is INCOMPLETE or UNCERTAIN**:
114
- 1. Read relevant source files to understand the current state
115
- 2. Write a detailed implementation plan to: ${planFilePath}
116
- 3. The plan MUST include:
117
- - Task description (verbatim from above)
118
- - What needs to change and why
119
- - Implementation approach with specific steps
120
- - Files to modify/create
121
- - How to verify (test commands)
122
- 4. Verify the file exists and is non-empty
123
- 5. Return ONLY: {"status":"incomplete","filename":"${planFilePath}"}
113
+ The plan file MUST contain:
114
+ - The task description
115
+ - What currently exists (files you read, current behavior)
116
+ - What specifically needs to change and why
117
+ - Step-by-step implementation instructions (specific enough that another agent can follow them)
118
+ - Which files to modify or create, with the exact changes needed
119
+ - How to verify the changes work (test commands, expected output)
124
120
 
125
- ## OUTPUT
126
- Return ONLY the JSON object. No markdown fences. No explanation.`;
127
- }
128
- function buildReviewPrompt(planFilePath) {
129
- return `Review this implementation plan and improve it:
130
- ${planFilePath}
121
+ 4. After writing the plan file, return ONLY this JSON:
122
+ {"status":"incomplete","filename":"${planFilePath}"}
131
123
 
132
- Treat it as written by a junior developer. Look for:
133
- - Missing edge cases
134
- - Opportunities to reuse existing code
135
- - Unclear or ambiguous steps
136
- - Missing test scenarios
124
+ If you are CERTAIN the task is already complete (you verified with tools), return:
125
+ {"status":"complete","filename":""}
137
126
 
138
- Update the SAME file in-place with your improvements.
127
+ ## IMPORTANT
128
+ - You MUST use tools (read, exec, write). Do not skip straight to returning JSON.
129
+ - Do not modify any source files other than the plan file above.
130
+ - The quality of your plan directly determines whether the task succeeds.`;
131
+ }
132
+ function buildReviewPrompt(planFilePath) {
133
+ return `You are reviewing an implementation plan written by another agent.
139
134
 
140
- After review, return ONLY:
141
- {"status":"ready","filename":"${planFilePath}"}
135
+ 1. Use the read tool to open: ${planFilePath}
136
+ 2. Read the plan carefully. Check for:
137
+ - Missing edge cases or unclear steps
138
+ - Opportunities to reuse existing code
139
+ - Missing test scenarios or verification steps
140
+ - Whether the file paths and change descriptions are specific enough for another agent to follow
141
+ 3. Use the write tool to update the SAME file in-place with your improvements.
142
+ 4. After updating, return: {"status":"ready","filename":"${planFilePath}"}
142
143
 
143
- Do not return status=ready unless the file exists and has content.
144
- Return JSON only. No markdown fences. No commentary.`;
144
+ Do not skip reading the file. Do not return JSON without first reading and updating the plan.`;
145
145
  }
146
146
  function buildImplementationPrompt(task, planFilePath) {
147
147
  return [
148
- "You are implementing a task from a managed checklist.",
149
- "A planning agent has already analyzed the codebase and written a detailed spec.",
148
+ `Complete this task: ${task}`,
150
149
  "",
151
- `Task: ${task}`,
150
+ `An implementation plan is available at: ${planFilePath}`,
151
+ "Read it first, then follow its instructions.",
152
152
  "",
153
- `Implementation plan: ${planFilePath}`,
153
+ "You MUST use the edit or write tool to modify the actual source files.",
154
+ "Describing changes in text or showing diffs without applying them does NOT count.",
155
+ "Do not ask for confirmation — apply the changes now.",
154
156
  "",
155
- "Rules:",
156
- "1) Read the plan file FIRST it contains the implementation approach.",
157
- "2) Follow the plan precisely. Make the code changes specified.",
158
- "3) Run the verification steps from the plan.",
159
- "4) Return a concise completion summary.",
157
+ "After making the edits, run any verification steps from the plan.",
158
+ "Then return a brief summary of what you changed."
159
+ ].join("\n");
160
+ }
161
+ function buildImplementationRetryPrompt(task, planFilePath) {
162
+ return [
163
+ "Your previous implementation attempt made zero repository changes.",
164
+ `Task: ${task}`,
165
+ `Plan file: ${planFilePath}`,
166
+ "",
167
+ "You must now perform actual file edits in this turn.",
168
+ "Required sequence:",
169
+ "1) Read the plan file.",
170
+ "2) Use edit/write to modify repository files.",
171
+ "3) Optionally run verification.",
172
+ "4) Return a short summary.",
160
173
  "",
161
- "Do not deviate from the plan unless you find a clear error in it."
174
+ "If you only provide analysis/diff text without edit/write tool calls, this attempt fails."
162
175
  ].join("\n");
163
176
  }
164
177
  function formatDuration(ms) {
@@ -225,7 +238,7 @@ async function loadAntonConfig() {
225
238
  }
226
239
  }
227
240
  async function runAgentTask(args) {
228
- const { agentCliCommand } = await import("./agent-via-gateway-CldlRczJ.js").then((n) => n.n);
241
+ const { agentCliCommand } = await import("./agent-via-gateway-BN0HMYd7.js").then((n) => n.n);
229
242
  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;
230
243
  const result = await agentCliCommand({
231
244
  message: args.message,
@@ -326,18 +339,18 @@ function normalizeDiscoveryFilename(filename, expectedPlanFile) {
326
339
  return path.resolve(trimmed);
327
340
  }
328
341
  function buildDiscoveryRepairPrompt(task, taskFile, planFilePath) {
329
- return `RETRY: your previous preflight response did not produce a valid plan file.
342
+ return `Your previous attempt did not produce a valid plan file. Try again.
330
343
 
331
- You MUST complete these steps exactly:
332
- 1) Write the implementation plan to: ${planFilePath}
333
- 2) Verify the file exists and is non-empty
334
- 3) Return ONLY strict JSON: {"status":"incomplete","filename":"${planFilePath}"}
344
+ Task file: ${taskFile}
345
+ Task: ${task}
335
346
 
336
- If task is already complete, return ONLY: {"status":"complete","filename":""}
347
+ You MUST:
348
+ 1. Use the read tool to examine the relevant source files in this repository.
349
+ 2. Use the write tool to create a detailed implementation plan at: ${planFilePath}
350
+ The plan must include: what exists now, what needs to change, specific file edits, and verification steps.
351
+ 3. After writing the file, return: {"status":"incomplete","filename":"${planFilePath}"}
337
352
 
338
- Do not include THOUGHT, markdown fences, or extra commentary.
339
- Task file: ${taskFile}
340
- Task: ${task}`;
353
+ Do not skip tool usage. Do not return JSON without first writing the plan file.`;
341
354
  }
342
355
  async function tryPersistPlanFallback(params) {
343
356
  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();
@@ -738,8 +751,29 @@ async function runAnton(args) {
738
751
  deps: args.deps,
739
752
  workspaceDir: args.workspaceDir
740
753
  });
741
- const changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
742
- if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes; refusing to mark task complete");
754
+ let changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
755
+ if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) {
756
+ const retrySessionId = `anton-impl-retry-${Date.now()}-${taskNum}`;
757
+ await notify({
758
+ phase: "task_agent_spawned",
759
+ index: taskNum,
760
+ total: pending.length,
761
+ task: `${task.text} (implementation retry)`,
762
+ sessionId: retrySessionId
763
+ });
764
+ await runAgentTask({
765
+ message: buildImplementationRetryPrompt(task.text, planFile ?? ""),
766
+ sessionId: retrySessionId,
767
+ timeout: defaultTimeout,
768
+ agent: args.agent,
769
+ to: args.to,
770
+ runtime: args.runtime,
771
+ deps: args.deps,
772
+ workspaceDir: args.workspaceDir
773
+ });
774
+ changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
775
+ if (changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes after retry; refusing to mark task complete");
776
+ }
743
777
  const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
744
778
  await fs.writeFile(filePath, updated, "utf8");
745
779
  completed += 1;
@@ -1,5 +1,5 @@
1
- import "./paths-BYNVLNi_.js";
2
- import { t as CONFIG_DIR } from "./utils-BB3tnxio.js";
1
+ import "./paths-DQpv9a3Q.js";
2
+ import { t as CONFIG_DIR } from "./utils-D9wGoiU9.js";
3
3
  import fs from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import { promisify } from "node:util";
@@ -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) {
@@ -212,14 +225,14 @@ async function antonStop(runtime) {
212
225
  /** Load Anton config from the IdleHands config file. */
213
226
  async function loadAntonConfig() {
214
227
  try {
215
- const { loadConfig } = await import("./model-selection-C88a_9g6.js").then((n) => n.I);
228
+ const { loadConfig } = await import("./model-selection-C5hI1dum.js").then((n) => n.I);
216
229
  return loadConfig().anton ?? {};
217
230
  } catch {
218
231
  return {};
219
232
  }
220
233
  }
221
234
  async function runAgentTask(args) {
222
- const { agentCliCommand } = await import("./agent-via-gateway-Bf6TEh2k.js");
235
+ const { agentCliCommand } = await import("./agent-via-gateway-BsTP4WyI.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();
@@ -592,7 +605,7 @@ async function runAnton(args) {
592
605
  const reviewTimeout = antonCfg.reviewTimeoutSec ?? taskTimeout;
593
606
  const preflightMaxRetries = antonCfg.preflightMaxRetries ?? 2;
594
607
  const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
595
- const { loadConfig } = await import("./model-selection-C88a_9g6.js").then((n) => n.I);
608
+ const { loadConfig } = await import("./model-selection-C5hI1dum.js").then((n) => n.I);
596
609
  const cfg = loadConfig();
597
610
  const defaultTimeout = String(Number.isFinite(args.timeoutSec) && (args.timeoutSec ?? 0) > 0 ? args.timeoutSec : cfg.agents?.defaults?.timeoutSeconds ?? taskTimeout);
598
611
  await acquireLock(Boolean(args.force));
@@ -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;