@principal-ai/subsystems-react 0.56.37 → 0.56.38

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.
@@ -239,6 +239,19 @@ export interface SubsystemComponentGraphProps {
239
239
  trailId: string;
240
240
  stepIndex: number;
241
241
  } | null) => void;
242
+ /**
243
+ * Reports the trail under the pointer in the Trails panel — its header row or
244
+ * one of its steps — and `null` when the pointer leaves. Unlike
245
+ * `onTrailStepHover`, a whole-flow hover is reported too.
246
+ */
247
+ onTrailHover?: (trailId: string | null) => void;
248
+ /**
249
+ * Host-driven emphasis, the way hovering a trail does it: these trails' edges
250
+ * and components stay bright and everything else dims, and the Trails panel
251
+ * dims the other rows. It never moves the camera or changes selection, and
252
+ * the graph's own trail hover wins while it lasts. Empty or absent = none.
253
+ */
254
+ highlightedTrailIds?: ReadonlySet<string>;
242
255
  /**
243
256
  * Called with the next trail order after a drag in the sidebar's
244
257
  * flows panel. When set, each row grows a drag grip and a drop emits the
@@ -1 +1 @@
1
- {"version":3,"file":"SubsystemComponentGraph.d.ts","sourceRoot":"","sources":["../../src/subsystem/SubsystemComponentGraph.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAC;AAoBtE,OAAO,EAkBL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAI9B,KAAK,sBAAsB,EAE3B,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACxB,MAAM,SAAS,CAAC;AAIjB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,gBAA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AI,CAAC;IAC1D;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,oBAAoB,CAAC;KAC3B,KAAK,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,gBAAgB,GAAG,IAAI,CAAC;IACjE;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACjE;;;;;;;;OAQG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AA+oHD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,+BAqN1E"}
@@ -180,7 +180,7 @@ const TrailDrawerContent = memo(function TrailDrawerContent({ render, trail, ste
180
180
  onVisibleStepChange,
181
181
  }) }));
182
182
  });
183
- function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirection: layoutDirectionProp, defaultLayoutDirection = 'horizontal', onLayoutDirectionChange, hideLayoutToggle = false, refocusOnLayoutFlip = true, initialTrailId, onTrailSelect, focusedTrailStep, proposedTrailIds, proposedStepKeys, stepChange, stepNumberLabels: hostStepNumberLabels, stepHistory, proposedStep, focusedVariationStepIndexes, proposedComponentAliases, workingComponentAliases, removedComponentAliases, onTrailStepHover, onReorderTrails, stepEmphasis, onRemoveStepEmphasis, onSelect, onEdgeSelect, measured: _measured, maxNodeWidth, showEdgeLabels, showSingletonFrames = true, moduleNesting, edgeView, hideSidebar, trailStepMode = 'focus', autoPlayTrails = false, trailAutoPlayIntervalMs = TRAIL_PLAY_PAUSE_MS, onAutoPlayStep, zoomOnTrailFocus = true, trailFocusDurationMs = 300, focusVerticalBiasPx = 0, graphTitle, showTrailTitle = false, description, notes, canvasOverlay, interactive = true, canvasBackground = 'theme', onLayoutReady, onNodeRects, sidebarExtra, sidebarAfterDescription, issues, showIssues, filesActive, sidebarScope, onSidebarTrailChange, focusIssueCategory, laneStatus, onSelectIssue, onApplyIssueFix, onHoverIssue, renderFileViewer, renderTrailViewer, onFileSelect, componentVerification, onInspectSymbol, boundaryColors, codeProcessKeys, regionDetails, defaultFramesCollapsed, containersActive, hideDrawer = false, persistKey, liveEvents, agentsPanel }) {
183
+ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirection: layoutDirectionProp, defaultLayoutDirection = 'horizontal', onLayoutDirectionChange, hideLayoutToggle = false, refocusOnLayoutFlip = true, initialTrailId, onTrailSelect, focusedTrailStep, proposedTrailIds, proposedStepKeys, stepChange, stepNumberLabels: hostStepNumberLabels, stepHistory, proposedStep, focusedVariationStepIndexes, proposedComponentAliases, workingComponentAliases, removedComponentAliases, onTrailStepHover, onTrailHover, highlightedTrailIds, onReorderTrails, stepEmphasis, onRemoveStepEmphasis, onSelect, onEdgeSelect, measured: _measured, maxNodeWidth, showEdgeLabels, showSingletonFrames = true, moduleNesting, edgeView, hideSidebar, trailStepMode = 'focus', autoPlayTrails = false, trailAutoPlayIntervalMs = TRAIL_PLAY_PAUSE_MS, onAutoPlayStep, zoomOnTrailFocus = true, trailFocusDurationMs = 300, focusVerticalBiasPx = 0, graphTitle, showTrailTitle = false, description, notes, canvasOverlay, interactive = true, canvasBackground = 'theme', onLayoutReady, onNodeRects, sidebarExtra, sidebarAfterDescription, issues, showIssues, filesActive, sidebarScope, onSidebarTrailChange, focusIssueCategory, laneStatus, onSelectIssue, onApplyIssueFix, onHoverIssue, renderFileViewer, renderTrailViewer, onFileSelect, componentVerification, onInspectSymbol, boundaryColors, codeProcessKeys, regionDetails, defaultFramesCollapsed, containersActive, hideDrawer = false, persistKey, liveEvents, agentsPanel }) {
184
184
  const { theme } = useTheme();
185
185
  const { fitView, fitBounds, setViewport } = useReactFlow();
186
186
  const flowWidth = useStore((state) => state.width);
@@ -1492,6 +1492,41 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1492
1492
  }
1493
1493
  return ids.size > 0 ? ids : null;
1494
1494
  }, [trails, hoveredTrailStep]);
1495
+ // Host-driven emphasis (`highlightedTrailIds`): the same bright set a trail hover
1496
+ // builds, but for several trails and without the camera following it.
1497
+ const externalHighlightEdgeIds = useMemo(() => {
1498
+ if (!highlightedTrailIds || highlightedTrailIds.size === 0 || !trails)
1499
+ return null;
1500
+ const ids = new Set();
1501
+ for (const tl of trails) {
1502
+ if (!highlightedTrailIds.has(tl.id))
1503
+ continue;
1504
+ for (const s of tl.steps)
1505
+ ids.add(trailStepGraphEdgeId(s));
1506
+ for (const g of linkedEdgeIdsByTrail.get(tl.id) ?? [])
1507
+ ids.add(g);
1508
+ }
1509
+ return ids.size > 0 ? ids : null;
1510
+ }, [trails, highlightedTrailIds, linkedEdgeIdsByTrail]);
1511
+ const externalHighlightNodeIds = useMemo(() => endpointsOf(externalHighlightEdgeIds),
1512
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1513
+ [baseEdges, externalHighlightEdgeIds]);
1514
+ const externalHighlightAliases = useMemo(() => {
1515
+ if (!highlightedTrailIds || highlightedTrailIds.size === 0 || !trails)
1516
+ return null;
1517
+ const ids = new Set();
1518
+ for (const tl of trails) {
1519
+ if (!highlightedTrailIds.has(tl.id))
1520
+ continue;
1521
+ for (const s of tl.steps) {
1522
+ ids.add(s.from);
1523
+ ids.add(s.to);
1524
+ }
1525
+ }
1526
+ return ids.size > 0 ? ids : null;
1527
+ }, [trails, highlightedTrailIds]);
1528
+ /** A real trail hover wins over the host's emphasis while it lasts. */
1529
+ const spotlightAliases = hoverTrailAliases ?? externalHighlightAliases;
1495
1530
  const aliasToComponent = useMemo(() => new Map(components.map((c) => [c.alias, c])), [components]);
