Documentation
¶
Overview ¶
clank-host is the Host plane binary. It owns the BackendManagers and SessionBackends and serves the host HTTP API on either a Unix socket (default for laptop hubs) or a TCP listener (for cloud sandboxes / in-process LocalLauncher tests).
In production it is spawned as a child process by clankd (the Hub). clankd connects via internal/host/client and routes every HUB-tagged operation through the wire.
Usage:
clank-host --socket /path/to/host.sock clank-host --listen tcp://127.0.0.1:0 # auto-pick port
On startup prints "listening on <addr>" — parents that picked port 0 read this to discover the bound address.
On SIGINT/SIGTERM the server shuts down gracefully and host.Service stops every registered backend.
Click to show internal directories.
Click to hide internal directories.