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:
Vanessa4680e709f46f
diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.tsindex d4dc45067d..cefd6bfdd8 100644--- a/app/src/layout/Wnd.ts+++ b/app/src/layout/Wnd.ts@@ -168,7 +168,7 @@ export class Wnd {}) {const it = this as HTMLElement;if(!window.siyuan.currentDragOverTabHeadersElement) {- window.siyuan.currentDragOverTabHeadersElement = it+ window.siyuan.currentDragOverTabHeadersElement = it;} else {if (!window.siyuan.currentDragOverTabHeadersElement.isSameNode(it)) {window.siyuan.currentDragOverTabHeadersElement.classList.remove("layout-tab-bars--drag");diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 441b2dff6b..71b7e1d982 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -1181,7 +1181,7 @@ data-type="navigation-root" data-path="/">countHTML = `<span class="popover__block counter b3-tooltips b3-tooltips__nw" aria-label="${window.siyuan.languages.ref}">${item.count}</span>`;}const ariaLabel = this.genDocAriaLabel(item, escapeAriaLabel);- const paddingLeft = (item.path.split("/").length - 1) * 18+ const paddingLeft = (item.path.split("/").length - 1) * 18;return `<li data-node-id="${item.id}" data-name="${Lute.EscapeHTMLStr(item.name)}" draggable="true" data-count="${item.subFileCount}"data-type="navigation-file"style="--file-toggle-width:${paddingLeft + 18}px"diff --git a/app/src/search/util.ts b/app/src/search/util.tsindex a04117a5c5..9b9cdb2ed1 100644--- a/app/src/search/util.ts+++ b/app/src/search/util.ts@@ -1102,7 +1102,7 @@ export const getArticle = (options: {if (isSupportCSSHL()) {searchMarkRender(options.edit.protyle, getResponse.data.keywords, options.id, () => {if (options.edit.protyle.highlight.ranges.length > 0 && options.edit.protyle.highlight.ranges[options.edit.protyle.highlight.rangeIndex]) {- const blockElement = hasClosestBlock(options.edit.protyle.highlight.ranges[options.edit.protyle.highlight.rangeIndex].startContainer)+ const blockElement = hasClosestBlock(options.edit.protyle.highlight.ranges[options.edit.protyle.highlight.rangeIndex].startContainer);if (blockElement && blockElement.getAttribute("data-node-id") !== options.id) {highlightById(options.edit.protyle, options.id);} else {