Chrome Extension
Chrome Extension Overview
The extension's role in the repo, its module boundaries, entry points, and maintenance rules
Chrome Extension Overview
products/chrome-extension/ is the browser-side context-capture and dispatch surface.
It does not host full conversations. Its responsibilities are:
- capture web context
- choose Agent / Chat targets
- build Markdown attachments
- dispatch requests to the Console gateway
Main Entry Points
src/extension-popup/: Extension Popup UIsrc/options/: settings pagesrc/inline-composer/: Inline Composer, selection flow, in-page dispatch logicsrc/services/pageMarkdown.ts: structured full-page capture and Markdown generation
Maintenance Rules
- Extension Popup is for explicit dispatch
- Inline Composer is for in-page dispatch
- the extension dispatches work but does not wait for final execution
- page capture should stay structured, not devolve into raw
innerText - after extension changes, always run
npm run build:extension