Expand description
agentmux-remote serve --stdio: file operations for srv over this
process’s stdin and stdout (fsproto), one request at a time, until
stdin closes (spec §6.1, §6.3). Paths are the host’s own; ~ and a
relative path are under the user’s home. Nothing here opens a socket or
reaches beyond what this user can already read and write.
Structs§
Functions§
- handle
- The reply to one request;
homeis the user’s home directory. AProcshere has no previous round, so its frame has no CPU rates: the serve loop answers it throughServerinstead. - home_
dir - resolve
- A request’s path on this host:
~and~/…under the home directory, a relative path too, an absolute one as given. - run
- Serve requests from
input, answering onoutput, untilinputends.homeis the user’s home directory (home_dir). - run_
with runwith aServermade by the caller (one that can ask the session daemon for a session’s shell:Server::with_sessions).
Type Aliases§
- Session
Pid - A durable session’s shell PID, by session id (the daemon’s).