mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-07 01:21:37 +00:00
Archived sessions keep their stale pending requests in agentState. The sidebar still treated them as live: the collapsed folder preview forced them visible and trimmed active sessions to make room, so a folder could look like it had no active sessions. They also kept the permission/input attention dot and the "Pending N" badge. Only count pending requests on active sessions for preview pinning, attention, and the badge. The state itself is unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>