omk 0.5.0

A Rust runtime for Kimi CLI. Turns prompts into proof-backed engineering runs with gates, worktrees, and replay.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use anyhow::Result;

pub(super) fn cmd_hooks() -> Result<()> {
    let hooks = crate::kimi_native::hook_spec::default_project_hooks();
    println!("📋 OMK Project Hooks ({}):", hooks.hooks.len());
    for hook in &hooks.hooks {
        println!("  • {:?}", hook.event);
    }
    println!("\n  Scripts ({}):", hooks.scripts.len());
    for (name, _) in &hooks.scripts {
        println!("    • {}", name);
    }
    Ok(())
}