@visorcraft/idlehands 4.1.0 → 4.2.0

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 (382) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{accounts-DsVN0UNw.js → accounts-3HS_UAhJ.js} +1 -1
  3. package/dist/{accounts-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
  4. package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
  5. package/dist/{accounts-D-hQsUw-.js → accounts-DLTODa_Z.js} +1 -1
  6. package/dist/{accounts-D87a1Y_K.js → accounts-DgbTKQoW.js} +1 -1
  7. package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
  8. package/dist/{acp-cli-BEHYc8ty.js → acp-cli-BEpWQbqb.js} +7 -7
  9. package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
  10. package/dist/{agent-scope-Bn39ugK4.js → agent-scope-RA0zXRpu.js} +18 -18
  11. package/dist/{agent-via-gateway-igDg7ko6.js → agent-via-gateway-C42kkKZI.js} +2 -2
  12. package/dist/{agent-via-gateway-CM7X6sKJ.js → agent-via-gateway-CUtzJXBE.js} +60 -60
  13. package/dist/{agent-via-gateway-B03q92bw.js → agent-via-gateway-CldlRczJ.js} +1 -1
  14. package/dist/{agent-via-gateway-bS6seBwg.js → agent-via-gateway-oMn0WfUq.js} +4 -4
  15. package/dist/{agents-DdTECKDf.js → agents-BfnnMO1i.js} +4 -4
  16. package/dist/{agents.config-D2EbQiOx.js → agents.config-BFfVBZMA.js} +1 -1
  17. package/dist/{agents.config-CPUPtcKt.js → agents.config-bWtpv0jP.js} +2 -2
  18. package/dist/{anton-ONYQUE8F.js → anton-CgpWkf5P.js} +32 -17
  19. package/dist/{anton-C7-Qxyij.js → anton-CoGaJdTU.js} +36 -21
  20. package/dist/{anton-D4vpCj_q.js → anton-DSS3RNo7.js} +32 -17
  21. package/dist/anton-DXL8jrY_.js +792 -0
  22. package/dist/{api-key-rotation-nXQVJErE.js → api-key-rotation-B-FTJm5p.js} +1 -1
  23. package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-CW8IH1lU.js} +35 -35
  24. package/dist/{audio-preflight-DzjXupNO.js → audio-preflight-Dl1TO10w.js} +31 -31
  25. package/dist/{audit-C5VPFgbJ.js → audit-CKeZnjft.js} +22 -22
  26. package/dist/{auth-choice-DVoPuwEs.js → auth-choice-BNofPyTK.js} +1 -1
  27. package/dist/{auth-choice-BDndThZZ.js → auth-choice-D12Wsf7w.js} +12 -12
  28. package/dist/{auth-choice-CQqV1VIf.js → auth-choice-Z7nPFxhP.js} +10 -10
  29. package/dist/{auth-choice.apply-helpers-pTqMTYmi.js → auth-choice.apply-helpers-CGcniL1T.js} +1 -1
  30. package/dist/{auth-store-CMyrmmSF.js → auth-store-DDzIMy8_.js} +7 -7
  31. package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
  32. package/dist/{auth-token-fKt_cHOj.js → auth-token-BJq87X3o.js} +1 -1
  33. package/dist/{banner-CFKoGAzN.js → banner-B1-kj-GW.js} +1 -1
  34. package/dist/{bindings-DZjkLUU_.js → bindings-B59Q7nsk.js} +1 -1
  35. package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.js} +2 -2
  36. package/dist/{browser-cli-qU0I-Gla.js → browser-cli-Ci6DpTnS.js} +11 -11
  37. package/dist/build-info.json +3 -3
  38. package/dist/bundled/boot-md/handler.js +60 -60
  39. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  40. package/dist/bundled/command-logger/handler.js +3 -3
  41. package/dist/bundled/session-memory/handler.js +60 -60
  42. package/dist/{call-Du-oBD99.js → call-BpWhjuOg.js} +9 -9
  43. package/dist/{channel-account-context-B4nJPU2N.js → channel-account-context-CDbY5AIr.js} +5 -5
  44. package/dist/{channel-activity-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
  45. package/dist/{channel-options-BU0E7BdU.js → channel-options-C5Iz9bes.js} +1 -1
  46. package/dist/{channel-options-B1cfZ5uQ.js → channel-options-CUP3A4VX.js} +3 -3
  47. package/dist/{channel-selection-3jUl-PyW.js → channel-selection-ZxRkxpuF.js} +1 -1
  48. package/dist/{channel-web-BDytDCrG.js → channel-web-CGXl1PnB.js} +2 -2
  49. package/dist/{channel-web-CzrJ-6X4.js → channel-web-CsUiKxQo.js} +22 -22
  50. package/dist/{channels-cli-DWaQsKP8.js → channels-cli-DK7TRLqX.js} +7 -7
  51. package/dist/{channels-cli-B4o-qohk.js → channels-cli-DmHSajZy.js} +88 -88
  52. package/dist/{channels-status-issues-hgASw9UA.js → channels-status-issues-CDpWjdI3.js} +1 -1
  53. package/dist/{chrome-CT_a9OgI.js → chrome-BcJB6PcM.js} +17 -17
  54. package/dist/{chrome-YguTEaLx.js → chrome-VBsQfIrt.js} +2 -2
  55. package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
  56. package/dist/{clawbot-cli-C5cDal-5.js → clawbot-cli-uFgYrysW.js} +5 -5
  57. package/dist/{cli-Hplv9sD1.js → cli-6eMKeewY.js} +2 -2
  58. package/dist/{cli-DXyOlvH2.js → cli-DEE_ketW.js} +70 -70
  59. package/dist/{client-Dl5EAvfO.js → client-DtnD-ee9.js} +1 -1
  60. package/dist/{command-registry-esizscE2.js → command-registry-BFTlzx6d.js} +10 -10
  61. package/dist/{commands-D3BU_t7G.js → commands-Dj5LalLo.js} +1 -1
  62. package/dist/{commands-registry-Cj4D_1tw.js → commands-registry-CURlRZQJ.js} +3 -3
  63. package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
  64. package/dist/{completion-cli-c4blaZPQ.js → completion-cli-BbXgtvGY.js} +2 -2
  65. package/dist/{completion-cli-CXDILt8-.js → completion-cli-PBfCNWhv.js} +12 -12
  66. package/dist/{config-cli-D_mH5-FH.js → config-cli-BVJRkNhX.js} +6 -6
  67. package/dist/{config-cli-98ASrAou.js → config-cli-Q934shK6.js} +1 -1
  68. package/dist/{config-guard-DnAyuF6T.js → config-guard-BdsOumqh.js} +17 -17
  69. package/dist/{config-validation-DIomLMwH.js → config-validation-BvKX6fPw.js} +2 -2
  70. package/dist/{configure-PKG58EzI.js → configure-85ttW_lD.js} +16 -16
  71. package/dist/{configure-CKspMrI1.js → configure-BGAvA5a4.js} +3 -3
  72. package/dist/{control-ui-assets-CiaCDBvZ.js → control-ui-assets-C7ZpN9hN.js} +1 -1
  73. package/dist/{cron-cli-BIfVPc5K.js → cron-cli-DQsnGQKs.js} +12 -12
  74. package/dist/{daemon-cli-DpyQu0Dp.js → daemon-cli-DUg-s4LG.js} +11 -11
  75. package/dist/{daemon-install-DeqQiAad.js → daemon-install-CYPo4M1M.js} +4 -4
  76. package/dist/{daemon-install-helpers-Bug_GYuy.js → daemon-install-helpers-BZY9-jNW.js} +9 -9
  77. package/dist/{deliver-yTpXc5sv.js → deliver--kttnrER.js} +7 -7
  78. package/dist/{deliver-Db2xqgLg.js → deliver-BUiQ-9fE.js} +20 -20
  79. package/dist/{deps-CjWcQwlX.js → deps-AEDT3iDX.js} +1 -1
  80. package/dist/{deps-CC5E5LXB.js → deps-B4J8H6nI.js} +6 -6
  81. package/dist/{deps-BotXja4Z.js → deps-Bq7jJLyN.js} +6 -6
  82. package/dist/{deps-DR1eh_L_.js → deps-Ch6bZ8PI.js} +1 -1
  83. package/dist/{devices-cli-B7fkQKei.js → devices-cli-DKK65S9Z.js} +7 -7
  84. package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
  85. package/dist/{diagnostics-CdUgLS0N.js → diagnostics-DmZbQ8Nc.js} +5 -5
  86. package/dist/{directory-cli-BAMS8f9U.js → directory-cli-Dz9iXeut.js} +9 -9
  87. package/dist/{dns-cli-BdxBk-k_.js → dns-cli-DD6hWsdc.js} +4 -4
  88. package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
  89. package/dist/{dock-CzF5XYGd.js → dock-Y96MzKuM.js} +4 -4
  90. package/dist/{docs-cli-SF7es4Zs.js → docs-cli-cHkrTB2e.js} +4 -4
  91. package/dist/{doctor-completion-Co_xszXC.js → doctor-completion-CN5Zujsa.js} +2 -2
  92. package/dist/{doctor-completion-DFr8_h-z.js → doctor-completion-Clh5CNUd.js} +1 -1
  93. package/dist/{doctor-config-flow-8qXzBx09.js → doctor-config-flow-Ck4oCjfl.js} +14 -14
  94. package/dist/{emergency-stop-ChBe32HN.js → emergency-stop-2v4bhRCE.js} +2 -2
  95. package/dist/{emergency-stop-DtVFxCO1.js → emergency-stop-BtasjDnU.js} +70 -70
  96. package/dist/emergency-stop-CVO75pTD.js +113 -0
  97. package/dist/{emergency-stop-CDozqde9.js → emergency-stop-D_bTOufu.js} +2 -2
  98. package/dist/{enable-DaA_orGN.js → enable-o_s6PBsC.js} +1 -1
  99. package/dist/entry.js +1 -1
  100. package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
  101. package/dist/{errors-C4SHjIZK.js → errors-C_0nm4TJ.js} +1 -1
  102. package/dist/{exec-approvals-allowlist-8AkOwwIr.js → exec-approvals-allowlist-Co2tJSEo.js} +1 -1
  103. package/dist/{exec-approvals-cli-CbcJzCt0.js → exec-approvals-cli-D6XUzs4j.js} +15 -15
  104. package/dist/{exec-safe-bin-runtime-policy-DYXuBKqH.js → exec-safe-bin-runtime-policy-DaoU9-ni.js} +2 -2
  105. package/dist/extensionAPI.js +2 -2
  106. package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
  107. package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
  108. package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
  109. package/dist/{fs-safe-DNFrxDS-.js → fs-safe-_JQUGpZf.js} +15 -15
  110. package/dist/{gateway-cli-DjCBMnUT.js → gateway-cli-Cl7cEsHE.js} +9 -9
  111. package/dist/{gateway-cli-poVGdgAz.js → gateway-cli-DJm73Wou.js} +148 -148
  112. package/dist/{gateway-rpc-IpZymG6F.js → gateway-rpc-BBFG1T-M.js} +1 -1
  113. package/dist/{gemini-auth-DLSGffQK.js → gemini-auth-CIyaa44H.js} +2 -2
  114. package/dist/{github-copilot-token-BjmEQcmi.js → github-copilot-token-Dgt6cnsM.js} +7 -7
  115. package/dist/{health-lZsCLX6p.js → health-C6_Sa_ef.js} +13 -13
  116. package/dist/{health-HEN6Wk9G.js → health-D-b3jdnU.js} +1 -1
  117. package/dist/{hooks-cli-DFrttZGb.js → hooks-cli-BB25FyuN.js} +3 -3
  118. package/dist/{hooks-cli-EbzkZ1Xh.js → hooks-cli-BC3n8UYQ.js} +84 -84
  119. package/dist/{hooks-status-CPIWc_bx.js → hooks-status-DNGo2G8Q.js} +1 -1
  120. package/dist/{idlehands-root-DFL2GrNW.js → idlehands-root-B8cUs-5M.js} +8 -8
  121. package/dist/{image-Dlu13Ebx.js → image-D8b_rlQC.js} +6 -6
  122. package/dist/{image-C2JZiK-6.js → image-DSDEbSiO.js} +5 -5
  123. package/dist/{image-ops-J8P5zOFm.js → image-ops-BU-VdLZu.js} +2 -2
  124. package/dist/{image-ops-BkoEFRYH.js → image-ops-D1KtygWz.js} +11 -11
  125. package/dist/index.js +80 -80
  126. package/dist/{inspect-Dg16DMLn.js → inspect-ISQZuNM5.js} +4 -4
  127. package/dist/{install-safe-path-CNNMzJl9.js → install-safe-path-ChNR9pl6.js} +19 -19
  128. package/dist/{installs-ST3UaUVJ.js → installs-CNubze2L.js} +9 -9
  129. package/dist/{ir-BT5aAdU9.js → ir-B7IBoKLy.js} +5 -5
  130. package/dist/{ir-DV0Hszc8.js → ir-VncGpwA1.js} +6 -6
  131. package/dist/{lifecycle-core-DOScNyOv.js → lifecycle-core-B6UoqYTJ.js} +5 -5
  132. package/dist/llm-slug-generator.js +60 -60
  133. package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
  134. package/dist/{local-roots-Cco87A2_.js → local-roots-q0xbefkf.js} +2 -2
  135. package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
  136. package/dist/{login-Dl_lsEHS.js → login-CfUhrgWT.js} +4 -4
  137. package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
  138. package/dist/{login-qr-B68cBRH0.js → login-qr-DBMsUxgL.js} +7 -7
  139. package/dist/{logs-cli-DHCG25JA.js → logs-cli-4VQ9Iwiw.js} +8 -8
  140. package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
  141. package/dist/{manager-BBeTPO2h.js → manager-BMAFgXyU.js} +13 -13
  142. package/dist/{manifest-registry-RfRn8HJx.js → manifest-registry-Bak1x76G.js} +1 -1
  143. package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
  144. package/dist/{markdown-tables-C5hTDqNm.js → markdown-tables-DZClqsNo.js} +1 -1
  145. package/dist/{memory-cli-4wfelGdK.js → memory-cli-CUGwnVIY.js} +12 -12
  146. package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
  147. package/dist/{model-Bd-05WpB.js → model-C-icShH2.js} +2 -2
  148. package/dist/{model-catalog-BCsDrrvq.js → model-catalog-D9no0CH2.js} +3 -3
  149. package/dist/{model-picker-D3U0wJCO.js → model-picker-BkXoTOiA.js} +4 -4
  150. package/dist/{model-selection-CSn9tUuH.js → model-selection-0dGxYGp8.js} +16 -16
  151. package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
  152. package/dist/{models-tZYpgts_.js → models-C1_Tdc1Q.js} +2 -2
  153. package/dist/{models-cli-umEUn4Xu.js → models-cli-B9yw60gV.js} +79 -79
  154. package/dist/{models-cli-DVAyIZ63.js → models-cli-Bs5ZNSbk.js} +4 -4
  155. package/dist/{models-config-lQpqp472.js → models-config-C5A1wDWh.js} +6 -6
  156. package/dist/{node-cli-7gQ7xfOh.js → node-cli-BYzjxmUY.js} +32 -32
  157. package/dist/{node-service-GpI0jzKr.js → node-service-C3vyxHLA.js} +1 -1
  158. package/dist/{nodes-cli-CDXLGCox.js → nodes-cli-kNOtp0U0.js} +14 -14
  159. package/dist/{nodes-screen-CIAn0wXq.js → nodes-screen-CcpPaFxa.js} +4 -4
  160. package/dist/{npm-registry-spec-BfeHLbIQ.js → npm-registry-spec-BCbbfIhX.js} +16 -16
  161. package/dist/{npm-resolution-By6en78P.js → npm-resolution-BMDipaRX.js} +3 -3
  162. package/dist/{npm-resolution-By6bZkA-.js → npm-resolution-yXJbqHHn.js} +1 -1
  163. package/dist/{onboard-Dw-URWpt.js → onboard-CYRoDnOI.js} +2 -2
  164. package/dist/{onboard-BmDmDXYf.js → onboard-DjbHK18p.js} +6 -6
  165. package/dist/{onboard-channels-DCDhpz9s.js → onboard-channels-CNQt2jFU.js} +20 -20
  166. package/dist/{onboard-channels-JPltbNGL.js → onboard-channels-CkxvodmR.js} +1 -1
  167. package/dist/{onboard-custom-D2sCP3_S.js → onboard-custom-DUbzMMu7.js} +4 -4
  168. package/dist/{onboard-helpers-CdzbIhrm.js → onboard-helpers-mzy38DiC.js} +8 -8
  169. package/dist/{onboard-hooks-_1Jgimeu.js → onboard-hooks-D9teGxfH.js} +4 -4
  170. package/dist/{onboard-remote-pCRaL_Ey.js → onboard-remote-LCBHijVE.js} +1 -1
  171. package/dist/{onboard-skills-DvwRvBvj.js → onboard-skills-jFY9gaOu.js} +4 -4
  172. package/dist/{onboarding-DIorhVOJ.js → onboarding-BEDOWI9h.js} +3 -3
  173. package/dist/{onboarding-Cf3JxJxY.js → onboarding-D9AZJlDK.js} +13 -13
  174. package/dist/{onboarding.finalize-BCmAqhLV.js → onboarding.finalize-D4hW1yTd.js} +7 -7
  175. package/dist/{onboarding.finalize-BH4WHo75.js → onboarding.finalize-DJxMkD2g.js} +82 -82
  176. package/dist/{onboarding.gateway-config-Sj7zQKsE.js → onboarding.gateway-config-Btu2gzgr.js} +16 -16
  177. package/dist/{openai-model-default-OPCCNNS0.js → openai-model-default-7J6cw1rA.js} +2 -2
  178. package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
  179. package/dist/{outbound-CG19kl0w.js → outbound-DPTxwchq.js} +4 -4
  180. package/dist/{outbound-attachment-jYdMgCml.js → outbound-attachment-3I6GzwDe.js} +2 -2
  181. package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-Bot3bRnK.js} +2 -2
  182. package/dist/{pairing-cli-QJYYDcIK.js → pairing-cli-jwx6hMsM.js} +10 -10
  183. package/dist/{pairing-labels-DuZ7ih-T.js → pairing-labels-ChQJzbS9.js} +1 -1
  184. package/dist/{pairing-store-qvpPoWL_.js → pairing-store-CPpEEQJO.js} +2 -2
  185. package/dist/{pairing-token-3hoCgQqp.js → pairing-token-lKXTMQ_M.js} +7 -7
  186. package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
  187. package/dist/{path-alias-guards-BCskHdfJ.js → path-alias-guards-FXBVVTLw.js} +3 -3
  188. package/dist/{path-safety-C1Y004P_.js → path-safety-DwibX65n.js} +1 -1
  189. package/dist/{paths-Bt0fZexW.js → paths-B-CLQ5RT.js} +9 -9
  190. package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
  191. package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
  192. package/dist/{pi-embedded-mKozULng.js → pi-embedded-C6RDRgJM.js} +179 -179
  193. package/dist/{pi-embedded-helpers-BkzrQ5bZ.js → pi-embedded-helpers-BCsfqpDt.js} +6 -6
  194. package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
  195. package/dist/{pi-embedded-DMx6rHVL.js → pi-embedded-o6Xj8V4C.js} +11 -11
  196. package/dist/{pi-model-discovery-Bt79ifyi.js → pi-model-discovery-BIP3RjXl.js} +1 -1
  197. package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
  198. package/dist/{pi-tools.policy-B_ME3yF6.js → pi-tools.policy-DfITIKZj.js} +5 -5
  199. package/dist/{plugin-auto-enable-BMuSi4aV.js → plugin-auto-enable-7DUxMy6A.js} +3 -3
  200. package/dist/{plugin-registry-BY85d-vE.js → plugin-registry-6C1sgAm1.js} +1 -1
  201. package/dist/{plugin-registry-BIoGoN5y.js → plugin-registry-DIK-5KI9.js} +3 -3
  202. package/dist/plugin-sdk/{agent-via-gateway-CXtWg-qx.js → agent-via-gateway-DmQMFWNE.js} +2 -2
  203. package/dist/plugin-sdk/{anton-CGYTy9vy.js → anton-CrjFisFZ.js} +32 -17
  204. package/dist/plugin-sdk/{channel-web-EFRSObCG.js → channel-web-vQgHbtCG.js} +2 -2
  205. package/dist/plugin-sdk/{deps-qZxPlSgp.js → deps-DfyALwFG.js} +1 -1
  206. package/dist/plugin-sdk/{emergency-stop-CxcBz-aQ.js → emergency-stop-0ZrbH3D4.js} +2 -2
  207. package/dist/plugin-sdk/index.js +3 -3
  208. package/dist/plugin-sdk/{reply-nUO1aM3T.js → reply-BfdVf3fw.js} +11 -11
  209. package/dist/plugin-sdk/{web-CEtAvhaI.js → web-DwDLI7GP.js} +3 -3
  210. package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
  211. package/dist/{plugins-B4hASNc2.js → plugins-D46VZh7u.js} +2 -2
  212. package/dist/{plugins-cli-Dlb8QO-K.js → plugins-cli-B1kN2Xze.js} +80 -80
  213. package/dist/{plugins-cli-RFXGkaxP.js → plugins-cli-DFUxLQbB.js} +3 -3
  214. package/dist/{ports-B07M55Gr.js → ports-B2o0FSFD.js} +1 -1
  215. package/dist/{ports-DWJO5S52.js → ports-SQy1d-RL.js} +2 -2
  216. package/dist/{program-context-B_byBfwR.js → program-context-CjyGlgVG.js} +43 -43
  217. package/dist/{program-Do2-I4y3.js → program-mmjp27H4.js} +8 -8
  218. package/dist/{prompt-select-styled-VWGHu3e1.js → prompt-select-styled-04TKk_r3.js} +4 -4
  219. package/dist/{prompt-select-styled-CBF_I30O.js → prompt-select-styled-FskTiqWw.js} +37 -37
  220. package/dist/{provider-auth-helpers-BCc5UtUa.js → provider-auth-helpers-9IcvdTst.js} +1 -1
  221. package/dist/{provider-auth-helpers-BGGSUXOH.js → provider-auth-helpers-BI7MVWjD.js} +5 -5
  222. package/dist/{push-apns-CHmvuoMu.js → push-apns-Bh0u21Bh.js} +1 -1
  223. package/dist/{push-apns-CuwLAoXk.js → push-apns-DvSYSWvk.js} +5 -5
  224. package/dist/{pw-ai-BGALvhDi.js → pw-ai-7i9eGnLh.js} +11 -11
  225. package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CfYaR1K2.js} +13 -13
  226. package/dist/{qmd-manager-CVcPfkhL.js → qmd-manager-B-qeywfQ.js} +19 -19
  227. package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
  228. package/dist/{qr-cli-D2Oh8f0U.js → qr-cli-CSt5ihwG.js} +1 -1
  229. package/dist/{query-expansion-i5I3yavb.js → query-expansion-Clts_AGz.js} +12 -12
  230. package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
  231. package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
  232. package/dist/{redact-snapshot-KMo22a85.js → redact-snapshot-BbEVKv0k.js} +1 -1
  233. package/dist/{register.agent-Dx7ULz49.js → register.agent-B3zUfhl9.js} +9 -9
  234. package/dist/{register.agent-CDcuj79y.js → register.agent-BSe92Zxh.js} +95 -95
  235. package/dist/register.configure-DZ9OCp0V.js +168 -0
  236. package/dist/{register.configure-BctHAiWh.js → register.configure-N4JG5hVe.js} +8 -8
  237. package/dist/{register.maintenance-BcFR1fGQ.js → register.maintenance-BjhkxF3o.js} +9 -9
  238. package/dist/{register.maintenance-wv8PzmVy.js → register.maintenance-DxauQqK_.js} +90 -90
  239. package/dist/{register.message-DUAiI9J7.js → register.message-BsMpRFVr.js} +71 -71
  240. package/dist/{register.message-BLScF2fV.js → register.message-DoZ5i1Pn.js} +3 -3
  241. package/dist/{register.onboard-BMNBXD29.js → register.onboard-Cw3wNQRm.js} +2 -2
  242. package/dist/{register.onboard-F09brfSb.js → register.onboard-Hxi3l9IA.js} +18 -18
  243. package/dist/{register.orchestrator-anton-CGhKIDjJ.js → register.orchestrator-anton-BqQfw2JX.js} +14 -14
  244. package/dist/{register.orchestrator-anton-Tn_RaMLq.js → register.orchestrator-anton-DOByOKzU.js} +2 -2
  245. package/dist/{register.setup-jzek547p.js → register.setup-dazD7bl3.js} +21 -21
  246. package/dist/{register.setup-DqbGSLoJ.js → register.setup-r5Xy4nv4.js} +2 -2
  247. package/dist/{register.status-health-sessions-ByfydR_f.js → register.status-health-sessions-3zjBM0m6.js} +82 -82
  248. package/dist/{register.status-health-sessions-wbopjGL-.js → register.status-health-sessions-DobZ2G2u.js} +4 -4
  249. package/dist/{register.subclis-CuNL7Zgu.js → register.subclis-CGJxYP3h.js} +9 -9
  250. package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
  251. package/dist/{replies-Czp4hvpS.js → replies-hSFVxL4h.js} +1 -1
  252. package/dist/{reply-CdFdL9nL.js → reply-BDr-UY9O.js} +153 -153
  253. package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
  254. package/dist/{reply-prefix-BMEdvSpA.js → reply-prefix-C3y4zpTl.js} +1 -1
  255. package/dist/{resolve-route-Ef_Yt2Dw.js → resolve-route-D_AbcmD6.js} +2 -2
  256. package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
  257. package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
  258. package/dist/{rpc-CNqnw2FL.js → rpc-Cf9OK5Yk.js} +1 -1
  259. package/dist/{run-main-9A7FdIR1.js → run-main-BDEztzfx.js} +15 -15
  260. package/dist/{runner-BFG54hnb.js → runner-DzszLzI4.js} +20 -20
  261. package/dist/{runner-BkCU-kqs.js → runner-PgRFPYUj.js} +11 -11
  262. package/dist/{runtime-DEmy759r.js → runtime-XmXLaHNk.js} +2 -2
  263. package/dist/{sandbox-CfPbhDY_.js → sandbox-DcUw5h3p.js} +20 -20
  264. package/dist/{sandbox-cli-B4wLJr21.js → sandbox-cli-DGvJ7Eeq.js} +22 -22
  265. package/dist/{secrets-cli-DP718vNZ.js → secrets-cli-CR3h2TBy.js} +9 -9
  266. package/dist/{security-cli-CG2_SV7b.js → security-cli-B9_LV2po.js} +39 -39
  267. package/dist/{send-DDMaLJAQ.js → send--lzpNy4f.js} +7 -7
  268. package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
  269. package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
  270. package/dist/{send-BCPkAE2k.js → send-C4v0Leny.js} +6 -6
  271. package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
  272. package/dist/{send-CEavqqEz.js → send-DQiw_nGD.js} +6 -6
  273. package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
  274. package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
  275. package/dist/{send-BPwTl4-K.js → send-DuwdEkLw.js} +4 -4
  276. package/dist/{send-CVIXqubC.js → send-DwdHiC7_.js} +13 -13
  277. package/dist/{server-BpSbZAwg.js → server-D6MltJIF.js} +14 -14
  278. package/dist/{server-context-BxNSTpH6.js → server-context-DI0W_H7R.js} +10 -10
  279. package/dist/{server-lifecycle-CGKrGrhM.js → server-lifecycle-B5PlrlbG.js} +2 -2
  280. package/dist/{server-node-events-CbVkqOtV.js → server-node-events-BL1dTBEr.js} +3 -3
  281. package/dist/{server-node-events-BSPxvn7O.js → server-node-events-C69TPlKW.js} +71 -71
  282. package/dist/{service-Bj2oSfpw.js → service-C8NMS3m_.js} +15 -15
  283. package/dist/{session-BKVySI8q.js → session-CdnrRhb4.js} +1 -1
  284. package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
  285. package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
  286. package/dist/{sessions-BqWocozB.js → sessions-BtPXimXQ.js} +14 -14
  287. package/dist/{shared-DnQ4iyXk.js → shared-CpDPo3hJ.js} +2 -2
  288. package/dist/{shared-Jzrx8DfN.js → shared-DpLSpJIl.js} +1 -1
  289. package/dist/{skill-commands-BwIRWSCI.js → skill-commands-BFzmZAfo.js} +5 -5
  290. package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
  291. package/dist/{skill-scanner-B4Ftsbd2.js → skill-scanner-D7mzXRXd.js} +5 -5
  292. package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
  293. package/dist/{skills-TIyQDZx7.js → skills-DlvDyK8L.js} +3 -3
  294. package/dist/{skills-cli-5lbXi4Lh.js → skills-cli-BhKGhjbO.js} +5 -5
  295. package/dist/{skills-install-D0JHP5uM.js → skills-install-tr6wRWZj.js} +4 -4
  296. package/dist/{skills-status-Q9skQExW.js → skills-status-qjQ8XP0h.js} +1 -1
  297. package/dist/{status-ClMOrHdT.js → status-AEwcpHsu.js} +2 -2
  298. package/dist/{status-YWasgjym.js → status-B8z0RCPf.js} +24 -24
  299. package/dist/{status.update-C3uRz7W6.js → status.update-CTi6vuWj.js} +2 -2
  300. package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
  301. package/dist/{store-CLNuI8-G.js → store-kH9wHHbO.js} +5 -5
  302. package/dist/{subagent-registry-BH5O1rxK.js → subagent-registry-Dclk-Ews.js} +11 -11
  303. package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
  304. package/dist/{system-cli-BfjZ6QvH.js → system-cli-DyVZ5udc.js} +8 -8
  305. package/dist/{system-run-approval-context-xZVoE4nS.js → system-run-approval-context-CISBXlNw.js} +1 -1
  306. package/dist/{system-run-command-BIhrK3OI.js → system-run-command-qJdgzxLp.js} +1 -1
  307. package/dist/{systemd-DyrVLTI0.js → systemd-CaCR5CyM.js} +9 -9
  308. package/dist/{systemd-hints-BoKKzRI_.js → systemd-hints-DHu-HVFx.js} +6 -6
  309. package/dist/{systemd-linger-DrhGd61G.js → systemd-linger-B7XlUHk_.js} +1 -1
  310. package/dist/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
  311. package/dist/{tables-CZSD889r.js → tables-g9xkflht.js} +1 -1
  312. package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
  313. package/dist/{target-errors-BYuWhuLU.js → target-errors-bLIVFsbF.js} +4 -4
  314. package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
  315. package/dist/{tool-images-DZHrc4pq.js → tool-images-CHqepyF_.js} +1 -1
  316. package/dist/{tool-images-Duuqr4bN.js → tool-images-CcGZpzmq.js} +2 -2
  317. package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
  318. package/dist/{tui-B2bAseIB.js → tui-Bne3YNiw.js} +6 -6
  319. package/dist/{tui-cli-cewAjqAk.js → tui-cli-D0Z-rcUe.js} +30 -30
  320. package/dist/{update-la2AdLf3.js → update-D79ppbMQ.js} +3 -3
  321. package/dist/{update-cli-D7gDHoEE.js → update-cli-8Tk6PCmD.js} +99 -99
  322. package/dist/{update-cli-Cxp_mYOH.js → update-cli-Bobm67f-.js} +9 -9
  323. package/dist/{update-runner-DRglQgXe.js → update-runner-B4xzPa4-.js} +15 -15
  324. package/dist/{update-runner-tu2Aiphu.js → update-runner-C4NjVy9-.js} +1 -1
  325. package/dist/{upgrade-command-28wRHZZ2.js → upgrade-command-909a7QUc.js} +3 -3
  326. package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
  327. package/dist/{web-aRaB-CvF.js → web-9J12F46d.js} +3 -3
  328. package/dist/{web-BxegDO-S.js → web-DPSpgc_K.js} +3 -3
  329. package/dist/web-Dqy4kqC9.js +123 -0
  330. package/dist/{web-BuIXrrsp.js → web-NzOJcvWO.js} +66 -66
  331. package/dist/{webhooks-cli-BnmVPYkU.js → webhooks-cli-2N03q0iY.js} +6 -6
  332. package/dist/{whatsapp-actions-D2mBFzmK.js → whatsapp-actions-Cms8wQM1.js} +18 -18
  333. package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
  334. package/dist/{with-timeout-BodPmGCY.js → with-timeout-DEdycYxq.js} +3 -3
  335. package/dist/{workspace-CDw87aZG.js → workspace-D3pARwoB.js} +1 -1
  336. package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
  337. package/dist/{workspace-dirs-D3bousoX.js → workspace-dirs-SsExQ3Bz.js} +1 -1
  338. package/dist/{wsl-CgXDjE09.js → wsl-BJW8nTyL.js} +2 -2
  339. package/extensions/acpx/package.json +1 -1
  340. package/extensions/bluebubbles/package.json +1 -1
  341. package/extensions/copilot-proxy/package.json +1 -1
  342. package/extensions/diagnostics-otel/package.json +1 -1
  343. package/extensions/discord/package.json +1 -1
  344. package/extensions/feishu/package.json +1 -1
  345. package/extensions/google-gemini-cli-auth/package.json +1 -1
  346. package/extensions/googlechat/package.json +1 -1
  347. package/extensions/hand/package.json +1 -1
  348. package/extensions/imessage/package.json +1 -1
  349. package/extensions/irc/package.json +1 -1
  350. package/extensions/line/package.json +1 -1
  351. package/extensions/llm-task/package.json +1 -1
  352. package/extensions/matrix/CHANGELOG.md +6 -0
  353. package/extensions/matrix/package.json +1 -1
  354. package/extensions/mattermost/package.json +1 -1
  355. package/extensions/memory-core/package.json +1 -1
  356. package/extensions/memory-lancedb/package.json +1 -1
  357. package/extensions/minimax-portal-auth/package.json +1 -1
  358. package/extensions/msteams/CHANGELOG.md +6 -0
  359. package/extensions/msteams/package.json +1 -1
  360. package/extensions/nextcloud-talk/package.json +1 -1
  361. package/extensions/nostr/CHANGELOG.md +6 -0
  362. package/extensions/nostr/package.json +1 -1
  363. package/extensions/open-prose/package.json +1 -1
  364. package/extensions/signal/package.json +1 -1
  365. package/extensions/slack/package.json +1 -1
  366. package/extensions/synology-chat/package.json +1 -1
  367. package/extensions/telegram/package.json +1 -1
  368. package/extensions/tlon/package.json +1 -1
  369. package/extensions/twitch/CHANGELOG.md +6 -0
  370. package/extensions/twitch/package.json +1 -1
  371. package/extensions/voice-call/CHANGELOG.md +6 -0
  372. package/extensions/voice-call/package.json +1 -1
  373. package/extensions/whatsapp/package.json +1 -1
  374. package/extensions/zalo/CHANGELOG.md +6 -0
  375. package/extensions/zalo/package.json +1 -1
  376. package/extensions/zalouser/CHANGELOG.md +6 -0
  377. package/extensions/zalouser/package.json +1 -1
  378. package/package.json +1 -1
  379. package/dist/anton-D9tZAGaj.js +0 -777
  380. package/dist/emergency-stop-DyQna_P0.js +0 -113
  381. package/dist/register.configure-CxwdWRSG.js +0 -168
  382. package/dist/web-DESq0zCM.js +0 -123
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Docs: https://docs.idlehands.ai
4
4
 
