summaryrefslogtreecommitdiff
path: root/scripts/sandbox_command.sh
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-16 23:33:12 -0700
committerN. Taylor Mullen <[email protected]>2025-05-16 23:34:48 -0700
commit5dcdbe64ab6ef2ca2692e75b8600b8726ac72178 (patch)
treeecc774a5e10c5d2e6c65d11ba0008edf3c9cb09e /scripts/sandbox_command.sh
parent58e02240612e0a0eddc1427a795f5003ee2b3d07 (diff)
refactor: Unify file modification confirmation state
- Modifies `EditTool` and `WriteFileTool` to share a single confirmation preference. - The "Always Proceed" choice for file modifications is now stored in `Config.alwaysSkipModificationConfirmation`. - This ensures that if a user chooses to always skip confirmation for one file modification tool, this preference is respected by the other. - `WriteFileTool` constructor now accepts `Config` instead of `targetDir` to facilitate this shared state. - Tests updated to reflect the new shared confirmation logic. Fixes https://b.corp.google.com/issues/415897960
Diffstat (limited to 'scripts/sandbox_command.sh')
0 files changed, 0 insertions, 0 deletions