mirror of
https://github.com/stablyai/orca.git
synced 2026-09-24 00:02:24 +00:00
When a worktree is created from a PR via the source picker, the new local branch differs from the PR's head ref, so the branch-keyed PR lookup misses and the worktree card shows no PR strip. Pass the worktree's linkedPR number through the IPC call and fall back to a number-based lookup in the main process. Also recover linkedPR from a PR URL pasted into the workspace name when the user skips the source picker. PR strip now wraps the whole row as the PR link. Co-authored-by: Orca <help@stably.ai>