feat: report Claude CLI installation and gate unsupported versions

This commit is contained in:
amosblomqvist
2026-10-28 19:10:47 +02:00
parent c0de3f968d
commit c5a756d707
17 changed files with 334 additions and 21 deletions
+6
View File
@@ -0,0 +1,6 @@
import { claudeCodeInstallationStatus } from "@/src/server";
/** Installation/version only; never reads auth status or makes a model request. */
export async function GET() {
return Response.json(await claudeCodeInstallationStatus(), { headers: { "Cache-Control": "no-store" } });
}