SETUP
1. github.com > Settings > Developer settings > OAuth Apps > New. Callback URL: any (e.g. https://github.com). Tick "Enable Device Flow". Copy the Client ID.
2. Paste it into config.js (GITHUB_CLIENT_ID).
3. chrome://extensions > Developer mode > Load unpacked > select this folder.
   (After updating/reloading the extension, also refresh open GitHub tabs.)
4. Click the extension > Sign in with GitHub > enter the code > paste your Groq API key (console.groq.com/keys).
5. Open any file's edit page on GitHub (the pencil icon), type, wait ~1s.

INLINE SUGGESTIONS
  Tab            accept the whole suggestion
  Ctrl+Right     accept one word at a time (Cmd+Right on Mac)
  Alt+]          next option (generates a new alternative if needed, up to 5); also triggers a suggestion on demand
  Alt+[          previous option
  Esc            dismiss
  Suggestions stream in as Groq generates them.

ACTIONS ON SELECTED CODE
  Select code, then right-click > Manifest > Explain / Add comments / Fix bug / Write docstring
  or use the shortcuts (change them at chrome://extensions/shortcuts):
    Alt+Shift+E  Explain
    Alt+Shift+C  Add comments
    Alt+Shift+F  Fix bug
    Alt+Shift+D  Write docstring
  Explain streams into a side panel. The other three show a diff you can Apply (replaces your selection) or Copy.
  Max selection: 10,000 characters. Explain also works on read-only file views; Apply only in the editor.
