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/issues/8654
Vanessa891867b0f2dc
diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.tsindex 39cc663df2..3c7fd31507 100644--- a/app/src/mobile/editor.ts+++ b/app/src/mobile/editor.ts@@ -12,7 +12,6 @@ import {hideElements} from "../protyle/ui/hideElements";import {pushBack} from "./util/MobileBackFoward";import {setStorageVal} from "../protyle/util/compatibility";import {showMessage} from "../dialog/message";-import {saveScroll} from "../protyle/scroll/saveScroll";import {App} from "../index";export const getCurrentEditor = () => {diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.tsindex e7669b9fd1..06c08368d4 100644--- a/app/src/protyle/breadcrumb/index.ts+++ b/app/src/protyle/breadcrumb/index.ts@@ -198,7 +198,7 @@ export class Breadcrumb {if (!blockElement) {blockElement = getNoContainerElement(protyle.wysiwyg.element.firstElementChild) || protyle.wysiwyg.element.firstElementChild;}- const id = blockElement.getAttribute("data-node-id")+ const id = blockElement.getAttribute("data-node-id");fetchPost("/api/block/getBlockBreadcrumb", {id, excludeTypes: []}, (response) => {response.data.forEach((item: IBreadcrumb) => {let isCurrent = false;@@ -214,7 +214,7 @@ export class Breadcrumb {click() {zoomOut({protyle, id: item.id, focusId: id});}- })+ });});menu.fullscreen();});@@ -242,7 +242,7 @@ export class Breadcrumb {}fetchPost("/api/block/getTreeStat", {id: id || (protyle.block.showAll ? protyle.block.id : protyle.block.rootID)}, (response) => {window.siyuan.menus.menu.remove();- window.siyuan.menus.menu.element.setAttribute("data-name", "breadcrumbMore")+ window.siyuan.menus.menu.element.setAttribute("data-name", "breadcrumbMore");if (!protyle.contentElement.classList.contains("fn__none") && !protyle.disabled) {let uploadHTML = "";uploadHTML = '<input class="b3-form__upload" type="file" multiple="multiple"';diff --git a/app/src/protyle/header/openTitleMenu.ts b/app/src/protyle/header/openTitleMenu.tsindex 94dbf7e024..0c90ce8c2f 100644--- a/app/src/protyle/header/openTitleMenu.ts+++ b/app/src/protyle/header/openTitleMenu.ts@@ -161,4 +161,4 @@ ${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14))window.siyuan.menus.menu.popup(position, position.isLeft);});-}+};