feat: Add per-agent file management controls with context-aware defaults (#3467)

This commit is contained in:
Matthew Zhou
2025-07-22 10:43:37 -07:00
committed by GitHub
parent f2495ce727
commit e62ddf8355
15 changed files with 526 additions and 100 deletions

View File

@@ -1427,6 +1427,7 @@ class SyncServer(Server):
files_metadata=[file_metadata_with_content],
visible_content_map=visible_content_map,
actor=actor,
max_files_open=agent_state.max_files_open,
)
for agent_state in agent_states
)
@@ -1460,6 +1461,7 @@ class SyncServer(Server):
files_metadata=file_metadata_with_content,
visible_content_map=visible_content_map,
actor=actor,
max_files_open=agent_state.max_files_open,
)
if closed_files: