* allow refresh after the access token expired
The session lives 10 minutes and the access token is valid for the first
half. The session guard checks the access window, while refresh, teardown,
session count and fork validation keep checking the session window. A
request declined with 401 can now refresh and resend.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuupGDM8y2cpHrkJq6D
* minor change
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* revamp reference system
* revamp reference system
* revamp reference system
* revamp reference system
* rename to reference face maps
* rename to reference face maps
* rename to reference face maps
* fix ci
* fix logic part1
* fix logic part2
* fix logic part2
* fix logic part3
* sort out ini, program and normalize
* sort out ini, program and normalize
* fix lint
* get rid of matrix reader
* revamp groups again
* revamp groups again part2
* revamp groups again part2a
* revamp groups again part2a
* minor typo
* switch to selector map to support source averaging
* save map different in state
* adjust the normalize of maps
* refactor
* refactor
* refactor
* refactor
* better test
* resolve find_match_group_index
* minor improvements
* find closes faces
* find closes faces
* fix according to code review
* migrate types fixes, ignore old gradio type violations
* migrate types fixes, ignore old gradio type violations
* make downloader more robust
* same terminate for run_ffmpeg_with_progress like run_ffmpeg has
* fix tiny drifts
* fix cast of temperature.gpu
* update dependencies
* fix typo
* bring both http manager and websocket manger to pass stress suite
* add download to is_busy
* standalone return are forbidden
* fix test
* use local_id variable
* use local_id variable