Files
Kaname/CHANGELOG.md
T
Pascal LinxweilerandClaude Opus 5.5 891e496157 Milestone (a): project skeleton and OIDC login
- Next.js 16 + Tailwind + shadcn/ui skeleton
- Auth.js v5 generic OIDC (Pocket ID, PKCE) with optional group gate
- proxy.ts gates all pages and API routes
- Drizzle schema (models, files, jobs, logs, worker state) on SQLite/libsql
- Worker skeleton: migrations, interrupted-job recovery, heartbeat

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 15:32:52 +02:00

1.4 KiB

Changelog

All notable changes to this project are documented here. The format follows Keep a Changelog; each milestone of step 1 (Hugging Face downloader) is released as a minor version.

[Unreleased]

[0.1.0] - 2026-10-05

Milestone (a): project skeleton and OIDC login.

Added

  • Next.js 16 (App Router) + TypeScript + Tailwind v4 + shadcn/ui (Base UI) project.
  • OIDC login via Auth.js v5 (pinned next-auth@5.0.0-beta.32) with a generic provider (pocket-id), authorization code flow with PKCE, state and nonce. JWT sessions, 7 days.
  • Optional group gate OIDC_ALLOWED_GROUPS (requests the groups scope, fails closed when the claim is missing).
  • src/proxy.ts gates every page (redirect to /login) and API route (401); route handlers re-check the session (withAuth).
  • Login page with readable errors (access denied, misconfiguration) and safe callbackUrl handling.
  • Drizzle ORM schema on SQLite via libsql: models, model_revisions, model_files, jobs, job_files, job_logs, worker_state; initial migration in drizzle/.
  • Worker process skeleton (src/worker): applies migrations, marks stale running jobs as interrupted on startup, detects the hf CLI version, writes a heartbeat every 5 s.
  • Header badge showing whether the worker is online; /api/status endpoint.
  • Env validation with zod (src/lib/env.ts), .env.example.
  • npm run dev starts web and worker together.