You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: re-export derived request/notification schemas from generated
Add re-exports for schemas derived from RequestSchema/NotificationSchema/ResultSchema:
- PaginatedRequestSchema, PaginatedResultSchema
- PingRequestSchema
- InitializedNotificationSchema, CancelledNotificationSchema
- ResourceListChangedNotificationSchema, PromptListChangedNotificationSchema
- ToolListChangedNotificationSchema, RootsListChangedNotificationSchema
These are now unlocked because Request.params and Notification.params
include proper param types after the pre-processing injection.
Total schemas re-exported: 45
Lines saved: ~402 (2600 → 2198)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
282
302
*
283
-
* The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
284
-
*
285
-
* This notification indicates that the result will be unused, so any associated processing SHOULD cease.
286
-
*
287
-
* A client MUST NOT attempt to cancel its `initialize` request.
303
+
* Note: CancelledNotificationSchema is re-exported from generated.
* A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
* An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.
* An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.
* An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
0 commit comments