Skip to content

ReplResultSurface

Describes the output surface used for a command result.

public enum ReplResultSurface

A local console or terminal.

Console = 0

ReplResultSurface

A hosted terminal session is active.

Hosted = 3

ReplResultSurface

An interactive REPL session.

Interactive = 1

ReplResultSurface

A programmatic client, such as MCP, is driving execution.

Programmatic = 4

ReplResultSurface

Standard output is redirected to a pipe or file.

Redirected = 2

ReplResultSurface