pub enum Command {
Show 25 variants
Status,
Whoami,
PairCreate {
label: Option<String>,
expire_secs: Option<u64>,
},
PairList,
PairRevoke {
id: String,
},
PairRevokeAll,
RepoRegister {
path: String,
},
RepoList,
RepoUnregister {
repo_id: String,
},
RepoSetDefaultBranch {
repo_id: String,
branch: String,
},
WorkstreamCreate {
repo_id: String,
name: Option<String>,
branch: Option<String>,
fetch_latest: bool,
},
WorkstreamList {
repo_id: Option<String>,
},
WorkstreamDelete {
workstream_id: String,
},
AgentSpawn {
workstream_id: String,
prompt: String,
},
AgentSpawnInPlace {
workstream_id: String,
tmux_window: u32,
prompt: Option<String>,
},
AgentKill {
agent_id: String,
},
AgentList {
workstream_id: String,
},
ShellSpawn {
workstream_id: String,
},
ShellKill {
shell_id: String,
},
ShellList {
workstream_id: String,
},
ShellRegister {
workstream_id: String,
tmux_window: u32,
},
AttachShell {
shell_id: String,
},
DetachShell {
shell_id: String,
},
PtyInput {
shell_id: String,
data: String,
},
PtyResize {
shell_id: String,
cols: u16,
rows: u16,
},
}Variants§
Status
Whoami
PairCreate
PairList
PairRevoke
PairRevokeAll
RepoRegister
Register a git repository. Unix-socket only (LocalOnly on TCP).
RepoList
RepoUnregister
RepoSetDefaultBranch
Update the default branch stored for a repo. Unix-socket only.
WorkstreamCreate
Fields
WorkstreamList
repo_id = None means all repos
WorkstreamDelete
AgentSpawn
AgentSpawnInPlace
Claim the caller’s current tmux window as an agent (in-place conversion). The daemon registers the agent and returns the command to exec.
Fields
AgentKill
AgentList
ShellSpawn
Spawn a new shell window in a workstream (creates a new tmux window).
ShellKill
Kill a shell session.
ShellList
List shell sessions for a workstream.
ShellRegister
Sent by vex shell to register itself with vexd after launching.
AttachShell
Attach to a shell session’s PTY stream.
After the response ShellAttached, the connection switches to PTY
streaming mode: vexd emits PtyOutput frames; client sends
PtyInput / PtyResize frames.
DetachShell
Detach the current client from a shell session.
PtyInput
Send keyboard input to a shell’s PTY (base64-encoded bytes).
PtyResize
Resize a shell’s PTY.