From 0ae318a6b33c2de5fd533abbcfee6493f9845a3c Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Sun, 9 Aug 2026 13:40:45 +0800 Subject: [PATCH] feat(agent): add document entry in sidebar footer and toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AgentSidebar: add '文档' link in footer-links (desktop + mobile) - AgentToolbar: add file-text icon button linking to /agent-documents - Users can now access documents directly from the chat interface Co-authored-by: CodeFree --- app/components/agent/AgentSidebar.vue | 8 ++++++++ app/components/agent/AgentToolbar.vue | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/app/components/agent/AgentSidebar.vue b/app/components/agent/AgentSidebar.vue index 32c8b35..47a3216 100644 --- a/app/components/agent/AgentSidebar.vue +++ b/app/components/agent/AgentSidebar.vue @@ -53,6 +53,10 @@ const isAdmin = computed(() => props.user?.role === "admin");