Outbound event builders and inbound event classification for Managed Agents.
Events are plain JSON maps with string keys (the wire shape). Builders produce
events to POST to /v1/sessions/{id}/events; classify/1 reduces an inbound
event to a terminal/flow atom for loop control.
Summary
Functions
Classify an inbound event into a flow-control atom.
Build a user.custom_tool_result event. Pass is_error: true for failures.
Build a user.tool_confirmation event (:allow or :deny).
Build a user.message text event.
Types
Functions
Classify an inbound event into a flow-control atom.
Build a user.custom_tool_result event. Pass is_error: true for failures.
Build a user.tool_confirmation event (:allow or :deny).
Build a user.message text event.