using System.Text.Json.Serialization;

namespace ClawdDotNet.App.Models;

/// <summary>
/// Eintrag in der AgentList.json – Basisinformationen zu einem Agenten.
/// Liegt im Agents/-Ordner einer Instanz.
/// </summary>
public sealed class AgentListItem
{
    [JsonPropertyName("name")]
    public string Name { get; set; } = "";

    [JsonPropertyName("description")]
    public string Description { get; set; } = "";

    [JsonPropertyName("folderName")]
    public string FolderName { get; set; } = "";
}

/// <summary>
/// Root-Objekt der AgentList.json
/// </summary>
public sealed class AgentListFile
{
    [JsonPropertyName("agents")]
    public List<AgentListItem> Agents { get; set; } = new();
}
