Observation and filter schema

Copy Markdown View Source

Generated from LibTmux.Schema; regenerate with mix run scripts/generate_schema.exs. All current fields use the tmux 3.3 capture baseline. Coverage must still be loaded. Only nullable_integer admits nil; other unavailable or unloaded fields raise. Link IDs are {session_id, index, window_id} locally and three-element arrays on the wire. See filtering for Boolean, relation and error semantics.

session

Elixir fieldWire fieldValue categorytmux formatOperators
attachedattached:booleanDerivedequals, not, in, not_in
attached_countattachedCount:integersession_attachedequals, not, in, not_in, lt, lte, gt, gte
idid{:id, :session}session_idequals, not, in, not_in
namename:stringsession_nameequals, not, in, not_in, contains, starts_with, ends_with
RelationWire relationCardinalityTargetOperators
active_windowactiveWindowonewindowis, is_not
clientsclientsmanyclientsome, every, none, count
panespanesmanypanesome, every, none, count
window_linkswindowLinksmanywindow_linksome, every, none, count
windowswindowsmanywindowsome, every, none, count

window

Elixir fieldWire fieldValue categorytmux formatOperators
heightheight:integerwindow_heightequals, not, in, not_in, lt, lte, gt, gte
idid{:id, :window}window_idequals, not, in, not_in
layoutlayout:stringwindow_layoutequals, not, in, not_in, contains, starts_with, ends_with
namename:stringwindow_nameequals, not, in, not_in, contains, starts_with, ends_with
widthwidth:integerwindow_widthequals, not, in, not_in, lt, lte, gt, gte
zoomedzoomed:booleanwindow_zoomed_flagequals, not, in, not_in
RelationWire relationCardinalityTargetOperators
panespanesmanypanesome, every, none, count
sessionssessionsmanysessionsome, every, none, count
window_linkswindowLinksmanywindow_linksome, every, none, count
Elixir fieldWire fieldValue categorytmux formatOperators
activeactive:booleanwindow_activeequals, not, in, not_in
idid{:id, :window_link}Derivedequals, not, in, not_in
indexindex:integerwindow_indexequals, not, in, not_in, lt, lte, gt, gte
session_idsessionId{:id, :session}session_idequals, not, in, not_in
window_idwindowId{:id, :window}window_idequals, not, in, not_in
RelationWire relationCardinalityTargetOperators
sessionsessiononesessionis, is_not
windowwindowonewindowis, is_not

pane

Elixir fieldWire fieldValue categorytmux formatOperators
activeactive:booleanpane_activeequals, not, in, not_in
current_commandcurrentCommand:stringpane_current_commandequals, not, in, not_in, contains, starts_with, ends_with
current_pathcurrentPath:stringpane_current_pathequals, not, in, not_in, contains, starts_with, ends_with
deaddead:booleanpane_deadequals, not, in, not_in
exit_statusexitStatus:nullable_integerpane_dead_statusequals, not, in, not_in, lt, lte, gt, gte
heightheight:integerpane_heightequals, not, in, not_in, lt, lte, gt, gte
idid{:id, :pane}pane_idequals, not, in, not_in
indexindex:integerpane_indexequals, not, in, not_in, lt, lte, gt, gte
pidpid:integerpane_pidequals, not, in, not_in, lt, lte, gt, gte
titletitle:stringpane_titleequals, not, in, not_in, contains, starts_with, ends_with
widthwidth:integerpane_widthequals, not, in, not_in, lt, lte, gt, gte
window_idwindowId{:id, :window}window_idequals, not, in, not_in
RelationWire relationCardinalityTargetOperators
windowwindowonewindowis, is_not

client

Elixir fieldWire fieldValue categorytmux formatOperators
control_modecontrolMode:booleanclient_control_modeequals, not, in, not_in
heightheight:nullable_integerclient_heightequals, not, in, not_in, lt, lte, gt, gte
idid{:id, :client}client_nameequals, not, in, not_in
pidpid:integerclient_pidequals, not, in, not_in, lt, lte, gt, gte
session_idsessionId{:id, :session}session_idequals, not, in, not_in
widthwidth:integerclient_widthequals, not, in, not_in, lt, lte, gt, gte
RelationWire relationCardinalityTargetOperators
sessionsessiononesessionis, is_not