Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.42 Home All releases olderv2.0.41 v2.0.43newer
Claude Code v2.0.42

LSP Definition Result Normalization

What: Go-to-definition results are now normalized to handle both Location and LocationLink formats.

Details:

  • New helper functions Ih2() at line 441143 and Qh2() at line 441140 detect and convert LocationLink format
  • Function ds5() at line 441543 normalizes LocationLink to Location format
  • Updated Yh2() at line 441146 to handle mixed result arrays with both formats
  • Evidence: Ih2() at line 441143, Qh2() at line 441140, ds5() at line 441543, Yh2() at line 441146

Why it matters: LSP spec allows servers to return either Location or LocationLink for definitions. Normalization ensures consistent handling regardless of format.

See this entry in the whole of v2.0.42 →