resumeRequired
<U = undefined>(options: DispatchOptions<U>) => Promise<WarmDispatchResult<U>>
Continue this conversation on the same open sandbox with new dispatch options.
forkRequired
<U = undefined>(options: DispatchOptions<U>) => Promise<WarmDispatchResult<U>>
Continue a copy of this conversation on the same open sandbox, leaving the original unchanged.
textRequired
string
Text of every turn of the execution, joined with newlines, including response repair turns.
conversationOptional
string | undefined
Native conversation id of the last turn, when the agent reported one.
completionOptional
string | undefined
Completion marker found in the last turn’s text.
usageRequired
Usage
Token counters summed over every turn; not a cost.
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.
completedRequired
boolean
True when the last turn’s text contains a completion marker, or when a typed response was validated.
branchRequired
string
Work branch of this dispatch.
directoryRequired
string
Host worktree directory of this dispatch.
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.
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.
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.
turnsRequired
readonly Turn[]
Every turn in order, including response repairs and turns resumed by steering.
valueRequired
T
Parsed and validated response; undefined without a response option.