pub struct WorkbenchJob {Show 18 fields
pub session: String,
pub job: String,
pub agent: String,
pub task: String,
pub workspace: String,
pub cwd: String,
pub state: AgentState,
pub detail: Option<String>,
pub started_by: JobOrigin,
pub conversation: Option<String>,
pub run: Option<String>,
pub worktree: Option<WorktreeRef>,
pub reviewed: bool,
pub resumable: bool,
pub resumed_as: Option<String>,
pub attach: Option<AttachOffer>,
pub created_unix_seconds: u64,
pub updated_unix_seconds: u64,
}Expand description
One background job, from the instance’s job ledger and, while it runs, its live state.
Fields§
§session: StringThe session that owns it.
job: StringIts handle in that session, such as job-3.
agent: StringThe agent that runs it, such as codex.
task: StringThe first line of its prompt, shortened.
workspace: StringThe session’s workspace.
cwd: StringWhere its agent runs: a directory in the workspace, or its worktree.
state: AgentStateWhat it is doing.
detail: Option<String>SCV’s words for that state.
started_by: JobOriginWho started it.
conversation: Option<String>The conversation it runs a turn of, such as codex-2, once known.
run: Option<String>The delegated run serving it now, or that served it last.
worktree: Option<WorktreeRef>The worktree SCV created for it.
reviewed: boolA reviewed job (review), whose journal holds its rounds.
resumable: boolThe owner can resume it from the workbench.
resumed_as: Option<String>The job it was resumed as, <session>/<job>, once it was.
attach: Option<AttachOffer>Whether the owner can take conversation over in its agent’s own
terminal now, and why not. Absent without a conversation the owner
can reach, and from daemons that predate it.
created_unix_seconds: u64When it was started.
updated_unix_seconds: u64When its record last changed.