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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(web): run synchronous route work in the threadpool
rubenluetke10-beep3cc664ed6f1e
diff --git a/jarvis/ui/web/agent_chat_routes.py b/jarvis/ui/web/agent_chat_routes.pyindex b21fdeaac6..ef2f5e608c 100644--- a/jarvis/ui/web/agent_chat_routes.py+++ b/jarvis/ui/web/agent_chat_routes.py@@ -90,7 +90,7 @@ router = APIRouter(prefix="/api/agent-chat", tags=["agent-chat"])@router.get("/commands", summary="List chat slash commands and their availability")-async def list_chat_commands(request: Request, session_id: str | None = None) -> dict[str, Any]:+def list_chat_commands(request: Request, session_id: str | None = None) -> dict[str, Any]:try:return _service(request).controls.catalog(session_id)except ValueError as exc:@@ -98,7 +98,7 @@ async def list_chat_commands(request: Request, session_id: str | None = None) ->@router.get("/sessions/{session_id}/control", summary="Read this chat's mode and goal state")-async def get_chat_control(session_id: str, request: Request) -> dict[str, Any]:+def get_chat_control(session_id: str, request: Request) -> dict[str, Any]:try:return _service(request).controls.state(session_id).model_dump()except ValueError as exc:diff --git a/jarvis/ui/web/mars_routes.py b/jarvis/ui/web/mars_routes.pyindex c5314bff4b..73aa55254f 100644--- a/jarvis/ui/web/mars_routes.py+++ b/jarvis/ui/web/mars_routes.py@@ -296,7 +296,7 @@ def _error(exc: StationError) -> HTTPException:@router.get("/definition")-async def get_mars_definition() -> dict[str, Any]:+def get_mars_definition() -> dict[str, Any]:"""Read the packaged canonical world without starting agents or a renderer."""return load_definition()diff --git a/jarvis/ui/web/routine_hooks_routes.py b/jarvis/ui/web/routine_hooks_routes.pyindex 4af06c4eb3..b6e5077713 100644--- a/jarvis/ui/web/routine_hooks_routes.py+++ b/jarvis/ui/web/routine_hooks_routes.py@@ -25,7 +25,7 @@ router = APIRouter(prefix="/api/tasks", tags=["tasks"])dependencies=[Depends(require_control_key_or_session)],summary="List Jarvis trigger families and available listener drivers",)-async def trigger_catalog() -> dict[str, Any]:+def trigger_catalog() -> dict[str, Any]:from jarvis.tasks.event_catalog import event_catalogfrom jarvis.tasks.source_catalog import catalog