reportDataRequired
RunReport
Version-1 RunReport data for direct typed access, available after cleanup and redacted exactly like report(). This independent snapshot shares no mutable data with the renderer or execution result; editing it does not change report(). Copied results retain it even when report is wrapped.
reportRequired
(options?: RunReportOptions) => string
Render the immutable run snapshot as Markdown (default) or a JSON string, without filesystem reads. Includes committed Git statistics, observed failed tools, wall-clock duration and reported usage; unavailable data is explicit. Redaction applies to every report string.
observerErrorsOptional
readonly unknown[] | undefined
Sink and journal failures collected during the dispatch; they do not affect success. With a shared hub, also includes its earlier failures.
branchRequired
string
Work branch of this dispatch.
directoryRequired
string
Host worktree directory of this dispatch.
commitsRequired
readonly Commit[]
Commits created during the dispatch, as oid and subject; with several passes, the commits of every pass.
transcriptOptional
string | undefined
Host path of the captured native transcript, when the agent’s conversation was captured.
transcriptReferenceOptional
TransportReference | undefined
Pinned remote index for the final captured conversation, when using transported conversation storage.
logReferenceOptional
TransportReference | undefined
Versioned journal index for readJournal, for both local and remote persistence. Absent when logging is disabled or directed to stdout.
retainedDirectoryOptional
string | undefined
Worktree kept after closing because it was detached or held uncommitted changes.
fallbackOptional
FallbackRecord | undefined
Present only when the dispatch used a fallback agent: the candidate that produced this result and the candidates that stopped before it.
resumeRequired
<U = undefined>(options: ContinuationOptions<U>) => Promise<DispatchResult<U>>
Continue this conversation in a new cold dispatch with the agent that produced it; your options are merged over the original ones. Fails when no conversation was captured.
forkRequired
<U = undefined>(options: ContinuationOptions<U>) => Promise<DispatchResult<U>>
Continue a copy of this conversation in a new cold dispatch, leaving the original unchanged. Fails when no conversation was captured.
observationIdOptional
string | undefined
Tracking ID when createObservation() owns this dispatch session; use it with observation.readRun/watchRun when a transport is configured. Equal to the retained runId field. Absent for legacy hubs and nested dispatches, which join the parent projection. Continuations own new sessions.
runIdOptional
string | undefined
Tracking ID returned when createObservation() owns this dispatch session; absent for legacy hubs and nested dispatches. Read its persisted state through the observation client when a transport is configured. Retained for compatibility; prefer observationId when reading or watching tracking state.
textRequired
string
Text of every turn of the execution, joined with newlines, including response repair turns.
turnsRequired
readonly Turn[]
Every turn in order, including response repairs and turns resumed by steering.
usageRequired
Usage
Token counters summed over every turn; not a cost.
conversationOptional
string | undefined
Native conversation id of the last turn, when the agent reported one.
valueRequired
T
Parsed and validated response; undefined without a response option.
completedRequired
boolean
True when the last turn’s text contains a completion marker, or when a typed response was validated.
completionOptional
string | undefined
Completion marker found in the last turn’s text.