autohand-cli 0.9.1 → 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 (432) hide show
  1. package/README.md +103 -79
  2. package/dist/AgentRegistry-BBQRODQC.cjs +18 -0
  3. package/dist/AgentRegistry-JBXZUPML.js +18 -0
  4. package/dist/{CommunitySkillsCache-ZACDPD4J.js → CommunitySkillsCache-CI7UN2DX.js} +2 -2
  5. package/dist/CommunitySkillsCache-XTQ6RMTA.cjs +8 -0
  6. package/dist/{HookManager-2S6AHOC3.js → HookManager-BELBPQQI.js} +1 -1
  7. package/dist/{HookManager-TVEQI5ZU.cjs → HookManager-ZL2CLAJW.cjs} +2 -2
  8. package/dist/{ImportWizard-AF2XL6DS.cjs → ImportWizard-U6CIJREW.cjs} +12 -12
  9. package/dist/{ImportWizard-AEBMAKXE.js → ImportWizard-VJFSWSUQ.js} +3 -3
  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-SJPY3ONR.js → NVIDIAProvider-AFNJNWJM.js} +1 -1
  15. package/dist/NVIDIAProvider-L5GTYRCQ.cjs +14 -0
  16. package/dist/{PermissionManager-MT7KBNNR.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-RB4RVAF6.js → ProviderFactory-XUT6BSGB.js} +4 -3
  20. package/dist/SessionManager-LGPQIA57.cjs +10 -0
  21. package/dist/{SessionManager-554PHVPC.js → SessionManager-OR4KDDDS.js} +2 -2
  22. package/dist/{SkillsRegistry-NHHMIUYJ.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/{about-3USFSGOH.js → about-OYVGQMJJ.js} +3 -3
  27. package/dist/{about-QR52U5DD.cjs → about-U2BH7HDR.cjs} +4 -4
  28. package/dist/{acp-5Y2W6OZP.js → acp-JWHGXZL5.js} +169 -103
  29. package/dist/{acp-GSYE75OB.cjs → acp-S37JOBCS.cjs} +184 -118
  30. package/dist/{actionExecutor-KHUU3Z3Q.cjs → actionExecutor-2QEPMELQ.cjs} +13 -13
  31. package/dist/{actionExecutor-PLQJZLZV.js → actionExecutor-6NCCORRB.js} +12 -12
  32. package/dist/add-dir-KFUHSIR2.cjs +11 -0
  33. package/dist/{add-dir-HCERJDBR.js → add-dir-MM2BM2Z2.js} +2 -2
  34. package/dist/agent-DUIYLIVN.js +132 -0
  35. package/dist/agent-YYEHGDAK.cjs +132 -0
  36. package/dist/agents-GBGG4CW7.cjs +19 -0
  37. package/dist/agents-ZH34C72F.js +19 -0
  38. package/dist/agents-new-ERXLS7SB.cjs +17 -0
  39. package/dist/{agents-new-7GAQ25EK.js → agents-new-EVTGPTA4.js} +6 -6
  40. package/dist/{autoSkill-66PKCYTW.js → autoSkill-HEWKJ5JV.js} +2 -2
  41. package/dist/autoSkill-YL6PN6AV.cjs +20 -0
  42. package/dist/automode-4BJ7FNPL.cjs +10 -0
  43. package/dist/{automode-BUF3VGXU.js → automode-S4U7A7Q2.js} +2 -2
  44. package/dist/chrome-45ZXHL5N.cjs +22 -0
  45. package/dist/{chrome-Y3T7EIHG.js → chrome-BBSRVG6S.js} +2 -2
  46. package/dist/chrome-IFVZRHAT.cjs +50 -0
  47. package/dist/chrome-MYE6DNA2.js +22 -0
  48. package/dist/{chunk-45CHNQM6.cjs → chunk-24CEJYEG.cjs} +93 -31
  49. package/dist/{chunk-6JWCGQJU.cjs → chunk-255GIVM2.cjs} +6 -6
  50. package/dist/{chunk-D546G7DA.cjs → chunk-2BDSR2OW.cjs} +98 -75
  51. package/dist/{chunk-PGFLPURU.js → chunk-2BPIR7LA.js} +121 -4
  52. package/dist/{chunk-AOKXYGBQ.cjs → chunk-2NY7OHBF.cjs} +41 -26
  53. package/dist/chunk-2WUNHTXL.js +303 -0
  54. package/dist/{chunk-PQBYFEBL.cjs → chunk-34B6ZO6W.cjs} +124 -7
  55. package/dist/{chunk-5JTTM5SC.js → chunk-3BJN7GAH.js} +1 -1
  56. package/dist/{chunk-3UC6DMFI.cjs → chunk-3CAXECWJ.cjs} +15 -15
  57. package/dist/{chunk-YWH55BWK.cjs → chunk-3CBYUBZC.cjs} +6 -9
  58. package/dist/chunk-3DF3GZQ7.js +277 -0
  59. package/dist/{chunk-KASXKDF2.cjs → chunk-3JURXAL6.cjs} +58 -7
  60. package/dist/{chunk-JV5HVCHU.cjs → chunk-3KWAP2Y3.cjs} +88 -9
  61. package/dist/{chunk-WPE2XHVX.js → chunk-3MCK6UBL.js} +1 -1
  62. package/dist/{chunk-U2QUMKCB.js → chunk-3TH7IK4M.js} +62 -9
  63. package/dist/{chunk-YXM6SA7P.js → chunk-3V77OB3W.js} +3 -3
  64. package/dist/{chunk-MZN6JBRZ.cjs → chunk-3Y5UEK7K.cjs} +4 -4
  65. package/dist/{chunk-BP37FVBM.js → chunk-4GPPSBEZ.js} +3 -3
  66. package/dist/{chunk-4XVLNOFA.js → chunk-5CMBAJ6K.js} +20 -3
  67. package/dist/{chunk-PNIAIOMZ.cjs → chunk-5YRXFBYZ.cjs} +35 -6
  68. package/dist/chunk-6AC2TT26.js +156 -0
  69. package/dist/{chunk-PSAH4ZQB.cjs → chunk-6EIQ6A6U.cjs} +2 -2
  70. package/dist/{chunk-YQDI753V.js → chunk-6HSEDXVF.js} +4 -4
  71. package/dist/{chunk-O5GI6SR3.js → chunk-6NUXK62F.js} +1 -1
  72. package/dist/{chunk-HVCIB4SW.cjs → chunk-6TGCAPYH.cjs} +62 -9
  73. package/dist/{chunk-HZWU6IO3.js → chunk-6W3SZCSP.js} +2 -5
  74. package/dist/{chunk-Q3BS6FPM.js → chunk-73LV3DDZ.js} +4 -4
  75. package/dist/{chunk-ZNGRLCFQ.js → chunk-7BGGLIQF.js} +83 -1
  76. package/dist/{chunk-ZNYZB7XY.cjs → chunk-7EEK7CRR.cjs} +83 -1
  77. package/dist/{chunk-HK5A54AV.cjs → chunk-7TO3PDMV.cjs} +48 -4
  78. package/dist/chunk-7UU22RSH.cjs +277 -0
  79. package/dist/{chunk-XNIMSVS6.cjs → chunk-A3GAM6FM.cjs} +11 -11
  80. package/dist/{chunk-W5QLA6WP.cjs → chunk-A7DJU75T.cjs} +8 -8
  81. package/dist/{chunk-7XTUL7ZD.cjs → chunk-AAAO4ERQ.cjs} +9 -9
  82. package/dist/{chunk-M5DK524Z.js → chunk-AAJLMP57.js} +2 -2
  83. package/dist/chunk-ABR756QN.js +529 -0
  84. package/dist/{chunk-OIGYWOL6.js → chunk-APFGDIPD.js} +3 -1
  85. package/dist/{chunk-PTTZI4QZ.js → chunk-APQYRMYL.js} +4 -4
  86. package/dist/{chunk-CO2AADYU.cjs → chunk-AZKOIF2G.cjs} +55 -17
  87. package/dist/{chunk-P6SLT2F4.cjs → chunk-AZLHUPNC.cjs} +2 -2
  88. package/dist/chunk-B55VCYSQ.cjs +30 -0
  89. package/dist/{chunk-JMJRFSNJ.js → chunk-BLQUMSM3.js} +1 -1
  90. package/dist/{chunk-MGNXABSU.cjs → chunk-BXKPX6K4.cjs} +9 -9
  91. package/dist/{chunk-MQQH4XQH.cjs → chunk-C66FN2LP.cjs} +4 -4
  92. package/dist/{chunk-CECH6QQP.js → chunk-CH7KUFAS.js} +10 -10
  93. package/dist/{chunk-PIXQ2AVM.cjs → chunk-CILSXOPI.cjs} +17 -17
  94. package/dist/{chunk-IEPLQ47J.js → chunk-CM24K6ZT.js} +89 -12
  95. package/dist/chunk-CMEZ42F2.cjs +303 -0
  96. package/dist/{chunk-X5P6QQOB.cjs → chunk-CNQKIWIS.cjs} +100 -23
  97. package/dist/{chunk-AQ5PVHOC.cjs → chunk-CSUGNNJY.cjs} +4 -3
  98. package/dist/{chunk-QRQF3556.js → chunk-D6HB3H3L.js} +25 -10
  99. package/dist/{chunk-XZVDYC5U.js → chunk-D7AYKVKW.js} +2 -2
  100. package/dist/{chunk-3UHRCHKB.cjs → chunk-DLCXWOWT.cjs} +23 -23
  101. package/dist/{chunk-CK4HAHVY.cjs → chunk-DMM2BKSV.cjs} +118 -25
  102. package/dist/{chunk-SPQ7QIQ6.js → chunk-DW3DPV77.js} +1 -1
  103. package/dist/chunk-ECQD2QC3.cjs +33 -0
  104. package/dist/{chunk-SNDDZG5H.js → chunk-EEYOS3UC.js} +90 -70
  105. package/dist/{chunk-DGBPWODD.js → chunk-EF2EN5CR.js} +2 -2
  106. package/dist/{chunk-M7B7RRBK.cjs → chunk-EFXFURDY.cjs} +138 -51
  107. package/dist/chunk-EK34UZPB.cjs +40 -0
  108. package/dist/{chunk-CRTCZ4WL.cjs → chunk-FJR6EZLO.cjs} +3834 -2337
  109. package/dist/{chunk-TYBPTKFT.js → chunk-FPO7YNPQ.js} +1 -1
  110. package/dist/{chunk-X3TI5TJJ.js → chunk-FS4I6BNR.js} +1 -1
  111. package/dist/{chunk-WNJXIACY.js → chunk-FSJ2MNOC.js} +3 -3
  112. package/dist/{chunk-44ZWOBTI.js → chunk-GEHZMC4G.js} +12 -9
  113. package/dist/{chunk-Y5BDE24P.cjs → chunk-GO6C2RAR.cjs} +3 -0
  114. package/dist/{chunk-XW3XCK4E.cjs → chunk-GSMR6V36.cjs} +4 -4
  115. package/dist/{chunk-H426KOGY.js → chunk-GSZWATME.js} +1 -1
  116. package/dist/{chunk-S5JNQIGL.cjs → chunk-GYLGCR6F.cjs} +5 -5
  117. package/dist/{chunk-ONVYXTUT.cjs → chunk-H3OOWNYQ.cjs} +3 -3
  118. package/dist/{chunk-V5ELP2XE.js → chunk-H65446XW.js} +110 -15
  119. package/dist/{chunk-LANGD5CO.js → chunk-H7HXRRHK.js} +45 -1
  120. package/dist/{chunk-RBXBH6EB.cjs → chunk-HN2JTDN5.cjs} +17 -17
  121. package/dist/{chunk-SOVR7S3T.cjs → chunk-HNXUZ5OY.cjs} +2 -2
  122. package/dist/{chunk-AZ47LKD5.cjs → chunk-HOYT3E65.cjs} +3 -3
  123. package/dist/{chunk-P4FUTSVK.js → chunk-HTPY5ESD.js} +3 -3
  124. package/dist/{chunk-5SFV2NCY.cjs → chunk-HVLWH2AF.cjs} +10 -10
  125. package/dist/{chunk-VQHSYAPZ.cjs → chunk-HZTEU4W5.cjs} +62 -93
  126. package/dist/{chunk-4XFHP2SN.cjs → chunk-I5T7LPFP.cjs} +7 -7
  127. package/dist/{chunk-ZPLCAXJW.js → chunk-IB5CJXE7.js} +7 -7
  128. package/dist/{chunk-KM7R5YPS.cjs → chunk-INNXFLDR.cjs} +9 -6
  129. package/dist/{chunk-2ESQR35E.cjs → chunk-JFLEP3T7.cjs} +10 -10
  130. package/dist/chunk-JJGDOBFL.js +40 -0
  131. package/dist/{chunk-5A7ZL64N.js → chunk-JSU46T6K.js} +1 -1
  132. package/dist/{chunk-NB6M6ESM.js → chunk-K6WN6BT4.js} +1 -1
  133. package/dist/{chunk-QQ64HEHP.cjs → chunk-KIQH3SMT.cjs} +34 -31
  134. package/dist/{chunk-MANJ67D3.js → chunk-KPRXHIE2.js} +52 -83
  135. package/dist/{chunk-6HF6XSCC.js → chunk-LIO3RX2Z.js} +2 -2
  136. package/dist/{chunk-NZ3ZWLUW.js → chunk-LOSXLH7P.js} +109 -16
  137. package/dist/{chunk-NZ7GCK7Y.cjs → chunk-LSOR72PB.cjs} +23 -23
  138. package/dist/{chunk-6AYJCDTA.js → chunk-MA3AVDCC.js} +47 -9
  139. package/dist/{chunk-PZZMIYII.js → chunk-ME3S2WIR.js} +3 -3
  140. package/dist/{chunk-2IW5YFJ4.js → chunk-NC2I2M4P.js} +4 -4
  141. package/dist/{chunk-AE2ILW25.cjs → chunk-NC4A4LVC.cjs} +13 -13
  142. package/dist/{chunk-EEHWALXA.js → chunk-NGEK5FCJ.js} +85 -3
  143. package/dist/{chunk-MMKZSJUN.js → chunk-NKW6CHXQ.js} +1 -1
  144. package/dist/{chunk-JB3JCYBJ.js → chunk-NOWCRKP2.js} +4 -3
  145. package/dist/{chunk-3ZOOH44N.js → chunk-NUB2LMB6.js} +2 -2
  146. package/dist/chunk-O246MKIW.cjs +267 -0
  147. package/dist/{chunk-SRMGWMQO.js → chunk-OGFWL2PS.js} +1 -1
  148. package/dist/{chunk-YISPVAXO.cjs → chunk-ONNGAR6W.cjs} +340 -597
  149. package/dist/{chunk-7WAUCLLQ.js → chunk-OOFR6A62.js} +33 -4
  150. package/dist/{chunk-4E7SHPNQ.js → chunk-OZ7FHO7J.js} +2 -2
  151. package/dist/{chunk-NV6LCD2I.cjs → chunk-P5EWGUI2.cjs} +109 -27
  152. package/dist/{chunk-YC5OBZQU.js → chunk-P6BQJPAI.js} +41 -18
  153. package/dist/{chunk-SHRLFX6F.js → chunk-PG2JIU5M.js} +57 -6
  154. package/dist/{chunk-6OECOAK5.cjs → chunk-PI27G2ED.cjs} +25 -8
  155. package/dist/{chunk-TR6NECEZ.js → chunk-PI7LRPL6.js} +1 -1
  156. package/dist/{chunk-GAOPJ5S3.cjs → chunk-PMPEC5HN.cjs} +18 -15
  157. package/dist/{chunk-5GCQ5UMV.cjs → chunk-PYUP7AKY.cjs} +14 -14
  158. package/dist/{chunk-S5QKRA2V.js → chunk-QC5Z3ZT5.js} +2 -2
  159. package/dist/chunk-QDO4L2A7.cjs +156 -0
  160. package/dist/{chunk-LFDPTJYF.cjs → chunk-QDXRI5AM.cjs} +1 -1
  161. package/dist/{chunk-26G7YGOW.js → chunk-QVXMSQOG.js} +84 -21
  162. package/dist/{chunk-SVVP4UUZ.cjs → chunk-R4UKBKDY.cjs} +11 -11
  163. package/dist/{chunk-HG3ZASBH.cjs → chunk-R75AWII3.cjs} +112 -17
  164. package/dist/{chunk-TE4SYTWR.cjs → chunk-RD5PLUIX.cjs} +8 -8
  165. package/dist/{chunk-FFHSCM5M.js → chunk-RGB34CV5.js} +3 -3
  166. package/dist/{chunk-SY2P3Z5W.cjs → chunk-RJCZLFHE.cjs} +96 -32
  167. package/dist/{chunk-22SCR3EV.cjs → chunk-RKWNM2BJ.cjs} +2 -2
  168. package/dist/{chunk-FBQJZKFX.js → chunk-RMVONICR.js} +3 -3
  169. package/dist/{chunk-PY73W5MQ.cjs → chunk-RPSYRJL7.cjs} +10 -4
  170. package/dist/{chunk-HXHE2KAO.js → chunk-RWKU2X7O.js} +7 -4
  171. package/dist/{chunk-NQZH5CR2.cjs → chunk-RZLEGVMH.cjs} +102 -5
  172. package/dist/{chunk-KMP6Y3LJ.js → chunk-S2L3Y677.js} +1 -1
  173. package/dist/{chunk-GSDV75A5.js → chunk-S7KVUIOS.js} +1 -1
  174. package/dist/{chunk-7PT646AL.cjs → chunk-SACJJ6NO.cjs} +5 -3
  175. package/dist/{chunk-LEZEWKPA.js → chunk-SJQU2ZFR.js} +96 -32
  176. package/dist/{chunk-65LRPW5W.js → chunk-SKAQKQFF.js} +12 -2
  177. package/dist/chunk-T4DXP5OP.js +30 -0
  178. package/dist/{chunk-EYHKL4QC.js → chunk-T6FTB6K2.js} +1 -1
  179. package/dist/{chunk-DNSD7DVJ.js → chunk-T6N6GRFT.js} +13 -10
  180. package/dist/{chunk-575PXZX7.js → chunk-TJFKA6A7.js} +82 -3
  181. package/dist/{chunk-HSWWM6AM.js → chunk-TJZUPS4Z.js} +34 -291
  182. package/dist/{chunk-DHUQZ53B.cjs → chunk-TLKHZ425.cjs} +2 -2
  183. package/dist/{chunk-VLGGMQUN.cjs → chunk-TQ24NLXO.cjs} +6 -6
  184. package/dist/{chunk-LUMV3DB2.js → chunk-TWBAU46X.js} +1 -1
  185. package/dist/{chunk-EA2MS25U.cjs → chunk-TZB5XADL.cjs} +4 -4
  186. package/dist/{chunk-U6PLSPMD.cjs → chunk-UAYXZXWU.cjs} +4 -4
  187. package/dist/{chunk-OV3T5MUH.cjs → chunk-UKBFNBDO.cjs} +11 -11
  188. package/dist/{chunk-SZD45IDG.js → chunk-UMJYX5KD.js} +101 -4
  189. package/dist/{chunk-B76FJKEJ.cjs → chunk-USKYTHDL.cjs} +69 -18
  190. package/dist/{chunk-NZQFKXM3.cjs → chunk-VAJUSZMC.cjs} +15 -15
  191. package/dist/{chunk-SDLY4X3G.js → chunk-VGQG4NBJ.js} +2 -2
  192. package/dist/{chunk-KWXGDSYT.js → chunk-VLUIVJ3J.js} +58 -7
  193. package/dist/{chunk-KJ26T7GM.cjs → chunk-VOBINVMV.cjs} +105 -42
  194. package/dist/{chunk-C5QIQQ37.js → chunk-VSHKKCSH.js} +16 -5
  195. package/dist/{chunk-L46OUKW5.cjs → chunk-VSZU3MGA.cjs} +28 -17
  196. package/dist/{chunk-YFXTE422.cjs → chunk-VWHAUB77.cjs} +8 -3
  197. package/dist/{chunk-UWZ4G3SQ.js → chunk-VXGYFX45.js} +4 -4
  198. package/dist/{chunk-C46B72VK.js → chunk-WH6YUQDB.js} +141 -54
  199. package/dist/{chunk-SFFEKZGC.js → chunk-WQ6TD55V.js} +2 -2
  200. package/dist/{chunk-7PJKTSRN.js → chunk-WQWECXTY.js} +3 -3
  201. package/dist/{chunk-DSSCERHI.cjs → chunk-WVDJUJH6.cjs} +2 -2
  202. package/dist/{chunk-JPFRI4L4.js → chunk-X24VIVDZ.js} +210 -26
  203. package/dist/{chunk-7IRQ7JEH.js → chunk-X4NRTLXD.js} +7 -1
  204. package/dist/{chunk-7MY4JHER.js → chunk-X53SHYCG.js} +2 -2
  205. package/dist/{chunk-RFUKZIJF.cjs → chunk-XB2Z4ZAK.cjs} +5 -5
  206. package/dist/{chunk-WJYFLQ7G.cjs → chunk-Y47OJGLB.cjs} +3 -3
  207. package/dist/{chunk-HC2Q6A3E.cjs → chunk-Y4MN27V3.cjs} +361 -177
  208. package/dist/{chunk-ZK6HOR62.js → chunk-YEHFYZFU.js} +7 -2
  209. package/dist/{chunk-FFBDRUO5.cjs → chunk-YICIUY23.cjs} +1 -1
  210. package/dist/{chunk-63ANVAOJ.cjs → chunk-YMXYC777.cjs} +3 -3
  211. package/dist/{chunk-X7XMITIL.cjs → chunk-Z3GRWK6O.cjs} +8 -8
  212. package/dist/{chunk-3ICORF7M.cjs → chunk-Z5GG2KSL.cjs} +4 -4
  213. package/dist/{chunk-I2ZK3AOD.js → chunk-ZER7DYQK.js} +2 -2
  214. package/dist/{chunk-V3SZLWEQ.cjs → chunk-ZFDXZEZJ.cjs} +11 -11
  215. package/dist/{chunk-QBYGMMDD.js → chunk-ZFV4HJA6.js} +66 -4
  216. package/dist/chunk-ZHMYTI5D.cjs +529 -0
  217. package/dist/{chunk-4567QNRB.js → chunk-ZLR2TFBC.js} +3 -0
  218. package/dist/{chunk-OCATAKXV.cjs → chunk-ZTWNU5QZ.cjs} +20 -20
  219. package/dist/{chunk-CCIDL4SA.js → chunk-ZVLVLDYN.js} +2915 -1418
  220. package/dist/clear-AJGXD2BB.cjs +12 -0
  221. package/dist/{clear-Y5TO3RZA.js → clear-HAHDSWKW.js} +3 -3
  222. package/dist/communityInstaller-IRR6M3N6.cjs +22 -0
  223. package/dist/{communityInstaller-RVL4STPS.js → communityInstaller-OLKEUGMX.js} +5 -5
  224. package/dist/completion-G7Z436TF.cjs +17 -0
  225. package/dist/{completion-SE3XYG74.js → completion-ZS3AXJ6A.js} +4 -4
  226. package/dist/{config-7KPHKFTP.js → config-OWYAQPCX.js} +5 -4
  227. package/dist/config-W2BHT2QE.cjs +22 -0
  228. package/dist/{constants-EJFAWJQI.js → constants-AS6K67AA.js} +5 -3
  229. package/dist/constants-B4W5BT7F.cjs +23 -0
  230. package/dist/{export-BJVIDZC4.js → export-5HIU3KMD.js} +4 -4
  231. package/dist/export-GFD32UY2.cjs +15 -0
  232. package/dist/{extractSessionMemories-A2JX5WJ2.js → extractSessionMemories-K6ZVAW2F.js} +1 -1
  233. package/dist/{extractSessionMemories-XL3MS37F.cjs → extractSessionMemories-LLOIJR5U.cjs} +2 -2
  234. package/dist/feature-KP74CZ3F.cjs +14 -0
  235. package/dist/{feature-V4JF5TNJ.js → feature-OPNVMB2E.js} +2 -2
  236. package/dist/features-LT55MURX.cjs +24 -0
  237. package/dist/features-ZDIU26WX.js +24 -0
  238. package/dist/feedback-7WTJFQ6S.js +18 -0
  239. package/dist/feedback-CEOJ3453.cjs +18 -0
  240. package/dist/go-2CY5SZNR.js +16 -0
  241. package/dist/go-O2CSQON4.cjs +16 -0
  242. package/dist/goal-DL2N2AWT.cjs +16 -0
  243. package/dist/goal-IJS7VZSG.js +16 -0
  244. package/dist/help-RNOGDEBA.cjs +12 -0
  245. package/dist/{help-MLIROWKM.js → help-TCWD2IRH.js} +2 -2
  246. package/dist/{history-GQJ6RZD6.js → history-ATOR5OQV.js} +2 -2
  247. package/dist/history-UUSGX2AL.cjs +14 -0
  248. package/dist/{hooks-PPFHCF7T.js → hooks-R3Z5QKUP.js} +5 -5
  249. package/dist/hooks-RWM5UY67.cjs +18 -0
  250. package/dist/{i18n-Q7UZJRPL.js → i18n-4QI4TD4I.js} +1 -1
  251. package/dist/i18n-MFAEU5RV.cjs +33 -0
  252. package/dist/{ide-BUSVE54P.js → ide-6PBTCCUQ.js} +4 -4
  253. package/dist/ide-UE3G7NMQ.cjs +15 -0
  254. package/dist/{import-C7S6UJMW.cjs → import-2IG76KAN.cjs} +6 -4
  255. package/dist/{import-U47DXCA7.js → import-E47QL4DW.js} +2 -2
  256. package/dist/import-NQDNBFUL.cjs +10 -0
  257. package/dist/{import-3VBKI6BN.js → import-VQIHGJWS.js} +6 -4
  258. package/dist/index.cjs +444 -334
  259. package/dist/index.d.cts +38 -0
  260. package/dist/index.d.ts +38 -0
  261. package/dist/index.js +324 -214
  262. package/dist/init-DX3RDGDT.cjs +10 -0
  263. package/dist/{init-Q2O4R42R.js → init-Q54OAAFZ.js} +2 -2
  264. package/dist/{inputPrompt-3CFZDUBH.js → inputPrompt-V2VBDRM7.js} +2 -2
  265. package/dist/inputPrompt-WVGVWAHS.cjs +90 -0
  266. package/dist/language-I6KXAOXD.js +23 -0
  267. package/dist/language-XMIVOH5E.cjs +23 -0
  268. package/dist/learn-JPVVGTKU.js +23 -0
  269. package/dist/learn-NLSHI2MZ.cjs +23 -0
  270. package/dist/login-NABQYLYC.cjs +28 -0
  271. package/dist/login-XPOVFSWN.js +28 -0
  272. package/dist/logout-HNHCGB4Q.js +25 -0
  273. package/dist/logout-SKGDXJSW.cjs +25 -0
  274. package/dist/{mcp-AH3MMUBU.js → mcp-EN73YFGZ.js} +8 -7
  275. package/dist/mcp-TADZCPJQ.cjs +22 -0
  276. package/dist/{mcp-install-IA4ZS2SV.cjs → mcp-install-2GKWWBAS.cjs} +14 -13
  277. package/dist/{mcp-install-222PCKSW.js → mcp-install-3TBTVSHW.js} +9 -8
  278. package/dist/memory-GRXFTDIN.cjs +10 -0
  279. package/dist/{memory-VB46T5H3.js → memory-K2P3CDCH.js} +2 -2
  280. package/dist/{model-SJJG64AM.js → model-DEG22OWA.js} +2 -2
  281. package/dist/model-OSD74T7Z.cjs +10 -0
  282. package/dist/new-4NWBOATU.cjs +12 -0
  283. package/dist/{new-ERZ5C6CN.js → new-KJAP2MB6.js} +3 -3
  284. package/dist/{onboarding-ZQXMPSMJ.js → onboarding-2U5WE2OA.js} +17 -14
  285. package/dist/onboarding-5DZFCO5Q.cjs +39 -0
  286. package/dist/permissions-KY5I6YQ3.cjs +10 -0
  287. package/dist/{permissions-7ACNFK7A.js → permissions-TKYON7PP.js} +2 -2
  288. package/dist/{plan-YYUAXPTL.js → plan-DYHHLZSS.js} +1 -1
  289. package/dist/plan-PYKP652W.cjs +13 -0
  290. package/dist/quit-GSKJL42O.js +14 -0
  291. package/dist/quit-TQSRTBUT.cjs +14 -0
  292. package/dist/{registry-4DXUDKJN.js → registry-EZ4V4TUQ.js} +1339 -1
  293. package/dist/{registry-UEO3ETZ7.cjs → registry-LCWYI4IB.cjs} +1378 -40
  294. package/dist/resume-4VWJXARX.cjs +17 -0
  295. package/dist/{resume-XSXZMDMD.js → resume-TLHWWWFN.js} +5 -5
  296. package/dist/{review-QHP2KP4Q.js → review-CSK4IYTO.js} +1 -1
  297. package/dist/review-XLJEUH5K.cjs +9 -0
  298. package/dist/{rpc-XH7QLN4H.js → rpc-3DLQBDWU.js} +151 -124
  299. package/dist/{rpc-YF54T7JU.cjs → rpc-O36WUU3L.cjs} +169 -142
  300. package/dist/search-DSX2CY4A.cjs +22 -0
  301. package/dist/search-I3QUDUQL.js +22 -0
  302. package/dist/sessionBranching-DVNOUWJT.cjs +19 -0
  303. package/dist/sessionBranching-FKV4CR36.js +19 -0
  304. package/dist/sessions-3JUOT3ED.cjs +10 -0
  305. package/dist/{sessions-NJYHJOEL.js → sessions-VWMDIPOS.js} +2 -2
  306. package/dist/{settings-ZXUQH3DO.js → settings-FT2LZZUV.js} +11 -8
  307. package/dist/settings-RL4KNWHB.cjs +45 -0
  308. package/dist/setup-HQEJVOYT.js +32 -0
  309. package/dist/setup-MN54LKOL.cjs +32 -0
  310. package/dist/share-BUAFZNBX.cjs +17 -0
  311. package/dist/{share-WFAGZ5PY.js → share-CGB6MAVJ.js} +6 -6
  312. package/dist/skills/builtin/code-reviewer/SKILL.md +64 -0
  313. package/dist/skills/builtin/goal-writer/SKILL.md +124 -0
  314. package/dist/{skills-NBTNDVAY.js → skills-7DKR3HRZ.js} +7 -7
  315. package/dist/{skills-OB6RDW7D.js → skills-BBBENOEY.js} +9 -9
  316. package/dist/skills-OQM7IHAF.cjs +29 -0
  317. package/dist/{skills-ZROBG3RZ.cjs → skills-RA2PKL63.cjs} +9 -9
  318. package/dist/{skills-install-ILX6QVEF.cjs → skills-install-D7K476SL.cjs} +15 -15
  319. package/dist/{skills-install-BHTIEMKH.js → skills-install-T4SOKJSL.js} +8 -8
  320. package/dist/{skills-new-YMRP2HNO.js → skills-new-S33NGEU3.js} +6 -6
  321. package/dist/skills-new-UVYH53MD.cjs +18 -0
  322. package/dist/slashCommands-MWOUDSQP.js +111 -0
  323. package/dist/slashCommands-XASURUTV.cjs +111 -0
  324. package/dist/squad-PIIYDFVH.cjs +15 -0
  325. package/dist/squad-VHYOVEJP.js +15 -0
  326. package/dist/status-GHFTXQBL.js +25 -0
  327. package/dist/status-WXMIJIU3.cjs +25 -0
  328. package/dist/statusline-2K7AC6ZQ.js +21 -0
  329. package/dist/statusline-GROI4HOC.cjs +21 -0
  330. package/dist/sync-254WF6JI.cjs +42 -0
  331. package/dist/sync-2DIZN4EH.cjs +24 -0
  332. package/dist/{sync-OCJN4ZSO.js → sync-J6I2ZUKQ.js} +5 -3
  333. package/dist/{sync-7C25MOT2.js → sync-Z3LVSEEV.js} +8 -6
  334. package/dist/{teammate-D77B6QRT.cjs → teammate-EXR76PEQ.cjs} +5 -5
  335. package/dist/{teammate-EZCMHOIL.js → teammate-K4DAOFEQ.js} +5 -5
  336. package/dist/theme-MVQDSU47.js +23 -0
  337. package/dist/theme-QAKEYWJG.cjs +23 -0
  338. package/dist/ui/questionModal.cjs +5 -5
  339. package/dist/ui/questionModal.js +4 -4
  340. package/dist/{undo-GNUTFXCW.js → undo-5AU47JHF.js} +2 -2
  341. package/dist/undo-ME6WKUXZ.cjs +10 -0
  342. package/dist/{usage-QSTNSDAO.js → usage-QTKO2YMD.js} +6 -5
  343. package/dist/usage-TYNJKVER.cjs +25 -0
  344. package/package.json +4 -3
  345. package/dist/AgentRegistry-GOV7FN2O.js +0 -10
  346. package/dist/AgentRegistry-J2C6JBZ3.cjs +0 -10
  347. package/dist/CommunitySkillsCache-22BB3J6H.cjs +0 -8
  348. package/dist/LearnAdvisor-KKEQ5QCV.js +0 -9
  349. package/dist/LearnAdvisor-Q7RAYLPF.cjs +0 -9
  350. package/dist/MemoryManager-PMNAEZMB.cjs +0 -8
  351. package/dist/MemoryManager-QZRLTUB5.js +0 -8
  352. package/dist/NVIDIAProvider-C3FWQOBZ.cjs +0 -14
  353. package/dist/PermissionManager-URCNP5EC.cjs +0 -11
  354. package/dist/ProviderFactory-56N3ECE4.cjs +0 -12
  355. package/dist/SessionManager-2IZGWASQ.cjs +0 -10
  356. package/dist/SkillsRegistry-GMRVONOQ.cjs +0 -9
  357. package/dist/SubAgent-4GOR2FIJ.js +0 -13
  358. package/dist/SubAgent-ZJMDH4FI.cjs +0 -13
  359. package/dist/add-dir-BTAD5OZS.cjs +0 -11
  360. package/dist/agent-B3EVT7NN.cjs +0 -126
  361. package/dist/agent-SATQ3WZ3.js +0 -126
  362. package/dist/agents-44CRJGM7.cjs +0 -18
  363. package/dist/agents-NN4ZAJ7R.js +0 -18
  364. package/dist/agents-new-6D6G4QS6.cjs +0 -17
  365. package/dist/autoSkill-VQLGBELN.cjs +0 -20
  366. package/dist/automode-45DWV4TN.cjs +0 -10
  367. package/dist/chrome-Q2U73HZB.cjs +0 -50
  368. package/dist/chrome-Q54OALOK.cjs +0 -21
  369. package/dist/chrome-ZNJ46OYW.js +0 -21
  370. package/dist/chunk-JCUHCH37.cjs +0 -247
  371. package/dist/chunk-VKOXFT4L.cjs +0 -23
  372. package/dist/clear-QJXU25IF.cjs +0 -12
  373. package/dist/communityInstaller-LXMVKVAV.cjs +0 -22
  374. package/dist/completion-JX4T2ONW.cjs +0 -17
  375. package/dist/config-3224PRW4.cjs +0 -21
  376. package/dist/constants-MCCGUU5F.cjs +0 -21
  377. package/dist/export-KU4557HK.cjs +0 -15
  378. package/dist/feature-K3LG5IJP.cjs +0 -14
  379. package/dist/features-5OJTLKS7.js +0 -23
  380. package/dist/features-VCBJQXCX.cjs +0 -23
  381. package/dist/feedback-D4437VE4.js +0 -18
  382. package/dist/feedback-VZPEHGFY.cjs +0 -18
  383. package/dist/go-X4E6BCD6.js +0 -12
  384. package/dist/go-XREVFS5I.cjs +0 -12
  385. package/dist/goal-4M3J6JS2.cjs +0 -16
  386. package/dist/goal-EI66BV7W.js +0 -16
  387. package/dist/help-GGFS7WHY.cjs +0 -12
  388. package/dist/history-J4LUIOSI.cjs +0 -14
  389. package/dist/hooks-FSRIUS6A.cjs +0 -18
  390. package/dist/i18n-CI6VFXL5.cjs +0 -33
  391. package/dist/ide-YR27BPGM.cjs +0 -15
  392. package/dist/import-DBK4OCDF.cjs +0 -10
  393. package/dist/init-OXTYS72D.cjs +0 -10
  394. package/dist/inputPrompt-JMACL4EB.cjs +0 -90
  395. package/dist/language-EK3M6UBV.cjs +0 -22
  396. package/dist/language-Q3RUGGOW.js +0 -22
  397. package/dist/learn-3DSX7DYG.cjs +0 -23
  398. package/dist/learn-OPOH5L43.js +0 -23
  399. package/dist/login-GST7MWXJ.cjs +0 -27
  400. package/dist/login-Q7DZKAX4.js +0 -27
  401. package/dist/logout-2G7OUK7I.cjs +0 -24
  402. package/dist/logout-FNBBL2UI.js +0 -24
  403. package/dist/mcp-DW7R63IB.cjs +0 -21
  404. package/dist/memory-6NX3DAIY.cjs +0 -10
  405. package/dist/model-64NAELFS.cjs +0 -10
  406. package/dist/new-DU5SOOOY.cjs +0 -12
  407. package/dist/onboarding-2U2BV2KE.cjs +0 -36
  408. package/dist/permissions-GSNNV7RJ.cjs +0 -10
  409. package/dist/plan-XEJMOT55.cjs +0 -13
  410. package/dist/quit-WY6T267G.js +0 -10
  411. package/dist/quit-XIRE2KRE.cjs +0 -10
  412. package/dist/resume-RQZ3WXBP.cjs +0 -17
  413. package/dist/review-UWHWQHCB.cjs +0 -9
  414. package/dist/search-VXXFGZWU.cjs +0 -21
  415. package/dist/search-YAWGX7P7.js +0 -21
  416. package/dist/sessions-OSG3UJEZ.cjs +0 -10
  417. package/dist/settings-SO2UIGWV.cjs +0 -42
  418. package/dist/setup-KG7EGKF5.js +0 -30
  419. package/dist/setup-RSOPCQ57.cjs +0 -30
  420. package/dist/share-ZU3SGACF.cjs +0 -17
  421. package/dist/skills-KBVAQAD2.cjs +0 -29
  422. package/dist/skills-new-B45VQ2PP.cjs +0 -18
  423. package/dist/slashCommands-53VYIBJU.js +0 -105
  424. package/dist/slashCommands-BG2RGGZ6.cjs +0 -105
  425. package/dist/status-CQ2IUOVK.cjs +0 -24
  426. package/dist/status-E7IGNVPC.js +0 -24
  427. package/dist/sync-XRP46IVG.cjs +0 -40
  428. package/dist/sync-ZMFVE7T4.cjs +0 -22
  429. package/dist/theme-KKRDE6P7.cjs +0 -22
  430. package/dist/theme-XF7XIWBQ.js +0 -22
  431. package/dist/undo-U4KN7QQM.cjs +0 -10
  432. package/dist/usage-YDEMQBNQ.cjs +0 -24
@@ -3,42 +3,42 @@
3
3
  var _chunkHXQREVTAcjs = require('./chunk-HXQREVTA.cjs');
4
4
 
5
5
 
6
- var _chunkNQZH5CR2cjs = require('./chunk-NQZH5CR2.cjs');
6
+ var _chunkRZLEGVMHcjs = require('./chunk-RZLEGVMH.cjs');
7
7
 
8
8
 
9
9
  var _chunk4JNNTOGFcjs = require('./chunk-4JNNTOGF.cjs');
10
10
 
11
11
 
12
- var _chunkW5QLA6WPcjs = require('./chunk-W5QLA6WP.cjs');
13
12
 
14
13
 
15
14
 
16
15
 
17
- var _chunkJ5HE6CUMcjs = require('./chunk-J5HE6CUM.cjs');
16
+ var _chunkWKRDBCP2cjs = require('./chunk-WKRDBCP2.cjs');
18
17
 
19
18
 
20
- var _chunkWTB7AFL6cjs = require('./chunk-WTB7AFL6.cjs');
19
+ var _chunkA7DJU75Tcjs = require('./chunk-A7DJU75T.cjs');
21
20
 
22
21
 
23
- var _chunkWBU4Q4GScjs = require('./chunk-WBU4Q4GS.cjs');
24
22
 
25
23
 
26
- var _chunkLFDPTJYFcjs = require('./chunk-LFDPTJYF.cjs');
24
+ var _chunkJ5HE6CUMcjs = require('./chunk-J5HE6CUM.cjs');
27
25
 
28
26
 
27
+ var _chunkWTB7AFL6cjs = require('./chunk-WTB7AFL6.cjs');
29
28
 
30
- var _chunkWJYFLQ7Gcjs = require('./chunk-WJYFLQ7G.cjs');
31
29
 
30
+ var _chunkWBU4Q4GScjs = require('./chunk-WBU4Q4GS.cjs');
32
31
 
33
32
 
33
+ var _chunkQDXRI5AMcjs = require('./chunk-QDXRI5AM.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkWKRDBCP2cjs = require('./chunk-WKRDBCP2.cjs');
37
+ var _chunkY47OJGLBcjs = require('./chunk-Y47OJGLB.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkCK4HAHVYcjs = require('./chunk-CK4HAHVY.cjs');
41
+ var _chunkDMM2BKSVcjs = require('./chunk-DMM2BKSV.cjs');
42
42
 
43
43
 
44
44
 
@@ -47,7 +47,7 @@ var _chunk2VHB43IXcjs = require('./chunk-2VHB43IX.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkKASXKDF2cjs = require('./chunk-KASXKDF2.cjs');
50
+ var _chunk3JURXAL6cjs = require('./chunk-3JURXAL6.cjs');
51
51
 
52
52
  // src/core/actionExecutor.ts
53
53
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -1856,7 +1856,7 @@ function applyNotebookEdit(rawContent, input) {
1856
1856
  // src/core/customCommands.ts
1857
1857
 
1858
1858
 
1859
- var COMMANDS_DIR = _chunkKASXKDF2cjs.AUTOHAND_PATHS.commands;
1859
+ var COMMANDS_DIR = _chunk3JURXAL6cjs.AUTOHAND_PATHS.commands;
1860
1860
  async function loadCustomCommand(name) {
1861
1861
  const filePath = _path2.default.join(COMMANDS_DIR, `${sanitizeName(name)}.json`);
1862
1862
  if (!await _fsextra2.default.pathExists(filePath)) {
@@ -2442,14 +2442,14 @@ function normalizeLocations(input) {
2442
2442
  if (Array.isArray(input)) {
2443
2443
  return input;
2444
2444
  }
2445
- return [{ scope: "user", dir: _nullishCoalesce(input, () => ( _chunkKASXKDF2cjs.AUTOHAND_PATHS.tools)) }];
2445
+ return [{ scope: "user", dir: _nullishCoalesce(input, () => ( _chunk3JURXAL6cjs.AUTOHAND_PATHS.tools)) }];
2446
2446
  }
2447
2447
  function delay(ms) {
2448
2448
  return new Promise((resolve) => setTimeout(resolve, ms));
2449
2449
  }
2450
- function createToolsRegistry(workspaceRoot, userToolsDir = _chunkKASXKDF2cjs.AUTOHAND_PATHS.tools) {
2450
+ function createToolsRegistry(workspaceRoot, userToolsDir = _chunk3JURXAL6cjs.AUTOHAND_PATHS.tools) {
2451
2451
  const locations = workspaceRoot ? [
2452
- { scope: "project", dir: _path2.default.join(workspaceRoot, _chunkKASXKDF2cjs.PROJECT_DIR_NAME, "tools") },
2452
+ { scope: "project", dir: _path2.default.join(workspaceRoot, _chunk3JURXAL6cjs.PROJECT_DIR_NAME, "tools") },
2453
2453
  { scope: "user", dir: userToolsDir }
2454
2454
  ] : [{ scope: "user", dir: userToolsDir }];
2455
2455
  return new ToolsRegistry(locations);
@@ -3180,7 +3180,7 @@ var SecurityScanner = (_class2 = class {constructor() { _class2.prototype.__init
3180
3180
  var PlanFileStorage = class {
3181
3181
 
3182
3182
  constructor() {
3183
- this.plansDir = _chunkKASXKDF2cjs.AUTOHAND_PATHS.plans;
3183
+ this.plansDir = _chunk3JURXAL6cjs.AUTOHAND_PATHS.plans;
3184
3184
  }
3185
3185
  /**
3186
3186
  * Get the plans directory path
@@ -3339,7 +3339,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3339
3339
  this.toolsRegistry = _nullishCoalesce(deps.toolsRegistry, () => ( createToolsRegistry(deps.runtime.workspaceRoot)));
3340
3340
  this.metaToolService = _nullishCoalesce(deps.metaToolService, () => ( new MetaToolService(this.toolsRegistry)));
3341
3341
  this.getRegisteredTools = _nullishCoalesce(deps.getRegisteredTools, () => ( (() => [])));
3342
- this.permissionManager = _nullishCoalesce(deps.permissionManager, () => ( new (0, _chunkW5QLA6WPcjs.PermissionManager)(deps.runtime.config.permissions)));
3342
+ this.permissionManager = _nullishCoalesce(deps.permissionManager, () => ( new (0, _chunkA7DJU75Tcjs.PermissionManager)(deps.runtime.config.permissions)));
3343
3343
  this.memoryManager = deps.memoryManager;
3344
3344
  this.onToolOutput = deps.onToolOutput;
3345
3345
  this.onFileModified = deps.onFileModified;
@@ -3347,6 +3347,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3347
3347
  this.onPlanCreated = deps.onPlanCreated;
3348
3348
  this.onPermissionRequest = deps.onPermissionRequest;
3349
3349
  this.onReviewHook = deps.onReviewHook;
3350
+ this.onGoalWrittenCompleted = deps.onGoalWrittenCompleted;
3350
3351
  this.onModalPause = deps.onModalPause;
3351
3352
  this.onRequestDirectoryAccess = deps.onRequestDirectoryAccess;
3352
3353
  this.onLiveCommandStart = deps.onLiveCommandStart;
@@ -3379,6 +3380,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3379
3380
 
3380
3381
 
3381
3382
 
3383
+
3382
3384
 
3383
3385
 
3384
3386
  __init6() {this.searchCache = /* @__PURE__ */ new Map()}
@@ -3449,8 +3451,8 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3449
3451
  }
3450
3452
  }
3451
3453
  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
+ if (GOAL_TOOL_TYPES.has(action.type) && !_chunkY47OJGLBcjs.isGoalFeatureEnabled.call(void 0, this.runtime.config)) {
3455
+ return _chunkY47OJGLBcjs.GOAL_FEATURE_DISABLED_MESSAGE;
3454
3456
  }
3455
3457
  if (this.runtime.options.dryRun && !["fff_grep", "fff_find", "find", "search", "search_with_context", "semantic_search", "glob", "plan"].includes(action.type)) {
3456
3458
  return "Dry-run mode: skipped mutation";
@@ -3477,7 +3479,7 @@ var ActionExecutor = (_class3 = class _ActionExecutor {
3477
3479
  console.log(_chalk2.default.gray(`
3478
3480
  \u{1F9F9} Cleaned up ${cleanedCount} plan(s) older than 30 days`));
3479
3481
  }
3480
- const planModeManager = _chunkLFDPTJYFcjs.getPlanModeManager.call(void 0, );
3482
+ const planModeManager = _chunkQDXRI5AMcjs.getPlanModeManager.call(void 0, );
3481
3483
  if (planModeManager.isEnabled() && this.onAskFollowup) {
3482
3484
  const refreshedPlanIds = await storage.listPlans();
3483
3485
  const incompletePlans = [];
@@ -3761,26 +3763,30 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3761
3763
  return JSON.stringify(tools, null, 2);
3762
3764
  }
3763
3765
  case "get_goal": {
3764
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3766
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3765
3767
  return JSON.stringify(await manager.getSnapshot(), null, 2);
3766
3768
  }
3767
3769
  case "list_goal_templates": {
3768
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3770
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3769
3771
  return JSON.stringify(await manager.listTemplates(), null, 2);
3770
3772
  }
3771
3773
  case "create_goal": {
3772
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3773
- const created = await manager.createGoal({
3774
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3775
+ const created = await manager.createOrQueueGoal({
3774
3776
  objective: action.objective,
3777
+ source: "tool",
3775
3778
  tokenBudget: action.token_budget,
3776
3779
  timeBudgetSeconds: action.time_budget_seconds,
3777
3780
  minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3778
3781
  minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3779
3782
  });
3783
+ if (!_optionalChain([created, 'access', _60 => _60.queued, 'optionalAccess', _61 => _61.length])) {
3784
+ await this.emitGoalWrittenCompleted(created, "tool");
3785
+ }
3780
3786
  return formatGoalToolResult(created);
3781
3787
  }
3782
3788
  case "create_goal_from_template": {
3783
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3789
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3784
3790
  const resolution = await Promise.resolve().then(() => _interopRequireWildcard(require("./templates-ARG2VRWW.cjs"))).then((mod) => mod.resolveGoalTemplateByName(
3785
3791
  this.runtime.workspaceRoot,
3786
3792
  action.template,
@@ -3790,17 +3796,21 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3790
3796
  if (!resolution.ok) {
3791
3797
  return `Error: ${"notTemplate" in resolution ? `Unknown goal template '${action.template}'.` : resolution.error}`;
3792
3798
  }
3793
- const created = await manager.createGoal({
3799
+ const created = await manager.createOrQueueGoal({
3794
3800
  objective: resolution.template.objective,
3801
+ source: "tool",
3795
3802
  tokenBudget: action.token_budget,
3796
3803
  timeBudgetSeconds: action.time_budget_seconds,
3797
3804
  minTokensBeforeWrapUp: action.min_tokens_before_wrap_up,
3798
3805
  minTimeSecondsBeforeWrapUp: action.min_time_seconds_before_wrap_up
3799
- }, { replace: true });
3806
+ });
3807
+ if (!_optionalChain([created, 'access', _62 => _62.queued, 'optionalAccess', _63 => _63.length])) {
3808
+ await this.emitGoalWrittenCompleted(created, "tool-template");
3809
+ }
3800
3810
  return formatGoalToolResult(created);
3801
3811
  }
3802
3812
  case "update_goal": {
3803
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3813
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3804
3814
  const updated = await manager.updateGoal({
3805
3815
  objective: action.objective,
3806
3816
  status: parseGoalStatus(action.status),
@@ -3812,11 +3822,11 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3812
3822
  return formatGoalToolResult(updated);
3813
3823
  }
3814
3824
  case "clear_goal": {
3815
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3825
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3816
3826
  return formatGoalToolResult(await manager.clearGoal());
3817
3827
  }
3818
3828
  case "enqueue_goal": {
3819
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3829
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3820
3830
  return formatGoalToolResult(await manager.enqueueGoal({
3821
3831
  objective: action.objective,
3822
3832
  source: "tool",
@@ -3827,29 +3837,29 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3827
3837
  }));
3828
3838
  }
3829
3839
  case "list_goal_queue": {
3830
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3840
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3831
3841
  const snapshot = await manager.getSnapshot();
3832
- return JSON.stringify({ goal: snapshot.goal, queue: snapshot.queue }, null, 2);
3842
+ return JSON.stringify({ goal: snapshot.goal, queue: snapshot.queue, completed: snapshot.completed }, null, 2);
3833
3843
  }
3834
3844
  case "start_queued_goal": {
3835
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3845
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3836
3846
  return formatGoalToolResult(await manager.startQueuedGoal());
3837
3847
  }
3838
3848
  case "dequeue_goal": {
3839
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3849
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3840
3850
  return formatGoalToolResult(await manager.dequeueGoal({
3841
3851
  rationale: action.rationale,
3842
3852
  authority: action.authority
3843
3853
  }));
3844
3854
  }
3845
3855
  case "remove_queued_goal": {
3846
- const manager = new (0, _chunkNQZH5CR2cjs.GoalManager)(this.runtime.workspaceRoot);
3856
+ const manager = new (0, _chunkRZLEGVMHcjs.GoalManager)(this.runtime.workspaceRoot);
3847
3857
  const queueId = _nullishCoalesce(action.queueId, () => ( action.queue_id));
3848
3858
  if (!queueId) return "Error: remove_queued_goal requires queueId.";
3849
3859
  return formatGoalToolResult(await manager.removeQueuedGoal(queueId));
3850
3860
  }
3851
3861
  case "tool_search": {
3852
- const query = _optionalChain([action, 'access', _60 => _60.query, 'optionalAccess', _61 => _61.trim, 'call', _62 => _62()]);
3862
+ const query = _optionalChain([action, 'access', _64 => _64.query, 'optionalAccess', _65 => _65.trim, 'call', _66 => _66()]);
3853
3863
  if (!query) {
3854
3864
  throw new Error('tool_search requires a non-empty "query" argument.');
3855
3865
  }
@@ -3905,10 +3915,10 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3905
3915
  console.log(_chalk2.default.cyan(`
3906
3916
  \u{1F5D1}\uFE0F ${action.path}:`));
3907
3917
  this.showDiff(oldDeleteContent, "", action.path);
3908
- _optionalChain([this, 'access', _63 => _63.onFileModified, 'optionalCall', _64 => _64(action.path, "delete")]);
3918
+ _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.path, "delete")]);
3909
3919
  return this.formatDiffPreview(oldDeleteContent, "", action.path);
3910
3920
  }
3911
- _optionalChain([this, 'access', _65 => _65.onFileModified, 'optionalCall', _66 => _66(action.path, "delete")]);
3921
+ _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.path, "delete")]);
3912
3922
  return `Deleted directory ${action.path}`;
3913
3923
  }
3914
3924
  case "rename_path": {
@@ -3916,7 +3926,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3916
3926
  throw new Error('rename_path requires "from" and "to" arguments.');
3917
3927
  }
3918
3928
  await this.files.renamePath(action.from, action.to);
3919
- _optionalChain([this, 'access', _67 => _67.onFileModified, 'optionalCall', _68 => _68(action.to, "create")]);
3929
+ _optionalChain([this, 'access', _71 => _71.onFileModified, 'optionalCall', _72 => _72(action.to, "create")]);
3920
3930
  return `Renamed ${action.from} -> ${action.to}`;
3921
3931
  }
3922
3932
  case "copy_path": {
@@ -3924,7 +3934,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3924
3934
  throw new Error('copy_path requires "from" and "to" arguments.');
3925
3935
  }
3926
3936
  await this.files.copyPath(action.from, action.to);
3927
- _optionalChain([this, 'access', _69 => _69.onFileModified, 'optionalCall', _70 => _70(action.to, "create")]);
3937
+ _optionalChain([this, 'access', _73 => _73.onFileModified, 'optionalCall', _74 => _74(action.to, "create")]);
3928
3938
  return `Copied ${action.from} -> ${action.to}`;
3929
3939
  }
3930
3940
  case "search_replace": {
@@ -3941,7 +3951,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3941
3951
  \u{1F504} ${action.path}:`));
3942
3952
  this.showDiff(content, result, action.path);
3943
3953
  await this.files.writeFile(action.path, result);
3944
- _optionalChain([this, 'access', _71 => _71.onFileModified, 'optionalCall', _72 => _72(action.path, "modify")]);
3954
+ _optionalChain([this, 'access', _75 => _75.onFileModified, 'optionalCall', _76 => _76(action.path, "modify")]);
3945
3955
  return this.formatDiffPreview(content, result, action.path);
3946
3956
  }
3947
3957
  return `No changes needed for ${action.path} (content identical)`;
@@ -3957,7 +3967,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3957
3967
  console.log(_chalk2.default.cyan(`
3958
3968
  \u{1F3A8} ${action.path}:`));
3959
3969
  this.showDiff(oldFormatContent, newFormatContent, action.path);
3960
- _optionalChain([this, 'access', _73 => _73.onFileModified, 'optionalCall', _74 => _74(action.path, "modify")]);
3970
+ _optionalChain([this, 'access', _77 => _77.onFileModified, 'optionalCall', _78 => _78(action.path, "modify")]);
3961
3971
  return this.formatDiffPreview(oldFormatContent, newFormatContent, action.path);
3962
3972
  }
3963
3973
  return `No changes needed (already formatted): ${action.path}`;
@@ -3967,15 +3977,15 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
3967
3977
  return 'Error: run_command requires a "command" argument (string)';
3968
3978
  }
3969
3979
  const shouldStreamOutput = Boolean(
3970
- this.onToolOutput && _optionalChain([context, 'optionalAccess', _75 => _75.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"
3971
3981
  );
3972
3982
  const emitOutput = (stream, data) => {
3973
3983
  if (!shouldStreamOutput) {
3974
3984
  return;
3975
3985
  }
3976
- _optionalChain([this, 'access', _76 => _76.onToolOutput, 'optionalCall', _77 => _77({
3986
+ _optionalChain([this, 'access', _80 => _80.onToolOutput, 'optionalCall', _81 => _81({
3977
3987
  tool: action.type,
3978
- toolCallId: _optionalChain([context, 'optionalAccess', _78 => _78.toolCallId]),
3988
+ toolCallId: _optionalChain([context, 'optionalAccess', _82 => _82.toolCallId]),
3979
3989
  stream,
3980
3990
  data
3981
3991
  })]);
@@ -4017,13 +4027,13 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4017
4027
  }
4018
4028
  let result;
4019
4029
  const shellCmd = cmdStr;
4020
- const liveCommandId = !action.background && this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _79 => _79.onLiveCommandStart, 'optionalCall', _80 => _80(cmdStr)]) : void 0;
4030
+ const liveCommandId = !action.background && this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _83 => _83.onLiveCommandStart, 'optionalCall', _84 => _84(cmdStr)]) : void 0;
4021
4031
  const hasLiveDisplay = Boolean(liveCommandId);
4022
4032
  const emitLiveOutput = (stream, data) => {
4023
4033
  if (!hasLiveDisplay || !liveCommandId) {
4024
4034
  return;
4025
4035
  }
4026
- _optionalChain([this, 'access', _81 => _81.onLiveCommandOutput, 'optionalCall', _82 => _82(liveCommandId, stream, data)]);
4036
+ _optionalChain([this, 'access', _85 => _85.onLiveCommandOutput, 'optionalCall', _86 => _86(liveCommandId, stream, data)]);
4027
4037
  };
4028
4038
  try {
4029
4039
  result = await _chunkWTB7AFL6cjs.runCommand.call(void 0,
@@ -4045,11 +4055,11 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4045
4055
  }
4046
4056
  );
4047
4057
  if (liveCommandId) {
4048
- _optionalChain([this, 'access', _83 => _83.onLiveCommandRemove, 'optionalCall', _84 => _84(liveCommandId)]);
4058
+ _optionalChain([this, 'access', _87 => _87.onLiveCommandRemove, 'optionalCall', _88 => _88(liveCommandId)]);
4049
4059
  }
4050
4060
  } catch (err) {
4051
4061
  if (liveCommandId) {
4052
- _optionalChain([this, 'access', _85 => _85.onLiveCommandRemove, 'optionalCall', _86 => _86(liveCommandId)]);
4062
+ _optionalChain([this, 'access', _89 => _89.onLiveCommandRemove, 'optionalCall', _90 => _90(liveCommandId)]);
4053
4063
  }
4054
4064
  const error = err;
4055
4065
  if (error.code === "ENOENT" || error.message.includes("Command not found")) {
@@ -4075,7 +4085,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4075
4085
  return 'Error: shell requires a "command" argument (string)';
4076
4086
  }
4077
4087
  const cmdStr = `${action.command} ${(_nullishCoalesce(action.args, () => ( []))).join(" ")}`.trim();
4078
- const commandId = this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _87 => _87.onLiveCommandStart, 'optionalCall', _88 => _88(cmdStr)]) : void 0;
4088
+ const commandId = this.shouldDisplayToolOutput() ? _optionalChain([this, 'access', _91 => _91.onLiveCommandStart, 'optionalCall', _92 => _92(cmdStr)]) : void 0;
4079
4089
  const hasLiveDisplay = Boolean(commandId);
4080
4090
  if (hasLiveDisplay) {
4081
4091
  const liveId = commandId;
@@ -4146,7 +4156,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4146
4156
  console.log(_chalk2.default.cyan(`
4147
4157
  \u{1F4E6} package.json:`));
4148
4158
  this.showDiff(oldPkgAdd, newPkgAdd, "package.json");
4149
- _optionalChain([this, 'access', _89 => _89.onFileModified, 'optionalCall', _90 => _90("package.json", "modify")]);
4159
+ _optionalChain([this, 'access', _93 => _93.onFileModified, 'optionalCall', _94 => _94("package.json", "modify")]);
4150
4160
  return this.formatDiffPreview(oldPkgAdd, newPkgAdd, "package.json");
4151
4161
  }
4152
4162
  return `Added dependency ${action.name}@${action.version}${action.dev ? " (dev)" : ""}`;
@@ -4161,7 +4171,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4161
4171
  console.log(_chalk2.default.cyan(`
4162
4172
  \u{1F4E6} package.json:`));
4163
4173
  this.showDiff(oldPkgRm, newPkgRm, "package.json");
4164
- _optionalChain([this, 'access', _91 => _91.onFileModified, 'optionalCall', _92 => _92("package.json", "modify")]);
4174
+ _optionalChain([this, 'access', _95 => _95.onFileModified, 'optionalCall', _96 => _96("package.json", "modify")]);
4165
4175
  return this.formatDiffPreview(oldPkgRm, newPkgRm, "package.json");
4166
4176
  }
4167
4177
  return `Removed dependency ${action.name}${action.dev ? " (dev)" : ""}`;
@@ -4207,7 +4217,7 @@ ${steps.map((s) => `${s.number}. ${s.description}`).join("\n")}`;
4207
4217
  console.log(_chalk2.default.cyan(`
4208
4218
  \u21A9\uFE0F ${action.path}:`));
4209
4219
  this.showDiff(oldCheckoutContent, newCheckoutContent, action.path);
4210
- _optionalChain([this, 'access', _93 => _93.onFileModified, 'optionalCall', _94 => _94(action.path, "modify")]);
4220
+ _optionalChain([this, 'access', _97 => _97.onFileModified, 'optionalCall', _98 => _98(action.path, "modify")]);
4211
4221
  return this.formatDiffPreview(oldCheckoutContent, newCheckoutContent, action.path);
4212
4222
  }
4213
4223
  return `Restored ${action.path} from git (no changes).`;
@@ -4503,7 +4513,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4503
4513
  { label: "No - cancel commit", value: "n" }
4504
4514
  ];
4505
4515
  const runModal = async () => {
4506
- const modalResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
4516
+ const modalResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
4507
4517
  title: `Commit with this message?
4508
4518
 
4509
4519
  "${commitMessage}"`,
@@ -4513,7 +4523,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4513
4523
  return { cancelled: true, editedMessage: null };
4514
4524
  }
4515
4525
  if (modalResult.value === "e") {
4516
- const editedMessage = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4526
+ const editedMessage = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4517
4527
  title: "Enter commit message:",
4518
4528
  defaultValue: commitMessage
4519
4529
  });
@@ -4636,7 +4646,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4636
4646
  if (oldContent !== newContent) {
4637
4647
  this.showDiff(oldContent, newContent, action.file_path);
4638
4648
  await this.files.writeFile(action.file_path, newContent);
4639
- _optionalChain([this, 'access', _95 => _95.onFileModified, 'optionalCall', _96 => _96(action.file_path, "modify")]);
4649
+ _optionalChain([this, 'access', _99 => _99.onFileModified, 'optionalCall', _100 => _100(action.file_path, "modify")]);
4640
4650
  return this.formatDiffPreview(oldContent, newContent, action.file_path);
4641
4651
  }
4642
4652
  return `No changes needed for ${action.file_path} (content identical)`;
@@ -4670,7 +4680,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4670
4680
  });
4671
4681
  const allTodos = normalizedTasks;
4672
4682
  await this.files.writeFile(todoPath, JSON.stringify(allTodos, null, 2));
4673
- _optionalChain([this, 'access', _97 => _97.onFileModified, 'optionalCall', _98 => _98(todoPath, "modify")]);
4683
+ _optionalChain([this, 'access', _101 => _101.onFileModified, 'optionalCall', _102 => _102(todoPath, "modify")]);
4674
4684
  const total = allTodos.length;
4675
4685
  if (total === 0) {
4676
4686
  console.log(_chalk2.default.dim("\n\u{1F4CB} Task list cleared"));
@@ -4751,7 +4761,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4751
4761
  scope: _nullishCoalesce(action.scope, () => ( "user"))
4752
4762
  }, this.getRegisteredTools());
4753
4763
  const metaTool = result.definition;
4754
- _optionalChain([this, 'access', _99 => _99.onMetaToolCreated, 'optionalCall', _100 => _100(metaTool)]);
4764
+ _optionalChain([this, 'access', _103 => _103.onMetaToolCreated, 'optionalCall', _104 => _104(metaTool)]);
4755
4765
  console.log(_chalk2.default.green(`
4756
4766
  \u{1F527} ${result.status === "created" ? "Created" : "Reused"} meta-tool: ${metaTool.name}`));
4757
4767
  console.log(_chalk2.default.gray(` ${action.description}`));
@@ -4852,7 +4862,7 @@ ${result.removed.map((p) => ` - ${p}`).join("\n")}`;
4852
4862
  const query = _nullishCoalesce(action.query, () => ( ""));
4853
4863
  console.log(_chalk2.default.cyan(`
4854
4864
  Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...`));
4855
- const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-ZROBG3RZ.cjs")));
4865
+ const { searchCommunitySkills } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-RA2PKL63.cjs")));
4856
4866
  const result = await searchCommunitySkills(query, {
4857
4867
  category: action.category,
4858
4868
  limit: action.limit
@@ -4878,17 +4888,17 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4878
4888
  label: `${options.length + 1}. Other (type your own answer)`,
4879
4889
  value: "__other__"
4880
4890
  });
4881
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
4891
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
4882
4892
  title: "Select an answer:",
4883
4893
  options
4884
4894
  });
4885
- const selected = _optionalChain([result, 'optionalAccess', _101 => _101.value]);
4895
+ const selected = _optionalChain([result, 'optionalAccess', _105 => _105.value]);
4886
4896
  if (!selected) {
4887
4897
  console.log(_chalk2.default.yellow("\nAnswer cancelled.\n"));
4888
4898
  return "<answer>No answer provided</answer>";
4889
4899
  }
4890
4900
  if (selected === "__other__") {
4891
- const answer = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4901
+ const answer = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4892
4902
  title: "Your answer:"
4893
4903
  });
4894
4904
  if (!answer) {
@@ -4905,7 +4915,7 @@ Searching skills: "${query}"${action.category ? ` [${action.category}]` : ""}...
4905
4915
  `));
4906
4916
  return `<answer>${selected}</answer>`;
4907
4917
  } else {
4908
- const answer = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
4918
+ const answer = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
4909
4919
  title: "Your answer:"
4910
4920
  });
