@chikhamx/voidx 3.2.0 → 3.2.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.
Files changed (2) hide show
  1. package/bin/voidx.js +13 -11
  2. package/package.json +1 -1
package/bin/voidx.js CHANGED
@@ -73,17 +73,19 @@ function selectPython(env) {
73
73
  }
74
74
 
75
75
  // 3. Bundled Python not found — try to bootstrap it (postinstall may have failed)
76
- console.error("\n⚙️ Bundled Python not found, running setup…\n");
77
- const postinstallScript = path.join(path.dirname(__filename), "postinstall.js");
78
- if (fs.existsSync(postinstallScript)) {
79
- const result = spawnSync(process.execPath, [postinstallScript], {
80
- stdio: "inherit",
81
- windowsHide: true,
82
- env: { ...env },
83
- });
84
- if (result.status !== 0) {
85
- console.error(" Setup failed. Try reinstalling:");
86
- console.error(" npm install -g @chikhamx/voidx");
76
+ if (env.VOIDX_NPM_SKIP_BOOTSTRAP !== "1") {
77
+ console.error("\n⚙️ Bundled Python not found, running setup…\n");
78
+ const postinstallScript = path.join(path.dirname(__filename), "postinstall.js");
79
+ if (fs.existsSync(postinstallScript)) {
80
+ const result = spawnSync(process.execPath, [postinstallScript], {
81
+ stdio: "inherit",
82
+ windowsHide: true,
83
+ env: { ...env },
84
+ });
85
+ if (result.status !== 0) {
86
+ console.error(" Setup failed. Try reinstalling:");
87
+ console.error(" npm install -g @chikhamx/voidx");
88
+ }
87
89
  }
88
90
  }
89
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chikhamx/voidx",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "npm launcher for voidx, a terminal AI coding agent.",
5
5
  "bin": {
6
6
  "voidx": "bin/voidx.js"