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(auth): restore codex setup completion waiter
cyh4f7bac069bd5
diff --git a/core/agent_auth_service.py b/core/agent_auth_service.pyindex 0cbda4b2b..ea5b28c2c 100644--- a/core/agent_auth_service.py+++ b/core/agent_auth_service.py@@ -424,6 +424,7 @@ class AgentAuthService:self._flows_by_id[flow.flow_id] = flowif resolved_backend == "codex":flow.reader_task = asyncio.create_task(self._read_codex_output(process, context, resolved_backend))+ flow.waiter_task = asyncio.create_task(self._wait_for_completion(flow))elif resolved_backend == "claude":flow.waiter_task = asyncio.create_task(self._wait_for_claude_completion(flow))await self._send_message(diff --git a/tests/test_agent_auth_service.py b/tests/test_agent_auth_service.pyindex a60abc2f0..bc12f8e25 100644--- a/tests/test_agent_auth_service.py+++ b/tests/test_agent_auth_service.py@@ -166,6 +166,22 @@ class AgentAuthServiceTests(unittest.IsolatedAsyncioTestCase):self.assertIn("T74L-XU61D", text)self.assertIn("https://auth.openai.com/codex/device", text)+ async def test_start_setup_starts_codex_waiter(self):+ controller = _StubController()+ service = AgentAuthService(controller)+ context = MessageContext(user_id="U1", channel_id="C1")+ process = SimpleNamespace(stdout=object(), returncode=None)+ service._start_codex_process = AsyncMock(return_value=process)+ service._read_codex_output = AsyncMock()+ service._wait_for_completion = AsyncMock()++ await service.start_setup(context, backend="codex", force_reset=True)+ await asyncio.sleep(0)++ service._start_codex_process.assert_awaited_once_with(force_reset=True)+ service._read_codex_output.assert_awaited_once_with(process, context, "codex")+ service._wait_for_completion.assert_awaited_once()+async def test_start_setup_starts_claude_control_flow_and_emits_manual_url(self):controller = _StubController()service = AgentAuthService(controller)