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
@@ -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 _chunk7QLGK2XEcjs = require('./chunk-7QLGK2XE.cjs');
3
+ var _chunkBRXIEKJ3cjs = require('./chunk-BRXIEKJ3.cjs');
4
4
 
5
5
 
6
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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(_chunk4BVRSVS2cjs.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(_chunk4BVRSVS2cjs.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(_chunk4BVRSVS2cjs.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(_chunk4BVRSVS2cjs.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 _chunk7QLGK2XEcjs.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 _chunk7QLGK2XEcjs.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 _chunk7QLGK2XEcjs.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 _chunk7QLGK2XEcjs.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: _chunk4BVRSVS2cjs.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
 
@@ -0,0 +1,51 @@
1
+ import {
2
+ t
3
+ } from "./chunk-NMWEDN4Z.js";
4
+
5
+ // src/commands/help.ts
6
+ import chalk from "chalk";
7
+ import terminalLink from "terminal-link";
8
+ async function help() {
9
+ const { SLASH_COMMANDS } = await import("./slashCommands-C6CAQA25.js");
10
+ console.log(chalk.cyan(`
11
+ ${t("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(` ${chalk.yellow(command.padEnd(maxLen))} ${chalk.gray(description)}`);
17
+ }
18
+ console.log(chalk.cyan(`
19
+ ${t("commands.help.tips.title")}
20
+ `));
21
+ console.log(chalk.gray(` \u2022 ${t("commands.help.tips.mention")}`));
22
+ console.log(chalk.gray(` \u2022 ${t("commands.help.tips.arrows")}`));
23
+ console.log(chalk.gray(` \u2022 ${t("commands.help.tips.tab")}`));
24
+ console.log(chalk.gray(` \u2022 ${t("commands.help.tips.escape")}
25
+ `));
26
+ const docLink = terminalLink("docs.autohand.ai", "https://docs.autohand.ai");
27
+ console.log(chalk.gray(` ${t("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
+ export {
43
+ help,
44
+ metadata,
45
+ aliasMetadata
46
+ };
47
+ /**
48
+ * @license
49
+ * Copyright 2025 Autohand AI LLC
50
+ * SPDX-License-Identifier: Apache-2.0
51
+ */
@@ -7,7 +7,7 @@ var _chunk3S4DEIJPcjs = require('./chunk-3S4DEIJP.cjs');
7
7
  var _chunkTSY7JHIVcjs = require('./chunk-TSY7JHIV.cjs');
8
8
 
9
9
 
10
- var _chunk7QLGK2XEcjs = require('./chunk-7QLGK2XE.cjs');
10
+ var _chunkBRXIEKJ3cjs = require('./chunk-BRXIEKJ3.cjs');
11
11
 
12
12
 
13
13
  var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
@@ -16,13 +16,13 @@ var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
16
16
  var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
17
17
 
18
18
 
19
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
19
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
20
20
 
21
21
  // src/commands/login.ts
22
22
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
23
23
  var metadata = {
24
24
  command: "/login",
25
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.login.description"),
25
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.login.description"),
26
26
  implemented: true
27
27
  };
28
28
  async function openBrowser(url) {
@@ -56,14 +56,14 @@ function sleep(ms) {
56
56
  async function login(ctx) {
57
57
  const config = ctx.config;
58
58
  if (_optionalChain([config, 'optionalAccess', _ => _.auth, 'optionalAccess', _2 => _2.token]) && _optionalChain([config, 'optionalAccess', _3 => _3.auth, 'optionalAccess', _4 => _4.user])) {
59
- const result = await _chunk7QLGK2XEcjs.safePrompt.call(void 0, {
59
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
60
60
  type: "confirm",
61
61
  name: "continueLogin",
62
62
  message: `Already logged in as ${_chalk2.default.cyan(config.auth.user.email)}. Log in with a different account?`,
63
63
  initial: false
64
64
  });
65
65
  if (!result || !result.continueLogin) {
66
- console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.t.call(void 0, "commands.login.cancelled")));
66
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.login.cancelled")));
67
67
  return null;
68
68
  }
69
69
  }
@@ -71,7 +71,7 @@ async function login(ctx) {
71
71
  console.log(_chalk2.default.gray("Initiating authentication..."));
72
72
  const initResult = await authClient.initiateDeviceAuth();
73
73
  if (!initResult.success || !initResult.deviceCode || !initResult.userCode) {
74
- console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.login.failed", { error: initResult.error || "Unknown error" })));
74
+ console.log(_chalk2.default.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.login.failed", { error: initResult.error || "Unknown error" })));
75
75
  return null;
76
76
  }
77
77
  console.log();
@@ -115,7 +115,7 @@ async function login(ctx) {
115
115
  };
116
116
  await _chunkRJP3SZ7Qcjs.saveConfig.call(void 0, updatedConfig);
117
117
  console.log();
118
- console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.login.success", { email: pollResult.user.name || pollResult.user.email })));
118
+ console.log(_chalk2.default.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.login.success", { email: pollResult.user.name || pollResult.user.email })));
119
119
  console.log();
120
120
  await checkAndRestoreSyncData(pollResult.token, pollResult.user.id, updatedConfig);
121
121
  return null;
@@ -153,7 +153,7 @@ async function checkAndRestoreSyncData(token, userId, config) {
153
153
  console.log(_chalk2.default.cyan(`Found cloud sync data (${fileCount} files, ${sizeStr})`));
154
154
  console.log(_chalk2.default.gray("This includes your settings, agents, skills, and memory."));
155
155
  console.log();
156
- const result = await _chunk7QLGK2XEcjs.safePrompt.call(void 0, {
156
+ const result = await _chunkBRXIEKJ3cjs.safePrompt.call(void 0, {
157
157
  type: "confirm",
158
158
  name: "restore",
159
159
  message: "Would you like to restore your settings from the cloud?",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/model.ts
6
6
  async function model(ctx) {
@@ -9,7 +9,7 @@ async function model(ctx) {
9
9
  }
10
10
  var metadata = {
11
11
  command: "/model",
12
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.model.description"),
12
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.model.description"),
13
13
  implemented: true
14
14
  };
15
15
 
@@ -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/add-dir.ts
6
6
  import chalk2 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 _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
3
+ var _chunkXBUMKEFNcjs = require('./chunk-XBUMKEFN.cjs');
4
4
 
5
5
 
6
6
  var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
7
7
 
8
8
 
9
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
9
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
10
10
 
11
11
  // src/commands/resume.ts
12
12
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -14,7 +14,7 @@ var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsex
14
14
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
15
15
  var metadata = {
16
16
  command: "/resume",
17
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.description"),
17
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.resume.description"),
18
18
  implemented: true
19
19
  };
20
20
  async function getSessionTitle(sessionMeta) {
@@ -72,12 +72,12 @@ async function resume(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.sessions.noSessions")}`));
75
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.sessions.noSessions")}`));
76
76
  console.log(_chalk2.default.gray("Start a new conversation to create a session.\n"));
77
77
  return null;
78
78
  }
79
79
  console.log(_chalk2.default.cyan(`
80
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.sessions.selectPrompt")}
80
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.sessions.selectPrompt")}
81
81
  `));
82
82
  const choices = [];
83
83
  const recentSessions = allSessions.slice(0, 20);
@@ -97,7 +97,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.sessions.selectPrompt")}
97
97
  value: choice.name,
98
98
  description: choice.hint
99
99
  }));
100
- const result = await _chunkBOU24HF2cjs.showModal.call(void 0, {
100
+ const result = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
101
101
  title: "Choose a session",
102
102
  options
103
103
  });
@@ -111,7 +111,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.sessions.selectPrompt")}
111
111
  }
112
112
  return resumeSession(ctx.sessionManager, result.value);
113
113
  } catch (error) {
114
- console.error(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.failed", { error: error.message })));
114
+ console.error(_chalk2.default.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.resume.failed", { error: error.message })));
115
115
  return null;
116
116
  }
117
117
  }
@@ -122,7 +122,7 @@ async function resumeSession(sessionManager, sessionId) {
122
122
  const firstUserMessage = messages.find((m) => m.role === "user");
123
123
  const title = session.metadata.summary || _optionalChain([firstUserMessage, 'optionalAccess', _ => _.content, 'access', _2 => _2.slice, 'call', _3 => _3(0, 50)]) || "Untitled session";
124
124
  console.log(_chalk2.default.cyan(`
125
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.resuming", { id: title })}`));
125
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.resume.resuming", { id: title })}`));
126
126
  console.log(_chalk2.default.gray(` Project: ${session.metadata.projectPath}`));
127
127
  console.log(_chalk2.default.gray(` Started: ${new Date(session.metadata.createdAt).toLocaleString()}`));
128
128
  console.log(_chalk2.default.gray(` Messages: ${messages.length}`));
@@ -144,7 +144,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.resuming", { id: title })}`)
144
144
  console.log(_chalk2.default.green("Session resumed. Continue typing to chat.\n"));
145
145
  return null;
146
146
  } catch (error) {
147
- console.error(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.failed", { error: error.message })));
147
+ console.error(_chalk2.default.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.resume.failed", { error: error.message })));
148
148
  return null;
149
149
  }
150
150
  }
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-D2XFTCRP.js";
8
8
  import {
9
9
  safePrompt
10
- } from "./chunk-4YUFXZ36.js";
10
+ } from "./chunk-YHGTBPEC.js";
11
11
  import {
12
12
  saveConfig
13
13
  } from "./chunk-ZBIBLOZL.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-PWLLLJHU.js";
17
17
  import {
18
18
  t
19
- } from "./chunk-D7DIMN2J.js";
19
+ } from "./chunk-NMWEDN4Z.js";
20
20
 
21
21
  // src/commands/login.ts
22
22
  import chalk from "chalk";
@@ -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/undo.ts
6
6
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -29,13 +29,13 @@ async function undo(ctx) {
29
29
  console.log(_chalk2.default.green(" Removed untracked files"));
30
30
  }
31
31
  } else {
32
- console.log(_chalk2.default.gray(" " + _chunk4BVRSVS2cjs.t.call(void 0, "commands.undo.noChanges")));
32
+ console.log(_chalk2.default.gray(" " + _chunk2U5HFVROcjs.t.call(void 0, "commands.undo.noChanges")));
33
33
  }
34
34
  try {
35
35
  await ctx.undoFileMutation();
36
- console.log(_chalk2.default.green(" " + _chunk4BVRSVS2cjs.t.call(void 0, "commands.undo.success", { file: "last mutation" })));
36
+ console.log(_chalk2.default.green(" " + _chunk2U5HFVROcjs.t.call(void 0, "commands.undo.success", { file: "last mutation" })));
37
37
  } catch (e) {
38
- console.log(_chalk2.default.gray(" " + _chunk4BVRSVS2cjs.t.call(void 0, "commands.undo.noChanges")));
38
+ console.log(_chalk2.default.gray(" " + _chunk2U5HFVROcjs.t.call(void 0, "commands.undo.noChanges")));
39
39
  }
40
40
  ctx.removeLastTurn();
41
41
  console.log(_chalk2.default.green(" Removed last conversation turn"));
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
5
+ var _chunkXBUMKEFNcjs = require('./chunk-XBUMKEFN.cjs');
6
6
 
7
7
 
8
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
8
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
9
9
 
10
10
  // src/commands/export.ts
11
11
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -245,7 +245,7 @@ function getSuggestedFilename(metadata2, format) {
245
245
  // src/commands/export.ts
246
246
  var metadata = {
247
247
  command: "/export",
248
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.export.description"),
248
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.export.description"),
249
249
  implemented: true
250
250
  };
251
251
  async function execute(args, context) {
@@ -265,7 +265,7 @@ async function execute(args, context) {
265
265
  label: `${s.projectName} - ${new Date(s.createdAt).toLocaleString()} (${s.messageCount} messages)`,
266
266
  value: s.sessionId
267
267
  }));
268
- const sessionResult = await _chunkBOU24HF2cjs.showModal.call(void 0, {
268
+ const sessionResult = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
269
269
  title: "Select a session to export:",
270
270
  options: sessionOptions
271
271
  });
@@ -286,7 +286,7 @@ async function execute(args, context) {
286
286
  { label: "JSON (.json)", value: "json" },
287
287
  { label: "HTML (.html)", value: "html" }
288
288
  ];
289
- const formatResult = await _chunkBOU24HF2cjs.showModal.call(void 0, {
289
+ const formatResult = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
290
290
  title: "Export format:",
291
291
  options: formatOptions
292
292
  });
@@ -297,17 +297,17 @@ async function execute(args, context) {
297
297
  const format = formatResult.value;
298
298
  const options = {};
299
299
  if (format === "md" || format === "html") {
300
- options.includeToolOutputs = await _chunkBOU24HF2cjs.showConfirm.call(void 0, {
300
+ options.includeToolOutputs = await _chunkXBUMKEFNcjs.showConfirm.call(void 0, {
301
301
  title: "Include tool outputs?",
302
302
  defaultValue: true
303
303
  });
304
- options.includeToc = await _chunkBOU24HF2cjs.showConfirm.call(void 0, {
304
+ options.includeToc = await _chunkXBUMKEFNcjs.showConfirm.call(void 0, {
305
305
  title: "Include table of contents?",
306
306
  defaultValue: false
307
307
  });
308
308
  }
309
309
  const suggestedFilename = getSuggestedFilename(metadata2, format);
310
- const filename = await _chunkBOU24HF2cjs.showInput.call(void 0, {
310
+ const filename = await _chunkXBUMKEFNcjs.showInput.call(void 0, {
311
311
  title: "Save as:",
312
312
  defaultValue: suggestedFilename
313
313
  });
@@ -331,11 +331,11 @@ async function execute(args, context) {
331
331
  try {
332
332
  await saveExport(content, filePath);
333
333
  console.log();
334
- console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.export.success", { path: filePath })));
334
+ console.log(_chalk2.default.green(_chunk2U5HFVROcjs.t.call(void 0, "commands.export.success", { path: filePath })));
335
335
  console.log(_chalk2.default.gray(` ${messages.length} messages, ${(Buffer.byteLength(content, "utf8") / 1024).toFixed(1)} KB`));
336
336
  console.log();
337
337
  } catch (error) {
338
- console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.export.failed", { error: error.message })));
338
+ console.log(_chalk2.default.red(_chunk2U5HFVROcjs.t.call(void 0, "commands.export.failed", { error: error.message })));
339
339
  }
340
340
  }
341
341
 
@@ -10,10 +10,10 @@ var _chunkRJP3SZ7Qcjs = require('./chunk-RJP3SZ7Q.cjs');
10
10
  var _chunkPGRH5Q77cjs = require('./chunk-PGRH5Q77.cjs');
11
11
 
12
12
 
13
- var _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
13
+ var _chunkXBUMKEFNcjs = require('./chunk-XBUMKEFN.cjs');
14
14
 
15
15
 
16
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
16
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
17
17
 
18
18
  // src/commands/theme.ts
19
19
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -21,9 +21,9 @@ async function theme(ctx) {
21
21
  const themes = _chunkRJP3SZ7Qcjs.listAvailableThemes.call(void 0, );
22
22
  const currentTheme = _chunkPGRH5Q77cjs.isThemeInitialized.call(void 0, ) ? _chunkPGRH5Q77cjs.getTheme.call(void 0, ).name : _optionalChain([ctx, 'access', _ => _.config, 'access', _2 => _2.ui, 'optionalAccess', _3 => _3.theme]) || "dark";
23
23
  console.log(_chalk2.default.cyan(`
24
- \u{1F3A8} ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.title")}
24
+ \u{1F3A8} ${_chunk2U5HFVROcjs.t.call(void 0, "commands.theme.title")}
25
25
  `));
26
- console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.currentTheme", { theme: _chalk2.default.white(currentTheme) })));
26
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.theme.currentTheme", { theme: _chalk2.default.white(currentTheme) })));
27
27
  console.log(_chalk2.default.gray(`Custom themes location: ${_chunkRJP3SZ7Qcjs.CUSTOM_THEMES_DIR}
28
28
  `));
29
29
  const options = themes.map((name) => ({
@@ -31,8 +31,8 @@ async function theme(ctx) {
31
31
  value: name,
32
32
  description: name === "dark" ? "Default dark theme" : name === "light" ? "Light theme" : "Custom theme"
33
33
  }));
34
- const result = await _chunkBOU24HF2cjs.showModal.call(void 0, {
35
- title: _chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.selectPrompt"),
34
+ const result = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
35
+ title: _chunk2U5HFVROcjs.t.call(void 0, "commands.theme.selectPrompt"),
36
36
  options,
37
37
  initialIndex: themes.indexOf(currentTheme)
38
38
  });
@@ -43,14 +43,14 @@ async function theme(ctx) {
43
43
  const selected = result.value;
44
44
  if (selected === currentTheme) {
45
45
  console.log(_chalk2.default.gray(`
46
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.noChange")}`));
46
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.theme.noChange")}`));
47
47
  return null;
48
48
  }
49
49
  _chunkRJP3SZ7Qcjs.initTheme.call(void 0, selected);
50
50
  ctx.config.ui = { ...ctx.config.ui, theme: selected };
51
51
  await _chunkRJP3SZ7Qcjs.saveConfig.call(void 0, ctx.config);
52
52
  console.log(_chalk2.default.green(`
53
- \u2713 ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.changed", { theme: selected })}`));
53
+ \u2713 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.theme.changed", { theme: selected })}`));
54
54
  const newTheme = _chunkPGRH5Q77cjs.getTheme.call(void 0, );
55
55
  console.log("\nTheme preview:");
56
56
  console.log(` ${newTheme.fg("accent", "\u25CF accent")} ${newTheme.fg("success", "\u25CF success")} ${newTheme.fg("error", "\u25CF error")} ${newTheme.fg("warning", "\u25CF warning")}`);
@@ -84,7 +84,7 @@ async function themeInfo() {
84
84
  }
85
85
  var metadata = {
86
86
  command: "/theme",
87
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.theme.description"),
87
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.theme.description"),
88
88
  implemented: true
89
89
  };
90
90
 
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZBIBLOZL.js";
5
5
  import {
6
6
  t
7
- } from "./chunk-D7DIMN2J.js";
7
+ } from "./chunk-NMWEDN4Z.js";
8
8
 
9
9
  // src/commands/sync.ts
10
10
  import chalk from "chalk";
@@ -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 _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 _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
3
+ var _chunkXBUMKEFNcjs = require('./chunk-XBUMKEFN.cjs');
4
4
 
5
5
 
6
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
6
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
7
7
 
8
8
  // src/commands/ide.ts
9
9
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
@@ -398,24 +398,24 @@ function groupByIDE(detected) {
398
398
  }
399
399
  async function ide(ctx) {
400
400
  console.log(_chalk2.default.bold.cyan(`
401
- ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.title")}`));
402
- console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.connectDescription")));
401
+ ${_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.title")}`));
402
+ console.log(_chalk2.default.gray(_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.connectDescription")));
403
403
  console.log();
404
404
  const detected = await detectRunningIDEs(ctx.workspaceRoot);
405
405
  const { matching, nonMatching } = groupByIDE(detected);
406
406
  if (detected.length === 0) {
407
- console.log(_chalk2.default.yellow(_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.noIdesDetected")));
407
+ console.log(_chalk2.default.yellow(_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.noIdesDetected")));
408
408
  console.log();
409
409
  printExtensionSuggestions(detected);
410
410
  return null;
411
411
  }
412
412
  if (matching.length === 0) {
413
- console.log(_chalk2.default.yellow(_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.noMatchingIdes")));
413
+ console.log(_chalk2.default.yellow(_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.noMatchingIdes")));
414
414
  console.log();
415
415
  if (nonMatching.size > 0) {
416
416
  console.log(
417
417
  _chalk2.default.gray(
418
- _chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.otherNotMatching", { count: String(nonMatching.size) })
418
+ _chunk2U5HFVROcjs.t.call(void 0, "commands.ide.otherNotMatching", { count: String(nonMatching.size) })
419
419
  )
420
420
  );
421
421
  console.log();
@@ -426,21 +426,21 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.title")}`));
426
426
  }
427
427
  console.log(
428
428
  _chalk2.default.green(
429
- _chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.foundMatching", { count: String(matching.length) })
429
+ _chunk2U5HFVROcjs.t.call(void 0, "commands.ide.foundMatching", { count: String(matching.length) })
430
430
  )
431
431
  );
432
432
  console.log();
433
433
  const options = matching.map((ide2) => ({
434
- label: `${ide2.displayName}: ${_nullishCoalesce(ide2.workspacePath, () => ( _chunk4BVRSVS2cjs.t.call(void 0, "common.unknown")))}`,
434
+ label: `${ide2.displayName}: ${_nullishCoalesce(ide2.workspacePath, () => ( _chunk2U5HFVROcjs.t.call(void 0, "common.unknown")))}`,
435
435
  value: ide2.kind
436
436
  }));
437
- const result = await _chunkBOU24HF2cjs.showModal.call(void 0, {
438
- title: _chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.selectPrompt"),
437
+ const result = await _chunkXBUMKEFNcjs.showModal.call(void 0, {
438
+ title: _chunk2U5HFVROcjs.t.call(void 0, "commands.ide.selectPrompt"),
439
439
  options
440
440
  });
441
441
  if (!result) {
442
442
  console.log(_chalk2.default.gray(`
443
- ${_chunk4BVRSVS2cjs.t.call(void 0, "common.cancelled")}`));
443
+ ${_chunk2U5HFVROcjs.t.call(void 0, "common.cancelled")}`));
444
444
  return null;
445
445
  }
446
446
  const selected = matching.find((d) => d.kind === result.value);
@@ -448,7 +448,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "common.cancelled")}`));
448
448
  console.log(
449
449
  _chalk2.default.green(
450
450
  `
451
- \u2713 ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.connected", { ide: selected.displayName })}`
451
+ \u2713 ${_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.connected", { ide: selected.displayName })}`
452
452
  )
453
453
  );
454
454
  }
@@ -456,7 +456,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "common.cancelled")}`));
456
456
  console.log();
457
457
  console.log(
458
458
  _chalk2.default.gray(
459
- _chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.otherNotMatching", { count: String(nonMatching.size) })
459
+ _chunk2U5HFVROcjs.t.call(void 0, "commands.ide.otherNotMatching", { count: String(nonMatching.size) })
460
460
  )
461
461
  );
462
462
  console.log();
@@ -467,7 +467,7 @@ ${_chunk4BVRSVS2cjs.t.call(void 0, "common.cancelled")}`));
467
467
  }
468
468
  function printNonMatchingIDEs(ides) {
469
469
  for (const ide2 of ides) {
470
- const wsPath = _nullishCoalesce(ide2.workspacePath, () => ( _chunk4BVRSVS2cjs.t.call(void 0, "common.unknown")));
470
+ const wsPath = _nullishCoalesce(ide2.workspacePath, () => ( _chunk2U5HFVROcjs.t.call(void 0, "common.unknown")));
471
471
  console.log(_chalk2.default.gray(` \u2022 ${ide2.displayName}: ${wsPath}`));
472
472
  }
473
473
  console.log();
@@ -475,7 +475,7 @@ function printNonMatchingIDEs(ides) {
475
475
  function printExtensionSuggestions(detected) {
476
476
  const suggestions = getExtensionSuggestions(detected);
477
477
  if (suggestions.length === 0) return;
478
- console.log(_chalk2.default.dim(`\u{1F4A1} ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.extensionHint")}`));
478
+ console.log(_chalk2.default.dim(`\u{1F4A1} ${_chunk2U5HFVROcjs.t.call(void 0, "commands.ide.extensionHint")}`));
479
479
  for (const suggestion of suggestions) {
480
480
  const link = _terminallink2.default.call(void 0, suggestion.url, suggestion.url);
481
481
  console.log(_chalk2.default.dim(` \u2022 ${suggestion.displayName}: ${link}`));
@@ -484,7 +484,7 @@ function printExtensionSuggestions(detected) {
484
484
  }
485
485
  var metadata = {
486
486
  command: "/ide",
487
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.ide.description"),
487
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.ide.description"),
488
488
  implemented: true
489
489
  };
490
490
 
@@ -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/model.ts
6
6
  async function model(ctx) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  showModal
3
- } from "./chunk-UWJCELGB.js";
3
+ } from "./chunk-3KBBARKO.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-D7DIMN2J.js";
6
+ } from "./chunk-NMWEDN4Z.js";
7
7
 
8
8
  // src/commands/ide.ts
9
9
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
3
+ var _chunk2U5HFVROcjs = require('./chunk-2U5HFVRO.cjs');
4
4
 
5
5
  // src/commands/quit.ts
6
6
  async function quit() {
@@ -8,7 +8,7 @@ async function quit() {
8
8
  }
9
9
  var metadata = {
10
10
  command: "/quit",
11
- description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.quit.description"),
11
+ description: _chunk2U5HFVROcjs.t.call(void 0, "commands.quit.description"),
12
12
  implemented: true
13
13
  };
14
14