Emitted with the call's ID when the WORKING card's ✕ cancel affordance is clicked —
EXPLICIT user intent to kill the in-flight delegated run (by deliberate host policy,
barge-in alone never cancels delegations; only this button does). The overlay routes
it to RealtimeSessionService.CancelDelegation, which flips this card to a failed
"Cancelled by user" result.
The delegation card view-model to render (immutable — replaced on every update).
Whether developer affordances (the "Open run" link) are revealed.
Whether the done chip is expanded inline to show the full result text.
Emitted when a "View" artifact chip is clicked (the overlay focuses the artifact's tab).
Emitted with the delegated run's ID when the dev "Open run" link is clicked.
The artifacts this (done) delegation produced (empty array while running / when none).
Tooltip text for the provenance shield icon.
One-line, ~120-char preview of the result for the collapsed chip.
Full result text (falls back to the last progress message / a generic line).
Whether to render the latest raw message as the indented detail line. Hidden when it would just repeat the step label (the unknown-step fallback maps label = message).
True when the dev "Open run" link should render (gear on + run id known).
Friendly label for the current delegation step (raw message as fallback).
Emits the cancel request for this (still-working) delegation.
Emits the open-artifact request for one of this card's produced artifacts.
Emits the open-run request for this card's delegated run.
Renders a single delegation in the live session thread:
✓ <agent> · <one-line result preview> · via <agent>— expandable inline (click / chevron) to the full result text. Failures render the✗variant.Provenance is a small
via <agent>badge + a shield icon whosetitletooltip carries the full provenance sentence (no repeated sentence under every card).DEVELOPER MODE (gear-gated by the overlay shell): when DevMode is on and the card knows its delegated run id, an "Open run" link is revealed that emits OpenRunRequested so the shell can navigate to the
MJ: AI Agent Runsrecord.