What
Tool-call failure handling now reads status and OAuth codes off typed error classes instead of guessing from a loose code property, and stops warning about slow calls that were simply aborted.
Details
- status is derived from typed HTTP error classes; the old path only used
code, and only when it was a number - OAuth error codes come from a typed error object
- the "Tool 'X' failed after Ns" warning is suppressed when the call was aborted
- a full list of MCP and OAuth codes is enumerated for classification, including invalid_grant, AUTH_HEADER_REJECTED, CLIENT_HTTP_FORBIDDEN and ERA_NEGOTIATION_FAILED
Evidence
CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION
Strings lifted out of the shipped bundle, so the claim above can be checked against them.