systemprompt-identifiers 0.2.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
pub mod db_value;

pub use db_value::{DbValue, FromDbValue, JsonRow, ToDbValue, parse_database_datetime};

mod agent;
mod ai;
mod auth;
mod client;
mod content;
mod context;
mod email;
mod execution;
mod funnel;
mod hook;
mod jobs;
mod links;
mod mcp;
mod oauth;
mod path;
mod plugin;
mod profile;
mod roles;
mod session;
mod task;
mod tenant;
mod trace;
mod url;
mod user;

pub mod error;
pub mod headers;
pub mod macros;

pub use agent::{AgentId, AgentName};
pub use ai::{AiRequestId, ConfigId, MessageId};
pub use auth::{CloudAuthToken, JwtToken, SessionToken};
pub use client::{ClientId, ClientType};
pub use content::{CategoryId, ContentId, FileId, SkillId, SourceId, TagId};
pub use context::ContextId;
pub use email::Email;
pub use execution::{ArtifactId, ExecutionStepId, LogId, TokenId};
pub use funnel::{EngagementEventId, FunnelId, FunnelProgressId};
pub use hook::HookId;
pub use jobs::{JobName, ScheduledJobId};
pub use links::{CampaignId, LinkClickId, LinkId};
pub use mcp::{AiToolCallId, McpExecutionId, McpServerId};
pub use oauth::{AccessTokenId, AuthorizationCode, ChallengeId, RefreshTokenId};
pub use path::ValidatedFilePath;
pub use plugin::PluginId;
pub use profile::ProfileName;
pub use roles::RoleId;
pub use session::{SessionId, SessionSource};
pub use task::TaskId;
pub use tenant::TenantId;
pub use trace::TraceId;
pub use url::ValidatedUrl;
pub use user::UserId;