supermemory/apps/mcp/src/widget
sohamd22 cfa6c7cb17 fix(memory-graph): distinguish document links from derives relations (#1701)
Document-to-memory links and actual `derives` relations were both emitted as `derives`, so they shared the same color and legend entry.

This separates structural document links into a `document` edge type, adds a dedicated theme color with `--graph-edge-document` support, and updates force-layout and level-of-detail handling to preserve existing structural behavior. The package and MCP widget legends/themes now distinguish document links from derived-memory relations.

Adds regression coverage for edge classification and validates the package plus its MCP consumer.

<!-- capy-badge:start -->
<a href="https://capy.ai/thread/jam_01M36F4MPFXZCA8J14T53YY029"><picture><source media="(prefers-color-scheme: dark)" srcset="https://capy.ai/badge/accent-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://capy.ai/badge/accent-light.svg"><img alt="Open in Capy" src="https://capy.ai/badge/accent-light.svg"></picture></a>
<!-- capy-badge:end -->
2026-09-25 22:00:12 +00:00
..
components MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00
design fix(memory-graph): distinguish document links from derives relations (#1701) 2026-09-25 22:00:12 +00:00
hooks fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
lib fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
studio fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
views fix(memory-graph): distinguish document links from derives relations (#1701) 2026-09-25 22:00:12 +00:00
App.tsx fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
ErrorBoundary.tsx fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
index.html MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00
main.tsx fix MCP app result contracts (#1385) 2026-07-31 18:23:29 +00:00
McpAppProvider.tsx fix mcp graph and file uploads (#1397) 2026-08-04 18:58:14 +00:00
studio.html MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00