buildwithnexus 0.5.16 → 0.5.17

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
@@ -28,7 +28,8 @@ function getVersion() {
28
28
  const packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
29
29
  return packageJson.version;
30
30
  } catch (e) {
31
- return "0.5.15";
31
+ console.error(`[DEBUG] getVersion() failed: ${e instanceof Error ? e.message : String(e)}`);
32
+ return "0.5.16";
32
33
  }
33
34
  }
34
35
  function showBanner() {
@@ -752,6 +753,9 @@ var init_ssh = __esm({
752
753
 
753
754
  // src/cli.ts
754
755
  import { Command as Command14 } from "commander";
756
+ import { readFileSync as readFileSync2 } from "fs";
757
+ import { dirname as dirname2, join as join2 } from "path";
758
+ import { fileURLToPath as fileURLToPath4 } from "url";
755
759
 
756
760
  // src/commands/init.ts
757
761
  init_banner();
@@ -2922,7 +2926,17 @@ var shellCommand2 = new Command13("shell").description("Launch the interactive N
2922
2926
  });
2923
2927
 
2924
2928
  // src/cli.ts
2925
- var cli = new Command14().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version("0.3.1");
2929
+ function getVersionStatic() {
2930
+ try {
2931
+ const __dirname = dirname2(fileURLToPath4(import.meta.url));
2932
+ const packagePath = join2(__dirname, "..", "package.json");
2933
+ const packageJson = JSON.parse(readFileSync2(packagePath, "utf-8"));
2934
+ return packageJson.version;
2935
+ } catch {
2936
+ return "0.5.16";
2937
+ }
2938
+ }
2939
+ var cli = new Command14().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(getVersionStatic());
2926
2940
  cli.addCommand(initCommand);
2927
2941
  cli.addCommand(startCommand);
2928
2942
  cli.addCommand(stopCommand);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildwithnexus",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "description": "Launch an autonomous AI runtime with triple-nested VM isolation in one command",
5
5
  "type": "module",
6
6
  "bin": {