systemprompt-identifiers 0.2.2

Typed newtype identifiers (UserId, TraceId, AgentId, McpServerId…) for systemprompt.io AI governance infrastructure. Enforces type-safe IDs across every boundary in the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
crate::define_id!(TraceId, generate, schema);

impl TraceId {
    pub fn system() -> Self {
        Self("system".to_string())
    }
}