Expand description
System Information Provider
Provides comprehensive system information to agents, including OS details, shell environment, installed languages, package managers, project structure, git status, build tools, and test frameworks.
Features:
- Caching with configurable TTL
- Automatic cache invalidation on system changes
- Project type detection from marker files
Structs§
- Build
Tool Info - Build tool information
- Cache
Entry - Cache entry with timestamp
- GitInfo
- Git repository information
- Language
Info - Programming language information
- OsInfo
- Operating system information
- Package
Manager Info - Package manager information
- Project
Info - Project information
- Shell
Info - Shell environment information
- System
Info - Complete system information
- System
Info Cache - System information cache
- System
Info Provider - System information provider with caching
- Test
Framework Info - Test framework information
Enums§
- Project
Type - Project type enumeration
Functions§
- detect_
primary_ language - Detect the primary language from file extensions in a directory
- detect_
project_ type_ from_ path - Detect project type from a directory
- get_
project_ markers - Get all project marker files for a given project type
- has_
git_ repo - Check if a path has a git repository
- is_
go_ project - Check if a path is a Go project
- is_
java_ project - Check if a path is a Java project
- is_
node_ project - Check if a path is a Node.js project
- is_
python_ project - Check if a path is a Python project
- is_
rust_ project - Check if a path is a Rust project