Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix(frontend): normalize style guard paths
dajiaohuang75d2c1b58343
diff --git a/frontend/src/assets/theme/styleGuard.test.mjs b/frontend/src/assets/theme/styleGuard.test.mjsindex 7814b474e..a11db3f69 100644--- a/frontend/src/assets/theme/styleGuard.test.mjs+++ b/frontend/src/assets/theme/styleGuard.test.mjs@@ -97,7 +97,7 @@ function countMatches(rule) {let total = 0for (const dir of SCAN_DIRS) {for (const file of walk(join(SRC_ROOT, dir))) {- const rel = relative(SRC_ROOT, file)+ const rel = relative(SRC_ROOT, file).replaceAll('\\', '/')if (EXEMPT_FILES.has(rel)) continueconst text = readFileSync(file, 'utf8')const n = (text.match(rule.pattern) ?? []).length