/** * Hooks referenced by `login "device-code"` rules: fingerprint headers, * discovered endpoints and post-exchange identity steps. */ import type { AfterExchangeHook, HeadersHook, Lazy, ValueHook } from "./types"; export const DEVICE_CODE_HEADERS_HOOKS: Record> = { "kimi-fingerprint": () => import("../oauth/kimi").then(module => module.getKimiCommonHeaders), }; export const DEVICE_CODE_VALUE_HOOKS: Record> = { "xai-token-endpoint": () => import("../oauth/xai-oauth").then(module => module.getXAITokenEndpoint), }; export const DEVICE_CODE_AFTER_EXCHANGE_HOOKS: Record> = { "muse-code-key": () => import("../oauth/muse-code").then(module => module.attachMuseCodeApiKey), "factory-droid-region": () => import("../oauth/factory-droid").then(module => module.attachFactoryDroidRegion), };