AgentContextRow
A flat, full width disclosure row in the transcript for what the agent was given: trigger context, attachments and other structured parts.

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.

Used by

Where

How

Agent session (AgentSessionScreen)

For transcript rows of kind trigger and raw. See Session timeline

No other screen or component uses it.

Four context rows. At the top the trigger "Document watcher" with status "running" and summary "Research notes were updated", expanded to its instructions and data. Below the bubbles: "image" (expanded), "Message context" and "Reference notes.txt" with "text/plain".

Props

Prop

Type

Effect

item

AgentChatRow

title, status (optional), text (optional summary), detail (shown when expanded)

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).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Comments