Backend that proxies read/write through ACP client while using local filesystem for ls, glob, grep operations.
class ACPFilesystemBackendDelete a file or directory from the filesystem.
Files are unlinked. Directories are removed recursively along with all of their contents. Symlinks are removed as links and never followed into their targets.
Download multiple files from the filesystem.
Edit a file by replacing string occurrences. Returns EditResult. External storage sets filesUpdate=null.
Structured glob matching returning FileInfo objects.
Search for a literal text pattern in files.
Uses ripgrep if available, falling back to substring search.
List files and directories in the specified directory (non-recursive).
Read file via ACP client (gets unsaved editor buffers). Falls back to local filesystem if ACP read fails.
Read file content as raw FileData.
Upload multiple files to the filesystem.
Write file via ACP client (IDE tracks modifications). Falls back to local filesystem if ACP write fails.