Skip to content

v0.3.0 — Subscriptions, Allocation, StoreKit

Latest

Choose a tag to compare

@scottxxxxx scottxxxxx released this 21 Mar 18:37
· 350 commits to main since this release

What's New

5 Subscription Tiers

Free, Standard ($2.99), Pro ($4.99), Ultra ($9.99), Ultra Max ($19.99). Each with default model, monthly allocation, summary constraints, and image limits.

Monthly Allocation System

Cost-based allocation that resets monthly. Overage credit packs at same per-hour rate. Dollar-value carryover on upgrade — no gaming possible, no value lost.

StoreKit 2 Integration

POST /v1/verify-receipt accepts StoreKit transactions, maps product IDs to tiers, applies carryover. Allocation headers on every chat response.

User Usage Endpoint

GET /v1/usage/me returns hours used/remaining, overage balance, tier constraints — everything the iOS app needs to display usage.

Query Analytics

Every request tracks call_type, prompt_mode, image_count, session_duration_sec, cached_tokens without storing any content.

Admin Dashboard Enhancements

Per-user detail drilldown with budget cards, query type breakdown, prompt mode table. Tiers tab with simulate button.

Security

JWT no longer encodes tier — always read from database so upgrades take effect immediately.

See CHANGELOG.md for full details.