oxibrain-cli 0.5.0

Command-line interface and MCP server for oxibrain
Documentation
1
2
3
4
5
6
7
8
9
10
use oxibrain::{Brain, BrainConfig};
use std::path::Path;

pub async fn run(dir: &Path) -> anyhow::Result<()> {
    let brain = Brain::open(BrainConfig::at(dir)).await?;
    println!("ok: store at {}", dir.display());
    println!("episode count: {}", brain.episode_count().await?);
    // M0 doctor: open + count. Orphan/index/belief checks land with those subsystems (M1+).
    Ok(())
}