Skip to main content

Module tower_pane

Module tower_pane 

Source
Expand description

Tower, the read-only task manager pane (backend::tower::sampler; SPEC_TOWER_TASK_MANAGER_PANE_2026_10_08.md): tower.sample.

Tower’s RPCs are the window’s, not an agent API: a connection registered as an agent (bus:register) is refused.

With a connection it samples another machine instead (backend::tower::remote): an SSH host or a WSL distribution.

Functions§

browser_page 🔒
A browser pane’s page, for its renderer’s row: its title, else its URL’s host.
inputs 🔒
not_an_agent_api 🔒
Tower’s RPCs are the AgentMux window’s, not an agent API: only a connection the host proved is the window’s gets them.
register
register_peers 🔒
register_record_page 🔒
tower.peers, tower.pair and tower.forget: the AgentMux computers this one is paired with (backend::tower::peers). record.page: the page’s own figures, kept for the next line of the record.
renderer_map 🔒
Which renderer serves which window or pane: only the window host knows (crates/cef/src/renderer_map.rs). Asked with a short timeout: a slow or absent host leaves renderers unnamed rather than holding up the sample.
sample_local 🔒
This computer’s sample, with the views the request asked for. Also what keeps the memory ledger: every sample that carries memory goes in it.
spawn_ledger_timer 🔒
The ledger keeps its hour with no Tower open (spec D7): every 30 s it samples if no Tower did. One timer per process.
spawn_record_timer 🔒
The record (backend::record): every five minutes the memory sample is also written to the file of its day, whether or not a Tower is open. One timer per process; a sample costs about the ledger’s 15-25 ms.
window_workspace 🔒
A window’s workspace name, for its renderer’s row.