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(realtime): keep capability overviews native
rubenluetke10-beepb588e86d4187
diff --git a/jarvis/brain/turn_planner.py b/jarvis/brain/turn_planner.pyindex f21888b531..3df96e9a9c 100644--- a/jarvis/brain/turn_planner.py+++ b/jarvis/brain/turn_planner.py@@ -77,10 +77,16 @@ _DEFINITION_RE = re.compile()_INSTRUCTIONAL_RE = re.compile(r"\b(?:how (?:do|can|would) (?:i|you)|how to|"+ r"what can (?:you|jarvis) do|what (?:you|jarvis) can do|"+ r"what are (?:your|jarvis(?:'s)?) capabilities|"r"wie (?:kann|koennte|wuerde) (?:ich|man)|" # i18n-allow: speech inputr"wie (?:kannst|koenntest|wuerdest) du|" # i18n-allow: speech inputr"wie (?:koennen|koennten|wuerden) sie|" # i18n-allow: speech input- r"como (?:puedo|puedes|podria|podrias|se puede)|como hacer)\b"+ r"was kannst du|was kann jarvis|" # i18n-allow: speech input+ r"welche faehigkeiten (?:hast du|hat jarvis)|" # i18n-allow: speech input+ r"como (?:puedo|puedes|podria|podrias|se puede)|como hacer|"+ r"que puedes hacer|que puede hacer jarvis|" # i18n-allow: speech input+ r"cuales son tus capacidades)\b" # i18n-allow: speech input# i18n-allow: multilingual speech-input matching data)_OWNERSHIP_RE = re.compile(diff --git a/tests/unit/brain/test_turn_planner.py b/tests/unit/brain/test_turn_planner.pyindex 0101a5d4c5..9a944f6214 100644--- a/tests/unit/brain/test_turn_planner.py+++ b/tests/unit/brain/test_turn_planner.py@@ -59,6 +59,35 @@ def test_timeless_or_instructional_turns_stay_native(assert plan_turn(utterance, capability_registry=registry).path is TurnPath.NATIVE_REALTIME+ "utterance",+ [+ (+ "No, just tell me more about what Jarvis can do on the Jarvis "+ "desktop app. What you can do there."+ ),+ "Was kannst du in der Jarvis Desktop-App?", # i18n-allow: spoken fixture+ "¿Qué puedes hacer en la aplicación de Jarvis?", # i18n-allow: spoken fixture+ ],+)+def test_capability_overview_follow_up_stays_in_the_live_conversation(+ registry: CapabilityRegistry,+ utterance: str,+) -> None:+ """A request to explain the desktop app is conversation, not a request to+ inspect live connectors. Prior answers may mention weather, inboxes, and+ online data; those nouns must not turn the follow-up into a slow delegate."""+ plan = plan_turn(+ utterance,+ capability_registry=registry,+ context=(+ "I can check weather, read email, open apps, and find information online.",+ ),+ )++ assert plan.path is TurnPath.NATIVE_REALTIME++@pytest.mark.parametrize("utterance",[