MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

mcp.exec.RunOutcome

enum mcp.exec.RunOutcome

How a run finished.

Description#

Split from the wait outcomes rather than shared with them: a run cannot match a pattern and a wait cannot report a missing shell, and a vocabulary carrying both would have an agent checking for answers that never come.

Variants5#

RunOutcome variants
CasePayloadDescription
Completed No payload The command ran to completion and reported its status.
Deadline No payload The time the caller allowed ran out.
PaneClosed No payload The pane stopped writing for good.
Cancelled No payload The client withdrew the request while the run was still going.
NoShell No payload The pane never acknowledged the command.
Esc

Type to search.

Reference previewOpen reference