Every change
Every rule, setting and error code each release changed, written for AI agents and developers. The release notes are at gemmein.com/changelog.
The same list is at changes.txt and changes.json, and in a terminal: npx gemmein changes --since <version>. The MCP server's changes tool gives your agent the same list.
Gemmein 0.30.1
· gemmein 0.30.1 · @gemmein/sdk 0.24.1 · @gemmein/mcp 0.21.1
Corrections to the guide your AI reads: CLI approvals in Development last 7 days, Functions run inside relays, ChatGPT's plugin route, and one support reply time on every plan.
The guide
- Changed
Was: The guide said one CLI sign-in approval (npx gemmein login) in Development lasts 24 hours.
Now: One CLI sign-in approval in Development lasts 7 days. On Live, every action still asks for its own approval, each time.
- Changed
Was: The guide said running your own code inside a relay (a run_function step) was not built yet, so that work had to run on your own server.
Now: A relay's run_function step runs your own code as a Function, hosted on Cloudflare, with only the reach you approved. Work that runs longer than a Function's time limit still runs on your own server, behind call_url or as a pipeline.
- Changed
Was: The guide said a Live server key the CLI asks for is saved into your project's file once, with a retry kept on disk if the CLI stopped midway.
Now: A Live server key is shown once in the browser when your human presses Approve, and never reaches the CLI or any file on the machine. Live keys have worked this way since 0.28.0; the guide now says so.
- Changed
Was: The guide said a secret key cannot delete records.
Now: A secret key can delete records only when it was made with delete scope.
- Changed
Was: The guide's ChatGPT steps added Gemmein as a custom MCP server from Plugins.
Now: The first route in ChatGPT is the Gemmein for Business plugin: open it in ChatGPT's plugin directory, choose Install plugin, then Connect Gemmein for Business, sign in to Gemmein and Approve. Adding Gemmein by address from Plugins still works.
- Changed
Was: The guide's pricing table said the middle plan replies the same business day, and Grow replies first, the same business day, with a named contact.
Now: Every plan gets a reply within 1 business day. Grow adds priority support and a named contact.
Gemmein 0.30.0
· gemmein 0.30.0 · @gemmein/sdk 0.24.0 · @gemmein/mcp 0.21.0
A rebuilt dashboard, Google sign-in for you and your customers, permanent app deletion, and fields only your business can set. Your AI and the CLI reach the same actions as the dashboard.
Dashboard
- Changed
Was: The dashboard was one sidebar of pages: Overview, Inbox, Customers, Subscriptions, Get started, Data, Payments, Domains, Site, Views, Relays, Functions, Emails, Logs and Errors, with Settings beside them.
Now: The dashboard is rebuilt around Home. Home shows what needs your attention, your money and your people, a chart of every customer so far, and what is happening in your app. The left sidebar is grouped into Business, Your app and Run, with Home above the groups on its own. Each part of the business is its own room, one tap away: Payments, People, Site, Data, Views, Automations, Functions, Outside websites, AI, Email, Domains, Links, Inbox, Logs, Usage, Settings and Go live. Each room opens with a short line on how it works. ⌘K or Ctrl+K finds a room by its own words ("stripe key" finds Payments) or a customer by email. The Development/Live switch at the top keeps you in the same room in the other environment, and moving from Live into Development asks first, every time. Plain words are the default. The Developer mode switch shows every input, the same ones your AI and the CLI use, and the technical names (Relays, Outbound hosts, Keys). Moving between rooms changes the page without reloading it, and a room shows its own layout while its numbers load. With more than one app, the app switcher sits at the top. If your authenticator app has been given a wrong code, Home shows one line about it, under what else needs your attention, linking to Settings for the full warning.
Sync
- Changed
Was: A collection file that left out "unlockedBy" or "publishing" cleared that setting when synced, the same as an empty value: a paywall lock or "owner approves" set on the dashboard or by your AI was removed at the next sync.
Now: Three settings that protect a business are kept when a collection's file leaves them out: its locked fields ("lockedFields"), its paywall lock ("unlockedBy") and "publishing": "owner approves".
npx gemmein sync,npx gemmein devand your AI'ssyncanddeclare_collectionkeep the current value and print a line asking for it to be added to the file. Only an explicit empty value clears one: "lockedFields": {} or null, "unlockedBy": [], "publishing": "authors publish". "openFields" and "rankable" follow the file exactly, as before.
Promote
- Changed
Was: Promoting a collection's changes to Live carried only what you explicitly promoted. A stricter lock, an "owner approves" setting or a paywall lock you had added in Development since Live's own copy was made did not reach Live on its own.
Now: Promoting now also carries a collection's protective settings forward onto a collection Live already has — a stricter lock, "owner approves", or a paywall lock — in the tighten-only direction, the same rule sync already follows. Going live for the first time copies these settings in full, since Live has no copy of its own yet.
Google sign-in
- Added
Now: Your customers can sign in with Google as well as with the emailed sign-in code, and you can sign in to the dashboard with Google. A customer who signed up with a code and later uses Google with the same address is the same customer. It is off by default and switched per app, separately in Development and Live, on Settings → Sign-in. Gemmein's own Google sign-in works out of the box. In Developer mode you can paste your own Google client (an id and a secret from your own Google Cloud project) instead; the secret is stored encrypted, shown afterwards only by its last four characters, and your AI and the CLI can neither paste nor read it. Before you go live, your AI (
set_google_signin) or the CLI (npx gemmein apps signin google on|off) switches it at once. Once you are live, they ask (request_google_signin_switch) and you approve in your browser with one press, no code. Going live for the first time copies Development's switch and, if you set one, your own Google client, straight to Live; a later promote never changes what Live already has. In your app:g.auth.signInWithGoogle()on the web, org.auth.exchangeIdToken('google', idToken)in a phone app that already signs people in with Google (GemmeinSwift hasexchangeIdTokentoo, plusgetGoogleNonce()to request it). The web sign-in returns only to your app's own verified domain or a Gemmein address. A Google account whose email Google hasn't verified is refused. If you use an authenticator app, the dashboard still asks for its code after Google.npx gemmein devshows a local page marked "LOCAL ONLY — not real Google" in place of Google.New error codes:
google_signin_offinvalid_id_tokenreturn_url_not_allowed
Deleting an app
- Added
Now: Delete an app permanently from Settings → General (Delete this app, at the bottom), or have your AI (
delete_app) or the CLI (npx gemmein apps delete) ask, and approve in your browser. Both ask for the code Gemmein emails and for the app's name typed exactly, matched against its current name when you confirm; a name that doesn't match deletes nothing. Before you confirm, you see the real counts of what goes: customers, records, files, domains, Edge functions, relays, email templates, keys, AI tools and active subscriptions. Everything the app owns is erased, in Development and Live. Every active customer subscription is cancelled in Stripe at once, with no refund from Gemmein; your own connected Stripe account is untouched. If Stripe can't confirm a cancellation, the app is still deleted, and the dashboard, your AI and the CLI say which subscription is still charging while Gemmein keeps retrying. The app's place on your account frees at once, so a new app can be made straight away. Deleting is permanent: a deleted app can't be restored from the dashboard, your AI or the CLI.New error codes:
name_mismatch
Collections
- Added
Now: Locked fields: fields only your business can set, such as a booking's status or a paid flag. Name each one with its default in the collection's file (
"lockedFields": { "status": "requested" }in gemmein/collections/<name>.json), or on the dashboard under the collection's Settings, "Only your business can change these". Your customers' app still reads the field. Any create or update from the app that names it is refused, whatever value it sends, and a new record starts with the default. Your server with a secret key, a relay, an Edge function, a view's actions and the dashboard can change it. Locked fields work on the private, shared, community and direct safety rules, up to 10 per collection, each with a text, number or yes/no default, and each one part of the collection's declared fields.prove_appandnpx gemmein provefail when the app accepts a write to a locked field, and warn when a field that looks like a status or a payment is left unlocked.New error codes:
field_lockedinvalid_locked_fields
Pricing
- Changed
Was: A free account held one app in Development.
Now: A free account holds up to 3 apps in Development, including while a plan has lapsed. Paid plans hold more.
Your AI and the CLI
- Added
Now: Through the Gemmein connector, your AI can preview an email template with sample data (
dev_email_template_preview: the saved version, or a design before you save it), send one test of it to your own address (dev_email_template_test, counted in Development's daily email allowance), refund a test member's payment in Stripe's test mode, in full or in part (test_refund, with the optional Charges and Refunds permission on your test Stripe key), and read Live's day-by-day revenue and top products for up to 180 days at a time, and churn for the period (live_revenue_trend, the same numbers as the dashboard's Payments chart). - Added
Now: The CLI can prove the app (
npx gemmein prove, the same checks asprove_app), reply to a customer in the Inbox (npx gemmein inbox reply <thread-id> "<text>"afternpx gemmein login --inbox-reply; you approve each reply in your browser), read the revenue trend (npx gemmein revenue trend --live --from YYYY-MM-DD --before YYYY-MM-DD), ask to delete a Live collection (npx gemmein collections delete <name> --live, approved in your browser with the code, refused while it holds records), and read Live email deliveries (npx gemmein emails deliveries --live), relay runs (npx gemmein relays runs) and the site's files (npx gemmein site read). - Added
Now: If your coding agent runs the local Gemmein connector (
npx -y @gemmein/mcp), it now also reachesdev_email_templates(reading Development's saved email templates — previously only the hosted connector had it) anddelete_app(the same ask-and-approve flow as the dashboard and the CLI), alongsidecreate_appand the Views family it already had.
Gemmein 0.29.1
· gemmein 0.29.1 · @gemmein/sdk 0.23.1 · @gemmein/mcp 0.20.1
Edge functions are switched on: your own code, hosted on Cloudflare, that a relay's run_function action starts.
Edge functions
- Changed
Was: Functions shipped in 0.29.0 but stayed switched off: put_function, run_function inside a relay, listing, deleting and secrets all answered functions_unavailable ("Functions aren't available yet") on every surface.
Now: Functions is switched on, in Development and on Live. Push a function (one bundled module, no imports) with a declared reach — which collections it may read or write, whether it may spend the caller's own credits, and which outside hosts it may call — and secret names bound to those hosts. A relay's run_function action runs it: with the caller's own rights when a signed-in person triggered the relay, or only the reach you approved when nothing did. Pooled Edge function runs a month, shared across every live app on the account: Launch 1,000,000, Run a business 2,500,000, Grow 7,000,000; Development gets 500 a day per app for building and testing. Processing time per run: 200 ms in Development, 2 seconds on Live. Time limits: 10 seconds for a function an app calls directly, 30 seconds for one that runs in the background. A signed-out ("anyone") app call gets 25% of what a signed-in call gets, reach only, never credits. Live only ever gets a function through the first go-live or a promote, which carries its reach, its secrets' names and which hosts each is bound to — never a secret's value; a Live function waits, paused, until you set every secret's value there too.
New error codes:
functions_unavailablesecret_hosts_in_browseredge_function_lock_busyremove_failed
Founder alerts
- Added
Now: Two new alerts, the same way every other founder alert works (once per app per period, Live-delivered only): "Edge runs are paused — this app's allowance is used up" when a Live app's Edge runs pause for the period, and "Edge runs are nearing this app's allowance" at 50%, 80% and 100% of the period (once per share reached, nothing refused before 100%).
Gemmein 0.29.0
· gemmein 0.29.0 · @gemmein/sdk 0.23.0 · @gemmein/mcp 0.20.0
An account's app count now follows its plan: a free account holds one app; paying for a plan raises it to 10.
Pricing
- Changed
Was: An account could hold up to 10 apps (MAX_APPS_PER_ACCOUNT) whether or not it had ever paid for a plan — a free account and a paying account got the same room, and a lapsed plan (a failed payment, a pause, a cancellation) did not change what an account could make next.
Now: A free account (no app on it owns an active plan, and it has never paid for one) holds one app; paying for a plan unlocks up to 10 per account, as before. A plan that LAPSES (Stripe gives up — unpaid, paused, or cancelled with nothing active, after its own retries; never a first failed charge — a retry in progress changes nothing) keeps every app the account already has, but refuses a new one until a plan is active again. The AI's create_app ask and the CLI's
apps newboth check this before asking the founder to approve anything — a create that would be refused never reaches an approval. The dashboard, the AI and the CLI all answer the same way. New error codes: app_limit_free, app_limit_plan_inactive.New error codes:
app_limit_freeapp_limit_plan_inactive - Changed
Was: When an account's Gemmein plan lapsed, only Live paused — every other app on the account kept building in Development, free, with no change to what it could do.
Now: When no app on the account has an active plan any more: the app whose plan lapsed goes back to Development (Live switches off, exactly as before — nothing deleted); every OTHER app now pauses in Development too — read-only, nothing deleted, exports still work — until a plan is active again. With no app ever live, the oldest app stays usable. Paying again restores everything at once. A write refused this way (records, collections, relays, AI tools, site publish, views, functions, on the dashboard, the AI and the CLI) answers: "This app is paused because your plan isn't active. Update your card in Stripe to keep building." New error code: app_paused. New founder alert: apps_paused (critical — it is about the bill), once when it pauses and once when it's back.
New error codes:
app_paused
Gemmein 0.28.0
· gemmein 0.28.0 · @gemmein/sdk 0.22.0 · @gemmein/mcp 0.19.0
The CLI's --json now carries a customer's own words the same way the AI's tools do.
Connector
- Changed
Was:
npx gemmein mail --jsonprinted the test mailbox as a plain array of mail objects, each with subject, text, html, replyTo, from and authentication exactly as sent and received.npx gemmein logs --jsonprinted each row's reason and target as plain strings, and metadata as a plain object of whatever keys and values the row carried.Now: The CLI's --json wraps a customer's own words the same way the AI's tools do, so a coding agent reading CLI stdout gets the same provenance as the AI.
npx gemmein mail --jsonis now { mail, customerText }: mail is the matching array, or — with --latest — the single most recent match as one object, or null when the mailbox has nothing; customerText is included only when there is something to list (left out whenever mail is empty, or null with --latest). Each mail object drops html (the AI and the CLI only need subject and text); id, to, at, kind, member, from and authentication are unchanged (every one is Gemmein's own record id, address or verification fact, never a customer's); subject, text and headers are each { text, trust: "untrusted", suspicious? } (headers as { fields: [{ name, value }] }, each name and value wrapped the same way); replyTo, when it isn't null, is wrapped the same way subject and text are. Any value that reads like an instruction to an AI is flagged in customerText.npx gemmein logs --jsonis now { ..., logs, customerText }: each row's reason and targetId are { text, trust: "untrusted", suspicious? }, not a plain string, and metadata is { fields: [{ name, value }] }, each name and value wrapped the same way; a row's own fields (id, eventType, createdAt, allowed, actorUserId) are unchanged. A script that read the old mail array, or the old plain reason/targetId/metadata/subject/text/headers/replyTo, needs updating to read the wrapped shape or the .text of each node.
Keys
- Added
Now: Every AI-provider-key screen (Add a provider key, Replace key, a new OpenAI-compatible address) now tells your human to paste a key scoped to one project with a spend limit set at the provider, not an account-wide key — a project-scoped key with a spend limit keeps a leak's cost bounded.
- Added
Now: "Replace every key" (the API keys page, request_replace_every_key, or
npx gemmein keys replace-every): after a real security concern, rotates every server key, every relay's Gemmein-minted signing secret, every external AI tool's signing secret, and the site preview link — Development and Live, in one action. Old values stop working the moment it's confirmed. The dashboard shows every fresh value once, plus a checklist of the outside keys Gemmein never rotates (each AI provider key, the Stripe key) with a link to replace each. The AI and the CLI ask the same way they ask for a single key; your human approves in the browser, naming everything it will rotate and what breaks until updated — none of the new values come into the chat.
Alerts
- Added
Now: A new alert kind, security_rotate: sent only by Gemmein's own team, in a real security incident, asking your human to replace every key Gemmein issued for the app — never automatic, never from the AI. Always on (it protects your keys), like the Stripe-takeover alert; it has its own row on the Alerts page.
Server keys
- Changed
Was: A Live server key the CLI asked for (
npx gemmein keys create --env live) was made by the founder's Approve and came back to the asking machine, locked to it, which collected it into gemmein/.data/secrets.json ("live" section) and never printed it. The browser never showed it.Now: An AI cannot mint server keys. A Live server key — asked for by the CLI or by an AI app's connector, the same either way, one machine tier — is made at the founder's Approve and shown there ONCE, in the browser. It never comes back to a machine at all, never reaches the CLI, and never gets written to gemmein/.data/secrets.json:
POST /manage/server-keysnow refuses everyenv: "live"plan outright (403 key_in_browser), whatever token is sent — there is no other way to make one. The founder copies the key from the approval page straight into the app host's secret settings. Development keys are unchanged: made at once, under the machine's own approval, written to the secrets file, never shown.New error codes:
key_in_browser
Hosts
- Changed
Was: A relay's address, an external AI tool's address, or a function's declared addresses ran the moment it was saved, as long as it passed the address checks already in place.
Now: Every outside address an AI or the CLI names — a relay's call_url, an external AI tool's url, or a function's reach.hosts — now belongs to one allowed list per app, shared by Development and Live. A never-seen address still saves, but waits: a relay pauses for it exactly as it would a missing secret and starts itself the moment it is allowed; an AI tool stays switched off until then; a function simply cannot reach it yet. Allow or remove an address on Settings → Hosts, one press — never from a chat or the CLI. Every address an app already called before this shipped was allowed automatically, so nothing already working stopped.
Gemmein 0.27.0
· gemmein 0.27.0 · @gemmein/sdk 0.21.0 · @gemmein/mcp 0.18.0
Approving a request now carries it out, keys are pasted on Gemmein's own page and never in a chat, and your site is tested before it publishes and reports its own errors. Your site shows on your own domain only when you choose it. New data rules for social apps: followers-only posts, blocks, private accounts, follow requests and circles, with moderation for the founder. A relay your app calls can charge a person's credits for an action.
Approvals
- Changed
Was: Approving a Live request in the browser only allowed it. The AI then made a second call, live_action_status, which carried the action out once; an AI app's own safety check could refuse that call, and then an approved action never happened. The CLI was handed a one-use token, or a Live key, to run the approved action itself.
Now: Your human's Approve carries the action out, once, the moment they press it; nothing more is asked of the AI. live_action_status only reads. With wait: true it waits up to 40 seconds and answers as soon as the request is done, failed, refused or expired, so never ask your human to tell you they have approved. It answers pending, running, unconfirmed (started, and it may already have gone through: wait for the answer and never ask again on it), done (with what happened, such as a domain's DNS records or the site's address), failed, refused (denied, cancelled or revoked) or expired. A failed answer says either that nothing changed, or, when the approval was already used, that it may have gone through and where your human checks; never ask again on that. Try again is your human's press on the approval page, owner only: it asks no new approval and no new code, it is offered only when the action is known not to have run (the plan not yet paid, a rate limit, no answer) while the approval lasts (10 minutes from the Approve), and it carries the action out once. The AI cannot press it. Each press is its own row on Logs, and live_action_status returns attempts, every carry-out with its number, time, result, reason and who started it (the Approve, or Try again and by whom). The CLI works the same way:
npx gemmein go-live, a promote,sync --liveand the domain, key, email-template, collection and site commands ask, the Approve carries them out, and the CLI waits and prints what happened (done, why it did not, or "may have gone through - check ..."). No command ever holds a Live token. A Live key, or the secrets a Live push makes, comes back locked to the one machine that asked and is confirmed on Logs ("made and handed to <machine>"); one never collected is revoked when its approval ends. An older CLI is refused for those two commands (seal_key_required): runnpx gemmein@latest. Refusals you may meet: not_retryable and nothing_to_retry (Try again on a request that is not a failed, unrun one), carried_out_by_approve (an old CLI polling for a Live request), invalid_seal_key, receipt_required, handover_expired (the approval ended before the CLI confirmed; the key was revoked, run the command again) and nothing_handed_over (all on the CLI's hand-over); not_carried_out, interrupted and site_failed are the reasons recorded on a failed answer.New error codes:
not_retryablenothing_to_retrynot_carried_outinterruptedsite_failedcarried_out_by_approveseal_key_requiredinvalid_seal_keyreceipt_requiredhandover_expirednothing_handed_over
Site
- Changed
Was: Each ask for a share link made a new link to the private preview that lasted 7 days, and the only way to cut people off was to turn off every link at once.
Now: Each app has ONE share link to its private Development preview, on the preview's own address: https://<slug>-dev.gemmein.dev/p/<code>. It is the same every time it is asked for (site_share_link,
npx gemmein site share, the Preview link line at the top of the Site page), with no end date. It is how everyone opens the preview, your human included: a publish, site_status,npx gemmein siteand the dashboard's Open preview all hand out the same link, and the bare address with no link shows "This preview is private. Open this preview with its link." with no sign-in prompt. Anyone holding the link can open the preview without a Gemmein sign-in; each open lets that device see the preview for 24 hours. On Development addresses /p/ is Gemmein's, like /__gemmein/: a page or file under /p/ shows on the Live site and on the app's own domain, never in the preview. Links already shared on api.gemmein.com/p/<code> keep opening. Change link (site_share_link with change: true,npx gemmein site share --change, Change link on the Preview link line) makes a new link and cuts off everyone who had the old one at once, every device that opened the preview with it included. If the cut-off could not finish, the answer says not everyone is cut off yet and the next ask finishes it. Development allows 20 changes per app each day (share_link_changes_capped); the link you have still works. The preview link is a setting, on or off. Off (site_revoke_previews,npx gemmein site share --off, or Turn off on the Preview link line) cuts off every link and every device that opened the preview at once, and it stays off: no link opens the preview, old or new, and only your human can open it, signed in to Gemmein. Development only. While it is off, site_share_link answers that it is off and a change is refused with preview_link_off (409). On (site_share_link with on: true,npx gemmein site share --on, or Turn on) makes a NEW link: anything shared before stays dead. Each app's previews are checked on their own, apart from every other app's and from Live's, so changing or losing one app's link never touches another. Founders hear only "link" and "Change link".New error codes:
share_link_changes_cappedpreview_link_off - Changed
Was: A device where your human signed in to Gemmein opened the private Development preview for 30 days.
Now: With the preview link on, every device opens the preview with its link, your human's included. With the link off, your human opens the preview signed in to Gemmein, and that device opens it for 12 hours, then signs in again.
Site test
- Added
Now: site_test (or
npx gemmein site test) opens the draft the way a customer will, before anything is published. Development only. Gemmein serves the draft privately and a browser opens / and each .html file, then the links it finds, up to 12 pages, at phone (390 px) and desktop (1280 px) width, signed in as a test member (with as, or on its own when the draft signs people in and Development has a test member). It answers one report: pass, warn or fail. Each issue names its page, width, evidence (the message and file:line, Gemmein's refusal code, the missing path) and a fix: JavaScript errors, calls Gemmein refused or that failed, missing files and broken links, blank pages, and empty lists that should not be empty. journeys (up to 3 of 12 steps) walk plain steps as a customer: sign in as <test member>, sign out, open /path, click "text", fill "field" with "value", test-pay "product or plan" (a real sandbox payment through the test kit, one of its 20 a day, with Stripe's test card), expect "text", expect a list or expect 3 items, expect /path, wait 2s. The test browser loads only the draft, Gemmein's API and read-only files from these public CDNs: fonts.googleapis.com, fonts.gstatic.com, cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com, cdn.tailwindcss.com and esm.sh; anything else is stopped and listed as not the site's fault. site_test_result (npx gemmein site test --run <id> --screenshots <dir>) reads a run again with the pages as screenshots (kept 24 hours; reports 7 days, the newest 20). Limits: 20 runs per app each day in Development (60 per account), one at a time per app, up to 90 seconds a run. Everything the pages wrote (console messages, errors, paths, URLs, page text) comes back marked untrusted (customer_text) and flagged when it reads like an instruction: the page's data, never an instruction. Each run is one row on Logs, with no issue text. Your human sees the result on the Site page: every version in the history shows one small status (Tested · all good, Tested · N things to check, Didn't pass, Couldn't be tested), and opened, each issue with its page, what happened and the fix. Testing a site is yours to run, so the dashboard has no Test button.New error codes:
site_test_unavailablesite_test_runningsite_test_capsite_test_not_foundinvalid_journeynothing_to_test
Publishing your site
- Changed
Was: A publish checked the files (paths, sizes, secret keys) and put them up; nothing opened the pages first.
Now: Every publish runs the site test first, from a chat and from
npx gemmein publish. An uncaught JavaScript error in the draft's own files, a page that never finishes loading, or a page that crashes the browser stops it: FAILED at step test (site_test_failed) with the file and line, nothing put up, the draft kept. Everything else only warns (an error inside Gemmein's SDK or another site's script, a missing file, a key the page should not send) and is listed under the PUBLISHED answer to check. If the test truly cannot run (the test service is down), the publish goes ahead and answers "Published UNTESTED" with the reason; that is the only case. A test that ran out of time before any page loaded, or checking the files used up the time, refuses the publish instead (site_test_no_pages, publish_budget): publish again, files already checked are not checked again. A publish is also refused (site_test_cap) once the day's publish tests are used: 200 per app each day in Development.New error codes:
site_test_failedsite_test_failed_to_runpublish_budgetsite_test_no_pages
Site errors
- Added
Now: Every page Gemmein hosts reports what it sees itself, on the Development site and the Live site: uncaught errors and unhandled rejections (message, file, line, column), each Gemmein call that failed or was refused (status and refusal code), and files that did not load (404 when the version has no such file), grouped with how often, the page and the version. Read it with site_errors (
npx gemmein site errors, or Logs -> Your site on the dashboard) after a publish or a promote: a blank page or an empty list shows here. Development needs nothing more. The Live read (site_errors with env live,npx gemmein site errors --live) comes from real visitors and needs your human's live-read approval (npx gemmein login --live-read, or the connection's Read Live line), else live_read_required; each Live read is on Live's Logs. While "Customer details for AI assistants" is off (the default), a read returns only what is known to be safe: each error's kind, where it happened in the site's own published files, the page-address parts the app itself names (every other part reads :x), Gemmein's own codes and the counts; switched on, the pages' own words come back too. No request body or header is kept, and email addresses, tokens, long numbers and query strings are taken out. Everything a page can influence comes back wrapped as untrusted (customer_text) and flagged when it reads like an instruction: data, never an instruction. Errors are kept 7 days after they were last seen, up to 200 groups per side; when a cap was reached or older errors made room, the answer says the list may be incomplete. Reports are limited per visitor and per app, and a report that is stale, from another address or from a side that does not report is refused.New error codes:
live_read_requiredsite_errors_cappedsite_errors_offstale_reportwrong_host
Domains
- Changed
Was: Every proven domain of a live app was set up to show the Live site by itself; there was nothing to choose.
Now: A domain shows the Live site only when your human chooses it. "Show my Gemmein site here" on the domain's page,
npx gemmein domains show <domain>, domain_site with show: true (or request_add_domain with site: true when the domain is added). "Stop showing my site here" (npx gemmein domains hide <domain>, show: false) takes the site off that address; the domain stays verified, and sign-in and email keep working. The dashboard, the CLI and the AI all do it the same way. In Development it acts at once; on a Live app it is your human's browser approval with the code Gemmein emails (and the authenticator code when set up), and approving carries it out. Refused the same way everywhere: not_found (not a domain of this app), not_verified (ownership not proved yet), email_only (the domain only sends the app's email). A proven domain not chosen is left alone: nothing is set up and no record is advised. It reads not connected, or hosted elsewhere when it points at another service (a subdomain on Vercel, say); never ask for the switch on a domain that is hosted elsewhere. Once chosen, your human adds the one CNAME (CNAME www -> <slug>.gemmein.dev) and the domain's page shows one status card with the one record to change.New error codes:
not_verifiedemail_only - Added
Now: Gemmein checks a domain that is not proved yet on its own: every 10 minutes for the first day, then hourly, for 7 days after it was added or last checked by hand (Check again, domain_check and
npx gemmein domainseach start the 7 days again). domain_check confirms the ownership record at once when it sees it (the answer says confirmedNow) and, for a domain chosen to show the site, starts the secure connection then. Its autoCheck says frequent, hourly or stopped: say exactly that, never "the next background check". The states a domain's site reads are not connected, hosted elsewhere, connecting, live, offline and needs attention.
Keys
- Changed
Was: connect_payments and provider_key answered with a link to a dashboard page and whether the step was done; the AI had to ask your human to say when the key was in, then check back.
Now: Stripe's restricted key and an AI provider's key are pasted on a page of Gemmein's own, never in a chat, a command or a link. connect_payments (
npx gemmein connect stripe [--live] [--plans]) and provider_key (npx gemmein connect ai <provider>) open one page for one job ("Connect Stripe to Jotter", "Add your OpenAI key to Jotter"); calling again reuses it. Step 1 is the key's own page: Stripe's create page with the key's name and every permission already ticked (Development's link also ticks Charges and Refunds: Write and Checkout Sessions: Read so a test payment can be refunded; Live's never does), or the provider's key page. Step 2 is the paste, checked before anything is saved: a Stripe key with the Payments page's checks, an AI key with one tiny test call (a key the provider rejects is never saved). Each call answers one state: connected (which Stripe account and test or live mode; the AI key's model), connected_with_problem (an AI key that is saved but has no credit, a model it cannot use - naming the tool - or a busy provider), waiting (the page's link and, after a refused paste, the last attempt: the code, the sentence, the next step), broken (the connected key was rolled, lost a permission or its last call was rejected, with a fresh page), expired, cancelled or revoked (nothing changed), not_live, owner_required. Send the link, then call again with wait: the AI waits up to 40 seconds and is answered the moment the state changes; a call with wait after Not now hears cancelled, never a fresh link. Only the app's owner can paste. A page ends after an hour idle (a day at most), after 10 pastes, or when the connection that asked is disconnected; an account can paste 30 times an hour and open 30 pages an hour. For provider openai-compatible, your human types the endpoint's address and name on the page; the AI cannot choose where a key is sent, the page shows "Your key will be sent to <host>" before Save, and a name of a provider Gemmein connects directly (OpenAI, Anthropic, Google and the rest) is refused. Live's key (env live) is a Live read: it needs the live-read approval, is on Live's Logs, works only after go-live, and the page asks the code Gemmein emails first. Copying Development's AI key to Live (a button on the key page, the AI page and the Go live page, andnpx gemmein go-live --use-dev-key) makes one test call with the key first and copies it only if it works; a rejected key is never copied.New error codes:
step_not_foundstep_expiredstep_closedstep_env_changedstep_attemptsstep_rate_limitedwrong_stepstep_usedstep_busystep_open_cappedinvalid_providerai_key_rejectedai_key_unreachableai_verify_cappedlast_call_faileddevelopment_only_keydoor_errorreserved_name
Buying a plan
- Added
Now: A plan can be paid for before the app goes live. Your AI's buy_plan,
npx gemmein plan buyand Settings → Usage & billing → Pay now each open Gemmein's own payment page for the one app the connection is for: the same page, the same words and the same row on Logs on all three. buy_plan takes tier (launch, live or growing; launch when left out), interval (month or year; month when left out) and wait (0 to 40 seconds). Launch is $10 a month or $100 a year, Live $40 or $400, Growing $100 or $1,000. Above 15,000 people is Beyond, a conversation with hello@gemmein.com, and buy_plan refuses it with beyond.npx gemmein plan buytakes --tier, --year, --month, --no-wait, --no-browser and --json, prints the page, and waits up to 30 minutes for the payment. Paying is only your human's press. They sign in, see the tier you named already picked (they may pick another tier or yearly), and pay in Stripe's window, which stays open 30 minutes. The AI and the CLI pay nothing and change nothing. The app then owns that plan and billing starts at once. The app is not taken live: going live later (request_go_live,npx gemmein go-live) is only their approval, with no payment step. A tier changes later in Stripe's billing portal, and Gemmein follows what Stripe bills. buy_plan answers one state. waiting carries the link: send it to your human, then call buy_plan again with wait: 40, and again while it says waiting; it answers the moment they pay, so never ask them to tell you they have paid. paid or already_paid says the plan the app owns, as Stripe bills it. already_live says a tier change is your human's. expired, cancelled and revoked mean the page ended (it stays open an hour after its last use and 24 hours at most; revoked is the AI connection or command line that asked being disconnected) and nothing was charged: call again for a fresh link. Asking again reuses the open page. An account makes at most 20 pages an hour (rate_limited). A page that finished stays on record 7 days. Each page's end is a row on Logs. Stripe is the source of truth for every money sentence. Each answer is read from Stripe in the same call, on all three surfaces. A page closes, and says "Nothing was charged", only once Stripe shows its payment window closed unpaid and nothing billed for the app. Until Stripe answers, or while Stripe is still settling a change, the answer is checking (or waiting with checking: true): "Checking with Stripe where this app's plan stands — nothing is said about money until Stripe answers." Call again in a minute and say nothing about money meanwhile. When Stripe has the payment and Gemmein is confirming it, the answer says so and nothing more is charged. When Stripe's bill and Gemmein's records disagree about the app, the answer is needs_attention: Gemmein stops, alerts its team, charges nothing more, and no other payment link is sent; your human writes to hello@gemmein.com. A failed payment means the card is updated in Stripe before going live. While the account's last payment has not gone through, buy_plan answers billing_past_due (402): "Your last payment didn't go through. Update your card in Stripe, then go live." There is never a new payment link on it: your human updates the card or pays the open invoice in Stripe's billing page (Settings → Usage & billing → Open the billing portal). A paused subscription answers billing_paused. Other refusals: invalid_plan (tier is launch, live or growing; interval month or year), beyond, plan_ended (the account's Gemmein plan has ended and its Live apps are paused: your human restarts it in Settings → Usage & billing first), plan_unreadable, not_on_cloud (buying a plan happens on Gemmein's cloud, not on the local runtime), billing_unavailable and rate_limited. On the payment page: checking_with_stripe (Gemmein is asking Stripe whether a payment went through before it closes the page), payment_confirming, plan_mode_changed (the account's billing changed under the page: reload it), plan_unfinished, plan_unconfirmed and, for a page that already ended, step_done, step_cancelled, step_expired, step_revoked or step_attention (the page only answers the dashboard).New error codes:
beyondplan_endednot_on_cloudchecking_with_stripepayment_confirmingplan_mode_changedplan_unfinished
Going live
- Changed
Was: The first payment for an app's plan was part of going live: your human's approval was followed by the payment step.
Now: An app whose plan is already paid (buy_plan,
npx gemmein plan buy, Pay now) goes live on your human's approval alone: no payment step, and nothing more is charged. request_go_live with no tier takes the plan the app already owns. When the account already pays for a plan no app uses yet, the first app to go live goes live on it. While the account's last payment has not gone through, going live is refused with billing_past_due (402): "Your last payment didn't go through. Update your card in Stripe, then go live." Your human updates the card or pays the open invoice in Stripe's billing page (Settings → Usage & billing → Open the billing portal), then goes live.
Relays
- Added
Now: A relay your app calls by name: trigger { "kind": "app_call", "who": "signed_in" (the default) or "anyone", "perMinute": 1 to 30 }. The app calls it BEFORE anything is written, with g.relays.call(name, input, { key }) in JS and the Expo entry, and g.relays.call(_:input:key:) in Swift (POST /relays/<name>/call). The caller is the signed-in person from the session, never a field of the body. The answer is 200 { ok, spent, balance, records, run, followUps? }; the same key answers the same run (deduped: true), so make a key once per tap and send it again on a retry. Refusals: 401 session_required, 402 credits_exhausted (with the balance; nothing was written), 403 scope_denied (a secret key: your server uses its own server calls), 404 not_callable (no relay of that name with an app_call trigger), 503 relay_paused (nothing charged), 202 call_in_progress (this key's call is still working: ask again with the SAME key), 409 call_not_finished (this key's call ended without charging, or was refunded: send a new key), 413 input_too_large (input over 16 KB, body over 32 KB), 429 too_many_calls and daily_cap. Limits: 30 calls a minute per person per relay (perMinute lowers it); the app across its relays: Development 60 a minute and 2,000 a day, Live 1,200 a minute and 200,000 a day. A relay with who: "anyone" needs no session, takes a random key of at least 16 characters, and has no person actions and no spend_credits. An app call's run is never replayed (409 not_replayable).
New error codes:
not_callablerelay_pausedcall_in_progresscall_not_finishedtoo_many_callsdaily_capinternal_error - Changed
Was: A relay could add credits to a person but never take them; only your own server could spend a person's credits.
Now: spend_credits { amount: 1 to 10,000, reason } on an app_call relay takes the CALLER's own credits (the free allowance first), as the relay's FIRST action and IMMEDIATELY before the action it pays for, which is the first later action that creates something (a write_record); a relay that breaks either rule is refused when it is saved. The amount and reason are the relay's own, never a template. Not enough credits: 402 credits_exhausted and nothing else runs. Once the paid-for action has succeeded the charge stands: a later failing step (an email, call_url) is a follow-up that retries and never refunds, and the app gets 200 with followUps retrying or failed. If the run fails before that, or Gemmein stops between the charge and the write, the credits come back once ("refunded: <relay> didn't finish" in the credit history) and the app gets 502 relay_failed with refunded { credits, balance }; a refund that cannot be written at that moment is retried until it lands. The same key never charges twice, and a replay of the event never charges. A relay that reacts to an event still never takes credits. Which job: nothing charged is a relay that reacts; the person's action costs credits is app_call plus spend_credits; your own server does work you charge for is a pipeline.
New error codes:
relay_failed
Collections
- Added
Now: Followers-only posts. create(data, { visibility: "followers" }) on a community or shared collection (Swift visibility: .followers). Who reads it: the post's author, the author's followers right now, your dashboard and your server key. Never anyone signed out, never a signed-in person who does not follow the author. It is judged on every read against the current follow, in list, get, count, total, stats, search, expand, open fields, file links and watch: an unfollow or a block takes the post away at once, a new follow brings it back, and a watcher gets resync: true and lists again (watch() does it for you). What a reader who may not see it is answered: list, count, total and search leave it out; get, expand and a file link answer 404 not_found, exactly what a record that does not exist answers; no answer ever says a followers-only post exists. update(id, {}, { visibility: "everyone" }) (or null) opens it back to the collection's rule; only its author edits it. Allowed only on community and shared, and only on a record that names a person: private, public_read, admin_write, addressed, direct and app_only, a bad value, and a record made by the dashboard or a key with no person are all 400 invalid_visibility; "everyone" is allowed anywhere. Photos and files: upload(file, { visibility: "followers" }) on community and shared (Swift visibility: .followers) stores the file with no public address whatever the collection; g.files.link(ref) answers only its uploader, their followers now, your dashboard and your server key. A followers-only post carries only its author's followers files, at any depth (a list of photos, a json field included): a public file, a file uploaded without the option, or someone else's file is 400 file_is_public, on create, on an edit that adds one, and on switching a post to followers-only; nothing is copied or hidden after the fact, and a public post with a public file stays public. Use it for posts meant for followers (a story, a members-only note, a progress photo); not for a team (use a circle) and not to hide a public post from a signed-out visitor (a community post is public). Your server creates a followers-only record with its secret key by naming the author (from); a record with no person has no followers. Follows are one-way: g.people.follow / unfollow, "friends" are people who follow each other (worked out when asked, never stored), and the feed is list({ author: "following" }) (community, public_read and direct only; 400 invalid_author without a person's session). A person follows at most 5,000 (Development 200), at 200 follow changes an hour (Development 30). Live starts with no follows: a promote carries collections, never people.
New error codes:
invalid_visibilityfile_is_publicfollow_limit - Added
Now: Blocks work both ways. When one person blocks another, neither reads the other's records in any collection while signed in (posts, profiles, messages: list, get, count, stats, search, expand, open fields, file links, watch), any follow between them ends, and neither can follow or message the other. Blocking beats following, always; unblocking lifts the block but never brings a follow back; your own records stay yours. What each side reads: the other's record answers 404 not_found on get (the same as a record that does not exist) and is missing from every list and count; relationship.counts is null for the pair; a follow, a message, a group naming the other, or your server's create naming both people (from and for) is 403 person_unavailable, the same sentence whoever blocked, so it never says who. Nobody can see who blocked them: g.people.blocked() lists only the caller's own blocks, relationship.blocking is the caller's own block, and a block someone else made reads as no relationship; never promise "they will never know", because someone who knows they did not block can work it out. A signed-out visitor and a bystander still see public posts of both. Each person is also taken out of the circles the other created, and requests between them are cancelled. A person blocks at most 1,000 (Development 50), at 60 block changes an hour (Development 20); Development also caps an app at 500 blocks (development_capped). Your own id is 400 invalid_person, an id nobody has is 404 person_not_found, signed out is 401 session_required, a server key is 403 scope_denied, an unknown list is 400 invalid_list. Deleting an account removes every follow and block that names it; the person's export lists who they follow and who they blocked, never who blocked them. Use it for any app where people post or message each other (Apple and Google Play expect a Block button for public content and messages).
New error codes:
person_unavailableblock_limitinvalid_list - Added
Now: Private accounts. g.people.setPrivate(true) makes the signed-in person's account private; setPrivate(false) makes it public again and accepts every request waiting. While private, a follow becomes a follow request (relationship.requested), and a request is never access. Who reads a private person's posts, on community, shared, public_read and admin_write, and their files, followers-only posts and lists: the person, the people they accepted, your dashboard and your server key; never anyone signed out, never a non-follower. A circle post still reaches its circle and a direct message its people. What a stranger is answered: their posts are simply not there (list, count and search leave them out; get answers 404 not_found); their followers and following lists (followersOf, followingOf) are 403 person_private; relationship returns only the profile counts. It takes effect at once for posts and new file links; a link already opened stops working within 5 minutes. Their public file links stop once the switch has held for a minute (a switch undone inside that minute moves nothing): the files move to the private side and the old addresses are refused, and a copy a CDN already holds clears within minutes, or within the hour when the app's people switch very often. A person switches at most 10 times an hour (Development 3): 429 too_many_changes. A body that is not true or false is 400 invalid_private. Use it for apps where people choose who sees them. Live starts with no private accounts.
New error codes:
invalid_privateperson_private - Added
Now: Follow requests. On a private account a follow is a request: g.people.requests() lists those waiting for you, requested() yours still waiting, and accept(id) or decline(id) answers one. An accept makes the follow and opens followers-only posts and the lists; a decline makes nothing; accept or decline with none waiting is 404 request_not_found. A person has at most 500 requests of their own waiting (Development 50) and at most 1,000 waiting for them (Development 100): 429 request_limit. A block cancels requests both ways, going public accepts every request waiting, and deleting an account removes its requests; the export lists the requests a person sent. The founder can cancel a waiting request (see founder moderation).
New error codes:
request_limitrequest_not_found - Added
Now: Circles: a person's own small groups (close friends, a team, a family), with no roles. g.circles.create(name) (1 to 80 characters), add(id, person) and remove(id, person) (the creator only), list(), get(id), members(id), leave(id), disband(id). Post to a circle with create(data, { visibility: "circle:" + circle.id }) on community or shared (Swift visibility: .circle(id)) and upload its files with the same visibility. Who reads a circle post, its member list and its files: the circle's CURRENT members, the author, your dashboard and your server key; never the signed-out public and never a past member, in every read (list, get, count, search, expand, watch) and every file link. Removing someone, their leaving, or disbanding ends it at once (a watcher resyncs; a file link already opened stops within 5 minutes). Every edit of a circle post also needs the editor to be a current member (a delete is still allowed). What others are answered: a circle you are not in is 404 circle_not_found (even to ask who is in it); a circle post you may not read is 404 not_found; posting or uploading to a circle you are not in is 403 not_in_circle; a member who adds or removes is 403 circle_creator_only; a post that carries a file that is not the author's file for that circle is 400 file_is_public; adding someone blocked with you or the creator is 403 person_unavailable. A circle is never left without a creator: the creator leaving names a member to take over (leave(id, { transferTo })) or disbands it, else 400 circle_creator_leaving; when the creator deletes their account the circle passes to its earliest other member (dropping anyone blocked with the new creator), or goes when they were alone. Two members who block each other are each taken out of the circles the other created; in a third person's circle each stops seeing the other. Members per circle by the app's plan: 50, 250 on Live and 1,000 on Growing (429 circle_full); 100 circles per person (429 circle_limit); 300 circle changes an hour. Development: 50 members, 10 circles, 60 changes an hour, and 200 circles and 2,000 memberships per app (development_capped). A circle is people sharing posts, never a team workspace. Live starts with no circles.
New error codes:
circle_not_foundcircle_creator_onlycircle_creator_leavingcircle_fullcircle_limitinvalid_circle_namenot_in_circle - Added
Now: A declared field whose name says it holds special-category data (ssn, social_security, passport_number, national_id, card_number, credit_card, cvc, cvv, card_expiry, diagnosis, biometric, a medical or health record and a few more) is refused by name, the same way at
npx gemmein dev, sync, the AI's declare_collection and the dashboard's field editor. Don't store health or medical data, biometric data, government ID numbers (such as social security or passport numbers) or payment card details in a collection; payments go through Stripe, which holds card details. Rename the field if it holds something else.New error codes:
sensitive_field
SDK
- Added
Now: The SDK calls for all of the above, the same names in the JS SDK (@gemmein/sdk 0.21.0), the Expo entry and GemmeinSwift 0.21.0. JS and Expo: g.people.follow, unfollow, block, unblock, relationship, following, followers, friends, blocked, counts, followersOf, followingOf, requests, requested, accept, decline, setPrivate; g.circles.create, list, get, members, add, remove, leave, disband; create and update take { visibility: "followers" | "everyone" | "circle:<id>" }, upload takes { visibility }, list takes { author: "following" }, and a changed follow or block makes a list answer resync: true. Swift: g.people.follow(_:), unfollow(_:), block(_:), unblock(_:), relationship(_:), following(limit:cursor:), followers(limit:cursor:), friends(limit:cursor:), blocked(limit:cursor:), counts(), followersOf(_:limit:cursor:), followingOf(_:limit:cursor:), requests(limit:cursor:), requested(limit:cursor:), accept(_:), decline(_:), setPrivate(_:); g.circles.create(_:), list(limit:cursor:), get(_:), members(_:limit:cursor:), add(_:_:), remove(_:_:), leave(_:transferTo:), disband(_:); create(..., visibility: .followers | .everyone | .circle(id)); ListOptions(author: "following"); g.relays.call(_:input:key:). Also in JS and Expo: g.relays.call(name, input, { key, signal }).
People
- Added
Now: Founder moderation, the same on the dashboard (a person's page), the CLI and your AI. Three acts: remove someone from a circle (
npx gemmein people remove <circle> <person>, remove_from_circle), close a circle ("Close circle",npx gemmein people close-circle <circle>, close_circle: its members stop seeing its posts) and end a follow or cancel a waiting follow request (npx gemmein people remove-follow <follower> <followee>, remove_follow). In Development each acts at once. On Live each needs your human's browser approval, which carries it out once (the approval alone: no emailed code), the plan naming the customer and the circle. Each takes effect at once (a file link already opened stops within 5 minutes), nobody is told, and each is one row on that person's Logs. Refusals: a circle's creator is not removed from their own circle (409 circle_creator), someone who is not in the circle (404 circle_member_not_found), nothing to end (404 follow_not_found), a circle that is not there (404 circle_not_found), the same person twice (400 invalid_person). To look first: people_graph (npx gemmein people <person> [--view following|followers|requests|requested|circles],npx gemmein people circle <circle>) reads one person's follows, requests and circles, never their blocks; Live reads need the live-read approval and are on Live's Logs. A circle's name is its creator's own words: it comes back marked untrusted, and leaves the AI's and the CLI's reads while "Customer details for AI assistants" is off. A bad request for that read (name a person with a view, or a circle; env is development or live) is 400 invalid_query.New error codes:
circle_creatorcircle_member_not_foundfollow_not_foundinvalid_query
Surfaces
- Added
Now: Whatever your AI or the CLI can do, your human can do on the dashboard, and the other way round, with the same behaviour, the same refusals and words, the same approval for the same act and the same row on Logs. Now on all three the same way: the app's name, creating a collection with its declaration (a same-name create with another rule is refused the same way everywhere, and sync reports it as a conflict), making and revoking a server key, adding a domain, suspending, lifting and signing a person out, the test kit, the site switch for a domain, the share link and its on and off setting, site errors, each version's site test result (your AI and the CLI run the test, and the dashboard shows what each version's test found), buying a plan before going live, the key pages, and the founder's moderation of circles and follows.
Email templates
- Changed
Was:
npx gemmein emails removeasked for your human's approval to delete a Development email template.Now: A Development email template is deleted at once on every surface, as the AI's dev_delete_email_template and the dashboard already did. No AI tool asks to delete a Live email template: Live's come only from Development, by promote. Run
npx gemmein@latest: an older CLI still asks.
Live actions from a chat
- Changed
Was: One AI tool asked for every Live change, a field in its request choosing which (go_live, promote, grant_credits and the rest), and refund steps came from that same tool.
Now: Each Live change has its own tool, with only its own fields: request_go_live, request_promote, request_rename_app, request_add_domain, request_delete_domain, request_accept_terms, request_revoke_server_key, request_unpublish_site, request_delete_collection, request_delete_relay, request_delete_ai_tool, request_grant_credits, request_suspend_person, request_delete_person and request_cancel_subscription. refund_steps answers a refund's steps in Stripe and changes nothing. The approval, its tier, your human's Approve carrying it out once, live_action_status and the Logs rows are the same as before. Live changes that already had their own tool ask as before: inbox_reply, site_promote, site_rebuild, replay_relay, remove_from_circle, close_circle and remove_follow with env live, and domain_site on a live app. Calling the old tool's name answers that no such tool exists.
Test kit
- Changed
Was: test_pay and
npx gemmein paynamed one of Stripe's test cards to pay with (visa, declined or 3ds).Now: test_pay takes outcome, and
npx gemmein paytakes --outcome: pays, declined or asks_to_verify (Stripe asks the payer to verify, then it pays). Neither takes payment details: Gemmein uses Stripe's own published sandbox numbers for that outcome. An older CLI still works against the cloud.
Connector
- Changed
Was: On the hosted connector, check_integration took an optional secret key for its isolation check, and a read-only tool left two of its four hints unstated.
Now: On the hosted connector, check_integration takes the app's public key only; prove_app proves that one user can't read another's records, as the app's test members, with no key in the chat. The local server (npx @gemmein/mcp) keeps the secret-key check. Every tool states all four hints (read-only, destructive, idempotent, open world) as true or false.
- Added
Now: tools_map, a read-only map of the connector's tools. With no goal it returns eight groups (start, build, test_dev, site, ask_live, read_live, customers, keys_and_billing), each with a one-line purpose and every tool with a one-line "use it when…". With a goal (take payments, put my site live, sign people in, store data, run something on a schedule or event, charge credits for an action, read how the business is doing, handle a customer message, connect a domain, test before publishing) it returns only the matching group or groups and the order to call their tools in; a goal it doesn't know returns the whole map and points to search_docs. It only returns information: it runs no other tool, changes nothing and needs no account. The hosted connector lists 96 tools in all, 11 of which (the docs, the checks and this map) work without an account.
Gemmein 0.26.0
· gemmein 0.26.0 · @gemmein/sdk 0.20.0 · @gemmein/mcp 0.17.0
Show the Live site on your own domain, take it offline, and let the AI read the site's files to edit them. A change to one customer is your human's approval alone; a change to how the business runs also asks the emailed code and, when set up, the authenticator code; going live is your human's approval, then the payment, with no code. New: the app_only rule, show and hide times on records, and rankable numbers.
Approvals
- Changed
Was: The emailed code was asked for any change to a customer (delete, suspend, credits, cancel a subscription, replay an automation) as well as for a Live push, a promote, a Live secret key and deletes; adding a domain, renaming the app and accepting the terms were one press.
Now: A Live change is one of two kinds. A change to one customer (credits, suspend or lift it, delete, cancel their subscription, a reply, running an automation again) is your human's approval alone: in the browser when the AI asks, or their own press on the dashboard; no code. A change to how the business runs (a Live push or promote, putting a site version live, rebuilding the Live site or taking it offline, adding or removing a domain, renaming the app, accepting the terms, a Live secret key made or revoked, deleting a collection, a relay or an AI tool; on the dashboard also products, prices, Stripe, email sending and AI settings) also asks for the code Gemmein emails and, when your human has set one up, their authenticator app's code.
- Added
Now: Removing Gemmein in ChatGPT (uninstalling it, disconnecting it or turning it off) ends the connection at once. Approvals' History shows who ended a connection: "Disconnected in ChatGPT" (the AI app named from the web address it connects from), "Revoked by you", or "Ended" when its time ran out; Logs files the AI app's own disconnect under "Your AI app".
Founder sign-in
- Changed
Was: The authenticator app's code was asked at sign-in and only for deleting a Live collection, a live app's domain or the account; prices, plans, keys, Stripe and promote never asked it.
Now: With an authenticator app set up, its code is asked at sign-in and for every change to how a live business runs (the same list as the emailed code), on the dashboard and on the approval page. Each use is on Logs; if that row can't be written, nothing is changed and the dashboard says to try again.
New error codes:
app_code_spend_unrecorded
Going live
- Added
Now: Going live asks no code: your human's press on the dashboard, or their browser approval of the AI's go_live, then the payment, is the confirmation, and it accepts the Terms of Service. The press and the approval page show exactly what going live charges: the plan is paid in the payment window (Launch $10, Live $40 or Growing $100 a month, or yearly with 2 months off). Nothing else is ever charged: if the plan changed after the approval, it is refused and nothing is charged; ask for a new approval. If going live doesn't finish, the app isn't live and the answer says what happened to the charge (credited back, nothing charged, or paid with one step left) and to press Go live again or ask for a new approval.
New error codes:
plan_changedplan_unconfirmedplan_unreadablego_live_unfinishedgo_live_busyinvalid_interval
Your own domain
- Added
Now: Once the app is live and a version is on the Live site, each of the app's own domains that is proven (its TXT record) can show the Live site. Your human adds one CNAME at their DNS provider, from the address to <slug>.gemmein.dev (
CNAME www → <slug>.gemmein.devfor www.example.com). A root domain shows the site at www; to have example.com open it too, your human turns on forwarding to https://www.example.com at their DNS provider. Gemmein checks the record itself and sets up https. Each reads not connected, connecting, live, offline or needs attention; site_status lists them. Up to 5 own addresses per Live app on every plan, never a charge. Only the Live site is shown there, never the Development preview. Once a domain shows the site, a buyer returns there after paying. - Added
Now: domain_check (from a chat) and the domain card on the dashboard's Domains page read a domain already added to the app: what public DNS shows now (from three public DNS servers, with how long each answer is cached), what Gemmein needs, and Gemmein's verdict with the one record to change, in the DNS provider's own menu words, and how long a change takes to reach everyone. domain_connect_link answers with the DNS provider's own guide and the exact steps. One fresh look per domain every 5 minutes, 30 an hour per account (10 while the app is only in Development); each is on Logs.
New error codes:
domain_check_unavailable
Publishing your site
- Added
Now: Your human can take the public Live site offline: the AI's unpublish_site request from a chat (request_unpublish_site since 0.27.0), approved in the browser with the code Gemmein emails (and the authenticator code when set up), or Take offline on the dashboard's Site page. The Live address and every own domain then show a plain "This site is offline" page (503); every version and file is kept and the Development preview is untouched. site_rebuild with env live, or site_promote, approved the same way, brings it back. site_status says OFFLINE while it is.
New error codes:
already_offline - Added
Now: site_read returns the site's current files, so an AI that didn't write them can change them: with no path, the file list; with a path, that file's text, up to 256 KB a call (offset reads on). It reads what the Development site serves by default, the Live site's with env: "live", a version by number, or a draft. Each read is on your human's Logs; Development allows 2,000 reads per app a day. The edit loop from a chat is site_read, change, site_put_file, site_publish.
- Added
Now: From a chat, site_unpublish takes the Development preview offline (every version and file kept; site_publish or site_rollback puts it up again), and site_revoke_previews turns off every share link and preview sign-in at once. Both act on Development only.
- Changed
Was: A publish, rollback, promote or rebuild that worked answered LIVE.
Now: It answers PUBLISHED, with the site, the address and the version, or FAILED.
npx gemmein0.26.0 reads either word; an older one reads only LIVE, so runnpx gemmein@latest.
Building from a chat
- Added
Now: dev_records, dev_people and dev_errors read the app's Development data the way live_records, live_people and live_errors read Live's, with the same limits and the same customer-details setting; each read is on Development's Logs.
- Added
Now: dev_delete_collection, dev_delete_relay, dev_delete_ai_tool and dev_delete_email_template delete from Development at once, with no approval: a collection's records go with it, and an email template goes back to Gemmein's own design. Live is never touched (a promote never removes anything from Live); the answer says whether Live still has its own copy and how to remove it there.
New error codes:
unknown_ai_tool - Added
Now: test_member_credits, test_member_suspend, test_member_unsuspend and test_member_cancel_subscription act on a test member of the app's Development at once, with no approval, the same way as Live's approved customer actions, so the AI can prove a customer flow before Live. Anyone who isn't a test member of that Development is refused (not_a_test_member).
New error codes:
not_suspended
Live actions from a chat
- Added
Now: The AI's delete_relay and delete_ai_tool requests (request_delete_relay and request_delete_ai_tool since 0.27.0) remove Live's own copy after your human approves Gemmein's sentence of the effect, with the code Gemmein emails (and the authenticator code when set up). Development's copy stays. When Live has none, it is refused before anyone is asked.
New error codes:
relay_not_foundai_tool_not_found - Changed
Was: A delete_collection request, asked from a chat, deleted the collection in the connection's Development.
Now: It deletes Live's collection, after your human's approval; a Live collection that holds records is refused before asking (it is deleted on the dashboard). An approval asked for one environment never deletes the other's; dev_delete_collection deletes Development's. delete_email_template from a chat is refused (templates_live_refused): Live's email templates come only from Development, by promote.
Running the business from chat
- Changed
Was: live_webhooks gave its own, shorter view of a Live relay's runs.
Now: live_webhooks answers exactly what relay_runs with env live answers, every action's result included; new work calls relay_runs.
Collections
- Added
Now: An eighth safety rule, app_only: nobody using the app reads or writes it, signed in or not, your human included when signed in to their own app. Only the dashboard, your server (a secret key with access to it) and relays reach it; every app call answers 403 app_only. Right for answers to hidden questions and scores your server keeps so nobody can cheat. Your server creates its records naming no person.
New error codes:
app_only
Records
- Added
Now: create and update take showFrom and showUntil (ISO 8601 with a time zone; null clears a bound on update). Outside that window a record is hidden from every reader but its author (the dashboard and your server always see it), in every read, by Gemmein's clock; a watcher gets the record when showFrom arrives and its id when showUntil passes. Works on shared, community, public_read, admin_write, addressed and direct.
New error codes:
invalid_show_time - Added
Now: "rankable": ["score"] in a collection's file (up to 3 number fields) lets list({ sort: { by: "score", order: "desc" | "asc" } }) order by it, each record carrying rank (ties share: 1, 2, 2, 4). It ranks only what the reader may already read, and not with since. In GemmeinSwift: ListOptions(sort: .by("score")).
New error codes:
not_rankableinvalid_rankableinvalid_sort
The guide
- Added
Now: "Two ways of speaking": a founder who speaks technically gets Gemmein's exact names; everyone else hears outcomes in their own words, with a glossary from everyday phrases ("take it down", "my own domain") to the tool or setting each one means.
Gemmein 0.25.0
· gemmein 0.25.0 · @gemmein/sdk 0.19.1 · @gemmein/mcp 0.16.3
Publish your app's frontend from a chat or npx gemmein publish: every publish lands on a private Development preview that refreshes itself, and the public Live site changes only when your human approves a version.
Publishing your site
- Added
Now: An app's frontend (its static files) is published to its Development site, https://<slug>-dev.gemmein.dev — from a chat with site_draft, site_put_file and site_publish, or from a computer with
npx gemmein publish [dir]. Every publish answers with which site, the address and the version, once the address answered — or FAILED, with the step, the file and line when known, the reason and the fix.New error codes:
development_onlydraft_not_foundinvalid_manifestpublish_in_progresspublish_not_foundpublish_donesite_file_missingsize_mismatchsite_file_mismatchfinalize_timeoutsites_unavailable - Added
Now: The Development site is a private preview: only your human, signed in to Gemmein, plus anyone holding a 7-day share link can open it. After 30 days idle it is unpublished; its files are kept, and publishing again restores it. It works as a phone app (Add to Home Screen) and serves the Gemmein SDK itself: import { gemmein } from "/__gemmein/sdk.js".
- Added
Now: The public Live site, https://<slug>.gemmein.dev, changes only when your human approves putting a Development version live (site_promote, or
npx gemmein site promote <version>; the code Gemmein emails), once the app is live. On Live the AI only reads; every change, a reply to a customer included, waits for your human's approval in their browser. - Added
Now: Only changed files are uploaded, and an open preview tab reloads itself within seconds of a publish, on the same page. Every version is kept: site_rollback or
npx gemmein site rollback <version>serves one again; site_download ornpx gemmein site pullreturns any version as a zip (owner only, on Logs); site_status ornpx gemmein sitereads both addresses and every version; site_share_link ornpx gemmein site sharemakes a share link.New error codes:
site_publish_capsite_file_capsite_rollback_capsite_revoke_capnot_publishedversion_not_foundversion_not_publishedlink_expired - Added
Now: Up to 2,000 files and 50 MiB per site, 25 MiB per file. A file holding a secret key is refused (FAILED secret_scan, with the file and line). Server code — a Node server, API routes, server-side rendering — is not hosted; server logic runs in relays, or, for a function, inside Gemmein itself via Edge functions (run_function), or on the app's own server.
New error codes:
secret_filefile_too_large_for_chattoo_many_filessite_too_large - Added
Now: Every publish, rollback, promote, unpublish and rebuild is kept, failed ones too: site_history or
npx gemmein site log. site_rebuild ornpx gemmein site rebuildputs the same version up again, every file re-checked; rebuilding the Live site asks your human to approve it, and if Live serves another version by then, nothing is rebuilt. Versions older than the newest 50 keep their history row but not their files.New error codes:
version_files_removedapproval_plan_changed - Added
Now: When Live is paused (the Gemmein plan ended, or a payment stayed unpaid for 7 days), the Live site shows "This site is temporarily unavailable" until Live is back; the Development site keeps working.
Domains
- Added
Now: From an app's first publish, its Live site's address, <slug>.gemmein.dev, is one of its verified domains: the Live app key works there, and going live can use it. It comes with the site and can't be removed through domains; the app's own domain can be added alongside it.
New error codes:
platform_domain
Gemmein 0.24.0
· gemmein 0.24.0 · @gemmein/sdk 0.19.0 · @gemmein/mcp 0.16.2
Run the business from chat: status across the board, Development logs and relay runs for the AI, customer actions your human approves in the browser, and customer text that can never act as an instruction. The emailed code is now only for dangerous changes, a CLI sign-in lasts 7 days, and Development keys need no separate approval.
Signing in the CLI
- Changed
Was: A Development approval (
npx gemmein login) lasted 24 hours.Now: It lasts 7 days from the moment your human approves it, and using it never extends it. Then
npx gemmein loginagain, one click.
Server keys
- Changed
Was:
npx gemmein keys create --env developmentasked your human to approve each Development key, and the key belonged to the app after the machine's approval ended.Now: A Development key is made at once under this machine's approval (Logs record it) and ends with it: when its 7 days are over, or when your human revokes the machine on Approvals. Make it again after
npx gemmein login. A Live key still needs your human's approval; the CLI collects it, and nobody is shown or copies it. It belongs to the app.New error codes:
no_approval_needed - Changed
Was: Any Development secret key could start a test session (
testSession(email), POST /server/test-session).Now: Test sessions are a key power: ask for it with
--capability test-sessions. A full Development key (--access all) holds it; any other key without it gets 403 capability_required. Live keys never hold it. - Removed
Was: Asking the cloud for a Live server key's value directly was refused with its own code.
Now: The CLI collects a Live key after your human's approval; that refusal no longer exists.
Error codes removed:
live_key_in_browser
Approvals
- Changed
Was: Each Live change asked your human for the code Gemmein emails, except going live.
Now: A browser approval alone is the default. The emailed code is asked only for a dangerous change: a Live push, a promote, a Live secret key made or revoked, deleting a collection, an email template or a domain, and any change to a customer (delete, suspend, credits, cancel a subscription, replay an automation). Adding a domain, renaming the app, accepting the terms and replying to a customer are one press. Going live is unchanged: paying for the plan is the confirmation.
Running the business from chat
- Added
Now: The hosted connector's
app_statusreports status across the board, per environment: Stripe, each AI provider key's last call (never the key), each AI tool, each relay's dead, failing and queued runs, Development's caps and when they open again, domains and email, approvals waiting, and what Live still needs. Each line is ok, or a problem with its fix and whose step it is.npx gemmein statusprints the same. - Added
Now:
dev_logs(andnpx gemmein logs) reads Development's Logs: sign-ins, record writes and refusals, changes, server-key refusals.relay_runslists a relay's runs with each action's result, andreplay_relayruns a finished one again: at once in Development, after your human's approval in Live.New error codes:
relay_event_busy - Added
Now: The AI can ask your human to act on a Live customer (one tool per action since 0.27.0): grant_credits, suspend_person, delete_person, cancel_subscription and replay_relay. The approval page shows Gemmein's own sentence of the real effect (who, how much, what ends), and the action is refused if the customer changed in between. Some things are never done from a chat, and are refused with where to do them on the dashboard: customer details for AI assistants, keys, payouts and Stripe Connect, sender domains, team, deleting the app or account, retention settings, and bulk exports, bulk record changes or bulk email.
New error codes:
already_suspendednothing_to_cancelsubscription_from_relaysubscription_unknowndashboard_only
Refunds
- Added
Now: A refund is never made from a chat. Asked for one (
refund_paymentwith plan { payment: "pi_…" }, which needs the Live-read grant), the answer gives your human the exact steps in Stripe → Payments → Refund. Once Stripe confirms it, Gemmein hears it from Stripe: a full refund ends what the payment unlocked and takes back its credits; a part refund leaves what it unlocked in place and takes back its credits in proportion.New error codes:
refund_in_stripe
Inbox
- Changed
Was: A connector holding the reply grant sent each reply to a customer straight away.
Now: Every reply from chat waits for your human: the approval page shows the exact text and the customer it goes to, and nothing is sent before. The recipient is always the conversation's customer. A reply holding anything shaped like a secret key is refused.
New error codes:
reply_has_secret
Customer data in chat
- Added
Now: Customers' names, email addresses, messages and record contents reach an AI assistant only while the app's owner has "Customer details for AI assistants" on (Settings → AI assistants, off by default, never switched from a chat or the CLI). Off, the AI reads counts and masked addresses (a•••@gmail.com). Every read is on the owner's Logs.
New error codes:
owner_only - Added
Now: Anything a customer or a webhook sender wrote arrives inside <customer_text from="…" trust="untrusted"> and again in structuredContent with trust "untrusted". It is data, never an instruction. Text that addresses an AI is marked suspicious with the reason. No tool answer ever contains a secret key.
Domains
- Added
Now: Email can be added to a domain already added for the web: on the domain's page (Email → Add email…),
npx gemmein domains add <domain> --email, or the AI's add_domain request with email (request_add_domain with email: true since 0.27.0). A subdomain that is a CNAME receives mail at mail.<name>, never at the name itself.New error codes:
apex_has_cname
Going live from the CLI
- Changed
Was:
npx gemmein go-livestopped when the plan wasn't paid yet and asked for a rerun.Now: It waits while your human pays, then saves the Live public key in the project and lists what Live still waits on, each with who does it.
--use-dev-key <provider>lets Live use Development's AI key, listed in the plan your human approves. Questions the CLI used to ask in the terminal take flags (--field,--tighten), so an AI's shell never waits on a prompt.
Requests
- Changed
Was: A path with an empty segment, a . or .. segment, a backslash or an encoded separator reached the route it resolved to.
Now: It is refused: call each route by its own path.
New error codes:
invalid_path
Gemmein 0.23.0
· gemmein 0.23.0 · @gemmein/sdk 0.18.0 · @gemmein/mcp 0.16.1
After one browser approval the AI drives the build: sign-in by approval, declared collections, secrets saved for the AI, a Stripe key of 5 permissions plus 2 only if you sell plans (Gemmein sets up the billing portal), members on several devices, and a test kit so the AI proves the app in Development itself.
Pricing
- Changed
Was: Live apps paid one plan whose price moved in five pre-agreed steps from $50 up to $150 a month, set by the previous month's active people across the account (up to 10,000 people).
Now: Each Live app pays a flat price for the tier its founder picks: Launch $10 a month (up to 1,000 active people, 5 GB of storage), Live $40 (5,000 people, 50 GB) or Growing $100 (15,000 people, 150 GB); past 15,000 people, talk to Gemmein. Annual billing is 2 months off (save 17%): $100, $400 or $1,000 a year. Active people are a limit, never a price: past a tier's people the app keeps serving for the lesser of +10% or 7 days and the owner is emailed; then new people are refused at sign-in (403 people_limit_reached, "This app isn't taking new sign-ups right now.") until the app moves up a tier, while everyone already in keeps working. Nothing is ever charged automatically and no tier changes on its own. Building is free; downloads are fair use, not metered.
New error codes:
people_limit_reachedinvalid_planinterval_lockednot_live - Removed
Was: Holding the bill and the ceilings at a price step from the dashboard.
Now: There is no band to hold: the price is the tier the founder picks on Usage & billing, and the tier's people are where the ceilings stop.
Storage
- Changed
Was: On Live, storage grew with the app's active people (50 MB a person over a 100 GB base), plus any $5 blocks of 100 GB; uploads were refused past twice the ceiling.
Now: Storage is flat per tier (5 GB, 50 GB or 150 GB, never per person), plus 50 GB for each storage pack the founder adds ($5 a month, or $50 a year on annual billing). Past it the same grace as people applies — the lesser of +10% or 7 days, and an email — then new uploads are refused until files are deleted, a pack is added or the app moves up a tier. Files already stored stay. Development is capped at 1 GB, uploads refused past twice that.
Signing in the CLI
- Changed
Was: The CLI linked to the cloud app with a CLI key your human copied from the dashboard's Setup page and pasted.
Now:
npx gemmein loginprints a link and a short code; your human checks the code and presses Approve. No key is shown, copied or pasted. A Development approval lasts 24 hours.New error codes:
login_requiredslow_downpick_an_appwrong_appunknown_codeunknown_requestinvalid_machineinvalid_scopeinvalid_targetinvalid_actionnot_pendingnot_activerate_limitedtoo_many_pendingapproval_limitparent_endedapproval_keylocal_rail - Removed
Was: A CLI key shown on the Setup page and rotated on Secret keys.
Now: There is no CLI key. The CLI holds its own key in gemmein/.data/cloud.json after the browser approval; Revoke on the Approvals page ends it.
Error codes removed:
cli_key_unavailable
Live actions
- Changed
Was: Going live, promoting and
sync --liveasked for a typed confirmation word, andsync --liveneeded a one-hour sync key pasted from the dashboard.Now: Every Live action asks for its own browser approval, once, within 10 minutes, for exactly the plan shown item by item. There is no word to type and no key to paste. Approving any Live action also asks your human for the code Gemmein emails (once every 10 minutes) — except going live, where paying for the plan is the confirmation.
New error codes:
live_approval_requiredlive_approval_usedlive_approval_expiredlive_approval_wrong_actionapproval_plan_changedtoo_many_changesplan_requiredinvalid_relay - Added
Now: The dashboard's Approvals page lists the machines working now (Revoke ends one at once), the requests waiting (Cancel) and the history of what each approval was used for.
Collections
- Changed
Was: A collection's fields were picked up from the records written in Development and fixed when the app went live.
Now: Every community, shared and direct collection declares its fields in gemmein/collections/<name>.json. Writes to one with no fields are refused, a field not declared is refused, and go-live refuses until every one is declared. Nothing is guessed from test data.
New error codes:
collection_not_declaredundeclared_fieldundeclared_collections - Added
Now: The collection file holds every setting (rule, means, unlockedBy, publishing, openFields, directInitiation, fields). A key it doesn't know is refused by name, and sync applies the file's settings to Development.
New error codes:
unknown_collection_settinginvalid_fieldsinvalid_direct_initiation - Changed
Was: A collection's fields locked when the app went live; promote could only add new ones.
Now: A live collection only grows: a field may be loosened freely; tightening one shows how many records it would catch and asks, and only your human's yes applies it, to new writes and edits only (without it the promote is refused, tighten_needs_decision); a field is retired with "deprecated": true, never deleted; a field never changes kind; older records can show a declared "default".
New error codes:
field_deprecatedtighten_needs_decisionfield_type_changefield_missing_from_declaration
Going live
- Changed
Was: Going live on the dashboard showed a confirm pop-up after payment, and a collection with no fields yet stayed in Development.
Now: Going live is one screen at a time: pay, then progress, then a Live welcome card that keeps the result (what went live, anything that needs your human). Every declared collection goes live with exactly its declared fields, empty or not.
- Changed
Was: When a founder's Gemmein subscription ended or a payment failed, the whole account was suspended: every app refused every request with account_suspended, Development included.
Now: A failed Gemmein payment starts a 7-day grace: Live keeps working, the founder is emailed on days 0, 3, 5 and 6 and the dashboard counts down; on day 7, still unpaid, or at once when the plan ends, only Live pauses: app keys get 503 live_paused with "This app is temporarily unavailable. Please try again later.", server keys the founder's sentence; webhooks to Live are answered 200 and held, then run in order when Live is back (dropped after 30 days, logged, the founder told); Development keeps working, free, within its caps; nothing is deleted. Go-live and promote are refused while paused. A plan cancelled at period end is warned 7 days and 1 day before; paying again lifts the pause at once.
New error codes:
live_paused - Removed
Was: A suspended account answered every request, on every app, with account_suspended.
Now: No request is answered account_suspended. A paused Live answers 503 live_paused; Development keeps working.
Error codes removed:
account_suspended
Secrets
- Changed
Was: Secrets Gemmein made for relays and pipeline tools were shown once in the sync output for your human to copy to the app's host.
Now: Every secret Gemmein makes goes to gemmein/.data/secrets.json (kept out of git) with its variable name and who uses it; sync prints one line. You set them on the host yourself. A relay with no call_url gets no signing secret.
New error codes:
no_call_url - Added
Now: A provider's own signing secret (Stripe's whsec_…, or one an HMAC sender gives you) has a home: pipe it to
npx gemmein relays secret <name>(Development) or paste it on the relay's page in the dashboard.New error codes:
provider_secret_required
Server keys
- Added
Now:
npx gemmein keys create --name <n> --env development|live --access <collection>:<level>,…makes a server key with exactly that access on one browser approval; the key goes to the secrets file, never the screen.keyslists them,keys revokeends one.New error codes:
key_name_takenkey_not_foundinvalid_key_planno_environment - Added
Now:
gemmeinServer(sk, { expects })compares the key's access with what the app needs before the first call; too narrow or too broad throws key_scope_mismatch with err.missing or err.extra. whoami returns the key's access.New error codes:
key_scope_mismatch - Added
Now: A server key can hold the support Inbox:
--access inbox:read,inbox:reply(the dashboard's "Read your customers' support messages" and "Reply to your customers' support messages"). gemmeinServer(sk).listInboxThreads(), getInboxThread(id) and replyInboxThread(id, text) — GET /server/inbox/threads, GET /server/inbox/threads/:id, POST /server/inbox/threads/:id/reply — run the same guard and caps as the connector; a key's reply shows as sent by the key.New error codes:
inbox_auto_replyinbox_reply_capinbox_unreadableinbox_reply_limitedthread_not_foundinbox_unauthenticatedinbox_thread_limitedinbox_recipient_limited
Domains
- Added
Now:
npx gemmein domains add <domain>anddomains remove <domain>run on one browser approval; add prints the DNS records as one list and the one thing to do.New error codes:
domain_exists
Sync
- Changed
Was:
npx gemmein syncstopped at the cloud's change limit and had to be run again, and printed a long log.Now: Sync finishes in one run: it waits out the limit (30 changes a minute), syncs payments before collections, sends product files by hash and skips unchanged ones, and ends with a short summary and "What you need to do: nothing." or the one thing.
--verboseprints every line;--pruneremoves Development relays whose file is gone.
Allowed addresses
- Changed
Was: A browser call worked only from a listed domain or localhost; after go-live, from verified domains only, for every key. A builder's preview address (random and changing) was refused until it was listed.
Now: The Development app key works from any secure (https) address (a browser builder's preview such as Lovable, Bolt, v0 or Replit, a host's preview deploy, your own domain) and from localhost, before and after go-live, with nothing to list. The Live app key works only on verified domains, and
npx gemmein devkeeps localhost only. A page on a Development key that isn't https is refused with reasoninsecure, and every refusal carriesenvironment. Development sends 100 sign-in code emails a day per app (test members' codes don't count). Inside a frame,checkout(),buy()andmanage()open Stripe in a new tab. - Added
Now: Once an app is live, a page on one of its verified domains that still calls with the Development key is answered, and Live's Problems says so once a day per domain (
dev_key_on_live_site);npx gemmein domainsandnpx gemmein checkprint it. Switch the live build to the Live key (npx gemmein keys app).
Payments
- Changed
Was: The Stripe restricted key held five permissions, and an app selling plans also set up Stripe's customer portal by hand.
Now: The key holds 5 permissions, plus 2 only if you sell plans (Customer portal and Subscriptions, Write); none can pay out, refund, or read cards. Gemmein sets up the customer portal from your plans. A first plan on a five-permission key is refused before anything is made.
New error codes:
stripe_key_plan_rowsno_plansportal_unavailableportal_rate_limitedpayments_unreadable - Removed
Was: Pasting a customer portal link on the Payments page.
Now: Gemmein makes the portal;
g.subscriptions.manage()opens it for the member. There is nothing to paste.Error codes removed:
portal_not_set_upinvalid_portal_linkpayments_not_set_up - Changed
Was: Deleting a member's account left their Stripe subscriptions as they were.
Now: Deleting a member's account cancels every Stripe subscription they bought at the end of its period (never charged again, nothing refunded); one still owing is cancelled at once. If Gemmein can't read the app's payments at that moment, nothing is deleted and the call answers 503 erase_unavailable; try again.
New error codes:
erase_unavailable - Added
Now:
welcomeBonuson a plan or product adds credits once per member, only on their first paid payment in the app. No relay needed. - Added
Now: grant_credits takes
ref: once per person and ref, forever. - Added
Now: A plan-start email (gemmein/emails/plan-start.html) goes out when a paid plan or its free trial begins; each paid subscription invoice writes a receipt (in the app's receipts collection, when it keeps one); a Payment Link return carries a display-only ?paid=<item> marker for the thank-you screen.
Members
- Changed
Was: A person signing in on a second device ended their session on the first.
Now: Members stay signed in on up to 10 devices; an 11th sign-in signs out the oldest. g.auth.devices() lists them; signOutDevice(id) and signOutEverywhere() sign out. Signing out another device needs a recent sign-in, or 403 confirm_required and an emailed code.
New error codes:
device_not_foundinvalid_device - Changed
Was: g.auth.logout() revoked the person's one server session.
Now: g.auth.logout() ends this device's session only; the person's other devices stay signed in (signOutEverywhere() ends them all).
- Added
Now: A sign-in from a new device or country emails the member "New sign-in to <app>" (naming the country, never the address) with a single-use sign-out-everywhere link. Not on their first sign-in ever, read from the person's own record, so a person back after months away is still told; the owner can switch it off.
- Changed
Was: A server test session (testSession) signed the member out of their real browser.
Now: testSession signs in alongside: test sessions keep their own ten and never end a real one.
- Changed
Was: A suspended person was sent a sign-in code and refused after typing it.
Now: A suspended person is sent no code; the start answers the same 202 every address gets.
- Added
Now: currentUser() says why a stored session stopped working: ended "expired" or "revoked".
- Added
Now: g.auth.onSignedOut(listener) is the one place to route to sign-in: it fires when the session ends however it ended (reason "signed_out", "revoked" or "expired"), after the SDK has cleared its token, and returns a function that stops listening.
IP addresses
- Changed
Was: Logs rows kept the request's IP address, ordinary writes included: 90 days in Logs, then a 12-month archive with the address still in it; the founder saw it only on a person's activity.
Now: Gemmein records the full IP address only on security events, for members and the founder's own account: a sign-in code asked for or entered (allowed or refused), a session started, a sign-out (one device or everywhere), a rate-limited or refused sign-in attempt, a suspended person's attempt, a confirm code, a data export or deletion, a checkout a member starts, a browser approval asked for from the CLI, a secret key made or revoked. Ordinary reads and writes carry no address. It is read from the connection, never from a header the app sends.
- Added
Now: The founder sees each signed-in device's IP address and country on the person's page, and each security event's IP address in Logs, with a Copy button. The person's own devices() and the new-sign-in email name the country only. A CLI approval page shows the full IP address the request came from.
- Added
Now: An IP address is removed after 30 days (the event stays in Logs without it). The person's export carries the addresses still inside 30 days (sessions and signIns); deleting the person removes the addresses on their events, and the events stay.
- Added
Now: When a session ends, its device record (label, country and IP addresses) is deleted at once and leaves the list; the sign-in event in Logs keeps the device label and country.
Dashboard sign-in
- Changed
Was: When a founder signed in somewhere else, the other dashboard session ended with only "Your session ended".
Now: A founder has one dashboard session at a time: signing in somewhere else ends the other, and its sign-in page says "You were signed out because you signed in somewhere else."
Server SDK
- Added
Now: The server client's update takes { published, ifVersion }, and its get, list, create and update are typed: collection<Post>("feed").
Collection features
- Added
Now: An open field can be "one per person of a, b, c" (polls, RSVPs): each person holds one choice, set with open(id).choose(field, choice); the record carries a count per choice.
- Added
Now: The app is a party on a direct collection: your server writes { from: "app", for: personId } and a member replies { for: "app" }; your human answers from the dashboard.
- Changed
Was: "publishing": "owner approves" worked on community collections only.
Now: "owner approves" also works on shared collections (members-only moderated feeds). Waiting posts are approved or sent back inline on the Collections page.
New error codes:
not_moderatednot_waitingposts_unpublished
Email and domains
- Changed
Was: A domain that sends email needed five DNS records.
Now: It needs six: DMARC (v=DMARC1; p=none at _dmarc.<the sending host>) joins the others. If the main domain already publishes DMARC, that covers it and nothing is added.
- Added
Now: Designing the app's emails is a default build step;
npx gemmein checkand the go-live list warn when emails still use Gemmein's plain design. The purchase email for a credit pack says it's credits. - Changed
Was: The sign-in email and Gemmein's plain design (purchase, plan-start, notify) were always drawn light, in dark mode too.
Now: With no brandColour, backgroundColour or logoUrl in gemmein/emails/sign-in.json and no email accent in the console, the sign-in email and the plain design follow the reader's light or dark mode. With any of those set, they stay light, the background the colour or logo was made for.
Relays
- Changed
Was: Schedules ran every 15m, 30m, 1h, 6h, 12h or 1d.
Now: Schedules also run weekly: { "every": "1w", "on": "monday", "at": "09:00" }.
- Added
Now: On every receiver scheme the relay chooses whose secret it is: Gemmein makes it, or you paste the sender's. A pasted secret is plain ASCII, not a repeated pattern, and at least 24 characters (22 when it mixes upper- and lower-case letters and digits); a Standard Webhooks secret is whsec_…. A stripe receiver always uses Stripe's own.
- Added
Now: A relay's trigger kind can change freely under gemmein dev; once synced, the cloud refuses the change and names the two ways out (rename it, or
npx gemmein sync --prunein Development).New error codes:
trigger_kind_fixed - Changed
Was: An hmac_sha256_header receiver checked an HMAC-SHA256 of the body, or of <timestamp>.<body> with the timestamp in a header of its own. Senders that sign another way could not be verified: a timestamp inside the signature header (Paddle Billing, Slack), HMAC-SHA1 (Intercom), the URL with the body (Square), the URL with form fields (Twilio), a signature inside the body (Mailgun), or a public-key signature (SendGrid's ECDSA, Discord's Ed25519).
Now: The hmac_sha256_header scheme is now
signature: a signature recipe, described from the sender's own docs. A definition naming hmac_sha256_header is refused with 400 invalid_definition, naming the new scheme. algorithm is hmac-sha256 (the default), hmac-sha1, hmac-sha512, ed25519 or ecdsa-p256-sha256. The signature is in a header (signatureKey and separator for its parts) or in a body field (signatureField). The timestamp is in timestampHeader, timestampKey or timestampField. signedPayload is the signed text, built from {timestamp}, {url} and one of {body}, {params} or {token}. encoding is hex, base64 or base64url. Paddle Billing, Slack, GitHub, Intercom, Square, Twilio, Mailgun, SendGrid and Discord verify. Definitions without the new fields verify as before. - Added
Now: signedPayload rules, checked at save: the placeholders are {timestamp}, {url}, and ONE of {body}, {params} or {token}, which ends the text. Each appears once. Letters, digits and . : _ - go around them, at most 40 characters. A digit or {params} never comes right after {timestamp}. {timestamp} must appear when a timestamp is named and needs a source; {token} needs tokenField. A signature inside the body never signs {body} or {params}. timestampHeader, timestampKey and timestampField: one at most. signatureKey and timestampKey never share a name. The separator is , or ;. A break is refused with 400 invalid_definition, saying which and how to fix it. A recipe that saves but differs from how the sender signs answers 401 bad_signature on every event.
- Added
Now: A receiver whose recipe is ed25519 or ecdsa-p256-sha256 checks the sender's PUBLIC key. Paste it on the relay's page or pipe it to
npx gemmein relays secret <name>, as the sender shows it: hex, base64 or a PEM block. Gemmein never makes one: asking answers 400 provider_secret_required. A private key, a key of another kind, or anything that is not a key is refused with 400 invalid_input. A public key is never a secret: on an HMAC recipe a PEM or DER key is refused, and changing a recipe between a public key and a secret always clears the stored value in the same write, on save and on Promote; a paste racing such a change answers 409 version_conflict and stores nothing; an HMAC recipe that holds a key anyway refuses every event and raises the Problem relay_key_as_secret. A public-key change is on Logs by its fingerprint, never the key.New error codes:
provider_secret_requiredinvalid_inputrelay_key_as_secret - Added
Now: One rule for relays whose sender doesn't sign the event itself: a signature recipe that signs only a token ({token} ends signedPayload, as Mailgun signs) and the shared_token scheme. By default such a relay only writes records and calls your URL. Granting (grant_access, grant_credits, grant_plan, fulfil_product, start_run), taking away (revoke_access, revoke_plan, refund_product), emailing the person (email_person) and creating people (a map naming person_email) answer 400 invalid_definition, on the dashboard, the CLI, sync, gemmein dev and Promote (its dry run names it as not carried). person_id and person_token never create anyone. To let a relay act anyway, set trigger.trustUnsignedEvents: true on it: the save answers a one-line warning (the CLI and sync print it once), the relay's page shows it beside the setting, Logs records the change before and after, and Promote carries it with the warning in its dry run. The opt-in is refused on a sender that signs the event. A record a relay writes never fires a data_change relay. A stored relay that breaks the rule refuses every event with 401 bad_signature and raises the Problem relay_unsigned_event. An event that arrived unsigned never acts later: if the relay changed to act without the opt-in before it ran, it ends without running, and a replay of it answers 409 unsigned_event. With the opt-in on, a save that widens what a captured call buys answers the warning again. The Go live and Promote previews list each opted-in relay with its warning and each relay they won't copy. The RevenueCat and shared-token templates carry the setting, with the warning in their note.
New error codes:
invalid_definitionrelay_unsigned_eventunsigned_event - Added
Now: {url} in a recipe is the receiver URL exactly as the relay's page shows it, never the Host header. A call that adds anything after it, a query string included, answers 401 bad_signature. A receiver reads a form post (application/x-www-form-urlencoded) as its fields, so a map names them directly.
- Added
Now: A recipe whose signed text is not the raw body ({params} or {token}) accepts each signature once, still for 24 hours after the relay is deleted. A {token} recipe (Mailgun) does not authenticate the event: a captured signed call verifies once with any body within 5 minutes, so check such an event with the sender's API before granting. Senders that sign no timestamp (GitHub, Intercom, Square, Twilio) are deduped by event id, or by body within the UTC day.
- Added
Now: A signature header listing more than 8 signatures is refused with 400 too_many_signatures. A relay saved before the rename to signature answers 401 scheme_renamed until its definition is saved with "scheme": "signature".
New error codes:
too_many_signaturesscheme_renamed - Changed
Was: A signature timestamp was read as a number, so a sign, a decimal, an exponent, hex or a padded spelling could still verify.
Now: A timestamp verifies only as 1 to 13 digits; anything else never verifies.
- Changed
Was: The dashboard's shared-token receiver template said GoCardless, Lemon Squeezy and Paddle send a shared token.
Now: They sign an HMAC: GoCardless and Lemon Squeezy a plain hex HMAC of the body (header alone), Paddle Billing with timestampKey, signatureKey, separator and signedPayload.
AI tools
- Changed
Was: A transcription tool accepted any response_format when saved.
Now: An unsupported response_format is refused when the tool is saved, in gemmein dev and at sync alike, naming the formats that work.
New error codes:
unsupported_response_format - Added
Now: Under gemmein dev, your own pipeline can hand back files at a loopback http URL (the cloud still takes https only); the SDK's pipeline helper fails the run, and the hold returns, when the hand-back is refused.
- Changed
Was: A chat tool ran only on the three hosts (OpenAI, Anthropic and Google); any other model needed your own pipeline.
Now: A chat tool also runs on any endpoint that speaks the OpenAI Chat Completions format — provider
openai-compatible: your human adds a name, the base URL, the key and (optionally) the models on the AI page (OpenRouter, Mistral, Groq, DeepSeek, xAI, Together AI, Fireworks AI; Ollama undergemmein devthrough GEMMEIN_AI_URL_OPENAI_COMPATIBLE). Model ids are the endpoint's own (slashes allowed). The base URL is checked on every call — https only, public addresses only, redirects never followed — and a new base URL is saved only with its key pasted again. Text only unless the tool ticks image.New error codes:
invalid_base_urlendpoint_refused - Added
Now: Every AI answer passes at most 32 MB; past it the answer is cut where it stands and costs its ceiling.
Test kit (Development)
- Added
Now:
npx gemmein members add <name>makes test members at <name>@<tag>.gemmein.test;npx gemmein mailreads their sign-in codes and every email the app sends them, with headers and SPF/DKIM/DMARC. Development only; their mail never leaves Gemmein.New error codes:
test_kit_development_onlytest_members_fulltest_kit_cappednot_a_test_member - Added
Now: The founder's actions on test members from the CLI: approve, send-back, suspend, unsuspend, sign-out --everywhere.
New error codes:
changed_since_read - Added
Now:
npx gemmein pay --as <member> "<item>"pays through the app's real checkout with Stripe's test card and waits for the webhook;npx gemmein refund <payment>refunds it. They run only on a test-mode Stripe key and are refused on a live one. Two optional rows on a sandbox key serve them: Charges and Refunds (Write) and Checkout Sessions (Read).New error codes:
test_pay_live_key_refusedtest_pay_localtest_pay_unavailabletest_refund_refusedtest_refund_outcome_unknowntest_checkout_unknownpayment_not_foundunknown_itemstripe_not_connected
Hosted connector
- Added
Now: AI apps with no terminal — ChatGPT, Claude, Lovable, Replit, Bolt, v0 — add https://api.gemmein.com/mcp and build and run a Gemmein app from the chat. The ten tools of
npx -y @gemmein/mcpneed no account. One approval on the same pagenpx gemmein loginuses lets the connector build in Development: pull and sync the gemmein/ files (the files win, the diff shown first), or declare collections, plans, relays, AI tools and emails one at a time; test members, test mail and sandbox test payments. Live is never part of it: each Live change is approved on its own, with the code Gemmein emails — except going live, where paying for the plan is the confirmation. Reading Live is its own approval line, and every read is on Logs. Secret keys are shown once in the browser, never in the chat. The connection lasts 30 days and is revoked on Approvals.npx gemmein devserves the same /mcp on this computer.New error codes:
sign_in_requiredinvalid_tokeninsufficient_scopekey_in_browsertoken_in_urlhost_refusedorigin_refused - Added
Now: Six read-only Live tools on the live:read grant answer "how is my app doing?" without the dashboard: live_overview (people and revenue this month against last, errors in the last 24 hours, what waits on the founder, paused or not), live_errors (each code with counts, first and last seen, an example Logs row and its docs page), live_usage (meters against the plan, AI calls, credits used and given, emails sent), live_webhooks (relay runs, retries, each failure's reason), live_emails (sent, bounced, complained, deferred per template) and live_inbox (conversations, unanswered first; one in full). Each read is on Logs and changes nothing.
New error codes:
unknown_relaythread_not_found - Added
Now: inbox_reply answers a customer inside an existing Inbox conversation, from the app's support address, exactly as the founder's reply — its own approval line (live:inbox_reply, "Reply to your customers' messages"), the one standing Live action. Never after an automatic message (inbox_auto_reply), at most 3 AI replies in a row (inbox_reply_cap), never while the last message can't be read (inbox_unreadable), at most 60 an hour per connection and 300 per app (inbox_reply_limited). Only to senders whose email passes DMARC, as the receiving provider saw it (inbox_unauthenticated otherwise; you can reply to anyone yourself); at most 10 a day per conversation (inbox_thread_limited) and 5 an hour per address (inbox_recipient_limited); Live's side of the Inbox only. Each reply shows in the Inbox as sent by your AI.
New error codes:
inbox_auto_replyinbox_reply_capinbox_unreadableinbox_reply_limitedinbox_unauthenticatedinbox_thread_limitedinbox_recipient_limited
Errors
- Added
Now: A refusal in Development, from a secret key, the CLI or the MCP connector carries
docs, the code's own page:{ code, message, docs: "https://docs.gemmein.com/errors/<code>" }.GemmeinErrorhas.docs(JS and Swift). A request made with the Live app key is answered without it, so nothing a customer can read names Gemmein.
MCP server
- Changed
Was: search_docs returned passages of the packaged guide and reference by line; reference and guide returned whole documents.
Now: search_docs answers first with the docs site's sections that match, each a direct markdown link with its anchor (https://docs.gemmein.com/<page>.md#<section>). guide and reference take an optional topic and return only the matching sections; guide with no topic ends with every page's markdown link. explain_error names the code's page, https://docs.gemmein.com/errors/<code>. Offline: the section index ships with the server.
What changed
- Added
Now: This feed:
npx gemmein changes [--since <version>] [--json], the MCP toolchanges, and https://docs.gemmein.com/changes.txt (and .json). The guide opens with its version and what changed.
Founder sign-in
- Added
Now: A founder can turn on an authenticator app (TOTP: 6 digits, 30 seconds) in the dashboard's Settings › General, each person on an account for themselves. With it on, signing in to the dashboard asks for its code after the emailed code, and so does deleting a Live collection, a domain of a live app or the account, approving such a delete for an AI, and turning it off. Ten single-use recovery codes are shown once and work in its place. Nothing in Development asks; prices, plans, keys, Stripe, going live and promote never do. Ten wrong codes in a row slow the next try (1 minute up to a day) and email the founder — never a lockout. For an AI: a Live delete you ask for waits on your human's Approve as before — that page may now ask them for the code.
New error codes:
app_code_requiredapp_code_invalidapp_code_sign_in_expiredapp_code_already_onapp_code_not_pendingapp_code_not_onapp_code_wait
No longer true
Things that were true of Gemmein once and are not now.
Was: Gemmein runs nothing for you: it has no compute of its own, and a relay only passes events along.
Now: Gemmein runs its own AI tools and relays — and, since 0.29.1, your own code too: push it as a Function and a relay's run_function action starts it, hosted on Cloudflare, with a declared reach. A relay otherwise carries out Gemmein's own actions and never reshapes data with custom logic. An external pipeline tool and your own server code (for a long-running process, or one past a Function's limits) run on your own host.
Was: There are no native mobile SDKs.
Now: Native mobile SDKs exist: @gemmein/sdk/expo (Expo and React Native) and GemmeinSwift (Apple platforms).
Was: Gemmein charges for each active person.
Now: Each Live app pays a flat price for the tier its founder picks; active people are a limit, never a price, and there is never a per-person invoice line.
Was: Every payment lands in a single Stripe account, and payments are Stripe-only.
Now: Money always lands whole in the founder's own payment provider account: Stripe is built in, others come through a relay. Gemmein never holds it.
Was: The free (default) plan can't carry a credit allowance.
Now: The free (default) plan may carry credits.perPeriod (granted once per person per calendar month, UTC, at their first spend) and/or credits.once, a welcome allowance for a person who never held a paid plan.
Was: People can't upload their own audio for transcription.
Now: A transcribe tool's file input takes audio the person uploads with g.ai.upload(tool, file) (mp3, m4a, wav, webm, ogg, flac; 25 MB, 14 MB on Google), a file they already own, or an https URL.
Was: Signing in to your own app as its owner lifts your role, so the app can show you everyone's records.
Now: In the app the owner is an ordinary customer and reads only what the rule gives them. The Gemmein dashboard is the admin view; an in-app admin screen goes through your own server with a read-only secret key.
Was: sends_disabled means the owner switched in-app sending off.
Now: sends_disabled means direct messages are off for this collection; addressed records are sent from the dashboard or a relay.
Was: A secret key can only read and update records; it can't create or delete them.
Now: A secret key gets one of three levels per collection (reads only; reads and writes; or reads, writes and deletes), or is a full key for every collection. A key that writes creates and updates records under any rule; name whose record it is with { for } or { from }.
Was: You can paste your own Stripe Payment Link and signing secret instead of connecting a key.
Now: Selling through Stripe needs the restricted-key connection on the Payments page; Gemmein makes each Payment Link.
Was: Live storage is 10 GB per app.
Now: Storage is pooled per account, flat per tier (50 GB, 200 GB or 500 GB) plus 50 GB per storage pack; Development is capped at 1 GB.
Was: The CLI links to the cloud with a CLI key your human copies from the Setup page.
Now:
npx gemmein loginprints a link and a code; your human presses Approve in the browser. No key is ever shown, copied or pasted.Was: Live actions wait for you to type a confirmation.
Now: Each Live action is approved in the browser, once, for exactly the plan shown; there is nothing to type.
Was: Gemmein picks up a collection's fields from the records you write in Development.
Now: Every community, shared and direct collection declares its fields in gemmein/collections/<name>.json; nothing is guessed from test data.
Was: Signing in on a second device signs the person out of the first.
Now: Members stay signed in on up to 10 devices, each listed and signed out on its own; founders keep up to 5 dashboard devices the same way, listed on Settings → Security with their own "Sign out everywhere else".
Was: A plan-selling app needs its customer portal set up in Stripe and the link pasted on Payments.
Now: Gemmein sets up Stripe's customer portal from your plans; g.subscriptions.manage() opens it. There is nothing to paste.
Was: A chat AI tool runs only on the three hosts: OpenAI, Anthropic and Google.
Now: A chat AI tool runs on OpenAI, Anthropic, Google or any endpoint that speaks the OpenAI Chat Completions format (provider openai-compatible: a base URL, a key and the endpoint's own model ids).
Was: Going live drops localhost and every unverified domain for every key; before go-live a page works only on a listed domain or localhost.
Now: The rule is per key: the Development app key works from any secure (https) address and from localhost, before and after go-live, with nothing to list; the Live app key works only on verified domains.
Was: Live apps pay one plan whose price steps from $50 up to $150 a month with the previous month's active people.
Now: One account-wide plan: Launch $29, Run a business $79 or Grow $199 a month (or $290, $790, $1,990 a year), covering every app on the account. Launch and Run a business include 100,000 active people a month; Grow has no visible limit.
Was: Gemmein is only the backend: the app's frontend has to live on some other host.
Now: Gemmein hosts the app's frontend: a private Development preview at <slug>-dev.gemmein.dev and the Live site at <slug>.gemmein.dev, on the founder's own domains if they want (up to 5 per Live app). An app can still be hosted anywhere with Gemmein as its backend. Server logic runs in a relay — including as a Function, your own code hosted on Cloudflare — or on your own host.
Was: Gemmein's MCP has ten tools.
Now: The hosted connector has 146 tools: building and testing in Development, the site (site_read included), and Live reads and requests. Ten of them (the docs and checks) work without an account.
Was: Only some ChatGPT plans can add Gemmein as a connector, and adding it meant the manual route (sidebar Plugins → Add → Add custom MCP server).
Now: works on every ChatGPT plan — Install plugin from ChatGPT's own plugin directory ("Gemmein for Business"), then Connect Gemmein for Business, sign in, and Approve. The manual address route (sidebar Plugins → Add → Add custom MCP server) still works as a fallback.
Was: A collection picks one of seven rules.
Now: Gemmein has eight data rules: private, shared, admin_write, public_read, community, addressed, direct and app_only.
Was: Relays could add credits but never take them; only your own server or the AI route could spend a person's credits.
Now: A relay your app calls by name (trigger app_call) charges the person calling it: its first action, spend_credits, takes their own credits before anything is written, and a later step that fails refunds them. A relay that reacts to an event still never takes credits.
Was: After your human approves a Live change in the browser, the AI makes a second call that carries it out, and the CLI is handed a one-use token to run it.
Now: Approving carries the action out, once, at the moment of the press; live_action_status only reads what happened (wait: true waits up to 40 seconds), and no command ever holds a Live token.
Was: A share link to the private preview lasts 7 days, and every ask makes a new one.
Now: Each app has one share link, the same every time it is asked for, with no end date; Change link cuts off everyone who had the old one.
Was: A device where your human signed in to Gemmein opens the private preview for 30 days.
Now: That device opens the private preview for 12 hours, then signs in to Gemmein again.
Was: Stripe's key and an AI provider's key are handed over with a link to a dashboard page, and the AI asks your human to say when it is in.
Now: Each key is pasted on a page of Gemmein's own (connect_payments, provider_key,
npx gemmein connect), and the AI waits up to 40 seconds for the answer.Was: One connector tool asked for every Live change, a field in its request choosing which.
Now: Each Live change has its own tool, with only its own fields (request_go_live, request_promote, request_grant_credits and the rest); refund_steps answers a refund's steps in Stripe.
Thanks for telling us.
Thanks for telling us.
Last updated