feat(app): sample server for sync captures, server-sync and server-conflict screenshots, sync tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 23:00:15 +00:00
1 parent 25653c052b
commit b31c6aa332
7 files changed
+430 -19

No files matched your search

+7
View File
@@ -70,6 +70,13 @@ public sealed class SyncHost(AppServices services) : ISyncConnector, IAsyncDispo
_switch = SwitchAsync(_switch, wanted);
}
/// <summary>Compares now, once the session switch in progress settled; null while signed out.</summary>
public async Task<SyncSnapshot?> RefreshAsync(CancellationToken ct = default)
{
await _switch;
return Agent is { } agent ? await agent.RefreshAsync(ct) : null;
}
/// <summary>Compares again soon (an option changed, an edit on this PC).</summary>
public void RequestRefresh() => Agent?.RequestRefresh();