Message Display
Message Display
Section titled “Message Display”Configuration for message-display hooks.
MessageDisplay fires per streamed line-batch (potentially many times per message), so by default commands run only on the final flush of each message. Observational.
Configuration Properties
Section titled “Configuration Properties”commands
Section titled “commands”Commands to execute on a message-display event. Observational.
| Attribute | Value |
|---|---|
| Type | array |
| Default | [] |
onlyFinal
Section titled “onlyFinal”Run commands only on the final flush of each message (recommended; avoids running per streamed line-batch). Default: true
| Attribute | Value |
|---|---|
| Type | boolean |
| Default | true |
Nested Types
Section titled “Nested Types”This section uses the following nested type definitions:
MessageDisplayCommand Type
Section titled “MessageDisplayCommand Type”Configuration for individual message-display commands with optional messages.
Properties:
| Property | Type | Default | Description |
|---|---|---|---|
maxOutputLines | `integer | null` | null |
message | `string | null` | null |
notifyPerCommand | `boolean | null` | null |
run | string | - | The shell command to execute |
showCommand | `boolean | null` | true |
showStderr | `boolean | null` | null |
showStdout | `boolean | null` | null |
timeout | `integer | null` | null |
See Also
Section titled “See Also”- Configuration Overview - Complete reference for all configuration options