Expand description
Cross-surface probes: SSH, box CLI, status-api, MCP (PC + box).
One report powers TUI tabs, horto-os-ui surfaces, and Desktop Connection.
Structsยง
- ApiSurface
Probe - Status-api HTTP (+ optional unit via SSH).
- CliSurface
Probe - Box CLI probe row.
- McpHost
Probe - MCP readiness on one host (PC or box): stdio runtime + HTTP.
- SshSurface
Probe - SSH reachability / key auth.
- Surface
Probe Report - Full surface probe for tip + box.
Constantsยง
- DEFAULT_
MCP_ ๐IMAGE - Default MCP image tag (matches
docker/cursor-mcp-stdio.sh). - HTTP_
TIMEOUT ๐ - MCP_
HTTP_ ๐PORT - STATUS_
API_ ๐PORT
Functionsยง
- empty_
dash ๐ - find_
mcp_ ๐binary - find_
mcp_ ๐docker - finish_
http_ ๐get - format_
mcp_ ๐host_ line - format_
surfaces_ report - Human-readable multi-line report (CLI
surfaces). - http_
get_ label - Minimal HTTP/1.0 GET label for probes (no extra HTTP crate).
- local_
api_ token_ path - Path to the local tip API token file (UI display only).
- local_
pgrep_ ๐mcp - mcp_
image_ ๐name - probe_
api_ ๐row - probe_
api_ surface - Probe status-api only.
- probe_
cli_ ๐row - probe_
cli_ surface - Probe box CLI only.
- probe_
mcp_ ๐box - probe_
mcp_ ๐pc - probe_
mcp_ surface - Probe MCP PC + box only.
- probe_
ssh_ access BatchModeSSHtrueagainst the box (no password prompt).- probe_
ssh_ surface - Probe SSH only (
BatchMode). - probe_
surfaces - Probe all surfaces for a remote host, or loopback when
embedded. - read_
local_ api_ token - Read local tip bearer when present (hex only).
- ssh_
mcp_ ๐binary - ssh_
mcp_ ๐docker - ssh_
pgrep_ ๐mcp - ssh_
systemctl_ ๐active - tcp_
http_ ๐get