42
43
44
45
46
47
48
49
50
51
52
53
|
# File 'lib/aircana/cli/commands/doctor_checks.rb', line 42
def check_agents_status
agents_dir = File.join(Dir.pwd, ".claude", "agents")
if Dir.exist?(agents_dir) && !Dir.empty?(agents_dir)
kb_count = Dir.glob(File.join(agents_dir, "*.md")).size
log_success("KBs", "#{kb_count} knowledge base(s) configured")
elsif Dir.exist?(agents_dir)
log_info("KBs", "Knowledge bases directory exists but is empty")
else
log_info("KBs", "No knowledge bases configured yet")
log_remedy("Create knowledge bases with: aircana kb create")
end
end
|