Skip to content

feat!: list_sources lists each source's event types as events/list does - #105

Merged
leggetter merged 1 commit into
mainfrom
feat/list-sources-event-types
Nov 5, 2026
Merged

leggetter merged 1 commit into
mainfrom
feat/list-sources-event-types

Conversation

@leggetter

Copy link
Copy Markdown
Collaborator

list_sources now lists each source's event types as events/list does: each entry in a source's events has the event type's name, description and inputSchema (the arguments it takes). This replaces the filters field added in #99, which was never released. The docs, skills, comments and tests now use SEP-3415's terms.

  • Breaking for code that reads events as names: read events[].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.
  • Terms: event types and arguments on the MCP surface; webhook subscriptions (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.
Testing
  • test/host/bridge.test.ts checks that list_sources returns, for each event type, the same name, description and inputSchema as events/list.
  • npx tsc --noEmit clean; npx vitest run: 446 tests pass.

🤖 Generated with Claude Code

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>
@leggetter
leggetter merged commit 6dc5644 into main Nov 5, 2026
2 checks passed
@leggetter
leggetter deleted the feat/list-sources-event-types branch November 5, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant