fix: open memory browser panel for /memory command and default agent type to general-purpose
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m14s
CI / Lint & Test (pull_request) Successful in 17m8s
CI / Build Linux (pull_request) Successful in 24m24s
CI / Build Windows (cross-compile) (pull_request) Successful in 35m25s

This commit is contained in:
2026-03-13 00:57:38 -07:00
committed by Naomi Carrigan
parent 5c16037f8b
commit 8af898c92a
6 changed files with 97 additions and 11 deletions
+6 -2
View File
@@ -6,6 +6,7 @@
import { editorStore } from "$lib/stores/editor";
import { configStore } from "$lib/stores/config";
import { debugConsoleStore } from "$lib/stores/debugConsole";
import { memoryBrowserStore } from "$lib/stores/memoryBrowser";
import type { ConnectionStatus } from "$lib/types/messages";
import StatsDisplay from "./StatsDisplay.svelte";
import AboutPanel from "./AboutPanel.svelte";
@@ -71,6 +72,9 @@
let showTaskLoop = $state(false);
let showWorkflowPanel = $state(false);
let showMemoryPanel = $state(false);
memoryBrowserStore.subscribe((s) => {
showMemoryPanel = s.isOpen;
});
const progress = $derived($achievementProgress);
const activeAgentCount = $derived($runningAgentCount);
@@ -179,7 +183,7 @@
</button>
<!-- Memory Manager -->
<button onclick={menuAction(() => (showMemoryPanel = true))} class="nav-item">
<button onclick={menuAction(() => memoryBrowserStore.open())} class="nav-item">
<svg class="w-5 h-5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
stroke-linecap="round"
@@ -563,7 +567,7 @@
{/if}
{#if showMemoryPanel}
<MemoryBrowserPanel isOpen={showMemoryPanel} onClose={() => (showMemoryPanel = false)} />
<MemoryBrowserPanel isOpen={showMemoryPanel} onClose={() => memoryBrowserStore.close()} />
{/if}
{#if showWorkflowPanel}