Module agent
Structs§
- Retained
Context Snapshot - Provider-facing context captured at a trim boundary. This remains attached to the internal turn event so the serial RPC consumer can persist it before forwarding the public trim notice without borrowing the live agent again.
- Tool
Artifact - Structured metadata for a tool that produced a file artifact (e.g.
deliver_file). Carried onTurnEvent::ToolResultso a channel attaches the file from typed fields instead of parsing a text trailer out of the free-formoutputstring. Trailer parsing let a crafted filename forge the delivered path (arbitrary-file-read / confused-deputy class).
Enums§
- Budget
Warning Period - The cost-limit period a
TurnEvent::BudgetWarningrefers to. - Token
Count Source - Provenance of a token count carried on a history-trim event. Lets clients distinguish provider-reported usage from a local estimate and from a mix of the two (the reported-budget trim path scales an estimate to a provider-reported figure).
- Turn
Event