using Nexus.Api.Models;

namespace Nexus.Api.Services;

/// <summary>
/// Bounded compatibility client for session history, which is not yet exposed
/// through the typed OpenClaw control projection used by the dashboard.
/// Agent, model, cron, status and mutation discovery belong to
/// <see cref="IOpenClawControlService"/>.
/// </summary>
public interface IOpenClawGatewayClient
{
    Task<List<MessageEntry>> GetSessionHistoryAsync(
        string sessionKey,
        int limit = 50,
        int offset = 0);
}
