pi-cache-countdown

Pi extension: shows a prompt-cache expiry countdown in the footer

Packages

Package details

package

Install pi-cache-countdown from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-cache-countdown
Package
pi-cache-countdown
Version
1.0.0
Published
Oct 22, 2026
Downloads
336/mo · 29/wk
Author
eciton
License
MIT
Types
package
Size
3.2 KB
Dependencies
0 dependencies · 1 peer

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-cache-countdown

Pi extension that shows a prompt-cache expiry countdown (⏱ 4:32) in the footer status line.

Install

pi install npm:pi-cache-countdown
# or
pi install git:github.com/eciton/pi-cache-countdown

Behavior

  • Counts down from the timestamp of the latest assistant response.
  • Shows expired when the TTL has passed; hidden if the response had no cache read/write.
  • TTL is 5 minutes, or 1 hour when PI_CACHE_RETENTION=long. The real TTL depends on your provider; edit TTL_MS if it differs.