autohand-cli 0.8.0 → 0.8.3

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 (371) hide show
  1. package/README.md +97 -2
  2. package/dist/{AgentRegistry-NQCLWABO.cjs → AgentRegistry-HRPN6ZOF.cjs} +1 -1
  3. package/dist/{AgentRegistry-7LDL5HJH.js → AgentRegistry-ODDXPAFR.js} +1 -1
  4. package/dist/{AutomodeManager-NYIZNODK.cjs → AutomodeManager-6ATBE7Q5.cjs} +1 -1
  5. package/dist/{AutomodeManager-MWLKGPZK.js → AutomodeManager-EOVHGRPP.js} +1 -1
  6. package/dist/{CommunitySkillsCache-GTQMOCCO.cjs → CommunitySkillsCache-KE435RAR.cjs} +1 -1
  7. package/dist/{CommunitySkillsCache-6QPRMTJO.js → CommunitySkillsCache-QLE57BN5.js} +1 -1
  8. package/dist/{GitHubRegistryFetcher-S7QFUEKV.cjs → GitHubRegistryFetcher-I45SESIL.cjs} +1 -1
  9. package/dist/{GitHubRegistryFetcher-6JQ5JEDZ.js → GitHubRegistryFetcher-NT5GFZXS.js} +1 -1
  10. package/dist/HookManager-B2F35M27.js +7 -0
  11. package/dist/HookManager-PFAFE3FK.cjs +7 -0
  12. package/dist/{ImportWizard-IWVPRKFF.cjs → ImportWizard-CJRZPPHL.cjs} +12 -12
  13. package/dist/{ImportWizard-KASGQPUY.js → ImportWizard-OHRKBANZ.js} +5 -5
  14. package/dist/LearnAdvisor-FLBA6FDD.js +9 -0
  15. package/dist/LearnAdvisor-GG3CXQF3.cjs +9 -0
  16. package/dist/{McpClientManager-RKD7C6OY.cjs → McpClientManager-NQ3EW2IF.cjs} +1 -1
  17. package/dist/{McpClientManager-7RM6YT35.js → McpClientManager-VBIMGKXU.js} +1 -1
  18. package/dist/{MemoryManager-GUNLRP5S.js → MemoryManager-2LAT7IHS.js} +1 -1
  19. package/dist/{MemoryManager-TNSGKDKX.cjs → MemoryManager-2LQPIYVE.cjs} +1 -1
  20. package/dist/{PermissionManager-K7UWSNB6.js → PermissionManager-7NQHRCHY.js} +2 -2
  21. package/dist/PermissionManager-X57BXHJ6.cjs +11 -0
  22. package/dist/{ProjectProfiler-UMJJSOCE.js → ProjectProfiler-P4QJQWWA.js} +1 -1
  23. package/dist/{ProjectProfiler-ZDWR2ODG.cjs → ProjectProfiler-UG42W6WD.cjs} +1 -1
  24. package/dist/{ProviderFactory-S3LWTQQC.js → ProviderFactory-2IYJ5OPW.js} +2 -2
  25. package/dist/ProviderFactory-KPJOGQWF.cjs +9 -0
  26. package/dist/{SessionManager-IKWAK2PI.js → SessionManager-4U4JFQ3C.js} +1 -1
  27. package/dist/{SessionManager-FEUAU3ZJ.cjs → SessionManager-YBJAZXNO.cjs} +1 -1
  28. package/dist/SkillsRegistry-7O72A6TZ.cjs +9 -0
  29. package/dist/{SkillsRegistry-SI5RUHQ4.js → SkillsRegistry-RFEINXRT.js} +2 -2
  30. package/dist/{SubAgent-I75HELJG.js → SubAgent-JT4HZHN7.js} +2 -2
  31. package/dist/{SubAgent-K3QP6WHC.cjs → SubAgent-VPNYDWAU.cjs} +3 -3
  32. package/dist/{SyncApiClient-LVIO4C2S.js → SyncApiClient-B5RT2ECG.js} +1 -1
  33. package/dist/{SyncApiClient-ZNYMT36M.cjs → SyncApiClient-HQXJL5BT.cjs} +1 -1
  34. package/dist/about-4DB5KTHW.js +12 -0
  35. package/dist/about-LXAOXZFT.cjs +12 -0
  36. package/dist/actionExecutor-23JB2WUC.js +19 -0
  37. package/dist/actionExecutor-X5UEZSKH.cjs +19 -0
  38. package/dist/add-dir-TUJM3PG5.js +10 -0
  39. package/dist/add-dir-YC37DMSF.cjs +10 -0
  40. package/dist/{agents-FENGUSJD.js → agents-YF3BSUU5.js} +3 -3
  41. package/dist/agents-ZOUHPMYR.cjs +12 -0
  42. package/dist/agents-new-HSH4GQPG.js +14 -0
  43. package/dist/agents-new-VYUDOCE7.cjs +14 -0
  44. package/dist/autoSkill-LQEVQFIH.js +20 -0
  45. package/dist/autoSkill-X5W52WOE.cjs +20 -0
  46. package/dist/automode-R6P3VHLS.js +10 -0
  47. package/dist/automode-SJGM7VEI.cjs +10 -0
  48. package/dist/{cc-7LEIJ3KF.js → cc-AYEP2CA3.js} +1 -1
  49. package/dist/{cc-Q5MM4AWC.cjs → cc-S2QLQFBR.cjs} +1 -1
  50. package/dist/{chunk-MUBW5UDH.cjs → chunk-245KJE5Y.cjs} +4 -4
  51. package/dist/{chunk-6OYHF6MF.js → chunk-2UC22DJU.js} +3 -3
  52. package/dist/{chunk-N254NRHT.cjs → chunk-3HT76LNN.cjs} +9 -2
  53. package/dist/{chunk-XMNHZRUB.cjs → chunk-3K2ESU53.cjs} +2 -2
  54. package/dist/{chunk-OI7OIGNB.cjs → chunk-3L53OA4E.cjs} +10 -10
  55. package/dist/{chunk-XUDSXGGV.cjs → chunk-3O3MOK5C.cjs} +169 -46
  56. package/dist/{chunk-WJDPVW7T.js → chunk-3VTAFAL2.js} +4 -4
  57. package/dist/{chunk-2RIAPTET.js → chunk-3WICOC33.js} +71 -57
  58. package/dist/chunk-3WVJEL7K.cjs +568 -0
  59. package/dist/{chunk-JJWCQLOU.cjs → chunk-47CKWKEX.cjs} +2 -2
  60. package/dist/{chunk-SRQW3B6J.cjs → chunk-56SWIDEL.cjs} +24 -17
  61. package/dist/{chunk-OBLIITWJ.js → chunk-5K6NGAVM.js} +2 -2
  62. package/dist/chunk-64H4FRM3.cjs +340 -0
  63. package/dist/{chunk-VNQ5GL34.js → chunk-6ZCULLCA.js} +1 -1
  64. package/dist/{chunk-RVUQKMXX.cjs → chunk-7BTSG4ME.cjs} +5067 -2204
  65. package/dist/{chunk-H6ZGZEBG.cjs → chunk-7TQH3CL4.cjs} +9 -9
  66. package/dist/{chunk-YYB42DCU.cjs → chunk-A4IJHHV7.cjs} +10 -4
  67. package/dist/{chunk-OPR34VHL.cjs → chunk-ADUFCS4Q.cjs} +174 -8
  68. package/dist/{chunk-IUMJYXBX.cjs → chunk-AEJH23FO.cjs} +6 -6
  69. package/dist/{chunk-HFMLWH7B.js → chunk-APIXPPMT.js} +5067 -2204
  70. package/dist/{chunk-ZSE42BRE.js → chunk-AYS2ASM7.js} +1 -1
  71. package/dist/{chunk-7GDVDSNI.js → chunk-B53A2NM2.js} +989 -135
  72. package/dist/{chunk-ITB3FS72.js → chunk-BJXSNT46.js} +4 -4
  73. package/dist/{chunk-IVM5F2AE.js → chunk-BYONM7UM.js} +1 -1
  74. package/dist/{chunk-EEGK5DYE.cjs → chunk-C5IJIM2V.cjs} +20 -14
  75. package/dist/{chunk-UJTCTTUF.cjs → chunk-CB4E2T5N.cjs} +49 -8
  76. package/dist/{chunk-UBS46QL3.cjs → chunk-CZXGCVTR.cjs} +2 -2
  77. package/dist/{chunk-AFN7LH5N.cjs → chunk-DJDE4DTT.cjs} +17 -17
  78. package/dist/{chunk-CVVEYUFR.js → chunk-DNUOXBHL.js} +108 -3
  79. package/dist/{chunk-DN573ME7.cjs → chunk-DRWDEHE5.cjs} +4 -4
  80. package/dist/{chunk-5GGX6WNY.cjs → chunk-DV2ZHK7B.cjs} +22 -22
  81. package/dist/{chunk-BT35E7NE.cjs → chunk-DVUHHH3B.cjs} +4 -4
  82. package/dist/{chunk-MHSDHPC4.cjs → chunk-DVZOENQ7.cjs} +2 -2
  83. package/dist/chunk-EFX2QSZX.cjs +33 -0
  84. package/dist/{chunk-Y2SXUCNJ.js → chunk-EGMZDTSL.js} +1 -1
  85. package/dist/{chunk-7QEE6SW6.cjs → chunk-EGPXJERY.cjs} +26 -26
  86. package/dist/{chunk-Q5RN7RXC.js → chunk-FTYY5JJD.js} +2 -2
  87. package/dist/{chunk-T63AMO6H.js → chunk-G27PQQFD.js} +1 -1
  88. package/dist/{chunk-CWALFEGU.js → chunk-G4CAKI3V.js} +1 -1
  89. package/dist/{chunk-D6VG7B5X.cjs → chunk-GCXYXLRA.cjs} +2 -1
  90. package/dist/{chunk-FYZ67R4R.js → chunk-GJH7XMSK.js} +14 -0
  91. package/dist/chunk-H2ZRHQQV.js +33 -0
  92. package/dist/{chunk-OUHQZFN4.js → chunk-HBXAA3XB.js} +6 -1
  93. package/dist/{chunk-XWASJ2QL.js → chunk-HBZU3RBZ.js} +3 -3
  94. package/dist/{chunk-E23CMMNJ.js → chunk-HIVRCQS2.js} +8 -2
  95. package/dist/{chunk-TFSRRZWP.cjs → chunk-HLHTG5ZU.cjs} +15 -1
  96. package/dist/{chunk-3WCOFXQS.cjs → chunk-HNRPK5MY.cjs} +23 -23
  97. package/dist/{chunk-MGMXR67S.cjs → chunk-HPHJ73GU.cjs} +9 -9
  98. package/dist/{chunk-63WXWFDI.cjs → chunk-HVKOZ2VP.cjs} +11 -11
  99. package/dist/{chunk-LQ4LQQG6.cjs → chunk-HXGBSJL5.cjs} +2 -2
  100. package/dist/{chunk-GCHELXLO.js → chunk-IDFF5J2E.js} +2 -2
  101. package/dist/{chunk-D3YCFT5O.cjs → chunk-IFFXSTOM.cjs} +3 -3
  102. package/dist/{chunk-SHFA46CS.cjs → chunk-J2GSFVUV.cjs} +8 -8
  103. package/dist/{chunk-5EIEWVYX.js → chunk-JCLYQ2JC.js} +2 -2
  104. package/dist/{chunk-4HKTYHNL.cjs → chunk-JJLYWH5Y.cjs} +17 -17
  105. package/dist/{chunk-SALLHB2I.js → chunk-JYTDYJVW.js} +1 -1
  106. package/dist/{chunk-CDMGQR4L.cjs → chunk-K2C56QGS.cjs} +226 -50
  107. package/dist/{chunk-643VRA5S.cjs → chunk-KANW6OYC.cjs} +3 -3
  108. package/dist/{chunk-5YJG6H6P.cjs → chunk-KLWJIPU2.cjs} +10 -10
  109. package/dist/{chunk-G7SZIOHF.js → chunk-KPELYZ6L.js} +2 -2
  110. package/dist/{chunk-2ELK5DMH.js → chunk-KQGPTCQJ.js} +3 -3
  111. package/dist/{chunk-S6BDWWUG.cjs → chunk-KWXVKLQ5.cjs} +5 -5
  112. package/dist/{chunk-EIU7K7CM.js → chunk-L3TWPROA.js} +5 -5
  113. package/dist/{chunk-JS7IPR7P.js → chunk-LIEXWM2M.js} +12 -1
  114. package/dist/{chunk-JMFDD7IZ.js → chunk-LWUJFGOZ.js} +2 -2
  115. package/dist/{chunk-LXDOQTXQ.cjs → chunk-MERYP6AM.cjs} +113 -8
  116. package/dist/{chunk-RO46YAPI.js → chunk-MYISNQH4.js} +1 -1
  117. package/dist/chunk-MZAPWNAC.cjs +207 -0
  118. package/dist/{chunk-Q2VYSHWU.js → chunk-N23UAW4I.js} +1 -1
  119. package/dist/{chunk-5DDDUUBM.cjs → chunk-N2BLVUPM.cjs} +3 -3
  120. package/dist/{chunk-TWEKBHUO.js → chunk-N7LI55V4.js} +3 -3
  121. package/dist/{chunk-YKS55CMT.js → chunk-NA6WQDYW.js} +152 -29
  122. package/dist/{chunk-LL3PQ2U6.js → chunk-NAGQ2PDC.js} +195 -19
  123. package/dist/chunk-NAJ4IZKD.cjs +504 -0
  124. package/dist/{chunk-DH7DKCUL.js → chunk-NDMIPTV4.js} +1 -1
  125. package/dist/{chunk-YDCDGTK6.cjs → chunk-NNPAM4HC.cjs} +5 -5
  126. package/dist/{chunk-GHSBZ3YB.js → chunk-NTSDP2WB.js} +2 -2
  127. package/dist/chunk-OHUZKDGX.js +348 -0
  128. package/dist/{chunk-AMT2UZBI.cjs → chunk-OLSBBZW6.cjs} +5 -5
  129. package/dist/{chunk-SIHRD34Z.js → chunk-OOKY3HPZ.js} +8 -2
  130. package/dist/{chunk-MVWOQBCC.cjs → chunk-OUZQXMHL.cjs} +11 -11
  131. package/dist/chunk-PGESAU2W.cjs +2030 -0
  132. package/dist/{chunk-IQ5RXU6O.js → chunk-QEGOB6QV.js} +1 -1
  133. package/dist/{chunk-JSBRDJBE.js → chunk-QGM4M3NI.js} +8 -1
  134. package/dist/{chunk-EF4LKUQY.js → chunk-QNGEW5TC.js} +1 -1
  135. package/dist/{chunk-QT2VZNFA.js → chunk-QXH5RCFI.js} +2 -2
  136. package/dist/chunk-R33VKSH5.cjs +348 -0
  137. package/dist/chunk-RDF37HKB.cjs +326 -0
  138. package/dist/{chunk-55B6SBHK.js → chunk-SJAVBCOA.js} +3 -3
  139. package/dist/{chunk-YS34SVY5.js → chunk-SKV2F3NM.js} +1 -1
  140. package/dist/{chunk-MHLE6AVN.cjs → chunk-SKYG33B2.cjs} +3 -3
  141. package/dist/{chunk-EPNYD4NV.js → chunk-SLQAYV3W.js} +1 -1
  142. package/dist/{chunk-IWVQ2EW3.js → chunk-SV2WA57F.js} +5 -5
  143. package/dist/{chunk-DLG43ZJ7.cjs → chunk-SYVYLZZF.cjs} +2 -2
  144. package/dist/{chunk-QUFAULH7.js → chunk-SZOLA6FR.js} +2 -1
  145. package/dist/{chunk-WGTJOIB7.cjs → chunk-T2M64VHA.cjs} +13 -13
  146. package/dist/{chunk-TQHOVHRS.js → chunk-TNZRZQ7Q.js} +1 -1
  147. package/dist/chunk-TUAITHWL.js +326 -0
  148. package/dist/{chunk-WFUUXADU.js → chunk-TUD3Z3BD.js} +170 -4
  149. package/dist/{chunk-LVE6Z5SL.cjs → chunk-U46VYPLR.cjs} +7 -7
  150. package/dist/{chunk-PGRH5Q77.cjs → chunk-U55TWFJI.cjs} +12 -1
  151. package/dist/{chunk-SO3QQJAZ.js → chunk-ULDM2SNB.js} +11 -4
  152. package/dist/{chunk-HA7OAVOB.cjs → chunk-VEKDGU2Q.cjs} +12 -12
  153. package/dist/{chunk-HQ7YZKXE.js → chunk-VWDHR4HV.js} +2 -2
  154. package/dist/{chunk-GO3N7LRW.cjs → chunk-W7RYQJLO.cjs} +6 -6
  155. package/dist/{chunk-F23EVNJU.js → chunk-WHE2SWHU.js} +1 -1
  156. package/dist/{chunk-PEC45WYS.js → chunk-X2MSVKDV.js} +1 -1
  157. package/dist/{chunk-RD5XAJR2.cjs → chunk-X2YOZQIP.cjs} +6 -6
  158. package/dist/{chunk-Q5RX3XGB.cjs → chunk-X5VSP65C.cjs} +2 -2
  159. package/dist/{chunk-TERCG25S.js → chunk-XRZEUWKF.js} +1 -1
  160. package/dist/{chunk-VJYPP6PP.cjs → chunk-XTB6VJVQ.cjs} +6 -6
  161. package/dist/chunk-XVUHNWMX.js +340 -0
  162. package/dist/{chunk-UGTFKUW4.js → chunk-XX2ZO7DS.js} +2 -2
  163. package/dist/{chunk-33A755XB.cjs → chunk-Y45G6ZO5.cjs} +3 -3
  164. package/dist/{chunk-UTI6ZQEY.cjs → chunk-Y72HH2TF.cjs} +9 -9
  165. package/dist/{chunk-PUOE5BCN.js → chunk-YGN4CQIP.js} +1 -1
  166. package/dist/{chunk-5OBNULPU.js → chunk-YZXUDM5X.js} +1 -1
  167. package/dist/{chunk-AHD5JJ6F.cjs → chunk-Z36XBUMX.cjs} +6 -1
  168. package/dist/chunk-ZLSGXMGQ.js +568 -0
  169. package/dist/chunk-ZSPXQYG2.js +504 -0
  170. package/dist/{chunk-FPAE6ORV.cjs → chunk-ZYQMLKOK.cjs} +6 -6
  171. package/dist/{chunk-WTNBX2JO.js → chunk-ZYVS43MU.js} +47 -6
  172. package/dist/{clear-J7XS6T5W.js → clear-A3N4GK2S.js} +3 -3
  173. package/dist/clear-GK4IEUUS.cjs +12 -0
  174. package/dist/communityInstaller-LOP2EDH5.js +19 -0
  175. package/dist/communityInstaller-XXC7RLE4.cjs +19 -0
  176. package/dist/completion-HWABSAEL.js +14 -0
  177. package/dist/completion-IUUVQG4D.cjs +14 -0
  178. package/dist/config-HF7WOLZF.cjs +18 -0
  179. package/dist/{config-2TB3A55J.js → config-HPJPKTO6.js} +4 -4
  180. package/dist/{constants-UFM5B232.js → constants-LISJW3DD.js} +1 -1
  181. package/dist/{constants-6CPCJ3DY.cjs → constants-PEO3P2SJ.cjs} +1 -1
  182. package/dist/{defaultHooks-RCXPHF4M.cjs → defaultHooks-IHSJR2AX.cjs} +1 -1
  183. package/dist/{defaultHooks-RDRMER3Z.js → defaultHooks-KUKHK3AG.js} +1 -1
  184. package/dist/export-QJAV2FCZ.js +12 -0
  185. package/dist/export-XSRFXGWU.cjs +12 -0
  186. package/dist/{extractSessionMemories-V7K42ZHW.js → extractSessionMemories-A2JX5WJ2.js} +1 -1
  187. package/dist/{extractSessionMemories-SDW2MVBQ.cjs → extractSessionMemories-XL3MS37F.cjs} +1 -1
  188. package/dist/feedback-4TCIL3ML.cjs +15 -0
  189. package/dist/feedback-SJ6VVEY3.js +15 -0
  190. package/dist/{filesystem-MCFXJQ6R.cjs → filesystem-W56QZUJF.cjs} +1 -1
  191. package/dist/{filesystem-3SGCW2BF.js → filesystem-Z7BWAWMZ.js} +1 -1
  192. package/dist/{formatters-6K7QVWQL.cjs → formatters-53XTCNGQ.cjs} +1 -1
  193. package/dist/{formatters-DQHO5I36.js → formatters-T6KV4BPP.js} +1 -1
  194. package/dist/{help-I5GRCA3S.js → help-GFQXNZOK.js} +3 -3
  195. package/dist/help-ISBVQL3S.cjs +12 -0
  196. package/dist/{history-OCHJBJW7.js → history-E3N6BJP7.js} +3 -3
  197. package/dist/history-XQ4GTSFU.cjs +14 -0
  198. package/dist/hooks-CJNKJ5PF.js +13 -0
  199. package/dist/hooks-UTMBTAXT.cjs +13 -0
  200. package/dist/i18n-N7QQ7A5M.cjs +33 -0
  201. package/dist/{i18n-KHBXUALK.js → i18n-SY7QRM22.js} +2 -2
  202. package/dist/ide-RTA4UJV4.js +12 -0
  203. package/dist/ide-VWVOLIFF.cjs +12 -0
  204. package/dist/immediateCommandRouter-BW34JNXL.js +9 -0
  205. package/dist/immediateCommandRouter-SHOVNB5X.cjs +9 -0
  206. package/dist/{import-PQJPNXA4.cjs → import-ADI37ZUR.cjs} +4 -4
  207. package/dist/import-KGKKZ3B7.js +10 -0
  208. package/dist/{import-EAAX5HJR.js → import-W7SVLSTC.js} +4 -4
  209. package/dist/import-ZLJVONXH.cjs +10 -0
  210. package/dist/index.cjs +6270 -2431
  211. package/dist/index.js +6262 -2423
  212. package/dist/init-7MFK626E.js +10 -0
  213. package/dist/init-TBKAB4LZ.cjs +10 -0
  214. package/dist/language-MDSHEXHB.cjs +18 -0
  215. package/dist/language-PXTQSHIG.js +18 -0
  216. package/dist/learn-623TW5EK.cjs +20 -0
  217. package/dist/learn-BCPV7GM2.js +20 -0
  218. package/dist/{lint-D5UOJWIK.cjs → lint-4NDGCSCL.cjs} +1 -1
  219. package/dist/{lint-NJPZWVN2.js → lint-FZ7ZJUB3.js} +1 -1
  220. package/dist/{localProjectPermissions-UFSMNTBJ.cjs → localProjectPermissions-BHQXEWZJ.cjs} +1 -1
  221. package/dist/{localProjectPermissions-N77HA3XK.js → localProjectPermissions-GMOUYQM6.js} +1 -1
  222. package/dist/login-QMVEETWJ.js +20 -0
  223. package/dist/login-QYMXAL3K.cjs +20 -0
  224. package/dist/logout-2CMTDAOJ.js +18 -0
  225. package/dist/logout-ZOHVZAUK.cjs +18 -0
  226. package/dist/mcp-IUVKK65S.js +18 -0
  227. package/dist/mcp-TXC7PYG3.cjs +18 -0
  228. package/dist/{mcp-install-KSADVDBE.js → mcp-install-2FEROZTL.js} +8 -8
  229. package/dist/{mcp-install-GROTZHAW.cjs → mcp-install-WM6BQRI5.cjs} +12 -12
  230. package/dist/memory-J73WZH2I.js +10 -0
  231. package/dist/memory-WRIHDEPK.cjs +10 -0
  232. package/dist/{message-ZJ5AYAMT.cjs → message-4OKO775J.cjs} +1 -1
  233. package/dist/{message-JUBOK2VU.js → message-X3LOAAM7.js} +1 -1
  234. package/dist/model-AES267IN.js +10 -0
  235. package/dist/model-RLP75SF5.cjs +10 -0
  236. package/dist/{new-7VYM36RC.js → new-5CLF3MKH.js} +3 -3
  237. package/dist/new-HLSFL6A4.cjs +12 -0
  238. package/dist/{patch-MOD7QC3D.cjs → patch-DJ2GPFST.cjs} +1 -1
  239. package/dist/{patch-5F6VBIT3.js → patch-NIJWIRHS.js} +1 -1
  240. package/dist/permissions-GP6FTGZ2.js +13 -0
  241. package/dist/permissions-O6EKKPOG.cjs +13 -0
  242. package/dist/{plan-G5CEKJI4.js → plan-65HMS5HQ.js} +1 -1
  243. package/dist/{plan-QKOHE3LH.cjs → plan-MCAXDIM2.cjs} +1 -1
  244. package/dist/quit-TQX6GXA5.cjs +10 -0
  245. package/dist/quit-XDZYRSPU.js +10 -0
  246. package/dist/{registry-A5XLMQVC.cjs → registry-IVT4G2RT.cjs} +299 -19
  247. package/dist/{registry-WQLWHOLY.js → registry-PTHWERKC.js} +290 -10
  248. package/dist/repeat-BSPS5TWD.cjs +13 -0
  249. package/dist/repeat-EVCWUL6Z.js +13 -0
  250. package/dist/resume-2GOPDLL4.cjs +13 -0
  251. package/dist/resume-37IUVDA6.js +13 -0
  252. package/dist/search-7KUSHIBL.cjs +17 -0
  253. package/dist/search-OJGDRIMA.js +17 -0
  254. package/dist/{session-BSU2L5UI.cjs → session-LXKC4X5Q.cjs} +1 -1
  255. package/dist/{session-SZMRN5KG.js → session-NMMO4QOL.js} +1 -1
  256. package/dist/sessions-6GWEBMKS.js +10 -0
  257. package/dist/sessions-CYYCHSQG.cjs +10 -0
  258. package/dist/settings-2D7CAO66.cjs +30 -0
  259. package/dist/{settings-D6JXX5RG.js → settings-BXR6SBJP.js} +8 -8
  260. package/dist/share-BXQY5IQU.js +14 -0
  261. package/dist/share-OSFXZBGS.cjs +14 -0
  262. package/dist/skills-FL6O6AOM.cjs +26 -0
  263. package/dist/skills-PG542VEB.cjs +76 -0
  264. package/dist/skills-PNKQZRNK.js +26 -0
  265. package/dist/skills-ZZCIAS7C.js +76 -0
  266. package/dist/{skills-install-UMK5H3SO.cjs → skills-install-67DOBPJC.cjs} +12 -12
  267. package/dist/{skills-install-QNQWC2MV.js → skills-install-SRC3Z2MS.js} +8 -8
  268. package/dist/skills-new-XFMEHHIF.cjs +15 -0
  269. package/dist/skills-new-ZNZPHUKS.js +15 -0
  270. package/dist/slashCommands-LLCNPK3X.js +76 -0
  271. package/dist/slashCommands-RXZZS6RE.cjs +76 -0
  272. package/dist/status-BCECUJXT.cjs +11 -0
  273. package/dist/status-EFO7MQU3.js +11 -0
  274. package/dist/sync-IJYJ6KKM.js +18 -0
  275. package/dist/sync-LFT6SBPF.cjs +18 -0
  276. package/dist/{sync-7JMZVEQD.cjs → sync-U7SDPBNZ.cjs} +1 -1
  277. package/dist/{sync-KWX67OUN.js → sync-VU2NSJ4O.js} +1 -1
  278. package/dist/{tasks-5FPBIFLC.js → tasks-R5MBGAQ6.js} +1 -1
  279. package/dist/{tasks-TXGKGNH6.cjs → tasks-V4WB3MFR.cjs} +1 -1
  280. package/dist/team-JESCHGWB.js +9 -0
  281. package/dist/team-VQQKWGZB.cjs +9 -0
  282. package/dist/{teammate-3C4MLRGH.js → teammate-SD26GR37.js} +7 -7
  283. package/dist/{teammate-7C3UDQSH.cjs → teammate-SXRVXNQV.cjs} +7 -7
  284. package/dist/theme-AWBHSG7J.cjs +18 -0
  285. package/dist/theme-TQLBPJ2E.js +18 -0
  286. package/dist/ui/questionModal.cjs +6 -6
  287. package/dist/ui/questionModal.js +5 -5
  288. package/dist/undo-IBBGP7A2.cjs +10 -0
  289. package/dist/undo-OL2EDBRY.js +10 -0
  290. package/dist/{update-TVAJMMBC.js → update-53WMKYVS.js} +1 -1
  291. package/dist/{update-Z6BIIQDC.cjs → update-NV6QRYY7.cjs} +1 -1
  292. package/package.json +2 -1
  293. package/dist/HookManager-Q2KYMCP4.cjs +0 -7
  294. package/dist/HookManager-TTP4Y6DC.js +0 -7
  295. package/dist/PermissionManager-2GO5PQ6M.cjs +0 -11
  296. package/dist/ProviderFactory-EFFQBRQ6.cjs +0 -9
  297. package/dist/SkillsRegistry-GDEGFP6O.cjs +0 -9
  298. package/dist/about-B2AGTV6N.js +0 -12
  299. package/dist/about-V2HWEZZO.cjs +0 -12
  300. package/dist/actionExecutor-6XCVL2SJ.js +0 -19
  301. package/dist/actionExecutor-YRUJNB5G.cjs +0 -19
  302. package/dist/add-dir-7FBQ5IFV.js +0 -10
  303. package/dist/add-dir-ALBSYRV3.cjs +0 -10
  304. package/dist/agents-FCGEWTA3.cjs +0 -12
  305. package/dist/agents-new-FU3O55CO.js +0 -14
  306. package/dist/agents-new-SAFTJ7TK.cjs +0 -14
  307. package/dist/automode-CYLGXQ4A.cjs +0 -10
  308. package/dist/automode-O7G3DUYN.js +0 -10
  309. package/dist/chunk-2JYIR3EC.cjs +0 -1176
  310. package/dist/chunk-Q3MJ6CYS.cjs +0 -193
  311. package/dist/clear-ES5WCZRF.cjs +0 -12
  312. package/dist/completion-XQTDTJLK.cjs +0 -14
  313. package/dist/completion-XR6ZONJQ.js +0 -14
  314. package/dist/config-RDMVIV26.cjs +0 -18
  315. package/dist/export-EWAYH353.cjs +0 -12
  316. package/dist/export-ZWA6XGVS.js +0 -12
  317. package/dist/feedback-5RV6ODW4.js +0 -15
  318. package/dist/feedback-ZPITHFJR.cjs +0 -15
  319. package/dist/help-X52PZM24.cjs +0 -12
  320. package/dist/history-4WIOZ4TW.cjs +0 -14
  321. package/dist/hooks-IAVTXUAI.cjs +0 -13
  322. package/dist/hooks-YF6HL23E.js +0 -13
  323. package/dist/i18n-MVQIAZWS.cjs +0 -33
  324. package/dist/ide-4R3BEBIS.js +0 -12
  325. package/dist/ide-C7WSPQTR.cjs +0 -12
  326. package/dist/import-2ICSKDL7.cjs +0 -10
  327. package/dist/import-KRVVYJCZ.js +0 -10
  328. package/dist/init-6K3NRDOM.js +0 -10
  329. package/dist/init-AOUGGITS.cjs +0 -10
  330. package/dist/language-Q7YFDVSR.cjs +0 -18
  331. package/dist/language-Y6ZC7LET.js +0 -18
  332. package/dist/login-6OAH2NEH.cjs +0 -20
  333. package/dist/login-DL3377MD.js +0 -20
  334. package/dist/logout-ELQBUMTU.cjs +0 -18
  335. package/dist/logout-TLYA5W45.js +0 -18
  336. package/dist/mcp-BHOIBYUB.js +0 -18
  337. package/dist/mcp-TNUEXR5T.cjs +0 -18
  338. package/dist/memory-6DRFA43C.js +0 -10
  339. package/dist/memory-IORZE6WF.cjs +0 -10
  340. package/dist/model-CJPSPGIC.cjs +0 -10
  341. package/dist/model-MQXC56ES.js +0 -10
  342. package/dist/new-7D2B7IWM.cjs +0 -12
  343. package/dist/permissions-MM77OSFO.js +0 -13
  344. package/dist/permissions-W2F62DJ6.cjs +0 -13
  345. package/dist/quit-7D2RDGTD.cjs +0 -10
  346. package/dist/quit-PKBSEJOL.js +0 -10
  347. package/dist/resume-FBKXSDOA.js +0 -13
  348. package/dist/resume-KLPDYPWQ.cjs +0 -13
  349. package/dist/search-7RNYTCNO.js +0 -17
  350. package/dist/search-UESMQZC3.cjs +0 -17
  351. package/dist/sessions-TSSUFWIJ.cjs +0 -10
  352. package/dist/sessions-WAXBUQTU.js +0 -10
  353. package/dist/settings-RKYGXKDG.cjs +0 -30
  354. package/dist/share-GLX4YHS4.cjs +0 -14
  355. package/dist/share-U2M2KBFJ.js +0 -14
  356. package/dist/skills-63QLZMUO.cjs +0 -14
  357. package/dist/skills-BAMMXP3Q.js +0 -14
  358. package/dist/skills-new-NYKNHJHV.cjs +0 -15
  359. package/dist/skills-new-NZFGFKML.js +0 -15
  360. package/dist/slashCommands-EJ23C3Z4.cjs +0 -69
  361. package/dist/slashCommands-JQIL4EWX.js +0 -69
  362. package/dist/status-BKC7GBNQ.js +0 -11
  363. package/dist/status-FU3CPJWQ.cjs +0 -11
  364. package/dist/sync-3IEIHXIP.cjs +0 -18
  365. package/dist/sync-YVPFT7SL.js +0 -18
  366. package/dist/team-GVK5L73L.cjs +0 -9
  367. package/dist/team-RWIKCLTG.js +0 -9
  368. package/dist/theme-A2CEHI7W.js +0 -18
  369. package/dist/theme-LNOQOVR4.cjs +0 -18
  370. package/dist/undo-F2IZJQUV.js +0 -10
  371. package/dist/undo-QEV42XLU.cjs +0 -10
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AUTOHAND_PATHS
3
3
  } from "./chunk-EGFT4PGW.js";
