fix: smarter tool_call/result queue matching for diff views
Instead of strict FIFO, now matches tool_result to tool_call by
name. Falls back to FIFO if no match found. This handles cases
where events might arrive out of order and ensures write/edit
tools get their arguments for diff display.
name. Falls back to FIFO if no match found. This handles cases
where events might arrive out of order and ensures write/edit
tools get their arguments for diff display.
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
833086dce9e832e88abc9bfe2530da5d78a8fdbf- Parents
-
9e0e422 - Tree
d4c2d91