omk 0.5.0

A Rust runtime for Kimi CLI. Turns prompts into proof-backed engineering runs with gates, worktrees, and replay.
Documentation
use std::sync::Arc;

use crate::runtime::classifier::Intent;
use crate::runtime::conversation::{outcome::RouteOutcome, session::SessionCtx};
use crate::runtime::escalation::router::Router;

pub async fn handle_quick(
    router: &Router,
    prompt: &str,
    session: &Arc<SessionCtx>,
) -> RouteOutcome {
    router
        .dispatch_with_intent_override(prompt, Intent::Small, session)
        .await
}

pub async fn handle_escalate(
    router: &Router,
    prompt: &str,
    session: &Arc<SessionCtx>,
) -> RouteOutcome {
    router
        .dispatch_with_intent_override(prompt, Intent::Large, session)
        .await
}