claude-session-driver 0.1.0

Drive an interactive Claude REPL over tmux on the subscription seat, with JSON state detection. Installs the `csd` binary.
Documentation
1
2
3
4
5
6
7
8
9
10
//! `csd state` — report the hybrid-detector verdict for one session.

use crate::detect::{self, State};
use crate::error::Result;
use crate::session::Session;

pub fn run(session_name: &str) -> Result<State> {
    let session = Session::load(session_name)?;
    detect::detect(&session)
}