test(web): align agent contract expectations — #203
This commit is contained in:
@ -315,6 +315,7 @@ describe("TauriAgentGateway invoke payloads", () => {
|
||||
cols: 80,
|
||||
cellKind: "chat",
|
||||
conversationId: "conversation-0",
|
||||
freshStart: false,
|
||||
nodeId: "node-3",
|
||||
},
|
||||
onOutput: expect.anything(),
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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",
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user