Add multi-plan subscriptions, quotas, and token usage APIs
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s

Implements #16/#17/#36: Founders/Standard/Pro/Business/Backer catalog,
Backer email whitelist, prompt-window + token-period gates, and
tokens_in/out on conversation/prompt + subscription usage APIs.
This commit is contained in:
2026-07-31 06:21:54 -05:00
parent 67f16565e9
commit a6c45b0882
23 changed files with 1580 additions and 36 deletions
+8
View File
@@ -0,0 +1,8 @@
"""Finance app signals."""
def seed_plans_on_migrate(sender, **kwargs):
"""Ensure the subscription catalog exists after migrate."""
from finance.services.plans import seed_subscription_plans
seed_subscription_plans(update_existing=False)