feat: report Claude CLI installation and gate unsupported versions
This commit is contained in:
@@ -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" } });
|
||||
}
|
||||
Reference in New Issue
Block a user