5ee80f3a36
* Add PR number segment to status bar Add a new 'pr' status line segment that shows the GitHub PR number (e.g., #1234) as a clickable OSC 8 hyperlink when the current branch has an associated pull request. - Async lookup via 'gh pr view', cached per branch - Invalidates on branch change via .git/HEAD watcher - Falls back to hidden segment when no PR exists or gh unavailable - Supports all theme presets (unicode, nerd font, ascii) - Added to all preset layouts after the git segment * Skip PR lookup on default branch, resolve dynamically * Extract git-utils, add tests for parseGitHubRepo and parseDefaultBranch * Fix PR lookup race condition, invalidation churn, and dotted repo names - Guard #cachedPr writes against branch change during in-flight lookup - Stop clearing PR cache in invalidate() (only .git/HEAD watcher should) - Allow dots in GitHub repo names in parseGitHubRepo regex * Simplify PR lookup: use gh pr view, try upstream/HEAD for default branch - Replace gh pr list --head with gh pr view (requires gh repo set-default) - Remove manual remote URL resolution — gh handles it - Default branch detection falls back to upstream/HEAD when origin/HEAD is unset