From 413a50157059bbc90319c764fac390bf06f74fb7 Mon Sep 17 00:00:00 2001 From: Lukas May Date: Wed, 4 Mar 2026 10:56:47 +0100 Subject: [PATCH] fix: Pass chatSessionRepository through createContext in trpc-adapter The createContext call manually enumerates every field rather than spreading, so the new repo was silently dropped even though it existed on the options object. --- apps/server/server/trpc-adapter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/server/trpc-adapter.ts b/apps/server/server/trpc-adapter.ts index f234bd9..0e8d94a 100644 --- a/apps/server/server/trpc-adapter.ts +++ b/apps/server/server/trpc-adapter.ts @@ -157,6 +157,7 @@ export function createTrpcHandler(options: TrpcAdapterOptions) { executionOrchestrator: options.executionOrchestrator, previewManager: options.previewManager, conversationRepository: options.conversationRepository, + chatSessionRepository: options.chatSessionRepository, workspaceRoot: options.workspaceRoot, }), });