#include <spdlog/spdlog.h>
#include "./show_message_request.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::window
{
    std::string ShowMessageRequest::GetMethod() const
    {
        return "window/showMessageRequest";
    }

    std::string ShowMessageRequest::GetProviderName() const
    {
        return "WindowShowMessageRequest";
    }

    std::string ShowMessageRequest::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WindowShowMessageRequestProvider: Providing response for method {}", request.method);

        // TODO: Implement the actual request handling logic
        // 1. Parse request parameters
        // 2. Process the request using appropriate services
        // 3. Return formatted response
        return "{}"; // Placeholder response
    }
}
