Expand description
skiagram-core — agent-agnostic domain model, adapters, and token accounting.
This crate is pure: no terminal I/O, no global state, no network. All file
access is read-only. The binary crate (skiagram) owns rendering and the TUI.
Critical correctness rules live in CLAUDE.md §8; the load-bearing one is
request-level deduplication in analysis::dedup.
Modules§
- adapters
- The
Adaptertrait — skiagram’s extension point (CLAUDE.md §5). - analysis
- Token-accounting analysis passes over the normalized model.
- error
- Typed errors for skiagram-core. The binary wraps these with
anyhowcontext. - model
- Agent-agnostic domain model (CLAUDE.md §6).
- pricing
- Model pricing: embedded snapshot, USD per million tokens.