mirror of
https://github.com/Chevron7Locked/kima-hub.git
synced 2026-06-19 07:37:17 +00:00
550913bf29
A 24h-old session no longer kills playback: stream URL builders refresh the token proactively when it expires within the hour, and a terminal code-4 media error is classified via a bounded /api/auth/me probe -- a stale token refreshes and the stream reloads at position with no teardown, no skip, and no logout. Token refresh now distinguishes a transient network failure (tokens kept) from a server-rejected refresh (session cleared), so an offline moment can never force a re-login (FE11/B9). The iOS trace logger becomes opt-in (?ios_debug=1 flag only) with batched persistence instead of a synchronous storage write per event (FE17).