feat(maestro): carry a blocked-work indicator on Session (#83)

Session.blocked_work is Option<InTheWay>, refreshed by the daemon's
watcher; None for worktree-less sessions and until first probed.
Defaults on the wire so older payloads stay forward-compatible.
This commit is contained in:
Miguel Palhas
2026-08-24 12:58:16 +01:00
parent d2079cac3a
commit 003e3839bc
8 changed files with 48 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ pub fn session(id: Uuid, cwd: &str, command: &str) -> Session {
activity: Default::default(),
last_activity_at: Utc::now(),
current_cwd: None,
blocked_work: None,
}
}