fn folder_pane(
workspace: &Path,
req: CommandPaneOpenData,
) -> Result<(CommandPaneOpenData, Option<Snapshot>), String>Expand description
A folder of the agent’s workspace as a Files pane confined to it: the pane is given the folder’s canonical host
path and carries it as files:root, which srv checks, resolved again, on every listing the pane asks for.