linesmith 0.1.1

A Rust status line for Claude Code and other AI coding CLIs
Documentation
1
2
3
4
5
6
7
8
9
10
// Compiles cleanly but errors at render time (division by zero).
// The segment wrapper maps this to SegmentError via the generic
// classifier branch (no deadline, no shape mismatch).

const ID = "runtime_error";

fn render(ctx) {
    let n = 1 / 0;
    #{ runs: [#{ text: `${n}` }] }
}