Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

诊断和健康检查系统

提供系统健康检查、故障排除功能

§功能

  • 环境检查(Git, Ripgrep 等)
  • 系统资源检查(CPU, 内存, 磁盘)
  • 网络检查(API 连通性, 代理配置)
  • 配置检查(MCP, 会话目录, 缓存)
  • 健康评分和自动修复

Structs§

AutoFixResult
自动修复结果
AutoFixer
自动修复器
DiagnosticCheck
诊断检查结果
DiagnosticChecker
诊断检查器
DiagnosticOptions
诊断选项
DiagnosticReport
诊断报告
HealthSummary
健康摘要
NetworkChecker
网络检查器
SystemChecker
系统检查器
SystemInfo
系统信息

Enums§

CheckStatus
检查状态
HealthStatus
健康状态

Functions§

format_diagnostic_report
格式化诊断报告
get_system_health_summary
获取系统健康摘要
quick_health_check
快速健康检查(最小检查集)
run_diagnostics
运行所有诊断检查