mcp.exec.WaitOutcome
-
How a wait for text finished.
Variants8#
| Case | Payload | Description |
|---|---|---|
| PresentAtEntry | No payload | A wanted pattern was already in the pane's output before this began watching, on a row above the one still being typed into, and is not a line this server itself submitted moments earlier. |
| Pending | No payload | A wanted pattern's only occurrence is the row still being typed into: text this server (or a person sharing the pane) sent and has not submitted, not anything that has run. |
| Matched | No payload | A pattern matched, in output that arrived after the wait attached. |
| Stopped | No payload | A stop pattern matched, so the wait ended early. |
| Deadline | No payload | The time the caller allowed ran out. |
| PaneClosed | No payload | The pane stopped writing for good: it closed, or the server holding it exited. text holds the output seen up to then. |
| StreamLost | No payload | The control stream ended while the pane was still alive, for example because its client was detached. |
| Cancelled | No payload | The client withdrew the request while the wait was still running. |