feat(health): add project health store, Mission Control bar, and session metrics

This commit is contained in:
Hibryda 2026-03-10 23:45:30 +01:00
parent 072316d63f
commit 42094eac2a
11 changed files with 773 additions and 16 deletions

View file

@ -4,6 +4,7 @@
import { getSetting } from './lib/adapters/settings-bridge';
import { isDetachedMode, getDetachedConfig } from './lib/utils/detach';
import { startAgentDispatcher, stopAgentDispatcher } from './lib/agent-dispatcher';
import { startHealthTick, stopHealthTick, clearHealthTracking } from './lib/stores/health.svelte';
import { loadWorkspace, getActiveTab, setActiveTab, setActiveProject, getEnabledProjects } from './lib/stores/workspace.svelte';
// Workspace components
@ -65,6 +66,7 @@
if (v) document.documentElement.style.setProperty('--project-max-aspect', v);
});
startAgentDispatcher();
startHealthTick();
if (!detached) {
loadWorkspace().then(() => { loaded = true; });
@ -120,6 +122,7 @@
return () => {
window.removeEventListener('keydown', handleKeydown);
stopAgentDispatcher();
stopHealthTick();
};
});
</script>