Skip to content

解决记忆文件菜单对应的工作记忆,记忆归档,核心文件,创建文件无法显示问题#162

Open
roc-xie wants to merge 1 commit intoqingchencloud:mainfrom
roc-xie:develop
Open

解决记忆文件菜单对应的工作记忆,记忆归档,核心文件,创建文件无法显示问题#162
roc-xie wants to merge 1 commit intoqingchencloud:mainfrom
roc-xie:develop

Conversation

@roc-xie
Copy link
Copy Markdown

@roc-xie roc-xie commented Mar 28, 2026

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.

变更类型

  • 新功能 (feat)
  • Bug 修复 (fix)
  • 代码重构 (refactor)
  • 样式调整 (style)
  • 性能优化 (perf)
  • 文档更新 (docs)
  • 构建/CI 配置 (ci/build)
  • 其他 (chore)

测试清单

  • 本地运行 npm run build 前端构建通过
  • 本地运行 cargo check Rust 编译通过
  • 在 macOS 上测试通过
  • 在 Windows 上测试通过
  • 在 Linux 上测试通过
  • 新功能已添加对应测试
  • 所有现有测试通过

相关 Issue

截图 (如涉及 UI 变更)

修改前
我在.openclaw/workspace目录下新建了memory文件夹后,将文件移动到memory目录下后在工作记忆下可以显示文件信息
修改后
我创建.md文件分别在workspace的子目录memory和跟workspace平级的workspace-memory目录下存放,在界面显示为对应工作记忆和记忆归档选项卡下,核心文件显示workspace下的文件信息,修改前这些也没有在核心文件tab下显示

image image image image 修改后 image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant