Merge rynth/main (2026.10.8.2) into sk/features-on-rynth-main

Resolves the conflicts that kept PR #2 from merging. Where rynth/main
already ships the same feature, its version wins: the shared read-only
RynthInstallPaths, chat match modes and standard filters, ItemInfoOnSelect
and merge-on-save for engine.json. The installer plugin hand-off moves to a
launcher-only InstallerHandoff helper; LoggingLevel stays launcher-owned.

See Changelog/2026-10-08-merge-rynth-main-into-pr2.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-08 22:11:03 -04:00
commit c825406eed
119 changed files with 12103 additions and 1384 deletions

View file

@ -28,10 +28,10 @@ internal sealed class AgentConfig
[JsonPropertyName("TimeoutSeconds")] public int TimeoutSeconds { get; set; } = 15;
/// <summary>Directory holding the engine's per-client status files.</summary>
[JsonPropertyName("StatusDirectory")] public string StatusDirectory { get; set; } = Path.Combine(RynthInstallPaths.CoreLogsDir, "status");
[JsonPropertyName("StatusDirectory")] public string StatusDirectory { get; set; } = Path.Combine(RynthCore.Install.RynthInstallPaths.CoreLogsDir, "status");
/// <summary>Directory holding per-client RynthCore.&lt;pid&gt;.log files (heartbeat fallback).</summary>
[JsonPropertyName("LogDirectory")] public string LogDirectory { get; set; } = RynthInstallPaths.CoreLogsDir;
[JsonPropertyName("LogDirectory")] public string LogDirectory { get; set; } = RynthCore.Install.RynthInstallPaths.CoreLogsDir;
/// <summary>When true and no status file exists for a running client, derive
/// basic status from that client's heartbeat log line. Lets the agent work
@ -98,20 +98,20 @@ internal sealed class AgentConfig
/// <summary>portal.dat used to decode item icons for GET /icon (read-only inventory viewer). Defaults to
/// the RynthCore client's private copy. If the file is absent (e.g. an agent running off the game box)
/// /icon 404s and the app falls back to text rows — no other feature is affected.</summary>
[JsonPropertyName("IconDatPath")] public string IconDatPath { get; set; } = Path.Combine(RynthInstallPaths.CoreDir, "AcClient", "client_portal.dat");
[JsonPropertyName("IconDatPath")] public string IconDatPath { get; set; } = Path.Combine(RynthCore.Install.RynthInstallPaths.CoreDir, "AcClient", "client_portal.dat");
/// <summary>Directory of RynthAi's baked dungeon floor-plan maps ({landblock:X8}_{layer}.bin), served as
/// PNGs via GET /map for the app's dungeon-map viewer. If the folder is absent (agent off the game box)
/// /maps returns an empty list and /map 404s — no other feature is affected.</summary>
[JsonPropertyName("MapsDirectory")] public string MapsDirectory { get; set; } = Path.Combine(RynthInstallPaths.RynthAiDir, "Maps");
[JsonPropertyName("MapsDirectory")] public string MapsDirectory { get; set; } = Path.Combine(RynthCore.Install.RynthInstallPaths.RynthAiDir, "Maps");
/// <summary>cell.dat the landscape map (GET /worldmap) is drawn from, once, then cached as worldmap-v1.jpg in
/// <see cref="StatusDirectory"/>. Absent = no world map (capabilities.worldMap false); nothing else changes.</summary>
[JsonPropertyName("CellDatPath")] public string CellDatPath { get; set; } = @"C:\Games\RynthCore\AcClient\client_cell_1.dat";
[JsonPropertyName("CellDatPath")] public string CellDatPath { get; set; } = Path.Combine(RynthCore.Install.RynthInstallPaths.CoreDir, "AcClient", "client_cell_1.dat");
/// <summary>RynthNav's Atlas (NavData\locations.json), searched by GET /nav/search for the phone's Travel tab.
/// Absent = no travel (capabilities.travel false). The travel itself also needs EnableRemoteControl.</summary>
[JsonPropertyName("NavAtlasPath")] public string NavAtlasPath { get; set; } = @"C:\Games\RynthCore\NavData\locations.json";
[JsonPropertyName("NavAtlasPath")] public string NavAtlasPath { get; set; } = Path.Combine(RynthCore.Install.RynthInstallPaths.CoreDir, "NavData", "locations.json");
public static string DefaultConfigPath => Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),