fix(protocol): expose MCP tool change events (#35373)

This commit is contained in:
Kit Langton 2026-07-04 20:47:33 -04:00 committed by GitHub
commit bb3b6a2f65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 33 additions and 1 deletions

View file

@ -27,6 +27,7 @@ describe("public event manifest", () => {
Agent.Event.Updated,
])
expect(EventManifest.Definitions).toContain(Agent.Event.Updated)
expect(EventManifest.ServerDefinitions).toContain(McpEvent.ToolsChanged)
expect(EventManifest.Definitions.filter((definition) => definition.type === "agent.updated")).toEqual([
Agent.Event.Updated,
])