difflore-cli 0.1.0

Your AI coding agent, taught by your team's PR reviews — a local-first, open-source MCP server that turns past review comments into rules your agent follows automatically.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::hooks;

mod dispatch;
mod fire_log;
mod stated_vs_actual;

pub(crate) use dispatch::hook_output_for_raw;
pub(crate) use fire_log::{HookFireSummary, hook_fire_summary_24h};

pub async fn output_for_raw(client_name: &str, raw: &str, debug: bool) -> anyhow::Result<String> {
    let adapter = hooks::get_platform_adapter(client_name);
    hook_output_for_raw(client_name, &*adapter, raw, debug, false, None).await
}