Show turn summaries only in the transcript, not as inbox reports
This commit is contained in:
+4
-1
@@ -1,5 +1,5 @@
|
||||
import { get, put, subscribe, type AgentSession, type ByreEvent, type Focus, type InboxItem, type Project, type Snapshot, type Task, type TaskTab, type User } from "./api.js";
|
||||
import { notifyInbox } from "./notifications.js";
|
||||
import { notifyInbox, notifyTurn } from "./notifications.js";
|
||||
|
||||
export type Topic =
|
||||
| "me"
|
||||
@@ -323,6 +323,9 @@ export function handleEvent(ev: ByreEvent): void {
|
||||
case "inbox.updated":
|
||||
void loadInbox();
|
||||
break;
|
||||
case "turn.ended":
|
||||
notifyTurn(ev);
|
||||
break;
|
||||
case "review.started":
|
||||
case "review.finished":
|
||||
if (state.inbox.some((i) => i.task_id === ev.task_id && i.kind === "question")) {
|
||||
|
||||
Reference in New Issue
Block a user