RunTurnResult
Result returned by a reference turn runner implementation.
Class Diagram
Section titled “Class Diagram”---
title: RunTurnResult
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class RunTurnResult {
+string sessionId
+string turnId
+string status
+unknown output
+int32 iterations
+HostToolResult[] toolResults
+Checkpoint[] checkpoints
}
class HostToolResult {
+string requestId
+string toolCallId
+string toolName
+boolean success
+unknown result
+int32 exitCode
+float64 durationMs
+string errorKind
+dictionary telemetry
}
RunTurnResult *-- HostToolResult
class Checkpoint {
+string id
+string sessionId
+string turnId
+int32 checkpointNumber
+string title
+string overview
+dictionary state
+string summary
+dictionary metadata
+string createdAt
+RedactionMetadata redaction
}
RunTurnResult *-- Checkpoint
Yaml Example
Section titled “Yaml Example”sessionId: sess_abc123turnId: turn_abc123iterations: 1Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| sessionId | string | Stable harness session identifier |
| turnId | string | Stable turn identifier within the session |
| status | string | Final semantic status for the deterministic turn |
| output | unknown | Provider-neutral final output returned by the injected model callback |
| iterations | int32 | Number of model loop iterations executed |
| toolResults | HostToolResult[] | Host tool results produced during the turn |
| checkpoints | Checkpoint[] | Checkpoints created during the turn |
Composed Types
Section titled “Composed Types”The following types are composed within RunTurnResult: