Files
CatoandClaude Opus 5.5 42d8e6a19c Heidi Max next to Heidi Plus; owner payment settings and «Stripe einrichten» (#456)
* CTAs speak as a command to the learner: «Frag Heidi»

Buttons and links that start an action are imperatives addressed to the
learner (owner's decision), so the brand phrase, the domain and the buttons
say the same thing: «Frag Heidi» (was «Heidi fragen»), «Frag Heidi, warum»,
«Entdecke die Situationen», «Fang an», «Probier es aus», «Erstell dein
Gratis-Konto», and the home, chat, plans, warm-up, practice, play, groups,
languages and organisations doors alike. du-form in German (Sie kept on the
organisations page, which addresses organisations as Sie), tu in fr/it,
ti in rm, ты in ru; English only «Create your free account».

Swiss German changes only where the imperative has a source: «Frag d Heidi»
(verb «frage» in the gsw-zh pack; imperative «frag» in Wiktionary's Zurich
conjugation table), «Lueg … aa» and «Mach …» (the pack's imperative topic).
Other gsw labels keep their infinitives.

Single-word tab-like labels («Üben», «Starten») and status texts unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfseicWGK2CMC2U5r

* gsw: «Frög d Heidi» (Zurich imperative of fröge)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfseicWGK2CMC2U5r

* Heidi Max next to Heidi Plus; owner payment settings and «Stripe einrichten»

- paykit 0.7.0. One tier answer (lib/pay/tier.ts: free | plus | max from the
  entitlement's plan id; the one-time pass counts as plus), read by the caps
  (capsFor, HEIDI_CAP_MAX_*; Max defaults to 3x Plus), the model route
  (chainFor: HEIDI_MAX_MODELS first, else exactly the Plus route) and the
  Rückblick (REVIEW_EVERY_DAYS_BY_TIER: max 7, plus/free 30).
- /plans: Free | Plus | Max | own key | Organisations on PlanPicker, Max
  priced from HEIDI_MAX_* (no price in code); review step per plan; without
  payment switched on the review says so instead of a pay button; a Stripe
  TEST key shows «Testmodus».
- Back office Geld -> «Zahlungen» (/manage/money/payments): eight prices,
  sales, Stripe key and webhook secret in pay_settings (migration 0035),
  secrets sealed and never sent to the page; stored value over env over off.
- «Stripe einrichten»: makes or finds Products/Prices, the customer-portal
  configuration (cancel, card, switch Plus/Max) and the webhook endpoint,
  storing its signing secret; idempotent, one result per step.
- Webhook reads the plan from the subscription's Price, so portal switches
  move the tier.
- Words in all seven dictionaries; changelog 2026-12-03.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfseicWGK2CMC2U5r

* Paid allowances never below the tier below; Plus and Max cards list them

- caps.ts: every paid allowance is at least the tier below (daily with 0 as
  no count; Plus dictation per 30 days at least free's daily x 30). Plus daily
  defaults to 3x free (300), Max to 3x Plus (900); voice 1200/3600 s.
- plan-cards.ts: one paidBenefits shape for Plus and Max from capsFor:
  questions a day, Heidi's voice minutes, dictations per 30 days, the
  Rückblick rhythm, then Max's two «bald» lines, then «Alles aus …».
  The free card says Heidi's own voice comes with Plus and Max.
- All seven dictionaries; changelog lines for the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfseicWGK2CMC2U5r

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-12-03 16:02:41 +01:00
..