pi-cache-clock

Cache Clock for pi: a countdown above the prompt until the prompt cache goes cold, with a keep-warm switch

Packages

Package details

extension

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

$ pi install npm:pi-cache-clock
Package
pi-cache-clock
Version
0.1.0
Published
Oct 25, 2026
Downloads
400/mo · 31/wk
Author
aadiverma
License
MIT
Types
extension
Size
14.8 KB
Dependencies
0 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

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

README

pi-cache-clock

Cache Clock for pi: a countdown above the prompt until the prompt cache goes cold — green while warm, amber as it cools, blue when cold. Every provider response restarts it. /cache-clock warm forces pi's own cache warming so the cache never goes cold. Ported from the Cache Clock mod for Claude Code.

Part of the coedit monorepo.

Install

pi install npm:pi-cache-clock      # once published
pi install ./packages/pi-cache-clock   # from a checkout

Usage

  • /cache-clock — show/hide the widget
  • /cache-clock 5m or /cache-clock 1h — set the ttl
  • /cache-clock warm — toggle keep-warm