@chikhamx/voidx 3.0.0 → 3.1.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.
@@ -418,10 +418,12 @@ function buildPythonDownloadUrl(mirrorBase, tag, filename) {
418
418
  return `${mirrorBase}/${tag}/${filename}`;
419
419
  }
420
420
 
421
- main().catch((err) => {
422
- console.error(`\n❌ Setup failed: ${err.message}\n`);
423
- process.exit(1);
424
- });
421
+ if (require.main === module) {
422
+ main().catch((err) => {
423
+ console.error(`\n❌ Setup failed: ${err.message}\n`);
424
+ process.exit(1);
425
+ });
426
+ }
425
427
 
426
428
  module.exports = {
427
429
  buildPythonDownloadUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chikhamx/voidx",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "npm launcher for voidx, a terminal AI coding agent.",
5
5
  "bin": {
6
6
  "voidx": "bin/voidx.js"