fix: make listServerResources() params optional (#528)

Follow-up to #470. Matches MCP SDK Client.listResources(params?) signature
so callers can omit the empty {} for the common case.

Also reflows a line in app-bridge.test.ts that prettier flagged.
This commit is contained in:
Olivier Chafik 2026-03-06 14:30:36 +00:00 • committed by GitHub
commit ef8fc6e2f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,7 @@ async function discoverVideos() {
}
try {
const resourceList = await app.listServerResources({});
const resourceList = await app.listServerResources();
const videoResources = resourceList.resources.filter((r) =>
r.uri.startsWith("videos://"),