@taj-special/dravix-code 1.1.20 → 1.1.21
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/cli/index.js +14 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -219,7 +219,20 @@ async function main() {
|
|
|
219
219
|
banner();
|
|
220
220
|
}
|
|
221
221
|
if (justAuthenticated) {
|
|
222
|
-
|
|
222
|
+
const _DIM = chalk.hex('#4b5563');
|
|
223
|
+
const _P = chalk.hex('#818cf8');
|
|
224
|
+
const _cols = process.stdout.columns ?? 80;
|
|
225
|
+
const _line = _DIM(' ' + '─'.repeat(Math.min(_cols - 4, 51)));
|
|
226
|
+
console.clear();
|
|
227
|
+
console.log(chalk.hex('#6366f1').bold(`
|
|
228
|
+
██████╗ ██████╗ █████╗ ██╗ ██╗██╗██╗ ██╗
|
|
229
|
+
██╔══██╗██╔══██╗██╔══██╗██║ ██║██║╚██╗██╔╝
|
|
230
|
+
██║ ██║██████╔╝███████║██║ ██║██║ ╚███╔╝
|
|
231
|
+
██║ ██║██╔══██╗██╔══██║╚██╗ ██╔╝██║ ██╔██╗
|
|
232
|
+
██████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║██╔╝ ██╗
|
|
233
|
+
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝`));
|
|
234
|
+
console.log(chalk.hex('#6366f1').bold(' Code') + _DIM(` v${VERSION} · `) + _P('AI-powered coding assistant'));
|
|
235
|
+
console.log(_line + '\n');
|
|
223
236
|
}
|
|
224
237
|
const { name, email } = getSavedUser();
|
|
225
238
|
const cwd = (arg && !arg.startsWith('--')) ? path.resolve(arg) : process.cwd();
|