feat: add ecc2 remote dispatch intake

This commit is contained in:
Affaan Mustafa
2026-04-10 09:21:30 -07:00
parent bbed46d3eb
commit 7809518612
6 changed files with 1098 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
use anyhow::Result;
use serde::{Deserialize, Serialize};
use std::fmt;
use crate::session::store::StateStore;
@@ -13,6 +14,18 @@ pub enum TaskPriority {
Critical,
}
impl fmt::Display for TaskPriority {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let label = match self {
Self::Low => "low",
Self::Normal => "normal",
Self::High => "high",
Self::Critical => "critical",
};
write!(f, "{label}")
}
}
/// Message types for inter-agent communication.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum MessageType {