autohand-cli 0.9.0 → 0.9.2

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 (455) hide show
  1. package/README.md +118 -76
  2. package/dist/AgentRegistry-BBQRODQC.cjs +18 -0
  3. package/dist/AgentRegistry-JBXZUPML.js +18 -0
  4. package/dist/{CommunitySkillsCache-ZEQWP6YM.js → CommunitySkillsCache-CI7UN2DX.js} +2 -2
  5. package/dist/CommunitySkillsCache-XTQ6RMTA.cjs +8 -0
  6. package/dist/{HookManager-CWLTFKWO.js → HookManager-BELBPQQI.js} +1 -1
  7. package/dist/{HookManager-TMAJQU4S.cjs → HookManager-ZL2CLAJW.cjs} +2 -2
  8. package/dist/{ImportWizard-MQXEED2U.cjs → ImportWizard-U6CIJREW.cjs} +13 -13
  9. package/dist/{ImportWizard-QBKQEXDW.js → ImportWizard-VJFSWSUQ.js} +4 -4
  10. package/dist/LearnAdvisor-LAURA3IB.cjs +9 -0
  11. package/dist/LearnAdvisor-RFOBXFG7.js +9 -0
  12. package/dist/MemoryManager-3A2VRPF2.js +9 -0
  13. package/dist/MemoryManager-UOEQZIDC.cjs +9 -0
  14. package/dist/{NVIDIAProvider-2HR737UE.js → NVIDIAProvider-AFNJNWJM.js} +1 -1
  15. package/dist/NVIDIAProvider-L5GTYRCQ.cjs +14 -0
  16. package/dist/{PermissionManager-KMYILJ4Z.js → PermissionManager-N2LDSOYF.js} +3 -3
  17. package/dist/PermissionManager-ZNURIEYR.cjs +11 -0
  18. package/dist/ProviderFactory-3BFS65V7.cjs +13 -0
  19. package/dist/{ProviderFactory-HFPRVQ25.js → ProviderFactory-XUT6BSGB.js} +4 -2
  20. package/dist/SessionManager-LGPQIA57.cjs +10 -0
  21. package/dist/{SessionManager-PNBTJJTQ.js → SessionManager-OR4KDDDS.js} +2 -2
  22. package/dist/{SkillsRegistry-4RRD5GMX.js → SkillsRegistry-IL3GWROU.js} +2 -2
  23. package/dist/SkillsRegistry-PM34DQNA.cjs +9 -0
  24. package/dist/SubAgent-2WG4QQB5.cjs +13 -0
  25. package/dist/SubAgent-ICGN23TQ.js +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-OYVGQMJJ.js} +5 -4
  29. package/dist/about-U2BH7HDR.cjs +15 -0
  30. package/dist/{acp-VHEL7BOW.js → acp-JWHGXZL5.js} +207 -102
  31. package/dist/{acp-EOETGAHC.cjs → acp-S37JOBCS.cjs} +226 -121
  32. package/dist/actionExecutor-2QEPMELQ.cjs +28 -0
  33. package/dist/actionExecutor-6NCCORRB.js +28 -0
  34. package/dist/add-dir-KFUHSIR2.cjs +11 -0
  35. package/dist/{add-dir-VFX7QT4E.js → add-dir-MM2BM2Z2.js} +2 -2
  36. package/dist/agent-DUIYLIVN.js +132 -0
  37. package/dist/agent-YYEHGDAK.cjs +132 -0
  38. package/dist/agents-GBGG4CW7.cjs +19 -0
  39. package/dist/agents-ZH34C72F.js +19 -0
  40. package/dist/agents-new-ERXLS7SB.cjs +17 -0
  41. package/dist/agents-new-EVTGPTA4.js +17 -0
  42. package/dist/{autoSkill-EFMK6WU6.js → autoSkill-HEWKJ5JV.js} +2 -2
  43. package/dist/autoSkill-YL6PN6AV.cjs +20 -0
  44. package/dist/automode-4BJ7FNPL.cjs +10 -0
  45. package/dist/{automode-BMYSRM34.js → automode-S4U7A7Q2.js} +2 -2
  46. package/dist/chrome-45ZXHL5N.cjs +22 -0
  47. package/dist/{chrome-NHJ44WUN.js → chrome-BBSRVG6S.js} +2 -2
  48. package/dist/chrome-IFVZRHAT.cjs +50 -0
  49. package/dist/chrome-MYE6DNA2.js +22 -0
  50. package/dist/chunk-24CEJYEG.cjs +579 -0
  51. package/dist/{chunk-47PHDKNW.cjs → chunk-255GIVM2.cjs} +6 -6
  52. package/dist/{chunk-DIZTWFVR.cjs → chunk-2BDSR2OW.cjs} +238 -61
  53. package/dist/{chunk-BL2UC7HC.js → chunk-2BPIR7LA.js} +121 -4
  54. package/dist/{chunk-BQ22N3TX.cjs → chunk-2NY7OHBF.cjs} +47 -27
  55. package/dist/chunk-2WUNHTXL.js +303 -0
  56. package/dist/{chunk-HQWQZML5.cjs → chunk-34B6ZO6W.cjs} +124 -7
  57. package/dist/{chunk-5JTTM5SC.js → chunk-3BJN7GAH.js} +1 -1
  58. package/dist/{chunk-4256YRCO.cjs → chunk-3CAXECWJ.cjs} +30 -17
  59. package/dist/{chunk-KNTUI4TZ.cjs → chunk-3CBYUBZC.cjs} +5 -5
  60. package/dist/chunk-3DF3GZQ7.js +277 -0
  61. package/dist/{chunk-E26KKI46.cjs → chunk-3JURXAL6.cjs} +61 -8
  62. package/dist/{chunk-MOJ7ADW4.cjs → chunk-3KWAP2Y3.cjs} +88 -9
  63. package/dist/{chunk-OHWMWKJQ.js → chunk-3MCK6UBL.js} +1 -1
  64. package/dist/{chunk-5VHP6HDQ.js → chunk-3TH7IK4M.js} +62 -9
  65. package/dist/{chunk-ACDQGA4Z.js → chunk-3V77OB3W.js} +7 -72
  66. package/dist/{chunk-HS4USDND.cjs → chunk-3Y5UEK7K.cjs} +4 -4
  67. package/dist/{chunk-XV2HXRHX.js → chunk-4GPPSBEZ.js} +3 -3
  68. package/dist/chunk-5CMBAJ6K.js +377 -0
  69. package/dist/{chunk-MO4KP6XS.cjs → chunk-5YRXFBYZ.cjs} +35 -6
  70. package/dist/chunk-5ZNYX4VH.cjs +71 -0
  71. package/dist/chunk-6AC2TT26.js +156 -0
  72. package/dist/{chunk-UGFVM77J.cjs → chunk-6EIQ6A6U.cjs} +2 -2
  73. package/dist/{chunk-SWCQM52V.js → chunk-6HSEDXVF.js} +4 -4
  74. package/dist/{chunk-QQ7PANOP.js → chunk-6NUXK62F.js} +1 -1
  75. package/dist/{chunk-5CMYEM3R.cjs → chunk-6TGCAPYH.cjs} +62 -9
  76. package/dist/{chunk-NMQ47RCG.js → chunk-6W3SZCSP.js} +1 -1
  77. package/dist/{chunk-VRMZO6TB.js → chunk-73LV3DDZ.js} +7 -6
  78. package/dist/{chunk-3GUEUCZK.js → chunk-7BGGLIQF.js} +85 -1
  79. package/dist/{chunk-RBHANOYY.js → chunk-7DJJGKM6.js} +47 -3
  80. package/dist/{chunk-LQBONA55.cjs → chunk-7EEK7CRR.cjs} +85 -1
  81. package/dist/chunk-7TO3PDMV.cjs +324 -0
  82. package/dist/chunk-7UU22RSH.cjs +277 -0
  83. package/dist/{chunk-E6GFD7VR.cjs → chunk-A3GAM6FM.cjs} +11 -11
  84. package/dist/{chunk-DEQVRSV5.cjs → chunk-A7DJU75T.cjs} +8 -8
  85. package/dist/{chunk-DPSIGY6L.cjs → chunk-AAAO4ERQ.cjs} +9 -9
  86. package/dist/{chunk-FQAVGSPW.js → chunk-AAJLMP57.js} +2 -2
  87. package/dist/chunk-ABR756QN.js +529 -0
  88. package/dist/{chunk-JYKPWK5O.js → chunk-APFGDIPD.js} +3 -1
  89. package/dist/{chunk-Y3M2DABP.js → chunk-APQYRMYL.js} +4 -4
  90. package/dist/{chunk-Q2IL4DDI.cjs → chunk-AZKOIF2G.cjs} +62 -19
  91. package/dist/{chunk-MXVIDIC6.cjs → chunk-AZLHUPNC.cjs} +2 -2
  92. package/dist/chunk-B55VCYSQ.cjs +30 -0
  93. package/dist/{chunk-WZV6UVPY.js → chunk-BLQUMSM3.js} +1 -1
  94. package/dist/{chunk-PHJO5YAL.cjs → chunk-BXKPX6K4.cjs} +9 -9
  95. package/dist/{chunk-3KLSNNRW.cjs → chunk-C66FN2LP.cjs} +4 -4
  96. package/dist/{chunk-OV3PVUYN.js → chunk-CH7KUFAS.js} +9 -9
  97. package/dist/{chunk-CWINVFRI.cjs → chunk-CILSXOPI.cjs} +17 -17
  98. package/dist/{chunk-3UT7R3XV.js → chunk-CM24K6ZT.js} +145 -12
  99. package/dist/chunk-CMEZ42F2.cjs +303 -0
  100. package/dist/{chunk-46C73ZKK.cjs → chunk-CNQKIWIS.cjs} +152 -19
  101. package/dist/{chunk-5JFTY3VU.js → chunk-CSTUTDTH.js} +2 -1
  102. package/dist/{chunk-REMGR23V.cjs → chunk-CSUGNNJY.cjs} +10 -4
  103. package/dist/{chunk-TBOLJDUG.js → chunk-D6HB3H3L.js} +31 -11
  104. package/dist/{chunk-OM24WXEE.js → chunk-D7AYKVKW.js} +2 -2
  105. package/dist/{chunk-6GUODJKM.cjs → chunk-DLCXWOWT.cjs} +23 -23
  106. package/dist/{chunk-CH2J4PVE.cjs → chunk-DMM2BKSV.cjs} +121 -28
  107. package/dist/{chunk-M4KNC5BQ.js → chunk-DW3DPV77.js} +1 -1
  108. package/dist/chunk-ECQD2QC3.cjs +33 -0
  109. package/dist/{chunk-UEIXJG45.js → chunk-EEYOS3UC.js} +116 -80
  110. package/dist/{chunk-7HPWMALN.js → chunk-EF2EN5CR.js} +2 -2
  111. package/dist/{chunk-7LWQCE4Y.cjs → chunk-EFXFURDY.cjs} +192 -58
  112. package/dist/chunk-EK34UZPB.cjs +40 -0
  113. package/dist/{chunk-7JLT2VNW.cjs → chunk-FJR6EZLO.cjs} +9666 -7201
  114. package/dist/{chunk-GZ6DV2UG.js → chunk-FPO7YNPQ.js} +1 -1
  115. package/dist/{chunk-O64I2GYI.js → chunk-FS4I6BNR.js} +1 -1
  116. package/dist/{chunk-MX75JYIY.js → chunk-FSJ2MNOC.js} +3 -3
  117. package/dist/{chunk-7RFJB75Y.js → chunk-GEHZMC4G.js} +11 -8
  118. package/dist/{chunk-UWFG2R2I.cjs → chunk-GO6C2RAR.cjs} +36 -9
  119. package/dist/{chunk-WGLBC5AY.cjs → chunk-GSMR6V36.cjs} +4 -4
  120. package/dist/{chunk-Z3XSSF7B.js → chunk-GSZWATME.js} +1 -1
  121. package/dist/{chunk-7MU7LWF3.cjs → chunk-GYLGCR6F.cjs} +5 -5
  122. package/dist/{chunk-O6TQP7U7.cjs → chunk-H3OOWNYQ.cjs} +3 -3
  123. package/dist/{chunk-2QL6MNXG.js → chunk-H65446XW.js} +115 -20
  124. package/dist/chunk-H7HXRRHK.js +324 -0
  125. package/dist/{chunk-ZZ63NW7A.cjs → chunk-HN2JTDN5.cjs} +17 -17
  126. package/dist/{chunk-AOKCI722.cjs → chunk-HNXUZ5OY.cjs} +2 -2
  127. package/dist/{chunk-AUYSIEVV.cjs → chunk-HOYT3E65.cjs} +3 -3
  128. package/dist/{chunk-DMRXF5DU.js → chunk-HTPY5ESD.js} +3 -3
  129. package/dist/chunk-HTU4W3GB.js +183 -0
  130. package/dist/{chunk-3DDL2E55.cjs → chunk-HVLWH2AF.cjs} +10 -10
  131. package/dist/{chunk-HSCUPEA4.cjs → chunk-HZTEU4W5.cjs} +74 -105
  132. package/dist/{chunk-XGMI6IYB.cjs → chunk-I5T7LPFP.cjs} +7 -7
  133. package/dist/{chunk-XIVFAD2L.js → chunk-IB5CJXE7.js} +173 -12
  134. package/dist/chunk-INNXFLDR.cjs +388 -0
  135. package/dist/{chunk-75EDROHL.cjs → chunk-JFLEP3T7.cjs} +10 -10
  136. package/dist/chunk-JJGDOBFL.js +40 -0
  137. package/dist/{chunk-VBOFPU5M.cjs → chunk-JM3ZTQUK.cjs} +13 -9
  138. package/dist/{chunk-HJIXWGQZ.js → chunk-JSU46T6K.js} +1 -1
  139. package/dist/{chunk-AT7OWLY5.js → chunk-K6WN6BT4.js} +1 -1
  140. package/dist/{chunk-LN7D3EJZ.js → chunk-KA2U6MY2.js} +4 -3
  141. package/dist/{chunk-3S563FNF.cjs → chunk-KIQH3SMT.cjs} +34 -31
  142. package/dist/{chunk-BWF4VDYE.js → chunk-KPRXHIE2.js} +54 -85
  143. package/dist/{chunk-Z4LIPMPM.js → chunk-L6OH44HL.js} +13 -9
  144. package/dist/{chunk-A7HHCIDQ.js → chunk-LIO3RX2Z.js} +2 -2
  145. package/dist/{chunk-DLP436GI.js → chunk-LOSXLH7P.js} +110 -17
  146. package/dist/{chunk-IEXKKKOF.cjs → chunk-LSOR72PB.cjs} +23 -23
  147. package/dist/{chunk-IAGCRVJ3.js → chunk-MA3AVDCC.js} +55 -12
  148. package/dist/{chunk-B5CGDNMR.js → chunk-ME3S2WIR.js} +3 -3
  149. package/dist/{chunk-HKYZSUQ5.js → chunk-NC2I2M4P.js} +4 -4
  150. package/dist/{chunk-GBMDFWJX.cjs → chunk-NC4A4LVC.cjs} +13 -13
  151. package/dist/{chunk-E46DJH5S.js → chunk-NGEK5FCJ.js} +176 -3
  152. package/dist/{chunk-TQ33WBY5.cjs → chunk-NHWHEW7M.cjs} +2 -1
  153. package/dist/{chunk-62RTC3XX.js → chunk-NKW6CHXQ.js} +1 -1
  154. package/dist/{chunk-3PXKRVCW.js → chunk-NOWCRKP2.js} +10 -4
  155. package/dist/{chunk-HXJEGMGB.js → chunk-NUB2LMB6.js} +2 -2
  156. package/dist/chunk-NVATU4V6.cjs +44 -0
  157. package/dist/chunk-O246MKIW.cjs +267 -0
  158. package/dist/{chunk-QCHIDZBA.js → chunk-OGFWL2PS.js} +1 -1
  159. package/dist/{chunk-JJ4KA7HK.cjs → chunk-ONNGAR6W.cjs} +415 -551
  160. package/dist/{chunk-TKKN34TV.js → chunk-OOFR6A62.js} +33 -4
  161. package/dist/{chunk-6NVAK6CK.js → chunk-OZ7FHO7J.js} +2 -2
  162. package/dist/{chunk-2CGE7ZV3.cjs → chunk-P5EWGUI2.cjs} +201 -28
  163. package/dist/{chunk-GGLKUENP.js → chunk-P6BQJPAI.js} +191 -14
  164. package/dist/{chunk-TWQDAUZU.js → chunk-PG2JIU5M.js} +60 -7
  165. package/dist/chunk-PI27G2ED.cjs +377 -0
  166. package/dist/{chunk-YV63VW4K.js → chunk-PI7LRPL6.js} +1 -1
  167. package/dist/{chunk-TXPSTCG7.cjs → chunk-PMPEC5HN.cjs} +18 -15
  168. package/dist/{chunk-ROLA6EFO.cjs → chunk-PYUP7AKY.cjs} +14 -14
  169. package/dist/{chunk-BFQDQRDE.js → chunk-QC5Z3ZT5.js} +2 -2
  170. package/dist/chunk-QDO4L2A7.cjs +156 -0
  171. package/dist/{chunk-LFDPTJYF.cjs → chunk-QDXRI5AM.cjs} +1 -1
  172. package/dist/{chunk-3LJJG5YY.cjs → chunk-QLZOMZO5.cjs} +4 -3
  173. package/dist/chunk-QVXMSQOG.js +430 -0
  174. package/dist/{chunk-ZHJ7JGME.cjs → chunk-R4UKBKDY.cjs} +11 -11
  175. package/dist/{chunk-IGMPWJ2I.cjs → chunk-R75AWII3.cjs} +118 -23
  176. package/dist/{chunk-VGEV44V2.cjs → chunk-RD5PLUIX.cjs} +191 -30
  177. package/dist/{chunk-I24CWKKK.js → chunk-RGB34CV5.js} +3 -3
  178. package/dist/{chunk-CHI52KFR.cjs → chunk-RJCZLFHE.cjs} +246 -39
  179. package/dist/{chunk-D2OSPLYC.cjs → chunk-RKWNM2BJ.cjs} +2 -2
  180. package/dist/{chunk-FGT6KK6T.js → chunk-RMVONICR.js} +3 -3
  181. package/dist/{chunk-Q6AC3PHY.cjs → chunk-RPSYRJL7.cjs} +10 -4
  182. package/dist/chunk-RS2E32YB.js +71 -0
  183. package/dist/chunk-RWKU2X7O.js +388 -0
  184. package/dist/chunk-RZLEGVMH.cjs +565 -0
  185. package/dist/{chunk-5F6ZKSHO.js → chunk-S2L3Y677.js} +1 -1
  186. package/dist/{chunk-ARBEHFCG.js → chunk-S7KVUIOS.js} +1 -1
  187. package/dist/{chunk-AC7DZ6SK.cjs → chunk-SACJJ6NO.cjs} +5 -3
  188. package/dist/{chunk-IKUMVBCW.cjs → chunk-SD3NTC7D.cjs} +48 -4
  189. package/dist/{chunk-CBFH2J3O.js → chunk-SJQU2ZFR.js} +246 -39
  190. package/dist/{chunk-GWO66KBI.js → chunk-SKAQKQFF.js} +12 -2
  191. package/dist/chunk-T4DXP5OP.js +30 -0
  192. package/dist/{chunk-CFFE4VA3.js → chunk-T6FTB6K2.js} +1 -1
  193. package/dist/{chunk-U4C3HW6P.js → chunk-T6N6GRFT.js} +13 -10
  194. package/dist/{chunk-D6GZBSOX.js → chunk-TJFKA6A7.js} +82 -3
  195. package/dist/{chunk-2HOLOHVK.js → chunk-TJZUPS4Z.js} +163 -299
  196. package/dist/{chunk-RBZ7AFX7.cjs → chunk-TLKHZ425.cjs} +2 -2
  197. package/dist/{chunk-J2K57QM7.cjs → chunk-TQ24NLXO.cjs} +6 -6
  198. package/dist/{chunk-LUMV3DB2.js → chunk-TWBAU46X.js} +1 -1
  199. package/dist/{chunk-OPNI6O7F.cjs → chunk-TZB5XADL.cjs} +4 -4
  200. package/dist/{chunk-6HH236FV.cjs → chunk-UAYXZXWU.cjs} +4 -4
  201. package/dist/{chunk-MPULXVC4.cjs → chunk-UKBFNBDO.cjs} +11 -11
  202. package/dist/chunk-UMJYX5KD.js +565 -0
  203. package/dist/chunk-USKYTHDL.cjs +235 -0
  204. package/dist/chunk-V4HGZSKQ.cjs +183 -0
  205. package/dist/{chunk-MQESBFBZ.cjs → chunk-VAJUSZMC.cjs} +21 -20
  206. package/dist/{chunk-PQLKJCIE.js → chunk-VGQG4NBJ.js} +2 -2
  207. package/dist/chunk-VLUIVJ3J.js +235 -0
  208. package/dist/chunk-VOBINVMV.cjs +430 -0
  209. package/dist/{chunk-L4F7SUYL.js → chunk-VSHKKCSH.js} +16 -5
  210. package/dist/{chunk-LDJQ5QHG.cjs → chunk-VSZU3MGA.cjs} +28 -17
  211. package/dist/{chunk-YFXTE422.cjs → chunk-VWHAUB77.cjs} +8 -3
  212. package/dist/{chunk-EZJHLOWP.js → chunk-VXGYFX45.js} +20 -7
  213. package/dist/{chunk-JIMSII7R.js → chunk-WH6YUQDB.js} +193 -59
  214. package/dist/{chunk-VKBIE6I6.js → chunk-WQ6TD55V.js} +2 -2
  215. package/dist/{chunk-ZR46OJNZ.js → chunk-WQWECXTY.js} +3 -3
  216. package/dist/{chunk-SOLBYSLY.cjs → chunk-WVDJUJH6.cjs} +2 -2
  217. package/dist/{chunk-QKP772OZ.js → chunk-X24VIVDZ.js} +963 -103
  218. package/dist/{chunk-37M5UM6I.js → chunk-X4NRTLXD.js} +7 -1
  219. package/dist/chunk-X53SHYCG.js +27 -0
  220. package/dist/{chunk-PUD76XQT.cjs → chunk-XB2Z4ZAK.cjs} +5 -5
  221. package/dist/chunk-Y47OJGLB.cjs +27 -0
  222. package/dist/{chunk-WRTXCQ3V.cjs → chunk-Y4MN27V3.cjs} +1080 -220
  223. package/dist/{chunk-ZK6HOR62.js → chunk-YEHFYZFU.js} +7 -2
  224. package/dist/{chunk-FFBDRUO5.cjs → chunk-YICIUY23.cjs} +1 -1
  225. package/dist/{chunk-PDHT7LQS.cjs → chunk-YMXYC777.cjs} +3 -3
  226. package/dist/{chunk-TJNBASFD.cjs → chunk-Z3GRWK6O.cjs} +8 -8
  227. package/dist/{chunk-JP3YHTQ2.cjs → chunk-Z5GG2KSL.cjs} +4 -4
  228. package/dist/{chunk-ZPD2AO3U.js → chunk-ZER7DYQK.js} +2 -2
  229. package/dist/{chunk-UXLW45ZE.cjs → chunk-ZFDXZEZJ.cjs} +25 -90
  230. package/dist/chunk-ZFV4HJA6.js +579 -0
  231. package/dist/chunk-ZHMYTI5D.cjs +529 -0
  232. package/dist/{chunk-CCVMREXI.js → chunk-ZLR2TFBC.js} +35 -8
  233. package/dist/{chunk-J5ADZN6V.cjs → chunk-ZTWNU5QZ.cjs} +20 -20
  234. package/dist/chunk-ZUYYHKQA.js +44 -0
  235. package/dist/{chunk-AUFNACED.js → chunk-ZVLVLDYN.js} +9086 -6621
  236. package/dist/clear-AJGXD2BB.cjs +12 -0
  237. package/dist/{clear-OFLFQ3MR.js → clear-HAHDSWKW.js} +3 -3
  238. package/dist/communityInstaller-IRR6M3N6.cjs +22 -0
  239. package/dist/{communityInstaller-COB2KTOW.js → communityInstaller-OLKEUGMX.js} +6 -6
  240. package/dist/completion-G7Z436TF.cjs +17 -0
  241. package/dist/{completion-PT4VM2H2.js → completion-ZS3AXJ6A.js} +5 -5
  242. package/dist/{config-R4O7GBTY.js → config-OWYAQPCX.js} +5 -3
  243. package/dist/config-W2BHT2QE.cjs +22 -0
  244. package/dist/{constants-HVCHVQAF.js → constants-AS6K67AA.js} +5 -3
  245. package/dist/constants-B4W5BT7F.cjs +23 -0
  246. package/dist/{export-3PK3VFCE.js → export-5HIU3KMD.js} +5 -5
  247. package/dist/export-GFD32UY2.cjs +15 -0
  248. package/dist/{extractSessionMemories-A2JX5WJ2.js → extractSessionMemories-K6ZVAW2F.js} +1 -1
  249. package/dist/{extractSessionMemories-XL3MS37F.cjs → extractSessionMemories-LLOIJR5U.cjs} +2 -2
  250. package/dist/feature-KP74CZ3F.cjs +14 -0
  251. package/dist/feature-OPNVMB2E.js +14 -0
  252. package/dist/features-LT55MURX.cjs +24 -0
  253. package/dist/features-ZDIU26WX.js +24 -0
  254. package/dist/feedback-7WTJFQ6S.js +18 -0
  255. package/dist/feedback-CEOJ3453.cjs +18 -0
  256. package/dist/go-2CY5SZNR.js +16 -0
  257. package/dist/go-O2CSQON4.cjs +16 -0
  258. package/dist/goal-DL2N2AWT.cjs +16 -0
  259. package/dist/goal-IJS7VZSG.js +16 -0
  260. package/dist/help-RNOGDEBA.cjs +12 -0
  261. package/dist/{help-X3OAZ3CY.js → help-TCWD2IRH.js} +2 -2
  262. package/dist/{history-YKFPHBJN.js → history-ATOR5OQV.js} +2 -2
  263. package/dist/history-UUSGX2AL.cjs +14 -0
  264. package/dist/{hooks-7TA4PIIB.js → hooks-R3Z5QKUP.js} +6 -6
  265. package/dist/hooks-RWM5UY67.cjs +18 -0
  266. package/dist/{i18n-2KBUU7XL.js → i18n-4QI4TD4I.js} +1 -1
  267. package/dist/i18n-MFAEU5RV.cjs +33 -0
  268. package/dist/ide-6PBTCCUQ.js +15 -0
  269. package/dist/ide-UE3G7NMQ.cjs +15 -0
  270. package/dist/{import-I7T4ZHYL.cjs → import-2IG76KAN.cjs} +6 -4
  271. package/dist/{import-JWPYKXCZ.js → import-E47QL4DW.js} +2 -2
  272. package/dist/import-NQDNBFUL.cjs +10 -0
  273. package/dist/{import-4CHYLS4K.js → import-VQIHGJWS.js} +6 -4
  274. package/dist/index.cjs +512 -305
  275. package/dist/index.d.cts +40 -0
  276. package/dist/index.d.ts +40 -0
  277. package/dist/index.js +402 -195
  278. package/dist/init-DX3RDGDT.cjs +10 -0
  279. package/dist/{init-262MWZV4.js → init-Q54OAAFZ.js} +2 -2
  280. package/dist/{inputPrompt-YGBHDUEP.js → inputPrompt-V2VBDRM7.js} +3 -3
  281. package/dist/inputPrompt-WVGVWAHS.cjs +90 -0
  282. package/dist/language-I6KXAOXD.js +23 -0
  283. package/dist/language-XMIVOH5E.cjs +23 -0
  284. package/dist/learn-JPVVGTKU.js +23 -0
  285. package/dist/learn-NLSHI2MZ.cjs +23 -0
  286. package/dist/login-NABQYLYC.cjs +28 -0
  287. package/dist/login-XPOVFSWN.js +28 -0
  288. package/dist/logout-HNHCGB4Q.js +25 -0
  289. package/dist/logout-SKGDXJSW.cjs +25 -0
  290. package/dist/{mcp-5O6PUL4G.js → mcp-EN73YFGZ.js} +8 -6
  291. package/dist/mcp-TADZCPJQ.cjs +22 -0
  292. package/dist/{mcp-install-P6DHES7V.cjs → mcp-install-2GKWWBAS.cjs} +15 -13
  293. package/dist/{mcp-install-6XWXLFVY.js → mcp-install-3TBTVSHW.js} +10 -8
  294. package/dist/memory-GRXFTDIN.cjs +10 -0
  295. package/dist/{memory-Q54CESNM.js → memory-K2P3CDCH.js} +2 -2
  296. package/dist/{model-6AJ77PJG.js → model-DEG22OWA.js} +2 -2
  297. package/dist/model-OSD74T7Z.cjs +10 -0
  298. package/dist/new-4NWBOATU.cjs +12 -0
  299. package/dist/{new-ZXHEWC2S.js → new-KJAP2MB6.js} +3 -3
  300. package/dist/onboarding-2U5WE2OA.js +39 -0
  301. package/dist/onboarding-5DZFCO5Q.cjs +39 -0
  302. package/dist/permissions-KY5I6YQ3.cjs +10 -0
  303. package/dist/{permissions-YHJMVA6L.js → permissions-TKYON7PP.js} +2 -2
  304. package/dist/{plan-YYUAXPTL.js → plan-DYHHLZSS.js} +1 -1
  305. package/dist/plan-PYKP652W.cjs +13 -0
  306. package/dist/quit-GSKJL42O.js +14 -0
  307. package/dist/quit-TQSRTBUT.cjs +14 -0
  308. package/dist/{registry-34GL6BNJ.js → registry-EZ4V4TUQ.js} +1339 -1
  309. package/dist/{registry-V24W7YK6.cjs → registry-LCWYI4IB.cjs} +1378 -40
  310. package/dist/resume-4VWJXARX.cjs +17 -0
  311. package/dist/resume-TLHWWWFN.js +17 -0
  312. package/dist/{review-QHP2KP4Q.js → review-CSK4IYTO.js} +1 -1
  313. package/dist/review-XLJEUH5K.cjs +9 -0
  314. package/dist/{rpc-S3DGW6KV.js → rpc-3DLQBDWU.js} +301 -130
  315. package/dist/{rpc-NPS3PU4O.cjs → rpc-O36WUU3L.cjs} +399 -228
  316. package/dist/search-DSX2CY4A.cjs +22 -0
  317. package/dist/search-I3QUDUQL.js +22 -0
  318. package/dist/sessionBranching-DVNOUWJT.cjs +19 -0
  319. package/dist/sessionBranching-FKV4CR36.js +19 -0
  320. package/dist/sessions-3JUOT3ED.cjs +10 -0
  321. package/dist/{sessions-IYAXMK23.js → sessions-VWMDIPOS.js} +2 -2
  322. package/dist/settings-FT2LZZUV.js +45 -0
  323. package/dist/settings-RL4KNWHB.cjs +45 -0
  324. package/dist/setup-HQEJVOYT.js +32 -0
  325. package/dist/setup-MN54LKOL.cjs +32 -0
  326. package/dist/share-BUAFZNBX.cjs +17 -0
  327. package/dist/share-CGB6MAVJ.js +17 -0
  328. package/dist/skills/builtin/code-reviewer/SKILL.md +64 -0
  329. package/dist/skills/builtin/goal-writer/SKILL.md +124 -0
  330. package/dist/{skills-VWOMV3CR.js → skills-7DKR3HRZ.js} +8 -8
  331. package/dist/{skills-MVIZNHT4.js → skills-BBBENOEY.js} +9 -9
  332. package/dist/skills-OQM7IHAF.cjs +29 -0
  333. package/dist/{skills-GGMZOVIE.cjs → skills-RA2PKL63.cjs} +10 -10
  334. package/dist/{skills-install-VTAMCNNY.cjs → skills-install-D7K476SL.cjs} +16 -16
  335. package/dist/{skills-install-QBA5RCV6.js → skills-install-T4SOKJSL.js} +9 -9
  336. package/dist/skills-new-S33NGEU3.js +18 -0
  337. package/dist/skills-new-UVYH53MD.cjs +18 -0
  338. package/dist/slashCommands-MWOUDSQP.js +111 -0
  339. package/dist/slashCommands-XASURUTV.cjs +111 -0
  340. package/dist/squad-PIIYDFVH.cjs +15 -0
  341. package/dist/squad-VHYOVEJP.js +15 -0
  342. package/dist/status-GHFTXQBL.js +25 -0
  343. package/dist/status-WXMIJIU3.cjs +25 -0
  344. package/dist/statusline-2K7AC6ZQ.js +21 -0
  345. package/dist/statusline-GROI4HOC.cjs +21 -0
  346. package/dist/sync-254WF6JI.cjs +42 -0
  347. package/dist/sync-2DIZN4EH.cjs +24 -0
  348. package/dist/{sync-7BILIQHP.js → sync-J6I2ZUKQ.js} +6 -4
  349. package/dist/{sync-7OKF6636.js → sync-Z3LVSEEV.js} +8 -5
  350. package/dist/{teammate-J6PHGL23.cjs → teammate-EXR76PEQ.cjs} +9 -8
  351. package/dist/{teammate-GZQSCIMS.js → teammate-K4DAOFEQ.js} +8 -7
  352. package/dist/templates-ARG2VRWW.cjs +11 -0
  353. package/dist/templates-UGVZV3KJ.js +11 -0
  354. package/dist/theme-MVQDSU47.js +23 -0
  355. package/dist/theme-QAKEYWJG.cjs +23 -0
  356. package/dist/ui/questionModal.cjs +6 -6
  357. package/dist/ui/questionModal.js +5 -5
  358. package/dist/{undo-SZEHLX7X.js → undo-5AU47JHF.js} +2 -2
  359. package/dist/undo-ME6WKUXZ.cjs +10 -0
  360. package/dist/usage-QTKO2YMD.js +25 -0
  361. package/dist/usage-TYNJKVER.cjs +25 -0
  362. package/package.json +10 -4
  363. package/dist/AgentRegistry-EGBDIUAK.cjs +0 -10
  364. package/dist/AgentRegistry-XPWSVO3Q.js +0 -10
  365. package/dist/CommunitySkillsCache-2OIUV227.cjs +0 -8
  366. package/dist/LearnAdvisor-46FG2XIP.js +0 -9
  367. package/dist/LearnAdvisor-XBRDNAGH.cjs +0 -9
  368. package/dist/MemoryManager-34L4YOKA.cjs +0 -8
  369. package/dist/MemoryManager-WJMLPWGU.js +0 -8
  370. package/dist/NVIDIAProvider-MVTL62PR.cjs +0 -14
  371. package/dist/PermissionManager-5OOJ7FAT.cjs +0 -11
  372. package/dist/ProviderFactory-C3YPXTDD.cjs +0 -11
  373. package/dist/SessionManager-WAPTFMDO.cjs +0 -10
  374. package/dist/SkillsRegistry-7AJP74GJ.cjs +0 -9
  375. package/dist/SubAgent-FDIH3DXB.js +0 -11
  376. package/dist/SubAgent-HVL2ICVZ.cjs +0 -11
  377. package/dist/SyncApiClient-VMBOLQ6H.cjs +0 -11
  378. package/dist/about-FCAX37YC.cjs +0 -14
  379. package/dist/actionExecutor-33I47NZS.js +0 -24
  380. package/dist/actionExecutor-4YBMR3YH.cjs +0 -24
  381. package/dist/add-dir-7SS6KSH5.cjs +0 -11
  382. package/dist/agent-DMRUFU4M.cjs +0 -116
  383. package/dist/agent-WCJEYQJT.js +0 -116
  384. package/dist/agents-CHROO3VU.cjs +0 -17
  385. package/dist/agents-UVDUL65K.js +0 -17
  386. package/dist/agents-new-AUBWSOXP.js +0 -17
  387. package/dist/agents-new-Y562WC47.cjs +0 -17
  388. package/dist/autoSkill-YOLLFTP2.cjs +0 -20
  389. package/dist/automode-DBLKTTKD.cjs +0 -10
  390. package/dist/chrome-ATC4OO5I.cjs +0 -20
  391. package/dist/chrome-O62WXV7F.js +0 -20
  392. package/dist/chrome-XHJLCO4M.cjs +0 -50
  393. package/dist/chunk-6XVVIY54.cjs +0 -256
  394. package/dist/chunk-AU6JAGZJ.cjs +0 -231
  395. package/dist/chunk-N6O3XUZ2.cjs +0 -23
  396. package/dist/chunk-VDWJMWDF.js +0 -256
  397. package/dist/clear-33TWQ2ES.cjs +0 -12
  398. package/dist/communityInstaller-TWMGPSYM.cjs +0 -22
  399. package/dist/completion-IIZMHXYP.cjs +0 -17
  400. package/dist/config-KL6WU7R2.cjs +0 -20
  401. package/dist/constants-RLMJ5D5P.cjs +0 -21
  402. package/dist/export-WLGNWEMJ.cjs +0 -15
  403. package/dist/feedback-G635NCLJ.js +0 -18
  404. package/dist/feedback-LLMK3TZH.cjs +0 -18
  405. package/dist/help-BAXLP2M2.cjs +0 -12
  406. package/dist/history-6HOJSEMT.cjs +0 -14
  407. package/dist/hooks-XVFU67T2.cjs +0 -18
  408. package/dist/i18n-MUJMKTFM.cjs +0 -33
  409. package/dist/ide-CCQ33PGC.cjs +0 -15
  410. package/dist/ide-VLVFBZ5F.js +0 -15
  411. package/dist/import-J46F54JY.cjs +0 -10
  412. package/dist/init-EE5Y7RBL.cjs +0 -10
  413. package/dist/inputPrompt-IIFKCX5Q.cjs +0 -90
  414. package/dist/language-CVLPB7OV.js +0 -21
  415. package/dist/language-ZTWFHUSV.cjs +0 -21
  416. package/dist/learn-PON7I5QS.js +0 -23
  417. package/dist/learn-XLRSVNA3.cjs +0 -23
  418. package/dist/login-223QTGBG.cjs +0 -26
  419. package/dist/login-6IKTBUBY.js +0 -26
  420. package/dist/logout-RN2AG6SI.js +0 -23
  421. package/dist/logout-U3M4FFX7.cjs +0 -23
  422. package/dist/mcp-NUQ76QQB.cjs +0 -20
  423. package/dist/memory-CYMDQ2YC.cjs +0 -10
  424. package/dist/model-IDRCKDML.cjs +0 -10
  425. package/dist/new-7LEWOUF2.cjs +0 -12
  426. package/dist/onboarding-FXX7YHSJ.cjs +0 -35
  427. package/dist/onboarding-JYNMK6NI.js +0 -35
  428. package/dist/permissions-YBNSANIA.cjs +0 -10
  429. package/dist/plan-XEJMOT55.cjs +0 -13
  430. package/dist/quit-B43SJ6E4.cjs +0 -10
  431. package/dist/quit-GWTNHQSP.js +0 -10
  432. package/dist/resume-DYVOQN5L.cjs +0 -16
  433. package/dist/resume-M25UQKOX.js +0 -16
  434. package/dist/review-UWHWQHCB.cjs +0 -9
  435. package/dist/search-CPX4PWHP.js +0 -20
  436. package/dist/search-VUF3M4N3.cjs +0 -20
  437. package/dist/sessions-JODKER5D.cjs +0 -10
  438. package/dist/settings-55BNW6BF.js +0 -33
  439. package/dist/settings-BKTS7OMC.cjs +0 -33
  440. package/dist/setup-IRC5HQG2.js +0 -29
  441. package/dist/setup-MMQ7TWOP.cjs +0 -29
  442. package/dist/share-6JRQECAH.cjs +0 -17
  443. package/dist/share-YM5MJKMO.js +0 -17
  444. package/dist/skills-LWSOKOSH.cjs +0 -29
  445. package/dist/skills-new-GPL46YV2.js +0 -18
  446. package/dist/skills-new-L5BEZN5V.cjs +0 -18
  447. package/dist/slashCommands-FBPCIWM5.cjs +0 -95
  448. package/dist/slashCommands-FCWY5DXW.js +0 -95
  449. package/dist/status-3B5SDZPL.js +0 -17
  450. package/dist/status-TTGRF6NC.cjs +0 -17
  451. package/dist/sync-77CXVVTK.cjs +0 -21
  452. package/dist/sync-EH4K5U3N.cjs +0 -40
  453. package/dist/theme-64BYGJ57.cjs +0 -21
  454. package/dist/theme-YJE6HEON.js +0 -21
  455. package/dist/undo-PRTEGL2J.cjs +0 -10
