autohand-cli 0.9.0 → 0.9.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 (414) hide show
  1. package/README.md +20 -2
  2. package/dist/{AgentRegistry-XPWSVO3Q.js → AgentRegistry-GOV7FN2O.js} +2 -2
  3. package/dist/AgentRegistry-J2C6JBZ3.cjs +10 -0
  4. package/dist/CommunitySkillsCache-22BB3J6H.cjs +8 -0
  5. package/dist/{CommunitySkillsCache-ZEQWP6YM.js → CommunitySkillsCache-ZACDPD4J.js} +2 -2
  6. package/dist/{HookManager-CWLTFKWO.js → HookManager-2S6AHOC3.js} +1 -1
  7. package/dist/{HookManager-TMAJQU4S.cjs → HookManager-TVEQI5ZU.cjs} +2 -2
  8. package/dist/{ImportWizard-QBKQEXDW.js → ImportWizard-AEBMAKXE.js} +4 -4
  9. package/dist/{ImportWizard-MQXEED2U.cjs → ImportWizard-AF2XL6DS.cjs} +13 -13
  10. package/dist/LearnAdvisor-KKEQ5QCV.js +9 -0
  11. package/dist/LearnAdvisor-Q7RAYLPF.cjs +9 -0
  12. package/dist/MemoryManager-PMNAEZMB.cjs +8 -0
  13. package/dist/{MemoryManager-WJMLPWGU.js → MemoryManager-QZRLTUB5.js} +2 -2
  14. package/dist/NVIDIAProvider-C3FWQOBZ.cjs +14 -0
  15. package/dist/{NVIDIAProvider-2HR737UE.js → NVIDIAProvider-SJPY3ONR.js} +1 -1
  16. package/dist/{PermissionManager-KMYILJ4Z.js → PermissionManager-MT7KBNNR.js} +3 -3
  17. package/dist/PermissionManager-URCNP5EC.cjs +11 -0
  18. package/dist/ProviderFactory-56N3ECE4.cjs +12 -0
  19. package/dist/{ProviderFactory-HFPRVQ25.js → ProviderFactory-RB4RVAF6.js} +3 -2
  20. package/dist/SessionManager-2IZGWASQ.cjs +10 -0
  21. package/dist/{SessionManager-PNBTJJTQ.js → SessionManager-554PHVPC.js} +2 -2
  22. package/dist/SkillsRegistry-GMRVONOQ.cjs +9 -0
  23. package/dist/{SkillsRegistry-4RRD5GMX.js → SkillsRegistry-NHHMIUYJ.js} +2 -2
  24. package/dist/SubAgent-4GOR2FIJ.js +13 -0
  25. package/dist/SubAgent-ZJMDH4FI.cjs +13 -0
  26. package/dist/{SyncApiClient-LRPFNCKJ.js → SyncApiClient-G3FM65IV.js} +1 -1
  27. package/dist/SyncApiClient-ODBDECOG.cjs +11 -0
  28. package/dist/{about-BW3PDZUU.js → about-3USFSGOH.js} +5 -4
  29. package/dist/about-QR52U5DD.cjs +15 -0
  30. package/dist/{acp-VHEL7BOW.js → acp-5Y2W6OZP.js} +129 -90
  31. package/dist/{acp-EOETGAHC.cjs → acp-GSYE75OB.cjs} +135 -96
  32. package/dist/actionExecutor-KHUU3Z3Q.cjs +28 -0
  33. package/dist/{actionExecutor-33I47NZS.js → actionExecutor-PLQJZLZV.js} +12 -8
  34. package/dist/add-dir-BTAD5OZS.cjs +11 -0
  35. package/dist/{add-dir-VFX7QT4E.js → add-dir-HCERJDBR.js} +2 -2
  36. package/dist/agent-B3EVT7NN.cjs +126 -0
  37. package/dist/agent-SATQ3WZ3.js +126 -0
  38. package/dist/agents-44CRJGM7.cjs +18 -0
  39. package/dist/agents-NN4ZAJ7R.js +18 -0
  40. package/dist/agents-new-6D6G4QS6.cjs +17 -0
  41. package/dist/agents-new-7GAQ25EK.js +17 -0
  42. package/dist/{autoSkill-EFMK6WU6.js → autoSkill-66PKCYTW.js} +2 -2
  43. package/dist/autoSkill-VQLGBELN.cjs +20 -0
  44. package/dist/automode-45DWV4TN.cjs +10 -0
  45. package/dist/{automode-BMYSRM34.js → automode-BUF3VGXU.js} +2 -2
  46. package/dist/chrome-Q2U73HZB.cjs +50 -0
  47. package/dist/chrome-Q54OALOK.cjs +21 -0
  48. package/dist/{chrome-NHJ44WUN.js → chrome-Y3T7EIHG.js} +2 -2
  49. package/dist/chrome-ZNJ46OYW.js +21 -0
  50. package/dist/{chunk-D2OSPLYC.cjs → chunk-22SCR3EV.cjs} +2 -2
  51. package/dist/chunk-26G7YGOW.js +367 -0
  52. package/dist/{chunk-75EDROHL.cjs → chunk-2ESQR35E.cjs} +10 -10
  53. package/dist/{chunk-HKYZSUQ5.js → chunk-2IW5YFJ4.js} +4 -4
  54. package/dist/{chunk-JP3YHTQ2.cjs → chunk-3ICORF7M.cjs} +4 -4
  55. package/dist/{chunk-4256YRCO.cjs → chunk-3UC6DMFI.cjs} +30 -17
  56. package/dist/{chunk-6GUODJKM.cjs → chunk-3UHRCHKB.cjs} +23 -23
  57. package/dist/{chunk-HXJEGMGB.js → chunk-3ZOOH44N.js} +2 -2
  58. package/dist/{chunk-7RFJB75Y.js → chunk-44ZWOBTI.js} +9 -9
  59. package/dist/{chunk-CCVMREXI.js → chunk-4567QNRB.js} +32 -8
  60. package/dist/chunk-45CHNQM6.cjs +517 -0
  61. package/dist/{chunk-6NVAK6CK.js → chunk-4E7SHPNQ.js} +2 -2
  62. package/dist/{chunk-XGMI6IYB.cjs → chunk-4XFHP2SN.cjs} +7 -7
  63. package/dist/chunk-4XVLNOFA.js +360 -0
  64. package/dist/{chunk-D6GZBSOX.js → chunk-575PXZX7.js} +1 -1
  65. package/dist/{chunk-HJIXWGQZ.js → chunk-5A7ZL64N.js} +1 -1
  66. package/dist/{chunk-ROLA6EFO.cjs → chunk-5GCQ5UMV.cjs} +14 -14
  67. package/dist/{chunk-3DDL2E55.cjs → chunk-5SFV2NCY.cjs} +10 -10
  68. package/dist/chunk-5ZNYX4VH.cjs +71 -0
  69. package/dist/{chunk-PDHT7LQS.cjs → chunk-63ANVAOJ.cjs} +3 -3
  70. package/dist/{chunk-GWO66KBI.js → chunk-65LRPW5W.js} +1 -1
  71. package/dist/{chunk-IAGCRVJ3.js → chunk-6AYJCDTA.js} +14 -9
  72. package/dist/{chunk-A7HHCIDQ.js → chunk-6HF6XSCC.js} +2 -2
  73. package/dist/{chunk-47PHDKNW.cjs → chunk-6JWCGQJU.cjs} +6 -6
  74. package/dist/chunk-6OECOAK5.cjs +360 -0
  75. package/dist/{chunk-RBHANOYY.js → chunk-7DJJGKM6.js} +47 -3
  76. package/dist/{chunk-37M5UM6I.js → chunk-7IRQ7JEH.js} +1 -1
  77. package/dist/chunk-7MY4JHER.js +27 -0
  78. package/dist/{chunk-ZR46OJNZ.js → chunk-7PJKTSRN.js} +3 -3
  79. package/dist/{chunk-AC7DZ6SK.cjs → chunk-7PT646AL.cjs} +3 -3
  80. package/dist/{chunk-TKKN34TV.js → chunk-7WAUCLLQ.js} +3 -3
  81. package/dist/{chunk-DPSIGY6L.cjs → chunk-7XTUL7ZD.cjs} +9 -9
  82. package/dist/{chunk-GBMDFWJX.cjs → chunk-AE2ILW25.cjs} +13 -13
  83. package/dist/{chunk-BQ22N3TX.cjs → chunk-AOKXYGBQ.cjs} +27 -22
  84. package/dist/{chunk-REMGR23V.cjs → chunk-AQ5PVHOC.cjs} +7 -2
  85. package/dist/{chunk-AUYSIEVV.cjs → chunk-AZ47LKD5.cjs} +3 -3
  86. package/dist/chunk-B76FJKEJ.cjs +184 -0
  87. package/dist/{chunk-XV2HXRHX.js → chunk-BP37FVBM.js} +3 -3
  88. package/dist/{chunk-JIMSII7R.js → chunk-C46B72VK.js} +57 -10
  89. package/dist/{chunk-L4F7SUYL.js → chunk-C5QIQQ37.js} +3 -3
  90. package/dist/{chunk-AUFNACED.js → chunk-CCIDL4SA.js} +7094 -6126
  91. package/dist/{chunk-OV3PVUYN.js → chunk-CECH6QQP.js} +11 -11
  92. package/dist/{chunk-CH2J4PVE.cjs → chunk-CK4HAHVY.cjs} +13 -13
  93. package/dist/{chunk-Q2IL4DDI.cjs → chunk-CO2AADYU.cjs} +19 -14
  94. package/dist/{chunk-7JLT2VNW.cjs → chunk-CRTCZ4WL.cjs} +7533 -6565
  95. package/dist/{chunk-5JFTY3VU.js → chunk-CSTUTDTH.js} +2 -1
  96. package/dist/{chunk-DIZTWFVR.cjs → chunk-D546G7DA.cjs} +209 -55
  97. package/dist/{chunk-7HPWMALN.js → chunk-DGBPWODD.js} +1 -1
  98. package/dist/{chunk-RBZ7AFX7.cjs → chunk-DHUQZ53B.cjs} +2 -2
  99. package/dist/{chunk-U4C3HW6P.js → chunk-DNSD7DVJ.js} +2 -2
  100. package/dist/{chunk-SOLBYSLY.cjs → chunk-DSSCERHI.cjs} +2 -2
  101. package/dist/{chunk-OPNI6O7F.cjs → chunk-EA2MS25U.cjs} +4 -4
  102. package/dist/{chunk-E46DJH5S.js → chunk-EEHWALXA.js} +94 -3
  103. package/dist/{chunk-CFFE4VA3.js → chunk-EYHKL4QC.js} +1 -1
  104. package/dist/{chunk-FGT6KK6T.js → chunk-FBQJZKFX.js} +3 -3
  105. package/dist/{chunk-I24CWKKK.js → chunk-FFHSCM5M.js} +3 -3
  106. package/dist/{chunk-TXPSTCG7.cjs → chunk-GAOPJ5S3.cjs} +8 -8
  107. package/dist/{chunk-ARBEHFCG.js → chunk-GSDV75A5.js} +1 -1
  108. package/dist/{chunk-Z3XSSF7B.js → chunk-H426KOGY.js} +1 -1
  109. package/dist/{chunk-WRTXCQ3V.cjs → chunk-HC2Q6A3E.cjs} +858 -182
  110. package/dist/{chunk-IGMPWJ2I.cjs → chunk-HG3ZASBH.cjs} +8 -8
  111. package/dist/chunk-HK5A54AV.cjs +280 -0
  112. package/dist/{chunk-2HOLOHVK.js → chunk-HSWWM6AM.js} +136 -15
  113. package/dist/chunk-HTU4W3GB.js +183 -0
  114. package/dist/{chunk-5CMYEM3R.cjs → chunk-HVCIB4SW.cjs} +3 -3
  115. package/dist/chunk-HXHE2KAO.js +385 -0
  116. package/dist/{chunk-NMQ47RCG.js → chunk-HZWU6IO3.js} +5 -2
  117. package/dist/{chunk-ZPD2AO3U.js → chunk-I2ZK3AOD.js} +2 -2
  118. package/dist/{chunk-3UT7R3XV.js → chunk-IEPLQ47J.js} +61 -5
  119. package/dist/{chunk-3PXKRVCW.js → chunk-JB3JCYBJ.js} +7 -2
  120. package/dist/chunk-JCUHCH37.cjs +247 -0
  121. package/dist/{chunk-VBOFPU5M.cjs → chunk-JM3ZTQUK.cjs} +13 -9
  122. package/dist/{chunk-WZV6UVPY.js → chunk-JMJRFSNJ.js} +1 -1
  123. package/dist/{chunk-QKP772OZ.js → chunk-JPFRI4L4.js} +756 -80
  124. package/dist/{chunk-MOJ7ADW4.cjs → chunk-JV5HVCHU.cjs} +2 -2
  125. package/dist/{chunk-LN7D3EJZ.js → chunk-KA2U6MY2.js} +4 -3
  126. package/dist/{chunk-E26KKI46.cjs → chunk-KASXKDF2.cjs} +3 -1
  127. package/dist/chunk-KJ26T7GM.cjs +367 -0
  128. package/dist/chunk-KM7R5YPS.cjs +385 -0
  129. package/dist/{chunk-5F6ZKSHO.js → chunk-KMP6Y3LJ.js} +1 -1
  130. package/dist/chunk-KWXGDSYT.js +184 -0
  131. package/dist/{chunk-LDJQ5QHG.cjs → chunk-L46OUKW5.cjs} +15 -15
  132. package/dist/{chunk-Z4LIPMPM.js → chunk-L6OH44HL.js} +13 -9
  133. package/dist/chunk-LANGD5CO.js +280 -0
  134. package/dist/{chunk-CBFH2J3O.js → chunk-LEZEWKPA.js} +150 -7
  135. package/dist/{chunk-FQAVGSPW.js → chunk-M5DK524Z.js} +2 -2
  136. package/dist/{chunk-7LWQCE4Y.cjs → chunk-M7B7RRBK.cjs} +72 -25
  137. package/dist/{chunk-BWF4VDYE.js → chunk-MANJ67D3.js} +2 -2
  138. package/dist/{chunk-PHJO5YAL.cjs → chunk-MGNXABSU.cjs} +9 -9
  139. package/dist/{chunk-62RTC3XX.js → chunk-MMKZSJUN.js} +1 -1
  140. package/dist/{chunk-3KLSNNRW.cjs → chunk-MQQH4XQH.cjs} +4 -4
  141. package/dist/{chunk-HS4USDND.cjs → chunk-MZN6JBRZ.cjs} +2 -2
  142. package/dist/{chunk-AT7OWLY5.js → chunk-NB6M6ESM.js} +1 -1
  143. package/dist/{chunk-TQ33WBY5.cjs → chunk-NHWHEW7M.cjs} +2 -1
  144. package/dist/chunk-NQZH5CR2.cjs +468 -0
  145. package/dist/{chunk-2CGE7ZV3.cjs → chunk-NV6LCD2I.cjs} +119 -28
  146. package/dist/chunk-NVATU4V6.cjs +44 -0
  147. package/dist/{chunk-DLP436GI.js → chunk-NZ3ZWLUW.js} +2 -2
  148. package/dist/{chunk-IEXKKKOF.cjs → chunk-NZ7GCK7Y.cjs} +23 -23
  149. package/dist/{chunk-MQESBFBZ.cjs → chunk-NZQFKXM3.cjs} +21 -20
  150. package/dist/{chunk-QQ7PANOP.js → chunk-O5GI6SR3.js} +1 -1
  151. package/dist/{chunk-J5ADZN6V.cjs → chunk-OCATAKXV.cjs} +20 -20
  152. package/dist/{chunk-JYKPWK5O.js → chunk-OIGYWOL6.js} +1 -1
  153. package/dist/{chunk-O6TQP7U7.cjs → chunk-ONVYXTUT.cjs} +3 -3
  154. package/dist/{chunk-MPULXVC4.cjs → chunk-OV3T5MUH.cjs} +11 -11
  155. package/dist/{chunk-DMRXF5DU.js → chunk-P4FUTSVK.js} +3 -3
  156. package/dist/{chunk-MXVIDIC6.cjs → chunk-P6SLT2F4.cjs} +2 -2
  157. package/dist/{chunk-BL2UC7HC.js → chunk-PGFLPURU.js} +1 -1
  158. package/dist/{chunk-CWINVFRI.cjs → chunk-PIXQ2AVM.cjs} +17 -17
  159. package/dist/{chunk-MO4KP6XS.cjs → chunk-PNIAIOMZ.cjs} +5 -5
  160. package/dist/{chunk-HQWQZML5.cjs → chunk-PQBYFEBL.cjs} +2 -2
  161. package/dist/{chunk-UGFVM77J.cjs → chunk-PSAH4ZQB.cjs} +2 -2
  162. package/dist/{chunk-Y3M2DABP.js → chunk-PTTZI4QZ.js} +4 -4
  163. package/dist/{chunk-Q6AC3PHY.cjs → chunk-PY73W5MQ.cjs} +4 -4
  164. package/dist/{chunk-B5CGDNMR.js → chunk-PZZMIYII.js} +3 -3
  165. package/dist/{chunk-VRMZO6TB.js → chunk-Q3BS6FPM.js} +7 -6
  166. package/dist/chunk-QBYGMMDD.js +517 -0
  167. package/dist/{chunk-3LJJG5YY.cjs → chunk-QLZOMZO5.cjs} +4 -3
  168. package/dist/{chunk-3S563FNF.cjs → chunk-QQ64HEHP.cjs} +31 -31
  169. package/dist/{chunk-TBOLJDUG.js → chunk-QRQF3556.js} +12 -7
  170. package/dist/{chunk-ZZ63NW7A.cjs → chunk-RBXBH6EB.cjs} +17 -17
  171. package/dist/{chunk-PUD76XQT.cjs → chunk-RFUKZIJF.cjs} +5 -5
  172. package/dist/chunk-RS2E32YB.js +71 -0
  173. package/dist/{chunk-7MU7LWF3.cjs → chunk-S5JNQIGL.cjs} +5 -5
  174. package/dist/{chunk-BFQDQRDE.js → chunk-S5QKRA2V.js} +2 -2
  175. package/dist/{chunk-IKUMVBCW.cjs → chunk-SD3NTC7D.cjs} +48 -4
  176. package/dist/{chunk-PQLKJCIE.js → chunk-SDLY4X3G.js} +2 -2
  177. package/dist/{chunk-VKBIE6I6.js → chunk-SFFEKZGC.js} +2 -2
  178. package/dist/{chunk-TWQDAUZU.js → chunk-SHRLFX6F.js} +3 -1
  179. package/dist/{chunk-UEIXJG45.js → chunk-SNDDZG5H.js} +88 -72
  180. package/dist/{chunk-AOKCI722.cjs → chunk-SOVR7S3T.cjs} +2 -2
  181. package/dist/{chunk-M4KNC5BQ.js → chunk-SPQ7QIQ6.js} +1 -1
  182. package/dist/{chunk-QCHIDZBA.js → chunk-SRMGWMQO.js} +1 -1
  183. package/dist/{chunk-ZHJ7JGME.cjs → chunk-SVVP4UUZ.cjs} +11 -11
  184. package/dist/{chunk-CHI52KFR.cjs → chunk-SY2P3Z5W.cjs} +150 -7
  185. package/dist/chunk-SZD45IDG.js +468 -0
  186. package/dist/{chunk-VGEV44V2.cjs → chunk-TE4SYTWR.cjs} +189 -28
  187. package/dist/{chunk-YV63VW4K.js → chunk-TR6NECEZ.js} +1 -1
  188. package/dist/{chunk-GZ6DV2UG.js → chunk-TYBPTKFT.js} +1 -1
  189. package/dist/{chunk-5VHP6HDQ.js → chunk-U2QUMKCB.js} +1 -1
  190. package/dist/{chunk-6HH236FV.cjs → chunk-U6PLSPMD.cjs} +2 -2
  191. package/dist/{chunk-EZJHLOWP.js → chunk-UWZ4G3SQ.js} +20 -7
  192. package/dist/{chunk-UXLW45ZE.cjs → chunk-V3SZLWEQ.cjs} +25 -90
  193. package/dist/chunk-V4HGZSKQ.cjs +183 -0
  194. package/dist/{chunk-2QL6MNXG.js → chunk-V5ELP2XE.js} +6 -6
  195. package/dist/{chunk-N6O3XUZ2.cjs → chunk-VKOXFT4L.cjs} +2 -2
  196. package/dist/{chunk-J2K57QM7.cjs → chunk-VLGGMQUN.cjs} +6 -6
  197. package/dist/{chunk-HSCUPEA4.cjs → chunk-VQHSYAPZ.cjs} +11 -11
  198. package/dist/{chunk-DEQVRSV5.cjs → chunk-W5QLA6WP.cjs} +8 -8
  199. package/dist/chunk-WJYFLQ7G.cjs +27 -0
  200. package/dist/{chunk-MX75JYIY.js → chunk-WNJXIACY.js} +3 -3
  201. package/dist/{chunk-OHWMWKJQ.js → chunk-WPE2XHVX.js} +1 -1
  202. package/dist/{chunk-O64I2GYI.js → chunk-X3TI5TJJ.js} +1 -1
  203. package/dist/{chunk-46C73ZKK.cjs → chunk-X5P6QQOB.cjs} +66 -10
  204. package/dist/{chunk-TJNBASFD.cjs → chunk-X7XMITIL.cjs} +8 -8
  205. package/dist/{chunk-E6GFD7VR.cjs → chunk-XNIMSVS6.cjs} +11 -11
  206. package/dist/{chunk-WGLBC5AY.cjs → chunk-XW3XCK4E.cjs} +4 -4
  207. package/dist/{chunk-OM24WXEE.js → chunk-XZVDYC5U.js} +1 -1
  208. package/dist/{chunk-UWFG2R2I.cjs → chunk-Y5BDE24P.cjs} +33 -9
  209. package/dist/{chunk-GGLKUENP.js → chunk-YC5OBZQU.js} +161 -7
  210. package/dist/{chunk-JJ4KA7HK.cjs → chunk-YISPVAXO.cjs} +371 -250
  211. package/dist/{chunk-SWCQM52V.js → chunk-YQDI753V.js} +4 -4
  212. package/dist/{chunk-KNTUI4TZ.cjs → chunk-YWH55BWK.cjs} +9 -6
  213. package/dist/{chunk-ACDQGA4Z.js → chunk-YXM6SA7P.js} +7 -72
  214. package/dist/{chunk-3GUEUCZK.js → chunk-ZNGRLCFQ.js} +2 -0
  215. package/dist/{chunk-LQBONA55.cjs → chunk-ZNYZB7XY.cjs} +2 -0
  216. package/dist/{chunk-XIVFAD2L.js → chunk-ZPLCAXJW.js} +172 -11
  217. package/dist/chunk-ZUYYHKQA.js +44 -0
  218. package/dist/clear-QJXU25IF.cjs +12 -0
  219. package/dist/{clear-OFLFQ3MR.js → clear-Y5TO3RZA.js} +2 -2
  220. package/dist/communityInstaller-LXMVKVAV.cjs +22 -0
  221. package/dist/{communityInstaller-COB2KTOW.js → communityInstaller-RVL4STPS.js} +6 -6
  222. package/dist/completion-JX4T2ONW.cjs +17 -0
  223. package/dist/{completion-PT4VM2H2.js → completion-SE3XYG74.js} +5 -5
  224. package/dist/config-3224PRW4.cjs +21 -0
  225. package/dist/{config-R4O7GBTY.js → config-7KPHKFTP.js} +4 -3
  226. package/dist/{constants-HVCHVQAF.js → constants-EJFAWJQI.js} +1 -1
  227. package/dist/constants-MCCGUU5F.cjs +21 -0
  228. package/dist/{export-3PK3VFCE.js → export-BJVIDZC4.js} +5 -5
  229. package/dist/export-KU4557HK.cjs +15 -0
  230. package/dist/feature-K3LG5IJP.cjs +14 -0
  231. package/dist/feature-V4JF5TNJ.js +14 -0
  232. package/dist/features-5OJTLKS7.js +23 -0
  233. package/dist/features-VCBJQXCX.cjs +23 -0
  234. package/dist/feedback-D4437VE4.js +18 -0
  235. package/dist/feedback-VZPEHGFY.cjs +18 -0
  236. package/dist/go-X4E6BCD6.js +12 -0
  237. package/dist/go-XREVFS5I.cjs +12 -0
  238. package/dist/goal-4M3J6JS2.cjs +16 -0
  239. package/dist/goal-EI66BV7W.js +16 -0
  240. package/dist/help-GGFS7WHY.cjs +12 -0
  241. package/dist/{help-X3OAZ3CY.js → help-MLIROWKM.js} +2 -2
  242. package/dist/{history-YKFPHBJN.js → history-GQJ6RZD6.js} +2 -2
  243. package/dist/history-J4LUIOSI.cjs +14 -0
  244. package/dist/hooks-FSRIUS6A.cjs +18 -0
  245. package/dist/{hooks-7TA4PIIB.js → hooks-PPFHCF7T.js} +6 -6
  246. package/dist/i18n-CI6VFXL5.cjs +33 -0
  247. package/dist/{i18n-2KBUU7XL.js → i18n-Q7UZJRPL.js} +1 -1
  248. package/dist/ide-BUSVE54P.js +15 -0
  249. package/dist/ide-YR27BPGM.cjs +15 -0
  250. package/dist/{import-4CHYLS4K.js → import-3VBKI6BN.js} +3 -3
  251. package/dist/{import-I7T4ZHYL.cjs → import-C7S6UJMW.cjs} +3 -3
  252. package/dist/import-DBK4OCDF.cjs +10 -0
  253. package/dist/{import-JWPYKXCZ.js → import-U47DXCA7.js} +2 -2
  254. package/dist/index.cjs +267 -170
  255. package/dist/index.d.cts +2 -0
  256. package/dist/index.d.ts +2 -0
  257. package/dist/index.js +165 -68
  258. package/dist/init-OXTYS72D.cjs +10 -0
  259. package/dist/{init-262MWZV4.js → init-Q2O4R42R.js} +2 -2
  260. package/dist/{inputPrompt-YGBHDUEP.js → inputPrompt-3CFZDUBH.js} +2 -2
  261. package/dist/inputPrompt-JMACL4EB.cjs +90 -0
  262. package/dist/language-EK3M6UBV.cjs +22 -0
  263. package/dist/language-Q3RUGGOW.js +22 -0
  264. package/dist/learn-3DSX7DYG.cjs +23 -0
  265. package/dist/learn-OPOH5L43.js +23 -0
  266. package/dist/login-GST7MWXJ.cjs +27 -0
  267. package/dist/login-Q7DZKAX4.js +27 -0
  268. package/dist/logout-2G7OUK7I.cjs +24 -0
  269. package/dist/logout-FNBBL2UI.js +24 -0
  270. package/dist/{mcp-5O6PUL4G.js → mcp-AH3MMUBU.js} +7 -6
  271. package/dist/mcp-DW7R63IB.cjs +21 -0
  272. package/dist/{mcp-install-6XWXLFVY.js → mcp-install-222PCKSW.js} +9 -8
  273. package/dist/{mcp-install-P6DHES7V.cjs → mcp-install-IA4ZS2SV.cjs} +14 -13
  274. package/dist/memory-6NX3DAIY.cjs +10 -0
  275. package/dist/{memory-Q54CESNM.js → memory-VB46T5H3.js} +2 -2
  276. package/dist/model-64NAELFS.cjs +10 -0
  277. package/dist/{model-6AJ77PJG.js → model-SJJG64AM.js} +2 -2
  278. package/dist/new-DU5SOOOY.cjs +12 -0
  279. package/dist/{new-ZXHEWC2S.js → new-ERZ5C6CN.js} +2 -2
  280. package/dist/onboarding-2U2BV2KE.cjs +36 -0
  281. package/dist/{onboarding-JYNMK6NI.js → onboarding-ZQXMPSMJ.js} +14 -13
  282. package/dist/{permissions-YHJMVA6L.js → permissions-7ACNFK7A.js} +2 -2
  283. package/dist/permissions-GSNNV7RJ.cjs +10 -0
  284. package/dist/{quit-GWTNHQSP.js → quit-WY6T267G.js} +2 -2
  285. package/dist/quit-XIRE2KRE.cjs +10 -0
  286. package/dist/{registry-34GL6BNJ.js → registry-4DXUDKJN.js} +1 -1
  287. package/dist/{registry-V24W7YK6.cjs → registry-UEO3ETZ7.cjs} +21 -21
  288. package/dist/resume-RQZ3WXBP.cjs +17 -0
  289. package/dist/resume-XSXZMDMD.js +17 -0
  290. package/dist/{rpc-S3DGW6KV.js → rpc-XH7QLN4H.js} +251 -107
  291. package/dist/{rpc-NPS3PU4O.cjs → rpc-YF54T7JU.cjs} +347 -203
  292. package/dist/search-VXXFGZWU.cjs +21 -0
  293. package/dist/search-YAWGX7P7.js +21 -0
  294. package/dist/{sessions-IYAXMK23.js → sessions-NJYHJOEL.js} +2 -2
  295. package/dist/sessions-OSG3UJEZ.cjs +10 -0
  296. package/dist/settings-SO2UIGWV.cjs +42 -0
  297. package/dist/{settings-55BNW6BF.js → settings-ZXUQH3DO.js} +17 -8
  298. package/dist/setup-KG7EGKF5.js +30 -0
  299. package/dist/setup-RSOPCQ57.cjs +30 -0
  300. package/dist/share-WFAGZ5PY.js +17 -0
  301. package/dist/share-ZU3SGACF.cjs +17 -0
  302. package/dist/skills-KBVAQAD2.cjs +29 -0
  303. package/dist/{skills-VWOMV3CR.js → skills-NBTNDVAY.js} +8 -8
  304. package/dist/{skills-MVIZNHT4.js → skills-OB6RDW7D.js} +9 -9
  305. package/dist/{skills-GGMZOVIE.cjs → skills-ZROBG3RZ.cjs} +10 -10
  306. package/dist/{skills-install-QBA5RCV6.js → skills-install-BHTIEMKH.js} +7 -7
  307. package/dist/{skills-install-VTAMCNNY.cjs → skills-install-ILX6QVEF.cjs} +15 -15
  308. package/dist/skills-new-B45VQ2PP.cjs +18 -0
  309. package/dist/skills-new-YMRP2HNO.js +18 -0
  310. package/dist/slashCommands-53VYIBJU.js +105 -0
  311. package/dist/slashCommands-BG2RGGZ6.cjs +105 -0
  312. package/dist/status-CQ2IUOVK.cjs +24 -0
  313. package/dist/status-E7IGNVPC.js +24 -0
  314. package/dist/{sync-7OKF6636.js → sync-7C25MOT2.js} +6 -5
  315. package/dist/{sync-7BILIQHP.js → sync-OCJN4ZSO.js} +3 -3
  316. package/dist/sync-XRP46IVG.cjs +40 -0
  317. package/dist/sync-ZMFVE7T4.cjs +22 -0
  318. package/dist/{teammate-J6PHGL23.cjs → teammate-D77B6QRT.cjs} +9 -8
  319. package/dist/{teammate-GZQSCIMS.js → teammate-EZCMHOIL.js} +8 -7
  320. package/dist/templates-ARG2VRWW.cjs +11 -0
  321. package/dist/templates-UGVZV3KJ.js +11 -0
  322. package/dist/theme-KKRDE6P7.cjs +22 -0
  323. package/dist/theme-XF7XIWBQ.js +22 -0
  324. package/dist/ui/questionModal.cjs +6 -6
  325. package/dist/ui/questionModal.js +5 -5
  326. package/dist/{undo-SZEHLX7X.js → undo-GNUTFXCW.js} +2 -2
  327. package/dist/undo-U4KN7QQM.cjs +10 -0
  328. package/dist/usage-QSTNSDAO.js +24 -0
  329. package/dist/usage-YDEMQBNQ.cjs +24 -0
  330. package/package.json +7 -2
  331. package/dist/AgentRegistry-EGBDIUAK.cjs +0 -10
  332. package/dist/CommunitySkillsCache-2OIUV227.cjs +0 -8
  333. package/dist/LearnAdvisor-46FG2XIP.js +0 -9
  334. package/dist/LearnAdvisor-XBRDNAGH.cjs +0 -9
  335. package/dist/MemoryManager-34L4YOKA.cjs +0 -8
  336. package/dist/NVIDIAProvider-MVTL62PR.cjs +0 -14
  337. package/dist/PermissionManager-5OOJ7FAT.cjs +0 -11
  338. package/dist/ProviderFactory-C3YPXTDD.cjs +0 -11
  339. package/dist/SessionManager-WAPTFMDO.cjs +0 -10
  340. package/dist/SkillsRegistry-7AJP74GJ.cjs +0 -9
  341. package/dist/SubAgent-FDIH3DXB.js +0 -11
  342. package/dist/SubAgent-HVL2ICVZ.cjs +0 -11
  343. package/dist/SyncApiClient-VMBOLQ6H.cjs +0 -11
  344. package/dist/about-FCAX37YC.cjs +0 -14
  345. package/dist/actionExecutor-4YBMR3YH.cjs +0 -24
  346. package/dist/add-dir-7SS6KSH5.cjs +0 -11
  347. package/dist/agent-DMRUFU4M.cjs +0 -116
  348. package/dist/agent-WCJEYQJT.js +0 -116
  349. package/dist/agents-CHROO3VU.cjs +0 -17
  350. package/dist/agents-UVDUL65K.js +0 -17
  351. package/dist/agents-new-AUBWSOXP.js +0 -17
  352. package/dist/agents-new-Y562WC47.cjs +0 -17
  353. package/dist/autoSkill-YOLLFTP2.cjs +0 -20
  354. package/dist/automode-DBLKTTKD.cjs +0 -10
  355. package/dist/chrome-ATC4OO5I.cjs +0 -20
  356. package/dist/chrome-O62WXV7F.js +0 -20
  357. package/dist/chrome-XHJLCO4M.cjs +0 -50
  358. package/dist/chunk-6XVVIY54.cjs +0 -256
  359. package/dist/chunk-AU6JAGZJ.cjs +0 -231
  360. package/dist/chunk-VDWJMWDF.js +0 -256
  361. package/dist/clear-33TWQ2ES.cjs +0 -12
  362. package/dist/communityInstaller-TWMGPSYM.cjs +0 -22
  363. package/dist/completion-IIZMHXYP.cjs +0 -17
  364. package/dist/config-KL6WU7R2.cjs +0 -20
  365. package/dist/constants-RLMJ5D5P.cjs +0 -21
  366. package/dist/export-WLGNWEMJ.cjs +0 -15
  367. package/dist/feedback-G635NCLJ.js +0 -18
  368. package/dist/feedback-LLMK3TZH.cjs +0 -18
  369. package/dist/help-BAXLP2M2.cjs +0 -12
  370. package/dist/history-6HOJSEMT.cjs +0 -14
  371. package/dist/hooks-XVFU67T2.cjs +0 -18
  372. package/dist/i18n-MUJMKTFM.cjs +0 -33
  373. package/dist/ide-CCQ33PGC.cjs +0 -15
  374. package/dist/ide-VLVFBZ5F.js +0 -15
  375. package/dist/import-J46F54JY.cjs +0 -10
  376. package/dist/init-EE5Y7RBL.cjs +0 -10
  377. package/dist/inputPrompt-IIFKCX5Q.cjs +0 -90
  378. package/dist/language-CVLPB7OV.js +0 -21
  379. package/dist/language-ZTWFHUSV.cjs +0 -21
  380. package/dist/learn-PON7I5QS.js +0 -23
  381. package/dist/learn-XLRSVNA3.cjs +0 -23
  382. package/dist/login-223QTGBG.cjs +0 -26
  383. package/dist/login-6IKTBUBY.js +0 -26
  384. package/dist/logout-RN2AG6SI.js +0 -23
  385. package/dist/logout-U3M4FFX7.cjs +0 -23
  386. package/dist/mcp-NUQ76QQB.cjs +0 -20
  387. package/dist/memory-CYMDQ2YC.cjs +0 -10
  388. package/dist/model-IDRCKDML.cjs +0 -10
  389. package/dist/new-7LEWOUF2.cjs +0 -12
  390. package/dist/onboarding-FXX7YHSJ.cjs +0 -35
  391. package/dist/permissions-YBNSANIA.cjs +0 -10
  392. package/dist/quit-B43SJ6E4.cjs +0 -10
  393. package/dist/resume-DYVOQN5L.cjs +0 -16
  394. package/dist/resume-M25UQKOX.js +0 -16
  395. package/dist/search-CPX4PWHP.js +0 -20
  396. package/dist/search-VUF3M4N3.cjs +0 -20
  397. package/dist/sessions-JODKER5D.cjs +0 -10
  398. package/dist/settings-BKTS7OMC.cjs +0 -33
  399. package/dist/setup-IRC5HQG2.js +0 -29
  400. package/dist/setup-MMQ7TWOP.cjs +0 -29
  401. package/dist/share-6JRQECAH.cjs +0 -17
  402. package/dist/share-YM5MJKMO.js +0 -17
  403. package/dist/skills-LWSOKOSH.cjs +0 -29
  404. package/dist/skills-new-GPL46YV2.js +0 -18
  405. package/dist/skills-new-L5BEZN5V.cjs +0 -18
  406. package/dist/slashCommands-FBPCIWM5.cjs +0 -95
  407. package/dist/slashCommands-FCWY5DXW.js +0 -95
  408. package/dist/status-3B5SDZPL.js +0 -17
  409. package/dist/status-TTGRF6NC.cjs +0 -17
  410. package/dist/sync-77CXVVTK.cjs +0 -21
  411. package/dist/sync-EH4K5U3N.cjs +0 -40
  412. package/dist/theme-64BYGJ57.cjs +0 -21
  413. package/dist/theme-YJE6HEON.js +0 -21
  414. package/dist/undo-PRTEGL2J.cjs +0 -10
