copilot-sessions
v0.1.0
Published
TUI to find and browse previous GitHub Copilot CLI sessions
Maintainers
Readme
copilot-sessions
A terminal UI for finding and browsing previous GitHub Copilot CLI sessions.
Reads from ~/.copilot/session-store.db and ~/.copilot/session-state/<id>/. Read-only.
Install
From npm (once published):
npm install -g copilot-sessions
copilot-sessionsOr try it without installing:
npx copilot-sessionsFrom source:
npm install
npm run build
npm linkUsage
copilot-sessionsSet COPILOT_HOME to override the default ~/.copilot location.
Platforms
Works on macOS, Linux, and Windows with a single install path — no native compilation. SQLite is provided by sql.js (WASM), so npm install / npx never needs to rebuild a native module.
- macOS — uses
pbcopy/open. No setup. - Linux — needs one of
wl-copy(Wayland),xclip, orxselon$PATHfor yank.xdg-openforo. - Windows — uses
clip.exeandstart. Best run in Windows Terminal (legacycmd.execonsole has spotty raw-mode/ANSI support).
Keys
| Key | Action |
| --- | ------ |
| / | focus search |
| Esc | clear focus / close overlay |
| j k / ↑ ↓ | move selection |
| Tab / Shift+Tab | cycle focus (search → list → detail) |
| 1..4 | switch detail tabs (Overview, Turns, Checkpoints, Files) |
| g / G | top / bottom |
| Ctrl-d / Ctrl-u | half-page |
| Enter | expand turn |
| y | yank session id |
| Y | yank session folder path |
| o | open session folder |
| ? | help overlay |
| q / Ctrl-c | quit |
