add apnagent to package.json