Repository navigation
Runs every CLI tool in its own empty, private working directory.
What's new
- Each
POST /executerequest gets a new temporary directory (mode 700). The tool runs there instead of in your home directory, and the directory is removed when the tool exits, including after a timeout or an error. Before, a tool with file tools (such as Claude Code's Read) started in~and could be prompted into reading your files. - Attachments are written into that same directory, so
{{files_dir}}is now the tool's working directory. GET /healthreportsisolated_cwdinfeatures(["files", "isolated_cwd"]), so clients can check that the relay no longer runs tools in~.- Refused requests (400 and 500) remove the directory before replying.
Requests are otherwise unchanged from v1.1.0.
Upgrade
ddev add-on get Performant-Labs/ddev-cli-relay && ddev restartThe Drupal ai_provider_cli module's status report warns when the relay is older than this version.