systemprompt-identifiers 0.52.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
10
11
12
13
14
15
16
//! Stable identities for managed authoring, revisions and publication.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

crate::define_id!(ManagedSourceId, generate, schema);
crate::define_id!(SourceSnapshotId, generate, schema);
crate::define_id!(ManagedResourceId, generate, schema);
crate::define_id!(ResourceRevisionId, generate, schema);
crate::define_id!(PublicationReviewId, generate, schema);
crate::define_id!(PublicationId, generate, schema);
crate::define_id!(ManagedReconciliationId, generate, schema);
crate::define_id!(WithdrawalProposalId, generate, schema);
crate::define_id!(DistributionId, generate, schema);
crate::define_id!(InstallationReceiptId, generate, schema);
crate::define_id!(InvocationAttributionId, generate, schema);