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 serde::{Deserialize, Serialize};

use super::estimator::CostEstimate;

/// Tracked cost for a single session.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SessionCost {
    pub session_type: String,
    pub name: String,
    pub started_at: chrono::DateTime<chrono::Utc>,
    pub ended_at: Option<chrono::DateTime<chrono::Utc>>,
    pub estimate: CostEstimate,
    pub actual_usd: Option<f64>,
}