feat(mcp): expose resource catalog API (#35773)

This commit is contained in:
Aiden Cline
2026-07-07 13:34:29 -05:00
committed by GitHub
parent 3e57b43a4a
commit 947bbf9490
10 changed files with 127 additions and 17 deletions
+1
View File
@@ -4,5 +4,6 @@ import { isOpenCodeEvent } from "../src/groups/event.js"
test("classifies public events by type", () => {
expect(isOpenCodeEvent({ type: "server.connected" })).toBe(true)
expect(isOpenCodeEvent({ type: "mcp.status.changed" })).toBe(true)
expect(isOpenCodeEvent({ type: "mcp.resources.changed" })).toBe(true)
expect(isOpenCodeEvent({ type: "mcp.tools.changed" })).toBe(false)
})