Modules§
- context
- Context-preparation vocabulary shared between the runtime and the
plugin host. The concrete strategy (rolling history, overflow
recovery,
/compact) lives in [crate::plugin_builtin::rolling_history] and is dispatched through theTurnContextTransformandHistoryRewriterplugin capability surfaces. - message
- prompt
Structs§
- Conversation
Record - Error
Envelope - Message
- A structured message with typed parts for context management.
- Part
- Prompt
Template - Prompt
Template Section - Protocol
Event - Runtime
Session Policy - Runtime-only policy resolved against host-owned live dependencies.
- Session
Policy - Session
Spec - Reusable session configuration overlay.
- Token
Usage - Token usage statistics from an LLM call.
- Turn
Termination Policy State
Enums§
Constants§
Functions§
- default_
prompt_ template - format_
tool_ output_ content - fresh_
message_ id - make_
error_ envelope - make_
error_ event - reassign_
part_ ids - render_
prompt - render_
transcript_ prompt - shared_
parts - Wrap a
Vec<Part>for theMessage::partsfield. Use this in struct literals and tests (parts: shared_parts(vec![Part { ... }])) so the call sites stay short and uniform.