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/18000
Daniel302b584593ca
diff --git a/app/src/layout/dock/agent/AgentComposer.ts b/app/src/layout/dock/agent/AgentComposer.tsindex 9cf00e571f..eec792f2b2 100644--- a/app/src/layout/dock/agent/AgentComposer.ts+++ b/app/src/layout/dock/agent/AgentComposer.ts@@ -72,6 +72,9 @@ export function mountComposer(host: HTMLElement, onSend: () => void, onChange?:suggestionMenu = document.createElement("div");suggestionMenu.className = "b3-list b3-list--background agent-mention-menu protyle-hint";+ // 候选列表挂载到 body 上,需参与 window.siyuan.zIndex 自增层级体系,+ // 否则悬浮模式下的智能体面板(z-index ≥ 10)会将其遮盖+ suggestionMenu.style.zIndex = (++window.siyuan.zIndex).toString();suggestionMenu.innerHTML = '<div style="flex: 1;overflow:auto;"></div>';for (let i = 0; i < items.length; i++) {const item = items[i];