An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/pull/13761
Vanessacb4b2f85070b
diff --git a/app/src/config/index.ts b/app/src/config/index.tsindex 5662fbddd1..0f372ab87c 100644--- a/app/src/config/index.ts+++ b/app/src/config/index.ts@@ -1,3 +1,6 @@+/// #if MOBILE+import {popMenu} from "../mobile/menu";+/// #elseimport {editor} from "./editor";import {about} from "./about";import {appearance} from "./appearance";@@ -17,6 +20,7 @@ import {publish} from "./publish";import {App} from "../index";import {isHuawei, isInHarmony} from "../protyle/util/compatibility";import {Constants} from "../constants";+/// #endifexport const genItemPanel = (type: string, containerElement: Element, app: App) => {switch (type) {@@ -91,6 +95,9 @@ export const genItemPanel = (type: string, containerElement: Element, app: App)};export const openSetting = (app: App) => {+ /// #if MOBILE+ popMenu();+ /// #elseconst exitDialog = window.siyuan.dialogs.find((item) => {if (item.element.querySelector(".config__tab-container")) {item.destroy();@@ -168,4 +175,5 @@ export const openSetting = (app: App) => {editor.element = dialog.element.querySelector('.config__tab-container[data-name="editor"]');editor.bindEvent();return dialog;+ /// #endif};