Chrome Extension
Build and Release Constraints
Build entry points, manifest constraints, content-script output rules, and contributor expectations
Build and Release Constraints
Unified Build Entry
The extension build should go through:
npm run build:extensionIt will:
- bump the extension patch version
- run TypeScript validation
- emit
products/chrome-extension/dist
Why Local Partial Builds Are Not Enough
The extension has a few hard constraints:
manifest.jsondepends on stable file names- the content script cannot silently turn into a module/chunk graph
- Extension Popup, options, and Inline Composer should be validated together
Contributor Expectations
- always rebuild after extension changes
- if user-facing behavior changes, update
/docs - if architecture, build rules, or implementation boundaries change, update
/devdocs