fleet-memory/hindsight-control-plane
Nicolò Boschi 36783df320
feat(control-plane): add Constellation view with Pretext canvas rendering (#831)
Add a new "Constellation" memory visualization as the default view in the
control plane, powered by @chenglou/pretext for DOM-free text layout on canvas.

- Canvas-rendered zoomable/pannable memory map with spatial label deconfliction
- Nodes colored by link-count heat gradient (Hindsight brand teal→cyan→blue)
- Star-like rendering with varied size/opacity based on connectivity
- Hover shows rich tooltip with full memory metadata (text, entities, tags, dates)
- Hover highlights connected nodes and their links, dims the rest
- Click to select and view memory details in the side panel
- Fullscreen mode toggle
- Link type legend and heat gradient legend on the HUD

Also optimizes the graph API endpoint:
- Entity query now filters by visible unit IDs (was doing full table scan)
- Links query caps at 10k edges sorted by weight (was returning 500k+ uncapped)
- Replaced expensive DISTINCT ON with LEAST/GREATEST sort with simple ORDER BY
2026-04-01 11:15:14 +02:00
..
bin feat: simplify mcp installation + ui standalone (#41) 2025-12-18 10:24:56 +01:00
public brandind and misc fixes 2025-12-11 12:46:48 +01:00
src feat(control-plane): add Constellation view with Pretext canvas rendering (#831) 2026-04-01 11:15:14 +02:00
types Feature/graph viz (#85) 2026-01-02 16:27:29 +01:00
.dockerignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
.eslintrc.json rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
.gitignore feat: observation history tracking and diff UI (#513) 2026-03-06 16:16:05 +01:00
.prettierrc bump pg0 0.11.x and improve documentation (#33) 2025-12-16 13:33:01 +01:00
components.json rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
eslint.config.mjs fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
next.config.ts feat: observation history tracking and diff UI (#513) 2026-03-06 16:16:05 +01:00
package.json feat(control-plane): add Constellation view with Pretext canvas rendering (#831) 2026-04-01 11:15:14 +02:00
postcss.config.mjs rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
tailwind.config.ts feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
tsconfig.json feat: filter operations by type + fix stale auto-refresh closure (#522) (#527) 2026-03-09 13:17:00 +01:00