@visorcraft/idlehands 4.1.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +12 -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 +12 -0
  359. package/extensions/msteams/package.json +1 -1
  360. package/extensions/nextcloud-talk/package.json +1 -1
  361. package/extensions/nostr/CHANGELOG.md +12 -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 +12 -0
  370. package/extensions/twitch/package.json +1 -1
  371. package/extensions/voice-call/CHANGELOG.md +12 -0
  372. package/extensions/voice-call/package.json +1 -1
  373. package/extensions/whatsapp/package.json +1 -1
  374. package/extensions/zalo/CHANGELOG.md +12 -0
  375. package/extensions/zalo/package.json +1 -1
  376. package/extensions/zalouser/CHANGELOG.md +12 -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
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { _ as expandHomePrefix, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
3
3
  import { D as isPlainObject$2, d as isRecord$3, g as resolveConfigDir, y as resolveUserPath } from "./utils-CXzXXV2o.js";
4
- import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
4
+ import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
5
5
  import { d as CHANNEL_IDS, t as createSubsystemLogger, y as normalizeChatChannelId } from "./subsystem-CGZX2PBV.js";
6
6
  import { _ as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-Cuihcz_O.js";
7
- import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./idlehands-root-DFL2GrNW.js";
7
+ import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./idlehands-root-B8cUs-5M.js";
8
8
  import { n as runExec } from "./exec-CKHMT0tZ.js";
9
9
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D7lpquOO.js";
10
10
  import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
@@ -12,15 +12,15 @@ import { t as isTruthyEnvValue } from "./env-Bx-F45X5.js";
12
12
  import { i as sanitizeHostExecEnv } from "./host-env-security-DkAVVuaw.js";
13
13
  import { r as VERSION, t as applyConfigEnvVars } from "./env-vars-sTMVGyld.js";
14
14
  import { n as isPathInside } from "./scan-paths-DE00o1Lk.js";
15
- import { d as resolveEffectiveEnableState, f as resolveMemorySlotDecision, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-RfRn8HJx.js";
16
- import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-CzF5XYGd.js";
15
+ import { d as resolveEffectiveEnableState, f as resolveMemorySlotDecision, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-Bak1x76G.js";
16
+ import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-Y96MzKuM.js";
17
17
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-CLARJMM7.js";
18
18
  import fs from "node:fs";
19
19
  import os from "node:os";
20
20
  import path from "node:path";
21
21
  import JSON5 from "json5";
22
22
  import { isDeepStrictEqual } from "node:util";
23
- import fsPromises from "node:fs/promises";
23
+ import fs$1 from "node:fs/promises";
24
24
  import { execFileSync, execSync, spawn } from "node:child_process";
25
25
  import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
26
26
  import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
@@ -279,7 +279,7 @@ function computeDelayMs(retries, attempt) {
279
279
  }
280
280
  async function readLockPayload(lockPath) {
281
281
  try {
282
- const raw = await fsPromises.readFile(lockPath, "utf8");
282
+ const raw = await fs$1.readFile(lockPath, "utf8");
283
283
  const parsed = JSON.parse(raw);
284
284
  if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
285
285
  return {
@@ -293,9 +293,9 @@ async function readLockPayload(lockPath) {
293
293
  async function resolveNormalizedFilePath(filePath) {
294
294
  const resolved = path.resolve(filePath);
295
295
  const dir = path.dirname(resolved);
296
- await fsPromises.mkdir(dir, { recursive: true });
296
+ await fs$1.mkdir(dir, { recursive: true });
297
297
  try {
298
- const realDir = await fsPromises.realpath(dir);
298
+ const realDir = await fs$1.realpath(dir);
299
299
  return path.join(realDir, path.basename(resolved));
300
300
  } catch {
301
301
  return resolved;
@@ -309,7 +309,7 @@ async function isStaleLock(lockPath, staleMs) {
309
309
  if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
310
310
  }
311
311
  try {
312
- const stat = await fsPromises.stat(lockPath);
312
+ const stat = await fs$1.stat(lockPath);
313
313
  return Date.now() - stat.mtimeMs > staleMs;
314
314
  } catch {
315
315
  return true;
@@ -322,7 +322,7 @@ async function releaseHeldLock(normalizedFile) {
322
322
  if (current.count > 0) return;
323
323
  HELD_LOCKS.delete(normalizedFile);
324
324
  await current.handle.close().catch(() => void 0);
325
- await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
325
+ await fs$1.rm(current.lockPath, { force: true }).catch(() => void 0);
326
326
  }
327
327
  async function acquireFileLock(filePath, options) {
328
328
  const normalizedFile = await resolveNormalizedFilePath(filePath);
@@ -337,7 +337,7 @@ async function acquireFileLock(filePath, options) {
337
337
  }
338
338
  const attempts = Math.max(1, options.retries.retries + 1);
339
339
  for (let attempt = 0; attempt < attempts; attempt += 1) try {
340
- const handle = await fsPromises.open(lockPath, "wx");
340
+ const handle = await fs$1.open(lockPath, "wx");
341
341
  await handle.writeFile(JSON.stringify({
342
342
  pid: process.pid,
343
343
  createdAt: (/* @__PURE__ */ new Date()).toISOString()
@@ -354,7 +354,7 @@ async function acquireFileLock(filePath, options) {
354
354
  } catch (err) {
355
355
  if (err.code !== "EEXIST") throw err;
356
356
  if (await isStaleLock(lockPath, options.stale)) {
357
- await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
357
+ await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
358
358
  continue;
359
359
  }
360
360
  if (attempt >= attempts - 1) break;
@@ -10682,7 +10682,7 @@ function createIcaclsResetCommand(targetPath, opts) {
10682
10682
  //#region src/security/audit-fs.ts
10683
10683
  async function safeStat(targetPath) {
10684
10684
  try {
10685
- const lst = await fsPromises.lstat(targetPath);
10685
+ const lst = await fs$1.lstat(targetPath);
10686
10686
  return {
10687
10687
  ok: true,
10688
10688
  isSymlink: lst.isSymbolicLink(),
@@ -10721,7 +10721,7 @@ async function inspectPathPermissions(targetPath, opts) {
10721
10721
  let effectiveMode = st.mode;
10722
10722
  let effectiveIsDir = st.isDir;
10723
10723
  if (st.isSymlink) try {
10724
- const target = await fsPromises.stat(targetPath);
10724
+ const target = await fs$1.stat(targetPath);
10725
10725
  effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
10726
10726
  effectiveIsDir = target.isDirectory();
10727
10727
  } catch {}
@@ -10920,7 +10920,7 @@ async function assertSecurePath(params) {
10920
10920
  if (stat.isSymlink) {
10921
10921
  if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
10922
10922
  try {
10923
- effectivePath = await fsPromises.realpath(effectivePath);
10923
+ effectivePath = await fs$1.realpath(effectivePath);
10924
10924
  } catch {
10925
10925
  throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
10926
10926
  }
@@ -10968,7 +10968,7 @@ async function readFileProviderPayload(params) {
10968
10968
  }, timeoutMs);
10969
10969
  });
10970
10970
  try {
10971
- const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
10971
+ const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
10972
10972
  if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
10973
10973
  const text = payload.toString("utf8");
10974
10974
  if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
@@ -1,21 +1,21 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-Bxq1eWbA.js";
3
- import { a as resolveConfigPathCandidate, c as resolveIsNixMode, d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, n as STATE_DIR, o as resolveDefaultConfigCandidates, r as resolveCanonicalConfigPath, s as resolveGatewayPort, t as DEFAULT_GATEWAY_PORT, u as resolveOAuthPath } from "./paths-DQpv9a3Q.js";
4
- import { c as normalizeChatChannelId, n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
5
- import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-D9wGoiU9.js";
2
+ import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
3
+ import { a as resolveConfigPathCandidate, c as resolveIsNixMode, d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, n as STATE_DIR, o as resolveDefaultConfigCandidates, r as resolveCanonicalConfigPath, s as resolveGatewayPort, t as DEFAULT_GATEWAY_PORT, u as resolveOAuthPath } from "./paths-BYNVLNi_.js";
4
+ import { c as normalizeChatChannelId, n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
5
+ import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-CTFLl_ji.js";
6
6
  import { h as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-CuLPSMu_.js";
7
- import { C as canUseBoundaryFileOpen, T as openBoundaryFileSync, _ as runExec, j as isPathInside$2 } from "./workspace-tAtkoD_r.js";
8
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BjmEQcmi.js";
7
+ import { C as canUseBoundaryFileOpen, T as openBoundaryFileSync, _ as runExec, j as isPathInside$2 } from "./workspace-DBFSzT6O.js";
8
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Dgt6cnsM.js";
9
9
  import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
10
- import { t as isTruthyEnvValue } from "./env-q-PhWbb_.js";
10
+ import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
11
11
  import { n as MANIFEST_KEY } from "./legacy-names-B4ZvHEmO.js";
12
- import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-ejUetwTC.js";
12
+ import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-BgOmHcbh.js";
13
13
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-CEV6qf-x.js";
14
14
  import { createRequire } from "node:module";
15
15
  import fs from "node:fs/promises";
16
16
  import os from "node:os";
17
17
  import path from "node:path";
18
- import fs$1 from "node:fs";
18
+ import syncFs from "node:fs";
19
19
  import JSON5 from "json5";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { execFileSync, execSync, spawn } from "node:child_process";
@@ -238,7 +238,7 @@ function resolveAuthProfileDisplayLabel(params) {
238
238
  function isZombieProcess(pid) {
239
239
  if (process.platform !== "linux") return false;
240
240
  try {
241
- return fs$1.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
241
+ return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
242
242
  } catch {
243
243
  return false;
244
244
  }
@@ -512,7 +512,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
512
512
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
513
513
  }
514
514
  function ensureAuthStoreFile(pathname) {
515
- if (fs$1.existsSync(pathname)) return;
515
+ if (syncFs.existsSync(pathname)) return;
516
516
  saveJsonFile(pathname, {
517
517
  version: AUTH_STORE_VERSION,
518
518
  profiles: {}
@@ -774,7 +774,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
774
774
  if (shouldWrite && legacy !== null) {
775
775
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
776
776
  try {
777
- fs$1.unlinkSync(legacyPath);
777
+ syncFs.unlinkSync(legacyPath);
778
778
  } catch (err) {
779
779
  if (err?.code !== "ENOENT") log$6.warn("failed to delete legacy auth.json after migration", {
780
780
  err,
@@ -962,7 +962,7 @@ function loadDotEnv(opts) {
962
962
  const quiet = opts?.quiet ?? true;
963
963
  dotenv.config({ quiet });
964
964
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
965
- if (!fs$1.existsSync(globalEnvPath)) return;
965
+ if (!syncFs.existsSync(globalEnvPath)) return;
966
966
  dotenv.config({
967
967
  quiet,
968
968
  path: globalEnvPath,
@@ -1085,7 +1085,7 @@ function resolveTimeoutMs(timeoutMs) {
1085
1085
  function readEtcShells() {
1086
1086
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1087
1087
  try {
1088
- const entries = fs$1.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1088
+ const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1089
1089
  cachedEtcShells = new Set(entries);
1090
1090
  } catch {
1091
1091
  cachedEtcShells = null;
@@ -1488,7 +1488,7 @@ function resolveActiveTalkProviderConfig(talk) {
1488
1488
  };
1489
1489
  }
1490
1490
  function readTalkApiKeyFromProfile(deps = {}) {
1491
- const fsImpl = deps.fs ?? fs$1;
1491
+ const fsImpl = deps.fs ?? syncFs;
1492
1492
  const osImpl = deps.os ?? os;
1493
1493
  const pathImpl = deps.path ?? path;
1494
1494
  const home = osImpl.homedir();
@@ -2220,7 +2220,7 @@ var IncludeProcessor = class IncludeProcessor {
2220
2220
  const normalized = path.normalize(resolved);
2221
2221
  if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
2222
2222
  try {
2223
- const real = fs$1.realpathSync(normalized);
2223
+ const real = syncFs.realpathSync(normalized);
2224
2224
  if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
2225
2225
  } catch (err) {
2226
2226
  if (err instanceof ConfigIncludeError) throw err;
@@ -2262,13 +2262,13 @@ var IncludeProcessor = class IncludeProcessor {
2262
2262
  };
2263
2263
  function safeRealpath(target) {
2264
2264
  try {
2265
- return fs$1.realpathSync(target);
2265
+ return syncFs.realpathSync(target);
2266
2266
  } catch {
2267
2267
  return target;
2268
2268
  }
2269
2269
  }
2270
2270
  function readConfigIncludeFileWithGuards(params) {
2271
- const ioFs = params.ioFs ?? fs$1;
2271
+ const ioFs = params.ioFs ?? syncFs;
2272
2272
  const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
2273
2273
  if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
2274
2274
  const opened = openBoundaryFileSync({
@@ -2291,7 +2291,7 @@ function readConfigIncludeFileWithGuards(params) {
2291
2291
  }
2292
2292
  }
2293
2293
  const defaultResolver = {
2294
- readFile: (p) => fs$1.readFileSync(p, "utf-8"),
2294
+ readFile: (p) => syncFs.readFileSync(p, "utf-8"),
2295
2295
  readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
2296
2296
  includePath,
2297
2297
  resolvedPath,
@@ -4238,8 +4238,8 @@ const DEFAULT_SAFE_BINS = [
4238
4238
  ];
4239
4239
  function isExecutableFile(filePath) {
4240
4240
  try {
4241
- if (!fs$1.statSync(filePath).isFile()) return false;
4242
- if (process.platform !== "win32") fs$1.accessSync(filePath, fs$1.constants.X_OK);
4241
+ if (!syncFs.statSync(filePath).isFile()) return false;
4242
+ if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
4243
4243
  return true;
4244
4244
  } catch {
4245
4245
  return false;
@@ -4283,7 +4283,7 @@ function normalizeMatchTarget(value) {
4283
4283
  }
4284
4284
  function tryRealpath(value) {
4285
4285
  try {
4286
- return fs$1.realpathSync(value);
4286
+ return syncFs.realpathSync(value);
4287
4287
  } catch {
4288
4288
  return null;
4289
4289
  }
@@ -5164,7 +5164,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
5164
5164
  for (const dir of resolved) {
5165
5165
  let stat;
5166
5166
  try {
5167
- stat = fs$1.statSync(dir);
5167
+ stat = syncFs.statSync(dir);
5168
5168
  } catch {
5169
5169
  continue;
5170
5170
  }
@@ -5528,13 +5528,13 @@ function resolveBundledPluginsDir() {
5528
5528
  try {
5529
5529
  const execDir = path.dirname(process.execPath);
5530
5530
  const sibling = path.join(execDir, "extensions");
5531
- if (fs$1.existsSync(sibling)) return sibling;
5531
+ if (syncFs.existsSync(sibling)) return sibling;
5532
5532
  } catch {}
5533
5533
  try {
5534
5534
  let cursor = path.dirname(fileURLToPath(import.meta.url));
5535
5535
  for (let i = 0; i < 6; i += 1) {
5536
5536
  const candidate = path.join(cursor, "extensions");
5537
- if (fs$1.existsSync(candidate)) return candidate;
5537
+ if (syncFs.existsSync(candidate)) return candidate;
5538
5538
  const parent = path.dirname(cursor);
5539
5539
  if (parent === cursor) break;
5540
5540
  cursor = parent;
@@ -5553,7 +5553,7 @@ function normalizeStringList(value) {
5553
5553
  function resolvePluginManifestPath(rootDir) {
5554
5554
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
5555
5555
  const candidate = path.join(rootDir, filename);
5556
- if (fs$1.existsSync(candidate)) return candidate;
5556
+ if (syncFs.existsSync(candidate)) return candidate;
5557
5557
  }
5558
5558
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
5559
5559
  }
@@ -5578,7 +5578,7 @@ function loadPluginManifest(rootDir) {
5578
5578
  }
5579
5579
  let raw;
5580
5580
  try {
5581
- raw = JSON.parse(fs$1.readFileSync(opened.fd, "utf-8"));
5581
+ raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
5582
5582
  } catch (err) {
5583
5583
  return {
5584
5584
  ok: false,
@@ -5586,7 +5586,7 @@ function loadPluginManifest(rootDir) {
5586
5586
  manifestPath
5587
5587
  };
5588
5588
  } finally {
5589
- fs$1.closeSync(opened.fd);
5589
+ syncFs.closeSync(opened.fd);
5590
5590
  }
5591
5591
  if (!isRecord$3(raw)) return {
5592
5592
  ok: false,
@@ -5645,7 +5645,7 @@ function safeRealpathSync(targetPath, cache) {
5645
5645
  const cached = cache?.get(targetPath);
5646
5646
  if (cached) return cached;
5647
5647
  try {
5648
- const resolved = fs$1.realpathSync(targetPath);
5648
+ const resolved = syncFs.realpathSync(targetPath);
5649
5649
  cache?.set(targetPath, resolved);
5650
5650
  return resolved;
5651
5651
  } catch {
@@ -5654,7 +5654,7 @@ function safeRealpathSync(targetPath, cache) {
5654
5654
  }
5655
5655
  function safeStatSync(targetPath) {
5656
5656
  try {
5657
- return fs$1.statSync(targetPath);
5657
+ return syncFs.statSync(targetPath);
5658
5658
  } catch {
5659
5659
  return null;
5660
5660
  }
@@ -5782,12 +5782,12 @@ function readPackageManifest(dir) {
5782
5782
  });
5783
5783
  if (!opened.ok) return null;
5784
5784
  try {
5785
- const raw = fs$1.readFileSync(opened.fd, "utf-8");
5785
+ const raw = syncFs.readFileSync(opened.fd, "utf-8");
5786
5786
  return JSON.parse(raw);
5787
5787
  } catch {
5788
5788
  return null;
5789
5789
  } finally {
5790
- fs$1.closeSync(opened.fd);
5790
+ syncFs.closeSync(opened.fd);
5791
5791
  }
5792
5792
  }
5793
5793
  function resolvePackageExtensions(manifest) {
@@ -5844,14 +5844,14 @@ function resolvePackageEntrySource(params) {
5844
5844
  return null;
5845
5845
  }
5846
5846
  const safeSource = opened.path;
5847
- fs$1.closeSync(opened.fd);
5847
+ syncFs.closeSync(opened.fd);
5848
5848
  return safeSource;
5849
5849
  }
5850
5850
  function discoverInDirectory(params) {
5851
- if (!fs$1.existsSync(params.dir)) return;
5851
+ if (!syncFs.existsSync(params.dir)) return;
5852
5852
  let entries = [];
5853
5853
  try {
5854
- entries = fs$1.readdirSync(params.dir, { withFileTypes: true });
5854
+ entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
5855
5855
  } catch (err) {
5856
5856
  params.diagnostics.push({
5857
5857
  level: "warn",
@@ -5914,7 +5914,7 @@ function discoverInDirectory(params) {
5914
5914
  "index.js",
5915
5915
  "index.mjs",
5916
5916
  "index.cjs"
5917
- ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs$1.existsSync(candidate));
5917
+ ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
5918
5918
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
5919
5919
  candidates: params.candidates,
5920
5920
  diagnostics: params.diagnostics,
@@ -5932,7 +5932,7 @@ function discoverInDirectory(params) {
5932
5932
  }
5933
5933
  function discoverFromPath(params) {
5934
5934
  const resolved = resolveUserPath(params.rawPath);
5935
- if (!fs$1.existsSync(resolved)) {
5935
+ if (!syncFs.existsSync(resolved)) {
5936
5936
  params.diagnostics.push({
5937
5937
  level: "error",
5938
5938
  message: `plugin path not found: ${resolved}`,
@@ -5940,7 +5940,7 @@ function discoverFromPath(params) {
5940
5940
  });
5941
5941
  return;
5942
5942
  }
5943
- const stat = fs$1.statSync(resolved);
5943
+ const stat = syncFs.statSync(resolved);
5944
5944
  if (stat.isFile()) {
5945
5945
  if (!isExtensionFile(resolved)) {
5946
5946
  params.diagnostics.push({
@@ -6000,7 +6000,7 @@ function discoverFromPath(params) {
6000
6000
  "index.js",
6001
6001
  "index.mjs",
6002
6002
  "index.cjs"
6003
- ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs$1.existsSync(candidate));
6003
+ ].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
6004
6004
  if (indexFile && isExtensionFile(indexFile)) {
6005
6005
  addCandidate({
6006
6006
  candidates: params.candidates,
@@ -6114,7 +6114,7 @@ function buildCacheKey(params) {
6114
6114
  }
6115
6115
  function safeStatMtimeMs(filePath) {
6116
6116
  try {
6117
- return fs$1.statSync(filePath).mtimeMs;
6117
+ return syncFs.statSync(filePath).mtimeMs;
6118
6118
  } catch {
6119
6119
  return null;
6120
6120
  }
@@ -10617,7 +10617,7 @@ function resolveConfigPathForDeps(deps) {
10617
10617
  }
10618
10618
  function normalizeDeps(overrides = {}) {
10619
10619
  return {
10620
- fs: overrides.fs ?? fs$1,
10620
+ fs: overrides.fs ?? syncFs,
10621
10621
  json5: overrides.json5 ?? JSON5,
10622
10622
  env: overrides.env ?? process.env,
10623
10623
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
@@ -5,7 +5,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
5
5
  import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
6
6
  import { r as resolveForwardCompatModel } from "./model-CZMeWx-m.js";
7
7
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DM-7bLbH.js";
8
- import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-BH5O1rxK.js";
8
+ import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-Dclk-Ews.js";
9
9
  import { l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath } from "./paths-CC17i2eK.js";
10
10
  import { t as ensureIdleHandsModelsJson } from "./models-config-fDNEH4C5.js";
11
11
  import { n as loadModelCatalog } from "./model-catalog-DYWymzg_.js";
@@ -19,7 +19,7 @@ import { n as redactSecrets } from "./format-oh9Nicqr.js";
19
19
  import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-j17RyGsM.js";
20
20
  import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BQ_ECwH7.js";
21
21
  import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
22
- import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BCc5UtUa.js";
22
+ import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-9IcvdTst.js";
23
23
  import path from "node:path";
24
24
  import fs from "node:fs/promises";
25
25
  import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";