From fd3c76cad3950350c303eec742c49efdb8551119 Mon Sep 17 00:00:00 2001 From: Dave Lauer Date: Thu, 22 Jan 2026 21:05:33 -0500 Subject: [PATCH] fix(control-ui): add agentId to DEFAULT_ASSISTANT_IDENTITY TypeScript inferred the union type without agentId when falling back to DEFAULT_ASSISTANT_IDENTITY, causing build errors at control-ui.ts:222-223. --- src/gateway/assistant-identity.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gateway/assistant-identity.ts b/src/gateway/assistant-identity.ts index 35ff43490..bc0506f50 100644 --- a/src/gateway/assistant-identity.ts +++ b/src/gateway/assistant-identity.ts @@ -7,7 +7,8 @@ import { normalizeAgentId } from "../routing/session-key.js"; const MAX_ASSISTANT_NAME = 50; const MAX_ASSISTANT_AVATAR = 200; -export const DEFAULT_ASSISTANT_IDENTITY = { +export const DEFAULT_ASSISTANT_IDENTITY: AssistantIdentity = { + agentId: "main", name: "Assistant", avatar: "A", };