INNER CODE UNIT · Python

__init__

browser-use/bux · agent/box_agent.py:330

	def __init__(self, session_id: str, on_event) -> None:
		self.session_id = session_id
		self._on_event = on_event
		self._pid: int | None = None
		self._fd: int | None = None
		self._read_task: asyncio.Task | None = None

	def start(
		self,
		rows: int = 40,
		cols: int = 120,
		launch: str = 'claude',
		dsp_enabled: bool = True,
		window_id: str = 'bux-w1',
	) -> None:
		"""Attach the WS to a tmux window (creating the window on first attach).

		Why tmux: the WS comes and goes (page nav, mobile backgrounding,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…