refactor(web): migrate agent v2 app context consumers (#38558)