pi-archive is a Pi package that adds /archive and /unarchive commands for moving session files in and out of Pi's archive directory.
Sessions whose names start with a GitLab issue prefix like #1234 are grouped into collapsible folds in the picker, collapsed by default.
The package stores archived sessions in Pi's config directory:
~/.pi/agent/session-archive/
It restores unarchived sessions back to:
~/.pi/agent/sessions/
Open a multi-select session picker for active sessions.
Enter: toggle selection, or expand/collapse a highlighted issue foldCtrl+D: archive selected sessions, or the highlighted session if none are selectedTab: switch between current-folder and all-sessions viewsCtrl+P: toggle full session path displayCtrl+S: toggle name sort ascending/descendingEsc/Ctrl+C: close
Open a multi-select picker for archived sessions.
Enter: toggle selection, or expand/collapse a highlighted issue foldCtrl+D: unarchive selected sessions, or the highlighted session if none are selectedTab: switch between current-folder archive and all archived sessionsCtrl+P: toggle full session path displayCtrl+S: toggle name sort ascending/descendingEsc/Ctrl+C: close
Install from Git:
pi install git:github.com/portavion/pi-archiveOr locally:
pi install /Users/portavion/code/pi-archivepackage.json: Pi package manifestextensions/archive.ts: extension source
MIT.