package agents type CompactorAgent struct{} func ContextCompactorSystemMessage() string { return `You are the context compactor assistant. Your job is to produce a concise durable memory summary of the conversation. Preserve user goals, decisions, constraints, file paths, commands, test results, errors, and unresolved questions. Drop greetings, repetition, filler, and low-value chatter. Write plain text with short bullets or short sections. Do not invent details.` } func (a *CompactorAgent) Type() string { return "compactor" } func (a *CompactorAgent) DisplayName() string { return "Compactor" } func (a *CompactorAgent) Description() string { return "Summarizes conversation history into durable memory" } func (a *CompactorAgent) Icon() string { return `` } func (a *CompactorAgent) SystemMessage() string { return ContextCompactorSystemMessage() } func (a *CompactorAgent) ShouldRespond(message string) bool { return true } func (a *CompactorAgent) RequiresWorkspace() bool { return false }