fix(session): handle terminal OAuth deletion and keep sessions through transient restore failures (#185)
* fix(session): handle terminal OAuth deletion * fix(session): keep the account when session restore fails transiently at launch A single failed getSession or restore at app open (5xx, DPoP proof or nonce rejection, network error, timeout) dropped the user to the signed-out screen even when the server session was valid, and telemetry only recorded "Expected an active session". Retry the resume once. On a transient failure, keep the stored account on the locally stored tokens. Sign out only on terminal OAuth errors (refresh token rejected, session revoked, deleted or invalid) or errors not known to be transient. Report the real error category, and add an oauth:sessionResumeDegraded event for kept sessions. * chore(lint): prune stale unread.tsx suppressions * fix(session): never block or sign out on a stuck launch restore Address review findings on the OAuth resume fallback: - On a transient launch failure, build the agent on a lazily restored session instead of awaiting restore(did, false), which joined the same stuck refresh and timed out into a sign-out. - Only treat known-temporary DPoP errors (nonce, stale proof, replayed jti) as transient; other invalid_dpop_proof errors fail fast. - Check the transient set before retrying so other errors fail fast. - Apply the keep-on-transient fallback only to the app-launch restore; refresh and account-switch callers still get the error. - withTimeout preserves the original rejection and clears its timer, and is used for the restore, getSession and getTokenInfo timeouts. - Web: oauth-client 0.5.x ignores onDelete/onUpdate options, so wire the hooks to the client's deleted/updated events and emit the lifecycle deleted event. - Drop the redundant deletion set, the buffered lifecycle queue and the per-DID restore map; the OAuth client's CachedGetter already dedupes restores per DID.