GME AI — form assistant (Chrome / Edge extension)
=================================================

Chat with GME AI in a side panel, and have it fill in the form you are looking
at on any site. Everything runs on YOUR GME AI account and is billed to YOUR ATG
balance.

INSTALL (no build step)
-----------------------
1. Unzip this folder somewhere permanent (the browser loads it from disk).
2. Open  chrome://extensions   (Edge: edge://extensions)
3. Turn on "Developer mode" (top-right).
4. Click "Load unpacked" and select this folder.
5. Pin the GME AI icon, then click it to open the side panel.

UPGRADING FROM AN OLDER COPY
----------------------------
Remove the old one first (chrome://extensions -> Remove), then Load unpacked the
new folder. Reloading in place can leave the previous files behind.

CONNECT YOUR ACCOUNT
--------------------
1. In the side panel, click "Get a key" (opens Portal -> Developer).
2. Create an API key and copy it.
3. Paste it into the side panel and press Connect.

The key is stored only in this browser's extension storage. It is not a password
— you can revoke it at any time from Portal -> Developer, and every request it
makes is billed to your own ATG balance.

USING IT
--------
• Ask anything, like normal chat.
• "My details" — put your name, email, phone, date of birth and address in once.
  After that, "fill this form" works on any site without you retyping them.
• On a page with a form, press "Fill form" or say what you want, e.g.
  "fill this form, company GME Tech, email ops@gme-ai.com, country Singapore".
• You always see the actual values BEFORE anything is typed, and you approve them.
• "Attach" adds a text or document file (.txt, .md, .csv, .json, code) to your
  next message. Images, PDFs and Office files cannot be read here — import those
  into the portal knowledge base instead and turn "Knowledge" on.
• "Knowledge" answers from your own knowledge base and cites which documents it
  used.

HOW YOUR DETAILS ARE USED (worth reading)
-----------------------------------------
Your saved details are NOT sent to the AI. When you ask it to fill a form, the AI
is told only which KINDS of detail you have — the key names, like "first_name" or
"postcode" — and it decides which one belongs in which field. The extension then
puts the real values in on your own computer, after you approve the card. So the
AI never sees your name, phone number or date of birth, and a malicious web page
cannot talk it into revealing something it was never given.

They are stored in this browser's extension storage on this machine, unencrypted,
like any other browser-saved form data. "Clear all" removes them, and signing out
removes them along with your key.

WHAT IT WILL NOT DO (by design)
-------------------------------
• It never reads or fills passwords, card numbers, CVV codes, one-time passcodes
  or similar. Those fields are not even sent to the AI — you type them yourself.
• It never submits a form. It fills the fields; you check them and press the
  site's own button.
• It does nothing on a site until you grant permission for that site, and it
  asks only when you first use it there. You can revoke access per site from
  chrome://extensions -> GME AI -> Site access.

PRIVACY
-------
When you ask it to fill a form, the field labels/names, your instruction and the
NAMES of the details you have saved are sent to GME AI to work out what goes
where. Page content you did not ask about is not sent, sensitive fields are
excluded before anything leaves the page, and your detail values stay here.

Attached files ARE sent, in full, as part of that message — only attach what you
are willing to share with the model.
