Claude Code v2.1.288: Up restores a prompt cleared with Ctrl+C, and mid-response timeouts no longer fail the turn

1 week ago

What changed in Claude Code v2.1.288: a cleared prompt comes back with Up, mid-response API timeouts no longer fail the turn, background commands have no time limit in interactive sessions, three permission gaps are closed, plus resume fixes, agents view shortcuts and /code-review --max-findings. Release notes: https://github.com/anthropics/claude-code/releases/tag/v2.1.288 Changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Get a cleared prompt back
  2. 0:12Timeouts keep the turn
  3. 0:25Background command time limit
  4. 0:38Permission gaps closed
  5. 0:52Resume fixes
  6. 1:07Agents view shortcuts
  7. 1:19/code-review findings
  8. 1:30The full changelog
Show transcript

Get a cleared prompt back

Claude Code

Claude Code v2.1.288 brings back a prompt you cleared with Ctrl+C

How
press Up on the empty prompt
What comes back
the draft, with pasted text and images
CHANGELOG.md · anthropics/claude-code

Cleared a prompt with Ctrl+C? In Claude Code 2.1.288, press Up on the empty prompt and the draft comes back, including any text and images you pasted into it.

Timeouts keep the turn

Claude Code

>An API timeout in the middle of a response no longer fails the turn

Non-interactive sessions
continue from the partial response
Subagents
continue from the partial response
Thinking-only responses
retried
CHANGELOG.md · anthropics/claude-code

An API timeout halfway through a response used to fail the whole turn. Now non-interactive sessions and subagents pick up from the partial response, and a response that held only thinking is retried.

Background command time limit

Claude Code

>Background commands in an interactive session now run without a time limit

No limit
terminal, desktop app, VS Code
Limit still applies
claude -p, Agent SDK, CI, cloud
CHANGELOG.md · anthropics/claude-code

Background commands no longer hit a time limit in the terminal, the desktop app or VS Code. The limit now applies only to unattended sessions: print mode, the Agent SDK, CI and cloud.

Permission gaps closed

Claude Code

>Three ways a risky command slipped past a prompt now stop and ask

rm inside bash -c
asks even in bypassPermissions mode or under a shell allow rule
Hooks that fail to match
the tool call is blocked, not run without them
BASHPID assignment
prompts when the shell would evaluate it as arithmetic
CHANGELOG.md · anthropics/claude-code

Three permission gaps are closed. A dangerous rm wrapped in a shell script now asks, even in bypass mode. A hook that fails to match now blocks the call. And a tricky BASHPID assignment prompts first.

Resume fixes

Claude Code

>A resumed session keeps its last reply, its restored files and its earlier thinking

Last response
saved, so the next resume shows the prompt answered
After a compaction
restored files and context stay in the session
Sessions from 2.1.286 or earlier
the model's earlier thinking is kept
CHANGELOG.md · anthropics/claude-code

Resume got three fixes. A resumed session now saves its last response. Files that a compaction restored stay put. And conversations started on 2.1.286 or earlier keep the model's earlier thinking.

Agents view shortcuts

Claude Code

>Ctrl+F finds a session by name in the agents view

Ctrl+F
find a session by name; Enter opens the best match
Alt+↑ / Alt+↓
jump between groups
keybindings.json
both, and rename, can be rebound
CHANGELOG.md · anthropics/claude-code

The agents view gets two shortcuts. Ctrl+F finds a session by name, and Enter opens the best match. Alt with the up or down arrow jumps between groups, and you can rebind both.

/code-review findings

Claude Code

>/code-review can now report more or fewer findings than its usual limit

--max-findings
a number, or all
Sticks
until you set it back to default
CHANGELOG.md · anthropics/claude-code

/code-review can now report more or fewer findings than its usual limit, up to every finding it has. Your choice carries over to later reviews until you set it back to the default.

The full changelog

Claude Code

Every change in this release is in the Claude Code changelog

CHANGELOG.md in anthropics/claude-code

github.com/anthropics/claude-code
CHANGELOG.md · anthropics/claude-code

The release also fixes plugins, auto mode, cloud sessions and the VS Code extension. The full list is in the Claude Code changelog on GitHub.

Up next