systemprompt-models 0.2.1

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
pub mod execution_plan;
pub mod media_types;
pub mod models;
pub mod provider_trait;
pub mod request;
pub mod response;
pub mod response_format;
pub mod sampling;
pub mod template_resolver;
pub mod template_validation;
pub mod tool_result_formatter;
pub mod tools;

pub use execution_plan::{
    ExecutionState, PlannedToolCall, PlanningResult, TemplateRef, ToolCallResult,
};
pub use media_types::{
    SUPPORTED_AUDIO_TYPES, SUPPORTED_IMAGE_TYPES, SUPPORTED_TEXT_TYPES, SUPPORTED_VIDEO_TYPES,
    is_supported_audio, is_supported_image, is_supported_media, is_supported_text,
    is_supported_video,
};
pub use models::{ModelConfig, ToolModelConfig, ToolModelOverrides};
pub use request::{AiContentPart, AiMessage, AiRequest, AiRequestBuilder, MessageRole};
pub use response::{AiResponse, SearchGroundedResponse, StreamChunk, UrlMetadata, WebSource};
pub use response_format::{ResponseFormat, StructuredOutputOptions};
pub use sampling::{ModelHint, ModelPreferences, ProviderConfig, SamplingParams};
pub use template_resolver::TemplateResolver;
pub use template_validation::{PlanValidationError, TemplateValidator, ValidationErrorKind};
pub use tools::{CallToolResult, McpTool, ToolCall, ToolExecution};

pub use provider_trait::{AiProvider, DynAiProvider, GenerateResponseParams, GoogleSearchParams};
pub use tool_result_formatter::ToolResultFormatter;