/**
 * OpenAI Codex OAuth provider plugin
 *
 * 通过 OAuth 接入，对应 auth.json 中的 openai-codex 条目。
 */

/** @type {import('../provider-registry.js').ProviderPlugin} */
export const openaiCodexOAuthPlugin = {
  id: "openai-codex-oauth",
  displayName: "OpenAI Codex (OAuth)",
  authType: "oauth",
  defaultBaseUrl: "https://chatgpt.com/backend-api",
  defaultApi: "openai-codex-responses",
  authJsonKey: "openai-codex",
};
