fix(mcp): hide managed workflows without a session
This commit is contained in:
@@ -21,6 +21,9 @@ describe("beta.3 server composition", () => {
|
||||
await server.connect(serverTransport);
|
||||
await client.connect(clientTransport);
|
||||
expect(client.getInstructions()).not.toContain("open_binary");
|
||||
const names = (await client.listTools()).tools.map(({ name }) => name);
|
||||
expect(names).not.toContain("compare_managed_members");
|
||||
expect(names).not.toContain("plan_managed_runtime_correlation");
|
||||
await client.close();
|
||||
await server.close();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user