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#
| Case | Payload | Description |
|---|---|---|
| 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. |