@creativeintelligence/abbie 0.1.9 → 0.1.11
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/commands/login.js +16 -7
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -74,6 +74,7 @@ If already authenticated, shows current status. Use --force to re-authenticate.`
|
|
|
74
74
|
try {
|
|
75
75
|
const result = await client.mutation(api.functions.auth.tokens.createAuthCode, {
|
|
76
76
|
deviceId: device.deviceId,
|
|
77
|
+
hostname: device.hostname,
|
|
77
78
|
});
|
|
78
79
|
code = result.code;
|
|
79
80
|
expiresAt = result.expiresAt;
|
|
@@ -86,12 +87,21 @@ If already authenticated, shows current status. Use --force to re-authenticate.`
|
|
|
86
87
|
// Step 2: Open browser
|
|
87
88
|
const webUrl = getWebUrl();
|
|
88
89
|
const authUrl = `${webUrl}/auth/cli?code=${code}`;
|
|
90
|
+
// Logo + auth card
|
|
89
91
|
this.log("");
|
|
90
|
-
this.log("
|
|
91
|
-
this.log(
|
|
92
|
+
this.log(" \x1b[2m⣿⣿⣿⡿⠿⣿⣿⣿⣿⣿⣿⠿⢿⣿⣿⣿\x1b[0m");
|
|
93
|
+
this.log(" \x1b[2m⣿⡟⠁⠀⠀⠀⠉⠙⠛⠉⠀⠀⠀⠈⢻⣿\x1b[0m");
|
|
94
|
+
this.log(" \x1b[2m⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿\x1b[0m");
|
|
95
|
+
this.log(" \x1b[2m⣿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿\x1b[0m");
|
|
96
|
+
this.log(" \x1b[2m⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿\x1b[0m \x1b[1mabbie\x1b[0m login");
|
|
97
|
+
this.log(" \x1b[2m⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿\x1b[0m");
|
|
98
|
+
this.log(" \x1b[2m⣿⣿⡀⠀⠀⠀⠀⣀⣀⠀⠀⠀⠀⢀⣿⣿\x1b[0m");
|
|
99
|
+
this.log(" \x1b[2m⣿⣿⣿⣶⣶⣶⣿⣿⣿⣿⣶⣶⣶⣿⣿⣿\x1b[0m");
|
|
92
100
|
this.log("");
|
|
93
|
-
this.log(`
|
|
94
|
-
this.log(`
|
|
101
|
+
this.log(` Code \x1b[1m${code}\x1b[0m`);
|
|
102
|
+
this.log(` Device ${device.hostname}`);
|
|
103
|
+
this.log("");
|
|
104
|
+
this.log(` \x1b[2m${authUrl}\x1b[0m`);
|
|
95
105
|
this.log("");
|
|
96
106
|
if (flags.open) {
|
|
97
107
|
try {
|
|
@@ -168,9 +178,8 @@ If already authenticated, shows current status. Use --force to re-authenticate.`
|
|
|
168
178
|
// Non-fatal — bridge can still be started manually
|
|
169
179
|
}
|
|
170
180
|
this.log("");
|
|
171
|
-
this.log(" ✓
|
|
172
|
-
this.log(`
|
|
173
|
-
this.log(` device: ${device.hostname}`);
|
|
181
|
+
this.log(" ✓ Authenticated");
|
|
182
|
+
this.log(` ${device.hostname}`);
|
|
174
183
|
this.log("");
|
|
175
184
|
// Step 5: Optional initial sync
|
|
176
185
|
if (flags.sync) {
|
package/oclif.manifest.json
CHANGED