mirror of
https://github.com/bitbaum/causius.git
synced 2026-12-04 01:07:36 +01:00
- Helpers list themselves (AI service, legal assistant, licensed lawyer) under a name or pseudonym; the same account keeps matters of its own. Directory search and filters through searchkit and listkit, with the typo suite. - A lawyer's admission is submitted privately (evidence sealed per credential), checked by a staff reviewer, and published as an SD-JWT signed with Ed25519: the place in clear, the legal name only as a salted digest. Key at /.well-known/jwks.json; anyone can check at /verify. A lawyer is listed only where verified. - An owner asks a helper about a matter, with or without their personal details; the request is previewed exactly as it will be read. Accepted, the helper becomes a participant; anonymisation is applied in the store, so no route can forget it. A lawyer hands over the checked name with proof. Ending it removes access in the same transaction. - Reviewers are staff/admin accounts, granted by the Grant role workflow. - Who may do what is lib/professions.ts, the one domain file, so Diplodoctor reuses the engine by changing it. - Fixes: the account menu label template; one site URL instead of three, with a dev-only origin so local sign-in works. Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud Co-authored-by: Claude <noreply@anthropic.com>
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "causius",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"type-check": "tsc --noEmit",
|
|
"verify": "pnpm run type-check && pnpm run lint && pnpm run test",
|
|
"test": "vitest run",
|
|
"check:analyze": "vitest run --config vitest.live.config.mts live/analyze.live.ts",
|
|
"check:agent": "vitest run --config vitest.live.config.mts live/agent.live.ts",
|
|
"role:grant": "node scripts/grant-role.mjs"
|
|
},
|
|
"packageManager": "pnpm@11.25.0",
|
|
"dependencies": {
|
|
"@better-auth/passkey": "^1.7.7",
|
|
"@bitbaum/accountkit": "github:bitbaum/accountkit#f07353eee9907ea3a434d230a9ed079b3e4215a2",
|
|
"@bitbaum/ai-kit": "^1.20.1",
|
|
"@bitbaum/chatkit": "git+https://github.com/bitbaum/chatkit.git#b8b613d0c8984d7fdf902f3a8791fc9d84122b7f",
|
|
"@bitbaum/design-tokens": "1.1.0",
|
|
"@bitbaum/mail-kit": "^0.1.1",
|
|
"@bitbaum/searchkit": "github:bitbaum/searchkit#v0.2.2",
|
|
"better-auth": "^1.7.7",
|
|
"bip-kit": "^0.6.0",
|
|
"drizzle-orm": "^0.45.4",
|
|
"limitkit": "^0.2.0",
|
|
"listkit": "github:bitbaum/listkit#v0.1.0",
|
|
"next": "16.3.8",
|
|
"next-intl": "^4.14.9",
|
|
"pg": "^8.23.1",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"unpdf": "^1.8.1",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.5.8",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^26.6.4",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "^10.12.0",
|
|
"eslint-config-next": "16.3.8",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|