SharedFolders
Folders the user shares with the agent through the Storage Access Framework, mounted into FileSystem at /mnt/<name>:
val pick = rememberLauncherForActivityResult(ActivityResultContracts.OpenDocumentTree()) { uri -> uri?.let(folders::add) }
val files = FileSystem(workspace, mounts = folders::mounts)Content copied to clipboard
Access survives restarts (persisted URI permissions) until removed.
Functions
Link copied to clipboard
Keep access to the folder at uri (from OpenDocumentTree) and mount it; returns its mount.