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/17569#issuecomment-4317010234
Daniel59bfab321ba2
diff --git a/app/electron/main.js b/app/electron/main.jsindex 9303ebb180..4894c11071 100644--- a/app/electron/main.js+++ b/app/electron/main.js@@ -485,8 +485,7 @@ const initMainWindow = () => {});currentWindow.webContents.on('render-process-gone', (event, details) => {- console.log('Reason: ', details.reason);- console.log('Exit code', details.exitCode);+ writeLog("Render process gone [reason=" + details.reason + ", exitCode=" + details.exitCode + "]");});if (windowState.isDevToolsOpened) {diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex 369057baae..f54148c222 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -399,7 +399,6 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEvenfragment.appendChild(doc.body.firstChild);}- container.innerHTML = '';container.appendChild(fragment);document.body.removeChild(iframe);@@ -408,7 +407,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven// 编辑器内部粘贴const tempElement = document.createElement("div");if (1024 * 512 < siyuanHTML.length) {- await streamInsert(tempElement, siyuanHTML)+ await streamInsert(tempElement, siyuanHTML);} else {tempElement.innerHTML = siyuanHTML;}