diff --git a/ui-electrobun/src/mainview/ProjectCard.svelte b/ui-electrobun/src/mainview/ProjectCard.svelte index eead916..5571cea 100644 --- a/ui-electrobun/src/mainview/ProjectCard.svelte +++ b/ui-electrobun/src/mainview/ProjectCard.svelte @@ -51,6 +51,7 @@ cloneOf, clonesAtMax = false, onClone, + groupId = 'dev', }: Props = $props(); // ── Agent session (reactive from store) ────────────────────────── @@ -91,7 +92,12 @@ // Track which project tabs have been activated (PERSISTED-LAZY pattern) let activatedTabs = $state>(new Set(['model'])); - const ALL_TABS: ProjectTab[] = ['model', 'docs', 'context', 'files', 'ssh', 'memory']; + const ALL_TABS: ProjectTab[] = ['model', 'docs', 'context', 'files', 'ssh', 'memory', 'comms', 'tasks']; + + // ── Load last session on mount ────────────────────────────────────── + $effect(() => { + loadLastSession(id); + }); function setTab(tab: ProjectTab) { activeTab = tab; @@ -349,6 +355,32 @@ {/if} + + + {#if activatedTabs.has('comms')} +
+ +
+ {/if} + + + {#if activatedTabs.has('tasks')} +
+ +
+ {/if}