feat(chat): 支持 Desktop 与 WebUI 的结构化会话引用 - #660
Open
yovinchen wants to merge 7 commits into
Open
Conversation
…erences-658 # Conflicts: # crates/agent-ui/src/components/chat/MentionComposerOverlays.tsx
16 tasks
yovinchen
marked this pull request as ready for review
August 28, 2026 19:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Closes #658
功能摘要
@菜单中增加资源类型层,将原有文件/文件夹引用与历史会话引用分开。ReadConversation系统工具。工具只能读取当前用户消息明确引用的会话,并通过有界、绑定历史修订版本的分页机制按需读取。ReadConversation,明确展示其只读、条件启用属性。改动范围
agent-ui、agent-gui、agent-gui/src-tauri、agent-gateway、agent-gateway/webcrates/agent-ui/src/components/chat/MentionComposer*crates/agent-ui/src/components/chat/ChatHistorySidebarRows.tsxcrates/agent-ui/src/pages/chat/ChatComposerBar.tsxcrates/agent-ui/src/lib/chat/conversationReferenceDrag.tscrates/agent-ui/src/lib/chat/conversationSearch.tscrates/agent-ui/src/lib/chat/mentionReferences.tscrates/agent-ui/src/lib/chat/composerDraft.tscrates/agent-ui/src/lib/tools/builtinToolCatalog.tscrates/agent-gui/src/lib/tools/conversationTools.tscrates/agent-gui/src/pages/chat/**crates/agent-gui/src-tauri/src/services/gateway/**crates/agent-gateway/internal/**crates/agent-gateway/proto/v2/gateway.protocrates/agent-gateway/web/src/**截图与运行预览
截图清单:
@菜单,展示“文件和文件夹”与“会话”两个资源类型入口。ReadConversation工具。Issue #658 中的参考图片仅用于说明产品方向,不能作为本次实现的运行证据。
验证结果
mise exec -- pnpm test:guimise exec -- pnpm test:webuicargo test -p liveagent --libmise exec -- go test ./...mise exec -- pnpm build:guimise exec -- pnpm build:webuigit diff --check origin/main...HEADorigin/main的dbca2cd1,不存在剩余冲突。提交前检查