pub struct BuildView {
pub agent: Option<String>,
pub ended_at: Option<String>,
pub model: Option<String>,
pub org: Option<String>,
pub project: Option<String>,
pub repo: Option<String>,
pub session: Option<String>,
pub started_at: Option<String>,
pub status: Option<String>,
pub title: Option<String>,
pub turns: Option<Vec<BuildTurn>>,
pub verify: Option<String>,
}Fields§
§agent: Option<String>Agent is the label the surface that did the work calls itself by.
ended_at: Option<String>EndedAt is when it finished, same format. Empty means it has not — the build is still going.
model: Option<String>Model is the model that did the work, taken from the FIRST turn whose body names one — a transcript states it, this route does not resolve it. Empty when no turn said.
org: Option<String>Org is the org that published this build, echoed from the URL. It is part of the build’s public ADDRESS and not a tenant key — this route is anonymous, and the only rows it can reach are ones an author explicitly published.
project: Option<String>Project is the product’s slug, the other half of that address.
repo: Option<String>Repo is the repository the work was done in, as the session reported it.
session: Option<String>Session is the id of the agent session this story IS — the same value a produced commit carries in its Hanzo-Session: trailer, which is what ties the repository’s history to this page.
started_at: Option<String>StartedAt is when the session opened, RFC 3339 in UTC.
status: Option<String>Status is the session’s own: running, paused, done or error. A build can be read while it is still being written, so this is not always terminal — and an error build is still a readable story, not a missing page.
title: Option<String>Title is the human line the session was opened or renamed with. Empty when nobody gave it one.
turns: Option<Vec<BuildTurn>>Turns is the whole transcript, oldest first, capped at 1000: a published build is a story to read down, not an archive to page.
verify: Option<String>Verify is the exact command that re-derives every commit binding below straight from git, so nothing here has to be taken on trust.