@ai-matrx/records 0.71.4 → 0.72.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog — @ai-matrx/records
2
2
 
3
+ ## 0.72.0
4
+
5
+ `footprintOf` counts every agent an install copies — the template's own plus `extraAgents` — and the
6
+ workflows it creates (`TemplateFootprint.workflows`, new). The card line now says "4 agents · 1 workflow"
7
+ where it said "1 agent" for a template that made four.
8
+ Consumer action: a gallery that lists footprint parts may show `workflows` (matrx-frontend
9
+ `features/make/gallery/catalogue.ts` does). Declared cards on live were recomputed 2026-10-05.
10
+
3
11
  ## 0.71.4
4
12
 
5
13
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -444,8 +444,10 @@ function footprintOf(spec) {
444
444
  ...dimensions ? [counted(dimensions, ["dimension set", "dimension sets"])] : [],
445
445
  ...TEMPLATE_EXTRA_KINDS.filter((k) => extras[k]).map((k) => counted(extras[k] ?? 0, EXTRA_WORDS[k]))
446
446
  ];
447
- const agents = spec.agent ? 1 : 0;
448
- if (agents) parts.push("1 agent");
447
+ const agents = (spec.agent ? 1 : 0) + (spec.extraAgents?.length ?? 0);
448
+ if (agents) parts.push(counted(agents, ["agent", "agents"]));
449
+ const workflows = spec.workflows?.length ?? 0;
450
+ if (workflows) parts.push(counted(workflows, ["workflow", "workflows"]));
449
451
  return {
450
452
  tables,
451
453
  sharedBlocks: spec.sharedBlocks?.length ?? 0,
@@ -454,6 +456,7 @@ function footprintOf(spec) {
454
456
  dimensions,
455
457
  extras,
456
458
  agents,
459
+ workflows,
457
460
  opensOutsideSignIn: (extras.portal ?? 0) > 0,
458
461
  line: parts.join(" \xB7 ")
459
462
  };