Structs§
- Conversation
History - Raw response history snapshot available when an extension tool is invoked.
- Extension
Data - Typed extension-owned data attached to one host object.
- Extension
Data Init - Typed values supplied before an
ExtensionDatascope is created. - Extension
Registry - Immutable typed registry produced after extensions are installed.
- Extension
Registry Builder - Mutable registry used while hosts register typed runtime contributions.
- Extension
Turn Item - Visible turn items that an extension may publish into the host lifecycle.
- Json
Tool Output - Loaded
User Instructions - Result of loading host-provided user instructions.
- McpServer
Contribution Context - Input supplied while resolving MCP server contributions.
- Noop
Extension Event Sink - Event sink used when the host does not expose extension event emission.
- Noop
Response Item Injector - Injector used when a host does not expose same-turn model steering.
- Noop
Turn Item Emitter - Turn-item emitter used when a caller does not expose visible item emission.
- Prompt
Fragment - Rendered
World State Fragment - Plain model-visible data rendered by an extension-owned World State section.
- Responses
ApiTool - Skill
Invocation Input - Input supplied when the host or an extension observes one skill invocation.
- Thread
Idle Input - Input supplied when the host has no immediately pending thread work.
- Thread
Originator - Trusted, host-resolved billing attribution for a thread.
- Thread
Resume Input - Input supplied when the host resumes an existing thread.
- Thread
Start Input - Input supplied when the host starts a runtime for a thread.
- Thread
Stop Input - Input supplied when the host stops a thread runtime.
- Tool
Call - Tool
Environment - Host-owned turn environment summary visible to extension tools.
- Tool
Finish Input - Input supplied when the host finishes executing one tool call.
- Tool
Name - Identifies a callable tool, preserving the namespace split when the model provides one.
- Tool
Start Input - Input supplied when the host starts executing one tool call.
- Turn
Abort Input - Input supplied when the host aborts a turn.
- Turn
Context Contribution Input - Host context available while extensions contribute turn-scoped context fragments.
- Turn
Error Input - Input supplied when the host observes an error for a turn.
- Turn
Input Context - Turn facts supplied before the host records turn-local model input items.
- Turn
Input Environment - Host-owned turn environment summary visible to turn-input contributors.
- Turn
Start Input - Input supplied when the host starts a turn.
- Turn
Stop Input - Input supplied when the host completes a turn.
- User
Instructions - User instructions supplied by the host.
- World
State Contribution Input - Host state available while an extension contributes one sampling step’s World State.
- World
State Section Contribution - One extension-owned World State section captured for a sampling step.
Enums§
- Function
Call Error - Error returned while executing a model-visible tool invocation.
- McpServer
Contribution - One extension-owned overlay for the runtime MCP server configuration.
- Previous
World State Section - What the harness knows about the previous value of one extension-owned section.
- Prompt
Slot - Response
Item - Skill
Invocation Kind - How an observed skill invocation was initiated.
- Tool
Call Outcome - Extension-facing outcome for a finished tool call.
- Tool
Call Source - Host-visible source for a model tool call.
- Tool
Payload - Canonical payload shapes accepted by model-visible tool runtimes.
- Tool
Spec - When serialized as JSON, this produces a valid “Tool” in the OpenAI Responses API.
Traits§
- Agent
Spawner - Constructor-injected host helper for extensions that need to spawn subagents.
- Approval
Review Contributor - Extension contribution that can claim rendered approval-review prompts.
- Config
Contributor - Contributor for host-owned configuration changes.
- Context
Contributor - Extension contribution that adds prompt fragments during prompt assembly.
- Contextual
User Fragment - Context payload that is injected as a message fragment.
- Extension
Event Sink - Host-provided fire-and-forget sink for extension-generated events.
- McpServer
Contributor - Extension contribution that resolves runtime MCP servers from host config.
- Response
Item Injector - Host-provided helper for extensions that need to steer the active model turn.
- Skill
Invocation Contributor - Contributor for skill invocations observed by the host or an owning extension.
- Thread
Lifecycle Contributor - Contributor for host-owned thread lifecycle gates.
- Token
Usage Contributor - Contributor for token usage checkpoints reported by the model provider.
- Tool
Contributor - Extension contribution that exposes native tools owned by a feature.
- Tool
Executor - Shared runtime contract for model-visible tools.
- Tool
Lifecycle Contributor - Contributor for host-owned tool lifecycle gates.
- Tool
Output - Model-facing output contract returned by executable tool runtimes.
- Turn
Input Contributor - Extension contribution that can add turn-local model input.
- Turn
Item Contributor - Ordered post-processing contribution for one parsed turn item.
- Turn
Item Emitter - Host-provided capability for extension tools to emit visible turn items.
- Turn
Lifecycle Contributor - Contributor for host-owned turn lifecycle gates.
- User
Instructions Provider - Loads the user instructions that apply when a root thread runtime starts.
Functions§
- empty_
extension_ registry - Creates an empty shared registry for hosts that do not register contributions.
- parse_
tool_ input_ schema - Parse the tool
input_schemaor return an error for invalid schema. - parse_
tool_ input_ schema_ without_ compaction - Parse a trusted tool
input_schemawithout running large-schema compaction.
Type Aliases§
- Agent
Spawn Future - Future returned by one injected subagent-spawn helper.
- Extension
Future - Boxed, sendable future returned by asynchronous extension contributors.
- Load
User Instructions Future - Future returned by a
UserInstructionsProvider. - Response
Item Injection Future - Future returned when an extension asks the host to inject model-visible input.
- Tool
Executor Future - The boxed future returned by
ToolExecutor::handle. - Tool
Lifecycle Future - Future returned by one tool-lifecycle callback.
- Turn
Item Emission Future - Future returned when an extension tool emits a visible turn-item lifecycle event.