LibTmux.Mcp.TmuxConnectionAccessor
-
Holds the tmux servers this process talks to, one per socket.
Description
A conversation outlives any single tool call, so connecting once and keeping the handle costs one process launch instead of one per call. Sockets are cached separately because a machine runs several tmux servers at once — a user's own, a test rig's, a sandbox's — and they are different servers with the same commands, not one server addressed two ways.
When no template is supplied, the tmux binary comes from
LIBTMUX_TMUX. An explicit template is already a pinned route and wins over later process-environment changes.
Properties1
| Name | Type | Description |
|---|---|---|
| DefaultSocketName | string? | Gets the socket used when a call names none. |
Other members4 members
- TmuxConnectionAccessor Initializes the accessor.
- Dispose
- GetAsync Answers a server, connecting on the first ask for that socket.
- Invalidate Forgets a cached server so the next call reconnects.