github opensec-git/Pi-Bolt bolt-v1.3.1
Pi-Bolt 1.3.1

one hour ago

Pi-Bolt 1.3.1 is 1.3.0 with fixes for grep, resumed sessions, extensions, Herdr and the installer, two
defaults that now follow Pi 1.6.0, and less work for the first answer after launch. Pi is 1.6.0, as in 1.3.0. The engine
is unchanged, so the runtimes are 1.3.0's.

Changed

  • Two defaults follow Pi 1.6.0: the openai, azure and openai-codex providers default to GPT-6.2 Sol, and Anthropic
    message threads are on by default for any provider whose baseUrl is on api.anthropic.com
    (compat.supportsMessageThreads turns them off or on for a model). cacheWarming stays "streaming", and remote control
    stays off until you turn it on.
  • The first answer after launch no longer loads the system's Unicode data: text width, truncation and wrapping handle
    emoji between single characters themselves, and text that needs grapheme segmentation is segmented in one call.
  • Syntax highlighting registers a common language's grammar the first time a code block asks for it. Automatic language
    detection gives the same result whichever grammars were registered first.
  • OpenAI-compatible providers reuse the client between requests with the same configuration. A changed key or address
    replaces the clients it kept.

Added

  • Paseo (#327, by @XelHaku): the shell installer offers to add
    Pi-Bolt as a Paseo provider next to Pi when it detects Paseo. PIBOLT_PASEO=yes adds it without asking,
    PIBOLT_PASEO=no skips it. Details

Fixed

  • Extensions that draw tool rows themselves (#339): a tool row has
    Pi 1.6.0's members again (hasRendererDefinition(), getRenderShell(), contentBox, contentText,
    contentTextRegion, selfRenderContainer, imageComponents, imageSpacers), so extensions such as pi-tidy that
    replace its drawing or mouse handling work, and a click no longer ends with an error. An assistant message's
    thinkingVisibilityOverrides is always a map, the contentContainer of a streaming answer or of running bash output
    holds the current rows, and the parts of a tool row an extension reads hold the arguments streamed so far.
  • grep never stalls Pi-Bolt (#342): a grep pattern that
    could backtrack for long on a line, such as several .* with alternation over a minified one-line file, is searched with
    ripgrep instead of in-process, found or downloaded as Pi does, and stopping the call stops the search. Without ripgrep,
    the other lines are searched and the result names the lines left out. Other patterns are searched in-process as before,
    with the same results.
  • A session file with a damaged line keeps its history (#343): a
    line left unfinished by an interrupted write (a full disk, a killed process) no longer cuts the conversation at that point
    when the session is resumed. An entry whose parent was lost with the damaged line is linked to the entry before it, and the
    next entry is written on a line of its own. Files without damaged lines load as before.
  • Pi's packages in every module of an extension (#331): in the
    standalone build, an extension's ES modules, .cjs files and .js files in node_modules that import
    @earendil-works/pi-* or @mariozechner/pi-* get Pi-Bolt's own packages, not a copy installed next to the extension.
  • Herdr panes that hold another agent's session (#330): when Herdr
    does not accept Pi-Bolt's session for a pane, Pi-Bolt reports its state without it and asks again after 10 minutes, instead
    of every report being refused. Herdr gives such a pane to its own Pi integration only; pi-bolt --herdr-pi reports as that
    integration. Troubleshooting
  • Installing on Alpine and BusyBox (#328): the installer unpacks
    a .tar.xz only with XZ Utils' xz or a tar that reads it, and otherwise downloads the .tar.gz, checked against the
    signed SHA256SUMS. Stopping the installer stops the download and the unpacking and leaves nothing behind.
  • OpenSSL 3 installed as openssl3 (#323), as on AlmaLinux and
    RHEL 8: the installer and scripts/fetch-runtime.sh check the release signature with it.
  • Arch Linux (#324): the README points to the maintained AUR
    packages pi-bolt-bin and pi-bolt-avx2-bin.

Measured on macOS on Apple silicon (an M5), 1.2.1 / 1.3.0 / 1.3.1, medians of 24 runs, builds interleaved:

Instructions CPU Peak memory
pi --version 54 / 54 / 54 M 6 / 6 / 6 ms 6 / 6 / 6 MB
pi -p (5 model turns), blank home 189 / 169 / 168 M 23 / 21 / 21 ms 20 / 19 / 19 MB
pi -p, typical home 206 / 187 / 185 M 24 / 22 / 22 ms 21 / 20 / 20 MB
pi -p, typical home with opensec-pi-subagents and opensec-pi-todo 438 / 424 / 424 M 59 / 57 / 56 ms 33 / 32 / 32 MB
Interactive, 5 prompts 560 / 438 / 428 M 86 / 83 / 84 ms 27 / 25 / 25 MB
60,000-character answer, per frame (12 runs) 1.26 / 1.26 / 1.26 M
Resuming a 2,292-entry session (pi -c, fullscreen), until the first frame (12 runs) 531 / 424 / 429 M 74 / 28 / 29 MB

Measured on Linux x86-64 (an AMD EPYC 9355P, shared with other work), 1.2.1 / 1.3.0 / 1.3.1, medians of 24 runs, builds
interleaved:

CPU Peak memory
pi --version 4 / 4 / 4 ms 2 / 2 / 2 MB
pi -p (5 model turns), blank home 29 / 27 / 27 ms 17 / 15 / 15 MB
pi -p, typical home 30 / 28 / 28 ms 17 / 16 / 16 MB
pi -p, typical home with opensec-pi-subagents and opensec-pi-todo 71 / 66 / 68 ms 29 / 28 / 28 MB
Interactive, 5 prompts 106 / 91 / 88 ms 26 / 24 / 23 MB
60,000-character answer, per frame (12 runs) 0.55 / 0.48 / 0.43 ms
Resuming a 2,292-entry session (pi -c, fullscreen), until the first frame (12 runs) 67 / 62 / 60 ms 76 / 26 / 26 MB

Peak memory is the physical footprint (macOS) or the private memory (Linux); for resuming, the footprint once drawing settles.
The macOS interactive CPU figures are from a second set of 24 runs, as that row varied between sets. 1.3.0 and 1.3.1 on Linux
started with pi-start.

Against 1.3.0 (medians, n=24): the first answer after launch in the TUI takes 5% fewer instructions and 5% less CPU on macOS
(87.5 → 83.2 M, 17.8 → 16.9 ms) and 11% less CPU on Linux (14.7 → 13.1 ms), with less memory on both. No measured row is
slower than 1.3.0 beyond noise. Seven grep calls over packages/ take the same time in all three versions.

Some rows still cost more than in 1.2.1, as they did in 1.3.0. The first answer over RPC takes about 6% more instructions on
macOS (22.4 → 23.8 M), most of it the newer OpenAI SDK that Pi 1.6.0 brings, loaded at the first request. The TUI's first
answer takes 7% fewer instructions than 1.2.1 on macOS, but 8% more CPU time. Idle CPU after an answer is higher on macOS
(0.58 → 0.68 ms a second; on Linux it is about half of 1.2.1's), and idle memory on Linux is 0.6 MiB higher (13.9 → 14.5 MiB).
Raw results and the scripts: bench/results/2026-11-25-1.3.1.

Runtimes

The engine is 1.3.0's (runtime stamp 13ef7565ee8ee6b5): the release workflow
(run 45502750227) checked the attestations of 1.3.0's
runtimes and packed them into the archives below, which it attests in turn: gh attestation verify <file> -R opensec-git/Pi-Bolt.

Runtime SHA-256
pi-bolt-runtime-linux-x64.tar.gz 46aa25e47d31b773b4d8ffa1f6910e15d06a70373b6f6e56955c1c5df5ab75ab
pi-bolt-runtime-linux-x64-musl.tar.gz d2be7a4335362a38e3923d79eabfc173af7197e42ea73ca9d15696a9dfb68ce6
pi-bolt-runtime-linux-arm64.tar.gz 690b3a68e336cd94b5e3c23e52f897274e374f0d4dc030332c3fceaca465dced
pi-bolt-runtime-darwin-arm64.tar.gz ab1419fc3a3a3be006e56e3795616c691328de86fb9fb3ae890a37c05fff1e52
pi-bolt-runtime-win32-x64.zip 1be1730fee98e18ed51d81216202a3d008630800b3fc8b93a03a7f8bcd272c11

Install

curl -fsSL https://pi-bolt.opensec.in/install.sh | sh
irm https://pi-bolt.opensec.in/install.ps1 | iex
powershell -c "irm https://pi-bolt.opensec.in/install.ps1 | iex"

or pi-bolt update, or npm install -g --allow-scripts=pi-bolt pi-bolt, or bun add -g --trust pi-bolt, or:

  • Homebrew (macOS on Apple silicon, Linux): brew install opensec-git/tap/pi-bolt
  • Scoop (Windows): scoop bucket add opensec-git https://github.com/opensec-git/scoop-bucket, then scoop install opensec-git/pi-bolt
  • mise: github:opensec-git/Pi-Bolt with the options in the installation guide

The installer checks the release signature with OpenSSL 3, ssh-keygen (OpenSSH 8.1 or later), or an installed Pi-Bolt.
Every archive also has a GitHub build attestation: gh attestation verify <file> -R opensec-git/Pi-Bolt.

Asset For
pi-bolt-linux-x64.tar.xz / .tar.gz Recommended on Linux x86-64. CPUs with AVX2 (Intel Haswell 2013+, AMD Zen+).
pi-bolt-linux-x64-baseline.tar.xz / .tar.gz Any x86-64 CPU with SSE4.2.
pi-bolt-linux-x64-jit.tar.xz / .tar.gz JIT also on, for plugins loaded at run time.
pi-bolt-linux-x64-musl.tar.xz / .tar.gz Alpine Linux and other musl systems on x86-64 (AVX2). Needs libstdc++.
pi-bolt-linux-x64-musl-baseline.tar.xz / .tar.gz musl on any x86-64 CPU with SSE4.2.
pi-bolt-linux-x64-musl-jit.tar.xz / .tar.gz musl, JIT also on.
pi-bolt-linux-arm64.tar.xz / .tar.gz Linux on ARM64, any 64-bit ARM CPU; Android in Termux, with the installer.
pi-bolt-linux-arm64-jit.tar.xz / .tar.gz Linux on ARM64, JIT also on.
pi-bolt-darwin-arm64.tar.xz / .tar.gz macOS. Macs with Apple silicon, macOS 13 or later.
pi-bolt-darwin-arm64-jit.tar.xz / .tar.gz macOS, JIT also on.
pi-bolt-win32-x64.zip Windows. Windows 10 (1809) or 11 on x64; compiled code on AVX2 CPUs, bytecode on others.
pi-bolt-win32-x64-jit.zip Windows, JIT also on.
pi-bolt-runtime-linux-x64.tar.gz, pi-bolt-runtime-linux-x64-musl.tar.gz, pi-bolt-runtime-linux-arm64.tar.gz, pi-bolt-runtime-darwin-arm64.tar.gz, pi-bolt-runtime-win32-x64.zip The Pi-Bolt Bun runtime, for compiling plugins in.
pi-bolt-kit-linux-x64.tar.gz, pi-bolt-kit-linux-x64-musl.tar.gz, pi-bolt-kit-linux-arm64.tar.gz, pi-bolt-kit-darwin-arm64.tar.gz What pi-bolt compile builds with, besides the runtime.
install.sh, install.ps1 The installers, listed in the signed SHA256SUMS: pi-bolt update runs them only after checking them.

Linux x86-64 or ARM64 with glibc 2.17 or later; Alpine and other musl Linux on x86-64; Android 7 or later on 64-bit ARM, in Termux; macOS 13 or later on Apple silicon;
Windows 10 1809 or later, or Windows 11, on x64.

Don't miss a new Pi-Bolt release

NewReleases is sending notifications on new releases.