refactor(tools): unify filesystem tools and simplify host file IO - #1
Merged
Yuang-Deng merged 2 commits intoSep 15, 2026
Conversation
Yuang-Deng
marked this pull request as ready for review
September 15, 2026 08:02
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.
改动
统一宿主文件操作为
FileSystemToolkit,提供 read/write/edit/ls/glob/grep/mkdir/move/remove/stat,调整文件声明与路径解析,并简化宿主 IO 实现。同步 Agent、Writer、Skill 相关调用、文档和测试。内置命令工具统一使用
shell,移除旧download_file,更新 Agent 默认工具和代码审查调用。补充飞书、Notion exists 工具的参数说明,保证工具注册描述完整。目标为
codex/tool-host-access-lifecycle,供 LazyAGI#1320 集成。主仓库使用方:YuZou-coding/LazyMind#2 。验证
621e507a:现有 chat 容器内 Agent、内置工具、宿主文件生命周期三个测试文件,39 passed。