From c5c10adc022f42eb75ebb3bf364dd607738683b3 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Mon, 30 Mar 2026 07:08:19 -0700 Subject: [PATCH] gateway: trim control UI bootstrap payload (#57727) --- src/gateway/control-ui-contract.ts | 2 -- src/gateway/control-ui.http.test.ts | 7 ++++--- src/gateway/control-ui.ts | 3 --- ui/src/ui/controllers/control-ui-bootstrap.test.ts | 10 ++++++---- ui/src/ui/controllers/control-ui-bootstrap.ts | 3 --- ui/vite.config.ts | 1 - 6 files changed, 10 insertions(+), 16 deletions(-) diff --git a/src/gateway/control-ui-contract.ts b/src/gateway/control-ui-contract.ts index b53eca81db5..98cf3d74fd9 100644 --- a/src/gateway/control-ui-contract.ts +++ b/src/gateway/control-ui-contract.ts @@ -4,6 +4,4 @@ export type ControlUiBootstrapConfig = { basePath: string; assistantName: string; assistantAvatar: string; - assistantAgentId: string; - serverVersion?: string; }; diff --git a/src/gateway/control-ui.http.test.ts b/src/gateway/control-ui.http.test.ts index b9cb7a90cd1..0733580aca8 100644 --- a/src/gateway/control-ui.http.test.ts +++ b/src/gateway/control-ui.http.test.ts @@ -27,7 +27,6 @@ describe("handleControlUiHttpRequest", () => { basePath: string; assistantName: string; assistantAvatar: string; - assistantAgentId: string; }; } @@ -196,7 +195,8 @@ describe("handleControlUiHttpRequest", () => { expect(parsed.basePath).toBe(""); expect(parsed.assistantName).toBe("