docs: improve Architecture ASCII art diagram

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-21 15:11:17 +01:00
co-authored by Claude Opus 4.5
parent 6efa27d202
commit 5f90a612b1
+30 -24
View File
@@ -205,30 +205,36 @@ claudeman web
## Architecture ## Architecture
``` ```
┌─────────────────────────────────────────────────────────────────┐ CLAUDEMAN
│ CLAUDEMAN │ ┌────────────────────────────────────────────────────────┐
├─────────────────────────────────────────────────────────────────┤ │ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │ │ ┌─────────────┐ ┌─────────────┐ ┌────────────┐ │
│ │ Web UI │ │ REST API │ │ SSE Events │ │ │ │ Web UI │ │ REST API │ │ SSE │ │
│ │ (xterm.js) │◄─┤ (Fastify) │──┤ (/api/events) │ │ │ │ xterm.js │◄──│ Fastify │──►│ Events │ │
│ └──────────────┘ └──────┬───────┘ └──────────────────────┘ │ │ └─────────────┘ └──────┬──────┘ └────────────┘ │
│ │ │ │ │ │
│ ┌────────────────────────┴─────────────────────────────────┐ │ │ ▼ │
│ │ Session Manager │ │ │ ┌────────────────────────────────────────────────┐ │
│ │ ┌─────────┐ ┌─────────┐ ┌─────────────────────────────┐ │ │ │ │ Session Manager │ │
│ │ │ Session │ │ Session │ │ RespawnController │ │ │ │ │ │ │
│ │ │ (PTY) │ │ (PTY) │ │ (per-session autonomous) │ │ │ │ │ ┌──────────┐ ┌──────────┐ ┌─────────────┐ │ │
│ │ └────┬────┘ └────┬────┘ └─────────────────────────────┘ │ │ │ │ │ Session │ │ Session │ │ Respawn │ │ │
│ └───────┼───────────┼──────────────────────────────────────┘ │ │ │ │ (PTY) │ │ (PTY) │ │ Controller │ │ │
│ │ │ │ │ │ └────┬─────┘ └────┬─────┘ └─────────────┘ │ │
│ ┌───────┴───────────┴──────────────────────────────────────┐ │ │ └───────┼─────────────┼────────────────────────┬┘ │
│ │ GNU Screen Manager (Persistence) │ │ │ │ │ │ │
│ └──────────────────────────┬───────────────────────────────┘ │ │ ▼ ▼ ▼ │
│ │ │ │ ┌────────────────────────────────────────────────┐ │
│ ┌───────────────────────────┴──────────────────────────────┐ │ │ │ GNU Screen Manager │ │
│ │ Claude CLI │ │ │ │ (Persistence) │ │
│ └───────────────────────────────────────────────────────────┘ │ │ └────────────────────┬───────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘ │ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────┐ │
│ │ Claude CLI │ │
│ └────────────────────────────────────────────────┘ │
│ │
└────────────────────────────────────────────────────────┘
``` ```
--- ---