openmagic 0.25.1 → 0.25.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/cli.js +14 -8
- package/dist/cli.js.map +1 -1
- package/dist/toolbar/index.global.js +1 -1
- package/dist/toolbar/index.global.js.map +1 -1
- package/package.json +1 -1
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.
|
|
1450
|
+
var VERSION = "0.25.2";
|
|
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.
|
|
1983
|
+
var VERSION2 = "0.25.2";
|
|
1984
1984
|
function ask(question) {
|
|
1985
1985
|
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
1986
1986
|
return new Promise((resolve3) => {
|
|
@@ -2089,15 +2089,21 @@ 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");
|
|
2092
2096
|
console.log("");
|
|
2093
|
-
console.log(
|
|
2094
|
-
console.log(
|
|
2095
|
-
console.log(
|
|
2096
|
-
console.log(chalk.
|
|
2097
|
-
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("."));
|
|
2098
2104
|
console.log("");
|
|
2099
2105
|
console.log(
|
|
2100
|
-
|
|
2106
|
+
p.bold(" O P E N M A G I C") + chalk.dim(` v${VERSION2}`)
|
|
2101
2107
|
);
|
|
2102
2108
|
console.log(chalk.dim(" AI coding toolbar for any web app"));
|
|
2103
2109
|
console.log("");
|