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.

Merge local main: Computers, IDE git integration, agent questions and more

rubenluetke10-beepf62c6292c02b
diff --cc jarvis/society/agent_tools.py
index 5e5ba94acc,5a37e97b33..b7be22f302
--- a/jarvis/society/agent_tools.py
+++ b/jarvis/society/agent_tools.py
@@@ -664,9 -665,12 +665,12 @@@ class ShellTool
cwd.mkdir(parents=True, exist_ok=True)
try:
timeout = float(args.get("timeout_s") or DEFAULT_TIMEOUT_S)
- except (TypeError, ValueError):
+ except (TypeError, ValueError): # Invalid optional timeouts use the bounded default.
timeout = DEFAULT_TIMEOUT_S
- result = await self._backend.run(command, cwd=cwd, timeout_s=timeout)
+ from .remote import backend_for
+
+ backend = self._backend or backend_for(caller, self._workspace)
+ result = await backend.run(command, cwd=cwd, timeout_s=timeout)
body = {
"output": result.output,
"exit_code": result.exit_code,