Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.239 ·

Ghostty-specific paste handling, and a rebuilt clipboard hint

Paste and clipboard handling now adjusts for Ghostty terminals, and the image hint was rebuilt.

You'll notice Improvements
JSON All of v2.1.239
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Terminal InputArea: what it touches
ImprovementsKind: in v2.1.239,
ImprovementsSection of the release
What

Two clipboard and paste values now differ when TERM is xterm-ghostty. The "Image in clipboard" hint was rebuilt as a registered UI effect with its own last-shown timestamp instead of a hook.

Details
  • Selection is by the TERM environment value only.
  • The hint itself is unconditional; it just tracks when it last appeared, under the id clipboard-image-hint.
Evidence

xterm-ghostty

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleTERM
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Self-hosted environments reference touched a line naming TERM after this was published. | `--drain-marker-file <path>` | `SELF_HOSTED_RUNNER_DRAIN_MARKER_FILE` | unset | Marker file that your host writes to announce a graceful drain before sending `SIGTERM`. When the file exists as the drain starts, the runner reports its exi… self-hosted-environments-reference see the edit
Confirmed since Anthropic's documentation has since written up TERM, on Claude Code changelog. * Added `claude self-hosted-runner --drain-marker-file <path>`: when that file exists at a SIGTERM drain, the runner reports its exit to the server as a host drain (telemetry only) changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up TERM, on Claude Code changelog.

See this entry in the whole of v2.1.239 →

Feedback