Skip to content

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 16 Oct 15:22
· 79 commits to main since this release
52dd178

Sprout's MCP server is now safer and easier to point at the right project, especially in Claude Code. These fixes came from connecting it to Claude Code and using it for real.

Fixed

  • A client open in your home folder no longer gets it mapped. Claude Code started in ~ told Sprout that was its open folder, and Sprout believed it: it walked about 780,000 files and listed folders like .ssh to the agent. A home folder or / is now refused, however the server got there, with what to do instead. A folder you give on the command line (sprout mcp /path) is still served. (#94)
  • The server follows your client when the client says its open folder changed. A folder given on the command line stays put. (#94)
  • Errors say which folder is being served when a file isn't found, so a wrong folder is obvious instead of looking like a missing file. (#94)
  • "uses" reasons name methods too: a file that calls r.probe(), where probe is declared in another file on a type from elsewhere in the package, now has probe in its reason. The dependency graph itself is unchanged. (#94)

New

  • root on every MCP tool: the project's absolute path, for when the agent works in a project other than the folder its client has open. It's treated as untrusted input, so it must be:
    • a project folder (with .git or a manifest like go.mod);
    • not a hidden folder;
    • not ~ or /;
    • inside the folder you gave sprout mcp, if you gave one. (#94)

Also

  • CI syntax-checks the fish and PowerShell completion scripts (#87, thanks @AnushreeKasturi).
  • The README's Scripting section documents the JSON output of deps, dependents, impact, context and tour, with a CI example (#91, thanks @aliyasyeddd, in her first contribution).

Install: brew install sprout-devlabs/tap/sprout · scoop bucket add sprout https://github.com/Sprout-DevLabs/scoop-bucket; scoop install sprout · .deb/.rpm/.apk below · go install github.com/Sprout-DevLabs/sprout@v0.4.3 · or curl -fsSL https://sprout-devlabs.github.io/sprout-web/install.sh | sh