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
feat(pets): add the pet visibility shortcut event to the contract
rubenluetke10-beep0f5395acfb0c
diff --git a/docs/pets.md b/docs/pets.mdindex 8bfe067e9b..74d671959f 100644--- a/docs/pets.md+++ b/docs/pets.md@@ -165,6 +165,8 @@ Control-strip actions reported back through callbacks: `compose`, `mic_mute`,`SpeechPipeline.set_tts_volume` when the muted-ness flips.- `ComposeRequested(source)`: the pen control; DesktopApp raises the window,the frontend opens a new chat.+- `PetVisibilityToggleRequested(source)`: the `pet_toggle` shortcut; the+ bridge calls `surface.toggle_visible()`.- `PetChanged(pet_id, scale, bubble, visible, source)`: published by the petsroutes after a change is on disk and applied.diff --git a/jarvis/core/events.py b/jarvis/core/events.pyindex 58e93cba3e..94f41f0253 100644--- a/jarvis/core/events.py+++ b/jarvis/core/events.py@@ -1146,6 +1146,18 @@ class ComposeRequested(Event):source: str = ""+@dataclass(frozen=True, slots=True)+class PetVisibilityToggleRequested(Event):+ """The pet shortcut fired: hide the pet, or show it and bring it forward.++ Publishers: the ``pet_toggle`` hotkey (``[trigger].hotkey_pet_toggle``),+ dispatched by the speech pipeline like every other shortcut. ``OrbBusBridge``+ forwards it to ``surface.toggle_visible()``; a surface without that method+ (the bar, ``NullOverlay``) ignores it.+ """+ source: str = ""++@dataclass(frozen=True, slots=True)class PetChanged(Event):"""The active desktop pet or its look settings changed.