Simplify auth, remove abstraction layers, add shadcn components

- Delete lib/api/errors.ts and lib/api/auth-guard.ts, inline
  NextResponse.json() error responses directly in route handlers
- Replace non-standard amber CSS variables with primary/primary-foreground
- Regenerate shadcn UI components with biome-ignore comments
- Add CLAUDE.md for repository guidance
- Update dependencies and pnpm lockfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 15:00:15 -05:00
co-authored by Claude Opus 4.6
parent b02ff1cdc1
commit 095b64ab42
85 changed files with 6125 additions and 296 deletions
+3 -3
View File
@@ -1,6 +1,5 @@
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";
import { badRequest } from "@/lib/api/errors";
import { registerJobs } from "@/lib/jobs/registry";
import { scheduler } from "@/lib/jobs/scheduler";
@@ -15,8 +14,9 @@ export async function POST(
const jobNames = scheduler.getJobNames();
if (!jobNames.includes(name)) {
return badRequest(
`Unknown job: ${name}. Available: ${jobNames.join(", ")}`,
return NextResponse.json(
{ error: `Unknown job: ${name}. Available: ${jobNames.join(", ")}` },
{ status: 400 },
);
}