fix: send mcp-protocol-version header in worktree registration test

Required for follow-up requests by the 2025-06-18 MCP HTTP transport
that effect beta.103 enforces.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 committed 2026-08-14 11:23:32 +02:00
1 parent f4e9b3d5e4
commit 467ff768d2
1 file changed
+1
@@ -75,6 +75,7 @@ it.effect("production mcp layer lists worktree tools over http", () =>
headers: {
accept: "application/json, text/event-stream",
authorization: auth,
"mcp-protocol-version": "2025-06-18",
...(sessionId ? { "mcp-session-id": sessionId } : {}),
},
body: HttpBody.text(