MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / __init__

Method __init__

mini_agent/tools/bash_tool.py:59–67  ·  view source on GitHub ↗
(self, bash_id: str, command: str, process: "asyncio.subprocess.Process", start_time: float)

Source from the content-addressed store, hash-verified

57 """
58
59 def __init__(self, bash_id: str, command: str, process: "asyncio.subprocess.Process", start_time: float):
60 self.bash_id = bash_id
61 self.command = command
62 self.process = process
63 self.start_time = start_time
64 self.output_lines: list[str] = []
65 self.last_read_index = 0
66 self.status = "running"
67 self.exit_code: int | None = None
68
69 def add_output(self, line: str):
70 """Add new output line."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected