ChatBaseHeaderProps
Agent Runtimes / chat/header/ChatHeaderBase / ChatBaseHeaderProps
Interface: ChatBaseHeaderProps
Defined in: src/chat/header/ChatHeaderBase.tsx:82
Properties
brandIcon?
optionalbrandIcon?:ReactNode
Defined in: src/chat/header/ChatHeaderBase.tsx:85
chatViewMode?
optionalchatViewMode?:ChatViewMode
Defined in: src/chat/header/ChatHeaderBase.tsx:122
Current chat view mode
enableEphemeralDocumentOption?
optionalenableEphemeralDocumentOption?:boolean
Defined in: src/chat/header/ChatHeaderBase.tsx:130
Whether the Document option is available in the surface control.
enableEphemeralNotebookOption?
optionalenableEphemeralNotebookOption?:boolean
Defined in: src/chat/header/ChatHeaderBase.tsx:128
Whether the Notebook option is available in the surface control.
ephemeralSurfaceMode?
optionalephemeralSurfaceMode?:EphemeralSurfaceMode
Defined in: src/chat/header/ChatHeaderBase.tsx:132
Current companion-surface mode.
headerActions?
optionalheaderActions?:ReactNode
Defined in: src/chat/header/ChatHeaderBase.tsx:87
headerButtons?
optionalheaderButtons?:HeaderButtonsConfig
Defined in: src/chat/header/ChatHeaderBase.tsx:114
Header button configuration
headerContent?
optionalheaderContent?:ReactNode
Defined in: src/chat/header/ChatHeaderBase.tsx:86
kernel?
optionalkernel?:IKernelConnection|null
Defined in: src/chat/header/ChatHeaderBase.tsx:104
Live kernel connection from the notebook runtime. When provided,
the chat header renders the same <KernelIndicator> as the notebook
toolbar — subscribing to the kernel's live signals so the colour and
tooltip stay in sync with the notebook indicator.
kernelCpu?
optionalkernelCpu?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:108
Optional CPU info shown in indicator details.
kernelEnvironmentName?
optionalkernelEnvironmentName?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:106
Optional environment name shown in indicator details.
kernelGpu?
optionalkernelGpu?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:112
Optional GPU info shown in indicator details.
kernelIndicatorState?
optionalkernelIndicatorState?:ExecutionState
Defined in: src/chat/header/ChatHeaderBase.tsx:92
Optional kernel indicator state override from notebook runtime.
kernelMemory?
optionalkernelMemory?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:110
Optional memory info shown in indicator details.
messageCount
messageCount:
number
Defined in: src/chat/header/ChatHeaderBase.tsx:116
Current count of messages (used to conditionally show clear button)
onChatViewModeChange?
optionalonChatViewModeChange?: (mode) =>void
Defined in: src/chat/header/ChatHeaderBase.tsx:124
Callback when view mode changes
Parameters
mode
Returns
void
onClear
onClear: () =>
void
Defined in: src/chat/header/ChatHeaderBase.tsx:120
Callback when clear is triggered
Returns
void
onEphemeralSurfaceModeChange?
optionalonEphemeralSurfaceModeChange?: (mode) =>void
Defined in: src/chat/header/ChatHeaderBase.tsx:134
Callback fired when the user changes the companion-surface mode.
Parameters
mode
Returns
void
onInformationClick?
optionalonInformationClick?: () =>void
Defined in: src/chat/header/ChatHeaderBase.tsx:89
Returns
void
onNewChat
onNewChat: () =>
void
Defined in: src/chat/header/ChatHeaderBase.tsx:118
Callback when new chat is triggered
Returns
void
padding
padding:
number
Defined in: src/chat/header/ChatHeaderBase.tsx:90
runtimeStatus?
optionalruntimeStatus?:RuntimeStatus|null
Defined in: src/chat/header/ChatHeaderBase.tsx:97
Runtime status from agent-runtimes sandbox status stream. Uses the same execution-state model as KernelIndicator.
showEphemeralSurfaceControl?
optionalshowEphemeralSurfaceControl?:boolean
Defined in: src/chat/header/ChatHeaderBase.tsx:126
Show the companion-surface segmented control (None / Notebook / Document).
showInformation?
optionalshowInformation?:boolean
Defined in: src/chat/header/ChatHeaderBase.tsx:88
subtitle?
optionalsubtitle?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:84
title?
optionaltitle?:string
Defined in: src/chat/header/ChatHeaderBase.tsx:83