agentHost: Resolve state files through host (#331697)