From 385a5e658133864e99838aee3fd07a5e351768a6 Mon Sep 17 00:00:00 2001 From: Hermenix Date: Mon, 12 Oct 2026 18:13:39 +0000 Subject: [PATCH] fixup! feat(mcp)!: a second transport, and the token it exists for --- checks/vm-mcp-http.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/checks/vm-mcp-http.nix b/checks/vm-mcp-http.nix index 5b56d36..1fec72a 100644 --- a/checks/vm-mcp-http.nix +++ b/checks/vm-mcp-http.nix @@ -260,9 +260,9 @@ testers.runNixOSTest ( with subtest("the whole surface is offered to an unscoped token"): listed = http("--list", token=token)["tools"] - assert len(listed) == 21, f"{len(listed)} tools, expected 21" + assert len(listed) == 23, f"{len(listed)} tools, expected 23" fixed = http("--resources", token=token)["resources"] - assert len(fixed) == 5, f"{len(fixed)} resources, expected 5" + assert len(fixed) == 6, f"{len(fixed)} resources, expected 6" with subtest("a resource read reaches the broker"): contents = http("--read hhstream://sessions", token=token)["contents"] @@ -289,7 +289,7 @@ testers.runNixOSTest ( # The two tokens are served by ONE process, which is the whole # argument for putting toolsets on the token rather than only on # the command line: a launch-time flag cannot do this. - assert len(http("--list", token=token)["tools"]) == 21 + assert len(http("--list", token=token)["tools"]) == 23 with subtest("token list shows both and neither secret"): out = machine.succeed(as_user(f"{MCP} token list"), timeout=120)