test(web): align agent contract expectations — #203

This commit is contained in:
2026-08-15 01:08:30 +02:00
parent ee2ee037f9
commit 93dab2d961
3 changed files with 4 additions and 0 deletions

View File

@ -315,6 +315,7 @@ describe("TauriAgentGateway invoke payloads", () => {
cols: 80,
cellKind: "chat",
conversationId: "conversation-0",
freshStart: false,
nodeId: "node-3",
},
onOutput: expect.anything(),

View File

@ -140,6 +140,7 @@ describe("HttpAgentGateway WS round-trip (B6 frames)", () => {
rows: 24,
cols: 80,
conversationId: "resume-9",
freshStart: false,
});
expect(handle.sessionId).toBe("sess-1");
// The conversation id minted by the launch is surfaced on the handle.

View File

@ -71,6 +71,7 @@ describe("singleton agent — mock gateway guard (T5)", () => {
nodeId: "node-A",
sessionId: "mock-agent-session-1",
kind: "pty",
runtimeState: "running",
},
]);
});
@ -148,6 +149,7 @@ describe("singleton agent — dropdown guard (T6)", () => {
nodeId: leafId,
sessionId: "mock-agent-session-1",
kind: "pty",
runtimeState: "running",
},
]);
});