fix: authorize CLI probes and preserve executable identity

This commit is contained in:
amosblomqvist
2026-10-28 19:26:36 +02:00
parent c5a756d707
commit 5093809ea0
9 changed files with 138 additions and 7 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import { claudeCodeInstallationStatus } from "@/src/server";
import { claudeCodeInstallationResponse } 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" } });
export async function GET(request: Request) {
return claudeCodeInstallationResponse(request);
}