Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.27 Home All releases olderv2.1.26 v2.1.28newer
Claude Code v2.1.27

--from-pr Flag for PR-Linked Session Resume

What

Resume a previous Claude Code session that was linked to a specific pull request, by PR number or URL.

Usage
claude --from-pr 123
claude --from-pr https://github.com/owner/repo/pull/123
claude --from-pr          # opens interactive picker
claude --from-pr "search" # opens picker filtered by search term
Details
  • Accepts a PR number, a full PR URL, or no value (opens an interactive picker)
  • When passed a string that is not a number/URL, it filters the picker by that search term
  • Works alongside existing --resume and --continue session management flags
Evidence

CLI option definition (search for "--from-pr [value]")

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

See this entry in the whole of v2.1.27 →