Prerequisites
Install Node.js 20 or later (CI uses Node 22), npm 10 or later, and Chrome 138 or later for live validation.
Set up
Clone the repository, then run npm ci. Keep generated dist/ files out of commits.
Validate and package
npm run checktype-checks the source.npm testruns unit, integration, and UI-harness tests.npm run build:chromecreates a minified Manifest V3 build atdist/chrome/.npm run validate:chromeverifies manifest versions, required files, and the absence of source maps.npm run pack:chromebuilds, validates, and writes the root-layout store ZIP todist/packages/.npm run validateruns the full CI gate.
Architecture
The platform adapters stay separate from the shared translation, caching, synchronization, and renderer core. Read Architecture before adding a service or changing shared behavior.