List and resume Claude Code, Codex, Antigravity, and Copilot CLI sessions from one place
Project description
cli-sessions
List and resume your Claude Code, Codex, Antigravity (agy), and Copilot CLI sessions from one place.
Each of these tools prints a session ID when you quit, with no built-in way to browse past sessions across tools. sessions scans each tool's local session storage and gives you one sorted, searchable list.
Install
pip install cli-sessions
Usage
sessions # all sessions, oldest first, most recent last
sessions --claude # only Claude Code
sessions --codex # only Codex
sessions --agy # only Antigravity
sessions --copilot # only Copilot CLI
Pick a number to resume that session — sessions runs the right resume command (claude --resume, codex resume, agy --conversation, or copilot --resume=) in the session's original working directory.
How it works
Nothing is sent anywhere. sessions only reads local session files each tool already writes:
- Claude Code:
~/.claude/projects/*/*.jsonl - Codex:
~/.codex/state_*.sqlite(or~/.codex/session_index.jsonlas a fallback) - Antigravity:
~/.gemini/antigravity-cli/conversations/*.db+history.jsonl - Copilot CLI:
~/.copilot/session-store.db
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_sessions-0.1.0.tar.gz.
File metadata
- Download URL: cli_sessions-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e0c74259cf8c5ae7e760a3baacb4022d89fab88dac97baab48be64048f7bd2
|
|
| MD5 |
4a18193537f21d37a885d4dca03be456
|
|
| BLAKE2b-256 |
cf30cd0e62afe75b7ac697c19487e920ceab0e122a4dce4190c6815a3abd3536
|
File details
Details for the file cli_sessions-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cli_sessions-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a1e608b584fd3e64150d29757f5958f8ab449998e0ae5343f2f6ee0038519b
|
|
| MD5 |
b2fd9a9ac1120e2d755613a1e0c9891e
|
|
| BLAKE2b-256 |
9d07228d5b454747ee2880f6a7a82e8e8b9bd9221ad200bc1cd3c998be76baa0
|