Skip to content

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 21 Oct 05:56
· 35 commits to main since this release
3f9d9aa

Sharper answers for one Go function, found by using Sprout's Claude Code plugin on Sprout's own code.

Fixed

  • --symbol matched methods by name alone. Changing goTestRun pulled in every file calling any run method: 8 files instead of the 3 real ones. A call is now matched to its type wherever the code shows it (a receiver, a parameter, T{}, var x T, x := newT()), and by name only when it doesn't. A method no longer counts as calling itself. (#111)
  • --symbol hid callers in the same file. testsReaching said nothing called it directly, though goTestRun does a few lines away. (#111)
  • The Go graph linked files through local variables. A local named walk or a field named run counted as a use of the package-level one. Same-package precision against Go's type checker: Sprout 95.3% → 100%, cobra 98.4% → 99.2%, Kubernetes' scheduler 88.0% → 95.4%. Links between packages are unchanged. (#112)

Improved

  • Says why a Go package isn't narrowed: (.: 85 of its 138 tests reach the change, so it runs whole). (#111)
  • The home-folder message works for plugin users: pass root, or open the session in the project. (#111)
  • Plugin README for the Claude Code plugin directory. (#110)

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.5.2 · or curl -fsSL https://sprout-devlabs.github.io/sprout-web/install.sh | sh