Skip to content

Remove plan billing: purchase, checkout, cancel and usage-upgrade surfaces - #2

Merged
zereight merged 3 commits into
mainfrom
t3/say-hello
Nov 11, 2026
Merged

zereight merged 3 commits into
mainfrom
t3/say-hello

Conversation

@zereight

Copy link
Copy Markdown
Owner

Removes the payment surface from the app: the Cloud plan state machine, buy/cancel/trial/usage-upgrade UI, their IPC, and the preview pages. About 6k lines deleted.

Kept on purpose:

  • `server/host/cloud-plan-tier.ts` and the signed `POST /api/cloud/plan` route: they gate Starter bot/turn limits, which is a capacity limit, not billing.
  • Team-plan detection, Cloud colour helpers, provider spend formatting: shared with non-payment features.
  • The `cloudPlan` preload bridge as rejecting stubs, because `electron/bridge-contract.json` requires old keys for two releases.

Verified locally: `pnpm typecheck`, `pnpm test:electron` (2019 pass, 0 fail), oxlint clean, targeted vitest for touched areas.
Not run: full `pnpm test`, app-level manual check.

tao.exe added 3 commits November 11, 2026 18:43
…faces

Deletes the Cloud plan state machine, buy/cancel/trial/usage-meter UI, their IPC and previews. Old bridge keys stay as rejecting stubs per the bridge contract. The Starter limits tier (server/host/cloud-plan-tier.ts) is kept.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant