OnRoomRegistered Room 注册事件
(r *core.Room)
| 124 | |
| 125 | // OnRoomRegistered Room 注册事件 |
| 126 | func (i *AGUIInterface) OnRoomRegistered(r *core.Room) error { |
| 127 | if i.opts.EnableLogging { |
| 128 | fmt.Printf(" [AGUI] Room registered with %d members\n", r.GetMemberCount()) |
| 129 | fmt.Printf(" → Syncing to Control Plane\n") |
| 130 | } |
| 131 | |
| 132 | // 同步到控制平面 |
| 133 | return i.syncRoom(r) |
| 134 | } |
| 135 | |
| 136 | // OnWorkflowRegistered Workflow 注册事件 |
| 137 | func (i *AGUIInterface) OnWorkflowRegistered(wf workflow.Agent) error { |
nothing calls this directly
no test coverage detected