Skip to content

Commit 93c71ad

Browse files
chore: update spec.types.2026-07-28.ts from upstream
1 parent cc4b416 commit 93c71ad

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

packages/core-internal/src/types/spec.types.2026-07-28.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Source: https://github.com/modelcontextprotocol/modelcontextprotocol
55
* Pulled from: https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/draft/schema.ts
6-
* Last updated from commit: 71e306956a4959c9655e5036be215d41986596e6
6+
* Last updated from commit: f7e99af6417ec978233d8e27e1ac878b12106542
77
*
88
* DO NOT EDIT THIS FILE MANUALLY. Changes will be overwritten by automated updates.
99
* To update this file, run: pnpm run fetch:spec-types 2026-07-28
@@ -1317,7 +1317,7 @@ export interface SubscriptionsListenRequest extends JSONRPCRequest {
13171317
* @see {@link MetaObject} for key naming rules and reserved prefixes.
13181318
* @category `subscriptions/listen`
13191319
*/
1320-
export interface SubscriptionsListenResultMeta extends ResultMetaObject {
1320+
export interface SubscriptionsListenResultMetaObject extends ResultMetaObject {
13211321
/**
13221322
* Identifies the subscription stream this response closes, so the client can
13231323
* correlate it with the originating subscription — mirroring the same key on
@@ -1341,7 +1341,20 @@ export interface SubscriptionsListenResultMeta extends ResultMetaObject {
13411341
* @category `subscriptions/listen`
13421342
*/
13431343
export interface SubscriptionsListenResult extends Result {
1344-
_meta: SubscriptionsListenResultMeta;
1344+
_meta: SubscriptionsListenResultMetaObject;
1345+
}
1346+
1347+
/**
1348+
* A successful response from the server for a {@link SubscriptionsListenRequest | subscriptions/listen}
1349+
* request, sent when the server tears the subscription down gracefully.
1350+
*
1351+
* @example Subscription closed gracefully response
1352+
* {@includeCode ./examples/SubscriptionsListenResultResponse/listen-closed-response.json}
1353+
*
1354+
* @category `subscriptions/listen`
1355+
*/
1356+
export interface SubscriptionsListenResultResponse extends JSONRPCResultResponse {
1357+
result: SubscriptionsListenResult;
13451358
}
13461359

13471360
/**

0 commit comments

Comments
 (0)