test(web): align agent contract expectations — #203
This commit is contained in:
@ -315,6 +315,7 @@ describe("TauriAgentGateway invoke payloads", () => {
|
|||||||
cols: 80,
|
cols: 80,
|
||||||
cellKind: "chat",
|
cellKind: "chat",
|
||||||
conversationId: "conversation-0",
|
conversationId: "conversation-0",
|
||||||
|
freshStart: false,
|
||||||
nodeId: "node-3",
|
nodeId: "node-3",
|
||||||
},
|
},
|
||||||
onOutput: expect.anything(),
|
onOutput: expect.anything(),
|
||||||
|
|||||||
@ -140,6 +140,7 @@ describe("HttpAgentGateway WS round-trip (B6 frames)", () => {
|
|||||||
rows: 24,
|
rows: 24,
|
||||||
cols: 80,
|
cols: 80,
|
||||||
conversationId: "resume-9",
|
conversationId: "resume-9",
|
||||||
|
freshStart: false,
|
||||||
});
|
});
|
||||||
expect(handle.sessionId).toBe("sess-1");
|
expect(handle.sessionId).toBe("sess-1");
|
||||||
// The conversation id minted by the launch is surfaced on the handle.
|
// 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",
|
nodeId: "node-A",
|
||||||
sessionId: "mock-agent-session-1",
|
sessionId: "mock-agent-session-1",
|
||||||
kind: "pty",
|
kind: "pty",
|
||||||
|
runtimeState: "running",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
@ -148,6 +149,7 @@ describe("singleton agent — dropdown guard (T6)", () => {
|
|||||||
nodeId: leafId,
|
nodeId: leafId,
|
||||||
sessionId: "mock-agent-session-1",
|
sessionId: "mock-agent-session-1",
|
||||||
kind: "pty",
|
kind: "pty",
|
||||||
|
runtimeState: "running",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user