Lesss gooo claude

This commit is contained in:
2026-09-06 11:44:59 +02:00
parent 477db87363
commit 9362c9ac80
22 changed files with 3871 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { LockState } from './types';
/** browser.storage.local key backing the lock state seam in the background script. */
export const LOCK_STATE_STORAGE_KEY = 'nexa:lockState';
/**
* Typed message contracts between background <-> content scripts <-> popup.
* All lock-state reads/writes go through these so no module reaches into
* storage directly (see src/background/lock-state.ts).
*/
export type NexaMessage =
| { type: 'nexa:get-lock-state' }
| { type: 'nexa:set-lock-state'; state: LockState }
| { type: 'nexa:lock-state-changed'; state: LockState }
| { type: 'nexa:open-popup' };