Commit Graph

2 Commits

Author SHA1 Message Date
xiaowei 2e8ca614fd feat: add static file bypass auth + graph.html API_BASE fix
- Add /static/* route bypass in auth middleware
- Localize d3.min.js (was CDN blocked)
- Fix graph.html API_BASE to server IP for remote access
- Add error logging in graph load function
- Deploy binary at /usr/local/bin/zhiyid (13.5MB, correct cmd/zhiyid path)
2026-05-29 21:59:41 +08:00
xiaowei fab49fdd9b feat: knowledge graph visualization
- Add GetGraph method to GraphStore interface
- Implement SQLiteGraphStore.GetGraph for full graph export
- Add GET /api/v1/graph/export endpoint with namespace filter
- Add static file serving (/static/ path)
- Create D3.js force-directed graph visualization:
  - Namespace switcher (all/hermes-main/openclaw-main/shared)
  - Node colors by type, size by weight
  - Edge labels on hover, node detail popup on click
  - Dark theme, zoom/pan, force simulation
2026-05-29 15:42:07 +08:00