fix(agent): bound push suppression to observed browser attention
This commit is contained in:
@@ -249,6 +249,7 @@ model AgentPushPresence {
|
||||
visible Boolean
|
||||
focused Boolean
|
||||
lastInteractionAt DateTime?
|
||||
inactiveUntil DateTime?
|
||||
expiresAt DateTime
|
||||
@@index([ownerEpoch, expiresAt])
|
||||
}
|
||||
@@ -273,6 +274,7 @@ model AgentPushCoordinator {
|
||||
localPromptAt DateTime?
|
||||
nativeActive Boolean @default(false)
|
||||
nativeUnknown Boolean @default(true)
|
||||
unknownSince DateTime?
|
||||
uncertain Boolean @default(true)
|
||||
lockOwner String?
|
||||
lockUntil DateTime?
|
||||
@@ -296,6 +298,9 @@ model AgentPushDelivery {
|
||||
expiresAt DateTime
|
||||
updatedAt DateTime @updatedAt
|
||||
outcome String?
|
||||
lastSuppressionReason String?
|
||||
lastSuppressionClientKind String?
|
||||
lastSuppressedAt DateTime?
|
||||
@@index([status, dueAt])
|
||||
@@index([installationId, status])
|
||||
@@index([ownerEpoch, sourceId, cursor])
|
||||
|
||||
Reference in New Issue
Block a user