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

fix(coding-agent): handle session remap and initial attach during daemon restarts master


+274 -88
6 changed files