import "../chunk-PZ5AY32C.js";

// git/config.ts
var DEFAULT_PROXY_URL = "https://repos.morphllm.com";
function validateApiKey(apiKey) {
  if (!apiKey) {
    throw new Error("API key is required");
  }
  if (!apiKey.startsWith("sk-") && !apiKey.startsWith("morph-")) {
    throw new Error("Invalid API key format. Expected: sk-... or morph-...");
  }
}
export {
  DEFAULT_PROXY_URL,
  validateApiKey
};
//# sourceMappingURL=config.js.map