MCPconceptAPI Reference

Choose documentation 3

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.

mcp.caller.CallerIdentity.relation_to

#[must_use] pub fn relation_to( &self, pane_id: &str, server_socket: Option<&Path> ) -> Relation

Whether a pane on the given server is provably this process's own.

Description#

Positive only on a confirmed socket match, because this drives an annotation an agent reads as fact. Anything less is Relation::Other: a bare pane-id match across two sockets is the false positive this whole module exists to avoid.

Parameters
Esc

Type to search.

Reference previewOpen reference