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
{{ message }}
Repository navigation
Commit adc2068
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(server): rename ServerNotifySugar to ServerNotifier
The type and its factory drop the "-Sugar" suffix:
- `ServerNotifySugar` interface → `ServerNotifier`
- `createNotifySugar()` → `createServerNotifier()`
The runtime export is unchanged (`handler.notify` and the four method names);
this is a type/docs-level rename only. Changeset wording, JSDoc, and the
serverEventBus tests are updated to match.
-`McpHttpHandler` gains `.notify` (`ServerNotifier`: `toolsChanged()`, `promptsChanged()`, `resourcesChanged()`, `resourceUpdated(uri)`) and `.bus` (the `ServerEventBus` listen streams subscribe to).
13
13
-`CreateMcpHandlerOptions` gains `bus?: ServerEventBus` (an in-process `InMemoryServerEventBus` is created when omitted), `maxSubscriptions?: number` (default 1024), and `keepAliveMs?: number` (default 15000).
14
14
-`ServeStdioOptions` gains `maxSubscriptions?: number` (default 1024). On a modern-pinned connection `serveStdio` routes the pinned instance's existing `send*ListChanged()` calls onto active subscriptions; legacy connections are unchanged.
0 commit comments