kaizen-cli 0.1.46

Distributable agent observability: real-time-tailable sessions, agile-style retros, and repo-level improvement (Cursor, Claude Code, Codex). SQLite, redact before any sync you enable.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Result;
use rusqlite::Connection;
use rusqlite::functions::FunctionFlags;

pub(super) fn register(conn: &Connection) -> Result<()> {
    let flags = FunctionFlags::SQLITE_UTF8 | FunctionFlags::SQLITE_DETERMINISTIC;
    conn.create_scalar_function("kaizen_casefold", 1, flags, |context| {
        let value = context.get::<String>(0)?;
        Ok(caseless::default_case_fold_str(&value))
    })?;
    Ok(())
}