@repo/core Package
@repo/core provides the domain layer for the extension — runtime messaging, storage, billing types, and Chrome helpers.
Key Exports
Runtime messaging
sendRuntimeMessage— send a typed message to the background (returns a promise with the typed response)addRuntimeMessageListener— register a handler in the background for a message typeRuntimeMessageMap— type definition for all message types
Storage
- Storage migration helpers via
runStorageMigrationsin@repo/browser-utils(used by core)
Billing
- Billing-related types and helpers
Other
auth,chrome,data,email,ai— domain helpers
Framework Agnostic
@repo/core has no React dependency. You can use it from Vue, Svelte, Angular, or vanilla JavaScript. Only @repo/auth and @repo/ui are React-specific.