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(pets): the resting indicator looks like silence
rubenluetke10-beepd7c2654e086f
diff --git a/tests/unit/ui/test_orb_controls_pet.py b/tests/unit/ui/test_orb_controls_pet.pyindex c350696387..808a0dc3d1 100644--- a/tests/unit/ui/test_orb_controls_pet.py+++ b/tests/unit/ui/test_orb_controls_pet.py@@ -152,6 +152,14 @@ def test_the_indicator_rests_still_and_grows_with_the_voice() -> None:assert loud > rest+def test_the_resting_indicator_looks_like_silence() -> None:+ # Three equal, shortest strokes: nothing in the pill suggests a voice.+ rest = controls.indicator_bars(controls.PetStripState())+ assert len({h for h, _ in rest}) == 1+ silent = controls.indicator_bars(controls.PetStripState(motion="voice", level=0))+ assert all(h == rest[0][0] for h, _ in silent)++def test_voice_strokes_wobble_but_stay_in_bounds() -> None:heights = {tuple(diff --git a/ui/orb/controls.py b/ui/orb/controls.pyindex 803b7023c2..81e6c2793e 100644--- a/ui/orb/controls.py+++ b/ui/orb/controls.py@@ -407,9 +407,10 @@ PET_INDICATOR_SPACING = 0.24PET_INDICATOR_HALF_W = 0.068PET_INDICATOR_MIN_H = 0.18PET_INDICATOR_MAX_H = 0.64-#: At rest the strokes stand still and dimmed; the middle one a little taller,-#: so the three read as one control and not as three loose dots.-PET_INDICATOR_REST_H: tuple[float, ...] = (0.22, 0.32, 0.22)+#: At rest the strokes stand still, dimmed and all equally short: the look of+#: silence. A taller middle stroke read as someone speaking; the strokes only+#: grow when there is a real voice to follow.+PET_INDICATOR_REST_H: tuple[float, ...] = (PET_INDICATOR_MIN_H,) * PET_INDICATOR_BARSPET_INDICATOR_REST_GLOW = 0.78#: Animation steps per cycle. Voice: the strokes wobble around the level in#: ``PET_VOICE_PHASES`` steps of ``PET_VOICE_STEP_S``. Thinking: a highlight