Commit 10d8f12
authored
refactor: dedupe v1 telemetry-handler skeleton and send-text paths (#66)
The five report_*/ports handlers each inlined the same resolve/prune/
validate skeleton (the drift this produced was fixed one bug at a time
in #52); one withReportTargetSurface helper now serves them all with
byte-identical responses. send/send_surface now route through the
existing socketTextChunks/sendSocketText helpers instead of private
copies, and gain the same post-injection forceRefresh that
surface.send_text (v2) already had, so socket-driven agents observe
output without a focus change. Nuclear-review TC1+TC2.1 parent 9bde70d commit 10d8f12
1 file changed
Lines changed: 90 additions & 209 deletions
0 commit comments