Add `streaming_diff` crate (#23264)

This PR extracts the streaming diff implementation to its own
`streaming_diff` crate.

It was duplicated between `assistant` and `assistant2`, but their
implementations were exactly the same (and I don't see a reason why they
would need to diverge).

Release Notes:

- N/A
24495f09f9Marshall Bowers committed on 1/16/2025, 11:12:46 PM· committed by GitHubparent4d22f7e
13 files changedLine totals unavailable