openmagic 0.27.0 → 0.27.1

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.27.0";
1450
+ var VERSION = "0.27.1";
1451
1451
  var __dirname = dirname2(fileURLToPath(import.meta.url));
1452
1452
  function attachOpenMagic(httpServer, roots) {
1453
1453
  function handleRequest(req, res) {
@@ -1989,7 +1989,7 @@ process.on("uncaughtException", (err) => {
1989
1989
  });
1990
1990
  var childProcesses = [];
1991
1991
  var lastDetectedPort = null;
1992
- var VERSION2 = "0.27.0";
1992
+ var VERSION2 = "0.27.1";
1993
1993
  function ask(question) {
1994
1994
  const rl = createInterface({ input: process.stdin, output: process.stdout });
1995
1995
  return new Promise((resolve3) => {
@@ -2097,7 +2097,7 @@ program.name("openmagic").description("AI-powered coding toolbar for any web app
2097
2097
  ).option(
2098
2098
  "-r, --root <paths...>",
2099
2099
  "Project root directories (defaults to cwd)"
2100
- ).option("--no-open", "Don't auto-open browser").option("--host <host>", "Dev server host", "127.0.0.1").action(async (opts) => {
2100
+ ).option("--no-open", "Don't auto-open browser").option("--host <host>", "Dev server host", "localhost").action(async (opts) => {
2101
2101
  console.log("");
2102
2102
  console.log(
2103
2103
  " \u{1FA84} " + chalk.bold.hex("#6c5ce7")("OpenMagic") + chalk.dim(` v${VERSION2}`) + " \u2728"