Skip to main content

Module conversation

Module conversation 

Source
Expand description

The conversation model: the transcript that flows between the runner and the provider, and is ultimately handed to evals.

Structs§

Message
A single turn in the conversation.
ToolEvent
One normalized tool-call / action event the skill took during a turn, lifted from oneharness’s events array (its --events output). Harness-agnostic, so a consumer can inspect what the skill did — shell commands, file edits, tool uses — across any harness, not just the final text. Mirrors the oneharness action-event shape; input is the structured, tool-shaped args so a consumer can match on the command string or file path without re-parsing.
Transcript
An ordered list of messages. Thin wrapper so the type reads clearly at call sites and so we can grow conversation-level helpers without churn.

Enums§

Role
Who produced a message.