MCPcopy Create free account
hub / github.com/astercloud/aster / syncAgent

Method syncAgent

pkg/asteros/interfaces/agui.go:221–230  ·  view source on GitHub ↗

syncAgent 同步 Agent

(ag *agent.Agent)

Source from the content-addressed store, hash-verified

219
220// syncAgent 同步 Agent
221func (i *AGUIInterface) syncAgent(ag *agent.Agent) error {
222 if !i.isConnected() {
223 return nil // 静默失败
224 }
225
226 // TODO: 实现实际的同步逻辑
227 // 发送 Agent 信息到控制平面
228
229 return nil
230}
231
232// syncRoom 同步 Room
233func (i *AGUIInterface) syncRoom(r *core.Room) error {

Callers 1

OnAgentRegisteredMethod · 0.95

Calls 1

isConnectedMethod · 0.95

Tested by

no test coverage detected