Expand description
Turning what the client assembled into lines a person reads.
Every helper here names a Session without bounding its transport. That
is not incidental: an application’s view layer only ever reads a session,
and a T: Transport bound on the type would force every one of these
signatures to repeat a constraint none of them use. ag-ui-client keeps the
bound on the impl blocks that make requests, and this module is what spends
that.
Functions§
- clip
- Shortens a payload so one tool result is one line.
- message_
count - How many messages the conversation holds.
- panel
- The panel drawn after each run: the board, then where it came from.
- run_id
- The run the session last heard about, for the footer.
- surface_
in_ history - The surface the conversation is carrying, recovered from history.
- surface_
lines - Draws an
a2ui_operationsenvelope, orNoneif it is not one.