Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

587 B
Raw Blame
/** Only presentation is persisted. World poses and task authority remain elsewhere. */
export function readCompanionVisible(worldKey: string): boolean {
  try { return localStorage.getItem(`jarvis.companion.${worldKey}.visible.v1`) !== "false"; }
  catch { return true; } // Storage can be unavailable in private browser profiles.
}
export function writeCompanionVisible(worldKey: string, visible: boolean): void {
  try { localStorage.setItem(`jarvis.companion.${worldKey}.visible.v1`, String(visible)); }
  catch { /* The current mounted view retains its in-memory preference. */ }
}