@@ -3,35 +3,42 @@
3
3
  var _chunkHXQREVTAcjs = require('./chunk-HXQREVTA.cjs');
4
4
 
5
5
 
6
+ var _chunkRZLEGVMHcjs = require('./chunk-RZLEGVMH.cjs');
7
+
8
+
6
9
  var _chunk4JNNTOGFcjs = require('./chunk-4JNNTOGF.cjs');
7
10
 
8
11
 
9
- var _chunkDEQVRSV5cjs = require('./chunk-DEQVRSV5.cjs');
10
12
 
11
13
 
12
14
 
13
15
 
14
- var _chunkJ5HE6CUMcjs = require('./chunk-J5HE6CUM.cjs');
16
+ var _chunkWKRDBCP2cjs = require('./chunk-WKRDBCP2.cjs');
15
17
 
16
18
 
17
- var _chunkWTB7AFL6cjs = require('./chunk-WTB7AFL6.cjs');
19
+ var _chunkA7DJU75Tcjs = require('./chunk-A7DJU75T.cjs');
18
20
 
19
21
 
20
- var _chunkWBU4Q4GScjs = require('./chunk-WBU4Q4GS.cjs');
21
22
 
22
23
 
23
- var _chunkLFDPTJYFcjs = require('./chunk-LFDPTJYF.cjs');
24
+ var _chunkJ5HE6CUMcjs = require('./chunk-J5HE6CUM.cjs');
24
25
 
