Repository navigation
feat!: list_sources lists each source's event types as events/list does - #105
Merged
Merged
Conversation
Each entry in a source's events is now an event type, with its name, description and inputSchema (the arguments it takes), replacing the unreleased filters field. Clients without MCP Events support can't call events/list, so this is how they find an event type's arguments. The docs, skills, comments and tests use SEP-3415's terms: event types and their arguments on the MCP surface, and webhook subscriptions (made with events/subscribe, each an Event Gateway connection) as distinct from poll subscriptions (held by the client). The config's filters and the CLI's --filter keep their names. docs/ARCHITECTURE.md maps the delivery modes. BREAKING CHANGE: list_sources' events holds event type objects, not names; read events[].name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
list_sourcesnow lists each source's event types asevents/listdoes: each entry in a source'seventshas the event type'sname,descriptionandinputSchema(the arguments it takes). This replaces thefiltersfield added in #99, which was never released. The docs, skills, comments and tests now use SEP-3415's terms.eventsas names: readevents[].name. No code in the bridge, the plugin or the scripts does; models read either shape. Ships in 0.10.0 (MINOR while 0.x), and the changelog says so.events/subscribe, each an Event Gateway connection) as distinct from poll subscriptions (held by the client). The config'sfiltersand the CLI's--filterkeep their names.docs/ARCHITECTURE.mdmaps the delivery modes.Testing
test/host/bridge.test.tschecks thatlist_sourcesreturns, for each event type, the samename,descriptionandinputSchemaasevents/list.npx tsc --noEmitclean;npx vitest run: 446 tests pass.🤖 Generated with Claude Code