using ColaFlow.Shared.Kernel.Events;
using ColaFlow.Modules.Mcp.Domain.ValueObjects;

namespace ColaFlow.Modules.Mcp.Domain.Events;

/// <summary>
/// Domain event raised when a pending change is approved
/// </summary>
public sealed record PendingChangeApprovedEvent(
    Guid PendingChangeId,
    string ToolName,
    DiffPreview Diff,
    Guid ApprovedBy,
    Guid TenantId
) : DomainEvent;
