ChatPopupStandaloneProps
Agent Runtimes / chat/ChatPopupStandalone / ChatPopupStandaloneProps
Interface: ChatPopupStandaloneProps
Defined in: src/chat/ChatPopupStandalone.tsx:72
ChatPopupStandalone props — extends ChatCommonProps with popup-specific configuration.
Uses its own onSendMessage signature (no message history array).
Extends
Omit<ChatCommonProps,"onSendMessage">
Properties
animationDuration?
optionalanimationDuration?:number
Defined in: src/chat/ChatPopupStandalone.tsx:122
Animation duration (in ms)
authToken?
optionalauthToken?:string
Defined in: src/types/chat.ts:521
Auth token for the agent runtime
Inherited from
autoFocus?
optionalautoFocus?:boolean
Defined in: src/types/chat.ts:613
Auto-focus the input on mount
Inherited from
availableModels?
optionalavailableModels?:ModelConfig[]
Defined in: src/types/chat.ts:432
Override the list of available models. When provided, replaces models returned by the config endpoint.
Inherited from
ChatCommonProps.availableModels
brandColor?
optionalbrandColor?:string
Defined in: src/chat/ChatPopupStandalone.tsx:116
Brand color
brandIcon?
optionalbrandIcon?:ReactNode
Defined in: src/types/chat.ts:347
Custom brand icon for header / empty state
Inherited from
buttonIcon?
optionalbuttonIcon?:ReactNode
Defined in: src/chat/ChatPopupStandalone.tsx:110
Custom button icon when closed
buttonTooltip?
optionalbuttonTooltip?:string
Defined in: src/chat/ChatPopupStandalone.tsx:113
Button tooltip text
chatViewMode?
optionalchatViewMode?:ChatViewMode
Defined in: src/types/chat.ts:545
Current chat view mode for header segmented toggle
Inherited from
children?
optionalchildren?:ReactNode
Defined in: src/types/chat.ts:344
Children to render in the messages area
Inherited from
className?
optionalclassName?:string
Defined in: src/types/chat.ts:341
Custom class name
Inherited from
clickOutsideToClose?
optionalclickOutsideToClose?:boolean
Defined in: src/chat/ChatPopupStandalone.tsx:104
Enable click outside to close
codemodeEnabled?
optionalcodemodeEnabled?:boolean
Defined in: src/types/chat.ts:417
Indicate tools are accessed via Codemode meta-tools
Inherited from
ChatCommonProps.codemodeEnabled
codemodeStatusData?
optionalcodemodeStatusData?:CodemodeStatusData|null
Defined in: src/types/chat.ts:559
External codemode status data (e.g. from WebSocket stream).
Inherited from
ChatCommonProps.codemodeStatusData
collapsed?
optionalcollapsed?:boolean
Defined in: src/types/chat.ts:478
Collapse chat panel while keeping the ephemeral notebook visible.
Inherited from
contextSnapshot?
optionalcontextSnapshot?:ContextSnapshotData
Defined in: src/types/chat.ts:553
External context snapshot data for the token usage bar
Inherited from
ChatCommonProps.contextSnapshot
defaultOpen?
optionaldefaultOpen?:boolean
Defined in: src/chat/ChatPopupStandalone.tsx:86
Default open state
description?
optionaldescription?:string
Defined in: src/types/chat.ts:309
Description shown in empty state
Inherited from
disableInputPrompt?
optionaldisableInputPrompt?:boolean
Defined in: src/types/chat.ts:318
Keep input visible but disabled
Inherited from
ChatCommonProps.disableInputPrompt
disableInternalJupyterTheme?
optionaldisableInternalJupyterTheme?:boolean
Defined in: src/types/chat.ts:577
Disable ChatBase's internal JupyterReactTheme wrapper. Use this when the host page already provides a JupyterReactTheme boundary.
Default
false
Inherited from
ChatCommonProps.disableInternalJupyterTheme
emptyStateMessage?
optionalemptyStateMessage?:string
Defined in: src/chat/ChatPopupStandalone.tsx:125
Empty state message
enableEphemeralDocument?
optionalenableEphemeralDocument?:boolean
Defined in: src/types/chat.ts:460
Enable the in-memory "ephemeral document" (Lexical rich-text) companion surface. When enabled it appears as an option in the companion-surface segmented control alongside the notebook.
Default
false
Inherited from
ChatCommonProps.enableEphemeralDocument
enableEphemeralNotebook?
optionalenableEphemeralNotebook?:boolean
Defined in: src/types/chat.ts:453
Show an in-memory "ephemeral notebook" next to the chat, toggled from the input footer. The notebook model lives purely in memory (never persisted) and its frontend tools are registered while visible.
Default
true
Inherited from
ChatCommonProps.enableEphemeralNotebook
enableKeyboardShortcuts?
optionalenableKeyboardShortcuts?:boolean
Defined in: src/chat/ChatPopupStandalone.tsx:98
Enable keyboard shortcuts
enableStreaming?
optionalenableStreaming?:boolean
Defined in: src/types/chat.ts:397
Enable streaming mode for custom message handler.
Default
false
Inherited from
ChatCommonProps.enableStreaming
ephemeralNotebookToolbar?
optionalephemeralNotebookToolbar?:EphemeralNotebookToolbarComponent
Defined in: src/types/chat.ts:487
Optional toolbar component used by the ephemeral notebook.
Defaults to the toolbar from @datalayer/jupyter-react when omitted.
Inherited from
ChatCommonProps.ephemeralNotebookToolbar
escapeToClose?
optionalescapeToClose?:boolean
Defined in: src/chat/ChatPopupStandalone.tsx:107
Enable escape key to close
frontendTools?
optionalfrontendTools?:FrontendToolDefinition<Record<string,unknown>,unknown>[]
Defined in: src/types/chat.ts:446
Frontend tool definitions to register with the chat
Inherited from
headerActions?
optionalheaderActions?:ReactNode
Defined in: src/types/chat.ts:608
Custom header actions (rendered in title row, right side)
Inherited from
headerContent?
optionalheaderContent?:ReactNode
Defined in: src/types/chat.ts:605
Custom header content (rendered below title row)
Inherited from
height?
optionalheight?:string|number
Defined in: src/chat/ChatPopupStandalone.tsx:92
Popup height
hideMessagesAfterToolUI?
optionalhideMessagesAfterToolUI?:boolean
Defined in: src/types/chat.ts:510
Hide assistant messages that follow a rendered tool call UI.
Default
false
Inherited from
ChatCommonProps.hideMessagesAfterToolUI
historyAuthToken?
optionalhistoryAuthToken?:string
Defined in: src/types/chat.ts:524
Optional auth token for the legacy history endpoint
Inherited from
ChatCommonProps.historyAuthToken
historyEndpoint?
optionalhistoryEndpoint?:string
Defined in: src/types/chat.ts:518
Optional legacy endpoint URL for fetching conversation history
Inherited from
ChatCommonProps.historyEndpoint
initialEphemeralNotebookOpen?
optionalinitialEphemeralNotebookOpen?:boolean
Defined in: src/types/chat.ts:472
Initial open state of the ephemeral notebook.
Default
true
Inherited from
ChatCommonProps.initialEphemeralNotebookOpen
initialEphemeralSurfaceMode?
optionalinitialEphemeralSurfaceMode?:EphemeralSurfaceMode
Defined in: src/types/chat.ts:466
Initial companion surface shown next to the chat. Defaults to 'notebook'
when enableEphemeralNotebook is true, otherwise 'none'.
Inherited from
ChatCommonProps.initialEphemeralSurfaceMode
initialModel?
optionalinitialModel?:string
Defined in: src/types/chat.ts:426
Initial model ID to select (e.g., 'bedrock:us.anthropic.claude-sonnet-4-5-20250929-v1:0')
Inherited from
initialSkills?
optionalinitialSkills?:string[]
Defined in: src/types/chat.ts:438
Initial skill IDs to enable
Inherited from
kernel?
optionalkernel?:IKernelConnection|null
Defined in: src/types/chat.ts:569
Live kernel connection of the companion notebook/document sandbox.
When provided, it is forwarded to the chat header's <KernelIndicator>
so the indicator reflects the surface's runtime.
Inherited from
launching?
optionallaunching?:boolean
Defined in: src/types/chat.ts:326
Whether the underlying agent runtime is still launching. When true, the chat shell is rendered with the input and controls disabled and a spinner overlay is shown, so the plain chat view appears as soon as the agent starts being created and stays interactive-disabled until it is ready.
Inherited from
launchingMessage?
optionallaunchingMessage?:ReactNode
Defined in: src/types/chat.ts:331
Optional message shown next to the spinner while launching is true.
Inherited from
ChatCommonProps.launchingMessage
mcpServers?
optionalmcpServers?:McpServerSelection[]
Defined in: src/types/chat.ts:435
MCP server selections to enable (others disabled)
Inherited from
mcpStatusData?
optionalmcpStatusData?:McpToolsetsStatusResponse|null
Defined in: src/types/chat.ts:556
External MCP toolsets status data
Inherited from
offset?
optionaloffset?:number
Defined in: src/chat/ChatPopupStandalone.tsx:119
Offset from edge (in pixels)
onApproveApproval?
optionalonApproveApproval?: (approvalId,note?) =>void|Promise<boolean|void>
Defined in: src/types/chat.ts:591
Called when the user approves a pending request.
Parameters
approvalId
string
note?
string
Returns
void | Promise<boolean | void>
Inherited from
ChatCommonProps.onApproveApproval
onChatViewModeChange?
optionalonChatViewModeChange?: (mode) =>void
Defined in: src/types/chat.ts:548
Callback when user switches chat view mode
Parameters
mode
Returns
void
Inherited from
ChatCommonProps.onChatViewModeChange
onClose?
optionalonClose?: () =>void
Defined in: src/types/chat.ts:383
Callback when the component closes
Returns
void
Inherited from
onEphemeralNotebookOpenChange?
optionalonEphemeralNotebookOpenChange?: (open) =>void
Defined in: src/types/chat.ts:475
Controlled callback for ephemeral notebook open-state changes.
Parameters
open
boolean
Returns
void
Inherited from
ChatCommonProps.onEphemeralNotebookOpenChange
onEphemeralSurfaceModeChange?
optionalonEphemeralSurfaceModeChange?: (mode) =>void
Defined in: src/types/chat.ts:469
Controlled callback for companion surface mode changes.
Parameters
mode
Returns
void
Inherited from
ChatCommonProps.onEphemeralSurfaceModeChange
onExpandFromCollapsed?
optionalonExpandFromCollapsed?: () =>void
Defined in: src/types/chat.ts:481
Callback to reopen chat panel from collapsed notebook mode.
Returns
void
Inherited from
ChatCommonProps.onExpandFromCollapsed
onInformationClick?
optionalonInformationClick?: () =>void
Defined in: src/types/chat.ts:540
Callback when the information icon is clicked
Returns
void
Inherited from
ChatCommonProps.onInformationClick
onNewChat?
optionalonNewChat?: () =>void
Defined in: src/types/chat.ts:377
Callback when new chat is triggered
Returns
void
Inherited from
onOpen?
optionalonOpen?: () =>void
Defined in: src/types/chat.ts:380
Callback when the component opens
Returns
void
Inherited from
onRejectApproval?
optionalonRejectApproval?: (approvalId,note?) =>void|Promise<boolean|void>
Defined in: src/types/chat.ts:597
Called when the user rejects a pending request.
Parameters
approvalId
string
note?
string
Returns
void | Promise<boolean | void>
Inherited from
ChatCommonProps.onRejectApproval
onSendMessage
onSendMessage:
MessageHandler
Defined in: src/chat/ChatPopupStandalone.tsx:80
Handler for sending messages - REQUIRED. This function will be called when the user sends a message.
onSettingsClick?
optionalonSettingsClick?: () =>void
Defined in: src/types/chat.ts:374
Callback when settings is clicked