🚀 Publish Update
Set which version users see and can download. Only one version is active at a time.
📢 Announcements
Post notices and changelogs visible to all users.
🤖 AI Engine
Prod config for all users (api_mode: proxy). Changes propagate within 60 seconds via edge-function cache.
🎚️ Tier Limits
Monthly AI token allocation per tier. Used by ai-proxy quota enforcement and the account page display. Edge functions cache this for 60 seconds, so changes go live within a minute.
Last 20 changes to tier limits. Append-only audit log.
When a beta user opens the app within Grace Window days of their license expiring, the expiry is automatically pushed forward by Renewal Length days. Non-beta licenses are unaffected. Changes take effect within 60 seconds (edge-function cache TTL).
🗝️ API Keys
Store your AI provider API keys securely server-side. Keys are never exposed to clients — all AI calls proxy through the edge function.
Used when AI Engine provider is set to OpenAI.
Used when AI Engine provider is set to Grok. Routes to Studio tier users.
Used when AI Engine provider is set to Gemini. Routes to Standard tier users.
AiRi app calls this edge function instead of OpenAI/Grok directly:
🔑 Licenses
Generate and assign license keys to beta users.
👥 Users
View accounts. Delete a user to wipe auth + profile + licenses + usage records.
🧪 Beta Signups
Approve applicants to auto-generate a license key and email it to them.
📜 ToS / EULA Audit & Publish
Read-only acceptance state for both surfaces. Admins can publish a new In-App EULA version below — that action is irreversible and will force every user to re-accept on next launch. Website ToS still requires a code change + redeploy.
Privacy Notice is a unilateral notice — there is no per-user acceptance to track. Version bumps just refresh the published document.
▸ Show publish form (click to expand)
tos_versions for legal audit.
Current: — · Suggested: —
Publishes to tos_versions + flips site_settings.app_tos_current_version.
Preview will render here as you type…
0 / 65536 bytes ·
Preview uses marked with GitHub-flavored Markdown; the desktop app uses Flet's Markdown renderer (visual output may differ slightly).
📧 Newsletter
Send updates to mailing-list subscribers, active beta testers, or both.
Toolbar: B I U · H1/H2 headings · bullet & numbered lists · links · 🖼 image (uploads to R2) · blockquote · code · clear
⚠️ This will email — address(es). Double-check before sending.
☁️ Storage (R2)
Configure Cloudflare R2 credentials and upload new app versions.