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.

696 B
Raw Blame
"""A native-surface sink that records the state and level actually rendered."""


class VoiceSurface:
    def __init__(self):
        self.mode = "idle"
        self.level = 0.0
        self.shown = []

    def show(self, mode="listen"):
        self.mode = mode
        self.shown.append(mode)

    def hide(self):
        self.mode = "hidden"

    def set_level(self, level):
        self.level = level

    def play_animation(self, name):
        pass

    def stop_animation(self, name):
        pass

    def hide_comment(self):
        pass

    def show_comment(self, text, duration_ms=3500):
        pass

    def show_listening_transcript(self, text="", duration_ms=30000):
        pass