25
26
 
27
+ var _chunkWTB7AFL6cjs = require('./chunk-WTB7AFL6.cjs');
26
28
 
27
29
 
30
+ var _chunkWBU4Q4GScjs = require('./chunk-WBU4Q4GS.cjs');
28
31
 
29
32
 
30
- var _chunkWKRDBCP2cjs = require('./chunk-WKRDBCP2.cjs');
33
+ var _chunkQDXRI5AMcjs = require('./chunk-QDXRI5AM.cjs');
31
34
 
32
35
 
33
36
 
34
- var _chunkCH2J4PVEcjs = require('./chunk-CH2J4PVE.cjs');
37
+ var _chunkY47OJGLBcjs = require('./chunk-Y47OJGLB.cjs');
38
+
39
+
40
+
41
+ var _chunkDMM2BKSVcjs = require('./chunk-DMM2BKSV.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 _chunk3JURXAL6cjs = require('./chunk-3JURXAL6.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 = _chunk3JURXAL6cjs.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, () => ( _chunk3JURXAL6cjs.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 = _chunk3JURXAL6cjs.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, _chunk3JURXAL6cjs.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 = _chunk3JURXAL6cjs.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, _chunkA7DJU75Tcjs.PermissionManager)(deps.runtime.config.permissions)));
3323
3343
  this.memoryManager = deps.memoryManager;
