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(ide): open every workspace terminal at the one fixed text size

rubenluetke10-beepeaf01c4a016c
diff --git a/jarvis/agentic_ide/agent_sessions.py b/jarvis/agentic_ide/agent_sessions.py
index fd97b1a8ef..ea6eadb331 100644
--- a/jarvis/agentic_ide/agent_sessions.py
+++ b/jarvis/agentic_ide/agent_sessions.py
@@ -234,9 +234,7 @@ _ADAPTERS: dict[str, _Adapter] = {
launch=_discovered_launch,
# ``agy --conversation <id>`` is the long form; there is no short flag.
resume=lambda session_id: ("--conversation", session_id),
- discover=lambda cwd, started, taken, home: _discover_antigravity(
- cwd, started, taken, home
- ),
+ discover=lambda cwd, started, taken, home: _discover_antigravity(cwd, started, taken, home),
exists=lambda handle, home: _agy_conversation_exists(handle, home),
),
}
@@ -1146,14 +1144,7 @@ def _agy_conversation_db(root: Path, session_id: str) -> Path | None:
def _agy_transcript(root: Path, session_id: str) -> Path:
- return (
- root
- / "brain"
- / session_id
- / ".system_generated"
- / "logs"
- / "transcript.jsonl"
- )
+ return root / "brain" / session_id / ".system_generated" / "logs" / "transcript.jsonl"
def _agy_log_has_user_turn(log: Path) -> bool:
@@ -1247,9 +1238,7 @@ def _agy_summaries_for_cwd(root: Path, cwd: str) -> list[tuple[float, str]]:
uris = []
if not isinstance(uris, list):
continue
- if not any(
- _agy_cwd_matches(_agy_file_uri_path(str(uri)), cwd) for uri in uris
- ):
+ if not any(_agy_cwd_matches(_agy_file_uri_path(str(uri)), cwd) for uri in uris):
continue
try:
stamp = datetime.fromisoformat(str(row[2] or "").replace("Z", "+00:00"))
diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts b/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts
index 477f4dea92..8c2ac45d80 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts
@@ -49,7 +49,11 @@ export function storedFontSize(): number | null {
}
}
-/** The size a pane will actually open at — the stored one, or the default. */
+/**
+ * The size a pane opens at: always the default. The workspace terminals use
+ * one fixed, dense size (maintainer decision 2026-09-28), so a size stored by
+ * an older build is ignored.
+ */
export function paneFontSize(): number {
- return storedFontSize() ?? FONT_DEFAULT;
+ return FONT_DEFAULT;
}
diff --git a/tests/unit/agentic_ide/test_panes.py b/tests/unit/agentic_ide/test_panes.py
index 201a240aa6..d42296f7a4 100644
--- a/tests/unit/agentic_ide/test_panes.py
+++ b/tests/unit/agentic_ide/test_panes.py
@@ -131,6 +131,15 @@ async def test_split_down_pushes_the_existing_stack_down(
assert slots[bottom.name] == (0, 2), "the older pane moved down"
+async def test_split_left_and_above(registry: Registry, tmp_path: Path) -> None:
+ await _open_in_a_row(registry, tmp_path, 2)
+ left_term = await registry.add_terminal(anchor="T1", direction="left")
+ assert _layout(registry)[0][0] == left_term.name
+ above_term = await registry.add_terminal(anchor="T2", direction="above")
+ slots = {name: (column, slot) for name, column, slot in _layout(registry)}
+ assert slots[above_term.name][1] < slots["T2"][1]
+
+
# --------------------------------------------------------------------- naming
async def test_new_panes_take_the_next_free_call_sign(registry: Registry, tmp_path: Path) -> None:
await _open(registry, tmp_path, 2) # T1, T2
diff --git a/tests/unit/agentic_ide/test_ui_prefs.py b/tests/unit/agentic_ide/test_ui_prefs.py
index c95d86d950..a642b28059 100644
--- a/tests/unit/agentic_ide/test_ui_prefs.py
+++ b/tests/unit/agentic_ide/test_ui_prefs.py
@@ -148,4 +148,6 @@ def test_the_toolbar_and_the_backend_agree_on_the_bounds() -> None:
# The default is a named constant too (it is also where Ctrl/Cmd+0 lands),
# so the parity check pins that definition rather than an inlined literal.
assert f"const FONT_DEFAULT = {ui_prefs.FONT_DEFAULT};" in grid
- assert "storedFontSize() ?? FONT_DEFAULT" in grid
+ # Workspace terminals open at one fixed size (maintainer decision
+ # 2026-09-28): a size stored by an older build must not win.
+ assert "return FONT_DEFAULT;" in grid