Skip to content

Add unread badges and session notifications#109

Merged
kubaflo merged 2 commits intomainfrom
kubaflo/dev/agents
Feb 14, 2026
Merged

Add unread badges and session notifications#109
kubaflo merged 2 commits intomainfrom
kubaflo/dev/agents

Conversation

@kubaflo
Copy link
Collaborator

@kubaflo kubaflo commented Feb 14, 2026

No description provided.

Show available agents in the expanded session UI and add backend discovery logic. ExpandedSessionView now displays an agents count next to skills and provides a ShowAgentsPopup that renders a styled popup with agent name, source and truncated description. CopilotService gains DiscoverAvailableAgents which scans project agent directories (.github/agents, .claude/agents, .copilot/agents) for Markdown files, reusing the existing frontmatter parser and populating AgentInfo records while deduplicating names and catching errors. Adds AgentInfo record and safe directory/file handling.
Track unread assistant messages and surface system notifications when agents finish. Introduces LastReadMessageCount and UnreadCount to AgentSessionInfo and updates CopilotService to set last-read counters when sessions are switched or messages arrive. Adds UI unread badges to SessionListItem and SessionCard with corresponding CSS, and adjusts ExpandedSessionView layout spacing. Integrates a notification manager: App now requests INotificationManagerService initialization, Settings exposes a toggle to enable notifications and initializes the service when enabled, and CopilotService sends a trimmed completion notification (with permission checks) when an agent completes. Also includes a utility to build a concise notification body from assistant content.
@kubaflo kubaflo merged commit d302ecc into main Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant