Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Hosted desktop e2e: the cloud computer lists twelve tools

milind-soni232d7878449c
diff --git a/server/hosted-desktop.e2e.test.ts b/server/hosted-desktop.e2e.test.ts
index f69f9e1f55..52adb666e6 100644
--- a/server/hosted-desktop.e2e.test.ts
+++ b/server/hosted-desktop.e2e.test.ts
@@ -139,7 +139,7 @@ it("keeps the bot's own engine on the cloud computer, and a failed place never b
const client = mcpClient(computer);
try {
expect((await client.request("initialize", { protocolVersion: "2024-11-05", capabilities: {}, clientInfo: { name: "fixture", version: "1" } })).result.serverInfo.name).toBe("openmausbot-computer");
- expect((await client.request("tools/list")).result.tools).toHaveLength(10);
+ expect((await client.request("tools/list")).result.tools).toHaveLength(12);
const shot = await client.request("tools/call", { name: "screenshot", arguments: {} });
expect(shot.result.content[0]).toMatchObject({ type: "image", mimeType: "image/jpeg" });
const exec = await client.request("tools/call", { name: "exec", arguments: { command: "printf hosted-desktop" } });