autohand-cli 0.7.12 → 0.7.14

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 (202) hide show
  1. package/dist/{about-YO7NGBX6.js → about-3BJTNSLK.js} +3 -3
  2. package/dist/about-EABQNJGV.cjs +11 -0
  3. package/dist/add-dir-7FD4DMDA.cjs +9 -0
  4. package/dist/{add-dir-UBYMJTDI.js → add-dir-LOYJ4YB5.js} +2 -2
  5. package/dist/{agents-5MAHZPHB.js → agents-2Y6ASV7C.js} +2 -2
  6. package/dist/agents-UOSPKLQL.cjs +10 -0
  7. package/dist/agents-new-23NSGAM5.js +13 -0
  8. package/dist/agents-new-WI2EL7IJ.cjs +13 -0
  9. package/dist/{automode-6IYDTXMU.js → automode-LGWTY3UX.js} +2 -2
  10. package/dist/automode-WLBQ7MN7.cjs +9 -0
  11. package/dist/{chunk-4BVRSVS2.cjs → chunk-2U5HFVRO.cjs} +38 -72
  12. package/dist/{chunk-UWJCELGB.js → chunk-3KBBARKO.js} +1 -1
  13. package/dist/{chunk-VMCBJ73M.js → chunk-3XJD56Z4.js} +2 -3
  14. package/dist/{chunk-R6MSNNMX.cjs → chunk-425MT6Y5.cjs} +7 -7
  15. package/dist/{chunk-73EJJCTX.cjs → chunk-43XS26AQ.cjs} +2 -2
  16. package/dist/{chunk-4V2FH5QE.cjs → chunk-4HA7IHLJ.cjs} +14 -14
  17. package/dist/{chunk-VZZROEUZ.js → chunk-5UBW2BGC.js} +1 -1
  18. package/dist/{chunk-UK47BNOH.js → chunk-63BXZQZW.js} +2 -2
  19. package/dist/{chunk-U2HNW3BE.js → chunk-6DWXHBAY.js} +1 -1
  20. package/dist/{chunk-TXK5P6FF.js → chunk-6SHHB2VD.js} +2 -2
  21. package/dist/{chunk-EFBQFSY6.cjs → chunk-AIH6GUGB.cjs} +5 -5
  22. package/dist/{chunk-GRFEUDX5.cjs → chunk-B6EBHCK2.cjs} +6 -6
  23. package/dist/{chunk-XW4QQW5E.js → chunk-BHV7CBNT.js} +1 -1
  24. package/dist/{chunk-HTRSDNPI.js → chunk-BISFR6ZL.js} +1 -1
  25. package/dist/{chunk-WDB4H2K3.js → chunk-BPTBKO7D.js} +2 -2
  26. package/dist/{chunk-7QLGK2XE.cjs → chunk-BRXIEKJ3.cjs} +5 -5
  27. package/dist/{chunk-KEAWYW5Y.cjs → chunk-CH4SPVFD.cjs} +2 -3
  28. package/dist/{chunk-25K6ONCQ.cjs → chunk-CKN2BLHK.cjs} +2 -2
  29. package/dist/chunk-CRQKDBLD.js +169 -0
  30. package/dist/{chunk-SJLUPGYS.cjs → chunk-DSCQPWUB.cjs} +12 -12
  31. package/dist/{chunk-YWRSRYIR.js → chunk-DTFR3WD6.js} +1 -1
  32. package/dist/{chunk-LEXRXG3R.cjs → chunk-DZHR34H6.cjs} +3 -3
  33. package/dist/{chunk-5E2XJK3O.cjs → chunk-EOGKE5GD.cjs} +4 -4
  34. package/dist/{chunk-C4KK7YQM.js → chunk-FB6JWNJS.js} +1 -1
  35. package/dist/{chunk-JEWRDSNA.cjs → chunk-FEVHH525.cjs} +3 -3
  36. package/dist/{chunk-RONDHULN.cjs → chunk-FHUNAB2K.cjs} +3 -3
  37. package/dist/{chunk-2VVKAYOY.js → chunk-FK2DVRPJ.js} +2 -2
  38. package/dist/{chunk-MKNKMPLY.js → chunk-GRSVQ5YZ.js} +2 -2
  39. package/dist/{chunk-XCQ6CVQV.js → chunk-GVZPIQWB.js} +3 -3
  40. package/dist/{chunk-2XPQS4OZ.js → chunk-H3GBSPK5.js} +2 -2
  41. package/dist/{chunk-RPE3TUKR.js → chunk-HMRDNRTH.js} +1 -1
  42. package/dist/{chunk-G6YDQTR2.cjs → chunk-HSPWX4Z2.cjs} +9 -9
  43. package/dist/chunk-I6DBWNLN.cjs +169 -0
  44. package/dist/{chunk-U6HBUXUW.cjs → chunk-IZBCMJHJ.cjs} +2 -2
  45. package/dist/{chunk-IO2BKMPU.js → chunk-JHOQABEF.js} +2 -2
  46. package/dist/{chunk-BKWJQUGG.js → chunk-JWPI6O5Z.js} +1 -1
  47. package/dist/{chunk-D445SWSH.js → chunk-KWRUQRXR.js} +3 -3
  48. package/dist/{chunk-QBRO3XMP.js → chunk-KXAAEROY.js} +2 -2
  49. package/dist/{chunk-SIQC4V4N.js → chunk-LYMTYC67.js} +1 -1
  50. package/dist/{chunk-ESU7N6NJ.js → chunk-MILZEEUV.js} +1 -1
  51. package/dist/{chunk-VR35C7QS.cjs → chunk-MNSTWHK3.cjs} +11 -11
  52. package/dist/{chunk-RXOLZ3BF.cjs → chunk-MTALRU7R.cjs} +3 -3
  53. package/dist/{chunk-A3G2BNQN.js → chunk-MY3TZER2.js} +1 -1
  54. package/dist/{chunk-6M3J6LR3.js → chunk-NMGF2KUN.js} +1 -1
  55. package/dist/{chunk-D7DIMN2J.js → chunk-NMWEDN4Z.js} +35 -69
  56. package/dist/{chunk-3CNRH36G.cjs → chunk-NUHYCFHW.cjs} +4 -4
  57. package/dist/{chunk-MNTAIFXA.js → chunk-OSUWEUZE.js} +1 -1
  58. package/dist/{chunk-UY7S6R4Y.cjs → chunk-PDKNHU5G.cjs} +14 -14
  59. package/dist/{chunk-ALU2PTZB.cjs → chunk-PKOAXQKW.cjs} +11 -11
  60. package/dist/chunk-QRGPAUST.js +51 -0
  61. package/dist/{chunk-RSRVPJQC.cjs → chunk-R5OO7MEB.cjs} +8 -8
  62. package/dist/{chunk-IN74JKZ2.cjs → chunk-RFNCTE4V.cjs} +2 -2
  63. package/dist/{chunk-5LJ6R7VO.js → chunk-RRZS5A53.js} +1 -1
  64. package/dist/{chunk-TVFQ3N5M.cjs → chunk-RUZB43HU.cjs} +9 -9
  65. package/dist/{chunk-PCM3OSSV.js → chunk-S47TCZDL.js} +2 -2
  66. package/dist/{chunk-GV3JV6GI.cjs → chunk-SFNT5DYE.cjs} +4 -4
  67. package/dist/{chunk-R43FOIQH.cjs → chunk-SIGWDEPS.cjs} +10 -10
  68. package/dist/{chunk-BGKEM66R.cjs → chunk-SMHY3Q7B.cjs} +9 -9
  69. package/dist/{chunk-ZV5TZBBS.js → chunk-SRLY7K6J.js} +1 -1
  70. package/dist/{chunk-NRDP3C3B.cjs → chunk-SZP4ULM5.cjs} +17 -17
  71. package/dist/{chunk-LWG6LJHL.js → chunk-TOTDRAWG.js} +1 -1
  72. package/dist/{chunk-2ZV5EMF2.js → chunk-TQB222ZB.js} +2 -2
  73. package/dist/{chunk-VIGSERLH.cjs → chunk-U7CZFKPL.cjs} +2 -2
  74. package/dist/{chunk-MVCB7ZQE.cjs → chunk-ULMPJUJW.cjs} +21 -21
  75. package/dist/{chunk-H2MWZF6E.cjs → chunk-V7YTCNMN.cjs} +5 -5
  76. package/dist/{chunk-FO3UXH53.js → chunk-VHBUKGRG.js} +2 -2
  77. package/dist/{chunk-PDWOUNO7.cjs → chunk-VVBBEYTH.cjs} +6 -6
  78. package/dist/{chunk-D7NR5BGM.js → chunk-WQUQ5JMM.js} +3 -3
  79. package/dist/{chunk-HZXG63KE.js → chunk-X765A7J5.js} +1 -1
  80. package/dist/{chunk-BOU24HF2.cjs → chunk-XBUMKEFN.cjs} +6 -6
  81. package/dist/{chunk-XIRRRQQC.js → chunk-XPOHYKR3.js} +2 -2
  82. package/dist/{chunk-XE7T6YJV.cjs → chunk-Y2ZSH3YF.cjs} +9 -9
  83. package/dist/{chunk-4YUFXZ36.js → chunk-YHGTBPEC.js} +1 -1
  84. package/dist/{chunk-CNDQ3TW6.cjs → chunk-ZKZRFH37.cjs} +6 -6
  85. package/dist/{chunk-TYTHI5MC.cjs → chunk-ZLOTP56B.cjs} +5 -5
  86. package/dist/chunk-ZXIQCYYV.cjs +51 -0
  87. package/dist/completion-7WGMHKOR.cjs +13 -0
  88. package/dist/completion-KH33NSGP.js +13 -0
  89. package/dist/export-3QN3IH7A.js +11 -0
  90. package/dist/export-BI54X3MP.cjs +11 -0
  91. package/dist/feedback-CI4OIPOS.cjs +14 -0
  92. package/dist/feedback-GFPL5STE.js +14 -0
  93. package/dist/help-CWMUGD3V.cjs +11 -0
  94. package/dist/help-LKKQU2TN.js +11 -0
  95. package/dist/history-73VBEMSI.cjs +13 -0
  96. package/dist/{history-7LZTGEJM.js → history-AV4XBFRK.js} +2 -2
  97. package/dist/hooks-62UDQBGH.cjs +12 -0
  98. package/dist/hooks-XORDJD5X.js +12 -0
  99. package/dist/{i18n-MB4NNCVM.js → i18n-BSAPXM56.js} +1 -1
  100. package/dist/i18n-X2IU2EZD.cjs +32 -0
  101. package/dist/ide-RPKZALQV.js +11 -0
  102. package/dist/ide-YMNXJB6A.cjs +11 -0
  103. package/dist/index.cjs +336 -289
  104. package/dist/index.js +148 -101
  105. package/dist/init-J5HR4R7U.js +9 -0
  106. package/dist/init-JCC7RVMC.cjs +9 -0
  107. package/dist/{language-JKJIQBKY.js → language-AZISJCEZ.js} +4 -4
  108. package/dist/language-F65RA6FZ.cjs +16 -0
  109. package/dist/{login-QEZ5UF3J.js → login-5HLPMECE.js} +5 -5
  110. package/dist/{login-HZMQBI4Z.cjs → login-ISWYYBXP.cjs} +6 -6
  111. package/dist/logout-3EKZM5J3.cjs +16 -0
  112. package/dist/{logout-VSS7BRVP.js → logout-GE7TSZ24.js} +5 -5
  113. package/dist/mcp-EW64QRFA.cjs +15 -0
  114. package/dist/{mcp-5WFAF24K.js → mcp-VHS7AMF2.js} +3 -3
  115. package/dist/{mcp-install-X5T4BC7H.cjs → mcp-install-2KVKRAMQ.cjs} +7 -7
  116. package/dist/{mcp-install-2G7ZLMLV.js → mcp-install-77UXRN6R.js} +4 -4
  117. package/dist/{memory-IVMJ2BNL.js → memory-2I473RU3.js} +2 -2
  118. package/dist/memory-JZ6NPSP3.cjs +9 -0
  119. package/dist/{model-FOWUUVAH.js → model-GXZLARPT.js} +2 -2
  120. package/dist/model-Y274DBDO.cjs +9 -0
  121. package/dist/new-BG5VIGZ7.cjs +9 -0
  122. package/dist/{new-ISJVB4VD.js → new-YXFDQOA7.js} +2 -2
  123. package/dist/permissions-QILEAGBP.cjs +12 -0
  124. package/dist/permissions-WVEOVMWO.js +12 -0
  125. package/dist/quit-NC32OEJG.cjs +9 -0
  126. package/dist/quit-WRRIGU33.js +9 -0
  127. package/dist/resume-GJIKIDPR.cjs +12 -0
  128. package/dist/resume-RMJNCAOK.js +12 -0
  129. package/dist/{search-XPU6AIXA.js → search-UIWIXB73.js} +4 -4
  130. package/dist/search-WQNXDA2E.cjs +14 -0
  131. package/dist/{sessions-VLDM5PF4.js → sessions-HPFX2GDD.js} +2 -2
  132. package/dist/sessions-SAQU6MFA.cjs +9 -0
  133. package/dist/share-2WH5ZVOO.cjs +13 -0
  134. package/dist/share-PSSWWVV5.js +13 -0
  135. package/dist/{skills-YLFZTOEQ.js → skills-LJZA6PVJ.js} +2 -2
  136. package/dist/skills-YTYGART7.cjs +13 -0
  137. package/dist/{skills-install-IFUCRLZK.cjs → skills-install-IKJZN4G2.cjs} +7 -7
  138. package/dist/{skills-install-OA45O5ZK.js → skills-install-MQINL3EC.js} +4 -4
  139. package/dist/skills-new-3WCU3CWB.js +14 -0
  140. package/dist/skills-new-O5LFVFZU.cjs +14 -0
  141. package/dist/slashCommands-7IRDOXOQ.cjs +55 -0
  142. package/dist/slashCommands-C6CAQA25.js +55 -0
  143. package/dist/status-4EDV2LSY.cjs +10 -0
  144. package/dist/status-NU7TJDCE.js +10 -0
  145. package/dist/{sync-3M3C3T6D.js → sync-3GFSEIAZ.js} +2 -2
  146. package/dist/sync-CQNQDNTJ.cjs +16 -0
  147. package/dist/theme-EMJGULMI.cjs +16 -0
  148. package/dist/{theme-7XFCNDB4.js → theme-FGDSXNU3.js} +4 -4
  149. package/dist/ui/questionModal.cjs +4 -4
  150. package/dist/ui/questionModal.js +3 -3
  151. package/dist/undo-CTXQYE7C.cjs +9 -0
  152. package/dist/undo-HX2ZMECP.js +9 -0
  153. package/package.json +2 -3
  154. package/dist/about-7VIDF3B7.cjs +0 -11
  155. package/dist/add-dir-7QE2YJ7H.cjs +0 -9
  156. package/dist/agents-UDXO2SOD.cjs +0 -10
  157. package/dist/agents-new-I72C5JID.js +0 -13
  158. package/dist/agents-new-VPAU4JNV.cjs +0 -13
  159. package/dist/automode-VVP2XR6T.cjs +0 -9
  160. package/dist/chunk-FONQG5OC.cjs +0 -209
  161. package/dist/chunk-U5DIIPRG.js +0 -209
  162. package/dist/completion-2OFOKRBS.js +0 -13
  163. package/dist/completion-KFMUWCMT.cjs +0 -13
  164. package/dist/export-OTVX3ZPY.js +0 -11
  165. package/dist/export-X3PO3CLZ.cjs +0 -11
  166. package/dist/feedback-CTF5YWG5.js +0 -14
  167. package/dist/feedback-O3644S7L.cjs +0 -14
  168. package/dist/help-EHLYG6BD.js +0 -58
  169. package/dist/help-JHVMHO7M.cjs +0 -58
  170. package/dist/history-DCWHRTO5.cjs +0 -13
  171. package/dist/hooks-DIKRBMGT.js +0 -12
  172. package/dist/hooks-UE4W6JED.cjs +0 -12
  173. package/dist/i18n-5ANEIZNF.cjs +0 -32
  174. package/dist/ide-ELI5WKC5.cjs +0 -11
  175. package/dist/ide-IGOTWN43.js +0 -11
  176. package/dist/init-5IESXIGG.cjs +0 -9
  177. package/dist/init-VPDGIJKT.js +0 -9
  178. package/dist/language-NN6KLKZ4.cjs +0 -16
  179. package/dist/logout-FKYZ5Z2L.cjs +0 -16
  180. package/dist/mcp-F7MAPBDQ.cjs +0 -15
  181. package/dist/memory-YD5Y6RJG.cjs +0 -9
  182. package/dist/model-2IBHIA4J.cjs +0 -9
  183. package/dist/new-UC5O66BW.cjs +0 -9
  184. package/dist/permissions-V2BSHU5V.js +0 -12
  185. package/dist/permissions-WDZMVJAZ.cjs +0 -12
  186. package/dist/quit-47THY4BD.cjs +0 -9
  187. package/dist/quit-FCYYB2AN.js +0 -9
  188. package/dist/resume-4ED5MHL3.cjs +0 -12
  189. package/dist/resume-J64OIPHB.js +0 -12
  190. package/dist/search-RIGXYKSK.cjs +0 -14
  191. package/dist/sessions-7P5DWTIT.cjs +0 -9
  192. package/dist/share-DR2FDJLT.cjs +0 -13
  193. package/dist/share-JEF3735D.js +0 -13
  194. package/dist/skills-B7AKVGOU.cjs +0 -13
  195. package/dist/skills-new-3G7YDTLP.js +0 -14
  196. package/dist/skills-new-Q5QWAI4L.cjs +0 -14
  197. package/dist/status-F2NCXE34.js +0 -10
  198. package/dist/status-Y6SL5ZLZ.cjs +0 -10
  199. package/dist/sync-LJNEHT7Y.cjs +0 -16
  200. package/dist/theme-MKTWPNTN.cjs +0 -16
  201. package/dist/undo-NKBO3KWB.js +0 -9
  202. package/dist/undo-T3KL6SKD.cjs +0 -9
