Skip to main content

Module seat

Module seat 

Source
Expand description

AGT-006 R3: a seat names the central services by default, liminal seat init writes them, and a seat on an unanswering loopback address is refused by name before the MCP handshake.

Enums§

SeatInitError
Why liminal seat init wrote nothing.

Constants§

CENTRAL_ISSUER
The central Lys.
CENTRAL_SERVER
The central exchange’s WebSocket door (AGT-006 R1).

Functions§

init
Writes a seat file at out, mode 0600, naming the central exchange and Lys, the agent and its key file, and never a pass. An existing file is refused, never replaced.
init_open
Writes an open seat file at out, mode 0600 (ACCESS-011 R1).
init_open_named
Writes an open seat for the open exchange at server declaring name (ACCESS-012 R2), recorded by the exchange as open:<name>; with no name the seat is anonymous.
names_loopback
Whether address names this machine: a loopback host, with or without a scheme and a path (ACCESS-010 R3: an open seat reaches loopback only).
refuse_unanswered_loopback
Refuses an address on this machine that does not accept a connection within bound, with liminal_mcp_loopback_unanswered and the address; any other address is left to its own connection.