1496
1531
  // Endpoints of the bright set: the selected step's edge, or the whole flow
1497
1532
  // when no step is focused.
@@ -1535,13 +1570,13 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1535
1570
  // spotlight member as well as a bright set: without an expanded flow
1536
1571
  // there is no opened set, so dimming has to be driven from the
1537
1572
  // participants or nothing outside the focused step would dim.
1538
- const dimSource = previewNodeIds ?? brightNodeIds ?? issueFocusNodeIds;
1573
+ const dimSource = previewNodeIds ?? externalHighlightNodeIds ?? brightNodeIds ?? issueFocusNodeIds;
1539
1574
  // Hover keeps a container bright when any of its contents is in the
1540
1575
  // hovered trail — read off component membership so nesting is
1541
1576
  // transitive and internally-folded trails still count.
1542
- const touchesHover = regionTouchesTrailAliases(region, hoverTrailAliases, aliasToComponent);
1577
+ const touchesHover = regionTouchesTrailAliases(region, spotlightAliases, aliasToComponent);
1543
1578
  const inSpotlight = memberAliases.some((alias) => dimSource?.has(alias) === true) || touchesHover;
1544
- const anySpotlight = dimSource != null || hoverTrailAliases != null;
1579
+ const anySpotlight = dimSource != null || spotlightAliases != null;
1545
1580
  const { hidden, dimmed } = flowNodeVisibility({
1546
1581
  inOpened: memberAliases.some((alias) => openedNodeIds?.has(alias) === true),
1547
1582
  inSelected: memberAliases.some((alias) => brightNodeIds?.has(alias) === true),
@@ -1582,14 +1617,14 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1582
1617
  const isSelected = selected?.alias !== undefined && comp?.alias === selected.alias;
1583
1618
  // `brightNodeIds` (the focused step's endpoints) is a spotlight member as
1584
1619
  // well as a bright set — see the group branch above.
1585
- const dimSource = previewNodeIds ?? brightNodeIds ?? issueFocusNodeIds;
1620
+ const dimSource = previewNodeIds ?? externalHighlightNodeIds ?? brightNodeIds ?? issueFocusNodeIds;
1586
1621
  const flowVisibility = flowNodeVisibility({
1587
1622
  inOpened: openedNodeIds?.has(n.id) === true,
1588
1623
  inSelected: brightNodeIds?.has(n.id) === true,
1589
- inSpotlight: dimSource?.has(n.id) === true || (hoverTrailAliases?.has(n.id) === true),
1624
+ inSpotlight: dimSource?.has(n.id) === true || (spotlightAliases?.has(n.id) === true),
1590
1625
  anyOpened: openedNodeIds != null,
1591
1626
  anySelected: brightNodeIds != null,
1592
- anySpotlight: dimSource != null || hoverTrailAliases != null,
1627
+ anySpotlight: dimSource != null || spotlightAliases != null,
1593
1628
  });
1594
1629
  // A removed ghost is never hidden by flow focus — the whole point is to
1595
1630
  // keep it visible as a dim record of what the agent took out.
@@ -1624,7 +1659,7 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1624
1659
  },
1625
1660
  };
