autohand-cli 0.7.9 → 0.7.11

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 (254) hide show
  1. package/README.md +19 -0
  2. package/dist/{AutomodeManager-YVCJXOMQ.js → AutomodeManager-NGRAO2MH.js} +35 -8
  3. package/dist/{AutomodeManager-HV6M7EAX.cjs → AutomodeManager-ZKQMBM4T.cjs} +35 -8
  4. package/dist/{CommunitySkillsCache-YWDFZBKP.js → CommunitySkillsCache-ILWHWE5P.js} +2 -2
  5. package/dist/CommunitySkillsCache-KHC6RUJW.cjs +7 -0
  6. package/dist/MemoryManager-6ZT7IDO5.cjs +7 -0
  7. package/dist/MemoryManager-AJGS5AKB.js +7 -0
  8. package/dist/PermissionManager-HG6W2DGU.cjs +10 -0
  9. package/dist/{PermissionManager-WYP5JPCQ.js → PermissionManager-U5OMGR3L.js} +3 -3
  10. package/dist/SessionManager-BJ2G6VV4.cjs +9 -0
  11. package/dist/{SessionManager-SFBDIBGA.js → SessionManager-ENPGYK5J.js} +2 -2
  12. package/dist/SkillsRegistry-6ZFOCT25.cjs +8 -0
  13. package/dist/{SkillsRegistry-E437FFJV.js → SkillsRegistry-C2SHOZ5D.js} +2 -2
  14. package/dist/about-225R5LMN.cjs +11 -0
  15. package/dist/about-BCPUOQVH.js +11 -0
  16. package/dist/add-dir-3BMVJ5H3.cjs +9 -0
  17. package/dist/{add-dir-PNU7AGKO.js → add-dir-RP2BL3JW.js} +2 -1
  18. package/dist/agents-JQ2PHCQB.js +10 -0
  19. package/dist/agents-RGSZ2BM3.cjs +10 -0
  20. package/dist/agents-new-LSJN2L2T.cjs +13 -0
  21. package/dist/agents-new-MZUEVKSK.js +13 -0
  22. package/dist/automode-DP3BMYJB.cjs +9 -0
  23. package/dist/{automode-QCRJSBRT.js → automode-XOF3U3OB.js} +2 -1
  24. package/dist/{chunk-A5KU3JZW.cjs → chunk-34OGUMRO.cjs} +9 -5
  25. package/dist/{chunk-NTFNUTY2.js → chunk-3652ROFD.js} +2 -2
  26. package/dist/{chunk-KNLBEUAV.cjs → chunk-3DQSBW4B.cjs} +10 -6
  27. package/dist/{chunk-32R47CAQ.cjs → chunk-3S4DEIJP.cjs} +2 -2
  28. package/dist/chunk-46WX5IO2.cjs +499 -0
  29. package/dist/{chunk-IYZBLUEJ.js → chunk-4ULBAYME.js} +8 -6
  30. package/dist/{chunk-5UC3VAJ2.cjs → chunk-4XHHW7QX.cjs} +9 -8
  31. package/dist/{chunk-JRV4SOJU.cjs → chunk-5BQ57AZC.cjs} +9 -9
  32. package/dist/{chunk-7WKEDH3E.cjs → chunk-5FZM7KLB.cjs} +13 -10
  33. package/dist/{chunk-FN5S5OE7.cjs → chunk-5NZA4UB4.cjs} +3 -3
  34. package/dist/{chunk-PFS5ZOCO.js → chunk-5Q3W4DEU.js} +18 -10
  35. package/dist/{chunk-VMMGT42E.cjs → chunk-65GTO4QM.cjs} +7 -3
  36. package/dist/{chunk-CXZEPTRI.js → chunk-6P3K4YUW.js} +6 -2
  37. package/dist/chunk-73XIKTZL.js +124 -0
  38. package/dist/{chunk-P6EGMTK4.js → chunk-7QNW24ZT.js} +8 -4
  39. package/dist/{chunk-XT4OSHSB.cjs → chunk-AEYOIPHD.cjs} +6 -2
  40. package/dist/{chunk-KXNAGJE6.cjs → chunk-ANUQFV43.cjs} +6 -6
  41. package/dist/chunk-ATR3RORT.js +499 -0
  42. package/dist/{chunk-XOSFZHSS.js → chunk-B72CC4O6.js} +2 -2
  43. package/dist/{chunk-TAZJSKFD.js → chunk-BBIKQW66.js} +9 -5
  44. package/dist/{chunk-FFA4LDAO.cjs → chunk-BDIZGBDA.cjs} +8 -3
  45. package/dist/{chunk-YDJA5ETO.js → chunk-BG4OQUKP.js} +1 -1
  46. package/dist/chunk-BKGPWAEE.js +94 -0
  47. package/dist/{chunk-3DVEGFBZ.js → chunk-BODVOW7B.js} +64 -13
  48. package/dist/{chunk-7GJR65DQ.js → chunk-BXV5O6VU.js} +9 -8
  49. package/dist/{chunk-HUA44A35.cjs → chunk-BZ73ZQTE.cjs} +17 -11
  50. package/dist/{chunk-T7HQBZZB.cjs → chunk-C2E3GJEE.cjs} +12 -9
  51. package/dist/{chunk-UP6YRP44.js → chunk-C5SVIQG3.js} +10 -5
  52. package/dist/{chunk-4YQ2OJAL.js → chunk-D2XFTCRP.js} +1 -1
  53. package/dist/{chunk-R5PZPF55.js → chunk-DEAEO7RI.js} +1 -1
  54. package/dist/chunk-DMPVI3YK.cjs +400 -0
  55. package/dist/{chunk-DRXFJR7F.cjs → chunk-DMXN5LJB.cjs} +17 -16
  56. package/dist/{chunk-PVSYZXS7.js → chunk-DTXY7JDL.js} +11 -10
  57. package/dist/{chunk-C26EN22G.cjs → chunk-DUDDZRCS.cjs} +9 -5
  58. package/dist/{chunk-WT367RVU.js → chunk-E7YL3AHT.js} +15 -9
  59. package/dist/{chunk-CHVXUA3O.cjs → chunk-EV53SLSB.cjs} +4 -4
  60. package/dist/{chunk-VQDWNDP5.js → chunk-GD4AFYJ3.js} +1 -1
  61. package/dist/{chunk-AQNY2M6Q.cjs → chunk-GIZL57FE.cjs} +3 -1
  62. package/dist/{chunk-I4HVBWYF.js → chunk-GLAE5K5W.js} +7 -2
  63. package/dist/{chunk-4AMTDSQ3.cjs → chunk-HDSEJMWI.cjs} +6 -3
  64. package/dist/{chunk-ZWS3KSMK.js → chunk-HQQ4NKER.js} +5 -2
  65. package/dist/{chunk-WBDPILKI.cjs → chunk-HVOBMOZ2.cjs} +6 -2
  66. package/dist/{chunk-CMNQAF6C.js → chunk-IJFTBVSD.js} +12 -9
  67. package/dist/{chunk-RDGYHJ52.js → chunk-IPI3JXKP.js} +9 -6
  68. package/dist/chunk-JS7IPR7P.js +249 -0
  69. package/dist/{chunk-CPO5KEQS.cjs → chunk-KC5FPUOF.cjs} +2 -2
  70. package/dist/{chunk-TUO5SZRD.cjs → chunk-L42HTMMR.cjs} +2 -2
  71. package/dist/chunk-LOXOD4IS.cjs +8630 -0
  72. package/dist/{chunk-6DSJ7XST.cjs → chunk-LQ5V5YC7.cjs} +13 -10
  73. package/dist/chunk-M6N5HSY3.js +209 -0
  74. package/dist/{chunk-LJCSSR5V.cjs → chunk-MNCWB5F7.cjs} +5 -5
  75. package/dist/{chunk-BTVNRLSE.js → chunk-MYNHJHDZ.js} +1 -1
  76. package/dist/{chunk-O3EX3SAD.cjs → chunk-N4ZSG6JJ.cjs} +2 -2
  77. package/dist/{chunk-OO7EKEJH.cjs → chunk-NBD4PL2E.cjs} +17 -14
  78. package/dist/chunk-NF7RIHJK.js +45 -0
  79. package/dist/{chunk-KJAZ4YAR.cjs → chunk-NGBN2NGH.cjs} +76 -25
  80. package/dist/{chunk-MRDZHNCF.cjs → chunk-NRORJRD4.cjs} +4 -4
  81. package/dist/{chunk-OTS4YFSZ.cjs → chunk-OKABWSWA.cjs} +7 -3
  82. package/dist/{chunk-4BZ65NIH.js → chunk-OLG7LZBD.js} +1 -1
  83. package/dist/{chunk-KZ7VMQTC.js → chunk-OMEH2EVE.js} +5 -1
  84. package/dist/{chunk-LCBOOA7S.js → chunk-P5VDZ6PV.js} +1 -1
  85. package/dist/{chunk-V5MTBGM4.cjs → chunk-PA2H2263.cjs} +6 -2
  86. package/dist/chunk-PGRH5Q77.cjs +249 -0
  87. package/dist/chunk-PNSRJT46.js +380 -0
  88. package/dist/{chunk-UL5T2XIY.cjs → chunk-PSED4Z4X.cjs} +13 -11
  89. package/dist/{chunk-PGH3MHPP.js → chunk-PWLLLJHU.js} +3 -1
  90. package/dist/{chunk-DOTAX65F.js → chunk-PYLR4J2D.js} +8 -4
  91. package/dist/{chunk-3SDEZTZD.js → chunk-QC6IUDDJ.js} +1 -1
  92. package/dist/{chunk-WJICM4SK.cjs → chunk-QM7HZCQW.cjs} +11 -6
  93. package/dist/chunk-QRQ5EX7I.cjs +380 -0
  94. package/dist/{chunk-RX4KPL6H.js → chunk-QU64XI5X.js} +9 -6
  95. package/dist/{chunk-LKIKNRUP.js → chunk-R4OLUJV7.js} +8 -5
  96. package/dist/{chunk-FSTLJIR5.cjs → chunk-R7SDL3DJ.cjs} +16 -13
  97. package/dist/{chunk-LY5VN3B3.cjs → chunk-RJP3SZ7Q.cjs} +41 -253
  98. package/dist/{chunk-KS45GREN.js → chunk-RJXNNIFW.js} +7 -4
  99. package/dist/{chunk-LYMZDJX5.cjs → chunk-S5G7OEN2.cjs} +26 -18
  100. package/dist/{chunk-3DGR4GNN.cjs → chunk-SA4JOV4F.cjs} +10 -8
  101. package/dist/chunk-SAGM3TE3.cjs +94 -0
  102. package/dist/{chunk-WCN5WDOI.cjs → chunk-TSY7JHIV.cjs} +2 -2
  103. package/dist/chunk-U23U52ZN.cjs +124 -0
  104. package/dist/chunk-UET7BDX2.js +8630 -0
  105. package/dist/{chunk-J7VV7JAB.js → chunk-UM4QEO36.js} +6 -4
  106. package/dist/{chunk-NCLCL7JK.js → chunk-WD5ZF6HE.js} +1 -1
  107. package/dist/{chunk-HF65HHDU.cjs → chunk-WH5RW7DV.cjs} +24 -22
  108. package/dist/{chunk-GSOEIEOU.js → chunk-WJ276BIP.js} +5 -1
  109. package/dist/{chunk-OXJCLU3X.js → chunk-WLTVF77A.js} +1 -1
  110. package/dist/{chunk-WGO4ACS7.cjs → chunk-WOGJXDBU.cjs} +3 -3
  111. package/dist/{chunk-QJ53OSGF.js → chunk-WRJLBHWB.js} +6 -2
  112. package/dist/chunk-X4OLP5C5.cjs +209 -0
  113. package/dist/{chunk-HWDP4HQO.cjs → chunk-XL77XYI2.cjs} +4 -4
  114. package/dist/{chunk-QAJM6VG5.js → chunk-XLI7SHCH.js} +2 -2
  115. package/dist/chunk-Y27LG4BQ.cjs +45 -0
  116. package/dist/chunk-YKSSNFDZ.js +400 -0
  117. package/dist/{chunk-VRI7EXV6.js → chunk-YMDLUTF2.js} +5 -1
  118. package/dist/{chunk-J2RUI7GJ.js → chunk-YVY27BJT.js} +5 -3
  119. package/dist/{chunk-K6CZ2AGI.js → chunk-ZBIBLOZL.js} +35 -247
  120. package/dist/completion-HVSWU5GR.cjs +13 -0
  121. package/dist/completion-WJ2MVNDH.js +13 -0
  122. package/dist/constants-RBQTR32A.cjs +20 -0
  123. package/dist/{constants-OFIAR4E5.js → constants-V6J54N3X.js} +1 -1
  124. package/dist/export-NN7F5ANA.js +11 -0
  125. package/dist/export-UPS3AK2P.cjs +11 -0
  126. package/dist/feedback-KPNRMSP4.js +14 -0
  127. package/dist/feedback-OTXZVKE7.cjs +14 -0
  128. package/dist/help-M7NFPCM4.js +58 -0
  129. package/dist/help-UBHIUDQR.cjs +58 -0
  130. package/dist/history-2KUM6GN4.cjs +13 -0
  131. package/dist/history-RZFT34Q7.js +13 -0
  132. package/dist/hooks-7QSUBHBM.cjs +12 -0
  133. package/dist/hooks-S4MD4QSR.js +12 -0
  134. package/dist/i18n-6NKENUIV.js +32 -0
  135. package/dist/i18n-MXQXQOVE.cjs +32 -0
  136. package/dist/ide-5STDV43A.cjs +11 -0
  137. package/dist/ide-W2NYXOWQ.js +11 -0
  138. package/dist/index.cjs +15320 -12906
  139. package/dist/index.js +15465 -13051
  140. package/dist/init-FG5KEJCZ.cjs +9 -0
  141. package/dist/init-TV4MJDYK.js +9 -0
  142. package/dist/language-52Q7CSAY.cjs +16 -0
  143. package/dist/language-FXFDGOBF.js +16 -0
  144. package/dist/localProjectPermissions-2EATUDZM.cjs +17 -0
  145. package/dist/{localProjectPermissions-FD5AK5FB.js → localProjectPermissions-WQYMGI42.js} +2 -2
  146. package/dist/login-AN42IOBK.js +18 -0
  147. package/dist/login-I65V4TGU.cjs +18 -0
  148. package/dist/logout-KK5UWGNG.js +16 -0
  149. package/dist/logout-VYYNWBHZ.cjs +16 -0
  150. package/dist/mcp-4SKTDECJ.js +15 -0
  151. package/dist/mcp-AGWPTMAX.cjs +15 -0
  152. package/dist/mcp-install-3NN2HAYR.cjs +473 -0
  153. package/dist/mcp-install-KTV52DQK.js +473 -0
  154. package/dist/memory-LG4K6XV6.cjs +9 -0
  155. package/dist/{memory-4GSP7NKV.js → memory-LRDK2SYC.js} +2 -1
  156. package/dist/model-P5D7ATE7.cjs +9 -0
  157. package/dist/{model-HKEFSH5E.js → model-WBFJIGUN.js} +2 -1
  158. package/dist/{new-EEZC4XXV.js → new-5A7RQEKI.js} +2 -1
  159. package/dist/new-EAATWI2G.cjs +9 -0
  160. package/dist/permissions-5URK6C44.js +12 -0
  161. package/dist/permissions-CJUDVG63.cjs +12 -0
  162. package/dist/quit-A33JHDG7.cjs +9 -0
  163. package/dist/quit-IYBLN3DB.js +9 -0
  164. package/dist/resume-OPSJTCH7.cjs +12 -0
  165. package/dist/resume-TOWEEN5D.js +12 -0
  166. package/dist/search-GOLIE5BA.js +14 -0
  167. package/dist/search-H42HGUK5.cjs +14 -0
  168. package/dist/{sessions-4KXIT76T.js → sessions-B5NENDKY.js} +2 -1
  169. package/dist/sessions-YHAVEMWY.cjs +9 -0
  170. package/dist/share-3YWFZGNM.cjs +13 -0
  171. package/dist/share-T6I2LRGS.js +13 -0
  172. package/dist/{skills-PB4HXV4R.js → skills-ICEQ2TNC.js} +2 -1
  173. package/dist/skills-LFVNZOMF.cjs +13 -0
  174. package/dist/{skills-install-UBBNXWD5.js → skills-install-6RN7FVCP.js} +9 -8
  175. package/dist/{skills-install-7SFS24HY.cjs → skills-install-LU6GA2WF.cjs} +14 -13
  176. package/dist/skills-new-5BM5PDFX.cjs +14 -0
  177. package/dist/skills-new-KWBWOX74.js +14 -0
  178. package/dist/status-BAGXGSKE.js +10 -0
  179. package/dist/status-BMD2UFHC.cjs +10 -0
  180. package/dist/sync-6M3WRKMH.cjs +39 -0
  181. package/dist/sync-73D2MP65.cjs +16 -0
  182. package/dist/{sync-LYKDHRFM.js → sync-EXYX7HXW.js} +2 -2
  183. package/dist/sync-LL6M67CN.js +16 -0
  184. package/dist/theme-IFEI2IBJ.cjs +16 -0
  185. package/dist/theme-U3SKEULY.js +16 -0
  186. package/dist/ui/questionModal.cjs +28 -0
  187. package/dist/ui/questionModal.d.cts +11 -0
  188. package/dist/ui/questionModal.d.ts +11 -0
  189. package/dist/ui/questionModal.js +28 -0
  190. package/dist/undo-4DS67OAW.cjs +9 -0
  191. package/dist/undo-YMALVAPN.js +9 -0
  192. package/package.json +9 -8
  193. package/dist/CommunitySkillsCache-N2RWBCY2.cjs +0 -7
  194. package/dist/MemoryManager-J7APSLZ7.js +0 -7
  195. package/dist/MemoryManager-RLLYVIDY.cjs +0 -7
  196. package/dist/PermissionManager-ISI5OAJK.cjs +0 -10
  197. package/dist/SessionManager-7MF76Q3Q.cjs +0 -9
  198. package/dist/SkillsRegistry-UTK2YT4M.cjs +0 -8
  199. package/dist/add-dir-OMK3Y4DM.cjs +0 -8
  200. package/dist/agents-N2ZB4O2A.cjs +0 -9
  201. package/dist/agents-ZMT7HBRT.js +0 -9
  202. package/dist/agents-new-3EWS2NR3.cjs +0 -11
  203. package/dist/agents-new-TCGUYK5I.js +0 -11
  204. package/dist/automode-BRHUHGXU.cjs +0 -8
  205. package/dist/chunk-6SM6N7DJ.js +0 -2828
  206. package/dist/chunk-BEIG7V7Q.cjs +0 -51
  207. package/dist/chunk-L5QWMGLV.cjs +0 -2828
  208. package/dist/chunk-Z3Q2AFDS.js +0 -51
  209. package/dist/completion-NCSTSKTL.cjs +0 -11
  210. package/dist/completion-NTZERPAZ.js +0 -11
  211. package/dist/constants-B2X7KDIH.cjs +0 -20
  212. package/dist/export-5AJNVX4O.cjs +0 -9
  213. package/dist/export-ZQHTLV4W.js +0 -9
  214. package/dist/feedback-F7BMGSV6.cjs +0 -12
  215. package/dist/feedback-NL7CWTRY.js +0 -12
  216. package/dist/help-PKC6QCNG.js +0 -10
  217. package/dist/help-UEELQRHP.cjs +0 -10
  218. package/dist/hooks-AX5VPCZ3.cjs +0 -10
  219. package/dist/hooks-V22HVLQT.js +0 -10
  220. package/dist/init-DML7AOII.js +0 -8
  221. package/dist/init-SLLSDDJN.cjs +0 -8
  222. package/dist/language-IEKARNQH.js +0 -13
  223. package/dist/language-ULQCKXAD.cjs +0 -13
  224. package/dist/localProjectPermissions-7FI3XF4K.cjs +0 -17
  225. package/dist/login-PD3DFJLM.js +0 -15
  226. package/dist/login-VHGT4YKT.cjs +0 -15
  227. package/dist/logout-2QXNFGDT.js +0 -13
  228. package/dist/logout-A4SMKEFO.cjs +0 -13
  229. package/dist/memory-CFNC7RJH.cjs +0 -8
  230. package/dist/model-TKVEJ5BC.cjs +0 -8
  231. package/dist/new-EB2MBQXA.cjs +0 -8
  232. package/dist/permissions-S7433NQJ.js +0 -10
  233. package/dist/permissions-YZ6WCDBL.cjs +0 -10
  234. package/dist/quit-2RYFGIJP.cjs +0 -8
  235. package/dist/quit-RSYIERO5.js +0 -8
  236. package/dist/resume-54ERVSFM.cjs +0 -10
  237. package/dist/resume-YJ5CVKAP.js +0 -10
  238. package/dist/search-4TEQMUPU.js +0 -11
  239. package/dist/search-QGLS4SV7.cjs +0 -11
  240. package/dist/sessions-7RTCPVNE.cjs +0 -8
  241. package/dist/share-2B2T3AUU.cjs +0 -11
  242. package/dist/share-SZMXZIA3.js +0 -11
  243. package/dist/skills-HVQNCTGK.cjs +0 -12
  244. package/dist/skills-new-5FSDAJWE.js +0 -12
  245. package/dist/skills-new-IOTZYE6F.cjs +0 -12
  246. package/dist/status-AGPSKXSW.js +0 -9
  247. package/dist/status-WOINF556.cjs +0 -9
  248. package/dist/sync-64MZDWGG.js +0 -14
  249. package/dist/sync-F5ECJW25.cjs +0 -39
  250. package/dist/sync-W5UR7BEP.cjs +0 -14
  251. package/dist/theme-CWG3ZLHB.cjs +0 -13
  252. package/dist/theme-HQKV7YAP.js +0 -13
  253. package/dist/undo-2WR2ZIEC.cjs +0 -8
  254. package/dist/undo-7QJBXARS.js +0 -8
