agentloom 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,13 @@ export function readLockfile(paths) {
29
29
  selectedSourceMcpServers: Array.isArray(entry.selectedSourceMcpServers)
30
30
  ? entry.selectedSourceMcpServers
31
31
  : undefined,
32
+ importedRules: Array.isArray(entry.importedRules)
33
+ ? entry.importedRules
34
+ : [],
35
+ selectedSourceRules: Array.isArray(entry.selectedSourceRules)
36
+ ? entry.selectedSourceRules
37
+ : undefined,
38
+ ruleRenameMap: normalizeRenameMap(entry.ruleRenameMap),
32
39
  importedSkills: Array.isArray(entry.importedSkills)
33
40
  ? entry.importedSkills
34
41
  : [],
@@ -79,6 +86,7 @@ export function upsertLockEntry(lockfile, entry) {
79
86
  sameRequestedAgents(item.requestedAgents, entry.requestedAgents) &&
80
87
  sameSelection(item.selectedSourceCommands, entry.selectedSourceCommands) &&
81
88
  sameSelection(item.selectedSourceMcpServers, entry.selectedSourceMcpServers) &&
89
+ sameSelection(item.selectedSourceRules, entry.selectedSourceRules) &&
82
90
  sameSelection(item.selectedSourceSkills, entry.selectedSourceSkills) &&
83
91
  sameSelection(item.skillsProviders, entry.skillsProviders));
84
92
  if (index >= 0) {
@@ -4,7 +4,7 @@ const EMPTY_MANIFEST = {
4
4
  version: 1,
5
5
  generatedFiles: [],
6
6
  };
7
- const ENTITY_TYPES = ["agent", "command", "mcp", "skill"];
7
+ const ENTITY_TYPES = ["agent", "command", "mcp", "rule", "skill"];
8
8
  export function readManifest(paths) {
9
9
  const manifest = readJsonIfExists(paths.manifestPath);
10
10
  if (!manifest ||