autohand-cli 0.7.10 → 0.7.12
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.
- package/dist/about-7VIDF3B7.cjs +11 -0
- package/dist/{about-VDR3SIHS.js → about-YO7NGBX6.js} +3 -3
- package/dist/add-dir-7QE2YJ7H.cjs +9 -0
- package/dist/{add-dir-RP2BL3JW.js → add-dir-UBYMJTDI.js} +2 -2
- package/dist/{agents-JQ2PHCQB.js → agents-5MAHZPHB.js} +2 -2
- package/dist/agents-UDXO2SOD.cjs +10 -0
- package/dist/agents-new-I72C5JID.js +13 -0
- package/dist/agents-new-VPAU4JNV.cjs +13 -0
- package/dist/{automode-XOF3U3OB.js → automode-6IYDTXMU.js} +2 -2
- package/dist/automode-VVP2XR6T.cjs +9 -0
- package/dist/{chunk-PA2H2263.cjs → chunk-25K6ONCQ.cjs} +2 -2
- package/dist/{chunk-7QNW24ZT.js → chunk-2VVKAYOY.js} +2 -2
- package/dist/{chunk-E7YL3AHT.js → chunk-2XPQS4OZ.js} +2 -2
- package/dist/{chunk-ATR3RORT.js → chunk-2ZV5EMF2.js} +2 -2
- package/dist/{chunk-QM7HZCQW.cjs → chunk-3CNRH36G.cjs} +4 -4
- package/dist/{chunk-LOXOD4IS.cjs → chunk-4BVRSVS2.cjs} +6 -2
- package/dist/{chunk-R7SDL3DJ.cjs → chunk-4V2FH5QE.cjs} +14 -14
- package/dist/{chunk-WD5ZF6HE.js → chunk-4YUFXZ36.js} +1 -1
- package/dist/{chunk-ANUQFV43.cjs → chunk-5E2XJK3O.cjs} +4 -4
- package/dist/{chunk-PYLR4J2D.js → chunk-5LJ6R7VO.js} +1 -1
- package/dist/{chunk-WJ276BIP.js → chunk-6M3J6LR3.js} +1 -1
- package/dist/{chunk-NRORJRD4.cjs → chunk-73EJJCTX.cjs} +2 -2
- package/dist/{chunk-MNCWB5F7.cjs → chunk-7QLGK2XE.cjs} +5 -5
- package/dist/{chunk-GLAE5K5W.js → chunk-A3G2BNQN.js} +1 -1
- package/dist/{chunk-5FZM7KLB.cjs → chunk-ALU2PTZB.cjs} +11 -11
- package/dist/{chunk-S5G7OEN2.cjs → chunk-BGKEM66R.cjs} +9 -9
- package/dist/{chunk-QC6IUDDJ.js → chunk-BKWJQUGG.js} +1 -1
- package/dist/{chunk-QRQ5EX7I.cjs → chunk-BOU24HF2.cjs} +6 -6
- package/dist/{chunk-C5SVIQG3.js → chunk-C4KK7YQM.js} +1 -1
- package/dist/{chunk-U23U52ZN.cjs → chunk-CNDQ3TW6.cjs} +6 -6
- package/dist/{chunk-WYLFLZ42.js → chunk-D445SWSH.js} +3 -3
- package/dist/{chunk-UET7BDX2.js → chunk-D7DIMN2J.js} +6 -2
- package/dist/{chunk-F3EIOVSQ.js → chunk-D7NR5BGM.js} +3 -3
- package/dist/{chunk-Y27LG4BQ.cjs → chunk-EFBQFSY6.cjs} +5 -5
- package/dist/{chunk-6P3K4YUW.js → chunk-ESU7N6NJ.js} +1 -1
- package/dist/{chunk-IPI3JXKP.js → chunk-FO3UXH53.js} +2 -2
- package/dist/chunk-FONQG5OC.cjs +209 -0
- package/dist/{chunk-DMPVI3YK.cjs → chunk-G6YDQTR2.cjs} +9 -9
- package/dist/{chunk-3DQSBW4B.cjs → chunk-GRFEUDX5.cjs} +6 -6
- package/dist/{chunk-BDIZGBDA.cjs → chunk-GV3JV6GI.cjs} +4 -4
- package/dist/{chunk-34OGUMRO.cjs → chunk-H2MWZF6E.cjs} +5 -5
- package/dist/{chunk-NF7RIHJK.js → chunk-HTRSDNPI.js} +1 -1
- package/dist/{chunk-WRJLBHWB.js → chunk-HZXG63KE.js} +1 -1
- package/dist/{chunk-AEYOIPHD.cjs → chunk-IN74JKZ2.cjs} +2 -2
- package/dist/{chunk-YVY27BJT.js → chunk-IO2BKMPU.js} +2 -2
- package/dist/{chunk-OKABWSWA.cjs → chunk-JEWRDSNA.cjs} +3 -3
- package/dist/{chunk-EAOEAQGF.cjs → chunk-KEAWYW5Y.cjs} +9 -9
- package/dist/{chunk-SA4JOV4F.cjs → chunk-LEXRXG3R.cjs} +3 -3
- package/dist/{chunk-OMEH2EVE.js → chunk-LWG6LJHL.js} +1 -1
- package/dist/{chunk-5Q3W4DEU.js → chunk-MKNKMPLY.js} +2 -2
- package/dist/{chunk-YMDLUTF2.js → chunk-MNTAIFXA.js} +1 -1
- package/dist/{chunk-WH5RW7DV.cjs → chunk-MVCB7ZQE.cjs} +21 -21
- package/dist/{chunk-46WX5IO2.cjs → chunk-NRDP3C3B.cjs} +17 -17
- package/dist/{chunk-BODVOW7B.js → chunk-PCM3OSSV.js} +2 -2
- package/dist/{chunk-C2E3GJEE.cjs → chunk-PDWOUNO7.cjs} +6 -6
- package/dist/{chunk-QU64XI5X.js → chunk-QBRO3XMP.js} +2 -2
- package/dist/{chunk-PSED4Z4X.cjs → chunk-R43FOIQH.cjs} +10 -10
- package/dist/{chunk-5BQ57AZC.cjs → chunk-R6MSNNMX.cjs} +7 -7
- package/dist/{chunk-5NZA4UB4.cjs → chunk-RONDHULN.cjs} +3 -3
- package/dist/{chunk-XLI7SHCH.js → chunk-RPE3TUKR.js} +1 -1
- package/dist/{chunk-NGBN2NGH.cjs → chunk-RSRVPJQC.cjs} +8 -8
- package/dist/{chunk-65GTO4QM.cjs → chunk-RXOLZ3BF.cjs} +3 -3
- package/dist/{chunk-B72CC4O6.js → chunk-SIQC4V4N.js} +1 -1
- package/dist/{chunk-3UNX56GC.cjs → chunk-SJLUPGYS.cjs} +12 -12
- package/dist/{chunk-BZ73ZQTE.cjs → chunk-TVFQ3N5M.cjs} +9 -9
- package/dist/{chunk-4ULBAYME.js → chunk-TXK5P6FF.js} +2 -2
- package/dist/{chunk-DUDDZRCS.cjs → chunk-TYTHI5MC.cjs} +5 -5
- package/dist/{chunk-3652ROFD.js → chunk-U2HNW3BE.js} +1 -1
- package/dist/{chunk-Y6OWFIUF.js → chunk-U5DIIPRG.js} +32 -32
- package/dist/{chunk-HDSEJMWI.cjs → chunk-U6HBUXUW.cjs} +2 -2
- package/dist/{chunk-RJXNNIFW.js → chunk-UK47BNOH.js} +2 -2
- package/dist/{chunk-PNSRJT46.js → chunk-UWJCELGB.js} +1 -1
- package/dist/{chunk-SAG6IY5Z.cjs → chunk-UY7S6R4Y.cjs} +14 -14
- package/dist/{chunk-HVOBMOZ2.cjs → chunk-VIGSERLH.cjs} +2 -2
- package/dist/{chunk-CUBYCLNL.js → chunk-VMCBJ73M.js} +9 -9
- package/dist/{chunk-C22G4UE4.cjs → chunk-VR35C7QS.cjs} +11 -11
- package/dist/{chunk-HQQ4NKER.js → chunk-VZZROEUZ.js} +1 -1
- package/dist/{chunk-YKSSNFDZ.js → chunk-WDB4H2K3.js} +2 -2
- package/dist/{chunk-HLFZPN65.js → chunk-XCQ6CVQV.js} +3 -3
- package/dist/{chunk-IXFOH4OC.cjs → chunk-XE7T6YJV.cjs} +9 -9
- package/dist/{chunk-PM62ZYXA.js → chunk-XIRRRQQC.js} +2 -2
- package/dist/{chunk-73XIKTZL.js → chunk-XW4QQW5E.js} +1 -1
- package/dist/{chunk-BBIKQW66.js → chunk-YWRSRYIR.js} +1 -1
- package/dist/{chunk-UM4QEO36.js → chunk-ZV5TZBBS.js} +1 -1
- package/dist/completion-2OFOKRBS.js +13 -0
- package/dist/completion-KFMUWCMT.cjs +13 -0
- package/dist/export-OTVX3ZPY.js +11 -0
- package/dist/export-X3PO3CLZ.cjs +11 -0
- package/dist/feedback-CTF5YWG5.js +14 -0
- package/dist/feedback-O3644S7L.cjs +14 -0
- package/dist/help-EHLYG6BD.js +58 -0
- package/dist/help-JHVMHO7M.cjs +58 -0
- package/dist/{history-RZFT34Q7.js → history-7LZTGEJM.js} +2 -2
- package/dist/history-DCWHRTO5.cjs +13 -0
- package/dist/hooks-DIKRBMGT.js +12 -0
- package/dist/hooks-UE4W6JED.cjs +12 -0
- package/dist/i18n-5ANEIZNF.cjs +32 -0
- package/dist/{i18n-6NKENUIV.js → i18n-MB4NNCVM.js} +1 -1
- package/dist/ide-ELI5WKC5.cjs +11 -0
- package/dist/ide-IGOTWN43.js +11 -0
- package/dist/index.cjs +166 -166
- package/dist/index.js +84 -84
- package/dist/init-5IESXIGG.cjs +9 -0
- package/dist/init-VPDGIJKT.js +9 -0
- package/dist/{language-FXFDGOBF.js → language-JKJIQBKY.js} +4 -4
- package/dist/language-NN6KLKZ4.cjs +16 -0
- package/dist/{login-I65V4TGU.cjs → login-HZMQBI4Z.cjs} +6 -6
- package/dist/{login-AN42IOBK.js → login-QEZ5UF3J.js} +5 -5
- package/dist/logout-FKYZ5Z2L.cjs +16 -0
- package/dist/{logout-KK5UWGNG.js → logout-VSS7BRVP.js} +5 -5
- package/dist/{mcp-4SKTDECJ.js → mcp-5WFAF24K.js} +3 -3
- package/dist/mcp-F7MAPBDQ.cjs +15 -0
- package/dist/{mcp-install-KTV52DQK.js → mcp-install-2G7ZLMLV.js} +4 -4
- package/dist/{mcp-install-3NN2HAYR.cjs → mcp-install-X5T4BC7H.cjs} +7 -7
- package/dist/{memory-LRDK2SYC.js → memory-IVMJ2BNL.js} +2 -2
- package/dist/memory-YD5Y6RJG.cjs +9 -0
- package/dist/model-2IBHIA4J.cjs +9 -0
- package/dist/{model-WBFJIGUN.js → model-FOWUUVAH.js} +2 -2
- package/dist/{new-5A7RQEKI.js → new-ISJVB4VD.js} +2 -2
- package/dist/new-UC5O66BW.cjs +9 -0
- package/dist/permissions-V2BSHU5V.js +12 -0
- package/dist/permissions-WDZMVJAZ.cjs +12 -0
- package/dist/quit-47THY4BD.cjs +9 -0
- package/dist/quit-FCYYB2AN.js +9 -0
- package/dist/resume-4ED5MHL3.cjs +12 -0
- package/dist/resume-J64OIPHB.js +12 -0
- package/dist/search-RIGXYKSK.cjs +14 -0
- package/dist/{search-GOLIE5BA.js → search-XPU6AIXA.js} +4 -4
- package/dist/sessions-7P5DWTIT.cjs +9 -0
- package/dist/{sessions-B5NENDKY.js → sessions-VLDM5PF4.js} +2 -2
- package/dist/share-DR2FDJLT.cjs +13 -0
- package/dist/share-JEF3735D.js +13 -0
- package/dist/skills-B7AKVGOU.cjs +13 -0
- package/dist/{skills-ICEQ2TNC.js → skills-YLFZTOEQ.js} +2 -2
- package/dist/{skills-install-LU6GA2WF.cjs → skills-install-IFUCRLZK.cjs} +7 -7
- package/dist/{skills-install-6RN7FVCP.js → skills-install-OA45O5ZK.js} +4 -4
- package/dist/skills-new-3G7YDTLP.js +14 -0
- package/dist/skills-new-Q5QWAI4L.cjs +14 -0
- package/dist/status-F2NCXE34.js +10 -0
- package/dist/status-Y6SL5ZLZ.cjs +10 -0
- package/dist/{sync-LL6M67CN.js → sync-3M3C3T6D.js} +2 -2
- package/dist/sync-LJNEHT7Y.cjs +16 -0
- package/dist/{theme-U3SKEULY.js → theme-7XFCNDB4.js} +4 -4
- package/dist/theme-MKTWPNTN.cjs +16 -0
- package/dist/ui/questionModal.cjs +4 -4
- package/dist/ui/questionModal.js +3 -3
- package/dist/undo-NKBO3KWB.js +9 -0
- package/dist/undo-T3KL6SKD.cjs +9 -0
- package/package.json +9 -9
- package/dist/about-RGUM5QQ4.cjs +0 -11
- package/dist/add-dir-3BMVJ5H3.cjs +0 -9
- package/dist/agents-RGSZ2BM3.cjs +0 -10
- package/dist/agents-new-LSJN2L2T.cjs +0 -13
- package/dist/agents-new-MZUEVKSK.js +0 -13
- package/dist/automode-DP3BMYJB.cjs +0 -9
- package/dist/chunk-LGGZQTLM.cjs +0 -209
- package/dist/completion-HVSWU5GR.cjs +0 -13
- package/dist/completion-WJ2MVNDH.js +0 -13
- package/dist/export-NN7F5ANA.js +0 -11
- package/dist/export-UPS3AK2P.cjs +0 -11
- package/dist/feedback-ARI7CLVQ.js +0 -14
- package/dist/feedback-OZTPYHKJ.cjs +0 -14
- package/dist/help-4674IV4D.cjs +0 -58
- package/dist/help-ENG5KV2M.js +0 -58
- package/dist/history-2KUM6GN4.cjs +0 -13
- package/dist/hooks-7QSUBHBM.cjs +0 -12
- package/dist/hooks-S4MD4QSR.js +0 -12
- package/dist/i18n-MXQXQOVE.cjs +0 -32
- package/dist/ide-5STDV43A.cjs +0 -11
- package/dist/ide-W2NYXOWQ.js +0 -11
- package/dist/init-FG5KEJCZ.cjs +0 -9
- package/dist/init-TV4MJDYK.js +0 -9
- package/dist/language-52Q7CSAY.cjs +0 -16
- package/dist/logout-VYYNWBHZ.cjs +0 -16
- package/dist/mcp-AGWPTMAX.cjs +0 -15
- package/dist/memory-LG4K6XV6.cjs +0 -9
- package/dist/model-P5D7ATE7.cjs +0 -9
- package/dist/new-EAATWI2G.cjs +0 -9
- package/dist/permissions-5URK6C44.js +0 -12
- package/dist/permissions-CJUDVG63.cjs +0 -12
- package/dist/quit-A33JHDG7.cjs +0 -9
- package/dist/quit-IYBLN3DB.js +0 -9
- package/dist/resume-OPSJTCH7.cjs +0 -12
- package/dist/resume-TOWEEN5D.js +0 -12
- package/dist/search-H42HGUK5.cjs +0 -14
- package/dist/sessions-YHAVEMWY.cjs +0 -9
- package/dist/share-2JD2AKKX.cjs +0 -13
- package/dist/share-MYGDOTQE.js +0 -13
- package/dist/skills-LFVNZOMF.cjs +0 -13
- package/dist/skills-new-5BM5PDFX.cjs +0 -14
- package/dist/skills-new-KWBWOX74.js +0 -14
- package/dist/status-M3XHJELG.cjs +0 -10
- package/dist/status-ZQDUYMKQ.js +0 -10
- package/dist/sync-73D2MP65.cjs +0 -16
- package/dist/theme-IFEI2IBJ.cjs +0 -16
- package/dist/undo-4DS67OAW.cjs +0 -9
- package/dist/undo-YMALVAPN.js +0 -9
|
@@ -7,7 +7,7 @@ var _chunk3S4DEIJPcjs = require('./chunk-3S4DEIJP.cjs');
|
|
|
7
7
|
var _chunkTSY7JHIVcjs = require('./chunk-TSY7JHIV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7QLGK2XEcjs = require('./chunk-7QLGK2XE.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
|
|
19
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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:
|
|
25
|
+
description: _chunk4BVRSVS2cjs.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
|
|
59
|
+
const result = await _chunk7QLGK2XEcjs.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(
|
|
66
|
+
console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.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(
|
|
74
|
+
console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.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(
|
|
118
|
+
console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.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
|
|
156
|
+
const result = await _chunk7QLGK2XEcjs.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,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
|
|
3
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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:
|
|
9
|
+
description: _chunk4BVRSVS2cjs.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(
|
|
19
|
+
console.log(_chalk2.default.gray(_chunk4BVRSVS2cjs.t.call(void 0, "commands.sessions.noSessions")));
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
22
|
console.log(_chalk2.default.cyan(`
|
|
@@ -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
|
|
3
|
+
var _chunkKEAWYW5Ycjs = require('./chunk-KEAWYW5Y.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
|
|
14
14
|
|
|
15
15
|
// src/commands/share.ts
|
|
16
16
|
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
@@ -179,7 +179,7 @@ function serializeSession(session, options) {
|
|
|
179
179
|
const toolUsage = extractToolUsage(messages);
|
|
180
180
|
const gitDiff = options.gitDiff ? parseGitDiff(options.gitDiff) : void 0;
|
|
181
181
|
const client = {
|
|
182
|
-
cliVersion:
|
|
182
|
+
cliVersion: _chunkKEAWYW5Ycjs.package_default.version,
|
|
183
183
|
platform: process.platform,
|
|
184
184
|
deviceId: options.deviceId
|
|
185
185
|
};
|
|
@@ -215,7 +215,7 @@ var DEFAULT_CONFIG = {
|
|
|
215
215
|
// 30s for large payloads
|
|
216
216
|
maxRetries: 3,
|
|
217
217
|
offlineQueue: true,
|
|
218
|
-
cliVersion:
|
|
218
|
+
cliVersion: _chunkKEAWYW5Ycjs.package_default.version
|
|
219
219
|
};
|
|
220
220
|
var ShareApiClient = class {
|
|
221
221
|
constructor(configOverrides) {
|
|
@@ -454,7 +454,7 @@ function terminalLink(url, text) {
|
|
|
454
454
|
}
|
|
455
455
|
var metadata = {
|
|
456
456
|
command: "/share",
|
|
457
|
-
description:
|
|
457
|
+
description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.share.description"),
|
|
458
458
|
implemented: true
|
|
459
459
|
};
|
|
460
460
|
async function execute(_args, context) {
|
|
@@ -498,7 +498,7 @@ async function execute(_args, context) {
|
|
|
498
498
|
{ label: "Public - Anyone with the link can view", value: "public" },
|
|
499
499
|
{ label: "Private - Requires one-time passcode", value: "private" }
|
|
500
500
|
];
|
|
501
|
-
const visibilityResult = await
|
|
501
|
+
const visibilityResult = await _chunkBOU24HF2cjs.showModal.call(void 0, {
|
|
502
502
|
title: "Share visibility:",
|
|
503
503
|
options: visibilityOptions
|
|
504
504
|
});
|
|
@@ -507,7 +507,7 @@ async function execute(_args, context) {
|
|
|
507
507
|
return;
|
|
508
508
|
}
|
|
509
509
|
const visibility = visibilityResult.value;
|
|
510
|
-
const confirmed = await
|
|
510
|
+
const confirmed = await _chunkBOU24HF2cjs.showConfirm.call(void 0, {
|
|
511
511
|
title: `Share this session as ${visibility}?`,
|
|
512
512
|
defaultValue: true
|
|
513
513
|
});
|
|
@@ -516,7 +516,7 @@ async function execute(_args, context) {
|
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
518
|
console.log();
|
|
519
|
-
const spinner = _ora2.default.call(void 0,
|
|
519
|
+
const spinner = _ora2.default.call(void 0, _chunk4BVRSVS2cjs.t.call(void 0, "commands.share.generating")).start();
|
|
520
520
|
try {
|
|
521
521
|
const payload = serializeSession(session, {
|
|
522
522
|
model: context.model,
|
|
@@ -529,7 +529,7 @@ async function execute(_args, context) {
|
|
|
529
529
|
spinner.stop();
|
|
530
530
|
if (response.success && response.url) {
|
|
531
531
|
console.log();
|
|
532
|
-
console.log(_chalk2.default.green.bold(
|
|
532
|
+
console.log(_chalk2.default.green.bold(_chunk4BVRSVS2cjs.t.call(void 0, "commands.share.success", { url: terminalLink(response.url) })));
|
|
533
533
|
if (visibility === "private" && response.passcode) {
|
|
534
534
|
console.log();
|
|
535
535
|
console.log(`${_chalk2.default.bold("Passcode:")} ${_chalk2.default.yellow.bold(response.passcode)}`);
|
|
@@ -543,14 +543,14 @@ async function execute(_args, context) {
|
|
|
543
543
|
} else {
|
|
544
544
|
console.log();
|
|
545
545
|
console.log(
|
|
546
|
-
_chalk2.default.red(
|
|
546
|
+
_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.share.failed", { error: response.error || "Unknown error" }))
|
|
547
547
|
);
|
|
548
548
|
console.log();
|
|
549
549
|
}
|
|
550
550
|
} catch (error) {
|
|
551
551
|
spinner.stop();
|
|
552
552
|
console.log();
|
|
553
|
-
console.log(_chalk2.default.red(
|
|
553
|
+
console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.share.failed", { error: error.message })));
|
|
554
554
|
console.log();
|
|
555
555
|
}
|
|
556
556
|
}
|
|
@@ -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
|
|
3
|
+
var _chunkBOU24HF2cjs = require('./chunk-BOU24HF2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkGIZL57FEcjs = require('./chunk-GIZL57FE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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:
|
|
17
|
+
description: _chunk4BVRSVS2cjs.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
|
-
${
|
|
75
|
+
${_chunk4BVRSVS2cjs.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
|
-
${
|
|
80
|
+
${_chunk4BVRSVS2cjs.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 @@ ${_chunkLOXOD4IScjs.t.call(void 0, "commands.sessions.selectPrompt")}
|
|
|
97
97
|
value: choice.name,
|
|
98
98
|
description: choice.hint
|
|
99
99
|
}));
|
|
100
|
-
const result = await
|
|
100
|
+
const result = await _chunkBOU24HF2cjs.showModal.call(void 0, {
|
|
101
101
|
title: "Choose a session",
|
|
102
102
|
options
|
|
103
103
|
});
|
|
@@ -111,7 +111,7 @@ ${_chunkLOXOD4IScjs.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(
|
|
114
|
+
console.error(_chalk2.default.red(_chunk4BVRSVS2cjs.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
|
-
${
|
|
125
|
+
${_chunk4BVRSVS2cjs.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 @@ ${_chunkLOXOD4IScjs.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(
|
|
147
|
+
console.error(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.resume.failed", { error: error.message })));
|
|
148
148
|
return null;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -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
|
|
3
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commands/add-dir.ts
|
|
6
6
|
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
@@ -286,7 +286,7 @@ async function addDir(ctx, args) {
|
|
|
286
286
|
}
|
|
287
287
|
const resolvedPath = _path2.default.resolve(dirPath);
|
|
288
288
|
if (!await _fsextra2.default.pathExists(resolvedPath)) {
|
|
289
|
-
console.log(_chalk2.default.red(
|
|
289
|
+
console.log(_chalk2.default.red(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.notFound", { path: dirPath })));
|
|
290
290
|
return null;
|
|
291
291
|
}
|
|
292
292
|
const stats = await _fsextra2.default.stat(resolvedPath);
|
|
@@ -305,17 +305,17 @@ async function addDir(ctx, args) {
|
|
|
305
305
|
return null;
|
|
306
306
|
}
|
|
307
307
|
if (ctx.additionalDirs.includes(resolvedPath)) {
|
|
308
|
-
console.log(_chalk2.default.yellow(
|
|
308
|
+
console.log(_chalk2.default.yellow(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.alreadyAdded", { path: resolvedPath })));
|
|
309
309
|
return null;
|
|
310
310
|
}
|
|
311
311
|
ctx.addAdditionalDir(resolvedPath);
|
|
312
|
-
console.log(_chalk2.default.green(
|
|
312
|
+
console.log(_chalk2.default.green(_chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.added", { path: resolvedPath })));
|
|
313
313
|
console.log(_chalk2.default.gray("You can now read, write, and modify files in this directory."));
|
|
314
314
|
return null;
|
|
315
315
|
}
|
|
316
316
|
var metadata = {
|
|
317
317
|
command: "/add-dir",
|
|
318
|
-
description:
|
|
318
|
+
description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.addDir.description"),
|
|
319
319
|
implemented: true
|
|
320
320
|
};
|
|
321
321
|
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata as metadata31
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5LJ6R7VO.js";
|
|
4
4
|
import {
|
|
5
5
|
metadata as metadata32
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IO2BKMPU.js";
|
|
7
7
|
import {
|
|
8
8
|
metadata as metadata33
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XCQ6CVQV.js";
|
|
10
10
|
import {
|
|
11
11
|
metadata as metadata34
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2ZV5EMF2.js";
|
|
13
13
|
import {
|
|
14
14
|
metadata as metadata35
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XW4QQW5E.js";
|
|
16
16
|
import {
|
|
17
17
|
installMetadata as installMetadata2,
|
|
18
18
|
metadata as metadata36
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WDB4H2K3.js";
|
|
20
20
|
import {
|
|
21
21
|
installMetadata,
|
|
22
22
|
metadata as metadata25,
|
|
23
23
|
useMetadata
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2VVKAYOY.js";
|
|
25
25
|
import {
|
|
26
26
|
metadata as metadata26
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SIQC4V4N.js";
|
|
28
28
|
import {
|
|
29
29
|
metadata as metadata27
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MKNKMPLY.js";
|
|
31
31
|
import {
|
|
32
32
|
metadata as metadata28
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ESU7N6NJ.js";
|
|
34
34
|
import {
|
|
35
35
|
metadata as metadata29
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-D7NR5BGM.js";
|
|
37
37
|
import {
|
|
38
38
|
metadata as metadata30
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZV5TZBBS.js";
|
|
40
40
|
import {
|
|
41
41
|
metadata as metadata20
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XIRRRQQC.js";
|
|
43
43
|
import {
|
|
44
44
|
metadata as metadata21
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PCM3OSSV.js";
|
|
46
46
|
import {
|
|
47
47
|
metadata as metadata22
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FO3UXH53.js";
|
|
49
49
|
import {
|
|
50
50
|
metadata as metadata23
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-QBRO3XMP.js";
|
|
52
52
|
import {
|
|
53
53
|
metadata as metadata24
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UK47BNOH.js";
|
|
55
55
|
import {
|
|
56
56
|
metadata as metadata12
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RPE3TUKR.js";
|
|
58
58
|
import {
|
|
59
59
|
metadata as metadata13
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-A3G2BNQN.js";
|
|
61
61
|
import {
|
|
62
62
|
metadata as metadata14
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VZZROEUZ.js";
|
|
64
64
|
import {
|
|
65
65
|
metadata as metadata15
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YWRSRYIR.js";
|
|
67
67
|
import {
|
|
68
68
|
metadata as metadata16
|
|
69
69
|
} from "./chunk-XDVG3NM4.js";
|
|
@@ -72,46 +72,46 @@ import {
|
|
|
72
72
|
} from "./chunk-2NUX2RAI.js";
|
|
73
73
|
import {
|
|
74
74
|
metadata as metadata18
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BKWJQUGG.js";
|
|
76
76
|
import {
|
|
77
77
|
metadata as metadata19
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-TXK5P6FF.js";
|
|
79
79
|
import {
|
|
80
80
|
metadata as metadata5
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-MNTAIFXA.js";
|
|
82
82
|
import {
|
|
83
83
|
metadata as metadata6
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-6M3J6LR3.js";
|
|
85
85
|
import {
|
|
86
86
|
metadata as metadata7
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2XPQS4OZ.js";
|
|
88
88
|
import {
|
|
89
89
|
metadata as metadata8
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-HZXG63KE.js";
|
|
91
91
|
import {
|
|
92
92
|
metadata as metadata9
|
|
93
93
|
} from "./chunk-SVLBJMYO.js";
|
|
94
94
|
import {
|
|
95
95
|
metadata as metadata10
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-C4KK7YQM.js";
|
|
97
97
|
import {
|
|
98
98
|
metadata as metadata11
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-D445SWSH.js";
|
|
100
100
|
import {
|
|
101
101
|
metadata
|
|
102
102
|
} from "./chunk-NCC6ETZS.js";
|
|
103
103
|
import {
|
|
104
104
|
metadata as metadata2
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LWG6LJHL.js";
|
|
106
106
|
import {
|
|
107
107
|
metadata as metadata3
|
|
108
108
|
} from "./chunk-TSV4LVHK.js";
|
|
109
109
|
import {
|
|
110
110
|
metadata as metadata4
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-U2HNW3BE.js";
|
|
112
112
|
import {
|
|
113
113
|
t
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-D7DIMN2J.js";
|
|
115
115
|
|
|
116
116
|
// src/commands/help.ts
|
|
117
117
|
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
|
|
3
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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(
|
|
15
|
+
console.log(_chalk2.default.cyan(_chunk4BVRSVS2cjs.t.call(void 0, "commands.new.cleared")));
|
|
16
16
|
console.log();
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
@@ -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
|
|
3
|
+
var _chunkKEAWYW5Ycjs = require('./chunk-KEAWYW5Y.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkPGRH5Q77cjs = require('./chunk-PGRH5Q77.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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 "
|
|
18
|
+
return "122b09b";
|
|
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" ? `${
|
|
28
|
+
return commit !== "unknown" ? `${_chunkKEAWYW5Ycjs.package_default.version} (${commit})` : _chunkKEAWYW5Ycjs.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(`${
|
|
57
|
-
console.log(muted(
|
|
56
|
+
console.log(accent(`${_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.title")} v${getVersionString()}`));
|
|
57
|
+
console.log(muted(_chunk4BVRSVS2cjs.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(
|
|
66
|
-
console.log(`${text("\u{1F4E6}")} ${text(
|
|
67
|
-
console.log(`${text("\u{1F4DA}")} ${text(
|
|
65
|
+
console.log(`${text("\u{1F310}")} ${text(_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.website") + ":")} ${websiteLink}`);
|
|
66
|
+
console.log(`${text("\u{1F4E6}")} ${text(_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.github") + ":")} ${githubLink}`);
|
|
67
|
+
console.log(`${text("\u{1F4DA}")} ${text(_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.docs") + ":")} ${docsLink}`);
|
|
68
68
|
console.log();
|
|
69
|
-
console.log(text(`\u{1F4A1} ${
|
|
70
|
-
console.log(text(` \u2022 ${
|
|
71
|
-
console.log(text(` \u2022 ${
|
|
69
|
+
console.log(text(`\u{1F4A1} ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.contribute")}`));
|
|
70
|
+
console.log(text(` \u2022 ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.feedback")}: ${accent("/feedback")}`));
|
|
71
|
+
console.log(text(` \u2022 ${_chunk4BVRSVS2cjs.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 ${
|
|
74
|
+
console.log(text(` \u2022 ${_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.reportIssues")}: ${issuesLink}`));
|
|
75
75
|
console.log();
|
|
76
|
-
console.log(muted(
|
|
76
|
+
console.log(muted(_chunk4BVRSVS2cjs.t.call(void 0, "commands.about.pressKey")));
|
|
77
77
|
console.log();
|
|
78
78
|
return null;
|
|
79
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4BVRSVS2cjs = require('./chunk-4BVRSVS2.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:
|
|
11
|
+
description: _chunk4BVRSVS2cjs.t.call(void 0, "commands.quit.description"),
|
|
12
12
|
implemented: true
|
|
13
13
|
};
|
|
14
14
|
|