Structs§
- Diff
Content - Content for a diff display segment.
- Image
Content - Content for an image display segment.
- Plain
Callback Client - Plain reqwest client for local mode (no auth needed).
- RapInvocation
- RapO
Auth - RapSubscription
Event - RapTool
Result - RapUser
Choice - RapView
Update - Thread
Id - Identifies a conversation thread.
- ToolDef
- Toolset
Manifest
Enums§
- Display
Segment - A segment of display content for human-facing UIs.
- RapCallback
- Tagged enum for all RAP callback message types.
- RapTool
Result Content - A single item of structured tool-result content.
Traits§
- Callback
Client - Trait for sending tool results back to the RAP callback URL.
Functions§
- build_
display_ segments - Build the prioritized display segments list: tool-provided
display_assegments first, then the rawtextas a trailingTextfallback. - log_
panic - Run a future and log if it panics, instead of silently swallowing the panic. Use this to wrap fire-and-forget spawned tasks.
- send_
subscription_ event - Send a
subscription_eventcallback. - send_
tool_ result - Send a
tool_resultcallback. - send_
user_ choice - Send a
user_choicecallback requesting user confirmation. - send_
view_ update - Send a
view_updatecallback.