Expand description
Client-side session model: folds the server’s event stream into a render-friendly transcript plus a small amount of session state.
This is deliberately independent of any local agent harness — it is the
client analogue of the TS packages/coding-agent/src/client/ remote-session
layer, built on rpi’s own protocol types.
Structs§
- Remote
Session - Client-side session state: the transcript plus the latest server state.
- Tool
Item - A tool invocation as rendered in the transcript.
- Transcript
- The transcript the UI renders, in order.
Enums§
- Transcript
Item - One item in the remote transcript.
Functions§
- message_
role - The logical role of a serialized message (
kindorrole). - message_
text - Extract concatenated text from a serialized
AgentMessage/AssistantMessage(content: [{type:"text",text:…}]). - tool_
result_ text - Text out of a wire tool-result payload (
{content:[{type:"text",text}]}).