An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Danielcb27729a3d70
diff --git a/app/src/layout/dock/AgentComposer.ts b/app/src/layout/dock/AgentComposer.tsindex 9be66ba6aa..db15427090 100644--- a/app/src/layout/dock/AgentComposer.ts+++ b/app/src/layout/dock/AgentComposer.ts@@ -212,7 +212,8 @@ export function mountComposer(host: HTMLElement, onSend: () => void): ComposerHareturn true;}if (event.key === "ArrowUp" && !suggestionMenu) {- const isEmpty = _view.state.doc.textContent.trim() === "";+ const isEmpty = _view.state.doc.childCount === 1 &&+ _view.state.doc.firstChild?.childCount === 0;if (isEmpty && history.length > 0) {event.preventDefault();if (historyIdx === -1) { historyIdx = history.length - 1; }