import { Github, ShieldCheck } from "lucide-react"; import { useTranslation } from "react-i18next"; import { Badge } from "@/components/ui/badge"; import { CodexIcon } from "@/components/BrandIcons"; import { CopilotAuthSection } from "@/components/providers/forms/CopilotAuthSection"; import { CodexOAuthSection } from "@/components/providers/forms/CodexOAuthSection"; export function AuthCenterPanel() { const { t } = useTranslation(); return (

{t("settings.authCenter.title", { defaultValue: "OAuth 认证中心", })}

{t("settings.authCenter.description", { defaultValue: "在 Claude Code 中使用您的其他订阅,请注意合规风险。", })}

{t("settings.authCenter.beta", { defaultValue: "Beta" })}

GitHub Copilot

{t("settings.authCenter.copilotDescription", { defaultValue: "管理 GitHub Copilot 账号", })}

ChatGPT (Codex OAuth)

{t("settings.authCenter.codexOauthDescription", { defaultValue: "管理 ChatGPT 账号", })}

); }