namespace AxCopilot.Services.Agent.SlashCommands;

/// <summary>Phase 22: /config — 설정 화면 열기.</summary>
public class ConfigCommand : ISlashCommand
{
    public string Name => "config";
    public string[] Aliases => new[] { "settings" };
    public string Description => "설정 패널을 엽니다";
    public string? ArgumentHint => null;
    public bool RequiresActiveSession => false;

    public Task ExecuteAsync(string arguments, IAgentChatContext ctx, CancellationToken ct)
    {
        ctx.ToggleSettingsPanel();
        return Task.CompletedTask;
    }
}
