feat: remoe codex references after merging of main branch

This commit is contained in:
Kacper
2025-12-13 20:38:05 +01:00
parent 7c6d9d3723
commit 7fe3dff655
17 changed files with 43 additions and 411 deletions

View File

@@ -4,7 +4,7 @@ import { getElectronAPI } from "@/lib/electron";
type AuthState = "idle" | "running" | "success" | "error" | "manual";
interface UseOAuthAuthenticationOptions {
cliType: "claude" | "codex";
cliType: "claude";
enabled?: boolean;
}
@@ -70,11 +70,8 @@ export function useOAuthAuthentication({
}
try {
// Call the appropriate auth API based on cliType
const result =
cliType === "claude"
? await api.setup.authClaude()
: await api.setup.authCodex?.();
// Call the auth API
const result = await api.setup.authClaude();
// Cleanup subscription
if (unsubscribeRef.current) {