An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa57aeb25e6650
diff --git a/app/src/boot/globalEvent/mousemove.ts b/app/src/boot/globalEvent/mousemove.tsindex 1cd11c9c22..71ce5b15c5 100644--- a/app/src/boot/globalEvent/mousemove.ts+++ b/app/src/boot/globalEvent/mousemove.ts@@ -194,7 +194,7 @@ export const windowMouseMove = (event: MouseEvent, mouseIsEnter: boolean) => {if (eventPath0 && eventPath0.nodeType !== 3 && eventPath0.classList.contains("av")) {// 数据库居中时光标在数据库侧边 https://github.com/siyuan-note/siyuan/issues/13853if (eventPath0.getAttribute("data-type") === "NodeAttributeView") {- const rowElement = hasClosestByClassName(document.elementFromPoint(eventPath0.firstElementChild.getBoundingClientRect().left + 10, event.clientY), "av__row")+ const rowElement = hasClosestByClassName(document.elementFromPoint(eventPath0.firstElementChild.getBoundingClientRect().left + 10, event.clientY), "av__row");if (rowElement && !rowElement.classList.contains("av__row--header")) {getAllEditor().find(item => {if (item.protyle.wysiwyg.element.contains(eventPath0)) {diff --git a/app/src/search/util.ts b/app/src/search/util.tsindex 37cafe11b7..14e4042f19 100644--- a/app/src/search/util.ts+++ b/app/src/search/util.ts@@ -1028,7 +1028,7 @@ const scrollToCurrent = (contentElement: HTMLElement,currentRange: Range, conten}}}-}+};const renderNextSearchMark = (options: {id: string,@@ -1056,7 +1056,7 @@ const renderNextSearchMark = (options: {if (!currentRange.toString()) {highlightById(options.edit.protyle, options.id);} else {- scrollToCurrent(options.edit.protyle.contentElement, currentRange, contentRect)+ scrollToCurrent(options.edit.protyle.contentElement, currentRange, contentRect);}}return;@@ -1130,12 +1130,12 @@ export const getArticle = (options: {if (isSupportCSSHL()) {searchMarkRender(options.edit.protyle, getResponse.data.keywords, options.id, () => {const highlightKeys = () => {- const currentRange = options.edit.protyle.highlight.ranges[options.edit.protyle.highlight.rangeIndex]+ const currentRange = options.edit.protyle.highlight.ranges[options.edit.protyle.highlight.rangeIndex];if (options.edit.protyle.highlight.ranges.length > 0 && currentRange) {if (!currentRange.toString()) {highlightById(options.edit.protyle, options.id);} else {- scrollToCurrent(options.edit.protyle.contentElement, currentRange, contentRect)+ scrollToCurrent(options.edit.protyle.contentElement, currentRange, contentRect);}} else {highlightById(options.edit.protyle, options.id);diff --git a/app/src/sync/syncGuide.ts b/app/src/sync/syncGuide.tsindex e19afc8f0d..1f251ba111 100644--- a/app/src/sync/syncGuide.ts+++ b/app/src/sync/syncGuide.ts@@ -150,7 +150,7 @@ export const syncGuide = (app?: App) => {/// #if MOBILEif (0 === window.siyuan.config.sync.provider) {if (needSubscribe()) {- return+ return;}} else if (!isPaidUser()) {showMessage(window.siyuan.languages["_kernel"][214]);