Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupedMessage ¶
type GroupedMessage struct {
message.Message
IsGroupStart bool // True if this is the first message in a group from this sender
IsGroupEnd bool // True if this is the last message in a group from this sender
}
GroupedMessage wraps a message with grouping metadata for the UI.
type Server ¶
type Server struct {
// RepoURLs maps workspace names (e.g., "mc-agent-chat") to GitHub URLs.
RepoURLs map[string]string
// contains filtered or unexported fields
}
Server handles HTTP requests for the chat UI.
func New ¶
New creates a new server with the given message aggregator. repoURLs maps workspace names (e.g., "mc-agent-chat") to GitHub URLs.
type WorkspaceInfo ¶
type WorkspaceInfo struct {
Name string
LatestMsgTime int64 // Unix milliseconds for JavaScript compatibility
MessageCount int
}
WorkspaceInfo contains workspace metadata for the UI.
Click to show internal directories.
Click to hide internal directories.