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:
Vanessa3c05a55135ee
diff --git a/app/src/layout/dock/Graph.ts b/app/src/layout/dock/Graph.tsindex 7cc19d280d..ddc33c0973 100644--- a/app/src/layout/dock/Graph.ts+++ b/app/src/layout/dock/Graph.ts@@ -665,7 +665,7 @@ export class Graph extends Model {position: {x: 0, y: 0},scale: initialScale,animation: false- })+ });}const time = 256;const intervalNodeTime = Math.max(Math.ceil(time / 8), 32);diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.tsindex 94d808082d..2e72fbd8d8 100644--- a/app/src/layout/dock/index.ts+++ b/app/src/layout/dock/index.ts@@ -538,7 +538,7 @@ export class Dock {if (this.layout.element.querySelector(".fullscreen")) {document.getElementById("drag")?.classList.remove("fn__hidden");}- const graph = this.data[type] as Graph+ const graph = this.data[type] as Graph;graph.destroy();}// 关闭 dock 后设置光标,初始化的时候不能设置,否则关闭文档树且多页签时会请求两次 getDoc@@ -757,7 +757,7 @@ export class Dock {resizeTabs(isSaveLayout);this.showDock();if (target.classList.contains("dock__item--active") && !hide && (type === "graph" || type === "globalGraph")) {- const graph = this.data[type] as Graph+ const graph = this.data[type] as Graph;graph.onGraph(false);}}diff --git a/app/src/protyle/wysiwyg/renderBacklink.ts b/app/src/protyle/wysiwyg/renderBacklink.tsindex 4ceea4916d..3c5b4cae80 100644--- a/app/src/protyle/wysiwyg/renderBacklink.ts+++ b/app/src/protyle/wysiwyg/renderBacklink.ts@@ -147,4 +147,4 @@ export const improveBreadcrumbAppearance = (element: HTMLElement) => {item.scrollLeft = (item.lastElementChild as HTMLElement).offsetLeft - item.clientWidth + 14;}});-}+};