openkitt 0.3.6 → 0.3.8
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.js +8 -14
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -265121,8 +265121,7 @@ function providerLabel(config) {
|
|
|
265121
265121
|
async function runRailwayLogin() {
|
|
265122
265122
|
const status = await checkRailwayAuth();
|
|
265123
265123
|
if (status.authenticated) {
|
|
265124
|
-
|
|
265125
|
-
console.log(import_picocolors8.default.green(`✓ Railway authenticated as ${username}`));
|
|
265124
|
+
console.log(import_picocolors8.default.green("✓ Railway: authenticated"));
|
|
265126
265125
|
return;
|
|
265127
265126
|
}
|
|
265128
265127
|
if (status.error === "Railway CLI not installed") {
|
|
@@ -265132,8 +265131,7 @@ async function runRailwayLogin() {
|
|
|
265132
265131
|
console.log(import_picocolors8.default.cyan("Opening Railway login in your browser..."));
|
|
265133
265132
|
const loginStatus = await railwayLogin();
|
|
265134
265133
|
if (loginStatus.authenticated) {
|
|
265135
|
-
|
|
265136
|
-
console.log(import_picocolors8.default.green(`✓ Railway authenticated as ${username}`));
|
|
265134
|
+
console.log(import_picocolors8.default.green("✓ Railway: authenticated"));
|
|
265137
265135
|
return;
|
|
265138
265136
|
}
|
|
265139
265137
|
console.log(import_picocolors8.default.red(loginStatus.error ?? "Failed to authenticate with Railway."));
|
|
@@ -265383,16 +265381,14 @@ async function runModelSwitch() {
|
|
|
265383
265381
|
async function runFullLogin(context) {
|
|
265384
265382
|
const railwayStatus = await checkRailwayAuth();
|
|
265385
265383
|
if (railwayStatus.authenticated) {
|
|
265386
|
-
|
|
265387
|
-
console.log(import_picocolors8.default.green(`✓ Railway authenticated as ${username}`));
|
|
265384
|
+
console.log(import_picocolors8.default.green("✓ Railway: authenticated"));
|
|
265388
265385
|
} else if (railwayStatus.error === "Railway CLI not installed") {
|
|
265389
265386
|
console.log(import_picocolors8.default.red("Railway CLI is not installed. Install Railway CLI first to enable Railway authentication."));
|
|
265390
265387
|
} else {
|
|
265391
265388
|
console.log(import_picocolors8.default.cyan("Railway authentication required. Opening browser login..."));
|
|
265392
265389
|
const loginStatus = await railwayLogin();
|
|
265393
265390
|
if (loginStatus.authenticated) {
|
|
265394
|
-
|
|
265395
|
-
console.log(import_picocolors8.default.green(`✓ Railway authenticated as ${username}`));
|
|
265391
|
+
console.log(import_picocolors8.default.green("✓ Railway: authenticated"));
|
|
265396
265392
|
} else {
|
|
265397
265393
|
console.log(import_picocolors8.default.red(loginStatus.error ?? "Failed to authenticate with Railway."));
|
|
265398
265394
|
}
|
|
@@ -265412,8 +265408,7 @@ async function runFullLogin(context) {
|
|
|
265412
265408
|
console.log();
|
|
265413
265409
|
console.log(import_picocolors8.default.bold("Authentication summary"));
|
|
265414
265410
|
if (finalRailway.authenticated) {
|
|
265415
|
-
|
|
265416
|
-
console.log(import_picocolors8.default.green(`✓ Railway: authenticated as ${username}`));
|
|
265411
|
+
console.log(import_picocolors8.default.green("✓ Railway: authenticated"));
|
|
265417
265412
|
} else if (finalRailway.error === "Railway CLI not installed") {
|
|
265418
265413
|
console.log(import_picocolors8.default.yellow("• Railway: unavailable (Railway CLI not installed)"));
|
|
265419
265414
|
} else {
|
|
@@ -265444,8 +265439,7 @@ async function runLoginStatus() {
|
|
|
265444
265439
|
console.log("");
|
|
265445
265440
|
divider("Railway");
|
|
265446
265441
|
if (railway.authenticated) {
|
|
265447
|
-
|
|
265448
|
-
row("✓", "status", user, import_picocolors8.default.green);
|
|
265442
|
+
row("✓", "status", "authenticated", import_picocolors8.default.green);
|
|
265449
265443
|
} else if (railway.error === "Railway CLI not installed") {
|
|
265450
265444
|
row("✗", "status", "CLI not installed", import_picocolors8.default.yellow);
|
|
265451
265445
|
hint("Install: https://docs.railway.com/cli");
|
|
@@ -265955,7 +265949,7 @@ function renderHelp() {
|
|
|
265955
265949
|
divider("Setup");
|
|
265956
265950
|
cmd("/login", "", "Full auth setup (Railway + LLM)");
|
|
265957
265951
|
cmd("/login railway", "", "Authenticate with Railway");
|
|
265958
|
-
cmd("/login llm", "", "
|
|
265952
|
+
cmd("/login llm", "", "Reconfigure LLM provider, model, or auth method");
|
|
265959
265953
|
cmd("/login model", "", "Switch active model without re-entering key");
|
|
265960
265954
|
cmd("/login status", "", "Show current auth status for Railway and LLM");
|
|
265961
265955
|
cmd("/logout", "", "Remove all stored credentials");
|
|
@@ -266023,7 +266017,7 @@ async function helpCommand(_context, _args) {
|
|
|
266023
266017
|
// package.json
|
|
266024
266018
|
var package_default = {
|
|
266025
266019
|
name: "openkitt",
|
|
266026
|
-
version: "0.3.
|
|
266020
|
+
version: "0.3.8",
|
|
266027
266021
|
description: "AI-powered monorepo scaffolding CLI",
|
|
266028
266022
|
keywords: [
|
|
266029
266023
|
"cli",
|