sephera 0.5.0

Local-first Rust CLI for repository metrics and deterministic LLM context packs with AST compression and MCP.
Documentation
1
2
3
4
5
6
7
8
9
10
use sephera_core::core::context::ContextReport;

/// # Panics
///
/// Panics when serializing `ContextReport` to JSON unexpectedly fails.
#[must_use]
pub fn render_context_json(report: &ContextReport) -> String {
    serde_json::to_string_pretty(report)
        .expect("serializing ContextReport to JSON must succeed")
}