Paid features: a workspace turns on Deployments with a monthly plan
Like Workers for Platforms, or Vercel's Pro, but per feature: an owner turns a feature on from Billing, pays its monthly plan through Stripe Checkout in subscription mode, and the feature works while the plan is paid. Never free: FREE_WHILE_BUILDING and the free model allowance do not cover it. - Billing: `features`, `subscribe`, `confirm_subscription`, `cancel_subscription` (at the end of the period, or taken back), `has_feature` (asked by the service that provides it before paid work) and `charge_feature` (usage past the allowance, from credit at cost plus the margin, once per reference). A plan is asked about again once its period is over, so renewals and failed payments need no webhook. Migration 0003 adds `subscriptions`. - Deployments: $5 a month (DEPLOYMENTS_MONTHLY_CENTS), including 10 apps, 1M requests and 3M CPU-ms; past that, Cloudflare's price plus 20%. - The Billing page gains Plans, with what each costs and includes, and lets owners add credit for plan usage while agents are free.
No changes