fix(tools): scope file-read dedup to model context (#5775)

* fix(tools): scope file-read dedup to model context

* refactor(tools): narrow file-read context and build results lazily
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-15 16:09:56 +08:00
1 parent 47f77bdbcc
commit d386ba138e
10 files changed
+417 -176

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ async def test_restricted_project_can_read_only_enabled_plugin_skill(
reset_workspace_scope(token)
assert "plugin reference" in read_result
assert "File unchanged since last read" in repeated_read_result
assert repeated_read_result == read_result
assert activation_checks == 1
assert "outside allowed directory" in write_result
assert "outside allowed directory" in disabled_result