Feature Request
Add a search action to the getSourceCode tool that:
- Searches original TypeScript/source files via sourcemaps (not compiled JS)
- Returns precise file:line:column locations
- Auto-discovers sourcemaps from common build directories (build, dist, out, .next, lib)
- Falls back to reading original sources from disk when sourcesContent is not embedded
- Supports regex patterns, case sensitivity, and URL filtering
This enables effective code search during debugging of both Node.js and web applications.
Usage
getSourceCode({ action: 'search', pattern: 'interface.*Handler', urlFilter: 'src/' })