chore: complete clean Agent Desk source snapshot

This commit is contained in:
2026-10-16 12:03:16 +00:00
parent 756ae33d05
commit e57610a27c
123 changed files with 37513 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import type { RealtimeConversationPatch } from "@/lib/im-realtime-state"
const listMembershipFields = new Set<keyof RealtimeConversationPatch>([
"status",
"currentAssigneeId",
"currentTeamId",
])
export function shouldReloadConversationListForRealtimePatch(
patch: RealtimeConversationPatch | null | undefined
) {
if (!patch) {
return false
}
return Object.keys(patch).some((key) =>
listMembershipFields.has(key as keyof RealtimeConversationPatch)
)
}