| 67 | } |
| 68 | |
| 69 | type EventEmitter struct { |
| 70 | mu sync.Mutex |
| 71 | messages []st.ConversationMessage |
| 72 | status AgentStatus |
| 73 | agentType mf.AgentType |
| 74 | chans map[int]chan Event |
| 75 | chanIdx int |
| 76 | subscriptionBufSize uint |
| 77 | screen string |
| 78 | errors []ErrorBody |
| 79 | clock quartz.Clock |
| 80 | } |
| 81 | |
| 82 | func convertStatus(status st.ConversationStatus) AgentStatus { |
| 83 | switch status { |
nothing calls this directly
no outgoing calls
no test coverage detected