解决记忆文件菜单对应的工作记忆,记忆归档,核心文件,创建文件无法显示问题#162
Open
roc-xie wants to merge 1 commit intoqingchencloud:mainfrom
Open
Conversation
…t not appearing in the expected tabs.
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.
fixed the issue where memory files were being created successfully but not appearing in the expected tabs.
变更描述
Tab Directory Alignment:
Working Memory: Now correctly uses workspace/memory/.
Memory Archive: Now correctly uses workspace-memory/ (sibling of workspace).
Core Files: Now correctly uses workspace/ (the root).
Recursive Search: Updated the file listing to search subdirectories recursively and support more file extensions (.txt, .json, .jsonl).
Agent Support: Fixed the workspace path for non-default agents to use the correct agents/{id}/workspace structure.
Consistent Operations: Ensured that reading and deleting files now searches across all three categories, resolving "file not found" errors when navigating between tabs.
变更类型
测试清单
npm run build前端构建通过cargo checkRust 编译通过相关 Issue
截图 (如涉及 UI 变更)
修改前
我在.openclaw/workspace目录下新建了memory文件夹后,将文件移动到memory目录下后在工作记忆下可以显示文件信息
修改后
我创建.md文件分别在workspace的子目录memory和跟workspace平级的workspace-memory目录下存放,在界面显示为对应工作记忆和记忆归档选项卡下,核心文件显示workspace下的文件信息,修改前这些也没有在核心文件tab下显示