agentfootprint-lens 0.23.7 → 0.23.8

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/dist/index.cjs CHANGED
@@ -2930,7 +2930,6 @@ function layoutLensGraph(output, options = {}) {
2930
2930
  // src/react/Lens.tsx
2931
2931
  var import_react12 = __toESM(require("react"), 1);
2932
2932
  var import_agentfootprint5 = require("agentfootprint");
2933
- var import_flowchart5 = require("footprint-explainable-ui/flowchart");
2934
2933
 
2935
2934
  // src/react/lensNodeTypes.ts
2936
2935
  var import_flowchart3 = require("footprint-explainable-ui/flowchart");
@@ -3001,7 +3000,7 @@ var LensFlow = ({
3001
3000
  import_flowchart4.TracedFlow,
3002
3001
  {
3003
3002
  graph: chart.graph,
3004
- layout: chart.layout,
3003
+ ...chart.layout && { layout: chart.layout },
3005
3004
  ...traceRuntimeOverlay && { overlay: traceRuntimeOverlay },
3006
3005
  ...scrubIndex !== void 0 && { scrubIndex },
3007
3006
  ...onNodeClick && { onNodeClick },
@@ -5035,7 +5034,9 @@ var Lens = ({
5035
5034
  graph: structureGraphFromRunner(
5036
5035
  runner
5037
5036
  ),
5038
- layout: import_flowchart5.dagreTraceLayout,
5037
+ // No `layout` → TracedFlow uses its built-in measure-then-layout
5038
+ // pipeline (content-exact sizing + fork-centering + straight spines),
5039
+ // and inherits every future eui layout improvement automatically.
5039
5040
  nodeTypes: LENS_NODE_TYPES
5040
5041
  } : void 0),
5041
5042
  [chart, runner]
@@ -6350,7 +6351,6 @@ var Card = ({
6350
6351
 
6351
6352
  // src/react/Replay.tsx
6352
6353
  var import_react13 = require("react");
6353
- var import_flowchart6 = require("footprint-explainable-ui/flowchart");
6354
6354
  var import_jsx_runtime9 = require("react/jsx-runtime");
6355
6355
  var Replay = ({
6356
6356
  trace,
@@ -6361,7 +6361,8 @@ var Replay = ({
6361
6361
  const chart = (0, import_react13.useMemo)(
6362
6362
  () => trace.structure === void 0 ? void 0 : {
6363
6363
  graph: structureGraphFromSpec(trace.structure),
6364
- layout: import_flowchart6.dagreTraceLayout,
6364
+ // No `layout` → use TracedFlow's built-in measure-then-layout pipeline
6365
+ // (content-exact + fork-centering); inherits eui layout fixes for free.
6365
6366
  nodeTypes: LENS_NODE_TYPES
6366
6367
  },
6367
6368
  [trace.structure]