Is there a way for a client or server mod to get the eco data for the AIs in the currently running game? Edit: also, is there a way to force an AI to forfeit? (Alt: is there a way to declare a certain player victorious?)
Any spectator should have access to that information. The AI used to concede by walking its commander to its death, but this is currently disabled in the AI files. Unsure whether this was due to players confused by it, because people wanted it to fight to the death, or because it was making poor assessments of when it had lost. No reason @sorian couldn't have that command trigger a gg and self-destruct instead.
Either spectate, or cheat allow vision. This obviously "risks integrity" of game via cheaters. However, against AI who cares. Just not a good multiplayer mod between multiple competitive players versus each other, one could see other's economy.