import {
  getConfig
} from "./chunk-2MAQ6JFL.js";

// src/backends/codex/auth.ts
function buildCodexAuthEnv() {
  const cfg = getConfig();
  const env = {};
  if (cfg.openAiApiKey) {
    env.OPENAI_API_KEY = cfg.openAiApiKey;
    env.CODEX_API_KEY = cfg.openAiApiKey;
  }
  return env;
}
function validateCodexRuntime() {
  return null;
}

export {
  buildCodexAuthEnv,
  validateCodexRuntime
};
