feat: open terminal integration

This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-27 13:08:59 -06:00
1 parent 7ea6afdf95
commit 4737e1f118
15 files changed
+767 -64

No files matched your search

+3 -1
View File
@@ -10,6 +10,7 @@
import { onDestroy, onMount, tick, getContext } from 'svelte';
import {
terminalServers,
mobile,
showControls,
showCallOverlay,
@@ -58,7 +59,8 @@
// Tab state for Controls+Files panel
let activeTab: 'controls' | 'files' | 'overview' = savedTab;
$: savedTab = activeTab;
$: hasTerminal = !!($settings?.terminalServers ?? []).find((s) => s.enabled)?.url;
$: hasTerminal = !!($settings?.terminalServers ?? []).find((s) => s.enabled)?.url
|| $terminalServers.length > 0;
$: hasMessages = history?.messages && Object.keys(history.messages).length > 0;
$: if (!hasMessages && activeTab === 'overview') activeTab = 'controls';