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.

fix: keep the async-route and public-docs gates green after the local landing

rubenluetke10-beepb5346af908f4
diff --git a/docs/authoring/public-docs-manifest.yaml b/docs/authoring/public-docs-manifest.yaml
index 2108e313f8..eb5752b61f 100644
--- a/docs/authoring/public-docs-manifest.yaml
+++ b/docs/authoring/public-docs-manifest.yaml
@@ -405,7 +405,7 @@ pages:
diataxis: howto
summary: Shape how Jarvis responds without changing providers, memories, or safety rules.
authoritative_sources:
- - jarvis/ui/web/frontend/src/views/AgentInstructionsView.tsx
+ - jarvis/ui/web/frontend/src/views/AssistantProfileView.tsx
- jarvis/brain/agent_instructions.py
- jarvis/brain/persona_loader.py
- jarvis/brain/JARVIS_PERSONA.md
diff --git a/jarvis/ui/web/agentic_ide_routes.py b/jarvis/ui/web/agentic_ide_routes.py
index e9f797d719..851306ce94 100644
--- a/jarvis/ui/web/agentic_ide_routes.py
+++ b/jarvis/ui/web/agentic_ide_routes.py
@@ -3453,7 +3453,7 @@ def terminal_report(name: str, lines: int = 40) -> dict:
@router.get("/screens", summary="Read-only screen snapshots of several panes")
-async def pane_screens(
+def pane_screens(
pane: Annotated[
list[str] | None,
Query(description="`<workspace_id>:<key>`, repeatable; at most 8 are read."),
@@ -3461,12 +3461,16 @@ async def pane_screens(
) -> dict:
"""The visible rows of each requested pane — what the office's monitors draw.
- Unknown panes are omitted rather than failing the whole poll. Async on
- purpose: the screen buffers are written on the event loop, so reading them
- there needs no lock (see :mod:`jarvis.agentic_ide.screen_feed`).
+ Unknown panes are omitted rather than failing the whole poll. The screen
+ buffers are written on the event loop, so the read itself hops back onto
+ the loop and needs no lock (see :mod:`jarvis.agentic_ide.screen_feed`);
+ parsing and the response stay in the threadpool.
"""
+ import anyio.from_thread # noqa: PLC0415 - only this route needs the loop portal
+
refs = screen_feed.parse_pane_refs(pane or [])
- return {"screens": screen_feed.collect_screens(get_registry(), refs)}
+ screens = anyio.from_thread.run_sync(screen_feed.collect_screens, get_registry(), refs)
+ return {"screens": screens}
@router.get(