"""Bus topic constants for pub/sub."""

TASK_READY = "task.ready"
TASK_STARTED = "task.started"
TASK_COMPLETED = "task.completed"
TASK_FAILED = "task.failed"
TASK_CLAIMED = "task.claimed"
TASK_CLAIM_GRANTED = "task.claim_granted"
TASK_CLAIM_REJECTED = "task.claim_rejected"
AGENT_BROADCAST = "agent.broadcast"
SWARM_CONTROL = "swarm.control"
NODE_HEARTBEAT = "node.heartbeat"
NODE_JOINED = "node.joined"
NODE_LEFT = "node.left"
NODE_BECAME_LEADER = "node.became_leader"
NODE_LOST_LEADERSHIP = "node.lost_leadership"
SWARM_SNAPSHOT = "swarm.snapshot"
SWARM_STATUS_REQUEST = "swarm.status_request"
SWARM_STATUS_RESPONSE = "swarm.status_response"
