Skip to content

A2ATaskPanel

stable

Single A2A Task detail surface mirroring the spec's Task object: identity header (task id + contextId + TaskStateBadge), role-turned message history in ChatMessage conventions, artifact list delegating each artifact to ArtifactViewer, and a mono key/value metadata block. Temporal spine — a task is a thing moving through time.

Orchestration/Storybook ↗
import { A2ATaskPanel } from "@nodus/design-system/patterns"
Loading demo…

Props

idrequired
Type stringDefault

A2A Task identifier.

contextIdrequired
Type stringDefault

Context (conversation/thread) identifier grouping related tasks.

statusrequired
Type 'submitted' | 'working' | 'input-required' | 'auth-required' | 'completed' | 'failed' | 'canceled' | 'rejected' | 'unknown'Default

Current A2A TaskState, rendered via TaskStateBadge.

historyrequired
Type Array<{ role: 'user' | 'agent'; parts: A2APart[] }>Default

Role-turned message history in wire order. Text parts render as body text; other kinds as chips.

artifactsrequired
Type Array<{ artifactId: string; name?: string; parts: A2APart[] }>Default

Artifacts attached to the task — each delegates to ArtifactViewer.

metadata
Type Record<string, unknown>Default

Optional extension metadata, rendered as a mono key/value block.

semantictypebordersurfacespace
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?