Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The runtime and model are free, open source (Apache-2.0) and need no API key or
genclass.dev service are defined in `billing/plans.json`, which the collector and the pricing page read, and it
defines three (since 2026-11-11). Free is what finds, shows and fixes the problems: the dashboard's problems for one
person, 3 apps and the last 7 days, the coding-agent loop on your machine, and the GitHub App on public repositories.
Team, US$50 a developer a month (US$15 in Canada), adds the GitHub App on private repositories, visitor analytics, forwarding, data
Team, US$50 a developer a month, adds the GitHub App on private repositories, visitor analytics, forwarding, data
export, 90 days of history and members. Enterprise, agreed by email, adds your own classifier, which GenClass trains,
GenClass's models in its cloud, a year of history and contract terms. Your data is kept 90 days on every plan, so an
upgrade shows what was counted before it. A collector you host yourself locks nothing. The pricing page shows the
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ npx genclass # signs you in, starts Pro, adds GenClass to your app and walks y

Run it in your web app's folder and press Enter for each step: account, Pro, runtime, app plan, dashboard, test
workflow, GitHub App, coding agent, suggestions. The command comes with Pro: 3 days free, then US$50 a developer a
month (US$15 in Canada). The card is asked for on Stripe when the trial starts, and nothing is charged if you cancel before the 3 days
month. The card is asked for on Stripe when the trial starts, and nothing is charged if you cancel before the 3 days
end. Free stays on the website ([pricing](https://genclass.dev/pricing)). A step that does not fit your project is
skipped, Enter also stops any wait, and running it again continues from where things are. It draws nothing on your
pages. Then:
Expand Down Expand Up @@ -204,7 +204,7 @@ GenClass's GitHub App puts what the runtime saw on the pull request it was seen
the GenClass fixture, your workflow uploads the race files it writes, and the app posts one check and one comment:
each finding with its test, the seeds it was flagged in and the evidence line. It reads those files and never your
source code, it comments only where it is installed, and it is free on public repositories. Private repositories
come with Pro (US$50 a developer a month (US$15 in Canada); [pricing](https://genclass.dev/pricing)).
come with Pro (US$50 a developer a month; [pricing](https://genclass.dev/pricing)).

> **Install** at <https://genclass.dev/github> (the app is GenClass.dev, <https://github.com/apps/genclass-dev>). With
> no change to your tests, one workflow file is the whole setup: the check on your first pull request links to it,
Expand Down Expand Up @@ -249,7 +249,7 @@ export const submitOrder = protect("checkout submit", (cart) => fetch("/api/orde

- **Token and dashboard.** A token (`gc_` plus 22 letters and digits, public) groups your app's diagnostics under a
private dashboard link (`https://genclass.dev/dashboard/...`). On Free the dashboard shows an app's totals for the
last 7 days, for one app in an account. Pro (US$50 a developer a month (US$15 in Canada), up to 3 apps in an account) adds every
last 7 days, for one app in an account. Pro (US$50 a developer a month, up to 3 apps in an account) adds every
problem with its pages and a fix prompt, visitor analytics, forwarding, export, 90 days of history and team members;
more apps come with Enterprise ([pricing](https://genclass.dev/pricing)). Plans bought before 13 November 2026 keep
every app they cover (an app paid for on its own does not count toward Pro's 3); Free covers an account's oldest app
Expand Down
8 changes: 2 additions & 6 deletions billing/plans.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_about": "The one place GenClass plans are defined. telemetry-worker/src/plans.ts imports this file (limits, entitlements, Stripe lookup keys, the billing page) and genclass.dev's site reads it (the pricing page). Three plans since version 3 (2026-11-11): Free, Team (named Pro since 2026-11-12) and Enterprise; version 4 (2026-11-12) sold a plan per project; version 5 (2026-11-13, below) sells Pro for the account again. The history up to version 4 follows. Free is what finds, shows and fixes the problems: the open-source runtime with every mode and its on-device model, the coding-agent loop on the developer's machine, the dashboard's problems for an account's first 3 projects (the last 7 days shown; a 4th project on Free is locked until it has a plan), and 100 problems fixed live a month per project (limits.live_fixes_per_month; past it the runtime is told to observe only until the month ends) and genclass-dev[bot] on public repositories. Team is sold per project (per_project true: one Stripe subscription of quantity 1 per project, its metadata naming the project; everyone on the account's team sees it; telemetry-worker/src/stripe.ts) and adds what a team uses: genclass-dev[bot] on private repositories, visitor analytics, forwarding, export, 90 days of history and members. Enterprise is agreed by email: a null monthly price means the plan is not sold on the site, and an account gets it from GenClass's own grant (accounts.comp_until, set by hand to the end of the agreement; accounts.comp_plan names the plan granted, grant_plan when it is empty). The classifier a person from GenClass trains is in Enterprise only. retired_plans lists the plan ids GenClass sold before (Pro and Custom until 2026-10-19, Individual until 2026-10-22): their Stripe products and prices stay GenClass's own, so a subscription to one is still cancelled with its account, opens Manage billing and is reported to the owner while it bills, but it gives no plan (it reads as Free). The worker's Stripe code and scripts/stripe-setup.mjs sell any plan given a monthly price above 0, its stripe_lookup_keys and a stripe_tax_code. Prices are US cents (per project for a per_project plan, per seat for a per_seat plan); a null yearly price means no yearly option. limits.apps null means no plan limit (the worker still caps an account at 200 apps against abuse); limits.seats is how many people a plan that is not per_seat holds (null: no limit); limits.history_days is what the dashboard shows, and data is never deleted before 90 days whatever the plan, so the longer history is there the moment an account upgrades. Ingest never depends on the plan: an app's visitor analytics are counted while its plan leaves them out, and shown once it includes them. Pro (id team; named Team until 2026-11-12) has a trial: trial_days (3) days free at Checkout, a card taken up front and charged when it ends unless cancelled, once per account (telemetry-worker/src/billing.ts trialFor). Feature lines with available false are shown as coming next. The entitlement github_private is what lets genclass-dev[bot], the GitHub App, review an account's private repositories (telemetry-worker/src/github/entitlement.ts); public repositories are reviewed for everyone, whatever this file says. A self-hosted collector sets PLAN_GATES = \"open\" and gives every account the grant plan. managed_payments true would sell a plan through Stripe Managed Payments (only for fully automated digital products; telemetry-worker/README.md, Paid plans). `suggestions` (2026-11-12): what `genclass suggest` gives a plan (telemetry-worker/src/suggest.ts): `per_day`, model runs an account has a day, and `shown`, how many items of the plan it is shown (null: all); the measured checks themselves are free for everyone. Entitlements `problems` (the problem lists, pages, activity and fix prompts on the dashboard and in the genclass command; Free shows only the totals) and `ask` (genclass ask) were added 2026-11-12 (the owner's 'limit free fully'); a plan file without the key gives them. Version 5 (2026-11-13, the owner's call): Pro is bought for the account again, not per app, and per developer (per_seat: the subscription's quantity is how many developers, the owner included, US$15 each a month); it covers up to 3 apps (limits.apps) whatever the number of developers, the oldest first, and a later app waits on its plan page, where more apps are Enterprise's, by email. A subscription bought per project under version 4 still covers its app, is not counted in the 3 and holds the whole team (no seat count); an account subscription from before version 5 keeps covering the apps the account had when migration 0021 was applied (accounts.apps_kept) while it lasts. Free covers one app. GenClass's grants cover every app. The genclass command is Pro's (2026-11-13, the owner's 'make the entire CLI paid'): a CLI session without Pro, its trial or a paying team gets 402 from every /api/cli route but the overview and the account; Free is the website's, with the owner's words for its list: one app, a limited dashboard, the open-source basics, and (the owner's 'keep them free') the GitHub App on public repositories, the page check and 100 live fixes a month. Prices by country (2026-11-16, the owner's call): a plan's price_usd_cents and stripe_lookup_keys are what it costs everywhere but the countries its country_prices list (ISO 3166-1 alpha-2 codes, as Cloudflare reports the visitor's country). Pro is US$50 a developer a month everywhere but Canada, where it stays US$15 under the lookup key it was sold under before (genclass_team_monthly, so every subscription on it keeps its price). Checkout sells the price of the country the request comes from (telemetry-worker/src/plans.ts priceFor); a request with no country gets the plan's own price. A subscription keeps the price it was bought at. stripe_product (on a plan, for its own price, or on a country price) names the Stripe product that price is on; left out, the plan's main product genclass_<id>. Pro's US$50 price is on genclass_team_world, because Stripe's Billing Portal allows only one monthly price per product for seat changes; both products are named GenClass Pro and carry metadata genclass_plan team.",
"_about": "The one place GenClass plans are defined. telemetry-worker/src/plans.ts imports this file (limits, entitlements, Stripe lookup keys, the billing page) and genclass.dev's site reads it (the pricing page). Three plans since version 3 (2026-11-11): Free, Team (named Pro since 2026-11-12) and Enterprise; version 4 (2026-11-12) sold a plan per project; version 5 (2026-11-13, below) sells Pro for the account again. The history up to version 4 follows. Free is what finds, shows and fixes the problems: the open-source runtime with every mode and its on-device model, the coding-agent loop on the developer's machine, the dashboard's problems for an account's first 3 projects (the last 7 days shown; a 4th project on Free is locked until it has a plan), and 100 problems fixed live a month per project (limits.live_fixes_per_month; past it the runtime is told to observe only until the month ends) and genclass-dev[bot] on public repositories. Team is sold per project (per_project true: one Stripe subscription of quantity 1 per project, its metadata naming the project; everyone on the account's team sees it; telemetry-worker/src/stripe.ts) and adds what a team uses: genclass-dev[bot] on private repositories, visitor analytics, forwarding, export, 90 days of history and members. Enterprise is agreed by email: a null monthly price means the plan is not sold on the site, and an account gets it from GenClass's own grant (accounts.comp_until, set by hand to the end of the agreement; accounts.comp_plan names the plan granted, grant_plan when it is empty). The classifier a person from GenClass trains is in Enterprise only. retired_plans lists the plan ids GenClass sold before (Pro and Custom until 2026-10-19, Individual until 2026-10-22): their Stripe products and prices stay GenClass's own, so a subscription to one is still cancelled with its account, opens Manage billing and is reported to the owner while it bills, but it gives no plan (it reads as Free). The worker's Stripe code and scripts/stripe-setup.mjs sell any plan given a monthly price above 0, its stripe_lookup_keys and a stripe_tax_code. Prices are US cents (per project for a per_project plan, per seat for a per_seat plan); a null yearly price means no yearly option. limits.apps null means no plan limit (the worker still caps an account at 200 apps against abuse); limits.seats is how many people a plan that is not per_seat holds (null: no limit); limits.history_days is what the dashboard shows, and data is never deleted before 90 days whatever the plan, so the longer history is there the moment an account upgrades. Ingest never depends on the plan: an app's visitor analytics are counted while its plan leaves them out, and shown once it includes them. Pro (id team; named Team until 2026-11-12) has a trial: trial_days (3) days free at Checkout, a card taken up front and charged when it ends unless cancelled, once per account (telemetry-worker/src/billing.ts trialFor). Feature lines with available false are shown as coming next. The entitlement github_private is what lets genclass-dev[bot], the GitHub App, review an account's private repositories (telemetry-worker/src/github/entitlement.ts); public repositories are reviewed for everyone, whatever this file says. A self-hosted collector sets PLAN_GATES = \"open\" and gives every account the grant plan. managed_payments true would sell a plan through Stripe Managed Payments (only for fully automated digital products; telemetry-worker/README.md, Paid plans). `suggestions` (2026-11-12): what `genclass suggest` gives a plan (telemetry-worker/src/suggest.ts): `per_day`, model runs an account has a day, and `shown`, how many items of the plan it is shown (null: all); the measured checks themselves are free for everyone. Entitlements `problems` (the problem lists, pages, activity and fix prompts on the dashboard and in the genclass command; Free shows only the totals) and `ask` (genclass ask) were added 2026-11-12 (the owner's 'limit free fully'); a plan file without the key gives them. Version 5 (2026-11-13, the owner's call): Pro is bought for the account again, not per app, and per developer (per_seat: the subscription's quantity is how many developers, the owner included, US$15 each a month); it covers up to 3 apps (limits.apps) whatever the number of developers, the oldest first, and a later app waits on its plan page, where more apps are Enterprise's, by email. A subscription bought per project under version 4 still covers its app, is not counted in the 3 and holds the whole team (no seat count); an account subscription from before version 5 keeps covering the apps the account had when migration 0021 was applied (accounts.apps_kept) while it lasts. Free covers one app. GenClass's grants cover every app. The genclass command is Pro's (2026-11-13, the owner's 'make the entire CLI paid'): a CLI session without Pro, its trial or a paying team gets 402 from every /api/cli route but the overview and the account; Free is the website's, with the owner's words for its list: one app, a limited dashboard, the open-source basics, and (the owner's 'keep them free') the GitHub App on public repositories, the page check and 100 live fixes a month. Pro is US$50 a developer a month since 2026-11-16 (US$15 from 2026-11-11). The Worker secret PLANS_PRIVATE can add prices to a plan (telemetry-worker/src/plans.ts usePrivatePlans); this file holds none.",
"version": 5,
"currency": "usd",
"contact": "mehar@genclass.dev",
Expand Down Expand Up @@ -36,11 +36,7 @@
"name": "Pro",
"summary": "Everything for up to 3 apps, per developer.",
"price_usd_cents": { "monthly": 5000, "yearly": null },
"stripe_lookup_keys": { "monthly": "genclass_team_world_monthly", "yearly": null },
"stripe_product": "genclass_team_world",
"country_prices": [
{ "countries": ["CA"], "name": "Canada", "price_usd_cents": { "monthly": 1500, "yearly": null }, "stripe_lookup_keys": { "monthly": "genclass_team_monthly", "yearly": null } }
],
"stripe_lookup_keys": { "monthly": "genclass_team_monthly", "yearly": null },
"stripe_tax_code": "txcd_10103001",
"managed_payments": false,
"per_seat": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/runtime/DASHBOARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Each web app gets a **project key** (token: `gc_` + 22 letters and digits) that
dashboard at genclass.dev. The key is public: it ships in your page and can only add telemetry to its app. Keep the
dashboards in a GenClass account, or use one private link per app without an account. The dashboard is free for every
app: what GenClass found, on which pages and what it did, for the last 7 days and up to 3 apps in an account. The Team
plan (US$50 a developer a month (US$15 in Canada)) adds visitor analytics, forwarding, export, 90 days of history, unlimited apps and
plan (US$50 a developer a month) adds visitor analytics, forwarding, export, 90 days of history, unlimited apps and
members, who open your apps' dashboards with their own sign-in (Plan and billing, Team: make an invite link and send
it; it works once, for 7 days). Enterprise adds a year of history and your own classifier, which a person from
GenClass trains on your app's traffic, bug reports or labelled examples ([pricing](https://genclass.dev/pricing)).
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Changelog

## 0.3.12

- Before sign-in the command says Pro is 3 days free, then US$50 a developer a month, the price on genclass.dev.

## 0.3.11

- **Pro's price by country**: before sign-in the command says Pro is 3 days free, then US$50 a developer a month
(US$15 in Canada). After sign-in it prints the price genclass.dev gives for where you are, as before.
- **Pro's price**: before sign-in the command says Pro is 3 days free, then US$50 a developer a month. After sign-in it
prints the price genclass.dev gives, as before.
- **It installs `@genclass/runtime` 0.3.0-beta.7.** Setup still draws nothing on your pages. In an app set up by an
older `init`, which added the dev-only overlay, the runtime step now names the file that still loads it and the
line to delete.
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npx genclass

Run it in your web app's folder. It shows where the project stands and walks you through the next step: one Enter
per step. Stop at any point and run it again: it continues from what is true now. It comes with Pro: 3 days free,
then US$50 a developer a month (US$15 in Canada).
then US$50 a developer a month.

```text
╭─ GenClass ────────────────────────────────────────────── v0.3.7 ─╮
Expand Down Expand Up @@ -71,7 +71,7 @@ also a command of its own (`npx genclass problems`), so scripts and coding agent

**The command comes with Pro.** Right after the sign-in, an account without Pro sees Pro's card, and Enter opens its
checkout in the browser: 3 days free (one trial per account; the card is asked for on Stripe, and nothing is charged
if you cancel before they end), then US$50 a developer a month (US$15 in Canada), for up to 3 apps in the account. More apps come with
if you cancel before they end), then US$50 a developer a month, for up to 3 apps in the account. More apps come with
Enterprise, by email. Every command but `login`, `logout`, `whoami`, `plan`, `upgrade`, `profile`, `status`,
`remove`, `help` and `version` asks first. Without a terminal (`--yes`, `--json`, a coding agent) nothing is opened:
one line with the checkout address, and exit code 1. Free stays on the website: one app's totals for the last 7 days.
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genclass",
"version": "0.3.11",
"version": "0.3.12",
"description": "GenClass CLI: one command that sets GenClass up, shows your app in the terminal (problems, analytics, events), hands problems to your coding agent, answers questions about your app and tells you what it is missing.",
"type": "module",
"license": "Apache-2.0",
Expand Down
Loading
Loading