refactor(publish): migrate publish repo to agent repo