@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.11
Published
Aug 16, 2026
Downloads
419/mo · 22/wk
Author
tombell
License
BSD-3-Clause
Types
extension
Size
20.2 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 a dedicated session manager UI.
  • Loads sessions with SessionManager.list(ctx.cwd).
  • Supports type-to-filter search, a session list, and a details pane.
  • Lets you mark and unmark sessions for deletion.
  • Lets you rename sessions from the session manager.
  • 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):

  • Type to filter by name, ID, message, or path; backspace edits the filter.
  • Use arrow keys to navigate.
  • space/enter to mark or unmark a session.
  • ctrl+r to rename the selected session.
  • ctrl+d to open an in-view confirmation for deleting marked sessions.
  • escape/ctrl+c to close.

Install

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