Use managed runtime catalog for Eve surfaces

This commit is contained in:
Meta Vens 2026-06-28 04:22:59 +01:00
commit 73e8111666
7 changed files with 83 additions and 146 deletions

View file

@ -89,8 +89,9 @@ await using (var node = await AetheriaStateNode.OpenAsync(statePath, "aetheria-s
SampleNames = ["Ada", "Grace"]
});
var runtimeCatalog = await node.RuntimeCatalog().LatestAsync().ConfigureAwait(false);
await node.PutCatalogSurfaceAsync(
AetheriaCatalogSurfaceProjector.Build(node.ReadCatalogSnapshot(), now));
AetheriaCatalogSurfaceProjector.Build(runtimeCatalog, now));
var verseHostSettings = AetheriaVerseHostSettingsNormalizer.Normalize(new AetheriaVerseHostSettings
{