@chikhamx/voidx 3.4.4 → 3.5.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.
package/bin/postinstall.js
CHANGED
|
@@ -403,10 +403,21 @@ async function main() {
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
// Step 3: pip install
|
|
407
|
-
console.error(" [3/
|
|
406
|
+
// Step 3: pip install voidx (core runtime)
|
|
407
|
+
console.error(" [3/4] Installing voidx core…");
|
|
408
408
|
pipInstall(venvPython, packageSpec, env);
|
|
409
409
|
|
|
410
|
+
// Step 4: pip install bundled voidx_cli wheel (terminal frontend)
|
|
411
|
+
console.error(" [4/4] Installing voidx_cli frontend…");
|
|
412
|
+
const npmDir = path.resolve(__dirname, "..");
|
|
413
|
+
const wheelPattern = `voidx_cli-${pkg.version}-py3-none-any.whl`;
|
|
414
|
+
const wheelPath = path.join(npmDir, wheelPattern);
|
|
415
|
+
if (existsSync(wheelPath)) {
|
|
416
|
+
pipInstall(venvPython, wheelPath, env);
|
|
417
|
+
} else {
|
|
418
|
+
console.error(` ⚠️ Bundled ${wheelPattern} not found — TUI frontend unavailable`);
|
|
419
|
+
}
|
|
420
|
+
|
|
410
421
|
// Done
|
|
411
422
|
writeMarker(markerPath, marker);
|
|
412
423
|
console.error(`\n✅ voidx ${pkg.version} installed! Run: voidx\n`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chikhamx/voidx",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "npm launcher for voidx, a terminal AI coding agent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
|
11
|
-
"LICENSE"
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"*.whl"
|
|
12
13
|
],
|
|
13
14
|
"engines": {
|
|
14
15
|
"node": ">=16"
|
|
Binary file
|