클로드 사용량 한도에 도달하셨나요? 다른 곳에서 AI 코딩 세션을 재개하세요
hackernews
|
|
📦 오픈소스
#ai 코딩
#claude
#개발 도구
#사용량 제한
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
새로운 오픈소스 CLI 도구인 'ai-resume-cli'가 클로드 코드(Claude Code), 코덱스(Codex), 코파일럿(Copilot) 등 다양한 AI 코딩 툴 간의 세션을 하나로 통합하여 이어 작업할 수 있도록 지원합니다. 사용자는 단말기에 `resume` 명령어를 입력하기만 하면 인터랙티브 TUI 환경에서 과거 작업 기록을 선택해 동일한 툴로 이어서 작업하거나 다른 툴을 실행해 대화 내역을 맥락으로 불러올 수 있습니다. Node.js 18 이상이 설치된 macOS, 리눅스, 윈도우즈 환경에서 Bash, Zsh, Fish, PowerShell 등 다양한 셸을 통해 손쉽게 설정 및 사용이 가능합니다.
본문
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 Quickest way: Ask your AI agent to install this tool for you ;) 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 -y ai-resume-cli@latest) [ $? -eq 0 ] && [ -n "$cmd" ] && eval "$cmd" } zsh — add to ~/.zshrc : resume() { local cmd cmd=$(FORCE_COLOR=3 npx -y ai-resume-cli@latest) [ $? -eq 0 ] && [ -n "$cmd" ] && eval "$cmd" } fish — add to ~/.config/fish/config.fish : function resume set cmd (FORCE_COLOR=3 npx -y ai-resume-cli@latest) if test $status -eq 0; and test -n "$cmd" eval $cmd end end PowerShell (Windows) — add to your $PROFILE : function resume { $env:FORCE_COLOR = '3' $cmd = npx -y ai-resume-cli@latest $env:FORCE_COLOR = '' if ($LASTEXITCODE -eq 0 -and $cmd) { Invoke-Expression $cmd } } Reload your shell (or open a new terminal), then: resume 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 . | 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. 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 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. - Node.js 18+ - macOS, Linux, or Windows (PowerShell or Git Bash) - At least one of: Claude Code, Codex, Copilot CLI 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 Bug reports and pull requests welcome at inevolin/resume-cli. MIT
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유