from enum import Enum

PROGRAM_STATUS = b"internal/program_status"
"""A topic key for the program status."""


class ProgramStatus(Enum):
    """
    Used in internal communication, to tell agents what the status of the program is.

    For example, the VAD agent only starts listening when the program is RUNNING.
    """

    STARTING = b"starting"
    RUNNING = b"running"
    STOPPING = b"stopping"
