From c1f2ddb3f5c96c5ca4ed5fcb79b0c5e84af6e315 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 13 Mar 2026 17:28:14 +0100 Subject: [PATCH] Fix UI missing protocol version header causing agents endpoint 400 The ProtocolVersionInterceptor requires X-Cameleer-Protocol-Version: 1 on /api/v1/agents/** but the UI client middleware wasn't sending it, causing the agents GET to fail silently in the command palette. Co-Authored-By: Claude Opus 4.6 --- ui/src/api/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/api/client.ts b/ui/src/api/client.ts index 94918dfd..bc4f3698 100644 --- a/ui/src/api/client.ts +++ b/ui/src/api/client.ts @@ -19,6 +19,7 @@ const authMiddleware: Middleware = { if (token) { request.headers.set('Authorization', `Bearer ${token}`); } + request.headers.set('X-Cameleer-Protocol-Version', '1'); return request; }, async onResponse({ response }) {