Upstream contribution · HarnessRouter/harnessrouter
harnessrouter · Normalize tool-call deltas across valid SSE encodings
Problem
HarnessRouter's DSH relay expected a space after the SSE data-field colon. Valid streams with no space bypassed cleanup, so empty continuation fields could erase an accumulated tool name and ID.
Engineering response
Match the data field independent of its optional space, then apply the existing normalization to JSON objects. Leave non-object events and unrelated fields alone.
Evidence and scope
The pull request reports 18 focused cases passing, with the new case failing when the old guard is restored. The broader local suite recorded 31 failures.