feat: ship agent-first mission control v0.2.57
CI - Build & Test / Backend (.NET) (push) Successful in 42s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 2m46s
CI - Build & Test / Security Check (push) Successful in 3s
CI - Build & Test / Deploy Nexus (push) Successful in 56s

This commit is contained in:
AzuTear
2026-07-31 22:39:47 +02:00
parent 3bc7622977
commit f5552218bc
535 changed files with 95242 additions and 8791 deletions
+38
View File
@@ -0,0 +1,38 @@
using System.Text.Json;
namespace Nexus.Api.Models;
/// <summary>
/// Transport-safe reference to a Nexus or OpenClaw-owned entity. Routing stays
/// a frontend concern, so this contract deliberately contains no URL.
/// </summary>
public sealed record EntityRefDto(
string Type,
string Id,
string? Label = null);
public sealed record OperationResultDto(
string OperationId,
string Status,
int Revision,
EntityRefDto? PrimaryRef,
IReadOnlyList<EntityRefDto> AffectedRefs,
string? TraceId);
/// <summary>
/// Content-minimized event sent to authenticated Mission Control clients.
/// Payloads may carry state and correlation metadata, but never prompts,
/// credentials, markdown content, tool arguments, or entity names.
/// </summary>
public sealed record DomainEventDto(
long Sequence,
string EventType,
EntityRefDto Entity,
int EntityRevision,
DateTimeOffset OccurredAt,
JsonElement Payload);
public static class DomainEventTypes
{
public const string ResyncRequired = "resync_required";
}