Skip to content

CapabilitiesGenerated

The capabilities a Kernel declares in requires { … }. A Kernel reaches the machine only through what it declares and is granted. File and clipboard access is the Host’s, controlled by --allow; see Capabilities & security.

Name Brief Builtins that need it
field.read Read the elements and extents of the Fields bound to its inputs, images included. at, fetch, at_linear, sample, count, size, isize
field.write Create and write its output Fields, images included. put, emit
input.read Read the pointer, buttons, keys, pad and wheel, and the window’s pixel size and scale. window, scale, pointer, pointer_down, button, stick, wheel, pads, key, typed
time.read Read the session clock and the sound rate. time, clock, rate, queued