buildwithnexus 0.5.10 → 0.5.12

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
@@ -24,10 +24,11 @@ import { fileURLToPath } from "url";
24
24
  function getVersion() {
25
25
  try {
26
26
  const __dirname2 = dirname(fileURLToPath(import.meta.url));
27
- const packageJson2 = JSON.parse(readFileSync(join(__dirname2, "..", "..", "package.json"), "utf-8"));
27
+ const packagePath = join(__dirname2, "..", "..", "package.json");
28
+ const packageJson2 = JSON.parse(readFileSync(packagePath, "utf-8"));
28
29
  return packageJson2.version;
29
- } catch {
30
- return "unknown";
30
+ } catch (e) {
31
+ return "0.5.10";
31
32
  }
32
33
  }
33
34
  function showBanner() {
@@ -525,7 +526,7 @@ async function launchVm(platform, diskPath, initIsoPath, ram, cpus, ports) {
525
526
  "-drive",
526
527
  `file=${diskPath},if=virtio,cache=writethrough`,
527
528
  "-drive",
528
- `file=${initIsoPath},if=virtio,format=raw,cache=writethrough`,
529
+ `file=${initIsoPath},if=ide,media=cdrom`,
529
530
  "-display",
530
531
  "none",
531
532
  "-serial",
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildwithnexus",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "Launch an autonomous AI runtime with triple-nested VM isolation in one command",
5
5
  "type": "module",
6
6
  "bin": {