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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user