using CursorLang.Core.Models;
namespace CursorLang.Core.Services;
///
/// The release list of the repository.
///
public interface IReleaseFeed
{
///
/// Returns the newest release carrying an MSIX package, or null
/// when there is no suitable release.
///
Task GetLatestAsync(CancellationToken cancellationToken);
///
/// Adds to the request whatever a private repository needs. The package is
/// downloaded not by the list itself, but access to it is closed just the same.
///
void Authorize(HttpRequestMessage request);
}