mockforge-intelligence 0.3.235

AI-powered behavior, response generation, and behavioral cloning for MockForge
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Database timeline assembly keeps each schema's conversion independent.

use super::TimelineEvent;
mod forecasts;
mod threats;

pub(super) async fn events(
    pool: &sqlx::PgPool,
    workspace: Option<uuid::Uuid>,
) -> Vec<TimelineEvent> {
    let mut events = threats::events(pool, workspace).await;
    events.extend(forecasts::events(pool, workspace).await);
    events
}