ompweb System & Runtime Architecture (v5.1)

ompweb System & Runtime Architecture (v5.1) An architecture diagram generated by Archify. Web Browser UI · React 19 / Base UI · Presentation Layer (Web Browser & Electron Desktop) · React Web Browser UI React 19 / Base UI Desktop Client · Electron 44 / Native Shell · Presentation Layer (Web Browser & Electron Desktop) Desktop Client Electron 44 / Native Shell Web PTY Terminal · xterm.js / TrueColor · Presentation Layer (Web Browser & Electron Desktop) Web PTY Terminal xterm.js / TrueColor Composer & Plan UI · Todo Kanban / Subagents · Presentation Layer (Web Browser & Electron Desktop) Composer & Plan UI Todo Kanban / Subagents Next.js Gateway · HTTP / SSE / Cookie Auth · ompweb Application Server (Next.js 16 / Node.js) · Next.js Next.js Gateway HTTP / SSE / Cookie Auth HostClient Facade · Typed IPC / Fail-Closed · ompweb Application Server (Next.js 16 / Node.js) · Node.js HostClient Facade Typed IPC / Fail-Closed Session Reader · JSONL LRU Cache / Fast-Path · ompweb Application Server (Next.js 16 / Node.js) Session Reader JSONL LRU Cache / Fast-Path File Sandbox · Canonical Path Validator · ompweb Application Server (Next.js 16 / Node.js) File Sandbox Canonical Path Validator Process Supervisor · omp Lifecycle & Crash Auto-Heal · ompweb-host Native Runtime (Rust Daemon) · Auto-Heal Process Supervisor omp Lifecycle & Crash Auto-Heal Auto-Heal Git Native Service · diff / status / branches / push · ompweb-host Native Runtime (Rust Daemon) · Rust Core Git Native Service diff / status / branches / push Rust Core PTY Engine · Virtual Terminal / Bounded Buffer · ompweb-host Native Runtime (Rust Daemon) · Rust Core PTY Engine Virtual Terminal / Bounded Buffer Rust Core Session Scanner · Head-Window Indexing <15ms · ompweb-host Native Runtime (Rust Daemon) · <15ms Session Scanner Head-Window Indexing <15ms <15ms Settings Service · 485-Key OMP Config Proxy · ompweb-host Native Runtime (Rust Daemon) · Rust Core Settings Service 485-Key OMP Config Proxy Rust Core omp Core Process · omp --mode rpc-ui · OMP AI Agent Runtime & Persistence · Per Session omp Core Process omp --mode rpc-ui Per Session LLM Providers · Anthropic, OpenAI, DeepSeek · OMP AI Agent Runtime & Persistence · Anthropic LLM Providers Anthropic, OpenAI, DeepSeek Auth DB · ~/.omp/agent/agent.db · OMP AI Agent Runtime & Persistence · SQLite Auth DB ~/.omp/agent/agent.db Session Storage · ~/.omp/agent/sessions/*.jsonl · OMP AI Agent Runtime & Persistence Session Storage ~/.omp/agent/sessions/*.jsonl SQLite Journal · Device Registry & 24h Ledger · OMP AI Agent Runtime & Persistence · SQLite SQLite Journal Device Registry & 24h Ledger Project MCP & Skills · .omp/mcp.json & skills.sh · OMP AI Agent Runtime & Persistence Project MCP & Skills .omp/mcp.json & skills.sh HTTP / SSE internal IPC SSE stream plan context route dispatch session RPC git IPC pty IPC scan IPC config IPC path bounds stdio NDJSON LLM Inference SQLite auth zero-copy head scan MCP proxy crash recovery Presentation Layer (Web Browser & Electron Desktop) ompweb Application Server (Next.js 16 / Node.js) ompweb-host Native Runtime (Rust Daemon) OMP AI Agent Runtime & Persistence

Presentation & Interaction

  • • React 19 & Base UI warm-paper styled workspace
  • • Electron 44 desktop client with system tray & splash
  • • Zero-Reflow streaming markdown & xterm.js terminal
  • • Composer-attached Todo Plan & Subagent live telemetry

Rust Native Host Authority

  • • ompweb-host Rust daemon connected via high-speed IPC
  • • Native Git service executing diff, status, branches & push
  • • PTY engine with bounded buffers & crash resilience
  • • Head-window session scanning under 15ms for GB logs

OMP Core & Sovereignty

  • • Process supervisor with crash recovery and --resume support
  • • HMAC-SHA256 challenge-proof remote client authentication
  • • 24-hour mutation ledger guaranteeing idempotent actions
  • • Full 485-key OMP configuration proxy & MCP management