Commit Graph

4 Commits

Author SHA1 Message Date
Peter Steinberger
a02dda1b44
fix: handle auth status codes from error metadata (#94) (thanks @KentonYu) 2026-03-28 19:20:55 +00:00
yukaibo.me
049f3b7d6b
fix: detect auth errors from error.code property (StreamableHTTPError/SseError)
MCP SDK's StreamableHTTPError/SseError store the HTTP status code in
error.code, but the message text may not contain the numeric status.
analyzeConnectionError now reads error.code (100-599) before falling
back to message-text parsing, so OAuth promotion triggers correctly
for 401 responses on Streamable HTTP transport.
2026-03-28 19:17:48 +00:00
Peter Steinberger
83db4fb1ec fix: add oauth retry regression coverage (#48) (thanks @caseyg) 2026-03-03 00:02:21 +00:00
Peter Steinberger
281bb71aef Improve connection issue handling 2025-11-07 03:57:27 +00:00