Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-raku latest

LibTmux.Capabilities

Source and package
Qualified name
LibTmux::Capabilities
Declared in
LibTmux
Package
LibTmux
Source
lib/LibTmux/Capabilities.rakumod
Anonymous class

Description#

Capability observations

Construction consumes explicit observations and packaged catalogue data. It never launches tmux. Replacing a daemon or negotiating connection flags needs a new capability object. The engine binds these observations to actual daemon identity; this class does not establish that identity by itself.

supports and require describe native features. A fallback identifies an alternative which the caller must choose explicitly. workaround describes required handling; it never claims the repair was performed. Field support does not mean the field was acquired or is available in every context.

Members21#

Common operations2#

  • status method Inspect one feature without I/O. Unknown names remain explicitly unknown.
  • require method Require native support or throw a typed, reason-bearing refusal.

Other members19#

  • client-version: Str:D property Independently observed executable version, retained for diagnostics.
  • clone method Reconstruct copies so changed observations cannot retain stale parsed evidence.
  • codec-profile method Codec identifier selected through catalogue policy: qa or t6.
  • daemon-version: Str:D property Version observed from the daemon; client version does not establish support.
  • Decision class Evidence and required handling; a repair policy never means repair ran.
  • features method All discoverable feature decisions for this immutable observation.
  • field-status method Availability of a registered field, independent of acquisition completeness.
  • incarnation: Str:D property Opaque immutable identity supplied by the engine's explicit identity probe.
  • layout-profile method Default captured-layout dialect. Control negotiation remains explicit.
  • negotiated-features: List:D property Flags already negotiated by an explicitly owned connection.
  • output-repair method Required legacy decoding stage: vis or none. No repair has run here.
  • parsed-client-version method Parsed executable release retained for diagnostics, not daemon feature decisions.
  • parsed-daemon-version method Parsed daemon release; syntactic stability does not establish a support profile.
  • require-field method Return the supported field specification or throw Unsupported with its reason.
  • source: Str:D property How the caller acquired the daemon observation.
  • supports method Native support only; an available fallback does not make the feature native.
  • supports-field method Whether the observed daemon supports the registered field; unknown means False.
  • workaround method Inspect an upstream defect. applies means handling is needed, not completed.
  • workarounds method All declared defects, including those which do not apply to this release.
Esc

Type to search.

Reference previewOpen reference