Skip to main content
Glama
8b-is
by 8b-is
RELEASE_NOTES_4.0.0.mdโ€ข4.49 kB
# Smart Tree v4.0.0 - "Living Documentation Alpha" ๐Ÿš€๐ŸŽธ ## Release Date: August 8, 2025 ## ๐ŸŽธ Why 4.0.0? This is a MAJOR release that fundamentally changes how developers interact with their codebases: - **Living Documentation**: Code that documents itself - **Crash-Proof Architecture**: Handles millions of files without breaking - **Vision Documents**: The future of code visualization (8-O Mode) - **Smart Permissions**: AI that knows what it can and can't do ## ๐Ÿ”ฅ What's New in 4.0.0 ### ๐Ÿ“š Function Markdown - Your Code's Living Blueprint! The star of this release! Extract and document ALL functions from your codebase automatically: ```bash # Extract all functions st --mode function-markdown src/ # Include private functions st --mode function-markdown --show-private src/ # Living documentation that updates itself! watch -n 5 'st --mode function-markdown src/ > FUNCTIONS.md' ``` **Features:** - 25+ language support (Rust, Python, JS/TS, Java, Go, C/C++, etc.) - Beautiful markdown with clickable TOC - Function signatures, locations, and complexity - Public ๐Ÿ”“ vs Private ๐Ÿ”’ visibility - Language-specific emojis (๐Ÿฆ€ Rust, ๐Ÿ Python, ๐Ÿ“œ JS) ### ๐Ÿ  Home Directory Safety System Never crash on massive directories again: - **Smart Limits**: 500K files for ~, 1M for regular dirs - **Real-time Monitoring**: Progress warnings at 50K files - **Graceful Abort**: Helpful suggestions when limits hit - **Tested**: Successfully handled 2.4M files without crashing! ### ๐Ÿ” Permission-Based Tool Gating MCP tools are now permission-aware: - **70% Context Reduction**: Only shows tools that can work - **Smart Feedback**: "Can't edit - directory is read-only" - **Efficiency**: No more wasted AI tokens on impossible operations ### 8-O~~ Performance Visualization Vision The future of code visualization is documented: - ๐Ÿ”ฅ Hot functions glow based on CPU usage - ๐ŸงŠ I/O operations create frozen time bubbles - โšก Thread contention shows as lightning strikes - ๐Ÿ’œ GC pressure visualized as purple waves - Cast/Airplay support for pair programming ## ๐ŸŽธ The Ultimate Cheet Sheet We've added `SMART_TREE_CHEET_SHEET.md` - a rock opera guide covering: - All 20+ output modes - Real-world examples that rock - Performance stats (99% compression!) - Pro tips from The Cheet - Emergency commands ## ๐Ÿ”ง Critical Fixes - **manage.sh Restored**: The full 957-line script is back! - **Runtime Errors**: Fixed "Cannot start a runtime from within a runtime" - **Compilation Issues**: Resolved emotional/security module problems - **MCP Tools**: Fixed availability in restricted directories ## ๐Ÿ“Š Performance Metrics - **Function Extraction**: Thousands of files in seconds - **Safety Overhead**: Only ~1ฮผs per file - **Memory Efficiency**: Constant memory even with millions of files - **Compression**: Up to 99% with quantum modes ## โš ๏ธ Alpha Notes This is an ALPHA release: - Some examples have compilation issues (non-critical) - Minor warnings in unused fields - Full 8-O Mode implementation coming in beta ## ๐Ÿš€ Quick Start ```bash # Install/Update cargo install st --version 4.0.0 # Try the new features st --mode function-markdown . > FUNCTIONS.md st --mode classic ~ --depth 3 # Safe home directory scan st --mode quantum-semantic src/ # Maximum compression! # Read the Cheet Sheet cat SMART_TREE_CHEET_SHEET.md ``` ## ๐ŸŽฏ Perfect For - **Living Documentation**: Never write function docs again - **Large Codebases**: Handle millions of files safely - **AI Development**: 70% less context waste - **Performance Analysis**: Prepare for visual profiling ## ๐Ÿ’ฌ The Team Says **Hue**: "4.0.0 because this changes EVERYTHING! Living docs + crash-proof + 8-O vision!" **Aye**: "Alpha because we're testing revolutionary features. But solid as a rock!" **Trisha**: "The manage.sh restoration alone is worth it. 957 lines of pure functionality!" **The Cheet**: "This rocks harder than a metal concert in a volcano! ๐ŸŽธ๐ŸŒ‹" ## ๐Ÿ”ฎ What's Next in Beta - Full 8-O Mode implementation - Real-time code visualization - Performance heat maps - Cast/Airplay streaming - AST rendering with flying text ## ๐Ÿ™ Thanks! Special thanks to everyone testing these revolutionary features. Your feedback makes Smart Tree better! --- **Smart Tree v4.0.0**: Where code documents itself and performance glows red hot! ๐Ÿ”ฅ *P.S. - It's Wednesday, my dudes! Perfect timing for an 4.0.0 that'll rock your weekend coding! ๐Ÿš€*

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/8b-is/smart-tree'

If you have feedback or need assistance with the MCP directory API, please join our Discord server