3324
3344
  this.onToolOutput = deps.onToolOutput;
3325
3345
  this.onFileModified = deps.onFileModified;
@@ -3327,6 +3347,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3327
3347
  this.onPlanCreated = deps.onPlanCreated;
3328
3348
  this.onPermissionRequest = deps.onPermissionRequest;
3329
3349
  this.onReviewHook = deps.onReviewHook;
3350
+ this.onGoalWrittenCompleted = deps.onGoalWrittenCompleted;
3330
3351
  this.onModalPause = deps.onModalPause;
3331
3352
  this.onRequestDirectoryAccess = deps.onRequestDirectoryAccess;
3332
3353
  this.onLiveCommandStart = deps.onLiveCommandStart;
@@ -3359,6 +3380,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3359
3380
 
3360
3381
 
3361
3382
 
3383
+
3362
3384
 
3363
3385
 
3364
3386
  __init6() {this.searchCache = /* @__PURE__ */ new Map()}
@@ -3366,6 +3388,9 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3366
3388
  __init8() {this.fffSearchWorkspaceRoot = null}
3367
3389
  __init9() {this.fffSearchIdleTimer = null}
3368
3390
  static __initStatic() {this.FFF_SEARCH_IDLE_TTL_MS = 6e4}
3391
+ shouldDisplayToolOutput() {
3392
+ return _optionalChain([this, 'access', _40 => _40.runtime, 'access', _41 => _41.config, 'access', _42 => _42.ui, 'optionalAccess', _43 => _43.silentToolOutput]) !== true;
3393
+ }
3369
3394
  async getFFFSearchProvider() {
3370
3395
  if (this.fffSearchIdleTimer) {
3371
3396
  clearTimeout(this.fffSearchIdleTimer);
@@ -3396,10 +3421,10 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3396
3421
  this.fffSearchProviderPromise = null;
3397
3422
  this.fffSearchWorkspaceRoot = null;
3398
3423
  this.fffSearchIdleTimer = null;
3399
- _optionalChain([providerPromise, 'optionalAccess', _40 => _40.then, 'call', _41 => _41((provider) => provider.destroy()), 'access', _42 => _42.catch, 'call', _43 => _43(() => {
3424
+ _optionalChain([providerPromise, 'optionalAccess', _44 => _44.then, 'call', _45 => _45((provider) => provider.destroy()), 'access', _46 => _46.catch, 'call', _47 => _47(() => {
3400
3425
  })]);
3401
3426
  }, _ActionExecutor.FFF_SEARCH_IDLE_TTL_MS);
3402
- _optionalChain([this, 'access', _44 => _44.fffSearchIdleTimer, 'access', _45 => _45.unref, 'optionalCall', _46 => _46()]);
3427
+ _optionalChain([this, 'access', _48 => _48.fffSearchIdleTimer, 'access', _49 => _49.unref, 'optionalCall', _50 => _50()]);
3403
3428
  }
3404
3429
  /**
3405
3430
  * Check permission hooks before prompting user.
@@ -3410,7 +3435,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3410
3435
  return {};
3411
3436
  }
3412
3437
  const hookResponse = await this.onPermissionRequest(context);
3413
- if (!_optionalChain([hookResponse, 'optionalAccess', _47 => _47.decision])) {
3438
+ if (!_optionalChain([hookResponse, 'optionalAccess', _51 => _51.decision])) {
3414
3439
  return {};
3415
3440
  }
3416
3441
  switch (hookResponse.decision) {
@@ -3426,6 +3451,9 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3426
3451
  }
3427
3452
  }
3428
3453
  async execute(action, context) {
3454
+ if (GOAL_TOOL_TYPES.has(action.type) && !_chunkY47OJGLBcjs.isGoalFeatureEnabled.call(void 0, this.runtime.config)) {
3455
+ return _chunkY47OJGLBcjs.GOAL_FEATURE_DISABLED_MESSAGE;
3456
+ }
3429
3457
  if (this.runtime.options.dryRun && !["fff_grep", "fff_find", "find", "search", "search_with_context", "semantic_search", "glob", "plan"].includes(action.type)) {
3430
3458
  return "Dry-run mode: skipped mutation";
3431
3459
  }
@@ -3451,7 +3479,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3451
3479
  console.log(_chalk2.default.gray(`
3452
3480
  \u{1F9F9} Cleaned up ${cleanedCount} plan(s) older than 30 days`));
3453
3481
  }
3454
- const planModeManager = _chunkLFDPTJYFcjs.getPlanModeManager.call(void 0, );
3482
+ const planModeManager = _chunkQDXRI5AMcjs.getPlanModeManager.call(void 0, );
3455
3483
  if (planModeManager.isEnabled() && this.onAskFollowup) {
3456
3484
  const refreshedPlanIds = await storage.listPlans();
3457
3485
  const incompletePlans = [];
@@ -3685,7 +3713,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3685
3713
  resultOutput = this.formatDiffPreview(oldContent, newContent, action.path);
3686
3714
  }
3687
3715
  await this.files.writeFile(action.path, newContent);
3688
- _optionalChain([this, 'access', _48 => _48.onFileModified, 'optionalCall', _49 => _49(action.path, exists ? "modify" : "create")]);
3716
+ _optionalChain([this, 'access', _52 => _52.onFileModified, 'optionalCall', _53 => _53(action.path, exists ? "modify" : "create")]);
3689
3717
  return _nullishCoalesce(resultOutput, () => ( (exists ? `Updated ${action.path}` : `Created ${action.path}`)));
3690
3718
  }
3691
3719
  case "append_file": {
@@ -3699,7 +3727,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3699
3727
  \u{1F4DD} ${action.path}:`));
3700
3728
  this.showDiff(oldContent, newContent, action.path);
3701
3729
  await this.files.appendFile(action.path, addition);
3702
- _optionalChain([this, 'access', _50 => _50.onFileModified, 'optionalCall', _51 => _51(action.path, "modify")]);
3730
+ _optionalChain([this, 'access', _54 => _54.onFileModified, 'optionalCall', _55 => _55(action.path, "modify")]);
3703
3731
  return this.formatDiffPreview(oldContent, newContent, action.path);
3704
3732
  }
3705
3733
  case "apply_patch": {
@@ -3717,7 +3745,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3717
3745
  await this.files.applyPatch(action.path, patch);
3718
3746
  const newContent = await this.files.readFile(action.path);
3719
3747
  this.showDiff(oldContent, newContent, action.path);
3720
- _optionalChain([this, 'access', _52 => _52.onFileModified, 'optionalCall', _53 => _53(action.path, "modify")]);
3748
+ _optionalChain([this, 'access', _56 => _56.onFileModified, 'optionalCall', _57 => _57(action.path, "modify")]);
3721
3749
  return this.formatDiffPreview(oldContent, newContent, action.path);
3722
3750
  }
3723
3751
  case "notebook_edit": {
@@ -3727,15 +3755,111 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3727
3755
  const current = await this.files.readFile(action.path);
3728
3756
  const { updated, summary } = applyNotebookEdit(current, action);
3729
3757
  await this.files.writeFile(action.path, updated);
3730
- _optionalChain([this, 'access', _54 => _54.onFileModified, 'optionalCall', _55 => _55(action.path, "modify")]);
3758
+ _optionalChain([this, 'access', _58 => _58.onFileModified, 'optionalCall', _59 => _59(action.path, "modify")]);
3731
3759
  return summary;
3732
3760
  }
3733
3761
  case "tools_registry": {
3734
3762
  const tools = await this.toolsRegistry.listTools(this.getRegisteredTools());
3735
3763
  return JSON.stringify(tools, null, 2);
3736
3764
  }
3765
+ case "get_goal": {
3766
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3767
+ return JSON.stringify(await manager.getSnapshot(), null, 2);
3768
+ }
3769
+ case "list_goal_templates": {
3770
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3771
+ return JSON.stringify(await manager.listTemplates(), null, 2);
3772
+ }
3773
+ case "create_goal": {
3774
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3775
+ const created = await manager.createOrQueueGoal({
3776
+ objective: action.objective,
3777
+ source: "tool",
3778
+ tokenBudget: action.token_budget,
3779
+ timeBudgetSeconds: action.time_budget_seconds,
3780
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3781
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3782
+ });
3783
+ if (!_optionalChain([created, 'access', _60 => _60.queued, 'optionalAccess', _61 => _61.length])) {
3784
+ await this.emitGoalWrittenCompleted(created, "tool");
3785
+ }
3786
+ return formatGoalToolResult(created);
3787
+ }
3788
+ case "create_goal_from_template": {
3789
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3790
+ const resolution = await Promise.resolve().then(() => _interopRequireWildcard(require("./templates-ARG2VRWW.cjs"))).then((mod) => mod.resolveGoalTemplateByName(
3791
+ this.runtime.workspaceRoot,
3792
+ action.template,
3793
+ _nullishCoalesce(action.flags, () => ( {})),
3794
+ _nullishCoalesce(action.args, () => ( ""))
3795
+ ));
3796
+ if (!resolution.ok) {
3797
+ return `Error: ${"notTemplate" in resolution ? `Unknown goal template '${action.template}'.` : resolution.error}`;
3798
+ }
3799
+ const created = await manager.createOrQueueGoal({
3800
+ objective: resolution.template.objective,
3801
+ source: "tool",
3802
+ tokenBudget: action.token_budget,
3803
+ timeBudgetSeconds: action.time_budget_seconds,
3804
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3805
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3806
+ });
3807
+ if (!_optionalChain([created, 'access', _62 => _62.queued, 'optionalAccess', _63 => _63.length])) {
3808
+ await this.emitGoalWrittenCompleted(created, "tool-template");
3809
+ }
3810
+ return formatGoalToolResult(created);
3811
+ }
3812
+ case "update_goal": {
3813
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3814
+ const updated = await manager.updateGoal({
3815
+ objective: action.objective,
3816
+ status: parseGoalStatus(action.status),
3817
+ tokenBudget: action.token_budget,
3818
+ timeBudgetSeconds: action.time_budget_seconds,
3819
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3820
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3821
+ });
3822
+ return formatGoalToolResult(updated);
3823
+ }
3824
+ case "clear_goal": {
3825
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3826
+ return formatGoalToolResult(await manager.clearGoal());
3827
+ }
3828
+ case "enqueue_goal": {
3829
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3830
+ return formatGoalToolResult(await manager.enqueueGoal({
3831
+ objective: action.objective,
3832
+ source: "tool",
3833
+ tokenBudget: action.token_budget,
3834
+ timeBudgetSeconds: action.time_budget_seconds,
3835
+ minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3836
+ minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3837
+ }));
3838
+ }
3839
+ case "list_goal_queue": {
3840
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3841
+ const snapshot = await manager.getSnapshot();
3842
+ return JSON.stringify({ goal: snapshot.goal, queue: snapshot.queue, completed: snapshot.completed }, null, 2);
3843
+ }
3844
+ case "start_queued_goal": {
3845
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3846
+ return formatGoalToolResult(await manager.startQueuedGoal());
3847
+ }
3848
+ case "dequeue_goal": {
3849
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3850
+ return formatGoalToolResult(await manager.dequeueGoal({
3851
+ rationale: action.rationale,
3852
+ authority: action.authority
3853
+ }));
3854
+ }
3855
+ case "remove_queued_goal": {
3856
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3857
+ const queueId = _nullishCoalesce(action.queueId, () => ( action.queue_id));
3858
+ if (!queueId) return "Error: remove_queued_goal requires queueId.";
3859
+ return formatGoalToolResult(await manager.removeQueuedGoal(queueId));
3860
+ }
3737
3861
  case "tool_search": {
3738
- const query = _optionalChain([action, 'access', _56 => _56.query, 'optionalAccess', _57 => _57.trim, 'call', _58 => _58()]);
3862
+ const query = _optionalChain([action, 'access', _64 => _64.query, 'optionalAccess', _65 => _65.trim, 'call', _66 => _66()]);
3739
3863
  if (!query) {
3740
3864
  throw new Error('tool_search requires a non-empty "query" argument.');
3741
3865
  }
@@ -3791,10 +3915,10 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3791
3915
  console.log(_chalk2.default.cyan(`
3792
3916
  \u{1F5D1}\uFE0F ${action.path}:`));
3793
3917
  this.showDiff(oldDeleteContent, "", action.path);
3794
- _optionalChain([this, 'access', _59 => _59.onFileModified, 'optionalCall', _60 => _60(action.path, "delete")]);
3918
+ _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.path, "delete")]);
3795
3919
  return this.formatDiffPreview(oldDeleteContent, "", action.path);
3796
3920
  }
3797
- _optionalChain([this, 'access', _61 => _61.onFileModified, 'optionalCall', _62 => _62(action.path, "delete")]);
3921
+ _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.path, "delete")]);
3798
3922
  return `Deleted directory ${action.path}`;
3799
3923
  }
3800
3924
  case "rename_path": {
@@ -3802,7 +3926,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3802
3926
  throw new Error('rename_path requires "from" and "to" arguments.');
3803
3927
  }
3804
3928
  await this.files.renamePath(action.from, action.to);
3805
- _optionalChain([this, 'access', _63 => _63.onFileModified, 'optionalCall', _64 => _64(action.to, "create")]);
3929
+ _optionalChain([this, 'access', _71 => _71.onFileModified, 'optionalCall', _72 => _72(action.to, "create")]);
3806
3930
  return `Renamed ${action.from} -> ${action.to}`;
3807
3931
  }
3808
3932
  case "copy_path": {
@@ -3810,7 +3934,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3810
3934
  throw new Error('copy_path requires "from" and "to" arguments.');
3811
3935
  }
3812
3936
  await this.files.copyPath(action.from, action.to);
3813
- _optionalChain([this, 'access', _65 => _65.onFileModified, 'optionalCall', _66 => _66(action.to, "create")]);
3937
+ _optionalChain([this, 'access', _73 => _73.onFileModified, 'optionalCall', _74 => _74(action.to, "create")]);
3814
3938
  return `Copied ${action.from} -> ${action.to}`;
3815
3939
  }
3816
3940
  case "search_replace": {
@@ -3827,7 +3951,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3827
3951
  \u{1F504} ${action.path}:`));
3828
3952
  this.showDiff(content, result, action.path);
3829
3953
  await this.files.writeFile(action.path, result);
3830
- _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.path, "modify")]);
3954
+ _optionalChain([this, 'access', _75 => _75.onFileModified, 'optionalCall', _76 => _76(action.path, "modify")]);
3831
3955
  return this.formatDiffPreview(content, result, action.path);
3832
3956
  }
3833
3957
  return `No changes needed for ${action.path} (content identical)`;
@@ -3843,7 +3967,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3843
3967
  console.log(_chalk2.default.cyan(`
3844
3968
  \u{1F3A8} ${action.path}:`));
3845
3969
  this.showDiff(oldFormatContent, newFormatContent, action.path);
3846
- _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.path, "modify")]);
3970
+ _optionalChain([this, 'access', _77 => _77.onFileModified, 'optionalCall', _78 => _78(action.path, "modify")]);
3847
3971
  return this.formatDiffPreview(oldFormatContent, newFormatContent, action.path);
3848
3972
  }
3849
3973
  return `No changes needed (already formatted): ${action.path}`;
@@ -3853,15 +3977,15 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3853
3977
  return 'Error: run_command requires a "command" argument (string)';
3854
3978
  }
3855
3979
  const shouldStreamOutput = Boolean(
3856
- this.onToolOutput && _optionalChain([context, 'optionalAccess', _71 => _71.toolCallId]) && !action.background && process.env.AUTOHAND_STREAM_TOOL_OUTPUT === "1"
3980
+ this.onToolOutput && _optionalChain([context, 'optionalAccess', _79 => _79.toolCallId]) && !action.background && process.env.AUTOHAND_STREAM_TOOL_OUTPUT === "1"
3857
3981
  );
3858
3982
  const emitOutput = (stream, data) => {
3859
3983
  if (!shouldStreamOutput) {
3860
3984
  return;
3861
3985
  }
3862
- _optionalChain([this, 'access', _72 => _72.onToolOutput, 'optionalCall', _73 => _73({
3986
+ _optionalChain([this, 'access', _80 => _80.onToolOutput, 'optionalCall', _81 => _81({
3863
3987
  tool: action.type,
3864
- toolCallId: _optionalChain([context, 'optionalAccess', _74 => _74.toolCallId]),
3988
+ toolCallId: _optionalChain([context, 'optionalAccess', _82 => _82.toolCallId]),
3865
3989
  stream,
3866
3990
  data
3867
3991
  })]);
@@ -3903,6 +4027,14 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3903
4027
  }
3904
4028
  let result;
3905
4029
  const shellCmd = cmdStr;
4030
+ const liveCommandId = !action.background && this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _83 => _83.onLiveCommandStart, 'optionalCall', _84 => _84(cmdStr)]) : void 0;
4031
+ const hasLiveDisplay = Boolean(liveCommandId);
4032
+ const emitLiveOutput = (stream, data) => {
4033
+ if (!hasLiveDisplay || !liveCommandId) {
4034
+ return;
4035
+ }
4036
+ _optionalChain([this, 'access', _85 => _85.onLiveCommandOutput, 'optionalCall', _86 => _86(liveCommandId, stream, data)]);
4037
+ };
3906
4038
  try {
3907
4039
  result = await _chunkWTB7AFL6cjs.runCommand.call(void 0,
3908
4040
  shellCmd,
@@ -3912,11 +4044,23 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3912
4044
  directory: action.directory,
3913
4045
  background: action.background,
3914
4046
  shell: true,
3915
- onStdout: (chunk) => emitOutput("stdout", chunk),
3916
- onStderr: (chunk) => emitOutput("stderr", chunk)
4047
+ onStdout: (chunk) => {
4048
+ emitOutput("stdout", chunk);
4049
+ emitLiveOutput("stdout", chunk);
4050
+ },
4051
+ onStderr: (chunk) => {
4052
+ emitOutput("stderr", chunk);
4053
+ emitLiveOutput("stderr", chunk);
4054
+ }
3917
4055
  }
3918
4056
  );
4057
+ if (liveCommandId) {
4058
+ _optionalChain([this, 'access', _87 => _87.onLiveCommandRemove, 'optionalCall', _88 => _88(liveCommandId)]);
4059
+ }
3919
4060
  } catch (err) {
4061
+ if (liveCommandId) {
4062
+ _optionalChain([this, 'access', _89 => _89.onLiveCommandRemove, 'optionalCall', _90 => _90(liveCommandId)]);
4063
+ }
3920
4064
  const error = err;
3921
4065
  if (error.code === "ENOENT" || error.message.includes("Command not found")) {
3922
4066
  return `Error: Command not found: "${action.command}". Make sure it is installed and available on your PATH.`;
@@ -3941,7 +4085,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3941
4085
  return 'Error: shell requires a "command" argument (string)';
3942
4086
  }
3943
4087
  const cmdStr = `${action.command} ${(_nullishCoalesce(action.args, () => ( []))).join(" ")}`.trim();
3944
- const commandId = _optionalChain([this, 'access', _75 => _75.onLiveCommandStart, 'optionalCall', _76 => _76(cmdStr)]);
4088
+ const commandId = this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _91 => _91.onLiveCommandStart, 'optionalCall', _92 => _92(cmdStr)]) : void 0;
3945
4089
  const hasLiveDisplay = Boolean(commandId);
3946
4090
  if (hasLiveDisplay) {
3947
4091
  const liveId = commandId;
@@ -4012,7 +4156,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4012
4156
  console.log(_chalk2.default.cyan(`
4013
4157
  \u{1F4E6} package.json:`));
4014
4158
  this.showDiff(oldPkgAdd, newPkgAdd, "package.json");
4015
- _optionalChain([this, 'access', _77 => _77.onFileModified, 'optionalCall', _78 => _78("package.json", "modify")]);
4159
+ _optionalChain([this, 'access', _93 => _93.onFileModified, 'optionalCall', _94 => _94("package.json", "modify")]);
4016
4160
  return this.formatDiffPreview(oldPkgAdd, newPkgAdd, "package.json");
4017
4161
  }
4018
4162
  return `Added dependency ${action.name}@${action.version}${action.dev ? " (dev)" : ""}`;
@@ -4027,7 +4171,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4027
4171
  console.log(_chalk2.default.cyan(`
4028
4172
  \u{1F4E6} package.json:`));
4029
4173
  this.showDiff(oldPkgRm, newPkgRm, "package.json");
4030
- _optionalChain([this, 'access', _79 => _79.onFileModified, 'optionalCall', _80 => _80("package.json", "modify")]);
4174
+ _optionalChain([this, 'access', _95 => _95.onFileModified, 'optionalCall', _96 => _96("package.json", "modify")]);
4031
4175
  return this.formatDiffPreview(oldPkgRm, newPkgRm, "package.json");
4032
4176
  }
4033
4177
  return `Removed dependency ${action.name}${action.dev ? " (dev)" : ""}`;
@@ -4073,7 +4217,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4073
4217
  console.log(_chalk2.default.cyan(`
4074
4218
  \u21A9\uFE0F ${action.path}:`));
4075
4219
  this.showDiff(oldCheckoutContent, newCheckoutContent, action.path);
4076
- _optionalChain([this, 'access', _81 => _81.onFileModified, 'optionalCall', _82 => _82(action.path, "modify")]);
4220
+ _optionalChain([this, 'access', _97 => _97.onFileModified, 'optionalCall', _98 => _98(action.path, "modify")]);
4077
4221
  return this.formatDiffPreview(oldCheckoutContent, newCheckoutContent, action.path);
4078
4222
  }
4079
4223
  return `Restored ${action.path} from git (no changes).`;
@@ -4369,7 +4513,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4369
4513
  { label: "No - cancel commit", value: "n" }
4370
4514
  ];
4371
4515
  const runModal = async () => {
4372
- const modalResult = await _chunkCH2J4PVEcjs.showModal.call(void 0, {
4516
+ const modalResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
4373
4517
  title: `Commit with this message?
4374
4518
 
4375
4519
  "${commitMessage}"`,
@@ -4379,7 +4523,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4379
4523
  return { cancelled: true, editedMessage: null };
4380
4524
  }
4381
4525
  if (modalResult.value === "e") {
4382
- const editedMessage = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4526
+ const editedMessage = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4383
4527
  title: "Enter commit message:",
4384
4528
  defaultValue: commitMessage
4385
4529
  });
@@ -4502,7 +4646,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4502
4646
  if (oldContent !== newContent) {
4503
4647
  this.showDiff(oldContent, newContent, action.file_path);
4504
4648
  await this.files.writeFile(action.file_path, newContent);
4505
- _optionalChain([this, 'access', _83 => _83.onFileModified, 'optionalCall', _84 => _84(action.file_path, "modify")]);
4649
+ _optionalChain([this, 'access', _99 => _99.onFileModified, 'optionalCall', _100 => _100(action.file_path, "modify")]);
4506
4650
  return this.formatDiffPreview(oldContent, newContent, action.file_path);
4507
4651
  }
4508
4652
  return `No changes needed for ${action.file_path} (content identical)`;
@@ -4536,7 +4680,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4536
4680
  });
4537
4681
  const allTodos = normalizedTasks;
4538
4682
  await this.files.writeFile(todoPath, JSON.stringify(allTodos, null, 2));
4539
- _optionalChain([this, 'access', _85 => _85.onFileModified, 'optionalCall', _86 => _86(todoPath, "modify")]);
4683
+ _optionalChain([this, 'access', _101 => _101.onFileModified, 'optionalCall', _102 => _102(todoPath, "modify")]);
4540
4684
  const total = allTodos.length;
4541
4685
  if (total === 0) {
4542
4686
  console.log(_chalk2.default.dim("\n\u{1F4CB} Task list cleared"));
@@ -4617,7 +4761,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4617
4761
  scope: _nullishCoalesce(action.scope, () => ( "user"))
4618
4762
  }, this.getRegisteredTools());
4619
4763
  const metaTool = result.definition;
4620
- _optionalChain([this, 'access', _87 => _87.onMetaToolCreated, 'optionalCall', _88 => _88(metaTool)]);
4764
+ _optionalChain([this, 'access', _103 => _103.onMetaToolCreated, 'optionalCall', _104 => _104(metaTool)]);
4621
4765
  console.log(_chalk2.default.green(`
4622
4766
  \u{1F527} ${result.status === "created" ? "Created" : "Reused"} meta-tool: ${metaTool.name}`));
4623
4767
  console.log(_chalk2.default.gray(` ${action.description}`));
@@ -4718,7 +4862,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4718
4862
  const query = _nullishCoalesce(action.query, () => ( ""));
4719
4863
  console.log(_chalk2.default.cyan(`
4720
4864
  Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...`));
4721
- const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-GGMZOVIE.cjs")));
4865
+ const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-RA2PKL63.cjs")));
4722
4866
  const result = await searchCommunitySkills(query, {
4723
4867
  category: action.category,
4724
4868
  limit: action.limit
@@ -4744,17 +4888,17 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4744
4888
  label: `${options.length + 1}. Other (type your own answer)`,
4745
4889
  value: "__other__"
4746
4890
  });
4747
- const result = await _chunkCH2J4PVEcjs.showModal.call(void 0, {
4891
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
4748
4892
  title: "Select an answer:",
4749
4893
  options
4750
4894
  });
4751
- const selected = _optionalChain([result, 'optionalAccess', _89 => _89.value]);
4895
+ const selected = _optionalChain([result, 'optionalAccess', _105 => _105.value]);
4752
4896
  if (!selected) {
4753
4897
  console.log(_chalk2.default.yellow("\nAnswer cancelled.\n"));
4754
4898
  return "<answer>No answer provided</answer>";
4755
4899
  }
4756
4900
  if (selected === "__other__") {
4757
- const answer = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4901
+ const answer = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4758
4902
  title: "Your answer:"
4759
4903
  });
4760
4904
  if (!answer) {
@@ -4771,7 +4915,7 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4771
4915
  `));
4772
4916
  return `<answer>${selected}</answer>`;
4773
4917
  } else {
4774
- const answer = await _chunkCH2J4PVEcjs.showInput.call(void 0, {
4918
+ const answer = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4775
4919
  title: "Your answer:"
4776
4920
  });
4777
4921
  const finalAnswer = answer || "No answer provided";
@@ -4890,7 +5034,7 @@ Or restart with:
4890
5034
  async executeCodeReview(action) {
4891
5035
  const targetPath = action.path ? this.resolveWorkspacePath(action.path) : this.runtime.workspaceRoot;
4892
5036
  const scope = action.scope || "full";
4893
- await _optionalChain([this, 'access', _90 => _90.onReviewHook, 'optionalCall', _91 => _91("review:start", {
5037
+ await _optionalChain([this, 'access', _106 => _106.onReviewHook, 'optionalCall', _107 => _107("review:start", {
4894
5038
  reviewPath: targetPath,
4895
5039
  reviewScope: scope,
4896
5040
  reviewInstructions: action.instructions
@@ -4905,7 +5049,7 @@ Or restart with:
4905
5049
  cwd: this.runtime.workspaceRoot,
4906
5050
  encoding: "utf8"
4907
5051
  }).catch(() => null);
4908
- context = _optionalChain([result2, 'optionalAccess', _92 => _92.stdout]) || "No uncommitted changes found.";
5052
+ context = _optionalChain([result2, 'optionalAccess', _108 => _108.stdout]) || "No uncommitted changes found.";
4909
5053
  } else if (scope === "file" && action.path) {
4910
5054
  const fse = (await Promise.resolve().then(() => _interopRequireWildcard(require("fs-extra")))).default;
4911
5055
  context = await fse.readFile(targetPath, "utf-8").catch(() => `Could not read ${targetPath}`);
@@ -4929,7 +5073,7 @@ Or restart with:
4929
5073
  cwd: this.runtime.workspaceRoot,
4930
5074
  encoding: "utf8"
4931
5075
  }).catch(() => null);
4932
- context = _optionalChain([tree, 'optionalAccess', _93 => _93.stdout]) || "";
5076
+ context = _optionalChain([tree, 'optionalAccess', _109 => _109.stdout]) || "";
4933
5077
  }
4934
5078
  const result = [
4935
5079
  `Code review initiated for: ${targetPath}`,
@@ -4939,7 +5083,7 @@ Or restart with:
4939
5083
  "Project structure:",
4940
5084
  context.slice(0, 5e3)
4941
5085
  ].filter(Boolean).join("\n");
4942
- await _optionalChain([this, 'access', _94 => _94.onReviewHook, 'optionalCall', _95 => _95("review:completed", {
5086
+ await _optionalChain([this, 'access', _110 => _110.onReviewHook, 'optionalCall', _111 => _111("review:completed", {
4943
5087
  reviewPath: targetPath,
4944
5088
  reviewScope: scope,
4945
5089
  reviewInstructions: action.instructions
@@ -4947,7 +5091,7 @@ Or restart with:
4947
5091
  return result;
4948
5092
  } catch (error) {
4949
5093
  const message = error instanceof Error ? error.message : String(error);
4950
- await _optionalChain([this, 'access', _96 => _96.onReviewHook, 'optionalCall', _97 => _97("review:failed", {
5094
+ await _optionalChain([this, 'access', _112 => _112.onReviewHook, 'optionalCall', _113 => _113("review:failed", {
4951
5095
  reviewPath: targetPath,
4952
5096
  reviewScope: scope,
4953
5097
  reviewInstructions: action.instructions,
@@ -4969,7 +5113,7 @@ Or restart with:
4969
5113
  * Identifies imports, classes, functions, and key sections with line numbers.
4970
5114
  */
4971
5115
  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()]) || "";
5116
+ const ext = _optionalChain([filePath, 'access', _114 => _114.split, 'call', _115 => _115("."), 'access', _116 => _116.pop, 'call', _117 => _117(), 'optionalAccess', _118 => _118.toLowerCase, 'call', _119 => _119()]) || "";
4973
5117
  const outline = [];
4974
5118
  const patterns = {
4975
5119
  ts: [
@@ -5129,11 +5273,11 @@ ${hit.snippet}`).join("\n\n");
5129
5273
  const sorted = withStats.map((s) => s.file);
5130
5274
  const limited = sorted.slice(0, limit);
5131
5275
  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(", ")]))), () => ( "*")));
5276
+ this.recordExploration("list", _nullishCoalesce(_nullishCoalesce(action.pattern, () => ( _optionalChain([action, 'access', _120 => _120.patterns, 'optionalAccess', _121 => _121.join, 'call', _122 => _122(", ")]))), () => ( "*")));
5133
5277
  return `${header}
5134
5278
  ${limited.join("\n")}`;
5135
5279
  } catch (error) {
5136
- const exitCode = _optionalChain([error, 'optionalAccess', _107 => _107.code]);
5280
+ const exitCode = _optionalChain([error, 'optionalAccess', _123 => _123.code]);
5137
5281
  if (exitCode === 1 || exitCode === "1") {
5138
5282
  return "No files found matching the pattern.";
5139
5283
  }
@@ -5172,7 +5316,7 @@ ${limited.join("\n")}`;
5172
5316
  if (!target) {
5173
5317
  return;
5174
5318
  }
5175
- _optionalChain([this, 'access', _108 => _108.logExploration, 'optionalCall', _109 => _109({ kind, target })]);
5319
+ _optionalChain([this, 'access', _124 => _124.logExploration, 'optionalCall', _125 => _125({ kind, target })]);
5176
5320
  }
5177
5321
  async executeCustomCommand(action) {
5178
5322
  const existing = await loadCustomCommand(action.name);
@@ -5398,10 +5542,10 @@ ${limited.join("\n")}`;
5398
5542
  const colorizedLines = [];
5399
5543
  let additions = 0;
5400
5544
  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";
5545
+ const addedColor = _optionalChain([theme, 'optionalAccess', _126 => _126.getColor, 'call', _127 => _127("diffAdded")]) || "#4caf50";
5546
+ const removedColor = _optionalChain([theme, 'optionalAccess', _128 => _128.getColor, 'call', _129 => _129("diffRemoved")]) || "#f44336";
5547
+ const contextColor = _optionalChain([theme, 'optionalAccess', _130 => _130.getColor, 'call', _131 => _131("diffContext")]) || "#9e9e9e";
5548
+ const accentColor = _optionalChain([theme, 'optionalAccess', _132 => _132.getColor, 'call', _133 => _133("accent")]) || "#00bcd4";
5405
5549
  const addedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, addedColor);
5406
5550
  const removedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, removedColor);
5407
5551
  const addBgR = addedRgb ? Math.floor(addedRgb.r * 0.15) : 30;
@@ -5610,7 +5754,40 @@ ${limited.join("\n")}`;
5610
5754
  }
5611
5755
  return outputLines.join("\n");
5612
5756
  }
5757
+ async emitGoalWrittenCompleted(result, source) {
5758
+ const objective = _optionalChain([result, 'access', _134 => _134.goal, 'optionalAccess', _135 => _135.objective]);
5759
+ if (!result.ok || !objective) {
5760
+ return;
5761
+ }
5762
+ await _optionalChain([this, 'access', _136 => _136.onGoalWrittenCompleted, 'optionalCall', _137 => _137({
5763
+ goalId: _optionalChain([result, 'access', _138 => _138.goal, 'optionalAccess', _139 => _139.goalId]),
5764
+ goalObjective: objective,
5765
+ goalSource: source
5766
+ })]);
5767
+ }
5613
5768
  }, _class3.__initStatic(), _class3);
5769
+ function parseGoalStatus(value) {
5770
+ if (!value) return void 0;
5771
+ if (value === "active" || value === "paused" || value === "complete" || value === "budgetLimited") {
5772
+ return value;
5773
+ }
5774
+ return void 0;
5775
+ }
5776
+ function formatGoalToolResult(result) {
5777
+ return JSON.stringify({
5778
+ ok: result.ok,
5779
+ message: result.message,
5780
+ goal: result.goal,
5781
+ queue: result.queue,
5782
+ queued: result.queued,
5783
+ started: result.started,
5784
+ completed: result.completed,
5785
+ completedRun: result.completedRun,
5786
+ dequeued: result.dequeued,
5787
+ removed: result.removed,
5788
+ telemetry: result.telemetry
5789
+ }, null, 2);
5790
+ }
5614
5791
 
5615
5792
 
5616
5793