mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 05:17:27 +01:00
lib/i18n/locales.ts takes the list, names, BCP-47 tags and the
Accept-Language guess from @bitbaum/langkit 0.2.0; the switcher groups,
order, short labels and explanation languages stay Heidi's.
Nothing a visitor sees changed: langkit.test.ts pins names and tags to
their old values and compares the guess with the old one on nineteen real
headers. Two fixes: a space before q= ("it; q=0.9") matched no language
and showed German; a language marked q=0 could be chosen. The same test
runs langkit's check over the seven dictionaries (2,435 messages each:
placeholders, no ß in de/gsw).
Checked on a production build: first-visit guesses, the remembered
choice, html lang per page, the seven names at 390px without overflow.
Claude-Session: https://claude.ai/code/session_019MDtmsTRGc34xnG6koVuAY
Co-authored-by: Claude <noreply@anthropic.com>
188 lines
6.6 KiB
JSON
188 lines
6.6 KiB
JSON
{
|
|
"blocks": {
|
|
"shell": {
|
|
"package": "@bitbaum/sitekit",
|
|
"status": "pending",
|
|
"bindings": [],
|
|
"gap": {
|
|
"owner": "fleet-remediation",
|
|
"reason": "Existing product header/footer still render locally. Migrate through shared slots in a separate UI wave; do not couple account recovery with a shell replacement.",
|
|
"replacementCondition": "Shared renderer/theme adopted and browser/domain fixtures pass in its own UI wave."
|
|
}
|
|
},
|
|
"media": {
|
|
"package": "@bitbaum/sitekit",
|
|
"status": "pending",
|
|
"bindings": [],
|
|
"gap": {
|
|
"owner": "fleet-remediation",
|
|
"reason": "Photographs served from object storage in sizes rendered at build time (lib/media/variants.mjs, lib/media/loader.mjs, scripts/media/build-photos.mjs, scripts/media/upload-photos.mjs) were built in this app. lib/media imports nothing from the app so it can move into @bitbaum/sitekit unchanged; the session that built it could not push to bitbaum/sitekit.",
|
|
"replacementCondition": "@bitbaum/sitekit exports the variant naming, the next/image loader factory and the build and upload scripts; Heidi imports them and lib/media is deleted."
|
|
}
|
|
},
|
|
"identity": {
|
|
"package": "@bitbaum/accountkit",
|
|
"bindings": [
|
|
{
|
|
"file": "lib/auth/index.ts",
|
|
"symbols": ["createAuthRuntime"]
|
|
},
|
|
{
|
|
"file": "lib/auth/mail.ts",
|
|
"symbols": ["createAuthMailer"]
|
|
},
|
|
{
|
|
"file": "lib/domain/admin/people.ts",
|
|
"symbols": ["createManagers"]
|
|
},
|
|
{
|
|
"file": "lib/db/schema.ts",
|
|
"symbols": ["createManagerTables"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/_components/auth/auth-screens.tsx",
|
|
"symbols": ["SignInForm", "SignUpForm", "AccountPanel"]
|
|
}
|
|
]
|
|
},
|
|
"publishing": {
|
|
"package": "@bitbaum/bip-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "app/[locale]/roadmap/page.tsx",
|
|
"symbols": ["RoadmapDocument"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/changelog/page.tsx",
|
|
"symbols": ["ChangelogDocument"]
|
|
}
|
|
]
|
|
},
|
|
"payments": {
|
|
"package": "@bitbaum/paykit",
|
|
"bindings": [
|
|
{
|
|
"file": "lib/pay/service.ts",
|
|
"symbols": ["orangeCatProvider", "applySettlement", "isActive"]
|
|
},
|
|
{
|
|
"file": "lib/pay/store.ts",
|
|
"symbols": ["EntitlementStore"]
|
|
},
|
|
{
|
|
"file": "lib/pay/codes.ts",
|
|
"symbols": ["extendEntitlement"]
|
|
}
|
|
],
|
|
"note": "Passes paid in Bitcoin to Heidi's OrangeCat project. The provider, the webhook signature, the entitlement arithmetic and once-only settlement are the package's; Heidi owns config (lib/config/payments.ts), storage and words. Pass codes (lib/pay/codes.ts) grant through the package's extendEntitlement; issuing and redeeming a code moves no money and asks no provider, so it is Heidi's until a second product needs it. Paying in francs is paykit's stripeProvider, added to the package in bitbaum/paykit#19 (0.4.0); lib/pay/stripe-provider.ts is a byte-for-byte copy of it until 0.4.0 is on the registry, and lib/pay/stripe-provider.test.ts fails the day the package has it, to say the copy must go."
|
|
},
|
|
"design": {
|
|
"package": "@bitbaum/design-tokens",
|
|
"bindings": [
|
|
{
|
|
"file": "app/[locale]/layout.tsx"
|
|
}
|
|
],
|
|
"note": "Self-hosted faces (Inter, IBM Plex Mono; app/fonts.ts is generated by design-tokens-next-fonts) and composition.css. The brand palette in tokens.css is OrangeCat/Loki/Solon's and, per the package README, is not imposed on a product with its own brand: Heidi's colours stay in app/globals.css."
|
|
},
|
|
"ai": {
|
|
"package": "@bitbaum/ai-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "lib/domain/chat/respond.ts",
|
|
"symbols": ["complete", "completeStream"]
|
|
},
|
|
{
|
|
"file": "lib/domain/model/pass-model.ts",
|
|
"symbols": ["freeChain", "usableChain"]
|
|
}
|
|
]
|
|
},
|
|
"chat": {
|
|
"package": "@bitbaum/chatkit",
|
|
"bindings": [
|
|
{
|
|
"file": "app/[locale]/_components/chat/composer.tsx",
|
|
"symbols": ["ChatkitComposer"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/_components/chat/workspace.tsx",
|
|
"symbols": ["ChatApp"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/_components/chat/copy-button.tsx",
|
|
"symbols": ["useClipboard"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/_components/groups/invite-panel.tsx",
|
|
"symbols": ["useClipboard"]
|
|
},
|
|
{
|
|
"file": "app/[locale]/_components/voice/use-speech.ts",
|
|
"symbols": ["useSpeech"]
|
|
}
|
|
]
|
|
},
|
|
"speech": {
|
|
"package": "@bitbaum/speechkit",
|
|
"bindings": [
|
|
{
|
|
"file": "app/[locale]/_components/speaking/speaking-practice.tsx",
|
|
"symbols": ["hesitations", "measureSpoken", "usable"]
|
|
},
|
|
{
|
|
"file": "app/api/speaking/transcribe/route.ts",
|
|
"symbols": [
|
|
"checkGrammar",
|
|
"isFaithfulRendering",
|
|
"markerVerdict",
|
|
"mayJudgeForm"
|
|
]
|
|
},
|
|
{
|
|
"file": "lib/domain/speaking/feedback.ts",
|
|
"symbols": ["interpretation", "usable"]
|
|
},
|
|
{
|
|
"file": "lib/speech/capability.ts",
|
|
"symbols": ["evidenceFrom"]
|
|
}
|
|
]
|
|
},
|
|
"languages": {
|
|
"package": "@bitbaum/langkit",
|
|
"bindings": [
|
|
{
|
|
"file": "lib/i18n/locales.ts",
|
|
"symbols": ["defineLanguages", "pickLocale"]
|
|
},
|
|
{
|
|
"file": "lib/i18n/langkit.test.ts",
|
|
"symbols": ["checkMessages", "toIcu"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"migration": {
|
|
"scope": "This wave completes the account mail/recovery binding. Pending blocks are known missing adoption, not exceptions or successful composition. The strict composition audit must continue to report them until migrated.",
|
|
"mail": {
|
|
"package": "@bitbaum/mail-kit",
|
|
"via": "@bitbaum/accountkit/auth/mail",
|
|
"binding": "lib/auth/index.ts",
|
|
"verification": "Real adapter is intercepted only for synthetic local browser tests; production delivery remains unverified."
|
|
}
|
|
},
|
|
"productOwned": {
|
|
"domain": "Teaching, dialect/grammar gates, structured answers and group transcripts remain Heidi domain behavior."
|
|
},
|
|
"experience": {
|
|
"ceiling": {
|
|
"bareTextareas": 0,
|
|
"localChrome": 0,
|
|
"localComposers": 0,
|
|
"localComments": 0,
|
|
"localArticleEditors": 0
|
|
}
|
|
}
|
|
}
|