skyloom 1.15.0 → 1.15.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/main.js CHANGED
@@ -71,8 +71,8 @@ program.command("chat").argument("[agent]", "agent name", "fog")
71
71
  program.command("task").argument("[goal]", "task goal")
72
72
  .action(async (g) => { if (g)
73
73
  await runTask(g); });
74
- program.command("web").option("-p,--port <p>", "port", "3000")
75
- .action((o) => { Promise.resolve().then(() => __importStar(require("../web/server"))).then(m => m.startWebServer(parseInt(o.port || "3000"))); });
74
+ program.command("web").option("-p,--port <p>", "port", "7777")
75
+ .action((o) => { Promise.resolve().then(() => __importStar(require("../web/server"))).then(m => m.startWebServer(parseInt(o.port || "7777"))); });
76
76
  program.command("mcp").action(() => { Promise.resolve().then(() => __importStar(require("../core/mcp_server"))).then(m => m.startMCPServer()); });
77
77
  program.command("config").action(() => { const c = (0, config_1.loadConfig)(); process.stdout.write(chalk_1.default.cyan("\nConfig: ") + config_1.USER_CONFIG_DIR + "\n"); for (const [n, a] of Object.entries(c.agents || {}))
78
78
  process.stdout.write(` ${chalk_1.default.bold(n)}: ${a.model || "default"}\n`); });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skyloom",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "description": "天空织机 Skyloom — 6 weather-themed AI agents: Fog, Rain, Frost, Snow, Dew, Fair",
5
5
  "preferGlobal": true,
6
6
  "type": "commonjs",
package/src/cli/main.ts CHANGED
@@ -32,8 +32,8 @@ program.command("chat").argument("[agent]", "agent name", "fog")
32
32
  .action(async (a: string, o: { model?: string; classic?: boolean }) => { await chat(a, o.model, o.classic); });
33
33
  program.command("task").argument("[goal]", "task goal")
34
34
  .action(async (g?: string) => { if (g) await runTask(g); });
35
- program.command("web").option("-p,--port <p>", "port", "3000")
36
- .action((o: { port?: string }) => { import("../web/server").then(m => m.startWebServer(parseInt(o.port || "3000"))); });
35
+ program.command("web").option("-p,--port <p>", "port", "7777")
36
+ .action((o: { port?: string }) => { import("../web/server").then(m => m.startWebServer(parseInt(o.port || "7777"))); });
37
37
  program.command("mcp").action(() => { import("../core/mcp_server").then(m => m.startMCPServer()); });
38
38
  program.command("config").action(() => { const c = loadConfig(); process.stdout.write(chalk.cyan("\nConfig: ") + USER_CONFIG_DIR + "\n"); for (const [n, a] of Object.entries(c.agents || {})) process.stdout.write(` ${chalk.bold(n)}: ${(a as any).model || "default"}\n`); });
39
39
  program.command("init").action(() => { if (!fs.existsSync(USER_CONFIG_DIR)) fs.mkdirSync(USER_CONFIG_DIR, { recursive: true }); process.stdout.write(chalk.green("✓ ") + USER_CONFIG_DIR + "\n"); });