feat: start configured agent server

This commit is contained in:
2026-09-02 06:10:14 +00:00
parent 083cca1ce7
commit 92617a2400
2 changed files with 90 additions and 4 deletions
-3
View File
@@ -220,10 +220,7 @@ func (server *AgentServer) writeLoop(ctx context.Context, connection *websocket.
}
func (server *AgentServer) close(connection *websocket.Conn, status websocket.StatusCode, reason string) {
ctx, cancel := context.WithTimeout(context.Background(), server.writeDeadline())
defer cancel()
_ = connection.Close(status, reason)
_ = ctx
}
func (server *AgentServer) agentPath() string {