interface UVMirror {
  /**
   * The setting id defined for the mirror.
   */
  settingId: string
  /**
   * The default mirror to use.
   */
  mirror: string
  /**
   * The fallback mirror to use.
   */
  fallbackMirror: string
  /**
   * The path suffix to validate the mirror is reachable.
   */
  validationPathSuffix?: string
}

export const PYTHON_MIRROR: UVMirror = {
  settingId: 'Comfy-Desktop.UV.PythonInstallMirror',
  mirror:
    'https://github.com/astral-sh/python-build-standalone/releases/download',
  fallbackMirror:
    'https://python-standalone.org/mirror/astral-sh/python-build-standalone',
  validationPathSuffix:
    '/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256'
}
