@mblarsen/pi-session-handoff

Warn when a Pi session is expensive or stale enough to hand off.

Packages

Package details

extension

Install @mblarsen/pi-session-handoff from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@mblarsen/pi-session-handoff
Package
@mblarsen/pi-session-handoff
Version
0.1.0
Published
Aug 25, 2026
Downloads
98/mo · 98/wk
Author
mblarsen
License
MIT
Types
extension
Size
7.1 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

session-handoff

Warn when a Pi session is expensive or stale enough to hand off.

The footer shows handoff after context usage exceeds 50,000 tokens and changes its severity after 100,000 tokens. It shows likely expired when the latest session message is more than 30 minutes old.

Install

pi install npm:@mblarsen/pi-session-handoff

Run /reload or restart Pi after installation.