@ai-matrx/agents 0.13.8 → 0.13.10

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.10
4
+
5
+ `catalog/react`: the selected-agent trigger now names a resolved mandate default
6
+ when its active id is that default row's `mandate:<key>` reference. It still
7
+ states that an unrelated synthetic mandate id cannot be named, rather than
8
+ borrowing another default row's holder.
9
+
10
+ ### Consumer action
11
+
12
+ None required. Every `AgentListDropdown` consumer receives the repaired label
13
+ after adopting `latest`.
14
+
15
+ ## 0.13.9
16
+
17
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
18
+ `git diff npm/matrx-agents/v0.13.8..npm/matrx-agents/v0.13.9 -- apps/shared/matrx-agents`).
19
+ No source changes intended and no consumer action required.
20
+
3
21
  ## 0.13.8
4
22
 
5
23
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -2240,7 +2240,8 @@ function AgentListDropdown({
2240
2240
  ...excludeAgentIds ? { excludeAgentIds } : {},
2241
2241
  ...defaultMandateKey ? { defaultMandateKey } : {}
2242
2242
  });
2243
- const displayLabel = label ?? pinnedAgent?.name ?? (activeAgentId ? isLoading ? labels.triggerResolving : labels.triggerUnnameable : labels.triggerFallback);
2243
+ const activeDefaultRow = defaultRow?.row?.id === activeAgentId ? defaultRow.row : null;
2244
+ const displayLabel = label ?? pinnedAgent?.name ?? activeDefaultRow?.name ?? (activeAgentId ? isLoading ? labels.triggerResolving : labels.triggerUnnameable : labels.triggerFallback);
2244
2245
  const showAssignedTooltip = Boolean(activeAgentId) && displayLabel.trim().length > 0 && displayLabel !== "Select an agent" && displayLabel !== labels.triggerFallback;
2245
2246
  const handleOpen = (nextOpen) => {
2246
2247
  setOpen(nextOpen);