release: make project categories knowledge-wide

This commit is contained in:
public-repo-gate
2026-09-12 17:21:34 +03:00
parent c2209edb5b
commit 436c08e521
7 changed files with 1052 additions and 1051 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ function projectCategoryFit(server) {
const categories = []
for (const rule of categoryFits) if (rule.re.test(server.category)) categories.push(...rule.categories)
for (const rule of keywordCategories) if (rule.re.test(text)) categories.push(...rule.categories)
if (!categories.length) categories.push(projectCategory('universal-mcp'))
if (!categories.length) categories.push(projectCategory('universal-integration'))
return uniq(categories).slice(0, 6)
}