[ha][captagent] has captagent compiling