Files
zero/package.json
Anandan 9bd93c62f8 fix: add android platform support for Termux npm install (#455)
`npm install -g @gitlawb/zero` failed on Android/Termux with EBADPLATFORM
because `package.json` `os` array lacked `"android"`. Termux provides a
Linux userspace — the existing `linux-arm64` binary works natively.

- Add `"android"` to the `os` array in package.json.
- Map `android` platform to `linux` in postinstall.mjs resolvePlatform().

Fixes #449
2026-07-03 22:44:47 +08:00

44 lines
823 B
JSON

{
"name": "@gitlawb/zero",
"version": "0.1.0",
"description": "Zero — a fast, multi-provider terminal coding agent.",
"type": "module",
"module": "bin/zero.js",
"bin": {
"zero": "bin/zero.js"
},
"scripts": {
"postinstall": "node scripts/postinstall.mjs"
},
"files": [
"bin/zero.js",
"scripts/postinstall.mjs"
],
"engines": {
"node": ">=18"
},
"dependencies": {
"agent-browser": "^0.30.1",
"tuistory": "^0.10.0"
},
"os": [
"linux",
"darwin",
"win32",
"android"
],
"cpu": [
"x64",
"arm64"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Gitlawb/zero.git"
},
"homepage": "https://github.com/Gitlawb/zero#readme",
"bugs": {
"url": "https://github.com/Gitlawb/zero/issues"
},
"license": "MIT"
}