Commit graph

7 commits

Author SHA1 Message Date
Lawrence Chen
daa340fa87 Harden cmux ssh for mixed-version remote sessions 2026-02-24 22:09:27 -08:00
Lawrence Chen
257afc0623 Fix SSH relay/socket regressions and restore session/focus contracts 2026-02-24 21:20:24 -08:00
Raghav Pillai
946269455d Add CLI relay and docs for remote daemon
- Add CLI relay (cli subcommand and cmux symlink) to cmuxd-remote
- Implement socket discovery and TCP retry logic for relay connections
- Document CLI relay behavior, bootstrap symlink, and reverse TCP forwarding in README
- Update remote daemon spec with CLI relay details, status matrix, and PR reference
- Note bootstrap creates ~/.cmux/bin/cmux symlink and writes ~/.cmux/socket_addr
- Clarify integration steps and relay process behavior (ssh -N -R, ControlPath/ExitOnForwardFailure)
2026-02-23 18:42:44 +02:00
Raghav Pillai
1a1caca99d Add cmux CLI relay and tests
- Introduce CLI client (cmux) to relay v1 text and v2 JSON-RPC commands over Unix/TCP sockets
- Implement command specs, flag parsing, v1/v2 round-trips, TCP retry with address refresh
- Add browser subcommand mapping and rpc passthrough support
- Support busybox-style invocation when argv[0]=="cmux" and add 'cli' subcommand
- Add comprehensive unit tests for socket dialing, CLI commands, flag-to-param mapping, and env defaults
- Add socket_addr file fallback reader and random request id generation
2026-02-23 18:24:14 +02:00
Lawrence Chen
a40a972424 test: harden remote daemon bootstrap and failure coverage 2026-02-20 23:52:48 -08:00
Lawrence Chen
89fa361500 feat: bootstrap remote daemon over ssh for remote workspaces 2026-02-20 23:44:06 -08:00
Lawrence Chen
aaf2ef4c3a feat: add ssh reuse defaults and remote daemon scaffold 2026-02-20 23:32:48 -08:00