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.

Merge remote-tracking branch 'public/main' into sync/local-main-20261002

rubenluetke10-beepd627067b1e73
diff --cc jarvis/live/session.py
index 20cbf3be5a,d6f5726a02..a8cc09db70
--- a/jarvis/live/session.py
+++ b/jarvis/live/session.py
@@@ -30,32 -29,19 +30,46 @@@ REASONING_SNAPSHOT_INTERVAL_S = 0.
#: Reasoning items whose summary may be streaming at once (a bound, not a goal).
_REASONING_ITEMS_MAX = 16
+#: Backchannel sounds that acknowledge without asking for anything new. "Ja"
+#: and "ok" are NOT here: they answer a pending approval.
+_BACKCHANNEL = frozenset(
+ {"m", "mm", "mhm", "hm", "hmm", "ah", "aha", "oh", "eh", "ehm", "uh", "um", "uhm"}
+ | {"äh", "ähm"} # i18n-allow: spoken backchannel vocabulary
+) # fmt: skip
+
+
+def _says_something(fragment: str) -> bool:
+ """True when a user transcript fragment holds a word, not just a backchannel."""
+ words = re.findall(r"\w+", fragment.casefold())
+ return any(word not in _BACKCHANNEL for word in words)
+
+
+def _pipeline_input_muted() -> bool:
+ """Jarvis's microphone mute. The speech pipeline is its only writer."""
+ from jarvis.core.runtime_refs import get_speech_pipeline
+
+ return bool(getattr(get_speech_pipeline(), "is_muted", False))
+
+
+def _pipeline_input_held() -> bool:
+ """Whether a dictation beside the call holds the user's audio back."""
+ from jarvis.core.runtime_refs import get_speech_pipeline
+
+ return bool(getattr(get_speech_pipeline(), "is_voice_input_held", False))
++
+
+ def _pipeline_input_muted() -> bool:
+ """Jarvis's microphone mute. The speech pipeline is its only writer."""
+ from jarvis.core.runtime_refs import get_speech_pipeline
+
+ return bool(getattr(get_speech_pipeline(), "is_muted", False))
+
+
+ def _pipeline_input_held() -> bool:
+ """Whether a dictation beside the call holds the user's audio back."""
+ from jarvis.core.runtime_refs import get_speech_pipeline
+
+ return bool(getattr(get_speech_pipeline(), "is_voice_input_held", False))
def _summary_index(event: dict) -> int: