SessionInput
A session to render: a UnifiedSessionInput (preferred — what GET /api/captain/sessions/{id} serves), bare SessionUIMessage[], a legacy SessionEntry[] log, or raw log text (JSON array or JSONL). SessionInspector (and SessionCollectionItem) also accept a session URL as src instead, with this contract: - GET {src} with Accept: application/json returns one UnifiedSessionInput. A non-2xx body is { error, … } JSON or plain text and is shown verbatim. - GET {src}?follow=1 (appended to any existing query) is an SSE stream of entry frames (one SessionUIMessage, upserted by id), state frames ({ revision, lifecycleStatus, activityState, facets } — a higher revision, or a facets that differs from the last one seen, refetches the aggregate; facets is an opaque fingerprint of the non-message session facets — plan, todos, files, approval requests — and its first reported value is the baseline, not itself a refetch trigger), error frames ({ error }) and : ping comments; the server closes it once the session is terminal. - The stream is opened only while lifecycleStatus is non-terminal (not succeeded/partial/failed/cancelled/interrupted/completed) unless the host passes follow. See useRemoteSession.
Import
Section titled “Import”import { SessionInput } 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.
This component has no documented props.