1// Package notify defines domain notification types for agent events.
2// These types are decoupled from UI concerns so the agent can publish
3// events without importing UI packages.
4package notify
5
6// Type identifies the kind of agent notification.
7type Type string
8
9const (
10 // TypeAgentFinished indicates the agent has completed its turn.
11 TypeAgentFinished Type = "agent_finished"
12 // TypeReAuthenticate indicates the agent encountered an
13 // authentication error and the user needs to re-authenticate.
14 TypeReAuthenticate Type = "re_authenticate"
15)
16
17// Notification represents a domain event published by the agent.
18type Notification struct {
19 SessionID string
20 SessionTitle string
21 Type Type
22 ProviderID string
23}