namespace io.github.hatayama.uLoopMCP { /// /// Value object that stores editor configuration information. /// /// Related classes: /// - McpEditorType: Defines supported editor types /// - EditorConfigProvider: Visitor pattern implementation that creates instances of this class /// - UnityMcpPathResolver: Path resolution logic (functionality to be migrated to this class) /// - McpConstants: Client name constants (functionality to be migrated to this class) /// public readonly struct EditorConfig { /// /// Client name of the editor (e.g., "Cursor", "Claude Code") /// public string ClientName { get; } /// /// Absolute path to the configuration file /// public string ConfigPath { get; } /// /// Absolute path to the configuration directory (null for project root) /// public string ConfigDirectory { get; } /// /// Initializes a new instance of the EditorConfig struct. /// /// Client name of the editor /// Absolute path to the configuration file /// Absolute path to the configuration directory public EditorConfig(string clientName, string configPath, string configDirectory) { ClientName = clientName; ConfigPath = configPath; ConfigDirectory = configDirectory; } } }