agent_layout

Function agent_layout 

Source
pub(crate) fn agent_layout(store: &Store) -> Value
Expand description

Read-only snapshot of the window → workspace → tab → pane tree, for agent introspection (GET /api/v1/layout). Pure wstore reads — no reducer, so it’s hermetic and safe. Lookups use linear scans (a handful of objects).