mirror of
https://github.com/bitbaum/skif.git
synced 2026-12-05 02:47:02 +01:00
Mail sent to hello@skif.orangecat.ch reaches /api/mail/inbound from the box's mail gateway, signed with the fleet's MAIL_INBOUND_SECRET (mail-kit 0.2's inbound contract; anything unsigned or stale is refused). Each message is sorted by Skif's model chain through mail-kit's triage, falling back to rules when no model answers; spam and automated notices arrive already handled. Operations sees an inbox card on /ops (open first, urgent first) and a page per message: what was written, how it was sorted, a warning when the sender failed SPF/DKIM/DMARC, an answer box that sends from Skif with Reply-To hello@ so the reply comes back here, and done / reopen. Opening and answering are audited. Skif otherwise stores nobody's address, so a message and its sender are deleted MAIL_RETENTION_DAYS (90) after arrival, answered or not. /api/health gains inbox: configured|unconfigured. Claude-Session: https://claude.ai/code/session_01TTH5cy8bKmEqzdTyAsbbT8 Co-authored-by: Claude <noreply@anthropic.com>
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "skif",
|
|
"version": "0.1.0",
|
|
"packageManager": "pnpm@11.25.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"verify": "pnpm type-check && pnpm lint && pnpm test && pnpm build",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx scripts/migrate.mts",
|
|
"db:local": "pglite-server --db=.data/pglite --port=5433"
|
|
},
|
|
"dependencies": {
|
|
"@bitbaum/accountkit": "github:bitbaum/accountkit#v0.2.0",
|
|
"@bitbaum/ai-kit": "^1.11.0",
|
|
"@bitbaum/chatkit": "github:bitbaum/chatkit#v0.1.0",
|
|
"@bitbaum/design-tokens": "1.1.0",
|
|
"@bitbaum/mail-kit": "^0.2.0",
|
|
"@bitbaum/sitekit": "0.3.1",
|
|
"bip-kit": "^0.3.1",
|
|
"drizzle-orm": "^0.45.3",
|
|
"limitkit": "^0.2.0",
|
|
"listkit": "github:bitbaum/listkit#v0.1.0",
|
|
"lucide-react": "1.58.0",
|
|
"next": "16.3.8",
|
|
"next-auth": "5.0.0-beta.32",
|
|
"next-intl": "4.14.5",
|
|
"pg": "^8.23.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"server-only": "^0.0.1",
|
|
"sharp": "0.35.4",
|
|
"threadkit": "^0.1.1",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.5.8",
|
|
"@electric-sql/pglite-socket": "^0.2.11",
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.20.4",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-next": "^16.3.6",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|