You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API Section: token input with show/hide, endpoint config, model selector, live connection test
Behavior Section: streaming toggle, page context default, auto-save history, insights bar visibility, history limit
Templates Section: visual list of all templates (user + built-in), edit/delete buttons, full template editor with name/icon/body/category fields and variable reference
Shortcuts Section: visual keyboard shortcut reference with link to Chrome shortcuts config
Compare Mode Section: default model A and B selectors
Data Section: storage usage stats, clear history, clear KB, reset templates, full settings reset
Architecture Notes
All new features are in separate ES modules under modules/ for clean separation of concerns
Modules are loaded via import() in contentScript.js (requires web_accessible_resources registration)
Streaming: background sends STREAM_CHUNK / STREAM_DONE to content tab; content script dispatches as DOM CustomEvents for decoupled stream routing
Storage: chrome.storage.sync for settings and templates (cross-device); chrome.storage.local for history and KB (larger quota)
Template variables are HTML-escaped before insertion to prevent XSS