5
+ ## 4.2.0
6
+
7
+ ### Changes
8
+
9
+ - Version bump to 4.2.0 across core and all plugins.
10
+
5
11
  ## 4.0.19
6
12
 
7
13
  ### Fixes
@@ -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-D-hQsUw-.js";
3
+ import { o as createAccountListHelpers } from "./accounts-DLTODa_Z.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-BQC_GRUB.js";
2
+ import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
3
3
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
4
4
 
5
5
  //#region src/signal/accounts.ts
@@ -1,5 +1,5 @@
1
1
  import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
2
- import { r as createAccountListHelpers } from "./accounts-BQC_GRUB.js";
2
+ import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
3
3
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
4
4
 
5
5
  //#region src/imessage/accounts.ts
@@ -2,7 +2,7 @@ import { m as resolveOAuthDir } from "./paths-Cn44w-EB.js";
2
2
  import { y as resolveUserPath } from "./utils-CXzXXV2o.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-CMyrmmSF.js";
5
+ import { r as hasWebCredsSync } from "./auth-store-DDzIMy8_.js";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
 
@@ -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-D-hQsUw-.js";
3
+ import { o as createAccountListHelpers } from "./accounts-DLTODa_Z.js";
4
4
 
5
5
  //#region src/signal/accounts.ts
