| 36 | |
| 37 | @dataclass(frozen=True) |
| 38 | class BashModeOutcome: |
| 39 | command: str |
| 40 | stdout: str = "" |
| 41 | stderr: str = "" |
| 42 | exit_code: int = 0 |
| 43 | ok: bool = True |
| 44 | error: str | None = None |
| 45 | # The user messages to append to the conversation (TS parity). |
| 46 | conversation_texts: tuple[str, ...] = field(default_factory=tuple) |
| 47 | |
| 48 | |
| 49 | def run_bash_mode_command(command: str, tool_context: Any) -> BashModeOutcome: |
no outgoing calls
no test coverage detected