smc/lib.rs
1//! smc — Search My Claude.
2//!
3//! Programmatic access to Claude Code conversation logs.
4//! All subcommands emit JSON Lines — zero ANSI, zero pagination, machine-parseable.
5//!
6//! Module layout:
7//! util/ — token counting, JSONL discovery
8//! output/ — `Emitter<W>`, shared record types
9//! models/ — Claude Code JSONL record types (deserialization)
10//! cmd/ — one module per subcommand, each exposing XxxOpts + run(opts, &mut Emitter)
11
12pub mod util;
13pub mod output;
14pub mod models;
15pub mod cmd;