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
Danielbef8d95db86e
diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.tsindex f53cbf569b..8f95268c69 100644--- a/app/src/layout/dock/AgentChat.ts+++ b/app/src/layout/dock/AgentChat.ts@@ -12,6 +12,7 @@ import {AgentSessionPanel} from "./AgentSessionPanel";import {getDockByType} from "../tabUtil";import {updateHotkeyAfterTip} from "../../protyle/util/compatibility";import {getLute} from "../../protyle/render/setLute";+import {setPanelFocus} from "../util";import {escapeAriaLabel, escapeHtml} from "../../util/escape";import {setPosition} from "../../util/setPosition";import {fetchPost} from "../../util/fetch";@@ -574,6 +575,7 @@ export class AgentChat extends Model {});this.parent.panelElement.addEventListener("click", (e: MouseEvent) => {+ setPanelFocus(this.parent.panelElement);const t = e.target as HTMLElement;let target = t;while (target && !target.isEqualNode(this.parent.panelElement)) {