clank-host

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL