rexec 0.1.1

Command execution aggregator for AI agents: a per-user host that runs commands in fresh PTYs, serialises their output to a shared console, strips ANSI escapes for the calling agent, and journals every run to a JSONL transcript.
Documentation
1
2
3
4
5
6
use std::path::PathBuf;

pub fn socket_path() -> PathBuf {
    let uid = nix::unistd::Uid::current().as_raw();
    PathBuf::from(format!("/tmp/.rexec-{uid}"))
}