Collaboration stream
import { CollaborationStream } from "@arcadia/ui"; Live
Review the pricing page
CollaborationStream
agentsrequired- readonly StreamAgent[]
- Every agent of the run, in tab order. A message names one by its id.
messagesrequired- readonly StreamMessage[]
- The thread, in the order it was sent. A spawn is drawn as its quiet lifecycle line.
task- string
- What the run is about: a quiet line under the title, and part of the log's label.
live- boolean
- Default:
false - The run is still going: a Live mark, and the log announces what arrives.
focusAgent- string | null
- The agent whose tab is on, or null for All. Left out, the stream keeps its own.
onFocusAgentChange- (id: string | null) => void
- A tab was picked: the agent's id, or null for All.
onSend- (payload: { text: string; to: string[]; replyTo?: string }) => boolean | void | Promise<boolean | void>
- Shows the composer and sends with it: the text, who it is for, and the message it answers. Answered
false, or with a promise that answersfalseor rejects, the draft and the reply stay put for another try. placeholder- string
- Default:
"Message the agents, @ to name one" - The composer's placeholder.
logos- Record<string, ReactNode>
- Names that get a product's logo in a message's text, by exact name.
maxHeight- number
- Default:
520 - How tall the thread grows before it scrolls. With a composer it is its fixed height.
title- string
- Default:
"Agent chat" - The stream's title, and the log's name for a reader.
appearance- "default" | "quiet"
- Default:
"default" - The container's surface.
quiet: the app ground lifted a hair, held by an inset hairline alone, for a run that should not read as a raised card. rootStyle- RootStyle<CollaborationStreamKnobs>
- Typed StyleX override: where the surface sits and its knobs.
Rest props go to <div> props.