Expand description
Standard node kit cores: dig2browser (d2b), mail4agent (m4a), the four
session-restore crates (session-restore) and kernel WireGuard
(wireguard). Each core is compiled only with its own feature; the default
build (kit) enables all of them.
Structs§
- Mailbox
Handle - Handle of the background mailbox thread.
Enums§
- Courier
Plan - What the node does about the courier port at start.
Constants§
- COURIER_
BIND_ ENV - Env var mail4agent reads for its bind address (also set by
--m4a-bind). - COURIER_
DEFAULT_ BIND - mail4agent’s default bind.
- COURIER_
MIN_ VERSION - Oldest courier version the node treats as current (the linked mail4agent).
Functions§
- courier_
bind - The configured courier address (
MAIL4AGENT_BIND, else the default). - force_
link - Touches a real symbol in each enabled core so the node binary links them.
Does not start a browser, a provider CLI, or a tunnel, and does not read
a secret. The mailbox is started separately by
start_mailbox. - linked_
core_ names - Names of the cores linked into this build, in owner order.
- plan_
courier - Decide
CourierPlanforaddrviacrate::local_infra::probe. - start_
mailbox - Start the mail4agent mailbox on a background thread (
m4aonly). Same daemon the standalonemail4agentbinary runs. - start_
or_ attach_ mailbox - Start our mailbox, attach to a running courier, or run without one. Never exits the process. Returns the handle when our own mailbox runs.