VCode home

Resume a session you started in a terminal

Agents: claude, codex · On: phone, desktop

A claude or codex session you started in a plain terminal can be picked up in VCode. The transcript is imported into a new tab and your next message continues that same session.

Why you would use it

You were working at the desk, you are now on the phone, and the conversation you want is in a tmux pane you cannot reach. Rather than starting over, adopt the session: the agent still has the whole context.

How to use it

  1. Type /resume (or /sessions) in the composer (#draft) and send it. The composer empties and the sessions sheet (#sessions) opens, scrolled to the resume list.
  2. Or tap the branch segment in the status bar, and scroll to the RESUME A SESSION section.
  3. Tap a session. The sheet closes and the tab opens.

The RESUME A SESSION section of the threads sheet: the folder beside the heading, then one claude row and one codex row, each with its first prompt and a line reading agent · age · size.

Sessions are listed for one folder: the current tab's working directory, or the server's default.

What you see

While the list loads, the section heading reads RESUME A SESSION · scanning…. Then the hint becomes the folder, for example ~/git/v-code-ide.

Each row shows the agent's mark, the first real thing you typed in that session, and a meta line: claude · 2h ago · 48kB. With nothing to show the list says no unattached sessions in this folder.

Tapping shows resuming claude session…, then either resumed · 132 of 410 items or already open in a thread.

The tab opens at the end of the strip the frame asks for — first on a phone, last on a window at least 760px wide, as a tab from the new-thread card does (start-a-thread).

The new tab opens with a system note: resumed claude session a1b2c3d4 — showing the last 132 of 410 items; the agent still has the full session, or — 132 items imported when nothing was left out.

Limits and known gaps