attach
A Claude Code CLI flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Attaching to a background session now times how long it takes to paint and reach an idle prompt.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.221.
In the changelogs
12Releases whose published page names attach.
-
v2.1.290
claude attach and claude logs accept a session name
claude attachandclaude logsnow take a session name as well as an id, and part of the name is enoughnamed in this entry
-
v2.1.285
New --desktop flag, and background commands now accept options in front of them
--desktopopens the Claude Desktop app and now errors when combined with background or worktree optionsfound in this entry's text
-
v2.1.285
Resuming a running background session now opens it and sends your prompt
--resumeon a session running in the background now attaches to it and hands over your prompt instead of refusingnamed in this entry
-
v2.1.285
Resuming a session running in the background can now open it and deliver your prompt
Resuming a session that runs in the background can now open it and send your prompt, instead of only refusing
named in this entry
-
v2.1.265
New
attachsession-opener path with aserveOnlymodeA new 'attach' session-opening path supports a reduced serveOnly feature set
found in this entry's text
-
v2.1.257
New CLI messaging when resuming a session that's already running
Resuming a session that is already running elsewhere starts a copy and points you to claude attach to join the live one.
named in this entry
-
v2.1.251
Background session subcommands in CLI help
CLI help now lists attach, logs, stop, respawn and rm for background sessions.
found in this entry's text
-
v2.1.248
claude attachexplains cleaned-up background sessions instead of failing genericallyReopening a cleaned-up background session now points you at claude rm and claude respawn.
named in this entry
-
v2.1.247
claude attachtells you whether the terminal host died or just never answeredAttach failures now distinguish a dead terminal host from a silent session, and offer the right recovery.
named in this entry
-
v2.1.221
claude attachnow measures time-to-interactiveAttaching to a background session now times how long it takes to paint and reach an idle prompt.
named in this entry
-
v2.1.196
SendUserFile Display Mode
found in this entry's text
-
v2.1.128
Background Session Recovery and Cleanup
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.