# LibTmux.Capabilities

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Capabilities.hs
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-capabilities/

Discover daemon-dependent application operations before creating resources.
 The table describes the complete Haskell operation, including its required
 exit observation. The general library admission floor remains separate.

## Members

### Common operations

- [`capabilityRegistry`](/en/haskell/latest/reference/libtmux-capabilities-v-capabilityregistry/) (function): The daemon-dependent requirements read by runtime gates. Program input
 and screen observation share the program lifetime contract, which requires
 tmux 3.8 event waits.
- [`requireCapability`](/en/haskell/latest/reference/libtmux-capabilities-v-requirecapability/) (function): Refuse an unavailable operation without performing external effects.
- [`supports`](/en/haskell/latest/reference/libtmux-capabilities-v-supports/) (function): Whether this complete operation is available. This is a version check;
 host process-group support and endpoint liveness are checked separately.

### Other members

- [`Capabilities`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilities/) (data type): A release supplied by the caller, or observed from the pinned daemon by
 :obj:`serverCapabilities <LibTmux.Server#v:serverCapabilities>`. A client executable's release is irrelevant.
- [`capabilitiesFor`](/en/haskell/latest/reference/libtmux-capabilities-v-capabilitiesfor/) (function): Evaluate the registry against a supplied version without external effects.
- [`Capability`](/en/haskell/latest/reference/libtmux-capabilities-t-capability/) (data type): Individually discoverable daemon operations and command flags.
- [`CapabilityError`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilityerror/) (data type): An unavailable operation and the actual daemon release.
- [`CapabilityHandling`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilityhandling/) (data type): Refuse the operation or use an older native behavior below its floor.
- [`capabilityInfo`](/en/haskell/latest/reference/libtmux-capabilities-v-capabilityinfo-wjis/) (function): The authoritative requirement for an operation.
- [`CapabilityInfo`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilityinfo/) (data type): One canonical feature requirement and its behavior below :obj:`since <LibTmux.Capabilities#v:CapabilityInfo.since>`.
- [`capabilityManifest`](/en/haskell/latest/reference/libtmux-capabilities-v-capabilitymanifest/) (function): The shared `libtmux-capabilities/1` projection of the runtime registry.
 Its vocabulary currently names none of this port's gated operations, so
 both claim arrays are empty. :obj:`capabilityRegistry <LibTmux.Capabilities#v:capabilityRegistry>` still reports every
 Haskell operation and :obj:`supports <LibTmux.Capabilities#v:supports>` checks the connected daemon's release.
 The unit suite checks the packaged `capabilities.json` against this value.
- [`daemonVersion`](/en/haskell/latest/reference/libtmux-capabilities-v-daemonversion/) (function): The release against which these capabilities were evaluated.

## Referenced by

- [`LibTmux`](/en/haskell/latest/reference/libtmux/) (module)
