Skip to main content

Merged session picker for Codex and Claude Code

Project description

resume

Merged session picker for Codex and Claude Code.

Website: https://pennyroyaltea.github.io/resume/

resume reads local session metadata from ~/.codex and ~/.claude, shows a single sorted picker, then dispatches to the matching CLI:

codex resume <session-id>
claude --resume <session-id>

Install

GitHub Releases:

mkdir -p ~/.local/bin
curl -fsSL https://github.com/PennyroyalTea/resume/releases/latest/download/resume -o ~/.local/bin/resume
chmod +x ~/.local/bin/resume

Homebrew:

brew install pennyroyaltea/tap/resume

PyPI package name prepared:

pipx install pennyroyaltea-resume

This command works after the first PyPI publish. Configure PyPI Trusted Publishing for the Publish to PyPI workflow before running it.

Make sure ~/.local/bin is on your PATH.

Usage

resume                    # merged Codex + Claude picker
resume --last             # resume the most recent merged session
resume --provider codex   # only Codex sessions
resume --provider claude  # only Claude sessions
resume around world       # filter sessions by words
resume --fork             # fork selected session instead of resuming
resume --dry-run          # print the command instead of running it
resume --plain            # use the numbered prompt
resume --version          # print the installed version

In the built-in picker:

Enter: resume selected   /: filter   up/down or j/k: move   q: quit

Dependencies

No third-party Python dependencies. The script uses Python's standard library.

Runtime expectations:

  • python3
  • codex and/or claude
  • optional: fzf, only when using --fzf

Security

The script imports only Python standard library modules. It reads local session files and executes either codex or claude from PATH for the selected session.

Release

Releases are tag-driven:

git tag v0.1.0
git push origin v0.1.0

CI validates the script on every push and pull request. Tags matching v* create a GitHub Release with resume and resume.sha256.

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

pennyroyaltea_resume-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

pennyroyaltea_resume-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pennyroyaltea_resume-0.1.0.tar.gz.

File metadata

  • Download URL: pennyroyaltea_resume-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pennyroyaltea_resume-0.1.0.tar.gz
Algorithm Hash digest
SHA256 244d0ea02b4d2bea660158e5bcb9c3d71093752d911272181e29f19af79b57a6
MD5 06d91c6b02e25b380e628ee684d0eeec
BLAKE2b-256 ce77aca488947dab822b2b327b59c28599bbbc2a2058281dafbc581f1af4d9dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pennyroyaltea_resume-0.1.0.tar.gz:

Publisher: publish-pypi.yml on PennyroyalTea/resume

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pennyroyaltea_resume-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pennyroyaltea_resume-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa88d4ec64b3cb9dee98ed855e44c561fe133d373c3db1082af56b4b4631d042
MD5 445cbe07f4faae22a935dbe19efe473c
BLAKE2b-256 020c80fcab303fec0ffe0a2c149123b456a42a002424768f3db1bb48cbae79af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pennyroyaltea_resume-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on PennyroyalTea/resume

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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