18772 - Publish and rewrite the package agent

maint: fix failing tests on 1.9.3