pub fn strip_leaked_tool_protocol(text: &str) -> StringExpand description
Strip tool-protocol markup from assistant text without recovering calls.
Used by hosts that accumulate streamed deltas before recovery runs, so
Auto-review does not treat DSML/<tool_call> blobs as product prose.