A powerful session deletion tool for the Pi coding agent. Bulk delete unwanted sessions, grouped by project, with a single command.
- 🗑️ Batch Deletion: Delete multiple sessions in one go.
- 📁 Project Grouping: Find sessions organized by their project folder.
- ✅ Checkbox Selection: Multi-select sessions using an interactive list.
⚠️ Safety First: Red confirmation dialog showing all selected sessions before permanent deletion.- 🔄 Auto-Reset: Automatically triggers a new session if you delete the one you're currently in.
Install as a global Pi package:
pi install npm:pi-delete-sessionOr via GitHub:
pi install git:github.com/wpbasket/pi-delete-sessionType the following command in Pi:
/delete-session| Key | Action |
|---|---|
↑ / ↓ |
Navigate list |
Space |
Toggle checkbox [ ] ↔ [✓] |
a |
Toggle Select All |
Enter |
Proceed to confirmation / delete |
Esc |
Cancel / Exit |
To install locally for development:
pi install ./path/to/pi-delete-sessionMIT