LibTmux.Mcp.TmuxServerInfo
- public sealed record TmuxServerInfo( string? Socket
Name , string? SocketPath , string? Version, int SessionCount , int WindowCount , int PaneCount , string? CallerPane , string? CallerId Pane );Socket -
What a tmux server is and how much it is holding.
- Parameters
-
-
SocketName(string?) – The-Lname this server answers on, or null when it was reached by path instead — a path-selected socket has no name of its own. -
SocketPath(string?) – The-Spath this server answers on, or null when reached by name. -
Version(string?) – The tmux version running it, or null when the server is not answering — including one that was running earlier in this process and has since exited, so this never reports a stale version for a server that is gone. -
SessionCount(int) – How many sessions it holds. -
WindowCount(int) – How many windows, across every session. -
CallerPaneId(string?) – The pane this server runs in, when it runs in one. -
CallerPaneSocket(string?) – The socket the caller's own pane lives on, when that is not this server's. A nullCallerPaneIdbeside a value here means the caller's terminal is on a different tmux server and no listing from this one can contain it — which is the default arrangement, not a failure to determine anything.
-
Properties8
| Name | Type | Description |
|---|---|---|
| SocketName | string? | The -L name this server answers on, or null when it was reached by
path instead — a path-selected socket has no name of its own. |
| SocketPath | string? | The -S path this server answers on, or null when reached by name. |
| Version | string? | The tmux version running it, or null when the server is not answering — including one that was running earlier in this process and has since exited, so this never reports a stale version for a server that is gone. |
| SessionCount | int | How many sessions it holds. |
| WindowCount | int | How many windows, across every session. |
| PaneCount | int | How many panes, across every window. |
| CallerPaneId | string? | The pane this server runs in, when it runs in one. |
| CallerPaneSocket | string? | The socket the caller's own pane lives on, when that is not this server's.
A null CallerPaneId beside a value here means the caller's terminal
is on a different tmux server and no listing from this one can contain it —
which is the default arrangement, not a failure to determine anything. |