fix(cli): avoid catalog validation in agents add (#88314)

Fixes #76284.

Thanks @zhangguiping-xydt.

Co-authored-by: 张贵萍0668001030 <zhang.guiping@xydigit.com>
This commit is contained in:
zhang-guiping
2026-06-01 02:22:16 +08:00
committed by GitHub
parent a88e4fb7e0
commit 2fbddce881
4 changed files with 66 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
document.documentElement.setAttribute("data-theme", resolved);
document.documentElement.setAttribute(
"data-theme-mode",
resolved.indexOf("light") !== -1 ? "light" : "dark",
resolved.includes("light") ? "light" : "dark",
);
} catch (e) {}
})();