auth.refresh with refreshLead 10 minutes (in-fetch: 5). It spends the
refresh token under the same lock as a request's refresh and records what
each refresh gave, so the two never spend one token twice. Cline refusing
the refresh token is signIn "expired"; anything else throws and is retried.
The check before each request stays for OpenCode, which doesn't call the
hook (magpie 0.1.684+ does). refresh.test.mjs fails without the change;
HOME=$(mktemp -d) bun test passes (396 across the repo).