libtmux_mcp.models.WaitForTextResult
- Bases:
- BaseModel
Result of a bounded wait for new pane output.
Description#
Deliberately free of inference. Every field is something the tool observed directly — a match, a clock reading, a tmux flag. There is no "likely cause", no "next action", no quiescence verdict: a confidently-wrong diagnosis costs the agent more than an honest "nothing appeared, here is what the pane shows".
Field count is load-bearing.
outputSchemais re-sent on every request of every session, so a field that no agent branches on is a permanent tax.outcomecarries what three separate booleans carried before it.
Members11#
- found: bool attribute
- outcome: t
.Literal [ "matched", "any_output", "stopped", "alternate_screen", "timeout" ] attribute - matched_index: int | None attribute
- matched_lines: list[str] attribute
- tail: list[str] attribute
- saw_new_output: bool attribute
- matched_at_entry: bool attribute
- alternate_screen: bool attribute
- pane_id: str attribute
- elapsed_seconds: float attribute
- effective_timeout: float attribute