pub fn status_content(
state: &ServerState,
conns: usize,
project: &str,
reviews: usize,
mention: bool,
) -> ElementContentExpand description
Build the status content for the current server state. Empty when the server is stopped (the element hides itself — no stale “off” badge cluttering the modeline when the IDE isn’t running).
Format: <glyph> claude · <project> :<port> · <conns>, e.g.
● claude · lattice :8123 · 1 conn (an agent attached) or
○ claude · lattice :8123 (server up, waiting for an agent). The leading
glyph is a universal BMP shape (● connected / ○ waiting — same cell
width, renders in every monospace font, per the icon-palette rule). The
project segment is omitted when no workspace folder is known.