When a buyer’s key validates, Sirius injects aDocumentation Index
Fetch the complete documentation index at: https://docs.sirius.menu/llms.txt
Use this file to discover all available pages before exploring further.
Sirius global before your code runs. Read it to branch on what they own.
The Sirius global
| Field | Description |
|---|---|
Tier.id | The permanent slug from the product. Branch on this. |
Tier.name | Display name. Safe for UI. |
Source | "whitelist" for paid keys, "checkpoint" for free ad-gated keys. |
ExpiresAt | Unix seconds for subscriptions, nil for permanent keys. |
Branching
"free" when the global is missing — the script might be running outside a key gate.
Trust the global once
The buyer’s executor controls the runtime. They can overwritegetgenv().Sirius after your script loads. Read it once at the top of your script and cache it.