// MovedTabs.cs - Mini Remote tabs that moved out of the Mini Remote (2026-10-13), and where to. // // RynthILT's Character tab left the Mini Remote: its character overview and session went to // RynthOracle's Character tab ("/ro character"), its ILT session rates to RynthCore's Mini Remote // "Session Stats" section (RynthILT's own "section:ilt-rates"), and the force-server override to // RynthCore Settings > Game Client ("/rc diagnostics", the server picker). Infinite Leaftide's own screens stay // RynthILT's: Charms and Banking are still Mini Remote ILT tabs (RynthILT's own manifest places // them on the rail since 2026-10-20), drawn by RynthILT. // Old saved tab ids, links and "/ra hub open|tab " land on the new home through CommandFor. // // Pure: the host tests check the mapping offline. using System; namespace RynthCore.Plugin.RynthAi.Huds; internal static class MovedTabs { /// RynthOracle's Character tab (the character overview and this session). public const string OracleCharacter = "/ro character"; /// The server picker: RynthCore Settings > Game Client (on Diagnostics until 2026-11-11, hence the name; RynthCore 2026.10.5.54+). public const string Diagnostics = "/rc diagnostics"; /// /// RynthAi Settings (Advanced Settings): RynthCore's "Settings" panel (SettingsFace.Title), opened /// by name through "/rc ui open <Panel>" (RynthCoreChatCommands, the generic panel verb). /// public const string Settings = "/rc ui open Settings"; /// /// The chat command that opens where tab lives now, or null when it is /// still a Mini Remote tab (or not a tab at all). Case and padding don't matter. /// public static string? CommandFor(string? tab) => (tab ?? string.Empty).Trim().ToLowerInvariant() switch { "character" or "char" or "rates" => OracleCharacter, _ => null, }; /// Where opens, in words, for chat replies and tooltips. public static string HomeOf(string command) => command switch { OracleCharacter => "RynthOracle's Character tab", Diagnostics => "RynthCore Settings > Game Client", Settings => "RynthAi Settings (Advanced Settings)", _ => command, }; }