Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

fix: scope codex stop to thread session

cyhhaoaa6bce79bce6
diff --git a/modules/agents/codex_agent.py b/modules/agents/codex_agent.py
index a07f01751..451df848a 100644
--- a/modules/agents/codex_agent.py
+++ b/modules/agents/codex_agent.py
@@ -95,14 +95,6 @@ class CodexAgent(BaseAgent):
async def handle_stop(self, request: AgentRequest) -> bool:
key = request.composite_session_id
entry = self.active_processes.get(key)
- if not entry:
- # Fall back to any session sharing the same base id
- prefix = f"{request.base_session_id}:"
- for candidate, value in self.active_processes.items():
- if candidate.startswith(prefix):
- key = candidate
- entry = value
- break
if not entry:
return False