feat(workstate): UI des actions contrôlées (Lot D frontend)
Câble les actions contrôlées dans ProjectWorkStatePanel : port et adaptateur agent étendus aux nouvelles commandes, adaptateur mock aligné. Tests verts : workstate + projects (25), agent (8), singletonAgent + agentAlreadyRunning (9), tsc --noEmit OK. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -103,7 +103,7 @@ describe("R0d — launch refused with AGENT_ALREADY_RUNNING", () => {
|
||||
|
||||
// The live set reports the agent already hosted in cell B (the host).
|
||||
vi.spyOn(agentGateway, "listLiveAgents").mockResolvedValue([
|
||||
{ agentId: agent.id, nodeId: bId, sessionId: "s-1" },
|
||||
{ agentId: agent.id, nodeId: bId, sessionId: "s-1", kind: "pty" },
|
||||
]);
|
||||
// The launch from cell A is refused by the backend (singleton invariant).
|
||||
vi.spyOn(agentGateway, "launchAgent").mockRejectedValue({
|
||||
|
||||
Reference in New Issue
Block a user