autohand-cli 0.7.11 → 0.7.13

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-BIZH6I2U.cjs +11 -0
  2. package/dist/{about-BCPUOQVH.js → about-PPIVMAPA.js} +3 -3
  3. package/dist/add-dir-7FD4DMDA.cjs +9 -0
  4. package/dist/{add-dir-RP2BL3JW.js → add-dir-LOYJ4YB5.js} +2 -2
  5. package/dist/{agents-JQ2PHCQB.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-XOF3U3OB.js → automode-LGWTY3UX.js} +2 -2
  10. package/dist/automode-WLBQ7MN7.cjs +9 -0
  11. package/dist/{chunk-R4OLUJV7.js → chunk-2JMWWYMZ.js} +3 -3
  12. package/dist/{chunk-LOXOD4IS.cjs → chunk-2U5HFVRO.cjs} +38 -68
  13. package/dist/{chunk-BXV5O6VU.js → chunk-3AWZFG5G.js} +1 -2
  14. package/dist/{chunk-PNSRJT46.js → chunk-3KBBARKO.js} +1 -1
  15. package/dist/{chunk-5BQ57AZC.cjs → chunk-425MT6Y5.cjs} +7 -7
  16. package/dist/{chunk-NRORJRD4.cjs → chunk-43XS26AQ.cjs} +2 -2
  17. package/dist/{chunk-R7SDL3DJ.cjs → chunk-4HA7IHLJ.cjs} +14 -14
  18. package/dist/{chunk-HQQ4NKER.js → chunk-5UBW2BGC.js} +1 -1
  19. package/dist/{chunk-RJXNNIFW.js → chunk-63BXZQZW.js} +2 -2
  20. package/dist/{chunk-3652ROFD.js → chunk-6DWXHBAY.js} +1 -1
  21. package/dist/{chunk-4ULBAYME.js → chunk-6SHHB2VD.js} +2 -2
  22. package/dist/{chunk-IJFTBVSD.js → chunk-7YX3OD4B.js} +2 -2
  23. package/dist/{chunk-Y27LG4BQ.cjs → chunk-AIH6GUGB.cjs} +5 -5
  24. package/dist/chunk-AXP53LTU.cjs +169 -0
  25. package/dist/chunk-B2K7JZRW.js +51 -0
  26. package/dist/{chunk-BKGPWAEE.js → chunk-B5HIJJ4B.js} +3 -3
  27. package/dist/{chunk-3DQSBW4B.cjs → chunk-B6EBHCK2.cjs} +6 -6
  28. package/dist/{chunk-73XIKTZL.js → chunk-BHV7CBNT.js} +1 -1
  29. package/dist/{chunk-NF7RIHJK.js → chunk-BISFR6ZL.js} +1 -1
  30. package/dist/{chunk-YKSSNFDZ.js → chunk-BPTBKO7D.js} +2 -2
  31. package/dist/{chunk-MNCWB5F7.cjs → chunk-BRXIEKJ3.cjs} +5 -5
  32. package/dist/{chunk-PA2H2263.cjs → chunk-CKN2BLHK.cjs} +2 -2
  33. package/dist/{chunk-DMXN5LJB.cjs → chunk-CTJILRNQ.cjs} +12 -12
  34. package/dist/{chunk-BBIKQW66.js → chunk-DTFR3WD6.js} +1 -1
  35. package/dist/{chunk-SA4JOV4F.cjs → chunk-DZHR34H6.cjs} +3 -3
  36. package/dist/{chunk-ANUQFV43.cjs → chunk-EOGKE5GD.cjs} +4 -4
  37. package/dist/{chunk-C5SVIQG3.js → chunk-FB6JWNJS.js} +1 -1
  38. package/dist/{chunk-OKABWSWA.cjs → chunk-FEVHH525.cjs} +3 -3
  39. package/dist/{chunk-5NZA4UB4.cjs → chunk-FHUNAB2K.cjs} +3 -3
  40. package/dist/{chunk-7QNW24ZT.js → chunk-FK2DVRPJ.js} +2 -2
  41. package/dist/{chunk-5Q3W4DEU.js → chunk-GRSVQ5YZ.js} +2 -2
  42. package/dist/{chunk-E7YL3AHT.js → chunk-H3GBSPK5.js} +2 -2
  43. package/dist/{chunk-XLI7SHCH.js → chunk-HMRDNRTH.js} +1 -1
  44. package/dist/{chunk-DMPVI3YK.cjs → chunk-HSPWX4Z2.cjs} +9 -9
  45. package/dist/{chunk-HDSEJMWI.cjs → chunk-IZBCMJHJ.cjs} +2 -2
  46. package/dist/{chunk-YVY27BJT.js → chunk-JHOQABEF.js} +2 -2
  47. package/dist/{chunk-QC6IUDDJ.js → chunk-JWPI6O5Z.js} +1 -1
  48. package/dist/{chunk-NBD4PL2E.cjs → chunk-KW4SQWBU.cjs} +9 -9
  49. package/dist/{chunk-QU64XI5X.js → chunk-KXAAEROY.js} +2 -2
  50. package/dist/{chunk-B72CC4O6.js → chunk-LYMTYC67.js} +1 -1
  51. package/dist/{chunk-4XHHW7QX.cjs → chunk-METF3I6W.cjs} +1 -2
  52. package/dist/{chunk-6P3K4YUW.js → chunk-MILZEEUV.js} +1 -1
  53. package/dist/{chunk-65GTO4QM.cjs → chunk-MTALRU7R.cjs} +3 -3
  54. package/dist/{chunk-GLAE5K5W.js → chunk-MY3TZER2.js} +1 -1
  55. package/dist/{chunk-WJ276BIP.js → chunk-NMGF2KUN.js} +1 -1
  56. package/dist/{chunk-UET7BDX2.js → chunk-NMWEDN4Z.js} +35 -65
  57. package/dist/{chunk-QM7HZCQW.cjs → chunk-NUHYCFHW.cjs} +4 -4
  58. package/dist/{chunk-SAGM3TE3.cjs → chunk-ONAY5SD2.cjs} +14 -14
  59. package/dist/{chunk-YMDLUTF2.js → chunk-OSUWEUZE.js} +1 -1
  60. package/dist/{chunk-5FZM7KLB.cjs → chunk-PKOAXQKW.cjs} +11 -11
  61. package/dist/{chunk-LQ5V5YC7.cjs → chunk-R3H25HQZ.cjs} +11 -11
  62. package/dist/{chunk-NGBN2NGH.cjs → chunk-R5OO7MEB.cjs} +8 -8
  63. package/dist/{chunk-AEYOIPHD.cjs → chunk-RFNCTE4V.cjs} +2 -2
  64. package/dist/chunk-RRZFJIIB.js +169 -0
  65. package/dist/{chunk-PYLR4J2D.js → chunk-RRZS5A53.js} +1 -1
  66. package/dist/{chunk-BZ73ZQTE.cjs → chunk-RUZB43HU.cjs} +9 -9
  67. package/dist/{chunk-BODVOW7B.js → chunk-S47TCZDL.js} +2 -2
  68. package/dist/{chunk-BDIZGBDA.cjs → chunk-SFNT5DYE.cjs} +4 -4
  69. package/dist/{chunk-PSED4Z4X.cjs → chunk-SIGWDEPS.cjs} +10 -10
  70. package/dist/{chunk-S5G7OEN2.cjs → chunk-SMHY3Q7B.cjs} +9 -9
  71. package/dist/{chunk-UM4QEO36.js → chunk-SRLY7K6J.js} +1 -1
  72. package/dist/{chunk-46WX5IO2.cjs → chunk-SZP4ULM5.cjs} +17 -17
  73. package/dist/{chunk-OMEH2EVE.js → chunk-TOTDRAWG.js} +1 -1
  74. package/dist/{chunk-ATR3RORT.js → chunk-TQB222ZB.js} +2 -2
  75. package/dist/{chunk-HVOBMOZ2.cjs → chunk-U7CZFKPL.cjs} +2 -2
  76. package/dist/{chunk-WH5RW7DV.cjs → chunk-ULMPJUJW.cjs} +21 -21
  77. package/dist/{chunk-34OGUMRO.cjs → chunk-V7YTCNMN.cjs} +5 -5
  78. package/dist/{chunk-IPI3JXKP.js → chunk-VHBUKGRG.js} +2 -2
  79. package/dist/{chunk-C2E3GJEE.cjs → chunk-VVBBEYTH.cjs} +6 -6
  80. package/dist/{chunk-WRJLBHWB.js → chunk-X765A7J5.js} +1 -1
  81. package/dist/{chunk-QRQ5EX7I.cjs → chunk-XBUMKEFN.cjs} +6 -6
  82. package/dist/chunk-XQLWN4Y3.cjs +51 -0
  83. package/dist/{chunk-DTXY7JDL.js → chunk-YESQ7XR3.js} +3 -3
  84. package/dist/{chunk-WD5ZF6HE.js → chunk-YHGTBPEC.js} +1 -1
  85. package/dist/{chunk-U23U52ZN.cjs → chunk-ZKZRFH37.cjs} +6 -6
  86. package/dist/{chunk-DUDDZRCS.cjs → chunk-ZLOTP56B.cjs} +5 -5
  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-TBF2CUJR.js +14 -0
  92. package/dist/feedback-XXHPSUUO.cjs +14 -0
  93. package/dist/help-4VSLIMP4.cjs +11 -0
  94. package/dist/help-RU24K66K.js +11 -0
  95. package/dist/history-73VBEMSI.cjs +13 -0
  96. package/dist/{history-RZFT34Q7.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-6NKENUIV.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 +168 -167
  104. package/dist/index.js +86 -85
  105. package/dist/init-J5HR4R7U.js +9 -0
  106. package/dist/init-JCC7RVMC.cjs +9 -0
  107. package/dist/{language-FXFDGOBF.js → language-AZISJCEZ.js} +4 -4
  108. package/dist/language-F65RA6FZ.cjs +16 -0
  109. package/dist/{login-AN42IOBK.js → login-5HLPMECE.js} +5 -5
  110. package/dist/{login-I65V4TGU.cjs → login-ISWYYBXP.cjs} +6 -6
  111. package/dist/logout-3EKZM5J3.cjs +16 -0
  112. package/dist/{logout-KK5UWGNG.js → logout-GE7TSZ24.js} +5 -5
  113. package/dist/mcp-EW64QRFA.cjs +15 -0
  114. package/dist/{mcp-4SKTDECJ.js → mcp-VHS7AMF2.js} +3 -3
  115. package/dist/{mcp-install-3NN2HAYR.cjs → mcp-install-2KVKRAMQ.cjs} +7 -7
  116. package/dist/{mcp-install-KTV52DQK.js → mcp-install-77UXRN6R.js} +4 -4
  117. package/dist/{memory-LRDK2SYC.js → memory-2I473RU3.js} +2 -2
  118. package/dist/memory-JZ6NPSP3.cjs +9 -0
  119. package/dist/{model-WBFJIGUN.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-5A7RQEKI.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-GOLIE5BA.js → search-UIWIXB73.js} +4 -4
  130. package/dist/search-WQNXDA2E.cjs +14 -0
  131. package/dist/{sessions-B5NENDKY.js → sessions-HPFX2GDD.js} +2 -2
  132. package/dist/sessions-SAQU6MFA.cjs +9 -0
  133. package/dist/share-IE6UTPKF.cjs +13 -0
  134. package/dist/share-NQXIMFSQ.js +13 -0
  135. package/dist/{skills-ICEQ2TNC.js → skills-LJZA6PVJ.js} +2 -2
  136. package/dist/skills-YTYGART7.cjs +13 -0
  137. package/dist/{skills-install-LU6GA2WF.cjs → skills-install-IKJZN4G2.cjs} +7 -7
  138. package/dist/{skills-install-6RN7FVCP.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-3FFAL4SL.js +55 -0
  142. package/dist/slashCommands-JASFW3E4.cjs +55 -0
  143. package/dist/status-4NDGXPIM.js +10 -0
  144. package/dist/status-RHJIBHP2.cjs +10 -0
  145. package/dist/{sync-LL6M67CN.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-U3SKEULY.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 +1 -2
  154. package/dist/about-225R5LMN.cjs +0 -11
  155. package/dist/add-dir-3BMVJ5H3.cjs +0 -9
  156. package/dist/agents-RGSZ2BM3.cjs +0 -10
  157. package/dist/agents-new-LSJN2L2T.cjs +0 -13
  158. package/dist/agents-new-MZUEVKSK.js +0 -13
  159. package/dist/automode-DP3BMYJB.cjs +0 -9
  160. package/dist/chunk-M6N5HSY3.js +0 -209
  161. package/dist/chunk-X4OLP5C5.cjs +0 -209
  162. package/dist/completion-HVSWU5GR.cjs +0 -13
  163. package/dist/completion-WJ2MVNDH.js +0 -13
  164. package/dist/export-NN7F5ANA.js +0 -11
  165. package/dist/export-UPS3AK2P.cjs +0 -11
  166. package/dist/feedback-KPNRMSP4.js +0 -14
  167. package/dist/feedback-OTXZVKE7.cjs +0 -14
  168. package/dist/help-M7NFPCM4.js +0 -58
  169. package/dist/help-UBHIUDQR.cjs +0 -58
  170. package/dist/history-2KUM6GN4.cjs +0 -13
  171. package/dist/hooks-7QSUBHBM.cjs +0 -12
  172. package/dist/hooks-S4MD4QSR.js +0 -12
  173. package/dist/i18n-MXQXQOVE.cjs +0 -32
  174. package/dist/ide-5STDV43A.cjs +0 -11
  175. package/dist/ide-W2NYXOWQ.js +0 -11
  176. package/dist/init-FG5KEJCZ.cjs +0 -9
  177. package/dist/init-TV4MJDYK.js +0 -9
  178. package/dist/language-52Q7CSAY.cjs +0 -16
  179. package/dist/logout-VYYNWBHZ.cjs +0 -16
  180. package/dist/mcp-AGWPTMAX.cjs +0 -15
  181. package/dist/memory-LG4K6XV6.cjs +0 -9
  182. package/dist/model-P5D7ATE7.cjs +0 -9
  183. package/dist/new-EAATWI2G.cjs +0 -9
  184. package/dist/permissions-5URK6C44.js +0 -12
  185. package/dist/permissions-CJUDVG63.cjs +0 -12
  186. package/dist/quit-A33JHDG7.cjs +0 -9
  187. package/dist/quit-IYBLN3DB.js +0 -9
  188. package/dist/resume-OPSJTCH7.cjs +0 -12
  189. package/dist/resume-TOWEEN5D.js +0 -12
  190. package/dist/search-H42HGUK5.cjs +0 -14
  191. package/dist/sessions-YHAVEMWY.cjs +0 -9
  192. package/dist/share-3YWFZGNM.cjs +0 -13
  193. package/dist/share-T6I2LRGS.js +0 -13
  194. package/dist/skills-LFVNZOMF.cjs +0 -13
  195. package/dist/skills-new-5BM5PDFX.cjs +0 -14
  196. package/dist/skills-new-KWBWOX74.js +0 -14
  197. package/dist/status-BAGXGSKE.js +0 -10
  198. package/dist/status-BMD2UFHC.cjs +0 -10
  199. package/dist/sync-73D2MP65.cjs +0 -16
  200. package/dist/theme-IFEI2IBJ.cjs +0 -16
  201. package/dist/undo-4DS67OAW.cjs +0 -9
  202. package/dist/undo-YMALVAPN.js +0 -9
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  safePrompt
3
- } from "./chunk-WD5ZF6HE.js";
3
+ } from "./chunk-YHGTBPEC.js";
4
4
  import {
5
5
  AUTOHAND_PATHS
6
6
  } from "./chunk-PWLLLJHU.js";
@@ -3,10 +3,10 @@
3
3
  var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
4
4
 
5
5
 
6
- var _chunkY27LG4BQcjs = require('./chunk-Y27LG4BQ.cjs');
6
+ var _chunkAIH6GUGBcjs = require('./chunk-AIH6GUGB.cjs');
7
7
 
8
8
 
9
- var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
9
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
10
10
 
11
11
  // src/commands/mcp.ts
12
12
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -111,14 +111,14 @@ async function showMcpServerList(options) {
111
111
  let completed = false;
112
112
  let instance;
113
113
  const renderList = () => {
114
- const element = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY27LG4BQcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
114
+ const element = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
115
115
  McpServerList,
116
116
  {
117
117
  servers: currentServers,
118
118
  onToggle: async (name, status) => {
119
119
  currentServers = await options.onToggle(name, status);
120
120
  instance.rerender(
121
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY27LG4BQcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
121
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIH6GUGBcjs.I18nProvider, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
122
122
  McpServerList,
123
123
  {
124
124
  servers: currentServers,
@@ -203,10 +203,10 @@ async function showInteractiveList(manager, config) {
203
203
  if (items.length === 0) {
204
204
  const lines = [];
205
205
  lines.push("");
206
- lines.push(_chalk2.default.bold.cyan(_chunkLOXOD4IScjs.t.call(void 0, "commands.mcp.title")));
206
+ lines.push(_chalk2.default.bold.cyan(_chunk2U5HFVROcjs.t.call(void 0, "commands.mcp.title")));
207
207
  lines.push(_chalk2.default.gray("\u2500".repeat(50)));
208
208
  lines.push("");
209
- lines.push(_chunkLOXOD4IScjs.t.call(void 0, "commands.mcp.noServers"));
209
+ lines.push(_chunk2U5HFVROcjs.t.call(void 0, "commands.mcp.noServers"));
210
210
  lines.push("");
211
211
  lines.push(_chalk2.default.gray("Add a server:"));
212
212
  lines.push(_chalk2.default.gray(" /mcp add <name> <command> [args...]"));
@@ -256,7 +256,7 @@ async function handleConnect(manager, config, args) {
256
256
  return `Server "${serverName}" not found in config. Use /mcp add to add it first.`;
257
257
  }
258
258
  try {
259
- console.log(_chalk2.default.cyan(_chunkLOXOD4IScjs.t.call(void 0, "commands.mcp.connecting")));
259
+ console.log(_chalk2.default.cyan(_chunk2U5HFVROcjs.t.call(void 0, "commands.mcp.connecting")));
260
260
  await manager.connect(serverConfig);
261
261
  const tools = manager.getToolsForServer(serverName);
262
262
  return `Connected to ${serverName} (${tools.length} tools available)`;
@@ -369,12 +369,12 @@ async function handleRemove(manager, config, args) {
369
369
  }
370
370
  var metadata = {
371
371
  command: "/mcp",
372
- description: _chunkLOXOD4IScjs.t.call(void 0, "commands.mcp.description"),
372
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.mcp.description"),
373
373
  implemented: true
374
374
  };
375
375
  var installMetadata = {
376
376
  command: "/mcp install",
377
- description: _chunkLOXOD4IScjs.t.call(void 0, "commands.mcp.installDescription"),
377
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.mcp.installDescription"),
378
378
  implemented: true
379
379
  };
380
380
 
@@ -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 _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/new.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -12,7 +12,7 @@ async function newConversation(ctx) {
12
12
  await ctx.resetConversation();
13
13
  await ctx.sessionManager.createSession(ctx.workspaceRoot, ctx.model);
14
14
  console.log();
15
- console.log(_chalk2.default.cyan(_chunkLOXOD4IScjs.t.call(void 0, "commands.new.cleared")));
15
+ console.log(_chalk2.default.cyan(_chunk2U5HFVROcjs.t.call(void 0, "commands.new.cleared")));
16
16
  console.log();
17
17
  return null;
18
18
  }
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-ZBIBLOZL.js";
4
4
  import {
5
5
  showModal
6
- } from "./chunk-PNSRJT46.js";
6
+ } from "./chunk-3KBBARKO.js";
7
7
  import {
8
8
  LANGUAGE_DISPLAY_NAMES,
9
9
  SUPPORTED_LOCALES,
10
10
  changeLanguage,
11
11
  getCurrentLocale,
12
12
  t
13
- } from "./chunk-UET7BDX2.js";
13
+ } from "./chunk-NMWEDN4Z.js";
14
14
 
15
15
  // src/commands/language.ts
16
16
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showModal
3
- } from "./chunk-PNSRJT46.js";
3
+ } from "./chunk-3KBBARKO.js";
4
4
 
5
5
  // src/commands/completion.ts
6
6
  import chalk2 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 _chunk4XHHW7QXcjs = require('./chunk-4XHHW7QX.cjs');
3
+ var _chunkMETF3I6Wcjs = require('./chunk-METF3I6W.cjs');
4
4
 
5
5
 
6
- var _chunkMNCWB5F7cjs = require('./chunk-MNCWB5F7.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 _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.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: _chunkLOXOD4IScjs.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 _chunkMNCWB5F7cjs.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 _chunkMNCWB5F7cjs.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: _chunk4XHHW7QXcjs.package_default.version,
111
+ cliVersion: _chunkMETF3I6Wcjs.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(_chunkLOXOD4IScjs.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": _chunk4XHHW7QXcjs.package_default.version,
159
+ "X-CLI-Version": _chunkMETF3I6Wcjs.package_default.version,
160
160
  "X-Device-ID": payload.deviceId
161
161
  },
162
162
  body: JSON.stringify(payload),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  safePrompt
3
- } from "./chunk-WD5ZF6HE.js";
3
+ } from "./chunk-YHGTBPEC.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-UET7BDX2.js";
6
+ } from "./chunk-NMWEDN4Z.js";
7
7
 
8
8
  // src/commands/permissions.ts
9
9
  import chalk from "chalk";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-QHPFA6OE.js";
4
4
  import {
5
5
  safePrompt
6
- } from "./chunk-WD5ZF6HE.js";
6
+ } from "./chunk-YHGTBPEC.js";
7
7
  import {
8
8
  AUTOHAND_PATHS
9
9
  } from "./chunk-PWLLLJHU.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// package.json
2
2
  var package_default = {
3
3
  name: "autohand-cli",
4
- version: "0.7.11",
4
+ version: "0.7.13",
5
5
  license: "Apache-2.0",
6
6
  description: "Autohand interactive coding agent CLI powered by LLMs.",
7
7
  repository: {
@@ -54,7 +54,6 @@ var package_default = {
54
54
  diff: "^8.0.2",
55
55
  dotenv: "^17.2.3",
56
56
  "fs-extra": "^11.3.2",
57
- i18next: "^25.7.4",
58
57
  ignore: "^5.3.1",
59
58
  ink: "^4.4.1",
60
59
  "ink-spinner": "^5.0.0",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-UET7BDX2.js";
3
+ } from "./chunk-NMWEDN4Z.js";
4
4
 
5
5
  // src/commands/automode.ts
6
6
  import chalk from "chalk";
@@ -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 _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/sessions.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
7
7
  var metadata = {
8
8
  command: "/sessions",
9
- description: _chunkLOXOD4IScjs.t.call(void 0, "commands.sessions.description"),
9
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.sessions.description"),
10
10
  implemented: true
11
11
  };
12
12
  async function sessions(ctx) {
@@ -16,7 +16,7 @@ async function sessions(ctx) {
16
16
  projectFilter ? { project: projectFilter } : void 0
17
17
  );
18
18
  if (allSessions.length === 0) {
19
- console.log(_chalk2.default.gray(_chunkLOXOD4IScjs.t.call(void 0, "commands.sessions.noSessions")));
19
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.sessions.noSessions")));
20
20
  return null;
21
21
  }
22
22
  console.log(_chalk2.default.cyan(`
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-UET7BDX2.js";
3
+ } from "./chunk-NMWEDN4Z.js";
4
4
 
5
5
  // src/commands/undo.ts
6
6
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-UET7BDX2.js";
3
+ } from "./chunk-NMWEDN4Z.js";
4
4
 
5
5
  // src/commands/quit.ts
6
6
  async function quit() {
@@ -1,6 +1,3 @@
1
- // src/i18n/index.ts
2
- import i18next from "i18next";
3
-
4
1
  // src/i18n/locales/en.json
5
2
  var en_default = {
6
3
  common: {
@@ -8513,76 +8510,48 @@ function injectLocaleIntoPrompt(systemPrompt, locale) {
8513
8510
  }
8514
8511
 
8515
8512
  // src/i18n/index.ts
8516
- var resources = {
8517
- en: { translation: en_default },
8518
- es: { translation: es_default },
8519
- fr: { translation: fr_default },
8520
- it: { translation: it_default },
8521
- "pt-br": { translation: pt_br_default },
8522
- "zh-cn": { translation: zh_cn_default },
8523
- "zh-tw": { translation: zh_tw_default },
8524
- de: { translation: de_default },
8525
- ja: { translation: ja_default },
8526
- ko: { translation: ko_default },
8527
- ru: { translation: ru_default },
8528
- tr: { translation: tr_default },
8529
- pl: { translation: pl_default },
8530
- cs: { translation: cs_default },
8531
- hu: { translation: hu_default },
8532
- hi: { translation: hi_default }
8513
+ var translations = {
8514
+ en: en_default,
8515
+ es: es_default,
8516
+ fr: fr_default,
8517
+ it: it_default,
8518
+ "pt-br": pt_br_default,
8519
+ "zh-cn": zh_cn_default,
8520
+ "zh-tw": zh_tw_default,
8521
+ de: de_default,
8522
+ ja: ja_default,
8523
+ ko: ko_default,
8524
+ ru: ru_default,
8525
+ tr: tr_default,
8526
+ pl: pl_default,
8527
+ cs: cs_default,
8528
+ hu: hu_default,
8529
+ hi: hi_default
8533
8530
  };
8534
8531
  var currentLocale = "en";
8535
8532
  var initialized = false;
8536
8533
  var languageChangeListeners = /* @__PURE__ */ new Set();
8537
- function initEager() {
8538
- if (initialized) return;
8539
- i18next.init({
8540
- lng: "en",
8541
- fallbackLng: "en",
8542
- resources,
8543
- interpolation: {
8544
- escapeValue: false
8545
- },
8546
- keySeparator: ".",
8547
- nsSeparator: ":",
8548
- returnNull: false,
8549
- returnEmptyString: false,
8550
- lowerCaseLng: true,
8551
- initImmediate: false
8552
- // synchronous init
8534
+ function resolve(obj, key) {
8535
+ let cur = obj;
8536
+ for (const segment of key.split(".")) {
8537
+ if (cur == null || typeof cur !== "object") return void 0;
8538
+ cur = cur[segment];
8539
+ }
8540
+ return cur;
8541
+ }
8542
+ function interpolate(text, options) {
8543
+ if (!options) return text;
8544
+ return text.replace(/\{\{(\w+)\}\}/g, (_, name) => {
8545
+ const val = options[name];
8546
+ return val != null ? String(val) : `{{${name}}}`;
8553
8547
  });
8554
- initialized = true;
8555
8548
  }
8556
- initEager();
8557
8549
  async function initI18n(locale) {
8558
8550
  currentLocale = locale;
8559
- if (initialized) {
8560
- await i18next.changeLanguage(locale);
8561
- return;
8562
- }
8563
- await i18next.init({
8564
- lng: locale,
8565
- fallbackLng: "en",
8566
- resources,
8567
- interpolation: {
8568
- escapeValue: false
8569
- // Not needed for CLI (no XSS risk)
8570
- },
8571
- // Support nested keys like 'commands.help.title'
8572
- keySeparator: ".",
8573
- nsSeparator: ":",
8574
- // Return key if translation missing (for debugging)
8575
- returnNull: false,
8576
- returnEmptyString: false,
8577
- // Keep locale codes lowercase (e.g., 'pt-br' not 'pt-BR')
8578
- // This ensures resource keys match what we define
8579
- lowerCaseLng: true
8580
- });
8581
8551
  initialized = true;
8582
8552
  }
8583
8553
  async function changeLanguage(locale) {
8584
8554
  currentLocale = locale;
8585
- await i18next.changeLanguage(locale);
8586
8555
  languageChangeListeners.forEach((listener) => listener(locale));
8587
8556
  }
8588
8557
  function onLanguageChange(callback) {
@@ -8598,13 +8567,14 @@ function isInitialized() {
8598
8567
  return initialized;
8599
8568
  }
8600
8569
  function t(key, options) {
8601
- if (!initialized) {
8602
- initEager();
8570
+ const value = resolve(translations[currentLocale] ?? {}, key) ?? resolve(translations.en, key);
8571
+ if (typeof value === "string") {
8572
+ return interpolate(value, options);
8603
8573
  }
8604
- return i18next.t(key, options);
8574
+ return key;
8605
8575
  }
8606
8576
  function exists(key) {
8607
- return i18next.exists(key);
8577
+ return resolve(translations[currentLocale] ?? {}, key) !== void 0 || resolve(translations.en, key) !== void 0;
8608
8578
  }
8609
8579
 
8610
8580
  export {
@@ -3,7 +3,7 @@
3
3
  var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
4
4
 
5
5
 
6
- var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
6
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
7
7
 
8
8
  // src/commands/agents.ts
9
9
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -155,7 +155,7 @@ function extractMarkdownTitle(content) {
155
155
  // src/commands/agents.ts
156
156
  var metadata = {
157
157
  command: "/agents",
158
- description: _chunkLOXOD4IScjs.t.call(void 0, "commands.agents.description"),
158
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.agents.description"),
159
159
  implemented: true,
160
160
  prd: "prd/sub_agents_architecture.md"
161
161
  };
@@ -164,10 +164,10 @@ async function handler() {
164
164
  await registry.loadAgents();
165
165
  const agents = registry.getAllAgents();
166
166
  if (agents.length === 0) {
167
- return `${_chunkLOXOD4IScjs.t.call(void 0, "commands.agents.noAgents")}
167
+ return `${_chunk2U5HFVROcjs.t.call(void 0, "commands.agents.noAgents")}
168
168
  ${_chalk2.default.gray(`Path: ${_chalk2.default.cyan(registry.getAgentsDirectory())}`)}`;
169
169
  }
170
- let output = _chalk2.default.bold(`${_chunkLOXOD4IScjs.t.call(void 0, "commands.agents.title")}:
170
+ let output = _chalk2.default.bold(`${_chunk2U5HFVROcjs.t.call(void 0, "commands.agents.title")}:
171
171
 
172
172
  `);
173
173
  for (const agent of agents) {
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunk4XHHW7QXcjs = require('./chunk-4XHHW7QX.cjs');
3
+ var _chunkMETF3I6Wcjs = require('./chunk-METF3I6W.cjs');
4
4
 
5
5
 
6
6
 
7
7
  var _chunkPGRH5Q77cjs = require('./chunk-PGRH5Q77.cjs');
8
8
 
9
9
 
10
- var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
10
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
11
11
 
12
12
  // src/commands/about.ts
13
13
  var _child_process = require('child_process');
@@ -15,7 +15,7 @@ var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
15
15
  var _terminallink = require('terminal-link'); var _terminallink2 = _interopRequireDefault(_terminallink);
16
16
  function getGitCommit() {
17
17
  if (true) {
18
- return "054b704";
18
+ return "b38d518";
19
19
  }
20
20
  try {
21
21
  return _child_process.execSync.call(void 0, "git rev-parse --short HEAD", { encoding: "utf8", stdio: ["pipe", "pipe", "ignore"] }).trim();
@@ -25,7 +25,7 @@ function getGitCommit() {
25
25
  }
26
26
  function getVersionString() {
27
27
  const commit = getGitCommit();
28
- return commit !== "unknown" ? `${_chunk4XHHW7QXcjs.package_default.version} (${commit})` : _chunk4XHHW7QXcjs.package_default.version;
28
+ return commit !== "unknown" ? `${_chunkMETF3I6Wcjs.package_default.version} (${commit})` : _chunkMETF3I6Wcjs.package_default.version;
29
29
  }
30
30
  var ASCII_FRIEND = [
31
31
  "\u2880\u2874\u281B\u281B\u283B\u28F7\u2844\u2800\u28E0\u2876\u281F\u281B\u283B\u28F6\u2844\u2880\u28F4\u287E\u281B\u281B\u28BF\u28E6\u2800\u2880\u28F4\u281E\u281B\u281B\u2836\u2840",
@@ -53,8 +53,8 @@ async function about() {
53
53
  }
54
54
  console.log(_chalk2.default.gray(ASCII_FRIEND));
55
55
  console.log();
56
- console.log(accent(`${_chunkLOXOD4IScjs.t.call(void 0, "commands.about.title")} v${getVersionString()}`));
57
- console.log(muted(_chunkLOXOD4IScjs.t.call(void 0, "commands.about.subtitle")));
56
+ console.log(accent(`${_chunk2U5HFVROcjs.t.call(void 0, "commands.about.title")} v${getVersionString()}`));
57
+ console.log(muted(_chunk2U5HFVROcjs.t.call(void 0, "commands.about.subtitle")));
58
58
  console.log();
59
59
  const websiteUrl = "https://autohand.ai";
60
60
  const githubUrl = "https://github.com/autohandai/";
@@ -62,18 +62,18 @@ async function about() {
62
62
  const websiteLink = _terminallink2.default.call(void 0, _chalk2.default.cyan.underline("autohand.ai"), websiteUrl);
63
63
  const githubLink = _terminallink2.default.call(void 0, _chalk2.default.cyan.underline("github.com/autohandai/"), githubUrl);
64
64
  const docsLink = _terminallink2.default.call(void 0, _chalk2.default.cyan.underline("docs.autohand.ai"), docsUrl);
65
- console.log(`${text("\u{1F310}")} ${text(_chunkLOXOD4IScjs.t.call(void 0, "commands.about.website") + ":")} ${websiteLink}`);
66
- console.log(`${text("\u{1F4E6}")} ${text(_chunkLOXOD4IScjs.t.call(void 0, "commands.about.github") + ":")} ${githubLink}`);
67
- console.log(`${text("\u{1F4DA}")} ${text(_chunkLOXOD4IScjs.t.call(void 0, "commands.about.docs") + ":")} ${docsLink}`);
65
+ console.log(`${text("\u{1F310}")} ${text(_chunk2U5HFVROcjs.t.call(void 0, "commands.about.website") + ":")} ${websiteLink}`);
66
+ console.log(`${text("\u{1F4E6}")} ${text(_chunk2U5HFVROcjs.t.call(void 0, "commands.about.github") + ":")} ${githubLink}`);
67
+ console.log(`${text("\u{1F4DA}")} ${text(_chunk2U5HFVROcjs.t.call(void 0, "commands.about.docs") + ":")} ${docsLink}`);
68
68
  console.log();
69
- console.log(text(`\u{1F4A1} ${_chunkLOXOD4IScjs.t.call(void 0, "commands.about.contribute")}`));
70
- console.log(text(` \u2022 ${_chunkLOXOD4IScjs.t.call(void 0, "commands.about.feedback")}: ${accent("/feedback")}`));
71
- console.log(text(` \u2022 ${_chunkLOXOD4IScjs.t.call(void 0, "commands.about.submitPR")}: ${accent("gh pr create")}`));
69
+ console.log(text(`\u{1F4A1} ${_chunk2U5HFVROcjs.t.call(void 0, "commands.about.contribute")}`));
70
+ console.log(text(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.about.feedback")}: ${accent("/feedback")}`));
71
+ console.log(text(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.about.submitPR")}: ${accent("gh pr create")}`));
72
72
  const issuesUrl = "https://github.com/autohandai/code-cli/issues";
73
73
  const issuesLink = _terminallink2.default.call(void 0, _chalk2.default.cyan.underline("github.com/autohandai/code-cli/issues"), issuesUrl);
74
- console.log(text(` \u2022 ${_chunkLOXOD4IScjs.t.call(void 0, "commands.about.reportIssues")}: ${issuesLink}`));
74
+ console.log(text(` \u2022 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.about.reportIssues")}: ${issuesLink}`));
75
75
  console.log();
76
- console.log(muted(_chunkLOXOD4IScjs.t.call(void 0, "commands.about.pressKey")));
76
+ console.log(muted(_chunk2U5HFVROcjs.t.call(void 0, "commands.about.pressKey")));
77
77
  console.log();
78
78
  return null;
79
79
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-UET7BDX2.js";
3
+ } from "./chunk-NMWEDN4Z.js";
4
4
 
5
5
  // src/commands/init.ts
6
6
  async function init(ctx) {
@@ -1,9 +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 _chunkMNCWB5F7cjs = require('./chunk-MNCWB5F7.cjs');
3
+ var _chunkBRXIEKJ3cjs = require('./chunk-BRXIEKJ3.cjs');
4
4
 
5
5
 
6
- var _chunkLOXOD4IScjs = require('./chunk-LOXOD4IS.cjs');
6
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
7
7
 
8
8
  // src/commands/permissions.ts
9
9
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -12,9 +12,9 @@ async function permissions(ctx) {
12
12
  const blacklist = ctx.permissionManager.getBlacklist();
13
13
  const settings = ctx.permissionManager.getSettings();
14
14
  console.log();
15
- console.log(_chalk2.default.bold.cyan(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.title")));
15
+ console.log(_chalk2.default.bold.cyan(_chunk2U5HFVROcjs.t.call(void 0, "commands.permissions.title")));
16
16
  console.log(_chalk2.default.gray("\u2500".repeat(50)));
17
- console.log(_chalk2.default.gray(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.mode", { mode: settings.mode || "interactive" })));
17
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.permissions.mode", { mode: settings.mode || "interactive" })));
18
18
  console.log();
19
19
  if (whitelist.length === 0 && blacklist.length === 0) {
20
20
  console.log(_chalk2.default.gray("No saved permissions yet."));
@@ -24,7 +24,7 @@ async function permissions(ctx) {
24
24
  return null;
25
25
  }
26
26
  if (whitelist.length > 0) {
27
- console.log(_chalk2.default.bold.green(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.allowed")));
27
+ console.log(_chalk2.default.bold.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.permissions.allowed")));
28
28
  console.log();
29
29
  whitelist.forEach((pattern, index) => {
30
30
  console.log(_chalk2.default.green(` ${index + 1}. ${pattern}`));
@@ -32,7 +32,7 @@ async function permissions(ctx) {
32
32
  console.log();
33
33
  }
34
34
  if (blacklist.length > 0) {
35
- console.log(_chalk2.default.bold.red(_chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.denied")));
35
+ console.log(_chalk2.default.bold.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.permissions.denied")));
36
36
  console.log();
37
37
  blacklist.forEach((pattern, index) => {
38
38
  console.log(_chalk2.default.red(` ${index + 1}. ${pattern}`));
@@ -42,7 +42,7 @@ async function permissions(ctx) {
42
42
  console.log(_chalk2.default.gray("\u2500".repeat(50)));
43
43
  console.log(_chalk2.default.gray(`Total: ${whitelist.length} approved, ${blacklist.length} denied`));
44
44
  console.log();
45
- const actionResult = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
45
+ const actionResult = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
46
46
  type: "select",
47
47
  name: "action",
48
48
  message: "What would you like to do?",
@@ -58,7 +58,7 @@ async function permissions(ctx) {
58
58
  }
59
59
  const { action } = actionResult;
60
60
  if (action === "remove_approved" && whitelist.length > 0) {
61
- const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
61
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
62
62
  type: "select",
63
63
  name: "pattern",
64
64
  message: "Select item to remove from approved list:",
@@ -69,7 +69,7 @@ async function permissions(ctx) {
69
69
  console.log(_chalk2.default.yellow(`Removed "${result.pattern}" from approved list.`));
70
70
  }
71
71
  } else if (action === "remove_denied" && blacklist.length > 0) {
72
- const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
72
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
73
73
  type: "select",
74
74
  name: "pattern",
75
75
  message: "Select item to remove from denied list:",
@@ -80,7 +80,7 @@ async function permissions(ctx) {
80
80
  console.log(_chalk2.default.yellow(`Removed "${result.pattern}" from denied list.`));
81
81
  }
82
82
  } else if (action === "clear_all") {
83
- const result = await _chunkMNCWB5F7cjs.safePrompt.call(void 0, {
83
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
84
84
  type: "confirm",
85
85
  name: "confirm",
86
86
  message: "Clear all saved permissions? This cannot be undone.",
@@ -100,7 +100,7 @@ async function permissions(ctx) {
100
100
  }
101
101
  var metadata = {
102
102
  command: "/permissions",
103
- description: _chunkLOXOD4IScjs.t.call(void 0, "commands.permissions.description"),
103
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.permissions.description"),
104
104
  implemented: true
105
105
  };
106
106