Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

chore(browser): keep runtime import annotations stable

rubenluetke10-beep3f9f06ed5373
diff --git a/jarvis/society/browser/live_runner.py b/jarvis/society/browser/live_runner.py
index ff959f8968..fbd6cebb76 100644
--- a/jarvis/society/browser/live_runner.py
+++ b/jarvis/society/browser/live_runner.py
@@ -551,14 +551,14 @@ class Worker:
self.manual = True
else:
if self.native and self.manual:
- from browser_use.browser.events import (
- SwitchTabEvent, # type: ignore[import-not-found]
- )
+ from browser_use.browser import events # type: ignore[import-not-found]
await self.focused()
target = next((t for t, p in self.tabs.items() if p is self.page), "")
if target:
- await self.browser.event_bus.dispatch(SwitchTabEvent(target_id=target))
+ await self.browser.event_bus.dispatch(
+ events.SwitchTabEvent(target_id=target)
+ )
self.manual = False
self.agent_gate.set()
return {"manual": self.manual}