openkitt 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/dist/cli.js +7 -13
  2. 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
- const username = status.username ? `@${status.username}` : "unknown user";
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
- const username = loginStatus.username ? `@${loginStatus.username}` : "unknown user";
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
- const username = railwayStatus.username ? `@${railwayStatus.username}` : "unknown user";
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
- const username = loginStatus.username ? `@${loginStatus.username}` : "unknown user";
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
- const username = finalRailway.username ? `@${finalRailway.username}` : "unknown user";
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
- const user = railway.username ?? "authenticated";
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");
@@ -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.6",
266020
+ version: "0.3.7",
266027
266021
  description: "AI-powered monorepo scaffolding CLI",
266028
266022
  keywords: [
266029
266023
  "cli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openkitt",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "AI-powered monorepo scaffolding CLI",
5
5
  "keywords": [
6
6
  "cli",