Skip to main content

Module sysinfo

Module sysinfo 

Source
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§

BuildToolInfo
Build tool information
CacheEntry
Cache entry with timestamp
GitInfo
Git repository information
LanguageInfo
Programming language information
OsInfo
Operating system information
PackageManagerInfo
Package manager information
ProjectInfo
Project information
ShellInfo
Shell environment information
SystemInfo
Complete system information
SystemInfoCache
System information cache
SystemInfoProvider
System information provider with caching
TestFrameworkInfo
Test framework information

Enums§

ProjectType
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