@@ -3,33 +3,33 @@
3
3
  var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
4
4
 
5
5
 
6
- var _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
6
+ var _chunkXBUMKEFNcjs = require('./chunk-XBUMKEFN.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
13
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
14
14
 
15
15
  // src/commands/language.ts
16
16
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
17
17
  async function language(ctx) {
18
- const currentLocale = _chunk4BVRSVS2cjs.getCurrentLocale.call(void 0, );
19
- const currentDisplayName = _chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[currentLocale];
18
+ const currentLocale = _chunk2U5HFVROcjs.getCurrentLocale.call(void 0, );
19
+ const currentDisplayName = _chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[currentLocale];
20
20
  console.log(_chalk2.default.cyan(`
21
- \u{1F310} ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.title")}
21
+ \u{1F310} ${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.title")}
22
22
  `));
23
- console.log(_chalk2.default.gray(`${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.currentLanguage", { language: currentDisplayName })}`));
23
+ console.log(_chalk2.default.gray(`${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.currentLanguage", { language: currentDisplayName })}`));
24
24
  console.log();
25
- const options = _chunk4BVRSVS2cjs.SUPPORTED_LOCALES.map((locale) => ({
26
- label: locale === currentLocale ? `${_chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[locale]} (${_chunk4BVRSVS2cjs.t.call(void 0, "common.current")})` : _chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[locale],
25
+ const options = _chunk2U5HFVROcjs.SUPPORTED_LOCALES.map((locale) => ({
26
+ label: locale === currentLocale ? `${_chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[locale]} (${_chunk2U5HFVROcjs.t.call(void 0, "common.current")})` : _chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[locale],
27
27
  value: locale
28
28
  }));
29
- const result = await _chunkBOU24HF2cjs.showModal.call(void 0, {
30
- title: _chunk4BVRSVS2cjs.t.call(void 0, "commands.language.selectPrompt"),
29
+ const result = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
30
+ title: _chunk2U5HFVROcjs.t.call(void 0, "commands.language.selectPrompt"),
31
31
  options,
32
- initialIndex: _chunk4BVRSVS2cjs.SUPPORTED_LOCALES.indexOf(currentLocale)
32
+ initialIndex: _chunk2U5HFVROcjs.SUPPORTED_LOCALES.indexOf(currentLocale)
33
33
  });
34
34
  if (!result) {
35
35
  console.log(_chalk2.default.gray("\nLanguage selection cancelled."));
@@ -38,31 +38,31 @@ async function language(ctx) {
38
38
  const selected = result.value;
39
39
  if (selected === currentLocale) {
40
40
  console.log(_chalk2.default.gray(`
41
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.noChange")}`));
41
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.noChange")}`));
42
42
  return null;
43
43
  }
44
- await _chunk4BVRSVS2cjs.changeLanguage.call(void 0, selected);
44
+ await _chunk2U5HFVROcjs.changeLanguage.call(void 0, selected);
45
45
  ctx.config.ui = { ...ctx.config.ui, locale: selected };
46
46
  await _chunkRJP3SZ7Qcjs.saveConfig.call(void 0, ctx.config);
47
- const newDisplayName = _chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[selected];
47
+ const newDisplayName = _chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[selected];
48
48
  console.log(_chalk2.default.green(`
49
- \u2713 ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.changed", { language: newDisplayName })}`));
49
+ \u2713 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.changed", { language: newDisplayName })}`));
50
50
  console.log();
51
51
  return null;
52
52
  }
53
53
  async function languageInfo() {
54
- const currentLocale = _chunk4BVRSVS2cjs.getCurrentLocale.call(void 0, );
55
- const currentDisplayName = _chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[currentLocale];
54
+ const currentLocale = _chunk2U5HFVROcjs.getCurrentLocale.call(void 0, );
55
+ const currentDisplayName = _chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[currentLocale];
56
56
  console.log(_chalk2.default.cyan(`
57
- \u{1F310} ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.title")}
57
+ \u{1F310} ${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.title")}
58
58
  `));
59
- console.log(_chalk2.default.gray(`${_chunk4BVRSVS2cjs.t.call(void 0, "commands.language.currentLanguage", { language: currentDisplayName })}`));
59
+ console.log(_chalk2.default.gray(`${_chunk2U5HFVROcjs.t.call(void 0, "commands.language.currentLanguage", { language: currentDisplayName })}`));
60
60
  console.log(_chalk2.default.gray(`Locale code: ${_chalk2.default.white(currentLocale)}`));
61
61
  console.log();
62
62
  console.log(_chalk2.default.gray("Supported languages:"));
63
- for (const locale of _chunk4BVRSVS2cjs.SUPPORTED_LOCALES) {
63
+ for (const locale of _chunk2U5HFVROcjs.SUPPORTED_LOCALES) {
64
64
  const marker = locale === currentLocale ? _chalk2.default.green("\u25CF") : _chalk2.default.gray("\u25CB");
65
- console.log(` ${marker} ${_chunk4BVRSVS2cjs.LANGUAGE_DISPLAY_NAMES[locale]}`);
65
+ console.log(` ${marker} ${_chunk2U5HFVROcjs.LANGUAGE_DISPLAY_NAMES[locale]}`);
66
66
  }
67
67
  console.log();
68
68
  return null;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/skills.ts
6
6
  async function skills(ctx, args = []) {
@@ -73,10 +73,10 @@ function listSkills(registry) {
73
73
  const activeSkills = registry.getActiveSkills();
74
74
  const lines = [];
75
75
  lines.push("");
76
- lines.push(`\u{1F4DA} **${_chunk4BVRSVS2cjs.t.call(void 0, "commands.skills.title")}**`);
76
+ lines.push(`\u{1F4DA} **${_chunk2U5HFVROcjs.t.call(void 0, "commands.skills.title")}**`);
77
77
  lines.push("");
78
78
  if (allSkills.length === 0) {
79
- lines.push(_chunk4BVRSVS2cjs.t.call(void 0, "commands.skills.noSkills"));
79
+ lines.push(_chunk2U5HFVROcjs.t.call(void 0, "commands.skills.noSkills"));
80
80
  lines.push("");
81
81
  lines.push("**Get started:**");
82
82
  lines.push("");
@@ -230,7 +230,7 @@ async function handleSkillsInstall(ctx, skillName) {
230
230
  if (!workspaceRoot) {
231
231
  return "Workspace root not available.";
232
232
  }
233
- const { skillsInstall } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-install-IFUCRLZK.cjs")));
233
+ const { skillsInstall } = await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-install-IKJZN4G2.cjs")));
234
234
  const result = await skillsInstall(
235
235
  {
236
236
  skillsRegistry,
@@ -242,7 +242,7 @@ async function handleSkillsInstall(ctx, skillName) {
242
242
  }
243
243
  var metadata = {
244
244
  command: "/skills",
245
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.skills.description"),
245
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.skills.description"),
246
246
  implemented: true
247
247
  };
248
248
  var useMetadata = {
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-D2XFTCRP.js";
4
4
  import {
5
5
  safePrompt
6
- } from "./chunk-4YUFXZ36.js";
6
+ } from "./chunk-YHGTBPEC.js";
7
7
  import {
8
8
  saveConfig
9
9
  } from "./chunk-ZBIBLOZL.js";
10
10
  import {
11
11
  t
12
- } from "./chunk-D7DIMN2J.js";
12
+ } from "./chunk-NMWEDN4Z.js";
13
13
 
14
14
  // src/commands/logout.ts
15
15
  import chalk from "chalk";
@@ -3,19 +3,19 @@
3
3
  var _chunkTSY7JHIVcjs = require('./chunk-TSY7JHIV.cjs');
4
4
 
5
5
 
6
- var _chunk7QLGK2XEcjs = require('./chunk-7QLGK2XE.cjs');
6
+ var _chunkBRXIEKJ3cjs = require('./chunk-BRXIEKJ3.cjs');
7
7
 
8
8
 
9
9
  var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
10
10
 
11
11
 
12
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
12
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
13
13
 
14
14
  // src/commands/logout.ts
15
15
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
16
16
  var metadata = {
17
17
  command: "/logout",
18
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.logout.description"),
18
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.logout.description"),
19
19
  implemented: true
20
20
  };
21
21
  async function logout(ctx) {
@@ -26,14 +26,14 @@ async function logout(ctx) {
26
26
  return null;
27
27
  }
28
28
  const userName = _optionalChain([config, 'access', _3 => _3.auth, 'access', _4 => _4.user, 'optionalAccess', _5 => _5.name]) || _optionalChain([config, 'access', _6 => _6.auth, 'access', _7 => _7.user, 'optionalAccess', _8 => _8.email]) || "user";
29
- const result = await _chunk7QLGK2XEcjs.safePrompt.call(void 0, {
29
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
30
30
  type: "confirm",
31
31
  name: "confirm",
32
32
  message: `Log out from ${_chalk2.default.cyan(userName)}?`,
33
33
  initial: true
34
34
  });
35
35
  if (!result || !result.confirm) {
36
- console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.t.call(void 0, "commands.logout.cancelled")));
36
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.logout.cancelled")));
37
37
  return null;
38
38
  }
39
39
  const authClient = _chunkTSY7JHIVcjs.getAuthClient.call(void 0, );
@@ -47,7 +47,7 @@ async function logout(ctx) {
47
47
  };
48
48
  await _chunkRJP3SZ7Qcjs.saveConfig.call(void 0, updatedConfig);
49
49
  console.log();
50
- console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.logout.success")));
50
+ console.log(_chalk2.default.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.logout.success")));
51
51
  console.log(_chalk2.default.gray("Your local session has been cleared."));
52
52
  console.log();
53
53
  return null;
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  package_default
3
- } from "./chunk-VMCBJ73M.js";
3
+ } from "./chunk-3XJD56Z4.js";
4
4
  import {
5
5
  showConfirm,
6
6
  showModal
7
- } from "./chunk-UWJCELGB.js";
7
+ } from "./chunk-3KBBARKO.js";
8
8
  import {
9
9
  AUTOHAND_PATHS
10
10
  } from "./chunk-PWLLLJHU.js";
11
11
  import {
12
12
  t
13
- } from "./chunk-D7DIMN2J.js";
13
+ } from "./chunk-NMWEDN4Z.js";
14
14
 
15
15
  // src/commands/share.ts
16
16
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-D7DIMN2J.js";
3
+ } from "./chunk-NMWEDN4Z.js";
4
4
 
5
5
  // src/commands/sessions.ts
6
6
  import chalk from "chalk";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkEFBQFSY6cjs = require('./chunk-EFBQFSY6.cjs');
4
+ var _chunkAIH6GUGBcjs = require('./chunk-AIH6GUGB.cjs');
5
5
 
6
6
  // src/ui/ink/components/Modal.tsx
7
7
  var _react = require('react');
@@ -9,7 +9,7 @@ var _ink = require('ink');
9
9
  var _jsxruntime = require('react/jsx-runtime');
10
10
  var OTHER_VALUE = "__other__";
11
11
  function Modal(props) {
12
- const { t } = _chunkEFBQFSY6cjs.useTranslation.call(void 0, );
12
+ const { t } = _chunkAIH6GUGBcjs.useTranslation.call(void 0, );
13
13
  const { title, onCancel } = props;
14
14
  const mode = "mode" in props ? props.mode : "select";
15
15
  const [cursor, setCursor] = _react.useState.call(void 0, 0);
@@ -243,7 +243,7 @@ async function showModal(options) {
243
243
  return new Promise((resolve) => {
244
244
  let completed = false;
245
245
  const instance = _ink.render.call(void 0,
246
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFBQFSY6cjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
247
247
  Modal,
248
248
  {
249
249
  title,
@@ -275,7 +275,7 @@ async function showConfirm(options) {
275
275
  return new Promise((resolve) => {
276
276
  let completed = false;
277
277
  const instance = _ink.render.call(void 0,
278
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFBQFSY6cjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
278
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
279
279
  Modal,
280
280
  {
281
281
  mode: "confirm",
@@ -308,7 +308,7 @@ async function showInput(options) {
308
308
  return new Promise((resolve) => {
309
309
  let completed = false;
310
310
  const instance = _ink.render.call(void 0,
311
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFBQFSY6cjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
311
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
312
312
  Modal,
313
313
  {
314
314
  mode: "input",
@@ -341,7 +341,7 @@ async function showPassword(options) {
341
341
  return new Promise((resolve) => {
342
342
  let completed = false;
343
343
  const instance = _ink.render.call(void 0,
344
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEFBQFSY6cjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
344
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
345
345
  Modal,
346
346
  {
347
347
  mode: "password",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  package_default
3
- } from "./chunk-VMCBJ73M.js";
3
+ } from "./chunk-3XJD56Z4.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-D7DIMN2J.js";
6
+ } from "./chunk-NMWEDN4Z.js";
7
7
 
8
8
  // src/commands/status.ts
9
9
  import chalk from "chalk";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkKEAWYW5Ycjs = require('./chunk-KEAWYW5Y.cjs');
3
+ var _chunkCH4SPVFDcjs = require('./chunk-CH4SPVFD.cjs');
4
4
 
5
5
 
6
- var _chunk7QLGK2XEcjs = require('./chunk-7QLGK2XE.cjs');
6
+ var _chunkBRXIEKJ3cjs = require('./chunk-BRXIEKJ3.cjs');
7
7
 
8
8
 
9
9
 
10
10
  var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
11
11
 
12
12
 
13
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
13
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
14
14
 
15
15
  // src/commands/feedback.ts
16
16
  var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
@@ -18,7 +18,7 @@ var _os = require('os'); var _os2 = _interopRequireDefault(_os);
18
18
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
19
19
  var metadata = {
20
20
  command: "/feedback",
21
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.feedback.description"),
21
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.feedback.description"),
22
22
  implemented: true
23
23
  };
24
24
  var API_BASE_URL = "https://api.autohand.ai";
@@ -68,7 +68,7 @@ async function feedback(_ctx) {
68
68
  console.log(_chalk2.default.gray(`Please wait ${cooldown.waitMinutes} minute${cooldown.waitMinutes === 1 ? "" : "s"} before submitting again.`));
69
69
  return null;
70
70
  }
71
- const ratingAnswer = await _chunk7QLGK2XEcjs.safePrompt.call(void 0, [
71
+ const ratingAnswer = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, [
72
72
  {
73
73
  type: "select",
74
74
  name: "rating",
@@ -87,7 +87,7 @@ async function feedback(_ctx) {
87
87
  console.log(_chalk2.default.gray("Feedback discarded."));
88
88
  return null;
89
89
  }
90
- const textAnswer = await _chunk7QLGK2XEcjs.safePrompt.call(void 0, [
90
+ const textAnswer = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, [
91
91
  {
92
92
  type: "input",
93
93
  name: "feedback",
@@ -108,7 +108,7 @@ async function feedback(_ctx) {
108
108
  triggerType: "manual",
109
109
  timestamp: now,
110
110
  deviceId,
111
- cliVersion: _chunkKEAWYW5Ycjs.package_default.version,
111
+ cliVersion: _chunkCH4SPVFDcjs.package_default.version,
112
112
  platform: process.platform,
113
113
  osVersion: _os2.default.release(),
114
114
  nodeVersion: process.version,
@@ -131,7 +131,7 @@ async function feedback(_ctx) {
131
131
  try {
132
132
  const response = await sendFeedbackToApi(payload);
133
133
  if (response.success) {
134
- console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.feedback.success")));
134
+ console.log(_chalk2.default.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.feedback.success")));
135
135
  } else {
136
136
  if (_optionalChain([response, 'access', _6 => _6.error, 'optionalAccess', _7 => _7.includes, 'call', _8 => _8("Rate limit")])) {
137
137
  console.log(_chalk2.default.yellow("Feedback saved locally (rate limited, will retry later)."));
@@ -156,7 +156,7 @@ async function sendFeedbackToApi(payload) {
156
156
  method: "POST",
157
157
  headers: {
158
158
  "Content-Type": "application/json",
159
- "X-CLI-Version": _chunkKEAWYW5Ycjs.package_default.version,
159
+ "X-CLI-Version": _chunkCH4SPVFDcjs.package_default.version,
160
160
  "X-Device-ID": payload.deviceId
161
161
  },
162
162
  body: JSON.stringify(payload),
@@ -3,7 +3,7 @@ import {
3
3
  showInput,
4
4
  showModal,
5
5
  showPassword
6
- } from "./chunk-UWJCELGB.js";
6
+ } from "./chunk-3KBBARKO.js";
7
7
 
8
8
  // src/utils/prompt.ts
9
9
  async function safePrompt(questions) {
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/history.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
7
7
  var metadata = {
8
8
  command: "/history",
9
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.history.title"),
9
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.history.title"),
10
10
  implemented: true
11
11
  };
12
12
  function formatHistoryEntry(entry) {
@@ -72,14 +72,14 @@ async function history(ctx) {
72
72
  const allSessions = await ctx.sessionManager.listSessions();
73
73
  if (allSessions.length === 0) {
74
74
  console.log(_chalk2.default.gray(`
75
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.history.empty")}
75
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.history.empty")}
76
76
  `));
77
77
  return null;
78
78
  }
79
79
  const entries = allSessions.map(toHistoryEntry);
80
80
  const paginated = paginateHistory(entries, page, pageSize);
81
81
  console.log(_chalk2.default.cyan(`
82
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.history.title")}
82
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.history.title")}
83
83
  `));
84
84
  console.log(
85
85
  _chalk2.default.bold(
@@ -95,14 +95,14 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.history.title")}
95
95
  console.log(
96
96
  _chalk2.default.gray(
97
97
  `
98
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.history.showing", { page: paginated.currentPage, total: paginated.totalPages, count: paginated.totalItems })}`
98
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.history.showing", { page: paginated.currentPage, total: paginated.totalPages, count: paginated.totalItems })}`
99
99
  )
100
100
  );
101
101
  }
102
102
  if (paginated.totalPages > 1 && paginated.currentPage < paginated.totalPages) {
103
103
  console.log(_chalk2.default.gray(`Use /history ${paginated.currentPage + 1} for next page`));
104
104
  }
105
- console.log(_chalk2.default.gray(`${_chunk4BVRSVS2cjs.t.call(void 0, "commands.history.resumeHint")}
105
+ console.log(_chalk2.default.gray(`${_chunk2U5HFVROcjs.t.call(void 0, "commands.history.resumeHint")}
106
106
  `));
107
107
  return null;
108
108
  } catch (error) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/add-dir.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -286,7 +286,7 @@ async function addDir(ctx, args) {
286
286
  }
287
287
  const resolvedPath = _path2.default.resolve(dirPath);
288
288
  if (!await _fsextra2.default.pathExists(resolvedPath)) {
289
- console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.notFound", { path: dirPath })));
289
+ console.log(_chalk2.default.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.addDir.notFound", { path: dirPath })));
290
290
  return null;
291
291
  }
292
292
  const stats = await _fsextra2.default.stat(resolvedPath);
@@ -305,17 +305,17 @@ async function addDir(ctx, args) {
305
305
  return null;
306
306
  }
307
307
  if (ctx.additionalDirs.includes(resolvedPath)) {
308
- console.log(_chalk2.default.yellow(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.alreadyAdded", { path: resolvedPath })));
308
+ console.log(_chalk2.default.yellow(_chunk2U5HFVROcjs.t.call(void 0, "commands.addDir.alreadyAdded", { path: resolvedPath })));
309
309
  return null;
310
310
  }
311
311
  ctx.addAdditionalDir(resolvedPath);
312
- console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.added", { path: resolvedPath })));
312
+ console.log(_chalk2.default.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.addDir.added", { path: resolvedPath })));
313
313
  console.log(_chalk2.default.gray("You can now read, write, and modify files in this directory."));
314
314
  return null;
315
315
  }
316
316
  var metadata = {
317
317
  command: "/add-dir",
318
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.description"),
318
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.addDir.description"),
319
319
  implemented: true
320
320
  };
321
321
 
@@ -0,0 +1,51 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
+
5
+ // src/commands/help.ts
6
+ var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
7
+ var _terminallink = require('terminal-link'); var _terminallink2 = _interopRequireDefault(_terminallink);
8
+ async function help() {
9
+ const { SLASH_COMMANDS } = await Promise.resolve().then(() => _interopRequireWildcard(require("./slashCommands-7IRDOXOQ.cjs")));
10
+ console.log(_chalk2.default.cyan(`
11
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.title")}
12
+ `));
13
+ const commands = SLASH_COMMANDS.filter((cmd) => cmd.implemented && cmd.command !== "/?").sort((a, b) => a.command.localeCompare(b.command));
14
+ const maxLen = Math.max(...commands.map((c) => c.command.length)) + 2;
15
+ for (const { command, description } of commands) {
16
+ console.log(` ${_chalk2.default.yellow(command.padEnd(maxLen))} ${_chalk2.default.gray(description)}`);
17
+ }
18
+ console.log(_chalk2.default.cyan(`
19
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.tips.title")}
20
+ `));
21
+ console.log(_chalk2.default.gray(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.tips.mention")}`));
22
+ console.log(_chalk2.default.gray(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.tips.arrows")}`));
23
+ console.log(_chalk2.default.gray(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.tips.tab")}`));
24
+ console.log(_chalk2.default.gray(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.tips.escape")}
25
+ `));
26
+ const docLink = _terminallink2.default.call(void 0, "docs.autohand.ai", "https://docs.autohand.ai");
27
+ console.log(_chalk2.default.gray(` ${_chunk2U5HFVROcjs.t.call(void 0, "commands.help.docsLink", { link: docLink })}
28
+ `));
29
+ return null;
30
+ }
31
+ var metadata = {
32
+ command: "/help",
33
+ description: "describe available slash commands and tips",
34
+ implemented: true
35
+ };
36
+ var aliasMetadata = {
37
+ command: "/?",
38
+ description: "alias for /help",
39
+ implemented: true
40
+ };
41
+
42
+
43
+
44
+
45
+
46
+ exports.help = help; exports.metadata = metadata; exports.aliasMetadata = aliasMetadata;
47
+ /**
48
+ * @license
49
+ * Copyright 2025 Autohand AI LLC
50
+ * SPDX-License-Identifier: Apache-2.0
51
+ */
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkFHUNAB2Kcjs = require('./chunk-FHUNAB2K.cjs');
6
+ require('./chunk-XBUMKEFN.cjs');
7
+ require('./chunk-AIH6GUGB.cjs');
8
+ require('./chunk-2U5HFVRO.cjs');
9
+
10
+
11
+
12
+
13
+ exports.execute = _chunkFHUNAB2Kcjs.execute; exports.metadata = _chunkFHUNAB2Kcjs.metadata; exports.runCompletionCommand = _chunkFHUNAB2Kcjs.runCompletionCommand;
@@ -0,0 +1,13 @@
1
+ import {
2
+ execute,
3
+ metadata,
4
+ runCompletionCommand
5
+ } from "./chunk-JWPI6O5Z.js";
6
+ import "./chunk-3KBBARKO.js";
7
+ import "./chunk-BISFR6ZL.js";
8
+ import "./chunk-NMWEDN4Z.js";
9
+ export {
10
+ execute,
11
+ metadata,
12
+ runCompletionCommand
13
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ execute,
3
+ metadata
4
+ } from "./chunk-6SHHB2VD.js";
5
+ import "./chunk-3KBBARKO.js";
6
+ import "./chunk-BISFR6ZL.js";
7
+ import "./chunk-NMWEDN4Z.js";
8
+ export {
9
+ execute,
10
+ metadata
11
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkSIGWDEPScjs = require('./chunk-SIGWDEPS.cjs');
5
+ require('./chunk-XBUMKEFN.cjs');
6
+ require('./chunk-AIH6GUGB.cjs');
7
+ require('./chunk-2U5HFVRO.cjs');
8
+
9
+
10
+
11
+ exports.execute = _chunkSIGWDEPScjs.execute; exports.metadata = _chunkSIGWDEPScjs.metadata;
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkY2ZSH3YFcjs = require('./chunk-Y2ZSH3YF.cjs');
5
+ require('./chunk-CH4SPVFD.cjs');
6
+ require('./chunk-BRXIEKJ3.cjs');
7
+ require('./chunk-XBUMKEFN.cjs');
8
+ require('./chunk-AIH6GUGB.cjs');
9
+ require('./chunk-GIZL57FE.cjs');
10
+ require('./chunk-2U5HFVRO.cjs');
11
+
12
+
13
+
14
+ exports.feedback = _chunkY2ZSH3YFcjs.feedback; exports.metadata = _chunkY2ZSH3YFcjs.metadata;
@@ -0,0 +1,14 @@
1
+ import {
2
+ feedback,
3
+ metadata
4
+ } from "./chunk-KWRUQRXR.js";
5
+ import "./chunk-3XJD56Z4.js";
6
+ import "./chunk-YHGTBPEC.js";
7
+ import "./chunk-3KBBARKO.js";
8
+ import "./chunk-BISFR6ZL.js";
9
+ import "./chunk-PWLLLJHU.js";
10
+ import "./chunk-NMWEDN4Z.js";
11
+ export {
12
+ feedback,
13
+ metadata
14
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkZXIQCYYVcjs = require('./chunk-ZXIQCYYV.cjs');
6
+ require('./chunk-2U5HFVRO.cjs');
7
+
8
+
9
+
10
+
11
+ exports.aliasMetadata = _chunkZXIQCYYVcjs.aliasMetadata; exports.help = _chunkZXIQCYYVcjs.help; exports.metadata = _chunkZXIQCYYVcjs.metadata;
@@ -0,0 +1,11 @@
1
+ import {
2
+ aliasMetadata,
3
+ help,
4
+ metadata
5
+ } from "./chunk-QRGPAUST.js";
6
+ import "./chunk-NMWEDN4Z.js";
7
+ export {
8
+ aliasMetadata,
9
+ help,
10
+ metadata
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkZKZRFH37cjs = require('./chunk-ZKZRFH37.cjs');
7
+ require('./chunk-2U5HFVRO.cjs');
8
+
9
+
10
+
11
+
12
+
13
+ exports.formatHistoryEntry = _chunkZKZRFH37cjs.formatHistoryEntry; exports.history = _chunkZKZRFH37cjs.history; exports.metadata = _chunkZKZRFH37cjs.metadata; exports.paginateHistory = _chunkZKZRFH37cjs.paginateHistory;