Skip to content

Reference ​

Every name each entry point exports, types included, read from its source. Anything not listed is internal and may change in any release.

Two entries hold data rather than names. @adecore/agents-react/theme.css holds the styles (see Getting started), and @adecore/agents-react/locales/<language>/<namespace> holds one namespace in one language as its default export.

Derive a prop or option type that is not exported, as ComponentProps<typeof Composer> or Parameters<ChatClient['open']>[1].

@adecore/agents-react ​

Wiring the views into an app: the host adapters, the scope, the transport, storage, lazy loading and the settings sections. See Host adapters.

NameKindSource
ChatActionstypehost/host
FileReftypehost/host
ShellCodeBlockContexttypehost/host
ChatPlacetypehost/host
SubagentTasktypehost/host
TaskRowStatetypehost/host
HostTaskRowtypehost/host
TimelineFindOptionstypehost/host
TimelineFindtypehost/host
ComposerDictationPropstypehost/host
ComposerHeaderSlotPropstypehost/host
ComposerSlotPropstypehost/host
ReferenceIconPropstypehost/host
OutsideReferencetypehost/host
ComposerStatusDetailtypehost/host
ComposerStatusItemtypehost/host
SubagentSlotPropstypehost/host
ThreadCardtypehost/host
VisualHosttypehost/host
HostMenuActiontypehost/host
ReplyAuthortypehost/host
UnknownItemWordstypehost/host
ChatHosttypehost/host
UiMapSourcetypehost/host
UiModelViewPropstypehost/host
CommandLooktypehost/host
CommandLookCalltypehost/host
CommandLookSenttypehost/host
CommandLookMatchtypehost/host
CommandNametypehost/host
ToolLooktypehost/host
ToolLookCalltypehost/host
ToolLookMatchtypehost/host
ChatHostProviderfunctionhost/host
AgentMarktypehost/host
HostSkilltypehost/host
ChatHostLayertypehost/host
useChatHosthookhost/host
ChatScopetypescope
ChatScopeContextconstscope
useChatScopehookscope
ChatRequestMaptypetransport
ChatEventMaptypetransport
ChatTransportStatustypetransport
ChatTransporttypetransport
ChatTransportErrorclasstransport
errorCodefunctiontransport
isConnectionErrorfunctiontransport
portTransportfunctionport-transport
PortTransporttypeport-transport
PortTransportOptionstypeport-transport
configureChatStoragefunctionstorage
MountedEntrytypemounted-registry
MountedRegistryclassmounted-registry
PROVIDERS_SECTIONconstsettings/sections
USAGE_SECTIONconstsettings/sections
settingsSectionfunctionsettings/sections

@adecore/agents-react/chat ​

A chat outside its views: the client, actions, drafts, preferences, mentions, forks, the rows of a thread and subagent navigation. See Chat client and state.

NameKindSource
AccountChoicetypechat/account-choice
useAccountChoicehookchat/account-choice
useNewAccountChoicehookchat/account-choice
actionsOffunctionchat/actions
useChatActionshookchat/actions
ChatSendExtrastypechat-client
ChatClientclasschat-client
ProjectChattypehost/references
Referabletypehost/references
ReferableKindtypehost/references
Referablestypehost/references
REFERENCE_ICONSconstchat/ui/reference-icons
sendFromComposerfunctionchat/composer-send
stepEffortFromComposerfunctionchat/composer-effort
EMPTY_DRAFTconstchat/drafts
useDraftshookchat/drafts
readDraftfunctionchat/drafts
writeDraftfunctionchat/drafts
offerDraftfunctionchat/drafts
stripAnsifunctionchat/logic/ansi
canForkWithfunctionchat/logic/fork
forkRefusalfunctionchat/logic/fork
summaryRefusalfunctionchat/logic/fork
lastSettledTurnfunctionchat/logic/fork
forkPointOffunctionchat/logic/fork
forkPointLabelfunctionchat/logic/fork
ForkShapetypechat/logic/fork
forkShapesfunctionchat/logic/fork
ForkCliChoicetypechat/logic/fork
forkPayloadfunctionchat/logic/fork
branchRefusalfunctionchat/logic/fork
matchCommandLookfunctionchat/logic/command-looks
lookRunOffunctionchat/logic/command-looks
sentMessageOffunctionchat/logic/command-looks
Looktypehost/timeline-row
mcpCallOffunctionchat/logic/tool-looks
handbackReportOffunctionchat/logic/handback
limitViewfunctionchat/logic/limit
summarizeGroupfunctionchat/logic/timeline
deriveTimelineRowsfunctionchat/logic/timeline
TimelineRowtypehost/timeline-row
SubagentBranchtypehost/timeline-row
toolSummaryfunctionchat/logic/tools
FileChangetypechat/logic/tools
workflowPhasesfunctionchat/logic/workflow
workflowCountsfunctionchat/logic/workflow
workflowAgentStatefunctionchat/logic/workflow
workflowAgentTimefunctionchat/logic/workflow
workflowAgentPreviewfunctionchat/logic/workflow
workflowDescriptionfunctionchat/logic/workflow
workflowPhaseStatefunctionchat/logic/workflow
workflowPhaseTimefunctionchat/logic/workflow
liveWorkflowPhasefunctionchat/logic/workflow
WorkflowPhaseViewtypechat/logic/workflow
WorkflowAgentViewtypechat/logic/workflow
WorkflowAgentStatetypechat/logic/workflow
WorkflowAgentPreviewtypechat/logic/workflow
WorkflowCountstypechat/logic/workflow
WorkflowPhaseStateKindtypechat/logic/workflow
MENTION_DRAG_TYPEconstchat/mentions
LEGACY_MENTION_DRAG_TYPEconstchat/mentions
carriesMentionsfunctionchat/mentions
droppedMentionsfunctionchat/mentions
writeMentionDragfunctionchat/mentions
chipTextfunctionchat/mentions
defaultProviderfunctionchat/preferences
selectionForfunctionchat/preferences
startingSelectionfunctionchat/preferences
accountForfunctionchat/preferences
chatPreferencesPayloadfunctionchat/preferences
useChatPreferenceshookchat/preferences
readChatPreferencesfunctionchat/preferences
CHAT_PREFERENCES_KEYconstchat/preferences
reloadChatPreferencesfunctionchat/preferences
rememberChatPreferencesfunctionchat/preferences
rememberReadingWidthfunctionchat/preferences
rememberSendKeyfunctionchat/preferences
rememberChatSelectionfunctionchat/preferences
ChatPreferencestypechat/preferences
CHAT_READING_WIDTHSconstchat/reading-width
readingWidthLabelfunctionchat/reading-width
readingWidthHintfunctionchat/reading-width
recentChatMessagesfunctionchat/recent-messages
recentSubagentMessagesfunctionchat/recent-messages
RUNTIME_MODESconstchat/runtime-modes
runtimeModeLabelfunctionchat/runtime-modes
runtimeModeHintfunctionchat/runtime-modes
CHAT_SEND_KEYSconstchat/send-key
SEND_AND_NEW_SHORTCUTconstchat/send-key
sendKeyLabelfunctionchat/send-key
sendKeyHintfunctionchat/send-key
subagentTitlefunctionchat/subagent-list
summaryWordOffunctionchat/subagent-list
stopOffunctionchat/subagent-list
SubagentStoptypechat/subagent-list
waitingOnOffunctionchat/waiting-on
waitingOnLabelfunctionchat/waiting-on
WaitingChildtypechat/waiting-on
WaitingOntypechat/waiting-on
WaitingOnInputtypechat/waiting-on
useSubagentSupporthookchat/subagent-support
crumbOffunctionchat/subagent-view
openFromMainfunctionchat/subagent-view
composerWritesfunctionchat/subagent-view
canOpenSubagentfunctionchat/subagent-view
useSubagentViewhookchat/subagent-view
useSubagentTrailhookchat/subagent-view
useSubagentItemhookchat/subagent-view
SubagentSteptypechat/subagent-view
SubagentTrailtypechat/subagent-view
stepTimelineMessagefunctionchat/timeline-scroll
jumpToTimelineItemfunctionchat/timeline-scroll
TurnTargettypechat/timeline-scroll
registerTurnJumperfunctionchat/timeline-scroll
jumpToTimelineTurnfunctionchat/timeline-scroll
StatusWordtypeagents/status-look
statusLookOffunctionagents/status-look
taskStatusWordfunctionagents/status-look
ChatPromptFeedclasschat/pending-prompts

@adecore/agents-react/chat/ui ​

The views of a chat: the thread, the composer, messages, diffs, subagents, limits, the rows of a thread and smaller parts for a layout of your own. See Timeline.

NameKindSource
AccountPillcomponentchat/ui/AccountPill
AnsiOutputcomponentchat/ui/AnsiOutput
BookmarkSubmenucomponentchat/ui/BookmarkSubmenu
ChatActivitycomponentchat/ui/ChatActivity
StatusIconcomponentchat/ui/ChatActivity
DisplayImagecomponentchat/ui/DisplayImage
CodeBlockcomponentchat/ui/CodeBlock
Composercomponentchat/ui/Composer
ComposerInputHandletypechat/ui/ComposerInput
ComposerInputcomponentchat/ui/ComposerInput
DiffPoolconstchat/ui/DiffPool
EditDiffconstchat/ui/EditDiff
FadingWordscomponentchat/ui/FadingWords
GoalPillcomponentchat/ui/GoalDock
ImageThumbcomponentchat/ui/ImageView
LimitDockcomponentchat/ui/LimitState
LimitPillcomponentchat/ui/LimitState
ReplyMarkdowncomponentchat/ui/Markdown
MessageMarkdowncomponentchat/ui/Markdown
Markdowncomponentchat/ui/Markdown
ModelPickercomponentchat/ui/Pickers
PromptEditorcomponentchat/ui/PromptEditor
promptPicksfunctionchat/ui/composer/prompt-picks
PromptDrafttypechat/ui/composer/use-prompt-menus
ResumeCompactionDockcomponentchat/ui/ResumeCompactionDock
SubagentTitleCrumbcomponentchat/ui/SubagentControls
SubagentBreadcrumbcomponentchat/ui/SubagentControls
SubagentInfocomponentchat/ui/SubagentInfo
SubagentTimelinecomponentchat/ui/SubagentTimeline
Timelinecomponentchat/ui/Timeline
UnifiedDiffconstchat/ui/UnifiedDiff
UploadThumbcomponentchat/ui/UploadThumb
VisualPageFramecomponentchat/ui/VisualFrame
WelcomeGreetingcomponentchat/ui/Welcome
externalChangeconstchat/ui/composer/editor
composerEditorExtensionsfunctionchat/ui/composer/editor
FileLinkContextconstchat/ui/file-links
useFileLinkCwdhookchat/ui/file-links
ChatFindFieldtypechat/ui/find-reveal
FindRevealtypechat/ui/find-reveal
DiffContentstypechat/ui/full-diff
UiBlockFramePropstypechat/ui/intelligent-ui/UiBlockFrame
UiBlockFramecomponentchat/ui/intelligent-ui/UiBlockFrame
UiBlockFixtypechat/ui/intelligent-ui/UiBlockFrame
uiChartDatafunctionchat/ui/intelligent-ui/chart-data
UiChartValuestypechat/ui/intelligent-ui/chart-data
UiChartDatatypechat/ui/intelligent-ui/chart-data
uiNodeLabelfunctionchat/ui/intelligent-ui/node-text
UI_RENDERERSconstchat/ui/intelligent-ui/registry
UiRenderContexttypechat/ui/intelligent-ui/render-context
UiRendererPropstypechat/ui/intelligent-ui/render-context
UiLinkTargettypechat/ui/intelligent-ui/render-context
UiLiveStatustypechat/ui/intelligent-ui/render-context
UiLiveNodeStatetypechat/ui/intelligent-ui/render-context
uiTableColumnsfunctionchat/ui/intelligent-ui/table-data
UiTableColumntypechat/ui/intelligent-ui/table-data
ForksRowcomponentchat/ui/rows/ForksRow
GeneratedImageRowcomponentchat/ui/rows/GeneratedImageRow
ReportRowcomponentchat/ui/rows/MessageRows
NoteRowcomponentchat/ui/rows/MessageRows
AgentTurnRowcomponentchat/ui/rows/MessageRows
CompactionRowcomponentchat/ui/rows/MessageRows
TaskRowcomponentchat/ui/rows/TaskRow
TaskRowHeadcomponentchat/ui/rows/TaskRow
WorkRowcomponentchat/ui/rows/WorkRows
WorkGroupRowcomponentchat/ui/rows/WorkRows
WorkingRowcomponentchat/ui/rows/WorkRows
WorkflowRowcomponentchat/ui/rows/WorkflowRow
WorkflowAgentLinecomponentchat/ui/WorkflowAgentLine

@adecore/agents-react/prompts ​

Approvals and questions: the prompt view, and the parts and logic to build one of your own. See Prompts.

NameKindSource
focusPromptStartfunctionchat/prompts/logic/focus
PROMPT_SHORTCUTSconstchat/prompts/logic/keys
pageKeyfunctionchat/prompts/logic/keys
emptyPromptDraftfunctionchat/prompts/logic/prompts
orderPromptsfunctionchat/prompts/logic/prompts
PendingPrompttypehost/prompts
PromptActiontypehost/prompts
PromptDrafttypehost/prompts
ChatPromptClientstypechat/prompts/logic/subjects
ApprovalButtonSpectypechat/prompts/logic/subjects
promptIdOffunctionchat/prompts/logic/subjects
promptCreatedAtfunctionchat/prompts/logic/subjects
isBlockingSubjectfunctionchat/prompts/logic/subjects
answerPromptfunctionchat/prompts/logic/subjects
HostPrompttypehost/prompts
PromptSubjecttypehost/prompts
PromptViewPropstypehost/prompts
useFocusAfterAnswerhookchat/prompts/logic/useFocusAfterAnswer
usePromptSessionhookchat/prompts/logic/usePromptSession
PromptPrimarycomponentchat/prompts/ui/PromptActions
ApprovalActionscomponentchat/prompts/ui/PromptActions
PROMPT_SURFACEconstchat/prompts/ui/PromptCard
PromptCardcomponentchat/prompts/ui/PromptCard
PromptViewcomponentchat/prompts/ui/PromptView

@adecore/agents-react/providers ​

The CLIs and their accounts: marks, model names, the providers pane and its parts. See Providers pane.

NameKindSource
AccountDotcomponentagents/AccountDot
AgentIconcomponentagents/AgentIcon
AgentModelLabelcomponentagents/AgentModelLabel
ModelOptionControlcomponentagents/ModelOptionControl
ProviderLogocomponentagents/ProviderLogo
hasProviderLogofunctionagents/provider-paths
AccountEntrytypeagents/accounts
accountsOfKindfunctionagents/accounts
ACCOUNT_TONE_CLASSESconstagents/accounts
accountStatusLinefunctionagents/accounts
canContinueOnfunctionagents/accounts
projectDefaultfunctionagents/accounts
topAccountEntryfunctionagents/accounts
modelNamefunctionagents/model-name
useModelNamehookagents/model-name
shortModelNamefunctionagents/model-name
carryOptionsfunctionagents/model-options
ProvidersPanecomponentproviders/ProvidersPane
CliMarkcomponentproviders/parts
CliTilecomponentproviders/parts

@adecore/agents-react/state ​

The stores the views read: chats, providers, accounts and usage. See Chat client and state.

ChatSink.replay is optional. A sink that implements it receives missed events as one ordered batch when a chat reconnects; other sinks receive the same events one by one through apply. The built-in chatSink publishes the batch once, and keeps earlier snapshots and the timeline's structural state. Live events still use apply.

NameKindSource
ChatStatetypestate/chats
ChatsByIdtypestate/chats
ChatStatusestypestate/chats
waitingRequestsOffunctionstate/chats
applyEventfunctionstate/chats
useChatshookstate/chats
chatSinkfunctionstate/chats
useChatRowhookstate/chats
ChatHistoryPagetypechat-sink
ChatSinktypechat-sink
ChatThreadEventtypechat-sink
ChatThreadInfotypechat-sink
ChatThreadItemtypechat-sink
ChatThreadTurntypechat-sink
useProviderAccountsStorehookstate/provider-accounts
useProviderAccountshookstate/provider-accounts
providerAccountsOffunctionstate/provider-accounts
knownAccountsfunctionstate/provider-accounts
watchProviderAccountsfunctionstate/provider-accounts
useProvidersStorehookstate/providers
useProvidershookstate/providers
providersOffunctionstate/providers
providerSinkForfunctionstate/providers
ProvidersRowtypestate/providers
UsageMetrictypestate/usage
USAGE_PREFERENCES_KEYconststate/usage
dayOffunctionstate/usage
windowForfunctionstate/usage
reloadUsagePreferencesfunctionstate/usage
useUsageStorehookstate/usage
UsagePeriodtypestate/usage

@adecore/agents-react/usage ​

What the CLIs cost and their plan limits: the usage page, dialog and pane, and their parts. See Usage page.

NameKindSource
WindowBarcomponentusage/LimitsList
LimitsListcomponentusage/LimitsList
AccountLimitsListcomponentusage/LimitsList
UsageBreakdowncomponentusage/UsageBreakdown
UsageChartcomponentusage/UsageChart
UsageDialogcomponentusage/UsageDialog
UsageLimitscomponentusage/UsageLimits
UsageLimitsCardcomponentusage/UsageLimitsCard
UsagePagecomponentusage/UsagePage
UsagePanecomponentusage/UsagePane
UsageSummarycomponentusage/UsageSummary
UsageTilescomponentusage/UsageTiles
LimitAccounttypeusage/limit-groups
useLimitGroupshookusage/limits
useMoneyhookusage/money
niceScalefunctionusage/summary
labelEveryForfunctionusage/summary
deriveUsagefunctionusage/summary
ProviderTotaltypeusage/summary

@adecore/agents-react/locales ​

The words of the views, per language and namespace. See Getting started.

NameKindSource
AGENTS_NAMESPACESconstlocales
AGENTS_LOCALESconstlocales

@adecore/agents-react/testing ​

Prompts in every state, for tests and demos. See Testing.

NameKindSource
PROMPT_SAMPLESconsttesting/prompts

@adecore/agents-react/images ​

imageForDisplay(blob) decodes HEIC and HEIF into PNG for a browser display URL or canvas. Other formats keep their original blob. The decoder loads on demand and works under a CSP without unsafe-eval.

DisplayImage (also exported by @adecore/agents-react/chat/ui) adds a HEIC and HEIF fallback to native image props. Remote sources must allow cross-origin reads.

VisualPageFrame replaces embedded HEIC and HEIF data URLs in a page with PNG data URLs before it hands the page to its sandbox. It leaves unreadable images in place so the rest of the document can open.

NameKindSource
imageForDisplayfunctionchat/image-display
DisplayImagecomponentchat/ui/DisplayImage

Licenses and third-party notices are listed in each package.