@tombell/pi-sessions

Interactive session manager for Pi projects and directories

Packages

Package details

extension

Install @tombell/pi-sessions from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@tombell/pi-sessions
Package
@tombell/pi-sessions
Version
0.0.6
Published
May 31, 2026
Downloads
791/mo · 38/wk
Author
tombell
License
BSD-3-Clause
Types
extension
Size
14.5 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

@tombell/pi-sessions

Interactive session manager for Pi projects and directories.

Features

  • Adds a /sessions command that opens an interactive picker UI.
  • Loads sessions with SessionManager.list(ctx.cwd).
  • Lets you mark and unmark sessions for deletion.
  • Lets you rename sessions from the picker.
  • Updates the TUI status with total/marked session counts.
  • Clears state cleanly when a session is shut down.

Commands

  • /sessions — open the session manager

Usage

In interactive mode (TUI required):

  • Use arrow keys to navigate.
  • space/enter to mark or unmark a session.
  • r to rename the selected session.
  • d to delete marked sessions after confirmation.
  • enter on Done to close.
  • escape to close.

Install

  • From npm: pi install npm:@tombell/pi-sessions
  • Local/quick test: pi -e path/to/pi-sessions