systemprompt-extension 0.14.3

Compile-time extension framework for systemprompt.io AI governance infrastructure. Built on the inventory crate — registers schemas, API routes, jobs, and providers in the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! [`JobExtensionTyped`] — typed capability manifest for extensions that
//! contribute jobs.
//!
//! This is introspection only. The scheduler discovers and runs jobs from the
//! `inventory` catalog (`submit_job!`); it never reads this trait. The manifest
//! exists so CLI/plugin tooling can attribute a job to its owning extension.

use std::sync::Arc;

use systemprompt_provider_contracts::Job;

use crate::types::ExtensionMeta;

pub trait JobExtensionTyped: ExtensionMeta {
    fn jobs(&self) -> Vec<Arc<dyn Job>>;
}