fix(mcp): admit composed analysis through result bookkeeping

This commit is contained in:
morluto
2026-10-10 00:35:17 +08:00
parent e64678e8f9
commit e11f4d371a
80 changed files with 774 additions and 471 deletions
@@ -90,7 +90,7 @@ it("routes observe_native_calls through MCP with schema-checked input and output
const session = createTestBinarySession(
new NativeMacOSProvider({}, new NativeFixtureRunner(), "darwin", tracer),
);
const server = createServer(session, session);
const server = createServer({ kind: "session", session });
const client = new Client({ name: "native-calls-mcp-test", version: "1" });
const [clientTransport, serverTransport] =
InMemoryTransport.createLinkedPair();
@@ -233,7 +233,7 @@ it.each([
const session = createTestBinarySession(
new NativeMacOSProvider({}, new NativeFixtureRunner(), "darwin", tracer),
);
const server = createServer(session, session);
const server = createServer({ kind: "session", session });
const client = new Client({
name: "native-calls-partial-mcp-test",
version: "1",