feat(v2): add agent tree, status bar, notifications, settings dialog (Phase 5)

Agent tree visualization (SVG) with horizontal layout and bezier edges.
Global status bar with pane counts, active agents pulse, token/cost totals.
Toast notification system with auto-dismiss and agent dispatcher integration.
Settings dialog with SQLite persistence for shell, cwd, and max panes.
Keyboard shortcuts: Ctrl+W close pane, Ctrl+, open settings.
This commit is contained in:
Hibryda 2026-03-06 13:46:21 +01:00
parent cd1271adf0
commit be24d07c65
13 changed files with 809 additions and 2 deletions

View file

@ -0,0 +1,13 @@
import { invoke } from '@tauri-apps/api/core';
export async function getSetting(key: string): Promise<string | null> {
return invoke('settings_get', { key });
}
export async function setSetting(key: string, value: string): Promise<void> {
return invoke('settings_set', { key, value });
}
export async function listSettings(): Promise<[string, string][]> {
return invoke('settings_list');
}