Claude Code: Paste a PR URL into /resume to Instantly Find the Original Session
Claude Code v2.1.122 makes session recovery dramatically more convenient: pasting a pull request URL directly into the /resume search box now locates the session that originally created that PR. The feature works across GitHub, GitHub Enterprise, GitLab, and Bitbucket, eliminating the need to scroll through session lists or remember session IDs when returning to work tied to a specific PR. The release also fixes a long-standing image resizing bug that was sending images to newer models at the wrong maximum dimension.
Sources & Mentions
5 external resources covering this update
Find Your Session by Pasting a PR URL
Claude Code v2.1.122, released April 28, 2026, introduces a significant quality-of-life improvement for developers working across multiple pull requests: the /resume search box now accepts pull request URLs directly.
How It Works
Previously, resuming the session that created a particular PR required either scrolling through the session list to find it by project name, or knowing the session ID in advance. With v2.1.122, developers can paste the PR URL directly into the /resume search field and Claude Code will match it to the session that originally created that PR.
The feature covers all major hosting platforms:
- GitHub (github.com)
- GitHub Enterprise (self-hosted instances)
- GitLab (gitlab.com and self-hosted)
- Bitbucket (bitbucket.org)
This makes the common workflow of "I have a PR open, I want to resume the Claude Code session that built it" frictionless — especially valuable when switching context between multiple PRs or returning to a PR after a day or more away.
Image Resizing Fix for Newer Models
The release also corrects a regression affecting image processing: images sent to newer Claude models were being resized to 2,576px per side instead of the correct 2,000px maximum. This mismatch could result in unnecessarily large payloads or subtle rendering differences in vision-heavy workflows.
Additional Fixes
Version 2.1.122 includes a focused set of stability improvements:
- Fixed
!exitand!quitcommands in bash mode that were incorrectly terminating the entire CLI instead of running as shell commands - Fixed the remote control session idle status redrawing twice per second, which was flooding
tmux -CCcontrol pipes and causing terminal pauses - Fixed assistant messages appearing blank in some sessions due to a stale view preference
- Fixed a malformed hooks entry in
settings.jsonno longer invalidating the entire file - Fixed Vertex AI and Bedrock returning an
invalid_request_erroron session-title generation and other structured-output queries - Fixed Vertex AI
count_tokensendpoint returning 400 errors for users behind proxy gateways
The /mcp command now also surfaces claude.ai connectors that were being hidden by a manually-added server sharing the same URL, with a hint to remove the duplicate entry.