Skip to main content

Module items

Module items 

Source
Expand description

Canonical item payloads produced inside a thread turn.

Structs§

AgentMessageItem
Final assistant text response item.
CommandExecutionItem
Command execution output item.
ErrorItem
Item representing an error generated inside the turn flow.
FileChangeItem
File change item containing patch metadata.
FileUpdateChange
One changed file within a patch item.
McpToolCallError
Failed MCP tool call payload.
McpToolCallItem
MCP tool call item.
McpToolCallResult
Successful MCP tool call result payload.
ReasoningItem
Model reasoning item.
TodoItem
One todo entry tracked by the agent.
TodoListItem
Todo list item.
WebSearchItem
Web search item.

Enums§

CommandExecutionStatus
Lifecycle status for a command execution item.
McpToolCallStatus
Lifecycle status for MCP tool call items.
PatchApplyStatus
Patch application lifecycle status.
PatchChangeKind
File patch change kind.
ThreadItem
Canonical union of thread items and their type-specific payloads.