webui: add offline-node delete API and remove channels management endpoint

This commit is contained in:
DBT
2026-02-25 17:26:02 +00:00
parent b37807bec6
commit bf4c75fe24
3 changed files with 48 additions and 29 deletions

View File

@@ -188,9 +188,6 @@ func gatewayCmd() {
}
return agentLoop.ProcessDirect(cctx, content, sessionKey)
})
registryServer.SetChannelsHandler(func() interface{} {
return channelManager.GetStatus()
})
registryServer.SetConfigAfterHook(func() {
_ = syscall.Kill(os.Getpid(), syscall.SIGHUP)
})