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/6415
Vanessaca38d2dc9a2e
diff --git a/app/src/config/editor.ts b/app/src/config/editor.tsindex 0b713b6c44..4b6a95f604 100644--- a/app/src/config/editor.ts+++ b/app/src/config/editor.ts@@ -173,6 +173,14 @@ export const editor = {<span class="fn__space"></span><input class="b3-text-field fn__flex-center fn__size200" id="plantUMLServePath" value="${window.siyuan.config.editor.plantUMLServePath}"/></label>+<label class="fn__flex b3-label">+ <div class="fn__flex-1">+ ${window.siyuan.languages.dynamicLoadBlocks}+ <div class="b3-label__text">${window.siyuan.languages.dynamicLoadBlocksTip}</div>+ </div>+ <span class="fn__space"></span>+ <input class="b3-text-field fn__flex-center fn__size200" id="dynamicLoadBlocks" type="number" min="128" max="1024" value="${window.siyuan.config.editor.dynamicLoadBlocks}"/>+</label><label class="fn__flex b3-label"><div class="fn__flex-1">${window.siyuan.languages.md37}@@ -269,6 +277,7 @@ export const editor = {virtualBlockRefInclude: (editor.element.querySelector("#virtualBlockRefInclude") as HTMLInputElement).value,virtualBlockRefExclude: (editor.element.querySelector("#virtualBlockRefExclude") as HTMLInputElement).value,blockRefDynamicAnchorTextMaxLen: parseInt((editor.element.querySelector("#blockRefDynamicAnchorTextMaxLen") as HTMLInputElement).value),+ dynamicLoadBlocks: parseInt((editor.element.querySelector("#dynamicLoadBlocks") as HTMLInputElement).value),codeLigatures: (editor.element.querySelector("#codeLigatures") as HTMLInputElement).checked,codeTabSpaces: parseInt((editor.element.querySelector("#codeTabSpaces") as HTMLInputElement).value),fontSize: parseInt((editor.element.querySelector("#fontSize") as HTMLInputElement).value),diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex 7c1aa57899..bff54ace41 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -248,6 +248,7 @@ declare interface IEditor {katexMacros: string;fullWidth: boolean;floatWindowMode: number;+ dynamicLoadBlocks: number;fontSize: number;generateHistoryInterval: number;historyRetentionDays: number;