memoryd: a Honcho client per workspace, and its workspace, peers and sessions made sure of

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
2026-09-28 12:13:48 -07:00
co-authored by ornith-1.5-35b-a3b
parent 28df2a0e3b
commit aabfbc2f0a
39 changed files with 2324 additions and 0 deletions
+7
View File
@@ -208,6 +208,13 @@ impl Ledger {
self.entries.contains_key(item)
}
/// Every decided item with its action, `Skip` included, in the order they were decided.
pub fn decisions(&self) -> impl Iterator<Item = (&Item, &Action)> + '_ {
self.order
.iter()
.filter_map(|item| Some((item, &self.entries.get(item)?.action)))
}
/// The items waiting to be sent, with their actions, in the order they were decided.
pub fn outbox(&self) -> Vec<(Item, Action)> {
self.order