Plugin activation awaits the VCS branch refresh and the location watcher's
repository probe, so every Location boot waited on three to four sequential
git rounds before the agent, model, provider and integration lists answered.
Each round costs ~40ms on Windows.
- Read the remote list with origin's HEAD in one round, and local branches
with init.defaultBranch in one more only when no remote HEAD names the
default branch.
- Cache repository discovery by the .git metadata fingerprint, as
Project.resolve already does.
- vcs.status no longer checks HEAD before listing; vcs.diff fetches the
batched patch with the change list and reads HEAD with the default branch.
- Look up commands on Windows with one stat per PATHEXT extension instead of
one per case, without throwing on every miss.
Adds packages/server/script/benchmark-server.ts, which boots
`opencode serve` from any checkout and replays a client opening a location.