// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Agents.AI.DurableTask.Workflows;
///
/// Represents the custom status written by the orchestration for streaming consumption.
///
///
/// The Durable Task framework exposes SerializedCustomStatus on orchestration metadata,
/// which is the only orchestration state readable by external clients while the orchestration
/// is still running. The orchestrator writes this object via SetCustomStatus after each
/// superstep so that can poll for new events.
/// On orchestration completion the framework clears custom status, so events are also
/// embedded in the output via .
///
internal sealed class DurableWorkflowCustomStatus
{
///
/// Gets or sets the serialized workflow events emitted so far.
///
public List Events { get; set; } = [];
}