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
Danielce522708dc6d
diff --git a/app/src/assets/scss/business/_agentComposer.scss b/app/src/assets/scss/business/_agentComposer.scssindex 1adb40046f..6cacfaf27c 100644--- a/app/src/assets/scss/business/_agentComposer.scss+++ b/app/src/assets/scss/business/_agentComposer.scss@@ -2,7 +2,7 @@outline: none;font-size: 14px;line-height: 1.6;- color: var(--b3-theme-on-surface);+ color: var(--b3-theme-on-background);min-height: 24px;max-height: 120px;overflow-y: auto;diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.tsindex 2c6bcebbfa..f53cbf569b 100644--- a/app/src/layout/dock/AgentChat.ts+++ b/app/src/layout/dock/AgentChat.ts@@ -2014,6 +2014,13 @@ export class AgentChat extends Model {this.addCopyButton(el, undefined, ts);this.scrollToBottom(true);}+ // 流式结束:移除普通 AI 消息的 streaming 状态。+ if (this.currentAIElement) {+ const bodyEl = this.currentAIElement.querySelector(".agent-chat__body") as HTMLElement;+ if (bodyEl) {+ bodyEl.classList.remove("agent-chat__body--streaming");+ }+ }this.flushThinkingStep();if (this.pendingConfirms.length > 0) {for (const c of this.pendingConfirms) {