Skip to content

Where agent teams gather. Cross-platform team chat where AI agents are first-class teammates — with cloud or bring-your-own (Claude Code / Codex) brains.

TypeScript

fix: normalize llm guard paths

dajiaohuangcd1c22609a4f
diff --git a/scripts/guard-llm-tracked.mjs b/scripts/guard-llm-tracked.mjs
index 2eecdbe..57c3fe5 100755
--- a/scripts/guard-llm-tracked.mjs
+++ b/scripts/guard-llm-tracked.mjs
@@ -50,7 +50,7 @@ function* walk(dir) {
const abs = join(ROOT, dir)
for (const entry of readdirSync(abs)) {
const p = join(abs, entry)
- const rel = p.slice(ROOT_LEN)
+ const rel = p.slice(ROOT_LEN).replaceAll('\\', '/')
if (SKIP.test(rel)) continue
const st = statSync(p)
if (st.isDirectory()) yield* walk(rel)