// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Microsoft.Agents.AI.DurableTask.State;
///
/// Represents the data of a durable agent, including its conversation history.
///
internal sealed class DurableAgentStateData
{
///
/// Gets the ordered list of state entries representing the complete conversation history.
/// This includes both user messages and agent responses in chronological order.
///
[JsonPropertyName("conversationHistory")]
public IList ConversationHistory { get; init; } = [];
///
/// Gets any additional data found during deserialization that does not map to known properties.
///
[JsonExtensionData]
public IDictionary? ExtensionData { get; set; }
}