1626
1661
  });
1627
- }, [xyflowNodesBase, openFile, selected, focusNodeIds, openedNodeIds, brightNodeIds, previewNodeIds, hoverTrailAliases, aliasToComponent, issueFocusNodeIds, issueBadgeByAlias, regionIssueByNodeId, boundaryColors, proposedComponentAliases, workingComponentAliases, removedComponentAliases, toggleCollapsed]);
1662
+ }, [xyflowNodesBase, openFile, selected, focusNodeIds, openedNodeIds, brightNodeIds, previewNodeIds, externalHighlightNodeIds, spotlightAliases, aliasToComponent, issueFocusNodeIds, issueBadgeByAlias, regionIssueByNodeId, boundaryColors, proposedComponentAliases, workingComponentAliases, removedComponentAliases, toggleCollapsed]);
1628
1663
  const baseNodesKey = useMemo(() => nodes.map((n) => n.id).sort().join(','), [nodes]);
1629
1664
  const baseEdgesKey = useMemo(() => convertedEdges.map((e) => e.id).sort().join(','), [convertedEdges]);
1630
1665
  const dispEdges = useMemo(() => {
@@ -1658,7 +1693,7 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1658
1693
  return isTrailMechanism(mechanism);
1659
1694
  };
1660
1695
  const inSet = (set, e) => set != null && edgeMatches(set, e);
1661
- if (openedEdgeIds || focusEdgeIds || previewEdgeIds || issueFocusEdgeIds) {
1696
+ if (openedEdgeIds || focusEdgeIds || previewEdgeIds || externalHighlightEdgeIds || issueFocusEdgeIds) {
1662
1697
  return baseEdges.map((e) => {
1663
1698
  const ghost = ghostEdgeIds.has(e.id);
1664
1699
  const proposed = !ghost && proposedEdgeIds.has(e.id);
@@ -1668,7 +1703,7 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1668
1703
  anyOpened: openedEdgeIds != null,
1669
1704
  anySelected: focusEdgeIds != null,
1670
1705
  });
1671
- const dimSource = previewEdgeIds ?? issueFocusEdgeIds;
1706
+ const dimSource = previewEdgeIds ?? externalHighlightEdgeIds ?? issueFocusEdgeIds;
1672
1707
  const dimmed = dimSource
1673
1708
  ? vis.hidden || !inSet(dimSource, e)
1674
1709
  : vis.dimmed || ghost;
@@ -1701,7 +1736,7 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
1701
1736
  hidden: !edgeInView(e),
1702
1737
  };
1703
1738
  });
