when a subscription hits a quota, the handler replaces the adapter's explanation with Resource exhausted. the client gets the right error code but no way to recover.
adds an optional resourceExhaustedMessage to event registration. servers can supply fixed, public recovery instructions; adapter messages and data still stay private, and the default stays the same. includes docs and a minor changeset for the new option.
verified the regression fails before the fix. all 147 tests, typecheck, and build pass. wire tests cover admission and persistence failures under both supported protocol modes, the default message, and redaction with custom guidance enabled.
consumer integration: https://github.com/vercel/vercel-mcp/pull/369. it temporarily patches 2.3.0 with this build until the option is released.
Activity
1This pull request is a draft
Merging is unavailable until it is marked ready for review.