feat: ship agent-first mission control v0.2.57
This commit is contained in:
@@ -1,21 +1,17 @@
|
||||
using System.Text.Json.Nodes;
|
||||
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<JsonNode?> InvokeToolAsync(string tool, object? args = null);
|
||||
Task<DashboardStatus> GetStatusAsync();
|
||||
Task<List<DashboardAgentInfo>> GetAgentsAsync();
|
||||
Task<List<MessageEntry>> GetSessionHistoryAsync(string sessionKey, int limit = 50, int offset = 0);
|
||||
Task<List<FeedEntry>> GetAllAgentOperationsAsync(int limit = 30);
|
||||
Task<ChatResponse> SendChatMessageAsync(string agentId, string message);
|
||||
Task<List<QueueItem>> GetQueueAsync();
|
||||
Task<GatewayRuntimeInfo> GetGatewayInfoAsync(CancellationToken ct = default);
|
||||
Task<bool> DeleteCronJobAsync(string id);
|
||||
Task<AgentModelInfo?> GetAgentModelAsync(string agentId);
|
||||
Task<bool> SetAgentModelAsync(string agentId, string model);
|
||||
Task<List<AgentActivityEntry>> GetAgentActivityAsync(string agentId, int limit = 5);
|
||||
List<ModelOption> GetAvailableModels();
|
||||
Task<List<MessageEntry>> GetSessionHistoryAsync(
|
||||
string sessionKey,
|
||||
int limit = 50,
|
||||
int offset = 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user