AgentContextRow shows context, not conversation: why a triggered conversation started, an attachment, a structured part of a message. It is a title with up to two small lines, and it opens in place to show the full content.
Kind: named component.
Defined in agents.contract lines 384 to 414.
Used by
Where | How |
|---|---|
Agent session ( | For transcript rows of kind |
No other screen or component uses it.
Props
Prop | Type | Effect |
|---|---|---|
|
|
|
It keeps one piece of state: expanded, false at first. It takes no navigation action: nothing in it leads anywhere.
Anatomy
A column with padding 8 by 16 and an 8 point gap, on the screen background (no card):
Toggle button, full width, at least 44 points tall:
The title in -exact-subheadline, wrapping.
The status, if any, in -exact-caption1, secondary colour.
The summary, if any, in -exact-footnote, secondary colour.
symbol:forward-chevron on the right.
Detail, when expanded: the full text in -exact-footnote, wrapping.
What fills it
Row | Title | Small lines | Detail |
|---|---|---|---|
Trigger | The trigger's name, or "Triggered conversation" | The firing's status and its activity summary | The trigger's prompt and instructions, then its source data |
Unknown message part | The part's type, or "Message part" | None | The part as JSON |
Blocks without text | "Structured content" | None | The blocks as JSON |
Object content | "Message content" | None | The content as JSON |
Context lines | "Message context" | None | The lines |
Attachment | The file name, or "Attachment" | The MIME type | The attachment record as JSON |
Unknown event | The event's type, or "Event" | None | The event as JSON |
Variants and states
Collapsed and expanded. The chevron does not rotate when the row opens, and the detail is plain proportional text, not monospace, even when it is JSON. Both are visible in the screenshot above. These are places where the row is rougher than AgentToolRow, which labels its sections and uses monospace.
Rules for use
Use it for input the agent received and for anything the app cannot render as a message or a tool call.
Use AgentToolRow for actions the agent took, and a chat message for anything said.
Keep it collapsed by default.
Why it looks this way
Flat, so it recedes. With no card and no bubble, context reads as an annotation between the real turns (inferred from the missing background).
A fallback that shows instead of hiding. The model turns every unknown part into one of these rows. The person sees that something was there and can open it (Honest state). The test contract calls this keeping "the message story".
A chevron for disclosure. The forward chevron is the app's general "more" mark (Symbols and icons). On iOS a forward chevron usually means navigation, so using it for expand in place is a small departure from platform convention (inferred; a down chevron or the rotation used by system disclosure groups would be the convention).
DESIGN.md does not mention context rows. They were added when the mobile transcript was brought to parity with the desktop one.
User stories
This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).
US-AGENT-06 See what the agent is doing: Trigger and structured part rows
Related
Parent: Agents components. Siblings: AgentToolRow, AgentRunCard.
Visual language: Typography, Spacing, radii and sizes, Accessibility.
Primitives: button, text, row, column and view.
Implementation: Agents: chat rows and run cards, Agents: screens and components.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime