fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)

fix(ai): fall back from codex websocket to sse (#4133) master


+233 -24
5 changed files