Skip to main content

Interface: TerminalHeaderActionRegistration

Defined in: types/frontend.ts:320

Registration for a terminal header action button.

Properties​

icon​

icon: PluginComponentType

Defined in: types/frontend.ts:328

Icon component for the button


id​

id: string

Defined in: types/frontend.ts:322

Unique action identifier


label​

label: string

Defined in: types/frontend.ts:325

Tooltip label for the action button


onClick​

onClick: (context) => void

Defined in: types/frontend.ts:337

Callback when the action is clicked

Parameters​

ParameterType
contextTerminalActionContext

Returns​

void


order?​

optional order?: number

Defined in: types/frontend.ts:340

Sort order among terminal header actions (lower = leftmost)


showFor​

showFor: string | string[]

Defined in: types/frontend.ts:334

AI modes this action appears for. Use '*' to show for all modes, or specify specific mode strings.