Skip to main content

TerminalOutputEvent

type

One item of a terminal's output stream as the agent host emits it.

type TerminalOutputEvent = { readonly kind: 'data'; readonly chunk: string; } | { readonly kind: 'command-executed'; readonly record: TerminalCommandRecord; } | { readonly kind: 'command-finished'; readonly record: TerminalCommandRecord; }

Import

import { TerminalOutputEvent } from '@modular/sdk';