I know it's 2025, but the current documentation says it's no possible to setup PAC proxy over VPN.
You would need to add the addDirectProxy method and pass the proxy host URL and port in it.