Under the hood
Self-hosted runner sessions now surface the API's numeric error status code when a turn fails
What
In the self-hosted runner (used when running Claude Code sessions on your own infrastructure), when a turn result comes back marked as an error and includes a numeric API error status code, a new callback is now invoked with that status code.
Why
This lets self-hosted runner integrations react to the specific API error status code behind a failed turn, rather than only knowing that a turn failed.