fix: ClawHub API and simplify Council nav

- Fix popular search query (was empty string)
- Group all agents under single 'Agents' tab
This commit is contained in:
2026-03-24 16:13:25 +01:00
parent 602dcff5b2
commit fb0ce20aa5
2 changed files with 3 additions and 8 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ export async function GET(req: NextRequest) {
if (action === "popular") {
// Get featured/popular - show top skills sorted by score
const { stdout } = await execAsync(`clawhub search "" 2>&1`);
// Use a common query that returns high-quality skills
const { stdout } = await execAsync(`clawhub search "productivity automation" 2>&1`);
const lines = stdout.trim().split("\n");
const skills = lines
.filter((line) => line.includes("("))