@xynogen/pix-update
Pi extension — /update self-update command
Package details
Install @xynogen/pix-update from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@xynogen/pix-update- Package
@xynogen/pix-update- Version
0.2.11- Published
- Nov 4, 2026
- Downloads
- 1,407/mo · 691/wk
- Author
- xynogen
- License
- MIT
- Types
- extension
- Size
- 14.8 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"src/extension.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pix-update
Pi extension — /update self-update command.
What it does
Registers a /update slash command that updates Pi and refreshes all installed @xynogen/pix-* extensions. Updates Pi with Pi's own pi update --self, which detects the install method (Bun, npm, pnpm, or yarn), and wraps it in a retry loop that distinguishes transient errors (rate limits, timeouts, network failures) from hard failures. After updating Pi, runs pi update --extensions to refresh extensions from npm. The command shows a progress overlay, confirms the action upfront, and closes Pi at the end so the next launch picks up the new binaries.
Each step has a timeout of at least 300 seconds (io.timeoutSec in ~/.pi/agent/pix.json wins when it is larger). A timed-out or killed step reports a failure, not success. If npm registry metadata is stale and some packages stay on an old version, /update shows a warning that names them. Start Pi with --update to queue /update at session start.
Install
pi install npm:@xynogen/pix-update
Bundled in
@xynogen/pix-core. Install it alone only if you do not use pix-core.
Full distro
This package is part of Pix. The installer sets up Pi and the full distro. See Install for the notes for each OS.
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.ps1 | iex
License
MIT