Expand description
Nereid — live diagram session workspace for terminals and agents.
Layers a typed session model (sequence/flowchart/class/ER/gantt diagrams, walkthroughs,
cross-references, and Frigg symbol anchors) over Mermaid-ish import/export, layout/render, and
session folder persistence. Humans use the ratatui TUI; agents use the MCP tool surface. When
co-hosted they share revision-gated mutations (base_rev), selection, attention, and
follow-AI via ui::UiState.
Modules§
- format
- Mermaid-ish parse and export for supported diagram kinds.
- layout
- Deterministic diagram layout and edge routing.
- mcp
- MCP server for agent collaboration over a Nereid session.
- model
- Session domain model and diagram ASTs.
- ops
- Revision-gated diagram mutations and change deltas (optimistic concurrency).
- query
- Read-only derived views over diagrams and session xrefs.
- render
- Unicode/ASCII projection of layout results for TUI and MCP text views.
- store
- Session-folder persistence and identity reconciliation.
- tui
- Interactive ratatui session shell over a live diagram session.
- ui
- Shared UI attention/follow-AI state between TUI and MCP.