systemprompt-identifiers 0.63.1

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
//! Content management identifiers.
//!
//! [`SkillId`] and [`SkillName`] are checked non-empty: a skill id is the
//! catalog slug a manifest, an artifact and an authz entity ref all carry.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

crate::define_id!(SkillId, checked, |value| {
    crate::macros::validate_non_empty("SkillId", value)
});
crate::define_id!(SkillName, checked, |value| {
    crate::macros::validate_non_empty("SkillName", value)
});
crate::define_id!(SourceId, schema);
crate::define_id!(CategoryId, schema);
crate::define_id!(ContentId, generate, schema);
crate::define_id!(TagId, schema);
crate::define_id!(FileId, uuid);