What happened?
hound_compare and hound_preinstall pick versions[versions.length - 1] (last), but hound_popular picks versions[0] (first). If the API changes sort order, one of these silently breaks.
What did you expect?
A shared getDefaultVersion(versions) utility is used by all three tools. Add a unit test for the helper.
Steps to reproduce
NA
Which tool?
Not tool-specific / general
Node.js version
NA
hound-mcp version
NA
MCP client
Other
Relevant logs or error output
What happened?
hound_compare and hound_preinstall pick versions[versions.length - 1] (last), but hound_popular picks versions[0] (first). If the API changes sort order, one of these silently breaks.
What did you expect?
A shared getDefaultVersion(versions) utility is used by all three tools. Add a unit test for the helper.
Steps to reproduce
NA
Which tool?
Not tool-specific / general
Node.js version
NA
hound-mcp version
NA
MCP client
Other
Relevant logs or error output