An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: Document custom attribute constant placement https://github.com/siyuan-note/siyuan/issues/18831
Vanessacc893216e7b4
diff --git a/AGENTS.md b/AGENTS.mdindex db5860b417..140bb06be8 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -110,6 +110,7 @@ SiYuan repository guide. Module path `github.com/siyuan-note/siyuan`, license AG7. **CSS positioning and scrolling:** When changing `position`, `transform`, `contain`, or `overflow` on a shared container, check the effects on descendant positioning reference frames, overlay coverage, and clipping. Prefer a dedicated container when a local control needs a positioning reference. For settings dialog changes, verify detail overlays, the top drag area, and scrollbar placement at different window widths8. **Built-in custom attributes:** Use the `custom-sy-` prefix for custom attributes owned by built-in features+ - Define custom attribute name constants in `app/src/constants.ts`, alongside similar constants in `Constants`, rather than in individual feature modules---