New tools for code modification: - EditFileTool: find-and-replace with safety checks (unique match required) - WriteFileTool: create/overwrite files with path validation - BashTool: full bash with controlled write access Security controls on BashTool: - Allowed: mkdir, touch, cp, mv, rm (single files), git, pip, pytest - Forbidden: sudo, curl, wget, ssh, rm -rf, chmod 777 Includes 39 new tests (78 total now passing). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8 lines
188 B
Python
8 lines
188 B
Python
"""
|
|
Shell execution tools.
|
|
"""
|
|
from src.domains.tools.shell.bash import BashReadOnlyTool
|
|
from src.domains.tools.shell.bash_full import BashTool
|
|
|
|
__all__ = ["BashReadOnlyTool", "BashTool"]
|