Preapprove agent tmp directory access (#25226)

This commit is contained in:
Dax
2026-04-30 23:47:15 -04:00
committed by GitHub
parent 33f7f593ee
commit 2283979199
4 changed files with 14 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@ Be aware: OS: ${os}, Shell: ${shell}
All commands run in the current working directory by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.
Use `${tmp}` for temporary work outside the workspace. This directory is pre-approved for external directory access.
IMPORTANT: This tool is for terminal operations like git, npm, docker, etc. DO NOT use it for file operations (reading, writing, editing, searching, finding files) - use the specialized tools for this instead.
Before executing the command, please follow these steps: