ViteHub is still experimental. Expect bugs and breaking changes.

Invocation List

Browse application-loaded Agent Invocation summaries in an accessible session list.

AgentInvocationList renders session summaries without owning search, routes, or data fetching. It keeps every loaded session in the document so keyboard and assistive-technology users can reach the same navigation choices.

Preview

Usage

<AgentInvocationList
  :items="invocations"
  :selected-id="route.params.invocation"
  :has-more="page.hasMore"
  :loading="page.pending"
  @select="openInvocation($event.id)"
  @end-reached="loadNextPage()"
/>

Item data

Each AgentInvocationListItem requires id, status, and title. Add project, repository or pull-request context, provider, Agent name, timestamps, and a terminal error description when available.

Status always appears as an icon and a label. The component does not rely on color alone.

Props

PropTypeDefaultPurpose
itemsreadonly AgentInvocationListItem[]Application-loaded session summaries.
selectedIdstringMarks the session selected by the host.
hasMorebooleanfalseEnables the near-end pagination signal.
loadingbooleanfalseShows the loading state and pauses pagination.
retryKeystring | numberRetries the current page after its value changes.
nownumberTimestamp used for deterministic relative times.
ariaLabelstringAgent sessionsAccessible label for the navigation region.

Pagination

The component emits endReached once per loaded item count when the viewport nears the end of the loaded sessions. Append the next cursor page to items. If loading fails, change retryKey from the retry action so the same item count can request another page.

Use header, footer, empty, and loading for list states. Use projectIcon and harness to replace repository and provider presentation without replacing the row behavior. Paginate large histories instead of virtualizing this navigation list.