Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(opencode): use DEVNULL for stderr to prevent pipe deadlock
cyhhao71512205b2c2
diff --git a/modules/agents/opencode_agent.py b/modules/agents/opencode_agent.pyindex 4f1ecaee0..9863f087d 100644--- a/modules/agents/opencode_agent.py+++ b/modules/agents/opencode_agent.py@@ -101,7 +101,7 @@ class OpenCodeServerManager:self._process = await asyncio.create_subprocess_exec(*cmd,stdout=asyncio.subprocess.DEVNULL,- stderr=asyncio.subprocess.PIPE,+ stderr=asyncio.subprocess.DEVNULL,)except FileNotFoundError:raise RuntimeError(@@ -117,18 +117,10 @@ class OpenCodeServerManager:returnawait asyncio.sleep(0.5)- stderr_output = ""- if self._process.stderr:- try:- stderr_output = (- await asyncio.wait_for(self._process.stderr.read(4096), timeout=1)- ).decode(errors="ignore")- except Exception:- pass-+ exit_code = self._process.returncoderaise RuntimeError(f"OpenCode server failed to start within {SERVER_START_TIMEOUT}s. "- f"Stderr: {stderr_output[:500]}"+ f"Process exit code: {exit_code}")async def stop(self) -> None: