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: Improve browser UI verification guidance https://github.com/siyuan-note/siyuan/issues/19576
Danielb6549f65bea1
diff --git a/AGENTS.md b/AGENTS.mdindex 029768f5e6..912651922e 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -20,6 +20,7 @@ SiYuan repository guide. Module path `github.com/siyuan-note/siyuan`, license AG2. **Frontend build:** Do NOT run `pnpm build` — the developer runs `pnpm dev` manually, and `pnpm build` will conflict with it, producing broken bundles3. **Kernel development:** After modifying Go code, run `gofmt`, but do not compile the kernel binary or restart a running kernel; the developer handles both manually4. **Git:** **NEVER** run `git commit` / `git push` unless explicitly asked — no exceptions+5. **UI verification in a browser:** Open `/stage/build/desktop/` directly instead of `/`. The kernel selects the frontend bundle by User-Agent in `kernel/server/serve.go`, and a UA containing `Electron` is redirected to the Electron-only `/stage/build/app/`, which fails in a plain browser with `require is not defined`; VSCode's built-in browser sends such a UA. The Electron main window does not expose a remote debugging port by default### Encrypted notebook compatibility