TheEdgeOfRage/pi-tree-pruning
Pi Tree Pruning
Pi extension that removes inactive branches from an on-disk session tree. It creates a backup before it changes the session. Use /tree-prune undo to restore a backup.
Install
pi install git:git.theedgeofrage.com/TheEdgeOfRage/pi-tree-pruning
Use
Run /tree-prune in Pi, choose inactive branches, and confirm the deletion.
Prune inactive branches:
↑↓ move • space toggle • enter confirm (0 selected branches) • esc cancel
→ [ ] user: initial prompt… · 346 entries
[ ] │ ├─ [delete] user: very big branch that we no longer need… · 177 entries
[ ] │ ├─ [remember this] user: something very important… · 1 entry
[ ] │ └─ user: first investigation… · 71 entries
[ ] [delete] branch summary: old investigation… · 82 entries