License validation
VALIDATE_LICENSE_URL (Supabase Edge Function)
Auth: Bearer session token or license key payload
Called by the extension after sign-in or when activating a device. Validates subscription tier, enforces device limits, and returns plan metadata used to unlock Pro/Team features.
Example request
{
"deviceId": "uuid",
"platform": "chrome",
"browserVersion": "126.0"
}Example response
{
"plan": "pro",
"expiresAt": "2026-07-01T00:00:00Z",
"features": ["copilot", "sync", "themes"]
}