Skip to content

Sprout v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Sep 10:49
· 17 commits to main since this release
bc13e1e

Sprout v0.2.0 adds the features developers ask for most in tree and repo-context tools, a code graph for AI agents, and proper packaging for every platform.

Install

macOS, Linux brew install sprout-devlabs/tap/sprout
Windows scoop bucket add sprout https://github.com/Sprout-DevLabs/scoop-bucket then scoop install sprout
Debian/Ubuntu, Fedora/RHEL, Alpine, Arch .deb, .rpm, .apk, .pkg.tar.zst below
Any Unix curl -fsSL https://sprout-devlabs.github.io/sprout-web/install.sh | sh (checks the SHA-256)
Go go install github.com/Sprout-DevLabs/sprout@v0.2.0

Homebrew and the Linux packages include bash/zsh/fish completions and man sprout.

New

  • Key files in --ai: the files your code uses most, with their function and type signatures (Go via go/parser; TS/JS, Python, Rust, Java and Kotlin via their declarations and imports).
  • --entry: a suggested reading order (README, entry points, then the most-used files).
  • Remote repositories: sprout github.com/owner/repo --ai clones to a temporary folder, maps it, and cleans up. Private repos work through your git credentials.
  • Config files: ~/.config/sprout/config and per-project .sproutrc.
  • Filtering: --only, and --ignore with gitignore syntax (**, anchors, !negation), plus .sproutignore.
  • --size with true folder totals, --sort name|size|time, -r, --dirs-first, --si.
  • --changed-within 7d, --max-files N, --hyperlink (OSC 8).
  • --completion bash|zsh|fish|powershell and --man, generated from the flag definitions.
  • MCP gains a reading_order tool; project_map includes key files.

Faster

On Kubernetes (31k files): a full tree takes 0.47 s (was 2.36 s), --ai 1.1 s (was 3.8 s), --entry 1.0 s. bench_test.go reproduces the numbers.

Fixed

  • Sorting by time misordered folders collapsed by --depth.
  • Signatures with generic defaults (HTTPError<T = unknown>) were cut short.
  • --stats now labels binary units correctly (KiB/MiB).

Docs: https://sprout-devlabs.github.io/sprout-web/docs.html