npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-resume-cli

v1.1.1

Published

Interactive TUI session picker for AI coding tools (Claude Code, Codex, Copilot).

Downloads

676

Readme

resume-cli

Interactive TUI for picking up where you left off across AI coding tools. Lists your recent sessions from Claude Code, Codex, and Copilot in one place — select one, choose a tool, and continue.

▶ Claude Code    Apr 07 14:32  2h ago    refactor the auth middleware
  Copilot        Apr 07 11:05  5h ago    add pagination to the API
  Codex          Apr 06 09:14  1d ago    fix the flaky test in parser

Continue in: ◀ Claude Code ▶   ↑↓ navigate · tab: switch tool · ↵ launch · q quit

Quick start

Add the resume shell function to your shell profile — then just type resume from anywhere.

bash — add to ~/.bashrc:

resume() {
  local cmd
  cmd=$(FORCE_COLOR=3 npx ai-resume-cli@latest 2>/dev/tty)
  [ $? -eq 0 ] && [ -n "$cmd" ] && eval "$cmd"
}

zsh — add to ~/.zshrc:

resume() {
  local cmd
  cmd=$(FORCE_COLOR=3 npx ai-resume-cli@latest 2>/dev/tty)
  [ $? -eq 0 ] && [ -n "$cmd" ] && eval "$cmd"
}

fish — add to ~/.config/fish/config.fish:

function resume
    set cmd (FORCE_COLOR=3 npx ai-resume-cli@latest 2>/dev/tty)
    if test $status -eq 0; and test -n "$cmd"
        eval $cmd
    end
end

PowerShell (Windows) — add to your $PROFILE:

function resume {
    $cmd = npx ai-resume-cli@latest
    if ($LASTEXITCODE -eq 0 -and $cmd) { Invoke-Expression $cmd }
}

Reload your shell (or open a new terminal), then:

resume

How to update

The @latest tag in the function means npx always fetches the newest version. No action needed.

If you want a specific version, replace @latest with e.g. @1.1.0.

Controls

| Key | Action | |-----|--------| | ↑ / ↓ | Navigate sessions | | Tab | Cycle target tool | | Enter | Launch selected session | | q / Esc | Quit |

Only tools installed on your machine appear in the tool cycle.

How it works

Sessions are read directly from each tool's local storage:

| Tool | Session directory | |------|------------------| | Claude Code | ~/.claude/projects/ | | Codex | ~/.codex/sessions/ | | Copilot | ~/.copilot/session-state/ |

Same-tool resume uses the tool's native --resume <uuid> flag — no data is copied or converted.

Cross-tool resume starts the target tool with an initial message pointing to the original session file. The AI reads it and continues from where you left off, with full conversation history as context.

The CLI prints the resulting command to stdout and exits. The shell function captures it and runs it in your current shell — this is why terminal ownership is always clean, on every platform.

Requirements

Local development

git clone https://github.com/inevolin/resume-cli
cd resume-cli
npm install
npm run build
node dist/cli.js

To use it globally from the local clone:

npm link
resume        # works in any directory
npm unlink -g ai-resume-cli  # remove when done

Run tests:

npm test
npm run test:integration

Contributing

Bug reports and pull requests welcome at inevolin/resume-cli.

License

MIT