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:
@@ -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("("))
|
||||
|
||||
Reference in New Issue
Block a user