Documentation
¶
Overview ¶
Package harness defines the contract between the runtime and external coding harnesses (Claude Code, Codex, ...) that agents configured with `harness:` delegate to. It carries no driver: pkg/codingharness implements it, and the runtime only links a driver once one is registered with runtime.RegisterHarness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Type EventType
Text string
Result string
SessionID string
Usage *Usage
ToolID string
ToolName string
ToolArgs string
ToolOutput string
ToolError bool
Reasoning string
}
Event is one streamed event from an external coding harness.
type EventType ¶
type EventType string
EventType identifies an Event.
const ( EventText EventType = "text" EventResult EventType = "result" EventToolCallStart EventType = "tool_call_start" EventToolCallDelta EventType = "tool_call_delta" EventToolCall EventType = "tool_call" EventToolResult EventType = "tool_result" EventReasoning EventType = "reasoning" EventSessionID EventType = "session_id" )
type Factory ¶
type Factory func(cfg *latest.HarnessConfig) (Provider, error)
Factory builds the Provider for a harness configuration.
Click to show internal directories.
Click to hide internal directories.