@xynogen/pix-update

Pi extension — /update self-update command

Packages

Package details

extension

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.1.13
Published
Jul 3, 2026
Downloads
2,514/mo · 140/wk
Author
xynogen
License
MIT
Types
extension
Size
28.2 KB
Dependencies
1 dependency · 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. Detects the Pi install method (Vite-Plus vp, Bun, npm, Homebrew, or native) and runs the appropriate upgrade command with 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.

Install

pi install npm:@xynogen/pix-update

Also included in @xynogen/pix-core:

pi install npm:@xynogen/pix-core

Full distro

Source: github.com/xynogen/pix-mono

To install the complete pix suite (all packages + Pi itself):

curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh

License

MIT