Anthropic Updates Claude Code to Sync Sessions Between CLI and Desktop
Anthropic has updated Claude Code with a new `/resume` command, allowing developers to seamlessly import and continue CLI terminal sessions directly within the desktop application. This bridges the gap between the two environments, preserving full conversation history, code snippets, and context. This update eliminates the need for developers to manually recreate context and re-explain project details when switching between terminal and desktop environments, significantly improving workflow efficiency. It marks a step forward in turning the desktop application into a centralized control hub for AI-assisted coding. While developers can now pull CLI sessions into the desktop app using `/resume` and push them using `/desktop`, sessions started natively on the desktop cannot yet be transferred back to the terminal. Additionally, the checkpoint mechanism (`/rewind`) remains fully functional for resumed sessions.
## BACKGROUND
Claude Code is an agentic command-line tool developed by Anthropic that helps developers write, edit, and manage code using natural language. Previously, session histories on the desktop, web, and VS Code environments were isolated from the local CLI terminal, causing developers to lose valuable context when switching interfaces.