pub struct DelegationInfo {Show 14 fields
pub handle: String,
pub agent: String,
pub session: String,
pub depth: u32,
pub pid: u32,
pub owner_pid: u32,
pub processes: u32,
pub cwd: String,
pub started_unix_seconds: u64,
pub orphaned: bool,
pub conversation: Option<String>,
pub turn: Option<u32>,
pub idle_since_unix_seconds: Option<u64>,
pub background_jobs: Option<u32>,
}Expand description
One running delegated agent.
Fields§
§handle: StringThe delegation to stop.
agent: StringThe agent, such as codex.
session: StringThe SCV session that started it.
depth: u32Delegation depth: 1 for an agent SCV started directly.
pid: u32The agent’s process ID (and process group).
owner_pid: u32The SCV process that started it.
processes: u32Live processes in its group plus tagged processes outside it.
cwd: StringIts working directory.
started_unix_seconds: u64When it started.
orphaned: boolThe owning SCV process is gone; the daemon will stop it.
conversation: Option<String>The conversation this run is a turn of, and which turn.
turn: Option<u32>Which turn of that conversation.
idle_since_unix_seconds: Option<u64>A live agent (a nested SCV or an ACP agent) with no turn running: when its last turn ended. Absent while it works, for a per-turn run, and from older daemons.
background_jobs: Option<u32>A nested SCV’s own background jobs that still run or wait to be reported to it; a planned restart waits for them even between turns. Absent when there are none, for other agents, and from older daemons.