@spences10/pi-turn-timer
Live turn timing and persisted completion durations for Pi
Package details
Install @spences10/pi-turn-timer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@spences10/pi-turn-timer- Package
@spences10/pi-turn-timer- Version
0.1.1- Published
- Nov 4, 2026
- Downloads
- 237/mo · 237/wk
- Author
- spences10
- License
- MIT
- Types
- extension
- Size
- 11.1 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png",
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@spences10/pi-turn-timer

Turn timing
Shows live elapsed time through Pi's existing working indicator and persists completion durations as session entries. No model calls are made.
The timer starts at agent_start and finishes at agent_settled,
spanning retries, compaction, and queued continuations rather than
resetting at each low-level run. Aborted interactions display
“Stopped” rather than “Completed”. Reload and session shutdown clear
the timer and restore Pi's working message. Incomplete work is not
attributed to the next session.
Interactive mode shows the live clock. JSON, print, and RPC modes
record durations without changing terminal UI. Existing turn-timer
entries remain renderable after resuming a session.
Bundled into my-pi as turn-timer. Disable it with
/extensions disable turn-timer; changes apply on reload. The
working-message slot is shared with other extensions, so avoid
enabling another extension that owns that same slot.
Install
pi install npm:@spences10/pi-turn-timer
Development
Package scripts build transitive workspace dependencies first, then
run local tools through Vite+ with vp exec.
pnpm --filter @spences10/pi-turn-timer run check
pnpm --filter @spences10/pi-turn-timer run test
pnpm --filter @spences10/pi-turn-timer run build
License
MIT