Repository navigation
Releases
v0.8.3
Adds a toggle that shows category percentages of used context (thanks to @khoipm06),
and opens the views in hosts like Pi Web (thanks to @agegr), plus maintenance for Pi 1.5.0.
New
[usage]Addpto switch category percentages between context window and used context (#19 by @khoipm06).[package]Show these release notes in Pi's "Extension Updates" after an update.
Changed
[views]Open the views in hosts that renderctx.ui.custom()outside TUI mode, like Pi Web (#21 by @agegr).
Fixed
[injections]Keep the list height fixed when the selected row's status bar changes size.
v0.8.2
Adds clipboard copy and fixes mouse and trackpad wheel scrolling.
New
[views]Addcto copy the highlighted row or open preview to the clipboard (#16 by @felipezan).
Fixed
[views]Fix mouse and trackpad wheel scrolling by using Pi's TUI mouse events (#18 by @danielweck).[capture]Capture requests only in TUI mode, where the views can show them.
v0.8.1
Maintenance release with support for Pi 1.4.0 and a few small fixes.
Changed
[views]Show a tool's renderedToolsandRuleslines in its preview at 0 tokens.
Fixed
[capture]Match Pi 1.4's Responsesadditional_toolsdeclarations and tool notices.[injections]Keep the selected group when clearing a filter, even if labels repeat.
v0.8.0
Adds filtering and search feature (thanks to @ohlulu), plus a few optimizations
that reduce capture overhead.
New
Changed
[injections]Preview changed System Prompt parts as diffs, matching their+N/-N.[injections]Mark section edits that a forced system prompt replaced asForced.[views]Match Pi's (v0.86+) section names: Tools, Rules, Docs, and Addendum.[capture]Drop theprovider_stream_eventhandler, which cost an emit per streamed chunk.[capture]Detect a forced system prompt off the request's critical path.[capture]Skip equal conversation ends before normalizing message units for the guard.[capture]Copy provider payloads 3–6 times faster with plain loops.[capture]Copy only tool declarations that differ from the session, not every one.
v0.7.2
Maintenance release for Pi 1.3.0, which is now required, with fixes for its removal of thinking from other models.
Added
[config]AddautoProbingsetting to disable the silent probe (enabled by default).
Changed
[package]Require Pi 1.3.0 for its provider message adjustments.[ci]Target ES2024 and use itsMap.groupByandPromise.withResolvers.
Fixed
[usage]Leave out thinking from other models, which Pi 1.3 no longer sends.[capture]Match Pi 1.3's removal of thinking from other models.[capture]Skip GPT-6configuration_updateitems in the message channel.[probe]Detect nested user sends during a probe; warn when one took the probe's place.[ci]Clean up dependencies and pin protobufjs 7.6.6 to fix an audit warning.[capture]Don't fail when Pi sends nohiddenTools(#15).
v0.7.1
Support for Pi 1.2.0, which is now required, with fixes for its breaking changes.
Fixed
[probe]Stop blanking messages that extensions send while the probe run starts.[probe]Stop aborting custom-message runs that other extensions start during a probe.
v0.7.0
Injection capture has been redesigned for Pi 1.1. Instead of freezing the first request (Initial),
it now captures every request and compares it with the saved session. This shows request-only
injections that were invisible before: changes from later handlers, deleted or modified messages,
forced prompts, and tools Pi hides.
New
[injections]Use the latest request instead of the frozen Initial snapshot.[injections]Show payload changes and tools Pi hides.[injections]Update the injections view UI: clearer grouping,+N/-Ndiffs indicators, and previews.
Changed
[usage]Apply the latest request's added/modified/deleted messages instead of first-turn copies.[usage]Count the latest request's forced system prompt and mark it as Forced in the System Prompt preview.[probe]Skip probing for queued input, virtual models, and idle warming.[probe]Skip probing above the auto-compaction threshold or when settings cannot be checked.[context]Refuse both views with a warning while compaction is in progress.[package]Require Pi 1.1 and report older versions, drop the pre-0.86 prompt parser.[injections]Keep filenames visible by shortening the middle of long instruction-file paths.[injections]Group messages and payload changes into single rows with (N) counter.[injections]Keep TOTAL visible below the scrollable contribution tree.
Fixed
[injections]Fixed the issue reported in PR #9 by @Drakejiejie and adopted the PR’s tests.[usage]Leave out tools hidden from the model, such as by codemodeonly(#11).[usage]Count request replacements once and exclude removals (#6).[capture]Hide silent-probe setup aborts on Bun (#10 by @VinhLe1410).[probe]Preserve system-message positions when filtering and persist probe context omissions.[views]Group and label path-loaded extensions by file, not as onecliorlocalsource.

v0.6.0
New
[config]AddmapColsandmapRowsto size theContext Usagemap.
Changed
[context]Measure Pi 0.86 XML prompt sections, keeping custom sections as System Prompt parts.[usage]Size the auto-compact buffer from the current model'scompaction.modelOverridesreserve.[usage]Set the default context map to 16x16 cells.[ui]ExplainHighlighted,(guess),Dropped, andMovedas color-keyed description bullets.[capture]Report injected image sizes in previews instead of their base64 payloads.[capture]Show summary and bash content in previews instead of whole-message metadata.
Fixed
[text]Avoid quadratic scanning of unterminated terminal strings while sanitizing previews (#8 by @MDGChamomile).[capture]Strip opaque thinking and tool-call signatures from captured assistant previews (#7 by @MDGChamomile).[capture]Identify the silent probe by token so an input transform cannot trigger a real turn (#5).[capture]Omit text-block signatures, including Gemini reasoning envelopes, from previews.
v0.5.2
Fixed
[injections]Recover and mark relocated Available Tools and Guidelines blocks.
v0.5.1
Changed
[context]Align category ordering and naming with Pi terminology - #2.[injections]Show prompt additions as theExtension Additionspart ofSystem Prompt, counted by their owner.[injections]Align item naming with the category names in the injections view.[injections]Add sub-items forSystem Prompt:Preamble,Available Tools,Guidelines, etc - #2..[injections]Show injected stuff by extensions inSystem Prompt, highlighted and marked<- <extension>:<tool>.[injections]Attribute system-prompt additions to the injecting extension, marked(guess).[injections]Mark the prompt parts a--system-promptreplacement drops asDroppedat 0 tokens.[usage]Open single-entry categories directly as uncapped, scrollable content.
Fixed
[context]Count tokens forCurrent working directory.
