/** * Hooks referenced by `login "oauth-code"` rules: post-exchange identity / * provisioning steps and runtime-resolved values. */ import type { AfterExchangeHook, Lazy, LoginHook, ValueHook } from "./types"; export const OAUTH_CODE_AFTER_EXCHANGE_HOOKS: Record> = { "anthropic-identity": () => import("../oauth/anthropic").then(m => m.anthropicIdentityHook), "gitlab-duo-clear-cache": () => import("../oauth/gitlab-duo").then(m => m.gitLabDuoClearCacheHook), "openai-codex-profile": () => import("../oauth/openai-codex").then(m => m.openAICodexProfileHook), "zai-mint-key": () => import("../oauth/zai").then(m => m.zaiMintKeyHook), "google-gemini-cli-project": () => import("../oauth/google-gemini-cli").then(m => m.googleGeminiCliProjectHook), "google-antigravity-project": () => import("../oauth/google-antigravity").then(m => m.googleAntigravityProjectHook), }; export const OAUTH_CODE_VALUE_HOOKS: Record> = {}; export const OAUTH_CODE_LOGIN_HOOKS: Record> = { "openai-codex-device": () => import("../oauth/openai-codex").then(m => m.loginOpenAICodexDevice), };