echo-ai-agent 1.0.68 → 1.0.69
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/cli.js +2 -3
- package/package.json +1 -1
- package/utils/branding.js +60 -58
package/cli.js
CHANGED
|
@@ -27,8 +27,6 @@ program
|
|
|
27
27
|
.description('Launch Echo AI Agent')
|
|
28
28
|
.option('-d, --debug', 'Run in debug mode')
|
|
29
29
|
.action((options) => {
|
|
30
|
-
console.log(banner);
|
|
31
|
-
|
|
32
30
|
// Check if configured
|
|
33
31
|
if (!config.get('configured')) {
|
|
34
32
|
console.log(chalk.yellow('⚠️ Echo is not configured yet. Running setup wizard...\n'));
|
|
@@ -36,6 +34,7 @@ program
|
|
|
36
34
|
launchEcho(options.debug);
|
|
37
35
|
});
|
|
38
36
|
} else {
|
|
37
|
+
console.log(banner);
|
|
39
38
|
launchEcho(options.debug);
|
|
40
39
|
}
|
|
41
40
|
});
|
|
@@ -44,7 +43,7 @@ program
|
|
|
44
43
|
.command('setup')
|
|
45
44
|
.description('Run the interactive setup wizard')
|
|
46
45
|
.action(async () => {
|
|
47
|
-
|
|
46
|
+
// Logo is printed by setupWizard.run() - no need to print here
|
|
48
47
|
await setupWizard.run();
|
|
49
48
|
});
|
|
50
49
|
|
package/package.json
CHANGED
package/utils/branding.js
CHANGED
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Echo ASCII Art - Premium Emerald Green
|
|
3
|
-
* Terminal-friendly logo for CLI tools
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// ANSI
|
|
7
|
-
const EMERALD_GREEN = '\x1b[38;
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Echo ASCII Art - Premium Emerald Green
|
|
3
|
+
* Terminal-friendly logo for CLI tools
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Simple ANSI color codes (better Windows compatibility)
|
|
7
|
+
const EMERALD_GREEN = '\x1b[38;5;42m';
|
|
8
|
+
const BRIGHT_GREEN = '\x1b[38;5;83m';
|
|
9
|
+
const RESET = '\x1b[0m';
|
|
10
|
+
|
|
11
|
+
const ECHO_ASCII = `${EMERALD_GREEN}
|
|
12
|
+
███████╗ ██████╗██╗ ██╗ ██████╗
|
|
13
|
+
██╔════╝██╔════╝██║ ██║██╔═══██╗
|
|
14
|
+
█████╗ ██║ ███████║██║ ██║
|
|
15
|
+
██╔══╝ ██║ ██╔══██║██║ ██║
|
|
16
|
+
███████╗╚██████╗██║ ██║╚██████╔╝
|
|
17
|
+
╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝
|
|
18
|
+
${RESET}`;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Print the Echo logo to console (once)
|
|
22
|
+
*/
|
|
23
|
+
function printLogo() {
|
|
24
|
+
console.log(ECHO_ASCII);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Get the Echo logo as a string
|
|
29
|
+
* @returns {string} The formatted logo string
|
|
30
|
+
*/
|
|
31
|
+
function getLogo() {
|
|
32
|
+
return ECHO_ASCII;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Get the logo without colors (plain ASCII)
|
|
37
|
+
* @returns {string} The plain ASCII logo
|
|
38
|
+
*/
|
|
39
|
+
function getLogoPlain() {
|
|
40
|
+
return `
|
|
41
|
+
███████╗ ██████╗██╗ ██╗ ██████╗
|
|
42
|
+
██╔════╝██╔════╝██║ ██║██╔═══██╗
|
|
43
|
+
█████╗ ██║ ███████║██║ ██║
|
|
44
|
+
██╔══╝ ██║ ██╔══██║██║ ██║
|
|
45
|
+
███████╗╚██████╗██║ ██║╚██████╔╝
|
|
46
|
+
╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝
|
|
47
|
+
`;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = {
|
|
51
|
+
printLogo,
|
|
52
|
+
getLogo,
|
|
53
|
+
getLogoPlain,
|
|
54
|
+
ECHO_ASCII,
|
|
55
|
+
colors: {
|
|
56
|
+
EMERALD_GREEN,
|
|
57
|
+
BRIGHT_GREEN,
|
|
58
|
+
RESET
|
|
59
|
+
}
|
|
60
|
+
};
|