@@ -41,8 +41,9 @@ function getContentDisplay(text) {
41
41
  const lines = text.split("\n");
42
42
  const lineCount = lines.length;
43
43
  if (lineCount >= PASTE_LINE_THRESHOLD || charCount >= PASTE_CHAR_THRESHOLD) {
44
+ const visual = lineCount >= PASTE_LINE_THRESHOLD ? `[Text Pasted +${lineCount} lines]` : `[Text Pasted ${charCount} chars]`;
44
45
  return {
45
- visual: `[Text pasted ${charCount} chars]`,
46
+ visual,
46
47
  actual: text,
47
48
  isPasted: true,
48
49
  lineCount,
@@ -3,10 +3,13 @@
3
3
  var _chunkHXQREVTAcjs = require('./chunk-HXQREVTA.cjs');
4
4
 
5
5
 
6
+ var _chunkNQZH5CR2cjs = require('./chunk-NQZH5CR2.cjs');
7
+
8
+
6
9
  var _chunk4JNNTOGFcjs = require('./chunk-4JNNTOGF.cjs');
7
10
 
8
11
 
9
- var _chunkDEQVRSV5cjs = require('./chunk-DEQVRSV5.cjs');
12
+ var _chunkW5QLA6WPcjs = require('./chunk-W5QLA6WP.cjs');
10
13
 
11
14
 
12
15
 
@@ -24,6 +27,10 @@ var _chunkLFDPTJYFcjs = require('./chunk-LFDPTJYF.cjs');
24
27
 
25
28
 
26
29
 
30
+ var _chunkWJYFLQ7Gcjs = require('./chunk-WJYFLQ7G.cjs');
31
+
32
+
33
+
27
34
 
28
35
 
29
36
 
@@ -31,7 +38,7 @@ var _chunkWKRDBCP2cjs = require('./chunk-WKRDBCP2.cjs');
31
38
 
32
39
 
33
40
 
34
- var _chunkCH2J4PVEcjs = require('./chunk-CH2J4PVE.cjs');
41
+ var _chunkCK4HAHVYcjs = require('./chunk-CK4HAHVY.cjs');
35
42
 
36
43
 
37
44
 
@@ -40,7 +47,7 @@ var _chunk2VHB43IXcjs = require('./chunk-2VHB43IX.cjs');
40
47
 
41
48
 
42
49
 
43
- var _chunkE26KKI46cjs = require('./chunk-E26KKI46.cjs');
50
+ var _chunkKASXKDF2cjs = require('./chunk-KASXKDF2.cjs');
44
51
 
45
52
  // src/core/actionExecutor.ts
46
53
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -1849,7 +1856,7 @@ function applyNotebookEdit(rawContent, input) {
1849
1856
  // src/core/customCommands.ts
1850
1857
 
1851
1858
 
1852
- var COMMANDS_DIR = _chunkE26KKI46cjs.AUTOHAND_PATHS.commands;
1859
+ var COMMANDS_DIR = _chunkKASXKDF2cjs.AUTOHAND_PATHS.commands;
1853
1860
  async function loadCustomCommand(name) {
1854
1861
  const filePath = _path2.default.join(COMMANDS_DIR, `${sanitizeName(name)}.json`);
1855
1862
  if (!await _fsextra2.default.pathExists(filePath)) {
@@ -2435,14 +2442,14 @@ function normalizeLocations(input) {
2435
2442
  if (Array.isArray(input)) {
2436
2443
  return input;
2437
2444
  }
2438
- return [{ scope: "user", dir: _nullishCoalesce(input, () => ( _chunkE26KKI46cjs.AUTOHAND_PATHS.tools)) }];
2445
+ return [{ scope: "user", dir: _nullishCoalesce(input, () => ( _chunkKASXKDF2cjs.AUTOHAND_PATHS.tools)) }];
2439
2446
  }
2440
2447
  function delay(ms) {
2441
2448
  return new Promise((resolve) => setTimeout(resolve, ms));
2442
2449
  }
2443
- function createToolsRegistry(workspaceRoot, userToolsDir = _chunkE26KKI46cjs.AUTOHAND_PATHS.tools) {
2450
+ function createToolsRegistry(workspaceRoot, userToolsDir = _chunkKASXKDF2cjs.AUTOHAND_PATHS.tools) {
2444
2451
  const locations = workspaceRoot ? [
2445
- { scope: "project", dir: _path2.default.join(workspaceRoot, _chunkE26KKI46cjs.PROJECT_DIR_NAME, "tools") },
2452
+ { scope: "project", dir: _path2.default.join(workspaceRoot, _chunkKASXKDF2cjs.PROJECT_DIR_NAME, "tools") },
2446
2453
  { scope: "user", dir: userToolsDir }
2447
2454
  ] : [{ scope: "user", dir: userToolsDir }];
2448
2455
  return new ToolsRegistry(locations);
@@ -3173,7 +3180,7 @@ var SecurityScanner = (_class2 = class {constructor() { _class2.prototype.__init
3173
3180
  var PlanFileStorage = class {
3174
3181
 
3175
3182
  constructor() {
3176
- this.plansDir = _chunkE26KKI46cjs.AUTOHAND_PATHS.plans;
3183
+ this.plansDir = _chunkKASXKDF2cjs.AUTOHAND_PATHS.plans;
3177
3184
  }
3178
3185
  /**
3179
3186
  * Get the plans directory path
@@ -3306,6 +3313,19 @@ var PlanFileStorage = class {
3306
3313
 
3307
3314
  // src/core/actionExecutor.ts
3308
3315
 
3316
+ var GOAL_TOOL_TYPES = /* @__PURE__ */ new Set([
3317
+ "get_goal",
3318
+ "create_goal",
3319
+ "create_goal_from_template",
3320
+ "update_goal",
3321
+ "clear_goal",
3322
+ "list_goal_templates",
3323
+ "enqueue_goal",
3324
+ "list_goal_queue",
3325
+ "start_queued_goal",
3326
+ "dequeue_goal",
3327
+ "remove_queued_goal"
3328
+ ]);
3309
3329
  var ActionExecutor = (_class3 = class _ActionExecutor {
3310
3330
  constructor(deps) {;_class3.prototype.__init6.call(this);_class3.prototype.__init7.call(this);_class3.prototype.__init8.call(this);_class3.prototype.__init9.call(this);
3311
3331
  this.deps = deps;
@@ -3319,7 +3339,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3319
3339
  this.toolsRegistry = _nullishCoalesce(deps.toolsRegistry, () => ( createToolsRegistry(deps.runtime.workspaceRoot)));
3320
3340
  this.metaToolService = _nullishCoalesce(deps.metaToolService, () => ( new MetaToolService(this.toolsRegistry)));
3321
3341
  this.getRegisteredTools = _nullishCoalesce(deps.getRegisteredTools, () => ( (() => [])));
3322
- this.permissionManager = _nullishCoalesce(deps.permissionManager, () => ( new (0, _chunkDEQVRSV5cjs.PermissionManager)(deps.runtime.config.permissions)));
3342
+ this.permissionManager = _nullishCoalesce(deps.permissionManager, () => ( new (0, _chunkW5QLA6WPcjs.PermissionManager)(deps.runtime.config.permissions)));
3323
3343
  this.memoryManager = deps.memoryManager;
3324
3344
  this.onToolOutput = deps.onToolOutput;
3325
3345
  this.onFileModified = deps.onFileModified;
@@ -3366,6 +3386,9 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3366
3386
  __init8() {this.fffSearchWorkspaceRoot = null}
3367
3387
  __init9() {this.fffSearchIdleTimer = null}
3368
3388
  static __initStatic() {this.FFF_SEARCH_IDLE_TTL_MS = 6e4}
3389
+ shouldDisplayToolOutput() {
3390
+ return _optionalChain([this, 'access', _40 => _40.runtime, 'access', _41 => _41.config, 'access', _42 => _42.ui, 'optionalAccess', _43 => _43.silentToolOutput]) !== true;
3391
+ }
3369
3392
  async getFFFSearchProvider() {
3370
3393
  if (this.fffSearchIdleTimer) {
3371
3394
  clearTimeout(this.fffSearchIdleTimer);
@@ -3396,10 +3419,10 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3396
3419
  this.fffSearchProviderPromise = null;
3397
3420
  this.fffSearchWorkspaceRoot = null;
3398
3421
  this.fffSearchIdleTimer = null;
3399
- _optionalChain([providerPromise, 'optionalAccess', _40 => _40.then, 'call', _41 => _41((provider) => provider.destroy()), 'access', _42 => _42.catch, 'call', _43 => _43(() => {
3422
+ _optionalChain([providerPromise, 'optionalAccess', _44 => _44.then, 'call', _45 => _45((provider) => provider.destroy()), 'access', _46 => _46.catch, 'call', _47 => _47(() => {
3400
3423
  })]);
3401
3424
  }, _ActionExecutor.FFF_SEARCH_IDLE_TTL_MS);
3402
- _optionalChain([this, 'access', _44 => _44.fffSearchIdleTimer, 'access', _45 => _45.unref, 'optionalCall', _46 => _46()]);
3425
+ _optionalChain([this, 'access', _48 => _48.fffSearchIdleTimer, 'access', _49 => _49.unref, 'optionalCall', _50 => _50()]);
3403
3426
  }
3404
3427
  /**
3405
3428
  * Check permission hooks before prompting user.
@@ -3410,7 +3433,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3410
3433
  return {};
3411
3434
  }
3412
3435
  const hookResponse = await this.onPermissionRequest(context);
3413
- if (!_optionalChain([hookResponse, 'optionalAccess', _47 => _47.decision])) {
3436
+ if (!_optionalChain([hookResponse, 'optionalAccess', _51 => _51.decision])) {
3414
3437
  return {};
3415
3438
  }
3416
3439
  switch (hookResponse.decision) {
@@ -3426,6 +3449,9 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3426
3449
  }
3427
3450
  }
3428
3451
  async execute(action, context) {
3452
+ if (GOAL_TOOL_TYPES.has(action.type) && !_chunkWJYFLQ7Gcjs.isGoalFeatureEnabled.call(void 0, this.runtime.config)) {
3453
+ return _chunkWJYFLQ7Gcjs.GOAL_FEATURE_DISABLED_MESSAGE;
3454
+ }
3429
3455
  if (this.runtime.options.dryRun && !["fff_grep", "fff_find", "find", "search", "search_with_context", "semantic_search", "glob", "plan"].includes(action.type)) {
3430
3456
  return "Dry-run mode: skipped mutation";
3431
3457
  }
@@ -3685,7 +3711,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3685
3711
  resultOutput = this.formatDiffPreview(oldContent, newContent, action.path);
3686
3712
  }
3687
3713
  await this.files.writeFile(action.path, newContent);
3688
- _optionalChain([this, 'access', _48 => _48.onFileModified, 'optionalCall', _49 => _49(action.path, exists ? "modify" : "create")]);
3714
+ _optionalChain([this, 'access', _52 => _52.onFileModified, 'optionalCall', _53 => _53(action.path, exists ? "modify" : "create")]);
3689
3715
  return _nullishCoalesce(resultOutput, () => ( (exists ? `Updated ${action.path}` : `Created ${action.path}`)));
3690
3716
  }
3691
3717
  case "append_file": {
@@ -3699,7 +3725,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3699
3725
  \u{1F4DD} ${action.path}:`));
3700
3726
  this.showDiff(oldContent, newContent, action.path);
3701
3727
  await this.files.appendFile(action.path, addition);
3702
- _optionalChain([this, 'access', _50 => _50.onFileModified, 'optionalCall', _51 => _51(action.path, "modify")]);
3728
+ _optionalChain([this, 'access', _54 => _54.onFileModified, 'optionalCall', _55 => _55(action.path, "modify")]);
3703
3729
  return this.formatDiffPreview(oldContent, newContent, action.path);
3704
3730
  }
3705
3731
  case "apply_patch": {
@@ -3717,7 +3743,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3717
3743
  await this.files.applyPatch(action.path, patch);
3718
3744
  const newContent = await this.files.readFile(action.path);
3719
3745
  this.showDiff(oldContent, newContent, action.path);
3720
- _optionalChain([this, 'access', _52 => _52.onFileModified, 'optionalCall', _53 => _53(action.path, "modify")]);
3746
+ _optionalChain([this, 'access', _56 => _56.onFileModified, 'optionalCall', _57 => _57(action.path, "modify")]);
3721
3747
  return this.formatDiffPreview(oldContent, newContent, action.path);
3722
3748
  }
3723
3749
  case "notebook_edit": {
@@ -3727,15 +3753,103 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3727
3753
  const current = await this.files.readFile(action.path);
3728
3754
  const { updated, summary } = applyNotebookEdit(current, action);
3729
3755
  await this.files.writeFile(action.path, updated);
3730
- _optionalChain([this, 'access', _54 => _54.onFileModified, 'optionalCall', _55 => _55(action.path, "modify")]);
3756
+ _optionalChain([this, 'access', _58 => _58.onFileModified, 'optionalCall', _59 => _59(action.path, "modify")]);
3731
3757
  return summary;
3732
3758
  }
3733
3759
  case "tools_registry": {
3734
3760
  const tools = await this.toolsRegistry.listTools(this.getRegisteredTools());
3735
3761
  return JSON.stringify(tools, null, 2);
3736
3762
  }
3763
+ case "get_goal": {
3764
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3765
+ return JSON.stringify(await manager.getSnapshot(), null, 2);
3766
+ }
3767
+ case "list_goal_templates": {
3768
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3769
+ return JSON.stringify(await manager.listTemplates(), null, 2);
3770
+ }
3771
+ case "create_goal": {
3772
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3773
+ const created = await manager.createGoal({
3774
+ objective: action.objective,
3775
+ tokenBudget: action.token_budget,
3776
+ timeBudgetSeconds: action.time_budget_seconds,
3777
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3778
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3779
+ });
3780
+ return formatGoalToolResult(created);
3781
+ }
3782
+ case "create_goal_from_template": {
3783
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3784
+ const resolution = await Promise.resolve().then(() => _interopRequireWildcard(require("./templates-ARG2VRWW.cjs"))).then((mod) => mod.resolveGoalTemplateByName(
3785
+ this.runtime.workspaceRoot,
3786
+ action.template,
3787
+ _nullishCoalesce(action.flags, () => ( {})),
3788
+ _nullishCoalesce(action.args, () => ( ""))
3789
+ ));
3790
+ if (!resolution.ok) {
3791
+ return `Error: ${"notTemplate" in resolution ? `Unknown goal template '${action.template}'.` : resolution.error}`;
3792
+ }
3793
+ const created = await manager.createGoal({
3794
+ objective: resolution.template.objective,
3795
+ tokenBudget: action.token_budget,
3796
+ timeBudgetSeconds: action.time_budget_seconds,
3797
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3798
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3799
+ }, { replace: true });
3800
+ return formatGoalToolResult(created);
3801
+ }
3802
+ case "update_goal": {
3803
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3804
+ const updated = await manager.updateGoal({
3805
+ objective: action.objective,
3806
+ status: parseGoalStatus(action.status),
3807
+ tokenBudget: action.token_budget,
3808
+ timeBudgetSeconds: action.time_budget_seconds,
3809
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3810
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3811
+ });
3812
+ return formatGoalToolResult(updated);
3813
+ }
3814
+ case "clear_goal": {
3815
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3816
+ return formatGoalToolResult(await manager.clearGoal());
3817
+ }
3818
+ case "enqueue_goal": {
3819
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3820
+ return formatGoalToolResult(await manager.enqueueGoal({
3821
+ objective: action.objective,
3822
+ source: "tool",
3823
+ tokenBudget: action.token_budget,
3824
+ timeBudgetSeconds: action.time_budget_seconds,
3825
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3826
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3827
+ }));
3828
+ }
3829
+ case "list_goal_queue": {
3830
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3831
+ const snapshot = await manager.getSnapshot();
3832
+ return JSON.stringify({ goal: snapshot.goal, queue: snapshot.queue }, null, 2);
3833
+ }
3834
+ case "start_queued_goal": {
3835
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3836
+ return formatGoalToolResult(await manager.startQueuedGoal());
3837
+ }
3838
+ case "dequeue_goal": {
3839
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3840
+ return formatGoalToolResult(await manager.dequeueGoal({
3841
+ rationale: action.rationale,
3842
+ authority: action.authority
3843
+ }));
3844
+ }
3845
+ case "remove_queued_goal": {
3846
+ const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3847
+ const queueId = _nullishCoalesce(action.queueId, () => ( action.queue_id));
3848
+ if (!queueId) return "Error: remove_queued_goal requires queueId.";
3849
+ return formatGoalToolResult(await manager.removeQueuedGoal(queueId));
3850
+ }
3737
3851
  case "tool_search": {
3738
- const query = _optionalChain([action, 'access', _56 => _56.query, 'optionalAccess', _57 => _57.trim, 'call', _58 => _58()]);
3852
+ const query = _optionalChain([action, 'access', _60 => _60.query, 'optionalAccess', _61 => _61.trim, 'call', _62 => _62()]);
3739
3853
  if (!query) {
3740
3854
  throw new Error('tool_search requires a non-empty "query" argument.');
3741
3855
  }
@@ -3791,10 +3905,10 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3791
3905
  console.log(_chalk2.default.cyan(`
3792
3906
  \u{1F5D1}\uFE0F ${action.path}:`));
3793
3907
  this.showDiff(oldDeleteContent, "", action.path);
3794
- _optionalChain([this, 'access', _59 => _59.onFileModified, 'optionalCall', _60 => _60(action.path, "delete")]);
3908
+ _optionalChain([this, 'access', _63 => _63.onFileModified, 'optionalCall', _64 => _64(action.path, "delete")]);
3795
3909
  return this.formatDiffPreview(oldDeleteContent, "", action.path);
3796
3910
  }
3797
- _optionalChain([this, 'access', _61 => _61.onFileModified, 'optionalCall', _62 => _62(action.path, "delete")]);
3911
+ _optionalChain([this, 'access', _65 => _65.onFileModified, 'optionalCall', _66 => _66(action.path, "delete")]);
3798
3912
  return `Deleted directory ${action.path}`;
3799
3913
  }
3800
3914
  case "rename_path": {
@@ -3802,7 +3916,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3802
3916
  throw new Error('rename_path requires "from" and "to" arguments.');
3803
3917
  }
3804
3918
  await this.files.renamePath(action.from, action.to);
3805
- _optionalChain([this, 'access', _63 => _63.onFileModified, 'optionalCall', _64 => _64(action.to, "create")]);
3919
+ _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.to, "create")]);
3806
3920
  return `Renamed ${action.from} -> ${action.to}`;
3807
3921
  }
3808
3922
  case "copy_path": {
@@ -3810,7 +3924,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3810
3924
  throw new Error('copy_path requires "from" and "to" arguments.');
3811
3925
  }
3812
3926
  await this.files.copyPath(action.from, action.to);
3813
- _optionalChain([this, 'access', _65 => _65.onFileModified, 'optionalCall', _66 => _66(action.to, "create")]);
3927
+ _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.to, "create")]);
3814
3928
  return `Copied ${action.from} -> ${action.to}`;
3815
3929
  }
3816
3930
  case "search_replace": {
@@ -3827,7 +3941,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3827
3941
  \u{1F504} ${action.path}:`));
3828
3942
  this.showDiff(content, result, action.path);
3829
3943
  await this.files.writeFile(action.path, result);
3830
- _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.path, "modify")]);
3944
+ _optionalChain([this, 'access', _71 => _71.onFileModified, 'optionalCall', _72 => _72(action.path, "modify")]);
3831
3945
  return this.formatDiffPreview(content, result, action.path);
3832
3946
  }
3833
3947
  return `No changes needed for ${action.path} (content identical)`;
@@ -3843,7 +3957,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3843
3957
  console.log(_chalk2.default.cyan(`
3844
3958
  \u{1F3A8} ${action.path}:`));
3845
3959
  this.showDiff(oldFormatContent, newFormatContent, action.path);
3846
- _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.path, "modify")]);
3960
+ _optionalChain([this, 'access', _73 => _73.onFileModified, 'optionalCall', _74 => _74(action.path, "modify")]);
3847
3961
  return this.formatDiffPreview(oldFormatContent, newFormatContent, action.path);
3848
3962
  }
3849
3963
  return `No changes needed (already formatted): ${action.path}`;
@@ -3853,15 +3967,15 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3853
3967
  return 'Error: run_command requires a "command" argument (string)';
3854
3968
  }
3855
3969
  const shouldStreamOutput = Boolean(
3856
- this.onToolOutput && _optionalChain([context, 'optionalAccess', _71 => _71.toolCallId]) && !action.background && process.env.AUTOHAND_STREAM_TOOL_OUTPUT === "1"
3970
+ this.onToolOutput && _optionalChain([context, 'optionalAccess', _75 => _75.toolCallId]) && !action.background && process.env.AUTOHAND_STREAM_TOOL_OUTPUT === "1"
3857
3971
  );
3858
3972
  const emitOutput = (stream, data) => {
3859
3973
  if (!shouldStreamOutput) {
3860
3974
  return;
3861
3975
  }
3862
- _optionalChain([this, 'access', _72 => _72.onToolOutput, 'optionalCall', _73 => _73({
3976
+ _optionalChain([this, 'access', _76 => _76.onToolOutput, 'optionalCall', _77 => _77({
3863
3977
  tool: action.type,
3864
- toolCallId: _optionalChain([context, 'optionalAccess', _74 => _74.toolCallId]),
3978
+ toolCallId: _optionalChain([context, 'optionalAccess', _78 => _78.toolCallId]),
3865
3979
  stream,
3866
3980
  data
3867
3981
  })]);
@@ -3903,6 +4017,14 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3903
4017
  }
3904
4018
  let result;
3905
4019
  const shellCmd = cmdStr;
4020
+ const liveCommandId = !action.background && this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _79 => _79.onLiveCommandStart, 'optionalCall', _80 => _80(cmdStr)]) : void 0;
4021
+ const hasLiveDisplay = Boolean(liveCommandId);
4022
+ const emitLiveOutput = (stream, data) => {
4023
+ if (!hasLiveDisplay || !liveCommandId) {
4024
+ return;
4025
+ }
4026
+ _optionalChain([this, 'access', _81 => _81.onLiveCommandOutput, 'optionalCall', _82 => _82(liveCommandId, stream, data)]);
4027
+ };
3906
4028
  try {
3907
4029
  result = await _chunkWTB7AFL6cjs.runCommand.call(void 0,
3908
4030
  shellCmd,
@@ -3912,11 +4034,23 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3912
4034
  directory: action.directory,
3913
4035
  background: action.background,
3914
4036
  shell: true,
3915
- onStdout: (chunk) => emitOutput("stdout", chunk),
3916
- onStderr: (chunk) => emitOutput("stderr", chunk)
4037
+ onStdout: (chunk) => {
4038
+ emitOutput("stdout", chunk);
4039
+ emitLiveOutput("stdout", chunk);
4040
+ },
4041
+ onStderr: (chunk) => {
4042
+ emitOutput("stderr", chunk);
4043
+ emitLiveOutput("stderr", chunk);
4044
+ }
3917
4045
  }
3918
4046
  );
4047
+ if (liveCommandId) {
4048
+ _optionalChain([this, 'access', _83 => _83.onLiveCommandRemove, 'optionalCall', _84 => _84(liveCommandId)]);
4049
+ }
3919
4050
  } catch (err) {
4051
+ if (liveCommandId) {
4052
+ _optionalChain([this, 'access', _85 => _85.onLiveCommandRemove, 'optionalCall', _86 => _86(liveCommandId)]);
4053
+ }
3920
4054
  const error = err;
3921
4055
  if (error.code === "ENOENT" || error.message.includes("Command not found")) {
3922
4056
  return `Error: Command not found: "${action.command}". Make sure it is installed and available on your PATH.`;
@@ -3941,7 +4075,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3941
4075
  return 'Error: shell requires a "command" argument (string)';
3942
4076
  }
3943
4077
  const cmdStr = `${action.command} ${(_nullishCoalesce(action.args, () => ( []))).join(" ")}`.trim();
3944
- const commandId = _optionalChain([this, 'access', _75 => _75.onLiveCommandStart, 'optionalCall', _76 => _76(cmdStr)]);
4078
+ const commandId = this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _87 => _87.onLiveCommandStart, 'optionalCall', _88 => _88(cmdStr)]) : void 0;
3945
4079
  const hasLiveDisplay = Boolean(commandId);
3946
4080
  if (hasLiveDisplay) {
3947
4081
  const liveId = commandId;
@@ -4012,7 +4146,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4012
4146
  console.log(_chalk2.default.cyan(`
4013
4147
  \u{1F4E6} package.json:`));
4014
4148
  this.showDiff(oldPkgAdd, newPkgAdd, "package.json");
4015
- _optionalChain([this, 'access', _77 => _77.onFileModified, 'optionalCall', _78 => _78("package.json", "modify")]);
4149
+ _optionalChain([this, 'access', _89 => _89.onFileModified, 'optionalCall', _90 => _90("package.json", "modify")]);
4016
4150
  return this.formatDiffPreview(oldPkgAdd, newPkgAdd, "package.json");
4017
4151
  }
4018
4152
  return `Added dependency ${action.name}@${action.version}${action.dev ? " (dev)" : ""}`;
@@ -4027,7 +4161,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4027
4161
  console.log(_chalk2.default.cyan(`
4028
4162
  \u{1F4E6} package.json:`));
4029
4163
  this.showDiff(oldPkgRm, newPkgRm, "package.json");
4030
- _optionalChain([this, 'access', _79 => _79.onFileModified, 'optionalCall', _80 => _80("package.json", "modify")]);
4164
+ _optionalChain([this, 'access', _91 => _91.onFileModified, 'optionalCall', _92 => _92("package.json", "modify")]);
4031
4165
  return this.formatDiffPreview(oldPkgRm, newPkgRm, "package.json");
4032
4166
  }
4033
4167
  return `Removed dependency ${action.name}${action.dev ? " (dev)" : ""}`;
@@ -4073,7 +4207,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4073
4207
  console.log(_chalk2.default.cyan(`
4074
4208
  \u21A9\uFE0F ${action.path}:`));
4075
4209
  this.showDiff(oldCheckoutContent, newCheckoutContent, action.path);
4076
- _optionalChain([this, 'access', _81 => _81.onFileModified, 'optionalCall', _82 => _82(action.path, "modify")]);
4210
+ _optionalChain([this, 'access', _93 => _93.onFileModified, 'optionalCall', _94 => _94(action.path, "modify")]);
4077
4211
  return this.formatDiffPreview(oldCheckoutContent, newCheckoutContent, action.path);
4078
4212
  }
4079
4213
  return `Restored ${action.path} from git (no changes).`;
@@ -4369,7 +4503,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4369
4503
  { label: "No - cancel commit", value: "n" }
4370
4504
  ];
4371
4505
  const runModal = async () => {
4372
- const modalResult = await _chunkCH2J4PVEcjs.showModal.call(void 0, {
4506
+ const modalResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
4373
4507
  title: `Commit with this message?
4374
4508
 
4375
4509
  "${commitMessage}"`,
@@ -4379,7 +4513,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4379
4513
  return { cancelled: true, editedMessage: null };
4380
4514
  }
4381
4515
  if (modalResult.value === "e") {
4382
- const editedMessage = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4516
+ const editedMessage = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4383
4517
  title: "Enter commit message:",
4384
4518
  defaultValue: commitMessage
4385
4519
  });
@@ -4502,7 +4636,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4502
4636
  if (oldContent !== newContent) {
4503
4637
  this.showDiff(oldContent, newContent, action.file_path);
4504
4638
  await this.files.writeFile(action.file_path, newContent);
4505
- _optionalChain([this, 'access', _83 => _83.onFileModified, 'optionalCall', _84 => _84(action.file_path, "modify")]);
4639
+ _optionalChain([this, 'access', _95 => _95.onFileModified, 'optionalCall', _96 => _96(action.file_path, "modify")]);
4506
4640
  return this.formatDiffPreview(oldContent, newContent, action.file_path);
4507
4641
  }
4508
4642
  return `No changes needed for ${action.file_path} (content identical)`;
@@ -4536,7 +4670,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4536
4670
  });
4537
4671
  const allTodos = normalizedTasks;
4538
4672
  await this.files.writeFile(todoPath, JSON.stringify(allTodos, null, 2));
4539
- _optionalChain([this, 'access', _85 => _85.onFileModified, 'optionalCall', _86 => _86(todoPath, "modify")]);
4673
+ _optionalChain([this, 'access', _97 => _97.onFileModified, 'optionalCall', _98 => _98(todoPath, "modify")]);
4540
4674
  const total = allTodos.length;
4541
4675
  if (total === 0) {
4542
4676
  console.log(_chalk2.default.dim("\n\u{1F4CB} Task list cleared"));
@@ -4617,7 +4751,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4617
4751
  scope: _nullishCoalesce(action.scope, () => ( "user"))
4618
4752
  }, this.getRegisteredTools());
4619
4753
  const metaTool = result.definition;
4620
- _optionalChain([this, 'access', _87 => _87.onMetaToolCreated, 'optionalCall', _88 => _88(metaTool)]);
4754
+ _optionalChain([this, 'access', _99 => _99.onMetaToolCreated, 'optionalCall', _100 => _100(metaTool)]);
4621
4755
  console.log(_chalk2.default.green(`
4622
4756
  \u{1F527} ${result.status === "created" ? "Created" : "Reused"} meta-tool: ${metaTool.name}`));
4623
4757
  console.log(_chalk2.default.gray(` ${action.description}`));
@@ -4718,7 +4852,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4718
4852
  const query = _nullishCoalesce(action.query, () => ( ""));
4719
4853
  console.log(_chalk2.default.cyan(`
4720
4854
  Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...`));
4721
- const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-GGMZOVIE.cjs")));
4855
+ const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-ZROBG3RZ.cjs")));
4722
4856
  const result = await searchCommunitySkills(query, {
4723
4857
  category: action.category,
4724
4858
  limit: action.limit
@@ -4744,17 +4878,17 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4744
4878
  label: `${options.length + 1}. Other (type your own answer)`,
4745
4879
  value: "__other__"
4746
4880
  });
4747
- const result = await _chunkCH2J4PVEcjs.showModal.call(void 0, {
4881
+ const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
4748
4882
  title: "Select an answer:",
4749
4883
  options
4750
4884
  });
4751
- const selected = _optionalChain([result, 'optionalAccess', _89 => _89.value]);
4885
+ const selected = _optionalChain([result, 'optionalAccess', _101 => _101.value]);
4752
4886
  if (!selected) {
4753
4887
  console.log(_chalk2.default.yellow("\nAnswer cancelled.\n"));
4754
4888
  return "<answer>No answer provided</answer>";
4755
4889
  }
4756
4890
  if (selected === "__other__") {
4757
- const answer = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4891
+ const answer = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4758
4892
  title: "Your answer:"
4759
4893
  });
4760
4894
  if (!answer) {
@@ -4771,7 +4905,7 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4771
4905
  `));
4772
4906
  return `<answer>${selected}</answer>`;
4773
4907
  } else {
4774
- const answer = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4908
+ const answer = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4775
4909
  title: "Your answer:"
4776
4910
  });
4777
4911
  const finalAnswer = answer || "No answer provided";
@@ -4890,7 +5024,7 @@ Or restart with:
4890
5024
  async executeCodeReview(action) {
4891
5025
  const targetPath = action.path ? this.resolveWorkspacePath(action.path) : this.runtime.workspaceRoot;
4892
5026
  const scope = action.scope || "full";
4893
- await _optionalChain([this, 'access', _90 => _90.onReviewHook, 'optionalCall', _91 => _91("review:start", {
5027
+ await _optionalChain([this, 'access', _102 => _102.onReviewHook, 'optionalCall', _103 => _103("review:start", {
4894
5028
  reviewPath: targetPath,
4895
5029
  reviewScope: scope,
4896
5030
  reviewInstructions: action.instructions
@@ -4905,7 +5039,7 @@ Or restart with:
4905
5039
  cwd: this.runtime.workspaceRoot,
4906
5040
  encoding: "utf8"
4907
5041
  }).catch(() => null);
4908
- context = _optionalChain([result2, 'optionalAccess', _92 => _92.stdout]) || "No uncommitted changes found.";
5042
+ context = _optionalChain([result2, 'optionalAccess', _104 => _104.stdout]) || "No uncommitted changes found.";
4909
5043
  } else if (scope === "file" && action.path) {
4910
5044
  const fse = (await Promise.resolve().then(() => _interopRequireWildcard(require("fs-extra")))).default;
4911
5045
  context = await fse.readFile(targetPath, "utf-8").catch(() => `Could not read ${targetPath}`);
@@ -4929,7 +5063,7 @@ Or restart with:
4929
5063
  cwd: this.runtime.workspaceRoot,
4930
5064
  encoding: "utf8"
4931
5065
  }).catch(() => null);
4932
- context = _optionalChain([tree, 'optionalAccess', _93 => _93.stdout]) || "";
5066
+ context = _optionalChain([tree, 'optionalAccess', _105 => _105.stdout]) || "";
4933
5067
  }
4934
5068
  const result = [
4935
5069
  `Code review initiated for: ${targetPath}`,
@@ -4939,7 +5073,7 @@ Or restart with:
4939
5073
  "Project structure:",
4940
5074
  context.slice(0, 5e3)
4941
5075
  ].filter(Boolean).join("\n");
4942
- await _optionalChain([this, 'access', _94 => _94.onReviewHook, 'optionalCall', _95 => _95("review:completed", {
5076
+ await _optionalChain([this, 'access', _106 => _106.onReviewHook, 'optionalCall', _107 => _107("review:completed", {
4943
5077
  reviewPath: targetPath,
4944
5078
  reviewScope: scope,
4945
5079
  reviewInstructions: action.instructions
@@ -4947,7 +5081,7 @@ Or restart with:
4947
5081
  return result;
4948
5082
  } catch (error) {
4949
5083
  const message = error instanceof Error ? error.message : String(error);
4950
- await _optionalChain([this, 'access', _96 => _96.onReviewHook, 'optionalCall', _97 => _97("review:failed", {
5084
+ await _optionalChain([this, 'access', _108 => _108.onReviewHook, 'optionalCall', _109 => _109("review:failed", {
4951
5085
  reviewPath: targetPath,
4952
5086
  reviewScope: scope,
4953
5087
  reviewInstructions: action.instructions,
@@ -4969,7 +5103,7 @@ Or restart with:
4969
5103
  * Identifies imports, classes, functions, and key sections with line numbers.
4970
5104
  */
4971
5105
  extractFileOutline(lines, filePath) {
4972
- const ext = _optionalChain([filePath, 'access', _98 => _98.split, 'call', _99 => _99("."), 'access', _100 => _100.pop, 'call', _101 => _101(), 'optionalAccess', _102 => _102.toLowerCase, 'call', _103 => _103()]) || "";
5106
+ const ext = _optionalChain([filePath, 'access', _110 => _110.split, 'call', _111 => _111("."), 'access', _112 => _112.pop, 'call', _113 => _113(), 'optionalAccess', _114 => _114.toLowerCase, 'call', _115 => _115()]) || "";
4973
5107
  const outline = [];
4974
5108
  const patterns = {
4975
5109
  ts: [
@@ -5129,11 +5263,11 @@ ${hit.snippet}`).join("\n\n");
5129
5263
  const sorted = withStats.map((s) => s.file);
5130
5264
  const limited = sorted.slice(0, limit);
5131
5265
  const header = `Found ${files.length} file${files.length === 1 ? "" : "s"}${files.length > limit ? ` (showing first ${limit})` : ""}`;
5132
- this.recordExploration("list", _nullishCoalesce(_nullishCoalesce(action.pattern, () => ( _optionalChain([action, 'access', _104 => _104.patterns, 'optionalAccess', _105 => _105.join, 'call', _106 => _106(", ")]))), () => ( "*")));
5266
+ this.recordExploration("list", _nullishCoalesce(_nullishCoalesce(action.pattern, () => ( _optionalChain([action, 'access', _116 => _116.patterns, 'optionalAccess', _117 => _117.join, 'call', _118 => _118(", ")]))), () => ( "*")));
5133
5267
  return `${header}
5134
5268
  ${limited.join("\n")}`;
5135
5269
  } catch (error) {
5136
- const exitCode = _optionalChain([error, 'optionalAccess', _107 => _107.code]);
5270
+ const exitCode = _optionalChain([error, 'optionalAccess', _119 => _119.code]);
5137
5271
  if (exitCode === 1 || exitCode === "1") {
5138
5272
  return "No files found matching the pattern.";
5139
5273
  }
@@ -5172,7 +5306,7 @@ ${limited.join("\n")}`;
5172
5306
  if (!target) {
5173
5307
  return;
5174
5308
  }
5175
- _optionalChain([this, 'access', _108 => _108.logExploration, 'optionalCall', _109 => _109({ kind, target })]);
5309
+ _optionalChain([this, 'access', _120 => _120.logExploration, 'optionalCall', _121 => _121({ kind, target })]);
5176
5310
  }
5177
5311
  async executeCustomCommand(action) {
5178
5312
  const existing = await loadCustomCommand(action.name);
@@ -5398,10 +5532,10 @@ ${limited.join("\n")}`;
5398
5532
  const colorizedLines = [];
5399
5533
  let additions = 0;
5400
5534
  let deletions = 0;
5401
- const addedColor = _optionalChain([theme, 'optionalAccess', _110 => _110.getColor, 'call', _111 => _111("diffAdded")]) || "#4caf50";
5402
- const removedColor = _optionalChain([theme, 'optionalAccess', _112 => _112.getColor, 'call', _113 => _113("diffRemoved")]) || "#f44336";
5403
- const contextColor = _optionalChain([theme, 'optionalAccess', _114 => _114.getColor, 'call', _115 => _115("diffContext")]) || "#9e9e9e";
5404
- const accentColor = _optionalChain([theme, 'optionalAccess', _116 => _116.getColor, 'call', _117 => _117("accent")]) || "#00bcd4";
5535
+ const addedColor = _optionalChain([theme, 'optionalAccess', _122 => _122.getColor, 'call', _123 => _123("diffAdded")]) || "#4caf50";
5536
+ const removedColor = _optionalChain([theme, 'optionalAccess', _124 => _124.getColor, 'call', _125 => _125("diffRemoved")]) || "#f44336";
5537
+ const contextColor = _optionalChain([theme, 'optionalAccess', _126 => _126.getColor, 'call', _127 => _127("diffContext")]) || "#9e9e9e";
5538
+ const accentColor = _optionalChain([theme, 'optionalAccess', _128 => _128.getColor, 'call', _129 => _129("accent")]) || "#00bcd4";
5405
5539
  const addedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, addedColor);
5406
5540
  const removedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, removedColor);
5407
5541
  const addBgR = addedRgb ? Math.floor(addedRgb.r * 0.15) : 30;
@@ -5611,6 +5745,26 @@ ${limited.join("\n")}`;
5611
5745
  return outputLines.join("\n");
5612
5746
  }
5613
5747
  }, _class3.__initStatic(), _class3);
5748
+ function parseGoalStatus(value) {
5749
+ if (!value) return void 0;
5750
+ if (value === "active" || value === "paused" || value === "complete" || value === "budgetLimited") {
5751
+ return value;
5752
+ }
5753
+ return void 0;
5754
+ }
5755
+ function formatGoalToolResult(result) {
5756
+ return JSON.stringify({
5757
+ ok: result.ok,
5758
+ message: result.message,
5759
+ goal: result.goal,
5760
+ queue: result.queue,
5761
+ queued: result.queued,
5762
+ started: result.started,
5763
+ dequeued: result.dequeued,
5764
+ removed: result.removed,
5765
+ telemetry: result.telemetry
5766
+ }, null, 2);
5767
+ }
5614
5768
 
5615
5769
 
5616
5770
 
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZK6HOR62.js";
7
7
  import {
8
8
  t
9
- } from "./chunk-CBFH2J3O.js";
9
+ } from "./chunk-LEZEWKPA.js";
10
10
 
11
11
  // src/commands/clear.ts
12
12
  import chalk from "chalk";