ikie-cli 0.1.29 → 0.1.30
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/onboarding.js +5 -14
- package/package.json +1 -1
package/dist/onboarding.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createInterface } from 'node:readline';
|
|
2
|
-
import { c, successLine, infoLine, errorLine } from './theme.js';
|
|
2
|
+
import { c, drawBanner, successLine, infoLine, errorLine } from './theme.js';
|
|
3
3
|
import { login } from './auth.js';
|
|
4
4
|
import { saveConfig, isLoggedIn } from './config.js';
|
|
5
5
|
function waitForEnter(message) {
|
|
@@ -28,19 +28,10 @@ function askYesNo(question, defaultYes = true) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
function displayWelcome() {
|
|
32
|
-
|
|
31
|
+
function displayWelcome(config) {
|
|
32
|
+
drawBanner(config.model);
|
|
33
33
|
console.log();
|
|
34
|
-
console.log(c.
|
|
35
|
-
console.log(c.primary.bold('\u2551') + ' ' + c.primary.bold('\u2551'));
|
|
36
|
-
console.log(c.primary.bold('\u2551') + ' ' + c.accent.bold('Welcome to') + ' ' + c.primary.bold('ikie') + ' ' + c.muted('\u2014 Your AI Pair Programmer') + ' ' + c.primary.bold('\u2551'));
|
|
37
|
-
console.log(c.primary.bold('\u2551') + ' ' + c.muted('Agentic Coding in Your Terminal') + ' ' + c.primary.bold('\u2551'));
|
|
38
|
-
console.log(c.primary.bold('\u2551') + ' ' + c.primary.bold('\u2551'));
|
|
39
|
-
console.log(c.primary.bold('\u255a') + border + c.primary.bold('\u255d'));
|
|
40
|
-
console.log();
|
|
41
|
-
console.log(c.white.bold('Hey there! \u{1F44B}'));
|
|
42
|
-
console.log();
|
|
43
|
-
console.log(c.white("Let's get you set up in just a few steps."));
|
|
34
|
+
console.log(c.white.bold('Welcome to ikie! Let\'s get you set up in a few steps.'));
|
|
44
35
|
console.log();
|
|
45
36
|
}
|
|
46
37
|
async function stepAuthentication(config) {
|
|
@@ -148,7 +139,7 @@ function displayCompletion() {
|
|
|
148
139
|
}
|
|
149
140
|
export async function runOnboarding(config) {
|
|
150
141
|
try {
|
|
151
|
-
displayWelcome();
|
|
142
|
+
displayWelcome(config);
|
|
152
143
|
await waitForEnter();
|
|
153
144
|
await stepAuthentication(config);
|
|
154
145
|
await stepFeatureTour();
|