swiftroutercli 4.0.1 → 4.0.2

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/index.js CHANGED
@@ -23,7 +23,7 @@ async function ensureConfig() {
23
23
  try {
24
24
  const logoPath = path.join(__dirname, "..", "assets", "logo.png");
25
25
  if (fs.existsSync(logoPath)) {
26
- const smallLogo = await terminalImage.file(logoPath, { height: 3 });
26
+ const smallLogo = await terminalImage.file(logoPath, { height: 1, preserveAspectRatio: true });
27
27
  // Print logo inline with welcome text
28
28
  process.stdout.write(smallLogo.trimEnd() + " ");
29
29
  console.log(chalk.cyan.bold("Welcome to SwiftRouterCLI!"));
@@ -55,7 +55,7 @@ async function ensureConfig() {
55
55
  program
56
56
  .name("swiftroutercli")
57
57
  .description("CLI for SwiftRouter AI Gateway")
58
- .version("4.0.1");
58
+ .version("4.0.2");
59
59
  program
60
60
  .command("config")
61
61
  .description("Manually configure the CLI with your SwiftRouter API Key and Base URL")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swiftroutercli",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "The official SwiftRouter Command Line Interface using React Ink Components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -27,7 +27,7 @@ async function ensureConfig(): Promise<Config> {
27
27
  try {
28
28
  const logoPath = path.join(__dirname, "..", "assets", "logo.png");
29
29
  if (fs.existsSync(logoPath)) {
30
- const smallLogo = await terminalImage.file(logoPath, { height: 3 });
30
+ const smallLogo = await terminalImage.file(logoPath, { height: 1, preserveAspectRatio: true });
31
31
  // Print logo inline with welcome text
32
32
  process.stdout.write(smallLogo.trimEnd() + " ");
33
33
  console.log(chalk.cyan.bold("Welcome to SwiftRouterCLI!"));
@@ -68,7 +68,7 @@ async function ensureConfig(): Promise<Config> {
68
68
  program
69
69
  .name("swiftroutercli")
70
70
  .description("CLI for SwiftRouter AI Gateway")
71
- .version("4.0.1");
71
+ .version("4.0.2");
72
72
 
73
73
  program
74
74
  .command("config")