A delegated DIRECTORY capability marker for a task param (D2). Like FileCap but relPath names a DIRECTORY: the host chroots the callee AT that directory (the whole subtree). Used for the pick-file roots — one chroot per root.

interface DirCap {
    $cap: "dir";
    mode: "ro" | "rw";
    mountId: string;
    relPath: string;
}

Properties

$cap: "dir"
mode: "ro" | "rw"
mountId: string
relPath: string