v0.4.1
Fixed
- Symbols that no name could reach. When two distinct declarations produced
the same qualified name,read_symbolanswered with an ambiguity error whose
only candidate was the name just asked for — a dead end with no way to reach
either declaration. ReadingObject,Array,String,Math, orJSON
from the bundledlib.es5.d.tsfailed this way, as did any file combining
interface Xwithdeclare var X. Such declarations now receive
@line:columnoccurrence selectors, and the ambiguity error lists them in
source order. - Callbacks inside destructured calls lost their container. Only the
react-querymutatealias produced a qualified container; SWR'strigger,
Apollo's tuple form, and arbitrary property names collapsed sibling callbacks
onto one unreachable name. The container is now selected structurally, so
EventCreation.onCreateEvent.onSuccessresolves across all of these shapes. search_symbolsranges cover the full declaration instead of just the name,
and now agree withread_symbolandget_document_outline.- Function-valued object properties report
arrow_functionor
react_componentrather thanobject_method, matching the other tools. get/setaccessor pairs merge into one property; unrelated declarations
that happen to share a name no longer merge into one span.
Changed
- Large files are dramatically faster: converting UTF-16 positions to byte
offsets rescanned the file from the start on every call, which made every
operation quadratic in file size.read_symbolon a 1.8 MB.d.tswent from
9.7s to 0.2s. - Ambiguity candidates are ordered by source position rather than
lexicographically, so@line:columnselectors no longer sort4562before
544. - GitHub Release notes are now composed from the matching
CHANGELOG.md
section plus install instructions, instead of the commit-derived
--generate-notesoutput.
Install
curl -fsSL https://raw.githubusercontent.com/pioner92/symbolpeek-mcp/main/scripts/install.sh | shirm https://raw.githubusercontent.com/pioner92/symbolpeek-mcp/main/scripts/install.ps1 | iexThen connect the server to your client — the installer prints the exact command.
See the README for requirements and troubleshooting.
Full Changelog: v0.4.0...v0.4.1