@xcrong/pig
v1.0.1
Published
Pig Agent: a general-purpose agent harness (terminal UI). Installs the prebuilt pig binary from GitHub Releases on postinstall.
Readme
@xcrong/pig
Pig Agent: a general-purpose agent harness (terminal UI), installed via npm.
npm i -g @xcrong/pig
pig --helpHow it works
Postinstall downloads the prebuilt pig binary matching this package version
from the xcrong/pig GitHub Release
(currently linux-x64 and macos-arm64) into the managed layout
(~/.config/pig/bin/pig, or $PIG_HOME when set), pins
[cli] installer = "npm" in config.toml, and the pig shim on PATH
execs it. Future updates go through the package manager:
pig update delegates to npm i -g @xcrong/pig.
Versioning
package.json version tracks the pig release tag (v<version>).
Only publish a version whose GitHub Release (with both tarballs) exists.