4911
4921
  const finalAnswer = answer || "No answer provided";
@@ -5024,7 +5034,7 @@ Or restart with:
5024
5034
  async executeCodeReview(action) {
5025
5035
  const targetPath = action.path ? this.resolveWorkspacePath(action.path) : this.runtime.workspaceRoot;
5026
5036
  const scope = action.scope || "full";
5027
- await _optionalChain([this, 'access', _102 => _102.onReviewHook, 'optionalCall', _103 => _103("review:start", {
5037
+ await _optionalChain([this, 'access', _106 => _106.onReviewHook, 'optionalCall', _107 => _107("review:start", {
5028
5038
  reviewPath: targetPath,
5029
5039
  reviewScope: scope,
5030
5040
  reviewInstructions: action.instructions
@@ -5039,7 +5049,7 @@ Or restart with:
5039
5049
  cwd: this.runtime.workspaceRoot,
5040
5050
  encoding: "utf8"
5041
5051
  }).catch(() => null);
5042
- context = _optionalChain([result2, 'optionalAccess', _104 => _104.stdout]) || "No uncommitted changes found.";
5052
+ context = _optionalChain([result2, 'optionalAccess', _108 => _108.stdout]) || "No uncommitted changes found.";
5043
5053
  } else if (scope === "file" && action.path) {
5044
5054
  const fse = (await Promise.resolve().then(() => _interopRequireWildcard(require("fs-extra")))).default;
5045
5055
  context = await fse.readFile(targetPath, "utf-8").catch(() => `Could not read ${targetPath}`);
@@ -5063,7 +5073,7 @@ Or restart with:
5063
5073
  cwd: this.runtime.workspaceRoot,
5064
5074
  encoding: "utf8"
5065
5075
  }).catch(() => null);
5066
- context = _optionalChain([tree, 'optionalAccess', _105 => _105.stdout]) || "";
5076
+ context = _optionalChain([tree, 'optionalAccess', _109 => _109.stdout]) || "";
5067
5077
  }
5068
5078
  const result = [
5069
5079
  `Code review initiated for: ${targetPath}`,
@@ -5073,7 +5083,7 @@ Or restart with:
5073
5083
  "Project structure:",
5074
5084
  context.slice(0, 5e3)
5075
5085
  ].filter(Boolean).join("\n");
5076
- await _optionalChain([this, 'access', _106 => _106.onReviewHook, 'optionalCall', _107 => _107("review:completed", {
5086
+ await _optionalChain([this, 'access', _110 => _110.onReviewHook, 'optionalCall', _111 => _111("review:completed", {
5077
5087
  reviewPath: targetPath,
5078
5088
  reviewScope: scope,
5079
5089
  reviewInstructions: action.instructions
@@ -5081,7 +5091,7 @@ Or restart with:
5081
5091
  return result;
5082
5092
  } catch (error) {
5083
5093
  const message = error instanceof Error ? error.message : String(error);
5084
- await _optionalChain([this, 'access', _108 => _108.onReviewHook, 'optionalCall', _109 => _109("review:failed", {
5094
+ await _optionalChain([this, 'access', _112 => _112.onReviewHook, 'optionalCall', _113 => _113("review:failed", {
5085
5095
  reviewPath: targetPath,
5086
5096
  reviewScope: scope,
5087
5097
  reviewInstructions: action.instructions,
@@ -5103,7 +5113,7 @@ Or restart with:
5103
5113
  * Identifies imports, classes, functions, and key sections with line numbers.
5104
5114
  */
5105
5115
  extractFileOutline(lines, filePath) {
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()]) || "";
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()]) || "";
5107
5117
  const outline = [];
5108
5118
  const patterns = {
5109
5119
  ts: [
@@ -5263,11 +5273,11 @@ ${hit.snippet}`).join("\n\n");
5263
5273
  const sorted = withStats.map((s) => s.file);
5264
5274
  const limited = sorted.slice(0, limit);
5265
5275
  const header = `Found ${files.length} file${files.length === 1 ? "" : "s"}${files.length > limit ? ` (showing first ${limit})` : ""}`;
5266
- this.recordExploration("list", _nullishCoalesce(_nullishCoalesce(action.pattern, () => ( _optionalChain([action, 'access', _116 => _116.patterns, 'optionalAccess', _117 => _117.join, 'call', _118 => _118(", ")]))), () => ( "*")));
5276
+ this.recordExploration("list", _nullishCoalesce(_nullishCoalesce(action.pattern, () => ( _optionalChain([action, 'access', _120 => _120.patterns, 'optionalAccess', _121 => _121.join, 'call', _122 => _122(", ")]))), () => ( "*")));
5267
5277
  return `${header}
5268
5278
  ${limited.join("\n")}`;
5269
5279
  } catch (error) {
5270
- const exitCode = _optionalChain([error, 'optionalAccess', _119 => _119.code]);
5280
+ const exitCode = _optionalChain([error, 'optionalAccess', _123 => _123.code]);
5271
5281
  if (exitCode === 1 || exitCode === "1") {
5272
5282
  return "No files found matching the pattern.";
5273
5283
  }
@@ -5306,7 +5316,7 @@ ${limited.join("\n")}`;
5306
5316
  if (!target) {
5307
5317
  return;
5308
5318
  }
5309
- _optionalChain([this, 'access', _120 => _120.logExploration, 'optionalCall', _121 => _121({ kind, target })]);
5319
+ _optionalChain([this, 'access', _124 => _124.logExploration, 'optionalCall', _125 => _125({ kind, target })]);
5310
5320
  }
5311
5321
  async executeCustomCommand(action) {
5312
5322
  const existing = await loadCustomCommand(action.name);
@@ -5532,10 +5542,10 @@ ${limited.join("\n")}`;
5532
5542
  const colorizedLines = [];
5533
5543
  let additions = 0;
5534
5544
  let deletions = 0;
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";
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";
5539
5549
  const addedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, addedColor);
5540
5550
  const removedRgb = _chunk2VHB43IXcjs.hexToRgb.call(void 0, removedColor);
5541
5551
  const addBgR = addedRgb ? Math.floor(addedRgb.r * 0.15) : 30;
@@ -5744,6 +5754,17 @@ ${limited.join("\n")}`;
5744
5754
  }
5745
5755
  return outputLines.join("\n");
5746
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
+ }
5747
5768
  }, _class3.__initStatic(), _class3);
5748
5769
  function parseGoalStatus(value) {
5749
5770
  if (!value) return void 0;
@@ -5760,6 +5781,8 @@ function formatGoalToolResult(result) {
5760
5781
  queue: result.queue,
5761
5782
  queued: result.queued,
5762
5783
  started: result.started,
5784
+ completed: result.completed,
5785
+ completedRun: result.completedRun,
5763
5786
  dequeued: result.dequeued,
5764
5787
  removed: result.removed,
5765
5788
  telemetry: result.telemetry