* 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>
* 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
* first shot for job cancelation via api
* move helper to job manager
* adjust coding style
* add some test
* fix lint
* inline helpers
* fit JobId and StepIndex into the system
* clean stuff
* move towards v4
* back to v4 - job manager and runner remain stupid
* reduce mocks
* fix cancellation
* fix cancellation
* harden testing with invalid case
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>