Expand description
SCV’s provider-independent agent loop and extension traits.
Structs§
- Agent
Config - Agent
Runtime - Approval
Request - Assistant
Response - Budget
Context Policy - Context
Config - Context
Error - Context
Selection - History
Limits - Image
Input - An image file shown to the model with a user message.
- Progress
Sink - Where a running tool reports short status lines, such as a delegated agent’s commands. Each report becomes one bounded line; the runtime forwards the pending lines to the client at most twice a second and never adds them to the model’s history. The default sink discards reports, so a tool may always report.
- Provider
Error - Provider
Request - Tool
Approvals - The session’s approval gate as seen by one running tool call. A tool that drives a nested agent (such as another SCV) asks it on the nested agent’s behalf, so the session’s policy and its user decide every nested side effect too. Without a gate, every request is denied.
- Tool
Call - Tool
Context - Tool
Error - Tool
Output - Tool
Registry - Tool
Spec - Turn
Input - The user’s side of a turn: text, and images for a model that accepts them.
- Turn
Outcome - Usage
Enums§
Constants§
- IMAGE_
TOKENS - What one image costs in context, whatever its size: providers scale images down to a bounded number of tiles.
- MAX_
PROGRESS_ EVENT_ BYTES - Largest progress event: the newest lines reported since the previous event, with older ones dropped first.
- MAX_
PROGRESS_ LINE_ BYTES - Longest progress line a tool can report; longer lines are cut.
- PROGRESS_
INTERVAL - Minimum spacing of one call’s progress events (at most two a second).