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

namespace lsp::provider::workspace
{
    std::string ExecuteCommand::GetMethod() const
    {
        return "workspace/executeCommand";
    }

    std::string ExecuteCommand::GetProviderName() const
    {
        return "WorkspaceExecuteCommand";
    }

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