SessionTail
One line showing only the newest entry of a captain session: the latest assistant text or the latest tool call, with a spinner while following.
Import
Section titled “Import”import { SessionTail } from "@flanksource/clicky-ui/ai";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
emptyLabel |
string |
— | Shown until the session has a text message or tool call. |
follow |
boolean |
true |
Follow the live stream (default true). When false the session is read once and no spinner is shown. |
src* |
string |
— | Captain session URL, e.g. `/api/captain/sessions/{id}`. |