Auth runtime now surfaces lock acquisition, OIDC refresh attempts, and permanent refresh failures (expired/revoked session → re-login). Default method selection falls back to xai.api_key when no valid cached token exists. Bundled agents/…
Changelog
[new] Auth file lock path: auth lock: attempting acquire / auth lock: acquired with path/pid/timeout, and on-disk auth.json.lock
[new] Permanent-failure handling: auth.permanent_failure.set, auth.refresh.permanent_failure, and auth: refresh_chain short-circuit on permanent failure (e.g. RefreshTokenRejected / ServerRejected) with session-expired guidance to run grok login
[new] Recovery events when disk token is expired and refresh-from-authority fails