@@ -1,6 +1,9 @@
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 _chunkLJCSSR5Vcjs = require('./chunk-LJCSSR5V.cjs');
3
+ var _chunkMNCWB5F7cjs = require('./chunk-MNCWB5F7.cjs');
4
+
5
+
6
+ var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
4
7
 
5
8
  // src/commands/permissions.ts
6
9
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -9,9 +12,9 @@ async function permissions(ctx) {
9
12
  const blacklist = ctx.permissionManager.getBlacklist();
10
13
  const settings = ctx.permissionManager.getSettings();
11
14
  console.log();
12
- console.log(_chalk2.default.bold.cyan("Permissions"));
15
+ console.log(_chalk2.default.bold.cyan(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.title")));
13
16
  console.log(_chalk2.default.gray("\u2500".repeat(50)));
14
- console.log(_chalk2.default.gray(`Mode: ${settings.mode || "interactive"}`));
17
+ console.log(_chalk2.default.gray(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.mode", { mode: settings.mode || "interactive" })));
15
18
  console.log();
16
19
  if (whitelist.length === 0 && blacklist.length === 0) {
17
20
  console.log(_chalk2.default.gray("No saved permissions yet."));
@@ -21,7 +24,7 @@ async function permissions(ctx) {
21
24
  return null;
22
25
  }
23
26
  if (whitelist.length > 0) {
24
- console.log(_chalk2.default.bold.green("Approved (Whitelist)"));
27
+ console.log(_chalk2.default.bold.green(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.allowed")));
25
28
  console.log();
26
29
  whitelist.forEach((pattern, index) => {
27
30
  console.log(_chalk2.default.green(` ${index + 1}. ${pattern}`));
@@ -29,7 +32,7 @@ async function permissions(ctx) {
29
32
  console.log();
30
33
  }
31
34
  if (blacklist.length > 0) {
32
- console.log(_chalk2.default.bold.red("Denied (Blacklist)"));
35
+ console.log(_chalk2.default.bold.red(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.denied")));
33
36
  console.log();
34
37
  blacklist.forEach((pattern, index) => {
35
38
  console.log(_chalk2.default.red(` ${index + 1}. ${pattern}`));
@@ -39,7 +42,7 @@ async function permissions(ctx) {
39
42
  console.log(_chalk2.default.gray("\u2500".repeat(50)));
40
43
  console.log(_chalk2.default.gray(`Total: ${whitelist.length} approved, ${blacklist.length} denied`));
41
44
  console.log();
42
- const actionResult = await _chunkLJCSSR5Vcjs.safePrompt.call(void 0, {
45
+ const actionResult = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
43
46
  type: "select",
44
47
  name: "action",
45
48
  message: "What would you like to do?",
@@ -55,7 +58,7 @@ async function permissions(ctx) {
55
58
  }
56
59
  const { action } = actionResult;
57
60
  if (action === "remove_approved" && whitelist.length > 0) {
58
- const result = await _chunkLJCSSR5Vcjs.safePrompt.call(void 0, {
61
+ const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
59
62
  type: "select",
60
63
  name: "pattern",
61
64
  message: "Select item to remove from approved list:",
@@ -66,7 +69,7 @@ async function permissions(ctx) {
66
69
  console.log(_chalk2.default.yellow(`Removed "${result.pattern}" from approved list.`));
67
70
  }
68
71
  } else if (action === "remove_denied" && blacklist.length > 0) {
69
- const result = await _chunkLJCSSR5Vcjs.safePrompt.call(void 0, {
72
+ const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
70
73
  type: "select",
71
74
  name: "pattern",
72
75
  message: "Select item to remove from denied list:",
@@ -77,7 +80,7 @@ async function permissions(ctx) {
77
80
  console.log(_chalk2.default.yellow(`Removed "${result.pattern}" from denied list.`));
78
81
  }
79
82
  } else if (action === "clear_all") {
80
- const result = await _chunkLJCSSR5Vcjs.safePrompt.call(void 0, {
83
+ const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
81
84
  type: "confirm",
82
85
  name: "confirm",
83
86
  message: "Clear all saved permissions? This cannot be undone.",
@@ -97,7 +100,7 @@ async function permissions(ctx) {
97
100
  }
98
101
  var metadata = {
99
102
  command: "/permissions",
100
- description: "view and manage tool/command approvals",
103
+ description: _chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.description"),
101
104
  implemented: true
102
105
  };
103
106
 
@@ -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 _chunkL5QWMGLVcjs = require('./chunk-L5QWMGLV.cjs');
3
+ var _chunkQRQ5EX7Icjs = require('./chunk-QRQ5EX7I.cjs');
4
4
 
5
5
  // src/commands/completion.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -284,7 +284,7 @@ async function execute(args) {
284
284
  { label: "Zsh", value: "zsh" },
285
285
  { label: "Fish", value: "fish" }
286
286
  ];
287
- const shellResult = await _chunkL5QWMGLVcjs.showModal.call(void 0, {
287
+ const shellResult = await _chunkQRQ5EX7Icjs.showModal.call(void 0, {
288
288
  title: "Select your shell:",
289
289
  options: shellOptions,
290
290
  initialIndex: shellOptions.findIndex((o) => o.value === (detected || "bash"))
@@ -300,7 +300,7 @@ async function execute(args) {
300
300
  { label: "Install completion to default location", value: "install" },
301
301
  { label: "Show installation instructions", value: "instructions" }
302
302
  ];
303
- const actionResult = await _chunkL5QWMGLVcjs.showModal.call(void 0, {
303
+ const actionResult = await _chunkQRQ5EX7Icjs.showModal.call(void 0, {
304
304
  title: "What would you like to do?",
305
305
  options: actionOptions
306
306
  });
@@ -1,22 +1,29 @@
1
1
  import {
2
2
  CUSTOM_THEMES_DIR,
3
- getTheme,
4
3
  initTheme,
5
- isThemeInitialized,
6
4
  listAvailableThemes,
7
5
  saveConfig
8
- } from "./chunk-K6CZ2AGI.js";
6
+ } from "./chunk-ZBIBLOZL.js";
7
+ import {
8
+ getTheme,
9
+ isThemeInitialized
10
+ } from "./chunk-JS7IPR7P.js";
9
11
  import {
10
12
  showModal
11
- } from "./chunk-6SM6N7DJ.js";
13
+ } from "./chunk-PNSRJT46.js";
14
+ import {
15
+ t
16
+ } from "./chunk-UET7BDX2.js";
12
17
 
13
18
  // src/commands/theme.ts
14
19
  import chalk from "chalk";
15
20
  async function theme(ctx) {
16
21
  const themes = listAvailableThemes();
17
22
  const currentTheme = isThemeInitialized() ? getTheme().name : ctx.config.ui?.theme || "dark";
18
- console.log(chalk.cyan("\n\u{1F3A8} Theme Selection\n"));
19
- console.log(chalk.gray(`Current theme: ${chalk.white(currentTheme)}`));
23
+ console.log(chalk.cyan(`
24
+ \u{1F3A8} ${t("commands.theme.title")}
25
+ `));
26
+ console.log(chalk.gray(t("commands.theme.currentTheme", { theme: chalk.white(currentTheme) })));
20
27
  console.log(chalk.gray(`Custom themes location: ${CUSTOM_THEMES_DIR}
21
28
  `));
22
29
  const options = themes.map((name) => ({
@@ -25,7 +32,7 @@ async function theme(ctx) {
25
32
  description: name === "dark" ? "Default dark theme" : name === "light" ? "Light theme" : "Custom theme"
26
33
  }));
27
34
  const result = await showModal({
28
- title: "Select a theme:",
35
+ title: t("commands.theme.selectPrompt"),
29
36
  options,
30
37
  initialIndex: themes.indexOf(currentTheme)
31
38
  });
@@ -35,14 +42,15 @@ async function theme(ctx) {
35
42
  }
36
43
  const selected = result.value;
37
44
  if (selected === currentTheme) {
38
- console.log(chalk.gray("\nNo change made."));
45
+ console.log(chalk.gray(`
46
+ ${t("commands.theme.noChange")}`));
39
47
  return null;
40
48
  }
41
49
  initTheme(selected);
42
50
  ctx.config.ui = { ...ctx.config.ui, theme: selected };
43
51
  await saveConfig(ctx.config);
44
52
  console.log(chalk.green(`
45
- \u2713 Theme changed to '${selected}'`));
53
+ \u2713 ${t("commands.theme.changed", { theme: selected })}`));
46
54
  const newTheme = getTheme();
47
55
  console.log("\nTheme preview:");
48
56
  console.log(` ${newTheme.fg("accent", "\u25CF accent")} ${newTheme.fg("success", "\u25CF success")} ${newTheme.fg("error", "\u25CF error")} ${newTheme.fg("warning", "\u25CF warning")}`);
@@ -76,7 +84,7 @@ async function themeInfo() {
76
84
  }
77
85
  var metadata = {
78
86
  command: "/theme",
79
- description: "change the color theme",
87
+ description: t("commands.theme.description"),
80
88
  implemented: true
81
89
  };
82
90
 
@@ -1,8 +1,12 @@
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; }// src/commands/sessions.ts
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
+
3
+ var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
4
+
5
+ // src/commands/sessions.ts
2
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
3
7
  var metadata = {
4
8
  command: "/sessions",
5
- description: "list all sessions",
9
+ description: _chunkLOXOD4IScjs.t.call(void 0, "commands.sessions.description"),
6
10
  implemented: true
7
11
  };
8
12
  async function sessions(ctx) {
@@ -12,7 +16,7 @@ async function sessions(ctx) {
12
16
  projectFilter ? { project: projectFilter } : void 0
13
17
  );
14
18
  if (allSessions.length === 0) {
15
- console.log(_chalk2.default.gray("No sessions found."));
19
+ console.log(_chalk2.default.gray(_chunkLOXOD4IScjs.t.call(void 0, "commands.sessions.noSessions")));
16
20
  return null;
17
21
  }
18
22
  console.log(_chalk2.default.cyan(`
@@ -1,8 +1,12 @@
1
+ import {
2
+ t
3
+ } from "./chunk-UET7BDX2.js";
4
+
1
5
  // src/commands/automode.ts
2
6
  import chalk from "chalk";
3
7
  var metadata = {
4
8
  command: "/automode",
5
- description: "Start or control autonomous development loops",
9
+ description: t("commands.automode.description"),
6
10
  implemented: true
7
11
  };
8
12
  function parseArgs(args) {
@@ -88,7 +92,7 @@ function handleStatus(manager) {
88
92
  "",
89
93
  ` Session: ${state.sessionId}`,
90
94
  ` Status: ${state.status}`,
91
- ` Iteration: ${state.currentIteration}/${state.maxIterations}`,
95
+ ` ${t("commands.automode.iteration", { current: String(state.currentIteration), max: String(state.maxIterations) })}`,
92
96
  ` Files created: ${state.filesCreated}`,
93
97
  ` Files modified: ${state.filesModified}`
94
98
  ];
@@ -0,0 +1,124 @@
1
+ import {
2
+ t
3
+ } from "./chunk-UET7BDX2.js";
4
+
5
+ // src/commands/history.ts
6
+ import chalk from "chalk";
7
+ var metadata = {
8
+ command: "/history",
9
+ description: t("commands.history.title"),
10
+ implemented: true
11
+ };
12
+ function formatHistoryEntry(entry) {
13
+ const date = new Date(entry.createdAt);
14
+ const dateStr = date.toLocaleDateString("en-US", {
15
+ month: "short",
16
+ day: "numeric"
17
+ });
18
+ const timeStr = date.toLocaleTimeString("en-US", {
19
+ hour: "numeric",
20
+ minute: "2-digit",
21
+ hour12: true
22
+ });
23
+ const id = entry.sessionId.length > 20 ? entry.sessionId.slice(0, 20) + "..." : entry.sessionId;
24
+ const modelShort = entry.model.includes("/") ? entry.model.split("/").pop() : entry.model;
25
+ const modelDisplay = modelShort.length > 25 ? modelShort.slice(0, 25) + "..." : modelShort;
26
+ const badge = entry.status === "active" ? chalk.green(" [active]") : "";
27
+ return [
28
+ chalk.cyan(id.padEnd(24)),
29
+ `${dateStr} ${timeStr}`.padEnd(22),
30
+ entry.projectName.padEnd(18),
31
+ modelDisplay.padEnd(28),
32
+ `${entry.messageCount} msgs`,
33
+ badge
34
+ ].join("");
35
+ }
36
+ function paginateHistory(entries, page, pageSize = 15) {
37
+ const totalItems = entries.length;
38
+ const totalPages = Math.ceil(totalItems / pageSize) || 0;
39
+ if (page < 1 || page > totalPages) {
40
+ return {
41
+ items: [],
42
+ currentPage: page,
43
+ totalPages,
44
+ totalItems
45
+ };
46
+ }
47
+ const startIndex = (page - 1) * pageSize;
48
+ const items = entries.slice(startIndex, startIndex + pageSize);
49
+ return {
50
+ items,
51
+ currentPage: page,
52
+ totalPages,
53
+ totalItems
54
+ };
55
+ }
56
+ function toHistoryEntry(session) {
57
+ return {
58
+ sessionId: session.sessionId,
59
+ createdAt: session.createdAt,
60
+ lastActiveAt: session.lastActiveAt,
61
+ projectName: session.projectName,
62
+ model: session.model,
63
+ messageCount: session.messageCount,
64
+ status: session.status
65
+ };
66
+ }
67
+ async function history(ctx) {
68
+ const pageArg = ctx.args?.[0];
69
+ const page = pageArg ? parseInt(pageArg, 10) || 1 : 1;
70
+ const pageSize = 15;
71
+ try {
72
+ const allSessions = await ctx.sessionManager.listSessions();
73
+ if (allSessions.length === 0) {
74
+ console.log(chalk.gray(`
75
+ ${t("commands.history.empty")}
76
+ `));
77
+ return null;
78
+ }
79
+ const entries = allSessions.map(toHistoryEntry);
80
+ const paginated = paginateHistory(entries, page, pageSize);
81
+ console.log(chalk.cyan(`
82
+ ${t("commands.history.title")}
83
+ `));
84
+ console.log(
85
+ chalk.bold(
86
+ " ID".padEnd(25) + "Date".padEnd(22) + "Project".padEnd(18) + "Model".padEnd(28) + "Messages"
87
+ )
88
+ );
89
+ console.log(chalk.gray("\u2500".repeat(100)));
90
+ for (const entry of paginated.items) {
91
+ console.log(` ${formatHistoryEntry(entry)}`);
92
+ }
93
+ console.log(chalk.gray("\u2500".repeat(100)));
94
+ if (paginated.totalPages > 0) {
95
+ console.log(
96
+ chalk.gray(
97
+ `
98
+ ${t("commands.history.showing", { page: paginated.currentPage, total: paginated.totalPages, count: paginated.totalItems })}`
99
+ )
100
+ );
101
+ }
102
+ if (paginated.totalPages > 1 && paginated.currentPage < paginated.totalPages) {
103
+ console.log(chalk.gray(`Use /history ${paginated.currentPage + 1} for next page`));
104
+ }
105
+ console.log(chalk.gray(`${t("commands.history.resumeHint")}
106
+ `));
107
+ return null;
108
+ } catch (error) {
109
+ console.error(chalk.red(`Failed to list history: ${error.message}`));
110
+ return null;
111
+ }
112
+ }
113
+
114
+ export {
115
+ metadata,
116
+ formatHistoryEntry,
117
+ paginateHistory,
118
+ history
119
+ };
120
+ /**
121
+ * @license
122
+ * Copyright 2025 Autohand AI LLC
123
+ * SPDX-License-Identifier: Apache-2.0
124
+ */
@@ -1,3 +1,7 @@
1
+ import {
2
+ t
3
+ } from "./chunk-UET7BDX2.js";
4
+
1
5
  // src/commands/skills.ts
2
6
  async function skills(ctx, args = []) {
3
7
  const { skillsRegistry } = ctx;
@@ -69,10 +73,10 @@ function listSkills(registry) {
69
73
  const activeSkills = registry.getActiveSkills();
70
74
  const lines = [];
71
75
  lines.push("");
72
- lines.push("\u{1F4DA} **Available Skills**");
76
+ lines.push(`\u{1F4DA} **${t("commands.skills.title")}**`);
73
77
  lines.push("");
74
78
  if (allSkills.length === 0) {
75
- lines.push("No skills found yet.");
79
+ lines.push(t("commands.skills.noSkills"));
76
80
  lines.push("");
77
81
  lines.push("**Get started:**");
78
82
  lines.push("");
@@ -226,7 +230,7 @@ async function handleSkillsInstall(ctx, skillName) {
226
230
  if (!workspaceRoot) {
227
231
  return "Workspace root not available.";
228
232
  }
229
- const { skillsInstall } = await import("./skills-install-UBBNXWD5.js");
233
+ const { skillsInstall } = await import("./skills-install-6RN7FVCP.js");
230
234
  const result = await skillsInstall(
231
235
  {
232
236
  skillsRegistry,
@@ -238,7 +242,7 @@ async function handleSkillsInstall(ctx, skillName) {
238
242
  }
239
243
  var metadata = {
240
244
  command: "/skills",
241
- description: "list and manage available skills",
245
+ description: t("commands.skills.description"),
242
246
  implemented: true
243
247
  };
244
248
  var useMetadata = {
@@ -1,11 +1,15 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/commands/model.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
4
+
5
+ // src/commands/model.ts
2
6
  async function model(ctx) {
3
7
  await ctx.promptModelSelection();
4
8
  return null;
5
9
  }
6
10
  var metadata = {
7
11
  command: "/model",
8
- description: "choose what model and reasoning effort to use",
12
+ description: _chunkLOXOD4IScjs.t.call(void 0, "commands.model.description"),
9
13
  implemented: true
10
14
  };
11
15
 
@@ -1,10 +1,10 @@
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 _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 _chunkLY5VN3B3cjs = require('./chunk-LY5VN3B3.cjs');
3
+ var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkL5QWMGLVcjs = require('./chunk-L5QWMGLV.cjs');
7
+ var _chunkQRQ5EX7Icjs = require('./chunk-QRQ5EX7I.cjs');
8
8
 
9
9
  // src/commands/search.ts
10
10
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -488,7 +488,7 @@ async function search(ctx) {
488
488
  }
489
489
  ];
490
490
  try {
491
- const result = await _chunkL5QWMGLVcjs.showModal.call(void 0, {
491
+ const result = await _chunkQRQ5EX7Icjs.showModal.call(void 0, {
492
492
  title: "Select search provider:",
493
493
  options: providerOptions,
494
494
  initialIndex: providerOptions.findIndex((c) => c.value === currentConfig.provider)
@@ -502,7 +502,7 @@ async function search(ctx) {
502
502
  let parallelApiKey = currentConfig.parallelApiKey;
503
503
  if (provider === "brave" && !braveKeySet) {
504
504
  console.log(_chalk2.default.gray("\nGet your free Brave Search API key at: https://brave.com/search/api/\n"));
505
- const apiKey = await _chunkL5QWMGLVcjs.showPassword.call(void 0, {
505
+ const apiKey = await _chunkQRQ5EX7Icjs.showPassword.call(void 0, {
506
506
  title: "Enter Brave Search API key:"
507
507
  });
508
508
  if (_optionalChain([apiKey, 'optionalAccess', _40 => _40.trim, 'call', _41 => _41()])) {
@@ -514,7 +514,7 @@ async function search(ctx) {
514
514
  }
515
515
  if (provider === "parallel" && !parallelKeySet) {
516
516
  console.log(_chalk2.default.gray("\nGet your Parallel.ai API key at: https://platform.parallel.ai\n"));
517
- const apiKey = await _chunkL5QWMGLVcjs.showPassword.call(void 0, {
517
+ const apiKey = await _chunkQRQ5EX7Icjs.showPassword.call(void 0, {
518
518
  title: "Enter Parallel.ai API key:"
519
519
  });
520
520
  if (_optionalChain([apiKey, 'optionalAccess', _42 => _42.trim, 'call', _43 => _43()])) {
@@ -535,7 +535,7 @@ async function search(ctx) {
535
535
  braveApiKey,
536
536
  parallelApiKey
537
537
  };
538
- await _chunkLY5VN3B3cjs.saveConfig.call(void 0, config);
538
+ await _chunkRJP3SZ7Qcjs.saveConfig.call(void 0, config);
539
539
  console.log(_chalk2.default.green(`
540
540
  \u2713 Search provider set to ${provider} and saved to config`));
541
541
  } else {