bxcore: a turn's speaker, SessionUpdated's turn, the session-state messages

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
2026-09-28 10:27:28 -07:00
co-authored by ornith-1.5-35b-a3b
parent 027146f359
commit c798714af1
31 changed files with 238 additions and 13 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ impl Index {
return Ok(());
}
match record {
LogRecord::User { time, content } if !content.trim().is_empty() => {
LogRecord::User { time, content, .. } if !content.trim().is_empty() => {
let src = Source {
time: time.to_rfc3339(),
role: "owner".to_string(),
+1
View File
@@ -143,6 +143,7 @@ fn recall_finds_old_sessions_updated_ones_and_notes() {
append(&log, &user(2, "the launch is Thursday"));
let update = Message::SessionUpdated(SessionUpdated {
session: SessionId::new("mm-b").unwrap(),
turn: 1,
});
assert_eq!(ask(&r.config.loop_socket(), update), Message::Ok(Empty {}));
call(
+1
View File
@@ -14,6 +14,7 @@ pub fn user(minute: u32, content: &str) -> LogRecord {
LogRecord::User {
time: at(minute),
content: content.to_string(),
speaker: None,
}
}