Port the entire 2236-line bash statusline script to Rust. Implements all 25 sections, 3-phase layout engine (render, priority drop, flex/justify), file-based caching with flock, 9-level terminal width detection, trend sparklines, and deep-merge JSON config. Release binary: 864K with LTO. Render time: <1ms warm. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
438 B
JSON
13 lines
438 B
JSON
{
|
|
"version": 1,
|
|
"layout": "verbose",
|
|
"sections": {
|
|
"tokens_raw": { "enabled": true, "priority": 3 },
|
|
"cache_efficiency": { "enabled": true, "priority": 3 },
|
|
"cost_velocity": { "enabled": true, "priority": 3 },
|
|
"turns": { "enabled": true, "priority": 3, "ttl": 2 },
|
|
"load": { "enabled": true, "priority": 3, "ttl": 10 },
|
|
"version": { "enabled": true, "priority": 3 }
|
|
}
|
|
}
|