Gateway login and registration
How AgentGateway becomes visible to clients through the PocketWorkers backend.
AgentGateway must authenticate before it can expose a worker route.
Why gateway login matters
A gateway is not just a label. It represents a machine that may contain source code, credentials, terminals, and local agent sessions. PocketWorkers binds that gateway to an account before any client can use it.
Registration record
When AgentGateway registers, the backend stores:
- owning account
- gateway identity
- display name
- status timestamps
- FRP endpoint and public port metadata
- access state used by clients
The gateway list shown in the web app is read from Supabase, but live worker truth still comes from AgentGateway.
Client discovery
Clients do not type gateway network details. They sign in, select a team, and choose one of the gateways already registered for that account.