From 6ec66f57fde1f6429b45a2cd0c39662b4b7a6489 Mon Sep 17 00:00:00 2001 From: volker Date: Tue, 31 Mar 2026 21:00:21 +0200 Subject: [PATCH] Fix desktop feature detection on initial mount desktopEnabled was only set in the reactive block when the terminal changed, but not in the onMount path. This caused the Desktop panel to never appear on first load. --- src/lib/components/chat/FileNav.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/FileNav.svelte b/src/lib/components/chat/FileNav.svelte index 7c6f01aede..5fd880b792 100644 --- a/src/lib/components/chat/FileNav.svelte +++ b/src/lib/components/chat/FileNav.svelte @@ -834,6 +834,7 @@ // Discover server features on initial mount const config = await getTerminalConfig(terminal.url, terminal.key); terminalEnabled = config?.features?.terminal !== false; + desktopEnabled = config?.features?.desktop === true; if (chatId || savedPath === '/') { // Fetch session-specific cwd from the server (or global default for new chats)