systemprompt-identifiers 0.63.0

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
8
9
//! Plugin identifiers: the plugin's catalog key, a checked non-empty slug
//! carried in manifests, plugin-scoped tokens and authz entity refs.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

crate::define_id!(PluginId, checked, |value| {
    crate::macros::validate_non_empty("PluginId", value)
});