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

namespace lsp::provider::workspace
{
    std::string CodeLensRefresh::GetMethod() const
    {
        return "workspace/codeLens/refresh";
    }

    std::string CodeLensRefresh::GetProviderName() const
    {
        return "WorkspaceCodeLensRefresh";
    }

    std::string CodeLensRefresh::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("WorkspaceCodeLensRefreshProvider: 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
    }
}
