Skip to content

Needle 0.2.2

Latest

Choose a tag to compare

@e24z e24z released this 09 Jul 14:35
· 1 commit to main since this release

Needle 0.2.2

New

  • needle update: self-update for tarball-managed installs. Downloads the release artifact, verifies its SHA-256 checksum, validates and extracts the archive in pure Rust (no external tar), stages the payload swap with rollback, and re-runs setup to refresh the worker venv and Pi package. Supports --version, --archive-url, --prefix, --dry-run, --force, --yes, --no-setup, and short-circuits when already up to date.
  • needle setup --refresh-install (used internally by update) reinstalls release-owned payloads even when they look ready.

Changed

  • The Pi extension entry point is split into focused modules (pi/commands.js, pi/config.js, pi/daemon.js, pi/state.js, pi/statusline.js, pi/tool-overrides.js, ...). No behavior change.
  • Release archives now ship with a .sha256 checksum asset, required by needle update.
  • Setup stages the Pi package copy before unregistering, so a failed refresh can no longer leave Pi without a registration.

Upgrading from 0.2.x

Older binaries don't have needle update yet — re-run the installer once:

curl -fsSL https://e24z.github.io/needle/install.sh | bash

Existing model downloads and worker state under NEEDLE_HOME are preserved. From this release onward, needle update handles future upgrades.