Task: Fix category list for AI agent

Fix category list for AI agent

Currently, all categories are sent to it, even those with hidemenu: true. We need to keep only visible categories.