@taj-special/dravix-code 1.1.17 → 1.1.19
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 +1 -12
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -127,17 +127,6 @@ async function browserAuth() {
|
|
|
127
127
|
const cols = process.stdout.columns ?? 80;
|
|
128
128
|
const line = DIM(' ' + '─'.repeat(Math.min(cols - 4, 51)));
|
|
129
129
|
console.clear();
|
|
130
|
-
console.log(chalk.hex('#6366f1').bold(`
|
|
131
|
-
██████╗ ██████╗ █████╗ ██╗ ██╗██╗██╗ ██╗
|
|
132
|
-
██╔══██╗██╔══██╗██╔══██╗██║ ██║██║╚██╗██╔╝
|
|
133
|
-
██║ ██║██████╔╝███████║██║ ██║██║ ╚███╔╝
|
|
134
|
-
██║ ██║██╔══██╗██╔══██║╚██╗ ██╔╝██║ ██╔██╗
|
|
135
|
-
██████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║██╔╝ ██╗
|
|
136
|
-
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝`));
|
|
137
|
-
console.log(chalk.hex('#6366f1').bold(' Code') + DIM(` v${VERSION} · `) + P('AI-powered coding assistant'));
|
|
138
|
-
console.log(line + '\n');
|
|
139
|
-
console.log(' ' + colors.primary('◆') + ' ' + W.bold('Sign in to Dravix Code'));
|
|
140
|
-
console.log(' ' + DIM('Use your Dravix account to sign in to Dravix Code.') + '\n');
|
|
141
130
|
console.log(line);
|
|
142
131
|
console.log('\n ' + DIM('Step 1 — ') + W('Open this link in your browser:') + '\n');
|
|
143
132
|
console.log(' ' + colors.primary(link(authUrl)) + '\n');
|
|
@@ -222,6 +211,7 @@ async function main() {
|
|
|
222
211
|
}
|
|
223
212
|
if (justAuthenticated) {
|
|
224
213
|
console.clear();
|
|
214
|
+
console.log('\n ' + colors.success('✓') + ' ' + chalk.hex('#e2e8f0').bold('Sign in complete') + '\n');
|
|
225
215
|
}
|
|
226
216
|
const { name, email } = getSavedUser();
|
|
227
217
|
const cwd = (arg && !arg.startsWith('--')) ? path.resolve(arg) : process.cwd();
|
|
@@ -238,7 +228,6 @@ async function main() {
|
|
|
238
228
|
? chalk.hex('#fcd34d').bold('Plus')
|
|
239
229
|
: chalk.hex('#4b5563')('Free');
|
|
240
230
|
console.log(DIM(' ' + '─'.repeat(45)));
|
|
241
|
-
console.log(colors.muted(' Dravix ') + chalk.hex('#6366f1').bold('Code') + DIM(' v' + VERSION));
|
|
242
231
|
console.log(colors.muted(' User ') + W(name ?? 'Unknown') + DIM(' · ') + colors.muted(email ?? ''));
|
|
243
232
|
console.log(colors.muted(' Plan ') + planBadge);
|
|
244
233
|
if (usage) {
|