1704
- }, [baseEdges, selectedEdgeId, openedEdgeIds, focusEdgeIds, previewEdgeIds, issueFocusEdgeIds, resolvedEdgeView, ghostEdgeIds, proposedEdgeIds]);
1739
+ }, [baseEdges, selectedEdgeId, openedEdgeIds, focusEdgeIds, previewEdgeIds, externalHighlightEdgeIds, issueFocusEdgeIds, resolvedEdgeView, ghostEdgeIds, proposedEdgeIds]);
1705
1740
  // Gated on layoutReady so the pre-reveal Pass 1 swap never flashes a count.
1706
1741
  const unroutedIds = useMemo(() => (layoutReady ? unroutedEdgeIds(dispEdges) : []), [dispEdges, layoutReady]);
1707
1742
  const onNodesChange = useCallback((changes) => {
@@ -2136,7 +2171,8 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
2136
2171
  setSelectedEdgeId(null);
2137
2172
  setHoveredTrailStep(null);
2138
2173
  onTrailStepHover?.(null);
2139
- }, [filesActive, clearTrailFocus, onTrailStepHover, sidebarTrail]);
2174
+ onTrailHover?.(null);
2175
+ }, [filesActive, clearTrailFocus, onTrailStepHover, onTrailHover, sidebarTrail]);
2140
2176
  // Host deep-link: opening the graph from a trail row selects that
2141
2177
  // flow — expand its steps and focus its edges.
2142
2178
  // Guarded by a ref so a later in-tab selection isn't yanked
@@ -2758,17 +2794,20 @@ function Inner({ components, trails, graphifyRelations, orderByLine, layoutDirec
2758
2794
  }
2759
2795
  return map;
2760
2796
  }, [focusedVariationStepIndexes, proposedStep]);
2761
- const trailNavigation = trails && trails.length > 0 ? (_jsx(TrailsPanel, { drilldown: trailStepMode !== 'dim', trails: trails, expandedTrails: expandedTrails, focusedTrailId: sidebarTrail?.id ?? focusedTrailId, focusedStepIndex: !sidebarTrail || focusedTrailId === sidebarTrail.id ? focusedStepIndex : null, proposedTrailIds: proposedTrailIds, proposedStepKeys: proposedStepKeys, focusedVariationStepIndexes: panelFocusedVariationStepIndexes, stepNumberLabels: panelStepNumberLabels, stepChange: stepChange, detailContent: sidebarPanel, hoveredTrailStep: hoveredTrailStep, onToggleCollapsed: toggleTrailCollapsed, onFocusFlow: focusTrailEdges, onClearFocus: clearTrailFocus, onFocusStep: focusTrailStep, onHoverStep: (tl, i) => {
2797
+ const trailNavigation = trails && trails.length > 0 ? (_jsx(TrailsPanel, { drilldown: trailStepMode !== 'dim', trails: trails, expandedTrails: expandedTrails, focusedTrailId: sidebarTrail?.id ?? focusedTrailId, focusedStepIndex: !sidebarTrail || focusedTrailId === sidebarTrail.id ? focusedStepIndex : null, proposedTrailIds: proposedTrailIds, highlightedTrailIds: highlightedTrailIds, proposedStepKeys: proposedStepKeys, focusedVariationStepIndexes: panelFocusedVariationStepIndexes, stepNumberLabels: panelStepNumberLabels, stepChange: stepChange, detailContent: sidebarPanel, hoveredTrailStep: hoveredTrailStep, onToggleCollapsed: toggleTrailCollapsed, onFocusFlow: focusTrailEdges, onClearFocus: clearTrailFocus, onFocusStep: focusTrailStep, onHoverStep: (tl, i) => {
2762
2798
  cancelPendingHoverLeave();
2763
2799
  setHoveredTrailStep({ trailId: tl.id, stepIndex: i });
2764
2800
  onTrailStepHover?.({ trailId: tl.id, stepIndex: i });
2801
+ onTrailHover?.(tl.id);
2765
2802
  }, onHoverFlow: (tl) => {
2766
2803
  cancelPendingHoverLeave();
2767
2804
  setHoveredTrailStep({ trailId: tl.id, stepIndex: null });
2768
2805
  onTrailStepHover?.(null);
2806
+ onTrailHover?.(tl.id);
2769
2807
  }, onLeaveStep: () => {
2770
2808
  scheduleHoverLeave(hoveredTrailStep);
2771
2809
  onTrailStepHover?.(null);
2810
+ onTrailHover?.(null);
2772
2811
  }, onReorder: onReorderTrails, componentByAlias: componentByAlias, stepEmphasis: stepEmphasis, onRemoveStepEmphasis: onRemoveStepEmphasis })) : null;
2773
2812
  const sidebarBody = sidebarTrail && trailStepMode !== 'dim'
2774
2813
  ? trailNavigation