mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 04:47:02 +01:00
* feat(chat): the reader chooses which model answers: a free one, or their own key Both chats (the law, governance) get chatkit's model button and sheet through useModelOptions; /api/law/ask and /api/chat choose the chain with ai-kit/choice. A reader's own key replaces Solon's models for their questions and is never stored here. Under a long answer a free model wrote, one line leads to the sheet. Needs @bitbaum/ai-kit 1.33.0 and @bitbaum/chatkit 0.48.0 (kits#20); the lockfile follows once they are published. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz * feat(pricing): what Solon offers, at what price, with a waitlist until it can be sold /pricing shows four tiers (Free, Plus, Professional, Organization) as sitekit's PlanTable, in five languages. The paid ones are not on sale: the price is what we plan to charge and the button takes an address (plan_waitlist, migration 0038, additive) through paykit's joinWaitlist. The model sheet's third way and the Hire page lead there. Prices live in lib/config/plans.ts only and are a proposal, not yet confirmed by the owner. Needs @bitbaum/paykit 0.5.0 and @bitbaum/sitekit 0.9.0 (kits#21) and kits#20; the lockfile follows once they are published. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz * chore: lockfile for ai-kit 1.33.0, chatkit 0.48.0, paykit 0.5.0, sitekit 0.9.0 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz --------- Co-authored-by: Claude <noreply@anthropic.com>
135 lines
4.1 KiB
JSON
135 lines
4.1 KiB
JSON
{
|
|
"blocks": {
|
|
"shell": {
|
|
"package": "@bitbaum/sitekit",
|
|
"status": "pending",
|
|
"bindings": [
|
|
{
|
|
"file": "src/components/pricing/pricing-plans.tsx",
|
|
"symbols": ["PlanTable"]
|
|
}
|
|
],
|
|
"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."
|
|
}
|
|
},
|
|
"identity": {
|
|
"package": "@bitbaum/accountkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/auth/index.ts",
|
|
"symbols": ["createAuthRuntime", "createAuthMailer"]
|
|
},
|
|
{
|
|
"file": "src/components/auth/account-screens.tsx",
|
|
"symbols": ["SignInForm", "SignUpForm", "AccountPanel"]
|
|
}
|
|
]
|
|
},
|
|
"publishing": {
|
|
"package": "@bitbaum/bip-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/components/site/development-records.tsx",
|
|
"symbols": ["DevelopmentPage"]
|
|
},
|
|
{
|
|
"file": "src/app/[locale]/blog/[slug]/page.tsx",
|
|
"symbols": ["ArticleBody"]
|
|
}
|
|
]
|
|
},
|
|
"design": {
|
|
"package": "@bitbaum/design-tokens",
|
|
"status": "pending",
|
|
"bindings": [],
|
|
"gap": {
|
|
"owner": "fleet-remediation",
|
|
"reason": "Existing product CSS/Tailwind owns semantic tokens; shared token package is not installed or imported. Preserve the current appearance while mapping roles in the separate UI migration.",
|
|
"replacementCondition": "Shared renderer/theme adopted and browser/domain fixtures pass in its own UI wave."
|
|
}
|
|
},
|
|
"ai": {
|
|
"package": "@bitbaum/ai-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/api/chat/route.ts",
|
|
"symbols": ["completeStream"]
|
|
},
|
|
{
|
|
"file": "src/app/api/law/ask/route.ts",
|
|
"symbols": ["complete", "completeStream"]
|
|
},
|
|
{
|
|
"file": "src/lib/chat/model-choice.ts",
|
|
"symbols": ["chooseChain", "pickableModels"]
|
|
},
|
|
{
|
|
"file": "src/app/api/model/check/route.ts",
|
|
"symbols": ["checkOwnKey"]
|
|
}
|
|
]
|
|
},
|
|
"chat": {
|
|
"package": "@bitbaum/chatkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/components/chat/governance-chat.tsx",
|
|
"symbols": ["ChatScreen", "Composer", "ChatThread"]
|
|
},
|
|
{
|
|
"file": "src/components/law/law-chat.tsx",
|
|
"symbols": ["ChatScreen", "Composer", "ChatThread"]
|
|
},
|
|
{
|
|
"file": "src/components/chat/use-solon-model.tsx",
|
|
"symbols": ["useModelOptions"]
|
|
}
|
|
]
|
|
},
|
|
"limits": {
|
|
"package": "@bitbaum/limitkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/chat/rate-limit.ts",
|
|
"symbols": ["slidingWindow", "MemoryStore", "clientIp", "toHeaders"]
|
|
}
|
|
]
|
|
},
|
|
"payments": {
|
|
"package": "@bitbaum/paykit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/config/plans.ts",
|
|
"symbols": ["Tier"]
|
|
},
|
|
{
|
|
"file": "src/app/api/plans/waitlist/route.ts",
|
|
"symbols": ["joinWaitlist", "waitlistTiers"]
|
|
},
|
|
{
|
|
"file": "src/app/[locale]/pricing/page.tsx",
|
|
"symbols": ["formatMoney"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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": "src/lib/auth/index.ts",
|
|
"verification": "Real adapter is intercepted only for synthetic local browser tests; production delivery remains unverified."
|
|
}
|
|
},
|
|
"experience": {
|
|
"ceiling": {}
|
|
},
|
|
"productOwned": {
|
|
"domain": "Governance, legal sources, evidence and law-specific prompts remain Solon domain behavior."
|
|
}
|
|
}
|