| .. | ||
| cmd/cmuxd-remote | ||
| go.mod | ||
| README.md | ||
cmuxd-remote (Go)
Go remote daemon for cmux ssh bootstrap and capability negotiation.
Current commands:
cmuxd-remote versioncmuxd-remote serve --stdio
Current RPC methods (newline-delimited JSON):
hellopingproxy.openproxy.closeproxy.writeproxy.readsession.opensession.closesession.attachsession.resizesession.detachsession.status
Current integration in cmux:
workspace.remote.configurenow bootstraps this binary over SSH when missing.- Client sends
hellobefore enabling remote proxy transport. - Local workspace proxy broker serves SOCKS5 + HTTP CONNECT and tunnels stream traffic through
proxy.*RPC overserve --stdio. - Daemon status/capabilities are exposed in
workspace.remote.status -> remote.daemon(includingsession.resize.min).
workspace.remote.configure contract notes:
port/local_proxy_portaccept integer values and numeric strings; explicitnullclears each field.- Out-of-range values and invalid types return
invalid_params. local_proxy_portis an internal deterministic test hook used by bind-conflict regressions.- SSH option precedence checks are case-insensitive; user overrides for
StrictHostKeyCheckingand control-socket keys prevent default injection.