using System.Collections.ObjectModel;
using ClaudeDo.Installer.Core;
using CommunityToolkit.Mvvm.ComponentModel;

namespace ClaudeDo.Installer.Pages.InstallPage;

public partial class StepViewModel : ObservableObject
{
    public string Name { get; }

    [ObservableProperty] private StepStatus _status = StepStatus.Pending;
    [ObservableProperty] private bool _isExpanded;

    public ObservableCollection<string> Messages { get; } = [];

    public StepViewModel(string name) => Name = name;
}
