groove-dev 0.26.26 → 0.26.27
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/node_modules/@groove-dev/gui/dist/assets/{index-aIPRNYy7.js → index-AsZg-lZa.js} +1 -1
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/src/views/agents.jsx +2 -2
- package/package.json +1 -1
- package/packages/gui/dist/assets/{index-aIPRNYy7.js → index-AsZg-lZa.js} +1 -1
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/src/views/agents.jsx +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
7
7
|
<title>Groove GUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-AsZg-lZa.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/vendor-C0HXlhrU.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/reactflow-BQPfi37R.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/codemirror-BBL3i_JW.js">
|
|
@@ -261,13 +261,13 @@ function AgentTreeInner() {
|
|
|
261
261
|
return nodes;
|
|
262
262
|
}, [agents, tokenTimeline]);
|
|
263
263
|
|
|
264
|
-
// Build edges
|
|
264
|
+
// Build edges — compute closest handle based on saved node positions
|
|
265
265
|
const targetEdges = useMemo(() => {
|
|
266
266
|
const saved = loadPositions();
|
|
267
267
|
const rootPos = saved[ROOT_ID] || { x: 0, y: 0 };
|
|
268
268
|
|
|
269
269
|
return agents.map((agent, i) => {
|
|
270
|
-
const key = agent.id;
|
|
270
|
+
const key = agent.name || agent.id;
|
|
271
271
|
const row = Math.floor(i / MAX_PER_ROW);
|
|
272
272
|
const col = i % MAX_PER_ROW;
|
|
273
273
|
const totalInRow = Math.min(agents.length - row * MAX_PER_ROW, MAX_PER_ROW);
|