feat: Agent 支持通过引用方式附加文件(文件夹之前已实现)#85
Open
zongshuai818 wants to merge 3 commits intoErlichLiu:mainfrom
Open
Conversation
- 在 AgentSessionMeta 中添加 attachedFiles 字段存储附加文件路径 - 新增 attachFile/detachFile IPC 通道和处理器 - 修改选择文件功能为附加文件,通过引用方式附加而不是复制 - 更新文件浏览器 UI,统一展示附加的文件和文件夹 - 附加的文件通过 SDK additionalDirectories 参数传递,Agent 可以通过 @ 引用 - 附加文件支持三点菜单操作(打开、在文件夹中显示、移除)
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.
功能描述
支持通过引用方式附加外部文件到 Agent 会话,不再复制文件到工作区。
主要变更
1. 新增功能 (053c738)
2. Bug 修复 (1165d89)
测试计划
相关文件