Keep woke threads active after visits

This commit is contained in:
Theo Browne committed 2026-08-07 03:39:42 -07:00
1 parent 8d9b77b131
commit 8717043ff7
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -4035,10 +4035,12 @@ function ChatViewContent(props: ChatViewProps) {
now: `${nowMinute}:00.000Z`,
autoSettleAfterDays,
changeRequestState: activeThreadPr?.state ?? null,
suppressAutoSettle: activeThreadWokeAt !== null,
});
}, [
activeThreadPr?.state,
activeThreadShell,
activeThreadWokeAt,
autoSettleAfterDays,
nowMinute,
supportsSettlement,
@@ -234,7 +234,7 @@ export function effectiveSettled(
readonly autoSettleAfterDays: number | null;
readonly changeRequestState?: ChangeRequestStateLike | null;
/** Keep an attention-bearing thread active while still honoring an
explicit user settle. Used by the sidebar while a wake is unvisited. */
explicit user settle. Used while a thread retains a completed wake. */
readonly suppressAutoSettle?: boolean;
},
): boolean {