MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / syncTerminalFromServer

Function syncTerminalFromServer

web/scripts/ragnar_modern.js:1055–1063  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

1053 showRusenseSubtab(_rusenseCurrent);
1054 }
1055 }
1056 }).catch(() => {});
1057 };
1058 tick();
1059 _sensingLogTimer = setInterval(tick, 2000);
1060}
1061
1062// ── RuSense tab visibility (toggle lives in Settings; hidden by default) ─────
1063// Stored server-side under the same key so the choice is shared across every
1064// browser/device (like Ragnar's other settings). localStorage is a local cache
1065// for instant first paint; the server value is synced in on load and wins.
1066const RUSENSE_TAB_KEY = 'rusense_tab_visible';

Callers 1

ragnar_modern.jsFile · 0.85

Calls 2

applyTerminalVisibilityFunction · 0.85
fetchAPIFunction · 0.70

Tested by

no test coverage detected