mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 05:37:48 +01:00
* 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>
67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"name": "heidi",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "node scripts/media/ensure.mjs && next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"type-check": "tsc --noEmit",
|
|
"check:file-inputs": "chatkit-check-file-inputs app lib",
|
|
"verify": "pnpm run type-check && pnpm run lint && pnpm run check:file-inputs && pnpm run test",
|
|
"verify:main": "pnpm run type-check && pnpm run lint && pnpm run check:file-inputs",
|
|
"test": "node --no-warnings --experimental-strip-types --experimental-test-module-mocks --test-concurrency=1 --test 'app/**/*.test.ts' 'lib/**/*.test.ts'",
|
|
"db:generate": "drizzle-kit generate",
|
|
"audit:responsive": "node scripts/audit/responsive.mjs",
|
|
"audit:overlays": "node scripts/audit/overlays.mjs",
|
|
"audit:speaking": "node scripts/audit/speaking.mjs",
|
|
"audit:language": "node scripts/audit/language.mjs",
|
|
"inventory": "node --no-warnings --experimental-strip-types scripts/inventory.ts",
|
|
"glosses:coverage": "node --no-warnings --experimental-strip-types scripts/gloss-coverage.ts"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/passkey": "^1.7.18",
|
|
"@bitbaum/accountkit": "^0.34.0",
|
|
"@bitbaum/ai-kit": "^1.31.0",
|
|
"@bitbaum/bip-kit": "^0.10.0",
|
|
"@bitbaum/chatkit": "^0.50.0",
|
|
"@bitbaum/design-tokens": "^1.7.1",
|
|
"@bitbaum/langkit": "^0.2.0",
|
|
"@bitbaum/limitkit": "^0.2.1",
|
|
"@bitbaum/mail-kit": "0.4.0",
|
|
"@bitbaum/paykit": "^0.7.0",
|
|
"@bitbaum/searchkit": "^0.2.3",
|
|
"@bitbaum/speechkit": "^1.0.1",
|
|
"@bitbaum/threadkit": "^0.1.2",
|
|
"@bitbaum/whenkit": "^0.3.3",
|
|
"better-auth": "^1.7.18",
|
|
"drizzle-orm": "^0.45.4",
|
|
"next": "16.4.5",
|
|
"pg": "^8.23.1",
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"uqr": "^0.1.3",
|
|
"web-push": "^4.0.0",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.5.15",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^26.6.6",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/web-push": "^3.6.4",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-next": "16.4.5",
|
|
"playwright": "^1.65.0",
|
|
"sharp": "0.35.5",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"packageManager": "pnpm@11.25.0"
|
|
}
|