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

Version history of packages/coding-agent/src/core/agent-session-runtime.ts