@melaya/runner 1.0.8 → 1.0.9

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 +14 -8
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -25,14 +25,20 @@ const program = new Command()
25
25
  .option("--verbose", "Show detailed logs", false)
26
26
  .parse(process.argv);
27
27
  const opts = program.opts();
28
- const c1 = chalk.hex("#A78BFA").bold;
29
- const c2 = chalk.hex("#8B5CF6").bold;
30
- const c3 = chalk.hex("#7C6FF0").bold;
31
- const c4 = chalk.hex("#6366F1").bold;
32
- const c5 = chalk.hex("#22D3EE").bold;
33
- const c6 = chalk.hex("#10B0F0").bold;
28
+ // Logo colors: cyan → blue → indigo gradient (matching melaya.org)
29
+ const c1 = chalk.hex("#22D3EE").bold;
30
+ const c2 = chalk.hex("#10B0F0").bold;
31
+ const c3 = chalk.hex("#0090E8").bold;
32
+ const c4 = chalk.hex("#0070D8").bold;
33
+ const c5 = chalk.hex("#0050C8").bold;
34
+ const c6 = chalk.hex("#0038B0").bold;
34
35
  const br = chalk.hex("#22D3EE");
35
- const dm = chalk.hex("#444");
36
+ const dm = chalk.hex("#555");
37
+ import { readFileSync } from "fs";
38
+ import { fileURLToPath } from "url";
39
+ import { dirname, join } from "path";
40
+ const __dirname = dirname(fileURLToPath(import.meta.url));
41
+ const { version } = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
36
42
  const BANNER = `
37
43
  ${c1("███╗ ███╗")} ${c2("███████╗")} ${c3("██╗")} ${c4("█████╗")} ${c5("██╗ ██╗")} ${c6("█████╗")}
38
44
  ${c1("████╗ ████║")} ${c2("██╔════╝")} ${c3("██║")} ${c4("██╔══██╗")} ${c5("╚██╗ ██╔╝")} ${c6("██╔══██╗")}
@@ -41,7 +47,7 @@ const BANNER = `
41
47
  ${c1("██║ ╚═╝ ██║")} ${c2("███████╗")} ${c3("███████╗")} ${c4("██║ ██║")} ${c5("██║")} ${c6("██║ ██║")}
42
48
  ${c1("╚═╝ ╚═╝")} ${c2("╚══════╝")} ${c3("╚══════╝")} ${c4("╚═╝ ╚═╝")} ${c5("╚═╝")} ${c6("╚═╝ ╚═╝")}
43
49
 
44
- ${br("▸")} ${dm("Local AI Pipeline Runner")} ${chalk.hex("#333")("v1.0.7")}
50
+ ${br("▸")} ${dm("Local AI Pipeline Runner")} ${chalk.hex("#333")(`v${version}`)}
45
51
  ${br("─────────────────────────────────────────────────────")}
46
52
  `;
47
53
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,