openmagic 0.25.2 → 0.25.4

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 CHANGED
@@ -1447,7 +1447,7 @@ async function handleLlmChat(params, onChunk, onDone, onError) {
1447
1447
  }
1448
1448
 
1449
1449
  // src/server.ts
1450
- var VERSION = "0.25.2";
1450
+ var VERSION = "0.25.4";
1451
1451
  var __dirname = dirname2(fileURLToPath(import.meta.url));
1452
1452
  function attachOpenMagic(httpServer, roots) {
1453
1453
  function handleRequest(req, res) {
@@ -1980,7 +1980,7 @@ process.on("uncaughtException", (err) => {
1980
1980
  process.exit(1);
1981
1981
  });
1982
1982
  var childProcesses = [];
1983
- var VERSION2 = "0.25.2";
1983
+ var VERSION2 = "0.25.4";
1984
1984
  function ask(question) {
1985
1985
  const rl = createInterface({ input: process.stdin, output: process.stdout });
1986
1986
  return new Promise((resolve3) => {
@@ -2089,23 +2089,11 @@ program.name("openmagic").description("AI-powered coding toolbar for any web app
2089
2089
  "-r, --root <paths...>",
2090
2090
  "Project root directories (defaults to cwd)"
2091
2091
  ).option("--no-open", "Don't auto-open browser").option("--host <host>", "Dev server host", "127.0.0.1").action(async (opts) => {
2092
- const p = chalk.hex("#6c5ce7");
2093
- const s = chalk.hex("#a29bfe");
2094
- const d = chalk.hex("#c4b5fd");
2095
- const g = chalk.hex("#fdcb6e");
2096
- console.log("");
2097
- console.log(s(" . ") + d("."));
2098
- console.log(s(" \\ ") + g("*") + s(" /"));
2099
- console.log(s(" ") + d(". | ."));
2100
- console.log(s(" ") + g("* ") + d("--") + chalk.bold(g(" + ")) + d("--") + g(" *"));
2101
- console.log(s(" ") + d(". | ."));
2102
- console.log(s(" / ") + g("*") + s(" \\"));
2103
- console.log(s(" . ") + d("."));
2104
2092
  console.log("");
2105
2093
  console.log(
2106
- p.bold(" O P E N M A G I C") + chalk.dim(` v${VERSION2}`)
2094
+ " \u{1FA84} " + chalk.bold.hex("#6c5ce7")("OpenMagic") + chalk.dim(` v${VERSION2}`) + " \u2728"
2107
2095
  );
2108
- console.log(chalk.dim(" AI coding toolbar for any web app"));
2096
+ console.log(chalk.dim(" AI coding toolbar for any web app"));
2109
2097
  console.log("");
2110
2098
  let targetPort;
2111
2099
  let targetHost = opts.host;