File Browser Actions
data class FileBrowserActions(val onOpenPath: (root: String, relativePath: String) -> Unit, val onPreview: (root: String, relativePath: String) -> Unit, val onClosePreview: () -> Unit, val onDelete: (root: String, relativePath: String) -> Unit, val onShare: (root: String, relativePath: String) -> Unit = { _, _ -> })
Grouped callbacks for the read-only-by-default app file browser. Delete and share are both capability-gated -- share hands the caller a real, unredacted file, the same reasoning that gates the browser's download route behind the files capability.