6
6
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,10 +1,10 @@
1
- import { l as resolveOAuthDir } from "./paths-DQpv9a3Q.js";
2
- import { h as resolveUserPath } from "./utils-D9wGoiU9.js";
1
+ import { l as resolveOAuthDir } from "./paths-BYNVLNi_.js";
2
+ import { h as resolveUserPath } from "./utils-CTFLl_ji.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-Bb4aajHu.js";
5
+ import { r as hasWebCredsSync } from "./auth-store-DXT-l7fO.js";
6
6
  import path from "node:path";
7
- import fs from "node:fs";
7
+ import syncFs 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 = fs.readdirSync(whatsappDir, { withFileTypes: true });
47
+ const entries = syncFs.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 fs.existsSync(path.join(authDir, "creds.json"));
69
+ return syncFs.existsSync(path.join(authDir, "creds.json"));
70
70
  } catch {
71
71
  return false;
72
72
  }
@@ -1,26 +1,26 @@
1
1
  import "./paths-Cn44w-EB.js";
2
2
  import { B as theme, S as shortenHomePath, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
- import "./agent-scope-Bn39ugK4.js";
3
+ import "./agent-scope-RA0zXRpu.js";
4
4
  import "./subsystem-CGZX2PBV.js";
5
5
  import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
6
- import "./idlehands-root-DFL2GrNW.js";
6
+ import "./idlehands-root-B8cUs-5M.js";
7
7
  import "./exec-CKHMT0tZ.js";
8
- import { It as loadConfig } from "./model-selection-CSn9tUuH.js";
8
+ import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
9
9
  import "./github-copilot-token-D7lpquOO.js";
10
10
  import "./boolean-BsqeuxE6.js";
11
11
  import "./env-Bx-F45X5.js";
12
12
  import "./host-env-security-DkAVVuaw.js";
13
13
  import { r as VERSION } from "./env-vars-sTMVGyld.js";
14
- import "./manifest-registry-RfRn8HJx.js";
14
+ import "./manifest-registry-Bak1x76G.js";
15
15
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DVauVtrg.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-Dl5EAvfO.js";
22
- import { t as buildGatewayConnectionDetails } from "./call-Du-oBD99.js";
23
- import "./pairing-token-3hoCgQqp.js";
21
+ import { t as GatewayClient } from "./client-DtnD-ee9.js";
22
+ import { t as buildGatewayConnectionDetails } from "./call-BpWhjuOg.js";
23
+ import "./pairing-token-lKXTMQ_M.js";
24
24
  import { t as formatDocsLink } from "./links-15764jZB.js";
25
25
  import { t as isMainModule } from "./is-main-DxnLDMqD.js";
26
26
  import { t as ensureIdleHandsCliOnPath } from "./path-env-CKSLQUS1.js";
@@ -1,8 +1,8 @@
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";
1
+ import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
3
+ import { h as resolveUserPath } from "./utils-CTFLl_ji.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-tAtkoD_r.js";
5
+ import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-DBFSzT6O.js";
6
6
  import path from "node:path";
7
7
 
8
8
  //#region src/config/model-input.ts
@@ -2,13 +2,13 @@ import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-Cn44w
2
2
  import { h as pathExists, y as resolveUserPath } from "./utils-CXzXXV2o.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.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
- import { h as normalizeSkillFilter, i as openBoundaryFile, t as resolveIdleHandsPackageRoot } from "./idlehands-root-DFL2GrNW.js";
5
+ import { h as normalizeSkillFilter, i as openBoundaryFile, t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
6
6
  import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import fs from "node:fs";
9
9
  import os from "node:os";
10
10
  import path from "node:path";
11
- import fsPromises from "node:fs/promises";
11
+ import fs$1 from "node:fs/promises";
12
12
 
13
13
  //#region src/config/model-input.ts
14
14
  function resolveAgentModelPrimaryValue(model) {
@@ -150,11 +150,11 @@ async function loadTemplate(name) {
150
150
  const templateDir = await resolveWorkspaceTemplateDir();
151
151
  const templatePath = path.join(templateDir, name);
152
152
  try {
153
- return stripFrontMatter(await fsPromises.readFile(templatePath, "utf-8"));
153
+ return stripFrontMatter(await fs$1.readFile(templatePath, "utf-8"));
154
154
  } catch {
155
155
  const devTemplatePath = name.endsWith(".md") ? path.join(templateDir, name.replace(/\.md$/, ".dev.md")) : "";
156
156
  if (devTemplatePath) try {
157
- return stripFrontMatter(await fsPromises.readFile(devTemplatePath, "utf-8"));
157
+ return stripFrontMatter(await fs$1.readFile(devTemplatePath, "utf-8"));
158
158
  } catch {}
159
159
  throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
160
160
  }
@@ -169,7 +169,7 @@ async function loadTemplate(name) {
169
169
  }
170
170
  async function writeFileIfMissing(filePath, content) {
171
171
  try {
172
- await fsPromises.writeFile(filePath, content, {
172
+ await fs$1.writeFile(filePath, content, {
173
173
  encoding: "utf-8",
174
174
  flag: "wx"
175
175
  });
@@ -181,7 +181,7 @@ async function writeFileIfMissing(filePath, content) {
181
181
  }
182
182
  async function fileExists(filePath) {
183
183
  try {
184
- await fsPromises.access(filePath);
184
+ await fs$1.access(filePath);
185
185
  return true;
186
186
  } catch {
187
187
  return false;
@@ -205,7 +205,7 @@ function parseWorkspaceOnboardingState(raw) {
205
205
  }
206
206
  async function readWorkspaceOnboardingState(statePath) {
207
207
  try {
208
- return parseWorkspaceOnboardingState(await fsPromises.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
208
+ return parseWorkspaceOnboardingState(await fs$1.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
209
209
  } catch (err) {
210
210
  if (err.code !== "ENOENT") throw err;
211
211
  return { version: WORKSPACE_STATE_VERSION };
@@ -219,20 +219,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
219
219
  return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
220
220
  }
221
221
  async function writeWorkspaceOnboardingState(statePath, state) {
222
- await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
222
+ await fs$1.mkdir(path.dirname(statePath), { recursive: true });
223
223
  const payload = `${JSON.stringify(state, null, 2)}\n`;
224
224
  const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
225
225
  try {
226
- await fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
227
- await fsPromises.rename(tmpPath, statePath);
226
+ await fs$1.writeFile(tmpPath, payload, { encoding: "utf-8" });
227
+ await fs$1.rename(tmpPath, statePath);
228
228
  } catch (err) {
229
- await fsPromises.unlink(tmpPath).catch(() => {});
229
+ await fs$1.unlink(tmpPath).catch(() => {});
230
230
  throw err;
231
231
  }
232
232
  }
233
233
  async function hasGitRepo(dir) {
234
234
  try {
235
- await fsPromises.stat(path.join(dir, ".git"));
235
+ await fs$1.stat(path.join(dir, ".git"));
236
236
  return true;
237
237
  } catch {
238
238
  return false;
@@ -262,7 +262,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
262
262
  }
263
263
  async function ensureAgentWorkspace(params) {
264
264
  const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
265
- await fsPromises.mkdir(dir, { recursive: true });
265
+ await fs$1.mkdir(dir, { recursive: true });
266
266
  if (!params?.ensureBootstrapFiles) return { dir };
267
267
  const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
268
268
  const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
@@ -289,7 +289,7 @@ async function ensureAgentWorkspace(params) {
289
289
  const paths = [...templatePaths, ...userContentPaths];
290
290
  return (await Promise.all(paths.map(async (p) => {
291
291
  try {
292
- await fsPromises.access(p);
292
+ await fs$1.access(p);
293
293
  return true;
294
294
  } catch {
295
295
  return false;
@@ -322,7 +322,7 @@ async function ensureAgentWorkspace(params) {
322
322
  if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
323
323
  if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
324
324
  if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
325
- const [identityContent, userContent] = await Promise.all([fsPromises.readFile(identityPath, "utf-8"), fsPromises.readFile(userPath, "utf-8")]);
325
+ const [identityContent, userContent] = await Promise.all([fs$1.readFile(identityPath, "utf-8"), fs$1.readFile(userPath, "utf-8")]);
326
326
  const hasUserContent = await (async () => {
327
327
  const indicators = [
328
328
  path.join(dir, "memory"),
@@ -330,7 +330,7 @@ async function ensureAgentWorkspace(params) {
330
330
  path.join(dir, ".git")
331
331
  ];
332
332
  for (const indicator of indicators) try {
333
- await fsPromises.access(indicator);
333
+ await fs$1.access(indicator);
334
334
  return true;
335
335
  } catch {}
336
336
  return false;
@@ -361,7 +361,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
361
361
  for (const name of candidates) {
362
362
  const filePath = path.join(resolvedDir, name);
363
363
  try {
364
- await fsPromises.access(filePath);
364
+ await fs$1.access(filePath);
365
365
  entries.push({
366
366
  name,
367
367
  filePath
@@ -374,7 +374,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
374
374
  for (const entry of entries) {
375
375
  let key = entry.filePath;
376
376
  try {
377
- key = await fsPromises.realpath(entry.filePath);
377
+ key = await fs$1.realpath(entry.filePath);
378
378
  } catch {}
379
379
  if (seen.has(key)) continue;
380
380
  seen.add(key);
@@ -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-DMx6rHVL.js";
14
+ import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-o6Xj8V4C.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-DR1eh_L_.js";
67
+ import "./deps-Ch6bZ8PI.js";
68
68
 
69
69
  //#region src/commands/agent-via-gateway.ts
70
70
  const NO_GATEWAY_TIMEOUT_MS = 2147e6;
@@ -1,73 +1,73 @@
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";
1
+ import { n as listAgentIds } from "./agent-scope-DyP_tr7s.js";
2
+ import "./paths-BYNVLNi_.js";
3
+ import "./subsystem-tzu-rIAJ.js";
4
+ import "./utils-CTFLl_ji.js";
5
5
  import "./runtime-8mi3mpYB.js";
6
6
  import { s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
7
- import "./workspace-tAtkoD_r.js";
8
- import { R as loadConfig } from "./model-selection-C5hI1dum.js";
9
- import "./github-copilot-token-BjmEQcmi.js";
7
+ import "./workspace-DBFSzT6O.js";
8
+ import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
9
+ import "./github-copilot-token-Dgt6cnsM.js";
10
10
  import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
11
11
  import "./boolean-CE7i9tBR.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-mKozULng.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";
12
+ import "./env-B5G1qwGc.js";
13
+ import "./dock-BgOmHcbh.js";
14
+ import "./tokens-BRLyURxW.js";
15
+ import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-C6RDRgJM.js";
16
+ import "./plugins-CRB60mCJ.js";
17
+ import "./accounts-Dk8mJIrQ.js";
18
+ import "./bindings-D3b5Fmc9.js";
19
+ import "./auth-store-DXT-l7fO.js";
20
+ import "./send-BeIZJuy4.js";
21
+ import "./send-DmLC7aEF.js";
22
+ import "./deliver-BUiQ-9fE.js";
23
+ import "./diagnostic-4owMk4vH.js";
24
24
  import "./diagnostic-session-state-BGF2r-kt.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";
25
+ import "./accounts-BDVs8LTu.js";
26
+ import "./send-Dfa3sn6r.js";
27
+ import "./image-ops-D1KtygWz.js";
28
+ import "./pi-model-discovery-Bb__OY-j.js";
29
+ import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-C8QtrwEU.js";
30
+ import "./pi-embedded-helpers-CghCLoPo.js";
31
+ import "./chrome-BcJB6PcM.js";
32
32
  import "./ssrf-CZeHDwVZ.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";
33
+ import "./frontmatter-BOudmHMS.js";
34
+ import "./skills-CnAPWfca.js";
35
+ import "./path-alias-guards-Cu1nXNMM.js";
36
+ import "./redact-Bvpf-ATQ.js";
37
+ import "./errors-C_0nm4TJ.js";
38
+ import "./fs-safe-CYUaAFO9.js";
39
+ import "./store-CvMgrKWx.js";
40
+ import "./sessions-3ioSeOA1.js";
41
+ import "./accounts-CIvVRRHb.js";
42
+ import "./paths-D_qUel1T.js";
43
+ import "./tool-images-CcGZpzmq.js";
44
44
  import "./thinking-z4_linel.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";
45
+ import "./image-D8b_rlQC.js";
46
+ import "./reply-prefix-BUgeSN2R.js";
47
+ import "./manager-BE_76jWB.js";
48
+ import "./gemini-auth-CIyaa44H.js";
49
+ import "./fetch-guard-iuQsIjqN.js";
50
+ import "./query-expansion-DEq020GG.js";
51
+ import "./retry-BeB9WenR.js";
52
+ import "./target-errors-BPfQrPim.js";
53
+ import "./chunk-CMpX7Jaz.js";
54
+ import "./markdown-tables-CzsockiZ.js";
55
+ import "./local-roots-KN4Hp1yZ.js";
56
+ import "./ir-B7IBoKLy.js";
57
57
  import "./render-MTSxc7LK.js";
58
- import "./commands-registry-_TBHHpvt.js";
59
- import "./skill-commands-BHTBXXVn.js";
60
- import "./runner-BkCU-kqs.js";
58
+ import "./commands-registry-j4vAzcF2.js";
59
+ import "./skill-commands-Ck3flWX7.js";
60
+ import "./runner-PgRFPYUj.js";
61
61
  import "./fetch-CsfR_943.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";
62
+ import "./channel-activity-D_TMOGQ0.js";
63
+ import "./tables-5k-zOZ-s.js";
64
+ import "./send-C1hvd3bt.js";
65
+ import "./outbound-attachment-3I6GzwDe.js";
66
+ import "./send-D4bMycQu.js";
67
+ import "./resolve-route-DuttYY7A.js";
68
68
  import "./proxy-CRB9oCP5.js";
69
- import "./replies-2C16fnBP.js";
70
- import "./deps-CC5E5LXB.js";
69
+ import "./replies-6_GxvQYe.js";
70
+ import "./deps-B4J8H6nI.js";
71
71
 
72
72
  //#region src/commands/agent-via-gateway.ts
73
73
  const NO_GATEWAY_TIMEOUT_MS = 2147e6;
@@ -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-BH5O1rxK.js";
7
+ import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-Dclk-Ews.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,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-CdFdL9nL.js";
3
- import { r as listAgentIds } from "./agent-scope-Bn39ugK4.js";
2
+ import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-BDr-UY9O.js";
3
+ import { r as listAgentIds } from "./agent-scope-RA0zXRpu.js";
4
4
  import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
5
- import { It as loadConfig } from "./model-selection-CSn9tUuH.js";
5
+ import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
6
6
  import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
7
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-Du-oBD99.js";
8
+ import { a as randomIdempotencyKey, n as callGateway } from "./call-BpWhjuOg.js";
9
9
  import { n as withProgress } from "./progress-BQLz1r3L.js";
10
10
 
11
11
  //#region src/commands/agent-via-gateway.ts
@@ -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-BH5O1rxK.js";
9
+ import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-Dclk-Ews.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-D2EbQiOx.js";
17
- import { r as setupChannels } from "./onboard-channels-JPltbNGL.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";
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-DVoPuwEs.js";
20
+ import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BNofPyTK.js";
21
21
  import path from "node:path";
22
22
  import fs from "node:fs/promises";
23
23
 
@@ -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-BH5O1rxK.js";
3
+ import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-Dclk-Ews.js";
4
4
 
5
5
  //#region src/commands/agents.config.ts
6
6
  function findAgentEntryIndex(list, agentId) {
@@ -1,5 +1,5 @@
1
- import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-CdFdL9nL.js";
2
- import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
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";
3
3
  import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
4
4
 
5
5
  //#region src/commands/agents.config.ts
@@ -219,7 +219,7 @@ async function loadAntonConfig() {
219
219
  }
220
220
  }
221
221
  async function runAgentTask(args) {
222
- const { agentCliCommand } = await import("./agent-via-gateway-igDg7ko6.js");
222
+ const { agentCliCommand } = await import("./agent-via-gateway-C42kkKZI.js");
223
223
  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
224
  const result = await agentCliCommand({
225
225
  message: args.message,
@@ -339,6 +339,11 @@ async function tryPersistPlanFallback(params) {
339
339
  await fs.writeFile(params.planFile, `${planText}\n`, "utf8");
340
340
  return await isPlanFileValid(params.planFile);
341
341
  }
342
+ async function writeDeterministicPlanFallback(params) {
343
+ const plan = `# Task\n\n${params.taskText}\n\n## What needs to change\n- Implement the task exactly as described in the checklist item.\n- Keep changes scoped to files directly related to this task.\n\n## Implementation approach\n1. Inspect existing CI/workflow/config files relevant to this task.\n2. Apply minimal edits needed to satisfy the task requirements.\n3. Keep behavior/style consistent with adjacent repository conventions.\n\n## Files to modify\n- Determine from ${params.taskFile} and related source/config files.\n\n## Verification\n- Run targeted tests for touched areas.\n- Run repository checks required by this project (for example: pnpm test / pnpm check) as appropriate.\n- Confirm git diff contains only task-relevant changes.\n`;
344
+ await fs.writeFile(params.planFile, plan, "utf8");
345
+ return await isPlanFileValid(params.planFile);
346
+ }
342
347
  async function runDiscoveryPhase(args) {
343
348
  const planFile = makePlanFilePath(args.planDir, args.taskNum);
344
349
  await ensurePlanDir(args.planDir);
@@ -396,22 +401,28 @@ async function runDiscoveryPhase(args) {
396
401
  planFile: declaredPlanFile
397
402
  };
398
403
  }
399
- if ((firstParsed?.status ?? "").toLowerCase() === "incomplete" && await tryPersistPlanFallback({
400
- planFile: declaredPlanFile,
401
- parsed: firstParsed,
402
- rawText: firstPass.text
403
- })) {
404
- await args.notify({
405
- phase: "discovery_complete",
406
- index: args.taskNum,
407
- total: args.total,
408
- task: args.task.text,
409
- planFile: declaredPlanFile
410
- });
411
- return {
412
- status: "plan_ready",
413
- planFile: declaredPlanFile
414
- };
404
+ if ((firstParsed?.status ?? "").toLowerCase() === "incomplete") {
405
+ if (await tryPersistPlanFallback({
406
+ planFile: declaredPlanFile,
407
+ parsed: firstParsed,
408
+ rawText: firstPass.text
409
+ }) || await writeDeterministicPlanFallback({
410
+ planFile: declaredPlanFile,
411
+ taskText: args.task.text,
412
+ taskFile: args.taskFile
413
+ })) {
414
+ await args.notify({
415
+ phase: "discovery_complete",
416
+ index: args.taskNum,
417
+ total: args.total,
418
+ task: args.task.text,
419
+ planFile: declaredPlanFile
420
+ });
421
+ return {
422
+ status: "plan_ready",
423
+ planFile: declaredPlanFile
424
+ };
425
+ }
415
426
  }
416
427
  const repairSessionId = `anton-discovery-repair-${Date.now()}-${args.taskNum}-${attempt}`;
417
428
  await args.notify({
@@ -450,6 +461,10 @@ async function runDiscoveryPhase(args) {
450
461
  planFile: repairPlanFile,
451
462
  parsed: repairParsed,
452
463
  rawText: repairPass.text
464
+ }) || (repairParsed?.status ?? "").toLowerCase() === "incomplete" && await writeDeterministicPlanFallback({
465
+ planFile: repairPlanFile,
466
+ taskText: args.task.text,
467
+ taskFile: args.taskFile
453
468
  })) {
454
469
  await args.notify({
455
470
  phase: "discovery_complete",