fix: keep related request id zero from debouncing#2120
Conversation
🦋 Changeset detectedLatest commit: 9d5481d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@modelcontextprotocol/client
@modelcontextprotocol/codemod
@modelcontextprotocol/server
@modelcontextprotocol/server-legacy
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
ffe6967 to
a4de0df
Compare
|
Rebased this on the latest
|
a4de0df to
24c73c2
Compare
|
Rebased this on the latest
|
24c73c2 to
9d5481d
Compare
|
Rebased this branch on current The resolved change keeps the current API shape and only makes the related request check explicit, so Validated locally:
The pre-push hook also completed the repo-wide build, typecheck, and lint steps successfully. |
Summary
relatedRequestId: 0as present when deciding whether a notification can be debounced@modelcontextprotocol/coreFixes #2117
To verify
corepack pnpm --filter @modelcontextprotocol/core test -- --run packages/core/test/shared/protocol.test.tscorepack pnpm --filter @modelcontextprotocol/core typecheckcorepack pnpm --filter @modelcontextprotocol/core lintgit diff --check origin/main..HEADThe pre-push hook also passed the repo typecheck/build/lint tasks.