Commit 8029fdd
committed
fix: normalize embedded JSON in text fields for clean diffs
- Enhanced normalizeProbeResult to parse and re-normalize JSON strings
found in 'text' fields (common in tool call responses)
- Matches jq -S behavior from github-mcp-server reference implementation
- Added comprehensive test coverage for normalizeProbeResult
Fixes diff churn caused by key ordering inconsistencies in embedded JSON.1 parent 6165293 commit 8029fdd
5 files changed
Lines changed: 146 additions & 13 deletions
0 commit comments