Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"), README, CLI strings, and branch (coven → hack-house). Gitea repo renamed cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest + golden-vector test still green, binary is now `hack-house`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
465 B
Python
26 lines
465 B
Python
from enum import IntEnum, auto
|
|
|
|
from sanic.compat import UpperStrEnum
|
|
|
|
|
|
class RestartOrder(UpperStrEnum):
|
|
"""Available restart orders."""
|
|
|
|
SHUTDOWN_FIRST = auto()
|
|
STARTUP_FIRST = auto()
|
|
|
|
|
|
class ProcessState(IntEnum):
|
|
"""Process states."""
|
|
|
|
NONE = auto()
|
|
IDLE = auto()
|
|
RESTARTING = auto()
|
|
STARTING = auto()
|
|
STARTED = auto()
|
|
ACKED = auto()
|
|
JOINED = auto()
|
|
TERMINATED = auto()
|
|
FAILED = auto()
|
|
COMPLETED = auto()
|