@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.2.5
Published
Oct 6, 2026
Downloads
628/mo · 81/wk
Author
xynogen
License
MIT
Types
extension
Size
12.7 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.

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