Reuse an in-memory body on a 401 instead of cloning every request up front, and return a 401 on a stream that cannot be sent twice. Concurrent 401s share one token refresh. Keep the token cache in a WeakMap keyed by the fetch function, and replace Promise.withResolvers in tests so the suite runs on Node 20. Co-authored-by: Cursor Agent <cursoragent@cursor.com>