Shared Helpers
Every ChromeShip project ships with typed helpers. Import them from @/shared/ — no raw chrome.* APIs needed.
Storage
Typed chrome.storage wrappers — get, set, update, subscribe.
Messaging
Typed messaging between popup, background, and content scripts.
DOM
Read and manipulate host page elements from content scripts.
Theme
Light, dark, or system — read and change the theme preference.
Auth
Access the Supabase session from any surface.
Environment
Read public environment variables safely.
Errors
Typed ChromeShipError — branch on error.code.
