Skip to main content

Module composer

Module composer 

Source
Expand description

The composer’s live state: whether a seat is compacting and the landed dictation nobody has sent yet.

The wire announces each of these once and retains nothing, so what a composer draws is folded here from the stream. A view that attaches to an already-running session reads none of it from the core, which is why it lives beside the surface rather than in the view - and for the landed words it is also the point: a page that reloads between the landing and the send reads them back from the record rather than losing them (#1360).

Re-exports§

use std::collections::HashMap; 🔒
use std::collections::HashSet; 🔒
use forge_primitives::Message; 🔒
use forge_primitives::SessionSlot; 🔒
use crate::SessionUpdate; 🔒

Structs§

Composer
What the core’s own reads cannot answer: the compaction the CLI announced on the status frame and the landed take nobody sent.
Landed
A landed take’s words, as the record re-hands them: what would have gone into the draft, whether the take was partial, and the take’s generation - the landing memory’s discriminator, so a re-hand is read as the same words rather than a new landing.