We should look at refactoring how we are supporting the Agent / ExtendedAgent fields inside of the ProxyAgent. This commit: ryan-norton@2044852 was intended to solve a problem that is no longer reproducable and the issue it was meant to solve is questionable, and the original proxy code could stand to be improved anyways.
As part of these changes, we should allow the ProxyAgent to handle a regular agent.Agent in addition to an agent.ExtendedAgent and only cast the given agent if it matches the interface appropriately.
We should look at refactoring how we are supporting the Agent / ExtendedAgent fields inside of the ProxyAgent. This commit: ryan-norton@2044852 was intended to solve a problem that is no longer reproducable and the issue it was meant to solve is questionable, and the original proxy code could stand to be improved anyways.
As part of these changes, we should allow the ProxyAgent to handle a regular agent.Agent in addition to an agent.ExtendedAgent and only cast the given agent if it matches the interface appropriately.