pi-session-id-footer

Show the current Pi session id in the footer.

Packages

Package details

extension

Install pi-session-id-footer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-session-id-footer
Package
pi-session-id-footer
Version
0.1.0
Published
Aug 4, 2026
Downloads
194/mo · 8/wk
Author
patlux
License
MIT
Types
extension
Size
17.4 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-session-id-footer

A small pi extension that shows the current Pi session id in the footer.

This is useful when you want to fork or resume the session later without running /session first.

Install

pi install npm:pi-session-id-footer

Reload an already-running Pi process:

/reload

The default footer keeps its normal layout and adds a short session id right-aligned on the folder/branch line:

~/dev/project (main)                                      sid 019fcc94-7f10-7545

The short id is a UUID prefix accepted by pi --session <id>.

Configuration

Set PI_SESSION_ID_FOOTER_FORMAT before starting Pi:

Value Display
short First three UUID groups, for example 019fcc94-7f10-7545 (default)
full Complete session UUID

Example:

PI_SESSION_ID_FOOTER_FORMAT=full pi

Unknown values fall back to short.

Ephemeral sessions show:

sid unsaved

Notes

  • The extension preserves Pi's normal footer content and status lines.
  • Status lines from other extensions, such as MCP server counts, remain below the model/context line.
  • It does not modify sessions.