64 std::vector<ExternalServerConfig>
discover(
65 const std::set<std::string>& existing_names)
const;
68 std::filesystem::path project_dir_;
81 const std::filesystem::path& path,
82 const std::filesystem::path& own_socket,
83 const std::set<std::string>& existing_names,
84 std::set<std::string>& seen,
85 std::vector<ExternalServerConfig>& out)
const;
98 void parse_server_entry(
99 const std::string& name,
100 const nlohmann::json& cfg,
101 const std::filesystem::path& own_socket,
102 const std::set<std::string>& existing_names,
103 std::set<std::string>& seen,
104 std::vector<ExternalServerConfig>& out)
const;
115 bool infer_transport(
116 const nlohmann::json& cfg,
117 const std::string& type,
128 bool parse_sse_entry(
129 const nlohmann::json& cfg,
140 bool parse_stdio_entry(
141 const nlohmann::json& cfg,