buildwithnexus 0.4.4 → 0.4.6

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.js CHANGED
@@ -18,9 +18,11 @@ __export(banner_exports, {
18
18
  showSecurityPosture: () => showSecurityPosture
19
19
  });
20
20
  import chalk from "chalk";
21
+ import { createRequire } from "module";
21
22
  function showBanner() {
22
23
  console.log(BANNER);
23
- console.log(chalk.dim(" v0.3.1 \xB7 buildwithnexus.dev\n"));
24
+ console.log(chalk.dim(` v${version} \xB7 buildwithnexus.dev
25
+ `));
24
26
  }
25
27
  function showPhase(phase, total, description) {
26
28
  const progress = chalk.cyan(`[${phase}/${total}]`);
@@ -73,10 +75,12 @@ function showCompletion(urls) {
73
75
  );
74
76
  console.log(lines.join("\n"));
75
77
  }
76
- var BANNER;
78
+ var _require, version, BANNER;
77
79
  var init_banner = __esm({
78
80
  "src/ui/banner.ts"() {
79
81
  "use strict";
82
+ _require = createRequire(import.meta.url);
83
+ ({ version } = _require("../package.json"));
80
84
  BANNER = `
81
85
  \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
82
86
  \u2551 ${chalk.bold.cyan("B U I L D W I T H N E X U S")} \u2551
@@ -739,7 +743,7 @@ var init_ssh = __esm({
739
743
 
740
744
  // src/cli.ts
741
745
  import { Command as Command14 } from "commander";
742
- import { createRequire } from "module";
746
+ import { createRequire as createRequire2 } from "module";
743
747
 
744
748
  // src/commands/init.ts
745
749
  init_banner();
@@ -1246,6 +1250,11 @@ var phases = [
1246
1250
  const { config } = ctx;
1247
1251
  await withSpinner(spinner, "Generating SSH key...", async () => {
1248
1252
  await generateSshKey();
1253
+ const pinFile = path6.join(path6.dirname(getKeyPath()), "vm_host_key.pin");
1254
+ try {
1255
+ fs6.unlinkSync(pinFile);
1256
+ } catch {
1257
+ }
1249
1258
  addSshConfig(config.sshPort);
1250
1259
  });
1251
1260
  }
@@ -2847,9 +2856,9 @@ var shellCommand2 = new Command13("shell").description("Launch the interactive N
2847
2856
  });
2848
2857
 
2849
2858
  // src/cli.ts
2850
- var _require = createRequire(import.meta.url);
2851
- var { version } = _require("../package.json");
2852
- var cli = new Command14().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(version);
2859
+ var _require2 = createRequire2(import.meta.url);
2860
+ var { version: version2 } = _require2("../package.json");
2861
+ var cli = new Command14().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(version2);
2853
2862
  cli.addCommand(initCommand);
2854
2863
  cli.addCommand(startCommand);
2855
2864
  cli.addCommand(stopCommand);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildwithnexus",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Launch an autonomous AI runtime with triple-nested VM isolation in one command",
5
5
  "type": "module",
6
6
  "bin": {