Runtime surfaces shift onto a valid cached-token auth path (preferred over xai.api_key), emit model-catalog client notifications, enable remote-driven trace upload decisions, and materialize a bundled agents/personas/roles/skills tree pl…
Changelog
[changed] Auth init treats a present, unexpired cached token as current: default_auth_method_id is cached_token, auth_mode is Oidc, and method priority records that cached_token overrides xai.api_key.
[new] Auth method list for ACP includes cached_token alongside xai.api_key and grok.com; cached-token handler sets the session API key (SessionToken).
[changed] Cached-token / init checks report has_current=true, is_expired=false, needs_user_info=false, and a user_id when user-info is already satisfied.
[removed] Expired-session path events: auth 401 attribution, auth lock acquire/attempt, disk-token-expired recovery, refresh-from-authority failure, permanent-failure set/refresh, refresh-chain short-circuit, prepare_sampling_config without session key, and the OIDC refresh enter/attempt/terminal-error sequence.
[changed] Model catalog path notifies clients (current_model_id, model_count) when a real catalog is present; auth refresh watcher starts with had_real_catalog=true instead of fetch/fail with no auth.
[removed] model catalog: fetching and model catalog refresh failed on the basic path.