Give packs an identity so create can refuse missing deps and load in a stable order.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 00:20:36 +03:00
co-authored by Cursor
parent e5a0ae5b9d
commit 263c94c55d
28 changed files with 851 additions and 56 deletions
@@ -21,6 +21,9 @@ internal static class PackDocuments
public static ContentDocument Map(string packId, string jsonc) =>
new(packId, "maps/default.jsonc", jsonc);
public static ContentDocument Manifest(string packId, string jsonc) =>
new(packId, "pack.jsonc", jsonc);
public static IReadOnlyList<ContentDocument> FromDirectory(string packId, string packRoot)
{
var documents = new List<ContentDocument>();