systemprompt-database 0.8.0

PostgreSQL infrastructure for systemprompt.io AI governance. SQLx-backed pool, generic repository traits, and compile-time query verification. Part of the systemprompt.io AI governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Schema and seed installation pipelines.
//!
//! Split into two cohesive halves:
//! - `module` — installation from on-disk
//!   [`systemprompt_models::modules::Module`] descriptors used by the legacy
//!   loader path.
//! - `extension` — installation from compile-time-registered
//!   [`systemprompt_extension::Extension`] instances (the modern path).

mod extension;
mod module;
mod util;

pub use extension::{install_extension_schemas, install_extension_schemas_with_config};
pub use module::{
    ModuleInstaller, install_module_schemas_from_source, install_module_seeds_from_path,
    install_schema, install_seed,
};