Skip to main content

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.jsonl as a fallback)
  • Antigravity: ~/.gemini/antigravity-cli/conversations/*.db + history.jsonl
  • Copilot CLI: ~/.copilot/session-store.db

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_sessions-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_sessions-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for cli_sessions-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10e0c74259cf8c5ae7e760a3baacb4022d89fab88dac97baab48be64048f7bd2
MD5 4a18193537f21d37a885d4dca03be456
BLAKE2b-256 cf30cd0e62afe75b7ac697c19487e920ceab0e122a4dce4190c6815a3abd3536

See more details on using hashes here.

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

Hashes for cli_sessions-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51a1e608b584fd3e64150d29757f5958f8ab449998e0ae5343f2f6ee0038519b
MD5 b2fd9a9ac1120e2d755613a1e0c9891e
BLAKE2b-256 9d07228d5b454747ee2880f6a7a82e8e8b9bd9221ad200bc1cd3c998be76baa0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page