import { setupMessageHandler } from "./messages"; import { setupAutoLock } from "./alarms"; import { setupPasskeyProxy } from "./passkey"; import { setupCommands } from "./commands"; // Keep alive for MV3 service worker chrome.runtime.onInstalled.addListener(() => {}); // The chrome.idle.onStateChanged listener lives in ./alarms (the architectural // home for auto-lock timing). Keeping it in only one place avoids drift. export function start() { setupMessageHandler(); void setupAutoLock(); setupCommands(); void setupPasskeyProxy(); } start();