4
- import "./chunk-JSBRDJBE.js";
4
+ import "./chunk-QGM4M3NI.js";
5
5
 
6
6
  // src/import/importers/ClaudeImporter.ts
7
7
  import path2 from "path";
@@ -1229,15 +1229,40 @@ var CursorImporter = class extends BaseImporter {
1229
1229
  if (!await fse5.pathExists(home)) {
1230
1230
  return { source: this.name, available };
1231
1231
  }
1232
+ const cliConfigPath = path5.join(home, "cli-config.json");
1232
1233
  const hooksPath = path5.join(home, "hooks.json");
1233
- if (await fse5.pathExists(hooksPath)) {
1234
- available.set("settings", { count: 1, description: "Cursor hooks.json preferences" });
1234
+ const hasCli = await fse5.pathExists(cliConfigPath);
1235
+ const hasHooks = await fse5.pathExists(hooksPath);
1236
+ if (hasCli || hasHooks) {
1237
+ const count = (hasCli ? 1 : 0) + (hasHooks ? 1 : 0);
1238
+ const desc = hasCli ? "Cursor CLI config & preferences" : "Cursor hooks.json preferences";
1239
+ available.set("settings", { count, description: desc });
1240
+ }
1241
+ if (hasHooks) {
1235
1242
  available.set("hooks", { count: 1, description: "Cursor hook configurations" });
1236
1243
  }
1237
1244
  const mcpPath = path5.join(home, "mcp.json");
1238
1245
  if (await fse5.pathExists(mcpPath)) {
1239
1246
  available.set("mcp", { count: 1, description: "Cursor MCP server configurations" });
1240
1247
  }
1248
+ const skillsDir = path5.join(home, "skills-cursor");
1249
+ if (await fse5.pathExists(skillsDir)) {
1250
+ const entries = await fse5.readdir(skillsDir, { withFileTypes: true });
1251
+ const skillDirs = entries.filter((e) => e.isDirectory());
1252
+ if (skillDirs.length > 0) {
1253
+ available.set("skills", {
1254
+ count: skillDirs.length,
1255
+ description: `${skillDirs.length} Cursor skill${skillDirs.length !== 1 ? "s" : ""}`
1256
+ });
1257
+ }
1258
+ }
1259
+ const sessionDbs = await this.discoverSessionDbs();
1260
+ if (sessionDbs.length > 0) {
1261
+ available.set("sessions", {
1262
+ count: sessionDbs.length,
1263
+ description: `${sessionDbs.length} Cursor chat session${sessionDbs.length !== 1 ? "s" : ""}`
1264
+ });
1265
+ }
1241
1266
  return { source: this.name, available };
1242
1267
  }
1243
1268
  // ---------------------------------------------------------------
@@ -1249,6 +1274,9 @@ var CursorImporter = class extends BaseImporter {
1249
1274
  const errors = [];
1250
1275
  for (const category of categories) {
1251
1276
  switch (category) {
1277
+ case "sessions":
1278
+ await this.importSessions(imported, errors, onProgress);
1279
+ break;
1252
1280
  case "settings":
1253
1281
  await this.importSettings(imported, errors, onProgress);
1254
1282
  break;
@@ -1258,6 +1286,9 @@ var CursorImporter = class extends BaseImporter {
1258
1286
  case "mcp":
1259
1287
  await this.importMcp(imported, errors, onProgress);
1260
1288
  break;
1289
+ case "skills":
1290
+ await this.importSkills(imported, errors, onProgress);
1291
+ break;
1261
1292
  default:
1262
1293
  break;
1263
1294
  }
@@ -1270,23 +1301,28 @@ var CursorImporter = class extends BaseImporter {
1270
1301
  };
1271
1302
  }
1272
1303
  // ---------------------------------------------------------------
1273
- // Settings
1304
+ // Settings – prefers cli-config.json, falls back to hooks.json
1274
1305
  // ---------------------------------------------------------------
1275
1306
  async importSettings(imported, errors, onProgress) {
1307
+ const cliConfigPath = path5.join(this.resolvedHomePath, "cli-config.json");
1276
1308
  const hooksPath = path5.join(this.resolvedHomePath, "hooks.json");
1277
- if (!await fse5.pathExists(hooksPath)) {
1309
+ const hasCli = await fse5.pathExists(cliConfigPath);
1310
+ const hasHooks = await fse5.pathExists(hooksPath);
1311
+ if (!hasCli && !hasHooks) {
1278
1312
  imported.set("settings", { success: 0, failed: 0, skipped: 1 });
1279
1313
  return;
1280
1314
  }
1315
+ const sourcePath = hasCli ? cliConfigPath : hooksPath;
1316
+ const sourceFile = hasCli ? "cli-config.json" : "hooks.json";
1281
1317
  onProgress?.({
1282
1318
  category: "settings",
1283
1319
  current: 1,
1284
1320
  total: 1,
1285
- item: "hooks.json",
1321
+ item: sourceFile,
1286
1322
  status: "importing"
1287
1323
  });
1288
1324
  try {
1289
- const hooksData = await this.safeReadJson(hooksPath);
1325
+ const data = await this.safeReadJson(sourcePath);
1290
1326
  const configDir = AUTOHAND_PATHS.config;
1291
1327
  await fse5.ensureDir(configDir);
1292
1328
  await fse5.writeJson(
@@ -1294,7 +1330,8 @@ var CursorImporter = class extends BaseImporter {
1294
1330
  {
1295
1331
  importedFrom: "cursor",
1296
1332
  importedAt: (/* @__PURE__ */ new Date()).toISOString(),
1297
- raw: hooksData
1333
+ sourceFile,
1334
+ raw: data
1298
1335
  },
1299
1336
  { spaces: 2 }
1300
1337
  );
@@ -1303,14 +1340,14 @@ var CursorImporter = class extends BaseImporter {
1303
1340
  category: "settings",
1304
1341
  current: 1,
1305
1342
  total: 1,
1306
- item: "hooks.json",
1343
+ item: sourceFile,
1307
1344
  status: "done"
1308
1345
  });
1309
1346
  } catch (err) {
1310
1347
  imported.set("settings", { success: 0, failed: 1, skipped: 0 });
1311
1348
  errors.push({
1312
1349
  category: "settings",
1313
- item: "hooks.json",
1350
+ item: sourceFile,
1314
1351
  error: err instanceof Error ? err.message : String(err),
1315
1352
  retriable: false
1316
1353
  });
@@ -1410,6 +1447,249 @@ var CursorImporter = class extends BaseImporter {
1410
1447
  });
1411
1448
  }
1412
1449
  }
1450
+ // ---------------------------------------------------------------
1451
+ // Skills – from ~/.cursor/skills-cursor/ subdirectories
1452
+ // ---------------------------------------------------------------
1453
+ async importSkills(imported, errors, onProgress) {
1454
+ const skillsDir = path5.join(this.resolvedHomePath, "skills-cursor");
1455
+ if (!await fse5.pathExists(skillsDir)) {
1456
+ imported.set("skills", { success: 0, failed: 0, skipped: 1 });
1457
+ return;
1458
+ }
1459
+ const entries = await fse5.readdir(skillsDir, { withFileTypes: true });
1460
+ const skillDirs = entries.filter((e) => e.isDirectory());
1461
+ let success = 0;
1462
+ let failed = 0;
1463
+ const total = skillDirs.length;
1464
+ const destBase = path5.join(AUTOHAND_PATHS.skills, "imported-cursor");
1465
+ for (let i = 0; i < skillDirs.length; i++) {
1466
+ const dir = skillDirs[i];
1467
+ const src = path5.join(skillsDir, dir.name);
1468
+ const dest = path5.join(destBase, dir.name);
1469
+ onProgress?.({
1470
+ category: "skills",
1471
+ current: i + 1,
1472
+ total,
1473
+ item: dir.name,
1474
+ status: "importing"
1475
+ });
1476
+ try {
1477
+ await fse5.ensureDir(destBase);
1478
+ await fse5.copy(src, dest);
1479
+ success++;
1480
+ } catch (err) {
1481
+ failed++;
1482
+ errors.push({
1483
+ category: "skills",
1484
+ item: dir.name,
1485
+ error: err instanceof Error ? err.message : String(err),
1486
+ retriable: true
1487
+ });
1488
+ }
1489
+ }
1490
+ imported.set("skills", { success, failed, skipped: 0 });
1491
+ }
1492
+ // ---------------------------------------------------------------
1493
+ // Sessions – from ~/.cursor/chats/*/*/store.db (SQLite)
1494
+ // ---------------------------------------------------------------
1495
+ /**
1496
+ * Discovers all session database paths under ~/.cursor/chats/.
1497
+ * Structure: chats/<hash>/<uuid>/store.db
1498
+ */
1499
+ async discoverSessionDbs() {
1500
+ const chatsDir = path5.join(this.resolvedHomePath, "chats");
1501
+ if (!await fse5.pathExists(chatsDir)) {
1502
+ return [];
1503
+ }
1504
+ const hashEntries = await fse5.readdir(chatsDir, { withFileTypes: true });
1505
+ const hashDirs = hashEntries.filter((e) => e.isDirectory());
1506
+ const dbPaths = [];
1507
+ for (const hashDir of hashDirs) {
1508
+ const hashPath = path5.join(chatsDir, hashDir.name);
1509
+ const uuidEntries = await fse5.readdir(hashPath, { withFileTypes: true });
1510
+ const uuidDirs = uuidEntries.filter((e) => e.isDirectory());
1511
+ for (const uuidDir of uuidDirs) {
1512
+ dbPaths.push(path5.join(hashPath, uuidDir.name, "store.db"));
1513
+ }
1514
+ }
1515
+ return dbPaths;
1516
+ }
1517
+ async importSessions(imported, errors, onProgress) {
1518
+ const dbPaths = await this.discoverSessionDbs();
1519
+ if (dbPaths.length === 0) {
1520
+ imported.set("sessions", { success: 0, failed: 0, skipped: 1 });
1521
+ return;
1522
+ }
1523
+ let success = 0;
1524
+ let failed = 0;
1525
+ let skipped = 0;
1526
+ const total = dbPaths.length;
1527
+ for (let i = 0; i < dbPaths.length; i++) {
1528
+ const dbPath = dbPaths[i];
1529
+ const sessionUuid = path5.basename(path5.dirname(dbPath));
1530
+ onProgress?.({
1531
+ category: "sessions",
1532
+ current: i + 1,
1533
+ total,
1534
+ item: sessionUuid,
1535
+ status: "importing"
1536
+ });
1537
+ try {
1538
+ const sessionData = await this.readCursorSession(dbPath);
1539
+ if (!sessionData || sessionData.messages.length === 0) {
1540
+ skipped++;
1541
+ continue;
1542
+ }
1543
+ const result = await this.writeAutohandSession({
1544
+ projectPath: sessionData.projectPath,
1545
+ projectName: path5.basename(sessionData.projectPath),
1546
+ model: sessionData.model,
1547
+ messages: sessionData.messages,
1548
+ source: this.name,
1549
+ originalId: sessionData.agentId,
1550
+ createdAt: sessionData.createdAt,
1551
+ summary: sessionData.name,
1552
+ status: "completed"
1553
+ });
1554
+ if (result === null) {
1555
+ skipped++;
1556
+ } else {
1557
+ success++;
1558
+ }
1559
+ } catch (err) {
1560
+ failed++;
1561
+ errors.push({
1562
+ category: "sessions",
1563
+ item: sessionUuid,
1564
+ error: err instanceof Error ? err.message : String(err),
1565
+ retriable: true
1566
+ });
1567
+ }
1568
+ }
1569
+ imported.set("sessions", { success, failed, skipped });
1570
+ }
1571
+ /**
1572
+ * Reads a single Cursor session from its SQLite store.db.
1573
+ * Returns extracted metadata and converted messages, or null if unreadable.
1574
+ */
1575
+ async readCursorSession(dbPath) {
1576
+ const { DatabaseSync } = await import("sqlite");
1577
+ const db = new DatabaseSync(dbPath, { readOnly: true });
1578
+ try {
1579
+ const metaRow = db.prepare("SELECT value FROM meta WHERE key = ?").get("0");
1580
+ if (!metaRow) return null;
1581
+ const metaJson = Buffer.from(metaRow.value, "hex").toString("utf-8");
1582
+ const meta = JSON.parse(metaJson);
1583
+ const blobRows = db.prepare("SELECT data FROM blobs WHERE length(data) > 50").all();
1584
+ const rawMessages = [];
1585
+ let projectPath = process.cwd();
1586
+ const seenContent = /* @__PURE__ */ new Set();
1587
+ for (const row of blobRows) {
1588
+ const buf = Buffer.isBuffer(row.data) ? row.data : Buffer.from(row.data);
1589
+ const bufStr = buf.toString("utf-8", 0, Math.min(buf.length, 1e5));
1590
+ const fileMatch = bufStr.match(/file:\/\/\/([\w/.\-]+)/);
1591
+ if (fileMatch) {
1592
+ projectPath = "/" + fileMatch[1];
1593
+ }
1594
+ this.extractJsonMessages(buf, rawMessages, seenContent);
1595
+ }
1596
+ const createdAt = new Date(meta.createdAt).toISOString();
1597
+ const messages = [];
1598
+ for (const raw of rawMessages) {
1599
+ if (raw.role === "system") continue;
1600
+ if (raw.role !== "user" && raw.role !== "assistant") continue;
1601
+ const converted = this.convertCursorMessage(raw, createdAt);
1602
+ if (converted) {
1603
+ messages.push(converted);
1604
+ }
1605
+ }
1606
+ return {
1607
+ agentId: meta.agentId,
1608
+ name: meta.name,
1609
+ model: meta.lastUsedModel,
1610
+ createdAt,
1611
+ projectPath,
1612
+ messages
1613
+ };
1614
+ } finally {
1615
+ db.close();
1616
+ }
1617
+ }
1618
+ /**
1619
+ * Scans a binary buffer for JSON objects with a `role` field.
1620
+ * Deduplicates by stringified content.
1621
+ */
1622
+ extractJsonMessages(buf, out, seen) {
1623
+ for (let i = 0; i < buf.length - 1; i++) {
1624
+ if (buf[i] !== 123 || buf[i + 1] !== 34) continue;
1625
+ let depth = 0;
1626
+ for (let j = i; j < buf.length; j++) {
1627
+ if (buf[j] === 123) depth++;
1628
+ else if (buf[j] === 125) {
1629
+ depth--;
1630
+ if (depth === 0) {
1631
+ try {
1632
+ const str = buf.subarray(i, j + 1).toString("utf-8");
1633
+ const obj = JSON.parse(str);
1634
+ if (obj && typeof obj === "object" && typeof obj.role === "string" && (obj.role === "user" || obj.role === "assistant" || obj.role === "system")) {
1635
+ const key = JSON.stringify(obj);
1636
+ if (!seen.has(key)) {
1637
+ seen.add(key);
1638
+ out.push(obj);
1639
+ }
1640
+ }
1641
+ } catch {
1642
+ }
1643
+ i = j;
1644
+ break;
1645
+ }
1646
+ }
1647
+ }
1648
+ }
1649
+ }
1650
+ /**
1651
+ * Converts a Cursor message to Autohand's SessionMessage format.
1652
+ *
1653
+ * Handles:
1654
+ * - content as string (plain text)
1655
+ * - content as array of {type, text} objects (text, reasoning, tool_use)
1656
+ * - <user_query> XML wrapping in user messages
1657
+ */
1658
+ convertCursorMessage(raw, timestamp) {
1659
+ let textContent = "";
1660
+ let thinking;
1661
+ if (typeof raw.content === "string") {
1662
+ textContent = this.stripUserQueryTags(raw.content);
1663
+ } else if (Array.isArray(raw.content)) {
1664
+ const textParts = [];
1665
+ for (const part of raw.content) {
1666
+ if (part && typeof part === "object") {
1667
+ if (part.type === "text" && typeof part.text === "string") {
1668
+ textParts.push(part.text);
1669
+ } else if (part.type === "reasoning" && typeof part.text === "string") {
1670
+ thinking = part.text;
1671
+ }
1672
+ }
1673
+ }
1674
+ textContent = this.stripUserQueryTags(textParts.join("\n"));
1675
+ }
1676
+ if (!textContent.trim()) return null;
1677
+ const msg = {
1678
+ role: raw.role,
1679
+ content: textContent,
1680
+ timestamp
1681
+ };
1682
+ if (thinking) {
1683
+ msg._meta = { thinking };
1684
+ }
1685
+ return msg;
1686
+ }
1687
+ /**
1688
+ * Strips Cursor's <user_query> XML wrapping from message content.
1689
+ */
1690
+ stripUserQueryTags(text) {
1691
+ return text.replace(/<user_query>\n?/g, "").replace(/\n?<\/user_query>/g, "").trim();
1692
+ }
1413
1693
  };
1414
1694
 
1415
1695
  // src/import/importers/ClineImporter.ts
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunk3WVJEL7Kcjs = require('./chunk-3WVJEL7K.cjs');
7
+ require('./chunk-3HT76LNN.cjs');
8
+
9
+
10
+
11
+
12
+
13
+ exports.intervalToCron = _chunk3WVJEL7Kcjs.intervalToCron; exports.metadata = _chunk3WVJEL7Kcjs.metadata; exports.parseInput = _chunk3WVJEL7Kcjs.parseInput; exports.repeat = _chunk3WVJEL7Kcjs.repeat;
@@ -0,0 +1,13 @@
1
+ import {
2
+ intervalToCron,
3
+ metadata,
4
+ parseInput,
5
+ repeat
6
+ } from "./chunk-ZLSGXMGQ.js";
7
+ import "./chunk-QGM4M3NI.js";
8
+ export {
9
+ intervalToCron,
10
+ metadata,
11
+ parseInput,
12
+ repeat
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkY72HH2TFcjs = require('./chunk-Y72HH2TF.cjs');
5
+ require('./chunk-ZYQMLKOK.cjs');
6
+ require('./chunk-NNPAM4HC.cjs');
7
+ require('./chunk-SEKD5FH3.cjs');
8
+ require('./chunk-7BTSG4ME.cjs');
9
+ require('./chunk-3HT76LNN.cjs');
10
+
11
+
12
+
13
+ exports.metadata = _chunkY72HH2TFcjs.metadata; exports.resume = _chunkY72HH2TFcjs.resume;
@@ -0,0 +1,13 @@
1
+ import {
2
+ metadata,
3
+ resume
4
+ } from "./chunk-XX2ZO7DS.js";
5
+ import "./chunk-YZXUDM5X.js";
6
+ import "./chunk-SLQAYV3W.js";
7
+ import "./chunk-EGFT4PGW.js";
8
+ import "./chunk-APIXPPMT.js";
9
+ import "./chunk-QGM4M3NI.js";
10
+ export {
11
+ metadata,
12
+ resume
13
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkW7RYQJLOcjs = require('./chunk-W7RYQJLO.cjs');
5
+ require('./chunk-RKJTGGMU.cjs');
6
+ require('./chunk-ZYQMLKOK.cjs');
7
+ require('./chunk-NNPAM4HC.cjs');
8
+ require('./chunk-CB4E2T5N.cjs');
9
+ require('./chunk-X2YOZQIP.cjs');
10
+ require('./chunk-U55TWFJI.cjs');
11
+ require('./chunk-SEKD5FH3.cjs');
12
+ require('./chunk-7BTSG4ME.cjs');
13
+ require('./chunk-3HT76LNN.cjs');
14
+
15
+
16
+
17
+ exports.metadata = _chunkW7RYQJLOcjs.metadata; exports.search = _chunkW7RYQJLOcjs.search;
@@ -0,0 +1,17 @@
1
+ import {
2
+ metadata,
3
+ search
4
+ } from "./chunk-IDFF5J2E.js";
5
+ import "./chunk-SAHBLB3E.js";
6
+ import "./chunk-YZXUDM5X.js";
7
+ import "./chunk-SLQAYV3W.js";
8
+ import "./chunk-ZYVS43MU.js";
9
+ import "./chunk-BYONM7UM.js";
10
+ import "./chunk-LIEXWM2M.js";
11
+ import "./chunk-EGFT4PGW.js";
12
+ import "./chunk-APIXPPMT.js";
13
+ import "./chunk-QGM4M3NI.js";
14
+ export {
15
+ metadata,
16
+ search
17
+ };
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  var _chunkMFK6HE47cjs = require('./chunk-MFK6HE47.cjs');
5
- require('./chunk-N254NRHT.cjs');
5
+ require('./chunk-3HT76LNN.cjs');
6
6
 
7
7
 
8
8
 
@@ -2,7 +2,7 @@ import {
2
2
  metadata,
3
3
  session
4
4
  } from "./chunk-SVLBJMYO.js";
5
- import "./chunk-JSBRDJBE.js";
5
+ import "./chunk-QGM4M3NI.js";
6
6
  export {
7
7
  metadata,
8
8
  session
@@ -0,0 +1,10 @@
1
+ import {
2
+ metadata,
3
+ sessions
4
+ } from "./chunk-XRZEUWKF.js";
5
+ import "./chunk-APIXPPMT.js";
6
+ import "./chunk-QGM4M3NI.js";
7
+ export {
8
+ metadata,
9
+ sessions
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkIFFXSTOMcjs = require('./chunk-IFFXSTOM.cjs');
5
+ require('./chunk-7BTSG4ME.cjs');
6
+ require('./chunk-3HT76LNN.cjs');
7
+
8
+
9
+
10
+ exports.metadata = _chunkIFFXSTOMcjs.metadata; exports.sessions = _chunkIFFXSTOMcjs.sessions;
@@ -0,0 +1,30 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkEGPXJERYcjs = require('./chunk-EGPXJERY.cjs');
12
+ require('./chunk-ZYQMLKOK.cjs');
13
+ require('./chunk-NNPAM4HC.cjs');
14
+ require('./chunk-CB4E2T5N.cjs');
15
+ require('./chunk-X2YOZQIP.cjs');
16
+ require('./chunk-U55TWFJI.cjs');
17
+ require('./chunk-SEKD5FH3.cjs');
18
+ require('./chunk-7BTSG4ME.cjs');
19
+ require('./chunk-3HT76LNN.cjs');
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ exports.SETTINGS_REGISTRY = _chunkEGPXJERYcjs.SETTINGS_REGISTRY; exports.SETTING_CATEGORIES = _chunkEGPXJERYcjs.SETTING_CATEGORIES; exports.editSetting = _chunkEGPXJERYcjs.editSetting; exports.formatSettingValue = _chunkEGPXJERYcjs.formatSettingValue; exports.getNestedValue = _chunkEGPXJERYcjs.getNestedValue; exports.getSettingsForCategory = _chunkEGPXJERYcjs.getSettingsForCategory; exports.metadata = _chunkEGPXJERYcjs.metadata; exports.setNestedValue = _chunkEGPXJERYcjs.setNestedValue; exports.settings = _chunkEGPXJERYcjs.settings;
@@ -8,15 +8,15 @@ import {
8
8
  metadata,
9
9
  setNestedValue,
10
10
  settings
11
- } from "./chunk-55B6SBHK.js";
12
- import "./chunk-5OBNULPU.js";
13
- import "./chunk-EPNYD4NV.js";
14
- import "./chunk-WTNBX2JO.js";
15
- import "./chunk-IVM5F2AE.js";
16
- import "./chunk-JS7IPR7P.js";
11
+ } from "./chunk-SJAVBCOA.js";
12
+ import "./chunk-YZXUDM5X.js";
13
+ import "./chunk-SLQAYV3W.js";
14
+ import "./chunk-ZYVS43MU.js";
15
+ import "./chunk-BYONM7UM.js";
16
+ import "./chunk-LIEXWM2M.js";
17
17
  import "./chunk-EGFT4PGW.js";
18
- import "./chunk-HFMLWH7B.js";
19
- import "./chunk-JSBRDJBE.js";
18
+ import "./chunk-APIXPPMT.js";
19
+ import "./chunk-QGM4M3NI.js";
20
20
  export {
21
21
  SETTINGS_REGISTRY,
22
22
  SETTING_CATEGORIES,
@@ -0,0 +1,14 @@
1
+ import {
2
+ execute,
3
+ metadata
4
+ } from "./chunk-HBZU3RBZ.js";
5
+ import "./chunk-SZOLA6FR.js";
6
+ import "./chunk-YZXUDM5X.js";
7
+ import "./chunk-SLQAYV3W.js";
8
+ import "./chunk-EGFT4PGW.js";
9
+ import "./chunk-APIXPPMT.js";
10
+ import "./chunk-QGM4M3NI.js";
11
+ export {
12
+ execute,
13
+ metadata
14
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkVEKDGU2Qcjs = require('./chunk-VEKDGU2Q.cjs');
5
+ require('./chunk-GCXYXLRA.cjs');
6
+ require('./chunk-ZYQMLKOK.cjs');
7
+ require('./chunk-NNPAM4HC.cjs');
8
+ require('./chunk-SEKD5FH3.cjs');
9
+ require('./chunk-7BTSG4ME.cjs');
10
+ require('./chunk-3HT76LNN.cjs');
11
+
12
+
13
+
14
+ exports.execute = _chunkVEKDGU2Qcjs.execute; exports.metadata = _chunkVEKDGU2Qcjs.metadata;
@@ -0,0 +1,26 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _chunkADUFCS4Qcjs = require('./chunk-ADUFCS4Q.cjs');
10
+ require('./chunk-R33VKSH5.cjs');
11
+ require('./chunk-22D2CNTP.cjs');
12
+ require('./chunk-YHD6TUIR.cjs');
13
+ require('./chunk-ZYQMLKOK.cjs');
14
+ require('./chunk-NNPAM4HC.cjs');
15
+ require('./chunk-SEKD5FH3.cjs');
16
+ require('./chunk-7BTSG4ME.cjs');
17
+ require('./chunk-3HT76LNN.cjs');
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+ exports.installMetadata = _chunkADUFCS4Qcjs.installMetadata; exports.metadata = _chunkADUFCS4Qcjs.metadata; exports.removeMetadata = _chunkADUFCS4Qcjs.removeMetadata; exports.searchMetadata = _chunkADUFCS4Qcjs.searchMetadata; exports.skills = _chunkADUFCS4Qcjs.skills; exports.trendingMetadata = _chunkADUFCS4Qcjs.trendingMetadata; exports.useMetadata = _chunkADUFCS4Qcjs.useMetadata;