macOS client overlays, menus and notifications

This commit is contained in:
Ian Gulliver
2026-10-17 08:24:22 -07:00
parent b43cffab6d
commit 38d56139c3
17 changed files with 1297 additions and 101 deletions
+7 -1
View File
@@ -498,11 +498,17 @@ final class Store {
try await self.loadSessions(taskId)
}
}
case "inbox.created", "inbox.updated":
case "inbox.created":
notifyInbox(self, try! decodePayload(ev.payload, as: InboxItem.self))
spawn("load inbox") {
try await self.loadInbox()
}
case "inbox.updated":
spawn("load inbox") {
try await self.loadInbox()
}
case "turn.ended":
notifyTurn(self, ev)
if ev.payload.value["summary"] as? Bool == true, let taskId = ev.taskId {
updateTask(taskId) { task in
if ev.seq > task.summarySeq {