cal-core 0.2.158

Callable core lib
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// File: cal-core/src/agent/mod.rs

pub mod status;
pub mod channel;

pub use status::*;
pub use channel::*;

/// Generate a consistent agent ID from user ID
pub fn generate_agent_id(user_id: &str) -> String {
    format!("agent-{}", user_id)
}