@novastorm-ai/cli 0.0.9 → 0.1.0

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/bin/nova.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "../chunk-FPLZAHAV.js";
4
+ } from "../chunk-QJOSOJPV.js";
5
5
  import "../chunk-4AQQAQBM.js";
6
6
  import "../chunk-QKD6A4EK.js";
7
7
  import "../chunk-KKTDQOQX.js";
@@ -916,6 +916,15 @@ async function startCommand() {
916
916
  const devServer = new DevServerRunner();
917
917
  const proxyServer = new ProxyServer();
918
918
  const wsServer = new WebSocketServer();
919
+ let earlyExit = true;
920
+ process.on("SIGINT", () => {
921
+ if (earlyExit) {
922
+ console.log(chalk6.dim("\nShutting down..."));
923
+ devServer.kill().catch(() => {
924
+ });
925
+ process.exit(0);
926
+ }
927
+ });
919
928
  const licenseChecker = new LicenseChecker();
920
929
  const indexer = new ProjectIndexer();
921
930
  const logger = new NovaLogger();
@@ -955,7 +964,7 @@ async function startCommand() {
955
964
  projectHash = createHash2("sha256").update(cwd).digest("hex");
956
965
  }
957
966
  const telemetry = new Telemetry();
958
- const cliPkg = await import("./package-RIMA2PN2.js").catch(
967
+ const cliPkg = await import("./package-GXN6NQIN.js").catch(
959
968
  () => ({ default: { version: "0.0.1" } })
960
969
  );
961
970
  telemetry.send({
@@ -1537,6 +1546,7 @@ Dev server error: ${error}`));
1537
1546
  }
1538
1547
  });
1539
1548
  chat.start();
1549
+ earlyExit = false;
1540
1550
  process.on("SIGINT", () => {
1541
1551
  shutdown().catch(() => process.exit(1));
1542
1552
  });
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createCli,
5
5
  promptAndScaffold,
6
6
  run
7
- } from "./chunk-FPLZAHAV.js";
7
+ } from "./chunk-QJOSOJPV.js";
8
8
  import "./chunk-4AQQAQBM.js";
9
9
  import {
10
10
  ConfigReader,
@@ -4,7 +4,7 @@ import "./chunk-3RG5ZIWI.js";
4
4
  var package_default = {
5
5
  name: "@novastorm-ai/cli",
6
6
  publishConfig: { access: "public" },
7
- version: "0.0.9",
7
+ version: "0.1.0",
8
8
  license: "SEE LICENSE IN LICENSE.md",
9
9
  type: "module",
10
10
  main: "dist/index.js",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.0.9",
6
+ "version": "0.1.0",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
8
8
  "type": "module",
9
9
  "main": "dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "tsup": "^8.4.0",
37
37
  "typescript": "^5.7.0",
38
38
  "@novastorm-ai/core": "0.0.1",
39
- "@novastorm-ai/proxy": "0.0.1",
40
- "@novastorm-ai/licensing": "0.0.1"
39
+ "@novastorm-ai/licensing": "0.0.1",
40
+ "@novastorm-ai/proxy": "0.0.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsup",