Skip to content

Releases: tmustier/pi-extensions

usage-extension v0.2.1

17 Apr 16:04

Choose a tag to compare

What changed

  • /usage dashboard now shows a one-line footer reminding you of the token formulas:
    Tokens = Input + Output + CacheWrite · ↑In = Input + CacheWrite (as of 0.2.0)
  • README adds an explicit As of 0.2.0 callout under the columns table so the new semantics are obvious at a glance.

Why

In 0.2.0 we included CacheWrite in the main Tokens total so Anthropic usage stops being undercounted. This release just makes that change visible and self-documenting inside the dashboard itself.

Install / upgrade

pi install npm:@tmustier/pi-usage-extension

Full changelog: CHANGELOG.md

usage-extension v0.2.0

17 Apr 15:32

Choose a tag to compare

What changed

  • Include cacheWrite in the main Tokens total and in the ↑In column so providers like Anthropic that report fresh prompt work under cacheWrite are no longer undercounted.
  • Keep cacheRead out of Tokens so repeated cache hits do not swamp the dashboard.
  • Keep the Cache column as combined cache read + write tokens for reference.

Why

Pi's session schema defines totalTokens = input + output + cacheRead + cacheWrite. The previous version only counted input + output, so Anthropic usage looked much smaller than it really was — most of Anthropic's fresh prompt bytes show up under cacheWrite, not input.

Semver note

Minor bump because the numbers shown under Tokens and ↑In will be higher for Anthropic usage after upgrading. Cost, ↓Out, and Cache are unchanged.

Install

pi install npm:@tmustier/pi-usage-extension

Full changelog: CHANGELOG.md

usage-extension v0.1.6

09 Apr 16:08
544a4f7

Choose a tag to compare

0.1.6 - 2026-04-09

  • Add a "Last Week" time period tab
  • Thanks @ttttmr

usage-extension v0.1.5

09 Apr 14:12
112dd71

Choose a tag to compare

0.1.5 - 2026-04-09

  • Keep recursive subagent session scanning in /usage
  • Remove the deduped/raw mode toggle and keep the deduped view as the default behavior

usage-extension v0.1.4

09 Apr 12:46
31c634f

Choose a tag to compare

0.1.4 - 2026-04-09

  • Scan session files recursively so nested subagent runs are included in /usage
  • Add deduped vs raw counting modes to compare copied branch history against raw file totals

ralph-wiggum v0.1.6

23 Mar 14:58

Choose a tag to compare

Fixes

  • Added promptSnippet and promptGuidelines to ralph_start and ralph_done tools. Since Pi 0.59, custom tools without promptSnippet are no longer listed in the default "Available tools" system prompt section, reducing model discoverability. Both Ralph tools now declare concise prompt metadata so they appear reliably in the system prompt.

Compatibility

  • Tested and loads cleanly under Pi 0.62.
  • No breaking API changes required — this is a metadata-only improvement.

pi-extensions v0.1.22

23 Mar 14:58

Choose a tag to compare

Changes

Umbrella release covering metadata fixes for Pi 0.59+ / 0.62 compatibility:

  • ralph-wiggum — added promptSnippet / promptGuidelines to ralph_start and ralph_done so both tools appear in the system prompt "Available tools" section (required since Pi 0.59).
  • files-widget — widened peer deps from ^0.50.0 to * to eliminate stale peer-dep warnings on current Pi.

Compatibility

All extensions tested and loading cleanly under Pi 0.62.

Install / update

pi update

files-widget v0.1.15

23 Mar 14:58

Choose a tag to compare

Fixes

  • Widened peer dependency ranges from ^0.50.0 to * for @mariozechner/pi-coding-agent and @mariozechner/pi-tui. The previous pinned ranges caused unnecessary peer-dep warnings for users on Pi 0.58+. The extension has no compile-time dependency on specific Pi internals, so * is the correct range.

Compatibility

  • Tested and loads cleanly under Pi 0.62.
  • No code changes — metadata only.

weather v0.1.1

12 Feb 09:33

Choose a tag to compare

0.1.1 - 2026-02-12

  • Added an embedded demo GIF in the README that links to the MP4 demo hosted on GitHub.
  • Kept demo media out of npm installs while improving README preview on GitHub/npm.

weather v0.1.0

12 Feb 02:29

Choose a tag to compare

0.1.0 - 2026-02-12

  • Initial release of /weather weather widget extension.
  • Added native Rust bridge (native/weathr-bridge) with automatic shell fallback.
  • Added ANSI color preservation in the weather widget output.
  • Fixed shell fallback PTY bootstrap under Bun by binding script stdin to /dev/null (avoids socket tcgetattr errors without stealing ESC input from Pi).
  • /weather-config now warns when location.auto=true (which overrides manual latitude/longitude).
  • Added optional dependency support for platform prebuilt native bridge packages (@tmustier/pi-weather-bridge-*).
  • Added release automation workflow for publishing native bridge platform packages (.github/workflows/weather-native-bridge.yml).
  • /weather now renders in the main custom UI area (above the editor) instead of centered overlay mode.
  • Added /weather-config command and isolated config at ~/.pi/weather-widget/weathr/config.toml.