Fix pi-agent CLI execution issue when installed globally

- Remove isMainModule check that was preventing execution via npm symlink
- CLI now runs main function directly when executed
- Bump version to 0.5.1
This commit is contained in:
Mario Zechner 2025-08-09 18:02:34 +02:00
parent c615f3f011
commit d304f377d7
10 changed files with 19 additions and 110 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi",
"version": "0.5.0",
"version": "0.5.1",
"description": "CLI tool for managing vLLM deployments on GPU pods",
"type": "module",
"bin": {
@ -33,7 +33,7 @@
"node": ">=20.0.0"
},
"dependencies": {
"@mariozechner/pi-agent": "^0.5.0",
"@mariozechner/pi-agent": "^0.5.1",
"chalk": "^5.5.0"
},
"devDependencies": {}