fabro/apps/arc-web/app
Bryan Helmkamp 1fd9a8ebfe SQLite-backed sessions with GitHub email and app manifest fix
Replace cookie-based sessions with SQLite-backed storage using
better-sqlite3 and React Router's createSessionStorage. Sessions are
now stored in ~/.arc/arc-web.db with a session ID cookie, enabling
larger payloads and server-side revocation.

- Add db.server.ts (lazy singleton, WAL mode, web_sessions table)
- Add session-storage.server.ts (CRUD ops, probabilistic cleanup)
- Fetch primary verified email from /user/emails during OAuth
- Add emails:read to GitHub App manifest default_permissions
- Expand session data: userUrl, githubId, githubNodeId, email
- Default ARC_API_BASE_URL to localhost:3000
- Whitelist better-sqlite3 in trustedDependencies
- Externalize better-sqlite3 from Vite SSR bundling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 21:05:59 -05:00
..
components Extract AuthLayout component and polish auth UI 2026-03-02 20:19:15 -05:00
data Rename Pipeline to Workflow in frontend 2026-03-02 00:09:15 -05:00
layouts Add GitHub App manifest registration and OAuth login 2026-03-02 19:45:50 -05:00
lib SQLite-backed sessions with GitHub email and app manifest fix 2026-03-02 21:05:59 -05:00
routes SQLite-backed sessions with GitHub email and app manifest fix 2026-03-02 21:05:59 -05:00
welcome Add arc-web React Router 7 app with pipeline kanban board 2026-02-28 12:34:18 -05:00
api-client.test.ts Fix stale labels, grammar, and comments from sandbox rename 2026-03-02 11:43:34 -05:00
api-client.ts SQLite-backed sessions with GitHub email and app manifest fix 2026-03-02 21:05:59 -05:00
app.css Add cursor: pointer to all click targets site-wide 2026-03-01 22:36:21 -05:00
root.tsx Add styled 404 and 500 error pages matching Arc design system 2026-03-02 11:04:04 -05:00
routes.ts Add GitHub App manifest registration and OAuth login 2026-03-02 19:45:50 -05:00